diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index a881cf79..1db0edec 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.20.0 \ No newline at end of file +0.21.0 \ No newline at end of file diff --git a/docs/_index.md b/docs/_index.md index f37d026f..6b845236 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -4,6 +4,7 @@ title: Databricks Provider meta_desc: Provides an overview on how to configure the Pulumi Databricks provider. layout: package --- + ## Installation The Databricks provider is available as a package in all Pulumi languages: @@ -13,6 +14,7 @@ The Databricks provider is available as a package in all Pulumi languages: * Go: [`github.com/pulumi/pulumi-databricks/sdk/go/databricks`](https://github.com/pulumi/pulumi-databricks) * .NET: [`Pulumi.Databricks`](https://www.nuget.org/packages/Pulumi.Databricks) * Java: [`com.pulumi/databricks`](https://central.sonatype.com/artifact/com.pulumi/databricks) + ## Overview Use the Databricks Pulumi provider to interact with almost all of [Databricks](http://databricks.com/) resources. @@ -656,7 +658,7 @@ The provider configuration supports the following arguments: * `configFile` - (optional) Location of the Databricks CLI credentials file created by `databricks configure --token` command (~/.databrickscfg by default). Check [Databricks CLI documentation](https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication) for more details. The provider uses configuration file credentials when you don't specify host/token/azure attributes. Alternatively, you can provide this value as an environment variable `DATABRICKS_CONFIG_FILE`. This field defaults to `~/.databrickscfg`. * `profile` - (optional) Connection profile specified within ~/.databrickscfg. Please check [connection profiles section](https://docs.databricks.com/dev-tools/cli/index.html#connection-profiles) for more details. This field defaults to `DEFAULT`. -* `accountId` - (optional for workspace-level operations, but required for account-level) Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). Alternatively, you can provide this value as an environment variable `DATABRICKS_ACCOUNT_ID`. Only has effect when `host = "https://accounts.cloud.databricks.com/"`, and is currently used to provision account admins via databricks_user. In the future releases of the provider this property will also be used specify account for `databricks_mws_*` resources as well. +* `accountId` - (required for account-level operations) Account ID found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). Alternatively, you can provide this value as an environment variable `DATABRICKS_ACCOUNT_ID`. Only has effect when `host = "https://accounts.cloud.databricks.com/"`, and is currently used to provision account admins via databricks_user. **Note: do NOT use in the workspace-level provider to avoid `...invalid Databricks Account configuration` errors**. * `authType` - (optional) enforce specific auth type to be used in very rare cases, where a single Pulumi state manages Databricks workspaces on more than one cloud and `more than one authorization method configured` error is a false positive. Valid values are `pat`, `basic`, `oauth-m2m`, `azure-client-secret`, `azure-msi`, `azure-cli`, `github-oidc-azure`, `google-credentials`, and `google-id`. ## Special configurations for Azure diff --git a/patches/0002-rename-input-property-on-guardrails-to-avoid-name-cl.patch b/patches/0002-rename-input-property-on-guardrails-to-avoid-name-cl.patch new file mode 100644 index 00000000..e9a7fecf --- /dev/null +++ b/patches/0002-rename-input-property-on-guardrails-to-avoid-name-cl.patch @@ -0,0 +1,95 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Venelin +Date: Fri, 3 Jan 2025 16:37:43 +0200 +Subject: [PATCH] rename input property on guardrails to avoid name clash + + +diff --git a/internal/service/serving_tf/legacy_model.go b/internal/service/serving_tf/legacy_model.go +index faa0dbe8..3f3f370c 100755 +--- a/internal/service/serving_tf/legacy_model.go ++++ b/internal/service/serving_tf/legacy_model.go +@@ -443,7 +443,7 @@ func (o AiGatewayGuardrailPiiBehavior_SdkV2) Type(ctx context.Context) attr.Type + + type AiGatewayGuardrails_SdkV2 struct { + // Configuration for input guardrail filters. +- Input types.List `tfsdk:"input" tf:"optional,object"` ++ Input types.List `tfsdk:"input_properties" tf:"optional,object"` + // Configuration for output guardrail filters. + Output types.List `tfsdk:"output" tf:"optional,object"` + } +@@ -463,7 +463,7 @@ func (newState *AiGatewayGuardrails_SdkV2) SyncEffectiveFieldsDuringRead(existin + // SDK values. + func (a AiGatewayGuardrails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type { + return map[string]reflect.Type{ +- "input": reflect.TypeOf(AiGatewayGuardrailParameters_SdkV2{}), ++ "input_properties": reflect.TypeOf(AiGatewayGuardrailParameters_SdkV2{}), + "output": reflect.TypeOf(AiGatewayGuardrailParameters_SdkV2{}), + } + } +@@ -475,7 +475,7 @@ func (o AiGatewayGuardrails_SdkV2) ToObjectValue(ctx context.Context) basetypes. + return types.ObjectValueMust( + o.Type(ctx).(basetypes.ObjectType).AttrTypes, + map[string]attr.Value{ +- "input": o.Input, ++ "input_properties": o.Input, + "output": o.Output, + }) + } +@@ -484,7 +484,7 @@ func (o AiGatewayGuardrails_SdkV2) ToObjectValue(ctx context.Context) basetypes. + func (o AiGatewayGuardrails_SdkV2) Type(ctx context.Context) attr.Type { + return types.ObjectType{ + AttrTypes: map[string]attr.Type{ +- "input": basetypes.ListType{ ++ "input_properties": basetypes.ListType{ + ElemType: AiGatewayGuardrailParameters_SdkV2{}.Type(ctx), + }, + "output": basetypes.ListType{ +@@ -516,7 +516,7 @@ func (o *AiGatewayGuardrails_SdkV2) GetInput(ctx context.Context) (AiGatewayGuar + // SetInput sets the value of the Input field in AiGatewayGuardrails_SdkV2. + func (o *AiGatewayGuardrails_SdkV2) SetInput(ctx context.Context, v AiGatewayGuardrailParameters_SdkV2) { + vs := []attr.Value{v.ToObjectValue(ctx)} +- t := o.Type(ctx).(basetypes.ObjectType).AttrTypes["input"] ++ t := o.Type(ctx).(basetypes.ObjectType).AttrTypes["input_properties"] + o.Input = types.ListValueMust(t, vs) + } + +diff --git a/internal/service/serving_tf/model.go b/internal/service/serving_tf/model.go +index f9bf0ddb..a8ef50bb 100755 +--- a/internal/service/serving_tf/model.go ++++ b/internal/service/serving_tf/model.go +@@ -443,7 +443,7 @@ func (o AiGatewayGuardrailPiiBehavior) Type(ctx context.Context) attr.Type { + + type AiGatewayGuardrails struct { + // Configuration for input guardrail filters. +- Input types.Object `tfsdk:"input" tf:"optional,object"` ++ Input types.Object `tfsdk:"input_properties" tf:"optional,object"` + // Configuration for output guardrail filters. + Output types.Object `tfsdk:"output" tf:"optional,object"` + } +@@ -463,7 +463,7 @@ func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringRead(existingState + // SDK values. + func (a AiGatewayGuardrails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type { + return map[string]reflect.Type{ +- "input": reflect.TypeOf(AiGatewayGuardrailParameters{}), ++ "input_properties": reflect.TypeOf(AiGatewayGuardrailParameters{}), + "output": reflect.TypeOf(AiGatewayGuardrailParameters{}), + } + } +@@ -475,7 +475,7 @@ func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.Object + return types.ObjectValueMust( + o.Type(ctx).(basetypes.ObjectType).AttrTypes, + map[string]attr.Value{ +- "input": o.Input, ++ "input_properties": o.Input, + "output": o.Output, + }) + } +@@ -484,7 +484,7 @@ func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.Object + func (o AiGatewayGuardrails) Type(ctx context.Context) attr.Type { + return types.ObjectType{ + AttrTypes: map[string]attr.Type{ +- "input": AiGatewayGuardrailParameters{}.Type(ctx), ++ "input_properties": AiGatewayGuardrailParameters{}.Type(ctx), + "output": AiGatewayGuardrailParameters{}.Type(ctx), + }, + } diff --git a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json index 2fd02188..40cbc5da 100644 --- a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json @@ -50,6 +50,15 @@ } } }, + "databricks_app": { + "current": "databricks:index/app:App", + "majorVersion": 1, + "fields": { + "resources": { + "maxItemsOne": false + } + } + }, "databricks_artifact_allowlist": { "current": "databricks:index/artifactAllowlist:ArtifactAllowlist", "majorVersion": 1, @@ -321,6 +330,24 @@ "current": "databricks:index/connection:Connection", "majorVersion": 1 }, + "databricks_credential": { + "current": "databricks:index/credential:Credential", + "majorVersion": 1, + "fields": { + "aws_iam_role": { + "maxItemsOne": true + }, + "azure_managed_identity": { + "maxItemsOne": true + }, + "azure_service_principal": { + "maxItemsOne": true + }, + "databricks_gcp_service_account": { + "maxItemsOne": true + } + } + }, "databricks_custom_app_integration": { "current": "databricks:index/customAppIntegration:CustomAppIntegration", "majorVersion": 1, @@ -932,6 +959,9 @@ "maxItemsOne": false, "elem": { "fields": { + "clean_rooms_notebook_task": { + "maxItemsOne": true + }, "condition_task": { "maxItemsOne": true }, @@ -978,6 +1008,9 @@ "maxItemsOne": true, "elem": { "fields": { + "clean_rooms_notebook_task": { + "maxItemsOne": true + }, "condition_task": { "maxItemsOne": true }, @@ -2474,7 +2507,14 @@ } }, "restart_window": { - "maxItemsOne": true + "maxItemsOne": true, + "elem": { + "fields": { + "days_of_week": { + "maxItemsOne": false + } + } + } }, "trigger": { "maxItemsOne": true, @@ -3067,6 +3107,35 @@ } }, "datasources": { + "databricks_app": { + "current": "databricks:index/getApp:getApp", + "majorVersion": 1, + "fields": { + "app": { + "fields": { + "resources": { + "maxItemsOne": false + } + } + } + } + }, + "databricks_apps": { + "current": "databricks:index/getApps:getApps", + "majorVersion": 1, + "fields": { + "app": { + "maxItemsOne": false, + "elem": { + "fields": { + "resources": { + "maxItemsOne": false + } + } + } + } + } + }, "databricks_aws_assume_role_policy": { "current": "databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", "majorVersion": 1 @@ -4648,6 +4717,68 @@ "current": "databricks:index/getMwsCredentials:getMwsCredentials", "majorVersion": 1 }, + "databricks_mws_network_connectivity_config": { + "current": "databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", + "majorVersion": 1, + "fields": { + "egress_config": { + "maxItemsOne": true, + "elem": { + "fields": { + "default_rules": { + "maxItemsOne": true, + "elem": { + "fields": { + "aws_stable_ip_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "cidr_blocks": { + "maxItemsOne": false + } + } + } + }, + "azure_service_endpoint_rule": { + "maxItemsOne": true, + "elem": { + "fields": { + "subnets": { + "maxItemsOne": false + }, + "target_services": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "target_rules": { + "maxItemsOne": true, + "elem": { + "fields": { + "azure_private_endpoint_rules": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, + "databricks_mws_network_connectivity_configs": { + "current": "databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", + "majorVersion": 1, + "fields": { + "names": { + "maxItemsOne": false + } + } + }, "databricks_mws_workspaces": { "current": "databricks:index/getMwsWorkspaces:getMwsWorkspaces", "majorVersion": 1 @@ -4703,6 +4834,42 @@ } } }, + "databricks_registered_model_versions": { + "current": "databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", + "majorVersion": 1, + "fields": { + "model_versions": { + "maxItemsOne": false, + "elem": { + "fields": { + "aliases": { + "maxItemsOne": false + }, + "model_version_dependencies": { + "maxItemsOne": false, + "elem": { + "fields": { + "dependencies": { + "maxItemsOne": false, + "elem": { + "fields": { + "function": { + "maxItemsOne": false + }, + "table": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + } + } + } + }, "databricks_schema": { "current": "databricks:index/getSchema:getSchema", "majorVersion": 1, @@ -4741,6 +4908,131 @@ } } }, + "databricks_serving_endpoints": { + "current": "databricks:index/getServingEndpoints:getServingEndpoints", + "majorVersion": 1, + "fields": { + "endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "ai_gateway": { + "maxItemsOne": false, + "elem": { + "fields": { + "guardrails": { + "maxItemsOne": false, + "elem": { + "fields": { + "input_properties": { + "maxItemsOne": false, + "elem": { + "fields": { + "invalid_keywords": { + "maxItemsOne": false + }, + "pii": { + "maxItemsOne": false + }, + "valid_topics": { + "maxItemsOne": false + } + } + } + }, + "output": { + "maxItemsOne": false, + "elem": { + "fields": { + "invalid_keywords": { + "maxItemsOne": false + }, + "pii": { + "maxItemsOne": false + }, + "valid_topics": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "inference_table_config": { + "maxItemsOne": false + }, + "rate_limits": { + "maxItemsOne": false + }, + "usage_tracking_config": { + "maxItemsOne": false + } + } + } + }, + "config": { + "maxItemsOne": false, + "elem": { + "fields": { + "served_entities": { + "maxItemsOne": false, + "elem": { + "fields": { + "external_model": { + "maxItemsOne": false, + "elem": { + "fields": { + "ai21labs_config": { + "maxItemsOne": false + }, + "amazon_bedrock_config": { + "maxItemsOne": false + }, + "anthropic_config": { + "maxItemsOne": false + }, + "cohere_config": { + "maxItemsOne": false + }, + "databricks_model_serving_config": { + "maxItemsOne": false + }, + "google_cloud_vertex_ai_config": { + "maxItemsOne": false + }, + "openai_config": { + "maxItemsOne": false + }, + "palm_config": { + "maxItemsOne": false + } + } + } + }, + "foundation_model": { + "maxItemsOne": false + } + } + } + }, + "served_models": { + "maxItemsOne": false + } + } + } + }, + "state": { + "maxItemsOne": false + }, + "tags": { + "maxItemsOne": false + } + } + } + } + } + }, "databricks_share": { "current": "databricks:index/getShare:getShare", "majorVersion": 1, @@ -5041,6 +5333,17 @@ "odbc_params": true } } + }, + "datasources": { + "databricks_functions": { + "maxItemsOneOverrides": { + "functions.$.input_params": true, + "functions.$.return_params": true, + "functions.$.routine_dependencies": true, + "functions.$.routine_dependencies.$.dependencies.$.function": true, + "functions.$.routine_dependencies.$.dependencies.$.table": true + } + } } }, "ids": { @@ -5057,6 +5360,7 @@ "resources": { "databricks:index/accessControlRuleSet:AccessControlRuleSet": 0, "databricks:index/alert:Alert": 0, + "databricks:index/app:App": 1, "databricks:index/artifactAllowlist:ArtifactAllowlist": 0, "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": 0, "databricks:index/budget:Budget": 0, @@ -5066,6 +5370,7 @@ "databricks:index/clusterPolicy:ClusterPolicy": 0, "databricks:index/complianceSecurityProfileWorkspaceSetting:ComplianceSecurityProfileWorkspaceSetting": 0, "databricks:index/connection:Connection": 0, + "databricks:index/credential:Credential": 0, "databricks:index/customAppIntegration:CustomAppIntegration": 0, "databricks:index/dashboard:Dashboard": 0, "databricks:index/dbfsFile:DbfsFile": 0, @@ -5155,6 +5460,8 @@ "databricks:index/workspaceFile:WorkspaceFile": 0 }, "functions": { + "databricks:index/getApp:getApp": 1, + "databricks:index/getApps:getApps": 1, "databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy": 0, "databricks:index/getAwsBucketPolicy:getAwsBucketPolicy": 0, "databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy": 0, @@ -5185,6 +5492,8 @@ "databricks:index/getMlflowModel:getMlflowModel": 0, "databricks:index/getMlflowModels:getMlflowModels": 0, "databricks:index/getMwsCredentials:getMwsCredentials": 0, + "databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig": 0, + "databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs": 0, "databricks:index/getMwsWorkspaces:getMwsWorkspaces": 0, "databricks:index/getNodeType:getNodeType": 0, "databricks:index/getNotebook:getNotebook": 0, @@ -5192,10 +5501,12 @@ "databricks:index/getNotificationDestinations:getNotificationDestinations": 1, "databricks:index/getPipelines:getPipelines": 0, "databricks:index/getRegisteredModel:getRegisteredModel": 1, + "databricks:index/getRegisteredModelVersions:getRegisteredModelVersions": 1, "databricks:index/getSchema:getSchema": 0, "databricks:index/getSchemas:getSchemas": 0, "databricks:index/getServicePrincipal:getServicePrincipal": 0, "databricks:index/getServicePrincipals:getServicePrincipals": 0, + "databricks:index/getServingEndpoints:getServingEndpoints": 1, "databricks:index/getShare:getShare": 0, "databricks:index/getShares:getShares": 0, "databricks:index/getSparkVersion:getSparkVersion": 0, diff --git a/provider/cmd/pulumi-resource-databricks/schema.json b/provider/cmd/pulumi-resource-databricks/schema.json index c296a0f0..3997634b 100644 --- a/provider/cmd/pulumi-resource-databricks/schema.json +++ b/provider/cmd/pulumi-resource-databricks/schema.json @@ -253,6 +253,297 @@ }, "type": "object" }, + "databricks:index/AppActiveDeployment:AppActiveDeployment": { + "properties": { + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" + }, + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" + }, + "deploymentArtifacts": { + "$ref": "#/types/databricks:index/AppActiveDeploymentDeploymentArtifacts:AppActiveDeploymentDeploymentArtifacts" + }, + "deploymentId": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "sourceCodePath": { + "type": "string" + }, + "status": { + "$ref": "#/types/databricks:index/AppActiveDeploymentStatus:AppActiveDeploymentStatus" + }, + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "createTime", + "creator", + "deploymentArtifacts", + "status", + "updateTime" + ] + } + } + }, + "databricks:index/AppActiveDeploymentDeploymentArtifacts:AppActiveDeploymentDeploymentArtifacts": { + "properties": { + "sourceCodePath": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/AppActiveDeploymentStatus:AppActiveDeploymentStatus": { + "properties": { + "message": { + "type": "string", + "description": "Application status message\n" + }, + "state": { + "type": "string", + "description": "State of the application.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "message", + "state" + ] + } + } + }, + "databricks:index/AppAppStatus:AppAppStatus": { + "properties": { + "message": { + "type": "string", + "description": "Application status message\n" + }, + "state": { + "type": "string", + "description": "State of the application.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "message", + "state" + ] + } + } + }, + "databricks:index/AppComputeStatus:AppComputeStatus": { + "properties": { + "message": { + "type": "string", + "description": "Application status message\n" + }, + "state": { + "type": "string", + "description": "State of the application.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "message", + "state" + ] + } + } + }, + "databricks:index/AppPendingDeployment:AppPendingDeployment": { + "properties": { + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" + }, + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" + }, + "deploymentArtifacts": { + "$ref": "#/types/databricks:index/AppPendingDeploymentDeploymentArtifacts:AppPendingDeploymentDeploymentArtifacts" + }, + "deploymentId": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "sourceCodePath": { + "type": "string" + }, + "status": { + "$ref": "#/types/databricks:index/AppPendingDeploymentStatus:AppPendingDeploymentStatus" + }, + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "createTime", + "creator", + "deploymentArtifacts", + "status", + "updateTime" + ] + } + } + }, + "databricks:index/AppPendingDeploymentDeploymentArtifacts:AppPendingDeploymentDeploymentArtifacts": { + "properties": { + "sourceCodePath": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/AppPendingDeploymentStatus:AppPendingDeploymentStatus": { + "properties": { + "message": { + "type": "string", + "description": "Application status message\n" + }, + "state": { + "type": "string", + "description": "State of the application.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "message", + "state" + ] + } + } + }, + "databricks:index/AppResource:AppResource": { + "properties": { + "description": { + "type": "string", + "description": "The description of the resource.\n\nExactly one of the following attributes must be provided:\n" + }, + "job": { + "$ref": "#/types/databricks:index/AppResourceJob:AppResourceJob", + "description": "attribute\n" + }, + "name": { + "type": "string", + "description": "The name of the resource.\n" + }, + "secret": { + "$ref": "#/types/databricks:index/AppResourceSecret:AppResourceSecret", + "description": "attribute\n" + }, + "servingEndpoint": { + "$ref": "#/types/databricks:index/AppResourceServingEndpoint:AppResourceServingEndpoint", + "description": "attribute\n" + }, + "sqlWarehouse": { + "$ref": "#/types/databricks:index/AppResourceSqlWarehouse:AppResourceSqlWarehouse", + "description": "attribute\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "databricks:index/AppResourceJob:AppResourceJob": { + "properties": { + "id": { + "type": "string", + "description": "Id of the job to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" + } + }, + "type": "object", + "required": [ + "id", + "permission" + ] + }, + "databricks:index/AppResourceSecret:AppResourceSecret": { + "properties": { + "key": { + "type": "string", + "description": "Key of the secret to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`.\n" + }, + "scope": { + "type": "string", + "description": "Scope of the secret to grant permission on.\n" + } + }, + "type": "object", + "required": [ + "key", + "permission", + "scope" + ] + }, + "databricks:index/AppResourceServingEndpoint:AppResourceServingEndpoint": { + "properties": { + "name": { + "type": "string", + "description": "Name of the serving endpoint to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`.\n" + } + }, + "type": "object", + "required": [ + "name", + "permission" + ] + }, + "databricks:index/AppResourceSqlWarehouse:AppResourceSqlWarehouse": { + "properties": { + "id": { + "type": "string", + "description": "Id of the SQL warehouse to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`.\n" + } + }, + "type": "object", + "required": [ + "id", + "permission" + ] + }, "databricks:index/ArtifactAllowlistArtifactMatcher:ArtifactAllowlistArtifactMatcher": { "properties": { "artifact": { @@ -1047,6 +1338,105 @@ "isEnabled" ] }, + "databricks:index/CredentialAwsIamRole:CredentialAwsIamRole": { + "properties": { + "externalId": { + "type": "string" + }, + "roleArn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF`\n\n`azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`):\n" + }, + "unityCatalogIamArn": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "externalId", + "unityCatalogIamArn" + ] + } + } + }, + "databricks:index/CredentialAzureManagedIdentity:CredentialAzureManagedIdentity": { + "properties": { + "accessConnectorId": { + "type": "string", + "description": "The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`.\n" + }, + "credentialId": { + "type": "string", + "description": "Unique ID of the credential.\n" + }, + "managedIdentityId": { + "type": "string", + "description": "The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`.\n\n`azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy):\n" + } + }, + "type": "object", + "required": [ + "accessConnectorId" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "accessConnectorId", + "credentialId" + ] + } + } + }, + "databricks:index/CredentialAzureServicePrincipal:CredentialAzureServicePrincipal": { + "properties": { + "applicationId": { + "type": "string", + "description": "The application ID of the application registration within the referenced AAD tenant\n" + }, + "clientSecret": { + "type": "string", + "description": "The client secret generated for the above app ID in AAD. **This field is redacted on output**\n\n`databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`:\n", + "secret": true + }, + "directoryId": { + "type": "string", + "description": "The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application\n" + } + }, + "type": "object", + "required": [ + "applicationId", + "clientSecret", + "directoryId" + ] + }, + "databricks:index/CredentialDatabricksGcpServiceAccount:CredentialDatabricksGcpServiceAccount": { + "properties": { + "credentialId": { + "type": "string", + "description": "Unique ID of the credential.\n" + }, + "email": { + "type": "string", + "description": "The email of the GCP service account created, to be granted access to relevant buckets.\n" + }, + "privateKeyId": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "credentialId", + "email", + "privateKeyId" + ] + } + } + }, "databricks:index/CustomAppIntegrationTokenAccessPolicy:CustomAppIntegrationTokenAccessPolicy": { "properties": { "accessTokenTtlInMinutes": { @@ -1645,6 +2035,12 @@ "instancePoolId": { "type": "string" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -1688,6 +2084,9 @@ "type": "string" } }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/JobJobClusterNewClusterWorkloadType:JobJobClusterNewClusterWorkloadType", "description": "isn't supported\n" @@ -2283,6 +2682,12 @@ "instancePoolId": { "type": "string" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -2326,6 +2731,9 @@ "type": "string" } }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/JobNewClusterWorkloadType:JobNewClusterWorkloadType", "description": "isn't supported\n" @@ -2999,6 +3407,9 @@ }, "databricks:index/JobTask:JobTask": { "properties": { + "cleanRoomsNotebookTask": { + "$ref": "#/types/databricks:index/JobTaskCleanRoomsNotebookTask:JobTaskCleanRoomsNotebookTask" + }, "conditionTask": { "$ref": "#/types/databricks:index/JobTaskConditionTask:JobTaskConditionTask" }, @@ -3124,272 +3535,31 @@ } } }, - "databricks:index/JobTaskConditionTask:JobTaskConditionTask": { - "properties": { - "left": { - "type": "string", - "description": "The left operand of the condition task. It could be a string value, job state, or a parameter reference.\n" - }, - "op": { - "type": "string", - "description": "The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information).\n\nThis task does not require a cluster to execute and does not support retries or notifications.\n" - }, - "right": { - "type": "string", - "description": "The right operand of the condition task. It could be a string value, job state, or parameter reference.\n" - } - }, - "type": "object", - "required": [ - "left", - "op", - "right" - ] - }, - "databricks:index/JobTaskDbtTask:JobTaskDbtTask": { + "databricks:index/JobTaskCleanRoomsNotebookTask:JobTaskCleanRoomsNotebookTask": { "properties": { - "catalog": { - "type": "string", - "description": "The name of the catalog to use inside Unity Catalog.\n" - }, - "commands": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Array) Series of dbt commands to execute in sequence. Every command must start with \"dbt\".\n" - }, - "profilesDirectory": { - "type": "string", - "description": "The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command.\n" - }, - "projectDirectory": { - "type": "string", - "description": "The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI.\n* If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified.\n* If `source` is `WORKSPACE`: Absolute path to the folder in the workspace.\n" - }, - "schema": { - "type": "string", - "description": "The name of the schema dbt should run in. Defaults to `default`.\n" - }, - "source": { - "type": "string", - "description": "The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition.\n" - }, - "warehouseId": { - "type": "string", - "description": "The ID of the SQL warehouse that dbt should execute against.\n\nYou also need to include a `git_source` block to configure the repository that contains the dbt project.\n" - } - }, - "type": "object", - "required": [ - "commands" - ] - }, - "databricks:index/JobTaskDependsOn:JobTaskDependsOn": { - "properties": { - "outcome": { - "type": "string", - "description": "Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `\"true\"` or `\"false\"`.\n\n\u003e Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs.\n" - }, - "taskKey": { - "type": "string", - "description": "The name of the task this task depends on.\n" - } - }, - "type": "object", - "required": [ - "taskKey" - ] - }, - "databricks:index/JobTaskEmailNotifications:JobTaskEmailNotifications": { - "properties": { - "noAlertForSkippedRuns": { - "type": "boolean", - "description": "(Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block).\n" - }, - "onDurationWarningThresholdExceededs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block.\n\nThe following parameter is only available for the job level configuration.\n" - }, - "onFailures": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(List) list of emails to notify when the run fails.\n" + "cleanRoomName": { + "type": "string" }, - "onStarts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(List) list of emails to notify when the run starts.\n" + "etag": { + "type": "string" }, - "onStreamingBacklogExceededs": { - "type": "array", - "items": { + "notebookBaseParameters": { + "type": "object", + "additionalProperties": { "type": "string" } }, - "onSuccesses": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(List) list of emails to notify when the run completes successfully.\n" - } - }, - "type": "object" - }, - "databricks:index/JobTaskForEachTask:JobTaskForEachTask": { - "properties": { - "concurrency": { - "type": "integer", - "description": "Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.\n" - }, - "inputs": { - "type": "string", - "description": "(String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.\n" - }, - "task": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTask:JobTaskForEachTaskTask", - "description": "Task to run against the `inputs` list.\n" + "notebookName": { + "type": "string" } }, "type": "object", "required": [ - "inputs", - "task" + "cleanRoomName", + "notebookName" ] }, - "databricks:index/JobTaskForEachTaskTask:JobTaskForEachTaskTask": { - "properties": { - "conditionTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskConditionTask:JobTaskForEachTaskTaskConditionTask" - }, - "dbtTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskDbtTask:JobTaskForEachTaskTaskDbtTask" - }, - "dependsOns": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskDependsOn:JobTaskForEachTaskTaskDependsOn" - }, - "description": "block specifying dependency(-ies) for a given task.\n" - }, - "description": { - "type": "string", - "description": "description for this task.\n" - }, - "disableAutoOptimization": { - "type": "boolean", - "description": "A flag to disable auto optimization in serverless tasks.\n" - }, - "emailNotifications": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskEmailNotifications:JobTaskForEachTaskTaskEmailNotifications", - "description": "An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.\n" - }, - "environmentKey": { - "type": "string", - "description": "identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute.\n" - }, - "existingClusterId": { - "type": "string", - "description": "Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!*\n" - }, - "health": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskHealth:JobTaskForEachTaskTaskHealth", - "description": "block described below that specifies health conditions for a given task.\n" - }, - "jobClusterKey": { - "type": "string", - "description": "Identifier of the Job cluster specified in the `job_cluster` block.\n" - }, - "libraries": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskLibrary:JobTaskForEachTaskTaskLibrary" - }, - "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job.\n" - }, - "maxRetries": { - "type": "integer", - "description": "(Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`.\n" - }, - "minRetryIntervalMillis": { - "type": "integer", - "description": "(Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.\n" - }, - "newCluster": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNewCluster:JobTaskForEachTaskTaskNewCluster", - "description": "Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!*\n" - }, - "notebookTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNotebookTask:JobTaskForEachTaskTaskNotebookTask" - }, - "notificationSettings": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNotificationSettings:JobTaskForEachTaskTaskNotificationSettings", - "description": "An optional block controlling the notification settings on the job level documented below.\n" - }, - "pipelineTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskPipelineTask:JobTaskForEachTaskTaskPipelineTask" - }, - "pythonWheelTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskPythonWheelTask:JobTaskForEachTaskTaskPythonWheelTask" - }, - "retryOnTimeout": { - "type": "boolean", - "description": "(Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.\n" - }, - "runIf": { - "type": "string", - "description": "An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`.\n" - }, - "runJobTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskRunJobTask:JobTaskForEachTaskTaskRunJobTask" - }, - "sparkJarTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSparkJarTask:JobTaskForEachTaskTaskSparkJarTask" - }, - "sparkPythonTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSparkPythonTask:JobTaskForEachTaskTaskSparkPythonTask" - }, - "sparkSubmitTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSparkSubmitTask:JobTaskForEachTaskTaskSparkSubmitTask" - }, - "sqlTask": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSqlTask:JobTaskForEachTaskTaskSqlTask" - }, - "taskKey": { - "type": "string", - "description": "string specifying an unique key for a given task.\n* `*_task` - (Required) one of the specific task blocks described below:\n" - }, - "timeoutSeconds": { - "type": "integer", - "description": "(Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.\n" - }, - "webhookNotifications": { - "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskWebhookNotifications:JobTaskForEachTaskTaskWebhookNotifications", - "description": "(List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.\n\n\u003e If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute.\n" - } - }, - "type": "object", - "required": [ - "taskKey" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "retryOnTimeout", - "taskKey" - ] - } - } - }, - "databricks:index/JobTaskForEachTaskTaskConditionTask:JobTaskForEachTaskTaskConditionTask": { + "databricks:index/JobTaskConditionTask:JobTaskConditionTask": { "properties": { "left": { "type": "string", @@ -3411,7 +3581,299 @@ "right" ] }, - "databricks:index/JobTaskForEachTaskTaskDbtTask:JobTaskForEachTaskTaskDbtTask": { + "databricks:index/JobTaskDbtTask:JobTaskDbtTask": { + "properties": { + "catalog": { + "type": "string", + "description": "The name of the catalog to use inside Unity Catalog.\n" + }, + "commands": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Array) Series of dbt commands to execute in sequence. Every command must start with \"dbt\".\n" + }, + "profilesDirectory": { + "type": "string", + "description": "The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command.\n" + }, + "projectDirectory": { + "type": "string", + "description": "The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI.\n* If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified.\n* If `source` is `WORKSPACE`: Absolute path to the folder in the workspace.\n" + }, + "schema": { + "type": "string", + "description": "The name of the schema dbt should run in. Defaults to `default`.\n" + }, + "source": { + "type": "string", + "description": "The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition.\n" + }, + "warehouseId": { + "type": "string", + "description": "The ID of the SQL warehouse that dbt should execute against.\n\nYou also need to include a `git_source` block to configure the repository that contains the dbt project.\n" + } + }, + "type": "object", + "required": [ + "commands" + ] + }, + "databricks:index/JobTaskDependsOn:JobTaskDependsOn": { + "properties": { + "outcome": { + "type": "string", + "description": "Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `\"true\"` or `\"false\"`.\n\n\u003e Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs.\n" + }, + "taskKey": { + "type": "string", + "description": "The name of the task this task depends on.\n" + } + }, + "type": "object", + "required": [ + "taskKey" + ] + }, + "databricks:index/JobTaskEmailNotifications:JobTaskEmailNotifications": { + "properties": { + "noAlertForSkippedRuns": { + "type": "boolean", + "description": "(Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block).\n" + }, + "onDurationWarningThresholdExceededs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block.\n\nThe following parameter is only available for the job level configuration.\n" + }, + "onFailures": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(List) list of emails to notify when the run fails.\n" + }, + "onStarts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(List) list of emails to notify when the run starts.\n" + }, + "onStreamingBacklogExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onSuccesses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(List) list of emails to notify when the run completes successfully.\n" + } + }, + "type": "object" + }, + "databricks:index/JobTaskForEachTask:JobTaskForEachTask": { + "properties": { + "concurrency": { + "type": "integer", + "description": "Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.\n" + }, + "inputs": { + "type": "string", + "description": "(String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.\n" + }, + "task": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTask:JobTaskForEachTaskTask", + "description": "Task to run against the `inputs` list.\n" + } + }, + "type": "object", + "required": [ + "inputs", + "task" + ] + }, + "databricks:index/JobTaskForEachTaskTask:JobTaskForEachTaskTask": { + "properties": { + "cleanRoomsNotebookTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskCleanRoomsNotebookTask:JobTaskForEachTaskTaskCleanRoomsNotebookTask" + }, + "conditionTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskConditionTask:JobTaskForEachTaskTaskConditionTask" + }, + "dbtTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskDbtTask:JobTaskForEachTaskTaskDbtTask" + }, + "dependsOns": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskDependsOn:JobTaskForEachTaskTaskDependsOn" + }, + "description": "block specifying dependency(-ies) for a given task.\n" + }, + "description": { + "type": "string", + "description": "description for this task.\n" + }, + "disableAutoOptimization": { + "type": "boolean", + "description": "A flag to disable auto optimization in serverless tasks.\n" + }, + "emailNotifications": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskEmailNotifications:JobTaskForEachTaskTaskEmailNotifications", + "description": "An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.\n" + }, + "environmentKey": { + "type": "string", + "description": "identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute.\n" + }, + "existingClusterId": { + "type": "string", + "description": "Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!*\n" + }, + "health": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskHealth:JobTaskForEachTaskTaskHealth", + "description": "block described below that specifies health conditions for a given task.\n" + }, + "jobClusterKey": { + "type": "string", + "description": "Identifier of the Job cluster specified in the `job_cluster` block.\n" + }, + "libraries": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskLibrary:JobTaskForEachTaskTaskLibrary" + }, + "description": "(Set) An optional list of libraries to be installed on the cluster that will execute the job.\n" + }, + "maxRetries": { + "type": "integer", + "description": "(Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`.\n" + }, + "minRetryIntervalMillis": { + "type": "integer", + "description": "(Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.\n" + }, + "newCluster": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNewCluster:JobTaskForEachTaskTaskNewCluster", + "description": "Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!*\n" + }, + "notebookTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNotebookTask:JobTaskForEachTaskTaskNotebookTask" + }, + "notificationSettings": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNotificationSettings:JobTaskForEachTaskTaskNotificationSettings", + "description": "An optional block controlling the notification settings on the job level documented below.\n" + }, + "pipelineTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskPipelineTask:JobTaskForEachTaskTaskPipelineTask" + }, + "pythonWheelTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskPythonWheelTask:JobTaskForEachTaskTaskPythonWheelTask" + }, + "retryOnTimeout": { + "type": "boolean", + "description": "(Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.\n" + }, + "runIf": { + "type": "string", + "description": "An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`.\n" + }, + "runJobTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskRunJobTask:JobTaskForEachTaskTaskRunJobTask" + }, + "sparkJarTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSparkJarTask:JobTaskForEachTaskTaskSparkJarTask" + }, + "sparkPythonTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSparkPythonTask:JobTaskForEachTaskTaskSparkPythonTask" + }, + "sparkSubmitTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSparkSubmitTask:JobTaskForEachTaskTaskSparkSubmitTask" + }, + "sqlTask": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskSqlTask:JobTaskForEachTaskTaskSqlTask" + }, + "taskKey": { + "type": "string", + "description": "string specifying an unique key for a given task.\n* `*_task` - (Required) one of the specific task blocks described below:\n" + }, + "timeoutSeconds": { + "type": "integer", + "description": "(Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.\n" + }, + "webhookNotifications": { + "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskWebhookNotifications:JobTaskForEachTaskTaskWebhookNotifications", + "description": "(List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.\n\n\u003e If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute.\n" + } + }, + "type": "object", + "required": [ + "taskKey" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "retryOnTimeout", + "taskKey" + ] + } + } + }, + "databricks:index/JobTaskForEachTaskTaskCleanRoomsNotebookTask:JobTaskForEachTaskTaskCleanRoomsNotebookTask": { + "properties": { + "cleanRoomName": { + "type": "string" + }, + "etag": { + "type": "string" + }, + "notebookBaseParameters": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "notebookName": { + "type": "string" + } + }, + "type": "object", + "required": [ + "cleanRoomName", + "notebookName" + ] + }, + "databricks:index/JobTaskForEachTaskTaskConditionTask:JobTaskForEachTaskTaskConditionTask": { + "properties": { + "left": { + "type": "string", + "description": "The left operand of the condition task. It could be a string value, job state, or a parameter reference.\n" + }, + "op": { + "type": "string", + "description": "The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information).\n\nThis task does not require a cluster to execute and does not support retries or notifications.\n" + }, + "right": { + "type": "string", + "description": "The right operand of the condition task. It could be a string value, job state, or parameter reference.\n" + } + }, + "type": "object", + "required": [ + "left", + "op", + "right" + ] + }, + "databricks:index/JobTaskForEachTaskTaskDbtTask:JobTaskForEachTaskTaskDbtTask": { "properties": { "catalog": { "type": "string", @@ -3689,6 +4151,12 @@ "instancePoolId": { "type": "string" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -3732,6 +4200,9 @@ "type": "string" } }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/JobTaskForEachTaskTaskNewClusterWorkloadType:JobTaskForEachTaskTaskNewClusterWorkloadType", "description": "isn't supported\n" @@ -4813,6 +5284,12 @@ "instancePoolId": { "type": "string" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -4856,6 +5333,9 @@ "type": "string" } }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/JobTaskNewClusterWorkloadType:JobTaskNewClusterWorkloadType", "description": "isn't supported\n" @@ -8653,8 +9133,11 @@ }, "databricks:index/PipelineRestartWindow:PipelineRestartWindow": { "properties": { - "daysOfWeek": { - "type": "string" + "daysOfWeeks": { + "type": "array", + "items": { + "type": "string" + } }, "startHour": { "type": "integer" @@ -10215,806 +10698,1117 @@ }, "type": "object" }, - "databricks:index/getCatalogCatalogInfo:getCatalogCatalogInfo": { + "databricks:index/getAppApp:getAppApp": { "properties": { - "browseOnly": { - "type": "boolean" + "activeDeployment": { + "$ref": "#/types/databricks:index/getAppAppActiveDeployment:getAppAppActiveDeployment" }, - "catalogType": { + "appStatus": { + "$ref": "#/types/databricks:index/getAppAppAppStatus:getAppAppAppStatus", + "description": "attribute\n" + }, + "computeStatus": { + "$ref": "#/types/databricks:index/getAppAppComputeStatus:getAppAppComputeStatus", + "description": "attribute\n" + }, + "createTime": { "type": "string", - "description": "Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`,\n" + "description": "The creation time of the app.\n" }, - "comment": { + "creator": { "type": "string", - "description": "Free-form text description\n" + "description": "The email of the user that created the app.\n" }, - "connectionName": { + "defaultSourceCodePath": { "type": "string", - "description": "The name of the connection to an external data source.\n" + "description": "The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.\n" }, - "createdAt": { - "type": "integer", - "description": "Time at which this catalog was created, in epoch milliseconds.\n" + "description": { + "type": "string", + "description": "The description of the resource.\n" }, - "createdBy": { + "name": { "type": "string", - "description": "Username of catalog creator.\n" + "description": "The name of the app.\n" }, - "effectivePredictiveOptimizationFlag": { - "$ref": "#/types/databricks:index/getCatalogCatalogInfoEffectivePredictiveOptimizationFlag:getCatalogCatalogInfoEffectivePredictiveOptimizationFlag", - "description": "object describing applied predictive optimization flag.\n" + "pendingDeployment": { + "$ref": "#/types/databricks:index/getAppAppPendingDeployment:getAppAppPendingDeployment" }, - "enablePredictiveOptimization": { + "resources": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getAppAppResource:getAppAppResource" + }, + "description": "A list of resources that the app have access to.\n" + }, + "servicePrincipalClientId": { + "type": "string" + }, + "servicePrincipalId": { + "type": "integer", + "description": "id of the app service principal\n" + }, + "servicePrincipalName": { "type": "string", - "description": "Whether predictive optimization should be enabled for this object and objects under it.\n" + "description": "name of the app service principal\n" }, - "fullName": { + "updateTime": { "type": "string", - "description": "The full name of the catalog. Corresponds with the name field.\n" + "description": "The update time of the app.\n" }, - "isolationMode": { + "updater": { "type": "string", - "description": "Whether the current securable is accessible from all workspaces or a specific set of workspaces.\n" + "description": "The email of the user that last updated the app.\n" }, - "metastoreId": { + "url": { "type": "string", - "description": "Unique identifier of parent metastore.\n" + "description": "The URL of the app once it is deployed.\n" + } + }, + "type": "object", + "required": [ + "activeDeployment", + "appStatus", + "computeStatus", + "createTime", + "creator", + "defaultSourceCodePath", + "name", + "pendingDeployment", + "servicePrincipalClientId", + "servicePrincipalId", + "servicePrincipalName", + "updateTime", + "updater", + "url" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppActiveDeployment:getAppAppActiveDeployment": { + "properties": { + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" }, - "name": { + "creator": { "type": "string", - "description": "name of the catalog\n" + "description": "The email of the user that created the app.\n" }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of key-value properties attached to the securable.\n" + "deploymentArtifacts": { + "$ref": "#/types/databricks:index/getAppAppActiveDeploymentDeploymentArtifacts:getAppAppActiveDeploymentDeploymentArtifacts" }, - "owner": { - "type": "string", - "description": "Current owner of the catalog\n" + "deploymentId": { + "type": "string" }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of key-value properties attached to the securable.\n" + "mode": { + "type": "string" }, - "providerName": { - "type": "string", - "description": "The name of delta sharing provider.\n" + "sourceCodePath": { + "type": "string" }, - "provisioningInfo": { - "$ref": "#/types/databricks:index/getCatalogCatalogInfoProvisioningInfo:getCatalogCatalogInfoProvisioningInfo" + "status": { + "$ref": "#/types/databricks:index/getAppAppActiveDeploymentStatus:getAppAppActiveDeploymentStatus" }, - "securableKind": { + "updateTime": { "type": "string", - "description": "Kind of catalog securable.\n" - }, - "securableType": { + "description": "The update time of the app.\n" + } + }, + "type": "object", + "required": [ + "createTime", + "creator", + "deploymentArtifacts", + "status", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppActiveDeploymentDeploymentArtifacts:getAppAppActiveDeploymentDeploymentArtifacts": { + "properties": { + "sourceCodePath": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getAppAppActiveDeploymentStatus:getAppAppActiveDeploymentStatus": { + "properties": { + "message": { "type": "string", - "description": "Securable type.\n" + "description": "Application status message\n" }, - "shareName": { + "state": { "type": "string", - "description": "The name of the share under the share provider.\n" - }, - "storageLocation": { + "description": "State of the application.\n" + } + }, + "type": "object", + "required": [ + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppAppStatus:getAppAppAppStatus": { + "properties": { + "message": { "type": "string", - "description": "Storage Location URL (full path) for managed tables within catalog.\n" + "description": "Application status message\n" }, - "storageRoot": { + "state": { "type": "string", - "description": "Storage root URL for managed tables within catalog.\n" - }, - "updatedAt": { - "type": "integer", - "description": "Time at which this catalog was last modified, in epoch milliseconds.\n" + "description": "State of the application.\n" + } + }, + "type": "object", + "required": [ + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppComputeStatus:getAppAppComputeStatus": { + "properties": { + "message": { + "type": "string", + "description": "Application status message\n" }, - "updatedBy": { + "state": { "type": "string", - "description": "Username of user who last modified catalog.\n" + "description": "State of the application.\n" } }, - "type": "object" + "type": "object", + "required": [ + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getCatalogCatalogInfoEffectivePredictiveOptimizationFlag:getCatalogCatalogInfoEffectivePredictiveOptimizationFlag": { + "databricks:index/getAppAppPendingDeployment:getAppAppPendingDeployment": { "properties": { - "inheritedFromName": { + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" + }, + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" + }, + "deploymentArtifacts": { + "$ref": "#/types/databricks:index/getAppAppPendingDeploymentDeploymentArtifacts:getAppAppPendingDeploymentDeploymentArtifacts" + }, + "deploymentId": { "type": "string" }, - "inheritedFromType": { + "mode": { "type": "string" }, - "value": { + "sourceCodePath": { "type": "string" + }, + "status": { + "$ref": "#/types/databricks:index/getAppAppPendingDeploymentStatus:getAppAppPendingDeploymentStatus" + }, + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" } }, "type": "object", "required": [ - "value" - ] + "createTime", + "creator", + "deploymentArtifacts", + "status", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getCatalogCatalogInfoProvisioningInfo:getCatalogCatalogInfoProvisioningInfo": { + "databricks:index/getAppAppPendingDeploymentDeploymentArtifacts:getAppAppPendingDeploymentDeploymentArtifacts": { "properties": { - "state": { + "sourceCodePath": { "type": "string" } }, "type": "object" }, - "databricks:index/getClusterClusterInfo:getClusterClusterInfo": { + "databricks:index/getAppAppPendingDeploymentStatus:getAppAppPendingDeploymentStatus": { "properties": { - "autoscale": { - "$ref": "#/types/databricks:index/getClusterClusterInfoAutoscale:getClusterClusterInfoAutoscale" - }, - "autoterminationMinutes": { - "type": "integer", - "description": "Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination.\n" - }, - "awsAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoAwsAttributes:getClusterClusterInfoAwsAttributes" + "message": { + "type": "string", + "description": "Application status message\n" }, - "azureAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoAzureAttributes:getClusterClusterInfoAzureAttributes" + "state": { + "type": "string", + "description": "State of the application.\n" + } + }, + "type": "object", + "required": [ + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppResource:getAppAppResource": { + "properties": { + "description": { + "type": "string", + "description": "The description of the resource.\n" }, - "clusterCores": { - "type": "number" + "job": { + "$ref": "#/types/databricks:index/getAppAppResourceJob:getAppAppResourceJob", + "description": "attribute\n" }, - "clusterId": { + "name": { "type": "string", - "description": "The id of the cluster\n" - }, - "clusterLogConf": { - "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogConf:getClusterClusterInfoClusterLogConf" + "description": "The name of the app.\n" }, - "clusterLogStatus": { - "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogStatus:getClusterClusterInfoClusterLogStatus" + "secret": { + "$ref": "#/types/databricks:index/getAppAppResourceSecret:getAppAppResourceSecret", + "description": "attribute\n" }, - "clusterMemoryMb": { - "type": "integer" + "servingEndpoint": { + "$ref": "#/types/databricks:index/getAppAppResourceServingEndpoint:getAppAppResourceServingEndpoint", + "description": "attribute\n" }, - "clusterName": { + "sqlWarehouse": { + "$ref": "#/types/databricks:index/getAppAppResourceSqlWarehouse:getAppAppResourceSqlWarehouse", + "description": "attribute\n" + } + }, + "type": "object", + "required": [ + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppResourceJob:getAppAppResourceJob": { + "properties": { + "id": { "type": "string", - "description": "The exact name of the cluster to search\n" + "description": "Id of the job to grant permission on.\n" }, - "clusterSource": { - "type": "string" + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" + } + }, + "type": "object", + "required": [ + "id", + "permission" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppResourceSecret:getAppAppResourceSecret": { + "properties": { + "key": { + "type": "string", + "description": "Key of the secret to grant permission on.\n" }, - "creatorUserName": { - "type": "string" + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" }, - "customTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional tags for cluster resources.\n" + "scope": { + "type": "string", + "description": "Scope of the secret to grant permission on.\n" + } + }, + "type": "object", + "required": [ + "key", + "permission", + "scope" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppResourceServingEndpoint:getAppAppResourceServingEndpoint": { + "properties": { + "name": { + "type": "string", + "description": "The name of the app.\n" }, - "dataSecurityMode": { + "permission": { "type": "string", - "description": "Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled.\n" + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" + } + }, + "type": "object", + "required": [ + "name", + "permission" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppAppResourceSqlWarehouse:getAppAppResourceSqlWarehouse": { + "properties": { + "id": { + "type": "string", + "description": "Id of the job to grant permission on.\n" }, - "defaultTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" + } + }, + "type": "object", + "required": [ + "id", + "permission" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppsApp:getAppsApp": { + "properties": { + "activeDeployment": { + "$ref": "#/types/databricks:index/getAppsAppActiveDeployment:getAppsAppActiveDeployment" }, - "dockerImage": { - "$ref": "#/types/databricks:index/getClusterClusterInfoDockerImage:getClusterClusterInfoDockerImage" + "appStatus": { + "$ref": "#/types/databricks:index/getAppsAppAppStatus:getAppsAppAppStatus", + "description": "attribute\n" }, - "driver": { - "$ref": "#/types/databricks:index/getClusterClusterInfoDriver:getClusterClusterInfoDriver" + "computeStatus": { + "$ref": "#/types/databricks:index/getAppsAppComputeStatus:getAppsAppComputeStatus", + "description": "attribute\n" }, - "driverInstancePoolId": { + "createTime": { "type": "string", - "description": "similar to `instance_pool_id`, but for driver node.\n" + "description": "The creation time of the app.\n" }, - "driverNodeTypeId": { + "creator": { "type": "string", - "description": "The node type of the Spark driver.\n" + "description": "The email of the user that created the app.\n" }, - "enableElasticDisk": { - "type": "boolean", - "description": "Use autoscaling local storage.\n" + "defaultSourceCodePath": { + "type": "string", + "description": "The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.\n" }, - "enableLocalDiskEncryption": { - "type": "boolean", - "description": "Enable local disk encryption.\n" + "description": { + "type": "string", + "description": "The description of the resource.\n" }, - "executors": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getClusterClusterInfoExecutor:getClusterClusterInfoExecutor" - } + "name": { + "type": "string", + "description": "Name of the serving endpoint to grant permission on.\n" }, - "gcpAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoGcpAttributes:getClusterClusterInfoGcpAttributes" + "pendingDeployment": { + "$ref": "#/types/databricks:index/getAppsAppPendingDeployment:getAppsAppPendingDeployment" }, - "initScripts": { + "resources": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScript:getClusterClusterInfoInitScript" - } - }, - "instancePoolId": { - "type": "string", - "description": "The pool of idle instances the cluster is attached to.\n" - }, - "jdbcPort": { - "type": "integer" + "$ref": "#/types/databricks:index/getAppsAppResource:getAppsAppResource" + }, + "description": "A list of resources that the app have access to.\n" }, - "lastRestartedTime": { - "type": "integer" + "servicePrincipalClientId": { + "type": "string" }, - "lastStateLossTime": { - "type": "integer" + "servicePrincipalId": { + "type": "integer", + "description": "id of the app service principal\n" }, - "nodeTypeId": { + "servicePrincipalName": { "type": "string", - "description": "Any supported databricks.getNodeType id.\n" + "description": "name of the app service principal\n" }, - "numWorkers": { - "type": "integer" - }, - "policyId": { + "updateTime": { "type": "string", - "description": "Identifier of Cluster Policy to validate cluster and preset certain defaults.\n" + "description": "The update time of the app.\n" }, - "runtimeEngine": { + "updater": { "type": "string", - "description": "The type of runtime of the cluster\n" + "description": "The email of the user that last updated the app.\n" }, - "singleUserName": { + "url": { "type": "string", - "description": "The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).\n" - }, - "sparkConf": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map with key-value pairs to fine-tune Spark clusters.\n" - }, - "sparkContextId": { - "type": "integer" - }, - "sparkEnvVars": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers.\n" - }, - "sparkVersion": { + "description": "The URL of the app once it is deployed.\n" + } + }, + "type": "object", + "required": [ + "activeDeployment", + "appStatus", + "computeStatus", + "createTime", + "creator", + "defaultSourceCodePath", + "name", + "pendingDeployment", + "servicePrincipalClientId", + "servicePrincipalId", + "servicePrincipalName", + "updateTime", + "updater", + "url" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getAppsAppActiveDeployment:getAppsAppActiveDeployment": { + "properties": { + "createTime": { "type": "string", - "description": "[Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster.\n" - }, - "spec": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpec:getClusterClusterInfoSpec" + "description": "The creation time of the app.\n" }, - "sshPublicKeys": { - "type": "array", - "items": { - "type": "string" - }, - "description": "SSH public key contents that will be added to each Spark node in this cluster.\n" + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" }, - "startTime": { - "type": "integer" + "deploymentArtifacts": { + "$ref": "#/types/databricks:index/getAppsAppActiveDeploymentDeploymentArtifacts:getAppsAppActiveDeploymentDeploymentArtifacts" }, - "state": { + "deploymentId": { "type": "string" }, - "stateMessage": { + "mode": { "type": "string" }, - "terminatedTime": { - "type": "integer" + "sourceCodePath": { + "type": "string" }, - "terminationReason": { - "$ref": "#/types/databricks:index/getClusterClusterInfoTerminationReason:getClusterClusterInfoTerminationReason" + "status": { + "$ref": "#/types/databricks:index/getAppsAppActiveDeploymentStatus:getAppsAppActiveDeploymentStatus" }, - "workloadType": { - "$ref": "#/types/databricks:index/getClusterClusterInfoWorkloadType:getClusterClusterInfoWorkloadType" + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" } }, - "type": "object" + "type": "object", + "required": [ + "createTime", + "creator", + "deploymentArtifacts", + "status", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getClusterClusterInfoAutoscale:getClusterClusterInfoAutoscale": { + "databricks:index/getAppsAppActiveDeploymentDeploymentArtifacts:getAppsAppActiveDeploymentDeploymentArtifacts": { "properties": { - "maxWorkers": { - "type": "integer" - }, - "minWorkers": { - "type": "integer" + "sourceCodePath": { + "type": "string" } }, "type": "object" }, - "databricks:index/getClusterClusterInfoAwsAttributes:getClusterClusterInfoAwsAttributes": { + "databricks:index/getAppsAppActiveDeploymentStatus:getAppsAppActiveDeploymentStatus": { "properties": { - "availability": { - "type": "string" - }, - "ebsVolumeCount": { - "type": "integer" - }, - "ebsVolumeIops": { - "type": "integer" - }, - "ebsVolumeSize": { - "type": "integer" - }, - "ebsVolumeThroughput": { - "type": "integer" - }, - "ebsVolumeType": { - "type": "string" - }, - "firstOnDemand": { - "type": "integer" - }, - "instanceProfileArn": { - "type": "string" - }, - "spotBidPricePercent": { - "type": "integer" - }, - "zoneId": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoAzureAttributes:getClusterClusterInfoAzureAttributes": { - "properties": { - "availability": { - "type": "string" - }, - "firstOnDemand": { - "type": "integer" - }, - "logAnalyticsInfo": { - "$ref": "#/types/databricks:index/getClusterClusterInfoAzureAttributesLogAnalyticsInfo:getClusterClusterInfoAzureAttributesLogAnalyticsInfo" + "message": { + "type": "string", + "description": "Application status message\n" }, - "spotBidMaxPrice": { - "type": "number" + "state": { + "type": "string", + "description": "State of the application.\n" } }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoAzureAttributesLogAnalyticsInfo:getClusterClusterInfoAzureAttributesLogAnalyticsInfo": { - "properties": { - "logAnalyticsPrimaryKey": { - "type": "string" - }, - "logAnalyticsWorkspaceId": { - "type": "string" + "type": "object", + "required": [ + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] } - }, - "type": "object" + } }, - "databricks:index/getClusterClusterInfoClusterLogConf:getClusterClusterInfoClusterLogConf": { + "databricks:index/getAppsAppAppStatus:getAppsAppAppStatus": { "properties": { - "dbfs": { - "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogConfDbfs:getClusterClusterInfoClusterLogConfDbfs" + "message": { + "type": "string", + "description": "Application status message\n" }, - "s3": { - "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogConfS3:getClusterClusterInfoClusterLogConfS3" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoClusterLogConfDbfs:getClusterClusterInfoClusterLogConfDbfs": { - "properties": { - "destination": { - "type": "string" + "state": { + "type": "string", + "description": "State of the application.\n" } }, "type": "object", "required": [ - "destination" - ] + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getClusterClusterInfoClusterLogConfS3:getClusterClusterInfoClusterLogConfS3": { + "databricks:index/getAppsAppComputeStatus:getAppsAppComputeStatus": { "properties": { - "cannedAcl": { - "type": "string" - }, - "destination": { - "type": "string" - }, - "enableEncryption": { - "type": "boolean" - }, - "encryptionType": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "kmsKey": { - "type": "string" + "message": { + "type": "string", + "description": "Application status message\n" }, - "region": { - "type": "string" + "state": { + "type": "string", + "description": "State of the application.\n" } }, "type": "object", "required": [ - "destination" - ] - }, - "databricks:index/getClusterClusterInfoClusterLogStatus:getClusterClusterInfoClusterLogStatus": { - "properties": { - "lastAttempted": { - "type": "integer" - }, - "lastException": { - "type": "string" + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] } - }, - "type": "object" + } }, - "databricks:index/getClusterClusterInfoDockerImage:getClusterClusterInfoDockerImage": { + "databricks:index/getAppsAppPendingDeployment:getAppsAppPendingDeployment": { "properties": { - "basicAuth": { - "$ref": "#/types/databricks:index/getClusterClusterInfoDockerImageBasicAuth:getClusterClusterInfoDockerImageBasicAuth" + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoDockerImageBasicAuth:getClusterClusterInfoDockerImageBasicAuth": { - "properties": { - "password": { - "type": "string" + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" }, - "username": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoDriver:getClusterClusterInfoDriver": { - "properties": { - "hostPrivateIp": { - "type": "string" + "deploymentArtifacts": { + "$ref": "#/types/databricks:index/getAppsAppPendingDeploymentDeploymentArtifacts:getAppsAppPendingDeploymentDeploymentArtifacts" }, - "instanceId": { + "deploymentId": { "type": "string" }, - "nodeAwsAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoDriverNodeAwsAttributes:getClusterClusterInfoDriverNodeAwsAttributes" - }, - "nodeId": { + "mode": { "type": "string" }, - "privateIp": { + "sourceCodePath": { "type": "string" }, - "publicDns": { - "type": "string" + "status": { + "$ref": "#/types/databricks:index/getAppsAppPendingDeploymentStatus:getAppsAppPendingDeploymentStatus" }, - "startTimestamp": { - "type": "integer" + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" } }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoDriverNodeAwsAttributes:getClusterClusterInfoDriverNodeAwsAttributes": { - "properties": { - "isSpot": { - "type": "boolean" + "type": "object", + "required": [ + "createTime", + "creator", + "deploymentArtifacts", + "status", + "updateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] } - }, - "type": "object" + } }, - "databricks:index/getClusterClusterInfoExecutor:getClusterClusterInfoExecutor": { + "databricks:index/getAppsAppPendingDeploymentDeploymentArtifacts:getAppsAppPendingDeploymentDeploymentArtifacts": { "properties": { - "hostPrivateIp": { - "type": "string" - }, - "instanceId": { - "type": "string" - }, - "nodeAwsAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoExecutorNodeAwsAttributes:getClusterClusterInfoExecutorNodeAwsAttributes" - }, - "nodeId": { - "type": "string" - }, - "privateIp": { - "type": "string" - }, - "publicDns": { + "sourceCodePath": { "type": "string" - }, - "startTimestamp": { - "type": "integer" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoExecutorNodeAwsAttributes:getClusterClusterInfoExecutorNodeAwsAttributes": { - "properties": { - "isSpot": { - "type": "boolean" } }, "type": "object" }, - "databricks:index/getClusterClusterInfoGcpAttributes:getClusterClusterInfoGcpAttributes": { + "databricks:index/getAppsAppPendingDeploymentStatus:getAppsAppPendingDeploymentStatus": { "properties": { - "availability": { - "type": "string" - }, - "bootDiskSize": { - "type": "integer" - }, - "googleServiceAccount": { - "type": "string" - }, - "localSsdCount": { - "type": "integer" - }, - "usePreemptibleExecutors": { - "type": "boolean" + "message": { + "type": "string", + "description": "Application status message\n" }, - "zoneId": { - "type": "string" + "state": { + "type": "string", + "description": "State of the application.\n" } }, - "type": "object" + "type": "object", + "required": [ + "message", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getClusterClusterInfoInitScript:getClusterClusterInfoInitScript": { + "databricks:index/getAppsAppResource:getAppsAppResource": { "properties": { - "abfss": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptAbfss:getClusterClusterInfoInitScriptAbfss" - }, - "dbfs": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptDbfs:getClusterClusterInfoInitScriptDbfs" + "description": { + "type": "string", + "description": "The description of the resource.\n" }, - "file": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptFile:getClusterClusterInfoInitScriptFile" + "job": { + "$ref": "#/types/databricks:index/getAppsAppResourceJob:getAppsAppResourceJob", + "description": "attribute\n" }, - "gcs": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptGcs:getClusterClusterInfoInitScriptGcs" + "name": { + "type": "string", + "description": "Name of the serving endpoint to grant permission on.\n" }, - "s3": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptS3:getClusterClusterInfoInitScriptS3" + "secret": { + "$ref": "#/types/databricks:index/getAppsAppResourceSecret:getAppsAppResourceSecret", + "description": "attribute\n" }, - "volumes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptVolumes:getClusterClusterInfoInitScriptVolumes" + "servingEndpoint": { + "$ref": "#/types/databricks:index/getAppsAppResourceServingEndpoint:getAppsAppResourceServingEndpoint", + "description": "attribute\n" }, - "workspace": { - "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptWorkspace:getClusterClusterInfoInitScriptWorkspace" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoInitScriptAbfss:getClusterClusterInfoInitScriptAbfss": { - "properties": { - "destination": { - "type": "string" + "sqlWarehouse": { + "$ref": "#/types/databricks:index/getAppsAppResourceSqlWarehouse:getAppsAppResourceSqlWarehouse", + "description": "attribute\n" } }, "type": "object", "required": [ - "destination" - ] - }, - "databricks:index/getClusterClusterInfoInitScriptDbfs:getClusterClusterInfoInitScriptDbfs": { - "properties": { - "destination": { - "type": "string" + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] } - }, - "type": "object", - "required": [ - "destination" - ] + } }, - "databricks:index/getClusterClusterInfoInitScriptFile:getClusterClusterInfoInitScriptFile": { + "databricks:index/getAppsAppResourceJob:getAppsAppResourceJob": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "Id of the job to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" } }, "type": "object", "required": [ - "destination" - ] - }, - "databricks:index/getClusterClusterInfoInitScriptGcs:getClusterClusterInfoInitScriptGcs": { - "properties": { - "destination": { - "type": "string" + "id", + "permission" + ], + "language": { + "nodejs": { + "requiredInputs": [] } - }, - "type": "object", - "required": [ - "destination" - ] + } }, - "databricks:index/getClusterClusterInfoInitScriptS3:getClusterClusterInfoInitScriptS3": { + "databricks:index/getAppsAppResourceSecret:getAppsAppResourceSecret": { "properties": { - "cannedAcl": { - "type": "string" - }, - "destination": { - "type": "string" - }, - "enableEncryption": { - "type": "boolean" - }, - "encryptionType": { - "type": "string" - }, - "endpoint": { - "type": "string" + "key": { + "type": "string", + "description": "Key of the secret to grant permission on.\n" }, - "kmsKey": { - "type": "string" + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" }, - "region": { - "type": "string" + "scope": { + "type": "string", + "description": "Scope of the secret to grant permission on.\n" } }, "type": "object", "required": [ - "destination" - ] + "key", + "permission", + "scope" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getClusterClusterInfoInitScriptVolumes:getClusterClusterInfoInitScriptVolumes": { + "databricks:index/getAppsAppResourceServingEndpoint:getAppsAppResourceServingEndpoint": { "properties": { - "destination": { - "type": "string" + "name": { + "type": "string", + "description": "Name of the serving endpoint to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" } }, "type": "object", "required": [ - "destination" - ] + "name", + "permission" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getClusterClusterInfoInitScriptWorkspace:getClusterClusterInfoInitScriptWorkspace": { + "databricks:index/getAppsAppResourceSqlWarehouse:getAppsAppResourceSqlWarehouse": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "Id of the job to grant permission on.\n" + }, + "permission": { + "type": "string", + "description": "Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`.\n" } }, "type": "object", "required": [ - "destination" - ] + "id", + "permission" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "databricks:index/getClusterClusterInfoSpec:getClusterClusterInfoSpec": { + "databricks:index/getCatalogCatalogInfo:getCatalogCatalogInfo": { "properties": { - "applyPolicyDefaultValues": { + "browseOnly": { "type": "boolean" }, - "autoscale": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAutoscale:getClusterClusterInfoSpecAutoscale" - }, - "awsAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAwsAttributes:getClusterClusterInfoSpecAwsAttributes" - }, - "azureAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAzureAttributes:getClusterClusterInfoSpecAzureAttributes" - }, - "clusterId": { - "type": "string", - "description": "The id of the cluster\n" - }, - "clusterLogConf": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterLogConf:getClusterClusterInfoSpecClusterLogConf" - }, - "clusterMountInfos": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterMountInfo:getClusterClusterInfoSpecClusterMountInfo" - } - }, - "clusterName": { - "type": "string", - "description": "The exact name of the cluster to search\n" - }, - "customTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional tags for cluster resources.\n" - }, - "dataSecurityMode": { + "catalogType": { "type": "string", - "description": "Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled.\n" - }, - "dockerImage": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecDockerImage:getClusterClusterInfoSpecDockerImage" + "description": "Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`,\n" }, - "driverInstancePoolId": { + "comment": { "type": "string", - "description": "similar to `instance_pool_id`, but for driver node.\n" + "description": "Free-form text description\n" }, - "driverNodeTypeId": { + "connectionName": { "type": "string", - "description": "The node type of the Spark driver.\n" - }, - "enableElasticDisk": { - "type": "boolean", - "description": "Use autoscaling local storage.\n" - }, - "enableLocalDiskEncryption": { - "type": "boolean", - "description": "Enable local disk encryption.\n" + "description": "The name of the connection to an external data source.\n" }, - "gcpAttributes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecGcpAttributes:getClusterClusterInfoSpecGcpAttributes" + "createdAt": { + "type": "integer", + "description": "Time at which this catalog was created, in epoch milliseconds.\n" }, - "idempotencyToken": { + "createdBy": { "type": "string", - "description": "An optional token to guarantee the idempotency of cluster creation requests.\n" + "description": "Username of catalog creator.\n" }, - "initScripts": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScript:getClusterClusterInfoSpecInitScript" - } + "effectivePredictiveOptimizationFlag": { + "$ref": "#/types/databricks:index/getCatalogCatalogInfoEffectivePredictiveOptimizationFlag:getCatalogCatalogInfoEffectivePredictiveOptimizationFlag", + "description": "object describing applied predictive optimization flag.\n" }, - "instancePoolId": { + "enablePredictiveOptimization": { "type": "string", - "description": "The pool of idle instances the cluster is attached to.\n" - }, - "libraries": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibrary:getClusterClusterInfoSpecLibrary" - } + "description": "Whether predictive optimization should be enabled for this object and objects under it.\n" }, - "nodeTypeId": { + "fullName": { "type": "string", - "description": "Any supported databricks.getNodeType id.\n" - }, - "numWorkers": { - "type": "integer" + "description": "The full name of the catalog. Corresponds with the name field.\n" }, - "policyId": { + "isolationMode": { "type": "string", - "description": "Identifier of Cluster Policy to validate cluster and preset certain defaults.\n" + "description": "Whether the current securable is accessible from all workspaces or a specific set of workspaces.\n" }, - "runtimeEngine": { + "metastoreId": { "type": "string", - "description": "The type of runtime of the cluster\n" + "description": "Unique identifier of parent metastore.\n" }, - "singleUserName": { + "name": { "type": "string", - "description": "The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).\n" + "description": "name of the catalog\n" }, - "sparkConf": { + "options": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Map with key-value pairs to fine-tune Spark clusters.\n" + "description": "A map of key-value properties attached to the securable.\n" }, - "sparkEnvVars": { + "owner": { + "type": "string", + "description": "Current owner of the catalog\n" + }, + "properties": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers.\n" + "description": "A map of key-value properties attached to the securable.\n" }, - "sparkVersion": { + "providerName": { + "type": "string", + "description": "The name of delta sharing provider.\n" + }, + "provisioningInfo": { + "$ref": "#/types/databricks:index/getCatalogCatalogInfoProvisioningInfo:getCatalogCatalogInfoProvisioningInfo" + }, + "securableKind": { + "type": "string", + "description": "Kind of catalog securable.\n" + }, + "securableType": { + "type": "string", + "description": "Securable type.\n" + }, + "shareName": { + "type": "string", + "description": "The name of the share under the share provider.\n" + }, + "storageLocation": { + "type": "string", + "description": "Storage Location URL (full path) for managed tables within catalog.\n" + }, + "storageRoot": { + "type": "string", + "description": "Storage root URL for managed tables within catalog.\n" + }, + "updatedAt": { + "type": "integer", + "description": "Time at which this catalog was last modified, in epoch milliseconds.\n" + }, + "updatedBy": { + "type": "string", + "description": "Username of user who last modified catalog.\n" + } + }, + "type": "object" + }, + "databricks:index/getCatalogCatalogInfoEffectivePredictiveOptimizationFlag:getCatalogCatalogInfoEffectivePredictiveOptimizationFlag": { + "properties": { + "inheritedFromName": { + "type": "string" + }, + "inheritedFromType": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "databricks:index/getCatalogCatalogInfoProvisioningInfo:getCatalogCatalogInfoProvisioningInfo": { + "properties": { + "state": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfo:getClusterClusterInfo": { + "properties": { + "autoscale": { + "$ref": "#/types/databricks:index/getClusterClusterInfoAutoscale:getClusterClusterInfoAutoscale" + }, + "autoterminationMinutes": { + "type": "integer", + "description": "Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination.\n" + }, + "awsAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoAwsAttributes:getClusterClusterInfoAwsAttributes" + }, + "azureAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoAzureAttributes:getClusterClusterInfoAzureAttributes" + }, + "clusterCores": { + "type": "number" + }, + "clusterId": { + "type": "string", + "description": "The id of the cluster\n" + }, + "clusterLogConf": { + "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogConf:getClusterClusterInfoClusterLogConf" + }, + "clusterLogStatus": { + "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogStatus:getClusterClusterInfoClusterLogStatus" + }, + "clusterMemoryMb": { + "type": "integer" + }, + "clusterName": { + "type": "string", + "description": "The exact name of the cluster to search\n" + }, + "clusterSource": { + "type": "string" + }, + "creatorUserName": { + "type": "string" + }, + "customTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional tags for cluster resources.\n" + }, + "dataSecurityMode": { + "type": "string", + "description": "Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled.\n" + }, + "defaultTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "dockerImage": { + "$ref": "#/types/databricks:index/getClusterClusterInfoDockerImage:getClusterClusterInfoDockerImage" + }, + "driver": { + "$ref": "#/types/databricks:index/getClusterClusterInfoDriver:getClusterClusterInfoDriver" + }, + "driverInstancePoolId": { + "type": "string", + "description": "similar to `instance_pool_id`, but for driver node.\n" + }, + "driverNodeTypeId": { + "type": "string", + "description": "The node type of the Spark driver.\n" + }, + "enableElasticDisk": { + "type": "boolean", + "description": "Use autoscaling local storage.\n" + }, + "enableLocalDiskEncryption": { + "type": "boolean", + "description": "Enable local disk encryption.\n" + }, + "executors": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getClusterClusterInfoExecutor:getClusterClusterInfoExecutor" + } + }, + "gcpAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoGcpAttributes:getClusterClusterInfoGcpAttributes" + }, + "initScripts": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScript:getClusterClusterInfoInitScript" + } + }, + "instancePoolId": { + "type": "string", + "description": "The pool of idle instances the cluster is attached to.\n" + }, + "isSingleNode": { + "type": "boolean" + }, + "jdbcPort": { + "type": "integer" + }, + "kind": { + "type": "string" + }, + "lastRestartedTime": { + "type": "integer" + }, + "lastStateLossTime": { + "type": "integer" + }, + "nodeTypeId": { + "type": "string", + "description": "Any supported databricks.getNodeType id.\n" + }, + "numWorkers": { + "type": "integer" + }, + "policyId": { + "type": "string", + "description": "Identifier of Cluster Policy to validate cluster and preset certain defaults.\n" + }, + "runtimeEngine": { + "type": "string", + "description": "The type of runtime of the cluster\n" + }, + "singleUserName": { + "type": "string", + "description": "The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).\n" + }, + "sparkConf": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map with key-value pairs to fine-tune Spark clusters.\n" + }, + "sparkContextId": { + "type": "integer" + }, + "sparkEnvVars": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers.\n" + }, + "sparkVersion": { "type": "string", "description": "[Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster.\n" }, + "spec": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpec:getClusterClusterInfoSpec" + }, "sshPublicKeys": { "type": "array", "items": { @@ -11022,29 +11816,31 @@ }, "description": "SSH public key contents that will be added to each Spark node in this cluster.\n" }, + "startTime": { + "type": "integer" + }, + "state": { + "type": "string" + }, + "stateMessage": { + "type": "string" + }, + "terminatedTime": { + "type": "integer" + }, + "terminationReason": { + "$ref": "#/types/databricks:index/getClusterClusterInfoTerminationReason:getClusterClusterInfoTerminationReason" + }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecWorkloadType:getClusterClusterInfoSpecWorkloadType" + "$ref": "#/types/databricks:index/getClusterClusterInfoWorkloadType:getClusterClusterInfoWorkloadType" } }, - "type": "object", - "required": [ - "clusterId", - "driverInstancePoolId", - "driverNodeTypeId", - "enableElasticDisk", - "enableLocalDiskEncryption", - "nodeTypeId", - "sparkVersion" - ], - "language": { - "nodejs": { - "requiredInputs": [ - "sparkVersion" - ] - } - } + "type": "object" }, - "databricks:index/getClusterClusterInfoSpecAutoscale:getClusterClusterInfoSpecAutoscale": { + "databricks:index/getClusterClusterInfoAutoscale:getClusterClusterInfoAutoscale": { "properties": { "maxWorkers": { "type": "integer" @@ -11055,7 +11851,7 @@ }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecAwsAttributes:getClusterClusterInfoSpecAwsAttributes": { + "databricks:index/getClusterClusterInfoAwsAttributes:getClusterClusterInfoAwsAttributes": { "properties": { "availability": { "type": "string" @@ -11090,7 +11886,7 @@ }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecAzureAttributes:getClusterClusterInfoSpecAzureAttributes": { + "databricks:index/getClusterClusterInfoAzureAttributes:getClusterClusterInfoAzureAttributes": { "properties": { "availability": { "type": "string" @@ -11099,7 +11895,7 @@ "type": "integer" }, "logAnalyticsInfo": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo:getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo" + "$ref": "#/types/databricks:index/getClusterClusterInfoAzureAttributesLogAnalyticsInfo:getClusterClusterInfoAzureAttributesLogAnalyticsInfo" }, "spotBidMaxPrice": { "type": "number" @@ -11107,7 +11903,7 @@ }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo:getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo": { + "databricks:index/getClusterClusterInfoAzureAttributesLogAnalyticsInfo:getClusterClusterInfoAzureAttributesLogAnalyticsInfo": { "properties": { "logAnalyticsPrimaryKey": { "type": "string" @@ -11118,18 +11914,18 @@ }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecClusterLogConf:getClusterClusterInfoSpecClusterLogConf": { + "databricks:index/getClusterClusterInfoClusterLogConf:getClusterClusterInfoClusterLogConf": { "properties": { "dbfs": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterLogConfDbfs:getClusterClusterInfoSpecClusterLogConfDbfs" + "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogConfDbfs:getClusterClusterInfoClusterLogConfDbfs" }, "s3": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterLogConfS3:getClusterClusterInfoSpecClusterLogConfS3" + "$ref": "#/types/databricks:index/getClusterClusterInfoClusterLogConfS3:getClusterClusterInfoClusterLogConfS3" } }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecClusterLogConfDbfs:getClusterClusterInfoSpecClusterLogConfDbfs": { + "databricks:index/getClusterClusterInfoClusterLogConfDbfs:getClusterClusterInfoClusterLogConfDbfs": { "properties": { "destination": { "type": "string" @@ -11140,7 +11936,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecClusterLogConfS3:getClusterClusterInfoSpecClusterLogConfS3": { + "databricks:index/getClusterClusterInfoClusterLogConfS3:getClusterClusterInfoClusterLogConfS3": { "properties": { "cannedAcl": { "type": "string" @@ -11169,69 +11965,108 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecClusterMountInfo:getClusterClusterInfoSpecClusterMountInfo": { + "databricks:index/getClusterClusterInfoClusterLogStatus:getClusterClusterInfoClusterLogStatus": { "properties": { - "localMountDirPath": { - "type": "string" + "lastAttempted": { + "type": "integer" }, - "networkFilesystemInfo": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo:getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo" + "lastException": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoDockerImage:getClusterClusterInfoDockerImage": { + "properties": { + "basicAuth": { + "$ref": "#/types/databricks:index/getClusterClusterInfoDockerImageBasicAuth:getClusterClusterInfoDockerImageBasicAuth" }, - "remoteMountDirPath": { + "url": { "type": "string" } }, - "type": "object", - "required": [ - "localMountDirPath", - "networkFilesystemInfo" - ] + "type": "object" }, - "databricks:index/getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo:getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo": { + "databricks:index/getClusterClusterInfoDockerImageBasicAuth:getClusterClusterInfoDockerImageBasicAuth": { "properties": { - "mountOptions": { + "password": { "type": "string" }, - "serverAddress": { + "username": { "type": "string" } }, - "type": "object", - "required": [ - "serverAddress" - ] + "type": "object" }, - "databricks:index/getClusterClusterInfoSpecDockerImage:getClusterClusterInfoSpecDockerImage": { + "databricks:index/getClusterClusterInfoDriver:getClusterClusterInfoDriver": { "properties": { - "basicAuth": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecDockerImageBasicAuth:getClusterClusterInfoSpecDockerImageBasicAuth" + "hostPrivateIp": { + "type": "string" }, - "url": { + "instanceId": { + "type": "string" + }, + "nodeAwsAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoDriverNodeAwsAttributes:getClusterClusterInfoDriverNodeAwsAttributes" + }, + "nodeId": { + "type": "string" + }, + "privateIp": { + "type": "string" + }, + "publicDns": { "type": "string" + }, + "startTimestamp": { + "type": "integer" } }, - "type": "object", - "required": [ - "url" - ] + "type": "object" }, - "databricks:index/getClusterClusterInfoSpecDockerImageBasicAuth:getClusterClusterInfoSpecDockerImageBasicAuth": { + "databricks:index/getClusterClusterInfoDriverNodeAwsAttributes:getClusterClusterInfoDriverNodeAwsAttributes": { "properties": { - "password": { - "type": "string", - "secret": true + "isSpot": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoExecutor:getClusterClusterInfoExecutor": { + "properties": { + "hostPrivateIp": { + "type": "string" }, - "username": { + "instanceId": { + "type": "string" + }, + "nodeAwsAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoExecutorNodeAwsAttributes:getClusterClusterInfoExecutorNodeAwsAttributes" + }, + "nodeId": { + "type": "string" + }, + "privateIp": { "type": "string" + }, + "publicDns": { + "type": "string" + }, + "startTimestamp": { + "type": "integer" } }, - "type": "object", - "required": [ - "password", - "username" - ] + "type": "object" }, - "databricks:index/getClusterClusterInfoSpecGcpAttributes:getClusterClusterInfoSpecGcpAttributes": { + "databricks:index/getClusterClusterInfoExecutorNodeAwsAttributes:getClusterClusterInfoExecutorNodeAwsAttributes": { + "properties": { + "isSpot": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoGcpAttributes:getClusterClusterInfoGcpAttributes": { "properties": { "availability": { "type": "string" @@ -11254,34 +12089,33 @@ }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecInitScript:getClusterClusterInfoSpecInitScript": { + "databricks:index/getClusterClusterInfoInitScript:getClusterClusterInfoInitScript": { "properties": { "abfss": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptAbfss:getClusterClusterInfoSpecInitScriptAbfss" + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptAbfss:getClusterClusterInfoInitScriptAbfss" }, "dbfs": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptDbfs:getClusterClusterInfoSpecInitScriptDbfs", - "deprecationMessage": "For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'." + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptDbfs:getClusterClusterInfoInitScriptDbfs" }, "file": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptFile:getClusterClusterInfoSpecInitScriptFile" + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptFile:getClusterClusterInfoInitScriptFile" }, "gcs": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptGcs:getClusterClusterInfoSpecInitScriptGcs" + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptGcs:getClusterClusterInfoInitScriptGcs" }, "s3": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptS3:getClusterClusterInfoSpecInitScriptS3" + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptS3:getClusterClusterInfoInitScriptS3" }, "volumes": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptVolumes:getClusterClusterInfoSpecInitScriptVolumes" + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptVolumes:getClusterClusterInfoInitScriptVolumes" }, "workspace": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptWorkspace:getClusterClusterInfoSpecInitScriptWorkspace" + "$ref": "#/types/databricks:index/getClusterClusterInfoInitScriptWorkspace:getClusterClusterInfoInitScriptWorkspace" } }, "type": "object" }, - "databricks:index/getClusterClusterInfoSpecInitScriptAbfss:getClusterClusterInfoSpecInitScriptAbfss": { + "databricks:index/getClusterClusterInfoInitScriptAbfss:getClusterClusterInfoInitScriptAbfss": { "properties": { "destination": { "type": "string" @@ -11292,7 +12126,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecInitScriptDbfs:getClusterClusterInfoSpecInitScriptDbfs": { + "databricks:index/getClusterClusterInfoInitScriptDbfs:getClusterClusterInfoInitScriptDbfs": { "properties": { "destination": { "type": "string" @@ -11303,7 +12137,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecInitScriptFile:getClusterClusterInfoSpecInitScriptFile": { + "databricks:index/getClusterClusterInfoInitScriptFile:getClusterClusterInfoInitScriptFile": { "properties": { "destination": { "type": "string" @@ -11314,7 +12148,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecInitScriptGcs:getClusterClusterInfoSpecInitScriptGcs": { + "databricks:index/getClusterClusterInfoInitScriptGcs:getClusterClusterInfoInitScriptGcs": { "properties": { "destination": { "type": "string" @@ -11325,7 +12159,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecInitScriptS3:getClusterClusterInfoSpecInitScriptS3": { + "databricks:index/getClusterClusterInfoInitScriptS3:getClusterClusterInfoInitScriptS3": { "properties": { "cannedAcl": { "type": "string" @@ -11354,7 +12188,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecInitScriptVolumes:getClusterClusterInfoSpecInitScriptVolumes": { + "databricks:index/getClusterClusterInfoInitScriptVolumes:getClusterClusterInfoInitScriptVolumes": { "properties": { "destination": { "type": "string" @@ -11365,7 +12199,7 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecInitScriptWorkspace:getClusterClusterInfoSpecInitScriptWorkspace": { + "databricks:index/getClusterClusterInfoInitScriptWorkspace:getClusterClusterInfoInitScriptWorkspace": { "properties": { "destination": { "type": "string" @@ -11376,752 +12210,2558 @@ "destination" ] }, - "databricks:index/getClusterClusterInfoSpecLibrary:getClusterClusterInfoSpecLibrary": { + "databricks:index/getClusterClusterInfoSpec:getClusterClusterInfoSpec": { "properties": { - "cran": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibraryCran:getClusterClusterInfoSpecLibraryCran" - }, - "egg": { - "type": "string" - }, - "jar": { - "type": "string" + "applyPolicyDefaultValues": { + "type": "boolean" }, - "maven": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibraryMaven:getClusterClusterInfoSpecLibraryMaven" + "autoscale": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAutoscale:getClusterClusterInfoSpecAutoscale" }, - "pypi": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibraryPypi:getClusterClusterInfoSpecLibraryPypi" + "awsAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAwsAttributes:getClusterClusterInfoSpecAwsAttributes" }, - "requirements": { - "type": "string" + "azureAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAzureAttributes:getClusterClusterInfoSpecAzureAttributes" }, - "whl": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoSpecLibraryCran:getClusterClusterInfoSpecLibraryCran": { - "properties": { - "package": { - "type": "string" + "clusterId": { + "type": "string", + "description": "The id of the cluster\n" }, - "repo": { - "type": "string" - } - }, - "type": "object", - "required": [ - "package" - ] - }, - "databricks:index/getClusterClusterInfoSpecLibraryMaven:getClusterClusterInfoSpecLibraryMaven": { - "properties": { - "coordinates": { - "type": "string" + "clusterLogConf": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterLogConf:getClusterClusterInfoSpecClusterLogConf" }, - "exclusions": { + "clusterMountInfos": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterMountInfo:getClusterClusterInfoSpecClusterMountInfo" } }, - "repo": { - "type": "string" - } - }, - "type": "object", - "required": [ - "coordinates" - ] - }, - "databricks:index/getClusterClusterInfoSpecLibraryPypi:getClusterClusterInfoSpecLibraryPypi": { - "properties": { - "package": { - "type": "string" + "clusterName": { + "type": "string", + "description": "The exact name of the cluster to search\n" }, - "repo": { - "type": "string" - } - }, - "type": "object", - "required": [ - "package" - ] - }, - "databricks:index/getClusterClusterInfoSpecWorkloadType:getClusterClusterInfoSpecWorkloadType": { - "properties": { - "clients": { - "$ref": "#/types/databricks:index/getClusterClusterInfoSpecWorkloadTypeClients:getClusterClusterInfoSpecWorkloadTypeClients" - } - }, - "type": "object", - "required": [ - "clients" - ] - }, - "databricks:index/getClusterClusterInfoSpecWorkloadTypeClients:getClusterClusterInfoSpecWorkloadTypeClients": { - "properties": { - "jobs": { - "type": "boolean" - }, - "notebooks": { - "type": "boolean" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoTerminationReason:getClusterClusterInfoTerminationReason": { - "properties": { - "code": { - "type": "string" - }, - "parameters": { + "customTags": { "type": "object", "additionalProperties": { "type": "string" - } - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getClusterClusterInfoWorkloadType:getClusterClusterInfoWorkloadType": { - "properties": { - "clients": { - "$ref": "#/types/databricks:index/getClusterClusterInfoWorkloadTypeClients:getClusterClusterInfoWorkloadTypeClients" - } - }, - "type": "object", - "required": [ - "clients" - ] - }, - "databricks:index/getClusterClusterInfoWorkloadTypeClients:getClusterClusterInfoWorkloadTypeClients": { - "properties": { - "jobs": { - "type": "boolean" - }, - "notebooks": { - "type": "boolean" - } - }, - "type": "object" - }, - "databricks:index/getClustersFilterBy:getClustersFilterBy": { - "properties": { - "clusterSources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`.\n" - }, - "clusterStates": { - "type": "array", - "items": { - "type": "string" }, - "description": "List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`.\n" - }, - "isPinned": { - "type": "boolean", - "description": "Whether to filter by pinned clusters.\n" + "description": "Additional tags for cluster resources.\n" }, - "policyId": { + "dataSecurityMode": { "type": "string", - "description": "Filter by databricks.ClusterPolicy id.\n" - } - }, - "type": "object" - }, - "databricks:index/getCurrentMetastoreMetastoreInfo:getCurrentMetastoreMetastoreInfo": { - "properties": { - "cloud": { - "type": "string" + "description": "Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled.\n" }, - "createdAt": { - "type": "integer", - "description": "Timestamp (in milliseconds) when the current metastore was created.\n" + "dockerImage": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecDockerImage:getClusterClusterInfoSpecDockerImage" }, - "createdBy": { + "driverInstancePoolId": { "type": "string", - "description": "the ID of the identity that created the current metastore.\n" + "description": "similar to `instance_pool_id`, but for driver node.\n" }, - "defaultDataAccessConfigId": { + "driverNodeTypeId": { "type": "string", - "description": "the ID of the default data access configuration.\n" + "description": "The node type of the Spark driver.\n" }, - "deltaSharingOrganizationName": { + "enableElasticDisk": { + "type": "boolean", + "description": "Use autoscaling local storage.\n" + }, + "enableLocalDiskEncryption": { + "type": "boolean", + "description": "Enable local disk encryption.\n" + }, + "gcpAttributes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecGcpAttributes:getClusterClusterInfoSpecGcpAttributes" + }, + "idempotencyToken": { "type": "string", - "description": "The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing.\n" + "description": "An optional token to guarantee the idempotency of cluster creation requests.\n" }, - "deltaSharingRecipientTokenLifetimeInSeconds": { - "type": "integer", - "description": "the expiration duration in seconds on recipient data access tokens.\n" + "initScripts": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScript:getClusterClusterInfoSpecInitScript" + } }, - "deltaSharingScope": { + "instancePoolId": { "type": "string", - "description": "Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing.\n" + "description": "The pool of idle instances the cluster is attached to.\n" }, - "externalAccessEnabled": { + "isSingleNode": { "type": "boolean" }, - "globalMetastoreId": { - "type": "string", - "description": "Identifier in form of `\u003ccloud\u003e:\u003cregion\u003e:\u003cmetastore_id\u003e` for use in Databricks to Databricks Delta Sharing.\n" + "kind": { + "type": "string" }, - "metastoreId": { - "type": "string", - "description": "Metastore ID.\n" + "libraries": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibrary:getClusterClusterInfoSpecLibrary" + } }, - "name": { + "nodeTypeId": { "type": "string", - "description": "Name of metastore.\n" + "description": "Any supported databricks.getNodeType id.\n" }, - "owner": { - "type": "string", - "description": "Username/group name/sp application_id of the metastore owner.\n" + "numWorkers": { + "type": "integer" }, - "privilegeModelVersion": { + "policyId": { "type": "string", - "description": "the version of the privilege model used by the metastore.\n" + "description": "Identifier of Cluster Policy to validate cluster and preset certain defaults.\n" }, - "region": { + "runtimeEngine": { "type": "string", - "description": "(Mandatory for account-level) The region of the metastore.\n" + "description": "The type of runtime of the cluster\n" }, - "storageRoot": { + "singleUserName": { "type": "string", - "description": "Path on cloud storage account, where managed `databricks.Table` are stored.\n" + "description": "The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).\n" }, - "storageRootCredentialId": { - "type": "string", - "description": "ID of a storage credential used for the `storage_root`.\n" + "sparkConf": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map with key-value pairs to fine-tune Spark clusters.\n" }, - "storageRootCredentialName": { + "sparkEnvVars": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers.\n" + }, + "sparkVersion": { "type": "string", - "description": "Name of a storage credential used for the `storage_root`.\n" + "description": "[Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster.\n" }, - "updatedAt": { - "type": "integer", - "description": "Timestamp (in milliseconds) when the current metastore was updated.\n" + "sshPublicKeys": { + "type": "array", + "items": { + "type": "string" + }, + "description": "SSH public key contents that will be added to each Spark node in this cluster.\n" }, - "updatedBy": { - "type": "string", - "description": "the ID of the identity that updated the current metastore.\n" + "useMlRuntime": { + "type": "boolean" + }, + "workloadType": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecWorkloadType:getClusterClusterInfoSpecWorkloadType" } }, - "type": "object" + "type": "object", + "required": [ + "clusterId", + "driverInstancePoolId", + "driverNodeTypeId", + "enableElasticDisk", + "enableLocalDiskEncryption", + "nodeTypeId", + "sparkVersion" + ], + "language": { + "nodejs": { + "requiredInputs": [ + "sparkVersion" + ] + } + } }, - "databricks:index/getDbfsFilePathsPathList:getDbfsFilePathsPathList": { + "databricks:index/getClusterClusterInfoSpecAutoscale:getClusterClusterInfoSpecAutoscale": { "properties": { - "fileSize": { + "maxWorkers": { "type": "integer" }, - "path": { - "type": "string", - "description": "Path on DBFS for the file to perform listing\n" + "minWorkers": { + "type": "integer" } }, "type": "object" }, - "databricks:index/getExternalLocationExternalLocationInfo:getExternalLocationExternalLocationInfo": { + "databricks:index/getClusterClusterInfoSpecAwsAttributes:getClusterClusterInfoSpecAwsAttributes": { "properties": { - "accessPoint": { - "type": "string", - "description": "The ARN of the s3 access point to use with the external location (AWS).\n" - }, - "browseOnly": { - "type": "boolean" - }, - "comment": { - "type": "string", - "description": "User-supplied comment.\n" - }, - "createdAt": { - "type": "integer", - "description": "Time at which this catalog was created, in epoch milliseconds.\n" - }, - "createdBy": { - "type": "string", - "description": "Username of catalog creator.\n" + "availability": { + "type": "string" }, - "credentialId": { - "type": "string", - "description": "Unique ID of storage credential.\n" + "ebsVolumeCount": { + "type": "integer" }, - "credentialName": { - "type": "string", - "description": "Name of the databricks.StorageCredential to use with this external location.\n" + "ebsVolumeIops": { + "type": "integer" }, - "encryptionDetails": { - "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfoEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetails", - "description": "The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).\n" + "ebsVolumeSize": { + "type": "integer" }, - "fallback": { - "type": "boolean" + "ebsVolumeThroughput": { + "type": "integer" }, - "isolationMode": { + "ebsVolumeType": { "type": "string" }, - "metastoreId": { - "type": "string", - "description": "Unique identifier of the parent Metastore.\n" + "firstOnDemand": { + "type": "integer" }, - "name": { - "type": "string", - "description": "The name of the external location\n" + "instanceProfileArn": { + "type": "string" }, - "owner": { - "type": "string", - "description": "Username/groupname/sp application_id of the external location owner.\n" + "spotBidPricePercent": { + "type": "integer" }, - "readOnly": { - "type": "boolean", - "description": "Indicates whether the external location is read-only.\n" + "zoneId": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoSpecAzureAttributes:getClusterClusterInfoSpecAzureAttributes": { + "properties": { + "availability": { + "type": "string" }, - "updatedAt": { - "type": "integer", - "description": "Time at which this catalog was last modified, in epoch milliseconds.\n" + "firstOnDemand": { + "type": "integer" }, - "updatedBy": { - "type": "string", - "description": "Username of user who last modified catalog.\n" + "logAnalyticsInfo": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo:getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo" }, - "url": { - "type": "string", - "description": "Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).\n" + "spotBidMaxPrice": { + "type": "number" } }, "type": "object" }, - "databricks:index/getExternalLocationExternalLocationInfoEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetails": { + "databricks:index/getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo:getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo": { "properties": { - "sseEncryptionDetails": { - "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails" + "logAnalyticsPrimaryKey": { + "type": "string" + }, + "logAnalyticsWorkspaceId": { + "type": "string" } }, "type": "object" }, - "databricks:index/getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails": { + "databricks:index/getClusterClusterInfoSpecClusterLogConf:getClusterClusterInfoSpecClusterLogConf": { "properties": { - "algorithm": { - "type": "string" + "dbfs": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterLogConfDbfs:getClusterClusterInfoSpecClusterLogConfDbfs" }, - "awsKmsKeyArn": { - "type": "string" + "s3": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterLogConfS3:getClusterClusterInfoSpecClusterLogConfS3" } }, "type": "object" }, - "databricks:index/getFunctionsFunction:getFunctionsFunction": { + "databricks:index/getClusterClusterInfoSpecClusterLogConfDbfs:getClusterClusterInfoSpecClusterLogConfDbfs": { "properties": { - "browseOnly": { - "type": "boolean", - "description": "Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request.\n" + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecClusterLogConfS3:getClusterClusterInfoSpecClusterLogConfS3": { + "properties": { + "cannedAcl": { + "type": "string" }, - "catalogName": { - "type": "string", - "description": "Name of databricks_catalog.\n" + "destination": { + "type": "string" }, - "comment": { - "type": "string", - "description": "User-provided free-form text description.\n" + "enableEncryption": { + "type": "boolean" }, - "createdAt": { - "type": "integer", - "description": "Time at which this function was created, in epoch milliseconds.\n" + "encryptionType": { + "type": "string" }, - "createdBy": { - "type": "string", - "description": "Username of function creator.\n" + "endpoint": { + "type": "string" }, - "dataType": { - "type": "string", - "description": "Scalar function return data type.\n" + "kmsKey": { + "type": "string" }, - "externalLanguage": { - "type": "string", - "description": "External function language.\n" + "region": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecClusterMountInfo:getClusterClusterInfoSpecClusterMountInfo": { + "properties": { + "localMountDirPath": { + "type": "string" }, - "externalName": { - "type": "string", - "description": "External function name.\n" + "networkFilesystemInfo": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo:getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo" }, - "fullDataType": { - "type": "string", - "description": "Pretty printed function data type.\n" + "remoteMountDirPath": { + "type": "string" + } + }, + "type": "object", + "required": [ + "localMountDirPath", + "networkFilesystemInfo" + ] + }, + "databricks:index/getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo:getClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo": { + "properties": { + "mountOptions": { + "type": "string" }, - "fullName": { - "type": "string", - "description": "Full name of function, in form of catalog_name.schema_name.function__name\n" + "serverAddress": { + "type": "string" + } + }, + "type": "object", + "required": [ + "serverAddress" + ] + }, + "databricks:index/getClusterClusterInfoSpecDockerImage:getClusterClusterInfoSpecDockerImage": { + "properties": { + "basicAuth": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecDockerImageBasicAuth:getClusterClusterInfoSpecDockerImageBasicAuth" }, - "functionId": { + "url": { + "type": "string" + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "databricks:index/getClusterClusterInfoSpecDockerImageBasicAuth:getClusterClusterInfoSpecDockerImageBasicAuth": { + "properties": { + "password": { "type": "string", - "description": "Id of Function, relative to parent schema.\n" - }, - "inputParams": { - "$ref": "#/types/databricks:index/getFunctionsFunctionInputParams:getFunctionsFunctionInputParams", - "description": "object describing input parameters. Consists of the single attribute:\n" - }, - "isDeterministic": { - "type": "boolean", - "description": "Boolean flag specifying whether the function is deterministic.\n" + "secret": true }, - "isNullCall": { - "type": "boolean", - "description": "Boolean flag whether function null call.\n" + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "password", + "username" + ] + }, + "databricks:index/getClusterClusterInfoSpecGcpAttributes:getClusterClusterInfoSpecGcpAttributes": { + "properties": { + "availability": { + "type": "string" }, - "metastoreId": { - "type": "string", - "description": "Unique identifier of parent metastore.\n" + "bootDiskSize": { + "type": "integer" }, - "name": { - "type": "string", - "description": "Name of parameter.\n" + "googleServiceAccount": { + "type": "string" }, - "owner": { - "type": "string", - "description": "Username of current owner of function.\n" + "localSsdCount": { + "type": "integer" }, - "parameterStyle": { - "type": "string", - "description": "Function parameter style. `S` is the value for SQL.\n" + "usePreemptibleExecutors": { + "type": "boolean" }, - "properties": { - "type": "string", - "description": "JSON-serialized key-value pair map, encoded (escaped) as a string.\n" + "zoneId": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoSpecInitScript:getClusterClusterInfoSpecInitScript": { + "properties": { + "abfss": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptAbfss:getClusterClusterInfoSpecInitScriptAbfss" }, - "returnParams": { - "$ref": "#/types/databricks:index/getFunctionsFunctionReturnParams:getFunctionsFunctionReturnParams", - "description": "Table function return parameters. See `input_params` for description.\n" + "dbfs": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptDbfs:getClusterClusterInfoSpecInitScriptDbfs", + "deprecationMessage": "For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'." }, - "routineBody": { - "type": "string", - "description": "Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`.\n" + "file": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptFile:getClusterClusterInfoSpecInitScriptFile" }, - "routineDefinition": { - "type": "string", - "description": "Function body.\n" + "gcs": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptGcs:getClusterClusterInfoSpecInitScriptGcs" }, - "routineDependencies": { - "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependencies:getFunctionsFunctionRoutineDependencies", - "description": "Function dependencies.\n" + "s3": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptS3:getClusterClusterInfoSpecInitScriptS3" }, - "schemaName": { - "type": "string", - "description": "Name of databricks_schema.\n" + "volumes": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptVolumes:getClusterClusterInfoSpecInitScriptVolumes" }, - "securityType": { + "workspace": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecInitScriptWorkspace:getClusterClusterInfoSpecInitScriptWorkspace" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoSpecInitScriptAbfss:getClusterClusterInfoSpecInitScriptAbfss": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecInitScriptDbfs:getClusterClusterInfoSpecInitScriptDbfs": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecInitScriptFile:getClusterClusterInfoSpecInitScriptFile": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecInitScriptGcs:getClusterClusterInfoSpecInitScriptGcs": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecInitScriptS3:getClusterClusterInfoSpecInitScriptS3": { + "properties": { + "cannedAcl": { + "type": "string" + }, + "destination": { + "type": "string" + }, + "enableEncryption": { + "type": "boolean" + }, + "encryptionType": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "kmsKey": { + "type": "string" + }, + "region": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecInitScriptVolumes:getClusterClusterInfoSpecInitScriptVolumes": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecInitScriptWorkspace:getClusterClusterInfoSpecInitScriptWorkspace": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getClusterClusterInfoSpecLibrary:getClusterClusterInfoSpecLibrary": { + "properties": { + "cran": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibraryCran:getClusterClusterInfoSpecLibraryCran" + }, + "egg": { + "type": "string" + }, + "jar": { + "type": "string" + }, + "maven": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibraryMaven:getClusterClusterInfoSpecLibraryMaven" + }, + "pypi": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecLibraryPypi:getClusterClusterInfoSpecLibraryPypi" + }, + "requirements": { + "type": "string" + }, + "whl": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoSpecLibraryCran:getClusterClusterInfoSpecLibraryCran": { + "properties": { + "package": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "type": "object", + "required": [ + "package" + ] + }, + "databricks:index/getClusterClusterInfoSpecLibraryMaven:getClusterClusterInfoSpecLibraryMaven": { + "properties": { + "coordinates": { + "type": "string" + }, + "exclusions": { + "type": "array", + "items": { + "type": "string" + } + }, + "repo": { + "type": "string" + } + }, + "type": "object", + "required": [ + "coordinates" + ] + }, + "databricks:index/getClusterClusterInfoSpecLibraryPypi:getClusterClusterInfoSpecLibraryPypi": { + "properties": { + "package": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "type": "object", + "required": [ + "package" + ] + }, + "databricks:index/getClusterClusterInfoSpecWorkloadType:getClusterClusterInfoSpecWorkloadType": { + "properties": { + "clients": { + "$ref": "#/types/databricks:index/getClusterClusterInfoSpecWorkloadTypeClients:getClusterClusterInfoSpecWorkloadTypeClients" + } + }, + "type": "object", + "required": [ + "clients" + ] + }, + "databricks:index/getClusterClusterInfoSpecWorkloadTypeClients:getClusterClusterInfoSpecWorkloadTypeClients": { + "properties": { + "jobs": { + "type": "boolean" + }, + "notebooks": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoTerminationReason:getClusterClusterInfoTerminationReason": { + "properties": { + "code": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getClusterClusterInfoWorkloadType:getClusterClusterInfoWorkloadType": { + "properties": { + "clients": { + "$ref": "#/types/databricks:index/getClusterClusterInfoWorkloadTypeClients:getClusterClusterInfoWorkloadTypeClients" + } + }, + "type": "object", + "required": [ + "clients" + ] + }, + "databricks:index/getClusterClusterInfoWorkloadTypeClients:getClusterClusterInfoWorkloadTypeClients": { + "properties": { + "jobs": { + "type": "boolean" + }, + "notebooks": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/getClustersFilterBy:getClustersFilterBy": { + "properties": { + "clusterSources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`.\n" + }, + "clusterStates": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`.\n" + }, + "isPinned": { + "type": "boolean", + "description": "Whether to filter by pinned clusters.\n" + }, + "policyId": { "type": "string", - "description": "Function security type. (Enum: `DEFINER`).\n" + "description": "Filter by databricks.ClusterPolicy id.\n" + } + }, + "type": "object" + }, + "databricks:index/getCurrentMetastoreMetastoreInfo:getCurrentMetastoreMetastoreInfo": { + "properties": { + "cloud": { + "type": "string" }, - "specificName": { + "createdAt": { + "type": "integer", + "description": "Timestamp (in milliseconds) when the current metastore was created.\n" + }, + "createdBy": { "type": "string", - "description": "Specific name of the function; Reserved for future use.\n" + "description": "the ID of the identity that created the current metastore.\n" }, - "sqlDataAccess": { + "defaultDataAccessConfigId": { "type": "string", - "description": "Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`).\n" + "description": "the ID of the default data access configuration.\n" }, - "sqlPath": { + "deltaSharingOrganizationName": { "type": "string", - "description": "List of schemes whose objects can be referenced without qualification.\n" + "description": "The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing.\n" + }, + "deltaSharingRecipientTokenLifetimeInSeconds": { + "type": "integer", + "description": "the expiration duration in seconds on recipient data access tokens.\n" + }, + "deltaSharingScope": { + "type": "string", + "description": "Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing.\n" + }, + "externalAccessEnabled": { + "type": "boolean" + }, + "globalMetastoreId": { + "type": "string", + "description": "Identifier in form of `\u003ccloud\u003e:\u003cregion\u003e:\u003cmetastore_id\u003e` for use in Databricks to Databricks Delta Sharing.\n" + }, + "metastoreId": { + "type": "string", + "description": "Metastore ID.\n" + }, + "name": { + "type": "string", + "description": "Name of metastore.\n" + }, + "owner": { + "type": "string", + "description": "Username/group name/sp application_id of the metastore owner.\n" + }, + "privilegeModelVersion": { + "type": "string", + "description": "the version of the privilege model used by the metastore.\n" + }, + "region": { + "type": "string", + "description": "(Mandatory for account-level) The region of the metastore.\n" + }, + "storageRoot": { + "type": "string", + "description": "Path on cloud storage account, where managed `databricks.Table` are stored.\n" + }, + "storageRootCredentialId": { + "type": "string", + "description": "ID of a storage credential used for the `storage_root`.\n" + }, + "storageRootCredentialName": { + "type": "string", + "description": "Name of a storage credential used for the `storage_root`.\n" }, "updatedAt": { "type": "integer", - "description": "Time at which this function was created, in epoch milliseconds.\n" + "description": "Timestamp (in milliseconds) when the current metastore was updated.\n" }, "updatedBy": { "type": "string", - "description": "Username of user who last modified function.\n" + "description": "the ID of the identity that updated the current metastore.\n" } }, "type": "object" }, - "databricks:index/getFunctionsFunctionInputParams:getFunctionsFunctionInputParams": { + "databricks:index/getDbfsFilePathsPathList:getDbfsFilePathsPathList": { "properties": { - "parameters": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getFunctionsFunctionInputParamsParameter:getFunctionsFunctionInputParamsParameter" - }, - "description": "The array of definitions of the function's parameters:\n" + "fileSize": { + "type": "integer" + }, + "path": { + "type": "string", + "description": "Path on DBFS for the file to perform listing\n" } }, "type": "object" }, - "databricks:index/getFunctionsFunctionInputParamsParameter:getFunctionsFunctionInputParamsParameter": { + "databricks:index/getExternalLocationExternalLocationInfo:getExternalLocationExternalLocationInfo": { "properties": { - "comment": { + "accessPoint": { "type": "string", - "description": "User-provided free-form text description.\n" + "description": "The ARN of the s3 access point to use with the external location (AWS).\n" }, - "name": { + "browseOnly": { + "type": "boolean" + }, + "comment": { "type": "string", - "description": "Name of parameter.\n" + "description": "User-supplied comment.\n" }, - "parameterDefault": { + "createdAt": { + "type": "integer", + "description": "Time at which this catalog was created, in epoch milliseconds.\n" + }, + "createdBy": { "type": "string", - "description": "Default value of the parameter.\n" + "description": "Username of catalog creator.\n" }, - "parameterMode": { + "credentialId": { "type": "string", - "description": "The mode of the function parameter.\n" + "description": "Unique ID of storage credential.\n" }, - "parameterType": { + "credentialName": { "type": "string", - "description": "The type of function parameter (`PARAM` or `COLUMN`).\n" + "description": "Name of the databricks.StorageCredential to use with this external location.\n" }, - "position": { - "type": "integer", - "description": "Ordinal position of column (starting at position 0).\n" + "encryptionDetails": { + "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfoEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetails", + "description": "The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).\n" }, - "typeIntervalType": { + "fallback": { + "type": "boolean" + }, + "isolationMode": { + "type": "string" + }, + "metastoreId": { "type": "string", - "description": "Format of IntervalType.\n" + "description": "Unique identifier of the parent Metastore.\n" }, - "typeJson": { + "name": { "type": "string", - "description": "Full data type spec, JSON-serialized.\n" + "description": "The name of the external location\n" }, - "typeName": { + "owner": { "type": "string", - "description": "Name of type (INT, STRUCT, MAP, etc.).\n" + "description": "Username/groupname/sp application_id of the external location owner.\n" }, - "typePrecision": { - "type": "integer", - "description": "Digits of precision; required on Create for DecimalTypes.\n" + "readOnly": { + "type": "boolean", + "description": "Indicates whether the external location is read-only.\n" }, - "typeScale": { + "updatedAt": { "type": "integer", - "description": "Digits to right of decimal; Required on Create for DecimalTypes.\n" + "description": "Time at which this catalog was last modified, in epoch milliseconds.\n" }, - "typeText": { + "updatedBy": { "type": "string", - "description": "Full data type spec, SQL/catalogString text.\n" + "description": "Username of user who last modified catalog.\n" + }, + "url": { + "type": "string", + "description": "Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).\n" } }, - "type": "object", - "required": [ - "name", - "position", - "typeName", - "typeText" - ] + "type": "object" }, - "databricks:index/getFunctionsFunctionReturnParams:getFunctionsFunctionReturnParams": { + "databricks:index/getExternalLocationExternalLocationInfoEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetails": { "properties": { - "parameters": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getFunctionsFunctionReturnParamsParameter:getFunctionsFunctionReturnParamsParameter" - }, - "description": "The array of definitions of the function's parameters:\n" + "sseEncryptionDetails": { + "$ref": "#/types/databricks:index/getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails" + } + }, + "type": "object" + }, + "databricks:index/getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails:getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails": { + "properties": { + "algorithm": { + "type": "string" + }, + "awsKmsKeyArn": { + "type": "string" } }, "type": "object" }, - "databricks:index/getFunctionsFunctionReturnParamsParameter:getFunctionsFunctionReturnParamsParameter": { + "databricks:index/getFunctionsFunction:getFunctionsFunction": { "properties": { + "browseOnly": { + "type": "boolean", + "description": "Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request.\n" + }, + "catalogName": { + "type": "string", + "description": "Name of databricks_catalog.\n" + }, "comment": { "type": "string", "description": "User-provided free-form text description.\n" }, - "name": { - "type": "string", - "description": "Name of parameter.\n" + "createdAt": { + "type": "integer", + "description": "Time at which this function was created, in epoch milliseconds.\n" }, - "parameterDefault": { + "createdBy": { "type": "string", - "description": "Default value of the parameter.\n" + "description": "Username of function creator.\n" }, - "parameterMode": { + "dataType": { "type": "string", - "description": "The mode of the function parameter.\n" + "description": "Scalar function return data type.\n" }, - "parameterType": { + "externalLanguage": { "type": "string", - "description": "The type of function parameter (`PARAM` or `COLUMN`).\n" + "description": "External function language.\n" }, - "position": { - "type": "integer", - "description": "Ordinal position of column (starting at position 0).\n" + "externalName": { + "type": "string", + "description": "External function name.\n" }, - "typeIntervalType": { + "fullDataType": { "type": "string", - "description": "Format of IntervalType.\n" + "description": "Pretty printed function data type.\n" }, - "typeJson": { + "fullName": { "type": "string", - "description": "Full data type spec, JSON-serialized.\n" + "description": "Full name of function, in form of catalog_name.schema_name.function__name\n" }, - "typeName": { + "functionId": { "type": "string", - "description": "Name of type (INT, STRUCT, MAP, etc.).\n" + "description": "Id of Function, relative to parent schema.\n" }, - "typePrecision": { - "type": "integer", - "description": "Digits of precision; required on Create for DecimalTypes.\n" + "inputParams": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionInputParam:getFunctionsFunctionInputParam" + }, + "description": "object describing input parameters. Consists of the single attribute:\n" }, - "typeScale": { - "type": "integer", - "description": "Digits to right of decimal; Required on Create for DecimalTypes.\n" + "isDeterministic": { + "type": "boolean", + "description": "Boolean flag specifying whether the function is deterministic.\n" }, - "typeText": { + "isNullCall": { + "type": "boolean", + "description": "Boolean flag whether function null call.\n" + }, + "metastoreId": { "type": "string", - "description": "Full data type spec, SQL/catalogString text.\n" + "description": "Unique identifier of parent metastore.\n" + }, + "name": { + "type": "string", + "description": "Name of parameter.\n" + }, + "owner": { + "type": "string", + "description": "Username of current owner of function.\n" + }, + "parameterStyle": { + "type": "string", + "description": "Function parameter style. `S` is the value for SQL.\n" + }, + "properties": { + "type": "string", + "description": "JSON-serialized key-value pair map, encoded (escaped) as a string.\n" + }, + "returnParams": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionReturnParam:getFunctionsFunctionReturnParam" + }, + "description": "Table function return parameters. See `input_params` for description.\n" + }, + "routineBody": { + "type": "string", + "description": "Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`.\n" + }, + "routineDefinition": { + "type": "string", + "description": "Function body.\n" + }, + "routineDependencies": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependency:getFunctionsFunctionRoutineDependency" + }, + "description": "Function dependencies.\n" + }, + "schemaName": { + "type": "string", + "description": "Name of databricks_schema.\n" + }, + "securityType": { + "type": "string", + "description": "Function security type. (Enum: `DEFINER`).\n" + }, + "specificName": { + "type": "string", + "description": "Specific name of the function; Reserved for future use.\n" + }, + "sqlDataAccess": { + "type": "string", + "description": "Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`).\n" + }, + "sqlPath": { + "type": "string", + "description": "List of schemes whose objects can be referenced without qualification.\n" + }, + "updatedAt": { + "type": "integer", + "description": "Time at which this function was created, in epoch milliseconds.\n" + }, + "updatedBy": { + "type": "string", + "description": "Username of user who last modified function.\n" + } + }, + "type": "object" + }, + "databricks:index/getFunctionsFunctionInputParam:getFunctionsFunctionInputParam": { + "properties": { + "parameters": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionInputParamParameter:getFunctionsFunctionInputParamParameter" + }, + "description": "The array of definitions of the function's parameters:\n" + } + }, + "type": "object" + }, + "databricks:index/getFunctionsFunctionInputParamParameter:getFunctionsFunctionInputParamParameter": { + "properties": { + "comment": { + "type": "string", + "description": "User-provided free-form text description.\n" + }, + "name": { + "type": "string", + "description": "Name of parameter.\n" + }, + "parameterDefault": { + "type": "string", + "description": "Default value of the parameter.\n" + }, + "parameterMode": { + "type": "string", + "description": "The mode of the function parameter.\n" + }, + "parameterType": { + "type": "string", + "description": "The type of function parameter (`PARAM` or `COLUMN`).\n" + }, + "position": { + "type": "integer", + "description": "Ordinal position of column (starting at position 0).\n" + }, + "typeIntervalType": { + "type": "string", + "description": "Format of IntervalType.\n" + }, + "typeJson": { + "type": "string", + "description": "Full data type spec, JSON-serialized.\n" + }, + "typeName": { + "type": "string", + "description": "Name of type (INT, STRUCT, MAP, etc.).\n" + }, + "typePrecision": { + "type": "integer", + "description": "Digits of precision; required on Create for DecimalTypes.\n" + }, + "typeScale": { + "type": "integer", + "description": "Digits to right of decimal; Required on Create for DecimalTypes.\n" + }, + "typeText": { + "type": "string", + "description": "Full data type spec, SQL/catalogString text.\n" + } + }, + "type": "object", + "required": [ + "name", + "position", + "typeName", + "typeText" + ] + }, + "databricks:index/getFunctionsFunctionReturnParam:getFunctionsFunctionReturnParam": { + "properties": { + "parameters": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionReturnParamParameter:getFunctionsFunctionReturnParamParameter" + }, + "description": "The array of definitions of the function's parameters:\n" + } + }, + "type": "object" + }, + "databricks:index/getFunctionsFunctionReturnParamParameter:getFunctionsFunctionReturnParamParameter": { + "properties": { + "comment": { + "type": "string", + "description": "User-provided free-form text description.\n" + }, + "name": { + "type": "string", + "description": "Name of parameter.\n" + }, + "parameterDefault": { + "type": "string", + "description": "Default value of the parameter.\n" + }, + "parameterMode": { + "type": "string", + "description": "The mode of the function parameter.\n" + }, + "parameterType": { + "type": "string", + "description": "The type of function parameter (`PARAM` or `COLUMN`).\n" + }, + "position": { + "type": "integer", + "description": "Ordinal position of column (starting at position 0).\n" + }, + "typeIntervalType": { + "type": "string", + "description": "Format of IntervalType.\n" + }, + "typeJson": { + "type": "string", + "description": "Full data type spec, JSON-serialized.\n" + }, + "typeName": { + "type": "string", + "description": "Name of type (INT, STRUCT, MAP, etc.).\n" + }, + "typePrecision": { + "type": "integer", + "description": "Digits of precision; required on Create for DecimalTypes.\n" + }, + "typeScale": { + "type": "integer", + "description": "Digits to right of decimal; Required on Create for DecimalTypes.\n" + }, + "typeText": { + "type": "string", + "description": "Full data type spec, SQL/catalogString text.\n" + } + }, + "type": "object", + "required": [ + "name", + "position", + "typeName", + "typeText" + ] + }, + "databricks:index/getFunctionsFunctionRoutineDependency:getFunctionsFunctionRoutineDependency": { + "properties": { + "dependencies": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependencyDependency:getFunctionsFunctionRoutineDependencyDependency" + } + } + }, + "type": "object" + }, + "databricks:index/getFunctionsFunctionRoutineDependencyDependency:getFunctionsFunctionRoutineDependencyDependency": { + "properties": { + "functions": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependencyDependencyFunction:getFunctionsFunctionRoutineDependencyDependencyFunction" + } + }, + "tables": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependencyDependencyTable:getFunctionsFunctionRoutineDependencyDependencyTable" + } + } + }, + "type": "object" + }, + "databricks:index/getFunctionsFunctionRoutineDependencyDependencyFunction:getFunctionsFunctionRoutineDependencyDependencyFunction": { + "properties": { + "functionFullName": { + "type": "string" + } + }, + "type": "object", + "required": [ + "functionFullName" + ] + }, + "databricks:index/getFunctionsFunctionRoutineDependencyDependencyTable:getFunctionsFunctionRoutineDependencyDependencyTable": { + "properties": { + "tableFullName": { + "type": "string" + } + }, + "type": "object", + "required": [ + "tableFullName" + ] + }, + "databricks:index/getInstancePoolPoolInfo:getInstancePoolPoolInfo": { + "properties": { + "awsAttributes": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoAwsAttributes:getInstancePoolPoolInfoAwsAttributes" + }, + "azureAttributes": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoAzureAttributes:getInstancePoolPoolInfoAzureAttributes" + }, + "customTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "defaultTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "diskSpec": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoDiskSpec:getInstancePoolPoolInfoDiskSpec" + }, + "enableElasticDisk": { + "type": "boolean" + }, + "gcpAttributes": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoGcpAttributes:getInstancePoolPoolInfoGcpAttributes" + }, + "idleInstanceAutoterminationMinutes": { + "type": "integer" + }, + "instancePoolFleetAttributes": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttribute:getInstancePoolPoolInfoInstancePoolFleetAttribute" + } + }, + "instancePoolId": { + "type": "string" + }, + "instancePoolName": { + "type": "string" + }, + "maxCapacity": { + "type": "integer" + }, + "minIdleInstances": { + "type": "integer" + }, + "nodeTypeId": { + "type": "string" + }, + "preloadedDockerImages": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoPreloadedDockerImage:getInstancePoolPoolInfoPreloadedDockerImage" + } + }, + "preloadedSparkVersions": { + "type": "array", + "items": { + "type": "string" + } + }, + "state": { + "type": "string" + }, + "stats": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoStats:getInstancePoolPoolInfoStats" + } + }, + "type": "object", + "required": [ + "defaultTags", + "idleInstanceAutoterminationMinutes", + "instancePoolId", + "instancePoolName" + ], + "language": { + "nodejs": { + "requiredInputs": [ + "idleInstanceAutoterminationMinutes", + "instancePoolName" + ] + } + } + }, + "databricks:index/getInstancePoolPoolInfoAwsAttributes:getInstancePoolPoolInfoAwsAttributes": { + "properties": { + "availability": { + "type": "string" + }, + "spotBidPricePercent": { + "type": "integer" + }, + "zoneId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "zoneId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getInstancePoolPoolInfoAzureAttributes:getInstancePoolPoolInfoAzureAttributes": { + "properties": { + "availability": { + "type": "string" + }, + "spotBidMaxPrice": { + "type": "number" + } + }, + "type": "object" + }, + "databricks:index/getInstancePoolPoolInfoDiskSpec:getInstancePoolPoolInfoDiskSpec": { + "properties": { + "diskCount": { + "type": "integer" + }, + "diskSize": { + "type": "integer" + }, + "diskType": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoDiskSpecDiskType:getInstancePoolPoolInfoDiskSpecDiskType" + } + }, + "type": "object" + }, + "databricks:index/getInstancePoolPoolInfoDiskSpecDiskType:getInstancePoolPoolInfoDiskSpecDiskType": { + "properties": { + "azureDiskVolumeType": { + "type": "string" + }, + "ebsVolumeType": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getInstancePoolPoolInfoGcpAttributes:getInstancePoolPoolInfoGcpAttributes": { + "properties": { + "gcpAvailability": { + "type": "string" + }, + "localSsdCount": { + "type": "integer" + }, + "zoneId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "localSsdCount", + "zoneId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttribute:getInstancePoolPoolInfoInstancePoolFleetAttribute": { + "properties": { + "fleetOnDemandOption": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption" + }, + "fleetSpotOption": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption" + }, + "launchTemplateOverrides": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride:getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride" + } + } + }, + "type": "object", + "required": [ + "launchTemplateOverrides" + ] + }, + "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption": { + "properties": { + "allocationStrategy": { + "type": "string" + }, + "instancePoolsToUseCount": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "allocationStrategy" + ] + }, + "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption": { + "properties": { + "allocationStrategy": { + "type": "string" + }, + "instancePoolsToUseCount": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "allocationStrategy" + ] + }, + "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride:getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride": { + "properties": { + "availabilityZone": { + "type": "string" + }, + "instanceType": { + "type": "string" + } + }, + "type": "object", + "required": [ + "availabilityZone", + "instanceType" + ] + }, + "databricks:index/getInstancePoolPoolInfoPreloadedDockerImage:getInstancePoolPoolInfoPreloadedDockerImage": { + "properties": { + "basicAuth": { + "$ref": "#/types/databricks:index/getInstancePoolPoolInfoPreloadedDockerImageBasicAuth:getInstancePoolPoolInfoPreloadedDockerImageBasicAuth" + }, + "url": { + "type": "string" + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "databricks:index/getInstancePoolPoolInfoPreloadedDockerImageBasicAuth:getInstancePoolPoolInfoPreloadedDockerImageBasicAuth": { + "properties": { + "password": { + "type": "string", + "secret": true + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "password", + "username" + ] + }, + "databricks:index/getInstancePoolPoolInfoStats:getInstancePoolPoolInfoStats": { + "properties": { + "idleCount": { + "type": "integer" + }, + "pendingIdleCount": { + "type": "integer" + }, + "pendingUsedCount": { + "type": "integer" + }, + "usedCount": { + "type": "integer" + } + }, + "type": "object" + }, + "databricks:index/getInstanceProfilesInstanceProfile:getInstanceProfilesInstanceProfile": { + "properties": { + "arn": { + "type": "string", + "description": "ARN of the instance profile.\n" + }, + "isMeta": { + "type": "boolean", + "description": "Whether the instance profile is a meta instance profile or not.\n" + }, + "name": { + "type": "string", + "description": "Name of the instance profile.\n" + }, + "roleArn": { + "type": "string", + "description": "ARN of the role attached to the instance profile.\n" + } + }, + "type": "object", + "required": [ + "arn", + "isMeta", + "name", + "roleArn" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getJobJobSettings:getJobJobSettings": { + "properties": { + "createdTime": { + "type": "integer" + }, + "creatorUserName": { + "type": "string" + }, + "jobId": { + "type": "integer" + }, + "runAsUserName": { + "type": "string" + }, + "settings": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettings:getJobJobSettingsSettings" + } + }, + "type": "object", + "required": [ + "runAsUserName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getJobJobSettingsSettings:getJobJobSettingsSettings": { + "properties": { + "continuous": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsContinuous:getJobJobSettingsSettingsContinuous" + }, + "dbtTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsDbtTask:getJobJobSettingsSettingsDbtTask" + }, + "deployment": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsDeployment:getJobJobSettingsSettingsDeployment" + }, + "description": { + "type": "string" + }, + "editMode": { + "type": "string" + }, + "emailNotifications": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsEmailNotifications:getJobJobSettingsSettingsEmailNotifications" + }, + "environments": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsEnvironment:getJobJobSettingsSettingsEnvironment" + } + }, + "existingClusterId": { + "type": "string" + }, + "format": { + "type": "string" + }, + "gitSource": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsGitSource:getJobJobSettingsSettingsGitSource" + }, + "health": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsHealth:getJobJobSettingsSettingsHealth" + }, + "jobClusters": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobCluster:getJobJobSettingsSettingsJobCluster" + } + }, + "libraries": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibrary:getJobJobSettingsSettingsLibrary" + } + }, + "maxConcurrentRuns": { + "type": "integer" + }, + "maxRetries": { + "type": "integer" + }, + "minRetryIntervalMillis": { + "type": "integer" + }, + "name": { + "type": "string", + "description": "the job name of databricks.Job if the resource was matched by id.\n" + }, + "newCluster": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewCluster:getJobJobSettingsSettingsNewCluster" + }, + "notebookTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNotebookTask:getJobJobSettingsSettingsNotebookTask" + }, + "notificationSettings": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNotificationSettings:getJobJobSettingsSettingsNotificationSettings" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsParameter:getJobJobSettingsSettingsParameter" + } + }, + "pipelineTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsPipelineTask:getJobJobSettingsSettingsPipelineTask" + }, + "pythonWheelTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsPythonWheelTask:getJobJobSettingsSettingsPythonWheelTask" + }, + "queue": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsQueue:getJobJobSettingsSettingsQueue" + }, + "retryOnTimeout": { + "type": "boolean" + }, + "runAs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsRunAs:getJobJobSettingsSettingsRunAs" + }, + "runJobTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsRunJobTask:getJobJobSettingsSettingsRunJobTask" + }, + "schedule": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSchedule:getJobJobSettingsSettingsSchedule" + }, + "sparkJarTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSparkJarTask:getJobJobSettingsSettingsSparkJarTask" + }, + "sparkPythonTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSparkPythonTask:getJobJobSettingsSettingsSparkPythonTask" + }, + "sparkSubmitTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSparkSubmitTask:getJobJobSettingsSettingsSparkSubmitTask" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tasks": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTask:getJobJobSettingsSettingsTask" + } + }, + "timeoutSeconds": { + "type": "integer" + }, + "trigger": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTrigger:getJobJobSettingsSettingsTrigger" + }, + "webhookNotifications": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotifications:getJobJobSettingsSettingsWebhookNotifications" + } + }, + "type": "object", + "required": [ + "format", + "runAs" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "databricks:index/getJobJobSettingsSettingsContinuous:getJobJobSettingsSettingsContinuous": { + "properties": { + "pauseStatus": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsDbtTask:getJobJobSettingsSettingsDbtTask": { + "properties": { + "catalog": { + "type": "string" + }, + "commands": { + "type": "array", + "items": { + "type": "string" + } + }, + "profilesDirectory": { + "type": "string" + }, + "projectDirectory": { + "type": "string" + }, + "schema": { + "type": "string" + }, + "source": { + "type": "string" + }, + "warehouseId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "commands" + ] + }, + "databricks:index/getJobJobSettingsSettingsDeployment:getJobJobSettingsSettingsDeployment": { + "properties": { + "kind": { + "type": "string" + }, + "metadataFilePath": { + "type": "string" + } + }, + "type": "object", + "required": [ + "kind" + ] + }, + "databricks:index/getJobJobSettingsSettingsEmailNotifications:getJobJobSettingsSettingsEmailNotifications": { + "properties": { + "noAlertForSkippedRuns": { + "type": "boolean" + }, + "onDurationWarningThresholdExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onFailures": { + "type": "array", + "items": { + "type": "string" + } + }, + "onStarts": { + "type": "array", + "items": { + "type": "string" + } + }, + "onStreamingBacklogExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onSuccesses": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsEnvironment:getJobJobSettingsSettingsEnvironment": { + "properties": { + "environmentKey": { + "type": "string" + }, + "spec": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsEnvironmentSpec:getJobJobSettingsSettingsEnvironmentSpec" + } + }, + "type": "object", + "required": [ + "environmentKey" + ] + }, + "databricks:index/getJobJobSettingsSettingsEnvironmentSpec:getJobJobSettingsSettingsEnvironmentSpec": { + "properties": { + "client": { + "type": "string" + }, + "dependencies": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "client" + ] + }, + "databricks:index/getJobJobSettingsSettingsGitSource:getJobJobSettingsSettingsGitSource": { + "properties": { + "branch": { + "type": "string" + }, + "commit": { + "type": "string" + }, + "jobSource": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsGitSourceJobSource:getJobJobSettingsSettingsGitSourceJobSource" + }, + "provider": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "databricks:index/getJobJobSettingsSettingsGitSourceJobSource:getJobJobSettingsSettingsGitSourceJobSource": { + "properties": { + "dirtyState": { + "type": "string" + }, + "importFromGitBranch": { + "type": "string" + }, + "jobConfigPath": { + "type": "string" + } + }, + "type": "object", + "required": [ + "importFromGitBranch", + "jobConfigPath" + ] + }, + "databricks:index/getJobJobSettingsSettingsHealth:getJobJobSettingsSettingsHealth": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsHealthRule:getJobJobSettingsSettingsHealthRule" + } + } + }, + "type": "object", + "required": [ + "rules" + ] + }, + "databricks:index/getJobJobSettingsSettingsHealthRule:getJobJobSettingsSettingsHealthRule": { + "properties": { + "metric": { + "type": "string" + }, + "op": { + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "metric", + "op", + "value" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobCluster:getJobJobSettingsSettingsJobCluster": { + "properties": { + "jobClusterKey": { + "type": "string" + }, + "newCluster": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewCluster:getJobJobSettingsSettingsJobClusterNewCluster" + } + }, + "type": "object", + "required": [ + "jobClusterKey", + "newCluster" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewCluster:getJobJobSettingsSettingsJobClusterNewCluster": { + "properties": { + "applyPolicyDefaultValues": { + "type": "boolean" + }, + "autoscale": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAutoscale:getJobJobSettingsSettingsJobClusterNewClusterAutoscale" + }, + "autoterminationMinutes": { + "type": "integer" + }, + "awsAttributes": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes:getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes" + }, + "azureAttributes": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes:getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes" + }, + "clusterId": { + "type": "string" + }, + "clusterLogConf": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf" + }, + "clusterMountInfos": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo" + } + }, + "clusterName": { + "type": "string" + }, + "customTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "dataSecurityMode": { + "type": "string" + }, + "dockerImage": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImage:getJobJobSettingsSettingsJobClusterNewClusterDockerImage" + }, + "driverInstancePoolId": { + "type": "string" + }, + "driverNodeTypeId": { + "type": "string" + }, + "enableElasticDisk": { + "type": "boolean" + }, + "enableLocalDiskEncryption": { + "type": "boolean" + }, + "gcpAttributes": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes:getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes" + }, + "idempotencyToken": { + "type": "string" + }, + "initScripts": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScript:getJobJobSettingsSettingsJobClusterNewClusterInitScript" + } + }, + "instancePoolId": { + "type": "string" + }, + "nodeTypeId": { + "type": "string" + }, + "numWorkers": { + "type": "integer" + }, + "policyId": { + "type": "string" + }, + "runtimeEngine": { + "type": "string" + }, + "singleUserName": { + "type": "string" + }, + "sparkConf": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sparkEnvVars": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sparkVersion": { + "type": "string" + }, + "sshPublicKeys": { + "type": "array", + "items": { + "type": "string" + } + }, + "workloadType": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadType:getJobJobSettingsSettingsJobClusterNewClusterWorkloadType" + } + }, + "type": "object", + "required": [ + "driverInstancePoolId", + "driverNodeTypeId", + "enableElasticDisk", + "enableLocalDiskEncryption", + "nodeTypeId", + "numWorkers", + "sparkVersion" + ], + "language": { + "nodejs": { + "requiredInputs": [ + "numWorkers", + "sparkVersion" + ] + } + } + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAutoscale:getJobJobSettingsSettingsJobClusterNewClusterAutoscale": { + "properties": { + "maxWorkers": { + "type": "integer" + }, + "minWorkers": { + "type": "integer" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes:getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes": { + "properties": { + "availability": { + "type": "string" + }, + "ebsVolumeCount": { + "type": "integer" + }, + "ebsVolumeSize": { + "type": "integer" + }, + "ebsVolumeType": { + "type": "string" + }, + "firstOnDemand": { + "type": "integer" + }, + "instanceProfileArn": { + "type": "string" + }, + "spotBidPricePercent": { + "type": "integer" + }, + "zoneId": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes:getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes": { + "properties": { + "availability": { + "type": "string" + }, + "firstOnDemand": { + "type": "integer" + }, + "spotBidMaxPrice": { + "type": "number" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf": { + "properties": { + "dbfs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs" + }, + "s3": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3": { + "properties": { + "cannedAcl": { + "type": "string" + }, + "destination": { + "type": "string" + }, + "enableEncryption": { + "type": "boolean" + }, + "encryptionType": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "kmsKey": { + "type": "string" + }, + "region": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo": { + "properties": { + "localMountDirPath": { + "type": "string" + }, + "networkFilesystemInfo": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo" + }, + "remoteMountDirPath": { + "type": "string" + } + }, + "type": "object", + "required": [ + "localMountDirPath", + "networkFilesystemInfo" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo": { + "properties": { + "mountOptions": { + "type": "string" + }, + "serverAddress": { + "type": "string" + } + }, + "type": "object", + "required": [ + "serverAddress" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImage:getJobJobSettingsSettingsJobClusterNewClusterDockerImage": { + "properties": { + "basicAuth": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth" + }, + "url": { + "type": "string" + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth": { + "properties": { + "password": { + "type": "string", + "secret": true + }, + "username": { + "type": "string" + } + }, + "type": "object", + "required": [ + "password", + "username" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes:getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes": { + "properties": { + "availability": { + "type": "string" + }, + "bootDiskSize": { + "type": "integer" + }, + "googleServiceAccount": { + "type": "string" + }, + "localSsdCount": { + "type": "integer" + }, + "usePreemptibleExecutors": { + "type": "boolean" + }, + "zoneId": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScript:getJobJobSettingsSettingsJobClusterNewClusterInitScript": { + "properties": { + "abfss": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss:getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss" + }, + "dbfs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs" + }, + "file": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile:getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile" + }, + "gcs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs" + }, + "s3": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3:getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3" + }, + "volumes": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes:getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes" + }, + "workspace": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace:getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss:getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile:getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3:getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3": { + "properties": { + "cannedAcl": { + "type": "string" + }, + "destination": { + "type": "string" + }, + "enableEncryption": { + "type": "boolean" + }, + "encryptionType": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "kmsKey": { + "type": "string" + }, + "region": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes:getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace:getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace": { + "properties": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadType:getJobJobSettingsSettingsJobClusterNewClusterWorkloadType": { + "properties": { + "clients": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients:getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients" } }, "type": "object", "required": [ - "name", - "position", - "typeName", - "typeText" + "clients" ] }, - "databricks:index/getFunctionsFunctionRoutineDependencies:getFunctionsFunctionRoutineDependencies": { + "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients:getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients": { "properties": { - "dependencies": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependenciesDependency:getFunctionsFunctionRoutineDependenciesDependency" - } + "jobs": { + "type": "boolean" + }, + "notebooks": { + "type": "boolean" } }, "type": "object" }, - "databricks:index/getFunctionsFunctionRoutineDependenciesDependency:getFunctionsFunctionRoutineDependenciesDependency": { + "databricks:index/getJobJobSettingsSettingsLibrary:getJobJobSettingsSettingsLibrary": { "properties": { - "function": { - "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependenciesDependencyFunction:getFunctionsFunctionRoutineDependenciesDependencyFunction" + "cran": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibraryCran:getJobJobSettingsSettingsLibraryCran" }, - "table": { - "$ref": "#/types/databricks:index/getFunctionsFunctionRoutineDependenciesDependencyTable:getFunctionsFunctionRoutineDependenciesDependencyTable" + "egg": { + "type": "string" + }, + "jar": { + "type": "string" + }, + "maven": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibraryMaven:getJobJobSettingsSettingsLibraryMaven" + }, + "pypi": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibraryPypi:getJobJobSettingsSettingsLibraryPypi" + }, + "requirements": { + "type": "string" + }, + "whl": { + "type": "string" } }, "type": "object" }, - "databricks:index/getFunctionsFunctionRoutineDependenciesDependencyFunction:getFunctionsFunctionRoutineDependenciesDependencyFunction": { + "databricks:index/getJobJobSettingsSettingsLibraryCran:getJobJobSettingsSettingsLibraryCran": { "properties": { - "functionFullName": { + "package": { + "type": "string" + }, + "repo": { "type": "string" } }, "type": "object", "required": [ - "functionFullName" + "package" ] }, - "databricks:index/getFunctionsFunctionRoutineDependenciesDependencyTable:getFunctionsFunctionRoutineDependenciesDependencyTable": { + "databricks:index/getJobJobSettingsSettingsLibraryMaven:getJobJobSettingsSettingsLibraryMaven": { "properties": { - "tableFullName": { + "coordinates": { + "type": "string" + }, + "exclusions": { + "type": "array", + "items": { + "type": "string" + } + }, + "repo": { "type": "string" } }, "type": "object", "required": [ - "tableFullName" + "coordinates" ] }, - "databricks:index/getInstancePoolPoolInfo:getInstancePoolPoolInfo": { + "databricks:index/getJobJobSettingsSettingsLibraryPypi:getJobJobSettingsSettingsLibraryPypi": { + "properties": { + "package": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "type": "object", + "required": [ + "package" + ] + }, + "databricks:index/getJobJobSettingsSettingsNewCluster:getJobJobSettingsSettingsNewCluster": { "properties": { + "applyPolicyDefaultValues": { + "type": "boolean" + }, + "autoscale": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterAutoscale:getJobJobSettingsSettingsNewClusterAutoscale" + }, + "autoterminationMinutes": { + "type": "integer" + }, "awsAttributes": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoAwsAttributes:getInstancePoolPoolInfoAwsAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterAwsAttributes:getJobJobSettingsSettingsNewClusterAwsAttributes" }, "azureAttributes": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoAzureAttributes:getInstancePoolPoolInfoAzureAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterAzureAttributes:getJobJobSettingsSettingsNewClusterAzureAttributes" }, - "customTags": { - "type": "object", - "additionalProperties": { - "type": "string" + "clusterId": { + "type": "string" + }, + "clusterLogConf": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConf:getJobJobSettingsSettingsNewClusterClusterLogConf" + }, + "clusterMountInfos": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfo:getJobJobSettingsSettingsNewClusterClusterMountInfo" } }, - "defaultTags": { + "clusterName": { + "type": "string" + }, + "customTags": { "type": "object", "additionalProperties": { "type": "string" } }, - "diskSpec": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoDiskSpec:getInstancePoolPoolInfoDiskSpec" + "dataSecurityMode": { + "type": "string" + }, + "dockerImage": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterDockerImage:getJobJobSettingsSettingsNewClusterDockerImage" + }, + "driverInstancePoolId": { + "type": "string" + }, + "driverNodeTypeId": { + "type": "string" }, "enableElasticDisk": { "type": "boolean" }, + "enableLocalDiskEncryption": { + "type": "boolean" + }, "gcpAttributes": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoGcpAttributes:getInstancePoolPoolInfoGcpAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterGcpAttributes:getJobJobSettingsSettingsNewClusterGcpAttributes" }, - "idleInstanceAutoterminationMinutes": { - "type": "integer" + "idempotencyToken": { + "type": "string" }, - "instancePoolFleetAttributes": { + "initScripts": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttribute:getInstancePoolPoolInfoInstancePoolFleetAttribute" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScript:getJobJobSettingsSettingsNewClusterInitScript" } }, "instancePoolId": { "type": "string" }, - "instancePoolName": { + "nodeTypeId": { "type": "string" }, - "maxCapacity": { + "numWorkers": { "type": "integer" }, - "minIdleInstances": { - "type": "integer" + "policyId": { + "type": "string" }, - "nodeTypeId": { + "runtimeEngine": { "type": "string" }, - "preloadedDockerImages": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoPreloadedDockerImage:getInstancePoolPoolInfoPreloadedDockerImage" + "singleUserName": { + "type": "string" + }, + "sparkConf": { + "type": "object", + "additionalProperties": { + "type": "string" } }, - "preloadedSparkVersions": { - "type": "array", - "items": { + "sparkEnvVars": { + "type": "object", + "additionalProperties": { "type": "string" } }, - "state": { + "sparkVersion": { "type": "string" }, - "stats": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoStats:getInstancePoolPoolInfoStats" + "sshPublicKeys": { + "type": "array", + "items": { + "type": "string" + } + }, + "workloadType": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterWorkloadType:getJobJobSettingsSettingsNewClusterWorkloadType" } }, "type": "object", "required": [ - "defaultTags", - "idleInstanceAutoterminationMinutes", - "instancePoolId", - "instancePoolName" + "driverInstancePoolId", + "driverNodeTypeId", + "enableElasticDisk", + "enableLocalDiskEncryption", + "nodeTypeId", + "numWorkers", + "sparkVersion" ], "language": { "nodejs": { "requiredInputs": [ - "idleInstanceAutoterminationMinutes", - "instancePoolName" + "numWorkers", + "sparkVersion" ] } } }, - "databricks:index/getInstancePoolPoolInfoAwsAttributes:getInstancePoolPoolInfoAwsAttributes": { + "databricks:index/getJobJobSettingsSettingsNewClusterAutoscale:getJobJobSettingsSettingsNewClusterAutoscale": { + "properties": { + "maxWorkers": { + "type": "integer" + }, + "minWorkers": { + "type": "integer" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsNewClusterAwsAttributes:getJobJobSettingsSettingsNewClusterAwsAttributes": { "properties": { "availability": { "type": "string" }, + "ebsVolumeCount": { + "type": "integer" + }, + "ebsVolumeSize": { + "type": "integer" + }, + "ebsVolumeType": { + "type": "string" + }, + "firstOnDemand": { + "type": "integer" + }, + "instanceProfileArn": { + "type": "string" + }, "spotBidPricePercent": { "type": "integer" }, @@ -12129,142 +14769,109 @@ "type": "string" } }, - "type": "object", - "required": [ - "zoneId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "databricks:index/getInstancePoolPoolInfoAzureAttributes:getInstancePoolPoolInfoAzureAttributes": { + "databricks:index/getJobJobSettingsSettingsNewClusterAzureAttributes:getJobJobSettingsSettingsNewClusterAzureAttributes": { "properties": { "availability": { "type": "string" }, + "firstOnDemand": { + "type": "integer" + }, "spotBidMaxPrice": { "type": "number" } }, "type": "object" }, - "databricks:index/getInstancePoolPoolInfoDiskSpec:getInstancePoolPoolInfoDiskSpec": { + "databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConf:getJobJobSettingsSettingsNewClusterClusterLogConf": { "properties": { - "diskCount": { - "type": "integer" - }, - "diskSize": { - "type": "integer" + "dbfs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsNewClusterClusterLogConfDbfs" }, - "diskType": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoDiskSpecDiskType:getInstancePoolPoolInfoDiskSpecDiskType" + "s3": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfS3:getJobJobSettingsSettingsNewClusterClusterLogConfS3" } }, "type": "object" }, - "databricks:index/getInstancePoolPoolInfoDiskSpecDiskType:getInstancePoolPoolInfoDiskSpecDiskType": { + "databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsNewClusterClusterLogConfDbfs": { "properties": { - "azureDiskVolumeType": { - "type": "string" - }, - "ebsVolumeType": { + "destination": { "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "destination" + ] }, - "databricks:index/getInstancePoolPoolInfoGcpAttributes:getInstancePoolPoolInfoGcpAttributes": { + "databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfS3:getJobJobSettingsSettingsNewClusterClusterLogConfS3": { "properties": { - "gcpAvailability": { + "cannedAcl": { "type": "string" }, - "localSsdCount": { - "type": "integer" + "destination": { + "type": "string" }, - "zoneId": { + "enableEncryption": { + "type": "boolean" + }, + "encryptionType": { "type": "string" - } - }, - "type": "object", - "required": [ - "localSsdCount", - "zoneId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttribute:getInstancePoolPoolInfoInstancePoolFleetAttribute": { - "properties": { - "fleetOnDemandOption": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption" }, - "fleetSpotOption": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption" + "endpoint": { + "type": "string" }, - "launchTemplateOverrides": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride:getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride" - } - } - }, - "type": "object", - "required": [ - "launchTemplateOverrides" - ] - }, - "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption": { - "properties": { - "allocationStrategy": { + "kmsKey": { "type": "string" }, - "instancePoolsToUseCount": { - "type": "integer" + "region": { + "type": "string" } }, "type": "object", "required": [ - "allocationStrategy" + "destination" ] }, - "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption:getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption": { + "databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfo:getJobJobSettingsSettingsNewClusterClusterMountInfo": { "properties": { - "allocationStrategy": { + "localMountDirPath": { "type": "string" }, - "instancePoolsToUseCount": { - "type": "integer" + "networkFilesystemInfo": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo" + }, + "remoteMountDirPath": { + "type": "string" } }, "type": "object", "required": [ - "allocationStrategy" + "localMountDirPath", + "networkFilesystemInfo" ] }, - "databricks:index/getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride:getInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride": { + "databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo": { "properties": { - "availabilityZone": { + "mountOptions": { "type": "string" }, - "instanceType": { + "serverAddress": { "type": "string" } }, "type": "object", "required": [ - "availabilityZone", - "instanceType" + "serverAddress" ] }, - "databricks:index/getInstancePoolPoolInfoPreloadedDockerImage:getInstancePoolPoolInfoPreloadedDockerImage": { + "databricks:index/getJobJobSettingsSettingsNewClusterDockerImage:getJobJobSettingsSettingsNewClusterDockerImage": { "properties": { "basicAuth": { - "$ref": "#/types/databricks:index/getInstancePoolPoolInfoPreloadedDockerImageBasicAuth:getInstancePoolPoolInfoPreloadedDockerImageBasicAuth" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsNewClusterDockerImageBasicAuth" }, "url": { "type": "string" @@ -12275,7 +14882,7 @@ "url" ] }, - "databricks:index/getInstancePoolPoolInfoPreloadedDockerImageBasicAuth:getInstancePoolPoolInfoPreloadedDockerImageBasicAuth": { + "databricks:index/getJobJobSettingsSettingsNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsNewClusterDockerImageBasicAuth": { "properties": { "password": { "type": "string", @@ -12291,906 +14898,834 @@ "username" ] }, - "databricks:index/getInstancePoolPoolInfoStats:getInstancePoolPoolInfoStats": { - "properties": { - "idleCount": { - "type": "integer" - }, - "pendingIdleCount": { - "type": "integer" - }, - "pendingUsedCount": { - "type": "integer" - }, - "usedCount": { - "type": "integer" - } - }, - "type": "object" - }, - "databricks:index/getInstanceProfilesInstanceProfile:getInstanceProfilesInstanceProfile": { - "properties": { - "arn": { - "type": "string", - "description": "ARN of the instance profile.\n" - }, - "isMeta": { - "type": "boolean", - "description": "Whether the instance profile is a meta instance profile or not.\n" - }, - "name": { - "type": "string", - "description": "Name of the instance profile.\n" - }, - "roleArn": { - "type": "string", - "description": "ARN of the role attached to the instance profile.\n" - } - }, - "type": "object", - "required": [ - "arn", - "isMeta", - "name", - "roleArn" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "databricks:index/getJobJobSettings:getJobJobSettings": { - "properties": { - "createdTime": { - "type": "integer" - }, - "creatorUserName": { - "type": "string" - }, - "jobId": { - "type": "integer" - }, - "runAsUserName": { - "type": "string" - }, - "settings": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettings:getJobJobSettingsSettings" - } - }, - "type": "object", - "required": [ - "runAsUserName" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "databricks:index/getJobJobSettingsSettings:getJobJobSettingsSettings": { + "databricks:index/getJobJobSettingsSettingsNewClusterGcpAttributes:getJobJobSettingsSettingsNewClusterGcpAttributes": { "properties": { - "continuous": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsContinuous:getJobJobSettingsSettingsContinuous" - }, - "dbtTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsDbtTask:getJobJobSettingsSettingsDbtTask" - }, - "deployment": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsDeployment:getJobJobSettingsSettingsDeployment" - }, - "description": { - "type": "string" - }, - "editMode": { - "type": "string" - }, - "emailNotifications": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsEmailNotifications:getJobJobSettingsSettingsEmailNotifications" - }, - "environments": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsEnvironment:getJobJobSettingsSettingsEnvironment" - } - }, - "existingClusterId": { - "type": "string" - }, - "format": { + "availability": { "type": "string" }, - "gitSource": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsGitSource:getJobJobSettingsSettingsGitSource" - }, - "health": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsHealth:getJobJobSettingsSettingsHealth" - }, - "jobClusters": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobCluster:getJobJobSettingsSettingsJobCluster" - } - }, - "libraries": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibrary:getJobJobSettingsSettingsLibrary" - } - }, - "maxConcurrentRuns": { - "type": "integer" - }, - "maxRetries": { - "type": "integer" - }, - "minRetryIntervalMillis": { - "type": "integer" - }, - "name": { - "type": "string", - "description": "the job name of databricks.Job if the resource was matched by id.\n" - }, - "newCluster": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewCluster:getJobJobSettingsSettingsNewCluster" - }, - "notebookTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNotebookTask:getJobJobSettingsSettingsNotebookTask" - }, - "notificationSettings": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNotificationSettings:getJobJobSettingsSettingsNotificationSettings" - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsParameter:getJobJobSettingsSettingsParameter" - } - }, - "pipelineTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsPipelineTask:getJobJobSettingsSettingsPipelineTask" - }, - "pythonWheelTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsPythonWheelTask:getJobJobSettingsSettingsPythonWheelTask" - }, - "queue": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsQueue:getJobJobSettingsSettingsQueue" - }, - "retryOnTimeout": { - "type": "boolean" - }, - "runAs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsRunAs:getJobJobSettingsSettingsRunAs" + "bootDiskSize": { + "type": "integer" }, - "runJobTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsRunJobTask:getJobJobSettingsSettingsRunJobTask" + "googleServiceAccount": { + "type": "string" }, - "schedule": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSchedule:getJobJobSettingsSettingsSchedule" + "localSsdCount": { + "type": "integer" }, - "sparkJarTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSparkJarTask:getJobJobSettingsSettingsSparkJarTask" + "usePreemptibleExecutors": { + "type": "boolean" }, - "sparkPythonTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSparkPythonTask:getJobJobSettingsSettingsSparkPythonTask" + "zoneId": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsNewClusterInitScript:getJobJobSettingsSettingsNewClusterInitScript": { + "properties": { + "abfss": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptAbfss:getJobJobSettingsSettingsNewClusterInitScriptAbfss" }, - "sparkSubmitTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsSparkSubmitTask:getJobJobSettingsSettingsSparkSubmitTask" + "dbfs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptDbfs:getJobJobSettingsSettingsNewClusterInitScriptDbfs" }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "file": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptFile:getJobJobSettingsSettingsNewClusterInitScriptFile" }, - "tasks": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTask:getJobJobSettingsSettingsTask" - } + "gcs": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptGcs:getJobJobSettingsSettingsNewClusterInitScriptGcs" }, - "timeoutSeconds": { - "type": "integer" + "s3": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptS3:getJobJobSettingsSettingsNewClusterInitScriptS3" }, - "trigger": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTrigger:getJobJobSettingsSettingsTrigger" + "volumes": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptVolumes:getJobJobSettingsSettingsNewClusterInitScriptVolumes" }, - "webhookNotifications": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotifications:getJobJobSettingsSettingsWebhookNotifications" + "workspace": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptWorkspace:getJobJobSettingsSettingsNewClusterInitScriptWorkspace" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptAbfss:getJobJobSettingsSettingsNewClusterInitScriptAbfss": { + "properties": { + "destination": { + "type": "string" } }, "type": "object", "required": [ - "format", - "runAs" - ], - "language": { - "nodejs": { - "requiredInputs": [] + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptDbfs:getJobJobSettingsSettingsNewClusterInitScriptDbfs": { + "properties": { + "destination": { + "type": "string" } - } + }, + "type": "object", + "required": [ + "destination" + ] }, - "databricks:index/getJobJobSettingsSettingsContinuous:getJobJobSettingsSettingsContinuous": { + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptFile:getJobJobSettingsSettingsNewClusterInitScriptFile": { "properties": { - "pauseStatus": { + "destination": { "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "destination" + ] }, - "databricks:index/getJobJobSettingsSettingsDbtTask:getJobJobSettingsSettingsDbtTask": { + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptGcs:getJobJobSettingsSettingsNewClusterInitScriptGcs": { "properties": { - "catalog": { + "destination": { + "type": "string" + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptS3:getJobJobSettingsSettingsNewClusterInitScriptS3": { + "properties": { + "cannedAcl": { "type": "string" }, - "commands": { - "type": "array", - "items": { - "type": "string" - } - }, - "profilesDirectory": { + "destination": { "type": "string" }, - "projectDirectory": { + "enableEncryption": { + "type": "boolean" + }, + "encryptionType": { "type": "string" }, - "schema": { + "endpoint": { "type": "string" }, - "source": { + "kmsKey": { "type": "string" }, - "warehouseId": { + "region": { "type": "string" } }, "type": "object", "required": [ - "commands" + "destination" ] }, - "databricks:index/getJobJobSettingsSettingsDeployment:getJobJobSettingsSettingsDeployment": { + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptVolumes:getJobJobSettingsSettingsNewClusterInitScriptVolumes": { "properties": { - "kind": { + "destination": { "type": "string" - }, - "metadataFilePath": { + } + }, + "type": "object", + "required": [ + "destination" + ] + }, + "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptWorkspace:getJobJobSettingsSettingsNewClusterInitScriptWorkspace": { + "properties": { + "destination": { "type": "string" } }, "type": "object", "required": [ - "kind" + "destination" ] }, - "databricks:index/getJobJobSettingsSettingsEmailNotifications:getJobJobSettingsSettingsEmailNotifications": { + "databricks:index/getJobJobSettingsSettingsNewClusterWorkloadType:getJobJobSettingsSettingsNewClusterWorkloadType": { "properties": { - "noAlertForSkippedRuns": { + "clients": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterWorkloadTypeClients:getJobJobSettingsSettingsNewClusterWorkloadTypeClients" + } + }, + "type": "object", + "required": [ + "clients" + ] + }, + "databricks:index/getJobJobSettingsSettingsNewClusterWorkloadTypeClients:getJobJobSettingsSettingsNewClusterWorkloadTypeClients": { + "properties": { + "jobs": { "type": "boolean" }, - "onDurationWarningThresholdExceededs": { - "type": "array", - "items": { + "notebooks": { + "type": "boolean" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsNotebookTask:getJobJobSettingsSettingsNotebookTask": { + "properties": { + "baseParameters": { + "type": "object", + "additionalProperties": { "type": "string" } }, - "onFailures": { - "type": "array", - "items": { - "type": "string" - } + "notebookPath": { + "type": "string" }, - "onStarts": { - "type": "array", - "items": { - "type": "string" - } + "source": { + "type": "string" }, - "onStreamingBacklogExceededs": { - "type": "array", - "items": { - "type": "string" - } + "warehouseId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "notebookPath" + ] + }, + "databricks:index/getJobJobSettingsSettingsNotificationSettings:getJobJobSettingsSettingsNotificationSettings": { + "properties": { + "noAlertForCanceledRuns": { + "type": "boolean" }, - "onSuccesses": { - "type": "array", - "items": { - "type": "string" - } + "noAlertForSkippedRuns": { + "type": "boolean" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsEnvironment:getJobJobSettingsSettingsEnvironment": { + "databricks:index/getJobJobSettingsSettingsParameter:getJobJobSettingsSettingsParameter": { "properties": { - "environmentKey": { + "default": { "type": "string" }, - "spec": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsEnvironmentSpec:getJobJobSettingsSettingsEnvironmentSpec" + "name": { + "type": "string", + "description": "the job name of databricks.Job if the resource was matched by id.\n" } }, "type": "object", "required": [ - "environmentKey" + "default", + "name" ] }, - "databricks:index/getJobJobSettingsSettingsEnvironmentSpec:getJobJobSettingsSettingsEnvironmentSpec": { + "databricks:index/getJobJobSettingsSettingsPipelineTask:getJobJobSettingsSettingsPipelineTask": { "properties": { - "client": { + "fullRefresh": { + "type": "boolean" + }, + "pipelineId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "pipelineId" + ] + }, + "databricks:index/getJobJobSettingsSettingsPythonWheelTask:getJobJobSettingsSettingsPythonWheelTask": { + "properties": { + "entryPoint": { "type": "string" }, - "dependencies": { + "namedParameters": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "packageName": { + "type": "string" + }, + "parameters": { "type": "array", "items": { "type": "string" } } }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsQueue:getJobJobSettingsSettingsQueue": { + "properties": { + "enabled": { + "type": "boolean" + } + }, "type": "object", "required": [ - "client" + "enabled" ] }, - "databricks:index/getJobJobSettingsSettingsGitSource:getJobJobSettingsSettingsGitSource": { + "databricks:index/getJobJobSettingsSettingsRunAs:getJobJobSettingsSettingsRunAs": { "properties": { - "branch": { - "type": "string" - }, - "commit": { - "type": "string" - }, - "jobSource": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsGitSourceJobSource:getJobJobSettingsSettingsGitSourceJobSource" - }, - "provider": { + "servicePrincipalName": { "type": "string" }, - "tag": { + "userName": { "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsRunJobTask:getJobJobSettingsSettingsRunJobTask": { + "properties": { + "jobId": { + "type": "integer" }, - "url": { - "type": "string" + "jobParameters": { + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", "required": [ - "url" + "jobId" ] }, - "databricks:index/getJobJobSettingsSettingsGitSourceJobSource:getJobJobSettingsSettingsGitSourceJobSource": { + "databricks:index/getJobJobSettingsSettingsSchedule:getJobJobSettingsSettingsSchedule": { "properties": { - "dirtyState": { + "pauseStatus": { "type": "string" }, - "importFromGitBranch": { + "quartzCronExpression": { "type": "string" }, - "jobConfigPath": { + "timezoneId": { "type": "string" } }, "type": "object", "required": [ - "importFromGitBranch", - "jobConfigPath" + "quartzCronExpression", + "timezoneId" ] }, - "databricks:index/getJobJobSettingsSettingsHealth:getJobJobSettingsSettingsHealth": { + "databricks:index/getJobJobSettingsSettingsSparkJarTask:getJobJobSettingsSettingsSparkJarTask": { "properties": { - "rules": { + "jarUri": { + "type": "string" + }, + "mainClassName": { + "type": "string" + }, + "parameters": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsHealthRule:getJobJobSettingsSettingsHealthRule" + "type": "string" } } }, - "type": "object", - "required": [ - "rules" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsHealthRule:getJobJobSettingsSettingsHealthRule": { + "databricks:index/getJobJobSettingsSettingsSparkPythonTask:getJobJobSettingsSettingsSparkPythonTask": { "properties": { - "metric": { - "type": "string" + "parameters": { + "type": "array", + "items": { + "type": "string" + } }, - "op": { + "pythonFile": { "type": "string" }, - "value": { - "type": "integer" + "source": { + "type": "string" } }, "type": "object", "required": [ - "metric", - "op", - "value" + "pythonFile" ] }, - "databricks:index/getJobJobSettingsSettingsJobCluster:getJobJobSettingsSettingsJobCluster": { + "databricks:index/getJobJobSettingsSettingsSparkSubmitTask:getJobJobSettingsSettingsSparkSubmitTask": { "properties": { - "jobClusterKey": { - "type": "string" - }, - "newCluster": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewCluster:getJobJobSettingsSettingsJobClusterNewCluster" + "parameters": { + "type": "array", + "items": { + "type": "string" + } } }, - "type": "object", - "required": [ - "jobClusterKey", - "newCluster" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewCluster:getJobJobSettingsSettingsJobClusterNewCluster": { + "databricks:index/getJobJobSettingsSettingsTask:getJobJobSettingsSettingsTask": { "properties": { - "applyPolicyDefaultValues": { - "type": "boolean" - }, - "autoscale": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAutoscale:getJobJobSettingsSettingsJobClusterNewClusterAutoscale" - }, - "autoterminationMinutes": { - "type": "integer" - }, - "awsAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes:getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes" - }, - "azureAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes:getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes" - }, - "clusterId": { - "type": "string" + "conditionTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskConditionTask:getJobJobSettingsSettingsTaskConditionTask" }, - "clusterLogConf": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf" + "dbtTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskDbtTask:getJobJobSettingsSettingsTaskDbtTask" }, - "clusterMountInfos": { + "dependsOns": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo" - } - }, - "clusterName": { - "type": "string" - }, - "customTags": { - "type": "object", - "additionalProperties": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskDependsOn:getJobJobSettingsSettingsTaskDependsOn" } }, - "dataSecurityMode": { + "description": { "type": "string" }, - "dockerImage": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImage:getJobJobSettingsSettingsJobClusterNewClusterDockerImage" + "emailNotifications": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskEmailNotifications:getJobJobSettingsSettingsTaskEmailNotifications" }, - "driverInstancePoolId": { + "environmentKey": { "type": "string" }, - "driverNodeTypeId": { + "existingClusterId": { "type": "string" }, - "enableElasticDisk": { - "type": "boolean" - }, - "enableLocalDiskEncryption": { - "type": "boolean" + "forEachTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTask:getJobJobSettingsSettingsTaskForEachTask" }, - "gcpAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes:getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes" + "health": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskHealth:getJobJobSettingsSettingsTaskHealth" }, - "idempotencyToken": { + "jobClusterKey": { "type": "string" }, - "initScripts": { + "libraries": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScript:getJobJobSettingsSettingsJobClusterNewClusterInitScript" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibrary:getJobJobSettingsSettingsTaskLibrary" } }, - "instancePoolId": { - "type": "string" - }, - "nodeTypeId": { - "type": "string" - }, - "numWorkers": { + "maxRetries": { "type": "integer" }, - "policyId": { - "type": "string" - }, - "runtimeEngine": { - "type": "string" + "minRetryIntervalMillis": { + "type": "integer" }, - "singleUserName": { - "type": "string" + "newCluster": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewCluster:getJobJobSettingsSettingsTaskNewCluster" }, - "sparkConf": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "notebookTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNotebookTask:getJobJobSettingsSettingsTaskNotebookTask" }, - "sparkEnvVars": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "notificationSettings": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNotificationSettings:getJobJobSettingsSettingsTaskNotificationSettings" }, - "sparkVersion": { - "type": "string" + "pipelineTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskPipelineTask:getJobJobSettingsSettingsTaskPipelineTask" }, - "sshPublicKeys": { - "type": "array", - "items": { - "type": "string" - } + "pythonWheelTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskPythonWheelTask:getJobJobSettingsSettingsTaskPythonWheelTask" }, - "workloadType": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadType:getJobJobSettingsSettingsJobClusterNewClusterWorkloadType" - } - }, - "type": "object", - "required": [ - "driverInstancePoolId", - "driverNodeTypeId", - "enableElasticDisk", - "enableLocalDiskEncryption", - "nodeTypeId", - "numWorkers", - "sparkVersion" - ], - "language": { - "nodejs": { - "requiredInputs": [ - "numWorkers", - "sparkVersion" - ] - } - } - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAutoscale:getJobJobSettingsSettingsJobClusterNewClusterAutoscale": { - "properties": { - "maxWorkers": { - "type": "integer" + "retryOnTimeout": { + "type": "boolean" }, - "minWorkers": { - "type": "integer" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes:getJobJobSettingsSettingsJobClusterNewClusterAwsAttributes": { - "properties": { - "availability": { + "runIf": { "type": "string" }, - "ebsVolumeCount": { - "type": "integer" + "runJobTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskRunJobTask:getJobJobSettingsSettingsTaskRunJobTask" + }, + "sparkJarTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSparkJarTask:getJobJobSettingsSettingsTaskSparkJarTask" }, - "ebsVolumeSize": { - "type": "integer" + "sparkPythonTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSparkPythonTask:getJobJobSettingsSettingsTaskSparkPythonTask" }, - "ebsVolumeType": { - "type": "string" + "sparkSubmitTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSparkSubmitTask:getJobJobSettingsSettingsTaskSparkSubmitTask" }, - "firstOnDemand": { - "type": "integer" + "sqlTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTask:getJobJobSettingsSettingsTaskSqlTask" }, - "instanceProfileArn": { + "taskKey": { "type": "string" }, - "spotBidPricePercent": { + "timeoutSeconds": { "type": "integer" }, - "zoneId": { - "type": "string" + "webhookNotifications": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotifications:getJobJobSettingsSettingsTaskWebhookNotifications" } }, - "type": "object" + "type": "object", + "required": [ + "retryOnTimeout", + "taskKey" + ], + "language": { + "nodejs": { + "requiredInputs": [ + "taskKey" + ] + } + } }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes:getJobJobSettingsSettingsJobClusterNewClusterAzureAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskConditionTask:getJobJobSettingsSettingsTaskConditionTask": { "properties": { - "availability": { + "left": { "type": "string" }, - "firstOnDemand": { - "type": "integer" - }, - "spotBidMaxPrice": { - "type": "number" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConf": { - "properties": { - "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs" + "op": { + "type": "string" }, - "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs": { - "properties": { - "destination": { + "right": { "type": "string" } }, "type": "object", "required": [ - "destination" + "left", + "op", + "right" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3:getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3": { + "databricks:index/getJobJobSettingsSettingsTaskDbtTask:getJobJobSettingsSettingsTaskDbtTask": { "properties": { - "cannedAcl": { + "catalog": { "type": "string" }, - "destination": { - "type": "string" + "commands": { + "type": "array", + "items": { + "type": "string" + } }, - "enableEncryption": { - "type": "boolean" + "profilesDirectory": { + "type": "string" }, - "encryptionType": { + "projectDirectory": { "type": "string" }, - "endpoint": { + "schema": { "type": "string" }, - "kmsKey": { + "source": { "type": "string" }, - "region": { + "warehouseId": { "type": "string" } }, "type": "object", "required": [ - "destination" + "commands" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo": { + "databricks:index/getJobJobSettingsSettingsTaskDependsOn:getJobJobSettingsSettingsTaskDependsOn": { "properties": { - "localMountDirPath": { + "outcome": { "type": "string" }, - "networkFilesystemInfo": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo" - }, - "remoteMountDirPath": { + "taskKey": { "type": "string" } }, "type": "object", "required": [ - "localMountDirPath", - "networkFilesystemInfo" + "taskKey" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo": { + "databricks:index/getJobJobSettingsSettingsTaskEmailNotifications:getJobJobSettingsSettingsTaskEmailNotifications": { "properties": { - "mountOptions": { - "type": "string" + "noAlertForSkippedRuns": { + "type": "boolean" }, - "serverAddress": { - "type": "string" + "onDurationWarningThresholdExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onFailures": { + "type": "array", + "items": { + "type": "string" + } + }, + "onStarts": { + "type": "array", + "items": { + "type": "string" + } + }, + "onStreamingBacklogExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onSuccesses": { + "type": "array", + "items": { + "type": "string" + } } }, - "type": "object", - "required": [ - "serverAddress" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImage:getJobJobSettingsSettingsJobClusterNewClusterDockerImage": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTask:getJobJobSettingsSettingsTaskForEachTask": { "properties": { - "basicAuth": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth" + "concurrency": { + "type": "integer" }, - "url": { + "inputs": { "type": "string" + }, + "task": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTask:getJobJobSettingsSettingsTaskForEachTaskTask" } }, "type": "object", "required": [ - "url" + "inputs", + "task" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTask:getJobJobSettingsSettingsTaskForEachTaskTask": { "properties": { - "password": { - "type": "string", - "secret": true + "conditionTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask:getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask" }, - "username": { + "dbtTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask:getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask" + }, + "dependsOns": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn:getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn" + } + }, + "description": { "type": "string" - } - }, - "type": "object", - "required": [ - "password", - "username" - ] - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes:getJobJobSettingsSettingsJobClusterNewClusterGcpAttributes": { - "properties": { - "availability": { + }, + "emailNotifications": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications" + }, + "environmentKey": { "type": "string" }, - "bootDiskSize": { - "type": "integer" + "existingClusterId": { + "type": "string" }, - "googleServiceAccount": { + "health": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealth:getJobJobSettingsSettingsTaskForEachTaskTaskHealth" + }, + "jobClusterKey": { "type": "string" }, - "localSsdCount": { + "libraries": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibrary:getJobJobSettingsSettingsTaskForEachTaskTaskLibrary" + } + }, + "maxRetries": { "type": "integer" }, - "usePreemptibleExecutors": { + "minRetryIntervalMillis": { + "type": "integer" + }, + "newCluster": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster:getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster" + }, + "notebookTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask:getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask" + }, + "notificationSettings": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings:getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings" + }, + "pipelineTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask:getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask" + }, + "pythonWheelTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask:getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask" + }, + "retryOnTimeout": { "type": "boolean" }, - "zoneId": { + "runIf": { "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScript:getJobJobSettingsSettingsJobClusterNewClusterInitScript": { - "properties": { - "abfss": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss:getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss" }, - "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs" + "runJobTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask:getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask" }, - "file": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile:getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile" + "sparkJarTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask" }, - "gcs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs" + "sparkPythonTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask" }, - "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3:getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3" + "sparkSubmitTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask" }, - "volumes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes:getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes" + "sqlTask": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask" }, - "workspace": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace:getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss:getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss": { - "properties": { - "destination": { + "taskKey": { "type": "string" + }, + "timeoutSeconds": { + "type": "integer" + }, + "webhookNotifications": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications" } }, "type": "object", "required": [ - "destination" - ] - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs": { - "properties": { - "destination": { - "type": "string" + "retryOnTimeout", + "taskKey" + ], + "language": { + "nodejs": { + "requiredInputs": [ + "taskKey" + ] } - }, - "type": "object", - "required": [ - "destination" - ] + } }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile:getJobJobSettingsSettingsJobClusterNewClusterInitScriptFile": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask:getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask": { "properties": { - "destination": { + "left": { "type": "string" - } - }, - "type": "object", - "required": [ - "destination" - ] - }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs:getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs": { - "properties": { - "destination": { + }, + "op": { + "type": "string" + }, + "right": { "type": "string" } }, "type": "object", "required": [ - "destination" + "left", + "op", + "right" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3:getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask:getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask": { "properties": { - "cannedAcl": { + "catalog": { "type": "string" }, - "destination": { - "type": "string" + "commands": { + "type": "array", + "items": { + "type": "string" + } }, - "enableEncryption": { - "type": "boolean" + "profilesDirectory": { + "type": "string" }, - "encryptionType": { + "projectDirectory": { "type": "string" }, - "endpoint": { + "schema": { "type": "string" }, - "kmsKey": { + "source": { "type": "string" }, - "region": { + "warehouseId": { "type": "string" } }, "type": "object", "required": [ - "destination" + "commands" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes:getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn:getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn": { "properties": { - "destination": { + "outcome": { + "type": "string" + }, + "taskKey": { "type": "string" } }, "type": "object", "required": [ - "destination" + "taskKey" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace:getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications": { "properties": { - "destination": { - "type": "string" + "noAlertForSkippedRuns": { + "type": "boolean" + }, + "onDurationWarningThresholdExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onFailures": { + "type": "array", + "items": { + "type": "string" + } + }, + "onStarts": { + "type": "array", + "items": { + "type": "string" + } + }, + "onStreamingBacklogExceededs": { + "type": "array", + "items": { + "type": "string" + } + }, + "onSuccesses": { + "type": "array", + "items": { + "type": "string" + } } }, - "type": "object", - "required": [ - "destination" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadType:getJobJobSettingsSettingsJobClusterNewClusterWorkloadType": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealth:getJobJobSettingsSettingsTaskForEachTaskTaskHealth": { "properties": { - "clients": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients:getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients" + "rules": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule:getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule" + } } }, "type": "object", "required": [ - "clients" + "rules" ] }, - "databricks:index/getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients:getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule:getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule": { "properties": { - "jobs": { - "type": "boolean" + "metric": { + "type": "string" }, - "notebooks": { - "type": "boolean" + "op": { + "type": "string" + }, + "value": { + "type": "integer" } }, - "type": "object" + "type": "object", + "required": [ + "metric", + "op", + "value" + ] }, - "databricks:index/getJobJobSettingsSettingsLibrary:getJobJobSettingsSettingsLibrary": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibrary:getJobJobSettingsSettingsTaskForEachTaskTaskLibrary": { "properties": { "cran": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibraryCran:getJobJobSettingsSettingsLibraryCran" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran" }, "egg": { "type": "string" @@ -13199,10 +15734,10 @@ "type": "string" }, "maven": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibraryMaven:getJobJobSettingsSettingsLibraryMaven" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven" }, "pypi": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsLibraryPypi:getJobJobSettingsSettingsLibraryPypi" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi" }, "requirements": { "type": "string" @@ -13213,7 +15748,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsLibraryCran:getJobJobSettingsSettingsLibraryCran": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran": { "properties": { "package": { "type": "string" @@ -13227,7 +15762,7 @@ "package" ] }, - "databricks:index/getJobJobSettingsSettingsLibraryMaven:getJobJobSettingsSettingsLibraryMaven": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven": { "properties": { "coordinates": { "type": "string" @@ -13247,7 +15782,7 @@ "coordinates" ] }, - "databricks:index/getJobJobSettingsSettingsLibraryPypi:getJobJobSettingsSettingsLibraryPypi": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi": { "properties": { "package": { "type": "string" @@ -13261,33 +15796,33 @@ "package" ] }, - "databricks:index/getJobJobSettingsSettingsNewCluster:getJobJobSettingsSettingsNewCluster": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster:getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster": { "properties": { "applyPolicyDefaultValues": { "type": "boolean" }, "autoscale": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterAutoscale:getJobJobSettingsSettingsNewClusterAutoscale" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale" }, "autoterminationMinutes": { "type": "integer" }, "awsAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterAwsAttributes:getJobJobSettingsSettingsNewClusterAwsAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes" }, "azureAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterAzureAttributes:getJobJobSettingsSettingsNewClusterAzureAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes" }, "clusterId": { "type": "string" }, "clusterLogConf": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConf:getJobJobSettingsSettingsNewClusterClusterLogConf" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf" }, "clusterMountInfos": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfo:getJobJobSettingsSettingsNewClusterClusterMountInfo" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo" } }, "clusterName": { @@ -13303,7 +15838,7 @@ "type": "string" }, "dockerImage": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterDockerImage:getJobJobSettingsSettingsNewClusterDockerImage" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage" }, "driverInstancePoolId": { "type": "string" @@ -13318,7 +15853,7 @@ "type": "boolean" }, "gcpAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterGcpAttributes:getJobJobSettingsSettingsNewClusterGcpAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes" }, "idempotencyToken": { "type": "string" @@ -13326,7 +15861,7 @@ "initScripts": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScript:getJobJobSettingsSettingsNewClusterInitScript" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript" } }, "instancePoolId": { @@ -13369,7 +15904,7 @@ } }, "workloadType": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterWorkloadType:getJobJobSettingsSettingsNewClusterWorkloadType" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType" } }, "type": "object", @@ -13391,7 +15926,7 @@ } } }, - "databricks:index/getJobJobSettingsSettingsNewClusterAutoscale:getJobJobSettingsSettingsNewClusterAutoscale": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale": { "properties": { "maxWorkers": { "type": "integer" @@ -13402,7 +15937,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNewClusterAwsAttributes:getJobJobSettingsSettingsNewClusterAwsAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes": { "properties": { "availability": { "type": "string" @@ -13431,7 +15966,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNewClusterAzureAttributes:getJobJobSettingsSettingsNewClusterAzureAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes": { "properties": { "availability": { "type": "string" @@ -13445,18 +15980,18 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConf:getJobJobSettingsSettingsNewClusterClusterLogConf": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf": { "properties": { "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsNewClusterClusterLogConfDbfs" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs" }, "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfS3:getJobJobSettingsSettingsNewClusterClusterLogConfS3" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsNewClusterClusterLogConfDbfs": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs": { "properties": { "destination": { "type": "string" @@ -13467,7 +16002,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterClusterLogConfS3:getJobJobSettingsSettingsNewClusterClusterLogConfS3": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3": { "properties": { "cannedAcl": { "type": "string" @@ -13496,13 +16031,13 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfo:getJobJobSettingsSettingsNewClusterClusterMountInfo": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo": { "properties": { "localMountDirPath": { "type": "string" }, "networkFilesystemInfo": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo" }, "remoteMountDirPath": { "type": "string" @@ -13514,7 +16049,7 @@ "networkFilesystemInfo" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo": { "properties": { "mountOptions": { "type": "string" @@ -13528,10 +16063,10 @@ "serverAddress" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterDockerImage:getJobJobSettingsSettingsNewClusterDockerImage": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage": { "properties": { "basicAuth": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsNewClusterDockerImageBasicAuth" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth" }, "url": { "type": "string" @@ -13542,7 +16077,7 @@ "url" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsNewClusterDockerImageBasicAuth": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth": { "properties": { "password": { "type": "string", @@ -13558,7 +16093,7 @@ "username" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterGcpAttributes:getJobJobSettingsSettingsNewClusterGcpAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes": { "properties": { "availability": { "type": "string" @@ -13581,33 +16116,33 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScript:getJobJobSettingsSettingsNewClusterInitScript": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript": { "properties": { "abfss": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptAbfss:getJobJobSettingsSettingsNewClusterInitScriptAbfss" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss" }, "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptDbfs:getJobJobSettingsSettingsNewClusterInitScriptDbfs" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs" }, "file": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptFile:getJobJobSettingsSettingsNewClusterInitScriptFile" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile" }, "gcs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptGcs:getJobJobSettingsSettingsNewClusterInitScriptGcs" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs" }, "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptS3:getJobJobSettingsSettingsNewClusterInitScriptS3" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3" }, "volumes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptVolumes:getJobJobSettingsSettingsNewClusterInitScriptVolumes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes" }, "workspace": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterInitScriptWorkspace:getJobJobSettingsSettingsNewClusterInitScriptWorkspace" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptAbfss:getJobJobSettingsSettingsNewClusterInitScriptAbfss": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss": { "properties": { "destination": { "type": "string" @@ -13618,7 +16153,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptDbfs:getJobJobSettingsSettingsNewClusterInitScriptDbfs": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs": { "properties": { "destination": { "type": "string" @@ -13629,7 +16164,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptFile:getJobJobSettingsSettingsNewClusterInitScriptFile": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile": { "properties": { "destination": { "type": "string" @@ -13640,7 +16175,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptGcs:getJobJobSettingsSettingsNewClusterInitScriptGcs": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs": { "properties": { "destination": { "type": "string" @@ -13651,7 +16186,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptS3:getJobJobSettingsSettingsNewClusterInitScriptS3": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3": { "properties": { "cannedAcl": { "type": "string" @@ -13680,7 +16215,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptVolumes:getJobJobSettingsSettingsNewClusterInitScriptVolumes": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes": { "properties": { "destination": { "type": "string" @@ -13691,7 +16226,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterInitScriptWorkspace:getJobJobSettingsSettingsNewClusterInitScriptWorkspace": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace": { "properties": { "destination": { "type": "string" @@ -13702,10 +16237,10 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterWorkloadType:getJobJobSettingsSettingsNewClusterWorkloadType": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType": { "properties": { "clients": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsNewClusterWorkloadTypeClients:getJobJobSettingsSettingsNewClusterWorkloadTypeClients" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients" } }, "type": "object", @@ -13713,7 +16248,7 @@ "clients" ] }, - "databricks:index/getJobJobSettingsSettingsNewClusterWorkloadTypeClients:getJobJobSettingsSettingsNewClusterWorkloadTypeClients": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients": { "properties": { "jobs": { "type": "boolean" @@ -13724,7 +16259,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsNotebookTask:getJobJobSettingsSettingsNotebookTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask:getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask": { "properties": { "baseParameters": { "type": "object", @@ -13747,8 +16282,11 @@ "notebookPath" ] }, - "databricks:index/getJobJobSettingsSettingsNotificationSettings:getJobJobSettingsSettingsNotificationSettings": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings:getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings": { "properties": { + "alertOnLastAttempt": { + "type": "boolean" + }, "noAlertForCanceledRuns": { "type": "boolean" }, @@ -13758,23 +16296,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsParameter:getJobJobSettingsSettingsParameter": { - "properties": { - "default": { - "type": "string" - }, - "name": { - "type": "string", - "description": "the job name of databricks.Job if the resource was matched by id.\n" - } - }, - "type": "object", - "required": [ - "default", - "name" - ] - }, - "databricks:index/getJobJobSettingsSettingsPipelineTask:getJobJobSettingsSettingsPipelineTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask:getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask": { "properties": { "fullRefresh": { "type": "boolean" @@ -13788,7 +16310,7 @@ "pipelineId" ] }, - "databricks:index/getJobJobSettingsSettingsPythonWheelTask:getJobJobSettingsSettingsPythonWheelTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask:getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask": { "properties": { "entryPoint": { "type": "string" @@ -13811,29 +16333,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsQueue:getJobJobSettingsSettingsQueue": { - "properties": { - "enabled": { - "type": "boolean" - } - }, - "type": "object", - "required": [ - "enabled" - ] - }, - "databricks:index/getJobJobSettingsSettingsRunAs:getJobJobSettingsSettingsRunAs": { - "properties": { - "servicePrincipalName": { - "type": "string" - }, - "userName": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsRunJobTask:getJobJobSettingsSettingsRunJobTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask:getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask": { "properties": { "jobId": { "type": "integer" @@ -13850,25 +16350,7 @@ "jobId" ] }, - "databricks:index/getJobJobSettingsSettingsSchedule:getJobJobSettingsSettingsSchedule": { - "properties": { - "pauseStatus": { - "type": "string" - }, - "quartzCronExpression": { - "type": "string" - }, - "timezoneId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "quartzCronExpression", - "timezoneId" - ] - }, - "databricks:index/getJobJobSettingsSettingsSparkJarTask:getJobJobSettingsSettingsSparkJarTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask": { "properties": { "jarUri": { "type": "string" @@ -13885,7 +16367,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsSparkPythonTask:getJobJobSettingsSettingsSparkPythonTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask": { "properties": { "parameters": { "type": "array", @@ -13905,7 +16387,7 @@ "pythonFile" ] }, - "databricks:index/getJobJobSettingsSettingsSparkSubmitTask:getJobJobSettingsSettingsSparkSubmitTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask": { "properties": { "parameters": { "type": "array", @@ -13916,445 +16398,226 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTask:getJobJobSettingsSettingsTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask": { "properties": { - "conditionTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskConditionTask:getJobJobSettingsSettingsTaskConditionTask" + "alert": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert" }, - "dbtTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskDbtTask:getJobJobSettingsSettingsTaskDbtTask" + "dashboard": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard" }, - "dependsOns": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskDependsOn:getJobJobSettingsSettingsTaskDependsOn" - } + "file": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile" }, - "description": { - "type": "string" + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "emailNotifications": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskEmailNotifications:getJobJobSettingsSettingsTaskEmailNotifications" + "query": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery" }, - "environmentKey": { + "warehouseId": { "type": "string" - }, - "existingClusterId": { + } + }, + "type": "object", + "required": [ + "warehouseId" + ] + }, + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert": { + "properties": { + "alertId": { "type": "string" }, - "forEachTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTask:getJobJobSettingsSettingsTaskForEachTask" - }, - "health": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskHealth:getJobJobSettingsSettingsTaskHealth" - }, - "jobClusterKey": { - "type": "string" + "pauseSubscriptions": { + "type": "boolean" }, - "libraries": { + "subscriptions": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibrary:getJobJobSettingsSettingsTaskLibrary" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription" } - }, - "maxRetries": { - "type": "integer" - }, - "minRetryIntervalMillis": { - "type": "integer" - }, - "newCluster": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewCluster:getJobJobSettingsSettingsTaskNewCluster" - }, - "notebookTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNotebookTask:getJobJobSettingsSettingsTaskNotebookTask" - }, - "notificationSettings": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNotificationSettings:getJobJobSettingsSettingsTaskNotificationSettings" - }, - "pipelineTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskPipelineTask:getJobJobSettingsSettingsTaskPipelineTask" - }, - "pythonWheelTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskPythonWheelTask:getJobJobSettingsSettingsTaskPythonWheelTask" - }, - "retryOnTimeout": { - "type": "boolean" - }, - "runIf": { - "type": "string" - }, - "runJobTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskRunJobTask:getJobJobSettingsSettingsTaskRunJobTask" - }, - "sparkJarTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSparkJarTask:getJobJobSettingsSettingsTaskSparkJarTask" - }, - "sparkPythonTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSparkPythonTask:getJobJobSettingsSettingsTaskSparkPythonTask" - }, - "sparkSubmitTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSparkSubmitTask:getJobJobSettingsSettingsTaskSparkSubmitTask" - }, - "sqlTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTask:getJobJobSettingsSettingsTaskSqlTask" - }, - "taskKey": { - "type": "string" - }, - "timeoutSeconds": { - "type": "integer" - }, - "webhookNotifications": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotifications:getJobJobSettingsSettingsTaskWebhookNotifications" } }, "type": "object", "required": [ - "retryOnTimeout", - "taskKey" - ], - "language": { - "nodejs": { - "requiredInputs": [ - "taskKey" - ] - } - } + "alertId" + ] }, - "databricks:index/getJobJobSettingsSettingsTaskConditionTask:getJobJobSettingsSettingsTaskConditionTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription": { "properties": { - "left": { - "type": "string" - }, - "op": { + "destinationId": { "type": "string" }, - "right": { + "userName": { "type": "string" } }, - "type": "object", - "required": [ - "left", - "op", - "right" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskDbtTask:getJobJobSettingsSettingsTaskDbtTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard": { "properties": { - "catalog": { + "customSubject": { "type": "string" }, - "commands": { + "dashboardId": { + "type": "string" + }, + "pauseSubscriptions": { + "type": "boolean" + }, + "subscriptions": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription" } - }, - "profilesDirectory": { + } + }, + "type": "object", + "required": [ + "dashboardId" + ] + }, + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription": { + "properties": { + "destinationId": { "type": "string" }, - "projectDirectory": { + "userName": { "type": "string" - }, - "schema": { + } + }, + "type": "object" + }, + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile": { + "properties": { + "path": { "type": "string" }, "source": { "type": "string" - }, - "warehouseId": { - "type": "string" } }, "type": "object", "required": [ - "commands" + "path" ] }, - "databricks:index/getJobJobSettingsSettingsTaskDependsOn:getJobJobSettingsSettingsTaskDependsOn": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery": { "properties": { - "outcome": { - "type": "string" - }, - "taskKey": { + "queryId": { "type": "string" } }, "type": "object", "required": [ - "taskKey" + "queryId" ] }, - "databricks:index/getJobJobSettingsSettingsTaskEmailNotifications:getJobJobSettingsSettingsTaskEmailNotifications": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications": { "properties": { - "noAlertForSkippedRuns": { - "type": "boolean" - }, "onDurationWarningThresholdExceededs": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded" } }, "onFailures": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure" } }, "onStarts": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart" } }, "onStreamingBacklogExceededs": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded" } }, "onSuccesses": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess" } } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTask:getJobJobSettingsSettingsTaskForEachTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded": { "properties": { - "concurrency": { - "type": "integer" - }, - "inputs": { - "type": "string" - }, - "task": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTask:getJobJobSettingsSettingsTaskForEachTaskTask" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "inputs", - "task" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTask:getJobJobSettingsSettingsTaskForEachTaskTask": { - "properties": { - "conditionTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask:getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask" - }, - "dbtTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask:getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask" - }, - "dependsOns": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn:getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn" - } - }, - "description": { - "type": "string" - }, - "emailNotifications": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications" - }, - "environmentKey": { - "type": "string" - }, - "existingClusterId": { - "type": "string" - }, - "health": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealth:getJobJobSettingsSettingsTaskForEachTaskTaskHealth" - }, - "jobClusterKey": { - "type": "string" - }, - "libraries": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibrary:getJobJobSettingsSettingsTaskForEachTaskTaskLibrary" - } - }, - "maxRetries": { - "type": "integer" - }, - "minRetryIntervalMillis": { - "type": "integer" - }, - "newCluster": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster:getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster" - }, - "notebookTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask:getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask" - }, - "notificationSettings": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings:getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings" - }, - "pipelineTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask:getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask" - }, - "pythonWheelTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask:getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask" - }, - "retryOnTimeout": { - "type": "boolean" - }, - "runIf": { - "type": "string" - }, - "runJobTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask:getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask" - }, - "sparkJarTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask" - }, - "sparkPythonTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask" - }, - "sparkSubmitTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask" - }, - "sqlTask": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask" - }, - "taskKey": { - "type": "string" - }, - "timeoutSeconds": { - "type": "integer" - }, - "webhookNotifications": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications" - } - }, - "type": "object", - "required": [ - "retryOnTimeout", - "taskKey" - ], - "language": { - "nodejs": { - "requiredInputs": [ - "taskKey" - ] - } - } - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask:getJobJobSettingsSettingsTaskForEachTaskTaskConditionTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure": { "properties": { - "left": { - "type": "string" - }, - "op": { - "type": "string" - }, - "right": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "left", - "op", - "right" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask:getJobJobSettingsSettingsTaskForEachTaskTaskDbtTask": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart": { "properties": { - "catalog": { - "type": "string" - }, - "commands": { - "type": "array", - "items": { - "type": "string" - } - }, - "profilesDirectory": { - "type": "string" - }, - "projectDirectory": { - "type": "string" - }, - "schema": { - "type": "string" - }, - "source": { - "type": "string" - }, - "warehouseId": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "commands" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn:getJobJobSettingsSettingsTaskForEachTaskTaskDependsOn": { + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded": { "properties": { - "outcome": { - "type": "string" - }, - "taskKey": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } - }, - "type": "object", - "required": [ - "taskKey" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications": { - "properties": { - "noAlertForSkippedRuns": { - "type": "boolean" - }, - "onDurationWarningThresholdExceededs": { - "type": "array", - "items": { - "type": "string" - } - }, - "onFailures": { - "type": "array", - "items": { - "type": "string" - } - }, - "onStarts": { - "type": "array", - "items": { - "type": "string" - } - }, - "onStreamingBacklogExceededs": { - "type": "array", - "items": { - "type": "string" - } - }, - "onSuccesses": { - "type": "array", - "items": { - "type": "string" - } + }, + "type": "object", + "required": [ + "id" + ] + }, + "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess": { + "properties": { + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealth:getJobJobSettingsSettingsTaskForEachTaskTaskHealth": { + "databricks:index/getJobJobSettingsSettingsTaskHealth:getJobJobSettingsSettingsTaskHealth": { "properties": { "rules": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule:getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskHealthRule:getJobJobSettingsSettingsTaskHealthRule" } } }, @@ -14363,7 +16626,7 @@ "rules" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule:getJobJobSettingsSettingsTaskForEachTaskTaskHealthRule": { + "databricks:index/getJobJobSettingsSettingsTaskHealthRule:getJobJobSettingsSettingsTaskHealthRule": { "properties": { "metric": { "type": "string" @@ -14382,10 +16645,10 @@ "value" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibrary:getJobJobSettingsSettingsTaskForEachTaskTaskLibrary": { + "databricks:index/getJobJobSettingsSettingsTaskLibrary:getJobJobSettingsSettingsTaskLibrary": { "properties": { "cran": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibraryCran:getJobJobSettingsSettingsTaskLibraryCran" }, "egg": { "type": "string" @@ -14394,10 +16657,10 @@ "type": "string" }, "maven": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibraryMaven:getJobJobSettingsSettingsTaskLibraryMaven" }, "pypi": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibraryPypi:getJobJobSettingsSettingsTaskLibraryPypi" }, "requirements": { "type": "string" @@ -14408,7 +16671,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran": { + "databricks:index/getJobJobSettingsSettingsTaskLibraryCran:getJobJobSettingsSettingsTaskLibraryCran": { "properties": { "package": { "type": "string" @@ -14422,7 +16685,7 @@ "package" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven": { + "databricks:index/getJobJobSettingsSettingsTaskLibraryMaven:getJobJobSettingsSettingsTaskLibraryMaven": { "properties": { "coordinates": { "type": "string" @@ -14442,7 +16705,7 @@ "coordinates" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi:getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi": { + "databricks:index/getJobJobSettingsSettingsTaskLibraryPypi:getJobJobSettingsSettingsTaskLibraryPypi": { "properties": { "package": { "type": "string" @@ -14456,33 +16719,33 @@ "package" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster:getJobJobSettingsSettingsTaskForEachTaskTaskNewCluster": { + "databricks:index/getJobJobSettingsSettingsTaskNewCluster:getJobJobSettingsSettingsTaskNewCluster": { "properties": { "applyPolicyDefaultValues": { "type": "boolean" }, "autoscale": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskNewClusterAutoscale" }, "autoterminationMinutes": { "type": "integer" }, "awsAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskNewClusterAwsAttributes" }, "azureAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskNewClusterAzureAttributes" }, "clusterId": { "type": "string" }, "clusterLogConf": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskNewClusterClusterLogConf" }, "clusterMountInfos": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfo" } }, "clusterName": { @@ -14498,7 +16761,7 @@ "type": "string" }, "dockerImage": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskNewClusterDockerImage" }, "driverInstancePoolId": { "type": "string" @@ -14513,7 +16776,7 @@ "type": "boolean" }, "gcpAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskNewClusterGcpAttributes" }, "idempotencyToken": { "type": "string" @@ -14521,7 +16784,7 @@ "initScripts": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScript:getJobJobSettingsSettingsTaskNewClusterInitScript" } }, "instancePoolId": { @@ -14564,7 +16827,7 @@ } }, "workloadType": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskNewClusterWorkloadType" } }, "type": "object", @@ -14586,7 +16849,7 @@ } } }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskNewClusterAutoscale": { "properties": { "maxWorkers": { "type": "integer" @@ -14597,7 +16860,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskNewClusterAwsAttributes": { "properties": { "availability": { "type": "string" @@ -14626,7 +16889,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskNewClusterAzureAttributes": { "properties": { "availability": { "type": "string" @@ -14640,18 +16903,18 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskNewClusterClusterLogConf": { "properties": { "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs" }, "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs": { "properties": { "destination": { "type": "string" @@ -14662,7 +16925,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3": { "properties": { "cannedAcl": { "type": "string" @@ -14691,13 +16954,13 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfo": { "properties": { "localMountDirPath": { "type": "string" }, "networkFilesystemInfo": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo" }, "remoteMountDirPath": { "type": "string" @@ -14709,7 +16972,7 @@ "networkFilesystemInfo" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo": { "properties": { "mountOptions": { "type": "string" @@ -14723,10 +16986,10 @@ "serverAddress" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskNewClusterDockerImage": { "properties": { "basicAuth": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth" }, "url": { "type": "string" @@ -14737,7 +17000,7 @@ "url" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth": { "properties": { "password": { "type": "string", @@ -14753,7 +17016,7 @@ "username" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskNewClusterGcpAttributes": { "properties": { "availability": { "type": "string" @@ -14776,33 +17039,33 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScript:getJobJobSettingsSettingsTaskNewClusterInitScript": { "properties": { "abfss": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss" }, "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs" }, "file": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskNewClusterInitScriptFile" }, "gcs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskNewClusterInitScriptGcs" }, "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskNewClusterInitScriptS3" }, "volumes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes" }, "workspace": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss": { "properties": { "destination": { "type": "string" @@ -14813,7 +17076,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs": { "properties": { "destination": { "type": "string" @@ -14824,7 +17087,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskNewClusterInitScriptFile": { "properties": { "destination": { "type": "string" @@ -14835,7 +17098,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskNewClusterInitScriptGcs": { "properties": { "destination": { "type": "string" @@ -14846,7 +17109,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskNewClusterInitScriptS3": { "properties": { "cannedAcl": { "type": "string" @@ -14875,7 +17138,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes": { "properties": { "destination": { "type": "string" @@ -14886,7 +17149,7 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace": { "properties": { "destination": { "type": "string" @@ -14897,10 +17160,10 @@ "destination" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskNewClusterWorkloadType": { "properties": { "clients": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients" } }, "type": "object", @@ -14908,7 +17171,7 @@ "clients" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients": { + "databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients": { "properties": { "jobs": { "type": "boolean" @@ -14919,7 +17182,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask:getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask": { + "databricks:index/getJobJobSettingsSettingsTaskNotebookTask:getJobJobSettingsSettingsTaskNotebookTask": { "properties": { "baseParameters": { "type": "object", @@ -14942,7 +17205,7 @@ "notebookPath" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings:getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings": { + "databricks:index/getJobJobSettingsSettingsTaskNotificationSettings:getJobJobSettingsSettingsTaskNotificationSettings": { "properties": { "alertOnLastAttempt": { "type": "boolean" @@ -14956,7 +17219,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask:getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask": { + "databricks:index/getJobJobSettingsSettingsTaskPipelineTask:getJobJobSettingsSettingsTaskPipelineTask": { "properties": { "fullRefresh": { "type": "boolean" @@ -14970,7 +17233,7 @@ "pipelineId" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask:getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask": { + "databricks:index/getJobJobSettingsSettingsTaskPythonWheelTask:getJobJobSettingsSettingsTaskPythonWheelTask": { "properties": { "entryPoint": { "type": "string" @@ -14993,7 +17256,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask:getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask": { + "databricks:index/getJobJobSettingsSettingsTaskRunJobTask:getJobJobSettingsSettingsTaskRunJobTask": { "properties": { "jobId": { "type": "integer" @@ -15010,7 +17273,7 @@ "jobId" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask": { + "databricks:index/getJobJobSettingsSettingsTaskSparkJarTask:getJobJobSettingsSettingsTaskSparkJarTask": { "properties": { "jarUri": { "type": "string" @@ -15027,7 +17290,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask": { + "databricks:index/getJobJobSettingsSettingsTaskSparkPythonTask:getJobJobSettingsSettingsTaskSparkPythonTask": { "properties": { "parameters": { "type": "array", @@ -15047,7 +17310,7 @@ "pythonFile" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask:getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask": { + "databricks:index/getJobJobSettingsSettingsTaskSparkSubmitTask:getJobJobSettingsSettingsTaskSparkSubmitTask": { "properties": { "parameters": { "type": "array", @@ -15058,16 +17321,16 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTask": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTask:getJobJobSettingsSettingsTaskSqlTask": { "properties": { "alert": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlert:getJobJobSettingsSettingsTaskSqlTaskAlert" }, "dashboard": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskSqlTaskDashboard" }, "file": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskFile:getJobJobSettingsSettingsTaskSqlTaskFile" }, "parameters": { "type": "object", @@ -15076,7 +17339,7 @@ } }, "query": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskQuery:getJobJobSettingsSettingsTaskSqlTaskQuery" }, "warehouseId": { "type": "string" @@ -15087,7 +17350,7 @@ "warehouseId" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlert:getJobJobSettingsSettingsTaskSqlTaskAlert": { "properties": { "alertId": { "type": "string" @@ -15098,7 +17361,7 @@ "subscriptions": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskSqlTaskAlertSubscription" } } }, @@ -15107,7 +17370,7 @@ "alertId" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskSqlTaskAlertSubscription": { "properties": { "destinationId": { "type": "string" @@ -15118,7 +17381,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskSqlTaskDashboard": { "properties": { "customSubject": { "type": "string" @@ -15132,7 +17395,7 @@ "subscriptions": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription" + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription" } } }, @@ -15141,7 +17404,7 @@ "dashboardId" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription": { "properties": { "destinationId": { "type": "string" @@ -15152,7 +17415,7 @@ }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTaskFile:getJobJobSettingsSettingsTaskSqlTaskFile": { "properties": { "path": { "type": "string" @@ -15166,493 +17429,139 @@ "path" ] }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery:getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery": { - "properties": { - "queryId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "queryId" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications": { - "properties": { - "onDurationWarningThresholdExceededs": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded" - } - }, - "onFailures": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure" - } - }, - "onStarts": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart" - } - }, - "onStreamingBacklogExceededs": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded" - } - }, - "onSuccesses": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess" - } - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded": { - "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure": { - "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart": { - "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded": { - "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess": { - "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskHealth:getJobJobSettingsSettingsTaskHealth": { - "properties": { - "rules": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskHealthRule:getJobJobSettingsSettingsTaskHealthRule" - } - } - }, - "type": "object", - "required": [ - "rules" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskHealthRule:getJobJobSettingsSettingsTaskHealthRule": { - "properties": { - "metric": { - "type": "string" - }, - "op": { - "type": "string" - }, - "value": { - "type": "integer" - } - }, - "type": "object", - "required": [ - "metric", - "op", - "value" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskLibrary:getJobJobSettingsSettingsTaskLibrary": { - "properties": { - "cran": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibraryCran:getJobJobSettingsSettingsTaskLibraryCran" - }, - "egg": { - "type": "string" - }, - "jar": { - "type": "string" - }, - "maven": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibraryMaven:getJobJobSettingsSettingsTaskLibraryMaven" - }, - "pypi": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskLibraryPypi:getJobJobSettingsSettingsTaskLibraryPypi" - }, - "requirements": { - "type": "string" - }, - "whl": { - "type": "string" - } - }, - "type": "object" - }, - "databricks:index/getJobJobSettingsSettingsTaskLibraryCran:getJobJobSettingsSettingsTaskLibraryCran": { - "properties": { - "package": { - "type": "string" - }, - "repo": { - "type": "string" - } - }, - "type": "object", - "required": [ - "package" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskLibraryMaven:getJobJobSettingsSettingsTaskLibraryMaven": { - "properties": { - "coordinates": { - "type": "string" - }, - "exclusions": { - "type": "array", - "items": { - "type": "string" - } - }, - "repo": { - "type": "string" - } - }, - "type": "object", - "required": [ - "coordinates" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskLibraryPypi:getJobJobSettingsSettingsTaskLibraryPypi": { - "properties": { - "package": { - "type": "string" - }, - "repo": { - "type": "string" - } - }, - "type": "object", - "required": [ - "package" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskNewCluster:getJobJobSettingsSettingsTaskNewCluster": { - "properties": { - "applyPolicyDefaultValues": { - "type": "boolean" - }, - "autoscale": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskNewClusterAutoscale" - }, - "autoterminationMinutes": { - "type": "integer" - }, - "awsAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskNewClusterAwsAttributes" - }, - "azureAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskNewClusterAzureAttributes" - }, - "clusterId": { - "type": "string" - }, - "clusterLogConf": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskNewClusterClusterLogConf" - }, - "clusterMountInfos": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfo" - } - }, - "clusterName": { - "type": "string" - }, - "customTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "dataSecurityMode": { - "type": "string" - }, - "dockerImage": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskNewClusterDockerImage" - }, - "driverInstancePoolId": { - "type": "string" - }, - "driverNodeTypeId": { - "type": "string" - }, - "enableElasticDisk": { - "type": "boolean" - }, - "enableLocalDiskEncryption": { - "type": "boolean" - }, - "gcpAttributes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskNewClusterGcpAttributes" - }, - "idempotencyToken": { - "type": "string" - }, - "initScripts": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScript:getJobJobSettingsSettingsTaskNewClusterInitScript" - } - }, - "instancePoolId": { - "type": "string" - }, - "nodeTypeId": { - "type": "string" - }, - "numWorkers": { - "type": "integer" - }, - "policyId": { - "type": "string" - }, - "runtimeEngine": { - "type": "string" - }, - "singleUserName": { - "type": "string" - }, - "sparkConf": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sparkEnvVars": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sparkVersion": { - "type": "string" - }, - "sshPublicKeys": { - "type": "array", - "items": { - "type": "string" - } - }, - "workloadType": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskNewClusterWorkloadType" - } - }, - "type": "object", - "required": [ - "driverInstancePoolId", - "driverNodeTypeId", - "enableElasticDisk", - "enableLocalDiskEncryption", - "nodeTypeId", - "numWorkers", - "sparkVersion" - ], - "language": { - "nodejs": { - "requiredInputs": [ - "numWorkers", - "sparkVersion" - ] - } - } - }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterAutoscale:getJobJobSettingsSettingsTaskNewClusterAutoscale": { + "databricks:index/getJobJobSettingsSettingsTaskSqlTaskQuery:getJobJobSettingsSettingsTaskSqlTaskQuery": { "properties": { - "maxWorkers": { - "type": "integer" - }, - "minWorkers": { - "type": "integer" + "queryId": { + "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "queryId" + ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterAwsAttributes:getJobJobSettingsSettingsTaskNewClusterAwsAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskWebhookNotifications:getJobJobSettingsSettingsTaskWebhookNotifications": { "properties": { - "availability": { - "type": "string" - }, - "ebsVolumeCount": { - "type": "integer" - }, - "ebsVolumeSize": { - "type": "integer" - }, - "ebsVolumeType": { - "type": "string" + "onDurationWarningThresholdExceededs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded" + } }, - "firstOnDemand": { - "type": "integer" + "onFailures": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure" + } }, - "instanceProfileArn": { - "type": "string" + "onStarts": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskWebhookNotificationsOnStart" + } }, - "spotBidPricePercent": { - "type": "integer" + "onStreamingBacklogExceededs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded" + } }, - "zoneId": { - "type": "string" + "onSuccesses": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess" + } } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterAzureAttributes:getJobJobSettingsSettingsTaskNewClusterAzureAttributes": { + "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded": { "properties": { - "availability": { - "type": "string" - }, - "firstOnDemand": { - "type": "integer" - }, - "spotBidMaxPrice": { - "type": "number" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConf:getJobJobSettingsSettingsTaskNewClusterClusterLogConf": { + "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure": { "properties": { - "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs" - }, - "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, - "type": "object" + "type": "object", + "required": [ + "id" + ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs:getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs": { + "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskWebhookNotificationsOnStart": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "destination" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3:getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3": { + "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded": { "properties": { - "cannedAcl": { - "type": "string" - }, - "destination": { - "type": "string" - }, - "enableEncryption": { - "type": "boolean" - }, - "encryptionType": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "kmsKey": { - "type": "string" - }, - "region": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "destination" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfo": { + "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess": { "properties": { - "localMountDirPath": { - "type": "string" - }, - "networkFilesystemInfo": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo" - }, - "remoteMountDirPath": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "localMountDirPath", - "networkFilesystemInfo" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo:getJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo": { + "databricks:index/getJobJobSettingsSettingsTrigger:getJobJobSettingsSettingsTrigger": { "properties": { - "mountOptions": { - "type": "string" + "fileArrival": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerFileArrival:getJobJobSettingsSettingsTriggerFileArrival" }, - "serverAddress": { + "pauseStatus": { "type": "string" + }, + "periodic": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerPeriodic:getJobJobSettingsSettingsTriggerPeriodic" + }, + "tableUpdate": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerTableUpdate:getJobJobSettingsSettingsTriggerTableUpdate" } }, - "type": "object", - "required": [ - "serverAddress" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImage:getJobJobSettingsSettingsTaskNewClusterDockerImage": { + "databricks:index/getJobJobSettingsSettingsTriggerFileArrival:getJobJobSettingsSettingsTriggerFileArrival": { "properties": { - "basicAuth": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth" + "minTimeBetweenTriggersSeconds": { + "type": "integer" }, "url": { "type": "string" + }, + "waitAfterLastChangeSeconds": { + "type": "integer" } }, "type": "object", @@ -15660,1053 +17569,1286 @@ "url" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth:getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth": { + "databricks:index/getJobJobSettingsSettingsTriggerPeriodic:getJobJobSettingsSettingsTriggerPeriodic": { "properties": { - "password": { - "type": "string", - "secret": true + "interval": { + "type": "integer" }, - "username": { + "unit": { "type": "string" } }, "type": "object", "required": [ - "password", - "username" + "interval", + "unit" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterGcpAttributes:getJobJobSettingsSettingsTaskNewClusterGcpAttributes": { + "databricks:index/getJobJobSettingsSettingsTriggerTableUpdate:getJobJobSettingsSettingsTriggerTableUpdate": { "properties": { - "availability": { + "condition": { "type": "string" }, - "bootDiskSize": { + "minTimeBetweenTriggersSeconds": { "type": "integer" }, - "googleServiceAccount": { - "type": "string" + "tableNames": { + "type": "array", + "items": { + "type": "string" + } }, - "localSsdCount": { + "waitAfterLastChangeSeconds": { "type": "integer" - }, - "usePreemptibleExecutors": { - "type": "boolean" - }, - "zoneId": { - "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "tableNames" + ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScript:getJobJobSettingsSettingsTaskNewClusterInitScript": { + "databricks:index/getJobJobSettingsSettingsWebhookNotifications:getJobJobSettingsSettingsWebhookNotifications": { "properties": { - "abfss": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss" - }, - "dbfs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs" - }, - "file": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskNewClusterInitScriptFile" + "onDurationWarningThresholdExceededs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded" + } }, - "gcs": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskNewClusterInitScriptGcs" + "onFailures": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnFailure:getJobJobSettingsSettingsWebhookNotificationsOnFailure" + } }, - "s3": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskNewClusterInitScriptS3" + "onStarts": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStart:getJobJobSettingsSettingsWebhookNotificationsOnStart" + } }, - "volumes": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes" + "onStreamingBacklogExceededs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded" + } }, - "workspace": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace" + "onSuccesses": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnSuccess:getJobJobSettingsSettingsWebhookNotificationsOnSuccess" + } } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss:getJobJobSettingsSettingsTaskNewClusterInitScriptAbfss": { + "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "destination" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs:getJobJobSettingsSettingsTaskNewClusterInitScriptDbfs": { + "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnFailure:getJobJobSettingsSettingsWebhookNotificationsOnFailure": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "destination" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptFile:getJobJobSettingsSettingsTaskNewClusterInitScriptFile": { + "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStart:getJobJobSettingsSettingsWebhookNotificationsOnStart": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "destination" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptGcs:getJobJobSettingsSettingsTaskNewClusterInitScriptGcs": { + "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded": { "properties": { - "destination": { - "type": "string" + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" } }, "type": "object", "required": [ - "destination" + "id" ] }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptS3:getJobJobSettingsSettingsTaskNewClusterInitScriptS3": { + "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnSuccess:getJobJobSettingsSettingsWebhookNotificationsOnSuccess": { "properties": { - "cannedAcl": { + "id": { + "type": "string", + "description": "the id of databricks.Job if the resource was matched by name.\n" + } + }, + "type": "object", + "required": [ + "id" + ] + }, + "databricks:index/getMetastoreMetastoreInfo:getMetastoreMetastoreInfo": { + "properties": { + "cloud": { "type": "string" }, - "destination": { + "createdAt": { + "type": "integer" + }, + "createdBy": { "type": "string" }, - "enableEncryption": { + "defaultDataAccessConfigId": { + "type": "string" + }, + "deltaSharingOrganizationName": { + "type": "string", + "description": "The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing.\n" + }, + "deltaSharingRecipientTokenLifetimeInSeconds": { + "type": "integer", + "description": "Used to set expiration duration in seconds on recipient data access tokens.\n" + }, + "deltaSharingScope": { + "type": "string", + "description": "Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing.\n" + }, + "externalAccessEnabled": { "type": "boolean" }, - "encryptionType": { + "globalMetastoreId": { "type": "string" }, - "endpoint": { - "type": "string" + "metastoreId": { + "type": "string", + "description": "ID of the metastore\n" }, - "kmsKey": { + "name": { + "type": "string", + "description": "Name of the metastore\n" + }, + "owner": { + "type": "string", + "description": "Username/groupname/sp application_id of the metastore owner.\n" + }, + "privilegeModelVersion": { "type": "string" }, "region": { + "type": "string", + "description": "Region of the metastore\n" + }, + "storageRoot": { + "type": "string", + "description": "Path on cloud storage account, where managed `databricks.Table` are stored.\n" + }, + "storageRootCredentialId": { "type": "string" - } - }, - "type": "object", - "required": [ - "destination" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes:getJobJobSettingsSettingsTaskNewClusterInitScriptVolumes": { - "properties": { - "destination": { + }, + "storageRootCredentialName": { "type": "string" - } - }, - "type": "object", - "required": [ - "destination" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace:getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace": { - "properties": { - "destination": { + }, + "updatedAt": { + "type": "integer" + }, + "updatedBy": { "type": "string" } }, - "type": "object", - "required": [ - "destination" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadType:getJobJobSettingsSettingsTaskNewClusterWorkloadType": { - "properties": { - "clients": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients" - } - }, - "type": "object", - "required": [ - "clients" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients:getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients": { + "databricks:index/getMlflowExperimentTag:getMlflowExperimentTag": { "properties": { - "jobs": { - "type": "boolean" + "key": { + "type": "string" }, - "notebooks": { - "type": "boolean" + "value": { + "type": "string" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskNotebookTask:getJobJobSettingsSettingsTaskNotebookTask": { + "databricks:index/getMlflowModelLatestVersion:getMlflowModelLatestVersion": { "properties": { - "baseParameters": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "creationTimestamp": { + "type": "integer" }, - "notebookPath": { + "currentStage": { + "type": "string" + }, + "description": { + "type": "string", + "description": "User-specified description for the object.\n" + }, + "lastUpdatedTimestamp": { + "type": "integer" + }, + "name": { + "type": "string", + "description": "Name of the registered model.\n" + }, + "runId": { + "type": "string" + }, + "runLink": { "type": "string" }, "source": { "type": "string" }, - "warehouseId": { + "status": { "type": "string" - } - }, - "type": "object", - "required": [ - "notebookPath" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskNotificationSettings:getJobJobSettingsSettingsTaskNotificationSettings": { - "properties": { - "alertOnLastAttempt": { - "type": "boolean" }, - "noAlertForCanceledRuns": { - "type": "boolean" + "statusMessage": { + "type": "string" }, - "noAlertForSkippedRuns": { - "type": "boolean" + "tags": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getMlflowModelLatestVersionTag:getMlflowModelLatestVersionTag" + }, + "description": "Array of tags associated with the model.\n" + }, + "userId": { + "type": "string", + "description": "The username of the user that created the object.\n" + }, + "version": { + "type": "string" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskPipelineTask:getJobJobSettingsSettingsTaskPipelineTask": { + "databricks:index/getMlflowModelLatestVersionTag:getMlflowModelLatestVersionTag": { "properties": { - "fullRefresh": { - "type": "boolean" + "key": { + "type": "string" }, - "pipelineId": { + "value": { "type": "string" } }, - "type": "object", - "required": [ - "pipelineId" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskPythonWheelTask:getJobJobSettingsSettingsTaskPythonWheelTask": { + "databricks:index/getMlflowModelTag:getMlflowModelTag": { "properties": { - "entryPoint": { + "key": { "type": "string" }, - "namedParameters": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "packageName": { + "value": { "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getMwsNetworkConnectivityConfigEgressConfig:getMwsNetworkConnectivityConfigEgressConfig": { + "properties": { + "defaultRules": { + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfigDefaultRules:getMwsNetworkConnectivityConfigEgressConfigDefaultRules", + "description": "Array of default rules.\n" }, - "parameters": { - "type": "array", - "items": { - "type": "string" - } + "targetRules": { + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfigTargetRules:getMwsNetworkConnectivityConfigEgressConfigTargetRules", + "description": "Array of target rules.\n" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskRunJobTask:getJobJobSettingsSettingsTaskRunJobTask": { + "databricks:index/getMwsNetworkConnectivityConfigEgressConfigDefaultRules:getMwsNetworkConnectivityConfigEgressConfigDefaultRules": { "properties": { - "jobId": { - "type": "integer" + "awsStableIpRule": { + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule:getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule", + "description": "The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.\n" }, - "jobParameters": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "azureServiceEndpointRule": { + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule:getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule", + "description": "Array of Azure service endpoint rules.\n" } }, - "type": "object", - "required": [ - "jobId" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSparkJarTask:getJobJobSettingsSettingsTaskSparkJarTask": { + "databricks:index/getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule:getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule": { "properties": { - "jarUri": { - "type": "string" - }, - "mainClassName": { - "type": "string" - }, - "parameters": { + "cidrBlocks": { "type": "array", "items": { "type": "string" - } + }, + "description": "The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.\n" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSparkPythonTask:getJobJobSettingsSettingsTaskSparkPythonTask": { + "databricks:index/getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule:getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule": { "properties": { - "parameters": { + "subnets": { "type": "array", "items": { "type": "string" - } + }, + "description": "Array of strings representing the subnet IDs.\n" }, - "pythonFile": { - "type": "string" + "targetRegion": { + "type": "string", + "description": "The target region for the service endpoint.\n" }, - "source": { - "type": "string" + "targetServices": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of target services.\n" } }, - "type": "object", - "required": [ - "pythonFile" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSparkSubmitTask:getJobJobSettingsSettingsTaskSparkSubmitTask": { + "databricks:index/getMwsNetworkConnectivityConfigEgressConfigTargetRules:getMwsNetworkConnectivityConfigEgressConfigTargetRules": { "properties": { - "parameters": { + "azurePrivateEndpointRules": { "type": "array", "items": { - "type": "string" - } + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule:getMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule" + }, + "description": "Array of private endpoint rule objects.\n" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTask:getJobJobSettingsSettingsTaskSqlTask": { + "databricks:index/getMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule:getMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule": { "properties": { - "alert": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlert:getJobJobSettingsSettingsTaskSqlTaskAlert" + "connectionState": { + "type": "string", + "description": "The current status of this private endpoint.\n" }, - "dashboard": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskSqlTaskDashboard" + "creationTime": { + "type": "integer", + "description": "Time in epoch milliseconds when this object was created.\n" }, - "file": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskFile:getJobJobSettingsSettingsTaskSqlTaskFile" + "deactivated": { + "type": "boolean", + "description": "Whether this private endpoint is deactivated.\n" }, - "parameters": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "deactivatedAt": { + "type": "integer", + "description": "Time in epoch milliseconds when this object was deactivated.\n" }, - "query": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskQuery:getJobJobSettingsSettingsTaskSqlTaskQuery" + "endpointName": { + "type": "string", + "description": "The name of the Azure private endpoint resource.\n" }, - "warehouseId": { - "type": "string" + "groupId": { + "type": "string", + "description": "The sub-resource type (group ID) of the target resource.\n" + }, + "networkConnectivityConfigId": { + "type": "string", + "description": "The Databricks network connectivity configuration ID.\n" + }, + "resourceId": { + "type": "string", + "description": "The Azure resource ID of the target resource.\n" + }, + "ruleId": { + "type": "string", + "description": "The ID of a private endpoint rule.\n" + }, + "updatedTime": { + "type": "integer", + "description": "Time in epoch milliseconds when the network was updated.\n" } }, - "type": "object", - "required": [ - "warehouseId" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlert:getJobJobSettingsSettingsTaskSqlTaskAlert": { + "databricks:index/getNotebookPathsNotebookPathList:getNotebookPathsNotebookPathList": { "properties": { - "alertId": { + "language": { "type": "string" }, - "pauseSubscriptions": { - "type": "boolean" - }, - "subscriptions": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskSqlTaskAlertSubscription" - } + "path": { + "type": "string", + "description": "Path to workspace directory\n" } }, - "type": "object", - "required": [ - "alertId" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTaskAlertSubscription:getJobJobSettingsSettingsTaskSqlTaskAlertSubscription": { + "databricks:index/getNotificationDestinationsNotificationDestination:getNotificationDestinationsNotificationDestination": { "properties": { - "destinationId": { - "type": "string" + "destinationType": { + "type": "string", + "description": "The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`.\n" }, - "userName": { - "type": "string" + "displayName": { + "type": "string", + "description": "The display name of the Notification Destination.\n" + }, + "id": { + "type": "string", + "description": "The unique ID of the Notification Destination.\n" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboard:getJobJobSettingsSettingsTaskSqlTaskDashboard": { + "databricks:index/getRegisteredModelModelInfo:getRegisteredModelModelInfo": { "properties": { - "customSubject": { - "type": "string" - }, - "dashboardId": { - "type": "string" + "aliases": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getRegisteredModelModelInfoAlias:getRegisteredModelModelInfoAlias" + }, + "description": "the list of aliases associated with this model. Each item is object consisting of following attributes:\n" }, - "pauseSubscriptions": { + "browseOnly": { "type": "boolean" }, - "subscriptions": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription" - } + "catalogName": { + "type": "string", + "description": "The name of the catalog where the schema and the registered model reside.\n" + }, + "comment": { + "type": "string", + "description": "The comment attached to the registered model.\n" + }, + "createdAt": { + "type": "integer", + "description": "the Unix timestamp at the model's creation\n" + }, + "createdBy": { + "type": "string", + "description": "the identifier of the user who created the model\n" + }, + "fullName": { + "type": "string", + "description": "The fully-qualified name of the registered model (`catalog_name.schema_name.name`).\n" + }, + "metastoreId": { + "type": "string", + "description": "the unique identifier of the metastore\n" + }, + "name": { + "type": "string", + "description": "The name of the registered model.\n" + }, + "owner": { + "type": "string", + "description": "Name of the registered model owner.\n" + }, + "schemaName": { + "type": "string", + "description": "The name of the schema where the registered model resides.\n" + }, + "storageLocation": { + "type": "string", + "description": "The storage location under which model version data files are stored.\n" + }, + "updatedAt": { + "type": "integer", + "description": "the timestamp of the last time changes were made to the model\n" + }, + "updatedBy": { + "type": "string", + "description": "the identifier of the user who updated the model last time\n" } }, - "type": "object", - "required": [ - "dashboardId" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription:getJobJobSettingsSettingsTaskSqlTaskDashboardSubscription": { + "databricks:index/getRegisteredModelModelInfoAlias:getRegisteredModelModelInfoAlias": { "properties": { - "destinationId": { - "type": "string" + "aliasName": { + "type": "string", + "description": "string with the name of alias\n" }, - "userName": { - "type": "string" + "versionNum": { + "type": "integer", + "description": "associated model version\n" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTaskFile:getJobJobSettingsSettingsTaskSqlTaskFile": { + "databricks:index/getRegisteredModelVersionsModelVersion:getRegisteredModelVersionsModelVersion": { "properties": { - "path": { + "aliases": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersionAlias:getRegisteredModelVersionsModelVersionAlias" + }, + "description": "the list of aliases associated with this model. Each item is object consisting of following attributes:\n" + }, + "browseOnly": { + "type": "boolean" + }, + "catalogName": { + "type": "string", + "description": "The name of the catalog where the schema and the registered model reside.\n" + }, + "comment": { + "type": "string", + "description": "The comment attached to the registered model.\n" + }, + "createdAt": { + "type": "integer", + "description": "the Unix timestamp at the model's creation\n" + }, + "createdBy": { + "type": "string", + "description": "the identifier of the user who created the model\n" + }, + "id": { + "type": "string", + "description": "The unique identifier of the model version\n" + }, + "metastoreId": { + "type": "string", + "description": "the unique identifier of the metastore\n" + }, + "modelName": { "type": "string" }, + "modelVersionDependencies": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependency:getRegisteredModelVersionsModelVersionModelVersionDependency" + }, + "description": "block describing model version dependencies, for feature-store packaged models. Consists of following attributes:\n" + }, + "runId": { + "type": "string", + "description": "MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server\n" + }, + "runWorkspaceId": { + "type": "integer", + "description": "ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable\n" + }, + "schemaName": { + "type": "string", + "description": "The name of the schema where the registered model resides.\n" + }, "source": { - "type": "string" + "type": "string", + "description": "URI indicating the location of the source artifacts (files) for the model version.\n" + }, + "status": { + "type": "string", + "description": "Current status of the model version.\n" + }, + "storageLocation": { + "type": "string", + "description": "The storage location under which model version data files are stored.\n" + }, + "updatedAt": { + "type": "integer", + "description": "the timestamp of the last time changes were made to the model\n" + }, + "updatedBy": { + "type": "string", + "description": "the identifier of the user who updated the model last time\n" + }, + "version": { + "type": "integer", + "description": "Integer model version number, used to reference the model version in API requests.\n" } }, - "type": "object", - "required": [ - "path" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskSqlTaskQuery:getJobJobSettingsSettingsTaskSqlTaskQuery": { + "databricks:index/getRegisteredModelVersionsModelVersionAlias:getRegisteredModelVersionsModelVersionAlias": { "properties": { - "queryId": { - "type": "string" + "aliasName": { + "type": "string", + "description": "string with the name of alias\n" + }, + "versionNum": { + "type": "integer", + "description": "associated model version\n" } }, - "type": "object", - "required": [ - "queryId" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskWebhookNotifications:getJobJobSettingsSettingsTaskWebhookNotifications": { + "databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependency:getRegisteredModelVersionsModelVersionModelVersionDependency": { "properties": { - "onDurationWarningThresholdExceededs": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded" - } - }, - "onFailures": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure" - } - }, - "onStarts": { + "dependencies": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskWebhookNotificationsOnStart" - } - }, - "onStreamingBacklogExceededs": { + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependencyDependency:getRegisteredModelVersionsModelVersionModelVersionDependencyDependency" + }, + "description": "list of dependencies consisting of following attributes:\n" + } + }, + "type": "object" + }, + "databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependencyDependency:getRegisteredModelVersionsModelVersionModelVersionDependencyDependency": { + "properties": { + "functions": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded" - } + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction:getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction" + }, + "description": "A function that is dependent on a SQL object:\n" }, - "onSuccesses": { + "tables": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess" - } + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable:getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable" + }, + "description": "A table that is dependent on a SQL object\n" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded": { + "databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction:getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction": { "properties": { - "id": { + "functionFullName": { "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "description": "Full name of the dependent function\n" } }, "type": "object", "required": [ - "id" + "functionFullName" ] }, - "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure:getJobJobSettingsSettingsTaskWebhookNotificationsOnFailure": { + "databricks:index/getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable:getRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable": { "properties": { - "id": { + "tableFullName": { "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "description": "Full name of the dependent table\n" } }, "type": "object", "required": [ - "id" + "tableFullName" ] }, - "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStart:getJobJobSettingsSettingsTaskWebhookNotificationsOnStart": { + "databricks:index/getSchemaSchemaInfo:getSchemaSchemaInfo": { "properties": { - "id": { + "browseOnly": { + "type": "boolean", + "description": "indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege.\n" + }, + "catalogName": { "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" - } - }, - "type": "object", - "required": [ - "id" - ] - }, - "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded": { - "properties": { - "id": { + "description": "the name of the catalog where the schema is.\n" + }, + "catalogType": { "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "description": "the type of the parent catalog.\n" + }, + "comment": { + "type": "string", + "description": "the comment attached to the volume\n" + }, + "createdAt": { + "type": "integer", + "description": "time at which this schema was created, in epoch milliseconds.\n" + }, + "createdBy": { + "type": "string", + "description": "username of schema creator.\n" + }, + "effectivePredictiveOptimizationFlag": { + "$ref": "#/types/databricks:index/getSchemaSchemaInfoEffectivePredictiveOptimizationFlag:getSchemaSchemaInfoEffectivePredictiveOptimizationFlag", + "description": "information about actual state of predictive optimization.\n" + }, + "enablePredictiveOptimization": { + "type": "string", + "description": "whether predictive optimization should be enabled for this object and objects under it.\n" + }, + "fullName": { + "type": "string", + "description": "the two-level (fully qualified) name of the schema\n" + }, + "metastoreId": { + "type": "string", + "description": "the unique identifier of the metastore\n" + }, + "name": { + "type": "string", + "description": "a fully qualified name of databricks_schema: *`catalog`.`schema`*\n" + }, + "owner": { + "type": "string", + "description": "the identifier of the user who owns the schema\n" + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "map of properties set on the schema\n" + }, + "schemaId": { + "type": "string", + "description": "the unique identifier of the volume\n" + }, + "storageLocation": { + "type": "string", + "description": "the storage location on the cloud.\n" + }, + "storageRoot": { + "type": "string", + "description": "storage root URL for managed tables within schema.\n" + }, + "updatedAt": { + "type": "integer", + "description": "the timestamp of the last time changes were made to the schema\n" + }, + "updatedBy": { + "type": "string", + "description": "the identifier of the user who updated the schema last time\n" } }, - "type": "object", - "required": [ - "id" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess:getJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess": { + "databricks:index/getSchemaSchemaInfoEffectivePredictiveOptimizationFlag:getSchemaSchemaInfoEffectivePredictiveOptimizationFlag": { "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "inheritedFromName": { + "type": "string" + }, + "inheritedFromType": { + "type": "string" + }, + "value": { + "type": "string" } }, "type": "object", "required": [ - "id" + "value" ] }, - "databricks:index/getJobJobSettingsSettingsTrigger:getJobJobSettingsSettingsTrigger": { + "databricks:index/getServingEndpointsEndpoint:getServingEndpointsEndpoint": { "properties": { - "fileArrival": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerFileArrival:getJobJobSettingsSettingsTriggerFileArrival" + "aiGateways": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGateway:getServingEndpointsEndpointAiGateway" + }, + "description": "A block with AI Gateway configuration for the serving endpoint.\n" }, - "pauseStatus": { + "configs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfig:getServingEndpointsEndpointConfig" + }, + "description": "The model serving endpoint configuration.\n" + }, + "creationTimestamp": { + "type": "integer" + }, + "creator": { "type": "string" }, - "periodic": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerPeriodic:getJobJobSettingsSettingsTriggerPeriodic" + "id": { + "type": "string" }, - "tableUpdate": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsTriggerTableUpdate:getJobJobSettingsSettingsTriggerTableUpdate" + "lastUpdatedTimestamp": { + "type": "integer" + }, + "name": { + "type": "string", + "description": "The name of the model serving endpoint.\n" + }, + "states": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointState:getServingEndpointsEndpointState" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointTag:getServingEndpointsEndpointTag" + }, + "description": "Tags to be attached to the serving endpoint and automatically propagated to billing logs.\n" + }, + "task": { + "type": "string" } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTriggerFileArrival:getJobJobSettingsSettingsTriggerFileArrival": { + "databricks:index/getServingEndpointsEndpointAiGateway:getServingEndpointsEndpointAiGateway": { "properties": { - "minTimeBetweenTriggersSeconds": { - "type": "integer" + "guardrails": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayGuardrail:getServingEndpointsEndpointAiGatewayGuardrail" + } }, - "url": { - "type": "string" + "inferenceTableConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayInferenceTableConfig:getServingEndpointsEndpointAiGatewayInferenceTableConfig" + } }, - "waitAfterLastChangeSeconds": { - "type": "integer" + "rateLimits": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayRateLimit:getServingEndpointsEndpointAiGatewayRateLimit" + }, + "description": "A list of rate limit blocks to be applied to the serving endpoint.\n" + }, + "usageTrackingConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayUsageTrackingConfig:getServingEndpointsEndpointAiGatewayUsageTrackingConfig" + } } }, - "type": "object", - "required": [ - "url" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTriggerPeriodic:getJobJobSettingsSettingsTriggerPeriodic": { + "databricks:index/getServingEndpointsEndpointAiGatewayGuardrail:getServingEndpointsEndpointAiGatewayGuardrail": { "properties": { - "interval": { - "type": "integer" + "inputProperties": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayGuardrailInputProperty:getServingEndpointsEndpointAiGatewayGuardrailInputProperty" + } }, - "unit": { - "type": "string" + "outputs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayGuardrailOutput:getServingEndpointsEndpointAiGatewayGuardrailOutput" + } } }, - "type": "object", - "required": [ - "interval", - "unit" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsTriggerTableUpdate:getJobJobSettingsSettingsTriggerTableUpdate": { + "databricks:index/getServingEndpointsEndpointAiGatewayGuardrailInputProperty:getServingEndpointsEndpointAiGatewayGuardrailInputProperty": { "properties": { - "condition": { - "type": "string" + "invalidKeywords": { + "type": "array", + "items": { + "type": "string" + } }, - "minTimeBetweenTriggersSeconds": { - "type": "integer" + "piis": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii:getServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii" + } }, - "tableNames": { + "safety": { + "type": "boolean" + }, + "validTopics": { "type": "array", "items": { "type": "string" } - }, - "waitAfterLastChangeSeconds": { - "type": "integer" + } + }, + "type": "object" + }, + "databricks:index/getServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii:getServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii": { + "properties": { + "behavior": { + "type": "string" } }, "type": "object", "required": [ - "tableNames" + "behavior" ] }, - "databricks:index/getJobJobSettingsSettingsWebhookNotifications:getJobJobSettingsSettingsWebhookNotifications": { + "databricks:index/getServingEndpointsEndpointAiGatewayGuardrailOutput:getServingEndpointsEndpointAiGatewayGuardrailOutput": { "properties": { - "onDurationWarningThresholdExceededs": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded" - } - }, - "onFailures": { + "invalidKeywords": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnFailure:getJobJobSettingsSettingsWebhookNotificationsOnFailure" + "type": "string" } }, - "onStarts": { + "piis": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStart:getJobJobSettingsSettingsWebhookNotificationsOnStart" + "$ref": "#/types/databricks:index/getServingEndpointsEndpointAiGatewayGuardrailOutputPii:getServingEndpointsEndpointAiGatewayGuardrailOutputPii" } }, - "onStreamingBacklogExceededs": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded" - } + "safety": { + "type": "boolean" }, - "onSuccesses": { + "validTopics": { "type": "array", "items": { - "$ref": "#/types/databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnSuccess:getJobJobSettingsSettingsWebhookNotificationsOnSuccess" + "type": "string" } } }, "type": "object" }, - "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded:getJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded": { + "databricks:index/getServingEndpointsEndpointAiGatewayGuardrailOutputPii:getServingEndpointsEndpointAiGatewayGuardrailOutputPii": { "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "behavior": { + "type": "string" } }, "type": "object", "required": [ - "id" + "behavior" ] }, - "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnFailure:getJobJobSettingsSettingsWebhookNotificationsOnFailure": { + "databricks:index/getServingEndpointsEndpointAiGatewayInferenceTableConfig:getServingEndpointsEndpointAiGatewayInferenceTableConfig": { "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "catalogName": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "schemaName": { + "type": "string" + }, + "tableNamePrefix": { + "type": "string" } }, - "type": "object", - "required": [ - "id" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStart:getJobJobSettingsSettingsWebhookNotificationsOnStart": { + "databricks:index/getServingEndpointsEndpointAiGatewayRateLimit:getServingEndpointsEndpointAiGatewayRateLimit": { "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "calls": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "renewalPeriod": { + "type": "string" } }, "type": "object", "required": [ - "id" + "calls", + "renewalPeriod" ] }, - "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded:getJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded": { + "databricks:index/getServingEndpointsEndpointAiGatewayUsageTrackingConfig:getServingEndpointsEndpointAiGatewayUsageTrackingConfig": { "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "enabled": { + "type": "boolean" } }, - "type": "object", - "required": [ - "id" - ] + "type": "object" }, - "databricks:index/getJobJobSettingsSettingsWebhookNotificationsOnSuccess:getJobJobSettingsSettingsWebhookNotificationsOnSuccess": { + "databricks:index/getServingEndpointsEndpointConfig:getServingEndpointsEndpointConfig": { "properties": { - "id": { - "type": "string", - "description": "the id of databricks.Job if the resource was matched by name.\n" + "servedEntities": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntity:getServingEndpointsEndpointConfigServedEntity" + } + }, + "servedModels": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedModel:getServingEndpointsEndpointConfigServedModel" + } } }, - "type": "object", - "required": [ - "id" - ] + "type": "object" }, - "databricks:index/getMetastoreMetastoreInfo:getMetastoreMetastoreInfo": { + "databricks:index/getServingEndpointsEndpointConfigServedEntity:getServingEndpointsEndpointConfigServedEntity": { "properties": { - "cloud": { - "type": "string" - }, - "createdAt": { - "type": "integer" - }, - "createdBy": { + "entityName": { "type": "string" }, - "defaultDataAccessConfigId": { + "entityVersion": { "type": "string" }, - "deltaSharingOrganizationName": { - "type": "string", - "description": "The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing.\n" + "externalModels": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModel:getServingEndpointsEndpointConfigServedEntityExternalModel" + } }, - "deltaSharingRecipientTokenLifetimeInSeconds": { - "type": "integer", - "description": "Used to set expiration duration in seconds on recipient data access tokens.\n" + "foundationModels": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityFoundationModel:getServingEndpointsEndpointConfigServedEntityFoundationModel" + } }, - "deltaSharingScope": { + "name": { "type": "string", - "description": "Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing.\n" - }, - "externalAccessEnabled": { - "type": "boolean" + "description": "The name of the model serving endpoint.\n" + } + }, + "type": "object" + }, + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModel:getServingEndpointsEndpointConfigServedEntityExternalModel": { + "properties": { + "ai21labsConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig:getServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig" + } }, - "globalMetastoreId": { - "type": "string" + "amazonBedrockConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig:getServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig" + } }, - "metastoreId": { - "type": "string", - "description": "ID of the metastore\n" + "anthropicConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig:getServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig" + } }, - "name": { - "type": "string", - "description": "Name of the metastore\n" + "cohereConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig:getServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig" + } }, - "owner": { - "type": "string", - "description": "Username/groupname/sp application_id of the metastore owner.\n" + "databricksModelServingConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig:getServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig" + } }, - "privilegeModelVersion": { - "type": "string" + "googleCloudVertexAiConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig:getServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig" + } }, - "region": { + "name": { "type": "string", - "description": "Region of the metastore\n" + "description": "The name of the model serving endpoint.\n" }, - "storageRoot": { - "type": "string", - "description": "Path on cloud storage account, where managed `databricks.Table` are stored.\n" + "openaiConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig:getServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig" + } }, - "storageRootCredentialId": { - "type": "string" + "palmConfigs": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig:getServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig" + } }, - "storageRootCredentialName": { + "provider": { "type": "string" }, - "updatedAt": { - "type": "integer" - }, - "updatedBy": { + "task": { "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "name", + "provider", + "task" + ] }, - "databricks:index/getMlflowExperimentTag:getMlflowExperimentTag": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig:getServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig": { "properties": { - "key": { + "ai21labsApiKey": { "type": "string" }, - "value": { + "ai21labsApiKeyPlaintext": { "type": "string" } }, "type": "object" }, - "databricks:index/getMlflowModelLatestVersion:getMlflowModelLatestVersion": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig:getServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig": { "properties": { - "creationTimestamp": { - "type": "integer" - }, - "currentStage": { - "type": "string" - }, - "description": { - "type": "string", - "description": "User-specified description for the object.\n" - }, - "lastUpdatedTimestamp": { - "type": "integer" - }, - "name": { - "type": "string", - "description": "Name of the registered model.\n" - }, - "runId": { + "awsAccessKeyId": { "type": "string" }, - "runLink": { + "awsAccessKeyIdPlaintext": { "type": "string" }, - "source": { + "awsRegion": { "type": "string" }, - "status": { + "awsSecretAccessKey": { "type": "string" }, - "statusMessage": { + "awsSecretAccessKeyPlaintext": { "type": "string" }, - "tags": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getMlflowModelLatestVersionTag:getMlflowModelLatestVersionTag" - }, - "description": "Array of tags associated with the model.\n" - }, - "userId": { - "type": "string", - "description": "The username of the user that created the object.\n" - }, - "version": { + "bedrockProvider": { "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "awsRegion", + "bedrockProvider" + ] }, - "databricks:index/getMlflowModelLatestVersionTag:getMlflowModelLatestVersionTag": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig:getServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig": { "properties": { - "key": { + "anthropicApiKey": { "type": "string" }, - "value": { + "anthropicApiKeyPlaintext": { "type": "string" } }, "type": "object" }, - "databricks:index/getMlflowModelTag:getMlflowModelTag": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig:getServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig": { "properties": { - "key": { + "cohereApiBase": { "type": "string" }, - "value": { + "cohereApiKey": { + "type": "string" + }, + "cohereApiKeyPlaintext": { "type": "string" } }, "type": "object" }, - "databricks:index/getNotebookPathsNotebookPathList:getNotebookPathsNotebookPathList": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig:getServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig": { "properties": { - "language": { + "databricksApiToken": { "type": "string" }, - "path": { - "type": "string", - "description": "Path to workspace directory\n" + "databricksApiTokenPlaintext": { + "type": "string" + }, + "databricksWorkspaceUrl": { + "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "databricksWorkspaceUrl" + ] }, - "databricks:index/getNotificationDestinationsNotificationDestination:getNotificationDestinationsNotificationDestination": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig:getServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig": { "properties": { - "destinationType": { - "type": "string", - "description": "The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`.\n" + "privateKey": { + "type": "string" }, - "displayName": { - "type": "string", - "description": "The display name of the Notification Destination.\n" + "privateKeyPlaintext": { + "type": "string" }, - "id": { - "type": "string", - "description": "The unique ID of the Notification Destination.\n" + "projectId": { + "type": "string" + }, + "region": { + "type": "string" } }, "type": "object" }, - "databricks:index/getRegisteredModelModelInfo:getRegisteredModelModelInfo": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig:getServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig": { "properties": { - "aliases": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getRegisteredModelModelInfoAlias:getRegisteredModelModelInfoAlias" - }, - "description": "the list of aliases associated with this model. Each item is object consisting of following attributes:\n" - }, - "browseOnly": { - "type": "boolean" - }, - "catalogName": { - "type": "string", - "description": "The name of the catalog where the schema and the registered model reside.\n" - }, - "comment": { - "type": "string", - "description": "The comment attached to the registered model.\n" + "microsoftEntraClientId": { + "type": "string" }, - "createdAt": { - "type": "integer", - "description": "the Unix timestamp at the model's creation\n" + "microsoftEntraClientSecret": { + "type": "string" }, - "createdBy": { - "type": "string", - "description": "the identifier of the user who created the model\n" + "microsoftEntraClientSecretPlaintext": { + "type": "string" }, - "fullName": { - "type": "string", - "description": "The fully-qualified name of the registered model (`catalog_name.schema_name.name`).\n" + "microsoftEntraTenantId": { + "type": "string" }, - "metastoreId": { - "type": "string", - "description": "the unique identifier of the metastore\n" + "openaiApiBase": { + "type": "string" }, - "name": { - "type": "string", - "description": "The name of the registered model.\n" + "openaiApiKey": { + "type": "string" }, - "owner": { - "type": "string", - "description": "Name of the registered model owner.\n" + "openaiApiKeyPlaintext": { + "type": "string" }, - "schemaName": { - "type": "string", - "description": "The name of the schema where the registered model resides.\n" + "openaiApiType": { + "type": "string" }, - "storageLocation": { - "type": "string", - "description": "The storage location under which model version data files are stored.\n" + "openaiApiVersion": { + "type": "string" }, - "updatedAt": { - "type": "integer", - "description": "the timestamp of the last time changes were made to the model\n" + "openaiDeploymentName": { + "type": "string" }, - "updatedBy": { - "type": "string", - "description": "the identifier of the user who updated the model last time\n" + "openaiOrganization": { + "type": "string" } }, "type": "object" }, - "databricks:index/getRegisteredModelModelInfoAlias:getRegisteredModelModelInfoAlias": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig:getServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig": { "properties": { - "aliasName": { - "type": "string", - "description": "string with the name of alias\n" + "palmApiKey": { + "type": "string" }, - "versionNum": { - "type": "integer", - "description": "associated model version\n" + "palmApiKeyPlaintext": { + "type": "string" } }, "type": "object" }, - "databricks:index/getSchemaSchemaInfo:getSchemaSchemaInfo": { + "databricks:index/getServingEndpointsEndpointConfigServedEntityFoundationModel:getServingEndpointsEndpointConfigServedEntityFoundationModel": { "properties": { - "browseOnly": { - "type": "boolean", - "description": "indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege.\n" - }, - "catalogName": { - "type": "string", - "description": "the name of the catalog where the schema is.\n" - }, - "catalogType": { - "type": "string", - "description": "the type of the parent catalog.\n" - }, - "comment": { - "type": "string", - "description": "the comment attached to the volume\n" - }, - "createdAt": { - "type": "integer", - "description": "time at which this schema was created, in epoch milliseconds.\n" - }, - "createdBy": { - "type": "string", - "description": "username of schema creator.\n" - }, - "effectivePredictiveOptimizationFlag": { - "$ref": "#/types/databricks:index/getSchemaSchemaInfoEffectivePredictiveOptimizationFlag:getSchemaSchemaInfoEffectivePredictiveOptimizationFlag", - "description": "information about actual state of predictive optimization.\n" - }, - "enablePredictiveOptimization": { - "type": "string", - "description": "whether predictive optimization should be enabled for this object and objects under it.\n" + "description": { + "type": "string" }, - "fullName": { - "type": "string", - "description": "the two-level (fully qualified) name of the schema\n" + "displayName": { + "type": "string" }, - "metastoreId": { - "type": "string", - "description": "the unique identifier of the metastore\n" + "docs": { + "type": "string" }, "name": { "type": "string", - "description": "a fully qualified name of databricks_schema: *`catalog`.`schema`*\n" - }, - "owner": { - "type": "string", - "description": "the identifier of the user who owns the schema\n" - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "map of properties set on the schema\n" - }, - "schemaId": { - "type": "string", - "description": "the unique identifier of the volume\n" - }, - "storageLocation": { - "type": "string", - "description": "the storage location on the cloud.\n" - }, - "storageRoot": { - "type": "string", - "description": "storage root URL for managed tables within schema.\n" + "description": "The name of the model serving endpoint.\n" + } + }, + "type": "object" + }, + "databricks:index/getServingEndpointsEndpointConfigServedModel:getServingEndpointsEndpointConfigServedModel": { + "properties": { + "modelName": { + "type": "string" }, - "updatedAt": { - "type": "integer", - "description": "the timestamp of the last time changes were made to the schema\n" + "modelVersion": { + "type": "string" }, - "updatedBy": { + "name": { "type": "string", - "description": "the identifier of the user who updated the schema last time\n" + "description": "The name of the model serving endpoint.\n" } }, "type": "object" }, - "databricks:index/getSchemaSchemaInfoEffectivePredictiveOptimizationFlag:getSchemaSchemaInfoEffectivePredictiveOptimizationFlag": { + "databricks:index/getServingEndpointsEndpointState:getServingEndpointsEndpointState": { "properties": { - "inheritedFromName": { + "configUpdate": { "type": "string" }, - "inheritedFromType": { + "ready": { + "type": "string" + } + }, + "type": "object" + }, + "databricks:index/getServingEndpointsEndpointTag:getServingEndpointsEndpointTag": { + "properties": { + "key": { "type": "string" }, "value": { @@ -16715,7 +18857,7 @@ }, "type": "object", "required": [ - "value" + "key" ] }, "databricks:index/getShareObject:getShareObject": { @@ -17970,6 +20112,178 @@ "type": "object" } }, + "databricks:index/app:App": { + "description": "\u003e This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).\n\n[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.App;\nimport com.pulumi.databricks.AppArgs;\nimport com.pulumi.databricks.inputs.AppResourceArgs;\nimport com.pulumi.databricks.inputs.AppResourceJobArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new App(\"this\", AppArgs.builder()\n .name(\"my-custom-app\")\n .description(\"My app\")\n .resources( \n AppResourceArgs.builder()\n .name(\"sql-warehouse\")\n .sql_warehouse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build(),\n AppResourceArgs.builder()\n .name(\"serving-endpoint\")\n .serving_endpoint(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build(),\n AppResourceArgs.builder()\n .name(\"job\")\n .job(AppResourceJobArgs.builder()\n .id(\"1234\")\n .permission(\"CAN_MANAGE\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:App\n properties:\n name: my-custom-app\n description: My app\n resources:\n - name: sql-warehouse\n sql_warehouse:\n id: e9ca293f79a74b5c\n permission: CAN_MANAGE\n - name: serving-endpoint\n serving_endpoint:\n name: databricks-meta-llama-3-1-70b-instruct\n permission: CAN_MANAGE\n - name: job\n job:\n id: '1234'\n permission: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n* databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.\n\n## Import\n\nThis resource can be imported by name:\n\nhcl\n\nimport {\n\n to = databricks_app.this\n\n id = \"\u003capp_name\u003e\"\n\n}\n\nor using the `terraform` CLI:\n\nbash\n\n```sh\n$ pulumi import databricks:index/app:App this \u003capp_name\u003e\n```\n\n", + "properties": { + "activeDeployment": { + "$ref": "#/types/databricks:index/AppActiveDeployment:AppActiveDeployment" + }, + "appStatus": { + "$ref": "#/types/databricks:index/AppAppStatus:AppAppStatus", + "description": "attribute\n" + }, + "computeStatus": { + "$ref": "#/types/databricks:index/AppComputeStatus:AppComputeStatus", + "description": "attribute\n" + }, + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" + }, + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" + }, + "defaultSourceCodePath": { + "type": "string", + "description": "The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.\n" + }, + "description": { + "type": "string", + "description": "The description of the app.\n" + }, + "name": { + "type": "string", + "description": "The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.\n" + }, + "pendingDeployment": { + "$ref": "#/types/databricks:index/AppPendingDeployment:AppPendingDeployment" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/AppResource:AppResource" + }, + "description": "A list of resources that the app have access to.\n" + }, + "servicePrincipalClientId": { + "type": "string" + }, + "servicePrincipalId": { + "type": "integer", + "description": "id of the app service principal\n" + }, + "servicePrincipalName": { + "type": "string", + "description": "name of the app service principal\n" + }, + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" + }, + "updater": { + "type": "string", + "description": "The email of the user that last updated the app.\n" + }, + "url": { + "type": "string", + "description": "The URL of the app once it is deployed.\n" + } + }, + "required": [ + "activeDeployment", + "appStatus", + "computeStatus", + "createTime", + "creator", + "defaultSourceCodePath", + "name", + "pendingDeployment", + "servicePrincipalClientId", + "servicePrincipalId", + "servicePrincipalName", + "updateTime", + "updater", + "url" + ], + "inputProperties": { + "description": { + "type": "string", + "description": "The description of the app.\n" + }, + "name": { + "type": "string", + "description": "The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.\n" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/AppResource:AppResource" + }, + "description": "A list of resources that the app have access to.\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering App resources.\n", + "properties": { + "activeDeployment": { + "$ref": "#/types/databricks:index/AppActiveDeployment:AppActiveDeployment" + }, + "appStatus": { + "$ref": "#/types/databricks:index/AppAppStatus:AppAppStatus", + "description": "attribute\n" + }, + "computeStatus": { + "$ref": "#/types/databricks:index/AppComputeStatus:AppComputeStatus", + "description": "attribute\n" + }, + "createTime": { + "type": "string", + "description": "The creation time of the app.\n" + }, + "creator": { + "type": "string", + "description": "The email of the user that created the app.\n" + }, + "defaultSourceCodePath": { + "type": "string", + "description": "The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment.\n" + }, + "description": { + "type": "string", + "description": "The description of the app.\n" + }, + "name": { + "type": "string", + "description": "The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.\n" + }, + "pendingDeployment": { + "$ref": "#/types/databricks:index/AppPendingDeployment:AppPendingDeployment" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/AppResource:AppResource" + }, + "description": "A list of resources that the app have access to.\n" + }, + "servicePrincipalClientId": { + "type": "string" + }, + "servicePrincipalId": { + "type": "integer", + "description": "id of the app service principal\n" + }, + "servicePrincipalName": { + "type": "string", + "description": "name of the app service principal\n" + }, + "updateTime": { + "type": "string", + "description": "The update time of the app.\n" + }, + "updater": { + "type": "string", + "description": "The email of the user that last updated the app.\n" + }, + "url": { + "type": "string", + "description": "The URL of the app once it is deployed.\n" + } + }, + "type": "object" + } + }, "databricks:index/artifactAllowlist:ArtifactAllowlist": { "description": "\u003e It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.\n\n\u003e This resource can only be used with a workspace-level provider!\n\nIn Databricks Runtime 13.3 and above, you can add libraries and init scripts to the allowlist in UC so that users can leverage these artifacts on compute configured with shared access mode.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst initScripts = new databricks.ArtifactAllowlist(\"init_scripts\", {\n artifactType: \"INIT_SCRIPT\",\n artifactMatchers: [{\n artifact: \"/Volumes/inits\",\n matchType: \"PREFIX_MATCH\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ninit_scripts = databricks.ArtifactAllowlist(\"init_scripts\",\n artifact_type=\"INIT_SCRIPT\",\n artifact_matchers=[{\n \"artifact\": \"/Volumes/inits\",\n \"match_type\": \"PREFIX_MATCH\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var initScripts = new Databricks.ArtifactAllowlist(\"init_scripts\", new()\n {\n ArtifactType = \"INIT_SCRIPT\",\n ArtifactMatchers = new[]\n {\n new Databricks.Inputs.ArtifactAllowlistArtifactMatcherArgs\n {\n Artifact = \"/Volumes/inits\",\n MatchType = \"PREFIX_MATCH\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewArtifactAllowlist(ctx, \"init_scripts\", \u0026databricks.ArtifactAllowlistArgs{\n\t\t\tArtifactType: pulumi.String(\"INIT_SCRIPT\"),\n\t\t\tArtifactMatchers: databricks.ArtifactAllowlistArtifactMatcherArray{\n\t\t\t\t\u0026databricks.ArtifactAllowlistArtifactMatcherArgs{\n\t\t\t\t\tArtifact: pulumi.String(\"/Volumes/inits\"),\n\t\t\t\t\tMatchType: pulumi.String(\"PREFIX_MATCH\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ArtifactAllowlist;\nimport com.pulumi.databricks.ArtifactAllowlistArgs;\nimport com.pulumi.databricks.inputs.ArtifactAllowlistArtifactMatcherArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var initScripts = new ArtifactAllowlist(\"initScripts\", ArtifactAllowlistArgs.builder()\n .artifactType(\"INIT_SCRIPT\")\n .artifactMatchers(ArtifactAllowlistArtifactMatcherArgs.builder()\n .artifact(\"/Volumes/inits\")\n .matchType(\"PREFIX_MATCH\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n initScripts:\n type: databricks:ArtifactAllowlist\n name: init_scripts\n properties:\n artifactType: INIT_SCRIPT\n artifactMatchers:\n - artifact: /Volumes/inits\n matchType: PREFIX_MATCH\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).\n* databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.\n\n## Import\n\nThis resource can be imported by name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/artifactAllowlist:ArtifactAllowlist this '\u003cmetastore_id\u003e|\u003cartifact_type\u003e'\n```\n\n", "properties": { @@ -18591,6 +20905,12 @@ "type": "boolean", "description": "boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number).\n" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -18653,6 +20973,9 @@ "url": { "type": "string" }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/ClusterWorkloadType:ClusterWorkloadType" } @@ -18752,6 +21075,12 @@ "type": "boolean", "description": "boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number).\n" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -18807,6 +21136,9 @@ }, "description": "SSH public key contents that will be added to each Spark node in this cluster. The corresponding private keys can be used to login with the user name ubuntu on port 2200. You can specify up to 10 keys.\n" }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/ClusterWorkloadType:ClusterWorkloadType" } @@ -18909,6 +21241,12 @@ "type": "boolean", "description": "boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number).\n" }, + "isSingleNode": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, "libraries": { "type": "array", "items": { @@ -18971,6 +21309,9 @@ "url": { "type": "string" }, + "useMlRuntime": { + "type": "boolean" + }, "workloadType": { "$ref": "#/types/databricks:index/ClusterWorkloadType:ClusterWorkloadType" } @@ -19285,6 +21626,249 @@ "type": "object" } }, + "databricks:index/credential:Credential": { + "description": "\u003e This resource can only be used with a workspace-level provider.\n\n\u003e This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).\n\nA credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential.\n\nThe type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`.\nThe caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it\n\nOn AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy.\n\n## Example Usage\n\nFor AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.Credential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n purpose: \"SERVICE\",\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n credential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"ACCESS\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.Credential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n purpose=\"SERVICE\",\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"ACCESS\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.Credential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.CredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Purpose = \"SERVICE\",\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n Credential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"ACCESS\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewCredential(ctx, \"external\", \u0026databricks.CredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.CredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tPurpose: pulumi.String(\"SERVICE\"),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ACCESS\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Credential;\nimport com.pulumi.databricks.CredentialArgs;\nimport com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new Credential(\"external\", CredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(CredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .purpose(\"SERVICE\")\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .credential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"ACCESS\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:Credential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n purpose: SERVICE\n comment: Managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n credential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - ACCESS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor Azure\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst externalMi = new databricks.Credential(\"external_mi\", {\n name: \"mi_credential\",\n azureManagedIdentity: {\n accessConnectorId: example.id,\n },\n purpose: \"SERVICE\",\n comment: \"Managed identity credential managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n credential: externalMi.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"ACCESS\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal_mi = databricks.Credential(\"external_mi\",\n name=\"mi_credential\",\n azure_managed_identity={\n \"access_connector_id\": example[\"id\"],\n },\n purpose=\"SERVICE\",\n comment=\"Managed identity credential managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n credential=external_mi.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"ACCESS\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var externalMi = new Databricks.Credential(\"external_mi\", new()\n {\n Name = \"mi_credential\",\n AzureManagedIdentity = new Databricks.Inputs.CredentialAzureManagedIdentityArgs\n {\n AccessConnectorId = example.Id,\n },\n Purpose = \"SERVICE\",\n Comment = \"Managed identity credential managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n Credential = externalMi.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"ACCESS\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternalMi, err := databricks.NewCredential(ctx, \"external_mi\", \u0026databricks.CredentialArgs{\n\t\t\tName: pulumi.String(\"mi_credential\"),\n\t\t\tAzureManagedIdentity: \u0026databricks.CredentialAzureManagedIdentityArgs{\n\t\t\t\tAccessConnectorId: pulumi.Any(example.Id),\n\t\t\t},\n\t\t\tPurpose: pulumi.String(\"SERVICE\"),\n\t\t\tComment: pulumi.String(\"Managed identity credential managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tCredential: externalMi.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ACCESS\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Credential;\nimport com.pulumi.databricks.CredentialArgs;\nimport com.pulumi.databricks.inputs.CredentialAzureManagedIdentityArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var externalMi = new Credential(\"externalMi\", CredentialArgs.builder()\n .name(\"mi_credential\")\n .azureManagedIdentity(CredentialAzureManagedIdentityArgs.builder()\n .accessConnectorId(example.id())\n .build())\n .purpose(\"SERVICE\")\n .comment(\"Managed identity credential managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .credential(externalMi.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"ACCESS\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n externalMi:\n type: databricks:Credential\n name: external_mi\n properties:\n name: mi_credential\n azureManagedIdentity:\n accessConnectorId: ${example.id}\n purpose: SERVICE\n comment: Managed identity credential managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n credential: ${externalMi.id}\n grants:\n - principal: Data Engineers\n privileges:\n - ACCESS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor GCP (only applicable when purpose is `STORAGE`)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst externalGcpSa = new databricks.Credential(\"external_gcp_sa\", {\n name: \"gcp_sa_credential\",\n databricksGcpServiceAccount: {},\n purpose: \"STORAGE\",\n comment: \"GCP SA credential managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n credential: externalGcpSa.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"ACCESS\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal_gcp_sa = databricks.Credential(\"external_gcp_sa\",\n name=\"gcp_sa_credential\",\n databricks_gcp_service_account={},\n purpose=\"STORAGE\",\n comment=\"GCP SA credential managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n credential=external_gcp_sa.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"ACCESS\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var externalGcpSa = new Databricks.Credential(\"external_gcp_sa\", new()\n {\n Name = \"gcp_sa_credential\",\n DatabricksGcpServiceAccount = null,\n Purpose = \"STORAGE\",\n Comment = \"GCP SA credential managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n Credential = externalGcpSa.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"ACCESS\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternalGcpSa, err := databricks.NewCredential(ctx, \"external_gcp_sa\", \u0026databricks.CredentialArgs{\n\t\t\tName: pulumi.String(\"gcp_sa_credential\"),\n\t\t\tDatabricksGcpServiceAccount: \u0026databricks.CredentialDatabricksGcpServiceAccountArgs{},\n\t\t\tPurpose: pulumi.String(\"STORAGE\"),\n\t\t\tComment: pulumi.String(\"GCP SA credential managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tCredential: externalGcpSa.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ACCESS\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Credential;\nimport com.pulumi.databricks.CredentialArgs;\nimport com.pulumi.databricks.inputs.CredentialDatabricksGcpServiceAccountArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var externalGcpSa = new Credential(\"externalGcpSa\", CredentialArgs.builder()\n .name(\"gcp_sa_credential\")\n .databricksGcpServiceAccount()\n .purpose(\"STORAGE\")\n .comment(\"GCP SA credential managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .credential(externalGcpSa.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"ACCESS\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n externalGcpSa:\n type: databricks:Credential\n name: external_gcp_sa\n properties:\n name: gcp_sa_credential\n databricksGcpServiceAccount: {}\n purpose: STORAGE\n comment: GCP SA credential managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n credential: ${externalGcpSa.id}\n grants:\n - principal: Data Engineers\n privileges:\n - ACCESS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/credential:Credential this \u003cname\u003e\n```\n\n", + "properties": { + "awsIamRole": { + "$ref": "#/types/databricks:index/CredentialAwsIamRole:CredentialAwsIamRole" + }, + "azureManagedIdentity": { + "$ref": "#/types/databricks:index/CredentialAzureManagedIdentity:CredentialAzureManagedIdentity" + }, + "azureServicePrincipal": { + "$ref": "#/types/databricks:index/CredentialAzureServicePrincipal:CredentialAzureServicePrincipal" + }, + "comment": { + "type": "string" + }, + "createdAt": { + "type": "integer" + }, + "createdBy": { + "type": "string" + }, + "credentialId": { + "type": "string", + "description": "Unique ID of the credential.\n" + }, + "databricksGcpServiceAccount": { + "$ref": "#/types/databricks:index/CredentialDatabricksGcpServiceAccount:CredentialDatabricksGcpServiceAccount" + }, + "forceDestroy": { + "type": "boolean", + "description": "Delete credential regardless of its dependencies.\n" + }, + "forceUpdate": { + "type": "boolean", + "description": "Update credential regardless of its dependents.\n" + }, + "fullName": { + "type": "string" + }, + "isolationMode": { + "type": "string", + "description": "Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace.\n\n`aws_iam_role` optional configuration block for credential details for AWS:\n" + }, + "metastoreId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.\n" + }, + "owner": { + "type": "string", + "description": "Username/groupname/sp application_id of the credential owner.\n" + }, + "purpose": { + "type": "string", + "description": "Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`.\n" + }, + "readOnly": { + "type": "boolean", + "description": "Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`.\n" + }, + "skipValidation": { + "type": "boolean", + "description": "Suppress validation errors if any \u0026 force save the credential.\n" + }, + "updatedAt": { + "type": "integer" + }, + "updatedBy": { + "type": "string" + }, + "usedForManagedStorage": { + "type": "boolean" + } + }, + "required": [ + "createdAt", + "createdBy", + "credentialId", + "databricksGcpServiceAccount", + "fullName", + "isolationMode", + "metastoreId", + "name", + "owner", + "purpose", + "updatedAt", + "updatedBy", + "usedForManagedStorage" + ], + "inputProperties": { + "awsIamRole": { + "$ref": "#/types/databricks:index/CredentialAwsIamRole:CredentialAwsIamRole" + }, + "azureManagedIdentity": { + "$ref": "#/types/databricks:index/CredentialAzureManagedIdentity:CredentialAzureManagedIdentity" + }, + "azureServicePrincipal": { + "$ref": "#/types/databricks:index/CredentialAzureServicePrincipal:CredentialAzureServicePrincipal" + }, + "comment": { + "type": "string" + }, + "createdAt": { + "type": "integer" + }, + "createdBy": { + "type": "string" + }, + "databricksGcpServiceAccount": { + "$ref": "#/types/databricks:index/CredentialDatabricksGcpServiceAccount:CredentialDatabricksGcpServiceAccount" + }, + "forceDestroy": { + "type": "boolean", + "description": "Delete credential regardless of its dependencies.\n" + }, + "forceUpdate": { + "type": "boolean", + "description": "Update credential regardless of its dependents.\n" + }, + "fullName": { + "type": "string" + }, + "isolationMode": { + "type": "string", + "description": "Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace.\n\n`aws_iam_role` optional configuration block for credential details for AWS:\n" + }, + "metastoreId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.\n" + }, + "owner": { + "type": "string", + "description": "Username/groupname/sp application_id of the credential owner.\n" + }, + "purpose": { + "type": "string", + "description": "Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`.\n" + }, + "readOnly": { + "type": "boolean", + "description": "Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`.\n" + }, + "skipValidation": { + "type": "boolean", + "description": "Suppress validation errors if any \u0026 force save the credential.\n" + }, + "updatedAt": { + "type": "integer" + }, + "updatedBy": { + "type": "string" + }, + "usedForManagedStorage": { + "type": "boolean" + } + }, + "requiredInputs": [ + "purpose" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Credential resources.\n", + "properties": { + "awsIamRole": { + "$ref": "#/types/databricks:index/CredentialAwsIamRole:CredentialAwsIamRole" + }, + "azureManagedIdentity": { + "$ref": "#/types/databricks:index/CredentialAzureManagedIdentity:CredentialAzureManagedIdentity" + }, + "azureServicePrincipal": { + "$ref": "#/types/databricks:index/CredentialAzureServicePrincipal:CredentialAzureServicePrincipal" + }, + "comment": { + "type": "string" + }, + "createdAt": { + "type": "integer" + }, + "createdBy": { + "type": "string" + }, + "credentialId": { + "type": "string", + "description": "Unique ID of the credential.\n" + }, + "databricksGcpServiceAccount": { + "$ref": "#/types/databricks:index/CredentialDatabricksGcpServiceAccount:CredentialDatabricksGcpServiceAccount" + }, + "forceDestroy": { + "type": "boolean", + "description": "Delete credential regardless of its dependencies.\n" + }, + "forceUpdate": { + "type": "boolean", + "description": "Update credential regardless of its dependents.\n" + }, + "fullName": { + "type": "string" + }, + "isolationMode": { + "type": "string", + "description": "Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace.\n\n`aws_iam_role` optional configuration block for credential details for AWS:\n" + }, + "metastoreId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.\n" + }, + "owner": { + "type": "string", + "description": "Username/groupname/sp application_id of the credential owner.\n" + }, + "purpose": { + "type": "string", + "description": "Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`.\n" + }, + "readOnly": { + "type": "boolean", + "description": "Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`.\n" + }, + "skipValidation": { + "type": "boolean", + "description": "Suppress validation errors if any \u0026 force save the credential.\n" + }, + "updatedAt": { + "type": "integer" + }, + "updatedBy": { + "type": "string" + }, + "usedForManagedStorage": { + "type": "boolean" + } + }, + "type": "object" + } + }, "databricks:index/customAppIntegration:CustomAppIntegration": { "description": "\u003e Initialize provider with `alias = \"account\"`, and `host` pointing to the account URL, like, `host = \"https://accounts.cloud.databricks.com\"`. Use `provider = databricks.account` for all account-level resources.\n\nThis resource allows you to enable [custom OAuth applications](https://docs.databricks.com/en/integrations/enable-disable-oauth.html#enable-custom-oauth-applications-using-the-databricks-ui).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.CustomAppIntegration(\"this\", {\n name: \"custom_integration_name\",\n redirectUrls: [\"https://example.com\"],\n scopes: [\"all-apis\"],\n tokenAccessPolicy: {\n accessTokenTtlInMinutes: 15,\n refreshTokenTtlInMinutes: 30,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.CustomAppIntegration(\"this\",\n name=\"custom_integration_name\",\n redirect_urls=[\"https://example.com\"],\n scopes=[\"all-apis\"],\n token_access_policy={\n \"access_token_ttl_in_minutes\": 15,\n \"refresh_token_ttl_in_minutes\": 30,\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.CustomAppIntegration(\"this\", new()\n {\n Name = \"custom_integration_name\",\n RedirectUrls = new[]\n {\n \"https://example.com\",\n },\n Scopes = new[]\n {\n \"all-apis\",\n },\n TokenAccessPolicy = new Databricks.Inputs.CustomAppIntegrationTokenAccessPolicyArgs\n {\n AccessTokenTtlInMinutes = 15,\n RefreshTokenTtlInMinutes = 30,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewCustomAppIntegration(ctx, \"this\", \u0026databricks.CustomAppIntegrationArgs{\n\t\t\tName: pulumi.String(\"custom_integration_name\"),\n\t\t\tRedirectUrls: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://example.com\"),\n\t\t\t},\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"all-apis\"),\n\t\t\t},\n\t\t\tTokenAccessPolicy: \u0026databricks.CustomAppIntegrationTokenAccessPolicyArgs{\n\t\t\t\tAccessTokenTtlInMinutes: pulumi.Int(15),\n\t\t\t\tRefreshTokenTtlInMinutes: pulumi.Int(30),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.CustomAppIntegration;\nimport com.pulumi.databricks.CustomAppIntegrationArgs;\nimport com.pulumi.databricks.inputs.CustomAppIntegrationTokenAccessPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new CustomAppIntegration(\"this\", CustomAppIntegrationArgs.builder()\n .name(\"custom_integration_name\")\n .redirectUrls(\"https://example.com\")\n .scopes(\"all-apis\")\n .tokenAccessPolicy(CustomAppIntegrationTokenAccessPolicyArgs.builder()\n .accessTokenTtlInMinutes(15)\n .refreshTokenTtlInMinutes(30)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:CustomAppIntegration\n properties:\n name: custom_integration_name\n redirectUrls:\n - https://example.com\n scopes:\n - all-apis\n tokenAccessPolicy:\n accessTokenTtlInMinutes: 15\n refreshTokenTtlInMinutes: 30\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the context:\n\n* databricks.MwsWorkspaces to set up Databricks workspaces.\n\n## Import\n\nThis resource can be imported by its integration ID.\n\n```sh\n$ pulumi import databricks:index/customAppIntegration:CustomAppIntegration this '\u003cintegration_id\u003e'\n```\n\n", "properties": { @@ -20415,11 +22999,14 @@ } }, "databricks:index/grant:Grant": { - "description": "\u003e This article refers to the privileges and inheritance model in Privilege Model version 1.0. If you created your metastore during the public preview (before August 25, 2022), you can upgrade to Privilege Model version 1.0 following [Upgrade to privilege inheritance](https://docs.databricks.com/data-governance/unity-catalog/hive-metastore.html)\n\n\u003e Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).\n\nIn Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.\n\nSecurable objects are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog. This means that granting a privilege on a catalog or schema automatically grants the privilege to all current and future objects within the catalog or schema. Privileges that are granted on a metastore are not inherited.\n\nEvery `databricks.Grant` resource must have exactly one securable identifier and the following arguments:\n\n- `principal` - User name, group name or service principal application ID.\n- `privileges` - One or more privileges that are specific to a securable type.\n\nFor the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)\n\nPulumi will handle any configuration drift for the specified principal on every `pulumi up` run, even when grants are changed outside of Pulumi state.\n\nSee databricks.Grants for the list of privilege types that apply to each securable object.\n\n## Metastore grants\n\nSee databricks.Grants Metastore grants for the list of privileges that apply to Metastores.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandboxDataEngineers = new databricks.Grant(\"sandbox_data_engineers\", {\n metastore: \"metastore_id\",\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ],\n});\nconst sandboxDataSharer = new databricks.Grant(\"sandbox_data_sharer\", {\n metastore: \"metastore_id\",\n principal: \"Data Sharer\",\n privileges: [\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox_data_engineers = databricks.Grant(\"sandbox_data_engineers\",\n metastore=\"metastore_id\",\n principal=\"Data Engineers\",\n privileges=[\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ])\nsandbox_data_sharer = databricks.Grant(\"sandbox_data_sharer\",\n metastore=\"metastore_id\",\n principal=\"Data Sharer\",\n privileges=[\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandboxDataEngineers = new Databricks.Grant(\"sandbox_data_engineers\", new()\n {\n Metastore = \"metastore_id\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n },\n });\n\n var sandboxDataSharer = new Databricks.Grant(\"sandbox_data_sharer\", new()\n {\n Metastore = \"metastore_id\",\n Principal = \"Data Sharer\",\n Privileges = new[]\n {\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"sandbox_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tMetastore: pulumi.String(\"metastore_id\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_CATALOG\"),\n\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_LOCATION\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_sharer\", \u0026databricks.GrantArgs{\n\t\t\tMetastore: pulumi.String(\"metastore_id\"),\n\t\t\tPrincipal: pulumi.String(\"Data Sharer\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_RECIPIENT\"),\n\t\t\t\tpulumi.String(\"CREATE_SHARE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandboxDataEngineers = new Grant(\"sandboxDataEngineers\", GrantArgs.builder()\n .metastore(\"metastore_id\")\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\")\n .build());\n\n var sandboxDataSharer = new Grant(\"sandboxDataSharer\", GrantArgs.builder()\n .metastore(\"metastore_id\")\n .principal(\"Data Sharer\")\n .privileges( \n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandboxDataEngineers:\n type: databricks:Grant\n name: sandbox_data_engineers\n properties:\n metastore: metastore_id\n principal: Data Engineers\n privileges:\n - CREATE_CATALOG\n - CREATE_EXTERNAL_LOCATION\n sandboxDataSharer:\n type: databricks:Grant\n name: sandbox_data_sharer\n properties:\n metastore: metastore_id\n principal: Data Sharer\n privileges:\n - CREATE_RECIPIENT\n - CREATE_SHARE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Catalog grants\n\nSee databricks.Grants Catalog grants for the list of privileges that apply to Catalogs.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n comment: \"this catalog is managed by terraform\",\n properties: {\n purpose: \"testing\",\n },\n});\nconst sandboxDataScientists = new databricks.Grant(\"sandbox_data_scientists\", {\n catalog: sandbox.name,\n principal: \"Data Scientists\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ],\n});\nconst sandboxDataEngineers = new databricks.Grant(\"sandbox_data_engineers\", {\n catalog: sandbox.name,\n principal: \"Data Engineers\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ],\n});\nconst sandboxDataAnalyst = new databricks.Grant(\"sandbox_data_analyst\", {\n catalog: sandbox.name,\n principal: \"Data Analyst\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n comment=\"this catalog is managed by terraform\",\n properties={\n \"purpose\": \"testing\",\n })\nsandbox_data_scientists = databricks.Grant(\"sandbox_data_scientists\",\n catalog=sandbox.name,\n principal=\"Data Scientists\",\n privileges=[\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ])\nsandbox_data_engineers = databricks.Grant(\"sandbox_data_engineers\",\n catalog=sandbox.name,\n principal=\"Data Engineers\",\n privileges=[\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ])\nsandbox_data_analyst = databricks.Grant(\"sandbox_data_analyst\",\n catalog=sandbox.name,\n principal=\"Data Analyst\",\n privileges=[\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n Comment = \"this catalog is managed by terraform\",\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var sandboxDataScientists = new Databricks.Grant(\"sandbox_data_scientists\", new()\n {\n Catalog = sandbox.Name,\n Principal = \"Data Scientists\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n },\n });\n\n var sandboxDataEngineers = new Databricks.Grant(\"sandbox_data_engineers\", new()\n {\n Catalog = sandbox.Name,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n },\n });\n\n var sandboxDataAnalyst = new Databricks.Grant(\"sandbox_data_analyst\", new()\n {\n Catalog = sandbox.Name,\n Principal = \"Data Analyst\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tComment: pulumi.String(\"this catalog is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_scientists\", \u0026databricks.GrantArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Scientists\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"CREATE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_analyst\", \u0026databricks.GrantArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Analyst\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var sandboxDataScientists = new Grant(\"sandboxDataScientists\", GrantArgs.builder()\n .catalog(sandbox.name())\n .principal(\"Data Scientists\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\")\n .build());\n\n var sandboxDataEngineers = new Grant(\"sandboxDataEngineers\", GrantArgs.builder()\n .catalog(sandbox.name())\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\")\n .build());\n\n var sandboxDataAnalyst = new Grant(\"sandboxDataAnalyst\", GrantArgs.builder()\n .catalog(sandbox.name())\n .principal(\"Data Analyst\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n sandboxDataScientists:\n type: databricks:Grant\n name: sandbox_data_scientists\n properties:\n catalog: ${sandbox.name}\n principal: Data Scientists\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_TABLE\n - SELECT\n sandboxDataEngineers:\n type: databricks:Grant\n name: sandbox_data_engineers\n properties:\n catalog: ${sandbox.name}\n principal: Data Engineers\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_SCHEMA\n - CREATE_TABLE\n - MODIFY\n sandboxDataAnalyst:\n type: databricks:Grant\n name: sandbox_data_analyst\n properties:\n catalog: ${sandbox.name}\n principal: Data Analyst\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Schema grants\n\nSee databricks.Grants Schema grants for the list of privileges that apply to Schemas.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst things = new databricks.Schema(\"things\", {\n catalogName: sandbox.id,\n name: \"things\",\n comment: \"this schema is managed by terraform\",\n properties: {\n kind: \"various\",\n },\n});\nconst thingsGrant = new databricks.Grant(\"things\", {\n schema: things.id,\n principal: \"Data Engineers\",\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.Schema(\"things\",\n catalog_name=sandbox[\"id\"],\n name=\"things\",\n comment=\"this schema is managed by terraform\",\n properties={\n \"kind\": \"various\",\n })\nthings_grant = databricks.Grant(\"things\",\n schema=things.id,\n principal=\"Data Engineers\",\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var things = new Databricks.Schema(\"things\", new()\n {\n CatalogName = sandbox.Id,\n Name = \"things\",\n Comment = \"this schema is managed by terraform\",\n Properties = \n {\n { \"kind\", \"various\" },\n },\n });\n\n var thingsGrant = new Databricks.Grant(\"things\", new()\n {\n Schema = things.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.NewSchema(ctx, \"things\", \u0026databricks.SchemaArgs{\n\t\t\tCatalogName: pulumi.Any(sandbox.Id),\n\t\t\tName: pulumi.String(\"things\"),\n\t\t\tComment: pulumi.String(\"this schema is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"kind\": pulumi.String(\"various\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"things\", \u0026databricks.GrantArgs{\n\t\t\tSchema: things.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Schema;\nimport com.pulumi.databricks.SchemaArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var things = new Schema(\"things\", SchemaArgs.builder()\n .catalogName(sandbox.id())\n .name(\"things\")\n .comment(\"this schema is managed by terraform\")\n .properties(Map.of(\"kind\", \"various\"))\n .build());\n\n var thingsGrant = new Grant(\"thingsGrant\", GrantArgs.builder()\n .schema(things.id())\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n things:\n type: databricks:Schema\n properties:\n catalogName: ${sandbox.id}\n name: things\n comment: this schema is managed by terraform\n properties:\n kind: various\n thingsGrant:\n type: databricks:Grant\n name: things\n properties:\n schema: ${things.id}\n principal: Data Engineers\n privileges:\n - USE_SCHEMA\n - MODIFY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Table grants\n\nSee databricks.Grants Table grants for the list of privileges that apply to Tables.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customersDataEngineers = new databricks.Grant(\"customers_data_engineers\", {\n table: \"main.reporting.customers\",\n principal: \"Data Engineers\",\n privileges: [\n \"MODIFY\",\n \"SELECT\",\n ],\n});\nconst customersDataAnalysts = new databricks.Grant(\"customers_data_analysts\", {\n table: \"main.reporting.customers\",\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers_data_engineers = databricks.Grant(\"customers_data_engineers\",\n table=\"main.reporting.customers\",\n principal=\"Data Engineers\",\n privileges=[\n \"MODIFY\",\n \"SELECT\",\n ])\ncustomers_data_analysts = databricks.Grant(\"customers_data_analysts\",\n table=\"main.reporting.customers\",\n principal=\"Data Analysts\",\n privileges=[\"SELECT\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customersDataEngineers = new Databricks.Grant(\"customers_data_engineers\", new()\n {\n Table = \"main.reporting.customers\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"MODIFY\",\n \"SELECT\",\n },\n });\n\n var customersDataAnalysts = new Databricks.Grant(\"customers_data_analysts\", new()\n {\n Table = \"main.reporting.customers\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"customers_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customers\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"customers_data_analysts\", \u0026databricks.GrantArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customers\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customersDataEngineers = new Grant(\"customersDataEngineers\", GrantArgs.builder()\n .table(\"main.reporting.customers\")\n .principal(\"Data Engineers\")\n .privileges( \n \"MODIFY\",\n \"SELECT\")\n .build());\n\n var customersDataAnalysts = new Grant(\"customersDataAnalysts\", GrantArgs.builder()\n .table(\"main.reporting.customers\")\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customersDataEngineers:\n type: databricks:Grant\n name: customers_data_engineers\n properties:\n table: main.reporting.customers\n principal: Data Engineers\n privileges:\n - MODIFY\n - SELECT\n customersDataAnalysts:\n type: databricks:Grant\n name: customers_data_analysts\n properties:\n table: main.reporting.customers\n principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getTables data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const things = await databricks.getTables({\n catalogName: \"sandbox\",\n schemaName: \"things\",\n });\n const thingsGrant: databricks.Grant[] = [];\n for (const range of things.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n thingsGrant.push(new databricks.Grant(`things-${range.key}`, {\n table: range.value,\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.get_tables(catalog_name=\"sandbox\",\n schema_name=\"things\")\nthings_grant = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(things.ids)]:\n things_grant.append(databricks.Grant(f\"things-{range['key']}\",\n table=range[\"value\"],\n principal=\"sensitive\",\n privileges=[\n \"SELECT\",\n \"MODIFY\",\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var things = await Databricks.GetTables.InvokeAsync(new()\n {\n CatalogName = \"sandbox\",\n SchemaName = \"things\",\n });\n\n var thingsGrant = new List\u003cDatabricks.Grant\u003e();\n foreach (var range in )\n {\n thingsGrant.Add(new Databricks.Grant($\"things-{range.Key}\", new()\n {\n Table = range.Value,\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.GetTables(ctx, \u0026databricks.GetTablesArgs{\n\t\t\tCatalogName: \"sandbox\",\n\t\t\tSchemaName: \"things\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar thingsGrant []*databricks.Grant\n\t\tfor key0, val0 := range things.Ids {\n\t\t\t__res, err := databricks.NewGrant(ctx, fmt.Sprintf(\"things-%v\", key0), \u0026databricks.GrantArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tthingsGrant = append(thingsGrant, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetTablesArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var things = DatabricksFunctions.getTables(GetTablesArgs.builder()\n .catalogName(\"sandbox\")\n .schemaName(\"things\")\n .build());\n\n final var thingsGrant = things.applyValue(getTablesResult -\u003e {\n final var resources = new ArrayList\u003cGrant\u003e();\n for (var range : KeyedValue.of(getTablesResult.ids()) {\n var resource = new Grant(\"thingsGrant-\" + range.key(), GrantArgs.builder()\n .table(range.value())\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n thingsGrant:\n type: databricks:Grant\n name: things\n properties:\n table: ${range.value}\n principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n things:\n fn::invoke:\n function: databricks:getTables\n arguments:\n catalogName: sandbox\n schemaName: things\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## View grants\n\nSee databricks.Grants View grants for the list of privileges that apply to Views.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customer360 = new databricks.Grant(\"customer360\", {\n table: \"main.reporting.customer360\",\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomer360 = databricks.Grant(\"customer360\",\n table=\"main.reporting.customer360\",\n principal=\"Data Analysts\",\n privileges=[\"SELECT\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customer360 = new Databricks.Grant(\"customer360\", new()\n {\n Table = \"main.reporting.customer360\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"customer360\", \u0026databricks.GrantArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customer360\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customer360 = new Grant(\"customer360\", GrantArgs.builder()\n .table(\"main.reporting.customer360\")\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customer360:\n type: databricks:Grant\n properties:\n table: main.reporting.customer360\n principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getViews data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const customers = await databricks.getViews({\n catalogName: \"main\",\n schemaName: \"customers\",\n });\n const customersGrant: databricks.Grant[] = [];\n for (const range of customers.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n customersGrant.push(new databricks.Grant(`customers-${range.key}`, {\n table: range.value,\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.get_views(catalog_name=\"main\",\n schema_name=\"customers\")\ncustomers_grant = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(customers.ids)]:\n customers_grant.append(databricks.Grant(f\"customers-{range['key']}\",\n table=range[\"value\"],\n principal=\"sensitive\",\n privileges=[\n \"SELECT\",\n \"MODIFY\",\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var customers = await Databricks.GetViews.InvokeAsync(new()\n {\n CatalogName = \"main\",\n SchemaName = \"customers\",\n });\n\n var customersGrant = new List\u003cDatabricks.Grant\u003e();\n foreach (var range in )\n {\n customersGrant.Add(new Databricks.Grant($\"customers-{range.Key}\", new()\n {\n Table = range.Value,\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcustomers, err := databricks.GetViews(ctx, \u0026databricks.GetViewsArgs{\n\t\t\tCatalogName: \"main\",\n\t\t\tSchemaName: \"customers\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar customersGrant []*databricks.Grant\n\t\tfor key0, val0 := range customers.Ids {\n\t\t\t__res, err := databricks.NewGrant(ctx, fmt.Sprintf(\"customers-%v\", key0), \u0026databricks.GrantArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tcustomersGrant = append(customersGrant, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetViewsArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var customers = DatabricksFunctions.getViews(GetViewsArgs.builder()\n .catalogName(\"main\")\n .schemaName(\"customers\")\n .build());\n\n final var customersGrant = customers.applyValue(getViewsResult -\u003e {\n final var resources = new ArrayList\u003cGrant\u003e();\n for (var range : KeyedValue.of(getViewsResult.ids()) {\n var resource = new Grant(\"customersGrant-\" + range.key(), GrantArgs.builder()\n .table(range.value())\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n customersGrant:\n type: databricks:Grant\n name: customers\n properties:\n table: ${range.value}\n principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n customers:\n fn::invoke:\n function: databricks:getViews\n arguments:\n catalogName: main\n schemaName: customers\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Volume grants\n\nSee databricks.Grants Volume grants for the list of privileges that apply to Volumes.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.Volume(\"this\", {\n name: \"quickstart_volume\",\n catalogName: sandbox.name,\n schemaName: things.name,\n volumeType: \"EXTERNAL\",\n storageLocation: some.url,\n comment: \"this volume is managed by terraform\",\n});\nconst volume = new databricks.Grant(\"volume\", {\n volume: _this.id,\n principal: \"Data Engineers\",\n privileges: [\"WRITE_VOLUME\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.Volume(\"this\",\n name=\"quickstart_volume\",\n catalog_name=sandbox[\"name\"],\n schema_name=things[\"name\"],\n volume_type=\"EXTERNAL\",\n storage_location=some[\"url\"],\n comment=\"this volume is managed by terraform\")\nvolume = databricks.Grant(\"volume\",\n volume=this.id,\n principal=\"Data Engineers\",\n privileges=[\"WRITE_VOLUME\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.Volume(\"this\", new()\n {\n Name = \"quickstart_volume\",\n CatalogName = sandbox.Name,\n SchemaName = things.Name,\n VolumeType = \"EXTERNAL\",\n StorageLocation = some.Url,\n Comment = \"this volume is managed by terraform\",\n });\n\n var volume = new Databricks.Grant(\"volume\", new()\n {\n Volume = @this.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"WRITE_VOLUME\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewVolume(ctx, \"this\", \u0026databricks.VolumeArgs{\n\t\t\tName: pulumi.String(\"quickstart_volume\"),\n\t\t\tCatalogName: pulumi.Any(sandbox.Name),\n\t\t\tSchemaName: pulumi.Any(things.Name),\n\t\t\tVolumeType: pulumi.String(\"EXTERNAL\"),\n\t\t\tStorageLocation: pulumi.Any(some.Url),\n\t\t\tComment: pulumi.String(\"this volume is managed by terraform\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"volume\", \u0026databricks.GrantArgs{\n\t\t\tVolume: this.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"WRITE_VOLUME\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Volume;\nimport com.pulumi.databricks.VolumeArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new Volume(\"this\", VolumeArgs.builder()\n .name(\"quickstart_volume\")\n .catalogName(sandbox.name())\n .schemaName(things.name())\n .volumeType(\"EXTERNAL\")\n .storageLocation(some.url())\n .comment(\"this volume is managed by terraform\")\n .build());\n\n var volume = new Grant(\"volume\", GrantArgs.builder()\n .volume(this_.id())\n .principal(\"Data Engineers\")\n .privileges(\"WRITE_VOLUME\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:Volume\n properties:\n name: quickstart_volume\n catalogName: ${sandbox.name}\n schemaName: ${things.name}\n volumeType: EXTERNAL\n storageLocation: ${some.url}\n comment: this volume is managed by terraform\n volume:\n type: databricks:Grant\n properties:\n volume: ${this.id}\n principal: Data Engineers\n privileges:\n - WRITE_VOLUME\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Registered model grants\n\nSee databricks.Grants Registered model grants for the list of privileges that apply to Registered models.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customersDataEngineers = new databricks.Grant(\"customers_data_engineers\", {\n model: \"main.reporting.customer_model\",\n principal: \"Data Engineers\",\n privileges: [\n \"APPLY_TAG\",\n \"EXECUTE\",\n ],\n});\nconst customersDataAnalysts = new databricks.Grant(\"customers_data_analysts\", {\n model: \"main.reporting.customer_model\",\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers_data_engineers = databricks.Grant(\"customers_data_engineers\",\n model=\"main.reporting.customer_model\",\n principal=\"Data Engineers\",\n privileges=[\n \"APPLY_TAG\",\n \"EXECUTE\",\n ])\ncustomers_data_analysts = databricks.Grant(\"customers_data_analysts\",\n model=\"main.reporting.customer_model\",\n principal=\"Data Analysts\",\n privileges=[\"EXECUTE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customersDataEngineers = new Databricks.Grant(\"customers_data_engineers\", new()\n {\n Model = \"main.reporting.customer_model\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"APPLY_TAG\",\n \"EXECUTE\",\n },\n });\n\n var customersDataAnalysts = new Databricks.Grant(\"customers_data_analysts\", new()\n {\n Model = \"main.reporting.customer_model\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"customers_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tModel: pulumi.String(\"main.reporting.customer_model\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"APPLY_TAG\"),\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"customers_data_analysts\", \u0026databricks.GrantArgs{\n\t\t\tModel: pulumi.String(\"main.reporting.customer_model\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customersDataEngineers = new Grant(\"customersDataEngineers\", GrantArgs.builder()\n .model(\"main.reporting.customer_model\")\n .principal(\"Data Engineers\")\n .privileges( \n \"APPLY_TAG\",\n \"EXECUTE\")\n .build());\n\n var customersDataAnalysts = new Grant(\"customersDataAnalysts\", GrantArgs.builder()\n .model(\"main.reporting.customer_model\")\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customersDataEngineers:\n type: databricks:Grant\n name: customers_data_engineers\n properties:\n model: main.reporting.customer_model\n principal: Data Engineers\n privileges:\n - APPLY_TAG\n - EXECUTE\n customersDataAnalysts:\n type: databricks:Grant\n name: customers_data_analysts\n properties:\n model: main.reporting.customer_model\n principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Function grants\n\nSee databricks.Grants Function grants for the list of privileges that apply to Registered models.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst udfDataEngineers = new databricks.Grant(\"udf_data_engineers\", {\n \"function\": \"main.reporting.udf\",\n principal: \"Data Engineers\",\n privileges: [\"EXECUTE\"],\n});\nconst udfDataAnalysts = new databricks.Grant(\"udf_data_analysts\", {\n \"function\": \"main.reporting.udf\",\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nudf_data_engineers = databricks.Grant(\"udf_data_engineers\",\n function=\"main.reporting.udf\",\n principal=\"Data Engineers\",\n privileges=[\"EXECUTE\"])\nudf_data_analysts = databricks.Grant(\"udf_data_analysts\",\n function=\"main.reporting.udf\",\n principal=\"Data Analysts\",\n privileges=[\"EXECUTE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var udfDataEngineers = new Databricks.Grant(\"udf_data_engineers\", new()\n {\n Function = \"main.reporting.udf\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n });\n\n var udfDataAnalysts = new Databricks.Grant(\"udf_data_analysts\", new()\n {\n Function = \"main.reporting.udf\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"udf_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tFunction: pulumi.String(\"main.reporting.udf\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"udf_data_analysts\", \u0026databricks.GrantArgs{\n\t\t\tFunction: pulumi.String(\"main.reporting.udf\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var udfDataEngineers = new Grant(\"udfDataEngineers\", GrantArgs.builder()\n .function(\"main.reporting.udf\")\n .principal(\"Data Engineers\")\n .privileges(\"EXECUTE\")\n .build());\n\n var udfDataAnalysts = new Grant(\"udfDataAnalysts\", GrantArgs.builder()\n .function(\"main.reporting.udf\")\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n udfDataEngineers:\n type: databricks:Grant\n name: udf_data_engineers\n properties:\n function: main.reporting.udf\n principal: Data Engineers\n privileges:\n - EXECUTE\n udfDataAnalysts:\n type: databricks:Grant\n name: udf_data_analysts\n properties:\n function: main.reporting.udf\n principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Storage credential grants\n\nSee databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grant(\"external_creds\", {\n storageCredential: external.id,\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grant(\"external_creds\",\n storage_credential=external.id,\n principal=\"Data Engineers\",\n privileges=[\"CREATE_EXTERNAL_TABLE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grant(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"external_creds\", \u0026databricks.GrantArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grant(\"externalCreds\", GrantArgs.builder()\n .storageCredential(external.id())\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n comment: Managed by TF\n externalCreds:\n type: databricks:Grant\n name: external_creds\n properties:\n storageCredential: ${external.id}\n principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## External location grants\n\nSee databricks.Grants External location grants for the list of privileges that apply to External locations.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.ExternalLocation(\"some\", {\n name: \"external\",\n url: `s3://${externalAwsS3Bucket.id}/some`,\n credentialName: external.id,\n comment: \"Managed by TF\",\n});\nconst someDataEngineers = new databricks.Grant(\"some_data_engineers\", {\n externalLocation: some.id,\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n});\nconst someServicePrincipal = new databricks.Grant(\"some_service_principal\", {\n externalLocation: some.id,\n principal: mySp.applicationId,\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\nconst someGroup = new databricks.Grant(\"some_group\", {\n externalLocation: some.id,\n principal: myGroup.displayName,\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\nconst someUser = new databricks.Grant(\"some_user\", {\n externalLocation: some.id,\n principal: myUser.userName,\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.ExternalLocation(\"some\",\n name=\"external\",\n url=f\"s3://{external_aws_s3_bucket['id']}/some\",\n credential_name=external[\"id\"],\n comment=\"Managed by TF\")\nsome_data_engineers = databricks.Grant(\"some_data_engineers\",\n external_location=some.id,\n principal=\"Data Engineers\",\n privileges=[\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ])\nsome_service_principal = databricks.Grant(\"some_service_principal\",\n external_location=some.id,\n principal=my_sp[\"applicationId\"],\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\nsome_group = databricks.Grant(\"some_group\",\n external_location=some.id,\n principal=my_group[\"displayName\"],\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\nsome_user = databricks.Grant(\"some_user\",\n external_location=some.id,\n principal=my_user[\"userName\"],\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.ExternalLocation(\"some\", new()\n {\n Name = \"external\",\n Url = $\"s3://{externalAwsS3Bucket.Id}/some\",\n CredentialName = external.Id,\n Comment = \"Managed by TF\",\n });\n\n var someDataEngineers = new Databricks.Grant(\"some_data_engineers\", new()\n {\n ExternalLocation = some.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n });\n\n var someServicePrincipal = new Databricks.Grant(\"some_service_principal\", new()\n {\n ExternalLocation = some.Id,\n Principal = mySp.ApplicationId,\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n var someGroup = new Databricks.Grant(\"some_group\", new()\n {\n ExternalLocation = some.Id,\n Principal = myGroup.DisplayName,\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n var someUser = new Databricks.Grant(\"some_user\", new()\n {\n ExternalLocation = some.Id,\n Principal = myUser.UserName,\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewExternalLocation(ctx, \"some\", \u0026databricks.ExternalLocationArgs{\n\t\t\tName: pulumi.String(\"external\"),\n\t\t\tUrl: pulumi.Sprintf(\"s3://%v/some\", externalAwsS3Bucket.Id),\n\t\t\tCredentialName: pulumi.Any(external.Id),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_service_principal\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.Any(mySp.ApplicationId),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_group\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.Any(myGroup.DisplayName),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_user\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.Any(myUser.UserName),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ExternalLocation;\nimport com.pulumi.databricks.ExternalLocationArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new ExternalLocation(\"some\", ExternalLocationArgs.builder()\n .name(\"external\")\n .url(String.format(\"s3://%s/some\", externalAwsS3Bucket.id()))\n .credentialName(external.id())\n .comment(\"Managed by TF\")\n .build());\n\n var someDataEngineers = new Grant(\"someDataEngineers\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build());\n\n var someServicePrincipal = new Grant(\"someServicePrincipal\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(mySp.applicationId())\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n var someGroup = new Grant(\"someGroup\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(myGroup.displayName())\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n var someUser = new Grant(\"someUser\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(myUser.userName())\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:ExternalLocation\n properties:\n name: external\n url: s3://${externalAwsS3Bucket.id}/some\n credentialName: ${external.id}\n comment: Managed by TF\n someDataEngineers:\n type: databricks:Grant\n name: some_data_engineers\n properties:\n externalLocation: ${some.id}\n principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n someServicePrincipal:\n type: databricks:Grant\n name: some_service_principal\n properties:\n externalLocation: ${some.id}\n principal: ${mySp.applicationId}\n privileges:\n - USE_SCHEMA\n - MODIFY\n someGroup:\n type: databricks:Grant\n name: some_group\n properties:\n externalLocation: ${some.id}\n principal: ${myGroup.displayName}\n privileges:\n - USE_SCHEMA\n - MODIFY\n someUser:\n type: databricks:Grant\n name: some_user\n properties:\n externalLocation: ${some.id}\n principal: ${myUser.userName}\n privileges:\n - USE_SCHEMA\n - MODIFY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Connection grants\n\nSee databricks.Grants Connection grants for the list of privileges that apply to Connections.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst mysql = new databricks.Connection(\"mysql\", {\n name: \"mysql_connection\",\n connectionType: \"MYSQL\",\n comment: \"this is a connection to mysql db\",\n options: {\n host: \"test.mysql.database.azure.com\",\n port: \"3306\",\n user: \"user\",\n password: \"password\",\n },\n properties: {\n purpose: \"testing\",\n },\n});\nconst some = new databricks.Grant(\"some\", {\n foreignConnection: mysql.name,\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nmysql = databricks.Connection(\"mysql\",\n name=\"mysql_connection\",\n connection_type=\"MYSQL\",\n comment=\"this is a connection to mysql db\",\n options={\n \"host\": \"test.mysql.database.azure.com\",\n \"port\": \"3306\",\n \"user\": \"user\",\n \"password\": \"password\",\n },\n properties={\n \"purpose\": \"testing\",\n })\nsome = databricks.Grant(\"some\",\n foreign_connection=mysql.name,\n principal=\"Data Engineers\",\n privileges=[\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql = new Databricks.Connection(\"mysql\", new()\n {\n Name = \"mysql_connection\",\n ConnectionType = \"MYSQL\",\n Comment = \"this is a connection to mysql db\",\n Options = \n {\n { \"host\", \"test.mysql.database.azure.com\" },\n { \"port\", \"3306\" },\n { \"user\", \"user\" },\n { \"password\", \"password\" },\n },\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var some = new Databricks.Grant(\"some\", new()\n {\n ForeignConnection = mysql.Name,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmysql, err := databricks.NewConnection(ctx, \"mysql\", \u0026databricks.ConnectionArgs{\n\t\t\tName: pulumi.String(\"mysql_connection\"),\n\t\t\tConnectionType: pulumi.String(\"MYSQL\"),\n\t\t\tComment: pulumi.String(\"this is a connection to mysql db\"),\n\t\t\tOptions: pulumi.StringMap{\n\t\t\t\t\"host\": pulumi.String(\"test.mysql.database.azure.com\"),\n\t\t\t\t\"port\": pulumi.String(\"3306\"),\n\t\t\t\t\"user\": pulumi.String(\"user\"),\n\t\t\t\t\"password\": pulumi.String(\"password\"),\n\t\t\t},\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some\", \u0026databricks.GrantArgs{\n\t\t\tForeignConnection: mysql.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_FOREIGN_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_CONNECTION\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Connection;\nimport com.pulumi.databricks.ConnectionArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql = new Connection(\"mysql\", ConnectionArgs.builder()\n .name(\"mysql_connection\")\n .connectionType(\"MYSQL\")\n .comment(\"this is a connection to mysql db\")\n .options(Map.ofEntries(\n Map.entry(\"host\", \"test.mysql.database.azure.com\"),\n Map.entry(\"port\", \"3306\"),\n Map.entry(\"user\", \"user\"),\n Map.entry(\"password\", \"password\")\n ))\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var some = new Grant(\"some\", GrantArgs.builder()\n .foreignConnection(mysql.name())\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql:\n type: databricks:Connection\n properties:\n name: mysql_connection\n connectionType: MYSQL\n comment: this is a connection to mysql db\n options:\n host: test.mysql.database.azure.com\n port: '3306'\n user: user\n password: password\n properties:\n purpose: testing\n some:\n type: databricks:Grant\n properties:\n foreignConnection: ${mysql.name}\n principal: Data Engineers\n privileges:\n - CREATE_FOREIGN_CATALOG\n - USE_CONNECTION\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Delta Sharing share grants\n\nSee databricks.Grants Delta Sharing share grants for the list of privileges that apply to Delta Sharing shares.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.Share(\"some\", {name: \"my_share\"});\nconst someRecipient = new databricks.Recipient(\"some\", {name: \"my_recipient\"});\nconst someGrant = new databricks.Grant(\"some\", {\n share: some.name,\n principal: someRecipient.name,\n privileges: [\"SELECT\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.Share(\"some\", name=\"my_share\")\nsome_recipient = databricks.Recipient(\"some\", name=\"my_recipient\")\nsome_grant = databricks.Grant(\"some\",\n share=some.name,\n principal=some_recipient.name,\n privileges=[\"SELECT\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.Share(\"some\", new()\n {\n Name = \"my_share\",\n });\n\n var someRecipient = new Databricks.Recipient(\"some\", new()\n {\n Name = \"my_recipient\",\n });\n\n var someGrant = new Databricks.Grant(\"some\", new()\n {\n Share = some.Name,\n Principal = someRecipient.Name,\n Privileges = new[]\n {\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewShare(ctx, \"some\", \u0026databricks.ShareArgs{\n\t\t\tName: pulumi.String(\"my_share\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsomeRecipient, err := databricks.NewRecipient(ctx, \"some\", \u0026databricks.RecipientArgs{\n\t\t\tName: pulumi.String(\"my_recipient\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some\", \u0026databricks.GrantArgs{\n\t\t\tShare: some.Name,\n\t\t\tPrincipal: someRecipient.Name,\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Share;\nimport com.pulumi.databricks.ShareArgs;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new Share(\"some\", ShareArgs.builder()\n .name(\"my_share\")\n .build());\n\n var someRecipient = new Recipient(\"someRecipient\", RecipientArgs.builder()\n .name(\"my_recipient\")\n .build());\n\n var someGrant = new Grant(\"someGrant\", GrantArgs.builder()\n .share(some.name())\n .principal(someRecipient.name())\n .privileges(\"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:Share\n properties:\n name: my_share\n someRecipient:\n type: databricks:Recipient\n name: some\n properties:\n name: my_recipient\n someGrant:\n type: databricks:Grant\n name: some\n properties:\n share: ${some.name}\n principal: ${someRecipient.name}\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Other access control\n\nYou can control Databricks General Permissions through databricks.Permissions resource.\n\n## Import\n\nThe resource can be imported using combination of securable type (`table`, `catalog`, `foreign_connection`, ...), it's name and `principal`:\n\nbash\n\n```sh\n$ pulumi import databricks:index/grant:Grant this catalog/abc/user_name\n```\n\n", + "description": "\u003e This article refers to the privileges and inheritance model in Privilege Model version 1.0. If you created your metastore during the public preview (before August 25, 2022), you can upgrade to Privilege Model version 1.0 following [Upgrade to privilege inheritance](https://docs.databricks.com/data-governance/unity-catalog/hive-metastore.html)\n\n\u003e Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).\n\nIn Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.\n\nSecurable objects are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog. This means that granting a privilege on a catalog or schema automatically grants the privilege to all current and future objects within the catalog or schema. Privileges that are granted on a metastore are not inherited.\n\nEvery `databricks.Grant` resource must have exactly one securable identifier and the following arguments:\n\n- `principal` - User name, group name or service principal application ID.\n- `privileges` - One or more privileges that are specific to a securable type.\n\nFor the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)\n\nPulumi will handle any configuration drift for the specified principal on every `pulumi up` run, even when grants are changed outside of Pulumi state.\n\nSee databricks.Grants for the list of privilege types that apply to each securable object.\n\n## Metastore grants\n\nSee databricks.Grants Metastore grants for the list of privileges that apply to Metastores.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandboxDataEngineers = new databricks.Grant(\"sandbox_data_engineers\", {\n metastore: \"metastore_id\",\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ],\n});\nconst sandboxDataSharer = new databricks.Grant(\"sandbox_data_sharer\", {\n metastore: \"metastore_id\",\n principal: \"Data Sharer\",\n privileges: [\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox_data_engineers = databricks.Grant(\"sandbox_data_engineers\",\n metastore=\"metastore_id\",\n principal=\"Data Engineers\",\n privileges=[\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ])\nsandbox_data_sharer = databricks.Grant(\"sandbox_data_sharer\",\n metastore=\"metastore_id\",\n principal=\"Data Sharer\",\n privileges=[\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandboxDataEngineers = new Databricks.Grant(\"sandbox_data_engineers\", new()\n {\n Metastore = \"metastore_id\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n },\n });\n\n var sandboxDataSharer = new Databricks.Grant(\"sandbox_data_sharer\", new()\n {\n Metastore = \"metastore_id\",\n Principal = \"Data Sharer\",\n Privileges = new[]\n {\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"sandbox_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tMetastore: pulumi.String(\"metastore_id\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_CATALOG\"),\n\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_LOCATION\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_sharer\", \u0026databricks.GrantArgs{\n\t\t\tMetastore: pulumi.String(\"metastore_id\"),\n\t\t\tPrincipal: pulumi.String(\"Data Sharer\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_RECIPIENT\"),\n\t\t\t\tpulumi.String(\"CREATE_SHARE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandboxDataEngineers = new Grant(\"sandboxDataEngineers\", GrantArgs.builder()\n .metastore(\"metastore_id\")\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\")\n .build());\n\n var sandboxDataSharer = new Grant(\"sandboxDataSharer\", GrantArgs.builder()\n .metastore(\"metastore_id\")\n .principal(\"Data Sharer\")\n .privileges( \n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandboxDataEngineers:\n type: databricks:Grant\n name: sandbox_data_engineers\n properties:\n metastore: metastore_id\n principal: Data Engineers\n privileges:\n - CREATE_CATALOG\n - CREATE_EXTERNAL_LOCATION\n sandboxDataSharer:\n type: databricks:Grant\n name: sandbox_data_sharer\n properties:\n metastore: metastore_id\n principal: Data Sharer\n privileges:\n - CREATE_RECIPIENT\n - CREATE_SHARE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Catalog grants\n\nSee databricks.Grants Catalog grants for the list of privileges that apply to Catalogs.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n comment: \"this catalog is managed by terraform\",\n properties: {\n purpose: \"testing\",\n },\n});\nconst sandboxDataScientists = new databricks.Grant(\"sandbox_data_scientists\", {\n catalog: sandbox.name,\n principal: \"Data Scientists\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ],\n});\nconst sandboxDataEngineers = new databricks.Grant(\"sandbox_data_engineers\", {\n catalog: sandbox.name,\n principal: \"Data Engineers\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ],\n});\nconst sandboxDataAnalyst = new databricks.Grant(\"sandbox_data_analyst\", {\n catalog: sandbox.name,\n principal: \"Data Analyst\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n comment=\"this catalog is managed by terraform\",\n properties={\n \"purpose\": \"testing\",\n })\nsandbox_data_scientists = databricks.Grant(\"sandbox_data_scientists\",\n catalog=sandbox.name,\n principal=\"Data Scientists\",\n privileges=[\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ])\nsandbox_data_engineers = databricks.Grant(\"sandbox_data_engineers\",\n catalog=sandbox.name,\n principal=\"Data Engineers\",\n privileges=[\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ])\nsandbox_data_analyst = databricks.Grant(\"sandbox_data_analyst\",\n catalog=sandbox.name,\n principal=\"Data Analyst\",\n privileges=[\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n Comment = \"this catalog is managed by terraform\",\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var sandboxDataScientists = new Databricks.Grant(\"sandbox_data_scientists\", new()\n {\n Catalog = sandbox.Name,\n Principal = \"Data Scientists\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n },\n });\n\n var sandboxDataEngineers = new Databricks.Grant(\"sandbox_data_engineers\", new()\n {\n Catalog = sandbox.Name,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n },\n });\n\n var sandboxDataAnalyst = new Databricks.Grant(\"sandbox_data_analyst\", new()\n {\n Catalog = sandbox.Name,\n Principal = \"Data Analyst\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tComment: pulumi.String(\"this catalog is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_scientists\", \u0026databricks.GrantArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Scientists\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"CREATE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"sandbox_data_analyst\", \u0026databricks.GrantArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Analyst\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var sandboxDataScientists = new Grant(\"sandboxDataScientists\", GrantArgs.builder()\n .catalog(sandbox.name())\n .principal(\"Data Scientists\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\")\n .build());\n\n var sandboxDataEngineers = new Grant(\"sandboxDataEngineers\", GrantArgs.builder()\n .catalog(sandbox.name())\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\")\n .build());\n\n var sandboxDataAnalyst = new Grant(\"sandboxDataAnalyst\", GrantArgs.builder()\n .catalog(sandbox.name())\n .principal(\"Data Analyst\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n sandboxDataScientists:\n type: databricks:Grant\n name: sandbox_data_scientists\n properties:\n catalog: ${sandbox.name}\n principal: Data Scientists\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_TABLE\n - SELECT\n sandboxDataEngineers:\n type: databricks:Grant\n name: sandbox_data_engineers\n properties:\n catalog: ${sandbox.name}\n principal: Data Engineers\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_SCHEMA\n - CREATE_TABLE\n - MODIFY\n sandboxDataAnalyst:\n type: databricks:Grant\n name: sandbox_data_analyst\n properties:\n catalog: ${sandbox.name}\n principal: Data Analyst\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Schema grants\n\nSee databricks.Grants Schema grants for the list of privileges that apply to Schemas.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst things = new databricks.Schema(\"things\", {\n catalogName: sandbox.id,\n name: \"things\",\n comment: \"this schema is managed by terraform\",\n properties: {\n kind: \"various\",\n },\n});\nconst thingsGrant = new databricks.Grant(\"things\", {\n schema: things.id,\n principal: \"Data Engineers\",\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.Schema(\"things\",\n catalog_name=sandbox[\"id\"],\n name=\"things\",\n comment=\"this schema is managed by terraform\",\n properties={\n \"kind\": \"various\",\n })\nthings_grant = databricks.Grant(\"things\",\n schema=things.id,\n principal=\"Data Engineers\",\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var things = new Databricks.Schema(\"things\", new()\n {\n CatalogName = sandbox.Id,\n Name = \"things\",\n Comment = \"this schema is managed by terraform\",\n Properties = \n {\n { \"kind\", \"various\" },\n },\n });\n\n var thingsGrant = new Databricks.Grant(\"things\", new()\n {\n Schema = things.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.NewSchema(ctx, \"things\", \u0026databricks.SchemaArgs{\n\t\t\tCatalogName: pulumi.Any(sandbox.Id),\n\t\t\tName: pulumi.String(\"things\"),\n\t\t\tComment: pulumi.String(\"this schema is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"kind\": pulumi.String(\"various\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"things\", \u0026databricks.GrantArgs{\n\t\t\tSchema: things.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Schema;\nimport com.pulumi.databricks.SchemaArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var things = new Schema(\"things\", SchemaArgs.builder()\n .catalogName(sandbox.id())\n .name(\"things\")\n .comment(\"this schema is managed by terraform\")\n .properties(Map.of(\"kind\", \"various\"))\n .build());\n\n var thingsGrant = new Grant(\"thingsGrant\", GrantArgs.builder()\n .schema(things.id())\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n things:\n type: databricks:Schema\n properties:\n catalogName: ${sandbox.id}\n name: things\n comment: this schema is managed by terraform\n properties:\n kind: various\n thingsGrant:\n type: databricks:Grant\n name: things\n properties:\n schema: ${things.id}\n principal: Data Engineers\n privileges:\n - USE_SCHEMA\n - MODIFY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Table grants\n\nSee databricks.Grants Table grants for the list of privileges that apply to Tables.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customersDataEngineers = new databricks.Grant(\"customers_data_engineers\", {\n table: \"main.reporting.customers\",\n principal: \"Data Engineers\",\n privileges: [\n \"MODIFY\",\n \"SELECT\",\n ],\n});\nconst customersDataAnalysts = new databricks.Grant(\"customers_data_analysts\", {\n table: \"main.reporting.customers\",\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers_data_engineers = databricks.Grant(\"customers_data_engineers\",\n table=\"main.reporting.customers\",\n principal=\"Data Engineers\",\n privileges=[\n \"MODIFY\",\n \"SELECT\",\n ])\ncustomers_data_analysts = databricks.Grant(\"customers_data_analysts\",\n table=\"main.reporting.customers\",\n principal=\"Data Analysts\",\n privileges=[\"SELECT\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customersDataEngineers = new Databricks.Grant(\"customers_data_engineers\", new()\n {\n Table = \"main.reporting.customers\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"MODIFY\",\n \"SELECT\",\n },\n });\n\n var customersDataAnalysts = new Databricks.Grant(\"customers_data_analysts\", new()\n {\n Table = \"main.reporting.customers\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"customers_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customers\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"customers_data_analysts\", \u0026databricks.GrantArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customers\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customersDataEngineers = new Grant(\"customersDataEngineers\", GrantArgs.builder()\n .table(\"main.reporting.customers\")\n .principal(\"Data Engineers\")\n .privileges( \n \"MODIFY\",\n \"SELECT\")\n .build());\n\n var customersDataAnalysts = new Grant(\"customersDataAnalysts\", GrantArgs.builder()\n .table(\"main.reporting.customers\")\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customersDataEngineers:\n type: databricks:Grant\n name: customers_data_engineers\n properties:\n table: main.reporting.customers\n principal: Data Engineers\n privileges:\n - MODIFY\n - SELECT\n customersDataAnalysts:\n type: databricks:Grant\n name: customers_data_analysts\n properties:\n table: main.reporting.customers\n principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getTables data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const things = await databricks.getTables({\n catalogName: \"sandbox\",\n schemaName: \"things\",\n });\n const thingsGrant: databricks.Grant[] = [];\n for (const range of things.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n thingsGrant.push(new databricks.Grant(`things-${range.key}`, {\n table: range.value,\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.get_tables(catalog_name=\"sandbox\",\n schema_name=\"things\")\nthings_grant = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(things.ids)]:\n things_grant.append(databricks.Grant(f\"things-{range['key']}\",\n table=range[\"value\"],\n principal=\"sensitive\",\n privileges=[\n \"SELECT\",\n \"MODIFY\",\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var things = await Databricks.GetTables.InvokeAsync(new()\n {\n CatalogName = \"sandbox\",\n SchemaName = \"things\",\n });\n\n var thingsGrant = new List\u003cDatabricks.Grant\u003e();\n foreach (var range in )\n {\n thingsGrant.Add(new Databricks.Grant($\"things-{range.Key}\", new()\n {\n Table = range.Value,\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.GetTables(ctx, \u0026databricks.GetTablesArgs{\n\t\t\tCatalogName: \"sandbox\",\n\t\t\tSchemaName: \"things\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar thingsGrant []*databricks.Grant\n\t\tfor key0, val0 := range things.Ids {\n\t\t\t__res, err := databricks.NewGrant(ctx, fmt.Sprintf(\"things-%v\", key0), \u0026databricks.GrantArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tthingsGrant = append(thingsGrant, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetTablesArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var things = DatabricksFunctions.getTables(GetTablesArgs.builder()\n .catalogName(\"sandbox\")\n .schemaName(\"things\")\n .build());\n\n final var thingsGrant = things.applyValue(getTablesResult -\u003e {\n final var resources = new ArrayList\u003cGrant\u003e();\n for (var range : KeyedValue.of(getTablesResult.ids()) {\n var resource = new Grant(\"thingsGrant-\" + range.key(), GrantArgs.builder()\n .table(range.value())\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n thingsGrant:\n type: databricks:Grant\n name: things\n properties:\n table: ${range.value}\n principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n things:\n fn::invoke:\n function: databricks:getTables\n arguments:\n catalogName: sandbox\n schemaName: things\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## View grants\n\nSee databricks.Grants View grants for the list of privileges that apply to Views.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customer360 = new databricks.Grant(\"customer360\", {\n table: \"main.reporting.customer360\",\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomer360 = databricks.Grant(\"customer360\",\n table=\"main.reporting.customer360\",\n principal=\"Data Analysts\",\n privileges=[\"SELECT\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customer360 = new Databricks.Grant(\"customer360\", new()\n {\n Table = \"main.reporting.customer360\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"customer360\", \u0026databricks.GrantArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customer360\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customer360 = new Grant(\"customer360\", GrantArgs.builder()\n .table(\"main.reporting.customer360\")\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customer360:\n type: databricks:Grant\n properties:\n table: main.reporting.customer360\n principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getViews data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const customers = await databricks.getViews({\n catalogName: \"main\",\n schemaName: \"customers\",\n });\n const customersGrant: databricks.Grant[] = [];\n for (const range of customers.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n customersGrant.push(new databricks.Grant(`customers-${range.key}`, {\n table: range.value,\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.get_views(catalog_name=\"main\",\n schema_name=\"customers\")\ncustomers_grant = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(customers.ids)]:\n customers_grant.append(databricks.Grant(f\"customers-{range['key']}\",\n table=range[\"value\"],\n principal=\"sensitive\",\n privileges=[\n \"SELECT\",\n \"MODIFY\",\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var customers = await Databricks.GetViews.InvokeAsync(new()\n {\n CatalogName = \"main\",\n SchemaName = \"customers\",\n });\n\n var customersGrant = new List\u003cDatabricks.Grant\u003e();\n foreach (var range in )\n {\n customersGrant.Add(new Databricks.Grant($\"customers-{range.Key}\", new()\n {\n Table = range.Value,\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcustomers, err := databricks.GetViews(ctx, \u0026databricks.GetViewsArgs{\n\t\t\tCatalogName: \"main\",\n\t\t\tSchemaName: \"customers\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar customersGrant []*databricks.Grant\n\t\tfor key0, val0 := range customers.Ids {\n\t\t\t__res, err := databricks.NewGrant(ctx, fmt.Sprintf(\"customers-%v\", key0), \u0026databricks.GrantArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tcustomersGrant = append(customersGrant, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetViewsArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var customers = DatabricksFunctions.getViews(GetViewsArgs.builder()\n .catalogName(\"main\")\n .schemaName(\"customers\")\n .build());\n\n final var customersGrant = customers.applyValue(getViewsResult -\u003e {\n final var resources = new ArrayList\u003cGrant\u003e();\n for (var range : KeyedValue.of(getViewsResult.ids()) {\n var resource = new Grant(\"customersGrant-\" + range.key(), GrantArgs.builder()\n .table(range.value())\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n customersGrant:\n type: databricks:Grant\n name: customers\n properties:\n table: ${range.value}\n principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n customers:\n fn::invoke:\n function: databricks:getViews\n arguments:\n catalogName: main\n schemaName: customers\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Volume grants\n\nSee databricks.Grants Volume grants for the list of privileges that apply to Volumes.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.Volume(\"this\", {\n name: \"quickstart_volume\",\n catalogName: sandbox.name,\n schemaName: things.name,\n volumeType: \"EXTERNAL\",\n storageLocation: some.url,\n comment: \"this volume is managed by terraform\",\n});\nconst volume = new databricks.Grant(\"volume\", {\n volume: _this.id,\n principal: \"Data Engineers\",\n privileges: [\"WRITE_VOLUME\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.Volume(\"this\",\n name=\"quickstart_volume\",\n catalog_name=sandbox[\"name\"],\n schema_name=things[\"name\"],\n volume_type=\"EXTERNAL\",\n storage_location=some[\"url\"],\n comment=\"this volume is managed by terraform\")\nvolume = databricks.Grant(\"volume\",\n volume=this.id,\n principal=\"Data Engineers\",\n privileges=[\"WRITE_VOLUME\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.Volume(\"this\", new()\n {\n Name = \"quickstart_volume\",\n CatalogName = sandbox.Name,\n SchemaName = things.Name,\n VolumeType = \"EXTERNAL\",\n StorageLocation = some.Url,\n Comment = \"this volume is managed by terraform\",\n });\n\n var volume = new Databricks.Grant(\"volume\", new()\n {\n Volume = @this.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"WRITE_VOLUME\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewVolume(ctx, \"this\", \u0026databricks.VolumeArgs{\n\t\t\tName: pulumi.String(\"quickstart_volume\"),\n\t\t\tCatalogName: pulumi.Any(sandbox.Name),\n\t\t\tSchemaName: pulumi.Any(things.Name),\n\t\t\tVolumeType: pulumi.String(\"EXTERNAL\"),\n\t\t\tStorageLocation: pulumi.Any(some.Url),\n\t\t\tComment: pulumi.String(\"this volume is managed by terraform\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"volume\", \u0026databricks.GrantArgs{\n\t\t\tVolume: this.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"WRITE_VOLUME\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Volume;\nimport com.pulumi.databricks.VolumeArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new Volume(\"this\", VolumeArgs.builder()\n .name(\"quickstart_volume\")\n .catalogName(sandbox.name())\n .schemaName(things.name())\n .volumeType(\"EXTERNAL\")\n .storageLocation(some.url())\n .comment(\"this volume is managed by terraform\")\n .build());\n\n var volume = new Grant(\"volume\", GrantArgs.builder()\n .volume(this_.id())\n .principal(\"Data Engineers\")\n .privileges(\"WRITE_VOLUME\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:Volume\n properties:\n name: quickstart_volume\n catalogName: ${sandbox.name}\n schemaName: ${things.name}\n volumeType: EXTERNAL\n storageLocation: ${some.url}\n comment: this volume is managed by terraform\n volume:\n type: databricks:Grant\n properties:\n volume: ${this.id}\n principal: Data Engineers\n privileges:\n - WRITE_VOLUME\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Registered model grants\n\nSee databricks.Grants Registered model grants for the list of privileges that apply to Registered models.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customersDataEngineers = new databricks.Grant(\"customers_data_engineers\", {\n model: \"main.reporting.customer_model\",\n principal: \"Data Engineers\",\n privileges: [\n \"APPLY_TAG\",\n \"EXECUTE\",\n ],\n});\nconst customersDataAnalysts = new databricks.Grant(\"customers_data_analysts\", {\n model: \"main.reporting.customer_model\",\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers_data_engineers = databricks.Grant(\"customers_data_engineers\",\n model=\"main.reporting.customer_model\",\n principal=\"Data Engineers\",\n privileges=[\n \"APPLY_TAG\",\n \"EXECUTE\",\n ])\ncustomers_data_analysts = databricks.Grant(\"customers_data_analysts\",\n model=\"main.reporting.customer_model\",\n principal=\"Data Analysts\",\n privileges=[\"EXECUTE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customersDataEngineers = new Databricks.Grant(\"customers_data_engineers\", new()\n {\n Model = \"main.reporting.customer_model\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"APPLY_TAG\",\n \"EXECUTE\",\n },\n });\n\n var customersDataAnalysts = new Databricks.Grant(\"customers_data_analysts\", new()\n {\n Model = \"main.reporting.customer_model\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"customers_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tModel: pulumi.String(\"main.reporting.customer_model\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"APPLY_TAG\"),\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"customers_data_analysts\", \u0026databricks.GrantArgs{\n\t\t\tModel: pulumi.String(\"main.reporting.customer_model\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customersDataEngineers = new Grant(\"customersDataEngineers\", GrantArgs.builder()\n .model(\"main.reporting.customer_model\")\n .principal(\"Data Engineers\")\n .privileges( \n \"APPLY_TAG\",\n \"EXECUTE\")\n .build());\n\n var customersDataAnalysts = new Grant(\"customersDataAnalysts\", GrantArgs.builder()\n .model(\"main.reporting.customer_model\")\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customersDataEngineers:\n type: databricks:Grant\n name: customers_data_engineers\n properties:\n model: main.reporting.customer_model\n principal: Data Engineers\n privileges:\n - APPLY_TAG\n - EXECUTE\n customersDataAnalysts:\n type: databricks:Grant\n name: customers_data_analysts\n properties:\n model: main.reporting.customer_model\n principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Function grants\n\nSee databricks.Grants Function grants for the list of privileges that apply to Registered models.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst udfDataEngineers = new databricks.Grant(\"udf_data_engineers\", {\n \"function\": \"main.reporting.udf\",\n principal: \"Data Engineers\",\n privileges: [\"EXECUTE\"],\n});\nconst udfDataAnalysts = new databricks.Grant(\"udf_data_analysts\", {\n \"function\": \"main.reporting.udf\",\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nudf_data_engineers = databricks.Grant(\"udf_data_engineers\",\n function=\"main.reporting.udf\",\n principal=\"Data Engineers\",\n privileges=[\"EXECUTE\"])\nudf_data_analysts = databricks.Grant(\"udf_data_analysts\",\n function=\"main.reporting.udf\",\n principal=\"Data Analysts\",\n privileges=[\"EXECUTE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var udfDataEngineers = new Databricks.Grant(\"udf_data_engineers\", new()\n {\n Function = \"main.reporting.udf\",\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n });\n\n var udfDataAnalysts = new Databricks.Grant(\"udf_data_analysts\", new()\n {\n Function = \"main.reporting.udf\",\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrant(ctx, \"udf_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tFunction: pulumi.String(\"main.reporting.udf\"),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"udf_data_analysts\", \u0026databricks.GrantArgs{\n\t\t\tFunction: pulumi.String(\"main.reporting.udf\"),\n\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var udfDataEngineers = new Grant(\"udfDataEngineers\", GrantArgs.builder()\n .function(\"main.reporting.udf\")\n .principal(\"Data Engineers\")\n .privileges(\"EXECUTE\")\n .build());\n\n var udfDataAnalysts = new Grant(\"udfDataAnalysts\", GrantArgs.builder()\n .function(\"main.reporting.udf\")\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n udfDataEngineers:\n type: databricks:Grant\n name: udf_data_engineers\n properties:\n function: main.reporting.udf\n principal: Data Engineers\n privileges:\n - EXECUTE\n udfDataAnalysts:\n type: databricks:Grant\n name: udf_data_analysts\n properties:\n function: main.reporting.udf\n principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Service credential grants\n\nSee databricks.Grants Service credential grants for the list of privileges that apply to Service credentials.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.Credential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n purpose: \"SERVICE\",\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grant(\"external_creds\", {\n credential: external.id,\n principal: \"Data Engineers\",\n privileges: [\"ACCESS\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.Credential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n purpose=\"SERVICE\",\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grant(\"external_creds\",\n credential=external.id,\n principal=\"Data Engineers\",\n privileges=[\"ACCESS\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.Credential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.CredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Purpose = \"SERVICE\",\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grant(\"external_creds\", new()\n {\n Credential = external.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"ACCESS\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewCredential(ctx, \"external\", \u0026databricks.CredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.CredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tPurpose: pulumi.String(\"SERVICE\"),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"external_creds\", \u0026databricks.GrantArgs{\n\t\t\tCredential: external.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ACCESS\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Credential;\nimport com.pulumi.databricks.CredentialArgs;\nimport com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new Credential(\"external\", CredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(CredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .purpose(\"SERVICE\")\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grant(\"externalCreds\", GrantArgs.builder()\n .credential(external.id())\n .principal(\"Data Engineers\")\n .privileges(\"ACCESS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:Credential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n purpose: SERVICE\n comment: Managed by TF\n externalCreds:\n type: databricks:Grant\n name: external_creds\n properties:\n credential: ${external.id}\n principal: Data Engineers\n privileges:\n - ACCESS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Storage credential grants\n\nSee databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grant(\"external_creds\", {\n storageCredential: external.id,\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grant(\"external_creds\",\n storage_credential=external.id,\n principal=\"Data Engineers\",\n privileges=[\"CREATE_EXTERNAL_TABLE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grant(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"external_creds\", \u0026databricks.GrantArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grant(\"externalCreds\", GrantArgs.builder()\n .storageCredential(external.id())\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n comment: Managed by TF\n externalCreds:\n type: databricks:Grant\n name: external_creds\n properties:\n storageCredential: ${external.id}\n principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## External location grants\n\nSee databricks.Grants External location grants for the list of privileges that apply to External locations.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.ExternalLocation(\"some\", {\n name: \"external\",\n url: `s3://${externalAwsS3Bucket.id}/some`,\n credentialName: external.id,\n comment: \"Managed by TF\",\n});\nconst someDataEngineers = new databricks.Grant(\"some_data_engineers\", {\n externalLocation: some.id,\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n});\nconst someServicePrincipal = new databricks.Grant(\"some_service_principal\", {\n externalLocation: some.id,\n principal: mySp.applicationId,\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\nconst someGroup = new databricks.Grant(\"some_group\", {\n externalLocation: some.id,\n principal: myGroup.displayName,\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\nconst someUser = new databricks.Grant(\"some_user\", {\n externalLocation: some.id,\n principal: myUser.userName,\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.ExternalLocation(\"some\",\n name=\"external\",\n url=f\"s3://{external_aws_s3_bucket['id']}/some\",\n credential_name=external[\"id\"],\n comment=\"Managed by TF\")\nsome_data_engineers = databricks.Grant(\"some_data_engineers\",\n external_location=some.id,\n principal=\"Data Engineers\",\n privileges=[\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ])\nsome_service_principal = databricks.Grant(\"some_service_principal\",\n external_location=some.id,\n principal=my_sp[\"applicationId\"],\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\nsome_group = databricks.Grant(\"some_group\",\n external_location=some.id,\n principal=my_group[\"displayName\"],\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\nsome_user = databricks.Grant(\"some_user\",\n external_location=some.id,\n principal=my_user[\"userName\"],\n privileges=[\n \"USE_SCHEMA\",\n \"MODIFY\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.ExternalLocation(\"some\", new()\n {\n Name = \"external\",\n Url = $\"s3://{externalAwsS3Bucket.Id}/some\",\n CredentialName = external.Id,\n Comment = \"Managed by TF\",\n });\n\n var someDataEngineers = new Databricks.Grant(\"some_data_engineers\", new()\n {\n ExternalLocation = some.Id,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n });\n\n var someServicePrincipal = new Databricks.Grant(\"some_service_principal\", new()\n {\n ExternalLocation = some.Id,\n Principal = mySp.ApplicationId,\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n var someGroup = new Databricks.Grant(\"some_group\", new()\n {\n ExternalLocation = some.Id,\n Principal = myGroup.DisplayName,\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n var someUser = new Databricks.Grant(\"some_user\", new()\n {\n ExternalLocation = some.Id,\n Principal = myUser.UserName,\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewExternalLocation(ctx, \"some\", \u0026databricks.ExternalLocationArgs{\n\t\t\tName: pulumi.String(\"external\"),\n\t\t\tUrl: pulumi.Sprintf(\"s3://%v/some\", externalAwsS3Bucket.Id),\n\t\t\tCredentialName: pulumi.Any(external.Id),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_data_engineers\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_service_principal\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.Any(mySp.ApplicationId),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_group\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.Any(myGroup.DisplayName),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some_user\", \u0026databricks.GrantArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tPrincipal: pulumi.Any(myUser.UserName),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ExternalLocation;\nimport com.pulumi.databricks.ExternalLocationArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new ExternalLocation(\"some\", ExternalLocationArgs.builder()\n .name(\"external\")\n .url(String.format(\"s3://%s/some\", externalAwsS3Bucket.id()))\n .credentialName(external.id())\n .comment(\"Managed by TF\")\n .build());\n\n var someDataEngineers = new Grant(\"someDataEngineers\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build());\n\n var someServicePrincipal = new Grant(\"someServicePrincipal\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(mySp.applicationId())\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n var someGroup = new Grant(\"someGroup\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(myGroup.displayName())\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n var someUser = new Grant(\"someUser\", GrantArgs.builder()\n .externalLocation(some.id())\n .principal(myUser.userName())\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:ExternalLocation\n properties:\n name: external\n url: s3://${externalAwsS3Bucket.id}/some\n credentialName: ${external.id}\n comment: Managed by TF\n someDataEngineers:\n type: databricks:Grant\n name: some_data_engineers\n properties:\n externalLocation: ${some.id}\n principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n someServicePrincipal:\n type: databricks:Grant\n name: some_service_principal\n properties:\n externalLocation: ${some.id}\n principal: ${mySp.applicationId}\n privileges:\n - USE_SCHEMA\n - MODIFY\n someGroup:\n type: databricks:Grant\n name: some_group\n properties:\n externalLocation: ${some.id}\n principal: ${myGroup.displayName}\n privileges:\n - USE_SCHEMA\n - MODIFY\n someUser:\n type: databricks:Grant\n name: some_user\n properties:\n externalLocation: ${some.id}\n principal: ${myUser.userName}\n privileges:\n - USE_SCHEMA\n - MODIFY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Connection grants\n\nSee databricks.Grants Connection grants for the list of privileges that apply to Connections.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst mysql = new databricks.Connection(\"mysql\", {\n name: \"mysql_connection\",\n connectionType: \"MYSQL\",\n comment: \"this is a connection to mysql db\",\n options: {\n host: \"test.mysql.database.azure.com\",\n port: \"3306\",\n user: \"user\",\n password: \"password\",\n },\n properties: {\n purpose: \"testing\",\n },\n});\nconst some = new databricks.Grant(\"some\", {\n foreignConnection: mysql.name,\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nmysql = databricks.Connection(\"mysql\",\n name=\"mysql_connection\",\n connection_type=\"MYSQL\",\n comment=\"this is a connection to mysql db\",\n options={\n \"host\": \"test.mysql.database.azure.com\",\n \"port\": \"3306\",\n \"user\": \"user\",\n \"password\": \"password\",\n },\n properties={\n \"purpose\": \"testing\",\n })\nsome = databricks.Grant(\"some\",\n foreign_connection=mysql.name,\n principal=\"Data Engineers\",\n privileges=[\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql = new Databricks.Connection(\"mysql\", new()\n {\n Name = \"mysql_connection\",\n ConnectionType = \"MYSQL\",\n Comment = \"this is a connection to mysql db\",\n Options = \n {\n { \"host\", \"test.mysql.database.azure.com\" },\n { \"port\", \"3306\" },\n { \"user\", \"user\" },\n { \"password\", \"password\" },\n },\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var some = new Databricks.Grant(\"some\", new()\n {\n ForeignConnection = mysql.Name,\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmysql, err := databricks.NewConnection(ctx, \"mysql\", \u0026databricks.ConnectionArgs{\n\t\t\tName: pulumi.String(\"mysql_connection\"),\n\t\t\tConnectionType: pulumi.String(\"MYSQL\"),\n\t\t\tComment: pulumi.String(\"this is a connection to mysql db\"),\n\t\t\tOptions: pulumi.StringMap{\n\t\t\t\t\"host\": pulumi.String(\"test.mysql.database.azure.com\"),\n\t\t\t\t\"port\": pulumi.String(\"3306\"),\n\t\t\t\t\"user\": pulumi.String(\"user\"),\n\t\t\t\t\"password\": pulumi.String(\"password\"),\n\t\t\t},\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some\", \u0026databricks.GrantArgs{\n\t\t\tForeignConnection: mysql.Name,\n\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CREATE_FOREIGN_CATALOG\"),\n\t\t\t\tpulumi.String(\"USE_CONNECTION\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Connection;\nimport com.pulumi.databricks.ConnectionArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql = new Connection(\"mysql\", ConnectionArgs.builder()\n .name(\"mysql_connection\")\n .connectionType(\"MYSQL\")\n .comment(\"this is a connection to mysql db\")\n .options(Map.ofEntries(\n Map.entry(\"host\", \"test.mysql.database.azure.com\"),\n Map.entry(\"port\", \"3306\"),\n Map.entry(\"user\", \"user\"),\n Map.entry(\"password\", \"password\")\n ))\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var some = new Grant(\"some\", GrantArgs.builder()\n .foreignConnection(mysql.name())\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql:\n type: databricks:Connection\n properties:\n name: mysql_connection\n connectionType: MYSQL\n comment: this is a connection to mysql db\n options:\n host: test.mysql.database.azure.com\n port: '3306'\n user: user\n password: password\n properties:\n purpose: testing\n some:\n type: databricks:Grant\n properties:\n foreignConnection: ${mysql.name}\n principal: Data Engineers\n privileges:\n - CREATE_FOREIGN_CATALOG\n - USE_CONNECTION\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Delta Sharing share grants\n\nSee databricks.Grants Delta Sharing share grants for the list of privileges that apply to Delta Sharing shares.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.Share(\"some\", {name: \"my_share\"});\nconst someRecipient = new databricks.Recipient(\"some\", {name: \"my_recipient\"});\nconst someGrant = new databricks.Grant(\"some\", {\n share: some.name,\n principal: someRecipient.name,\n privileges: [\"SELECT\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.Share(\"some\", name=\"my_share\")\nsome_recipient = databricks.Recipient(\"some\", name=\"my_recipient\")\nsome_grant = databricks.Grant(\"some\",\n share=some.name,\n principal=some_recipient.name,\n privileges=[\"SELECT\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.Share(\"some\", new()\n {\n Name = \"my_share\",\n });\n\n var someRecipient = new Databricks.Recipient(\"some\", new()\n {\n Name = \"my_recipient\",\n });\n\n var someGrant = new Databricks.Grant(\"some\", new()\n {\n Share = some.Name,\n Principal = someRecipient.Name,\n Privileges = new[]\n {\n \"SELECT\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewShare(ctx, \"some\", \u0026databricks.ShareArgs{\n\t\t\tName: pulumi.String(\"my_share\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsomeRecipient, err := databricks.NewRecipient(ctx, \"some\", \u0026databricks.RecipientArgs{\n\t\t\tName: pulumi.String(\"my_recipient\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrant(ctx, \"some\", \u0026databricks.GrantArgs{\n\t\t\tShare: some.Name,\n\t\t\tPrincipal: someRecipient.Name,\n\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Share;\nimport com.pulumi.databricks.ShareArgs;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.Grant;\nimport com.pulumi.databricks.GrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new Share(\"some\", ShareArgs.builder()\n .name(\"my_share\")\n .build());\n\n var someRecipient = new Recipient(\"someRecipient\", RecipientArgs.builder()\n .name(\"my_recipient\")\n .build());\n\n var someGrant = new Grant(\"someGrant\", GrantArgs.builder()\n .share(some.name())\n .principal(someRecipient.name())\n .privileges(\"SELECT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:Share\n properties:\n name: my_share\n someRecipient:\n type: databricks:Recipient\n name: some\n properties:\n name: my_recipient\n someGrant:\n type: databricks:Grant\n name: some\n properties:\n share: ${some.name}\n principal: ${someRecipient.name}\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Other access control\n\nYou can control Databricks General Permissions through databricks.Permissions resource.\n\n## Import\n\nThe resource can be imported using combination of securable type (`table`, `catalog`, `foreign_connection`, ...), it's name and `principal`:\n\nbash\n\n```sh\n$ pulumi import databricks:index/grant:Grant this catalog/abc/user_name\n```\n\n", "properties": { "catalog": { "type": "string" }, + "credential": { + "type": "string" + }, "externalLocation": { "type": "string" }, @@ -20475,6 +23062,10 @@ "type": "string", "willReplaceOnChanges": true }, + "credential": { + "type": "string", + "willReplaceOnChanges": true + }, "externalLocation": { "type": "string", "willReplaceOnChanges": true @@ -20545,6 +23136,10 @@ "type": "string", "willReplaceOnChanges": true }, + "credential": { + "type": "string", + "willReplaceOnChanges": true + }, "externalLocation": { "type": "string", "willReplaceOnChanges": true @@ -20608,11 +23203,14 @@ } }, "databricks:index/grants:Grants": { - "description": "\u003e This article refers to the privileges and inheritance model in Privilege Model version 1.0. If you created your metastore during the public preview (before August 25, 2022), you can upgrade to Privilege Model version 1.0 following [Upgrade to privilege inheritance](https://docs.databricks.com/data-governance/unity-catalog/hive-metastore.html)\n\n\u003e Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).\n\nTwo different resources help you manage your Unity Catalog grants for a securable. Each of these resources serves a different use case:\n\n- databricks_grants: Authoritative. Sets the grants of a securable and replaces any existing grants defined inside or outside of Pulumi.\n- databricks_grant: Authoritative for a given principal. Updates the grants of a securable to a single principal. Other principals within the grants for the securables are preserved.\n\nIn Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.\n\nSecurable objects are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog. This means that granting a privilege on a catalog or schema automatically grants the privilege to all current and future objects within the catalog or schema. Privileges that are granted on a metastore are not inherited.\n\nEvery `databricks.Grants` resource must have exactly one securable identifier and one or more `grant` blocks with the following arguments:\n\n- `principal` - User name, group name or service principal application ID.\n- `privileges` - One or more privileges that are specific to a securable type.\n\nFor the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)\n\nPulumi will handle any configuration drift on every `pulumi up` run, even when grants are changed outside of Pulumi state.\n\nUnlike the [SQL specification](https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html#privilege-types), all privileges to be written with underscore instead of space, e.g. `CREATE_TABLE` and not `CREATE TABLE`. Below summarizes which privilege types apply to each securable object in the catalog:\n\n## Metastore grants\n\nYou can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Grants(\"sandbox\", {\n metastore: \"metastore_id\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ],\n },\n {\n principal: \"Data Sharer\",\n privileges: [\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Grants(\"sandbox\",\n metastore=\"metastore_id\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ],\n },\n {\n \"principal\": \"Data Sharer\",\n \"privileges\": [\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Grants(\"sandbox\", new()\n {\n Metastore = \"metastore_id\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Sharer\",\n Privileges = new[]\n {\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"sandbox\", \u0026databricks.GrantsArgs{\n\t\t\tMetastore: pulumi.String(\"metastore_id\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_LOCATION\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Sharer\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_RECIPIENT\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_SHARE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Grants(\"sandbox\", GrantsArgs.builder()\n .metastore(\"metastore_id\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Sharer\")\n .privileges( \n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Grants\n properties:\n metastore: metastore_id\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_CATALOG\n - CREATE_EXTERNAL_LOCATION\n - principal: Data Sharer\n privileges:\n - CREATE_RECIPIENT\n - CREATE_SHARE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Catalog grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_CONNECTION`, `CREATE_SCHEMA`, `USE_CATALOG` privileges to databricks.Catalog specified in the `catalog` attribute. You can also grant `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` and `USE_SCHEMA` at the catalog level to apply them to the pertinent current and future securable objects within the catalog:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n comment: \"this catalog is managed by terraform\",\n properties: {\n purpose: \"testing\",\n },\n});\nconst sandboxGrants = new databricks.Grants(\"sandbox\", {\n catalog: sandbox.name,\n grants: [\n {\n principal: \"Data Scientists\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ],\n },\n {\n principal: \"Data Engineers\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ],\n },\n {\n principal: \"Data Analyst\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n comment=\"this catalog is managed by terraform\",\n properties={\n \"purpose\": \"testing\",\n })\nsandbox_grants = databricks.Grants(\"sandbox\",\n catalog=sandbox.name,\n grants=[\n {\n \"principal\": \"Data Scientists\",\n \"privileges\": [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ],\n },\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ],\n },\n {\n \"principal\": \"Data Analyst\",\n \"privileges\": [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n Comment = \"this catalog is managed by terraform\",\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var sandboxGrants = new Databricks.Grants(\"sandbox\", new()\n {\n Catalog = sandbox.Name,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Scientists\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analyst\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tComment: pulumi.String(\"this catalog is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"sandbox\", \u0026databricks.GrantsArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Scientists\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analyst\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var sandboxGrants = new Grants(\"sandboxGrants\", GrantsArgs.builder()\n .catalog(sandbox.name())\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Scientists\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analyst\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n sandboxGrants:\n type: databricks:Grants\n name: sandbox\n properties:\n catalog: ${sandbox.name}\n grants:\n - principal: Data Scientists\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_TABLE\n - SELECT\n - principal: Data Engineers\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_SCHEMA\n - CREATE_TABLE\n - MODIFY\n - principal: Data Analyst\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Schema grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst things = new databricks.Schema(\"things\", {\n catalogName: sandbox.id,\n name: \"things\",\n comment: \"this schema is managed by terraform\",\n properties: {\n kind: \"various\",\n },\n});\nconst thingsGrants = new databricks.Grants(\"things\", {\n schema: things.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.Schema(\"things\",\n catalog_name=sandbox[\"id\"],\n name=\"things\",\n comment=\"this schema is managed by terraform\",\n properties={\n \"kind\": \"various\",\n })\nthings_grants = databricks.Grants(\"things\",\n schema=things.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var things = new Databricks.Schema(\"things\", new()\n {\n CatalogName = sandbox.Id,\n Name = \"things\",\n Comment = \"this schema is managed by terraform\",\n Properties = \n {\n { \"kind\", \"various\" },\n },\n });\n\n var thingsGrants = new Databricks.Grants(\"things\", new()\n {\n Schema = things.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.NewSchema(ctx, \"things\", \u0026databricks.SchemaArgs{\n\t\t\tCatalogName: pulumi.Any(sandbox.Id),\n\t\t\tName: pulumi.String(\"things\"),\n\t\t\tComment: pulumi.String(\"this schema is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"kind\": pulumi.String(\"various\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"things\", \u0026databricks.GrantsArgs{\n\t\t\tSchema: things.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Schema;\nimport com.pulumi.databricks.SchemaArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var things = new Schema(\"things\", SchemaArgs.builder()\n .catalogName(sandbox.id())\n .name(\"things\")\n .comment(\"this schema is managed by terraform\")\n .properties(Map.of(\"kind\", \"various\"))\n .build());\n\n var thingsGrants = new Grants(\"thingsGrants\", GrantsArgs.builder()\n .schema(things.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n things:\n type: databricks:Schema\n properties:\n catalogName: ${sandbox.id}\n name: things\n comment: this schema is managed by terraform\n properties:\n kind: various\n thingsGrants:\n type: databricks:Grants\n name: things\n properties:\n schema: ${things.id}\n grants:\n - principal: Data Engineers\n privileges:\n - USE_SCHEMA\n - MODIFY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Table grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customers = new databricks.Grants(\"customers\", {\n table: \"main.reporting.customers\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"MODIFY\",\n \"SELECT\",\n ],\n },\n {\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.Grants(\"customers\",\n table=\"main.reporting.customers\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"MODIFY\",\n \"SELECT\",\n ],\n },\n {\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"SELECT\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customers = new Databricks.Grants(\"customers\", new()\n {\n Table = \"main.reporting.customers\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"MODIFY\",\n \"SELECT\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"customers\", \u0026databricks.GrantsArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customers\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customers = new Grants(\"customers\", GrantsArgs.builder()\n .table(\"main.reporting.customers\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"MODIFY\",\n \"SELECT\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customers:\n type: databricks:Grants\n properties:\n table: main.reporting.customers\n grants:\n - principal: Data Engineers\n privileges:\n - MODIFY\n - SELECT\n - principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getTables data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const things = await databricks.getTables({\n catalogName: \"sandbox\",\n schemaName: \"things\",\n });\n const thingsGrants: databricks.Grants[] = [];\n for (const range of things.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n thingsGrants.push(new databricks.Grants(`things-${range.key}`, {\n table: range.value,\n grants: [{\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.get_tables(catalog_name=\"sandbox\",\n schema_name=\"things\")\nthings_grants = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(things.ids)]:\n things_grants.append(databricks.Grants(f\"things-{range['key']}\",\n table=range[\"value\"],\n grants=[{\n \"principal\": \"sensitive\",\n \"privileges\": [\n \"SELECT\",\n \"MODIFY\",\n ],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var things = await Databricks.GetTables.InvokeAsync(new()\n {\n CatalogName = \"sandbox\",\n SchemaName = \"things\",\n });\n\n var thingsGrants = new List\u003cDatabricks.Grants\u003e();\n foreach (var range in )\n {\n thingsGrants.Add(new Databricks.Grants($\"things-{range.Key}\", new()\n {\n Table = range.Value,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.GetTables(ctx, \u0026databricks.GetTablesArgs{\n\t\t\tCatalogName: \"sandbox\",\n\t\t\tSchemaName: \"things\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar thingsGrants []*databricks.Grants\n\t\tfor key0, val0 := range things.Ids {\n\t\t\t__res, err := databricks.NewGrants(ctx, fmt.Sprintf(\"things-%v\", key0), \u0026databricks.GrantsArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tthingsGrants = append(thingsGrants, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetTablesArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var things = DatabricksFunctions.getTables(GetTablesArgs.builder()\n .catalogName(\"sandbox\")\n .schemaName(\"things\")\n .build());\n\n final var thingsGrants = things.applyValue(getTablesResult -\u003e {\n final var resources = new ArrayList\u003cGrants\u003e();\n for (var range : KeyedValue.of(getTablesResult.ids()) {\n var resource = new Grants(\"thingsGrants-\" + range.key(), GrantsArgs.builder()\n .table(range.value())\n .grants(GrantsGrantArgs.builder()\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build())\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n thingsGrants:\n type: databricks:Grants\n name: things\n properties:\n table: ${range.value}\n grants:\n - principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n things:\n fn::invoke:\n function: databricks:getTables\n arguments:\n catalogName: sandbox\n schemaName: things\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## View grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customer360 = new databricks.Grants(\"customer360\", {\n table: \"main.reporting.customer360\",\n grants: [{\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomer360 = databricks.Grants(\"customer360\",\n table=\"main.reporting.customer360\",\n grants=[{\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"SELECT\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customer360 = new Databricks.Grants(\"customer360\", new()\n {\n Table = \"main.reporting.customer360\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"customer360\", \u0026databricks.GrantsArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customer360\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customer360 = new Grants(\"customer360\", GrantsArgs.builder()\n .table(\"main.reporting.customer360\")\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customer360:\n type: databricks:Grants\n properties:\n table: main.reporting.customer360\n grants:\n - principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getViews data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const customers = await databricks.getViews({\n catalogName: \"main\",\n schemaName: \"customers\",\n });\n const customersGrants: databricks.Grants[] = [];\n for (const range of customers.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n customersGrants.push(new databricks.Grants(`customers-${range.key}`, {\n table: range.value,\n grants: [{\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.get_views(catalog_name=\"main\",\n schema_name=\"customers\")\ncustomers_grants = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(customers.ids)]:\n customers_grants.append(databricks.Grants(f\"customers-{range['key']}\",\n table=range[\"value\"],\n grants=[{\n \"principal\": \"sensitive\",\n \"privileges\": [\n \"SELECT\",\n \"MODIFY\",\n ],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var customers = await Databricks.GetViews.InvokeAsync(new()\n {\n CatalogName = \"main\",\n SchemaName = \"customers\",\n });\n\n var customersGrants = new List\u003cDatabricks.Grants\u003e();\n foreach (var range in )\n {\n customersGrants.Add(new Databricks.Grants($\"customers-{range.Key}\", new()\n {\n Table = range.Value,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcustomers, err := databricks.GetViews(ctx, \u0026databricks.GetViewsArgs{\n\t\t\tCatalogName: \"main\",\n\t\t\tSchemaName: \"customers\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar customersGrants []*databricks.Grants\n\t\tfor key0, val0 := range customers.Ids {\n\t\t\t__res, err := databricks.NewGrants(ctx, fmt.Sprintf(\"customers-%v\", key0), \u0026databricks.GrantsArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tcustomersGrants = append(customersGrants, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetViewsArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var customers = DatabricksFunctions.getViews(GetViewsArgs.builder()\n .catalogName(\"main\")\n .schemaName(\"customers\")\n .build());\n\n final var customersGrants = customers.applyValue(getViewsResult -\u003e {\n final var resources = new ArrayList\u003cGrants\u003e();\n for (var range : KeyedValue.of(getViewsResult.ids()) {\n var resource = new Grants(\"customersGrants-\" + range.key(), GrantsArgs.builder()\n .table(range.value())\n .grants(GrantsGrantArgs.builder()\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build())\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n customersGrants:\n type: databricks:Grants\n name: customers\n properties:\n table: ${range.value}\n grants:\n - principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n customers:\n fn::invoke:\n function: databricks:getViews\n arguments:\n catalogName: main\n schemaName: customers\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Volume grants\n\nYou can grant `ALL_PRIVILEGES`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.Volume(\"this\", {\n name: \"quickstart_volume\",\n catalogName: sandbox.name,\n schemaName: things.name,\n volumeType: \"EXTERNAL\",\n storageLocation: some.url,\n comment: \"this volume is managed by terraform\",\n});\nconst volume = new databricks.Grants(\"volume\", {\n volume: _this.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"WRITE_VOLUME\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.Volume(\"this\",\n name=\"quickstart_volume\",\n catalog_name=sandbox[\"name\"],\n schema_name=things[\"name\"],\n volume_type=\"EXTERNAL\",\n storage_location=some[\"url\"],\n comment=\"this volume is managed by terraform\")\nvolume = databricks.Grants(\"volume\",\n volume=this.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"WRITE_VOLUME\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.Volume(\"this\", new()\n {\n Name = \"quickstart_volume\",\n CatalogName = sandbox.Name,\n SchemaName = things.Name,\n VolumeType = \"EXTERNAL\",\n StorageLocation = some.Url,\n Comment = \"this volume is managed by terraform\",\n });\n\n var volume = new Databricks.Grants(\"volume\", new()\n {\n Volume = @this.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"WRITE_VOLUME\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewVolume(ctx, \"this\", \u0026databricks.VolumeArgs{\n\t\t\tName: pulumi.String(\"quickstart_volume\"),\n\t\t\tCatalogName: pulumi.Any(sandbox.Name),\n\t\t\tSchemaName: pulumi.Any(things.Name),\n\t\t\tVolumeType: pulumi.String(\"EXTERNAL\"),\n\t\t\tStorageLocation: pulumi.Any(some.Url),\n\t\t\tComment: pulumi.String(\"this volume is managed by terraform\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"volume\", \u0026databricks.GrantsArgs{\n\t\t\tVolume: this.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"WRITE_VOLUME\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Volume;\nimport com.pulumi.databricks.VolumeArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new Volume(\"this\", VolumeArgs.builder()\n .name(\"quickstart_volume\")\n .catalogName(sandbox.name())\n .schemaName(things.name())\n .volumeType(\"EXTERNAL\")\n .storageLocation(some.url())\n .comment(\"this volume is managed by terraform\")\n .build());\n\n var volume = new Grants(\"volume\", GrantsArgs.builder()\n .volume(this_.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"WRITE_VOLUME\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:Volume\n properties:\n name: quickstart_volume\n catalogName: ${sandbox.name}\n schemaName: ${things.name}\n volumeType: EXTERNAL\n storageLocation: ${some.url}\n comment: this volume is managed by terraform\n volume:\n type: databricks:Grants\n properties:\n volume: ${this.id}\n grants:\n - principal: Data Engineers\n privileges:\n - WRITE_VOLUME\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Registered model grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges to _`catalog.schema.model`_ specified in the `model` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customers = new databricks.Grants(\"customers\", {\n model: \"main.reporting.customer_model\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"APPLY_TAG\",\n \"EXECUTE\",\n ],\n },\n {\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.Grants(\"customers\",\n model=\"main.reporting.customer_model\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"APPLY_TAG\",\n \"EXECUTE\",\n ],\n },\n {\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"EXECUTE\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customers = new Databricks.Grants(\"customers\", new()\n {\n Model = \"main.reporting.customer_model\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"APPLY_TAG\",\n \"EXECUTE\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"customers\", \u0026databricks.GrantsArgs{\n\t\t\tModel: pulumi.String(\"main.reporting.customer_model\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"APPLY_TAG\"),\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customers = new Grants(\"customers\", GrantsArgs.builder()\n .model(\"main.reporting.customer_model\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"APPLY_TAG\",\n \"EXECUTE\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customers:\n type: databricks:Grants\n properties:\n model: main.reporting.customer_model\n grants:\n - principal: Data Engineers\n privileges:\n - APPLY_TAG\n - EXECUTE\n - principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Function grants\n\nYou can grant `ALL_PRIVILEGES` and `EXECUTE` privileges to _`catalog.schema.function`_ specified in the `function` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst udf = new databricks.Grants(\"udf\", {\n \"function\": \"main.reporting.udf\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\"EXECUTE\"],\n },\n {\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nudf = databricks.Grants(\"udf\",\n function=\"main.reporting.udf\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"EXECUTE\"],\n },\n {\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"EXECUTE\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var udf = new Databricks.Grants(\"udf\", new()\n {\n Function = \"main.reporting.udf\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"udf\", \u0026databricks.GrantsArgs{\n\t\t\tFunction: pulumi.String(\"main.reporting.udf\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var udf = new Grants(\"udf\", GrantsArgs.builder()\n .function(\"main.reporting.udf\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"EXECUTE\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n udf:\n type: databricks:Grants\n properties:\n function: main.reporting.udf\n grants:\n - principal: Data Engineers\n privileges:\n - EXECUTE\n - principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Storage credential grants\n\nYou can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storage_credential` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n comment: Managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## External location grants\n\nYou can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_TABLE`, `CREATE_MANAGED_STORAGE`, `CREATE EXTERNAL VOLUME`, `READ_FILES` and `WRITE_FILES` privileges to databricks.ExternalLocation id specified in `external_location` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.ExternalLocation(\"some\", {\n name: \"external\",\n url: `s3://${externalAwsS3Bucket.id}/some`,\n credentialName: external.id,\n comment: \"Managed by TF\",\n});\nconst someGrants = new databricks.Grants(\"some\", {\n externalLocation: some.id,\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n principal: mySp.applicationId,\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n principal: myGroup.displayName,\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n principal: myUser.userName,\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.ExternalLocation(\"some\",\n name=\"external\",\n url=f\"s3://{external_aws_s3_bucket['id']}/some\",\n credential_name=external[\"id\"],\n comment=\"Managed by TF\")\nsome_grants = databricks.Grants(\"some\",\n external_location=some.id,\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n \"principal\": my_sp[\"applicationId\"],\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n \"principal\": my_group[\"displayName\"],\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n \"principal\": my_user[\"userName\"],\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.ExternalLocation(\"some\", new()\n {\n Name = \"external\",\n Url = $\"s3://{externalAwsS3Bucket.Id}/some\",\n CredentialName = external.Id,\n Comment = \"Managed by TF\",\n });\n\n var someGrants = new Databricks.Grants(\"some\", new()\n {\n ExternalLocation = some.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = mySp.ApplicationId,\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = myGroup.DisplayName,\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = myUser.UserName,\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewExternalLocation(ctx, \"some\", \u0026databricks.ExternalLocationArgs{\n\t\t\tName: pulumi.String(\"external\"),\n\t\t\tUrl: pulumi.Sprintf(\"s3://%v/some\", externalAwsS3Bucket.Id),\n\t\t\tCredentialName: pulumi.Any(external.Id),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"some\", \u0026databricks.GrantsArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.Any(mySp.ApplicationId),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.Any(myGroup.DisplayName),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.Any(myUser.UserName),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ExternalLocation;\nimport com.pulumi.databricks.ExternalLocationArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new ExternalLocation(\"some\", ExternalLocationArgs.builder()\n .name(\"external\")\n .url(String.format(\"s3://%s/some\", externalAwsS3Bucket.id()))\n .credentialName(external.id())\n .comment(\"Managed by TF\")\n .build());\n\n var someGrants = new Grants(\"someGrants\", GrantsArgs.builder()\n .externalLocation(some.id())\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(mySp.applicationId())\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(myGroup.displayName())\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(myUser.userName())\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:ExternalLocation\n properties:\n name: external\n url: s3://${externalAwsS3Bucket.id}/some\n credentialName: ${external.id}\n comment: Managed by TF\n someGrants:\n type: databricks:Grants\n name: some\n properties:\n externalLocation: ${some.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n - principal: ${mySp.applicationId}\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n - principal: ${myGroup.displayName}\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n - principal: ${myUser.userName}\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Connection grants\n\nYou can grant `ALL_PRIVILEGES`, `USE_CONNECTION` and `CREATE_FOREIGN_CATALOG` to databricks.Connection specified in `foreign_connection` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst mysql = new databricks.Connection(\"mysql\", {\n name: \"mysql_connection\",\n connectionType: \"MYSQL\",\n comment: \"this is a connection to mysql db\",\n options: {\n host: \"test.mysql.database.azure.com\",\n port: \"3306\",\n user: \"user\",\n password: \"password\",\n },\n properties: {\n purpose: \"testing\",\n },\n});\nconst some = new databricks.Grants(\"some\", {\n foreignConnection: mysql.name,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nmysql = databricks.Connection(\"mysql\",\n name=\"mysql_connection\",\n connection_type=\"MYSQL\",\n comment=\"this is a connection to mysql db\",\n options={\n \"host\": \"test.mysql.database.azure.com\",\n \"port\": \"3306\",\n \"user\": \"user\",\n \"password\": \"password\",\n },\n properties={\n \"purpose\": \"testing\",\n })\nsome = databricks.Grants(\"some\",\n foreign_connection=mysql.name,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql = new Databricks.Connection(\"mysql\", new()\n {\n Name = \"mysql_connection\",\n ConnectionType = \"MYSQL\",\n Comment = \"this is a connection to mysql db\",\n Options = \n {\n { \"host\", \"test.mysql.database.azure.com\" },\n { \"port\", \"3306\" },\n { \"user\", \"user\" },\n { \"password\", \"password\" },\n },\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var some = new Databricks.Grants(\"some\", new()\n {\n ForeignConnection = mysql.Name,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmysql, err := databricks.NewConnection(ctx, \"mysql\", \u0026databricks.ConnectionArgs{\n\t\t\tName: pulumi.String(\"mysql_connection\"),\n\t\t\tConnectionType: pulumi.String(\"MYSQL\"),\n\t\t\tComment: pulumi.String(\"this is a connection to mysql db\"),\n\t\t\tOptions: pulumi.StringMap{\n\t\t\t\t\"host\": pulumi.String(\"test.mysql.database.azure.com\"),\n\t\t\t\t\"port\": pulumi.String(\"3306\"),\n\t\t\t\t\"user\": pulumi.String(\"user\"),\n\t\t\t\t\"password\": pulumi.String(\"password\"),\n\t\t\t},\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"some\", \u0026databricks.GrantsArgs{\n\t\t\tForeignConnection: mysql.Name,\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_FOREIGN_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_CONNECTION\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Connection;\nimport com.pulumi.databricks.ConnectionArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql = new Connection(\"mysql\", ConnectionArgs.builder()\n .name(\"mysql_connection\")\n .connectionType(\"MYSQL\")\n .comment(\"this is a connection to mysql db\")\n .options(Map.ofEntries(\n Map.entry(\"host\", \"test.mysql.database.azure.com\"),\n Map.entry(\"port\", \"3306\"),\n Map.entry(\"user\", \"user\"),\n Map.entry(\"password\", \"password\")\n ))\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var some = new Grants(\"some\", GrantsArgs.builder()\n .foreignConnection(mysql.name())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql:\n type: databricks:Connection\n properties:\n name: mysql_connection\n connectionType: MYSQL\n comment: this is a connection to mysql db\n options:\n host: test.mysql.database.azure.com\n port: '3306'\n user: user\n password: password\n properties:\n purpose: testing\n some:\n type: databricks:Grants\n properties:\n foreignConnection: ${mysql.name}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_FOREIGN_CATALOG\n - USE_CONNECTION\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Delta Sharing share grants\n\nYou can grant `SELECT` to databricks.Recipient on databricks.Share name specified in `share` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.Share(\"some\", {name: \"my_share\"});\nconst someRecipient = new databricks.Recipient(\"some\", {name: \"my_recipient\"});\nconst someGrants = new databricks.Grants(\"some\", {\n share: some.name,\n grants: [{\n principal: someRecipient.name,\n privileges: [\"SELECT\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.Share(\"some\", name=\"my_share\")\nsome_recipient = databricks.Recipient(\"some\", name=\"my_recipient\")\nsome_grants = databricks.Grants(\"some\",\n share=some.name,\n grants=[{\n \"principal\": some_recipient.name,\n \"privileges\": [\"SELECT\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.Share(\"some\", new()\n {\n Name = \"my_share\",\n });\n\n var someRecipient = new Databricks.Recipient(\"some\", new()\n {\n Name = \"my_recipient\",\n });\n\n var someGrants = new Databricks.Grants(\"some\", new()\n {\n Share = some.Name,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = someRecipient.Name,\n Privileges = new[]\n {\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewShare(ctx, \"some\", \u0026databricks.ShareArgs{\n\t\t\tName: pulumi.String(\"my_share\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsomeRecipient, err := databricks.NewRecipient(ctx, \"some\", \u0026databricks.RecipientArgs{\n\t\t\tName: pulumi.String(\"my_recipient\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"some\", \u0026databricks.GrantsArgs{\n\t\t\tShare: some.Name,\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: someRecipient.Name,\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Share;\nimport com.pulumi.databricks.ShareArgs;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new Share(\"some\", ShareArgs.builder()\n .name(\"my_share\")\n .build());\n\n var someRecipient = new Recipient(\"someRecipient\", RecipientArgs.builder()\n .name(\"my_recipient\")\n .build());\n\n var someGrants = new Grants(\"someGrants\", GrantsArgs.builder()\n .share(some.name())\n .grants(GrantsGrantArgs.builder()\n .principal(someRecipient.name())\n .privileges(\"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:Share\n properties:\n name: my_share\n someRecipient:\n type: databricks:Recipient\n name: some\n properties:\n name: my_recipient\n someGrants:\n type: databricks:Grants\n name: some\n properties:\n share: ${some.name}\n grants:\n - principal: ${someRecipient.name}\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Other access control\n\nYou can control Databricks General Permissions through databricks.Permissions resource.\n\n## Import\n\nThe resource can be imported using combination of securable type (`table`, `catalog`, `foreign_connection`, ...) and it's name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/grants:Grants this catalog/abc\n```\n\n", + "description": "\u003e This article refers to the privileges and inheritance model in Privilege Model version 1.0. If you created your metastore during the public preview (before August 25, 2022), you can upgrade to Privilege Model version 1.0 following [Upgrade to privilege inheritance](https://docs.databricks.com/data-governance/unity-catalog/hive-metastore.html)\n\n\u003e Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).\n\nTwo different resources help you manage your Unity Catalog grants for a securable. Each of these resources serves a different use case:\n\n- databricks_grants: Authoritative. Sets the grants of a securable and replaces any existing grants defined inside or outside of Pulumi.\n- databricks_grant: Authoritative for a given principal. Updates the grants of a securable to a single principal. Other principals within the grants for the securables are preserved.\n\nIn Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.\n\nSecurable objects are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog. This means that granting a privilege on a catalog or schema automatically grants the privilege to all current and future objects within the catalog or schema. Privileges that are granted on a metastore are not inherited.\n\nEvery `databricks.Grants` resource must have exactly one securable identifier and one or more `grant` blocks with the following arguments:\n\n- `principal` - User name, group name or service principal application ID.\n- `privileges` - One or more privileges that are specific to a securable type.\n\nFor the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)\n\nPulumi will handle any configuration drift on every `pulumi up` run, even when grants are changed outside of Pulumi state.\n\nUnlike the [SQL specification](https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html#privilege-types), all privileges to be written with underscore instead of space, e.g. `CREATE_TABLE` and not `CREATE TABLE`. Below summarizes which privilege types apply to each securable object in the catalog:\n\n## Metastore grants\n\nYou can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Grants(\"sandbox\", {\n metastore: \"metastore_id\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ],\n },\n {\n principal: \"Data Sharer\",\n privileges: [\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Grants(\"sandbox\",\n metastore=\"metastore_id\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n ],\n },\n {\n \"principal\": \"Data Sharer\",\n \"privileges\": [\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n ],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Grants(\"sandbox\", new()\n {\n Metastore = \"metastore_id\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Sharer\",\n Privileges = new[]\n {\n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"sandbox\", \u0026databricks.GrantsArgs{\n\t\t\tMetastore: pulumi.String(\"metastore_id\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_LOCATION\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Sharer\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_RECIPIENT\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_SHARE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Grants(\"sandbox\", GrantsArgs.builder()\n .metastore(\"metastore_id\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_CATALOG\",\n \"CREATE_EXTERNAL_LOCATION\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Sharer\")\n .privileges( \n \"CREATE_RECIPIENT\",\n \"CREATE_SHARE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Grants\n properties:\n metastore: metastore_id\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_CATALOG\n - CREATE_EXTERNAL_LOCATION\n - principal: Data Sharer\n privileges:\n - CREATE_RECIPIENT\n - CREATE_SHARE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Catalog grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_CONNECTION`, `CREATE_SCHEMA`, `USE_CATALOG` privileges to databricks.Catalog specified in the `catalog` attribute. You can also grant `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` and `USE_SCHEMA` at the catalog level to apply them to the pertinent current and future securable objects within the catalog:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n comment: \"this catalog is managed by terraform\",\n properties: {\n purpose: \"testing\",\n },\n});\nconst sandboxGrants = new databricks.Grants(\"sandbox\", {\n catalog: sandbox.name,\n grants: [\n {\n principal: \"Data Scientists\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ],\n },\n {\n principal: \"Data Engineers\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ],\n },\n {\n principal: \"Data Analyst\",\n privileges: [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n comment=\"this catalog is managed by terraform\",\n properties={\n \"purpose\": \"testing\",\n })\nsandbox_grants = databricks.Grants(\"sandbox\",\n catalog=sandbox.name,\n grants=[\n {\n \"principal\": \"Data Scientists\",\n \"privileges\": [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n ],\n },\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n ],\n },\n {\n \"principal\": \"Data Analyst\",\n \"privileges\": [\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n ],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n Comment = \"this catalog is managed by terraform\",\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var sandboxGrants = new Databricks.Grants(\"sandbox\", new()\n {\n Catalog = sandbox.Name,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Scientists\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analyst\",\n Privileges = new[]\n {\n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tComment: pulumi.String(\"this catalog is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"sandbox\", \u0026databricks.GrantsArgs{\n\t\t\tCatalog: sandbox.Name,\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Scientists\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"CREATE_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analyst\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .comment(\"this catalog is managed by terraform\")\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var sandboxGrants = new Grants(\"sandboxGrants\", GrantsArgs.builder()\n .catalog(sandbox.name())\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Scientists\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_TABLE\",\n \"SELECT\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"CREATE_SCHEMA\",\n \"CREATE_TABLE\",\n \"MODIFY\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analyst\")\n .privileges( \n \"USE_CATALOG\",\n \"USE_SCHEMA\",\n \"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n comment: this catalog is managed by terraform\n properties:\n purpose: testing\n sandboxGrants:\n type: databricks:Grants\n name: sandbox\n properties:\n catalog: ${sandbox.name}\n grants:\n - principal: Data Scientists\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_TABLE\n - SELECT\n - principal: Data Engineers\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - CREATE_SCHEMA\n - CREATE_TABLE\n - MODIFY\n - principal: Data Analyst\n privileges:\n - USE_CATALOG\n - USE_SCHEMA\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Schema grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst things = new databricks.Schema(\"things\", {\n catalogName: sandbox.id,\n name: \"things\",\n comment: \"this schema is managed by terraform\",\n properties: {\n kind: \"various\",\n },\n});\nconst thingsGrants = new databricks.Grants(\"things\", {\n schema: things.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.Schema(\"things\",\n catalog_name=sandbox[\"id\"],\n name=\"things\",\n comment=\"this schema is managed by terraform\",\n properties={\n \"kind\": \"various\",\n })\nthings_grants = databricks.Grants(\"things\",\n schema=things.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"USE_SCHEMA\",\n \"MODIFY\",\n ],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var things = new Databricks.Schema(\"things\", new()\n {\n CatalogName = sandbox.Id,\n Name = \"things\",\n Comment = \"this schema is managed by terraform\",\n Properties = \n {\n { \"kind\", \"various\" },\n },\n });\n\n var thingsGrants = new Databricks.Grants(\"things\", new()\n {\n Schema = things.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"USE_SCHEMA\",\n \"MODIFY\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.NewSchema(ctx, \"things\", \u0026databricks.SchemaArgs{\n\t\t\tCatalogName: pulumi.Any(sandbox.Id),\n\t\t\tName: pulumi.String(\"things\"),\n\t\t\tComment: pulumi.String(\"this schema is managed by terraform\"),\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"kind\": pulumi.String(\"various\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"things\", \u0026databricks.GrantsArgs{\n\t\t\tSchema: things.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"USE_SCHEMA\"),\n\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Schema;\nimport com.pulumi.databricks.SchemaArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var things = new Schema(\"things\", SchemaArgs.builder()\n .catalogName(sandbox.id())\n .name(\"things\")\n .comment(\"this schema is managed by terraform\")\n .properties(Map.of(\"kind\", \"various\"))\n .build());\n\n var thingsGrants = new Grants(\"thingsGrants\", GrantsArgs.builder()\n .schema(things.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"USE_SCHEMA\",\n \"MODIFY\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n things:\n type: databricks:Schema\n properties:\n catalogName: ${sandbox.id}\n name: things\n comment: this schema is managed by terraform\n properties:\n kind: various\n thingsGrants:\n type: databricks:Grants\n name: things\n properties:\n schema: ${things.id}\n grants:\n - principal: Data Engineers\n privileges:\n - USE_SCHEMA\n - MODIFY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Table grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customers = new databricks.Grants(\"customers\", {\n table: \"main.reporting.customers\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"MODIFY\",\n \"SELECT\",\n ],\n },\n {\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.Grants(\"customers\",\n table=\"main.reporting.customers\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"MODIFY\",\n \"SELECT\",\n ],\n },\n {\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"SELECT\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customers = new Databricks.Grants(\"customers\", new()\n {\n Table = \"main.reporting.customers\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"MODIFY\",\n \"SELECT\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"customers\", \u0026databricks.GrantsArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customers\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customers = new Grants(\"customers\", GrantsArgs.builder()\n .table(\"main.reporting.customers\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"MODIFY\",\n \"SELECT\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customers:\n type: databricks:Grants\n properties:\n table: main.reporting.customers\n grants:\n - principal: Data Engineers\n privileges:\n - MODIFY\n - SELECT\n - principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getTables data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const things = await databricks.getTables({\n catalogName: \"sandbox\",\n schemaName: \"things\",\n });\n const thingsGrants: databricks.Grants[] = [];\n for (const range of things.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n thingsGrants.push(new databricks.Grants(`things-${range.key}`, {\n table: range.value,\n grants: [{\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthings = databricks.get_tables(catalog_name=\"sandbox\",\n schema_name=\"things\")\nthings_grants = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(things.ids)]:\n things_grants.append(databricks.Grants(f\"things-{range['key']}\",\n table=range[\"value\"],\n grants=[{\n \"principal\": \"sensitive\",\n \"privileges\": [\n \"SELECT\",\n \"MODIFY\",\n ],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var things = await Databricks.GetTables.InvokeAsync(new()\n {\n CatalogName = \"sandbox\",\n SchemaName = \"things\",\n });\n\n var thingsGrants = new List\u003cDatabricks.Grants\u003e();\n foreach (var range in )\n {\n thingsGrants.Add(new Databricks.Grants($\"things-{range.Key}\", new()\n {\n Table = range.Value,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthings, err := databricks.GetTables(ctx, \u0026databricks.GetTablesArgs{\n\t\t\tCatalogName: \"sandbox\",\n\t\t\tSchemaName: \"things\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar thingsGrants []*databricks.Grants\n\t\tfor key0, val0 := range things.Ids {\n\t\t\t__res, err := databricks.NewGrants(ctx, fmt.Sprintf(\"things-%v\", key0), \u0026databricks.GrantsArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tthingsGrants = append(thingsGrants, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetTablesArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var things = DatabricksFunctions.getTables(GetTablesArgs.builder()\n .catalogName(\"sandbox\")\n .schemaName(\"things\")\n .build());\n\n final var thingsGrants = things.applyValue(getTablesResult -\u003e {\n final var resources = new ArrayList\u003cGrants\u003e();\n for (var range : KeyedValue.of(getTablesResult.ids()) {\n var resource = new Grants(\"thingsGrants-\" + range.key(), GrantsArgs.builder()\n .table(range.value())\n .grants(GrantsGrantArgs.builder()\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build())\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n thingsGrants:\n type: databricks:Grants\n name: things\n properties:\n table: ${range.value}\n grants:\n - principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n things:\n fn::invoke:\n function: databricks:getTables\n arguments:\n catalogName: sandbox\n schemaName: things\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## View grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customer360 = new databricks.Grants(\"customer360\", {\n table: \"main.reporting.customer360\",\n grants: [{\n principal: \"Data Analysts\",\n privileges: [\"SELECT\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomer360 = databricks.Grants(\"customer360\",\n table=\"main.reporting.customer360\",\n grants=[{\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"SELECT\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customer360 = new Databricks.Grants(\"customer360\", new()\n {\n Table = \"main.reporting.customer360\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"customer360\", \u0026databricks.GrantsArgs{\n\t\t\tTable: pulumi.String(\"main.reporting.customer360\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customer360 = new Grants(\"customer360\", GrantsArgs.builder()\n .table(\"main.reporting.customer360\")\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customer360:\n type: databricks:Grants\n properties:\n table: main.reporting.customer360\n grants:\n - principal: Data Analysts\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also apply grants dynamically with databricks.getViews data resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const customers = await databricks.getViews({\n catalogName: \"main\",\n schemaName: \"customers\",\n });\n const customersGrants: databricks.Grants[] = [];\n for (const range of customers.ids.map((v, k) =\u003e ({key: k, value: v}))) {\n customersGrants.push(new databricks.Grants(`customers-${range.key}`, {\n table: range.value,\n grants: [{\n principal: \"sensitive\",\n privileges: [\n \"SELECT\",\n \"MODIFY\",\n ],\n }],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.get_views(catalog_name=\"main\",\n schema_name=\"customers\")\ncustomers_grants = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(customers.ids)]:\n customers_grants.append(databricks.Grants(f\"customers-{range['key']}\",\n table=range[\"value\"],\n grants=[{\n \"principal\": \"sensitive\",\n \"privileges\": [\n \"SELECT\",\n \"MODIFY\",\n ],\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var customers = await Databricks.GetViews.InvokeAsync(new()\n {\n CatalogName = \"main\",\n SchemaName = \"customers\",\n });\n\n var customersGrants = new List\u003cDatabricks.Grants\u003e();\n foreach (var range in )\n {\n customersGrants.Add(new Databricks.Grants($\"customers-{range.Key}\", new()\n {\n Table = range.Value,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"sensitive\",\n Privileges = new[]\n {\n \"SELECT\",\n \"MODIFY\",\n },\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcustomers, err := databricks.GetViews(ctx, \u0026databricks.GetViewsArgs{\n\t\t\tCatalogName: \"main\",\n\t\t\tSchemaName: \"customers\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar customersGrants []*databricks.Grants\n\t\tfor key0, val0 := range customers.Ids {\n\t\t\t__res, err := databricks.NewGrants(ctx, fmt.Sprintf(\"customers-%v\", key0), \u0026databricks.GrantsArgs{\n\t\t\t\tTable: pulumi.String(val0),\n\t\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\t\tPrincipal: pulumi.String(\"sensitive\"),\n\t\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t\t\tpulumi.String(\"MODIFY\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tcustomersGrants = append(customersGrants, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetViewsArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var customers = DatabricksFunctions.getViews(GetViewsArgs.builder()\n .catalogName(\"main\")\n .schemaName(\"customers\")\n .build());\n\n final var customersGrants = customers.applyValue(getViewsResult -\u003e {\n final var resources = new ArrayList\u003cGrants\u003e();\n for (var range : KeyedValue.of(getViewsResult.ids()) {\n var resource = new Grants(\"customersGrants-\" + range.key(), GrantsArgs.builder()\n .table(range.value())\n .grants(GrantsGrantArgs.builder()\n .principal(\"sensitive\")\n .privileges( \n \"SELECT\",\n \"MODIFY\")\n .build())\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n customersGrants:\n type: databricks:Grants\n name: customers\n properties:\n table: ${range.value}\n grants:\n - principal: sensitive\n privileges:\n - SELECT\n - MODIFY\n options: {}\nvariables:\n customers:\n fn::invoke:\n function: databricks:getViews\n arguments:\n catalogName: main\n schemaName: customers\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Volume grants\n\nYou can grant `ALL_PRIVILEGES`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.Volume(\"this\", {\n name: \"quickstart_volume\",\n catalogName: sandbox.name,\n schemaName: things.name,\n volumeType: \"EXTERNAL\",\n storageLocation: some.url,\n comment: \"this volume is managed by terraform\",\n});\nconst volume = new databricks.Grants(\"volume\", {\n volume: _this.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"WRITE_VOLUME\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.Volume(\"this\",\n name=\"quickstart_volume\",\n catalog_name=sandbox[\"name\"],\n schema_name=things[\"name\"],\n volume_type=\"EXTERNAL\",\n storage_location=some[\"url\"],\n comment=\"this volume is managed by terraform\")\nvolume = databricks.Grants(\"volume\",\n volume=this.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"WRITE_VOLUME\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.Volume(\"this\", new()\n {\n Name = \"quickstart_volume\",\n CatalogName = sandbox.Name,\n SchemaName = things.Name,\n VolumeType = \"EXTERNAL\",\n StorageLocation = some.Url,\n Comment = \"this volume is managed by terraform\",\n });\n\n var volume = new Databricks.Grants(\"volume\", new()\n {\n Volume = @this.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"WRITE_VOLUME\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewVolume(ctx, \"this\", \u0026databricks.VolumeArgs{\n\t\t\tName: pulumi.String(\"quickstart_volume\"),\n\t\t\tCatalogName: pulumi.Any(sandbox.Name),\n\t\t\tSchemaName: pulumi.Any(things.Name),\n\t\t\tVolumeType: pulumi.String(\"EXTERNAL\"),\n\t\t\tStorageLocation: pulumi.Any(some.Url),\n\t\t\tComment: pulumi.String(\"this volume is managed by terraform\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"volume\", \u0026databricks.GrantsArgs{\n\t\t\tVolume: this.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"WRITE_VOLUME\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Volume;\nimport com.pulumi.databricks.VolumeArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new Volume(\"this\", VolumeArgs.builder()\n .name(\"quickstart_volume\")\n .catalogName(sandbox.name())\n .schemaName(things.name())\n .volumeType(\"EXTERNAL\")\n .storageLocation(some.url())\n .comment(\"this volume is managed by terraform\")\n .build());\n\n var volume = new Grants(\"volume\", GrantsArgs.builder()\n .volume(this_.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"WRITE_VOLUME\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:Volume\n properties:\n name: quickstart_volume\n catalogName: ${sandbox.name}\n schemaName: ${things.name}\n volumeType: EXTERNAL\n storageLocation: ${some.url}\n comment: this volume is managed by terraform\n volume:\n type: databricks:Grants\n properties:\n volume: ${this.id}\n grants:\n - principal: Data Engineers\n privileges:\n - WRITE_VOLUME\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Registered model grants\n\nYou can grant `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges to _`catalog.schema.model`_ specified in the `model` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst customers = new databricks.Grants(\"customers\", {\n model: \"main.reporting.customer_model\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"APPLY_TAG\",\n \"EXECUTE\",\n ],\n },\n {\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ncustomers = databricks.Grants(\"customers\",\n model=\"main.reporting.customer_model\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"APPLY_TAG\",\n \"EXECUTE\",\n ],\n },\n {\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"EXECUTE\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var customers = new Databricks.Grants(\"customers\", new()\n {\n Model = \"main.reporting.customer_model\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"APPLY_TAG\",\n \"EXECUTE\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"customers\", \u0026databricks.GrantsArgs{\n\t\t\tModel: pulumi.String(\"main.reporting.customer_model\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"APPLY_TAG\"),\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var customers = new Grants(\"customers\", GrantsArgs.builder()\n .model(\"main.reporting.customer_model\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"APPLY_TAG\",\n \"EXECUTE\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customers:\n type: databricks:Grants\n properties:\n model: main.reporting.customer_model\n grants:\n - principal: Data Engineers\n privileges:\n - APPLY_TAG\n - EXECUTE\n - principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Function grants\n\nYou can grant `ALL_PRIVILEGES` and `EXECUTE` privileges to _`catalog.schema.function`_ specified in the `function` attribute.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst udf = new databricks.Grants(\"udf\", {\n \"function\": \"main.reporting.udf\",\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\"EXECUTE\"],\n },\n {\n principal: \"Data Analysts\",\n privileges: [\"EXECUTE\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nudf = databricks.Grants(\"udf\",\n function=\"main.reporting.udf\",\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"EXECUTE\"],\n },\n {\n \"principal\": \"Data Analysts\",\n \"privileges\": [\"EXECUTE\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var udf = new Databricks.Grants(\"udf\", new()\n {\n Function = \"main.reporting.udf\",\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Analysts\",\n Privileges = new[]\n {\n \"EXECUTE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewGrants(ctx, \"udf\", \u0026databricks.GrantsArgs{\n\t\t\tFunction: pulumi.String(\"main.reporting.udf\"),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Analysts\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"EXECUTE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var udf = new Grants(\"udf\", GrantsArgs.builder()\n .function(\"main.reporting.udf\")\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"EXECUTE\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(\"Data Analysts\")\n .privileges(\"EXECUTE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n udf:\n type: databricks:Grants\n properties:\n function: main.reporting.udf\n grants:\n - principal: Data Engineers\n privileges:\n - EXECUTE\n - principal: Data Analysts\n privileges:\n - EXECUTE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Service credential grants\n\nYou can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to databricks.Credential id specified in `credential` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.Credential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n purpose: \"SERVICE\",\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n credential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_CONNECTION\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.Credential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n purpose=\"SERVICE\",\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_CONNECTION\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.Credential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.CredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Purpose = \"SERVICE\",\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n Credential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_CONNECTION\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewCredential(ctx, \"external\", \u0026databricks.CredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.CredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tPurpose: pulumi.String(\"SERVICE\"),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_CONNECTION\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Credential;\nimport com.pulumi.databricks.CredentialArgs;\nimport com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new Credential(\"external\", CredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(CredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .purpose(\"SERVICE\")\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .credential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_CONNECTION\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:Credential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n purpose: SERVICE\n comment: Managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n credential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_CONNECTION\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Storage credential grants\n\nYou can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storage_credential` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n comment: Managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## External location grants\n\nYou can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_TABLE`, `CREATE_MANAGED_STORAGE`, `CREATE EXTERNAL VOLUME`, `READ_FILES` and `WRITE_FILES` privileges to databricks.ExternalLocation id specified in `external_location` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.ExternalLocation(\"some\", {\n name: \"external\",\n url: `s3://${externalAwsS3Bucket.id}/some`,\n credentialName: external.id,\n comment: \"Managed by TF\",\n});\nconst someGrants = new databricks.Grants(\"some\", {\n externalLocation: some.id,\n grants: [\n {\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n principal: mySp.applicationId,\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n principal: myGroup.displayName,\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n principal: myUser.userName,\n privileges: [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.ExternalLocation(\"some\",\n name=\"external\",\n url=f\"s3://{external_aws_s3_bucket['id']}/some\",\n credential_name=external[\"id\"],\n comment=\"Managed by TF\")\nsome_grants = databricks.Grants(\"some\",\n external_location=some.id,\n grants=[\n {\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n \"principal\": my_sp[\"applicationId\"],\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n \"principal\": my_group[\"displayName\"],\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n {\n \"principal\": my_user[\"userName\"],\n \"privileges\": [\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n ],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.ExternalLocation(\"some\", new()\n {\n Name = \"external\",\n Url = $\"s3://{externalAwsS3Bucket.Id}/some\",\n CredentialName = external.Id,\n Comment = \"Managed by TF\",\n });\n\n var someGrants = new Databricks.Grants(\"some\", new()\n {\n ExternalLocation = some.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = mySp.ApplicationId,\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = myGroup.DisplayName,\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = myUser.UserName,\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewExternalLocation(ctx, \"some\", \u0026databricks.ExternalLocationArgs{\n\t\t\tName: pulumi.String(\"external\"),\n\t\t\tUrl: pulumi.Sprintf(\"s3://%v/some\", externalAwsS3Bucket.Id),\n\t\t\tCredentialName: pulumi.Any(external.Id),\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"some\", \u0026databricks.GrantsArgs{\n\t\t\tExternalLocation: some.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.Any(mySp.ApplicationId),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.Any(myGroup.DisplayName),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.Any(myUser.UserName),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t\tpulumi.String(\"READ_FILES\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ExternalLocation;\nimport com.pulumi.databricks.ExternalLocationArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new ExternalLocation(\"some\", ExternalLocationArgs.builder()\n .name(\"external\")\n .url(String.format(\"s3://%s/some\", externalAwsS3Bucket.id()))\n .credentialName(external.id())\n .comment(\"Managed by TF\")\n .build());\n\n var someGrants = new Grants(\"someGrants\", GrantsArgs.builder()\n .externalLocation(some.id())\n .grants( \n GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(mySp.applicationId())\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(myGroup.displayName())\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build(),\n GrantsGrantArgs.builder()\n .principal(myUser.userName())\n .privileges( \n \"CREATE_EXTERNAL_TABLE\",\n \"READ_FILES\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:ExternalLocation\n properties:\n name: external\n url: s3://${externalAwsS3Bucket.id}/some\n credentialName: ${external.id}\n comment: Managed by TF\n someGrants:\n type: databricks:Grants\n name: some\n properties:\n externalLocation: ${some.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n - principal: ${mySp.applicationId}\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n - principal: ${myGroup.displayName}\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n - principal: ${myUser.userName}\n privileges:\n - CREATE_EXTERNAL_TABLE\n - READ_FILES\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Connection grants\n\nYou can grant `ALL_PRIVILEGES`, `USE_CONNECTION` and `CREATE_FOREIGN_CATALOG` to databricks.Connection specified in `foreign_connection` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst mysql = new databricks.Connection(\"mysql\", {\n name: \"mysql_connection\",\n connectionType: \"MYSQL\",\n comment: \"this is a connection to mysql db\",\n options: {\n host: \"test.mysql.database.azure.com\",\n port: \"3306\",\n user: \"user\",\n password: \"password\",\n },\n properties: {\n purpose: \"testing\",\n },\n});\nconst some = new databricks.Grants(\"some\", {\n foreignConnection: mysql.name,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nmysql = databricks.Connection(\"mysql\",\n name=\"mysql_connection\",\n connection_type=\"MYSQL\",\n comment=\"this is a connection to mysql db\",\n options={\n \"host\": \"test.mysql.database.azure.com\",\n \"port\": \"3306\",\n \"user\": \"user\",\n \"password\": \"password\",\n },\n properties={\n \"purpose\": \"testing\",\n })\nsome = databricks.Grants(\"some\",\n foreign_connection=mysql.name,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n ],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql = new Databricks.Connection(\"mysql\", new()\n {\n Name = \"mysql_connection\",\n ConnectionType = \"MYSQL\",\n Comment = \"this is a connection to mysql db\",\n Options = \n {\n { \"host\", \"test.mysql.database.azure.com\" },\n { \"port\", \"3306\" },\n { \"user\", \"user\" },\n { \"password\", \"password\" },\n },\n Properties = \n {\n { \"purpose\", \"testing\" },\n },\n });\n\n var some = new Databricks.Grants(\"some\", new()\n {\n ForeignConnection = mysql.Name,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmysql, err := databricks.NewConnection(ctx, \"mysql\", \u0026databricks.ConnectionArgs{\n\t\t\tName: pulumi.String(\"mysql_connection\"),\n\t\t\tConnectionType: pulumi.String(\"MYSQL\"),\n\t\t\tComment: pulumi.String(\"this is a connection to mysql db\"),\n\t\t\tOptions: pulumi.StringMap{\n\t\t\t\t\"host\": pulumi.String(\"test.mysql.database.azure.com\"),\n\t\t\t\t\"port\": pulumi.String(\"3306\"),\n\t\t\t\t\"user\": pulumi.String(\"user\"),\n\t\t\t\t\"password\": pulumi.String(\"password\"),\n\t\t\t},\n\t\t\tProperties: pulumi.StringMap{\n\t\t\t\t\"purpose\": pulumi.String(\"testing\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"some\", \u0026databricks.GrantsArgs{\n\t\t\tForeignConnection: mysql.Name,\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_FOREIGN_CATALOG\"),\n\t\t\t\t\t\tpulumi.String(\"USE_CONNECTION\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Connection;\nimport com.pulumi.databricks.ConnectionArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql = new Connection(\"mysql\", ConnectionArgs.builder()\n .name(\"mysql_connection\")\n .connectionType(\"MYSQL\")\n .comment(\"this is a connection to mysql db\")\n .options(Map.ofEntries(\n Map.entry(\"host\", \"test.mysql.database.azure.com\"),\n Map.entry(\"port\", \"3306\"),\n Map.entry(\"user\", \"user\"),\n Map.entry(\"password\", \"password\")\n ))\n .properties(Map.of(\"purpose\", \"testing\"))\n .build());\n\n var some = new Grants(\"some\", GrantsArgs.builder()\n .foreignConnection(mysql.name())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges( \n \"CREATE_FOREIGN_CATALOG\",\n \"USE_CONNECTION\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql:\n type: databricks:Connection\n properties:\n name: mysql_connection\n connectionType: MYSQL\n comment: this is a connection to mysql db\n options:\n host: test.mysql.database.azure.com\n port: '3306'\n user: user\n password: password\n properties:\n purpose: testing\n some:\n type: databricks:Grants\n properties:\n foreignConnection: ${mysql.name}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_FOREIGN_CATALOG\n - USE_CONNECTION\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Delta Sharing share grants\n\nYou can grant `SELECT` to databricks.Recipient on databricks.Share name specified in `share` attribute:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst some = new databricks.Share(\"some\", {name: \"my_share\"});\nconst someRecipient = new databricks.Recipient(\"some\", {name: \"my_recipient\"});\nconst someGrants = new databricks.Grants(\"some\", {\n share: some.name,\n grants: [{\n principal: someRecipient.name,\n privileges: [\"SELECT\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsome = databricks.Share(\"some\", name=\"my_share\")\nsome_recipient = databricks.Recipient(\"some\", name=\"my_recipient\")\nsome_grants = databricks.Grants(\"some\",\n share=some.name,\n grants=[{\n \"principal\": some_recipient.name,\n \"privileges\": [\"SELECT\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var some = new Databricks.Share(\"some\", new()\n {\n Name = \"my_share\",\n });\n\n var someRecipient = new Databricks.Recipient(\"some\", new()\n {\n Name = \"my_recipient\",\n });\n\n var someGrants = new Databricks.Grants(\"some\", new()\n {\n Share = some.Name,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = someRecipient.Name,\n Privileges = new[]\n {\n \"SELECT\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsome, err := databricks.NewShare(ctx, \"some\", \u0026databricks.ShareArgs{\n\t\t\tName: pulumi.String(\"my_share\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsomeRecipient, err := databricks.NewRecipient(ctx, \"some\", \u0026databricks.RecipientArgs{\n\t\t\tName: pulumi.String(\"my_recipient\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"some\", \u0026databricks.GrantsArgs{\n\t\t\tShare: some.Name,\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: someRecipient.Name,\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"SELECT\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Share;\nimport com.pulumi.databricks.ShareArgs;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var some = new Share(\"some\", ShareArgs.builder()\n .name(\"my_share\")\n .build());\n\n var someRecipient = new Recipient(\"someRecipient\", RecipientArgs.builder()\n .name(\"my_recipient\")\n .build());\n\n var someGrants = new Grants(\"someGrants\", GrantsArgs.builder()\n .share(some.name())\n .grants(GrantsGrantArgs.builder()\n .principal(someRecipient.name())\n .privileges(\"SELECT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n some:\n type: databricks:Share\n properties:\n name: my_share\n someRecipient:\n type: databricks:Recipient\n name: some\n properties:\n name: my_recipient\n someGrants:\n type: databricks:Grants\n name: some\n properties:\n share: ${some.name}\n grants:\n - principal: ${someRecipient.name}\n privileges:\n - SELECT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Other access control\n\nYou can control Databricks General Permissions through databricks.Permissions resource.\n\n## Import\n\nThe resource can be imported using combination of securable type (`table`, `catalog`, `foreign_connection`, ...) and it's name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/grants:Grants this catalog/abc\n```\n\n", "properties": { "catalog": { "type": "string" }, + "credential": { + "type": "string" + }, "externalLocation": { "type": "string" }, @@ -20669,6 +23267,10 @@ "type": "string", "willReplaceOnChanges": true }, + "credential": { + "type": "string", + "willReplaceOnChanges": true + }, "externalLocation": { "type": "string", "willReplaceOnChanges": true @@ -20739,6 +23341,10 @@ "type": "string", "willReplaceOnChanges": true }, + "credential": { + "type": "string", + "willReplaceOnChanges": true + }, "externalLocation": { "type": "string", "willReplaceOnChanges": true @@ -23518,7 +26124,7 @@ } }, "databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys": { - "description": "## Example Usage\n\n\u003e If you've used the resource before, please add `use_cases = [\"MANAGED_SERVICES\"]` to keep the previous behaviour.\n\n### Customer-managed key for managed services\n\nYou must configure this during workspace creation\n\n### For AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst current = aws.getCallerIdentity({});\nconst databricksManagedServicesCmk = current.then(current =\u003e aws.iam.getPolicyDocument({\n version: \"2012-10-17\",\n statements: [\n {\n sid: \"Enable IAM User Permissions\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [current.accountId],\n }],\n actions: [\"kms:*\"],\n resources: [\"*\"],\n },\n {\n sid: \"Allow Databricks to use KMS key for control plane managed services\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [\"arn:aws:iam::414351767826:root\"],\n }],\n actions: [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n ],\n resources: [\"*\"],\n },\n ],\n}));\nconst managedServicesCustomerManagedKey = new aws.kms.Key(\"managed_services_customer_managed_key\", {policy: databricksManagedServicesCmk.then(databricksManagedServicesCmk =\u003e databricksManagedServicesCmk.json)});\nconst managedServicesCustomerManagedKeyAlias = new aws.kms.Alias(\"managed_services_customer_managed_key_alias\", {\n name: \"alias/managed-services-customer-managed-key-alias\",\n targetKeyId: managedServicesCustomerManagedKey.keyId,\n});\nconst managedServices = new databricks.MwsCustomerManagedKeys(\"managed_services\", {\n accountId: databricksAccountId,\n awsKeyInfo: {\n keyArn: managedServicesCustomerManagedKey.arn,\n keyAlias: managedServicesCustomerManagedKeyAlias.name,\n },\n useCases: [\"MANAGED_SERVICES\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\ncurrent = aws.get_caller_identity()\ndatabricks_managed_services_cmk = aws.iam.get_policy_document(version=\"2012-10-17\",\n statements=[\n {\n \"sid\": \"Enable IAM User Permissions\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [current.account_id],\n }],\n \"actions\": [\"kms:*\"],\n \"resources\": [\"*\"],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for control plane managed services\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [\"arn:aws:iam::414351767826:root\"],\n }],\n \"actions\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n ],\n \"resources\": [\"*\"],\n },\n ])\nmanaged_services_customer_managed_key = aws.kms.Key(\"managed_services_customer_managed_key\", policy=databricks_managed_services_cmk.json)\nmanaged_services_customer_managed_key_alias = aws.kms.Alias(\"managed_services_customer_managed_key_alias\",\n name=\"alias/managed-services-customer-managed-key-alias\",\n target_key_id=managed_services_customer_managed_key.key_id)\nmanaged_services = databricks.MwsCustomerManagedKeys(\"managed_services\",\n account_id=databricks_account_id,\n aws_key_info={\n \"key_arn\": managed_services_customer_managed_key.arn,\n \"key_alias\": managed_services_customer_managed_key_alias.name,\n },\n use_cases=[\"MANAGED_SERVICES\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var current = Aws.GetCallerIdentity.Invoke();\n\n var databricksManagedServicesCmk = Aws.Iam.GetPolicyDocument.Invoke(new()\n {\n Version = \"2012-10-17\",\n Statements = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Enable IAM User Permissions\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n current.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.AccountId),\n },\n },\n },\n Actions = new[]\n {\n \"kms:*\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for control plane managed services\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n \"arn:aws:iam::414351767826:root\",\n },\n },\n },\n Actions = new[]\n {\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n },\n });\n\n var managedServicesCustomerManagedKey = new Aws.Kms.Key(\"managed_services_customer_managed_key\", new()\n {\n Policy = databricksManagedServicesCmk.Apply(getPolicyDocumentResult =\u003e getPolicyDocumentResult.Json),\n });\n\n var managedServicesCustomerManagedKeyAlias = new Aws.Kms.Alias(\"managed_services_customer_managed_key_alias\", new()\n {\n Name = \"alias/managed-services-customer-managed-key-alias\",\n TargetKeyId = managedServicesCustomerManagedKey.KeyId,\n });\n\n var managedServices = new Databricks.MwsCustomerManagedKeys(\"managed_services\", new()\n {\n AccountId = databricksAccountId,\n AwsKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysAwsKeyInfoArgs\n {\n KeyArn = managedServicesCustomerManagedKey.Arn,\n KeyAlias = managedServicesCustomerManagedKeyAlias.Name,\n },\n UseCases = new[]\n {\n \"MANAGED_SERVICES\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\ncurrent, err := aws.GetCallerIdentity(ctx, \u0026aws.GetCallerIdentityArgs{\n}, nil);\nif err != nil {\nreturn err\n}\ndatabricksManagedServicesCmk, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\nVersion: pulumi.StringRef(\"2012-10-17\"),\nStatements: []iam.GetPolicyDocumentStatement{\n{\nSid: pulumi.StringRef(\"Enable IAM User Permissions\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: interface{}{\ncurrent.AccountId,\n},\n},\n},\nActions: []string{\n\"kms:*\",\n},\nResources: []string{\n\"*\",\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for control plane managed services\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: []string{\n\"arn:aws:iam::414351767826:root\",\n},\n},\n},\nActions: []string{\n\"kms:Encrypt\",\n\"kms:Decrypt\",\n},\nResources: []string{\n\"*\",\n},\n},\n},\n}, nil);\nif err != nil {\nreturn err\n}\nmanagedServicesCustomerManagedKey, err := kms.NewKey(ctx, \"managed_services_customer_managed_key\", \u0026kms.KeyArgs{\nPolicy: pulumi.String(databricksManagedServicesCmk.Json),\n})\nif err != nil {\nreturn err\n}\nmanagedServicesCustomerManagedKeyAlias, err := kms.NewAlias(ctx, \"managed_services_customer_managed_key_alias\", \u0026kms.AliasArgs{\nName: pulumi.String(\"alias/managed-services-customer-managed-key-alias\"),\nTargetKeyId: managedServicesCustomerManagedKey.KeyId,\n})\nif err != nil {\nreturn err\n}\n_, err = databricks.NewMwsCustomerManagedKeys(ctx, \"managed_services\", \u0026databricks.MwsCustomerManagedKeysArgs{\nAccountId: pulumi.Any(databricksAccountId),\nAwsKeyInfo: \u0026databricks.MwsCustomerManagedKeysAwsKeyInfoArgs{\nKeyArn: managedServicesCustomerManagedKey.Arn,\nKeyAlias: managedServicesCustomerManagedKeyAlias.Name,\n},\nUseCases: pulumi.StringArray{\npulumi.String(\"MANAGED_SERVICES\"),\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.iam.IamFunctions;\nimport com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;\nimport com.pulumi.aws.kms.Key;\nimport com.pulumi.aws.kms.KeyArgs;\nimport com.pulumi.aws.kms.Alias;\nimport com.pulumi.aws.kms.AliasArgs;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysAwsKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var current = AwsFunctions.getCallerIdentity();\n\n final var databricksManagedServicesCmk = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()\n .version(\"2012-10-17\")\n .statements( \n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Enable IAM User Permissions\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(current.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.accountId()))\n .build())\n .actions(\"kms:*\")\n .resources(\"*\")\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for control plane managed services\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(\"arn:aws:iam::414351767826:root\")\n .build())\n .actions( \n \"kms:Encrypt\",\n \"kms:Decrypt\")\n .resources(\"*\")\n .build())\n .build());\n\n var managedServicesCustomerManagedKey = new Key(\"managedServicesCustomerManagedKey\", KeyArgs.builder()\n .policy(databricksManagedServicesCmk.applyValue(getPolicyDocumentResult -\u003e getPolicyDocumentResult.json()))\n .build());\n\n var managedServicesCustomerManagedKeyAlias = new Alias(\"managedServicesCustomerManagedKeyAlias\", AliasArgs.builder()\n .name(\"alias/managed-services-customer-managed-key-alias\")\n .targetKeyId(managedServicesCustomerManagedKey.keyId())\n .build());\n\n var managedServices = new MwsCustomerManagedKeys(\"managedServices\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .awsKeyInfo(MwsCustomerManagedKeysAwsKeyInfoArgs.builder()\n .keyArn(managedServicesCustomerManagedKey.arn())\n .keyAlias(managedServicesCustomerManagedKeyAlias.name())\n .build())\n .useCases(\"MANAGED_SERVICES\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n managedServicesCustomerManagedKey:\n type: aws:kms:Key\n name: managed_services_customer_managed_key\n properties:\n policy: ${databricksManagedServicesCmk.json}\n managedServicesCustomerManagedKeyAlias:\n type: aws:kms:Alias\n name: managed_services_customer_managed_key_alias\n properties:\n name: alias/managed-services-customer-managed-key-alias\n targetKeyId: ${managedServicesCustomerManagedKey.keyId}\n managedServices:\n type: databricks:MwsCustomerManagedKeys\n name: managed_services\n properties:\n accountId: ${databricksAccountId}\n awsKeyInfo:\n keyArn: ${managedServicesCustomerManagedKey.arn}\n keyAlias: ${managedServicesCustomerManagedKeyAlias.name}\n useCases:\n - MANAGED_SERVICES\nvariables:\n current:\n fn::invoke:\n function: aws:getCallerIdentity\n arguments: {}\n databricksManagedServicesCmk:\n fn::invoke:\n function: aws:iam:getPolicyDocument\n arguments:\n version: 2012-10-17\n statements:\n - sid: Enable IAM User Permissions\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - ${current.accountId}\n actions:\n - kms:*\n resources:\n - '*'\n - sid: Allow Databricks to use KMS key for control plane managed services\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - arn:aws:iam::414351767826:root\n actions:\n - kms:Encrypt\n - kms:Decrypt\n resources:\n - '*'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### For GCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// Id of a google_kms_crypto_key\nconst cmekResourceId = config.requireObject(\"cmekResourceId\");\nconst managedServices = new databricks.MwsCustomerManagedKeys(\"managed_services\", {\n accountId: databricksAccountId,\n gcpKeyInfo: {\n kmsKeyId: cmekResourceId,\n },\n useCases: [\"MANAGED_SERVICES\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# Id of a google_kms_crypto_key\ncmek_resource_id = config.require_object(\"cmekResourceId\")\nmanaged_services = databricks.MwsCustomerManagedKeys(\"managed_services\",\n account_id=databricks_account_id,\n gcp_key_info={\n \"kms_key_id\": cmek_resource_id,\n },\n use_cases=[\"MANAGED_SERVICES\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // Id of a google_kms_crypto_key\n var cmekResourceId = config.RequireObject\u003cdynamic\u003e(\"cmekResourceId\");\n var managedServices = new Databricks.MwsCustomerManagedKeys(\"managed_services\", new()\n {\n AccountId = databricksAccountId,\n GcpKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysGcpKeyInfoArgs\n {\n KmsKeyId = cmekResourceId,\n },\n UseCases = new[]\n {\n \"MANAGED_SERVICES\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\t// Id of a google_kms_crypto_key\n\t\tcmekResourceId := cfg.RequireObject(\"cmekResourceId\")\n\t\t_, err := databricks.NewMwsCustomerManagedKeys(ctx, \"managed_services\", \u0026databricks.MwsCustomerManagedKeysArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tGcpKeyInfo: \u0026databricks.MwsCustomerManagedKeysGcpKeyInfoArgs{\n\t\t\t\tKmsKeyId: pulumi.Any(cmekResourceId),\n\t\t\t},\n\t\t\tUseCases: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MANAGED_SERVICES\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysGcpKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var cmekResourceId = config.get(\"cmekResourceId\");\n var managedServices = new MwsCustomerManagedKeys(\"managedServices\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .gcpKeyInfo(MwsCustomerManagedKeysGcpKeyInfoArgs.builder()\n .kmsKeyId(cmekResourceId)\n .build())\n .useCases(\"MANAGED_SERVICES\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n cmekResourceId:\n type: dynamic\nresources:\n managedServices:\n type: databricks:MwsCustomerManagedKeys\n name: managed_services\n properties:\n accountId: ${databricksAccountId}\n gcpKeyInfo:\n kmsKeyId: ${cmekResourceId}\n useCases:\n - MANAGED_SERVICES\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Customer-managed key for workspace storage\n\n### For AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// AWS ARN for the Databricks cross account role\nconst databricksCrossAccountRole = config.requireObject(\"databricksCrossAccountRole\");\nconst current = aws.getCallerIdentity({});\nconst databricksStorageCmk = current.then(current =\u003e aws.iam.getPolicyDocument({\n version: \"2012-10-17\",\n statements: [\n {\n sid: \"Enable IAM User Permissions\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [current.accountId],\n }],\n actions: [\"kms:*\"],\n resources: [\"*\"],\n },\n {\n sid: \"Allow Databricks to use KMS key for DBFS\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [\"arn:aws:iam::414351767826:root\"],\n }],\n actions: [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\",\n ],\n resources: [\"*\"],\n },\n {\n sid: \"Allow Databricks to use KMS key for DBFS (Grants)\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [\"arn:aws:iam::414351767826:root\"],\n }],\n actions: [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\",\n ],\n resources: [\"*\"],\n conditions: [{\n test: \"Bool\",\n variable: \"kms:GrantIsForAWSResource\",\n values: [\"true\"],\n }],\n },\n {\n sid: \"Allow Databricks to use KMS key for EBS\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [databricksCrossAccountRole],\n }],\n actions: [\n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\",\n ],\n resources: [\"*\"],\n conditions: [{\n test: \"ForAnyValue:StringLike\",\n variable: \"kms:ViaService\",\n values: [\"ec2.*.amazonaws.com\"],\n }],\n },\n ],\n}));\nconst storageCustomerManagedKey = new aws.kms.Key(\"storage_customer_managed_key\", {policy: databricksStorageCmk.then(databricksStorageCmk =\u003e databricksStorageCmk.json)});\nconst storageCustomerManagedKeyAlias = new aws.kms.Alias(\"storage_customer_managed_key_alias\", {\n name: \"alias/storage-customer-managed-key-alias\",\n targetKeyId: storageCustomerManagedKey.keyId,\n});\nconst storage = new databricks.MwsCustomerManagedKeys(\"storage\", {\n accountId: databricksAccountId,\n awsKeyInfo: {\n keyArn: storageCustomerManagedKey.arn,\n keyAlias: storageCustomerManagedKeyAlias.name,\n },\n useCases: [\"STORAGE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# AWS ARN for the Databricks cross account role\ndatabricks_cross_account_role = config.require_object(\"databricksCrossAccountRole\")\ncurrent = aws.get_caller_identity()\ndatabricks_storage_cmk = aws.iam.get_policy_document(version=\"2012-10-17\",\n statements=[\n {\n \"sid\": \"Enable IAM User Permissions\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [current.account_id],\n }],\n \"actions\": [\"kms:*\"],\n \"resources\": [\"*\"],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for DBFS\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [\"arn:aws:iam::414351767826:root\"],\n }],\n \"actions\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\",\n ],\n \"resources\": [\"*\"],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for DBFS (Grants)\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [\"arn:aws:iam::414351767826:root\"],\n }],\n \"actions\": [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\",\n ],\n \"resources\": [\"*\"],\n \"conditions\": [{\n \"test\": \"Bool\",\n \"variable\": \"kms:GrantIsForAWSResource\",\n \"values\": [\"true\"],\n }],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for EBS\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [databricks_cross_account_role],\n }],\n \"actions\": [\n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\",\n ],\n \"resources\": [\"*\"],\n \"conditions\": [{\n \"test\": \"ForAnyValue:StringLike\",\n \"variable\": \"kms:ViaService\",\n \"values\": [\"ec2.*.amazonaws.com\"],\n }],\n },\n ])\nstorage_customer_managed_key = aws.kms.Key(\"storage_customer_managed_key\", policy=databricks_storage_cmk.json)\nstorage_customer_managed_key_alias = aws.kms.Alias(\"storage_customer_managed_key_alias\",\n name=\"alias/storage-customer-managed-key-alias\",\n target_key_id=storage_customer_managed_key.key_id)\nstorage = databricks.MwsCustomerManagedKeys(\"storage\",\n account_id=databricks_account_id,\n aws_key_info={\n \"key_arn\": storage_customer_managed_key.arn,\n \"key_alias\": storage_customer_managed_key_alias.name,\n },\n use_cases=[\"STORAGE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // AWS ARN for the Databricks cross account role\n var databricksCrossAccountRole = config.RequireObject\u003cdynamic\u003e(\"databricksCrossAccountRole\");\n var current = Aws.GetCallerIdentity.Invoke();\n\n var databricksStorageCmk = Aws.Iam.GetPolicyDocument.Invoke(new()\n {\n Version = \"2012-10-17\",\n Statements = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Enable IAM User Permissions\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n current.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.AccountId),\n },\n },\n },\n Actions = new[]\n {\n \"kms:*\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for DBFS\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n \"arn:aws:iam::414351767826:root\",\n },\n },\n },\n Actions = new[]\n {\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for DBFS (Grants)\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n \"arn:aws:iam::414351767826:root\",\n },\n },\n },\n Actions = new[]\n {\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\",\n },\n Resources = new[]\n {\n \"*\",\n },\n Conditions = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementConditionInputArgs\n {\n Test = \"Bool\",\n Variable = \"kms:GrantIsForAWSResource\",\n Values = new[]\n {\n \"true\",\n },\n },\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for EBS\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n databricksCrossAccountRole,\n },\n },\n },\n Actions = new[]\n {\n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\",\n },\n Resources = new[]\n {\n \"*\",\n },\n Conditions = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementConditionInputArgs\n {\n Test = \"ForAnyValue:StringLike\",\n Variable = \"kms:ViaService\",\n Values = new[]\n {\n \"ec2.*.amazonaws.com\",\n },\n },\n },\n },\n },\n });\n\n var storageCustomerManagedKey = new Aws.Kms.Key(\"storage_customer_managed_key\", new()\n {\n Policy = databricksStorageCmk.Apply(getPolicyDocumentResult =\u003e getPolicyDocumentResult.Json),\n });\n\n var storageCustomerManagedKeyAlias = new Aws.Kms.Alias(\"storage_customer_managed_key_alias\", new()\n {\n Name = \"alias/storage-customer-managed-key-alias\",\n TargetKeyId = storageCustomerManagedKey.KeyId,\n });\n\n var storage = new Databricks.MwsCustomerManagedKeys(\"storage\", new()\n {\n AccountId = databricksAccountId,\n AwsKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysAwsKeyInfoArgs\n {\n KeyArn = storageCustomerManagedKey.Arn,\n KeyAlias = storageCustomerManagedKeyAlias.Name,\n },\n UseCases = new[]\n {\n \"STORAGE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n// AWS ARN for the Databricks cross account role\ndatabricksCrossAccountRole := cfg.RequireObject(\"databricksCrossAccountRole\")\ncurrent, err := aws.GetCallerIdentity(ctx, \u0026aws.GetCallerIdentityArgs{\n}, nil);\nif err != nil {\nreturn err\n}\ndatabricksStorageCmk, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\nVersion: pulumi.StringRef(\"2012-10-17\"),\nStatements: []iam.GetPolicyDocumentStatement{\n{\nSid: pulumi.StringRef(\"Enable IAM User Permissions\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: interface{}{\ncurrent.AccountId,\n},\n},\n},\nActions: []string{\n\"kms:*\",\n},\nResources: []string{\n\"*\",\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for DBFS\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: []string{\n\"arn:aws:iam::414351767826:root\",\n},\n},\n},\nActions: []string{\n\"kms:Encrypt\",\n\"kms:Decrypt\",\n\"kms:ReEncrypt*\",\n\"kms:GenerateDataKey*\",\n\"kms:DescribeKey\",\n},\nResources: []string{\n\"*\",\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for DBFS (Grants)\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: []string{\n\"arn:aws:iam::414351767826:root\",\n},\n},\n},\nActions: []string{\n\"kms:CreateGrant\",\n\"kms:ListGrants\",\n\"kms:RevokeGrant\",\n},\nResources: []string{\n\"*\",\n},\nConditions: []iam.GetPolicyDocumentStatementCondition{\n{\nTest: \"Bool\",\nVariable: \"kms:GrantIsForAWSResource\",\nValues: []string{\n\"true\",\n},\n},\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for EBS\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: interface{}{\ndatabricksCrossAccountRole,\n},\n},\n},\nActions: []string{\n\"kms:Decrypt\",\n\"kms:GenerateDataKey*\",\n\"kms:CreateGrant\",\n\"kms:DescribeKey\",\n},\nResources: []string{\n\"*\",\n},\nConditions: []iam.GetPolicyDocumentStatementCondition{\n{\nTest: \"ForAnyValue:StringLike\",\nVariable: \"kms:ViaService\",\nValues: []string{\n\"ec2.*.amazonaws.com\",\n},\n},\n},\n},\n},\n}, nil);\nif err != nil {\nreturn err\n}\nstorageCustomerManagedKey, err := kms.NewKey(ctx, \"storage_customer_managed_key\", \u0026kms.KeyArgs{\nPolicy: pulumi.String(databricksStorageCmk.Json),\n})\nif err != nil {\nreturn err\n}\nstorageCustomerManagedKeyAlias, err := kms.NewAlias(ctx, \"storage_customer_managed_key_alias\", \u0026kms.AliasArgs{\nName: pulumi.String(\"alias/storage-customer-managed-key-alias\"),\nTargetKeyId: storageCustomerManagedKey.KeyId,\n})\nif err != nil {\nreturn err\n}\n_, err = databricks.NewMwsCustomerManagedKeys(ctx, \"storage\", \u0026databricks.MwsCustomerManagedKeysArgs{\nAccountId: pulumi.Any(databricksAccountId),\nAwsKeyInfo: \u0026databricks.MwsCustomerManagedKeysAwsKeyInfoArgs{\nKeyArn: storageCustomerManagedKey.Arn,\nKeyAlias: storageCustomerManagedKeyAlias.Name,\n},\nUseCases: pulumi.StringArray{\npulumi.String(\"STORAGE\"),\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.iam.IamFunctions;\nimport com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;\nimport com.pulumi.aws.kms.Key;\nimport com.pulumi.aws.kms.KeyArgs;\nimport com.pulumi.aws.kms.Alias;\nimport com.pulumi.aws.kms.AliasArgs;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysAwsKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var databricksCrossAccountRole = config.get(\"databricksCrossAccountRole\");\n final var current = AwsFunctions.getCallerIdentity();\n\n final var databricksStorageCmk = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()\n .version(\"2012-10-17\")\n .statements( \n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Enable IAM User Permissions\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(current.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.accountId()))\n .build())\n .actions(\"kms:*\")\n .resources(\"*\")\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for DBFS\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(\"arn:aws:iam::414351767826:root\")\n .build())\n .actions( \n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\")\n .resources(\"*\")\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for DBFS (Grants)\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(\"arn:aws:iam::414351767826:root\")\n .build())\n .actions( \n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\")\n .resources(\"*\")\n .conditions(GetPolicyDocumentStatementConditionArgs.builder()\n .test(\"Bool\")\n .variable(\"kms:GrantIsForAWSResource\")\n .values(\"true\")\n .build())\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for EBS\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(databricksCrossAccountRole)\n .build())\n .actions( \n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\")\n .resources(\"*\")\n .conditions(GetPolicyDocumentStatementConditionArgs.builder()\n .test(\"ForAnyValue:StringLike\")\n .variable(\"kms:ViaService\")\n .values(\"ec2.*.amazonaws.com\")\n .build())\n .build())\n .build());\n\n var storageCustomerManagedKey = new Key(\"storageCustomerManagedKey\", KeyArgs.builder()\n .policy(databricksStorageCmk.applyValue(getPolicyDocumentResult -\u003e getPolicyDocumentResult.json()))\n .build());\n\n var storageCustomerManagedKeyAlias = new Alias(\"storageCustomerManagedKeyAlias\", AliasArgs.builder()\n .name(\"alias/storage-customer-managed-key-alias\")\n .targetKeyId(storageCustomerManagedKey.keyId())\n .build());\n\n var storage = new MwsCustomerManagedKeys(\"storage\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .awsKeyInfo(MwsCustomerManagedKeysAwsKeyInfoArgs.builder()\n .keyArn(storageCustomerManagedKey.arn())\n .keyAlias(storageCustomerManagedKeyAlias.name())\n .build())\n .useCases(\"STORAGE\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n databricksCrossAccountRole:\n type: dynamic\nresources:\n storageCustomerManagedKey:\n type: aws:kms:Key\n name: storage_customer_managed_key\n properties:\n policy: ${databricksStorageCmk.json}\n storageCustomerManagedKeyAlias:\n type: aws:kms:Alias\n name: storage_customer_managed_key_alias\n properties:\n name: alias/storage-customer-managed-key-alias\n targetKeyId: ${storageCustomerManagedKey.keyId}\n storage:\n type: databricks:MwsCustomerManagedKeys\n properties:\n accountId: ${databricksAccountId}\n awsKeyInfo:\n keyArn: ${storageCustomerManagedKey.arn}\n keyAlias: ${storageCustomerManagedKeyAlias.name}\n useCases:\n - STORAGE\nvariables:\n current:\n fn::invoke:\n function: aws:getCallerIdentity\n arguments: {}\n databricksStorageCmk:\n fn::invoke:\n function: aws:iam:getPolicyDocument\n arguments:\n version: 2012-10-17\n statements:\n - sid: Enable IAM User Permissions\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - ${current.accountId}\n actions:\n - kms:*\n resources:\n - '*'\n - sid: Allow Databricks to use KMS key for DBFS\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - arn:aws:iam::414351767826:root\n actions:\n - kms:Encrypt\n - kms:Decrypt\n - kms:ReEncrypt*\n - kms:GenerateDataKey*\n - kms:DescribeKey\n resources:\n - '*'\n - sid: Allow Databricks to use KMS key for DBFS (Grants)\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - arn:aws:iam::414351767826:root\n actions:\n - kms:CreateGrant\n - kms:ListGrants\n - kms:RevokeGrant\n resources:\n - '*'\n conditions:\n - test: Bool\n variable: kms:GrantIsForAWSResource\n values:\n - 'true'\n - sid: Allow Databricks to use KMS key for EBS\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - ${databricksCrossAccountRole}\n actions:\n - kms:Decrypt\n - kms:GenerateDataKey*\n - kms:CreateGrant\n - kms:DescribeKey\n resources:\n - '*'\n conditions:\n - test: ForAnyValue:StringLike\n variable: kms:ViaService\n values:\n - ec2.*.amazonaws.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### For GCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// Id of a google_kms_crypto_key\nconst cmekResourceId = config.requireObject(\"cmekResourceId\");\nconst storage = new databricks.MwsCustomerManagedKeys(\"storage\", {\n accountId: databricksAccountId,\n gcpKeyInfo: {\n kmsKeyId: cmekResourceId,\n },\n useCases: [\"STORAGE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# Id of a google_kms_crypto_key\ncmek_resource_id = config.require_object(\"cmekResourceId\")\nstorage = databricks.MwsCustomerManagedKeys(\"storage\",\n account_id=databricks_account_id,\n gcp_key_info={\n \"kms_key_id\": cmek_resource_id,\n },\n use_cases=[\"STORAGE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // Id of a google_kms_crypto_key\n var cmekResourceId = config.RequireObject\u003cdynamic\u003e(\"cmekResourceId\");\n var storage = new Databricks.MwsCustomerManagedKeys(\"storage\", new()\n {\n AccountId = databricksAccountId,\n GcpKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysGcpKeyInfoArgs\n {\n KmsKeyId = cmekResourceId,\n },\n UseCases = new[]\n {\n \"STORAGE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\t// Id of a google_kms_crypto_key\n\t\tcmekResourceId := cfg.RequireObject(\"cmekResourceId\")\n\t\t_, err := databricks.NewMwsCustomerManagedKeys(ctx, \"storage\", \u0026databricks.MwsCustomerManagedKeysArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tGcpKeyInfo: \u0026databricks.MwsCustomerManagedKeysGcpKeyInfoArgs{\n\t\t\t\tKmsKeyId: pulumi.Any(cmekResourceId),\n\t\t\t},\n\t\t\tUseCases: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"STORAGE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysGcpKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var cmekResourceId = config.get(\"cmekResourceId\");\n var storage = new MwsCustomerManagedKeys(\"storage\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .gcpKeyInfo(MwsCustomerManagedKeysGcpKeyInfoArgs.builder()\n .kmsKeyId(cmekResourceId)\n .build())\n .useCases(\"STORAGE\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n cmekResourceId:\n type: dynamic\nresources:\n storage:\n type: databricks:MwsCustomerManagedKeys\n properties:\n accountId: ${databricksAccountId}\n gcpKeyInfo:\n kmsKeyId: ${cmekResourceId}\n useCases:\n - STORAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.\n* databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).\n* databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) \u0026 subnets for new workspaces within AWS.\n* databricks.MwsStorageConfigurations to configure root bucket new workspaces within AWS.\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\n!\u003e Importing this resource is not currently supported.\n\n", + "description": "## Example Usage\n\n\u003e If you've used the resource before, please add `use_cases = [\"MANAGED_SERVICES\"]` to keep the previous behaviour.\n\n### Customer-managed key for managed services\n\nYou must configure this during workspace creation\n\n### For AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst current = aws.getCallerIdentity({});\nconst databricksManagedServicesCmk = current.then(current =\u003e aws.iam.getPolicyDocument({\n version: \"2012-10-17\",\n statements: [\n {\n sid: \"Enable IAM User Permissions\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [current.accountId],\n }],\n actions: [\"kms:*\"],\n resources: [\"*\"],\n },\n {\n sid: \"Allow Databricks to use KMS key for control plane managed services\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [\"arn:aws:iam::414351767826:root\"],\n }],\n actions: [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n ],\n resources: [\"*\"],\n },\n ],\n}));\nconst managedServicesCustomerManagedKey = new aws.kms.Key(\"managed_services_customer_managed_key\", {policy: databricksManagedServicesCmk.then(databricksManagedServicesCmk =\u003e databricksManagedServicesCmk.json)});\nconst managedServicesCustomerManagedKeyAlias = new aws.kms.Alias(\"managed_services_customer_managed_key_alias\", {\n name: \"alias/managed-services-customer-managed-key-alias\",\n targetKeyId: managedServicesCustomerManagedKey.keyId,\n});\nconst managedServices = new databricks.MwsCustomerManagedKeys(\"managed_services\", {\n accountId: databricksAccountId,\n awsKeyInfo: {\n keyArn: managedServicesCustomerManagedKey.arn,\n keyAlias: managedServicesCustomerManagedKeyAlias.name,\n },\n useCases: [\"MANAGED_SERVICES\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\ncurrent = aws.get_caller_identity()\ndatabricks_managed_services_cmk = aws.iam.get_policy_document(version=\"2012-10-17\",\n statements=[\n {\n \"sid\": \"Enable IAM User Permissions\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [current.account_id],\n }],\n \"actions\": [\"kms:*\"],\n \"resources\": [\"*\"],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for control plane managed services\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [\"arn:aws:iam::414351767826:root\"],\n }],\n \"actions\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n ],\n \"resources\": [\"*\"],\n },\n ])\nmanaged_services_customer_managed_key = aws.kms.Key(\"managed_services_customer_managed_key\", policy=databricks_managed_services_cmk.json)\nmanaged_services_customer_managed_key_alias = aws.kms.Alias(\"managed_services_customer_managed_key_alias\",\n name=\"alias/managed-services-customer-managed-key-alias\",\n target_key_id=managed_services_customer_managed_key.key_id)\nmanaged_services = databricks.MwsCustomerManagedKeys(\"managed_services\",\n account_id=databricks_account_id,\n aws_key_info={\n \"key_arn\": managed_services_customer_managed_key.arn,\n \"key_alias\": managed_services_customer_managed_key_alias.name,\n },\n use_cases=[\"MANAGED_SERVICES\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var current = Aws.GetCallerIdentity.Invoke();\n\n var databricksManagedServicesCmk = Aws.Iam.GetPolicyDocument.Invoke(new()\n {\n Version = \"2012-10-17\",\n Statements = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Enable IAM User Permissions\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n current.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.AccountId),\n },\n },\n },\n Actions = new[]\n {\n \"kms:*\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for control plane managed services\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n \"arn:aws:iam::414351767826:root\",\n },\n },\n },\n Actions = new[]\n {\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n },\n });\n\n var managedServicesCustomerManagedKey = new Aws.Kms.Key(\"managed_services_customer_managed_key\", new()\n {\n Policy = databricksManagedServicesCmk.Apply(getPolicyDocumentResult =\u003e getPolicyDocumentResult.Json),\n });\n\n var managedServicesCustomerManagedKeyAlias = new Aws.Kms.Alias(\"managed_services_customer_managed_key_alias\", new()\n {\n Name = \"alias/managed-services-customer-managed-key-alias\",\n TargetKeyId = managedServicesCustomerManagedKey.KeyId,\n });\n\n var managedServices = new Databricks.MwsCustomerManagedKeys(\"managed_services\", new()\n {\n AccountId = databricksAccountId,\n AwsKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysAwsKeyInfoArgs\n {\n KeyArn = managedServicesCustomerManagedKey.Arn,\n KeyAlias = managedServicesCustomerManagedKeyAlias.Name,\n },\n UseCases = new[]\n {\n \"MANAGED_SERVICES\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\ncurrent, err := aws.GetCallerIdentity(ctx, \u0026aws.GetCallerIdentityArgs{\n}, nil);\nif err != nil {\nreturn err\n}\ndatabricksManagedServicesCmk, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\nVersion: pulumi.StringRef(\"2012-10-17\"),\nStatements: []iam.GetPolicyDocumentStatement{\n{\nSid: pulumi.StringRef(\"Enable IAM User Permissions\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: interface{}{\ncurrent.AccountId,\n},\n},\n},\nActions: []string{\n\"kms:*\",\n},\nResources: []string{\n\"*\",\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for control plane managed services\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: []string{\n\"arn:aws:iam::414351767826:root\",\n},\n},\n},\nActions: []string{\n\"kms:Encrypt\",\n\"kms:Decrypt\",\n},\nResources: []string{\n\"*\",\n},\n},\n},\n}, nil);\nif err != nil {\nreturn err\n}\nmanagedServicesCustomerManagedKey, err := kms.NewKey(ctx, \"managed_services_customer_managed_key\", \u0026kms.KeyArgs{\nPolicy: pulumi.String(databricksManagedServicesCmk.Json),\n})\nif err != nil {\nreturn err\n}\nmanagedServicesCustomerManagedKeyAlias, err := kms.NewAlias(ctx, \"managed_services_customer_managed_key_alias\", \u0026kms.AliasArgs{\nName: pulumi.String(\"alias/managed-services-customer-managed-key-alias\"),\nTargetKeyId: managedServicesCustomerManagedKey.KeyId,\n})\nif err != nil {\nreturn err\n}\n_, err = databricks.NewMwsCustomerManagedKeys(ctx, \"managed_services\", \u0026databricks.MwsCustomerManagedKeysArgs{\nAccountId: pulumi.Any(databricksAccountId),\nAwsKeyInfo: \u0026databricks.MwsCustomerManagedKeysAwsKeyInfoArgs{\nKeyArn: managedServicesCustomerManagedKey.Arn,\nKeyAlias: managedServicesCustomerManagedKeyAlias.Name,\n},\nUseCases: pulumi.StringArray{\npulumi.String(\"MANAGED_SERVICES\"),\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.iam.IamFunctions;\nimport com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;\nimport com.pulumi.aws.kms.Key;\nimport com.pulumi.aws.kms.KeyArgs;\nimport com.pulumi.aws.kms.Alias;\nimport com.pulumi.aws.kms.AliasArgs;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysAwsKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var current = AwsFunctions.getCallerIdentity();\n\n final var databricksManagedServicesCmk = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()\n .version(\"2012-10-17\")\n .statements( \n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Enable IAM User Permissions\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(current.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.accountId()))\n .build())\n .actions(\"kms:*\")\n .resources(\"*\")\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for control plane managed services\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(\"arn:aws:iam::414351767826:root\")\n .build())\n .actions( \n \"kms:Encrypt\",\n \"kms:Decrypt\")\n .resources(\"*\")\n .build())\n .build());\n\n var managedServicesCustomerManagedKey = new Key(\"managedServicesCustomerManagedKey\", KeyArgs.builder()\n .policy(databricksManagedServicesCmk.applyValue(getPolicyDocumentResult -\u003e getPolicyDocumentResult.json()))\n .build());\n\n var managedServicesCustomerManagedKeyAlias = new Alias(\"managedServicesCustomerManagedKeyAlias\", AliasArgs.builder()\n .name(\"alias/managed-services-customer-managed-key-alias\")\n .targetKeyId(managedServicesCustomerManagedKey.keyId())\n .build());\n\n var managedServices = new MwsCustomerManagedKeys(\"managedServices\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .awsKeyInfo(MwsCustomerManagedKeysAwsKeyInfoArgs.builder()\n .keyArn(managedServicesCustomerManagedKey.arn())\n .keyAlias(managedServicesCustomerManagedKeyAlias.name())\n .build())\n .useCases(\"MANAGED_SERVICES\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n managedServicesCustomerManagedKey:\n type: aws:kms:Key\n name: managed_services_customer_managed_key\n properties:\n policy: ${databricksManagedServicesCmk.json}\n managedServicesCustomerManagedKeyAlias:\n type: aws:kms:Alias\n name: managed_services_customer_managed_key_alias\n properties:\n name: alias/managed-services-customer-managed-key-alias\n targetKeyId: ${managedServicesCustomerManagedKey.keyId}\n managedServices:\n type: databricks:MwsCustomerManagedKeys\n name: managed_services\n properties:\n accountId: ${databricksAccountId}\n awsKeyInfo:\n keyArn: ${managedServicesCustomerManagedKey.arn}\n keyAlias: ${managedServicesCustomerManagedKeyAlias.name}\n useCases:\n - MANAGED_SERVICES\nvariables:\n current:\n fn::invoke:\n function: aws:getCallerIdentity\n arguments: {}\n databricksManagedServicesCmk:\n fn::invoke:\n function: aws:iam:getPolicyDocument\n arguments:\n version: 2012-10-17\n statements:\n - sid: Enable IAM User Permissions\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - ${current.accountId}\n actions:\n - kms:*\n resources:\n - '*'\n - sid: Allow Databricks to use KMS key for control plane managed services\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - arn:aws:iam::414351767826:root\n actions:\n - kms:Encrypt\n - kms:Decrypt\n resources:\n - '*'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### For GCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// Id of a google_kms_crypto_key\nconst cmekResourceId = config.requireObject(\"cmekResourceId\");\nconst managedServices = new databricks.MwsCustomerManagedKeys(\"managed_services\", {\n accountId: databricksAccountId,\n gcpKeyInfo: {\n kmsKeyId: cmekResourceId,\n },\n useCases: [\"MANAGED_SERVICES\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# Id of a google_kms_crypto_key\ncmek_resource_id = config.require_object(\"cmekResourceId\")\nmanaged_services = databricks.MwsCustomerManagedKeys(\"managed_services\",\n account_id=databricks_account_id,\n gcp_key_info={\n \"kms_key_id\": cmek_resource_id,\n },\n use_cases=[\"MANAGED_SERVICES\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // Id of a google_kms_crypto_key\n var cmekResourceId = config.RequireObject\u003cdynamic\u003e(\"cmekResourceId\");\n var managedServices = new Databricks.MwsCustomerManagedKeys(\"managed_services\", new()\n {\n AccountId = databricksAccountId,\n GcpKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysGcpKeyInfoArgs\n {\n KmsKeyId = cmekResourceId,\n },\n UseCases = new[]\n {\n \"MANAGED_SERVICES\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\t// Id of a google_kms_crypto_key\n\t\tcmekResourceId := cfg.RequireObject(\"cmekResourceId\")\n\t\t_, err := databricks.NewMwsCustomerManagedKeys(ctx, \"managed_services\", \u0026databricks.MwsCustomerManagedKeysArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tGcpKeyInfo: \u0026databricks.MwsCustomerManagedKeysGcpKeyInfoArgs{\n\t\t\t\tKmsKeyId: pulumi.Any(cmekResourceId),\n\t\t\t},\n\t\t\tUseCases: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MANAGED_SERVICES\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysGcpKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var cmekResourceId = config.get(\"cmekResourceId\");\n var managedServices = new MwsCustomerManagedKeys(\"managedServices\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .gcpKeyInfo(MwsCustomerManagedKeysGcpKeyInfoArgs.builder()\n .kmsKeyId(cmekResourceId)\n .build())\n .useCases(\"MANAGED_SERVICES\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n cmekResourceId:\n type: dynamic\nresources:\n managedServices:\n type: databricks:MwsCustomerManagedKeys\n name: managed_services\n properties:\n accountId: ${databricksAccountId}\n gcpKeyInfo:\n kmsKeyId: ${cmekResourceId}\n useCases:\n - MANAGED_SERVICES\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Customer-managed key for workspace storage\n\n### For AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// AWS ARN for the Databricks cross account role\nconst databricksCrossAccountRole = config.requireObject(\"databricksCrossAccountRole\");\nconst current = aws.getCallerIdentity({});\nconst databricksStorageCmk = current.then(current =\u003e aws.iam.getPolicyDocument({\n version: \"2012-10-17\",\n statements: [\n {\n sid: \"Enable IAM User Permissions\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [current.accountId],\n }],\n actions: [\"kms:*\"],\n resources: [\"*\"],\n },\n {\n sid: \"Allow Databricks to use KMS key for DBFS\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [\"arn:aws:iam::414351767826:root\"],\n }],\n actions: [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\",\n ],\n resources: [\"*\"],\n },\n {\n sid: \"Allow Databricks to use KMS key for DBFS (Grants)\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [\"arn:aws:iam::414351767826:root\"],\n }],\n actions: [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\",\n ],\n resources: [\"*\"],\n conditions: [{\n test: \"Bool\",\n variable: \"kms:GrantIsForAWSResource\",\n values: [\"true\"],\n }],\n },\n {\n sid: \"Allow Databricks to use KMS key for EBS\",\n effect: \"Allow\",\n principals: [{\n type: \"AWS\",\n identifiers: [databricksCrossAccountRole],\n }],\n actions: [\n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\",\n ],\n resources: [\"*\"],\n conditions: [{\n test: \"ForAnyValue:StringLike\",\n variable: \"kms:ViaService\",\n values: [\"ec2.*.amazonaws.com\"],\n }],\n },\n ],\n}));\nconst storageCustomerManagedKey = new aws.kms.Key(\"storage_customer_managed_key\", {policy: databricksStorageCmk.then(databricksStorageCmk =\u003e databricksStorageCmk.json)});\nconst storageCustomerManagedKeyAlias = new aws.kms.Alias(\"storage_customer_managed_key_alias\", {\n name: \"alias/storage-customer-managed-key-alias\",\n targetKeyId: storageCustomerManagedKey.keyId,\n});\nconst storage = new databricks.MwsCustomerManagedKeys(\"storage\", {\n accountId: databricksAccountId,\n awsKeyInfo: {\n keyArn: storageCustomerManagedKey.arn,\n keyAlias: storageCustomerManagedKeyAlias.name,\n },\n useCases: [\"STORAGE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# AWS ARN for the Databricks cross account role\ndatabricks_cross_account_role = config.require_object(\"databricksCrossAccountRole\")\ncurrent = aws.get_caller_identity()\ndatabricks_storage_cmk = aws.iam.get_policy_document(version=\"2012-10-17\",\n statements=[\n {\n \"sid\": \"Enable IAM User Permissions\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [current.account_id],\n }],\n \"actions\": [\"kms:*\"],\n \"resources\": [\"*\"],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for DBFS\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [\"arn:aws:iam::414351767826:root\"],\n }],\n \"actions\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\",\n ],\n \"resources\": [\"*\"],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for DBFS (Grants)\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [\"arn:aws:iam::414351767826:root\"],\n }],\n \"actions\": [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\",\n ],\n \"resources\": [\"*\"],\n \"conditions\": [{\n \"test\": \"Bool\",\n \"variable\": \"kms:GrantIsForAWSResource\",\n \"values\": [\"true\"],\n }],\n },\n {\n \"sid\": \"Allow Databricks to use KMS key for EBS\",\n \"effect\": \"Allow\",\n \"principals\": [{\n \"type\": \"AWS\",\n \"identifiers\": [databricks_cross_account_role],\n }],\n \"actions\": [\n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\",\n ],\n \"resources\": [\"*\"],\n \"conditions\": [{\n \"test\": \"ForAnyValue:StringLike\",\n \"variable\": \"kms:ViaService\",\n \"values\": [\"ec2.*.amazonaws.com\"],\n }],\n },\n ])\nstorage_customer_managed_key = aws.kms.Key(\"storage_customer_managed_key\", policy=databricks_storage_cmk.json)\nstorage_customer_managed_key_alias = aws.kms.Alias(\"storage_customer_managed_key_alias\",\n name=\"alias/storage-customer-managed-key-alias\",\n target_key_id=storage_customer_managed_key.key_id)\nstorage = databricks.MwsCustomerManagedKeys(\"storage\",\n account_id=databricks_account_id,\n aws_key_info={\n \"key_arn\": storage_customer_managed_key.arn,\n \"key_alias\": storage_customer_managed_key_alias.name,\n },\n use_cases=[\"STORAGE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // AWS ARN for the Databricks cross account role\n var databricksCrossAccountRole = config.RequireObject\u003cdynamic\u003e(\"databricksCrossAccountRole\");\n var current = Aws.GetCallerIdentity.Invoke();\n\n var databricksStorageCmk = Aws.Iam.GetPolicyDocument.Invoke(new()\n {\n Version = \"2012-10-17\",\n Statements = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Enable IAM User Permissions\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n current.Apply(getCallerIdentityResult =\u003e getCallerIdentityResult.AccountId),\n },\n },\n },\n Actions = new[]\n {\n \"kms:*\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for DBFS\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n \"arn:aws:iam::414351767826:root\",\n },\n },\n },\n Actions = new[]\n {\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\",\n },\n Resources = new[]\n {\n \"*\",\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for DBFS (Grants)\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n \"arn:aws:iam::414351767826:root\",\n },\n },\n },\n Actions = new[]\n {\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\",\n },\n Resources = new[]\n {\n \"*\",\n },\n Conditions = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementConditionInputArgs\n {\n Test = \"Bool\",\n Variable = \"kms:GrantIsForAWSResource\",\n Values = new[]\n {\n \"true\",\n },\n },\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs\n {\n Sid = \"Allow Databricks to use KMS key for EBS\",\n Effect = \"Allow\",\n Principals = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs\n {\n Type = \"AWS\",\n Identifiers = new[]\n {\n databricksCrossAccountRole,\n },\n },\n },\n Actions = new[]\n {\n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\",\n },\n Resources = new[]\n {\n \"*\",\n },\n Conditions = new[]\n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementConditionInputArgs\n {\n Test = \"ForAnyValue:StringLike\",\n Variable = \"kms:ViaService\",\n Values = new[]\n {\n \"ec2.*.amazonaws.com\",\n },\n },\n },\n },\n },\n });\n\n var storageCustomerManagedKey = new Aws.Kms.Key(\"storage_customer_managed_key\", new()\n {\n Policy = databricksStorageCmk.Apply(getPolicyDocumentResult =\u003e getPolicyDocumentResult.Json),\n });\n\n var storageCustomerManagedKeyAlias = new Aws.Kms.Alias(\"storage_customer_managed_key_alias\", new()\n {\n Name = \"alias/storage-customer-managed-key-alias\",\n TargetKeyId = storageCustomerManagedKey.KeyId,\n });\n\n var storage = new Databricks.MwsCustomerManagedKeys(\"storage\", new()\n {\n AccountId = databricksAccountId,\n AwsKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysAwsKeyInfoArgs\n {\n KeyArn = storageCustomerManagedKey.Arn,\n KeyAlias = storageCustomerManagedKeyAlias.Name,\n },\n UseCases = new[]\n {\n \"STORAGE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n// AWS ARN for the Databricks cross account role\ndatabricksCrossAccountRole := cfg.RequireObject(\"databricksCrossAccountRole\")\ncurrent, err := aws.GetCallerIdentity(ctx, \u0026aws.GetCallerIdentityArgs{\n}, nil);\nif err != nil {\nreturn err\n}\ndatabricksStorageCmk, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\nVersion: pulumi.StringRef(\"2012-10-17\"),\nStatements: []iam.GetPolicyDocumentStatement{\n{\nSid: pulumi.StringRef(\"Enable IAM User Permissions\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: interface{}{\ncurrent.AccountId,\n},\n},\n},\nActions: []string{\n\"kms:*\",\n},\nResources: []string{\n\"*\",\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for DBFS\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: []string{\n\"arn:aws:iam::414351767826:root\",\n},\n},\n},\nActions: []string{\n\"kms:Encrypt\",\n\"kms:Decrypt\",\n\"kms:ReEncrypt*\",\n\"kms:GenerateDataKey*\",\n\"kms:DescribeKey\",\n},\nResources: []string{\n\"*\",\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for DBFS (Grants)\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: []string{\n\"arn:aws:iam::414351767826:root\",\n},\n},\n},\nActions: []string{\n\"kms:CreateGrant\",\n\"kms:ListGrants\",\n\"kms:RevokeGrant\",\n},\nResources: []string{\n\"*\",\n},\nConditions: []iam.GetPolicyDocumentStatementCondition{\n{\nTest: \"Bool\",\nVariable: \"kms:GrantIsForAWSResource\",\nValues: []string{\n\"true\",\n},\n},\n},\n},\n{\nSid: pulumi.StringRef(\"Allow Databricks to use KMS key for EBS\"),\nEffect: pulumi.StringRef(\"Allow\"),\nPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n{\nType: \"AWS\",\nIdentifiers: interface{}{\ndatabricksCrossAccountRole,\n},\n},\n},\nActions: []string{\n\"kms:Decrypt\",\n\"kms:GenerateDataKey*\",\n\"kms:CreateGrant\",\n\"kms:DescribeKey\",\n},\nResources: []string{\n\"*\",\n},\nConditions: []iam.GetPolicyDocumentStatementCondition{\n{\nTest: \"ForAnyValue:StringLike\",\nVariable: \"kms:ViaService\",\nValues: []string{\n\"ec2.*.amazonaws.com\",\n},\n},\n},\n},\n},\n}, nil);\nif err != nil {\nreturn err\n}\nstorageCustomerManagedKey, err := kms.NewKey(ctx, \"storage_customer_managed_key\", \u0026kms.KeyArgs{\nPolicy: pulumi.String(databricksStorageCmk.Json),\n})\nif err != nil {\nreturn err\n}\nstorageCustomerManagedKeyAlias, err := kms.NewAlias(ctx, \"storage_customer_managed_key_alias\", \u0026kms.AliasArgs{\nName: pulumi.String(\"alias/storage-customer-managed-key-alias\"),\nTargetKeyId: storageCustomerManagedKey.KeyId,\n})\nif err != nil {\nreturn err\n}\n_, err = databricks.NewMwsCustomerManagedKeys(ctx, \"storage\", \u0026databricks.MwsCustomerManagedKeysArgs{\nAccountId: pulumi.Any(databricksAccountId),\nAwsKeyInfo: \u0026databricks.MwsCustomerManagedKeysAwsKeyInfoArgs{\nKeyArn: storageCustomerManagedKey.Arn,\nKeyAlias: storageCustomerManagedKeyAlias.Name,\n},\nUseCases: pulumi.StringArray{\npulumi.String(\"STORAGE\"),\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.AwsFunctions;\nimport com.pulumi.aws.inputs.GetCallerIdentityArgs;\nimport com.pulumi.aws.iam.IamFunctions;\nimport com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;\nimport com.pulumi.aws.kms.Key;\nimport com.pulumi.aws.kms.KeyArgs;\nimport com.pulumi.aws.kms.Alias;\nimport com.pulumi.aws.kms.AliasArgs;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysAwsKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var databricksCrossAccountRole = config.get(\"databricksCrossAccountRole\");\n final var current = AwsFunctions.getCallerIdentity();\n\n final var databricksStorageCmk = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()\n .version(\"2012-10-17\")\n .statements( \n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Enable IAM User Permissions\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(current.applyValue(getCallerIdentityResult -\u003e getCallerIdentityResult.accountId()))\n .build())\n .actions(\"kms:*\")\n .resources(\"*\")\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for DBFS\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(\"arn:aws:iam::414351767826:root\")\n .build())\n .actions( \n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\")\n .resources(\"*\")\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for DBFS (Grants)\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(\"arn:aws:iam::414351767826:root\")\n .build())\n .actions( \n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\")\n .resources(\"*\")\n .conditions(GetPolicyDocumentStatementConditionArgs.builder()\n .test(\"Bool\")\n .variable(\"kms:GrantIsForAWSResource\")\n .values(\"true\")\n .build())\n .build(),\n GetPolicyDocumentStatementArgs.builder()\n .sid(\"Allow Databricks to use KMS key for EBS\")\n .effect(\"Allow\")\n .principals(GetPolicyDocumentStatementPrincipalArgs.builder()\n .type(\"AWS\")\n .identifiers(databricksCrossAccountRole)\n .build())\n .actions( \n \"kms:Decrypt\",\n \"kms:GenerateDataKey*\",\n \"kms:CreateGrant\",\n \"kms:DescribeKey\")\n .resources(\"*\")\n .conditions(GetPolicyDocumentStatementConditionArgs.builder()\n .test(\"ForAnyValue:StringLike\")\n .variable(\"kms:ViaService\")\n .values(\"ec2.*.amazonaws.com\")\n .build())\n .build())\n .build());\n\n var storageCustomerManagedKey = new Key(\"storageCustomerManagedKey\", KeyArgs.builder()\n .policy(databricksStorageCmk.applyValue(getPolicyDocumentResult -\u003e getPolicyDocumentResult.json()))\n .build());\n\n var storageCustomerManagedKeyAlias = new Alias(\"storageCustomerManagedKeyAlias\", AliasArgs.builder()\n .name(\"alias/storage-customer-managed-key-alias\")\n .targetKeyId(storageCustomerManagedKey.keyId())\n .build());\n\n var storage = new MwsCustomerManagedKeys(\"storage\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .awsKeyInfo(MwsCustomerManagedKeysAwsKeyInfoArgs.builder()\n .keyArn(storageCustomerManagedKey.arn())\n .keyAlias(storageCustomerManagedKeyAlias.name())\n .build())\n .useCases(\"STORAGE\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n databricksCrossAccountRole:\n type: dynamic\nresources:\n storageCustomerManagedKey:\n type: aws:kms:Key\n name: storage_customer_managed_key\n properties:\n policy: ${databricksStorageCmk.json}\n storageCustomerManagedKeyAlias:\n type: aws:kms:Alias\n name: storage_customer_managed_key_alias\n properties:\n name: alias/storage-customer-managed-key-alias\n targetKeyId: ${storageCustomerManagedKey.keyId}\n storage:\n type: databricks:MwsCustomerManagedKeys\n properties:\n accountId: ${databricksAccountId}\n awsKeyInfo:\n keyArn: ${storageCustomerManagedKey.arn}\n keyAlias: ${storageCustomerManagedKeyAlias.name}\n useCases:\n - STORAGE\nvariables:\n current:\n fn::invoke:\n function: aws:getCallerIdentity\n arguments: {}\n databricksStorageCmk:\n fn::invoke:\n function: aws:iam:getPolicyDocument\n arguments:\n version: 2012-10-17\n statements:\n - sid: Enable IAM User Permissions\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - ${current.accountId}\n actions:\n - kms:*\n resources:\n - '*'\n - sid: Allow Databricks to use KMS key for DBFS\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - arn:aws:iam::414351767826:root\n actions:\n - kms:Encrypt\n - kms:Decrypt\n - kms:ReEncrypt*\n - kms:GenerateDataKey*\n - kms:DescribeKey\n resources:\n - '*'\n - sid: Allow Databricks to use KMS key for DBFS (Grants)\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - arn:aws:iam::414351767826:root\n actions:\n - kms:CreateGrant\n - kms:ListGrants\n - kms:RevokeGrant\n resources:\n - '*'\n conditions:\n - test: Bool\n variable: kms:GrantIsForAWSResource\n values:\n - 'true'\n - sid: Allow Databricks to use KMS key for EBS\n effect: Allow\n principals:\n - type: AWS\n identifiers:\n - ${databricksCrossAccountRole}\n actions:\n - kms:Decrypt\n - kms:GenerateDataKey*\n - kms:CreateGrant\n - kms:DescribeKey\n resources:\n - '*'\n conditions:\n - test: ForAnyValue:StringLike\n variable: kms:ViaService\n values:\n - ec2.*.amazonaws.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### For GCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// Id of a google_kms_crypto_key\nconst cmekResourceId = config.requireObject(\"cmekResourceId\");\nconst storage = new databricks.MwsCustomerManagedKeys(\"storage\", {\n accountId: databricksAccountId,\n gcpKeyInfo: {\n kmsKeyId: cmekResourceId,\n },\n useCases: [\"STORAGE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# Id of a google_kms_crypto_key\ncmek_resource_id = config.require_object(\"cmekResourceId\")\nstorage = databricks.MwsCustomerManagedKeys(\"storage\",\n account_id=databricks_account_id,\n gcp_key_info={\n \"kms_key_id\": cmek_resource_id,\n },\n use_cases=[\"STORAGE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // Id of a google_kms_crypto_key\n var cmekResourceId = config.RequireObject\u003cdynamic\u003e(\"cmekResourceId\");\n var storage = new Databricks.MwsCustomerManagedKeys(\"storage\", new()\n {\n AccountId = databricksAccountId,\n GcpKeyInfo = new Databricks.Inputs.MwsCustomerManagedKeysGcpKeyInfoArgs\n {\n KmsKeyId = cmekResourceId,\n },\n UseCases = new[]\n {\n \"STORAGE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.gcp.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\t// Id of a google_kms_crypto_key\n\t\tcmekResourceId := cfg.RequireObject(\"cmekResourceId\")\n\t\t_, err := databricks.NewMwsCustomerManagedKeys(ctx, \"storage\", \u0026databricks.MwsCustomerManagedKeysArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tGcpKeyInfo: \u0026databricks.MwsCustomerManagedKeysGcpKeyInfoArgs{\n\t\t\t\tKmsKeyId: pulumi.Any(cmekResourceId),\n\t\t\t},\n\t\t\tUseCases: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"STORAGE\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsCustomerManagedKeys;\nimport com.pulumi.databricks.MwsCustomerManagedKeysArgs;\nimport com.pulumi.databricks.inputs.MwsCustomerManagedKeysGcpKeyInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var cmekResourceId = config.get(\"cmekResourceId\");\n var storage = new MwsCustomerManagedKeys(\"storage\", MwsCustomerManagedKeysArgs.builder()\n .accountId(databricksAccountId)\n .gcpKeyInfo(MwsCustomerManagedKeysGcpKeyInfoArgs.builder()\n .kmsKeyId(cmekResourceId)\n .build())\n .useCases(\"STORAGE\")\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n cmekResourceId:\n type: dynamic\nresources:\n storage:\n type: databricks:MwsCustomerManagedKeys\n properties:\n accountId: ${databricksAccountId}\n gcpKeyInfo:\n kmsKeyId: ${cmekResourceId}\n useCases:\n - STORAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.\n* databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).\n* databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) \u0026 subnets for new workspaces within AWS.\n* databricks.MwsStorageConfigurations to configure root bucket new workspaces within AWS.\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\nThis resource can be imported by Databricks account ID and customer managed key ID.\n\n```sh\n$ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '\u003caccount_id\u003e/\u003ccustomer_managed_key_id\u003e'\n```\n\n~\u003e This resource does not support updates. If your configuration does not match the existing resource,\n\n the next `pulumi up` will cause the resource to be destroyed and recreated. After importing,\n\n verify that the configuration matches the existing resource by running `pulumi preview`.\n\n", "properties": { "accountId": { "type": "string", @@ -23892,7 +26498,7 @@ }, "groupId": { "type": "string", - "description": "The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.\n" + "description": "The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource.\n" }, "networkConnectivityConfigId": { "type": "string", @@ -23946,7 +26552,7 @@ }, "groupId": { "type": "string", - "description": "The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.\n", + "description": "The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource.\n", "willReplaceOnChanges": true }, "networkConnectivityConfigId": { @@ -24000,7 +26606,7 @@ }, "groupId": { "type": "string", - "description": "The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.\n", + "description": "The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource.\n", "willReplaceOnChanges": true }, "networkConnectivityConfigId": { @@ -24127,7 +26733,7 @@ } }, "databricks:index/mwsNetworks:MwsNetworks": { - "description": "## Example Usage\n\n### Creating a Databricks on GCP workspace\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as google from \"@pulumi/google\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst dbxPrivateVpc = new google.index.ComputeNetwork(\"dbx_private_vpc\", {\n project: googleProject,\n name: `tf-network-${suffix.result}`,\n autoCreateSubnetworks: false,\n});\nconst network_with_private_secondary_ip_ranges = new google.index.ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\", {\n name: `test-dbx-${suffix.result}`,\n ipCidrRange: \"10.0.0.0/16\",\n region: \"us-central1\",\n network: dbxPrivateVpc.id,\n secondaryIpRange: [\n {\n rangeName: \"pods\",\n ipCidrRange: \"10.1.0.0/16\",\n },\n {\n rangeName: \"svc\",\n ipCidrRange: \"10.2.0.0/20\",\n },\n ],\n privateIpGoogleAccess: true,\n});\nconst router = new google.index.ComputeRouter(\"router\", {\n name: `my-router-${suffix.result}`,\n region: network_with_private_secondary_ip_ranges.region,\n network: dbxPrivateVpc.id,\n});\nconst nat = new google.index.ComputeRouterNat(\"nat\", {\n name: `my-router-nat-${suffix.result}`,\n router: router.name,\n region: router.region,\n natIpAllocateOption: \"AUTO_ONLY\",\n sourceSubnetworkIpRangesToNat: \"ALL_SUBNETWORKS_ALL_IP_RANGES\",\n});\nconst _this = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `test-demo-${suffix.result}`,\n gcpNetworkInfo: {\n networkProjectId: googleProject,\n vpcId: dbxPrivateVpc.name,\n subnetId: networkWithPrivateSecondaryIpRanges.name,\n subnetRegion: networkWithPrivateSecondaryIpRanges.region,\n podIpRangeName: \"pods\",\n serviceIpRangeName: \"svc\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_google as google\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\ndbx_private_vpc = google.index.ComputeNetwork(\"dbx_private_vpc\",\n project=google_project,\n name=ftf-network-{suffix.result},\n auto_create_subnetworks=False)\nnetwork_with_private_secondary_ip_ranges = google.index.ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\",\n name=ftest-dbx-{suffix.result},\n ip_cidr_range=10.0.0.0/16,\n region=us-central1,\n network=dbx_private_vpc.id,\n secondary_ip_range=[\n {\n rangeName: pods,\n ipCidrRange: 10.1.0.0/16,\n },\n {\n rangeName: svc,\n ipCidrRange: 10.2.0.0/20,\n },\n ],\n private_ip_google_access=True)\nrouter = google.index.ComputeRouter(\"router\",\n name=fmy-router-{suffix.result},\n region=network_with_private_secondary_ip_ranges.region,\n network=dbx_private_vpc.id)\nnat = google.index.ComputeRouterNat(\"nat\",\n name=fmy-router-nat-{suffix.result},\n router=router.name,\n region=router.region,\n nat_ip_allocate_option=AUTO_ONLY,\n source_subnetwork_ip_ranges_to_nat=ALL_SUBNETWORKS_ALL_IP_RANGES)\nthis = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"test-demo-{suffix['result']}\",\n gcp_network_info={\n \"network_project_id\": google_project,\n \"vpc_id\": dbx_private_vpc[\"name\"],\n \"subnet_id\": network_with_private_secondary_ip_ranges[\"name\"],\n \"subnet_region\": network_with_private_secondary_ip_ranges[\"region\"],\n \"pod_ip_range_name\": \"pods\",\n \"service_ip_range_name\": \"svc\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Google = Pulumi.Google;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var dbxPrivateVpc = new Google.Index.ComputeNetwork(\"dbx_private_vpc\", new()\n {\n Project = googleProject,\n Name = $\"tf-network-{suffix.Result}\",\n AutoCreateSubnetworks = false,\n });\n\n var network_with_private_secondary_ip_ranges = new Google.Index.ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\", new()\n {\n Name = $\"test-dbx-{suffix.Result}\",\n IpCidrRange = \"10.0.0.0/16\",\n Region = \"us-central1\",\n Network = dbxPrivateVpc.Id,\n SecondaryIpRange = new[]\n {\n \n {\n { \"rangeName\", \"pods\" },\n { \"ipCidrRange\", \"10.1.0.0/16\" },\n },\n \n {\n { \"rangeName\", \"svc\" },\n { \"ipCidrRange\", \"10.2.0.0/20\" },\n },\n },\n PrivateIpGoogleAccess = true,\n });\n\n var router = new Google.Index.ComputeRouter(\"router\", new()\n {\n Name = $\"my-router-{suffix.Result}\",\n Region = network_with_private_secondary_ip_ranges.Region,\n Network = dbxPrivateVpc.Id,\n });\n\n var nat = new Google.Index.ComputeRouterNat(\"nat\", new()\n {\n Name = $\"my-router-nat-{suffix.Result}\",\n Router = router.Name,\n Region = router.Region,\n NatIpAllocateOption = \"AUTO_ONLY\",\n SourceSubnetworkIpRangesToNat = \"ALL_SUBNETWORKS_ALL_IP_RANGES\",\n });\n\n var @this = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"test-demo-{suffix.Result}\",\n GcpNetworkInfo = new Databricks.Inputs.MwsNetworksGcpNetworkInfoArgs\n {\n NetworkProjectId = googleProject,\n VpcId = dbxPrivateVpc.Name,\n SubnetId = networkWithPrivateSecondaryIpRanges.Name,\n SubnetRegion = networkWithPrivateSecondaryIpRanges.Region,\n PodIpRangeName = \"pods\",\n ServiceIpRangeName = \"svc\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-google/sdk/go/google\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tdbxPrivateVpc, err := google.NewComputeNetwork(ctx, \"dbx_private_vpc\", \u0026google.ComputeNetworkArgs{\n\t\t\tProject: googleProject,\n\t\t\tName: fmt.Sprintf(\"tf-network-%v\", suffix.Result),\n\t\t\tAutoCreateSubnetworks: false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = google.NewComputeSubnetwork(ctx, \"network-with-private-secondary-ip-ranges\", \u0026google.ComputeSubnetworkArgs{\n\t\t\tName: fmt.Sprintf(\"test-dbx-%v\", suffix.Result),\n\t\t\tIpCidrRange: \"10.0.0.0/16\",\n\t\t\tRegion: \"us-central1\",\n\t\t\tNetwork: dbxPrivateVpc.Id,\n\t\t\tSecondaryIpRange: []map[string]interface{}{\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"rangeName\": \"pods\",\n\t\t\t\t\t\"ipCidrRange\": \"10.1.0.0/16\",\n\t\t\t\t},\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"rangeName\": \"svc\",\n\t\t\t\t\t\"ipCidrRange\": \"10.2.0.0/20\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tPrivateIpGoogleAccess: true,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trouter, err := google.NewComputeRouter(ctx, \"router\", \u0026google.ComputeRouterArgs{\n\t\t\tName: fmt.Sprintf(\"my-router-%v\", suffix.Result),\n\t\t\tRegion: network_with_private_secondary_ip_ranges.Region,\n\t\t\tNetwork: dbxPrivateVpc.Id,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = google.NewComputeRouterNat(ctx, \"nat\", \u0026google.ComputeRouterNatArgs{\n\t\t\tName: fmt.Sprintf(\"my-router-nat-%v\", suffix.Result),\n\t\t\tRouter: router.Name,\n\t\t\tRegion: router.Region,\n\t\t\tNatIpAllocateOption: \"AUTO_ONLY\",\n\t\t\tSourceSubnetworkIpRangesToNat: \"ALL_SUBNETWORKS_ALL_IP_RANGES\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"test-demo-%v\", suffix.Result),\n\t\t\tGcpNetworkInfo: \u0026databricks.MwsNetworksGcpNetworkInfoArgs{\n\t\t\t\tNetworkProjectId: pulumi.Any(googleProject),\n\t\t\t\tVpcId: dbxPrivateVpc.Name,\n\t\t\t\tSubnetId: pulumi.Any(networkWithPrivateSecondaryIpRanges.Name),\n\t\t\t\tSubnetRegion: pulumi.Any(networkWithPrivateSecondaryIpRanges.Region),\n\t\t\t\tPodIpRangeName: pulumi.String(\"pods\"),\n\t\t\t\tServiceIpRangeName: pulumi.String(\"svc\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.google.computeNetwork;\nimport com.pulumi.google.ComputeNetworkArgs;\nimport com.pulumi.google.computeSubnetwork;\nimport com.pulumi.google.ComputeSubnetworkArgs;\nimport com.pulumi.google.computeRouter;\nimport com.pulumi.google.ComputeRouterArgs;\nimport com.pulumi.google.computeRouterNat;\nimport com.pulumi.google.ComputeRouterNatArgs;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksGcpNetworkInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n var dbxPrivateVpc = new ComputeNetwork(\"dbxPrivateVpc\", ComputeNetworkArgs.builder()\n .project(googleProject)\n .name(String.format(\"tf-network-%s\", suffix.result()))\n .autoCreateSubnetworks(false)\n .build());\n\n var network_with_private_secondary_ip_ranges = new ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\", ComputeSubnetworkArgs.builder()\n .name(String.format(\"test-dbx-%s\", suffix.result()))\n .ipCidrRange(\"10.0.0.0/16\")\n .region(\"us-central1\")\n .network(dbxPrivateVpc.id())\n .secondaryIpRange( \n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),\n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .privateIpGoogleAccess(true)\n .build());\n\n var router = new ComputeRouter(\"router\", ComputeRouterArgs.builder()\n .name(String.format(\"my-router-%s\", suffix.result()))\n .region(network_with_private_secondary_ip_ranges.region())\n .network(dbxPrivateVpc.id())\n .build());\n\n var nat = new ComputeRouterNat(\"nat\", ComputeRouterNatArgs.builder()\n .name(String.format(\"my-router-nat-%s\", suffix.result()))\n .router(router.name())\n .region(router.region())\n .natIpAllocateOption(\"AUTO_ONLY\")\n .sourceSubnetworkIpRangesToNat(\"ALL_SUBNETWORKS_ALL_IP_RANGES\")\n .build());\n\n var this_ = new MwsNetworks(\"this\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"test-demo-%s\", suffix.result()))\n .gcpNetworkInfo(MwsNetworksGcpNetworkInfoArgs.builder()\n .networkProjectId(googleProject)\n .vpcId(dbxPrivateVpc.name())\n .subnetId(networkWithPrivateSecondaryIpRanges.name())\n .subnetRegion(networkWithPrivateSecondaryIpRanges.region())\n .podIpRangeName(\"pods\")\n .serviceIpRangeName(\"svc\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n dbxPrivateVpc:\n type: google:computeNetwork\n name: dbx_private_vpc\n properties:\n project: ${googleProject}\n name: tf-network-${suffix.result}\n autoCreateSubnetworks: false\n network-with-private-secondary-ip-ranges:\n type: google:computeSubnetwork\n properties:\n name: test-dbx-${suffix.result}\n ipCidrRange: 10.0.0.0/16\n region: us-central1\n network: ${dbxPrivateVpc.id}\n secondaryIpRange:\n - rangeName: pods\n ipCidrRange: 10.1.0.0/16\n - rangeName: svc\n ipCidrRange: 10.2.0.0/20\n privateIpGoogleAccess: true\n router:\n type: google:computeRouter\n properties:\n name: my-router-${suffix.result}\n region: ${[\"network-with-private-secondary-ip-ranges\"].region}\n network: ${dbxPrivateVpc.id}\n nat:\n type: google:computeRouterNat\n properties:\n name: my-router-nat-${suffix.result}\n router: ${router.name}\n region: ${router.region}\n natIpAllocateOption: AUTO_ONLY\n sourceSubnetworkIpRangesToNat: ALL_SUBNETWORKS_ALL_IP_RANGES\n this:\n type: databricks:MwsNetworks\n properties:\n accountId: ${databricksAccountId}\n networkName: test-demo-${suffix.result}\n gcpNetworkInfo:\n networkProjectId: ${googleProject}\n vpcId: ${dbxPrivateVpc.name}\n subnetId: ${networkWithPrivateSecondaryIpRanges.name}\n subnetRegion: ${networkWithPrivateSecondaryIpRanges.region}\n podIpRangeName: pods\n serviceIpRangeName: svc\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nIn order to create a VPC [that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) you would need to add the `vpc_endpoint_id` Attributes from mws_vpc_endpoint resources into the databricks.MwsNetworks resource. For example:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `test-demo-${suffix.result}`,\n gcpNetworkInfo: {\n networkProjectId: googleProject,\n vpcId: dbxPrivateVpc.name,\n subnetId: networkWithPrivateSecondaryIpRanges.name,\n subnetRegion: networkWithPrivateSecondaryIpRanges.region,\n podIpRangeName: \"pods\",\n serviceIpRangeName: \"svc\",\n },\n vpcEndpoints: {\n dataplaneRelays: [relay.vpcEndpointId],\n restApis: [workspace.vpcEndpointId],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"test-demo-{suffix['result']}\",\n gcp_network_info={\n \"network_project_id\": google_project,\n \"vpc_id\": dbx_private_vpc[\"name\"],\n \"subnet_id\": network_with_private_secondary_ip_ranges[\"name\"],\n \"subnet_region\": network_with_private_secondary_ip_ranges[\"region\"],\n \"pod_ip_range_name\": \"pods\",\n \"service_ip_range_name\": \"svc\",\n },\n vpc_endpoints={\n \"dataplane_relays\": [relay[\"vpcEndpointId\"]],\n \"rest_apis\": [workspace[\"vpcEndpointId\"]],\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"test-demo-{suffix.Result}\",\n GcpNetworkInfo = new Databricks.Inputs.MwsNetworksGcpNetworkInfoArgs\n {\n NetworkProjectId = googleProject,\n VpcId = dbxPrivateVpc.Name,\n SubnetId = networkWithPrivateSecondaryIpRanges.Name,\n SubnetRegion = networkWithPrivateSecondaryIpRanges.Region,\n PodIpRangeName = \"pods\",\n ServiceIpRangeName = \"svc\",\n },\n VpcEndpoints = new Databricks.Inputs.MwsNetworksVpcEndpointsArgs\n {\n DataplaneRelays = new[]\n {\n relay.VpcEndpointId,\n },\n RestApis = new[]\n {\n workspace.VpcEndpointId,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"test-demo-%v\", suffix.Result),\n\t\t\tGcpNetworkInfo: \u0026databricks.MwsNetworksGcpNetworkInfoArgs{\n\t\t\t\tNetworkProjectId: pulumi.Any(googleProject),\n\t\t\t\tVpcId: pulumi.Any(dbxPrivateVpc.Name),\n\t\t\t\tSubnetId: pulumi.Any(networkWithPrivateSecondaryIpRanges.Name),\n\t\t\t\tSubnetRegion: pulumi.Any(networkWithPrivateSecondaryIpRanges.Region),\n\t\t\t\tPodIpRangeName: pulumi.String(\"pods\"),\n\t\t\t\tServiceIpRangeName: pulumi.String(\"svc\"),\n\t\t\t},\n\t\t\tVpcEndpoints: \u0026databricks.MwsNetworksVpcEndpointsArgs{\n\t\t\t\tDataplaneRelays: pulumi.StringArray{\n\t\t\t\t\trelay.VpcEndpointId,\n\t\t\t\t},\n\t\t\t\tRestApis: pulumi.StringArray{\n\t\t\t\t\tworkspace.VpcEndpointId,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksGcpNetworkInfoArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksVpcEndpointsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MwsNetworks(\"this\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"test-demo-%s\", suffix.result()))\n .gcpNetworkInfo(MwsNetworksGcpNetworkInfoArgs.builder()\n .networkProjectId(googleProject)\n .vpcId(dbxPrivateVpc.name())\n .subnetId(networkWithPrivateSecondaryIpRanges.name())\n .subnetRegion(networkWithPrivateSecondaryIpRanges.region())\n .podIpRangeName(\"pods\")\n .serviceIpRangeName(\"svc\")\n .build())\n .vpcEndpoints(MwsNetworksVpcEndpointsArgs.builder()\n .dataplaneRelays(relay.vpcEndpointId())\n .restApis(workspace.vpcEndpointId())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MwsNetworks\n properties:\n accountId: ${databricksAccountId}\n networkName: test-demo-${suffix.result}\n gcpNetworkInfo:\n networkProjectId: ${googleProject}\n vpcId: ${dbxPrivateVpc.name}\n subnetId: ${networkWithPrivateSecondaryIpRanges.name}\n subnetRegion: ${networkWithPrivateSecondaryIpRanges.region}\n podIpRangeName: pods\n serviceIpRangeName: svc\n vpcEndpoints:\n dataplaneRelays:\n - ${relay.vpcEndpointId}\n restApis:\n - ${workspace.vpcEndpointId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Modifying networks on running workspaces (AWS only)\n\nDue to specifics of platform APIs, changing any attribute of network configuration would cause `databricks.MwsNetworks` to be re-created - deleted \u0026 added again with special case for running workspaces. Once network configuration is attached to a running databricks_mws_workspaces, you cannot delete it and `pulumi up` would result in `INVALID_STATE: Unable to delete, Network is being used by active workspace X` error. In order to modify any attributes of a network, you have to perform three different `pulumi up` steps:\n\n1. Create a new `databricks.MwsNetworks` resource.\n2. Update the `databricks.MwsWorkspaces` to point to the new `network_id`.\n3. Delete the old `databricks.MwsNetworks` resource.\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* Provisioning Databricks on AWS with Private Link guide.\n* Provisioning AWS Databricks workspaces with a Hub \u0026 Spoke firewall for data exfiltration protection guide.\n* Provisioning Databricks on GCP guide.\n* Provisioning Databricks workspaces on GCP with Private Service Connect guide.\n* databricks.MwsVpcEndpoint to register aws_vpc_endpoint resources with Databricks such that they can be used as part of a databricks.MwsNetworks configuration.\n* databricks.MwsPrivateAccessSettings to create a Private Access Setting that can be used as part of a databricks.MwsWorkspaces resource to create a [Databricks Workspace that leverages AWS PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) or [GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html).\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\n!\u003e Importing this resource is not currently supported.\n\n", + "description": "## Example Usage\n\n### Creating a Databricks on GCP workspace\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as google from \"@pulumi/google\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst dbxPrivateVpc = new google.index.ComputeNetwork(\"dbx_private_vpc\", {\n project: googleProject,\n name: `tf-network-${suffix.result}`,\n autoCreateSubnetworks: false,\n});\nconst network_with_private_secondary_ip_ranges = new google.index.ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\", {\n name: `test-dbx-${suffix.result}`,\n ipCidrRange: \"10.0.0.0/16\",\n region: \"us-central1\",\n network: dbxPrivateVpc.id,\n secondaryIpRange: [\n {\n rangeName: \"pods\",\n ipCidrRange: \"10.1.0.0/16\",\n },\n {\n rangeName: \"svc\",\n ipCidrRange: \"10.2.0.0/20\",\n },\n ],\n privateIpGoogleAccess: true,\n});\nconst router = new google.index.ComputeRouter(\"router\", {\n name: `my-router-${suffix.result}`,\n region: network_with_private_secondary_ip_ranges.region,\n network: dbxPrivateVpc.id,\n});\nconst nat = new google.index.ComputeRouterNat(\"nat\", {\n name: `my-router-nat-${suffix.result}`,\n router: router.name,\n region: router.region,\n natIpAllocateOption: \"AUTO_ONLY\",\n sourceSubnetworkIpRangesToNat: \"ALL_SUBNETWORKS_ALL_IP_RANGES\",\n});\nconst _this = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `test-demo-${suffix.result}`,\n gcpNetworkInfo: {\n networkProjectId: googleProject,\n vpcId: dbxPrivateVpc.name,\n subnetId: networkWithPrivateSecondaryIpRanges.name,\n subnetRegion: networkWithPrivateSecondaryIpRanges.region,\n podIpRangeName: \"pods\",\n serviceIpRangeName: \"svc\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_google as google\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\ndbx_private_vpc = google.index.ComputeNetwork(\"dbx_private_vpc\",\n project=google_project,\n name=ftf-network-{suffix.result},\n auto_create_subnetworks=False)\nnetwork_with_private_secondary_ip_ranges = google.index.ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\",\n name=ftest-dbx-{suffix.result},\n ip_cidr_range=10.0.0.0/16,\n region=us-central1,\n network=dbx_private_vpc.id,\n secondary_ip_range=[\n {\n rangeName: pods,\n ipCidrRange: 10.1.0.0/16,\n },\n {\n rangeName: svc,\n ipCidrRange: 10.2.0.0/20,\n },\n ],\n private_ip_google_access=True)\nrouter = google.index.ComputeRouter(\"router\",\n name=fmy-router-{suffix.result},\n region=network_with_private_secondary_ip_ranges.region,\n network=dbx_private_vpc.id)\nnat = google.index.ComputeRouterNat(\"nat\",\n name=fmy-router-nat-{suffix.result},\n router=router.name,\n region=router.region,\n nat_ip_allocate_option=AUTO_ONLY,\n source_subnetwork_ip_ranges_to_nat=ALL_SUBNETWORKS_ALL_IP_RANGES)\nthis = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"test-demo-{suffix['result']}\",\n gcp_network_info={\n \"network_project_id\": google_project,\n \"vpc_id\": dbx_private_vpc[\"name\"],\n \"subnet_id\": network_with_private_secondary_ip_ranges[\"name\"],\n \"subnet_region\": network_with_private_secondary_ip_ranges[\"region\"],\n \"pod_ip_range_name\": \"pods\",\n \"service_ip_range_name\": \"svc\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Google = Pulumi.Google;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var dbxPrivateVpc = new Google.Index.ComputeNetwork(\"dbx_private_vpc\", new()\n {\n Project = googleProject,\n Name = $\"tf-network-{suffix.Result}\",\n AutoCreateSubnetworks = false,\n });\n\n var network_with_private_secondary_ip_ranges = new Google.Index.ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\", new()\n {\n Name = $\"test-dbx-{suffix.Result}\",\n IpCidrRange = \"10.0.0.0/16\",\n Region = \"us-central1\",\n Network = dbxPrivateVpc.Id,\n SecondaryIpRange = new[]\n {\n \n {\n { \"rangeName\", \"pods\" },\n { \"ipCidrRange\", \"10.1.0.0/16\" },\n },\n \n {\n { \"rangeName\", \"svc\" },\n { \"ipCidrRange\", \"10.2.0.0/20\" },\n },\n },\n PrivateIpGoogleAccess = true,\n });\n\n var router = new Google.Index.ComputeRouter(\"router\", new()\n {\n Name = $\"my-router-{suffix.Result}\",\n Region = network_with_private_secondary_ip_ranges.Region,\n Network = dbxPrivateVpc.Id,\n });\n\n var nat = new Google.Index.ComputeRouterNat(\"nat\", new()\n {\n Name = $\"my-router-nat-{suffix.Result}\",\n Router = router.Name,\n Region = router.Region,\n NatIpAllocateOption = \"AUTO_ONLY\",\n SourceSubnetworkIpRangesToNat = \"ALL_SUBNETWORKS_ALL_IP_RANGES\",\n });\n\n var @this = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"test-demo-{suffix.Result}\",\n GcpNetworkInfo = new Databricks.Inputs.MwsNetworksGcpNetworkInfoArgs\n {\n NetworkProjectId = googleProject,\n VpcId = dbxPrivateVpc.Name,\n SubnetId = networkWithPrivateSecondaryIpRanges.Name,\n SubnetRegion = networkWithPrivateSecondaryIpRanges.Region,\n PodIpRangeName = \"pods\",\n ServiceIpRangeName = \"svc\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-google/sdk/go/google\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tdbxPrivateVpc, err := google.NewComputeNetwork(ctx, \"dbx_private_vpc\", \u0026google.ComputeNetworkArgs{\n\t\t\tProject: googleProject,\n\t\t\tName: fmt.Sprintf(\"tf-network-%v\", suffix.Result),\n\t\t\tAutoCreateSubnetworks: false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = google.NewComputeSubnetwork(ctx, \"network-with-private-secondary-ip-ranges\", \u0026google.ComputeSubnetworkArgs{\n\t\t\tName: fmt.Sprintf(\"test-dbx-%v\", suffix.Result),\n\t\t\tIpCidrRange: \"10.0.0.0/16\",\n\t\t\tRegion: \"us-central1\",\n\t\t\tNetwork: dbxPrivateVpc.Id,\n\t\t\tSecondaryIpRange: []map[string]interface{}{\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"rangeName\": \"pods\",\n\t\t\t\t\t\"ipCidrRange\": \"10.1.0.0/16\",\n\t\t\t\t},\n\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\"rangeName\": \"svc\",\n\t\t\t\t\t\"ipCidrRange\": \"10.2.0.0/20\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tPrivateIpGoogleAccess: true,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trouter, err := google.NewComputeRouter(ctx, \"router\", \u0026google.ComputeRouterArgs{\n\t\t\tName: fmt.Sprintf(\"my-router-%v\", suffix.Result),\n\t\t\tRegion: network_with_private_secondary_ip_ranges.Region,\n\t\t\tNetwork: dbxPrivateVpc.Id,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = google.NewComputeRouterNat(ctx, \"nat\", \u0026google.ComputeRouterNatArgs{\n\t\t\tName: fmt.Sprintf(\"my-router-nat-%v\", suffix.Result),\n\t\t\tRouter: router.Name,\n\t\t\tRegion: router.Region,\n\t\t\tNatIpAllocateOption: \"AUTO_ONLY\",\n\t\t\tSourceSubnetworkIpRangesToNat: \"ALL_SUBNETWORKS_ALL_IP_RANGES\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"test-demo-%v\", suffix.Result),\n\t\t\tGcpNetworkInfo: \u0026databricks.MwsNetworksGcpNetworkInfoArgs{\n\t\t\t\tNetworkProjectId: pulumi.Any(googleProject),\n\t\t\t\tVpcId: dbxPrivateVpc.Name,\n\t\t\t\tSubnetId: pulumi.Any(networkWithPrivateSecondaryIpRanges.Name),\n\t\t\t\tSubnetRegion: pulumi.Any(networkWithPrivateSecondaryIpRanges.Region),\n\t\t\t\tPodIpRangeName: pulumi.String(\"pods\"),\n\t\t\t\tServiceIpRangeName: pulumi.String(\"svc\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.google.computeNetwork;\nimport com.pulumi.google.ComputeNetworkArgs;\nimport com.pulumi.google.computeSubnetwork;\nimport com.pulumi.google.ComputeSubnetworkArgs;\nimport com.pulumi.google.computeRouter;\nimport com.pulumi.google.ComputeRouterArgs;\nimport com.pulumi.google.computeRouterNat;\nimport com.pulumi.google.ComputeRouterNatArgs;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksGcpNetworkInfoArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n var dbxPrivateVpc = new ComputeNetwork(\"dbxPrivateVpc\", ComputeNetworkArgs.builder()\n .project(googleProject)\n .name(String.format(\"tf-network-%s\", suffix.result()))\n .autoCreateSubnetworks(false)\n .build());\n\n var network_with_private_secondary_ip_ranges = new ComputeSubnetwork(\"network-with-private-secondary-ip-ranges\", ComputeSubnetworkArgs.builder()\n .name(String.format(\"test-dbx-%s\", suffix.result()))\n .ipCidrRange(\"10.0.0.0/16\")\n .region(\"us-central1\")\n .network(dbxPrivateVpc.id())\n .secondaryIpRange( \n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),\n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .privateIpGoogleAccess(true)\n .build());\n\n var router = new ComputeRouter(\"router\", ComputeRouterArgs.builder()\n .name(String.format(\"my-router-%s\", suffix.result()))\n .region(network_with_private_secondary_ip_ranges.region())\n .network(dbxPrivateVpc.id())\n .build());\n\n var nat = new ComputeRouterNat(\"nat\", ComputeRouterNatArgs.builder()\n .name(String.format(\"my-router-nat-%s\", suffix.result()))\n .router(router.name())\n .region(router.region())\n .natIpAllocateOption(\"AUTO_ONLY\")\n .sourceSubnetworkIpRangesToNat(\"ALL_SUBNETWORKS_ALL_IP_RANGES\")\n .build());\n\n var this_ = new MwsNetworks(\"this\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"test-demo-%s\", suffix.result()))\n .gcpNetworkInfo(MwsNetworksGcpNetworkInfoArgs.builder()\n .networkProjectId(googleProject)\n .vpcId(dbxPrivateVpc.name())\n .subnetId(networkWithPrivateSecondaryIpRanges.name())\n .subnetRegion(networkWithPrivateSecondaryIpRanges.region())\n .podIpRangeName(\"pods\")\n .serviceIpRangeName(\"svc\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n dbxPrivateVpc:\n type: google:computeNetwork\n name: dbx_private_vpc\n properties:\n project: ${googleProject}\n name: tf-network-${suffix.result}\n autoCreateSubnetworks: false\n network-with-private-secondary-ip-ranges:\n type: google:computeSubnetwork\n properties:\n name: test-dbx-${suffix.result}\n ipCidrRange: 10.0.0.0/16\n region: us-central1\n network: ${dbxPrivateVpc.id}\n secondaryIpRange:\n - rangeName: pods\n ipCidrRange: 10.1.0.0/16\n - rangeName: svc\n ipCidrRange: 10.2.0.0/20\n privateIpGoogleAccess: true\n router:\n type: google:computeRouter\n properties:\n name: my-router-${suffix.result}\n region: ${[\"network-with-private-secondary-ip-ranges\"].region}\n network: ${dbxPrivateVpc.id}\n nat:\n type: google:computeRouterNat\n properties:\n name: my-router-nat-${suffix.result}\n router: ${router.name}\n region: ${router.region}\n natIpAllocateOption: AUTO_ONLY\n sourceSubnetworkIpRangesToNat: ALL_SUBNETWORKS_ALL_IP_RANGES\n this:\n type: databricks:MwsNetworks\n properties:\n accountId: ${databricksAccountId}\n networkName: test-demo-${suffix.result}\n gcpNetworkInfo:\n networkProjectId: ${googleProject}\n vpcId: ${dbxPrivateVpc.name}\n subnetId: ${networkWithPrivateSecondaryIpRanges.name}\n subnetRegion: ${networkWithPrivateSecondaryIpRanges.region}\n podIpRangeName: pods\n serviceIpRangeName: svc\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nIn order to create a VPC [that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) you would need to add the `vpc_endpoint_id` Attributes from mws_vpc_endpoint resources into the databricks.MwsNetworks resource. For example:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `test-demo-${suffix.result}`,\n gcpNetworkInfo: {\n networkProjectId: googleProject,\n vpcId: dbxPrivateVpc.name,\n subnetId: networkWithPrivateSecondaryIpRanges.name,\n subnetRegion: networkWithPrivateSecondaryIpRanges.region,\n podIpRangeName: \"pods\",\n serviceIpRangeName: \"svc\",\n },\n vpcEndpoints: {\n dataplaneRelays: [relay.vpcEndpointId],\n restApis: [workspace.vpcEndpointId],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"test-demo-{suffix['result']}\",\n gcp_network_info={\n \"network_project_id\": google_project,\n \"vpc_id\": dbx_private_vpc[\"name\"],\n \"subnet_id\": network_with_private_secondary_ip_ranges[\"name\"],\n \"subnet_region\": network_with_private_secondary_ip_ranges[\"region\"],\n \"pod_ip_range_name\": \"pods\",\n \"service_ip_range_name\": \"svc\",\n },\n vpc_endpoints={\n \"dataplane_relays\": [relay[\"vpcEndpointId\"]],\n \"rest_apis\": [workspace[\"vpcEndpointId\"]],\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"test-demo-{suffix.Result}\",\n GcpNetworkInfo = new Databricks.Inputs.MwsNetworksGcpNetworkInfoArgs\n {\n NetworkProjectId = googleProject,\n VpcId = dbxPrivateVpc.Name,\n SubnetId = networkWithPrivateSecondaryIpRanges.Name,\n SubnetRegion = networkWithPrivateSecondaryIpRanges.Region,\n PodIpRangeName = \"pods\",\n ServiceIpRangeName = \"svc\",\n },\n VpcEndpoints = new Databricks.Inputs.MwsNetworksVpcEndpointsArgs\n {\n DataplaneRelays = new[]\n {\n relay.VpcEndpointId,\n },\n RestApis = new[]\n {\n workspace.VpcEndpointId,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"test-demo-%v\", suffix.Result),\n\t\t\tGcpNetworkInfo: \u0026databricks.MwsNetworksGcpNetworkInfoArgs{\n\t\t\t\tNetworkProjectId: pulumi.Any(googleProject),\n\t\t\t\tVpcId: pulumi.Any(dbxPrivateVpc.Name),\n\t\t\t\tSubnetId: pulumi.Any(networkWithPrivateSecondaryIpRanges.Name),\n\t\t\t\tSubnetRegion: pulumi.Any(networkWithPrivateSecondaryIpRanges.Region),\n\t\t\t\tPodIpRangeName: pulumi.String(\"pods\"),\n\t\t\t\tServiceIpRangeName: pulumi.String(\"svc\"),\n\t\t\t},\n\t\t\tVpcEndpoints: \u0026databricks.MwsNetworksVpcEndpointsArgs{\n\t\t\t\tDataplaneRelays: pulumi.StringArray{\n\t\t\t\t\trelay.VpcEndpointId,\n\t\t\t\t},\n\t\t\t\tRestApis: pulumi.StringArray{\n\t\t\t\t\tworkspace.VpcEndpointId,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksGcpNetworkInfoArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksVpcEndpointsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MwsNetworks(\"this\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"test-demo-%s\", suffix.result()))\n .gcpNetworkInfo(MwsNetworksGcpNetworkInfoArgs.builder()\n .networkProjectId(googleProject)\n .vpcId(dbxPrivateVpc.name())\n .subnetId(networkWithPrivateSecondaryIpRanges.name())\n .subnetRegion(networkWithPrivateSecondaryIpRanges.region())\n .podIpRangeName(\"pods\")\n .serviceIpRangeName(\"svc\")\n .build())\n .vpcEndpoints(MwsNetworksVpcEndpointsArgs.builder()\n .dataplaneRelays(relay.vpcEndpointId())\n .restApis(workspace.vpcEndpointId())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MwsNetworks\n properties:\n accountId: ${databricksAccountId}\n networkName: test-demo-${suffix.result}\n gcpNetworkInfo:\n networkProjectId: ${googleProject}\n vpcId: ${dbxPrivateVpc.name}\n subnetId: ${networkWithPrivateSecondaryIpRanges.name}\n subnetRegion: ${networkWithPrivateSecondaryIpRanges.region}\n podIpRangeName: pods\n serviceIpRangeName: svc\n vpcEndpoints:\n dataplaneRelays:\n - ${relay.vpcEndpointId}\n restApis:\n - ${workspace.vpcEndpointId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Modifying networks on running workspaces (AWS only)\n\nDue to specifics of platform APIs, changing any attribute of network configuration would cause `databricks.MwsNetworks` to be re-created - deleted \u0026 added again with special case for running workspaces. Once network configuration is attached to a running databricks_mws_workspaces, you cannot delete it and `pulumi up` would result in `INVALID_STATE: Unable to delete, Network is being used by active workspace X` error. In order to modify any attributes of a network, you have to perform three different `pulumi up` steps:\n\n1. Create a new `databricks.MwsNetworks` resource.\n2. Update the `databricks.MwsWorkspaces` to point to the new `network_id`.\n3. Delete the old `databricks.MwsNetworks` resource.\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* Provisioning Databricks on AWS with Private Link guide.\n* Provisioning AWS Databricks workspaces with a Hub \u0026 Spoke firewall for data exfiltration protection guide.\n* Provisioning Databricks on GCP guide.\n* Provisioning Databricks workspaces on GCP with Private Service Connect guide.\n* databricks.MwsVpcEndpoint to register aws_vpc_endpoint resources with Databricks such that they can be used as part of a databricks.MwsNetworks configuration.\n* databricks.MwsPrivateAccessSettings to create a Private Access Setting that can be used as part of a databricks.MwsWorkspaces resource to create a [Databricks Workspace that leverages AWS PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) or [GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html).\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\nThis resource can be imported by Databricks account ID and network ID.\n\n```sh\n$ pulumi import databricks:index/mwsNetworks:MwsNetworks this '\u003caccount_id\u003e/\u003cnetwork_id\u003e'\n```\n\n~\u003e This resource does not support updates. If your configuration does not match the existing resource,\n\n the next `pulumi up` will cause the resource to be destroyed and recreated. After importing,\n\n verify that the configuration matches the existing resource by running `pulumi preview`.\n\n", "properties": { "accountId": { "type": "string", @@ -24410,7 +27016,7 @@ } }, "databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings": { - "description": "Allows you to create a Private Access Setting resource that can be used as part of a databricks.MwsWorkspaces resource to create a [Databricks Workspace that leverages AWS PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) or [GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html)\n\nIt is strongly recommended that customers read the [Enable AWS Private Link](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) [Enable GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation before trying to leverage this resource.\n\n## Databricks on AWS usage\n\n\u003e Initialize provider with `alias = \"mws\"`, `host = \"https://accounts.cloud.databricks.com\"` and use `provider = databricks.mws`\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst pas = new databricks.MwsPrivateAccessSettings(\"pas\", {\n accountId: databricksAccountId,\n privateAccessSettingsName: `Private Access Settings for ${prefix}`,\n region: region,\n publicAccessEnabled: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\npas = databricks.MwsPrivateAccessSettings(\"pas\",\n account_id=databricks_account_id,\n private_access_settings_name=f\"Private Access Settings for {prefix}\",\n region=region,\n public_access_enabled=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pas = new Databricks.MwsPrivateAccessSettings(\"pas\", new()\n {\n AccountId = databricksAccountId,\n PrivateAccessSettingsName = $\"Private Access Settings for {prefix}\",\n Region = region,\n PublicAccessEnabled = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsPrivateAccessSettings(ctx, \"pas\", \u0026databricks.MwsPrivateAccessSettingsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tPrivateAccessSettingsName: pulumi.Sprintf(\"Private Access Settings for %v\", prefix),\n\t\t\tRegion: pulumi.Any(region),\n\t\t\tPublicAccessEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsPrivateAccessSettings;\nimport com.pulumi.databricks.MwsPrivateAccessSettingsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pas = new MwsPrivateAccessSettings(\"pas\", MwsPrivateAccessSettingsArgs.builder()\n .accountId(databricksAccountId)\n .privateAccessSettingsName(String.format(\"Private Access Settings for %s\", prefix))\n .region(region)\n .publicAccessEnabled(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pas:\n type: databricks:MwsPrivateAccessSettings\n properties:\n accountId: ${databricksAccountId}\n privateAccessSettingsName: Private Access Settings for ${prefix}\n region: ${region}\n publicAccessEnabled: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe `databricks_mws_private_access_settings.pas.private_access_settings_id` can then be used as part of a databricks.MwsWorkspaces resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MwsWorkspaces(\"this\", {\n awsRegion: region,\n workspaceName: prefix,\n credentialsId: thisDatabricksMwsCredentials.credentialsId,\n storageConfigurationId: thisDatabricksMwsStorageConfigurations.storageConfigurationId,\n networkId: thisDatabricksMwsNetworks.networkId,\n privateAccessSettingsId: pas.privateAccessSettingsId,\n pricingTier: \"ENTERPRISE\",\n}, {\n dependsOn: [thisDatabricksMwsNetworks],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MwsWorkspaces(\"this\",\n aws_region=region,\n workspace_name=prefix,\n credentials_id=this_databricks_mws_credentials[\"credentialsId\"],\n storage_configuration_id=this_databricks_mws_storage_configurations[\"storageConfigurationId\"],\n network_id=this_databricks_mws_networks[\"networkId\"],\n private_access_settings_id=pas[\"privateAccessSettingsId\"],\n pricing_tier=\"ENTERPRISE\",\n opts = pulumi.ResourceOptions(depends_on=[this_databricks_mws_networks]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AwsRegion = region,\n WorkspaceName = prefix,\n CredentialsId = thisDatabricksMwsCredentials.CredentialsId,\n StorageConfigurationId = thisDatabricksMwsStorageConfigurations.StorageConfigurationId,\n NetworkId = thisDatabricksMwsNetworks.NetworkId,\n PrivateAccessSettingsId = pas.PrivateAccessSettingsId,\n PricingTier = \"ENTERPRISE\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n thisDatabricksMwsNetworks,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAwsRegion: pulumi.Any(region),\n\t\t\tWorkspaceName: pulumi.Any(prefix),\n\t\t\tCredentialsId: pulumi.Any(thisDatabricksMwsCredentials.CredentialsId),\n\t\t\tStorageConfigurationId: pulumi.Any(thisDatabricksMwsStorageConfigurations.StorageConfigurationId),\n\t\t\tNetworkId: pulumi.Any(thisDatabricksMwsNetworks.NetworkId),\n\t\t\tPrivateAccessSettingsId: pulumi.Any(pas.PrivateAccessSettingsId),\n\t\t\tPricingTier: pulumi.String(\"ENTERPRISE\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tthisDatabricksMwsNetworks,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MwsWorkspaces(\"this\", MwsWorkspacesArgs.builder()\n .awsRegion(region)\n .workspaceName(prefix)\n .credentialsId(thisDatabricksMwsCredentials.credentialsId())\n .storageConfigurationId(thisDatabricksMwsStorageConfigurations.storageConfigurationId())\n .networkId(thisDatabricksMwsNetworks.networkId())\n .privateAccessSettingsId(pas.privateAccessSettingsId())\n .pricingTier(\"ENTERPRISE\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(thisDatabricksMwsNetworks)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MwsWorkspaces\n properties:\n awsRegion: ${region}\n workspaceName: ${prefix}\n credentialsId: ${thisDatabricksMwsCredentials.credentialsId}\n storageConfigurationId: ${thisDatabricksMwsStorageConfigurations.storageConfigurationId}\n networkId: ${thisDatabricksMwsNetworks.networkId}\n privateAccessSettingsId: ${pas.privateAccessSettingsId}\n pricingTier: ENTERPRISE\n options:\n dependsOn:\n - ${thisDatabricksMwsNetworks}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Databricks on GCP usage\n\n\u003e Initialize provider with `alias = \"mws\"`, `host = \"https://accounts.gcp.databricks.com\"` and use `provider = databricks.mws`\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MwsWorkspaces(\"this\", {\n workspaceName: \"gcp-workspace\",\n location: subnetRegion,\n cloudResourceContainer: {\n gcp: {\n projectId: googleProject,\n },\n },\n gkeConfig: {\n connectivityType: \"PRIVATE_NODE_PUBLIC_MASTER\",\n masterIpRange: \"10.3.0.0/28\",\n },\n networkId: thisDatabricksMwsNetworks.networkId,\n privateAccessSettingsId: pas.privateAccessSettingsId,\n pricingTier: \"PREMIUM\",\n}, {\n dependsOn: [thisDatabricksMwsNetworks],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MwsWorkspaces(\"this\",\n workspace_name=\"gcp-workspace\",\n location=subnet_region,\n cloud_resource_container={\n \"gcp\": {\n \"project_id\": google_project,\n },\n },\n gke_config={\n \"connectivity_type\": \"PRIVATE_NODE_PUBLIC_MASTER\",\n \"master_ip_range\": \"10.3.0.0/28\",\n },\n network_id=this_databricks_mws_networks[\"networkId\"],\n private_access_settings_id=pas[\"privateAccessSettingsId\"],\n pricing_tier=\"PREMIUM\",\n opts = pulumi.ResourceOptions(depends_on=[this_databricks_mws_networks]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MwsWorkspaces(\"this\", new()\n {\n WorkspaceName = \"gcp-workspace\",\n Location = subnetRegion,\n CloudResourceContainer = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerArgs\n {\n Gcp = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerGcpArgs\n {\n ProjectId = googleProject,\n },\n },\n GkeConfig = new Databricks.Inputs.MwsWorkspacesGkeConfigArgs\n {\n ConnectivityType = \"PRIVATE_NODE_PUBLIC_MASTER\",\n MasterIpRange = \"10.3.0.0/28\",\n },\n NetworkId = thisDatabricksMwsNetworks.NetworkId,\n PrivateAccessSettingsId = pas.PrivateAccessSettingsId,\n PricingTier = \"PREMIUM\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n thisDatabricksMwsNetworks,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tWorkspaceName: pulumi.String(\"gcp-workspace\"),\n\t\t\tLocation: pulumi.Any(subnetRegion),\n\t\t\tCloudResourceContainer: \u0026databricks.MwsWorkspacesCloudResourceContainerArgs{\n\t\t\t\tGcp: \u0026databricks.MwsWorkspacesCloudResourceContainerGcpArgs{\n\t\t\t\t\tProjectId: pulumi.Any(googleProject),\n\t\t\t\t},\n\t\t\t},\n\t\t\tGkeConfig: \u0026databricks.MwsWorkspacesGkeConfigArgs{\n\t\t\t\tConnectivityType: pulumi.String(\"PRIVATE_NODE_PUBLIC_MASTER\"),\n\t\t\t\tMasterIpRange: pulumi.String(\"10.3.0.0/28\"),\n\t\t\t},\n\t\t\tNetworkId: pulumi.Any(thisDatabricksMwsNetworks.NetworkId),\n\t\t\tPrivateAccessSettingsId: pulumi.Any(pas.PrivateAccessSettingsId),\n\t\t\tPricingTier: pulumi.String(\"PREMIUM\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tthisDatabricksMwsNetworks,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerGcpArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesGkeConfigArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MwsWorkspaces(\"this\", MwsWorkspacesArgs.builder()\n .workspaceName(\"gcp-workspace\")\n .location(subnetRegion)\n .cloudResourceContainer(MwsWorkspacesCloudResourceContainerArgs.builder()\n .gcp(MwsWorkspacesCloudResourceContainerGcpArgs.builder()\n .projectId(googleProject)\n .build())\n .build())\n .gkeConfig(MwsWorkspacesGkeConfigArgs.builder()\n .connectivityType(\"PRIVATE_NODE_PUBLIC_MASTER\")\n .masterIpRange(\"10.3.0.0/28\")\n .build())\n .networkId(thisDatabricksMwsNetworks.networkId())\n .privateAccessSettingsId(pas.privateAccessSettingsId())\n .pricingTier(\"PREMIUM\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(thisDatabricksMwsNetworks)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MwsWorkspaces\n properties:\n workspaceName: gcp-workspace\n location: ${subnetRegion}\n cloudResourceContainer:\n gcp:\n projectId: ${googleProject}\n gkeConfig:\n connectivityType: PRIVATE_NODE_PUBLIC_MASTER\n masterIpRange: 10.3.0.0/28\n networkId: ${thisDatabricksMwsNetworks.networkId}\n privateAccessSettingsId: ${pas.privateAccessSettingsId}\n pricingTier: PREMIUM\n options:\n dependsOn:\n - ${thisDatabricksMwsNetworks}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* Provisioning Databricks on AWS with Private Link guide.\n* Provisioning AWS Databricks workspaces with a Hub \u0026 Spoke firewall for data exfiltration protection guide.\n* Provisioning Databricks workspaces on GCP with Private Service Connect guide.\n* databricks.MwsVpcEndpoint to register aws_vpc_endpoint resources with Databricks such that they can be used as part of a databricks.MwsNetworks configuration.\n* databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) \u0026 subnets for new workspaces within AWS.\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\n!\u003e Importing this resource is not currently supported.\n\n", + "description": "Allows you to create a Private Access Setting resource that can be used as part of a databricks.MwsWorkspaces resource to create a [Databricks Workspace that leverages AWS PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) or [GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html)\n\nIt is strongly recommended that customers read the [Enable AWS Private Link](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) [Enable GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation before trying to leverage this resource.\n\n## Databricks on AWS usage\n\n\u003e Initialize provider with `alias = \"mws\"`, `host = \"https://accounts.cloud.databricks.com\"` and use `provider = databricks.mws`\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst pas = new databricks.MwsPrivateAccessSettings(\"pas\", {\n accountId: databricksAccountId,\n privateAccessSettingsName: `Private Access Settings for ${prefix}`,\n region: region,\n publicAccessEnabled: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\npas = databricks.MwsPrivateAccessSettings(\"pas\",\n account_id=databricks_account_id,\n private_access_settings_name=f\"Private Access Settings for {prefix}\",\n region=region,\n public_access_enabled=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var pas = new Databricks.MwsPrivateAccessSettings(\"pas\", new()\n {\n AccountId = databricksAccountId,\n PrivateAccessSettingsName = $\"Private Access Settings for {prefix}\",\n Region = region,\n PublicAccessEnabled = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsPrivateAccessSettings(ctx, \"pas\", \u0026databricks.MwsPrivateAccessSettingsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tPrivateAccessSettingsName: pulumi.Sprintf(\"Private Access Settings for %v\", prefix),\n\t\t\tRegion: pulumi.Any(region),\n\t\t\tPublicAccessEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsPrivateAccessSettings;\nimport com.pulumi.databricks.MwsPrivateAccessSettingsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var pas = new MwsPrivateAccessSettings(\"pas\", MwsPrivateAccessSettingsArgs.builder()\n .accountId(databricksAccountId)\n .privateAccessSettingsName(String.format(\"Private Access Settings for %s\", prefix))\n .region(region)\n .publicAccessEnabled(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pas:\n type: databricks:MwsPrivateAccessSettings\n properties:\n accountId: ${databricksAccountId}\n privateAccessSettingsName: Private Access Settings for ${prefix}\n region: ${region}\n publicAccessEnabled: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe `databricks_mws_private_access_settings.pas.private_access_settings_id` can then be used as part of a databricks.MwsWorkspaces resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MwsWorkspaces(\"this\", {\n awsRegion: region,\n workspaceName: prefix,\n credentialsId: thisDatabricksMwsCredentials.credentialsId,\n storageConfigurationId: thisDatabricksMwsStorageConfigurations.storageConfigurationId,\n networkId: thisDatabricksMwsNetworks.networkId,\n privateAccessSettingsId: pas.privateAccessSettingsId,\n pricingTier: \"ENTERPRISE\",\n}, {\n dependsOn: [thisDatabricksMwsNetworks],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MwsWorkspaces(\"this\",\n aws_region=region,\n workspace_name=prefix,\n credentials_id=this_databricks_mws_credentials[\"credentialsId\"],\n storage_configuration_id=this_databricks_mws_storage_configurations[\"storageConfigurationId\"],\n network_id=this_databricks_mws_networks[\"networkId\"],\n private_access_settings_id=pas[\"privateAccessSettingsId\"],\n pricing_tier=\"ENTERPRISE\",\n opts = pulumi.ResourceOptions(depends_on=[this_databricks_mws_networks]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AwsRegion = region,\n WorkspaceName = prefix,\n CredentialsId = thisDatabricksMwsCredentials.CredentialsId,\n StorageConfigurationId = thisDatabricksMwsStorageConfigurations.StorageConfigurationId,\n NetworkId = thisDatabricksMwsNetworks.NetworkId,\n PrivateAccessSettingsId = pas.PrivateAccessSettingsId,\n PricingTier = \"ENTERPRISE\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n thisDatabricksMwsNetworks,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAwsRegion: pulumi.Any(region),\n\t\t\tWorkspaceName: pulumi.Any(prefix),\n\t\t\tCredentialsId: pulumi.Any(thisDatabricksMwsCredentials.CredentialsId),\n\t\t\tStorageConfigurationId: pulumi.Any(thisDatabricksMwsStorageConfigurations.StorageConfigurationId),\n\t\t\tNetworkId: pulumi.Any(thisDatabricksMwsNetworks.NetworkId),\n\t\t\tPrivateAccessSettingsId: pulumi.Any(pas.PrivateAccessSettingsId),\n\t\t\tPricingTier: pulumi.String(\"ENTERPRISE\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tthisDatabricksMwsNetworks,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MwsWorkspaces(\"this\", MwsWorkspacesArgs.builder()\n .awsRegion(region)\n .workspaceName(prefix)\n .credentialsId(thisDatabricksMwsCredentials.credentialsId())\n .storageConfigurationId(thisDatabricksMwsStorageConfigurations.storageConfigurationId())\n .networkId(thisDatabricksMwsNetworks.networkId())\n .privateAccessSettingsId(pas.privateAccessSettingsId())\n .pricingTier(\"ENTERPRISE\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(thisDatabricksMwsNetworks)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MwsWorkspaces\n properties:\n awsRegion: ${region}\n workspaceName: ${prefix}\n credentialsId: ${thisDatabricksMwsCredentials.credentialsId}\n storageConfigurationId: ${thisDatabricksMwsStorageConfigurations.storageConfigurationId}\n networkId: ${thisDatabricksMwsNetworks.networkId}\n privateAccessSettingsId: ${pas.privateAccessSettingsId}\n pricingTier: ENTERPRISE\n options:\n dependsOn:\n - ${thisDatabricksMwsNetworks}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Databricks on GCP usage\n\n\u003e Initialize provider with `alias = \"mws\"`, `host = \"https://accounts.gcp.databricks.com\"` and use `provider = databricks.mws`\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MwsWorkspaces(\"this\", {\n workspaceName: \"gcp-workspace\",\n location: subnetRegion,\n cloudResourceContainer: {\n gcp: {\n projectId: googleProject,\n },\n },\n gkeConfig: {\n connectivityType: \"PRIVATE_NODE_PUBLIC_MASTER\",\n masterIpRange: \"10.3.0.0/28\",\n },\n networkId: thisDatabricksMwsNetworks.networkId,\n privateAccessSettingsId: pas.privateAccessSettingsId,\n pricingTier: \"PREMIUM\",\n}, {\n dependsOn: [thisDatabricksMwsNetworks],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MwsWorkspaces(\"this\",\n workspace_name=\"gcp-workspace\",\n location=subnet_region,\n cloud_resource_container={\n \"gcp\": {\n \"project_id\": google_project,\n },\n },\n gke_config={\n \"connectivity_type\": \"PRIVATE_NODE_PUBLIC_MASTER\",\n \"master_ip_range\": \"10.3.0.0/28\",\n },\n network_id=this_databricks_mws_networks[\"networkId\"],\n private_access_settings_id=pas[\"privateAccessSettingsId\"],\n pricing_tier=\"PREMIUM\",\n opts = pulumi.ResourceOptions(depends_on=[this_databricks_mws_networks]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MwsWorkspaces(\"this\", new()\n {\n WorkspaceName = \"gcp-workspace\",\n Location = subnetRegion,\n CloudResourceContainer = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerArgs\n {\n Gcp = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerGcpArgs\n {\n ProjectId = googleProject,\n },\n },\n GkeConfig = new Databricks.Inputs.MwsWorkspacesGkeConfigArgs\n {\n ConnectivityType = \"PRIVATE_NODE_PUBLIC_MASTER\",\n MasterIpRange = \"10.3.0.0/28\",\n },\n NetworkId = thisDatabricksMwsNetworks.NetworkId,\n PrivateAccessSettingsId = pas.PrivateAccessSettingsId,\n PricingTier = \"PREMIUM\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n thisDatabricksMwsNetworks,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tWorkspaceName: pulumi.String(\"gcp-workspace\"),\n\t\t\tLocation: pulumi.Any(subnetRegion),\n\t\t\tCloudResourceContainer: \u0026databricks.MwsWorkspacesCloudResourceContainerArgs{\n\t\t\t\tGcp: \u0026databricks.MwsWorkspacesCloudResourceContainerGcpArgs{\n\t\t\t\t\tProjectId: pulumi.Any(googleProject),\n\t\t\t\t},\n\t\t\t},\n\t\t\tGkeConfig: \u0026databricks.MwsWorkspacesGkeConfigArgs{\n\t\t\t\tConnectivityType: pulumi.String(\"PRIVATE_NODE_PUBLIC_MASTER\"),\n\t\t\t\tMasterIpRange: pulumi.String(\"10.3.0.0/28\"),\n\t\t\t},\n\t\t\tNetworkId: pulumi.Any(thisDatabricksMwsNetworks.NetworkId),\n\t\t\tPrivateAccessSettingsId: pulumi.Any(pas.PrivateAccessSettingsId),\n\t\t\tPricingTier: pulumi.String(\"PREMIUM\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tthisDatabricksMwsNetworks,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerGcpArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesGkeConfigArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MwsWorkspaces(\"this\", MwsWorkspacesArgs.builder()\n .workspaceName(\"gcp-workspace\")\n .location(subnetRegion)\n .cloudResourceContainer(MwsWorkspacesCloudResourceContainerArgs.builder()\n .gcp(MwsWorkspacesCloudResourceContainerGcpArgs.builder()\n .projectId(googleProject)\n .build())\n .build())\n .gkeConfig(MwsWorkspacesGkeConfigArgs.builder()\n .connectivityType(\"PRIVATE_NODE_PUBLIC_MASTER\")\n .masterIpRange(\"10.3.0.0/28\")\n .build())\n .networkId(thisDatabricksMwsNetworks.networkId())\n .privateAccessSettingsId(pas.privateAccessSettingsId())\n .pricingTier(\"PREMIUM\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(thisDatabricksMwsNetworks)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MwsWorkspaces\n properties:\n workspaceName: gcp-workspace\n location: ${subnetRegion}\n cloudResourceContainer:\n gcp:\n projectId: ${googleProject}\n gkeConfig:\n connectivityType: PRIVATE_NODE_PUBLIC_MASTER\n masterIpRange: 10.3.0.0/28\n networkId: ${thisDatabricksMwsNetworks.networkId}\n privateAccessSettingsId: ${pas.privateAccessSettingsId}\n pricingTier: PREMIUM\n options:\n dependsOn:\n - ${thisDatabricksMwsNetworks}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* Provisioning Databricks on AWS with Private Link guide.\n* Provisioning AWS Databricks workspaces with a Hub \u0026 Spoke firewall for data exfiltration protection guide.\n* Provisioning Databricks workspaces on GCP with Private Service Connect guide.\n* databricks.MwsVpcEndpoint to register aws_vpc_endpoint resources with Databricks such that they can be used as part of a databricks.MwsNetworks configuration.\n* databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) \u0026 subnets for new workspaces within AWS.\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\nThis resource can be imported by Databricks account ID and private access settings ID.\n\n```sh\n$ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '\u003caccount_id\u003e/\u003cprivate_access_settings_id\u003e'\n```\n\n", "properties": { "accountId": { "type": "string", @@ -24526,7 +27132,7 @@ } }, "databricks:index/mwsStorageConfigurations:MwsStorageConfigurations": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst rootStorageBucket = new aws.s3.BucketV2(\"root_storage_bucket\", {\n bucket: `${prefix}-rootbucket`,\n acl: \"private\",\n});\nconst rootVersioning = new aws.s3.BucketVersioningV2(\"root_versioning\", {\n bucket: rootStorageBucket.id,\n versioningConfiguration: {\n status: \"Disabled\",\n },\n});\nconst _this = new databricks.MwsStorageConfigurations(\"this\", {\n accountId: databricksAccountId,\n storageConfigurationName: `${prefix}-storage`,\n bucketName: rootStorageBucket.bucket,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\nroot_storage_bucket = aws.s3.BucketV2(\"root_storage_bucket\",\n bucket=f\"{prefix}-rootbucket\",\n acl=\"private\")\nroot_versioning = aws.s3.BucketVersioningV2(\"root_versioning\",\n bucket=root_storage_bucket.id,\n versioning_configuration={\n \"status\": \"Disabled\",\n })\nthis = databricks.MwsStorageConfigurations(\"this\",\n account_id=databricks_account_id,\n storage_configuration_name=f\"{prefix}-storage\",\n bucket_name=root_storage_bucket.bucket)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var rootStorageBucket = new Aws.S3.BucketV2(\"root_storage_bucket\", new()\n {\n Bucket = $\"{prefix}-rootbucket\",\n Acl = \"private\",\n });\n\n var rootVersioning = new Aws.S3.BucketVersioningV2(\"root_versioning\", new()\n {\n Bucket = rootStorageBucket.Id,\n VersioningConfiguration = new Aws.S3.Inputs.BucketVersioningV2VersioningConfigurationArgs\n {\n Status = \"Disabled\",\n },\n });\n\n var @this = new Databricks.MwsStorageConfigurations(\"this\", new()\n {\n AccountId = databricksAccountId,\n StorageConfigurationName = $\"{prefix}-storage\",\n BucketName = rootStorageBucket.Bucket,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\trootStorageBucket, err := s3.NewBucketV2(ctx, \"root_storage_bucket\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.Sprintf(\"%v-rootbucket\", prefix),\n\t\t\tAcl: pulumi.String(\"private\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3.NewBucketVersioningV2(ctx, \"root_versioning\", \u0026s3.BucketVersioningV2Args{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tVersioningConfiguration: \u0026s3.BucketVersioningV2VersioningConfigurationArgs{\n\t\t\t\tStatus: pulumi.String(\"Disabled\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewMwsStorageConfigurations(ctx, \"this\", \u0026databricks.MwsStorageConfigurationsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tStorageConfigurationName: pulumi.Sprintf(\"%v-storage\", prefix),\n\t\t\tBucketName: rootStorageBucket.Bucket,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketVersioningV2;\nimport com.pulumi.aws.s3.BucketVersioningV2Args;\nimport com.pulumi.aws.s3.inputs.BucketVersioningV2VersioningConfigurationArgs;\nimport com.pulumi.databricks.MwsStorageConfigurations;\nimport com.pulumi.databricks.MwsStorageConfigurationsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n var rootStorageBucket = new BucketV2(\"rootStorageBucket\", BucketV2Args.builder()\n .bucket(String.format(\"%s-rootbucket\", prefix))\n .acl(\"private\")\n .build());\n\n var rootVersioning = new BucketVersioningV2(\"rootVersioning\", BucketVersioningV2Args.builder()\n .bucket(rootStorageBucket.id())\n .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()\n .status(\"Disabled\")\n .build())\n .build());\n\n var this_ = new MwsStorageConfigurations(\"this\", MwsStorageConfigurationsArgs.builder()\n .accountId(databricksAccountId)\n .storageConfigurationName(String.format(\"%s-storage\", prefix))\n .bucketName(rootStorageBucket.bucket())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n rootStorageBucket:\n type: aws:s3:BucketV2\n name: root_storage_bucket\n properties:\n bucket: ${prefix}-rootbucket\n acl: private\n rootVersioning:\n type: aws:s3:BucketVersioningV2\n name: root_versioning\n properties:\n bucket: ${rootStorageBucket.id}\n versioningConfiguration:\n status: Disabled\n this:\n type: databricks:MwsStorageConfigurations\n properties:\n accountId: ${databricksAccountId}\n storageConfigurationName: ${prefix}-storage\n bucketName: ${rootStorageBucket.bucket}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* Provisioning Databricks on AWS with Private Link guide.\n* databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.\n* databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.\n* databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).\n* databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) \u0026 subnets for new workspaces within AWS.\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\n!\u003e Importing this resource is not currently supported.\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst rootStorageBucket = new aws.s3.BucketV2(\"root_storage_bucket\", {\n bucket: `${prefix}-rootbucket`,\n acl: \"private\",\n});\nconst rootVersioning = new aws.s3.BucketVersioningV2(\"root_versioning\", {\n bucket: rootStorageBucket.id,\n versioningConfiguration: {\n status: \"Disabled\",\n },\n});\nconst _this = new databricks.MwsStorageConfigurations(\"this\", {\n accountId: databricksAccountId,\n storageConfigurationName: `${prefix}-storage`,\n bucketName: rootStorageBucket.bucket,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\nroot_storage_bucket = aws.s3.BucketV2(\"root_storage_bucket\",\n bucket=f\"{prefix}-rootbucket\",\n acl=\"private\")\nroot_versioning = aws.s3.BucketVersioningV2(\"root_versioning\",\n bucket=root_storage_bucket.id,\n versioning_configuration={\n \"status\": \"Disabled\",\n })\nthis = databricks.MwsStorageConfigurations(\"this\",\n account_id=databricks_account_id,\n storage_configuration_name=f\"{prefix}-storage\",\n bucket_name=root_storage_bucket.bucket)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var rootStorageBucket = new Aws.S3.BucketV2(\"root_storage_bucket\", new()\n {\n Bucket = $\"{prefix}-rootbucket\",\n Acl = \"private\",\n });\n\n var rootVersioning = new Aws.S3.BucketVersioningV2(\"root_versioning\", new()\n {\n Bucket = rootStorageBucket.Id,\n VersioningConfiguration = new Aws.S3.Inputs.BucketVersioningV2VersioningConfigurationArgs\n {\n Status = \"Disabled\",\n },\n });\n\n var @this = new Databricks.MwsStorageConfigurations(\"this\", new()\n {\n AccountId = databricksAccountId,\n StorageConfigurationName = $\"{prefix}-storage\",\n BucketName = rootStorageBucket.Bucket,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\trootStorageBucket, err := s3.NewBucketV2(ctx, \"root_storage_bucket\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.Sprintf(\"%v-rootbucket\", prefix),\n\t\t\tAcl: pulumi.String(\"private\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3.NewBucketVersioningV2(ctx, \"root_versioning\", \u0026s3.BucketVersioningV2Args{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tVersioningConfiguration: \u0026s3.BucketVersioningV2VersioningConfigurationArgs{\n\t\t\t\tStatus: pulumi.String(\"Disabled\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewMwsStorageConfigurations(ctx, \"this\", \u0026databricks.MwsStorageConfigurationsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tStorageConfigurationName: pulumi.Sprintf(\"%v-storage\", prefix),\n\t\t\tBucketName: rootStorageBucket.Bucket,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketVersioningV2;\nimport com.pulumi.aws.s3.BucketVersioningV2Args;\nimport com.pulumi.aws.s3.inputs.BucketVersioningV2VersioningConfigurationArgs;\nimport com.pulumi.databricks.MwsStorageConfigurations;\nimport com.pulumi.databricks.MwsStorageConfigurationsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n var rootStorageBucket = new BucketV2(\"rootStorageBucket\", BucketV2Args.builder()\n .bucket(String.format(\"%s-rootbucket\", prefix))\n .acl(\"private\")\n .build());\n\n var rootVersioning = new BucketVersioningV2(\"rootVersioning\", BucketVersioningV2Args.builder()\n .bucket(rootStorageBucket.id())\n .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()\n .status(\"Disabled\")\n .build())\n .build());\n\n var this_ = new MwsStorageConfigurations(\"this\", MwsStorageConfigurationsArgs.builder()\n .accountId(databricksAccountId)\n .storageConfigurationName(String.format(\"%s-storage\", prefix))\n .bucketName(rootStorageBucket.bucket())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n rootStorageBucket:\n type: aws:s3:BucketV2\n name: root_storage_bucket\n properties:\n bucket: ${prefix}-rootbucket\n acl: private\n rootVersioning:\n type: aws:s3:BucketVersioningV2\n name: root_versioning\n properties:\n bucket: ${rootStorageBucket.id}\n versioningConfiguration:\n status: Disabled\n this:\n type: databricks:MwsStorageConfigurations\n properties:\n accountId: ${databricksAccountId}\n storageConfigurationName: ${prefix}-storage\n bucketName: ${rootStorageBucket.bucket}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning Databricks on AWS guide.\n* Provisioning Databricks on AWS with Private Link guide.\n* databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.\n* databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.\n* databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).\n* databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) \u0026 subnets for new workspaces within AWS.\n* databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).\n\n## Import\n\nThis resource can be imported by Databricks account ID and storage configuration ID.\n\n```sh\n$ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '\u003caccount_id\u003e/\u003cstorage_configuration_id\u003e'\n```\n\n~\u003e This resource does not support updates. If your configuration does not match the existing resource,\n\n the next `pulumi up` will cause the resource to be destroyed and recreated. After importing,\n\n verify that the configuration matches the existing resource by running `pulumi preview`.\n\n", "properties": { "accountId": { "type": "string", @@ -24758,7 +27364,7 @@ } }, "databricks:index/mwsWorkspaces:MwsWorkspaces": { - "description": "## Example Usage\n\n### Creating a Databricks on AWS workspace\n\n!Simplest multiworkspace\n\nTo get workspace running, you have to configure a couple of things:\n\n* databricks.MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace.\n* databricks.MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace.\n* databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces.\n* databricks.MwsCustomerManagedKeys - You can share a customer-managed key across workspaces.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// register cross-account ARN\nconst _this = new databricks.MwsCredentials(\"this\", {\n accountId: databricksAccountId,\n credentialsName: `${prefix}-creds`,\n roleArn: crossaccountArn,\n});\n// register root bucket\nconst thisMwsStorageConfigurations = new databricks.MwsStorageConfigurations(\"this\", {\n accountId: databricksAccountId,\n storageConfigurationName: `${prefix}-storage`,\n bucketName: rootBucket,\n});\n// register VPC\nconst thisMwsNetworks = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `${prefix}-network`,\n vpcId: vpcId,\n subnetIds: subnetsPrivate,\n securityGroupIds: [securityGroup],\n});\n// create workspace in given VPC with DBFS on root bucket\nconst thisMwsWorkspaces = new databricks.MwsWorkspaces(\"this\", {\n accountId: databricksAccountId,\n workspaceName: prefix,\n awsRegion: region,\n credentialsId: _this.credentialsId,\n storageConfigurationId: thisMwsStorageConfigurations.storageConfigurationId,\n networkId: thisMwsNetworks.networkId,\n token: {},\n});\nexport const databricksToken = thisMwsWorkspaces.token.apply(token =\u003e token?.tokenValue);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# register cross-account ARN\nthis = databricks.MwsCredentials(\"this\",\n account_id=databricks_account_id,\n credentials_name=f\"{prefix}-creds\",\n role_arn=crossaccount_arn)\n# register root bucket\nthis_mws_storage_configurations = databricks.MwsStorageConfigurations(\"this\",\n account_id=databricks_account_id,\n storage_configuration_name=f\"{prefix}-storage\",\n bucket_name=root_bucket)\n# register VPC\nthis_mws_networks = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"{prefix}-network\",\n vpc_id=vpc_id,\n subnet_ids=subnets_private,\n security_group_ids=[security_group])\n# create workspace in given VPC with DBFS on root bucket\nthis_mws_workspaces = databricks.MwsWorkspaces(\"this\",\n account_id=databricks_account_id,\n workspace_name=prefix,\n aws_region=region,\n credentials_id=this.credentials_id,\n storage_configuration_id=this_mws_storage_configurations.storage_configuration_id,\n network_id=this_mws_networks.network_id,\n token={})\npulumi.export(\"databricksToken\", this_mws_workspaces.token.token_value)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // register cross-account ARN\n var @this = new Databricks.MwsCredentials(\"this\", new()\n {\n AccountId = databricksAccountId,\n CredentialsName = $\"{prefix}-creds\",\n RoleArn = crossaccountArn,\n });\n\n // register root bucket\n var thisMwsStorageConfigurations = new Databricks.MwsStorageConfigurations(\"this\", new()\n {\n AccountId = databricksAccountId,\n StorageConfigurationName = $\"{prefix}-storage\",\n BucketName = rootBucket,\n });\n\n // register VPC\n var thisMwsNetworks = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"{prefix}-network\",\n VpcId = vpcId,\n SubnetIds = subnetsPrivate,\n SecurityGroupIds = new[]\n {\n securityGroup,\n },\n });\n\n // create workspace in given VPC with DBFS on root bucket\n var thisMwsWorkspaces = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AccountId = databricksAccountId,\n WorkspaceName = prefix,\n AwsRegion = region,\n CredentialsId = @this.CredentialsId,\n StorageConfigurationId = thisMwsStorageConfigurations.StorageConfigurationId,\n NetworkId = thisMwsNetworks.NetworkId,\n Token = null,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databricksToken\"] = thisMwsWorkspaces.Token.Apply(token =\u003e token?.TokenValue),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\t// register cross-account ARN\n\t\tthis, err := databricks.NewMwsCredentials(ctx, \"this\", \u0026databricks.MwsCredentialsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tCredentialsName: pulumi.Sprintf(\"%v-creds\", prefix),\n\t\t\tRoleArn: pulumi.Any(crossaccountArn),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// register root bucket\n\t\tthisMwsStorageConfigurations, err := databricks.NewMwsStorageConfigurations(ctx, \"this\", \u0026databricks.MwsStorageConfigurationsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tStorageConfigurationName: pulumi.Sprintf(\"%v-storage\", prefix),\n\t\t\tBucketName: pulumi.Any(rootBucket),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// register VPC\n\t\tthisMwsNetworks, err := databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"%v-network\", prefix),\n\t\t\tVpcId: pulumi.Any(vpcId),\n\t\t\tSubnetIds: pulumi.Any(subnetsPrivate),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\tsecurityGroup,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create workspace in given VPC with DBFS on root bucket\n\t\tthisMwsWorkspaces, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tWorkspaceName: pulumi.Any(prefix),\n\t\t\tAwsRegion: pulumi.Any(region),\n\t\t\tCredentialsId: this.CredentialsId,\n\t\t\tStorageConfigurationId: thisMwsStorageConfigurations.StorageConfigurationId,\n\t\t\tNetworkId: thisMwsNetworks.NetworkId,\n\t\t\tToken: \u0026databricks.MwsWorkspacesTokenArgs{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databricksToken\", thisMwsWorkspaces.Token.ApplyT(func(token databricks.MwsWorkspacesToken) (*string, error) {\n\t\t\treturn \u0026token.TokenValue, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsCredentials;\nimport com.pulumi.databricks.MwsCredentialsArgs;\nimport com.pulumi.databricks.MwsStorageConfigurations;\nimport com.pulumi.databricks.MwsStorageConfigurationsArgs;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n // register cross-account ARN\n var this_ = new MwsCredentials(\"this\", MwsCredentialsArgs.builder()\n .accountId(databricksAccountId)\n .credentialsName(String.format(\"%s-creds\", prefix))\n .roleArn(crossaccountArn)\n .build());\n\n // register root bucket\n var thisMwsStorageConfigurations = new MwsStorageConfigurations(\"thisMwsStorageConfigurations\", MwsStorageConfigurationsArgs.builder()\n .accountId(databricksAccountId)\n .storageConfigurationName(String.format(\"%s-storage\", prefix))\n .bucketName(rootBucket)\n .build());\n\n // register VPC\n var thisMwsNetworks = new MwsNetworks(\"thisMwsNetworks\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"%s-network\", prefix))\n .vpcId(vpcId)\n .subnetIds(subnetsPrivate)\n .securityGroupIds(securityGroup)\n .build());\n\n // create workspace in given VPC with DBFS on root bucket\n var thisMwsWorkspaces = new MwsWorkspaces(\"thisMwsWorkspaces\", MwsWorkspacesArgs.builder()\n .accountId(databricksAccountId)\n .workspaceName(prefix)\n .awsRegion(region)\n .credentialsId(this_.credentialsId())\n .storageConfigurationId(thisMwsStorageConfigurations.storageConfigurationId())\n .networkId(thisMwsNetworks.networkId())\n .token()\n .build());\n\n ctx.export(\"databricksToken\", thisMwsWorkspaces.token().applyValue(token -\u003e token.tokenValue()));\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n # register cross-account ARN\n this:\n type: databricks:MwsCredentials\n properties:\n accountId: ${databricksAccountId}\n credentialsName: ${prefix}-creds\n roleArn: ${crossaccountArn}\n # register root bucket\n thisMwsStorageConfigurations:\n type: databricks:MwsStorageConfigurations\n name: this\n properties:\n accountId: ${databricksAccountId}\n storageConfigurationName: ${prefix}-storage\n bucketName: ${rootBucket}\n # register VPC\n thisMwsNetworks:\n type: databricks:MwsNetworks\n name: this\n properties:\n accountId: ${databricksAccountId}\n networkName: ${prefix}-network\n vpcId: ${vpcId}\n subnetIds: ${subnetsPrivate}\n securityGroupIds:\n - ${securityGroup}\n # create workspace in given VPC with DBFS on root bucket\n thisMwsWorkspaces:\n type: databricks:MwsWorkspaces\n name: this\n properties:\n accountId: ${databricksAccountId}\n workspaceName: ${prefix}\n awsRegion: ${region}\n credentialsId: ${this.credentialsId}\n storageConfigurationId: ${thisMwsStorageConfigurations.storageConfigurationId}\n networkId: ${thisMwsNetworks.networkId}\n token: {}\noutputs:\n databricksToken: ${thisMwsWorkspaces.token.tokenValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Creating a Databricks on AWS workspace with Databricks-Managed VPC\n\n![VPCs](https://docs.databricks.com/_images/customer-managed-vpc.png)\n\nBy default, Databricks creates a VPC in your AWS account for each workspace. Databricks uses it for running clusters in the workspace. Optionally, you can use your VPC for the workspace, using the feature customer-managed VPC. Databricks recommends that you provide your VPC with databricks.MwsNetworks so that you can configure it according to your organization’s enterprise cloud standards while still conforming to Databricks requirements. You cannot migrate an existing workspace to your VPC. Please see the difference described through IAM policy actions [on this page](https://docs.databricks.com/administration-guide/account-api/iam-role.html).\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as random from \"@pulumi/random\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst naming = new random.index.String(\"naming\", {\n special: false,\n upper: false,\n length: 6,\n});\nconst prefix = `dltp${naming.result}`;\nconst this = databricks.getAwsAssumeRolePolicy({\n externalId: databricksAccountId,\n});\nconst crossAccountRole = new aws.iam.Role(\"cross_account_role\", {\n name: `${prefix}-crossaccount`,\n assumeRolePolicy: _this.then(_this =\u003e _this.json),\n tags: tags,\n});\nconst thisGetAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});\nconst thisRolePolicy = new aws.iam.RolePolicy(\"this\", {\n name: `${prefix}-policy`,\n role: crossAccountRole.id,\n policy: thisGetAwsCrossAccountPolicy.then(thisGetAwsCrossAccountPolicy =\u003e thisGetAwsCrossAccountPolicy.json),\n});\nconst thisMwsCredentials = new databricks.MwsCredentials(\"this\", {\n accountId: databricksAccountId,\n credentialsName: `${prefix}-creds`,\n roleArn: crossAccountRole.arn,\n});\nconst rootStorageBucket = new aws.s3.BucketV2(\"root_storage_bucket\", {\n bucket: `${prefix}-rootbucket`,\n acl: \"private\",\n forceDestroy: true,\n tags: tags,\n});\nconst rootVersioning = new aws.s3.BucketVersioningV2(\"root_versioning\", {\n bucket: rootStorageBucket.id,\n versioningConfiguration: {\n status: \"Disabled\",\n },\n});\nconst rootStorageBucketBucketServerSideEncryptionConfigurationV2 = new aws.s3.BucketServerSideEncryptionConfigurationV2(\"root_storage_bucket\", {\n bucket: rootStorageBucket.bucket,\n rules: [{\n applyServerSideEncryptionByDefault: {\n sseAlgorithm: \"AES256\",\n },\n }],\n});\nconst rootStorageBucketBucketPublicAccessBlock = new aws.s3.BucketPublicAccessBlock(\"root_storage_bucket\", {\n bucket: rootStorageBucket.id,\n blockPublicAcls: true,\n blockPublicPolicy: true,\n ignorePublicAcls: true,\n restrictPublicBuckets: true,\n}, {\n dependsOn: [rootStorageBucket],\n});\nconst thisGetAwsBucketPolicy = databricks.getAwsBucketPolicyOutput({\n bucket: rootStorageBucket.bucket,\n});\nconst rootBucketPolicy = new aws.s3.BucketPolicy(\"root_bucket_policy\", {\n bucket: rootStorageBucket.id,\n policy: thisGetAwsBucketPolicy.apply(thisGetAwsBucketPolicy =\u003e thisGetAwsBucketPolicy.json),\n}, {\n dependsOn: [rootStorageBucketBucketPublicAccessBlock],\n});\nconst thisMwsStorageConfigurations = new databricks.MwsStorageConfigurations(\"this\", {\n accountId: databricksAccountId,\n storageConfigurationName: `${prefix}-storage`,\n bucketName: rootStorageBucket.bucket,\n});\nconst thisMwsWorkspaces = new databricks.MwsWorkspaces(\"this\", {\n accountId: databricksAccountId,\n workspaceName: prefix,\n awsRegion: \"us-east-1\",\n credentialsId: thisMwsCredentials.credentialsId,\n storageConfigurationId: thisMwsStorageConfigurations.storageConfigurationId,\n token: {},\n customTags: {\n SoldToCode: \"1234\",\n },\n});\nexport const databricksToken = thisMwsWorkspaces.token.apply(token =\u003e token?.tokenValue);\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\nimport pulumi_random as random\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\nnaming = random.index.String(\"naming\",\n special=False,\n upper=False,\n length=6)\nprefix = f\"dltp{naming['result']}\"\nthis = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)\ncross_account_role = aws.iam.Role(\"cross_account_role\",\n name=f\"{prefix}-crossaccount\",\n assume_role_policy=this.json,\n tags=tags)\nthis_get_aws_cross_account_policy = databricks.get_aws_cross_account_policy()\nthis_role_policy = aws.iam.RolePolicy(\"this\",\n name=f\"{prefix}-policy\",\n role=cross_account_role.id,\n policy=this_get_aws_cross_account_policy.json)\nthis_mws_credentials = databricks.MwsCredentials(\"this\",\n account_id=databricks_account_id,\n credentials_name=f\"{prefix}-creds\",\n role_arn=cross_account_role.arn)\nroot_storage_bucket = aws.s3.BucketV2(\"root_storage_bucket\",\n bucket=f\"{prefix}-rootbucket\",\n acl=\"private\",\n force_destroy=True,\n tags=tags)\nroot_versioning = aws.s3.BucketVersioningV2(\"root_versioning\",\n bucket=root_storage_bucket.id,\n versioning_configuration={\n \"status\": \"Disabled\",\n })\nroot_storage_bucket_bucket_server_side_encryption_configuration_v2 = aws.s3.BucketServerSideEncryptionConfigurationV2(\"root_storage_bucket\",\n bucket=root_storage_bucket.bucket,\n rules=[{\n \"apply_server_side_encryption_by_default\": {\n \"sse_algorithm\": \"AES256\",\n },\n }])\nroot_storage_bucket_bucket_public_access_block = aws.s3.BucketPublicAccessBlock(\"root_storage_bucket\",\n bucket=root_storage_bucket.id,\n block_public_acls=True,\n block_public_policy=True,\n ignore_public_acls=True,\n restrict_public_buckets=True,\n opts = pulumi.ResourceOptions(depends_on=[root_storage_bucket]))\nthis_get_aws_bucket_policy = databricks.get_aws_bucket_policy_output(bucket=root_storage_bucket.bucket)\nroot_bucket_policy = aws.s3.BucketPolicy(\"root_bucket_policy\",\n bucket=root_storage_bucket.id,\n policy=this_get_aws_bucket_policy.json,\n opts = pulumi.ResourceOptions(depends_on=[root_storage_bucket_bucket_public_access_block]))\nthis_mws_storage_configurations = databricks.MwsStorageConfigurations(\"this\",\n account_id=databricks_account_id,\n storage_configuration_name=f\"{prefix}-storage\",\n bucket_name=root_storage_bucket.bucket)\nthis_mws_workspaces = databricks.MwsWorkspaces(\"this\",\n account_id=databricks_account_id,\n workspace_name=prefix,\n aws_region=\"us-east-1\",\n credentials_id=this_mws_credentials.credentials_id,\n storage_configuration_id=this_mws_storage_configurations.storage_configuration_id,\n token={},\n custom_tags={\n \"SoldToCode\": \"1234\",\n })\npulumi.export(\"databricksToken\", this_mws_workspaces.token.token_value)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var naming = new Random.Index.String(\"naming\", new()\n {\n Special = false,\n Upper = false,\n Length = 6,\n });\n\n var prefix = $\"dltp{naming.Result}\";\n\n var @this = Databricks.GetAwsAssumeRolePolicy.Invoke(new()\n {\n ExternalId = databricksAccountId,\n });\n\n var crossAccountRole = new Aws.Iam.Role(\"cross_account_role\", new()\n {\n Name = $\"{prefix}-crossaccount\",\n AssumeRolePolicy = @this.Apply(@this =\u003e @this.Apply(getAwsAssumeRolePolicyResult =\u003e getAwsAssumeRolePolicyResult.Json)),\n Tags = tags,\n });\n\n var thisGetAwsCrossAccountPolicy = Databricks.GetAwsCrossAccountPolicy.Invoke();\n\n var thisRolePolicy = new Aws.Iam.RolePolicy(\"this\", new()\n {\n Name = $\"{prefix}-policy\",\n Role = crossAccountRole.Id,\n Policy = thisGetAwsCrossAccountPolicy.Apply(getAwsCrossAccountPolicyResult =\u003e getAwsCrossAccountPolicyResult.Json),\n });\n\n var thisMwsCredentials = new Databricks.MwsCredentials(\"this\", new()\n {\n AccountId = databricksAccountId,\n CredentialsName = $\"{prefix}-creds\",\n RoleArn = crossAccountRole.Arn,\n });\n\n var rootStorageBucket = new Aws.S3.BucketV2(\"root_storage_bucket\", new()\n {\n Bucket = $\"{prefix}-rootbucket\",\n Acl = \"private\",\n ForceDestroy = true,\n Tags = tags,\n });\n\n var rootVersioning = new Aws.S3.BucketVersioningV2(\"root_versioning\", new()\n {\n Bucket = rootStorageBucket.Id,\n VersioningConfiguration = new Aws.S3.Inputs.BucketVersioningV2VersioningConfigurationArgs\n {\n Status = \"Disabled\",\n },\n });\n\n var rootStorageBucketBucketServerSideEncryptionConfigurationV2 = new Aws.S3.BucketServerSideEncryptionConfigurationV2(\"root_storage_bucket\", new()\n {\n Bucket = rootStorageBucket.Bucket,\n Rules = new[]\n {\n new Aws.S3.Inputs.BucketServerSideEncryptionConfigurationV2RuleArgs\n {\n ApplyServerSideEncryptionByDefault = new Aws.S3.Inputs.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs\n {\n SseAlgorithm = \"AES256\",\n },\n },\n },\n });\n\n var rootStorageBucketBucketPublicAccessBlock = new Aws.S3.BucketPublicAccessBlock(\"root_storage_bucket\", new()\n {\n Bucket = rootStorageBucket.Id,\n BlockPublicAcls = true,\n BlockPublicPolicy = true,\n IgnorePublicAcls = true,\n RestrictPublicBuckets = true,\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n rootStorageBucket,\n },\n });\n\n var thisGetAwsBucketPolicy = Databricks.GetAwsBucketPolicy.Invoke(new()\n {\n Bucket = rootStorageBucket.Bucket,\n });\n\n var rootBucketPolicy = new Aws.S3.BucketPolicy(\"root_bucket_policy\", new()\n {\n Bucket = rootStorageBucket.Id,\n Policy = thisGetAwsBucketPolicy.Apply(getAwsBucketPolicyResult =\u003e getAwsBucketPolicyResult.Json),\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n rootStorageBucketBucketPublicAccessBlock,\n },\n });\n\n var thisMwsStorageConfigurations = new Databricks.MwsStorageConfigurations(\"this\", new()\n {\n AccountId = databricksAccountId,\n StorageConfigurationName = $\"{prefix}-storage\",\n BucketName = rootStorageBucket.Bucket,\n });\n\n var thisMwsWorkspaces = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AccountId = databricksAccountId,\n WorkspaceName = prefix,\n AwsRegion = \"us-east-1\",\n CredentialsId = thisMwsCredentials.CredentialsId,\n StorageConfigurationId = thisMwsStorageConfigurations.StorageConfigurationId,\n Token = null,\n CustomTags = \n {\n { \"SoldToCode\", \"1234\" },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databricksToken\"] = thisMwsWorkspaces.Token.Apply(token =\u003e token?.TokenValue),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tnaming, err := random.NewString(ctx, \"naming\", \u0026random.StringArgs{\n\t\t\tSpecial: false,\n\t\t\tUpper: false,\n\t\t\tLength: 6,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tprefix := fmt.Sprintf(\"dltp%v\", naming.Result)\n\t\tthis, err := databricks.GetAwsAssumeRolePolicy(ctx, \u0026databricks.GetAwsAssumeRolePolicyArgs{\n\t\t\tExternalId: databricksAccountId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcrossAccountRole, err := iam.NewRole(ctx, \"cross_account_role\", \u0026iam.RoleArgs{\n\t\t\tName: pulumi.Sprintf(\"%v-crossaccount\", prefix),\n\t\t\tAssumeRolePolicy: pulumi.String(this.Json),\n\t\t\tTags: pulumi.Any(tags),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisGetAwsCrossAccountPolicy, err := databricks.GetAwsCrossAccountPolicy(ctx, \u0026databricks.GetAwsCrossAccountPolicyArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = iam.NewRolePolicy(ctx, \"this\", \u0026iam.RolePolicyArgs{\n\t\t\tName: pulumi.Sprintf(\"%v-policy\", prefix),\n\t\t\tRole: crossAccountRole.ID(),\n\t\t\tPolicy: pulumi.String(thisGetAwsCrossAccountPolicy.Json),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisMwsCredentials, err := databricks.NewMwsCredentials(ctx, \"this\", \u0026databricks.MwsCredentialsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tCredentialsName: pulumi.Sprintf(\"%v-creds\", prefix),\n\t\t\tRoleArn: crossAccountRole.Arn,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootStorageBucket, err := s3.NewBucketV2(ctx, \"root_storage_bucket\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.Sprintf(\"%v-rootbucket\", prefix),\n\t\t\tAcl: pulumi.String(\"private\"),\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tTags: pulumi.Any(tags),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3.NewBucketVersioningV2(ctx, \"root_versioning\", \u0026s3.BucketVersioningV2Args{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tVersioningConfiguration: \u0026s3.BucketVersioningV2VersioningConfigurationArgs{\n\t\t\t\tStatus: pulumi.String(\"Disabled\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3.NewBucketServerSideEncryptionConfigurationV2(ctx, \"root_storage_bucket\", \u0026s3.BucketServerSideEncryptionConfigurationV2Args{\n\t\t\tBucket: rootStorageBucket.Bucket,\n\t\t\tRules: s3.BucketServerSideEncryptionConfigurationV2RuleArray{\n\t\t\t\t\u0026s3.BucketServerSideEncryptionConfigurationV2RuleArgs{\n\t\t\t\t\tApplyServerSideEncryptionByDefault: \u0026s3.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs{\n\t\t\t\t\t\tSseAlgorithm: pulumi.String(\"AES256\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootStorageBucketBucketPublicAccessBlock, err := s3.NewBucketPublicAccessBlock(ctx, \"root_storage_bucket\", \u0026s3.BucketPublicAccessBlockArgs{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tBlockPublicAcls: pulumi.Bool(true),\n\t\t\tBlockPublicPolicy: pulumi.Bool(true),\n\t\t\tIgnorePublicAcls: pulumi.Bool(true),\n\t\t\tRestrictPublicBuckets: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootStorageBucket,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisGetAwsBucketPolicy := databricks.GetAwsBucketPolicyOutput(ctx, databricks.GetAwsBucketPolicyOutputArgs{\n\t\t\tBucket: rootStorageBucket.Bucket,\n\t\t}, nil)\n\t\t_, err = s3.NewBucketPolicy(ctx, \"root_bucket_policy\", \u0026s3.BucketPolicyArgs{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tPolicy: pulumi.String(thisGetAwsBucketPolicy.ApplyT(func(thisGetAwsBucketPolicy databricks.GetAwsBucketPolicyResult) (*string, error) {\n\t\t\t\treturn \u0026thisGetAwsBucketPolicy.Json, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootStorageBucketBucketPublicAccessBlock,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisMwsStorageConfigurations, err := databricks.NewMwsStorageConfigurations(ctx, \"this\", \u0026databricks.MwsStorageConfigurationsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tStorageConfigurationName: pulumi.Sprintf(\"%v-storage\", prefix),\n\t\t\tBucketName: rootStorageBucket.Bucket,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisMwsWorkspaces, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tWorkspaceName: pulumi.String(prefix),\n\t\t\tAwsRegion: pulumi.String(\"us-east-1\"),\n\t\t\tCredentialsId: thisMwsCredentials.CredentialsId,\n\t\t\tStorageConfigurationId: thisMwsStorageConfigurations.StorageConfigurationId,\n\t\t\tToken: \u0026databricks.MwsWorkspacesTokenArgs{},\n\t\t\tCustomTags: pulumi.StringMap{\n\t\t\t\t\"SoldToCode\": pulumi.String(\"1234\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databricksToken\", thisMwsWorkspaces.Token.ApplyT(func(token databricks.MwsWorkspacesToken) (*string, error) {\n\t\t\treturn \u0026token.TokenValue, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.string;\nimport com.pulumi.random.StringArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;\nimport com.pulumi.aws.iam.Role;\nimport com.pulumi.aws.iam.RoleArgs;\nimport com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;\nimport com.pulumi.aws.iam.RolePolicy;\nimport com.pulumi.aws.iam.RolePolicyArgs;\nimport com.pulumi.databricks.MwsCredentials;\nimport com.pulumi.databricks.MwsCredentialsArgs;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketVersioningV2;\nimport com.pulumi.aws.s3.BucketVersioningV2Args;\nimport com.pulumi.aws.s3.inputs.BucketVersioningV2VersioningConfigurationArgs;\nimport com.pulumi.aws.s3.BucketServerSideEncryptionConfigurationV2;\nimport com.pulumi.aws.s3.BucketServerSideEncryptionConfigurationV2Args;\nimport com.pulumi.aws.s3.inputs.BucketServerSideEncryptionConfigurationV2RuleArgs;\nimport com.pulumi.aws.s3.inputs.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs;\nimport com.pulumi.aws.s3.BucketPublicAccessBlock;\nimport com.pulumi.aws.s3.BucketPublicAccessBlockArgs;\nimport com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs;\nimport com.pulumi.aws.s3.BucketPolicy;\nimport com.pulumi.aws.s3.BucketPolicyArgs;\nimport com.pulumi.databricks.MwsStorageConfigurations;\nimport com.pulumi.databricks.MwsStorageConfigurationsArgs;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesTokenArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n var naming = new String(\"naming\", StringArgs.builder()\n .special(false)\n .upper(false)\n .length(6)\n .build());\n\n final var prefix = String.format(\"dltp%s\", naming.result());\n\n final var this = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()\n .externalId(databricksAccountId)\n .build());\n\n var crossAccountRole = new Role(\"crossAccountRole\", RoleArgs.builder()\n .name(String.format(\"%s-crossaccount\", prefix))\n .assumeRolePolicy(this_.json())\n .tags(tags)\n .build());\n\n final var thisGetAwsCrossAccountPolicy = DatabricksFunctions.getAwsCrossAccountPolicy();\n\n var thisRolePolicy = new RolePolicy(\"thisRolePolicy\", RolePolicyArgs.builder()\n .name(String.format(\"%s-policy\", prefix))\n .role(crossAccountRole.id())\n .policy(thisGetAwsCrossAccountPolicy.applyValue(getAwsCrossAccountPolicyResult -\u003e getAwsCrossAccountPolicyResult.json()))\n .build());\n\n var thisMwsCredentials = new MwsCredentials(\"thisMwsCredentials\", MwsCredentialsArgs.builder()\n .accountId(databricksAccountId)\n .credentialsName(String.format(\"%s-creds\", prefix))\n .roleArn(crossAccountRole.arn())\n .build());\n\n var rootStorageBucket = new BucketV2(\"rootStorageBucket\", BucketV2Args.builder()\n .bucket(String.format(\"%s-rootbucket\", prefix))\n .acl(\"private\")\n .forceDestroy(true)\n .tags(tags)\n .build());\n\n var rootVersioning = new BucketVersioningV2(\"rootVersioning\", BucketVersioningV2Args.builder()\n .bucket(rootStorageBucket.id())\n .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()\n .status(\"Disabled\")\n .build())\n .build());\n\n var rootStorageBucketBucketServerSideEncryptionConfigurationV2 = new BucketServerSideEncryptionConfigurationV2(\"rootStorageBucketBucketServerSideEncryptionConfigurationV2\", BucketServerSideEncryptionConfigurationV2Args.builder()\n .bucket(rootStorageBucket.bucket())\n .rules(BucketServerSideEncryptionConfigurationV2RuleArgs.builder()\n .applyServerSideEncryptionByDefault(BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs.builder()\n .sseAlgorithm(\"AES256\")\n .build())\n .build())\n .build());\n\n var rootStorageBucketBucketPublicAccessBlock = new BucketPublicAccessBlock(\"rootStorageBucketBucketPublicAccessBlock\", BucketPublicAccessBlockArgs.builder()\n .bucket(rootStorageBucket.id())\n .blockPublicAcls(true)\n .blockPublicPolicy(true)\n .ignorePublicAcls(true)\n .restrictPublicBuckets(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn(rootStorageBucket)\n .build());\n\n final var thisGetAwsBucketPolicy = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder()\n .bucket(rootStorageBucket.bucket())\n .build());\n\n var rootBucketPolicy = new BucketPolicy(\"rootBucketPolicy\", BucketPolicyArgs.builder()\n .bucket(rootStorageBucket.id())\n .policy(thisGetAwsBucketPolicy.applyValue(getAwsBucketPolicyResult -\u003e getAwsBucketPolicyResult).applyValue(thisGetAwsBucketPolicy -\u003e thisGetAwsBucketPolicy.applyValue(getAwsBucketPolicyResult -\u003e getAwsBucketPolicyResult.json())))\n .build(), CustomResourceOptions.builder()\n .dependsOn(rootStorageBucketBucketPublicAccessBlock)\n .build());\n\n var thisMwsStorageConfigurations = new MwsStorageConfigurations(\"thisMwsStorageConfigurations\", MwsStorageConfigurationsArgs.builder()\n .accountId(databricksAccountId)\n .storageConfigurationName(String.format(\"%s-storage\", prefix))\n .bucketName(rootStorageBucket.bucket())\n .build());\n\n var thisMwsWorkspaces = new MwsWorkspaces(\"thisMwsWorkspaces\", MwsWorkspacesArgs.builder()\n .accountId(databricksAccountId)\n .workspaceName(prefix)\n .awsRegion(\"us-east-1\")\n .credentialsId(thisMwsCredentials.credentialsId())\n .storageConfigurationId(thisMwsStorageConfigurations.storageConfigurationId())\n .token()\n .customTags(Map.of(\"SoldToCode\", \"1234\"))\n .build());\n\n ctx.export(\"databricksToken\", thisMwsWorkspaces.token().applyValue(token -\u003e token.tokenValue()));\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n naming:\n type: random:string\n properties:\n special: false\n upper: false\n length: 6\n crossAccountRole:\n type: aws:iam:Role\n name: cross_account_role\n properties:\n name: ${prefix}-crossaccount\n assumeRolePolicy: ${this.json}\n tags: ${tags}\n thisRolePolicy:\n type: aws:iam:RolePolicy\n name: this\n properties:\n name: ${prefix}-policy\n role: ${crossAccountRole.id}\n policy: ${thisGetAwsCrossAccountPolicy.json}\n thisMwsCredentials:\n type: databricks:MwsCredentials\n name: this\n properties:\n accountId: ${databricksAccountId}\n credentialsName: ${prefix}-creds\n roleArn: ${crossAccountRole.arn}\n rootStorageBucket:\n type: aws:s3:BucketV2\n name: root_storage_bucket\n properties:\n bucket: ${prefix}-rootbucket\n acl: private\n forceDestroy: true\n tags: ${tags}\n rootVersioning:\n type: aws:s3:BucketVersioningV2\n name: root_versioning\n properties:\n bucket: ${rootStorageBucket.id}\n versioningConfiguration:\n status: Disabled\n rootStorageBucketBucketServerSideEncryptionConfigurationV2:\n type: aws:s3:BucketServerSideEncryptionConfigurationV2\n name: root_storage_bucket\n properties:\n bucket: ${rootStorageBucket.bucket}\n rules:\n - applyServerSideEncryptionByDefault:\n sseAlgorithm: AES256\n rootStorageBucketBucketPublicAccessBlock:\n type: aws:s3:BucketPublicAccessBlock\n name: root_storage_bucket\n properties:\n bucket: ${rootStorageBucket.id}\n blockPublicAcls: true\n blockPublicPolicy: true\n ignorePublicAcls: true\n restrictPublicBuckets: true\n options:\n dependsOn:\n - ${rootStorageBucket}\n rootBucketPolicy:\n type: aws:s3:BucketPolicy\n name: root_bucket_policy\n properties:\n bucket: ${rootStorageBucket.id}\n policy: ${thisGetAwsBucketPolicy.json}\n options:\n dependsOn:\n - ${rootStorageBucketBucketPublicAccessBlock}\n thisMwsStorageConfigurations:\n type: databricks:MwsStorageConfigurations\n name: this\n properties:\n accountId: ${databricksAccountId}\n storageConfigurationName: ${prefix}-storage\n bucketName: ${rootStorageBucket.bucket}\n thisMwsWorkspaces:\n type: databricks:MwsWorkspaces\n name: this\n properties:\n accountId: ${databricksAccountId}\n workspaceName: ${prefix}\n awsRegion: us-east-1\n credentialsId: ${thisMwsCredentials.credentialsId}\n storageConfigurationId: ${thisMwsStorageConfigurations.storageConfigurationId}\n token: {}\n customTags:\n SoldToCode: '1234'\nvariables:\n prefix: dltp${naming.result}\n this:\n fn::invoke:\n function: databricks:getAwsAssumeRolePolicy\n arguments:\n externalId: ${databricksAccountId}\n thisGetAwsCrossAccountPolicy:\n fn::invoke:\n function: databricks:getAwsCrossAccountPolicy\n arguments: {}\n thisGetAwsBucketPolicy:\n fn::invoke:\n function: databricks:getAwsBucketPolicy\n arguments:\n bucket: ${rootStorageBucket.bucket}\noutputs:\n databricksToken: ${thisMwsWorkspaces.token.tokenValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nIn order to create a [Databricks Workspace that leverages AWS PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) please ensure that you have read and understood the [Enable Private Link](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks.\n\n### Creating a Databricks on GCP workspace\n\nTo get workspace running, you have to configure a network object:\n\n* databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst databricksGoogleServiceAccount = config.requireObject(\"databricksGoogleServiceAccount\");\nconst googleProject = config.requireObject(\"googleProject\");\n// register VPC\nconst _this = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `${prefix}-network`,\n gcpNetworkInfo: {\n networkProjectId: googleProject,\n vpcId: vpcId,\n subnetId: subnetId,\n subnetRegion: subnetRegion,\n podIpRangeName: \"pods\",\n serviceIpRangeName: \"svc\",\n },\n});\n// create workspace in given VPC\nconst thisMwsWorkspaces = new databricks.MwsWorkspaces(\"this\", {\n accountId: databricksAccountId,\n workspaceName: prefix,\n location: subnetRegion,\n cloudResourceContainer: {\n gcp: {\n projectId: googleProject,\n },\n },\n networkId: _this.networkId,\n gkeConfig: {\n connectivityType: \"PRIVATE_NODE_PUBLIC_MASTER\",\n masterIpRange: \"10.3.0.0/28\",\n },\n token: {},\n});\nexport const databricksToken = thisMwsWorkspaces.token.apply(token =\u003e token?.tokenValue);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\ndatabricks_google_service_account = config.require_object(\"databricksGoogleServiceAccount\")\ngoogle_project = config.require_object(\"googleProject\")\n# register VPC\nthis = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"{prefix}-network\",\n gcp_network_info={\n \"network_project_id\": google_project,\n \"vpc_id\": vpc_id,\n \"subnet_id\": subnet_id,\n \"subnet_region\": subnet_region,\n \"pod_ip_range_name\": \"pods\",\n \"service_ip_range_name\": \"svc\",\n })\n# create workspace in given VPC\nthis_mws_workspaces = databricks.MwsWorkspaces(\"this\",\n account_id=databricks_account_id,\n workspace_name=prefix,\n location=subnet_region,\n cloud_resource_container={\n \"gcp\": {\n \"project_id\": google_project,\n },\n },\n network_id=this.network_id,\n gke_config={\n \"connectivity_type\": \"PRIVATE_NODE_PUBLIC_MASTER\",\n \"master_ip_range\": \"10.3.0.0/28\",\n },\n token={})\npulumi.export(\"databricksToken\", this_mws_workspaces.token.token_value)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var databricksGoogleServiceAccount = config.RequireObject\u003cdynamic\u003e(\"databricksGoogleServiceAccount\");\n var googleProject = config.RequireObject\u003cdynamic\u003e(\"googleProject\");\n // register VPC\n var @this = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"{prefix}-network\",\n GcpNetworkInfo = new Databricks.Inputs.MwsNetworksGcpNetworkInfoArgs\n {\n NetworkProjectId = googleProject,\n VpcId = vpcId,\n SubnetId = subnetId,\n SubnetRegion = subnetRegion,\n PodIpRangeName = \"pods\",\n ServiceIpRangeName = \"svc\",\n },\n });\n\n // create workspace in given VPC\n var thisMwsWorkspaces = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AccountId = databricksAccountId,\n WorkspaceName = prefix,\n Location = subnetRegion,\n CloudResourceContainer = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerArgs\n {\n Gcp = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerGcpArgs\n {\n ProjectId = googleProject,\n },\n },\n NetworkId = @this.NetworkId,\n GkeConfig = new Databricks.Inputs.MwsWorkspacesGkeConfigArgs\n {\n ConnectivityType = \"PRIVATE_NODE_PUBLIC_MASTER\",\n MasterIpRange = \"10.3.0.0/28\",\n },\n Token = null,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databricksToken\"] = thisMwsWorkspaces.Token.Apply(token =\u003e token?.TokenValue),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tdatabricksGoogleServiceAccount := cfg.RequireObject(\"databricksGoogleServiceAccount\")\n\t\tgoogleProject := cfg.RequireObject(\"googleProject\")\n\t\t// register VPC\n\t\tthis, err := databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"%v-network\", prefix),\n\t\t\tGcpNetworkInfo: \u0026databricks.MwsNetworksGcpNetworkInfoArgs{\n\t\t\t\tNetworkProjectId: pulumi.Any(googleProject),\n\t\t\t\tVpcId: pulumi.Any(vpcId),\n\t\t\t\tSubnetId: pulumi.Any(subnetId),\n\t\t\t\tSubnetRegion: pulumi.Any(subnetRegion),\n\t\t\t\tPodIpRangeName: pulumi.String(\"pods\"),\n\t\t\t\tServiceIpRangeName: pulumi.String(\"svc\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create workspace in given VPC\n\t\tthisMwsWorkspaces, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tWorkspaceName: pulumi.Any(prefix),\n\t\t\tLocation: pulumi.Any(subnetRegion),\n\t\t\tCloudResourceContainer: \u0026databricks.MwsWorkspacesCloudResourceContainerArgs{\n\t\t\t\tGcp: \u0026databricks.MwsWorkspacesCloudResourceContainerGcpArgs{\n\t\t\t\t\tProjectId: pulumi.Any(googleProject),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkId: this.NetworkId,\n\t\t\tGkeConfig: \u0026databricks.MwsWorkspacesGkeConfigArgs{\n\t\t\t\tConnectivityType: pulumi.String(\"PRIVATE_NODE_PUBLIC_MASTER\"),\n\t\t\t\tMasterIpRange: pulumi.String(\"10.3.0.0/28\"),\n\t\t\t},\n\t\t\tToken: \u0026databricks.MwsWorkspacesTokenArgs{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databricksToken\", thisMwsWorkspaces.Token.ApplyT(func(token databricks.MwsWorkspacesToken) (*string, error) {\n\t\t\treturn \u0026token.TokenValue, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksGcpNetworkInfoArgs;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerGcpArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesGkeConfigArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var databricksGoogleServiceAccount = config.get(\"databricksGoogleServiceAccount\");\n final var googleProject = config.get(\"googleProject\");\n // register VPC\n var this_ = new MwsNetworks(\"this\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"%s-network\", prefix))\n .gcpNetworkInfo(MwsNetworksGcpNetworkInfoArgs.builder()\n .networkProjectId(googleProject)\n .vpcId(vpcId)\n .subnetId(subnetId)\n .subnetRegion(subnetRegion)\n .podIpRangeName(\"pods\")\n .serviceIpRangeName(\"svc\")\n .build())\n .build());\n\n // create workspace in given VPC\n var thisMwsWorkspaces = new MwsWorkspaces(\"thisMwsWorkspaces\", MwsWorkspacesArgs.builder()\n .accountId(databricksAccountId)\n .workspaceName(prefix)\n .location(subnetRegion)\n .cloudResourceContainer(MwsWorkspacesCloudResourceContainerArgs.builder()\n .gcp(MwsWorkspacesCloudResourceContainerGcpArgs.builder()\n .projectId(googleProject)\n .build())\n .build())\n .networkId(this_.networkId())\n .gkeConfig(MwsWorkspacesGkeConfigArgs.builder()\n .connectivityType(\"PRIVATE_NODE_PUBLIC_MASTER\")\n .masterIpRange(\"10.3.0.0/28\")\n .build())\n .token()\n .build());\n\n ctx.export(\"databricksToken\", thisMwsWorkspaces.token().applyValue(token -\u003e token.tokenValue()));\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n databricksGoogleServiceAccount:\n type: dynamic\n googleProject:\n type: dynamic\nresources:\n # register VPC\n this:\n type: databricks:MwsNetworks\n properties:\n accountId: ${databricksAccountId}\n networkName: ${prefix}-network\n gcpNetworkInfo:\n networkProjectId: ${googleProject}\n vpcId: ${vpcId}\n subnetId: ${subnetId}\n subnetRegion: ${subnetRegion}\n podIpRangeName: pods\n serviceIpRangeName: svc\n # create workspace in given VPC\n thisMwsWorkspaces:\n type: databricks:MwsWorkspaces\n name: this\n properties:\n accountId: ${databricksAccountId}\n workspaceName: ${prefix}\n location: ${subnetRegion}\n cloudResourceContainer:\n gcp:\n projectId: ${googleProject}\n networkId: ${this.networkId}\n gkeConfig:\n connectivityType: PRIVATE_NODE_PUBLIC_MASTER\n masterIpRange: 10.3.0.0/28\n token: {}\noutputs:\n databricksToken: ${thisMwsWorkspaces.token.tokenValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nIn order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks.\n\n", + "description": "## Example Usage\n\n### Creating a Databricks on AWS workspace\n\n!Simplest multiworkspace\n\nTo get workspace running, you have to configure a couple of things:\n\n* databricks.MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace.\n* databricks.MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace.\n* databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces.\n* databricks.MwsCustomerManagedKeys - You can share a customer-managed key across workspaces.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\n// register cross-account ARN\nconst _this = new databricks.MwsCredentials(\"this\", {\n accountId: databricksAccountId,\n credentialsName: `${prefix}-creds`,\n roleArn: crossaccountArn,\n});\n// register root bucket\nconst thisMwsStorageConfigurations = new databricks.MwsStorageConfigurations(\"this\", {\n accountId: databricksAccountId,\n storageConfigurationName: `${prefix}-storage`,\n bucketName: rootBucket,\n});\n// register VPC\nconst thisMwsNetworks = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `${prefix}-network`,\n vpcId: vpcId,\n subnetIds: subnetsPrivate,\n securityGroupIds: [securityGroup],\n});\n// create workspace in given VPC with DBFS on root bucket\nconst thisMwsWorkspaces = new databricks.MwsWorkspaces(\"this\", {\n accountId: databricksAccountId,\n workspaceName: prefix,\n awsRegion: region,\n credentialsId: _this.credentialsId,\n storageConfigurationId: thisMwsStorageConfigurations.storageConfigurationId,\n networkId: thisMwsNetworks.networkId,\n token: {},\n});\nexport const databricksToken = thisMwsWorkspaces.token.apply(token =\u003e token?.tokenValue);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\n# register cross-account ARN\nthis = databricks.MwsCredentials(\"this\",\n account_id=databricks_account_id,\n credentials_name=f\"{prefix}-creds\",\n role_arn=crossaccount_arn)\n# register root bucket\nthis_mws_storage_configurations = databricks.MwsStorageConfigurations(\"this\",\n account_id=databricks_account_id,\n storage_configuration_name=f\"{prefix}-storage\",\n bucket_name=root_bucket)\n# register VPC\nthis_mws_networks = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"{prefix}-network\",\n vpc_id=vpc_id,\n subnet_ids=subnets_private,\n security_group_ids=[security_group])\n# create workspace in given VPC with DBFS on root bucket\nthis_mws_workspaces = databricks.MwsWorkspaces(\"this\",\n account_id=databricks_account_id,\n workspace_name=prefix,\n aws_region=region,\n credentials_id=this.credentials_id,\n storage_configuration_id=this_mws_storage_configurations.storage_configuration_id,\n network_id=this_mws_networks.network_id,\n token={})\npulumi.export(\"databricksToken\", this_mws_workspaces.token.token_value)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n // register cross-account ARN\n var @this = new Databricks.MwsCredentials(\"this\", new()\n {\n AccountId = databricksAccountId,\n CredentialsName = $\"{prefix}-creds\",\n RoleArn = crossaccountArn,\n });\n\n // register root bucket\n var thisMwsStorageConfigurations = new Databricks.MwsStorageConfigurations(\"this\", new()\n {\n AccountId = databricksAccountId,\n StorageConfigurationName = $\"{prefix}-storage\",\n BucketName = rootBucket,\n });\n\n // register VPC\n var thisMwsNetworks = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"{prefix}-network\",\n VpcId = vpcId,\n SubnetIds = subnetsPrivate,\n SecurityGroupIds = new[]\n {\n securityGroup,\n },\n });\n\n // create workspace in given VPC with DBFS on root bucket\n var thisMwsWorkspaces = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AccountId = databricksAccountId,\n WorkspaceName = prefix,\n AwsRegion = region,\n CredentialsId = @this.CredentialsId,\n StorageConfigurationId = thisMwsStorageConfigurations.StorageConfigurationId,\n NetworkId = thisMwsNetworks.NetworkId,\n Token = null,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databricksToken\"] = thisMwsWorkspaces.Token.Apply(token =\u003e token?.TokenValue),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account ID that can be found in the dropdown under the email address in the upper-right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\t// register cross-account ARN\n\t\tthis, err := databricks.NewMwsCredentials(ctx, \"this\", \u0026databricks.MwsCredentialsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tCredentialsName: pulumi.Sprintf(\"%v-creds\", prefix),\n\t\t\tRoleArn: pulumi.Any(crossaccountArn),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// register root bucket\n\t\tthisMwsStorageConfigurations, err := databricks.NewMwsStorageConfigurations(ctx, \"this\", \u0026databricks.MwsStorageConfigurationsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tStorageConfigurationName: pulumi.Sprintf(\"%v-storage\", prefix),\n\t\t\tBucketName: pulumi.Any(rootBucket),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// register VPC\n\t\tthisMwsNetworks, err := databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"%v-network\", prefix),\n\t\t\tVpcId: pulumi.Any(vpcId),\n\t\t\tSubnetIds: pulumi.Any(subnetsPrivate),\n\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\tsecurityGroup,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create workspace in given VPC with DBFS on root bucket\n\t\tthisMwsWorkspaces, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tWorkspaceName: pulumi.Any(prefix),\n\t\t\tAwsRegion: pulumi.Any(region),\n\t\t\tCredentialsId: this.CredentialsId,\n\t\t\tStorageConfigurationId: thisMwsStorageConfigurations.StorageConfigurationId,\n\t\t\tNetworkId: thisMwsNetworks.NetworkId,\n\t\t\tToken: \u0026databricks.MwsWorkspacesTokenArgs{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databricksToken\", thisMwsWorkspaces.Token.ApplyT(func(token databricks.MwsWorkspacesToken) (*string, error) {\n\t\t\treturn \u0026token.TokenValue, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsCredentials;\nimport com.pulumi.databricks.MwsCredentialsArgs;\nimport com.pulumi.databricks.MwsStorageConfigurations;\nimport com.pulumi.databricks.MwsStorageConfigurationsArgs;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n // register cross-account ARN\n var this_ = new MwsCredentials(\"this\", MwsCredentialsArgs.builder()\n .accountId(databricksAccountId)\n .credentialsName(String.format(\"%s-creds\", prefix))\n .roleArn(crossaccountArn)\n .build());\n\n // register root bucket\n var thisMwsStorageConfigurations = new MwsStorageConfigurations(\"thisMwsStorageConfigurations\", MwsStorageConfigurationsArgs.builder()\n .accountId(databricksAccountId)\n .storageConfigurationName(String.format(\"%s-storage\", prefix))\n .bucketName(rootBucket)\n .build());\n\n // register VPC\n var thisMwsNetworks = new MwsNetworks(\"thisMwsNetworks\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"%s-network\", prefix))\n .vpcId(vpcId)\n .subnetIds(subnetsPrivate)\n .securityGroupIds(securityGroup)\n .build());\n\n // create workspace in given VPC with DBFS on root bucket\n var thisMwsWorkspaces = new MwsWorkspaces(\"thisMwsWorkspaces\", MwsWorkspacesArgs.builder()\n .accountId(databricksAccountId)\n .workspaceName(prefix)\n .awsRegion(region)\n .credentialsId(this_.credentialsId())\n .storageConfigurationId(thisMwsStorageConfigurations.storageConfigurationId())\n .networkId(thisMwsNetworks.networkId())\n .token()\n .build());\n\n ctx.export(\"databricksToken\", thisMwsWorkspaces.token().applyValue(token -\u003e token.tokenValue()));\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n # register cross-account ARN\n this:\n type: databricks:MwsCredentials\n properties:\n accountId: ${databricksAccountId}\n credentialsName: ${prefix}-creds\n roleArn: ${crossaccountArn}\n # register root bucket\n thisMwsStorageConfigurations:\n type: databricks:MwsStorageConfigurations\n name: this\n properties:\n accountId: ${databricksAccountId}\n storageConfigurationName: ${prefix}-storage\n bucketName: ${rootBucket}\n # register VPC\n thisMwsNetworks:\n type: databricks:MwsNetworks\n name: this\n properties:\n accountId: ${databricksAccountId}\n networkName: ${prefix}-network\n vpcId: ${vpcId}\n subnetIds: ${subnetsPrivate}\n securityGroupIds:\n - ${securityGroup}\n # create workspace in given VPC with DBFS on root bucket\n thisMwsWorkspaces:\n type: databricks:MwsWorkspaces\n name: this\n properties:\n accountId: ${databricksAccountId}\n workspaceName: ${prefix}\n awsRegion: ${region}\n credentialsId: ${this.credentialsId}\n storageConfigurationId: ${thisMwsStorageConfigurations.storageConfigurationId}\n networkId: ${thisMwsNetworks.networkId}\n token: {}\noutputs:\n databricksToken: ${thisMwsWorkspaces.token.tokenValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Creating a Databricks on AWS workspace with Databricks-Managed VPC\n\n![VPCs](https://docs.databricks.com/_images/customer-managed-vpc.png)\n\nBy default, Databricks creates a VPC in your AWS account for each workspace. Databricks uses it for running clusters in the workspace. Optionally, you can use your VPC for the workspace, using the feature customer-managed VPC. Databricks recommends that you provide your VPC with databricks.MwsNetworks so that you can configure it according to your organization’s enterprise cloud standards while still conforming to Databricks requirements. You cannot migrate an existing workspace to your VPC. Please see the difference described through IAM policy actions [on this page](https://docs.databricks.com/administration-guide/account-api/iam-role.html).\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as random from \"@pulumi/random\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst naming = new random.index.String(\"naming\", {\n special: false,\n upper: false,\n length: 6,\n});\nconst prefix = `dltp${naming.result}`;\nconst this = databricks.getAwsAssumeRolePolicy({\n externalId: databricksAccountId,\n});\nconst crossAccountRole = new aws.iam.Role(\"cross_account_role\", {\n name: `${prefix}-crossaccount`,\n assumeRolePolicy: _this.then(_this =\u003e _this.json),\n tags: tags,\n});\nconst thisGetAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});\nconst thisRolePolicy = new aws.iam.RolePolicy(\"this\", {\n name: `${prefix}-policy`,\n role: crossAccountRole.id,\n policy: thisGetAwsCrossAccountPolicy.then(thisGetAwsCrossAccountPolicy =\u003e thisGetAwsCrossAccountPolicy.json),\n});\nconst thisMwsCredentials = new databricks.MwsCredentials(\"this\", {\n accountId: databricksAccountId,\n credentialsName: `${prefix}-creds`,\n roleArn: crossAccountRole.arn,\n});\nconst rootStorageBucket = new aws.s3.BucketV2(\"root_storage_bucket\", {\n bucket: `${prefix}-rootbucket`,\n acl: \"private\",\n forceDestroy: true,\n tags: tags,\n});\nconst rootVersioning = new aws.s3.BucketVersioningV2(\"root_versioning\", {\n bucket: rootStorageBucket.id,\n versioningConfiguration: {\n status: \"Disabled\",\n },\n});\nconst rootStorageBucketBucketServerSideEncryptionConfigurationV2 = new aws.s3.BucketServerSideEncryptionConfigurationV2(\"root_storage_bucket\", {\n bucket: rootStorageBucket.bucket,\n rules: [{\n applyServerSideEncryptionByDefault: {\n sseAlgorithm: \"AES256\",\n },\n }],\n});\nconst rootStorageBucketBucketPublicAccessBlock = new aws.s3.BucketPublicAccessBlock(\"root_storage_bucket\", {\n bucket: rootStorageBucket.id,\n blockPublicAcls: true,\n blockPublicPolicy: true,\n ignorePublicAcls: true,\n restrictPublicBuckets: true,\n}, {\n dependsOn: [rootStorageBucket],\n});\nconst thisGetAwsBucketPolicy = databricks.getAwsBucketPolicyOutput({\n bucket: rootStorageBucket.bucket,\n});\nconst rootBucketPolicy = new aws.s3.BucketPolicy(\"root_bucket_policy\", {\n bucket: rootStorageBucket.id,\n policy: thisGetAwsBucketPolicy.apply(thisGetAwsBucketPolicy =\u003e thisGetAwsBucketPolicy.json),\n}, {\n dependsOn: [rootStorageBucketBucketPublicAccessBlock],\n});\nconst thisMwsStorageConfigurations = new databricks.MwsStorageConfigurations(\"this\", {\n accountId: databricksAccountId,\n storageConfigurationName: `${prefix}-storage`,\n bucketName: rootStorageBucket.bucket,\n});\nconst thisMwsWorkspaces = new databricks.MwsWorkspaces(\"this\", {\n accountId: databricksAccountId,\n workspaceName: prefix,\n awsRegion: \"us-east-1\",\n credentialsId: thisMwsCredentials.credentialsId,\n storageConfigurationId: thisMwsStorageConfigurations.storageConfigurationId,\n token: {},\n customTags: {\n SoldToCode: \"1234\",\n },\n});\nexport const databricksToken = thisMwsWorkspaces.token.apply(token =\u003e token?.tokenValue);\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\nimport pulumi_random as random\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\nnaming = random.index.String(\"naming\",\n special=False,\n upper=False,\n length=6)\nprefix = f\"dltp{naming['result']}\"\nthis = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)\ncross_account_role = aws.iam.Role(\"cross_account_role\",\n name=f\"{prefix}-crossaccount\",\n assume_role_policy=this.json,\n tags=tags)\nthis_get_aws_cross_account_policy = databricks.get_aws_cross_account_policy()\nthis_role_policy = aws.iam.RolePolicy(\"this\",\n name=f\"{prefix}-policy\",\n role=cross_account_role.id,\n policy=this_get_aws_cross_account_policy.json)\nthis_mws_credentials = databricks.MwsCredentials(\"this\",\n account_id=databricks_account_id,\n credentials_name=f\"{prefix}-creds\",\n role_arn=cross_account_role.arn)\nroot_storage_bucket = aws.s3.BucketV2(\"root_storage_bucket\",\n bucket=f\"{prefix}-rootbucket\",\n acl=\"private\",\n force_destroy=True,\n tags=tags)\nroot_versioning = aws.s3.BucketVersioningV2(\"root_versioning\",\n bucket=root_storage_bucket.id,\n versioning_configuration={\n \"status\": \"Disabled\",\n })\nroot_storage_bucket_bucket_server_side_encryption_configuration_v2 = aws.s3.BucketServerSideEncryptionConfigurationV2(\"root_storage_bucket\",\n bucket=root_storage_bucket.bucket,\n rules=[{\n \"apply_server_side_encryption_by_default\": {\n \"sse_algorithm\": \"AES256\",\n },\n }])\nroot_storage_bucket_bucket_public_access_block = aws.s3.BucketPublicAccessBlock(\"root_storage_bucket\",\n bucket=root_storage_bucket.id,\n block_public_acls=True,\n block_public_policy=True,\n ignore_public_acls=True,\n restrict_public_buckets=True,\n opts = pulumi.ResourceOptions(depends_on=[root_storage_bucket]))\nthis_get_aws_bucket_policy = databricks.get_aws_bucket_policy_output(bucket=root_storage_bucket.bucket)\nroot_bucket_policy = aws.s3.BucketPolicy(\"root_bucket_policy\",\n bucket=root_storage_bucket.id,\n policy=this_get_aws_bucket_policy.json,\n opts = pulumi.ResourceOptions(depends_on=[root_storage_bucket_bucket_public_access_block]))\nthis_mws_storage_configurations = databricks.MwsStorageConfigurations(\"this\",\n account_id=databricks_account_id,\n storage_configuration_name=f\"{prefix}-storage\",\n bucket_name=root_storage_bucket.bucket)\nthis_mws_workspaces = databricks.MwsWorkspaces(\"this\",\n account_id=databricks_account_id,\n workspace_name=prefix,\n aws_region=\"us-east-1\",\n credentials_id=this_mws_credentials.credentials_id,\n storage_configuration_id=this_mws_storage_configurations.storage_configuration_id,\n token={},\n custom_tags={\n \"SoldToCode\": \"1234\",\n })\npulumi.export(\"databricksToken\", this_mws_workspaces.token.token_value)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var naming = new Random.Index.String(\"naming\", new()\n {\n Special = false,\n Upper = false,\n Length = 6,\n });\n\n var prefix = $\"dltp{naming.Result}\";\n\n var @this = Databricks.GetAwsAssumeRolePolicy.Invoke(new()\n {\n ExternalId = databricksAccountId,\n });\n\n var crossAccountRole = new Aws.Iam.Role(\"cross_account_role\", new()\n {\n Name = $\"{prefix}-crossaccount\",\n AssumeRolePolicy = @this.Apply(@this =\u003e @this.Apply(getAwsAssumeRolePolicyResult =\u003e getAwsAssumeRolePolicyResult.Json)),\n Tags = tags,\n });\n\n var thisGetAwsCrossAccountPolicy = Databricks.GetAwsCrossAccountPolicy.Invoke();\n\n var thisRolePolicy = new Aws.Iam.RolePolicy(\"this\", new()\n {\n Name = $\"{prefix}-policy\",\n Role = crossAccountRole.Id,\n Policy = thisGetAwsCrossAccountPolicy.Apply(getAwsCrossAccountPolicyResult =\u003e getAwsCrossAccountPolicyResult.Json),\n });\n\n var thisMwsCredentials = new Databricks.MwsCredentials(\"this\", new()\n {\n AccountId = databricksAccountId,\n CredentialsName = $\"{prefix}-creds\",\n RoleArn = crossAccountRole.Arn,\n });\n\n var rootStorageBucket = new Aws.S3.BucketV2(\"root_storage_bucket\", new()\n {\n Bucket = $\"{prefix}-rootbucket\",\n Acl = \"private\",\n ForceDestroy = true,\n Tags = tags,\n });\n\n var rootVersioning = new Aws.S3.BucketVersioningV2(\"root_versioning\", new()\n {\n Bucket = rootStorageBucket.Id,\n VersioningConfiguration = new Aws.S3.Inputs.BucketVersioningV2VersioningConfigurationArgs\n {\n Status = \"Disabled\",\n },\n });\n\n var rootStorageBucketBucketServerSideEncryptionConfigurationV2 = new Aws.S3.BucketServerSideEncryptionConfigurationV2(\"root_storage_bucket\", new()\n {\n Bucket = rootStorageBucket.Bucket,\n Rules = new[]\n {\n new Aws.S3.Inputs.BucketServerSideEncryptionConfigurationV2RuleArgs\n {\n ApplyServerSideEncryptionByDefault = new Aws.S3.Inputs.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs\n {\n SseAlgorithm = \"AES256\",\n },\n },\n },\n });\n\n var rootStorageBucketBucketPublicAccessBlock = new Aws.S3.BucketPublicAccessBlock(\"root_storage_bucket\", new()\n {\n Bucket = rootStorageBucket.Id,\n BlockPublicAcls = true,\n BlockPublicPolicy = true,\n IgnorePublicAcls = true,\n RestrictPublicBuckets = true,\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n rootStorageBucket,\n },\n });\n\n var thisGetAwsBucketPolicy = Databricks.GetAwsBucketPolicy.Invoke(new()\n {\n Bucket = rootStorageBucket.Bucket,\n });\n\n var rootBucketPolicy = new Aws.S3.BucketPolicy(\"root_bucket_policy\", new()\n {\n Bucket = rootStorageBucket.Id,\n Policy = thisGetAwsBucketPolicy.Apply(getAwsBucketPolicyResult =\u003e getAwsBucketPolicyResult.Json),\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n rootStorageBucketBucketPublicAccessBlock,\n },\n });\n\n var thisMwsStorageConfigurations = new Databricks.MwsStorageConfigurations(\"this\", new()\n {\n AccountId = databricksAccountId,\n StorageConfigurationName = $\"{prefix}-storage\",\n BucketName = rootStorageBucket.Bucket,\n });\n\n var thisMwsWorkspaces = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AccountId = databricksAccountId,\n WorkspaceName = prefix,\n AwsRegion = \"us-east-1\",\n CredentialsId = thisMwsCredentials.CredentialsId,\n StorageConfigurationId = thisMwsStorageConfigurations.StorageConfigurationId,\n Token = null,\n CustomTags = \n {\n { \"SoldToCode\", \"1234\" },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databricksToken\"] = thisMwsWorkspaces.Token.Apply(token =\u003e token?.TokenValue),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tnaming, err := random.NewString(ctx, \"naming\", \u0026random.StringArgs{\n\t\t\tSpecial: false,\n\t\t\tUpper: false,\n\t\t\tLength: 6,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tprefix := fmt.Sprintf(\"dltp%v\", naming.Result)\n\t\tthis, err := databricks.GetAwsAssumeRolePolicy(ctx, \u0026databricks.GetAwsAssumeRolePolicyArgs{\n\t\t\tExternalId: databricksAccountId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcrossAccountRole, err := iam.NewRole(ctx, \"cross_account_role\", \u0026iam.RoleArgs{\n\t\t\tName: pulumi.Sprintf(\"%v-crossaccount\", prefix),\n\t\t\tAssumeRolePolicy: pulumi.String(this.Json),\n\t\t\tTags: pulumi.Any(tags),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisGetAwsCrossAccountPolicy, err := databricks.GetAwsCrossAccountPolicy(ctx, \u0026databricks.GetAwsCrossAccountPolicyArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = iam.NewRolePolicy(ctx, \"this\", \u0026iam.RolePolicyArgs{\n\t\t\tName: pulumi.Sprintf(\"%v-policy\", prefix),\n\t\t\tRole: crossAccountRole.ID(),\n\t\t\tPolicy: pulumi.String(thisGetAwsCrossAccountPolicy.Json),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisMwsCredentials, err := databricks.NewMwsCredentials(ctx, \"this\", \u0026databricks.MwsCredentialsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tCredentialsName: pulumi.Sprintf(\"%v-creds\", prefix),\n\t\t\tRoleArn: crossAccountRole.Arn,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootStorageBucket, err := s3.NewBucketV2(ctx, \"root_storage_bucket\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.Sprintf(\"%v-rootbucket\", prefix),\n\t\t\tAcl: pulumi.String(\"private\"),\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tTags: pulumi.Any(tags),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3.NewBucketVersioningV2(ctx, \"root_versioning\", \u0026s3.BucketVersioningV2Args{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tVersioningConfiguration: \u0026s3.BucketVersioningV2VersioningConfigurationArgs{\n\t\t\t\tStatus: pulumi.String(\"Disabled\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = s3.NewBucketServerSideEncryptionConfigurationV2(ctx, \"root_storage_bucket\", \u0026s3.BucketServerSideEncryptionConfigurationV2Args{\n\t\t\tBucket: rootStorageBucket.Bucket,\n\t\t\tRules: s3.BucketServerSideEncryptionConfigurationV2RuleArray{\n\t\t\t\t\u0026s3.BucketServerSideEncryptionConfigurationV2RuleArgs{\n\t\t\t\t\tApplyServerSideEncryptionByDefault: \u0026s3.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs{\n\t\t\t\t\t\tSseAlgorithm: pulumi.String(\"AES256\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootStorageBucketBucketPublicAccessBlock, err := s3.NewBucketPublicAccessBlock(ctx, \"root_storage_bucket\", \u0026s3.BucketPublicAccessBlockArgs{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tBlockPublicAcls: pulumi.Bool(true),\n\t\t\tBlockPublicPolicy: pulumi.Bool(true),\n\t\t\tIgnorePublicAcls: pulumi.Bool(true),\n\t\t\tRestrictPublicBuckets: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootStorageBucket,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisGetAwsBucketPolicy := databricks.GetAwsBucketPolicyOutput(ctx, databricks.GetAwsBucketPolicyOutputArgs{\n\t\t\tBucket: rootStorageBucket.Bucket,\n\t\t}, nil)\n\t\t_, err = s3.NewBucketPolicy(ctx, \"root_bucket_policy\", \u0026s3.BucketPolicyArgs{\n\t\t\tBucket: rootStorageBucket.ID(),\n\t\t\tPolicy: pulumi.String(thisGetAwsBucketPolicy.ApplyT(func(thisGetAwsBucketPolicy databricks.GetAwsBucketPolicyResult) (*string, error) {\n\t\t\t\treturn \u0026thisGetAwsBucketPolicy.Json, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootStorageBucketBucketPublicAccessBlock,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisMwsStorageConfigurations, err := databricks.NewMwsStorageConfigurations(ctx, \"this\", \u0026databricks.MwsStorageConfigurationsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tStorageConfigurationName: pulumi.Sprintf(\"%v-storage\", prefix),\n\t\t\tBucketName: rootStorageBucket.Bucket,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisMwsWorkspaces, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tWorkspaceName: pulumi.String(prefix),\n\t\t\tAwsRegion: pulumi.String(\"us-east-1\"),\n\t\t\tCredentialsId: thisMwsCredentials.CredentialsId,\n\t\t\tStorageConfigurationId: thisMwsStorageConfigurations.StorageConfigurationId,\n\t\t\tToken: \u0026databricks.MwsWorkspacesTokenArgs{},\n\t\t\tCustomTags: pulumi.StringMap{\n\t\t\t\t\"SoldToCode\": pulumi.String(\"1234\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databricksToken\", thisMwsWorkspaces.Token.ApplyT(func(token databricks.MwsWorkspacesToken) (*string, error) {\n\t\t\treturn \u0026token.TokenValue, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.string;\nimport com.pulumi.random.StringArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;\nimport com.pulumi.aws.iam.Role;\nimport com.pulumi.aws.iam.RoleArgs;\nimport com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;\nimport com.pulumi.aws.iam.RolePolicy;\nimport com.pulumi.aws.iam.RolePolicyArgs;\nimport com.pulumi.databricks.MwsCredentials;\nimport com.pulumi.databricks.MwsCredentialsArgs;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketVersioningV2;\nimport com.pulumi.aws.s3.BucketVersioningV2Args;\nimport com.pulumi.aws.s3.inputs.BucketVersioningV2VersioningConfigurationArgs;\nimport com.pulumi.aws.s3.BucketServerSideEncryptionConfigurationV2;\nimport com.pulumi.aws.s3.BucketServerSideEncryptionConfigurationV2Args;\nimport com.pulumi.aws.s3.inputs.BucketServerSideEncryptionConfigurationV2RuleArgs;\nimport com.pulumi.aws.s3.inputs.BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs;\nimport com.pulumi.aws.s3.BucketPublicAccessBlock;\nimport com.pulumi.aws.s3.BucketPublicAccessBlockArgs;\nimport com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs;\nimport com.pulumi.aws.s3.BucketPolicy;\nimport com.pulumi.aws.s3.BucketPolicyArgs;\nimport com.pulumi.databricks.MwsStorageConfigurations;\nimport com.pulumi.databricks.MwsStorageConfigurationsArgs;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesTokenArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n var naming = new String(\"naming\", StringArgs.builder()\n .special(false)\n .upper(false)\n .length(6)\n .build());\n\n final var prefix = String.format(\"dltp%s\", naming.result());\n\n final var this = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()\n .externalId(databricksAccountId)\n .build());\n\n var crossAccountRole = new Role(\"crossAccountRole\", RoleArgs.builder()\n .name(String.format(\"%s-crossaccount\", prefix))\n .assumeRolePolicy(this_.json())\n .tags(tags)\n .build());\n\n final var thisGetAwsCrossAccountPolicy = DatabricksFunctions.getAwsCrossAccountPolicy();\n\n var thisRolePolicy = new RolePolicy(\"thisRolePolicy\", RolePolicyArgs.builder()\n .name(String.format(\"%s-policy\", prefix))\n .role(crossAccountRole.id())\n .policy(thisGetAwsCrossAccountPolicy.applyValue(getAwsCrossAccountPolicyResult -\u003e getAwsCrossAccountPolicyResult.json()))\n .build());\n\n var thisMwsCredentials = new MwsCredentials(\"thisMwsCredentials\", MwsCredentialsArgs.builder()\n .accountId(databricksAccountId)\n .credentialsName(String.format(\"%s-creds\", prefix))\n .roleArn(crossAccountRole.arn())\n .build());\n\n var rootStorageBucket = new BucketV2(\"rootStorageBucket\", BucketV2Args.builder()\n .bucket(String.format(\"%s-rootbucket\", prefix))\n .acl(\"private\")\n .forceDestroy(true)\n .tags(tags)\n .build());\n\n var rootVersioning = new BucketVersioningV2(\"rootVersioning\", BucketVersioningV2Args.builder()\n .bucket(rootStorageBucket.id())\n .versioningConfiguration(BucketVersioningV2VersioningConfigurationArgs.builder()\n .status(\"Disabled\")\n .build())\n .build());\n\n var rootStorageBucketBucketServerSideEncryptionConfigurationV2 = new BucketServerSideEncryptionConfigurationV2(\"rootStorageBucketBucketServerSideEncryptionConfigurationV2\", BucketServerSideEncryptionConfigurationV2Args.builder()\n .bucket(rootStorageBucket.bucket())\n .rules(BucketServerSideEncryptionConfigurationV2RuleArgs.builder()\n .applyServerSideEncryptionByDefault(BucketServerSideEncryptionConfigurationV2RuleApplyServerSideEncryptionByDefaultArgs.builder()\n .sseAlgorithm(\"AES256\")\n .build())\n .build())\n .build());\n\n var rootStorageBucketBucketPublicAccessBlock = new BucketPublicAccessBlock(\"rootStorageBucketBucketPublicAccessBlock\", BucketPublicAccessBlockArgs.builder()\n .bucket(rootStorageBucket.id())\n .blockPublicAcls(true)\n .blockPublicPolicy(true)\n .ignorePublicAcls(true)\n .restrictPublicBuckets(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn(rootStorageBucket)\n .build());\n\n final var thisGetAwsBucketPolicy = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder()\n .bucket(rootStorageBucket.bucket())\n .build());\n\n var rootBucketPolicy = new BucketPolicy(\"rootBucketPolicy\", BucketPolicyArgs.builder()\n .bucket(rootStorageBucket.id())\n .policy(thisGetAwsBucketPolicy.applyValue(getAwsBucketPolicyResult -\u003e getAwsBucketPolicyResult).applyValue(thisGetAwsBucketPolicy -\u003e thisGetAwsBucketPolicy.applyValue(getAwsBucketPolicyResult -\u003e getAwsBucketPolicyResult.json())))\n .build(), CustomResourceOptions.builder()\n .dependsOn(rootStorageBucketBucketPublicAccessBlock)\n .build());\n\n var thisMwsStorageConfigurations = new MwsStorageConfigurations(\"thisMwsStorageConfigurations\", MwsStorageConfigurationsArgs.builder()\n .accountId(databricksAccountId)\n .storageConfigurationName(String.format(\"%s-storage\", prefix))\n .bucketName(rootStorageBucket.bucket())\n .build());\n\n var thisMwsWorkspaces = new MwsWorkspaces(\"thisMwsWorkspaces\", MwsWorkspacesArgs.builder()\n .accountId(databricksAccountId)\n .workspaceName(prefix)\n .awsRegion(\"us-east-1\")\n .credentialsId(thisMwsCredentials.credentialsId())\n .storageConfigurationId(thisMwsStorageConfigurations.storageConfigurationId())\n .token()\n .customTags(Map.of(\"SoldToCode\", \"1234\"))\n .build());\n\n ctx.export(\"databricksToken\", thisMwsWorkspaces.token().applyValue(token -\u003e token.tokenValue()));\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n naming:\n type: random:string\n properties:\n special: false\n upper: false\n length: 6\n crossAccountRole:\n type: aws:iam:Role\n name: cross_account_role\n properties:\n name: ${prefix}-crossaccount\n assumeRolePolicy: ${this.json}\n tags: ${tags}\n thisRolePolicy:\n type: aws:iam:RolePolicy\n name: this\n properties:\n name: ${prefix}-policy\n role: ${crossAccountRole.id}\n policy: ${thisGetAwsCrossAccountPolicy.json}\n thisMwsCredentials:\n type: databricks:MwsCredentials\n name: this\n properties:\n accountId: ${databricksAccountId}\n credentialsName: ${prefix}-creds\n roleArn: ${crossAccountRole.arn}\n rootStorageBucket:\n type: aws:s3:BucketV2\n name: root_storage_bucket\n properties:\n bucket: ${prefix}-rootbucket\n acl: private\n forceDestroy: true\n tags: ${tags}\n rootVersioning:\n type: aws:s3:BucketVersioningV2\n name: root_versioning\n properties:\n bucket: ${rootStorageBucket.id}\n versioningConfiguration:\n status: Disabled\n rootStorageBucketBucketServerSideEncryptionConfigurationV2:\n type: aws:s3:BucketServerSideEncryptionConfigurationV2\n name: root_storage_bucket\n properties:\n bucket: ${rootStorageBucket.bucket}\n rules:\n - applyServerSideEncryptionByDefault:\n sseAlgorithm: AES256\n rootStorageBucketBucketPublicAccessBlock:\n type: aws:s3:BucketPublicAccessBlock\n name: root_storage_bucket\n properties:\n bucket: ${rootStorageBucket.id}\n blockPublicAcls: true\n blockPublicPolicy: true\n ignorePublicAcls: true\n restrictPublicBuckets: true\n options:\n dependsOn:\n - ${rootStorageBucket}\n rootBucketPolicy:\n type: aws:s3:BucketPolicy\n name: root_bucket_policy\n properties:\n bucket: ${rootStorageBucket.id}\n policy: ${thisGetAwsBucketPolicy.json}\n options:\n dependsOn:\n - ${rootStorageBucketBucketPublicAccessBlock}\n thisMwsStorageConfigurations:\n type: databricks:MwsStorageConfigurations\n name: this\n properties:\n accountId: ${databricksAccountId}\n storageConfigurationName: ${prefix}-storage\n bucketName: ${rootStorageBucket.bucket}\n thisMwsWorkspaces:\n type: databricks:MwsWorkspaces\n name: this\n properties:\n accountId: ${databricksAccountId}\n workspaceName: ${prefix}\n awsRegion: us-east-1\n credentialsId: ${thisMwsCredentials.credentialsId}\n storageConfigurationId: ${thisMwsStorageConfigurations.storageConfigurationId}\n token: {}\n customTags:\n SoldToCode: '1234'\nvariables:\n prefix: dltp${naming.result}\n this:\n fn::invoke:\n function: databricks:getAwsAssumeRolePolicy\n arguments:\n externalId: ${databricksAccountId}\n thisGetAwsCrossAccountPolicy:\n fn::invoke:\n function: databricks:getAwsCrossAccountPolicy\n arguments: {}\n thisGetAwsBucketPolicy:\n fn::invoke:\n function: databricks:getAwsBucketPolicy\n arguments:\n bucket: ${rootStorageBucket.bucket}\noutputs:\n databricksToken: ${thisMwsWorkspaces.token.tokenValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nIn order to create a [Databricks Workspace that leverages AWS PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) please ensure that you have read and understood the [Enable Private Link](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks.\n\n### Creating a Databricks on GCP workspace\n\nTo get workspace running, you have to configure a network object:\n\n* databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst databricksGoogleServiceAccount = config.requireObject(\"databricksGoogleServiceAccount\");\nconst googleProject = config.requireObject(\"googleProject\");\n// register VPC\nconst _this = new databricks.MwsNetworks(\"this\", {\n accountId: databricksAccountId,\n networkName: `${prefix}-network`,\n gcpNetworkInfo: {\n networkProjectId: googleProject,\n vpcId: vpcId,\n subnetId: subnetId,\n subnetRegion: subnetRegion,\n podIpRangeName: \"pods\",\n serviceIpRangeName: \"svc\",\n },\n});\n// create workspace in given VPC\nconst thisMwsWorkspaces = new databricks.MwsWorkspaces(\"this\", {\n accountId: databricksAccountId,\n workspaceName: prefix,\n location: subnetRegion,\n cloudResourceContainer: {\n gcp: {\n projectId: googleProject,\n },\n },\n networkId: _this.networkId,\n gkeConfig: {\n connectivityType: \"PRIVATE_NODE_PUBLIC_MASTER\",\n masterIpRange: \"10.3.0.0/28\",\n },\n token: {},\n});\nexport const databricksToken = thisMwsWorkspaces.token.apply(token =\u003e token?.tokenValue);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\ndatabricks_google_service_account = config.require_object(\"databricksGoogleServiceAccount\")\ngoogle_project = config.require_object(\"googleProject\")\n# register VPC\nthis = databricks.MwsNetworks(\"this\",\n account_id=databricks_account_id,\n network_name=f\"{prefix}-network\",\n gcp_network_info={\n \"network_project_id\": google_project,\n \"vpc_id\": vpc_id,\n \"subnet_id\": subnet_id,\n \"subnet_region\": subnet_region,\n \"pod_ip_range_name\": \"pods\",\n \"service_ip_range_name\": \"svc\",\n })\n# create workspace in given VPC\nthis_mws_workspaces = databricks.MwsWorkspaces(\"this\",\n account_id=databricks_account_id,\n workspace_name=prefix,\n location=subnet_region,\n cloud_resource_container={\n \"gcp\": {\n \"project_id\": google_project,\n },\n },\n network_id=this.network_id,\n gke_config={\n \"connectivity_type\": \"PRIVATE_NODE_PUBLIC_MASTER\",\n \"master_ip_range\": \"10.3.0.0/28\",\n },\n token={})\npulumi.export(\"databricksToken\", this_mws_workspaces.token.token_value)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var databricksGoogleServiceAccount = config.RequireObject\u003cdynamic\u003e(\"databricksGoogleServiceAccount\");\n var googleProject = config.RequireObject\u003cdynamic\u003e(\"googleProject\");\n // register VPC\n var @this = new Databricks.MwsNetworks(\"this\", new()\n {\n AccountId = databricksAccountId,\n NetworkName = $\"{prefix}-network\",\n GcpNetworkInfo = new Databricks.Inputs.MwsNetworksGcpNetworkInfoArgs\n {\n NetworkProjectId = googleProject,\n VpcId = vpcId,\n SubnetId = subnetId,\n SubnetRegion = subnetRegion,\n PodIpRangeName = \"pods\",\n ServiceIpRangeName = \"svc\",\n },\n });\n\n // create workspace in given VPC\n var thisMwsWorkspaces = new Databricks.MwsWorkspaces(\"this\", new()\n {\n AccountId = databricksAccountId,\n WorkspaceName = prefix,\n Location = subnetRegion,\n CloudResourceContainer = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerArgs\n {\n Gcp = new Databricks.Inputs.MwsWorkspacesCloudResourceContainerGcpArgs\n {\n ProjectId = googleProject,\n },\n },\n NetworkId = @this.NetworkId,\n GkeConfig = new Databricks.Inputs.MwsWorkspacesGkeConfigArgs\n {\n ConnectivityType = \"PRIVATE_NODE_PUBLIC_MASTER\",\n MasterIpRange = \"10.3.0.0/28\",\n },\n Token = null,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databricksToken\"] = thisMwsWorkspaces.Token.Apply(token =\u003e token?.TokenValue),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tdatabricksGoogleServiceAccount := cfg.RequireObject(\"databricksGoogleServiceAccount\")\n\t\tgoogleProject := cfg.RequireObject(\"googleProject\")\n\t\t// register VPC\n\t\tthis, err := databricks.NewMwsNetworks(ctx, \"this\", \u0026databricks.MwsNetworksArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tNetworkName: pulumi.Sprintf(\"%v-network\", prefix),\n\t\t\tGcpNetworkInfo: \u0026databricks.MwsNetworksGcpNetworkInfoArgs{\n\t\t\t\tNetworkProjectId: pulumi.Any(googleProject),\n\t\t\t\tVpcId: pulumi.Any(vpcId),\n\t\t\t\tSubnetId: pulumi.Any(subnetId),\n\t\t\t\tSubnetRegion: pulumi.Any(subnetRegion),\n\t\t\t\tPodIpRangeName: pulumi.String(\"pods\"),\n\t\t\t\tServiceIpRangeName: pulumi.String(\"svc\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create workspace in given VPC\n\t\tthisMwsWorkspaces, err := databricks.NewMwsWorkspaces(ctx, \"this\", \u0026databricks.MwsWorkspacesArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tWorkspaceName: pulumi.Any(prefix),\n\t\t\tLocation: pulumi.Any(subnetRegion),\n\t\t\tCloudResourceContainer: \u0026databricks.MwsWorkspacesCloudResourceContainerArgs{\n\t\t\t\tGcp: \u0026databricks.MwsWorkspacesCloudResourceContainerGcpArgs{\n\t\t\t\t\tProjectId: pulumi.Any(googleProject),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkId: this.NetworkId,\n\t\t\tGkeConfig: \u0026databricks.MwsWorkspacesGkeConfigArgs{\n\t\t\t\tConnectivityType: pulumi.String(\"PRIVATE_NODE_PUBLIC_MASTER\"),\n\t\t\t\tMasterIpRange: pulumi.String(\"10.3.0.0/28\"),\n\t\t\t},\n\t\t\tToken: \u0026databricks.MwsWorkspacesTokenArgs{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databricksToken\", thisMwsWorkspaces.Token.ApplyT(func(token databricks.MwsWorkspacesToken) (*string, error) {\n\t\t\treturn \u0026token.TokenValue, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MwsNetworks;\nimport com.pulumi.databricks.MwsNetworksArgs;\nimport com.pulumi.databricks.inputs.MwsNetworksGcpNetworkInfoArgs;\nimport com.pulumi.databricks.MwsWorkspaces;\nimport com.pulumi.databricks.MwsWorkspacesArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesCloudResourceContainerGcpArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesGkeConfigArgs;\nimport com.pulumi.databricks.inputs.MwsWorkspacesTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var databricksGoogleServiceAccount = config.get(\"databricksGoogleServiceAccount\");\n final var googleProject = config.get(\"googleProject\");\n // register VPC\n var this_ = new MwsNetworks(\"this\", MwsNetworksArgs.builder()\n .accountId(databricksAccountId)\n .networkName(String.format(\"%s-network\", prefix))\n .gcpNetworkInfo(MwsNetworksGcpNetworkInfoArgs.builder()\n .networkProjectId(googleProject)\n .vpcId(vpcId)\n .subnetId(subnetId)\n .subnetRegion(subnetRegion)\n .podIpRangeName(\"pods\")\n .serviceIpRangeName(\"svc\")\n .build())\n .build());\n\n // create workspace in given VPC\n var thisMwsWorkspaces = new MwsWorkspaces(\"thisMwsWorkspaces\", MwsWorkspacesArgs.builder()\n .accountId(databricksAccountId)\n .workspaceName(prefix)\n .location(subnetRegion)\n .cloudResourceContainer(MwsWorkspacesCloudResourceContainerArgs.builder()\n .gcp(MwsWorkspacesCloudResourceContainerGcpArgs.builder()\n .projectId(googleProject)\n .build())\n .build())\n .networkId(this_.networkId())\n .gkeConfig(MwsWorkspacesGkeConfigArgs.builder()\n .connectivityType(\"PRIVATE_NODE_PUBLIC_MASTER\")\n .masterIpRange(\"10.3.0.0/28\")\n .build())\n .token()\n .build());\n\n ctx.export(\"databricksToken\", thisMwsWorkspaces.token().applyValue(token -\u003e token.tokenValue()));\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\n databricksGoogleServiceAccount:\n type: dynamic\n googleProject:\n type: dynamic\nresources:\n # register VPC\n this:\n type: databricks:MwsNetworks\n properties:\n accountId: ${databricksAccountId}\n networkName: ${prefix}-network\n gcpNetworkInfo:\n networkProjectId: ${googleProject}\n vpcId: ${vpcId}\n subnetId: ${subnetId}\n subnetRegion: ${subnetRegion}\n podIpRangeName: pods\n serviceIpRangeName: svc\n # create workspace in given VPC\n thisMwsWorkspaces:\n type: databricks:MwsWorkspaces\n name: this\n properties:\n accountId: ${databricksAccountId}\n workspaceName: ${prefix}\n location: ${subnetRegion}\n cloudResourceContainer:\n gcp:\n projectId: ${googleProject}\n networkId: ${this.networkId}\n gkeConfig:\n connectivityType: PRIVATE_NODE_PUBLIC_MASTER\n masterIpRange: 10.3.0.0/28\n token: {}\noutputs:\n databricksToken: ${thisMwsWorkspaces.token.tokenValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nIn order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks.\n\n## Import\n\nThis resource can be imported by Databricks account ID and workspace ID.\n\n```sh\n$ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '\u003caccount_id\u003e/\u003cworkspace_id\u003e'\n```\n\n~\u003e Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated.\n\n If the configuration for these immutable fields does not match the existing workspace, the workspace will\n\n be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration\n\n matches the existing resource by running `pulumi preview`. The only fields that can be updated are\n\n `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`,\n\n `managed_services_customer_managed_key_id`, and `custom_tags`.\n\n", "properties": { "accountId": { "type": "string", @@ -25256,7 +27862,7 @@ } }, "databricks:index/notificationDestination:NotificationDestination": { - "description": "This resource allows you to manage [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification destinations are used to send notifications for query alerts and jobs to destinations outside of Databricks. Only workspace admins can create, update, and delete notification destinations.\n\n## Example Usage\n\n`Email` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n email: {\n addresses: [\"abc@gmail.com\"],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"email\": {\n \"addresses\": [\"abc@gmail.com\"],\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n Email = new Databricks.Inputs.NotificationDestinationConfigEmailArgs\n {\n Addresses = new[]\n {\n \"abc@gmail.com\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tEmail: \u0026databricks.NotificationDestinationConfigEmailArgs{\n\t\t\t\t\tAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"abc@gmail.com\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .email(NotificationDestinationConfigEmailArgs.builder()\n .addresses(\"abc@gmail.com\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n email:\n addresses:\n - abc@gmail.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`Slack` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n slack: {\n url: \"https://hooks.slack.com/services/...\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"slack\": {\n \"url\": \"https://hooks.slack.com/services/...\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n Slack = new Databricks.Inputs.NotificationDestinationConfigSlackArgs\n {\n Url = \"https://hooks.slack.com/services/...\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tSlack: \u0026databricks.NotificationDestinationConfigSlackArgs{\n\t\t\t\t\tUrl: pulumi.String(\"https://hooks.slack.com/services/...\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .slack(NotificationDestinationConfigSlackArgs.builder()\n .url(\"https://hooks.slack.com/services/...\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n slack:\n url: https://hooks.slack.com/services/...\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`PagerDuty` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n pagerduty: {\n integrationKey: \"xxxxxx\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"pagerduty\": {\n \"integration_key\": \"xxxxxx\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n Pagerduty = new Databricks.Inputs.NotificationDestinationConfigPagerdutyArgs\n {\n IntegrationKey = \"xxxxxx\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tPagerduty: \u0026databricks.NotificationDestinationConfigPagerdutyArgs{\n\t\t\t\t\tIntegrationKey: pulumi.String(\"xxxxxx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigPagerdutyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .pagerduty(NotificationDestinationConfigPagerdutyArgs.builder()\n .integrationKey(\"xxxxxx\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n pagerduty:\n integrationKey: xxxxxx\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`Microsoft Teams` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n microsoftTeams: {\n url: \"https://outlook.office.com/webhook/...\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"microsoft_teams\": {\n \"url\": \"https://outlook.office.com/webhook/...\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n MicrosoftTeams = new Databricks.Inputs.NotificationDestinationConfigMicrosoftTeamsArgs\n {\n Url = \"https://outlook.office.com/webhook/...\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tMicrosoftTeams: \u0026databricks.NotificationDestinationConfigMicrosoftTeamsArgs{\n\t\t\t\t\tUrl: pulumi.String(\"https://outlook.office.com/webhook/...\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigMicrosoftTeamsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .microsoftTeams(NotificationDestinationConfigMicrosoftTeamsArgs.builder()\n .url(\"https://outlook.office.com/webhook/...\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n microsoftTeams:\n url: https://outlook.office.com/webhook/...\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`Generic Webhook` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n genericWebhook: {\n url: \"https://example.com/webhook\",\n username: \"username\",\n password: \"password\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"generic_webhook\": {\n \"url\": \"https://example.com/webhook\",\n \"username\": \"username\",\n \"password\": \"password\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n GenericWebhook = new Databricks.Inputs.NotificationDestinationConfigGenericWebhookArgs\n {\n Url = \"https://example.com/webhook\",\n Username = \"username\",\n Password = \"password\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tGenericWebhook: \u0026databricks.NotificationDestinationConfigGenericWebhookArgs{\n\t\t\t\t\tUrl: pulumi.String(\"https://example.com/webhook\"),\n\t\t\t\t\tUsername: pulumi.String(\"username\"),\n\t\t\t\t\tPassword: pulumi.String(\"password\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigGenericWebhookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .genericWebhook(NotificationDestinationConfigGenericWebhookArgs.builder()\n .url(\"https://example.com/webhook\")\n .username(\"username\")\n .password(\"password\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n genericWebhook:\n url: https://example.com/webhook\n username: username\n password: password\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This resource allows you to manage [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification destinations are used to send notifications for query alerts and jobs to destinations outside of Databricks. Only workspace admins can create, update, and delete notification destinations.\n\n## Example Usage\n\n`Email` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n email: {\n addresses: [\"abc@gmail.com\"],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"email\": {\n \"addresses\": [\"abc@gmail.com\"],\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n Email = new Databricks.Inputs.NotificationDestinationConfigEmailArgs\n {\n Addresses = new[]\n {\n \"abc@gmail.com\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tEmail: \u0026databricks.NotificationDestinationConfigEmailArgs{\n\t\t\t\t\tAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"abc@gmail.com\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .email(NotificationDestinationConfigEmailArgs.builder()\n .addresses(\"abc@gmail.com\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n email:\n addresses:\n - abc@gmail.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`Slack` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n slack: {\n url: \"https://hooks.slack.com/services/...\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"slack\": {\n \"url\": \"https://hooks.slack.com/services/...\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n Slack = new Databricks.Inputs.NotificationDestinationConfigSlackArgs\n {\n Url = \"https://hooks.slack.com/services/...\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tSlack: \u0026databricks.NotificationDestinationConfigSlackArgs{\n\t\t\t\t\tUrl: pulumi.String(\"https://hooks.slack.com/services/...\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .slack(NotificationDestinationConfigSlackArgs.builder()\n .url(\"https://hooks.slack.com/services/...\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n slack:\n url: https://hooks.slack.com/services/...\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`PagerDuty` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n pagerduty: {\n integrationKey: \"xxxxxx\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"pagerduty\": {\n \"integration_key\": \"xxxxxx\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n Pagerduty = new Databricks.Inputs.NotificationDestinationConfigPagerdutyArgs\n {\n IntegrationKey = \"xxxxxx\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tPagerduty: \u0026databricks.NotificationDestinationConfigPagerdutyArgs{\n\t\t\t\t\tIntegrationKey: pulumi.String(\"xxxxxx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigPagerdutyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .pagerduty(NotificationDestinationConfigPagerdutyArgs.builder()\n .integrationKey(\"xxxxxx\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n pagerduty:\n integrationKey: xxxxxx\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`Microsoft Teams` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n microsoftTeams: {\n url: \"https://outlook.office.com/webhook/...\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"microsoft_teams\": {\n \"url\": \"https://outlook.office.com/webhook/...\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n MicrosoftTeams = new Databricks.Inputs.NotificationDestinationConfigMicrosoftTeamsArgs\n {\n Url = \"https://outlook.office.com/webhook/...\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tMicrosoftTeams: \u0026databricks.NotificationDestinationConfigMicrosoftTeamsArgs{\n\t\t\t\t\tUrl: pulumi.String(\"https://outlook.office.com/webhook/...\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigMicrosoftTeamsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .microsoftTeams(NotificationDestinationConfigMicrosoftTeamsArgs.builder()\n .url(\"https://outlook.office.com/webhook/...\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n microsoftTeams:\n url: https://outlook.office.com/webhook/...\n```\n\u003c!--End PulumiCodeChooser --\u003e\n`Generic Webhook` notification destination:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ndresource = new databricks.NotificationDestination(\"ndresource\", {\n displayName: \"Notification Destination\",\n config: {\n genericWebhook: {\n url: \"https://example.com/webhook\",\n username: \"username\",\n password: \"password\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nndresource = databricks.NotificationDestination(\"ndresource\",\n display_name=\"Notification Destination\",\n config={\n \"generic_webhook\": {\n \"url\": \"https://example.com/webhook\",\n \"username\": \"username\",\n \"password\": \"password\",\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ndresource = new Databricks.NotificationDestination(\"ndresource\", new()\n {\n DisplayName = \"Notification Destination\",\n Config = new Databricks.Inputs.NotificationDestinationConfigArgs\n {\n GenericWebhook = new Databricks.Inputs.NotificationDestinationConfigGenericWebhookArgs\n {\n Url = \"https://example.com/webhook\",\n Username = \"username\",\n Password = \"password\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewNotificationDestination(ctx, \"ndresource\", \u0026databricks.NotificationDestinationArgs{\n\t\t\tDisplayName: pulumi.String(\"Notification Destination\"),\n\t\t\tConfig: \u0026databricks.NotificationDestinationConfigArgs{\n\t\t\t\tGenericWebhook: \u0026databricks.NotificationDestinationConfigGenericWebhookArgs{\n\t\t\t\t\tUrl: pulumi.String(\"https://example.com/webhook\"),\n\t\t\t\t\tUsername: pulumi.String(\"username\"),\n\t\t\t\t\tPassword: pulumi.String(\"password\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.NotificationDestination;\nimport com.pulumi.databricks.NotificationDestinationArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;\nimport com.pulumi.databricks.inputs.NotificationDestinationConfigGenericWebhookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ndresource = new NotificationDestination(\"ndresource\", NotificationDestinationArgs.builder()\n .displayName(\"Notification Destination\")\n .config(NotificationDestinationConfigArgs.builder()\n .genericWebhook(NotificationDestinationConfigGenericWebhookArgs.builder()\n .url(\"https://example.com/webhook\")\n .username(\"username\")\n .password(\"password\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ndresource:\n type: databricks:NotificationDestination\n properties:\n displayName: Notification Destination\n config:\n genericWebhook:\n url: https://example.com/webhook\n username: username\n password: password\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by notification ID:\n\nbash\n\n```sh\n$ pulumi import databricks:index/notificationDestination:NotificationDestination this \u003cnotification-id\u003e\n```\n\n", "properties": { "config": { "$ref": "#/types/databricks:index/NotificationDestinationConfig:NotificationDestinationConfig", @@ -25519,7 +28125,7 @@ } }, "databricks:index/permissions:Permissions": { - "description": "This resource allows you to generically manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspaces. It ensures that only _admins_, _authenticated principal_ and those declared within `access_control` blocks would have specified access. It is not possible to remove management rights from _admins_ group.\n\n\u003e This resource is _authoritative_ for permissions on objects. Configuring this resource for an object will **OVERWRITE** any existing permissions of the same type unless imported, and changes made outside of Pulumi will be reset.\n\n\u003e It is not possible to lower permissions for `admins`, so Databricks Pulumi Provider removes those `access_control` blocks automatically.\n\n\u003e If multiple permission levels are specified for an identity (e.g. `CAN_RESTART` and `CAN_MANAGE` for a cluster), only the highest level permission is returned and will cause permanent drift.\n\n\u003e To manage access control on service principals, use databricks_access_control_rule_set.\n\n## Cluster usage\n\nIt's possible to separate [cluster access control](https://docs.databricks.com/security/access-control/cluster-acl.html) to three different permission levels: `CAN_ATTACH_TO`, `CAN_RESTART` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst ds = new databricks.Group(\"ds\", {displayName: \"Data Science\"});\nconst latest = databricks.getSparkVersion({});\nconst smallest = databricks.getNodeType({\n localDisk: true,\n});\nconst sharedAutoscaling = new databricks.Cluster(\"shared_autoscaling\", {\n clusterName: \"Shared Autoscaling\",\n sparkVersion: latest.then(latest =\u003e latest.id),\n nodeTypeId: smallest.then(smallest =\u003e smallest.id),\n autoterminationMinutes: 60,\n autoscale: {\n minWorkers: 1,\n maxWorkers: 10,\n },\n});\nconst clusterUsage = new databricks.Permissions(\"cluster_usage\", {\n clusterId: sharedAutoscaling.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_ATTACH_TO\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_RESTART\",\n },\n {\n groupName: ds.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nds = databricks.Group(\"ds\", display_name=\"Data Science\")\nlatest = databricks.get_spark_version()\nsmallest = databricks.get_node_type(local_disk=True)\nshared_autoscaling = databricks.Cluster(\"shared_autoscaling\",\n cluster_name=\"Shared Autoscaling\",\n spark_version=latest.id,\n node_type_id=smallest.id,\n autotermination_minutes=60,\n autoscale={\n \"min_workers\": 1,\n \"max_workers\": 10,\n })\ncluster_usage = databricks.Permissions(\"cluster_usage\",\n cluster_id=shared_autoscaling.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_ATTACH_TO\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_RESTART\",\n },\n {\n \"group_name\": ds.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var ds = new Databricks.Group(\"ds\", new()\n {\n DisplayName = \"Data Science\",\n });\n\n var latest = Databricks.GetSparkVersion.Invoke();\n\n var smallest = Databricks.GetNodeType.Invoke(new()\n {\n LocalDisk = true,\n });\n\n var sharedAutoscaling = new Databricks.Cluster(\"shared_autoscaling\", new()\n {\n ClusterName = \"Shared Autoscaling\",\n SparkVersion = latest.Apply(getSparkVersionResult =\u003e getSparkVersionResult.Id),\n NodeTypeId = smallest.Apply(getNodeTypeResult =\u003e getNodeTypeResult.Id),\n AutoterminationMinutes = 60,\n Autoscale = new Databricks.Inputs.ClusterAutoscaleArgs\n {\n MinWorkers = 1,\n MaxWorkers = 10,\n },\n });\n\n var clusterUsage = new Databricks.Permissions(\"cluster_usage\", new()\n {\n ClusterId = sharedAutoscaling.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_ATTACH_TO\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_RESTART\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = ds.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tds, err := databricks.NewGroup(ctx, \"ds\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Data Science\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlatest, err := databricks.GetSparkVersion(ctx, \u0026databricks.GetSparkVersionArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsmallest, err := databricks.GetNodeType(ctx, \u0026databricks.GetNodeTypeArgs{\n\t\t\tLocalDisk: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsharedAutoscaling, err := databricks.NewCluster(ctx, \"shared_autoscaling\", \u0026databricks.ClusterArgs{\n\t\t\tClusterName: pulumi.String(\"Shared Autoscaling\"),\n\t\t\tSparkVersion: pulumi.String(latest.Id),\n\t\t\tNodeTypeId: pulumi.String(smallest.Id),\n\t\t\tAutoterminationMinutes: pulumi.Int(60),\n\t\t\tAutoscale: \u0026databricks.ClusterAutoscaleArgs{\n\t\t\t\tMinWorkers: pulumi.Int(1),\n\t\t\t\tMaxWorkers: pulumi.Int(10),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"cluster_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tClusterId: sharedAutoscaling.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_ATTACH_TO\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RESTART\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: ds.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetSparkVersionArgs;\nimport com.pulumi.databricks.inputs.GetNodeTypeArgs;\nimport com.pulumi.databricks.Cluster;\nimport com.pulumi.databricks.ClusterArgs;\nimport com.pulumi.databricks.inputs.ClusterAutoscaleArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var ds = new Group(\"ds\", GroupArgs.builder()\n .displayName(\"Data Science\")\n .build());\n\n final var latest = DatabricksFunctions.getSparkVersion();\n\n final var smallest = DatabricksFunctions.getNodeType(GetNodeTypeArgs.builder()\n .localDisk(true)\n .build());\n\n var sharedAutoscaling = new Cluster(\"sharedAutoscaling\", ClusterArgs.builder()\n .clusterName(\"Shared Autoscaling\")\n .sparkVersion(latest.applyValue(getSparkVersionResult -\u003e getSparkVersionResult.id()))\n .nodeTypeId(smallest.applyValue(getNodeTypeResult -\u003e getNodeTypeResult.id()))\n .autoterminationMinutes(60)\n .autoscale(ClusterAutoscaleArgs.builder()\n .minWorkers(1)\n .maxWorkers(10)\n .build())\n .build());\n\n var clusterUsage = new Permissions(\"clusterUsage\", PermissionsArgs.builder()\n .clusterId(sharedAutoscaling.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_ATTACH_TO\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_RESTART\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(ds.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n ds:\n type: databricks:Group\n properties:\n displayName: Data Science\n sharedAutoscaling:\n type: databricks:Cluster\n name: shared_autoscaling\n properties:\n clusterName: Shared Autoscaling\n sparkVersion: ${latest.id}\n nodeTypeId: ${smallest.id}\n autoterminationMinutes: 60\n autoscale:\n minWorkers: 1\n maxWorkers: 10\n clusterUsage:\n type: databricks:Permissions\n name: cluster_usage\n properties:\n clusterId: ${sharedAutoscaling.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_ATTACH_TO\n - groupName: ${eng.displayName}\n permissionLevel: CAN_RESTART\n - groupName: ${ds.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n latest:\n fn::invoke:\n function: databricks:getSparkVersion\n arguments: {}\n smallest:\n fn::invoke:\n function: databricks:getNodeType\n arguments:\n localDisk: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Cluster Policy usage\n\nCluster policies allow creation of clusters, that match [given policy](https://docs.databricks.com/administration-guide/clusters/policies.html). It's possible to assign `CAN_USE` permission to users and groups:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ds = new databricks.Group(\"ds\", {displayName: \"Data Science\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst somethingSimple = new databricks.ClusterPolicy(\"something_simple\", {\n name: \"Some simple policy\",\n definition: JSON.stringify({\n \"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\": {\n type: \"forbidden\",\n },\n \"spark_conf.spark.secondkey\": {\n type: \"forbidden\",\n },\n }),\n});\nconst policyUsage = new databricks.Permissions(\"policy_usage\", {\n clusterPolicyId: somethingSimple.id,\n accessControls: [\n {\n groupName: ds.displayName,\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_USE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_databricks as databricks\n\nds = databricks.Group(\"ds\", display_name=\"Data Science\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nsomething_simple = databricks.ClusterPolicy(\"something_simple\",\n name=\"Some simple policy\",\n definition=json.dumps({\n \"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\": {\n \"type\": \"forbidden\",\n },\n \"spark_conf.spark.secondkey\": {\n \"type\": \"forbidden\",\n },\n }))\npolicy_usage = databricks.Permissions(\"policy_usage\",\n cluster_policy_id=something_simple.id,\n access_controls=[\n {\n \"group_name\": ds.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ds = new Databricks.Group(\"ds\", new()\n {\n DisplayName = \"Data Science\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var somethingSimple = new Databricks.ClusterPolicy(\"something_simple\", new()\n {\n Name = \"Some simple policy\",\n Definition = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"type\"] = \"forbidden\",\n },\n [\"spark_conf.spark.secondkey\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"type\"] = \"forbidden\",\n },\n }),\n });\n\n var policyUsage = new Databricks.Permissions(\"policy_usage\", new()\n {\n ClusterPolicyId = somethingSimple.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = ds.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tds, err := databricks.NewGroup(ctx, \"ds\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Data Science\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\": map[string]interface{}{\n\t\t\t\t\"type\": \"forbidden\",\n\t\t\t},\n\t\t\t\"spark_conf.spark.secondkey\": map[string]interface{}{\n\t\t\t\t\"type\": \"forbidden\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\tsomethingSimple, err := databricks.NewClusterPolicy(ctx, \"something_simple\", \u0026databricks.ClusterPolicyArgs{\n\t\t\tName: pulumi.String(\"Some simple policy\"),\n\t\t\tDefinition: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"policy_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tClusterPolicyId: somethingSimple.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: ds.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.ClusterPolicy;\nimport com.pulumi.databricks.ClusterPolicyArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ds = new Group(\"ds\", GroupArgs.builder()\n .displayName(\"Data Science\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var somethingSimple = new ClusterPolicy(\"somethingSimple\", ClusterPolicyArgs.builder()\n .name(\"Some simple policy\")\n .definition(serializeJson(\n jsonObject(\n jsonProperty(\"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\", jsonObject(\n jsonProperty(\"type\", \"forbidden\")\n )),\n jsonProperty(\"spark_conf.spark.secondkey\", jsonObject(\n jsonProperty(\"type\", \"forbidden\")\n ))\n )))\n .build());\n\n var policyUsage = new Permissions(\"policyUsage\", PermissionsArgs.builder()\n .clusterPolicyId(somethingSimple.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(ds.displayName())\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_USE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ds:\n type: databricks:Group\n properties:\n displayName: Data Science\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n somethingSimple:\n type: databricks:ClusterPolicy\n name: something_simple\n properties:\n name: Some simple policy\n definition:\n fn::toJSON:\n spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL:\n type: forbidden\n spark_conf.spark.secondkey:\n type: forbidden\n policyUsage:\n type: databricks:Permissions\n name: policy_usage\n properties:\n clusterPolicyId: ${somethingSimple.id}\n accessControls:\n - groupName: ${ds.displayName}\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_USE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Instance Pool usage\n\nInstance Pools access control [allows to](https://docs.databricks.com/security/access-control/pool-acl.html) assign `CAN_ATTACH_TO` and `CAN_MANAGE` permissions to users, service principals, and groups. It's also possible to grant creation of Instance Pools to individual groups and users, service principals.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst smallest = databricks.getNodeType({\n localDisk: true,\n});\nconst _this = new databricks.InstancePool(\"this\", {\n instancePoolName: \"Reserved Instances\",\n idleInstanceAutoterminationMinutes: 60,\n nodeTypeId: smallest.then(smallest =\u003e smallest.id),\n minIdleInstances: 0,\n maxCapacity: 10,\n});\nconst poolUsage = new databricks.Permissions(\"pool_usage\", {\n instancePoolId: _this.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_ATTACH_TO\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nsmallest = databricks.get_node_type(local_disk=True)\nthis = databricks.InstancePool(\"this\",\n instance_pool_name=\"Reserved Instances\",\n idle_instance_autotermination_minutes=60,\n node_type_id=smallest.id,\n min_idle_instances=0,\n max_capacity=10)\npool_usage = databricks.Permissions(\"pool_usage\",\n instance_pool_id=this.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_ATTACH_TO\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var smallest = Databricks.GetNodeType.Invoke(new()\n {\n LocalDisk = true,\n });\n\n var @this = new Databricks.InstancePool(\"this\", new()\n {\n InstancePoolName = \"Reserved Instances\",\n IdleInstanceAutoterminationMinutes = 60,\n NodeTypeId = smallest.Apply(getNodeTypeResult =\u003e getNodeTypeResult.Id),\n MinIdleInstances = 0,\n MaxCapacity = 10,\n });\n\n var poolUsage = new Databricks.Permissions(\"pool_usage\", new()\n {\n InstancePoolId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_ATTACH_TO\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsmallest, err := databricks.GetNodeType(ctx, \u0026databricks.GetNodeTypeArgs{\n\t\t\tLocalDisk: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewInstancePool(ctx, \"this\", \u0026databricks.InstancePoolArgs{\n\t\t\tInstancePoolName: pulumi.String(\"Reserved Instances\"),\n\t\t\tIdleInstanceAutoterminationMinutes: pulumi.Int(60),\n\t\t\tNodeTypeId: pulumi.String(smallest.Id),\n\t\t\tMinIdleInstances: pulumi.Int(0),\n\t\t\tMaxCapacity: pulumi.Int(10),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"pool_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tInstancePoolId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_ATTACH_TO\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetNodeTypeArgs;\nimport com.pulumi.databricks.InstancePool;\nimport com.pulumi.databricks.InstancePoolArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n final var smallest = DatabricksFunctions.getNodeType(GetNodeTypeArgs.builder()\n .localDisk(true)\n .build());\n\n var this_ = new InstancePool(\"this\", InstancePoolArgs.builder()\n .instancePoolName(\"Reserved Instances\")\n .idleInstanceAutoterminationMinutes(60)\n .nodeTypeId(smallest.applyValue(getNodeTypeResult -\u003e getNodeTypeResult.id()))\n .minIdleInstances(0)\n .maxCapacity(10)\n .build());\n\n var poolUsage = new Permissions(\"poolUsage\", PermissionsArgs.builder()\n .instancePoolId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_ATTACH_TO\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:InstancePool\n properties:\n instancePoolName: Reserved Instances\n idleInstanceAutoterminationMinutes: 60\n nodeTypeId: ${smallest.id}\n minIdleInstances: 0\n maxCapacity: 10\n poolUsage:\n type: databricks:Permissions\n name: pool_usage\n properties:\n instancePoolId: ${this.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_ATTACH_TO\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n smallest:\n fn::invoke:\n function: databricks:getNodeType\n arguments:\n localDisk: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Job usage\n\nThere are four assignable [permission levels](https://docs.databricks.com/security/access-control/jobs-acl.html#job-permissions) for databricks_job: `CAN_VIEW`, `CAN_MANAGE_RUN`, `IS_OWNER`, and `CAN_MANAGE`. Admins are granted the `CAN_MANAGE` permission by default, and they can assign that permission to non-admin users, and service principals.\n\n- The creator of a job has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a job would revert ownership to the creator.\n- A job must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the job. Nothing would change, per se, if the job was created through Pulumi.\n- A job cannot have a group as an owner.\n- Jobs triggered through _Run Now_ assume the permissions of the job owner and not the user, and service principal who issued Run Now.\n- Read [main documentation](https://docs.databricks.com/security/access-control/jobs-acl.html) for additional detail.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst awsPrincipal = new databricks.ServicePrincipal(\"aws_principal\", {displayName: \"main\"});\nconst latest = databricks.getSparkVersion({});\nconst smallest = databricks.getNodeType({\n localDisk: true,\n});\nconst _this = new databricks.Job(\"this\", {\n name: \"Featurization\",\n maxConcurrentRuns: 1,\n tasks: [{\n taskKey: \"task1\",\n newCluster: {\n numWorkers: 300,\n sparkVersion: latest.then(latest =\u003e latest.id),\n nodeTypeId: smallest.then(smallest =\u003e smallest.id),\n },\n notebookTask: {\n notebookPath: \"/Production/MakeFeatures\",\n },\n }],\n});\nconst jobUsage = new databricks.Permissions(\"job_usage\", {\n jobId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n servicePrincipalName: awsPrincipal.applicationId,\n permissionLevel: \"IS_OWNER\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\naws_principal = databricks.ServicePrincipal(\"aws_principal\", display_name=\"main\")\nlatest = databricks.get_spark_version()\nsmallest = databricks.get_node_type(local_disk=True)\nthis = databricks.Job(\"this\",\n name=\"Featurization\",\n max_concurrent_runs=1,\n tasks=[{\n \"task_key\": \"task1\",\n \"new_cluster\": {\n \"num_workers\": 300,\n \"spark_version\": latest.id,\n \"node_type_id\": smallest.id,\n },\n \"notebook_task\": {\n \"notebook_path\": \"/Production/MakeFeatures\",\n },\n }])\njob_usage = databricks.Permissions(\"job_usage\",\n job_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"service_principal_name\": aws_principal.application_id,\n \"permission_level\": \"IS_OWNER\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var awsPrincipal = new Databricks.ServicePrincipal(\"aws_principal\", new()\n {\n DisplayName = \"main\",\n });\n\n var latest = Databricks.GetSparkVersion.Invoke();\n\n var smallest = Databricks.GetNodeType.Invoke(new()\n {\n LocalDisk = true,\n });\n\n var @this = new Databricks.Job(\"this\", new()\n {\n Name = \"Featurization\",\n MaxConcurrentRuns = 1,\n Tasks = new[]\n {\n new Databricks.Inputs.JobTaskArgs\n {\n TaskKey = \"task1\",\n NewCluster = new Databricks.Inputs.JobTaskNewClusterArgs\n {\n NumWorkers = 300,\n SparkVersion = latest.Apply(getSparkVersionResult =\u003e getSparkVersionResult.Id),\n NodeTypeId = smallest.Apply(getNodeTypeResult =\u003e getNodeTypeResult.Id),\n },\n NotebookTask = new Databricks.Inputs.JobTaskNotebookTaskArgs\n {\n NotebookPath = \"/Production/MakeFeatures\",\n },\n },\n },\n });\n\n var jobUsage = new Databricks.Permissions(\"job_usage\", new()\n {\n JobId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n ServicePrincipalName = awsPrincipal.ApplicationId,\n PermissionLevel = \"IS_OWNER\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tawsPrincipal, err := databricks.NewServicePrincipal(ctx, \"aws_principal\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tDisplayName: pulumi.String(\"main\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlatest, err := databricks.GetSparkVersion(ctx, \u0026databricks.GetSparkVersionArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsmallest, err := databricks.GetNodeType(ctx, \u0026databricks.GetNodeTypeArgs{\n\t\t\tLocalDisk: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewJob(ctx, \"this\", \u0026databricks.JobArgs{\n\t\t\tName: pulumi.String(\"Featurization\"),\n\t\t\tMaxConcurrentRuns: pulumi.Int(1),\n\t\t\tTasks: databricks.JobTaskArray{\n\t\t\t\t\u0026databricks.JobTaskArgs{\n\t\t\t\t\tTaskKey: pulumi.String(\"task1\"),\n\t\t\t\t\tNewCluster: \u0026databricks.JobTaskNewClusterArgs{\n\t\t\t\t\t\tNumWorkers: pulumi.Int(300),\n\t\t\t\t\t\tSparkVersion: pulumi.String(latest.Id),\n\t\t\t\t\t\tNodeTypeId: pulumi.String(smallest.Id),\n\t\t\t\t\t},\n\t\t\t\t\tNotebookTask: \u0026databricks.JobTaskNotebookTaskArgs{\n\t\t\t\t\t\tNotebookPath: pulumi.String(\"/Production/MakeFeatures\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"job_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tJobId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tServicePrincipalName: awsPrincipal.ApplicationId,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"IS_OWNER\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetSparkVersionArgs;\nimport com.pulumi.databricks.inputs.GetNodeTypeArgs;\nimport com.pulumi.databricks.Job;\nimport com.pulumi.databricks.JobArgs;\nimport com.pulumi.databricks.inputs.JobTaskArgs;\nimport com.pulumi.databricks.inputs.JobTaskNewClusterArgs;\nimport com.pulumi.databricks.inputs.JobTaskNotebookTaskArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var awsPrincipal = new ServicePrincipal(\"awsPrincipal\", ServicePrincipalArgs.builder()\n .displayName(\"main\")\n .build());\n\n final var latest = DatabricksFunctions.getSparkVersion();\n\n final var smallest = DatabricksFunctions.getNodeType(GetNodeTypeArgs.builder()\n .localDisk(true)\n .build());\n\n var this_ = new Job(\"this\", JobArgs.builder()\n .name(\"Featurization\")\n .maxConcurrentRuns(1)\n .tasks(JobTaskArgs.builder()\n .taskKey(\"task1\")\n .newCluster(JobTaskNewClusterArgs.builder()\n .numWorkers(300)\n .sparkVersion(latest.applyValue(getSparkVersionResult -\u003e getSparkVersionResult.id()))\n .nodeTypeId(smallest.applyValue(getNodeTypeResult -\u003e getNodeTypeResult.id()))\n .build())\n .notebookTask(JobTaskNotebookTaskArgs.builder()\n .notebookPath(\"/Production/MakeFeatures\")\n .build())\n .build())\n .build());\n\n var jobUsage = new Permissions(\"jobUsage\", PermissionsArgs.builder()\n .jobId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .servicePrincipalName(awsPrincipal.applicationId())\n .permissionLevel(\"IS_OWNER\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n awsPrincipal:\n type: databricks:ServicePrincipal\n name: aws_principal\n properties:\n displayName: main\n this:\n type: databricks:Job\n properties:\n name: Featurization\n maxConcurrentRuns: 1\n tasks:\n - taskKey: task1\n newCluster:\n numWorkers: 300\n sparkVersion: ${latest.id}\n nodeTypeId: ${smallest.id}\n notebookTask:\n notebookPath: /Production/MakeFeatures\n jobUsage:\n type: databricks:Permissions\n name: job_usage\n properties:\n jobId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n - servicePrincipalName: ${awsPrincipal.applicationId}\n permissionLevel: IS_OWNER\nvariables:\n latest:\n fn::invoke:\n function: databricks:getSparkVersion\n arguments: {}\n smallest:\n fn::invoke:\n function: databricks:getNodeType\n arguments:\n localDisk: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Delta Live Tables usage\n\nThere are four assignable [permission levels](https://docs.databricks.com/security/access-control/dlt-acl.html#delta-live-tables-permissions) for databricks_pipeline: `CAN_VIEW`, `CAN_RUN`, `CAN_MANAGE`, and `IS_OWNER`. Admins are granted the `CAN_MANAGE` permission by default, and they can assign that permission to non-admin users, and service principals.\n\n- The creator of a DLT Pipeline has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a pipeline would revert ownership to the creator.\n- A DLT pipeline must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the pipeline. Nothing would change, per se, if the pipeline was created through Pulumi.\n- A DLT pipeline cannot have a group as an owner.\n- DLT Pipelines triggered through _Start_ assume the permissions of the pipeline owner and not the user, and service principal who issued Run Now.\n- Read [main documentation](https://docs.databricks.com/security/access-control/dlt-acl.html) for additional detail.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as std from \"@pulumi/std\";\n\nconst me = databricks.getCurrentUser({});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst dltDemo = new databricks.Notebook(\"dlt_demo\", {\n contentBase64: std.base64encode({\n input: `import dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n`,\n }).then(invoke =\u003e invoke.result),\n language: \"PYTHON\",\n path: me.then(me =\u003e `${me.home}/DLT_Demo`),\n});\nconst _this = new databricks.Pipeline(\"this\", {\n name: me.then(me =\u003e `DLT Demo Pipeline (${me.alphanumeric})`),\n storage: \"/test/tf-pipeline\",\n configuration: {\n key1: \"value1\",\n key2: \"value2\",\n },\n libraries: [{\n notebook: {\n path: dltDemo.id,\n },\n }],\n continuous: false,\n filters: {\n includes: [\"com.databricks.include\"],\n excludes: [\"com.databricks.exclude\"],\n },\n});\nconst dltUsage = new databricks.Permissions(\"dlt_usage\", {\n pipelineId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_std as std\n\nme = databricks.get_current_user()\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\ndlt_demo = databricks.Notebook(\"dlt_demo\",\n content_base64=std.base64encode(input=\"\"\"import dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n\"\"\").result,\n language=\"PYTHON\",\n path=f\"{me.home}/DLT_Demo\")\nthis = databricks.Pipeline(\"this\",\n name=f\"DLT Demo Pipeline ({me.alphanumeric})\",\n storage=\"/test/tf-pipeline\",\n configuration={\n \"key1\": \"value1\",\n \"key2\": \"value2\",\n },\n libraries=[{\n \"notebook\": {\n \"path\": dlt_demo.id,\n },\n }],\n continuous=False,\n filters={\n \"includes\": [\"com.databricks.include\"],\n \"excludes\": [\"com.databricks.exclude\"],\n })\ndlt_usage = databricks.Permissions(\"dlt_usage\",\n pipeline_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var dltDemo = new Databricks.Notebook(\"dlt_demo\", new()\n {\n ContentBase64 = Std.Base64encode.Invoke(new()\n {\n Input = @\"import dlt\njson_path = \"\"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\"\n@dlt.table(\n comment=\"\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"\"json\"\").load(json_path))\n\",\n }).Apply(invoke =\u003e invoke.Result),\n Language = \"PYTHON\",\n Path = $\"{me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Home)}/DLT_Demo\",\n });\n\n var @this = new Databricks.Pipeline(\"this\", new()\n {\n Name = $\"DLT Demo Pipeline ({me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Alphanumeric)})\",\n Storage = \"/test/tf-pipeline\",\n Configuration = \n {\n { \"key1\", \"value1\" },\n { \"key2\", \"value2\" },\n },\n Libraries = new[]\n {\n new Databricks.Inputs.PipelineLibraryArgs\n {\n Notebook = new Databricks.Inputs.PipelineLibraryNotebookArgs\n {\n Path = dltDemo.Id,\n },\n },\n },\n Continuous = false,\n Filters = new Databricks.Inputs.PipelineFiltersArgs\n {\n Includes = new[]\n {\n \"com.databricks.include\",\n },\n Excludes = new[]\n {\n \"com.databricks.exclude\",\n },\n },\n });\n\n var dltUsage = new Databricks.Permissions(\"dlt_usage\", new()\n {\n PipelineId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tme, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: `import dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n`,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdltDemo, err := databricks.NewNotebook(ctx, \"dlt_demo\", \u0026databricks.NotebookArgs{\n\t\t\tContentBase64: pulumi.String(invokeBase64encode.Result),\n\t\t\tLanguage: pulumi.String(\"PYTHON\"),\n\t\t\tPath: pulumi.Sprintf(\"%v/DLT_Demo\", me.Home),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewPipeline(ctx, \"this\", \u0026databricks.PipelineArgs{\n\t\t\tName: pulumi.Sprintf(\"DLT Demo Pipeline (%v)\", me.Alphanumeric),\n\t\t\tStorage: pulumi.String(\"/test/tf-pipeline\"),\n\t\t\tConfiguration: pulumi.StringMap{\n\t\t\t\t\"key1\": pulumi.String(\"value1\"),\n\t\t\t\t\"key2\": pulumi.String(\"value2\"),\n\t\t\t},\n\t\t\tLibraries: databricks.PipelineLibraryArray{\n\t\t\t\t\u0026databricks.PipelineLibraryArgs{\n\t\t\t\t\tNotebook: \u0026databricks.PipelineLibraryNotebookArgs{\n\t\t\t\t\t\tPath: dltDemo.ID(),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tContinuous: pulumi.Bool(false),\n\t\t\tFilters: \u0026databricks.PipelineFiltersArgs{\n\t\t\t\tIncludes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"com.databricks.include\"),\n\t\t\t\t},\n\t\t\t\tExcludes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"com.databricks.exclude\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"dlt_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tPipelineId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Notebook;\nimport com.pulumi.databricks.NotebookArgs;\nimport com.pulumi.databricks.Pipeline;\nimport com.pulumi.databricks.PipelineArgs;\nimport com.pulumi.databricks.inputs.PipelineLibraryArgs;\nimport com.pulumi.databricks.inputs.PipelineLibraryNotebookArgs;\nimport com.pulumi.databricks.inputs.PipelineFiltersArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var dltDemo = new Notebook(\"dltDemo\", NotebookArgs.builder()\n .contentBase64(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"\"\"\nimport dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n \"\"\")\n .build()).result())\n .language(\"PYTHON\")\n .path(String.format(\"%s/DLT_Demo\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.home())))\n .build());\n\n var this_ = new Pipeline(\"this\", PipelineArgs.builder()\n .name(String.format(\"DLT Demo Pipeline (%s)\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.alphanumeric())))\n .storage(\"/test/tf-pipeline\")\n .configuration(Map.ofEntries(\n Map.entry(\"key1\", \"value1\"),\n Map.entry(\"key2\", \"value2\")\n ))\n .libraries(PipelineLibraryArgs.builder()\n .notebook(PipelineLibraryNotebookArgs.builder()\n .path(dltDemo.id())\n .build())\n .build())\n .continuous(false)\n .filters(PipelineFiltersArgs.builder()\n .includes(\"com.databricks.include\")\n .excludes(\"com.databricks.exclude\")\n .build())\n .build());\n\n var dltUsage = new Permissions(\"dltUsage\", PermissionsArgs.builder()\n .pipelineId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n dltDemo:\n type: databricks:Notebook\n name: dlt_demo\n properties:\n contentBase64:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: |\n import dlt\n json_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n @dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n )\n def clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n return: result\n language: PYTHON\n path: ${me.home}/DLT_Demo\n this:\n type: databricks:Pipeline\n properties:\n name: DLT Demo Pipeline (${me.alphanumeric})\n storage: /test/tf-pipeline\n configuration:\n key1: value1\n key2: value2\n libraries:\n - notebook:\n path: ${dltDemo.id}\n continuous: false\n filters:\n includes:\n - com.databricks.include\n excludes:\n - com.databricks.exclude\n dltUsage:\n type: databricks:Permissions\n name: dlt_usage\n properties:\n pipelineId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n me:\n fn::invoke:\n function: databricks:getCurrentUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Notebook usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#notebook-permissions) for databricks.Notebook are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.\n\nA notebook could be specified by using either `notebook_path` or `notebook_id` attribute. The value for the `notebook_id` is the object ID of the resource in the Databricks Workspace that is exposed as `object_id` attribute of the `databricks.Notebook` resource as shown below.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as std from \"@pulumi/std\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.Notebook(\"this\", {\n contentBase64: std.base64encode({\n input: \"# Welcome to your Python notebook\",\n }).then(invoke =\u003e invoke.result),\n path: \"/Production/ETL/Features\",\n language: \"PYTHON\",\n});\nconst notebookUsageByPath = new databricks.Permissions(\"notebook_usage_by_path\", {\n notebookPath: _this.path,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\nconst notebookUsageById = new databricks.Permissions(\"notebook_usage_by_id\", {\n notebookId: _this.objectId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_std as std\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.Notebook(\"this\",\n content_base64=std.base64encode(input=\"# Welcome to your Python notebook\").result,\n path=\"/Production/ETL/Features\",\n language=\"PYTHON\")\nnotebook_usage_by_path = databricks.Permissions(\"notebook_usage_by_path\",\n notebook_path=this.path,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\nnotebook_usage_by_id = databricks.Permissions(\"notebook_usage_by_id\",\n notebook_id=this.object_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.Notebook(\"this\", new()\n {\n ContentBase64 = Std.Base64encode.Invoke(new()\n {\n Input = \"# Welcome to your Python notebook\",\n }).Apply(invoke =\u003e invoke.Result),\n Path = \"/Production/ETL/Features\",\n Language = \"PYTHON\",\n });\n\n var notebookUsageByPath = new Databricks.Permissions(\"notebook_usage_by_path\", new()\n {\n NotebookPath = @this.Path,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n var notebookUsageById = new Databricks.Permissions(\"notebook_usage_by_id\", new()\n {\n NotebookId = @this.ObjectId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: \"# Welcome to your Python notebook\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewNotebook(ctx, \"this\", \u0026databricks.NotebookArgs{\n\t\t\tContentBase64: pulumi.String(invokeBase64encode.Result),\n\t\t\tPath: pulumi.String(\"/Production/ETL/Features\"),\n\t\t\tLanguage: pulumi.String(\"PYTHON\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"notebook_usage_by_path\", \u0026databricks.PermissionsArgs{\n\t\t\tNotebookPath: this.Path,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"notebook_usage_by_id\", \u0026databricks.PermissionsArgs{\n\t\t\tNotebookId: this.ObjectId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Notebook;\nimport com.pulumi.databricks.NotebookArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new Notebook(\"this\", NotebookArgs.builder()\n .contentBase64(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"# Welcome to your Python notebook\")\n .build()).result())\n .path(\"/Production/ETL/Features\")\n .language(\"PYTHON\")\n .build());\n\n var notebookUsageByPath = new Permissions(\"notebookUsageByPath\", PermissionsArgs.builder()\n .notebookPath(this_.path())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n var notebookUsageById = new Permissions(\"notebookUsageById\", PermissionsArgs.builder()\n .notebookId(this_.objectId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:Notebook\n properties:\n contentBase64:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: '# Welcome to your Python notebook'\n return: result\n path: /Production/ETL/Features\n language: PYTHON\n notebookUsageByPath:\n type: databricks:Permissions\n name: notebook_usage_by_path\n properties:\n notebookPath: ${this.path}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n notebookUsageById:\n type: databricks:Permissions\n name: notebook_usage_by_id\n properties:\n notebookId: ${this.objectId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e when importing a permissions resource, only the `notebook_id` is filled!\n\n## Workspace file usage\n\nValid permission levels for databricks.WorkspaceFile are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.\n\nA workspace file could be specified by using either `workspace_file_path` or `workspace_file_id` attribute. The value for the `workspace_file_id` is the object ID of the resource in the Databricks Workspace that is exposed as `object_id` attribute of the `databricks.WorkspaceFile` resource as shown below.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as std from \"@pulumi/std\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.WorkspaceFile(\"this\", {\n contentBase64: std.base64encode({\n input: \"print('Hello World')\",\n }).then(invoke =\u003e invoke.result),\n path: \"/Production/ETL/Features.py\",\n});\nconst workspaceFileUsageByPath = new databricks.Permissions(\"workspace_file_usage_by_path\", {\n workspaceFilePath: _this.path,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\nconst workspaceFileUsageById = new databricks.Permissions(\"workspace_file_usage_by_id\", {\n workspaceFileId: _this.objectId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_std as std\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.WorkspaceFile(\"this\",\n content_base64=std.base64encode(input=\"print('Hello World')\").result,\n path=\"/Production/ETL/Features.py\")\nworkspace_file_usage_by_path = databricks.Permissions(\"workspace_file_usage_by_path\",\n workspace_file_path=this.path,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\nworkspace_file_usage_by_id = databricks.Permissions(\"workspace_file_usage_by_id\",\n workspace_file_id=this.object_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.WorkspaceFile(\"this\", new()\n {\n ContentBase64 = Std.Base64encode.Invoke(new()\n {\n Input = \"print('Hello World')\",\n }).Apply(invoke =\u003e invoke.Result),\n Path = \"/Production/ETL/Features.py\",\n });\n\n var workspaceFileUsageByPath = new Databricks.Permissions(\"workspace_file_usage_by_path\", new()\n {\n WorkspaceFilePath = @this.Path,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n var workspaceFileUsageById = new Databricks.Permissions(\"workspace_file_usage_by_id\", new()\n {\n WorkspaceFileId = @this.ObjectId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: \"print('Hello World')\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewWorkspaceFile(ctx, \"this\", \u0026databricks.WorkspaceFileArgs{\n\t\t\tContentBase64: pulumi.String(invokeBase64encode.Result),\n\t\t\tPath: pulumi.String(\"/Production/ETL/Features.py\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"workspace_file_usage_by_path\", \u0026databricks.PermissionsArgs{\n\t\t\tWorkspaceFilePath: this.Path,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"workspace_file_usage_by_id\", \u0026databricks.PermissionsArgs{\n\t\t\tWorkspaceFileId: this.ObjectId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.WorkspaceFile;\nimport com.pulumi.databricks.WorkspaceFileArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new WorkspaceFile(\"this\", WorkspaceFileArgs.builder()\n .contentBase64(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"print('Hello World')\")\n .build()).result())\n .path(\"/Production/ETL/Features.py\")\n .build());\n\n var workspaceFileUsageByPath = new Permissions(\"workspaceFileUsageByPath\", PermissionsArgs.builder()\n .workspaceFilePath(this_.path())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n var workspaceFileUsageById = new Permissions(\"workspaceFileUsageById\", PermissionsArgs.builder()\n .workspaceFileId(this_.objectId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:WorkspaceFile\n properties:\n contentBase64:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: print('Hello World')\n return: result\n path: /Production/ETL/Features.py\n workspaceFileUsageByPath:\n type: databricks:Permissions\n name: workspace_file_usage_by_path\n properties:\n workspaceFilePath: ${this.path}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n workspaceFileUsageById:\n type: databricks:Permissions\n name: workspace_file_usage_by_id\n properties:\n workspaceFileId: ${this.objectId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e when importing a permissions resource, only the `workspace_file_id` is filled!\n\n## Folder usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#folder-permissions) for folders of databricks.Directory are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`. Notebooks and experiments in a folder inherit all permissions settings of that folder. For example, a user (or service principal) that has `CAN_RUN` permission on a folder has `CAN_RUN` permission on the notebooks in that folder.\n\n- All users can list items in the folder without any permissions.\n- All users (or service principals) have `CAN_MANAGE` permission for items in the Workspace \u003e Shared Icon Shared folder. You can grant `CAN_MANAGE` permission to notebooks and folders by moving them to the Shared Icon Shared folder.\n- All users (or service principals) have `CAN_MANAGE` permission for objects the user creates.\n- User home directory - The user (or service principal) has `CAN_MANAGE` permission. All other users (or service principals) can list their directories.\n\nA folder could be specified by using either `directory_path` or `directory_id` attribute. The value for the `directory_id` is the object ID of the resource in the Databricks Workspace that is exposed as `object_id` attribute of the `databricks.Directory` resource as shown below.\n\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.Directory(\"this\", {path: \"/Production/ETL\"});\nconst folderUsageByPath = new databricks.Permissions(\"folder_usage_by_path\", {\n directoryPath: _this.path,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\nconst folderUsageById = new databricks.Permissions(\"folder_usage_by_id\", {\n directoryId: _this.objectId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.Directory(\"this\", path=\"/Production/ETL\")\nfolder_usage_by_path = databricks.Permissions(\"folder_usage_by_path\",\n directory_path=this.path,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\nfolder_usage_by_id = databricks.Permissions(\"folder_usage_by_id\",\n directory_id=this.object_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.Directory(\"this\", new()\n {\n Path = \"/Production/ETL\",\n });\n\n var folderUsageByPath = new Databricks.Permissions(\"folder_usage_by_path\", new()\n {\n DirectoryPath = @this.Path,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n var folderUsageById = new Databricks.Permissions(\"folder_usage_by_id\", new()\n {\n DirectoryId = @this.ObjectId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewDirectory(ctx, \"this\", \u0026databricks.DirectoryArgs{\n\t\t\tPath: pulumi.String(\"/Production/ETL\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"folder_usage_by_path\", \u0026databricks.PermissionsArgs{\n\t\t\tDirectoryPath: this.Path,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"folder_usage_by_id\", \u0026databricks.PermissionsArgs{\n\t\t\tDirectoryId: this.ObjectId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Directory;\nimport com.pulumi.databricks.DirectoryArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new Directory(\"this\", DirectoryArgs.builder()\n .path(\"/Production/ETL\")\n .build());\n\n var folderUsageByPath = new Permissions(\"folderUsageByPath\", PermissionsArgs.builder()\n .directoryPath(this_.path())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n var folderUsageById = new Permissions(\"folderUsageById\", PermissionsArgs.builder()\n .directoryId(this_.objectId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:Directory\n properties:\n path: /Production/ETL\n folderUsageByPath:\n type: databricks:Permissions\n name: folder_usage_by_path\n properties:\n directoryPath: ${this.path}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n folderUsageById:\n type: databricks:Permissions\n name: folder_usage_by_id\n properties:\n directoryId: ${this.objectId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e when importing a permissions resource, only the `directory_id` is filled!\n\n## Repos usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html) for databricks.Repo are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.Repo(\"this\", {url: \"https://github.com/user/demo.git\"});\nconst repoUsage = new databricks.Permissions(\"repo_usage\", {\n repoId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.Repo(\"this\", url=\"https://github.com/user/demo.git\")\nrepo_usage = databricks.Permissions(\"repo_usage\",\n repo_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.Repo(\"this\", new()\n {\n Url = \"https://github.com/user/demo.git\",\n });\n\n var repoUsage = new Databricks.Permissions(\"repo_usage\", new()\n {\n RepoId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewRepo(ctx, \"this\", \u0026databricks.RepoArgs{\n\t\t\tUrl: pulumi.String(\"https://github.com/user/demo.git\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"repo_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tRepoId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Repo;\nimport com.pulumi.databricks.RepoArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new Repo(\"this\", RepoArgs.builder()\n .url(\"https://github.com/user/demo.git\")\n .build());\n\n var repoUsage = new Permissions(\"repoUsage\", PermissionsArgs.builder()\n .repoId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:Repo\n properties:\n url: https://github.com/user/demo.git\n repoUsage:\n type: databricks:Permissions\n name: repo_usage\n properties:\n repoId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## MLflow Experiment usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#mlflow-experiment-permissions-1) for databricks.MlflowExperiment are: `CAN_READ`, `CAN_EDIT`, and `CAN_MANAGE`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = databricks.getCurrentUser({});\nconst _this = new databricks.MlflowExperiment(\"this\", {\n name: me.then(me =\u003e `${me.home}/Sample`),\n artifactLocation: \"dbfs:/tmp/my-experiment\",\n description: \"My MLflow experiment description\",\n});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst experimentUsage = new databricks.Permissions(\"experiment_usage\", {\n experimentId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_current_user()\nthis = databricks.MlflowExperiment(\"this\",\n name=f\"{me.home}/Sample\",\n artifact_location=\"dbfs:/tmp/my-experiment\",\n description=\"My MLflow experiment description\")\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nexperiment_usage = databricks.Permissions(\"experiment_usage\",\n experiment_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var @this = new Databricks.MlflowExperiment(\"this\", new()\n {\n Name = $\"{me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Home)}/Sample\",\n ArtifactLocation = \"dbfs:/tmp/my-experiment\",\n Description = \"My MLflow experiment description\",\n });\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var experimentUsage = new Databricks.Permissions(\"experiment_usage\", new()\n {\n ExperimentId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tme, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewMlflowExperiment(ctx, \"this\", \u0026databricks.MlflowExperimentArgs{\n\t\t\tName: pulumi.Sprintf(\"%v/Sample\", me.Home),\n\t\t\tArtifactLocation: pulumi.String(\"dbfs:/tmp/my-experiment\"),\n\t\t\tDescription: pulumi.String(\"My MLflow experiment description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"experiment_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tExperimentId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.MlflowExperiment;\nimport com.pulumi.databricks.MlflowExperimentArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var this_ = new MlflowExperiment(\"this\", MlflowExperimentArgs.builder()\n .name(String.format(\"%s/Sample\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.home())))\n .artifactLocation(\"dbfs:/tmp/my-experiment\")\n .description(\"My MLflow experiment description\")\n .build());\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var experimentUsage = new Permissions(\"experimentUsage\", PermissionsArgs.builder()\n .experimentId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MlflowExperiment\n properties:\n name: ${me.home}/Sample\n artifactLocation: dbfs:/tmp/my-experiment\n description: My MLflow experiment description\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n experimentUsage:\n type: databricks:Permissions\n name: experiment_usage\n properties:\n experimentId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\nvariables:\n me:\n fn::invoke:\n function: databricks:getCurrentUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## MLflow Model usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#mlflow-model-permissions-1) for databricks.MlflowModel are: `CAN_READ`, `CAN_EDIT`, `CAN_MANAGE_STAGING_VERSIONS`, `CAN_MANAGE_PRODUCTION_VERSIONS`, and `CAN_MANAGE`. You can also manage permissions for all MLflow models by `registered_model_id = \"root\"`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MlflowModel(\"this\", {name: \"SomePredictions\"});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst modelUsage = new databricks.Permissions(\"model_usage\", {\n registeredModelId: _this.registeredModelId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE_PRODUCTION_VERSIONS\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE_STAGING_VERSIONS\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MlflowModel(\"this\", name=\"SomePredictions\")\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nmodel_usage = databricks.Permissions(\"model_usage\",\n registered_model_id=this.registered_model_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE_PRODUCTION_VERSIONS\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE_STAGING_VERSIONS\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MlflowModel(\"this\", new()\n {\n Name = \"SomePredictions\",\n });\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var modelUsage = new Databricks.Permissions(\"model_usage\", new()\n {\n RegisteredModelId = @this.RegisteredModelId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE_PRODUCTION_VERSIONS\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE_STAGING_VERSIONS\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewMlflowModel(ctx, \"this\", \u0026databricks.MlflowModelArgs{\n\t\t\tName: pulumi.String(\"SomePredictions\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"model_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tRegisteredModelId: this.RegisteredModelId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE_PRODUCTION_VERSIONS\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE_STAGING_VERSIONS\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MlflowModel;\nimport com.pulumi.databricks.MlflowModelArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MlflowModel(\"this\", MlflowModelArgs.builder()\n .name(\"SomePredictions\")\n .build());\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var modelUsage = new Permissions(\"modelUsage\", PermissionsArgs.builder()\n .registeredModelId(this_.registeredModelId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE_PRODUCTION_VERSIONS\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE_STAGING_VERSIONS\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MlflowModel\n properties:\n name: SomePredictions\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n modelUsage:\n type: databricks:Permissions\n name: model_usage\n properties:\n registeredModelId: ${this.registeredModelId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE_PRODUCTION_VERSIONS\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE_STAGING_VERSIONS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Model serving usage\n\nValid permission levels for databricks.ModelServing are: `CAN_VIEW`, `CAN_QUERY`, and `CAN_MANAGE`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.ModelServing(\"this\", {\n name: \"tf-test\",\n config: {\n servedModels: [{\n name: \"prod_model\",\n modelName: \"test\",\n modelVersion: \"1\",\n workloadSize: \"Small\",\n scaleToZeroEnabled: true,\n }],\n },\n});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst mlServingUsage = new databricks.Permissions(\"ml_serving_usage\", {\n servingEndpointId: _this.servingEndpointId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_QUERY\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.ModelServing(\"this\",\n name=\"tf-test\",\n config={\n \"served_models\": [{\n \"name\": \"prod_model\",\n \"model_name\": \"test\",\n \"model_version\": \"1\",\n \"workload_size\": \"Small\",\n \"scale_to_zero_enabled\": True,\n }],\n })\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nml_serving_usage = databricks.Permissions(\"ml_serving_usage\",\n serving_endpoint_id=this.serving_endpoint_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_QUERY\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.ModelServing(\"this\", new()\n {\n Name = \"tf-test\",\n Config = new Databricks.Inputs.ModelServingConfigArgs\n {\n ServedModels = new[]\n {\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n Name = \"prod_model\",\n ModelName = \"test\",\n ModelVersion = \"1\",\n WorkloadSize = \"Small\",\n ScaleToZeroEnabled = true,\n },\n },\n },\n });\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var mlServingUsage = new Databricks.Permissions(\"ml_serving_usage\", new()\n {\n ServingEndpointId = @this.ServingEndpointId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_QUERY\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewModelServing(ctx, \"this\", \u0026databricks.ModelServingArgs{\n\t\t\tName: pulumi.String(\"tf-test\"),\n\t\t\tConfig: \u0026databricks.ModelServingConfigArgs{\n\t\t\t\tServedModels: databricks.ModelServingConfigServedModelArray{\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\tModelName: pulumi.String(\"test\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"1\"),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"ml_serving_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tServingEndpointId: this.ServingEndpointId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_QUERY\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ModelServing;\nimport com.pulumi.databricks.ModelServingArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new ModelServing(\"this\", ModelServingArgs.builder()\n .name(\"tf-test\")\n .config(ModelServingConfigArgs.builder()\n .servedModels(ModelServingConfigServedModelArgs.builder()\n .name(\"prod_model\")\n .modelName(\"test\")\n .modelVersion(\"1\")\n .workloadSize(\"Small\")\n .scaleToZeroEnabled(true)\n .build())\n .build())\n .build());\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var mlServingUsage = new Permissions(\"mlServingUsage\", PermissionsArgs.builder()\n .servingEndpointId(this_.servingEndpointId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_QUERY\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:ModelServing\n properties:\n name: tf-test\n config:\n servedModels:\n - name: prod_model\n modelName: test\n modelVersion: '1'\n workloadSize: Small\n scaleToZeroEnabled: true\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n mlServingUsage:\n type: databricks:Permissions\n name: ml_serving_usage\n properties:\n servingEndpointId: ${this.servingEndpointId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_QUERY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Passwords usage\n\nBy default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst guests = new databricks.Group(\"guests\", {displayName: \"Guest Users\"});\nconst passwordUsage = new databricks.Permissions(\"password_usage\", {\n authorization: \"passwords\",\n accessControls: [{\n groupName: guests.displayName,\n permissionLevel: \"CAN_USE\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nguests = databricks.Group(\"guests\", display_name=\"Guest Users\")\npassword_usage = databricks.Permissions(\"password_usage\",\n authorization=\"passwords\",\n access_controls=[{\n \"group_name\": guests.display_name,\n \"permission_level\": \"CAN_USE\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var guests = new Databricks.Group(\"guests\", new()\n {\n DisplayName = \"Guest Users\",\n });\n\n var passwordUsage = new Databricks.Permissions(\"password_usage\", new()\n {\n Authorization = \"passwords\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = guests.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tguests, err := databricks.NewGroup(ctx, \"guests\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Guest Users\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"password_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tAuthorization: pulumi.String(\"passwords\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: guests.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var guests = new Group(\"guests\", GroupArgs.builder()\n .displayName(\"Guest Users\")\n .build());\n\n var passwordUsage = new Permissions(\"passwordUsage\", PermissionsArgs.builder()\n .authorization(\"passwords\")\n .accessControls(PermissionsAccessControlArgs.builder()\n .groupName(guests.displayName())\n .permissionLevel(\"CAN_USE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n guests:\n type: databricks:Group\n properties:\n displayName: Guest Users\n passwordUsage:\n type: databricks:Permissions\n name: password_usage\n properties:\n authorization: passwords\n accessControls:\n - groupName: ${guests.displayName}\n permissionLevel: CAN_USE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Token usage\n\nIt is required to have at least 1 personal access token in the workspace before you can manage tokens permissions.\n\n!\u003e **Warning** There can be only one `authorization = \"tokens\"` permissions resource per workspace, otherwise there'll be a permanent configuration drift. After applying changes, users who previously had either `CAN_USE` or `CAN_MANAGE` permission but no longer have either permission have their access to token-based authentication revoked. Their active tokens are immediately deleted (revoked).\n\nOnly [possible permission](https://docs.databricks.com/administration-guide/access-control/tokens.html) to assign to non-admin group is `CAN_USE`, where _admins_ `CAN_MANAGE` all tokens:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst tokenUsage = new databricks.Permissions(\"token_usage\", {\n authorization: \"tokens\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_USE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\ntoken_usage = databricks.Permissions(\"token_usage\",\n authorization=\"tokens\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var tokenUsage = new Databricks.Permissions(\"token_usage\", new()\n {\n Authorization = \"tokens\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"token_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tAuthorization: pulumi.String(\"tokens\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var tokenUsage = new Permissions(\"tokenUsage\", PermissionsArgs.builder()\n .authorization(\"tokens\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_USE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n tokenUsage:\n type: databricks:Permissions\n name: token_usage\n properties:\n authorization: tokens\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_USE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## SQL warehouse usage\n\n[SQL warehouses](https://docs.databricks.com/sql/user/security/access-control/sql-endpoint-acl.html) have four possible permissions: `CAN_USE`, `CAN_MONITOR`, `CAN_MANAGE` and `IS_OWNER`:\n\n- The creator of a warehouse has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a warehouse would revert ownership to the creator.\n- A warehouse must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the warehouse. Nothing would change, per se, if the warehouse was created through Pulumi.\n- A warehouse cannot have a group as an owner.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = databricks.getCurrentUser({});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.SqlEndpoint(\"this\", {\n name: me.then(me =\u003e `Endpoint of ${me.alphanumeric}`),\n clusterSize: \"Small\",\n maxNumClusters: 1,\n tags: {\n customTags: [{\n key: \"City\",\n value: \"Amsterdam\",\n }],\n },\n});\nconst endpointUsage = new databricks.Permissions(\"endpoint_usage\", {\n sqlEndpointId: _this.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_current_user()\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.SqlEndpoint(\"this\",\n name=f\"Endpoint of {me.alphanumeric}\",\n cluster_size=\"Small\",\n max_num_clusters=1,\n tags={\n \"custom_tags\": [{\n \"key\": \"City\",\n \"value\": \"Amsterdam\",\n }],\n })\nendpoint_usage = databricks.Permissions(\"endpoint_usage\",\n sql_endpoint_id=this.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.SqlEndpoint(\"this\", new()\n {\n Name = $\"Endpoint of {me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Alphanumeric)}\",\n ClusterSize = \"Small\",\n MaxNumClusters = 1,\n Tags = new Databricks.Inputs.SqlEndpointTagsArgs\n {\n CustomTags = new[]\n {\n new Databricks.Inputs.SqlEndpointTagsCustomTagArgs\n {\n Key = \"City\",\n Value = \"Amsterdam\",\n },\n },\n },\n });\n\n var endpointUsage = new Databricks.Permissions(\"endpoint_usage\", new()\n {\n SqlEndpointId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tme, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewSqlEndpoint(ctx, \"this\", \u0026databricks.SqlEndpointArgs{\n\t\t\tName: pulumi.Sprintf(\"Endpoint of %v\", me.Alphanumeric),\n\t\t\tClusterSize: pulumi.String(\"Small\"),\n\t\t\tMaxNumClusters: pulumi.Int(1),\n\t\t\tTags: \u0026databricks.SqlEndpointTagsArgs{\n\t\t\t\tCustomTags: databricks.SqlEndpointTagsCustomTagArray{\n\t\t\t\t\t\u0026databricks.SqlEndpointTagsCustomTagArgs{\n\t\t\t\t\t\tKey: pulumi.String(\"City\"),\n\t\t\t\t\t\tValue: pulumi.String(\"Amsterdam\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"endpoint_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlEndpointId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.SqlEndpoint;\nimport com.pulumi.databricks.SqlEndpointArgs;\nimport com.pulumi.databricks.inputs.SqlEndpointTagsArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new SqlEndpoint(\"this\", SqlEndpointArgs.builder()\n .name(String.format(\"Endpoint of %s\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.alphanumeric())))\n .clusterSize(\"Small\")\n .maxNumClusters(1)\n .tags(SqlEndpointTagsArgs.builder()\n .customTags(SqlEndpointTagsCustomTagArgs.builder()\n .key(\"City\")\n .value(\"Amsterdam\")\n .build())\n .build())\n .build());\n\n var endpointUsage = new Permissions(\"endpointUsage\", PermissionsArgs.builder()\n .sqlEndpointId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:SqlEndpoint\n properties:\n name: Endpoint of ${me.alphanumeric}\n clusterSize: Small\n maxNumClusters: 1\n tags:\n customTags:\n - key: City\n value: Amsterdam\n endpointUsage:\n type: databricks:Permissions\n name: endpoint_usage\n properties:\n sqlEndpointId: ${this.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n me:\n fn::invoke:\n function: databricks:getCurrentUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Dashboard usage\n\n[Dashboards](https://docs.databricks.com/en/dashboards/tutorials/manage-permissions.html) have four possible permissions: `CAN_READ`, `CAN_RUN`, `CAN_EDIT` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst dashboard = new databricks.Dashboard(\"dashboard\", {displayName: \"TF New Dashboard\"});\nconst dashboardUsage = new databricks.Permissions(\"dashboard_usage\", {\n dashboardId: dashboard.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\ndashboard = databricks.Dashboard(\"dashboard\", display_name=\"TF New Dashboard\")\ndashboard_usage = databricks.Permissions(\"dashboard_usage\",\n dashboard_id=dashboard.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var dashboard = new Databricks.Dashboard(\"dashboard\", new()\n {\n DisplayName = \"TF New Dashboard\",\n });\n\n var dashboardUsage = new Databricks.Permissions(\"dashboard_usage\", new()\n {\n DashboardId = dashboard.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdashboard, err := databricks.NewDashboard(ctx, \"dashboard\", \u0026databricks.DashboardArgs{\n\t\t\tDisplayName: pulumi.String(\"TF New Dashboard\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"dashboard_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tDashboardId: dashboard.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Dashboard;\nimport com.pulumi.databricks.DashboardArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var dashboard = new Dashboard(\"dashboard\", DashboardArgs.builder()\n .displayName(\"TF New Dashboard\")\n .build());\n\n var dashboardUsage = new Permissions(\"dashboardUsage\", PermissionsArgs.builder()\n .dashboardId(dashboard.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n dashboard:\n type: databricks:Dashboard\n properties:\n displayName: TF New Dashboard\n dashboardUsage:\n type: databricks:Permissions\n name: dashboard_usage\n properties:\n dashboardId: ${dashboard.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Legacy SQL Dashboard usage\n\n[Legacy SQL dashboards](https://docs.databricks.com/sql/user/security/access-control/dashboard-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst sqlDashboardUsage = new databricks.Permissions(\"sql_dashboard_usage\", {\n sqlDashboardId: \"3244325\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nsql_dashboard_usage = databricks.Permissions(\"sql_dashboard_usage\",\n sql_dashboard_id=\"3244325\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var sqlDashboardUsage = new Databricks.Permissions(\"sql_dashboard_usage\", new()\n {\n SqlDashboardId = \"3244325\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"sql_dashboard_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlDashboardId: pulumi.String(\"3244325\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var sqlDashboardUsage = new Permissions(\"sqlDashboardUsage\", PermissionsArgs.builder()\n .sqlDashboardId(\"3244325\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n sqlDashboardUsage:\n type: databricks:Permissions\n name: sql_dashboard_usage\n properties:\n sqlDashboardId: '3244325'\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## SQL Query usage\n\n[SQL queries](https://docs.databricks.com/sql/user/security/access-control/query-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:\n\n\u003e If you do not define an `access_control` block granting `CAN_MANAGE` explictly for the user calling this provider, Databricks Pulumi Provider will add `CAN_MANAGE` permission for the caller. This is a failsafe to prevent situations where the caller is locked out from making changes to the targeted `databricks.SqlQuery` resource when backend API do not apply permission inheritance correctly.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst queryUsage = new databricks.Permissions(\"query_usage\", {\n sqlQueryId: \"3244325\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nquery_usage = databricks.Permissions(\"query_usage\",\n sql_query_id=\"3244325\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var queryUsage = new Databricks.Permissions(\"query_usage\", new()\n {\n SqlQueryId = \"3244325\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"query_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlQueryId: pulumi.String(\"3244325\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var queryUsage = new Permissions(\"queryUsage\", PermissionsArgs.builder()\n .sqlQueryId(\"3244325\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n queryUsage:\n type: databricks:Permissions\n name: query_usage\n properties:\n sqlQueryId: '3244325'\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## SQL Alert usage\n\n[SQL alerts](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst alertUsage = new databricks.Permissions(\"alert_usage\", {\n sqlAlertId: \"3244325\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nalert_usage = databricks.Permissions(\"alert_usage\",\n sql_alert_id=\"3244325\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var alertUsage = new Databricks.Permissions(\"alert_usage\", new()\n {\n SqlAlertId = \"3244325\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"alert_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlAlertId: pulumi.String(\"3244325\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var alertUsage = new Permissions(\"alertUsage\", PermissionsArgs.builder()\n .sqlAlertId(\"3244325\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n alertUsage:\n type: databricks:Permissions\n name: alert_usage\n properties:\n sqlAlertId: '3244325'\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Instance Profiles\n\nInstance Profiles are not managed by General Permissions API and therefore databricks.GroupInstanceProfile and databricks.UserInstanceProfile should be used to allow usage of specific AWS EC2 IAM roles to users or groups.\n\n## Secrets\n\nOne can control access to databricks.Secret through `initial_manage_principal` argument on databricks.SecretScope or databricks_secret_acl, so that users (or service principals) can `READ`, `WRITE` or `MANAGE` entries within secret scope.\n\n## Tables, Views and Databases\n\nGeneral Permissions API does not apply to access control for tables and they have to be managed separately using the databricks.SqlPermissions resource, though you're encouraged to use Unity Catalog or migrate to it.\n\n## Data Access with Unity Catalog\n\nInitially in Unity Catalog all users have no access to data, which has to be later assigned through databricks.Grants resource.\n\n## Import\n\nThe resource permissions can be imported using the object id\n\n```sh\n$ pulumi import databricks:index/permissions:Permissions databricks_permissions \u003cobject type\u003e/\u003cobject id\u003e\n```\n\n", + "description": "This resource allows you to generically manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspaces. It ensures that only _admins_, _authenticated principal_ and those declared within `access_control` blocks would have specified access. It is not possible to remove management rights from _admins_ group.\n\n\u003e This resource is _authoritative_ for permissions on objects. Configuring this resource for an object will **OVERWRITE** any existing permissions of the same type unless imported, and changes made outside of Pulumi will be reset.\n\n\u003e It is not possible to lower permissions for `admins`, so Databricks Pulumi Provider removes those `access_control` blocks automatically.\n\n\u003e If multiple permission levels are specified for an identity (e.g. `CAN_RESTART` and `CAN_MANAGE` for a cluster), only the highest level permission is returned and will cause permanent drift.\n\n\u003e To manage access control on service principals, use databricks_access_control_rule_set.\n\n## Cluster usage\n\nIt's possible to separate [cluster access control](https://docs.databricks.com/security/access-control/cluster-acl.html) to three different permission levels: `CAN_ATTACH_TO`, `CAN_RESTART` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst ds = new databricks.Group(\"ds\", {displayName: \"Data Science\"});\nconst latest = databricks.getSparkVersion({});\nconst smallest = databricks.getNodeType({\n localDisk: true,\n});\nconst sharedAutoscaling = new databricks.Cluster(\"shared_autoscaling\", {\n clusterName: \"Shared Autoscaling\",\n sparkVersion: latest.then(latest =\u003e latest.id),\n nodeTypeId: smallest.then(smallest =\u003e smallest.id),\n autoterminationMinutes: 60,\n autoscale: {\n minWorkers: 1,\n maxWorkers: 10,\n },\n});\nconst clusterUsage = new databricks.Permissions(\"cluster_usage\", {\n clusterId: sharedAutoscaling.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_ATTACH_TO\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_RESTART\",\n },\n {\n groupName: ds.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nds = databricks.Group(\"ds\", display_name=\"Data Science\")\nlatest = databricks.get_spark_version()\nsmallest = databricks.get_node_type(local_disk=True)\nshared_autoscaling = databricks.Cluster(\"shared_autoscaling\",\n cluster_name=\"Shared Autoscaling\",\n spark_version=latest.id,\n node_type_id=smallest.id,\n autotermination_minutes=60,\n autoscale={\n \"min_workers\": 1,\n \"max_workers\": 10,\n })\ncluster_usage = databricks.Permissions(\"cluster_usage\",\n cluster_id=shared_autoscaling.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_ATTACH_TO\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_RESTART\",\n },\n {\n \"group_name\": ds.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var ds = new Databricks.Group(\"ds\", new()\n {\n DisplayName = \"Data Science\",\n });\n\n var latest = Databricks.GetSparkVersion.Invoke();\n\n var smallest = Databricks.GetNodeType.Invoke(new()\n {\n LocalDisk = true,\n });\n\n var sharedAutoscaling = new Databricks.Cluster(\"shared_autoscaling\", new()\n {\n ClusterName = \"Shared Autoscaling\",\n SparkVersion = latest.Apply(getSparkVersionResult =\u003e getSparkVersionResult.Id),\n NodeTypeId = smallest.Apply(getNodeTypeResult =\u003e getNodeTypeResult.Id),\n AutoterminationMinutes = 60,\n Autoscale = new Databricks.Inputs.ClusterAutoscaleArgs\n {\n MinWorkers = 1,\n MaxWorkers = 10,\n },\n });\n\n var clusterUsage = new Databricks.Permissions(\"cluster_usage\", new()\n {\n ClusterId = sharedAutoscaling.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_ATTACH_TO\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_RESTART\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = ds.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tds, err := databricks.NewGroup(ctx, \"ds\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Data Science\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlatest, err := databricks.GetSparkVersion(ctx, \u0026databricks.GetSparkVersionArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsmallest, err := databricks.GetNodeType(ctx, \u0026databricks.GetNodeTypeArgs{\n\t\t\tLocalDisk: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsharedAutoscaling, err := databricks.NewCluster(ctx, \"shared_autoscaling\", \u0026databricks.ClusterArgs{\n\t\t\tClusterName: pulumi.String(\"Shared Autoscaling\"),\n\t\t\tSparkVersion: pulumi.String(latest.Id),\n\t\t\tNodeTypeId: pulumi.String(smallest.Id),\n\t\t\tAutoterminationMinutes: pulumi.Int(60),\n\t\t\tAutoscale: \u0026databricks.ClusterAutoscaleArgs{\n\t\t\t\tMinWorkers: pulumi.Int(1),\n\t\t\t\tMaxWorkers: pulumi.Int(10),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"cluster_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tClusterId: sharedAutoscaling.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_ATTACH_TO\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RESTART\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: ds.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetSparkVersionArgs;\nimport com.pulumi.databricks.inputs.GetNodeTypeArgs;\nimport com.pulumi.databricks.Cluster;\nimport com.pulumi.databricks.ClusterArgs;\nimport com.pulumi.databricks.inputs.ClusterAutoscaleArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var ds = new Group(\"ds\", GroupArgs.builder()\n .displayName(\"Data Science\")\n .build());\n\n final var latest = DatabricksFunctions.getSparkVersion();\n\n final var smallest = DatabricksFunctions.getNodeType(GetNodeTypeArgs.builder()\n .localDisk(true)\n .build());\n\n var sharedAutoscaling = new Cluster(\"sharedAutoscaling\", ClusterArgs.builder()\n .clusterName(\"Shared Autoscaling\")\n .sparkVersion(latest.applyValue(getSparkVersionResult -\u003e getSparkVersionResult.id()))\n .nodeTypeId(smallest.applyValue(getNodeTypeResult -\u003e getNodeTypeResult.id()))\n .autoterminationMinutes(60)\n .autoscale(ClusterAutoscaleArgs.builder()\n .minWorkers(1)\n .maxWorkers(10)\n .build())\n .build());\n\n var clusterUsage = new Permissions(\"clusterUsage\", PermissionsArgs.builder()\n .clusterId(sharedAutoscaling.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_ATTACH_TO\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_RESTART\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(ds.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n ds:\n type: databricks:Group\n properties:\n displayName: Data Science\n sharedAutoscaling:\n type: databricks:Cluster\n name: shared_autoscaling\n properties:\n clusterName: Shared Autoscaling\n sparkVersion: ${latest.id}\n nodeTypeId: ${smallest.id}\n autoterminationMinutes: 60\n autoscale:\n minWorkers: 1\n maxWorkers: 10\n clusterUsage:\n type: databricks:Permissions\n name: cluster_usage\n properties:\n clusterId: ${sharedAutoscaling.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_ATTACH_TO\n - groupName: ${eng.displayName}\n permissionLevel: CAN_RESTART\n - groupName: ${ds.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n latest:\n fn::invoke:\n function: databricks:getSparkVersion\n arguments: {}\n smallest:\n fn::invoke:\n function: databricks:getNodeType\n arguments:\n localDisk: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Cluster Policy usage\n\nCluster policies allow creation of clusters, that match [given policy](https://docs.databricks.com/administration-guide/clusters/policies.html). It's possible to assign `CAN_USE` permission to users and groups:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ds = new databricks.Group(\"ds\", {displayName: \"Data Science\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst somethingSimple = new databricks.ClusterPolicy(\"something_simple\", {\n name: \"Some simple policy\",\n definition: JSON.stringify({\n \"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\": {\n type: \"forbidden\",\n },\n \"spark_conf.spark.secondkey\": {\n type: \"forbidden\",\n },\n }),\n});\nconst policyUsage = new databricks.Permissions(\"policy_usage\", {\n clusterPolicyId: somethingSimple.id,\n accessControls: [\n {\n groupName: ds.displayName,\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_USE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_databricks as databricks\n\nds = databricks.Group(\"ds\", display_name=\"Data Science\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nsomething_simple = databricks.ClusterPolicy(\"something_simple\",\n name=\"Some simple policy\",\n definition=json.dumps({\n \"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\": {\n \"type\": \"forbidden\",\n },\n \"spark_conf.spark.secondkey\": {\n \"type\": \"forbidden\",\n },\n }))\npolicy_usage = databricks.Permissions(\"policy_usage\",\n cluster_policy_id=something_simple.id,\n access_controls=[\n {\n \"group_name\": ds.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ds = new Databricks.Group(\"ds\", new()\n {\n DisplayName = \"Data Science\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var somethingSimple = new Databricks.ClusterPolicy(\"something_simple\", new()\n {\n Name = \"Some simple policy\",\n Definition = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"type\"] = \"forbidden\",\n },\n [\"spark_conf.spark.secondkey\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"type\"] = \"forbidden\",\n },\n }),\n });\n\n var policyUsage = new Databricks.Permissions(\"policy_usage\", new()\n {\n ClusterPolicyId = somethingSimple.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = ds.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tds, err := databricks.NewGroup(ctx, \"ds\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Data Science\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\": map[string]interface{}{\n\t\t\t\t\"type\": \"forbidden\",\n\t\t\t},\n\t\t\t\"spark_conf.spark.secondkey\": map[string]interface{}{\n\t\t\t\t\"type\": \"forbidden\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\tsomethingSimple, err := databricks.NewClusterPolicy(ctx, \"something_simple\", \u0026databricks.ClusterPolicyArgs{\n\t\t\tName: pulumi.String(\"Some simple policy\"),\n\t\t\tDefinition: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"policy_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tClusterPolicyId: somethingSimple.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: ds.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.ClusterPolicy;\nimport com.pulumi.databricks.ClusterPolicyArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ds = new Group(\"ds\", GroupArgs.builder()\n .displayName(\"Data Science\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var somethingSimple = new ClusterPolicy(\"somethingSimple\", ClusterPolicyArgs.builder()\n .name(\"Some simple policy\")\n .definition(serializeJson(\n jsonObject(\n jsonProperty(\"spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL\", jsonObject(\n jsonProperty(\"type\", \"forbidden\")\n )),\n jsonProperty(\"spark_conf.spark.secondkey\", jsonObject(\n jsonProperty(\"type\", \"forbidden\")\n ))\n )))\n .build());\n\n var policyUsage = new Permissions(\"policyUsage\", PermissionsArgs.builder()\n .clusterPolicyId(somethingSimple.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(ds.displayName())\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_USE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ds:\n type: databricks:Group\n properties:\n displayName: Data Science\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n somethingSimple:\n type: databricks:ClusterPolicy\n name: something_simple\n properties:\n name: Some simple policy\n definition:\n fn::toJSON:\n spark_conf.spark.hadoop.javax.jdo.option.ConnectionURL:\n type: forbidden\n spark_conf.spark.secondkey:\n type: forbidden\n policyUsage:\n type: databricks:Permissions\n name: policy_usage\n properties:\n clusterPolicyId: ${somethingSimple.id}\n accessControls:\n - groupName: ${ds.displayName}\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_USE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Instance Pool usage\n\nInstance Pools access control [allows to](https://docs.databricks.com/security/access-control/pool-acl.html) assign `CAN_ATTACH_TO` and `CAN_MANAGE` permissions to users, service principals, and groups. It's also possible to grant creation of Instance Pools to individual groups and users, service principals.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst smallest = databricks.getNodeType({\n localDisk: true,\n});\nconst _this = new databricks.InstancePool(\"this\", {\n instancePoolName: \"Reserved Instances\",\n idleInstanceAutoterminationMinutes: 60,\n nodeTypeId: smallest.then(smallest =\u003e smallest.id),\n minIdleInstances: 0,\n maxCapacity: 10,\n});\nconst poolUsage = new databricks.Permissions(\"pool_usage\", {\n instancePoolId: _this.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_ATTACH_TO\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nsmallest = databricks.get_node_type(local_disk=True)\nthis = databricks.InstancePool(\"this\",\n instance_pool_name=\"Reserved Instances\",\n idle_instance_autotermination_minutes=60,\n node_type_id=smallest.id,\n min_idle_instances=0,\n max_capacity=10)\npool_usage = databricks.Permissions(\"pool_usage\",\n instance_pool_id=this.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_ATTACH_TO\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var smallest = Databricks.GetNodeType.Invoke(new()\n {\n LocalDisk = true,\n });\n\n var @this = new Databricks.InstancePool(\"this\", new()\n {\n InstancePoolName = \"Reserved Instances\",\n IdleInstanceAutoterminationMinutes = 60,\n NodeTypeId = smallest.Apply(getNodeTypeResult =\u003e getNodeTypeResult.Id),\n MinIdleInstances = 0,\n MaxCapacity = 10,\n });\n\n var poolUsage = new Databricks.Permissions(\"pool_usage\", new()\n {\n InstancePoolId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_ATTACH_TO\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsmallest, err := databricks.GetNodeType(ctx, \u0026databricks.GetNodeTypeArgs{\n\t\t\tLocalDisk: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewInstancePool(ctx, \"this\", \u0026databricks.InstancePoolArgs{\n\t\t\tInstancePoolName: pulumi.String(\"Reserved Instances\"),\n\t\t\tIdleInstanceAutoterminationMinutes: pulumi.Int(60),\n\t\t\tNodeTypeId: pulumi.String(smallest.Id),\n\t\t\tMinIdleInstances: pulumi.Int(0),\n\t\t\tMaxCapacity: pulumi.Int(10),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"pool_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tInstancePoolId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_ATTACH_TO\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetNodeTypeArgs;\nimport com.pulumi.databricks.InstancePool;\nimport com.pulumi.databricks.InstancePoolArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n final var smallest = DatabricksFunctions.getNodeType(GetNodeTypeArgs.builder()\n .localDisk(true)\n .build());\n\n var this_ = new InstancePool(\"this\", InstancePoolArgs.builder()\n .instancePoolName(\"Reserved Instances\")\n .idleInstanceAutoterminationMinutes(60)\n .nodeTypeId(smallest.applyValue(getNodeTypeResult -\u003e getNodeTypeResult.id()))\n .minIdleInstances(0)\n .maxCapacity(10)\n .build());\n\n var poolUsage = new Permissions(\"poolUsage\", PermissionsArgs.builder()\n .instancePoolId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_ATTACH_TO\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:InstancePool\n properties:\n instancePoolName: Reserved Instances\n idleInstanceAutoterminationMinutes: 60\n nodeTypeId: ${smallest.id}\n minIdleInstances: 0\n maxCapacity: 10\n poolUsage:\n type: databricks:Permissions\n name: pool_usage\n properties:\n instancePoolId: ${this.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_ATTACH_TO\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n smallest:\n fn::invoke:\n function: databricks:getNodeType\n arguments:\n localDisk: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Job usage\n\nThere are four assignable [permission levels](https://docs.databricks.com/security/access-control/jobs-acl.html#job-permissions) for databricks_job: `CAN_VIEW`, `CAN_MANAGE_RUN`, `IS_OWNER`, and `CAN_MANAGE`. Admins are granted the `CAN_MANAGE` permission by default, and they can assign that permission to non-admin users, and service principals.\n\n- The creator of a job has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a job would revert ownership to the creator.\n- A job must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the job. Nothing would change, per se, if the job was created through Pulumi.\n- A job cannot have a group as an owner.\n- Jobs triggered through _Run Now_ assume the permissions of the job owner and not the user, and service principal who issued Run Now.\n- Read [main documentation](https://docs.databricks.com/security/access-control/jobs-acl.html) for additional detail.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst awsPrincipal = new databricks.ServicePrincipal(\"aws_principal\", {displayName: \"main\"});\nconst latest = databricks.getSparkVersion({});\nconst smallest = databricks.getNodeType({\n localDisk: true,\n});\nconst _this = new databricks.Job(\"this\", {\n name: \"Featurization\",\n maxConcurrentRuns: 1,\n tasks: [{\n taskKey: \"task1\",\n newCluster: {\n numWorkers: 300,\n sparkVersion: latest.then(latest =\u003e latest.id),\n nodeTypeId: smallest.then(smallest =\u003e smallest.id),\n },\n notebookTask: {\n notebookPath: \"/Production/MakeFeatures\",\n },\n }],\n});\nconst jobUsage = new databricks.Permissions(\"job_usage\", {\n jobId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n servicePrincipalName: awsPrincipal.applicationId,\n permissionLevel: \"IS_OWNER\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\naws_principal = databricks.ServicePrincipal(\"aws_principal\", display_name=\"main\")\nlatest = databricks.get_spark_version()\nsmallest = databricks.get_node_type(local_disk=True)\nthis = databricks.Job(\"this\",\n name=\"Featurization\",\n max_concurrent_runs=1,\n tasks=[{\n \"task_key\": \"task1\",\n \"new_cluster\": {\n \"num_workers\": 300,\n \"spark_version\": latest.id,\n \"node_type_id\": smallest.id,\n },\n \"notebook_task\": {\n \"notebook_path\": \"/Production/MakeFeatures\",\n },\n }])\njob_usage = databricks.Permissions(\"job_usage\",\n job_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"service_principal_name\": aws_principal.application_id,\n \"permission_level\": \"IS_OWNER\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var awsPrincipal = new Databricks.ServicePrincipal(\"aws_principal\", new()\n {\n DisplayName = \"main\",\n });\n\n var latest = Databricks.GetSparkVersion.Invoke();\n\n var smallest = Databricks.GetNodeType.Invoke(new()\n {\n LocalDisk = true,\n });\n\n var @this = new Databricks.Job(\"this\", new()\n {\n Name = \"Featurization\",\n MaxConcurrentRuns = 1,\n Tasks = new[]\n {\n new Databricks.Inputs.JobTaskArgs\n {\n TaskKey = \"task1\",\n NewCluster = new Databricks.Inputs.JobTaskNewClusterArgs\n {\n NumWorkers = 300,\n SparkVersion = latest.Apply(getSparkVersionResult =\u003e getSparkVersionResult.Id),\n NodeTypeId = smallest.Apply(getNodeTypeResult =\u003e getNodeTypeResult.Id),\n },\n NotebookTask = new Databricks.Inputs.JobTaskNotebookTaskArgs\n {\n NotebookPath = \"/Production/MakeFeatures\",\n },\n },\n },\n });\n\n var jobUsage = new Databricks.Permissions(\"job_usage\", new()\n {\n JobId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n ServicePrincipalName = awsPrincipal.ApplicationId,\n PermissionLevel = \"IS_OWNER\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tawsPrincipal, err := databricks.NewServicePrincipal(ctx, \"aws_principal\", \u0026databricks.ServicePrincipalArgs{\n\t\t\tDisplayName: pulumi.String(\"main\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlatest, err := databricks.GetSparkVersion(ctx, \u0026databricks.GetSparkVersionArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsmallest, err := databricks.GetNodeType(ctx, \u0026databricks.GetNodeTypeArgs{\n\t\t\tLocalDisk: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewJob(ctx, \"this\", \u0026databricks.JobArgs{\n\t\t\tName: pulumi.String(\"Featurization\"),\n\t\t\tMaxConcurrentRuns: pulumi.Int(1),\n\t\t\tTasks: databricks.JobTaskArray{\n\t\t\t\t\u0026databricks.JobTaskArgs{\n\t\t\t\t\tTaskKey: pulumi.String(\"task1\"),\n\t\t\t\t\tNewCluster: \u0026databricks.JobTaskNewClusterArgs{\n\t\t\t\t\t\tNumWorkers: pulumi.Int(300),\n\t\t\t\t\t\tSparkVersion: pulumi.String(latest.Id),\n\t\t\t\t\t\tNodeTypeId: pulumi.String(smallest.Id),\n\t\t\t\t\t},\n\t\t\t\t\tNotebookTask: \u0026databricks.JobTaskNotebookTaskArgs{\n\t\t\t\t\t\tNotebookPath: pulumi.String(\"/Production/MakeFeatures\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"job_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tJobId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tServicePrincipalName: awsPrincipal.ApplicationId,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"IS_OWNER\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.ServicePrincipal;\nimport com.pulumi.databricks.ServicePrincipalArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetSparkVersionArgs;\nimport com.pulumi.databricks.inputs.GetNodeTypeArgs;\nimport com.pulumi.databricks.Job;\nimport com.pulumi.databricks.JobArgs;\nimport com.pulumi.databricks.inputs.JobTaskArgs;\nimport com.pulumi.databricks.inputs.JobTaskNewClusterArgs;\nimport com.pulumi.databricks.inputs.JobTaskNotebookTaskArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var awsPrincipal = new ServicePrincipal(\"awsPrincipal\", ServicePrincipalArgs.builder()\n .displayName(\"main\")\n .build());\n\n final var latest = DatabricksFunctions.getSparkVersion();\n\n final var smallest = DatabricksFunctions.getNodeType(GetNodeTypeArgs.builder()\n .localDisk(true)\n .build());\n\n var this_ = new Job(\"this\", JobArgs.builder()\n .name(\"Featurization\")\n .maxConcurrentRuns(1)\n .tasks(JobTaskArgs.builder()\n .taskKey(\"task1\")\n .newCluster(JobTaskNewClusterArgs.builder()\n .numWorkers(300)\n .sparkVersion(latest.applyValue(getSparkVersionResult -\u003e getSparkVersionResult.id()))\n .nodeTypeId(smallest.applyValue(getNodeTypeResult -\u003e getNodeTypeResult.id()))\n .build())\n .notebookTask(JobTaskNotebookTaskArgs.builder()\n .notebookPath(\"/Production/MakeFeatures\")\n .build())\n .build())\n .build());\n\n var jobUsage = new Permissions(\"jobUsage\", PermissionsArgs.builder()\n .jobId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .servicePrincipalName(awsPrincipal.applicationId())\n .permissionLevel(\"IS_OWNER\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n awsPrincipal:\n type: databricks:ServicePrincipal\n name: aws_principal\n properties:\n displayName: main\n this:\n type: databricks:Job\n properties:\n name: Featurization\n maxConcurrentRuns: 1\n tasks:\n - taskKey: task1\n newCluster:\n numWorkers: 300\n sparkVersion: ${latest.id}\n nodeTypeId: ${smallest.id}\n notebookTask:\n notebookPath: /Production/MakeFeatures\n jobUsage:\n type: databricks:Permissions\n name: job_usage\n properties:\n jobId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n - servicePrincipalName: ${awsPrincipal.applicationId}\n permissionLevel: IS_OWNER\nvariables:\n latest:\n fn::invoke:\n function: databricks:getSparkVersion\n arguments: {}\n smallest:\n fn::invoke:\n function: databricks:getNodeType\n arguments:\n localDisk: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Delta Live Tables usage\n\nThere are four assignable [permission levels](https://docs.databricks.com/security/access-control/dlt-acl.html#delta-live-tables-permissions) for databricks_pipeline: `CAN_VIEW`, `CAN_RUN`, `CAN_MANAGE`, and `IS_OWNER`. Admins are granted the `CAN_MANAGE` permission by default, and they can assign that permission to non-admin users, and service principals.\n\n- The creator of a DLT Pipeline has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a pipeline would revert ownership to the creator.\n- A DLT pipeline must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the pipeline. Nothing would change, per se, if the pipeline was created through Pulumi.\n- A DLT pipeline cannot have a group as an owner.\n- DLT Pipelines triggered through _Start_ assume the permissions of the pipeline owner and not the user, and service principal who issued Run Now.\n- Read [main documentation](https://docs.databricks.com/security/access-control/dlt-acl.html) for additional detail.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as std from \"@pulumi/std\";\n\nconst me = databricks.getCurrentUser({});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst dltDemo = new databricks.Notebook(\"dlt_demo\", {\n contentBase64: std.base64encode({\n input: `import dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n`,\n }).then(invoke =\u003e invoke.result),\n language: \"PYTHON\",\n path: me.then(me =\u003e `${me.home}/DLT_Demo`),\n});\nconst _this = new databricks.Pipeline(\"this\", {\n name: me.then(me =\u003e `DLT Demo Pipeline (${me.alphanumeric})`),\n storage: \"/test/tf-pipeline\",\n configuration: {\n key1: \"value1\",\n key2: \"value2\",\n },\n libraries: [{\n notebook: {\n path: dltDemo.id,\n },\n }],\n continuous: false,\n filters: {\n includes: [\"com.databricks.include\"],\n excludes: [\"com.databricks.exclude\"],\n },\n});\nconst dltUsage = new databricks.Permissions(\"dlt_usage\", {\n pipelineId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_std as std\n\nme = databricks.get_current_user()\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\ndlt_demo = databricks.Notebook(\"dlt_demo\",\n content_base64=std.base64encode(input=\"\"\"import dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n\"\"\").result,\n language=\"PYTHON\",\n path=f\"{me.home}/DLT_Demo\")\nthis = databricks.Pipeline(\"this\",\n name=f\"DLT Demo Pipeline ({me.alphanumeric})\",\n storage=\"/test/tf-pipeline\",\n configuration={\n \"key1\": \"value1\",\n \"key2\": \"value2\",\n },\n libraries=[{\n \"notebook\": {\n \"path\": dlt_demo.id,\n },\n }],\n continuous=False,\n filters={\n \"includes\": [\"com.databricks.include\"],\n \"excludes\": [\"com.databricks.exclude\"],\n })\ndlt_usage = databricks.Permissions(\"dlt_usage\",\n pipeline_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var dltDemo = new Databricks.Notebook(\"dlt_demo\", new()\n {\n ContentBase64 = Std.Base64encode.Invoke(new()\n {\n Input = @\"import dlt\njson_path = \"\"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\"\n@dlt.table(\n comment=\"\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"\"json\"\").load(json_path))\n\",\n }).Apply(invoke =\u003e invoke.Result),\n Language = \"PYTHON\",\n Path = $\"{me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Home)}/DLT_Demo\",\n });\n\n var @this = new Databricks.Pipeline(\"this\", new()\n {\n Name = $\"DLT Demo Pipeline ({me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Alphanumeric)})\",\n Storage = \"/test/tf-pipeline\",\n Configuration = \n {\n { \"key1\", \"value1\" },\n { \"key2\", \"value2\" },\n },\n Libraries = new[]\n {\n new Databricks.Inputs.PipelineLibraryArgs\n {\n Notebook = new Databricks.Inputs.PipelineLibraryNotebookArgs\n {\n Path = dltDemo.Id,\n },\n },\n },\n Continuous = false,\n Filters = new Databricks.Inputs.PipelineFiltersArgs\n {\n Includes = new[]\n {\n \"com.databricks.include\",\n },\n Excludes = new[]\n {\n \"com.databricks.exclude\",\n },\n },\n });\n\n var dltUsage = new Databricks.Permissions(\"dlt_usage\", new()\n {\n PipelineId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tme, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: `import dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n`,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdltDemo, err := databricks.NewNotebook(ctx, \"dlt_demo\", \u0026databricks.NotebookArgs{\n\t\t\tContentBase64: pulumi.String(invokeBase64encode.Result),\n\t\t\tLanguage: pulumi.String(\"PYTHON\"),\n\t\t\tPath: pulumi.Sprintf(\"%v/DLT_Demo\", me.Home),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewPipeline(ctx, \"this\", \u0026databricks.PipelineArgs{\n\t\t\tName: pulumi.Sprintf(\"DLT Demo Pipeline (%v)\", me.Alphanumeric),\n\t\t\tStorage: pulumi.String(\"/test/tf-pipeline\"),\n\t\t\tConfiguration: pulumi.StringMap{\n\t\t\t\t\"key1\": pulumi.String(\"value1\"),\n\t\t\t\t\"key2\": pulumi.String(\"value2\"),\n\t\t\t},\n\t\t\tLibraries: databricks.PipelineLibraryArray{\n\t\t\t\t\u0026databricks.PipelineLibraryArgs{\n\t\t\t\t\tNotebook: \u0026databricks.PipelineLibraryNotebookArgs{\n\t\t\t\t\t\tPath: dltDemo.ID(),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tContinuous: pulumi.Bool(false),\n\t\t\tFilters: \u0026databricks.PipelineFiltersArgs{\n\t\t\t\tIncludes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"com.databricks.include\"),\n\t\t\t\t},\n\t\t\t\tExcludes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"com.databricks.exclude\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"dlt_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tPipelineId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Notebook;\nimport com.pulumi.databricks.NotebookArgs;\nimport com.pulumi.databricks.Pipeline;\nimport com.pulumi.databricks.PipelineArgs;\nimport com.pulumi.databricks.inputs.PipelineLibraryArgs;\nimport com.pulumi.databricks.inputs.PipelineLibraryNotebookArgs;\nimport com.pulumi.databricks.inputs.PipelineFiltersArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var dltDemo = new Notebook(\"dltDemo\", NotebookArgs.builder()\n .contentBase64(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"\"\"\nimport dlt\njson_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n@dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n)\ndef clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n \"\"\")\n .build()).result())\n .language(\"PYTHON\")\n .path(String.format(\"%s/DLT_Demo\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.home())))\n .build());\n\n var this_ = new Pipeline(\"this\", PipelineArgs.builder()\n .name(String.format(\"DLT Demo Pipeline (%s)\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.alphanumeric())))\n .storage(\"/test/tf-pipeline\")\n .configuration(Map.ofEntries(\n Map.entry(\"key1\", \"value1\"),\n Map.entry(\"key2\", \"value2\")\n ))\n .libraries(PipelineLibraryArgs.builder()\n .notebook(PipelineLibraryNotebookArgs.builder()\n .path(dltDemo.id())\n .build())\n .build())\n .continuous(false)\n .filters(PipelineFiltersArgs.builder()\n .includes(\"com.databricks.include\")\n .excludes(\"com.databricks.exclude\")\n .build())\n .build());\n\n var dltUsage = new Permissions(\"dltUsage\", PermissionsArgs.builder()\n .pipelineId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n dltDemo:\n type: databricks:Notebook\n name: dlt_demo\n properties:\n contentBase64:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: |\n import dlt\n json_path = \"/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json\"\n @dlt.table(\n comment=\"The raw wikipedia clickstream dataset, ingested from /databricks-datasets.\"\n )\n def clickstream_raw():\n return (spark.read.format(\"json\").load(json_path))\n return: result\n language: PYTHON\n path: ${me.home}/DLT_Demo\n this:\n type: databricks:Pipeline\n properties:\n name: DLT Demo Pipeline (${me.alphanumeric})\n storage: /test/tf-pipeline\n configuration:\n key1: value1\n key2: value2\n libraries:\n - notebook:\n path: ${dltDemo.id}\n continuous: false\n filters:\n includes:\n - com.databricks.include\n excludes:\n - com.databricks.exclude\n dltUsage:\n type: databricks:Permissions\n name: dlt_usage\n properties:\n pipelineId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n me:\n fn::invoke:\n function: databricks:getCurrentUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Notebook usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#notebook-permissions) for databricks.Notebook are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.\n\nA notebook could be specified by using either `notebook_path` or `notebook_id` attribute. The value for the `notebook_id` is the object ID of the resource in the Databricks Workspace that is exposed as `object_id` attribute of the `databricks.Notebook` resource as shown below.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as std from \"@pulumi/std\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.Notebook(\"this\", {\n contentBase64: std.base64encode({\n input: \"# Welcome to your Python notebook\",\n }).then(invoke =\u003e invoke.result),\n path: \"/Production/ETL/Features\",\n language: \"PYTHON\",\n});\nconst notebookUsageByPath = new databricks.Permissions(\"notebook_usage_by_path\", {\n notebookPath: _this.path,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\nconst notebookUsageById = new databricks.Permissions(\"notebook_usage_by_id\", {\n notebookId: _this.objectId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_std as std\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.Notebook(\"this\",\n content_base64=std.base64encode(input=\"# Welcome to your Python notebook\").result,\n path=\"/Production/ETL/Features\",\n language=\"PYTHON\")\nnotebook_usage_by_path = databricks.Permissions(\"notebook_usage_by_path\",\n notebook_path=this.path,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\nnotebook_usage_by_id = databricks.Permissions(\"notebook_usage_by_id\",\n notebook_id=this.object_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.Notebook(\"this\", new()\n {\n ContentBase64 = Std.Base64encode.Invoke(new()\n {\n Input = \"# Welcome to your Python notebook\",\n }).Apply(invoke =\u003e invoke.Result),\n Path = \"/Production/ETL/Features\",\n Language = \"PYTHON\",\n });\n\n var notebookUsageByPath = new Databricks.Permissions(\"notebook_usage_by_path\", new()\n {\n NotebookPath = @this.Path,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n var notebookUsageById = new Databricks.Permissions(\"notebook_usage_by_id\", new()\n {\n NotebookId = @this.ObjectId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: \"# Welcome to your Python notebook\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewNotebook(ctx, \"this\", \u0026databricks.NotebookArgs{\n\t\t\tContentBase64: pulumi.String(invokeBase64encode.Result),\n\t\t\tPath: pulumi.String(\"/Production/ETL/Features\"),\n\t\t\tLanguage: pulumi.String(\"PYTHON\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"notebook_usage_by_path\", \u0026databricks.PermissionsArgs{\n\t\t\tNotebookPath: this.Path,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"notebook_usage_by_id\", \u0026databricks.PermissionsArgs{\n\t\t\tNotebookId: this.ObjectId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Notebook;\nimport com.pulumi.databricks.NotebookArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new Notebook(\"this\", NotebookArgs.builder()\n .contentBase64(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"# Welcome to your Python notebook\")\n .build()).result())\n .path(\"/Production/ETL/Features\")\n .language(\"PYTHON\")\n .build());\n\n var notebookUsageByPath = new Permissions(\"notebookUsageByPath\", PermissionsArgs.builder()\n .notebookPath(this_.path())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n var notebookUsageById = new Permissions(\"notebookUsageById\", PermissionsArgs.builder()\n .notebookId(this_.objectId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:Notebook\n properties:\n contentBase64:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: '# Welcome to your Python notebook'\n return: result\n path: /Production/ETL/Features\n language: PYTHON\n notebookUsageByPath:\n type: databricks:Permissions\n name: notebook_usage_by_path\n properties:\n notebookPath: ${this.path}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n notebookUsageById:\n type: databricks:Permissions\n name: notebook_usage_by_id\n properties:\n notebookId: ${this.objectId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e when importing a permissions resource, only the `notebook_id` is filled!\n\n## Workspace file usage\n\nValid permission levels for databricks.WorkspaceFile are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.\n\nA workspace file could be specified by using either `workspace_file_path` or `workspace_file_id` attribute. The value for the `workspace_file_id` is the object ID of the resource in the Databricks Workspace that is exposed as `object_id` attribute of the `databricks.WorkspaceFile` resource as shown below.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as std from \"@pulumi/std\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.WorkspaceFile(\"this\", {\n contentBase64: std.base64encode({\n input: \"print('Hello World')\",\n }).then(invoke =\u003e invoke.result),\n path: \"/Production/ETL/Features.py\",\n});\nconst workspaceFileUsageByPath = new databricks.Permissions(\"workspace_file_usage_by_path\", {\n workspaceFilePath: _this.path,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\nconst workspaceFileUsageById = new databricks.Permissions(\"workspace_file_usage_by_id\", {\n workspaceFileId: _this.objectId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_std as std\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.WorkspaceFile(\"this\",\n content_base64=std.base64encode(input=\"print('Hello World')\").result,\n path=\"/Production/ETL/Features.py\")\nworkspace_file_usage_by_path = databricks.Permissions(\"workspace_file_usage_by_path\",\n workspace_file_path=this.path,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\nworkspace_file_usage_by_id = databricks.Permissions(\"workspace_file_usage_by_id\",\n workspace_file_id=this.object_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.WorkspaceFile(\"this\", new()\n {\n ContentBase64 = Std.Base64encode.Invoke(new()\n {\n Input = \"print('Hello World')\",\n }).Apply(invoke =\u003e invoke.Result),\n Path = \"/Production/ETL/Features.py\",\n });\n\n var workspaceFileUsageByPath = new Databricks.Permissions(\"workspace_file_usage_by_path\", new()\n {\n WorkspaceFilePath = @this.Path,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n var workspaceFileUsageById = new Databricks.Permissions(\"workspace_file_usage_by_id\", new()\n {\n WorkspaceFileId = @this.ObjectId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: \"print('Hello World')\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewWorkspaceFile(ctx, \"this\", \u0026databricks.WorkspaceFileArgs{\n\t\t\tContentBase64: pulumi.String(invokeBase64encode.Result),\n\t\t\tPath: pulumi.String(\"/Production/ETL/Features.py\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"workspace_file_usage_by_path\", \u0026databricks.PermissionsArgs{\n\t\t\tWorkspaceFilePath: this.Path,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"workspace_file_usage_by_id\", \u0026databricks.PermissionsArgs{\n\t\t\tWorkspaceFileId: this.ObjectId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.WorkspaceFile;\nimport com.pulumi.databricks.WorkspaceFileArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new WorkspaceFile(\"this\", WorkspaceFileArgs.builder()\n .contentBase64(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"print('Hello World')\")\n .build()).result())\n .path(\"/Production/ETL/Features.py\")\n .build());\n\n var workspaceFileUsageByPath = new Permissions(\"workspaceFileUsageByPath\", PermissionsArgs.builder()\n .workspaceFilePath(this_.path())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n var workspaceFileUsageById = new Permissions(\"workspaceFileUsageById\", PermissionsArgs.builder()\n .workspaceFileId(this_.objectId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:WorkspaceFile\n properties:\n contentBase64:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: print('Hello World')\n return: result\n path: /Production/ETL/Features.py\n workspaceFileUsageByPath:\n type: databricks:Permissions\n name: workspace_file_usage_by_path\n properties:\n workspaceFilePath: ${this.path}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n workspaceFileUsageById:\n type: databricks:Permissions\n name: workspace_file_usage_by_id\n properties:\n workspaceFileId: ${this.objectId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e when importing a permissions resource, only the `workspace_file_id` is filled!\n\n## Folder usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#folder-permissions) for folders of databricks.Directory are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`. Notebooks and experiments in a folder inherit all permissions settings of that folder. For example, a user (or service principal) that has `CAN_RUN` permission on a folder has `CAN_RUN` permission on the notebooks in that folder.\n\n- All users can list items in the folder without any permissions.\n- All users (or service principals) have `CAN_MANAGE` permission for items in the Workspace \u003e Shared Icon Shared folder. You can grant `CAN_MANAGE` permission to notebooks and folders by moving them to the Shared Icon Shared folder.\n- All users (or service principals) have `CAN_MANAGE` permission for objects the user creates.\n- User home directory - The user (or service principal) has `CAN_MANAGE` permission. All other users (or service principals) can list their directories.\n\nA folder could be specified by using either `directory_path` or `directory_id` attribute. The value for the `directory_id` is the object ID of the resource in the Databricks Workspace that is exposed as `object_id` attribute of the `databricks.Directory` resource as shown below.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.Directory(\"this\", {path: \"/Production/ETL\"});\nconst folderUsageByPath = new databricks.Permissions(\"folder_usage_by_path\", {\n directoryPath: _this.path,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\nconst folderUsageById = new databricks.Permissions(\"folder_usage_by_id\", {\n directoryId: _this.objectId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.Directory(\"this\", path=\"/Production/ETL\")\nfolder_usage_by_path = databricks.Permissions(\"folder_usage_by_path\",\n directory_path=this.path,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\nfolder_usage_by_id = databricks.Permissions(\"folder_usage_by_id\",\n directory_id=this.object_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.Directory(\"this\", new()\n {\n Path = \"/Production/ETL\",\n });\n\n var folderUsageByPath = new Databricks.Permissions(\"folder_usage_by_path\", new()\n {\n DirectoryPath = @this.Path,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n var folderUsageById = new Databricks.Permissions(\"folder_usage_by_id\", new()\n {\n DirectoryId = @this.ObjectId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewDirectory(ctx, \"this\", \u0026databricks.DirectoryArgs{\n\t\t\tPath: pulumi.String(\"/Production/ETL\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"folder_usage_by_path\", \u0026databricks.PermissionsArgs{\n\t\t\tDirectoryPath: this.Path,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"folder_usage_by_id\", \u0026databricks.PermissionsArgs{\n\t\t\tDirectoryId: this.ObjectId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Directory;\nimport com.pulumi.databricks.DirectoryArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new Directory(\"this\", DirectoryArgs.builder()\n .path(\"/Production/ETL\")\n .build());\n\n var folderUsageByPath = new Permissions(\"folderUsageByPath\", PermissionsArgs.builder()\n .directoryPath(this_.path())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n var folderUsageById = new Permissions(\"folderUsageById\", PermissionsArgs.builder()\n .directoryId(this_.objectId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:Directory\n properties:\n path: /Production/ETL\n folderUsageByPath:\n type: databricks:Permissions\n name: folder_usage_by_path\n properties:\n directoryPath: ${this.path}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n folderUsageById:\n type: databricks:Permissions\n name: folder_usage_by_id\n properties:\n directoryId: ${this.objectId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e when importing a permissions resource, only the `directory_id` is filled!\n\n## Repos usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html) for databricks.Repo are: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.Repo(\"this\", {url: \"https://github.com/user/demo.git\"});\nconst repoUsage = new databricks.Permissions(\"repo_usage\", {\n repoId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.Repo(\"this\", url=\"https://github.com/user/demo.git\")\nrepo_usage = databricks.Permissions(\"repo_usage\",\n repo_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.Repo(\"this\", new()\n {\n Url = \"https://github.com/user/demo.git\",\n });\n\n var repoUsage = new Databricks.Permissions(\"repo_usage\", new()\n {\n RepoId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewRepo(ctx, \"this\", \u0026databricks.RepoArgs{\n\t\t\tUrl: pulumi.String(\"https://github.com/user/demo.git\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"repo_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tRepoId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Repo;\nimport com.pulumi.databricks.RepoArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new Repo(\"this\", RepoArgs.builder()\n .url(\"https://github.com/user/demo.git\")\n .build());\n\n var repoUsage = new Permissions(\"repoUsage\", PermissionsArgs.builder()\n .repoId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:Repo\n properties:\n url: https://github.com/user/demo.git\n repoUsage:\n type: databricks:Permissions\n name: repo_usage\n properties:\n repoId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## MLflow Experiment usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#mlflow-experiment-permissions-1) for databricks.MlflowExperiment are: `CAN_READ`, `CAN_EDIT`, and `CAN_MANAGE`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = databricks.getCurrentUser({});\nconst _this = new databricks.MlflowExperiment(\"this\", {\n name: me.then(me =\u003e `${me.home}/Sample`),\n artifactLocation: \"dbfs:/tmp/my-experiment\",\n description: \"My MLflow experiment description\",\n});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst experimentUsage = new databricks.Permissions(\"experiment_usage\", {\n experimentId: _this.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_EDIT\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_current_user()\nthis = databricks.MlflowExperiment(\"this\",\n name=f\"{me.home}/Sample\",\n artifact_location=\"dbfs:/tmp/my-experiment\",\n description=\"My MLflow experiment description\")\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nexperiment_usage = databricks.Permissions(\"experiment_usage\",\n experiment_id=this.id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_EDIT\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var @this = new Databricks.MlflowExperiment(\"this\", new()\n {\n Name = $\"{me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Home)}/Sample\",\n ArtifactLocation = \"dbfs:/tmp/my-experiment\",\n Description = \"My MLflow experiment description\",\n });\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var experimentUsage = new Databricks.Permissions(\"experiment_usage\", new()\n {\n ExperimentId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_EDIT\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tme, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewMlflowExperiment(ctx, \"this\", \u0026databricks.MlflowExperimentArgs{\n\t\t\tName: pulumi.Sprintf(\"%v/Sample\", me.Home),\n\t\t\tArtifactLocation: pulumi.String(\"dbfs:/tmp/my-experiment\"),\n\t\t\tDescription: pulumi.String(\"My MLflow experiment description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"experiment_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tExperimentId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_EDIT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.MlflowExperiment;\nimport com.pulumi.databricks.MlflowExperimentArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var this_ = new MlflowExperiment(\"this\", MlflowExperimentArgs.builder()\n .name(String.format(\"%s/Sample\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.home())))\n .artifactLocation(\"dbfs:/tmp/my-experiment\")\n .description(\"My MLflow experiment description\")\n .build());\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var experimentUsage = new Permissions(\"experimentUsage\", PermissionsArgs.builder()\n .experimentId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_EDIT\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MlflowExperiment\n properties:\n name: ${me.home}/Sample\n artifactLocation: dbfs:/tmp/my-experiment\n description: My MLflow experiment description\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n experimentUsage:\n type: databricks:Permissions\n name: experiment_usage\n properties:\n experimentId: ${this.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_EDIT\nvariables:\n me:\n fn::invoke:\n function: databricks:getCurrentUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## MLflow Model usage\n\nValid [permission levels](https://docs.databricks.com/security/access-control/workspace-acl.html#mlflow-model-permissions-1) for databricks.MlflowModel are: `CAN_READ`, `CAN_EDIT`, `CAN_MANAGE_STAGING_VERSIONS`, `CAN_MANAGE_PRODUCTION_VERSIONS`, and `CAN_MANAGE`. You can also manage permissions for all MLflow models by `registered_model_id = \"root\"`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.MlflowModel(\"this\", {name: \"SomePredictions\"});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst modelUsage = new databricks.Permissions(\"model_usage\", {\n registeredModelId: _this.registeredModelId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_READ\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE_PRODUCTION_VERSIONS\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE_STAGING_VERSIONS\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.MlflowModel(\"this\", name=\"SomePredictions\")\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nmodel_usage = databricks.Permissions(\"model_usage\",\n registered_model_id=this.registered_model_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_READ\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE_PRODUCTION_VERSIONS\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE_STAGING_VERSIONS\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.MlflowModel(\"this\", new()\n {\n Name = \"SomePredictions\",\n });\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var modelUsage = new Databricks.Permissions(\"model_usage\", new()\n {\n RegisteredModelId = @this.RegisteredModelId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_READ\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE_PRODUCTION_VERSIONS\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE_STAGING_VERSIONS\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewMlflowModel(ctx, \"this\", \u0026databricks.MlflowModelArgs{\n\t\t\tName: pulumi.String(\"SomePredictions\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"model_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tRegisteredModelId: this.RegisteredModelId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_READ\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE_PRODUCTION_VERSIONS\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE_STAGING_VERSIONS\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MlflowModel;\nimport com.pulumi.databricks.MlflowModelArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new MlflowModel(\"this\", MlflowModelArgs.builder()\n .name(\"SomePredictions\")\n .build());\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var modelUsage = new Permissions(\"modelUsage\", PermissionsArgs.builder()\n .registeredModelId(this_.registeredModelId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_READ\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE_PRODUCTION_VERSIONS\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE_STAGING_VERSIONS\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MlflowModel\n properties:\n name: SomePredictions\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n modelUsage:\n type: databricks:Permissions\n name: model_usage\n properties:\n registeredModelId: ${this.registeredModelId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_READ\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE_PRODUCTION_VERSIONS\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE_STAGING_VERSIONS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Model serving usage\n\nValid permission levels for databricks.ModelServing are: `CAN_VIEW`, `CAN_QUERY`, and `CAN_MANAGE`.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.ModelServing(\"this\", {\n name: \"tf-test\",\n config: {\n servedModels: [{\n name: \"prod_model\",\n modelName: \"test\",\n modelVersion: \"1\",\n workloadSize: \"Small\",\n scaleToZeroEnabled: true,\n }],\n },\n});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst mlServingUsage = new databricks.Permissions(\"ml_serving_usage\", {\n servingEndpointId: _this.servingEndpointId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_QUERY\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.ModelServing(\"this\",\n name=\"tf-test\",\n config={\n \"served_models\": [{\n \"name\": \"prod_model\",\n \"model_name\": \"test\",\n \"model_version\": \"1\",\n \"workload_size\": \"Small\",\n \"scale_to_zero_enabled\": True,\n }],\n })\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nml_serving_usage = databricks.Permissions(\"ml_serving_usage\",\n serving_endpoint_id=this.serving_endpoint_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_QUERY\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.ModelServing(\"this\", new()\n {\n Name = \"tf-test\",\n Config = new Databricks.Inputs.ModelServingConfigArgs\n {\n ServedModels = new[]\n {\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n Name = \"prod_model\",\n ModelName = \"test\",\n ModelVersion = \"1\",\n WorkloadSize = \"Small\",\n ScaleToZeroEnabled = true,\n },\n },\n },\n });\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var mlServingUsage = new Databricks.Permissions(\"ml_serving_usage\", new()\n {\n ServingEndpointId = @this.ServingEndpointId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_QUERY\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewModelServing(ctx, \"this\", \u0026databricks.ModelServingArgs{\n\t\t\tName: pulumi.String(\"tf-test\"),\n\t\t\tConfig: \u0026databricks.ModelServingConfigArgs{\n\t\t\t\tServedModels: databricks.ModelServingConfigServedModelArray{\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\tModelName: pulumi.String(\"test\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"1\"),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"ml_serving_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tServingEndpointId: this.ServingEndpointId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_QUERY\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ModelServing;\nimport com.pulumi.databricks.ModelServingArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new ModelServing(\"this\", ModelServingArgs.builder()\n .name(\"tf-test\")\n .config(ModelServingConfigArgs.builder()\n .servedModels(ModelServingConfigServedModelArgs.builder()\n .name(\"prod_model\")\n .modelName(\"test\")\n .modelVersion(\"1\")\n .workloadSize(\"Small\")\n .scaleToZeroEnabled(true)\n .build())\n .build())\n .build());\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var mlServingUsage = new Permissions(\"mlServingUsage\", PermissionsArgs.builder()\n .servingEndpointId(this_.servingEndpointId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_QUERY\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:ModelServing\n properties:\n name: tf-test\n config:\n servedModels:\n - name: prod_model\n modelName: test\n modelVersion: '1'\n workloadSize: Small\n scaleToZeroEnabled: true\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n mlServingUsage:\n type: databricks:Permissions\n name: ml_serving_usage\n properties:\n servingEndpointId: ${this.servingEndpointId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_QUERY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Mosaic AI Vector Search usage\n\nValid permission levels for databricks.VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`.\n\n\u003e You need to use the `endpoint_id` attribute of `databricks.VectorSearchEndpoint` as value for `vector_search_endpoint_id`, not the `id`!\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.VectorSearchEndpoint(\"this\", {\n name: \"vector-search-test\",\n endpointType: \"STANDARD\",\n});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst vectorSearchEndpointUsage = new databricks.Permissions(\"vector_search_endpoint_usage\", {\n vectorSearchEndpointId: _this.endpointId,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.VectorSearchEndpoint(\"this\",\n name=\"vector-search-test\",\n endpoint_type=\"STANDARD\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nvector_search_endpoint_usage = databricks.Permissions(\"vector_search_endpoint_usage\",\n vector_search_endpoint_id=this.endpoint_id,\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.VectorSearchEndpoint(\"this\", new()\n {\n Name = \"vector-search-test\",\n EndpointType = \"STANDARD\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var vectorSearchEndpointUsage = new Databricks.Permissions(\"vector_search_endpoint_usage\", new()\n {\n VectorSearchEndpointId = @this.EndpointId,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.NewVectorSearchEndpoint(ctx, \"this\", \u0026databricks.VectorSearchEndpointArgs{\n\t\t\tName: pulumi.String(\"vector-search-test\"),\n\t\t\tEndpointType: pulumi.String(\"STANDARD\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"vector_search_endpoint_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tVectorSearchEndpointId: this.EndpointId,\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.VectorSearchEndpoint;\nimport com.pulumi.databricks.VectorSearchEndpointArgs;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new VectorSearchEndpoint(\"this\", VectorSearchEndpointArgs.builder()\n .name(\"vector-search-test\")\n .endpointType(\"STANDARD\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var vectorSearchEndpointUsage = new Permissions(\"vectorSearchEndpointUsage\", PermissionsArgs.builder()\n .vectorSearchEndpointId(this_.endpointId())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:VectorSearchEndpoint\n properties:\n name: vector-search-test\n endpointType: STANDARD\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n vectorSearchEndpointUsage:\n type: databricks:Permissions\n name: vector_search_endpoint_usage\n properties:\n vectorSearchEndpointId: ${this.endpointId}\n accessControls:\n - groupName: users\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Passwords usage\n\nBy default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst guests = new databricks.Group(\"guests\", {displayName: \"Guest Users\"});\nconst passwordUsage = new databricks.Permissions(\"password_usage\", {\n authorization: \"passwords\",\n accessControls: [{\n groupName: guests.displayName,\n permissionLevel: \"CAN_USE\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nguests = databricks.Group(\"guests\", display_name=\"Guest Users\")\npassword_usage = databricks.Permissions(\"password_usage\",\n authorization=\"passwords\",\n access_controls=[{\n \"group_name\": guests.display_name,\n \"permission_level\": \"CAN_USE\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var guests = new Databricks.Group(\"guests\", new()\n {\n DisplayName = \"Guest Users\",\n });\n\n var passwordUsage = new Databricks.Permissions(\"password_usage\", new()\n {\n Authorization = \"passwords\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = guests.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tguests, err := databricks.NewGroup(ctx, \"guests\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Guest Users\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"password_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tAuthorization: pulumi.String(\"passwords\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: guests.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var guests = new Group(\"guests\", GroupArgs.builder()\n .displayName(\"Guest Users\")\n .build());\n\n var passwordUsage = new Permissions(\"passwordUsage\", PermissionsArgs.builder()\n .authorization(\"passwords\")\n .accessControls(PermissionsAccessControlArgs.builder()\n .groupName(guests.displayName())\n .permissionLevel(\"CAN_USE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n guests:\n type: databricks:Group\n properties:\n displayName: Guest Users\n passwordUsage:\n type: databricks:Permissions\n name: password_usage\n properties:\n authorization: passwords\n accessControls:\n - groupName: ${guests.displayName}\n permissionLevel: CAN_USE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Token usage\n\nIt is required to have at least 1 personal access token in the workspace before you can manage tokens permissions.\n\n!\u003e **Warning** There can be only one `authorization = \"tokens\"` permissions resource per workspace, otherwise there'll be a permanent configuration drift. After applying changes, users who previously had either `CAN_USE` or `CAN_MANAGE` permission but no longer have either permission have their access to token-based authentication revoked. Their active tokens are immediately deleted (revoked).\n\nOnly [possible permission](https://docs.databricks.com/administration-guide/access-control/tokens.html) to assign to non-admin group is `CAN_USE`, where _admins_ `CAN_MANAGE` all tokens:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst tokenUsage = new databricks.Permissions(\"token_usage\", {\n authorization: \"tokens\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_USE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\ntoken_usage = databricks.Permissions(\"token_usage\",\n authorization=\"tokens\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var tokenUsage = new Databricks.Permissions(\"token_usage\", new()\n {\n Authorization = \"tokens\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"token_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tAuthorization: pulumi.String(\"tokens\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var tokenUsage = new Permissions(\"tokenUsage\", PermissionsArgs.builder()\n .authorization(\"tokens\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_USE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n tokenUsage:\n type: databricks:Permissions\n name: token_usage\n properties:\n authorization: tokens\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_USE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## SQL warehouse usage\n\n[SQL warehouses](https://docs.databricks.com/sql/user/security/access-control/sql-endpoint-acl.html) have four possible permissions: `CAN_USE`, `CAN_MONITOR`, `CAN_MANAGE` and `IS_OWNER`:\n\n- The creator of a warehouse has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a warehouse would revert ownership to the creator.\n- A warehouse must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the warehouse. Nothing would change, per se, if the warehouse was created through Pulumi.\n- A warehouse cannot have a group as an owner.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = databricks.getCurrentUser({});\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst _this = new databricks.SqlEndpoint(\"this\", {\n name: me.then(me =\u003e `Endpoint of ${me.alphanumeric}`),\n clusterSize: \"Small\",\n maxNumClusters: 1,\n tags: {\n customTags: [{\n key: \"City\",\n value: \"Amsterdam\",\n }],\n },\n});\nconst endpointUsage = new databricks.Permissions(\"endpoint_usage\", {\n sqlEndpointId: _this.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_USE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_current_user()\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nthis = databricks.SqlEndpoint(\"this\",\n name=f\"Endpoint of {me.alphanumeric}\",\n cluster_size=\"Small\",\n max_num_clusters=1,\n tags={\n \"custom_tags\": [{\n \"key\": \"City\",\n \"value\": \"Amsterdam\",\n }],\n })\nendpoint_usage = databricks.Permissions(\"endpoint_usage\",\n sql_endpoint_id=this.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_USE\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var @this = new Databricks.SqlEndpoint(\"this\", new()\n {\n Name = $\"Endpoint of {me.Apply(getCurrentUserResult =\u003e getCurrentUserResult.Alphanumeric)}\",\n ClusterSize = \"Small\",\n MaxNumClusters = 1,\n Tags = new Databricks.Inputs.SqlEndpointTagsArgs\n {\n CustomTags = new[]\n {\n new Databricks.Inputs.SqlEndpointTagsCustomTagArgs\n {\n Key = \"City\",\n Value = \"Amsterdam\",\n },\n },\n },\n });\n\n var endpointUsage = new Databricks.Permissions(\"endpoint_usage\", new()\n {\n SqlEndpointId = @this.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_USE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tme, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthis, err := databricks.NewSqlEndpoint(ctx, \"this\", \u0026databricks.SqlEndpointArgs{\n\t\t\tName: pulumi.Sprintf(\"Endpoint of %v\", me.Alphanumeric),\n\t\t\tClusterSize: pulumi.String(\"Small\"),\n\t\t\tMaxNumClusters: pulumi.Int(1),\n\t\t\tTags: \u0026databricks.SqlEndpointTagsArgs{\n\t\t\t\tCustomTags: databricks.SqlEndpointTagsCustomTagArray{\n\t\t\t\t\t\u0026databricks.SqlEndpointTagsCustomTagArgs{\n\t\t\t\t\t\tKey: pulumi.String(\"City\"),\n\t\t\t\t\t\tValue: pulumi.String(\"Amsterdam\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"endpoint_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlEndpointId: this.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_USE\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.SqlEndpoint;\nimport com.pulumi.databricks.SqlEndpointArgs;\nimport com.pulumi.databricks.inputs.SqlEndpointTagsArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var this_ = new SqlEndpoint(\"this\", SqlEndpointArgs.builder()\n .name(String.format(\"Endpoint of %s\", me.applyValue(getCurrentUserResult -\u003e getCurrentUserResult.alphanumeric())))\n .clusterSize(\"Small\")\n .maxNumClusters(1)\n .tags(SqlEndpointTagsArgs.builder()\n .customTags(SqlEndpointTagsCustomTagArgs.builder()\n .key(\"City\")\n .value(\"Amsterdam\")\n .build())\n .build())\n .build());\n\n var endpointUsage = new Permissions(\"endpointUsage\", PermissionsArgs.builder()\n .sqlEndpointId(this_.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_USE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n this:\n type: databricks:SqlEndpoint\n properties:\n name: Endpoint of ${me.alphanumeric}\n clusterSize: Small\n maxNumClusters: 1\n tags:\n customTags:\n - key: City\n value: Amsterdam\n endpointUsage:\n type: databricks:Permissions\n name: endpoint_usage\n properties:\n sqlEndpointId: ${this.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_USE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\nvariables:\n me:\n fn::invoke:\n function: databricks:getCurrentUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Dashboard usage\n\n[Dashboards](https://docs.databricks.com/en/dashboards/tutorials/manage-permissions.html) have four possible permissions: `CAN_READ`, `CAN_RUN`, `CAN_EDIT` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst dashboard = new databricks.Dashboard(\"dashboard\", {displayName: \"TF New Dashboard\"});\nconst dashboardUsage = new databricks.Permissions(\"dashboard_usage\", {\n dashboardId: dashboard.id,\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\ndashboard = databricks.Dashboard(\"dashboard\", display_name=\"TF New Dashboard\")\ndashboard_usage = databricks.Permissions(\"dashboard_usage\",\n dashboard_id=dashboard.id,\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var dashboard = new Databricks.Dashboard(\"dashboard\", new()\n {\n DisplayName = \"TF New Dashboard\",\n });\n\n var dashboardUsage = new Databricks.Permissions(\"dashboard_usage\", new()\n {\n DashboardId = dashboard.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdashboard, err := databricks.NewDashboard(ctx, \"dashboard\", \u0026databricks.DashboardArgs{\n\t\t\tDisplayName: pulumi.String(\"TF New Dashboard\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"dashboard_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tDashboardId: dashboard.ID(),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Dashboard;\nimport com.pulumi.databricks.DashboardArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var dashboard = new Dashboard(\"dashboard\", DashboardArgs.builder()\n .displayName(\"TF New Dashboard\")\n .build());\n\n var dashboardUsage = new Permissions(\"dashboardUsage\", PermissionsArgs.builder()\n .dashboardId(dashboard.id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n dashboard:\n type: databricks:Dashboard\n properties:\n displayName: TF New Dashboard\n dashboardUsage:\n type: databricks:Permissions\n name: dashboard_usage\n properties:\n dashboardId: ${dashboard.id}\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Legacy SQL Dashboard usage\n\n[Legacy SQL dashboards](https://docs.databricks.com/sql/user/security/access-control/dashboard-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst sqlDashboardUsage = new databricks.Permissions(\"sql_dashboard_usage\", {\n sqlDashboardId: \"3244325\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nsql_dashboard_usage = databricks.Permissions(\"sql_dashboard_usage\",\n sql_dashboard_id=\"3244325\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var sqlDashboardUsage = new Databricks.Permissions(\"sql_dashboard_usage\", new()\n {\n SqlDashboardId = \"3244325\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"sql_dashboard_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlDashboardId: pulumi.String(\"3244325\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var sqlDashboardUsage = new Permissions(\"sqlDashboardUsage\", PermissionsArgs.builder()\n .sqlDashboardId(\"3244325\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n sqlDashboardUsage:\n type: databricks:Permissions\n name: sql_dashboard_usage\n properties:\n sqlDashboardId: '3244325'\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## SQL Query usage\n\n[SQL queries](https://docs.databricks.com/sql/user/security/access-control/query-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:\n\n\u003e If you do not define an `access_control` block granting `CAN_MANAGE` explictly for the user calling this provider, Databricks Pulumi Provider will add `CAN_MANAGE` permission for the caller. This is a failsafe to prevent situations where the caller is locked out from making changes to the targeted `databricks.SqlQuery` resource when backend API do not apply permission inheritance correctly.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst queryUsage = new databricks.Permissions(\"query_usage\", {\n sqlQueryId: \"3244325\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nquery_usage = databricks.Permissions(\"query_usage\",\n sql_query_id=\"3244325\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var queryUsage = new Databricks.Permissions(\"query_usage\", new()\n {\n SqlQueryId = \"3244325\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"query_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlQueryId: pulumi.String(\"3244325\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var queryUsage = new Permissions(\"queryUsage\", PermissionsArgs.builder()\n .sqlQueryId(\"3244325\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n queryUsage:\n type: databricks:Permissions\n name: query_usage\n properties:\n sqlQueryId: '3244325'\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## SQL Alert usage\n\n[SQL alerts](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst auto = new databricks.Group(\"auto\", {displayName: \"Automation\"});\nconst eng = new databricks.Group(\"eng\", {displayName: \"Engineering\"});\nconst alertUsage = new databricks.Permissions(\"alert_usage\", {\n sqlAlertId: \"3244325\",\n accessControls: [\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_RUN\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nauto = databricks.Group(\"auto\", display_name=\"Automation\")\neng = databricks.Group(\"eng\", display_name=\"Engineering\")\nalert_usage = databricks.Permissions(\"alert_usage\",\n sql_alert_id=\"3244325\",\n access_controls=[\n {\n \"group_name\": auto.display_name,\n \"permission_level\": \"CAN_RUN\",\n },\n {\n \"group_name\": eng.display_name,\n \"permission_level\": \"CAN_MANAGE\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var auto = new Databricks.Group(\"auto\", new()\n {\n DisplayName = \"Automation\",\n });\n\n var eng = new Databricks.Group(\"eng\", new()\n {\n DisplayName = \"Engineering\",\n });\n\n var alertUsage = new Databricks.Permissions(\"alert_usage\", new()\n {\n SqlAlertId = \"3244325\",\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_RUN\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tauto, err := databricks.NewGroup(ctx, \"auto\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Automation\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\teng, err := databricks.NewGroup(ctx, \"eng\", \u0026databricks.GroupArgs{\n\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewPermissions(ctx, \"alert_usage\", \u0026databricks.PermissionsArgs{\n\t\t\tSqlAlertId: pulumi.String(\"3244325\"),\n\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: auto.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_RUN\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\tGroupName: eng.DisplayName,\n\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.GroupArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var auto = new Group(\"auto\", GroupArgs.builder()\n .displayName(\"Automation\")\n .build());\n\n var eng = new Group(\"eng\", GroupArgs.builder()\n .displayName(\"Engineering\")\n .build());\n\n var alertUsage = new Permissions(\"alertUsage\", PermissionsArgs.builder()\n .sqlAlertId(\"3244325\")\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_RUN\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n auto:\n type: databricks:Group\n properties:\n displayName: Automation\n eng:\n type: databricks:Group\n properties:\n displayName: Engineering\n alertUsage:\n type: databricks:Permissions\n name: alert_usage\n properties:\n sqlAlertId: '3244325'\n accessControls:\n - groupName: ${auto.displayName}\n permissionLevel: CAN_RUN\n - groupName: ${eng.displayName}\n permissionLevel: CAN_MANAGE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Instance Profiles\n\nInstance Profiles are not managed by General Permissions API and therefore databricks.GroupInstanceProfile and databricks.UserInstanceProfile should be used to allow usage of specific AWS EC2 IAM roles to users or groups.\n\n## Secrets\n\nOne can control access to databricks.Secret through `initial_manage_principal` argument on databricks.SecretScope or databricks_secret_acl, so that users (or service principals) can `READ`, `WRITE` or `MANAGE` entries within secret scope.\n\n## Tables, Views and Databases\n\nGeneral Permissions API does not apply to access control for tables and they have to be managed separately using the databricks.SqlPermissions resource, though you're encouraged to use Unity Catalog or migrate to it.\n\n## Data Access with Unity Catalog\n\nInitially in Unity Catalog all users have no access to data, which has to be later assigned through databricks.Grants resource.\n\n## Import\n\nThe resource permissions can be imported using the object id\n\n```sh\n$ pulumi import databricks:index/permissions:Permissions databricks_permissions \u003cobject type\u003e/\u003cobject id\u003e\n```\n\n", "properties": { "accessControls": { "type": "array", @@ -25527,6 +28133,9 @@ "$ref": "#/types/databricks:index/PermissionsAccessControl:PermissionsAccessControl" } }, + "appName": { + "type": "string" + }, "authorization": { "type": "string" }, @@ -25591,6 +28200,9 @@ "sqlQueryId": { "type": "string" }, + "vectorSearchEndpointId": { + "type": "string" + }, "workspaceFileId": { "type": "string" }, @@ -25609,6 +28221,10 @@ "$ref": "#/types/databricks:index/PermissionsAccessControl:PermissionsAccessControl" } }, + "appName": { + "type": "string", + "willReplaceOnChanges": true + }, "authorization": { "type": "string", "willReplaceOnChanges": true @@ -25693,6 +28309,10 @@ "type": "string", "willReplaceOnChanges": true }, + "vectorSearchEndpointId": { + "type": "string", + "willReplaceOnChanges": true + }, "workspaceFileId": { "type": "string", "willReplaceOnChanges": true @@ -25714,6 +28334,10 @@ "$ref": "#/types/databricks:index/PermissionsAccessControl:PermissionsAccessControl" } }, + "appName": { + "type": "string", + "willReplaceOnChanges": true + }, "authorization": { "type": "string", "willReplaceOnChanges": true @@ -25798,6 +28422,10 @@ "type": "string", "willReplaceOnChanges": true }, + "vectorSearchEndpointId": { + "type": "string", + "willReplaceOnChanges": true + }, "workspaceFileId": { "type": "string", "willReplaceOnChanges": true @@ -26569,7 +29197,7 @@ }, "runAsMode": { "type": "string", - "description": "Sets the \"Run as\" role for the object.\n" + "description": "Sets the \"Run as\" role for the object. Should be one of `OWNER`, `VIEWER`.\n" }, "schema": { "type": "string", @@ -26639,7 +29267,7 @@ }, "runAsMode": { "type": "string", - "description": "Sets the \"Run as\" role for the object.\n" + "description": "Sets the \"Run as\" role for the object. Should be one of `OWNER`, `VIEWER`.\n" }, "schema": { "type": "string", @@ -26715,7 +29343,7 @@ }, "runAsMode": { "type": "string", - "description": "Sets the \"Run as\" role for the object.\n" + "description": "Sets the \"Run as\" role for the object. Should be one of `OWNER`, `VIEWER`.\n" }, "schema": { "type": "string", @@ -29383,7 +32011,7 @@ } }, "databricks:index/storageCredential:StorageCredential": { - "description": "\u003e This resource can be used with an account or workspace-level provider.\n\nTo work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:\n\n- `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.\n- databricks.ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location.\n\n## Example Usage\n\nFor AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n comment: Managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor Azure\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst externalMi = new databricks.StorageCredential(\"external_mi\", {\n name: \"mi_credential\",\n azureManagedIdentity: {\n accessConnectorId: example.id,\n },\n comment: \"Managed identity credential managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal_mi = databricks.StorageCredential(\"external_mi\",\n name=\"mi_credential\",\n azure_managed_identity={\n \"access_connector_id\": example[\"id\"],\n },\n comment=\"Managed identity credential managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external[\"id\"],\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var externalMi = new Databricks.StorageCredential(\"external_mi\", new()\n {\n Name = \"mi_credential\",\n AzureManagedIdentity = new Databricks.Inputs.StorageCredentialAzureManagedIdentityArgs\n {\n AccessConnectorId = example.Id,\n },\n Comment = \"Managed identity credential managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewStorageCredential(ctx, \"external_mi\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.String(\"mi_credential\"),\n\t\t\tAzureManagedIdentity: \u0026databricks.StorageCredentialAzureManagedIdentityArgs{\n\t\t\t\tAccessConnectorId: pulumi.Any(example.Id),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed identity credential managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: pulumi.Any(external.Id),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAzureManagedIdentityArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var externalMi = new StorageCredential(\"externalMi\", StorageCredentialArgs.builder()\n .name(\"mi_credential\")\n .azureManagedIdentity(StorageCredentialAzureManagedIdentityArgs.builder()\n .accessConnectorId(example.id())\n .build())\n .comment(\"Managed identity credential managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n externalMi:\n type: databricks:StorageCredential\n name: external_mi\n properties:\n name: mi_credential\n azureManagedIdentity:\n accessConnectorId: ${example.id}\n comment: Managed identity credential managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor GCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: \"the-creds\",\n databricksGcpServiceAccount: {},\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=\"the-creds\",\n databricks_gcp_service_account={})\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = \"the-creds\",\n DatabricksGcpServiceAccount = null,\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.String(\"the-creds\"),\n\t\t\tDatabricksGcpServiceAccount: \u0026databricks.StorageCredentialDatabricksGcpServiceAccountArgs{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialDatabricksGcpServiceAccountArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(\"the-creds\")\n .databricksGcpServiceAccount()\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: the-creds\n databricksGcpServiceAccount: {}\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/storageCredential:StorageCredential this \u003cname\u003e\n```\n\n", + "description": "\u003e This resource can be used with an account or workspace-level provider.\n\nTo work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:\n\n- `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.\n- databricks.ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location.\n\nOn AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy.\n\n## Example Usage\n\nFor AWS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: externalDataAccess.name,\n awsIamRole: {\n roleArn: externalDataAccess.arn,\n },\n comment: \"Managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=external_data_access[\"name\"],\n aws_iam_role={\n \"role_arn\": external_data_access[\"arn\"],\n },\n comment=\"Managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = externalDataAccess.Name,\n AwsIamRole = new Databricks.Inputs.StorageCredentialAwsIamRoleArgs\n {\n RoleArn = externalDataAccess.Arn,\n },\n Comment = \"Managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.Any(externalDataAccess.Name),\n\t\t\tAwsIamRole: \u0026databricks.StorageCredentialAwsIamRoleArgs{\n\t\t\t\tRoleArn: pulumi.Any(externalDataAccess.Arn),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAwsIamRoleArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(externalDataAccess.name())\n .awsIamRole(StorageCredentialAwsIamRoleArgs.builder()\n .roleArn(externalDataAccess.arn())\n .build())\n .comment(\"Managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: ${externalDataAccess.name}\n awsIamRole:\n roleArn: ${externalDataAccess.arn}\n comment: Managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor Azure\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst externalMi = new databricks.StorageCredential(\"external_mi\", {\n name: \"mi_credential\",\n azureManagedIdentity: {\n accessConnectorId: example.id,\n },\n comment: \"Managed identity credential managed by TF\",\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: externalMi.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal_mi = databricks.StorageCredential(\"external_mi\",\n name=\"mi_credential\",\n azure_managed_identity={\n \"access_connector_id\": example[\"id\"],\n },\n comment=\"Managed identity credential managed by TF\")\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external_mi.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var externalMi = new Databricks.StorageCredential(\"external_mi\", new()\n {\n Name = \"mi_credential\",\n AzureManagedIdentity = new Databricks.Inputs.StorageCredentialAzureManagedIdentityArgs\n {\n AccessConnectorId = example.Id,\n },\n Comment = \"Managed identity credential managed by TF\",\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = externalMi.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternalMi, err := databricks.NewStorageCredential(ctx, \"external_mi\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.String(\"mi_credential\"),\n\t\t\tAzureManagedIdentity: \u0026databricks.StorageCredentialAzureManagedIdentityArgs{\n\t\t\t\tAccessConnectorId: pulumi.Any(example.Id),\n\t\t\t},\n\t\t\tComment: pulumi.String(\"Managed identity credential managed by TF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: externalMi.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialAzureManagedIdentityArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var externalMi = new StorageCredential(\"externalMi\", StorageCredentialArgs.builder()\n .name(\"mi_credential\")\n .azureManagedIdentity(StorageCredentialAzureManagedIdentityArgs.builder()\n .accessConnectorId(example.id())\n .build())\n .comment(\"Managed identity credential managed by TF\")\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(externalMi.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n externalMi:\n type: databricks:StorageCredential\n name: external_mi\n properties:\n name: mi_credential\n azureManagedIdentity:\n accessConnectorId: ${example.id}\n comment: Managed identity credential managed by TF\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${externalMi.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor GCP\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst external = new databricks.StorageCredential(\"external\", {\n name: \"the-creds\",\n databricksGcpServiceAccount: {},\n});\nconst externalCreds = new databricks.Grants(\"external_creds\", {\n storageCredential: external.id,\n grants: [{\n principal: \"Data Engineers\",\n privileges: [\"CREATE_EXTERNAL_TABLE\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nexternal = databricks.StorageCredential(\"external\",\n name=\"the-creds\",\n databricks_gcp_service_account={})\nexternal_creds = databricks.Grants(\"external_creds\",\n storage_credential=external.id,\n grants=[{\n \"principal\": \"Data Engineers\",\n \"privileges\": [\"CREATE_EXTERNAL_TABLE\"],\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var external = new Databricks.StorageCredential(\"external\", new()\n {\n Name = \"the-creds\",\n DatabricksGcpServiceAccount = null,\n });\n\n var externalCreds = new Databricks.Grants(\"external_creds\", new()\n {\n StorageCredential = external.Id,\n GrantDetails = new[]\n {\n new Databricks.Inputs.GrantsGrantArgs\n {\n Principal = \"Data Engineers\",\n Privileges = new[]\n {\n \"CREATE_EXTERNAL_TABLE\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texternal, err := databricks.NewStorageCredential(ctx, \"external\", \u0026databricks.StorageCredentialArgs{\n\t\t\tName: pulumi.String(\"the-creds\"),\n\t\t\tDatabricksGcpServiceAccount: \u0026databricks.StorageCredentialDatabricksGcpServiceAccountArgs{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewGrants(ctx, \"external_creds\", \u0026databricks.GrantsArgs{\n\t\t\tStorageCredential: external.ID(),\n\t\t\tGrants: databricks.GrantsGrantArray{\n\t\t\t\t\u0026databricks.GrantsGrantArgs{\n\t\t\t\t\tPrincipal: pulumi.String(\"Data Engineers\"),\n\t\t\t\t\tPrivileges: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"CREATE_EXTERNAL_TABLE\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.StorageCredential;\nimport com.pulumi.databricks.StorageCredentialArgs;\nimport com.pulumi.databricks.inputs.StorageCredentialDatabricksGcpServiceAccountArgs;\nimport com.pulumi.databricks.Grants;\nimport com.pulumi.databricks.GrantsArgs;\nimport com.pulumi.databricks.inputs.GrantsGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var external = new StorageCredential(\"external\", StorageCredentialArgs.builder()\n .name(\"the-creds\")\n .databricksGcpServiceAccount()\n .build());\n\n var externalCreds = new Grants(\"externalCreds\", GrantsArgs.builder()\n .storageCredential(external.id())\n .grants(GrantsGrantArgs.builder()\n .principal(\"Data Engineers\")\n .privileges(\"CREATE_EXTERNAL_TABLE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n external:\n type: databricks:StorageCredential\n properties:\n name: the-creds\n databricksGcpServiceAccount: {}\n externalCreds:\n type: databricks:Grants\n name: external_creds\n properties:\n storageCredential: ${external.id}\n grants:\n - principal: Data Engineers\n privileges:\n - CREATE_EXTERNAL_TABLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by name:\n\nbash\n\n```sh\n$ pulumi import databricks:index/storageCredential:StorageCredential this \u003cname\u003e\n```\n\n", "properties": { "awsIamRole": { "$ref": "#/types/databricks:index/StorageCredentialAwsIamRole:StorageCredentialAwsIamRole" @@ -30551,7 +33179,7 @@ } }, "databricks:index/workspaceBinding:WorkspaceBinding": { - "description": "\u003e This resource can only be used with a workspace-level provider!\n\nIf you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding\n\nBy default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `databricks.WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.\n\n\u003e To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks.ExternalLocation or databricks_storage_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).\n\n\u003e If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n isolationMode: \"ISOLATED\",\n});\nconst sandboxWorkspaceBinding = new databricks.WorkspaceBinding(\"sandbox\", {\n securableName: sandbox.name,\n workspaceId: other.workspaceId,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n isolation_mode=\"ISOLATED\")\nsandbox_workspace_binding = databricks.WorkspaceBinding(\"sandbox\",\n securable_name=sandbox.name,\n workspace_id=other[\"workspaceId\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n IsolationMode = \"ISOLATED\",\n });\n\n var sandboxWorkspaceBinding = new Databricks.WorkspaceBinding(\"sandbox\", new()\n {\n SecurableName = sandbox.Name,\n WorkspaceId = other.WorkspaceId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tIsolationMode: pulumi.String(\"ISOLATED\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewWorkspaceBinding(ctx, \"sandbox\", \u0026databricks.WorkspaceBindingArgs{\n\t\t\tSecurableName: sandbox.Name,\n\t\t\tWorkspaceId: pulumi.Any(other.WorkspaceId),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.WorkspaceBinding;\nimport com.pulumi.databricks.WorkspaceBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .isolationMode(\"ISOLATED\")\n .build());\n\n var sandboxWorkspaceBinding = new WorkspaceBinding(\"sandboxWorkspaceBinding\", WorkspaceBindingArgs.builder()\n .securableName(sandbox.name())\n .workspaceId(other.workspaceId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n isolationMode: ISOLATED\n sandboxWorkspaceBinding:\n type: databricks:WorkspaceBinding\n name: sandbox\n properties:\n securableName: ${sandbox.name}\n workspaceId: ${other.workspaceId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by using combination of workspace ID, securable type and name:\n\n```sh\n$ pulumi import databricks:index/workspaceBinding:WorkspaceBinding this \"\u003cworkspace_id\u003e|\u003csecurable_type\u003e|\u003csecurable_name\u003e\"\n```\n\n", + "description": "\u003e This resource can only be used with a workspace-level provider!\n\nIf you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding\n\nBy default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `databricks.WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.\n\n\u003e To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, databricks.StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).\n\n\u003e If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst sandbox = new databricks.Catalog(\"sandbox\", {\n name: \"sandbox\",\n isolationMode: \"ISOLATED\",\n});\nconst sandboxWorkspaceBinding = new databricks.WorkspaceBinding(\"sandbox\", {\n securableName: sandbox.name,\n workspaceId: other.workspaceId,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nsandbox = databricks.Catalog(\"sandbox\",\n name=\"sandbox\",\n isolation_mode=\"ISOLATED\")\nsandbox_workspace_binding = databricks.WorkspaceBinding(\"sandbox\",\n securable_name=sandbox.name,\n workspace_id=other[\"workspaceId\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sandbox = new Databricks.Catalog(\"sandbox\", new()\n {\n Name = \"sandbox\",\n IsolationMode = \"ISOLATED\",\n });\n\n var sandboxWorkspaceBinding = new Databricks.WorkspaceBinding(\"sandbox\", new()\n {\n SecurableName = sandbox.Name,\n WorkspaceId = other.WorkspaceId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsandbox, err := databricks.NewCatalog(ctx, \"sandbox\", \u0026databricks.CatalogArgs{\n\t\t\tName: pulumi.String(\"sandbox\"),\n\t\t\tIsolationMode: pulumi.String(\"ISOLATED\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewWorkspaceBinding(ctx, \"sandbox\", \u0026databricks.WorkspaceBindingArgs{\n\t\t\tSecurableName: sandbox.Name,\n\t\t\tWorkspaceId: pulumi.Any(other.WorkspaceId),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Catalog;\nimport com.pulumi.databricks.CatalogArgs;\nimport com.pulumi.databricks.WorkspaceBinding;\nimport com.pulumi.databricks.WorkspaceBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Catalog(\"sandbox\", CatalogArgs.builder()\n .name(\"sandbox\")\n .isolationMode(\"ISOLATED\")\n .build());\n\n var sandboxWorkspaceBinding = new WorkspaceBinding(\"sandboxWorkspaceBinding\", WorkspaceBindingArgs.builder()\n .securableName(sandbox.name())\n .workspaceId(other.workspaceId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n sandbox:\n type: databricks:Catalog\n properties:\n name: sandbox\n isolationMode: ISOLATED\n sandboxWorkspaceBinding:\n type: databricks:WorkspaceBinding\n name: sandbox\n properties:\n securableName: ${sandbox.name}\n workspaceId: ${other.workspaceId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported by using combination of workspace ID, securable type and name:\n\n```sh\n$ pulumi import databricks:index/workspaceBinding:WorkspaceBinding this \"\u003cworkspace_id\u003e|\u003csecurable_type\u003e|\u003csecurable_name\u003e\"\n```\n\n", "properties": { "bindingType": { "type": "string", @@ -30567,7 +33195,7 @@ }, "securableType": { "type": "string", - "description": "Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource.\n" + "description": "Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.\n" }, "workspaceId": { "type": "string", @@ -30594,7 +33222,7 @@ }, "securableType": { "type": "string", - "description": "Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource.\n", + "description": "Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.\n", "willReplaceOnChanges": true }, "workspaceId": { @@ -30622,7 +33250,7 @@ }, "securableType": { "type": "string", - "description": "Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource.\n", + "description": "Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.\n", "willReplaceOnChanges": true }, "workspaceId": { @@ -30635,7 +33263,7 @@ } }, "databricks:index/workspaceConf:WorkspaceConf": { - "description": "\u003e This resource has an evolving API, which may change in future versions of the provider.\n\nManages workspace configuration for expert usage. Currently, more than one instance of resource can exist in Pulumi state, though there's no deterministic behavior, when they manage the same property. We strongly recommend to use a single `databricks.WorkspaceConf` per workspace.\n\n\u003e Deleting `databricks.WorkspaceConf` resources may fail depending on the configuration properties set, including but not limited to `enableIpAccessLists`, `enableGp3`, and `maxTokenLifetimeDays`. The provider will print a warning if this occurs. You can verify the workspace configuration by reviewing [the workspace settings in the UI](https://docs.databricks.com/en/admin/workspace-settings/index.html).\n\n## Example Usage\n\nAllows specification of custom configuration properties for expert usage:\n\n- `enableIpAccessLists` - enables the use of databricks.IpAccessList resources\n- `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set.\n- `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace.\n- `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace.\n- `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.WorkspaceConf(\"this\", {customConfig: {\n enableIpAccessLists: \"true\",\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.WorkspaceConf(\"this\", custom_config={\n \"enableIpAccessLists\": \"true\",\n})\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.WorkspaceConf(\"this\", new()\n {\n CustomConfig = \n {\n { \"enableIpAccessLists\", \"true\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewWorkspaceConf(ctx, \"this\", \u0026databricks.WorkspaceConfArgs{\n\t\t\tCustomConfig: pulumi.StringMap{\n\t\t\t\t\"enableIpAccessLists\": pulumi.String(\"true\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.WorkspaceConf;\nimport com.pulumi.databricks.WorkspaceConfArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new WorkspaceConf(\"this\", WorkspaceConfArgs.builder()\n .customConfig(Map.of(\"enableIpAccessLists\", true))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:WorkspaceConf\n properties:\n customConfig:\n enableIpAccessLists: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n!\u003e Importing this resource is not currently supported.\n\n", + "description": "\u003e This resource has an evolving API, which may change in future versions of the provider.\n\nManages workspace configuration for expert usage. Currently, more than one instance of resource can exist in Pulumi state, though there's no deterministic behavior, when they manage the same property. We strongly recommend to use a single `databricks.WorkspaceConf` per workspace.\n\n\u003e Deleting `databricks.WorkspaceConf` resources may fail depending on the configuration properties set, including but not limited to `enableIpAccessLists`, `enableGp3`, and `maxTokenLifetimeDays`. The provider will print a warning if this occurs. You can verify the workspace configuration by reviewing [the workspace settings in the UI](https://docs.databricks.com/en/admin/workspace-settings/index.html).\n\n## Example Usage\n\nAllows specification of custom configuration properties for expert usage:\n\n- `enableIpAccessLists` - enables the use of databricks.IpAccessList resources\n- `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set.\n- `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace.\n- `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace.\n- `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.WorkspaceConf(\"this\", {customConfig: {\n enableIpAccessLists: \"true\",\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.WorkspaceConf(\"this\", custom_config={\n \"enableIpAccessLists\": \"true\",\n})\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.WorkspaceConf(\"this\", new()\n {\n CustomConfig = \n {\n { \"enableIpAccessLists\", \"true\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewWorkspaceConf(ctx, \"this\", \u0026databricks.WorkspaceConfArgs{\n\t\t\tCustomConfig: pulumi.StringMap{\n\t\t\t\t\"enableIpAccessLists\": pulumi.String(\"true\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.WorkspaceConf;\nimport com.pulumi.databricks.WorkspaceConfArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new WorkspaceConf(\"this\", WorkspaceConfArgs.builder()\n .customConfig(Map.of(\"enableIpAccessLists\", true))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:WorkspaceConf\n properties:\n customConfig:\n enableIpAccessLists: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n!\u003e Importing this resource is not currently supported.\n\n", "properties": { "customConfig": { "type": "object", @@ -30767,13 +33395,81 @@ } }, "functions": { + "databricks:index/getApp:getApp": { + "description": "\u003e This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).\n\n[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.\n\nThis data source allows you to fetch information about a Databricks App.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getApp({\n name: \"my-custom-app\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_app(name=\"my-custom-app\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetApp.Invoke(new()\n {\n Name = \"my-custom-app\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.LookupApp(ctx, \u0026databricks.LookupAppArgs{\n\t\t\tName: \"my-custom-app\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getApp(GetAppArgs.builder()\n .name(\"my-custom-app\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getApp\n arguments:\n name: my-custom-app\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).\n* databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n* databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.\n", + "inputs": { + "description": "A collection of arguments for invoking getApp.\n", + "properties": { + "name": { + "type": "string", + "description": "The name of the app.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "outputs": { + "description": "A collection of values returned by getApp.\n", + "properties": { + "app": { + "$ref": "#/types/databricks:index/getAppApp:getAppApp", + "description": "attribute\n" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "description": "Name of the serving endpoint to grant permission on.\n", + "type": "string" + } + }, + "required": [ + "app", + "name", + "id" + ], + "type": "object" + } + }, + "databricks:index/getApps:getApps": { + "description": "\u003e This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).\n\n[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.\n\nThis data source allows you to fetch information about all Databricks Apps within a workspace.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst allApps = databricks.getApps({});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nall_apps = databricks.get_apps()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var allApps = Databricks.GetApps.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.GetApps(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var allApps = DatabricksFunctions.getApps();\n\n }\n}\n```\n```yaml\nvariables:\n allApps:\n fn::invoke:\n function: databricks:getApps\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).\n* databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n* databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.\n", + "outputs": { + "description": "A collection of values returned by getApps.\n", + "properties": { + "apps": { + "items": { + "$ref": "#/types/databricks:index/getAppsApp:getAppsApp" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + } + }, + "required": [ + "apps", + "id" + ], + "type": "object" + } + }, "databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy": { "description": "This data source constructs necessary AWS STS assume role policy for you.\n\n## Example Usage\n\nEnd-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst config = new pulumi.Config();\n// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\nconst databricksAccountId = config.requireObject(\"databricksAccountId\");\nconst this = databricks.getAwsCrossAccountPolicy({});\nconst crossAccountPolicy = new aws.iam.Policy(\"cross_account_policy\", {\n name: `${prefix}-crossaccount-iam-policy`,\n policy: _this.then(_this =\u003e _this.json),\n});\nconst thisGetAwsAssumeRolePolicy = databricks.getAwsAssumeRolePolicy({\n externalId: databricksAccountId,\n});\nconst crossAccount = new aws.iam.Role(\"cross_account\", {\n name: `${prefix}-crossaccount-iam-role`,\n assumeRolePolicy: thisGetAwsAssumeRolePolicy.then(thisGetAwsAssumeRolePolicy =\u003e thisGetAwsAssumeRolePolicy.json),\n description: \"Grants Databricks full access to VPC resources\",\n});\nconst crossAccountRolePolicyAttachment = new aws.iam.RolePolicyAttachment(\"cross_account\", {\n policyArn: crossAccountPolicy.arn,\n role: crossAccount.name,\n});\n// required only in case of multi-workspace setup\nconst thisMwsCredentials = new databricks.MwsCredentials(\"this\", {\n accountId: databricksAccountId,\n credentialsName: `${prefix}-creds`,\n roleArn: crossAccount.arn,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\nimport pulumi_databricks as databricks\n\nconfig = pulumi.Config()\n# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\ndatabricks_account_id = config.require_object(\"databricksAccountId\")\nthis = databricks.get_aws_cross_account_policy()\ncross_account_policy = aws.iam.Policy(\"cross_account_policy\",\n name=f\"{prefix}-crossaccount-iam-policy\",\n policy=this.json)\nthis_get_aws_assume_role_policy = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)\ncross_account = aws.iam.Role(\"cross_account\",\n name=f\"{prefix}-crossaccount-iam-role\",\n assume_role_policy=this_get_aws_assume_role_policy.json,\n description=\"Grants Databricks full access to VPC resources\")\ncross_account_role_policy_attachment = aws.iam.RolePolicyAttachment(\"cross_account\",\n policy_arn=cross_account_policy.arn,\n role=cross_account.name)\n# required only in case of multi-workspace setup\nthis_mws_credentials = databricks.MwsCredentials(\"this\",\n account_id=databricks_account_id,\n credentials_name=f\"{prefix}-creds\",\n role_arn=cross_account.arn)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n // Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n var databricksAccountId = config.RequireObject\u003cdynamic\u003e(\"databricksAccountId\");\n var @this = Databricks.GetAwsCrossAccountPolicy.Invoke();\n\n var crossAccountPolicy = new Aws.Iam.Policy(\"cross_account_policy\", new()\n {\n Name = $\"{prefix}-crossaccount-iam-policy\",\n PolicyDocument = @this.Apply(@this =\u003e @this.Apply(getAwsCrossAccountPolicyResult =\u003e getAwsCrossAccountPolicyResult.Json)),\n });\n\n var thisGetAwsAssumeRolePolicy = Databricks.GetAwsAssumeRolePolicy.Invoke(new()\n {\n ExternalId = databricksAccountId,\n });\n\n var crossAccount = new Aws.Iam.Role(\"cross_account\", new()\n {\n Name = $\"{prefix}-crossaccount-iam-role\",\n AssumeRolePolicy = thisGetAwsAssumeRolePolicy.Apply(getAwsAssumeRolePolicyResult =\u003e getAwsAssumeRolePolicyResult.Json),\n Description = \"Grants Databricks full access to VPC resources\",\n });\n\n var crossAccountRolePolicyAttachment = new Aws.Iam.RolePolicyAttachment(\"cross_account\", new()\n {\n PolicyArn = crossAccountPolicy.Arn,\n Role = crossAccount.Name,\n });\n\n // required only in case of multi-workspace setup\n var thisMwsCredentials = new Databricks.MwsCredentials(\"this\", new()\n {\n AccountId = databricksAccountId,\n CredentialsName = $\"{prefix}-creds\",\n RoleArn = crossAccount.Arn,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\t// Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/\n\t\tdatabricksAccountId := cfg.RequireObject(\"databricksAccountId\")\n\t\tthis, err := databricks.GetAwsCrossAccountPolicy(ctx, \u0026databricks.GetAwsCrossAccountPolicyArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcrossAccountPolicy, err := iam.NewPolicy(ctx, \"cross_account_policy\", \u0026iam.PolicyArgs{\n\t\t\tName: pulumi.Sprintf(\"%v-crossaccount-iam-policy\", prefix),\n\t\t\tPolicy: pulumi.String(this.Json),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tthisGetAwsAssumeRolePolicy, err := databricks.GetAwsAssumeRolePolicy(ctx, \u0026databricks.GetAwsAssumeRolePolicyArgs{\n\t\t\tExternalId: databricksAccountId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcrossAccount, err := iam.NewRole(ctx, \"cross_account\", \u0026iam.RoleArgs{\n\t\t\tName: pulumi.Sprintf(\"%v-crossaccount-iam-role\", prefix),\n\t\t\tAssumeRolePolicy: pulumi.String(thisGetAwsAssumeRolePolicy.Json),\n\t\t\tDescription: pulumi.String(\"Grants Databricks full access to VPC resources\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = iam.NewRolePolicyAttachment(ctx, \"cross_account\", \u0026iam.RolePolicyAttachmentArgs{\n\t\t\tPolicyArn: crossAccountPolicy.Arn,\n\t\t\tRole: crossAccount.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// required only in case of multi-workspace setup\n\t\t_, err = databricks.NewMwsCredentials(ctx, \"this\", \u0026databricks.MwsCredentialsArgs{\n\t\t\tAccountId: pulumi.Any(databricksAccountId),\n\t\t\tCredentialsName: pulumi.Sprintf(\"%v-creds\", prefix),\n\t\t\tRoleArn: crossAccount.Arn,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;\nimport com.pulumi.aws.iam.Policy;\nimport com.pulumi.aws.iam.PolicyArgs;\nimport com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;\nimport com.pulumi.aws.iam.Role;\nimport com.pulumi.aws.iam.RoleArgs;\nimport com.pulumi.aws.iam.RolePolicyAttachment;\nimport com.pulumi.aws.iam.RolePolicyAttachmentArgs;\nimport com.pulumi.databricks.MwsCredentials;\nimport com.pulumi.databricks.MwsCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var databricksAccountId = config.get(\"databricksAccountId\");\n final var this = DatabricksFunctions.getAwsCrossAccountPolicy();\n\n var crossAccountPolicy = new Policy(\"crossAccountPolicy\", PolicyArgs.builder()\n .name(String.format(\"%s-crossaccount-iam-policy\", prefix))\n .policy(this_.json())\n .build());\n\n final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()\n .externalId(databricksAccountId)\n .build());\n\n var crossAccount = new Role(\"crossAccount\", RoleArgs.builder()\n .name(String.format(\"%s-crossaccount-iam-role\", prefix))\n .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -\u003e getAwsAssumeRolePolicyResult.json()))\n .description(\"Grants Databricks full access to VPC resources\")\n .build());\n\n var crossAccountRolePolicyAttachment = new RolePolicyAttachment(\"crossAccountRolePolicyAttachment\", RolePolicyAttachmentArgs.builder()\n .policyArn(crossAccountPolicy.arn())\n .role(crossAccount.name())\n .build());\n\n // required only in case of multi-workspace setup\n var thisMwsCredentials = new MwsCredentials(\"thisMwsCredentials\", MwsCredentialsArgs.builder()\n .accountId(databricksAccountId)\n .credentialsName(String.format(\"%s-creds\", prefix))\n .roleArn(crossAccount.arn())\n .build());\n\n }\n}\n```\n```yaml\nconfiguration:\n databricksAccountId:\n type: dynamic\nresources:\n crossAccountPolicy:\n type: aws:iam:Policy\n name: cross_account_policy\n properties:\n name: ${prefix}-crossaccount-iam-policy\n policy: ${this.json}\n crossAccount:\n type: aws:iam:Role\n name: cross_account\n properties:\n name: ${prefix}-crossaccount-iam-role\n assumeRolePolicy: ${thisGetAwsAssumeRolePolicy.json}\n description: Grants Databricks full access to VPC resources\n crossAccountRolePolicyAttachment:\n type: aws:iam:RolePolicyAttachment\n name: cross_account\n properties:\n policyArn: ${crossAccountPolicy.arn}\n role: ${crossAccount.name}\n # required only in case of multi-workspace setup\n thisMwsCredentials:\n type: databricks:MwsCredentials\n name: this\n properties:\n accountId: ${databricksAccountId}\n credentialsName: ${prefix}-creds\n roleArn: ${crossAccount.arn}\nvariables:\n this:\n fn::invoke:\n function: databricks:getAwsCrossAccountPolicy\n arguments: {}\n thisGetAwsAssumeRolePolicy:\n fn::invoke:\n function: databricks:getAwsAssumeRolePolicy\n arguments:\n externalId: ${databricksAccountId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* Provisioning AWS Databricks workspaces with a Hub \u0026 Spoke firewall for data exfiltration protection guide\n* databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.\n* 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).\n", "inputs": { "description": "A collection of arguments for invoking getAwsAssumeRolePolicy.\n", "properties": { + "awsPartition": { + "type": "string", + "description": "AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`\n", + "willReplaceOnChanges": true + }, "databricksAccountId": { "type": "string", + "deprecationMessage": "databricks_account_id will be will be removed in the next major release.", "willReplaceOnChanges": true }, "externalId": { @@ -30795,7 +33491,11 @@ "outputs": { "description": "A collection of values returned by getAwsAssumeRolePolicy.\n", "properties": { + "awsPartition": { + "type": "string" + }, "databricksAccountId": { + "deprecationMessage": "databricks_account_id will be will be removed in the next major release.", "type": "string" }, "externalId": { @@ -30826,6 +33526,11 @@ "inputs": { "description": "A collection of arguments for invoking getAwsBucketPolicy.\n", "properties": { + "awsPartition": { + "type": "string", + "description": "AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`\n", + "willReplaceOnChanges": true + }, "bucket": { "type": "string", "description": "AWS S3 Bucket name for which to generate the policy document.\n", @@ -30833,6 +33538,7 @@ }, "databricksAccountId": { "type": "string", + "deprecationMessage": "databricks_account_id will be will be removed in the next major release.", "willReplaceOnChanges": true }, "databricksE2AccountId": { @@ -30854,10 +33560,14 @@ "outputs": { "description": "A collection of values returned by getAwsBucketPolicy.\n", "properties": { + "awsPartition": { + "type": "string" + }, "bucket": { "type": "string" }, "databricksAccountId": { + "deprecationMessage": "databricks_account_id will be will be removed in the next major release.", "type": "string" }, "databricksE2AccountId": { @@ -30893,6 +33603,11 @@ "description": "— Your AWS account ID, which is a number.\n", "willReplaceOnChanges": true }, + "awsPartition": { + "type": "string", + "description": "AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`\n", + "willReplaceOnChanges": true + }, "passRoles": { "type": "array", "items": { @@ -30930,6 +33645,9 @@ "awsAccountId": { "type": "string" }, + "awsPartition": { + "type": "string" + }, "id": { "description": "The provider-assigned unique ID for this managed resource.\n", "type": "string" @@ -30974,6 +33692,11 @@ "description": "The Account ID of the current AWS account (not your Databricks account).\n", "willReplaceOnChanges": true }, + "awsPartition": { + "type": "string", + "description": "AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`\n", + "willReplaceOnChanges": true + }, "externalId": { "type": "string", "description": "The storage credential external id.\n", @@ -30986,7 +33709,7 @@ }, "unityCatalogIamArn": { "type": "string", - "description": "The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL`\n" + "description": "The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection\n" } }, "type": "object", @@ -31002,6 +33725,9 @@ "awsAccountId": { "type": "string" }, + "awsPartition": { + "type": "string" + }, "externalId": { "type": "string" }, @@ -31040,6 +33766,11 @@ "description": "The Account ID of the current AWS account (not your Databricks account).\n", "willReplaceOnChanges": true }, + "awsPartition": { + "type": "string", + "description": "AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`\n", + "willReplaceOnChanges": true + }, "bucketName": { "type": "string", "description": "The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog.\n", @@ -31069,6 +33800,9 @@ "awsAccountId": { "type": "string" }, + "awsPartition": { + "type": "string" + }, "bucketName": { "type": "string" }, @@ -31816,6 +34550,7 @@ }, "required": [ "catalogName", + "functions", "schemaName", "id" ], @@ -32143,7 +34878,7 @@ } }, "databricks:index/getJobs:getJobs": { - "description": "\u003e **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.\n\nRetrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.\n\n\u003e **Note** Data resource will error in case of jobs with duplicate names.\n\n## Example Usage\n\nGranting view databricks.Permissions to all databricks.Job within the workspace:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const this = await databricks.getJobs({});\n const everyoneCanViewAllJobs: databricks.Permissions[] = [];\n for (const range of Object.entries(_this.ids).map(([k, v]) =\u003e ({key: k, value: v}))) {\n everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {\n jobId: range.value,\n accessControls: [{\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n }],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_jobs()\neveryone_can_view_all_jobs = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(this.ids)]:\n everyone_can_view_all_jobs.append(databricks.Permissions(f\"everyone_can_view_all_jobs-{range['key']}\",\n job_id=range[\"value\"],\n access_controls=[{\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var @this = await Databricks.GetJobs.InvokeAsync();\n\n var everyoneCanViewAllJobs = new List\u003cDatabricks.Permissions\u003e();\n foreach (var range in )\n {\n everyoneCanViewAllJobs.Add(new Databricks.Permissions($\"everyone_can_view_all_jobs-{range.Key}\", new()\n {\n JobId = range.Value,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.GetJobs(ctx, \u0026databricks.GetJobsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar everyoneCanViewAllJobs []*databricks.Permissions\n\t\tfor key0, val0 := range this.Ids {\n\t\t\t__res, err := databricks.NewPermissions(ctx, fmt.Sprintf(\"everyone_can_view_all_jobs-%v\", key0), \u0026databricks.PermissionsArgs{\n\t\t\t\tJobId: pulumi.String(val0),\n\t\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\teveryoneCanViewAllJobs = append(everyoneCanViewAllJobs, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetJobsArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getJobs();\n\n final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -\u003e {\n final var resources = new ArrayList\u003cPermissions\u003e();\n for (var range : KeyedValue.of(getJobsResult.ids()) {\n var resource = new Permissions(\"everyoneCanViewAllJobs-\" + range.key(), PermissionsArgs.builder()\n .jobId(range.value())\n .accessControls(PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build())\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n everyoneCanViewAllJobs:\n type: databricks:Permissions\n name: everyone_can_view_all_jobs\n properties:\n jobId: ${range.value}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n options: {}\nvariables:\n this:\n fn::invoke:\n function: databricks:getJobs\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nGetting ID of specific databricks.Job by name:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getJobs({});\nexport const x = _this.then(_this =\u003e `ID of `x` job is ${_this.ids?.x}`);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_jobs()\npulumi.export(\"x\", f\"ID of `x` job is {this.ids['x']}\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetJobs.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"x\"] = @this.Apply(@this =\u003e $\"ID of `x` job is {@this.Apply(getJobsResult =\u003e getJobsResult.Ids?.X)}\"),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.GetJobs(ctx, \u0026databricks.GetJobsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"x\", pulumi.Sprintf(\"ID of `x` job is %v\", this.Ids.X))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetJobsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getJobs();\n\n ctx.export(\"x\", String.format(\"ID of `x` job is %s\", this_.ids().x()));\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getJobs\n arguments: {}\noutputs:\n x: ID of `x` job is ${this.ids.x}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.\n", + "description": "\u003e **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.\n\nRetrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.\n\n\u003e **Note** Data resource will error in case of jobs with duplicate names.\n\n## Example Usage\n\nGranting view databricks.Permissions to all databricks.Job within the workspace:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nexport = async () =\u003e {\n const this = await databricks.getJobs({});\n const tests = await databricks.getJobs({\n jobNameContains: \"test\",\n });\n const everyoneCanViewAllJobs: databricks.Permissions[] = [];\n for (const range of Object.entries(_this.ids).map(([k, v]) =\u003e ({key: k, value: v}))) {\n everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {\n jobId: range.value,\n accessControls: [{\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n }],\n }));\n }\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_jobs()\ntests = databricks.get_jobs(job_name_contains=\"test\")\neveryone_can_view_all_jobs = []\nfor range in [{\"key\": k, \"value\": v} for [k, v] in enumerate(this.ids)]:\n everyone_can_view_all_jobs.append(databricks.Permissions(f\"everyone_can_view_all_jobs-{range['key']}\",\n job_id=range[\"value\"],\n access_controls=[{\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n }]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(async() =\u003e \n{\n var @this = await Databricks.GetJobs.InvokeAsync();\n\n var tests = await Databricks.GetJobs.InvokeAsync(new()\n {\n JobNameContains = \"test\",\n });\n\n var everyoneCanViewAllJobs = new List\u003cDatabricks.Permissions\u003e();\n foreach (var range in )\n {\n everyoneCanViewAllJobs.Add(new Databricks.Permissions($\"everyone_can_view_all_jobs-{range.Key}\", new()\n {\n JobId = range.Value,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.GetJobs(ctx, \u0026databricks.GetJobsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.GetJobs(ctx, \u0026databricks.GetJobsArgs{\n\t\t\tJobNameContains: pulumi.StringRef(\"test\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar everyoneCanViewAllJobs []*databricks.Permissions\n\t\tfor key0, val0 := range this.Ids {\n\t\t\t__res, err := databricks.NewPermissions(ctx, fmt.Sprintf(\"everyone_can_view_all_jobs-%v\", key0), \u0026databricks.PermissionsArgs{\n\t\t\t\tJobId: pulumi.String(val0),\n\t\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\teveryoneCanViewAllJobs = append(everyoneCanViewAllJobs, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetJobsArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getJobs();\n\n final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()\n .jobNameContains(\"test\")\n .build());\n\n final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -\u003e {\n final var resources = new ArrayList\u003cPermissions\u003e();\n for (var range : KeyedValue.of(getJobsResult.ids()) {\n var resource = new Permissions(\"everyoneCanViewAllJobs-\" + range.key(), PermissionsArgs.builder()\n .jobId(range.value())\n .accessControls(PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build())\n .build());\n\n resources.add(resource);\n }\n\n return resources;\n });\n\n }\n}\n```\n```yaml\nresources:\n everyoneCanViewAllJobs:\n type: databricks:Permissions\n name: everyone_can_view_all_jobs\n properties:\n jobId: ${range.value}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n options: {}\nvariables:\n this:\n fn::invoke:\n function: databricks:getJobs\n arguments: {}\n tests:\n fn::invoke:\n function: databricks:getJobs\n arguments:\n jobNameContains: test\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nGetting ID of specific databricks.Job by name:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getJobs({});\nexport const x = _this.then(_this =\u003e `ID of `x` job is ${_this.ids?.x}`);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_jobs()\npulumi.export(\"x\", f\"ID of `x` job is {this.ids['x']}\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetJobs.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"x\"] = @this.Apply(@this =\u003e $\"ID of `x` job is {@this.Apply(getJobsResult =\u003e getJobsResult.Ids?.X)}\"),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.GetJobs(ctx, \u0026databricks.GetJobsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"x\", pulumi.Sprintf(\"ID of `x` job is %v\", this.Ids.X))\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetJobsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getJobs();\n\n ctx.export(\"x\", String.format(\"ID of `x` job is %s\", this_.ids().x()));\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getJobs\n arguments: {}\noutputs:\n x: ID of `x` job is ${this.ids.x}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.\n", "inputs": { "description": "A collection of arguments for invoking getJobs.\n", "properties": { @@ -32153,6 +34888,11 @@ "type": "string" }, "description": "map of databricks.Job names to ids\n" + }, + "jobNameContains": { + "type": "string", + "description": "Only return databricks.Job ids that match the given name string (case-insensitive).\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -32170,6 +34910,9 @@ }, "description": "map of databricks.Job names to ids\n", "type": "object" + }, + "jobNameContains": { + "type": "string" } }, "required": [ @@ -32537,6 +35280,140 @@ "type": "object" } }, + "databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig": { + "description": "\u003e **Note** This data source can only be used with an account-level provider!\n\nRetrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account.\n\n## Example Usage\n\nFetching information about a network connectivity configuration in Databricks Account\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getMwsNetworkConnectivityConfig({\n name: \"ncc\",\n});\nexport const config = _this;\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_mws_network_connectivity_config(name=\"ncc\")\npulumi.export(\"config\", this)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetMwsNetworkConnectivityConfig.Invoke(new()\n {\n Name = \"ncc\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"config\"] = @this,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.LookupMwsNetworkConnectivityConfig(ctx, \u0026databricks.LookupMwsNetworkConnectivityConfigArgs{\n\t\t\tName: \"ncc\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"config\", this)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()\n .name(\"ncc\")\n .build());\n\n ctx.export(\"config\", this_);\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getMwsNetworkConnectivityConfig\n arguments:\n name: ncc\noutputs:\n config: ${this}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations.\n* databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.\n", + "inputs": { + "description": "A collection of arguments for invoking getMwsNetworkConnectivityConfig.\n", + "properties": { + "accountId": { + "type": "string", + "description": "The Databricks account ID associated with this network configuration.\n" + }, + "creationTime": { + "type": "integer", + "description": "Time in epoch milliseconds when this object was created.\n" + }, + "egressConfig": { + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfig:getMwsNetworkConnectivityConfigEgressConfig", + "description": "Array of egress configuration objects.\n" + }, + "name": { + "type": "string", + "description": "Name of the network connectivity configuration.\n", + "willReplaceOnChanges": true + }, + "networkConnectivityConfigId": { + "type": "string", + "description": "The Databricks network connectivity configuration ID.\n" + }, + "region": { + "type": "string", + "description": "The region of the network connectivity configuration.\n" + }, + "updatedTime": { + "type": "integer", + "description": "Time in epoch milliseconds when the network was updated.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "outputs": { + "description": "A collection of values returned by getMwsNetworkConnectivityConfig.\n", + "properties": { + "accountId": { + "description": "The Databricks account ID associated with this network configuration.\n", + "type": "string" + }, + "creationTime": { + "description": "Time in epoch milliseconds when this object was created.\n", + "type": "integer" + }, + "egressConfig": { + "$ref": "#/types/databricks:index/getMwsNetworkConnectivityConfigEgressConfig:getMwsNetworkConnectivityConfigEgressConfig", + "description": "Array of egress configuration objects.\n" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "description": "The name of the network connectivity configuration.\n", + "type": "string" + }, + "networkConnectivityConfigId": { + "description": "The Databricks network connectivity configuration ID.\n", + "type": "string" + }, + "region": { + "description": "The region of the network connectivity configuration.\n", + "type": "string" + }, + "updatedTime": { + "description": "Time in epoch milliseconds when the network was updated.\n", + "type": "integer" + } + }, + "required": [ + "accountId", + "creationTime", + "egressConfig", + "name", + "networkConnectivityConfigId", + "region", + "updatedTime", + "id" + ], + "type": "object" + } + }, + "databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs": { + "description": "\u003e **Note** This data source can only be used with an account-level provider!\n\nLists all databricks.MwsNetworkConnectivityConfig in Databricks Account.\n\n## Example Usage\n\nList all network connectivity configurations in Databricks Account\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getMwsNetworkConnectivityConfigs({});\nexport const all = _this;\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_mws_network_connectivity_configs()\npulumi.export(\"all\", this)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"all\"] = @this,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.GetMwsNetworkConnectivityConfigs(ctx, \u0026databricks.GetMwsNetworkConnectivityConfigsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"all\", this)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();\n\n ctx.export(\"all\", this_);\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getMwsNetworkConnectivityConfigs\n arguments: {}\noutputs:\n all: ${this}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nList network connectivity configurations from a specific region in Databricks Account\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getMwsNetworkConnectivityConfigs({\n region: \"us-east-1\",\n});\nexport const filtered = _this;\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_mws_network_connectivity_configs(region=\"us-east-1\")\npulumi.export(\"filtered\", this)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(new()\n {\n Region = \"us-east-1\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"filtered\"] = @this,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.GetMwsNetworkConnectivityConfigs(ctx, \u0026databricks.GetMwsNetworkConnectivityConfigsArgs{\n\t\t\tRegion: pulumi.StringRef(\"us-east-1\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"filtered\", this)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()\n .region(\"us-east-1\")\n .build());\n\n ctx.export(\"filtered\", this_);\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getMwsNetworkConnectivityConfigs\n arguments:\n region: us-east-1\noutputs:\n filtered: ${this}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration.\n* databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.\n", + "inputs": { + "description": "A collection of arguments for invoking getMwsNetworkConnectivityConfigs.\n", + "properties": { + "names": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of names of databricks_mws_network_connectivity_config\n" + }, + "region": { + "type": "string", + "description": "Filter network connectivity configurations by region.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getMwsNetworkConnectivityConfigs.\n", + "properties": { + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "names": { + "description": "List of names of databricks_mws_network_connectivity_config\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "region": { + "type": "string" + } + }, + "required": [ + "names", + "id" + ], + "type": "object" + } + }, "databricks:index/getMwsWorkspaces:getMwsWorkspaces": { "description": "\u003e **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.\n\nLists all databricks.MwsWorkspaces in Databricks Account.\n\n\u003e **Note** `account_id` provider configuration property is required for this resource to work.\n\n## Example Usage\n\nListing all workspaces in\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst all = databricks.getMwsWorkspaces({});\nexport const allMwsWorkspaces = all.then(all =\u003e all.ids);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nall = databricks.get_mws_workspaces()\npulumi.export(\"allMwsWorkspaces\", all.ids)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all = Databricks.GetMwsWorkspaces.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"allMwsWorkspaces\"] = all.Apply(getMwsWorkspacesResult =\u003e getMwsWorkspacesResult.Ids),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tall, err := databricks.LookupMwsWorkspaces(ctx, \u0026databricks.LookupMwsWorkspacesArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"allMwsWorkspaces\", all.Ids)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetMwsWorkspacesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var all = DatabricksFunctions.getMwsWorkspaces();\n\n ctx.export(\"allMwsWorkspaces\", all.applyValue(getMwsWorkspacesResult -\u003e getMwsWorkspacesResult.ids()));\n }\n}\n```\n```yaml\nvariables:\n all:\n fn::invoke:\n function: databricks:getMwsWorkspaces\n arguments: {}\noutputs:\n allMwsWorkspaces: ${all.ids}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.MwsWorkspaces to manage Databricks Workspaces on AWS and GCP.\n* databricks.MetastoreAssignment to assign databricks.Metastore to databricks.MwsWorkspaces or azurerm_databricks_workspace\n", "inputs": { @@ -32846,13 +35723,6 @@ "type": "string", "description": "A **case-insensitive** substring to filter Notification Destinations by their display name.\n" }, - "notificationDestinations": { - "type": "array", - "items": { - "$ref": "#/types/databricks:index/getNotificationDestinationsNotificationDestination:getNotificationDestinationsNotificationDestination" - }, - "description": "A list of Notification Destinations matching the specified criteria. Each element contains the following attributes:\n" - }, "type": { "type": "string", "description": "The type of the Notification Destination to filter by. Valid values are: \n* `EMAIL` - Filters Notification Destinations of type Email.\n* `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams.\n* `PAGERDUTY` - Filters Notification Destinations of type PagerDuty.\n* `SLACK` - Filters Notification Destinations of type Slack.\n* `WEBHOOK` - Filters Notification Destinations of type Webhook.\n" @@ -32882,6 +35752,7 @@ } }, "required": [ + "notificationDestinations", "id" ], "type": "object" @@ -32989,6 +35860,56 @@ }, "required": [ "fullName", + "modelInfos", + "id" + ], + "type": "object" + } + }, + "databricks:index/getRegisteredModelVersions:getRegisteredModelVersions": { + "description": "\u003e This resource can only be used with a workspace-level provider!\n\nThis resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getRegisteredModelVersions({\n fullName: \"main.default.my_model\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_registered_model_versions(full_name=\"main.default.my_model\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetRegisteredModelVersions.Invoke(new()\n {\n FullName = \"main.default.my_model\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.GetRegisteredModelVersions(ctx, \u0026databricks.GetRegisteredModelVersionsArgs{\n\t\t\tFullName: \"main.default.my_model\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getRegisteredModelVersions(GetRegisteredModelVersionsArgs.builder()\n .fullName(\"main.default.my_model\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getRegisteredModelVersions\n arguments:\n fullName: main.default.my_model\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog.\n* databricks.RegisteredModel resource to manage models within Unity Catalog.\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.\n", + "inputs": { + "description": "A collection of arguments for invoking getRegisteredModelVersions.\n", + "properties": { + "fullName": { + "type": "string", + "description": "The fully-qualified name of the registered model (`catalog_name.schema_name.name`).\n" + }, + "modelVersions": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersion:getRegisteredModelVersionsModelVersion" + }, + "description": "list of objects describing the model versions. Each object consists of following attributes:\n" + } + }, + "type": "object", + "required": [ + "fullName" + ] + }, + "outputs": { + "description": "A collection of values returned by getRegisteredModelVersions.\n", + "properties": { + "fullName": { + "description": "The fully-qualified name of the registered model (`catalog_name.schema_name.name`).\n", + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "modelVersions": { + "description": "list of objects describing the model versions. Each object consists of following attributes:\n", + "items": { + "$ref": "#/types/databricks:index/getRegisteredModelVersionsModelVersion:getRegisteredModelVersionsModelVersion" + }, + "type": "array" + } + }, + "required": [ + "fullName", + "modelVersions", "id" ], "type": "object" @@ -33231,6 +36152,43 @@ "type": "object" } }, + "databricks:index/getServingEndpoints:getServingEndpoints": { + "description": "\u003e This resource can only be used with a workspace-level provider!\n\nThis resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst all = databricks.getServingEndpoints({});\nconst mlServingUsage: databricks.Permissions[] = [];\nfor (const range = {value: 0}; range.value \u003c allDatabricksServingEndpoints.endpoints; range.value++) {\n mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, {\n servingEndpointId: range.value.id,\n accessControls: [\n {\n groupName: \"users\",\n permissionLevel: \"CAN_VIEW\",\n },\n {\n groupName: auto.displayName,\n permissionLevel: \"CAN_MANAGE\",\n },\n {\n groupName: eng.displayName,\n permissionLevel: \"CAN_QUERY\",\n },\n ],\n }));\n}\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nall = databricks.get_serving_endpoints()\nml_serving_usage = []\nfor range in [{\"value\": i} for i in range(0, all_databricks_serving_endpoints.endpoints)]:\n ml_serving_usage.append(databricks.Permissions(f\"ml_serving_usage-{range['value']}\",\n serving_endpoint_id=range[\"value\"][\"id\"],\n access_controls=[\n {\n \"group_name\": \"users\",\n \"permission_level\": \"CAN_VIEW\",\n },\n {\n \"group_name\": auto[\"displayName\"],\n \"permission_level\": \"CAN_MANAGE\",\n },\n {\n \"group_name\": eng[\"displayName\"],\n \"permission_level\": \"CAN_QUERY\",\n },\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all = Databricks.GetServingEndpoints.Invoke();\n\n var mlServingUsage = new List\u003cDatabricks.Permissions\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c allDatabricksServingEndpoints.Endpoints; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n mlServingUsage.Add(new Databricks.Permissions($\"ml_serving_usage-{range.Value}\", new()\n {\n ServingEndpointId = range.Value.Id,\n AccessControls = new[]\n {\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = \"users\",\n PermissionLevel = \"CAN_VIEW\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = auto.DisplayName,\n PermissionLevel = \"CAN_MANAGE\",\n },\n new Databricks.Inputs.PermissionsAccessControlArgs\n {\n GroupName = eng.DisplayName,\n PermissionLevel = \"CAN_QUERY\",\n },\n },\n }));\n }\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.GetServingEndpoints(ctx, \u0026databricks.GetServingEndpointsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar mlServingUsage []*databricks.Permissions\n\t\tfor index := 0; index \u003c allDatabricksServingEndpoints.Endpoints; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := databricks.NewPermissions(ctx, fmt.Sprintf(\"ml_serving_usage-%v\", key0), \u0026databricks.PermissionsArgs{\n\t\t\t\tServingEndpointId: pulumi.Any(val0),\n\t\t\t\tAccessControls: databricks.PermissionsAccessControlArray{\n\t\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\t\tGroupName: pulumi.String(\"users\"),\n\t\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_VIEW\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\t\tGroupName: pulumi.Any(auto.DisplayName),\n\t\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_MANAGE\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026databricks.PermissionsAccessControlArgs{\n\t\t\t\t\t\tGroupName: pulumi.Any(eng.DisplayName),\n\t\t\t\t\t\tPermissionLevel: pulumi.String(\"CAN_QUERY\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tmlServingUsage = append(mlServingUsage, __res)\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetServingEndpointsArgs;\nimport com.pulumi.databricks.Permissions;\nimport com.pulumi.databricks.PermissionsArgs;\nimport com.pulumi.databricks.inputs.PermissionsAccessControlArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var all = DatabricksFunctions.getServingEndpoints();\n\n for (var i = 0; i \u003c allDatabricksServingEndpoints.endpoints(); i++) {\n new Permissions(\"mlServingUsage-\" + i, PermissionsArgs.builder()\n .servingEndpointId(range.value().id())\n .accessControls( \n PermissionsAccessControlArgs.builder()\n .groupName(\"users\")\n .permissionLevel(\"CAN_VIEW\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(auto.displayName())\n .permissionLevel(\"CAN_MANAGE\")\n .build(),\n PermissionsAccessControlArgs.builder()\n .groupName(eng.displayName())\n .permissionLevel(\"CAN_QUERY\")\n .build())\n .build());\n\n \n}\n }\n}\n```\n```yaml\nresources:\n mlServingUsage:\n type: databricks:Permissions\n name: ml_serving_usage\n properties:\n servingEndpointId: ${range.value.id}\n accessControls:\n - groupName: users\n permissionLevel: CAN_VIEW\n - groupName: ${auto.displayName}\n permissionLevel: CAN_MANAGE\n - groupName: ${eng.displayName}\n permissionLevel: CAN_QUERY\n options: {}\nvariables:\n all:\n fn::invoke:\n function: databricks:getServingEndpoints\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.\n", + "inputs": { + "description": "A collection of arguments for invoking getServingEndpoints.\n", + "properties": { + "endpoints": { + "type": "array", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpoint:getServingEndpointsEndpoint" + }, + "description": "List of objects describing the serving endpoints. Each object consists of following attributes:\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getServingEndpoints.\n", + "properties": { + "endpoints": { + "description": "List of objects describing the serving endpoints. Each object consists of following attributes:\n", + "items": { + "$ref": "#/types/databricks:index/getServingEndpointsEndpoint:getServingEndpointsEndpoint" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + } + }, + "required": [ + "endpoints", + "id" + ], + "type": "object" + } + }, "databricks:index/getShare:getShare": { "description": "Retrieves details about a databricks.Share that were created by Pulumi or manually.\n\n## Example Usage\n\nGetting details of an existing share in the metastore\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst this = databricks.getShare({\n name: \"this\",\n});\nexport const createdBy = _this.then(_this =\u003e _this.createdBy);\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.get_share(name=\"this\")\npulumi.export(\"createdBy\", this.created_by)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = Databricks.GetShare.Invoke(new()\n {\n Name = \"this\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"createdBy\"] = @this.Apply(@this =\u003e @this.Apply(getShareResult =\u003e getShareResult.CreatedBy)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthis, err := databricks.LookupShare(ctx, \u0026databricks.LookupShareArgs{\n\t\t\tName: pulumi.StringRef(\"this\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"createdBy\", this.CreatedBy)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.inputs.GetShareArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var this = DatabricksFunctions.getShare(GetShareArgs.builder()\n .name(\"this\")\n .build());\n\n ctx.export(\"createdBy\", this_.createdBy());\n }\n}\n```\n```yaml\nvariables:\n this:\n fn::invoke:\n function: databricks:getShare\n arguments:\n name: this\noutputs:\n createdBy: ${this.createdBy}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Related Resources\n\nThe following resources are used in the same context:\n\n* databricks.Share to create Delta Sharing shares.\n* databricks.Recipient to create Delta Sharing recipients.\n* databricks.Grants to manage Delta Sharing permissions.\n", "inputs": { diff --git a/provider/go.mod b/provider/go.mod index c509e054..5be0156c 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -7,7 +7,7 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf replace github.com/databricks/terraform-provider-databricks => ../upstream require ( - github.com/databricks/databricks-sdk-go v0.51.0 + github.com/databricks/databricks-sdk-go v0.54.0 github.com/databricks/terraform-provider-databricks v1.58.0 github.com/pulumi/providertest v0.1.3 github.com/pulumi/pulumi-terraform-bridge/v3 v3.99.0 diff --git a/provider/go.sum b/provider/go.sum index 86043525..583c703e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1320,8 +1320,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= -github.com/databricks/databricks-sdk-go v0.51.0 h1:tcvB9TID3oUl0O8npccB5c+33tarBiYMBFbq4U4AB6M= -github.com/databricks/databricks-sdk-go v0.51.0/go.mod h1:ds+zbv5mlQG7nFEU5ojLtgN/u0/9YzZmKQES/CfedzU= +github.com/databricks/databricks-sdk-go v0.54.0 h1:L8gsA3NXs+uYU3QtW/OUgjxMQxOH24k0MT9JhB3zLlM= +github.com/databricks/databricks-sdk-go v0.54.0/go.mod h1:ds+zbv5mlQG7nFEU5ojLtgN/u0/9YzZmKQES/CfedzU= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -1663,8 +1663,8 @@ github.com/hashicorp/terraform-plugin-go v0.25.0 h1:oi13cx7xXA6QciMcpcFi/rwA974r github.com/hashicorp/terraform-plugin-go v0.25.0/go.mod h1:+SYagMYadJP86Kvn+TGeV+ofr/R3g4/If0O5sO96MVw= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= -github.com/hashicorp/terraform-plugin-mux v0.16.0 h1:RCzXHGDYwUwwqfYYWJKBFaS3fQsWn/ZECEiW7p2023I= -github.com/hashicorp/terraform-plugin-mux v0.16.0/go.mod h1:PF79mAsPc8CpusXPfEVa4X8PtkB+ngWoiUClMrNZlYo= +github.com/hashicorp/terraform-plugin-mux v0.17.0 h1:/J3vv3Ps2ISkbLPiZOLspFcIZ0v5ycUXCEQScudGCCw= +github.com/hashicorp/terraform-plugin-mux v0.17.0/go.mod h1:yWuM9U1Jg8DryNfvCp+lH70WcYv6D8aooQxxxIzFDsE= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= diff --git a/provider/resources.go b/provider/resources.go index f9f6810a..931641ce 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -113,13 +113,14 @@ func Provider() tfbridge.ProviderInfo { // category/cloud tag helps with categorizing the package in the Pulumi Registry. // For all available categories, see `Keywords` in // https://www.pulumi.com/docs/guides/pulumi-packages/schema/#package. - Keywords: []string{"pulumi", "databricks", "category/infrastructure"}, - License: "Apache-2.0", - Homepage: "https://www.pulumi.com", - Repository: "https://github.com/pulumi/pulumi-databricks", - GitHubOrg: "databricks", - Config: map[string]*tfbridge.SchemaInfo{}, - DocRules: &tfbridge.DocRuleInfo{EditRules: editRules}, + Keywords: []string{"pulumi", "databricks", "category/infrastructure"}, + License: "Apache-2.0", + Homepage: "https://www.pulumi.com", + Repository: "https://github.com/pulumi/pulumi-databricks", + UpstreamRepoPath: "./upstream", + GitHubOrg: "databricks", + Config: map[string]*tfbridge.SchemaInfo{}, + DocRules: &tfbridge.DocRuleInfo{EditRules: editRules}, IgnoreMappings: []string{ "databricks_aws_s3_mount", "databricks_azure_adls_gen1_mount", @@ -189,6 +190,13 @@ func Provider() tfbridge.ProviderInfo { "https://github.com/pulumi/pulumi-databricks", ), }, + "databricks_app": { + ComputeID: tfbridge.DelegateIDField( + "name", + "databricks", + "https://github.com/pulumi/pulumi-databricks", + ), + }, }, DataSources: map[string]*tfbridge.DataSourceInfo{ "databricks_aws_crossaccount_policy": { @@ -223,7 +231,6 @@ func Provider() tfbridge.ProviderInfo { "Pulumi": "3.*", }, }, - UpstreamRepoPath: "./upstream", } prov.MustComputeTokens(tokens.SingleModule("databricks_", diff --git a/sdk/dotnet/App.cs b/sdk/dotnet/App.cs new file mode 100644 index 00000000..a11ffbff --- /dev/null +++ b/sdk/dotnet/App.cs @@ -0,0 +1,305 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// ## Import + /// + /// This resource can be imported by name: + /// + /// hcl + /// + /// import { + /// + /// to = databricks_app.this + /// + /// id = "<app_name>" + /// + /// } + /// + /// or using the `terraform` CLI: + /// + /// bash + /// + /// ```sh + /// $ pulumi import databricks:index/app:App this <app_name> + /// ``` + /// + [DatabricksResourceType("databricks:index/app:App")] + public partial class App : global::Pulumi.CustomResource + { + [Output("activeDeployment")] + public Output ActiveDeployment { get; private set; } = null!; + + /// + /// attribute + /// + [Output("appStatus")] + public Output AppStatus { get; private set; } = null!; + + /// + /// attribute + /// + [Output("computeStatus")] + public Output ComputeStatus { get; private set; } = null!; + + /// + /// The creation time of the app. + /// + [Output("createTime")] + public Output CreateTime { get; private set; } = null!; + + /// + /// The email of the user that created the app. + /// + [Output("creator")] + public Output Creator { get; private set; } = null!; + + /// + /// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + /// + [Output("defaultSourceCodePath")] + public Output DefaultSourceCodePath { get; private set; } = null!; + + /// + /// The description of the app. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("pendingDeployment")] + public Output PendingDeployment { get; private set; } = null!; + + /// + /// A list of resources that the app have access to. + /// + [Output("resources")] + public Output> Resources { get; private set; } = null!; + + [Output("servicePrincipalClientId")] + public Output ServicePrincipalClientId { get; private set; } = null!; + + /// + /// id of the app service principal + /// + [Output("servicePrincipalId")] + public Output ServicePrincipalId { get; private set; } = null!; + + /// + /// name of the app service principal + /// + [Output("servicePrincipalName")] + public Output ServicePrincipalName { get; private set; } = null!; + + /// + /// The update time of the app. + /// + [Output("updateTime")] + public Output UpdateTime { get; private set; } = null!; + + /// + /// The email of the user that last updated the app. + /// + [Output("updater")] + public Output Updater { get; private set; } = null!; + + /// + /// The URL of the app once it is deployed. + /// + [Output("url")] + public Output Url { get; private set; } = null!; + + + /// + /// Create a App resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public App(string name, AppArgs? args = null, CustomResourceOptions? options = null) + : base("databricks:index/app:App", name, args ?? new AppArgs(), MakeResourceOptions(options, "")) + { + } + + private App(string name, Input id, AppState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/app:App", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing App resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static App Get(string name, Input id, AppState? state = null, CustomResourceOptions? options = null) + { + return new App(name, id, state, options); + } + } + + public sealed class AppArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the app. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("resources")] + private InputList? _resources; + + /// + /// A list of resources that the app have access to. + /// + public InputList Resources + { + get => _resources ?? (_resources = new InputList()); + set => _resources = value; + } + + public AppArgs() + { + } + public static new AppArgs Empty => new AppArgs(); + } + + public sealed class AppState : global::Pulumi.ResourceArgs + { + [Input("activeDeployment")] + public Input? ActiveDeployment { get; set; } + + /// + /// attribute + /// + [Input("appStatus")] + public Input? AppStatus { get; set; } + + /// + /// attribute + /// + [Input("computeStatus")] + public Input? ComputeStatus { get; set; } + + /// + /// The creation time of the app. + /// + [Input("createTime")] + public Input? CreateTime { get; set; } + + /// + /// The email of the user that created the app. + /// + [Input("creator")] + public Input? Creator { get; set; } + + /// + /// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + /// + [Input("defaultSourceCodePath")] + public Input? DefaultSourceCodePath { get; set; } + + /// + /// The description of the app. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("pendingDeployment")] + public Input? PendingDeployment { get; set; } + + [Input("resources")] + private InputList? _resources; + + /// + /// A list of resources that the app have access to. + /// + public InputList Resources + { + get => _resources ?? (_resources = new InputList()); + set => _resources = value; + } + + [Input("servicePrincipalClientId")] + public Input? ServicePrincipalClientId { get; set; } + + /// + /// id of the app service principal + /// + [Input("servicePrincipalId")] + public Input? ServicePrincipalId { get; set; } + + /// + /// name of the app service principal + /// + [Input("servicePrincipalName")] + public Input? ServicePrincipalName { get; set; } + + /// + /// The update time of the app. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + + /// + /// The email of the user that last updated the app. + /// + [Input("updater")] + public Input? Updater { get; set; } + + /// + /// The URL of the app once it is deployed. + /// + [Input("url")] + public Input? Url { get; set; } + + public AppState() + { + } + public static new AppState Empty => new AppState(); + } +} diff --git a/sdk/dotnet/Cluster.cs b/sdk/dotnet/Cluster.cs index 802f9f08..5d1813d9 100644 --- a/sdk/dotnet/Cluster.cs +++ b/sdk/dotnet/Cluster.cs @@ -158,6 +158,12 @@ public partial class Cluster : global::Pulumi.CustomResource [Output("isPinned")] public Output IsPinned { get; private set; } = null!; + [Output("isSingleNode")] + public Output IsSingleNode { get; private set; } = null!; + + [Output("kind")] + public Output Kind { get; private set; } = null!; + [Output("libraries")] public Output> Libraries { get; private set; } = null!; @@ -274,6 +280,9 @@ public partial class Cluster : global::Pulumi.CustomResource [Output("url")] public Output Url { get; private set; } = null!; + [Output("useMlRuntime")] + public Output UseMlRuntime { get; private set; } = null!; + [Output("workloadType")] public Output WorkloadType { get; private set; } = null!; @@ -465,6 +474,12 @@ public InputList InitScripts [Input("isPinned")] public Input? IsPinned { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; public InputList Libraries @@ -595,6 +610,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + [Input("workloadType")] public Input? WorkloadType { get; set; } @@ -763,6 +781,12 @@ public InputList InitScripts [Input("isPinned")] public Input? IsPinned { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; public InputList Libraries @@ -902,6 +926,9 @@ public InputList SshPublicKeys [Input("url")] public Input? Url { get; set; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + [Input("workloadType")] public Input? WorkloadType { get; set; } diff --git a/sdk/dotnet/Credential.cs b/sdk/dotnet/Credential.cs new file mode 100644 index 00000000..0e50a852 --- /dev/null +++ b/sdk/dotnet/Credential.cs @@ -0,0 +1,485 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + /// + /// > This resource can only be used with a workspace-level provider. + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential. + /// + /// The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`. + /// The caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it + /// + /// On AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. + /// + /// ## Example Usage + /// + /// For AWS + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var external = new Databricks.Credential("external", new() + /// { + /// Name = externalDataAccess.Name, + /// AwsIamRole = new Databricks.Inputs.CredentialAwsIamRoleArgs + /// { + /// RoleArn = externalDataAccess.Arn, + /// }, + /// Purpose = "SERVICE", + /// Comment = "Managed by TF", + /// }); + /// + /// var externalCreds = new Databricks.Grants("external_creds", new() + /// { + /// Credential = external.Id, + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "Data Engineers", + /// Privileges = new[] + /// { + /// "ACCESS", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// For Azure + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var externalMi = new Databricks.Credential("external_mi", new() + /// { + /// Name = "mi_credential", + /// AzureManagedIdentity = new Databricks.Inputs.CredentialAzureManagedIdentityArgs + /// { + /// AccessConnectorId = example.Id, + /// }, + /// Purpose = "SERVICE", + /// Comment = "Managed identity credential managed by TF", + /// }); + /// + /// var externalCreds = new Databricks.Grants("external_creds", new() + /// { + /// Credential = externalMi.Id, + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "Data Engineers", + /// Privileges = new[] + /// { + /// "ACCESS", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// For GCP (only applicable when purpose is `STORAGE`) + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var externalGcpSa = new Databricks.Credential("external_gcp_sa", new() + /// { + /// Name = "gcp_sa_credential", + /// DatabricksGcpServiceAccount = null, + /// Purpose = "STORAGE", + /// Comment = "GCP SA credential managed by TF", + /// }); + /// + /// var externalCreds = new Databricks.Grants("external_creds", new() + /// { + /// Credential = externalGcpSa.Id, + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "Data Engineers", + /// Privileges = new[] + /// { + /// "ACCESS", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// This resource can be imported by name: + /// + /// bash + /// + /// ```sh + /// $ pulumi import databricks:index/credential:Credential this <name> + /// ``` + /// + [DatabricksResourceType("databricks:index/credential:Credential")] + public partial class Credential : global::Pulumi.CustomResource + { + [Output("awsIamRole")] + public Output AwsIamRole { get; private set; } = null!; + + [Output("azureManagedIdentity")] + public Output AzureManagedIdentity { get; private set; } = null!; + + [Output("azureServicePrincipal")] + public Output AzureServicePrincipal { get; private set; } = null!; + + [Output("comment")] + public Output Comment { get; private set; } = null!; + + [Output("createdAt")] + public Output CreatedAt { get; private set; } = null!; + + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// Unique ID of the credential. + /// + [Output("credentialId")] + public Output CredentialId { get; private set; } = null!; + + [Output("databricksGcpServiceAccount")] + public Output DatabricksGcpServiceAccount { get; private set; } = null!; + + /// + /// Delete credential regardless of its dependencies. + /// + [Output("forceDestroy")] + public Output ForceDestroy { get; private set; } = null!; + + /// + /// Update credential regardless of its dependents. + /// + [Output("forceUpdate")] + public Output ForceUpdate { get; private set; } = null!; + + [Output("fullName")] + public Output FullName { get; private set; } = null!; + + /// + /// Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + /// + /// `aws_iam_role` optional configuration block for credential details for AWS: + /// + [Output("isolationMode")] + public Output IsolationMode { get; private set; } = null!; + + [Output("metastoreId")] + public Output MetastoreId { get; private set; } = null!; + + /// + /// Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Username/groupname/sp application_id of the credential owner. + /// + [Output("owner")] + public Output Owner { get; private set; } = null!; + + /// + /// Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + /// + [Output("purpose")] + public Output Purpose { get; private set; } = null!; + + /// + /// Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + /// + [Output("readOnly")] + public Output ReadOnly { get; private set; } = null!; + + /// + /// Suppress validation errors if any & force save the credential. + /// + [Output("skipValidation")] + public Output SkipValidation { get; private set; } = null!; + + [Output("updatedAt")] + public Output UpdatedAt { get; private set; } = null!; + + [Output("updatedBy")] + public Output UpdatedBy { get; private set; } = null!; + + [Output("usedForManagedStorage")] + public Output UsedForManagedStorage { get; private set; } = null!; + + + /// + /// Create a Credential resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Credential(string name, CredentialArgs args, CustomResourceOptions? options = null) + : base("databricks:index/credential:Credential", name, args ?? new CredentialArgs(), MakeResourceOptions(options, "")) + { + } + + private Credential(string name, Input id, CredentialState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/credential:Credential", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Credential resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Credential Get(string name, Input id, CredentialState? state = null, CustomResourceOptions? options = null) + { + return new Credential(name, id, state, options); + } + } + + public sealed class CredentialArgs : global::Pulumi.ResourceArgs + { + [Input("awsIamRole")] + public Input? AwsIamRole { get; set; } + + [Input("azureManagedIdentity")] + public Input? AzureManagedIdentity { get; set; } + + [Input("azureServicePrincipal")] + public Input? AzureServicePrincipal { get; set; } + + [Input("comment")] + public Input? Comment { get; set; } + + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + [Input("databricksGcpServiceAccount")] + public Input? DatabricksGcpServiceAccount { get; set; } + + /// + /// Delete credential regardless of its dependencies. + /// + [Input("forceDestroy")] + public Input? ForceDestroy { get; set; } + + /// + /// Update credential regardless of its dependents. + /// + [Input("forceUpdate")] + public Input? ForceUpdate { get; set; } + + [Input("fullName")] + public Input? FullName { get; set; } + + /// + /// Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + /// + /// `aws_iam_role` optional configuration block for credential details for AWS: + /// + [Input("isolationMode")] + public Input? IsolationMode { get; set; } + + [Input("metastoreId")] + public Input? MetastoreId { get; set; } + + /// + /// Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Username/groupname/sp application_id of the credential owner. + /// + [Input("owner")] + public Input? Owner { get; set; } + + /// + /// Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + /// + [Input("purpose", required: true)] + public Input Purpose { get; set; } = null!; + + /// + /// Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + /// + [Input("readOnly")] + public Input? ReadOnly { get; set; } + + /// + /// Suppress validation errors if any & force save the credential. + /// + [Input("skipValidation")] + public Input? SkipValidation { get; set; } + + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + [Input("usedForManagedStorage")] + public Input? UsedForManagedStorage { get; set; } + + public CredentialArgs() + { + } + public static new CredentialArgs Empty => new CredentialArgs(); + } + + public sealed class CredentialState : global::Pulumi.ResourceArgs + { + [Input("awsIamRole")] + public Input? AwsIamRole { get; set; } + + [Input("azureManagedIdentity")] + public Input? AzureManagedIdentity { get; set; } + + [Input("azureServicePrincipal")] + public Input? AzureServicePrincipal { get; set; } + + [Input("comment")] + public Input? Comment { get; set; } + + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// Unique ID of the credential. + /// + [Input("credentialId")] + public Input? CredentialId { get; set; } + + [Input("databricksGcpServiceAccount")] + public Input? DatabricksGcpServiceAccount { get; set; } + + /// + /// Delete credential regardless of its dependencies. + /// + [Input("forceDestroy")] + public Input? ForceDestroy { get; set; } + + /// + /// Update credential regardless of its dependents. + /// + [Input("forceUpdate")] + public Input? ForceUpdate { get; set; } + + [Input("fullName")] + public Input? FullName { get; set; } + + /// + /// Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + /// + /// `aws_iam_role` optional configuration block for credential details for AWS: + /// + [Input("isolationMode")] + public Input? IsolationMode { get; set; } + + [Input("metastoreId")] + public Input? MetastoreId { get; set; } + + /// + /// Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Username/groupname/sp application_id of the credential owner. + /// + [Input("owner")] + public Input? Owner { get; set; } + + /// + /// Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + /// + [Input("purpose")] + public Input? Purpose { get; set; } + + /// + /// Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + /// + [Input("readOnly")] + public Input? ReadOnly { get; set; } + + /// + /// Suppress validation errors if any & force save the credential. + /// + [Input("skipValidation")] + public Input? SkipValidation { get; set; } + + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + [Input("usedForManagedStorage")] + public Input? UsedForManagedStorage { get; set; } + + public CredentialState() + { + } + public static new CredentialState Empty => new CredentialState(); + } +} diff --git a/sdk/dotnet/GetApp.cs b/sdk/dotnet/GetApp.cs new file mode 100644 index 00000000..6340c89d --- /dev/null +++ b/sdk/dotnet/GetApp.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetApp + { + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// This data source allows you to fetch information about a Databricks App. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetApp.Invoke(new() + /// { + /// Name = "my-custom-app", + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + /// * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + /// * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + /// + public static Task InvokeAsync(GetAppArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getApp:getApp", args ?? new GetAppArgs(), options.WithDefaults()); + + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// This data source allows you to fetch information about a Databricks App. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetApp.Invoke(new() + /// { + /// Name = "my-custom-app", + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + /// * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + /// * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + /// + public static Output Invoke(GetAppInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); + + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// This data source allows you to fetch information about a Databricks App. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetApp.Invoke(new() + /// { + /// Name = "my-custom-app", + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + /// * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + /// * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + /// + public static Output Invoke(GetAppInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAppArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the app. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + public GetAppArgs() + { + } + public static new GetAppArgs Empty => new GetAppArgs(); + } + + public sealed class GetAppInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the app. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public GetAppInvokeArgs() + { + } + public static new GetAppInvokeArgs Empty => new GetAppInvokeArgs(); + } + + + [OutputType] + public sealed class GetAppResult + { + /// + /// attribute + /// + public readonly Outputs.GetAppAppResult App; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Name of the serving endpoint to grant permission on. + /// + public readonly string Name; + + [OutputConstructor] + private GetAppResult( + Outputs.GetAppAppResult app, + + string id, + + string name) + { + App = app; + Id = id; + Name = name; + } + } +} diff --git a/sdk/dotnet/GetApps.cs b/sdk/dotnet/GetApps.cs new file mode 100644 index 00000000..6951ffa7 --- /dev/null +++ b/sdk/dotnet/GetApps.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetApps + { + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// This data source allows you to fetch information about all Databricks Apps within a workspace. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var allApps = Databricks.GetApps.Invoke(); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + /// * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + /// * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + /// + public static Task InvokeAsync(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getApps:getApps", InvokeArgs.Empty, options.WithDefaults()); + + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// This data source allows you to fetch information about all Databricks Apps within a workspace. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var allApps = Databricks.GetApps.Invoke(); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + /// * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + /// * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + /// + public static Output Invoke(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getApps:getApps", InvokeArgs.Empty, options.WithDefaults()); + + /// + /// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + /// + /// This data source allows you to fetch information about all Databricks Apps within a workspace. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var allApps = Databricks.GetApps.Invoke(); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + /// * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + /// * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + /// + public static Output Invoke(InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getApps:getApps", InvokeArgs.Empty, options.WithDefaults()); + } + + + [OutputType] + public sealed class GetAppsResult + { + public readonly ImmutableArray Apps; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetAppsResult( + ImmutableArray apps, + + string id) + { + Apps = apps; + Id = id; + } + } +} diff --git a/sdk/dotnet/GetAwsAssumeRolePolicy.cs b/sdk/dotnet/GetAwsAssumeRolePolicy.cs index 5768b89e..c8d36395 100644 --- a/sdk/dotnet/GetAwsAssumeRolePolicy.cs +++ b/sdk/dotnet/GetAwsAssumeRolePolicy.cs @@ -216,6 +216,12 @@ public static Output Invoke(GetAwsAssumeRolePolicy public sealed class GetAwsAssumeRolePolicyArgs : global::Pulumi.InvokeArgs { + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public string? AwsPartition { get; set; } + [Input("databricksAccountId")] public string? DatabricksAccountId { get; set; } @@ -239,6 +245,12 @@ public GetAwsAssumeRolePolicyArgs() public sealed class GetAwsAssumeRolePolicyInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public Input? AwsPartition { get; set; } + [Input("databricksAccountId")] public Input? DatabricksAccountId { get; set; } @@ -264,6 +276,7 @@ public GetAwsAssumeRolePolicyInvokeArgs() [OutputType] public sealed class GetAwsAssumeRolePolicyResult { + public readonly string? AwsPartition; public readonly string? DatabricksAccountId; public readonly string ExternalId; public readonly bool? ForLogDelivery; @@ -278,6 +291,8 @@ public sealed class GetAwsAssumeRolePolicyResult [OutputConstructor] private GetAwsAssumeRolePolicyResult( + string? awsPartition, + string? databricksAccountId, string externalId, @@ -288,6 +303,7 @@ private GetAwsAssumeRolePolicyResult( string json) { + AwsPartition = awsPartition; DatabricksAccountId = databricksAccountId; ExternalId = externalId; ForLogDelivery = forLogDelivery; diff --git a/sdk/dotnet/GetAwsBucketPolicy.cs b/sdk/dotnet/GetAwsBucketPolicy.cs index defb3a29..da4e30b7 100644 --- a/sdk/dotnet/GetAwsBucketPolicy.cs +++ b/sdk/dotnet/GetAwsBucketPolicy.cs @@ -132,6 +132,12 @@ public static Output Invoke(GetAwsBucketPolicyInvokeAr public sealed class GetAwsBucketPolicyArgs : global::Pulumi.InvokeArgs { + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public string? AwsPartition { get; set; } + /// /// AWS S3 Bucket name for which to generate the policy document. /// @@ -161,6 +167,12 @@ public GetAwsBucketPolicyArgs() public sealed class GetAwsBucketPolicyInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public Input? AwsPartition { get; set; } + /// /// AWS S3 Bucket name for which to generate the policy document. /// @@ -192,6 +204,7 @@ public GetAwsBucketPolicyInvokeArgs() [OutputType] public sealed class GetAwsBucketPolicyResult { + public readonly string? AwsPartition; public readonly string Bucket; public readonly string? DatabricksAccountId; public readonly string? DatabricksE2AccountId; @@ -207,6 +220,8 @@ public sealed class GetAwsBucketPolicyResult [OutputConstructor] private GetAwsBucketPolicyResult( + string? awsPartition, + string bucket, string? databricksAccountId, @@ -219,6 +234,7 @@ private GetAwsBucketPolicyResult( string json) { + AwsPartition = awsPartition; Bucket = bucket; DatabricksAccountId = databricksAccountId; DatabricksE2AccountId = databricksE2AccountId; diff --git a/sdk/dotnet/GetAwsCrossAccountPolicy.cs b/sdk/dotnet/GetAwsCrossAccountPolicy.cs index ee0626c9..08a7dad9 100644 --- a/sdk/dotnet/GetAwsCrossAccountPolicy.cs +++ b/sdk/dotnet/GetAwsCrossAccountPolicy.cs @@ -123,6 +123,12 @@ public sealed class GetAwsCrossAccountPolicyArgs : global::Pulumi.InvokeArgs [Input("awsAccountId")] public string? AwsAccountId { get; set; } + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public string? AwsPartition { get; set; } + [Input("passRoles")] private List? _passRoles; @@ -174,6 +180,12 @@ public sealed class GetAwsCrossAccountPolicyInvokeArgs : global::Pulumi.InvokeAr [Input("awsAccountId")] public Input? AwsAccountId { get; set; } + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public Input? AwsPartition { get; set; } + [Input("passRoles")] private InputList? _passRoles; @@ -222,6 +234,7 @@ public GetAwsCrossAccountPolicyInvokeArgs() public sealed class GetAwsCrossAccountPolicyResult { public readonly string? AwsAccountId; + public readonly string? AwsPartition; /// /// The provider-assigned unique ID for this managed resource. /// @@ -240,6 +253,8 @@ public sealed class GetAwsCrossAccountPolicyResult private GetAwsCrossAccountPolicyResult( string? awsAccountId, + string? awsPartition, + string id, string json, @@ -255,6 +270,7 @@ private GetAwsCrossAccountPolicyResult( string? vpcId) { AwsAccountId = awsAccountId; + AwsPartition = awsPartition; Id = id; Json = json; PassRoles = passRoles; diff --git a/sdk/dotnet/GetAwsUnityCatalogAssumeRolePolicy.cs b/sdk/dotnet/GetAwsUnityCatalogAssumeRolePolicy.cs index 6f7ffab5..38312f99 100644 --- a/sdk/dotnet/GetAwsUnityCatalogAssumeRolePolicy.cs +++ b/sdk/dotnet/GetAwsUnityCatalogAssumeRolePolicy.cs @@ -180,6 +180,12 @@ public sealed class GetAwsUnityCatalogAssumeRolePolicyArgs : global::Pulumi.Invo [Input("awsAccountId", required: true)] public string AwsAccountId { get; set; } = null!; + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public string? AwsPartition { get; set; } + /// /// The storage credential external id. /// @@ -193,7 +199,7 @@ public sealed class GetAwsUnityCatalogAssumeRolePolicyArgs : global::Pulumi.Invo public string RoleName { get; set; } = null!; /// - /// The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + /// The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection /// [Input("unityCatalogIamArn")] public string? UnityCatalogIamArn { get; set; } @@ -212,6 +218,12 @@ public sealed class GetAwsUnityCatalogAssumeRolePolicyInvokeArgs : global::Pulum [Input("awsAccountId", required: true)] public Input AwsAccountId { get; set; } = null!; + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public Input? AwsPartition { get; set; } + /// /// The storage credential external id. /// @@ -225,7 +237,7 @@ public sealed class GetAwsUnityCatalogAssumeRolePolicyInvokeArgs : global::Pulum public Input RoleName { get; set; } = null!; /// - /// The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + /// The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection /// [Input("unityCatalogIamArn")] public Input? UnityCatalogIamArn { get; set; } @@ -241,6 +253,7 @@ public GetAwsUnityCatalogAssumeRolePolicyInvokeArgs() public sealed class GetAwsUnityCatalogAssumeRolePolicyResult { public readonly string AwsAccountId; + public readonly string? AwsPartition; public readonly string ExternalId; public readonly string Id; /// @@ -254,6 +267,8 @@ public sealed class GetAwsUnityCatalogAssumeRolePolicyResult private GetAwsUnityCatalogAssumeRolePolicyResult( string awsAccountId, + string? awsPartition, + string externalId, string id, @@ -265,6 +280,7 @@ private GetAwsUnityCatalogAssumeRolePolicyResult( string unityCatalogIamArn) { AwsAccountId = awsAccountId; + AwsPartition = awsPartition; ExternalId = externalId; Id = id; Json = json; diff --git a/sdk/dotnet/GetAwsUnityCatalogPolicy.cs b/sdk/dotnet/GetAwsUnityCatalogPolicy.cs index dc7ad94e..20dfe9d3 100644 --- a/sdk/dotnet/GetAwsUnityCatalogPolicy.cs +++ b/sdk/dotnet/GetAwsUnityCatalogPolicy.cs @@ -180,6 +180,12 @@ public sealed class GetAwsUnityCatalogPolicyArgs : global::Pulumi.InvokeArgs [Input("awsAccountId", required: true)] public string AwsAccountId { get; set; } = null!; + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public string? AwsPartition { get; set; } + /// /// The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. /// @@ -212,6 +218,12 @@ public sealed class GetAwsUnityCatalogPolicyInvokeArgs : global::Pulumi.InvokeAr [Input("awsAccountId", required: true)] public Input AwsAccountId { get; set; } = null!; + /// + /// AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + /// + [Input("awsPartition")] + public Input? AwsPartition { get; set; } + /// /// The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. /// @@ -241,6 +253,7 @@ public GetAwsUnityCatalogPolicyInvokeArgs() public sealed class GetAwsUnityCatalogPolicyResult { public readonly string AwsAccountId; + public readonly string? AwsPartition; public readonly string BucketName; /// /// The provider-assigned unique ID for this managed resource. @@ -257,6 +270,8 @@ public sealed class GetAwsUnityCatalogPolicyResult private GetAwsUnityCatalogPolicyResult( string awsAccountId, + string? awsPartition, + string bucketName, string id, @@ -268,6 +283,7 @@ private GetAwsUnityCatalogPolicyResult( string roleName) { AwsAccountId = awsAccountId; + AwsPartition = awsPartition; BucketName = bucketName; Id = id; Json = json; diff --git a/sdk/dotnet/GetJobs.cs b/sdk/dotnet/GetJobs.cs index 0b3fa8d6..20a1264b 100644 --- a/sdk/dotnet/GetJobs.cs +++ b/sdk/dotnet/GetJobs.cs @@ -33,6 +33,11 @@ public static class GetJobs /// { /// var @this = await Databricks.GetJobs.InvokeAsync(); /// + /// var tests = await Databricks.GetJobs.InvokeAsync(new() + /// { + /// JobNameContains = "test", + /// }); + /// /// var everyoneCanViewAllJobs = new List<Databricks.Permissions>(); /// foreach (var range in ) /// { @@ -102,6 +107,11 @@ public static Task InvokeAsync(GetJobsArgs? args = null, InvokeOp /// { /// var @this = await Databricks.GetJobs.InvokeAsync(); /// + /// var tests = await Databricks.GetJobs.InvokeAsync(new() + /// { + /// JobNameContains = "test", + /// }); + /// /// var everyoneCanViewAllJobs = new List<Databricks.Permissions>(); /// foreach (var range in ) /// { @@ -171,6 +181,11 @@ public static Output Invoke(GetJobsInvokeArgs? args = null, Invok /// { /// var @this = await Databricks.GetJobs.InvokeAsync(); /// + /// var tests = await Databricks.GetJobs.InvokeAsync(new() + /// { + /// JobNameContains = "test", + /// }); + /// /// var everyoneCanViewAllJobs = new List<Databricks.Permissions>(); /// foreach (var range in ) /// { @@ -234,6 +249,12 @@ public Dictionary Ids set => _ids = value; } + /// + /// Only return databricks.Job ids that match the given name string (case-insensitive). + /// + [Input("jobNameContains")] + public string? JobNameContains { get; set; } + public GetJobsArgs() { } @@ -254,6 +275,12 @@ public InputMap Ids set => _ids = value; } + /// + /// Only return databricks.Job ids that match the given name string (case-insensitive). + /// + [Input("jobNameContains")] + public Input? JobNameContains { get; set; } + public GetJobsInvokeArgs() { } @@ -272,15 +299,19 @@ public sealed class GetJobsResult /// map of databricks.Job names to ids /// public readonly ImmutableDictionary Ids; + public readonly string? JobNameContains; [OutputConstructor] private GetJobsResult( string id, - ImmutableDictionary ids) + ImmutableDictionary ids, + + string? jobNameContains) { Id = id; Ids = ids; + JobNameContains = jobNameContains; } } } diff --git a/sdk/dotnet/GetMwsNetworkConnectivityConfig.cs b/sdk/dotnet/GetMwsNetworkConnectivityConfig.cs new file mode 100644 index 00000000..4719e25a --- /dev/null +++ b/sdk/dotnet/GetMwsNetworkConnectivityConfig.cs @@ -0,0 +1,298 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetMwsNetworkConnectivityConfig + { + /// + /// > **Note** This data source can only be used with an account-level provider! + /// + /// Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + /// + /// ## Example Usage + /// + /// Fetching information about a network connectivity configuration in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfig.Invoke(new() + /// { + /// Name = "ncc", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["config"] = @this, + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + /// * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + /// + public static Task InvokeAsync(GetMwsNetworkConnectivityConfigArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", args ?? new GetMwsNetworkConnectivityConfigArgs(), options.WithDefaults()); + + /// + /// > **Note** This data source can only be used with an account-level provider! + /// + /// Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + /// + /// ## Example Usage + /// + /// Fetching information about a network connectivity configuration in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfig.Invoke(new() + /// { + /// Name = "ncc", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["config"] = @this, + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + /// * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + /// + public static Output Invoke(GetMwsNetworkConnectivityConfigInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", args ?? new GetMwsNetworkConnectivityConfigInvokeArgs(), options.WithDefaults()); + + /// + /// > **Note** This data source can only be used with an account-level provider! + /// + /// Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + /// + /// ## Example Usage + /// + /// Fetching information about a network connectivity configuration in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfig.Invoke(new() + /// { + /// Name = "ncc", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["config"] = @this, + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + /// * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + /// + public static Output Invoke(GetMwsNetworkConnectivityConfigInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", args ?? new GetMwsNetworkConnectivityConfigInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMwsNetworkConnectivityConfigArgs : global::Pulumi.InvokeArgs + { + /// + /// The Databricks account ID associated with this network configuration. + /// + [Input("accountId")] + public string? AccountId { get; set; } + + /// + /// Time in epoch milliseconds when this object was created. + /// + [Input("creationTime")] + public int? CreationTime { get; set; } + + /// + /// Array of egress configuration objects. + /// + [Input("egressConfig")] + public Inputs.GetMwsNetworkConnectivityConfigEgressConfigArgs? EgressConfig { get; set; } + + /// + /// Name of the network connectivity configuration. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// The Databricks network connectivity configuration ID. + /// + [Input("networkConnectivityConfigId")] + public string? NetworkConnectivityConfigId { get; set; } + + /// + /// The region of the network connectivity configuration. + /// + [Input("region")] + public string? Region { get; set; } + + /// + /// Time in epoch milliseconds when the network was updated. + /// + [Input("updatedTime")] + public int? UpdatedTime { get; set; } + + public GetMwsNetworkConnectivityConfigArgs() + { + } + public static new GetMwsNetworkConnectivityConfigArgs Empty => new GetMwsNetworkConnectivityConfigArgs(); + } + + public sealed class GetMwsNetworkConnectivityConfigInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The Databricks account ID associated with this network configuration. + /// + [Input("accountId")] + public Input? AccountId { get; set; } + + /// + /// Time in epoch milliseconds when this object was created. + /// + [Input("creationTime")] + public Input? CreationTime { get; set; } + + /// + /// Array of egress configuration objects. + /// + [Input("egressConfig")] + public Input? EgressConfig { get; set; } + + /// + /// Name of the network connectivity configuration. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The Databricks network connectivity configuration ID. + /// + [Input("networkConnectivityConfigId")] + public Input? NetworkConnectivityConfigId { get; set; } + + /// + /// The region of the network connectivity configuration. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// Time in epoch milliseconds when the network was updated. + /// + [Input("updatedTime")] + public Input? UpdatedTime { get; set; } + + public GetMwsNetworkConnectivityConfigInvokeArgs() + { + } + public static new GetMwsNetworkConnectivityConfigInvokeArgs Empty => new GetMwsNetworkConnectivityConfigInvokeArgs(); + } + + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigResult + { + /// + /// The Databricks account ID associated with this network configuration. + /// + public readonly string AccountId; + /// + /// Time in epoch milliseconds when this object was created. + /// + public readonly int CreationTime; + /// + /// Array of egress configuration objects. + /// + public readonly Outputs.GetMwsNetworkConnectivityConfigEgressConfigResult EgressConfig; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The name of the network connectivity configuration. + /// + public readonly string Name; + /// + /// The Databricks network connectivity configuration ID. + /// + public readonly string NetworkConnectivityConfigId; + /// + /// The region of the network connectivity configuration. + /// + public readonly string Region; + /// + /// Time in epoch milliseconds when the network was updated. + /// + public readonly int UpdatedTime; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigResult( + string accountId, + + int creationTime, + + Outputs.GetMwsNetworkConnectivityConfigEgressConfigResult egressConfig, + + string id, + + string name, + + string networkConnectivityConfigId, + + string region, + + int updatedTime) + { + AccountId = accountId; + CreationTime = creationTime; + EgressConfig = egressConfig; + Id = id; + Name = name; + NetworkConnectivityConfigId = networkConnectivityConfigId; + Region = region; + UpdatedTime = updatedTime; + } + } +} diff --git a/sdk/dotnet/GetMwsNetworkConnectivityConfigs.cs b/sdk/dotnet/GetMwsNetworkConnectivityConfigs.cs new file mode 100644 index 00000000..75b45579 --- /dev/null +++ b/sdk/dotnet/GetMwsNetworkConnectivityConfigs.cs @@ -0,0 +1,269 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetMwsNetworkConnectivityConfigs + { + /// + /// > **Note** This data source can only be used with an account-level provider! + /// + /// Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. + /// + /// ## Example Usage + /// + /// List all network connectivity configurations in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(); + /// + /// return new Dictionary<string, object?> + /// { + /// ["all"] = @this, + /// }; + /// }); + /// ``` + /// + /// List network connectivity configurations from a specific region in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(new() + /// { + /// Region = "us-east-1", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["filtered"] = @this, + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + /// * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + /// + public static Task InvokeAsync(GetMwsNetworkConnectivityConfigsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", args ?? new GetMwsNetworkConnectivityConfigsArgs(), options.WithDefaults()); + + /// + /// > **Note** This data source can only be used with an account-level provider! + /// + /// Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. + /// + /// ## Example Usage + /// + /// List all network connectivity configurations in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(); + /// + /// return new Dictionary<string, object?> + /// { + /// ["all"] = @this, + /// }; + /// }); + /// ``` + /// + /// List network connectivity configurations from a specific region in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(new() + /// { + /// Region = "us-east-1", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["filtered"] = @this, + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + /// * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + /// + public static Output Invoke(GetMwsNetworkConnectivityConfigsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", args ?? new GetMwsNetworkConnectivityConfigsInvokeArgs(), options.WithDefaults()); + + /// + /// > **Note** This data source can only be used with an account-level provider! + /// + /// Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. + /// + /// ## Example Usage + /// + /// List all network connectivity configurations in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(); + /// + /// return new Dictionary<string, object?> + /// { + /// ["all"] = @this, + /// }; + /// }); + /// ``` + /// + /// List network connectivity configurations from a specific region in Databricks Account + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetMwsNetworkConnectivityConfigs.Invoke(new() + /// { + /// Region = "us-east-1", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["filtered"] = @this, + /// }; + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are used in the same context: + /// + /// * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + /// * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + /// + public static Output Invoke(GetMwsNetworkConnectivityConfigsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", args ?? new GetMwsNetworkConnectivityConfigsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMwsNetworkConnectivityConfigsArgs : global::Pulumi.InvokeArgs + { + [Input("names")] + private List? _names; + + /// + /// List of names of databricks_mws_network_connectivity_config + /// + public List Names + { + get => _names ?? (_names = new List()); + set => _names = value; + } + + /// + /// Filter network connectivity configurations by region. + /// + [Input("region")] + public string? Region { get; set; } + + public GetMwsNetworkConnectivityConfigsArgs() + { + } + public static new GetMwsNetworkConnectivityConfigsArgs Empty => new GetMwsNetworkConnectivityConfigsArgs(); + } + + public sealed class GetMwsNetworkConnectivityConfigsInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("names")] + private InputList? _names; + + /// + /// List of names of databricks_mws_network_connectivity_config + /// + public InputList Names + { + get => _names ?? (_names = new InputList()); + set => _names = value; + } + + /// + /// Filter network connectivity configurations by region. + /// + [Input("region")] + public Input? Region { get; set; } + + public GetMwsNetworkConnectivityConfigsInvokeArgs() + { + } + public static new GetMwsNetworkConnectivityConfigsInvokeArgs Empty => new GetMwsNetworkConnectivityConfigsInvokeArgs(); + } + + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigsResult + { + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// List of names of databricks_mws_network_connectivity_config + /// + public readonly ImmutableArray Names; + public readonly string? Region; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigsResult( + string id, + + ImmutableArray names, + + string? region) + { + Id = id; + Names = names; + Region = region; + } + } +} diff --git a/sdk/dotnet/GetNotificationDestinations.cs b/sdk/dotnet/GetNotificationDestinations.cs index 90e69a7b..fa410450 100644 --- a/sdk/dotnet/GetNotificationDestinations.cs +++ b/sdk/dotnet/GetNotificationDestinations.cs @@ -189,18 +189,6 @@ public sealed class GetNotificationDestinationsArgs : global::Pulumi.InvokeArgs [Input("displayNameContains")] public string? DisplayNameContains { get; set; } - [Input("notificationDestinations")] - private List? _notificationDestinations; - - /// - /// A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - /// - public List NotificationDestinations - { - get => _notificationDestinations ?? (_notificationDestinations = new List()); - set => _notificationDestinations = value; - } - /// /// The type of the Notification Destination to filter by. Valid values are: /// * `EMAIL` - Filters Notification Destinations of type Email. @@ -226,18 +214,6 @@ public sealed class GetNotificationDestinationsInvokeArgs : global::Pulumi.Invok [Input("displayNameContains")] public Input? DisplayNameContains { get; set; } - [Input("notificationDestinations")] - private InputList? _notificationDestinations; - - /// - /// A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - /// - public InputList NotificationDestinations - { - get => _notificationDestinations ?? (_notificationDestinations = new InputList()); - set => _notificationDestinations = value; - } - /// /// The type of the Notification Destination to filter by. Valid values are: /// * `EMAIL` - Filters Notification Destinations of type Email. diff --git a/sdk/dotnet/GetRegisteredModelVersions.cs b/sdk/dotnet/GetRegisteredModelVersions.cs new file mode 100644 index 00000000..82785b50 --- /dev/null +++ b/sdk/dotnet/GetRegisteredModelVersions.cs @@ -0,0 +1,203 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetRegisteredModelVersions + { + /// + /// > This resource can only be used with a workspace-level provider! + /// + /// This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetRegisteredModelVersions.Invoke(new() + /// { + /// FullName = "main.default.my_model", + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + /// * databricks.RegisteredModel resource to manage models within Unity Catalog. + /// * 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. + /// + public static Task InvokeAsync(GetRegisteredModelVersionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", args ?? new GetRegisteredModelVersionsArgs(), options.WithDefaults()); + + /// + /// > This resource can only be used with a workspace-level provider! + /// + /// This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetRegisteredModelVersions.Invoke(new() + /// { + /// FullName = "main.default.my_model", + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + /// * databricks.RegisteredModel resource to manage models within Unity Catalog. + /// * 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. + /// + public static Output Invoke(GetRegisteredModelVersionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", args ?? new GetRegisteredModelVersionsInvokeArgs(), options.WithDefaults()); + + /// + /// > This resource can only be used with a workspace-level provider! + /// + /// This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = Databricks.GetRegisteredModelVersions.Invoke(new() + /// { + /// FullName = "main.default.my_model", + /// }); + /// + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + /// * databricks.RegisteredModel resource to manage models within Unity Catalog. + /// * 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. + /// + public static Output Invoke(GetRegisteredModelVersionsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", args ?? new GetRegisteredModelVersionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRegisteredModelVersionsArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + /// + [Input("fullName", required: true)] + public string FullName { get; set; } = null!; + + [Input("modelVersions")] + private List? _modelVersions; + + /// + /// list of objects describing the model versions. Each object consists of following attributes: + /// + public List ModelVersions + { + get => _modelVersions ?? (_modelVersions = new List()); + set => _modelVersions = value; + } + + public GetRegisteredModelVersionsArgs() + { + } + public static new GetRegisteredModelVersionsArgs Empty => new GetRegisteredModelVersionsArgs(); + } + + public sealed class GetRegisteredModelVersionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + /// + [Input("fullName", required: true)] + public Input FullName { get; set; } = null!; + + [Input("modelVersions")] + private InputList? _modelVersions; + + /// + /// list of objects describing the model versions. Each object consists of following attributes: + /// + public InputList ModelVersions + { + get => _modelVersions ?? (_modelVersions = new InputList()); + set => _modelVersions = value; + } + + public GetRegisteredModelVersionsInvokeArgs() + { + } + public static new GetRegisteredModelVersionsInvokeArgs Empty => new GetRegisteredModelVersionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetRegisteredModelVersionsResult + { + /// + /// The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + /// + public readonly string FullName; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// list of objects describing the model versions. Each object consists of following attributes: + /// + public readonly ImmutableArray ModelVersions; + + [OutputConstructor] + private GetRegisteredModelVersionsResult( + string fullName, + + string id, + + ImmutableArray modelVersions) + { + FullName = fullName; + Id = id; + ModelVersions = modelVersions; + } + } +} diff --git a/sdk/dotnet/GetServingEndpoints.cs b/sdk/dotnet/GetServingEndpoints.cs new file mode 100644 index 00000000..fc6f46f3 --- /dev/null +++ b/sdk/dotnet/GetServingEndpoints.cs @@ -0,0 +1,247 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + public static class GetServingEndpoints + { + /// + /// > This resource can only be used with a workspace-level provider! + /// + /// This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var all = Databricks.GetServingEndpoints.Invoke(); + /// + /// var mlServingUsage = new List<Databricks.Permissions>(); + /// for (var rangeIndex = 0; rangeIndex < allDatabricksServingEndpoints.Endpoints; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// mlServingUsage.Add(new Databricks.Permissions($"ml_serving_usage-{range.Value}", new() + /// { + /// ServingEndpointId = range.Value.Id, + /// AccessControls = new[] + /// { + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = "users", + /// PermissionLevel = "CAN_VIEW", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = auto.DisplayName, + /// PermissionLevel = "CAN_MANAGE", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = eng.DisplayName, + /// PermissionLevel = "CAN_QUERY", + /// }, + /// }, + /// })); + /// } + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + /// + public static Task InvokeAsync(GetServingEndpointsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("databricks:index/getServingEndpoints:getServingEndpoints", args ?? new GetServingEndpointsArgs(), options.WithDefaults()); + + /// + /// > This resource can only be used with a workspace-level provider! + /// + /// This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var all = Databricks.GetServingEndpoints.Invoke(); + /// + /// var mlServingUsage = new List<Databricks.Permissions>(); + /// for (var rangeIndex = 0; rangeIndex < allDatabricksServingEndpoints.Endpoints; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// mlServingUsage.Add(new Databricks.Permissions($"ml_serving_usage-{range.Value}", new() + /// { + /// ServingEndpointId = range.Value.Id, + /// AccessControls = new[] + /// { + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = "users", + /// PermissionLevel = "CAN_VIEW", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = auto.DisplayName, + /// PermissionLevel = "CAN_MANAGE", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = eng.DisplayName, + /// PermissionLevel = "CAN_QUERY", + /// }, + /// }, + /// })); + /// } + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + /// + public static Output Invoke(GetServingEndpointsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getServingEndpoints:getServingEndpoints", args ?? new GetServingEndpointsInvokeArgs(), options.WithDefaults()); + + /// + /// > This resource can only be used with a workspace-level provider! + /// + /// This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var all = Databricks.GetServingEndpoints.Invoke(); + /// + /// var mlServingUsage = new List<Databricks.Permissions>(); + /// for (var rangeIndex = 0; rangeIndex < allDatabricksServingEndpoints.Endpoints; rangeIndex++) + /// { + /// var range = new { Value = rangeIndex }; + /// mlServingUsage.Add(new Databricks.Permissions($"ml_serving_usage-{range.Value}", new() + /// { + /// ServingEndpointId = range.Value.Id, + /// AccessControls = new[] + /// { + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = "users", + /// PermissionLevel = "CAN_VIEW", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = auto.DisplayName, + /// PermissionLevel = "CAN_MANAGE", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = eng.DisplayName, + /// PermissionLevel = "CAN_QUERY", + /// }, + /// }, + /// })); + /// } + /// }); + /// ``` + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + /// + public static Output Invoke(GetServingEndpointsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("databricks:index/getServingEndpoints:getServingEndpoints", args ?? new GetServingEndpointsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServingEndpointsArgs : global::Pulumi.InvokeArgs + { + [Input("endpoints")] + private List? _endpoints; + + /// + /// List of objects describing the serving endpoints. Each object consists of following attributes: + /// + public List Endpoints + { + get => _endpoints ?? (_endpoints = new List()); + set => _endpoints = value; + } + + public GetServingEndpointsArgs() + { + } + public static new GetServingEndpointsArgs Empty => new GetServingEndpointsArgs(); + } + + public sealed class GetServingEndpointsInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("endpoints")] + private InputList? _endpoints; + + /// + /// List of objects describing the serving endpoints. Each object consists of following attributes: + /// + public InputList Endpoints + { + get => _endpoints ?? (_endpoints = new InputList()); + set => _endpoints = value; + } + + public GetServingEndpointsInvokeArgs() + { + } + public static new GetServingEndpointsInvokeArgs Empty => new GetServingEndpointsInvokeArgs(); + } + + + [OutputType] + public sealed class GetServingEndpointsResult + { + /// + /// List of objects describing the serving endpoints. Each object consists of following attributes: + /// + public readonly ImmutableArray Endpoints; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetServingEndpointsResult( + ImmutableArray endpoints, + + string id) + { + Endpoints = endpoints; + Id = id; + } + } +} diff --git a/sdk/dotnet/Grant.cs b/sdk/dotnet/Grant.cs index e1340558..5d251aed 100644 --- a/sdk/dotnet/Grant.cs +++ b/sdk/dotnet/Grant.cs @@ -402,6 +402,42 @@ namespace Pulumi.Databricks /// }); /// ``` /// + /// ## Service credential grants + /// + /// See databricks.Grants Service credential grants for the list of privileges that apply to Service credentials. + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var external = new Databricks.Credential("external", new() + /// { + /// Name = externalDataAccess.Name, + /// AwsIamRole = new Databricks.Inputs.CredentialAwsIamRoleArgs + /// { + /// RoleArn = externalDataAccess.Arn, + /// }, + /// Purpose = "SERVICE", + /// Comment = "Managed by TF", + /// }); + /// + /// var externalCreds = new Databricks.Grant("external_creds", new() + /// { + /// Credential = external.Id, + /// Principal = "Data Engineers", + /// Privileges = new[] + /// { + /// "ACCESS", + /// }, + /// }); + /// + /// }); + /// ``` + /// /// ## Storage credential grants /// /// See databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials. @@ -603,6 +639,9 @@ public partial class Grant : global::Pulumi.CustomResource [Output("catalog")] public Output Catalog { get; private set; } = null!; + [Output("credential")] + public Output Credential { get; private set; } = null!; + [Output("externalLocation")] public Output ExternalLocation { get; private set; } = null!; @@ -694,6 +733,9 @@ public sealed class GrantArgs : global::Pulumi.ResourceArgs [Input("catalog")] public Input? Catalog { get; set; } + [Input("credential")] + public Input? Credential { get; set; } + [Input("externalLocation")] public Input? ExternalLocation { get; set; } @@ -752,6 +794,9 @@ public sealed class GrantState : global::Pulumi.ResourceArgs [Input("catalog")] public Input? Catalog { get; set; } + [Input("credential")] + public Input? Credential { get; set; } + [Input("externalLocation")] public Input? ExternalLocation { get; set; } diff --git a/sdk/dotnet/Grants.cs b/sdk/dotnet/Grants.cs index ec6aefc7..969ccea2 100644 --- a/sdk/dotnet/Grants.cs +++ b/sdk/dotnet/Grants.cs @@ -36,7 +36,7 @@ namespace Pulumi.Databricks /// /// ## Metastore grants /// - /// You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace. + /// You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace. /// /// ```csharp /// using System.Collections.Generic; @@ -455,6 +455,48 @@ namespace Pulumi.Databricks /// }); /// ``` /// + /// ## Service credential grants + /// + /// You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to databricks.Credential id specified in `credential` attribute: + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var external = new Databricks.Credential("external", new() + /// { + /// Name = externalDataAccess.Name, + /// AwsIamRole = new Databricks.Inputs.CredentialAwsIamRoleArgs + /// { + /// RoleArn = externalDataAccess.Arn, + /// }, + /// Purpose = "SERVICE", + /// Comment = "Managed by TF", + /// }); + /// + /// var externalCreds = new Databricks.Grants("external_creds", new() + /// { + /// Credential = external.Id, + /// GrantDetails = new[] + /// { + /// new Databricks.Inputs.GrantsGrantArgs + /// { + /// Principal = "Data Engineers", + /// Privileges = new[] + /// { + /// "CREATE_CONNECTION", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// /// ## Storage credential grants /// /// You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storage_credential` attribute: @@ -674,6 +716,9 @@ public partial class Grants : global::Pulumi.CustomResource [Output("catalog")] public Output Catalog { get; private set; } = null!; + [Output("credential")] + public Output Credential { get; private set; } = null!; + [Output("externalLocation")] public Output ExternalLocation { get; private set; } = null!; @@ -762,6 +807,9 @@ public sealed class GrantsArgs : global::Pulumi.ResourceArgs [Input("catalog")] public Input? Catalog { get; set; } + [Input("credential")] + public Input? Credential { get; set; } + [Input("externalLocation")] public Input? ExternalLocation { get; set; } @@ -817,6 +865,9 @@ public sealed class GrantsState : global::Pulumi.ResourceArgs [Input("catalog")] public Input? Catalog { get; set; } + [Input("credential")] + public Input? Credential { get; set; } + [Input("externalLocation")] public Input? ExternalLocation { get; set; } diff --git a/sdk/dotnet/Inputs/AppActiveDeploymentArgs.cs b/sdk/dotnet/Inputs/AppActiveDeploymentArgs.cs new file mode 100644 index 00000000..243ebf0c --- /dev/null +++ b/sdk/dotnet/Inputs/AppActiveDeploymentArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppActiveDeploymentArgs : global::Pulumi.ResourceArgs + { + /// + /// The creation time of the app. + /// + [Input("createTime")] + public Input? CreateTime { get; set; } + + /// + /// The email of the user that created the app. + /// + [Input("creator")] + public Input? Creator { get; set; } + + [Input("deploymentArtifacts")] + public Input? DeploymentArtifacts { get; set; } + + [Input("deploymentId")] + public Input? DeploymentId { get; set; } + + [Input("mode")] + public Input? Mode { get; set; } + + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + [Input("status")] + public Input? Status { get; set; } + + /// + /// The update time of the app. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + + public AppActiveDeploymentArgs() + { + } + public static new AppActiveDeploymentArgs Empty => new AppActiveDeploymentArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppActiveDeploymentDeploymentArtifactsArgs.cs b/sdk/dotnet/Inputs/AppActiveDeploymentDeploymentArtifactsArgs.cs new file mode 100644 index 00000000..2798f936 --- /dev/null +++ b/sdk/dotnet/Inputs/AppActiveDeploymentDeploymentArtifactsArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppActiveDeploymentDeploymentArtifactsArgs : global::Pulumi.ResourceArgs + { + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + public AppActiveDeploymentDeploymentArtifactsArgs() + { + } + public static new AppActiveDeploymentDeploymentArtifactsArgs Empty => new AppActiveDeploymentDeploymentArtifactsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppActiveDeploymentDeploymentArtifactsGetArgs.cs b/sdk/dotnet/Inputs/AppActiveDeploymentDeploymentArtifactsGetArgs.cs new file mode 100644 index 00000000..ac42e820 --- /dev/null +++ b/sdk/dotnet/Inputs/AppActiveDeploymentDeploymentArtifactsGetArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppActiveDeploymentDeploymentArtifactsGetArgs : global::Pulumi.ResourceArgs + { + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + public AppActiveDeploymentDeploymentArtifactsGetArgs() + { + } + public static new AppActiveDeploymentDeploymentArtifactsGetArgs Empty => new AppActiveDeploymentDeploymentArtifactsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppActiveDeploymentGetArgs.cs b/sdk/dotnet/Inputs/AppActiveDeploymentGetArgs.cs new file mode 100644 index 00000000..9999ef1f --- /dev/null +++ b/sdk/dotnet/Inputs/AppActiveDeploymentGetArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppActiveDeploymentGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The creation time of the app. + /// + [Input("createTime")] + public Input? CreateTime { get; set; } + + /// + /// The email of the user that created the app. + /// + [Input("creator")] + public Input? Creator { get; set; } + + [Input("deploymentArtifacts")] + public Input? DeploymentArtifacts { get; set; } + + [Input("deploymentId")] + public Input? DeploymentId { get; set; } + + [Input("mode")] + public Input? Mode { get; set; } + + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + [Input("status")] + public Input? Status { get; set; } + + /// + /// The update time of the app. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + + public AppActiveDeploymentGetArgs() + { + } + public static new AppActiveDeploymentGetArgs Empty => new AppActiveDeploymentGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppActiveDeploymentStatusArgs.cs b/sdk/dotnet/Inputs/AppActiveDeploymentStatusArgs.cs new file mode 100644 index 00000000..eeed7e82 --- /dev/null +++ b/sdk/dotnet/Inputs/AppActiveDeploymentStatusArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppActiveDeploymentStatusArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppActiveDeploymentStatusArgs() + { + } + public static new AppActiveDeploymentStatusArgs Empty => new AppActiveDeploymentStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppActiveDeploymentStatusGetArgs.cs b/sdk/dotnet/Inputs/AppActiveDeploymentStatusGetArgs.cs new file mode 100644 index 00000000..1223e7c4 --- /dev/null +++ b/sdk/dotnet/Inputs/AppActiveDeploymentStatusGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppActiveDeploymentStatusGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppActiveDeploymentStatusGetArgs() + { + } + public static new AppActiveDeploymentStatusGetArgs Empty => new AppActiveDeploymentStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppAppStatusArgs.cs b/sdk/dotnet/Inputs/AppAppStatusArgs.cs new file mode 100644 index 00000000..2cf5e965 --- /dev/null +++ b/sdk/dotnet/Inputs/AppAppStatusArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppAppStatusArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppAppStatusArgs() + { + } + public static new AppAppStatusArgs Empty => new AppAppStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppAppStatusGetArgs.cs b/sdk/dotnet/Inputs/AppAppStatusGetArgs.cs new file mode 100644 index 00000000..5342a6c2 --- /dev/null +++ b/sdk/dotnet/Inputs/AppAppStatusGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppAppStatusGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppAppStatusGetArgs() + { + } + public static new AppAppStatusGetArgs Empty => new AppAppStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppComputeStatusArgs.cs b/sdk/dotnet/Inputs/AppComputeStatusArgs.cs new file mode 100644 index 00000000..9697ee03 --- /dev/null +++ b/sdk/dotnet/Inputs/AppComputeStatusArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppComputeStatusArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppComputeStatusArgs() + { + } + public static new AppComputeStatusArgs Empty => new AppComputeStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppComputeStatusGetArgs.cs b/sdk/dotnet/Inputs/AppComputeStatusGetArgs.cs new file mode 100644 index 00000000..36adf17a --- /dev/null +++ b/sdk/dotnet/Inputs/AppComputeStatusGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppComputeStatusGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppComputeStatusGetArgs() + { + } + public static new AppComputeStatusGetArgs Empty => new AppComputeStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppPendingDeploymentArgs.cs b/sdk/dotnet/Inputs/AppPendingDeploymentArgs.cs new file mode 100644 index 00000000..4fa61d69 --- /dev/null +++ b/sdk/dotnet/Inputs/AppPendingDeploymentArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppPendingDeploymentArgs : global::Pulumi.ResourceArgs + { + /// + /// The creation time of the app. + /// + [Input("createTime")] + public Input? CreateTime { get; set; } + + /// + /// The email of the user that created the app. + /// + [Input("creator")] + public Input? Creator { get; set; } + + [Input("deploymentArtifacts")] + public Input? DeploymentArtifacts { get; set; } + + [Input("deploymentId")] + public Input? DeploymentId { get; set; } + + [Input("mode")] + public Input? Mode { get; set; } + + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + [Input("status")] + public Input? Status { get; set; } + + /// + /// The update time of the app. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + + public AppPendingDeploymentArgs() + { + } + public static new AppPendingDeploymentArgs Empty => new AppPendingDeploymentArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppPendingDeploymentDeploymentArtifactsArgs.cs b/sdk/dotnet/Inputs/AppPendingDeploymentDeploymentArtifactsArgs.cs new file mode 100644 index 00000000..cc3c13a9 --- /dev/null +++ b/sdk/dotnet/Inputs/AppPendingDeploymentDeploymentArtifactsArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppPendingDeploymentDeploymentArtifactsArgs : global::Pulumi.ResourceArgs + { + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + public AppPendingDeploymentDeploymentArtifactsArgs() + { + } + public static new AppPendingDeploymentDeploymentArtifactsArgs Empty => new AppPendingDeploymentDeploymentArtifactsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppPendingDeploymentDeploymentArtifactsGetArgs.cs b/sdk/dotnet/Inputs/AppPendingDeploymentDeploymentArtifactsGetArgs.cs new file mode 100644 index 00000000..34a9c9eb --- /dev/null +++ b/sdk/dotnet/Inputs/AppPendingDeploymentDeploymentArtifactsGetArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppPendingDeploymentDeploymentArtifactsGetArgs : global::Pulumi.ResourceArgs + { + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + public AppPendingDeploymentDeploymentArtifactsGetArgs() + { + } + public static new AppPendingDeploymentDeploymentArtifactsGetArgs Empty => new AppPendingDeploymentDeploymentArtifactsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppPendingDeploymentGetArgs.cs b/sdk/dotnet/Inputs/AppPendingDeploymentGetArgs.cs new file mode 100644 index 00000000..fb179184 --- /dev/null +++ b/sdk/dotnet/Inputs/AppPendingDeploymentGetArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppPendingDeploymentGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The creation time of the app. + /// + [Input("createTime")] + public Input? CreateTime { get; set; } + + /// + /// The email of the user that created the app. + /// + [Input("creator")] + public Input? Creator { get; set; } + + [Input("deploymentArtifacts")] + public Input? DeploymentArtifacts { get; set; } + + [Input("deploymentId")] + public Input? DeploymentId { get; set; } + + [Input("mode")] + public Input? Mode { get; set; } + + [Input("sourceCodePath")] + public Input? SourceCodePath { get; set; } + + [Input("status")] + public Input? Status { get; set; } + + /// + /// The update time of the app. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + + public AppPendingDeploymentGetArgs() + { + } + public static new AppPendingDeploymentGetArgs Empty => new AppPendingDeploymentGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppPendingDeploymentStatusArgs.cs b/sdk/dotnet/Inputs/AppPendingDeploymentStatusArgs.cs new file mode 100644 index 00000000..545a3ebd --- /dev/null +++ b/sdk/dotnet/Inputs/AppPendingDeploymentStatusArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppPendingDeploymentStatusArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppPendingDeploymentStatusArgs() + { + } + public static new AppPendingDeploymentStatusArgs Empty => new AppPendingDeploymentStatusArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppPendingDeploymentStatusGetArgs.cs b/sdk/dotnet/Inputs/AppPendingDeploymentStatusGetArgs.cs new file mode 100644 index 00000000..bb4a14b6 --- /dev/null +++ b/sdk/dotnet/Inputs/AppPendingDeploymentStatusGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppPendingDeploymentStatusGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Application status message + /// + [Input("message")] + public Input? Message { get; set; } + + /// + /// State of the application. + /// + [Input("state")] + public Input? State { get; set; } + + public AppPendingDeploymentStatusGetArgs() + { + } + public static new AppPendingDeploymentStatusGetArgs Empty => new AppPendingDeploymentStatusGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceArgs.cs b/sdk/dotnet/Inputs/AppResourceArgs.cs new file mode 100644 index 00000000..34ef67e6 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the resource. + /// + /// Exactly one of the following attributes must be provided: + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// attribute + /// + [Input("job")] + public Input? Job { get; set; } + + /// + /// The name of the resource. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// attribute + /// + [Input("secret")] + public Input? Secret { get; set; } + + /// + /// attribute + /// + [Input("servingEndpoint")] + public Input? ServingEndpoint { get; set; } + + /// + /// attribute + /// + [Input("sqlWarehouse")] + public Input? SqlWarehouse { get; set; } + + public AppResourceArgs() + { + } + public static new AppResourceArgs Empty => new AppResourceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceGetArgs.cs b/sdk/dotnet/Inputs/AppResourceGetArgs.cs new file mode 100644 index 00000000..ff501ba6 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceGetArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the resource. + /// + /// Exactly one of the following attributes must be provided: + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// attribute + /// + [Input("job")] + public Input? Job { get; set; } + + /// + /// The name of the resource. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// attribute + /// + [Input("secret")] + public Input? Secret { get; set; } + + /// + /// attribute + /// + [Input("servingEndpoint")] + public Input? ServingEndpoint { get; set; } + + /// + /// attribute + /// + [Input("sqlWarehouse")] + public Input? SqlWarehouse { get; set; } + + public AppResourceGetArgs() + { + } + public static new AppResourceGetArgs Empty => new AppResourceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceJobArgs.cs b/sdk/dotnet/Inputs/AppResourceJobArgs.cs new file mode 100644 index 00000000..50411ef9 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceJobArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceJobArgs : global::Pulumi.ResourceArgs + { + /// + /// Id of the job to grant permission on. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + public AppResourceJobArgs() + { + } + public static new AppResourceJobArgs Empty => new AppResourceJobArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceJobGetArgs.cs b/sdk/dotnet/Inputs/AppResourceJobGetArgs.cs new file mode 100644 index 00000000..b1af1159 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceJobGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceJobGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Id of the job to grant permission on. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + public AppResourceJobGetArgs() + { + } + public static new AppResourceJobGetArgs Empty => new AppResourceJobGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceSecretArgs.cs b/sdk/dotnet/Inputs/AppResourceSecretArgs.cs new file mode 100644 index 00000000..2038eec2 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceSecretArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceSecretArgs : global::Pulumi.ResourceArgs + { + /// + /// Key of the secret to grant permission on. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + /// + /// Scope of the secret to grant permission on. + /// + [Input("scope", required: true)] + public Input Scope { get; set; } = null!; + + public AppResourceSecretArgs() + { + } + public static new AppResourceSecretArgs Empty => new AppResourceSecretArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceSecretGetArgs.cs b/sdk/dotnet/Inputs/AppResourceSecretGetArgs.cs new file mode 100644 index 00000000..0d6121e2 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceSecretGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceSecretGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Key of the secret to grant permission on. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + /// + /// Scope of the secret to grant permission on. + /// + [Input("scope", required: true)] + public Input Scope { get; set; } = null!; + + public AppResourceSecretGetArgs() + { + } + public static new AppResourceSecretGetArgs Empty => new AppResourceSecretGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceServingEndpointArgs.cs b/sdk/dotnet/Inputs/AppResourceServingEndpointArgs.cs new file mode 100644 index 00000000..361cc517 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceServingEndpointArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceServingEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the serving endpoint to grant permission on. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + public AppResourceServingEndpointArgs() + { + } + public static new AppResourceServingEndpointArgs Empty => new AppResourceServingEndpointArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceServingEndpointGetArgs.cs b/sdk/dotnet/Inputs/AppResourceServingEndpointGetArgs.cs new file mode 100644 index 00000000..42008a8e --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceServingEndpointGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceServingEndpointGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the serving endpoint to grant permission on. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + public AppResourceServingEndpointGetArgs() + { + } + public static new AppResourceServingEndpointGetArgs Empty => new AppResourceServingEndpointGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceSqlWarehouseArgs.cs b/sdk/dotnet/Inputs/AppResourceSqlWarehouseArgs.cs new file mode 100644 index 00000000..7eaad6af --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceSqlWarehouseArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceSqlWarehouseArgs : global::Pulumi.ResourceArgs + { + /// + /// Id of the SQL warehouse to grant permission on. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + public AppResourceSqlWarehouseArgs() + { + } + public static new AppResourceSqlWarehouseArgs Empty => new AppResourceSqlWarehouseArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppResourceSqlWarehouseGetArgs.cs b/sdk/dotnet/Inputs/AppResourceSqlWarehouseGetArgs.cs new file mode 100644 index 00000000..2f174028 --- /dev/null +++ b/sdk/dotnet/Inputs/AppResourceSqlWarehouseGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class AppResourceSqlWarehouseGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Id of the SQL warehouse to grant permission on. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + /// + [Input("permission", required: true)] + public Input Permission { get; set; } = null!; + + public AppResourceSqlWarehouseGetArgs() + { + } + public static new AppResourceSqlWarehouseGetArgs Empty => new AppResourceSqlWarehouseGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialAwsIamRoleArgs.cs b/sdk/dotnet/Inputs/CredentialAwsIamRoleArgs.cs new file mode 100644 index 00000000..d00e6a3a --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialAwsIamRoleArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialAwsIamRoleArgs : global::Pulumi.ResourceArgs + { + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + /// + /// `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + /// + [Input("roleArn")] + public Input? RoleArn { get; set; } + + [Input("unityCatalogIamArn")] + public Input? UnityCatalogIamArn { get; set; } + + public CredentialAwsIamRoleArgs() + { + } + public static new CredentialAwsIamRoleArgs Empty => new CredentialAwsIamRoleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialAwsIamRoleGetArgs.cs b/sdk/dotnet/Inputs/CredentialAwsIamRoleGetArgs.cs new file mode 100644 index 00000000..ae044e13 --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialAwsIamRoleGetArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialAwsIamRoleGetArgs : global::Pulumi.ResourceArgs + { + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + /// + /// `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + /// + [Input("roleArn")] + public Input? RoleArn { get; set; } + + [Input("unityCatalogIamArn")] + public Input? UnityCatalogIamArn { get; set; } + + public CredentialAwsIamRoleGetArgs() + { + } + public static new CredentialAwsIamRoleGetArgs Empty => new CredentialAwsIamRoleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialAzureManagedIdentityArgs.cs b/sdk/dotnet/Inputs/CredentialAzureManagedIdentityArgs.cs new file mode 100644 index 00000000..fedbdac3 --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialAzureManagedIdentityArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialAzureManagedIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + /// + [Input("accessConnectorId", required: true)] + public Input AccessConnectorId { get; set; } = null!; + + /// + /// Unique ID of the credential. + /// + [Input("credentialId")] + public Input? CredentialId { get; set; } + + /// + /// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + /// + /// `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + /// + [Input("managedIdentityId")] + public Input? ManagedIdentityId { get; set; } + + public CredentialAzureManagedIdentityArgs() + { + } + public static new CredentialAzureManagedIdentityArgs Empty => new CredentialAzureManagedIdentityArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialAzureManagedIdentityGetArgs.cs b/sdk/dotnet/Inputs/CredentialAzureManagedIdentityGetArgs.cs new file mode 100644 index 00000000..aafdc5cc --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialAzureManagedIdentityGetArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialAzureManagedIdentityGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + /// + [Input("accessConnectorId", required: true)] + public Input AccessConnectorId { get; set; } = null!; + + /// + /// Unique ID of the credential. + /// + [Input("credentialId")] + public Input? CredentialId { get; set; } + + /// + /// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + /// + /// `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + /// + [Input("managedIdentityId")] + public Input? ManagedIdentityId { get; set; } + + public CredentialAzureManagedIdentityGetArgs() + { + } + public static new CredentialAzureManagedIdentityGetArgs Empty => new CredentialAzureManagedIdentityGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialAzureServicePrincipalArgs.cs b/sdk/dotnet/Inputs/CredentialAzureServicePrincipalArgs.cs new file mode 100644 index 00000000..537d6be7 --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialAzureServicePrincipalArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialAzureServicePrincipalArgs : global::Pulumi.ResourceArgs + { + /// + /// The application ID of the application registration within the referenced AAD tenant + /// + [Input("applicationId", required: true)] + public Input ApplicationId { get; set; } = null!; + + [Input("clientSecret", required: true)] + private Input? _clientSecret; + + /// + /// The client secret generated for the above app ID in AAD. **This field is redacted on output** + /// + /// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + /// + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + /// + [Input("directoryId", required: true)] + public Input DirectoryId { get; set; } = null!; + + public CredentialAzureServicePrincipalArgs() + { + } + public static new CredentialAzureServicePrincipalArgs Empty => new CredentialAzureServicePrincipalArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialAzureServicePrincipalGetArgs.cs b/sdk/dotnet/Inputs/CredentialAzureServicePrincipalGetArgs.cs new file mode 100644 index 00000000..93b2e9d4 --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialAzureServicePrincipalGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialAzureServicePrincipalGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The application ID of the application registration within the referenced AAD tenant + /// + [Input("applicationId", required: true)] + public Input ApplicationId { get; set; } = null!; + + [Input("clientSecret", required: true)] + private Input? _clientSecret; + + /// + /// The client secret generated for the above app ID in AAD. **This field is redacted on output** + /// + /// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + /// + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + /// + [Input("directoryId", required: true)] + public Input DirectoryId { get; set; } = null!; + + public CredentialAzureServicePrincipalGetArgs() + { + } + public static new CredentialAzureServicePrincipalGetArgs Empty => new CredentialAzureServicePrincipalGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialDatabricksGcpServiceAccountArgs.cs b/sdk/dotnet/Inputs/CredentialDatabricksGcpServiceAccountArgs.cs new file mode 100644 index 00000000..acd311bc --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialDatabricksGcpServiceAccountArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialDatabricksGcpServiceAccountArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique ID of the credential. + /// + [Input("credentialId")] + public Input? CredentialId { get; set; } + + /// + /// The email of the GCP service account created, to be granted access to relevant buckets. + /// + [Input("email")] + public Input? Email { get; set; } + + [Input("privateKeyId")] + public Input? PrivateKeyId { get; set; } + + public CredentialDatabricksGcpServiceAccountArgs() + { + } + public static new CredentialDatabricksGcpServiceAccountArgs Empty => new CredentialDatabricksGcpServiceAccountArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CredentialDatabricksGcpServiceAccountGetArgs.cs b/sdk/dotnet/Inputs/CredentialDatabricksGcpServiceAccountGetArgs.cs new file mode 100644 index 00000000..1dc7f5c8 --- /dev/null +++ b/sdk/dotnet/Inputs/CredentialDatabricksGcpServiceAccountGetArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class CredentialDatabricksGcpServiceAccountGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique ID of the credential. + /// + [Input("credentialId")] + public Input? CredentialId { get; set; } + + /// + /// The email of the GCP service account created, to be granted access to relevant buckets. + /// + [Input("email")] + public Input? Email { get; set; } + + [Input("privateKeyId")] + public Input? PrivateKeyId { get; set; } + + public CredentialDatabricksGcpServiceAccountGetArgs() + { + } + public static new CredentialDatabricksGcpServiceAccountGetArgs Empty => new CredentialDatabricksGcpServiceAccountGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetClusterClusterInfo.cs b/sdk/dotnet/Inputs/GetClusterClusterInfo.cs index 7036ae70..a5dd5908 100644 --- a/sdk/dotnet/Inputs/GetClusterClusterInfo.cs +++ b/sdk/dotnet/Inputs/GetClusterClusterInfo.cs @@ -138,9 +138,15 @@ public List InitScripts [Input("instancePoolId")] public string? InstancePoolId { get; set; } + [Input("isSingleNode")] + public bool? IsSingleNode { get; set; } + [Input("jdbcPort")] public int? JdbcPort { get; set; } + [Input("kind")] + public string? Kind { get; set; } + [Input("lastRestartedTime")] public int? LastRestartedTime { get; set; } @@ -237,6 +243,9 @@ public List SshPublicKeys [Input("terminationReason")] public Inputs.GetClusterClusterInfoTerminationReasonArgs? TerminationReason { get; set; } + [Input("useMlRuntime")] + public bool? UseMlRuntime { get; set; } + [Input("workloadType")] public Inputs.GetClusterClusterInfoWorkloadTypeArgs? WorkloadType { get; set; } diff --git a/sdk/dotnet/Inputs/GetClusterClusterInfoArgs.cs b/sdk/dotnet/Inputs/GetClusterClusterInfoArgs.cs index 491dd669..5efa70d4 100644 --- a/sdk/dotnet/Inputs/GetClusterClusterInfoArgs.cs +++ b/sdk/dotnet/Inputs/GetClusterClusterInfoArgs.cs @@ -138,9 +138,15 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + [Input("jdbcPort")] public Input? JdbcPort { get; set; } + [Input("kind")] + public Input? Kind { get; set; } + [Input("lastRestartedTime")] public Input? LastRestartedTime { get; set; } @@ -237,6 +243,9 @@ public InputList SshPublicKeys [Input("terminationReason")] public Input? TerminationReason { get; set; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + [Input("workloadType")] public Input? WorkloadType { get; set; } diff --git a/sdk/dotnet/Inputs/GetClusterClusterInfoSpec.cs b/sdk/dotnet/Inputs/GetClusterClusterInfoSpec.cs index 6276cab3..4f8c3440 100644 --- a/sdk/dotnet/Inputs/GetClusterClusterInfoSpec.cs +++ b/sdk/dotnet/Inputs/GetClusterClusterInfoSpec.cs @@ -115,6 +115,12 @@ public List InitScripts [Input("instancePoolId")] public string? InstancePoolId { get; set; } + [Input("isSingleNode")] + public bool? IsSingleNode { get; set; } + + [Input("kind")] + public string? Kind { get; set; } + [Input("libraries")] private List? _libraries; public List Libraries @@ -192,6 +198,9 @@ public List SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public bool? UseMlRuntime { get; set; } + [Input("workloadType")] public Inputs.GetClusterClusterInfoSpecWorkloadTypeArgs? WorkloadType { get; set; } diff --git a/sdk/dotnet/Inputs/GetClusterClusterInfoSpecArgs.cs b/sdk/dotnet/Inputs/GetClusterClusterInfoSpecArgs.cs index 8dd59c44..1dfb0389 100644 --- a/sdk/dotnet/Inputs/GetClusterClusterInfoSpecArgs.cs +++ b/sdk/dotnet/Inputs/GetClusterClusterInfoSpecArgs.cs @@ -115,6 +115,12 @@ public InputList InitScript [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; public InputList Libraries @@ -192,6 +198,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + [Input("workloadType")] public Input? WorkloadType { get; set; } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunction.cs b/sdk/dotnet/Inputs/GetFunctionsFunction.cs index 725338f1..e0b0e164 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunction.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunction.cs @@ -78,11 +78,17 @@ public sealed class GetFunctionsFunctionArgs : global::Pulumi.InvokeArgs [Input("functionId")] public string? FunctionId { get; set; } + [Input("inputParams")] + private List? _inputParams; + /// /// object describing input parameters. Consists of the single attribute: /// - [Input("inputParams")] - public Inputs.GetFunctionsFunctionInputParamsArgs? InputParams { get; set; } + public List InputParams + { + get => _inputParams ?? (_inputParams = new List()); + set => _inputParams = value; + } /// /// Boolean flag specifying whether the function is deterministic. @@ -126,11 +132,17 @@ public sealed class GetFunctionsFunctionArgs : global::Pulumi.InvokeArgs [Input("properties")] public string? Properties { get; set; } + [Input("returnParams")] + private List? _returnParams; + /// /// Table function return parameters. See `input_params` for description. /// - [Input("returnParams")] - public Inputs.GetFunctionsFunctionReturnParamsArgs? ReturnParams { get; set; } + public List ReturnParams + { + get => _returnParams ?? (_returnParams = new List()); + set => _returnParams = value; + } /// /// Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. @@ -144,11 +156,17 @@ public sealed class GetFunctionsFunctionArgs : global::Pulumi.InvokeArgs [Input("routineDefinition")] public string? RoutineDefinition { get; set; } + [Input("routineDependencies")] + private List? _routineDependencies; + /// /// Function dependencies. /// - [Input("routineDependencies")] - public Inputs.GetFunctionsFunctionRoutineDependenciesArgs? RoutineDependencies { get; set; } + public List RoutineDependencies + { + get => _routineDependencies ?? (_routineDependencies = new List()); + set => _routineDependencies = value; + } /// /// Name of databricks_schema. diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionArgs.cs index 689b628c..7b87167c 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionArgs.cs @@ -78,11 +78,17 @@ public sealed class GetFunctionsFunctionInputArgs : global::Pulumi.ResourceArgs [Input("functionId")] public Input? FunctionId { get; set; } + [Input("inputParams")] + private InputList? _inputParams; + /// /// object describing input parameters. Consists of the single attribute: /// - [Input("inputParams")] - public Input? InputParams { get; set; } + public InputList InputParams + { + get => _inputParams ?? (_inputParams = new InputList()); + set => _inputParams = value; + } /// /// Boolean flag specifying whether the function is deterministic. @@ -126,11 +132,17 @@ public sealed class GetFunctionsFunctionInputArgs : global::Pulumi.ResourceArgs [Input("properties")] public Input? Properties { get; set; } + [Input("returnParams")] + private InputList? _returnParams; + /// /// Table function return parameters. See `input_params` for description. /// - [Input("returnParams")] - public Input? ReturnParams { get; set; } + public InputList ReturnParams + { + get => _returnParams ?? (_returnParams = new InputList()); + set => _returnParams = value; + } /// /// Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. @@ -144,11 +156,17 @@ public sealed class GetFunctionsFunctionInputArgs : global::Pulumi.ResourceArgs [Input("routineDefinition")] public Input? RoutineDefinition { get; set; } + [Input("routineDependencies")] + private InputList? _routineDependencies; + /// /// Function dependencies. /// - [Input("routineDependencies")] - public Input? RoutineDependencies { get; set; } + public InputList RoutineDependencies + { + get => _routineDependencies ?? (_routineDependencies = new InputList()); + set => _routineDependencies = value; + } /// /// Name of databricks_schema. diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParams.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParam.cs similarity index 57% rename from sdk/dotnet/Inputs/GetFunctionsFunctionReturnParams.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionInputParam.cs index 4c25485d..713f10d5 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParams.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParam.cs @@ -10,23 +10,23 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionReturnParamsArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionInputParamArgs : global::Pulumi.InvokeArgs { [Input("parameters")] - private List? _parameters; + private List? _parameters; /// /// The array of definitions of the function's parameters: /// - public List Parameters + public List Parameters { - get => _parameters ?? (_parameters = new List()); + get => _parameters ?? (_parameters = new List()); set => _parameters = value; } - public GetFunctionsFunctionReturnParamsArgs() + public GetFunctionsFunctionInputParamArgs() { } - public static new GetFunctionsFunctionReturnParamsArgs Empty => new GetFunctionsFunctionReturnParamsArgs(); + public static new GetFunctionsFunctionInputParamArgs Empty => new GetFunctionsFunctionInputParamArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamArgs.cs similarity index 54% rename from sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionInputParamArgs.cs index ca2f7462..b352cf15 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamArgs.cs @@ -10,23 +10,23 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionReturnParamsInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionInputParamInputArgs : global::Pulumi.ResourceArgs { [Input("parameters")] - private InputList? _parameters; + private InputList? _parameters; /// /// The array of definitions of the function's parameters: /// - public InputList Parameters + public InputList Parameters { - get => _parameters ?? (_parameters = new InputList()); + get => _parameters ?? (_parameters = new InputList()); set => _parameters = value; } - public GetFunctionsFunctionReturnParamsInputArgs() + public GetFunctionsFunctionInputParamInputArgs() { } - public static new GetFunctionsFunctionReturnParamsInputArgs Empty => new GetFunctionsFunctionReturnParamsInputArgs(); + public static new GetFunctionsFunctionInputParamInputArgs Empty => new GetFunctionsFunctionInputParamInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsParameter.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamParameter.cs similarity index 89% rename from sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsParameter.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionInputParamParameter.cs index 9a9c24e2..9f3c9cf4 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsParameter.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamParameter.cs @@ -10,7 +10,7 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionReturnParamsParameterArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionInputParamParameterArgs : global::Pulumi.InvokeArgs { /// /// User-provided free-form text description. @@ -84,9 +84,9 @@ public sealed class GetFunctionsFunctionReturnParamsParameterArgs : global::Pulu [Input("typeText", required: true)] public string TypeText { get; set; } = null!; - public GetFunctionsFunctionReturnParamsParameterArgs() + public GetFunctionsFunctionInputParamParameterArgs() { } - public static new GetFunctionsFunctionReturnParamsParameterArgs Empty => new GetFunctionsFunctionReturnParamsParameterArgs(); + public static new GetFunctionsFunctionInputParamParameterArgs Empty => new GetFunctionsFunctionInputParamParameterArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsParameterArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamParameterArgs.cs similarity index 89% rename from sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsParameterArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionInputParamParameterArgs.cs index a31a3ecb..67698a85 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamsParameterArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamParameterArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionReturnParamsParameterInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionInputParamParameterInputArgs : global::Pulumi.ResourceArgs { /// /// User-provided free-form text description. @@ -84,9 +84,9 @@ public sealed class GetFunctionsFunctionReturnParamsParameterInputArgs : global: [Input("typeText", required: true)] public Input TypeText { get; set; } = null!; - public GetFunctionsFunctionReturnParamsParameterInputArgs() + public GetFunctionsFunctionInputParamParameterInputArgs() { } - public static new GetFunctionsFunctionReturnParamsParameterInputArgs Empty => new GetFunctionsFunctionReturnParamsParameterInputArgs(); + public static new GetFunctionsFunctionInputParamParameterInputArgs Empty => new GetFunctionsFunctionInputParamParameterInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParams.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParam.cs similarity index 63% rename from sdk/dotnet/Inputs/GetFunctionsFunctionInputParams.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionReturnParam.cs index e60814d5..25e0f5dc 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParams.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParam.cs @@ -10,23 +10,23 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionInputParamsArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionReturnParamArgs : global::Pulumi.InvokeArgs { [Input("parameters")] - private List? _parameters; + private List? _parameters; /// /// The array of definitions of the function's parameters: /// - public List Parameters + public List Parameters { - get => _parameters ?? (_parameters = new List()); + get => _parameters ?? (_parameters = new List()); set => _parameters = value; } - public GetFunctionsFunctionInputParamsArgs() + public GetFunctionsFunctionReturnParamArgs() { } - public static new GetFunctionsFunctionInputParamsArgs Empty => new GetFunctionsFunctionInputParamsArgs(); + public static new GetFunctionsFunctionReturnParamArgs Empty => new GetFunctionsFunctionReturnParamArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamArgs.cs similarity index 63% rename from sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamArgs.cs index 86dd42a7..31b7a2a0 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamArgs.cs @@ -10,23 +10,23 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionInputParamsInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionReturnParamInputArgs : global::Pulumi.ResourceArgs { [Input("parameters")] - private InputList? _parameters; + private InputList? _parameters; /// /// The array of definitions of the function's parameters: /// - public InputList Parameters + public InputList Parameters { - get => _parameters ?? (_parameters = new InputList()); + get => _parameters ?? (_parameters = new InputList()); set => _parameters = value; } - public GetFunctionsFunctionInputParamsInputArgs() + public GetFunctionsFunctionReturnParamInputArgs() { } - public static new GetFunctionsFunctionInputParamsInputArgs Empty => new GetFunctionsFunctionInputParamsInputArgs(); + public static new GetFunctionsFunctionReturnParamInputArgs Empty => new GetFunctionsFunctionReturnParamInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsParameter.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamParameter.cs similarity index 91% rename from sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsParameter.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamParameter.cs index d41a71e5..897620ef 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsParameter.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamParameter.cs @@ -10,7 +10,7 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionInputParamsParameterArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionReturnParamParameterArgs : global::Pulumi.InvokeArgs { /// /// User-provided free-form text description. @@ -84,9 +84,9 @@ public sealed class GetFunctionsFunctionInputParamsParameterArgs : global::Pulum [Input("typeText", required: true)] public string TypeText { get; set; } = null!; - public GetFunctionsFunctionInputParamsParameterArgs() + public GetFunctionsFunctionReturnParamParameterArgs() { } - public static new GetFunctionsFunctionInputParamsParameterArgs Empty => new GetFunctionsFunctionInputParamsParameterArgs(); + public static new GetFunctionsFunctionReturnParamParameterArgs Empty => new GetFunctionsFunctionReturnParamParameterArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsParameterArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamParameterArgs.cs similarity index 91% rename from sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsParameterArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamParameterArgs.cs index 724b594d..35b5d383 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionInputParamsParameterArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionReturnParamParameterArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionInputParamsParameterInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionReturnParamParameterInputArgs : global::Pulumi.ResourceArgs { /// /// User-provided free-form text description. @@ -84,9 +84,9 @@ public sealed class GetFunctionsFunctionInputParamsParameterInputArgs : global:: [Input("typeText", required: true)] public Input TypeText { get; set; } = null!; - public GetFunctionsFunctionInputParamsParameterInputArgs() + public GetFunctionsFunctionReturnParamParameterInputArgs() { } - public static new GetFunctionsFunctionInputParamsParameterInputArgs Empty => new GetFunctionsFunctionInputParamsParameterInputArgs(); + public static new GetFunctionsFunctionReturnParamParameterInputArgs Empty => new GetFunctionsFunctionReturnParamParameterInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependency.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependency.cs deleted file mode 100644 index 1446df2d..00000000 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependency.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyArgs : global::Pulumi.InvokeArgs - { - [Input("function")] - public Inputs.GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs? Function { get; set; } - - [Input("table")] - public Inputs.GetFunctionsFunctionRoutineDependenciesDependencyTableArgs? Table { get; set; } - - public GetFunctionsFunctionRoutineDependenciesDependencyArgs() - { - } - public static new GetFunctionsFunctionRoutineDependenciesDependencyArgs Empty => new GetFunctionsFunctionRoutineDependenciesDependencyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyArgs.cs deleted file mode 100644 index 5c529bfa..00000000 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyInputArgs : global::Pulumi.ResourceArgs - { - [Input("function")] - public Input? Function { get; set; } - - [Input("table")] - public Input? Table { get; set; } - - public GetFunctionsFunctionRoutineDependenciesDependencyInputArgs() - { - } - public static new GetFunctionsFunctionRoutineDependenciesDependencyInputArgs Empty => new GetFunctionsFunctionRoutineDependenciesDependencyInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencies.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependency.cs similarity index 55% rename from sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencies.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependency.cs index eefc57d3..d5393d71 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencies.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependency.cs @@ -10,19 +10,19 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionRoutineDependenciesArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionRoutineDependencyArgs : global::Pulumi.InvokeArgs { [Input("dependencies")] - private List? _dependencies; - public List Dependencies + private List? _dependencies; + public List Dependencies { - get => _dependencies ?? (_dependencies = new List()); + get => _dependencies ?? (_dependencies = new List()); set => _dependencies = value; } - public GetFunctionsFunctionRoutineDependenciesArgs() + public GetFunctionsFunctionRoutineDependencyArgs() { } - public static new GetFunctionsFunctionRoutineDependenciesArgs Empty => new GetFunctionsFunctionRoutineDependenciesArgs(); + public static new GetFunctionsFunctionRoutineDependencyArgs Empty => new GetFunctionsFunctionRoutineDependencyArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyArgs.cs similarity index 58% rename from sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyArgs.cs index b57ad5a6..d28b9e26 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyArgs.cs @@ -10,19 +10,19 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionRoutineDependenciesInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionRoutineDependencyInputArgs : global::Pulumi.ResourceArgs { [Input("dependencies")] - private InputList? _dependencies; - public InputList Dependencies + private InputList? _dependencies; + public InputList Dependencies { - get => _dependencies ?? (_dependencies = new InputList()); + get => _dependencies ?? (_dependencies = new InputList()); set => _dependencies = value; } - public GetFunctionsFunctionRoutineDependenciesInputArgs() + public GetFunctionsFunctionRoutineDependencyInputArgs() { } - public static new GetFunctionsFunctionRoutineDependenciesInputArgs Empty => new GetFunctionsFunctionRoutineDependenciesInputArgs(); + public static new GetFunctionsFunctionRoutineDependencyInputArgs Empty => new GetFunctionsFunctionRoutineDependencyInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependency.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependency.cs new file mode 100644 index 00000000..315f2af6 --- /dev/null +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependency.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetFunctionsFunctionRoutineDependencyDependencyArgs : global::Pulumi.InvokeArgs + { + [Input("functions")] + private List? _functions; + public List Functions + { + get => _functions ?? (_functions = new List()); + set => _functions = value; + } + + [Input("tables")] + private List? _tables; + public List Tables + { + get => _tables ?? (_tables = new List()); + set => _tables = value; + } + + public GetFunctionsFunctionRoutineDependencyDependencyArgs() + { + } + public static new GetFunctionsFunctionRoutineDependencyDependencyArgs Empty => new GetFunctionsFunctionRoutineDependencyDependencyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyArgs.cs new file mode 100644 index 00000000..8c66092a --- /dev/null +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetFunctionsFunctionRoutineDependencyDependencyInputArgs : global::Pulumi.ResourceArgs + { + [Input("functions")] + private InputList? _functions; + public InputList Functions + { + get => _functions ?? (_functions = new InputList()); + set => _functions = value; + } + + [Input("tables")] + private InputList? _tables; + public InputList Tables + { + get => _tables ?? (_tables = new InputList()); + set => _tables = value; + } + + public GetFunctionsFunctionRoutineDependencyDependencyInputArgs() + { + } + public static new GetFunctionsFunctionRoutineDependencyDependencyInputArgs Empty => new GetFunctionsFunctionRoutineDependencyDependencyInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.cs similarity index 58% rename from sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.cs index 5f810903..4e93a14d 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.cs @@ -10,14 +10,14 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs : global::Pulumi.InvokeArgs { [Input("functionFullName", required: true)] public string FunctionFullName { get; set; } = null!; - public GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs() + public GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs() { } - public static new GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs Empty => new GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs(); + public static new GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs Empty => new GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs.cs similarity index 57% rename from sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs.cs index 93725561..984c8a09 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs.cs @@ -10,14 +10,14 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyFunctionInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionRoutineDependencyDependencyFunctionInputArgs : global::Pulumi.ResourceArgs { [Input("functionFullName", required: true)] public Input FunctionFullName { get; set; } = null!; - public GetFunctionsFunctionRoutineDependenciesDependencyFunctionInputArgs() + public GetFunctionsFunctionRoutineDependencyDependencyFunctionInputArgs() { } - public static new GetFunctionsFunctionRoutineDependenciesDependencyFunctionInputArgs Empty => new GetFunctionsFunctionRoutineDependenciesDependencyFunctionInputArgs(); + public static new GetFunctionsFunctionRoutineDependencyDependencyFunctionInputArgs Empty => new GetFunctionsFunctionRoutineDependencyDependencyFunctionInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyTable.cs similarity index 58% rename from sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyTable.cs index 916e99ea..1a5e2fdf 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyTable.cs @@ -10,14 +10,14 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyTableArgs : global::Pulumi.InvokeArgs + public sealed class GetFunctionsFunctionRoutineDependencyDependencyTableArgs : global::Pulumi.InvokeArgs { [Input("tableFullName", required: true)] public string TableFullName { get; set; } = null!; - public GetFunctionsFunctionRoutineDependenciesDependencyTableArgs() + public GetFunctionsFunctionRoutineDependencyDependencyTableArgs() { } - public static new GetFunctionsFunctionRoutineDependenciesDependencyTableArgs Empty => new GetFunctionsFunctionRoutineDependenciesDependencyTableArgs(); + public static new GetFunctionsFunctionRoutineDependencyDependencyTableArgs Empty => new GetFunctionsFunctionRoutineDependencyDependencyTableArgs(); } } diff --git a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyTableArgs.cs b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyTableArgs.cs similarity index 57% rename from sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyTableArgs.cs rename to sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyTableArgs.cs index 98c1e1bd..c73fc564 100644 --- a/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependenciesDependencyTableArgs.cs +++ b/sdk/dotnet/Inputs/GetFunctionsFunctionRoutineDependencyDependencyTableArgs.cs @@ -10,14 +10,14 @@ namespace Pulumi.Databricks.Inputs { - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyTableInputArgs : global::Pulumi.ResourceArgs + public sealed class GetFunctionsFunctionRoutineDependencyDependencyTableInputArgs : global::Pulumi.ResourceArgs { [Input("tableFullName", required: true)] public Input TableFullName { get; set; } = null!; - public GetFunctionsFunctionRoutineDependenciesDependencyTableInputArgs() + public GetFunctionsFunctionRoutineDependencyDependencyTableInputArgs() { } - public static new GetFunctionsFunctionRoutineDependenciesDependencyTableInputArgs Empty => new GetFunctionsFunctionRoutineDependenciesDependencyTableInputArgs(); + public static new GetFunctionsFunctionRoutineDependencyDependencyTableInputArgs Empty => new GetFunctionsFunctionRoutineDependencyDependencyTableInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfig.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfig.cs new file mode 100644 index 00000000..40142f3e --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfig.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigArgs : global::Pulumi.InvokeArgs + { + /// + /// Array of default rules. + /// + [Input("defaultRules")] + public Inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs? DefaultRules { get; set; } + + /// + /// Array of target rules. + /// + [Input("targetRules")] + public Inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs? TargetRules { get; set; } + + public GetMwsNetworkConnectivityConfigEgressConfigArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigArgs.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigArgs.cs new file mode 100644 index 00000000..b7e1d29a --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Array of default rules. + /// + [Input("defaultRules")] + public Input? DefaultRules { get; set; } + + /// + /// Array of target rules. + /// + [Input("targetRules")] + public Input? TargetRules { get; set; } + + public GetMwsNetworkConnectivityConfigEgressConfigInputArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigInputArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.cs new file mode 100644 index 00000000..f665655c --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs : global::Pulumi.InvokeArgs + { + /// + /// The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + /// + [Input("awsStableIpRule")] + public Inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs? AwsStableIpRule { get; set; } + + /// + /// Array of Azure service endpoint rules. + /// + [Input("azureServiceEndpointRule")] + public Inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs? AzureServiceEndpointRule { get; set; } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.cs new file mode 100644 index 00000000..a4f6f248 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + /// + [Input("awsStableIpRule")] + public Input? AwsStableIpRule { get; set; } + + /// + /// Array of Azure service endpoint rules. + /// + [Input("azureServiceEndpointRule")] + public Input? AzureServiceEndpointRule { get; set; } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInputArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInputArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.cs new file mode 100644 index 00000000..3e9831f5 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs : global::Pulumi.InvokeArgs + { + [Input("cidrBlocks")] + private List? _cidrBlocks; + + /// + /// The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + /// + public List CidrBlocks + { + get => _cidrBlocks ?? (_cidrBlocks = new List()); + set => _cidrBlocks = value; + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.cs new file mode 100644 index 00000000..1e0999ac --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInputArgs : global::Pulumi.ResourceArgs + { + [Input("cidrBlocks")] + private InputList? _cidrBlocks; + + /// + /// The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + /// + public InputList CidrBlocks + { + get => _cidrBlocks ?? (_cidrBlocks = new InputList()); + set => _cidrBlocks = value; + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInputArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInputArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.cs new file mode 100644 index 00000000..49703d3f --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs : global::Pulumi.InvokeArgs + { + [Input("subnets")] + private List? _subnets; + + /// + /// Array of strings representing the subnet IDs. + /// + public List Subnets + { + get => _subnets ?? (_subnets = new List()); + set => _subnets = value; + } + + /// + /// The target region for the service endpoint. + /// + [Input("targetRegion")] + public string? TargetRegion { get; set; } + + [Input("targetServices")] + private List? _targetServices; + + /// + /// Array of target services. + /// + public List TargetServices + { + get => _targetServices ?? (_targetServices = new List()); + set => _targetServices = value; + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.cs new file mode 100644 index 00000000..b7b3f642 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInputArgs : global::Pulumi.ResourceArgs + { + [Input("subnets")] + private InputList? _subnets; + + /// + /// Array of strings representing the subnet IDs. + /// + public InputList Subnets + { + get => _subnets ?? (_subnets = new InputList()); + set => _subnets = value; + } + + /// + /// The target region for the service endpoint. + /// + [Input("targetRegion")] + public Input? TargetRegion { get; set; } + + [Input("targetServices")] + private InputList? _targetServices; + + /// + /// Array of target services. + /// + public InputList TargetServices + { + get => _targetServices ?? (_targetServices = new InputList()); + set => _targetServices = value; + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInputArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInputArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.cs new file mode 100644 index 00000000..9ce77ac2 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs : global::Pulumi.InvokeArgs + { + [Input("azurePrivateEndpointRules")] + private List? _azurePrivateEndpointRules; + + /// + /// Array of private endpoint rule objects. + /// + public List AzurePrivateEndpointRules + { + get => _azurePrivateEndpointRules ?? (_azurePrivateEndpointRules = new List()); + set => _azurePrivateEndpointRules = value; + } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.cs new file mode 100644 index 00000000..3d32d2f9 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInputArgs : global::Pulumi.ResourceArgs + { + [Input("azurePrivateEndpointRules")] + private InputList? _azurePrivateEndpointRules; + + /// + /// Array of private endpoint rule objects. + /// + public InputList AzurePrivateEndpointRules + { + get => _azurePrivateEndpointRules ?? (_azurePrivateEndpointRules = new InputList()); + set => _azurePrivateEndpointRules = value; + } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInputArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInputArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.cs new file mode 100644 index 00000000..5529102e --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// The current status of this private endpoint. + /// + [Input("connectionState")] + public string? ConnectionState { get; set; } + + /// + /// Time in epoch milliseconds when this object was created. + /// + [Input("creationTime")] + public int? CreationTime { get; set; } + + /// + /// Whether this private endpoint is deactivated. + /// + [Input("deactivated")] + public bool? Deactivated { get; set; } + + /// + /// Time in epoch milliseconds when this object was deactivated. + /// + [Input("deactivatedAt")] + public int? DeactivatedAt { get; set; } + + /// + /// The name of the Azure private endpoint resource. + /// + [Input("endpointName")] + public string? EndpointName { get; set; } + + /// + /// The sub-resource type (group ID) of the target resource. + /// + [Input("groupId")] + public string? GroupId { get; set; } + + /// + /// The Databricks network connectivity configuration ID. + /// + [Input("networkConnectivityConfigId")] + public string? NetworkConnectivityConfigId { get; set; } + + /// + /// The Azure resource ID of the target resource. + /// + [Input("resourceId")] + public string? ResourceId { get; set; } + + /// + /// The ID of a private endpoint rule. + /// + [Input("ruleId")] + public string? RuleId { get; set; } + + /// + /// Time in epoch milliseconds when the network was updated. + /// + [Input("updatedTime")] + public int? UpdatedTime { get; set; } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.cs b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.cs new file mode 100644 index 00000000..020ce7c4 --- /dev/null +++ b/sdk/dotnet/Inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.cs @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The current status of this private endpoint. + /// + [Input("connectionState")] + public Input? ConnectionState { get; set; } + + /// + /// Time in epoch milliseconds when this object was created. + /// + [Input("creationTime")] + public Input? CreationTime { get; set; } + + /// + /// Whether this private endpoint is deactivated. + /// + [Input("deactivated")] + public Input? Deactivated { get; set; } + + /// + /// Time in epoch milliseconds when this object was deactivated. + /// + [Input("deactivatedAt")] + public Input? DeactivatedAt { get; set; } + + /// + /// The name of the Azure private endpoint resource. + /// + [Input("endpointName")] + public Input? EndpointName { get; set; } + + /// + /// The sub-resource type (group ID) of the target resource. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// The Databricks network connectivity configuration ID. + /// + [Input("networkConnectivityConfigId")] + public Input? NetworkConnectivityConfigId { get; set; } + + /// + /// The Azure resource ID of the target resource. + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + /// + /// The ID of a private endpoint rule. + /// + [Input("ruleId")] + public Input? RuleId { get; set; } + + /// + /// Time in epoch milliseconds when the network was updated. + /// + [Input("updatedTime")] + public Input? UpdatedTime { get; set; } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInputArgs() + { + } + public static new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInputArgs Empty => new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetNotificationDestinationsNotificationDestination.cs b/sdk/dotnet/Inputs/GetNotificationDestinationsNotificationDestination.cs deleted file mode 100644 index ee5645e5..00000000 --- a/sdk/dotnet/Inputs/GetNotificationDestinationsNotificationDestination.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class GetNotificationDestinationsNotificationDestinationArgs : global::Pulumi.InvokeArgs - { - /// - /// The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - /// - [Input("destinationType")] - public string? DestinationType { get; set; } - - /// - /// The display name of the Notification Destination. - /// - [Input("displayName")] - public string? DisplayName { get; set; } - - /// - /// The unique ID of the Notification Destination. - /// - [Input("id")] - public string? Id { get; set; } - - public GetNotificationDestinationsNotificationDestinationArgs() - { - } - public static new GetNotificationDestinationsNotificationDestinationArgs Empty => new GetNotificationDestinationsNotificationDestinationArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNotificationDestinationsNotificationDestinationArgs.cs b/sdk/dotnet/Inputs/GetNotificationDestinationsNotificationDestinationArgs.cs deleted file mode 100644 index df15138f..00000000 --- a/sdk/dotnet/Inputs/GetNotificationDestinationsNotificationDestinationArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Inputs -{ - - public sealed class GetNotificationDestinationsNotificationDestinationInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - /// - [Input("destinationType")] - public Input? DestinationType { get; set; } - - /// - /// The display name of the Notification Destination. - /// - [Input("displayName")] - public Input? DisplayName { get; set; } - - /// - /// The unique ID of the Notification Destination. - /// - [Input("id")] - public Input? Id { get; set; } - - public GetNotificationDestinationsNotificationDestinationInputArgs() - { - } - public static new GetNotificationDestinationsNotificationDestinationInputArgs Empty => new GetNotificationDestinationsNotificationDestinationInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersion.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersion.cs new file mode 100644 index 00000000..b40f763c --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersion.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionArgs : global::Pulumi.InvokeArgs + { + [Input("aliases")] + private List? _aliases; + + /// + /// the list of aliases associated with this model. Each item is object consisting of following attributes: + /// + public List Aliases + { + get => _aliases ?? (_aliases = new List()); + set => _aliases = value; + } + + [Input("browseOnly")] + public bool? BrowseOnly { get; set; } + + /// + /// The name of the catalog where the schema and the registered model reside. + /// + [Input("catalogName")] + public string? CatalogName { get; set; } + + /// + /// The comment attached to the registered model. + /// + [Input("comment")] + public string? Comment { get; set; } + + /// + /// the Unix timestamp at the model's creation + /// + [Input("createdAt")] + public int? CreatedAt { get; set; } + + /// + /// the identifier of the user who created the model + /// + [Input("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The unique identifier of the model version + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// the unique identifier of the metastore + /// + [Input("metastoreId")] + public string? MetastoreId { get; set; } + + [Input("modelName")] + public string? ModelName { get; set; } + + [Input("modelVersionDependencies")] + private List? _modelVersionDependencies; + + /// + /// block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + /// + public List ModelVersionDependencies + { + get => _modelVersionDependencies ?? (_modelVersionDependencies = new List()); + set => _modelVersionDependencies = value; + } + + /// + /// MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + /// + [Input("runId")] + public string? RunId { get; set; } + + /// + /// ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + /// + [Input("runWorkspaceId")] + public int? RunWorkspaceId { get; set; } + + /// + /// The name of the schema where the registered model resides. + /// + [Input("schemaName")] + public string? SchemaName { get; set; } + + /// + /// URI indicating the location of the source artifacts (files) for the model version. + /// + [Input("source")] + public string? Source { get; set; } + + /// + /// Current status of the model version. + /// + [Input("status")] + public string? Status { get; set; } + + /// + /// The storage location under which model version data files are stored. + /// + [Input("storageLocation")] + public string? StorageLocation { get; set; } + + /// + /// the timestamp of the last time changes were made to the model + /// + [Input("updatedAt")] + public int? UpdatedAt { get; set; } + + /// + /// the identifier of the user who updated the model last time + /// + [Input("updatedBy")] + public string? UpdatedBy { get; set; } + + /// + /// Integer model version number, used to reference the model version in API requests. + /// + [Input("version")] + public int? Version { get; set; } + + public GetRegisteredModelVersionsModelVersionArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionArgs Empty => new GetRegisteredModelVersionsModelVersionArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionAlias.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionAlias.cs new file mode 100644 index 00000000..6191cd2d --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionAlias.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionAliasArgs : global::Pulumi.InvokeArgs + { + /// + /// string with the name of alias + /// + [Input("aliasName")] + public string? AliasName { get; set; } + + /// + /// associated model version + /// + [Input("versionNum")] + public int? VersionNum { get; set; } + + public GetRegisteredModelVersionsModelVersionAliasArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionAliasArgs Empty => new GetRegisteredModelVersionsModelVersionAliasArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionAliasArgs.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionAliasArgs.cs new file mode 100644 index 00000000..bd8ada3a --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionAliasArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionAliasInputArgs : global::Pulumi.ResourceArgs + { + /// + /// string with the name of alias + /// + [Input("aliasName")] + public Input? AliasName { get; set; } + + /// + /// associated model version + /// + [Input("versionNum")] + public Input? VersionNum { get; set; } + + public GetRegisteredModelVersionsModelVersionAliasInputArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionAliasInputArgs Empty => new GetRegisteredModelVersionsModelVersionAliasInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionArgs.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionArgs.cs new file mode 100644 index 00000000..b931d8a5 --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionArgs.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionInputArgs : global::Pulumi.ResourceArgs + { + [Input("aliases")] + private InputList? _aliases; + + /// + /// the list of aliases associated with this model. Each item is object consisting of following attributes: + /// + public InputList Aliases + { + get => _aliases ?? (_aliases = new InputList()); + set => _aliases = value; + } + + [Input("browseOnly")] + public Input? BrowseOnly { get; set; } + + /// + /// The name of the catalog where the schema and the registered model reside. + /// + [Input("catalogName")] + public Input? CatalogName { get; set; } + + /// + /// The comment attached to the registered model. + /// + [Input("comment")] + public Input? Comment { get; set; } + + /// + /// the Unix timestamp at the model's creation + /// + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + /// + /// the identifier of the user who created the model + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// The unique identifier of the model version + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// the unique identifier of the metastore + /// + [Input("metastoreId")] + public Input? MetastoreId { get; set; } + + [Input("modelName")] + public Input? ModelName { get; set; } + + [Input("modelVersionDependencies")] + private InputList? _modelVersionDependencies; + + /// + /// block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + /// + public InputList ModelVersionDependencies + { + get => _modelVersionDependencies ?? (_modelVersionDependencies = new InputList()); + set => _modelVersionDependencies = value; + } + + /// + /// MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + /// + [Input("runId")] + public Input? RunId { get; set; } + + /// + /// ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + /// + [Input("runWorkspaceId")] + public Input? RunWorkspaceId { get; set; } + + /// + /// The name of the schema where the registered model resides. + /// + [Input("schemaName")] + public Input? SchemaName { get; set; } + + /// + /// URI indicating the location of the source artifacts (files) for the model version. + /// + [Input("source")] + public Input? Source { get; set; } + + /// + /// Current status of the model version. + /// + [Input("status")] + public Input? Status { get; set; } + + /// + /// The storage location under which model version data files are stored. + /// + [Input("storageLocation")] + public Input? StorageLocation { get; set; } + + /// + /// the timestamp of the last time changes were made to the model + /// + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + /// + /// the identifier of the user who updated the model last time + /// + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + /// + /// Integer model version number, used to reference the model version in API requests. + /// + [Input("version")] + public Input? Version { get; set; } + + public GetRegisteredModelVersionsModelVersionInputArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionInputArgs Empty => new GetRegisteredModelVersionsModelVersionInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.cs new file mode 100644 index 00000000..e3b94bb4 --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs : global::Pulumi.InvokeArgs + { + [Input("dependencies")] + private List? _dependencies; + + /// + /// list of dependencies consisting of following attributes: + /// + public List Dependencies + { + get => _dependencies ?? (_dependencies = new List()); + set => _dependencies = value; + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs.cs new file mode 100644 index 00000000..ae8a2fa8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyInputArgs : global::Pulumi.ResourceArgs + { + [Input("dependencies")] + private InputList? _dependencies; + + /// + /// list of dependencies consisting of following attributes: + /// + public InputList Dependencies + { + get => _dependencies ?? (_dependencies = new InputList()); + set => _dependencies = value; + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyInputArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyInputArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.cs new file mode 100644 index 00000000..5b211ebe --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs : global::Pulumi.InvokeArgs + { + [Input("functions")] + private List? _functions; + + /// + /// A function that is dependent on a SQL object: + /// + public List Functions + { + get => _functions ?? (_functions = new List()); + set => _functions = value; + } + + [Input("tables")] + private List? _tables; + + /// + /// A table that is dependent on a SQL object + /// + public List Tables + { + get => _tables ?? (_tables = new List()); + set => _tables = value; + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs.cs new file mode 100644 index 00000000..3c0b0a9a --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInputArgs : global::Pulumi.ResourceArgs + { + [Input("functions")] + private InputList? _functions; + + /// + /// A function that is dependent on a SQL object: + /// + public InputList Functions + { + get => _functions ?? (_functions = new InputList()); + set => _functions = value; + } + + [Input("tables")] + private InputList? _tables; + + /// + /// A table that is dependent on a SQL object + /// + public InputList Tables + { + get => _tables ?? (_tables = new InputList()); + set => _tables = value; + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInputArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInputArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.cs new file mode 100644 index 00000000..39ca9a98 --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs : global::Pulumi.InvokeArgs + { + /// + /// Full name of the dependent function + /// + [Input("functionFullName", required: true)] + public string FunctionFullName { get; set; } = null!; + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs.cs new file mode 100644 index 00000000..fb49778c --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Full name of the dependent function + /// + [Input("functionFullName", required: true)] + public Input FunctionFullName { get; set; } = null!; + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInputArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInputArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.cs new file mode 100644 index 00000000..7e8df455 --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs : global::Pulumi.InvokeArgs + { + /// + /// Full name of the dependent table + /// + [Input("tableFullName", required: true)] + public string TableFullName { get; set; } = null!; + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs.cs b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs.cs new file mode 100644 index 00000000..af27a9b2 --- /dev/null +++ b/sdk/dotnet/Inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Full name of the dependent table + /// + [Input("tableFullName", required: true)] + public Input TableFullName { get; set; } = null!; + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInputArgs() + { + } + public static new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInputArgs Empty => new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpoint.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpoint.cs new file mode 100644 index 00000000..d311b4ef --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpoint.cs @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointArgs : global::Pulumi.InvokeArgs + { + [Input("aiGateways")] + private List? _aiGateways; + + /// + /// A block with AI Gateway configuration for the serving endpoint. + /// + public List AiGateways + { + get => _aiGateways ?? (_aiGateways = new List()); + set => _aiGateways = value; + } + + [Input("configs")] + private List? _configs; + + /// + /// The model serving endpoint configuration. + /// + public List Configs + { + get => _configs ?? (_configs = new List()); + set => _configs = value; + } + + [Input("creationTimestamp")] + public int? CreationTimestamp { get; set; } + + [Input("creator")] + public string? Creator { get; set; } + + [Input("id")] + public string? Id { get; set; } + + [Input("lastUpdatedTimestamp")] + public int? LastUpdatedTimestamp { get; set; } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public string? Name { get; set; } + + [Input("states")] + private List? _states; + public List States + { + get => _states ?? (_states = new List()); + set => _states = value; + } + + [Input("tags")] + private List? _tags; + + /// + /// Tags to be attached to the serving endpoint and automatically propagated to billing logs. + /// + public List Tags + { + get => _tags ?? (_tags = new List()); + set => _tags = value; + } + + [Input("task")] + public string? Task { get; set; } + + public GetServingEndpointsEndpointArgs() + { + } + public static new GetServingEndpointsEndpointArgs Empty => new GetServingEndpointsEndpointArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGateway.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGateway.cs new file mode 100644 index 00000000..c2ef270c --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGateway.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayArgs : global::Pulumi.InvokeArgs + { + [Input("guardrails")] + private List? _guardrails; + public List Guardrails + { + get => _guardrails ?? (_guardrails = new List()); + set => _guardrails = value; + } + + [Input("inferenceTableConfigs")] + private List? _inferenceTableConfigs; + public List InferenceTableConfigs + { + get => _inferenceTableConfigs ?? (_inferenceTableConfigs = new List()); + set => _inferenceTableConfigs = value; + } + + [Input("rateLimits")] + private List? _rateLimits; + + /// + /// A list of rate limit blocks to be applied to the serving endpoint. + /// + public List RateLimits + { + get => _rateLimits ?? (_rateLimits = new List()); + set => _rateLimits = value; + } + + [Input("usageTrackingConfigs")] + private List? _usageTrackingConfigs; + public List UsageTrackingConfigs + { + get => _usageTrackingConfigs ?? (_usageTrackingConfigs = new List()); + set => _usageTrackingConfigs = value; + } + + public GetServingEndpointsEndpointAiGatewayArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayArgs Empty => new GetServingEndpointsEndpointAiGatewayArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayArgs.cs new file mode 100644 index 00000000..73acba90 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayInputArgs : global::Pulumi.ResourceArgs + { + [Input("guardrails")] + private InputList? _guardrails; + public InputList Guardrails + { + get => _guardrails ?? (_guardrails = new InputList()); + set => _guardrails = value; + } + + [Input("inferenceTableConfigs")] + private InputList? _inferenceTableConfigs; + public InputList InferenceTableConfigs + { + get => _inferenceTableConfigs ?? (_inferenceTableConfigs = new InputList()); + set => _inferenceTableConfigs = value; + } + + [Input("rateLimits")] + private InputList? _rateLimits; + + /// + /// A list of rate limit blocks to be applied to the serving endpoint. + /// + public InputList RateLimits + { + get => _rateLimits ?? (_rateLimits = new InputList()); + set => _rateLimits = value; + } + + [Input("usageTrackingConfigs")] + private InputList? _usageTrackingConfigs; + public InputList UsageTrackingConfigs + { + get => _usageTrackingConfigs ?? (_usageTrackingConfigs = new InputList()); + set => _usageTrackingConfigs = value; + } + + public GetServingEndpointsEndpointAiGatewayInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayInputArgs Empty => new GetServingEndpointsEndpointAiGatewayInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrail.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrail.cs new file mode 100644 index 00000000..d7f00c65 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrail.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailArgs : global::Pulumi.InvokeArgs + { + [Input("inputProperties")] + private List? _inputProperties; + public List InputProperties + { + get => _inputProperties ?? (_inputProperties = new List()); + set => _inputProperties = value; + } + + [Input("outputs")] + private List? _outputs; + public List Outputs + { + get => _outputs ?? (_outputs = new List()); + set => _outputs = value; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailArgs.cs new file mode 100644 index 00000000..e398e8bc --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputArgs : global::Pulumi.ResourceArgs + { + [Input("inputProperties")] + private InputList? _inputProperties; + public InputList InputProperties + { + get => _inputProperties ?? (_inputProperties = new InputList()); + set => _inputProperties = value; + } + + [Input("outputs")] + private InputList? _outputs; + public InputList Outputs + { + get => _outputs ?? (_outputs = new InputList()); + set => _outputs = value; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailInputArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.cs new file mode 100644 index 00000000..dd5e2931 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs : global::Pulumi.InvokeArgs + { + [Input("invalidKeywords")] + private List? _invalidKeywords; + public List InvalidKeywords + { + get => _invalidKeywords ?? (_invalidKeywords = new List()); + set => _invalidKeywords = value; + } + + [Input("piis")] + private List? _piis; + public List Piis + { + get => _piis ?? (_piis = new List()); + set => _piis = value; + } + + [Input("safety")] + public bool? Safety { get; set; } + + [Input("validTopics")] + private List? _validTopics; + public List ValidTopics + { + get => _validTopics ?? (_validTopics = new List()); + set => _validTopics = value; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs.cs new file mode 100644 index 00000000..adf2cdde --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInputArgs : global::Pulumi.ResourceArgs + { + [Input("invalidKeywords")] + private InputList? _invalidKeywords; + public InputList InvalidKeywords + { + get => _invalidKeywords ?? (_invalidKeywords = new InputList()); + set => _invalidKeywords = value; + } + + [Input("piis")] + private InputList? _piis; + public InputList Piis + { + get => _piis ?? (_piis = new InputList()); + set => _piis = value; + } + + [Input("safety")] + public Input? Safety { get; set; } + + [Input("validTopics")] + private InputList? _validTopics; + public InputList ValidTopics + { + get => _validTopics ?? (_validTopics = new InputList()); + set => _validTopics = value; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInputArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.cs new file mode 100644 index 00000000..e0e9ad79 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs : global::Pulumi.InvokeArgs + { + [Input("behavior", required: true)] + public string Behavior { get; set; } = null!; + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs.cs new file mode 100644 index 00000000..3eb96a27 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInputArgs : global::Pulumi.ResourceArgs + { + [Input("behavior", required: true)] + public Input Behavior { get; set; } = null!; + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInputArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.cs new file mode 100644 index 00000000..734ca6ec --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs : global::Pulumi.InvokeArgs + { + [Input("invalidKeywords")] + private List? _invalidKeywords; + public List InvalidKeywords + { + get => _invalidKeywords ?? (_invalidKeywords = new List()); + set => _invalidKeywords = value; + } + + [Input("piis")] + private List? _piis; + public List Piis + { + get => _piis ?? (_piis = new List()); + set => _piis = value; + } + + [Input("safety")] + public bool? Safety { get; set; } + + [Input("validTopics")] + private List? _validTopics; + public List ValidTopics + { + get => _validTopics ?? (_validTopics = new List()); + set => _validTopics = value; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs.cs new file mode 100644 index 00000000..6e66d79c --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailOutputInputArgs : global::Pulumi.ResourceArgs + { + [Input("invalidKeywords")] + private InputList? _invalidKeywords; + public InputList InvalidKeywords + { + get => _invalidKeywords ?? (_invalidKeywords = new InputList()); + set => _invalidKeywords = value; + } + + [Input("piis")] + private InputList? _piis; + public InputList Piis + { + get => _piis ?? (_piis = new InputList()); + set => _piis = value; + } + + [Input("safety")] + public Input? Safety { get; set; } + + [Input("validTopics")] + private InputList? _validTopics; + public InputList ValidTopics + { + get => _validTopics ?? (_validTopics = new InputList()); + set => _validTopics = value; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailOutputInputArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailOutputInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.cs new file mode 100644 index 00000000..1c620461 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs : global::Pulumi.InvokeArgs + { + [Input("behavior", required: true)] + public string Behavior { get; set; } = null!; + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs.cs new file mode 100644 index 00000000..fe954af4 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInputArgs : global::Pulumi.ResourceArgs + { + [Input("behavior", required: true)] + public Input Behavior { get; set; } = null!; + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInputArgs Empty => new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.cs new file mode 100644 index 00000000..95134683 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs : global::Pulumi.InvokeArgs + { + [Input("catalogName")] + public string? CatalogName { get; set; } + + [Input("enabled")] + public bool? Enabled { get; set; } + + [Input("schemaName")] + public string? SchemaName { get; set; } + + [Input("tableNamePrefix")] + public string? TableNamePrefix { get; set; } + + public GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs Empty => new GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs.cs new file mode 100644 index 00000000..6f722977 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayInferenceTableConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("catalogName")] + public Input? CatalogName { get; set; } + + [Input("enabled")] + public Input? Enabled { get; set; } + + [Input("schemaName")] + public Input? SchemaName { get; set; } + + [Input("tableNamePrefix")] + public Input? TableNamePrefix { get; set; } + + public GetServingEndpointsEndpointAiGatewayInferenceTableConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayInferenceTableConfigInputArgs Empty => new GetServingEndpointsEndpointAiGatewayInferenceTableConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayRateLimit.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayRateLimit.cs new file mode 100644 index 00000000..4f8fa86b --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayRateLimit.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayRateLimitArgs : global::Pulumi.InvokeArgs + { + [Input("calls", required: true)] + public int Calls { get; set; } + + [Input("key")] + public string? Key { get; set; } + + [Input("renewalPeriod", required: true)] + public string RenewalPeriod { get; set; } = null!; + + public GetServingEndpointsEndpointAiGatewayRateLimitArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayRateLimitArgs Empty => new GetServingEndpointsEndpointAiGatewayRateLimitArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayRateLimitArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayRateLimitArgs.cs new file mode 100644 index 00000000..e7c91776 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayRateLimitArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayRateLimitInputArgs : global::Pulumi.ResourceArgs + { + [Input("calls", required: true)] + public Input Calls { get; set; } = null!; + + [Input("key")] + public Input? Key { get; set; } + + [Input("renewalPeriod", required: true)] + public Input RenewalPeriod { get; set; } = null!; + + public GetServingEndpointsEndpointAiGatewayRateLimitInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayRateLimitInputArgs Empty => new GetServingEndpointsEndpointAiGatewayRateLimitInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.cs new file mode 100644 index 00000000..89f72b0c --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs : global::Pulumi.InvokeArgs + { + [Input("enabled")] + public bool? Enabled { get; set; } + + public GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs Empty => new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs.cs new file mode 100644 index 00000000..b4954ad6 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInputArgs Empty => new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointArgs.cs new file mode 100644 index 00000000..29a49203 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointArgs.cs @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointInputArgs : global::Pulumi.ResourceArgs + { + [Input("aiGateways")] + private InputList? _aiGateways; + + /// + /// A block with AI Gateway configuration for the serving endpoint. + /// + public InputList AiGateways + { + get => _aiGateways ?? (_aiGateways = new InputList()); + set => _aiGateways = value; + } + + [Input("configs")] + private InputList? _configs; + + /// + /// The model serving endpoint configuration. + /// + public InputList Configs + { + get => _configs ?? (_configs = new InputList()); + set => _configs = value; + } + + [Input("creationTimestamp")] + public Input? CreationTimestamp { get; set; } + + [Input("creator")] + public Input? Creator { get; set; } + + [Input("id")] + public Input? Id { get; set; } + + [Input("lastUpdatedTimestamp")] + public Input? LastUpdatedTimestamp { get; set; } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("states")] + private InputList? _states; + public InputList States + { + get => _states ?? (_states = new InputList()); + set => _states = value; + } + + [Input("tags")] + private InputList? _tags; + + /// + /// Tags to be attached to the serving endpoint and automatically propagated to billing logs. + /// + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + [Input("task")] + public Input? Task { get; set; } + + public GetServingEndpointsEndpointInputArgs() + { + } + public static new GetServingEndpointsEndpointInputArgs Empty => new GetServingEndpointsEndpointInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfig.cs new file mode 100644 index 00000000..7aad99f0 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfig.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigArgs : global::Pulumi.InvokeArgs + { + [Input("servedEntities")] + private List? _servedEntities; + public List ServedEntities + { + get => _servedEntities ?? (_servedEntities = new List()); + set => _servedEntities = value; + } + + [Input("servedModels")] + private List? _servedModels; + public List ServedModels + { + get => _servedModels ?? (_servedModels = new List()); + set => _servedModels = value; + } + + public GetServingEndpointsEndpointConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigArgs Empty => new GetServingEndpointsEndpointConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigArgs.cs new file mode 100644 index 00000000..609a94ed --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigArgs.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("servedEntities")] + private InputList? _servedEntities; + public InputList ServedEntities + { + get => _servedEntities ?? (_servedEntities = new InputList()); + set => _servedEntities = value; + } + + [Input("servedModels")] + private InputList? _servedModels; + public InputList ServedModels + { + get => _servedModels ?? (_servedModels = new InputList()); + set => _servedModels = value; + } + + public GetServingEndpointsEndpointConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigInputArgs Empty => new GetServingEndpointsEndpointConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntity.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntity.cs new file mode 100644 index 00000000..b852908f --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntity.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityArgs : global::Pulumi.InvokeArgs + { + [Input("entityName")] + public string? EntityName { get; set; } + + [Input("entityVersion")] + public string? EntityVersion { get; set; } + + [Input("externalModels")] + private List? _externalModels; + public List ExternalModels + { + get => _externalModels ?? (_externalModels = new List()); + set => _externalModels = value; + } + + [Input("foundationModels")] + private List? _foundationModels; + public List FoundationModels + { + get => _foundationModels ?? (_foundationModels = new List()); + set => _foundationModels = value; + } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public string? Name { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityArgs Empty => new GetServingEndpointsEndpointConfigServedEntityArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityArgs.cs new file mode 100644 index 00000000..346568b0 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityArgs.cs @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityInputArgs : global::Pulumi.ResourceArgs + { + [Input("entityName")] + public Input? EntityName { get; set; } + + [Input("entityVersion")] + public Input? EntityVersion { get; set; } + + [Input("externalModels")] + private InputList? _externalModels; + public InputList ExternalModels + { + get => _externalModels ?? (_externalModels = new InputList()); + set => _externalModels = value; + } + + [Input("foundationModels")] + private InputList? _foundationModels; + public InputList FoundationModels + { + get => _foundationModels ?? (_foundationModels = new InputList()); + set => _foundationModels = value; + } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public Input? Name { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.cs new file mode 100644 index 00000000..7d8c2f13 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.cs @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelArgs : global::Pulumi.InvokeArgs + { + [Input("ai21labsConfigs")] + private List? _ai21labsConfigs; + public List Ai21labsConfigs + { + get => _ai21labsConfigs ?? (_ai21labsConfigs = new List()); + set => _ai21labsConfigs = value; + } + + [Input("amazonBedrockConfigs")] + private List? _amazonBedrockConfigs; + public List AmazonBedrockConfigs + { + get => _amazonBedrockConfigs ?? (_amazonBedrockConfigs = new List()); + set => _amazonBedrockConfigs = value; + } + + [Input("anthropicConfigs")] + private List? _anthropicConfigs; + public List AnthropicConfigs + { + get => _anthropicConfigs ?? (_anthropicConfigs = new List()); + set => _anthropicConfigs = value; + } + + [Input("cohereConfigs")] + private List? _cohereConfigs; + public List CohereConfigs + { + get => _cohereConfigs ?? (_cohereConfigs = new List()); + set => _cohereConfigs = value; + } + + [Input("databricksModelServingConfigs")] + private List? _databricksModelServingConfigs; + public List DatabricksModelServingConfigs + { + get => _databricksModelServingConfigs ?? (_databricksModelServingConfigs = new List()); + set => _databricksModelServingConfigs = value; + } + + [Input("googleCloudVertexAiConfigs")] + private List? _googleCloudVertexAiConfigs; + public List GoogleCloudVertexAiConfigs + { + get => _googleCloudVertexAiConfigs ?? (_googleCloudVertexAiConfigs = new List()); + set => _googleCloudVertexAiConfigs = value; + } + + /// + /// The name of the model serving endpoint. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("openaiConfigs")] + private List? _openaiConfigs; + public List OpenaiConfigs + { + get => _openaiConfigs ?? (_openaiConfigs = new List()); + set => _openaiConfigs = value; + } + + [Input("palmConfigs")] + private List? _palmConfigs; + public List PalmConfigs + { + get => _palmConfigs ?? (_palmConfigs = new List()); + set => _palmConfigs = value; + } + + [Input("provider", required: true)] + public string Provider { get; set; } = null!; + + [Input("task", required: true)] + public string Task { get; set; } = null!; + + public GetServingEndpointsEndpointConfigServedEntityExternalModelArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.cs new file mode 100644 index 00000000..cefcce9a --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs : global::Pulumi.InvokeArgs + { + [Input("ai21labsApiKey")] + public string? Ai21labsApiKey { get; set; } + + [Input("ai21labsApiKeyPlaintext")] + public string? Ai21labsApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs.cs new file mode 100644 index 00000000..a183d4c1 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("ai21labsApiKey")] + public Input? Ai21labsApiKey { get; set; } + + [Input("ai21labsApiKeyPlaintext")] + public Input? Ai21labsApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.cs new file mode 100644 index 00000000..b0bc01cb --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs : global::Pulumi.InvokeArgs + { + [Input("awsAccessKeyId")] + public string? AwsAccessKeyId { get; set; } + + [Input("awsAccessKeyIdPlaintext")] + public string? AwsAccessKeyIdPlaintext { get; set; } + + [Input("awsRegion", required: true)] + public string AwsRegion { get; set; } = null!; + + [Input("awsSecretAccessKey")] + public string? AwsSecretAccessKey { get; set; } + + [Input("awsSecretAccessKeyPlaintext")] + public string? AwsSecretAccessKeyPlaintext { get; set; } + + [Input("bedrockProvider", required: true)] + public string BedrockProvider { get; set; } = null!; + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs.cs new file mode 100644 index 00000000..a1612745 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("awsAccessKeyId")] + public Input? AwsAccessKeyId { get; set; } + + [Input("awsAccessKeyIdPlaintext")] + public Input? AwsAccessKeyIdPlaintext { get; set; } + + [Input("awsRegion", required: true)] + public Input AwsRegion { get; set; } = null!; + + [Input("awsSecretAccessKey")] + public Input? AwsSecretAccessKey { get; set; } + + [Input("awsSecretAccessKeyPlaintext")] + public Input? AwsSecretAccessKeyPlaintext { get; set; } + + [Input("bedrockProvider", required: true)] + public Input BedrockProvider { get; set; } = null!; + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.cs new file mode 100644 index 00000000..819c3d3b --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs : global::Pulumi.InvokeArgs + { + [Input("anthropicApiKey")] + public string? AnthropicApiKey { get; set; } + + [Input("anthropicApiKeyPlaintext")] + public string? AnthropicApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs.cs new file mode 100644 index 00000000..3abe28b4 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("anthropicApiKey")] + public Input? AnthropicApiKey { get; set; } + + [Input("anthropicApiKeyPlaintext")] + public Input? AnthropicApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelArgs.cs new file mode 100644 index 00000000..5862e0d8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelArgs.cs @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelInputArgs : global::Pulumi.ResourceArgs + { + [Input("ai21labsConfigs")] + private InputList? _ai21labsConfigs; + public InputList Ai21labsConfigs + { + get => _ai21labsConfigs ?? (_ai21labsConfigs = new InputList()); + set => _ai21labsConfigs = value; + } + + [Input("amazonBedrockConfigs")] + private InputList? _amazonBedrockConfigs; + public InputList AmazonBedrockConfigs + { + get => _amazonBedrockConfigs ?? (_amazonBedrockConfigs = new InputList()); + set => _amazonBedrockConfigs = value; + } + + [Input("anthropicConfigs")] + private InputList? _anthropicConfigs; + public InputList AnthropicConfigs + { + get => _anthropicConfigs ?? (_anthropicConfigs = new InputList()); + set => _anthropicConfigs = value; + } + + [Input("cohereConfigs")] + private InputList? _cohereConfigs; + public InputList CohereConfigs + { + get => _cohereConfigs ?? (_cohereConfigs = new InputList()); + set => _cohereConfigs = value; + } + + [Input("databricksModelServingConfigs")] + private InputList? _databricksModelServingConfigs; + public InputList DatabricksModelServingConfigs + { + get => _databricksModelServingConfigs ?? (_databricksModelServingConfigs = new InputList()); + set => _databricksModelServingConfigs = value; + } + + [Input("googleCloudVertexAiConfigs")] + private InputList? _googleCloudVertexAiConfigs; + public InputList GoogleCloudVertexAiConfigs + { + get => _googleCloudVertexAiConfigs ?? (_googleCloudVertexAiConfigs = new InputList()); + set => _googleCloudVertexAiConfigs = value; + } + + /// + /// The name of the model serving endpoint. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("openaiConfigs")] + private InputList? _openaiConfigs; + public InputList OpenaiConfigs + { + get => _openaiConfigs ?? (_openaiConfigs = new InputList()); + set => _openaiConfigs = value; + } + + [Input("palmConfigs")] + private InputList? _palmConfigs; + public InputList PalmConfigs + { + get => _palmConfigs ?? (_palmConfigs = new InputList()); + set => _palmConfigs = value; + } + + [Input("provider", required: true)] + public Input Provider { get; set; } = null!; + + [Input("task", required: true)] + public Input Task { get; set; } = null!; + + public GetServingEndpointsEndpointConfigServedEntityExternalModelInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.cs new file mode 100644 index 00000000..ae60a9bb --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs : global::Pulumi.InvokeArgs + { + [Input("cohereApiBase")] + public string? CohereApiBase { get; set; } + + [Input("cohereApiKey")] + public string? CohereApiKey { get; set; } + + [Input("cohereApiKeyPlaintext")] + public string? CohereApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs.cs new file mode 100644 index 00000000..8bb237ee --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("cohereApiBase")] + public Input? CohereApiBase { get; set; } + + [Input("cohereApiKey")] + public Input? CohereApiKey { get; set; } + + [Input("cohereApiKeyPlaintext")] + public Input? CohereApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.cs new file mode 100644 index 00000000..7df94ed7 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs : global::Pulumi.InvokeArgs + { + [Input("databricksApiToken")] + public string? DatabricksApiToken { get; set; } + + [Input("databricksApiTokenPlaintext")] + public string? DatabricksApiTokenPlaintext { get; set; } + + [Input("databricksWorkspaceUrl", required: true)] + public string DatabricksWorkspaceUrl { get; set; } = null!; + + public GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs.cs new file mode 100644 index 00000000..5f61f472 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("databricksApiToken")] + public Input? DatabricksApiToken { get; set; } + + [Input("databricksApiTokenPlaintext")] + public Input? DatabricksApiTokenPlaintext { get; set; } + + [Input("databricksWorkspaceUrl", required: true)] + public Input DatabricksWorkspaceUrl { get; set; } = null!; + + public GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.cs new file mode 100644 index 00000000..92fbb146 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs : global::Pulumi.InvokeArgs + { + [Input("privateKey")] + public string? PrivateKey { get; set; } + + [Input("privateKeyPlaintext")] + public string? PrivateKeyPlaintext { get; set; } + + [Input("projectId")] + public string? ProjectId { get; set; } + + [Input("region")] + public string? Region { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs.cs new file mode 100644 index 00000000..3b0e2372 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("privateKey")] + public Input? PrivateKey { get; set; } + + [Input("privateKeyPlaintext")] + public Input? PrivateKeyPlaintext { get; set; } + + [Input("projectId")] + public Input? ProjectId { get; set; } + + [Input("region")] + public Input? Region { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.cs new file mode 100644 index 00000000..4606da63 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs : global::Pulumi.InvokeArgs + { + [Input("microsoftEntraClientId")] + public string? MicrosoftEntraClientId { get; set; } + + [Input("microsoftEntraClientSecret")] + public string? MicrosoftEntraClientSecret { get; set; } + + [Input("microsoftEntraClientSecretPlaintext")] + public string? MicrosoftEntraClientSecretPlaintext { get; set; } + + [Input("microsoftEntraTenantId")] + public string? MicrosoftEntraTenantId { get; set; } + + [Input("openaiApiBase")] + public string? OpenaiApiBase { get; set; } + + [Input("openaiApiKey")] + public string? OpenaiApiKey { get; set; } + + [Input("openaiApiKeyPlaintext")] + public string? OpenaiApiKeyPlaintext { get; set; } + + [Input("openaiApiType")] + public string? OpenaiApiType { get; set; } + + [Input("openaiApiVersion")] + public string? OpenaiApiVersion { get; set; } + + [Input("openaiDeploymentName")] + public string? OpenaiDeploymentName { get; set; } + + [Input("openaiOrganization")] + public string? OpenaiOrganization { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs.cs new file mode 100644 index 00000000..78155818 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("microsoftEntraClientId")] + public Input? MicrosoftEntraClientId { get; set; } + + [Input("microsoftEntraClientSecret")] + public Input? MicrosoftEntraClientSecret { get; set; } + + [Input("microsoftEntraClientSecretPlaintext")] + public Input? MicrosoftEntraClientSecretPlaintext { get; set; } + + [Input("microsoftEntraTenantId")] + public Input? MicrosoftEntraTenantId { get; set; } + + [Input("openaiApiBase")] + public Input? OpenaiApiBase { get; set; } + + [Input("openaiApiKey")] + public Input? OpenaiApiKey { get; set; } + + [Input("openaiApiKeyPlaintext")] + public Input? OpenaiApiKeyPlaintext { get; set; } + + [Input("openaiApiType")] + public Input? OpenaiApiType { get; set; } + + [Input("openaiApiVersion")] + public Input? OpenaiApiVersion { get; set; } + + [Input("openaiDeploymentName")] + public Input? OpenaiDeploymentName { get; set; } + + [Input("openaiOrganization")] + public Input? OpenaiOrganization { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.cs new file mode 100644 index 00000000..8bc903d1 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs : global::Pulumi.InvokeArgs + { + [Input("palmApiKey")] + public string? PalmApiKey { get; set; } + + [Input("palmApiKeyPlaintext")] + public string? PalmApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs.cs new file mode 100644 index 00000000..e971d4de --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInputArgs : global::Pulumi.ResourceArgs + { + [Input("palmApiKey")] + public Input? PalmApiKey { get; set; } + + [Input("palmApiKeyPlaintext")] + public Input? PalmApiKeyPlaintext { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.cs new file mode 100644 index 00000000..b08fed76 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs : global::Pulumi.InvokeArgs + { + [Input("description")] + public string? Description { get; set; } + + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("docs")] + public string? Docs { get; set; } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public string? Name { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs Empty => new GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs.cs new file mode 100644 index 00000000..1305c9e6 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedEntityFoundationModelInputArgs : global::Pulumi.ResourceArgs + { + [Input("description")] + public Input? Description { get; set; } + + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("docs")] + public Input? Docs { get; set; } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public Input? Name { get; set; } + + public GetServingEndpointsEndpointConfigServedEntityFoundationModelInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedEntityFoundationModelInputArgs Empty => new GetServingEndpointsEndpointConfigServedEntityFoundationModelInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedModel.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedModel.cs new file mode 100644 index 00000000..f202df38 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedModel.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedModelArgs : global::Pulumi.InvokeArgs + { + [Input("modelName")] + public string? ModelName { get; set; } + + [Input("modelVersion")] + public string? ModelVersion { get; set; } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public string? Name { get; set; } + + public GetServingEndpointsEndpointConfigServedModelArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedModelArgs Empty => new GetServingEndpointsEndpointConfigServedModelArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedModelArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedModelArgs.cs new file mode 100644 index 00000000..4783889a --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointConfigServedModelArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointConfigServedModelInputArgs : global::Pulumi.ResourceArgs + { + [Input("modelName")] + public Input? ModelName { get; set; } + + [Input("modelVersion")] + public Input? ModelVersion { get; set; } + + /// + /// The name of the model serving endpoint. + /// + [Input("name")] + public Input? Name { get; set; } + + public GetServingEndpointsEndpointConfigServedModelInputArgs() + { + } + public static new GetServingEndpointsEndpointConfigServedModelInputArgs Empty => new GetServingEndpointsEndpointConfigServedModelInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointState.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointState.cs new file mode 100644 index 00000000..9b749364 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointState.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointStateArgs : global::Pulumi.InvokeArgs + { + [Input("configUpdate")] + public string? ConfigUpdate { get; set; } + + [Input("ready")] + public string? Ready { get; set; } + + public GetServingEndpointsEndpointStateArgs() + { + } + public static new GetServingEndpointsEndpointStateArgs Empty => new GetServingEndpointsEndpointStateArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointStateArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointStateArgs.cs new file mode 100644 index 00000000..99ea4bb5 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointStateArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointStateInputArgs : global::Pulumi.ResourceArgs + { + [Input("configUpdate")] + public Input? ConfigUpdate { get; set; } + + [Input("ready")] + public Input? Ready { get; set; } + + public GetServingEndpointsEndpointStateInputArgs() + { + } + public static new GetServingEndpointsEndpointStateInputArgs Empty => new GetServingEndpointsEndpointStateInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointTag.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointTag.cs new file mode 100644 index 00000000..04a32ccf --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointTag.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointTagArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + public string Key { get; set; } = null!; + + [Input("value")] + public string? Value { get; set; } + + public GetServingEndpointsEndpointTagArgs() + { + } + public static new GetServingEndpointsEndpointTagArgs Empty => new GetServingEndpointsEndpointTagArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetServingEndpointsEndpointTagArgs.cs b/sdk/dotnet/Inputs/GetServingEndpointsEndpointTagArgs.cs new file mode 100644 index 00000000..a8c2b365 --- /dev/null +++ b/sdk/dotnet/Inputs/GetServingEndpointsEndpointTagArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class GetServingEndpointsEndpointTagInputArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("value")] + public Input? Value { get; set; } + + public GetServingEndpointsEndpointTagInputArgs() + { + } + public static new GetServingEndpointsEndpointTagInputArgs Empty => new GetServingEndpointsEndpointTagInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs index 62275e11..34386959 100644 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobJobClusterNewClusterArgs.cs @@ -84,6 +84,12 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs index cd881513..633c9a7e 100644 --- a/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobJobClusterNewClusterGetArgs.cs @@ -84,6 +84,12 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobNewClusterArgs.cs b/sdk/dotnet/Inputs/JobNewClusterArgs.cs index a1d2bb9a..133b98b7 100644 --- a/sdk/dotnet/Inputs/JobNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobNewClusterArgs.cs @@ -84,6 +84,12 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs index 2c8aff62..63f02374 100644 --- a/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobNewClusterGetArgs.cs @@ -84,6 +84,12 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskArgs.cs index 9442cc7a..8d090226 100644 --- a/sdk/dotnet/Inputs/JobTaskArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskArgs : global::Pulumi.ResourceArgs { + [Input("cleanRoomsNotebookTask")] + public Input? CleanRoomsNotebookTask { get; set; } + [Input("conditionTask")] public Input? ConditionTask { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskCleanRoomsNotebookTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskCleanRoomsNotebookTaskArgs.cs new file mode 100644 index 00000000..fb44e2a6 --- /dev/null +++ b/sdk/dotnet/Inputs/JobTaskCleanRoomsNotebookTaskArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class JobTaskCleanRoomsNotebookTaskArgs : global::Pulumi.ResourceArgs + { + [Input("cleanRoomName", required: true)] + public Input CleanRoomName { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("notebookBaseParameters")] + private InputMap? _notebookBaseParameters; + public InputMap NotebookBaseParameters + { + get => _notebookBaseParameters ?? (_notebookBaseParameters = new InputMap()); + set => _notebookBaseParameters = value; + } + + [Input("notebookName", required: true)] + public Input NotebookName { get; set; } = null!; + + public JobTaskCleanRoomsNotebookTaskArgs() + { + } + public static new JobTaskCleanRoomsNotebookTaskArgs Empty => new JobTaskCleanRoomsNotebookTaskArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobTaskCleanRoomsNotebookTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskCleanRoomsNotebookTaskGetArgs.cs new file mode 100644 index 00000000..70382178 --- /dev/null +++ b/sdk/dotnet/Inputs/JobTaskCleanRoomsNotebookTaskGetArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class JobTaskCleanRoomsNotebookTaskGetArgs : global::Pulumi.ResourceArgs + { + [Input("cleanRoomName", required: true)] + public Input CleanRoomName { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("notebookBaseParameters")] + private InputMap? _notebookBaseParameters; + public InputMap NotebookBaseParameters + { + get => _notebookBaseParameters ?? (_notebookBaseParameters = new InputMap()); + set => _notebookBaseParameters = value; + } + + [Input("notebookName", required: true)] + public Input NotebookName { get; set; } = null!; + + public JobTaskCleanRoomsNotebookTaskGetArgs() + { + } + public static new JobTaskCleanRoomsNotebookTaskGetArgs Empty => new JobTaskCleanRoomsNotebookTaskGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs index 9c5e20f4..14cbbede 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskForEachTaskTaskArgs : global::Pulumi.ResourceArgs { + [Input("cleanRoomsNotebookTask")] + public Input? CleanRoomsNotebookTask { get; set; } + [Input("conditionTask")] public Input? ConditionTask { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs.cs new file mode 100644 index 00000000..a547a593 --- /dev/null +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs : global::Pulumi.ResourceArgs + { + [Input("cleanRoomName", required: true)] + public Input CleanRoomName { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("notebookBaseParameters")] + private InputMap? _notebookBaseParameters; + public InputMap NotebookBaseParameters + { + get => _notebookBaseParameters ?? (_notebookBaseParameters = new InputMap()); + set => _notebookBaseParameters = value; + } + + [Input("notebookName", required: true)] + public Input NotebookName { get; set; } = null!; + + public JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs() + { + } + public static new JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs Empty => new JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs.cs new file mode 100644 index 00000000..59b8a67c --- /dev/null +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Inputs +{ + + public sealed class JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs : global::Pulumi.ResourceArgs + { + [Input("cleanRoomName", required: true)] + public Input CleanRoomName { get; set; } = null!; + + [Input("etag")] + public Input? Etag { get; set; } + + [Input("notebookBaseParameters")] + private InputMap? _notebookBaseParameters; + public InputMap NotebookBaseParameters + { + get => _notebookBaseParameters ?? (_notebookBaseParameters = new InputMap()); + set => _notebookBaseParameters = value; + } + + [Input("notebookName", required: true)] + public Input NotebookName { get; set; } = null!; + + public JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs() + { + } + public static new JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs Empty => new JobTaskForEachTaskTaskCleanRoomsNotebookTaskGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs index 254141e8..e3ce9c76 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskForEachTaskTaskGetArgs : global::Pulumi.ResourceArgs { + [Input("cleanRoomsNotebookTask")] + public Input? CleanRoomsNotebookTask { get; set; } + [Input("conditionTask")] public Input? ConditionTask { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs index 87ae5500..08f01957 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterArgs.cs @@ -84,6 +84,12 @@ public InputList InitScri [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs index 7b5074af..81693cbb 100644 --- a/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskForEachTaskTaskNewClusterGetArgs.cs @@ -84,6 +84,12 @@ public InputList InitS [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobTaskGetArgs.cs b/sdk/dotnet/Inputs/JobTaskGetArgs.cs index c5858951..e1b3c0f8 100644 --- a/sdk/dotnet/Inputs/JobTaskGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class JobTaskGetArgs : global::Pulumi.ResourceArgs { + [Input("cleanRoomsNotebookTask")] + public Input? CleanRoomsNotebookTask { get; set; } + [Input("conditionTask")] public Input? ConditionTask { get; set; } diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs index f93b51af..0753f1ad 100644 --- a/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskNewClusterArgs.cs @@ -84,6 +84,12 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs b/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs index 562deb01..fdbba5d1 100644 --- a/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs +++ b/sdk/dotnet/Inputs/JobTaskNewClusterGetArgs.cs @@ -84,6 +84,12 @@ public InputList InitScripts [Input("instancePoolId")] public Input? InstancePoolId { get; set; } + [Input("isSingleNode")] + public Input? IsSingleNode { get; set; } + + [Input("kind")] + public Input? Kind { get; set; } + [Input("libraries")] private InputList? _libraries; @@ -138,6 +144,9 @@ public InputList SshPublicKeys set => _sshPublicKeys = value; } + [Input("useMlRuntime")] + public Input? UseMlRuntime { get; set; } + /// /// isn't supported /// diff --git a/sdk/dotnet/Inputs/PipelineRestartWindowArgs.cs b/sdk/dotnet/Inputs/PipelineRestartWindowArgs.cs index e1da49d4..96164037 100644 --- a/sdk/dotnet/Inputs/PipelineRestartWindowArgs.cs +++ b/sdk/dotnet/Inputs/PipelineRestartWindowArgs.cs @@ -12,8 +12,13 @@ namespace Pulumi.Databricks.Inputs public sealed class PipelineRestartWindowArgs : global::Pulumi.ResourceArgs { - [Input("daysOfWeek")] - public Input? DaysOfWeek { get; set; } + [Input("daysOfWeeks")] + private InputList? _daysOfWeeks; + public InputList DaysOfWeeks + { + get => _daysOfWeeks ?? (_daysOfWeeks = new InputList()); + set => _daysOfWeeks = value; + } [Input("startHour", required: true)] public Input StartHour { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/PipelineRestartWindowGetArgs.cs b/sdk/dotnet/Inputs/PipelineRestartWindowGetArgs.cs index a4383231..dad603a3 100644 --- a/sdk/dotnet/Inputs/PipelineRestartWindowGetArgs.cs +++ b/sdk/dotnet/Inputs/PipelineRestartWindowGetArgs.cs @@ -12,8 +12,13 @@ namespace Pulumi.Databricks.Inputs public sealed class PipelineRestartWindowGetArgs : global::Pulumi.ResourceArgs { - [Input("daysOfWeek")] - public Input? DaysOfWeek { get; set; } + [Input("daysOfWeeks")] + private InputList? _daysOfWeeks; + public InputList DaysOfWeeks + { + get => _daysOfWeeks ?? (_daysOfWeeks = new InputList()); + set => _daysOfWeeks = value; + } [Input("startHour", required: true)] public Input StartHour { get; set; } = null!; diff --git a/sdk/dotnet/MwsCustomerManagedKeys.cs b/sdk/dotnet/MwsCustomerManagedKeys.cs index 80e41107..e6fb0e8e 100644 --- a/sdk/dotnet/MwsCustomerManagedKeys.cs +++ b/sdk/dotnet/MwsCustomerManagedKeys.cs @@ -379,7 +379,17 @@ namespace Pulumi.Databricks /// /// ## Import /// - /// !> Importing this resource is not currently supported. + /// This resource can be imported by Databricks account ID and customer managed key ID. + /// + /// ```sh + /// $ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '<account_id>/<customer_managed_key_id>' + /// ``` + /// + /// ~> This resource does not support updates. If your configuration does not match the existing resource, + /// + /// the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + /// + /// verify that the configuration matches the existing resource by running `pulumi preview`. /// [DatabricksResourceType("databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys")] public partial class MwsCustomerManagedKeys : global::Pulumi.CustomResource diff --git a/sdk/dotnet/MwsNccPrivateEndpointRule.cs b/sdk/dotnet/MwsNccPrivateEndpointRule.cs index f0a069dd..efd47e68 100644 --- a/sdk/dotnet/MwsNccPrivateEndpointRule.cs +++ b/sdk/dotnet/MwsNccPrivateEndpointRule.cs @@ -99,7 +99,7 @@ public partial class MwsNccPrivateEndpointRule : global::Pulumi.CustomResource public Output EndpointName { get; private set; } = null!; /// - /// The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + /// The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. /// [Output("groupId")] public Output GroupId { get; private set; } = null!; @@ -210,7 +210,7 @@ public sealed class MwsNccPrivateEndpointRuleArgs : global::Pulumi.ResourceArgs public Input? EndpointName { get; set; } /// - /// The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + /// The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. /// [Input("groupId", required: true)] public Input GroupId { get; set; } = null!; @@ -283,7 +283,7 @@ public sealed class MwsNccPrivateEndpointRuleState : global::Pulumi.ResourceArgs public Input? EndpointName { get; set; } /// - /// The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + /// The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. /// [Input("groupId")] public Input? GroupId { get; set; } diff --git a/sdk/dotnet/MwsNetworks.cs b/sdk/dotnet/MwsNetworks.cs index 21f76e33..1f032519 100644 --- a/sdk/dotnet/MwsNetworks.cs +++ b/sdk/dotnet/MwsNetworks.cs @@ -151,7 +151,17 @@ namespace Pulumi.Databricks /// /// ## Import /// - /// !> Importing this resource is not currently supported. + /// This resource can be imported by Databricks account ID and network ID. + /// + /// ```sh + /// $ pulumi import databricks:index/mwsNetworks:MwsNetworks this '<account_id>/<network_id>' + /// ``` + /// + /// ~> This resource does not support updates. If your configuration does not match the existing resource, + /// + /// the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + /// + /// verify that the configuration matches the existing resource by running `pulumi preview`. /// [DatabricksResourceType("databricks:index/mwsNetworks:MwsNetworks")] public partial class MwsNetworks : global::Pulumi.CustomResource diff --git a/sdk/dotnet/MwsPrivateAccessSettings.cs b/sdk/dotnet/MwsPrivateAccessSettings.cs index 458dd1d0..1b598d23 100644 --- a/sdk/dotnet/MwsPrivateAccessSettings.cs +++ b/sdk/dotnet/MwsPrivateAccessSettings.cs @@ -123,7 +123,11 @@ namespace Pulumi.Databricks /// /// ## Import /// - /// !> Importing this resource is not currently supported. + /// This resource can be imported by Databricks account ID and private access settings ID. + /// + /// ```sh + /// $ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '<account_id>/<private_access_settings_id>' + /// ``` /// [DatabricksResourceType("databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings")] public partial class MwsPrivateAccessSettings : global::Pulumi.CustomResource diff --git a/sdk/dotnet/MwsStorageConfigurations.cs b/sdk/dotnet/MwsStorageConfigurations.cs index b11c508a..9aa41714 100644 --- a/sdk/dotnet/MwsStorageConfigurations.cs +++ b/sdk/dotnet/MwsStorageConfigurations.cs @@ -63,7 +63,17 @@ namespace Pulumi.Databricks /// /// ## Import /// - /// !> Importing this resource is not currently supported. + /// This resource can be imported by Databricks account ID and storage configuration ID. + /// + /// ```sh + /// $ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '<account_id>/<storage_configuration_id>' + /// ``` + /// + /// ~> This resource does not support updates. If your configuration does not match the existing resource, + /// + /// the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + /// + /// verify that the configuration matches the existing resource by running `pulumi preview`. /// [DatabricksResourceType("databricks:index/mwsStorageConfigurations:MwsStorageConfigurations")] public partial class MwsStorageConfigurations : global::Pulumi.CustomResource diff --git a/sdk/dotnet/MwsWorkspaces.cs b/sdk/dotnet/MwsWorkspaces.cs index 99893371..41666b9c 100644 --- a/sdk/dotnet/MwsWorkspaces.cs +++ b/sdk/dotnet/MwsWorkspaces.cs @@ -20,7 +20,7 @@ namespace Pulumi.Databricks /// /// * databricks.MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace. /// * databricks.MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace. - /// * databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces. + /// * databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces. /// * databricks.MwsCustomerManagedKeys - You can share a customer-managed key across workspaces. /// /// ```csharp @@ -297,6 +297,26 @@ namespace Pulumi.Databricks /// ``` /// /// In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks. + /// + /// ## Import + /// + /// This resource can be imported by Databricks account ID and workspace ID. + /// + /// ```sh + /// $ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '<account_id>/<workspace_id>' + /// ``` + /// + /// ~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. + /// + /// If the configuration for these immutable fields does not match the existing workspace, the workspace will + /// + /// be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration + /// + /// matches the existing resource by running `pulumi preview`. The only fields that can be updated are + /// + /// `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, + /// + /// `managed_services_customer_managed_key_id`, and `custom_tags`. /// [DatabricksResourceType("databricks:index/mwsWorkspaces:MwsWorkspaces")] public partial class MwsWorkspaces : global::Pulumi.CustomResource diff --git a/sdk/dotnet/NotificationDestination.cs b/sdk/dotnet/NotificationDestination.cs index adbc21a9..c4d1e2a8 100644 --- a/sdk/dotnet/NotificationDestination.cs +++ b/sdk/dotnet/NotificationDestination.cs @@ -139,6 +139,16 @@ namespace Pulumi.Databricks /// /// }); /// ``` + /// + /// ## Import + /// + /// This resource can be imported by notification ID: + /// + /// bash + /// + /// ```sh + /// $ pulumi import databricks:index/notificationDestination:NotificationDestination this <notification-id> + /// ``` /// [DatabricksResourceType("databricks:index/notificationDestination:NotificationDestination")] public partial class NotificationDestination : global::Pulumi.CustomResource diff --git a/sdk/dotnet/Outputs/AppActiveDeployment.cs b/sdk/dotnet/Outputs/AppActiveDeployment.cs new file mode 100644 index 00000000..10998fe6 --- /dev/null +++ b/sdk/dotnet/Outputs/AppActiveDeployment.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppActiveDeployment + { + /// + /// The creation time of the app. + /// + public readonly string? CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string? Creator; + public readonly Outputs.AppActiveDeploymentDeploymentArtifacts? DeploymentArtifacts; + public readonly string? DeploymentId; + public readonly string? Mode; + public readonly string? SourceCodePath; + public readonly Outputs.AppActiveDeploymentStatus? Status; + /// + /// The update time of the app. + /// + public readonly string? UpdateTime; + + [OutputConstructor] + private AppActiveDeployment( + string? createTime, + + string? creator, + + Outputs.AppActiveDeploymentDeploymentArtifacts? deploymentArtifacts, + + string? deploymentId, + + string? mode, + + string? sourceCodePath, + + Outputs.AppActiveDeploymentStatus? status, + + string? updateTime) + { + CreateTime = createTime; + Creator = creator; + DeploymentArtifacts = deploymentArtifacts; + DeploymentId = deploymentId; + Mode = mode; + SourceCodePath = sourceCodePath; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Outputs/AppActiveDeploymentDeploymentArtifacts.cs b/sdk/dotnet/Outputs/AppActiveDeploymentDeploymentArtifacts.cs new file mode 100644 index 00000000..0660cafc --- /dev/null +++ b/sdk/dotnet/Outputs/AppActiveDeploymentDeploymentArtifacts.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppActiveDeploymentDeploymentArtifacts + { + public readonly string? SourceCodePath; + + [OutputConstructor] + private AppActiveDeploymentDeploymentArtifacts(string? sourceCodePath) + { + SourceCodePath = sourceCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/AppActiveDeploymentStatus.cs b/sdk/dotnet/Outputs/AppActiveDeploymentStatus.cs new file mode 100644 index 00000000..9d30da08 --- /dev/null +++ b/sdk/dotnet/Outputs/AppActiveDeploymentStatus.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppActiveDeploymentStatus + { + /// + /// Application status message + /// + public readonly string? Message; + /// + /// State of the application. + /// + public readonly string? State; + + [OutputConstructor] + private AppActiveDeploymentStatus( + string? message, + + string? state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/AppAppStatus.cs b/sdk/dotnet/Outputs/AppAppStatus.cs new file mode 100644 index 00000000..00195ab0 --- /dev/null +++ b/sdk/dotnet/Outputs/AppAppStatus.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppAppStatus + { + /// + /// Application status message + /// + public readonly string? Message; + /// + /// State of the application. + /// + public readonly string? State; + + [OutputConstructor] + private AppAppStatus( + string? message, + + string? state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/AppComputeStatus.cs b/sdk/dotnet/Outputs/AppComputeStatus.cs new file mode 100644 index 00000000..08b75366 --- /dev/null +++ b/sdk/dotnet/Outputs/AppComputeStatus.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppComputeStatus + { + /// + /// Application status message + /// + public readonly string? Message; + /// + /// State of the application. + /// + public readonly string? State; + + [OutputConstructor] + private AppComputeStatus( + string? message, + + string? state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/AppPendingDeployment.cs b/sdk/dotnet/Outputs/AppPendingDeployment.cs new file mode 100644 index 00000000..ee6410dc --- /dev/null +++ b/sdk/dotnet/Outputs/AppPendingDeployment.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppPendingDeployment + { + /// + /// The creation time of the app. + /// + public readonly string? CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string? Creator; + public readonly Outputs.AppPendingDeploymentDeploymentArtifacts? DeploymentArtifacts; + public readonly string? DeploymentId; + public readonly string? Mode; + public readonly string? SourceCodePath; + public readonly Outputs.AppPendingDeploymentStatus? Status; + /// + /// The update time of the app. + /// + public readonly string? UpdateTime; + + [OutputConstructor] + private AppPendingDeployment( + string? createTime, + + string? creator, + + Outputs.AppPendingDeploymentDeploymentArtifacts? deploymentArtifacts, + + string? deploymentId, + + string? mode, + + string? sourceCodePath, + + Outputs.AppPendingDeploymentStatus? status, + + string? updateTime) + { + CreateTime = createTime; + Creator = creator; + DeploymentArtifacts = deploymentArtifacts; + DeploymentId = deploymentId; + Mode = mode; + SourceCodePath = sourceCodePath; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Outputs/AppPendingDeploymentDeploymentArtifacts.cs b/sdk/dotnet/Outputs/AppPendingDeploymentDeploymentArtifacts.cs new file mode 100644 index 00000000..6ff0acd4 --- /dev/null +++ b/sdk/dotnet/Outputs/AppPendingDeploymentDeploymentArtifacts.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppPendingDeploymentDeploymentArtifacts + { + public readonly string? SourceCodePath; + + [OutputConstructor] + private AppPendingDeploymentDeploymentArtifacts(string? sourceCodePath) + { + SourceCodePath = sourceCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/AppPendingDeploymentStatus.cs b/sdk/dotnet/Outputs/AppPendingDeploymentStatus.cs new file mode 100644 index 00000000..e7a42a65 --- /dev/null +++ b/sdk/dotnet/Outputs/AppPendingDeploymentStatus.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppPendingDeploymentStatus + { + /// + /// Application status message + /// + public readonly string? Message; + /// + /// State of the application. + /// + public readonly string? State; + + [OutputConstructor] + private AppPendingDeploymentStatus( + string? message, + + string? state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/AppResource.cs b/sdk/dotnet/Outputs/AppResource.cs new file mode 100644 index 00000000..17367ea4 --- /dev/null +++ b/sdk/dotnet/Outputs/AppResource.cs @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppResource + { + /// + /// The description of the resource. + /// + /// Exactly one of the following attributes must be provided: + /// + public readonly string? Description; + /// + /// attribute + /// + public readonly Outputs.AppResourceJob? Job; + /// + /// The name of the resource. + /// + public readonly string Name; + /// + /// attribute + /// + public readonly Outputs.AppResourceSecret? Secret; + /// + /// attribute + /// + public readonly Outputs.AppResourceServingEndpoint? ServingEndpoint; + /// + /// attribute + /// + public readonly Outputs.AppResourceSqlWarehouse? SqlWarehouse; + + [OutputConstructor] + private AppResource( + string? description, + + Outputs.AppResourceJob? job, + + string name, + + Outputs.AppResourceSecret? secret, + + Outputs.AppResourceServingEndpoint? servingEndpoint, + + Outputs.AppResourceSqlWarehouse? sqlWarehouse) + { + Description = description; + Job = job; + Name = name; + Secret = secret; + ServingEndpoint = servingEndpoint; + SqlWarehouse = sqlWarehouse; + } + } +} diff --git a/sdk/dotnet/Outputs/AppResourceJob.cs b/sdk/dotnet/Outputs/AppResourceJob.cs new file mode 100644 index 00000000..f2cc09d7 --- /dev/null +++ b/sdk/dotnet/Outputs/AppResourceJob.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppResourceJob + { + /// + /// Id of the job to grant permission on. + /// + public readonly string Id; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private AppResourceJob( + string id, + + string permission) + { + Id = id; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/AppResourceSecret.cs b/sdk/dotnet/Outputs/AppResourceSecret.cs new file mode 100644 index 00000000..2fb68ef0 --- /dev/null +++ b/sdk/dotnet/Outputs/AppResourceSecret.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppResourceSecret + { + /// + /// Key of the secret to grant permission on. + /// + public readonly string Key; + /// + /// Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + /// + public readonly string Permission; + /// + /// Scope of the secret to grant permission on. + /// + public readonly string Scope; + + [OutputConstructor] + private AppResourceSecret( + string key, + + string permission, + + string scope) + { + Key = key; + Permission = permission; + Scope = scope; + } + } +} diff --git a/sdk/dotnet/Outputs/AppResourceServingEndpoint.cs b/sdk/dotnet/Outputs/AppResourceServingEndpoint.cs new file mode 100644 index 00000000..f08ddbdc --- /dev/null +++ b/sdk/dotnet/Outputs/AppResourceServingEndpoint.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppResourceServingEndpoint + { + /// + /// Name of the serving endpoint to grant permission on. + /// + public readonly string Name; + /// + /// Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private AppResourceServingEndpoint( + string name, + + string permission) + { + Name = name; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/AppResourceSqlWarehouse.cs b/sdk/dotnet/Outputs/AppResourceSqlWarehouse.cs new file mode 100644 index 00000000..49955346 --- /dev/null +++ b/sdk/dotnet/Outputs/AppResourceSqlWarehouse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class AppResourceSqlWarehouse + { + /// + /// Id of the SQL warehouse to grant permission on. + /// + public readonly string Id; + /// + /// Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + /// + public readonly string Permission; + + [OutputConstructor] + private AppResourceSqlWarehouse( + string id, + + string permission) + { + Id = id; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/CredentialAwsIamRole.cs b/sdk/dotnet/Outputs/CredentialAwsIamRole.cs new file mode 100644 index 00000000..86bf6781 --- /dev/null +++ b/sdk/dotnet/Outputs/CredentialAwsIamRole.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class CredentialAwsIamRole + { + public readonly string? ExternalId; + /// + /// The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + /// + /// `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + /// + public readonly string? RoleArn; + public readonly string? UnityCatalogIamArn; + + [OutputConstructor] + private CredentialAwsIamRole( + string? externalId, + + string? roleArn, + + string? unityCatalogIamArn) + { + ExternalId = externalId; + RoleArn = roleArn; + UnityCatalogIamArn = unityCatalogIamArn; + } + } +} diff --git a/sdk/dotnet/Outputs/CredentialAzureManagedIdentity.cs b/sdk/dotnet/Outputs/CredentialAzureManagedIdentity.cs new file mode 100644 index 00000000..540ef78f --- /dev/null +++ b/sdk/dotnet/Outputs/CredentialAzureManagedIdentity.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class CredentialAzureManagedIdentity + { + /// + /// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + /// + public readonly string AccessConnectorId; + /// + /// Unique ID of the credential. + /// + public readonly string? CredentialId; + /// + /// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + /// + /// `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + /// + public readonly string? ManagedIdentityId; + + [OutputConstructor] + private CredentialAzureManagedIdentity( + string accessConnectorId, + + string? credentialId, + + string? managedIdentityId) + { + AccessConnectorId = accessConnectorId; + CredentialId = credentialId; + ManagedIdentityId = managedIdentityId; + } + } +} diff --git a/sdk/dotnet/Outputs/CredentialAzureServicePrincipal.cs b/sdk/dotnet/Outputs/CredentialAzureServicePrincipal.cs new file mode 100644 index 00000000..497b4bb1 --- /dev/null +++ b/sdk/dotnet/Outputs/CredentialAzureServicePrincipal.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class CredentialAzureServicePrincipal + { + /// + /// The application ID of the application registration within the referenced AAD tenant + /// + public readonly string ApplicationId; + /// + /// The client secret generated for the above app ID in AAD. **This field is redacted on output** + /// + /// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + /// + public readonly string ClientSecret; + /// + /// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + /// + public readonly string DirectoryId; + + [OutputConstructor] + private CredentialAzureServicePrincipal( + string applicationId, + + string clientSecret, + + string directoryId) + { + ApplicationId = applicationId; + ClientSecret = clientSecret; + DirectoryId = directoryId; + } + } +} diff --git a/sdk/dotnet/Outputs/CredentialDatabricksGcpServiceAccount.cs b/sdk/dotnet/Outputs/CredentialDatabricksGcpServiceAccount.cs new file mode 100644 index 00000000..60f8eb11 --- /dev/null +++ b/sdk/dotnet/Outputs/CredentialDatabricksGcpServiceAccount.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class CredentialDatabricksGcpServiceAccount + { + /// + /// Unique ID of the credential. + /// + public readonly string? CredentialId; + /// + /// The email of the GCP service account created, to be granted access to relevant buckets. + /// + public readonly string? Email; + public readonly string? PrivateKeyId; + + [OutputConstructor] + private CredentialDatabricksGcpServiceAccount( + string? credentialId, + + string? email, + + string? privateKeyId) + { + CredentialId = credentialId; + Email = email; + PrivateKeyId = privateKeyId; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppActiveDeploymentDeploymentArtifactsResult.cs b/sdk/dotnet/Outputs/GetAppAppActiveDeploymentDeploymentArtifactsResult.cs new file mode 100644 index 00000000..3b8ef5b3 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppActiveDeploymentDeploymentArtifactsResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppActiveDeploymentDeploymentArtifactsResult + { + public readonly string? SourceCodePath; + + [OutputConstructor] + private GetAppAppActiveDeploymentDeploymentArtifactsResult(string? sourceCodePath) + { + SourceCodePath = sourceCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppActiveDeploymentResult.cs b/sdk/dotnet/Outputs/GetAppAppActiveDeploymentResult.cs new file mode 100644 index 00000000..28dab3e1 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppActiveDeploymentResult.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppActiveDeploymentResult + { + /// + /// The creation time of the app. + /// + public readonly string CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string Creator; + public readonly Outputs.GetAppAppActiveDeploymentDeploymentArtifactsResult DeploymentArtifacts; + public readonly string? DeploymentId; + public readonly string? Mode; + public readonly string? SourceCodePath; + public readonly Outputs.GetAppAppActiveDeploymentStatusResult Status; + /// + /// The update time of the app. + /// + public readonly string UpdateTime; + + [OutputConstructor] + private GetAppAppActiveDeploymentResult( + string createTime, + + string creator, + + Outputs.GetAppAppActiveDeploymentDeploymentArtifactsResult deploymentArtifacts, + + string? deploymentId, + + string? mode, + + string? sourceCodePath, + + Outputs.GetAppAppActiveDeploymentStatusResult status, + + string updateTime) + { + CreateTime = createTime; + Creator = creator; + DeploymentArtifacts = deploymentArtifacts; + DeploymentId = deploymentId; + Mode = mode; + SourceCodePath = sourceCodePath; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppActiveDeploymentStatusResult.cs b/sdk/dotnet/Outputs/GetAppAppActiveDeploymentStatusResult.cs new file mode 100644 index 00000000..29e3b03a --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppActiveDeploymentStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppActiveDeploymentStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppAppActiveDeploymentStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppAppStatusResult.cs b/sdk/dotnet/Outputs/GetAppAppAppStatusResult.cs new file mode 100644 index 00000000..d85cdbb4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppAppStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppAppStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppAppAppStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppComputeStatusResult.cs b/sdk/dotnet/Outputs/GetAppAppComputeStatusResult.cs new file mode 100644 index 00000000..224dbbc5 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppComputeStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppComputeStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppAppComputeStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppPendingDeploymentDeploymentArtifactsResult.cs b/sdk/dotnet/Outputs/GetAppAppPendingDeploymentDeploymentArtifactsResult.cs new file mode 100644 index 00000000..6a2dd31d --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppPendingDeploymentDeploymentArtifactsResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppPendingDeploymentDeploymentArtifactsResult + { + public readonly string? SourceCodePath; + + [OutputConstructor] + private GetAppAppPendingDeploymentDeploymentArtifactsResult(string? sourceCodePath) + { + SourceCodePath = sourceCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppPendingDeploymentResult.cs b/sdk/dotnet/Outputs/GetAppAppPendingDeploymentResult.cs new file mode 100644 index 00000000..8be583cf --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppPendingDeploymentResult.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppPendingDeploymentResult + { + /// + /// The creation time of the app. + /// + public readonly string CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string Creator; + public readonly Outputs.GetAppAppPendingDeploymentDeploymentArtifactsResult DeploymentArtifacts; + public readonly string? DeploymentId; + public readonly string? Mode; + public readonly string? SourceCodePath; + public readonly Outputs.GetAppAppPendingDeploymentStatusResult Status; + /// + /// The update time of the app. + /// + public readonly string UpdateTime; + + [OutputConstructor] + private GetAppAppPendingDeploymentResult( + string createTime, + + string creator, + + Outputs.GetAppAppPendingDeploymentDeploymentArtifactsResult deploymentArtifacts, + + string? deploymentId, + + string? mode, + + string? sourceCodePath, + + Outputs.GetAppAppPendingDeploymentStatusResult status, + + string updateTime) + { + CreateTime = createTime; + Creator = creator; + DeploymentArtifacts = deploymentArtifacts; + DeploymentId = deploymentId; + Mode = mode; + SourceCodePath = sourceCodePath; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppPendingDeploymentStatusResult.cs b/sdk/dotnet/Outputs/GetAppAppPendingDeploymentStatusResult.cs new file mode 100644 index 00000000..caaeb788 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppPendingDeploymentStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppPendingDeploymentStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppAppPendingDeploymentStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppResourceJobResult.cs b/sdk/dotnet/Outputs/GetAppAppResourceJobResult.cs new file mode 100644 index 00000000..0a759a5d --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppResourceJobResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppResourceJobResult + { + /// + /// Id of the job to grant permission on. + /// + public readonly string Id; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private GetAppAppResourceJobResult( + string id, + + string permission) + { + Id = id; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppResourceResult.cs b/sdk/dotnet/Outputs/GetAppAppResourceResult.cs new file mode 100644 index 00000000..e651a2af --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppResourceResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppResourceResult + { + /// + /// The description of the resource. + /// + public readonly string? Description; + /// + /// attribute + /// + public readonly Outputs.GetAppAppResourceJobResult? Job; + /// + /// The name of the app. + /// + public readonly string Name; + /// + /// attribute + /// + public readonly Outputs.GetAppAppResourceSecretResult? Secret; + /// + /// attribute + /// + public readonly Outputs.GetAppAppResourceServingEndpointResult? ServingEndpoint; + /// + /// attribute + /// + public readonly Outputs.GetAppAppResourceSqlWarehouseResult? SqlWarehouse; + + [OutputConstructor] + private GetAppAppResourceResult( + string? description, + + Outputs.GetAppAppResourceJobResult? job, + + string name, + + Outputs.GetAppAppResourceSecretResult? secret, + + Outputs.GetAppAppResourceServingEndpointResult? servingEndpoint, + + Outputs.GetAppAppResourceSqlWarehouseResult? sqlWarehouse) + { + Description = description; + Job = job; + Name = name; + Secret = secret; + ServingEndpoint = servingEndpoint; + SqlWarehouse = sqlWarehouse; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppResourceSecretResult.cs b/sdk/dotnet/Outputs/GetAppAppResourceSecretResult.cs new file mode 100644 index 00000000..ee5471df --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppResourceSecretResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppResourceSecretResult + { + /// + /// Key of the secret to grant permission on. + /// + public readonly string Key; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + /// + /// Scope of the secret to grant permission on. + /// + public readonly string Scope; + + [OutputConstructor] + private GetAppAppResourceSecretResult( + string key, + + string permission, + + string scope) + { + Key = key; + Permission = permission; + Scope = scope; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppResourceServingEndpointResult.cs b/sdk/dotnet/Outputs/GetAppAppResourceServingEndpointResult.cs new file mode 100644 index 00000000..6be3ce51 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppResourceServingEndpointResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppResourceServingEndpointResult + { + /// + /// The name of the app. + /// + public readonly string Name; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private GetAppAppResourceServingEndpointResult( + string name, + + string permission) + { + Name = name; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppResourceSqlWarehouseResult.cs b/sdk/dotnet/Outputs/GetAppAppResourceSqlWarehouseResult.cs new file mode 100644 index 00000000..e2f0b062 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppResourceSqlWarehouseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppResourceSqlWarehouseResult + { + /// + /// Id of the job to grant permission on. + /// + public readonly string Id; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private GetAppAppResourceSqlWarehouseResult( + string id, + + string permission) + { + Id = id; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppAppResult.cs b/sdk/dotnet/Outputs/GetAppAppResult.cs new file mode 100644 index 00000000..a4ac0d02 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppAppResult.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppAppResult + { + public readonly Outputs.GetAppAppActiveDeploymentResult ActiveDeployment; + /// + /// attribute + /// + public readonly Outputs.GetAppAppAppStatusResult AppStatus; + /// + /// attribute + /// + public readonly Outputs.GetAppAppComputeStatusResult ComputeStatus; + /// + /// The creation time of the app. + /// + public readonly string CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string Creator; + /// + /// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + /// + public readonly string DefaultSourceCodePath; + /// + /// The description of the resource. + /// + public readonly string? Description; + /// + /// The name of the app. + /// + public readonly string Name; + public readonly Outputs.GetAppAppPendingDeploymentResult PendingDeployment; + /// + /// A list of resources that the app have access to. + /// + public readonly ImmutableArray Resources; + public readonly string ServicePrincipalClientId; + /// + /// id of the app service principal + /// + public readonly int ServicePrincipalId; + /// + /// name of the app service principal + /// + public readonly string ServicePrincipalName; + /// + /// The update time of the app. + /// + public readonly string UpdateTime; + /// + /// The email of the user that last updated the app. + /// + public readonly string Updater; + /// + /// The URL of the app once it is deployed. + /// + public readonly string Url; + + [OutputConstructor] + private GetAppAppResult( + Outputs.GetAppAppActiveDeploymentResult activeDeployment, + + Outputs.GetAppAppAppStatusResult appStatus, + + Outputs.GetAppAppComputeStatusResult computeStatus, + + string createTime, + + string creator, + + string defaultSourceCodePath, + + string? description, + + string name, + + Outputs.GetAppAppPendingDeploymentResult pendingDeployment, + + ImmutableArray resources, + + string servicePrincipalClientId, + + int servicePrincipalId, + + string servicePrincipalName, + + string updateTime, + + string updater, + + string url) + { + ActiveDeployment = activeDeployment; + AppStatus = appStatus; + ComputeStatus = computeStatus; + CreateTime = createTime; + Creator = creator; + DefaultSourceCodePath = defaultSourceCodePath; + Description = description; + Name = name; + PendingDeployment = pendingDeployment; + Resources = resources; + ServicePrincipalClientId = servicePrincipalClientId; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalName = servicePrincipalName; + UpdateTime = updateTime; + Updater = updater; + Url = url; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentDeploymentArtifactsResult.cs b/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentDeploymentArtifactsResult.cs new file mode 100644 index 00000000..beaafdc4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentDeploymentArtifactsResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppActiveDeploymentDeploymentArtifactsResult + { + public readonly string? SourceCodePath; + + [OutputConstructor] + private GetAppsAppActiveDeploymentDeploymentArtifactsResult(string? sourceCodePath) + { + SourceCodePath = sourceCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentResult.cs b/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentResult.cs new file mode 100644 index 00000000..579d744a --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentResult.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppActiveDeploymentResult + { + /// + /// The creation time of the app. + /// + public readonly string CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string Creator; + public readonly Outputs.GetAppsAppActiveDeploymentDeploymentArtifactsResult DeploymentArtifacts; + public readonly string? DeploymentId; + public readonly string? Mode; + public readonly string? SourceCodePath; + public readonly Outputs.GetAppsAppActiveDeploymentStatusResult Status; + /// + /// The update time of the app. + /// + public readonly string UpdateTime; + + [OutputConstructor] + private GetAppsAppActiveDeploymentResult( + string createTime, + + string creator, + + Outputs.GetAppsAppActiveDeploymentDeploymentArtifactsResult deploymentArtifacts, + + string? deploymentId, + + string? mode, + + string? sourceCodePath, + + Outputs.GetAppsAppActiveDeploymentStatusResult status, + + string updateTime) + { + CreateTime = createTime; + Creator = creator; + DeploymentArtifacts = deploymentArtifacts; + DeploymentId = deploymentId; + Mode = mode; + SourceCodePath = sourceCodePath; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentStatusResult.cs b/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentStatusResult.cs new file mode 100644 index 00000000..16aee44c --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppActiveDeploymentStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppActiveDeploymentStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppsAppActiveDeploymentStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppAppStatusResult.cs b/sdk/dotnet/Outputs/GetAppsAppAppStatusResult.cs new file mode 100644 index 00000000..9e27d0b4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppAppStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppAppStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppsAppAppStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppComputeStatusResult.cs b/sdk/dotnet/Outputs/GetAppsAppComputeStatusResult.cs new file mode 100644 index 00000000..2537aa77 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppComputeStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppComputeStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppsAppComputeStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentDeploymentArtifactsResult.cs b/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentDeploymentArtifactsResult.cs new file mode 100644 index 00000000..6c00ff32 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentDeploymentArtifactsResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppPendingDeploymentDeploymentArtifactsResult + { + public readonly string? SourceCodePath; + + [OutputConstructor] + private GetAppsAppPendingDeploymentDeploymentArtifactsResult(string? sourceCodePath) + { + SourceCodePath = sourceCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentResult.cs b/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentResult.cs new file mode 100644 index 00000000..ee707179 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentResult.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppPendingDeploymentResult + { + /// + /// The creation time of the app. + /// + public readonly string CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string Creator; + public readonly Outputs.GetAppsAppPendingDeploymentDeploymentArtifactsResult DeploymentArtifacts; + public readonly string? DeploymentId; + public readonly string? Mode; + public readonly string? SourceCodePath; + public readonly Outputs.GetAppsAppPendingDeploymentStatusResult Status; + /// + /// The update time of the app. + /// + public readonly string UpdateTime; + + [OutputConstructor] + private GetAppsAppPendingDeploymentResult( + string createTime, + + string creator, + + Outputs.GetAppsAppPendingDeploymentDeploymentArtifactsResult deploymentArtifacts, + + string? deploymentId, + + string? mode, + + string? sourceCodePath, + + Outputs.GetAppsAppPendingDeploymentStatusResult status, + + string updateTime) + { + CreateTime = createTime; + Creator = creator; + DeploymentArtifacts = deploymentArtifacts; + DeploymentId = deploymentId; + Mode = mode; + SourceCodePath = sourceCodePath; + Status = status; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentStatusResult.cs b/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentStatusResult.cs new file mode 100644 index 00000000..d9f4e1b4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppPendingDeploymentStatusResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppPendingDeploymentStatusResult + { + /// + /// Application status message + /// + public readonly string Message; + /// + /// State of the application. + /// + public readonly string State; + + [OutputConstructor] + private GetAppsAppPendingDeploymentStatusResult( + string message, + + string state) + { + Message = message; + State = state; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppResourceJobResult.cs b/sdk/dotnet/Outputs/GetAppsAppResourceJobResult.cs new file mode 100644 index 00000000..d41584d4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppResourceJobResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppResourceJobResult + { + /// + /// Id of the job to grant permission on. + /// + public readonly string Id; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private GetAppsAppResourceJobResult( + string id, + + string permission) + { + Id = id; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppResourceResult.cs b/sdk/dotnet/Outputs/GetAppsAppResourceResult.cs new file mode 100644 index 00000000..6243bb3b --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppResourceResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppResourceResult + { + /// + /// The description of the resource. + /// + public readonly string? Description; + /// + /// attribute + /// + public readonly Outputs.GetAppsAppResourceJobResult? Job; + /// + /// Name of the serving endpoint to grant permission on. + /// + public readonly string Name; + /// + /// attribute + /// + public readonly Outputs.GetAppsAppResourceSecretResult? Secret; + /// + /// attribute + /// + public readonly Outputs.GetAppsAppResourceServingEndpointResult? ServingEndpoint; + /// + /// attribute + /// + public readonly Outputs.GetAppsAppResourceSqlWarehouseResult? SqlWarehouse; + + [OutputConstructor] + private GetAppsAppResourceResult( + string? description, + + Outputs.GetAppsAppResourceJobResult? job, + + string name, + + Outputs.GetAppsAppResourceSecretResult? secret, + + Outputs.GetAppsAppResourceServingEndpointResult? servingEndpoint, + + Outputs.GetAppsAppResourceSqlWarehouseResult? sqlWarehouse) + { + Description = description; + Job = job; + Name = name; + Secret = secret; + ServingEndpoint = servingEndpoint; + SqlWarehouse = sqlWarehouse; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppResourceSecretResult.cs b/sdk/dotnet/Outputs/GetAppsAppResourceSecretResult.cs new file mode 100644 index 00000000..796a4b48 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppResourceSecretResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppResourceSecretResult + { + /// + /// Key of the secret to grant permission on. + /// + public readonly string Key; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + /// + /// Scope of the secret to grant permission on. + /// + public readonly string Scope; + + [OutputConstructor] + private GetAppsAppResourceSecretResult( + string key, + + string permission, + + string scope) + { + Key = key; + Permission = permission; + Scope = scope; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppResourceServingEndpointResult.cs b/sdk/dotnet/Outputs/GetAppsAppResourceServingEndpointResult.cs new file mode 100644 index 00000000..cc3be9e9 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppResourceServingEndpointResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppResourceServingEndpointResult + { + /// + /// Name of the serving endpoint to grant permission on. + /// + public readonly string Name; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private GetAppsAppResourceServingEndpointResult( + string name, + + string permission) + { + Name = name; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppResourceSqlWarehouseResult.cs b/sdk/dotnet/Outputs/GetAppsAppResourceSqlWarehouseResult.cs new file mode 100644 index 00000000..d525e618 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppResourceSqlWarehouseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppResourceSqlWarehouseResult + { + /// + /// Id of the job to grant permission on. + /// + public readonly string Id; + /// + /// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + /// + public readonly string Permission; + + [OutputConstructor] + private GetAppsAppResourceSqlWarehouseResult( + string id, + + string permission) + { + Id = id; + Permission = permission; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAppsAppResult.cs b/sdk/dotnet/Outputs/GetAppsAppResult.cs new file mode 100644 index 00000000..07b1e0e0 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAppsAppResult.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetAppsAppResult + { + public readonly Outputs.GetAppsAppActiveDeploymentResult ActiveDeployment; + /// + /// attribute + /// + public readonly Outputs.GetAppsAppAppStatusResult AppStatus; + /// + /// attribute + /// + public readonly Outputs.GetAppsAppComputeStatusResult ComputeStatus; + /// + /// The creation time of the app. + /// + public readonly string CreateTime; + /// + /// The email of the user that created the app. + /// + public readonly string Creator; + /// + /// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + /// + public readonly string DefaultSourceCodePath; + /// + /// The description of the resource. + /// + public readonly string? Description; + /// + /// Name of the serving endpoint to grant permission on. + /// + public readonly string Name; + public readonly Outputs.GetAppsAppPendingDeploymentResult PendingDeployment; + /// + /// A list of resources that the app have access to. + /// + public readonly ImmutableArray Resources; + public readonly string ServicePrincipalClientId; + /// + /// id of the app service principal + /// + public readonly int ServicePrincipalId; + /// + /// name of the app service principal + /// + public readonly string ServicePrincipalName; + /// + /// The update time of the app. + /// + public readonly string UpdateTime; + /// + /// The email of the user that last updated the app. + /// + public readonly string Updater; + /// + /// The URL of the app once it is deployed. + /// + public readonly string Url; + + [OutputConstructor] + private GetAppsAppResult( + Outputs.GetAppsAppActiveDeploymentResult activeDeployment, + + Outputs.GetAppsAppAppStatusResult appStatus, + + Outputs.GetAppsAppComputeStatusResult computeStatus, + + string createTime, + + string creator, + + string defaultSourceCodePath, + + string? description, + + string name, + + Outputs.GetAppsAppPendingDeploymentResult pendingDeployment, + + ImmutableArray resources, + + string servicePrincipalClientId, + + int servicePrincipalId, + + string servicePrincipalName, + + string updateTime, + + string updater, + + string url) + { + ActiveDeployment = activeDeployment; + AppStatus = appStatus; + ComputeStatus = computeStatus; + CreateTime = createTime; + Creator = creator; + DefaultSourceCodePath = defaultSourceCodePath; + Description = description; + Name = name; + PendingDeployment = pendingDeployment; + Resources = resources; + ServicePrincipalClientId = servicePrincipalClientId; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalName = servicePrincipalName; + UpdateTime = updateTime; + Updater = updater; + Url = url; + } + } +} diff --git a/sdk/dotnet/Outputs/GetClusterClusterInfoResult.cs b/sdk/dotnet/Outputs/GetClusterClusterInfoResult.cs index c44a5734..87934a98 100644 --- a/sdk/dotnet/Outputs/GetClusterClusterInfoResult.cs +++ b/sdk/dotnet/Outputs/GetClusterClusterInfoResult.cs @@ -68,7 +68,9 @@ public sealed class GetClusterClusterInfoResult /// The pool of idle instances the cluster is attached to. /// public readonly string? InstancePoolId; + public readonly bool? IsSingleNode; public readonly int? JdbcPort; + public readonly string? Kind; public readonly int? LastRestartedTime; public readonly int? LastStateLossTime; /// @@ -111,6 +113,7 @@ public sealed class GetClusterClusterInfoResult public readonly string? StateMessage; public readonly int? TerminatedTime; public readonly Outputs.GetClusterClusterInfoTerminationReasonResult? TerminationReason; + public readonly bool? UseMlRuntime; public readonly Outputs.GetClusterClusterInfoWorkloadTypeResult? WorkloadType; [OutputConstructor] @@ -165,8 +168,12 @@ private GetClusterClusterInfoResult( string? instancePoolId, + bool? isSingleNode, + int? jdbcPort, + string? kind, + int? lastRestartedTime, int? lastStateLossTime, @@ -203,6 +210,8 @@ private GetClusterClusterInfoResult( Outputs.GetClusterClusterInfoTerminationReasonResult? terminationReason, + bool? useMlRuntime, + Outputs.GetClusterClusterInfoWorkloadTypeResult? workloadType) { Autoscale = autoscale; @@ -230,7 +239,9 @@ private GetClusterClusterInfoResult( GcpAttributes = gcpAttributes; InitScripts = initScripts; InstancePoolId = instancePoolId; + IsSingleNode = isSingleNode; JdbcPort = jdbcPort; + Kind = kind; LastRestartedTime = lastRestartedTime; LastStateLossTime = lastStateLossTime; NodeTypeId = nodeTypeId; @@ -249,6 +260,7 @@ private GetClusterClusterInfoResult( StateMessage = stateMessage; TerminatedTime = terminatedTime; TerminationReason = terminationReason; + UseMlRuntime = useMlRuntime; WorkloadType = workloadType; } } diff --git a/sdk/dotnet/Outputs/GetClusterClusterInfoSpecResult.cs b/sdk/dotnet/Outputs/GetClusterClusterInfoSpecResult.cs index d8fea119..1ae7036b 100644 --- a/sdk/dotnet/Outputs/GetClusterClusterInfoSpecResult.cs +++ b/sdk/dotnet/Outputs/GetClusterClusterInfoSpecResult.cs @@ -62,6 +62,8 @@ public sealed class GetClusterClusterInfoSpecResult /// The pool of idle instances the cluster is attached to. /// public readonly string? InstancePoolId; + public readonly bool? IsSingleNode; + public readonly string? Kind; public readonly ImmutableArray Libraries; /// /// Any supported databricks.getNodeType id. @@ -96,6 +98,7 @@ public sealed class GetClusterClusterInfoSpecResult /// SSH public key contents that will be added to each Spark node in this cluster. /// public readonly ImmutableArray SshPublicKeys; + public readonly bool? UseMlRuntime; public readonly Outputs.GetClusterClusterInfoSpecWorkloadTypeResult? WorkloadType; [OutputConstructor] @@ -138,6 +141,10 @@ private GetClusterClusterInfoSpecResult( string? instancePoolId, + bool? isSingleNode, + + string? kind, + ImmutableArray libraries, string nodeTypeId, @@ -158,6 +165,8 @@ private GetClusterClusterInfoSpecResult( ImmutableArray sshPublicKeys, + bool? useMlRuntime, + Outputs.GetClusterClusterInfoSpecWorkloadTypeResult? workloadType) { ApplyPolicyDefaultValues = applyPolicyDefaultValues; @@ -179,6 +188,8 @@ private GetClusterClusterInfoSpecResult( IdempotencyToken = idempotencyToken; InitScripts = initScripts; InstancePoolId = instancePoolId; + IsSingleNode = isSingleNode; + Kind = kind; Libraries = libraries; NodeTypeId = nodeTypeId; NumWorkers = numWorkers; @@ -189,6 +200,7 @@ private GetClusterClusterInfoSpecResult( SparkEnvVars = sparkEnvVars; SparkVersion = sparkVersion; SshPublicKeys = sshPublicKeys; + UseMlRuntime = useMlRuntime; WorkloadType = workloadType; } } diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamsParameterResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamParameterResult.cs similarity index 95% rename from sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamsParameterResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionInputParamParameterResult.cs index b16c2f49..359e3fac 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamsParameterResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamParameterResult.cs @@ -11,7 +11,7 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionReturnParamsParameterResult + public sealed class GetFunctionsFunctionInputParamParameterResult { /// /// User-provided free-form text description. @@ -63,7 +63,7 @@ public sealed class GetFunctionsFunctionReturnParamsParameterResult public readonly string TypeText; [OutputConstructor] - private GetFunctionsFunctionReturnParamsParameterResult( + private GetFunctionsFunctionInputParamParameterResult( string? comment, string name, diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamsResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamResult.cs similarity index 72% rename from sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamsResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionInputParamResult.cs index abee5b39..f252e2d0 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamsResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamResult.cs @@ -11,15 +11,15 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionReturnParamsResult + public sealed class GetFunctionsFunctionInputParamResult { /// /// The array of definitions of the function's parameters: /// - public readonly ImmutableArray Parameters; + public readonly ImmutableArray Parameters; [OutputConstructor] - private GetFunctionsFunctionReturnParamsResult(ImmutableArray parameters) + private GetFunctionsFunctionInputParamResult(ImmutableArray parameters) { Parameters = parameters; } diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionResult.cs index fae2b9f8..de8c7552 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionResult.cs @@ -60,7 +60,7 @@ public sealed class GetFunctionsFunctionResult /// /// object describing input parameters. Consists of the single attribute: /// - public readonly Outputs.GetFunctionsFunctionInputParamsResult? InputParams; + public readonly ImmutableArray InputParams; /// /// Boolean flag specifying whether the function is deterministic. /// @@ -92,7 +92,7 @@ public sealed class GetFunctionsFunctionResult /// /// Table function return parameters. See `input_params` for description. /// - public readonly Outputs.GetFunctionsFunctionReturnParamsResult? ReturnParams; + public readonly ImmutableArray ReturnParams; /// /// Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. /// @@ -104,7 +104,7 @@ public sealed class GetFunctionsFunctionResult /// /// Function dependencies. /// - public readonly Outputs.GetFunctionsFunctionRoutineDependenciesResult? RoutineDependencies; + public readonly ImmutableArray RoutineDependencies; /// /// Name of databricks_schema. /// @@ -158,7 +158,7 @@ private GetFunctionsFunctionResult( string? functionId, - Outputs.GetFunctionsFunctionInputParamsResult? inputParams, + ImmutableArray inputParams, bool? isDeterministic, @@ -174,13 +174,13 @@ private GetFunctionsFunctionResult( string? properties, - Outputs.GetFunctionsFunctionReturnParamsResult? returnParams, + ImmutableArray returnParams, string? routineBody, string? routineDefinition, - Outputs.GetFunctionsFunctionRoutineDependenciesResult? routineDependencies, + ImmutableArray routineDependencies, string? schemaName, diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamsParameterResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamParameterResult.cs similarity index 95% rename from sdk/dotnet/Outputs/GetFunctionsFunctionInputParamsParameterResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamParameterResult.cs index d2479812..7efc1583 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamsParameterResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamParameterResult.cs @@ -11,7 +11,7 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionInputParamsParameterResult + public sealed class GetFunctionsFunctionReturnParamParameterResult { /// /// User-provided free-form text description. @@ -63,7 +63,7 @@ public sealed class GetFunctionsFunctionInputParamsParameterResult public readonly string TypeText; [OutputConstructor] - private GetFunctionsFunctionInputParamsParameterResult( + private GetFunctionsFunctionReturnParamParameterResult( string? comment, string name, diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamsResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamResult.cs similarity index 73% rename from sdk/dotnet/Outputs/GetFunctionsFunctionInputParamsResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamResult.cs index 06d71e69..8a2047c4 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionInputParamsResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionReturnParamResult.cs @@ -11,15 +11,15 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionInputParamsResult + public sealed class GetFunctionsFunctionReturnParamResult { /// /// The array of definitions of the function's parameters: /// - public readonly ImmutableArray Parameters; + public readonly ImmutableArray Parameters; [OutputConstructor] - private GetFunctionsFunctionInputParamsResult(ImmutableArray parameters) + private GetFunctionsFunctionReturnParamResult(ImmutableArray parameters) { Parameters = parameters; } diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyResult.cs deleted file mode 100644 index b38dfe99..00000000 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -using System; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Threading.Tasks; -using Pulumi.Serialization; - -namespace Pulumi.Databricks.Outputs -{ - - [OutputType] - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyResult - { - public readonly Outputs.GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult? Function; - public readonly Outputs.GetFunctionsFunctionRoutineDependenciesDependencyTableResult? Table; - - [OutputConstructor] - private GetFunctionsFunctionRoutineDependenciesDependencyResult( - Outputs.GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult? function, - - Outputs.GetFunctionsFunctionRoutineDependenciesDependencyTableResult? table) - { - Function = function; - Table = table; - } - } -} diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionResult.cs similarity index 73% rename from sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionResult.cs index fc0db0a8..02de40b2 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionResult.cs @@ -11,12 +11,12 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult + public sealed class GetFunctionsFunctionRoutineDependencyDependencyFunctionResult { public readonly string FunctionFullName; [OutputConstructor] - private GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult(string functionFullName) + private GetFunctionsFunctionRoutineDependencyDependencyFunctionResult(string functionFullName) { FunctionFullName = functionFullName; } diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyResult.cs new file mode 100644 index 00000000..d5ecd2d0 --- /dev/null +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetFunctionsFunctionRoutineDependencyDependencyResult + { + public readonly ImmutableArray Functions; + public readonly ImmutableArray Tables; + + [OutputConstructor] + private GetFunctionsFunctionRoutineDependencyDependencyResult( + ImmutableArray functions, + + ImmutableArray tables) + { + Functions = functions; + Tables = tables; + } + } +} diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyTableResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyTableResult.cs similarity index 73% rename from sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyTableResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyTableResult.cs index 0016aeea..4a4ee918 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesDependencyTableResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyDependencyTableResult.cs @@ -11,12 +11,12 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionRoutineDependenciesDependencyTableResult + public sealed class GetFunctionsFunctionRoutineDependencyDependencyTableResult { public readonly string TableFullName; [OutputConstructor] - private GetFunctionsFunctionRoutineDependenciesDependencyTableResult(string tableFullName) + private GetFunctionsFunctionRoutineDependencyDependencyTableResult(string tableFullName) { TableFullName = tableFullName; } diff --git a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesResult.cs b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyResult.cs similarity index 65% rename from sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesResult.cs rename to sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyResult.cs index 4c5a831e..2a084c0f 100644 --- a/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependenciesResult.cs +++ b/sdk/dotnet/Outputs/GetFunctionsFunctionRoutineDependencyResult.cs @@ -11,12 +11,12 @@ namespace Pulumi.Databricks.Outputs { [OutputType] - public sealed class GetFunctionsFunctionRoutineDependenciesResult + public sealed class GetFunctionsFunctionRoutineDependencyResult { - public readonly ImmutableArray Dependencies; + public readonly ImmutableArray Dependencies; [OutputConstructor] - private GetFunctionsFunctionRoutineDependenciesResult(ImmutableArray dependencies) + private GetFunctionsFunctionRoutineDependencyResult(ImmutableArray dependencies) { Dependencies = dependencies; } diff --git a/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult.cs b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult.cs new file mode 100644 index 00000000..f87347be --- /dev/null +++ b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult + { + /// + /// The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + /// + public readonly ImmutableArray CidrBlocks; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult(ImmutableArray cidrBlocks) + { + CidrBlocks = cidrBlocks; + } + } +} diff --git a/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult.cs b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult.cs new file mode 100644 index 00000000..9d28db51 --- /dev/null +++ b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult + { + /// + /// Array of strings representing the subnet IDs. + /// + public readonly ImmutableArray Subnets; + /// + /// The target region for the service endpoint. + /// + public readonly string? TargetRegion; + /// + /// Array of target services. + /// + public readonly ImmutableArray TargetServices; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult( + ImmutableArray subnets, + + string? targetRegion, + + ImmutableArray targetServices) + { + Subnets = subnets; + TargetRegion = targetRegion; + TargetServices = targetServices; + } + } +} diff --git a/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult.cs b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult.cs new file mode 100644 index 00000000..6c432221 --- /dev/null +++ b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult + { + /// + /// The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + /// + public readonly Outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult? AwsStableIpRule; + /// + /// Array of Azure service endpoint rules. + /// + public readonly Outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult? AzureServiceEndpointRule; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult( + Outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult? awsStableIpRule, + + Outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult? azureServiceEndpointRule) + { + AwsStableIpRule = awsStableIpRule; + AzureServiceEndpointRule = azureServiceEndpointRule; + } + } +} diff --git a/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigResult.cs b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigResult.cs new file mode 100644 index 00000000..65fc60a2 --- /dev/null +++ b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigEgressConfigResult + { + /// + /// Array of default rules. + /// + public readonly Outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult? DefaultRules; + /// + /// Array of target rules. + /// + public readonly Outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult? TargetRules; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigEgressConfigResult( + Outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult? defaultRules, + + Outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult? targetRules) + { + DefaultRules = defaultRules; + TargetRules = targetRules; + } + } +} diff --git a/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult.cs b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult.cs new file mode 100644 index 00000000..decdf6a8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult + { + /// + /// The current status of this private endpoint. + /// + public readonly string? ConnectionState; + /// + /// Time in epoch milliseconds when this object was created. + /// + public readonly int? CreationTime; + /// + /// Whether this private endpoint is deactivated. + /// + public readonly bool? Deactivated; + /// + /// Time in epoch milliseconds when this object was deactivated. + /// + public readonly int? DeactivatedAt; + /// + /// The name of the Azure private endpoint resource. + /// + public readonly string? EndpointName; + /// + /// The sub-resource type (group ID) of the target resource. + /// + public readonly string? GroupId; + /// + /// The Databricks network connectivity configuration ID. + /// + public readonly string? NetworkConnectivityConfigId; + /// + /// The Azure resource ID of the target resource. + /// + public readonly string? ResourceId; + /// + /// The ID of a private endpoint rule. + /// + public readonly string? RuleId; + /// + /// Time in epoch milliseconds when the network was updated. + /// + public readonly int? UpdatedTime; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult( + string? connectionState, + + int? creationTime, + + bool? deactivated, + + int? deactivatedAt, + + string? endpointName, + + string? groupId, + + string? networkConnectivityConfigId, + + string? resourceId, + + string? ruleId, + + int? updatedTime) + { + ConnectionState = connectionState; + CreationTime = creationTime; + Deactivated = deactivated; + DeactivatedAt = deactivatedAt; + EndpointName = endpointName; + GroupId = groupId; + NetworkConnectivityConfigId = networkConnectivityConfigId; + ResourceId = resourceId; + RuleId = ruleId; + UpdatedTime = updatedTime; + } + } +} diff --git a/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult.cs b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult.cs new file mode 100644 index 00000000..3fe5fdd5 --- /dev/null +++ b/sdk/dotnet/Outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult + { + /// + /// Array of private endpoint rule objects. + /// + public readonly ImmutableArray AzurePrivateEndpointRules; + + [OutputConstructor] + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult(ImmutableArray azurePrivateEndpointRules) + { + AzurePrivateEndpointRules = azurePrivateEndpointRules; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionAliasResult.cs b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionAliasResult.cs new file mode 100644 index 00000000..84558a2b --- /dev/null +++ b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionAliasResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetRegisteredModelVersionsModelVersionAliasResult + { + /// + /// string with the name of alias + /// + public readonly string? AliasName; + /// + /// associated model version + /// + public readonly int? VersionNum; + + [OutputConstructor] + private GetRegisteredModelVersionsModelVersionAliasResult( + string? aliasName, + + int? versionNum) + { + AliasName = aliasName; + VersionNum = versionNum; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult.cs b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult.cs new file mode 100644 index 00000000..1e47c94e --- /dev/null +++ b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult + { + /// + /// Full name of the dependent function + /// + public readonly string FunctionFullName; + + [OutputConstructor] + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult(string functionFullName) + { + FunctionFullName = functionFullName; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult.cs b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult.cs new file mode 100644 index 00000000..f72261e9 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult + { + /// + /// A function that is dependent on a SQL object: + /// + public readonly ImmutableArray Functions; + /// + /// A table that is dependent on a SQL object + /// + public readonly ImmutableArray Tables; + + [OutputConstructor] + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult( + ImmutableArray functions, + + ImmutableArray tables) + { + Functions = functions; + Tables = tables; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult.cs b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult.cs new file mode 100644 index 00000000..6be53426 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult + { + /// + /// Full name of the dependent table + /// + public readonly string TableFullName; + + [OutputConstructor] + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult(string tableFullName) + { + TableFullName = tableFullName; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyResult.cs b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyResult.cs new file mode 100644 index 00000000..7bbbfba7 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetRegisteredModelVersionsModelVersionModelVersionDependencyResult + { + /// + /// list of dependencies consisting of following attributes: + /// + public readonly ImmutableArray Dependencies; + + [OutputConstructor] + private GetRegisteredModelVersionsModelVersionModelVersionDependencyResult(ImmutableArray dependencies) + { + Dependencies = dependencies; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionResult.cs b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionResult.cs new file mode 100644 index 00000000..787fd772 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRegisteredModelVersionsModelVersionResult.cs @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetRegisteredModelVersionsModelVersionResult + { + /// + /// the list of aliases associated with this model. Each item is object consisting of following attributes: + /// + public readonly ImmutableArray Aliases; + public readonly bool? BrowseOnly; + /// + /// The name of the catalog where the schema and the registered model reside. + /// + public readonly string? CatalogName; + /// + /// The comment attached to the registered model. + /// + public readonly string? Comment; + /// + /// the Unix timestamp at the model's creation + /// + public readonly int? CreatedAt; + /// + /// the identifier of the user who created the model + /// + public readonly string? CreatedBy; + /// + /// The unique identifier of the model version + /// + public readonly string? Id; + /// + /// the unique identifier of the metastore + /// + public readonly string? MetastoreId; + public readonly string? ModelName; + /// + /// block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + /// + public readonly ImmutableArray ModelVersionDependencies; + /// + /// MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + /// + public readonly string? RunId; + /// + /// ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + /// + public readonly int? RunWorkspaceId; + /// + /// The name of the schema where the registered model resides. + /// + public readonly string? SchemaName; + /// + /// URI indicating the location of the source artifacts (files) for the model version. + /// + public readonly string? Source; + /// + /// Current status of the model version. + /// + public readonly string? Status; + /// + /// The storage location under which model version data files are stored. + /// + public readonly string? StorageLocation; + /// + /// the timestamp of the last time changes were made to the model + /// + public readonly int? UpdatedAt; + /// + /// the identifier of the user who updated the model last time + /// + public readonly string? UpdatedBy; + /// + /// Integer model version number, used to reference the model version in API requests. + /// + public readonly int? Version; + + [OutputConstructor] + private GetRegisteredModelVersionsModelVersionResult( + ImmutableArray aliases, + + bool? browseOnly, + + string? catalogName, + + string? comment, + + int? createdAt, + + string? createdBy, + + string? id, + + string? metastoreId, + + string? modelName, + + ImmutableArray modelVersionDependencies, + + string? runId, + + int? runWorkspaceId, + + string? schemaName, + + string? source, + + string? status, + + string? storageLocation, + + int? updatedAt, + + string? updatedBy, + + int? version) + { + Aliases = aliases; + BrowseOnly = browseOnly; + CatalogName = catalogName; + Comment = comment; + CreatedAt = createdAt; + CreatedBy = createdBy; + Id = id; + MetastoreId = metastoreId; + ModelName = modelName; + ModelVersionDependencies = modelVersionDependencies; + RunId = runId; + RunWorkspaceId = runWorkspaceId; + SchemaName = schemaName; + Source = source; + Status = status; + StorageLocation = storageLocation; + UpdatedAt = updatedAt; + UpdatedBy = updatedBy; + Version = version; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult.cs new file mode 100644 index 00000000..97f864d4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult + { + public readonly string Behavior; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult(string behavior) + { + Behavior = behavior; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult.cs new file mode 100644 index 00000000..13e0be32 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult + { + public readonly ImmutableArray InvalidKeywords; + public readonly ImmutableArray Piis; + public readonly bool? Safety; + public readonly ImmutableArray ValidTopics; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult( + ImmutableArray invalidKeywords, + + ImmutableArray piis, + + bool? safety, + + ImmutableArray validTopics) + { + InvalidKeywords = invalidKeywords; + Piis = piis; + Safety = safety; + ValidTopics = validTopics; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult.cs new file mode 100644 index 00000000..c6958512 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult + { + public readonly string Behavior; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult(string behavior) + { + Behavior = behavior; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputResult.cs new file mode 100644 index 00000000..73fb91b2 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputResult.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailOutputResult + { + public readonly ImmutableArray InvalidKeywords; + public readonly ImmutableArray Piis; + public readonly bool? Safety; + public readonly ImmutableArray ValidTopics; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayGuardrailOutputResult( + ImmutableArray invalidKeywords, + + ImmutableArray piis, + + bool? safety, + + ImmutableArray validTopics) + { + InvalidKeywords = invalidKeywords; + Piis = piis; + Safety = safety; + ValidTopics = validTopics; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailResult.cs new file mode 100644 index 00000000..169d3fa8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayGuardrailResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayGuardrailResult + { + public readonly ImmutableArray InputProperties; + public readonly ImmutableArray Outputs; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayGuardrailResult( + ImmutableArray inputProperties, + + ImmutableArray outputs) + { + InputProperties = inputProperties; + Outputs = outputs; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult.cs new file mode 100644 index 00000000..d8b523a6 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult + { + public readonly string? CatalogName; + public readonly bool? Enabled; + public readonly string? SchemaName; + public readonly string? TableNamePrefix; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult( + string? catalogName, + + bool? enabled, + + string? schemaName, + + string? tableNamePrefix) + { + CatalogName = catalogName; + Enabled = enabled; + SchemaName = schemaName; + TableNamePrefix = tableNamePrefix; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayRateLimitResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayRateLimitResult.cs new file mode 100644 index 00000000..673c8b96 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayRateLimitResult.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayRateLimitResult + { + public readonly int Calls; + public readonly string? Key; + public readonly string RenewalPeriod; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayRateLimitResult( + int calls, + + string? key, + + string renewalPeriod) + { + Calls = calls; + Key = key; + RenewalPeriod = renewalPeriod; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayResult.cs new file mode 100644 index 00000000..f174b9bd --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayResult.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayResult + { + public readonly ImmutableArray Guardrails; + public readonly ImmutableArray InferenceTableConfigs; + /// + /// A list of rate limit blocks to be applied to the serving endpoint. + /// + public readonly ImmutableArray RateLimits; + public readonly ImmutableArray UsageTrackingConfigs; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayResult( + ImmutableArray guardrails, + + ImmutableArray inferenceTableConfigs, + + ImmutableArray rateLimits, + + ImmutableArray usageTrackingConfigs) + { + Guardrails = guardrails; + InferenceTableConfigs = inferenceTableConfigs; + RateLimits = rateLimits; + UsageTrackingConfigs = usageTrackingConfigs; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult.cs new file mode 100644 index 00000000..d9d5fc8a --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult + { + public readonly bool? Enabled; + + [OutputConstructor] + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigResult.cs new file mode 100644 index 00000000..70be1771 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigResult + { + public readonly ImmutableArray ServedEntities; + public readonly ImmutableArray ServedModels; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigResult( + ImmutableArray servedEntities, + + ImmutableArray servedModels) + { + ServedEntities = servedEntities; + ServedModels = servedModels; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult.cs new file mode 100644 index 00000000..36c62634 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult + { + public readonly string? Ai21labsApiKey; + public readonly string? Ai21labsApiKeyPlaintext; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult( + string? ai21labsApiKey, + + string? ai21labsApiKeyPlaintext) + { + Ai21labsApiKey = ai21labsApiKey; + Ai21labsApiKeyPlaintext = ai21labsApiKeyPlaintext; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult.cs new file mode 100644 index 00000000..d6f8022b --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult + { + public readonly string? AwsAccessKeyId; + public readonly string? AwsAccessKeyIdPlaintext; + public readonly string AwsRegion; + public readonly string? AwsSecretAccessKey; + public readonly string? AwsSecretAccessKeyPlaintext; + public readonly string BedrockProvider; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult( + string? awsAccessKeyId, + + string? awsAccessKeyIdPlaintext, + + string awsRegion, + + string? awsSecretAccessKey, + + string? awsSecretAccessKeyPlaintext, + + string bedrockProvider) + { + AwsAccessKeyId = awsAccessKeyId; + AwsAccessKeyIdPlaintext = awsAccessKeyIdPlaintext; + AwsRegion = awsRegion; + AwsSecretAccessKey = awsSecretAccessKey; + AwsSecretAccessKeyPlaintext = awsSecretAccessKeyPlaintext; + BedrockProvider = bedrockProvider; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult.cs new file mode 100644 index 00000000..620a5f1d --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult + { + public readonly string? AnthropicApiKey; + public readonly string? AnthropicApiKeyPlaintext; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult( + string? anthropicApiKey, + + string? anthropicApiKeyPlaintext) + { + AnthropicApiKey = anthropicApiKey; + AnthropicApiKeyPlaintext = anthropicApiKeyPlaintext; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult.cs new file mode 100644 index 00000000..dd7554c0 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult + { + public readonly string? CohereApiBase; + public readonly string? CohereApiKey; + public readonly string? CohereApiKeyPlaintext; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult( + string? cohereApiBase, + + string? cohereApiKey, + + string? cohereApiKeyPlaintext) + { + CohereApiBase = cohereApiBase; + CohereApiKey = cohereApiKey; + CohereApiKeyPlaintext = cohereApiKeyPlaintext; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult.cs new file mode 100644 index 00000000..5c82f14d --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult + { + public readonly string? DatabricksApiToken; + public readonly string? DatabricksApiTokenPlaintext; + public readonly string DatabricksWorkspaceUrl; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult( + string? databricksApiToken, + + string? databricksApiTokenPlaintext, + + string databricksWorkspaceUrl) + { + DatabricksApiToken = databricksApiToken; + DatabricksApiTokenPlaintext = databricksApiTokenPlaintext; + DatabricksWorkspaceUrl = databricksWorkspaceUrl; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult.cs new file mode 100644 index 00000000..78f25428 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult + { + public readonly string? PrivateKey; + public readonly string? PrivateKeyPlaintext; + public readonly string? ProjectId; + public readonly string? Region; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult( + string? privateKey, + + string? privateKeyPlaintext, + + string? projectId, + + string? region) + { + PrivateKey = privateKey; + PrivateKeyPlaintext = privateKeyPlaintext; + ProjectId = projectId; + Region = region; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult.cs new file mode 100644 index 00000000..0c054373 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult.cs @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult + { + public readonly string? MicrosoftEntraClientId; + public readonly string? MicrosoftEntraClientSecret; + public readonly string? MicrosoftEntraClientSecretPlaintext; + public readonly string? MicrosoftEntraTenantId; + public readonly string? OpenaiApiBase; + public readonly string? OpenaiApiKey; + public readonly string? OpenaiApiKeyPlaintext; + public readonly string? OpenaiApiType; + public readonly string? OpenaiApiVersion; + public readonly string? OpenaiDeploymentName; + public readonly string? OpenaiOrganization; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult( + string? microsoftEntraClientId, + + string? microsoftEntraClientSecret, + + string? microsoftEntraClientSecretPlaintext, + + string? microsoftEntraTenantId, + + string? openaiApiBase, + + string? openaiApiKey, + + string? openaiApiKeyPlaintext, + + string? openaiApiType, + + string? openaiApiVersion, + + string? openaiDeploymentName, + + string? openaiOrganization) + { + MicrosoftEntraClientId = microsoftEntraClientId; + MicrosoftEntraClientSecret = microsoftEntraClientSecret; + MicrosoftEntraClientSecretPlaintext = microsoftEntraClientSecretPlaintext; + MicrosoftEntraTenantId = microsoftEntraTenantId; + OpenaiApiBase = openaiApiBase; + OpenaiApiKey = openaiApiKey; + OpenaiApiKeyPlaintext = openaiApiKeyPlaintext; + OpenaiApiType = openaiApiType; + OpenaiApiVersion = openaiApiVersion; + OpenaiDeploymentName = openaiDeploymentName; + OpenaiOrganization = openaiOrganization; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult.cs new file mode 100644 index 00000000..07aaae2d --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult + { + public readonly string? PalmApiKey; + public readonly string? PalmApiKeyPlaintext; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult( + string? palmApiKey, + + string? palmApiKeyPlaintext) + { + PalmApiKey = palmApiKey; + PalmApiKeyPlaintext = palmApiKeyPlaintext; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelResult.cs new file mode 100644 index 00000000..70cbf3c7 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelResult.cs @@ -0,0 +1,68 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityExternalModelResult + { + public readonly ImmutableArray Ai21labsConfigs; + public readonly ImmutableArray AmazonBedrockConfigs; + public readonly ImmutableArray AnthropicConfigs; + public readonly ImmutableArray CohereConfigs; + public readonly ImmutableArray DatabricksModelServingConfigs; + public readonly ImmutableArray GoogleCloudVertexAiConfigs; + /// + /// The name of the model serving endpoint. + /// + public readonly string Name; + public readonly ImmutableArray OpenaiConfigs; + public readonly ImmutableArray PalmConfigs; + public readonly string Provider; + public readonly string Task; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityExternalModelResult( + ImmutableArray ai21labsConfigs, + + ImmutableArray amazonBedrockConfigs, + + ImmutableArray anthropicConfigs, + + ImmutableArray cohereConfigs, + + ImmutableArray databricksModelServingConfigs, + + ImmutableArray googleCloudVertexAiConfigs, + + string name, + + ImmutableArray openaiConfigs, + + ImmutableArray palmConfigs, + + string provider, + + string task) + { + Ai21labsConfigs = ai21labsConfigs; + AmazonBedrockConfigs = amazonBedrockConfigs; + AnthropicConfigs = anthropicConfigs; + CohereConfigs = cohereConfigs; + DatabricksModelServingConfigs = databricksModelServingConfigs; + GoogleCloudVertexAiConfigs = googleCloudVertexAiConfigs; + Name = name; + OpenaiConfigs = openaiConfigs; + PalmConfigs = palmConfigs; + Provider = provider; + Task = task; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelResult.cs new file mode 100644 index 00000000..46aa2f3c --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelResult.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityFoundationModelResult + { + public readonly string? Description; + public readonly string? DisplayName; + public readonly string? Docs; + /// + /// The name of the model serving endpoint. + /// + public readonly string? Name; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityFoundationModelResult( + string? description, + + string? displayName, + + string? docs, + + string? name) + { + Description = description; + DisplayName = displayName; + Docs = docs; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityResult.cs new file mode 100644 index 00000000..5c8712d2 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedEntityResult.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedEntityResult + { + public readonly string? EntityName; + public readonly string? EntityVersion; + public readonly ImmutableArray ExternalModels; + public readonly ImmutableArray FoundationModels; + /// + /// The name of the model serving endpoint. + /// + public readonly string? Name; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedEntityResult( + string? entityName, + + string? entityVersion, + + ImmutableArray externalModels, + + ImmutableArray foundationModels, + + string? name) + { + EntityName = entityName; + EntityVersion = entityVersion; + ExternalModels = externalModels; + FoundationModels = foundationModels; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedModelResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedModelResult.cs new file mode 100644 index 00000000..29298dbe --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointConfigServedModelResult.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointConfigServedModelResult + { + public readonly string? ModelName; + public readonly string? ModelVersion; + /// + /// The name of the model serving endpoint. + /// + public readonly string? Name; + + [OutputConstructor] + private GetServingEndpointsEndpointConfigServedModelResult( + string? modelName, + + string? modelVersion, + + string? name) + { + ModelName = modelName; + ModelVersion = modelVersion; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointResult.cs new file mode 100644 index 00000000..e609a1b8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointResult.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointResult + { + /// + /// A block with AI Gateway configuration for the serving endpoint. + /// + public readonly ImmutableArray AiGateways; + /// + /// The model serving endpoint configuration. + /// + public readonly ImmutableArray Configs; + public readonly int? CreationTimestamp; + public readonly string? Creator; + public readonly string? Id; + public readonly int? LastUpdatedTimestamp; + /// + /// The name of the model serving endpoint. + /// + public readonly string? Name; + public readonly ImmutableArray States; + /// + /// Tags to be attached to the serving endpoint and automatically propagated to billing logs. + /// + public readonly ImmutableArray Tags; + public readonly string? Task; + + [OutputConstructor] + private GetServingEndpointsEndpointResult( + ImmutableArray aiGateways, + + ImmutableArray configs, + + int? creationTimestamp, + + string? creator, + + string? id, + + int? lastUpdatedTimestamp, + + string? name, + + ImmutableArray states, + + ImmutableArray tags, + + string? task) + { + AiGateways = aiGateways; + Configs = configs; + CreationTimestamp = creationTimestamp; + Creator = creator; + Id = id; + LastUpdatedTimestamp = lastUpdatedTimestamp; + Name = name; + States = states; + Tags = tags; + Task = task; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointStateResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointStateResult.cs new file mode 100644 index 00000000..9e4cc155 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointStateResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointStateResult + { + public readonly string? ConfigUpdate; + public readonly string? Ready; + + [OutputConstructor] + private GetServingEndpointsEndpointStateResult( + string? configUpdate, + + string? ready) + { + ConfigUpdate = configUpdate; + Ready = ready; + } + } +} diff --git a/sdk/dotnet/Outputs/GetServingEndpointsEndpointTagResult.cs b/sdk/dotnet/Outputs/GetServingEndpointsEndpointTagResult.cs new file mode 100644 index 00000000..c6d6a286 --- /dev/null +++ b/sdk/dotnet/Outputs/GetServingEndpointsEndpointTagResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class GetServingEndpointsEndpointTagResult + { + public readonly string Key; + public readonly string? Value; + + [OutputConstructor] + private GetServingEndpointsEndpointTagResult( + string key, + + string? value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs b/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs index 379239ed..90a84614 100644 --- a/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs +++ b/sdk/dotnet/Outputs/JobJobClusterNewCluster.cs @@ -32,6 +32,8 @@ public sealed class JobJobClusterNewCluster public readonly string? IdempotencyToken; public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; + public readonly bool? IsSingleNode; + public readonly string? Kind; /// /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// @@ -45,6 +47,7 @@ public sealed class JobJobClusterNewCluster public readonly ImmutableDictionary? SparkEnvVars; public readonly string SparkVersion; public readonly ImmutableArray SshPublicKeys; + public readonly bool? UseMlRuntime; /// /// isn't supported /// @@ -90,6 +93,10 @@ private JobJobClusterNewCluster( string? instancePoolId, + bool? isSingleNode, + + string? kind, + ImmutableArray libraries, string? nodeTypeId, @@ -110,6 +117,8 @@ private JobJobClusterNewCluster( ImmutableArray sshPublicKeys, + bool? useMlRuntime, + Outputs.JobJobClusterNewClusterWorkloadType? workloadType) { ApplyPolicyDefaultValues = applyPolicyDefaultValues; @@ -131,6 +140,8 @@ private JobJobClusterNewCluster( IdempotencyToken = idempotencyToken; InitScripts = initScripts; InstancePoolId = instancePoolId; + IsSingleNode = isSingleNode; + Kind = kind; Libraries = libraries; NodeTypeId = nodeTypeId; NumWorkers = numWorkers; @@ -141,6 +152,7 @@ private JobJobClusterNewCluster( SparkEnvVars = sparkEnvVars; SparkVersion = sparkVersion; SshPublicKeys = sshPublicKeys; + UseMlRuntime = useMlRuntime; WorkloadType = workloadType; } } diff --git a/sdk/dotnet/Outputs/JobNewCluster.cs b/sdk/dotnet/Outputs/JobNewCluster.cs index ad55b32c..d8e272c3 100644 --- a/sdk/dotnet/Outputs/JobNewCluster.cs +++ b/sdk/dotnet/Outputs/JobNewCluster.cs @@ -32,6 +32,8 @@ public sealed class JobNewCluster public readonly string? IdempotencyToken; public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; + public readonly bool? IsSingleNode; + public readonly string? Kind; /// /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// @@ -45,6 +47,7 @@ public sealed class JobNewCluster public readonly ImmutableDictionary? SparkEnvVars; public readonly string SparkVersion; public readonly ImmutableArray SshPublicKeys; + public readonly bool? UseMlRuntime; /// /// isn't supported /// @@ -90,6 +93,10 @@ private JobNewCluster( string? instancePoolId, + bool? isSingleNode, + + string? kind, + ImmutableArray libraries, string? nodeTypeId, @@ -110,6 +117,8 @@ private JobNewCluster( ImmutableArray sshPublicKeys, + bool? useMlRuntime, + Outputs.JobNewClusterWorkloadType? workloadType) { ApplyPolicyDefaultValues = applyPolicyDefaultValues; @@ -131,6 +140,8 @@ private JobNewCluster( IdempotencyToken = idempotencyToken; InitScripts = initScripts; InstancePoolId = instancePoolId; + IsSingleNode = isSingleNode; + Kind = kind; Libraries = libraries; NodeTypeId = nodeTypeId; NumWorkers = numWorkers; @@ -141,6 +152,7 @@ private JobNewCluster( SparkEnvVars = sparkEnvVars; SparkVersion = sparkVersion; SshPublicKeys = sshPublicKeys; + UseMlRuntime = useMlRuntime; WorkloadType = workloadType; } } diff --git a/sdk/dotnet/Outputs/JobTask.cs b/sdk/dotnet/Outputs/JobTask.cs index 3a554ab2..e802bf54 100644 --- a/sdk/dotnet/Outputs/JobTask.cs +++ b/sdk/dotnet/Outputs/JobTask.cs @@ -13,6 +13,7 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class JobTask { + public readonly Outputs.JobTaskCleanRoomsNotebookTask? CleanRoomsNotebookTask; public readonly Outputs.JobTaskConditionTask? ConditionTask; public readonly Outputs.JobTaskDbtTask? DbtTask; /// @@ -102,6 +103,8 @@ public sealed class JobTask [OutputConstructor] private JobTask( + Outputs.JobTaskCleanRoomsNotebookTask? cleanRoomsNotebookTask, + Outputs.JobTaskConditionTask? conditionTask, Outputs.JobTaskDbtTask? dbtTask, @@ -160,6 +163,7 @@ private JobTask( Outputs.JobTaskWebhookNotifications? webhookNotifications) { + CleanRoomsNotebookTask = cleanRoomsNotebookTask; ConditionTask = conditionTask; DbtTask = dbtTask; DependsOns = dependsOns; diff --git a/sdk/dotnet/Outputs/JobTaskCleanRoomsNotebookTask.cs b/sdk/dotnet/Outputs/JobTaskCleanRoomsNotebookTask.cs new file mode 100644 index 00000000..c40553dd --- /dev/null +++ b/sdk/dotnet/Outputs/JobTaskCleanRoomsNotebookTask.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class JobTaskCleanRoomsNotebookTask + { + public readonly string CleanRoomName; + public readonly string? Etag; + public readonly ImmutableDictionary? NotebookBaseParameters; + public readonly string NotebookName; + + [OutputConstructor] + private JobTaskCleanRoomsNotebookTask( + string cleanRoomName, + + string? etag, + + ImmutableDictionary? notebookBaseParameters, + + string notebookName) + { + CleanRoomName = cleanRoomName; + Etag = etag; + NotebookBaseParameters = notebookBaseParameters; + NotebookName = notebookName; + } + } +} diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs index 9566e944..4bdf0c05 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTask.cs @@ -13,6 +13,7 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class JobTaskForEachTaskTask { + public readonly Outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask? CleanRoomsNotebookTask; public readonly Outputs.JobTaskForEachTaskTaskConditionTask? ConditionTask; public readonly Outputs.JobTaskForEachTaskTaskDbtTask? DbtTask; /// @@ -101,6 +102,8 @@ public sealed class JobTaskForEachTaskTask [OutputConstructor] private JobTaskForEachTaskTask( + Outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask? cleanRoomsNotebookTask, + Outputs.JobTaskForEachTaskTaskConditionTask? conditionTask, Outputs.JobTaskForEachTaskTaskDbtTask? dbtTask, @@ -157,6 +160,7 @@ private JobTaskForEachTaskTask( Outputs.JobTaskForEachTaskTaskWebhookNotifications? webhookNotifications) { + CleanRoomsNotebookTask = cleanRoomsNotebookTask; ConditionTask = conditionTask; DbtTask = dbtTask; DependsOns = dependsOns; diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskCleanRoomsNotebookTask.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskCleanRoomsNotebookTask.cs new file mode 100644 index 00000000..b253349f --- /dev/null +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskCleanRoomsNotebookTask.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks.Outputs +{ + + [OutputType] + public sealed class JobTaskForEachTaskTaskCleanRoomsNotebookTask + { + public readonly string CleanRoomName; + public readonly string? Etag; + public readonly ImmutableDictionary? NotebookBaseParameters; + public readonly string NotebookName; + + [OutputConstructor] + private JobTaskForEachTaskTaskCleanRoomsNotebookTask( + string cleanRoomName, + + string? etag, + + ImmutableDictionary? notebookBaseParameters, + + string notebookName) + { + CleanRoomName = cleanRoomName; + Etag = etag; + NotebookBaseParameters = notebookBaseParameters; + NotebookName = notebookName; + } + } +} diff --git a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs index 873735f4..148399d2 100644 --- a/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs +++ b/sdk/dotnet/Outputs/JobTaskForEachTaskTaskNewCluster.cs @@ -32,6 +32,8 @@ public sealed class JobTaskForEachTaskTaskNewCluster public readonly string? IdempotencyToken; public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; + public readonly bool? IsSingleNode; + public readonly string? Kind; /// /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// @@ -45,6 +47,7 @@ public sealed class JobTaskForEachTaskTaskNewCluster public readonly ImmutableDictionary? SparkEnvVars; public readonly string SparkVersion; public readonly ImmutableArray SshPublicKeys; + public readonly bool? UseMlRuntime; /// /// isn't supported /// @@ -90,6 +93,10 @@ private JobTaskForEachTaskTaskNewCluster( string? instancePoolId, + bool? isSingleNode, + + string? kind, + ImmutableArray libraries, string? nodeTypeId, @@ -110,6 +117,8 @@ private JobTaskForEachTaskTaskNewCluster( ImmutableArray sshPublicKeys, + bool? useMlRuntime, + Outputs.JobTaskForEachTaskTaskNewClusterWorkloadType? workloadType) { ApplyPolicyDefaultValues = applyPolicyDefaultValues; @@ -131,6 +140,8 @@ private JobTaskForEachTaskTaskNewCluster( IdempotencyToken = idempotencyToken; InitScripts = initScripts; InstancePoolId = instancePoolId; + IsSingleNode = isSingleNode; + Kind = kind; Libraries = libraries; NodeTypeId = nodeTypeId; NumWorkers = numWorkers; @@ -141,6 +152,7 @@ private JobTaskForEachTaskTaskNewCluster( SparkEnvVars = sparkEnvVars; SparkVersion = sparkVersion; SshPublicKeys = sshPublicKeys; + UseMlRuntime = useMlRuntime; WorkloadType = workloadType; } } diff --git a/sdk/dotnet/Outputs/JobTaskNewCluster.cs b/sdk/dotnet/Outputs/JobTaskNewCluster.cs index a607cc34..515e4c6c 100644 --- a/sdk/dotnet/Outputs/JobTaskNewCluster.cs +++ b/sdk/dotnet/Outputs/JobTaskNewCluster.cs @@ -32,6 +32,8 @@ public sealed class JobTaskNewCluster public readonly string? IdempotencyToken; public readonly ImmutableArray InitScripts; public readonly string? InstancePoolId; + public readonly bool? IsSingleNode; + public readonly string? Kind; /// /// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. /// @@ -45,6 +47,7 @@ public sealed class JobTaskNewCluster public readonly ImmutableDictionary? SparkEnvVars; public readonly string SparkVersion; public readonly ImmutableArray SshPublicKeys; + public readonly bool? UseMlRuntime; /// /// isn't supported /// @@ -90,6 +93,10 @@ private JobTaskNewCluster( string? instancePoolId, + bool? isSingleNode, + + string? kind, + ImmutableArray libraries, string? nodeTypeId, @@ -110,6 +117,8 @@ private JobTaskNewCluster( ImmutableArray sshPublicKeys, + bool? useMlRuntime, + Outputs.JobTaskNewClusterWorkloadType? workloadType) { ApplyPolicyDefaultValues = applyPolicyDefaultValues; @@ -131,6 +140,8 @@ private JobTaskNewCluster( IdempotencyToken = idempotencyToken; InitScripts = initScripts; InstancePoolId = instancePoolId; + IsSingleNode = isSingleNode; + Kind = kind; Libraries = libraries; NodeTypeId = nodeTypeId; NumWorkers = numWorkers; @@ -141,6 +152,7 @@ private JobTaskNewCluster( SparkEnvVars = sparkEnvVars; SparkVersion = sparkVersion; SshPublicKeys = sshPublicKeys; + UseMlRuntime = useMlRuntime; WorkloadType = workloadType; } } diff --git a/sdk/dotnet/Outputs/PipelineRestartWindow.cs b/sdk/dotnet/Outputs/PipelineRestartWindow.cs index c2c6ef8f..58a9e6bc 100644 --- a/sdk/dotnet/Outputs/PipelineRestartWindow.cs +++ b/sdk/dotnet/Outputs/PipelineRestartWindow.cs @@ -13,19 +13,19 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class PipelineRestartWindow { - public readonly string? DaysOfWeek; + public readonly ImmutableArray DaysOfWeeks; public readonly int StartHour; public readonly string? TimeZoneId; [OutputConstructor] private PipelineRestartWindow( - string? daysOfWeek, + ImmutableArray daysOfWeeks, int startHour, string? timeZoneId) { - DaysOfWeek = daysOfWeek; + DaysOfWeeks = daysOfWeeks; StartHour = startHour; TimeZoneId = timeZoneId; } diff --git a/sdk/dotnet/Permissions.cs b/sdk/dotnet/Permissions.cs index 8f205a42..e44f59af 100644 --- a/sdk/dotnet/Permissions.cs +++ b/sdk/dotnet/Permissions.cs @@ -887,6 +887,52 @@ namespace Pulumi.Databricks /// }); /// ``` /// + /// ## Mosaic AI Vector Search usage + /// + /// Valid permission levels for databricks.VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`. + /// + /// > You need to use the `endpoint_id` attribute of `databricks.VectorSearchEndpoint` as value for `vector_search_endpoint_id`, not the `id`! + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = new Databricks.VectorSearchEndpoint("this", new() + /// { + /// Name = "vector-search-test", + /// EndpointType = "STANDARD", + /// }); + /// + /// var eng = new Databricks.Group("eng", new() + /// { + /// DisplayName = "Engineering", + /// }); + /// + /// var vectorSearchEndpointUsage = new Databricks.Permissions("vector_search_endpoint_usage", new() + /// { + /// VectorSearchEndpointId = @this.EndpointId, + /// AccessControls = new[] + /// { + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = "users", + /// PermissionLevel = "CAN_USE", + /// }, + /// new Databricks.Inputs.PermissionsAccessControlArgs + /// { + /// GroupName = eng.DisplayName, + /// PermissionLevel = "CAN_MANAGE", + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// /// ## Passwords usage /// /// By default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control. @@ -1243,6 +1289,9 @@ public partial class Permissions : global::Pulumi.CustomResource [Output("accessControls")] public Output> AccessControls { get; private set; } = null!; + [Output("appName")] + public Output AppName { get; private set; } = null!; + [Output("authorization")] public Output Authorization { get; private set; } = null!; @@ -1309,6 +1358,9 @@ public partial class Permissions : global::Pulumi.CustomResource [Output("sqlQueryId")] public Output SqlQueryId { get; private set; } = null!; + [Output("vectorSearchEndpointId")] + public Output VectorSearchEndpointId { get; private set; } = null!; + [Output("workspaceFileId")] public Output WorkspaceFileId { get; private set; } = null!; @@ -1369,6 +1421,9 @@ public InputList AccessControls set => _accessControls = value; } + [Input("appName")] + public Input? AppName { get; set; } + [Input("authorization")] public Input? Authorization { get; set; } @@ -1435,6 +1490,9 @@ public InputList AccessControls [Input("sqlQueryId")] public Input? SqlQueryId { get; set; } + [Input("vectorSearchEndpointId")] + public Input? VectorSearchEndpointId { get; set; } + [Input("workspaceFileId")] public Input? WorkspaceFileId { get; set; } @@ -1457,6 +1515,9 @@ public InputList AccessControls set => _accessControls = value; } + [Input("appName")] + public Input? AppName { get; set; } + [Input("authorization")] public Input? Authorization { get; set; } @@ -1523,6 +1584,9 @@ public InputList AccessControls [Input("sqlQueryId")] public Input? SqlQueryId { get; set; } + [Input("vectorSearchEndpointId")] + public Input? VectorSearchEndpointId { get; set; } + [Input("workspaceFileId")] public Input? WorkspaceFileId { get; set; } diff --git a/sdk/dotnet/Query.cs b/sdk/dotnet/Query.cs index fe152bfb..eae5165a 100644 --- a/sdk/dotnet/Query.cs +++ b/sdk/dotnet/Query.cs @@ -90,7 +90,7 @@ public partial class Query : global::Pulumi.CustomResource public Output QueryText { get; private set; } = null!; /// - /// Sets the "Run as" role for the object. + /// Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. /// [Output("runAsMode")] public Output RunAsMode { get; private set; } = null!; @@ -220,7 +220,7 @@ public InputList Parameters public Input QueryText { get; set; } = null!; /// - /// Sets the "Run as" role for the object. + /// Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. /// [Input("runAsMode")] public Input? RunAsMode { get; set; } @@ -330,7 +330,7 @@ public InputList Parameters public Input? QueryText { get; set; } /// - /// Sets the "Run as" role for the object. + /// Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. /// [Input("runAsMode")] public Input? RunAsMode { get; set; } diff --git a/sdk/dotnet/StorageCredential.cs b/sdk/dotnet/StorageCredential.cs index 1a3554a6..8afabf4a 100644 --- a/sdk/dotnet/StorageCredential.cs +++ b/sdk/dotnet/StorageCredential.cs @@ -17,6 +17,8 @@ namespace Pulumi.Databricks /// - `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential. /// - databricks.ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location. /// + /// On AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. + /// /// ## Example Usage /// /// For AWS @@ -80,7 +82,7 @@ namespace Pulumi.Databricks /// /// var externalCreds = new Databricks.Grants("external_creds", new() /// { - /// StorageCredential = external.Id, + /// StorageCredential = externalMi.Id, /// GrantDetails = new[] /// { /// new Databricks.Inputs.GrantsGrantArgs diff --git a/sdk/dotnet/WorkspaceBinding.cs b/sdk/dotnet/WorkspaceBinding.cs index 4a667e78..0ab5e27e 100644 --- a/sdk/dotnet/WorkspaceBinding.cs +++ b/sdk/dotnet/WorkspaceBinding.cs @@ -16,7 +16,7 @@ namespace Pulumi.Databricks /// /// By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `databricks.WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource. /// - /// > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks.ExternalLocation or databricks_storage_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). + /// > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, databricks.StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). /// /// > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from. /// @@ -72,7 +72,7 @@ public partial class WorkspaceBinding : global::Pulumi.CustomResource public Output SecurableName { get; private set; } = null!; /// - /// Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + /// Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. /// [Output("securableType")] public Output SecurableType { get; private set; } = null!; @@ -145,7 +145,7 @@ public sealed class WorkspaceBindingArgs : global::Pulumi.ResourceArgs public Input? SecurableName { get; set; } /// - /// Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + /// Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. /// [Input("securableType")] public Input? SecurableType { get; set; } @@ -180,7 +180,7 @@ public sealed class WorkspaceBindingState : global::Pulumi.ResourceArgs public Input? SecurableName { get; set; } /// - /// Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + /// Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. /// [Input("securableType")] public Input? SecurableType { get; set; } diff --git a/sdk/dotnet/WorkspaceConf.cs b/sdk/dotnet/WorkspaceConf.cs index 6e786ba4..813ae2f4 100644 --- a/sdk/dotnet/WorkspaceConf.cs +++ b/sdk/dotnet/WorkspaceConf.cs @@ -21,7 +21,7 @@ namespace Pulumi.Databricks /// Allows specification of custom configuration properties for expert usage: /// /// - `enableIpAccessLists` - enables the use of databricks.IpAccessList resources - /// - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. + /// - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. /// - `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace. /// - `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace. /// - `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace. diff --git a/sdk/go/databricks/app.go b/sdk/go/databricks/app.go new file mode 100644 index 00000000..bb1e472d --- /dev/null +++ b/sdk/go/databricks/app.go @@ -0,0 +1,400 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). +// +// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. +// +// ## Import +// +// This resource can be imported by name: +// +// hcl +// +// import { +// +// to = databricks_app.this +// +// id = "" +// +// } +// +// or using the `terraform` CLI: +// +// bash +// +// ```sh +// $ pulumi import databricks:index/app:App this +// ``` +type App struct { + pulumi.CustomResourceState + + ActiveDeployment AppActiveDeploymentOutput `pulumi:"activeDeployment"` + // attribute + AppStatus AppAppStatusOutput `pulumi:"appStatus"` + // attribute + ComputeStatus AppComputeStatusOutput `pulumi:"computeStatus"` + // The creation time of the app. + CreateTime pulumi.StringOutput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringOutput `pulumi:"creator"` + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath pulumi.StringOutput `pulumi:"defaultSourceCodePath"` + // The description of the app. + Description pulumi.StringPtrOutput `pulumi:"description"` + // The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + Name pulumi.StringOutput `pulumi:"name"` + PendingDeployment AppPendingDeploymentOutput `pulumi:"pendingDeployment"` + // A list of resources that the app have access to. + Resources AppResourceArrayOutput `pulumi:"resources"` + ServicePrincipalClientId pulumi.StringOutput `pulumi:"servicePrincipalClientId"` + // id of the app service principal + ServicePrincipalId pulumi.IntOutput `pulumi:"servicePrincipalId"` + // name of the app service principal + ServicePrincipalName pulumi.StringOutput `pulumi:"servicePrincipalName"` + // The update time of the app. + UpdateTime pulumi.StringOutput `pulumi:"updateTime"` + // The email of the user that last updated the app. + Updater pulumi.StringOutput `pulumi:"updater"` + // The URL of the app once it is deployed. + Url pulumi.StringOutput `pulumi:"url"` +} + +// NewApp registers a new resource with the given unique name, arguments, and options. +func NewApp(ctx *pulumi.Context, + name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error) { + if args == nil { + args = &AppArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource App + err := ctx.RegisterResource("databricks:index/app:App", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetApp gets an existing App resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetApp(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error) { + var resource App + err := ctx.ReadResource("databricks:index/app:App", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering App resources. +type appState struct { + ActiveDeployment *AppActiveDeployment `pulumi:"activeDeployment"` + // attribute + AppStatus *AppAppStatus `pulumi:"appStatus"` + // attribute + ComputeStatus *AppComputeStatus `pulumi:"computeStatus"` + // The creation time of the app. + CreateTime *string `pulumi:"createTime"` + // The email of the user that created the app. + Creator *string `pulumi:"creator"` + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath *string `pulumi:"defaultSourceCodePath"` + // The description of the app. + Description *string `pulumi:"description"` + // The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + Name *string `pulumi:"name"` + PendingDeployment *AppPendingDeployment `pulumi:"pendingDeployment"` + // A list of resources that the app have access to. + Resources []AppResource `pulumi:"resources"` + ServicePrincipalClientId *string `pulumi:"servicePrincipalClientId"` + // id of the app service principal + ServicePrincipalId *int `pulumi:"servicePrincipalId"` + // name of the app service principal + ServicePrincipalName *string `pulumi:"servicePrincipalName"` + // The update time of the app. + UpdateTime *string `pulumi:"updateTime"` + // The email of the user that last updated the app. + Updater *string `pulumi:"updater"` + // The URL of the app once it is deployed. + Url *string `pulumi:"url"` +} + +type AppState struct { + ActiveDeployment AppActiveDeploymentPtrInput + // attribute + AppStatus AppAppStatusPtrInput + // attribute + ComputeStatus AppComputeStatusPtrInput + // The creation time of the app. + CreateTime pulumi.StringPtrInput + // The email of the user that created the app. + Creator pulumi.StringPtrInput + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath pulumi.StringPtrInput + // The description of the app. + Description pulumi.StringPtrInput + // The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + Name pulumi.StringPtrInput + PendingDeployment AppPendingDeploymentPtrInput + // A list of resources that the app have access to. + Resources AppResourceArrayInput + ServicePrincipalClientId pulumi.StringPtrInput + // id of the app service principal + ServicePrincipalId pulumi.IntPtrInput + // name of the app service principal + ServicePrincipalName pulumi.StringPtrInput + // The update time of the app. + UpdateTime pulumi.StringPtrInput + // The email of the user that last updated the app. + Updater pulumi.StringPtrInput + // The URL of the app once it is deployed. + Url pulumi.StringPtrInput +} + +func (AppState) ElementType() reflect.Type { + return reflect.TypeOf((*appState)(nil)).Elem() +} + +type appArgs struct { + // The description of the app. + Description *string `pulumi:"description"` + // The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + Name *string `pulumi:"name"` + // A list of resources that the app have access to. + Resources []AppResource `pulumi:"resources"` +} + +// The set of arguments for constructing a App resource. +type AppArgs struct { + // The description of the app. + Description pulumi.StringPtrInput + // The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + Name pulumi.StringPtrInput + // A list of resources that the app have access to. + Resources AppResourceArrayInput +} + +func (AppArgs) ElementType() reflect.Type { + return reflect.TypeOf((*appArgs)(nil)).Elem() +} + +type AppInput interface { + pulumi.Input + + ToAppOutput() AppOutput + ToAppOutputWithContext(ctx context.Context) AppOutput +} + +func (*App) ElementType() reflect.Type { + return reflect.TypeOf((**App)(nil)).Elem() +} + +func (i *App) ToAppOutput() AppOutput { + return i.ToAppOutputWithContext(context.Background()) +} + +func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppOutput) +} + +// AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. +// You can construct a concrete instance of `AppArrayInput` via: +// +// AppArray{ AppArgs{...} } +type AppArrayInput interface { + pulumi.Input + + ToAppArrayOutput() AppArrayOutput + ToAppArrayOutputWithContext(context.Context) AppArrayOutput +} + +type AppArray []AppInput + +func (AppArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*App)(nil)).Elem() +} + +func (i AppArray) ToAppArrayOutput() AppArrayOutput { + return i.ToAppArrayOutputWithContext(context.Background()) +} + +func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppArrayOutput) +} + +// AppMapInput is an input type that accepts AppMap and AppMapOutput values. +// You can construct a concrete instance of `AppMapInput` via: +// +// AppMap{ "key": AppArgs{...} } +type AppMapInput interface { + pulumi.Input + + ToAppMapOutput() AppMapOutput + ToAppMapOutputWithContext(context.Context) AppMapOutput +} + +type AppMap map[string]AppInput + +func (AppMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*App)(nil)).Elem() +} + +func (i AppMap) ToAppMapOutput() AppMapOutput { + return i.ToAppMapOutputWithContext(context.Background()) +} + +func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppMapOutput) +} + +type AppOutput struct{ *pulumi.OutputState } + +func (AppOutput) ElementType() reflect.Type { + return reflect.TypeOf((**App)(nil)).Elem() +} + +func (o AppOutput) ToAppOutput() AppOutput { + return o +} + +func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput { + return o +} + +func (o AppOutput) ActiveDeployment() AppActiveDeploymentOutput { + return o.ApplyT(func(v *App) AppActiveDeploymentOutput { return v.ActiveDeployment }).(AppActiveDeploymentOutput) +} + +// attribute +func (o AppOutput) AppStatus() AppAppStatusOutput { + return o.ApplyT(func(v *App) AppAppStatusOutput { return v.AppStatus }).(AppAppStatusOutput) +} + +// attribute +func (o AppOutput) ComputeStatus() AppComputeStatusOutput { + return o.ApplyT(func(v *App) AppComputeStatusOutput { return v.ComputeStatus }).(AppComputeStatusOutput) +} + +// The creation time of the app. +func (o AppOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) +} + +// The email of the user that created the app. +func (o AppOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.Creator }).(pulumi.StringOutput) +} + +// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. +func (o AppOutput) DefaultSourceCodePath() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.DefaultSourceCodePath }).(pulumi.StringOutput) +} + +// The description of the app. +func (o AppOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *App) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. +func (o AppOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o AppOutput) PendingDeployment() AppPendingDeploymentOutput { + return o.ApplyT(func(v *App) AppPendingDeploymentOutput { return v.PendingDeployment }).(AppPendingDeploymentOutput) +} + +// A list of resources that the app have access to. +func (o AppOutput) Resources() AppResourceArrayOutput { + return o.ApplyT(func(v *App) AppResourceArrayOutput { return v.Resources }).(AppResourceArrayOutput) +} + +func (o AppOutput) ServicePrincipalClientId() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.ServicePrincipalClientId }).(pulumi.StringOutput) +} + +// id of the app service principal +func (o AppOutput) ServicePrincipalId() pulumi.IntOutput { + return o.ApplyT(func(v *App) pulumi.IntOutput { return v.ServicePrincipalId }).(pulumi.IntOutput) +} + +// name of the app service principal +func (o AppOutput) ServicePrincipalName() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.ServicePrincipalName }).(pulumi.StringOutput) +} + +// The update time of the app. +func (o AppOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.UpdateTime }).(pulumi.StringOutput) +} + +// The email of the user that last updated the app. +func (o AppOutput) Updater() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.Updater }).(pulumi.StringOutput) +} + +// The URL of the app once it is deployed. +func (o AppOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +type AppArrayOutput struct{ *pulumi.OutputState } + +func (AppArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*App)(nil)).Elem() +} + +func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput { + return o +} + +func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput { + return o +} + +func (o AppArrayOutput) Index(i pulumi.IntInput) AppOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *App { + return vs[0].([]*App)[vs[1].(int)] + }).(AppOutput) +} + +type AppMapOutput struct{ *pulumi.OutputState } + +func (AppMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*App)(nil)).Elem() +} + +func (o AppMapOutput) ToAppMapOutput() AppMapOutput { + return o +} + +func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput { + return o +} + +func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *App { + return vs[0].(map[string]*App)[vs[1].(string)] + }).(AppOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AppInput)(nil)).Elem(), &App{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppArrayInput)(nil)).Elem(), AppArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppMapInput)(nil)).Elem(), AppMap{}) + pulumi.RegisterOutputType(AppOutput{}) + pulumi.RegisterOutputType(AppArrayOutput{}) + pulumi.RegisterOutputType(AppMapOutput{}) +} diff --git a/sdk/go/databricks/cluster.go b/sdk/go/databricks/cluster.go index 8c8699d2..ef4cc39b 100644 --- a/sdk/go/databricks/cluster.go +++ b/sdk/go/databricks/cluster.go @@ -91,8 +91,10 @@ type Cluster struct { // To reduce cluster start time, you can attach a cluster to a predefined pool of idle instances. When attached to a pool, a cluster allocates its driver and worker nodes from the pool. If the pool does not have sufficient idle resources to accommodate the cluster’s request, it expands by allocating new instances from the instance provider. When an attached cluster changes its state to `TERMINATED`, the instances it used are returned to the pool and reused by a different cluster. InstancePoolId pulumi.StringPtrOutput `pulumi:"instancePoolId"` // boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). - IsPinned pulumi.BoolPtrOutput `pulumi:"isPinned"` - Libraries ClusterLibraryArrayOutput `pulumi:"libraries"` + IsPinned pulumi.BoolPtrOutput `pulumi:"isPinned"` + IsSingleNode pulumi.BoolPtrOutput `pulumi:"isSingleNode"` + Kind pulumi.StringPtrOutput `pulumi:"kind"` + Libraries ClusterLibraryArrayOutput `pulumi:"libraries"` // If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). // // The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled: @@ -165,6 +167,7 @@ type Cluster struct { // (string) State of the cluster. State pulumi.StringOutput `pulumi:"state"` Url pulumi.StringOutput `pulumi:"url"` + UseMlRuntime pulumi.BoolPtrOutput `pulumi:"useMlRuntime"` WorkloadType ClusterWorkloadTypePtrOutput `pulumi:"workloadType"` } @@ -268,8 +271,10 @@ type clusterState struct { // To reduce cluster start time, you can attach a cluster to a predefined pool of idle instances. When attached to a pool, a cluster allocates its driver and worker nodes from the pool. If the pool does not have sufficient idle resources to accommodate the cluster’s request, it expands by allocating new instances from the instance provider. When an attached cluster changes its state to `TERMINATED`, the instances it used are returned to the pool and reused by a different cluster. InstancePoolId *string `pulumi:"instancePoolId"` // boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). - IsPinned *bool `pulumi:"isPinned"` - Libraries []ClusterLibrary `pulumi:"libraries"` + IsPinned *bool `pulumi:"isPinned"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + Libraries []ClusterLibrary `pulumi:"libraries"` // If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). // // The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled: @@ -342,6 +347,7 @@ type clusterState struct { // (string) State of the cluster. State *string `pulumi:"state"` Url *string `pulumi:"url"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` WorkloadType *ClusterWorkloadType `pulumi:"workloadType"` } @@ -413,8 +419,10 @@ type ClusterState struct { // To reduce cluster start time, you can attach a cluster to a predefined pool of idle instances. When attached to a pool, a cluster allocates its driver and worker nodes from the pool. If the pool does not have sufficient idle resources to accommodate the cluster’s request, it expands by allocating new instances from the instance provider. When an attached cluster changes its state to `TERMINATED`, the instances it used are returned to the pool and reused by a different cluster. InstancePoolId pulumi.StringPtrInput // boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). - IsPinned pulumi.BoolPtrInput - Libraries ClusterLibraryArrayInput + IsPinned pulumi.BoolPtrInput + IsSingleNode pulumi.BoolPtrInput + Kind pulumi.StringPtrInput + Libraries ClusterLibraryArrayInput // If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). // // The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled: @@ -487,6 +495,7 @@ type ClusterState struct { // (string) State of the cluster. State pulumi.StringPtrInput Url pulumi.StringPtrInput + UseMlRuntime pulumi.BoolPtrInput WorkloadType ClusterWorkloadTypePtrInput } @@ -559,8 +568,10 @@ type clusterArgs struct { // To reduce cluster start time, you can attach a cluster to a predefined pool of idle instances. When attached to a pool, a cluster allocates its driver and worker nodes from the pool. If the pool does not have sufficient idle resources to accommodate the cluster’s request, it expands by allocating new instances from the instance provider. When an attached cluster changes its state to `TERMINATED`, the instances it used are returned to the pool and reused by a different cluster. InstancePoolId *string `pulumi:"instancePoolId"` // boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). - IsPinned *bool `pulumi:"isPinned"` - Libraries []ClusterLibrary `pulumi:"libraries"` + IsPinned *bool `pulumi:"isPinned"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + Libraries []ClusterLibrary `pulumi:"libraries"` // If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). // // The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled: @@ -630,6 +641,7 @@ type clusterArgs struct { SparkVersion string `pulumi:"sparkVersion"` // SSH public key contents that will be added to each Spark node in this cluster. The corresponding private keys can be used to login with the user name ubuntu on port 2200. You can specify up to 10 keys. SshPublicKeys []string `pulumi:"sshPublicKeys"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` WorkloadType *ClusterWorkloadType `pulumi:"workloadType"` } @@ -699,8 +711,10 @@ type ClusterArgs struct { // To reduce cluster start time, you can attach a cluster to a predefined pool of idle instances. When attached to a pool, a cluster allocates its driver and worker nodes from the pool. If the pool does not have sufficient idle resources to accommodate the cluster’s request, it expands by allocating new instances from the instance provider. When an attached cluster changes its state to `TERMINATED`, the instances it used are returned to the pool and reused by a different cluster. InstancePoolId pulumi.StringPtrInput // boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). - IsPinned pulumi.BoolPtrInput - Libraries ClusterLibraryArrayInput + IsPinned pulumi.BoolPtrInput + IsSingleNode pulumi.BoolPtrInput + Kind pulumi.StringPtrInput + Libraries ClusterLibraryArrayInput // If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). // // The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled: @@ -770,6 +784,7 @@ type ClusterArgs struct { SparkVersion pulumi.StringInput // SSH public key contents that will be added to each Spark node in this cluster. The corresponding private keys can be used to login with the user name ubuntu on port 2200. You can specify up to 10 keys. SshPublicKeys pulumi.StringArrayInput + UseMlRuntime pulumi.BoolPtrInput WorkloadType ClusterWorkloadTypePtrInput } @@ -997,6 +1012,14 @@ func (o ClusterOutput) IsPinned() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Cluster) pulumi.BoolPtrOutput { return v.IsPinned }).(pulumi.BoolPtrOutput) } +func (o ClusterOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolPtrOutput { return v.IsSingleNode }).(pulumi.BoolPtrOutput) +} + +func (o ClusterOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput) +} + func (o ClusterOutput) Libraries() ClusterLibraryArrayOutput { return o.ApplyT(func(v *Cluster) ClusterLibraryArrayOutput { return v.Libraries }).(ClusterLibraryArrayOutput) } @@ -1112,6 +1135,10 @@ func (o ClusterOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) } +func (o ClusterOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolPtrOutput { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) +} + func (o ClusterOutput) WorkloadType() ClusterWorkloadTypePtrOutput { return o.ApplyT(func(v *Cluster) ClusterWorkloadTypePtrOutput { return v.WorkloadType }).(ClusterWorkloadTypePtrOutput) } diff --git a/sdk/go/databricks/credential.go b/sdk/go/databricks/credential.go new file mode 100644 index 00000000..f76ec572 --- /dev/null +++ b/sdk/go/databricks/credential.go @@ -0,0 +1,609 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > This resource can only be used with a workspace-level provider. +// +// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). +// +// A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential. +// +// The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`. +// The caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it +// +// On AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. +// +// ## Example Usage +// +// # For AWS +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// external, err := databricks.NewCredential(ctx, "external", &databricks.CredentialArgs{ +// Name: pulumi.Any(externalDataAccess.Name), +// AwsIamRole: &databricks.CredentialAwsIamRoleArgs{ +// RoleArn: pulumi.Any(externalDataAccess.Arn), +// }, +// Purpose: pulumi.String("SERVICE"), +// Comment: pulumi.String("Managed by TF"), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrants(ctx, "external_creds", &databricks.GrantsArgs{ +// Credential: external.ID(), +// Grants: databricks.GrantsGrantArray{ +// &databricks.GrantsGrantArgs{ +// Principal: pulumi.String("Data Engineers"), +// Privileges: pulumi.StringArray{ +// pulumi.String("ACCESS"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// # For Azure +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// externalMi, err := databricks.NewCredential(ctx, "external_mi", &databricks.CredentialArgs{ +// Name: pulumi.String("mi_credential"), +// AzureManagedIdentity: &databricks.CredentialAzureManagedIdentityArgs{ +// AccessConnectorId: pulumi.Any(example.Id), +// }, +// Purpose: pulumi.String("SERVICE"), +// Comment: pulumi.String("Managed identity credential managed by TF"), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrants(ctx, "external_creds", &databricks.GrantsArgs{ +// Credential: externalMi.ID(), +// Grants: databricks.GrantsGrantArray{ +// &databricks.GrantsGrantArgs{ +// Principal: pulumi.String("Data Engineers"), +// Privileges: pulumi.StringArray{ +// pulumi.String("ACCESS"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// For GCP (only applicable when purpose is `STORAGE`) +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// externalGcpSa, err := databricks.NewCredential(ctx, "external_gcp_sa", &databricks.CredentialArgs{ +// Name: pulumi.String("gcp_sa_credential"), +// DatabricksGcpServiceAccount: &databricks.CredentialDatabricksGcpServiceAccountArgs{}, +// Purpose: pulumi.String("STORAGE"), +// Comment: pulumi.String("GCP SA credential managed by TF"), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrants(ctx, "external_creds", &databricks.GrantsArgs{ +// Credential: externalGcpSa.ID(), +// Grants: databricks.GrantsGrantArray{ +// &databricks.GrantsGrantArgs{ +// Principal: pulumi.String("Data Engineers"), +// Privileges: pulumi.StringArray{ +// pulumi.String("ACCESS"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// This resource can be imported by name: +// +// bash +// +// ```sh +// $ pulumi import databricks:index/credential:Credential this +// ``` +type Credential struct { + pulumi.CustomResourceState + + AwsIamRole CredentialAwsIamRolePtrOutput `pulumi:"awsIamRole"` + AzureManagedIdentity CredentialAzureManagedIdentityPtrOutput `pulumi:"azureManagedIdentity"` + AzureServicePrincipal CredentialAzureServicePrincipalPtrOutput `pulumi:"azureServicePrincipal"` + Comment pulumi.StringPtrOutput `pulumi:"comment"` + CreatedAt pulumi.IntOutput `pulumi:"createdAt"` + CreatedBy pulumi.StringOutput `pulumi:"createdBy"` + // Unique ID of the credential. + CredentialId pulumi.StringOutput `pulumi:"credentialId"` + DatabricksGcpServiceAccount CredentialDatabricksGcpServiceAccountOutput `pulumi:"databricksGcpServiceAccount"` + // Delete credential regardless of its dependencies. + ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` + // Update credential regardless of its dependents. + ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"` + FullName pulumi.StringOutput `pulumi:"fullName"` + // Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + // + // `awsIamRole` optional configuration block for credential details for AWS: + IsolationMode pulumi.StringOutput `pulumi:"isolationMode"` + MetastoreId pulumi.StringOutput `pulumi:"metastoreId"` + // Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + Name pulumi.StringOutput `pulumi:"name"` + // Username/groupname/sp applicationId of the credential owner. + Owner pulumi.StringOutput `pulumi:"owner"` + // Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + Purpose pulumi.StringOutput `pulumi:"purpose"` + // Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"` + // Suppress validation errors if any & force save the credential. + SkipValidation pulumi.BoolPtrOutput `pulumi:"skipValidation"` + UpdatedAt pulumi.IntOutput `pulumi:"updatedAt"` + UpdatedBy pulumi.StringOutput `pulumi:"updatedBy"` + UsedForManagedStorage pulumi.BoolOutput `pulumi:"usedForManagedStorage"` +} + +// NewCredential registers a new resource with the given unique name, arguments, and options. +func NewCredential(ctx *pulumi.Context, + name string, args *CredentialArgs, opts ...pulumi.ResourceOption) (*Credential, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Purpose == nil { + return nil, errors.New("invalid value for required argument 'Purpose'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Credential + err := ctx.RegisterResource("databricks:index/credential:Credential", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCredential gets an existing Credential resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCredential(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CredentialState, opts ...pulumi.ResourceOption) (*Credential, error) { + var resource Credential + err := ctx.ReadResource("databricks:index/credential:Credential", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Credential resources. +type credentialState struct { + AwsIamRole *CredentialAwsIamRole `pulumi:"awsIamRole"` + AzureManagedIdentity *CredentialAzureManagedIdentity `pulumi:"azureManagedIdentity"` + AzureServicePrincipal *CredentialAzureServicePrincipal `pulumi:"azureServicePrincipal"` + Comment *string `pulumi:"comment"` + CreatedAt *int `pulumi:"createdAt"` + CreatedBy *string `pulumi:"createdBy"` + // Unique ID of the credential. + CredentialId *string `pulumi:"credentialId"` + DatabricksGcpServiceAccount *CredentialDatabricksGcpServiceAccount `pulumi:"databricksGcpServiceAccount"` + // Delete credential regardless of its dependencies. + ForceDestroy *bool `pulumi:"forceDestroy"` + // Update credential regardless of its dependents. + ForceUpdate *bool `pulumi:"forceUpdate"` + FullName *string `pulumi:"fullName"` + // Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + // + // `awsIamRole` optional configuration block for credential details for AWS: + IsolationMode *string `pulumi:"isolationMode"` + MetastoreId *string `pulumi:"metastoreId"` + // Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + Name *string `pulumi:"name"` + // Username/groupname/sp applicationId of the credential owner. + Owner *string `pulumi:"owner"` + // Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + Purpose *string `pulumi:"purpose"` + // Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + ReadOnly *bool `pulumi:"readOnly"` + // Suppress validation errors if any & force save the credential. + SkipValidation *bool `pulumi:"skipValidation"` + UpdatedAt *int `pulumi:"updatedAt"` + UpdatedBy *string `pulumi:"updatedBy"` + UsedForManagedStorage *bool `pulumi:"usedForManagedStorage"` +} + +type CredentialState struct { + AwsIamRole CredentialAwsIamRolePtrInput + AzureManagedIdentity CredentialAzureManagedIdentityPtrInput + AzureServicePrincipal CredentialAzureServicePrincipalPtrInput + Comment pulumi.StringPtrInput + CreatedAt pulumi.IntPtrInput + CreatedBy pulumi.StringPtrInput + // Unique ID of the credential. + CredentialId pulumi.StringPtrInput + DatabricksGcpServiceAccount CredentialDatabricksGcpServiceAccountPtrInput + // Delete credential regardless of its dependencies. + ForceDestroy pulumi.BoolPtrInput + // Update credential regardless of its dependents. + ForceUpdate pulumi.BoolPtrInput + FullName pulumi.StringPtrInput + // Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + // + // `awsIamRole` optional configuration block for credential details for AWS: + IsolationMode pulumi.StringPtrInput + MetastoreId pulumi.StringPtrInput + // Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + Name pulumi.StringPtrInput + // Username/groupname/sp applicationId of the credential owner. + Owner pulumi.StringPtrInput + // Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + Purpose pulumi.StringPtrInput + // Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + ReadOnly pulumi.BoolPtrInput + // Suppress validation errors if any & force save the credential. + SkipValidation pulumi.BoolPtrInput + UpdatedAt pulumi.IntPtrInput + UpdatedBy pulumi.StringPtrInput + UsedForManagedStorage pulumi.BoolPtrInput +} + +func (CredentialState) ElementType() reflect.Type { + return reflect.TypeOf((*credentialState)(nil)).Elem() +} + +type credentialArgs struct { + AwsIamRole *CredentialAwsIamRole `pulumi:"awsIamRole"` + AzureManagedIdentity *CredentialAzureManagedIdentity `pulumi:"azureManagedIdentity"` + AzureServicePrincipal *CredentialAzureServicePrincipal `pulumi:"azureServicePrincipal"` + Comment *string `pulumi:"comment"` + CreatedAt *int `pulumi:"createdAt"` + CreatedBy *string `pulumi:"createdBy"` + DatabricksGcpServiceAccount *CredentialDatabricksGcpServiceAccount `pulumi:"databricksGcpServiceAccount"` + // Delete credential regardless of its dependencies. + ForceDestroy *bool `pulumi:"forceDestroy"` + // Update credential regardless of its dependents. + ForceUpdate *bool `pulumi:"forceUpdate"` + FullName *string `pulumi:"fullName"` + // Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + // + // `awsIamRole` optional configuration block for credential details for AWS: + IsolationMode *string `pulumi:"isolationMode"` + MetastoreId *string `pulumi:"metastoreId"` + // Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + Name *string `pulumi:"name"` + // Username/groupname/sp applicationId of the credential owner. + Owner *string `pulumi:"owner"` + // Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + Purpose string `pulumi:"purpose"` + // Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + ReadOnly *bool `pulumi:"readOnly"` + // Suppress validation errors if any & force save the credential. + SkipValidation *bool `pulumi:"skipValidation"` + UpdatedAt *int `pulumi:"updatedAt"` + UpdatedBy *string `pulumi:"updatedBy"` + UsedForManagedStorage *bool `pulumi:"usedForManagedStorage"` +} + +// The set of arguments for constructing a Credential resource. +type CredentialArgs struct { + AwsIamRole CredentialAwsIamRolePtrInput + AzureManagedIdentity CredentialAzureManagedIdentityPtrInput + AzureServicePrincipal CredentialAzureServicePrincipalPtrInput + Comment pulumi.StringPtrInput + CreatedAt pulumi.IntPtrInput + CreatedBy pulumi.StringPtrInput + DatabricksGcpServiceAccount CredentialDatabricksGcpServiceAccountPtrInput + // Delete credential regardless of its dependencies. + ForceDestroy pulumi.BoolPtrInput + // Update credential regardless of its dependents. + ForceUpdate pulumi.BoolPtrInput + FullName pulumi.StringPtrInput + // Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + // + // `awsIamRole` optional configuration block for credential details for AWS: + IsolationMode pulumi.StringPtrInput + MetastoreId pulumi.StringPtrInput + // Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + Name pulumi.StringPtrInput + // Username/groupname/sp applicationId of the credential owner. + Owner pulumi.StringPtrInput + // Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + Purpose pulumi.StringInput + // Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + ReadOnly pulumi.BoolPtrInput + // Suppress validation errors if any & force save the credential. + SkipValidation pulumi.BoolPtrInput + UpdatedAt pulumi.IntPtrInput + UpdatedBy pulumi.StringPtrInput + UsedForManagedStorage pulumi.BoolPtrInput +} + +func (CredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*credentialArgs)(nil)).Elem() +} + +type CredentialInput interface { + pulumi.Input + + ToCredentialOutput() CredentialOutput + ToCredentialOutputWithContext(ctx context.Context) CredentialOutput +} + +func (*Credential) ElementType() reflect.Type { + return reflect.TypeOf((**Credential)(nil)).Elem() +} + +func (i *Credential) ToCredentialOutput() CredentialOutput { + return i.ToCredentialOutputWithContext(context.Background()) +} + +func (i *Credential) ToCredentialOutputWithContext(ctx context.Context) CredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialOutput) +} + +// CredentialArrayInput is an input type that accepts CredentialArray and CredentialArrayOutput values. +// You can construct a concrete instance of `CredentialArrayInput` via: +// +// CredentialArray{ CredentialArgs{...} } +type CredentialArrayInput interface { + pulumi.Input + + ToCredentialArrayOutput() CredentialArrayOutput + ToCredentialArrayOutputWithContext(context.Context) CredentialArrayOutput +} + +type CredentialArray []CredentialInput + +func (CredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Credential)(nil)).Elem() +} + +func (i CredentialArray) ToCredentialArrayOutput() CredentialArrayOutput { + return i.ToCredentialArrayOutputWithContext(context.Background()) +} + +func (i CredentialArray) ToCredentialArrayOutputWithContext(ctx context.Context) CredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialArrayOutput) +} + +// CredentialMapInput is an input type that accepts CredentialMap and CredentialMapOutput values. +// You can construct a concrete instance of `CredentialMapInput` via: +// +// CredentialMap{ "key": CredentialArgs{...} } +type CredentialMapInput interface { + pulumi.Input + + ToCredentialMapOutput() CredentialMapOutput + ToCredentialMapOutputWithContext(context.Context) CredentialMapOutput +} + +type CredentialMap map[string]CredentialInput + +func (CredentialMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Credential)(nil)).Elem() +} + +func (i CredentialMap) ToCredentialMapOutput() CredentialMapOutput { + return i.ToCredentialMapOutputWithContext(context.Background()) +} + +func (i CredentialMap) ToCredentialMapOutputWithContext(ctx context.Context) CredentialMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialMapOutput) +} + +type CredentialOutput struct{ *pulumi.OutputState } + +func (CredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Credential)(nil)).Elem() +} + +func (o CredentialOutput) ToCredentialOutput() CredentialOutput { + return o +} + +func (o CredentialOutput) ToCredentialOutputWithContext(ctx context.Context) CredentialOutput { + return o +} + +func (o CredentialOutput) AwsIamRole() CredentialAwsIamRolePtrOutput { + return o.ApplyT(func(v *Credential) CredentialAwsIamRolePtrOutput { return v.AwsIamRole }).(CredentialAwsIamRolePtrOutput) +} + +func (o CredentialOutput) AzureManagedIdentity() CredentialAzureManagedIdentityPtrOutput { + return o.ApplyT(func(v *Credential) CredentialAzureManagedIdentityPtrOutput { return v.AzureManagedIdentity }).(CredentialAzureManagedIdentityPtrOutput) +} + +func (o CredentialOutput) AzureServicePrincipal() CredentialAzureServicePrincipalPtrOutput { + return o.ApplyT(func(v *Credential) CredentialAzureServicePrincipalPtrOutput { return v.AzureServicePrincipal }).(CredentialAzureServicePrincipalPtrOutput) +} + +func (o CredentialOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Credential) pulumi.StringPtrOutput { return v.Comment }).(pulumi.StringPtrOutput) +} + +func (o CredentialOutput) CreatedAt() pulumi.IntOutput { + return o.ApplyT(func(v *Credential) pulumi.IntOutput { return v.CreatedAt }).(pulumi.IntOutput) +} + +func (o CredentialOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.CreatedBy }).(pulumi.StringOutput) +} + +// Unique ID of the credential. +func (o CredentialOutput) CredentialId() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.CredentialId }).(pulumi.StringOutput) +} + +func (o CredentialOutput) DatabricksGcpServiceAccount() CredentialDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *Credential) CredentialDatabricksGcpServiceAccountOutput { return v.DatabricksGcpServiceAccount }).(CredentialDatabricksGcpServiceAccountOutput) +} + +// Delete credential regardless of its dependencies. +func (o CredentialOutput) ForceDestroy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Credential) pulumi.BoolPtrOutput { return v.ForceDestroy }).(pulumi.BoolPtrOutput) +} + +// Update credential regardless of its dependents. +func (o CredentialOutput) ForceUpdate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Credential) pulumi.BoolPtrOutput { return v.ForceUpdate }).(pulumi.BoolPtrOutput) +} + +func (o CredentialOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.FullName }).(pulumi.StringOutput) +} + +// Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. +// +// `awsIamRole` optional configuration block for credential details for AWS: +func (o CredentialOutput) IsolationMode() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.IsolationMode }).(pulumi.StringOutput) +} + +func (o CredentialOutput) MetastoreId() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.MetastoreId }).(pulumi.StringOutput) +} + +// Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. +func (o CredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Username/groupname/sp applicationId of the credential owner. +func (o CredentialOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) +} + +// Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. +func (o CredentialOutput) Purpose() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.Purpose }).(pulumi.StringOutput) +} + +// Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. +func (o CredentialOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Credential) pulumi.BoolPtrOutput { return v.ReadOnly }).(pulumi.BoolPtrOutput) +} + +// Suppress validation errors if any & force save the credential. +func (o CredentialOutput) SkipValidation() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Credential) pulumi.BoolPtrOutput { return v.SkipValidation }).(pulumi.BoolPtrOutput) +} + +func (o CredentialOutput) UpdatedAt() pulumi.IntOutput { + return o.ApplyT(func(v *Credential) pulumi.IntOutput { return v.UpdatedAt }).(pulumi.IntOutput) +} + +func (o CredentialOutput) UpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v *Credential) pulumi.StringOutput { return v.UpdatedBy }).(pulumi.StringOutput) +} + +func (o CredentialOutput) UsedForManagedStorage() pulumi.BoolOutput { + return o.ApplyT(func(v *Credential) pulumi.BoolOutput { return v.UsedForManagedStorage }).(pulumi.BoolOutput) +} + +type CredentialArrayOutput struct{ *pulumi.OutputState } + +func (CredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Credential)(nil)).Elem() +} + +func (o CredentialArrayOutput) ToCredentialArrayOutput() CredentialArrayOutput { + return o +} + +func (o CredentialArrayOutput) ToCredentialArrayOutputWithContext(ctx context.Context) CredentialArrayOutput { + return o +} + +func (o CredentialArrayOutput) Index(i pulumi.IntInput) CredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Credential { + return vs[0].([]*Credential)[vs[1].(int)] + }).(CredentialOutput) +} + +type CredentialMapOutput struct{ *pulumi.OutputState } + +func (CredentialMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Credential)(nil)).Elem() +} + +func (o CredentialMapOutput) ToCredentialMapOutput() CredentialMapOutput { + return o +} + +func (o CredentialMapOutput) ToCredentialMapOutputWithContext(ctx context.Context) CredentialMapOutput { + return o +} + +func (o CredentialMapOutput) MapIndex(k pulumi.StringInput) CredentialOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Credential { + return vs[0].(map[string]*Credential)[vs[1].(string)] + }).(CredentialOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CredentialInput)(nil)).Elem(), &Credential{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialArrayInput)(nil)).Elem(), CredentialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialMapInput)(nil)).Elem(), CredentialMap{}) + pulumi.RegisterOutputType(CredentialOutput{}) + pulumi.RegisterOutputType(CredentialArrayOutput{}) + pulumi.RegisterOutputType(CredentialMapOutput{}) +} diff --git a/sdk/go/databricks/getApp.go b/sdk/go/databricks/getApp.go new file mode 100644 index 00000000..d72b6148 --- /dev/null +++ b/sdk/go/databricks/getApp.go @@ -0,0 +1,132 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). +// +// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. +// +// This data source allows you to fetch information about a Databricks App. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.LookupApp(ctx, &databricks.LookupAppArgs{ +// Name: "my-custom-app", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). +// * SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). +// * ModelServing to serve this model on a Databricks serving endpoint. +// * Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. +// * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. +func LookupApp(ctx *pulumi.Context, args *LookupAppArgs, opts ...pulumi.InvokeOption) (*LookupAppResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppResult + err := ctx.Invoke("databricks:index/getApp:getApp", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getApp. +type LookupAppArgs struct { + // The name of the app. + Name string `pulumi:"name"` +} + +// A collection of values returned by getApp. +type LookupAppResult struct { + // attribute + App GetAppApp `pulumi:"app"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Name of the serving endpoint to grant permission on. + Name string `pulumi:"name"` +} + +func LookupAppOutput(ctx *pulumi.Context, args LookupAppOutputArgs, opts ...pulumi.InvokeOption) LookupAppResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupAppResultOutput, error) { + args := v.(LookupAppArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("databricks:index/getApp:getApp", args, LookupAppResultOutput{}, options).(LookupAppResultOutput), nil + }).(LookupAppResultOutput) +} + +// A collection of arguments for invoking getApp. +type LookupAppOutputArgs struct { + // The name of the app. + Name pulumi.StringInput `pulumi:"name"` +} + +func (LookupAppOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAppArgs)(nil)).Elem() +} + +// A collection of values returned by getApp. +type LookupAppResultOutput struct{ *pulumi.OutputState } + +func (LookupAppResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAppResult)(nil)).Elem() +} + +func (o LookupAppResultOutput) ToLookupAppResultOutput() LookupAppResultOutput { + return o +} + +func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Context) LookupAppResultOutput { + return o +} + +// attribute +func (o LookupAppResultOutput) App() GetAppAppOutput { + return o.ApplyT(func(v LookupAppResult) GetAppApp { return v.App }).(GetAppAppOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupAppResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupAppResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of the serving endpoint to grant permission on. +func (o LookupAppResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupAppResult) string { return v.Name }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupAppResultOutput{}) +} diff --git a/sdk/go/databricks/getApps.go b/sdk/go/databricks/getApps.go new file mode 100644 index 00000000..15976387 --- /dev/null +++ b/sdk/go/databricks/getApps.go @@ -0,0 +1,103 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). +// +// [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. +// +// This data source allows you to fetch information about all Databricks Apps within a workspace. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.GetApps(ctx, map[string]interface{}{}, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). +// * SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). +// * ModelServing to serve this model on a Databricks serving endpoint. +// * Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. +// * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. +func GetApps(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAppsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppsResult + err := ctx.Invoke("databricks:index/getApps:getApps", nil, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of values returned by getApps. +type GetAppsResult struct { + Apps []GetAppsApp `pulumi:"apps"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetAppsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAppsResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetAppsResultOutput, error) { + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("databricks:index/getApps:getApps", nil, GetAppsResultOutput{}, options).(GetAppsResultOutput), nil + }).(GetAppsResultOutput) +} + +// A collection of values returned by getApps. +type GetAppsResultOutput struct{ *pulumi.OutputState } + +func (GetAppsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsResult)(nil)).Elem() +} + +func (o GetAppsResultOutput) ToGetAppsResultOutput() GetAppsResultOutput { + return o +} + +func (o GetAppsResultOutput) ToGetAppsResultOutputWithContext(ctx context.Context) GetAppsResultOutput { + return o +} + +func (o GetAppsResultOutput) Apps() GetAppsAppArrayOutput { + return o.ApplyT(func(v GetAppsResult) []GetAppsApp { return v.Apps }).(GetAppsAppArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetAppsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAppsResultOutput{}) +} diff --git a/sdk/go/databricks/getAwsAssumeRolePolicy.go b/sdk/go/databricks/getAwsAssumeRolePolicy.go index 25675c6f..3453d681 100644 --- a/sdk/go/databricks/getAwsAssumeRolePolicy.go +++ b/sdk/go/databricks/getAwsAssumeRolePolicy.go @@ -102,6 +102,9 @@ func GetAwsAssumeRolePolicy(ctx *pulumi.Context, args *GetAwsAssumeRolePolicyArg // A collection of arguments for invoking getAwsAssumeRolePolicy. type GetAwsAssumeRolePolicyArgs struct { + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition *string `pulumi:"awsPartition"` + // Deprecated: databricks_account_id will be will be removed in the next major release. DatabricksAccountId *string `pulumi:"databricksAccountId"` // Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). ExternalId string `pulumi:"externalId"` @@ -111,6 +114,8 @@ type GetAwsAssumeRolePolicyArgs struct { // A collection of values returned by getAwsAssumeRolePolicy. type GetAwsAssumeRolePolicyResult struct { + AwsPartition *string `pulumi:"awsPartition"` + // Deprecated: databricks_account_id will be will be removed in the next major release. DatabricksAccountId *string `pulumi:"databricksAccountId"` ExternalId string `pulumi:"externalId"` ForLogDelivery *bool `pulumi:"forLogDelivery"` @@ -131,6 +136,9 @@ func GetAwsAssumeRolePolicyOutput(ctx *pulumi.Context, args GetAwsAssumeRolePoli // A collection of arguments for invoking getAwsAssumeRolePolicy. type GetAwsAssumeRolePolicyOutputArgs struct { + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition pulumi.StringPtrInput `pulumi:"awsPartition"` + // Deprecated: databricks_account_id will be will be removed in the next major release. DatabricksAccountId pulumi.StringPtrInput `pulumi:"databricksAccountId"` // Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). ExternalId pulumi.StringInput `pulumi:"externalId"` @@ -157,6 +165,11 @@ func (o GetAwsAssumeRolePolicyResultOutput) ToGetAwsAssumeRolePolicyResultOutput return o } +func (o GetAwsAssumeRolePolicyResultOutput) AwsPartition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsAssumeRolePolicyResult) *string { return v.AwsPartition }).(pulumi.StringPtrOutput) +} + +// Deprecated: databricks_account_id will be will be removed in the next major release. func (o GetAwsAssumeRolePolicyResultOutput) DatabricksAccountId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetAwsAssumeRolePolicyResult) *string { return v.DatabricksAccountId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/getAwsBucketPolicy.go b/sdk/go/databricks/getAwsBucketPolicy.go index bab21310..e9bcb673 100644 --- a/sdk/go/databricks/getAwsBucketPolicy.go +++ b/sdk/go/databricks/getAwsBucketPolicy.go @@ -67,8 +67,11 @@ func GetAwsBucketPolicy(ctx *pulumi.Context, args *GetAwsBucketPolicyArgs, opts // A collection of arguments for invoking getAwsBucketPolicy. type GetAwsBucketPolicyArgs struct { + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition *string `pulumi:"awsPartition"` // AWS S3 Bucket name for which to generate the policy document. - Bucket string `pulumi:"bucket"` + Bucket string `pulumi:"bucket"` + // Deprecated: databricks_account_id will be will be removed in the next major release. DatabricksAccountId *string `pulumi:"databricksAccountId"` // Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket DatabricksE2AccountId *string `pulumi:"databricksE2AccountId"` @@ -78,7 +81,9 @@ type GetAwsBucketPolicyArgs struct { // A collection of values returned by getAwsBucketPolicy. type GetAwsBucketPolicyResult struct { - Bucket string `pulumi:"bucket"` + AwsPartition *string `pulumi:"awsPartition"` + Bucket string `pulumi:"bucket"` + // Deprecated: databricks_account_id will be will be removed in the next major release. DatabricksAccountId *string `pulumi:"databricksAccountId"` DatabricksE2AccountId *string `pulumi:"databricksE2AccountId"` FullAccessRole *string `pulumi:"fullAccessRole"` @@ -99,8 +104,11 @@ func GetAwsBucketPolicyOutput(ctx *pulumi.Context, args GetAwsBucketPolicyOutput // A collection of arguments for invoking getAwsBucketPolicy. type GetAwsBucketPolicyOutputArgs struct { + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition pulumi.StringPtrInput `pulumi:"awsPartition"` // AWS S3 Bucket name for which to generate the policy document. - Bucket pulumi.StringInput `pulumi:"bucket"` + Bucket pulumi.StringInput `pulumi:"bucket"` + // Deprecated: databricks_account_id will be will be removed in the next major release. DatabricksAccountId pulumi.StringPtrInput `pulumi:"databricksAccountId"` // Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket DatabricksE2AccountId pulumi.StringPtrInput `pulumi:"databricksE2AccountId"` @@ -127,10 +135,15 @@ func (o GetAwsBucketPolicyResultOutput) ToGetAwsBucketPolicyResultOutputWithCont return o } +func (o GetAwsBucketPolicyResultOutput) AwsPartition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsBucketPolicyResult) *string { return v.AwsPartition }).(pulumi.StringPtrOutput) +} + func (o GetAwsBucketPolicyResultOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GetAwsBucketPolicyResult) string { return v.Bucket }).(pulumi.StringOutput) } +// Deprecated: databricks_account_id will be will be removed in the next major release. func (o GetAwsBucketPolicyResultOutput) DatabricksAccountId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetAwsBucketPolicyResult) *string { return v.DatabricksAccountId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/getAwsCrossAccountPolicy.go b/sdk/go/databricks/getAwsCrossAccountPolicy.go index 336a1997..6aef2417 100644 --- a/sdk/go/databricks/getAwsCrossAccountPolicy.go +++ b/sdk/go/databricks/getAwsCrossAccountPolicy.go @@ -63,6 +63,8 @@ func GetAwsCrossAccountPolicy(ctx *pulumi.Context, args *GetAwsCrossAccountPolic type GetAwsCrossAccountPolicyArgs struct { // — Your AWS account ID, which is a number. AwsAccountId *string `pulumi:"awsAccountId"` + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition *string `pulumi:"awsPartition"` // List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. // The below arguments are only valid for `restricted` policy type PassRoles []string `pulumi:"passRoles"` @@ -79,6 +81,7 @@ type GetAwsCrossAccountPolicyArgs struct { // A collection of values returned by getAwsCrossAccountPolicy. type GetAwsCrossAccountPolicyResult struct { AwsAccountId *string `pulumi:"awsAccountId"` + AwsPartition *string `pulumi:"awsPartition"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // AWS IAM Policy JSON document @@ -103,6 +106,8 @@ func GetAwsCrossAccountPolicyOutput(ctx *pulumi.Context, args GetAwsCrossAccount type GetAwsCrossAccountPolicyOutputArgs struct { // — Your AWS account ID, which is a number. AwsAccountId pulumi.StringPtrInput `pulumi:"awsAccountId"` + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition pulumi.StringPtrInput `pulumi:"awsPartition"` // List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. // The below arguments are only valid for `restricted` policy type PassRoles pulumi.StringArrayInput `pulumi:"passRoles"` @@ -139,6 +144,10 @@ func (o GetAwsCrossAccountPolicyResultOutput) AwsAccountId() pulumi.StringPtrOut return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.AwsAccountId }).(pulumi.StringPtrOutput) } +func (o GetAwsCrossAccountPolicyResultOutput) AwsPartition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) *string { return v.AwsPartition }).(pulumi.StringPtrOutput) +} + // The provider-assigned unique ID for this managed resource. func (o GetAwsCrossAccountPolicyResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetAwsCrossAccountPolicyResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/databricks/getAwsUnityCatalogAssumeRolePolicy.go b/sdk/go/databricks/getAwsUnityCatalogAssumeRolePolicy.go index 8b9000c9..b9f3d7bf 100644 --- a/sdk/go/databricks/getAwsUnityCatalogAssumeRolePolicy.go +++ b/sdk/go/databricks/getAwsUnityCatalogAssumeRolePolicy.go @@ -85,19 +85,22 @@ func GetAwsUnityCatalogAssumeRolePolicy(ctx *pulumi.Context, args *GetAwsUnityCa type GetAwsUnityCatalogAssumeRolePolicyArgs struct { // The Account ID of the current AWS account (not your Databricks account). AwsAccountId string `pulumi:"awsAccountId"` + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition *string `pulumi:"awsPartition"` // The storage credential external id. ExternalId string `pulumi:"externalId"` // The name of the AWS IAM role to be created for Unity Catalog. RoleName string `pulumi:"roleName"` - // The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + // The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` } // A collection of values returned by getAwsUnityCatalogAssumeRolePolicy. type GetAwsUnityCatalogAssumeRolePolicyResult struct { - AwsAccountId string `pulumi:"awsAccountId"` - ExternalId string `pulumi:"externalId"` - Id string `pulumi:"id"` + AwsAccountId string `pulumi:"awsAccountId"` + AwsPartition *string `pulumi:"awsPartition"` + ExternalId string `pulumi:"externalId"` + Id string `pulumi:"id"` // AWS IAM Policy JSON document for assume role Json string `pulumi:"json"` RoleName string `pulumi:"roleName"` @@ -117,11 +120,13 @@ func GetAwsUnityCatalogAssumeRolePolicyOutput(ctx *pulumi.Context, args GetAwsUn type GetAwsUnityCatalogAssumeRolePolicyOutputArgs struct { // The Account ID of the current AWS account (not your Databricks account). AwsAccountId pulumi.StringInput `pulumi:"awsAccountId"` + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition pulumi.StringPtrInput `pulumi:"awsPartition"` // The storage credential external id. ExternalId pulumi.StringInput `pulumi:"externalId"` // The name of the AWS IAM role to be created for Unity Catalog. RoleName pulumi.StringInput `pulumi:"roleName"` - // The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + // The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` } @@ -148,6 +153,10 @@ func (o GetAwsUnityCatalogAssumeRolePolicyResultOutput) AwsAccountId() pulumi.St return o.ApplyT(func(v GetAwsUnityCatalogAssumeRolePolicyResult) string { return v.AwsAccountId }).(pulumi.StringOutput) } +func (o GetAwsUnityCatalogAssumeRolePolicyResultOutput) AwsPartition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsUnityCatalogAssumeRolePolicyResult) *string { return v.AwsPartition }).(pulumi.StringPtrOutput) +} + func (o GetAwsUnityCatalogAssumeRolePolicyResultOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v GetAwsUnityCatalogAssumeRolePolicyResult) string { return v.ExternalId }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/getAwsUnityCatalogPolicy.go b/sdk/go/databricks/getAwsUnityCatalogPolicy.go index 2a9a336a..6def74af 100644 --- a/sdk/go/databricks/getAwsUnityCatalogPolicy.go +++ b/sdk/go/databricks/getAwsUnityCatalogPolicy.go @@ -85,6 +85,8 @@ func GetAwsUnityCatalogPolicy(ctx *pulumi.Context, args *GetAwsUnityCatalogPolic type GetAwsUnityCatalogPolicyArgs struct { // The Account ID of the current AWS account (not your Databricks account). AwsAccountId string `pulumi:"awsAccountId"` + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition *string `pulumi:"awsPartition"` // The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. BucketName string `pulumi:"bucketName"` // If encryption is enabled, provide the ARN of the KMS key that encrypts the S3 bucket contents. If encryption is disabled, do not provide this argument. @@ -95,8 +97,9 @@ type GetAwsUnityCatalogPolicyArgs struct { // A collection of values returned by getAwsUnityCatalogPolicy. type GetAwsUnityCatalogPolicyResult struct { - AwsAccountId string `pulumi:"awsAccountId"` - BucketName string `pulumi:"bucketName"` + AwsAccountId string `pulumi:"awsAccountId"` + AwsPartition *string `pulumi:"awsPartition"` + BucketName string `pulumi:"bucketName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // AWS IAM Policy JSON document @@ -118,6 +121,8 @@ func GetAwsUnityCatalogPolicyOutput(ctx *pulumi.Context, args GetAwsUnityCatalog type GetAwsUnityCatalogPolicyOutputArgs struct { // The Account ID of the current AWS account (not your Databricks account). AwsAccountId pulumi.StringInput `pulumi:"awsAccountId"` + // AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + AwsPartition pulumi.StringPtrInput `pulumi:"awsPartition"` // The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. BucketName pulumi.StringInput `pulumi:"bucketName"` // If encryption is enabled, provide the ARN of the KMS key that encrypts the S3 bucket contents. If encryption is disabled, do not provide this argument. @@ -149,6 +154,10 @@ func (o GetAwsUnityCatalogPolicyResultOutput) AwsAccountId() pulumi.StringOutput return o.ApplyT(func(v GetAwsUnityCatalogPolicyResult) string { return v.AwsAccountId }).(pulumi.StringOutput) } +func (o GetAwsUnityCatalogPolicyResultOutput) AwsPartition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAwsUnityCatalogPolicyResult) *string { return v.AwsPartition }).(pulumi.StringPtrOutput) +} + func (o GetAwsUnityCatalogPolicyResultOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GetAwsUnityCatalogPolicyResult) string { return v.BucketName }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/getJobs.go b/sdk/go/databricks/getJobs.go index d3a8bfa3..fffea6da 100644 --- a/sdk/go/databricks/getJobs.go +++ b/sdk/go/databricks/getJobs.go @@ -37,6 +37,12 @@ import ( // if err != nil { // return err // } +// _, err = databricks.GetJobs(ctx, &databricks.GetJobsArgs{ +// JobNameContains: pulumi.StringRef("test"), +// }, nil) +// if err != nil { +// return err +// } // var everyoneCanViewAllJobs []*databricks.Permissions // for key0, val0 := range this.Ids { // __res, err := databricks.NewPermissions(ctx, fmt.Sprintf("everyone_can_view_all_jobs-%v", key0), &databricks.PermissionsArgs{ @@ -105,6 +111,8 @@ func GetJobs(ctx *pulumi.Context, args *GetJobsArgs, opts ...pulumi.InvokeOption type GetJobsArgs struct { // map of Job names to ids Ids map[string]string `pulumi:"ids"` + // Only return Job ids that match the given name string (case-insensitive). + JobNameContains *string `pulumi:"jobNameContains"` } // A collection of values returned by getJobs. @@ -112,7 +120,8 @@ type GetJobsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // map of Job names to ids - Ids map[string]string `pulumi:"ids"` + Ids map[string]string `pulumi:"ids"` + JobNameContains *string `pulumi:"jobNameContains"` } func GetJobsOutput(ctx *pulumi.Context, args GetJobsOutputArgs, opts ...pulumi.InvokeOption) GetJobsResultOutput { @@ -128,6 +137,8 @@ func GetJobsOutput(ctx *pulumi.Context, args GetJobsOutputArgs, opts ...pulumi.I type GetJobsOutputArgs struct { // map of Job names to ids Ids pulumi.StringMapInput `pulumi:"ids"` + // Only return Job ids that match the given name string (case-insensitive). + JobNameContains pulumi.StringPtrInput `pulumi:"jobNameContains"` } func (GetJobsOutputArgs) ElementType() reflect.Type { @@ -159,6 +170,10 @@ func (o GetJobsResultOutput) Ids() pulumi.StringMapOutput { return o.ApplyT(func(v GetJobsResult) map[string]string { return v.Ids }).(pulumi.StringMapOutput) } +func (o GetJobsResultOutput) JobNameContains() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobsResult) *string { return v.JobNameContains }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterOutputType(GetJobsResultOutput{}) } diff --git a/sdk/go/databricks/getMwsNetworkConnectivityConfig.go b/sdk/go/databricks/getMwsNetworkConnectivityConfig.go new file mode 100644 index 00000000..f940fa3f --- /dev/null +++ b/sdk/go/databricks/getMwsNetworkConnectivityConfig.go @@ -0,0 +1,191 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **Note** This data source can only be used with an account-level provider! +// +// Retrieves information about MwsNetworkConnectivityConfig in Databricks Account. +// +// ## Example Usage +// +// # Fetching information about a network connectivity configuration in Databricks Account +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := databricks.LookupMwsNetworkConnectivityConfig(ctx, &databricks.LookupMwsNetworkConnectivityConfigArgs{ +// Name: "ncc", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("config", this) +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. +// * MwsNetworkConnectivityConfig to manage network connectivity configuration. +func LookupMwsNetworkConnectivityConfig(ctx *pulumi.Context, args *LookupMwsNetworkConnectivityConfigArgs, opts ...pulumi.InvokeOption) (*LookupMwsNetworkConnectivityConfigResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupMwsNetworkConnectivityConfigResult + err := ctx.Invoke("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMwsNetworkConnectivityConfig. +type LookupMwsNetworkConnectivityConfigArgs struct { + // The Databricks account ID associated with this network configuration. + AccountId *string `pulumi:"accountId"` + // Time in epoch milliseconds when this object was created. + CreationTime *int `pulumi:"creationTime"` + // Array of egress configuration objects. + EgressConfig *GetMwsNetworkConnectivityConfigEgressConfig `pulumi:"egressConfig"` + // Name of the network connectivity configuration. + Name string `pulumi:"name"` + // The Databricks network connectivity configuration ID. + NetworkConnectivityConfigId *string `pulumi:"networkConnectivityConfigId"` + // The region of the network connectivity configuration. + Region *string `pulumi:"region"` + // Time in epoch milliseconds when the network was updated. + UpdatedTime *int `pulumi:"updatedTime"` +} + +// A collection of values returned by getMwsNetworkConnectivityConfig. +type LookupMwsNetworkConnectivityConfigResult struct { + // The Databricks account ID associated with this network configuration. + AccountId string `pulumi:"accountId"` + // Time in epoch milliseconds when this object was created. + CreationTime int `pulumi:"creationTime"` + // Array of egress configuration objects. + EgressConfig GetMwsNetworkConnectivityConfigEgressConfig `pulumi:"egressConfig"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The name of the network connectivity configuration. + Name string `pulumi:"name"` + // The Databricks network connectivity configuration ID. + NetworkConnectivityConfigId string `pulumi:"networkConnectivityConfigId"` + // The region of the network connectivity configuration. + Region string `pulumi:"region"` + // Time in epoch milliseconds when the network was updated. + UpdatedTime int `pulumi:"updatedTime"` +} + +func LookupMwsNetworkConnectivityConfigOutput(ctx *pulumi.Context, args LookupMwsNetworkConnectivityConfigOutputArgs, opts ...pulumi.InvokeOption) LookupMwsNetworkConnectivityConfigResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupMwsNetworkConnectivityConfigResultOutput, error) { + args := v.(LookupMwsNetworkConnectivityConfigArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", args, LookupMwsNetworkConnectivityConfigResultOutput{}, options).(LookupMwsNetworkConnectivityConfigResultOutput), nil + }).(LookupMwsNetworkConnectivityConfigResultOutput) +} + +// A collection of arguments for invoking getMwsNetworkConnectivityConfig. +type LookupMwsNetworkConnectivityConfigOutputArgs struct { + // The Databricks account ID associated with this network configuration. + AccountId pulumi.StringPtrInput `pulumi:"accountId"` + // Time in epoch milliseconds when this object was created. + CreationTime pulumi.IntPtrInput `pulumi:"creationTime"` + // Array of egress configuration objects. + EgressConfig GetMwsNetworkConnectivityConfigEgressConfigPtrInput `pulumi:"egressConfig"` + // Name of the network connectivity configuration. + Name pulumi.StringInput `pulumi:"name"` + // The Databricks network connectivity configuration ID. + NetworkConnectivityConfigId pulumi.StringPtrInput `pulumi:"networkConnectivityConfigId"` + // The region of the network connectivity configuration. + Region pulumi.StringPtrInput `pulumi:"region"` + // Time in epoch milliseconds when the network was updated. + UpdatedTime pulumi.IntPtrInput `pulumi:"updatedTime"` +} + +func (LookupMwsNetworkConnectivityConfigOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMwsNetworkConnectivityConfigArgs)(nil)).Elem() +} + +// A collection of values returned by getMwsNetworkConnectivityConfig. +type LookupMwsNetworkConnectivityConfigResultOutput struct{ *pulumi.OutputState } + +func (LookupMwsNetworkConnectivityConfigResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMwsNetworkConnectivityConfigResult)(nil)).Elem() +} + +func (o LookupMwsNetworkConnectivityConfigResultOutput) ToLookupMwsNetworkConnectivityConfigResultOutput() LookupMwsNetworkConnectivityConfigResultOutput { + return o +} + +func (o LookupMwsNetworkConnectivityConfigResultOutput) ToLookupMwsNetworkConnectivityConfigResultOutputWithContext(ctx context.Context) LookupMwsNetworkConnectivityConfigResultOutput { + return o +} + +// The Databricks account ID associated with this network configuration. +func (o LookupMwsNetworkConnectivityConfigResultOutput) AccountId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) string { return v.AccountId }).(pulumi.StringOutput) +} + +// Time in epoch milliseconds when this object was created. +func (o LookupMwsNetworkConnectivityConfigResultOutput) CreationTime() pulumi.IntOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) int { return v.CreationTime }).(pulumi.IntOutput) +} + +// Array of egress configuration objects. +func (o LookupMwsNetworkConnectivityConfigResultOutput) EgressConfig() GetMwsNetworkConnectivityConfigEgressConfigOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) GetMwsNetworkConnectivityConfigEgressConfig { + return v.EgressConfig + }).(GetMwsNetworkConnectivityConfigEgressConfigOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupMwsNetworkConnectivityConfigResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The name of the network connectivity configuration. +func (o LookupMwsNetworkConnectivityConfigResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The Databricks network connectivity configuration ID. +func (o LookupMwsNetworkConnectivityConfigResultOutput) NetworkConnectivityConfigId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) string { return v.NetworkConnectivityConfigId }).(pulumi.StringOutput) +} + +// The region of the network connectivity configuration. +func (o LookupMwsNetworkConnectivityConfigResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) string { return v.Region }).(pulumi.StringOutput) +} + +// Time in epoch milliseconds when the network was updated. +func (o LookupMwsNetworkConnectivityConfigResultOutput) UpdatedTime() pulumi.IntOutput { + return o.ApplyT(func(v LookupMwsNetworkConnectivityConfigResult) int { return v.UpdatedTime }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMwsNetworkConnectivityConfigResultOutput{}) +} diff --git a/sdk/go/databricks/getMwsNetworkConnectivityConfigs.go b/sdk/go/databricks/getMwsNetworkConnectivityConfigs.go new file mode 100644 index 00000000..33175fbe --- /dev/null +++ b/sdk/go/databricks/getMwsNetworkConnectivityConfigs.go @@ -0,0 +1,157 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **Note** This data source can only be used with an account-level provider! +// +// Lists all MwsNetworkConnectivityConfig in Databricks Account. +// +// ## Example Usage +// +// # List all network connectivity configurations in Databricks Account +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := databricks.GetMwsNetworkConnectivityConfigs(ctx, &databricks.GetMwsNetworkConnectivityConfigsArgs{}, nil) +// if err != nil { +// return err +// } +// ctx.Export("all", this) +// return nil +// }) +// } +// +// ``` +// +// # List network connectivity configurations from a specific region in Databricks Account +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := databricks.GetMwsNetworkConnectivityConfigs(ctx, &databricks.GetMwsNetworkConnectivityConfigsArgs{ +// Region: pulumi.StringRef("us-east-1"), +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("filtered", this) +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are used in the same context: +// +// * MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. +// * MwsNetworkConnectivityConfig to manage network connectivity configuration. +func GetMwsNetworkConnectivityConfigs(ctx *pulumi.Context, args *GetMwsNetworkConnectivityConfigsArgs, opts ...pulumi.InvokeOption) (*GetMwsNetworkConnectivityConfigsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetMwsNetworkConnectivityConfigsResult + err := ctx.Invoke("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMwsNetworkConnectivityConfigs. +type GetMwsNetworkConnectivityConfigsArgs struct { + // List of names of databricks_mws_network_connectivity_config + Names []string `pulumi:"names"` + // Filter network connectivity configurations by region. + Region *string `pulumi:"region"` +} + +// A collection of values returned by getMwsNetworkConnectivityConfigs. +type GetMwsNetworkConnectivityConfigsResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // List of names of databricks_mws_network_connectivity_config + Names []string `pulumi:"names"` + Region *string `pulumi:"region"` +} + +func GetMwsNetworkConnectivityConfigsOutput(ctx *pulumi.Context, args GetMwsNetworkConnectivityConfigsOutputArgs, opts ...pulumi.InvokeOption) GetMwsNetworkConnectivityConfigsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetMwsNetworkConnectivityConfigsResultOutput, error) { + args := v.(GetMwsNetworkConnectivityConfigsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", args, GetMwsNetworkConnectivityConfigsResultOutput{}, options).(GetMwsNetworkConnectivityConfigsResultOutput), nil + }).(GetMwsNetworkConnectivityConfigsResultOutput) +} + +// A collection of arguments for invoking getMwsNetworkConnectivityConfigs. +type GetMwsNetworkConnectivityConfigsOutputArgs struct { + // List of names of databricks_mws_network_connectivity_config + Names pulumi.StringArrayInput `pulumi:"names"` + // Filter network connectivity configurations by region. + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetMwsNetworkConnectivityConfigsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigsArgs)(nil)).Elem() +} + +// A collection of values returned by getMwsNetworkConnectivityConfigs. +type GetMwsNetworkConnectivityConfigsResultOutput struct{ *pulumi.OutputState } + +func (GetMwsNetworkConnectivityConfigsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigsResult)(nil)).Elem() +} + +func (o GetMwsNetworkConnectivityConfigsResultOutput) ToGetMwsNetworkConnectivityConfigsResultOutput() GetMwsNetworkConnectivityConfigsResultOutput { + return o +} + +func (o GetMwsNetworkConnectivityConfigsResultOutput) ToGetMwsNetworkConnectivityConfigsResultOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigsResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetMwsNetworkConnectivityConfigsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// List of names of databricks_mws_network_connectivity_config +func (o GetMwsNetworkConnectivityConfigsResultOutput) Names() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigsResult) []string { return v.Names }).(pulumi.StringArrayOutput) +} + +func (o GetMwsNetworkConnectivityConfigsResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigsResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigsResultOutput{}) +} diff --git a/sdk/go/databricks/getNotificationDestinations.go b/sdk/go/databricks/getNotificationDestinations.go index ceda741e..8ea7d0dd 100644 --- a/sdk/go/databricks/getNotificationDestinations.go +++ b/sdk/go/databricks/getNotificationDestinations.go @@ -83,8 +83,6 @@ func GetNotificationDestinations(ctx *pulumi.Context, args *GetNotificationDesti type GetNotificationDestinationsArgs struct { // A **case-insensitive** substring to filter Notification Destinations by their display name. DisplayNameContains *string `pulumi:"displayNameContains"` - // A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - NotificationDestinations []GetNotificationDestinationsNotificationDestination `pulumi:"notificationDestinations"` // The type of the Notification Destination to filter by. Valid values are: // * `EMAIL` - Filters Notification Destinations of type Email. // * `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams. @@ -117,8 +115,6 @@ func GetNotificationDestinationsOutput(ctx *pulumi.Context, args GetNotification type GetNotificationDestinationsOutputArgs struct { // A **case-insensitive** substring to filter Notification Destinations by their display name. DisplayNameContains pulumi.StringPtrInput `pulumi:"displayNameContains"` - // A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - NotificationDestinations GetNotificationDestinationsNotificationDestinationArrayInput `pulumi:"notificationDestinations"` // The type of the Notification Destination to filter by. Valid values are: // * `EMAIL` - Filters Notification Destinations of type Email. // * `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams. diff --git a/sdk/go/databricks/getRegisteredModelVersions.go b/sdk/go/databricks/getRegisteredModelVersions.go new file mode 100644 index 00000000..f95ba02d --- /dev/null +++ b/sdk/go/databricks/getRegisteredModelVersions.go @@ -0,0 +1,135 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > This resource can only be used with a workspace-level provider! +// +// This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.GetRegisteredModelVersions(ctx, &databricks.GetRegisteredModelVersionsArgs{ +// FullName: "main.default.my_model", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are often used in the same context: +// +// * RegisteredModel data source to retrieve information about a model within Unity Catalog. +// * RegisteredModel resource to manage models within Unity Catalog. +// * ModelServing to serve this model on a Databricks serving endpoint. +// * MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. +func GetRegisteredModelVersions(ctx *pulumi.Context, args *GetRegisteredModelVersionsArgs, opts ...pulumi.InvokeOption) (*GetRegisteredModelVersionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRegisteredModelVersionsResult + err := ctx.Invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRegisteredModelVersions. +type GetRegisteredModelVersionsArgs struct { + // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + FullName string `pulumi:"fullName"` + // list of objects describing the model versions. Each object consists of following attributes: + ModelVersions []GetRegisteredModelVersionsModelVersion `pulumi:"modelVersions"` +} + +// A collection of values returned by getRegisteredModelVersions. +type GetRegisteredModelVersionsResult struct { + // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + FullName string `pulumi:"fullName"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // list of objects describing the model versions. Each object consists of following attributes: + ModelVersions []GetRegisteredModelVersionsModelVersion `pulumi:"modelVersions"` +} + +func GetRegisteredModelVersionsOutput(ctx *pulumi.Context, args GetRegisteredModelVersionsOutputArgs, opts ...pulumi.InvokeOption) GetRegisteredModelVersionsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetRegisteredModelVersionsResultOutput, error) { + args := v.(GetRegisteredModelVersionsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", args, GetRegisteredModelVersionsResultOutput{}, options).(GetRegisteredModelVersionsResultOutput), nil + }).(GetRegisteredModelVersionsResultOutput) +} + +// A collection of arguments for invoking getRegisteredModelVersions. +type GetRegisteredModelVersionsOutputArgs struct { + // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + FullName pulumi.StringInput `pulumi:"fullName"` + // list of objects describing the model versions. Each object consists of following attributes: + ModelVersions GetRegisteredModelVersionsModelVersionArrayInput `pulumi:"modelVersions"` +} + +func (GetRegisteredModelVersionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsArgs)(nil)).Elem() +} + +// A collection of values returned by getRegisteredModelVersions. +type GetRegisteredModelVersionsResultOutput struct{ *pulumi.OutputState } + +func (GetRegisteredModelVersionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsResult)(nil)).Elem() +} + +func (o GetRegisteredModelVersionsResultOutput) ToGetRegisteredModelVersionsResultOutput() GetRegisteredModelVersionsResultOutput { + return o +} + +func (o GetRegisteredModelVersionsResultOutput) ToGetRegisteredModelVersionsResultOutputWithContext(ctx context.Context) GetRegisteredModelVersionsResultOutput { + return o +} + +// The fully-qualified name of the registered model (`catalog_name.schema_name.name`). +func (o GetRegisteredModelVersionsResultOutput) FullName() pulumi.StringOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsResult) string { return v.FullName }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetRegisteredModelVersionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// list of objects describing the model versions. Each object consists of following attributes: +func (o GetRegisteredModelVersionsResultOutput) ModelVersions() GetRegisteredModelVersionsModelVersionArrayOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsResult) []GetRegisteredModelVersionsModelVersion { + return v.ModelVersions + }).(GetRegisteredModelVersionsModelVersionArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetRegisteredModelVersionsResultOutput{}) +} diff --git a/sdk/go/databricks/getServingEndpoints.go b/sdk/go/databricks/getServingEndpoints.go new file mode 100644 index 00000000..14562f08 --- /dev/null +++ b/sdk/go/databricks/getServingEndpoints.go @@ -0,0 +1,143 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > This resource can only be used with a workspace-level provider! +// +// This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.GetServingEndpoints(ctx, &databricks.GetServingEndpointsArgs{}, nil) +// if err != nil { +// return err +// } +// var mlServingUsage []*databricks.Permissions +// for index := 0; index < allDatabricksServingEndpoints.Endpoints; index++ { +// key0 := index +// val0 := index +// __res, err := databricks.NewPermissions(ctx, fmt.Sprintf("ml_serving_usage-%v", key0), &databricks.PermissionsArgs{ +// ServingEndpointId: pulumi.Any(val0), +// AccessControls: databricks.PermissionsAccessControlArray{ +// &databricks.PermissionsAccessControlArgs{ +// GroupName: pulumi.String("users"), +// PermissionLevel: pulumi.String("CAN_VIEW"), +// }, +// &databricks.PermissionsAccessControlArgs{ +// GroupName: pulumi.Any(auto.DisplayName), +// PermissionLevel: pulumi.String("CAN_MANAGE"), +// }, +// &databricks.PermissionsAccessControlArgs{ +// GroupName: pulumi.Any(eng.DisplayName), +// PermissionLevel: pulumi.String("CAN_QUERY"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// mlServingUsage = append(mlServingUsage, __res) +// } +// return nil +// }) +// } +// +// ``` +// +// ## Related Resources +// +// The following resources are often used in the same context: +// +// * Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. +func GetServingEndpoints(ctx *pulumi.Context, args *GetServingEndpointsArgs, opts ...pulumi.InvokeOption) (*GetServingEndpointsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetServingEndpointsResult + err := ctx.Invoke("databricks:index/getServingEndpoints:getServingEndpoints", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getServingEndpoints. +type GetServingEndpointsArgs struct { + // List of objects describing the serving endpoints. Each object consists of following attributes: + Endpoints []GetServingEndpointsEndpoint `pulumi:"endpoints"` +} + +// A collection of values returned by getServingEndpoints. +type GetServingEndpointsResult struct { + // List of objects describing the serving endpoints. Each object consists of following attributes: + Endpoints []GetServingEndpointsEndpoint `pulumi:"endpoints"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetServingEndpointsOutput(ctx *pulumi.Context, args GetServingEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetServingEndpointsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetServingEndpointsResultOutput, error) { + args := v.(GetServingEndpointsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("databricks:index/getServingEndpoints:getServingEndpoints", args, GetServingEndpointsResultOutput{}, options).(GetServingEndpointsResultOutput), nil + }).(GetServingEndpointsResultOutput) +} + +// A collection of arguments for invoking getServingEndpoints. +type GetServingEndpointsOutputArgs struct { + // List of objects describing the serving endpoints. Each object consists of following attributes: + Endpoints GetServingEndpointsEndpointArrayInput `pulumi:"endpoints"` +} + +func (GetServingEndpointsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsArgs)(nil)).Elem() +} + +// A collection of values returned by getServingEndpoints. +type GetServingEndpointsResultOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsResult)(nil)).Elem() +} + +func (o GetServingEndpointsResultOutput) ToGetServingEndpointsResultOutput() GetServingEndpointsResultOutput { + return o +} + +func (o GetServingEndpointsResultOutput) ToGetServingEndpointsResultOutputWithContext(ctx context.Context) GetServingEndpointsResultOutput { + return o +} + +// List of objects describing the serving endpoints. Each object consists of following attributes: +func (o GetServingEndpointsResultOutput) Endpoints() GetServingEndpointsEndpointArrayOutput { + return o.ApplyT(func(v GetServingEndpointsResult) []GetServingEndpointsEndpoint { return v.Endpoints }).(GetServingEndpointsEndpointArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetServingEndpointsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetServingEndpointsResultOutput{}) +} diff --git a/sdk/go/databricks/grant.go b/sdk/go/databricks/grant.go index 12ce75ad..6c1f799f 100644 --- a/sdk/go/databricks/grant.go +++ b/sdk/go/databricks/grant.go @@ -477,6 +477,49 @@ import ( // // ``` // +// ## Service credential grants +// +// See Grants Service credential grants for the list of privileges that apply to Service credentials. +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// external, err := databricks.NewCredential(ctx, "external", &databricks.CredentialArgs{ +// Name: pulumi.Any(externalDataAccess.Name), +// AwsIamRole: &databricks.CredentialAwsIamRoleArgs{ +// RoleArn: pulumi.Any(externalDataAccess.Arn), +// }, +// Purpose: pulumi.String("SERVICE"), +// Comment: pulumi.String("Managed by TF"), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrant(ctx, "external_creds", &databricks.GrantArgs{ +// Credential: external.ID(), +// Principal: pulumi.String("Data Engineers"), +// Privileges: pulumi.StringArray{ +// pulumi.String("ACCESS"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Storage credential grants // // See Grants Storage credential grants for the list of privileges that apply to Storage credentials. @@ -707,6 +750,7 @@ type Grant struct { pulumi.CustomResourceState Catalog pulumi.StringPtrOutput `pulumi:"catalog"` + Credential pulumi.StringPtrOutput `pulumi:"credential"` ExternalLocation pulumi.StringPtrOutput `pulumi:"externalLocation"` ForeignConnection pulumi.StringPtrOutput `pulumi:"foreignConnection"` Function pulumi.StringPtrOutput `pulumi:"function"` @@ -760,6 +804,7 @@ func GetGrant(ctx *pulumi.Context, // Input properties used for looking up and filtering Grant resources. type grantState struct { Catalog *string `pulumi:"catalog"` + Credential *string `pulumi:"credential"` ExternalLocation *string `pulumi:"externalLocation"` ForeignConnection *string `pulumi:"foreignConnection"` Function *string `pulumi:"function"` @@ -778,6 +823,7 @@ type grantState struct { type GrantState struct { Catalog pulumi.StringPtrInput + Credential pulumi.StringPtrInput ExternalLocation pulumi.StringPtrInput ForeignConnection pulumi.StringPtrInput Function pulumi.StringPtrInput @@ -800,6 +846,7 @@ func (GrantState) ElementType() reflect.Type { type grantArgs struct { Catalog *string `pulumi:"catalog"` + Credential *string `pulumi:"credential"` ExternalLocation *string `pulumi:"externalLocation"` ForeignConnection *string `pulumi:"foreignConnection"` Function *string `pulumi:"function"` @@ -819,6 +866,7 @@ type grantArgs struct { // The set of arguments for constructing a Grant resource. type GrantArgs struct { Catalog pulumi.StringPtrInput + Credential pulumi.StringPtrInput ExternalLocation pulumi.StringPtrInput ForeignConnection pulumi.StringPtrInput Function pulumi.StringPtrInput @@ -926,6 +974,10 @@ func (o GrantOutput) Catalog() pulumi.StringPtrOutput { return o.ApplyT(func(v *Grant) pulumi.StringPtrOutput { return v.Catalog }).(pulumi.StringPtrOutput) } +func (o GrantOutput) Credential() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Grant) pulumi.StringPtrOutput { return v.Credential }).(pulumi.StringPtrOutput) +} + func (o GrantOutput) ExternalLocation() pulumi.StringPtrOutput { return o.ApplyT(func(v *Grant) pulumi.StringPtrOutput { return v.ExternalLocation }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/grants.go b/sdk/go/databricks/grants.go index f6de84dc..8c773658 100644 --- a/sdk/go/databricks/grants.go +++ b/sdk/go/databricks/grants.go @@ -38,7 +38,7 @@ import ( // // ## Metastore grants // -// You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to Metastore assigned to the workspace. +// You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to Metastore assigned to the workspace. // // ```go // package main @@ -498,6 +498,53 @@ import ( // // ``` // +// ## Service credential grants +// +// You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to Credential id specified in `credential` attribute: +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// external, err := databricks.NewCredential(ctx, "external", &databricks.CredentialArgs{ +// Name: pulumi.Any(externalDataAccess.Name), +// AwsIamRole: &databricks.CredentialAwsIamRoleArgs{ +// RoleArn: pulumi.Any(externalDataAccess.Arn), +// }, +// Purpose: pulumi.String("SERVICE"), +// Comment: pulumi.String("Managed by TF"), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewGrants(ctx, "external_creds", &databricks.GrantsArgs{ +// Credential: external.ID(), +// Grants: databricks.GrantsGrantArray{ +// &databricks.GrantsGrantArgs{ +// Principal: pulumi.String("Data Engineers"), +// Privileges: pulumi.StringArray{ +// pulumi.String("CREATE_CONNECTION"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Storage credential grants // // You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to StorageCredential id specified in `storageCredential` attribute: @@ -732,6 +779,7 @@ type Grants struct { pulumi.CustomResourceState Catalog pulumi.StringPtrOutput `pulumi:"catalog"` + Credential pulumi.StringPtrOutput `pulumi:"credential"` ExternalLocation pulumi.StringPtrOutput `pulumi:"externalLocation"` ForeignConnection pulumi.StringPtrOutput `pulumi:"foreignConnection"` Function pulumi.StringPtrOutput `pulumi:"function"` @@ -781,6 +829,7 @@ func GetGrants(ctx *pulumi.Context, // Input properties used for looking up and filtering Grants resources. type grantsState struct { Catalog *string `pulumi:"catalog"` + Credential *string `pulumi:"credential"` ExternalLocation *string `pulumi:"externalLocation"` ForeignConnection *string `pulumi:"foreignConnection"` Function *string `pulumi:"function"` @@ -798,6 +847,7 @@ type grantsState struct { type GrantsState struct { Catalog pulumi.StringPtrInput + Credential pulumi.StringPtrInput ExternalLocation pulumi.StringPtrInput ForeignConnection pulumi.StringPtrInput Function pulumi.StringPtrInput @@ -819,6 +869,7 @@ func (GrantsState) ElementType() reflect.Type { type grantsArgs struct { Catalog *string `pulumi:"catalog"` + Credential *string `pulumi:"credential"` ExternalLocation *string `pulumi:"externalLocation"` ForeignConnection *string `pulumi:"foreignConnection"` Function *string `pulumi:"function"` @@ -837,6 +888,7 @@ type grantsArgs struct { // The set of arguments for constructing a Grants resource. type GrantsArgs struct { Catalog pulumi.StringPtrInput + Credential pulumi.StringPtrInput ExternalLocation pulumi.StringPtrInput ForeignConnection pulumi.StringPtrInput Function pulumi.StringPtrInput @@ -943,6 +995,10 @@ func (o GrantsOutput) Catalog() pulumi.StringPtrOutput { return o.ApplyT(func(v *Grants) pulumi.StringPtrOutput { return v.Catalog }).(pulumi.StringPtrOutput) } +func (o GrantsOutput) Credential() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Grants) pulumi.StringPtrOutput { return v.Credential }).(pulumi.StringPtrOutput) +} + func (o GrantsOutput) ExternalLocation() pulumi.StringPtrOutput { return o.ApplyT(func(v *Grants) pulumi.StringPtrOutput { return v.ExternalLocation }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/init.go b/sdk/go/databricks/init.go index 3b4d795d..f713b30c 100644 --- a/sdk/go/databricks/init.go +++ b/sdk/go/databricks/init.go @@ -25,6 +25,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &AccessControlRuleSet{} case "databricks:index/alert:Alert": r = &Alert{} + case "databricks:index/app:App": + r = &App{} case "databricks:index/artifactAllowlist:ArtifactAllowlist": r = &ArtifactAllowlist{} case "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": @@ -43,6 +45,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &ComplianceSecurityProfileWorkspaceSetting{} case "databricks:index/connection:Connection": r = &Connection{} + case "databricks:index/credential:Credential": + r = &Credential{} case "databricks:index/customAppIntegration:CustomAppIntegration": r = &CustomAppIntegration{} case "databricks:index/dashboard:Dashboard": @@ -258,6 +262,11 @@ func init() { "index/alert", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/app", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/artifactAllowlist", @@ -303,6 +312,11 @@ func init() { "index/connection", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/credential", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/customAppIntegration", diff --git a/sdk/go/databricks/mwsCustomerManagedKeys.go b/sdk/go/databricks/mwsCustomerManagedKeys.go index b102edd3..b2a950ef 100644 --- a/sdk/go/databricks/mwsCustomerManagedKeys.go +++ b/sdk/go/databricks/mwsCustomerManagedKeys.go @@ -377,7 +377,17 @@ import ( // // ## Import // -// !> Importing this resource is not currently supported. +// This resource can be imported by Databricks account ID and customer managed key ID. +// +// ```sh +// $ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '/' +// ``` +// +// ~> This resource does not support updates. If your configuration does not match the existing resource, +// +// the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, +// +// verify that the configuration matches the existing resource by running `pulumi preview`. type MwsCustomerManagedKeys struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/mwsNccPrivateEndpointRule.go b/sdk/go/databricks/mwsNccPrivateEndpointRule.go index 41924474..ef7da569 100644 --- a/sdk/go/databricks/mwsNccPrivateEndpointRule.go +++ b/sdk/go/databricks/mwsNccPrivateEndpointRule.go @@ -91,7 +91,7 @@ type MwsNccPrivateEndpointRule struct { DeactivatedAt pulumi.IntPtrOutput `pulumi:"deactivatedAt"` // The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" EndpointName pulumi.StringOutput `pulumi:"endpointName"` - // The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + // The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. GroupId pulumi.StringOutput `pulumi:"groupId"` // Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. NetworkConnectivityConfigId pulumi.StringOutput `pulumi:"networkConnectivityConfigId"` @@ -157,7 +157,7 @@ type mwsNccPrivateEndpointRuleState struct { DeactivatedAt *int `pulumi:"deactivatedAt"` // The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" EndpointName *string `pulumi:"endpointName"` - // The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + // The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. GroupId *string `pulumi:"groupId"` // Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. NetworkConnectivityConfigId *string `pulumi:"networkConnectivityConfigId"` @@ -185,7 +185,7 @@ type MwsNccPrivateEndpointRuleState struct { DeactivatedAt pulumi.IntPtrInput // The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" EndpointName pulumi.StringPtrInput - // The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + // The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. GroupId pulumi.StringPtrInput // Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. NetworkConnectivityConfigId pulumi.StringPtrInput @@ -217,7 +217,7 @@ type mwsNccPrivateEndpointRuleArgs struct { DeactivatedAt *int `pulumi:"deactivatedAt"` // The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" EndpointName *string `pulumi:"endpointName"` - // The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + // The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. GroupId string `pulumi:"groupId"` // Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. NetworkConnectivityConfigId string `pulumi:"networkConnectivityConfigId"` @@ -246,7 +246,7 @@ type MwsNccPrivateEndpointRuleArgs struct { DeactivatedAt pulumi.IntPtrInput // The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" EndpointName pulumi.StringPtrInput - // The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + // The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. GroupId pulumi.StringInput // Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. NetworkConnectivityConfigId pulumi.StringInput @@ -375,7 +375,7 @@ func (o MwsNccPrivateEndpointRuleOutput) EndpointName() pulumi.StringOutput { return o.ApplyT(func(v *MwsNccPrivateEndpointRule) pulumi.StringOutput { return v.EndpointName }).(pulumi.StringOutput) } -// The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. +// The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. func (o MwsNccPrivateEndpointRuleOutput) GroupId() pulumi.StringOutput { return o.ApplyT(func(v *MwsNccPrivateEndpointRule) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/mwsNetworks.go b/sdk/go/databricks/mwsNetworks.go index c7b2ba57..58c32a91 100644 --- a/sdk/go/databricks/mwsNetworks.go +++ b/sdk/go/databricks/mwsNetworks.go @@ -170,7 +170,17 @@ import ( // // ## Import // -// !> Importing this resource is not currently supported. +// This resource can be imported by Databricks account ID and network ID. +// +// ```sh +// $ pulumi import databricks:index/mwsNetworks:MwsNetworks this '/' +// ``` +// +// ~> This resource does not support updates. If your configuration does not match the existing resource, +// +// the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, +// +// verify that the configuration matches the existing resource by running `pulumi preview`. type MwsNetworks struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/mwsPrivateAccessSettings.go b/sdk/go/databricks/mwsPrivateAccessSettings.go index 10c148ba..ae5f718f 100644 --- a/sdk/go/databricks/mwsPrivateAccessSettings.go +++ b/sdk/go/databricks/mwsPrivateAccessSettings.go @@ -140,7 +140,11 @@ import ( // // ## Import // -// !> Importing this resource is not currently supported. +// This resource can be imported by Databricks account ID and private access settings ID. +// +// ```sh +// $ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '/' +// ``` type MwsPrivateAccessSettings struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/mwsStorageConfigurations.go b/sdk/go/databricks/mwsStorageConfigurations.go index e79f551d..e5c652e9 100644 --- a/sdk/go/databricks/mwsStorageConfigurations.go +++ b/sdk/go/databricks/mwsStorageConfigurations.go @@ -77,7 +77,17 @@ import ( // // ## Import // -// !> Importing this resource is not currently supported. +// This resource can be imported by Databricks account ID and storage configuration ID. +// +// ```sh +// $ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '/' +// ``` +// +// ~> This resource does not support updates. If your configuration does not match the existing resource, +// +// the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, +// +// verify that the configuration matches the existing resource by running `pulumi preview`. type MwsStorageConfigurations struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/mwsWorkspaces.go b/sdk/go/databricks/mwsWorkspaces.go index f1787f6d..17b3275a 100644 --- a/sdk/go/databricks/mwsWorkspaces.go +++ b/sdk/go/databricks/mwsWorkspaces.go @@ -22,7 +22,7 @@ import ( // // * MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace. // * MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace. -// * MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks MwsNetworks encapsulates this information, you cannot reuse it across workspaces. +// * MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks MwsNetworks encapsulates this information, you cannot reuse it across workspaces. // * MwsCustomerManagedKeys - You can share a customer-managed key across workspaces. // // ```go @@ -328,6 +328,26 @@ import ( // ``` // // In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mwsPrivateAccessSettings and mws_networks. +// +// ## Import +// +// This resource can be imported by Databricks account ID and workspace ID. +// +// ```sh +// $ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '/' +// ``` +// +// ~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. +// +// If the configuration for these immutable fields does not match the existing workspace, the workspace will +// +// be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration +// +// matches the existing resource by running `pulumi preview`. The only fields that can be updated are +// +// `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, +// +// `managed_services_customer_managed_key_id`, and `custom_tags`. type MwsWorkspaces struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/notificationDestination.go b/sdk/go/databricks/notificationDestination.go index 7af023dd..a36a32dc 100644 --- a/sdk/go/databricks/notificationDestination.go +++ b/sdk/go/databricks/notificationDestination.go @@ -170,6 +170,16 @@ import ( // } // // ``` +// +// ## Import +// +// This resource can be imported by notification ID: +// +// bash +// +// ```sh +// $ pulumi import databricks:index/notificationDestination:NotificationDestination this +// ``` type NotificationDestination struct { pulumi.CustomResourceState diff --git a/sdk/go/databricks/permissions.go b/sdk/go/databricks/permissions.go index d9b375e7..b68ec520 100644 --- a/sdk/go/databricks/permissions.go +++ b/sdk/go/databricks/permissions.go @@ -986,6 +986,59 @@ import ( // // ``` // +// ## Mosaic AI Vector Search usage +// +// Valid permission levels for VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`. +// +// > You need to use the `endpointId` attribute of `VectorSearchEndpoint` as value for `vectorSearchEndpointId`, not the `id`! +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := databricks.NewVectorSearchEndpoint(ctx, "this", &databricks.VectorSearchEndpointArgs{ +// Name: pulumi.String("vector-search-test"), +// EndpointType: pulumi.String("STANDARD"), +// }) +// if err != nil { +// return err +// } +// eng, err := databricks.NewGroup(ctx, "eng", &databricks.GroupArgs{ +// DisplayName: pulumi.String("Engineering"), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewPermissions(ctx, "vector_search_endpoint_usage", &databricks.PermissionsArgs{ +// VectorSearchEndpointId: this.EndpointId, +// AccessControls: databricks.PermissionsAccessControlArray{ +// &databricks.PermissionsAccessControlArgs{ +// GroupName: pulumi.String("users"), +// PermissionLevel: pulumi.String("CAN_USE"), +// }, +// &databricks.PermissionsAccessControlArgs{ +// GroupName: eng.DisplayName, +// PermissionLevel: pulumi.String("CAN_MANAGE"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Passwords usage // // By default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control. @@ -1391,6 +1444,7 @@ type Permissions struct { pulumi.CustomResourceState AccessControls PermissionsAccessControlArrayOutput `pulumi:"accessControls"` + AppName pulumi.StringPtrOutput `pulumi:"appName"` Authorization pulumi.StringPtrOutput `pulumi:"authorization"` ClusterId pulumi.StringPtrOutput `pulumi:"clusterId"` ClusterPolicyId pulumi.StringPtrOutput `pulumi:"clusterPolicyId"` @@ -1403,18 +1457,19 @@ type Permissions struct { NotebookId pulumi.StringPtrOutput `pulumi:"notebookId"` NotebookPath pulumi.StringPtrOutput `pulumi:"notebookPath"` // type of permissions. - ObjectType pulumi.StringOutput `pulumi:"objectType"` - PipelineId pulumi.StringPtrOutput `pulumi:"pipelineId"` - RegisteredModelId pulumi.StringPtrOutput `pulumi:"registeredModelId"` - RepoId pulumi.StringPtrOutput `pulumi:"repoId"` - RepoPath pulumi.StringPtrOutput `pulumi:"repoPath"` - ServingEndpointId pulumi.StringPtrOutput `pulumi:"servingEndpointId"` - SqlAlertId pulumi.StringPtrOutput `pulumi:"sqlAlertId"` - SqlDashboardId pulumi.StringPtrOutput `pulumi:"sqlDashboardId"` - SqlEndpointId pulumi.StringPtrOutput `pulumi:"sqlEndpointId"` - SqlQueryId pulumi.StringPtrOutput `pulumi:"sqlQueryId"` - WorkspaceFileId pulumi.StringPtrOutput `pulumi:"workspaceFileId"` - WorkspaceFilePath pulumi.StringPtrOutput `pulumi:"workspaceFilePath"` + ObjectType pulumi.StringOutput `pulumi:"objectType"` + PipelineId pulumi.StringPtrOutput `pulumi:"pipelineId"` + RegisteredModelId pulumi.StringPtrOutput `pulumi:"registeredModelId"` + RepoId pulumi.StringPtrOutput `pulumi:"repoId"` + RepoPath pulumi.StringPtrOutput `pulumi:"repoPath"` + ServingEndpointId pulumi.StringPtrOutput `pulumi:"servingEndpointId"` + SqlAlertId pulumi.StringPtrOutput `pulumi:"sqlAlertId"` + SqlDashboardId pulumi.StringPtrOutput `pulumi:"sqlDashboardId"` + SqlEndpointId pulumi.StringPtrOutput `pulumi:"sqlEndpointId"` + SqlQueryId pulumi.StringPtrOutput `pulumi:"sqlQueryId"` + VectorSearchEndpointId pulumi.StringPtrOutput `pulumi:"vectorSearchEndpointId"` + WorkspaceFileId pulumi.StringPtrOutput `pulumi:"workspaceFileId"` + WorkspaceFilePath pulumi.StringPtrOutput `pulumi:"workspaceFilePath"` } // NewPermissions registers a new resource with the given unique name, arguments, and options. @@ -1451,6 +1506,7 @@ func GetPermissions(ctx *pulumi.Context, // Input properties used for looking up and filtering Permissions resources. type permissionsState struct { AccessControls []PermissionsAccessControl `pulumi:"accessControls"` + AppName *string `pulumi:"appName"` Authorization *string `pulumi:"authorization"` ClusterId *string `pulumi:"clusterId"` ClusterPolicyId *string `pulumi:"clusterPolicyId"` @@ -1463,22 +1519,24 @@ type permissionsState struct { NotebookId *string `pulumi:"notebookId"` NotebookPath *string `pulumi:"notebookPath"` // type of permissions. - ObjectType *string `pulumi:"objectType"` - PipelineId *string `pulumi:"pipelineId"` - RegisteredModelId *string `pulumi:"registeredModelId"` - RepoId *string `pulumi:"repoId"` - RepoPath *string `pulumi:"repoPath"` - ServingEndpointId *string `pulumi:"servingEndpointId"` - SqlAlertId *string `pulumi:"sqlAlertId"` - SqlDashboardId *string `pulumi:"sqlDashboardId"` - SqlEndpointId *string `pulumi:"sqlEndpointId"` - SqlQueryId *string `pulumi:"sqlQueryId"` - WorkspaceFileId *string `pulumi:"workspaceFileId"` - WorkspaceFilePath *string `pulumi:"workspaceFilePath"` + ObjectType *string `pulumi:"objectType"` + PipelineId *string `pulumi:"pipelineId"` + RegisteredModelId *string `pulumi:"registeredModelId"` + RepoId *string `pulumi:"repoId"` + RepoPath *string `pulumi:"repoPath"` + ServingEndpointId *string `pulumi:"servingEndpointId"` + SqlAlertId *string `pulumi:"sqlAlertId"` + SqlDashboardId *string `pulumi:"sqlDashboardId"` + SqlEndpointId *string `pulumi:"sqlEndpointId"` + SqlQueryId *string `pulumi:"sqlQueryId"` + VectorSearchEndpointId *string `pulumi:"vectorSearchEndpointId"` + WorkspaceFileId *string `pulumi:"workspaceFileId"` + WorkspaceFilePath *string `pulumi:"workspaceFilePath"` } type PermissionsState struct { AccessControls PermissionsAccessControlArrayInput + AppName pulumi.StringPtrInput Authorization pulumi.StringPtrInput ClusterId pulumi.StringPtrInput ClusterPolicyId pulumi.StringPtrInput @@ -1491,18 +1549,19 @@ type PermissionsState struct { NotebookId pulumi.StringPtrInput NotebookPath pulumi.StringPtrInput // type of permissions. - ObjectType pulumi.StringPtrInput - PipelineId pulumi.StringPtrInput - RegisteredModelId pulumi.StringPtrInput - RepoId pulumi.StringPtrInput - RepoPath pulumi.StringPtrInput - ServingEndpointId pulumi.StringPtrInput - SqlAlertId pulumi.StringPtrInput - SqlDashboardId pulumi.StringPtrInput - SqlEndpointId pulumi.StringPtrInput - SqlQueryId pulumi.StringPtrInput - WorkspaceFileId pulumi.StringPtrInput - WorkspaceFilePath pulumi.StringPtrInput + ObjectType pulumi.StringPtrInput + PipelineId pulumi.StringPtrInput + RegisteredModelId pulumi.StringPtrInput + RepoId pulumi.StringPtrInput + RepoPath pulumi.StringPtrInput + ServingEndpointId pulumi.StringPtrInput + SqlAlertId pulumi.StringPtrInput + SqlDashboardId pulumi.StringPtrInput + SqlEndpointId pulumi.StringPtrInput + SqlQueryId pulumi.StringPtrInput + VectorSearchEndpointId pulumi.StringPtrInput + WorkspaceFileId pulumi.StringPtrInput + WorkspaceFilePath pulumi.StringPtrInput } func (PermissionsState) ElementType() reflect.Type { @@ -1511,6 +1570,7 @@ func (PermissionsState) ElementType() reflect.Type { type permissionsArgs struct { AccessControls []PermissionsAccessControl `pulumi:"accessControls"` + AppName *string `pulumi:"appName"` Authorization *string `pulumi:"authorization"` ClusterId *string `pulumi:"clusterId"` ClusterPolicyId *string `pulumi:"clusterPolicyId"` @@ -1523,23 +1583,25 @@ type permissionsArgs struct { NotebookId *string `pulumi:"notebookId"` NotebookPath *string `pulumi:"notebookPath"` // type of permissions. - ObjectType *string `pulumi:"objectType"` - PipelineId *string `pulumi:"pipelineId"` - RegisteredModelId *string `pulumi:"registeredModelId"` - RepoId *string `pulumi:"repoId"` - RepoPath *string `pulumi:"repoPath"` - ServingEndpointId *string `pulumi:"servingEndpointId"` - SqlAlertId *string `pulumi:"sqlAlertId"` - SqlDashboardId *string `pulumi:"sqlDashboardId"` - SqlEndpointId *string `pulumi:"sqlEndpointId"` - SqlQueryId *string `pulumi:"sqlQueryId"` - WorkspaceFileId *string `pulumi:"workspaceFileId"` - WorkspaceFilePath *string `pulumi:"workspaceFilePath"` + ObjectType *string `pulumi:"objectType"` + PipelineId *string `pulumi:"pipelineId"` + RegisteredModelId *string `pulumi:"registeredModelId"` + RepoId *string `pulumi:"repoId"` + RepoPath *string `pulumi:"repoPath"` + ServingEndpointId *string `pulumi:"servingEndpointId"` + SqlAlertId *string `pulumi:"sqlAlertId"` + SqlDashboardId *string `pulumi:"sqlDashboardId"` + SqlEndpointId *string `pulumi:"sqlEndpointId"` + SqlQueryId *string `pulumi:"sqlQueryId"` + VectorSearchEndpointId *string `pulumi:"vectorSearchEndpointId"` + WorkspaceFileId *string `pulumi:"workspaceFileId"` + WorkspaceFilePath *string `pulumi:"workspaceFilePath"` } // The set of arguments for constructing a Permissions resource. type PermissionsArgs struct { AccessControls PermissionsAccessControlArrayInput + AppName pulumi.StringPtrInput Authorization pulumi.StringPtrInput ClusterId pulumi.StringPtrInput ClusterPolicyId pulumi.StringPtrInput @@ -1552,18 +1614,19 @@ type PermissionsArgs struct { NotebookId pulumi.StringPtrInput NotebookPath pulumi.StringPtrInput // type of permissions. - ObjectType pulumi.StringPtrInput - PipelineId pulumi.StringPtrInput - RegisteredModelId pulumi.StringPtrInput - RepoId pulumi.StringPtrInput - RepoPath pulumi.StringPtrInput - ServingEndpointId pulumi.StringPtrInput - SqlAlertId pulumi.StringPtrInput - SqlDashboardId pulumi.StringPtrInput - SqlEndpointId pulumi.StringPtrInput - SqlQueryId pulumi.StringPtrInput - WorkspaceFileId pulumi.StringPtrInput - WorkspaceFilePath pulumi.StringPtrInput + ObjectType pulumi.StringPtrInput + PipelineId pulumi.StringPtrInput + RegisteredModelId pulumi.StringPtrInput + RepoId pulumi.StringPtrInput + RepoPath pulumi.StringPtrInput + ServingEndpointId pulumi.StringPtrInput + SqlAlertId pulumi.StringPtrInput + SqlDashboardId pulumi.StringPtrInput + SqlEndpointId pulumi.StringPtrInput + SqlQueryId pulumi.StringPtrInput + VectorSearchEndpointId pulumi.StringPtrInput + WorkspaceFileId pulumi.StringPtrInput + WorkspaceFilePath pulumi.StringPtrInput } func (PermissionsArgs) ElementType() reflect.Type { @@ -1657,6 +1720,10 @@ func (o PermissionsOutput) AccessControls() PermissionsAccessControlArrayOutput return o.ApplyT(func(v *Permissions) PermissionsAccessControlArrayOutput { return v.AccessControls }).(PermissionsAccessControlArrayOutput) } +func (o PermissionsOutput) AppName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Permissions) pulumi.StringPtrOutput { return v.AppName }).(pulumi.StringPtrOutput) +} + func (o PermissionsOutput) Authorization() pulumi.StringPtrOutput { return o.ApplyT(func(v *Permissions) pulumi.StringPtrOutput { return v.Authorization }).(pulumi.StringPtrOutput) } @@ -1742,6 +1809,10 @@ func (o PermissionsOutput) SqlQueryId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Permissions) pulumi.StringPtrOutput { return v.SqlQueryId }).(pulumi.StringPtrOutput) } +func (o PermissionsOutput) VectorSearchEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Permissions) pulumi.StringPtrOutput { return v.VectorSearchEndpointId }).(pulumi.StringPtrOutput) +} + func (o PermissionsOutput) WorkspaceFileId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Permissions) pulumi.StringPtrOutput { return v.WorkspaceFileId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/pulumiTypes.go b/sdk/go/databricks/pulumiTypes.go index d3dac05e..8cc5b2f2 100644 --- a/sdk/go/databricks/pulumiTypes.go +++ b/sdk/go/databricks/pulumiTypes.go @@ -920,5523 +920,5240 @@ func (o AlertConditionThresholdValuePtrOutput) StringValue() pulumi.StringPtrOut }).(pulumi.StringPtrOutput) } -type ArtifactAllowlistArtifactMatcher struct { - // The artifact path or maven coordinate. - Artifact string `pulumi:"artifact"` - // The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. - MatchType string `pulumi:"matchType"` +type AppActiveDeployment struct { + // The creation time of the app. + CreateTime *string `pulumi:"createTime"` + // The email of the user that created the app. + Creator *string `pulumi:"creator"` + DeploymentArtifacts *AppActiveDeploymentDeploymentArtifacts `pulumi:"deploymentArtifacts"` + DeploymentId *string `pulumi:"deploymentId"` + Mode *string `pulumi:"mode"` + SourceCodePath *string `pulumi:"sourceCodePath"` + Status *AppActiveDeploymentStatus `pulumi:"status"` + // The update time of the app. + UpdateTime *string `pulumi:"updateTime"` } -// ArtifactAllowlistArtifactMatcherInput is an input type that accepts ArtifactAllowlistArtifactMatcherArgs and ArtifactAllowlistArtifactMatcherOutput values. -// You can construct a concrete instance of `ArtifactAllowlistArtifactMatcherInput` via: +// AppActiveDeploymentInput is an input type that accepts AppActiveDeploymentArgs and AppActiveDeploymentOutput values. +// You can construct a concrete instance of `AppActiveDeploymentInput` via: // -// ArtifactAllowlistArtifactMatcherArgs{...} -type ArtifactAllowlistArtifactMatcherInput interface { +// AppActiveDeploymentArgs{...} +type AppActiveDeploymentInput interface { pulumi.Input - ToArtifactAllowlistArtifactMatcherOutput() ArtifactAllowlistArtifactMatcherOutput - ToArtifactAllowlistArtifactMatcherOutputWithContext(context.Context) ArtifactAllowlistArtifactMatcherOutput + ToAppActiveDeploymentOutput() AppActiveDeploymentOutput + ToAppActiveDeploymentOutputWithContext(context.Context) AppActiveDeploymentOutput } -type ArtifactAllowlistArtifactMatcherArgs struct { - // The artifact path or maven coordinate. - Artifact pulumi.StringInput `pulumi:"artifact"` - // The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. - MatchType pulumi.StringInput `pulumi:"matchType"` +type AppActiveDeploymentArgs struct { + // The creation time of the app. + CreateTime pulumi.StringPtrInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringPtrInput `pulumi:"creator"` + DeploymentArtifacts AppActiveDeploymentDeploymentArtifactsPtrInput `pulumi:"deploymentArtifacts"` + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` + Status AppActiveDeploymentStatusPtrInput `pulumi:"status"` + // The update time of the app. + UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"` } -func (ArtifactAllowlistArtifactMatcherArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ArtifactAllowlistArtifactMatcher)(nil)).Elem() +func (AppActiveDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppActiveDeployment)(nil)).Elem() } -func (i ArtifactAllowlistArtifactMatcherArgs) ToArtifactAllowlistArtifactMatcherOutput() ArtifactAllowlistArtifactMatcherOutput { - return i.ToArtifactAllowlistArtifactMatcherOutputWithContext(context.Background()) +func (i AppActiveDeploymentArgs) ToAppActiveDeploymentOutput() AppActiveDeploymentOutput { + return i.ToAppActiveDeploymentOutputWithContext(context.Background()) } -func (i ArtifactAllowlistArtifactMatcherArgs) ToArtifactAllowlistArtifactMatcherOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherOutput { - return pulumi.ToOutputWithContext(ctx, i).(ArtifactAllowlistArtifactMatcherOutput) +func (i AppActiveDeploymentArgs) ToAppActiveDeploymentOutputWithContext(ctx context.Context) AppActiveDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentOutput) } -// ArtifactAllowlistArtifactMatcherArrayInput is an input type that accepts ArtifactAllowlistArtifactMatcherArray and ArtifactAllowlistArtifactMatcherArrayOutput values. -// You can construct a concrete instance of `ArtifactAllowlistArtifactMatcherArrayInput` via: +func (i AppActiveDeploymentArgs) ToAppActiveDeploymentPtrOutput() AppActiveDeploymentPtrOutput { + return i.ToAppActiveDeploymentPtrOutputWithContext(context.Background()) +} + +func (i AppActiveDeploymentArgs) ToAppActiveDeploymentPtrOutputWithContext(ctx context.Context) AppActiveDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentOutput).ToAppActiveDeploymentPtrOutputWithContext(ctx) +} + +// AppActiveDeploymentPtrInput is an input type that accepts AppActiveDeploymentArgs, AppActiveDeploymentPtr and AppActiveDeploymentPtrOutput values. +// You can construct a concrete instance of `AppActiveDeploymentPtrInput` via: // -// ArtifactAllowlistArtifactMatcherArray{ ArtifactAllowlistArtifactMatcherArgs{...} } -type ArtifactAllowlistArtifactMatcherArrayInput interface { +// AppActiveDeploymentArgs{...} +// +// or: +// +// nil +type AppActiveDeploymentPtrInput interface { pulumi.Input - ToArtifactAllowlistArtifactMatcherArrayOutput() ArtifactAllowlistArtifactMatcherArrayOutput - ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(context.Context) ArtifactAllowlistArtifactMatcherArrayOutput + ToAppActiveDeploymentPtrOutput() AppActiveDeploymentPtrOutput + ToAppActiveDeploymentPtrOutputWithContext(context.Context) AppActiveDeploymentPtrOutput } -type ArtifactAllowlistArtifactMatcherArray []ArtifactAllowlistArtifactMatcherInput +type appActiveDeploymentPtrType AppActiveDeploymentArgs -func (ArtifactAllowlistArtifactMatcherArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ArtifactAllowlistArtifactMatcher)(nil)).Elem() +func AppActiveDeploymentPtr(v *AppActiveDeploymentArgs) AppActiveDeploymentPtrInput { + return (*appActiveDeploymentPtrType)(v) } -func (i ArtifactAllowlistArtifactMatcherArray) ToArtifactAllowlistArtifactMatcherArrayOutput() ArtifactAllowlistArtifactMatcherArrayOutput { - return i.ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(context.Background()) +func (*appActiveDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppActiveDeployment)(nil)).Elem() } -func (i ArtifactAllowlistArtifactMatcherArray) ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ArtifactAllowlistArtifactMatcherArrayOutput) +func (i *appActiveDeploymentPtrType) ToAppActiveDeploymentPtrOutput() AppActiveDeploymentPtrOutput { + return i.ToAppActiveDeploymentPtrOutputWithContext(context.Background()) } -type ArtifactAllowlistArtifactMatcherOutput struct{ *pulumi.OutputState } +func (i *appActiveDeploymentPtrType) ToAppActiveDeploymentPtrOutputWithContext(ctx context.Context) AppActiveDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentPtrOutput) +} -func (ArtifactAllowlistArtifactMatcherOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ArtifactAllowlistArtifactMatcher)(nil)).Elem() +type AppActiveDeploymentOutput struct{ *pulumi.OutputState } + +func (AppActiveDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppActiveDeployment)(nil)).Elem() } -func (o ArtifactAllowlistArtifactMatcherOutput) ToArtifactAllowlistArtifactMatcherOutput() ArtifactAllowlistArtifactMatcherOutput { +func (o AppActiveDeploymentOutput) ToAppActiveDeploymentOutput() AppActiveDeploymentOutput { return o } -func (o ArtifactAllowlistArtifactMatcherOutput) ToArtifactAllowlistArtifactMatcherOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherOutput { +func (o AppActiveDeploymentOutput) ToAppActiveDeploymentOutputWithContext(ctx context.Context) AppActiveDeploymentOutput { return o } -// The artifact path or maven coordinate. -func (o ArtifactAllowlistArtifactMatcherOutput) Artifact() pulumi.StringOutput { - return o.ApplyT(func(v ArtifactAllowlistArtifactMatcher) string { return v.Artifact }).(pulumi.StringOutput) +func (o AppActiveDeploymentOutput) ToAppActiveDeploymentPtrOutput() AppActiveDeploymentPtrOutput { + return o.ToAppActiveDeploymentPtrOutputWithContext(context.Background()) } -// The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. -func (o ArtifactAllowlistArtifactMatcherOutput) MatchType() pulumi.StringOutput { - return o.ApplyT(func(v ArtifactAllowlistArtifactMatcher) string { return v.MatchType }).(pulumi.StringOutput) +func (o AppActiveDeploymentOutput) ToAppActiveDeploymentPtrOutputWithContext(ctx context.Context) AppActiveDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppActiveDeployment) *AppActiveDeployment { + return &v + }).(AppActiveDeploymentPtrOutput) } -type ArtifactAllowlistArtifactMatcherArrayOutput struct{ *pulumi.OutputState } +// The creation time of the app. +func (o AppActiveDeploymentOutput) CreateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *string { return v.CreateTime }).(pulumi.StringPtrOutput) +} -func (ArtifactAllowlistArtifactMatcherArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ArtifactAllowlistArtifactMatcher)(nil)).Elem() +// The email of the user that created the app. +func (o AppActiveDeploymentOutput) Creator() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *string { return v.Creator }).(pulumi.StringPtrOutput) } -func (o ArtifactAllowlistArtifactMatcherArrayOutput) ToArtifactAllowlistArtifactMatcherArrayOutput() ArtifactAllowlistArtifactMatcherArrayOutput { - return o +func (o AppActiveDeploymentOutput) DeploymentArtifacts() AppActiveDeploymentDeploymentArtifactsPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *AppActiveDeploymentDeploymentArtifacts { return v.DeploymentArtifacts }).(AppActiveDeploymentDeploymentArtifactsPtrOutput) } -func (o ArtifactAllowlistArtifactMatcherArrayOutput) ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherArrayOutput { - return o +func (o AppActiveDeploymentOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) } -func (o ArtifactAllowlistArtifactMatcherArrayOutput) Index(i pulumi.IntInput) ArtifactAllowlistArtifactMatcherOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactAllowlistArtifactMatcher { - return vs[0].([]ArtifactAllowlistArtifactMatcher)[vs[1].(int)] - }).(ArtifactAllowlistArtifactMatcherOutput) +func (o AppActiveDeploymentOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *string { return v.Mode }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace struct { - CanToggle *bool `pulumi:"canToggle"` - Enabled bool `pulumi:"enabled"` - EnablementDetails *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails `pulumi:"enablementDetails"` - MaintenanceWindow *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow `pulumi:"maintenanceWindow"` - RestartEvenIfNoUpdatesAvailable *bool `pulumi:"restartEvenIfNoUpdatesAvailable"` +func (o AppActiveDeploymentOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput` via: -// -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{...} -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput interface { - pulumi.Input +func (o AppActiveDeploymentOutput) Status() AppActiveDeploymentStatusPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *AppActiveDeploymentStatus { return v.Status }).(AppActiveDeploymentStatusPtrOutput) +} - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput +// The update time of the app. +func (o AppActiveDeploymentOutput) UpdateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeployment) *string { return v.UpdateTime }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs struct { - CanToggle pulumi.BoolPtrInput `pulumi:"canToggle"` - Enabled pulumi.BoolInput `pulumi:"enabled"` - EnablementDetails AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput `pulumi:"enablementDetails"` - MaintenanceWindow AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput `pulumi:"maintenanceWindow"` - RestartEvenIfNoUpdatesAvailable pulumi.BoolPtrInput `pulumi:"restartEvenIfNoUpdatesAvailable"` +type AppActiveDeploymentPtrOutput struct{ *pulumi.OutputState } + +func (AppActiveDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppActiveDeployment)(nil)).Elem() } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +func (o AppActiveDeploymentPtrOutput) ToAppActiveDeploymentPtrOutput() AppActiveDeploymentPtrOutput { + return o } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(context.Background()) +func (o AppActiveDeploymentPtrOutput) ToAppActiveDeploymentPtrOutputWithContext(ctx context.Context) AppActiveDeploymentPtrOutput { + return o } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) +func (o AppActiveDeploymentPtrOutput) Elem() AppActiveDeploymentOutput { + return o.ApplyT(func(v *AppActiveDeployment) AppActiveDeployment { + if v != nil { + return *v + } + var ret AppActiveDeployment + return ret + }).(AppActiveDeploymentOutput) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) +// The creation time of the app. +func (o AppActiveDeploymentPtrOutput) CreateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *string { + if v == nil { + return nil + } + return v.CreateTime + }).(pulumi.StringPtrOutput) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx) +// The email of the user that created the app. +func (o AppActiveDeploymentPtrOutput) Creator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *string { + if v == nil { + return nil + } + return v.Creator + }).(pulumi.StringPtrOutput) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput` via: -// -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{...} -// -// or: -// -// nil -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput interface { - pulumi.Input +func (o AppActiveDeploymentPtrOutput) DeploymentArtifacts() AppActiveDeploymentDeploymentArtifactsPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *AppActiveDeploymentDeploymentArtifacts { + if v == nil { + return nil + } + return v.DeploymentArtifacts + }).(AppActiveDeploymentDeploymentArtifactsPtrOutput) +} - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput +func (o AppActiveDeploymentPtrOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *string { + if v == nil { + return nil + } + return v.DeploymentId + }).(pulumi.StringPtrOutput) } -type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs +func (o AppActiveDeploymentPtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *string { + if v == nil { + return nil + } + return v.Mode + }).(pulumi.StringPtrOutput) +} -func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput { - return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType)(v) +func (o AppActiveDeploymentPtrOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *string { + if v == nil { + return nil + } + return v.SourceCodePath + }).(pulumi.StringPtrOutput) } -func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +func (o AppActiveDeploymentPtrOutput) Status() AppActiveDeploymentStatusPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *AppActiveDeploymentStatus { + if v == nil { + return nil + } + return v.Status + }).(AppActiveDeploymentStatusPtrOutput) } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) +// The update time of the app. +func (o AppActiveDeploymentPtrOutput) UpdateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeployment) *string { + if v == nil { + return nil + } + return v.UpdateTime + }).(pulumi.StringPtrOutput) } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) +type AppActiveDeploymentDeploymentArtifacts struct { + SourceCodePath *string `pulumi:"sourceCodePath"` } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput struct{ *pulumi.OutputState } +// AppActiveDeploymentDeploymentArtifactsInput is an input type that accepts AppActiveDeploymentDeploymentArtifactsArgs and AppActiveDeploymentDeploymentArtifactsOutput values. +// You can construct a concrete instance of `AppActiveDeploymentDeploymentArtifactsInput` via: +// +// AppActiveDeploymentDeploymentArtifactsArgs{...} +type AppActiveDeploymentDeploymentArtifactsInput interface { + pulumi.Input -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() + ToAppActiveDeploymentDeploymentArtifactsOutput() AppActiveDeploymentDeploymentArtifactsOutput + ToAppActiveDeploymentDeploymentArtifactsOutputWithContext(context.Context) AppActiveDeploymentDeploymentArtifactsOutput } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { - return o +type AppActiveDeploymentDeploymentArtifactsArgs struct { + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { - return o +func (AppActiveDeploymentDeploymentArtifactsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { - return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) +func (i AppActiveDeploymentDeploymentArtifactsArgs) ToAppActiveDeploymentDeploymentArtifactsOutput() AppActiveDeploymentDeploymentArtifactsOutput { + return i.ToAppActiveDeploymentDeploymentArtifactsOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { - return &v - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) +func (i AppActiveDeploymentDeploymentArtifactsArgs) ToAppActiveDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) AppActiveDeploymentDeploymentArtifactsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentDeploymentArtifactsOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) CanToggle() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { - return v.CanToggle - }).(pulumi.BoolPtrOutput) +func (i AppActiveDeploymentDeploymentArtifactsArgs) ToAppActiveDeploymentDeploymentArtifactsPtrOutput() AppActiveDeploymentDeploymentArtifactsPtrOutput { + return i.ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) bool { return v.Enabled }).(pulumi.BoolOutput) +func (i AppActiveDeploymentDeploymentArtifactsArgs) ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppActiveDeploymentDeploymentArtifactsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentDeploymentArtifactsOutput).ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(ctx) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) EnablementDetails() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { - return v.EnablementDetails - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +// AppActiveDeploymentDeploymentArtifactsPtrInput is an input type that accepts AppActiveDeploymentDeploymentArtifactsArgs, AppActiveDeploymentDeploymentArtifactsPtr and AppActiveDeploymentDeploymentArtifactsPtrOutput values. +// You can construct a concrete instance of `AppActiveDeploymentDeploymentArtifactsPtrInput` via: +// +// AppActiveDeploymentDeploymentArtifactsArgs{...} +// +// or: +// +// nil +type AppActiveDeploymentDeploymentArtifactsPtrInput interface { + pulumi.Input + + ToAppActiveDeploymentDeploymentArtifactsPtrOutput() AppActiveDeploymentDeploymentArtifactsPtrOutput + ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(context.Context) AppActiveDeploymentDeploymentArtifactsPtrOutput } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) MaintenanceWindow() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { - return v.MaintenanceWindow - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) +type appActiveDeploymentDeploymentArtifactsPtrType AppActiveDeploymentDeploymentArtifactsArgs + +func AppActiveDeploymentDeploymentArtifactsPtr(v *AppActiveDeploymentDeploymentArtifactsArgs) AppActiveDeploymentDeploymentArtifactsPtrInput { + return (*appActiveDeploymentDeploymentArtifactsPtrType)(v) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) RestartEvenIfNoUpdatesAvailable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { - return v.RestartEvenIfNoUpdatesAvailable - }).(pulumi.BoolPtrOutput) +func (*appActiveDeploymentDeploymentArtifactsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput struct{ *pulumi.OutputState } +func (i *appActiveDeploymentDeploymentArtifactsPtrType) ToAppActiveDeploymentDeploymentArtifactsPtrOutput() AppActiveDeploymentDeploymentArtifactsPtrOutput { + return i.ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(context.Background()) +} -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() +func (i *appActiveDeploymentDeploymentArtifactsPtrType) ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppActiveDeploymentDeploymentArtifactsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentDeploymentArtifactsPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { +type AppActiveDeploymentDeploymentArtifactsOutput struct{ *pulumi.OutputState } + +func (AppActiveDeploymentDeploymentArtifactsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppActiveDeploymentDeploymentArtifacts)(nil)).Elem() +} + +func (o AppActiveDeploymentDeploymentArtifactsOutput) ToAppActiveDeploymentDeploymentArtifactsOutput() AppActiveDeploymentDeploymentArtifactsOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { +func (o AppActiveDeploymentDeploymentArtifactsOutput) ToAppActiveDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) AppActiveDeploymentDeploymentArtifactsOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { - if v != nil { - return *v - } - var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace - return ret - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) +func (o AppActiveDeploymentDeploymentArtifactsOutput) ToAppActiveDeploymentDeploymentArtifactsPtrOutput() AppActiveDeploymentDeploymentArtifactsPtrOutput { + return o.ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) CanToggle() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { - if v == nil { - return nil - } - return v.CanToggle - }).(pulumi.BoolPtrOutput) +func (o AppActiveDeploymentDeploymentArtifactsOutput) ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppActiveDeploymentDeploymentArtifactsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppActiveDeploymentDeploymentArtifacts) *AppActiveDeploymentDeploymentArtifacts { + return &v + }).(AppActiveDeploymentDeploymentArtifactsPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { - if v == nil { - return nil - } - return &v.Enabled - }).(pulumi.BoolPtrOutput) +func (o AppActiveDeploymentDeploymentArtifactsOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeploymentDeploymentArtifacts) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) EnablementDetails() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { - if v == nil { - return nil - } - return v.EnablementDetails - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +type AppActiveDeploymentDeploymentArtifactsPtrOutput struct{ *pulumi.OutputState } + +func (AppActiveDeploymentDeploymentArtifactsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) MaintenanceWindow() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { - if v == nil { - return nil +func (o AppActiveDeploymentDeploymentArtifactsPtrOutput) ToAppActiveDeploymentDeploymentArtifactsPtrOutput() AppActiveDeploymentDeploymentArtifactsPtrOutput { + return o +} + +func (o AppActiveDeploymentDeploymentArtifactsPtrOutput) ToAppActiveDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppActiveDeploymentDeploymentArtifactsPtrOutput { + return o +} + +func (o AppActiveDeploymentDeploymentArtifactsPtrOutput) Elem() AppActiveDeploymentDeploymentArtifactsOutput { + return o.ApplyT(func(v *AppActiveDeploymentDeploymentArtifacts) AppActiveDeploymentDeploymentArtifacts { + if v != nil { + return *v } - return v.MaintenanceWindow - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) + var ret AppActiveDeploymentDeploymentArtifacts + return ret + }).(AppActiveDeploymentDeploymentArtifactsOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) RestartEvenIfNoUpdatesAvailable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { +func (o AppActiveDeploymentDeploymentArtifactsPtrOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeploymentDeploymentArtifacts) *string { if v == nil { return nil } - return v.RestartEvenIfNoUpdatesAvailable - }).(pulumi.BoolPtrOutput) + return v.SourceCodePath + }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails struct { - ForcedForComplianceMode *bool `pulumi:"forcedForComplianceMode"` - UnavailableForDisabledEntitlement *bool `pulumi:"unavailableForDisabledEntitlement"` - UnavailableForNonEnterpriseTier *bool `pulumi:"unavailableForNonEnterpriseTier"` +type AppActiveDeploymentStatus struct { + // Application status message + Message *string `pulumi:"message"` + // State of the application. + State *string `pulumi:"state"` } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput` via: +// AppActiveDeploymentStatusInput is an input type that accepts AppActiveDeploymentStatusArgs and AppActiveDeploymentStatusOutput values. +// You can construct a concrete instance of `AppActiveDeploymentStatusInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{...} -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput interface { +// AppActiveDeploymentStatusArgs{...} +type AppActiveDeploymentStatusInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput + ToAppActiveDeploymentStatusOutput() AppActiveDeploymentStatusOutput + ToAppActiveDeploymentStatusOutputWithContext(context.Context) AppActiveDeploymentStatusOutput } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs struct { - ForcedForComplianceMode pulumi.BoolPtrInput `pulumi:"forcedForComplianceMode"` - UnavailableForDisabledEntitlement pulumi.BoolPtrInput `pulumi:"unavailableForDisabledEntitlement"` - UnavailableForNonEnterpriseTier pulumi.BoolPtrInput `pulumi:"unavailableForNonEnterpriseTier"` +type AppActiveDeploymentStatusArgs struct { + // Application status message + Message pulumi.StringPtrInput `pulumi:"message"` + // State of the application. + State pulumi.StringPtrInput `pulumi:"state"` } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +func (AppActiveDeploymentStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppActiveDeploymentStatus)(nil)).Elem() } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(context.Background()) +func (i AppActiveDeploymentStatusArgs) ToAppActiveDeploymentStatusOutput() AppActiveDeploymentStatusOutput { + return i.ToAppActiveDeploymentStatusOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) +func (i AppActiveDeploymentStatusArgs) ToAppActiveDeploymentStatusOutputWithContext(ctx context.Context) AppActiveDeploymentStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentStatusOutput) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) +func (i AppActiveDeploymentStatusArgs) ToAppActiveDeploymentStatusPtrOutput() AppActiveDeploymentStatusPtrOutput { + return i.ToAppActiveDeploymentStatusPtrOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx) +func (i AppActiveDeploymentStatusArgs) ToAppActiveDeploymentStatusPtrOutputWithContext(ctx context.Context) AppActiveDeploymentStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentStatusOutput).ToAppActiveDeploymentStatusPtrOutputWithContext(ctx) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput` via: +// AppActiveDeploymentStatusPtrInput is an input type that accepts AppActiveDeploymentStatusArgs, AppActiveDeploymentStatusPtr and AppActiveDeploymentStatusPtrOutput values. +// You can construct a concrete instance of `AppActiveDeploymentStatusPtrInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{...} +// AppActiveDeploymentStatusArgs{...} // // or: // // nil -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput interface { +type AppActiveDeploymentStatusPtrInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput + ToAppActiveDeploymentStatusPtrOutput() AppActiveDeploymentStatusPtrOutput + ToAppActiveDeploymentStatusPtrOutputWithContext(context.Context) AppActiveDeploymentStatusPtrOutput } -type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs +type appActiveDeploymentStatusPtrType AppActiveDeploymentStatusArgs -func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput { - return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType)(v) +func AppActiveDeploymentStatusPtr(v *AppActiveDeploymentStatusArgs) AppActiveDeploymentStatusPtrInput { + return (*appActiveDeploymentStatusPtrType)(v) } -func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +func (*appActiveDeploymentStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppActiveDeploymentStatus)(nil)).Elem() } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) +func (i *appActiveDeploymentStatusPtrType) ToAppActiveDeploymentStatusPtrOutput() AppActiveDeploymentStatusPtrOutput { + return i.ToAppActiveDeploymentStatusPtrOutputWithContext(context.Background()) } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) +func (i *appActiveDeploymentStatusPtrType) ToAppActiveDeploymentStatusPtrOutputWithContext(ctx context.Context) AppActiveDeploymentStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppActiveDeploymentStatusPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput struct{ *pulumi.OutputState } +type AppActiveDeploymentStatusOutput struct{ *pulumi.OutputState } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +func (AppActiveDeploymentStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppActiveDeploymentStatus)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { +func (o AppActiveDeploymentStatusOutput) ToAppActiveDeploymentStatusOutput() AppActiveDeploymentStatusOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { +func (o AppActiveDeploymentStatusOutput) ToAppActiveDeploymentStatusOutputWithContext(ctx context.Context) AppActiveDeploymentStatusOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) +func (o AppActiveDeploymentStatusOutput) ToAppActiveDeploymentStatusPtrOutput() AppActiveDeploymentStatusPtrOutput { + return o.ToAppActiveDeploymentStatusPtrOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { +func (o AppActiveDeploymentStatusOutput) ToAppActiveDeploymentStatusPtrOutputWithContext(ctx context.Context) AppActiveDeploymentStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppActiveDeploymentStatus) *AppActiveDeploymentStatus { return &v - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) -} - -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ForcedForComplianceMode() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { - return v.ForcedForComplianceMode - }).(pulumi.BoolPtrOutput) + }).(AppActiveDeploymentStatusPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) UnavailableForDisabledEntitlement() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { - return v.UnavailableForDisabledEntitlement - }).(pulumi.BoolPtrOutput) +// Application status message +func (o AppActiveDeploymentStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeploymentStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) UnavailableForNonEnterpriseTier() pulumi.BoolPtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { - return v.UnavailableForNonEnterpriseTier - }).(pulumi.BoolPtrOutput) +// State of the application. +func (o AppActiveDeploymentStatusOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppActiveDeploymentStatus) *string { return v.State }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput struct{ *pulumi.OutputState } +type AppActiveDeploymentStatusPtrOutput struct{ *pulumi.OutputState } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +func (AppActiveDeploymentStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppActiveDeploymentStatus)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { +func (o AppActiveDeploymentStatusPtrOutput) ToAppActiveDeploymentStatusPtrOutput() AppActiveDeploymentStatusPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { +func (o AppActiveDeploymentStatusPtrOutput) ToAppActiveDeploymentStatusPtrOutputWithContext(ctx context.Context) AppActiveDeploymentStatusPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { +func (o AppActiveDeploymentStatusPtrOutput) Elem() AppActiveDeploymentStatusOutput { + return o.ApplyT(func(v *AppActiveDeploymentStatus) AppActiveDeploymentStatus { if v != nil { return *v } - var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails + var ret AppActiveDeploymentStatus return ret - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) -} - -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ForcedForComplianceMode() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { - if v == nil { - return nil - } - return v.ForcedForComplianceMode - }).(pulumi.BoolPtrOutput) + }).(AppActiveDeploymentStatusOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) UnavailableForDisabledEntitlement() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { +// Application status message +func (o AppActiveDeploymentStatusPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeploymentStatus) *string { if v == nil { return nil } - return v.UnavailableForDisabledEntitlement - }).(pulumi.BoolPtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) UnavailableForNonEnterpriseTier() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { +// State of the application. +func (o AppActiveDeploymentStatusPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppActiveDeploymentStatus) *string { if v == nil { return nil } - return v.UnavailableForNonEnterpriseTier - }).(pulumi.BoolPtrOutput) + return v.State + }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow struct { - WeekDayBasedSchedule *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule `pulumi:"weekDayBasedSchedule"` +type AppAppStatus struct { + // Application status message + Message *string `pulumi:"message"` + // State of the application. + State *string `pulumi:"state"` } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput` via: +// AppAppStatusInput is an input type that accepts AppAppStatusArgs and AppAppStatusOutput values. +// You can construct a concrete instance of `AppAppStatusInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{...} -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput interface { +// AppAppStatusArgs{...} +type AppAppStatusInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput + ToAppAppStatusOutput() AppAppStatusOutput + ToAppAppStatusOutputWithContext(context.Context) AppAppStatusOutput } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs struct { - WeekDayBasedSchedule AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput `pulumi:"weekDayBasedSchedule"` +type AppAppStatusArgs struct { + // Application status message + Message pulumi.StringPtrInput `pulumi:"message"` + // State of the application. + State pulumi.StringPtrInput `pulumi:"state"` } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +func (AppAppStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppAppStatus)(nil)).Elem() } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(context.Background()) +func (i AppAppStatusArgs) ToAppAppStatusOutput() AppAppStatusOutput { + return i.ToAppAppStatusOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) +func (i AppAppStatusArgs) ToAppAppStatusOutputWithContext(ctx context.Context) AppAppStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppAppStatusOutput) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) +func (i AppAppStatusArgs) ToAppAppStatusPtrOutput() AppAppStatusPtrOutput { + return i.ToAppAppStatusPtrOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx) +func (i AppAppStatusArgs) ToAppAppStatusPtrOutputWithContext(ctx context.Context) AppAppStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppAppStatusOutput).ToAppAppStatusPtrOutputWithContext(ctx) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput` via: +// AppAppStatusPtrInput is an input type that accepts AppAppStatusArgs, AppAppStatusPtr and AppAppStatusPtrOutput values. +// You can construct a concrete instance of `AppAppStatusPtrInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{...} +// AppAppStatusArgs{...} // // or: // // nil -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput interface { +type AppAppStatusPtrInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput + ToAppAppStatusPtrOutput() AppAppStatusPtrOutput + ToAppAppStatusPtrOutputWithContext(context.Context) AppAppStatusPtrOutput } -type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs +type appAppStatusPtrType AppAppStatusArgs -func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput { - return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType)(v) +func AppAppStatusPtr(v *AppAppStatusArgs) AppAppStatusPtrInput { + return (*appAppStatusPtrType)(v) } -func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +func (*appAppStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppAppStatus)(nil)).Elem() } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) +func (i *appAppStatusPtrType) ToAppAppStatusPtrOutput() AppAppStatusPtrOutput { + return i.ToAppAppStatusPtrOutputWithContext(context.Background()) } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) +func (i *appAppStatusPtrType) ToAppAppStatusPtrOutputWithContext(ctx context.Context) AppAppStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppAppStatusPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput struct{ *pulumi.OutputState } +type AppAppStatusOutput struct{ *pulumi.OutputState } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +func (AppAppStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppAppStatus)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { +func (o AppAppStatusOutput) ToAppAppStatusOutput() AppAppStatusOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { +func (o AppAppStatusOutput) ToAppAppStatusOutputWithContext(ctx context.Context) AppAppStatusOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) +func (o AppAppStatusOutput) ToAppAppStatusPtrOutput() AppAppStatusPtrOutput { + return o.ToAppAppStatusPtrOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { +func (o AppAppStatusOutput) ToAppAppStatusPtrOutputWithContext(ctx context.Context) AppAppStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppAppStatus) *AppAppStatus { return &v - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) + }).(AppAppStatusPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) WeekDayBasedSchedule() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { - return v.WeekDayBasedSchedule - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) +// Application status message +func (o AppAppStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppAppStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput struct{ *pulumi.OutputState } +// State of the application. +func (o AppAppStatusOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppAppStatus) *string { return v.State }).(pulumi.StringPtrOutput) +} -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() +type AppAppStatusPtrOutput struct{ *pulumi.OutputState } + +func (AppAppStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppAppStatus)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { +func (o AppAppStatusPtrOutput) ToAppAppStatusPtrOutput() AppAppStatusPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { +func (o AppAppStatusPtrOutput) ToAppAppStatusPtrOutputWithContext(ctx context.Context) AppAppStatusPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { +func (o AppAppStatusPtrOutput) Elem() AppAppStatusOutput { + return o.ApplyT(func(v *AppAppStatus) AppAppStatus { if v != nil { return *v } - var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow + var ret AppAppStatus return ret - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) + }).(AppAppStatusOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) WeekDayBasedSchedule() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { +// Application status message +func (o AppAppStatusPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppAppStatus) *string { if v == nil { return nil } - return v.WeekDayBasedSchedule - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) + return v.Message + }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule struct { - DayOfWeek string `pulumi:"dayOfWeek"` - Frequency string `pulumi:"frequency"` - WindowStartTime *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime `pulumi:"windowStartTime"` +// State of the application. +func (o AppAppStatusPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppAppStatus) *string { + if v == nil { + return nil + } + return v.State + }).(pulumi.StringPtrOutput) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput` via: +type AppComputeStatus struct { + // Application status message + Message *string `pulumi:"message"` + // State of the application. + State *string `pulumi:"state"` +} + +// AppComputeStatusInput is an input type that accepts AppComputeStatusArgs and AppComputeStatusOutput values. +// You can construct a concrete instance of `AppComputeStatusInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{...} -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput interface { +// AppComputeStatusArgs{...} +type AppComputeStatusInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput + ToAppComputeStatusOutput() AppComputeStatusOutput + ToAppComputeStatusOutputWithContext(context.Context) AppComputeStatusOutput } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs struct { - DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` - Frequency pulumi.StringInput `pulumi:"frequency"` - WindowStartTime AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput `pulumi:"windowStartTime"` +type AppComputeStatusArgs struct { + // Application status message + Message pulumi.StringPtrInput `pulumi:"message"` + // State of the application. + State pulumi.StringPtrInput `pulumi:"state"` } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +func (AppComputeStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppComputeStatus)(nil)).Elem() } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(context.Background()) +func (i AppComputeStatusArgs) ToAppComputeStatusOutput() AppComputeStatusOutput { + return i.ToAppComputeStatusOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) +func (i AppComputeStatusArgs) ToAppComputeStatusOutputWithContext(ctx context.Context) AppComputeStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppComputeStatusOutput) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) +func (i AppComputeStatusArgs) ToAppComputeStatusPtrOutput() AppComputeStatusPtrOutput { + return i.ToAppComputeStatusPtrOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx) +func (i AppComputeStatusArgs) ToAppComputeStatusPtrOutputWithContext(ctx context.Context) AppComputeStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppComputeStatusOutput).ToAppComputeStatusPtrOutputWithContext(ctx) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput` via: +// AppComputeStatusPtrInput is an input type that accepts AppComputeStatusArgs, AppComputeStatusPtr and AppComputeStatusPtrOutput values. +// You can construct a concrete instance of `AppComputeStatusPtrInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{...} +// AppComputeStatusArgs{...} // // or: // // nil -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput interface { +type AppComputeStatusPtrInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput + ToAppComputeStatusPtrOutput() AppComputeStatusPtrOutput + ToAppComputeStatusPtrOutputWithContext(context.Context) AppComputeStatusPtrOutput } -type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs +type appComputeStatusPtrType AppComputeStatusArgs -func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput { - return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType)(v) +func AppComputeStatusPtr(v *AppComputeStatusArgs) AppComputeStatusPtrInput { + return (*appComputeStatusPtrType)(v) } -func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +func (*appComputeStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppComputeStatus)(nil)).Elem() } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) +func (i *appComputeStatusPtrType) ToAppComputeStatusPtrOutput() AppComputeStatusPtrOutput { + return i.ToAppComputeStatusPtrOutputWithContext(context.Background()) } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) +func (i *appComputeStatusPtrType) ToAppComputeStatusPtrOutputWithContext(ctx context.Context) AppComputeStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppComputeStatusPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput struct{ *pulumi.OutputState } +type AppComputeStatusOutput struct{ *pulumi.OutputState } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +func (AppComputeStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppComputeStatus)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { +func (o AppComputeStatusOutput) ToAppComputeStatusOutput() AppComputeStatusOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { +func (o AppComputeStatusOutput) ToAppComputeStatusOutputWithContext(ctx context.Context) AppComputeStatusOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) +func (o AppComputeStatusOutput) ToAppComputeStatusPtrOutput() AppComputeStatusPtrOutput { + return o.ToAppComputeStatusPtrOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { +func (o AppComputeStatusOutput) ToAppComputeStatusPtrOutputWithContext(ctx context.Context) AppComputeStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppComputeStatus) *AppComputeStatus { return &v - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) -} - -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) DayOfWeek() pulumi.StringOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) string { - return v.DayOfWeek - }).(pulumi.StringOutput) + }).(AppComputeStatusPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) Frequency() pulumi.StringOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) string { - return v.Frequency - }).(pulumi.StringOutput) +// Application status message +func (o AppComputeStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppComputeStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) WindowStartTime() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { - return v.WindowStartTime - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +// State of the application. +func (o AppComputeStatusOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppComputeStatus) *string { return v.State }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput struct{ *pulumi.OutputState } +type AppComputeStatusPtrOutput struct{ *pulumi.OutputState } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +func (AppComputeStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppComputeStatus)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { +func (o AppComputeStatusPtrOutput) ToAppComputeStatusPtrOutput() AppComputeStatusPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { +func (o AppComputeStatusPtrOutput) ToAppComputeStatusPtrOutputWithContext(ctx context.Context) AppComputeStatusPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { +func (o AppComputeStatusPtrOutput) Elem() AppComputeStatusOutput { + return o.ApplyT(func(v *AppComputeStatus) AppComputeStatus { if v != nil { return *v } - var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule + var ret AppComputeStatus return ret - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) + }).(AppComputeStatusOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) DayOfWeek() pulumi.StringPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { +// Application status message +func (o AppComputeStatusPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppComputeStatus) *string { if v == nil { return nil } - return &v.DayOfWeek + return v.Message }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) Frequency() pulumi.StringPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { +// State of the application. +func (o AppComputeStatusPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppComputeStatus) *string { if v == nil { return nil } - return &v.Frequency + return v.State }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) WindowStartTime() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { - if v == nil { - return nil - } - return v.WindowStartTime - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) -} - -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime struct { - Hours int `pulumi:"hours"` - Minutes int `pulumi:"minutes"` +type AppPendingDeployment struct { + // The creation time of the app. + CreateTime *string `pulumi:"createTime"` + // The email of the user that created the app. + Creator *string `pulumi:"creator"` + DeploymentArtifacts *AppPendingDeploymentDeploymentArtifacts `pulumi:"deploymentArtifacts"` + DeploymentId *string `pulumi:"deploymentId"` + Mode *string `pulumi:"mode"` + SourceCodePath *string `pulumi:"sourceCodePath"` + Status *AppPendingDeploymentStatus `pulumi:"status"` + // The update time of the app. + UpdateTime *string `pulumi:"updateTime"` } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput` via: +// AppPendingDeploymentInput is an input type that accepts AppPendingDeploymentArgs and AppPendingDeploymentOutput values. +// You can construct a concrete instance of `AppPendingDeploymentInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{...} -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput interface { +// AppPendingDeploymentArgs{...} +type AppPendingDeploymentInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput + ToAppPendingDeploymentOutput() AppPendingDeploymentOutput + ToAppPendingDeploymentOutputWithContext(context.Context) AppPendingDeploymentOutput } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs struct { - Hours pulumi.IntInput `pulumi:"hours"` - Minutes pulumi.IntInput `pulumi:"minutes"` +type AppPendingDeploymentArgs struct { + // The creation time of the app. + CreateTime pulumi.StringPtrInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringPtrInput `pulumi:"creator"` + DeploymentArtifacts AppPendingDeploymentDeploymentArtifactsPtrInput `pulumi:"deploymentArtifacts"` + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` + Status AppPendingDeploymentStatusPtrInput `pulumi:"status"` + // The update time of the app. + UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"` } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +func (AppPendingDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppPendingDeployment)(nil)).Elem() } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(context.Background()) +func (i AppPendingDeploymentArgs) ToAppPendingDeploymentOutput() AppPendingDeploymentOutput { + return i.ToAppPendingDeploymentOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) +func (i AppPendingDeploymentArgs) ToAppPendingDeploymentOutputWithContext(ctx context.Context) AppPendingDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentOutput) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) +func (i AppPendingDeploymentArgs) ToAppPendingDeploymentPtrOutput() AppPendingDeploymentPtrOutput { + return i.ToAppPendingDeploymentPtrOutputWithContext(context.Background()) } -func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx) +func (i AppPendingDeploymentArgs) ToAppPendingDeploymentPtrOutputWithContext(ctx context.Context) AppPendingDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentOutput).ToAppPendingDeploymentPtrOutputWithContext(ctx) } -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput values. -// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput` via: +// AppPendingDeploymentPtrInput is an input type that accepts AppPendingDeploymentArgs, AppPendingDeploymentPtr and AppPendingDeploymentPtrOutput values. +// You can construct a concrete instance of `AppPendingDeploymentPtrInput` via: // -// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{...} +// AppPendingDeploymentArgs{...} // // or: // // nil -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput interface { +type AppPendingDeploymentPtrInput interface { pulumi.Input - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput - ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput + ToAppPendingDeploymentPtrOutput() AppPendingDeploymentPtrOutput + ToAppPendingDeploymentPtrOutputWithContext(context.Context) AppPendingDeploymentPtrOutput } -type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs +type appPendingDeploymentPtrType AppPendingDeploymentArgs -func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput { - return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType)(v) +func AppPendingDeploymentPtr(v *AppPendingDeploymentArgs) AppPendingDeploymentPtrInput { + return (*appPendingDeploymentPtrType)(v) } -func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +func (*appPendingDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppPendingDeployment)(nil)).Elem() } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) +func (i *appPendingDeploymentPtrType) ToAppPendingDeploymentPtrOutput() AppPendingDeploymentPtrOutput { + return i.ToAppPendingDeploymentPtrOutputWithContext(context.Background()) } -func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +func (i *appPendingDeploymentPtrType) ToAppPendingDeploymentPtrOutputWithContext(ctx context.Context) AppPendingDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput struct{ *pulumi.OutputState } +type AppPendingDeploymentOutput struct{ *pulumi.OutputState } -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +func (AppPendingDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppPendingDeployment)(nil)).Elem() } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { +func (o AppPendingDeploymentOutput) ToAppPendingDeploymentOutput() AppPendingDeploymentOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { +func (o AppPendingDeploymentOutput) ToAppPendingDeploymentOutputWithContext(ctx context.Context) AppPendingDeploymentOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) +func (o AppPendingDeploymentOutput) ToAppPendingDeploymentPtrOutput() AppPendingDeploymentPtrOutput { + return o.ToAppPendingDeploymentPtrOutputWithContext(context.Background()) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { +func (o AppPendingDeploymentOutput) ToAppPendingDeploymentPtrOutputWithContext(ctx context.Context) AppPendingDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppPendingDeployment) *AppPendingDeployment { return &v - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) + }).(AppPendingDeploymentPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) Hours() pulumi.IntOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) int { - return v.Hours - }).(pulumi.IntOutput) +// The creation time of the app. +func (o AppPendingDeploymentOutput) CreateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *string { return v.CreateTime }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) Minutes() pulumi.IntOutput { - return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) int { - return v.Minutes - }).(pulumi.IntOutput) +// The email of the user that created the app. +func (o AppPendingDeploymentOutput) Creator() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *string { return v.Creator }).(pulumi.StringPtrOutput) } -type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput struct{ *pulumi.OutputState } +func (o AppPendingDeploymentOutput) DeploymentArtifacts() AppPendingDeploymentDeploymentArtifactsPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *AppPendingDeploymentDeploymentArtifacts { return v.DeploymentArtifacts }).(AppPendingDeploymentDeploymentArtifactsPtrOutput) +} -func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() +func (o AppPendingDeploymentOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { +func (o AppPendingDeploymentOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *string { return v.Mode }).(pulumi.StringPtrOutput) +} + +func (o AppPendingDeploymentOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) +} + +func (o AppPendingDeploymentOutput) Status() AppPendingDeploymentStatusPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *AppPendingDeploymentStatus { return v.Status }).(AppPendingDeploymentStatusPtrOutput) +} + +// The update time of the app. +func (o AppPendingDeploymentOutput) UpdateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeployment) *string { return v.UpdateTime }).(pulumi.StringPtrOutput) +} + +type AppPendingDeploymentPtrOutput struct{ *pulumi.OutputState } + +func (AppPendingDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppPendingDeployment)(nil)).Elem() +} + +func (o AppPendingDeploymentPtrOutput) ToAppPendingDeploymentPtrOutput() AppPendingDeploymentPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { +func (o AppPendingDeploymentPtrOutput) ToAppPendingDeploymentPtrOutputWithContext(ctx context.Context) AppPendingDeploymentPtrOutput { return o } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { +func (o AppPendingDeploymentPtrOutput) Elem() AppPendingDeploymentOutput { + return o.ApplyT(func(v *AppPendingDeployment) AppPendingDeployment { if v != nil { return *v } - var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime + var ret AppPendingDeployment return ret - }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) + }).(AppPendingDeploymentOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Hours() pulumi.IntPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { +// The creation time of the app. +func (o AppPendingDeploymentPtrOutput) CreateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *string { if v == nil { return nil } - return &v.Hours - }).(pulumi.IntPtrOutput) + return v.CreateTime + }).(pulumi.StringPtrOutput) } -func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Minutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { +// The email of the user that created the app. +func (o AppPendingDeploymentPtrOutput) Creator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *string { if v == nil { return nil } - return &v.Minutes - }).(pulumi.IntPtrOutput) + return v.Creator + }).(pulumi.StringPtrOutput) } -type BudgetAlertConfiguration struct { - // List of action configurations to take when the budget alert is triggered. Consists of the following fields: - ActionConfigurations []BudgetAlertConfigurationActionConfiguration `pulumi:"actionConfigurations"` - AlertConfigurationId *string `pulumi:"alertConfigurationId"` - // The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantityType`. - QuantityThreshold *string `pulumi:"quantityThreshold"` - // The way to calculate cost for this budget alert. This is what quantityThreshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) - QuantityType *string `pulumi:"quantityType"` - // The time window of usage data for the budget. (Enum: `MONTH`) - TimePeriod *string `pulumi:"timePeriod"` - // The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) - TriggerType *string `pulumi:"triggerType"` +func (o AppPendingDeploymentPtrOutput) DeploymentArtifacts() AppPendingDeploymentDeploymentArtifactsPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *AppPendingDeploymentDeploymentArtifacts { + if v == nil { + return nil + } + return v.DeploymentArtifacts + }).(AppPendingDeploymentDeploymentArtifactsPtrOutput) } -// BudgetAlertConfigurationInput is an input type that accepts BudgetAlertConfigurationArgs and BudgetAlertConfigurationOutput values. -// You can construct a concrete instance of `BudgetAlertConfigurationInput` via: -// -// BudgetAlertConfigurationArgs{...} -type BudgetAlertConfigurationInput interface { - pulumi.Input +func (o AppPendingDeploymentPtrOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *string { + if v == nil { + return nil + } + return v.DeploymentId + }).(pulumi.StringPtrOutput) +} - ToBudgetAlertConfigurationOutput() BudgetAlertConfigurationOutput - ToBudgetAlertConfigurationOutputWithContext(context.Context) BudgetAlertConfigurationOutput +func (o AppPendingDeploymentPtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *string { + if v == nil { + return nil + } + return v.Mode + }).(pulumi.StringPtrOutput) } -type BudgetAlertConfigurationArgs struct { - // List of action configurations to take when the budget alert is triggered. Consists of the following fields: - ActionConfigurations BudgetAlertConfigurationActionConfigurationArrayInput `pulumi:"actionConfigurations"` - AlertConfigurationId pulumi.StringPtrInput `pulumi:"alertConfigurationId"` - // The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantityType`. - QuantityThreshold pulumi.StringPtrInput `pulumi:"quantityThreshold"` - // The way to calculate cost for this budget alert. This is what quantityThreshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) - QuantityType pulumi.StringPtrInput `pulumi:"quantityType"` - // The time window of usage data for the budget. (Enum: `MONTH`) - TimePeriod pulumi.StringPtrInput `pulumi:"timePeriod"` - // The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) - TriggerType pulumi.StringPtrInput `pulumi:"triggerType"` +func (o AppPendingDeploymentPtrOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *string { + if v == nil { + return nil + } + return v.SourceCodePath + }).(pulumi.StringPtrOutput) } -func (BudgetAlertConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetAlertConfiguration)(nil)).Elem() +func (o AppPendingDeploymentPtrOutput) Status() AppPendingDeploymentStatusPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *AppPendingDeploymentStatus { + if v == nil { + return nil + } + return v.Status + }).(AppPendingDeploymentStatusPtrOutput) } -func (i BudgetAlertConfigurationArgs) ToBudgetAlertConfigurationOutput() BudgetAlertConfigurationOutput { - return i.ToBudgetAlertConfigurationOutputWithContext(context.Background()) +// The update time of the app. +func (o AppPendingDeploymentPtrOutput) UpdateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeployment) *string { + if v == nil { + return nil + } + return v.UpdateTime + }).(pulumi.StringPtrOutput) } -func (i BudgetAlertConfigurationArgs) ToBudgetAlertConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationOutput) +type AppPendingDeploymentDeploymentArtifacts struct { + SourceCodePath *string `pulumi:"sourceCodePath"` } -// BudgetAlertConfigurationArrayInput is an input type that accepts BudgetAlertConfigurationArray and BudgetAlertConfigurationArrayOutput values. -// You can construct a concrete instance of `BudgetAlertConfigurationArrayInput` via: +// AppPendingDeploymentDeploymentArtifactsInput is an input type that accepts AppPendingDeploymentDeploymentArtifactsArgs and AppPendingDeploymentDeploymentArtifactsOutput values. +// You can construct a concrete instance of `AppPendingDeploymentDeploymentArtifactsInput` via: // -// BudgetAlertConfigurationArray{ BudgetAlertConfigurationArgs{...} } -type BudgetAlertConfigurationArrayInput interface { +// AppPendingDeploymentDeploymentArtifactsArgs{...} +type AppPendingDeploymentDeploymentArtifactsInput interface { pulumi.Input - ToBudgetAlertConfigurationArrayOutput() BudgetAlertConfigurationArrayOutput - ToBudgetAlertConfigurationArrayOutputWithContext(context.Context) BudgetAlertConfigurationArrayOutput -} - -type BudgetAlertConfigurationArray []BudgetAlertConfigurationInput - -func (BudgetAlertConfigurationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BudgetAlertConfiguration)(nil)).Elem() -} - -func (i BudgetAlertConfigurationArray) ToBudgetAlertConfigurationArrayOutput() BudgetAlertConfigurationArrayOutput { - return i.ToBudgetAlertConfigurationArrayOutputWithContext(context.Background()) -} - -func (i BudgetAlertConfigurationArray) ToBudgetAlertConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationArrayOutput) -} - -type BudgetAlertConfigurationOutput struct{ *pulumi.OutputState } - -func (BudgetAlertConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetAlertConfiguration)(nil)).Elem() -} - -func (o BudgetAlertConfigurationOutput) ToBudgetAlertConfigurationOutput() BudgetAlertConfigurationOutput { - return o -} - -func (o BudgetAlertConfigurationOutput) ToBudgetAlertConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationOutput { - return o -} - -// List of action configurations to take when the budget alert is triggered. Consists of the following fields: -func (o BudgetAlertConfigurationOutput) ActionConfigurations() BudgetAlertConfigurationActionConfigurationArrayOutput { - return o.ApplyT(func(v BudgetAlertConfiguration) []BudgetAlertConfigurationActionConfiguration { - return v.ActionConfigurations - }).(BudgetAlertConfigurationActionConfigurationArrayOutput) -} - -func (o BudgetAlertConfigurationOutput) AlertConfigurationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.AlertConfigurationId }).(pulumi.StringPtrOutput) -} - -// The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantityType`. -func (o BudgetAlertConfigurationOutput) QuantityThreshold() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.QuantityThreshold }).(pulumi.StringPtrOutput) -} - -// The way to calculate cost for this budget alert. This is what quantityThreshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) -func (o BudgetAlertConfigurationOutput) QuantityType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.QuantityType }).(pulumi.StringPtrOutput) -} - -// The time window of usage data for the budget. (Enum: `MONTH`) -func (o BudgetAlertConfigurationOutput) TimePeriod() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.TimePeriod }).(pulumi.StringPtrOutput) + ToAppPendingDeploymentDeploymentArtifactsOutput() AppPendingDeploymentDeploymentArtifactsOutput + ToAppPendingDeploymentDeploymentArtifactsOutputWithContext(context.Context) AppPendingDeploymentDeploymentArtifactsOutput } -// The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) -func (o BudgetAlertConfigurationOutput) TriggerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.TriggerType }).(pulumi.StringPtrOutput) +type AppPendingDeploymentDeploymentArtifactsArgs struct { + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` } -type BudgetAlertConfigurationArrayOutput struct{ *pulumi.OutputState } - -func (BudgetAlertConfigurationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BudgetAlertConfiguration)(nil)).Elem() +func (AppPendingDeploymentDeploymentArtifactsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o BudgetAlertConfigurationArrayOutput) ToBudgetAlertConfigurationArrayOutput() BudgetAlertConfigurationArrayOutput { - return o +func (i AppPendingDeploymentDeploymentArtifactsArgs) ToAppPendingDeploymentDeploymentArtifactsOutput() AppPendingDeploymentDeploymentArtifactsOutput { + return i.ToAppPendingDeploymentDeploymentArtifactsOutputWithContext(context.Background()) } -func (o BudgetAlertConfigurationArrayOutput) ToBudgetAlertConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationArrayOutput { - return o +func (i AppPendingDeploymentDeploymentArtifactsArgs) ToAppPendingDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) AppPendingDeploymentDeploymentArtifactsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentDeploymentArtifactsOutput) } -func (o BudgetAlertConfigurationArrayOutput) Index(i pulumi.IntInput) BudgetAlertConfigurationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BudgetAlertConfiguration { - return vs[0].([]BudgetAlertConfiguration)[vs[1].(int)] - }).(BudgetAlertConfigurationOutput) +func (i AppPendingDeploymentDeploymentArtifactsArgs) ToAppPendingDeploymentDeploymentArtifactsPtrOutput() AppPendingDeploymentDeploymentArtifactsPtrOutput { + return i.ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(context.Background()) } -type BudgetAlertConfigurationActionConfiguration struct { - ActionConfigurationId *string `pulumi:"actionConfigurationId"` - // The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) - ActionType *string `pulumi:"actionType"` - // The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. - Target *string `pulumi:"target"` +func (i AppPendingDeploymentDeploymentArtifactsArgs) ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppPendingDeploymentDeploymentArtifactsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentDeploymentArtifactsOutput).ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(ctx) } -// BudgetAlertConfigurationActionConfigurationInput is an input type that accepts BudgetAlertConfigurationActionConfigurationArgs and BudgetAlertConfigurationActionConfigurationOutput values. -// You can construct a concrete instance of `BudgetAlertConfigurationActionConfigurationInput` via: +// AppPendingDeploymentDeploymentArtifactsPtrInput is an input type that accepts AppPendingDeploymentDeploymentArtifactsArgs, AppPendingDeploymentDeploymentArtifactsPtr and AppPendingDeploymentDeploymentArtifactsPtrOutput values. +// You can construct a concrete instance of `AppPendingDeploymentDeploymentArtifactsPtrInput` via: // -// BudgetAlertConfigurationActionConfigurationArgs{...} -type BudgetAlertConfigurationActionConfigurationInput interface { +// AppPendingDeploymentDeploymentArtifactsArgs{...} +// +// or: +// +// nil +type AppPendingDeploymentDeploymentArtifactsPtrInput interface { pulumi.Input - ToBudgetAlertConfigurationActionConfigurationOutput() BudgetAlertConfigurationActionConfigurationOutput - ToBudgetAlertConfigurationActionConfigurationOutputWithContext(context.Context) BudgetAlertConfigurationActionConfigurationOutput -} - -type BudgetAlertConfigurationActionConfigurationArgs struct { - ActionConfigurationId pulumi.StringPtrInput `pulumi:"actionConfigurationId"` - // The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) - ActionType pulumi.StringPtrInput `pulumi:"actionType"` - // The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. - Target pulumi.StringPtrInput `pulumi:"target"` -} - -func (BudgetAlertConfigurationActionConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetAlertConfigurationActionConfiguration)(nil)).Elem() -} - -func (i BudgetAlertConfigurationActionConfigurationArgs) ToBudgetAlertConfigurationActionConfigurationOutput() BudgetAlertConfigurationActionConfigurationOutput { - return i.ToBudgetAlertConfigurationActionConfigurationOutputWithContext(context.Background()) -} - -func (i BudgetAlertConfigurationActionConfigurationArgs) ToBudgetAlertConfigurationActionConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationActionConfigurationOutput) + ToAppPendingDeploymentDeploymentArtifactsPtrOutput() AppPendingDeploymentDeploymentArtifactsPtrOutput + ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(context.Context) AppPendingDeploymentDeploymentArtifactsPtrOutput } -// BudgetAlertConfigurationActionConfigurationArrayInput is an input type that accepts BudgetAlertConfigurationActionConfigurationArray and BudgetAlertConfigurationActionConfigurationArrayOutput values. -// You can construct a concrete instance of `BudgetAlertConfigurationActionConfigurationArrayInput` via: -// -// BudgetAlertConfigurationActionConfigurationArray{ BudgetAlertConfigurationActionConfigurationArgs{...} } -type BudgetAlertConfigurationActionConfigurationArrayInput interface { - pulumi.Input +type appPendingDeploymentDeploymentArtifactsPtrType AppPendingDeploymentDeploymentArtifactsArgs - ToBudgetAlertConfigurationActionConfigurationArrayOutput() BudgetAlertConfigurationActionConfigurationArrayOutput - ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(context.Context) BudgetAlertConfigurationActionConfigurationArrayOutput +func AppPendingDeploymentDeploymentArtifactsPtr(v *AppPendingDeploymentDeploymentArtifactsArgs) AppPendingDeploymentDeploymentArtifactsPtrInput { + return (*appPendingDeploymentDeploymentArtifactsPtrType)(v) } -type BudgetAlertConfigurationActionConfigurationArray []BudgetAlertConfigurationActionConfigurationInput - -func (BudgetAlertConfigurationActionConfigurationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BudgetAlertConfigurationActionConfiguration)(nil)).Elem() +func (*appPendingDeploymentDeploymentArtifactsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (i BudgetAlertConfigurationActionConfigurationArray) ToBudgetAlertConfigurationActionConfigurationArrayOutput() BudgetAlertConfigurationActionConfigurationArrayOutput { - return i.ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(context.Background()) +func (i *appPendingDeploymentDeploymentArtifactsPtrType) ToAppPendingDeploymentDeploymentArtifactsPtrOutput() AppPendingDeploymentDeploymentArtifactsPtrOutput { + return i.ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(context.Background()) } -func (i BudgetAlertConfigurationActionConfigurationArray) ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationActionConfigurationArrayOutput) +func (i *appPendingDeploymentDeploymentArtifactsPtrType) ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppPendingDeploymentDeploymentArtifactsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentDeploymentArtifactsPtrOutput) } -type BudgetAlertConfigurationActionConfigurationOutput struct{ *pulumi.OutputState } +type AppPendingDeploymentDeploymentArtifactsOutput struct{ *pulumi.OutputState } -func (BudgetAlertConfigurationActionConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetAlertConfigurationActionConfiguration)(nil)).Elem() +func (AppPendingDeploymentDeploymentArtifactsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o BudgetAlertConfigurationActionConfigurationOutput) ToBudgetAlertConfigurationActionConfigurationOutput() BudgetAlertConfigurationActionConfigurationOutput { +func (o AppPendingDeploymentDeploymentArtifactsOutput) ToAppPendingDeploymentDeploymentArtifactsOutput() AppPendingDeploymentDeploymentArtifactsOutput { return o } -func (o BudgetAlertConfigurationActionConfigurationOutput) ToBudgetAlertConfigurationActionConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationOutput { +func (o AppPendingDeploymentDeploymentArtifactsOutput) ToAppPendingDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) AppPendingDeploymentDeploymentArtifactsOutput { return o } -func (o BudgetAlertConfigurationActionConfigurationOutput) ActionConfigurationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfigurationActionConfiguration) *string { return v.ActionConfigurationId }).(pulumi.StringPtrOutput) +func (o AppPendingDeploymentDeploymentArtifactsOutput) ToAppPendingDeploymentDeploymentArtifactsPtrOutput() AppPendingDeploymentDeploymentArtifactsPtrOutput { + return o.ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(context.Background()) } -// The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) -func (o BudgetAlertConfigurationActionConfigurationOutput) ActionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfigurationActionConfiguration) *string { return v.ActionType }).(pulumi.StringPtrOutput) +func (o AppPendingDeploymentDeploymentArtifactsOutput) ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppPendingDeploymentDeploymentArtifactsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppPendingDeploymentDeploymentArtifacts) *AppPendingDeploymentDeploymentArtifacts { + return &v + }).(AppPendingDeploymentDeploymentArtifactsPtrOutput) } -// The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. -func (o BudgetAlertConfigurationActionConfigurationOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetAlertConfigurationActionConfiguration) *string { return v.Target }).(pulumi.StringPtrOutput) +func (o AppPendingDeploymentDeploymentArtifactsOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeploymentDeploymentArtifacts) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -type BudgetAlertConfigurationActionConfigurationArrayOutput struct{ *pulumi.OutputState } +type AppPendingDeploymentDeploymentArtifactsPtrOutput struct{ *pulumi.OutputState } -func (BudgetAlertConfigurationActionConfigurationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BudgetAlertConfigurationActionConfiguration)(nil)).Elem() +func (AppPendingDeploymentDeploymentArtifactsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o BudgetAlertConfigurationActionConfigurationArrayOutput) ToBudgetAlertConfigurationActionConfigurationArrayOutput() BudgetAlertConfigurationActionConfigurationArrayOutput { +func (o AppPendingDeploymentDeploymentArtifactsPtrOutput) ToAppPendingDeploymentDeploymentArtifactsPtrOutput() AppPendingDeploymentDeploymentArtifactsPtrOutput { return o } -func (o BudgetAlertConfigurationActionConfigurationArrayOutput) ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationArrayOutput { +func (o AppPendingDeploymentDeploymentArtifactsPtrOutput) ToAppPendingDeploymentDeploymentArtifactsPtrOutputWithContext(ctx context.Context) AppPendingDeploymentDeploymentArtifactsPtrOutput { return o } -func (o BudgetAlertConfigurationActionConfigurationArrayOutput) Index(i pulumi.IntInput) BudgetAlertConfigurationActionConfigurationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BudgetAlertConfigurationActionConfiguration { - return vs[0].([]BudgetAlertConfigurationActionConfiguration)[vs[1].(int)] - }).(BudgetAlertConfigurationActionConfigurationOutput) +func (o AppPendingDeploymentDeploymentArtifactsPtrOutput) Elem() AppPendingDeploymentDeploymentArtifactsOutput { + return o.ApplyT(func(v *AppPendingDeploymentDeploymentArtifacts) AppPendingDeploymentDeploymentArtifacts { + if v != nil { + return *v + } + var ret AppPendingDeploymentDeploymentArtifacts + return ret + }).(AppPendingDeploymentDeploymentArtifactsOutput) } -type BudgetFilter struct { - // List of tags to filter by. Consists of the following fields: - Tags []BudgetFilterTag `pulumi:"tags"` - // Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: - WorkspaceId *BudgetFilterWorkspaceId `pulumi:"workspaceId"` +func (o AppPendingDeploymentDeploymentArtifactsPtrOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeploymentDeploymentArtifacts) *string { + if v == nil { + return nil + } + return v.SourceCodePath + }).(pulumi.StringPtrOutput) } -// BudgetFilterInput is an input type that accepts BudgetFilterArgs and BudgetFilterOutput values. -// You can construct a concrete instance of `BudgetFilterInput` via: +type AppPendingDeploymentStatus struct { + // Application status message + Message *string `pulumi:"message"` + // State of the application. + State *string `pulumi:"state"` +} + +// AppPendingDeploymentStatusInput is an input type that accepts AppPendingDeploymentStatusArgs and AppPendingDeploymentStatusOutput values. +// You can construct a concrete instance of `AppPendingDeploymentStatusInput` via: // -// BudgetFilterArgs{...} -type BudgetFilterInput interface { +// AppPendingDeploymentStatusArgs{...} +type AppPendingDeploymentStatusInput interface { pulumi.Input - ToBudgetFilterOutput() BudgetFilterOutput - ToBudgetFilterOutputWithContext(context.Context) BudgetFilterOutput + ToAppPendingDeploymentStatusOutput() AppPendingDeploymentStatusOutput + ToAppPendingDeploymentStatusOutputWithContext(context.Context) AppPendingDeploymentStatusOutput } -type BudgetFilterArgs struct { - // List of tags to filter by. Consists of the following fields: - Tags BudgetFilterTagArrayInput `pulumi:"tags"` - // Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: - WorkspaceId BudgetFilterWorkspaceIdPtrInput `pulumi:"workspaceId"` +type AppPendingDeploymentStatusArgs struct { + // Application status message + Message pulumi.StringPtrInput `pulumi:"message"` + // State of the application. + State pulumi.StringPtrInput `pulumi:"state"` } -func (BudgetFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilter)(nil)).Elem() +func (AppPendingDeploymentStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppPendingDeploymentStatus)(nil)).Elem() } -func (i BudgetFilterArgs) ToBudgetFilterOutput() BudgetFilterOutput { - return i.ToBudgetFilterOutputWithContext(context.Background()) +func (i AppPendingDeploymentStatusArgs) ToAppPendingDeploymentStatusOutput() AppPendingDeploymentStatusOutput { + return i.ToAppPendingDeploymentStatusOutputWithContext(context.Background()) } -func (i BudgetFilterArgs) ToBudgetFilterOutputWithContext(ctx context.Context) BudgetFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterOutput) +func (i AppPendingDeploymentStatusArgs) ToAppPendingDeploymentStatusOutputWithContext(ctx context.Context) AppPendingDeploymentStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentStatusOutput) } -func (i BudgetFilterArgs) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { - return i.ToBudgetFilterPtrOutputWithContext(context.Background()) +func (i AppPendingDeploymentStatusArgs) ToAppPendingDeploymentStatusPtrOutput() AppPendingDeploymentStatusPtrOutput { + return i.ToAppPendingDeploymentStatusPtrOutputWithContext(context.Background()) } -func (i BudgetFilterArgs) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterOutput).ToBudgetFilterPtrOutputWithContext(ctx) +func (i AppPendingDeploymentStatusArgs) ToAppPendingDeploymentStatusPtrOutputWithContext(ctx context.Context) AppPendingDeploymentStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentStatusOutput).ToAppPendingDeploymentStatusPtrOutputWithContext(ctx) } -// BudgetFilterPtrInput is an input type that accepts BudgetFilterArgs, BudgetFilterPtr and BudgetFilterPtrOutput values. -// You can construct a concrete instance of `BudgetFilterPtrInput` via: +// AppPendingDeploymentStatusPtrInput is an input type that accepts AppPendingDeploymentStatusArgs, AppPendingDeploymentStatusPtr and AppPendingDeploymentStatusPtrOutput values. +// You can construct a concrete instance of `AppPendingDeploymentStatusPtrInput` via: // -// BudgetFilterArgs{...} +// AppPendingDeploymentStatusArgs{...} // // or: // // nil -type BudgetFilterPtrInput interface { +type AppPendingDeploymentStatusPtrInput interface { pulumi.Input - ToBudgetFilterPtrOutput() BudgetFilterPtrOutput - ToBudgetFilterPtrOutputWithContext(context.Context) BudgetFilterPtrOutput + ToAppPendingDeploymentStatusPtrOutput() AppPendingDeploymentStatusPtrOutput + ToAppPendingDeploymentStatusPtrOutputWithContext(context.Context) AppPendingDeploymentStatusPtrOutput } -type budgetFilterPtrType BudgetFilterArgs +type appPendingDeploymentStatusPtrType AppPendingDeploymentStatusArgs -func BudgetFilterPtr(v *BudgetFilterArgs) BudgetFilterPtrInput { - return (*budgetFilterPtrType)(v) +func AppPendingDeploymentStatusPtr(v *AppPendingDeploymentStatusArgs) AppPendingDeploymentStatusPtrInput { + return (*appPendingDeploymentStatusPtrType)(v) } -func (*budgetFilterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BudgetFilter)(nil)).Elem() +func (*appPendingDeploymentStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppPendingDeploymentStatus)(nil)).Elem() } -func (i *budgetFilterPtrType) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { - return i.ToBudgetFilterPtrOutputWithContext(context.Background()) +func (i *appPendingDeploymentStatusPtrType) ToAppPendingDeploymentStatusPtrOutput() AppPendingDeploymentStatusPtrOutput { + return i.ToAppPendingDeploymentStatusPtrOutputWithContext(context.Background()) } -func (i *budgetFilterPtrType) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterPtrOutput) +func (i *appPendingDeploymentStatusPtrType) ToAppPendingDeploymentStatusPtrOutputWithContext(ctx context.Context) AppPendingDeploymentStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppPendingDeploymentStatusPtrOutput) } -type BudgetFilterOutput struct{ *pulumi.OutputState } +type AppPendingDeploymentStatusOutput struct{ *pulumi.OutputState } -func (BudgetFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilter)(nil)).Elem() +func (AppPendingDeploymentStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppPendingDeploymentStatus)(nil)).Elem() } -func (o BudgetFilterOutput) ToBudgetFilterOutput() BudgetFilterOutput { +func (o AppPendingDeploymentStatusOutput) ToAppPendingDeploymentStatusOutput() AppPendingDeploymentStatusOutput { return o } -func (o BudgetFilterOutput) ToBudgetFilterOutputWithContext(ctx context.Context) BudgetFilterOutput { +func (o AppPendingDeploymentStatusOutput) ToAppPendingDeploymentStatusOutputWithContext(ctx context.Context) AppPendingDeploymentStatusOutput { return o } -func (o BudgetFilterOutput) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { - return o.ToBudgetFilterPtrOutputWithContext(context.Background()) +func (o AppPendingDeploymentStatusOutput) ToAppPendingDeploymentStatusPtrOutput() AppPendingDeploymentStatusPtrOutput { + return o.ToAppPendingDeploymentStatusPtrOutputWithContext(context.Background()) } -func (o BudgetFilterOutput) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BudgetFilter) *BudgetFilter { +func (o AppPendingDeploymentStatusOutput) ToAppPendingDeploymentStatusPtrOutputWithContext(ctx context.Context) AppPendingDeploymentStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppPendingDeploymentStatus) *AppPendingDeploymentStatus { return &v - }).(BudgetFilterPtrOutput) + }).(AppPendingDeploymentStatusPtrOutput) } -// List of tags to filter by. Consists of the following fields: -func (o BudgetFilterOutput) Tags() BudgetFilterTagArrayOutput { - return o.ApplyT(func(v BudgetFilter) []BudgetFilterTag { return v.Tags }).(BudgetFilterTagArrayOutput) +// Application status message +func (o AppPendingDeploymentStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeploymentStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -// Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: -func (o BudgetFilterOutput) WorkspaceId() BudgetFilterWorkspaceIdPtrOutput { - return o.ApplyT(func(v BudgetFilter) *BudgetFilterWorkspaceId { return v.WorkspaceId }).(BudgetFilterWorkspaceIdPtrOutput) +// State of the application. +func (o AppPendingDeploymentStatusOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppPendingDeploymentStatus) *string { return v.State }).(pulumi.StringPtrOutput) } -type BudgetFilterPtrOutput struct{ *pulumi.OutputState } +type AppPendingDeploymentStatusPtrOutput struct{ *pulumi.OutputState } -func (BudgetFilterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BudgetFilter)(nil)).Elem() +func (AppPendingDeploymentStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppPendingDeploymentStatus)(nil)).Elem() } -func (o BudgetFilterPtrOutput) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { +func (o AppPendingDeploymentStatusPtrOutput) ToAppPendingDeploymentStatusPtrOutput() AppPendingDeploymentStatusPtrOutput { return o } -func (o BudgetFilterPtrOutput) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { +func (o AppPendingDeploymentStatusPtrOutput) ToAppPendingDeploymentStatusPtrOutputWithContext(ctx context.Context) AppPendingDeploymentStatusPtrOutput { return o } -func (o BudgetFilterPtrOutput) Elem() BudgetFilterOutput { - return o.ApplyT(func(v *BudgetFilter) BudgetFilter { +func (o AppPendingDeploymentStatusPtrOutput) Elem() AppPendingDeploymentStatusOutput { + return o.ApplyT(func(v *AppPendingDeploymentStatus) AppPendingDeploymentStatus { if v != nil { return *v } - var ret BudgetFilter + var ret AppPendingDeploymentStatus return ret - }).(BudgetFilterOutput) + }).(AppPendingDeploymentStatusOutput) } -// List of tags to filter by. Consists of the following fields: -func (o BudgetFilterPtrOutput) Tags() BudgetFilterTagArrayOutput { - return o.ApplyT(func(v *BudgetFilter) []BudgetFilterTag { +// Application status message +func (o AppPendingDeploymentStatusPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeploymentStatus) *string { if v == nil { return nil } - return v.Tags - }).(BudgetFilterTagArrayOutput) + return v.Message + }).(pulumi.StringPtrOutput) } -// Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: -func (o BudgetFilterPtrOutput) WorkspaceId() BudgetFilterWorkspaceIdPtrOutput { - return o.ApplyT(func(v *BudgetFilter) *BudgetFilterWorkspaceId { +// State of the application. +func (o AppPendingDeploymentStatusPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppPendingDeploymentStatus) *string { if v == nil { return nil } - return v.WorkspaceId - }).(BudgetFilterWorkspaceIdPtrOutput) + return v.State + }).(pulumi.StringPtrOutput) } -type BudgetFilterTag struct { - // The key of the tag. - Key *string `pulumi:"key"` - // Consists of the following fields: - Value *BudgetFilterTagValue `pulumi:"value"` +type AppResource struct { + // The description of the resource. + // + // Exactly one of the following attributes must be provided: + Description *string `pulumi:"description"` + // attribute + Job *AppResourceJob `pulumi:"job"` + // The name of the resource. + Name string `pulumi:"name"` + // attribute + Secret *AppResourceSecret `pulumi:"secret"` + // attribute + ServingEndpoint *AppResourceServingEndpoint `pulumi:"servingEndpoint"` + // attribute + SqlWarehouse *AppResourceSqlWarehouse `pulumi:"sqlWarehouse"` } -// BudgetFilterTagInput is an input type that accepts BudgetFilterTagArgs and BudgetFilterTagOutput values. -// You can construct a concrete instance of `BudgetFilterTagInput` via: +// AppResourceInput is an input type that accepts AppResourceArgs and AppResourceOutput values. +// You can construct a concrete instance of `AppResourceInput` via: // -// BudgetFilterTagArgs{...} -type BudgetFilterTagInput interface { +// AppResourceArgs{...} +type AppResourceInput interface { pulumi.Input - ToBudgetFilterTagOutput() BudgetFilterTagOutput - ToBudgetFilterTagOutputWithContext(context.Context) BudgetFilterTagOutput + ToAppResourceOutput() AppResourceOutput + ToAppResourceOutputWithContext(context.Context) AppResourceOutput } -type BudgetFilterTagArgs struct { - // The key of the tag. - Key pulumi.StringPtrInput `pulumi:"key"` - // Consists of the following fields: - Value BudgetFilterTagValuePtrInput `pulumi:"value"` +type AppResourceArgs struct { + // The description of the resource. + // + // Exactly one of the following attributes must be provided: + Description pulumi.StringPtrInput `pulumi:"description"` + // attribute + Job AppResourceJobPtrInput `pulumi:"job"` + // The name of the resource. + Name pulumi.StringInput `pulumi:"name"` + // attribute + Secret AppResourceSecretPtrInput `pulumi:"secret"` + // attribute + ServingEndpoint AppResourceServingEndpointPtrInput `pulumi:"servingEndpoint"` + // attribute + SqlWarehouse AppResourceSqlWarehousePtrInput `pulumi:"sqlWarehouse"` } -func (BudgetFilterTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilterTag)(nil)).Elem() +func (AppResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppResource)(nil)).Elem() } -func (i BudgetFilterTagArgs) ToBudgetFilterTagOutput() BudgetFilterTagOutput { - return i.ToBudgetFilterTagOutputWithContext(context.Background()) +func (i AppResourceArgs) ToAppResourceOutput() AppResourceOutput { + return i.ToAppResourceOutputWithContext(context.Background()) } -func (i BudgetFilterTagArgs) ToBudgetFilterTagOutputWithContext(ctx context.Context) BudgetFilterTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagOutput) +func (i AppResourceArgs) ToAppResourceOutputWithContext(ctx context.Context) AppResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceOutput) } -// BudgetFilterTagArrayInput is an input type that accepts BudgetFilterTagArray and BudgetFilterTagArrayOutput values. -// You can construct a concrete instance of `BudgetFilterTagArrayInput` via: +// AppResourceArrayInput is an input type that accepts AppResourceArray and AppResourceArrayOutput values. +// You can construct a concrete instance of `AppResourceArrayInput` via: // -// BudgetFilterTagArray{ BudgetFilterTagArgs{...} } -type BudgetFilterTagArrayInput interface { +// AppResourceArray{ AppResourceArgs{...} } +type AppResourceArrayInput interface { pulumi.Input - ToBudgetFilterTagArrayOutput() BudgetFilterTagArrayOutput - ToBudgetFilterTagArrayOutputWithContext(context.Context) BudgetFilterTagArrayOutput + ToAppResourceArrayOutput() AppResourceArrayOutput + ToAppResourceArrayOutputWithContext(context.Context) AppResourceArrayOutput } -type BudgetFilterTagArray []BudgetFilterTagInput +type AppResourceArray []AppResourceInput -func (BudgetFilterTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]BudgetFilterTag)(nil)).Elem() +func (AppResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppResource)(nil)).Elem() } -func (i BudgetFilterTagArray) ToBudgetFilterTagArrayOutput() BudgetFilterTagArrayOutput { - return i.ToBudgetFilterTagArrayOutputWithContext(context.Background()) +func (i AppResourceArray) ToAppResourceArrayOutput() AppResourceArrayOutput { + return i.ToAppResourceArrayOutputWithContext(context.Background()) } -func (i BudgetFilterTagArray) ToBudgetFilterTagArrayOutputWithContext(ctx context.Context) BudgetFilterTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagArrayOutput) +func (i AppResourceArray) ToAppResourceArrayOutputWithContext(ctx context.Context) AppResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceArrayOutput) } -type BudgetFilterTagOutput struct{ *pulumi.OutputState } +type AppResourceOutput struct{ *pulumi.OutputState } -func (BudgetFilterTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilterTag)(nil)).Elem() +func (AppResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppResource)(nil)).Elem() } -func (o BudgetFilterTagOutput) ToBudgetFilterTagOutput() BudgetFilterTagOutput { +func (o AppResourceOutput) ToAppResourceOutput() AppResourceOutput { return o } -func (o BudgetFilterTagOutput) ToBudgetFilterTagOutputWithContext(ctx context.Context) BudgetFilterTagOutput { +func (o AppResourceOutput) ToAppResourceOutputWithContext(ctx context.Context) AppResourceOutput { return o } -// The key of the tag. -func (o BudgetFilterTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetFilterTag) *string { return v.Key }).(pulumi.StringPtrOutput) +// The description of the resource. +// +// Exactly one of the following attributes must be provided: +func (o AppResourceOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppResource) *string { return v.Description }).(pulumi.StringPtrOutput) } -// Consists of the following fields: -func (o BudgetFilterTagOutput) Value() BudgetFilterTagValuePtrOutput { - return o.ApplyT(func(v BudgetFilterTag) *BudgetFilterTagValue { return v.Value }).(BudgetFilterTagValuePtrOutput) +// attribute +func (o AppResourceOutput) Job() AppResourceJobPtrOutput { + return o.ApplyT(func(v AppResource) *AppResourceJob { return v.Job }).(AppResourceJobPtrOutput) } -type BudgetFilterTagArrayOutput struct{ *pulumi.OutputState } +// The name of the resource. +func (o AppResourceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AppResource) string { return v.Name }).(pulumi.StringOutput) +} -func (BudgetFilterTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]BudgetFilterTag)(nil)).Elem() +// attribute +func (o AppResourceOutput) Secret() AppResourceSecretPtrOutput { + return o.ApplyT(func(v AppResource) *AppResourceSecret { return v.Secret }).(AppResourceSecretPtrOutput) } -func (o BudgetFilterTagArrayOutput) ToBudgetFilterTagArrayOutput() BudgetFilterTagArrayOutput { +// attribute +func (o AppResourceOutput) ServingEndpoint() AppResourceServingEndpointPtrOutput { + return o.ApplyT(func(v AppResource) *AppResourceServingEndpoint { return v.ServingEndpoint }).(AppResourceServingEndpointPtrOutput) +} + +// attribute +func (o AppResourceOutput) SqlWarehouse() AppResourceSqlWarehousePtrOutput { + return o.ApplyT(func(v AppResource) *AppResourceSqlWarehouse { return v.SqlWarehouse }).(AppResourceSqlWarehousePtrOutput) +} + +type AppResourceArrayOutput struct{ *pulumi.OutputState } + +func (AppResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AppResource)(nil)).Elem() +} + +func (o AppResourceArrayOutput) ToAppResourceArrayOutput() AppResourceArrayOutput { return o } -func (o BudgetFilterTagArrayOutput) ToBudgetFilterTagArrayOutputWithContext(ctx context.Context) BudgetFilterTagArrayOutput { +func (o AppResourceArrayOutput) ToAppResourceArrayOutputWithContext(ctx context.Context) AppResourceArrayOutput { return o } -func (o BudgetFilterTagArrayOutput) Index(i pulumi.IntInput) BudgetFilterTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) BudgetFilterTag { - return vs[0].([]BudgetFilterTag)[vs[1].(int)] - }).(BudgetFilterTagOutput) +func (o AppResourceArrayOutput) Index(i pulumi.IntInput) AppResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AppResource { + return vs[0].([]AppResource)[vs[1].(int)] + }).(AppResourceOutput) } -type BudgetFilterTagValue struct { - // The operator to use for the filter. (Enum: `IN`) - Operator *string `pulumi:"operator"` - // The values to filter by. - Values []string `pulumi:"values"` +type AppResourceJob struct { + // Id of the job to grant permission on. + Id string `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` } -// BudgetFilterTagValueInput is an input type that accepts BudgetFilterTagValueArgs and BudgetFilterTagValueOutput values. -// You can construct a concrete instance of `BudgetFilterTagValueInput` via: +// AppResourceJobInput is an input type that accepts AppResourceJobArgs and AppResourceJobOutput values. +// You can construct a concrete instance of `AppResourceJobInput` via: // -// BudgetFilterTagValueArgs{...} -type BudgetFilterTagValueInput interface { +// AppResourceJobArgs{...} +type AppResourceJobInput interface { pulumi.Input - ToBudgetFilterTagValueOutput() BudgetFilterTagValueOutput - ToBudgetFilterTagValueOutputWithContext(context.Context) BudgetFilterTagValueOutput + ToAppResourceJobOutput() AppResourceJobOutput + ToAppResourceJobOutputWithContext(context.Context) AppResourceJobOutput } -type BudgetFilterTagValueArgs struct { - // The operator to use for the filter. (Enum: `IN`) - Operator pulumi.StringPtrInput `pulumi:"operator"` - // The values to filter by. - Values pulumi.StringArrayInput `pulumi:"values"` +type AppResourceJobArgs struct { + // Id of the job to grant permission on. + Id pulumi.StringInput `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (BudgetFilterTagValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilterTagValue)(nil)).Elem() +func (AppResourceJobArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceJob)(nil)).Elem() } -func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValueOutput() BudgetFilterTagValueOutput { - return i.ToBudgetFilterTagValueOutputWithContext(context.Background()) +func (i AppResourceJobArgs) ToAppResourceJobOutput() AppResourceJobOutput { + return i.ToAppResourceJobOutputWithContext(context.Background()) } -func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValueOutputWithContext(ctx context.Context) BudgetFilterTagValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagValueOutput) +func (i AppResourceJobArgs) ToAppResourceJobOutputWithContext(ctx context.Context) AppResourceJobOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceJobOutput) } -func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { - return i.ToBudgetFilterTagValuePtrOutputWithContext(context.Background()) +func (i AppResourceJobArgs) ToAppResourceJobPtrOutput() AppResourceJobPtrOutput { + return i.ToAppResourceJobPtrOutputWithContext(context.Background()) } -func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagValueOutput).ToBudgetFilterTagValuePtrOutputWithContext(ctx) +func (i AppResourceJobArgs) ToAppResourceJobPtrOutputWithContext(ctx context.Context) AppResourceJobPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceJobOutput).ToAppResourceJobPtrOutputWithContext(ctx) } -// BudgetFilterTagValuePtrInput is an input type that accepts BudgetFilterTagValueArgs, BudgetFilterTagValuePtr and BudgetFilterTagValuePtrOutput values. -// You can construct a concrete instance of `BudgetFilterTagValuePtrInput` via: +// AppResourceJobPtrInput is an input type that accepts AppResourceJobArgs, AppResourceJobPtr and AppResourceJobPtrOutput values. +// You can construct a concrete instance of `AppResourceJobPtrInput` via: // -// BudgetFilterTagValueArgs{...} +// AppResourceJobArgs{...} // // or: // // nil -type BudgetFilterTagValuePtrInput interface { +type AppResourceJobPtrInput interface { pulumi.Input - ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput - ToBudgetFilterTagValuePtrOutputWithContext(context.Context) BudgetFilterTagValuePtrOutput + ToAppResourceJobPtrOutput() AppResourceJobPtrOutput + ToAppResourceJobPtrOutputWithContext(context.Context) AppResourceJobPtrOutput } -type budgetFilterTagValuePtrType BudgetFilterTagValueArgs +type appResourceJobPtrType AppResourceJobArgs -func BudgetFilterTagValuePtr(v *BudgetFilterTagValueArgs) BudgetFilterTagValuePtrInput { - return (*budgetFilterTagValuePtrType)(v) +func AppResourceJobPtr(v *AppResourceJobArgs) AppResourceJobPtrInput { + return (*appResourceJobPtrType)(v) } -func (*budgetFilterTagValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BudgetFilterTagValue)(nil)).Elem() +func (*appResourceJobPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceJob)(nil)).Elem() } -func (i *budgetFilterTagValuePtrType) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { - return i.ToBudgetFilterTagValuePtrOutputWithContext(context.Background()) +func (i *appResourceJobPtrType) ToAppResourceJobPtrOutput() AppResourceJobPtrOutput { + return i.ToAppResourceJobPtrOutputWithContext(context.Background()) } -func (i *budgetFilterTagValuePtrType) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagValuePtrOutput) +func (i *appResourceJobPtrType) ToAppResourceJobPtrOutputWithContext(ctx context.Context) AppResourceJobPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceJobPtrOutput) } -type BudgetFilterTagValueOutput struct{ *pulumi.OutputState } +type AppResourceJobOutput struct{ *pulumi.OutputState } -func (BudgetFilterTagValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilterTagValue)(nil)).Elem() +func (AppResourceJobOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceJob)(nil)).Elem() } -func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValueOutput() BudgetFilterTagValueOutput { +func (o AppResourceJobOutput) ToAppResourceJobOutput() AppResourceJobOutput { return o } -func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValueOutputWithContext(ctx context.Context) BudgetFilterTagValueOutput { +func (o AppResourceJobOutput) ToAppResourceJobOutputWithContext(ctx context.Context) AppResourceJobOutput { return o } -func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { - return o.ToBudgetFilterTagValuePtrOutputWithContext(context.Background()) +func (o AppResourceJobOutput) ToAppResourceJobPtrOutput() AppResourceJobPtrOutput { + return o.ToAppResourceJobPtrOutputWithContext(context.Background()) } -func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BudgetFilterTagValue) *BudgetFilterTagValue { +func (o AppResourceJobOutput) ToAppResourceJobPtrOutputWithContext(ctx context.Context) AppResourceJobPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppResourceJob) *AppResourceJob { return &v - }).(BudgetFilterTagValuePtrOutput) + }).(AppResourceJobPtrOutput) } -// The operator to use for the filter. (Enum: `IN`) -func (o BudgetFilterTagValueOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetFilterTagValue) *string { return v.Operator }).(pulumi.StringPtrOutput) +// Id of the job to grant permission on. +func (o AppResourceJobOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceJob) string { return v.Id }).(pulumi.StringOutput) } -// The values to filter by. -func (o BudgetFilterTagValueOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v BudgetFilterTagValue) []string { return v.Values }).(pulumi.StringArrayOutput) +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o AppResourceJobOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceJob) string { return v.Permission }).(pulumi.StringOutput) } -type BudgetFilterTagValuePtrOutput struct{ *pulumi.OutputState } +type AppResourceJobPtrOutput struct{ *pulumi.OutputState } -func (BudgetFilterTagValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BudgetFilterTagValue)(nil)).Elem() +func (AppResourceJobPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceJob)(nil)).Elem() } -func (o BudgetFilterTagValuePtrOutput) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { +func (o AppResourceJobPtrOutput) ToAppResourceJobPtrOutput() AppResourceJobPtrOutput { return o } -func (o BudgetFilterTagValuePtrOutput) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { +func (o AppResourceJobPtrOutput) ToAppResourceJobPtrOutputWithContext(ctx context.Context) AppResourceJobPtrOutput { return o } -func (o BudgetFilterTagValuePtrOutput) Elem() BudgetFilterTagValueOutput { - return o.ApplyT(func(v *BudgetFilterTagValue) BudgetFilterTagValue { +func (o AppResourceJobPtrOutput) Elem() AppResourceJobOutput { + return o.ApplyT(func(v *AppResourceJob) AppResourceJob { if v != nil { return *v } - var ret BudgetFilterTagValue + var ret AppResourceJob return ret - }).(BudgetFilterTagValueOutput) + }).(AppResourceJobOutput) } -// The operator to use for the filter. (Enum: `IN`) -func (o BudgetFilterTagValuePtrOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BudgetFilterTagValue) *string { +// Id of the job to grant permission on. +func (o AppResourceJobPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceJob) *string { if v == nil { return nil } - return v.Operator + return &v.Id }).(pulumi.StringPtrOutput) } -// The values to filter by. -func (o BudgetFilterTagValuePtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *BudgetFilterTagValue) []string { +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o AppResourceJobPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceJob) *string { if v == nil { return nil } - return v.Values - }).(pulumi.StringArrayOutput) + return &v.Permission + }).(pulumi.StringPtrOutput) } -type BudgetFilterWorkspaceId struct { - // The operator to use for the filter. (Enum: `IN`) - Operator *string `pulumi:"operator"` - // The values to filter by. - Values []int `pulumi:"values"` +type AppResourceSecret struct { + // Key of the secret to grant permission on. + Key string `pulumi:"key"` + // Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + Permission string `pulumi:"permission"` + // Scope of the secret to grant permission on. + Scope string `pulumi:"scope"` } -// BudgetFilterWorkspaceIdInput is an input type that accepts BudgetFilterWorkspaceIdArgs and BudgetFilterWorkspaceIdOutput values. -// You can construct a concrete instance of `BudgetFilterWorkspaceIdInput` via: +// AppResourceSecretInput is an input type that accepts AppResourceSecretArgs and AppResourceSecretOutput values. +// You can construct a concrete instance of `AppResourceSecretInput` via: // -// BudgetFilterWorkspaceIdArgs{...} -type BudgetFilterWorkspaceIdInput interface { +// AppResourceSecretArgs{...} +type AppResourceSecretInput interface { pulumi.Input - ToBudgetFilterWorkspaceIdOutput() BudgetFilterWorkspaceIdOutput - ToBudgetFilterWorkspaceIdOutputWithContext(context.Context) BudgetFilterWorkspaceIdOutput + ToAppResourceSecretOutput() AppResourceSecretOutput + ToAppResourceSecretOutputWithContext(context.Context) AppResourceSecretOutput } -type BudgetFilterWorkspaceIdArgs struct { - // The operator to use for the filter. (Enum: `IN`) - Operator pulumi.StringPtrInput `pulumi:"operator"` - // The values to filter by. - Values pulumi.IntArrayInput `pulumi:"values"` +type AppResourceSecretArgs struct { + // Key of the secret to grant permission on. + Key pulumi.StringInput `pulumi:"key"` + // Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + Permission pulumi.StringInput `pulumi:"permission"` + // Scope of the secret to grant permission on. + Scope pulumi.StringInput `pulumi:"scope"` } -func (BudgetFilterWorkspaceIdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilterWorkspaceId)(nil)).Elem() +func (AppResourceSecretArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceSecret)(nil)).Elem() } -func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdOutput() BudgetFilterWorkspaceIdOutput { - return i.ToBudgetFilterWorkspaceIdOutputWithContext(context.Background()) +func (i AppResourceSecretArgs) ToAppResourceSecretOutput() AppResourceSecretOutput { + return i.ToAppResourceSecretOutputWithContext(context.Background()) } -func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterWorkspaceIdOutput) +func (i AppResourceSecretArgs) ToAppResourceSecretOutputWithContext(ctx context.Context) AppResourceSecretOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceSecretOutput) } -func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { - return i.ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Background()) +func (i AppResourceSecretArgs) ToAppResourceSecretPtrOutput() AppResourceSecretPtrOutput { + return i.ToAppResourceSecretPtrOutputWithContext(context.Background()) } -func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterWorkspaceIdOutput).ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx) +func (i AppResourceSecretArgs) ToAppResourceSecretPtrOutputWithContext(ctx context.Context) AppResourceSecretPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceSecretOutput).ToAppResourceSecretPtrOutputWithContext(ctx) } -// BudgetFilterWorkspaceIdPtrInput is an input type that accepts BudgetFilterWorkspaceIdArgs, BudgetFilterWorkspaceIdPtr and BudgetFilterWorkspaceIdPtrOutput values. -// You can construct a concrete instance of `BudgetFilterWorkspaceIdPtrInput` via: +// AppResourceSecretPtrInput is an input type that accepts AppResourceSecretArgs, AppResourceSecretPtr and AppResourceSecretPtrOutput values. +// You can construct a concrete instance of `AppResourceSecretPtrInput` via: // -// BudgetFilterWorkspaceIdArgs{...} +// AppResourceSecretArgs{...} // // or: // // nil -type BudgetFilterWorkspaceIdPtrInput interface { +type AppResourceSecretPtrInput interface { pulumi.Input - ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput - ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Context) BudgetFilterWorkspaceIdPtrOutput + ToAppResourceSecretPtrOutput() AppResourceSecretPtrOutput + ToAppResourceSecretPtrOutputWithContext(context.Context) AppResourceSecretPtrOutput } -type budgetFilterWorkspaceIdPtrType BudgetFilterWorkspaceIdArgs +type appResourceSecretPtrType AppResourceSecretArgs -func BudgetFilterWorkspaceIdPtr(v *BudgetFilterWorkspaceIdArgs) BudgetFilterWorkspaceIdPtrInput { - return (*budgetFilterWorkspaceIdPtrType)(v) +func AppResourceSecretPtr(v *AppResourceSecretArgs) AppResourceSecretPtrInput { + return (*appResourceSecretPtrType)(v) } -func (*budgetFilterWorkspaceIdPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**BudgetFilterWorkspaceId)(nil)).Elem() +func (*appResourceSecretPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceSecret)(nil)).Elem() } -func (i *budgetFilterWorkspaceIdPtrType) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { - return i.ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Background()) +func (i *appResourceSecretPtrType) ToAppResourceSecretPtrOutput() AppResourceSecretPtrOutput { + return i.ToAppResourceSecretPtrOutputWithContext(context.Background()) } -func (i *budgetFilterWorkspaceIdPtrType) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterWorkspaceIdPtrOutput) +func (i *appResourceSecretPtrType) ToAppResourceSecretPtrOutputWithContext(ctx context.Context) AppResourceSecretPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceSecretPtrOutput) } -type BudgetFilterWorkspaceIdOutput struct{ *pulumi.OutputState } +type AppResourceSecretOutput struct{ *pulumi.OutputState } -func (BudgetFilterWorkspaceIdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*BudgetFilterWorkspaceId)(nil)).Elem() +func (AppResourceSecretOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceSecret)(nil)).Elem() } -func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdOutput() BudgetFilterWorkspaceIdOutput { +func (o AppResourceSecretOutput) ToAppResourceSecretOutput() AppResourceSecretOutput { return o } -func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdOutput { +func (o AppResourceSecretOutput) ToAppResourceSecretOutputWithContext(ctx context.Context) AppResourceSecretOutput { return o } -func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { - return o.ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Background()) +func (o AppResourceSecretOutput) ToAppResourceSecretPtrOutput() AppResourceSecretPtrOutput { + return o.ToAppResourceSecretPtrOutputWithContext(context.Background()) } -func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v BudgetFilterWorkspaceId) *BudgetFilterWorkspaceId { +func (o AppResourceSecretOutput) ToAppResourceSecretPtrOutputWithContext(ctx context.Context) AppResourceSecretPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppResourceSecret) *AppResourceSecret { return &v - }).(BudgetFilterWorkspaceIdPtrOutput) + }).(AppResourceSecretPtrOutput) } -// The operator to use for the filter. (Enum: `IN`) -func (o BudgetFilterWorkspaceIdOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v BudgetFilterWorkspaceId) *string { return v.Operator }).(pulumi.StringPtrOutput) +// Key of the secret to grant permission on. +func (o AppResourceSecretOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceSecret) string { return v.Key }).(pulumi.StringOutput) } -// The values to filter by. -func (o BudgetFilterWorkspaceIdOutput) Values() pulumi.IntArrayOutput { - return o.ApplyT(func(v BudgetFilterWorkspaceId) []int { return v.Values }).(pulumi.IntArrayOutput) +// Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. +func (o AppResourceSecretOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceSecret) string { return v.Permission }).(pulumi.StringOutput) } -type BudgetFilterWorkspaceIdPtrOutput struct{ *pulumi.OutputState } +// Scope of the secret to grant permission on. +func (o AppResourceSecretOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceSecret) string { return v.Scope }).(pulumi.StringOutput) +} -func (BudgetFilterWorkspaceIdPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**BudgetFilterWorkspaceId)(nil)).Elem() +type AppResourceSecretPtrOutput struct{ *pulumi.OutputState } + +func (AppResourceSecretPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceSecret)(nil)).Elem() } -func (o BudgetFilterWorkspaceIdPtrOutput) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { +func (o AppResourceSecretPtrOutput) ToAppResourceSecretPtrOutput() AppResourceSecretPtrOutput { return o } -func (o BudgetFilterWorkspaceIdPtrOutput) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { +func (o AppResourceSecretPtrOutput) ToAppResourceSecretPtrOutputWithContext(ctx context.Context) AppResourceSecretPtrOutput { return o } -func (o BudgetFilterWorkspaceIdPtrOutput) Elem() BudgetFilterWorkspaceIdOutput { - return o.ApplyT(func(v *BudgetFilterWorkspaceId) BudgetFilterWorkspaceId { +func (o AppResourceSecretPtrOutput) Elem() AppResourceSecretOutput { + return o.ApplyT(func(v *AppResourceSecret) AppResourceSecret { if v != nil { return *v } - var ret BudgetFilterWorkspaceId + var ret AppResourceSecret return ret - }).(BudgetFilterWorkspaceIdOutput) + }).(AppResourceSecretOutput) } -// The operator to use for the filter. (Enum: `IN`) -func (o BudgetFilterWorkspaceIdPtrOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *BudgetFilterWorkspaceId) *string { +// Key of the secret to grant permission on. +func (o AppResourceSecretPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceSecret) *string { if v == nil { return nil } - return v.Operator + return &v.Key }).(pulumi.StringPtrOutput) } -// The values to filter by. -func (o BudgetFilterWorkspaceIdPtrOutput) Values() pulumi.IntArrayOutput { - return o.ApplyT(func(v *BudgetFilterWorkspaceId) []int { +// Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. +func (o AppResourceSecretPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceSecret) *string { if v == nil { return nil } - return v.Values - }).(pulumi.IntArrayOutput) + return &v.Permission + }).(pulumi.StringPtrOutput) } -type ClusterAutoscale struct { - // The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. - // - // When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: - // - // * `spark.master` must have prefix `local`, like `local[*]` - // * `spark.databricks.cluster.profile` must have value `singleNode` - // - // and also `customTag` entry: - // - // * `"ResourceClass" = "SingleNode"` - // - // The following example demonstrates how to create an single node cluster: - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ - // LocalDisk: pulumi.BoolRef(true), - // }, nil) - // if err != nil { - // return err - // } - // latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ - // LongTermSupport: pulumi.BoolRef(true), - // }, nil) - // if err != nil { - // return err - // } - // _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ - // ClusterName: pulumi.String("Single Node"), - // SparkVersion: pulumi.String(latestLts.Id), - // NodeTypeId: pulumi.String(smallest.Id), - // AutoterminationMinutes: pulumi.Int(20), - // SparkConf: pulumi.StringMap{ - // "spark.databricks.cluster.profile": pulumi.String("singleNode"), - // "spark.master": pulumi.String("local[*]"), - // }, - // CustomTags: pulumi.StringMap{ - // "ResourceClass": pulumi.String("SingleNode"), - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - MaxWorkers *int `pulumi:"maxWorkers"` - // The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. - MinWorkers *int `pulumi:"minWorkers"` +// Scope of the secret to grant permission on. +func (o AppResourceSecretPtrOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceSecret) *string { + if v == nil { + return nil + } + return &v.Scope + }).(pulumi.StringPtrOutput) } -// ClusterAutoscaleInput is an input type that accepts ClusterAutoscaleArgs and ClusterAutoscaleOutput values. -// You can construct a concrete instance of `ClusterAutoscaleInput` via: +type AppResourceServingEndpoint struct { + // Name of the serving endpoint to grant permission on. + Name string `pulumi:"name"` + // Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + Permission string `pulumi:"permission"` +} + +// AppResourceServingEndpointInput is an input type that accepts AppResourceServingEndpointArgs and AppResourceServingEndpointOutput values. +// You can construct a concrete instance of `AppResourceServingEndpointInput` via: // -// ClusterAutoscaleArgs{...} -type ClusterAutoscaleInput interface { +// AppResourceServingEndpointArgs{...} +type AppResourceServingEndpointInput interface { pulumi.Input - ToClusterAutoscaleOutput() ClusterAutoscaleOutput - ToClusterAutoscaleOutputWithContext(context.Context) ClusterAutoscaleOutput + ToAppResourceServingEndpointOutput() AppResourceServingEndpointOutput + ToAppResourceServingEndpointOutputWithContext(context.Context) AppResourceServingEndpointOutput } -type ClusterAutoscaleArgs struct { - // The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. - // - // When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: - // - // * `spark.master` must have prefix `local`, like `local[*]` - // * `spark.databricks.cluster.profile` must have value `singleNode` - // - // and also `customTag` entry: - // - // * `"ResourceClass" = "SingleNode"` - // - // The following example demonstrates how to create an single node cluster: - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ - // LocalDisk: pulumi.BoolRef(true), - // }, nil) - // if err != nil { - // return err - // } - // latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ - // LongTermSupport: pulumi.BoolRef(true), - // }, nil) - // if err != nil { - // return err - // } - // _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ - // ClusterName: pulumi.String("Single Node"), - // SparkVersion: pulumi.String(latestLts.Id), - // NodeTypeId: pulumi.String(smallest.Id), - // AutoterminationMinutes: pulumi.Int(20), - // SparkConf: pulumi.StringMap{ - // "spark.databricks.cluster.profile": pulumi.String("singleNode"), - // "spark.master": pulumi.String("local[*]"), - // }, - // CustomTags: pulumi.StringMap{ - // "ResourceClass": pulumi.String("SingleNode"), - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - // The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type AppResourceServingEndpointArgs struct { + // Name of the serving endpoint to grant permission on. + Name pulumi.StringInput `pulumi:"name"` + // Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (ClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAutoscale)(nil)).Elem() +func (AppResourceServingEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceServingEndpoint)(nil)).Elem() } -func (i ClusterAutoscaleArgs) ToClusterAutoscaleOutput() ClusterAutoscaleOutput { - return i.ToClusterAutoscaleOutputWithContext(context.Background()) +func (i AppResourceServingEndpointArgs) ToAppResourceServingEndpointOutput() AppResourceServingEndpointOutput { + return i.ToAppResourceServingEndpointOutputWithContext(context.Background()) } -func (i ClusterAutoscaleArgs) ToClusterAutoscaleOutputWithContext(ctx context.Context) ClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscaleOutput) +func (i AppResourceServingEndpointArgs) ToAppResourceServingEndpointOutputWithContext(ctx context.Context) AppResourceServingEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceServingEndpointOutput) } -func (i ClusterAutoscaleArgs) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { - return i.ToClusterAutoscalePtrOutputWithContext(context.Background()) +func (i AppResourceServingEndpointArgs) ToAppResourceServingEndpointPtrOutput() AppResourceServingEndpointPtrOutput { + return i.ToAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (i ClusterAutoscaleArgs) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscaleOutput).ToClusterAutoscalePtrOutputWithContext(ctx) +func (i AppResourceServingEndpointArgs) ToAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) AppResourceServingEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceServingEndpointOutput).ToAppResourceServingEndpointPtrOutputWithContext(ctx) } -// ClusterAutoscalePtrInput is an input type that accepts ClusterAutoscaleArgs, ClusterAutoscalePtr and ClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `ClusterAutoscalePtrInput` via: +// AppResourceServingEndpointPtrInput is an input type that accepts AppResourceServingEndpointArgs, AppResourceServingEndpointPtr and AppResourceServingEndpointPtrOutput values. +// You can construct a concrete instance of `AppResourceServingEndpointPtrInput` via: // -// ClusterAutoscaleArgs{...} +// AppResourceServingEndpointArgs{...} // // or: // // nil -type ClusterAutoscalePtrInput interface { +type AppResourceServingEndpointPtrInput interface { pulumi.Input - ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput - ToClusterAutoscalePtrOutputWithContext(context.Context) ClusterAutoscalePtrOutput + ToAppResourceServingEndpointPtrOutput() AppResourceServingEndpointPtrOutput + ToAppResourceServingEndpointPtrOutputWithContext(context.Context) AppResourceServingEndpointPtrOutput } -type clusterAutoscalePtrType ClusterAutoscaleArgs +type appResourceServingEndpointPtrType AppResourceServingEndpointArgs -func ClusterAutoscalePtr(v *ClusterAutoscaleArgs) ClusterAutoscalePtrInput { - return (*clusterAutoscalePtrType)(v) +func AppResourceServingEndpointPtr(v *AppResourceServingEndpointArgs) AppResourceServingEndpointPtrInput { + return (*appResourceServingEndpointPtrType)(v) } -func (*clusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAutoscale)(nil)).Elem() +func (*appResourceServingEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceServingEndpoint)(nil)).Elem() } -func (i *clusterAutoscalePtrType) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { - return i.ToClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *appResourceServingEndpointPtrType) ToAppResourceServingEndpointPtrOutput() AppResourceServingEndpointPtrOutput { + return i.ToAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (i *clusterAutoscalePtrType) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalePtrOutput) +func (i *appResourceServingEndpointPtrType) ToAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) AppResourceServingEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceServingEndpointPtrOutput) } -type ClusterAutoscaleOutput struct{ *pulumi.OutputState } +type AppResourceServingEndpointOutput struct{ *pulumi.OutputState } -func (ClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAutoscale)(nil)).Elem() +func (AppResourceServingEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceServingEndpoint)(nil)).Elem() } -func (o ClusterAutoscaleOutput) ToClusterAutoscaleOutput() ClusterAutoscaleOutput { +func (o AppResourceServingEndpointOutput) ToAppResourceServingEndpointOutput() AppResourceServingEndpointOutput { return o } -func (o ClusterAutoscaleOutput) ToClusterAutoscaleOutputWithContext(ctx context.Context) ClusterAutoscaleOutput { +func (o AppResourceServingEndpointOutput) ToAppResourceServingEndpointOutputWithContext(ctx context.Context) AppResourceServingEndpointOutput { return o } -func (o ClusterAutoscaleOutput) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { - return o.ToClusterAutoscalePtrOutputWithContext(context.Background()) +func (o AppResourceServingEndpointOutput) ToAppResourceServingEndpointPtrOutput() AppResourceServingEndpointPtrOutput { + return o.ToAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (o ClusterAutoscaleOutput) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAutoscale) *ClusterAutoscale { +func (o AppResourceServingEndpointOutput) ToAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) AppResourceServingEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppResourceServingEndpoint) *AppResourceServingEndpoint { return &v - }).(ClusterAutoscalePtrOutput) + }).(AppResourceServingEndpointPtrOutput) } -// The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. -// -// When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: -// -// * `spark.master` must have prefix `local`, like `local[*]` -// * `spark.databricks.cluster.profile` must have value `singleNode` -// -// and also `customTag` entry: -// -// * `"ResourceClass" = "SingleNode"` -// -// The following example demonstrates how to create an single node cluster: -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ -// LocalDisk: pulumi.BoolRef(true), -// }, nil) -// if err != nil { -// return err -// } -// latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ -// LongTermSupport: pulumi.BoolRef(true), -// }, nil) -// if err != nil { -// return err -// } -// _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ -// ClusterName: pulumi.String("Single Node"), -// SparkVersion: pulumi.String(latestLts.Id), -// NodeTypeId: pulumi.String(smallest.Id), -// AutoterminationMinutes: pulumi.Int(20), -// SparkConf: pulumi.StringMap{ -// "spark.databricks.cluster.profile": pulumi.String("singleNode"), -// "spark.master": pulumi.String("local[*]"), -// }, -// CustomTags: pulumi.StringMap{ -// "ResourceClass": pulumi.String("SingleNode"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +// Name of the serving endpoint to grant permission on. +func (o AppResourceServingEndpointOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceServingEndpoint) string { return v.Name }).(pulumi.StringOutput) } -// The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. -func (o ClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +// Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. +func (o AppResourceServingEndpointOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceServingEndpoint) string { return v.Permission }).(pulumi.StringOutput) } -type ClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type AppResourceServingEndpointPtrOutput struct{ *pulumi.OutputState } -func (ClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAutoscale)(nil)).Elem() +func (AppResourceServingEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceServingEndpoint)(nil)).Elem() } -func (o ClusterAutoscalePtrOutput) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { +func (o AppResourceServingEndpointPtrOutput) ToAppResourceServingEndpointPtrOutput() AppResourceServingEndpointPtrOutput { return o } -func (o ClusterAutoscalePtrOutput) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { +func (o AppResourceServingEndpointPtrOutput) ToAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) AppResourceServingEndpointPtrOutput { return o } -func (o ClusterAutoscalePtrOutput) Elem() ClusterAutoscaleOutput { - return o.ApplyT(func(v *ClusterAutoscale) ClusterAutoscale { +func (o AppResourceServingEndpointPtrOutput) Elem() AppResourceServingEndpointOutput { + return o.ApplyT(func(v *AppResourceServingEndpoint) AppResourceServingEndpoint { if v != nil { return *v } - var ret ClusterAutoscale + var ret AppResourceServingEndpoint return ret - }).(ClusterAutoscaleOutput) + }).(AppResourceServingEndpointOutput) } -// The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. -// -// When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: -// -// * `spark.master` must have prefix `local`, like `local[*]` -// * `spark.databricks.cluster.profile` must have value `singleNode` -// -// and also `customTag` entry: -// -// * `"ResourceClass" = "SingleNode"` -// -// The following example demonstrates how to create an single node cluster: -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ -// LocalDisk: pulumi.BoolRef(true), -// }, nil) -// if err != nil { -// return err -// } -// latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ -// LongTermSupport: pulumi.BoolRef(true), -// }, nil) -// if err != nil { -// return err -// } -// _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ -// ClusterName: pulumi.String("Single Node"), -// SparkVersion: pulumi.String(latestLts.Id), -// NodeTypeId: pulumi.String(smallest.Id), -// AutoterminationMinutes: pulumi.Int(20), -// SparkConf: pulumi.StringMap{ -// "spark.databricks.cluster.profile": pulumi.String("singleNode"), -// "spark.master": pulumi.String("local[*]"), -// }, -// CustomTags: pulumi.StringMap{ -// "ResourceClass": pulumi.String("SingleNode"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAutoscale) *int { +// Name of the serving endpoint to grant permission on. +func (o AppResourceServingEndpointPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceServingEndpoint) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. -func (o ClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAutoscale) *int { +// Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. +func (o AppResourceServingEndpointPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceServingEndpoint) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return &v.Permission + }).(pulumi.StringPtrOutput) } -type ClusterAwsAttributes struct { - // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future - Availability *string `pulumi:"availability"` - // The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - // The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - // The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. - EbsVolumeType *string `pulumi:"ebsVolumeType"` - // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future - FirstOnDemand *int `pulumi:"firstOnDemand"` - // Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - // The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. - ZoneId *string `pulumi:"zoneId"` +type AppResourceSqlWarehouse struct { + // Id of the SQL warehouse to grant permission on. + Id string `pulumi:"id"` + // Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + Permission string `pulumi:"permission"` } -// ClusterAwsAttributesInput is an input type that accepts ClusterAwsAttributesArgs and ClusterAwsAttributesOutput values. -// You can construct a concrete instance of `ClusterAwsAttributesInput` via: +// AppResourceSqlWarehouseInput is an input type that accepts AppResourceSqlWarehouseArgs and AppResourceSqlWarehouseOutput values. +// You can construct a concrete instance of `AppResourceSqlWarehouseInput` via: // -// ClusterAwsAttributesArgs{...} -type ClusterAwsAttributesInput interface { +// AppResourceSqlWarehouseArgs{...} +type AppResourceSqlWarehouseInput interface { pulumi.Input - ToClusterAwsAttributesOutput() ClusterAwsAttributesOutput - ToClusterAwsAttributesOutputWithContext(context.Context) ClusterAwsAttributesOutput + ToAppResourceSqlWarehouseOutput() AppResourceSqlWarehouseOutput + ToAppResourceSqlWarehouseOutputWithContext(context.Context) AppResourceSqlWarehouseOutput } -type ClusterAwsAttributesArgs struct { - // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future - Availability pulumi.StringPtrInput `pulumi:"availability"` - // The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - // The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - // The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - // Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - // The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type AppResourceSqlWarehouseArgs struct { + // Id of the SQL warehouse to grant permission on. + Id pulumi.StringInput `pulumi:"id"` + // Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (ClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAwsAttributes)(nil)).Elem() +func (AppResourceSqlWarehouseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceSqlWarehouse)(nil)).Elem() } -func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesOutput() ClusterAwsAttributesOutput { - return i.ToClusterAwsAttributesOutputWithContext(context.Background()) +func (i AppResourceSqlWarehouseArgs) ToAppResourceSqlWarehouseOutput() AppResourceSqlWarehouseOutput { + return i.ToAppResourceSqlWarehouseOutputWithContext(context.Background()) } -func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesOutputWithContext(ctx context.Context) ClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAwsAttributesOutput) +func (i AppResourceSqlWarehouseArgs) ToAppResourceSqlWarehouseOutputWithContext(ctx context.Context) AppResourceSqlWarehouseOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceSqlWarehouseOutput) } -func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { - return i.ToClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i AppResourceSqlWarehouseArgs) ToAppResourceSqlWarehousePtrOutput() AppResourceSqlWarehousePtrOutput { + return i.ToAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAwsAttributesOutput).ToClusterAwsAttributesPtrOutputWithContext(ctx) +func (i AppResourceSqlWarehouseArgs) ToAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) AppResourceSqlWarehousePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceSqlWarehouseOutput).ToAppResourceSqlWarehousePtrOutputWithContext(ctx) } -// ClusterAwsAttributesPtrInput is an input type that accepts ClusterAwsAttributesArgs, ClusterAwsAttributesPtr and ClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `ClusterAwsAttributesPtrInput` via: +// AppResourceSqlWarehousePtrInput is an input type that accepts AppResourceSqlWarehouseArgs, AppResourceSqlWarehousePtr and AppResourceSqlWarehousePtrOutput values. +// You can construct a concrete instance of `AppResourceSqlWarehousePtrInput` via: // -// ClusterAwsAttributesArgs{...} +// AppResourceSqlWarehouseArgs{...} // // or: // // nil -type ClusterAwsAttributesPtrInput interface { +type AppResourceSqlWarehousePtrInput interface { pulumi.Input - ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput - ToClusterAwsAttributesPtrOutputWithContext(context.Context) ClusterAwsAttributesPtrOutput + ToAppResourceSqlWarehousePtrOutput() AppResourceSqlWarehousePtrOutput + ToAppResourceSqlWarehousePtrOutputWithContext(context.Context) AppResourceSqlWarehousePtrOutput } -type clusterAwsAttributesPtrType ClusterAwsAttributesArgs +type appResourceSqlWarehousePtrType AppResourceSqlWarehouseArgs -func ClusterAwsAttributesPtr(v *ClusterAwsAttributesArgs) ClusterAwsAttributesPtrInput { - return (*clusterAwsAttributesPtrType)(v) +func AppResourceSqlWarehousePtr(v *AppResourceSqlWarehouseArgs) AppResourceSqlWarehousePtrInput { + return (*appResourceSqlWarehousePtrType)(v) } -func (*clusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAwsAttributes)(nil)).Elem() +func (*appResourceSqlWarehousePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceSqlWarehouse)(nil)).Elem() } -func (i *clusterAwsAttributesPtrType) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { - return i.ToClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *appResourceSqlWarehousePtrType) ToAppResourceSqlWarehousePtrOutput() AppResourceSqlWarehousePtrOutput { + return i.ToAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (i *clusterAwsAttributesPtrType) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAwsAttributesPtrOutput) +func (i *appResourceSqlWarehousePtrType) ToAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) AppResourceSqlWarehousePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppResourceSqlWarehousePtrOutput) } -type ClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type AppResourceSqlWarehouseOutput struct{ *pulumi.OutputState } -func (ClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAwsAttributes)(nil)).Elem() +func (AppResourceSqlWarehouseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppResourceSqlWarehouse)(nil)).Elem() } -func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesOutput() ClusterAwsAttributesOutput { +func (o AppResourceSqlWarehouseOutput) ToAppResourceSqlWarehouseOutput() AppResourceSqlWarehouseOutput { return o } -func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesOutputWithContext(ctx context.Context) ClusterAwsAttributesOutput { +func (o AppResourceSqlWarehouseOutput) ToAppResourceSqlWarehouseOutputWithContext(ctx context.Context) AppResourceSqlWarehouseOutput { return o } -func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { - return o.ToClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o AppResourceSqlWarehouseOutput) ToAppResourceSqlWarehousePtrOutput() AppResourceSqlWarehousePtrOutput { + return o.ToAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAwsAttributes) *ClusterAwsAttributes { +func (o AppResourceSqlWarehouseOutput) ToAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) AppResourceSqlWarehousePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppResourceSqlWarehouse) *AppResourceSqlWarehouse { return &v - }).(ClusterAwsAttributesPtrOutput) + }).(AppResourceSqlWarehousePtrOutput) } -// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future -func (o ClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +// Id of the SQL warehouse to grant permission on. +func (o AppResourceSqlWarehouseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceSqlWarehouse) string { return v.Id }).(pulumi.StringOutput) } -// The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. -func (o ClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +// Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. +func (o AppResourceSqlWarehouseOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v AppResourceSqlWarehouse) string { return v.Permission }).(pulumi.StringOutput) } -func (o ClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +type AppResourceSqlWarehousePtrOutput struct{ *pulumi.OutputState } + +func (AppResourceSqlWarehousePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppResourceSqlWarehouse)(nil)).Elem() } -// The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). -func (o ClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (o AppResourceSqlWarehousePtrOutput) ToAppResourceSqlWarehousePtrOutput() AppResourceSqlWarehousePtrOutput { + return o } -func (o ClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +func (o AppResourceSqlWarehousePtrOutput) ToAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) AppResourceSqlWarehousePtrOutput { + return o } -// The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. -func (o ClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o AppResourceSqlWarehousePtrOutput) Elem() AppResourceSqlWarehouseOutput { + return o.ApplyT(func(v *AppResourceSqlWarehouse) AppResourceSqlWarehouse { + if v != nil { + return *v + } + var ret AppResourceSqlWarehouse + return ret + }).(AppResourceSqlWarehouseOutput) } -// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future -func (o ClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +// Id of the SQL warehouse to grant permission on. +func (o AppResourceSqlWarehousePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceSqlWarehouse) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) } -// Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. -func (o ClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +// Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. +func (o AppResourceSqlWarehousePtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppResourceSqlWarehouse) *string { + if v == nil { + return nil + } + return &v.Permission + }).(pulumi.StringPtrOutput) } -// The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. -func (o ClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +type ArtifactAllowlistArtifactMatcher struct { + // The artifact path or maven coordinate. + Artifact string `pulumi:"artifact"` + // The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. + MatchType string `pulumi:"matchType"` } -// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. -func (o ClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// ArtifactAllowlistArtifactMatcherInput is an input type that accepts ArtifactAllowlistArtifactMatcherArgs and ArtifactAllowlistArtifactMatcherOutput values. +// You can construct a concrete instance of `ArtifactAllowlistArtifactMatcherInput` via: +// +// ArtifactAllowlistArtifactMatcherArgs{...} +type ArtifactAllowlistArtifactMatcherInput interface { + pulumi.Input + + ToArtifactAllowlistArtifactMatcherOutput() ArtifactAllowlistArtifactMatcherOutput + ToArtifactAllowlistArtifactMatcherOutputWithContext(context.Context) ArtifactAllowlistArtifactMatcherOutput } -type ClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type ArtifactAllowlistArtifactMatcherArgs struct { + // The artifact path or maven coordinate. + Artifact pulumi.StringInput `pulumi:"artifact"` + // The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. + MatchType pulumi.StringInput `pulumi:"matchType"` +} -func (ClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAwsAttributes)(nil)).Elem() +func (ArtifactAllowlistArtifactMatcherArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ArtifactAllowlistArtifactMatcher)(nil)).Elem() } -func (o ClusterAwsAttributesPtrOutput) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { - return o +func (i ArtifactAllowlistArtifactMatcherArgs) ToArtifactAllowlistArtifactMatcherOutput() ArtifactAllowlistArtifactMatcherOutput { + return i.ToArtifactAllowlistArtifactMatcherOutputWithContext(context.Background()) } -func (o ClusterAwsAttributesPtrOutput) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { - return o +func (i ArtifactAllowlistArtifactMatcherArgs) ToArtifactAllowlistArtifactMatcherOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherOutput { + return pulumi.ToOutputWithContext(ctx, i).(ArtifactAllowlistArtifactMatcherOutput) } -func (o ClusterAwsAttributesPtrOutput) Elem() ClusterAwsAttributesOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) ClusterAwsAttributes { - if v != nil { - return *v - } - var ret ClusterAwsAttributes - return ret - }).(ClusterAwsAttributesOutput) +// ArtifactAllowlistArtifactMatcherArrayInput is an input type that accepts ArtifactAllowlistArtifactMatcherArray and ArtifactAllowlistArtifactMatcherArrayOutput values. +// You can construct a concrete instance of `ArtifactAllowlistArtifactMatcherArrayInput` via: +// +// ArtifactAllowlistArtifactMatcherArray{ ArtifactAllowlistArtifactMatcherArgs{...} } +type ArtifactAllowlistArtifactMatcherArrayInput interface { + pulumi.Input + + ToArtifactAllowlistArtifactMatcherArrayOutput() ArtifactAllowlistArtifactMatcherArrayOutput + ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(context.Context) ArtifactAllowlistArtifactMatcherArrayOutput } -// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future -func (o ClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +type ArtifactAllowlistArtifactMatcherArray []ArtifactAllowlistArtifactMatcherInput + +func (ArtifactAllowlistArtifactMatcherArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ArtifactAllowlistArtifactMatcher)(nil)).Elem() } -// The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. -func (o ClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) +func (i ArtifactAllowlistArtifactMatcherArray) ToArtifactAllowlistArtifactMatcherArrayOutput() ArtifactAllowlistArtifactMatcherArrayOutput { + return i.ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(context.Background()) } -func (o ClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) +func (i ArtifactAllowlistArtifactMatcherArray) ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ArtifactAllowlistArtifactMatcherArrayOutput) } -// The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). -func (o ClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +type ArtifactAllowlistArtifactMatcherOutput struct{ *pulumi.OutputState } + +func (ArtifactAllowlistArtifactMatcherOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ArtifactAllowlistArtifactMatcher)(nil)).Elem() } -func (o ClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) +func (o ArtifactAllowlistArtifactMatcherOutput) ToArtifactAllowlistArtifactMatcherOutput() ArtifactAllowlistArtifactMatcherOutput { + return o } -// The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. -func (o ClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) +func (o ArtifactAllowlistArtifactMatcherOutput) ToArtifactAllowlistArtifactMatcherOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherOutput { + return o } -// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future -func (o ClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +// The artifact path or maven coordinate. +func (o ArtifactAllowlistArtifactMatcherOutput) Artifact() pulumi.StringOutput { + return o.ApplyT(func(v ArtifactAllowlistArtifactMatcher) string { return v.Artifact }).(pulumi.StringOutput) } -// Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. -func (o ClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +// The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. +func (o ArtifactAllowlistArtifactMatcherOutput) MatchType() pulumi.StringOutput { + return o.ApplyT(func(v ArtifactAllowlistArtifactMatcher) string { return v.MatchType }).(pulumi.StringOutput) } -// The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. -func (o ClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +type ArtifactAllowlistArtifactMatcherArrayOutput struct{ *pulumi.OutputState } + +func (ArtifactAllowlistArtifactMatcherArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ArtifactAllowlistArtifactMatcher)(nil)).Elem() } -// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. -func (o ClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o ArtifactAllowlistArtifactMatcherArrayOutput) ToArtifactAllowlistArtifactMatcherArrayOutput() ArtifactAllowlistArtifactMatcherArrayOutput { + return o } -type ClusterAzureAttributes struct { - // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. - Availability *string `pulumi:"availability"` - // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *ClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +func (o ArtifactAllowlistArtifactMatcherArrayOutput) ToArtifactAllowlistArtifactMatcherArrayOutputWithContext(ctx context.Context) ArtifactAllowlistArtifactMatcherArrayOutput { + return o } -// ClusterAzureAttributesInput is an input type that accepts ClusterAzureAttributesArgs and ClusterAzureAttributesOutput values. -// You can construct a concrete instance of `ClusterAzureAttributesInput` via: +func (o ArtifactAllowlistArtifactMatcherArrayOutput) Index(i pulumi.IntInput) ArtifactAllowlistArtifactMatcherOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactAllowlistArtifactMatcher { + return vs[0].([]ArtifactAllowlistArtifactMatcher)[vs[1].(int)] + }).(ArtifactAllowlistArtifactMatcherOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace struct { + CanToggle *bool `pulumi:"canToggle"` + Enabled bool `pulumi:"enabled"` + EnablementDetails *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails `pulumi:"enablementDetails"` + MaintenanceWindow *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow `pulumi:"maintenanceWindow"` + RestartEvenIfNoUpdatesAvailable *bool `pulumi:"restartEvenIfNoUpdatesAvailable"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput` via: // -// ClusterAzureAttributesArgs{...} -type ClusterAzureAttributesInput interface { +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput interface { pulumi.Input - ToClusterAzureAttributesOutput() ClusterAzureAttributesOutput - ToClusterAzureAttributesOutputWithContext(context.Context) ClusterAzureAttributesOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput } -type ClusterAzureAttributesArgs struct { - // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. - Availability pulumi.StringPtrInput `pulumi:"availability"` - // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo ClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs struct { + CanToggle pulumi.BoolPtrInput `pulumi:"canToggle"` + Enabled pulumi.BoolInput `pulumi:"enabled"` + EnablementDetails AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput `pulumi:"enablementDetails"` + MaintenanceWindow AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput `pulumi:"maintenanceWindow"` + RestartEvenIfNoUpdatesAvailable pulumi.BoolPtrInput `pulumi:"restartEvenIfNoUpdatesAvailable"` } -func (ClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAzureAttributes)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() } -func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesOutput() ClusterAzureAttributesOutput { - return i.ToClusterAzureAttributesOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(context.Background()) } -func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesOutputWithContext(ctx context.Context) ClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesOutput) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) } -func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { - return i.ToClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) } -func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesOutput).ToClusterAzureAttributesPtrOutputWithContext(ctx) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx) } -// ClusterAzureAttributesPtrInput is an input type that accepts ClusterAzureAttributesArgs, ClusterAzureAttributesPtr and ClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `ClusterAzureAttributesPtrInput` via: +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput` via: // -// ClusterAzureAttributesArgs{...} +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{...} // // or: // // nil -type ClusterAzureAttributesPtrInput interface { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput interface { pulumi.Input - ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput - ToClusterAzureAttributesPtrOutputWithContext(context.Context) ClusterAzureAttributesPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput } -type clusterAzureAttributesPtrType ClusterAzureAttributesArgs +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs -func ClusterAzureAttributesPtr(v *ClusterAzureAttributesArgs) ClusterAzureAttributesPtrInput { - return (*clusterAzureAttributesPtrType)(v) +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType)(v) } -func (*clusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAzureAttributes)(nil)).Elem() +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() } -func (i *clusterAzureAttributesPtrType) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { - return i.ToClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) } -func (i *clusterAzureAttributesPtrType) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesPtrOutput) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) } -type ClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput struct{ *pulumi.OutputState } -func (ClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAzureAttributes)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() } -func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesOutput() ClusterAzureAttributesOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { return o } -func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesOutputWithContext(ctx context.Context) ClusterAzureAttributesOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { return o } -func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { - return o.ToClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(context.Background()) } -func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAzureAttributes) *ClusterAzureAttributes { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { return &v - }).(ClusterAzureAttributesPtrOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) } -// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. -func (o ClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) CanToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + return v.CanToggle + }).(pulumi.BoolPtrOutput) } -// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. -func (o ClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) bool { return v.Enabled }).(pulumi.BoolOutput) } -func (o ClusterAzureAttributesOutput) LogAnalyticsInfo() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v ClusterAzureAttributes) *ClusterAzureAttributesLogAnalyticsInfo { return v.LogAnalyticsInfo }).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) EnablementDetails() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { + return v.EnablementDetails + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) } -// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. -func (o ClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) MaintenanceWindow() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { + return v.MaintenanceWindow + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) } -type ClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) RestartEvenIfNoUpdatesAvailable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + return v.RestartEvenIfNoUpdatesAvailable + }).(pulumi.BoolPtrOutput) +} -func (ClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAzureAttributes)(nil)).Elem() +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace)(nil)).Elem() } -func (o ClusterAzureAttributesPtrOutput) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { return o } -func (o ClusterAzureAttributesPtrOutput) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput { return o } -func (o ClusterAzureAttributesPtrOutput) Elem() ClusterAzureAttributesOutput { - return o.ApplyT(func(v *ClusterAzureAttributes) ClusterAzureAttributes { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace { if v != nil { return *v } - var ret ClusterAzureAttributes + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace return ret - }).(ClusterAzureAttributesOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput) } -// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. -func (o ClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAzureAttributes) *string { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) CanToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.CanToggle + }).(pulumi.BoolPtrOutput) } -// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. -func (o ClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterAzureAttributes) *int { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o ClusterAzureAttributesPtrOutput) LogAnalyticsInfo() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *ClusterAzureAttributes) *ClusterAzureAttributesLogAnalyticsInfo { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) EnablementDetails() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { if v == nil { return nil } - return v.LogAnalyticsInfo - }).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) + return v.EnablementDetails + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) } -// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. -func (o ClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *ClusterAzureAttributes) *float64 { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) MaintenanceWindow() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.MaintenanceWindow + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) } -type ClusterAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspacePtrOutput) RestartEvenIfNoUpdatesAvailable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace) *bool { + if v == nil { + return nil + } + return v.RestartEvenIfNoUpdatesAvailable + }).(pulumi.BoolPtrOutput) } -// ClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts ClusterAzureAttributesLogAnalyticsInfoArgs and ClusterAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `ClusterAzureAttributesLogAnalyticsInfoInput` via: +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails struct { + ForcedForComplianceMode *bool `pulumi:"forcedForComplianceMode"` + UnavailableForDisabledEntitlement *bool `pulumi:"unavailableForDisabledEntitlement"` + UnavailableForNonEnterpriseTier *bool `pulumi:"unavailableForNonEnterpriseTier"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput` via: // -// ClusterAzureAttributesLogAnalyticsInfoArgs{...} -type ClusterAzureAttributesLogAnalyticsInfoInput interface { +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsInput interface { pulumi.Input - ToClusterAzureAttributesLogAnalyticsInfoOutput() ClusterAzureAttributesLogAnalyticsInfoOutput - ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) ClusterAzureAttributesLogAnalyticsInfoOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput } -type ClusterAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs struct { + ForcedForComplianceMode pulumi.BoolPtrInput `pulumi:"forcedForComplianceMode"` + UnavailableForDisabledEntitlement pulumi.BoolPtrInput `pulumi:"unavailableForDisabledEntitlement"` + UnavailableForNonEnterpriseTier pulumi.BoolPtrInput `pulumi:"unavailableForNonEnterpriseTier"` } -func (ClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() } -func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoOutput() ClusterAzureAttributesLogAnalyticsInfoOutput { - return i.ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(context.Background()) } -func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesLogAnalyticsInfoOutput) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) } -func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) } -func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesLogAnalyticsInfoOutput).ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx) } -// ClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts ClusterAzureAttributesLogAnalyticsInfoArgs, ClusterAzureAttributesLogAnalyticsInfoPtr and ClusterAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `ClusterAzureAttributesLogAnalyticsInfoPtrInput` via: +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput` via: // -// ClusterAzureAttributesLogAnalyticsInfoArgs{...} +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs{...} // // or: // // nil -type ClusterAzureAttributesLogAnalyticsInfoPtrInput interface { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput interface { pulumi.Input - ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput - ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput } -type clusterAzureAttributesLogAnalyticsInfoPtrType ClusterAzureAttributesLogAnalyticsInfoArgs +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs -func ClusterAzureAttributesLogAnalyticsInfoPtr(v *ClusterAzureAttributesLogAnalyticsInfoArgs) ClusterAzureAttributesLogAnalyticsInfoPtrInput { - return (*clusterAzureAttributesLogAnalyticsInfoPtrType)(v) +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType)(v) } -func (*clusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() } -func (i *clusterAzureAttributesLogAnalyticsInfoPtrType) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) } -func (i *clusterAzureAttributesLogAnalyticsInfoPtrType) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) } -type ClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput struct{ *pulumi.OutputState } -func (ClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() } -func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoOutput() ClusterAzureAttributesLogAnalyticsInfoOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { return o } -func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { return o } -func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(context.Background()) } -func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAzureAttributesLogAnalyticsInfo) *ClusterAzureAttributesLogAnalyticsInfo { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { return &v - }).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) -} - -func (o ClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) } -func (o ClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) ForcedForComplianceMode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + return v.ForcedForComplianceMode + }).(pulumi.BoolPtrOutput) } -type ClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) UnavailableForDisabledEntitlement() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + return v.UnavailableForDisabledEntitlement + }).(pulumi.BoolPtrOutput) +} -func (ClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) UnavailableForNonEnterpriseTier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + return v.UnavailableForNonEnterpriseTier + }).(pulumi.BoolPtrOutput) } -func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { return o } -func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput { return o } -func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() ClusterAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *ClusterAzureAttributesLogAnalyticsInfo) ClusterAzureAttributesLogAnalyticsInfo { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails { if v != nil { return *v } - var ret ClusterAzureAttributesLogAnalyticsInfo + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails return ret - }).(ClusterAzureAttributesLogAnalyticsInfoOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsOutput) } -func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAzureAttributesLogAnalyticsInfo) *string { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) ForcedForComplianceMode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey - }).(pulumi.StringPtrOutput) + return v.ForcedForComplianceMode + }).(pulumi.BoolPtrOutput) } -func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterAzureAttributesLogAnalyticsInfo) *string { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) UnavailableForDisabledEntitlement() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId - }).(pulumi.StringPtrOutput) + return v.UnavailableForDisabledEntitlement + }).(pulumi.BoolPtrOutput) } -type ClusterClusterLogConf struct { - Dbfs *ClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *ClusterClusterLogConfS3 `pulumi:"s3"` +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsPtrOutput) UnavailableForNonEnterpriseTier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails) *bool { + if v == nil { + return nil + } + return v.UnavailableForNonEnterpriseTier + }).(pulumi.BoolPtrOutput) } -// ClusterClusterLogConfInput is an input type that accepts ClusterClusterLogConfArgs and ClusterClusterLogConfOutput values. -// You can construct a concrete instance of `ClusterClusterLogConfInput` via: +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow struct { + WeekDayBasedSchedule *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule `pulumi:"weekDayBasedSchedule"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput` via: // -// ClusterClusterLogConfArgs{...} -type ClusterClusterLogConfInput interface { +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowInput interface { pulumi.Input - ToClusterClusterLogConfOutput() ClusterClusterLogConfOutput - ToClusterClusterLogConfOutputWithContext(context.Context) ClusterClusterLogConfOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput } -type ClusterClusterLogConfArgs struct { - Dbfs ClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 ClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs struct { + WeekDayBasedSchedule AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput `pulumi:"weekDayBasedSchedule"` } -func (ClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterLogConf)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() } -func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfOutput() ClusterClusterLogConfOutput { - return i.ToClusterClusterLogConfOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(context.Background()) } -func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfOutputWithContext(ctx context.Context) ClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfOutput) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) } -func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { - return i.ToClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) } -func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfOutput).ToClusterClusterLogConfPtrOutputWithContext(ctx) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx) } -// ClusterClusterLogConfPtrInput is an input type that accepts ClusterClusterLogConfArgs, ClusterClusterLogConfPtr and ClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `ClusterClusterLogConfPtrInput` via: +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput` via: // -// ClusterClusterLogConfArgs{...} +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs{...} // // or: // // nil -type ClusterClusterLogConfPtrInput interface { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput interface { pulumi.Input - ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput - ToClusterClusterLogConfPtrOutputWithContext(context.Context) ClusterClusterLogConfPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput } -type clusterClusterLogConfPtrType ClusterClusterLogConfArgs +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs -func ClusterClusterLogConfPtr(v *ClusterClusterLogConfArgs) ClusterClusterLogConfPtrInput { - return (*clusterClusterLogConfPtrType)(v) +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType)(v) } -func (*clusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterClusterLogConf)(nil)).Elem() +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() } -func (i *clusterClusterLogConfPtrType) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { - return i.ToClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) } -func (i *clusterClusterLogConfPtrType) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfPtrOutput) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) } -type ClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput struct{ *pulumi.OutputState } -func (ClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterLogConf)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() } -func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfOutput() ClusterClusterLogConfOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { return o } -func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfOutputWithContext(ctx context.Context) ClusterClusterLogConfOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { return o } -func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { - return o.ToClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(context.Background()) } -func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterClusterLogConf) *ClusterClusterLogConf { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { return &v - }).(ClusterClusterLogConfPtrOutput) -} - -func (o ClusterClusterLogConfOutput) Dbfs() ClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConf) *ClusterClusterLogConfDbfs { return v.Dbfs }).(ClusterClusterLogConfDbfsPtrOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) } -func (o ClusterClusterLogConfOutput) S3() ClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v ClusterClusterLogConf) *ClusterClusterLogConfS3 { return v.S3 }).(ClusterClusterLogConfS3PtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) WeekDayBasedSchedule() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { + return v.WeekDayBasedSchedule + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) } -type ClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput struct{ *pulumi.OutputState } -func (ClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterClusterLogConf)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow)(nil)).Elem() } -func (o ClusterClusterLogConfPtrOutput) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { return o } -func (o ClusterClusterLogConfPtrOutput) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput { return o } -func (o ClusterClusterLogConfPtrOutput) Elem() ClusterClusterLogConfOutput { - return o.ApplyT(func(v *ClusterClusterLogConf) ClusterClusterLogConf { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow { if v != nil { return *v } - var ret ClusterClusterLogConf + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow return ret - }).(ClusterClusterLogConfOutput) -} - -func (o ClusterClusterLogConfPtrOutput) Dbfs() ClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConf) *ClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(ClusterClusterLogConfDbfsPtrOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowOutput) } -func (o ClusterClusterLogConfPtrOutput) S3() ClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConf) *ClusterClusterLogConfS3 { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowPtrOutput) WeekDayBasedSchedule() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { if v == nil { return nil } - return v.S3 - }).(ClusterClusterLogConfS3PtrOutput) + return v.WeekDayBasedSchedule + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) } -type ClusterClusterLogConfDbfs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule struct { + DayOfWeek string `pulumi:"dayOfWeek"` + Frequency string `pulumi:"frequency"` + WindowStartTime *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime `pulumi:"windowStartTime"` } -// ClusterClusterLogConfDbfsInput is an input type that accepts ClusterClusterLogConfDbfsArgs and ClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `ClusterClusterLogConfDbfsInput` via: +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput` via: // -// ClusterClusterLogConfDbfsArgs{...} -type ClusterClusterLogConfDbfsInput interface { +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleInput interface { pulumi.Input - ToClusterClusterLogConfDbfsOutput() ClusterClusterLogConfDbfsOutput - ToClusterClusterLogConfDbfsOutputWithContext(context.Context) ClusterClusterLogConfDbfsOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput } -type ClusterClusterLogConfDbfsArgs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs struct { + DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` + Frequency pulumi.StringInput `pulumi:"frequency"` + WindowStartTime AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput `pulumi:"windowStartTime"` } -func (ClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterLogConfDbfs)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() } -func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsOutput() ClusterClusterLogConfDbfsOutput { - return i.ToClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(context.Background()) } -func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfDbfsOutput) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) } -func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { - return i.ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) } -func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfDbfsOutput).ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx) } -// ClusterClusterLogConfDbfsPtrInput is an input type that accepts ClusterClusterLogConfDbfsArgs, ClusterClusterLogConfDbfsPtr and ClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `ClusterClusterLogConfDbfsPtrInput` via: +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput` via: // -// ClusterClusterLogConfDbfsArgs{...} +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs{...} // // or: // // nil -type ClusterClusterLogConfDbfsPtrInput interface { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput interface { pulumi.Input - ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput - ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) ClusterClusterLogConfDbfsPtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput } -type clusterClusterLogConfDbfsPtrType ClusterClusterLogConfDbfsArgs +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs -func ClusterClusterLogConfDbfsPtr(v *ClusterClusterLogConfDbfsArgs) ClusterClusterLogConfDbfsPtrInput { - return (*clusterClusterLogConfDbfsPtrType)(v) +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType)(v) } -func (*clusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterClusterLogConfDbfs)(nil)).Elem() +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() } -func (i *clusterClusterLogConfDbfsPtrType) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { - return i.ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) } -func (i *clusterClusterLogConfDbfsPtrType) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfDbfsPtrOutput) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) } -type ClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput struct{ *pulumi.OutputState } -func (ClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterLogConfDbfs)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() } -func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsOutput() ClusterClusterLogConfDbfsOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { return o } -func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { return o } -func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { - return o.ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(context.Background()) } -func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterClusterLogConfDbfs) *ClusterClusterLogConfDbfs { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { return &v - }).(ClusterClusterLogConfDbfsPtrOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) DayOfWeek() pulumi.StringOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) string { + return v.DayOfWeek + }).(pulumi.StringOutput) } -type ClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) Frequency() pulumi.StringOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) string { + return v.Frequency + }).(pulumi.StringOutput) +} -func (ClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterClusterLogConfDbfs)(nil)).Elem() +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) WindowStartTime() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + return v.WindowStartTime + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) } -func (o ClusterClusterLogConfDbfsPtrOutput) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput struct{ *pulumi.OutputState } + +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule)(nil)).Elem() +} + +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { return o } -func (o ClusterClusterLogConfDbfsPtrOutput) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput { return o } -func (o ClusterClusterLogConfDbfsPtrOutput) Elem() ClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *ClusterClusterLogConfDbfs) ClusterClusterLogConfDbfs { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule { if v != nil { return *v } - var ret ClusterClusterLogConfDbfs + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule return ret - }).(ClusterClusterLogConfDbfsOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfDbfs) *string { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) DayOfWeek() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { if v == nil { return nil } - return &v.Destination + return &v.DayOfWeek }).(pulumi.StringPtrOutput) } -type ClusterClusterLogConfS3 struct { - // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. - CannedAcl *string `pulumi:"cannedAcl"` - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` - // Enable server-side encryption, false by default. - EnableEncryption *bool `pulumi:"enableEncryption"` - // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. - EncryptionType *string `pulumi:"encryptionType"` - // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. - Endpoint *string `pulumi:"endpoint"` - // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. - KmsKey *string `pulumi:"kmsKey"` - // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. - Region *string `pulumi:"region"` +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) Frequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *string { + if v == nil { + return nil + } + return &v.Frequency + }).(pulumi.StringPtrOutput) } -// ClusterClusterLogConfS3Input is an input type that accepts ClusterClusterLogConfS3Args and ClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `ClusterClusterLogConfS3Input` via: +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedulePtrOutput) WindowStartTime() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { + if v == nil { + return nil + } + return v.WindowStartTime + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) +} + +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime struct { + Hours int `pulumi:"hours"` + Minutes int `pulumi:"minutes"` +} + +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput` via: // -// ClusterClusterLogConfS3Args{...} -type ClusterClusterLogConfS3Input interface { +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{...} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeInput interface { pulumi.Input - ToClusterClusterLogConfS3Output() ClusterClusterLogConfS3Output - ToClusterClusterLogConfS3OutputWithContext(context.Context) ClusterClusterLogConfS3Output + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput } -type ClusterClusterLogConfS3Args struct { - // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` - // Enable server-side encryption, false by default. - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. - Region pulumi.StringPtrInput `pulumi:"region"` +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs struct { + Hours pulumi.IntInput `pulumi:"hours"` + Minutes pulumi.IntInput `pulumi:"minutes"` } -func (ClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterLogConfS3)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() } -func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3Output() ClusterClusterLogConfS3Output { - return i.ToClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(context.Background()) } -func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3OutputWithContext(ctx context.Context) ClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfS3Output) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) } -func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { - return i.ToClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) } -func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfS3Output).ToClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput).ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx) } -// ClusterClusterLogConfS3PtrInput is an input type that accepts ClusterClusterLogConfS3Args, ClusterClusterLogConfS3Ptr and ClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `ClusterClusterLogConfS3PtrInput` via: +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput is an input type that accepts AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs, AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtr and AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput values. +// You can construct a concrete instance of `AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput` via: // -// ClusterClusterLogConfS3Args{...} +// AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs{...} // // or: // // nil -type ClusterClusterLogConfS3PtrInput interface { +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput interface { pulumi.Input - ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput - ToClusterClusterLogConfS3PtrOutputWithContext(context.Context) ClusterClusterLogConfS3PtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput + ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput } -type clusterClusterLogConfS3PtrType ClusterClusterLogConfS3Args +type automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs -func ClusterClusterLogConfS3Ptr(v *ClusterClusterLogConfS3Args) ClusterClusterLogConfS3PtrInput { - return (*clusterClusterLogConfS3PtrType)(v) +func AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtr(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrInput { + return (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType)(v) } -func (*clusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterClusterLogConfS3)(nil)).Elem() +func (*automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() } -func (i *clusterClusterLogConfS3PtrType) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { - return i.ToClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return i.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) } -func (i *clusterClusterLogConfS3PtrType) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfS3PtrOutput) +func (i *automaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrType) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) } -type ClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput struct{ *pulumi.OutputState } -func (ClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterLogConfS3)(nil)).Elem() +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() } -func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3Output() ClusterClusterLogConfS3Output { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { return o } -func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3OutputWithContext(ctx context.Context) ClusterClusterLogConfS3Output { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { return o } -func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { - return o.ToClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(context.Background()) } -func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterClusterLogConfS3) *ClusterClusterLogConfS3 { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { return &v - }).(ClusterClusterLogConfS3PtrOutput) -} - -// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. -func (o ClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) Hours() pulumi.IntOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) int { + return v.Hours + }).(pulumi.IntOutput) } -// Enable server-side encryption, false by default. -func (o ClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) Minutes() pulumi.IntOutput { + return o.ApplyT(func(v AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) int { + return v.Minutes + }).(pulumi.IntOutput) } -// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. -func (o ClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} +type AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput struct{ *pulumi.OutputState } -// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. -func (o ClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime)(nil)).Elem() } -// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. -func (o ClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o } -// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. -func (o ClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) ToAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutputWithContext(ctx context.Context) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput { + return o } -type ClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } - -func (ClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterClusterLogConfS3)(nil)).Elem() -} - -func (o ClusterClusterLogConfS3PtrOutput) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { - return o -} - -func (o ClusterClusterLogConfS3PtrOutput) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { - return o -} - -func (o ClusterClusterLogConfS3PtrOutput) Elem() ClusterClusterLogConfS3Output { - return o.ApplyT(func(v *ClusterClusterLogConfS3) ClusterClusterLogConfS3 { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Elem() AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime { if v != nil { return *v } - var ret ClusterClusterLogConfS3 + var ret AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime return ret - }).(ClusterClusterLogConfS3Output) + }).(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutput) } -// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. -func (o ClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Hours() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { if v == nil { return nil } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + return &v.Hours + }).(pulumi.IntPtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { +func (o AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimePtrOutput) Minutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return &v.Minutes + }).(pulumi.IntPtrOutput) } -// Enable server-side encryption, false by default. -func (o ClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +type BudgetAlertConfiguration struct { + // List of action configurations to take when the budget alert is triggered. Consists of the following fields: + ActionConfigurations []BudgetAlertConfigurationActionConfiguration `pulumi:"actionConfigurations"` + AlertConfigurationId *string `pulumi:"alertConfigurationId"` + // The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantityType`. + QuantityThreshold *string `pulumi:"quantityThreshold"` + // The way to calculate cost for this budget alert. This is what quantityThreshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) + QuantityType *string `pulumi:"quantityType"` + // The time window of usage data for the budget. (Enum: `MONTH`) + TimePeriod *string `pulumi:"timePeriod"` + // The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) + TriggerType *string `pulumi:"triggerType"` } -// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. -func (o ClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +// BudgetAlertConfigurationInput is an input type that accepts BudgetAlertConfigurationArgs and BudgetAlertConfigurationOutput values. +// You can construct a concrete instance of `BudgetAlertConfigurationInput` via: +// +// BudgetAlertConfigurationArgs{...} +type BudgetAlertConfigurationInput interface { + pulumi.Input + + ToBudgetAlertConfigurationOutput() BudgetAlertConfigurationOutput + ToBudgetAlertConfigurationOutputWithContext(context.Context) BudgetAlertConfigurationOutput } -// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. -func (o ClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +type BudgetAlertConfigurationArgs struct { + // List of action configurations to take when the budget alert is triggered. Consists of the following fields: + ActionConfigurations BudgetAlertConfigurationActionConfigurationArrayInput `pulumi:"actionConfigurations"` + AlertConfigurationId pulumi.StringPtrInput `pulumi:"alertConfigurationId"` + // The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantityType`. + QuantityThreshold pulumi.StringPtrInput `pulumi:"quantityThreshold"` + // The way to calculate cost for this budget alert. This is what quantityThreshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) + QuantityType pulumi.StringPtrInput `pulumi:"quantityType"` + // The time window of usage data for the budget. (Enum: `MONTH`) + TimePeriod pulumi.StringPtrInput `pulumi:"timePeriod"` + // The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) + TriggerType pulumi.StringPtrInput `pulumi:"triggerType"` } -// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. -func (o ClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) +func (BudgetAlertConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetAlertConfiguration)(nil)).Elem() } -// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. -func (o ClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (i BudgetAlertConfigurationArgs) ToBudgetAlertConfigurationOutput() BudgetAlertConfigurationOutput { + return i.ToBudgetAlertConfigurationOutputWithContext(context.Background()) } -type ClusterClusterMountInfo struct { - // path inside the Spark container. - // - // For example, you can mount Azure Data Lake Storage container using the following code: - // - // ```go - // package main - // - // import ( - // "fmt" - // - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // storageAccount := "ewfw3ggwegwg" - // storageContainer := "test" - // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ - // ClusterMountInfos: databricks.ClusterClusterMountInfoArray{ - // &databricks.ClusterClusterMountInfoArgs{ - // NetworkFilesystemInfo: &databricks.ClusterClusterMountInfoNetworkFilesystemInfoArgs{ - // ServerAddress: pulumi.Sprintf("%v.blob.core.windows.net", storageAccount), - // MountOptions: pulumi.String("sec=sys,vers=3,nolock,proto=tcp"), - // }, - // RemoteMountDirPath: pulumi.Sprintf("%v/%v", storageAccount, storageContainer), - // LocalMountDirPath: pulumi.String("/mnt/nfs-test"), - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - LocalMountDirPath string `pulumi:"localMountDirPath"` - // block specifying connection. It consists of: - NetworkFilesystemInfo ClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - // string specifying path to mount on the remote service. - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +func (i BudgetAlertConfigurationArgs) ToBudgetAlertConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationOutput) } -// ClusterClusterMountInfoInput is an input type that accepts ClusterClusterMountInfoArgs and ClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `ClusterClusterMountInfoInput` via: +// BudgetAlertConfigurationArrayInput is an input type that accepts BudgetAlertConfigurationArray and BudgetAlertConfigurationArrayOutput values. +// You can construct a concrete instance of `BudgetAlertConfigurationArrayInput` via: // -// ClusterClusterMountInfoArgs{...} -type ClusterClusterMountInfoInput interface { +// BudgetAlertConfigurationArray{ BudgetAlertConfigurationArgs{...} } +type BudgetAlertConfigurationArrayInput interface { pulumi.Input - ToClusterClusterMountInfoOutput() ClusterClusterMountInfoOutput - ToClusterClusterMountInfoOutputWithContext(context.Context) ClusterClusterMountInfoOutput + ToBudgetAlertConfigurationArrayOutput() BudgetAlertConfigurationArrayOutput + ToBudgetAlertConfigurationArrayOutputWithContext(context.Context) BudgetAlertConfigurationArrayOutput } -type ClusterClusterMountInfoArgs struct { - // path inside the Spark container. - // - // For example, you can mount Azure Data Lake Storage container using the following code: - // - // ```go - // package main - // - // import ( - // "fmt" - // - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // storageAccount := "ewfw3ggwegwg" - // storageContainer := "test" - // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ - // ClusterMountInfos: databricks.ClusterClusterMountInfoArray{ - // &databricks.ClusterClusterMountInfoArgs{ - // NetworkFilesystemInfo: &databricks.ClusterClusterMountInfoNetworkFilesystemInfoArgs{ - // ServerAddress: pulumi.Sprintf("%v.blob.core.windows.net", storageAccount), - // MountOptions: pulumi.String("sec=sys,vers=3,nolock,proto=tcp"), - // }, - // RemoteMountDirPath: pulumi.Sprintf("%v/%v", storageAccount, storageContainer), - // LocalMountDirPath: pulumi.String("/mnt/nfs-test"), - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - // block specifying connection. It consists of: - NetworkFilesystemInfo ClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - // string specifying path to mount on the remote service. - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +type BudgetAlertConfigurationArray []BudgetAlertConfigurationInput + +func (BudgetAlertConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BudgetAlertConfiguration)(nil)).Elem() } -func (ClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterMountInfo)(nil)).Elem() +func (i BudgetAlertConfigurationArray) ToBudgetAlertConfigurationArrayOutput() BudgetAlertConfigurationArrayOutput { + return i.ToBudgetAlertConfigurationArrayOutputWithContext(context.Background()) } -func (i ClusterClusterMountInfoArgs) ToClusterClusterMountInfoOutput() ClusterClusterMountInfoOutput { - return i.ToClusterClusterMountInfoOutputWithContext(context.Background()) +func (i BudgetAlertConfigurationArray) ToBudgetAlertConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationArrayOutput) } -func (i ClusterClusterMountInfoArgs) ToClusterClusterMountInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterMountInfoOutput) +type BudgetAlertConfigurationOutput struct{ *pulumi.OutputState } + +func (BudgetAlertConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetAlertConfiguration)(nil)).Elem() } -// ClusterClusterMountInfoArrayInput is an input type that accepts ClusterClusterMountInfoArray and ClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `ClusterClusterMountInfoArrayInput` via: -// -// ClusterClusterMountInfoArray{ ClusterClusterMountInfoArgs{...} } -type ClusterClusterMountInfoArrayInput interface { - pulumi.Input +func (o BudgetAlertConfigurationOutput) ToBudgetAlertConfigurationOutput() BudgetAlertConfigurationOutput { + return o +} - ToClusterClusterMountInfoArrayOutput() ClusterClusterMountInfoArrayOutput - ToClusterClusterMountInfoArrayOutputWithContext(context.Context) ClusterClusterMountInfoArrayOutput +func (o BudgetAlertConfigurationOutput) ToBudgetAlertConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationOutput { + return o } -type ClusterClusterMountInfoArray []ClusterClusterMountInfoInput +// List of action configurations to take when the budget alert is triggered. Consists of the following fields: +func (o BudgetAlertConfigurationOutput) ActionConfigurations() BudgetAlertConfigurationActionConfigurationArrayOutput { + return o.ApplyT(func(v BudgetAlertConfiguration) []BudgetAlertConfigurationActionConfiguration { + return v.ActionConfigurations + }).(BudgetAlertConfigurationActionConfigurationArrayOutput) +} -func (ClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterClusterMountInfo)(nil)).Elem() +func (o BudgetAlertConfigurationOutput) AlertConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.AlertConfigurationId }).(pulumi.StringPtrOutput) } -func (i ClusterClusterMountInfoArray) ToClusterClusterMountInfoArrayOutput() ClusterClusterMountInfoArrayOutput { - return i.ToClusterClusterMountInfoArrayOutputWithContext(context.Background()) +// The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantityType`. +func (o BudgetAlertConfigurationOutput) QuantityThreshold() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.QuantityThreshold }).(pulumi.StringPtrOutput) } -func (i ClusterClusterMountInfoArray) ToClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) ClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterMountInfoArrayOutput) +// The way to calculate cost for this budget alert. This is what quantityThreshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) +func (o BudgetAlertConfigurationOutput) QuantityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.QuantityType }).(pulumi.StringPtrOutput) } -type ClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +// The time window of usage data for the budget. (Enum: `MONTH`) +func (o BudgetAlertConfigurationOutput) TimePeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.TimePeriod }).(pulumi.StringPtrOutput) +} -func (ClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterMountInfo)(nil)).Elem() +// The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) +func (o BudgetAlertConfigurationOutput) TriggerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfiguration) *string { return v.TriggerType }).(pulumi.StringPtrOutput) } -func (o ClusterClusterMountInfoOutput) ToClusterClusterMountInfoOutput() ClusterClusterMountInfoOutput { - return o +type BudgetAlertConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (BudgetAlertConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BudgetAlertConfiguration)(nil)).Elem() } -func (o ClusterClusterMountInfoOutput) ToClusterClusterMountInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoOutput { +func (o BudgetAlertConfigurationArrayOutput) ToBudgetAlertConfigurationArrayOutput() BudgetAlertConfigurationArrayOutput { return o } -// path inside the Spark container. -// -// For example, you can mount Azure Data Lake Storage container using the following code: -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// storageAccount := "ewfw3ggwegwg" -// storageContainer := "test" -// _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ -// ClusterMountInfos: databricks.ClusterClusterMountInfoArray{ -// &databricks.ClusterClusterMountInfoArgs{ -// NetworkFilesystemInfo: &databricks.ClusterClusterMountInfoNetworkFilesystemInfoArgs{ -// ServerAddress: pulumi.Sprintf("%v.blob.core.windows.net", storageAccount), -// MountOptions: pulumi.String("sec=sys,vers=3,nolock,proto=tcp"), -// }, -// RemoteMountDirPath: pulumi.Sprintf("%v/%v", storageAccount, storageContainer), -// LocalMountDirPath: pulumi.String("/mnt/nfs-test"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v ClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +func (o BudgetAlertConfigurationArrayOutput) ToBudgetAlertConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationArrayOutput { + return o } -// block specifying connection. It consists of: -func (o ClusterClusterMountInfoOutput) NetworkFilesystemInfo() ClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v ClusterClusterMountInfo) ClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(ClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o BudgetAlertConfigurationArrayOutput) Index(i pulumi.IntInput) BudgetAlertConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BudgetAlertConfiguration { + return vs[0].([]BudgetAlertConfiguration)[vs[1].(int)] + }).(BudgetAlertConfigurationOutput) } -// string specifying path to mount on the remote service. -func (o ClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +type BudgetAlertConfigurationActionConfiguration struct { + ActionConfigurationId *string `pulumi:"actionConfigurationId"` + // The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) + ActionType *string `pulumi:"actionType"` + // The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. + Target *string `pulumi:"target"` } -type ClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +// BudgetAlertConfigurationActionConfigurationInput is an input type that accepts BudgetAlertConfigurationActionConfigurationArgs and BudgetAlertConfigurationActionConfigurationOutput values. +// You can construct a concrete instance of `BudgetAlertConfigurationActionConfigurationInput` via: +// +// BudgetAlertConfigurationActionConfigurationArgs{...} +type BudgetAlertConfigurationActionConfigurationInput interface { + pulumi.Input -func (ClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterClusterMountInfo)(nil)).Elem() + ToBudgetAlertConfigurationActionConfigurationOutput() BudgetAlertConfigurationActionConfigurationOutput + ToBudgetAlertConfigurationActionConfigurationOutputWithContext(context.Context) BudgetAlertConfigurationActionConfigurationOutput } -func (o ClusterClusterMountInfoArrayOutput) ToClusterClusterMountInfoArrayOutput() ClusterClusterMountInfoArrayOutput { - return o +type BudgetAlertConfigurationActionConfigurationArgs struct { + ActionConfigurationId pulumi.StringPtrInput `pulumi:"actionConfigurationId"` + // The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) + ActionType pulumi.StringPtrInput `pulumi:"actionType"` + // The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. + Target pulumi.StringPtrInput `pulumi:"target"` } -func (o ClusterClusterMountInfoArrayOutput) ToClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) ClusterClusterMountInfoArrayOutput { - return o +func (BudgetAlertConfigurationActionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetAlertConfigurationActionConfiguration)(nil)).Elem() } -func (o ClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) ClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterClusterMountInfo { - return vs[0].([]ClusterClusterMountInfo)[vs[1].(int)] - }).(ClusterClusterMountInfoOutput) +func (i BudgetAlertConfigurationActionConfigurationArgs) ToBudgetAlertConfigurationActionConfigurationOutput() BudgetAlertConfigurationActionConfigurationOutput { + return i.ToBudgetAlertConfigurationActionConfigurationOutputWithContext(context.Background()) } -type ClusterClusterMountInfoNetworkFilesystemInfo struct { - // string that will be passed as options passed to the `mount` command. - MountOptions *string `pulumi:"mountOptions"` - // host name. - ServerAddress string `pulumi:"serverAddress"` +func (i BudgetAlertConfigurationActionConfigurationArgs) ToBudgetAlertConfigurationActionConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationActionConfigurationOutput) } -// ClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts ClusterClusterMountInfoNetworkFilesystemInfoArgs and ClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `ClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// BudgetAlertConfigurationActionConfigurationArrayInput is an input type that accepts BudgetAlertConfigurationActionConfigurationArray and BudgetAlertConfigurationActionConfigurationArrayOutput values. +// You can construct a concrete instance of `BudgetAlertConfigurationActionConfigurationArrayInput` via: // -// ClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type ClusterClusterMountInfoNetworkFilesystemInfoInput interface { +// BudgetAlertConfigurationActionConfigurationArray{ BudgetAlertConfigurationActionConfigurationArgs{...} } +type BudgetAlertConfigurationActionConfigurationArrayInput interface { pulumi.Input - ToClusterClusterMountInfoNetworkFilesystemInfoOutput() ClusterClusterMountInfoNetworkFilesystemInfoOutput - ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) ClusterClusterMountInfoNetworkFilesystemInfoOutput + ToBudgetAlertConfigurationActionConfigurationArrayOutput() BudgetAlertConfigurationActionConfigurationArrayOutput + ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(context.Context) BudgetAlertConfigurationActionConfigurationArrayOutput } -type ClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - // string that will be passed as options passed to the `mount` command. - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - // host name. - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` -} +type BudgetAlertConfigurationActionConfigurationArray []BudgetAlertConfigurationActionConfigurationInput -func (ClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (BudgetAlertConfigurationActionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BudgetAlertConfigurationActionConfiguration)(nil)).Elem() } -func (i ClusterClusterMountInfoNetworkFilesystemInfoArgs) ToClusterClusterMountInfoNetworkFilesystemInfoOutput() ClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (i BudgetAlertConfigurationActionConfigurationArray) ToBudgetAlertConfigurationActionConfigurationArrayOutput() BudgetAlertConfigurationActionConfigurationArrayOutput { + return i.ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(context.Background()) } -func (i ClusterClusterMountInfoNetworkFilesystemInfoArgs) ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i BudgetAlertConfigurationActionConfigurationArray) ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetAlertConfigurationActionConfigurationArrayOutput) } -type ClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type BudgetAlertConfigurationActionConfigurationOutput struct{ *pulumi.OutputState } -func (ClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (BudgetAlertConfigurationActionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetAlertConfigurationActionConfiguration)(nil)).Elem() } -func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) ToClusterClusterMountInfoNetworkFilesystemInfoOutput() ClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o BudgetAlertConfigurationActionConfigurationOutput) ToBudgetAlertConfigurationActionConfigurationOutput() BudgetAlertConfigurationActionConfigurationOutput { return o } -func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o BudgetAlertConfigurationActionConfigurationOutput) ToBudgetAlertConfigurationActionConfigurationOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationOutput { return o } -// string that will be passed as options passed to the `mount` command. -func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) +func (o BudgetAlertConfigurationActionConfigurationOutput) ActionConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfigurationActionConfiguration) *string { return v.ActionConfigurationId }).(pulumi.StringPtrOutput) } -// host name. -func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v ClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) +// The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) +func (o BudgetAlertConfigurationActionConfigurationOutput) ActionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfigurationActionConfiguration) *string { return v.ActionType }).(pulumi.StringPtrOutput) } -type ClusterDockerImage struct { - // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - // - // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: - // - // ```go - // package main - // - // import ( - // "fmt" - // - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ - // Build: []map[string]interface{}{ - // map[string]interface{}{}, - // }, - // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), - // }) - // if err != nil { - // return err - // } - // _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ - // DockerImage: &databricks.ClusterDockerImageArgs{ - // Url: this.Name, - // BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ - // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), - // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - BasicAuth *ClusterDockerImageBasicAuth `pulumi:"basicAuth"` - // URL for the Docker image - Url string `pulumi:"url"` +// The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. +func (o BudgetAlertConfigurationActionConfigurationOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetAlertConfigurationActionConfiguration) *string { return v.Target }).(pulumi.StringPtrOutput) } -// ClusterDockerImageInput is an input type that accepts ClusterDockerImageArgs and ClusterDockerImageOutput values. -// You can construct a concrete instance of `ClusterDockerImageInput` via: -// -// ClusterDockerImageArgs{...} -type ClusterDockerImageInput interface { - pulumi.Input +type BudgetAlertConfigurationActionConfigurationArrayOutput struct{ *pulumi.OutputState } - ToClusterDockerImageOutput() ClusterDockerImageOutput - ToClusterDockerImageOutputWithContext(context.Context) ClusterDockerImageOutput +func (BudgetAlertConfigurationActionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BudgetAlertConfigurationActionConfiguration)(nil)).Elem() } -type ClusterDockerImageArgs struct { - // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - // - // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: - // - // ```go - // package main - // - // import ( - // "fmt" - // - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ - // Build: []map[string]interface{}{ - // map[string]interface{}{}, - // }, - // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), - // }) - // if err != nil { - // return err - // } - // _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ - // DockerImage: &databricks.ClusterDockerImageArgs{ - // Url: this.Name, - // BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ - // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), - // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - BasicAuth ClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - // URL for the Docker image - Url pulumi.StringInput `pulumi:"url"` +func (o BudgetAlertConfigurationActionConfigurationArrayOutput) ToBudgetAlertConfigurationActionConfigurationArrayOutput() BudgetAlertConfigurationActionConfigurationArrayOutput { + return o } -func (ClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterDockerImage)(nil)).Elem() +func (o BudgetAlertConfigurationActionConfigurationArrayOutput) ToBudgetAlertConfigurationActionConfigurationArrayOutputWithContext(ctx context.Context) BudgetAlertConfigurationActionConfigurationArrayOutput { + return o } -func (i ClusterDockerImageArgs) ToClusterDockerImageOutput() ClusterDockerImageOutput { - return i.ToClusterDockerImageOutputWithContext(context.Background()) +func (o BudgetAlertConfigurationActionConfigurationArrayOutput) Index(i pulumi.IntInput) BudgetAlertConfigurationActionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BudgetAlertConfigurationActionConfiguration { + return vs[0].([]BudgetAlertConfigurationActionConfiguration)[vs[1].(int)] + }).(BudgetAlertConfigurationActionConfigurationOutput) } -func (i ClusterDockerImageArgs) ToClusterDockerImageOutputWithContext(ctx context.Context) ClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageOutput) +type BudgetFilter struct { + // List of tags to filter by. Consists of the following fields: + Tags []BudgetFilterTag `pulumi:"tags"` + // Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: + WorkspaceId *BudgetFilterWorkspaceId `pulumi:"workspaceId"` } -func (i ClusterDockerImageArgs) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { - return i.ToClusterDockerImagePtrOutputWithContext(context.Background()) +// BudgetFilterInput is an input type that accepts BudgetFilterArgs and BudgetFilterOutput values. +// You can construct a concrete instance of `BudgetFilterInput` via: +// +// BudgetFilterArgs{...} +type BudgetFilterInput interface { + pulumi.Input + + ToBudgetFilterOutput() BudgetFilterOutput + ToBudgetFilterOutputWithContext(context.Context) BudgetFilterOutput } -func (i ClusterDockerImageArgs) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageOutput).ToClusterDockerImagePtrOutputWithContext(ctx) +type BudgetFilterArgs struct { + // List of tags to filter by. Consists of the following fields: + Tags BudgetFilterTagArrayInput `pulumi:"tags"` + // Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: + WorkspaceId BudgetFilterWorkspaceIdPtrInput `pulumi:"workspaceId"` } -// ClusterDockerImagePtrInput is an input type that accepts ClusterDockerImageArgs, ClusterDockerImagePtr and ClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `ClusterDockerImagePtrInput` via: +func (BudgetFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilter)(nil)).Elem() +} + +func (i BudgetFilterArgs) ToBudgetFilterOutput() BudgetFilterOutput { + return i.ToBudgetFilterOutputWithContext(context.Background()) +} + +func (i BudgetFilterArgs) ToBudgetFilterOutputWithContext(ctx context.Context) BudgetFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterOutput) +} + +func (i BudgetFilterArgs) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { + return i.ToBudgetFilterPtrOutputWithContext(context.Background()) +} + +func (i BudgetFilterArgs) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterOutput).ToBudgetFilterPtrOutputWithContext(ctx) +} + +// BudgetFilterPtrInput is an input type that accepts BudgetFilterArgs, BudgetFilterPtr and BudgetFilterPtrOutput values. +// You can construct a concrete instance of `BudgetFilterPtrInput` via: // -// ClusterDockerImageArgs{...} +// BudgetFilterArgs{...} // // or: // // nil -type ClusterDockerImagePtrInput interface { +type BudgetFilterPtrInput interface { pulumi.Input - ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput - ToClusterDockerImagePtrOutputWithContext(context.Context) ClusterDockerImagePtrOutput + ToBudgetFilterPtrOutput() BudgetFilterPtrOutput + ToBudgetFilterPtrOutputWithContext(context.Context) BudgetFilterPtrOutput } -type clusterDockerImagePtrType ClusterDockerImageArgs +type budgetFilterPtrType BudgetFilterArgs -func ClusterDockerImagePtr(v *ClusterDockerImageArgs) ClusterDockerImagePtrInput { - return (*clusterDockerImagePtrType)(v) +func BudgetFilterPtr(v *BudgetFilterArgs) BudgetFilterPtrInput { + return (*budgetFilterPtrType)(v) } -func (*clusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterDockerImage)(nil)).Elem() +func (*budgetFilterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BudgetFilter)(nil)).Elem() } -func (i *clusterDockerImagePtrType) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { - return i.ToClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *budgetFilterPtrType) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { + return i.ToBudgetFilterPtrOutputWithContext(context.Background()) } -func (i *clusterDockerImagePtrType) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImagePtrOutput) +func (i *budgetFilterPtrType) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterPtrOutput) } -type ClusterDockerImageOutput struct{ *pulumi.OutputState } +type BudgetFilterOutput struct{ *pulumi.OutputState } -func (ClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterDockerImage)(nil)).Elem() +func (BudgetFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilter)(nil)).Elem() } -func (o ClusterDockerImageOutput) ToClusterDockerImageOutput() ClusterDockerImageOutput { +func (o BudgetFilterOutput) ToBudgetFilterOutput() BudgetFilterOutput { return o } -func (o ClusterDockerImageOutput) ToClusterDockerImageOutputWithContext(ctx context.Context) ClusterDockerImageOutput { +func (o BudgetFilterOutput) ToBudgetFilterOutputWithContext(ctx context.Context) BudgetFilterOutput { return o } -func (o ClusterDockerImageOutput) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { - return o.ToClusterDockerImagePtrOutputWithContext(context.Background()) +func (o BudgetFilterOutput) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { + return o.ToBudgetFilterPtrOutputWithContext(context.Background()) } -func (o ClusterDockerImageOutput) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterDockerImage) *ClusterDockerImage { +func (o BudgetFilterOutput) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BudgetFilter) *BudgetFilter { return &v - }).(ClusterDockerImagePtrOutput) + }).(BudgetFilterPtrOutput) } -// `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. -// -// Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ -// Build: []map[string]interface{}{ -// map[string]interface{}{}, -// }, -// Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), -// }) -// if err != nil { -// return err -// } -// _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ -// DockerImage: &databricks.ClusterDockerImageArgs{ -// Url: this.Name, -// BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ -// Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), -// Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterDockerImageOutput) BasicAuth() ClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v ClusterDockerImage) *ClusterDockerImageBasicAuth { return v.BasicAuth }).(ClusterDockerImageBasicAuthPtrOutput) +// List of tags to filter by. Consists of the following fields: +func (o BudgetFilterOutput) Tags() BudgetFilterTagArrayOutput { + return o.ApplyT(func(v BudgetFilter) []BudgetFilterTag { return v.Tags }).(BudgetFilterTagArrayOutput) } -// URL for the Docker image -func (o ClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v ClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +// Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: +func (o BudgetFilterOutput) WorkspaceId() BudgetFilterWorkspaceIdPtrOutput { + return o.ApplyT(func(v BudgetFilter) *BudgetFilterWorkspaceId { return v.WorkspaceId }).(BudgetFilterWorkspaceIdPtrOutput) } -type ClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type BudgetFilterPtrOutput struct{ *pulumi.OutputState } -func (ClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterDockerImage)(nil)).Elem() +func (BudgetFilterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BudgetFilter)(nil)).Elem() } -func (o ClusterDockerImagePtrOutput) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { +func (o BudgetFilterPtrOutput) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput { return o } -func (o ClusterDockerImagePtrOutput) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { +func (o BudgetFilterPtrOutput) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput { return o } -func (o ClusterDockerImagePtrOutput) Elem() ClusterDockerImageOutput { - return o.ApplyT(func(v *ClusterDockerImage) ClusterDockerImage { +func (o BudgetFilterPtrOutput) Elem() BudgetFilterOutput { + return o.ApplyT(func(v *BudgetFilter) BudgetFilter { if v != nil { return *v } - var ret ClusterDockerImage + var ret BudgetFilter return ret - }).(ClusterDockerImageOutput) + }).(BudgetFilterOutput) } -// `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. -// -// Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ -// Build: []map[string]interface{}{ -// map[string]interface{}{}, -// }, -// Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), -// }) -// if err != nil { -// return err -// } -// _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ -// DockerImage: &databricks.ClusterDockerImageArgs{ -// Url: this.Name, -// BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ -// Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), -// Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterDockerImagePtrOutput) BasicAuth() ClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *ClusterDockerImage) *ClusterDockerImageBasicAuth { +// List of tags to filter by. Consists of the following fields: +func (o BudgetFilterPtrOutput) Tags() BudgetFilterTagArrayOutput { + return o.ApplyT(func(v *BudgetFilter) []BudgetFilterTag { if v == nil { return nil } - return v.BasicAuth - }).(ClusterDockerImageBasicAuthPtrOutput) + return v.Tags + }).(BudgetFilterTagArrayOutput) } -// URL for the Docker image -func (o ClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterDockerImage) *string { +// Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: +func (o BudgetFilterPtrOutput) WorkspaceId() BudgetFilterWorkspaceIdPtrOutput { + return o.ApplyT(func(v *BudgetFilter) *BudgetFilterWorkspaceId { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.WorkspaceId + }).(BudgetFilterWorkspaceIdPtrOutput) } -type ClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type BudgetFilterTag struct { + // The key of the tag. + Key *string `pulumi:"key"` + // Consists of the following fields: + Value *BudgetFilterTagValue `pulumi:"value"` } -// ClusterDockerImageBasicAuthInput is an input type that accepts ClusterDockerImageBasicAuthArgs and ClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `ClusterDockerImageBasicAuthInput` via: +// BudgetFilterTagInput is an input type that accepts BudgetFilterTagArgs and BudgetFilterTagOutput values. +// You can construct a concrete instance of `BudgetFilterTagInput` via: // -// ClusterDockerImageBasicAuthArgs{...} -type ClusterDockerImageBasicAuthInput interface { +// BudgetFilterTagArgs{...} +type BudgetFilterTagInput interface { pulumi.Input - ToClusterDockerImageBasicAuthOutput() ClusterDockerImageBasicAuthOutput - ToClusterDockerImageBasicAuthOutputWithContext(context.Context) ClusterDockerImageBasicAuthOutput -} - -type ClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` -} - -func (ClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterDockerImageBasicAuth)(nil)).Elem() + ToBudgetFilterTagOutput() BudgetFilterTagOutput + ToBudgetFilterTagOutputWithContext(context.Context) BudgetFilterTagOutput } -func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthOutput() ClusterDockerImageBasicAuthOutput { - return i.ToClusterDockerImageBasicAuthOutputWithContext(context.Background()) +type BudgetFilterTagArgs struct { + // The key of the tag. + Key pulumi.StringPtrInput `pulumi:"key"` + // Consists of the following fields: + Value BudgetFilterTagValuePtrInput `pulumi:"value"` } -func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageBasicAuthOutput) +func (BudgetFilterTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilterTag)(nil)).Elem() } -func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { - return i.ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i BudgetFilterTagArgs) ToBudgetFilterTagOutput() BudgetFilterTagOutput { + return i.ToBudgetFilterTagOutputWithContext(context.Background()) } -func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageBasicAuthOutput).ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i BudgetFilterTagArgs) ToBudgetFilterTagOutputWithContext(ctx context.Context) BudgetFilterTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagOutput) } -// ClusterDockerImageBasicAuthPtrInput is an input type that accepts ClusterDockerImageBasicAuthArgs, ClusterDockerImageBasicAuthPtr and ClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `ClusterDockerImageBasicAuthPtrInput` via: -// -// ClusterDockerImageBasicAuthArgs{...} -// -// or: +// BudgetFilterTagArrayInput is an input type that accepts BudgetFilterTagArray and BudgetFilterTagArrayOutput values. +// You can construct a concrete instance of `BudgetFilterTagArrayInput` via: // -// nil -type ClusterDockerImageBasicAuthPtrInput interface { +// BudgetFilterTagArray{ BudgetFilterTagArgs{...} } +type BudgetFilterTagArrayInput interface { pulumi.Input - ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput - ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) ClusterDockerImageBasicAuthPtrOutput + ToBudgetFilterTagArrayOutput() BudgetFilterTagArrayOutput + ToBudgetFilterTagArrayOutputWithContext(context.Context) BudgetFilterTagArrayOutput } -type clusterDockerImageBasicAuthPtrType ClusterDockerImageBasicAuthArgs - -func ClusterDockerImageBasicAuthPtr(v *ClusterDockerImageBasicAuthArgs) ClusterDockerImageBasicAuthPtrInput { - return (*clusterDockerImageBasicAuthPtrType)(v) -} +type BudgetFilterTagArray []BudgetFilterTagInput -func (*clusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterDockerImageBasicAuth)(nil)).Elem() +func (BudgetFilterTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]BudgetFilterTag)(nil)).Elem() } -func (i *clusterDockerImageBasicAuthPtrType) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { - return i.ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i BudgetFilterTagArray) ToBudgetFilterTagArrayOutput() BudgetFilterTagArrayOutput { + return i.ToBudgetFilterTagArrayOutputWithContext(context.Background()) } -func (i *clusterDockerImageBasicAuthPtrType) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageBasicAuthPtrOutput) +func (i BudgetFilterTagArray) ToBudgetFilterTagArrayOutputWithContext(ctx context.Context) BudgetFilterTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagArrayOutput) } -type ClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type BudgetFilterTagOutput struct{ *pulumi.OutputState } -func (ClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterDockerImageBasicAuth)(nil)).Elem() +func (BudgetFilterTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilterTag)(nil)).Elem() } -func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthOutput() ClusterDockerImageBasicAuthOutput { +func (o BudgetFilterTagOutput) ToBudgetFilterTagOutput() BudgetFilterTagOutput { return o } -func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthOutput { +func (o BudgetFilterTagOutput) ToBudgetFilterTagOutputWithContext(ctx context.Context) BudgetFilterTagOutput { return o } -func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { - return o.ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) -} - -func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterDockerImageBasicAuth) *ClusterDockerImageBasicAuth { - return &v - }).(ClusterDockerImageBasicAuthPtrOutput) -} - -func (o ClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v ClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +// The key of the tag. +func (o BudgetFilterTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetFilterTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o ClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v ClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +// Consists of the following fields: +func (o BudgetFilterTagOutput) Value() BudgetFilterTagValuePtrOutput { + return o.ApplyT(func(v BudgetFilterTag) *BudgetFilterTagValue { return v.Value }).(BudgetFilterTagValuePtrOutput) } -type ClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type BudgetFilterTagArrayOutput struct{ *pulumi.OutputState } -func (ClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterDockerImageBasicAuth)(nil)).Elem() +func (BudgetFilterTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]BudgetFilterTag)(nil)).Elem() } -func (o ClusterDockerImageBasicAuthPtrOutput) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { +func (o BudgetFilterTagArrayOutput) ToBudgetFilterTagArrayOutput() BudgetFilterTagArrayOutput { return o } -func (o ClusterDockerImageBasicAuthPtrOutput) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { +func (o BudgetFilterTagArrayOutput) ToBudgetFilterTagArrayOutputWithContext(ctx context.Context) BudgetFilterTagArrayOutput { return o } -func (o ClusterDockerImageBasicAuthPtrOutput) Elem() ClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *ClusterDockerImageBasicAuth) ClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret ClusterDockerImageBasicAuth - return ret - }).(ClusterDockerImageBasicAuthOutput) -} - -func (o ClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) -} - -func (o ClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o BudgetFilterTagArrayOutput) Index(i pulumi.IntInput) BudgetFilterTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) BudgetFilterTag { + return vs[0].([]BudgetFilterTag)[vs[1].(int)] + }).(BudgetFilterTagOutput) } -type ClusterGcpAttributes struct { - // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - Availability *string `pulumi:"availability"` - // Boot disk size in GB - BootDiskSize *int `pulumi:"bootDiskSize"` - // Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - LocalSsdCount *int `pulumi:"localSsdCount"` - // if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - // Identifier for the availability zone in which the cluster resides. This can be one of the following: - // * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. - // * `AUTO`: Databricks picks an availability zone to schedule the cluster on. - // * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). - ZoneId *string `pulumi:"zoneId"` +type BudgetFilterTagValue struct { + // The operator to use for the filter. (Enum: `IN`) + Operator *string `pulumi:"operator"` + // The values to filter by. + Values []string `pulumi:"values"` } -// ClusterGcpAttributesInput is an input type that accepts ClusterGcpAttributesArgs and ClusterGcpAttributesOutput values. -// You can construct a concrete instance of `ClusterGcpAttributesInput` via: +// BudgetFilterTagValueInput is an input type that accepts BudgetFilterTagValueArgs and BudgetFilterTagValueOutput values. +// You can construct a concrete instance of `BudgetFilterTagValueInput` via: // -// ClusterGcpAttributesArgs{...} -type ClusterGcpAttributesInput interface { +// BudgetFilterTagValueArgs{...} +type BudgetFilterTagValueInput interface { pulumi.Input - ToClusterGcpAttributesOutput() ClusterGcpAttributesOutput - ToClusterGcpAttributesOutputWithContext(context.Context) ClusterGcpAttributesOutput + ToBudgetFilterTagValueOutput() BudgetFilterTagValueOutput + ToBudgetFilterTagValueOutputWithContext(context.Context) BudgetFilterTagValueOutput } -type ClusterGcpAttributesArgs struct { - // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - Availability pulumi.StringPtrInput `pulumi:"availability"` - // Boot disk size in GB - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - // Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - // if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - // Identifier for the availability zone in which the cluster resides. This can be one of the following: - // * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. - // * `AUTO`: Databricks picks an availability zone to schedule the cluster on. - // * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type BudgetFilterTagValueArgs struct { + // The operator to use for the filter. (Enum: `IN`) + Operator pulumi.StringPtrInput `pulumi:"operator"` + // The values to filter by. + Values pulumi.StringArrayInput `pulumi:"values"` } -func (ClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterGcpAttributes)(nil)).Elem() +func (BudgetFilterTagValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilterTagValue)(nil)).Elem() } -func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesOutput() ClusterGcpAttributesOutput { - return i.ToClusterGcpAttributesOutputWithContext(context.Background()) +func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValueOutput() BudgetFilterTagValueOutput { + return i.ToBudgetFilterTagValueOutputWithContext(context.Background()) } -func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesOutputWithContext(ctx context.Context) ClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterGcpAttributesOutput) +func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValueOutputWithContext(ctx context.Context) BudgetFilterTagValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagValueOutput) } -func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { - return i.ToClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { + return i.ToBudgetFilterTagValuePtrOutputWithContext(context.Background()) } -func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterGcpAttributesOutput).ToClusterGcpAttributesPtrOutputWithContext(ctx) +func (i BudgetFilterTagValueArgs) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagValueOutput).ToBudgetFilterTagValuePtrOutputWithContext(ctx) } -// ClusterGcpAttributesPtrInput is an input type that accepts ClusterGcpAttributesArgs, ClusterGcpAttributesPtr and ClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `ClusterGcpAttributesPtrInput` via: +// BudgetFilterTagValuePtrInput is an input type that accepts BudgetFilterTagValueArgs, BudgetFilterTagValuePtr and BudgetFilterTagValuePtrOutput values. +// You can construct a concrete instance of `BudgetFilterTagValuePtrInput` via: // -// ClusterGcpAttributesArgs{...} +// BudgetFilterTagValueArgs{...} // // or: // // nil -type ClusterGcpAttributesPtrInput interface { +type BudgetFilterTagValuePtrInput interface { pulumi.Input - ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput - ToClusterGcpAttributesPtrOutputWithContext(context.Context) ClusterGcpAttributesPtrOutput + ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput + ToBudgetFilterTagValuePtrOutputWithContext(context.Context) BudgetFilterTagValuePtrOutput } -type clusterGcpAttributesPtrType ClusterGcpAttributesArgs +type budgetFilterTagValuePtrType BudgetFilterTagValueArgs -func ClusterGcpAttributesPtr(v *ClusterGcpAttributesArgs) ClusterGcpAttributesPtrInput { - return (*clusterGcpAttributesPtrType)(v) +func BudgetFilterTagValuePtr(v *BudgetFilterTagValueArgs) BudgetFilterTagValuePtrInput { + return (*budgetFilterTagValuePtrType)(v) } -func (*clusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterGcpAttributes)(nil)).Elem() +func (*budgetFilterTagValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BudgetFilterTagValue)(nil)).Elem() } -func (i *clusterGcpAttributesPtrType) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { - return i.ToClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *budgetFilterTagValuePtrType) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { + return i.ToBudgetFilterTagValuePtrOutputWithContext(context.Background()) } -func (i *clusterGcpAttributesPtrType) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterGcpAttributesPtrOutput) +func (i *budgetFilterTagValuePtrType) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterTagValuePtrOutput) } -type ClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type BudgetFilterTagValueOutput struct{ *pulumi.OutputState } -func (ClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterGcpAttributes)(nil)).Elem() +func (BudgetFilterTagValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilterTagValue)(nil)).Elem() } -func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesOutput() ClusterGcpAttributesOutput { +func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValueOutput() BudgetFilterTagValueOutput { return o } -func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesOutputWithContext(ctx context.Context) ClusterGcpAttributesOutput { +func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValueOutputWithContext(ctx context.Context) BudgetFilterTagValueOutput { return o } -func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { - return o.ToClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { + return o.ToBudgetFilterTagValuePtrOutputWithContext(context.Background()) } -func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterGcpAttributes) *ClusterGcpAttributes { +func (o BudgetFilterTagValueOutput) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BudgetFilterTagValue) *BudgetFilterTagValue { return &v - }).(ClusterGcpAttributesPtrOutput) -} - -// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. -func (o ClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -// Boot disk size in GB -func (o ClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) -} - -// Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. -func (o ClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) -} - -// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. -func (o ClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) + }).(BudgetFilterTagValuePtrOutput) } -// if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* -func (o ClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +// The operator to use for the filter. (Enum: `IN`) +func (o BudgetFilterTagValueOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetFilterTagValue) *string { return v.Operator }).(pulumi.StringPtrOutput) } -// Identifier for the availability zone in which the cluster resides. This can be one of the following: -// * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. -// * `AUTO`: Databricks picks an availability zone to schedule the cluster on. -// * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). -func (o ClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// The values to filter by. +func (o BudgetFilterTagValueOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v BudgetFilterTagValue) []string { return v.Values }).(pulumi.StringArrayOutput) } -type ClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type BudgetFilterTagValuePtrOutput struct{ *pulumi.OutputState } -func (ClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterGcpAttributes)(nil)).Elem() +func (BudgetFilterTagValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BudgetFilterTagValue)(nil)).Elem() } -func (o ClusterGcpAttributesPtrOutput) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { +func (o BudgetFilterTagValuePtrOutput) ToBudgetFilterTagValuePtrOutput() BudgetFilterTagValuePtrOutput { return o } -func (o ClusterGcpAttributesPtrOutput) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { +func (o BudgetFilterTagValuePtrOutput) ToBudgetFilterTagValuePtrOutputWithContext(ctx context.Context) BudgetFilterTagValuePtrOutput { return o } -func (o ClusterGcpAttributesPtrOutput) Elem() ClusterGcpAttributesOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) ClusterGcpAttributes { +func (o BudgetFilterTagValuePtrOutput) Elem() BudgetFilterTagValueOutput { + return o.ApplyT(func(v *BudgetFilterTagValue) BudgetFilterTagValue { if v != nil { return *v } - var ret ClusterGcpAttributes + var ret BudgetFilterTagValue return ret - }).(ClusterGcpAttributesOutput) + }).(BudgetFilterTagValueOutput) } -// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. -func (o ClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) *string { +// The operator to use for the filter. (Enum: `IN`) +func (o BudgetFilterTagValuePtrOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BudgetFilterTagValue) *string { if v == nil { return nil } - return v.Availability + return v.Operator }).(pulumi.StringPtrOutput) } -// Boot disk size in GB -func (o ClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} - -// Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. -func (o ClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) *string { +// The values to filter by. +func (o BudgetFilterTagValuePtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *BudgetFilterTagValue) []string { if v == nil { return nil } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + return v.Values + }).(pulumi.StringArrayOutput) } -// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. -func (o ClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type BudgetFilterWorkspaceId struct { + // The operator to use for the filter. (Enum: `IN`) + Operator *string `pulumi:"operator"` + // The values to filter by. + Values []int `pulumi:"values"` } -// if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* -func (o ClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} +// BudgetFilterWorkspaceIdInput is an input type that accepts BudgetFilterWorkspaceIdArgs and BudgetFilterWorkspaceIdOutput values. +// You can construct a concrete instance of `BudgetFilterWorkspaceIdInput` via: +// +// BudgetFilterWorkspaceIdArgs{...} +type BudgetFilterWorkspaceIdInput interface { + pulumi.Input -// Identifier for the availability zone in which the cluster resides. This can be one of the following: -// * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. -// * `AUTO`: Databricks picks an availability zone to schedule the cluster on. -// * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). -func (o ClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) + ToBudgetFilterWorkspaceIdOutput() BudgetFilterWorkspaceIdOutput + ToBudgetFilterWorkspaceIdOutputWithContext(context.Context) BudgetFilterWorkspaceIdOutput } -type ClusterInitScript struct { - Abfss *ClusterInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *ClusterInitScriptDbfs `pulumi:"dbfs"` - File *ClusterInitScriptFile `pulumi:"file"` - Gcs *ClusterInitScriptGcs `pulumi:"gcs"` - S3 *ClusterInitScriptS3 `pulumi:"s3"` - Volumes *ClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *ClusterInitScriptWorkspace `pulumi:"workspace"` +type BudgetFilterWorkspaceIdArgs struct { + // The operator to use for the filter. (Enum: `IN`) + Operator pulumi.StringPtrInput `pulumi:"operator"` + // The values to filter by. + Values pulumi.IntArrayInput `pulumi:"values"` } -// ClusterInitScriptInput is an input type that accepts ClusterInitScriptArgs and ClusterInitScriptOutput values. -// You can construct a concrete instance of `ClusterInitScriptInput` via: -// -// ClusterInitScriptArgs{...} -type ClusterInitScriptInput interface { - pulumi.Input - - ToClusterInitScriptOutput() ClusterInitScriptOutput - ToClusterInitScriptOutputWithContext(context.Context) ClusterInitScriptOutput +func (BudgetFilterWorkspaceIdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilterWorkspaceId)(nil)).Elem() } -type ClusterInitScriptArgs struct { - Abfss ClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs ClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File ClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs ClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 ClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes ClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace ClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdOutput() BudgetFilterWorkspaceIdOutput { + return i.ToBudgetFilterWorkspaceIdOutputWithContext(context.Background()) } -func (ClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScript)(nil)).Elem() +func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterWorkspaceIdOutput) } -func (i ClusterInitScriptArgs) ToClusterInitScriptOutput() ClusterInitScriptOutput { - return i.ToClusterInitScriptOutputWithContext(context.Background()) +func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { + return i.ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptArgs) ToClusterInitScriptOutputWithContext(ctx context.Context) ClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptOutput) +func (i BudgetFilterWorkspaceIdArgs) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterWorkspaceIdOutput).ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx) } -// ClusterInitScriptArrayInput is an input type that accepts ClusterInitScriptArray and ClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `ClusterInitScriptArrayInput` via: +// BudgetFilterWorkspaceIdPtrInput is an input type that accepts BudgetFilterWorkspaceIdArgs, BudgetFilterWorkspaceIdPtr and BudgetFilterWorkspaceIdPtrOutput values. +// You can construct a concrete instance of `BudgetFilterWorkspaceIdPtrInput` via: // -// ClusterInitScriptArray{ ClusterInitScriptArgs{...} } -type ClusterInitScriptArrayInput interface { +// BudgetFilterWorkspaceIdArgs{...} +// +// or: +// +// nil +type BudgetFilterWorkspaceIdPtrInput interface { pulumi.Input - ToClusterInitScriptArrayOutput() ClusterInitScriptArrayOutput - ToClusterInitScriptArrayOutputWithContext(context.Context) ClusterInitScriptArrayOutput + ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput + ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Context) BudgetFilterWorkspaceIdPtrOutput } -type ClusterInitScriptArray []ClusterInitScriptInput +type budgetFilterWorkspaceIdPtrType BudgetFilterWorkspaceIdArgs -func (ClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterInitScript)(nil)).Elem() +func BudgetFilterWorkspaceIdPtr(v *BudgetFilterWorkspaceIdArgs) BudgetFilterWorkspaceIdPtrInput { + return (*budgetFilterWorkspaceIdPtrType)(v) } -func (i ClusterInitScriptArray) ToClusterInitScriptArrayOutput() ClusterInitScriptArrayOutput { - return i.ToClusterInitScriptArrayOutputWithContext(context.Background()) +func (*budgetFilterWorkspaceIdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BudgetFilterWorkspaceId)(nil)).Elem() } -func (i ClusterInitScriptArray) ToClusterInitScriptArrayOutputWithContext(ctx context.Context) ClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptArrayOutput) +func (i *budgetFilterWorkspaceIdPtrType) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { + return i.ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Background()) } -type ClusterInitScriptOutput struct{ *pulumi.OutputState } +func (i *budgetFilterWorkspaceIdPtrType) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BudgetFilterWorkspaceIdPtrOutput) +} -func (ClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScript)(nil)).Elem() +type BudgetFilterWorkspaceIdOutput struct{ *pulumi.OutputState } + +func (BudgetFilterWorkspaceIdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BudgetFilterWorkspaceId)(nil)).Elem() } -func (o ClusterInitScriptOutput) ToClusterInitScriptOutput() ClusterInitScriptOutput { +func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdOutput() BudgetFilterWorkspaceIdOutput { return o } -func (o ClusterInitScriptOutput) ToClusterInitScriptOutputWithContext(ctx context.Context) ClusterInitScriptOutput { +func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdOutput { return o } -func (o ClusterInitScriptOutput) Abfss() ClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptAbfss { return v.Abfss }).(ClusterInitScriptAbfssPtrOutput) +func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { + return o.ToBudgetFilterWorkspaceIdPtrOutputWithContext(context.Background()) } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o ClusterInitScriptOutput) Dbfs() ClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptDbfs { return v.Dbfs }).(ClusterInitScriptDbfsPtrOutput) +func (o BudgetFilterWorkspaceIdOutput) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BudgetFilterWorkspaceId) *BudgetFilterWorkspaceId { + return &v + }).(BudgetFilterWorkspaceIdPtrOutput) } -func (o ClusterInitScriptOutput) File() ClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptFile { return v.File }).(ClusterInitScriptFilePtrOutput) +// The operator to use for the filter. (Enum: `IN`) +func (o BudgetFilterWorkspaceIdOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v BudgetFilterWorkspaceId) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (o ClusterInitScriptOutput) Gcs() ClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptGcs { return v.Gcs }).(ClusterInitScriptGcsPtrOutput) +// The values to filter by. +func (o BudgetFilterWorkspaceIdOutput) Values() pulumi.IntArrayOutput { + return o.ApplyT(func(v BudgetFilterWorkspaceId) []int { return v.Values }).(pulumi.IntArrayOutput) } -func (o ClusterInitScriptOutput) S3() ClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptS3 { return v.S3 }).(ClusterInitScriptS3PtrOutput) -} +type BudgetFilterWorkspaceIdPtrOutput struct{ *pulumi.OutputState } -func (o ClusterInitScriptOutput) Volumes() ClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptVolumes { return v.Volumes }).(ClusterInitScriptVolumesPtrOutput) +func (BudgetFilterWorkspaceIdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BudgetFilterWorkspaceId)(nil)).Elem() } -func (o ClusterInitScriptOutput) Workspace() ClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptWorkspace { return v.Workspace }).(ClusterInitScriptWorkspacePtrOutput) +func (o BudgetFilterWorkspaceIdPtrOutput) ToBudgetFilterWorkspaceIdPtrOutput() BudgetFilterWorkspaceIdPtrOutput { + return o } -type ClusterInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (ClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterInitScript)(nil)).Elem() +func (o BudgetFilterWorkspaceIdPtrOutput) ToBudgetFilterWorkspaceIdPtrOutputWithContext(ctx context.Context) BudgetFilterWorkspaceIdPtrOutput { + return o } -func (o ClusterInitScriptArrayOutput) ToClusterInitScriptArrayOutput() ClusterInitScriptArrayOutput { - return o +func (o BudgetFilterWorkspaceIdPtrOutput) Elem() BudgetFilterWorkspaceIdOutput { + return o.ApplyT(func(v *BudgetFilterWorkspaceId) BudgetFilterWorkspaceId { + if v != nil { + return *v + } + var ret BudgetFilterWorkspaceId + return ret + }).(BudgetFilterWorkspaceIdOutput) } -func (o ClusterInitScriptArrayOutput) ToClusterInitScriptArrayOutputWithContext(ctx context.Context) ClusterInitScriptArrayOutput { - return o +// The operator to use for the filter. (Enum: `IN`) +func (o BudgetFilterWorkspaceIdPtrOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BudgetFilterWorkspaceId) *string { + if v == nil { + return nil + } + return v.Operator + }).(pulumi.StringPtrOutput) } -func (o ClusterInitScriptArrayOutput) Index(i pulumi.IntInput) ClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterInitScript { - return vs[0].([]ClusterInitScript)[vs[1].(int)] - }).(ClusterInitScriptOutput) +// The values to filter by. +func (o BudgetFilterWorkspaceIdPtrOutput) Values() pulumi.IntArrayOutput { + return o.ApplyT(func(v *BudgetFilterWorkspaceId) []int { + if v == nil { + return nil + } + return v.Values + }).(pulumi.IntArrayOutput) } -type ClusterInitScriptAbfss struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` +type ClusterAutoscale struct { + // The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. + // + // When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: + // + // * `spark.master` must have prefix `local`, like `local[*]` + // * `spark.databricks.cluster.profile` must have value `singleNode` + // + // and also `customTag` entry: + // + // * `"ResourceClass" = "SingleNode"` + // + // The following example demonstrates how to create an single node cluster: + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ + // LocalDisk: pulumi.BoolRef(true), + // }, nil) + // if err != nil { + // return err + // } + // latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ + // LongTermSupport: pulumi.BoolRef(true), + // }, nil) + // if err != nil { + // return err + // } + // _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ + // ClusterName: pulumi.String("Single Node"), + // SparkVersion: pulumi.String(latestLts.Id), + // NodeTypeId: pulumi.String(smallest.Id), + // AutoterminationMinutes: pulumi.Int(20), + // SparkConf: pulumi.StringMap{ + // "spark.databricks.cluster.profile": pulumi.String("singleNode"), + // "spark.master": pulumi.String("local[*]"), + // }, + // CustomTags: pulumi.StringMap{ + // "ResourceClass": pulumi.String("SingleNode"), + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + MaxWorkers *int `pulumi:"maxWorkers"` + // The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + MinWorkers *int `pulumi:"minWorkers"` } -// ClusterInitScriptAbfssInput is an input type that accepts ClusterInitScriptAbfssArgs and ClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `ClusterInitScriptAbfssInput` via: +// ClusterAutoscaleInput is an input type that accepts ClusterAutoscaleArgs and ClusterAutoscaleOutput values. +// You can construct a concrete instance of `ClusterAutoscaleInput` via: // -// ClusterInitScriptAbfssArgs{...} -type ClusterInitScriptAbfssInput interface { +// ClusterAutoscaleArgs{...} +type ClusterAutoscaleInput interface { pulumi.Input - ToClusterInitScriptAbfssOutput() ClusterInitScriptAbfssOutput - ToClusterInitScriptAbfssOutputWithContext(context.Context) ClusterInitScriptAbfssOutput + ToClusterAutoscaleOutput() ClusterAutoscaleOutput + ToClusterAutoscaleOutputWithContext(context.Context) ClusterAutoscaleOutput } -type ClusterInitScriptAbfssArgs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` +type ClusterAutoscaleArgs struct { + // The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. + // + // When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: + // + // * `spark.master` must have prefix `local`, like `local[*]` + // * `spark.databricks.cluster.profile` must have value `singleNode` + // + // and also `customTag` entry: + // + // * `"ResourceClass" = "SingleNode"` + // + // The following example demonstrates how to create an single node cluster: + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ + // LocalDisk: pulumi.BoolRef(true), + // }, nil) + // if err != nil { + // return err + // } + // latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ + // LongTermSupport: pulumi.BoolRef(true), + // }, nil) + // if err != nil { + // return err + // } + // _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ + // ClusterName: pulumi.String("Single Node"), + // SparkVersion: pulumi.String(latestLts.Id), + // NodeTypeId: pulumi.String(smallest.Id), + // AutoterminationMinutes: pulumi.Int(20), + // SparkConf: pulumi.StringMap{ + // "spark.databricks.cluster.profile": pulumi.String("singleNode"), + // "spark.master": pulumi.String("local[*]"), + // }, + // CustomTags: pulumi.StringMap{ + // "ResourceClass": pulumi.String("SingleNode"), + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + // The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (ClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptAbfss)(nil)).Elem() +func (ClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAutoscale)(nil)).Elem() } -func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssOutput() ClusterInitScriptAbfssOutput { - return i.ToClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i ClusterAutoscaleArgs) ToClusterAutoscaleOutput() ClusterAutoscaleOutput { + return i.ToClusterAutoscaleOutputWithContext(context.Background()) } -func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssOutputWithContext(ctx context.Context) ClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptAbfssOutput) +func (i ClusterAutoscaleArgs) ToClusterAutoscaleOutputWithContext(ctx context.Context) ClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscaleOutput) } -func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { - return i.ToClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i ClusterAutoscaleArgs) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { + return i.ToClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptAbfssOutput).ToClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i ClusterAutoscaleArgs) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscaleOutput).ToClusterAutoscalePtrOutputWithContext(ctx) } -// ClusterInitScriptAbfssPtrInput is an input type that accepts ClusterInitScriptAbfssArgs, ClusterInitScriptAbfssPtr and ClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptAbfssPtrInput` via: +// ClusterAutoscalePtrInput is an input type that accepts ClusterAutoscaleArgs, ClusterAutoscalePtr and ClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `ClusterAutoscalePtrInput` via: // -// ClusterInitScriptAbfssArgs{...} +// ClusterAutoscaleArgs{...} // // or: // // nil -type ClusterInitScriptAbfssPtrInput interface { +type ClusterAutoscalePtrInput interface { pulumi.Input - ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput - ToClusterInitScriptAbfssPtrOutputWithContext(context.Context) ClusterInitScriptAbfssPtrOutput + ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput + ToClusterAutoscalePtrOutputWithContext(context.Context) ClusterAutoscalePtrOutput } -type clusterInitScriptAbfssPtrType ClusterInitScriptAbfssArgs +type clusterAutoscalePtrType ClusterAutoscaleArgs -func ClusterInitScriptAbfssPtr(v *ClusterInitScriptAbfssArgs) ClusterInitScriptAbfssPtrInput { - return (*clusterInitScriptAbfssPtrType)(v) +func ClusterAutoscalePtr(v *ClusterAutoscaleArgs) ClusterAutoscalePtrInput { + return (*clusterAutoscalePtrType)(v) } -func (*clusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptAbfss)(nil)).Elem() +func (*clusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAutoscale)(nil)).Elem() } -func (i *clusterInitScriptAbfssPtrType) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { - return i.ToClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *clusterAutoscalePtrType) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { + return i.ToClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *clusterInitScriptAbfssPtrType) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptAbfssPtrOutput) +func (i *clusterAutoscalePtrType) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalePtrOutput) } -type ClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type ClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptAbfss)(nil)).Elem() +func (ClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAutoscale)(nil)).Elem() } -func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssOutput() ClusterInitScriptAbfssOutput { +func (o ClusterAutoscaleOutput) ToClusterAutoscaleOutput() ClusterAutoscaleOutput { return o } -func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssOutputWithContext(ctx context.Context) ClusterInitScriptAbfssOutput { +func (o ClusterAutoscaleOutput) ToClusterAutoscaleOutputWithContext(ctx context.Context) ClusterAutoscaleOutput { return o } -func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { - return o.ToClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o ClusterAutoscaleOutput) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { + return o.ToClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptAbfss) *ClusterInitScriptAbfss { +func (o ClusterAutoscaleOutput) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAutoscale) *ClusterAutoscale { return &v - }).(ClusterInitScriptAbfssPtrOutput) + }).(ClusterAutoscalePtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +// The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. +// +// When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: +// +// * `spark.master` must have prefix `local`, like `local[*]` +// * `spark.databricks.cluster.profile` must have value `singleNode` +// +// and also `customTag` entry: +// +// * `"ResourceClass" = "SingleNode"` +// +// The following example demonstrates how to create an single node cluster: +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ +// LocalDisk: pulumi.BoolRef(true), +// }, nil) +// if err != nil { +// return err +// } +// latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ +// LongTermSupport: pulumi.BoolRef(true), +// }, nil) +// if err != nil { +// return err +// } +// _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ +// ClusterName: pulumi.String("Single Node"), +// SparkVersion: pulumi.String(latestLts.Id), +// NodeTypeId: pulumi.String(smallest.Id), +// AutoterminationMinutes: pulumi.Int(20), +// SparkConf: pulumi.StringMap{ +// "spark.databricks.cluster.profile": pulumi.String("singleNode"), +// "spark.master": pulumi.String("local[*]"), +// }, +// CustomTags: pulumi.StringMap{ +// "ResourceClass": pulumi.String("SingleNode"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -type ClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +// The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. +func (o ClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} -func (ClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptAbfss)(nil)).Elem() +type ClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (ClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAutoscale)(nil)).Elem() } -func (o ClusterInitScriptAbfssPtrOutput) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { +func (o ClusterAutoscalePtrOutput) ToClusterAutoscalePtrOutput() ClusterAutoscalePtrOutput { return o } -func (o ClusterInitScriptAbfssPtrOutput) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { +func (o ClusterAutoscalePtrOutput) ToClusterAutoscalePtrOutputWithContext(ctx context.Context) ClusterAutoscalePtrOutput { return o } -func (o ClusterInitScriptAbfssPtrOutput) Elem() ClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *ClusterInitScriptAbfss) ClusterInitScriptAbfss { +func (o ClusterAutoscalePtrOutput) Elem() ClusterAutoscaleOutput { + return o.ApplyT(func(v *ClusterAutoscale) ClusterAutoscale { if v != nil { return *v } - var ret ClusterInitScriptAbfss + var ret ClusterAutoscale return ret - }).(ClusterInitScriptAbfssOutput) + }).(ClusterAutoscaleOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptAbfss) *string { +// The maximum number of workers to which the cluster can scale up when overloaded. maxWorkers must be strictly greater than min_workers. +// +// When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `numWorkers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `numWorkers` is `0`, provider checks for presence of the required Spark configurations: +// +// * `spark.master` must have prefix `local`, like `local[*]` +// * `spark.databricks.cluster.profile` must have value `singleNode` +// +// and also `customTag` entry: +// +// * `"ResourceClass" = "SingleNode"` +// +// The following example demonstrates how to create an single node cluster: +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// smallest, err := databricks.GetNodeType(ctx, &databricks.GetNodeTypeArgs{ +// LocalDisk: pulumi.BoolRef(true), +// }, nil) +// if err != nil { +// return err +// } +// latestLts, err := databricks.GetSparkVersion(ctx, &databricks.GetSparkVersionArgs{ +// LongTermSupport: pulumi.BoolRef(true), +// }, nil) +// if err != nil { +// return err +// } +// _, err = databricks.NewCluster(ctx, "single_node", &databricks.ClusterArgs{ +// ClusterName: pulumi.String("Single Node"), +// SparkVersion: pulumi.String(latestLts.Id), +// NodeTypeId: pulumi.String(smallest.Id), +// AutoterminationMinutes: pulumi.Int(20), +// SparkConf: pulumi.StringMap{ +// "spark.databricks.cluster.profile": pulumi.String("singleNode"), +// "spark.master": pulumi.String("local[*]"), +// }, +// CustomTags: pulumi.StringMap{ +// "ResourceClass": pulumi.String("SingleNode"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAutoscale) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -type ClusterInitScriptDbfs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` +// The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. +func (o ClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -// ClusterInitScriptDbfsInput is an input type that accepts ClusterInitScriptDbfsArgs and ClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `ClusterInitScriptDbfsInput` via: +type ClusterAwsAttributes struct { + // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future + Availability *string `pulumi:"availability"` + // The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + // The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + // The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. + EbsVolumeType *string `pulumi:"ebsVolumeType"` + // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future + FirstOnDemand *int `pulumi:"firstOnDemand"` + // Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + // The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + ZoneId *string `pulumi:"zoneId"` +} + +// ClusterAwsAttributesInput is an input type that accepts ClusterAwsAttributesArgs and ClusterAwsAttributesOutput values. +// You can construct a concrete instance of `ClusterAwsAttributesInput` via: // -// ClusterInitScriptDbfsArgs{...} -type ClusterInitScriptDbfsInput interface { +// ClusterAwsAttributesArgs{...} +type ClusterAwsAttributesInput interface { pulumi.Input - ToClusterInitScriptDbfsOutput() ClusterInitScriptDbfsOutput - ToClusterInitScriptDbfsOutputWithContext(context.Context) ClusterInitScriptDbfsOutput + ToClusterAwsAttributesOutput() ClusterAwsAttributesOutput + ToClusterAwsAttributesOutputWithContext(context.Context) ClusterAwsAttributesOutput } -type ClusterInitScriptDbfsArgs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` +type ClusterAwsAttributesArgs struct { + // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future + Availability pulumi.StringPtrInput `pulumi:"availability"` + // The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + // The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + // The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + // Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + // The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (ClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptDbfs)(nil)).Elem() +func (ClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAwsAttributes)(nil)).Elem() } -func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsOutput() ClusterInitScriptDbfsOutput { - return i.ToClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesOutput() ClusterAwsAttributesOutput { + return i.ToClusterAwsAttributesOutputWithContext(context.Background()) } -func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsOutputWithContext(ctx context.Context) ClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptDbfsOutput) +func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesOutputWithContext(ctx context.Context) ClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAwsAttributesOutput) } -func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { - return i.ToClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { + return i.ToClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptDbfsOutput).ToClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i ClusterAwsAttributesArgs) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAwsAttributesOutput).ToClusterAwsAttributesPtrOutputWithContext(ctx) } -// ClusterInitScriptDbfsPtrInput is an input type that accepts ClusterInitScriptDbfsArgs, ClusterInitScriptDbfsPtr and ClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptDbfsPtrInput` via: +// ClusterAwsAttributesPtrInput is an input type that accepts ClusterAwsAttributesArgs, ClusterAwsAttributesPtr and ClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `ClusterAwsAttributesPtrInput` via: // -// ClusterInitScriptDbfsArgs{...} +// ClusterAwsAttributesArgs{...} // // or: // // nil -type ClusterInitScriptDbfsPtrInput interface { +type ClusterAwsAttributesPtrInput interface { pulumi.Input - ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput - ToClusterInitScriptDbfsPtrOutputWithContext(context.Context) ClusterInitScriptDbfsPtrOutput + ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput + ToClusterAwsAttributesPtrOutputWithContext(context.Context) ClusterAwsAttributesPtrOutput } -type clusterInitScriptDbfsPtrType ClusterInitScriptDbfsArgs +type clusterAwsAttributesPtrType ClusterAwsAttributesArgs -func ClusterInitScriptDbfsPtr(v *ClusterInitScriptDbfsArgs) ClusterInitScriptDbfsPtrInput { - return (*clusterInitScriptDbfsPtrType)(v) +func ClusterAwsAttributesPtr(v *ClusterAwsAttributesArgs) ClusterAwsAttributesPtrInput { + return (*clusterAwsAttributesPtrType)(v) } -func (*clusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptDbfs)(nil)).Elem() +func (*clusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAwsAttributes)(nil)).Elem() } -func (i *clusterInitScriptDbfsPtrType) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { - return i.ToClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *clusterAwsAttributesPtrType) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { + return i.ToClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *clusterInitScriptDbfsPtrType) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptDbfsPtrOutput) +func (i *clusterAwsAttributesPtrType) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAwsAttributesPtrOutput) } -type ClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type ClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptDbfs)(nil)).Elem() +func (ClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAwsAttributes)(nil)).Elem() } -func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsOutput() ClusterInitScriptDbfsOutput { +func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesOutput() ClusterAwsAttributesOutput { return o } -func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsOutputWithContext(ctx context.Context) ClusterInitScriptDbfsOutput { +func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesOutputWithContext(ctx context.Context) ClusterAwsAttributesOutput { return o } -func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { - return o.ToClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { + return o.ToClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptDbfs) *ClusterInitScriptDbfs { +func (o ClusterAwsAttributesOutput) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAwsAttributes) *ClusterAwsAttributes { return &v - }).(ClusterInitScriptDbfsPtrOutput) + }).(ClusterAwsAttributesPtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future +func (o ClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type ClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } - -func (ClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptDbfs)(nil)).Elem() +// The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. +func (o ClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o ClusterInitScriptDbfsPtrOutput) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { - return o +func (o ClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) } -func (o ClusterInitScriptDbfsPtrOutput) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { - return o +// The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). +func (o ClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o ClusterInitScriptDbfsPtrOutput) Elem() ClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *ClusterInitScriptDbfs) ClusterInitScriptDbfs { - if v != nil { - return *v - } - var ret ClusterInitScriptDbfs - return ret - }).(ClusterInitScriptDbfsOutput) +func (o ClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +// The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. +func (o ClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type ClusterInitScriptFile struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` +// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future +func (o ClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -// ClusterInitScriptFileInput is an input type that accepts ClusterInitScriptFileArgs and ClusterInitScriptFileOutput values. -// You can construct a concrete instance of `ClusterInitScriptFileInput` via: -// -// ClusterInitScriptFileArgs{...} -type ClusterInitScriptFileInput interface { - pulumi.Input - - ToClusterInitScriptFileOutput() ClusterInitScriptFileOutput - ToClusterInitScriptFileOutputWithContext(context.Context) ClusterInitScriptFileOutput +// Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. +func (o ClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -type ClusterInitScriptFileArgs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` +// The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. +func (o ClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (ClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptFile)(nil)).Elem() +// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. +func (o ClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (i ClusterInitScriptFileArgs) ToClusterInitScriptFileOutput() ClusterInitScriptFileOutput { - return i.ToClusterInitScriptFileOutputWithContext(context.Background()) -} +type ClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (i ClusterInitScriptFileArgs) ToClusterInitScriptFileOutputWithContext(ctx context.Context) ClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptFileOutput) +func (ClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAwsAttributes)(nil)).Elem() } -func (i ClusterInitScriptFileArgs) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { - return i.ToClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o ClusterAwsAttributesPtrOutput) ToClusterAwsAttributesPtrOutput() ClusterAwsAttributesPtrOutput { + return o } -func (i ClusterInitScriptFileArgs) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptFileOutput).ToClusterInitScriptFilePtrOutputWithContext(ctx) +func (o ClusterAwsAttributesPtrOutput) ToClusterAwsAttributesPtrOutputWithContext(ctx context.Context) ClusterAwsAttributesPtrOutput { + return o } -// ClusterInitScriptFilePtrInput is an input type that accepts ClusterInitScriptFileArgs, ClusterInitScriptFilePtr and ClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptFilePtrInput` via: -// -// ClusterInitScriptFileArgs{...} -// -// or: -// -// nil -type ClusterInitScriptFilePtrInput interface { - pulumi.Input - - ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput - ToClusterInitScriptFilePtrOutputWithContext(context.Context) ClusterInitScriptFilePtrOutput +func (o ClusterAwsAttributesPtrOutput) Elem() ClusterAwsAttributesOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) ClusterAwsAttributes { + if v != nil { + return *v + } + var ret ClusterAwsAttributes + return ret + }).(ClusterAwsAttributesOutput) } -type clusterInitScriptFilePtrType ClusterInitScriptFileArgs - -func ClusterInitScriptFilePtr(v *ClusterInitScriptFileArgs) ClusterInitScriptFilePtrInput { - return (*clusterInitScriptFilePtrType)(v) +// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future +func (o ClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (*clusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptFile)(nil)).Elem() +// The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. +func (o ClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (i *clusterInitScriptFilePtrType) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { - return i.ToClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o ClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -func (i *clusterInitScriptFilePtrType) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptFilePtrOutput) +// The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). +func (o ClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -type ClusterInitScriptFileOutput struct{ *pulumi.OutputState } - -func (ClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptFile)(nil)).Elem() +func (o ClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) } -func (o ClusterInitScriptFileOutput) ToClusterInitScriptFileOutput() ClusterInitScriptFileOutput { - return o +// The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. +func (o ClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o ClusterInitScriptFileOutput) ToClusterInitScriptFileOutputWithContext(ctx context.Context) ClusterInitScriptFileOutput { - return o +// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future +func (o ClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o ClusterInitScriptFileOutput) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { - return o.ToClusterInitScriptFilePtrOutputWithContext(context.Background()) +// Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. +func (o ClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -func (o ClusterInitScriptFileOutput) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptFile) *ClusterInitScriptFile { - return &v - }).(ClusterInitScriptFilePtrOutput) +// The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. +func (o ClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) -} - -type ClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } - -func (ClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptFile)(nil)).Elem() -} - -func (o ClusterInitScriptFilePtrOutput) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { - return o -} - -func (o ClusterInitScriptFilePtrOutput) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { - return o -} - -func (o ClusterInitScriptFilePtrOutput) Elem() ClusterInitScriptFileOutput { - return o.ApplyT(func(v *ClusterInitScriptFile) ClusterInitScriptFile { - if v != nil { - return *v - } - var ret ClusterInitScriptFile - return ret - }).(ClusterInitScriptFileOutput) -} - -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptFile) *string { +// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. +func (o ClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAwsAttributes) *string { if v == nil { return nil } - return &v.Destination + return v.ZoneId }).(pulumi.StringPtrOutput) } -type ClusterInitScriptGcs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` +type ClusterAzureAttributes struct { + // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. + Availability *string `pulumi:"availability"` + // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *ClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// ClusterInitScriptGcsInput is an input type that accepts ClusterInitScriptGcsArgs and ClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `ClusterInitScriptGcsInput` via: +// ClusterAzureAttributesInput is an input type that accepts ClusterAzureAttributesArgs and ClusterAzureAttributesOutput values. +// You can construct a concrete instance of `ClusterAzureAttributesInput` via: // -// ClusterInitScriptGcsArgs{...} -type ClusterInitScriptGcsInput interface { +// ClusterAzureAttributesArgs{...} +type ClusterAzureAttributesInput interface { pulumi.Input - ToClusterInitScriptGcsOutput() ClusterInitScriptGcsOutput - ToClusterInitScriptGcsOutputWithContext(context.Context) ClusterInitScriptGcsOutput + ToClusterAzureAttributesOutput() ClusterAzureAttributesOutput + ToClusterAzureAttributesOutputWithContext(context.Context) ClusterAzureAttributesOutput } -type ClusterInitScriptGcsArgs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` +type ClusterAzureAttributesArgs struct { + // Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. + Availability pulumi.StringPtrInput `pulumi:"availability"` + // The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo ClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (ClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptGcs)(nil)).Elem() +func (ClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAzureAttributes)(nil)).Elem() } -func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsOutput() ClusterInitScriptGcsOutput { - return i.ToClusterInitScriptGcsOutputWithContext(context.Background()) +func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesOutput() ClusterAzureAttributesOutput { + return i.ToClusterAzureAttributesOutputWithContext(context.Background()) } -func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsOutputWithContext(ctx context.Context) ClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptGcsOutput) +func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesOutputWithContext(ctx context.Context) ClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesOutput) } -func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { - return i.ToClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { + return i.ToClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptGcsOutput).ToClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i ClusterAzureAttributesArgs) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesOutput).ToClusterAzureAttributesPtrOutputWithContext(ctx) } -// ClusterInitScriptGcsPtrInput is an input type that accepts ClusterInitScriptGcsArgs, ClusterInitScriptGcsPtr and ClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptGcsPtrInput` via: +// ClusterAzureAttributesPtrInput is an input type that accepts ClusterAzureAttributesArgs, ClusterAzureAttributesPtr and ClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `ClusterAzureAttributesPtrInput` via: // -// ClusterInitScriptGcsArgs{...} +// ClusterAzureAttributesArgs{...} // // or: // // nil -type ClusterInitScriptGcsPtrInput interface { +type ClusterAzureAttributesPtrInput interface { pulumi.Input - ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput - ToClusterInitScriptGcsPtrOutputWithContext(context.Context) ClusterInitScriptGcsPtrOutput + ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput + ToClusterAzureAttributesPtrOutputWithContext(context.Context) ClusterAzureAttributesPtrOutput } -type clusterInitScriptGcsPtrType ClusterInitScriptGcsArgs +type clusterAzureAttributesPtrType ClusterAzureAttributesArgs -func ClusterInitScriptGcsPtr(v *ClusterInitScriptGcsArgs) ClusterInitScriptGcsPtrInput { - return (*clusterInitScriptGcsPtrType)(v) +func ClusterAzureAttributesPtr(v *ClusterAzureAttributesArgs) ClusterAzureAttributesPtrInput { + return (*clusterAzureAttributesPtrType)(v) } -func (*clusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptGcs)(nil)).Elem() +func (*clusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAzureAttributes)(nil)).Elem() } -func (i *clusterInitScriptGcsPtrType) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { - return i.ToClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *clusterAzureAttributesPtrType) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { + return i.ToClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *clusterInitScriptGcsPtrType) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptGcsPtrOutput) +func (i *clusterAzureAttributesPtrType) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesPtrOutput) } -type ClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type ClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptGcs)(nil)).Elem() +func (ClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAzureAttributes)(nil)).Elem() } -func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsOutput() ClusterInitScriptGcsOutput { +func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesOutput() ClusterAzureAttributesOutput { return o } -func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsOutputWithContext(ctx context.Context) ClusterInitScriptGcsOutput { +func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesOutputWithContext(ctx context.Context) ClusterAzureAttributesOutput { return o } -func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { - return o.ToClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { + return o.ToClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptGcs) *ClusterInitScriptGcs { +func (o ClusterAzureAttributesOutput) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAzureAttributes) *ClusterAzureAttributes { return &v - }).(ClusterInitScriptGcsPtrOutput) + }).(ClusterAzureAttributesPtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. +func (o ClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type ClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. +func (o ClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} -func (ClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptGcs)(nil)).Elem() +func (o ClusterAzureAttributesOutput) LogAnalyticsInfo() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v ClusterAzureAttributes) *ClusterAzureAttributesLogAnalyticsInfo { return v.LogAnalyticsInfo }).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o ClusterInitScriptGcsPtrOutput) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { +// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. +func (o ClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} + +type ClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAzureAttributes)(nil)).Elem() +} + +func (o ClusterAzureAttributesPtrOutput) ToClusterAzureAttributesPtrOutput() ClusterAzureAttributesPtrOutput { return o } -func (o ClusterInitScriptGcsPtrOutput) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { +func (o ClusterAzureAttributesPtrOutput) ToClusterAzureAttributesPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesPtrOutput { return o } -func (o ClusterInitScriptGcsPtrOutput) Elem() ClusterInitScriptGcsOutput { - return o.ApplyT(func(v *ClusterInitScriptGcs) ClusterInitScriptGcs { +func (o ClusterAzureAttributesPtrOutput) Elem() ClusterAzureAttributesOutput { + return o.ApplyT(func(v *ClusterAzureAttributes) ClusterAzureAttributes { if v != nil { return *v } - var ret ClusterInitScriptGcs + var ret ClusterAzureAttributes return ret - }).(ClusterInitScriptGcsOutput) + }).(ClusterAzureAttributesOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptGcs) *string { +// Availability type used for all subsequent nodes past the `firstOnDemand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `firstOnDemand` is zero, this availability type will be used for the entire cluster. +func (o ClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAzureAttributes) *string { if v == nil { return nil } - return &v.Destination + return v.Availability }).(pulumi.StringPtrOutput) } -type ClusterInitScriptS3 struct { - // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. - CannedAcl *string `pulumi:"cannedAcl"` - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` - // Enable server-side encryption, false by default. - EnableEncryption *bool `pulumi:"enableEncryption"` - // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. - EncryptionType *string `pulumi:"encryptionType"` - // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. - Endpoint *string `pulumi:"endpoint"` - // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. - KmsKey *string `pulumi:"kmsKey"` - // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. - Region *string `pulumi:"region"` +// The first `firstOnDemand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `firstOnDemand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. +func (o ClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAzureAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// ClusterInitScriptS3Input is an input type that accepts ClusterInitScriptS3Args and ClusterInitScriptS3Output values. -// You can construct a concrete instance of `ClusterInitScriptS3Input` via: +func (o ClusterAzureAttributesPtrOutput) LogAnalyticsInfo() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *ClusterAzureAttributes) *ClusterAzureAttributesLogAnalyticsInfo { + if v == nil { + return nil + } + return v.LogAnalyticsInfo + }).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) +} + +// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. +func (o ClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type ClusterAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +} + +// ClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts ClusterAzureAttributesLogAnalyticsInfoArgs and ClusterAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `ClusterAzureAttributesLogAnalyticsInfoInput` via: // -// ClusterInitScriptS3Args{...} -type ClusterInitScriptS3Input interface { +// ClusterAzureAttributesLogAnalyticsInfoArgs{...} +type ClusterAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToClusterInitScriptS3Output() ClusterInitScriptS3Output - ToClusterInitScriptS3OutputWithContext(context.Context) ClusterInitScriptS3Output + ToClusterAzureAttributesLogAnalyticsInfoOutput() ClusterAzureAttributesLogAnalyticsInfoOutput + ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) ClusterAzureAttributesLogAnalyticsInfoOutput } -type ClusterInitScriptS3Args struct { - // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` - // Enable server-side encryption, false by default. - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. - Region pulumi.StringPtrInput `pulumi:"region"` +type ClusterAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (ClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptS3)(nil)).Elem() +func (ClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i ClusterInitScriptS3Args) ToClusterInitScriptS3Output() ClusterInitScriptS3Output { - return i.ToClusterInitScriptS3OutputWithContext(context.Background()) +func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoOutput() ClusterAzureAttributesLogAnalyticsInfoOutput { + return i.ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i ClusterInitScriptS3Args) ToClusterInitScriptS3OutputWithContext(ctx context.Context) ClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptS3Output) +func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesLogAnalyticsInfoOutput) } -func (i ClusterInitScriptS3Args) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { - return i.ToClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptS3Args) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptS3Output).ToClusterInitScriptS3PtrOutputWithContext(ctx) +func (i ClusterAzureAttributesLogAnalyticsInfoArgs) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesLogAnalyticsInfoOutput).ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// ClusterInitScriptS3PtrInput is an input type that accepts ClusterInitScriptS3Args, ClusterInitScriptS3Ptr and ClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptS3PtrInput` via: +// ClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts ClusterAzureAttributesLogAnalyticsInfoArgs, ClusterAzureAttributesLogAnalyticsInfoPtr and ClusterAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `ClusterAzureAttributesLogAnalyticsInfoPtrInput` via: // -// ClusterInitScriptS3Args{...} +// ClusterAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type ClusterInitScriptS3PtrInput interface { +type ClusterAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput - ToClusterInitScriptS3PtrOutputWithContext(context.Context) ClusterInitScriptS3PtrOutput + ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput } -type clusterInitScriptS3PtrType ClusterInitScriptS3Args +type clusterAzureAttributesLogAnalyticsInfoPtrType ClusterAzureAttributesLogAnalyticsInfoArgs -func ClusterInitScriptS3Ptr(v *ClusterInitScriptS3Args) ClusterInitScriptS3PtrInput { - return (*clusterInitScriptS3PtrType)(v) +func ClusterAzureAttributesLogAnalyticsInfoPtr(v *ClusterAzureAttributesLogAnalyticsInfoArgs) ClusterAzureAttributesLogAnalyticsInfoPtrInput { + return (*clusterAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*clusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptS3)(nil)).Elem() +func (*clusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *clusterInitScriptS3PtrType) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { - return i.ToClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *clusterAzureAttributesLogAnalyticsInfoPtrType) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *clusterInitScriptS3PtrType) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptS3PtrOutput) +func (i *clusterAzureAttributesLogAnalyticsInfoPtrType) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -type ClusterInitScriptS3Output struct{ *pulumi.OutputState } +type ClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptS3)(nil)).Elem() +func (ClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o ClusterInitScriptS3Output) ToClusterInitScriptS3Output() ClusterInitScriptS3Output { +func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoOutput() ClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o ClusterInitScriptS3Output) ToClusterInitScriptS3OutputWithContext(ctx context.Context) ClusterInitScriptS3Output { +func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o ClusterInitScriptS3Output) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { - return o.ToClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o ClusterInitScriptS3Output) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptS3) *ClusterInitScriptS3 { +func (o ClusterAzureAttributesLogAnalyticsInfoOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterAzureAttributesLogAnalyticsInfo) *ClusterAzureAttributesLogAnalyticsInfo { return &v - }).(ClusterInitScriptS3PtrOutput) -} - -// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. -func (o ClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -// Enable server-side encryption, false by default. -func (o ClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. -func (o ClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. -func (o ClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) + }).(ClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. -func (o ClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o ClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. -func (o ClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o ClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) } -type ClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type ClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptS3)(nil)).Elem() +func (ClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o ClusterInitScriptS3PtrOutput) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { +func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutput() ClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o ClusterInitScriptS3PtrOutput) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { +func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) ClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o ClusterInitScriptS3PtrOutput) Elem() ClusterInitScriptS3Output { - return o.ApplyT(func(v *ClusterInitScriptS3) ClusterInitScriptS3 { +func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() ClusterAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *ClusterAzureAttributesLogAnalyticsInfo) ClusterAzureAttributesLogAnalyticsInfo { if v != nil { return *v } - var ret ClusterInitScriptS3 + var ret ClusterAzureAttributesLogAnalyticsInfo return ret - }).(ClusterInitScriptS3Output) -} - -// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. -func (o ClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -// Enable server-side encryption, false by default. -func (o ClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. -func (o ClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. -func (o ClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) + }).(ClusterAzureAttributesLogAnalyticsInfoOutput) } -// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. -func (o ClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *string { +func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.KmsKey + return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. -func (o ClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptS3) *string { +func (o ClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.Region + return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) } -type ClusterInitScriptVolumes struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination string `pulumi:"destination"` +type ClusterClusterLogConf struct { + Dbfs *ClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *ClusterClusterLogConfS3 `pulumi:"s3"` } -// ClusterInitScriptVolumesInput is an input type that accepts ClusterInitScriptVolumesArgs and ClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `ClusterInitScriptVolumesInput` via: +// ClusterClusterLogConfInput is an input type that accepts ClusterClusterLogConfArgs and ClusterClusterLogConfOutput values. +// You can construct a concrete instance of `ClusterClusterLogConfInput` via: // -// ClusterInitScriptVolumesArgs{...} -type ClusterInitScriptVolumesInput interface { +// ClusterClusterLogConfArgs{...} +type ClusterClusterLogConfInput interface { pulumi.Input - ToClusterInitScriptVolumesOutput() ClusterInitScriptVolumesOutput - ToClusterInitScriptVolumesOutputWithContext(context.Context) ClusterInitScriptVolumesOutput + ToClusterClusterLogConfOutput() ClusterClusterLogConfOutput + ToClusterClusterLogConfOutputWithContext(context.Context) ClusterClusterLogConfOutput } -type ClusterInitScriptVolumesArgs struct { - // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - Destination pulumi.StringInput `pulumi:"destination"` +type ClusterClusterLogConfArgs struct { + Dbfs ClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 ClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (ClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptVolumes)(nil)).Elem() +func (ClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterLogConf)(nil)).Elem() } -func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesOutput() ClusterInitScriptVolumesOutput { - return i.ToClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfOutput() ClusterClusterLogConfOutput { + return i.ToClusterClusterLogConfOutputWithContext(context.Background()) } -func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesOutputWithContext(ctx context.Context) ClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptVolumesOutput) +func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfOutputWithContext(ctx context.Context) ClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfOutput) } -func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { - return i.ToClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { + return i.ToClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptVolumesOutput).ToClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i ClusterClusterLogConfArgs) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfOutput).ToClusterClusterLogConfPtrOutputWithContext(ctx) } -// ClusterInitScriptVolumesPtrInput is an input type that accepts ClusterInitScriptVolumesArgs, ClusterInitScriptVolumesPtr and ClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptVolumesPtrInput` via: +// ClusterClusterLogConfPtrInput is an input type that accepts ClusterClusterLogConfArgs, ClusterClusterLogConfPtr and ClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `ClusterClusterLogConfPtrInput` via: // -// ClusterInitScriptVolumesArgs{...} +// ClusterClusterLogConfArgs{...} // // or: // // nil -type ClusterInitScriptVolumesPtrInput interface { +type ClusterClusterLogConfPtrInput interface { pulumi.Input - ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput - ToClusterInitScriptVolumesPtrOutputWithContext(context.Context) ClusterInitScriptVolumesPtrOutput + ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput + ToClusterClusterLogConfPtrOutputWithContext(context.Context) ClusterClusterLogConfPtrOutput } -type clusterInitScriptVolumesPtrType ClusterInitScriptVolumesArgs +type clusterClusterLogConfPtrType ClusterClusterLogConfArgs -func ClusterInitScriptVolumesPtr(v *ClusterInitScriptVolumesArgs) ClusterInitScriptVolumesPtrInput { - return (*clusterInitScriptVolumesPtrType)(v) +func ClusterClusterLogConfPtr(v *ClusterClusterLogConfArgs) ClusterClusterLogConfPtrInput { + return (*clusterClusterLogConfPtrType)(v) } -func (*clusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptVolumes)(nil)).Elem() +func (*clusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterClusterLogConf)(nil)).Elem() } -func (i *clusterInitScriptVolumesPtrType) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { - return i.ToClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *clusterClusterLogConfPtrType) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { + return i.ToClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *clusterInitScriptVolumesPtrType) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptVolumesPtrOutput) +func (i *clusterClusterLogConfPtrType) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfPtrOutput) } -type ClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type ClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptVolumes)(nil)).Elem() +func (ClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterLogConf)(nil)).Elem() } -func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesOutput() ClusterInitScriptVolumesOutput { +func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfOutput() ClusterClusterLogConfOutput { return o } -func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesOutputWithContext(ctx context.Context) ClusterInitScriptVolumesOutput { +func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfOutputWithContext(ctx context.Context) ClusterClusterLogConfOutput { return o } -func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { - return o.ToClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { + return o.ToClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptVolumes) *ClusterInitScriptVolumes { +func (o ClusterClusterLogConfOutput) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterClusterLogConf) *ClusterClusterLogConf { return &v - }).(ClusterInitScriptVolumesPtrOutput) + }).(ClusterClusterLogConfPtrOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o ClusterClusterLogConfOutput) Dbfs() ClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConf) *ClusterClusterLogConfDbfs { return v.Dbfs }).(ClusterClusterLogConfDbfsPtrOutput) } -type ClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o ClusterClusterLogConfOutput) S3() ClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v ClusterClusterLogConf) *ClusterClusterLogConfS3 { return v.S3 }).(ClusterClusterLogConfS3PtrOutput) +} -func (ClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptVolumes)(nil)).Elem() +type ClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (ClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterClusterLogConf)(nil)).Elem() } -func (o ClusterInitScriptVolumesPtrOutput) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { +func (o ClusterClusterLogConfPtrOutput) ToClusterClusterLogConfPtrOutput() ClusterClusterLogConfPtrOutput { return o } -func (o ClusterInitScriptVolumesPtrOutput) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { +func (o ClusterClusterLogConfPtrOutput) ToClusterClusterLogConfPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfPtrOutput { return o } -func (o ClusterInitScriptVolumesPtrOutput) Elem() ClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *ClusterInitScriptVolumes) ClusterInitScriptVolumes { +func (o ClusterClusterLogConfPtrOutput) Elem() ClusterClusterLogConfOutput { + return o.ApplyT(func(v *ClusterClusterLogConf) ClusterClusterLogConf { if v != nil { return *v } - var ret ClusterInitScriptVolumes + var ret ClusterClusterLogConf return ret - }).(ClusterInitScriptVolumesOutput) + }).(ClusterClusterLogConfOutput) } -// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptVolumes) *string { +func (o ClusterClusterLogConfPtrOutput) Dbfs() ClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConf) *ClusterClusterLogConfDbfs { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Dbfs + }).(ClusterClusterLogConfDbfsPtrOutput) } -type ClusterInitScriptWorkspace struct { +func (o ClusterClusterLogConfPtrOutput) S3() ClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConf) *ClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(ClusterClusterLogConfS3PtrOutput) +} + +type ClusterClusterLogConfDbfs struct { // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. Destination string `pulumi:"destination"` } -// ClusterInitScriptWorkspaceInput is an input type that accepts ClusterInitScriptWorkspaceArgs and ClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `ClusterInitScriptWorkspaceInput` via: +// ClusterClusterLogConfDbfsInput is an input type that accepts ClusterClusterLogConfDbfsArgs and ClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `ClusterClusterLogConfDbfsInput` via: // -// ClusterInitScriptWorkspaceArgs{...} -type ClusterInitScriptWorkspaceInput interface { +// ClusterClusterLogConfDbfsArgs{...} +type ClusterClusterLogConfDbfsInput interface { pulumi.Input - ToClusterInitScriptWorkspaceOutput() ClusterInitScriptWorkspaceOutput - ToClusterInitScriptWorkspaceOutputWithContext(context.Context) ClusterInitScriptWorkspaceOutput + ToClusterClusterLogConfDbfsOutput() ClusterClusterLogConfDbfsOutput + ToClusterClusterLogConfDbfsOutputWithContext(context.Context) ClusterClusterLogConfDbfsOutput } -type ClusterInitScriptWorkspaceArgs struct { +type ClusterClusterLogConfDbfsArgs struct { // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. Destination pulumi.StringInput `pulumi:"destination"` } -func (ClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptWorkspace)(nil)).Elem() +func (ClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterLogConfDbfs)(nil)).Elem() } -func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspaceOutput() ClusterInitScriptWorkspaceOutput { - return i.ToClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsOutput() ClusterClusterLogConfDbfsOutput { + return i.ToClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) ClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptWorkspaceOutput) +func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfDbfsOutput) } -func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { - return i.ToClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { + return i.ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptWorkspaceOutput).ToClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i ClusterClusterLogConfDbfsArgs) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfDbfsOutput).ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// ClusterInitScriptWorkspacePtrInput is an input type that accepts ClusterInitScriptWorkspaceArgs, ClusterInitScriptWorkspacePtr and ClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `ClusterInitScriptWorkspacePtrInput` via: +// ClusterClusterLogConfDbfsPtrInput is an input type that accepts ClusterClusterLogConfDbfsArgs, ClusterClusterLogConfDbfsPtr and ClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `ClusterClusterLogConfDbfsPtrInput` via: // -// ClusterInitScriptWorkspaceArgs{...} +// ClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type ClusterInitScriptWorkspacePtrInput interface { +type ClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput - ToClusterInitScriptWorkspacePtrOutputWithContext(context.Context) ClusterInitScriptWorkspacePtrOutput + ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput + ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) ClusterClusterLogConfDbfsPtrOutput } -type clusterInitScriptWorkspacePtrType ClusterInitScriptWorkspaceArgs +type clusterClusterLogConfDbfsPtrType ClusterClusterLogConfDbfsArgs -func ClusterInitScriptWorkspacePtr(v *ClusterInitScriptWorkspaceArgs) ClusterInitScriptWorkspacePtrInput { - return (*clusterInitScriptWorkspacePtrType)(v) +func ClusterClusterLogConfDbfsPtr(v *ClusterClusterLogConfDbfsArgs) ClusterClusterLogConfDbfsPtrInput { + return (*clusterClusterLogConfDbfsPtrType)(v) } -func (*clusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptWorkspace)(nil)).Elem() +func (*clusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *clusterInitScriptWorkspacePtrType) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { - return i.ToClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *clusterClusterLogConfDbfsPtrType) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { + return i.ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *clusterInitScriptWorkspacePtrType) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptWorkspacePtrOutput) +func (i *clusterClusterLogConfDbfsPtrType) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfDbfsPtrOutput) } -type ClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type ClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterInitScriptWorkspace)(nil)).Elem() +func (ClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterLogConfDbfs)(nil)).Elem() } -func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspaceOutput() ClusterInitScriptWorkspaceOutput { +func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsOutput() ClusterClusterLogConfDbfsOutput { return o } -func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) ClusterInitScriptWorkspaceOutput { +func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsOutput { return o } -func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { - return o.ToClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { + return o.ToClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptWorkspace) *ClusterInitScriptWorkspace { +func (o ClusterClusterLogConfDbfsOutput) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterClusterLogConfDbfs) *ClusterClusterLogConfDbfs { return &v - }).(ClusterInitScriptWorkspacePtrOutput) + }).(ClusterClusterLogConfDbfsPtrOutput) } // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v ClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o ClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type ClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type ClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (ClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterInitScriptWorkspace)(nil)).Elem() +func (ClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterClusterLogConfDbfs)(nil)).Elem() } -func (o ClusterInitScriptWorkspacePtrOutput) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { +func (o ClusterClusterLogConfDbfsPtrOutput) ToClusterClusterLogConfDbfsPtrOutput() ClusterClusterLogConfDbfsPtrOutput { return o } -func (o ClusterInitScriptWorkspacePtrOutput) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { +func (o ClusterClusterLogConfDbfsPtrOutput) ToClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) ClusterClusterLogConfDbfsPtrOutput { return o } -func (o ClusterInitScriptWorkspacePtrOutput) Elem() ClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *ClusterInitScriptWorkspace) ClusterInitScriptWorkspace { +func (o ClusterClusterLogConfDbfsPtrOutput) Elem() ClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *ClusterClusterLogConfDbfs) ClusterClusterLogConfDbfs { if v != nil { return *v } - var ret ClusterInitScriptWorkspace + var ret ClusterClusterLogConfDbfs return ret - }).(ClusterInitScriptWorkspaceOutput) + }).(ClusterClusterLogConfDbfsOutput) } // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. -func (o ClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterInitScriptWorkspace) *string { +func (o ClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfDbfs) *string { if v == nil { return nil } @@ -6444,2694 +6161,1204 @@ func (o ClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } -type ClusterLibrary struct { - Cran *ClusterLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *ClusterLibraryMaven `pulumi:"maven"` - Pypi *ClusterLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` -} - -// ClusterLibraryInput is an input type that accepts ClusterLibraryArgs and ClusterLibraryOutput values. -// You can construct a concrete instance of `ClusterLibraryInput` via: -// -// ClusterLibraryArgs{...} -type ClusterLibraryInput interface { - pulumi.Input - - ToClusterLibraryOutput() ClusterLibraryOutput - ToClusterLibraryOutputWithContext(context.Context) ClusterLibraryOutput -} - -type ClusterLibraryArgs struct { - Cran ClusterLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven ClusterLibraryMavenPtrInput `pulumi:"maven"` - Pypi ClusterLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` -} - -func (ClusterLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibrary)(nil)).Elem() -} - -func (i ClusterLibraryArgs) ToClusterLibraryOutput() ClusterLibraryOutput { - return i.ToClusterLibraryOutputWithContext(context.Background()) -} - -func (i ClusterLibraryArgs) ToClusterLibraryOutputWithContext(ctx context.Context) ClusterLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryOutput) +type ClusterClusterLogConfS3 struct { + // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + CannedAcl *string `pulumi:"cannedAcl"` + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` + // Enable server-side encryption, false by default. + EnableEncryption *bool `pulumi:"enableEncryption"` + // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + EncryptionType *string `pulumi:"encryptionType"` + // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + Endpoint *string `pulumi:"endpoint"` + // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + KmsKey *string `pulumi:"kmsKey"` + // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + Region *string `pulumi:"region"` } -// ClusterLibraryArrayInput is an input type that accepts ClusterLibraryArray and ClusterLibraryArrayOutput values. -// You can construct a concrete instance of `ClusterLibraryArrayInput` via: +// ClusterClusterLogConfS3Input is an input type that accepts ClusterClusterLogConfS3Args and ClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `ClusterClusterLogConfS3Input` via: // -// ClusterLibraryArray{ ClusterLibraryArgs{...} } -type ClusterLibraryArrayInput interface { +// ClusterClusterLogConfS3Args{...} +type ClusterClusterLogConfS3Input interface { pulumi.Input - ToClusterLibraryArrayOutput() ClusterLibraryArrayOutput - ToClusterLibraryArrayOutputWithContext(context.Context) ClusterLibraryArrayOutput -} - -type ClusterLibraryArray []ClusterLibraryInput - -func (ClusterLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterLibrary)(nil)).Elem() -} - -func (i ClusterLibraryArray) ToClusterLibraryArrayOutput() ClusterLibraryArrayOutput { - return i.ToClusterLibraryArrayOutputWithContext(context.Background()) -} - -func (i ClusterLibraryArray) ToClusterLibraryArrayOutputWithContext(ctx context.Context) ClusterLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryArrayOutput) -} - -type ClusterLibraryOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibrary)(nil)).Elem() -} - -func (o ClusterLibraryOutput) ToClusterLibraryOutput() ClusterLibraryOutput { - return o -} - -func (o ClusterLibraryOutput) ToClusterLibraryOutputWithContext(ctx context.Context) ClusterLibraryOutput { - return o -} - -func (o ClusterLibraryOutput) Cran() ClusterLibraryCranPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *ClusterLibraryCran { return v.Cran }).(ClusterLibraryCranPtrOutput) -} - -func (o ClusterLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) -} - -func (o ClusterLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) -} - -func (o ClusterLibraryOutput) Maven() ClusterLibraryMavenPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *ClusterLibraryMaven { return v.Maven }).(ClusterLibraryMavenPtrOutput) -} - -func (o ClusterLibraryOutput) Pypi() ClusterLibraryPypiPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *ClusterLibraryPypi { return v.Pypi }).(ClusterLibraryPypiPtrOutput) -} - -func (o ClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) + ToClusterClusterLogConfS3Output() ClusterClusterLogConfS3Output + ToClusterClusterLogConfS3OutputWithContext(context.Context) ClusterClusterLogConfS3Output } -func (o ClusterLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +type ClusterClusterLogConfS3Args struct { + // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` + // Enable server-side encryption, false by default. + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + Region pulumi.StringPtrInput `pulumi:"region"` } -type ClusterLibraryArrayOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterLibrary)(nil)).Elem() +func (ClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterLogConfS3)(nil)).Elem() } -func (o ClusterLibraryArrayOutput) ToClusterLibraryArrayOutput() ClusterLibraryArrayOutput { - return o +func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3Output() ClusterClusterLogConfS3Output { + return i.ToClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (o ClusterLibraryArrayOutput) ToClusterLibraryArrayOutputWithContext(ctx context.Context) ClusterLibraryArrayOutput { - return o +func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3OutputWithContext(ctx context.Context) ClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfS3Output) } -func (o ClusterLibraryArrayOutput) Index(i pulumi.IntInput) ClusterLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterLibrary { - return vs[0].([]ClusterLibrary)[vs[1].(int)] - }).(ClusterLibraryOutput) +func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { + return i.ToClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -type ClusterLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (i ClusterClusterLogConfS3Args) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfS3Output).ToClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// ClusterLibraryCranInput is an input type that accepts ClusterLibraryCranArgs and ClusterLibraryCranOutput values. -// You can construct a concrete instance of `ClusterLibraryCranInput` via: +// ClusterClusterLogConfS3PtrInput is an input type that accepts ClusterClusterLogConfS3Args, ClusterClusterLogConfS3Ptr and ClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `ClusterClusterLogConfS3PtrInput` via: // -// ClusterLibraryCranArgs{...} -type ClusterLibraryCranInput interface { +// ClusterClusterLogConfS3Args{...} +// +// or: +// +// nil +type ClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToClusterLibraryCranOutput() ClusterLibraryCranOutput - ToClusterLibraryCranOutputWithContext(context.Context) ClusterLibraryCranOutput -} - -type ClusterLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` + ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput + ToClusterClusterLogConfS3PtrOutputWithContext(context.Context) ClusterClusterLogConfS3PtrOutput } -func (ClusterLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibraryCran)(nil)).Elem() -} +type clusterClusterLogConfS3PtrType ClusterClusterLogConfS3Args -func (i ClusterLibraryCranArgs) ToClusterLibraryCranOutput() ClusterLibraryCranOutput { - return i.ToClusterLibraryCranOutputWithContext(context.Background()) +func ClusterClusterLogConfS3Ptr(v *ClusterClusterLogConfS3Args) ClusterClusterLogConfS3PtrInput { + return (*clusterClusterLogConfS3PtrType)(v) } -func (i ClusterLibraryCranArgs) ToClusterLibraryCranOutputWithContext(ctx context.Context) ClusterLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryCranOutput) +func (*clusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterClusterLogConfS3)(nil)).Elem() } -func (i ClusterLibraryCranArgs) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { - return i.ToClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i *clusterClusterLogConfS3PtrType) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { + return i.ToClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i ClusterLibraryCranArgs) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryCranOutput).ToClusterLibraryCranPtrOutputWithContext(ctx) +func (i *clusterClusterLogConfS3PtrType) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterLogConfS3PtrOutput) } -// ClusterLibraryCranPtrInput is an input type that accepts ClusterLibraryCranArgs, ClusterLibraryCranPtr and ClusterLibraryCranPtrOutput values. -// You can construct a concrete instance of `ClusterLibraryCranPtrInput` via: -// -// ClusterLibraryCranArgs{...} -// -// or: -// -// nil -type ClusterLibraryCranPtrInput interface { - pulumi.Input +type ClusterClusterLogConfS3Output struct{ *pulumi.OutputState } - ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput - ToClusterLibraryCranPtrOutputWithContext(context.Context) ClusterLibraryCranPtrOutput +func (ClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterLogConfS3)(nil)).Elem() } -type clusterLibraryCranPtrType ClusterLibraryCranArgs - -func ClusterLibraryCranPtr(v *ClusterLibraryCranArgs) ClusterLibraryCranPtrInput { - return (*clusterLibraryCranPtrType)(v) +func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3Output() ClusterClusterLogConfS3Output { + return o } -func (*clusterLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterLibraryCran)(nil)).Elem() +func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3OutputWithContext(ctx context.Context) ClusterClusterLogConfS3Output { + return o } -func (i *clusterLibraryCranPtrType) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { - return i.ToClusterLibraryCranPtrOutputWithContext(context.Background()) +func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { + return o.ToClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *clusterLibraryCranPtrType) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryCranPtrOutput) +func (o ClusterClusterLogConfS3Output) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterClusterLogConfS3) *ClusterClusterLogConfS3 { + return &v + }).(ClusterClusterLogConfS3PtrOutput) } -type ClusterLibraryCranOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibraryCran)(nil)).Elem() +// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. +func (o ClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o ClusterLibraryCranOutput) ToClusterLibraryCranOutput() ClusterLibraryCranOutput { - return o +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o ClusterLibraryCranOutput) ToClusterLibraryCranOutputWithContext(ctx context.Context) ClusterLibraryCranOutput { - return o +// Enable server-side encryption, false by default. +func (o ClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o ClusterLibraryCranOutput) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { - return o.ToClusterLibraryCranPtrOutputWithContext(context.Background()) +// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. +func (o ClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o ClusterLibraryCranOutput) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterLibraryCran) *ClusterLibraryCran { - return &v - }).(ClusterLibraryCranPtrOutput) +// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. +func (o ClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o ClusterLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v ClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) +// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. +func (o ClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o ClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. +func (o ClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type ClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } +type ClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } -func (ClusterLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterLibraryCran)(nil)).Elem() +func (ClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterClusterLogConfS3)(nil)).Elem() } -func (o ClusterLibraryCranPtrOutput) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { +func (o ClusterClusterLogConfS3PtrOutput) ToClusterClusterLogConfS3PtrOutput() ClusterClusterLogConfS3PtrOutput { return o } -func (o ClusterLibraryCranPtrOutput) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { +func (o ClusterClusterLogConfS3PtrOutput) ToClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) ClusterClusterLogConfS3PtrOutput { return o } -func (o ClusterLibraryCranPtrOutput) Elem() ClusterLibraryCranOutput { - return o.ApplyT(func(v *ClusterLibraryCran) ClusterLibraryCran { +func (o ClusterClusterLogConfS3PtrOutput) Elem() ClusterClusterLogConfS3Output { + return o.ApplyT(func(v *ClusterClusterLogConfS3) ClusterClusterLogConfS3 { if v != nil { return *v } - var ret ClusterLibraryCran + var ret ClusterClusterLogConfS3 return ret - }).(ClusterLibraryCranOutput) + }).(ClusterClusterLogConfS3Output) } -func (o ClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterLibraryCran) *string { +// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. +func (o ClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.Package + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o ClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterLibraryCran) *string { +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type ClusterLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +// Enable server-side encryption, false by default. +func (o ClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// ClusterLibraryMavenInput is an input type that accepts ClusterLibraryMavenArgs and ClusterLibraryMavenOutput values. -// You can construct a concrete instance of `ClusterLibraryMavenInput` via: -// -// ClusterLibraryMavenArgs{...} -type ClusterLibraryMavenInput interface { - pulumi.Input - - ToClusterLibraryMavenOutput() ClusterLibraryMavenOutput - ToClusterLibraryMavenOutputWithContext(context.Context) ClusterLibraryMavenOutput -} - -type ClusterLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` -} - -func (ClusterLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibraryMaven)(nil)).Elem() -} - -func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenOutput() ClusterLibraryMavenOutput { - return i.ToClusterLibraryMavenOutputWithContext(context.Background()) -} - -func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenOutputWithContext(ctx context.Context) ClusterLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryMavenOutput) -} - -func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { - return i.ToClusterLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryMavenOutput).ToClusterLibraryMavenPtrOutputWithContext(ctx) -} - -// ClusterLibraryMavenPtrInput is an input type that accepts ClusterLibraryMavenArgs, ClusterLibraryMavenPtr and ClusterLibraryMavenPtrOutput values. -// You can construct a concrete instance of `ClusterLibraryMavenPtrInput` via: -// -// ClusterLibraryMavenArgs{...} -// -// or: -// -// nil -type ClusterLibraryMavenPtrInput interface { - pulumi.Input - - ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput - ToClusterLibraryMavenPtrOutputWithContext(context.Context) ClusterLibraryMavenPtrOutput -} - -type clusterLibraryMavenPtrType ClusterLibraryMavenArgs - -func ClusterLibraryMavenPtr(v *ClusterLibraryMavenArgs) ClusterLibraryMavenPtrInput { - return (*clusterLibraryMavenPtrType)(v) -} - -func (*clusterLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterLibraryMaven)(nil)).Elem() -} - -func (i *clusterLibraryMavenPtrType) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { - return i.ToClusterLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (i *clusterLibraryMavenPtrType) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryMavenPtrOutput) -} - -type ClusterLibraryMavenOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibraryMaven)(nil)).Elem() -} - -func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenOutput() ClusterLibraryMavenOutput { - return o -} - -func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenOutputWithContext(ctx context.Context) ClusterLibraryMavenOutput { - return o -} - -func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { - return o.ToClusterLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterLibraryMaven) *ClusterLibraryMaven { - return &v - }).(ClusterLibraryMavenPtrOutput) -} - -func (o ClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v ClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) -} - -func (o ClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) -} - -func (o ClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) -} - -type ClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterLibraryMaven)(nil)).Elem() -} - -func (o ClusterLibraryMavenPtrOutput) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { - return o -} - -func (o ClusterLibraryMavenPtrOutput) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { - return o -} - -func (o ClusterLibraryMavenPtrOutput) Elem() ClusterLibraryMavenOutput { - return o.ApplyT(func(v *ClusterLibraryMaven) ClusterLibraryMaven { - if v != nil { - return *v - } - var ret ClusterLibraryMaven - return ret - }).(ClusterLibraryMavenOutput) -} - -func (o ClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) -} - -func (o ClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) -} - -func (o ClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterLibraryMaven) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) -} - -type ClusterLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` -} - -// ClusterLibraryPypiInput is an input type that accepts ClusterLibraryPypiArgs and ClusterLibraryPypiOutput values. -// You can construct a concrete instance of `ClusterLibraryPypiInput` via: -// -// ClusterLibraryPypiArgs{...} -type ClusterLibraryPypiInput interface { - pulumi.Input - - ToClusterLibraryPypiOutput() ClusterLibraryPypiOutput - ToClusterLibraryPypiOutputWithContext(context.Context) ClusterLibraryPypiOutput -} - -type ClusterLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` -} - -func (ClusterLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibraryPypi)(nil)).Elem() -} - -func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiOutput() ClusterLibraryPypiOutput { - return i.ToClusterLibraryPypiOutputWithContext(context.Background()) -} - -func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiOutputWithContext(ctx context.Context) ClusterLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryPypiOutput) -} - -func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { - return i.ToClusterLibraryPypiPtrOutputWithContext(context.Background()) -} - -func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryPypiOutput).ToClusterLibraryPypiPtrOutputWithContext(ctx) -} - -// ClusterLibraryPypiPtrInput is an input type that accepts ClusterLibraryPypiArgs, ClusterLibraryPypiPtr and ClusterLibraryPypiPtrOutput values. -// You can construct a concrete instance of `ClusterLibraryPypiPtrInput` via: -// -// ClusterLibraryPypiArgs{...} -// -// or: -// -// nil -type ClusterLibraryPypiPtrInput interface { - pulumi.Input - - ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput - ToClusterLibraryPypiPtrOutputWithContext(context.Context) ClusterLibraryPypiPtrOutput -} - -type clusterLibraryPypiPtrType ClusterLibraryPypiArgs - -func ClusterLibraryPypiPtr(v *ClusterLibraryPypiArgs) ClusterLibraryPypiPtrInput { - return (*clusterLibraryPypiPtrType)(v) -} - -func (*clusterLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterLibraryPypi)(nil)).Elem() -} - -func (i *clusterLibraryPypiPtrType) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { - return i.ToClusterLibraryPypiPtrOutputWithContext(context.Background()) -} - -func (i *clusterLibraryPypiPtrType) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryPypiPtrOutput) -} - -type ClusterLibraryPypiOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterLibraryPypi)(nil)).Elem() -} - -func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiOutput() ClusterLibraryPypiOutput { - return o -} - -func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiOutputWithContext(ctx context.Context) ClusterLibraryPypiOutput { - return o -} - -func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { - return o.ToClusterLibraryPypiPtrOutputWithContext(context.Background()) -} - -func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterLibraryPypi) *ClusterLibraryPypi { - return &v - }).(ClusterLibraryPypiPtrOutput) -} - -func (o ClusterLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v ClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) -} - -func (o ClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) -} - -type ClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } - -func (ClusterLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterLibraryPypi)(nil)).Elem() -} - -func (o ClusterLibraryPypiPtrOutput) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { - return o -} - -func (o ClusterLibraryPypiPtrOutput) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { - return o -} - -func (o ClusterLibraryPypiPtrOutput) Elem() ClusterLibraryPypiOutput { - return o.ApplyT(func(v *ClusterLibraryPypi) ClusterLibraryPypi { - if v != nil { - return *v - } - var ret ClusterLibraryPypi - return ret - }).(ClusterLibraryPypiOutput) -} - -func (o ClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) -} - -func (o ClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterLibraryPypi) *string { +// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. +func (o ClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Repo + return v.EncryptionType }).(pulumi.StringPtrOutput) } - -type ClusterPolicyLibrary struct { - Cran *ClusterPolicyLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *ClusterPolicyLibraryMaven `pulumi:"maven"` - Pypi *ClusterPolicyLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` -} - -// ClusterPolicyLibraryInput is an input type that accepts ClusterPolicyLibraryArgs and ClusterPolicyLibraryOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryInput` via: -// -// ClusterPolicyLibraryArgs{...} -type ClusterPolicyLibraryInput interface { - pulumi.Input - - ToClusterPolicyLibraryOutput() ClusterPolicyLibraryOutput - ToClusterPolicyLibraryOutputWithContext(context.Context) ClusterPolicyLibraryOutput -} - -type ClusterPolicyLibraryArgs struct { - Cran ClusterPolicyLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven ClusterPolicyLibraryMavenPtrInput `pulumi:"maven"` - Pypi ClusterPolicyLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` -} - -func (ClusterPolicyLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibrary)(nil)).Elem() -} - -func (i ClusterPolicyLibraryArgs) ToClusterPolicyLibraryOutput() ClusterPolicyLibraryOutput { - return i.ToClusterPolicyLibraryOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryArgs) ToClusterPolicyLibraryOutputWithContext(ctx context.Context) ClusterPolicyLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryOutput) -} - -// ClusterPolicyLibraryArrayInput is an input type that accepts ClusterPolicyLibraryArray and ClusterPolicyLibraryArrayOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryArrayInput` via: -// -// ClusterPolicyLibraryArray{ ClusterPolicyLibraryArgs{...} } -type ClusterPolicyLibraryArrayInput interface { - pulumi.Input - - ToClusterPolicyLibraryArrayOutput() ClusterPolicyLibraryArrayOutput - ToClusterPolicyLibraryArrayOutputWithContext(context.Context) ClusterPolicyLibraryArrayOutput -} - -type ClusterPolicyLibraryArray []ClusterPolicyLibraryInput - -func (ClusterPolicyLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterPolicyLibrary)(nil)).Elem() -} - -func (i ClusterPolicyLibraryArray) ToClusterPolicyLibraryArrayOutput() ClusterPolicyLibraryArrayOutput { - return i.ToClusterPolicyLibraryArrayOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryArray) ToClusterPolicyLibraryArrayOutputWithContext(ctx context.Context) ClusterPolicyLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryArrayOutput) -} - -type ClusterPolicyLibraryOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibrary)(nil)).Elem() -} - -func (o ClusterPolicyLibraryOutput) ToClusterPolicyLibraryOutput() ClusterPolicyLibraryOutput { - return o -} - -func (o ClusterPolicyLibraryOutput) ToClusterPolicyLibraryOutputWithContext(ctx context.Context) ClusterPolicyLibraryOutput { - return o -} - -func (o ClusterPolicyLibraryOutput) Cran() ClusterPolicyLibraryCranPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *ClusterPolicyLibraryCran { return v.Cran }).(ClusterPolicyLibraryCranPtrOutput) -} - -func (o ClusterPolicyLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) -} - -func (o ClusterPolicyLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) -} - -func (o ClusterPolicyLibraryOutput) Maven() ClusterPolicyLibraryMavenPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *ClusterPolicyLibraryMaven { return v.Maven }).(ClusterPolicyLibraryMavenPtrOutput) -} - -func (o ClusterPolicyLibraryOutput) Pypi() ClusterPolicyLibraryPypiPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *ClusterPolicyLibraryPypi { return v.Pypi }).(ClusterPolicyLibraryPypiPtrOutput) -} - -func (o ClusterPolicyLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) -} - -func (o ClusterPolicyLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) -} - -type ClusterPolicyLibraryArrayOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterPolicyLibrary)(nil)).Elem() -} - -func (o ClusterPolicyLibraryArrayOutput) ToClusterPolicyLibraryArrayOutput() ClusterPolicyLibraryArrayOutput { - return o -} - -func (o ClusterPolicyLibraryArrayOutput) ToClusterPolicyLibraryArrayOutputWithContext(ctx context.Context) ClusterPolicyLibraryArrayOutput { - return o -} - -func (o ClusterPolicyLibraryArrayOutput) Index(i pulumi.IntInput) ClusterPolicyLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterPolicyLibrary { - return vs[0].([]ClusterPolicyLibrary)[vs[1].(int)] - }).(ClusterPolicyLibraryOutput) -} - -type ClusterPolicyLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` -} - -// ClusterPolicyLibraryCranInput is an input type that accepts ClusterPolicyLibraryCranArgs and ClusterPolicyLibraryCranOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryCranInput` via: -// -// ClusterPolicyLibraryCranArgs{...} -type ClusterPolicyLibraryCranInput interface { - pulumi.Input - - ToClusterPolicyLibraryCranOutput() ClusterPolicyLibraryCranOutput - ToClusterPolicyLibraryCranOutputWithContext(context.Context) ClusterPolicyLibraryCranOutput -} - -type ClusterPolicyLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` -} - -func (ClusterPolicyLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibraryCran)(nil)).Elem() -} - -func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranOutput() ClusterPolicyLibraryCranOutput { - return i.ToClusterPolicyLibraryCranOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryCranOutput) -} - -func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { - return i.ToClusterPolicyLibraryCranPtrOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryCranOutput).ToClusterPolicyLibraryCranPtrOutputWithContext(ctx) -} - -// ClusterPolicyLibraryCranPtrInput is an input type that accepts ClusterPolicyLibraryCranArgs, ClusterPolicyLibraryCranPtr and ClusterPolicyLibraryCranPtrOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryCranPtrInput` via: -// -// ClusterPolicyLibraryCranArgs{...} -// -// or: -// -// nil -type ClusterPolicyLibraryCranPtrInput interface { - pulumi.Input - - ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput - ToClusterPolicyLibraryCranPtrOutputWithContext(context.Context) ClusterPolicyLibraryCranPtrOutput -} - -type clusterPolicyLibraryCranPtrType ClusterPolicyLibraryCranArgs - -func ClusterPolicyLibraryCranPtr(v *ClusterPolicyLibraryCranArgs) ClusterPolicyLibraryCranPtrInput { - return (*clusterPolicyLibraryCranPtrType)(v) -} - -func (*clusterPolicyLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterPolicyLibraryCran)(nil)).Elem() -} - -func (i *clusterPolicyLibraryCranPtrType) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { - return i.ToClusterPolicyLibraryCranPtrOutputWithContext(context.Background()) -} - -func (i *clusterPolicyLibraryCranPtrType) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryCranPtrOutput) -} - -type ClusterPolicyLibraryCranOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibraryCran)(nil)).Elem() -} - -func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranOutput() ClusterPolicyLibraryCranOutput { - return o -} - -func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranOutput { - return o -} - -func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { - return o.ToClusterPolicyLibraryCranPtrOutputWithContext(context.Background()) -} - -func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterPolicyLibraryCran) *ClusterPolicyLibraryCran { - return &v - }).(ClusterPolicyLibraryCranPtrOutput) -} - -func (o ClusterPolicyLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v ClusterPolicyLibraryCran) string { return v.Package }).(pulumi.StringOutput) -} - -func (o ClusterPolicyLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) -} - -type ClusterPolicyLibraryCranPtrOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterPolicyLibraryCran)(nil)).Elem() -} - -func (o ClusterPolicyLibraryCranPtrOutput) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { - return o -} - -func (o ClusterPolicyLibraryCranPtrOutput) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { - return o -} - -func (o ClusterPolicyLibraryCranPtrOutput) Elem() ClusterPolicyLibraryCranOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryCran) ClusterPolicyLibraryCran { - if v != nil { - return *v - } - var ret ClusterPolicyLibraryCran - return ret - }).(ClusterPolicyLibraryCranOutput) -} - -func (o ClusterPolicyLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) -} - -func (o ClusterPolicyLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryCran) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) -} - -type ClusterPolicyLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` -} - -// ClusterPolicyLibraryMavenInput is an input type that accepts ClusterPolicyLibraryMavenArgs and ClusterPolicyLibraryMavenOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryMavenInput` via: -// -// ClusterPolicyLibraryMavenArgs{...} -type ClusterPolicyLibraryMavenInput interface { - pulumi.Input - - ToClusterPolicyLibraryMavenOutput() ClusterPolicyLibraryMavenOutput - ToClusterPolicyLibraryMavenOutputWithContext(context.Context) ClusterPolicyLibraryMavenOutput -} - -type ClusterPolicyLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` -} - -func (ClusterPolicyLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibraryMaven)(nil)).Elem() -} - -func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenOutput() ClusterPolicyLibraryMavenOutput { - return i.ToClusterPolicyLibraryMavenOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryMavenOutput) -} - -func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { - return i.ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryMavenOutput).ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx) -} - -// ClusterPolicyLibraryMavenPtrInput is an input type that accepts ClusterPolicyLibraryMavenArgs, ClusterPolicyLibraryMavenPtr and ClusterPolicyLibraryMavenPtrOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryMavenPtrInput` via: -// -// ClusterPolicyLibraryMavenArgs{...} -// -// or: -// -// nil -type ClusterPolicyLibraryMavenPtrInput interface { - pulumi.Input - - ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput - ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Context) ClusterPolicyLibraryMavenPtrOutput -} - -type clusterPolicyLibraryMavenPtrType ClusterPolicyLibraryMavenArgs - -func ClusterPolicyLibraryMavenPtr(v *ClusterPolicyLibraryMavenArgs) ClusterPolicyLibraryMavenPtrInput { - return (*clusterPolicyLibraryMavenPtrType)(v) -} - -func (*clusterPolicyLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterPolicyLibraryMaven)(nil)).Elem() -} - -func (i *clusterPolicyLibraryMavenPtrType) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { - return i.ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (i *clusterPolicyLibraryMavenPtrType) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryMavenPtrOutput) -} - -type ClusterPolicyLibraryMavenOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibraryMaven)(nil)).Elem() -} - -func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenOutput() ClusterPolicyLibraryMavenOutput { - return o -} - -func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenOutput { - return o -} - -func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { - return o.ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterPolicyLibraryMaven) *ClusterPolicyLibraryMaven { - return &v - }).(ClusterPolicyLibraryMavenPtrOutput) -} - -func (o ClusterPolicyLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v ClusterPolicyLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) -} - -func (o ClusterPolicyLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterPolicyLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) -} - -func (o ClusterPolicyLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) -} - -type ClusterPolicyLibraryMavenPtrOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterPolicyLibraryMaven)(nil)).Elem() -} - -func (o ClusterPolicyLibraryMavenPtrOutput) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { - return o -} - -func (o ClusterPolicyLibraryMavenPtrOutput) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { - return o -} - -func (o ClusterPolicyLibraryMavenPtrOutput) Elem() ClusterPolicyLibraryMavenOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryMaven) ClusterPolicyLibraryMaven { - if v != nil { - return *v - } - var ret ClusterPolicyLibraryMaven - return ret - }).(ClusterPolicyLibraryMavenOutput) -} - -func (o ClusterPolicyLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) -} - -func (o ClusterPolicyLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) -} - -func (o ClusterPolicyLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryMaven) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) -} - -type ClusterPolicyLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` -} - -// ClusterPolicyLibraryPypiInput is an input type that accepts ClusterPolicyLibraryPypiArgs and ClusterPolicyLibraryPypiOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryPypiInput` via: -// -// ClusterPolicyLibraryPypiArgs{...} -type ClusterPolicyLibraryPypiInput interface { - pulumi.Input - - ToClusterPolicyLibraryPypiOutput() ClusterPolicyLibraryPypiOutput - ToClusterPolicyLibraryPypiOutputWithContext(context.Context) ClusterPolicyLibraryPypiOutput -} - -type ClusterPolicyLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` -} - -func (ClusterPolicyLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibraryPypi)(nil)).Elem() -} - -func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiOutput() ClusterPolicyLibraryPypiOutput { - return i.ToClusterPolicyLibraryPypiOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryPypiOutput) -} - -func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { - return i.ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Background()) -} - -func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryPypiOutput).ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx) -} - -// ClusterPolicyLibraryPypiPtrInput is an input type that accepts ClusterPolicyLibraryPypiArgs, ClusterPolicyLibraryPypiPtr and ClusterPolicyLibraryPypiPtrOutput values. -// You can construct a concrete instance of `ClusterPolicyLibraryPypiPtrInput` via: -// -// ClusterPolicyLibraryPypiArgs{...} -// -// or: -// -// nil -type ClusterPolicyLibraryPypiPtrInput interface { - pulumi.Input - - ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput - ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Context) ClusterPolicyLibraryPypiPtrOutput -} - -type clusterPolicyLibraryPypiPtrType ClusterPolicyLibraryPypiArgs - -func ClusterPolicyLibraryPypiPtr(v *ClusterPolicyLibraryPypiArgs) ClusterPolicyLibraryPypiPtrInput { - return (*clusterPolicyLibraryPypiPtrType)(v) -} - -func (*clusterPolicyLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterPolicyLibraryPypi)(nil)).Elem() -} - -func (i *clusterPolicyLibraryPypiPtrType) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { - return i.ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Background()) -} - -func (i *clusterPolicyLibraryPypiPtrType) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryPypiPtrOutput) -} - -type ClusterPolicyLibraryPypiOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterPolicyLibraryPypi)(nil)).Elem() -} - -func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiOutput() ClusterPolicyLibraryPypiOutput { - return o -} - -func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiOutput { - return o -} - -func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { - return o.ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Background()) -} - -func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterPolicyLibraryPypi) *ClusterPolicyLibraryPypi { - return &v - }).(ClusterPolicyLibraryPypiPtrOutput) -} - -func (o ClusterPolicyLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v ClusterPolicyLibraryPypi) string { return v.Package }).(pulumi.StringOutput) -} - -func (o ClusterPolicyLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterPolicyLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) -} - -type ClusterPolicyLibraryPypiPtrOutput struct{ *pulumi.OutputState } - -func (ClusterPolicyLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterPolicyLibraryPypi)(nil)).Elem() -} - -func (o ClusterPolicyLibraryPypiPtrOutput) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { - return o -} - -func (o ClusterPolicyLibraryPypiPtrOutput) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { - return o -} - -func (o ClusterPolicyLibraryPypiPtrOutput) Elem() ClusterPolicyLibraryPypiOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryPypi) ClusterPolicyLibraryPypi { - if v != nil { - return *v - } - var ret ClusterPolicyLibraryPypi - return ret - }).(ClusterPolicyLibraryPypiOutput) -} - -func (o ClusterPolicyLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) -} - -func (o ClusterPolicyLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterPolicyLibraryPypi) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) -} - -type ClusterWorkloadType struct { - Clients ClusterWorkloadTypeClients `pulumi:"clients"` -} - -// ClusterWorkloadTypeInput is an input type that accepts ClusterWorkloadTypeArgs and ClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `ClusterWorkloadTypeInput` via: -// -// ClusterWorkloadTypeArgs{...} -type ClusterWorkloadTypeInput interface { - pulumi.Input - - ToClusterWorkloadTypeOutput() ClusterWorkloadTypeOutput - ToClusterWorkloadTypeOutputWithContext(context.Context) ClusterWorkloadTypeOutput -} - -type ClusterWorkloadTypeArgs struct { - Clients ClusterWorkloadTypeClientsInput `pulumi:"clients"` -} - -func (ClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterWorkloadType)(nil)).Elem() -} - -func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypeOutput() ClusterWorkloadTypeOutput { - return i.ToClusterWorkloadTypeOutputWithContext(context.Background()) -} - -func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypeOutputWithContext(ctx context.Context) ClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeOutput) -} - -func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { - return i.ToClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeOutput).ToClusterWorkloadTypePtrOutputWithContext(ctx) -} - -// ClusterWorkloadTypePtrInput is an input type that accepts ClusterWorkloadTypeArgs, ClusterWorkloadTypePtr and ClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `ClusterWorkloadTypePtrInput` via: -// -// ClusterWorkloadTypeArgs{...} -// -// or: -// -// nil -type ClusterWorkloadTypePtrInput interface { - pulumi.Input - - ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput - ToClusterWorkloadTypePtrOutputWithContext(context.Context) ClusterWorkloadTypePtrOutput -} - -type clusterWorkloadTypePtrType ClusterWorkloadTypeArgs - -func ClusterWorkloadTypePtr(v *ClusterWorkloadTypeArgs) ClusterWorkloadTypePtrInput { - return (*clusterWorkloadTypePtrType)(v) -} - -func (*clusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterWorkloadType)(nil)).Elem() -} - -func (i *clusterWorkloadTypePtrType) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { - return i.ToClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (i *clusterWorkloadTypePtrType) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypePtrOutput) -} - -type ClusterWorkloadTypeOutput struct{ *pulumi.OutputState } - -func (ClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterWorkloadType)(nil)).Elem() -} - -func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypeOutput() ClusterWorkloadTypeOutput { - return o -} - -func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypeOutputWithContext(ctx context.Context) ClusterWorkloadTypeOutput { - return o -} - -func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { - return o.ToClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterWorkloadType) *ClusterWorkloadType { - return &v - }).(ClusterWorkloadTypePtrOutput) -} - -func (o ClusterWorkloadTypeOutput) Clients() ClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v ClusterWorkloadType) ClusterWorkloadTypeClients { return v.Clients }).(ClusterWorkloadTypeClientsOutput) -} - -type ClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } - -func (ClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterWorkloadType)(nil)).Elem() -} - -func (o ClusterWorkloadTypePtrOutput) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { - return o -} - -func (o ClusterWorkloadTypePtrOutput) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { - return o -} - -func (o ClusterWorkloadTypePtrOutput) Elem() ClusterWorkloadTypeOutput { - return o.ApplyT(func(v *ClusterWorkloadType) ClusterWorkloadType { - if v != nil { - return *v - } - var ret ClusterWorkloadType - return ret - }).(ClusterWorkloadTypeOutput) -} - -func (o ClusterWorkloadTypePtrOutput) Clients() ClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *ClusterWorkloadType) *ClusterWorkloadTypeClients { - if v == nil { - return nil - } - return &v.Clients - }).(ClusterWorkloadTypeClientsPtrOutput) -} - -type ClusterWorkloadTypeClients struct { - // boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ - // WorkloadType: &databricks.ClusterWorkloadTypeArgs{ - // Clients: &databricks.ClusterWorkloadTypeClientsArgs{ - // Jobs: pulumi.Bool(false), - // Notebooks: pulumi.Bool(true), - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - Jobs *bool `pulumi:"jobs"` - // boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. - Notebooks *bool `pulumi:"notebooks"` -} - -// ClusterWorkloadTypeClientsInput is an input type that accepts ClusterWorkloadTypeClientsArgs and ClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `ClusterWorkloadTypeClientsInput` via: -// -// ClusterWorkloadTypeClientsArgs{...} -type ClusterWorkloadTypeClientsInput interface { - pulumi.Input - - ToClusterWorkloadTypeClientsOutput() ClusterWorkloadTypeClientsOutput - ToClusterWorkloadTypeClientsOutputWithContext(context.Context) ClusterWorkloadTypeClientsOutput -} - -type ClusterWorkloadTypeClientsArgs struct { - // boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ - // WorkloadType: &databricks.ClusterWorkloadTypeArgs{ - // Clients: &databricks.ClusterWorkloadTypeClientsArgs{ - // Jobs: pulumi.Bool(false), - // Notebooks: pulumi.Bool(true), - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - // boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` -} - -func (ClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterWorkloadTypeClients)(nil)).Elem() -} - -func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsOutput() ClusterWorkloadTypeClientsOutput { - return i.ToClusterWorkloadTypeClientsOutputWithContext(context.Background()) -} - -func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeClientsOutput) -} - -func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { - return i.ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) -} - -func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeClientsOutput).ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx) -} - -// ClusterWorkloadTypeClientsPtrInput is an input type that accepts ClusterWorkloadTypeClientsArgs, ClusterWorkloadTypeClientsPtr and ClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `ClusterWorkloadTypeClientsPtrInput` via: -// -// ClusterWorkloadTypeClientsArgs{...} -// -// or: -// -// nil -type ClusterWorkloadTypeClientsPtrInput interface { - pulumi.Input - - ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput - ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) ClusterWorkloadTypeClientsPtrOutput -} - -type clusterWorkloadTypeClientsPtrType ClusterWorkloadTypeClientsArgs - -func ClusterWorkloadTypeClientsPtr(v *ClusterWorkloadTypeClientsArgs) ClusterWorkloadTypeClientsPtrInput { - return (*clusterWorkloadTypeClientsPtrType)(v) -} - -func (*clusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterWorkloadTypeClients)(nil)).Elem() -} - -func (i *clusterWorkloadTypeClientsPtrType) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { - return i.ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) -} - -func (i *clusterWorkloadTypeClientsPtrType) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeClientsPtrOutput) -} - -type ClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } - -func (ClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterWorkloadTypeClients)(nil)).Elem() -} - -func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsOutput() ClusterWorkloadTypeClientsOutput { - return o -} - -func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsOutput { - return o -} - -func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { - return o.ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) -} - -func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterWorkloadTypeClients) *ClusterWorkloadTypeClients { - return &v - }).(ClusterWorkloadTypeClientsPtrOutput) -} - -// boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ -// WorkloadType: &databricks.ClusterWorkloadTypeArgs{ -// Clients: &databricks.ClusterWorkloadTypeClientsArgs{ -// Jobs: pulumi.Bool(false), -// Notebooks: pulumi.Bool(true), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) -} - -// boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. -func (o ClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) -} - -type ClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } - -func (ClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterWorkloadTypeClients)(nil)).Elem() -} - -func (o ClusterWorkloadTypeClientsPtrOutput) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { - return o -} - -func (o ClusterWorkloadTypeClientsPtrOutput) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { - return o -} - -func (o ClusterWorkloadTypeClientsPtrOutput) Elem() ClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *ClusterWorkloadTypeClients) ClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret ClusterWorkloadTypeClients - return ret - }).(ClusterWorkloadTypeClientsOutput) -} - -// boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ -// WorkloadType: &databricks.ClusterWorkloadTypeArgs{ -// Clients: &databricks.ClusterWorkloadTypeClientsArgs{ -// Jobs: pulumi.Bool(false), -// Notebooks: pulumi.Bool(true), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o ClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) -} - -// boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. -func (o ClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) -} - -type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace struct { - ComplianceStandards []string `pulumi:"complianceStandards"` - IsEnabled bool `pulumi:"isEnabled"` -} - -// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs and ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput values. -// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput` via: -// -// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{...} -type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput interface { - pulumi.Input - - ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput - ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput -} - -type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs struct { - ComplianceStandards pulumi.StringArrayInput `pulumi:"complianceStandards"` - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` -} - -func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() -} - -func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { - return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(context.Background()) -} - -func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) -} - -func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) -} - -func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput).ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx) -} - -// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs, ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtr and ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput values. -// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput` via: -// -// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{...} -// -// or: -// -// nil -type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput interface { - pulumi.Input - - ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput - ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput -} - -type complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs - -func ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtr(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput { - return (*complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType)(v) -} - -func (*complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() -} - -func (i *complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) -} - -func (i *complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) -} - -type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput struct{ *pulumi.OutputState } - -func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { - return o -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { - return o -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return o.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { - return &v - }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ComplianceStandards() pulumi.StringArrayOutput { - return o.ApplyT(func(v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) []string { - return v.ComplianceStandards - }).(pulumi.StringArrayOutput) -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) bool { - return v.IsEnabled - }).(pulumi.BoolOutput) -} - -type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput struct{ *pulumi.OutputState } - -func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return o -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { - return o -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) Elem() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { - return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { - if v != nil { - return *v - } - var ret ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace - return ret - }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ComplianceStandards() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) []string { - if v == nil { - return nil - } - return v.ComplianceStandards - }).(pulumi.StringArrayOutput) -} - -func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *bool { - if v == nil { - return nil - } - return &v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -type CustomAppIntegrationTokenAccessPolicy struct { - // access token time to live (TTL) in minutes. - AccessTokenTtlInMinutes *int `pulumi:"accessTokenTtlInMinutes"` - // refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. - RefreshTokenTtlInMinutes *int `pulumi:"refreshTokenTtlInMinutes"` -} - -// CustomAppIntegrationTokenAccessPolicyInput is an input type that accepts CustomAppIntegrationTokenAccessPolicyArgs and CustomAppIntegrationTokenAccessPolicyOutput values. -// You can construct a concrete instance of `CustomAppIntegrationTokenAccessPolicyInput` via: -// -// CustomAppIntegrationTokenAccessPolicyArgs{...} -type CustomAppIntegrationTokenAccessPolicyInput interface { - pulumi.Input - - ToCustomAppIntegrationTokenAccessPolicyOutput() CustomAppIntegrationTokenAccessPolicyOutput - ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(context.Context) CustomAppIntegrationTokenAccessPolicyOutput -} - -type CustomAppIntegrationTokenAccessPolicyArgs struct { - // access token time to live (TTL) in minutes. - AccessTokenTtlInMinutes pulumi.IntPtrInput `pulumi:"accessTokenTtlInMinutes"` - // refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. - RefreshTokenTtlInMinutes pulumi.IntPtrInput `pulumi:"refreshTokenTtlInMinutes"` -} - -func (CustomAppIntegrationTokenAccessPolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() -} - -func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyOutput() CustomAppIntegrationTokenAccessPolicyOutput { - return i.ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(context.Background()) -} - -func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomAppIntegrationTokenAccessPolicyOutput) -} - -func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { - return i.ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Background()) -} - -func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomAppIntegrationTokenAccessPolicyOutput).ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx) -} - -// CustomAppIntegrationTokenAccessPolicyPtrInput is an input type that accepts CustomAppIntegrationTokenAccessPolicyArgs, CustomAppIntegrationTokenAccessPolicyPtr and CustomAppIntegrationTokenAccessPolicyPtrOutput values. -// You can construct a concrete instance of `CustomAppIntegrationTokenAccessPolicyPtrInput` via: -// -// CustomAppIntegrationTokenAccessPolicyArgs{...} -// -// or: -// -// nil -type CustomAppIntegrationTokenAccessPolicyPtrInput interface { - pulumi.Input - - ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput - ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput -} - -type customAppIntegrationTokenAccessPolicyPtrType CustomAppIntegrationTokenAccessPolicyArgs - -func CustomAppIntegrationTokenAccessPolicyPtr(v *CustomAppIntegrationTokenAccessPolicyArgs) CustomAppIntegrationTokenAccessPolicyPtrInput { - return (*customAppIntegrationTokenAccessPolicyPtrType)(v) -} - -func (*customAppIntegrationTokenAccessPolicyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() -} - -func (i *customAppIntegrationTokenAccessPolicyPtrType) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { - return i.ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Background()) -} - -func (i *customAppIntegrationTokenAccessPolicyPtrType) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomAppIntegrationTokenAccessPolicyPtrOutput) -} - -type CustomAppIntegrationTokenAccessPolicyOutput struct{ *pulumi.OutputState } - -func (CustomAppIntegrationTokenAccessPolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() -} - -func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyOutput() CustomAppIntegrationTokenAccessPolicyOutput { - return o -} - -func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyOutput { - return o -} - -func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { - return o.ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Background()) -} - -func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomAppIntegrationTokenAccessPolicy) *CustomAppIntegrationTokenAccessPolicy { - return &v - }).(CustomAppIntegrationTokenAccessPolicyPtrOutput) -} - -// access token time to live (TTL) in minutes. -func (o CustomAppIntegrationTokenAccessPolicyOutput) AccessTokenTtlInMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v CustomAppIntegrationTokenAccessPolicy) *int { return v.AccessTokenTtlInMinutes }).(pulumi.IntPtrOutput) -} - -// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. -func (o CustomAppIntegrationTokenAccessPolicyOutput) RefreshTokenTtlInMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v CustomAppIntegrationTokenAccessPolicy) *int { return v.RefreshTokenTtlInMinutes }).(pulumi.IntPtrOutput) -} - -type CustomAppIntegrationTokenAccessPolicyPtrOutput struct{ *pulumi.OutputState } - -func (CustomAppIntegrationTokenAccessPolicyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() -} - -func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { - return o -} - -func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { - return o -} - -func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) Elem() CustomAppIntegrationTokenAccessPolicyOutput { - return o.ApplyT(func(v *CustomAppIntegrationTokenAccessPolicy) CustomAppIntegrationTokenAccessPolicy { - if v != nil { - return *v - } - var ret CustomAppIntegrationTokenAccessPolicy - return ret - }).(CustomAppIntegrationTokenAccessPolicyOutput) -} - -// access token time to live (TTL) in minutes. -func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) AccessTokenTtlInMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *CustomAppIntegrationTokenAccessPolicy) *int { - if v == nil { - return nil - } - return v.AccessTokenTtlInMinutes - }).(pulumi.IntPtrOutput) -} - -// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. -func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) RefreshTokenTtlInMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *CustomAppIntegrationTokenAccessPolicy) *int { - if v == nil { - return nil - } - return v.RefreshTokenTtlInMinutes - }).(pulumi.IntPtrOutput) -} - -type DefaultNamespaceSettingNamespace struct { - // The value for the setting. - Value *string `pulumi:"value"` -} - -// DefaultNamespaceSettingNamespaceInput is an input type that accepts DefaultNamespaceSettingNamespaceArgs and DefaultNamespaceSettingNamespaceOutput values. -// You can construct a concrete instance of `DefaultNamespaceSettingNamespaceInput` via: -// -// DefaultNamespaceSettingNamespaceArgs{...} -type DefaultNamespaceSettingNamespaceInput interface { - pulumi.Input - - ToDefaultNamespaceSettingNamespaceOutput() DefaultNamespaceSettingNamespaceOutput - ToDefaultNamespaceSettingNamespaceOutputWithContext(context.Context) DefaultNamespaceSettingNamespaceOutput -} - -type DefaultNamespaceSettingNamespaceArgs struct { - // The value for the setting. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (DefaultNamespaceSettingNamespaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DefaultNamespaceSettingNamespace)(nil)).Elem() -} - -func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespaceOutput() DefaultNamespaceSettingNamespaceOutput { - return i.ToDefaultNamespaceSettingNamespaceOutputWithContext(context.Background()) -} - -func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespaceOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(DefaultNamespaceSettingNamespaceOutput) -} - -func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { - return i.ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Background()) -} - -func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DefaultNamespaceSettingNamespaceOutput).ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx) -} - -// DefaultNamespaceSettingNamespacePtrInput is an input type that accepts DefaultNamespaceSettingNamespaceArgs, DefaultNamespaceSettingNamespacePtr and DefaultNamespaceSettingNamespacePtrOutput values. -// You can construct a concrete instance of `DefaultNamespaceSettingNamespacePtrInput` via: -// -// DefaultNamespaceSettingNamespaceArgs{...} -// -// or: -// -// nil -type DefaultNamespaceSettingNamespacePtrInput interface { - pulumi.Input - - ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput - ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Context) DefaultNamespaceSettingNamespacePtrOutput -} - -type defaultNamespaceSettingNamespacePtrType DefaultNamespaceSettingNamespaceArgs - -func DefaultNamespaceSettingNamespacePtr(v *DefaultNamespaceSettingNamespaceArgs) DefaultNamespaceSettingNamespacePtrInput { - return (*defaultNamespaceSettingNamespacePtrType)(v) -} - -func (*defaultNamespaceSettingNamespacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DefaultNamespaceSettingNamespace)(nil)).Elem() -} - -func (i *defaultNamespaceSettingNamespacePtrType) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { - return i.ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Background()) -} - -func (i *defaultNamespaceSettingNamespacePtrType) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DefaultNamespaceSettingNamespacePtrOutput) -} - -type DefaultNamespaceSettingNamespaceOutput struct{ *pulumi.OutputState } - -func (DefaultNamespaceSettingNamespaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DefaultNamespaceSettingNamespace)(nil)).Elem() -} - -func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespaceOutput() DefaultNamespaceSettingNamespaceOutput { - return o -} - -func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespaceOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespaceOutput { - return o -} - -func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { - return o.ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Background()) -} - -func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DefaultNamespaceSettingNamespace) *DefaultNamespaceSettingNamespace { - return &v - }).(DefaultNamespaceSettingNamespacePtrOutput) -} - -// The value for the setting. -func (o DefaultNamespaceSettingNamespaceOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v DefaultNamespaceSettingNamespace) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type DefaultNamespaceSettingNamespacePtrOutput struct{ *pulumi.OutputState } - -func (DefaultNamespaceSettingNamespacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DefaultNamespaceSettingNamespace)(nil)).Elem() -} - -func (o DefaultNamespaceSettingNamespacePtrOutput) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { - return o -} - -func (o DefaultNamespaceSettingNamespacePtrOutput) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { - return o + +// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. +func (o ClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o DefaultNamespaceSettingNamespacePtrOutput) Elem() DefaultNamespaceSettingNamespaceOutput { - return o.ApplyT(func(v *DefaultNamespaceSettingNamespace) DefaultNamespaceSettingNamespace { - if v != nil { - return *v +// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. +func (o ClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { + if v == nil { + return nil } - var ret DefaultNamespaceSettingNamespace - return ret - }).(DefaultNamespaceSettingNamespaceOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -// The value for the setting. -func (o DefaultNamespaceSettingNamespacePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DefaultNamespaceSettingNamespace) *string { +// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. +func (o ClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Value + return v.Region }).(pulumi.StringPtrOutput) } -type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace struct { - IsEnabled bool `pulumi:"isEnabled"` +type ClusterClusterMountInfo struct { + // path inside the Spark container. + // + // For example, you can mount Azure Data Lake Storage container using the following code: + // + // ```go + // package main + // + // import ( + // "fmt" + // + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // storageAccount := "ewfw3ggwegwg" + // storageContainer := "test" + // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ + // ClusterMountInfos: databricks.ClusterClusterMountInfoArray{ + // &databricks.ClusterClusterMountInfoArgs{ + // NetworkFilesystemInfo: &databricks.ClusterClusterMountInfoNetworkFilesystemInfoArgs{ + // ServerAddress: pulumi.Sprintf("%v.blob.core.windows.net", storageAccount), + // MountOptions: pulumi.String("sec=sys,vers=3,nolock,proto=tcp"), + // }, + // RemoteMountDirPath: pulumi.Sprintf("%v/%v", storageAccount, storageContainer), + // LocalMountDirPath: pulumi.String("/mnt/nfs-test"), + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + LocalMountDirPath string `pulumi:"localMountDirPath"` + // block specifying connection. It consists of: + NetworkFilesystemInfo ClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + // string specifying path to mount on the remote service. + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs and EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput values. -// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput` via: +// ClusterClusterMountInfoInput is an input type that accepts ClusterClusterMountInfoArgs and ClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `ClusterClusterMountInfoInput` via: // -// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{...} -type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput interface { +// ClusterClusterMountInfoArgs{...} +type ClusterClusterMountInfoInput interface { pulumi.Input - ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput - ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput -} - -type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs struct { - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` -} - -func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() + ToClusterClusterMountInfoOutput() ClusterClusterMountInfoOutput + ToClusterClusterMountInfoOutputWithContext(context.Context) ClusterClusterMountInfoOutput } -func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { - return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(context.Background()) +type ClusterClusterMountInfoArgs struct { + // path inside the Spark container. + // + // For example, you can mount Azure Data Lake Storage container using the following code: + // + // ```go + // package main + // + // import ( + // "fmt" + // + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // storageAccount := "ewfw3ggwegwg" + // storageContainer := "test" + // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ + // ClusterMountInfos: databricks.ClusterClusterMountInfoArray{ + // &databricks.ClusterClusterMountInfoArgs{ + // NetworkFilesystemInfo: &databricks.ClusterClusterMountInfoNetworkFilesystemInfoArgs{ + // ServerAddress: pulumi.Sprintf("%v.blob.core.windows.net", storageAccount), + // MountOptions: pulumi.String("sec=sys,vers=3,nolock,proto=tcp"), + // }, + // RemoteMountDirPath: pulumi.Sprintf("%v/%v", storageAccount, storageContainer), + // LocalMountDirPath: pulumi.String("/mnt/nfs-test"), + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + // block specifying connection. It consists of: + NetworkFilesystemInfo ClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + // string specifying path to mount on the remote service. + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) +func (ClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterMountInfo)(nil)).Elem() } -func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { - return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) +func (i ClusterClusterMountInfoArgs) ToClusterClusterMountInfoOutput() ClusterClusterMountInfoOutput { + return i.ToClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput).ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx) +func (i ClusterClusterMountInfoArgs) ToClusterClusterMountInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterMountInfoOutput) } -// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs, EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtr and EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput values. -// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput` via: -// -// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{...} -// -// or: +// ClusterClusterMountInfoArrayInput is an input type that accepts ClusterClusterMountInfoArray and ClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `ClusterClusterMountInfoArrayInput` via: // -// nil -type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput interface { +// ClusterClusterMountInfoArray{ ClusterClusterMountInfoArgs{...} } +type ClusterClusterMountInfoArrayInput interface { pulumi.Input - ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput - ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput + ToClusterClusterMountInfoArrayOutput() ClusterClusterMountInfoArrayOutput + ToClusterClusterMountInfoArrayOutputWithContext(context.Context) ClusterClusterMountInfoArrayOutput } -type enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs - -func EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtr(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput { - return (*enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType)(v) -} +type ClusterClusterMountInfoArray []ClusterClusterMountInfoInput -func (*enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +func (ClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterClusterMountInfo)(nil)).Elem() } -func (i *enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { - return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) +func (i ClusterClusterMountInfoArray) ToClusterClusterMountInfoArrayOutput() ClusterClusterMountInfoArrayOutput { + return i.ToClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) +func (i ClusterClusterMountInfoArray) ToClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) ClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterMountInfoArrayOutput) } -type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput struct{ *pulumi.OutputState } +type ClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +func (ClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterMountInfo)(nil)).Elem() } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { +func (o ClusterClusterMountInfoOutput) ToClusterClusterMountInfoOutput() ClusterClusterMountInfoOutput { return o } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { +func (o ClusterClusterMountInfoOutput) ToClusterClusterMountInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoOutput { return o } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { - return o.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) +// path inside the Spark container. +// +// For example, you can mount Azure Data Lake Storage container using the following code: +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// storageAccount := "ewfw3ggwegwg" +// storageContainer := "test" +// _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ +// ClusterMountInfos: databricks.ClusterClusterMountInfoArray{ +// &databricks.ClusterClusterMountInfoArgs{ +// NetworkFilesystemInfo: &databricks.ClusterClusterMountInfoNetworkFilesystemInfoArgs{ +// ServerAddress: pulumi.Sprintf("%v.blob.core.windows.net", storageAccount), +// MountOptions: pulumi.String("sec=sys,vers=3,nolock,proto=tcp"), +// }, +// RemoteMountDirPath: pulumi.Sprintf("%v/%v", storageAccount, storageContainer), +// LocalMountDirPath: pulumi.String("/mnt/nfs-test"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v ClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { - return &v - }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) +// block specifying connection. It consists of: +func (o ClusterClusterMountInfoOutput) NetworkFilesystemInfo() ClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v ClusterClusterMountInfo) ClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(ClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) bool { - return v.IsEnabled - }).(pulumi.BoolOutput) +// string specifying path to mount on the remote service. +func (o ClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput struct{ *pulumi.OutputState } +type ClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() +func (ClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterClusterMountInfo)(nil)).Elem() } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { +func (o ClusterClusterMountInfoArrayOutput) ToClusterClusterMountInfoArrayOutput() ClusterClusterMountInfoArrayOutput { return o } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { +func (o ClusterClusterMountInfoArrayOutput) ToClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) ClusterClusterMountInfoArrayOutput { return o } -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) Elem() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { - return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { - if v != nil { - return *v - } - var ret EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace - return ret - }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) -} - -func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *bool { - if v == nil { - return nil - } - return &v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -type ExternalLocationEncryptionDetails struct { - SseEncryptionDetails *ExternalLocationEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` -} - -// ExternalLocationEncryptionDetailsInput is an input type that accepts ExternalLocationEncryptionDetailsArgs and ExternalLocationEncryptionDetailsOutput values. -// You can construct a concrete instance of `ExternalLocationEncryptionDetailsInput` via: -// -// ExternalLocationEncryptionDetailsArgs{...} -type ExternalLocationEncryptionDetailsInput interface { - pulumi.Input - - ToExternalLocationEncryptionDetailsOutput() ExternalLocationEncryptionDetailsOutput - ToExternalLocationEncryptionDetailsOutputWithContext(context.Context) ExternalLocationEncryptionDetailsOutput -} - -type ExternalLocationEncryptionDetailsArgs struct { - SseEncryptionDetails ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` -} - -func (ExternalLocationEncryptionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ExternalLocationEncryptionDetails)(nil)).Elem() -} - -func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsOutput() ExternalLocationEncryptionDetailsOutput { - return i.ToExternalLocationEncryptionDetailsOutputWithContext(context.Background()) -} - -func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsOutput) -} - -func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { - return i.ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Background()) +func (o ClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) ClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterClusterMountInfo { + return vs[0].([]ClusterClusterMountInfo)[vs[1].(int)] + }).(ClusterClusterMountInfoOutput) } -func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsOutput).ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx) +type ClusterClusterMountInfoNetworkFilesystemInfo struct { + // string that will be passed as options passed to the `mount` command. + MountOptions *string `pulumi:"mountOptions"` + // host name. + ServerAddress string `pulumi:"serverAddress"` } -// ExternalLocationEncryptionDetailsPtrInput is an input type that accepts ExternalLocationEncryptionDetailsArgs, ExternalLocationEncryptionDetailsPtr and ExternalLocationEncryptionDetailsPtrOutput values. -// You can construct a concrete instance of `ExternalLocationEncryptionDetailsPtrInput` via: -// -// ExternalLocationEncryptionDetailsArgs{...} -// -// or: +// ClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts ClusterClusterMountInfoNetworkFilesystemInfoArgs and ClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `ClusterClusterMountInfoNetworkFilesystemInfoInput` via: // -// nil -type ExternalLocationEncryptionDetailsPtrInput interface { +// ClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type ClusterClusterMountInfoNetworkFilesystemInfoInput interface { pulumi.Input - ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput - ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Context) ExternalLocationEncryptionDetailsPtrOutput -} - -type externalLocationEncryptionDetailsPtrType ExternalLocationEncryptionDetailsArgs - -func ExternalLocationEncryptionDetailsPtr(v *ExternalLocationEncryptionDetailsArgs) ExternalLocationEncryptionDetailsPtrInput { - return (*externalLocationEncryptionDetailsPtrType)(v) -} - -func (*externalLocationEncryptionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ExternalLocationEncryptionDetails)(nil)).Elem() -} - -func (i *externalLocationEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { - return i.ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Background()) -} - -func (i *externalLocationEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsPtrOutput) -} - -type ExternalLocationEncryptionDetailsOutput struct{ *pulumi.OutputState } - -func (ExternalLocationEncryptionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ExternalLocationEncryptionDetails)(nil)).Elem() -} - -func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsOutput() ExternalLocationEncryptionDetailsOutput { - return o + ToClusterClusterMountInfoNetworkFilesystemInfoOutput() ClusterClusterMountInfoNetworkFilesystemInfoOutput + ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) ClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsOutput { - return o +type ClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + // string that will be passed as options passed to the `mount` command. + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + // host name. + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { - return o.ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Background()) +func (ClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ExternalLocationEncryptionDetails) *ExternalLocationEncryptionDetails { - return &v - }).(ExternalLocationEncryptionDetailsPtrOutput) +func (i ClusterClusterMountInfoNetworkFilesystemInfoArgs) ToClusterClusterMountInfoNetworkFilesystemInfoOutput() ClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o ExternalLocationEncryptionDetailsOutput) SseEncryptionDetails() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyT(func(v ExternalLocationEncryptionDetails) *ExternalLocationEncryptionDetailsSseEncryptionDetails { - return v.SseEncryptionDetails - }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) +func (i ClusterClusterMountInfoNetworkFilesystemInfoArgs) ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterClusterMountInfoNetworkFilesystemInfoOutput) } -type ExternalLocationEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } +type ClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } -func (ExternalLocationEncryptionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ExternalLocationEncryptionDetails)(nil)).Elem() +func (ClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o ExternalLocationEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { +func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) ToClusterClusterMountInfoNetworkFilesystemInfoOutput() ClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o ExternalLocationEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { +func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) ToClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) ClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o ExternalLocationEncryptionDetailsPtrOutput) Elem() ExternalLocationEncryptionDetailsOutput { - return o.ApplyT(func(v *ExternalLocationEncryptionDetails) ExternalLocationEncryptionDetails { - if v != nil { - return *v - } - var ret ExternalLocationEncryptionDetails - return ret - }).(ExternalLocationEncryptionDetailsOutput) +// string that will be passed as options passed to the `mount` command. +func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o ExternalLocationEncryptionDetailsPtrOutput) SseEncryptionDetails() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyT(func(v *ExternalLocationEncryptionDetails) *ExternalLocationEncryptionDetailsSseEncryptionDetails { - if v == nil { - return nil - } - return v.SseEncryptionDetails - }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) +// host name. +func (o ClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v ClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) } -type ExternalLocationEncryptionDetailsSseEncryptionDetails struct { - Algorithm *string `pulumi:"algorithm"` - AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` +type ClusterDockerImage struct { + // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + // + // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: + // + // ```go + // package main + // + // import ( + // "fmt" + // + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ + // Build: []map[string]interface{}{ + // map[string]interface{}{}, + // }, + // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), + // }) + // if err != nil { + // return err + // } + // _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ + // DockerImage: &databricks.ClusterDockerImageArgs{ + // Url: this.Name, + // BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ + // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), + // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + BasicAuth *ClusterDockerImageBasicAuth `pulumi:"basicAuth"` + // URL for the Docker image + Url string `pulumi:"url"` } -// ExternalLocationEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs and ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput values. -// You can construct a concrete instance of `ExternalLocationEncryptionDetailsSseEncryptionDetailsInput` via: +// ClusterDockerImageInput is an input type that accepts ClusterDockerImageArgs and ClusterDockerImageOutput values. +// You can construct a concrete instance of `ClusterDockerImageInput` via: // -// ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs{...} -type ExternalLocationEncryptionDetailsSseEncryptionDetailsInput interface { +// ClusterDockerImageArgs{...} +type ClusterDockerImageInput interface { pulumi.Input - ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput - ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput + ToClusterDockerImageOutput() ClusterDockerImageOutput + ToClusterDockerImageOutputWithContext(context.Context) ClusterDockerImageOutput } -type ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs struct { - Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` - AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` +type ClusterDockerImageArgs struct { + // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + // + // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: + // + // ```go + // package main + // + // import ( + // "fmt" + // + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ + // Build: []map[string]interface{}{ + // map[string]interface{}{}, + // }, + // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), + // }) + // if err != nil { + // return err + // } + // _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ + // DockerImage: &databricks.ClusterDockerImageArgs{ + // Url: this.Name, + // BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ + // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), + // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + BasicAuth ClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + // URL for the Docker image + Url pulumi.StringInput `pulumi:"url"` } -func (ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (ClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterDockerImage)(nil)).Elem() } -func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { - return i.ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) +func (i ClusterDockerImageArgs) ToClusterDockerImageOutput() ClusterDockerImageOutput { + return i.ToClusterDockerImageOutputWithContext(context.Background()) } -func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) +func (i ClusterDockerImageArgs) ToClusterDockerImageOutputWithContext(ctx context.Context) ClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageOutput) } -func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return i.ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i ClusterDockerImageArgs) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { + return i.ToClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput).ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) +func (i ClusterDockerImageArgs) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageOutput).ToClusterDockerImagePtrOutputWithContext(ctx) } -// ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs, ExternalLocationEncryptionDetailsSseEncryptionDetailsPtr and ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput values. -// You can construct a concrete instance of `ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput` via: +// ClusterDockerImagePtrInput is an input type that accepts ClusterDockerImageArgs, ClusterDockerImagePtr and ClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `ClusterDockerImagePtrInput` via: // -// ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs{...} +// ClusterDockerImageArgs{...} // // or: // // nil -type ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput interface { +type ClusterDockerImagePtrInput interface { pulumi.Input - ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput - ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput + ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput + ToClusterDockerImagePtrOutputWithContext(context.Context) ClusterDockerImagePtrOutput } -type externalLocationEncryptionDetailsSseEncryptionDetailsPtrType ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs +type clusterDockerImagePtrType ClusterDockerImageArgs -func ExternalLocationEncryptionDetailsSseEncryptionDetailsPtr(v *ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput { - return (*externalLocationEncryptionDetailsSseEncryptionDetailsPtrType)(v) +func ClusterDockerImagePtr(v *ClusterDockerImageArgs) ClusterDockerImagePtrInput { + return (*clusterDockerImagePtrType)(v) } -func (*externalLocationEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (*clusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterDockerImage)(nil)).Elem() } -func (i *externalLocationEncryptionDetailsSseEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return i.ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i *clusterDockerImagePtrType) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { + return i.ToClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *externalLocationEncryptionDetailsSseEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) +func (i *clusterDockerImagePtrType) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImagePtrOutput) } -type ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } +type ClusterDockerImageOutput struct{ *pulumi.OutputState } -func (ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (ClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterDockerImage)(nil)).Elem() } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { +func (o ClusterDockerImageOutput) ToClusterDockerImageOutput() ClusterDockerImageOutput { return o } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { +func (o ClusterDockerImageOutput) ToClusterDockerImageOutputWithContext(ctx context.Context) ClusterDockerImageOutput { return o } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (o ClusterDockerImageOutput) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { + return o.ToClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ExternalLocationEncryptionDetailsSseEncryptionDetails) *ExternalLocationEncryptionDetailsSseEncryptionDetails { +func (o ClusterDockerImageOutput) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterDockerImage) *ClusterDockerImage { return &v - }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) + }).(ClusterDockerImagePtrOutput) } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { return v.Algorithm }).(pulumi.StringPtrOutput) +// `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. +// +// Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ +// Build: []map[string]interface{}{ +// map[string]interface{}{}, +// }, +// Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ +// DockerImage: &databricks.ClusterDockerImageArgs{ +// Url: this.Name, +// BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ +// Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), +// Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterDockerImageOutput) BasicAuth() ClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v ClusterDockerImage) *ClusterDockerImageBasicAuth { return v.BasicAuth }).(ClusterDockerImageBasicAuthPtrOutput) } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { return v.AwsKmsKeyArn }).(pulumi.StringPtrOutput) +// URL for the Docker image +func (o ClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v ClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } +type ClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (ClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterDockerImage)(nil)).Elem() } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { +func (o ClusterDockerImagePtrOutput) ToClusterDockerImagePtrOutput() ClusterDockerImagePtrOutput { return o } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { +func (o ClusterDockerImagePtrOutput) ToClusterDockerImagePtrOutputWithContext(ctx context.Context) ClusterDockerImagePtrOutput { return o } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { - return o.ApplyT(func(v *ExternalLocationEncryptionDetailsSseEncryptionDetails) ExternalLocationEncryptionDetailsSseEncryptionDetails { +func (o ClusterDockerImagePtrOutput) Elem() ClusterDockerImageOutput { + return o.ApplyT(func(v *ClusterDockerImage) ClusterDockerImage { if v != nil { return *v } - var ret ExternalLocationEncryptionDetailsSseEncryptionDetails + var ret ClusterDockerImage return ret - }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) + }).(ClusterDockerImageOutput) } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { +// `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. +// +// Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ +// Build: []map[string]interface{}{ +// map[string]interface{}{}, +// }, +// Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewCluster(ctx, "this", &databricks.ClusterArgs{ +// DockerImage: &databricks.ClusterDockerImageArgs{ +// Url: this.Name, +// BasicAuth: &databricks.ClusterDockerImageBasicAuthArgs{ +// Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), +// Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterDockerImagePtrOutput) BasicAuth() ClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *ClusterDockerImage) *ClusterDockerImageBasicAuth { if v == nil { return nil } - return v.Algorithm - }).(pulumi.StringPtrOutput) + return v.BasicAuth + }).(ClusterDockerImageBasicAuthPtrOutput) } -func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { +// URL for the Docker image +func (o ClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterDockerImage) *string { if v == nil { return nil } - return v.AwsKmsKeyArn + return &v.Url }).(pulumi.StringPtrOutput) } -type GrantsGrant struct { - Principal string `pulumi:"principal"` - Privileges []string `pulumi:"privileges"` +type ClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GrantsGrantInput is an input type that accepts GrantsGrantArgs and GrantsGrantOutput values. -// You can construct a concrete instance of `GrantsGrantInput` via: +// ClusterDockerImageBasicAuthInput is an input type that accepts ClusterDockerImageBasicAuthArgs and ClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `ClusterDockerImageBasicAuthInput` via: // -// GrantsGrantArgs{...} -type GrantsGrantInput interface { +// ClusterDockerImageBasicAuthArgs{...} +type ClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGrantsGrantOutput() GrantsGrantOutput - ToGrantsGrantOutputWithContext(context.Context) GrantsGrantOutput + ToClusterDockerImageBasicAuthOutput() ClusterDockerImageBasicAuthOutput + ToClusterDockerImageBasicAuthOutputWithContext(context.Context) ClusterDockerImageBasicAuthOutput } -type GrantsGrantArgs struct { - Principal pulumi.StringInput `pulumi:"principal"` - Privileges pulumi.StringArrayInput `pulumi:"privileges"` +type ClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GrantsGrantArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GrantsGrant)(nil)).Elem() +func (ClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GrantsGrantArgs) ToGrantsGrantOutput() GrantsGrantOutput { - return i.ToGrantsGrantOutputWithContext(context.Background()) +func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthOutput() ClusterDockerImageBasicAuthOutput { + return i.ToClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GrantsGrantArgs) ToGrantsGrantOutputWithContext(ctx context.Context) GrantsGrantOutput { - return pulumi.ToOutputWithContext(ctx, i).(GrantsGrantOutput) +func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageBasicAuthOutput) } -// GrantsGrantArrayInput is an input type that accepts GrantsGrantArray and GrantsGrantArrayOutput values. -// You can construct a concrete instance of `GrantsGrantArrayInput` via: +func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { + return i.ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i ClusterDockerImageBasicAuthArgs) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageBasicAuthOutput).ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +} + +// ClusterDockerImageBasicAuthPtrInput is an input type that accepts ClusterDockerImageBasicAuthArgs, ClusterDockerImageBasicAuthPtr and ClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `ClusterDockerImageBasicAuthPtrInput` via: // -// GrantsGrantArray{ GrantsGrantArgs{...} } -type GrantsGrantArrayInput interface { +// ClusterDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type ClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGrantsGrantArrayOutput() GrantsGrantArrayOutput - ToGrantsGrantArrayOutputWithContext(context.Context) GrantsGrantArrayOutput + ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput + ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) ClusterDockerImageBasicAuthPtrOutput } -type GrantsGrantArray []GrantsGrantInput +type clusterDockerImageBasicAuthPtrType ClusterDockerImageBasicAuthArgs -func (GrantsGrantArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GrantsGrant)(nil)).Elem() +func ClusterDockerImageBasicAuthPtr(v *ClusterDockerImageBasicAuthArgs) ClusterDockerImageBasicAuthPtrInput { + return (*clusterDockerImageBasicAuthPtrType)(v) } -func (i GrantsGrantArray) ToGrantsGrantArrayOutput() GrantsGrantArrayOutput { - return i.ToGrantsGrantArrayOutputWithContext(context.Background()) +func (*clusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GrantsGrantArray) ToGrantsGrantArrayOutputWithContext(ctx context.Context) GrantsGrantArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GrantsGrantArrayOutput) +func (i *clusterDockerImageBasicAuthPtrType) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { + return i.ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -type GrantsGrantOutput struct{ *pulumi.OutputState } +func (i *clusterDockerImageBasicAuthPtrType) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterDockerImageBasicAuthPtrOutput) +} -func (GrantsGrantOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GrantsGrant)(nil)).Elem() +type ClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (ClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GrantsGrantOutput) ToGrantsGrantOutput() GrantsGrantOutput { +func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthOutput() ClusterDockerImageBasicAuthOutput { return o } -func (o GrantsGrantOutput) ToGrantsGrantOutputWithContext(ctx context.Context) GrantsGrantOutput { +func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthOutput { return o } -func (o GrantsGrantOutput) Principal() pulumi.StringOutput { - return o.ApplyT(func(v GrantsGrant) string { return v.Principal }).(pulumi.StringOutput) +func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { + return o.ToClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GrantsGrantOutput) Privileges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GrantsGrant) []string { return v.Privileges }).(pulumi.StringArrayOutput) +func (o ClusterDockerImageBasicAuthOutput) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterDockerImageBasicAuth) *ClusterDockerImageBasicAuth { + return &v + }).(ClusterDockerImageBasicAuthPtrOutput) } -type GrantsGrantArrayOutput struct{ *pulumi.OutputState } +func (o ClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v ClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +} -func (GrantsGrantArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GrantsGrant)(nil)).Elem() +func (o ClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v ClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -func (o GrantsGrantArrayOutput) ToGrantsGrantArrayOutput() GrantsGrantArrayOutput { +type ClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (ClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterDockerImageBasicAuth)(nil)).Elem() +} + +func (o ClusterDockerImageBasicAuthPtrOutput) ToClusterDockerImageBasicAuthPtrOutput() ClusterDockerImageBasicAuthPtrOutput { return o } -func (o GrantsGrantArrayOutput) ToGrantsGrantArrayOutputWithContext(ctx context.Context) GrantsGrantArrayOutput { +func (o ClusterDockerImageBasicAuthPtrOutput) ToClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) ClusterDockerImageBasicAuthPtrOutput { return o } -func (o GrantsGrantArrayOutput) Index(i pulumi.IntInput) GrantsGrantOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrantsGrant { - return vs[0].([]GrantsGrant)[vs[1].(int)] - }).(GrantsGrantOutput) +func (o ClusterDockerImageBasicAuthPtrOutput) Elem() ClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *ClusterDockerImageBasicAuth) ClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret ClusterDockerImageBasicAuth + return ret + }).(ClusterDockerImageBasicAuthOutput) } -type InstancePoolAwsAttributes struct { - // (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. +func (o ClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) +} + +func (o ClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type ClusterGcpAttributes struct { + // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. Availability *string `pulumi:"availability"` - // (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - // (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). + // Boot disk size in GB + BootDiskSize *int `pulumi:"bootDiskSize"` + // Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + LocalSsdCount *int `pulumi:"localSsdCount"` + // if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + // Identifier for the availability zone in which the cluster resides. This can be one of the following: + // * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. + // * `AUTO`: Databricks picks an availability zone to schedule the cluster on. + // * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). ZoneId *string `pulumi:"zoneId"` } -// InstancePoolAwsAttributesInput is an input type that accepts InstancePoolAwsAttributesArgs and InstancePoolAwsAttributesOutput values. -// You can construct a concrete instance of `InstancePoolAwsAttributesInput` via: +// ClusterGcpAttributesInput is an input type that accepts ClusterGcpAttributesArgs and ClusterGcpAttributesOutput values. +// You can construct a concrete instance of `ClusterGcpAttributesInput` via: // -// InstancePoolAwsAttributesArgs{...} -type InstancePoolAwsAttributesInput interface { +// ClusterGcpAttributesArgs{...} +type ClusterGcpAttributesInput interface { pulumi.Input - ToInstancePoolAwsAttributesOutput() InstancePoolAwsAttributesOutput - ToInstancePoolAwsAttributesOutputWithContext(context.Context) InstancePoolAwsAttributesOutput + ToClusterGcpAttributesOutput() ClusterGcpAttributesOutput + ToClusterGcpAttributesOutputWithContext(context.Context) ClusterGcpAttributesOutput } -type InstancePoolAwsAttributesArgs struct { - // (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. +type ClusterGcpAttributesArgs struct { + // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. Availability pulumi.StringPtrInput `pulumi:"availability"` - // (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - // (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). + // Boot disk size in GB + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + // Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + // if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + // Identifier for the availability zone in which the cluster resides. This can be one of the following: + // * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. + // * `AUTO`: Databricks picks an availability zone to schedule the cluster on. + // * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (InstancePoolAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolAwsAttributes)(nil)).Elem() +func (ClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterGcpAttributes)(nil)).Elem() } -func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesOutput() InstancePoolAwsAttributesOutput { - return i.ToInstancePoolAwsAttributesOutputWithContext(context.Background()) +func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesOutput() ClusterGcpAttributesOutput { + return i.ToClusterGcpAttributesOutputWithContext(context.Background()) } -func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesOutputWithContext(ctx context.Context) InstancePoolAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAwsAttributesOutput) +func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesOutputWithContext(ctx context.Context) ClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterGcpAttributesOutput) } -func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { - return i.ToInstancePoolAwsAttributesPtrOutputWithContext(context.Background()) +func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { + return i.ToClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAwsAttributesOutput).ToInstancePoolAwsAttributesPtrOutputWithContext(ctx) +func (i ClusterGcpAttributesArgs) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterGcpAttributesOutput).ToClusterGcpAttributesPtrOutputWithContext(ctx) } -// InstancePoolAwsAttributesPtrInput is an input type that accepts InstancePoolAwsAttributesArgs, InstancePoolAwsAttributesPtr and InstancePoolAwsAttributesPtrOutput values. -// You can construct a concrete instance of `InstancePoolAwsAttributesPtrInput` via: +// ClusterGcpAttributesPtrInput is an input type that accepts ClusterGcpAttributesArgs, ClusterGcpAttributesPtr and ClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `ClusterGcpAttributesPtrInput` via: // -// InstancePoolAwsAttributesArgs{...} +// ClusterGcpAttributesArgs{...} // // or: // // nil -type InstancePoolAwsAttributesPtrInput interface { +type ClusterGcpAttributesPtrInput interface { pulumi.Input - ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput - ToInstancePoolAwsAttributesPtrOutputWithContext(context.Context) InstancePoolAwsAttributesPtrOutput + ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput + ToClusterGcpAttributesPtrOutputWithContext(context.Context) ClusterGcpAttributesPtrOutput } -type instancePoolAwsAttributesPtrType InstancePoolAwsAttributesArgs +type clusterGcpAttributesPtrType ClusterGcpAttributesArgs -func InstancePoolAwsAttributesPtr(v *InstancePoolAwsAttributesArgs) InstancePoolAwsAttributesPtrInput { - return (*instancePoolAwsAttributesPtrType)(v) +func ClusterGcpAttributesPtr(v *ClusterGcpAttributesArgs) ClusterGcpAttributesPtrInput { + return (*clusterGcpAttributesPtrType)(v) } -func (*instancePoolAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolAwsAttributes)(nil)).Elem() +func (*clusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterGcpAttributes)(nil)).Elem() } -func (i *instancePoolAwsAttributesPtrType) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { - return i.ToInstancePoolAwsAttributesPtrOutputWithContext(context.Background()) +func (i *clusterGcpAttributesPtrType) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { + return i.ToClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *instancePoolAwsAttributesPtrType) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAwsAttributesPtrOutput) +func (i *clusterGcpAttributesPtrType) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterGcpAttributesPtrOutput) } -type InstancePoolAwsAttributesOutput struct{ *pulumi.OutputState } +type ClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (InstancePoolAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolAwsAttributes)(nil)).Elem() +func (ClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterGcpAttributes)(nil)).Elem() } -func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesOutput() InstancePoolAwsAttributesOutput { +func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesOutput() ClusterGcpAttributesOutput { return o } -func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesOutputWithContext(ctx context.Context) InstancePoolAwsAttributesOutput { +func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesOutputWithContext(ctx context.Context) ClusterGcpAttributesOutput { return o } -func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { - return o.ToInstancePoolAwsAttributesPtrOutputWithContext(context.Background()) +func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { + return o.ToClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolAwsAttributes) *InstancePoolAwsAttributes { +func (o ClusterGcpAttributesOutput) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterGcpAttributes) *ClusterGcpAttributes { return &v - }).(InstancePoolAwsAttributesPtrOutput) + }).(ClusterGcpAttributesPtrOutput) } -// (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. -func (o InstancePoolAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. +func (o ClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +// Boot disk size in GB +func (o ClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +} + +// Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. +func (o ClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +} + +// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. +func (o ClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -// (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* -func (o InstancePoolAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v InstancePoolAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +// if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* +func (o ClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -// (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). -func (o InstancePoolAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// Identifier for the availability zone in which the cluster resides. This can be one of the following: +// * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. +// * `AUTO`: Databricks picks an availability zone to schedule the cluster on. +// * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). +func (o ClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type InstancePoolAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type ClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (InstancePoolAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolAwsAttributes)(nil)).Elem() +func (ClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterGcpAttributes)(nil)).Elem() } -func (o InstancePoolAwsAttributesPtrOutput) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { +func (o ClusterGcpAttributesPtrOutput) ToClusterGcpAttributesPtrOutput() ClusterGcpAttributesPtrOutput { return o } -func (o InstancePoolAwsAttributesPtrOutput) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { +func (o ClusterGcpAttributesPtrOutput) ToClusterGcpAttributesPtrOutputWithContext(ctx context.Context) ClusterGcpAttributesPtrOutput { return o } -func (o InstancePoolAwsAttributesPtrOutput) Elem() InstancePoolAwsAttributesOutput { - return o.ApplyT(func(v *InstancePoolAwsAttributes) InstancePoolAwsAttributes { +func (o ClusterGcpAttributesPtrOutput) Elem() ClusterGcpAttributesOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) ClusterGcpAttributes { if v != nil { return *v } - var ret InstancePoolAwsAttributes + var ret ClusterGcpAttributes return ret - }).(InstancePoolAwsAttributesOutput) + }).(ClusterGcpAttributesOutput) } -// (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. -func (o InstancePoolAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolAwsAttributes) *string { +// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. +func (o ClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) *string { if v == nil { return nil } @@ -9139,10128 +7366,10684 @@ func (o InstancePoolAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } -// (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* -func (o InstancePoolAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *InstancePoolAwsAttributes) *int { +// Boot disk size in GB +func (o ClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) *int { if v == nil { return nil } - return v.SpotBidPricePercent + return v.BootDiskSize }).(pulumi.IntPtrOutput) } -// (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). -func (o InstancePoolAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolAwsAttributes) *string { +// Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. +func (o ClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) *string { if v == nil { return nil } - return v.ZoneId + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -type InstancePoolAzureAttributes struct { - // Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. - Availability *string `pulumi:"availability"` - // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. +func (o ClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -// InstancePoolAzureAttributesInput is an input type that accepts InstancePoolAzureAttributesArgs and InstancePoolAzureAttributesOutput values. -// You can construct a concrete instance of `InstancePoolAzureAttributesInput` via: -// -// InstancePoolAzureAttributesArgs{...} -type InstancePoolAzureAttributesInput interface { - pulumi.Input +// if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* +func (o ClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} - ToInstancePoolAzureAttributesOutput() InstancePoolAzureAttributesOutput - ToInstancePoolAzureAttributesOutputWithContext(context.Context) InstancePoolAzureAttributesOutput +// Identifier for the availability zone in which the cluster resides. This can be one of the following: +// * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. +// * `AUTO`: Databricks picks an availability zone to schedule the cluster on. +// * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). +func (o ClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type InstancePoolAzureAttributesArgs struct { - // Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. - Availability pulumi.StringPtrInput `pulumi:"availability"` - // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type ClusterInitScript struct { + Abfss *ClusterInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *ClusterInitScriptDbfs `pulumi:"dbfs"` + File *ClusterInitScriptFile `pulumi:"file"` + Gcs *ClusterInitScriptGcs `pulumi:"gcs"` + S3 *ClusterInitScriptS3 `pulumi:"s3"` + Volumes *ClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *ClusterInitScriptWorkspace `pulumi:"workspace"` } -func (InstancePoolAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolAzureAttributes)(nil)).Elem() +// ClusterInitScriptInput is an input type that accepts ClusterInitScriptArgs and ClusterInitScriptOutput values. +// You can construct a concrete instance of `ClusterInitScriptInput` via: +// +// ClusterInitScriptArgs{...} +type ClusterInitScriptInput interface { + pulumi.Input + + ToClusterInitScriptOutput() ClusterInitScriptOutput + ToClusterInitScriptOutputWithContext(context.Context) ClusterInitScriptOutput } -func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesOutput() InstancePoolAzureAttributesOutput { - return i.ToInstancePoolAzureAttributesOutputWithContext(context.Background()) +type ClusterInitScriptArgs struct { + Abfss ClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs ClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File ClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs ClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 ClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes ClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace ClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesOutputWithContext(ctx context.Context) InstancePoolAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAzureAttributesOutput) +func (ClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScript)(nil)).Elem() } -func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { - return i.ToInstancePoolAzureAttributesPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptArgs) ToClusterInitScriptOutput() ClusterInitScriptOutput { + return i.ToClusterInitScriptOutputWithContext(context.Background()) } -func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAzureAttributesOutput).ToInstancePoolAzureAttributesPtrOutputWithContext(ctx) +func (i ClusterInitScriptArgs) ToClusterInitScriptOutputWithContext(ctx context.Context) ClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptOutput) } -// InstancePoolAzureAttributesPtrInput is an input type that accepts InstancePoolAzureAttributesArgs, InstancePoolAzureAttributesPtr and InstancePoolAzureAttributesPtrOutput values. -// You can construct a concrete instance of `InstancePoolAzureAttributesPtrInput` via: -// -// InstancePoolAzureAttributesArgs{...} -// -// or: +// ClusterInitScriptArrayInput is an input type that accepts ClusterInitScriptArray and ClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `ClusterInitScriptArrayInput` via: // -// nil -type InstancePoolAzureAttributesPtrInput interface { +// ClusterInitScriptArray{ ClusterInitScriptArgs{...} } +type ClusterInitScriptArrayInput interface { pulumi.Input - ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput - ToInstancePoolAzureAttributesPtrOutputWithContext(context.Context) InstancePoolAzureAttributesPtrOutput + ToClusterInitScriptArrayOutput() ClusterInitScriptArrayOutput + ToClusterInitScriptArrayOutputWithContext(context.Context) ClusterInitScriptArrayOutput } -type instancePoolAzureAttributesPtrType InstancePoolAzureAttributesArgs - -func InstancePoolAzureAttributesPtr(v *InstancePoolAzureAttributesArgs) InstancePoolAzureAttributesPtrInput { - return (*instancePoolAzureAttributesPtrType)(v) -} +type ClusterInitScriptArray []ClusterInitScriptInput -func (*instancePoolAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolAzureAttributes)(nil)).Elem() +func (ClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterInitScript)(nil)).Elem() } -func (i *instancePoolAzureAttributesPtrType) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { - return i.ToInstancePoolAzureAttributesPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptArray) ToClusterInitScriptArrayOutput() ClusterInitScriptArrayOutput { + return i.ToClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *instancePoolAzureAttributesPtrType) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAzureAttributesPtrOutput) +func (i ClusterInitScriptArray) ToClusterInitScriptArrayOutputWithContext(ctx context.Context) ClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptArrayOutput) } -type InstancePoolAzureAttributesOutput struct{ *pulumi.OutputState } +type ClusterInitScriptOutput struct{ *pulumi.OutputState } -func (InstancePoolAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolAzureAttributes)(nil)).Elem() +func (ClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScript)(nil)).Elem() } -func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesOutput() InstancePoolAzureAttributesOutput { +func (o ClusterInitScriptOutput) ToClusterInitScriptOutput() ClusterInitScriptOutput { return o } -func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesOutputWithContext(ctx context.Context) InstancePoolAzureAttributesOutput { +func (o ClusterInitScriptOutput) ToClusterInitScriptOutputWithContext(ctx context.Context) ClusterInitScriptOutput { return o } -func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { - return o.ToInstancePoolAzureAttributesPtrOutputWithContext(context.Background()) +func (o ClusterInitScriptOutput) Abfss() ClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptAbfss { return v.Abfss }).(ClusterInitScriptAbfssPtrOutput) } -func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolAzureAttributes) *InstancePoolAzureAttributes { - return &v - }).(InstancePoolAzureAttributesPtrOutput) +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o ClusterInitScriptOutput) Dbfs() ClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptDbfs { return v.Dbfs }).(ClusterInitScriptDbfsPtrOutput) } -// Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. -func (o InstancePoolAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o ClusterInitScriptOutput) File() ClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptFile { return v.File }).(ClusterInitScriptFilePtrOutput) } -// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. -func (o InstancePoolAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v InstancePoolAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o ClusterInitScriptOutput) Gcs() ClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptGcs { return v.Gcs }).(ClusterInitScriptGcsPtrOutput) } -type InstancePoolAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (o ClusterInitScriptOutput) S3() ClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptS3 { return v.S3 }).(ClusterInitScriptS3PtrOutput) +} -func (InstancePoolAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolAzureAttributes)(nil)).Elem() +func (o ClusterInitScriptOutput) Volumes() ClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptVolumes { return v.Volumes }).(ClusterInitScriptVolumesPtrOutput) } -func (o InstancePoolAzureAttributesPtrOutput) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { - return o +func (o ClusterInitScriptOutput) Workspace() ClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v ClusterInitScript) *ClusterInitScriptWorkspace { return v.Workspace }).(ClusterInitScriptWorkspacePtrOutput) } -func (o InstancePoolAzureAttributesPtrOutput) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { - return o +type ClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (ClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterInitScript)(nil)).Elem() } -func (o InstancePoolAzureAttributesPtrOutput) Elem() InstancePoolAzureAttributesOutput { - return o.ApplyT(func(v *InstancePoolAzureAttributes) InstancePoolAzureAttributes { - if v != nil { - return *v - } - var ret InstancePoolAzureAttributes - return ret - }).(InstancePoolAzureAttributesOutput) +func (o ClusterInitScriptArrayOutput) ToClusterInitScriptArrayOutput() ClusterInitScriptArrayOutput { + return o } -// Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. -func (o InstancePoolAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +func (o ClusterInitScriptArrayOutput) ToClusterInitScriptArrayOutputWithContext(ctx context.Context) ClusterInitScriptArrayOutput { + return o } -// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. -func (o InstancePoolAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *InstancePoolAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o ClusterInitScriptArrayOutput) Index(i pulumi.IntInput) ClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterInitScript { + return vs[0].([]ClusterInitScript)[vs[1].(int)] + }).(ClusterInitScriptOutput) } -type InstancePoolDiskSpec struct { - // (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. - DiskCount *int `pulumi:"diskCount"` - // (Integer) The size of each disk (in GiB) to attach. - DiskSize *int `pulumi:"diskSize"` - DiskType *InstancePoolDiskSpecDiskType `pulumi:"diskType"` +type ClusterInitScriptAbfss struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` } -// InstancePoolDiskSpecInput is an input type that accepts InstancePoolDiskSpecArgs and InstancePoolDiskSpecOutput values. -// You can construct a concrete instance of `InstancePoolDiskSpecInput` via: +// ClusterInitScriptAbfssInput is an input type that accepts ClusterInitScriptAbfssArgs and ClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `ClusterInitScriptAbfssInput` via: // -// InstancePoolDiskSpecArgs{...} -type InstancePoolDiskSpecInput interface { +// ClusterInitScriptAbfssArgs{...} +type ClusterInitScriptAbfssInput interface { pulumi.Input - ToInstancePoolDiskSpecOutput() InstancePoolDiskSpecOutput - ToInstancePoolDiskSpecOutputWithContext(context.Context) InstancePoolDiskSpecOutput + ToClusterInitScriptAbfssOutput() ClusterInitScriptAbfssOutput + ToClusterInitScriptAbfssOutputWithContext(context.Context) ClusterInitScriptAbfssOutput } -type InstancePoolDiskSpecArgs struct { - // (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. - DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` - // (Integer) The size of each disk (in GiB) to attach. - DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` - DiskType InstancePoolDiskSpecDiskTypePtrInput `pulumi:"diskType"` +type ClusterInitScriptAbfssArgs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` } -func (InstancePoolDiskSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolDiskSpec)(nil)).Elem() +func (ClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptAbfss)(nil)).Elem() } -func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecOutput() InstancePoolDiskSpecOutput { - return i.ToInstancePoolDiskSpecOutputWithContext(context.Background()) +func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssOutput() ClusterInitScriptAbfssOutput { + return i.ToClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecOutputWithContext(ctx context.Context) InstancePoolDiskSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecOutput) +func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssOutputWithContext(ctx context.Context) ClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptAbfssOutput) } -func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { - return i.ToInstancePoolDiskSpecPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { + return i.ToClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecOutput).ToInstancePoolDiskSpecPtrOutputWithContext(ctx) +func (i ClusterInitScriptAbfssArgs) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptAbfssOutput).ToClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// InstancePoolDiskSpecPtrInput is an input type that accepts InstancePoolDiskSpecArgs, InstancePoolDiskSpecPtr and InstancePoolDiskSpecPtrOutput values. -// You can construct a concrete instance of `InstancePoolDiskSpecPtrInput` via: +// ClusterInitScriptAbfssPtrInput is an input type that accepts ClusterInitScriptAbfssArgs, ClusterInitScriptAbfssPtr and ClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptAbfssPtrInput` via: // -// InstancePoolDiskSpecArgs{...} +// ClusterInitScriptAbfssArgs{...} // // or: // // nil -type InstancePoolDiskSpecPtrInput interface { +type ClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput - ToInstancePoolDiskSpecPtrOutputWithContext(context.Context) InstancePoolDiskSpecPtrOutput + ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput + ToClusterInitScriptAbfssPtrOutputWithContext(context.Context) ClusterInitScriptAbfssPtrOutput } -type instancePoolDiskSpecPtrType InstancePoolDiskSpecArgs +type clusterInitScriptAbfssPtrType ClusterInitScriptAbfssArgs -func InstancePoolDiskSpecPtr(v *InstancePoolDiskSpecArgs) InstancePoolDiskSpecPtrInput { - return (*instancePoolDiskSpecPtrType)(v) +func ClusterInitScriptAbfssPtr(v *ClusterInitScriptAbfssArgs) ClusterInitScriptAbfssPtrInput { + return (*clusterInitScriptAbfssPtrType)(v) } -func (*instancePoolDiskSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolDiskSpec)(nil)).Elem() +func (*clusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptAbfss)(nil)).Elem() } -func (i *instancePoolDiskSpecPtrType) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { - return i.ToInstancePoolDiskSpecPtrOutputWithContext(context.Background()) +func (i *clusterInitScriptAbfssPtrType) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { + return i.ToClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *instancePoolDiskSpecPtrType) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecPtrOutput) +func (i *clusterInitScriptAbfssPtrType) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptAbfssPtrOutput) } -type InstancePoolDiskSpecOutput struct{ *pulumi.OutputState } +type ClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (InstancePoolDiskSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolDiskSpec)(nil)).Elem() +func (ClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptAbfss)(nil)).Elem() } -func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecOutput() InstancePoolDiskSpecOutput { +func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssOutput() ClusterInitScriptAbfssOutput { return o } -func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecOutputWithContext(ctx context.Context) InstancePoolDiskSpecOutput { +func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssOutputWithContext(ctx context.Context) ClusterInitScriptAbfssOutput { return o } -func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { - return o.ToInstancePoolDiskSpecPtrOutputWithContext(context.Background()) +func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { + return o.ToClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolDiskSpec) *InstancePoolDiskSpec { +func (o ClusterInitScriptAbfssOutput) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptAbfss) *ClusterInitScriptAbfss { return &v - }).(InstancePoolDiskSpecPtrOutput) -} - -// (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. -func (o InstancePoolDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v InstancePoolDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) -} - -// (Integer) The size of each disk (in GiB) to attach. -func (o InstancePoolDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v InstancePoolDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) + }).(ClusterInitScriptAbfssPtrOutput) } -func (o InstancePoolDiskSpecOutput) DiskType() InstancePoolDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v InstancePoolDiskSpec) *InstancePoolDiskSpecDiskType { return v.DiskType }).(InstancePoolDiskSpecDiskTypePtrOutput) +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type InstancePoolDiskSpecPtrOutput struct{ *pulumi.OutputState } +type ClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (InstancePoolDiskSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolDiskSpec)(nil)).Elem() +func (ClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptAbfss)(nil)).Elem() } -func (o InstancePoolDiskSpecPtrOutput) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { +func (o ClusterInitScriptAbfssPtrOutput) ToClusterInitScriptAbfssPtrOutput() ClusterInitScriptAbfssPtrOutput { return o } -func (o InstancePoolDiskSpecPtrOutput) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { +func (o ClusterInitScriptAbfssPtrOutput) ToClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) ClusterInitScriptAbfssPtrOutput { return o } -func (o InstancePoolDiskSpecPtrOutput) Elem() InstancePoolDiskSpecOutput { - return o.ApplyT(func(v *InstancePoolDiskSpec) InstancePoolDiskSpec { +func (o ClusterInitScriptAbfssPtrOutput) Elem() ClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *ClusterInitScriptAbfss) ClusterInitScriptAbfss { if v != nil { return *v } - var ret InstancePoolDiskSpec + var ret ClusterInitScriptAbfss return ret - }).(InstancePoolDiskSpecOutput) -} - -// (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. -func (o InstancePoolDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *InstancePoolDiskSpec) *int { - if v == nil { - return nil - } - return v.DiskCount - }).(pulumi.IntPtrOutput) -} - -// (Integer) The size of each disk (in GiB) to attach. -func (o InstancePoolDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *InstancePoolDiskSpec) *int { - if v == nil { - return nil - } - return v.DiskSize - }).(pulumi.IntPtrOutput) + }).(ClusterInitScriptAbfssOutput) } -func (o InstancePoolDiskSpecPtrOutput) DiskType() InstancePoolDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v *InstancePoolDiskSpec) *InstancePoolDiskSpecDiskType { +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptAbfss) *string { if v == nil { return nil } - return v.DiskType - }).(InstancePoolDiskSpecDiskTypePtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type InstancePoolDiskSpecDiskType struct { - AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` +type ClusterInitScriptDbfs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` } -// InstancePoolDiskSpecDiskTypeInput is an input type that accepts InstancePoolDiskSpecDiskTypeArgs and InstancePoolDiskSpecDiskTypeOutput values. -// You can construct a concrete instance of `InstancePoolDiskSpecDiskTypeInput` via: +// ClusterInitScriptDbfsInput is an input type that accepts ClusterInitScriptDbfsArgs and ClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `ClusterInitScriptDbfsInput` via: // -// InstancePoolDiskSpecDiskTypeArgs{...} -type InstancePoolDiskSpecDiskTypeInput interface { +// ClusterInitScriptDbfsArgs{...} +type ClusterInitScriptDbfsInput interface { pulumi.Input - ToInstancePoolDiskSpecDiskTypeOutput() InstancePoolDiskSpecDiskTypeOutput - ToInstancePoolDiskSpecDiskTypeOutputWithContext(context.Context) InstancePoolDiskSpecDiskTypeOutput + ToClusterInitScriptDbfsOutput() ClusterInitScriptDbfsOutput + ToClusterInitScriptDbfsOutputWithContext(context.Context) ClusterInitScriptDbfsOutput } -type InstancePoolDiskSpecDiskTypeArgs struct { - AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` +type ClusterInitScriptDbfsArgs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` } -func (InstancePoolDiskSpecDiskTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolDiskSpecDiskType)(nil)).Elem() +func (ClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptDbfs)(nil)).Elem() } -func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypeOutput() InstancePoolDiskSpecDiskTypeOutput { - return i.ToInstancePoolDiskSpecDiskTypeOutputWithContext(context.Background()) +func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsOutput() ClusterInitScriptDbfsOutput { + return i.ToClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypeOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecDiskTypeOutput) +func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsOutputWithContext(ctx context.Context) ClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptDbfsOutput) } -func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { - return i.ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { + return i.ToClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecDiskTypeOutput).ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx) +func (i ClusterInitScriptDbfsArgs) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptDbfsOutput).ToClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// InstancePoolDiskSpecDiskTypePtrInput is an input type that accepts InstancePoolDiskSpecDiskTypeArgs, InstancePoolDiskSpecDiskTypePtr and InstancePoolDiskSpecDiskTypePtrOutput values. -// You can construct a concrete instance of `InstancePoolDiskSpecDiskTypePtrInput` via: +// ClusterInitScriptDbfsPtrInput is an input type that accepts ClusterInitScriptDbfsArgs, ClusterInitScriptDbfsPtr and ClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptDbfsPtrInput` via: // -// InstancePoolDiskSpecDiskTypeArgs{...} +// ClusterInitScriptDbfsArgs{...} // // or: // // nil -type InstancePoolDiskSpecDiskTypePtrInput interface { +type ClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput - ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Context) InstancePoolDiskSpecDiskTypePtrOutput + ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput + ToClusterInitScriptDbfsPtrOutputWithContext(context.Context) ClusterInitScriptDbfsPtrOutput } -type instancePoolDiskSpecDiskTypePtrType InstancePoolDiskSpecDiskTypeArgs +type clusterInitScriptDbfsPtrType ClusterInitScriptDbfsArgs -func InstancePoolDiskSpecDiskTypePtr(v *InstancePoolDiskSpecDiskTypeArgs) InstancePoolDiskSpecDiskTypePtrInput { - return (*instancePoolDiskSpecDiskTypePtrType)(v) +func ClusterInitScriptDbfsPtr(v *ClusterInitScriptDbfsArgs) ClusterInitScriptDbfsPtrInput { + return (*clusterInitScriptDbfsPtrType)(v) } -func (*instancePoolDiskSpecDiskTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolDiskSpecDiskType)(nil)).Elem() +func (*clusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptDbfs)(nil)).Elem() } -func (i *instancePoolDiskSpecDiskTypePtrType) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { - return i.ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (i *clusterInitScriptDbfsPtrType) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { + return i.ToClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *instancePoolDiskSpecDiskTypePtrType) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecDiskTypePtrOutput) +func (i *clusterInitScriptDbfsPtrType) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptDbfsPtrOutput) } -type InstancePoolDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } +type ClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (InstancePoolDiskSpecDiskTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolDiskSpecDiskType)(nil)).Elem() +func (ClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptDbfs)(nil)).Elem() } -func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypeOutput() InstancePoolDiskSpecDiskTypeOutput { +func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsOutput() ClusterInitScriptDbfsOutput { return o } -func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypeOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypeOutput { +func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsOutputWithContext(ctx context.Context) ClusterInitScriptDbfsOutput { return o } -func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { - return o.ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Background()) -} - -func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolDiskSpecDiskType) *InstancePoolDiskSpecDiskType { - return &v - }).(InstancePoolDiskSpecDiskTypePtrOutput) +func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { + return o.ToClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o InstancePoolDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) +func (o ClusterInitScriptDbfsOutput) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptDbfs) *ClusterInitScriptDbfs { + return &v + }).(ClusterInitScriptDbfsPtrOutput) } -func (o InstancePoolDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type InstancePoolDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } +type ClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (InstancePoolDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolDiskSpecDiskType)(nil)).Elem() +func (ClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptDbfs)(nil)).Elem() } -func (o InstancePoolDiskSpecDiskTypePtrOutput) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { +func (o ClusterInitScriptDbfsPtrOutput) ToClusterInitScriptDbfsPtrOutput() ClusterInitScriptDbfsPtrOutput { return o } -func (o InstancePoolDiskSpecDiskTypePtrOutput) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { +func (o ClusterInitScriptDbfsPtrOutput) ToClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) ClusterInitScriptDbfsPtrOutput { return o } -func (o InstancePoolDiskSpecDiskTypePtrOutput) Elem() InstancePoolDiskSpecDiskTypeOutput { - return o.ApplyT(func(v *InstancePoolDiskSpecDiskType) InstancePoolDiskSpecDiskType { +func (o ClusterInitScriptDbfsPtrOutput) Elem() ClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *ClusterInitScriptDbfs) ClusterInitScriptDbfs { if v != nil { return *v } - var ret InstancePoolDiskSpecDiskType + var ret ClusterInitScriptDbfs return ret - }).(InstancePoolDiskSpecDiskTypeOutput) -} - -func (o InstancePoolDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolDiskSpecDiskType) *string { - if v == nil { - return nil - } - return v.AzureDiskVolumeType - }).(pulumi.StringPtrOutput) + }).(ClusterInitScriptDbfsOutput) } -func (o InstancePoolDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolDiskSpecDiskType) *string { +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.EbsVolumeType + return &v.Destination }).(pulumi.StringPtrOutput) } -type InstancePoolGcpAttributes struct { - // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - GcpAvailability *string `pulumi:"gcpAvailability"` - // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - LocalSsdCount *int `pulumi:"localSsdCount"` - // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. - ZoneId *string `pulumi:"zoneId"` +type ClusterInitScriptFile struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` } -// InstancePoolGcpAttributesInput is an input type that accepts InstancePoolGcpAttributesArgs and InstancePoolGcpAttributesOutput values. -// You can construct a concrete instance of `InstancePoolGcpAttributesInput` via: +// ClusterInitScriptFileInput is an input type that accepts ClusterInitScriptFileArgs and ClusterInitScriptFileOutput values. +// You can construct a concrete instance of `ClusterInitScriptFileInput` via: // -// InstancePoolGcpAttributesArgs{...} -type InstancePoolGcpAttributesInput interface { +// ClusterInitScriptFileArgs{...} +type ClusterInitScriptFileInput interface { pulumi.Input - ToInstancePoolGcpAttributesOutput() InstancePoolGcpAttributesOutput - ToInstancePoolGcpAttributesOutputWithContext(context.Context) InstancePoolGcpAttributesOutput + ToClusterInitScriptFileOutput() ClusterInitScriptFileOutput + ToClusterInitScriptFileOutputWithContext(context.Context) ClusterInitScriptFileOutput } -type InstancePoolGcpAttributesArgs struct { - // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` - // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type ClusterInitScriptFileArgs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` } -func (InstancePoolGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolGcpAttributes)(nil)).Elem() +func (ClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptFile)(nil)).Elem() } -func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesOutput() InstancePoolGcpAttributesOutput { - return i.ToInstancePoolGcpAttributesOutputWithContext(context.Background()) +func (i ClusterInitScriptFileArgs) ToClusterInitScriptFileOutput() ClusterInitScriptFileOutput { + return i.ToClusterInitScriptFileOutputWithContext(context.Background()) } -func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesOutputWithContext(ctx context.Context) InstancePoolGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolGcpAttributesOutput) +func (i ClusterInitScriptFileArgs) ToClusterInitScriptFileOutputWithContext(ctx context.Context) ClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptFileOutput) } -func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { - return i.ToInstancePoolGcpAttributesPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptFileArgs) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { + return i.ToClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolGcpAttributesOutput).ToInstancePoolGcpAttributesPtrOutputWithContext(ctx) +func (i ClusterInitScriptFileArgs) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptFileOutput).ToClusterInitScriptFilePtrOutputWithContext(ctx) } -// InstancePoolGcpAttributesPtrInput is an input type that accepts InstancePoolGcpAttributesArgs, InstancePoolGcpAttributesPtr and InstancePoolGcpAttributesPtrOutput values. -// You can construct a concrete instance of `InstancePoolGcpAttributesPtrInput` via: +// ClusterInitScriptFilePtrInput is an input type that accepts ClusterInitScriptFileArgs, ClusterInitScriptFilePtr and ClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptFilePtrInput` via: // -// InstancePoolGcpAttributesArgs{...} +// ClusterInitScriptFileArgs{...} // // or: // // nil -type InstancePoolGcpAttributesPtrInput interface { +type ClusterInitScriptFilePtrInput interface { pulumi.Input - ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput - ToInstancePoolGcpAttributesPtrOutputWithContext(context.Context) InstancePoolGcpAttributesPtrOutput + ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput + ToClusterInitScriptFilePtrOutputWithContext(context.Context) ClusterInitScriptFilePtrOutput } -type instancePoolGcpAttributesPtrType InstancePoolGcpAttributesArgs +type clusterInitScriptFilePtrType ClusterInitScriptFileArgs -func InstancePoolGcpAttributesPtr(v *InstancePoolGcpAttributesArgs) InstancePoolGcpAttributesPtrInput { - return (*instancePoolGcpAttributesPtrType)(v) +func ClusterInitScriptFilePtr(v *ClusterInitScriptFileArgs) ClusterInitScriptFilePtrInput { + return (*clusterInitScriptFilePtrType)(v) } -func (*instancePoolGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolGcpAttributes)(nil)).Elem() +func (*clusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptFile)(nil)).Elem() } -func (i *instancePoolGcpAttributesPtrType) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { - return i.ToInstancePoolGcpAttributesPtrOutputWithContext(context.Background()) +func (i *clusterInitScriptFilePtrType) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { + return i.ToClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *instancePoolGcpAttributesPtrType) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolGcpAttributesPtrOutput) +func (i *clusterInitScriptFilePtrType) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptFilePtrOutput) } -type InstancePoolGcpAttributesOutput struct{ *pulumi.OutputState } +type ClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (InstancePoolGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolGcpAttributes)(nil)).Elem() +func (ClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptFile)(nil)).Elem() } -func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesOutput() InstancePoolGcpAttributesOutput { +func (o ClusterInitScriptFileOutput) ToClusterInitScriptFileOutput() ClusterInitScriptFileOutput { return o } -func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesOutputWithContext(ctx context.Context) InstancePoolGcpAttributesOutput { +func (o ClusterInitScriptFileOutput) ToClusterInitScriptFileOutputWithContext(ctx context.Context) ClusterInitScriptFileOutput { return o } -func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { - return o.ToInstancePoolGcpAttributesPtrOutputWithContext(context.Background()) +func (o ClusterInitScriptFileOutput) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { + return o.ToClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolGcpAttributes) *InstancePoolGcpAttributes { +func (o ClusterInitScriptFileOutput) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptFile) *ClusterInitScriptFile { return &v - }).(InstancePoolGcpAttributesPtrOutput) -} - -// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. -func (o InstancePoolGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) -} - -// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. -func (o InstancePoolGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v InstancePoolGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) + }).(ClusterInitScriptFilePtrOutput) } -// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. -func (o InstancePoolGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v InstancePoolGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type InstancePoolGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type ClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (InstancePoolGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolGcpAttributes)(nil)).Elem() +func (ClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptFile)(nil)).Elem() } -func (o InstancePoolGcpAttributesPtrOutput) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { +func (o ClusterInitScriptFilePtrOutput) ToClusterInitScriptFilePtrOutput() ClusterInitScriptFilePtrOutput { return o } -func (o InstancePoolGcpAttributesPtrOutput) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { +func (o ClusterInitScriptFilePtrOutput) ToClusterInitScriptFilePtrOutputWithContext(ctx context.Context) ClusterInitScriptFilePtrOutput { return o } -func (o InstancePoolGcpAttributesPtrOutput) Elem() InstancePoolGcpAttributesOutput { - return o.ApplyT(func(v *InstancePoolGcpAttributes) InstancePoolGcpAttributes { +func (o ClusterInitScriptFilePtrOutput) Elem() ClusterInitScriptFileOutput { + return o.ApplyT(func(v *ClusterInitScriptFile) ClusterInitScriptFile { if v != nil { return *v } - var ret InstancePoolGcpAttributes + var ret ClusterInitScriptFile return ret - }).(InstancePoolGcpAttributesOutput) -} - -// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. -func (o InstancePoolGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolGcpAttributes) *string { - if v == nil { - return nil - } - return v.GcpAvailability - }).(pulumi.StringPtrOutput) -} - -// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. -func (o InstancePoolGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *InstancePoolGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + }).(ClusterInitScriptFileOutput) } -// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. -func (o InstancePoolGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolGcpAttributes) *string { +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptFile) *string { if v == nil { return nil } - return v.ZoneId + return &v.Destination }).(pulumi.StringPtrOutput) } -type InstancePoolInstancePoolFleetAttributes struct { - FleetOnDemandOption *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption `pulumi:"fleetOnDemandOption"` - FleetSpotOption *InstancePoolInstancePoolFleetAttributesFleetSpotOption `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` +type ClusterInitScriptGcs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` } -// InstancePoolInstancePoolFleetAttributesInput is an input type that accepts InstancePoolInstancePoolFleetAttributesArgs and InstancePoolInstancePoolFleetAttributesOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesInput` via: +// ClusterInitScriptGcsInput is an input type that accepts ClusterInitScriptGcsArgs and ClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `ClusterInitScriptGcsInput` via: // -// InstancePoolInstancePoolFleetAttributesArgs{...} -type InstancePoolInstancePoolFleetAttributesInput interface { +// ClusterInitScriptGcsArgs{...} +type ClusterInitScriptGcsInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesOutput() InstancePoolInstancePoolFleetAttributesOutput - ToInstancePoolInstancePoolFleetAttributesOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesOutput + ToClusterInitScriptGcsOutput() ClusterInitScriptGcsOutput + ToClusterInitScriptGcsOutputWithContext(context.Context) ClusterInitScriptGcsOutput } -type InstancePoolInstancePoolFleetAttributesArgs struct { - FleetOnDemandOption InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` - FleetSpotOption InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` +type ClusterInitScriptGcsArgs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` } -func (InstancePoolInstancePoolFleetAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributes)(nil)).Elem() +func (ClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptGcs)(nil)).Elem() } -func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesOutput() InstancePoolInstancePoolFleetAttributesOutput { - return i.ToInstancePoolInstancePoolFleetAttributesOutputWithContext(context.Background()) +func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsOutput() ClusterInitScriptGcsOutput { + return i.ToClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesOutput) +func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsOutputWithContext(ctx context.Context) ClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptGcsOutput) } -func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { - return i.ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { + return i.ToClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesOutput).ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx) +func (i ClusterInitScriptGcsArgs) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptGcsOutput).ToClusterInitScriptGcsPtrOutputWithContext(ctx) } -// InstancePoolInstancePoolFleetAttributesPtrInput is an input type that accepts InstancePoolInstancePoolFleetAttributesArgs, InstancePoolInstancePoolFleetAttributesPtr and InstancePoolInstancePoolFleetAttributesPtrOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesPtrInput` via: +// ClusterInitScriptGcsPtrInput is an input type that accepts ClusterInitScriptGcsArgs, ClusterInitScriptGcsPtr and ClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptGcsPtrInput` via: // -// InstancePoolInstancePoolFleetAttributesArgs{...} +// ClusterInitScriptGcsArgs{...} // // or: // // nil -type InstancePoolInstancePoolFleetAttributesPtrInput interface { +type ClusterInitScriptGcsPtrInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput - ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput + ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput + ToClusterInitScriptGcsPtrOutputWithContext(context.Context) ClusterInitScriptGcsPtrOutput } -type instancePoolInstancePoolFleetAttributesPtrType InstancePoolInstancePoolFleetAttributesArgs +type clusterInitScriptGcsPtrType ClusterInitScriptGcsArgs -func InstancePoolInstancePoolFleetAttributesPtr(v *InstancePoolInstancePoolFleetAttributesArgs) InstancePoolInstancePoolFleetAttributesPtrInput { - return (*instancePoolInstancePoolFleetAttributesPtrType)(v) +func ClusterInitScriptGcsPtr(v *ClusterInitScriptGcsArgs) ClusterInitScriptGcsPtrInput { + return (*clusterInitScriptGcsPtrType)(v) } -func (*instancePoolInstancePoolFleetAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributes)(nil)).Elem() +func (*clusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptGcs)(nil)).Elem() } -func (i *instancePoolInstancePoolFleetAttributesPtrType) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { - return i.ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Background()) +func (i *clusterInitScriptGcsPtrType) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { + return i.ToClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *instancePoolInstancePoolFleetAttributesPtrType) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesPtrOutput) +func (i *clusterInitScriptGcsPtrType) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptGcsPtrOutput) } -type InstancePoolInstancePoolFleetAttributesOutput struct{ *pulumi.OutputState } +type ClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (InstancePoolInstancePoolFleetAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributes)(nil)).Elem() +func (ClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptGcs)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesOutput() InstancePoolInstancePoolFleetAttributesOutput { +func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsOutput() ClusterInitScriptGcsOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesOutput { +func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsOutputWithContext(ctx context.Context) ClusterInitScriptGcsOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { - return o.ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Background()) +func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { + return o.ToClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributes { +func (o ClusterInitScriptGcsOutput) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptGcs) *ClusterInitScriptGcs { return &v - }).(InstancePoolInstancePoolFleetAttributesPtrOutput) -} - -func (o InstancePoolInstancePoolFleetAttributesOutput) FleetOnDemandOption() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { - return v.FleetOnDemandOption - }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) -} - -func (o InstancePoolInstancePoolFleetAttributesOutput) FleetSpotOption() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetSpotOption { - return v.FleetSpotOption - }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) + }).(ClusterInitScriptGcsPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesOutput) LaunchTemplateOverrides() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributes) []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride { - return v.LaunchTemplateOverrides - }).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type InstancePoolInstancePoolFleetAttributesPtrOutput struct{ *pulumi.OutputState } +type ClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (InstancePoolInstancePoolFleetAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributes)(nil)).Elem() +func (ClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptGcs)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesPtrOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { +func (o ClusterInitScriptGcsPtrOutput) ToClusterInitScriptGcsPtrOutput() ClusterInitScriptGcsPtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesPtrOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { +func (o ClusterInitScriptGcsPtrOutput) ToClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) ClusterInitScriptGcsPtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesPtrOutput) Elem() InstancePoolInstancePoolFleetAttributesOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) InstancePoolInstancePoolFleetAttributes { +func (o ClusterInitScriptGcsPtrOutput) Elem() ClusterInitScriptGcsOutput { + return o.ApplyT(func(v *ClusterInitScriptGcs) ClusterInitScriptGcs { if v != nil { return *v } - var ret InstancePoolInstancePoolFleetAttributes + var ret ClusterInitScriptGcs return ret - }).(InstancePoolInstancePoolFleetAttributesOutput) -} - -func (o InstancePoolInstancePoolFleetAttributesPtrOutput) FleetOnDemandOption() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { - if v == nil { - return nil - } - return v.FleetOnDemandOption - }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) -} - -func (o InstancePoolInstancePoolFleetAttributesPtrOutput) FleetSpotOption() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetSpotOption { - if v == nil { - return nil - } - return v.FleetSpotOption - }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) + }).(ClusterInitScriptGcsOutput) } -func (o InstancePoolInstancePoolFleetAttributesPtrOutput) LaunchTemplateOverrides() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride { +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptGcs) *string { if v == nil { return nil } - return v.LaunchTemplateOverrides - }).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type InstancePoolInstancePoolFleetAttributesFleetOnDemandOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +type ClusterInitScriptS3 struct { + // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + CannedAcl *string `pulumi:"cannedAcl"` + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` + // Enable server-side encryption, false by default. + EnableEncryption *bool `pulumi:"enableEncryption"` + // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + EncryptionType *string `pulumi:"encryptionType"` + // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + Endpoint *string `pulumi:"endpoint"` + // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + KmsKey *string `pulumi:"kmsKey"` + // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + Region *string `pulumi:"region"` } -// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs and InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionInput` via: +// ClusterInitScriptS3Input is an input type that accepts ClusterInitScriptS3Args and ClusterInitScriptS3Output values. +// You can construct a concrete instance of `ClusterInitScriptS3Input` via: // -// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs{...} -type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionInput interface { +// ClusterInitScriptS3Args{...} +type ClusterInitScriptS3Input interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput - ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput + ToClusterInitScriptS3Output() ClusterInitScriptS3Output + ToClusterInitScriptS3OutputWithContext(context.Context) ClusterInitScriptS3Output } -type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +type ClusterInitScriptS3Args struct { + // Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` + // Enable server-side encryption, false by default. + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + // The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + // S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + // KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + // S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + Region pulumi.StringPtrInput `pulumi:"region"` } -func (InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() +func (ClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptS3)(nil)).Elem() } -func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { - return i.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(context.Background()) +func (i ClusterInitScriptS3Args) ToClusterInitScriptS3Output() ClusterInitScriptS3Output { + return i.ToClusterInitScriptS3OutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) +func (i ClusterInitScriptS3Args) ToClusterInitScriptS3OutputWithContext(ctx context.Context) ClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptS3Output) } -func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return i.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptS3Args) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { + return i.ToClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput).ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx) +func (i ClusterInitScriptS3Args) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptS3Output).ToClusterInitScriptS3PtrOutputWithContext(ctx) } -// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs, InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtr and InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput` via: +// ClusterInitScriptS3PtrInput is an input type that accepts ClusterInitScriptS3Args, ClusterInitScriptS3Ptr and ClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptS3PtrInput` via: // -// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs{...} +// ClusterInitScriptS3Args{...} // // or: // // nil -type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput interface { +type ClusterInitScriptS3PtrInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput - ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput + ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput + ToClusterInitScriptS3PtrOutputWithContext(context.Context) ClusterInitScriptS3PtrOutput +} + +type clusterInitScriptS3PtrType ClusterInitScriptS3Args + +func ClusterInitScriptS3Ptr(v *ClusterInitScriptS3Args) ClusterInitScriptS3PtrInput { + return (*clusterInitScriptS3PtrType)(v) +} + +func (*clusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptS3)(nil)).Elem() +} + +func (i *clusterInitScriptS3PtrType) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { + return i.ToClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i *clusterInitScriptS3PtrType) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptS3PtrOutput) +} + +type ClusterInitScriptS3Output struct{ *pulumi.OutputState } + +func (ClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptS3)(nil)).Elem() +} + +func (o ClusterInitScriptS3Output) ToClusterInitScriptS3Output() ClusterInitScriptS3Output { + return o +} + +func (o ClusterInitScriptS3Output) ToClusterInitScriptS3OutputWithContext(ctx context.Context) ClusterInitScriptS3Output { + return o +} + +func (o ClusterInitScriptS3Output) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { + return o.ToClusterInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (o ClusterInitScriptS3Output) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptS3) *ClusterInitScriptS3 { + return &v + }).(ClusterInitScriptS3PtrOutput) +} + +// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. +func (o ClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +} + +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +} + +// Enable server-side encryption, false by default. +func (o ClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -type instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs - -func InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtr(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput { - return (*instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType)(v) +// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. +func (o ClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (*instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() +// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. +func (o ClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (i *instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return i.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Background()) +// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. +func (o ClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (i *instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) +// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. +func (o ClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput struct{ *pulumi.OutputState } +type ClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() +func (ClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptS3)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { +func (o ClusterInitScriptS3PtrOutput) ToClusterInitScriptS3PtrOutput() ClusterInitScriptS3PtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { +func (o ClusterInitScriptS3PtrOutput) ToClusterInitScriptS3PtrOutputWithContext(ctx context.Context) ClusterInitScriptS3PtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return o.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Background()) -} - -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { - return &v - }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) -} - -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) string { return v.AllocationStrategy }).(pulumi.StringOutput) +func (o ClusterInitScriptS3PtrOutput) Elem() ClusterInitScriptS3Output { + return o.ApplyT(func(v *ClusterInitScriptS3) ClusterInitScriptS3 { + if v != nil { + return *v + } + var ret ClusterInitScriptS3 + return ret + }).(ClusterInitScriptS3Output) } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *int { - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +// Set canned access control list, e.g. `bucket-owner-full-control`. If `cannedCal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. +func (o ClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } - -func (InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return o +// Enable server-side encryption, false by default. +func (o ClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { - return o +// The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. +func (o ClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) Elem() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { - if v != nil { - return *v +// S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. +func (o ClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *string { + if v == nil { + return nil } - var ret InstancePoolInstancePoolFleetAttributesFleetOnDemandOption - return ret - }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *string { +// KMS key used if encryption is enabled and encryption type is set to `sse-kms`. +func (o ClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *string { if v == nil { return nil } - return &v.AllocationStrategy + return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *int { +// S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. +func (o ClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptS3) *string { if v == nil { return nil } - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -type InstancePoolInstancePoolFleetAttributesFleetSpotOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +type ClusterInitScriptVolumes struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` } -// InstancePoolInstancePoolFleetAttributesFleetSpotOptionInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs and InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetSpotOptionInput` via: +// ClusterInitScriptVolumesInput is an input type that accepts ClusterInitScriptVolumesArgs and ClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `ClusterInitScriptVolumesInput` via: // -// InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs{...} -type InstancePoolInstancePoolFleetAttributesFleetSpotOptionInput interface { +// ClusterInitScriptVolumesArgs{...} +type ClusterInitScriptVolumesInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput - ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput + ToClusterInitScriptVolumesOutput() ClusterInitScriptVolumesOutput + ToClusterInitScriptVolumesOutputWithContext(context.Context) ClusterInitScriptVolumesOutput } -type InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +type ClusterInitScriptVolumesArgs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` } -func (InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() +func (ClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptVolumes)(nil)).Elem() } -func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { - return i.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(context.Background()) +func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesOutput() ClusterInitScriptVolumesOutput { + return i.ToClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) +func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesOutputWithContext(ctx context.Context) ClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptVolumesOutput) } -func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return i.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { + return i.ToClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput).ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx) +func (i ClusterInitScriptVolumesArgs) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptVolumesOutput).ToClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs, InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtr and InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput` via: +// ClusterInitScriptVolumesPtrInput is an input type that accepts ClusterInitScriptVolumesArgs, ClusterInitScriptVolumesPtr and ClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptVolumesPtrInput` via: // -// InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs{...} +// ClusterInitScriptVolumesArgs{...} // // or: // // nil -type InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput interface { +type ClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput - ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput + ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput + ToClusterInitScriptVolumesPtrOutputWithContext(context.Context) ClusterInitScriptVolumesPtrOutput } -type instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs +type clusterInitScriptVolumesPtrType ClusterInitScriptVolumesArgs -func InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtr(v *InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput { - return (*instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType)(v) +func ClusterInitScriptVolumesPtr(v *ClusterInitScriptVolumesArgs) ClusterInitScriptVolumesPtrInput { + return (*clusterInitScriptVolumesPtrType)(v) } -func (*instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() +func (*clusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptVolumes)(nil)).Elem() } -func (i *instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return i.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i *clusterInitScriptVolumesPtrType) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { + return i.ToClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) +func (i *clusterInitScriptVolumesPtrType) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptVolumesPtrOutput) } -type InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput struct{ *pulumi.OutputState } +type ClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() +func (ClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptVolumes)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { +func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesOutput() ClusterInitScriptVolumesOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { +func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesOutputWithContext(ctx context.Context) ClusterInitScriptVolumesOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return o.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Background()) +func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { + return o.ToClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolInstancePoolFleetAttributesFleetSpotOption) *InstancePoolInstancePoolFleetAttributesFleetSpotOption { +func (o ClusterInitScriptVolumesOutput) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptVolumes) *ClusterInitScriptVolumes { return &v - }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) -} - -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetSpotOption) string { return v.AllocationStrategy }).(pulumi.StringOutput) + }).(ClusterInitScriptVolumesPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetSpotOption) *int { return v.InstancePoolsToUseCount }).(pulumi.IntPtrOutput) +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } +type ClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() +func (ClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptVolumes)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { +func (o ClusterInitScriptVolumesPtrOutput) ToClusterInitScriptVolumesPtrOutput() ClusterInitScriptVolumesPtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { +func (o ClusterInitScriptVolumesPtrOutput) ToClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) ClusterInitScriptVolumesPtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) Elem() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetSpotOption) InstancePoolInstancePoolFleetAttributesFleetSpotOption { +func (o ClusterInitScriptVolumesPtrOutput) Elem() ClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *ClusterInitScriptVolumes) ClusterInitScriptVolumes { if v != nil { return *v } - var ret InstancePoolInstancePoolFleetAttributesFleetSpotOption + var ret ClusterInitScriptVolumes return ret - }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) + }).(ClusterInitScriptVolumesOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetSpotOption) *string { +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptVolumes) *string { if v == nil { return nil } - return &v.AllocationStrategy + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetSpotOption) *int { - if v == nil { - return nil - } - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) -} - -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride struct { - AvailabilityZone string `pulumi:"availabilityZone"` - InstanceType string `pulumi:"instanceType"` +type ClusterInitScriptWorkspace struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination string `pulumi:"destination"` } -// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput is an input type that accepts InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs and InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput` via: +// ClusterInitScriptWorkspaceInput is an input type that accepts ClusterInitScriptWorkspaceArgs and ClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `ClusterInitScriptWorkspaceInput` via: // -// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs{...} -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput interface { +// ClusterInitScriptWorkspaceArgs{...} +type ClusterInitScriptWorkspaceInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput - ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput + ToClusterInitScriptWorkspaceOutput() ClusterInitScriptWorkspaceOutput + ToClusterInitScriptWorkspaceOutputWithContext(context.Context) ClusterInitScriptWorkspaceOutput } -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs struct { - AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` - InstanceType pulumi.StringInput `pulumi:"instanceType"` +type ClusterInitScriptWorkspaceArgs struct { + // S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Destination pulumi.StringInput `pulumi:"destination"` } -func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() +func (ClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptWorkspace)(nil)).Elem() } -func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { - return i.ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(context.Background()) +func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspaceOutput() ClusterInitScriptWorkspaceOutput { + return i.ToClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) +func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) ClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptWorkspaceOutput) } -// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput is an input type that accepts InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray and InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput values. -// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput` via: +func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { + return i.ToClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i ClusterInitScriptWorkspaceArgs) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptWorkspaceOutput).ToClusterInitScriptWorkspacePtrOutputWithContext(ctx) +} + +// ClusterInitScriptWorkspacePtrInput is an input type that accepts ClusterInitScriptWorkspaceArgs, ClusterInitScriptWorkspacePtr and ClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `ClusterInitScriptWorkspacePtrInput` via: // -// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray{ InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs{...} } -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput interface { +// ClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type ClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput - ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput + ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput + ToClusterInitScriptWorkspacePtrOutputWithContext(context.Context) ClusterInitScriptWorkspacePtrOutput } -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput +type clusterInitScriptWorkspacePtrType ClusterInitScriptWorkspaceArgs -func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() +func ClusterInitScriptWorkspacePtr(v *ClusterInitScriptWorkspaceArgs) ClusterInitScriptWorkspacePtrInput { + return (*clusterInitScriptWorkspacePtrType)(v) } -func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { - return i.ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(context.Background()) +func (*clusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptWorkspace)(nil)).Elem() } -func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) +func (i *clusterInitScriptWorkspacePtrType) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { + return i.ToClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } +func (i *clusterInitScriptWorkspacePtrType) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterInitScriptWorkspacePtrOutput) +} -func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() +type ClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (ClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterInitScriptWorkspace)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { +func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspaceOutput() ClusterInitScriptWorkspaceOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { +func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) ClusterInitScriptWorkspaceOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride) string { - return v.AvailabilityZone - }).(pulumi.StringOutput) +func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { + return o.ToClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride) string { return v.InstanceType }).(pulumi.StringOutput) +func (o ClusterInitScriptWorkspaceOutput) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterInitScriptWorkspace) *ClusterInitScriptWorkspace { + return &v + }).(ClusterInitScriptWorkspacePtrOutput) } -type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v ClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +} -func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() +type ClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (ClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterInitScriptWorkspace)(nil)).Elem() } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { +func (o ClusterInitScriptWorkspacePtrOutput) ToClusterInitScriptWorkspacePtrOutput() ClusterInitScriptWorkspacePtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { +func (o ClusterInitScriptWorkspacePtrOutput) ToClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) ClusterInitScriptWorkspacePtrOutput { return o } -func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) Index(i pulumi.IntInput) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride { - return vs[0].([]InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)[vs[1].(int)] - }).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) +func (o ClusterInitScriptWorkspacePtrOutput) Elem() ClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *ClusterInitScriptWorkspace) ClusterInitScriptWorkspace { + if v != nil { + return *v + } + var ret ClusterInitScriptWorkspace + return ret + }).(ClusterInitScriptWorkspaceOutput) } -type InstancePoolPreloadedDockerImage struct { - // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - // - // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: - // - // ```go - // package main - // - // import ( - // "fmt" - // - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ - // Build: []map[string]interface{}{ - // map[string]interface{}{}, - // }, - // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), - // }) - // if err != nil { - // return err - // } - // _, err = databricks.NewInstancePool(ctx, "this", &databricks.InstancePoolArgs{ - // PreloadedDockerImages: databricks.InstancePoolPreloadedDockerImageArray{ - // &databricks.InstancePoolPreloadedDockerImageArgs{ - // Url: this.Name, - // BasicAuth: &databricks.InstancePoolPreloadedDockerImageBasicAuthArgs{ - // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), - // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), - // }, - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - BasicAuth *InstancePoolPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` - // URL for the Docker image - Url string `pulumi:"url"` +// S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. +func (o ClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// InstancePoolPreloadedDockerImageInput is an input type that accepts InstancePoolPreloadedDockerImageArgs and InstancePoolPreloadedDockerImageOutput values. -// You can construct a concrete instance of `InstancePoolPreloadedDockerImageInput` via: -// -// InstancePoolPreloadedDockerImageArgs{...} -type InstancePoolPreloadedDockerImageInput interface { - pulumi.Input - - ToInstancePoolPreloadedDockerImageOutput() InstancePoolPreloadedDockerImageOutput - ToInstancePoolPreloadedDockerImageOutputWithContext(context.Context) InstancePoolPreloadedDockerImageOutput +type ClusterLibrary struct { + Cran *ClusterLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *ClusterLibraryMaven `pulumi:"maven"` + Pypi *ClusterLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -type InstancePoolPreloadedDockerImageArgs struct { - // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - // - // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: - // - // ```go - // package main - // - // import ( - // "fmt" - // - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ - // Build: []map[string]interface{}{ - // map[string]interface{}{}, - // }, - // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), - // }) - // if err != nil { - // return err - // } - // _, err = databricks.NewInstancePool(ctx, "this", &databricks.InstancePoolArgs{ - // PreloadedDockerImages: databricks.InstancePoolPreloadedDockerImageArray{ - // &databricks.InstancePoolPreloadedDockerImageArgs{ - // Url: this.Name, - // BasicAuth: &databricks.InstancePoolPreloadedDockerImageBasicAuthArgs{ - // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), - // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), - // }, - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - BasicAuth InstancePoolPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - // URL for the Docker image - Url pulumi.StringInput `pulumi:"url"` +// ClusterLibraryInput is an input type that accepts ClusterLibraryArgs and ClusterLibraryOutput values. +// You can construct a concrete instance of `ClusterLibraryInput` via: +// +// ClusterLibraryArgs{...} +type ClusterLibraryInput interface { + pulumi.Input + + ToClusterLibraryOutput() ClusterLibraryOutput + ToClusterLibraryOutputWithContext(context.Context) ClusterLibraryOutput } -func (InstancePoolPreloadedDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolPreloadedDockerImage)(nil)).Elem() +type ClusterLibraryArgs struct { + Cran ClusterLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven ClusterLibraryMavenPtrInput `pulumi:"maven"` + Pypi ClusterLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i InstancePoolPreloadedDockerImageArgs) ToInstancePoolPreloadedDockerImageOutput() InstancePoolPreloadedDockerImageOutput { - return i.ToInstancePoolPreloadedDockerImageOutputWithContext(context.Background()) +func (ClusterLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibrary)(nil)).Elem() } -func (i InstancePoolPreloadedDockerImageArgs) ToInstancePoolPreloadedDockerImageOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageOutput) +func (i ClusterLibraryArgs) ToClusterLibraryOutput() ClusterLibraryOutput { + return i.ToClusterLibraryOutputWithContext(context.Background()) } -// InstancePoolPreloadedDockerImageArrayInput is an input type that accepts InstancePoolPreloadedDockerImageArray and InstancePoolPreloadedDockerImageArrayOutput values. -// You can construct a concrete instance of `InstancePoolPreloadedDockerImageArrayInput` via: +func (i ClusterLibraryArgs) ToClusterLibraryOutputWithContext(ctx context.Context) ClusterLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryOutput) +} + +// ClusterLibraryArrayInput is an input type that accepts ClusterLibraryArray and ClusterLibraryArrayOutput values. +// You can construct a concrete instance of `ClusterLibraryArrayInput` via: // -// InstancePoolPreloadedDockerImageArray{ InstancePoolPreloadedDockerImageArgs{...} } -type InstancePoolPreloadedDockerImageArrayInput interface { +// ClusterLibraryArray{ ClusterLibraryArgs{...} } +type ClusterLibraryArrayInput interface { pulumi.Input - ToInstancePoolPreloadedDockerImageArrayOutput() InstancePoolPreloadedDockerImageArrayOutput - ToInstancePoolPreloadedDockerImageArrayOutputWithContext(context.Context) InstancePoolPreloadedDockerImageArrayOutput + ToClusterLibraryArrayOutput() ClusterLibraryArrayOutput + ToClusterLibraryArrayOutputWithContext(context.Context) ClusterLibraryArrayOutput } -type InstancePoolPreloadedDockerImageArray []InstancePoolPreloadedDockerImageInput +type ClusterLibraryArray []ClusterLibraryInput -func (InstancePoolPreloadedDockerImageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]InstancePoolPreloadedDockerImage)(nil)).Elem() +func (ClusterLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterLibrary)(nil)).Elem() } -func (i InstancePoolPreloadedDockerImageArray) ToInstancePoolPreloadedDockerImageArrayOutput() InstancePoolPreloadedDockerImageArrayOutput { - return i.ToInstancePoolPreloadedDockerImageArrayOutputWithContext(context.Background()) +func (i ClusterLibraryArray) ToClusterLibraryArrayOutput() ClusterLibraryArrayOutput { + return i.ToClusterLibraryArrayOutputWithContext(context.Background()) } -func (i InstancePoolPreloadedDockerImageArray) ToInstancePoolPreloadedDockerImageArrayOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageArrayOutput) +func (i ClusterLibraryArray) ToClusterLibraryArrayOutputWithContext(ctx context.Context) ClusterLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryArrayOutput) } -type InstancePoolPreloadedDockerImageOutput struct{ *pulumi.OutputState } +type ClusterLibraryOutput struct{ *pulumi.OutputState } -func (InstancePoolPreloadedDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolPreloadedDockerImage)(nil)).Elem() +func (ClusterLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibrary)(nil)).Elem() } -func (o InstancePoolPreloadedDockerImageOutput) ToInstancePoolPreloadedDockerImageOutput() InstancePoolPreloadedDockerImageOutput { +func (o ClusterLibraryOutput) ToClusterLibraryOutput() ClusterLibraryOutput { return o } -func (o InstancePoolPreloadedDockerImageOutput) ToInstancePoolPreloadedDockerImageOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageOutput { +func (o ClusterLibraryOutput) ToClusterLibraryOutputWithContext(ctx context.Context) ClusterLibraryOutput { return o } -// `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. -// -// Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ -// Build: []map[string]interface{}{ -// map[string]interface{}{}, -// }, -// Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), -// }) -// if err != nil { -// return err -// } -// _, err = databricks.NewInstancePool(ctx, "this", &databricks.InstancePoolArgs{ -// PreloadedDockerImages: databricks.InstancePoolPreloadedDockerImageArray{ -// &databricks.InstancePoolPreloadedDockerImageArgs{ -// Url: this.Name, -// BasicAuth: &databricks.InstancePoolPreloadedDockerImageBasicAuthArgs{ -// Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), -// Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o InstancePoolPreloadedDockerImageOutput) BasicAuth() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v InstancePoolPreloadedDockerImage) *InstancePoolPreloadedDockerImageBasicAuth { - return v.BasicAuth - }).(InstancePoolPreloadedDockerImageBasicAuthPtrOutput) +func (o ClusterLibraryOutput) Cran() ClusterLibraryCranPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *ClusterLibraryCran { return v.Cran }).(ClusterLibraryCranPtrOutput) } -// URL for the Docker image -func (o InstancePoolPreloadedDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolPreloadedDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o ClusterLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -type InstancePoolPreloadedDockerImageArrayOutput struct{ *pulumi.OutputState } +func (o ClusterLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +} -func (InstancePoolPreloadedDockerImageArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]InstancePoolPreloadedDockerImage)(nil)).Elem() +func (o ClusterLibraryOutput) Maven() ClusterLibraryMavenPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *ClusterLibraryMaven { return v.Maven }).(ClusterLibraryMavenPtrOutput) } -func (o InstancePoolPreloadedDockerImageArrayOutput) ToInstancePoolPreloadedDockerImageArrayOutput() InstancePoolPreloadedDockerImageArrayOutput { +func (o ClusterLibraryOutput) Pypi() ClusterLibraryPypiPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *ClusterLibraryPypi { return v.Pypi }).(ClusterLibraryPypiPtrOutput) +} + +func (o ClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +} + +func (o ClusterLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type ClusterLibraryArrayOutput struct{ *pulumi.OutputState } + +func (ClusterLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterLibrary)(nil)).Elem() +} + +func (o ClusterLibraryArrayOutput) ToClusterLibraryArrayOutput() ClusterLibraryArrayOutput { return o } -func (o InstancePoolPreloadedDockerImageArrayOutput) ToInstancePoolPreloadedDockerImageArrayOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageArrayOutput { +func (o ClusterLibraryArrayOutput) ToClusterLibraryArrayOutputWithContext(ctx context.Context) ClusterLibraryArrayOutput { return o } -func (o InstancePoolPreloadedDockerImageArrayOutput) Index(i pulumi.IntInput) InstancePoolPreloadedDockerImageOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstancePoolPreloadedDockerImage { - return vs[0].([]InstancePoolPreloadedDockerImage)[vs[1].(int)] - }).(InstancePoolPreloadedDockerImageOutput) +func (o ClusterLibraryArrayOutput) Index(i pulumi.IntInput) ClusterLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterLibrary { + return vs[0].([]ClusterLibrary)[vs[1].(int)] + }).(ClusterLibraryOutput) } -type InstancePoolPreloadedDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type ClusterLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// InstancePoolPreloadedDockerImageBasicAuthInput is an input type that accepts InstancePoolPreloadedDockerImageBasicAuthArgs and InstancePoolPreloadedDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `InstancePoolPreloadedDockerImageBasicAuthInput` via: +// ClusterLibraryCranInput is an input type that accepts ClusterLibraryCranArgs and ClusterLibraryCranOutput values. +// You can construct a concrete instance of `ClusterLibraryCranInput` via: // -// InstancePoolPreloadedDockerImageBasicAuthArgs{...} -type InstancePoolPreloadedDockerImageBasicAuthInput interface { +// ClusterLibraryCranArgs{...} +type ClusterLibraryCranInput interface { pulumi.Input - ToInstancePoolPreloadedDockerImageBasicAuthOutput() InstancePoolPreloadedDockerImageBasicAuthOutput - ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(context.Context) InstancePoolPreloadedDockerImageBasicAuthOutput + ToClusterLibraryCranOutput() ClusterLibraryCranOutput + ToClusterLibraryCranOutputWithContext(context.Context) ClusterLibraryCranOutput } -type InstancePoolPreloadedDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type ClusterLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (InstancePoolPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() +func (ClusterLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibraryCran)(nil)).Elem() } -func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthOutput() InstancePoolPreloadedDockerImageBasicAuthOutput { - return i.ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) +func (i ClusterLibraryCranArgs) ToClusterLibraryCranOutput() ClusterLibraryCranOutput { + return i.ToClusterLibraryCranOutputWithContext(context.Background()) } -func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageBasicAuthOutput) +func (i ClusterLibraryCranArgs) ToClusterLibraryCranOutputWithContext(ctx context.Context) ClusterLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryCranOutput) } -func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return i.ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i ClusterLibraryCranArgs) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { + return i.ToClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageBasicAuthOutput).ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i ClusterLibraryCranArgs) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryCranOutput).ToClusterLibraryCranPtrOutputWithContext(ctx) } -// InstancePoolPreloadedDockerImageBasicAuthPtrInput is an input type that accepts InstancePoolPreloadedDockerImageBasicAuthArgs, InstancePoolPreloadedDockerImageBasicAuthPtr and InstancePoolPreloadedDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `InstancePoolPreloadedDockerImageBasicAuthPtrInput` via: +// ClusterLibraryCranPtrInput is an input type that accepts ClusterLibraryCranArgs, ClusterLibraryCranPtr and ClusterLibraryCranPtrOutput values. +// You can construct a concrete instance of `ClusterLibraryCranPtrInput` via: // -// InstancePoolPreloadedDockerImageBasicAuthArgs{...} +// ClusterLibraryCranArgs{...} // // or: // // nil -type InstancePoolPreloadedDockerImageBasicAuthPtrInput interface { +type ClusterLibraryCranPtrInput interface { pulumi.Input - ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput - ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput + ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput + ToClusterLibraryCranPtrOutputWithContext(context.Context) ClusterLibraryCranPtrOutput } -type instancePoolPreloadedDockerImageBasicAuthPtrType InstancePoolPreloadedDockerImageBasicAuthArgs +type clusterLibraryCranPtrType ClusterLibraryCranArgs -func InstancePoolPreloadedDockerImageBasicAuthPtr(v *InstancePoolPreloadedDockerImageBasicAuthArgs) InstancePoolPreloadedDockerImageBasicAuthPtrInput { - return (*instancePoolPreloadedDockerImageBasicAuthPtrType)(v) +func ClusterLibraryCranPtr(v *ClusterLibraryCranArgs) ClusterLibraryCranPtrInput { + return (*clusterLibraryCranPtrType)(v) } -func (*instancePoolPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() +func (*clusterLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterLibraryCran)(nil)).Elem() } -func (i *instancePoolPreloadedDockerImageBasicAuthPtrType) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return i.ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *clusterLibraryCranPtrType) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { + return i.ToClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i *instancePoolPreloadedDockerImageBasicAuthPtrType) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageBasicAuthPtrOutput) +func (i *clusterLibraryCranPtrType) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryCranPtrOutput) } -type InstancePoolPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type ClusterLibraryCranOutput struct{ *pulumi.OutputState } -func (InstancePoolPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() +func (ClusterLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibraryCran)(nil)).Elem() } -func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthOutput() InstancePoolPreloadedDockerImageBasicAuthOutput { +func (o ClusterLibraryCranOutput) ToClusterLibraryCranOutput() ClusterLibraryCranOutput { return o } -func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthOutput { +func (o ClusterLibraryCranOutput) ToClusterLibraryCranOutputWithContext(ctx context.Context) ClusterLibraryCranOutput { return o } -func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return o.ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o ClusterLibraryCranOutput) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { + return o.ToClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolPreloadedDockerImageBasicAuth) *InstancePoolPreloadedDockerImageBasicAuth { +func (o ClusterLibraryCranOutput) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterLibraryCran) *ClusterLibraryCran { return &v - }).(InstancePoolPreloadedDockerImageBasicAuthPtrOutput) + }).(ClusterLibraryCranPtrOutput) } -func (o InstancePoolPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o ClusterLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v ClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o InstancePoolPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v InstancePoolPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o ClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type InstancePoolPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type ClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (InstancePoolPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() +func (ClusterLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterLibraryCran)(nil)).Elem() } -func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { +func (o ClusterLibraryCranPtrOutput) ToClusterLibraryCranPtrOutput() ClusterLibraryCranPtrOutput { return o } -func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { +func (o ClusterLibraryCranPtrOutput) ToClusterLibraryCranPtrOutputWithContext(ctx context.Context) ClusterLibraryCranPtrOutput { return o } -func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) Elem() InstancePoolPreloadedDockerImageBasicAuthOutput { - return o.ApplyT(func(v *InstancePoolPreloadedDockerImageBasicAuth) InstancePoolPreloadedDockerImageBasicAuth { +func (o ClusterLibraryCranPtrOutput) Elem() ClusterLibraryCranOutput { + return o.ApplyT(func(v *ClusterLibraryCran) ClusterLibraryCran { if v != nil { return *v } - var ret InstancePoolPreloadedDockerImageBasicAuth + var ret ClusterLibraryCran return ret - }).(InstancePoolPreloadedDockerImageBasicAuthOutput) + }).(ClusterLibraryCranOutput) } -func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolPreloadedDockerImageBasicAuth) *string { +func (o ClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLibraryCran) *string { if v == nil { return nil } - return &v.Password + return &v.Package }).(pulumi.StringPtrOutput) } -func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *InstancePoolPreloadedDockerImageBasicAuth) *string { +func (o ClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLibraryCran) *string { if v == nil { return nil } - return &v.Username + return v.Repo }).(pulumi.StringPtrOutput) } -type JobContinuous struct { - // Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. - PauseStatus *string `pulumi:"pauseStatus"` +type ClusterLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// JobContinuousInput is an input type that accepts JobContinuousArgs and JobContinuousOutput values. -// You can construct a concrete instance of `JobContinuousInput` via: +// ClusterLibraryMavenInput is an input type that accepts ClusterLibraryMavenArgs and ClusterLibraryMavenOutput values. +// You can construct a concrete instance of `ClusterLibraryMavenInput` via: // -// JobContinuousArgs{...} -type JobContinuousInput interface { +// ClusterLibraryMavenArgs{...} +type ClusterLibraryMavenInput interface { pulumi.Input - ToJobContinuousOutput() JobContinuousOutput - ToJobContinuousOutputWithContext(context.Context) JobContinuousOutput + ToClusterLibraryMavenOutput() ClusterLibraryMavenOutput + ToClusterLibraryMavenOutputWithContext(context.Context) ClusterLibraryMavenOutput } -type JobContinuousArgs struct { - // Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` +type ClusterLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobContinuous)(nil)).Elem() +func (ClusterLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibraryMaven)(nil)).Elem() } -func (i JobContinuousArgs) ToJobContinuousOutput() JobContinuousOutput { - return i.ToJobContinuousOutputWithContext(context.Background()) +func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenOutput() ClusterLibraryMavenOutput { + return i.ToClusterLibraryMavenOutputWithContext(context.Background()) } -func (i JobContinuousArgs) ToJobContinuousOutputWithContext(ctx context.Context) JobContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobContinuousOutput) +func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenOutputWithContext(ctx context.Context) ClusterLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryMavenOutput) } -func (i JobContinuousArgs) ToJobContinuousPtrOutput() JobContinuousPtrOutput { - return i.ToJobContinuousPtrOutputWithContext(context.Background()) +func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { + return i.ToClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobContinuousArgs) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobContinuousOutput).ToJobContinuousPtrOutputWithContext(ctx) +func (i ClusterLibraryMavenArgs) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryMavenOutput).ToClusterLibraryMavenPtrOutputWithContext(ctx) } -// JobContinuousPtrInput is an input type that accepts JobContinuousArgs, JobContinuousPtr and JobContinuousPtrOutput values. -// You can construct a concrete instance of `JobContinuousPtrInput` via: +// ClusterLibraryMavenPtrInput is an input type that accepts ClusterLibraryMavenArgs, ClusterLibraryMavenPtr and ClusterLibraryMavenPtrOutput values. +// You can construct a concrete instance of `ClusterLibraryMavenPtrInput` via: // -// JobContinuousArgs{...} +// ClusterLibraryMavenArgs{...} // // or: // // nil -type JobContinuousPtrInput interface { +type ClusterLibraryMavenPtrInput interface { pulumi.Input - ToJobContinuousPtrOutput() JobContinuousPtrOutput - ToJobContinuousPtrOutputWithContext(context.Context) JobContinuousPtrOutput + ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput + ToClusterLibraryMavenPtrOutputWithContext(context.Context) ClusterLibraryMavenPtrOutput } -type jobContinuousPtrType JobContinuousArgs +type clusterLibraryMavenPtrType ClusterLibraryMavenArgs -func JobContinuousPtr(v *JobContinuousArgs) JobContinuousPtrInput { - return (*jobContinuousPtrType)(v) +func ClusterLibraryMavenPtr(v *ClusterLibraryMavenArgs) ClusterLibraryMavenPtrInput { + return (*clusterLibraryMavenPtrType)(v) } -func (*jobContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobContinuous)(nil)).Elem() +func (*clusterLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterLibraryMaven)(nil)).Elem() } -func (i *jobContinuousPtrType) ToJobContinuousPtrOutput() JobContinuousPtrOutput { - return i.ToJobContinuousPtrOutputWithContext(context.Background()) +func (i *clusterLibraryMavenPtrType) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { + return i.ToClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobContinuousPtrType) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobContinuousPtrOutput) +func (i *clusterLibraryMavenPtrType) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryMavenPtrOutput) } -type JobContinuousOutput struct{ *pulumi.OutputState } +type ClusterLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobContinuous)(nil)).Elem() +func (ClusterLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibraryMaven)(nil)).Elem() } -func (o JobContinuousOutput) ToJobContinuousOutput() JobContinuousOutput { +func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenOutput() ClusterLibraryMavenOutput { return o } -func (o JobContinuousOutput) ToJobContinuousOutputWithContext(ctx context.Context) JobContinuousOutput { +func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenOutputWithContext(ctx context.Context) ClusterLibraryMavenOutput { return o } -func (o JobContinuousOutput) ToJobContinuousPtrOutput() JobContinuousPtrOutput { - return o.ToJobContinuousPtrOutputWithContext(context.Background()) +func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { + return o.ToClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobContinuousOutput) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobContinuous) *JobContinuous { +func (o ClusterLibraryMavenOutput) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterLibraryMaven) *ClusterLibraryMaven { return &v - }).(JobContinuousPtrOutput) + }).(ClusterLibraryMavenPtrOutput) } -// Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. -func (o JobContinuousOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o ClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v ClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -type JobContinuousPtrOutput struct{ *pulumi.OutputState } +func (o ClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} -func (JobContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobContinuous)(nil)).Elem() +func (o ClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o JobContinuousPtrOutput) ToJobContinuousPtrOutput() JobContinuousPtrOutput { +type ClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (ClusterLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterLibraryMaven)(nil)).Elem() +} + +func (o ClusterLibraryMavenPtrOutput) ToClusterLibraryMavenPtrOutput() ClusterLibraryMavenPtrOutput { return o } -func (o JobContinuousPtrOutput) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { +func (o ClusterLibraryMavenPtrOutput) ToClusterLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterLibraryMavenPtrOutput { return o } -func (o JobContinuousPtrOutput) Elem() JobContinuousOutput { - return o.ApplyT(func(v *JobContinuous) JobContinuous { +func (o ClusterLibraryMavenPtrOutput) Elem() ClusterLibraryMavenOutput { + return o.ApplyT(func(v *ClusterLibraryMaven) ClusterLibraryMaven { if v != nil { return *v } - var ret JobContinuous + var ret ClusterLibraryMaven return ret - }).(JobContinuousOutput) + }).(ClusterLibraryMavenOutput) } -// Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. -func (o JobContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobContinuous) *string { +func (o ClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLibraryMaven) *string { if v == nil { return nil } - return v.PauseStatus + return &v.Coordinates }).(pulumi.StringPtrOutput) } -type JobDbtTask struct { - // The name of the catalog to use inside Unity Catalog. - Catalog *string `pulumi:"catalog"` - // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - Commands []string `pulumi:"commands"` - // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - ProfilesDirectory *string `pulumi:"profilesDirectory"` - // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. - // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - ProjectDirectory *string `pulumi:"projectDirectory"` - // The name of the schema dbt should run in. Defaults to `default`. - Schema *string `pulumi:"schema"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. - Source *string `pulumi:"source"` - // The ID of the SQL warehouse that dbt should execute against. - // - // You also need to include a `gitSource` block to configure the repository that contains the dbt project. - WarehouseId *string `pulumi:"warehouseId"` +func (o ClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) } -// JobDbtTaskInput is an input type that accepts JobDbtTaskArgs and JobDbtTaskOutput values. -// You can construct a concrete instance of `JobDbtTaskInput` via: +func (o ClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type ClusterLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// ClusterLibraryPypiInput is an input type that accepts ClusterLibraryPypiArgs and ClusterLibraryPypiOutput values. +// You can construct a concrete instance of `ClusterLibraryPypiInput` via: // -// JobDbtTaskArgs{...} -type JobDbtTaskInput interface { +// ClusterLibraryPypiArgs{...} +type ClusterLibraryPypiInput interface { pulumi.Input - ToJobDbtTaskOutput() JobDbtTaskOutput - ToJobDbtTaskOutputWithContext(context.Context) JobDbtTaskOutput + ToClusterLibraryPypiOutput() ClusterLibraryPypiOutput + ToClusterLibraryPypiOutputWithContext(context.Context) ClusterLibraryPypiOutput } -type JobDbtTaskArgs struct { - // The name of the catalog to use inside Unity Catalog. - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - Commands pulumi.StringArrayInput `pulumi:"commands"` - // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. - // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - // The name of the schema dbt should run in. Defaults to `default`. - Schema pulumi.StringPtrInput `pulumi:"schema"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. - Source pulumi.StringPtrInput `pulumi:"source"` - // The ID of the SQL warehouse that dbt should execute against. - // - // You also need to include a `gitSource` block to configure the repository that contains the dbt project. - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type ClusterLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobDbtTask)(nil)).Elem() +func (ClusterLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibraryPypi)(nil)).Elem() } -func (i JobDbtTaskArgs) ToJobDbtTaskOutput() JobDbtTaskOutput { - return i.ToJobDbtTaskOutputWithContext(context.Background()) +func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiOutput() ClusterLibraryPypiOutput { + return i.ToClusterLibraryPypiOutputWithContext(context.Background()) } -func (i JobDbtTaskArgs) ToJobDbtTaskOutputWithContext(ctx context.Context) JobDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobDbtTaskOutput) +func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiOutputWithContext(ctx context.Context) ClusterLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryPypiOutput) } -func (i JobDbtTaskArgs) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { - return i.ToJobDbtTaskPtrOutputWithContext(context.Background()) +func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { + return i.ToClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobDbtTaskArgs) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobDbtTaskOutput).ToJobDbtTaskPtrOutputWithContext(ctx) +func (i ClusterLibraryPypiArgs) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryPypiOutput).ToClusterLibraryPypiPtrOutputWithContext(ctx) } -// JobDbtTaskPtrInput is an input type that accepts JobDbtTaskArgs, JobDbtTaskPtr and JobDbtTaskPtrOutput values. -// You can construct a concrete instance of `JobDbtTaskPtrInput` via: +// ClusterLibraryPypiPtrInput is an input type that accepts ClusterLibraryPypiArgs, ClusterLibraryPypiPtr and ClusterLibraryPypiPtrOutput values. +// You can construct a concrete instance of `ClusterLibraryPypiPtrInput` via: // -// JobDbtTaskArgs{...} +// ClusterLibraryPypiArgs{...} // // or: // // nil -type JobDbtTaskPtrInput interface { +type ClusterLibraryPypiPtrInput interface { pulumi.Input - ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput - ToJobDbtTaskPtrOutputWithContext(context.Context) JobDbtTaskPtrOutput + ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput + ToClusterLibraryPypiPtrOutputWithContext(context.Context) ClusterLibraryPypiPtrOutput } -type jobDbtTaskPtrType JobDbtTaskArgs +type clusterLibraryPypiPtrType ClusterLibraryPypiArgs -func JobDbtTaskPtr(v *JobDbtTaskArgs) JobDbtTaskPtrInput { - return (*jobDbtTaskPtrType)(v) +func ClusterLibraryPypiPtr(v *ClusterLibraryPypiArgs) ClusterLibraryPypiPtrInput { + return (*clusterLibraryPypiPtrType)(v) } -func (*jobDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobDbtTask)(nil)).Elem() +func (*clusterLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterLibraryPypi)(nil)).Elem() } -func (i *jobDbtTaskPtrType) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { - return i.ToJobDbtTaskPtrOutputWithContext(context.Background()) +func (i *clusterLibraryPypiPtrType) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { + return i.ToClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobDbtTaskPtrType) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobDbtTaskPtrOutput) +func (i *clusterLibraryPypiPtrType) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterLibraryPypiPtrOutput) } -type JobDbtTaskOutput struct{ *pulumi.OutputState } +type ClusterLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobDbtTask)(nil)).Elem() +func (ClusterLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterLibraryPypi)(nil)).Elem() } -func (o JobDbtTaskOutput) ToJobDbtTaskOutput() JobDbtTaskOutput { +func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiOutput() ClusterLibraryPypiOutput { return o } -func (o JobDbtTaskOutput) ToJobDbtTaskOutputWithContext(ctx context.Context) JobDbtTaskOutput { +func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiOutputWithContext(ctx context.Context) ClusterLibraryPypiOutput { return o } -func (o JobDbtTaskOutput) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { - return o.ToJobDbtTaskPtrOutputWithContext(context.Background()) +func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { + return o.ToClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobDbtTaskOutput) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobDbtTask) *JobDbtTask { +func (o ClusterLibraryPypiOutput) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterLibraryPypi) *ClusterLibraryPypi { return &v - }).(JobDbtTaskPtrOutput) -} - -// The name of the catalog to use inside Unity Catalog. -func (o JobDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) -} - -// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". -func (o JobDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) -} - -// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. -func (o JobDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) -} - -// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. -// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. -// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. -func (o JobDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) -} - -// The name of the schema dbt should run in. Defaults to `default`. -func (o JobDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) + }).(ClusterLibraryPypiPtrOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. -func (o JobDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o ClusterLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v ClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -// The ID of the SQL warehouse that dbt should execute against. -// -// You also need to include a `gitSource` block to configure the repository that contains the dbt project. -func (o JobDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o ClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobDbtTaskPtrOutput struct{ *pulumi.OutputState } +type ClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobDbtTask)(nil)).Elem() +func (ClusterLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterLibraryPypi)(nil)).Elem() } -func (o JobDbtTaskPtrOutput) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { +func (o ClusterLibraryPypiPtrOutput) ToClusterLibraryPypiPtrOutput() ClusterLibraryPypiPtrOutput { return o } -func (o JobDbtTaskPtrOutput) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { +func (o ClusterLibraryPypiPtrOutput) ToClusterLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterLibraryPypiPtrOutput { return o } -func (o JobDbtTaskPtrOutput) Elem() JobDbtTaskOutput { - return o.ApplyT(func(v *JobDbtTask) JobDbtTask { +func (o ClusterLibraryPypiPtrOutput) Elem() ClusterLibraryPypiOutput { + return o.ApplyT(func(v *ClusterLibraryPypi) ClusterLibraryPypi { if v != nil { return *v } - var ret JobDbtTask + var ret ClusterLibraryPypi return ret - }).(JobDbtTaskOutput) + }).(ClusterLibraryPypiOutput) } -// The name of the catalog to use inside Unity Catalog. -func (o JobDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDbtTask) *string { +func (o ClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLibraryPypi) *string { if v == nil { return nil } - return v.Catalog + return &v.Package }).(pulumi.StringPtrOutput) } -// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". -func (o JobDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobDbtTask) []string { +func (o ClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLibraryPypi) *string { if v == nil { return nil } - return v.Commands - }).(pulumi.StringArrayOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. -func (o JobDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type ClusterPolicyLibrary struct { + Cran *ClusterPolicyLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *ClusterPolicyLibraryMaven `pulumi:"maven"` + Pypi *ClusterPolicyLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. -// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. -// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. -func (o JobDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +// ClusterPolicyLibraryInput is an input type that accepts ClusterPolicyLibraryArgs and ClusterPolicyLibraryOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryInput` via: +// +// ClusterPolicyLibraryArgs{...} +type ClusterPolicyLibraryInput interface { + pulumi.Input + + ToClusterPolicyLibraryOutput() ClusterPolicyLibraryOutput + ToClusterPolicyLibraryOutputWithContext(context.Context) ClusterPolicyLibraryOutput } -// The name of the schema dbt should run in. Defaults to `default`. -func (o JobDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +type ClusterPolicyLibraryArgs struct { + Cran ClusterPolicyLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven ClusterPolicyLibraryMavenPtrInput `pulumi:"maven"` + Pypi ClusterPolicyLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. -func (o JobDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDbtTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (ClusterPolicyLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibrary)(nil)).Elem() } -// The ID of the SQL warehouse that dbt should execute against. +func (i ClusterPolicyLibraryArgs) ToClusterPolicyLibraryOutput() ClusterPolicyLibraryOutput { + return i.ToClusterPolicyLibraryOutputWithContext(context.Background()) +} + +func (i ClusterPolicyLibraryArgs) ToClusterPolicyLibraryOutputWithContext(ctx context.Context) ClusterPolicyLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryOutput) +} + +// ClusterPolicyLibraryArrayInput is an input type that accepts ClusterPolicyLibraryArray and ClusterPolicyLibraryArrayOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryArrayInput` via: // -// You also need to include a `gitSource` block to configure the repository that contains the dbt project. -func (o JobDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDbtTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) +// ClusterPolicyLibraryArray{ ClusterPolicyLibraryArgs{...} } +type ClusterPolicyLibraryArrayInput interface { + pulumi.Input + + ToClusterPolicyLibraryArrayOutput() ClusterPolicyLibraryArrayOutput + ToClusterPolicyLibraryArrayOutputWithContext(context.Context) ClusterPolicyLibraryArrayOutput } -type JobDeployment struct { - Kind string `pulumi:"kind"` - MetadataFilePath *string `pulumi:"metadataFilePath"` +type ClusterPolicyLibraryArray []ClusterPolicyLibraryInput + +func (ClusterPolicyLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterPolicyLibrary)(nil)).Elem() } -// JobDeploymentInput is an input type that accepts JobDeploymentArgs and JobDeploymentOutput values. -// You can construct a concrete instance of `JobDeploymentInput` via: +func (i ClusterPolicyLibraryArray) ToClusterPolicyLibraryArrayOutput() ClusterPolicyLibraryArrayOutput { + return i.ToClusterPolicyLibraryArrayOutputWithContext(context.Background()) +} + +func (i ClusterPolicyLibraryArray) ToClusterPolicyLibraryArrayOutputWithContext(ctx context.Context) ClusterPolicyLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryArrayOutput) +} + +type ClusterPolicyLibraryOutput struct{ *pulumi.OutputState } + +func (ClusterPolicyLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibrary)(nil)).Elem() +} + +func (o ClusterPolicyLibraryOutput) ToClusterPolicyLibraryOutput() ClusterPolicyLibraryOutput { + return o +} + +func (o ClusterPolicyLibraryOutput) ToClusterPolicyLibraryOutputWithContext(ctx context.Context) ClusterPolicyLibraryOutput { + return o +} + +func (o ClusterPolicyLibraryOutput) Cran() ClusterPolicyLibraryCranPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *ClusterPolicyLibraryCran { return v.Cran }).(ClusterPolicyLibraryCranPtrOutput) +} + +func (o ClusterPolicyLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +} + +func (o ClusterPolicyLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +} + +func (o ClusterPolicyLibraryOutput) Maven() ClusterPolicyLibraryMavenPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *ClusterPolicyLibraryMaven { return v.Maven }).(ClusterPolicyLibraryMavenPtrOutput) +} + +func (o ClusterPolicyLibraryOutput) Pypi() ClusterPolicyLibraryPypiPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *ClusterPolicyLibraryPypi { return v.Pypi }).(ClusterPolicyLibraryPypiPtrOutput) +} + +func (o ClusterPolicyLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +} + +func (o ClusterPolicyLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type ClusterPolicyLibraryArrayOutput struct{ *pulumi.OutputState } + +func (ClusterPolicyLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterPolicyLibrary)(nil)).Elem() +} + +func (o ClusterPolicyLibraryArrayOutput) ToClusterPolicyLibraryArrayOutput() ClusterPolicyLibraryArrayOutput { + return o +} + +func (o ClusterPolicyLibraryArrayOutput) ToClusterPolicyLibraryArrayOutputWithContext(ctx context.Context) ClusterPolicyLibraryArrayOutput { + return o +} + +func (o ClusterPolicyLibraryArrayOutput) Index(i pulumi.IntInput) ClusterPolicyLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterPolicyLibrary { + return vs[0].([]ClusterPolicyLibrary)[vs[1].(int)] + }).(ClusterPolicyLibraryOutput) +} + +type ClusterPolicyLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// ClusterPolicyLibraryCranInput is an input type that accepts ClusterPolicyLibraryCranArgs and ClusterPolicyLibraryCranOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryCranInput` via: // -// JobDeploymentArgs{...} -type JobDeploymentInput interface { +// ClusterPolicyLibraryCranArgs{...} +type ClusterPolicyLibraryCranInput interface { pulumi.Input - ToJobDeploymentOutput() JobDeploymentOutput - ToJobDeploymentOutputWithContext(context.Context) JobDeploymentOutput + ToClusterPolicyLibraryCranOutput() ClusterPolicyLibraryCranOutput + ToClusterPolicyLibraryCranOutputWithContext(context.Context) ClusterPolicyLibraryCranOutput } -type JobDeploymentArgs struct { - Kind pulumi.StringInput `pulumi:"kind"` - MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` +type ClusterPolicyLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobDeploymentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobDeployment)(nil)).Elem() +func (ClusterPolicyLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibraryCran)(nil)).Elem() } -func (i JobDeploymentArgs) ToJobDeploymentOutput() JobDeploymentOutput { - return i.ToJobDeploymentOutputWithContext(context.Background()) +func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranOutput() ClusterPolicyLibraryCranOutput { + return i.ToClusterPolicyLibraryCranOutputWithContext(context.Background()) } -func (i JobDeploymentArgs) ToJobDeploymentOutputWithContext(ctx context.Context) JobDeploymentOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobDeploymentOutput) +func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryCranOutput) } -func (i JobDeploymentArgs) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { - return i.ToJobDeploymentPtrOutputWithContext(context.Background()) +func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { + return i.ToClusterPolicyLibraryCranPtrOutputWithContext(context.Background()) } -func (i JobDeploymentArgs) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobDeploymentOutput).ToJobDeploymentPtrOutputWithContext(ctx) +func (i ClusterPolicyLibraryCranArgs) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryCranOutput).ToClusterPolicyLibraryCranPtrOutputWithContext(ctx) } -// JobDeploymentPtrInput is an input type that accepts JobDeploymentArgs, JobDeploymentPtr and JobDeploymentPtrOutput values. -// You can construct a concrete instance of `JobDeploymentPtrInput` via: +// ClusterPolicyLibraryCranPtrInput is an input type that accepts ClusterPolicyLibraryCranArgs, ClusterPolicyLibraryCranPtr and ClusterPolicyLibraryCranPtrOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryCranPtrInput` via: // -// JobDeploymentArgs{...} +// ClusterPolicyLibraryCranArgs{...} // // or: // // nil -type JobDeploymentPtrInput interface { +type ClusterPolicyLibraryCranPtrInput interface { pulumi.Input - ToJobDeploymentPtrOutput() JobDeploymentPtrOutput - ToJobDeploymentPtrOutputWithContext(context.Context) JobDeploymentPtrOutput + ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput + ToClusterPolicyLibraryCranPtrOutputWithContext(context.Context) ClusterPolicyLibraryCranPtrOutput } -type jobDeploymentPtrType JobDeploymentArgs +type clusterPolicyLibraryCranPtrType ClusterPolicyLibraryCranArgs -func JobDeploymentPtr(v *JobDeploymentArgs) JobDeploymentPtrInput { - return (*jobDeploymentPtrType)(v) +func ClusterPolicyLibraryCranPtr(v *ClusterPolicyLibraryCranArgs) ClusterPolicyLibraryCranPtrInput { + return (*clusterPolicyLibraryCranPtrType)(v) } -func (*jobDeploymentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobDeployment)(nil)).Elem() +func (*clusterPolicyLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterPolicyLibraryCran)(nil)).Elem() } -func (i *jobDeploymentPtrType) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { - return i.ToJobDeploymentPtrOutputWithContext(context.Background()) +func (i *clusterPolicyLibraryCranPtrType) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { + return i.ToClusterPolicyLibraryCranPtrOutputWithContext(context.Background()) } -func (i *jobDeploymentPtrType) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobDeploymentPtrOutput) +func (i *clusterPolicyLibraryCranPtrType) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryCranPtrOutput) } -type JobDeploymentOutput struct{ *pulumi.OutputState } +type ClusterPolicyLibraryCranOutput struct{ *pulumi.OutputState } -func (JobDeploymentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobDeployment)(nil)).Elem() +func (ClusterPolicyLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibraryCran)(nil)).Elem() } -func (o JobDeploymentOutput) ToJobDeploymentOutput() JobDeploymentOutput { +func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranOutput() ClusterPolicyLibraryCranOutput { return o } -func (o JobDeploymentOutput) ToJobDeploymentOutputWithContext(ctx context.Context) JobDeploymentOutput { +func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranOutput { return o } -func (o JobDeploymentOutput) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { - return o.ToJobDeploymentPtrOutputWithContext(context.Background()) +func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { + return o.ToClusterPolicyLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobDeploymentOutput) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobDeployment) *JobDeployment { +func (o ClusterPolicyLibraryCranOutput) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterPolicyLibraryCran) *ClusterPolicyLibraryCran { return &v - }).(JobDeploymentPtrOutput) + }).(ClusterPolicyLibraryCranPtrOutput) } -func (o JobDeploymentOutput) Kind() pulumi.StringOutput { - return o.ApplyT(func(v JobDeployment) string { return v.Kind }).(pulumi.StringOutput) +func (o ClusterPolicyLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v ClusterPolicyLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o JobDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) +func (o ClusterPolicyLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobDeploymentPtrOutput struct{ *pulumi.OutputState } +type ClusterPolicyLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (JobDeploymentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobDeployment)(nil)).Elem() +func (ClusterPolicyLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterPolicyLibraryCran)(nil)).Elem() } -func (o JobDeploymentPtrOutput) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { +func (o ClusterPolicyLibraryCranPtrOutput) ToClusterPolicyLibraryCranPtrOutput() ClusterPolicyLibraryCranPtrOutput { return o } -func (o JobDeploymentPtrOutput) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { +func (o ClusterPolicyLibraryCranPtrOutput) ToClusterPolicyLibraryCranPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryCranPtrOutput { return o } -func (o JobDeploymentPtrOutput) Elem() JobDeploymentOutput { - return o.ApplyT(func(v *JobDeployment) JobDeployment { +func (o ClusterPolicyLibraryCranPtrOutput) Elem() ClusterPolicyLibraryCranOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryCran) ClusterPolicyLibraryCran { if v != nil { return *v } - var ret JobDeployment + var ret ClusterPolicyLibraryCran return ret - }).(JobDeploymentOutput) + }).(ClusterPolicyLibraryCranOutput) } -func (o JobDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDeployment) *string { +func (o ClusterPolicyLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryCran) *string { if v == nil { return nil } - return &v.Kind + return &v.Package }).(pulumi.StringPtrOutput) } -func (o JobDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobDeployment) *string { +func (o ClusterPolicyLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryCran) *string { if v == nil { return nil } - return v.MetadataFilePath + return v.Repo }).(pulumi.StringPtrOutput) } -type JobEmailNotifications struct { - // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // The following parameter is only available for the job level configuration. - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of emails to notify when the run fails. - OnFailures []string `pulumi:"onFailures"` - // (List) list of emails to notify when the run starts. - OnStarts []string `pulumi:"onStarts"` - OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` - // (List) list of emails to notify when the run completes successfully. - OnSuccesses []string `pulumi:"onSuccesses"` +type ClusterPolicyLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// JobEmailNotificationsInput is an input type that accepts JobEmailNotificationsArgs and JobEmailNotificationsOutput values. -// You can construct a concrete instance of `JobEmailNotificationsInput` via: +// ClusterPolicyLibraryMavenInput is an input type that accepts ClusterPolicyLibraryMavenArgs and ClusterPolicyLibraryMavenOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryMavenInput` via: // -// JobEmailNotificationsArgs{...} -type JobEmailNotificationsInput interface { +// ClusterPolicyLibraryMavenArgs{...} +type ClusterPolicyLibraryMavenInput interface { pulumi.Input - ToJobEmailNotificationsOutput() JobEmailNotificationsOutput - ToJobEmailNotificationsOutputWithContext(context.Context) JobEmailNotificationsOutput + ToClusterPolicyLibraryMavenOutput() ClusterPolicyLibraryMavenOutput + ToClusterPolicyLibraryMavenOutputWithContext(context.Context) ClusterPolicyLibraryMavenOutput } -type JobEmailNotificationsArgs struct { - // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // The following parameter is only available for the job level configuration. - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of emails to notify when the run fails. - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - // (List) list of emails to notify when the run starts. - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` - // (List) list of emails to notify when the run completes successfully. - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type ClusterPolicyLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobEmailNotifications)(nil)).Elem() +func (ClusterPolicyLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibraryMaven)(nil)).Elem() } -func (i JobEmailNotificationsArgs) ToJobEmailNotificationsOutput() JobEmailNotificationsOutput { - return i.ToJobEmailNotificationsOutputWithContext(context.Background()) +func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenOutput() ClusterPolicyLibraryMavenOutput { + return i.ToClusterPolicyLibraryMavenOutputWithContext(context.Background()) } -func (i JobEmailNotificationsArgs) ToJobEmailNotificationsOutputWithContext(ctx context.Context) JobEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEmailNotificationsOutput) +func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryMavenOutput) } -func (i JobEmailNotificationsArgs) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { - return i.ToJobEmailNotificationsPtrOutputWithContext(context.Background()) +func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { + return i.ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobEmailNotificationsArgs) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEmailNotificationsOutput).ToJobEmailNotificationsPtrOutputWithContext(ctx) +func (i ClusterPolicyLibraryMavenArgs) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryMavenOutput).ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx) } -// JobEmailNotificationsPtrInput is an input type that accepts JobEmailNotificationsArgs, JobEmailNotificationsPtr and JobEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `JobEmailNotificationsPtrInput` via: +// ClusterPolicyLibraryMavenPtrInput is an input type that accepts ClusterPolicyLibraryMavenArgs, ClusterPolicyLibraryMavenPtr and ClusterPolicyLibraryMavenPtrOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryMavenPtrInput` via: // -// JobEmailNotificationsArgs{...} +// ClusterPolicyLibraryMavenArgs{...} // // or: // // nil -type JobEmailNotificationsPtrInput interface { +type ClusterPolicyLibraryMavenPtrInput interface { pulumi.Input - ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput - ToJobEmailNotificationsPtrOutputWithContext(context.Context) JobEmailNotificationsPtrOutput + ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput + ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Context) ClusterPolicyLibraryMavenPtrOutput } -type jobEmailNotificationsPtrType JobEmailNotificationsArgs +type clusterPolicyLibraryMavenPtrType ClusterPolicyLibraryMavenArgs -func JobEmailNotificationsPtr(v *JobEmailNotificationsArgs) JobEmailNotificationsPtrInput { - return (*jobEmailNotificationsPtrType)(v) +func ClusterPolicyLibraryMavenPtr(v *ClusterPolicyLibraryMavenArgs) ClusterPolicyLibraryMavenPtrInput { + return (*clusterPolicyLibraryMavenPtrType)(v) } -func (*jobEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobEmailNotifications)(nil)).Elem() +func (*clusterPolicyLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterPolicyLibraryMaven)(nil)).Elem() } -func (i *jobEmailNotificationsPtrType) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { - return i.ToJobEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *clusterPolicyLibraryMavenPtrType) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { + return i.ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobEmailNotificationsPtrType) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEmailNotificationsPtrOutput) +func (i *clusterPolicyLibraryMavenPtrType) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryMavenPtrOutput) } -type JobEmailNotificationsOutput struct{ *pulumi.OutputState } +type ClusterPolicyLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobEmailNotifications)(nil)).Elem() +func (ClusterPolicyLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibraryMaven)(nil)).Elem() } -func (o JobEmailNotificationsOutput) ToJobEmailNotificationsOutput() JobEmailNotificationsOutput { +func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenOutput() ClusterPolicyLibraryMavenOutput { return o } -func (o JobEmailNotificationsOutput) ToJobEmailNotificationsOutputWithContext(ctx context.Context) JobEmailNotificationsOutput { +func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenOutput { return o } -func (o JobEmailNotificationsOutput) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { - return o.ToJobEmailNotificationsPtrOutputWithContext(context.Background()) +func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { + return o.ToClusterPolicyLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobEmailNotificationsOutput) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobEmailNotifications) *JobEmailNotifications { +func (o ClusterPolicyLibraryMavenOutput) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterPolicyLibraryMaven) *ClusterPolicyLibraryMaven { return &v - }).(JobEmailNotificationsPtrOutput) -} - -// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). -func (o JobEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) -} - -// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// The following parameter is only available for the job level configuration. -func (o JobEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnDurationWarningThresholdExceededs }).(pulumi.StringArrayOutput) -} - -// (List) list of emails to notify when the run fails. -func (o JobEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) + }).(ClusterPolicyLibraryMavenPtrOutput) } -// (List) list of emails to notify when the run starts. -func (o JobEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (o ClusterPolicyLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v ClusterPolicyLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o JobEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) +func (o ClusterPolicyLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterPolicyLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -// (List) list of emails to notify when the run completes successfully. -func (o JobEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o ClusterPolicyLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type ClusterPolicyLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (JobEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobEmailNotifications)(nil)).Elem() +func (ClusterPolicyLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterPolicyLibraryMaven)(nil)).Elem() } -func (o JobEmailNotificationsPtrOutput) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { +func (o ClusterPolicyLibraryMavenPtrOutput) ToClusterPolicyLibraryMavenPtrOutput() ClusterPolicyLibraryMavenPtrOutput { return o } -func (o JobEmailNotificationsPtrOutput) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { +func (o ClusterPolicyLibraryMavenPtrOutput) ToClusterPolicyLibraryMavenPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryMavenPtrOutput { return o } -func (o JobEmailNotificationsPtrOutput) Elem() JobEmailNotificationsOutput { - return o.ApplyT(func(v *JobEmailNotifications) JobEmailNotifications { +func (o ClusterPolicyLibraryMavenPtrOutput) Elem() ClusterPolicyLibraryMavenOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryMaven) ClusterPolicyLibraryMaven { if v != nil { return *v } - var ret JobEmailNotifications + var ret ClusterPolicyLibraryMaven return ret - }).(JobEmailNotificationsOutput) + }).(ClusterPolicyLibraryMavenOutput) } -// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). -func (o JobEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobEmailNotifications) *bool { +func (o ClusterPolicyLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryMaven) *string { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return &v.Coordinates + }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// The following parameter is only available for the job level configuration. -func (o JobEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobEmailNotifications) []string { +func (o ClusterPolicyLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryMaven) []string { if v == nil { return nil } - return v.OnDurationWarningThresholdExceededs + return v.Exclusions }).(pulumi.StringArrayOutput) } -// (List) list of emails to notify when the run fails. -func (o JobEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobEmailNotifications) []string { +func (o ClusterPolicyLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryMaven) *string { if v == nil { return nil } - return v.OnFailures - }).(pulumi.StringArrayOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the run starts. -func (o JobEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStarts - }).(pulumi.StringArrayOutput) +type ClusterPolicyLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -func (o JobEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) -} +// ClusterPolicyLibraryPypiInput is an input type that accepts ClusterPolicyLibraryPypiArgs and ClusterPolicyLibraryPypiOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryPypiInput` via: +// +// ClusterPolicyLibraryPypiArgs{...} +type ClusterPolicyLibraryPypiInput interface { + pulumi.Input -// (List) list of emails to notify when the run completes successfully. -func (o JobEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + ToClusterPolicyLibraryPypiOutput() ClusterPolicyLibraryPypiOutput + ToClusterPolicyLibraryPypiOutputWithContext(context.Context) ClusterPolicyLibraryPypiOutput } -type JobEnvironment struct { - // an unique identifier of the Environment. It will be referenced from `environmentKey` attribute of corresponding task. - EnvironmentKey string `pulumi:"environmentKey"` - // block describing the Environment. Consists of following attributes: - Spec *JobEnvironmentSpec `pulumi:"spec"` +type ClusterPolicyLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -// JobEnvironmentInput is an input type that accepts JobEnvironmentArgs and JobEnvironmentOutput values. -// You can construct a concrete instance of `JobEnvironmentInput` via: -// -// JobEnvironmentArgs{...} -type JobEnvironmentInput interface { - pulumi.Input - - ToJobEnvironmentOutput() JobEnvironmentOutput - ToJobEnvironmentOutputWithContext(context.Context) JobEnvironmentOutput +func (ClusterPolicyLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibraryPypi)(nil)).Elem() } -type JobEnvironmentArgs struct { - // an unique identifier of the Environment. It will be referenced from `environmentKey` attribute of corresponding task. - EnvironmentKey pulumi.StringInput `pulumi:"environmentKey"` - // block describing the Environment. Consists of following attributes: - Spec JobEnvironmentSpecPtrInput `pulumi:"spec"` +func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiOutput() ClusterPolicyLibraryPypiOutput { + return i.ToClusterPolicyLibraryPypiOutputWithContext(context.Background()) } -func (JobEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobEnvironment)(nil)).Elem() +func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryPypiOutput) } -func (i JobEnvironmentArgs) ToJobEnvironmentOutput() JobEnvironmentOutput { - return i.ToJobEnvironmentOutputWithContext(context.Background()) +func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { + return i.ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobEnvironmentArgs) ToJobEnvironmentOutputWithContext(ctx context.Context) JobEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentOutput) +func (i ClusterPolicyLibraryPypiArgs) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryPypiOutput).ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx) } -// JobEnvironmentArrayInput is an input type that accepts JobEnvironmentArray and JobEnvironmentArrayOutput values. -// You can construct a concrete instance of `JobEnvironmentArrayInput` via: +// ClusterPolicyLibraryPypiPtrInput is an input type that accepts ClusterPolicyLibraryPypiArgs, ClusterPolicyLibraryPypiPtr and ClusterPolicyLibraryPypiPtrOutput values. +// You can construct a concrete instance of `ClusterPolicyLibraryPypiPtrInput` via: // -// JobEnvironmentArray{ JobEnvironmentArgs{...} } -type JobEnvironmentArrayInput interface { +// ClusterPolicyLibraryPypiArgs{...} +// +// or: +// +// nil +type ClusterPolicyLibraryPypiPtrInput interface { pulumi.Input - ToJobEnvironmentArrayOutput() JobEnvironmentArrayOutput - ToJobEnvironmentArrayOutputWithContext(context.Context) JobEnvironmentArrayOutput + ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput + ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Context) ClusterPolicyLibraryPypiPtrOutput } -type JobEnvironmentArray []JobEnvironmentInput +type clusterPolicyLibraryPypiPtrType ClusterPolicyLibraryPypiArgs -func (JobEnvironmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobEnvironment)(nil)).Elem() +func ClusterPolicyLibraryPypiPtr(v *ClusterPolicyLibraryPypiArgs) ClusterPolicyLibraryPypiPtrInput { + return (*clusterPolicyLibraryPypiPtrType)(v) } -func (i JobEnvironmentArray) ToJobEnvironmentArrayOutput() JobEnvironmentArrayOutput { - return i.ToJobEnvironmentArrayOutputWithContext(context.Background()) +func (*clusterPolicyLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterPolicyLibraryPypi)(nil)).Elem() } -func (i JobEnvironmentArray) ToJobEnvironmentArrayOutputWithContext(ctx context.Context) JobEnvironmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentArrayOutput) +func (i *clusterPolicyLibraryPypiPtrType) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { + return i.ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Background()) } -type JobEnvironmentOutput struct{ *pulumi.OutputState } +func (i *clusterPolicyLibraryPypiPtrType) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPolicyLibraryPypiPtrOutput) +} -func (JobEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobEnvironment)(nil)).Elem() +type ClusterPolicyLibraryPypiOutput struct{ *pulumi.OutputState } + +func (ClusterPolicyLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterPolicyLibraryPypi)(nil)).Elem() } -func (o JobEnvironmentOutput) ToJobEnvironmentOutput() JobEnvironmentOutput { +func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiOutput() ClusterPolicyLibraryPypiOutput { return o } -func (o JobEnvironmentOutput) ToJobEnvironmentOutputWithContext(ctx context.Context) JobEnvironmentOutput { +func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiOutput { return o } -// an unique identifier of the Environment. It will be referenced from `environmentKey` attribute of corresponding task. -func (o JobEnvironmentOutput) EnvironmentKey() pulumi.StringOutput { - return o.ApplyT(func(v JobEnvironment) string { return v.EnvironmentKey }).(pulumi.StringOutput) +func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { + return o.ToClusterPolicyLibraryPypiPtrOutputWithContext(context.Background()) } -// block describing the Environment. Consists of following attributes: -func (o JobEnvironmentOutput) Spec() JobEnvironmentSpecPtrOutput { - return o.ApplyT(func(v JobEnvironment) *JobEnvironmentSpec { return v.Spec }).(JobEnvironmentSpecPtrOutput) +func (o ClusterPolicyLibraryPypiOutput) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterPolicyLibraryPypi) *ClusterPolicyLibraryPypi { + return &v + }).(ClusterPolicyLibraryPypiPtrOutput) } -type JobEnvironmentArrayOutput struct{ *pulumi.OutputState } +func (o ClusterPolicyLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v ClusterPolicyLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +} -func (JobEnvironmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobEnvironment)(nil)).Elem() +func (o ClusterPolicyLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterPolicyLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o JobEnvironmentArrayOutput) ToJobEnvironmentArrayOutput() JobEnvironmentArrayOutput { +type ClusterPolicyLibraryPypiPtrOutput struct{ *pulumi.OutputState } + +func (ClusterPolicyLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterPolicyLibraryPypi)(nil)).Elem() +} + +func (o ClusterPolicyLibraryPypiPtrOutput) ToClusterPolicyLibraryPypiPtrOutput() ClusterPolicyLibraryPypiPtrOutput { return o } -func (o JobEnvironmentArrayOutput) ToJobEnvironmentArrayOutputWithContext(ctx context.Context) JobEnvironmentArrayOutput { +func (o ClusterPolicyLibraryPypiPtrOutput) ToClusterPolicyLibraryPypiPtrOutputWithContext(ctx context.Context) ClusterPolicyLibraryPypiPtrOutput { return o } -func (o JobEnvironmentArrayOutput) Index(i pulumi.IntInput) JobEnvironmentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobEnvironment { - return vs[0].([]JobEnvironment)[vs[1].(int)] - }).(JobEnvironmentOutput) +func (o ClusterPolicyLibraryPypiPtrOutput) Elem() ClusterPolicyLibraryPypiOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryPypi) ClusterPolicyLibraryPypi { + if v != nil { + return *v + } + var ret ClusterPolicyLibraryPypi + return ret + }).(ClusterPolicyLibraryPypiOutput) } -type JobEnvironmentSpec struct { - // client version used by the environment. - Client string `pulumi:"client"` - // List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. - Dependencies []string `pulumi:"dependencies"` +func (o ClusterPolicyLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryPypi) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) } -// JobEnvironmentSpecInput is an input type that accepts JobEnvironmentSpecArgs and JobEnvironmentSpecOutput values. -// You can construct a concrete instance of `JobEnvironmentSpecInput` via: +func (o ClusterPolicyLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterPolicyLibraryPypi) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type ClusterWorkloadType struct { + Clients ClusterWorkloadTypeClients `pulumi:"clients"` +} + +// ClusterWorkloadTypeInput is an input type that accepts ClusterWorkloadTypeArgs and ClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `ClusterWorkloadTypeInput` via: // -// JobEnvironmentSpecArgs{...} -type JobEnvironmentSpecInput interface { +// ClusterWorkloadTypeArgs{...} +type ClusterWorkloadTypeInput interface { pulumi.Input - ToJobEnvironmentSpecOutput() JobEnvironmentSpecOutput - ToJobEnvironmentSpecOutputWithContext(context.Context) JobEnvironmentSpecOutput + ToClusterWorkloadTypeOutput() ClusterWorkloadTypeOutput + ToClusterWorkloadTypeOutputWithContext(context.Context) ClusterWorkloadTypeOutput } -type JobEnvironmentSpecArgs struct { - // client version used by the environment. - Client pulumi.StringInput `pulumi:"client"` - // List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. - Dependencies pulumi.StringArrayInput `pulumi:"dependencies"` +type ClusterWorkloadTypeArgs struct { + Clients ClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (JobEnvironmentSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobEnvironmentSpec)(nil)).Elem() +func (ClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterWorkloadType)(nil)).Elem() } -func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecOutput() JobEnvironmentSpecOutput { - return i.ToJobEnvironmentSpecOutputWithContext(context.Background()) +func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypeOutput() ClusterWorkloadTypeOutput { + return i.ToClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecOutputWithContext(ctx context.Context) JobEnvironmentSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentSpecOutput) +func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypeOutputWithContext(ctx context.Context) ClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeOutput) } -func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { - return i.ToJobEnvironmentSpecPtrOutputWithContext(context.Background()) +func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { + return i.ToClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentSpecOutput).ToJobEnvironmentSpecPtrOutputWithContext(ctx) +func (i ClusterWorkloadTypeArgs) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeOutput).ToClusterWorkloadTypePtrOutputWithContext(ctx) } -// JobEnvironmentSpecPtrInput is an input type that accepts JobEnvironmentSpecArgs, JobEnvironmentSpecPtr and JobEnvironmentSpecPtrOutput values. -// You can construct a concrete instance of `JobEnvironmentSpecPtrInput` via: +// ClusterWorkloadTypePtrInput is an input type that accepts ClusterWorkloadTypeArgs, ClusterWorkloadTypePtr and ClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `ClusterWorkloadTypePtrInput` via: // -// JobEnvironmentSpecArgs{...} +// ClusterWorkloadTypeArgs{...} // // or: // // nil -type JobEnvironmentSpecPtrInput interface { +type ClusterWorkloadTypePtrInput interface { pulumi.Input - ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput - ToJobEnvironmentSpecPtrOutputWithContext(context.Context) JobEnvironmentSpecPtrOutput + ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput + ToClusterWorkloadTypePtrOutputWithContext(context.Context) ClusterWorkloadTypePtrOutput } -type jobEnvironmentSpecPtrType JobEnvironmentSpecArgs +type clusterWorkloadTypePtrType ClusterWorkloadTypeArgs -func JobEnvironmentSpecPtr(v *JobEnvironmentSpecArgs) JobEnvironmentSpecPtrInput { - return (*jobEnvironmentSpecPtrType)(v) +func ClusterWorkloadTypePtr(v *ClusterWorkloadTypeArgs) ClusterWorkloadTypePtrInput { + return (*clusterWorkloadTypePtrType)(v) } -func (*jobEnvironmentSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobEnvironmentSpec)(nil)).Elem() +func (*clusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterWorkloadType)(nil)).Elem() } -func (i *jobEnvironmentSpecPtrType) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { - return i.ToJobEnvironmentSpecPtrOutputWithContext(context.Background()) +func (i *clusterWorkloadTypePtrType) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { + return i.ToClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *jobEnvironmentSpecPtrType) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentSpecPtrOutput) +func (i *clusterWorkloadTypePtrType) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypePtrOutput) } -type JobEnvironmentSpecOutput struct{ *pulumi.OutputState } +type ClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (JobEnvironmentSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobEnvironmentSpec)(nil)).Elem() +func (ClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterWorkloadType)(nil)).Elem() } -func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecOutput() JobEnvironmentSpecOutput { +func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypeOutput() ClusterWorkloadTypeOutput { return o } -func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecOutputWithContext(ctx context.Context) JobEnvironmentSpecOutput { +func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypeOutputWithContext(ctx context.Context) ClusterWorkloadTypeOutput { return o } -func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { - return o.ToJobEnvironmentSpecPtrOutputWithContext(context.Background()) +func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { + return o.ToClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobEnvironmentSpec) *JobEnvironmentSpec { +func (o ClusterWorkloadTypeOutput) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterWorkloadType) *ClusterWorkloadType { return &v - }).(JobEnvironmentSpecPtrOutput) -} - -// client version used by the environment. -func (o JobEnvironmentSpecOutput) Client() pulumi.StringOutput { - return o.ApplyT(func(v JobEnvironmentSpec) string { return v.Client }).(pulumi.StringOutput) + }).(ClusterWorkloadTypePtrOutput) } -// List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. -func (o JobEnvironmentSpecOutput) Dependencies() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobEnvironmentSpec) []string { return v.Dependencies }).(pulumi.StringArrayOutput) +func (o ClusterWorkloadTypeOutput) Clients() ClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v ClusterWorkloadType) ClusterWorkloadTypeClients { return v.Clients }).(ClusterWorkloadTypeClientsOutput) } -type JobEnvironmentSpecPtrOutput struct{ *pulumi.OutputState } +type ClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (JobEnvironmentSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobEnvironmentSpec)(nil)).Elem() +func (ClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterWorkloadType)(nil)).Elem() } -func (o JobEnvironmentSpecPtrOutput) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { +func (o ClusterWorkloadTypePtrOutput) ToClusterWorkloadTypePtrOutput() ClusterWorkloadTypePtrOutput { return o } -func (o JobEnvironmentSpecPtrOutput) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { +func (o ClusterWorkloadTypePtrOutput) ToClusterWorkloadTypePtrOutputWithContext(ctx context.Context) ClusterWorkloadTypePtrOutput { return o } -func (o JobEnvironmentSpecPtrOutput) Elem() JobEnvironmentSpecOutput { - return o.ApplyT(func(v *JobEnvironmentSpec) JobEnvironmentSpec { +func (o ClusterWorkloadTypePtrOutput) Elem() ClusterWorkloadTypeOutput { + return o.ApplyT(func(v *ClusterWorkloadType) ClusterWorkloadType { if v != nil { return *v } - var ret JobEnvironmentSpec + var ret ClusterWorkloadType return ret - }).(JobEnvironmentSpecOutput) -} - -// client version used by the environment. -func (o JobEnvironmentSpecPtrOutput) Client() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobEnvironmentSpec) *string { - if v == nil { - return nil - } - return &v.Client - }).(pulumi.StringPtrOutput) + }).(ClusterWorkloadTypeOutput) } -// List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. -func (o JobEnvironmentSpecPtrOutput) Dependencies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobEnvironmentSpec) []string { +func (o ClusterWorkloadTypePtrOutput) Clients() ClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *ClusterWorkloadType) *ClusterWorkloadTypeClients { if v == nil { return nil } - return v.Dependencies - }).(pulumi.StringArrayOutput) + return &v.Clients + }).(ClusterWorkloadTypeClientsPtrOutput) } -type JobGitSource struct { - // name of the Git branch to use. Conflicts with `tag` and `commit`. - Branch *string `pulumi:"branch"` - // hash of Git commit to use. Conflicts with `branch` and `tag`. - Commit *string `pulumi:"commit"` - GitSnapshot *JobGitSourceGitSnapshot `pulumi:"gitSnapshot"` - JobSource *JobGitSourceJobSource `pulumi:"jobSource"` - // case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. - Provider *string `pulumi:"provider"` - // name of the Git branch to use. Conflicts with `branch` and `commit`. - Tag *string `pulumi:"tag"` - // URL of the Git repository to use. - Url string `pulumi:"url"` +type ClusterWorkloadTypeClients struct { + // boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ + // WorkloadType: &databricks.ClusterWorkloadTypeArgs{ + // Clients: &databricks.ClusterWorkloadTypeClientsArgs{ + // Jobs: pulumi.Bool(false), + // Notebooks: pulumi.Bool(true), + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + Jobs *bool `pulumi:"jobs"` + // boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. + Notebooks *bool `pulumi:"notebooks"` } -// JobGitSourceInput is an input type that accepts JobGitSourceArgs and JobGitSourceOutput values. -// You can construct a concrete instance of `JobGitSourceInput` via: +// ClusterWorkloadTypeClientsInput is an input type that accepts ClusterWorkloadTypeClientsArgs and ClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `ClusterWorkloadTypeClientsInput` via: // -// JobGitSourceArgs{...} -type JobGitSourceInput interface { +// ClusterWorkloadTypeClientsArgs{...} +type ClusterWorkloadTypeClientsInput interface { pulumi.Input - ToJobGitSourceOutput() JobGitSourceOutput - ToJobGitSourceOutputWithContext(context.Context) JobGitSourceOutput + ToClusterWorkloadTypeClientsOutput() ClusterWorkloadTypeClientsOutput + ToClusterWorkloadTypeClientsOutputWithContext(context.Context) ClusterWorkloadTypeClientsOutput } -type JobGitSourceArgs struct { - // name of the Git branch to use. Conflicts with `tag` and `commit`. - Branch pulumi.StringPtrInput `pulumi:"branch"` - // hash of Git commit to use. Conflicts with `branch` and `tag`. - Commit pulumi.StringPtrInput `pulumi:"commit"` - GitSnapshot JobGitSourceGitSnapshotPtrInput `pulumi:"gitSnapshot"` - JobSource JobGitSourceJobSourcePtrInput `pulumi:"jobSource"` - // case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. - Provider pulumi.StringPtrInput `pulumi:"provider"` - // name of the Git branch to use. Conflicts with `branch` and `commit`. - Tag pulumi.StringPtrInput `pulumi:"tag"` - // URL of the Git repository to use. - Url pulumi.StringInput `pulumi:"url"` +type ClusterWorkloadTypeClientsArgs struct { + // boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ + // WorkloadType: &databricks.ClusterWorkloadTypeArgs{ + // Clients: &databricks.ClusterWorkloadTypeClientsArgs{ + // Jobs: pulumi.Bool(false), + // Notebooks: pulumi.Bool(true), + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + // boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (JobGitSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobGitSource)(nil)).Elem() +func (ClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterWorkloadTypeClients)(nil)).Elem() } -func (i JobGitSourceArgs) ToJobGitSourceOutput() JobGitSourceOutput { - return i.ToJobGitSourceOutputWithContext(context.Background()) +func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsOutput() ClusterWorkloadTypeClientsOutput { + return i.ToClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i JobGitSourceArgs) ToJobGitSourceOutputWithContext(ctx context.Context) JobGitSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceOutput) +func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeClientsOutput) } -func (i JobGitSourceArgs) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { - return i.ToJobGitSourcePtrOutputWithContext(context.Background()) +func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { + return i.ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i JobGitSourceArgs) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceOutput).ToJobGitSourcePtrOutputWithContext(ctx) +func (i ClusterWorkloadTypeClientsArgs) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeClientsOutput).ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// JobGitSourcePtrInput is an input type that accepts JobGitSourceArgs, JobGitSourcePtr and JobGitSourcePtrOutput values. -// You can construct a concrete instance of `JobGitSourcePtrInput` via: +// ClusterWorkloadTypeClientsPtrInput is an input type that accepts ClusterWorkloadTypeClientsArgs, ClusterWorkloadTypeClientsPtr and ClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `ClusterWorkloadTypeClientsPtrInput` via: // -// JobGitSourceArgs{...} +// ClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type JobGitSourcePtrInput interface { +type ClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToJobGitSourcePtrOutput() JobGitSourcePtrOutput - ToJobGitSourcePtrOutputWithContext(context.Context) JobGitSourcePtrOutput + ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput + ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) ClusterWorkloadTypeClientsPtrOutput } -type jobGitSourcePtrType JobGitSourceArgs +type clusterWorkloadTypeClientsPtrType ClusterWorkloadTypeClientsArgs -func JobGitSourcePtr(v *JobGitSourceArgs) JobGitSourcePtrInput { - return (*jobGitSourcePtrType)(v) +func ClusterWorkloadTypeClientsPtr(v *ClusterWorkloadTypeClientsArgs) ClusterWorkloadTypeClientsPtrInput { + return (*clusterWorkloadTypeClientsPtrType)(v) } -func (*jobGitSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobGitSource)(nil)).Elem() +func (*clusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterWorkloadTypeClients)(nil)).Elem() } -func (i *jobGitSourcePtrType) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { - return i.ToJobGitSourcePtrOutputWithContext(context.Background()) +func (i *clusterWorkloadTypeClientsPtrType) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { + return i.ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *jobGitSourcePtrType) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourcePtrOutput) +func (i *clusterWorkloadTypeClientsPtrType) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterWorkloadTypeClientsPtrOutput) } -type JobGitSourceOutput struct{ *pulumi.OutputState } +type ClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (JobGitSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobGitSource)(nil)).Elem() +func (ClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobGitSourceOutput) ToJobGitSourceOutput() JobGitSourceOutput { +func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsOutput() ClusterWorkloadTypeClientsOutput { return o } -func (o JobGitSourceOutput) ToJobGitSourceOutputWithContext(ctx context.Context) JobGitSourceOutput { +func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsOutput { return o } -func (o JobGitSourceOutput) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { - return o.ToJobGitSourcePtrOutputWithContext(context.Background()) +func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { + return o.ToClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o JobGitSourceOutput) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobGitSource) *JobGitSource { +func (o ClusterWorkloadTypeClientsOutput) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterWorkloadTypeClients) *ClusterWorkloadTypeClients { return &v - }).(JobGitSourcePtrOutput) -} - -// name of the Git branch to use. Conflicts with `tag` and `commit`. -func (o JobGitSourceOutput) Branch() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobGitSource) *string { return v.Branch }).(pulumi.StringPtrOutput) -} - -// hash of Git commit to use. Conflicts with `branch` and `tag`. -func (o JobGitSourceOutput) Commit() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobGitSource) *string { return v.Commit }).(pulumi.StringPtrOutput) -} - -func (o JobGitSourceOutput) GitSnapshot() JobGitSourceGitSnapshotPtrOutput { - return o.ApplyT(func(v JobGitSource) *JobGitSourceGitSnapshot { return v.GitSnapshot }).(JobGitSourceGitSnapshotPtrOutput) -} - -func (o JobGitSourceOutput) JobSource() JobGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v JobGitSource) *JobGitSourceJobSource { return v.JobSource }).(JobGitSourceJobSourcePtrOutput) -} - -// case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. -func (o JobGitSourceOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) + }).(ClusterWorkloadTypeClientsPtrOutput) } -// name of the Git branch to use. Conflicts with `branch` and `commit`. -func (o JobGitSourceOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) +// boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ +// WorkloadType: &databricks.ClusterWorkloadTypeArgs{ +// Clients: &databricks.ClusterWorkloadTypeClientsArgs{ +// Jobs: pulumi.Bool(false), +// Notebooks: pulumi.Bool(true), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -// URL of the Git repository to use. -func (o JobGitSourceOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v JobGitSource) string { return v.Url }).(pulumi.StringOutput) +// boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. +func (o ClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type JobGitSourcePtrOutput struct{ *pulumi.OutputState } +type ClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (JobGitSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobGitSource)(nil)).Elem() +func (ClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobGitSourcePtrOutput) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { +func (o ClusterWorkloadTypeClientsPtrOutput) ToClusterWorkloadTypeClientsPtrOutput() ClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobGitSourcePtrOutput) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { +func (o ClusterWorkloadTypeClientsPtrOutput) ToClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) ClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobGitSourcePtrOutput) Elem() JobGitSourceOutput { - return o.ApplyT(func(v *JobGitSource) JobGitSource { +func (o ClusterWorkloadTypeClientsPtrOutput) Elem() ClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *ClusterWorkloadTypeClients) ClusterWorkloadTypeClients { if v != nil { return *v } - var ret JobGitSource + var ret ClusterWorkloadTypeClients return ret - }).(JobGitSourceOutput) -} - -// name of the Git branch to use. Conflicts with `tag` and `commit`. -func (o JobGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSource) *string { - if v == nil { - return nil - } - return v.Branch - }).(pulumi.StringPtrOutput) -} - -// hash of Git commit to use. Conflicts with `branch` and `tag`. -func (o JobGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSource) *string { - if v == nil { - return nil - } - return v.Commit - }).(pulumi.StringPtrOutput) -} - -func (o JobGitSourcePtrOutput) GitSnapshot() JobGitSourceGitSnapshotPtrOutput { - return o.ApplyT(func(v *JobGitSource) *JobGitSourceGitSnapshot { - if v == nil { - return nil - } - return v.GitSnapshot - }).(JobGitSourceGitSnapshotPtrOutput) -} - -func (o JobGitSourcePtrOutput) JobSource() JobGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v *JobGitSource) *JobGitSourceJobSource { - if v == nil { - return nil - } - return v.JobSource - }).(JobGitSourceJobSourcePtrOutput) -} - -// case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. -func (o JobGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSource) *string { - if v == nil { - return nil - } - return v.Provider - }).(pulumi.StringPtrOutput) + }).(ClusterWorkloadTypeClientsOutput) } -// name of the Git branch to use. Conflicts with `branch` and `commit`. -func (o JobGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSource) *string { +// boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewCluster(ctx, "with_nfs", &databricks.ClusterArgs{ +// WorkloadType: &databricks.ClusterWorkloadTypeArgs{ +// Clients: &databricks.ClusterWorkloadTypeClientsArgs{ +// Jobs: pulumi.Bool(false), +// Notebooks: pulumi.Bool(true), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o ClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.Tag - }).(pulumi.StringPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -// URL of the Git repository to use. -func (o JobGitSourcePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSource) *string { +// boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. +func (o ClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type JobGitSourceGitSnapshot struct { - UsedCommit *string `pulumi:"usedCommit"` +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace struct { + ComplianceStandards []string `pulumi:"complianceStandards"` + IsEnabled bool `pulumi:"isEnabled"` } -// JobGitSourceGitSnapshotInput is an input type that accepts JobGitSourceGitSnapshotArgs and JobGitSourceGitSnapshotOutput values. -// You can construct a concrete instance of `JobGitSourceGitSnapshotInput` via: +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs and ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput values. +// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput` via: // -// JobGitSourceGitSnapshotArgs{...} -type JobGitSourceGitSnapshotInput interface { +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{...} +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput interface { pulumi.Input - ToJobGitSourceGitSnapshotOutput() JobGitSourceGitSnapshotOutput - ToJobGitSourceGitSnapshotOutputWithContext(context.Context) JobGitSourceGitSnapshotOutput + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput } -type JobGitSourceGitSnapshotArgs struct { - UsedCommit pulumi.StringPtrInput `pulumi:"usedCommit"` +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs struct { + ComplianceStandards pulumi.StringArrayInput `pulumi:"complianceStandards"` + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` } -func (JobGitSourceGitSnapshotArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobGitSourceGitSnapshot)(nil)).Elem() +func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() } -func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotOutput() JobGitSourceGitSnapshotOutput { - return i.ToJobGitSourceGitSnapshotOutputWithContext(context.Background()) +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(context.Background()) } -func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceGitSnapshotOutput) +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) } -func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { - return i.ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Background()) +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) } -func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceGitSnapshotOutput).ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx) +func (i ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput).ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx) } -// JobGitSourceGitSnapshotPtrInput is an input type that accepts JobGitSourceGitSnapshotArgs, JobGitSourceGitSnapshotPtr and JobGitSourceGitSnapshotPtrOutput values. -// You can construct a concrete instance of `JobGitSourceGitSnapshotPtrInput` via: +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput is an input type that accepts ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs, ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtr and ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput values. +// You can construct a concrete instance of `ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput` via: // -// JobGitSourceGitSnapshotArgs{...} +// ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{...} // // or: // // nil -type JobGitSourceGitSnapshotPtrInput interface { +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput interface { pulumi.Input - ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput - ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Context) JobGitSourceGitSnapshotPtrOutput + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput + ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput } -type jobGitSourceGitSnapshotPtrType JobGitSourceGitSnapshotArgs +type complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs -func JobGitSourceGitSnapshotPtr(v *JobGitSourceGitSnapshotArgs) JobGitSourceGitSnapshotPtrInput { - return (*jobGitSourceGitSnapshotPtrType)(v) +func ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtr(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput { + return (*complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType)(v) } -func (*jobGitSourceGitSnapshotPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobGitSourceGitSnapshot)(nil)).Elem() +func (*complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() } -func (i *jobGitSourceGitSnapshotPtrType) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { - return i.ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Background()) +func (i *complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return i.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) } -func (i *jobGitSourceGitSnapshotPtrType) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceGitSnapshotPtrOutput) +func (i *complianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrType) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) } -type JobGitSourceGitSnapshotOutput struct{ *pulumi.OutputState } +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput struct{ *pulumi.OutputState } -func (JobGitSourceGitSnapshotOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobGitSourceGitSnapshot)(nil)).Elem() +func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() } -func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotOutput() JobGitSourceGitSnapshotOutput { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { return o } -func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotOutput { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { return o } -func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { - return o.ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Background()) +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return o.ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(context.Background()) } -func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobGitSourceGitSnapshot) *JobGitSourceGitSnapshot { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { return &v - }).(JobGitSourceGitSnapshotPtrOutput) + }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) } -func (o JobGitSourceGitSnapshotOutput) UsedCommit() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobGitSourceGitSnapshot) *string { return v.UsedCommit }).(pulumi.StringPtrOutput) +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) ComplianceStandards() pulumi.StringArrayOutput { + return o.ApplyT(func(v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) []string { + return v.ComplianceStandards + }).(pulumi.StringArrayOutput) } -type JobGitSourceGitSnapshotPtrOutput struct{ *pulumi.OutputState } +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) bool { + return v.IsEnabled + }).(pulumi.BoolOutput) +} -func (JobGitSourceGitSnapshotPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobGitSourceGitSnapshot)(nil)).Elem() +type ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace)(nil)).Elem() } -func (o JobGitSourceGitSnapshotPtrOutput) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { return o } -func (o JobGitSourceGitSnapshotPtrOutput) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ToComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutputWithContext(ctx context.Context) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput { return o } -func (o JobGitSourceGitSnapshotPtrOutput) Elem() JobGitSourceGitSnapshotOutput { - return o.ApplyT(func(v *JobGitSourceGitSnapshot) JobGitSourceGitSnapshot { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) Elem() ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace { if v != nil { return *v } - var ret JobGitSourceGitSnapshot + var ret ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace return ret - }).(JobGitSourceGitSnapshotOutput) + }).(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput) } -func (o JobGitSourceGitSnapshotPtrOutput) UsedCommit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSourceGitSnapshot) *string { +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) ComplianceStandards() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) []string { if v == nil { return nil } - return v.UsedCommit - }).(pulumi.StringPtrOutput) + return v.ComplianceStandards + }).(pulumi.StringArrayOutput) } -type JobGitSourceJobSource struct { - DirtyState *string `pulumi:"dirtyState"` - ImportFromGitBranch string `pulumi:"importFromGitBranch"` - JobConfigPath string `pulumi:"jobConfigPath"` +func (o ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace) *bool { + if v == nil { + return nil + } + return &v.IsEnabled + }).(pulumi.BoolPtrOutput) } -// JobGitSourceJobSourceInput is an input type that accepts JobGitSourceJobSourceArgs and JobGitSourceJobSourceOutput values. -// You can construct a concrete instance of `JobGitSourceJobSourceInput` via: +type CredentialAwsIamRole struct { + ExternalId *string `pulumi:"externalId"` + // The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + // + // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over `azureServicePrincipal`): + RoleArn *string `pulumi:"roleArn"` + UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +} + +// CredentialAwsIamRoleInput is an input type that accepts CredentialAwsIamRoleArgs and CredentialAwsIamRoleOutput values. +// You can construct a concrete instance of `CredentialAwsIamRoleInput` via: // -// JobGitSourceJobSourceArgs{...} -type JobGitSourceJobSourceInput interface { +// CredentialAwsIamRoleArgs{...} +type CredentialAwsIamRoleInput interface { pulumi.Input - ToJobGitSourceJobSourceOutput() JobGitSourceJobSourceOutput - ToJobGitSourceJobSourceOutputWithContext(context.Context) JobGitSourceJobSourceOutput + ToCredentialAwsIamRoleOutput() CredentialAwsIamRoleOutput + ToCredentialAwsIamRoleOutputWithContext(context.Context) CredentialAwsIamRoleOutput } -type JobGitSourceJobSourceArgs struct { - DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` - ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` - JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` +type CredentialAwsIamRoleArgs struct { + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + // The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + // + // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over `azureServicePrincipal`): + RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` + UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` } -func (JobGitSourceJobSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobGitSourceJobSource)(nil)).Elem() +func (CredentialAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialAwsIamRole)(nil)).Elem() } -func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourceOutput() JobGitSourceJobSourceOutput { - return i.ToJobGitSourceJobSourceOutputWithContext(context.Background()) +func (i CredentialAwsIamRoleArgs) ToCredentialAwsIamRoleOutput() CredentialAwsIamRoleOutput { + return i.ToCredentialAwsIamRoleOutputWithContext(context.Background()) } -func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourceOutputWithContext(ctx context.Context) JobGitSourceJobSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceJobSourceOutput) +func (i CredentialAwsIamRoleArgs) ToCredentialAwsIamRoleOutputWithContext(ctx context.Context) CredentialAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAwsIamRoleOutput) } -func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { - return i.ToJobGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i CredentialAwsIamRoleArgs) ToCredentialAwsIamRolePtrOutput() CredentialAwsIamRolePtrOutput { + return i.ToCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceJobSourceOutput).ToJobGitSourceJobSourcePtrOutputWithContext(ctx) +func (i CredentialAwsIamRoleArgs) ToCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) CredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAwsIamRoleOutput).ToCredentialAwsIamRolePtrOutputWithContext(ctx) } -// JobGitSourceJobSourcePtrInput is an input type that accepts JobGitSourceJobSourceArgs, JobGitSourceJobSourcePtr and JobGitSourceJobSourcePtrOutput values. -// You can construct a concrete instance of `JobGitSourceJobSourcePtrInput` via: +// CredentialAwsIamRolePtrInput is an input type that accepts CredentialAwsIamRoleArgs, CredentialAwsIamRolePtr and CredentialAwsIamRolePtrOutput values. +// You can construct a concrete instance of `CredentialAwsIamRolePtrInput` via: // -// JobGitSourceJobSourceArgs{...} +// CredentialAwsIamRoleArgs{...} // // or: // // nil -type JobGitSourceJobSourcePtrInput interface { +type CredentialAwsIamRolePtrInput interface { pulumi.Input - ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput - ToJobGitSourceJobSourcePtrOutputWithContext(context.Context) JobGitSourceJobSourcePtrOutput + ToCredentialAwsIamRolePtrOutput() CredentialAwsIamRolePtrOutput + ToCredentialAwsIamRolePtrOutputWithContext(context.Context) CredentialAwsIamRolePtrOutput } -type jobGitSourceJobSourcePtrType JobGitSourceJobSourceArgs +type credentialAwsIamRolePtrType CredentialAwsIamRoleArgs -func JobGitSourceJobSourcePtr(v *JobGitSourceJobSourceArgs) JobGitSourceJobSourcePtrInput { - return (*jobGitSourceJobSourcePtrType)(v) +func CredentialAwsIamRolePtr(v *CredentialAwsIamRoleArgs) CredentialAwsIamRolePtrInput { + return (*credentialAwsIamRolePtrType)(v) } -func (*jobGitSourceJobSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobGitSourceJobSource)(nil)).Elem() +func (*credentialAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialAwsIamRole)(nil)).Elem() } -func (i *jobGitSourceJobSourcePtrType) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { - return i.ToJobGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i *credentialAwsIamRolePtrType) ToCredentialAwsIamRolePtrOutput() CredentialAwsIamRolePtrOutput { + return i.ToCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i *jobGitSourceJobSourcePtrType) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceJobSourcePtrOutput) +func (i *credentialAwsIamRolePtrType) ToCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) CredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAwsIamRolePtrOutput) } -type JobGitSourceJobSourceOutput struct{ *pulumi.OutputState } +type CredentialAwsIamRoleOutput struct{ *pulumi.OutputState } -func (JobGitSourceJobSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobGitSourceJobSource)(nil)).Elem() +func (CredentialAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialAwsIamRole)(nil)).Elem() } -func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourceOutput() JobGitSourceJobSourceOutput { +func (o CredentialAwsIamRoleOutput) ToCredentialAwsIamRoleOutput() CredentialAwsIamRoleOutput { return o } -func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourceOutputWithContext(ctx context.Context) JobGitSourceJobSourceOutput { +func (o CredentialAwsIamRoleOutput) ToCredentialAwsIamRoleOutputWithContext(ctx context.Context) CredentialAwsIamRoleOutput { return o } -func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { - return o.ToJobGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (o CredentialAwsIamRoleOutput) ToCredentialAwsIamRolePtrOutput() CredentialAwsIamRolePtrOutput { + return o.ToCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobGitSourceJobSource) *JobGitSourceJobSource { +func (o CredentialAwsIamRoleOutput) ToCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) CredentialAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CredentialAwsIamRole) *CredentialAwsIamRole { return &v - }).(JobGitSourceJobSourcePtrOutput) + }).(CredentialAwsIamRolePtrOutput) } -func (o JobGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) +func (o CredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -func (o JobGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { - return o.ApplyT(func(v JobGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) +// The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +// +// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over `azureServicePrincipal`): +func (o CredentialAwsIamRoleOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialAwsIamRole) *string { return v.RoleArn }).(pulumi.StringPtrOutput) } -func (o JobGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { - return o.ApplyT(func(v JobGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) +func (o CredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type JobGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } +type CredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } -func (JobGitSourceJobSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobGitSourceJobSource)(nil)).Elem() +func (CredentialAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialAwsIamRole)(nil)).Elem() } -func (o JobGitSourceJobSourcePtrOutput) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { +func (o CredentialAwsIamRolePtrOutput) ToCredentialAwsIamRolePtrOutput() CredentialAwsIamRolePtrOutput { return o } -func (o JobGitSourceJobSourcePtrOutput) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { +func (o CredentialAwsIamRolePtrOutput) ToCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) CredentialAwsIamRolePtrOutput { return o } -func (o JobGitSourceJobSourcePtrOutput) Elem() JobGitSourceJobSourceOutput { - return o.ApplyT(func(v *JobGitSourceJobSource) JobGitSourceJobSource { +func (o CredentialAwsIamRolePtrOutput) Elem() CredentialAwsIamRoleOutput { + return o.ApplyT(func(v *CredentialAwsIamRole) CredentialAwsIamRole { if v != nil { return *v } - var ret JobGitSourceJobSource + var ret CredentialAwsIamRole return ret - }).(JobGitSourceJobSourceOutput) + }).(CredentialAwsIamRoleOutput) } -func (o JobGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSourceJobSource) *string { +func (o CredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAwsIamRole) *string { if v == nil { return nil } - return v.DirtyState + return v.ExternalId }).(pulumi.StringPtrOutput) } -func (o JobGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSourceJobSource) *string { +// The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +// +// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over `azureServicePrincipal`): +func (o CredentialAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAwsIamRole) *string { if v == nil { return nil } - return &v.ImportFromGitBranch + return v.RoleArn }).(pulumi.StringPtrOutput) } -func (o JobGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobGitSourceJobSource) *string { +func (o CredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAwsIamRole) *string { if v == nil { return nil } - return &v.JobConfigPath + return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type JobHealth struct { - // list of rules that are represented as objects with the following attributes: - Rules []JobHealthRule `pulumi:"rules"` +type CredentialAzureManagedIdentity struct { + // The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + AccessConnectorId string `pulumi:"accessConnectorId"` + // Unique ID of the credential. + CredentialId *string `pulumi:"credentialId"` + // The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + ManagedIdentityId *string `pulumi:"managedIdentityId"` } -// JobHealthInput is an input type that accepts JobHealthArgs and JobHealthOutput values. -// You can construct a concrete instance of `JobHealthInput` via: +// CredentialAzureManagedIdentityInput is an input type that accepts CredentialAzureManagedIdentityArgs and CredentialAzureManagedIdentityOutput values. +// You can construct a concrete instance of `CredentialAzureManagedIdentityInput` via: // -// JobHealthArgs{...} -type JobHealthInput interface { +// CredentialAzureManagedIdentityArgs{...} +type CredentialAzureManagedIdentityInput interface { pulumi.Input - ToJobHealthOutput() JobHealthOutput - ToJobHealthOutputWithContext(context.Context) JobHealthOutput + ToCredentialAzureManagedIdentityOutput() CredentialAzureManagedIdentityOutput + ToCredentialAzureManagedIdentityOutputWithContext(context.Context) CredentialAzureManagedIdentityOutput } -type JobHealthArgs struct { - // list of rules that are represented as objects with the following attributes: - Rules JobHealthRuleArrayInput `pulumi:"rules"` +type CredentialAzureManagedIdentityArgs struct { + // The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` + // Unique ID of the credential. + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` } -func (JobHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobHealth)(nil)).Elem() +func (CredentialAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialAzureManagedIdentity)(nil)).Elem() } -func (i JobHealthArgs) ToJobHealthOutput() JobHealthOutput { - return i.ToJobHealthOutputWithContext(context.Background()) +func (i CredentialAzureManagedIdentityArgs) ToCredentialAzureManagedIdentityOutput() CredentialAzureManagedIdentityOutput { + return i.ToCredentialAzureManagedIdentityOutputWithContext(context.Background()) } -func (i JobHealthArgs) ToJobHealthOutputWithContext(ctx context.Context) JobHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobHealthOutput) +func (i CredentialAzureManagedIdentityArgs) ToCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) CredentialAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAzureManagedIdentityOutput) } -func (i JobHealthArgs) ToJobHealthPtrOutput() JobHealthPtrOutput { - return i.ToJobHealthPtrOutputWithContext(context.Background()) +func (i CredentialAzureManagedIdentityArgs) ToCredentialAzureManagedIdentityPtrOutput() CredentialAzureManagedIdentityPtrOutput { + return i.ToCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i JobHealthArgs) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobHealthOutput).ToJobHealthPtrOutputWithContext(ctx) +func (i CredentialAzureManagedIdentityArgs) ToCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) CredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAzureManagedIdentityOutput).ToCredentialAzureManagedIdentityPtrOutputWithContext(ctx) } -// JobHealthPtrInput is an input type that accepts JobHealthArgs, JobHealthPtr and JobHealthPtrOutput values. -// You can construct a concrete instance of `JobHealthPtrInput` via: +// CredentialAzureManagedIdentityPtrInput is an input type that accepts CredentialAzureManagedIdentityArgs, CredentialAzureManagedIdentityPtr and CredentialAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `CredentialAzureManagedIdentityPtrInput` via: // -// JobHealthArgs{...} +// CredentialAzureManagedIdentityArgs{...} // // or: // // nil -type JobHealthPtrInput interface { +type CredentialAzureManagedIdentityPtrInput interface { pulumi.Input - ToJobHealthPtrOutput() JobHealthPtrOutput - ToJobHealthPtrOutputWithContext(context.Context) JobHealthPtrOutput + ToCredentialAzureManagedIdentityPtrOutput() CredentialAzureManagedIdentityPtrOutput + ToCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) CredentialAzureManagedIdentityPtrOutput } -type jobHealthPtrType JobHealthArgs +type credentialAzureManagedIdentityPtrType CredentialAzureManagedIdentityArgs -func JobHealthPtr(v *JobHealthArgs) JobHealthPtrInput { - return (*jobHealthPtrType)(v) +func CredentialAzureManagedIdentityPtr(v *CredentialAzureManagedIdentityArgs) CredentialAzureManagedIdentityPtrInput { + return (*credentialAzureManagedIdentityPtrType)(v) } -func (*jobHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobHealth)(nil)).Elem() +func (*credentialAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialAzureManagedIdentity)(nil)).Elem() } -func (i *jobHealthPtrType) ToJobHealthPtrOutput() JobHealthPtrOutput { - return i.ToJobHealthPtrOutputWithContext(context.Background()) +func (i *credentialAzureManagedIdentityPtrType) ToCredentialAzureManagedIdentityPtrOutput() CredentialAzureManagedIdentityPtrOutput { + return i.ToCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i *jobHealthPtrType) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobHealthPtrOutput) +func (i *credentialAzureManagedIdentityPtrType) ToCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) CredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAzureManagedIdentityPtrOutput) } -type JobHealthOutput struct{ *pulumi.OutputState } +type CredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } -func (JobHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobHealth)(nil)).Elem() +func (CredentialAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialAzureManagedIdentity)(nil)).Elem() } -func (o JobHealthOutput) ToJobHealthOutput() JobHealthOutput { +func (o CredentialAzureManagedIdentityOutput) ToCredentialAzureManagedIdentityOutput() CredentialAzureManagedIdentityOutput { return o } -func (o JobHealthOutput) ToJobHealthOutputWithContext(ctx context.Context) JobHealthOutput { +func (o CredentialAzureManagedIdentityOutput) ToCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) CredentialAzureManagedIdentityOutput { return o } -func (o JobHealthOutput) ToJobHealthPtrOutput() JobHealthPtrOutput { - return o.ToJobHealthPtrOutputWithContext(context.Background()) +func (o CredentialAzureManagedIdentityOutput) ToCredentialAzureManagedIdentityPtrOutput() CredentialAzureManagedIdentityPtrOutput { + return o.ToCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o JobHealthOutput) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobHealth) *JobHealth { +func (o CredentialAzureManagedIdentityOutput) ToCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) CredentialAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CredentialAzureManagedIdentity) *CredentialAzureManagedIdentity { return &v - }).(JobHealthPtrOutput) + }).(CredentialAzureManagedIdentityPtrOutput) } -// list of rules that are represented as objects with the following attributes: -func (o JobHealthOutput) Rules() JobHealthRuleArrayOutput { - return o.ApplyT(func(v JobHealth) []JobHealthRule { return v.Rules }).(JobHealthRuleArrayOutput) +// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. +func (o CredentialAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v CredentialAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) } -type JobHealthPtrOutput struct{ *pulumi.OutputState } +// Unique ID of the credential. +func (o CredentialAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +} -func (JobHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobHealth)(nil)).Elem() +// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): +func (o CredentialAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) } -func (o JobHealthPtrOutput) ToJobHealthPtrOutput() JobHealthPtrOutput { +type CredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } + +func (CredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialAzureManagedIdentity)(nil)).Elem() +} + +func (o CredentialAzureManagedIdentityPtrOutput) ToCredentialAzureManagedIdentityPtrOutput() CredentialAzureManagedIdentityPtrOutput { return o } -func (o JobHealthPtrOutput) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { +func (o CredentialAzureManagedIdentityPtrOutput) ToCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) CredentialAzureManagedIdentityPtrOutput { return o } -func (o JobHealthPtrOutput) Elem() JobHealthOutput { - return o.ApplyT(func(v *JobHealth) JobHealth { +func (o CredentialAzureManagedIdentityPtrOutput) Elem() CredentialAzureManagedIdentityOutput { + return o.ApplyT(func(v *CredentialAzureManagedIdentity) CredentialAzureManagedIdentity { if v != nil { return *v } - var ret JobHealth + var ret CredentialAzureManagedIdentity return ret - }).(JobHealthOutput) + }).(CredentialAzureManagedIdentityOutput) } -// list of rules that are represented as objects with the following attributes: -func (o JobHealthPtrOutput) Rules() JobHealthRuleArrayOutput { - return o.ApplyT(func(v *JobHealth) []JobHealthRule { +// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. +func (o CredentialAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAzureManagedIdentity) *string { if v == nil { return nil } - return v.Rules - }).(JobHealthRuleArrayOutput) + return &v.AccessConnectorId + }).(pulumi.StringPtrOutput) } -type JobHealthRule struct { - // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - Metric string `pulumi:"metric"` - // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - Op string `pulumi:"op"` - // integer value used to compare to the given metric. - Value int `pulumi:"value"` +// Unique ID of the credential. +func (o CredentialAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAzureManagedIdentity) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) } -// JobHealthRuleInput is an input type that accepts JobHealthRuleArgs and JobHealthRuleOutput values. -// You can construct a concrete instance of `JobHealthRuleInput` via: +// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. // -// JobHealthRuleArgs{...} -type JobHealthRuleInput interface { +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): +func (o CredentialAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAzureManagedIdentity) *string { + if v == nil { + return nil + } + return v.ManagedIdentityId + }).(pulumi.StringPtrOutput) +} + +type CredentialAzureServicePrincipal struct { + // The application ID of the application registration within the referenced AAD tenant + ApplicationId string `pulumi:"applicationId"` + // The client secret generated for the above app ID in AAD. **This field is redacted on output** + // + // `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + ClientSecret string `pulumi:"clientSecret"` + // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + DirectoryId string `pulumi:"directoryId"` +} + +// CredentialAzureServicePrincipalInput is an input type that accepts CredentialAzureServicePrincipalArgs and CredentialAzureServicePrincipalOutput values. +// You can construct a concrete instance of `CredentialAzureServicePrincipalInput` via: +// +// CredentialAzureServicePrincipalArgs{...} +type CredentialAzureServicePrincipalInput interface { pulumi.Input - ToJobHealthRuleOutput() JobHealthRuleOutput - ToJobHealthRuleOutputWithContext(context.Context) JobHealthRuleOutput + ToCredentialAzureServicePrincipalOutput() CredentialAzureServicePrincipalOutput + ToCredentialAzureServicePrincipalOutputWithContext(context.Context) CredentialAzureServicePrincipalOutput } -type JobHealthRuleArgs struct { - // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - Metric pulumi.StringInput `pulumi:"metric"` - // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - Op pulumi.StringInput `pulumi:"op"` - // integer value used to compare to the given metric. - Value pulumi.IntInput `pulumi:"value"` +type CredentialAzureServicePrincipalArgs struct { + // The application ID of the application registration within the referenced AAD tenant + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + // The client secret generated for the above app ID in AAD. **This field is redacted on output** + // + // `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + ClientSecret pulumi.StringInput `pulumi:"clientSecret"` + // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + DirectoryId pulumi.StringInput `pulumi:"directoryId"` } -func (JobHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobHealthRule)(nil)).Elem() +func (CredentialAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialAzureServicePrincipal)(nil)).Elem() } -func (i JobHealthRuleArgs) ToJobHealthRuleOutput() JobHealthRuleOutput { - return i.ToJobHealthRuleOutputWithContext(context.Background()) +func (i CredentialAzureServicePrincipalArgs) ToCredentialAzureServicePrincipalOutput() CredentialAzureServicePrincipalOutput { + return i.ToCredentialAzureServicePrincipalOutputWithContext(context.Background()) } -func (i JobHealthRuleArgs) ToJobHealthRuleOutputWithContext(ctx context.Context) JobHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobHealthRuleOutput) +func (i CredentialAzureServicePrincipalArgs) ToCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) CredentialAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAzureServicePrincipalOutput) } -// JobHealthRuleArrayInput is an input type that accepts JobHealthRuleArray and JobHealthRuleArrayOutput values. -// You can construct a concrete instance of `JobHealthRuleArrayInput` via: +func (i CredentialAzureServicePrincipalArgs) ToCredentialAzureServicePrincipalPtrOutput() CredentialAzureServicePrincipalPtrOutput { + return i.ToCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +} + +func (i CredentialAzureServicePrincipalArgs) ToCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) CredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAzureServicePrincipalOutput).ToCredentialAzureServicePrincipalPtrOutputWithContext(ctx) +} + +// CredentialAzureServicePrincipalPtrInput is an input type that accepts CredentialAzureServicePrincipalArgs, CredentialAzureServicePrincipalPtr and CredentialAzureServicePrincipalPtrOutput values. +// You can construct a concrete instance of `CredentialAzureServicePrincipalPtrInput` via: // -// JobHealthRuleArray{ JobHealthRuleArgs{...} } -type JobHealthRuleArrayInput interface { +// CredentialAzureServicePrincipalArgs{...} +// +// or: +// +// nil +type CredentialAzureServicePrincipalPtrInput interface { pulumi.Input - ToJobHealthRuleArrayOutput() JobHealthRuleArrayOutput - ToJobHealthRuleArrayOutputWithContext(context.Context) JobHealthRuleArrayOutput + ToCredentialAzureServicePrincipalPtrOutput() CredentialAzureServicePrincipalPtrOutput + ToCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) CredentialAzureServicePrincipalPtrOutput } -type JobHealthRuleArray []JobHealthRuleInput +type credentialAzureServicePrincipalPtrType CredentialAzureServicePrincipalArgs -func (JobHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobHealthRule)(nil)).Elem() +func CredentialAzureServicePrincipalPtr(v *CredentialAzureServicePrincipalArgs) CredentialAzureServicePrincipalPtrInput { + return (*credentialAzureServicePrincipalPtrType)(v) } -func (i JobHealthRuleArray) ToJobHealthRuleArrayOutput() JobHealthRuleArrayOutput { - return i.ToJobHealthRuleArrayOutputWithContext(context.Background()) +func (*credentialAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialAzureServicePrincipal)(nil)).Elem() } -func (i JobHealthRuleArray) ToJobHealthRuleArrayOutputWithContext(ctx context.Context) JobHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobHealthRuleArrayOutput) +func (i *credentialAzureServicePrincipalPtrType) ToCredentialAzureServicePrincipalPtrOutput() CredentialAzureServicePrincipalPtrOutput { + return i.ToCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -type JobHealthRuleOutput struct{ *pulumi.OutputState } +func (i *credentialAzureServicePrincipalPtrType) ToCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) CredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialAzureServicePrincipalPtrOutput) +} -func (JobHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobHealthRule)(nil)).Elem() +type CredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } + +func (CredentialAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialAzureServicePrincipal)(nil)).Elem() } -func (o JobHealthRuleOutput) ToJobHealthRuleOutput() JobHealthRuleOutput { +func (o CredentialAzureServicePrincipalOutput) ToCredentialAzureServicePrincipalOutput() CredentialAzureServicePrincipalOutput { return o } -func (o JobHealthRuleOutput) ToJobHealthRuleOutputWithContext(ctx context.Context) JobHealthRuleOutput { +func (o CredentialAzureServicePrincipalOutput) ToCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) CredentialAzureServicePrincipalOutput { return o } -// string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -func (o JobHealthRuleOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v JobHealthRule) string { return v.Metric }).(pulumi.StringOutput) +func (o CredentialAzureServicePrincipalOutput) ToCredentialAzureServicePrincipalPtrOutput() CredentialAzureServicePrincipalPtrOutput { + return o.ToCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -// string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. -func (o JobHealthRuleOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v JobHealthRule) string { return v.Op }).(pulumi.StringOutput) +func (o CredentialAzureServicePrincipalOutput) ToCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) CredentialAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CredentialAzureServicePrincipal) *CredentialAzureServicePrincipal { + return &v + }).(CredentialAzureServicePrincipalPtrOutput) } -// integer value used to compare to the given metric. -func (o JobHealthRuleOutput) Value() pulumi.IntOutput { - return o.ApplyT(func(v JobHealthRule) int { return v.Value }).(pulumi.IntOutput) +// The application ID of the application registration within the referenced AAD tenant +func (o CredentialAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v CredentialAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) } -type JobHealthRuleArrayOutput struct{ *pulumi.OutputState } +// The client secret generated for the above app ID in AAD. **This field is redacted on output** +// +// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: +func (o CredentialAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v CredentialAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) +} -func (JobHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobHealthRule)(nil)).Elem() +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o CredentialAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { + return o.ApplyT(func(v CredentialAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) } -func (o JobHealthRuleArrayOutput) ToJobHealthRuleArrayOutput() JobHealthRuleArrayOutput { +type CredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } + +func (CredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialAzureServicePrincipal)(nil)).Elem() +} + +func (o CredentialAzureServicePrincipalPtrOutput) ToCredentialAzureServicePrincipalPtrOutput() CredentialAzureServicePrincipalPtrOutput { return o } -func (o JobHealthRuleArrayOutput) ToJobHealthRuleArrayOutputWithContext(ctx context.Context) JobHealthRuleArrayOutput { +func (o CredentialAzureServicePrincipalPtrOutput) ToCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) CredentialAzureServicePrincipalPtrOutput { return o } -func (o JobHealthRuleArrayOutput) Index(i pulumi.IntInput) JobHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobHealthRule { - return vs[0].([]JobHealthRule)[vs[1].(int)] - }).(JobHealthRuleOutput) +func (o CredentialAzureServicePrincipalPtrOutput) Elem() CredentialAzureServicePrincipalOutput { + return o.ApplyT(func(v *CredentialAzureServicePrincipal) CredentialAzureServicePrincipal { + if v != nil { + return *v + } + var ret CredentialAzureServicePrincipal + return ret + }).(CredentialAzureServicePrincipalOutput) } -type JobJobCluster struct { - // Identifier that can be referenced in `task` block, so that cluster is shared between tasks - JobClusterKey string `pulumi:"jobClusterKey"` - // Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): - NewCluster JobJobClusterNewCluster `pulumi:"newCluster"` +// The application ID of the application registration within the referenced AAD tenant +func (o CredentialAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAzureServicePrincipal) *string { + if v == nil { + return nil + } + return &v.ApplicationId + }).(pulumi.StringPtrOutput) } -// JobJobClusterInput is an input type that accepts JobJobClusterArgs and JobJobClusterOutput values. -// You can construct a concrete instance of `JobJobClusterInput` via: +// The client secret generated for the above app ID in AAD. **This field is redacted on output** // -// JobJobClusterArgs{...} -type JobJobClusterInput interface { - pulumi.Input - - ToJobJobClusterOutput() JobJobClusterOutput - ToJobJobClusterOutputWithContext(context.Context) JobJobClusterOutput +// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: +func (o CredentialAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAzureServicePrincipal) *string { + if v == nil { + return nil + } + return &v.ClientSecret + }).(pulumi.StringPtrOutput) } -type JobJobClusterArgs struct { - // Identifier that can be referenced in `task` block, so that cluster is shared between tasks - JobClusterKey pulumi.StringInput `pulumi:"jobClusterKey"` - // Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): - NewCluster JobJobClusterNewClusterInput `pulumi:"newCluster"` +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o CredentialAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialAzureServicePrincipal) *string { + if v == nil { + return nil + } + return &v.DirectoryId + }).(pulumi.StringPtrOutput) } -func (JobJobClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobCluster)(nil)).Elem() +type CredentialDatabricksGcpServiceAccount struct { + // Unique ID of the credential. + CredentialId *string `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + Email *string `pulumi:"email"` + PrivateKeyId *string `pulumi:"privateKeyId"` } -func (i JobJobClusterArgs) ToJobJobClusterOutput() JobJobClusterOutput { - return i.ToJobJobClusterOutputWithContext(context.Background()) -} +// CredentialDatabricksGcpServiceAccountInput is an input type that accepts CredentialDatabricksGcpServiceAccountArgs and CredentialDatabricksGcpServiceAccountOutput values. +// You can construct a concrete instance of `CredentialDatabricksGcpServiceAccountInput` via: +// +// CredentialDatabricksGcpServiceAccountArgs{...} +type CredentialDatabricksGcpServiceAccountInput interface { + pulumi.Input -func (i JobJobClusterArgs) ToJobJobClusterOutputWithContext(ctx context.Context) JobJobClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterOutput) + ToCredentialDatabricksGcpServiceAccountOutput() CredentialDatabricksGcpServiceAccountOutput + ToCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) CredentialDatabricksGcpServiceAccountOutput } -// JobJobClusterArrayInput is an input type that accepts JobJobClusterArray and JobJobClusterArrayOutput values. -// You can construct a concrete instance of `JobJobClusterArrayInput` via: -// -// JobJobClusterArray{ JobJobClusterArgs{...} } -type JobJobClusterArrayInput interface { - pulumi.Input +type CredentialDatabricksGcpServiceAccountArgs struct { + // Unique ID of the credential. + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + Email pulumi.StringPtrInput `pulumi:"email"` + PrivateKeyId pulumi.StringPtrInput `pulumi:"privateKeyId"` +} - ToJobJobClusterArrayOutput() JobJobClusterArrayOutput - ToJobJobClusterArrayOutputWithContext(context.Context) JobJobClusterArrayOutput +func (CredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialDatabricksGcpServiceAccount)(nil)).Elem() } -type JobJobClusterArray []JobJobClusterInput +func (i CredentialDatabricksGcpServiceAccountArgs) ToCredentialDatabricksGcpServiceAccountOutput() CredentialDatabricksGcpServiceAccountOutput { + return i.ToCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) +} -func (JobJobClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobCluster)(nil)).Elem() +func (i CredentialDatabricksGcpServiceAccountArgs) ToCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) CredentialDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialDatabricksGcpServiceAccountOutput) } -func (i JobJobClusterArray) ToJobJobClusterArrayOutput() JobJobClusterArrayOutput { - return i.ToJobJobClusterArrayOutputWithContext(context.Background()) +func (i CredentialDatabricksGcpServiceAccountArgs) ToCredentialDatabricksGcpServiceAccountPtrOutput() CredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (i JobJobClusterArray) ToJobJobClusterArrayOutputWithContext(ctx context.Context) JobJobClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterArrayOutput) +func (i CredentialDatabricksGcpServiceAccountArgs) ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) CredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialDatabricksGcpServiceAccountOutput).ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) } -type JobJobClusterOutput struct{ *pulumi.OutputState } +// CredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts CredentialDatabricksGcpServiceAccountArgs, CredentialDatabricksGcpServiceAccountPtr and CredentialDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `CredentialDatabricksGcpServiceAccountPtrInput` via: +// +// CredentialDatabricksGcpServiceAccountArgs{...} +// +// or: +// +// nil +type CredentialDatabricksGcpServiceAccountPtrInput interface { + pulumi.Input -func (JobJobClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobCluster)(nil)).Elem() + ToCredentialDatabricksGcpServiceAccountPtrOutput() CredentialDatabricksGcpServiceAccountPtrOutput + ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) CredentialDatabricksGcpServiceAccountPtrOutput } -func (o JobJobClusterOutput) ToJobJobClusterOutput() JobJobClusterOutput { - return o +type credentialDatabricksGcpServiceAccountPtrType CredentialDatabricksGcpServiceAccountArgs + +func CredentialDatabricksGcpServiceAccountPtr(v *CredentialDatabricksGcpServiceAccountArgs) CredentialDatabricksGcpServiceAccountPtrInput { + return (*credentialDatabricksGcpServiceAccountPtrType)(v) } -func (o JobJobClusterOutput) ToJobJobClusterOutputWithContext(ctx context.Context) JobJobClusterOutput { - return o +func (*credentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialDatabricksGcpServiceAccount)(nil)).Elem() } -// Identifier that can be referenced in `task` block, so that cluster is shared between tasks -func (o JobJobClusterOutput) JobClusterKey() pulumi.StringOutput { - return o.ApplyT(func(v JobJobCluster) string { return v.JobClusterKey }).(pulumi.StringOutput) +func (i *credentialDatabricksGcpServiceAccountPtrType) ToCredentialDatabricksGcpServiceAccountPtrOutput() CredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -// Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): -func (o JobJobClusterOutput) NewCluster() JobJobClusterNewClusterOutput { - return o.ApplyT(func(v JobJobCluster) JobJobClusterNewCluster { return v.NewCluster }).(JobJobClusterNewClusterOutput) +func (i *credentialDatabricksGcpServiceAccountPtrType) ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) CredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CredentialDatabricksGcpServiceAccountPtrOutput) } -type JobJobClusterArrayOutput struct{ *pulumi.OutputState } +type CredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } -func (JobJobClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobCluster)(nil)).Elem() +func (CredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o JobJobClusterArrayOutput) ToJobJobClusterArrayOutput() JobJobClusterArrayOutput { +func (o CredentialDatabricksGcpServiceAccountOutput) ToCredentialDatabricksGcpServiceAccountOutput() CredentialDatabricksGcpServiceAccountOutput { return o } -func (o JobJobClusterArrayOutput) ToJobJobClusterArrayOutputWithContext(ctx context.Context) JobJobClusterArrayOutput { +func (o CredentialDatabricksGcpServiceAccountOutput) ToCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) CredentialDatabricksGcpServiceAccountOutput { return o } -func (o JobJobClusterArrayOutput) Index(i pulumi.IntInput) JobJobClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobCluster { - return vs[0].([]JobJobCluster)[vs[1].(int)] - }).(JobJobClusterOutput) -} - -type JobJobClusterNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *JobJobClusterNewClusterAutoscale `pulumi:"autoscale"` - AwsAttributes *JobJobClusterNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *JobJobClusterNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *JobJobClusterNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []JobJobClusterNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *JobJobClusterNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` - EnableElasticDisk *bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *JobJobClusterNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []JobJobClusterNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries []JobJobClusterNewClusterLibrary `pulumi:"libraries"` - NodeTypeId *string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType *JobJobClusterNewClusterWorkloadType `pulumi:"workloadType"` -} - -// JobJobClusterNewClusterInput is an input type that accepts JobJobClusterNewClusterArgs and JobJobClusterNewClusterOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInput` via: -// -// JobJobClusterNewClusterArgs{...} -type JobJobClusterNewClusterInput interface { - pulumi.Input - - ToJobJobClusterNewClusterOutput() JobJobClusterNewClusterOutput - ToJobJobClusterNewClusterOutputWithContext(context.Context) JobJobClusterNewClusterOutput +func (o CredentialDatabricksGcpServiceAccountOutput) ToCredentialDatabricksGcpServiceAccountPtrOutput() CredentialDatabricksGcpServiceAccountPtrOutput { + return o.ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -type JobJobClusterNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale JobJobClusterNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AwsAttributes JobJobClusterNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes JobJobClusterNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf JobJobClusterNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos JobJobClusterNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage JobJobClusterNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes JobJobClusterNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts JobJobClusterNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries JobJobClusterNewClusterLibraryArrayInput `pulumi:"libraries"` - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType JobJobClusterNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +func (o CredentialDatabricksGcpServiceAccountOutput) ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) CredentialDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CredentialDatabricksGcpServiceAccount) *CredentialDatabricksGcpServiceAccount { + return &v + }).(CredentialDatabricksGcpServiceAccountPtrOutput) } -func (JobJobClusterNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewCluster)(nil)).Elem() +// Unique ID of the credential. +func (o CredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -func (i JobJobClusterNewClusterArgs) ToJobJobClusterNewClusterOutput() JobJobClusterNewClusterOutput { - return i.ToJobJobClusterNewClusterOutputWithContext(context.Background()) +// The email of the GCP service account created, to be granted access to relevant buckets. +func (o CredentialDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) } -func (i JobJobClusterNewClusterArgs) ToJobJobClusterNewClusterOutputWithContext(ctx context.Context) JobJobClusterNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterOutput) +func (o CredentialDatabricksGcpServiceAccountOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CredentialDatabricksGcpServiceAccount) *string { return v.PrivateKeyId }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterOutput struct{ *pulumi.OutputState } +type CredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewCluster)(nil)).Elem() +func (CredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o JobJobClusterNewClusterOutput) ToJobJobClusterNewClusterOutput() JobJobClusterNewClusterOutput { +func (o CredentialDatabricksGcpServiceAccountPtrOutput) ToCredentialDatabricksGcpServiceAccountPtrOutput() CredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o JobJobClusterNewClusterOutput) ToJobJobClusterNewClusterOutputWithContext(ctx context.Context) JobJobClusterNewClusterOutput { +func (o CredentialDatabricksGcpServiceAccountPtrOutput) ToCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) CredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o JobJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o CredentialDatabricksGcpServiceAccountPtrOutput) Elem() CredentialDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *CredentialDatabricksGcpServiceAccount) CredentialDatabricksGcpServiceAccount { + if v != nil { + return *v + } + var ret CredentialDatabricksGcpServiceAccount + return ret + }).(CredentialDatabricksGcpServiceAccountOutput) } -func (o JobJobClusterNewClusterOutput) Autoscale() JobJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAutoscale { return v.Autoscale }).(JobJobClusterNewClusterAutoscalePtrOutput) +// Unique ID of the credential. +func (o CredentialDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterOutput) AwsAttributes() JobJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAwsAttributes { return v.AwsAttributes }).(JobJobClusterNewClusterAwsAttributesPtrOutput) +// The email of the GCP service account created, to be granted access to relevant buckets. +func (o CredentialDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterOutput) AzureAttributes() JobJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAzureAttributes { return v.AzureAttributes }).(JobJobClusterNewClusterAzureAttributesPtrOutput) +func (o CredentialDatabricksGcpServiceAccountPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CredentialDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.PrivateKeyId + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +type CustomAppIntegrationTokenAccessPolicy struct { + // access token time to live (TTL) in minutes. + AccessTokenTtlInMinutes *int `pulumi:"accessTokenTtlInMinutes"` + // refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. + RefreshTokenTtlInMinutes *int `pulumi:"refreshTokenTtlInMinutes"` } -func (o JobJobClusterNewClusterOutput) ClusterLogConf() JobJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterClusterLogConf { return v.ClusterLogConf }).(JobJobClusterNewClusterClusterLogConfPtrOutput) +// CustomAppIntegrationTokenAccessPolicyInput is an input type that accepts CustomAppIntegrationTokenAccessPolicyArgs and CustomAppIntegrationTokenAccessPolicyOutput values. +// You can construct a concrete instance of `CustomAppIntegrationTokenAccessPolicyInput` via: +// +// CustomAppIntegrationTokenAccessPolicyArgs{...} +type CustomAppIntegrationTokenAccessPolicyInput interface { + pulumi.Input + + ToCustomAppIntegrationTokenAccessPolicyOutput() CustomAppIntegrationTokenAccessPolicyOutput + ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(context.Context) CustomAppIntegrationTokenAccessPolicyOutput } -func (o JobJobClusterNewClusterOutput) ClusterMountInfos() JobJobClusterNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterClusterMountInfo { return v.ClusterMountInfos }).(JobJobClusterNewClusterClusterMountInfoArrayOutput) +type CustomAppIntegrationTokenAccessPolicyArgs struct { + // access token time to live (TTL) in minutes. + AccessTokenTtlInMinutes pulumi.IntPtrInput `pulumi:"accessTokenTtlInMinutes"` + // refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. + RefreshTokenTtlInMinutes pulumi.IntPtrInput `pulumi:"refreshTokenTtlInMinutes"` } -func (o JobJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (CustomAppIntegrationTokenAccessPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() } -func (o JobJobClusterNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyOutput() CustomAppIntegrationTokenAccessPolicyOutput { + return i.ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomAppIntegrationTokenAccessPolicyOutput) } -func (o JobJobClusterNewClusterOutput) DockerImage() JobJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterDockerImage { return v.DockerImage }).(JobJobClusterNewClusterDockerImagePtrOutput) +func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { + return i.ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) +func (i CustomAppIntegrationTokenAccessPolicyArgs) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomAppIntegrationTokenAccessPolicyOutput).ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx) } -func (o JobJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) +// CustomAppIntegrationTokenAccessPolicyPtrInput is an input type that accepts CustomAppIntegrationTokenAccessPolicyArgs, CustomAppIntegrationTokenAccessPolicyPtr and CustomAppIntegrationTokenAccessPolicyPtrOutput values. +// You can construct a concrete instance of `CustomAppIntegrationTokenAccessPolicyPtrInput` via: +// +// CustomAppIntegrationTokenAccessPolicyArgs{...} +// +// or: +// +// nil +type CustomAppIntegrationTokenAccessPolicyPtrInput interface { + pulumi.Input + + ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput + ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput } -func (o JobJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +type customAppIntegrationTokenAccessPolicyPtrType CustomAppIntegrationTokenAccessPolicyArgs + +func CustomAppIntegrationTokenAccessPolicyPtr(v *CustomAppIntegrationTokenAccessPolicyArgs) CustomAppIntegrationTokenAccessPolicyPtrInput { + return (*customAppIntegrationTokenAccessPolicyPtrType)(v) } -func (o JobJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func (*customAppIntegrationTokenAccessPolicyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() } -func (o JobJobClusterNewClusterOutput) GcpAttributes() JobJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterGcpAttributes { return v.GcpAttributes }).(JobJobClusterNewClusterGcpAttributesPtrOutput) +func (i *customAppIntegrationTokenAccessPolicyPtrType) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { + return i.ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (i *customAppIntegrationTokenAccessPolicyPtrType) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomAppIntegrationTokenAccessPolicyPtrOutput) } -func (o JobJobClusterNewClusterOutput) InitScripts() JobJobClusterNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterInitScript { return v.InitScripts }).(JobJobClusterNewClusterInitScriptArrayOutput) +type CustomAppIntegrationTokenAccessPolicyOutput struct{ *pulumi.OutputState } + +func (CustomAppIntegrationTokenAccessPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() } -func (o JobJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyOutput() CustomAppIntegrationTokenAccessPolicyOutput { + return o } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobJobClusterNewClusterOutput) Libraries() JobJobClusterNewClusterLibraryArrayOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterLibrary { return v.Libraries }).(JobJobClusterNewClusterLibraryArrayOutput) +func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyOutput { + return o } -func (o JobJobClusterNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { + return o.ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (o CustomAppIntegrationTokenAccessPolicyOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomAppIntegrationTokenAccessPolicy) *CustomAppIntegrationTokenAccessPolicy { + return &v + }).(CustomAppIntegrationTokenAccessPolicyPtrOutput) } -func (o JobJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +// access token time to live (TTL) in minutes. +func (o CustomAppIntegrationTokenAccessPolicyOutput) AccessTokenTtlInMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v CustomAppIntegrationTokenAccessPolicy) *int { return v.AccessTokenTtlInMinutes }).(pulumi.IntPtrOutput) } -func (o JobJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. +func (o CustomAppIntegrationTokenAccessPolicyOutput) RefreshTokenTtlInMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v CustomAppIntegrationTokenAccessPolicy) *int { return v.RefreshTokenTtlInMinutes }).(pulumi.IntPtrOutput) } -func (o JobJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +type CustomAppIntegrationTokenAccessPolicyPtrOutput struct{ *pulumi.OutputState } + +func (CustomAppIntegrationTokenAccessPolicyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomAppIntegrationTokenAccessPolicy)(nil)).Elem() } -func (o JobJobClusterNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutput() CustomAppIntegrationTokenAccessPolicyPtrOutput { + return o } -func (o JobJobClusterNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) ToCustomAppIntegrationTokenAccessPolicyPtrOutputWithContext(ctx context.Context) CustomAppIntegrationTokenAccessPolicyPtrOutput { + return o } -func (o JobJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) Elem() CustomAppIntegrationTokenAccessPolicyOutput { + return o.ApplyT(func(v *CustomAppIntegrationTokenAccessPolicy) CustomAppIntegrationTokenAccessPolicy { + if v != nil { + return *v + } + var ret CustomAppIntegrationTokenAccessPolicy + return ret + }).(CustomAppIntegrationTokenAccessPolicyOutput) } -func (o JobJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +// access token time to live (TTL) in minutes. +func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) AccessTokenTtlInMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CustomAppIntegrationTokenAccessPolicy) *int { + if v == nil { + return nil + } + return v.AccessTokenTtlInMinutes + }).(pulumi.IntPtrOutput) } -// isn't supported -func (o JobJobClusterNewClusterOutput) WorkloadType() JobJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterWorkloadType { return v.WorkloadType }).(JobJobClusterNewClusterWorkloadTypePtrOutput) +// refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. +func (o CustomAppIntegrationTokenAccessPolicyPtrOutput) RefreshTokenTtlInMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CustomAppIntegrationTokenAccessPolicy) *int { + if v == nil { + return nil + } + return v.RefreshTokenTtlInMinutes + }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type DefaultNamespaceSettingNamespace struct { + // The value for the setting. + Value *string `pulumi:"value"` } -// JobJobClusterNewClusterAutoscaleInput is an input type that accepts JobJobClusterNewClusterAutoscaleArgs and JobJobClusterNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAutoscaleInput` via: +// DefaultNamespaceSettingNamespaceInput is an input type that accepts DefaultNamespaceSettingNamespaceArgs and DefaultNamespaceSettingNamespaceOutput values. +// You can construct a concrete instance of `DefaultNamespaceSettingNamespaceInput` via: // -// JobJobClusterNewClusterAutoscaleArgs{...} -type JobJobClusterNewClusterAutoscaleInput interface { +// DefaultNamespaceSettingNamespaceArgs{...} +type DefaultNamespaceSettingNamespaceInput interface { pulumi.Input - ToJobJobClusterNewClusterAutoscaleOutput() JobJobClusterNewClusterAutoscaleOutput - ToJobJobClusterNewClusterAutoscaleOutputWithContext(context.Context) JobJobClusterNewClusterAutoscaleOutput + ToDefaultNamespaceSettingNamespaceOutput() DefaultNamespaceSettingNamespaceOutput + ToDefaultNamespaceSettingNamespaceOutputWithContext(context.Context) DefaultNamespaceSettingNamespaceOutput } -type JobJobClusterNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type DefaultNamespaceSettingNamespaceArgs struct { + // The value for the setting. + Value pulumi.StringPtrInput `pulumi:"value"` } -func (JobJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAutoscale)(nil)).Elem() +func (DefaultNamespaceSettingNamespaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DefaultNamespaceSettingNamespace)(nil)).Elem() } -func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscaleOutput() JobJobClusterNewClusterAutoscaleOutput { - return i.ToJobJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) +func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespaceOutput() DefaultNamespaceSettingNamespaceOutput { + return i.ToDefaultNamespaceSettingNamespaceOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAutoscaleOutput) +func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespaceOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(DefaultNamespaceSettingNamespaceOutput) } -func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { - return i.ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { + return i.ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAutoscaleOutput).ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) +func (i DefaultNamespaceSettingNamespaceArgs) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DefaultNamespaceSettingNamespaceOutput).ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx) } -// JobJobClusterNewClusterAutoscalePtrInput is an input type that accepts JobJobClusterNewClusterAutoscaleArgs, JobJobClusterNewClusterAutoscalePtr and JobJobClusterNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAutoscalePtrInput` via: +// DefaultNamespaceSettingNamespacePtrInput is an input type that accepts DefaultNamespaceSettingNamespaceArgs, DefaultNamespaceSettingNamespacePtr and DefaultNamespaceSettingNamespacePtrOutput values. +// You can construct a concrete instance of `DefaultNamespaceSettingNamespacePtrInput` via: // -// JobJobClusterNewClusterAutoscaleArgs{...} +// DefaultNamespaceSettingNamespaceArgs{...} // // or: // // nil -type JobJobClusterNewClusterAutoscalePtrInput interface { +type DefaultNamespaceSettingNamespacePtrInput interface { pulumi.Input - ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput - ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) JobJobClusterNewClusterAutoscalePtrOutput + ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput + ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Context) DefaultNamespaceSettingNamespacePtrOutput } -type jobJobClusterNewClusterAutoscalePtrType JobJobClusterNewClusterAutoscaleArgs +type defaultNamespaceSettingNamespacePtrType DefaultNamespaceSettingNamespaceArgs -func JobJobClusterNewClusterAutoscalePtr(v *JobJobClusterNewClusterAutoscaleArgs) JobJobClusterNewClusterAutoscalePtrInput { - return (*jobJobClusterNewClusterAutoscalePtrType)(v) +func DefaultNamespaceSettingNamespacePtr(v *DefaultNamespaceSettingNamespaceArgs) DefaultNamespaceSettingNamespacePtrInput { + return (*defaultNamespaceSettingNamespacePtrType)(v) } -func (*jobJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAutoscale)(nil)).Elem() +func (*defaultNamespaceSettingNamespacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DefaultNamespaceSettingNamespace)(nil)).Elem() } -func (i *jobJobClusterNewClusterAutoscalePtrType) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { - return i.ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *defaultNamespaceSettingNamespacePtrType) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { + return i.ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterAutoscalePtrType) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAutoscalePtrOutput) +func (i *defaultNamespaceSettingNamespacePtrType) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DefaultNamespaceSettingNamespacePtrOutput) } -type JobJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type DefaultNamespaceSettingNamespaceOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAutoscale)(nil)).Elem() +func (DefaultNamespaceSettingNamespaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DefaultNamespaceSettingNamespace)(nil)).Elem() } -func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscaleOutput() JobJobClusterNewClusterAutoscaleOutput { +func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespaceOutput() DefaultNamespaceSettingNamespaceOutput { return o } -func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscaleOutput { +func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespaceOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespaceOutput { return o } -func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { - return o.ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { + return o.ToDefaultNamespaceSettingNamespacePtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAutoscale) *JobJobClusterNewClusterAutoscale { +func (o DefaultNamespaceSettingNamespaceOutput) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DefaultNamespaceSettingNamespace) *DefaultNamespaceSettingNamespace { return &v - }).(JobJobClusterNewClusterAutoscalePtrOutput) -} - -func (o JobJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) + }).(DefaultNamespaceSettingNamespacePtrOutput) } -func (o JobJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +// The value for the setting. +func (o DefaultNamespaceSettingNamespaceOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v DefaultNamespaceSettingNamespace) *string { return v.Value }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type DefaultNamespaceSettingNamespacePtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAutoscale)(nil)).Elem() +func (DefaultNamespaceSettingNamespacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DefaultNamespaceSettingNamespace)(nil)).Elem() } -func (o JobJobClusterNewClusterAutoscalePtrOutput) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { +func (o DefaultNamespaceSettingNamespacePtrOutput) ToDefaultNamespaceSettingNamespacePtrOutput() DefaultNamespaceSettingNamespacePtrOutput { return o } -func (o JobJobClusterNewClusterAutoscalePtrOutput) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { +func (o DefaultNamespaceSettingNamespacePtrOutput) ToDefaultNamespaceSettingNamespacePtrOutputWithContext(ctx context.Context) DefaultNamespaceSettingNamespacePtrOutput { return o } -func (o JobJobClusterNewClusterAutoscalePtrOutput) Elem() JobJobClusterNewClusterAutoscaleOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAutoscale) JobJobClusterNewClusterAutoscale { +func (o DefaultNamespaceSettingNamespacePtrOutput) Elem() DefaultNamespaceSettingNamespaceOutput { + return o.ApplyT(func(v *DefaultNamespaceSettingNamespace) DefaultNamespaceSettingNamespace { if v != nil { return *v } - var ret JobJobClusterNewClusterAutoscale + var ret DefaultNamespaceSettingNamespace return ret - }).(JobJobClusterNewClusterAutoscaleOutput) -} - -func (o JobJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + }).(DefaultNamespaceSettingNamespaceOutput) } -func (o JobJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAutoscale) *int { +// The value for the setting. +func (o DefaultNamespaceSettingNamespacePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DefaultNamespaceSettingNamespace) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.Value + }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace struct { + IsEnabled bool `pulumi:"isEnabled"` } -// JobJobClusterNewClusterAwsAttributesInput is an input type that accepts JobJobClusterNewClusterAwsAttributesArgs and JobJobClusterNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAwsAttributesInput` via: +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs and EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput values. +// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput` via: // -// JobJobClusterNewClusterAwsAttributesArgs{...} -type JobJobClusterNewClusterAwsAttributesInput interface { +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{...} +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceInput interface { pulumi.Input - ToJobJobClusterNewClusterAwsAttributesOutput() JobJobClusterNewClusterAwsAttributesOutput - ToJobJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) JobJobClusterNewClusterAwsAttributesOutput + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput } -type JobJobClusterNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs struct { + IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` } -func (JobJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() } -func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesOutput() JobJobClusterNewClusterAwsAttributesOutput { - return i.ToJobJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAwsAttributesOutput) +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) } -func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAwsAttributesOutput).ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput).ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx) } -// JobJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts JobJobClusterNewClusterAwsAttributesArgs, JobJobClusterNewClusterAwsAttributesPtr and JobJobClusterNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAwsAttributesPtrInput` via: +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput is an input type that accepts EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs, EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtr and EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput values. +// You can construct a concrete instance of `EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput` via: // -// JobJobClusterNewClusterAwsAttributesArgs{...} +// EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs{...} // // or: // // nil -type JobJobClusterNewClusterAwsAttributesPtrInput interface { +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput interface { pulumi.Input - ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput - ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput + ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput } -type jobJobClusterNewClusterAwsAttributesPtrType JobJobClusterNewClusterAwsAttributesArgs +type enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs -func JobJobClusterNewClusterAwsAttributesPtr(v *JobJobClusterNewClusterAwsAttributesArgs) JobJobClusterNewClusterAwsAttributesPtrInput { - return (*jobJobClusterNewClusterAwsAttributesPtrType)(v) +func EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtr(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrInput { + return (*enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType)(v) } -func (*jobJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (*enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() } -func (i *jobJobClusterNewClusterAwsAttributesPtrType) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return i.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterAwsAttributesPtrType) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAwsAttributesPtrOutput) +func (i *enhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrType) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) } -type JobJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() } -func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesOutput() JobJobClusterNewClusterAwsAttributesOutput { +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { return o } -func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesOutput { +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { return o } -func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { - return o.ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o.ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAwsAttributes) *JobJobClusterNewClusterAwsAttributes { +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { return &v - }).(JobJobClusterNewClusterAwsAttributesPtrOutput) + }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) } -func (o JobJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) IsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) bool { + return v.IsEnabled + }).(pulumi.BoolOutput) } -func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +type EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace)(nil)).Elem() } -func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o } -func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) ToEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutputWithContext(ctx context.Context) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput { + return o } -func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) Elem() EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace { + if v != nil { + return *v + } + var ret EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace + return ret + }).(EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceOutput) } -func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspacePtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace) *bool { + if v == nil { + return nil + } + return &v.IsEnabled + }).(pulumi.BoolPtrOutput) } -func (o JobJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +type ExternalLocationEncryptionDetails struct { + SseEncryptionDetails *ExternalLocationEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` } -func (o JobJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +// ExternalLocationEncryptionDetailsInput is an input type that accepts ExternalLocationEncryptionDetailsArgs and ExternalLocationEncryptionDetailsOutput values. +// You can construct a concrete instance of `ExternalLocationEncryptionDetailsInput` via: +// +// ExternalLocationEncryptionDetailsArgs{...} +type ExternalLocationEncryptionDetailsInput interface { + pulumi.Input + + ToExternalLocationEncryptionDetailsOutput() ExternalLocationEncryptionDetailsOutput + ToExternalLocationEncryptionDetailsOutputWithContext(context.Context) ExternalLocationEncryptionDetailsOutput } -func (o JobJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +type ExternalLocationEncryptionDetailsArgs struct { + SseEncryptionDetails ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` } -func (o JobJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (ExternalLocationEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ExternalLocationEncryptionDetails)(nil)).Elem() } -type JobJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsOutput() ExternalLocationEncryptionDetailsOutput { + return i.ToExternalLocationEncryptionDetailsOutputWithContext(context.Background()) +} -func (JobJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsOutput) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { - return o +func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { + return i.ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { - return o +func (i ExternalLocationEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsOutput).ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) Elem() JobJobClusterNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) JobJobClusterNewClusterAwsAttributes { - if v != nil { - return *v - } - var ret JobJobClusterNewClusterAwsAttributes - return ret - }).(JobJobClusterNewClusterAwsAttributesOutput) +// ExternalLocationEncryptionDetailsPtrInput is an input type that accepts ExternalLocationEncryptionDetailsArgs, ExternalLocationEncryptionDetailsPtr and ExternalLocationEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `ExternalLocationEncryptionDetailsPtrInput` via: +// +// ExternalLocationEncryptionDetailsArgs{...} +// +// or: +// +// nil +type ExternalLocationEncryptionDetailsPtrInput interface { + pulumi.Input + + ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput + ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Context) ExternalLocationEncryptionDetailsPtrOutput } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +type externalLocationEncryptionDetailsPtrType ExternalLocationEncryptionDetailsArgs + +func ExternalLocationEncryptionDetailsPtr(v *ExternalLocationEncryptionDetailsArgs) ExternalLocationEncryptionDetailsPtrInput { + return (*externalLocationEncryptionDetailsPtrType)(v) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) +func (*externalLocationEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ExternalLocationEncryptionDetails)(nil)).Elem() } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) +func (i *externalLocationEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { + return i.ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +func (i *externalLocationEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsPtrOutput) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) +type ExternalLocationEncryptionDetailsOutput struct{ *pulumi.OutputState } + +func (ExternalLocationEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ExternalLocationEncryptionDetails)(nil)).Elem() } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) +func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsOutput() ExternalLocationEncryptionDetailsOutput { + return o } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsOutput { + return o } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { + return o.ToExternalLocationEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil +func (o ExternalLocationEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ExternalLocationEncryptionDetails) *ExternalLocationEncryptionDetails { + return &v + }).(ExternalLocationEncryptionDetailsPtrOutput) +} + +func (o ExternalLocationEncryptionDetailsOutput) SseEncryptionDetails() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v ExternalLocationEncryptionDetails) *ExternalLocationEncryptionDetailsSseEncryptionDetails { + return v.SseEncryptionDetails + }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) +} + +type ExternalLocationEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } + +func (ExternalLocationEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ExternalLocationEncryptionDetails)(nil)).Elem() +} + +func (o ExternalLocationEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsPtrOutput { + return o +} + +func (o ExternalLocationEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsPtrOutput { + return o +} + +func (o ExternalLocationEncryptionDetailsPtrOutput) Elem() ExternalLocationEncryptionDetailsOutput { + return o.ApplyT(func(v *ExternalLocationEncryptionDetails) ExternalLocationEncryptionDetails { + if v != nil { + return *v } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + var ret ExternalLocationEncryptionDetails + return ret + }).(ExternalLocationEncryptionDetailsOutput) } -func (o JobJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { +func (o ExternalLocationEncryptionDetailsPtrOutput) SseEncryptionDetails() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *ExternalLocationEncryptionDetails) *ExternalLocationEncryptionDetailsSseEncryptionDetails { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.SseEncryptionDetails + }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) } - -type JobJobClusterNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` + +type ExternalLocationEncryptionDetailsSseEncryptionDetails struct { + Algorithm *string `pulumi:"algorithm"` + AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` } -// JobJobClusterNewClusterAzureAttributesInput is an input type that accepts JobJobClusterNewClusterAzureAttributesArgs and JobJobClusterNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesInput` via: +// ExternalLocationEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs and ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput values. +// You can construct a concrete instance of `ExternalLocationEncryptionDetailsSseEncryptionDetailsInput` via: // -// JobJobClusterNewClusterAzureAttributesArgs{...} -type JobJobClusterNewClusterAzureAttributesInput interface { +// ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs{...} +type ExternalLocationEncryptionDetailsSseEncryptionDetailsInput interface { pulumi.Input - ToJobJobClusterNewClusterAzureAttributesOutput() JobJobClusterNewClusterAzureAttributesOutput - ToJobJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesOutput + ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput + ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput } -type JobJobClusterNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs struct { + Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` + AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` } -func (JobJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesOutput() JobJobClusterNewClusterAzureAttributesOutput { - return i.ToJobJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { + return i.ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesOutput) +func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) } -func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesOutput).ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput).ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts JobJobClusterNewClusterAzureAttributesArgs, JobJobClusterNewClusterAzureAttributesPtr and JobJobClusterNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesPtrInput` via: +// ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs, ExternalLocationEncryptionDetailsSseEncryptionDetailsPtr and ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput` via: // -// JobJobClusterNewClusterAzureAttributesArgs{...} +// ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs{...} // // or: // // nil -type JobJobClusterNewClusterAzureAttributesPtrInput interface { +type ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput - ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput + ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput + ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput } -type jobJobClusterNewClusterAzureAttributesPtrType JobJobClusterNewClusterAzureAttributesArgs +type externalLocationEncryptionDetailsSseEncryptionDetailsPtrType ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs -func JobJobClusterNewClusterAzureAttributesPtr(v *JobJobClusterNewClusterAzureAttributesArgs) JobJobClusterNewClusterAzureAttributesPtrInput { - return (*jobJobClusterNewClusterAzureAttributesPtrType)(v) +func ExternalLocationEncryptionDetailsSseEncryptionDetailsPtr(v *ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrInput { + return (*externalLocationEncryptionDetailsSseEncryptionDetailsPtrType)(v) } -func (*jobJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (*externalLocationEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (i *jobJobClusterNewClusterAzureAttributesPtrType) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *externalLocationEncryptionDetailsSseEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterAzureAttributesPtrType) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesPtrOutput) +func (i *externalLocationEncryptionDetailsSseEncryptionDetailsPtrType) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) } -type JobJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesOutput() JobJobClusterNewClusterAzureAttributesOutput { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesOutput { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { - return o.ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAzureAttributes) *JobJobClusterNewClusterAzureAttributes { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ExternalLocationEncryptionDetailsSseEncryptionDetails) *ExternalLocationEncryptionDetailsSseEncryptionDetails { return &v - }).(JobJobClusterNewClusterAzureAttributesPtrOutput) -} - -func (o JobJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o JobJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { return v.Algorithm }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { return v.AwsKmsKeyArn }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ExternalLocationEncryptionDetailsSseEncryptionDetails)(nil)).Elem() } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput() ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) ToExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) Elem() JobJobClusterNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) JobJobClusterNewClusterAzureAttributes { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput { + return o.ApplyT(func(v *ExternalLocationEncryptionDetailsSseEncryptionDetails) ExternalLocationEncryptionDetailsSseEncryptionDetails { if v != nil { return *v } - var ret JobJobClusterNewClusterAzureAttributes + var ret ExternalLocationEncryptionDetailsSseEncryptionDetails return ret - }).(JobJobClusterNewClusterAzureAttributesOutput) + }).(ExternalLocationEncryptionDetailsSseEncryptionDetailsOutput) } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *string { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { if v == nil { return nil } - return v.Availability + return v.Algorithm }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *int { +func (o ExternalLocationEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ExternalLocationEncryptionDetailsSseEncryptionDetails) *string { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.AwsKmsKeyArn + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { - if v == nil { - return nil - } - return v.LogAnalyticsInfo - }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +type GrantsGrant struct { + Principal string `pulumi:"principal"` + Privileges []string `pulumi:"privileges"` } -func (o JobJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +// GrantsGrantInput is an input type that accepts GrantsGrantArgs and GrantsGrantOutput values. +// You can construct a concrete instance of `GrantsGrantInput` via: +// +// GrantsGrantArgs{...} +type GrantsGrantInput interface { + pulumi.Input + + ToGrantsGrantOutput() GrantsGrantOutput + ToGrantsGrantOutputWithContext(context.Context) GrantsGrantOutput } -type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +type GrantsGrantArgs struct { + Principal pulumi.StringInput `pulumi:"principal"` + Privileges pulumi.StringArrayInput `pulumi:"privileges"` } -// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs and JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput` via: +func (GrantsGrantArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GrantsGrant)(nil)).Elem() +} + +func (i GrantsGrantArgs) ToGrantsGrantOutput() GrantsGrantOutput { + return i.ToGrantsGrantOutputWithContext(context.Background()) +} + +func (i GrantsGrantArgs) ToGrantsGrantOutputWithContext(ctx context.Context) GrantsGrantOutput { + return pulumi.ToOutputWithContext(ctx, i).(GrantsGrantOutput) +} + +// GrantsGrantArrayInput is an input type that accepts GrantsGrantArray and GrantsGrantArrayOutput values. +// You can construct a concrete instance of `GrantsGrantArrayInput` via: // -// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs{...} -type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput interface { +// GrantsGrantArray{ GrantsGrantArgs{...} } +type GrantsGrantArrayInput interface { pulumi.Input - ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput - ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput + ToGrantsGrantArrayOutput() GrantsGrantArrayOutput + ToGrantsGrantArrayOutputWithContext(context.Context) GrantsGrantArrayOutput } -type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type GrantsGrantArray []GrantsGrantInput + +func (GrantsGrantArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GrantsGrant)(nil)).Elem() } -func (JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (i GrantsGrantArray) ToGrantsGrantArrayOutput() GrantsGrantArrayOutput { + return i.ToGrantsGrantArrayOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { - return i.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i GrantsGrantArray) ToGrantsGrantArrayOutputWithContext(ctx context.Context) GrantsGrantArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GrantsGrantArrayOutput) } -func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) +type GrantsGrantOutput struct{ *pulumi.OutputState } + +func (GrantsGrantOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GrantsGrant)(nil)).Elem() } -func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o GrantsGrantOutput) ToGrantsGrantOutput() GrantsGrantOutput { + return o } -func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (o GrantsGrantOutput) ToGrantsGrantOutputWithContext(ctx context.Context) GrantsGrantOutput { + return o } -// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs, JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtr and JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: +func (o GrantsGrantOutput) Principal() pulumi.StringOutput { + return o.ApplyT(func(v GrantsGrant) string { return v.Principal }).(pulumi.StringOutput) +} + +func (o GrantsGrantOutput) Privileges() pulumi.StringArrayOutput { + return o.ApplyT(func(v GrantsGrant) []string { return v.Privileges }).(pulumi.StringArrayOutput) +} + +type GrantsGrantArrayOutput struct{ *pulumi.OutputState } + +func (GrantsGrantArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GrantsGrant)(nil)).Elem() +} + +func (o GrantsGrantArrayOutput) ToGrantsGrantArrayOutput() GrantsGrantArrayOutput { + return o +} + +func (o GrantsGrantArrayOutput) ToGrantsGrantArrayOutputWithContext(ctx context.Context) GrantsGrantArrayOutput { + return o +} + +func (o GrantsGrantArrayOutput) Index(i pulumi.IntInput) GrantsGrantOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrantsGrant { + return vs[0].([]GrantsGrant)[vs[1].(int)] + }).(GrantsGrantOutput) +} + +type InstancePoolAwsAttributes struct { + // (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. + Availability *string `pulumi:"availability"` + // (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + // (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). + ZoneId *string `pulumi:"zoneId"` +} + +// InstancePoolAwsAttributesInput is an input type that accepts InstancePoolAwsAttributesArgs and InstancePoolAwsAttributesOutput values. +// You can construct a concrete instance of `InstancePoolAwsAttributesInput` via: // -// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +// InstancePoolAwsAttributesArgs{...} +type InstancePoolAwsAttributesInput interface { + pulumi.Input + + ToInstancePoolAwsAttributesOutput() InstancePoolAwsAttributesOutput + ToInstancePoolAwsAttributesOutputWithContext(context.Context) InstancePoolAwsAttributesOutput +} + +type InstancePoolAwsAttributesArgs struct { + // (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. + Availability pulumi.StringPtrInput `pulumi:"availability"` + // (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + // (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +} + +func (InstancePoolAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolAwsAttributes)(nil)).Elem() +} + +func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesOutput() InstancePoolAwsAttributesOutput { + return i.ToInstancePoolAwsAttributesOutputWithContext(context.Background()) +} + +func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesOutputWithContext(ctx context.Context) InstancePoolAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAwsAttributesOutput) +} + +func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { + return i.ToInstancePoolAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i InstancePoolAwsAttributesArgs) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAwsAttributesOutput).ToInstancePoolAwsAttributesPtrOutputWithContext(ctx) +} + +// InstancePoolAwsAttributesPtrInput is an input type that accepts InstancePoolAwsAttributesArgs, InstancePoolAwsAttributesPtr and InstancePoolAwsAttributesPtrOutput values. +// You can construct a concrete instance of `InstancePoolAwsAttributesPtrInput` via: +// +// InstancePoolAwsAttributesArgs{...} // // or: // // nil -type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { +type InstancePoolAwsAttributesPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput - ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput + ToInstancePoolAwsAttributesPtrOutputWithContext(context.Context) InstancePoolAwsAttributesPtrOutput } -type jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs +type instancePoolAwsAttributesPtrType InstancePoolAwsAttributesArgs -func JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput { - return (*jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) +func InstancePoolAwsAttributesPtr(v *InstancePoolAwsAttributesArgs) InstancePoolAwsAttributesPtrInput { + return (*instancePoolAwsAttributesPtrType)(v) } -func (*jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*instancePoolAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolAwsAttributes)(nil)).Elem() } -func (i *jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *instancePoolAwsAttributesPtrType) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { + return i.ToInstancePoolAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *instancePoolAwsAttributesPtrType) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAwsAttributesPtrOutput) } -type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type InstancePoolAwsAttributesOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (InstancePoolAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolAwsAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { +func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesOutput() InstancePoolAwsAttributesOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { +func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesOutputWithContext(ctx context.Context) InstancePoolAwsAttributesOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { + return o.ToInstancePoolAwsAttributesPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { +func (o InstancePoolAwsAttributesOutput) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolAwsAttributes) *InstancePoolAwsAttributes { return &v - }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) + }).(InstancePoolAwsAttributesPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { - return v.LogAnalyticsPrimaryKey - }).(pulumi.StringPtrOutput) +// (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. +func (o InstancePoolAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { - return v.LogAnalyticsWorkspaceId - }).(pulumi.StringPtrOutput) +// (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* +func (o InstancePoolAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v InstancePoolAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +// (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). +func (o InstancePoolAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} -func (JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +type InstancePoolAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (InstancePoolAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolAwsAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o InstancePoolAwsAttributesPtrOutput) ToInstancePoolAwsAttributesPtrOutput() InstancePoolAwsAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o InstancePoolAwsAttributesPtrOutput) ToInstancePoolAwsAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAwsAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { +func (o InstancePoolAwsAttributesPtrOutput) Elem() InstancePoolAwsAttributesOutput { + return o.ApplyT(func(v *InstancePoolAwsAttributes) InstancePoolAwsAttributes { if v != nil { return *v } - var ret JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo + var ret InstancePoolAwsAttributes return ret - }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) + }).(InstancePoolAwsAttributesOutput) } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { +// (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. +func (o InstancePoolAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolAwsAttributes) *string { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey + return v.Availability }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { +// (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* +func (o InstancePoolAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstancePoolAwsAttributes) *int { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +// (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). +func (o InstancePoolAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterClusterLogConf struct { - Dbfs *JobJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *JobJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` +type InstancePoolAzureAttributes struct { + // Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. + Availability *string `pulumi:"availability"` + // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// JobJobClusterNewClusterClusterLogConfInput is an input type that accepts JobJobClusterNewClusterClusterLogConfArgs and JobJobClusterNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfInput` via: +// InstancePoolAzureAttributesInput is an input type that accepts InstancePoolAzureAttributesArgs and InstancePoolAzureAttributesOutput values. +// You can construct a concrete instance of `InstancePoolAzureAttributesInput` via: // -// JobJobClusterNewClusterClusterLogConfArgs{...} -type JobJobClusterNewClusterClusterLogConfInput interface { +// InstancePoolAzureAttributesArgs{...} +type InstancePoolAzureAttributesInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterLogConfOutput() JobJobClusterNewClusterClusterLogConfOutput - ToJobJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfOutput + ToInstancePoolAzureAttributesOutput() InstancePoolAzureAttributesOutput + ToInstancePoolAzureAttributesOutputWithContext(context.Context) InstancePoolAzureAttributesOutput } -type JobJobClusterNewClusterClusterLogConfArgs struct { - Dbfs JobJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 JobJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type InstancePoolAzureAttributesArgs struct { + // Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. + Availability pulumi.StringPtrInput `pulumi:"availability"` + // The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (JobJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (InstancePoolAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolAzureAttributes)(nil)).Elem() } -func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfOutput() JobJobClusterNewClusterClusterLogConfOutput { - return i.ToJobJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesOutput() InstancePoolAzureAttributesOutput { + return i.ToInstancePoolAzureAttributesOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfOutput) +func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesOutputWithContext(ctx context.Context) InstancePoolAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAzureAttributesOutput) } -func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { + return i.ToInstancePoolAzureAttributesPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfOutput).ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i InstancePoolAzureAttributesArgs) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAzureAttributesOutput).ToInstancePoolAzureAttributesPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts JobJobClusterNewClusterClusterLogConfArgs, JobJobClusterNewClusterClusterLogConfPtr and JobJobClusterNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfPtrInput` via: +// InstancePoolAzureAttributesPtrInput is an input type that accepts InstancePoolAzureAttributesArgs, InstancePoolAzureAttributesPtr and InstancePoolAzureAttributesPtrOutput values. +// You can construct a concrete instance of `InstancePoolAzureAttributesPtrInput` via: // -// JobJobClusterNewClusterClusterLogConfArgs{...} +// InstancePoolAzureAttributesArgs{...} // // or: // // nil -type JobJobClusterNewClusterClusterLogConfPtrInput interface { +type InstancePoolAzureAttributesPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput - ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput + ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput + ToInstancePoolAzureAttributesPtrOutputWithContext(context.Context) InstancePoolAzureAttributesPtrOutput } -type jobJobClusterNewClusterClusterLogConfPtrType JobJobClusterNewClusterClusterLogConfArgs +type instancePoolAzureAttributesPtrType InstancePoolAzureAttributesArgs -func JobJobClusterNewClusterClusterLogConfPtr(v *JobJobClusterNewClusterClusterLogConfArgs) JobJobClusterNewClusterClusterLogConfPtrInput { - return (*jobJobClusterNewClusterClusterLogConfPtrType)(v) +func InstancePoolAzureAttributesPtr(v *InstancePoolAzureAttributesArgs) InstancePoolAzureAttributesPtrInput { + return (*instancePoolAzureAttributesPtrType)(v) } -func (*jobJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (*instancePoolAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolAzureAttributes)(nil)).Elem() } -func (i *jobJobClusterNewClusterClusterLogConfPtrType) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *instancePoolAzureAttributesPtrType) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { + return i.ToInstancePoolAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterClusterLogConfPtrType) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfPtrOutput) +func (i *instancePoolAzureAttributesPtrType) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolAzureAttributesPtrOutput) } -type JobJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type InstancePoolAzureAttributesOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (InstancePoolAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolAzureAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfOutput() JobJobClusterNewClusterClusterLogConfOutput { +func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesOutput() InstancePoolAzureAttributesOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfOutput { +func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesOutputWithContext(ctx context.Context) InstancePoolAzureAttributesOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { - return o.ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { + return o.ToInstancePoolAzureAttributesPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConf { +func (o InstancePoolAzureAttributesOutput) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolAzureAttributes) *InstancePoolAzureAttributes { return &v - }).(JobJobClusterNewClusterClusterLogConfPtrOutput) + }).(InstancePoolAzureAttributesPtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfOutput) Dbfs() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) +// Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. +func (o InstancePoolAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfOutput) S3() JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfS3 { return v.S3 }).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) +// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. +func (o InstancePoolAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v InstancePoolAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type JobJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type InstancePoolAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (InstancePoolAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolAzureAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterLogConfPtrOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { +func (o InstancePoolAzureAttributesPtrOutput) ToInstancePoolAzureAttributesPtrOutput() InstancePoolAzureAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfPtrOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { +func (o InstancePoolAzureAttributesPtrOutput) ToInstancePoolAzureAttributesPtrOutputWithContext(ctx context.Context) InstancePoolAzureAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfPtrOutput) Elem() JobJobClusterNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConf) JobJobClusterNewClusterClusterLogConf { +func (o InstancePoolAzureAttributesPtrOutput) Elem() InstancePoolAzureAttributesOutput { + return o.ApplyT(func(v *InstancePoolAzureAttributes) InstancePoolAzureAttributes { if v != nil { return *v } - var ret JobJobClusterNewClusterClusterLogConf + var ret InstancePoolAzureAttributes return ret - }).(JobJobClusterNewClusterClusterLogConfOutput) + }).(InstancePoolAzureAttributesOutput) } -func (o JobJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfDbfs { +// Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. +func (o InstancePoolAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolAzureAttributes) *string { if v == nil { return nil } - return v.Dbfs - }).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfPtrOutput) S3() JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfS3 { +// The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. +func (o InstancePoolAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *InstancePoolAzureAttributes) *float64 { if v == nil { return nil } - return v.S3 - }).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type JobJobClusterNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type InstancePoolDiskSpec struct { + // (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. + DiskCount *int `pulumi:"diskCount"` + // (Integer) The size of each disk (in GiB) to attach. + DiskSize *int `pulumi:"diskSize"` + DiskType *InstancePoolDiskSpecDiskType `pulumi:"diskType"` } -// JobJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts JobJobClusterNewClusterClusterLogConfDbfsArgs and JobJobClusterNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfDbfsInput` via: +// InstancePoolDiskSpecInput is an input type that accepts InstancePoolDiskSpecArgs and InstancePoolDiskSpecOutput values. +// You can construct a concrete instance of `InstancePoolDiskSpecInput` via: // -// JobJobClusterNewClusterClusterLogConfDbfsArgs{...} -type JobJobClusterNewClusterClusterLogConfDbfsInput interface { +// InstancePoolDiskSpecArgs{...} +type InstancePoolDiskSpecInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterLogConfDbfsOutput() JobJobClusterNewClusterClusterLogConfDbfsOutput - ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfDbfsOutput + ToInstancePoolDiskSpecOutput() InstancePoolDiskSpecOutput + ToInstancePoolDiskSpecOutputWithContext(context.Context) InstancePoolDiskSpecOutput } -type JobJobClusterNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type InstancePoolDiskSpecArgs struct { + // (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. + DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` + // (Integer) The size of each disk (in GiB) to attach. + DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` + DiskType InstancePoolDiskSpecDiskTypePtrInput `pulumi:"diskType"` } -func (JobJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (InstancePoolDiskSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolDiskSpec)(nil)).Elem() } -func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsOutput() JobJobClusterNewClusterClusterLogConfDbfsOutput { - return i.ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecOutput() InstancePoolDiskSpecOutput { + return i.ToInstancePoolDiskSpecOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfDbfsOutput) +func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecOutputWithContext(ctx context.Context) InstancePoolDiskSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecOutput) } -func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { + return i.ToInstancePoolDiskSpecPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfDbfsOutput).ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i InstancePoolDiskSpecArgs) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecOutput).ToInstancePoolDiskSpecPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobJobClusterNewClusterClusterLogConfDbfsArgs, JobJobClusterNewClusterClusterLogConfDbfsPtr and JobJobClusterNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfDbfsPtrInput` via: +// InstancePoolDiskSpecPtrInput is an input type that accepts InstancePoolDiskSpecArgs, InstancePoolDiskSpecPtr and InstancePoolDiskSpecPtrOutput values. +// You can construct a concrete instance of `InstancePoolDiskSpecPtrInput` via: // -// JobJobClusterNewClusterClusterLogConfDbfsArgs{...} +// InstancePoolDiskSpecArgs{...} // // or: // // nil -type JobJobClusterNewClusterClusterLogConfDbfsPtrInput interface { +type InstancePoolDiskSpecPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput - ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput + ToInstancePoolDiskSpecPtrOutputWithContext(context.Context) InstancePoolDiskSpecPtrOutput } -type jobJobClusterNewClusterClusterLogConfDbfsPtrType JobJobClusterNewClusterClusterLogConfDbfsArgs +type instancePoolDiskSpecPtrType InstancePoolDiskSpecArgs -func JobJobClusterNewClusterClusterLogConfDbfsPtr(v *JobJobClusterNewClusterClusterLogConfDbfsArgs) JobJobClusterNewClusterClusterLogConfDbfsPtrInput { - return (*jobJobClusterNewClusterClusterLogConfDbfsPtrType)(v) +func InstancePoolDiskSpecPtr(v *InstancePoolDiskSpecArgs) InstancePoolDiskSpecPtrInput { + return (*instancePoolDiskSpecPtrType)(v) } -func (*jobJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*instancePoolDiskSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolDiskSpec)(nil)).Elem() } -func (i *jobJobClusterNewClusterClusterLogConfDbfsPtrType) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *instancePoolDiskSpecPtrType) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { + return i.ToInstancePoolDiskSpecPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterClusterLogConfDbfsPtrType) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (i *instancePoolDiskSpecPtrType) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecPtrOutput) } -type JobJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type InstancePoolDiskSpecOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (InstancePoolDiskSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolDiskSpec)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsOutput() JobJobClusterNewClusterClusterLogConfDbfsOutput { +func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecOutput() InstancePoolDiskSpecOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsOutput { +func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecOutputWithContext(ctx context.Context) InstancePoolDiskSpecOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { + return o.ToInstancePoolDiskSpecPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterClusterLogConfDbfs) *JobJobClusterNewClusterClusterLogConfDbfs { +func (o InstancePoolDiskSpecOutput) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolDiskSpec) *InstancePoolDiskSpec { return &v - }).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) + }).(InstancePoolDiskSpecPtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. +func (o InstancePoolDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v InstancePoolDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +// (Integer) The size of each disk (in GiB) to attach. +func (o InstancePoolDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v InstancePoolDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +} -func (JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (o InstancePoolDiskSpecOutput) DiskType() InstancePoolDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v InstancePoolDiskSpec) *InstancePoolDiskSpecDiskType { return v.DiskType }).(InstancePoolDiskSpecDiskTypePtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { +type InstancePoolDiskSpecPtrOutput struct{ *pulumi.OutputState } + +func (InstancePoolDiskSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolDiskSpec)(nil)).Elem() +} + +func (o InstancePoolDiskSpecPtrOutput) ToInstancePoolDiskSpecPtrOutput() InstancePoolDiskSpecPtrOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { +func (o InstancePoolDiskSpecPtrOutput) ToInstancePoolDiskSpecPtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecPtrOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() JobJobClusterNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfDbfs) JobJobClusterNewClusterClusterLogConfDbfs { +func (o InstancePoolDiskSpecPtrOutput) Elem() InstancePoolDiskSpecOutput { + return o.ApplyT(func(v *InstancePoolDiskSpec) InstancePoolDiskSpec { if v != nil { return *v } - var ret JobJobClusterNewClusterClusterLogConfDbfs + var ret InstancePoolDiskSpec return ret - }).(JobJobClusterNewClusterClusterLogConfDbfsOutput) + }).(InstancePoolDiskSpecOutput) } -func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfDbfs) *string { +// (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. +func (o InstancePoolDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstancePoolDiskSpec) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.DiskCount + }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +// (Integer) The size of each disk (in GiB) to attach. +func (o InstancePoolDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstancePoolDiskSpec) *int { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.IntPtrOutput) } -// JobJobClusterNewClusterClusterLogConfS3Input is an input type that accepts JobJobClusterNewClusterClusterLogConfS3Args and JobJobClusterNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfS3Input` via: +func (o InstancePoolDiskSpecPtrOutput) DiskType() InstancePoolDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v *InstancePoolDiskSpec) *InstancePoolDiskSpecDiskType { + if v == nil { + return nil + } + return v.DiskType + }).(InstancePoolDiskSpecDiskTypePtrOutput) +} + +type InstancePoolDiskSpecDiskType struct { + AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` +} + +// InstancePoolDiskSpecDiskTypeInput is an input type that accepts InstancePoolDiskSpecDiskTypeArgs and InstancePoolDiskSpecDiskTypeOutput values. +// You can construct a concrete instance of `InstancePoolDiskSpecDiskTypeInput` via: // -// JobJobClusterNewClusterClusterLogConfS3Args{...} -type JobJobClusterNewClusterClusterLogConfS3Input interface { +// InstancePoolDiskSpecDiskTypeArgs{...} +type InstancePoolDiskSpecDiskTypeInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterLogConfS3Output() JobJobClusterNewClusterClusterLogConfS3Output - ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfS3Output + ToInstancePoolDiskSpecDiskTypeOutput() InstancePoolDiskSpecDiskTypeOutput + ToInstancePoolDiskSpecDiskTypeOutputWithContext(context.Context) InstancePoolDiskSpecDiskTypeOutput } -type JobJobClusterNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type InstancePoolDiskSpecDiskTypeArgs struct { + AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` } -func (JobJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (InstancePoolDiskSpecDiskTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolDiskSpecDiskType)(nil)).Elem() } -func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3Output() JobJobClusterNewClusterClusterLogConfS3Output { - return i.ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypeOutput() InstancePoolDiskSpecDiskTypeOutput { + return i.ToInstancePoolDiskSpecDiskTypeOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfS3Output) +func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypeOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecDiskTypeOutput) } -func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { + return i.ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfS3Output).ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i InstancePoolDiskSpecDiskTypeArgs) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecDiskTypeOutput).ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx) } -// JobJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts JobJobClusterNewClusterClusterLogConfS3Args, JobJobClusterNewClusterClusterLogConfS3Ptr and JobJobClusterNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfS3PtrInput` via: +// InstancePoolDiskSpecDiskTypePtrInput is an input type that accepts InstancePoolDiskSpecDiskTypeArgs, InstancePoolDiskSpecDiskTypePtr and InstancePoolDiskSpecDiskTypePtrOutput values. +// You can construct a concrete instance of `InstancePoolDiskSpecDiskTypePtrInput` via: // -// JobJobClusterNewClusterClusterLogConfS3Args{...} +// InstancePoolDiskSpecDiskTypeArgs{...} // // or: // // nil -type JobJobClusterNewClusterClusterLogConfS3PtrInput interface { +type InstancePoolDiskSpecDiskTypePtrInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput - ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput + ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput + ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Context) InstancePoolDiskSpecDiskTypePtrOutput } -type jobJobClusterNewClusterClusterLogConfS3PtrType JobJobClusterNewClusterClusterLogConfS3Args +type instancePoolDiskSpecDiskTypePtrType InstancePoolDiskSpecDiskTypeArgs -func JobJobClusterNewClusterClusterLogConfS3Ptr(v *JobJobClusterNewClusterClusterLogConfS3Args) JobJobClusterNewClusterClusterLogConfS3PtrInput { - return (*jobJobClusterNewClusterClusterLogConfS3PtrType)(v) +func InstancePoolDiskSpecDiskTypePtr(v *InstancePoolDiskSpecDiskTypeArgs) InstancePoolDiskSpecDiskTypePtrInput { + return (*instancePoolDiskSpecDiskTypePtrType)(v) } -func (*jobJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (*instancePoolDiskSpecDiskTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolDiskSpecDiskType)(nil)).Elem() } -func (i *jobJobClusterNewClusterClusterLogConfS3PtrType) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *instancePoolDiskSpecDiskTypePtrType) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { + return i.ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterClusterLogConfS3PtrType) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) +func (i *instancePoolDiskSpecDiskTypePtrType) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolDiskSpecDiskTypePtrOutput) } -type JobJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type InstancePoolDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (InstancePoolDiskSpecDiskTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolDiskSpecDiskType)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3Output() JobJobClusterNewClusterClusterLogConfS3Output { +func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypeOutput() InstancePoolDiskSpecDiskTypeOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3Output { +func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypeOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypeOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { + return o.ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterClusterLogConfS3) *JobJobClusterNewClusterClusterLogConfS3 { +func (o InstancePoolDiskSpecDiskTypeOutput) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolDiskSpecDiskType) *InstancePoolDiskSpecDiskType { return &v - }).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) + }).(InstancePoolDiskSpecDiskTypePtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o InstancePoolDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o InstancePoolDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type InstancePoolDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (InstancePoolDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolDiskSpecDiskType)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o InstancePoolDiskSpecDiskTypePtrOutput) ToInstancePoolDiskSpecDiskTypePtrOutput() InstancePoolDiskSpecDiskTypePtrOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o InstancePoolDiskSpecDiskTypePtrOutput) ToInstancePoolDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) InstancePoolDiskSpecDiskTypePtrOutput { return o } -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() JobJobClusterNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) JobJobClusterNewClusterClusterLogConfS3 { +func (o InstancePoolDiskSpecDiskTypePtrOutput) Elem() InstancePoolDiskSpecDiskTypeOutput { + return o.ApplyT(func(v *InstancePoolDiskSpecDiskType) InstancePoolDiskSpecDiskType { if v != nil { return *v } - var ret JobJobClusterNewClusterClusterLogConfS3 + var ret InstancePoolDiskSpecDiskType return ret - }).(JobJobClusterNewClusterClusterLogConfS3Output) -} - -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) + }).(InstancePoolDiskSpecDiskTypeOutput) } -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { +func (o InstancePoolDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolDiskSpecDiskType) *string { if v == nil { return nil } - return v.KmsKey + return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { +func (o InstancePoolDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolDiskSpecDiskType) *string { if v == nil { return nil } - return v.Region + return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type InstancePoolGcpAttributes struct { + // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + GcpAvailability *string `pulumi:"gcpAvailability"` + // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + LocalSsdCount *int `pulumi:"localSsdCount"` + // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. + ZoneId *string `pulumi:"zoneId"` } -// JobJobClusterNewClusterClusterMountInfoInput is an input type that accepts JobJobClusterNewClusterClusterMountInfoArgs and JobJobClusterNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterMountInfoInput` via: +// InstancePoolGcpAttributesInput is an input type that accepts InstancePoolGcpAttributesArgs and InstancePoolGcpAttributesOutput values. +// You can construct a concrete instance of `InstancePoolGcpAttributesInput` via: // -// JobJobClusterNewClusterClusterMountInfoArgs{...} -type JobJobClusterNewClusterClusterMountInfoInput interface { +// InstancePoolGcpAttributesArgs{...} +type InstancePoolGcpAttributesInput interface { pulumi.Input - ToJobJobClusterNewClusterClusterMountInfoOutput() JobJobClusterNewClusterClusterMountInfoOutput - ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(context.Context) JobJobClusterNewClusterClusterMountInfoOutput -} - -type JobJobClusterNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (JobJobClusterNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() + ToInstancePoolGcpAttributesOutput() InstancePoolGcpAttributesOutput + ToInstancePoolGcpAttributesOutputWithContext(context.Context) InstancePoolGcpAttributesOutput } -func (i JobJobClusterNewClusterClusterMountInfoArgs) ToJobJobClusterNewClusterClusterMountInfoOutput() JobJobClusterNewClusterClusterMountInfoOutput { - return i.ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) +type InstancePoolGcpAttributesArgs struct { + // Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` + // Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + // Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (i JobJobClusterNewClusterClusterMountInfoArgs) ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterMountInfoOutput) +func (InstancePoolGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolGcpAttributes)(nil)).Elem() } -// JobJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts JobJobClusterNewClusterClusterMountInfoArray and JobJobClusterNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterMountInfoArrayInput` via: -// -// JobJobClusterNewClusterClusterMountInfoArray{ JobJobClusterNewClusterClusterMountInfoArgs{...} } -type JobJobClusterNewClusterClusterMountInfoArrayInput interface { - pulumi.Input - - ToJobJobClusterNewClusterClusterMountInfoArrayOutput() JobJobClusterNewClusterClusterMountInfoArrayOutput - ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobJobClusterNewClusterClusterMountInfoArrayOutput +func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesOutput() InstancePoolGcpAttributesOutput { + return i.ToInstancePoolGcpAttributesOutputWithContext(context.Background()) } -type JobJobClusterNewClusterClusterMountInfoArray []JobJobClusterNewClusterClusterMountInfoInput - -func (JobJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesOutputWithContext(ctx context.Context) InstancePoolGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolGcpAttributesOutput) } -func (i JobJobClusterNewClusterClusterMountInfoArray) ToJobJobClusterNewClusterClusterMountInfoArrayOutput() JobJobClusterNewClusterClusterMountInfoArrayOutput { - return i.ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { + return i.ToInstancePoolGcpAttributesPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterClusterMountInfoArray) ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterMountInfoArrayOutput) +func (i InstancePoolGcpAttributesArgs) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolGcpAttributesOutput).ToInstancePoolGcpAttributesPtrOutputWithContext(ctx) } -type JobJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +// InstancePoolGcpAttributesPtrInput is an input type that accepts InstancePoolGcpAttributesArgs, InstancePoolGcpAttributesPtr and InstancePoolGcpAttributesPtrOutput values. +// You can construct a concrete instance of `InstancePoolGcpAttributesPtrInput` via: +// +// InstancePoolGcpAttributesArgs{...} +// +// or: +// +// nil +type InstancePoolGcpAttributesPtrInput interface { + pulumi.Input -func (JobJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() + ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput + ToInstancePoolGcpAttributesPtrOutputWithContext(context.Context) InstancePoolGcpAttributesPtrOutput } -func (o JobJobClusterNewClusterClusterMountInfoOutput) ToJobJobClusterNewClusterClusterMountInfoOutput() JobJobClusterNewClusterClusterMountInfoOutput { - return o -} +type instancePoolGcpAttributesPtrType InstancePoolGcpAttributesArgs -func (o JobJobClusterNewClusterClusterMountInfoOutput) ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoOutput { - return o +func InstancePoolGcpAttributesPtr(v *InstancePoolGcpAttributesArgs) InstancePoolGcpAttributesPtrInput { + return (*instancePoolGcpAttributesPtrType)(v) } -func (o JobJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +func (*instancePoolGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolGcpAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfo) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *instancePoolGcpAttributesPtrType) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { + return i.ToInstancePoolGcpAttributesPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +func (i *instancePoolGcpAttributesPtrType) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolGcpAttributesPtrOutput) } -type JobJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type InstancePoolGcpAttributesOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (InstancePoolGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolGcpAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterClusterMountInfoArrayOutput) ToJobJobClusterNewClusterClusterMountInfoArrayOutput() JobJobClusterNewClusterClusterMountInfoArrayOutput { +func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesOutput() InstancePoolGcpAttributesOutput { return o } -func (o JobJobClusterNewClusterClusterMountInfoArrayOutput) ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoArrayOutput { +func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesOutputWithContext(ctx context.Context) InstancePoolGcpAttributesOutput { return o } -func (o JobJobClusterNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobJobClusterNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobClusterNewClusterClusterMountInfo { - return vs[0].([]JobJobClusterNewClusterClusterMountInfo)[vs[1].(int)] - }).(JobJobClusterNewClusterClusterMountInfoOutput) +func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { + return o.ToInstancePoolGcpAttributesPtrOutputWithContext(context.Background()) } -type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (o InstancePoolGcpAttributesOutput) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolGcpAttributes) *InstancePoolGcpAttributes { + return &v + }).(InstancePoolGcpAttributesPtrOutput) } -// JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput +// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. +func (o InstancePoolGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. +func (o InstancePoolGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v InstancePoolGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. +func (o InstancePoolGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v InstancePoolGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (i JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} +type InstancePoolGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (i JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (InstancePoolGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolGcpAttributes)(nil)).Elem() } -type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o InstancePoolGcpAttributesPtrOutput) ToInstancePoolGcpAttributesPtrOutput() InstancePoolGcpAttributesPtrOutput { + return o } -func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o InstancePoolGcpAttributesPtrOutput) ToInstancePoolGcpAttributesPtrOutputWithContext(ctx context.Context) InstancePoolGcpAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o +func (o InstancePoolGcpAttributesPtrOutput) Elem() InstancePoolGcpAttributesOutput { + return o.ApplyT(func(v *InstancePoolGcpAttributes) InstancePoolGcpAttributes { + if v != nil { + return *v + } + var ret InstancePoolGcpAttributes + return ret + }).(InstancePoolGcpAttributesOutput) } -func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) +// Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. +func (o InstancePoolGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolGcpAttributes) *string { + if v == nil { + return nil + } + return v.GcpAvailability + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) +// Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. +func (o InstancePoolGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstancePoolGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterDockerImage struct { - BasicAuth *JobJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url string `pulumi:"url"` +// Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. +func (o InstancePoolGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -// JobJobClusterNewClusterDockerImageInput is an input type that accepts JobJobClusterNewClusterDockerImageArgs and JobJobClusterNewClusterDockerImageOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterDockerImageInput` via: +type InstancePoolInstancePoolFleetAttributes struct { + FleetOnDemandOption *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption `pulumi:"fleetOnDemandOption"` + FleetSpotOption *InstancePoolInstancePoolFleetAttributesFleetSpotOption `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` +} + +// InstancePoolInstancePoolFleetAttributesInput is an input type that accepts InstancePoolInstancePoolFleetAttributesArgs and InstancePoolInstancePoolFleetAttributesOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesInput` via: // -// JobJobClusterNewClusterDockerImageArgs{...} -type JobJobClusterNewClusterDockerImageInput interface { +// InstancePoolInstancePoolFleetAttributesArgs{...} +type InstancePoolInstancePoolFleetAttributesInput interface { pulumi.Input - ToJobJobClusterNewClusterDockerImageOutput() JobJobClusterNewClusterDockerImageOutput - ToJobJobClusterNewClusterDockerImageOutputWithContext(context.Context) JobJobClusterNewClusterDockerImageOutput + ToInstancePoolInstancePoolFleetAttributesOutput() InstancePoolInstancePoolFleetAttributesOutput + ToInstancePoolInstancePoolFleetAttributesOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesOutput } -type JobJobClusterNewClusterDockerImageArgs struct { - BasicAuth JobJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url pulumi.StringInput `pulumi:"url"` +type InstancePoolInstancePoolFleetAttributesArgs struct { + FleetOnDemandOption InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` + FleetSpotOption InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` } -func (JobJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterDockerImage)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributes)(nil)).Elem() } -func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImageOutput() JobJobClusterNewClusterDockerImageOutput { - return i.ToJobJobClusterNewClusterDockerImageOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesOutput() InstancePoolInstancePoolFleetAttributesOutput { + return i.ToInstancePoolInstancePoolFleetAttributesOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageOutput) +func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesOutput) } -func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { - return i.ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { + return i.ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageOutput).ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) +func (i InstancePoolInstancePoolFleetAttributesArgs) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesOutput).ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterDockerImagePtrInput is an input type that accepts JobJobClusterNewClusterDockerImageArgs, JobJobClusterNewClusterDockerImagePtr and JobJobClusterNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterDockerImagePtrInput` via: +// InstancePoolInstancePoolFleetAttributesPtrInput is an input type that accepts InstancePoolInstancePoolFleetAttributesArgs, InstancePoolInstancePoolFleetAttributesPtr and InstancePoolInstancePoolFleetAttributesPtrOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesPtrInput` via: // -// JobJobClusterNewClusterDockerImageArgs{...} +// InstancePoolInstancePoolFleetAttributesArgs{...} // // or: // // nil -type JobJobClusterNewClusterDockerImagePtrInput interface { +type InstancePoolInstancePoolFleetAttributesPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput - ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) JobJobClusterNewClusterDockerImagePtrOutput + ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput + ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput } -type jobJobClusterNewClusterDockerImagePtrType JobJobClusterNewClusterDockerImageArgs +type instancePoolInstancePoolFleetAttributesPtrType InstancePoolInstancePoolFleetAttributesArgs -func JobJobClusterNewClusterDockerImagePtr(v *JobJobClusterNewClusterDockerImageArgs) JobJobClusterNewClusterDockerImagePtrInput { - return (*jobJobClusterNewClusterDockerImagePtrType)(v) +func InstancePoolInstancePoolFleetAttributesPtr(v *InstancePoolInstancePoolFleetAttributesArgs) InstancePoolInstancePoolFleetAttributesPtrInput { + return (*instancePoolInstancePoolFleetAttributesPtrType)(v) } -func (*jobJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterDockerImage)(nil)).Elem() +func (*instancePoolInstancePoolFleetAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributes)(nil)).Elem() } -func (i *jobJobClusterNewClusterDockerImagePtrType) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { - return i.ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *instancePoolInstancePoolFleetAttributesPtrType) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { + return i.ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterDockerImagePtrType) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImagePtrOutput) +func (i *instancePoolInstancePoolFleetAttributesPtrType) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesPtrOutput) } -type JobJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type InstancePoolInstancePoolFleetAttributesOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterDockerImage)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImageOutput() JobJobClusterNewClusterDockerImageOutput { +func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesOutput() InstancePoolInstancePoolFleetAttributesOutput { return o } -func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageOutput { +func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesOutput { return o } -func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { - return o.ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { + return o.ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterDockerImage) *JobJobClusterNewClusterDockerImage { +func (o InstancePoolInstancePoolFleetAttributesOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributes { return &v - }).(JobJobClusterNewClusterDockerImagePtrOutput) + }).(InstancePoolInstancePoolFleetAttributesPtrOutput) } -func (o JobJobClusterNewClusterDockerImageOutput) BasicAuth() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterDockerImage) *JobJobClusterNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesOutput) FleetOnDemandOption() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { + return v.FleetOnDemandOption + }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) } -// URL of the job on the given workspace -func (o JobJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o InstancePoolInstancePoolFleetAttributesOutput) FleetSpotOption() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetSpotOption { + return v.FleetSpotOption + }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) } -type JobJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o InstancePoolInstancePoolFleetAttributesOutput) LaunchTemplateOverrides() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributes) []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride { + return v.LaunchTemplateOverrides + }).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) +} -func (JobJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterDockerImage)(nil)).Elem() +type InstancePoolInstancePoolFleetAttributesPtrOutput struct{ *pulumi.OutputState } + +func (InstancePoolInstancePoolFleetAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributes)(nil)).Elem() } -func (o JobJobClusterNewClusterDockerImagePtrOutput) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { +func (o InstancePoolInstancePoolFleetAttributesPtrOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutput() InstancePoolInstancePoolFleetAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterDockerImagePtrOutput) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { +func (o InstancePoolInstancePoolFleetAttributesPtrOutput) ToInstancePoolInstancePoolFleetAttributesPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesPtrOutput { return o } -func (o JobJobClusterNewClusterDockerImagePtrOutput) Elem() JobJobClusterNewClusterDockerImageOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterDockerImage) JobJobClusterNewClusterDockerImage { +func (o InstancePoolInstancePoolFleetAttributesPtrOutput) Elem() InstancePoolInstancePoolFleetAttributesOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) InstancePoolInstancePoolFleetAttributes { if v != nil { return *v } - var ret JobJobClusterNewClusterDockerImage + var ret InstancePoolInstancePoolFleetAttributes return ret - }).(JobJobClusterNewClusterDockerImageOutput) + }).(InstancePoolInstancePoolFleetAttributesOutput) } -func (o JobJobClusterNewClusterDockerImagePtrOutput) BasicAuth() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterDockerImage) *JobJobClusterNewClusterDockerImageBasicAuth { +func (o InstancePoolInstancePoolFleetAttributesPtrOutput) FleetOnDemandOption() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { if v == nil { return nil } - return v.BasicAuth - }).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) + return v.FleetOnDemandOption + }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) } -// URL of the job on the given workspace -func (o JobJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterDockerImage) *string { +func (o InstancePoolInstancePoolFleetAttributesPtrOutput) FleetSpotOption() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) *InstancePoolInstancePoolFleetAttributesFleetSpotOption { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.FleetSpotOption + }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) } -type JobJobClusterNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +func (o InstancePoolInstancePoolFleetAttributesPtrOutput) LaunchTemplateOverrides() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributes) []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride { + if v == nil { + return nil + } + return v.LaunchTemplateOverrides + }).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) } -// JobJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts JobJobClusterNewClusterDockerImageBasicAuthArgs and JobJobClusterNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterDockerImageBasicAuthInput` via: +type InstancePoolInstancePoolFleetAttributesFleetOnDemandOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +} + +// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs and InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionInput` via: // -// JobJobClusterNewClusterDockerImageBasicAuthArgs{...} -type JobJobClusterNewClusterDockerImageBasicAuthInput interface { +// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs{...} +type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionInput interface { pulumi.Input - ToJobJobClusterNewClusterDockerImageBasicAuthOutput() JobJobClusterNewClusterDockerImageBasicAuthOutput - ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobJobClusterNewClusterDockerImageBasicAuthOutput + ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput + ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput } -type JobJobClusterNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` } -func (JobJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() } -func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthOutput() JobJobClusterNewClusterDockerImageBasicAuthOutput { - return i.ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { + return i.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageBasicAuthOutput) +func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) } -func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return i.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageBasicAuthOutput).ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput).ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobJobClusterNewClusterDockerImageBasicAuthArgs, JobJobClusterNewClusterDockerImageBasicAuthPtr and JobJobClusterNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterDockerImageBasicAuthPtrInput` via: +// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs, InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtr and InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput` via: // -// JobJobClusterNewClusterDockerImageBasicAuthArgs{...} +// InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs{...} // // or: // // nil -type JobJobClusterNewClusterDockerImageBasicAuthPtrInput interface { +type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput - ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput + ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput } -type jobJobClusterNewClusterDockerImageBasicAuthPtrType JobJobClusterNewClusterDockerImageBasicAuthArgs +type instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs -func JobJobClusterNewClusterDockerImageBasicAuthPtr(v *JobJobClusterNewClusterDockerImageBasicAuthArgs) JobJobClusterNewClusterDockerImageBasicAuthPtrInput { - return (*jobJobClusterNewClusterDockerImageBasicAuthPtrType)(v) +func InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtr(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrInput { + return (*instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType)(v) } -func (*jobJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() } -func (i *jobJobClusterNewClusterDockerImageBasicAuthPtrType) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return i.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterDockerImageBasicAuthPtrType) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (i *instancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) } -type JobJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() } -func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthOutput() JobJobClusterNewClusterDockerImageBasicAuthOutput { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { return o } -func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthOutput { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { return o } -func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return o.ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterDockerImageBasicAuth) *JobJobClusterNewClusterDockerImageBasicAuth { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { return &v - }).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) + }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) } -func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) string { return v.AllocationStrategy }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetOnDemandOption)(nil)).Elem() } -func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { return o } -func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput { return o } -func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() JobJobClusterNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterDockerImageBasicAuth) JobJobClusterNewClusterDockerImageBasicAuth { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) Elem() InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) InstancePoolInstancePoolFleetAttributesFleetOnDemandOption { if v != nil { return *v } - var ret JobJobClusterNewClusterDockerImageBasicAuth + var ret InstancePoolInstancePoolFleetAttributesFleetOnDemandOption return ret - }).(JobJobClusterNewClusterDockerImageBasicAuthOutput) + }).(InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionOutput) } -func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterDockerImageBasicAuth) *string { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *string { if v == nil { return nil } - return &v.Password + return &v.AllocationStrategy }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterDockerImageBasicAuth) *string { +func (o InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetOnDemandOption) *int { if v == nil { return nil } - return &v.Username - }).(pulumi.StringPtrOutput) + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type InstancePoolInstancePoolFleetAttributesFleetSpotOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` } -// JobJobClusterNewClusterGcpAttributesInput is an input type that accepts JobJobClusterNewClusterGcpAttributesArgs and JobJobClusterNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterGcpAttributesInput` via: +// InstancePoolInstancePoolFleetAttributesFleetSpotOptionInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs and InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetSpotOptionInput` via: // -// JobJobClusterNewClusterGcpAttributesArgs{...} -type JobJobClusterNewClusterGcpAttributesInput interface { +// InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs{...} +type InstancePoolInstancePoolFleetAttributesFleetSpotOptionInput interface { pulumi.Input - ToJobJobClusterNewClusterGcpAttributesOutput() JobJobClusterNewClusterGcpAttributesOutput - ToJobJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) JobJobClusterNewClusterGcpAttributesOutput + ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput + ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput } -type JobJobClusterNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` } -func (JobJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() } -func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesOutput() JobJobClusterNewClusterGcpAttributesOutput { - return i.ToJobJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { + return i.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterGcpAttributesOutput) +func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) } -func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return i.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterGcpAttributesOutput).ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput).ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts JobJobClusterNewClusterGcpAttributesArgs, JobJobClusterNewClusterGcpAttributesPtr and JobJobClusterNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterGcpAttributesPtrInput` via: +// InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput is an input type that accepts InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs, InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtr and InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput` via: // -// JobJobClusterNewClusterGcpAttributesArgs{...} +// InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs{...} // // or: // // nil -type JobJobClusterNewClusterGcpAttributesPtrInput interface { +type InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput - ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput -} - -type jobJobClusterNewClusterGcpAttributesPtrType JobJobClusterNewClusterGcpAttributesArgs - -func JobJobClusterNewClusterGcpAttributesPtr(v *JobJobClusterNewClusterGcpAttributesArgs) JobJobClusterNewClusterGcpAttributesPtrInput { - return (*jobJobClusterNewClusterGcpAttributesPtrType)(v) -} - -func (*jobJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterGcpAttributes)(nil)).Elem() -} - -func (i *jobJobClusterNewClusterGcpAttributesPtrType) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) -} - -func (i *jobJobClusterNewClusterGcpAttributesPtrType) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterGcpAttributesPtrOutput) + ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput + ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput } -type JobJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs -func (JobJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterGcpAttributes)(nil)).Elem() +func InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtr(v *InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrInput { + return (*instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType)(v) } -func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesOutput() JobJobClusterNewClusterGcpAttributesOutput { - return o +func (*instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() } -func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesOutput { - return o +func (i *instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return i.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { - return o.ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *instancePoolInstancePoolFleetAttributesFleetSpotOptionPtrType) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) } -func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterGcpAttributes) *JobJobClusterNewClusterGcpAttributes { - return &v - }).(JobJobClusterNewClusterGcpAttributesPtrOutput) +type InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput struct{ *pulumi.OutputState } + +func (InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() } -func (o JobJobClusterNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { + return o } -func (o JobJobClusterNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { + return o } -func (o JobJobClusterNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return o.ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolInstancePoolFleetAttributesFleetSpotOption) *InstancePoolInstancePoolFleetAttributesFleetSpotOption { + return &v + }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) } -func (o JobJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetSpotOption) string { return v.AllocationStrategy }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesFleetSpotOption) *int { return v.InstancePoolsToUseCount }).(pulumi.IntPtrOutput) } -type JobJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolInstancePoolFleetAttributesFleetSpotOption)(nil)).Elem() } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput() InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { return o } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) ToInstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput { return o } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) Elem() JobJobClusterNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) JobJobClusterNewClusterGcpAttributes { +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) Elem() InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetSpotOption) InstancePoolInstancePoolFleetAttributesFleetSpotOption { if v != nil { return *v } - var ret JobJobClusterNewClusterGcpAttributes + var ret InstancePoolInstancePoolFleetAttributesFleetSpotOption return ret - }).(JobJobClusterNewClusterGcpAttributesOutput) + }).(InstancePoolInstancePoolFleetAttributesFleetSpotOptionOutput) } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *string { +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetSpotOption) *string { if v == nil { return nil } - return v.Availability + return &v.AllocationStrategy }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *int { +func (o InstancePoolInstancePoolFleetAttributesFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *InstancePoolInstancePoolFleetAttributesFleetSpotOption) *int { if v == nil { return nil } - return v.BootDiskSize + return v.InstancePoolsToUseCount }).(pulumi.IntPtrOutput) } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride struct { + AvailabilityZone string `pulumi:"availabilityZone"` + InstanceType string `pulumi:"instanceType"` } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput is an input type that accepts InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs and InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput` via: +// +// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs{...} +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput interface { + pulumi.Input + + ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput + ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs struct { + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + InstanceType pulumi.StringInput `pulumi:"instanceType"` } -func (o JobJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() } -type JobJobClusterNewClusterInitScript struct { - Abfss *JobJobClusterNewClusterInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *JobJobClusterNewClusterInitScriptDbfs `pulumi:"dbfs"` - // block consisting of single string fields: - File *JobJobClusterNewClusterInitScriptFile `pulumi:"file"` - Gcs *JobJobClusterNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *JobJobClusterNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *JobJobClusterNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *JobJobClusterNewClusterInitScriptWorkspace `pulumi:"workspace"` +func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { + return i.ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(context.Background()) } -// JobJobClusterNewClusterInitScriptInput is an input type that accepts JobJobClusterNewClusterInitScriptArgs and JobJobClusterNewClusterInitScriptOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptInput` via: +func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) +} + +// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput is an input type that accepts InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray and InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput values. +// You can construct a concrete instance of `InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput` via: // -// JobJobClusterNewClusterInitScriptArgs{...} -type JobJobClusterNewClusterInitScriptInput interface { +// InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray{ InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs{...} } +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptOutput() JobJobClusterNewClusterInitScriptOutput - ToJobJobClusterNewClusterInitScriptOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptOutput + ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput + ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput } -type JobJobClusterNewClusterInitScriptArgs struct { - Abfss JobJobClusterNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs JobJobClusterNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - // block consisting of single string fields: - File JobJobClusterNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs JobJobClusterNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 JobJobClusterNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes JobJobClusterNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace JobJobClusterNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` -} +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray []InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideInput -func (JobJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScript)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptArgs) ToJobJobClusterNewClusterInitScriptOutput() JobJobClusterNewClusterInitScriptOutput { - return i.ToJobJobClusterNewClusterInitScriptOutputWithContext(context.Background()) +func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { + return i.ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptArgs) ToJobJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptOutput) +func (i InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArray) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) } -// JobJobClusterNewClusterInitScriptArrayInput is an input type that accepts JobJobClusterNewClusterInitScriptArray and JobJobClusterNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptArrayInput` via: -// -// JobJobClusterNewClusterInitScriptArray{ JobJobClusterNewClusterInitScriptArgs{...} } -type JobJobClusterNewClusterInitScriptArrayInput interface { - pulumi.Input +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } - ToJobJobClusterNewClusterInitScriptArrayOutput() JobJobClusterNewClusterInitScriptArrayOutput - ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptArrayOutput +func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() } -type JobJobClusterNewClusterInitScriptArray []JobJobClusterNewClusterInitScriptInput +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { + return o +} -func (JobJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobClusterNewClusterInitScript)(nil)).Elem() +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { + return o } -func (i JobJobClusterNewClusterInitScriptArray) ToJobJobClusterNewClusterInitScriptArrayOutput() JobJobClusterNewClusterInitScriptArrayOutput { - return i.ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride) string { + return v.AvailabilityZone + }).(pulumi.StringOutput) } -func (i JobJobClusterNewClusterInitScriptArray) ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptArrayOutput) +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride) string { return v.InstanceType }).(pulumi.StringOutput) } -type JobJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } +type InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScript)(nil)).Elem() +func (InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptOutput) ToJobJobClusterNewClusterInitScriptOutput() JobJobClusterNewClusterInitScriptOutput { +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput() InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { return o } -func (o JobJobClusterNewClusterInitScriptOutput) ToJobJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptOutput { +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) ToInstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput { return o } -func (o JobJobClusterNewClusterInitScriptOutput) Abfss() JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptAbfss { return v.Abfss }).(JobJobClusterNewClusterInitScriptAbfssPtrOutput) +func (o InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArrayOutput) Index(i pulumi.IntInput) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride { + return vs[0].([]InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride)[vs[1].(int)] + }).(InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideOutput) } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o JobJobClusterNewClusterInitScriptOutput) Dbfs() JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptDbfs { return v.Dbfs }).(JobJobClusterNewClusterInitScriptDbfsPtrOutput) +type InstancePoolPreloadedDockerImage struct { + // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + // + // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: + // + // ```go + // package main + // + // import ( + // "fmt" + // + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ + // Build: []map[string]interface{}{ + // map[string]interface{}{}, + // }, + // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), + // }) + // if err != nil { + // return err + // } + // _, err = databricks.NewInstancePool(ctx, "this", &databricks.InstancePoolArgs{ + // PreloadedDockerImages: databricks.InstancePoolPreloadedDockerImageArray{ + // &databricks.InstancePoolPreloadedDockerImageArgs{ + // Url: this.Name, + // BasicAuth: &databricks.InstancePoolPreloadedDockerImageBasicAuthArgs{ + // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), + // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), + // }, + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + BasicAuth *InstancePoolPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` + // URL for the Docker image + Url string `pulumi:"url"` } -// block consisting of single string fields: -func (o JobJobClusterNewClusterInitScriptOutput) File() JobJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptFile { return v.File }).(JobJobClusterNewClusterInitScriptFilePtrOutput) +// InstancePoolPreloadedDockerImageInput is an input type that accepts InstancePoolPreloadedDockerImageArgs and InstancePoolPreloadedDockerImageOutput values. +// You can construct a concrete instance of `InstancePoolPreloadedDockerImageInput` via: +// +// InstancePoolPreloadedDockerImageArgs{...} +type InstancePoolPreloadedDockerImageInput interface { + pulumi.Input + + ToInstancePoolPreloadedDockerImageOutput() InstancePoolPreloadedDockerImageOutput + ToInstancePoolPreloadedDockerImageOutputWithContext(context.Context) InstancePoolPreloadedDockerImageOutput } -func (o JobJobClusterNewClusterInitScriptOutput) Gcs() JobJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptGcs { return v.Gcs }).(JobJobClusterNewClusterInitScriptGcsPtrOutput) +type InstancePoolPreloadedDockerImageArgs struct { + // `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + // + // Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: + // + // ```go + // package main + // + // import ( + // "fmt" + // + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ + // Build: []map[string]interface{}{ + // map[string]interface{}{}, + // }, + // Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), + // }) + // if err != nil { + // return err + // } + // _, err = databricks.NewInstancePool(ctx, "this", &databricks.InstancePoolArgs{ + // PreloadedDockerImages: databricks.InstancePoolPreloadedDockerImageArray{ + // &databricks.InstancePoolPreloadedDockerImageArgs{ + // Url: this.Name, + // BasicAuth: &databricks.InstancePoolPreloadedDockerImageBasicAuthArgs{ + // Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), + // Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), + // }, + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + BasicAuth InstancePoolPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + // URL for the Docker image + Url pulumi.StringInput `pulumi:"url"` } -func (o JobJobClusterNewClusterInitScriptOutput) S3() JobJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptS3 { return v.S3 }).(JobJobClusterNewClusterInitScriptS3PtrOutput) +func (InstancePoolPreloadedDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolPreloadedDockerImage)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptOutput) Volumes() JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptVolumes { return v.Volumes }).(JobJobClusterNewClusterInitScriptVolumesPtrOutput) +func (i InstancePoolPreloadedDockerImageArgs) ToInstancePoolPreloadedDockerImageOutput() InstancePoolPreloadedDockerImageOutput { + return i.ToInstancePoolPreloadedDockerImageOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptOutput) Workspace() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptWorkspace { - return v.Workspace - }).(JobJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (i InstancePoolPreloadedDockerImageArgs) ToInstancePoolPreloadedDockerImageOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageOutput) } -type JobJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +// InstancePoolPreloadedDockerImageArrayInput is an input type that accepts InstancePoolPreloadedDockerImageArray and InstancePoolPreloadedDockerImageArrayOutput values. +// You can construct a concrete instance of `InstancePoolPreloadedDockerImageArrayInput` via: +// +// InstancePoolPreloadedDockerImageArray{ InstancePoolPreloadedDockerImageArgs{...} } +type InstancePoolPreloadedDockerImageArrayInput interface { + pulumi.Input -func (JobJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobClusterNewClusterInitScript)(nil)).Elem() + ToInstancePoolPreloadedDockerImageArrayOutput() InstancePoolPreloadedDockerImageArrayOutput + ToInstancePoolPreloadedDockerImageArrayOutputWithContext(context.Context) InstancePoolPreloadedDockerImageArrayOutput } -func (o JobJobClusterNewClusterInitScriptArrayOutput) ToJobJobClusterNewClusterInitScriptArrayOutput() JobJobClusterNewClusterInitScriptArrayOutput { +type InstancePoolPreloadedDockerImageArray []InstancePoolPreloadedDockerImageInput + +func (InstancePoolPreloadedDockerImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstancePoolPreloadedDockerImage)(nil)).Elem() +} + +func (i InstancePoolPreloadedDockerImageArray) ToInstancePoolPreloadedDockerImageArrayOutput() InstancePoolPreloadedDockerImageArrayOutput { + return i.ToInstancePoolPreloadedDockerImageArrayOutputWithContext(context.Background()) +} + +func (i InstancePoolPreloadedDockerImageArray) ToInstancePoolPreloadedDockerImageArrayOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageArrayOutput) +} + +type InstancePoolPreloadedDockerImageOutput struct{ *pulumi.OutputState } + +func (InstancePoolPreloadedDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolPreloadedDockerImage)(nil)).Elem() +} + +func (o InstancePoolPreloadedDockerImageOutput) ToInstancePoolPreloadedDockerImageOutput() InstancePoolPreloadedDockerImageOutput { return o } -func (o JobJobClusterNewClusterInitScriptArrayOutput) ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptArrayOutput { +func (o InstancePoolPreloadedDockerImageOutput) ToInstancePoolPreloadedDockerImageOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageOutput { return o } -func (o JobJobClusterNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobJobClusterNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobClusterNewClusterInitScript { - return vs[0].([]JobJobClusterNewClusterInitScript)[vs[1].(int)] - }).(JobJobClusterNewClusterInitScriptOutput) +// `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. +// +// Example usage with azurermContainerRegistry and docker_registry_image, that you can adapt to your specific use-case: +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi-docker/sdk/v4/go/docker" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// this, err := docker.NewRegistryImage(ctx, "this", &docker.RegistryImageArgs{ +// Build: []map[string]interface{}{ +// map[string]interface{}{}, +// }, +// Name: fmt.Sprintf("%v/sample:latest", thisAzurermContainerRegistry.LoginServer), +// }) +// if err != nil { +// return err +// } +// _, err = databricks.NewInstancePool(ctx, "this", &databricks.InstancePoolArgs{ +// PreloadedDockerImages: databricks.InstancePoolPreloadedDockerImageArray{ +// &databricks.InstancePoolPreloadedDockerImageArgs{ +// Url: this.Name, +// BasicAuth: &databricks.InstancePoolPreloadedDockerImageBasicAuthArgs{ +// Username: pulumi.Any(thisAzurermContainerRegistry.AdminUsername), +// Password: pulumi.Any(thisAzurermContainerRegistry.AdminPassword), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o InstancePoolPreloadedDockerImageOutput) BasicAuth() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v InstancePoolPreloadedDockerImage) *InstancePoolPreloadedDockerImageBasicAuth { + return v.BasicAuth + }).(InstancePoolPreloadedDockerImageBasicAuthPtrOutput) } -type JobJobClusterNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +// URL for the Docker image +func (o InstancePoolPreloadedDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolPreloadedDockerImage) string { return v.Url }).(pulumi.StringOutput) } -// JobJobClusterNewClusterInitScriptAbfssInput is an input type that accepts JobJobClusterNewClusterInitScriptAbfssArgs and JobJobClusterNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptAbfssInput` via: +type InstancePoolPreloadedDockerImageArrayOutput struct{ *pulumi.OutputState } + +func (InstancePoolPreloadedDockerImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstancePoolPreloadedDockerImage)(nil)).Elem() +} + +func (o InstancePoolPreloadedDockerImageArrayOutput) ToInstancePoolPreloadedDockerImageArrayOutput() InstancePoolPreloadedDockerImageArrayOutput { + return o +} + +func (o InstancePoolPreloadedDockerImageArrayOutput) ToInstancePoolPreloadedDockerImageArrayOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageArrayOutput { + return o +} + +func (o InstancePoolPreloadedDockerImageArrayOutput) Index(i pulumi.IntInput) InstancePoolPreloadedDockerImageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstancePoolPreloadedDockerImage { + return vs[0].([]InstancePoolPreloadedDockerImage)[vs[1].(int)] + }).(InstancePoolPreloadedDockerImageOutput) +} + +type InstancePoolPreloadedDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` +} + +// InstancePoolPreloadedDockerImageBasicAuthInput is an input type that accepts InstancePoolPreloadedDockerImageBasicAuthArgs and InstancePoolPreloadedDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `InstancePoolPreloadedDockerImageBasicAuthInput` via: // -// JobJobClusterNewClusterInitScriptAbfssArgs{...} -type JobJobClusterNewClusterInitScriptAbfssInput interface { +// InstancePoolPreloadedDockerImageBasicAuthArgs{...} +type InstancePoolPreloadedDockerImageBasicAuthInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptAbfssOutput() JobJobClusterNewClusterInitScriptAbfssOutput - ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptAbfssOutput + ToInstancePoolPreloadedDockerImageBasicAuthOutput() InstancePoolPreloadedDockerImageBasicAuthOutput + ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(context.Context) InstancePoolPreloadedDockerImageBasicAuthOutput } -type JobJobClusterNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type InstancePoolPreloadedDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (JobJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (InstancePoolPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssOutput() JobJobClusterNewClusterInitScriptAbfssOutput { - return i.ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthOutput() InstancePoolPreloadedDockerImageBasicAuthOutput { + return i.ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptAbfssOutput) +func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageBasicAuthOutput) } -func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return i.ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptAbfssOutput).ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i InstancePoolPreloadedDockerImageBasicAuthArgs) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageBasicAuthOutput).ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptAbfssArgs, JobJobClusterNewClusterInitScriptAbfssPtr and JobJobClusterNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptAbfssPtrInput` via: +// InstancePoolPreloadedDockerImageBasicAuthPtrInput is an input type that accepts InstancePoolPreloadedDockerImageBasicAuthArgs, InstancePoolPreloadedDockerImageBasicAuthPtr and InstancePoolPreloadedDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `InstancePoolPreloadedDockerImageBasicAuthPtrInput` via: // -// JobJobClusterNewClusterInitScriptAbfssArgs{...} +// InstancePoolPreloadedDockerImageBasicAuthArgs{...} // // or: // // nil -type JobJobClusterNewClusterInitScriptAbfssPtrInput interface { +type InstancePoolPreloadedDockerImageBasicAuthPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput - ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput + ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput + ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput } -type jobJobClusterNewClusterInitScriptAbfssPtrType JobJobClusterNewClusterInitScriptAbfssArgs +type instancePoolPreloadedDockerImageBasicAuthPtrType InstancePoolPreloadedDockerImageBasicAuthArgs -func JobJobClusterNewClusterInitScriptAbfssPtr(v *JobJobClusterNewClusterInitScriptAbfssArgs) JobJobClusterNewClusterInitScriptAbfssPtrInput { - return (*jobJobClusterNewClusterInitScriptAbfssPtrType)(v) +func InstancePoolPreloadedDockerImageBasicAuthPtr(v *InstancePoolPreloadedDockerImageBasicAuthArgs) InstancePoolPreloadedDockerImageBasicAuthPtrInput { + return (*instancePoolPreloadedDockerImageBasicAuthPtrType)(v) } -func (*jobJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (*instancePoolPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptAbfssPtrType) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *instancePoolPreloadedDockerImageBasicAuthPtrType) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return i.ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptAbfssPtrType) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptAbfssPtrOutput) +func (i *instancePoolPreloadedDockerImageBasicAuthPtrType) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstancePoolPreloadedDockerImageBasicAuthPtrOutput) } -type JobJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type InstancePoolPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (InstancePoolPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssOutput() JobJobClusterNewClusterInitScriptAbfssOutput { +func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthOutput() InstancePoolPreloadedDockerImageBasicAuthOutput { return o } -func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssOutput { +func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthOutput { return o } -func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return o.ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptAbfss) *JobJobClusterNewClusterInitScriptAbfss { +func (o InstancePoolPreloadedDockerImageBasicAuthOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v InstancePoolPreloadedDockerImageBasicAuth) *InstancePoolPreloadedDockerImageBasicAuth { return &v - }).(JobJobClusterNewClusterInitScriptAbfssPtrOutput) + }).(InstancePoolPreloadedDockerImageBasicAuthPtrOutput) } -func (o JobJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o InstancePoolPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -type JobJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o InstancePoolPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v InstancePoolPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} -func (JobJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +type InstancePoolPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (InstancePoolPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**InstancePoolPreloadedDockerImageBasicAuth)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { +func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutput() InstancePoolPreloadedDockerImageBasicAuthPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { +func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) ToInstancePoolPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) InstancePoolPreloadedDockerImageBasicAuthPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() JobJobClusterNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptAbfss) JobJobClusterNewClusterInitScriptAbfss { +func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) Elem() InstancePoolPreloadedDockerImageBasicAuthOutput { + return o.ApplyT(func(v *InstancePoolPreloadedDockerImageBasicAuth) InstancePoolPreloadedDockerImageBasicAuth { if v != nil { return *v } - var ret JobJobClusterNewClusterInitScriptAbfss + var ret InstancePoolPreloadedDockerImageBasicAuth return ret - }).(JobJobClusterNewClusterInitScriptAbfssOutput) + }).(InstancePoolPreloadedDockerImageBasicAuthOutput) } -func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptAbfss) *string { +func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolPreloadedDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.Destination + return &v.Password }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o InstancePoolPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *InstancePoolPreloadedDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -// JobJobClusterNewClusterInitScriptDbfsInput is an input type that accepts JobJobClusterNewClusterInitScriptDbfsArgs and JobJobClusterNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptDbfsInput` via: +type JobContinuous struct { + // Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. + PauseStatus *string `pulumi:"pauseStatus"` +} + +// JobContinuousInput is an input type that accepts JobContinuousArgs and JobContinuousOutput values. +// You can construct a concrete instance of `JobContinuousInput` via: // -// JobJobClusterNewClusterInitScriptDbfsArgs{...} -type JobJobClusterNewClusterInitScriptDbfsInput interface { +// JobContinuousArgs{...} +type JobContinuousInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptDbfsOutput() JobJobClusterNewClusterInitScriptDbfsOutput - ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptDbfsOutput + ToJobContinuousOutput() JobContinuousOutput + ToJobContinuousOutputWithContext(context.Context) JobContinuousOutput } -type JobJobClusterNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobContinuousArgs struct { + // Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` } -func (JobJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (JobContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobContinuous)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsOutput() JobJobClusterNewClusterInitScriptDbfsOutput { - return i.ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i JobContinuousArgs) ToJobContinuousOutput() JobContinuousOutput { + return i.ToJobContinuousOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptDbfsOutput) +func (i JobContinuousArgs) ToJobContinuousOutputWithContext(ctx context.Context) JobContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobContinuousOutput) } -func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i JobContinuousArgs) ToJobContinuousPtrOutput() JobContinuousPtrOutput { + return i.ToJobContinuousPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptDbfsOutput).ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i JobContinuousArgs) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobContinuousOutput).ToJobContinuousPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptDbfsArgs, JobJobClusterNewClusterInitScriptDbfsPtr and JobJobClusterNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptDbfsPtrInput` via: +// JobContinuousPtrInput is an input type that accepts JobContinuousArgs, JobContinuousPtr and JobContinuousPtrOutput values. +// You can construct a concrete instance of `JobContinuousPtrInput` via: // -// JobJobClusterNewClusterInitScriptDbfsArgs{...} +// JobContinuousArgs{...} // // or: // // nil -type JobJobClusterNewClusterInitScriptDbfsPtrInput interface { +type JobContinuousPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput - ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput + ToJobContinuousPtrOutput() JobContinuousPtrOutput + ToJobContinuousPtrOutputWithContext(context.Context) JobContinuousPtrOutput } -type jobJobClusterNewClusterInitScriptDbfsPtrType JobJobClusterNewClusterInitScriptDbfsArgs +type jobContinuousPtrType JobContinuousArgs -func JobJobClusterNewClusterInitScriptDbfsPtr(v *JobJobClusterNewClusterInitScriptDbfsArgs) JobJobClusterNewClusterInitScriptDbfsPtrInput { - return (*jobJobClusterNewClusterInitScriptDbfsPtrType)(v) +func JobContinuousPtr(v *JobContinuousArgs) JobContinuousPtrInput { + return (*jobContinuousPtrType)(v) } -func (*jobJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (*jobContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobContinuous)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptDbfsPtrType) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *jobContinuousPtrType) ToJobContinuousPtrOutput() JobContinuousPtrOutput { + return i.ToJobContinuousPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptDbfsPtrType) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptDbfsPtrOutput) +func (i *jobContinuousPtrType) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobContinuousPtrOutput) } -type JobJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type JobContinuousOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (JobContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobContinuous)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsOutput() JobJobClusterNewClusterInitScriptDbfsOutput { +func (o JobContinuousOutput) ToJobContinuousOutput() JobContinuousOutput { return o } -func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsOutput { +func (o JobContinuousOutput) ToJobContinuousOutputWithContext(ctx context.Context) JobContinuousOutput { return o } -func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o JobContinuousOutput) ToJobContinuousPtrOutput() JobContinuousPtrOutput { + return o.ToJobContinuousPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptDbfs) *JobJobClusterNewClusterInitScriptDbfs { +func (o JobContinuousOutput) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobContinuous) *JobContinuous { return &v - }).(JobJobClusterNewClusterInitScriptDbfsPtrOutput) + }).(JobContinuousPtrOutput) } -func (o JobJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +// Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. +func (o JobContinuousOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +type JobContinuousPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (JobContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobContinuous)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o JobContinuousPtrOutput) ToJobContinuousPtrOutput() JobContinuousPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o JobContinuousPtrOutput) ToJobContinuousPtrOutputWithContext(ctx context.Context) JobContinuousPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() JobJobClusterNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptDbfs) JobJobClusterNewClusterInitScriptDbfs { +func (o JobContinuousPtrOutput) Elem() JobContinuousOutput { + return o.ApplyT(func(v *JobContinuous) JobContinuous { if v != nil { return *v } - var ret JobJobClusterNewClusterInitScriptDbfs + var ret JobContinuous return ret - }).(JobJobClusterNewClusterInitScriptDbfsOutput) + }).(JobContinuousOutput) } -func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptDbfs) *string { +// Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. +func (o JobContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobContinuous) *string { if v == nil { return nil } - return &v.Destination + return v.PauseStatus }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type JobDbtTask struct { + // The name of the catalog to use inside Unity Catalog. + Catalog *string `pulumi:"catalog"` + // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + Commands []string `pulumi:"commands"` + // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + ProfilesDirectory *string `pulumi:"profilesDirectory"` + // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. + // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + ProjectDirectory *string `pulumi:"projectDirectory"` + // The name of the schema dbt should run in. Defaults to `default`. + Schema *string `pulumi:"schema"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. + Source *string `pulumi:"source"` + // The ID of the SQL warehouse that dbt should execute against. + // + // You also need to include a `gitSource` block to configure the repository that contains the dbt project. + WarehouseId *string `pulumi:"warehouseId"` } -// JobJobClusterNewClusterInitScriptFileInput is an input type that accepts JobJobClusterNewClusterInitScriptFileArgs and JobJobClusterNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptFileInput` via: +// JobDbtTaskInput is an input type that accepts JobDbtTaskArgs and JobDbtTaskOutput values. +// You can construct a concrete instance of `JobDbtTaskInput` via: // -// JobJobClusterNewClusterInitScriptFileArgs{...} -type JobJobClusterNewClusterInitScriptFileInput interface { +// JobDbtTaskArgs{...} +type JobDbtTaskInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptFileOutput() JobJobClusterNewClusterInitScriptFileOutput - ToJobJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptFileOutput + ToJobDbtTaskOutput() JobDbtTaskOutput + ToJobDbtTaskOutputWithContext(context.Context) JobDbtTaskOutput } -type JobJobClusterNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobDbtTaskArgs struct { + // The name of the catalog to use inside Unity Catalog. + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + Commands pulumi.StringArrayInput `pulumi:"commands"` + // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. + // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + // The name of the schema dbt should run in. Defaults to `default`. + Schema pulumi.StringPtrInput `pulumi:"schema"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. + Source pulumi.StringPtrInput `pulumi:"source"` + // The ID of the SQL warehouse that dbt should execute against. + // + // You also need to include a `gitSource` block to configure the repository that contains the dbt project. + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (JobJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (JobDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobDbtTask)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFileOutput() JobJobClusterNewClusterInitScriptFileOutput { - return i.ToJobJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i JobDbtTaskArgs) ToJobDbtTaskOutput() JobDbtTaskOutput { + return i.ToJobDbtTaskOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptFileOutput) +func (i JobDbtTaskArgs) ToJobDbtTaskOutputWithContext(ctx context.Context) JobDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDbtTaskOutput) } -func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i JobDbtTaskArgs) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { + return i.ToJobDbtTaskPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptFileOutput).ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i JobDbtTaskArgs) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDbtTaskOutput).ToJobDbtTaskPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts JobJobClusterNewClusterInitScriptFileArgs, JobJobClusterNewClusterInitScriptFilePtr and JobJobClusterNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptFilePtrInput` via: +// JobDbtTaskPtrInput is an input type that accepts JobDbtTaskArgs, JobDbtTaskPtr and JobDbtTaskPtrOutput values. +// You can construct a concrete instance of `JobDbtTaskPtrInput` via: // -// JobJobClusterNewClusterInitScriptFileArgs{...} +// JobDbtTaskArgs{...} // // or: // // nil -type JobJobClusterNewClusterInitScriptFilePtrInput interface { +type JobDbtTaskPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput - ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput + ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput + ToJobDbtTaskPtrOutputWithContext(context.Context) JobDbtTaskPtrOutput } -type jobJobClusterNewClusterInitScriptFilePtrType JobJobClusterNewClusterInitScriptFileArgs +type jobDbtTaskPtrType JobDbtTaskArgs -func JobJobClusterNewClusterInitScriptFilePtr(v *JobJobClusterNewClusterInitScriptFileArgs) JobJobClusterNewClusterInitScriptFilePtrInput { - return (*jobJobClusterNewClusterInitScriptFilePtrType)(v) +func JobDbtTaskPtr(v *JobDbtTaskArgs) JobDbtTaskPtrInput { + return (*jobDbtTaskPtrType)(v) } -func (*jobJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (*jobDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobDbtTask)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptFilePtrType) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *jobDbtTaskPtrType) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { + return i.ToJobDbtTaskPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptFilePtrType) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptFilePtrOutput) +func (i *jobDbtTaskPtrType) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDbtTaskPtrOutput) } -type JobJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type JobDbtTaskOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (JobDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobDbtTask)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFileOutput() JobJobClusterNewClusterInitScriptFileOutput { +func (o JobDbtTaskOutput) ToJobDbtTaskOutput() JobDbtTaskOutput { return o } -func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFileOutput { +func (o JobDbtTaskOutput) ToJobDbtTaskOutputWithContext(ctx context.Context) JobDbtTaskOutput { return o } -func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { - return o.ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o JobDbtTaskOutput) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { + return o.ToJobDbtTaskPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptFile) *JobJobClusterNewClusterInitScriptFile { +func (o JobDbtTaskOutput) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobDbtTask) *JobDbtTask { return &v - }).(JobJobClusterNewClusterInitScriptFilePtrOutput) + }).(JobDbtTaskPtrOutput) } -func (o JobJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +// The name of the catalog to use inside Unity Catalog. +func (o JobDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". +func (o JobDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +} -func (JobJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptFile)(nil)).Elem() +// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. +func (o JobDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterInitScriptFilePtrOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { +// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. +// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. +// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. +func (o JobDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +} + +// The name of the schema dbt should run in. Defaults to `default`. +func (o JobDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +} + +// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. +func (o JobDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +// The ID of the SQL warehouse that dbt should execute against. +// +// You also need to include a `gitSource` block to configure the repository that contains the dbt project. +func (o JobDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type JobDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobDbtTask)(nil)).Elem() +} + +func (o JobDbtTaskPtrOutput) ToJobDbtTaskPtrOutput() JobDbtTaskPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptFilePtrOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { +func (o JobDbtTaskPtrOutput) ToJobDbtTaskPtrOutputWithContext(ctx context.Context) JobDbtTaskPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptFilePtrOutput) Elem() JobJobClusterNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptFile) JobJobClusterNewClusterInitScriptFile { +func (o JobDbtTaskPtrOutput) Elem() JobDbtTaskOutput { + return o.ApplyT(func(v *JobDbtTask) JobDbtTask { if v != nil { return *v } - var ret JobJobClusterNewClusterInitScriptFile + var ret JobDbtTask return ret - }).(JobJobClusterNewClusterInitScriptFileOutput) + }).(JobDbtTaskOutput) } -func (o JobJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptFile) *string { +// The name of the catalog to use inside Unity Catalog. +func (o JobDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDbtTask) *string { if v == nil { return nil } - return &v.Destination + return v.Catalog }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". +func (o JobDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) } -// JobJobClusterNewClusterInitScriptGcsInput is an input type that accepts JobJobClusterNewClusterInitScriptGcsArgs and JobJobClusterNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptGcsInput` via: +// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. +func (o JobDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) +} + +// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. +// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. +// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. +func (o JobDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDbtTask) *string { + if v == nil { + return nil + } + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) +} + +// The name of the schema dbt should run in. Defaults to `default`. +func (o JobDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) +} + +// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. +func (o JobDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +// The ID of the SQL warehouse that dbt should execute against. // -// JobJobClusterNewClusterInitScriptGcsArgs{...} -type JobJobClusterNewClusterInitScriptGcsInput interface { +// You also need to include a `gitSource` block to configure the repository that contains the dbt project. +func (o JobDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type JobDeployment struct { + Kind string `pulumi:"kind"` + MetadataFilePath *string `pulumi:"metadataFilePath"` +} + +// JobDeploymentInput is an input type that accepts JobDeploymentArgs and JobDeploymentOutput values. +// You can construct a concrete instance of `JobDeploymentInput` via: +// +// JobDeploymentArgs{...} +type JobDeploymentInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptGcsOutput() JobJobClusterNewClusterInitScriptGcsOutput - ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptGcsOutput + ToJobDeploymentOutput() JobDeploymentOutput + ToJobDeploymentOutputWithContext(context.Context) JobDeploymentOutput } -type JobJobClusterNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobDeploymentArgs struct { + Kind pulumi.StringInput `pulumi:"kind"` + MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` } -func (JobJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (JobDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobDeployment)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsOutput() JobJobClusterNewClusterInitScriptGcsOutput { - return i.ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i JobDeploymentArgs) ToJobDeploymentOutput() JobDeploymentOutput { + return i.ToJobDeploymentOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptGcsOutput) +func (i JobDeploymentArgs) ToJobDeploymentOutputWithContext(ctx context.Context) JobDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDeploymentOutput) } -func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i JobDeploymentArgs) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { + return i.ToJobDeploymentPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptGcsOutput).ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i JobDeploymentArgs) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDeploymentOutput).ToJobDeploymentPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptGcsArgs, JobJobClusterNewClusterInitScriptGcsPtr and JobJobClusterNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptGcsPtrInput` via: +// JobDeploymentPtrInput is an input type that accepts JobDeploymentArgs, JobDeploymentPtr and JobDeploymentPtrOutput values. +// You can construct a concrete instance of `JobDeploymentPtrInput` via: // -// JobJobClusterNewClusterInitScriptGcsArgs{...} +// JobDeploymentArgs{...} // // or: // // nil -type JobJobClusterNewClusterInitScriptGcsPtrInput interface { +type JobDeploymentPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput - ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput + ToJobDeploymentPtrOutput() JobDeploymentPtrOutput + ToJobDeploymentPtrOutputWithContext(context.Context) JobDeploymentPtrOutput } -type jobJobClusterNewClusterInitScriptGcsPtrType JobJobClusterNewClusterInitScriptGcsArgs +type jobDeploymentPtrType JobDeploymentArgs -func JobJobClusterNewClusterInitScriptGcsPtr(v *JobJobClusterNewClusterInitScriptGcsArgs) JobJobClusterNewClusterInitScriptGcsPtrInput { - return (*jobJobClusterNewClusterInitScriptGcsPtrType)(v) +func JobDeploymentPtr(v *JobDeploymentArgs) JobDeploymentPtrInput { + return (*jobDeploymentPtrType)(v) } -func (*jobJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (*jobDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobDeployment)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptGcsPtrType) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *jobDeploymentPtrType) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { + return i.ToJobDeploymentPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptGcsPtrType) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptGcsPtrOutput) +func (i *jobDeploymentPtrType) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobDeploymentPtrOutput) } -type JobJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type JobDeploymentOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (JobDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobDeployment)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsOutput() JobJobClusterNewClusterInitScriptGcsOutput { +func (o JobDeploymentOutput) ToJobDeploymentOutput() JobDeploymentOutput { return o } -func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsOutput { +func (o JobDeploymentOutput) ToJobDeploymentOutputWithContext(ctx context.Context) JobDeploymentOutput { return o } -func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o JobDeploymentOutput) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { + return o.ToJobDeploymentPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptGcs) *JobJobClusterNewClusterInitScriptGcs { +func (o JobDeploymentOutput) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobDeployment) *JobDeployment { return &v - }).(JobJobClusterNewClusterInitScriptGcsPtrOutput) + }).(JobDeploymentPtrOutput) } -func (o JobJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o JobDeploymentOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v JobDeployment) string { return v.Kind }).(pulumi.StringOutput) } -type JobJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o JobDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) +} -func (JobJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() +type JobDeploymentPtrOutput struct{ *pulumi.OutputState } + +func (JobDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobDeployment)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { +func (o JobDeploymentPtrOutput) ToJobDeploymentPtrOutput() JobDeploymentPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { +func (o JobDeploymentPtrOutput) ToJobDeploymentPtrOutputWithContext(ctx context.Context) JobDeploymentPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) Elem() JobJobClusterNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptGcs) JobJobClusterNewClusterInitScriptGcs { +func (o JobDeploymentPtrOutput) Elem() JobDeploymentOutput { + return o.ApplyT(func(v *JobDeployment) JobDeployment { if v != nil { return *v } - var ret JobJobClusterNewClusterInitScriptGcs + var ret JobDeployment return ret - }).(JobJobClusterNewClusterInitScriptGcsOutput) + }).(JobDeploymentOutput) } -func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptGcs) *string { +func (o JobDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDeployment) *string { if v == nil { return nil } - return &v.Destination + return &v.Kind }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (o JobDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobDeployment) *string { + if v == nil { + return nil + } + return v.MetadataFilePath + }).(pulumi.StringPtrOutput) } -// JobJobClusterNewClusterInitScriptS3Input is an input type that accepts JobJobClusterNewClusterInitScriptS3Args and JobJobClusterNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptS3Input` via: +type JobEmailNotifications struct { + // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // The following parameter is only available for the job level configuration. + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of emails to notify when the run fails. + OnFailures []string `pulumi:"onFailures"` + // (List) list of emails to notify when the run starts. + OnStarts []string `pulumi:"onStarts"` + OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` + // (List) list of emails to notify when the run completes successfully. + OnSuccesses []string `pulumi:"onSuccesses"` +} + +// JobEmailNotificationsInput is an input type that accepts JobEmailNotificationsArgs and JobEmailNotificationsOutput values. +// You can construct a concrete instance of `JobEmailNotificationsInput` via: // -// JobJobClusterNewClusterInitScriptS3Args{...} -type JobJobClusterNewClusterInitScriptS3Input interface { +// JobEmailNotificationsArgs{...} +type JobEmailNotificationsInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptS3Output() JobJobClusterNewClusterInitScriptS3Output - ToJobJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) JobJobClusterNewClusterInitScriptS3Output + ToJobEmailNotificationsOutput() JobEmailNotificationsOutput + ToJobEmailNotificationsOutputWithContext(context.Context) JobEmailNotificationsOutput } -type JobJobClusterNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobEmailNotificationsArgs struct { + // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // The following parameter is only available for the job level configuration. + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of emails to notify when the run fails. + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + // (List) list of emails to notify when the run starts. + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` + // (List) list of emails to notify when the run completes successfully. + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (JobJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (JobEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobEmailNotifications)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3Output() JobJobClusterNewClusterInitScriptS3Output { - return i.ToJobJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i JobEmailNotificationsArgs) ToJobEmailNotificationsOutput() JobEmailNotificationsOutput { + return i.ToJobEmailNotificationsOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptS3Output) +func (i JobEmailNotificationsArgs) ToJobEmailNotificationsOutputWithContext(ctx context.Context) JobEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEmailNotificationsOutput) } -func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i JobEmailNotificationsArgs) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { + return i.ToJobEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptS3Output).ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i JobEmailNotificationsArgs) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEmailNotificationsOutput).ToJobEmailNotificationsPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts JobJobClusterNewClusterInitScriptS3Args, JobJobClusterNewClusterInitScriptS3Ptr and JobJobClusterNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptS3PtrInput` via: +// JobEmailNotificationsPtrInput is an input type that accepts JobEmailNotificationsArgs, JobEmailNotificationsPtr and JobEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `JobEmailNotificationsPtrInput` via: // -// JobJobClusterNewClusterInitScriptS3Args{...} +// JobEmailNotificationsArgs{...} // // or: // // nil -type JobJobClusterNewClusterInitScriptS3PtrInput interface { +type JobEmailNotificationsPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput - ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput + ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput + ToJobEmailNotificationsPtrOutputWithContext(context.Context) JobEmailNotificationsPtrOutput } -type jobJobClusterNewClusterInitScriptS3PtrType JobJobClusterNewClusterInitScriptS3Args +type jobEmailNotificationsPtrType JobEmailNotificationsArgs -func JobJobClusterNewClusterInitScriptS3Ptr(v *JobJobClusterNewClusterInitScriptS3Args) JobJobClusterNewClusterInitScriptS3PtrInput { - return (*jobJobClusterNewClusterInitScriptS3PtrType)(v) +func JobEmailNotificationsPtr(v *JobEmailNotificationsArgs) JobEmailNotificationsPtrInput { + return (*jobEmailNotificationsPtrType)(v) } -func (*jobJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (*jobEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobEmailNotifications)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptS3PtrType) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *jobEmailNotificationsPtrType) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { + return i.ToJobEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptS3PtrType) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptS3PtrOutput) +func (i *jobEmailNotificationsPtrType) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEmailNotificationsPtrOutput) } -type JobJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type JobEmailNotificationsOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (JobEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobEmailNotifications)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3Output() JobJobClusterNewClusterInitScriptS3Output { +func (o JobEmailNotificationsOutput) ToJobEmailNotificationsOutput() JobEmailNotificationsOutput { return o } -func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3Output { +func (o JobEmailNotificationsOutput) ToJobEmailNotificationsOutputWithContext(ctx context.Context) JobEmailNotificationsOutput { return o } -func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { - return o.ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o JobEmailNotificationsOutput) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { + return o.ToJobEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptS3) *JobJobClusterNewClusterInitScriptS3 { +func (o JobEmailNotificationsOutput) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobEmailNotifications) *JobEmailNotifications { return &v - }).(JobJobClusterNewClusterInitScriptS3PtrOutput) -} - -func (o JobJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) + }).(JobEmailNotificationsPtrOutput) } -func (o JobJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). +func (o JobEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o JobJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// The following parameter is only available for the job level configuration. +func (o JobEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnDurationWarningThresholdExceededs }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +// (List) list of emails to notify when the run fails. +func (o JobEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// (List) list of emails to notify when the run starts. +func (o JobEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o JobEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +// (List) list of emails to notify when the run completes successfully. +func (o JobEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -type JobJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type JobEmailNotificationsPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (JobEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobEmailNotifications)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { +func (o JobEmailNotificationsPtrOutput) ToJobEmailNotificationsPtrOutput() JobEmailNotificationsPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { +func (o JobEmailNotificationsPtrOutput) ToJobEmailNotificationsPtrOutputWithContext(ctx context.Context) JobEmailNotificationsPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Elem() JobJobClusterNewClusterInitScriptS3Output { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) JobJobClusterNewClusterInitScriptS3 { +func (o JobEmailNotificationsPtrOutput) Elem() JobEmailNotificationsOutput { + return o.ApplyT(func(v *JobEmailNotifications) JobEmailNotifications { if v != nil { return *v } - var ret JobJobClusterNewClusterInitScriptS3 + var ret JobEmailNotifications return ret - }).(JobJobClusterNewClusterInitScriptS3Output) -} - -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + }).(JobEmailNotificationsOutput) } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { +// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). +func (o JobEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobEmailNotifications) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *bool { +// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// The following parameter is only available for the job level configuration. +func (o JobEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobEmailNotifications) []string { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { +// (List) list of emails to notify when the run fails. +func (o JobEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobEmailNotifications) []string { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.OnFailures + }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { +// (List) list of emails to notify when the run starts. +func (o JobEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobEmailNotifications) []string { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { +func (o JobEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobEmailNotifications) []string { if v == nil { return nil } - return v.KmsKey - }).(pulumi.StringPtrOutput) + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) } -func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { +// (List) list of emails to notify when the run completes successfully. +func (o JobEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobEmailNotifications) []string { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -type JobJobClusterNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type JobEnvironment struct { + // an unique identifier of the Environment. It will be referenced from `environmentKey` attribute of corresponding task. + EnvironmentKey string `pulumi:"environmentKey"` + // block describing the Environment. Consists of following attributes: + Spec *JobEnvironmentSpec `pulumi:"spec"` } -// JobJobClusterNewClusterInitScriptVolumesInput is an input type that accepts JobJobClusterNewClusterInitScriptVolumesArgs and JobJobClusterNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptVolumesInput` via: +// JobEnvironmentInput is an input type that accepts JobEnvironmentArgs and JobEnvironmentOutput values. +// You can construct a concrete instance of `JobEnvironmentInput` via: // -// JobJobClusterNewClusterInitScriptVolumesArgs{...} -type JobJobClusterNewClusterInitScriptVolumesInput interface { +// JobEnvironmentArgs{...} +type JobEnvironmentInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptVolumesOutput() JobJobClusterNewClusterInitScriptVolumesOutput - ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptVolumesOutput -} - -type JobJobClusterNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() + ToJobEnvironmentOutput() JobEnvironmentOutput + ToJobEnvironmentOutputWithContext(context.Context) JobEnvironmentOutput } -func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesOutput() JobJobClusterNewClusterInitScriptVolumesOutput { - return i.ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) +type JobEnvironmentArgs struct { + // an unique identifier of the Environment. It will be referenced from `environmentKey` attribute of corresponding task. + EnvironmentKey pulumi.StringInput `pulumi:"environmentKey"` + // block describing the Environment. Consists of following attributes: + Spec JobEnvironmentSpecPtrInput `pulumi:"spec"` } -func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptVolumesOutput) +func (JobEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobEnvironment)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i JobEnvironmentArgs) ToJobEnvironmentOutput() JobEnvironmentOutput { + return i.ToJobEnvironmentOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptVolumesOutput).ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i JobEnvironmentArgs) ToJobEnvironmentOutputWithContext(ctx context.Context) JobEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentOutput) } -// JobJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptVolumesArgs, JobJobClusterNewClusterInitScriptVolumesPtr and JobJobClusterNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptVolumesPtrInput` via: -// -// JobJobClusterNewClusterInitScriptVolumesArgs{...} -// -// or: +// JobEnvironmentArrayInput is an input type that accepts JobEnvironmentArray and JobEnvironmentArrayOutput values. +// You can construct a concrete instance of `JobEnvironmentArrayInput` via: // -// nil -type JobJobClusterNewClusterInitScriptVolumesPtrInput interface { +// JobEnvironmentArray{ JobEnvironmentArgs{...} } +type JobEnvironmentArrayInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput - ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput + ToJobEnvironmentArrayOutput() JobEnvironmentArrayOutput + ToJobEnvironmentArrayOutputWithContext(context.Context) JobEnvironmentArrayOutput } -type jobJobClusterNewClusterInitScriptVolumesPtrType JobJobClusterNewClusterInitScriptVolumesArgs - -func JobJobClusterNewClusterInitScriptVolumesPtr(v *JobJobClusterNewClusterInitScriptVolumesArgs) JobJobClusterNewClusterInitScriptVolumesPtrInput { - return (*jobJobClusterNewClusterInitScriptVolumesPtrType)(v) -} +type JobEnvironmentArray []JobEnvironmentInput -func (*jobJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (JobEnvironmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobEnvironment)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptVolumesPtrType) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i JobEnvironmentArray) ToJobEnvironmentArrayOutput() JobEnvironmentArrayOutput { + return i.ToJobEnvironmentArrayOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptVolumesPtrType) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptVolumesPtrOutput) +func (i JobEnvironmentArray) ToJobEnvironmentArrayOutputWithContext(ctx context.Context) JobEnvironmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentArrayOutput) } -type JobJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type JobEnvironmentOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (JobEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobEnvironment)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesOutput() JobJobClusterNewClusterInitScriptVolumesOutput { +func (o JobEnvironmentOutput) ToJobEnvironmentOutput() JobEnvironmentOutput { return o } -func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesOutput { +func (o JobEnvironmentOutput) ToJobEnvironmentOutputWithContext(ctx context.Context) JobEnvironmentOutput { return o } -func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) -} - -func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptVolumes) *JobJobClusterNewClusterInitScriptVolumes { - return &v - }).(JobJobClusterNewClusterInitScriptVolumesPtrOutput) +// an unique identifier of the Environment. It will be referenced from `environmentKey` attribute of corresponding task. +func (o JobEnvironmentOutput) EnvironmentKey() pulumi.StringOutput { + return o.ApplyT(func(v JobEnvironment) string { return v.EnvironmentKey }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +// block describing the Environment. Consists of following attributes: +func (o JobEnvironmentOutput) Spec() JobEnvironmentSpecPtrOutput { + return o.ApplyT(func(v JobEnvironment) *JobEnvironmentSpec { return v.Spec }).(JobEnvironmentSpecPtrOutput) } -type JobJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type JobEnvironmentArrayOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (JobEnvironmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobEnvironment)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { +func (o JobEnvironmentArrayOutput) ToJobEnvironmentArrayOutput() JobEnvironmentArrayOutput { return o } -func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { +func (o JobEnvironmentArrayOutput) ToJobEnvironmentArrayOutputWithContext(ctx context.Context) JobEnvironmentArrayOutput { return o } -func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() JobJobClusterNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptVolumes) JobJobClusterNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret JobJobClusterNewClusterInitScriptVolumes - return ret - }).(JobJobClusterNewClusterInitScriptVolumesOutput) -} - -func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobEnvironmentArrayOutput) Index(i pulumi.IntInput) JobEnvironmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobEnvironment { + return vs[0].([]JobEnvironment)[vs[1].(int)] + }).(JobEnvironmentOutput) } -type JobJobClusterNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type JobEnvironmentSpec struct { + // client version used by the environment. + Client string `pulumi:"client"` + // List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + Dependencies []string `pulumi:"dependencies"` } -// JobJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts JobJobClusterNewClusterInitScriptWorkspaceArgs and JobJobClusterNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptWorkspaceInput` via: +// JobEnvironmentSpecInput is an input type that accepts JobEnvironmentSpecArgs and JobEnvironmentSpecOutput values. +// You can construct a concrete instance of `JobEnvironmentSpecInput` via: // -// JobJobClusterNewClusterInitScriptWorkspaceArgs{...} -type JobJobClusterNewClusterInitScriptWorkspaceInput interface { +// JobEnvironmentSpecArgs{...} +type JobEnvironmentSpecInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptWorkspaceOutput() JobJobClusterNewClusterInitScriptWorkspaceOutput - ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptWorkspaceOutput + ToJobEnvironmentSpecOutput() JobEnvironmentSpecOutput + ToJobEnvironmentSpecOutputWithContext(context.Context) JobEnvironmentSpecOutput } -type JobJobClusterNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobEnvironmentSpecArgs struct { + // client version used by the environment. + Client pulumi.StringInput `pulumi:"client"` + // List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + Dependencies pulumi.StringArrayInput `pulumi:"dependencies"` } -func (JobJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobEnvironmentSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobEnvironmentSpec)(nil)).Elem() } -func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspaceOutput() JobJobClusterNewClusterInitScriptWorkspaceOutput { - return i.ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecOutput() JobEnvironmentSpecOutput { + return i.ToJobEnvironmentSpecOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptWorkspaceOutput) +func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecOutputWithContext(ctx context.Context) JobEnvironmentSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentSpecOutput) } -func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { + return i.ToJobEnvironmentSpecPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptWorkspaceOutput).ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i JobEnvironmentSpecArgs) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentSpecOutput).ToJobEnvironmentSpecPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobJobClusterNewClusterInitScriptWorkspaceArgs, JobJobClusterNewClusterInitScriptWorkspacePtr and JobJobClusterNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptWorkspacePtrInput` via: +// JobEnvironmentSpecPtrInput is an input type that accepts JobEnvironmentSpecArgs, JobEnvironmentSpecPtr and JobEnvironmentSpecPtrOutput values. +// You can construct a concrete instance of `JobEnvironmentSpecPtrInput` via: // -// JobJobClusterNewClusterInitScriptWorkspaceArgs{...} +// JobEnvironmentSpecArgs{...} // // or: // // nil -type JobJobClusterNewClusterInitScriptWorkspacePtrInput interface { +type JobEnvironmentSpecPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput - ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput + ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput + ToJobEnvironmentSpecPtrOutputWithContext(context.Context) JobEnvironmentSpecPtrOutput } -type jobJobClusterNewClusterInitScriptWorkspacePtrType JobJobClusterNewClusterInitScriptWorkspaceArgs +type jobEnvironmentSpecPtrType JobEnvironmentSpecArgs -func JobJobClusterNewClusterInitScriptWorkspacePtr(v *JobJobClusterNewClusterInitScriptWorkspaceArgs) JobJobClusterNewClusterInitScriptWorkspacePtrInput { - return (*jobJobClusterNewClusterInitScriptWorkspacePtrType)(v) +func JobEnvironmentSpecPtr(v *JobEnvironmentSpecArgs) JobEnvironmentSpecPtrInput { + return (*jobEnvironmentSpecPtrType)(v) } - -func (*jobJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() + +func (*jobEnvironmentSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobEnvironmentSpec)(nil)).Elem() } -func (i *jobJobClusterNewClusterInitScriptWorkspacePtrType) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *jobEnvironmentSpecPtrType) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { + return i.ToJobEnvironmentSpecPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterInitScriptWorkspacePtrType) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (i *jobEnvironmentSpecPtrType) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobEnvironmentSpecPtrOutput) } -type JobJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type JobEnvironmentSpecOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobEnvironmentSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobEnvironmentSpec)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspaceOutput() JobJobClusterNewClusterInitScriptWorkspaceOutput { +func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecOutput() JobEnvironmentSpecOutput { return o } -func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspaceOutput { +func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecOutputWithContext(ctx context.Context) JobEnvironmentSpecOutput { return o } -func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { + return o.ToJobEnvironmentSpecPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptWorkspace) *JobJobClusterNewClusterInitScriptWorkspace { +func (o JobEnvironmentSpecOutput) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobEnvironmentSpec) *JobEnvironmentSpec { return &v - }).(JobJobClusterNewClusterInitScriptWorkspacePtrOutput) + }).(JobEnvironmentSpecPtrOutput) } -func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +// client version used by the environment. +func (o JobEnvironmentSpecOutput) Client() pulumi.StringOutput { + return o.ApplyT(func(v JobEnvironmentSpec) string { return v.Client }).(pulumi.StringOutput) } -type JobJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +// List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. +func (o JobEnvironmentSpecOutput) Dependencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobEnvironmentSpec) []string { return v.Dependencies }).(pulumi.StringArrayOutput) +} -func (JobJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +type JobEnvironmentSpecPtrOutput struct{ *pulumi.OutputState } + +func (JobEnvironmentSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobEnvironmentSpec)(nil)).Elem() } -func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { +func (o JobEnvironmentSpecPtrOutput) ToJobEnvironmentSpecPtrOutput() JobEnvironmentSpecPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { +func (o JobEnvironmentSpecPtrOutput) ToJobEnvironmentSpecPtrOutputWithContext(ctx context.Context) JobEnvironmentSpecPtrOutput { return o } -func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() JobJobClusterNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptWorkspace) JobJobClusterNewClusterInitScriptWorkspace { +func (o JobEnvironmentSpecPtrOutput) Elem() JobEnvironmentSpecOutput { + return o.ApplyT(func(v *JobEnvironmentSpec) JobEnvironmentSpec { if v != nil { return *v } - var ret JobJobClusterNewClusterInitScriptWorkspace + var ret JobEnvironmentSpec return ret - }).(JobJobClusterNewClusterInitScriptWorkspaceOutput) + }).(JobEnvironmentSpecOutput) } -func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptWorkspace) *string { +// client version used by the environment. +func (o JobEnvironmentSpecPtrOutput) Client() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobEnvironmentSpec) *string { if v == nil { return nil } - return &v.Destination + return &v.Client }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterLibrary struct { - Cran *JobJobClusterNewClusterLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobJobClusterNewClusterLibraryMaven `pulumi:"maven"` - Pypi *JobJobClusterNewClusterLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +// List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. +func (o JobEnvironmentSpecPtrOutput) Dependencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobEnvironmentSpec) []string { + if v == nil { + return nil + } + return v.Dependencies + }).(pulumi.StringArrayOutput) } -// JobJobClusterNewClusterLibraryInput is an input type that accepts JobJobClusterNewClusterLibraryArgs and JobJobClusterNewClusterLibraryOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryInput` via: +type JobGitSource struct { + // name of the Git branch to use. Conflicts with `tag` and `commit`. + Branch *string `pulumi:"branch"` + // hash of Git commit to use. Conflicts with `branch` and `tag`. + Commit *string `pulumi:"commit"` + GitSnapshot *JobGitSourceGitSnapshot `pulumi:"gitSnapshot"` + JobSource *JobGitSourceJobSource `pulumi:"jobSource"` + // case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + Provider *string `pulumi:"provider"` + // name of the Git branch to use. Conflicts with `branch` and `commit`. + Tag *string `pulumi:"tag"` + // URL of the Git repository to use. + Url string `pulumi:"url"` +} + +// JobGitSourceInput is an input type that accepts JobGitSourceArgs and JobGitSourceOutput values. +// You can construct a concrete instance of `JobGitSourceInput` via: // -// JobJobClusterNewClusterLibraryArgs{...} -type JobJobClusterNewClusterLibraryInput interface { +// JobGitSourceArgs{...} +type JobGitSourceInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryOutput() JobJobClusterNewClusterLibraryOutput - ToJobJobClusterNewClusterLibraryOutputWithContext(context.Context) JobJobClusterNewClusterLibraryOutput + ToJobGitSourceOutput() JobGitSourceOutput + ToJobGitSourceOutputWithContext(context.Context) JobGitSourceOutput } -type JobJobClusterNewClusterLibraryArgs struct { - Cran JobJobClusterNewClusterLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobJobClusterNewClusterLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobJobClusterNewClusterLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type JobGitSourceArgs struct { + // name of the Git branch to use. Conflicts with `tag` and `commit`. + Branch pulumi.StringPtrInput `pulumi:"branch"` + // hash of Git commit to use. Conflicts with `branch` and `tag`. + Commit pulumi.StringPtrInput `pulumi:"commit"` + GitSnapshot JobGitSourceGitSnapshotPtrInput `pulumi:"gitSnapshot"` + JobSource JobGitSourceJobSourcePtrInput `pulumi:"jobSource"` + // case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + Provider pulumi.StringPtrInput `pulumi:"provider"` + // name of the Git branch to use. Conflicts with `branch` and `commit`. + Tag pulumi.StringPtrInput `pulumi:"tag"` + // URL of the Git repository to use. + Url pulumi.StringInput `pulumi:"url"` } -func (JobJobClusterNewClusterLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibrary)(nil)).Elem() +func (JobGitSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobGitSource)(nil)).Elem() } -func (i JobJobClusterNewClusterLibraryArgs) ToJobJobClusterNewClusterLibraryOutput() JobJobClusterNewClusterLibraryOutput { - return i.ToJobJobClusterNewClusterLibraryOutputWithContext(context.Background()) +func (i JobGitSourceArgs) ToJobGitSourceOutput() JobGitSourceOutput { + return i.ToJobGitSourceOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryArgs) ToJobJobClusterNewClusterLibraryOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryOutput) +func (i JobGitSourceArgs) ToJobGitSourceOutputWithContext(ctx context.Context) JobGitSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceOutput) } -// JobJobClusterNewClusterLibraryArrayInput is an input type that accepts JobJobClusterNewClusterLibraryArray and JobJobClusterNewClusterLibraryArrayOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryArrayInput` via: +func (i JobGitSourceArgs) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { + return i.ToJobGitSourcePtrOutputWithContext(context.Background()) +} + +func (i JobGitSourceArgs) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceOutput).ToJobGitSourcePtrOutputWithContext(ctx) +} + +// JobGitSourcePtrInput is an input type that accepts JobGitSourceArgs, JobGitSourcePtr and JobGitSourcePtrOutput values. +// You can construct a concrete instance of `JobGitSourcePtrInput` via: // -// JobJobClusterNewClusterLibraryArray{ JobJobClusterNewClusterLibraryArgs{...} } -type JobJobClusterNewClusterLibraryArrayInput interface { +// JobGitSourceArgs{...} +// +// or: +// +// nil +type JobGitSourcePtrInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryArrayOutput() JobJobClusterNewClusterLibraryArrayOutput - ToJobJobClusterNewClusterLibraryArrayOutputWithContext(context.Context) JobJobClusterNewClusterLibraryArrayOutput + ToJobGitSourcePtrOutput() JobGitSourcePtrOutput + ToJobGitSourcePtrOutputWithContext(context.Context) JobGitSourcePtrOutput } -type JobJobClusterNewClusterLibraryArray []JobJobClusterNewClusterLibraryInput +type jobGitSourcePtrType JobGitSourceArgs -func (JobJobClusterNewClusterLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobClusterNewClusterLibrary)(nil)).Elem() +func JobGitSourcePtr(v *JobGitSourceArgs) JobGitSourcePtrInput { + return (*jobGitSourcePtrType)(v) } -func (i JobJobClusterNewClusterLibraryArray) ToJobJobClusterNewClusterLibraryArrayOutput() JobJobClusterNewClusterLibraryArrayOutput { - return i.ToJobJobClusterNewClusterLibraryArrayOutputWithContext(context.Background()) +func (*jobGitSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobGitSource)(nil)).Elem() } -func (i JobJobClusterNewClusterLibraryArray) ToJobJobClusterNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryArrayOutput) +func (i *jobGitSourcePtrType) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { + return i.ToJobGitSourcePtrOutputWithContext(context.Background()) } -type JobJobClusterNewClusterLibraryOutput struct{ *pulumi.OutputState } +func (i *jobGitSourcePtrType) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourcePtrOutput) +} -func (JobJobClusterNewClusterLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibrary)(nil)).Elem() +type JobGitSourceOutput struct{ *pulumi.OutputState } + +func (JobGitSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobGitSource)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryOutput) ToJobJobClusterNewClusterLibraryOutput() JobJobClusterNewClusterLibraryOutput { +func (o JobGitSourceOutput) ToJobGitSourceOutput() JobGitSourceOutput { return o } -func (o JobJobClusterNewClusterLibraryOutput) ToJobJobClusterNewClusterLibraryOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryOutput { +func (o JobGitSourceOutput) ToJobGitSourceOutputWithContext(ctx context.Context) JobGitSourceOutput { return o } -func (o JobJobClusterNewClusterLibraryOutput) Cran() JobJobClusterNewClusterLibraryCranPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *JobJobClusterNewClusterLibraryCran { return v.Cran }).(JobJobClusterNewClusterLibraryCranPtrOutput) +func (o JobGitSourceOutput) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { + return o.ToJobGitSourcePtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o JobGitSourceOutput) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobGitSource) *JobGitSource { + return &v + }).(JobGitSourcePtrOutput) } -func (o JobJobClusterNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +// name of the Git branch to use. Conflicts with `tag` and `commit`. +func (o JobGitSourceOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobGitSource) *string { return v.Branch }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterLibraryOutput) Maven() JobJobClusterNewClusterLibraryMavenPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *JobJobClusterNewClusterLibraryMaven { return v.Maven }).(JobJobClusterNewClusterLibraryMavenPtrOutput) +// hash of Git commit to use. Conflicts with `branch` and `tag`. +func (o JobGitSourceOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobGitSource) *string { return v.Commit }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterLibraryOutput) Pypi() JobJobClusterNewClusterLibraryPypiPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *JobJobClusterNewClusterLibraryPypi { return v.Pypi }).(JobJobClusterNewClusterLibraryPypiPtrOutput) +func (o JobGitSourceOutput) GitSnapshot() JobGitSourceGitSnapshotPtrOutput { + return o.ApplyT(func(v JobGitSource) *JobGitSourceGitSnapshot { return v.GitSnapshot }).(JobGitSourceGitSnapshotPtrOutput) } -func (o JobJobClusterNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o JobGitSourceOutput) JobSource() JobGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v JobGitSource) *JobGitSourceJobSource { return v.JobSource }).(JobGitSourceJobSourcePtrOutput) } -func (o JobJobClusterNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +// case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. +func (o JobGitSourceOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } +// name of the Git branch to use. Conflicts with `branch` and `commit`. +func (o JobGitSourceOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) +} -func (JobJobClusterNewClusterLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobJobClusterNewClusterLibrary)(nil)).Elem() +// URL of the Git repository to use. +func (o JobGitSourceOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v JobGitSource) string { return v.Url }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterLibraryArrayOutput) ToJobJobClusterNewClusterLibraryArrayOutput() JobJobClusterNewClusterLibraryArrayOutput { +type JobGitSourcePtrOutput struct{ *pulumi.OutputState } + +func (JobGitSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobGitSource)(nil)).Elem() +} + +func (o JobGitSourcePtrOutput) ToJobGitSourcePtrOutput() JobGitSourcePtrOutput { return o } -func (o JobJobClusterNewClusterLibraryArrayOutput) ToJobJobClusterNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryArrayOutput { +func (o JobGitSourcePtrOutput) ToJobGitSourcePtrOutputWithContext(ctx context.Context) JobGitSourcePtrOutput { return o } -func (o JobJobClusterNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobJobClusterNewClusterLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobClusterNewClusterLibrary { - return vs[0].([]JobJobClusterNewClusterLibrary)[vs[1].(int)] - }).(JobJobClusterNewClusterLibraryOutput) +func (o JobGitSourcePtrOutput) Elem() JobGitSourceOutput { + return o.ApplyT(func(v *JobGitSource) JobGitSource { + if v != nil { + return *v + } + var ret JobGitSource + return ret + }).(JobGitSourceOutput) } -type JobJobClusterNewClusterLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +// name of the Git branch to use. Conflicts with `tag` and `commit`. +func (o JobGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSource) *string { + if v == nil { + return nil + } + return v.Branch + }).(pulumi.StringPtrOutput) } -// JobJobClusterNewClusterLibraryCranInput is an input type that accepts JobJobClusterNewClusterLibraryCranArgs and JobJobClusterNewClusterLibraryCranOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryCranInput` via: +// hash of Git commit to use. Conflicts with `branch` and `tag`. +func (o JobGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSource) *string { + if v == nil { + return nil + } + return v.Commit + }).(pulumi.StringPtrOutput) +} + +func (o JobGitSourcePtrOutput) GitSnapshot() JobGitSourceGitSnapshotPtrOutput { + return o.ApplyT(func(v *JobGitSource) *JobGitSourceGitSnapshot { + if v == nil { + return nil + } + return v.GitSnapshot + }).(JobGitSourceGitSnapshotPtrOutput) +} + +func (o JobGitSourcePtrOutput) JobSource() JobGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v *JobGitSource) *JobGitSourceJobSource { + if v == nil { + return nil + } + return v.JobSource + }).(JobGitSourceJobSourcePtrOutput) +} + +// case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. +func (o JobGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSource) *string { + if v == nil { + return nil + } + return v.Provider + }).(pulumi.StringPtrOutput) +} + +// name of the Git branch to use. Conflicts with `branch` and `commit`. +func (o JobGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSource) *string { + if v == nil { + return nil + } + return v.Tag + }).(pulumi.StringPtrOutput) +} + +// URL of the Git repository to use. +func (o JobGitSourcePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSource) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) +} + +type JobGitSourceGitSnapshot struct { + UsedCommit *string `pulumi:"usedCommit"` +} + +// JobGitSourceGitSnapshotInput is an input type that accepts JobGitSourceGitSnapshotArgs and JobGitSourceGitSnapshotOutput values. +// You can construct a concrete instance of `JobGitSourceGitSnapshotInput` via: // -// JobJobClusterNewClusterLibraryCranArgs{...} -type JobJobClusterNewClusterLibraryCranInput interface { +// JobGitSourceGitSnapshotArgs{...} +type JobGitSourceGitSnapshotInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryCranOutput() JobJobClusterNewClusterLibraryCranOutput - ToJobJobClusterNewClusterLibraryCranOutputWithContext(context.Context) JobJobClusterNewClusterLibraryCranOutput + ToJobGitSourceGitSnapshotOutput() JobGitSourceGitSnapshotOutput + ToJobGitSourceGitSnapshotOutputWithContext(context.Context) JobGitSourceGitSnapshotOutput } -type JobJobClusterNewClusterLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobGitSourceGitSnapshotArgs struct { + UsedCommit pulumi.StringPtrInput `pulumi:"usedCommit"` } -func (JobJobClusterNewClusterLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibraryCran)(nil)).Elem() +func (JobGitSourceGitSnapshotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobGitSourceGitSnapshot)(nil)).Elem() } -func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranOutput() JobJobClusterNewClusterLibraryCranOutput { - return i.ToJobJobClusterNewClusterLibraryCranOutputWithContext(context.Background()) +func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotOutput() JobGitSourceGitSnapshotOutput { + return i.ToJobGitSourceGitSnapshotOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryCranOutput) +func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceGitSnapshotOutput) } -func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { - return i.ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { + return i.ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryCranOutput).ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx) +func (i JobGitSourceGitSnapshotArgs) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceGitSnapshotOutput).ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterLibraryCranPtrInput is an input type that accepts JobJobClusterNewClusterLibraryCranArgs, JobJobClusterNewClusterLibraryCranPtr and JobJobClusterNewClusterLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryCranPtrInput` via: +// JobGitSourceGitSnapshotPtrInput is an input type that accepts JobGitSourceGitSnapshotArgs, JobGitSourceGitSnapshotPtr and JobGitSourceGitSnapshotPtrOutput values. +// You can construct a concrete instance of `JobGitSourceGitSnapshotPtrInput` via: // -// JobJobClusterNewClusterLibraryCranArgs{...} +// JobGitSourceGitSnapshotArgs{...} // // or: // // nil -type JobJobClusterNewClusterLibraryCranPtrInput interface { +type JobGitSourceGitSnapshotPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput - ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Context) JobJobClusterNewClusterLibraryCranPtrOutput + ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput + ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Context) JobGitSourceGitSnapshotPtrOutput } -type jobJobClusterNewClusterLibraryCranPtrType JobJobClusterNewClusterLibraryCranArgs +type jobGitSourceGitSnapshotPtrType JobGitSourceGitSnapshotArgs -func JobJobClusterNewClusterLibraryCranPtr(v *JobJobClusterNewClusterLibraryCranArgs) JobJobClusterNewClusterLibraryCranPtrInput { - return (*jobJobClusterNewClusterLibraryCranPtrType)(v) +func JobGitSourceGitSnapshotPtr(v *JobGitSourceGitSnapshotArgs) JobGitSourceGitSnapshotPtrInput { + return (*jobGitSourceGitSnapshotPtrType)(v) } -func (*jobJobClusterNewClusterLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterLibraryCran)(nil)).Elem() +func (*jobGitSourceGitSnapshotPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobGitSourceGitSnapshot)(nil)).Elem() } -func (i *jobJobClusterNewClusterLibraryCranPtrType) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { - return i.ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobGitSourceGitSnapshotPtrType) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { + return i.ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterLibraryCranPtrType) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryCranPtrOutput) +func (i *jobGitSourceGitSnapshotPtrType) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceGitSnapshotPtrOutput) } -type JobJobClusterNewClusterLibraryCranOutput struct{ *pulumi.OutputState } +type JobGitSourceGitSnapshotOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibraryCran)(nil)).Elem() +func (JobGitSourceGitSnapshotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobGitSourceGitSnapshot)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranOutput() JobJobClusterNewClusterLibraryCranOutput { +func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotOutput() JobGitSourceGitSnapshotOutput { return o } -func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranOutput { +func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotOutput { return o } -func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { - return o.ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { + return o.ToJobGitSourceGitSnapshotPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterLibraryCran) *JobJobClusterNewClusterLibraryCran { +func (o JobGitSourceGitSnapshotOutput) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobGitSourceGitSnapshot) *JobGitSourceGitSnapshot { return &v - }).(JobJobClusterNewClusterLibraryCranPtrOutput) -} - -func (o JobJobClusterNewClusterLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(JobGitSourceGitSnapshotPtrOutput) } -func (o JobJobClusterNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobGitSourceGitSnapshotOutput) UsedCommit() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobGitSourceGitSnapshot) *string { return v.UsedCommit }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobGitSourceGitSnapshotPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterLibraryCran)(nil)).Elem() +func (JobGitSourceGitSnapshotPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobGitSourceGitSnapshot)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryCranPtrOutput) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { +func (o JobGitSourceGitSnapshotPtrOutput) ToJobGitSourceGitSnapshotPtrOutput() JobGitSourceGitSnapshotPtrOutput { return o } -func (o JobJobClusterNewClusterLibraryCranPtrOutput) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { +func (o JobGitSourceGitSnapshotPtrOutput) ToJobGitSourceGitSnapshotPtrOutputWithContext(ctx context.Context) JobGitSourceGitSnapshotPtrOutput { return o } -func (o JobJobClusterNewClusterLibraryCranPtrOutput) Elem() JobJobClusterNewClusterLibraryCranOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryCran) JobJobClusterNewClusterLibraryCran { +func (o JobGitSourceGitSnapshotPtrOutput) Elem() JobGitSourceGitSnapshotOutput { + return o.ApplyT(func(v *JobGitSourceGitSnapshot) JobGitSourceGitSnapshot { if v != nil { return *v } - var ret JobJobClusterNewClusterLibraryCran + var ret JobGitSourceGitSnapshot return ret - }).(JobJobClusterNewClusterLibraryCranOutput) -} - -func (o JobJobClusterNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(JobGitSourceGitSnapshotOutput) } -func (o JobJobClusterNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryCran) *string { +func (o JobGitSourceGitSnapshotPtrOutput) UsedCommit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSourceGitSnapshot) *string { if v == nil { return nil } - return v.Repo + return v.UsedCommit }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type JobGitSourceJobSource struct { + DirtyState *string `pulumi:"dirtyState"` + ImportFromGitBranch string `pulumi:"importFromGitBranch"` + JobConfigPath string `pulumi:"jobConfigPath"` } -// JobJobClusterNewClusterLibraryMavenInput is an input type that accepts JobJobClusterNewClusterLibraryMavenArgs and JobJobClusterNewClusterLibraryMavenOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryMavenInput` via: +// JobGitSourceJobSourceInput is an input type that accepts JobGitSourceJobSourceArgs and JobGitSourceJobSourceOutput values. +// You can construct a concrete instance of `JobGitSourceJobSourceInput` via: // -// JobJobClusterNewClusterLibraryMavenArgs{...} -type JobJobClusterNewClusterLibraryMavenInput interface { +// JobGitSourceJobSourceArgs{...} +type JobGitSourceJobSourceInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryMavenOutput() JobJobClusterNewClusterLibraryMavenOutput - ToJobJobClusterNewClusterLibraryMavenOutputWithContext(context.Context) JobJobClusterNewClusterLibraryMavenOutput + ToJobGitSourceJobSourceOutput() JobGitSourceJobSourceOutput + ToJobGitSourceJobSourceOutputWithContext(context.Context) JobGitSourceJobSourceOutput } -type JobJobClusterNewClusterLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobGitSourceJobSourceArgs struct { + DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` + ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` + JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` } -func (JobJobClusterNewClusterLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibraryMaven)(nil)).Elem() +func (JobGitSourceJobSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobGitSourceJobSource)(nil)).Elem() } -func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenOutput() JobJobClusterNewClusterLibraryMavenOutput { - return i.ToJobJobClusterNewClusterLibraryMavenOutputWithContext(context.Background()) +func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourceOutput() JobGitSourceJobSourceOutput { + return i.ToJobGitSourceJobSourceOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryMavenOutput) +func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourceOutputWithContext(ctx context.Context) JobGitSourceJobSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceJobSourceOutput) } -func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { - return i.ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { + return i.ToJobGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryMavenOutput).ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx) +func (i JobGitSourceJobSourceArgs) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceJobSourceOutput).ToJobGitSourceJobSourcePtrOutputWithContext(ctx) } -// JobJobClusterNewClusterLibraryMavenPtrInput is an input type that accepts JobJobClusterNewClusterLibraryMavenArgs, JobJobClusterNewClusterLibraryMavenPtr and JobJobClusterNewClusterLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryMavenPtrInput` via: +// JobGitSourceJobSourcePtrInput is an input type that accepts JobGitSourceJobSourceArgs, JobGitSourceJobSourcePtr and JobGitSourceJobSourcePtrOutput values. +// You can construct a concrete instance of `JobGitSourceJobSourcePtrInput` via: // -// JobJobClusterNewClusterLibraryMavenArgs{...} +// JobGitSourceJobSourceArgs{...} // // or: // // nil -type JobJobClusterNewClusterLibraryMavenPtrInput interface { +type JobGitSourceJobSourcePtrInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput - ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput + ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput + ToJobGitSourceJobSourcePtrOutputWithContext(context.Context) JobGitSourceJobSourcePtrOutput } -type jobJobClusterNewClusterLibraryMavenPtrType JobJobClusterNewClusterLibraryMavenArgs +type jobGitSourceJobSourcePtrType JobGitSourceJobSourceArgs -func JobJobClusterNewClusterLibraryMavenPtr(v *JobJobClusterNewClusterLibraryMavenArgs) JobJobClusterNewClusterLibraryMavenPtrInput { - return (*jobJobClusterNewClusterLibraryMavenPtrType)(v) +func JobGitSourceJobSourcePtr(v *JobGitSourceJobSourceArgs) JobGitSourceJobSourcePtrInput { + return (*jobGitSourceJobSourcePtrType)(v) } -func (*jobJobClusterNewClusterLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterLibraryMaven)(nil)).Elem() +func (*jobGitSourceJobSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobGitSourceJobSource)(nil)).Elem() } -func (i *jobJobClusterNewClusterLibraryMavenPtrType) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { - return i.ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobGitSourceJobSourcePtrType) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { + return i.ToJobGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterLibraryMavenPtrType) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryMavenPtrOutput) +func (i *jobGitSourceJobSourcePtrType) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobGitSourceJobSourcePtrOutput) } -type JobJobClusterNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } +type JobGitSourceJobSourceOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibraryMaven)(nil)).Elem() +func (JobGitSourceJobSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobGitSourceJobSource)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenOutput() JobJobClusterNewClusterLibraryMavenOutput { +func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourceOutput() JobGitSourceJobSourceOutput { return o } -func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenOutput { +func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourceOutputWithContext(ctx context.Context) JobGitSourceJobSourceOutput { return o } -func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { - return o.ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { + return o.ToJobGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterLibraryMaven) *JobJobClusterNewClusterLibraryMaven { +func (o JobGitSourceJobSourceOutput) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobGitSourceJobSource) *JobGitSourceJobSource { return &v - }).(JobJobClusterNewClusterLibraryMavenPtrOutput) + }).(JobGitSourceJobSourcePtrOutput) } -func (o JobJobClusterNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o JobGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o JobGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { + return o.ApplyT(func(v JobGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { + return o.ApplyT(func(v JobGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) } -type JobJobClusterNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type JobGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterLibraryMaven)(nil)).Elem() +func (JobGitSourceJobSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobGitSourceJobSource)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryMavenPtrOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { +func (o JobGitSourceJobSourcePtrOutput) ToJobGitSourceJobSourcePtrOutput() JobGitSourceJobSourcePtrOutput { return o } -func (o JobJobClusterNewClusterLibraryMavenPtrOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { +func (o JobGitSourceJobSourcePtrOutput) ToJobGitSourceJobSourcePtrOutputWithContext(ctx context.Context) JobGitSourceJobSourcePtrOutput { return o } -func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Elem() JobJobClusterNewClusterLibraryMavenOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) JobJobClusterNewClusterLibraryMaven { +func (o JobGitSourceJobSourcePtrOutput) Elem() JobGitSourceJobSourceOutput { + return o.ApplyT(func(v *JobGitSourceJobSource) JobGitSourceJobSource { if v != nil { return *v } - var ret JobJobClusterNewClusterLibraryMaven + var ret JobGitSourceJobSource return ret - }).(JobJobClusterNewClusterLibraryMavenOutput) + }).(JobGitSourceJobSourceOutput) } -func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) *string { +func (o JobGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSourceJobSource) *string { if v == nil { return nil } - return &v.Coordinates + return v.DirtyState }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) []string { +func (o JobGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSourceJobSource) *string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return &v.ImportFromGitBranch + }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) *string { +func (o JobGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobGitSourceJobSource) *string { if v == nil { return nil } - return v.Repo + return &v.JobConfigPath }).(pulumi.StringPtrOutput) } -type JobJobClusterNewClusterLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobHealth struct { + // list of rules that are represented as objects with the following attributes: + Rules []JobHealthRule `pulumi:"rules"` } -// JobJobClusterNewClusterLibraryPypiInput is an input type that accepts JobJobClusterNewClusterLibraryPypiArgs and JobJobClusterNewClusterLibraryPypiOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryPypiInput` via: +// JobHealthInput is an input type that accepts JobHealthArgs and JobHealthOutput values. +// You can construct a concrete instance of `JobHealthInput` via: // -// JobJobClusterNewClusterLibraryPypiArgs{...} -type JobJobClusterNewClusterLibraryPypiInput interface { +// JobHealthArgs{...} +type JobHealthInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryPypiOutput() JobJobClusterNewClusterLibraryPypiOutput - ToJobJobClusterNewClusterLibraryPypiOutputWithContext(context.Context) JobJobClusterNewClusterLibraryPypiOutput + ToJobHealthOutput() JobHealthOutput + ToJobHealthOutputWithContext(context.Context) JobHealthOutput } -type JobJobClusterNewClusterLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobHealthArgs struct { + // list of rules that are represented as objects with the following attributes: + Rules JobHealthRuleArrayInput `pulumi:"rules"` } -func (JobJobClusterNewClusterLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibraryPypi)(nil)).Elem() +func (JobHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobHealth)(nil)).Elem() } -func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiOutput() JobJobClusterNewClusterLibraryPypiOutput { - return i.ToJobJobClusterNewClusterLibraryPypiOutputWithContext(context.Background()) +func (i JobHealthArgs) ToJobHealthOutput() JobHealthOutput { + return i.ToJobHealthOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryPypiOutput) +func (i JobHealthArgs) ToJobHealthOutputWithContext(ctx context.Context) JobHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobHealthOutput) } -func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { - return i.ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobHealthArgs) ToJobHealthPtrOutput() JobHealthPtrOutput { + return i.ToJobHealthPtrOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryPypiOutput).ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx) +func (i JobHealthArgs) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobHealthOutput).ToJobHealthPtrOutputWithContext(ctx) } -// JobJobClusterNewClusterLibraryPypiPtrInput is an input type that accepts JobJobClusterNewClusterLibraryPypiArgs, JobJobClusterNewClusterLibraryPypiPtr and JobJobClusterNewClusterLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterLibraryPypiPtrInput` via: +// JobHealthPtrInput is an input type that accepts JobHealthArgs, JobHealthPtr and JobHealthPtrOutput values. +// You can construct a concrete instance of `JobHealthPtrInput` via: // -// JobJobClusterNewClusterLibraryPypiArgs{...} +// JobHealthArgs{...} // // or: // // nil -type JobJobClusterNewClusterLibraryPypiPtrInput interface { +type JobHealthPtrInput interface { pulumi.Input - ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput - ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput + ToJobHealthPtrOutput() JobHealthPtrOutput + ToJobHealthPtrOutputWithContext(context.Context) JobHealthPtrOutput } -type jobJobClusterNewClusterLibraryPypiPtrType JobJobClusterNewClusterLibraryPypiArgs +type jobHealthPtrType JobHealthArgs -func JobJobClusterNewClusterLibraryPypiPtr(v *JobJobClusterNewClusterLibraryPypiArgs) JobJobClusterNewClusterLibraryPypiPtrInput { - return (*jobJobClusterNewClusterLibraryPypiPtrType)(v) +func JobHealthPtr(v *JobHealthArgs) JobHealthPtrInput { + return (*jobHealthPtrType)(v) } -func (*jobJobClusterNewClusterLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterLibraryPypi)(nil)).Elem() +func (*jobHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobHealth)(nil)).Elem() } -func (i *jobJobClusterNewClusterLibraryPypiPtrType) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { - return i.ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobHealthPtrType) ToJobHealthPtrOutput() JobHealthPtrOutput { + return i.ToJobHealthPtrOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterLibraryPypiPtrType) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryPypiPtrOutput) +func (i *jobHealthPtrType) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobHealthPtrOutput) } -type JobJobClusterNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } +type JobHealthOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterLibraryPypi)(nil)).Elem() +func (JobHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobHealth)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiOutput() JobJobClusterNewClusterLibraryPypiOutput { +func (o JobHealthOutput) ToJobHealthOutput() JobHealthOutput { return o } -func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiOutput { +func (o JobHealthOutput) ToJobHealthOutputWithContext(ctx context.Context) JobHealthOutput { return o } -func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { - return o.ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobHealthOutput) ToJobHealthPtrOutput() JobHealthPtrOutput { + return o.ToJobHealthPtrOutputWithContext(context.Background()) } -func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterLibraryPypi) *JobJobClusterNewClusterLibraryPypi { +func (o JobHealthOutput) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobHealth) *JobHealth { return &v - }).(JobJobClusterNewClusterLibraryPypiPtrOutput) -} - -func (o JobJobClusterNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(JobHealthPtrOutput) } -func (o JobJobClusterNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +// list of rules that are represented as objects with the following attributes: +func (o JobHealthOutput) Rules() JobHealthRuleArrayOutput { + return o.ApplyT(func(v JobHealth) []JobHealthRule { return v.Rules }).(JobHealthRuleArrayOutput) } -type JobJobClusterNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type JobHealthPtrOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterLibraryPypi)(nil)).Elem() +func (JobHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobHealth)(nil)).Elem() } -func (o JobJobClusterNewClusterLibraryPypiPtrOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { +func (o JobHealthPtrOutput) ToJobHealthPtrOutput() JobHealthPtrOutput { return o } -func (o JobJobClusterNewClusterLibraryPypiPtrOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { +func (o JobHealthPtrOutput) ToJobHealthPtrOutputWithContext(ctx context.Context) JobHealthPtrOutput { return o } -func (o JobJobClusterNewClusterLibraryPypiPtrOutput) Elem() JobJobClusterNewClusterLibraryPypiOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryPypi) JobJobClusterNewClusterLibraryPypi { +func (o JobHealthPtrOutput) Elem() JobHealthOutput { + return o.ApplyT(func(v *JobHealth) JobHealth { if v != nil { return *v } - var ret JobJobClusterNewClusterLibraryPypi + var ret JobHealth return ret - }).(JobJobClusterNewClusterLibraryPypiOutput) -} - -func (o JobJobClusterNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(JobHealthOutput) } -func (o JobJobClusterNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterLibraryPypi) *string { +// list of rules that are represented as objects with the following attributes: +func (o JobHealthPtrOutput) Rules() JobHealthRuleArrayOutput { + return o.ApplyT(func(v *JobHealth) []JobHealthRule { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.Rules + }).(JobHealthRuleArrayOutput) } -type JobJobClusterNewClusterWorkloadType struct { - Clients JobJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` +type JobHealthRule struct { + // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + Metric string `pulumi:"metric"` + // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + Op string `pulumi:"op"` + // integer value used to compare to the given metric. + Value int `pulumi:"value"` } -// JobJobClusterNewClusterWorkloadTypeInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeArgs and JobJobClusterNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypeInput` via: +// JobHealthRuleInput is an input type that accepts JobHealthRuleArgs and JobHealthRuleOutput values. +// You can construct a concrete instance of `JobHealthRuleInput` via: // -// JobJobClusterNewClusterWorkloadTypeArgs{...} -type JobJobClusterNewClusterWorkloadTypeInput interface { +// JobHealthRuleArgs{...} +type JobHealthRuleInput interface { pulumi.Input - ToJobJobClusterNewClusterWorkloadTypeOutput() JobJobClusterNewClusterWorkloadTypeOutput - ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypeOutput -} - -type JobJobClusterNewClusterWorkloadTypeArgs struct { - Clients JobJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` -} - -func (JobJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterWorkloadType)(nil)).Elem() + ToJobHealthRuleOutput() JobHealthRuleOutput + ToJobHealthRuleOutputWithContext(context.Context) JobHealthRuleOutput } -func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypeOutput() JobJobClusterNewClusterWorkloadTypeOutput { - return i.ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) +type JobHealthRuleArgs struct { + // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + Metric pulumi.StringInput `pulumi:"metric"` + // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + Op pulumi.StringInput `pulumi:"op"` + // integer value used to compare to the given metric. + Value pulumi.IntInput `pulumi:"value"` } -func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeOutput) +func (JobHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobHealthRule)(nil)).Elem() } -func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i JobHealthRuleArgs) ToJobHealthRuleOutput() JobHealthRuleOutput { + return i.ToJobHealthRuleOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeOutput).ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i JobHealthRuleArgs) ToJobHealthRuleOutputWithContext(ctx context.Context) JobHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobHealthRuleOutput) } -// JobJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeArgs, JobJobClusterNewClusterWorkloadTypePtr and JobJobClusterNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypePtrInput` via: -// -// JobJobClusterNewClusterWorkloadTypeArgs{...} -// -// or: +// JobHealthRuleArrayInput is an input type that accepts JobHealthRuleArray and JobHealthRuleArrayOutput values. +// You can construct a concrete instance of `JobHealthRuleArrayInput` via: // -// nil -type JobJobClusterNewClusterWorkloadTypePtrInput interface { +// JobHealthRuleArray{ JobHealthRuleArgs{...} } +type JobHealthRuleArrayInput interface { pulumi.Input - ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput - ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput + ToJobHealthRuleArrayOutput() JobHealthRuleArrayOutput + ToJobHealthRuleArrayOutputWithContext(context.Context) JobHealthRuleArrayOutput } -type jobJobClusterNewClusterWorkloadTypePtrType JobJobClusterNewClusterWorkloadTypeArgs - -func JobJobClusterNewClusterWorkloadTypePtr(v *JobJobClusterNewClusterWorkloadTypeArgs) JobJobClusterNewClusterWorkloadTypePtrInput { - return (*jobJobClusterNewClusterWorkloadTypePtrType)(v) -} +type JobHealthRuleArray []JobHealthRuleInput -func (*jobJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterWorkloadType)(nil)).Elem() +func (JobHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobHealthRule)(nil)).Elem() } -func (i *jobJobClusterNewClusterWorkloadTypePtrType) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i JobHealthRuleArray) ToJobHealthRuleArrayOutput() JobHealthRuleArrayOutput { + return i.ToJobHealthRuleArrayOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterWorkloadTypePtrType) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypePtrOutput) +func (i JobHealthRuleArray) ToJobHealthRuleArrayOutputWithContext(ctx context.Context) JobHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobHealthRuleArrayOutput) } -type JobJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type JobHealthRuleOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterWorkloadType)(nil)).Elem() +func (JobHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobHealthRule)(nil)).Elem() } -func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypeOutput() JobJobClusterNewClusterWorkloadTypeOutput { +func (o JobHealthRuleOutput) ToJobHealthRuleOutput() JobHealthRuleOutput { return o } -func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeOutput { +func (o JobHealthRuleOutput) ToJobHealthRuleOutputWithContext(ctx context.Context) JobHealthRuleOutput { return o } -func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { - return o.ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +// string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +func (o JobHealthRuleOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v JobHealthRule) string { return v.Metric }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterWorkloadType) *JobJobClusterNewClusterWorkloadType { - return &v - }).(JobJobClusterNewClusterWorkloadTypePtrOutput) +// string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. +func (o JobHealthRuleOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobHealthRule) string { return v.Op }).(pulumi.StringOutput) } -func (o JobJobClusterNewClusterWorkloadTypeOutput) Clients() JobJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v JobJobClusterNewClusterWorkloadType) JobJobClusterNewClusterWorkloadTypeClients { - return v.Clients - }).(JobJobClusterNewClusterWorkloadTypeClientsOutput) +// integer value used to compare to the given metric. +func (o JobHealthRuleOutput) Value() pulumi.IntOutput { + return o.ApplyT(func(v JobHealthRule) int { return v.Value }).(pulumi.IntOutput) } -type JobJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +type JobHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterWorkloadType)(nil)).Elem() +func (JobHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobHealthRule)(nil)).Elem() } -func (o JobJobClusterNewClusterWorkloadTypePtrOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { +func (o JobHealthRuleArrayOutput) ToJobHealthRuleArrayOutput() JobHealthRuleArrayOutput { return o } -func (o JobJobClusterNewClusterWorkloadTypePtrOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { +func (o JobHealthRuleArrayOutput) ToJobHealthRuleArrayOutputWithContext(ctx context.Context) JobHealthRuleArrayOutput { return o } -func (o JobJobClusterNewClusterWorkloadTypePtrOutput) Elem() JobJobClusterNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadType) JobJobClusterNewClusterWorkloadType { - if v != nil { - return *v - } - var ret JobJobClusterNewClusterWorkloadType - return ret - }).(JobJobClusterNewClusterWorkloadTypeOutput) +func (o JobHealthRuleArrayOutput) Index(i pulumi.IntInput) JobHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobHealthRule { + return vs[0].([]JobHealthRule)[vs[1].(int)] + }).(JobHealthRuleOutput) } -func (o JobJobClusterNewClusterWorkloadTypePtrOutput) Clients() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadType) *JobJobClusterNewClusterWorkloadTypeClients { - if v == nil { - return nil - } - return &v.Clients - }).(JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) +type JobJobCluster struct { + // Identifier that can be referenced in `task` block, so that cluster is shared between tasks + JobClusterKey string `pulumi:"jobClusterKey"` + // Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + NewCluster JobJobClusterNewCluster `pulumi:"newCluster"` } -type JobJobClusterNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +// JobJobClusterInput is an input type that accepts JobJobClusterArgs and JobJobClusterOutput values. +// You can construct a concrete instance of `JobJobClusterInput` via: +// +// JobJobClusterArgs{...} +type JobJobClusterInput interface { + pulumi.Input + + ToJobJobClusterOutput() JobJobClusterOutput + ToJobJobClusterOutputWithContext(context.Context) JobJobClusterOutput } -// JobJobClusterNewClusterWorkloadTypeClientsInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeClientsArgs and JobJobClusterNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypeClientsInput` via: +type JobJobClusterArgs struct { + // Identifier that can be referenced in `task` block, so that cluster is shared between tasks + JobClusterKey pulumi.StringInput `pulumi:"jobClusterKey"` + // Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + NewCluster JobJobClusterNewClusterInput `pulumi:"newCluster"` +} + +func (JobJobClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobCluster)(nil)).Elem() +} + +func (i JobJobClusterArgs) ToJobJobClusterOutput() JobJobClusterOutput { + return i.ToJobJobClusterOutputWithContext(context.Background()) +} + +func (i JobJobClusterArgs) ToJobJobClusterOutputWithContext(ctx context.Context) JobJobClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterOutput) +} + +// JobJobClusterArrayInput is an input type that accepts JobJobClusterArray and JobJobClusterArrayOutput values. +// You can construct a concrete instance of `JobJobClusterArrayInput` via: // -// JobJobClusterNewClusterWorkloadTypeClientsArgs{...} -type JobJobClusterNewClusterWorkloadTypeClientsInput interface { +// JobJobClusterArray{ JobJobClusterArgs{...} } +type JobJobClusterArrayInput interface { pulumi.Input - ToJobJobClusterNewClusterWorkloadTypeClientsOutput() JobJobClusterNewClusterWorkloadTypeClientsOutput - ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypeClientsOutput + ToJobJobClusterArrayOutput() JobJobClusterArrayOutput + ToJobJobClusterArrayOutputWithContext(context.Context) JobJobClusterArrayOutput } -type JobJobClusterNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type JobJobClusterArray []JobJobClusterInput + +func (JobJobClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobCluster)(nil)).Elem() } -func (JobJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (i JobJobClusterArray) ToJobJobClusterArrayOutput() JobJobClusterArrayOutput { + return i.ToJobJobClusterArrayOutputWithContext(context.Background()) } -func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsOutput() JobJobClusterNewClusterWorkloadTypeClientsOutput { - return i.ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i JobJobClusterArray) ToJobJobClusterArrayOutputWithContext(ctx context.Context) JobJobClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterArrayOutput) } -func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeClientsOutput) +type JobJobClusterOutput struct{ *pulumi.OutputState } + +func (JobJobClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobCluster)(nil)).Elem() } -func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobJobClusterOutput) ToJobJobClusterOutput() JobJobClusterOutput { + return o } -func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeClientsOutput).ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (o JobJobClusterOutput) ToJobJobClusterOutputWithContext(ctx context.Context) JobJobClusterOutput { + return o +} + +// Identifier that can be referenced in `task` block, so that cluster is shared between tasks +func (o JobJobClusterOutput) JobClusterKey() pulumi.StringOutput { + return o.ApplyT(func(v JobJobCluster) string { return v.JobClusterKey }).(pulumi.StringOutput) +} + +// Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): +func (o JobJobClusterOutput) NewCluster() JobJobClusterNewClusterOutput { + return o.ApplyT(func(v JobJobCluster) JobJobClusterNewCluster { return v.NewCluster }).(JobJobClusterNewClusterOutput) +} + +type JobJobClusterArrayOutput struct{ *pulumi.OutputState } + +func (JobJobClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobCluster)(nil)).Elem() +} + +func (o JobJobClusterArrayOutput) ToJobJobClusterArrayOutput() JobJobClusterArrayOutput { + return o +} + +func (o JobJobClusterArrayOutput) ToJobJobClusterArrayOutputWithContext(ctx context.Context) JobJobClusterArrayOutput { + return o +} + +func (o JobJobClusterArrayOutput) Index(i pulumi.IntInput) JobJobClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobCluster { + return vs[0].([]JobJobCluster)[vs[1].(int)] + }).(JobJobClusterOutput) +} + +type JobJobClusterNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *JobJobClusterNewClusterAutoscale `pulumi:"autoscale"` + AwsAttributes *JobJobClusterNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *JobJobClusterNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *JobJobClusterNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []JobJobClusterNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *JobJobClusterNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` + EnableElasticDisk *bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *JobJobClusterNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []JobJobClusterNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries []JobJobClusterNewClusterLibrary `pulumi:"libraries"` + NodeTypeId *string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType *JobJobClusterNewClusterWorkloadType `pulumi:"workloadType"` } -// JobJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeClientsArgs, JobJobClusterNewClusterWorkloadTypeClientsPtr and JobJobClusterNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypeClientsPtrInput` via: -// -// JobJobClusterNewClusterWorkloadTypeClientsArgs{...} -// -// or: +// JobJobClusterNewClusterInput is an input type that accepts JobJobClusterNewClusterArgs and JobJobClusterNewClusterOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInput` via: // -// nil -type JobJobClusterNewClusterWorkloadTypeClientsPtrInput interface { +// JobJobClusterNewClusterArgs{...} +type JobJobClusterNewClusterInput interface { pulumi.Input - ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput - ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput + ToJobJobClusterNewClusterOutput() JobJobClusterNewClusterOutput + ToJobJobClusterNewClusterOutputWithContext(context.Context) JobJobClusterNewClusterOutput } -type jobJobClusterNewClusterWorkloadTypeClientsPtrType JobJobClusterNewClusterWorkloadTypeClientsArgs - -func JobJobClusterNewClusterWorkloadTypeClientsPtr(v *JobJobClusterNewClusterWorkloadTypeClientsArgs) JobJobClusterNewClusterWorkloadTypeClientsPtrInput { - return (*jobJobClusterNewClusterWorkloadTypeClientsPtrType)(v) +type JobJobClusterNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale JobJobClusterNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AwsAttributes JobJobClusterNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes JobJobClusterNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf JobJobClusterNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos JobJobClusterNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage JobJobClusterNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes JobJobClusterNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts JobJobClusterNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + IsSingleNode pulumi.BoolPtrInput `pulumi:"isSingleNode"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries JobJobClusterNewClusterLibraryArrayInput `pulumi:"libraries"` + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + UseMlRuntime pulumi.BoolPtrInput `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType JobJobClusterNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (*jobJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (JobJobClusterNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewCluster)(nil)).Elem() } -func (i *jobJobClusterNewClusterWorkloadTypeClientsPtrType) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterArgs) ToJobJobClusterNewClusterOutput() JobJobClusterNewClusterOutput { + return i.ToJobJobClusterNewClusterOutputWithContext(context.Background()) } -func (i *jobJobClusterNewClusterWorkloadTypeClientsPtrType) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) +func (i JobJobClusterNewClusterArgs) ToJobJobClusterNewClusterOutputWithContext(ctx context.Context) JobJobClusterNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterOutput) } -type JobJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterOutput struct{ *pulumi.OutputState } -func (JobJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (JobJobClusterNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewCluster)(nil)).Elem() } -func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsOutput() JobJobClusterNewClusterWorkloadTypeClientsOutput { +func (o JobJobClusterNewClusterOutput) ToJobJobClusterNewClusterOutput() JobJobClusterNewClusterOutput { return o } -func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsOutput { +func (o JobJobClusterNewClusterOutput) ToJobJobClusterNewClusterOutputWithContext(ctx context.Context) JobJobClusterNewClusterOutput { return o } -func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) -} - -func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterWorkloadTypeClients) *JobJobClusterNewClusterWorkloadTypeClients { - return &v - }).(JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) +func (o JobJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o JobJobClusterNewClusterOutput) Autoscale() JobJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAutoscale { return v.Autoscale }).(JobJobClusterNewClusterAutoscalePtrOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o JobJobClusterNewClusterOutput) AwsAttributes() JobJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAwsAttributes { return v.AwsAttributes }).(JobJobClusterNewClusterAwsAttributesPtrOutput) } -type JobJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } - -func (JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobJobClusterNewClusterOutput) AzureAttributes() JobJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterAzureAttributes { return v.AzureAttributes }).(JobJobClusterNewClusterAzureAttributesPtrOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o JobJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o JobJobClusterNewClusterOutput) ClusterLogConf() JobJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterClusterLogConf { return v.ClusterLogConf }).(JobJobClusterNewClusterClusterLogConfPtrOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() JobJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadTypeClients) JobJobClusterNewClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret JobJobClusterNewClusterWorkloadTypeClients - return ret - }).(JobJobClusterNewClusterWorkloadTypeClientsOutput) +func (o JobJobClusterNewClusterOutput) ClusterMountInfos() JobJobClusterNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterClusterMountInfo { return v.ClusterMountInfos }).(JobJobClusterNewClusterClusterMountInfoArrayOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) +func (o JobJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (o JobJobClusterNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -type JobLibrary struct { - Cran *JobLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobLibraryMaven `pulumi:"maven"` - Pypi *JobLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (o JobJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -// JobLibraryInput is an input type that accepts JobLibraryArgs and JobLibraryOutput values. -// You can construct a concrete instance of `JobLibraryInput` via: -// -// JobLibraryArgs{...} -type JobLibraryInput interface { - pulumi.Input - - ToJobLibraryOutput() JobLibraryOutput - ToJobLibraryOutputWithContext(context.Context) JobLibraryOutput +func (o JobJobClusterNewClusterOutput) DockerImage() JobJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterDockerImage { return v.DockerImage }).(JobJobClusterNewClusterDockerImagePtrOutput) } -type JobLibraryArgs struct { - Cran JobLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +func (o JobJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -func (JobLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibrary)(nil)).Elem() +func (o JobJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (i JobLibraryArgs) ToJobLibraryOutput() JobLibraryOutput { - return i.ToJobLibraryOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i JobLibraryArgs) ToJobLibraryOutputWithContext(ctx context.Context) JobLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryOutput) +func (o JobJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -// JobLibraryArrayInput is an input type that accepts JobLibraryArray and JobLibraryArrayOutput values. -// You can construct a concrete instance of `JobLibraryArrayInput` via: -// -// JobLibraryArray{ JobLibraryArgs{...} } -type JobLibraryArrayInput interface { - pulumi.Input - - ToJobLibraryArrayOutput() JobLibraryArrayOutput - ToJobLibraryArrayOutputWithContext(context.Context) JobLibraryArrayOutput +func (o JobJobClusterNewClusterOutput) GcpAttributes() JobJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterGcpAttributes { return v.GcpAttributes }).(JobJobClusterNewClusterGcpAttributesPtrOutput) } -type JobLibraryArray []JobLibraryInput - -func (JobLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobLibrary)(nil)).Elem() +func (o JobJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -func (i JobLibraryArray) ToJobLibraryArrayOutput() JobLibraryArrayOutput { - return i.ToJobLibraryArrayOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterOutput) InitScripts() JobJobClusterNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterInitScript { return v.InitScripts }).(JobJobClusterNewClusterInitScriptArrayOutput) } -func (i JobLibraryArray) ToJobLibraryArrayOutputWithContext(ctx context.Context) JobLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryArrayOutput) +func (o JobJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -type JobLibraryOutput struct{ *pulumi.OutputState } - -func (JobLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibrary)(nil)).Elem() +func (o JobJobClusterNewClusterOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.IsSingleNode }).(pulumi.BoolPtrOutput) } -func (o JobLibraryOutput) ToJobLibraryOutput() JobLibraryOutput { - return o +func (o JobJobClusterNewClusterOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.Kind }).(pulumi.StringPtrOutput) } -func (o JobLibraryOutput) ToJobLibraryOutputWithContext(ctx context.Context) JobLibraryOutput { - return o +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobJobClusterNewClusterOutput) Libraries() JobJobClusterNewClusterLibraryArrayOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) []JobJobClusterNewClusterLibrary { return v.Libraries }).(JobJobClusterNewClusterLibraryArrayOutput) } -func (o JobLibraryOutput) Cran() JobLibraryCranPtrOutput { - return o.ApplyT(func(v JobLibrary) *JobLibraryCran { return v.Cran }).(JobLibraryCranPtrOutput) +func (o JobJobClusterNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (o JobLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) } -func (o JobLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o JobLibraryOutput) Maven() JobLibraryMavenPtrOutput { - return o.ApplyT(func(v JobLibrary) *JobLibraryMaven { return v.Maven }).(JobLibraryMavenPtrOutput) +func (o JobJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o JobLibraryOutput) Pypi() JobLibraryPypiPtrOutput { - return o.ApplyT(func(v JobLibrary) *JobLibraryPypi { return v.Pypi }).(JobLibraryPypiPtrOutput) +func (o JobJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o JobLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o JobLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -type JobLibraryArrayOutput struct{ *pulumi.OutputState } - -func (JobLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobLibrary)(nil)).Elem() +func (o JobJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o JobLibraryArrayOutput) ToJobLibraryArrayOutput() JobLibraryArrayOutput { - return o +func (o JobJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o JobLibraryArrayOutput) ToJobLibraryArrayOutputWithContext(ctx context.Context) JobLibraryArrayOutput { - return o +func (o JobJobClusterNewClusterOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *bool { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) } -func (o JobLibraryArrayOutput) Index(i pulumi.IntInput) JobLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobLibrary { - return vs[0].([]JobLibrary)[vs[1].(int)] - }).(JobLibraryOutput) +// isn't supported +func (o JobJobClusterNewClusterOutput) WorkloadType() JobJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v JobJobClusterNewCluster) *JobJobClusterNewClusterWorkloadType { return v.WorkloadType }).(JobJobClusterNewClusterWorkloadTypePtrOutput) } -type JobLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobJobClusterNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// JobLibraryCranInput is an input type that accepts JobLibraryCranArgs and JobLibraryCranOutput values. -// You can construct a concrete instance of `JobLibraryCranInput` via: +// JobJobClusterNewClusterAutoscaleInput is an input type that accepts JobJobClusterNewClusterAutoscaleArgs and JobJobClusterNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAutoscaleInput` via: // -// JobLibraryCranArgs{...} -type JobLibraryCranInput interface { +// JobJobClusterNewClusterAutoscaleArgs{...} +type JobJobClusterNewClusterAutoscaleInput interface { pulumi.Input - ToJobLibraryCranOutput() JobLibraryCranOutput - ToJobLibraryCranOutputWithContext(context.Context) JobLibraryCranOutput + ToJobJobClusterNewClusterAutoscaleOutput() JobJobClusterNewClusterAutoscaleOutput + ToJobJobClusterNewClusterAutoscaleOutputWithContext(context.Context) JobJobClusterNewClusterAutoscaleOutput } -type JobLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobJobClusterNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (JobLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibraryCran)(nil)).Elem() +func (JobJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i JobLibraryCranArgs) ToJobLibraryCranOutput() JobLibraryCranOutput { - return i.ToJobLibraryCranOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscaleOutput() JobJobClusterNewClusterAutoscaleOutput { + return i.ToJobJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i JobLibraryCranArgs) ToJobLibraryCranOutputWithContext(ctx context.Context) JobLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryCranOutput) +func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAutoscaleOutput) } -func (i JobLibraryCranArgs) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { - return i.ToJobLibraryCranPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { + return i.ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i JobLibraryCranArgs) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryCranOutput).ToJobLibraryCranPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterAutoscaleArgs) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAutoscaleOutput).ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) } -// JobLibraryCranPtrInput is an input type that accepts JobLibraryCranArgs, JobLibraryCranPtr and JobLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobLibraryCranPtrInput` via: +// JobJobClusterNewClusterAutoscalePtrInput is an input type that accepts JobJobClusterNewClusterAutoscaleArgs, JobJobClusterNewClusterAutoscalePtr and JobJobClusterNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAutoscalePtrInput` via: // -// JobLibraryCranArgs{...} +// JobJobClusterNewClusterAutoscaleArgs{...} // // or: // // nil -type JobLibraryCranPtrInput interface { +type JobJobClusterNewClusterAutoscalePtrInput interface { pulumi.Input - ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput - ToJobLibraryCranPtrOutputWithContext(context.Context) JobLibraryCranPtrOutput + ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput + ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) JobJobClusterNewClusterAutoscalePtrOutput } -type jobLibraryCranPtrType JobLibraryCranArgs +type jobJobClusterNewClusterAutoscalePtrType JobJobClusterNewClusterAutoscaleArgs -func JobLibraryCranPtr(v *JobLibraryCranArgs) JobLibraryCranPtrInput { - return (*jobLibraryCranPtrType)(v) +func JobJobClusterNewClusterAutoscalePtr(v *JobJobClusterNewClusterAutoscaleArgs) JobJobClusterNewClusterAutoscalePtrInput { + return (*jobJobClusterNewClusterAutoscalePtrType)(v) } -func (*jobLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobLibraryCran)(nil)).Elem() +func (*jobJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i *jobLibraryCranPtrType) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { - return i.ToJobLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterAutoscalePtrType) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { + return i.ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *jobLibraryCranPtrType) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryCranPtrOutput) +func (i *jobJobClusterNewClusterAutoscalePtrType) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAutoscalePtrOutput) } -type JobLibraryCranOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (JobLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibraryCran)(nil)).Elem() +func (JobJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o JobLibraryCranOutput) ToJobLibraryCranOutput() JobLibraryCranOutput { +func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscaleOutput() JobJobClusterNewClusterAutoscaleOutput { return o } -func (o JobLibraryCranOutput) ToJobLibraryCranOutputWithContext(ctx context.Context) JobLibraryCranOutput { +func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscaleOutput { return o } -func (o JobLibraryCranOutput) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { - return o.ToJobLibraryCranPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { + return o.ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o JobLibraryCranOutput) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobLibraryCran) *JobLibraryCran { +func (o JobJobClusterNewClusterAutoscaleOutput) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAutoscale) *JobJobClusterNewClusterAutoscale { return &v - }).(JobLibraryCranPtrOutput) + }).(JobJobClusterNewClusterAutoscalePtrOutput) } -func (o JobLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o JobLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type JobLibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (JobLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobLibraryCran)(nil)).Elem() +func (JobJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o JobLibraryCranPtrOutput) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { +func (o JobJobClusterNewClusterAutoscalePtrOutput) ToJobJobClusterNewClusterAutoscalePtrOutput() JobJobClusterNewClusterAutoscalePtrOutput { return o } -func (o JobLibraryCranPtrOutput) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { +func (o JobJobClusterNewClusterAutoscalePtrOutput) ToJobJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAutoscalePtrOutput { return o } -func (o JobLibraryCranPtrOutput) Elem() JobLibraryCranOutput { - return o.ApplyT(func(v *JobLibraryCran) JobLibraryCran { +func (o JobJobClusterNewClusterAutoscalePtrOutput) Elem() JobJobClusterNewClusterAutoscaleOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAutoscale) JobJobClusterNewClusterAutoscale { if v != nil { return *v } - var ret JobLibraryCran + var ret JobJobClusterNewClusterAutoscale return ret - }).(JobLibraryCranOutput) + }).(JobJobClusterNewClusterAutoscaleOutput) } -func (o JobLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobLibraryCran) *string { +func (o JobJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o JobLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobLibraryCran) *string { +func (o JobJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type JobLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type JobJobClusterNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// JobLibraryMavenInput is an input type that accepts JobLibraryMavenArgs and JobLibraryMavenOutput values. -// You can construct a concrete instance of `JobLibraryMavenInput` via: +// JobJobClusterNewClusterAwsAttributesInput is an input type that accepts JobJobClusterNewClusterAwsAttributesArgs and JobJobClusterNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAwsAttributesInput` via: // -// JobLibraryMavenArgs{...} -type JobLibraryMavenInput interface { +// JobJobClusterNewClusterAwsAttributesArgs{...} +type JobJobClusterNewClusterAwsAttributesInput interface { pulumi.Input - ToJobLibraryMavenOutput() JobLibraryMavenOutput - ToJobLibraryMavenOutputWithContext(context.Context) JobLibraryMavenOutput + ToJobJobClusterNewClusterAwsAttributesOutput() JobJobClusterNewClusterAwsAttributesOutput + ToJobJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) JobJobClusterNewClusterAwsAttributesOutput } -type JobLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobJobClusterNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +} + +func (JobJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +} + +func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesOutput() JobJobClusterNewClusterAwsAttributesOutput { + return i.ToJobJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) +} + +func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAwsAttributesOutput) +} + +func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i JobJobClusterNewClusterAwsAttributesArgs) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAwsAttributesOutput).ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) +} + +// JobJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts JobJobClusterNewClusterAwsAttributesArgs, JobJobClusterNewClusterAwsAttributesPtr and JobJobClusterNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAwsAttributesPtrInput` via: +// +// JobJobClusterNewClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type JobJobClusterNewClusterAwsAttributesPtrInput interface { + pulumi.Input + + ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput + ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput +} + +type jobJobClusterNewClusterAwsAttributesPtrType JobJobClusterNewClusterAwsAttributesArgs + +func JobJobClusterNewClusterAwsAttributesPtr(v *JobJobClusterNewClusterAwsAttributesArgs) JobJobClusterNewClusterAwsAttributesPtrInput { + return (*jobJobClusterNewClusterAwsAttributesPtrType)(v) +} + +func (*jobJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +} + +func (i *jobJobClusterNewClusterAwsAttributesPtrType) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *jobJobClusterNewClusterAwsAttributesPtrType) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAwsAttributesPtrOutput) +} + +type JobJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAwsAttributes)(nil)).Elem() +} + +func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesOutput() JobJobClusterNewClusterAwsAttributesOutput { + return o +} + +func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesOutput { + return o } -func (JobLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibraryMaven)(nil)).Elem() +func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { + return o.ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i JobLibraryMavenArgs) ToJobLibraryMavenOutput() JobLibraryMavenOutput { - return i.ToJobLibraryMavenOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterAwsAttributesOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAwsAttributes) *JobJobClusterNewClusterAwsAttributes { + return &v + }).(JobJobClusterNewClusterAwsAttributesPtrOutput) } -func (i JobLibraryMavenArgs) ToJobLibraryMavenOutputWithContext(ctx context.Context) JobLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryMavenOutput) +func (o JobJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (i JobLibraryMavenArgs) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { - return i.ToJobLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (i JobLibraryMavenArgs) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryMavenOutput).ToJobLibraryMavenPtrOutputWithContext(ctx) +func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) } -// JobLibraryMavenPtrInput is an input type that accepts JobLibraryMavenArgs, JobLibraryMavenPtr and JobLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobLibraryMavenPtrInput` via: -// -// JobLibraryMavenArgs{...} -// -// or: -// -// nil -type JobLibraryMavenPtrInput interface { - pulumi.Input +func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +} - ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput - ToJobLibraryMavenPtrOutputWithContext(context.Context) JobLibraryMavenPtrOutput +func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) } -type jobLibraryMavenPtrType JobLibraryMavenArgs +func (o JobJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} -func JobLibraryMavenPtr(v *JobLibraryMavenArgs) JobLibraryMavenPtrInput { - return (*jobLibraryMavenPtrType)(v) +func (o JobJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (*jobLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobLibraryMaven)(nil)).Elem() +func (o JobJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (i *jobLibraryMavenPtrType) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { - return i.ToJobLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (i *jobLibraryMavenPtrType) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryMavenPtrOutput) +func (o JobJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobLibraryMavenOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibraryMaven)(nil)).Elem() +func (JobJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (o JobLibraryMavenOutput) ToJobLibraryMavenOutput() JobLibraryMavenOutput { +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutput() JobJobClusterNewClusterAwsAttributesPtrOutput { return o } -func (o JobLibraryMavenOutput) ToJobLibraryMavenOutputWithContext(ctx context.Context) JobLibraryMavenOutput { +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) ToJobJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAwsAttributesPtrOutput { return o } -func (o JobLibraryMavenOutput) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { - return o.ToJobLibraryMavenPtrOutputWithContext(context.Background()) -} - -func (o JobLibraryMavenOutput) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobLibraryMaven) *JobLibraryMaven { - return &v - }).(JobLibraryMavenPtrOutput) +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) Elem() JobJobClusterNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) JobJobClusterNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret JobJobClusterNewClusterAwsAttributes + return ret + }).(JobJobClusterNewClusterAwsAttributesOutput) } -func (o JobLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o JobLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o JobLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -type JobLibraryMavenPtrOutput struct{ *pulumi.OutputState } - -func (JobLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobLibraryMaven)(nil)).Elem() +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o JobLibraryMavenPtrOutput) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { - return o +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) } -func (o JobLibraryMavenPtrOutput) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { - return o +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o JobLibraryMavenPtrOutput) Elem() JobLibraryMavenOutput { - return o.ApplyT(func(v *JobLibraryMaven) JobLibraryMaven { - if v != nil { - return *v +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil } - var ret JobLibraryMaven - return ret - }).(JobLibraryMavenOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o JobLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobLibraryMaven) *string { +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.Coordinates + return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o JobLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobLibraryMaven) []string { +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -func (o JobLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobLibraryMaven) *string { +func (o JobJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.Repo + return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobJobClusterNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// JobLibraryPypiInput is an input type that accepts JobLibraryPypiArgs and JobLibraryPypiOutput values. -// You can construct a concrete instance of `JobLibraryPypiInput` via: +// JobJobClusterNewClusterAzureAttributesInput is an input type that accepts JobJobClusterNewClusterAzureAttributesArgs and JobJobClusterNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesInput` via: // -// JobLibraryPypiArgs{...} -type JobLibraryPypiInput interface { +// JobJobClusterNewClusterAzureAttributesArgs{...} +type JobJobClusterNewClusterAzureAttributesInput interface { pulumi.Input - ToJobLibraryPypiOutput() JobLibraryPypiOutput - ToJobLibraryPypiOutputWithContext(context.Context) JobLibraryPypiOutput + ToJobJobClusterNewClusterAzureAttributesOutput() JobJobClusterNewClusterAzureAttributesOutput + ToJobJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesOutput } -type JobLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobJobClusterNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (JobLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibraryPypi)(nil)).Elem() +func (JobJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i JobLibraryPypiArgs) ToJobLibraryPypiOutput() JobLibraryPypiOutput { - return i.ToJobLibraryPypiOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesOutput() JobJobClusterNewClusterAzureAttributesOutput { + return i.ToJobJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i JobLibraryPypiArgs) ToJobLibraryPypiOutputWithContext(ctx context.Context) JobLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryPypiOutput) +func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesOutput) } -func (i JobLibraryPypiArgs) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { - return i.ToJobLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i JobLibraryPypiArgs) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryPypiOutput).ToJobLibraryPypiPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterAzureAttributesArgs) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesOutput).ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// JobLibraryPypiPtrInput is an input type that accepts JobLibraryPypiArgs, JobLibraryPypiPtr and JobLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobLibraryPypiPtrInput` via: +// JobJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts JobJobClusterNewClusterAzureAttributesArgs, JobJobClusterNewClusterAzureAttributesPtr and JobJobClusterNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesPtrInput` via: // -// JobLibraryPypiArgs{...} +// JobJobClusterNewClusterAzureAttributesArgs{...} // // or: // // nil -type JobLibraryPypiPtrInput interface { +type JobJobClusterNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput - ToJobLibraryPypiPtrOutputWithContext(context.Context) JobLibraryPypiPtrOutput + ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput + ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput } -type jobLibraryPypiPtrType JobLibraryPypiArgs +type jobJobClusterNewClusterAzureAttributesPtrType JobJobClusterNewClusterAzureAttributesArgs -func JobLibraryPypiPtr(v *JobLibraryPypiArgs) JobLibraryPypiPtrInput { - return (*jobLibraryPypiPtrType)(v) +func JobJobClusterNewClusterAzureAttributesPtr(v *JobJobClusterNewClusterAzureAttributesArgs) JobJobClusterNewClusterAzureAttributesPtrInput { + return (*jobJobClusterNewClusterAzureAttributesPtrType)(v) } -func (*jobLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobLibraryPypi)(nil)).Elem() +func (*jobJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i *jobLibraryPypiPtrType) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { - return i.ToJobLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterAzureAttributesPtrType) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *jobLibraryPypiPtrType) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobLibraryPypiPtrOutput) +func (i *jobJobClusterNewClusterAzureAttributesPtrType) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesPtrOutput) } -type JobLibraryPypiOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (JobLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobLibraryPypi)(nil)).Elem() +func (JobJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o JobLibraryPypiOutput) ToJobLibraryPypiOutput() JobLibraryPypiOutput { +func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesOutput() JobJobClusterNewClusterAzureAttributesOutput { return o } -func (o JobLibraryPypiOutput) ToJobLibraryPypiOutputWithContext(ctx context.Context) JobLibraryPypiOutput { +func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesOutput { return o } -func (o JobLibraryPypiOutput) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { - return o.ToJobLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { + return o.ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o JobLibraryPypiOutput) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobLibraryPypi) *JobLibraryPypi { +func (o JobJobClusterNewClusterAzureAttributesOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAzureAttributes) *JobJobClusterNewClusterAzureAttributes { return &v - }).(JobLibraryPypiPtrOutput) + }).(JobJobClusterNewClusterAzureAttributesPtrOutput) } -func (o JobLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o JobLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type JobLibraryPypiPtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +} -func (JobLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobLibraryPypi)(nil)).Elem() +func (o JobJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -func (o JobLibraryPypiPtrOutput) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { +type JobJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributes)(nil)).Elem() +} + +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutput() JobJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o JobLibraryPypiPtrOutput) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) ToJobJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o JobLibraryPypiPtrOutput) Elem() JobLibraryPypiOutput { - return o.ApplyT(func(v *JobLibraryPypi) JobLibraryPypi { +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) Elem() JobJobClusterNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) JobJobClusterNewClusterAzureAttributes { if v != nil { return *v } - var ret JobLibraryPypi + var ret JobJobClusterNewClusterAzureAttributes return ret - }).(JobLibraryPypiOutput) + }).(JobJobClusterNewClusterAzureAttributesOutput) } -func (o JobLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobLibraryPypi) *string { +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *string { if v == nil { return nil } - return &v.Package + return v.Availability }).(pulumi.StringPtrOutput) } -func (o JobLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobLibraryPypi) *string { +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -type JobNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *JobNewClusterAutoscale `pulumi:"autoscale"` - AwsAttributes *JobNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *JobNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *JobNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []JobNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *JobNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` - EnableElasticDisk *bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *JobNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []JobNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries []JobNewClusterLibrary `pulumi:"libraries"` - NodeTypeId *string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType *JobNewClusterWorkloadType `pulumi:"workloadType"` +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { + if v == nil { + return nil + } + return v.LogAnalyticsInfo + }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// JobNewClusterInput is an input type that accepts JobNewClusterArgs and JobNewClusterOutput values. -// You can construct a concrete instance of `JobNewClusterInput` via: +func (o JobJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +} + +// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs and JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput` via: // -// JobNewClusterArgs{...} -type JobNewClusterInput interface { +// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToJobNewClusterOutput() JobNewClusterOutput - ToJobNewClusterOutputWithContext(context.Context) JobNewClusterOutput + ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput + ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput } -type JobNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale JobNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AwsAttributes JobNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes JobNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf JobNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos JobNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage JobNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes JobNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts JobNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries JobNewClusterLibraryArrayInput `pulumi:"libraries"` - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType JobNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (JobNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewCluster)(nil)).Elem() +func (JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i JobNewClusterArgs) ToJobNewClusterOutput() JobNewClusterOutput { - return i.ToJobNewClusterOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { + return i.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i JobNewClusterArgs) ToJobNewClusterOutputWithContext(ctx context.Context) JobNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterOutput) +func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (i JobNewClusterArgs) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { - return i.ToJobNewClusterPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i JobNewClusterArgs) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterOutput).ToJobNewClusterPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// JobNewClusterPtrInput is an input type that accepts JobNewClusterArgs, JobNewClusterPtr and JobNewClusterPtrOutput values. -// You can construct a concrete instance of `JobNewClusterPtrInput` via: +// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs, JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtr and JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: // -// JobNewClusterArgs{...} +// JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type JobNewClusterPtrInput interface { +type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToJobNewClusterPtrOutput() JobNewClusterPtrOutput - ToJobNewClusterPtrOutputWithContext(context.Context) JobNewClusterPtrOutput + ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput } -type jobNewClusterPtrType JobNewClusterArgs +type jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs -func JobNewClusterPtr(v *JobNewClusterArgs) JobNewClusterPtrInput { - return (*jobNewClusterPtrType)(v) +func JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrInput { + return (*jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*jobNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewCluster)(nil)).Elem() +func (*jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *jobNewClusterPtrType) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { - return i.ToJobNewClusterPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterPtrType) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterPtrOutput) +func (i *jobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -type JobNewClusterOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (JobNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewCluster)(nil)).Elem() +func (JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobNewClusterOutput) ToJobNewClusterOutput() JobNewClusterOutput { +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobNewClusterOutput) ToJobNewClusterOutputWithContext(ctx context.Context) JobNewClusterOutput { +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobNewClusterOutput) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { - return o.ToJobNewClusterPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o JobNewClusterOutput) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewCluster) *JobNewCluster { +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { return &v - }).(JobNewClusterPtrOutput) + }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o JobNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) +} + +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) +} + +type JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobNewClusterOutput) Autoscale() JobNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterAutoscale { return v.Autoscale }).(JobNewClusterAutoscalePtrOutput) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o } -func (o JobNewClusterOutput) AwsAttributes() JobNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterAwsAttributes { return v.AwsAttributes }).(JobNewClusterAwsAttributesPtrOutput) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o } -func (o JobNewClusterOutput) AzureAttributes() JobNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterAzureAttributes { return v.AzureAttributes }).(JobNewClusterAzureAttributesPtrOutput) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo { + if v != nil { + return *v + } + var ret JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo + return ret + }).(JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (o JobNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { + if v == nil { + return nil + } + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterOutput) ClusterLogConf() JobNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterClusterLogConf { return v.ClusterLogConf }).(JobNewClusterClusterLogConfPtrOutput) +func (o JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo) *string { + if v == nil { + return nil + } + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterOutput) ClusterMountInfos() JobNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v JobNewCluster) []JobNewClusterClusterMountInfo { return v.ClusterMountInfos }).(JobNewClusterClusterMountInfoArrayOutput) +type JobJobClusterNewClusterClusterLogConf struct { + Dbfs *JobJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *JobJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` } -func (o JobNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) -} +// JobJobClusterNewClusterClusterLogConfInput is an input type that accepts JobJobClusterNewClusterClusterLogConfArgs and JobJobClusterNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfInput` via: +// +// JobJobClusterNewClusterClusterLogConfArgs{...} +type JobJobClusterNewClusterClusterLogConfInput interface { + pulumi.Input -func (o JobNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v JobNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) + ToJobJobClusterNewClusterClusterLogConfOutput() JobJobClusterNewClusterClusterLogConfOutput + ToJobJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfOutput } -func (o JobNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +type JobJobClusterNewClusterClusterLogConfArgs struct { + Dbfs JobJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 JobJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (o JobNewClusterOutput) DockerImage() JobNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterDockerImage { return v.DockerImage }).(JobNewClusterDockerImagePtrOutput) +func (JobJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o JobNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) +func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfOutput() JobJobClusterNewClusterClusterLogConfOutput { + return i.ToJobJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (o JobNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) +func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfOutput) } -func (o JobNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o JobNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func (i JobJobClusterNewClusterClusterLogConfArgs) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfOutput).ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) } -func (o JobNewClusterOutput) GcpAttributes() JobNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterGcpAttributes { return v.GcpAttributes }).(JobNewClusterGcpAttributesPtrOutput) -} +// JobJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts JobJobClusterNewClusterClusterLogConfArgs, JobJobClusterNewClusterClusterLogConfPtr and JobJobClusterNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfPtrInput` via: +// +// JobJobClusterNewClusterClusterLogConfArgs{...} +// +// or: +// +// nil +type JobJobClusterNewClusterClusterLogConfPtrInput interface { + pulumi.Input -func (o JobNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) + ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput + ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput } -func (o JobNewClusterOutput) InitScripts() JobNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v JobNewCluster) []JobNewClusterInitScript { return v.InitScripts }).(JobNewClusterInitScriptArrayOutput) -} +type jobJobClusterNewClusterClusterLogConfPtrType JobJobClusterNewClusterClusterLogConfArgs -func (o JobNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func JobJobClusterNewClusterClusterLogConfPtr(v *JobJobClusterNewClusterClusterLogConfArgs) JobJobClusterNewClusterClusterLogConfPtrInput { + return (*jobJobClusterNewClusterClusterLogConfPtrType)(v) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobNewClusterOutput) Libraries() JobNewClusterLibraryArrayOutput { - return o.ApplyT(func(v JobNewCluster) []JobNewClusterLibrary { return v.Libraries }).(JobNewClusterLibraryArrayOutput) +func (*jobJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o JobNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (i *jobJobClusterNewClusterClusterLogConfPtrType) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o JobNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (i *jobJobClusterNewClusterClusterLogConfPtrType) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfPtrOutput) } -func (o JobNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) -} +type JobJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (o JobNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (JobJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o JobNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfOutput() JobJobClusterNewClusterClusterLogConfOutput { + return o } -func (o JobNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v JobNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfOutput { + return o } -func (o JobNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v JobNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { + return o.ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o JobNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v JobNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterClusterLogConfOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConf { + return &v + }).(JobJobClusterNewClusterClusterLogConfPtrOutput) } -func (o JobNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o JobJobClusterNewClusterClusterLogConfOutput) Dbfs() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -// isn't supported -func (o JobNewClusterOutput) WorkloadType() JobNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v JobNewCluster) *JobNewClusterWorkloadType { return v.WorkloadType }).(JobNewClusterWorkloadTypePtrOutput) +func (o JobJobClusterNewClusterClusterLogConfOutput) S3() JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfS3 { return v.S3 }).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) } -type JobNewClusterPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewCluster)(nil)).Elem() +func (JobJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o JobNewClusterPtrOutput) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { +func (o JobJobClusterNewClusterClusterLogConfPtrOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutput() JobJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o JobNewClusterPtrOutput) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { +func (o JobJobClusterNewClusterClusterLogConfPtrOutput) ToJobJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o JobNewClusterPtrOutput) Elem() JobNewClusterOutput { - return o.ApplyT(func(v *JobNewCluster) JobNewCluster { +func (o JobJobClusterNewClusterClusterLogConfPtrOutput) Elem() JobJobClusterNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConf) JobJobClusterNewClusterClusterLogConf { if v != nil { return *v } - var ret JobNewCluster + var ret JobJobClusterNewClusterClusterLogConf return ret - }).(JobNewClusterOutput) + }).(JobJobClusterNewClusterClusterLogConfOutput) } -func (o JobNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *bool { +func (o JobJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfDbfs { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return v.Dbfs + }).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o JobNewClusterPtrOutput) Autoscale() JobNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterAutoscale { +func (o JobJobClusterNewClusterClusterLogConfPtrOutput) S3() JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConf) *JobJobClusterNewClusterClusterLogConfS3 { if v == nil { return nil } - return v.Autoscale - }).(JobNewClusterAutoscalePtrOutput) + return v.S3 + }).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) } -func (o JobNewClusterPtrOutput) AwsAttributes() JobNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(JobNewClusterAwsAttributesPtrOutput) +type JobJobClusterNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -func (o JobNewClusterPtrOutput) AzureAttributes() JobNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(JobNewClusterAzureAttributesPtrOutput) -} +// JobJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts JobJobClusterNewClusterClusterLogConfDbfsArgs and JobJobClusterNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfDbfsInput` via: +// +// JobJobClusterNewClusterClusterLogConfDbfsArgs{...} +type JobJobClusterNewClusterClusterLogConfDbfsInput interface { + pulumi.Input -func (o JobNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) + ToJobJobClusterNewClusterClusterLogConfDbfsOutput() JobJobClusterNewClusterClusterLogConfDbfsOutput + ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfDbfsOutput } -func (o JobNewClusterPtrOutput) ClusterLogConf() JobNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(JobNewClusterClusterLogConfPtrOutput) +type JobJobClusterNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o JobNewClusterPtrOutput) ClusterMountInfos() JobNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *JobNewCluster) []JobNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(JobNewClusterClusterMountInfoArrayOutput) +func (JobJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsOutput() JobJobClusterNewClusterClusterLogConfDbfsOutput { + return i.ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (o JobNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobNewCluster) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfDbfsOutput) } -func (o JobNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o JobNewClusterPtrOutput) DockerImage() JobNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(JobNewClusterDockerImagePtrOutput) +func (i JobJobClusterNewClusterClusterLogConfDbfsArgs) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfDbfsOutput).ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -func (o JobNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) -} +// JobJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobJobClusterNewClusterClusterLogConfDbfsArgs, JobJobClusterNewClusterClusterLogConfDbfsPtr and JobJobClusterNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfDbfsPtrInput` via: +// +// JobJobClusterNewClusterClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type JobJobClusterNewClusterClusterLogConfDbfsPtrInput interface { + pulumi.Input -func (o JobNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) + ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput } -func (o JobNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *bool { - if v == nil { - return nil - } - return v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) -} +type jobJobClusterNewClusterClusterLogConfDbfsPtrType JobJobClusterNewClusterClusterLogConfDbfsArgs -func (o JobNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *bool { - if v == nil { - return nil - } - return v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func JobJobClusterNewClusterClusterLogConfDbfsPtr(v *JobJobClusterNewClusterClusterLogConfDbfsArgs) JobJobClusterNewClusterClusterLogConfDbfsPtrInput { + return (*jobJobClusterNewClusterClusterLogConfDbfsPtrType)(v) } -func (o JobNewClusterPtrOutput) GcpAttributes() JobNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(JobNewClusterGcpAttributesPtrOutput) +func (*jobJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (i *jobJobClusterNewClusterClusterLogConfDbfsPtrType) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o JobNewClusterPtrOutput) InitScripts() JobNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *JobNewCluster) []JobNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(JobNewClusterInitScriptArrayOutput) +func (i *jobJobClusterNewClusterClusterLogConfDbfsPtrType) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o JobNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) -} +type JobJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobNewClusterPtrOutput) Libraries() JobNewClusterLibraryArrayOutput { - return o.ApplyT(func(v *JobNewCluster) []JobNewClusterLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(JobNewClusterLibraryArrayOutput) +func (JobJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.NodeTypeId - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsOutput() JobJobClusterNewClusterClusterLogConfDbfsOutput { + return o } -func (o JobNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsOutput { + return o } -func (o JobNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o JobNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterClusterLogConfDbfs) *JobJobClusterNewClusterClusterLogConfDbfs { + return &v + }).(JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o JobNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobNewCluster) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +type JobJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobNewCluster) map[string]string { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutput() JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o } -func (o JobNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewCluster) *string { - if v == nil { - return nil - } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToJobJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o } -func (o JobNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobNewCluster) []string { - if v == nil { - return nil +func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() JobJobClusterNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfDbfs) JobJobClusterNewClusterClusterLogConfDbfs { + if v != nil { + return *v } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + var ret JobJobClusterNewClusterClusterLogConfDbfs + return ret + }).(JobJobClusterNewClusterClusterLogConfDbfsOutput) } -// isn't supported -func (o JobNewClusterPtrOutput) WorkloadType() JobNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *JobNewCluster) *JobNewClusterWorkloadType { +func (o JobJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.WorkloadType - }).(JobNewClusterWorkloadTypePtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type JobNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type JobJobClusterNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobNewClusterAutoscaleInput is an input type that accepts JobNewClusterAutoscaleArgs and JobNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `JobNewClusterAutoscaleInput` via: +// JobJobClusterNewClusterClusterLogConfS3Input is an input type that accepts JobJobClusterNewClusterClusterLogConfS3Args and JobJobClusterNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfS3Input` via: // -// JobNewClusterAutoscaleArgs{...} -type JobNewClusterAutoscaleInput interface { +// JobJobClusterNewClusterClusterLogConfS3Args{...} +type JobJobClusterNewClusterClusterLogConfS3Input interface { pulumi.Input - ToJobNewClusterAutoscaleOutput() JobNewClusterAutoscaleOutput - ToJobNewClusterAutoscaleOutputWithContext(context.Context) JobNewClusterAutoscaleOutput + ToJobJobClusterNewClusterClusterLogConfS3Output() JobJobClusterNewClusterClusterLogConfS3Output + ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfS3Output } -type JobNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type JobJobClusterNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAutoscale)(nil)).Elem() +func (JobJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscaleOutput() JobNewClusterAutoscaleOutput { - return i.ToJobNewClusterAutoscaleOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3Output() JobJobClusterNewClusterClusterLogConfS3Output { + return i.ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscaleOutputWithContext(ctx context.Context) JobNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAutoscaleOutput) +func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfS3Output) } -func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { - return i.ToJobNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAutoscaleOutput).ToJobNewClusterAutoscalePtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterClusterLogConfS3Args) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfS3Output).ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// JobNewClusterAutoscalePtrInput is an input type that accepts JobNewClusterAutoscaleArgs, JobNewClusterAutoscalePtr and JobNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `JobNewClusterAutoscalePtrInput` via: +// JobJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts JobJobClusterNewClusterClusterLogConfS3Args, JobJobClusterNewClusterClusterLogConfS3Ptr and JobJobClusterNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterLogConfS3PtrInput` via: // -// JobNewClusterAutoscaleArgs{...} +// JobJobClusterNewClusterClusterLogConfS3Args{...} // // or: // // nil -type JobNewClusterAutoscalePtrInput interface { +type JobJobClusterNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput - ToJobNewClusterAutoscalePtrOutputWithContext(context.Context) JobNewClusterAutoscalePtrOutput + ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput + ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput } -type jobNewClusterAutoscalePtrType JobNewClusterAutoscaleArgs +type jobJobClusterNewClusterClusterLogConfS3PtrType JobJobClusterNewClusterClusterLogConfS3Args -func JobNewClusterAutoscalePtr(v *JobNewClusterAutoscaleArgs) JobNewClusterAutoscalePtrInput { - return (*jobNewClusterAutoscalePtrType)(v) +func JobJobClusterNewClusterClusterLogConfS3Ptr(v *JobJobClusterNewClusterClusterLogConfS3Args) JobJobClusterNewClusterClusterLogConfS3PtrInput { + return (*jobJobClusterNewClusterClusterLogConfS3PtrType)(v) } -func (*jobNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAutoscale)(nil)).Elem() +func (*jobJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *jobNewClusterAutoscalePtrType) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { - return i.ToJobNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterClusterLogConfS3PtrType) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *jobNewClusterAutoscalePtrType) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAutoscalePtrOutput) +func (i *jobJobClusterNewClusterClusterLogConfS3PtrType) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) } -type JobNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (JobNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAutoscale)(nil)).Elem() +func (JobJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscaleOutput() JobNewClusterAutoscaleOutput { +func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3Output() JobJobClusterNewClusterClusterLogConfS3Output { return o } -func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscaleOutputWithContext(ctx context.Context) JobNewClusterAutoscaleOutput { +func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3Output { return o } -func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { - return o.ToJobNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAutoscale) *JobNewClusterAutoscale { +func (o JobJobClusterNewClusterClusterLogConfS3Output) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterClusterLogConfS3) *JobJobClusterNewClusterClusterLogConfS3 { return &v - }).(JobNewClusterAutoscalePtrOutput) + }).(JobJobClusterNewClusterClusterLogConfS3PtrOutput) } -func (o JobNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o JobNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (JobNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAutoscale)(nil)).Elem() +func (o JobJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o JobNewClusterAutoscalePtrOutput) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { +func (o JobJobClusterNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o JobJobClusterNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o JobJobClusterNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type JobJobClusterNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) ToJobJobClusterNewClusterClusterLogConfS3PtrOutput() JobJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobNewClusterAutoscalePtrOutput) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) ToJobJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobNewClusterAutoscalePtrOutput) Elem() JobNewClusterAutoscaleOutput { - return o.ApplyT(func(v *JobNewClusterAutoscale) JobNewClusterAutoscale { +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() JobJobClusterNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) JobJobClusterNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret JobNewClusterAutoscale + var ret JobJobClusterNewClusterClusterLogConfS3 return ret - }).(JobNewClusterAutoscaleOutput) + }).(JobJobClusterNewClusterClusterLogConfS3Output) } -func (o JobNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAutoscale) *int { +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAutoscale) *int { +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) -} - -type JobNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` -} - -// JobNewClusterAwsAttributesInput is an input type that accepts JobNewClusterAwsAttributesArgs and JobNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `JobNewClusterAwsAttributesInput` via: -// -// JobNewClusterAwsAttributesArgs{...} -type JobNewClusterAwsAttributesInput interface { - pulumi.Input - - ToJobNewClusterAwsAttributesOutput() JobNewClusterAwsAttributesOutput - ToJobNewClusterAwsAttributesOutputWithContext(context.Context) JobNewClusterAwsAttributesOutput + return &v.Destination + }).(pulumi.StringPtrOutput) } -type JobNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (JobNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAwsAttributes)(nil)).Elem() +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesOutput() JobNewClusterAwsAttributesOutput { - return i.ToJobNewClusterAwsAttributesOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAwsAttributesOutput) +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { - return i.ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAwsAttributesOutput).ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx) +type JobJobClusterNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -// JobNewClusterAwsAttributesPtrInput is an input type that accepts JobNewClusterAwsAttributesArgs, JobNewClusterAwsAttributesPtr and JobNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `JobNewClusterAwsAttributesPtrInput` via: -// -// JobNewClusterAwsAttributesArgs{...} -// -// or: +// JobJobClusterNewClusterClusterMountInfoInput is an input type that accepts JobJobClusterNewClusterClusterMountInfoArgs and JobJobClusterNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterMountInfoInput` via: // -// nil -type JobNewClusterAwsAttributesPtrInput interface { +// JobJobClusterNewClusterClusterMountInfoArgs{...} +type JobJobClusterNewClusterClusterMountInfoInput interface { pulumi.Input - ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput - ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobNewClusterAwsAttributesPtrOutput + ToJobJobClusterNewClusterClusterMountInfoOutput() JobJobClusterNewClusterClusterMountInfoOutput + ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(context.Context) JobJobClusterNewClusterClusterMountInfoOutput } -type jobNewClusterAwsAttributesPtrType JobNewClusterAwsAttributesArgs - -func JobNewClusterAwsAttributesPtr(v *JobNewClusterAwsAttributesArgs) JobNewClusterAwsAttributesPtrInput { - return (*jobNewClusterAwsAttributesPtrType)(v) +type JobJobClusterNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (*jobNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAwsAttributes)(nil)).Elem() +func (JobJobClusterNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (i *jobNewClusterAwsAttributesPtrType) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { - return i.ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterClusterMountInfoArgs) ToJobJobClusterNewClusterClusterMountInfoOutput() JobJobClusterNewClusterClusterMountInfoOutput { + return i.ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i *jobNewClusterAwsAttributesPtrType) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAwsAttributesPtrOutput) +func (i JobJobClusterNewClusterClusterMountInfoArgs) ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterMountInfoOutput) } -type JobNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } - -func (JobNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAwsAttributes)(nil)).Elem() -} +// JobJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts JobJobClusterNewClusterClusterMountInfoArray and JobJobClusterNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterMountInfoArrayInput` via: +// +// JobJobClusterNewClusterClusterMountInfoArray{ JobJobClusterNewClusterClusterMountInfoArgs{...} } +type JobJobClusterNewClusterClusterMountInfoArrayInput interface { + pulumi.Input -func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesOutput() JobNewClusterAwsAttributesOutput { - return o + ToJobJobClusterNewClusterClusterMountInfoArrayOutput() JobJobClusterNewClusterClusterMountInfoArrayOutput + ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobJobClusterNewClusterClusterMountInfoArrayOutput } -func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesOutput { - return o -} +type JobJobClusterNewClusterClusterMountInfoArray []JobJobClusterNewClusterClusterMountInfoInput -func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { - return o.ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (JobJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAwsAttributes) *JobNewClusterAwsAttributes { - return &v - }).(JobNewClusterAwsAttributesPtrOutput) +func (i JobJobClusterNewClusterClusterMountInfoArray) ToJobJobClusterNewClusterClusterMountInfoArrayOutput() JobJobClusterNewClusterClusterMountInfoArrayOutput { + return i.ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (o JobNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (i JobJobClusterNewClusterClusterMountInfoArray) ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterMountInfoArrayOutput) } -func (o JobNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} +type JobJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (o JobNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +func (JobJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (o JobNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoOutput) ToJobJobClusterNewClusterClusterMountInfoOutput() JobJobClusterNewClusterClusterMountInfoOutput { + return o } -func (o JobNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoOutput) ToJobJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoOutput { + return o } -func (o JobNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -func (o JobNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfo) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o JobNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -func (o JobNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) -} +type JobJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (o JobNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (JobJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -type JobNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } - -func (JobNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAwsAttributes)(nil)).Elem() +func (o JobJobClusterNewClusterClusterMountInfoArrayOutput) ToJobJobClusterNewClusterClusterMountInfoArrayOutput() JobJobClusterNewClusterClusterMountInfoArrayOutput { + return o } -func (o JobNewClusterAwsAttributesPtrOutput) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { +func (o JobJobClusterNewClusterClusterMountInfoArrayOutput) ToJobJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoArrayOutput { return o } -func (o JobNewClusterAwsAttributesPtrOutput) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { - return o +func (o JobJobClusterNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobJobClusterNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobClusterNewClusterClusterMountInfo { + return vs[0].([]JobJobClusterNewClusterClusterMountInfo)[vs[1].(int)] + }).(JobJobClusterNewClusterClusterMountInfoOutput) } -func (o JobNewClusterAwsAttributesPtrOutput) Elem() JobNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) JobNewClusterAwsAttributes { - if v != nil { - return *v - } - var ret JobNewClusterAwsAttributes - return ret - }).(JobNewClusterAwsAttributesOutput) +type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o JobNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +// JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) +type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) +func (JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +func (i JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) +func (i JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) +type JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o JobNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o JobNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o JobNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o JobNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) } -type JobNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *JobNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type JobJobClusterNewClusterDockerImage struct { + BasicAuth *JobJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url string `pulumi:"url"` } -// JobNewClusterAzureAttributesInput is an input type that accepts JobNewClusterAzureAttributesArgs and JobNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `JobNewClusterAzureAttributesInput` via: +// JobJobClusterNewClusterDockerImageInput is an input type that accepts JobJobClusterNewClusterDockerImageArgs and JobJobClusterNewClusterDockerImageOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterDockerImageInput` via: // -// JobNewClusterAzureAttributesArgs{...} -type JobNewClusterAzureAttributesInput interface { +// JobJobClusterNewClusterDockerImageArgs{...} +type JobJobClusterNewClusterDockerImageInput interface { pulumi.Input - ToJobNewClusterAzureAttributesOutput() JobNewClusterAzureAttributesOutput - ToJobNewClusterAzureAttributesOutputWithContext(context.Context) JobNewClusterAzureAttributesOutput + ToJobJobClusterNewClusterDockerImageOutput() JobJobClusterNewClusterDockerImageOutput + ToJobJobClusterNewClusterDockerImageOutputWithContext(context.Context) JobJobClusterNewClusterDockerImageOutput } -type JobNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type JobJobClusterNewClusterDockerImageArgs struct { + BasicAuth JobJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url pulumi.StringInput `pulumi:"url"` } -func (JobNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAzureAttributes)(nil)).Elem() +func (JobJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesOutput() JobNewClusterAzureAttributesOutput { - return i.ToJobNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImageOutput() JobJobClusterNewClusterDockerImageOutput { + return i.ToJobJobClusterNewClusterDockerImageOutputWithContext(context.Background()) } -func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesOutput) +func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageOutput) } -func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { - return i.ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { + return i.ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesOutput).ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterDockerImageArgs) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageOutput).ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) } -// JobNewClusterAzureAttributesPtrInput is an input type that accepts JobNewClusterAzureAttributesArgs, JobNewClusterAzureAttributesPtr and JobNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `JobNewClusterAzureAttributesPtrInput` via: +// JobJobClusterNewClusterDockerImagePtrInput is an input type that accepts JobJobClusterNewClusterDockerImageArgs, JobJobClusterNewClusterDockerImagePtr and JobJobClusterNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterDockerImagePtrInput` via: // -// JobNewClusterAzureAttributesArgs{...} +// JobJobClusterNewClusterDockerImageArgs{...} // // or: // // nil -type JobNewClusterAzureAttributesPtrInput interface { +type JobJobClusterNewClusterDockerImagePtrInput interface { pulumi.Input - ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput - ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobNewClusterAzureAttributesPtrOutput + ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput + ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) JobJobClusterNewClusterDockerImagePtrOutput } -type jobNewClusterAzureAttributesPtrType JobNewClusterAzureAttributesArgs +type jobJobClusterNewClusterDockerImagePtrType JobJobClusterNewClusterDockerImageArgs -func JobNewClusterAzureAttributesPtr(v *JobNewClusterAzureAttributesArgs) JobNewClusterAzureAttributesPtrInput { - return (*jobNewClusterAzureAttributesPtrType)(v) +func JobJobClusterNewClusterDockerImagePtr(v *JobJobClusterNewClusterDockerImageArgs) JobJobClusterNewClusterDockerImagePtrInput { + return (*jobJobClusterNewClusterDockerImagePtrType)(v) } -func (*jobNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAzureAttributes)(nil)).Elem() +func (*jobJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i *jobNewClusterAzureAttributesPtrType) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { - return i.ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterDockerImagePtrType) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { + return i.ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *jobNewClusterAzureAttributesPtrType) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesPtrOutput) +func (i *jobJobClusterNewClusterDockerImagePtrType) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImagePtrOutput) } -type JobNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (JobNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAzureAttributes)(nil)).Elem() +func (JobJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesOutput() JobNewClusterAzureAttributesOutput { +func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImageOutput() JobJobClusterNewClusterDockerImageOutput { return o } -func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesOutput { +func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageOutput { return o } -func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { - return o.ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { + return o.ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAzureAttributes) *JobNewClusterAzureAttributes { +func (o JobJobClusterNewClusterDockerImageOutput) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterDockerImage) *JobJobClusterNewClusterDockerImage { return &v - }).(JobNewClusterAzureAttributesPtrOutput) -} - -func (o JobNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(JobJobClusterNewClusterDockerImagePtrOutput) } -func (o JobNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v JobNewClusterAzureAttributes) *JobNewClusterAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (o JobJobClusterNewClusterDockerImageOutput) BasicAuth() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterDockerImage) *JobJobClusterNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -func (o JobNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v JobNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// URL of the job on the given workspace +func (o JobJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type JobNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAzureAttributes)(nil)).Elem() +func (JobJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o JobNewClusterAzureAttributesPtrOutput) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { +func (o JobJobClusterNewClusterDockerImagePtrOutput) ToJobJobClusterNewClusterDockerImagePtrOutput() JobJobClusterNewClusterDockerImagePtrOutput { return o } -func (o JobNewClusterAzureAttributesPtrOutput) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { +func (o JobJobClusterNewClusterDockerImagePtrOutput) ToJobJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImagePtrOutput { return o } -func (o JobNewClusterAzureAttributesPtrOutput) Elem() JobNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributes) JobNewClusterAzureAttributes { +func (o JobJobClusterNewClusterDockerImagePtrOutput) Elem() JobJobClusterNewClusterDockerImageOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterDockerImage) JobJobClusterNewClusterDockerImage { if v != nil { return *v } - var ret JobNewClusterAzureAttributes + var ret JobJobClusterNewClusterDockerImage return ret - }).(JobNewClusterAzureAttributesOutput) -} - -func (o JobNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + }).(JobJobClusterNewClusterDockerImageOutput) } -func (o JobNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributes) *JobNewClusterAzureAttributesLogAnalyticsInfo { +func (o JobJobClusterNewClusterDockerImagePtrOutput) BasicAuth() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterDockerImage) *JobJobClusterNewClusterDockerImageBasicAuth { if v == nil { return nil } - return v.LogAnalyticsInfo - }).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) + return v.BasicAuth + }).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -func (o JobNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributes) *float64 { +// URL of the job on the given workspace +func (o JobJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterDockerImage) *string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return &v.Url + }).(pulumi.StringPtrOutput) } -type JobNewClusterAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +type JobJobClusterNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// JobNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobNewClusterAzureAttributesLogAnalyticsInfoArgs and JobNewClusterAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `JobNewClusterAzureAttributesLogAnalyticsInfoInput` via: +// JobJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts JobJobClusterNewClusterDockerImageBasicAuthArgs and JobJobClusterNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterDockerImageBasicAuthInput` via: // -// JobNewClusterAzureAttributesLogAnalyticsInfoArgs{...} -type JobNewClusterAzureAttributesLogAnalyticsInfoInput interface { +// JobJobClusterNewClusterDockerImageBasicAuthArgs{...} +type JobJobClusterNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToJobNewClusterAzureAttributesLogAnalyticsInfoOutput() JobNewClusterAzureAttributesLogAnalyticsInfoOutput - ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoOutput + ToJobJobClusterNewClusterDockerImageBasicAuthOutput() JobJobClusterNewClusterDockerImageBasicAuthOutput + ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobJobClusterNewClusterDockerImageBasicAuthOutput } -type JobNewClusterAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type JobJobClusterNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutput() JobNewClusterAzureAttributesLogAnalyticsInfoOutput { - return i.ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthOutput() JobJobClusterNewClusterDockerImageBasicAuthOutput { + return i.ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesLogAnalyticsInfoOutput) +func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageBasicAuthOutput) } -func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterDockerImageBasicAuthArgs) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageBasicAuthOutput).ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobNewClusterAzureAttributesLogAnalyticsInfoArgs, JobNewClusterAzureAttributesLogAnalyticsInfoPtr and JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: +// JobJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobJobClusterNewClusterDockerImageBasicAuthArgs, JobJobClusterNewClusterDockerImageBasicAuthPtr and JobJobClusterNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterDockerImageBasicAuthPtrInput` via: // -// JobNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +// JobJobClusterNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { +type JobJobClusterNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput - ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput } -type jobNewClusterAzureAttributesLogAnalyticsInfoPtrType JobNewClusterAzureAttributesLogAnalyticsInfoArgs +type jobJobClusterNewClusterDockerImageBasicAuthPtrType JobJobClusterNewClusterDockerImageBasicAuthArgs -func JobNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobNewClusterAzureAttributesLogAnalyticsInfoArgs) JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput { - return (*jobNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) +func JobJobClusterNewClusterDockerImageBasicAuthPtr(v *JobJobClusterNewClusterDockerImageBasicAuthArgs) JobJobClusterNewClusterDockerImageBasicAuthPtrInput { + return (*jobJobClusterNewClusterDockerImageBasicAuthPtrType)(v) } -func (*jobNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*jobJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *jobNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterDockerImageBasicAuthPtrType) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *jobJobClusterNewClusterDockerImageBasicAuthPtrType) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -type JobNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutput() JobNewClusterAzureAttributesLogAnalyticsInfoOutput { +func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthOutput() JobJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoOutput { +func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAzureAttributesLogAnalyticsInfo) *JobNewClusterAzureAttributesLogAnalyticsInfo { +func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterDockerImageBasicAuth) *JobJobClusterNewClusterDockerImageBasicAuth { return &v - }).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) + }).(JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -type JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutput() JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToJobJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobNewClusterAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributesLogAnalyticsInfo) JobNewClusterAzureAttributesLogAnalyticsInfo { +func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() JobJobClusterNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterDockerImageBasicAuth) JobJobClusterNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret JobNewClusterAzureAttributesLogAnalyticsInfo + var ret JobJobClusterNewClusterDockerImageBasicAuth return ret - }).(JobNewClusterAzureAttributesLogAnalyticsInfoOutput) + }).(JobJobClusterNewClusterDockerImageBasicAuthOutput) } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributesLogAnalyticsInfo) *string { +func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey + return &v.Password }).(pulumi.StringPtrOutput) } -func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterAzureAttributesLogAnalyticsInfo) *string { +func (o JobJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId + return &v.Username }).(pulumi.StringPtrOutput) } -type JobNewClusterClusterLogConf struct { - Dbfs *JobNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *JobNewClusterClusterLogConfS3 `pulumi:"s3"` +type JobJobClusterNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` } -// JobNewClusterClusterLogConfInput is an input type that accepts JobNewClusterClusterLogConfArgs and JobNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `JobNewClusterClusterLogConfInput` via: +// JobJobClusterNewClusterGcpAttributesInput is an input type that accepts JobJobClusterNewClusterGcpAttributesArgs and JobJobClusterNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterGcpAttributesInput` via: // -// JobNewClusterClusterLogConfArgs{...} -type JobNewClusterClusterLogConfInput interface { +// JobJobClusterNewClusterGcpAttributesArgs{...} +type JobJobClusterNewClusterGcpAttributesInput interface { pulumi.Input - ToJobNewClusterClusterLogConfOutput() JobNewClusterClusterLogConfOutput - ToJobNewClusterClusterLogConfOutputWithContext(context.Context) JobNewClusterClusterLogConfOutput + ToJobJobClusterNewClusterGcpAttributesOutput() JobJobClusterNewClusterGcpAttributesOutput + ToJobJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) JobJobClusterNewClusterGcpAttributesOutput } -type JobNewClusterClusterLogConfArgs struct { - Dbfs JobNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 JobNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type JobJobClusterNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (JobNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterLogConf)(nil)).Elem() +func (JobJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfOutput() JobNewClusterClusterLogConfOutput { - return i.ToJobNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesOutput() JobJobClusterNewClusterGcpAttributesOutput { + return i.ToJobJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfOutput) +func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterGcpAttributesOutput) } -func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { - return i.ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfOutput).ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterGcpAttributesArgs) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterGcpAttributesOutput).ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// JobNewClusterClusterLogConfPtrInput is an input type that accepts JobNewClusterClusterLogConfArgs, JobNewClusterClusterLogConfPtr and JobNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `JobNewClusterClusterLogConfPtrInput` via: +// JobJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts JobJobClusterNewClusterGcpAttributesArgs, JobJobClusterNewClusterGcpAttributesPtr and JobJobClusterNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterGcpAttributesPtrInput` via: // -// JobNewClusterClusterLogConfArgs{...} +// JobJobClusterNewClusterGcpAttributesArgs{...} // // or: // // nil -type JobNewClusterClusterLogConfPtrInput interface { +type JobJobClusterNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput - ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobNewClusterClusterLogConfPtrOutput + ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput + ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput } -type jobNewClusterClusterLogConfPtrType JobNewClusterClusterLogConfArgs +type jobJobClusterNewClusterGcpAttributesPtrType JobJobClusterNewClusterGcpAttributesArgs -func JobNewClusterClusterLogConfPtr(v *JobNewClusterClusterLogConfArgs) JobNewClusterClusterLogConfPtrInput { - return (*jobNewClusterClusterLogConfPtrType)(v) +func JobJobClusterNewClusterGcpAttributesPtr(v *JobJobClusterNewClusterGcpAttributesArgs) JobJobClusterNewClusterGcpAttributesPtrInput { + return (*jobJobClusterNewClusterGcpAttributesPtrType)(v) } -func (*jobNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterClusterLogConf)(nil)).Elem() +func (*jobJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i *jobNewClusterClusterLogConfPtrType) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { - return i.ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterGcpAttributesPtrType) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterClusterLogConfPtrType) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfPtrOutput) +func (i *jobJobClusterNewClusterGcpAttributesPtrType) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterGcpAttributesPtrOutput) } -type JobNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (JobNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterLogConf)(nil)).Elem() +func (JobJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfOutput() JobNewClusterClusterLogConfOutput { +func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesOutput() JobJobClusterNewClusterGcpAttributesOutput { return o } -func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfOutput { +func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesOutput { return o } -func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { - return o.ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { + return o.ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterClusterLogConf) *JobNewClusterClusterLogConf { +func (o JobJobClusterNewClusterGcpAttributesOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterGcpAttributes) *JobJobClusterNewClusterGcpAttributes { return &v - }).(JobNewClusterClusterLogConfPtrOutput) + }).(JobJobClusterNewClusterGcpAttributesPtrOutput) } -func (o JobNewClusterClusterLogConfOutput) Dbfs() JobNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfDbfs { return v.Dbfs }).(JobNewClusterClusterLogConfDbfsPtrOutput) +func (o JobJobClusterNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o JobNewClusterClusterLogConfOutput) S3() JobNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfS3 { return v.S3 }).(JobNewClusterClusterLogConfS3PtrOutput) +func (o JobJobClusterNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -type JobNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +} -func (JobNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterClusterLogConf)(nil)).Elem() +func (o JobJobClusterNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o JobNewClusterClusterLogConfPtrOutput) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { +func (o JobJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} + +func (o JobJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type JobJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterGcpAttributes)(nil)).Elem() +} + +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutput() JobJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o JobNewClusterClusterLogConfPtrOutput) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) ToJobJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o JobNewClusterClusterLogConfPtrOutput) Elem() JobNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConf) JobNewClusterClusterLogConf { +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) Elem() JobJobClusterNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) JobJobClusterNewClusterGcpAttributes { if v != nil { return *v } - var ret JobNewClusterClusterLogConf + var ret JobJobClusterNewClusterGcpAttributes return ret - }).(JobNewClusterClusterLogConfOutput) + }).(JobJobClusterNewClusterGcpAttributesOutput) } -func (o JobNewClusterClusterLogConfPtrOutput) Dbfs() JobNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfDbfs { +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.Dbfs - }).(JobNewClusterClusterLogConfDbfsPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterClusterLogConfPtrOutput) S3() JobNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfS3 { +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *int { if v == nil { return nil } - return v.S3 - }).(JobNewClusterClusterLogConfS3PtrOutput) + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -type JobNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -// JobNewClusterClusterLogConfDbfsInput is an input type that accepts JobNewClusterClusterLogConfDbfsArgs and JobNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `JobNewClusterClusterLogConfDbfsInput` via: -// -// JobNewClusterClusterLogConfDbfsArgs{...} -type JobNewClusterClusterLogConfDbfsInput interface { - pulumi.Input +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} - ToJobNewClusterClusterLogConfDbfsOutput() JobNewClusterClusterLogConfDbfsOutput - ToJobNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobNewClusterClusterLogConfDbfsOutput +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -type JobNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o JobJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (JobNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterLogConfDbfs)(nil)).Elem() +type JobJobClusterNewClusterInitScript struct { + Abfss *JobJobClusterNewClusterInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *JobJobClusterNewClusterInitScriptDbfs `pulumi:"dbfs"` + // block consisting of single string fields: + File *JobJobClusterNewClusterInitScriptFile `pulumi:"file"` + Gcs *JobJobClusterNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *JobJobClusterNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *JobJobClusterNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *JobJobClusterNewClusterInitScriptWorkspace `pulumi:"workspace"` } -func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsOutput() JobNewClusterClusterLogConfDbfsOutput { - return i.ToJobNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +// JobJobClusterNewClusterInitScriptInput is an input type that accepts JobJobClusterNewClusterInitScriptArgs and JobJobClusterNewClusterInitScriptOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptInput` via: +// +// JobJobClusterNewClusterInitScriptArgs{...} +type JobJobClusterNewClusterInitScriptInput interface { + pulumi.Input + + ToJobJobClusterNewClusterInitScriptOutput() JobJobClusterNewClusterInitScriptOutput + ToJobJobClusterNewClusterInitScriptOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptOutput } -func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfDbfsOutput) +type JobJobClusterNewClusterInitScriptArgs struct { + Abfss JobJobClusterNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs JobJobClusterNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + // block consisting of single string fields: + File JobJobClusterNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs JobJobClusterNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 JobJobClusterNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes JobJobClusterNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace JobJobClusterNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (JobJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScript)(nil)).Elem() } -func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfDbfsOutput).ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterInitScriptArgs) ToJobJobClusterNewClusterInitScriptOutput() JobJobClusterNewClusterInitScriptOutput { + return i.ToJobJobClusterNewClusterInitScriptOutputWithContext(context.Background()) } -// JobNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobNewClusterClusterLogConfDbfsArgs, JobNewClusterClusterLogConfDbfsPtr and JobNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `JobNewClusterClusterLogConfDbfsPtrInput` via: -// -// JobNewClusterClusterLogConfDbfsArgs{...} -// -// or: +func (i JobJobClusterNewClusterInitScriptArgs) ToJobJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptOutput) +} + +// JobJobClusterNewClusterInitScriptArrayInput is an input type that accepts JobJobClusterNewClusterInitScriptArray and JobJobClusterNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptArrayInput` via: // -// nil -type JobNewClusterClusterLogConfDbfsPtrInput interface { +// JobJobClusterNewClusterInitScriptArray{ JobJobClusterNewClusterInitScriptArgs{...} } +type JobJobClusterNewClusterInitScriptArrayInput interface { pulumi.Input - ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput - ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobNewClusterClusterLogConfDbfsPtrOutput + ToJobJobClusterNewClusterInitScriptArrayOutput() JobJobClusterNewClusterInitScriptArrayOutput + ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptArrayOutput } -type jobNewClusterClusterLogConfDbfsPtrType JobNewClusterClusterLogConfDbfsArgs +type JobJobClusterNewClusterInitScriptArray []JobJobClusterNewClusterInitScriptInput -func JobNewClusterClusterLogConfDbfsPtr(v *JobNewClusterClusterLogConfDbfsArgs) JobNewClusterClusterLogConfDbfsPtrInput { - return (*jobNewClusterClusterLogConfDbfsPtrType)(v) +func (JobJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobClusterNewClusterInitScript)(nil)).Elem() } -func (*jobNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterClusterLogConfDbfs)(nil)).Elem() +func (i JobJobClusterNewClusterInitScriptArray) ToJobJobClusterNewClusterInitScriptArrayOutput() JobJobClusterNewClusterInitScriptArrayOutput { + return i.ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) +} + +func (i JobJobClusterNewClusterInitScriptArray) ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptArrayOutput) +} + +type JobJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScript)(nil)).Elem() } -func (i *jobNewClusterClusterLogConfDbfsPtrType) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptOutput) ToJobJobClusterNewClusterInitScriptOutput() JobJobClusterNewClusterInitScriptOutput { + return o } -func (i *jobNewClusterClusterLogConfDbfsPtrType) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfDbfsPtrOutput) +func (o JobJobClusterNewClusterInitScriptOutput) ToJobJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptOutput { + return o } -type JobNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterInitScriptOutput) Abfss() JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptAbfss { return v.Abfss }).(JobJobClusterNewClusterInitScriptAbfssPtrOutput) +} -func (JobNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterLogConfDbfs)(nil)).Elem() +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o JobJobClusterNewClusterInitScriptOutput) Dbfs() JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptDbfs { return v.Dbfs }).(JobJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsOutput() JobNewClusterClusterLogConfDbfsOutput { - return o +// block consisting of single string fields: +func (o JobJobClusterNewClusterInitScriptOutput) File() JobJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptFile { return v.File }).(JobJobClusterNewClusterInitScriptFilePtrOutput) } -func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsOutput { - return o +func (o JobJobClusterNewClusterInitScriptOutput) Gcs() JobJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptGcs { return v.Gcs }).(JobJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { - return o.ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptOutput) S3() JobJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptS3 { return v.S3 }).(JobJobClusterNewClusterInitScriptS3PtrOutput) } -func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterClusterLogConfDbfs) *JobNewClusterClusterLogConfDbfs { - return &v - }).(JobNewClusterClusterLogConfDbfsPtrOutput) +func (o JobJobClusterNewClusterInitScriptOutput) Volumes() JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptVolumes { return v.Volumes }).(JobJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o JobNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterInitScriptOutput) Workspace() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScript) *JobJobClusterNewClusterInitScriptWorkspace { + return v.Workspace + }).(JobJobClusterNewClusterInitScriptWorkspacePtrOutput) } -type JobNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (JobNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterClusterLogConfDbfs)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobClusterNewClusterInitScript)(nil)).Elem() } -func (o JobNewClusterClusterLogConfDbfsPtrOutput) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { +func (o JobJobClusterNewClusterInitScriptArrayOutput) ToJobJobClusterNewClusterInitScriptArrayOutput() JobJobClusterNewClusterInitScriptArrayOutput { return o } -func (o JobNewClusterClusterLogConfDbfsPtrOutput) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { +func (o JobJobClusterNewClusterInitScriptArrayOutput) ToJobJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptArrayOutput { return o } -func (o JobNewClusterClusterLogConfDbfsPtrOutput) Elem() JobNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfDbfs) JobNewClusterClusterLogConfDbfs { - if v != nil { - return *v - } - var ret JobNewClusterClusterLogConfDbfs - return ret - }).(JobNewClusterClusterLogConfDbfsOutput) -} - -func (o JobNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobJobClusterNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobClusterNewClusterInitScript { + return vs[0].([]JobJobClusterNewClusterInitScript)[vs[1].(int)] + }).(JobJobClusterNewClusterInitScriptOutput) } -type JobNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type JobJobClusterNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// JobNewClusterClusterLogConfS3Input is an input type that accepts JobNewClusterClusterLogConfS3Args and JobNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `JobNewClusterClusterLogConfS3Input` via: +// JobJobClusterNewClusterInitScriptAbfssInput is an input type that accepts JobJobClusterNewClusterInitScriptAbfssArgs and JobJobClusterNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptAbfssInput` via: // -// JobNewClusterClusterLogConfS3Args{...} -type JobNewClusterClusterLogConfS3Input interface { +// JobJobClusterNewClusterInitScriptAbfssArgs{...} +type JobJobClusterNewClusterInitScriptAbfssInput interface { pulumi.Input - ToJobNewClusterClusterLogConfS3Output() JobNewClusterClusterLogConfS3Output - ToJobNewClusterClusterLogConfS3OutputWithContext(context.Context) JobNewClusterClusterLogConfS3Output + ToJobJobClusterNewClusterInitScriptAbfssOutput() JobJobClusterNewClusterInitScriptAbfssOutput + ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptAbfssOutput } -type JobNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobJobClusterNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterLogConfS3)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3Output() JobNewClusterClusterLogConfS3Output { - return i.ToJobNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssOutput() JobJobClusterNewClusterInitScriptAbfssOutput { + return i.ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfS3Output) +func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptAbfssOutput) } -func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { - return i.ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfS3Output).ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterInitScriptAbfssArgs) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptAbfssOutput).ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// JobNewClusterClusterLogConfS3PtrInput is an input type that accepts JobNewClusterClusterLogConfS3Args, JobNewClusterClusterLogConfS3Ptr and JobNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `JobNewClusterClusterLogConfS3PtrInput` via: +// JobJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptAbfssArgs, JobJobClusterNewClusterInitScriptAbfssPtr and JobJobClusterNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptAbfssPtrInput` via: // -// JobNewClusterClusterLogConfS3Args{...} +// JobJobClusterNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type JobNewClusterClusterLogConfS3PtrInput interface { +type JobJobClusterNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput - ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobNewClusterClusterLogConfS3PtrOutput + ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput + ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput } -type jobNewClusterClusterLogConfS3PtrType JobNewClusterClusterLogConfS3Args +type jobJobClusterNewClusterInitScriptAbfssPtrType JobJobClusterNewClusterInitScriptAbfssArgs -func JobNewClusterClusterLogConfS3Ptr(v *JobNewClusterClusterLogConfS3Args) JobNewClusterClusterLogConfS3PtrInput { - return (*jobNewClusterClusterLogConfS3PtrType)(v) +func JobJobClusterNewClusterInitScriptAbfssPtr(v *JobJobClusterNewClusterInitScriptAbfssArgs) JobJobClusterNewClusterInitScriptAbfssPtrInput { + return (*jobJobClusterNewClusterInitScriptAbfssPtrType)(v) } -func (*jobNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterClusterLogConfS3)(nil)).Elem() +func (*jobJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *jobNewClusterClusterLogConfS3PtrType) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { - return i.ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterInitScriptAbfssPtrType) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterClusterLogConfS3PtrType) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfS3PtrOutput) +func (i *jobJobClusterNewClusterInitScriptAbfssPtrType) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptAbfssPtrOutput) } -type JobNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (JobNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterLogConfS3)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3Output() JobNewClusterClusterLogConfS3Output { +func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssOutput() JobJobClusterNewClusterInitScriptAbfssOutput { return o } -func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3Output { +func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssOutput { return o } -func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { - return o.ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterClusterLogConfS3) *JobNewClusterClusterLogConfS3 { +func (o JobJobClusterNewClusterInitScriptAbfssOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptAbfss) *JobJobClusterNewClusterInitScriptAbfss { return &v - }).(JobNewClusterClusterLogConfS3PtrOutput) -} - -func (o JobNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o JobNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) + }).(JobJobClusterNewClusterInitScriptAbfssPtrOutput) } -func (o JobNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterClusterLogConfS3)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobNewClusterClusterLogConfS3PtrOutput) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { +func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutput() JobJobClusterNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobNewClusterClusterLogConfS3PtrOutput) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { +func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) ToJobJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobNewClusterClusterLogConfS3PtrOutput) Elem() JobNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) JobNewClusterClusterLogConfS3 { +func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() JobJobClusterNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptAbfss) JobJobClusterNewClusterInitScriptAbfss { if v != nil { return *v } - var ret JobNewClusterClusterLogConfS3 + var ret JobJobClusterNewClusterInitScriptAbfss return ret - }).(JobNewClusterClusterLogConfS3Output) -} - -func (o JobNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + }).(JobJobClusterNewClusterInitScriptAbfssOutput) } -func (o JobNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { +func (o JobJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptAbfss) *string { if v == nil { return nil } @@ -19268,984 +18051,887 @@ func (o JobNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOu }).(pulumi.StringPtrOutput) } -func (o JobNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type JobNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type JobJobClusterNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// JobNewClusterClusterMountInfoInput is an input type that accepts JobNewClusterClusterMountInfoArgs and JobNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `JobNewClusterClusterMountInfoInput` via: +// JobJobClusterNewClusterInitScriptDbfsInput is an input type that accepts JobJobClusterNewClusterInitScriptDbfsArgs and JobJobClusterNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptDbfsInput` via: // -// JobNewClusterClusterMountInfoArgs{...} -type JobNewClusterClusterMountInfoInput interface { +// JobJobClusterNewClusterInitScriptDbfsArgs{...} +type JobJobClusterNewClusterInitScriptDbfsInput interface { pulumi.Input - ToJobNewClusterClusterMountInfoOutput() JobNewClusterClusterMountInfoOutput - ToJobNewClusterClusterMountInfoOutputWithContext(context.Context) JobNewClusterClusterMountInfoOutput -} - -type JobNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (JobNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterMountInfo)(nil)).Elem() + ToJobJobClusterNewClusterInitScriptDbfsOutput() JobJobClusterNewClusterInitScriptDbfsOutput + ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptDbfsOutput } -func (i JobNewClusterClusterMountInfoArgs) ToJobNewClusterClusterMountInfoOutput() JobNewClusterClusterMountInfoOutput { - return i.ToJobNewClusterClusterMountInfoOutputWithContext(context.Background()) +type JobJobClusterNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (i JobNewClusterClusterMountInfoArgs) ToJobNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterMountInfoOutput) +func (JobJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -// JobNewClusterClusterMountInfoArrayInput is an input type that accepts JobNewClusterClusterMountInfoArray and JobNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `JobNewClusterClusterMountInfoArrayInput` via: -// -// JobNewClusterClusterMountInfoArray{ JobNewClusterClusterMountInfoArgs{...} } -type JobNewClusterClusterMountInfoArrayInput interface { - pulumi.Input - - ToJobNewClusterClusterMountInfoArrayOutput() JobNewClusterClusterMountInfoArrayOutput - ToJobNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobNewClusterClusterMountInfoArrayOutput +func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsOutput() JobJobClusterNewClusterInitScriptDbfsOutput { + return i.ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -type JobNewClusterClusterMountInfoArray []JobNewClusterClusterMountInfoInput - -func (JobNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobNewClusterClusterMountInfo)(nil)).Elem() +func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptDbfsOutput) } -func (i JobNewClusterClusterMountInfoArray) ToJobNewClusterClusterMountInfoArrayOutput() JobNewClusterClusterMountInfoArrayOutput { - return i.ToJobNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i JobNewClusterClusterMountInfoArray) ToJobNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterMountInfoArrayOutput) +func (i JobJobClusterNewClusterInitScriptDbfsArgs) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptDbfsOutput).ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -type JobNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +// JobJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptDbfsArgs, JobJobClusterNewClusterInitScriptDbfsPtr and JobJobClusterNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptDbfsPtrInput` via: +// +// JobJobClusterNewClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type JobJobClusterNewClusterInitScriptDbfsPtrInput interface { + pulumi.Input -func (JobNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterMountInfo)(nil)).Elem() + ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput + ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput } -func (o JobNewClusterClusterMountInfoOutput) ToJobNewClusterClusterMountInfoOutput() JobNewClusterClusterMountInfoOutput { - return o -} +type jobJobClusterNewClusterInitScriptDbfsPtrType JobJobClusterNewClusterInitScriptDbfsArgs -func (o JobNewClusterClusterMountInfoOutput) ToJobNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoOutput { - return o +func JobJobClusterNewClusterInitScriptDbfsPtr(v *JobJobClusterNewClusterInitScriptDbfsArgs) JobJobClusterNewClusterInitScriptDbfsPtrInput { + return (*jobJobClusterNewClusterInitScriptDbfsPtrType)(v) } -func (o JobNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +func (*jobJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v JobNewClusterClusterMountInfo) JobNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *jobJobClusterNewClusterInitScriptDbfsPtrType) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o JobNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +func (i *jobJobClusterNewClusterInitScriptDbfsPtrType) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptDbfsPtrOutput) } -type JobNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (JobNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobNewClusterClusterMountInfo)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobNewClusterClusterMountInfoArrayOutput) ToJobNewClusterClusterMountInfoArrayOutput() JobNewClusterClusterMountInfoArrayOutput { +func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsOutput() JobJobClusterNewClusterInitScriptDbfsOutput { return o } -func (o JobNewClusterClusterMountInfoArrayOutput) ToJobNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoArrayOutput { +func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsOutput { return o } -func (o JobNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNewClusterClusterMountInfo { - return vs[0].([]JobNewClusterClusterMountInfo)[vs[1].(int)] - }).(JobNewClusterClusterMountInfoOutput) -} - -type JobNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` -} - -// JobNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `JobNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type JobNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput -} - -type JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` -} - -func (JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptDbfsOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptDbfs) *JobJobClusterNewClusterInitScriptDbfs { + return &v + }).(JobJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (i JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o JobJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutput() JobJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) ToJobJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() JobJobClusterNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptDbfs) JobJobClusterNewClusterInitScriptDbfs { + if v != nil { + return *v + } + var ret JobJobClusterNewClusterInitScriptDbfs + return ret + }).(JobJobClusterNewClusterInitScriptDbfsOutput) } -func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -type JobNewClusterDockerImage struct { - BasicAuth *JobNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url string `pulumi:"url"` +type JobJobClusterNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// JobNewClusterDockerImageInput is an input type that accepts JobNewClusterDockerImageArgs and JobNewClusterDockerImageOutput values. -// You can construct a concrete instance of `JobNewClusterDockerImageInput` via: +// JobJobClusterNewClusterInitScriptFileInput is an input type that accepts JobJobClusterNewClusterInitScriptFileArgs and JobJobClusterNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptFileInput` via: // -// JobNewClusterDockerImageArgs{...} -type JobNewClusterDockerImageInput interface { +// JobJobClusterNewClusterInitScriptFileArgs{...} +type JobJobClusterNewClusterInitScriptFileInput interface { pulumi.Input - ToJobNewClusterDockerImageOutput() JobNewClusterDockerImageOutput - ToJobNewClusterDockerImageOutputWithContext(context.Context) JobNewClusterDockerImageOutput + ToJobJobClusterNewClusterInitScriptFileOutput() JobJobClusterNewClusterInitScriptFileOutput + ToJobJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptFileOutput } -type JobNewClusterDockerImageArgs struct { - BasicAuth JobNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url pulumi.StringInput `pulumi:"url"` +type JobJobClusterNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterDockerImage)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImageOutput() JobNewClusterDockerImageOutput { - return i.ToJobNewClusterDockerImageOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFileOutput() JobJobClusterNewClusterInitScriptFileOutput { + return i.ToJobJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImageOutputWithContext(ctx context.Context) JobNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageOutput) +func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptFileOutput) } -func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { - return i.ToJobNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageOutput).ToJobNewClusterDockerImagePtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterInitScriptFileArgs) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptFileOutput).ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// JobNewClusterDockerImagePtrInput is an input type that accepts JobNewClusterDockerImageArgs, JobNewClusterDockerImagePtr and JobNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `JobNewClusterDockerImagePtrInput` via: +// JobJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts JobJobClusterNewClusterInitScriptFileArgs, JobJobClusterNewClusterInitScriptFilePtr and JobJobClusterNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptFilePtrInput` via: // -// JobNewClusterDockerImageArgs{...} +// JobJobClusterNewClusterInitScriptFileArgs{...} // // or: // // nil -type JobNewClusterDockerImagePtrInput interface { +type JobJobClusterNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput - ToJobNewClusterDockerImagePtrOutputWithContext(context.Context) JobNewClusterDockerImagePtrOutput + ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput + ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput } -type jobNewClusterDockerImagePtrType JobNewClusterDockerImageArgs +type jobJobClusterNewClusterInitScriptFilePtrType JobJobClusterNewClusterInitScriptFileArgs -func JobNewClusterDockerImagePtr(v *JobNewClusterDockerImageArgs) JobNewClusterDockerImagePtrInput { - return (*jobNewClusterDockerImagePtrType)(v) +func JobJobClusterNewClusterInitScriptFilePtr(v *JobJobClusterNewClusterInitScriptFileArgs) JobJobClusterNewClusterInitScriptFilePtrInput { + return (*jobJobClusterNewClusterInitScriptFilePtrType)(v) } -func (*jobNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterDockerImage)(nil)).Elem() +func (*jobJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (i *jobNewClusterDockerImagePtrType) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { - return i.ToJobNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterInitScriptFilePtrType) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *jobNewClusterDockerImagePtrType) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImagePtrOutput) +func (i *jobJobClusterNewClusterInitScriptFilePtrType) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptFilePtrOutput) } -type JobNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (JobNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterDockerImage)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImageOutput() JobNewClusterDockerImageOutput { +func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFileOutput() JobJobClusterNewClusterInitScriptFileOutput { return o } -func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImageOutputWithContext(ctx context.Context) JobNewClusterDockerImageOutput { +func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFileOutput { return o } -func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { - return o.ToJobNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { + return o.ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterDockerImage) *JobNewClusterDockerImage { +func (o JobJobClusterNewClusterInitScriptFileOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptFile) *JobJobClusterNewClusterInitScriptFile { return &v - }).(JobNewClusterDockerImagePtrOutput) -} - -func (o JobNewClusterDockerImageOutput) BasicAuth() JobNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v JobNewClusterDockerImage) *JobNewClusterDockerImageBasicAuth { return v.BasicAuth }).(JobNewClusterDockerImageBasicAuthPtrOutput) + }).(JobJobClusterNewClusterInitScriptFilePtrOutput) } -// URL of the job on the given workspace -func (o JobNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterDockerImage)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o JobNewClusterDockerImagePtrOutput) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { +func (o JobJobClusterNewClusterInitScriptFilePtrOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutput() JobJobClusterNewClusterInitScriptFilePtrOutput { return o } -func (o JobNewClusterDockerImagePtrOutput) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { +func (o JobJobClusterNewClusterInitScriptFilePtrOutput) ToJobJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptFilePtrOutput { return o } -func (o JobNewClusterDockerImagePtrOutput) Elem() JobNewClusterDockerImageOutput { - return o.ApplyT(func(v *JobNewClusterDockerImage) JobNewClusterDockerImage { +func (o JobJobClusterNewClusterInitScriptFilePtrOutput) Elem() JobJobClusterNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptFile) JobJobClusterNewClusterInitScriptFile { if v != nil { return *v } - var ret JobNewClusterDockerImage + var ret JobJobClusterNewClusterInitScriptFile return ret - }).(JobNewClusterDockerImageOutput) -} - -func (o JobNewClusterDockerImagePtrOutput) BasicAuth() JobNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *JobNewClusterDockerImage) *JobNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(JobNewClusterDockerImageBasicAuthPtrOutput) + }).(JobJobClusterNewClusterInitScriptFileOutput) } -// URL of the job on the given workspace -func (o JobNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterDockerImage) *string { +func (o JobJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptFile) *string { if v == nil { return nil } - return &v.Url + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type JobJobClusterNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// JobNewClusterDockerImageBasicAuthInput is an input type that accepts JobNewClusterDockerImageBasicAuthArgs and JobNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `JobNewClusterDockerImageBasicAuthInput` via: +// JobJobClusterNewClusterInitScriptGcsInput is an input type that accepts JobJobClusterNewClusterInitScriptGcsArgs and JobJobClusterNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptGcsInput` via: // -// JobNewClusterDockerImageBasicAuthArgs{...} -type JobNewClusterDockerImageBasicAuthInput interface { +// JobJobClusterNewClusterInitScriptGcsArgs{...} +type JobJobClusterNewClusterInitScriptGcsInput interface { pulumi.Input - ToJobNewClusterDockerImageBasicAuthOutput() JobNewClusterDockerImageBasicAuthOutput - ToJobNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobNewClusterDockerImageBasicAuthOutput + ToJobJobClusterNewClusterInitScriptGcsOutput() JobJobClusterNewClusterInitScriptGcsOutput + ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptGcsOutput } -type JobNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type JobJobClusterNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthOutput() JobNewClusterDockerImageBasicAuthOutput { - return i.ToJobNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsOutput() JobJobClusterNewClusterInitScriptGcsOutput { + return i.ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageBasicAuthOutput) +func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptGcsOutput) } -func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageBasicAuthOutput).ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterInitScriptGcsArgs) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptGcsOutput).ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// JobNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobNewClusterDockerImageBasicAuthArgs, JobNewClusterDockerImageBasicAuthPtr and JobNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `JobNewClusterDockerImageBasicAuthPtrInput` via: +// JobJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptGcsArgs, JobJobClusterNewClusterInitScriptGcsPtr and JobJobClusterNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptGcsPtrInput` via: // -// JobNewClusterDockerImageBasicAuthArgs{...} +// JobJobClusterNewClusterInitScriptGcsArgs{...} // // or: // // nil -type JobNewClusterDockerImageBasicAuthPtrInput interface { +type JobJobClusterNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput - ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobNewClusterDockerImageBasicAuthPtrOutput + ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput + ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput } -type jobNewClusterDockerImageBasicAuthPtrType JobNewClusterDockerImageBasicAuthArgs +type jobJobClusterNewClusterInitScriptGcsPtrType JobJobClusterNewClusterInitScriptGcsArgs -func JobNewClusterDockerImageBasicAuthPtr(v *JobNewClusterDockerImageBasicAuthArgs) JobNewClusterDockerImageBasicAuthPtrInput { - return (*jobNewClusterDockerImageBasicAuthPtrType)(v) +func JobJobClusterNewClusterInitScriptGcsPtr(v *JobJobClusterNewClusterInitScriptGcsArgs) JobJobClusterNewClusterInitScriptGcsPtrInput { + return (*jobJobClusterNewClusterInitScriptGcsPtrType)(v) } -func (*jobNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*jobJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (i *jobNewClusterDockerImageBasicAuthPtrType) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterInitScriptGcsPtrType) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterDockerImageBasicAuthPtrType) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageBasicAuthPtrOutput) +func (i *jobJobClusterNewClusterInitScriptGcsPtrType) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptGcsPtrOutput) } -type JobNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (JobNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthOutput() JobNewClusterDockerImageBasicAuthOutput { +func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsOutput() JobJobClusterNewClusterInitScriptGcsOutput { return o } -func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthOutput { +func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsOutput { return o } -func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { - return o.ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterDockerImageBasicAuth) *JobNewClusterDockerImageBasicAuth { +func (o JobJobClusterNewClusterInitScriptGcsOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptGcs) *JobJobClusterNewClusterInitScriptGcs { return &v - }).(JobNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o JobNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) + }).(JobJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o JobNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobNewClusterDockerImageBasicAuthPtrOutput) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { +func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutput() JobJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o JobNewClusterDockerImageBasicAuthPtrOutput) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { +func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) ToJobJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o JobNewClusterDockerImageBasicAuthPtrOutput) Elem() JobNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *JobNewClusterDockerImageBasicAuth) JobNewClusterDockerImageBasicAuth { +func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) Elem() JobJobClusterNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptGcs) JobJobClusterNewClusterInitScriptGcs { if v != nil { return *v } - var ret JobNewClusterDockerImageBasicAuth + var ret JobJobClusterNewClusterInitScriptGcs return ret - }).(JobNewClusterDockerImageBasicAuthOutput) -} - -func (o JobNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) + }).(JobJobClusterNewClusterInitScriptGcsOutput) } -func (o JobNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterDockerImageBasicAuth) *string { +func (o JobJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptGcs) *string { if v == nil { return nil } - return &v.Username + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type JobJobClusterNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobNewClusterGcpAttributesInput is an input type that accepts JobNewClusterGcpAttributesArgs and JobNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `JobNewClusterGcpAttributesInput` via: +// JobJobClusterNewClusterInitScriptS3Input is an input type that accepts JobJobClusterNewClusterInitScriptS3Args and JobJobClusterNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptS3Input` via: // -// JobNewClusterGcpAttributesArgs{...} -type JobNewClusterGcpAttributesInput interface { +// JobJobClusterNewClusterInitScriptS3Args{...} +type JobJobClusterNewClusterInitScriptS3Input interface { pulumi.Input - ToJobNewClusterGcpAttributesOutput() JobNewClusterGcpAttributesOutput - ToJobNewClusterGcpAttributesOutputWithContext(context.Context) JobNewClusterGcpAttributesOutput + ToJobJobClusterNewClusterInitScriptS3Output() JobJobClusterNewClusterInitScriptS3Output + ToJobJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) JobJobClusterNewClusterInitScriptS3Output } -type JobNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type JobJobClusterNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterGcpAttributes)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesOutput() JobNewClusterGcpAttributesOutput { - return i.ToJobNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3Output() JobJobClusterNewClusterInitScriptS3Output { + return i.ToJobJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterGcpAttributesOutput) +func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptS3Output) } -func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { - return i.ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterGcpAttributesOutput).ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterInitScriptS3Args) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptS3Output).ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// JobNewClusterGcpAttributesPtrInput is an input type that accepts JobNewClusterGcpAttributesArgs, JobNewClusterGcpAttributesPtr and JobNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `JobNewClusterGcpAttributesPtrInput` via: +// JobJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts JobJobClusterNewClusterInitScriptS3Args, JobJobClusterNewClusterInitScriptS3Ptr and JobJobClusterNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptS3PtrInput` via: // -// JobNewClusterGcpAttributesArgs{...} +// JobJobClusterNewClusterInitScriptS3Args{...} // // or: // // nil -type JobNewClusterGcpAttributesPtrInput interface { +type JobJobClusterNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput - ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobNewClusterGcpAttributesPtrOutput + ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput + ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput } -type jobNewClusterGcpAttributesPtrType JobNewClusterGcpAttributesArgs +type jobJobClusterNewClusterInitScriptS3PtrType JobJobClusterNewClusterInitScriptS3Args -func JobNewClusterGcpAttributesPtr(v *JobNewClusterGcpAttributesArgs) JobNewClusterGcpAttributesPtrInput { - return (*jobNewClusterGcpAttributesPtrType)(v) +func JobJobClusterNewClusterInitScriptS3Ptr(v *JobJobClusterNewClusterInitScriptS3Args) JobJobClusterNewClusterInitScriptS3PtrInput { + return (*jobJobClusterNewClusterInitScriptS3PtrType)(v) } -func (*jobNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterGcpAttributes)(nil)).Elem() +func (*jobJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (i *jobNewClusterGcpAttributesPtrType) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { - return i.ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterInitScriptS3PtrType) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *jobNewClusterGcpAttributesPtrType) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterGcpAttributesPtrOutput) +func (i *jobJobClusterNewClusterInitScriptS3PtrType) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptS3PtrOutput) } -type JobNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (JobNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterGcpAttributes)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesOutput() JobNewClusterGcpAttributesOutput { +func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3Output() JobJobClusterNewClusterInitScriptS3Output { return o } -func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesOutput { +func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3Output { return o } -func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { - return o.ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { + return o.ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterGcpAttributes) *JobNewClusterGcpAttributes { +func (o JobJobClusterNewClusterInitScriptS3Output) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptS3) *JobJobClusterNewClusterInitScriptS3 { return &v - }).(JobNewClusterGcpAttributesPtrOutput) + }).(JobJobClusterNewClusterInitScriptS3PtrOutput) } -func (o JobNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o JobNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o JobJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o JobJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -type JobNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} -func (JobNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterGcpAttributes)(nil)).Elem() +type JobJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o JobNewClusterGcpAttributesPtrOutput) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) ToJobJobClusterNewClusterInitScriptS3PtrOutput() JobJobClusterNewClusterInitScriptS3PtrOutput { return o } -func (o JobNewClusterGcpAttributesPtrOutput) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) ToJobJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptS3PtrOutput { return o } -func (o JobNewClusterGcpAttributesPtrOutput) Elem() JobNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) JobNewClusterGcpAttributes { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Elem() JobJobClusterNewClusterInitScriptS3Output { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) JobJobClusterNewClusterInitScriptS3 { if v != nil { return *v } - var ret JobNewClusterGcpAttributes + var ret JobJobClusterNewClusterInitScriptS3 return ret - }).(JobNewClusterGcpAttributesOutput) + }).(JobJobClusterNewClusterInitScriptS3Output) } -func (o JobNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) *string { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.Availability + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) *int { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) *string { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *bool { if v == nil { return nil } - return v.GoogleServiceAccount + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) *int { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) *bool { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o JobNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterGcpAttributes) *string { +func (o JobJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.ZoneId + return v.Region }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScript struct { - Abfss *JobNewClusterInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *JobNewClusterInitScriptDbfs `pulumi:"dbfs"` - // block consisting of single string fields: - File *JobNewClusterInitScriptFile `pulumi:"file"` - Gcs *JobNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *JobNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *JobNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *JobNewClusterInitScriptWorkspace `pulumi:"workspace"` +type JobJobClusterNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -// JobNewClusterInitScriptInput is an input type that accepts JobNewClusterInitScriptArgs and JobNewClusterInitScriptOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptInput` via: +// JobJobClusterNewClusterInitScriptVolumesInput is an input type that accepts JobJobClusterNewClusterInitScriptVolumesArgs and JobJobClusterNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptVolumesInput` via: // -// JobNewClusterInitScriptArgs{...} -type JobNewClusterInitScriptInput interface { +// JobJobClusterNewClusterInitScriptVolumesArgs{...} +type JobJobClusterNewClusterInitScriptVolumesInput interface { pulumi.Input - ToJobNewClusterInitScriptOutput() JobNewClusterInitScriptOutput - ToJobNewClusterInitScriptOutputWithContext(context.Context) JobNewClusterInitScriptOutput + ToJobJobClusterNewClusterInitScriptVolumesOutput() JobJobClusterNewClusterInitScriptVolumesOutput + ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptVolumesOutput } -type JobNewClusterInitScriptArgs struct { - Abfss JobNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs JobNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - // block consisting of single string fields: - File JobNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs JobNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 JobNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes JobNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace JobNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +type JobJobClusterNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScript)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i JobNewClusterInitScriptArgs) ToJobNewClusterInitScriptOutput() JobNewClusterInitScriptOutput { - return i.ToJobNewClusterInitScriptOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesOutput() JobJobClusterNewClusterInitScriptVolumesOutput { + return i.ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptArgs) ToJobNewClusterInitScriptOutputWithContext(ctx context.Context) JobNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptOutput) +func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptVolumesOutput) } -// JobNewClusterInitScriptArrayInput is an input type that accepts JobNewClusterInitScriptArray and JobNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptArrayInput` via: -// -// JobNewClusterInitScriptArray{ JobNewClusterInitScriptArgs{...} } -type JobNewClusterInitScriptArrayInput interface { - pulumi.Input - - ToJobNewClusterInitScriptArrayOutput() JobNewClusterInitScriptArrayOutput - ToJobNewClusterInitScriptArrayOutputWithContext(context.Context) JobNewClusterInitScriptArrayOutput +func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -type JobNewClusterInitScriptArray []JobNewClusterInitScriptInput - -func (JobNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobNewClusterInitScript)(nil)).Elem() +func (i JobJobClusterNewClusterInitScriptVolumesArgs) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptVolumesOutput).ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -func (i JobNewClusterInitScriptArray) ToJobNewClusterInitScriptArrayOutput() JobNewClusterInitScriptArrayOutput { - return i.ToJobNewClusterInitScriptArrayOutputWithContext(context.Background()) -} +// JobJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts JobJobClusterNewClusterInitScriptVolumesArgs, JobJobClusterNewClusterInitScriptVolumesPtr and JobJobClusterNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptVolumesPtrInput` via: +// +// JobJobClusterNewClusterInitScriptVolumesArgs{...} +// +// or: +// +// nil +type JobJobClusterNewClusterInitScriptVolumesPtrInput interface { + pulumi.Input -func (i JobNewClusterInitScriptArray) ToJobNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptArrayOutput) + ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput + ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput } -type JobNewClusterInitScriptOutput struct{ *pulumi.OutputState } +type jobJobClusterNewClusterInitScriptVolumesPtrType JobJobClusterNewClusterInitScriptVolumesArgs -func (JobNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScript)(nil)).Elem() +func JobJobClusterNewClusterInitScriptVolumesPtr(v *JobJobClusterNewClusterInitScriptVolumesArgs) JobJobClusterNewClusterInitScriptVolumesPtrInput { + return (*jobJobClusterNewClusterInitScriptVolumesPtrType)(v) } -func (o JobNewClusterInitScriptOutput) ToJobNewClusterInitScriptOutput() JobNewClusterInitScriptOutput { - return o +func (*jobJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o JobNewClusterInitScriptOutput) ToJobNewClusterInitScriptOutputWithContext(ctx context.Context) JobNewClusterInitScriptOutput { - return o +func (i *jobJobClusterNewClusterInitScriptVolumesPtrType) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptOutput) Abfss() JobNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptAbfss { return v.Abfss }).(JobNewClusterInitScriptAbfssPtrOutput) +func (i *jobJobClusterNewClusterInitScriptVolumesPtrType) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptVolumesPtrOutput) } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o JobNewClusterInitScriptOutput) Dbfs() JobNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptDbfs { return v.Dbfs }).(JobNewClusterInitScriptDbfsPtrOutput) +type JobJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -// block consisting of single string fields: -func (o JobNewClusterInitScriptOutput) File() JobNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptFile { return v.File }).(JobNewClusterInitScriptFilePtrOutput) +func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesOutput() JobJobClusterNewClusterInitScriptVolumesOutput { + return o } -func (o JobNewClusterInitScriptOutput) Gcs() JobNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptGcs { return v.Gcs }).(JobNewClusterInitScriptGcsPtrOutput) +func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesOutput { + return o } -func (o JobNewClusterInitScriptOutput) S3() JobNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptS3 { return v.S3 }).(JobNewClusterInitScriptS3PtrOutput) +func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptOutput) Volumes() JobNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptVolumes { return v.Volumes }).(JobNewClusterInitScriptVolumesPtrOutput) +func (o JobJobClusterNewClusterInitScriptVolumesOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptVolumes) *JobJobClusterNewClusterInitScriptVolumes { + return &v + }).(JobJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o JobNewClusterInitScriptOutput) Workspace() JobNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptWorkspace { return v.Workspace }).(JobNewClusterInitScriptWorkspacePtrOutput) +func (o JobJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobNewClusterInitScript)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o JobNewClusterInitScriptArrayOutput) ToJobNewClusterInitScriptArrayOutput() JobNewClusterInitScriptArrayOutput { +func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutput() JobJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobNewClusterInitScriptArrayOutput) ToJobNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobNewClusterInitScriptArrayOutput { +func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) ToJobJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNewClusterInitScript { - return vs[0].([]JobNewClusterInitScript)[vs[1].(int)] - }).(JobNewClusterInitScriptOutput) +func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() JobJobClusterNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptVolumes) JobJobClusterNewClusterInitScriptVolumes { + if v != nil { + return *v + } + var ret JobJobClusterNewClusterInitScriptVolumes + return ret + }).(JobJobClusterNewClusterInitScriptVolumesOutput) } -type JobNewClusterInitScriptAbfss struct { +func (o JobJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptVolumes) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type JobJobClusterNewClusterInitScriptWorkspace struct { Destination string `pulumi:"destination"` } -// JobNewClusterInitScriptAbfssInput is an input type that accepts JobNewClusterInitScriptAbfssArgs and JobNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptAbfssInput` via: +// JobJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts JobJobClusterNewClusterInitScriptWorkspaceArgs and JobJobClusterNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptWorkspaceInput` via: // -// JobNewClusterInitScriptAbfssArgs{...} -type JobNewClusterInitScriptAbfssInput interface { +// JobJobClusterNewClusterInitScriptWorkspaceArgs{...} +type JobJobClusterNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToJobNewClusterInitScriptAbfssOutput() JobNewClusterInitScriptAbfssOutput - ToJobNewClusterInitScriptAbfssOutputWithContext(context.Context) JobNewClusterInitScriptAbfssOutput + ToJobJobClusterNewClusterInitScriptWorkspaceOutput() JobJobClusterNewClusterInitScriptWorkspaceOutput + ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptWorkspaceOutput } -type JobNewClusterInitScriptAbfssArgs struct { +type JobJobClusterNewClusterInitScriptWorkspaceArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (JobNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptAbfss)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssOutput() JobNewClusterInitScriptAbfssOutput { - return i.ToJobNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspaceOutput() JobJobClusterNewClusterInitScriptWorkspaceOutput { + return i.ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptAbfssOutput) +func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptWorkspaceOutput) } -func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { - return i.ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptAbfssOutput).ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterInitScriptWorkspaceArgs) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptWorkspaceOutput).ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// JobNewClusterInitScriptAbfssPtrInput is an input type that accepts JobNewClusterInitScriptAbfssArgs, JobNewClusterInitScriptAbfssPtr and JobNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptAbfssPtrInput` via: +// JobJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobJobClusterNewClusterInitScriptWorkspaceArgs, JobJobClusterNewClusterInitScriptWorkspacePtr and JobJobClusterNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterInitScriptWorkspacePtrInput` via: // -// JobNewClusterInitScriptAbfssArgs{...} +// JobJobClusterNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type JobNewClusterInitScriptAbfssPtrInput interface { +type JobJobClusterNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput - ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobNewClusterInitScriptAbfssPtrOutput + ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput + ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput } -type jobNewClusterInitScriptAbfssPtrType JobNewClusterInitScriptAbfssArgs +type jobJobClusterNewClusterInitScriptWorkspacePtrType JobJobClusterNewClusterInitScriptWorkspaceArgs -func JobNewClusterInitScriptAbfssPtr(v *JobNewClusterInitScriptAbfssArgs) JobNewClusterInitScriptAbfssPtrInput { - return (*jobNewClusterInitScriptAbfssPtrType)(v) +func JobJobClusterNewClusterInitScriptWorkspacePtr(v *JobJobClusterNewClusterInitScriptWorkspaceArgs) JobJobClusterNewClusterInitScriptWorkspacePtrInput { + return (*jobJobClusterNewClusterInitScriptWorkspacePtrType)(v) } -func (*jobNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptAbfss)(nil)).Elem() +func (*jobJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *jobNewClusterInitScriptAbfssPtrType) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { - return i.ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterInitScriptWorkspacePtrType) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptAbfssPtrType) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptAbfssPtrOutput) +func (i *jobJobClusterNewClusterInitScriptWorkspacePtrType) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterInitScriptWorkspacePtrOutput) } -type JobNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptAbfss)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssOutput() JobNewClusterInitScriptAbfssOutput { +func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspaceOutput() JobJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssOutput { +func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { - return o.ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptAbfss) *JobNewClusterInitScriptAbfss { +func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterInitScriptWorkspace) *JobJobClusterNewClusterInitScriptWorkspace { return &v - }).(JobNewClusterInitScriptAbfssPtrOutput) + }).(JobJobClusterNewClusterInitScriptWorkspacePtrOutput) } -func (o JobNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type JobNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptAbfss)(nil)).Elem() +func (JobJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o JobNewClusterInitScriptAbfssPtrOutput) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { +func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutput() JobJobClusterNewClusterInitScriptWorkspacePtrOutput { return o } -func (o JobNewClusterInitScriptAbfssPtrOutput) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { +func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) ToJobJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterInitScriptWorkspacePtrOutput { return o } -func (o JobNewClusterInitScriptAbfssPtrOutput) Elem() JobNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptAbfss) JobNewClusterInitScriptAbfss { +func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() JobJobClusterNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptWorkspace) JobJobClusterNewClusterInitScriptWorkspace { if v != nil { return *v } - var ret JobNewClusterInitScriptAbfss + var ret JobJobClusterNewClusterInitScriptWorkspace return ret - }).(JobNewClusterInitScriptAbfssOutput) + }).(JobJobClusterNewClusterInitScriptWorkspaceOutput) } -func (o JobNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptAbfss) *string { +func (o JobJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterInitScriptWorkspace) *string { if v == nil { return nil } @@ -20253,1156 +18939,1140 @@ func (o JobNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOut }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type JobJobClusterNewClusterLibrary struct { + Cran *JobJobClusterNewClusterLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobJobClusterNewClusterLibraryMaven `pulumi:"maven"` + Pypi *JobJobClusterNewClusterLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// JobNewClusterInitScriptDbfsInput is an input type that accepts JobNewClusterInitScriptDbfsArgs and JobNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptDbfsInput` via: +// JobJobClusterNewClusterLibraryInput is an input type that accepts JobJobClusterNewClusterLibraryArgs and JobJobClusterNewClusterLibraryOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryInput` via: // -// JobNewClusterInitScriptDbfsArgs{...} -type JobNewClusterInitScriptDbfsInput interface { +// JobJobClusterNewClusterLibraryArgs{...} +type JobJobClusterNewClusterLibraryInput interface { pulumi.Input - ToJobNewClusterInitScriptDbfsOutput() JobNewClusterInitScriptDbfsOutput - ToJobNewClusterInitScriptDbfsOutputWithContext(context.Context) JobNewClusterInitScriptDbfsOutput -} - -type JobNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptDbfs)(nil)).Elem() + ToJobJobClusterNewClusterLibraryOutput() JobJobClusterNewClusterLibraryOutput + ToJobJobClusterNewClusterLibraryOutputWithContext(context.Context) JobJobClusterNewClusterLibraryOutput } -func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsOutput() JobNewClusterInitScriptDbfsOutput { - return i.ToJobNewClusterInitScriptDbfsOutputWithContext(context.Background()) +type JobJobClusterNewClusterLibraryArgs struct { + Cran JobJobClusterNewClusterLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobJobClusterNewClusterLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobJobClusterNewClusterLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptDbfsOutput) +func (JobJobClusterNewClusterLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibrary)(nil)).Elem() } -func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { - return i.ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryArgs) ToJobJobClusterNewClusterLibraryOutput() JobJobClusterNewClusterLibraryOutput { + return i.ToJobJobClusterNewClusterLibraryOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptDbfsOutput).ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterLibraryArgs) ToJobJobClusterNewClusterLibraryOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryOutput) } -// JobNewClusterInitScriptDbfsPtrInput is an input type that accepts JobNewClusterInitScriptDbfsArgs, JobNewClusterInitScriptDbfsPtr and JobNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptDbfsPtrInput` via: -// -// JobNewClusterInitScriptDbfsArgs{...} -// -// or: +// JobJobClusterNewClusterLibraryArrayInput is an input type that accepts JobJobClusterNewClusterLibraryArray and JobJobClusterNewClusterLibraryArrayOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryArrayInput` via: // -// nil -type JobNewClusterInitScriptDbfsPtrInput interface { +// JobJobClusterNewClusterLibraryArray{ JobJobClusterNewClusterLibraryArgs{...} } +type JobJobClusterNewClusterLibraryArrayInput interface { pulumi.Input - ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput - ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobNewClusterInitScriptDbfsPtrOutput + ToJobJobClusterNewClusterLibraryArrayOutput() JobJobClusterNewClusterLibraryArrayOutput + ToJobJobClusterNewClusterLibraryArrayOutputWithContext(context.Context) JobJobClusterNewClusterLibraryArrayOutput } -type jobNewClusterInitScriptDbfsPtrType JobNewClusterInitScriptDbfsArgs - -func JobNewClusterInitScriptDbfsPtr(v *JobNewClusterInitScriptDbfsArgs) JobNewClusterInitScriptDbfsPtrInput { - return (*jobNewClusterInitScriptDbfsPtrType)(v) -} +type JobJobClusterNewClusterLibraryArray []JobJobClusterNewClusterLibraryInput -func (*jobNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptDbfs)(nil)).Elem() +func (JobJobClusterNewClusterLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobClusterNewClusterLibrary)(nil)).Elem() } -func (i *jobNewClusterInitScriptDbfsPtrType) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { - return i.ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryArray) ToJobJobClusterNewClusterLibraryArrayOutput() JobJobClusterNewClusterLibraryArrayOutput { + return i.ToJobJobClusterNewClusterLibraryArrayOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptDbfsPtrType) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptDbfsPtrOutput) +func (i JobJobClusterNewClusterLibraryArray) ToJobJobClusterNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryArrayOutput) } -type JobNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterLibraryOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptDbfs)(nil)).Elem() +func (JobJobClusterNewClusterLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibrary)(nil)).Elem() } -func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsOutput() JobNewClusterInitScriptDbfsOutput { +func (o JobJobClusterNewClusterLibraryOutput) ToJobJobClusterNewClusterLibraryOutput() JobJobClusterNewClusterLibraryOutput { return o } -func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsOutput { +func (o JobJobClusterNewClusterLibraryOutput) ToJobJobClusterNewClusterLibraryOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryOutput { return o } -func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { - return o.ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterLibraryOutput) Cran() JobJobClusterNewClusterLibraryCranPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *JobJobClusterNewClusterLibraryCran { return v.Cran }).(JobJobClusterNewClusterLibraryCranPtrOutput) } -func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptDbfs) *JobNewClusterInitScriptDbfs { - return &v - }).(JobNewClusterInitScriptDbfsPtrOutput) +func (o JobJobClusterNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o JobNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterLibraryOutput) Maven() JobJobClusterNewClusterLibraryMavenPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *JobJobClusterNewClusterLibraryMaven { return v.Maven }).(JobJobClusterNewClusterLibraryMavenPtrOutput) +} -func (JobNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptDbfs)(nil)).Elem() +func (o JobJobClusterNewClusterLibraryOutput) Pypi() JobJobClusterNewClusterLibraryPypiPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *JobJobClusterNewClusterLibraryPypi { return v.Pypi }).(JobJobClusterNewClusterLibraryPypiPtrOutput) } -func (o JobNewClusterInitScriptDbfsPtrOutput) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { - return o +func (o JobJobClusterNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o JobNewClusterInitScriptDbfsPtrOutput) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { +func (o JobJobClusterNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type JobJobClusterNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobJobClusterNewClusterLibrary)(nil)).Elem() +} + +func (o JobJobClusterNewClusterLibraryArrayOutput) ToJobJobClusterNewClusterLibraryArrayOutput() JobJobClusterNewClusterLibraryArrayOutput { return o } -func (o JobNewClusterInitScriptDbfsPtrOutput) Elem() JobNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptDbfs) JobNewClusterInitScriptDbfs { - if v != nil { - return *v - } - var ret JobNewClusterInitScriptDbfs - return ret - }).(JobNewClusterInitScriptDbfsOutput) +func (o JobJobClusterNewClusterLibraryArrayOutput) ToJobJobClusterNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryArrayOutput { + return o } -func (o JobNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobJobClusterNewClusterLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobClusterNewClusterLibrary { + return vs[0].([]JobJobClusterNewClusterLibrary)[vs[1].(int)] + }).(JobJobClusterNewClusterLibraryOutput) } -type JobNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type JobJobClusterNewClusterLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobNewClusterInitScriptFileInput is an input type that accepts JobNewClusterInitScriptFileArgs and JobNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptFileInput` via: +// JobJobClusterNewClusterLibraryCranInput is an input type that accepts JobJobClusterNewClusterLibraryCranArgs and JobJobClusterNewClusterLibraryCranOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryCranInput` via: // -// JobNewClusterInitScriptFileArgs{...} -type JobNewClusterInitScriptFileInput interface { +// JobJobClusterNewClusterLibraryCranArgs{...} +type JobJobClusterNewClusterLibraryCranInput interface { pulumi.Input - ToJobNewClusterInitScriptFileOutput() JobNewClusterInitScriptFileOutput - ToJobNewClusterInitScriptFileOutputWithContext(context.Context) JobNewClusterInitScriptFileOutput + ToJobJobClusterNewClusterLibraryCranOutput() JobJobClusterNewClusterLibraryCranOutput + ToJobJobClusterNewClusterLibraryCranOutputWithContext(context.Context) JobJobClusterNewClusterLibraryCranOutput } -type JobNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobJobClusterNewClusterLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptFile)(nil)).Elem() +func (JobJobClusterNewClusterLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibraryCran)(nil)).Elem() } -func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFileOutput() JobNewClusterInitScriptFileOutput { - return i.ToJobNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranOutput() JobJobClusterNewClusterLibraryCranOutput { + return i.ToJobJobClusterNewClusterLibraryCranOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptFileOutput) +func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryCranOutput) } -func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { - return i.ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { + return i.ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptFileOutput).ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterLibraryCranArgs) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryCranOutput).ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx) } -// JobNewClusterInitScriptFilePtrInput is an input type that accepts JobNewClusterInitScriptFileArgs, JobNewClusterInitScriptFilePtr and JobNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptFilePtrInput` via: +// JobJobClusterNewClusterLibraryCranPtrInput is an input type that accepts JobJobClusterNewClusterLibraryCranArgs, JobJobClusterNewClusterLibraryCranPtr and JobJobClusterNewClusterLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryCranPtrInput` via: // -// JobNewClusterInitScriptFileArgs{...} +// JobJobClusterNewClusterLibraryCranArgs{...} // // or: // // nil -type JobNewClusterInitScriptFilePtrInput interface { +type JobJobClusterNewClusterLibraryCranPtrInput interface { pulumi.Input - ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput - ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobNewClusterInitScriptFilePtrOutput + ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput + ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Context) JobJobClusterNewClusterLibraryCranPtrOutput } -type jobNewClusterInitScriptFilePtrType JobNewClusterInitScriptFileArgs +type jobJobClusterNewClusterLibraryCranPtrType JobJobClusterNewClusterLibraryCranArgs -func JobNewClusterInitScriptFilePtr(v *JobNewClusterInitScriptFileArgs) JobNewClusterInitScriptFilePtrInput { - return (*jobNewClusterInitScriptFilePtrType)(v) +func JobJobClusterNewClusterLibraryCranPtr(v *JobJobClusterNewClusterLibraryCranArgs) JobJobClusterNewClusterLibraryCranPtrInput { + return (*jobJobClusterNewClusterLibraryCranPtrType)(v) } -func (*jobNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptFile)(nil)).Elem() +func (*jobJobClusterNewClusterLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterLibraryCran)(nil)).Elem() } -func (i *jobNewClusterInitScriptFilePtrType) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { - return i.ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterLibraryCranPtrType) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { + return i.ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptFilePtrType) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptFilePtrOutput) +func (i *jobJobClusterNewClusterLibraryCranPtrType) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryCranPtrOutput) } -type JobNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterLibraryCranOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptFile)(nil)).Elem() +func (JobJobClusterNewClusterLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibraryCran)(nil)).Elem() } -func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFileOutput() JobNewClusterInitScriptFileOutput { +func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranOutput() JobJobClusterNewClusterLibraryCranOutput { return o } -func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobNewClusterInitScriptFileOutput { +func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranOutput { return o } -func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { - return o.ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { + return o.ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptFile) *JobNewClusterInitScriptFile { +func (o JobJobClusterNewClusterLibraryCranOutput) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterLibraryCran) *JobJobClusterNewClusterLibraryCran { return &v - }).(JobNewClusterInitScriptFilePtrOutput) + }).(JobJobClusterNewClusterLibraryCranPtrOutput) } -func (o JobNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -type JobNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (JobNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptFile)(nil)).Elem() +type JobJobClusterNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterLibraryCran)(nil)).Elem() } -func (o JobNewClusterInitScriptFilePtrOutput) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { +func (o JobJobClusterNewClusterLibraryCranPtrOutput) ToJobJobClusterNewClusterLibraryCranPtrOutput() JobJobClusterNewClusterLibraryCranPtrOutput { return o } -func (o JobNewClusterInitScriptFilePtrOutput) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { +func (o JobJobClusterNewClusterLibraryCranPtrOutput) ToJobJobClusterNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryCranPtrOutput { return o } -func (o JobNewClusterInitScriptFilePtrOutput) Elem() JobNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptFile) JobNewClusterInitScriptFile { +func (o JobJobClusterNewClusterLibraryCranPtrOutput) Elem() JobJobClusterNewClusterLibraryCranOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryCran) JobJobClusterNewClusterLibraryCran { if v != nil { return *v } - var ret JobNewClusterInitScriptFile + var ret JobJobClusterNewClusterLibraryCran return ret - }).(JobNewClusterInitScriptFileOutput) + }).(JobJobClusterNewClusterLibraryCranOutput) } -func (o JobNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptFile) *string { +func (o JobJobClusterNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryCran) *string { if v == nil { return nil } - return &v.Destination + return &v.Package }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o JobJobClusterNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// JobNewClusterInitScriptGcsInput is an input type that accepts JobNewClusterInitScriptGcsArgs and JobNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptGcsInput` via: +type JobJobClusterNewClusterLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// JobJobClusterNewClusterLibraryMavenInput is an input type that accepts JobJobClusterNewClusterLibraryMavenArgs and JobJobClusterNewClusterLibraryMavenOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryMavenInput` via: // -// JobNewClusterInitScriptGcsArgs{...} -type JobNewClusterInitScriptGcsInput interface { +// JobJobClusterNewClusterLibraryMavenArgs{...} +type JobJobClusterNewClusterLibraryMavenInput interface { pulumi.Input - ToJobNewClusterInitScriptGcsOutput() JobNewClusterInitScriptGcsOutput - ToJobNewClusterInitScriptGcsOutputWithContext(context.Context) JobNewClusterInitScriptGcsOutput + ToJobJobClusterNewClusterLibraryMavenOutput() JobJobClusterNewClusterLibraryMavenOutput + ToJobJobClusterNewClusterLibraryMavenOutputWithContext(context.Context) JobJobClusterNewClusterLibraryMavenOutput } -type JobNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobJobClusterNewClusterLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptGcs)(nil)).Elem() +func (JobJobClusterNewClusterLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibraryMaven)(nil)).Elem() } -func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsOutput() JobNewClusterInitScriptGcsOutput { - return i.ToJobNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenOutput() JobJobClusterNewClusterLibraryMavenOutput { + return i.ToJobJobClusterNewClusterLibraryMavenOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptGcsOutput) +func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryMavenOutput) } -func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { - return i.ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { + return i.ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptGcsOutput).ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterLibraryMavenArgs) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryMavenOutput).ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx) } -// JobNewClusterInitScriptGcsPtrInput is an input type that accepts JobNewClusterInitScriptGcsArgs, JobNewClusterInitScriptGcsPtr and JobNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptGcsPtrInput` via: +// JobJobClusterNewClusterLibraryMavenPtrInput is an input type that accepts JobJobClusterNewClusterLibraryMavenArgs, JobJobClusterNewClusterLibraryMavenPtr and JobJobClusterNewClusterLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryMavenPtrInput` via: // -// JobNewClusterInitScriptGcsArgs{...} +// JobJobClusterNewClusterLibraryMavenArgs{...} // // or: // // nil -type JobNewClusterInitScriptGcsPtrInput interface { +type JobJobClusterNewClusterLibraryMavenPtrInput interface { pulumi.Input - ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput - ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobNewClusterInitScriptGcsPtrOutput + ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput + ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput } -type jobNewClusterInitScriptGcsPtrType JobNewClusterInitScriptGcsArgs +type jobJobClusterNewClusterLibraryMavenPtrType JobJobClusterNewClusterLibraryMavenArgs -func JobNewClusterInitScriptGcsPtr(v *JobNewClusterInitScriptGcsArgs) JobNewClusterInitScriptGcsPtrInput { - return (*jobNewClusterInitScriptGcsPtrType)(v) +func JobJobClusterNewClusterLibraryMavenPtr(v *JobJobClusterNewClusterLibraryMavenArgs) JobJobClusterNewClusterLibraryMavenPtrInput { + return (*jobJobClusterNewClusterLibraryMavenPtrType)(v) } -func (*jobNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptGcs)(nil)).Elem() +func (*jobJobClusterNewClusterLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterLibraryMaven)(nil)).Elem() } -func (i *jobNewClusterInitScriptGcsPtrType) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { - return i.ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterLibraryMavenPtrType) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { + return i.ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptGcsPtrType) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptGcsPtrOutput) +func (i *jobJobClusterNewClusterLibraryMavenPtrType) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryMavenPtrOutput) } -type JobNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptGcs)(nil)).Elem() +func (JobJobClusterNewClusterLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibraryMaven)(nil)).Elem() } -func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsOutput() JobNewClusterInitScriptGcsOutput { +func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenOutput() JobJobClusterNewClusterLibraryMavenOutput { return o } -func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsOutput { +func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenOutput { return o } -func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { - return o.ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { + return o.ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptGcs) *JobNewClusterInitScriptGcs { +func (o JobJobClusterNewClusterLibraryMavenOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterLibraryMaven) *JobJobClusterNewClusterLibraryMaven { return &v - }).(JobNewClusterInitScriptGcsPtrOutput) + }).(JobJobClusterNewClusterLibraryMavenPtrOutput) } -func (o JobNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -type JobNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} -func (JobNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptGcs)(nil)).Elem() +func (o JobJobClusterNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o JobNewClusterInitScriptGcsPtrOutput) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { +type JobJobClusterNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterLibraryMaven)(nil)).Elem() +} + +func (o JobJobClusterNewClusterLibraryMavenPtrOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutput() JobJobClusterNewClusterLibraryMavenPtrOutput { return o } -func (o JobNewClusterInitScriptGcsPtrOutput) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { +func (o JobJobClusterNewClusterLibraryMavenPtrOutput) ToJobJobClusterNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryMavenPtrOutput { return o } -func (o JobNewClusterInitScriptGcsPtrOutput) Elem() JobNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptGcs) JobNewClusterInitScriptGcs { +func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Elem() JobJobClusterNewClusterLibraryMavenOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) JobJobClusterNewClusterLibraryMaven { if v != nil { return *v } - var ret JobNewClusterInitScriptGcs + var ret JobJobClusterNewClusterLibraryMaven return ret - }).(JobNewClusterInitScriptGcsOutput) + }).(JobJobClusterNewClusterLibraryMavenOutput) } -func (o JobNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptGcs) *string { +func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) *string { if v == nil { return nil } - return &v.Destination + return &v.Coordinates }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) } -// JobNewClusterInitScriptS3Input is an input type that accepts JobNewClusterInitScriptS3Args and JobNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `JobNewClusterInitScriptS3Input` via: +func (o JobJobClusterNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type JobJobClusterNewClusterLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// JobJobClusterNewClusterLibraryPypiInput is an input type that accepts JobJobClusterNewClusterLibraryPypiArgs and JobJobClusterNewClusterLibraryPypiOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryPypiInput` via: // -// JobNewClusterInitScriptS3Args{...} -type JobNewClusterInitScriptS3Input interface { +// JobJobClusterNewClusterLibraryPypiArgs{...} +type JobJobClusterNewClusterLibraryPypiInput interface { pulumi.Input - ToJobNewClusterInitScriptS3Output() JobNewClusterInitScriptS3Output - ToJobNewClusterInitScriptS3OutputWithContext(context.Context) JobNewClusterInitScriptS3Output + ToJobJobClusterNewClusterLibraryPypiOutput() JobJobClusterNewClusterLibraryPypiOutput + ToJobJobClusterNewClusterLibraryPypiOutputWithContext(context.Context) JobJobClusterNewClusterLibraryPypiOutput } -type JobNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobJobClusterNewClusterLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptS3)(nil)).Elem() +func (JobJobClusterNewClusterLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibraryPypi)(nil)).Elem() } -func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3Output() JobNewClusterInitScriptS3Output { - return i.ToJobNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiOutput() JobJobClusterNewClusterLibraryPypiOutput { + return i.ToJobJobClusterNewClusterLibraryPypiOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptS3Output) +func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryPypiOutput) } -func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { - return i.ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { + return i.ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptS3Output).ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterLibraryPypiArgs) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryPypiOutput).ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx) } -// JobNewClusterInitScriptS3PtrInput is an input type that accepts JobNewClusterInitScriptS3Args, JobNewClusterInitScriptS3Ptr and JobNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptS3PtrInput` via: +// JobJobClusterNewClusterLibraryPypiPtrInput is an input type that accepts JobJobClusterNewClusterLibraryPypiArgs, JobJobClusterNewClusterLibraryPypiPtr and JobJobClusterNewClusterLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterLibraryPypiPtrInput` via: // -// JobNewClusterInitScriptS3Args{...} +// JobJobClusterNewClusterLibraryPypiArgs{...} // // or: // // nil -type JobNewClusterInitScriptS3PtrInput interface { +type JobJobClusterNewClusterLibraryPypiPtrInput interface { pulumi.Input - ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput - ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobNewClusterInitScriptS3PtrOutput + ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput + ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput } -type jobNewClusterInitScriptS3PtrType JobNewClusterInitScriptS3Args +type jobJobClusterNewClusterLibraryPypiPtrType JobJobClusterNewClusterLibraryPypiArgs -func JobNewClusterInitScriptS3Ptr(v *JobNewClusterInitScriptS3Args) JobNewClusterInitScriptS3PtrInput { - return (*jobNewClusterInitScriptS3PtrType)(v) +func JobJobClusterNewClusterLibraryPypiPtr(v *JobJobClusterNewClusterLibraryPypiArgs) JobJobClusterNewClusterLibraryPypiPtrInput { + return (*jobJobClusterNewClusterLibraryPypiPtrType)(v) } -func (*jobNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptS3)(nil)).Elem() +func (*jobJobClusterNewClusterLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterLibraryPypi)(nil)).Elem() } -func (i *jobNewClusterInitScriptS3PtrType) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { - return i.ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterLibraryPypiPtrType) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { + return i.ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptS3PtrType) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptS3PtrOutput) +func (i *jobJobClusterNewClusterLibraryPypiPtrType) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterLibraryPypiPtrOutput) } -type JobNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type JobJobClusterNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptS3)(nil)).Elem() +func (JobJobClusterNewClusterLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterLibraryPypi)(nil)).Elem() } -func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3Output() JobNewClusterInitScriptS3Output { +func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiOutput() JobJobClusterNewClusterLibraryPypiOutput { return o } -func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobNewClusterInitScriptS3Output { +func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiOutput { return o } -func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { - return o.ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { + return o.ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptS3) *JobNewClusterInitScriptS3 { +func (o JobJobClusterNewClusterLibraryPypiOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterLibraryPypi) *JobJobClusterNewClusterLibraryPypi { return &v - }).(JobNewClusterInitScriptS3PtrOutput) -} - -func (o JobNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o JobNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o JobNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) + }).(JobJobClusterNewClusterLibraryPypiPtrOutput) } -func (o JobNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o JobNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o JobJobClusterNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptS3)(nil)).Elem() +func (JobJobClusterNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterLibraryPypi)(nil)).Elem() } -func (o JobNewClusterInitScriptS3PtrOutput) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { +func (o JobJobClusterNewClusterLibraryPypiPtrOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutput() JobJobClusterNewClusterLibraryPypiPtrOutput { return o } -func (o JobNewClusterInitScriptS3PtrOutput) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { +func (o JobJobClusterNewClusterLibraryPypiPtrOutput) ToJobJobClusterNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterLibraryPypiPtrOutput { return o } -func (o JobNewClusterInitScriptS3PtrOutput) Elem() JobNewClusterInitScriptS3Output { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) JobNewClusterInitScriptS3 { +func (o JobJobClusterNewClusterLibraryPypiPtrOutput) Elem() JobJobClusterNewClusterLibraryPypiOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryPypi) JobJobClusterNewClusterLibraryPypi { if v != nil { return *v } - var ret JobNewClusterInitScriptS3 + var ret JobJobClusterNewClusterLibraryPypi return ret - }).(JobNewClusterInitScriptS3Output) -} - -func (o JobNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o JobNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o JobNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) + }).(JobJobClusterNewClusterLibraryPypiOutput) } -func (o JobNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { +func (o JobJobClusterNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryPypi) *string { if v == nil { return nil } - return v.KmsKey + return &v.Package }).(pulumi.StringPtrOutput) } -func (o JobNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { +func (o JobJobClusterNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterLibraryPypi) *string { if v == nil { return nil } - return v.Region + return v.Repo }).(pulumi.StringPtrOutput) } -type JobNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type JobJobClusterNewClusterWorkloadType struct { + Clients JobJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` } -// JobNewClusterInitScriptVolumesInput is an input type that accepts JobNewClusterInitScriptVolumesArgs and JobNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptVolumesInput` via: +// JobJobClusterNewClusterWorkloadTypeInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeArgs and JobJobClusterNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypeInput` via: // -// JobNewClusterInitScriptVolumesArgs{...} -type JobNewClusterInitScriptVolumesInput interface { +// JobJobClusterNewClusterWorkloadTypeArgs{...} +type JobJobClusterNewClusterWorkloadTypeInput interface { pulumi.Input - ToJobNewClusterInitScriptVolumesOutput() JobNewClusterInitScriptVolumesOutput - ToJobNewClusterInitScriptVolumesOutputWithContext(context.Context) JobNewClusterInitScriptVolumesOutput + ToJobJobClusterNewClusterWorkloadTypeOutput() JobJobClusterNewClusterWorkloadTypeOutput + ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypeOutput } -type JobNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobJobClusterNewClusterWorkloadTypeArgs struct { + Clients JobJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (JobNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptVolumes)(nil)).Elem() +func (JobJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesOutput() JobNewClusterInitScriptVolumesOutput { - return i.ToJobNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypeOutput() JobJobClusterNewClusterWorkloadTypeOutput { + return i.ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptVolumesOutput) +func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeOutput) } -func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { - return i.ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptVolumesOutput).ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterWorkloadTypeArgs) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeOutput).ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// JobNewClusterInitScriptVolumesPtrInput is an input type that accepts JobNewClusterInitScriptVolumesArgs, JobNewClusterInitScriptVolumesPtr and JobNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptVolumesPtrInput` via: +// JobJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeArgs, JobJobClusterNewClusterWorkloadTypePtr and JobJobClusterNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypePtrInput` via: // -// JobNewClusterInitScriptVolumesArgs{...} +// JobJobClusterNewClusterWorkloadTypeArgs{...} // // or: // // nil -type JobNewClusterInitScriptVolumesPtrInput interface { +type JobJobClusterNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput - ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobNewClusterInitScriptVolumesPtrOutput + ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput + ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput } -type jobNewClusterInitScriptVolumesPtrType JobNewClusterInitScriptVolumesArgs +type jobJobClusterNewClusterWorkloadTypePtrType JobJobClusterNewClusterWorkloadTypeArgs -func JobNewClusterInitScriptVolumesPtr(v *JobNewClusterInitScriptVolumesArgs) JobNewClusterInitScriptVolumesPtrInput { - return (*jobNewClusterInitScriptVolumesPtrType)(v) +func JobJobClusterNewClusterWorkloadTypePtr(v *JobJobClusterNewClusterWorkloadTypeArgs) JobJobClusterNewClusterWorkloadTypePtrInput { + return (*jobJobClusterNewClusterWorkloadTypePtrType)(v) } -func (*jobNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptVolumes)(nil)).Elem() +func (*jobJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (i *jobNewClusterInitScriptVolumesPtrType) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { - return i.ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterWorkloadTypePtrType) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptVolumesPtrType) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptVolumesPtrOutput) +func (i *jobJobClusterNewClusterWorkloadTypePtrType) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypePtrOutput) } -type JobNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptVolumes)(nil)).Elem() +func (JobJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesOutput() JobNewClusterInitScriptVolumesOutput { +func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypeOutput() JobJobClusterNewClusterWorkloadTypeOutput { return o } -func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesOutput { +func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeOutput { return o } -func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { - return o.ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { + return o.ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptVolumes) *JobNewClusterInitScriptVolumes { +func (o JobJobClusterNewClusterWorkloadTypeOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterWorkloadType) *JobJobClusterNewClusterWorkloadType { return &v - }).(JobNewClusterInitScriptVolumesPtrOutput) + }).(JobJobClusterNewClusterWorkloadTypePtrOutput) } -func (o JobNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterWorkloadTypeOutput) Clients() JobJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v JobJobClusterNewClusterWorkloadType) JobJobClusterNewClusterWorkloadTypeClients { + return v.Clients + }).(JobJobClusterNewClusterWorkloadTypeClientsOutput) } -type JobNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptVolumes)(nil)).Elem() +func (JobJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (o JobNewClusterInitScriptVolumesPtrOutput) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { +func (o JobJobClusterNewClusterWorkloadTypePtrOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutput() JobJobClusterNewClusterWorkloadTypePtrOutput { return o } -func (o JobNewClusterInitScriptVolumesPtrOutput) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { +func (o JobJobClusterNewClusterWorkloadTypePtrOutput) ToJobJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypePtrOutput { return o } -func (o JobNewClusterInitScriptVolumesPtrOutput) Elem() JobNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptVolumes) JobNewClusterInitScriptVolumes { +func (o JobJobClusterNewClusterWorkloadTypePtrOutput) Elem() JobJobClusterNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadType) JobJobClusterNewClusterWorkloadType { if v != nil { return *v } - var ret JobNewClusterInitScriptVolumes + var ret JobJobClusterNewClusterWorkloadType return ret - }).(JobNewClusterInitScriptVolumesOutput) + }).(JobJobClusterNewClusterWorkloadTypeOutput) } -func (o JobNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptVolumes) *string { +func (o JobJobClusterNewClusterWorkloadTypePtrOutput) Clients() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadType) *JobJobClusterNewClusterWorkloadTypeClients { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return &v.Clients + }).(JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -type JobNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type JobJobClusterNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// JobNewClusterInitScriptWorkspaceInput is an input type that accepts JobNewClusterInitScriptWorkspaceArgs and JobNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptWorkspaceInput` via: +// JobJobClusterNewClusterWorkloadTypeClientsInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeClientsArgs and JobJobClusterNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypeClientsInput` via: // -// JobNewClusterInitScriptWorkspaceArgs{...} -type JobNewClusterInitScriptWorkspaceInput interface { +// JobJobClusterNewClusterWorkloadTypeClientsArgs{...} +type JobJobClusterNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToJobNewClusterInitScriptWorkspaceOutput() JobNewClusterInitScriptWorkspaceOutput - ToJobNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobNewClusterInitScriptWorkspaceOutput + ToJobJobClusterNewClusterWorkloadTypeClientsOutput() JobJobClusterNewClusterWorkloadTypeClientsOutput + ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypeClientsOutput } -type JobNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobJobClusterNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (JobNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspaceOutput() JobNewClusterInitScriptWorkspaceOutput { - return i.ToJobNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsOutput() JobJobClusterNewClusterWorkloadTypeClientsOutput { + return i.ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptWorkspaceOutput) +func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeClientsOutput) } -func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptWorkspaceOutput).ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i JobJobClusterNewClusterWorkloadTypeClientsArgs) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeClientsOutput).ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// JobNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobNewClusterInitScriptWorkspaceArgs, JobNewClusterInitScriptWorkspacePtr and JobNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `JobNewClusterInitScriptWorkspacePtrInput` via: +// JobJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobJobClusterNewClusterWorkloadTypeClientsArgs, JobJobClusterNewClusterWorkloadTypeClientsPtr and JobJobClusterNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `JobJobClusterNewClusterWorkloadTypeClientsPtrInput` via: // -// JobNewClusterInitScriptWorkspaceArgs{...} +// JobJobClusterNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type JobNewClusterInitScriptWorkspacePtrInput interface { +type JobJobClusterNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput - ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobNewClusterInitScriptWorkspacePtrOutput + ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput + ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput } -type jobNewClusterInitScriptWorkspacePtrType JobNewClusterInitScriptWorkspaceArgs +type jobJobClusterNewClusterWorkloadTypeClientsPtrType JobJobClusterNewClusterWorkloadTypeClientsArgs -func JobNewClusterInitScriptWorkspacePtr(v *JobNewClusterInitScriptWorkspaceArgs) JobNewClusterInitScriptWorkspacePtrInput { - return (*jobNewClusterInitScriptWorkspacePtrType)(v) +func JobJobClusterNewClusterWorkloadTypeClientsPtr(v *JobJobClusterNewClusterWorkloadTypeClientsArgs) JobJobClusterNewClusterWorkloadTypeClientsPtrInput { + return (*jobJobClusterNewClusterWorkloadTypeClientsPtrType)(v) } -func (*jobNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptWorkspace)(nil)).Elem() +func (*jobJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *jobNewClusterInitScriptWorkspacePtrType) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *jobJobClusterNewClusterWorkloadTypeClientsPtrType) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterInitScriptWorkspacePtrType) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptWorkspacePtrOutput) +func (i *jobJobClusterNewClusterWorkloadTypeClientsPtrType) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -type JobNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type JobJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (JobNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspaceOutput() JobNewClusterInitScriptWorkspaceOutput { +func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsOutput() JobJobClusterNewClusterWorkloadTypeClientsOutput { return o } -func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspaceOutput { +func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsOutput { return o } -func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { - return o.ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptWorkspace) *JobNewClusterInitScriptWorkspace { +func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobJobClusterNewClusterWorkloadTypeClients) *JobJobClusterNewClusterWorkloadTypeClients { return &v - }).(JobNewClusterInitScriptWorkspacePtrOutput) + }).(JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -func (o JobNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -type JobNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o JobJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +} -func (JobNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterInitScriptWorkspace)(nil)).Elem() +type JobJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobNewClusterInitScriptWorkspacePtrOutput) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { +func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutput() JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobNewClusterInitScriptWorkspacePtrOutput) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { +func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToJobJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobJobClusterNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobNewClusterInitScriptWorkspacePtrOutput) Elem() JobNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptWorkspace) JobNewClusterInitScriptWorkspace { +func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() JobJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadTypeClients) JobJobClusterNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret JobNewClusterInitScriptWorkspace + var ret JobJobClusterNewClusterWorkloadTypeClients return ret - }).(JobNewClusterInitScriptWorkspaceOutput) + }).(JobJobClusterNewClusterWorkloadTypeClientsOutput) } -func (o JobNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterInitScriptWorkspace) *string { +func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -type JobNewClusterLibrary struct { - Cran *JobNewClusterLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobNewClusterLibraryMaven `pulumi:"maven"` - Pypi *JobNewClusterLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (o JobJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobJobClusterNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -// JobNewClusterLibraryInput is an input type that accepts JobNewClusterLibraryArgs and JobNewClusterLibraryOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryInput` via: +type JobLibrary struct { + Cran *JobLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobLibraryMaven `pulumi:"maven"` + Pypi *JobLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` +} + +// JobLibraryInput is an input type that accepts JobLibraryArgs and JobLibraryOutput values. +// You can construct a concrete instance of `JobLibraryInput` via: // -// JobNewClusterLibraryArgs{...} -type JobNewClusterLibraryInput interface { +// JobLibraryArgs{...} +type JobLibraryInput interface { pulumi.Input - ToJobNewClusterLibraryOutput() JobNewClusterLibraryOutput - ToJobNewClusterLibraryOutputWithContext(context.Context) JobNewClusterLibraryOutput + ToJobLibraryOutput() JobLibraryOutput + ToJobLibraryOutputWithContext(context.Context) JobLibraryOutput } -type JobNewClusterLibraryArgs struct { - Cran JobNewClusterLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobNewClusterLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobNewClusterLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type JobLibraryArgs struct { + Cran JobLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (JobNewClusterLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibrary)(nil)).Elem() +func (JobLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibrary)(nil)).Elem() } -func (i JobNewClusterLibraryArgs) ToJobNewClusterLibraryOutput() JobNewClusterLibraryOutput { - return i.ToJobNewClusterLibraryOutputWithContext(context.Background()) +func (i JobLibraryArgs) ToJobLibraryOutput() JobLibraryOutput { + return i.ToJobLibraryOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryArgs) ToJobNewClusterLibraryOutputWithContext(ctx context.Context) JobNewClusterLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryOutput) +func (i JobLibraryArgs) ToJobLibraryOutputWithContext(ctx context.Context) JobLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryOutput) } -// JobNewClusterLibraryArrayInput is an input type that accepts JobNewClusterLibraryArray and JobNewClusterLibraryArrayOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryArrayInput` via: +// JobLibraryArrayInput is an input type that accepts JobLibraryArray and JobLibraryArrayOutput values. +// You can construct a concrete instance of `JobLibraryArrayInput` via: // -// JobNewClusterLibraryArray{ JobNewClusterLibraryArgs{...} } -type JobNewClusterLibraryArrayInput interface { +// JobLibraryArray{ JobLibraryArgs{...} } +type JobLibraryArrayInput interface { pulumi.Input - ToJobNewClusterLibraryArrayOutput() JobNewClusterLibraryArrayOutput - ToJobNewClusterLibraryArrayOutputWithContext(context.Context) JobNewClusterLibraryArrayOutput + ToJobLibraryArrayOutput() JobLibraryArrayOutput + ToJobLibraryArrayOutputWithContext(context.Context) JobLibraryArrayOutput } -type JobNewClusterLibraryArray []JobNewClusterLibraryInput +type JobLibraryArray []JobLibraryInput -func (JobNewClusterLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobNewClusterLibrary)(nil)).Elem() +func (JobLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobLibrary)(nil)).Elem() } -func (i JobNewClusterLibraryArray) ToJobNewClusterLibraryArrayOutput() JobNewClusterLibraryArrayOutput { - return i.ToJobNewClusterLibraryArrayOutputWithContext(context.Background()) +func (i JobLibraryArray) ToJobLibraryArrayOutput() JobLibraryArrayOutput { + return i.ToJobLibraryArrayOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryArray) ToJobNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobNewClusterLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryArrayOutput) +func (i JobLibraryArray) ToJobLibraryArrayOutputWithContext(ctx context.Context) JobLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryArrayOutput) } -type JobNewClusterLibraryOutput struct{ *pulumi.OutputState } +type JobLibraryOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibrary)(nil)).Elem() +func (JobLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibrary)(nil)).Elem() } -func (o JobNewClusterLibraryOutput) ToJobNewClusterLibraryOutput() JobNewClusterLibraryOutput { +func (o JobLibraryOutput) ToJobLibraryOutput() JobLibraryOutput { return o } -func (o JobNewClusterLibraryOutput) ToJobNewClusterLibraryOutputWithContext(ctx context.Context) JobNewClusterLibraryOutput { +func (o JobLibraryOutput) ToJobLibraryOutputWithContext(ctx context.Context) JobLibraryOutput { return o } -func (o JobNewClusterLibraryOutput) Cran() JobNewClusterLibraryCranPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *JobNewClusterLibraryCran { return v.Cran }).(JobNewClusterLibraryCranPtrOutput) +func (o JobLibraryOutput) Cran() JobLibraryCranPtrOutput { + return o.ApplyT(func(v JobLibrary) *JobLibraryCran { return v.Cran }).(JobLibraryCranPtrOutput) } -func (o JobNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o JobLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o JobNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o JobLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o JobNewClusterLibraryOutput) Maven() JobNewClusterLibraryMavenPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *JobNewClusterLibraryMaven { return v.Maven }).(JobNewClusterLibraryMavenPtrOutput) +func (o JobLibraryOutput) Maven() JobLibraryMavenPtrOutput { + return o.ApplyT(func(v JobLibrary) *JobLibraryMaven { return v.Maven }).(JobLibraryMavenPtrOutput) } -func (o JobNewClusterLibraryOutput) Pypi() JobNewClusterLibraryPypiPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *JobNewClusterLibraryPypi { return v.Pypi }).(JobNewClusterLibraryPypiPtrOutput) +func (o JobLibraryOutput) Pypi() JobLibraryPypiPtrOutput { + return o.ApplyT(func(v JobLibrary) *JobLibraryPypi { return v.Pypi }).(JobLibraryPypiPtrOutput) } -func (o JobNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o JobLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o JobNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o JobLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type JobNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } +type JobLibraryArrayOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobNewClusterLibrary)(nil)).Elem() +func (JobLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobLibrary)(nil)).Elem() } -func (o JobNewClusterLibraryArrayOutput) ToJobNewClusterLibraryArrayOutput() JobNewClusterLibraryArrayOutput { +func (o JobLibraryArrayOutput) ToJobLibraryArrayOutput() JobLibraryArrayOutput { return o } -func (o JobNewClusterLibraryArrayOutput) ToJobNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobNewClusterLibraryArrayOutput { +func (o JobLibraryArrayOutput) ToJobLibraryArrayOutputWithContext(ctx context.Context) JobLibraryArrayOutput { return o } -func (o JobNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobNewClusterLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNewClusterLibrary { - return vs[0].([]JobNewClusterLibrary)[vs[1].(int)] - }).(JobNewClusterLibraryOutput) +func (o JobLibraryArrayOutput) Index(i pulumi.IntInput) JobLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobLibrary { + return vs[0].([]JobLibrary)[vs[1].(int)] + }).(JobLibraryOutput) } -type JobNewClusterLibraryCran struct { +type JobLibraryCran struct { Package string `pulumi:"package"` Repo *string `pulumi:"repo"` } -// JobNewClusterLibraryCranInput is an input type that accepts JobNewClusterLibraryCranArgs and JobNewClusterLibraryCranOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryCranInput` via: +// JobLibraryCranInput is an input type that accepts JobLibraryCranArgs and JobLibraryCranOutput values. +// You can construct a concrete instance of `JobLibraryCranInput` via: // -// JobNewClusterLibraryCranArgs{...} -type JobNewClusterLibraryCranInput interface { +// JobLibraryCranArgs{...} +type JobLibraryCranInput interface { pulumi.Input - ToJobNewClusterLibraryCranOutput() JobNewClusterLibraryCranOutput - ToJobNewClusterLibraryCranOutputWithContext(context.Context) JobNewClusterLibraryCranOutput + ToJobLibraryCranOutput() JobLibraryCranOutput + ToJobLibraryCranOutputWithContext(context.Context) JobLibraryCranOutput } -type JobNewClusterLibraryCranArgs struct { +type JobLibraryCranArgs struct { Package pulumi.StringInput `pulumi:"package"` Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobNewClusterLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibraryCran)(nil)).Elem() +func (JobLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibraryCran)(nil)).Elem() } -func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranOutput() JobNewClusterLibraryCranOutput { - return i.ToJobNewClusterLibraryCranOutputWithContext(context.Background()) +func (i JobLibraryCranArgs) ToJobLibraryCranOutput() JobLibraryCranOutput { + return i.ToJobLibraryCranOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranOutputWithContext(ctx context.Context) JobNewClusterLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryCranOutput) +func (i JobLibraryCranArgs) ToJobLibraryCranOutputWithContext(ctx context.Context) JobLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryCranOutput) } -func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { - return i.ToJobNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i JobLibraryCranArgs) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { + return i.ToJobLibraryCranPtrOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryCranOutput).ToJobNewClusterLibraryCranPtrOutputWithContext(ctx) +func (i JobLibraryCranArgs) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryCranOutput).ToJobLibraryCranPtrOutputWithContext(ctx) } -// JobNewClusterLibraryCranPtrInput is an input type that accepts JobNewClusterLibraryCranArgs, JobNewClusterLibraryCranPtr and JobNewClusterLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryCranPtrInput` via: +// JobLibraryCranPtrInput is an input type that accepts JobLibraryCranArgs, JobLibraryCranPtr and JobLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobLibraryCranPtrInput` via: // -// JobNewClusterLibraryCranArgs{...} +// JobLibraryCranArgs{...} // // or: // // nil -type JobNewClusterLibraryCranPtrInput interface { +type JobLibraryCranPtrInput interface { pulumi.Input - ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput - ToJobNewClusterLibraryCranPtrOutputWithContext(context.Context) JobNewClusterLibraryCranPtrOutput + ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput + ToJobLibraryCranPtrOutputWithContext(context.Context) JobLibraryCranPtrOutput } -type jobNewClusterLibraryCranPtrType JobNewClusterLibraryCranArgs +type jobLibraryCranPtrType JobLibraryCranArgs -func JobNewClusterLibraryCranPtr(v *JobNewClusterLibraryCranArgs) JobNewClusterLibraryCranPtrInput { - return (*jobNewClusterLibraryCranPtrType)(v) +func JobLibraryCranPtr(v *JobLibraryCranArgs) JobLibraryCranPtrInput { + return (*jobLibraryCranPtrType)(v) } -func (*jobNewClusterLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterLibraryCran)(nil)).Elem() +func (*jobLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobLibraryCran)(nil)).Elem() } -func (i *jobNewClusterLibraryCranPtrType) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { - return i.ToJobNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobLibraryCranPtrType) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { + return i.ToJobLibraryCranPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterLibraryCranPtrType) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryCranPtrOutput) +func (i *jobLibraryCranPtrType) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryCranPtrOutput) } -type JobNewClusterLibraryCranOutput struct{ *pulumi.OutputState } +type JobLibraryCranOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibraryCran)(nil)).Elem() +func (JobLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibraryCran)(nil)).Elem() } -func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranOutput() JobNewClusterLibraryCranOutput { +func (o JobLibraryCranOutput) ToJobLibraryCranOutput() JobLibraryCranOutput { return o } -func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranOutputWithContext(ctx context.Context) JobNewClusterLibraryCranOutput { +func (o JobLibraryCranOutput) ToJobLibraryCranOutputWithContext(ctx context.Context) JobLibraryCranOutput { return o } -func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { - return o.ToJobNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (o JobLibraryCranOutput) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { + return o.ToJobLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterLibraryCran) *JobNewClusterLibraryCran { +func (o JobLibraryCranOutput) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobLibraryCran) *JobLibraryCran { return &v - }).(JobNewClusterLibraryCranPtrOutput) + }).(JobLibraryCranPtrOutput) } -func (o JobNewClusterLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o JobLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o JobNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterLibraryCran)(nil)).Elem() +func (JobLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobLibraryCran)(nil)).Elem() } -func (o JobNewClusterLibraryCranPtrOutput) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { +func (o JobLibraryCranPtrOutput) ToJobLibraryCranPtrOutput() JobLibraryCranPtrOutput { return o } -func (o JobNewClusterLibraryCranPtrOutput) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { +func (o JobLibraryCranPtrOutput) ToJobLibraryCranPtrOutputWithContext(ctx context.Context) JobLibraryCranPtrOutput { return o } -func (o JobNewClusterLibraryCranPtrOutput) Elem() JobNewClusterLibraryCranOutput { - return o.ApplyT(func(v *JobNewClusterLibraryCran) JobNewClusterLibraryCran { +func (o JobLibraryCranPtrOutput) Elem() JobLibraryCranOutput { + return o.ApplyT(func(v *JobLibraryCran) JobLibraryCran { if v != nil { return *v } - var ret JobNewClusterLibraryCran + var ret JobLibraryCran return ret - }).(JobNewClusterLibraryCranOutput) + }).(JobLibraryCranOutput) } -func (o JobNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterLibraryCran) *string { +func (o JobLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobLibraryCran) *string { if v == nil { return nil } @@ -21410,8 +20080,8 @@ func (o JobNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o JobNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterLibraryCran) *string { +func (o JobLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobLibraryCran) *string { if v == nil { return nil } @@ -21419,144 +20089,144 @@ func (o JobNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type JobNewClusterLibraryMaven struct { +type JobLibraryMaven struct { Coordinates string `pulumi:"coordinates"` Exclusions []string `pulumi:"exclusions"` Repo *string `pulumi:"repo"` } -// JobNewClusterLibraryMavenInput is an input type that accepts JobNewClusterLibraryMavenArgs and JobNewClusterLibraryMavenOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryMavenInput` via: +// JobLibraryMavenInput is an input type that accepts JobLibraryMavenArgs and JobLibraryMavenOutput values. +// You can construct a concrete instance of `JobLibraryMavenInput` via: // -// JobNewClusterLibraryMavenArgs{...} -type JobNewClusterLibraryMavenInput interface { +// JobLibraryMavenArgs{...} +type JobLibraryMavenInput interface { pulumi.Input - ToJobNewClusterLibraryMavenOutput() JobNewClusterLibraryMavenOutput - ToJobNewClusterLibraryMavenOutputWithContext(context.Context) JobNewClusterLibraryMavenOutput + ToJobLibraryMavenOutput() JobLibraryMavenOutput + ToJobLibraryMavenOutputWithContext(context.Context) JobLibraryMavenOutput } -type JobNewClusterLibraryMavenArgs struct { +type JobLibraryMavenArgs struct { Coordinates pulumi.StringInput `pulumi:"coordinates"` Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobNewClusterLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibraryMaven)(nil)).Elem() +func (JobLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibraryMaven)(nil)).Elem() } -func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenOutput() JobNewClusterLibraryMavenOutput { - return i.ToJobNewClusterLibraryMavenOutputWithContext(context.Background()) +func (i JobLibraryMavenArgs) ToJobLibraryMavenOutput() JobLibraryMavenOutput { + return i.ToJobLibraryMavenOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryMavenOutput) +func (i JobLibraryMavenArgs) ToJobLibraryMavenOutputWithContext(ctx context.Context) JobLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryMavenOutput) } -func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { - return i.ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobLibraryMavenArgs) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { + return i.ToJobLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryMavenOutput).ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx) +func (i JobLibraryMavenArgs) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryMavenOutput).ToJobLibraryMavenPtrOutputWithContext(ctx) } -// JobNewClusterLibraryMavenPtrInput is an input type that accepts JobNewClusterLibraryMavenArgs, JobNewClusterLibraryMavenPtr and JobNewClusterLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryMavenPtrInput` via: +// JobLibraryMavenPtrInput is an input type that accepts JobLibraryMavenArgs, JobLibraryMavenPtr and JobLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobLibraryMavenPtrInput` via: // -// JobNewClusterLibraryMavenArgs{...} +// JobLibraryMavenArgs{...} // // or: // // nil -type JobNewClusterLibraryMavenPtrInput interface { +type JobLibraryMavenPtrInput interface { pulumi.Input - ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput - ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobNewClusterLibraryMavenPtrOutput + ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput + ToJobLibraryMavenPtrOutputWithContext(context.Context) JobLibraryMavenPtrOutput } -type jobNewClusterLibraryMavenPtrType JobNewClusterLibraryMavenArgs +type jobLibraryMavenPtrType JobLibraryMavenArgs -func JobNewClusterLibraryMavenPtr(v *JobNewClusterLibraryMavenArgs) JobNewClusterLibraryMavenPtrInput { - return (*jobNewClusterLibraryMavenPtrType)(v) +func JobLibraryMavenPtr(v *JobLibraryMavenArgs) JobLibraryMavenPtrInput { + return (*jobLibraryMavenPtrType)(v) } -func (*jobNewClusterLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterLibraryMaven)(nil)).Elem() +func (*jobLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobLibraryMaven)(nil)).Elem() } -func (i *jobNewClusterLibraryMavenPtrType) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { - return i.ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobLibraryMavenPtrType) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { + return i.ToJobLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterLibraryMavenPtrType) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryMavenPtrOutput) +func (i *jobLibraryMavenPtrType) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryMavenPtrOutput) } -type JobNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } +type JobLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibraryMaven)(nil)).Elem() +func (JobLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibraryMaven)(nil)).Elem() } -func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenOutput() JobNewClusterLibraryMavenOutput { +func (o JobLibraryMavenOutput) ToJobLibraryMavenOutput() JobLibraryMavenOutput { return o } -func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenOutput { +func (o JobLibraryMavenOutput) ToJobLibraryMavenOutputWithContext(ctx context.Context) JobLibraryMavenOutput { return o } -func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { - return o.ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobLibraryMavenOutput) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { + return o.ToJobLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterLibraryMaven) *JobNewClusterLibraryMaven { +func (o JobLibraryMavenOutput) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobLibraryMaven) *JobLibraryMaven { return &v - }).(JobNewClusterLibraryMavenPtrOutput) + }).(JobLibraryMavenPtrOutput) } -func (o JobNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o JobLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o JobNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o JobLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -func (o JobNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type JobLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterLibraryMaven)(nil)).Elem() +func (JobLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobLibraryMaven)(nil)).Elem() } -func (o JobNewClusterLibraryMavenPtrOutput) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { +func (o JobLibraryMavenPtrOutput) ToJobLibraryMavenPtrOutput() JobLibraryMavenPtrOutput { return o } -func (o JobNewClusterLibraryMavenPtrOutput) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { +func (o JobLibraryMavenPtrOutput) ToJobLibraryMavenPtrOutputWithContext(ctx context.Context) JobLibraryMavenPtrOutput { return o } -func (o JobNewClusterLibraryMavenPtrOutput) Elem() JobNewClusterLibraryMavenOutput { - return o.ApplyT(func(v *JobNewClusterLibraryMaven) JobNewClusterLibraryMaven { +func (o JobLibraryMavenPtrOutput) Elem() JobLibraryMavenOutput { + return o.ApplyT(func(v *JobLibraryMaven) JobLibraryMaven { if v != nil { return *v } - var ret JobNewClusterLibraryMaven + var ret JobLibraryMaven return ret - }).(JobNewClusterLibraryMavenOutput) + }).(JobLibraryMavenOutput) } -func (o JobNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterLibraryMaven) *string { +func (o JobLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobLibraryMaven) *string { if v == nil { return nil } @@ -21564,8 +20234,8 @@ func (o JobNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -func (o JobNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobNewClusterLibraryMaven) []string { +func (o JobLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobLibraryMaven) []string { if v == nil { return nil } @@ -21573,8 +20243,8 @@ func (o JobNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutpu }).(pulumi.StringArrayOutput) } -func (o JobNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterLibraryMaven) *string { +func (o JobLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobLibraryMaven) *string { if v == nil { return nil } @@ -21582,138 +20252,138 @@ func (o JobNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type JobNewClusterLibraryPypi struct { +type JobLibraryPypi struct { Package string `pulumi:"package"` Repo *string `pulumi:"repo"` } -// JobNewClusterLibraryPypiInput is an input type that accepts JobNewClusterLibraryPypiArgs and JobNewClusterLibraryPypiOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryPypiInput` via: +// JobLibraryPypiInput is an input type that accepts JobLibraryPypiArgs and JobLibraryPypiOutput values. +// You can construct a concrete instance of `JobLibraryPypiInput` via: // -// JobNewClusterLibraryPypiArgs{...} -type JobNewClusterLibraryPypiInput interface { +// JobLibraryPypiArgs{...} +type JobLibraryPypiInput interface { pulumi.Input - ToJobNewClusterLibraryPypiOutput() JobNewClusterLibraryPypiOutput - ToJobNewClusterLibraryPypiOutputWithContext(context.Context) JobNewClusterLibraryPypiOutput + ToJobLibraryPypiOutput() JobLibraryPypiOutput + ToJobLibraryPypiOutputWithContext(context.Context) JobLibraryPypiOutput } -type JobNewClusterLibraryPypiArgs struct { +type JobLibraryPypiArgs struct { Package pulumi.StringInput `pulumi:"package"` Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobNewClusterLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibraryPypi)(nil)).Elem() +func (JobLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibraryPypi)(nil)).Elem() } -func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiOutput() JobNewClusterLibraryPypiOutput { - return i.ToJobNewClusterLibraryPypiOutputWithContext(context.Background()) +func (i JobLibraryPypiArgs) ToJobLibraryPypiOutput() JobLibraryPypiOutput { + return i.ToJobLibraryPypiOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryPypiOutput) +func (i JobLibraryPypiArgs) ToJobLibraryPypiOutputWithContext(ctx context.Context) JobLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryPypiOutput) } -func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { - return i.ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobLibraryPypiArgs) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { + return i.ToJobLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryPypiOutput).ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx) +func (i JobLibraryPypiArgs) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryPypiOutput).ToJobLibraryPypiPtrOutputWithContext(ctx) } -// JobNewClusterLibraryPypiPtrInput is an input type that accepts JobNewClusterLibraryPypiArgs, JobNewClusterLibraryPypiPtr and JobNewClusterLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobNewClusterLibraryPypiPtrInput` via: +// JobLibraryPypiPtrInput is an input type that accepts JobLibraryPypiArgs, JobLibraryPypiPtr and JobLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobLibraryPypiPtrInput` via: // -// JobNewClusterLibraryPypiArgs{...} +// JobLibraryPypiArgs{...} // // or: // // nil -type JobNewClusterLibraryPypiPtrInput interface { +type JobLibraryPypiPtrInput interface { pulumi.Input - ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput - ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobNewClusterLibraryPypiPtrOutput + ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput + ToJobLibraryPypiPtrOutputWithContext(context.Context) JobLibraryPypiPtrOutput } -type jobNewClusterLibraryPypiPtrType JobNewClusterLibraryPypiArgs +type jobLibraryPypiPtrType JobLibraryPypiArgs -func JobNewClusterLibraryPypiPtr(v *JobNewClusterLibraryPypiArgs) JobNewClusterLibraryPypiPtrInput { - return (*jobNewClusterLibraryPypiPtrType)(v) +func JobLibraryPypiPtr(v *JobLibraryPypiArgs) JobLibraryPypiPtrInput { + return (*jobLibraryPypiPtrType)(v) } -func (*jobNewClusterLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterLibraryPypi)(nil)).Elem() +func (*jobLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobLibraryPypi)(nil)).Elem() } -func (i *jobNewClusterLibraryPypiPtrType) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { - return i.ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobLibraryPypiPtrType) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { + return i.ToJobLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterLibraryPypiPtrType) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryPypiPtrOutput) +func (i *jobLibraryPypiPtrType) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobLibraryPypiPtrOutput) } -type JobNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } +type JobLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterLibraryPypi)(nil)).Elem() +func (JobLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobLibraryPypi)(nil)).Elem() } -func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiOutput() JobNewClusterLibraryPypiOutput { +func (o JobLibraryPypiOutput) ToJobLibraryPypiOutput() JobLibraryPypiOutput { return o } -func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiOutput { +func (o JobLibraryPypiOutput) ToJobLibraryPypiOutputWithContext(ctx context.Context) JobLibraryPypiOutput { return o } -func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { - return o.ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobLibraryPypiOutput) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { + return o.ToJobLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterLibraryPypi) *JobNewClusterLibraryPypi { +func (o JobLibraryPypiOutput) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobLibraryPypi) *JobLibraryPypi { return &v - }).(JobNewClusterLibraryPypiPtrOutput) + }).(JobLibraryPypiPtrOutput) } -func (o JobNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o JobLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o JobNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type JobLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterLibraryPypi)(nil)).Elem() +func (JobLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobLibraryPypi)(nil)).Elem() } -func (o JobNewClusterLibraryPypiPtrOutput) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { +func (o JobLibraryPypiPtrOutput) ToJobLibraryPypiPtrOutput() JobLibraryPypiPtrOutput { return o } -func (o JobNewClusterLibraryPypiPtrOutput) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { +func (o JobLibraryPypiPtrOutput) ToJobLibraryPypiPtrOutputWithContext(ctx context.Context) JobLibraryPypiPtrOutput { return o } -func (o JobNewClusterLibraryPypiPtrOutput) Elem() JobNewClusterLibraryPypiOutput { - return o.ApplyT(func(v *JobNewClusterLibraryPypi) JobNewClusterLibraryPypi { +func (o JobLibraryPypiPtrOutput) Elem() JobLibraryPypiOutput { + return o.ApplyT(func(v *JobLibraryPypi) JobLibraryPypi { if v != nil { return *v } - var ret JobNewClusterLibraryPypi + var ret JobLibraryPypi return ret - }).(JobNewClusterLibraryPypiOutput) + }).(JobLibraryPypiOutput) } -func (o JobNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterLibraryPypi) *string { +func (o JobLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobLibraryPypi) *string { if v == nil { return nil } @@ -21721,8 +20391,8 @@ func (o JobNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o JobNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNewClusterLibraryPypi) *string { +func (o JobLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobLibraryPypi) *string { if v == nil { return nil } @@ -21730,9859 +20400,10233 @@ func (o JobNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type JobNewClusterWorkloadType struct { - Clients JobNewClusterWorkloadTypeClients `pulumi:"clients"` +type JobNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *JobNewClusterAutoscale `pulumi:"autoscale"` + AwsAttributes *JobNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *JobNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *JobNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []JobNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *JobNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` + EnableElasticDisk *bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *JobNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []JobNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries []JobNewClusterLibrary `pulumi:"libraries"` + NodeTypeId *string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType *JobNewClusterWorkloadType `pulumi:"workloadType"` } -// JobNewClusterWorkloadTypeInput is an input type that accepts JobNewClusterWorkloadTypeArgs and JobNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `JobNewClusterWorkloadTypeInput` via: +// JobNewClusterInput is an input type that accepts JobNewClusterArgs and JobNewClusterOutput values. +// You can construct a concrete instance of `JobNewClusterInput` via: // -// JobNewClusterWorkloadTypeArgs{...} -type JobNewClusterWorkloadTypeInput interface { +// JobNewClusterArgs{...} +type JobNewClusterInput interface { pulumi.Input - ToJobNewClusterWorkloadTypeOutput() JobNewClusterWorkloadTypeOutput - ToJobNewClusterWorkloadTypeOutputWithContext(context.Context) JobNewClusterWorkloadTypeOutput + ToJobNewClusterOutput() JobNewClusterOutput + ToJobNewClusterOutputWithContext(context.Context) JobNewClusterOutput } -type JobNewClusterWorkloadTypeArgs struct { - Clients JobNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type JobNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale JobNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AwsAttributes JobNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes JobNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf JobNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos JobNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage JobNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes JobNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts JobNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + IsSingleNode pulumi.BoolPtrInput `pulumi:"isSingleNode"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries JobNewClusterLibraryArrayInput `pulumi:"libraries"` + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + UseMlRuntime pulumi.BoolPtrInput `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType JobNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (JobNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterWorkloadType)(nil)).Elem() +func (JobNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewCluster)(nil)).Elem() } -func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypeOutput() JobNewClusterWorkloadTypeOutput { - return i.ToJobNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i JobNewClusterArgs) ToJobNewClusterOutput() JobNewClusterOutput { + return i.ToJobNewClusterOutputWithContext(context.Background()) } -func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeOutput) +func (i JobNewClusterArgs) ToJobNewClusterOutputWithContext(ctx context.Context) JobNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterOutput) } -func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { - return i.ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i JobNewClusterArgs) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { + return i.ToJobNewClusterPtrOutputWithContext(context.Background()) } -func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeOutput).ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i JobNewClusterArgs) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterOutput).ToJobNewClusterPtrOutputWithContext(ctx) } -// JobNewClusterWorkloadTypePtrInput is an input type that accepts JobNewClusterWorkloadTypeArgs, JobNewClusterWorkloadTypePtr and JobNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `JobNewClusterWorkloadTypePtrInput` via: +// JobNewClusterPtrInput is an input type that accepts JobNewClusterArgs, JobNewClusterPtr and JobNewClusterPtrOutput values. +// You can construct a concrete instance of `JobNewClusterPtrInput` via: // -// JobNewClusterWorkloadTypeArgs{...} +// JobNewClusterArgs{...} // // or: // // nil -type JobNewClusterWorkloadTypePtrInput interface { +type JobNewClusterPtrInput interface { pulumi.Input - ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput - ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobNewClusterWorkloadTypePtrOutput + ToJobNewClusterPtrOutput() JobNewClusterPtrOutput + ToJobNewClusterPtrOutputWithContext(context.Context) JobNewClusterPtrOutput } -type jobNewClusterWorkloadTypePtrType JobNewClusterWorkloadTypeArgs +type jobNewClusterPtrType JobNewClusterArgs -func JobNewClusterWorkloadTypePtr(v *JobNewClusterWorkloadTypeArgs) JobNewClusterWorkloadTypePtrInput { - return (*jobNewClusterWorkloadTypePtrType)(v) +func JobNewClusterPtr(v *JobNewClusterArgs) JobNewClusterPtrInput { + return (*jobNewClusterPtrType)(v) } -func (*jobNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterWorkloadType)(nil)).Elem() +func (*jobNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewCluster)(nil)).Elem() } -func (i *jobNewClusterWorkloadTypePtrType) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { - return i.ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *jobNewClusterPtrType) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { + return i.ToJobNewClusterPtrOutputWithContext(context.Background()) } -func (i *jobNewClusterWorkloadTypePtrType) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypePtrOutput) +func (i *jobNewClusterPtrType) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterPtrOutput) } -type JobNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type JobNewClusterOutput struct{ *pulumi.OutputState } -func (JobNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterWorkloadType)(nil)).Elem() +func (JobNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewCluster)(nil)).Elem() } -func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypeOutput() JobNewClusterWorkloadTypeOutput { +func (o JobNewClusterOutput) ToJobNewClusterOutput() JobNewClusterOutput { return o } -func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeOutput { +func (o JobNewClusterOutput) ToJobNewClusterOutputWithContext(ctx context.Context) JobNewClusterOutput { return o } -func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { - return o.ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o JobNewClusterOutput) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { + return o.ToJobNewClusterPtrOutputWithContext(context.Background()) } -func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterWorkloadType) *JobNewClusterWorkloadType { +func (o JobNewClusterOutput) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewCluster) *JobNewCluster { return &v - }).(JobNewClusterWorkloadTypePtrOutput) + }).(JobNewClusterPtrOutput) } -func (o JobNewClusterWorkloadTypeOutput) Clients() JobNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v JobNewClusterWorkloadType) JobNewClusterWorkloadTypeClients { return v.Clients }).(JobNewClusterWorkloadTypeClientsOutput) +func (o JobNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -type JobNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterOutput) Autoscale() JobNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterAutoscale { return v.Autoscale }).(JobNewClusterAutoscalePtrOutput) +} -func (JobNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterWorkloadType)(nil)).Elem() +func (o JobNewClusterOutput) AwsAttributes() JobNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterAwsAttributes { return v.AwsAttributes }).(JobNewClusterAwsAttributesPtrOutput) } -func (o JobNewClusterWorkloadTypePtrOutput) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { - return o +func (o JobNewClusterOutput) AzureAttributes() JobNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterAzureAttributes { return v.AzureAttributes }).(JobNewClusterAzureAttributesPtrOutput) } -func (o JobNewClusterWorkloadTypePtrOutput) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { - return o +func (o JobNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o JobNewClusterWorkloadTypePtrOutput) Elem() JobNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *JobNewClusterWorkloadType) JobNewClusterWorkloadType { - if v != nil { - return *v - } - var ret JobNewClusterWorkloadType - return ret - }).(JobNewClusterWorkloadTypeOutput) +func (o JobNewClusterOutput) ClusterLogConf() JobNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterClusterLogConf { return v.ClusterLogConf }).(JobNewClusterClusterLogConfPtrOutput) } -func (o JobNewClusterWorkloadTypePtrOutput) Clients() JobNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *JobNewClusterWorkloadType) *JobNewClusterWorkloadTypeClients { - if v == nil { - return nil - } - return &v.Clients - }).(JobNewClusterWorkloadTypeClientsPtrOutput) +func (o JobNewClusterOutput) ClusterMountInfos() JobNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v JobNewCluster) []JobNewClusterClusterMountInfo { return v.ClusterMountInfos }).(JobNewClusterClusterMountInfoArrayOutput) } -type JobNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o JobNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -// JobNewClusterWorkloadTypeClientsInput is an input type that accepts JobNewClusterWorkloadTypeClientsArgs and JobNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `JobNewClusterWorkloadTypeClientsInput` via: -// -// JobNewClusterWorkloadTypeClientsArgs{...} -type JobNewClusterWorkloadTypeClientsInput interface { - pulumi.Input +func (o JobNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v JobNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +} - ToJobNewClusterWorkloadTypeClientsOutput() JobNewClusterWorkloadTypeClientsOutput - ToJobNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobNewClusterWorkloadTypeClientsOutput +func (o JobNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -type JobNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +func (o JobNewClusterOutput) DockerImage() JobNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterDockerImage { return v.DockerImage }).(JobNewClusterDockerImagePtrOutput) } -func (JobNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsOutput() JobNewClusterWorkloadTypeClientsOutput { - return i.ToJobNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (o JobNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeClientsOutput) +func (o JobNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeClientsOutput).ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (o JobNewClusterOutput) GcpAttributes() JobNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterGcpAttributes { return v.GcpAttributes }).(JobNewClusterGcpAttributesPtrOutput) } -// JobNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobNewClusterWorkloadTypeClientsArgs, JobNewClusterWorkloadTypeClientsPtr and JobNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `JobNewClusterWorkloadTypeClientsPtrInput` via: -// -// JobNewClusterWorkloadTypeClientsArgs{...} -// -// or: -// -// nil -type JobNewClusterWorkloadTypeClientsPtrInput interface { - pulumi.Input +func (o JobNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} - ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput - ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobNewClusterWorkloadTypeClientsPtrOutput +func (o JobNewClusterOutput) InitScripts() JobNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v JobNewCluster) []JobNewClusterInitScript { return v.InitScripts }).(JobNewClusterInitScriptArrayOutput) } -type jobNewClusterWorkloadTypeClientsPtrType JobNewClusterWorkloadTypeClientsArgs +func (o JobNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} -func JobNewClusterWorkloadTypeClientsPtr(v *JobNewClusterWorkloadTypeClientsArgs) JobNewClusterWorkloadTypeClientsPtrInput { - return (*jobNewClusterWorkloadTypeClientsPtrType)(v) +func (o JobNewClusterOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewCluster) *bool { return v.IsSingleNode }).(pulumi.BoolPtrOutput) } -func (*jobNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobNewClusterOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.Kind }).(pulumi.StringPtrOutput) } -func (i *jobNewClusterWorkloadTypeClientsPtrType) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobNewClusterOutput) Libraries() JobNewClusterLibraryArrayOutput { + return o.ApplyT(func(v JobNewCluster) []JobNewClusterLibrary { return v.Libraries }).(JobNewClusterLibraryArrayOutput) } -func (i *jobNewClusterWorkloadTypeClientsPtrType) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeClientsPtrOutput) +func (o JobNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -type JobNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +func (o JobNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +} -func (JobNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsOutput() JobNewClusterWorkloadTypeClientsOutput { - return o +func (o JobNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsOutput { - return o +func (o JobNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { - return o.ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v JobNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterWorkloadTypeClients) *JobNewClusterWorkloadTypeClients { - return &v - }).(JobNewClusterWorkloadTypeClientsPtrOutput) +func (o JobNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v JobNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o JobNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o JobNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v JobNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o JobNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o JobNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -type JobNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewCluster) *bool { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) +} -func (JobNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNewClusterWorkloadTypeClients)(nil)).Elem() +// isn't supported +func (o JobNewClusterOutput) WorkloadType() JobNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v JobNewCluster) *JobNewClusterWorkloadType { return v.WorkloadType }).(JobNewClusterWorkloadTypePtrOutput) } -func (o JobNewClusterWorkloadTypeClientsPtrOutput) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { +type JobNewClusterPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewCluster)(nil)).Elem() +} + +func (o JobNewClusterPtrOutput) ToJobNewClusterPtrOutput() JobNewClusterPtrOutput { return o } -func (o JobNewClusterWorkloadTypeClientsPtrOutput) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { +func (o JobNewClusterPtrOutput) ToJobNewClusterPtrOutputWithContext(ctx context.Context) JobNewClusterPtrOutput { return o } -func (o JobNewClusterWorkloadTypeClientsPtrOutput) Elem() JobNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *JobNewClusterWorkloadTypeClients) JobNewClusterWorkloadTypeClients { +func (o JobNewClusterPtrOutput) Elem() JobNewClusterOutput { + return o.ApplyT(func(v *JobNewCluster) JobNewCluster { if v != nil { return *v } - var ret JobNewClusterWorkloadTypeClients + var ret JobNewCluster return ret - }).(JobNewClusterWorkloadTypeClientsOutput) + }).(JobNewClusterOutput) } -func (o JobNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewClusterWorkloadTypeClients) *bool { +func (o JobNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *bool { if v == nil { return nil } - return v.Jobs + return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o JobNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNewClusterWorkloadTypeClients) *bool { +func (o JobNewClusterPtrOutput) Autoscale() JobNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterAutoscale { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) -} - -type JobNotebookTask struct { - // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - BaseParameters map[string]string `pulumi:"baseParameters"` - // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - NotebookPath string `pulumi:"notebookPath"` - // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. - Source *string `pulumi:"source"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - WarehouseId *string `pulumi:"warehouseId"` + return v.Autoscale + }).(JobNewClusterAutoscalePtrOutput) } -// JobNotebookTaskInput is an input type that accepts JobNotebookTaskArgs and JobNotebookTaskOutput values. -// You can construct a concrete instance of `JobNotebookTaskInput` via: -// -// JobNotebookTaskArgs{...} -type JobNotebookTaskInput interface { - pulumi.Input - - ToJobNotebookTaskOutput() JobNotebookTaskOutput - ToJobNotebookTaskOutputWithContext(context.Context) JobNotebookTaskOutput +func (o JobNewClusterPtrOutput) AwsAttributes() JobNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(JobNewClusterAwsAttributesPtrOutput) } -type JobNotebookTaskArgs struct { - // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` - // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. - Source pulumi.StringPtrInput `pulumi:"source"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +func (o JobNewClusterPtrOutput) AzureAttributes() JobNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(JobNewClusterAzureAttributesPtrOutput) } -func (JobNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNotebookTask)(nil)).Elem() +func (o JobNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (i JobNotebookTaskArgs) ToJobNotebookTaskOutput() JobNotebookTaskOutput { - return i.ToJobNotebookTaskOutputWithContext(context.Background()) +func (o JobNewClusterPtrOutput) ClusterLogConf() JobNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(JobNewClusterClusterLogConfPtrOutput) } -func (i JobNotebookTaskArgs) ToJobNotebookTaskOutputWithContext(ctx context.Context) JobNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNotebookTaskOutput) +func (o JobNewClusterPtrOutput) ClusterMountInfos() JobNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *JobNewCluster) []JobNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(JobNewClusterClusterMountInfoArrayOutput) } -func (i JobNotebookTaskArgs) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { - return i.ToJobNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (i JobNotebookTaskArgs) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNotebookTaskOutput).ToJobNotebookTaskPtrOutputWithContext(ctx) +func (o JobNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobNewCluster) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -// JobNotebookTaskPtrInput is an input type that accepts JobNotebookTaskArgs, JobNotebookTaskPtr and JobNotebookTaskPtrOutput values. -// You can construct a concrete instance of `JobNotebookTaskPtrInput` via: -// -// JobNotebookTaskArgs{...} -// -// or: -// -// nil -type JobNotebookTaskPtrInput interface { - pulumi.Input - - ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput - ToJobNotebookTaskPtrOutputWithContext(context.Context) JobNotebookTaskPtrOutput +func (o JobNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -type jobNotebookTaskPtrType JobNotebookTaskArgs - -func JobNotebookTaskPtr(v *JobNotebookTaskArgs) JobNotebookTaskPtrInput { - return (*jobNotebookTaskPtrType)(v) +func (o JobNewClusterPtrOutput) DockerImage() JobNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(JobNewClusterDockerImagePtrOutput) } -func (*jobNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNotebookTask)(nil)).Elem() +func (o JobNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -func (i *jobNotebookTaskPtrType) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { - return i.ToJobNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (i *jobNotebookTaskPtrType) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNotebookTaskPtrOutput) +func (o JobNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -type JobNotebookTaskOutput struct{ *pulumi.OutputState } - -func (JobNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNotebookTask)(nil)).Elem() +func (o JobNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *bool { + if v == nil { + return nil + } + return v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (o JobNotebookTaskOutput) ToJobNotebookTaskOutput() JobNotebookTaskOutput { - return o +func (o JobNewClusterPtrOutput) GcpAttributes() JobNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(JobNewClusterGcpAttributesPtrOutput) } -func (o JobNotebookTaskOutput) ToJobNotebookTaskOutputWithContext(ctx context.Context) JobNotebookTaskOutput { - return o +func (o JobNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -func (o JobNotebookTaskOutput) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { - return o.ToJobNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterPtrOutput) InitScripts() JobNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *JobNewCluster) []JobNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(JobNewClusterInitScriptArrayOutput) } -func (o JobNotebookTaskOutput) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNotebookTask) *JobNotebookTask { - return &v - }).(JobNotebookTaskPtrOutput) +func (o JobNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. -func (o JobNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) +func (o JobNewClusterPtrOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *bool { + if v == nil { + return nil + } + return v.IsSingleNode + }).(pulumi.BoolPtrOutput) } -// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. -func (o JobNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v JobNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +func (o JobNewClusterPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.Kind + }).(pulumi.StringPtrOutput) } -// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. -func (o JobNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobNewClusterPtrOutput) Libraries() JobNewClusterLibraryArrayOutput { + return o.ApplyT(func(v *JobNewCluster) []JobNewClusterLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(JobNewClusterLibraryArrayOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. -func (o JobNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o JobNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.NodeTypeId + }).(pulumi.StringPtrOutput) } -type JobNotebookTaskPtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) +} -func (JobNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNotebookTask)(nil)).Elem() +func (o JobNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (o JobNotebookTaskPtrOutput) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { - return o +func (o JobNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -func (o JobNotebookTaskPtrOutput) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { - return o +func (o JobNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -func (o JobNotebookTaskPtrOutput) Elem() JobNotebookTaskOutput { - return o.ApplyT(func(v *JobNotebookTask) JobNotebookTask { - if v != nil { - return *v +func (o JobNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobNewCluster) map[string]string { + if v == nil { + return nil } - var ret JobNotebookTask - return ret - }).(JobNotebookTaskOutput) + return v.SparkConf + }).(pulumi.StringMapOutput) } -// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. -func (o JobNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobNotebookTask) map[string]string { +func (o JobNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobNewCluster) map[string]string { if v == nil { return nil } - return v.BaseParameters + return v.SparkEnvVars }).(pulumi.StringMapOutput) } -// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. -func (o JobNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNotebookTask) *string { +func (o JobNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *string { if v == nil { return nil } - return &v.NotebookPath + return &v.SparkVersion }).(pulumi.StringPtrOutput) } -// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. -func (o JobNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNotebookTask) *string { +func (o JobNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobNewCluster) []string { if v == nil { return nil } - return v.Source - }).(pulumi.StringPtrOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. -func (o JobNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobNotebookTask) *string { +func (o JobNewClusterPtrOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewCluster) *bool { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + return v.UseMlRuntime + }).(pulumi.BoolPtrOutput) } -type JobNotificationSettings struct { - // (Bool) don't send alert for cancelled runs. - // - // The following parameter is only available on task level. - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - // (Bool) don't send alert for skipped runs. - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +// isn't supported +func (o JobNewClusterPtrOutput) WorkloadType() JobNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *JobNewCluster) *JobNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(JobNewClusterWorkloadTypePtrOutput) } -// JobNotificationSettingsInput is an input type that accepts JobNotificationSettingsArgs and JobNotificationSettingsOutput values. -// You can construct a concrete instance of `JobNotificationSettingsInput` via: +type JobNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// JobNewClusterAutoscaleInput is an input type that accepts JobNewClusterAutoscaleArgs and JobNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `JobNewClusterAutoscaleInput` via: // -// JobNotificationSettingsArgs{...} -type JobNotificationSettingsInput interface { +// JobNewClusterAutoscaleArgs{...} +type JobNewClusterAutoscaleInput interface { pulumi.Input - ToJobNotificationSettingsOutput() JobNotificationSettingsOutput - ToJobNotificationSettingsOutputWithContext(context.Context) JobNotificationSettingsOutput + ToJobNewClusterAutoscaleOutput() JobNewClusterAutoscaleOutput + ToJobNewClusterAutoscaleOutputWithContext(context.Context) JobNewClusterAutoscaleOutput } -type JobNotificationSettingsArgs struct { - // (Bool) don't send alert for cancelled runs. - // - // The following parameter is only available on task level. - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - // (Bool) don't send alert for skipped runs. - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type JobNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (JobNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobNotificationSettings)(nil)).Elem() +func (JobNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAutoscale)(nil)).Elem() } -func (i JobNotificationSettingsArgs) ToJobNotificationSettingsOutput() JobNotificationSettingsOutput { - return i.ToJobNotificationSettingsOutputWithContext(context.Background()) +func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscaleOutput() JobNewClusterAutoscaleOutput { + return i.ToJobNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i JobNotificationSettingsArgs) ToJobNotificationSettingsOutputWithContext(ctx context.Context) JobNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNotificationSettingsOutput) +func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscaleOutputWithContext(ctx context.Context) JobNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAutoscaleOutput) } -func (i JobNotificationSettingsArgs) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { - return i.ToJobNotificationSettingsPtrOutputWithContext(context.Background()) +func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { + return i.ToJobNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i JobNotificationSettingsArgs) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNotificationSettingsOutput).ToJobNotificationSettingsPtrOutputWithContext(ctx) +func (i JobNewClusterAutoscaleArgs) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAutoscaleOutput).ToJobNewClusterAutoscalePtrOutputWithContext(ctx) } -// JobNotificationSettingsPtrInput is an input type that accepts JobNotificationSettingsArgs, JobNotificationSettingsPtr and JobNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `JobNotificationSettingsPtrInput` via: +// JobNewClusterAutoscalePtrInput is an input type that accepts JobNewClusterAutoscaleArgs, JobNewClusterAutoscalePtr and JobNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `JobNewClusterAutoscalePtrInput` via: // -// JobNotificationSettingsArgs{...} +// JobNewClusterAutoscaleArgs{...} // // or: // // nil -type JobNotificationSettingsPtrInput interface { +type JobNewClusterAutoscalePtrInput interface { pulumi.Input - ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput - ToJobNotificationSettingsPtrOutputWithContext(context.Context) JobNotificationSettingsPtrOutput + ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput + ToJobNewClusterAutoscalePtrOutputWithContext(context.Context) JobNewClusterAutoscalePtrOutput } -type jobNotificationSettingsPtrType JobNotificationSettingsArgs +type jobNewClusterAutoscalePtrType JobNewClusterAutoscaleArgs -func JobNotificationSettingsPtr(v *JobNotificationSettingsArgs) JobNotificationSettingsPtrInput { - return (*jobNotificationSettingsPtrType)(v) +func JobNewClusterAutoscalePtr(v *JobNewClusterAutoscaleArgs) JobNewClusterAutoscalePtrInput { + return (*jobNewClusterAutoscalePtrType)(v) } -func (*jobNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobNotificationSettings)(nil)).Elem() +func (*jobNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAutoscale)(nil)).Elem() } -func (i *jobNotificationSettingsPtrType) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { - return i.ToJobNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *jobNewClusterAutoscalePtrType) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { + return i.ToJobNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *jobNotificationSettingsPtrType) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobNotificationSettingsPtrOutput) +func (i *jobNewClusterAutoscalePtrType) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAutoscalePtrOutput) } -type JobNotificationSettingsOutput struct{ *pulumi.OutputState } +type JobNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (JobNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobNotificationSettings)(nil)).Elem() +func (JobNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAutoscale)(nil)).Elem() } -func (o JobNotificationSettingsOutput) ToJobNotificationSettingsOutput() JobNotificationSettingsOutput { +func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscaleOutput() JobNewClusterAutoscaleOutput { return o } -func (o JobNotificationSettingsOutput) ToJobNotificationSettingsOutputWithContext(ctx context.Context) JobNotificationSettingsOutput { +func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscaleOutputWithContext(ctx context.Context) JobNewClusterAutoscaleOutput { return o } -func (o JobNotificationSettingsOutput) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { - return o.ToJobNotificationSettingsPtrOutputWithContext(context.Background()) +func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { + return o.ToJobNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o JobNotificationSettingsOutput) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNotificationSettings) *JobNotificationSettings { +func (o JobNewClusterAutoscaleOutput) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAutoscale) *JobNewClusterAutoscale { return &v - }).(JobNotificationSettingsPtrOutput) + }).(JobNewClusterAutoscalePtrOutput) } -// (Bool) don't send alert for cancelled runs. -// -// The following parameter is only available on task level. -func (o JobNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) +func (o JobNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -// (Bool) don't send alert for skipped runs. -func (o JobNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o JobNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type JobNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (JobNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobNotificationSettings)(nil)).Elem() +func (JobNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAutoscale)(nil)).Elem() } -func (o JobNotificationSettingsPtrOutput) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { +func (o JobNewClusterAutoscalePtrOutput) ToJobNewClusterAutoscalePtrOutput() JobNewClusterAutoscalePtrOutput { return o } -func (o JobNotificationSettingsPtrOutput) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { +func (o JobNewClusterAutoscalePtrOutput) ToJobNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobNewClusterAutoscalePtrOutput { return o } -func (o JobNotificationSettingsPtrOutput) Elem() JobNotificationSettingsOutput { - return o.ApplyT(func(v *JobNotificationSettings) JobNotificationSettings { +func (o JobNewClusterAutoscalePtrOutput) Elem() JobNewClusterAutoscaleOutput { + return o.ApplyT(func(v *JobNewClusterAutoscale) JobNewClusterAutoscale { if v != nil { return *v } - var ret JobNotificationSettings + var ret JobNewClusterAutoscale return ret - }).(JobNotificationSettingsOutput) + }).(JobNewClusterAutoscaleOutput) } -// (Bool) don't send alert for cancelled runs. -// -// The following parameter is only available on task level. -func (o JobNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNotificationSettings) *bool { +func (o JobNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAutoscale) *int { if v == nil { return nil } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -// (Bool) don't send alert for skipped runs. -func (o JobNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobNotificationSettings) *bool { +func (o JobNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAutoscale) *int { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) -} - -type JobParameter struct { - // Default value of the parameter. - // - // *You can use this block only together with `task` blocks, not with the legacy tasks specification!* - Default string `pulumi:"default"` - // The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. - Name string `pulumi:"name"` -} - -// JobParameterInput is an input type that accepts JobParameterArgs and JobParameterOutput values. -// You can construct a concrete instance of `JobParameterInput` via: -// -// JobParameterArgs{...} -type JobParameterInput interface { - pulumi.Input - - ToJobParameterOutput() JobParameterOutput - ToJobParameterOutputWithContext(context.Context) JobParameterOutput -} - -type JobParameterArgs struct { - // Default value of the parameter. - // - // *You can use this block only together with `task` blocks, not with the legacy tasks specification!* - Default pulumi.StringInput `pulumi:"default"` - // The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. - Name pulumi.StringInput `pulumi:"name"` -} - -func (JobParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobParameter)(nil)).Elem() -} - -func (i JobParameterArgs) ToJobParameterOutput() JobParameterOutput { - return i.ToJobParameterOutputWithContext(context.Background()) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -func (i JobParameterArgs) ToJobParameterOutputWithContext(ctx context.Context) JobParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobParameterOutput) +type JobNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// JobParameterArrayInput is an input type that accepts JobParameterArray and JobParameterArrayOutput values. -// You can construct a concrete instance of `JobParameterArrayInput` via: +// JobNewClusterAwsAttributesInput is an input type that accepts JobNewClusterAwsAttributesArgs and JobNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `JobNewClusterAwsAttributesInput` via: // -// JobParameterArray{ JobParameterArgs{...} } -type JobParameterArrayInput interface { +// JobNewClusterAwsAttributesArgs{...} +type JobNewClusterAwsAttributesInput interface { pulumi.Input - ToJobParameterArrayOutput() JobParameterArrayOutput - ToJobParameterArrayOutputWithContext(context.Context) JobParameterArrayOutput + ToJobNewClusterAwsAttributesOutput() JobNewClusterAwsAttributesOutput + ToJobNewClusterAwsAttributesOutputWithContext(context.Context) JobNewClusterAwsAttributesOutput } -type JobParameterArray []JobParameterInput - -func (JobParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobParameter)(nil)).Elem() +type JobNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (i JobParameterArray) ToJobParameterArrayOutput() JobParameterArrayOutput { - return i.ToJobParameterArrayOutputWithContext(context.Background()) +func (JobNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAwsAttributes)(nil)).Elem() } -func (i JobParameterArray) ToJobParameterArrayOutputWithContext(ctx context.Context) JobParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobParameterArrayOutput) +func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesOutput() JobNewClusterAwsAttributesOutput { + return i.ToJobNewClusterAwsAttributesOutputWithContext(context.Background()) } -type JobParameterOutput struct{ *pulumi.OutputState } - -func (JobParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobParameter)(nil)).Elem() +func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAwsAttributesOutput) } -func (o JobParameterOutput) ToJobParameterOutput() JobParameterOutput { - return o +func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { + return i.ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o JobParameterOutput) ToJobParameterOutputWithContext(ctx context.Context) JobParameterOutput { - return o +func (i JobNewClusterAwsAttributesArgs) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAwsAttributesOutput).ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// Default value of the parameter. +// JobNewClusterAwsAttributesPtrInput is an input type that accepts JobNewClusterAwsAttributesArgs, JobNewClusterAwsAttributesPtr and JobNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `JobNewClusterAwsAttributesPtrInput` via: // -// *You can use this block only together with `task` blocks, not with the legacy tasks specification!* -func (o JobParameterOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v JobParameter) string { return v.Default }).(pulumi.StringOutput) -} +// JobNewClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type JobNewClusterAwsAttributesPtrInput interface { + pulumi.Input -// The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. -func (o JobParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v JobParameter) string { return v.Name }).(pulumi.StringOutput) + ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput + ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobNewClusterAwsAttributesPtrOutput } -type JobParameterArrayOutput struct{ *pulumi.OutputState } +type jobNewClusterAwsAttributesPtrType JobNewClusterAwsAttributesArgs -func (JobParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobParameter)(nil)).Elem() +func JobNewClusterAwsAttributesPtr(v *JobNewClusterAwsAttributesArgs) JobNewClusterAwsAttributesPtrInput { + return (*jobNewClusterAwsAttributesPtrType)(v) } -func (o JobParameterArrayOutput) ToJobParameterArrayOutput() JobParameterArrayOutput { - return o +func (*jobNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAwsAttributes)(nil)).Elem() } -func (o JobParameterArrayOutput) ToJobParameterArrayOutputWithContext(ctx context.Context) JobParameterArrayOutput { - return o +func (i *jobNewClusterAwsAttributesPtrType) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { + return i.ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o JobParameterArrayOutput) Index(i pulumi.IntInput) JobParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobParameter { - return vs[0].([]JobParameter)[vs[1].(int)] - }).(JobParameterOutput) +func (i *jobNewClusterAwsAttributesPtrType) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAwsAttributesPtrOutput) } -type JobPipelineTask struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh *bool `pulumi:"fullRefresh"` - // The pipeline's unique ID. - PipelineId string `pulumi:"pipelineId"` -} +type JobNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -// JobPipelineTaskInput is an input type that accepts JobPipelineTaskArgs and JobPipelineTaskOutput values. -// You can construct a concrete instance of `JobPipelineTaskInput` via: -// -// JobPipelineTaskArgs{...} -type JobPipelineTaskInput interface { - pulumi.Input +func (JobNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAwsAttributes)(nil)).Elem() +} - ToJobPipelineTaskOutput() JobPipelineTaskOutput - ToJobPipelineTaskOutputWithContext(context.Context) JobPipelineTaskOutput +func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesOutput() JobNewClusterAwsAttributesOutput { + return o } -type JobPipelineTaskArgs struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - // The pipeline's unique ID. - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesOutput { + return o } -func (JobPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobPipelineTask)(nil)).Elem() +func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { + return o.ToJobNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i JobPipelineTaskArgs) ToJobPipelineTaskOutput() JobPipelineTaskOutput { - return i.ToJobPipelineTaskOutputWithContext(context.Background()) +func (o JobNewClusterAwsAttributesOutput) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAwsAttributes) *JobNewClusterAwsAttributes { + return &v + }).(JobNewClusterAwsAttributesPtrOutput) } -func (i JobPipelineTaskArgs) ToJobPipelineTaskOutputWithContext(ctx context.Context) JobPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobPipelineTaskOutput) +func (o JobNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (i JobPipelineTaskArgs) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { - return i.ToJobPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (i JobPipelineTaskArgs) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobPipelineTaskOutput).ToJobPipelineTaskPtrOutputWithContext(ctx) +func (o JobNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) } -// JobPipelineTaskPtrInput is an input type that accepts JobPipelineTaskArgs, JobPipelineTaskPtr and JobPipelineTaskPtrOutput values. -// You can construct a concrete instance of `JobPipelineTaskPtrInput` via: -// -// JobPipelineTaskArgs{...} -// -// or: -// -// nil -type JobPipelineTaskPtrInput interface { - pulumi.Input +func (o JobNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +} - ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput - ToJobPipelineTaskPtrOutputWithContext(context.Context) JobPipelineTaskPtrOutput +func (o JobNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) } -type jobPipelineTaskPtrType JobPipelineTaskArgs +func (o JobNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} -func JobPipelineTaskPtr(v *JobPipelineTaskArgs) JobPipelineTaskPtrInput { - return (*jobPipelineTaskPtrType)(v) +func (o JobNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (*jobPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobPipelineTask)(nil)).Elem() +func (o JobNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (i *jobPipelineTaskPtrType) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { - return i.ToJobPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (i *jobPipelineTaskPtrType) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobPipelineTaskPtrOutput) +func (o JobNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobPipelineTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobPipelineTask)(nil)).Elem() +func (JobNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAwsAttributes)(nil)).Elem() } -func (o JobPipelineTaskOutput) ToJobPipelineTaskOutput() JobPipelineTaskOutput { +func (o JobNewClusterAwsAttributesPtrOutput) ToJobNewClusterAwsAttributesPtrOutput() JobNewClusterAwsAttributesPtrOutput { return o } -func (o JobPipelineTaskOutput) ToJobPipelineTaskOutputWithContext(ctx context.Context) JobPipelineTaskOutput { +func (o JobNewClusterAwsAttributesPtrOutput) ToJobNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAwsAttributesPtrOutput { return o } -func (o JobPipelineTaskOutput) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { - return o.ToJobPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterAwsAttributesPtrOutput) Elem() JobNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) JobNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret JobNewClusterAwsAttributes + return ret + }).(JobNewClusterAwsAttributesOutput) } -func (o JobPipelineTaskOutput) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobPipelineTask) *JobPipelineTask { - return &v - }).(JobPipelineTaskPtrOutput) +func (o JobNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -// The pipeline's unique ID. -func (o JobPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v JobPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -type JobPipelineTaskPtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} -func (JobPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobPipelineTask)(nil)).Elem() +func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) } -func (o JobPipelineTaskPtrOutput) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { - return o +func (o JobNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o JobPipelineTaskPtrOutput) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { - return o +func (o JobNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o JobPipelineTaskPtrOutput) Elem() JobPipelineTaskOutput { - return o.ApplyT(func(v *JobPipelineTask) JobPipelineTask { - if v != nil { - return *v +func (o JobNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { + if v == nil { + return nil } - var ret JobPipelineTask - return ret - }).(JobPipelineTaskOutput) + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobPipelineTask) *bool { +func (o JobNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -// The pipeline's unique ID. -func (o JobPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobPipelineTask) *string { +func (o JobNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.PipelineId + return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobPythonWheelTask struct { - // Python function as entry point for the task - EntryPoint *string `pulumi:"entryPoint"` - // Named parameters for the task - NamedParameters map[string]string `pulumi:"namedParameters"` - // Name of Python package - PackageName *string `pulumi:"packageName"` - // Parameters for the task - Parameters []string `pulumi:"parameters"` +type JobNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *JobNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// JobPythonWheelTaskInput is an input type that accepts JobPythonWheelTaskArgs and JobPythonWheelTaskOutput values. -// You can construct a concrete instance of `JobPythonWheelTaskInput` via: +// JobNewClusterAzureAttributesInput is an input type that accepts JobNewClusterAzureAttributesArgs and JobNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `JobNewClusterAzureAttributesInput` via: // -// JobPythonWheelTaskArgs{...} -type JobPythonWheelTaskInput interface { +// JobNewClusterAzureAttributesArgs{...} +type JobNewClusterAzureAttributesInput interface { pulumi.Input - ToJobPythonWheelTaskOutput() JobPythonWheelTaskOutput - ToJobPythonWheelTaskOutputWithContext(context.Context) JobPythonWheelTaskOutput + ToJobNewClusterAzureAttributesOutput() JobNewClusterAzureAttributesOutput + ToJobNewClusterAzureAttributesOutputWithContext(context.Context) JobNewClusterAzureAttributesOutput } -type JobPythonWheelTaskArgs struct { - // Python function as entry point for the task - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - // Named parameters for the task - NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` - // Name of Python package - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - // Parameters for the task - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (JobPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobPythonWheelTask)(nil)).Elem() +func (JobNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAzureAttributes)(nil)).Elem() } -func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskOutput() JobPythonWheelTaskOutput { - return i.ToJobPythonWheelTaskOutputWithContext(context.Background()) +func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesOutput() JobNewClusterAzureAttributesOutput { + return i.ToJobNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskOutputWithContext(ctx context.Context) JobPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobPythonWheelTaskOutput) +func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesOutput) } -func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { - return i.ToJobPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { + return i.ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobPythonWheelTaskOutput).ToJobPythonWheelTaskPtrOutputWithContext(ctx) +func (i JobNewClusterAzureAttributesArgs) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesOutput).ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// JobPythonWheelTaskPtrInput is an input type that accepts JobPythonWheelTaskArgs, JobPythonWheelTaskPtr and JobPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `JobPythonWheelTaskPtrInput` via: +// JobNewClusterAzureAttributesPtrInput is an input type that accepts JobNewClusterAzureAttributesArgs, JobNewClusterAzureAttributesPtr and JobNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `JobNewClusterAzureAttributesPtrInput` via: // -// JobPythonWheelTaskArgs{...} +// JobNewClusterAzureAttributesArgs{...} // // or: // // nil -type JobPythonWheelTaskPtrInput interface { +type JobNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput - ToJobPythonWheelTaskPtrOutputWithContext(context.Context) JobPythonWheelTaskPtrOutput + ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput + ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobNewClusterAzureAttributesPtrOutput } -type jobPythonWheelTaskPtrType JobPythonWheelTaskArgs +type jobNewClusterAzureAttributesPtrType JobNewClusterAzureAttributesArgs -func JobPythonWheelTaskPtr(v *JobPythonWheelTaskArgs) JobPythonWheelTaskPtrInput { - return (*jobPythonWheelTaskPtrType)(v) +func JobNewClusterAzureAttributesPtr(v *JobNewClusterAzureAttributesArgs) JobNewClusterAzureAttributesPtrInput { + return (*jobNewClusterAzureAttributesPtrType)(v) } -func (*jobPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobPythonWheelTask)(nil)).Elem() +func (*jobNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAzureAttributes)(nil)).Elem() } -func (i *jobPythonWheelTaskPtrType) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { - return i.ToJobPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterAzureAttributesPtrType) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { + return i.ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *jobPythonWheelTaskPtrType) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobPythonWheelTaskPtrOutput) +func (i *jobNewClusterAzureAttributesPtrType) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesPtrOutput) } -type JobPythonWheelTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (JobPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobPythonWheelTask)(nil)).Elem() +func (JobNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAzureAttributes)(nil)).Elem() } -func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskOutput() JobPythonWheelTaskOutput { +func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesOutput() JobNewClusterAzureAttributesOutput { return o } -func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskOutputWithContext(ctx context.Context) JobPythonWheelTaskOutput { +func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesOutput { return o } -func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { - return o.ToJobPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { + return o.ToJobNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobPythonWheelTask) *JobPythonWheelTask { +func (o JobNewClusterAzureAttributesOutput) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAzureAttributes) *JobNewClusterAzureAttributes { return &v - }).(JobPythonWheelTaskPtrOutput) + }).(JobNewClusterAzureAttributesPtrOutput) } -// Python function as entry point for the task -func (o JobPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +func (o JobNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// Named parameters for the task -func (o JobPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) +func (o JobNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -// Name of Python package -func (o JobPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o JobNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v JobNewClusterAzureAttributes) *JobNewClusterAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// Parameters for the task -func (o JobPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v JobNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type JobPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobPythonWheelTask)(nil)).Elem() +func (JobNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAzureAttributes)(nil)).Elem() } -func (o JobPythonWheelTaskPtrOutput) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { +func (o JobNewClusterAzureAttributesPtrOutput) ToJobNewClusterAzureAttributesPtrOutput() JobNewClusterAzureAttributesPtrOutput { return o } -func (o JobPythonWheelTaskPtrOutput) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { +func (o JobNewClusterAzureAttributesPtrOutput) ToJobNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesPtrOutput { return o } -func (o JobPythonWheelTaskPtrOutput) Elem() JobPythonWheelTaskOutput { - return o.ApplyT(func(v *JobPythonWheelTask) JobPythonWheelTask { +func (o JobNewClusterAzureAttributesPtrOutput) Elem() JobNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributes) JobNewClusterAzureAttributes { if v != nil { return *v } - var ret JobPythonWheelTask + var ret JobNewClusterAzureAttributes return ret - }).(JobPythonWheelTaskOutput) + }).(JobNewClusterAzureAttributesOutput) } -// Python function as entry point for the task -func (o JobPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobPythonWheelTask) *string { +func (o JobNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.EntryPoint + return v.Availability }).(pulumi.StringPtrOutput) } -// Named parameters for the task -func (o JobPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobPythonWheelTask) map[string]string { +func (o JobNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.NamedParameters - }).(pulumi.StringMapOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// Name of Python package -func (o JobPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobPythonWheelTask) *string { +func (o JobNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributes) *JobNewClusterAzureAttributesLogAnalyticsInfo { if v == nil { return nil } - return v.PackageName - }).(pulumi.StringPtrOutput) + return v.LogAnalyticsInfo + }).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// Parameters for the task -func (o JobPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobPythonWheelTask) []string { +func (o JobNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type JobQueue struct { - // If true, enable queueing for the job. - Enabled bool `pulumi:"enabled"` +type JobNewClusterAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` } -// JobQueueInput is an input type that accepts JobQueueArgs and JobQueueOutput values. -// You can construct a concrete instance of `JobQueueInput` via: +// JobNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobNewClusterAzureAttributesLogAnalyticsInfoArgs and JobNewClusterAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `JobNewClusterAzureAttributesLogAnalyticsInfoInput` via: // -// JobQueueArgs{...} -type JobQueueInput interface { +// JobNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +type JobNewClusterAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToJobQueueOutput() JobQueueOutput - ToJobQueueOutputWithContext(context.Context) JobQueueOutput + ToJobNewClusterAzureAttributesLogAnalyticsInfoOutput() JobNewClusterAzureAttributesLogAnalyticsInfoOutput + ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoOutput } -type JobQueueArgs struct { - // If true, enable queueing for the job. - Enabled pulumi.BoolInput `pulumi:"enabled"` +type JobNewClusterAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (JobQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobQueue)(nil)).Elem() +func (JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i JobQueueArgs) ToJobQueueOutput() JobQueueOutput { - return i.ToJobQueueOutputWithContext(context.Background()) +func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutput() JobNewClusterAzureAttributesLogAnalyticsInfoOutput { + return i.ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i JobQueueArgs) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobQueueOutput) +func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (i JobQueueArgs) ToJobQueuePtrOutput() JobQueuePtrOutput { - return i.ToJobQueuePtrOutputWithContext(context.Background()) +func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i JobQueueArgs) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobQueueOutput).ToJobQueuePtrOutputWithContext(ctx) +func (i JobNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// JobQueuePtrInput is an input type that accepts JobQueueArgs, JobQueuePtr and JobQueuePtrOutput values. -// You can construct a concrete instance of `JobQueuePtrInput` via: +// JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobNewClusterAzureAttributesLogAnalyticsInfoArgs, JobNewClusterAzureAttributesLogAnalyticsInfoPtr and JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: // -// JobQueueArgs{...} +// JobNewClusterAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type JobQueuePtrInput interface { +type JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToJobQueuePtrOutput() JobQueuePtrOutput - ToJobQueuePtrOutputWithContext(context.Context) JobQueuePtrOutput + ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput } -type jobQueuePtrType JobQueueArgs +type jobNewClusterAzureAttributesLogAnalyticsInfoPtrType JobNewClusterAzureAttributesLogAnalyticsInfoArgs -func JobQueuePtr(v *JobQueueArgs) JobQueuePtrInput { - return (*jobQueuePtrType)(v) +func JobNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobNewClusterAzureAttributesLogAnalyticsInfoArgs) JobNewClusterAzureAttributesLogAnalyticsInfoPtrInput { + return (*jobNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*jobQueuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobQueue)(nil)).Elem() +func (*jobNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *jobQueuePtrType) ToJobQueuePtrOutput() JobQueuePtrOutput { - return i.ToJobQueuePtrOutputWithContext(context.Background()) +func (i *jobNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *jobQueuePtrType) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobQueuePtrOutput) +func (i *jobNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -type JobQueueOutput struct{ *pulumi.OutputState } +type JobNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (JobQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobQueue)(nil)).Elem() +func (JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutput() JobNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobQueueOutput) ToJobQueuePtrOutput() JobQueuePtrOutput { - return o.ToJobQueuePtrOutputWithContext(context.Background()) +func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o JobQueueOutput) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobQueue) *JobQueue { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterAzureAttributesLogAnalyticsInfo) *JobNewClusterAzureAttributesLogAnalyticsInfo { return &v - }).(JobQueuePtrOutput) + }).(JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// If true, enable queueing for the job. -func (o JobQueueOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v JobQueue) bool { return v.Enabled }).(pulumi.BoolOutput) +func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -type JobQueuePtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +} -func (JobQueuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobQueue)(nil)).Elem() +type JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobQueuePtrOutput) ToJobQueuePtrOutput() JobQueuePtrOutput { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o JobQueuePtrOutput) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o JobQueuePtrOutput) Elem() JobQueueOutput { - return o.ApplyT(func(v *JobQueue) JobQueue { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobNewClusterAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributesLogAnalyticsInfo) JobNewClusterAzureAttributesLogAnalyticsInfo { if v != nil { return *v } - var ret JobQueue + var ret JobNewClusterAzureAttributesLogAnalyticsInfo return ret - }).(JobQueueOutput) + }).(JobNewClusterAzureAttributesLogAnalyticsInfoOutput) } -// If true, enable queueing for the job. -func (o JobQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobQueue) *bool { +func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributesLogAnalyticsInfo) *string { + if v == nil { + return nil + } + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) +} + +func (o JobNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return &v.Enabled - }).(pulumi.BoolPtrOutput) + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -type JobRunAs struct { - // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - // - // Example: - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ - // RunAs: &databricks.JobRunAsArgs{ - // ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - ServicePrincipalName *string `pulumi:"servicePrincipalName"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName *string `pulumi:"userName"` +type JobNewClusterClusterLogConf struct { + Dbfs *JobNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *JobNewClusterClusterLogConfS3 `pulumi:"s3"` } -// JobRunAsInput is an input type that accepts JobRunAsArgs and JobRunAsOutput values. -// You can construct a concrete instance of `JobRunAsInput` via: +// JobNewClusterClusterLogConfInput is an input type that accepts JobNewClusterClusterLogConfArgs and JobNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `JobNewClusterClusterLogConfInput` via: // -// JobRunAsArgs{...} -type JobRunAsInput interface { +// JobNewClusterClusterLogConfArgs{...} +type JobNewClusterClusterLogConfInput interface { pulumi.Input - ToJobRunAsOutput() JobRunAsOutput - ToJobRunAsOutputWithContext(context.Context) JobRunAsOutput + ToJobNewClusterClusterLogConfOutput() JobNewClusterClusterLogConfOutput + ToJobNewClusterClusterLogConfOutputWithContext(context.Context) JobNewClusterClusterLogConfOutput } -type JobRunAsArgs struct { - // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - // - // Example: - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ - // RunAs: &databricks.JobRunAsArgs{ - // ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName pulumi.StringPtrInput `pulumi:"userName"` +type JobNewClusterClusterLogConfArgs struct { + Dbfs JobNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 JobNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (JobRunAsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobRunAs)(nil)).Elem() +func (JobNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterLogConf)(nil)).Elem() } -func (i JobRunAsArgs) ToJobRunAsOutput() JobRunAsOutput { - return i.ToJobRunAsOutputWithContext(context.Background()) +func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfOutput() JobNewClusterClusterLogConfOutput { + return i.ToJobNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i JobRunAsArgs) ToJobRunAsOutputWithContext(ctx context.Context) JobRunAsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobRunAsOutput) +func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfOutput) } -func (i JobRunAsArgs) ToJobRunAsPtrOutput() JobRunAsPtrOutput { - return i.ToJobRunAsPtrOutputWithContext(context.Background()) +func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { + return i.ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i JobRunAsArgs) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobRunAsOutput).ToJobRunAsPtrOutputWithContext(ctx) +func (i JobNewClusterClusterLogConfArgs) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfOutput).ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// JobRunAsPtrInput is an input type that accepts JobRunAsArgs, JobRunAsPtr and JobRunAsPtrOutput values. -// You can construct a concrete instance of `JobRunAsPtrInput` via: +// JobNewClusterClusterLogConfPtrInput is an input type that accepts JobNewClusterClusterLogConfArgs, JobNewClusterClusterLogConfPtr and JobNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `JobNewClusterClusterLogConfPtrInput` via: // -// JobRunAsArgs{...} +// JobNewClusterClusterLogConfArgs{...} // // or: // // nil -type JobRunAsPtrInput interface { +type JobNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToJobRunAsPtrOutput() JobRunAsPtrOutput - ToJobRunAsPtrOutputWithContext(context.Context) JobRunAsPtrOutput + ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput + ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobNewClusterClusterLogConfPtrOutput } -type jobRunAsPtrType JobRunAsArgs +type jobNewClusterClusterLogConfPtrType JobNewClusterClusterLogConfArgs -func JobRunAsPtr(v *JobRunAsArgs) JobRunAsPtrInput { - return (*jobRunAsPtrType)(v) +func JobNewClusterClusterLogConfPtr(v *JobNewClusterClusterLogConfArgs) JobNewClusterClusterLogConfPtrInput { + return (*jobNewClusterClusterLogConfPtrType)(v) } -func (*jobRunAsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobRunAs)(nil)).Elem() +func (*jobNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterClusterLogConf)(nil)).Elem() } -func (i *jobRunAsPtrType) ToJobRunAsPtrOutput() JobRunAsPtrOutput { - return i.ToJobRunAsPtrOutputWithContext(context.Background()) +func (i *jobNewClusterClusterLogConfPtrType) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { + return i.ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *jobRunAsPtrType) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobRunAsPtrOutput) +func (i *jobNewClusterClusterLogConfPtrType) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfPtrOutput) } -type JobRunAsOutput struct{ *pulumi.OutputState } +type JobNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (JobRunAsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobRunAs)(nil)).Elem() +func (JobNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterLogConf)(nil)).Elem() } -func (o JobRunAsOutput) ToJobRunAsOutput() JobRunAsOutput { +func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfOutput() JobNewClusterClusterLogConfOutput { return o } -func (o JobRunAsOutput) ToJobRunAsOutputWithContext(ctx context.Context) JobRunAsOutput { +func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfOutput { return o } -func (o JobRunAsOutput) ToJobRunAsPtrOutput() JobRunAsPtrOutput { - return o.ToJobRunAsPtrOutputWithContext(context.Background()) +func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { + return o.ToJobNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o JobRunAsOutput) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobRunAs) *JobRunAs { +func (o JobNewClusterClusterLogConfOutput) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterClusterLogConf) *JobNewClusterClusterLogConf { return &v - }).(JobRunAsPtrOutput) + }).(JobNewClusterClusterLogConfPtrOutput) } -// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. -// -// Example: -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ -// RunAs: &databricks.JobRunAsArgs{ -// ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o JobRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) +func (o JobNewClusterClusterLogConfOutput) Dbfs() JobNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfDbfs { return v.Dbfs }).(JobNewClusterClusterLogConfDbfsPtrOutput) } -// The email of an active workspace user. Non-admin users can only set this field to their own email. -func (o JobRunAsOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o JobNewClusterClusterLogConfOutput) S3() JobNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfS3 { return v.S3 }).(JobNewClusterClusterLogConfS3PtrOutput) } -type JobRunAsPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (JobRunAsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobRunAs)(nil)).Elem() +func (JobNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterClusterLogConf)(nil)).Elem() } -func (o JobRunAsPtrOutput) ToJobRunAsPtrOutput() JobRunAsPtrOutput { +func (o JobNewClusterClusterLogConfPtrOutput) ToJobNewClusterClusterLogConfPtrOutput() JobNewClusterClusterLogConfPtrOutput { return o } -func (o JobRunAsPtrOutput) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { +func (o JobNewClusterClusterLogConfPtrOutput) ToJobNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfPtrOutput { return o } -func (o JobRunAsPtrOutput) Elem() JobRunAsOutput { - return o.ApplyT(func(v *JobRunAs) JobRunAs { +func (o JobNewClusterClusterLogConfPtrOutput) Elem() JobNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConf) JobNewClusterClusterLogConf { if v != nil { return *v } - var ret JobRunAs + var ret JobNewClusterClusterLogConf return ret - }).(JobRunAsOutput) + }).(JobNewClusterClusterLogConfOutput) } -// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. -// -// Example: -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ -// RunAs: &databricks.JobRunAsArgs{ -// ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o JobRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobRunAs) *string { +func (o JobNewClusterClusterLogConfPtrOutput) Dbfs() JobNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfDbfs { if v == nil { return nil } - return v.ServicePrincipalName - }).(pulumi.StringPtrOutput) + return v.Dbfs + }).(JobNewClusterClusterLogConfDbfsPtrOutput) } -// The email of an active workspace user. Non-admin users can only set this field to their own email. -func (o JobRunAsPtrOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobRunAs) *string { +func (o JobNewClusterClusterLogConfPtrOutput) S3() JobNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConf) *JobNewClusterClusterLogConfS3 { if v == nil { return nil } - return v.UserName - }).(pulumi.StringPtrOutput) + return v.S3 + }).(JobNewClusterClusterLogConfS3PtrOutput) } -type JobRunJobTask struct { - // (String) ID of the job - JobId int `pulumi:"jobId"` - // (Map) Job parameters for the task - JobParameters map[string]string `pulumi:"jobParameters"` +type JobNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// JobRunJobTaskInput is an input type that accepts JobRunJobTaskArgs and JobRunJobTaskOutput values. -// You can construct a concrete instance of `JobRunJobTaskInput` via: +// JobNewClusterClusterLogConfDbfsInput is an input type that accepts JobNewClusterClusterLogConfDbfsArgs and JobNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `JobNewClusterClusterLogConfDbfsInput` via: // -// JobRunJobTaskArgs{...} -type JobRunJobTaskInput interface { +// JobNewClusterClusterLogConfDbfsArgs{...} +type JobNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToJobRunJobTaskOutput() JobRunJobTaskOutput - ToJobRunJobTaskOutputWithContext(context.Context) JobRunJobTaskOutput + ToJobNewClusterClusterLogConfDbfsOutput() JobNewClusterClusterLogConfDbfsOutput + ToJobNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobNewClusterClusterLogConfDbfsOutput } -type JobRunJobTaskArgs struct { - // (String) ID of the job - JobId pulumi.IntInput `pulumi:"jobId"` - // (Map) Job parameters for the task - JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` +type JobNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobRunJobTask)(nil)).Elem() +func (JobNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i JobRunJobTaskArgs) ToJobRunJobTaskOutput() JobRunJobTaskOutput { - return i.ToJobRunJobTaskOutputWithContext(context.Background()) +func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsOutput() JobNewClusterClusterLogConfDbfsOutput { + return i.ToJobNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i JobRunJobTaskArgs) ToJobRunJobTaskOutputWithContext(ctx context.Context) JobRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobRunJobTaskOutput) +func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfDbfsOutput) } -func (i JobRunJobTaskArgs) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { - return i.ToJobRunJobTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i JobRunJobTaskArgs) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobRunJobTaskOutput).ToJobRunJobTaskPtrOutputWithContext(ctx) +func (i JobNewClusterClusterLogConfDbfsArgs) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfDbfsOutput).ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// JobRunJobTaskPtrInput is an input type that accepts JobRunJobTaskArgs, JobRunJobTaskPtr and JobRunJobTaskPtrOutput values. -// You can construct a concrete instance of `JobRunJobTaskPtrInput` via: +// JobNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobNewClusterClusterLogConfDbfsArgs, JobNewClusterClusterLogConfDbfsPtr and JobNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `JobNewClusterClusterLogConfDbfsPtrInput` via: // -// JobRunJobTaskArgs{...} +// JobNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type JobRunJobTaskPtrInput interface { +type JobNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput - ToJobRunJobTaskPtrOutputWithContext(context.Context) JobRunJobTaskPtrOutput + ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput + ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobNewClusterClusterLogConfDbfsPtrOutput } -type jobRunJobTaskPtrType JobRunJobTaskArgs +type jobNewClusterClusterLogConfDbfsPtrType JobNewClusterClusterLogConfDbfsArgs -func JobRunJobTaskPtr(v *JobRunJobTaskArgs) JobRunJobTaskPtrInput { - return (*jobRunJobTaskPtrType)(v) +func JobNewClusterClusterLogConfDbfsPtr(v *JobNewClusterClusterLogConfDbfsArgs) JobNewClusterClusterLogConfDbfsPtrInput { + return (*jobNewClusterClusterLogConfDbfsPtrType)(v) } -func (*jobRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobRunJobTask)(nil)).Elem() +func (*jobNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *jobRunJobTaskPtrType) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { - return i.ToJobRunJobTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterClusterLogConfDbfsPtrType) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *jobRunJobTaskPtrType) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobRunJobTaskPtrOutput) +func (i *jobNewClusterClusterLogConfDbfsPtrType) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfDbfsPtrOutput) } -type JobRunJobTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (JobRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobRunJobTask)(nil)).Elem() +func (JobNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobRunJobTaskOutput) ToJobRunJobTaskOutput() JobRunJobTaskOutput { +func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsOutput() JobNewClusterClusterLogConfDbfsOutput { return o } -func (o JobRunJobTaskOutput) ToJobRunJobTaskOutputWithContext(ctx context.Context) JobRunJobTaskOutput { +func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsOutput { return o } -func (o JobRunJobTaskOutput) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { - return o.ToJobRunJobTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { + return o.ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o JobRunJobTaskOutput) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobRunJobTask) *JobRunJobTask { +func (o JobNewClusterClusterLogConfDbfsOutput) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterClusterLogConfDbfs) *JobNewClusterClusterLogConfDbfs { return &v - }).(JobRunJobTaskPtrOutput) -} - -// (String) ID of the job -func (o JobRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v JobRunJobTask) int { return v.JobId }).(pulumi.IntOutput) + }).(JobNewClusterClusterLogConfDbfsPtrOutput) } -// (Map) Job parameters for the task -func (o JobRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) +func (o JobNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type JobRunJobTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (JobRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobRunJobTask)(nil)).Elem() +func (JobNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobRunJobTaskPtrOutput) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { +func (o JobNewClusterClusterLogConfDbfsPtrOutput) ToJobNewClusterClusterLogConfDbfsPtrOutput() JobNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o JobRunJobTaskPtrOutput) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { +func (o JobNewClusterClusterLogConfDbfsPtrOutput) ToJobNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o JobRunJobTaskPtrOutput) Elem() JobRunJobTaskOutput { - return o.ApplyT(func(v *JobRunJobTask) JobRunJobTask { +func (o JobNewClusterClusterLogConfDbfsPtrOutput) Elem() JobNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfDbfs) JobNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret JobRunJobTask + var ret JobNewClusterClusterLogConfDbfs return ret - }).(JobRunJobTaskOutput) -} - -// (String) ID of the job -func (o JobRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobRunJobTask) *int { - if v == nil { - return nil - } - return &v.JobId - }).(pulumi.IntPtrOutput) + }).(JobNewClusterClusterLogConfDbfsOutput) } -// (Map) Job parameters for the task -func (o JobRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobRunJobTask) map[string]string { +func (o JobNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.JobParameters - }).(pulumi.StringMapOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type JobSchedule struct { - // Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. - PauseStatus *string `pulumi:"pauseStatus"` - // A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. - QuartzCronExpression string `pulumi:"quartzCronExpression"` - // A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. - TimezoneId string `pulumi:"timezoneId"` +type JobNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobScheduleInput is an input type that accepts JobScheduleArgs and JobScheduleOutput values. -// You can construct a concrete instance of `JobScheduleInput` via: +// JobNewClusterClusterLogConfS3Input is an input type that accepts JobNewClusterClusterLogConfS3Args and JobNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `JobNewClusterClusterLogConfS3Input` via: // -// JobScheduleArgs{...} -type JobScheduleInput interface { +// JobNewClusterClusterLogConfS3Args{...} +type JobNewClusterClusterLogConfS3Input interface { pulumi.Input - ToJobScheduleOutput() JobScheduleOutput - ToJobScheduleOutputWithContext(context.Context) JobScheduleOutput + ToJobNewClusterClusterLogConfS3Output() JobNewClusterClusterLogConfS3Output + ToJobNewClusterClusterLogConfS3OutputWithContext(context.Context) JobNewClusterClusterLogConfS3Output } -type JobScheduleArgs struct { - // Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - // A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. - QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` - // A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. - TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +type JobNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobSchedule)(nil)).Elem() +func (JobNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterLogConfS3)(nil)).Elem() } -func (i JobScheduleArgs) ToJobScheduleOutput() JobScheduleOutput { - return i.ToJobScheduleOutputWithContext(context.Background()) +func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3Output() JobNewClusterClusterLogConfS3Output { + return i.ToJobNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i JobScheduleArgs) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobScheduleOutput) +func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfS3Output) } -func (i JobScheduleArgs) ToJobSchedulePtrOutput() JobSchedulePtrOutput { - return i.ToJobSchedulePtrOutputWithContext(context.Background()) +func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { + return i.ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i JobScheduleArgs) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobScheduleOutput).ToJobSchedulePtrOutputWithContext(ctx) +func (i JobNewClusterClusterLogConfS3Args) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfS3Output).ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// JobSchedulePtrInput is an input type that accepts JobScheduleArgs, JobSchedulePtr and JobSchedulePtrOutput values. -// You can construct a concrete instance of `JobSchedulePtrInput` via: +// JobNewClusterClusterLogConfS3PtrInput is an input type that accepts JobNewClusterClusterLogConfS3Args, JobNewClusterClusterLogConfS3Ptr and JobNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `JobNewClusterClusterLogConfS3PtrInput` via: // -// JobScheduleArgs{...} +// JobNewClusterClusterLogConfS3Args{...} // // or: // // nil -type JobSchedulePtrInput interface { +type JobNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToJobSchedulePtrOutput() JobSchedulePtrOutput - ToJobSchedulePtrOutputWithContext(context.Context) JobSchedulePtrOutput + ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput + ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobNewClusterClusterLogConfS3PtrOutput } -type jobSchedulePtrType JobScheduleArgs +type jobNewClusterClusterLogConfS3PtrType JobNewClusterClusterLogConfS3Args -func JobSchedulePtr(v *JobScheduleArgs) JobSchedulePtrInput { - return (*jobSchedulePtrType)(v) +func JobNewClusterClusterLogConfS3Ptr(v *JobNewClusterClusterLogConfS3Args) JobNewClusterClusterLogConfS3PtrInput { + return (*jobNewClusterClusterLogConfS3PtrType)(v) } -func (*jobSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobSchedule)(nil)).Elem() +func (*jobNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *jobSchedulePtrType) ToJobSchedulePtrOutput() JobSchedulePtrOutput { - return i.ToJobSchedulePtrOutputWithContext(context.Background()) +func (i *jobNewClusterClusterLogConfS3PtrType) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { + return i.ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *jobSchedulePtrType) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSchedulePtrOutput) +func (i *jobNewClusterClusterLogConfS3PtrType) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterLogConfS3PtrOutput) } -type JobScheduleOutput struct{ *pulumi.OutputState } +type JobNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (JobScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobSchedule)(nil)).Elem() +func (JobNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3Output() JobNewClusterClusterLogConfS3Output { + return o +} + +func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3Output { + return o +} + +func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { + return o.ToJobNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (o JobNewClusterClusterLogConfS3Output) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterClusterLogConfS3) *JobNewClusterClusterLogConfS3 { + return &v + }).(JobNewClusterClusterLogConfS3PtrOutput) } -func (o JobScheduleOutput) ToJobScheduleOutput() JobScheduleOutput { - return o +func (o JobNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o JobScheduleOutput) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput { - return o +func (o JobNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobScheduleOutput) ToJobSchedulePtrOutput() JobSchedulePtrOutput { - return o.ToJobSchedulePtrOutputWithContext(context.Background()) +func (o JobNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o JobScheduleOutput) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSchedule) *JobSchedule { - return &v - }).(JobSchedulePtrOutput) +func (o JobNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -// Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. -func (o JobScheduleOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o JobNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -// A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. -func (o JobScheduleOutput) QuartzCronExpression() pulumi.StringOutput { - return o.ApplyT(func(v JobSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) +func (o JobNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -// A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. -func (o JobScheduleOutput) TimezoneId() pulumi.StringOutput { - return o.ApplyT(func(v JobSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) +func (o JobNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type JobSchedulePtrOutput struct{ *pulumi.OutputState } +type JobNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } -func (JobSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobSchedule)(nil)).Elem() +func (JobNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterClusterLogConfS3)(nil)).Elem() } -func (o JobSchedulePtrOutput) ToJobSchedulePtrOutput() JobSchedulePtrOutput { +func (o JobNewClusterClusterLogConfS3PtrOutput) ToJobNewClusterClusterLogConfS3PtrOutput() JobNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobSchedulePtrOutput) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { +func (o JobNewClusterClusterLogConfS3PtrOutput) ToJobNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobSchedulePtrOutput) Elem() JobScheduleOutput { - return o.ApplyT(func(v *JobSchedule) JobSchedule { +func (o JobNewClusterClusterLogConfS3PtrOutput) Elem() JobNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) JobNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret JobSchedule + var ret JobNewClusterClusterLogConfS3 return ret - }).(JobScheduleOutput) + }).(JobNewClusterClusterLogConfS3Output) } -// Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. -func (o JobSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSchedule) *string { +func (o JobNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.PauseStatus + return v.CannedAcl }).(pulumi.StringPtrOutput) } -// A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. -func (o JobSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSchedule) *string { +func (o JobNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.QuartzCronExpression + return &v.Destination }).(pulumi.StringPtrOutput) } -// A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. -func (o JobSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSchedule) *string { +func (o JobNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *bool { if v == nil { return nil } - return &v.TimezoneId + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o JobNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType }).(pulumi.StringPtrOutput) } -type JobSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - MainClassName *string `pulumi:"mainClassName"` - // (List) Parameters passed to the main method. - Parameters []string `pulumi:"parameters"` +func (o JobNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// JobSparkJarTaskInput is an input type that accepts JobSparkJarTaskArgs and JobSparkJarTaskOutput values. -// You can construct a concrete instance of `JobSparkJarTaskInput` via: -// -// JobSparkJarTaskArgs{...} -type JobSparkJarTaskInput interface { - pulumi.Input +func (o JobNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} - ToJobSparkJarTaskOutput() JobSparkJarTaskOutput - ToJobSparkJarTaskOutputWithContext(context.Context) JobSparkJarTaskOutput +func (o JobNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type JobSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - // (List) Parameters passed to the main method. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (JobSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobSparkJarTask)(nil)).Elem() +// JobNewClusterClusterMountInfoInput is an input type that accepts JobNewClusterClusterMountInfoArgs and JobNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `JobNewClusterClusterMountInfoInput` via: +// +// JobNewClusterClusterMountInfoArgs{...} +type JobNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToJobNewClusterClusterMountInfoOutput() JobNewClusterClusterMountInfoOutput + ToJobNewClusterClusterMountInfoOutputWithContext(context.Context) JobNewClusterClusterMountInfoOutput } -func (i JobSparkJarTaskArgs) ToJobSparkJarTaskOutput() JobSparkJarTaskOutput { - return i.ToJobSparkJarTaskOutputWithContext(context.Background()) +type JobNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i JobSparkJarTaskArgs) ToJobSparkJarTaskOutputWithContext(ctx context.Context) JobSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkJarTaskOutput) +func (JobNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterMountInfo)(nil)).Elem() } -func (i JobSparkJarTaskArgs) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { - return i.ToJobSparkJarTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterClusterMountInfoArgs) ToJobNewClusterClusterMountInfoOutput() JobNewClusterClusterMountInfoOutput { + return i.ToJobNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i JobSparkJarTaskArgs) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkJarTaskOutput).ToJobSparkJarTaskPtrOutputWithContext(ctx) +func (i JobNewClusterClusterMountInfoArgs) ToJobNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterMountInfoOutput) } -// JobSparkJarTaskPtrInput is an input type that accepts JobSparkJarTaskArgs, JobSparkJarTaskPtr and JobSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `JobSparkJarTaskPtrInput` via: -// -// JobSparkJarTaskArgs{...} -// -// or: +// JobNewClusterClusterMountInfoArrayInput is an input type that accepts JobNewClusterClusterMountInfoArray and JobNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `JobNewClusterClusterMountInfoArrayInput` via: // -// nil -type JobSparkJarTaskPtrInput interface { +// JobNewClusterClusterMountInfoArray{ JobNewClusterClusterMountInfoArgs{...} } +type JobNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput - ToJobSparkJarTaskPtrOutputWithContext(context.Context) JobSparkJarTaskPtrOutput + ToJobNewClusterClusterMountInfoArrayOutput() JobNewClusterClusterMountInfoArrayOutput + ToJobNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobNewClusterClusterMountInfoArrayOutput } -type jobSparkJarTaskPtrType JobSparkJarTaskArgs +type JobNewClusterClusterMountInfoArray []JobNewClusterClusterMountInfoInput -func JobSparkJarTaskPtr(v *JobSparkJarTaskArgs) JobSparkJarTaskPtrInput { - return (*jobSparkJarTaskPtrType)(v) +func (JobNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobNewClusterClusterMountInfo)(nil)).Elem() } -func (*jobSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobSparkJarTask)(nil)).Elem() +func (i JobNewClusterClusterMountInfoArray) ToJobNewClusterClusterMountInfoArrayOutput() JobNewClusterClusterMountInfoArrayOutput { + return i.ToJobNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *jobSparkJarTaskPtrType) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { - return i.ToJobSparkJarTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterClusterMountInfoArray) ToJobNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterMountInfoArrayOutput) } -func (i *jobSparkJarTaskPtrType) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkJarTaskPtrOutput) -} +type JobNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -type JobSparkJarTaskOutput struct{ *pulumi.OutputState } +func (JobNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterMountInfo)(nil)).Elem() +} -func (JobSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobSparkJarTask)(nil)).Elem() +func (o JobNewClusterClusterMountInfoOutput) ToJobNewClusterClusterMountInfoOutput() JobNewClusterClusterMountInfoOutput { + return o } -func (o JobSparkJarTaskOutput) ToJobSparkJarTaskOutput() JobSparkJarTaskOutput { +func (o JobNewClusterClusterMountInfoOutput) ToJobNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoOutput { return o } -func (o JobSparkJarTaskOutput) ToJobSparkJarTaskOutputWithContext(ctx context.Context) JobSparkJarTaskOutput { +func (o JobNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +} + +func (o JobNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v JobNewClusterClusterMountInfo) JobNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +func (o JobNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +} + +type JobNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (JobNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobNewClusterClusterMountInfo)(nil)).Elem() +} + +func (o JobNewClusterClusterMountInfoArrayOutput) ToJobNewClusterClusterMountInfoArrayOutput() JobNewClusterClusterMountInfoArrayOutput { return o } -func (o JobSparkJarTaskOutput) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { - return o.ToJobSparkJarTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterClusterMountInfoArrayOutput) ToJobNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoArrayOutput { + return o } -func (o JobSparkJarTaskOutput) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSparkJarTask) *JobSparkJarTask { - return &v - }).(JobSparkJarTaskPtrOutput) +func (o JobNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNewClusterClusterMountInfo { + return vs[0].([]JobNewClusterClusterMountInfo)[vs[1].(int)] + }).(JobNewClusterClusterMountInfoOutput) } -func (o JobSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +type JobNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. -func (o JobSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +// JobNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `JobNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type JobNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -// (List) Parameters passed to the main method. -func (o JobSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +type JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -type JobSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +func (JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} -func (JobSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobSparkJarTask)(nil)).Elem() +func (i JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o JobSparkJarTaskPtrOutput) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { - return o +func (i JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o JobSparkJarTaskPtrOutput) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { - return o +type JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o JobSparkJarTaskPtrOutput) Elem() JobSparkJarTaskOutput { - return o.ApplyT(func(v *JobSparkJarTask) JobSparkJarTask { - if v != nil { - return *v - } - var ret JobSparkJarTask - return ret - }).(JobSparkJarTaskOutput) +func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o JobSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSparkJarTask) *string { - if v == nil { - return nil - } - return v.JarUri - }).(pulumi.StringPtrOutput) +func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. -func (o JobSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSparkJarTask) *string { - if v == nil { - return nil - } - return v.MainClassName - }).(pulumi.StringPtrOutput) +func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) } -// (List) Parameters passed to the main method. -func (o JobSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobSparkJarTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o JobNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) } -type JobSparkPythonTask struct { - // (List) Command line parameters passed to the Python file. - Parameters []string `pulumi:"parameters"` - // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - PythonFile string `pulumi:"pythonFile"` - // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. - Source *string `pulumi:"source"` +type JobNewClusterDockerImage struct { + BasicAuth *JobNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url string `pulumi:"url"` } -// JobSparkPythonTaskInput is an input type that accepts JobSparkPythonTaskArgs and JobSparkPythonTaskOutput values. -// You can construct a concrete instance of `JobSparkPythonTaskInput` via: +// JobNewClusterDockerImageInput is an input type that accepts JobNewClusterDockerImageArgs and JobNewClusterDockerImageOutput values. +// You can construct a concrete instance of `JobNewClusterDockerImageInput` via: // -// JobSparkPythonTaskArgs{...} -type JobSparkPythonTaskInput interface { +// JobNewClusterDockerImageArgs{...} +type JobNewClusterDockerImageInput interface { pulumi.Input - ToJobSparkPythonTaskOutput() JobSparkPythonTaskOutput - ToJobSparkPythonTaskOutputWithContext(context.Context) JobSparkPythonTaskOutput + ToJobNewClusterDockerImageOutput() JobNewClusterDockerImageOutput + ToJobNewClusterDockerImageOutputWithContext(context.Context) JobNewClusterDockerImageOutput } -type JobSparkPythonTaskArgs struct { - // (List) Command line parameters passed to the Python file. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. - Source pulumi.StringPtrInput `pulumi:"source"` +type JobNewClusterDockerImageArgs struct { + BasicAuth JobNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url pulumi.StringInput `pulumi:"url"` } -func (JobSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobSparkPythonTask)(nil)).Elem() +func (JobNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterDockerImage)(nil)).Elem() } -func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskOutput() JobSparkPythonTaskOutput { - return i.ToJobSparkPythonTaskOutputWithContext(context.Background()) +func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImageOutput() JobNewClusterDockerImageOutput { + return i.ToJobNewClusterDockerImageOutputWithContext(context.Background()) } -func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskOutputWithContext(ctx context.Context) JobSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkPythonTaskOutput) +func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImageOutputWithContext(ctx context.Context) JobNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageOutput) } -func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { - return i.ToJobSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { + return i.ToJobNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkPythonTaskOutput).ToJobSparkPythonTaskPtrOutputWithContext(ctx) +func (i JobNewClusterDockerImageArgs) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageOutput).ToJobNewClusterDockerImagePtrOutputWithContext(ctx) } -// JobSparkPythonTaskPtrInput is an input type that accepts JobSparkPythonTaskArgs, JobSparkPythonTaskPtr and JobSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `JobSparkPythonTaskPtrInput` via: +// JobNewClusterDockerImagePtrInput is an input type that accepts JobNewClusterDockerImageArgs, JobNewClusterDockerImagePtr and JobNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `JobNewClusterDockerImagePtrInput` via: // -// JobSparkPythonTaskArgs{...} +// JobNewClusterDockerImageArgs{...} // // or: // // nil -type JobSparkPythonTaskPtrInput interface { +type JobNewClusterDockerImagePtrInput interface { pulumi.Input - ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput - ToJobSparkPythonTaskPtrOutputWithContext(context.Context) JobSparkPythonTaskPtrOutput + ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput + ToJobNewClusterDockerImagePtrOutputWithContext(context.Context) JobNewClusterDockerImagePtrOutput } -type jobSparkPythonTaskPtrType JobSparkPythonTaskArgs +type jobNewClusterDockerImagePtrType JobNewClusterDockerImageArgs -func JobSparkPythonTaskPtr(v *JobSparkPythonTaskArgs) JobSparkPythonTaskPtrInput { - return (*jobSparkPythonTaskPtrType)(v) +func JobNewClusterDockerImagePtr(v *JobNewClusterDockerImageArgs) JobNewClusterDockerImagePtrInput { + return (*jobNewClusterDockerImagePtrType)(v) } -func (*jobSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobSparkPythonTask)(nil)).Elem() +func (*jobNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterDockerImage)(nil)).Elem() } -func (i *jobSparkPythonTaskPtrType) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { - return i.ToJobSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterDockerImagePtrType) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { + return i.ToJobNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *jobSparkPythonTaskPtrType) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkPythonTaskPtrOutput) +func (i *jobNewClusterDockerImagePtrType) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImagePtrOutput) } -type JobSparkPythonTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (JobSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobSparkPythonTask)(nil)).Elem() +func (JobNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterDockerImage)(nil)).Elem() } -func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskOutput() JobSparkPythonTaskOutput { +func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImageOutput() JobNewClusterDockerImageOutput { return o } -func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskOutputWithContext(ctx context.Context) JobSparkPythonTaskOutput { +func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImageOutputWithContext(ctx context.Context) JobNewClusterDockerImageOutput { return o } -func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { - return o.ToJobSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { + return o.ToJobNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSparkPythonTask) *JobSparkPythonTask { +func (o JobNewClusterDockerImageOutput) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterDockerImage) *JobNewClusterDockerImage { return &v - }).(JobSparkPythonTaskPtrOutput) -} - -// (List) Command line parameters passed to the Python file. -func (o JobSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) + }).(JobNewClusterDockerImagePtrOutput) } -// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. -func (o JobSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v JobSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o JobNewClusterDockerImageOutput) BasicAuth() JobNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v JobNewClusterDockerImage) *JobNewClusterDockerImageBasicAuth { return v.BasicAuth }).(JobNewClusterDockerImageBasicAuthPtrOutput) } -// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. -func (o JobSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +// URL of the job on the given workspace +func (o JobNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type JobSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (JobSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobSparkPythonTask)(nil)).Elem() +func (JobNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterDockerImage)(nil)).Elem() } -func (o JobSparkPythonTaskPtrOutput) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { +func (o JobNewClusterDockerImagePtrOutput) ToJobNewClusterDockerImagePtrOutput() JobNewClusterDockerImagePtrOutput { return o } -func (o JobSparkPythonTaskPtrOutput) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { +func (o JobNewClusterDockerImagePtrOutput) ToJobNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobNewClusterDockerImagePtrOutput { return o } -func (o JobSparkPythonTaskPtrOutput) Elem() JobSparkPythonTaskOutput { - return o.ApplyT(func(v *JobSparkPythonTask) JobSparkPythonTask { +func (o JobNewClusterDockerImagePtrOutput) Elem() JobNewClusterDockerImageOutput { + return o.ApplyT(func(v *JobNewClusterDockerImage) JobNewClusterDockerImage { if v != nil { return *v } - var ret JobSparkPythonTask + var ret JobNewClusterDockerImage return ret - }).(JobSparkPythonTaskOutput) -} - -// (List) Command line parameters passed to the Python file. -func (o JobSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) + }).(JobNewClusterDockerImageOutput) } -// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. -func (o JobSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSparkPythonTask) *string { +func (o JobNewClusterDockerImagePtrOutput) BasicAuth() JobNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *JobNewClusterDockerImage) *JobNewClusterDockerImageBasicAuth { if v == nil { return nil } - return &v.PythonFile - }).(pulumi.StringPtrOutput) + return v.BasicAuth + }).(JobNewClusterDockerImageBasicAuthPtrOutput) } -// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. -func (o JobSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobSparkPythonTask) *string { +// URL of the job on the given workspace +func (o JobNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterDockerImage) *string { if v == nil { return nil } - return v.Source + return &v.Url }).(pulumi.StringPtrOutput) } -type JobSparkSubmitTask struct { - // (List) Command-line parameters passed to spark submit. - Parameters []string `pulumi:"parameters"` +type JobNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// JobSparkSubmitTaskInput is an input type that accepts JobSparkSubmitTaskArgs and JobSparkSubmitTaskOutput values. -// You can construct a concrete instance of `JobSparkSubmitTaskInput` via: +// JobNewClusterDockerImageBasicAuthInput is an input type that accepts JobNewClusterDockerImageBasicAuthArgs and JobNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `JobNewClusterDockerImageBasicAuthInput` via: // -// JobSparkSubmitTaskArgs{...} -type JobSparkSubmitTaskInput interface { +// JobNewClusterDockerImageBasicAuthArgs{...} +type JobNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToJobSparkSubmitTaskOutput() JobSparkSubmitTaskOutput - ToJobSparkSubmitTaskOutputWithContext(context.Context) JobSparkSubmitTaskOutput + ToJobNewClusterDockerImageBasicAuthOutput() JobNewClusterDockerImageBasicAuthOutput + ToJobNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobNewClusterDockerImageBasicAuthOutput } -type JobSparkSubmitTaskArgs struct { - // (List) Command-line parameters passed to spark submit. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (JobSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobSparkSubmitTask)(nil)).Elem() +func (JobNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterDockerImageBasicAuth)(nil)).Elem() } - -func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskOutput() JobSparkSubmitTaskOutput { - return i.ToJobSparkSubmitTaskOutputWithContext(context.Background()) + +func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthOutput() JobNewClusterDockerImageBasicAuthOutput { + return i.ToJobNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskOutputWithContext(ctx context.Context) JobSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkSubmitTaskOutput) +func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageBasicAuthOutput) } -func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { - return i.ToJobSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkSubmitTaskOutput).ToJobSparkSubmitTaskPtrOutputWithContext(ctx) +func (i JobNewClusterDockerImageBasicAuthArgs) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageBasicAuthOutput).ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// JobSparkSubmitTaskPtrInput is an input type that accepts JobSparkSubmitTaskArgs, JobSparkSubmitTaskPtr and JobSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `JobSparkSubmitTaskPtrInput` via: +// JobNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobNewClusterDockerImageBasicAuthArgs, JobNewClusterDockerImageBasicAuthPtr and JobNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `JobNewClusterDockerImageBasicAuthPtrInput` via: // -// JobSparkSubmitTaskArgs{...} +// JobNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type JobSparkSubmitTaskPtrInput interface { +type JobNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput - ToJobSparkSubmitTaskPtrOutputWithContext(context.Context) JobSparkSubmitTaskPtrOutput + ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput + ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobNewClusterDockerImageBasicAuthPtrOutput } -type jobSparkSubmitTaskPtrType JobSparkSubmitTaskArgs +type jobNewClusterDockerImageBasicAuthPtrType JobNewClusterDockerImageBasicAuthArgs -func JobSparkSubmitTaskPtr(v *JobSparkSubmitTaskArgs) JobSparkSubmitTaskPtrInput { - return (*jobSparkSubmitTaskPtrType)(v) +func JobNewClusterDockerImageBasicAuthPtr(v *JobNewClusterDockerImageBasicAuthArgs) JobNewClusterDockerImageBasicAuthPtrInput { + return (*jobNewClusterDockerImageBasicAuthPtrType)(v) } -func (*jobSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobSparkSubmitTask)(nil)).Elem() +func (*jobNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *jobSparkSubmitTaskPtrType) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { - return i.ToJobSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterDockerImageBasicAuthPtrType) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *jobSparkSubmitTaskPtrType) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobSparkSubmitTaskPtrOutput) +func (i *jobNewClusterDockerImageBasicAuthPtrType) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterDockerImageBasicAuthPtrOutput) } -type JobSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (JobSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobSparkSubmitTask)(nil)).Elem() +func (JobNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskOutput() JobSparkSubmitTaskOutput { +func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthOutput() JobNewClusterDockerImageBasicAuthOutput { return o } -func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskOutputWithContext(ctx context.Context) JobSparkSubmitTaskOutput { +func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthOutput { return o } -func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { - return o.ToJobSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { + return o.ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSparkSubmitTask) *JobSparkSubmitTask { +func (o JobNewClusterDockerImageBasicAuthOutput) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterDockerImageBasicAuth) *JobNewClusterDockerImageBasicAuth { return &v - }).(JobSparkSubmitTaskPtrOutput) + }).(JobNewClusterDockerImageBasicAuthPtrOutput) } -// (List) Command-line parameters passed to spark submit. -func (o JobSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -type JobSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} -func (JobSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobSparkSubmitTask)(nil)).Elem() +type JobNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobSparkSubmitTaskPtrOutput) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { +func (o JobNewClusterDockerImageBasicAuthPtrOutput) ToJobNewClusterDockerImageBasicAuthPtrOutput() JobNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobSparkSubmitTaskPtrOutput) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { +func (o JobNewClusterDockerImageBasicAuthPtrOutput) ToJobNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobSparkSubmitTaskPtrOutput) Elem() JobSparkSubmitTaskOutput { - return o.ApplyT(func(v *JobSparkSubmitTask) JobSparkSubmitTask { +func (o JobNewClusterDockerImageBasicAuthPtrOutput) Elem() JobNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *JobNewClusterDockerImageBasicAuth) JobNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret JobSparkSubmitTask + var ret JobNewClusterDockerImageBasicAuth return ret - }).(JobSparkSubmitTaskOutput) + }).(JobNewClusterDockerImageBasicAuthOutput) } -// (List) Command-line parameters passed to spark submit. -func (o JobSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobSparkSubmitTask) []string { +func (o JobNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return &v.Password + }).(pulumi.StringPtrOutput) } -type JobTask struct { - ConditionTask *JobTaskConditionTask `pulumi:"conditionTask"` - DbtTask *JobTaskDbtTask `pulumi:"dbtTask"` - // block specifying dependency(-ies) for a given task. - DependsOns []JobTaskDependsOn `pulumi:"dependsOns"` - // description for this task. - Description *string `pulumi:"description"` - // A flag to disable auto optimization in serverless tasks. - DisableAutoOptimization *bool `pulumi:"disableAutoOptimization"` - // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - EmailNotifications *JobTaskEmailNotifications `pulumi:"emailNotifications"` - // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. - EnvironmentKey *string `pulumi:"environmentKey"` - // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - ExistingClusterId *string `pulumi:"existingClusterId"` - ForEachTask *JobTaskForEachTask `pulumi:"forEachTask"` - // block described below that specifies health conditions for a given task. - Health *JobTaskHealth `pulumi:"health"` - // Identifier of the Job cluster specified in the `jobCluster` block. - JobClusterKey *string `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. - Libraries []JobTaskLibrary `pulumi:"libraries"` - // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - MaxRetries *int `pulumi:"maxRetries"` - // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* - NewCluster *JobTaskNewCluster `pulumi:"newCluster"` - NotebookTask *JobTaskNotebookTask `pulumi:"notebookTask"` - // An optional block controlling the notification settings on the job level documented below. - NotificationSettings *JobTaskNotificationSettings `pulumi:"notificationSettings"` - PipelineTask *JobTaskPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *JobTaskPythonWheelTask `pulumi:"pythonWheelTask"` - // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - RetryOnTimeout *bool `pulumi:"retryOnTimeout"` - // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - RunIf *string `pulumi:"runIf"` - RunJobTask *JobTaskRunJobTask `pulumi:"runJobTask"` - SparkJarTask *JobTaskSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *JobTaskSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *JobTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` - SqlTask *JobTaskSqlTask `pulumi:"sqlTask"` - // string specifying an unique key for a given task. - // * `*_task` - (Required) one of the specific task blocks described below: - TaskKey string `pulumi:"taskKey"` - // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - // - // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. - WebhookNotifications *JobTaskWebhookNotifications `pulumi:"webhookNotifications"` +func (o JobNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -// JobTaskInput is an input type that accepts JobTaskArgs and JobTaskOutput values. -// You can construct a concrete instance of `JobTaskInput` via: +type JobNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// JobNewClusterGcpAttributesInput is an input type that accepts JobNewClusterGcpAttributesArgs and JobNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `JobNewClusterGcpAttributesInput` via: // -// JobTaskArgs{...} -type JobTaskInput interface { +// JobNewClusterGcpAttributesArgs{...} +type JobNewClusterGcpAttributesInput interface { pulumi.Input - ToJobTaskOutput() JobTaskOutput - ToJobTaskOutputWithContext(context.Context) JobTaskOutput + ToJobNewClusterGcpAttributesOutput() JobNewClusterGcpAttributesOutput + ToJobNewClusterGcpAttributesOutputWithContext(context.Context) JobNewClusterGcpAttributesOutput } -type JobTaskArgs struct { - ConditionTask JobTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask JobTaskDbtTaskPtrInput `pulumi:"dbtTask"` - // block specifying dependency(-ies) for a given task. - DependsOns JobTaskDependsOnArrayInput `pulumi:"dependsOns"` - // description for this task. - Description pulumi.StringPtrInput `pulumi:"description"` - // A flag to disable auto optimization in serverless tasks. - DisableAutoOptimization pulumi.BoolPtrInput `pulumi:"disableAutoOptimization"` - // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - EmailNotifications JobTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. - EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` - // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - ForEachTask JobTaskForEachTaskPtrInput `pulumi:"forEachTask"` - // block described below that specifies health conditions for a given task. - Health JobTaskHealthPtrInput `pulumi:"health"` - // Identifier of the Job cluster specified in the `jobCluster` block. - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. - Libraries JobTaskLibraryArrayInput `pulumi:"libraries"` - // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* - NewCluster JobTaskNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask JobTaskNotebookTaskPtrInput `pulumi:"notebookTask"` - // An optional block controlling the notification settings on the job level documented below. - NotificationSettings JobTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` - PipelineTask JobTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask JobTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` - // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - RunIf pulumi.StringPtrInput `pulumi:"runIf"` - RunJobTask JobTaskRunJobTaskPtrInput `pulumi:"runJobTask"` - SparkJarTask JobTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask JobTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask JobTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - SqlTask JobTaskSqlTaskPtrInput `pulumi:"sqlTask"` - // string specifying an unique key for a given task. - // * `*_task` - (Required) one of the specific task blocks described below: - TaskKey pulumi.StringInput `pulumi:"taskKey"` - // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - // - // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. - WebhookNotifications JobTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type JobNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (JobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTask)(nil)).Elem() +func (JobNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterGcpAttributes)(nil)).Elem() } -func (i JobTaskArgs) ToJobTaskOutput() JobTaskOutput { - return i.ToJobTaskOutputWithContext(context.Background()) +func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesOutput() JobNewClusterGcpAttributesOutput { + return i.ToJobNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i JobTaskArgs) ToJobTaskOutputWithContext(ctx context.Context) JobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskOutput) +func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterGcpAttributesOutput) } -// JobTaskArrayInput is an input type that accepts JobTaskArray and JobTaskArrayOutput values. -// You can construct a concrete instance of `JobTaskArrayInput` via: +func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { + return i.ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i JobNewClusterGcpAttributesArgs) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterGcpAttributesOutput).ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx) +} + +// JobNewClusterGcpAttributesPtrInput is an input type that accepts JobNewClusterGcpAttributesArgs, JobNewClusterGcpAttributesPtr and JobNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `JobNewClusterGcpAttributesPtrInput` via: // -// JobTaskArray{ JobTaskArgs{...} } -type JobTaskArrayInput interface { +// JobNewClusterGcpAttributesArgs{...} +// +// or: +// +// nil +type JobNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToJobTaskArrayOutput() JobTaskArrayOutput - ToJobTaskArrayOutputWithContext(context.Context) JobTaskArrayOutput + ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput + ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobNewClusterGcpAttributesPtrOutput } -type JobTaskArray []JobTaskInput +type jobNewClusterGcpAttributesPtrType JobNewClusterGcpAttributesArgs -func (JobTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTask)(nil)).Elem() +func JobNewClusterGcpAttributesPtr(v *JobNewClusterGcpAttributesArgs) JobNewClusterGcpAttributesPtrInput { + return (*jobNewClusterGcpAttributesPtrType)(v) } -func (i JobTaskArray) ToJobTaskArrayOutput() JobTaskArrayOutput { - return i.ToJobTaskArrayOutputWithContext(context.Background()) +func (*jobNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterGcpAttributes)(nil)).Elem() } -func (i JobTaskArray) ToJobTaskArrayOutputWithContext(ctx context.Context) JobTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskArrayOutput) +func (i *jobNewClusterGcpAttributesPtrType) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { + return i.ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -type JobTaskOutput struct{ *pulumi.OutputState } +func (i *jobNewClusterGcpAttributesPtrType) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterGcpAttributesPtrOutput) +} -func (JobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTask)(nil)).Elem() +type JobNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } + +func (JobNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterGcpAttributes)(nil)).Elem() } -func (o JobTaskOutput) ToJobTaskOutput() JobTaskOutput { +func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesOutput() JobNewClusterGcpAttributesOutput { return o } -func (o JobTaskOutput) ToJobTaskOutputWithContext(ctx context.Context) JobTaskOutput { +func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesOutput { return o } -func (o JobTaskOutput) ConditionTask() JobTaskConditionTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskConditionTask { return v.ConditionTask }).(JobTaskConditionTaskPtrOutput) +func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { + return o.ToJobNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o JobTaskOutput) DbtTask() JobTaskDbtTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskDbtTask { return v.DbtTask }).(JobTaskDbtTaskPtrOutput) +func (o JobNewClusterGcpAttributesOutput) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterGcpAttributes) *JobNewClusterGcpAttributes { + return &v + }).(JobNewClusterGcpAttributesPtrOutput) } -// block specifying dependency(-ies) for a given task. -func (o JobTaskOutput) DependsOns() JobTaskDependsOnArrayOutput { - return o.ApplyT(func(v JobTask) []JobTaskDependsOn { return v.DependsOns }).(JobTaskDependsOnArrayOutput) +func (o JobNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// description for this task. -func (o JobTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTask) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o JobNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -// A flag to disable auto optimization in serverless tasks. -func (o JobTaskOutput) DisableAutoOptimization() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTask) *bool { return v.DisableAutoOptimization }).(pulumi.BoolPtrOutput) +func (o JobNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -// An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. -func (o JobTaskOutput) EmailNotifications() JobTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskEmailNotifications { return v.EmailNotifications }).(JobTaskEmailNotificationsPtrOutput) +func (o JobNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -// identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. -func (o JobTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) +func (o JobNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -// Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* -func (o JobTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (o JobNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (o JobTaskOutput) ForEachTask() JobTaskForEachTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskForEachTask { return v.ForEachTask }).(JobTaskForEachTaskPtrOutput) +type JobNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterGcpAttributes)(nil)).Elem() } -// block described below that specifies health conditions for a given task. -func (o JobTaskOutput) Health() JobTaskHealthPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskHealth { return v.Health }).(JobTaskHealthPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) ToJobNewClusterGcpAttributesPtrOutput() JobNewClusterGcpAttributesPtrOutput { + return o } -// Identifier of the Job cluster specified in the `jobCluster` block. -func (o JobTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) ToJobNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobNewClusterGcpAttributesPtrOutput { + return o } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. -func (o JobTaskOutput) Libraries() JobTaskLibraryArrayOutput { - return o.ApplyT(func(v JobTask) []JobTaskLibrary { return v.Libraries }).(JobTaskLibraryArrayOutput) +func (o JobNewClusterGcpAttributesPtrOutput) Elem() JobNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) JobNewClusterGcpAttributes { + if v != nil { + return *v + } + var ret JobNewClusterGcpAttributes + return ret + }).(JobNewClusterGcpAttributesOutput) } -// (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. -func (o JobTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -// (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. -func (o JobTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -// Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* -func (o JobTaskOutput) NewCluster() JobTaskNewClusterPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskNewCluster { return v.NewCluster }).(JobTaskNewClusterPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (o JobTaskOutput) NotebookTask() JobTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskNotebookTask { return v.NotebookTask }).(JobTaskNotebookTaskPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -// An optional block controlling the notification settings on the job level documented below. -func (o JobTaskOutput) NotificationSettings() JobTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskNotificationSettings { return v.NotificationSettings }).(JobTaskNotificationSettingsPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (o JobTaskOutput) PipelineTask() JobTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskPipelineTask { return v.PipelineTask }).(JobTaskPipelineTaskPtrOutput) +func (o JobNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -func (o JobTaskOutput) PythonWheelTask() JobTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskPythonWheelTask { return v.PythonWheelTask }).(JobTaskPythonWheelTaskPtrOutput) +type JobNewClusterInitScript struct { + Abfss *JobNewClusterInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *JobNewClusterInitScriptDbfs `pulumi:"dbfs"` + // block consisting of single string fields: + File *JobNewClusterInitScriptFile `pulumi:"file"` + Gcs *JobNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *JobNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *JobNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *JobNewClusterInitScriptWorkspace `pulumi:"workspace"` } -// (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. -func (o JobTaskOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTask) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) +// JobNewClusterInitScriptInput is an input type that accepts JobNewClusterInitScriptArgs and JobNewClusterInitScriptOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptInput` via: +// +// JobNewClusterInitScriptArgs{...} +type JobNewClusterInitScriptInput interface { + pulumi.Input + + ToJobNewClusterInitScriptOutput() JobNewClusterInitScriptOutput + ToJobNewClusterInitScriptOutputWithContext(context.Context) JobNewClusterInitScriptOutput } -// An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. -func (o JobTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +type JobNewClusterInitScriptArgs struct { + Abfss JobNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs JobNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + // block consisting of single string fields: + File JobNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs JobNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 JobNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes JobNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace JobNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (o JobTaskOutput) RunJobTask() JobTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskRunJobTask { return v.RunJobTask }).(JobTaskRunJobTaskPtrOutput) +func (JobNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScript)(nil)).Elem() } -func (o JobTaskOutput) SparkJarTask() JobTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskSparkJarTask { return v.SparkJarTask }).(JobTaskSparkJarTaskPtrOutput) +func (i JobNewClusterInitScriptArgs) ToJobNewClusterInitScriptOutput() JobNewClusterInitScriptOutput { + return i.ToJobNewClusterInitScriptOutputWithContext(context.Background()) +} + +func (i JobNewClusterInitScriptArgs) ToJobNewClusterInitScriptOutputWithContext(ctx context.Context) JobNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptOutput) +} + +// JobNewClusterInitScriptArrayInput is an input type that accepts JobNewClusterInitScriptArray and JobNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptArrayInput` via: +// +// JobNewClusterInitScriptArray{ JobNewClusterInitScriptArgs{...} } +type JobNewClusterInitScriptArrayInput interface { + pulumi.Input + + ToJobNewClusterInitScriptArrayOutput() JobNewClusterInitScriptArrayOutput + ToJobNewClusterInitScriptArrayOutputWithContext(context.Context) JobNewClusterInitScriptArrayOutput +} + +type JobNewClusterInitScriptArray []JobNewClusterInitScriptInput + +func (JobNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobNewClusterInitScript)(nil)).Elem() +} + +func (i JobNewClusterInitScriptArray) ToJobNewClusterInitScriptArrayOutput() JobNewClusterInitScriptArrayOutput { + return i.ToJobNewClusterInitScriptArrayOutputWithContext(context.Background()) +} + +func (i JobNewClusterInitScriptArray) ToJobNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptArrayOutput) +} + +type JobNewClusterInitScriptOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScript)(nil)).Elem() +} + +func (o JobNewClusterInitScriptOutput) ToJobNewClusterInitScriptOutput() JobNewClusterInitScriptOutput { + return o +} + +func (o JobNewClusterInitScriptOutput) ToJobNewClusterInitScriptOutputWithContext(ctx context.Context) JobNewClusterInitScriptOutput { + return o +} + +func (o JobNewClusterInitScriptOutput) Abfss() JobNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptAbfss { return v.Abfss }).(JobNewClusterInitScriptAbfssPtrOutput) } -func (o JobTaskOutput) SparkPythonTask() JobTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskSparkPythonTask { return v.SparkPythonTask }).(JobTaskSparkPythonTaskPtrOutput) +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o JobNewClusterInitScriptOutput) Dbfs() JobNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptDbfs { return v.Dbfs }).(JobNewClusterInitScriptDbfsPtrOutput) } -func (o JobTaskOutput) SparkSubmitTask() JobTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskSparkSubmitTask { return v.SparkSubmitTask }).(JobTaskSparkSubmitTaskPtrOutput) +// block consisting of single string fields: +func (o JobNewClusterInitScriptOutput) File() JobNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptFile { return v.File }).(JobNewClusterInitScriptFilePtrOutput) } -func (o JobTaskOutput) SqlTask() JobTaskSqlTaskPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskSqlTask { return v.SqlTask }).(JobTaskSqlTaskPtrOutput) +func (o JobNewClusterInitScriptOutput) Gcs() JobNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptGcs { return v.Gcs }).(JobNewClusterInitScriptGcsPtrOutput) } -// string specifying an unique key for a given task. -// * `*_task` - (Required) one of the specific task blocks described below: -func (o JobTaskOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v JobTask) string { return v.TaskKey }).(pulumi.StringOutput) +func (o JobNewClusterInitScriptOutput) S3() JobNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptS3 { return v.S3 }).(JobNewClusterInitScriptS3PtrOutput) } -// (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. -func (o JobTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o JobNewClusterInitScriptOutput) Volumes() JobNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptVolumes { return v.Volumes }).(JobNewClusterInitScriptVolumesPtrOutput) } -// (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. -// -// > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. -func (o JobTaskOutput) WebhookNotifications() JobTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v JobTask) *JobTaskWebhookNotifications { return v.WebhookNotifications }).(JobTaskWebhookNotificationsPtrOutput) +func (o JobNewClusterInitScriptOutput) Workspace() JobNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v JobNewClusterInitScript) *JobNewClusterInitScriptWorkspace { return v.Workspace }).(JobNewClusterInitScriptWorkspacePtrOutput) } -type JobTaskArrayOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (JobTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTask)(nil)).Elem() +func (JobNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobNewClusterInitScript)(nil)).Elem() } -func (o JobTaskArrayOutput) ToJobTaskArrayOutput() JobTaskArrayOutput { +func (o JobNewClusterInitScriptArrayOutput) ToJobNewClusterInitScriptArrayOutput() JobNewClusterInitScriptArrayOutput { return o } -func (o JobTaskArrayOutput) ToJobTaskArrayOutputWithContext(ctx context.Context) JobTaskArrayOutput { +func (o JobNewClusterInitScriptArrayOutput) ToJobNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobNewClusterInitScriptArrayOutput { return o } -func (o JobTaskArrayOutput) Index(i pulumi.IntInput) JobTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTask { - return vs[0].([]JobTask)[vs[1].(int)] - }).(JobTaskOutput) +func (o JobNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNewClusterInitScript { + return vs[0].([]JobNewClusterInitScript)[vs[1].(int)] + }).(JobNewClusterInitScriptOutput) } -type JobTaskConditionTask struct { - // The left operand of the condition task. It could be a string value, job state, or a parameter reference. - Left string `pulumi:"left"` - // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - // - // This task does not require a cluster to execute and does not support retries or notifications. - Op string `pulumi:"op"` - // The right operand of the condition task. It could be a string value, job state, or parameter reference. - Right string `pulumi:"right"` +type JobNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// JobTaskConditionTaskInput is an input type that accepts JobTaskConditionTaskArgs and JobTaskConditionTaskOutput values. -// You can construct a concrete instance of `JobTaskConditionTaskInput` via: +// JobNewClusterInitScriptAbfssInput is an input type that accepts JobNewClusterInitScriptAbfssArgs and JobNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptAbfssInput` via: // -// JobTaskConditionTaskArgs{...} -type JobTaskConditionTaskInput interface { +// JobNewClusterInitScriptAbfssArgs{...} +type JobNewClusterInitScriptAbfssInput interface { pulumi.Input - ToJobTaskConditionTaskOutput() JobTaskConditionTaskOutput - ToJobTaskConditionTaskOutputWithContext(context.Context) JobTaskConditionTaskOutput + ToJobNewClusterInitScriptAbfssOutput() JobNewClusterInitScriptAbfssOutput + ToJobNewClusterInitScriptAbfssOutputWithContext(context.Context) JobNewClusterInitScriptAbfssOutput } -type JobTaskConditionTaskArgs struct { - // The left operand of the condition task. It could be a string value, job state, or a parameter reference. - Left pulumi.StringInput `pulumi:"left"` - // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - // - // This task does not require a cluster to execute and does not support retries or notifications. - Op pulumi.StringInput `pulumi:"op"` - // The right operand of the condition task. It could be a string value, job state, or parameter reference. - Right pulumi.StringInput `pulumi:"right"` +type JobNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskConditionTask)(nil)).Elem() +func (JobNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptAbfss)(nil)).Elem() } -func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskOutput() JobTaskConditionTaskOutput { - return i.ToJobTaskConditionTaskOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssOutput() JobNewClusterInitScriptAbfssOutput { + return i.ToJobNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskConditionTaskOutput) +func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptAbfssOutput) } -func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { - return i.ToJobTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { + return i.ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskConditionTaskOutput).ToJobTaskConditionTaskPtrOutputWithContext(ctx) +func (i JobNewClusterInitScriptAbfssArgs) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptAbfssOutput).ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// JobTaskConditionTaskPtrInput is an input type that accepts JobTaskConditionTaskArgs, JobTaskConditionTaskPtr and JobTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskConditionTaskPtrInput` via: +// JobNewClusterInitScriptAbfssPtrInput is an input type that accepts JobNewClusterInitScriptAbfssArgs, JobNewClusterInitScriptAbfssPtr and JobNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptAbfssPtrInput` via: // -// JobTaskConditionTaskArgs{...} +// JobNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type JobTaskConditionTaskPtrInput interface { +type JobNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput - ToJobTaskConditionTaskPtrOutputWithContext(context.Context) JobTaskConditionTaskPtrOutput + ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput + ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobNewClusterInitScriptAbfssPtrOutput } -type jobTaskConditionTaskPtrType JobTaskConditionTaskArgs +type jobNewClusterInitScriptAbfssPtrType JobNewClusterInitScriptAbfssArgs -func JobTaskConditionTaskPtr(v *JobTaskConditionTaskArgs) JobTaskConditionTaskPtrInput { - return (*jobTaskConditionTaskPtrType)(v) +func JobNewClusterInitScriptAbfssPtr(v *JobNewClusterInitScriptAbfssArgs) JobNewClusterInitScriptAbfssPtrInput { + return (*jobNewClusterInitScriptAbfssPtrType)(v) } -func (*jobTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskConditionTask)(nil)).Elem() +func (*jobNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *jobTaskConditionTaskPtrType) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { - return i.ToJobTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterInitScriptAbfssPtrType) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { + return i.ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *jobTaskConditionTaskPtrType) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskConditionTaskPtrOutput) +func (i *jobNewClusterInitScriptAbfssPtrType) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptAbfssPtrOutput) } -type JobTaskConditionTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (JobTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskConditionTask)(nil)).Elem() +func (JobNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskOutput() JobTaskConditionTaskOutput { +func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssOutput() JobNewClusterInitScriptAbfssOutput { return o } -func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskConditionTaskOutput { +func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssOutput { return o } -func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { - return o.ToJobTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { + return o.ToJobNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskConditionTask) *JobTaskConditionTask { +func (o JobNewClusterInitScriptAbfssOutput) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptAbfss) *JobNewClusterInitScriptAbfss { return &v - }).(JobTaskConditionTaskPtrOutput) -} - -// The left operand of the condition task. It could be a string value, job state, or a parameter reference. -func (o JobTaskConditionTaskOutput) Left() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) -} - -// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -// -// This task does not require a cluster to execute and does not support retries or notifications. -func (o JobTaskConditionTaskOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) + }).(JobNewClusterInitScriptAbfssPtrOutput) } -// The right operand of the condition task. It could be a string value, job state, or parameter reference. -func (o JobTaskConditionTaskOutput) Right() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +func (o JobNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (JobTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskConditionTask)(nil)).Elem() +func (JobNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobTaskConditionTaskPtrOutput) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { +func (o JobNewClusterInitScriptAbfssPtrOutput) ToJobNewClusterInitScriptAbfssPtrOutput() JobNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobTaskConditionTaskPtrOutput) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { +func (o JobNewClusterInitScriptAbfssPtrOutput) ToJobNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobTaskConditionTaskPtrOutput) Elem() JobTaskConditionTaskOutput { - return o.ApplyT(func(v *JobTaskConditionTask) JobTaskConditionTask { +func (o JobNewClusterInitScriptAbfssPtrOutput) Elem() JobNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptAbfss) JobNewClusterInitScriptAbfss { if v != nil { return *v } - var ret JobTaskConditionTask + var ret JobNewClusterInitScriptAbfss return ret - }).(JobTaskConditionTaskOutput) -} - -// The left operand of the condition task. It could be a string value, job state, or a parameter reference. -func (o JobTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskConditionTask) *string { - if v == nil { - return nil - } - return &v.Left - }).(pulumi.StringPtrOutput) -} - -// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -// -// This task does not require a cluster to execute and does not support retries or notifications. -func (o JobTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskConditionTask) *string { - if v == nil { - return nil - } - return &v.Op - }).(pulumi.StringPtrOutput) + }).(JobNewClusterInitScriptAbfssOutput) } -// The right operand of the condition task. It could be a string value, job state, or parameter reference. -func (o JobTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskConditionTask) *string { +func (o JobNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptAbfss) *string { if v == nil { return nil } - return &v.Right + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobTaskDbtTask struct { - // The name of the catalog to use inside Unity Catalog. - Catalog *string `pulumi:"catalog"` - // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - Commands []string `pulumi:"commands"` - // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - ProfilesDirectory *string `pulumi:"profilesDirectory"` - // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. - // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - ProjectDirectory *string `pulumi:"projectDirectory"` - // The name of the schema dbt should run in. Defaults to `default`. - Schema *string `pulumi:"schema"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. - Source *string `pulumi:"source"` - // The ID of the SQL warehouse that dbt should execute against. - // - // You also need to include a `gitSource` block to configure the repository that contains the dbt project. - WarehouseId *string `pulumi:"warehouseId"` +type JobNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// JobTaskDbtTaskInput is an input type that accepts JobTaskDbtTaskArgs and JobTaskDbtTaskOutput values. -// You can construct a concrete instance of `JobTaskDbtTaskInput` via: +// JobNewClusterInitScriptDbfsInput is an input type that accepts JobNewClusterInitScriptDbfsArgs and JobNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptDbfsInput` via: // -// JobTaskDbtTaskArgs{...} -type JobTaskDbtTaskInput interface { +// JobNewClusterInitScriptDbfsArgs{...} +type JobNewClusterInitScriptDbfsInput interface { pulumi.Input - ToJobTaskDbtTaskOutput() JobTaskDbtTaskOutput - ToJobTaskDbtTaskOutputWithContext(context.Context) JobTaskDbtTaskOutput + ToJobNewClusterInitScriptDbfsOutput() JobNewClusterInitScriptDbfsOutput + ToJobNewClusterInitScriptDbfsOutputWithContext(context.Context) JobNewClusterInitScriptDbfsOutput } -type JobTaskDbtTaskArgs struct { - // The name of the catalog to use inside Unity Catalog. - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - Commands pulumi.StringArrayInput `pulumi:"commands"` - // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. - // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - // The name of the schema dbt should run in. Defaults to `default`. - Schema pulumi.StringPtrInput `pulumi:"schema"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. - Source pulumi.StringPtrInput `pulumi:"source"` - // The ID of the SQL warehouse that dbt should execute against. - // - // You also need to include a `gitSource` block to configure the repository that contains the dbt project. - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type JobNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskDbtTask)(nil)).Elem() +func (JobNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptDbfs)(nil)).Elem() } -func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskOutput() JobTaskDbtTaskOutput { - return i.ToJobTaskDbtTaskOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsOutput() JobNewClusterInitScriptDbfsOutput { + return i.ToJobNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskDbtTaskOutput) +func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptDbfsOutput) } -func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { - return i.ToJobTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { + return i.ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskDbtTaskOutput).ToJobTaskDbtTaskPtrOutputWithContext(ctx) +func (i JobNewClusterInitScriptDbfsArgs) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptDbfsOutput).ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// JobTaskDbtTaskPtrInput is an input type that accepts JobTaskDbtTaskArgs, JobTaskDbtTaskPtr and JobTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskDbtTaskPtrInput` via: +// JobNewClusterInitScriptDbfsPtrInput is an input type that accepts JobNewClusterInitScriptDbfsArgs, JobNewClusterInitScriptDbfsPtr and JobNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptDbfsPtrInput` via: // -// JobTaskDbtTaskArgs{...} +// JobNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type JobTaskDbtTaskPtrInput interface { +type JobNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput - ToJobTaskDbtTaskPtrOutputWithContext(context.Context) JobTaskDbtTaskPtrOutput + ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput + ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobNewClusterInitScriptDbfsPtrOutput } -type jobTaskDbtTaskPtrType JobTaskDbtTaskArgs +type jobNewClusterInitScriptDbfsPtrType JobNewClusterInitScriptDbfsArgs -func JobTaskDbtTaskPtr(v *JobTaskDbtTaskArgs) JobTaskDbtTaskPtrInput { - return (*jobTaskDbtTaskPtrType)(v) +func JobNewClusterInitScriptDbfsPtr(v *JobNewClusterInitScriptDbfsArgs) JobNewClusterInitScriptDbfsPtrInput { + return (*jobNewClusterInitScriptDbfsPtrType)(v) } -func (*jobTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskDbtTask)(nil)).Elem() +func (*jobNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *jobTaskDbtTaskPtrType) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { - return i.ToJobTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterInitScriptDbfsPtrType) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { + return i.ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *jobTaskDbtTaskPtrType) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskDbtTaskPtrOutput) +func (i *jobNewClusterInitScriptDbfsPtrType) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptDbfsPtrOutput) } -type JobTaskDbtTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (JobTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskDbtTask)(nil)).Elem() +func (JobNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskOutput() JobTaskDbtTaskOutput { +func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsOutput() JobNewClusterInitScriptDbfsOutput { return o } -func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskDbtTaskOutput { +func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsOutput { return o } -func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { - return o.ToJobTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { + return o.ToJobNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskDbtTask) *JobTaskDbtTask { +func (o JobNewClusterInitScriptDbfsOutput) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptDbfs) *JobNewClusterInitScriptDbfs { return &v - }).(JobTaskDbtTaskPtrOutput) + }).(JobNewClusterInitScriptDbfsPtrOutput) } -// The name of the catalog to use inside Unity Catalog. -func (o JobTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". -func (o JobTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +type JobNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptDbfs)(nil)).Elem() } -// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. -func (o JobTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptDbfsPtrOutput) ToJobNewClusterInitScriptDbfsPtrOutput() JobNewClusterInitScriptDbfsPtrOutput { + return o } -// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. -// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. -// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. -func (o JobTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptDbfsPtrOutput) ToJobNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptDbfsPtrOutput { + return o } -// The name of the schema dbt should run in. Defaults to `default`. -func (o JobTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptDbfsPtrOutput) Elem() JobNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptDbfs) JobNewClusterInitScriptDbfs { + if v != nil { + return *v + } + var ret JobNewClusterInitScriptDbfs + return ret + }).(JobNewClusterInitScriptDbfsOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. -func (o JobTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// The ID of the SQL warehouse that dbt should execute against. +type JobNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` +} + +// JobNewClusterInitScriptFileInput is an input type that accepts JobNewClusterInitScriptFileArgs and JobNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptFileInput` via: // -// You also need to include a `gitSource` block to configure the repository that contains the dbt project. -func (o JobTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +// JobNewClusterInitScriptFileArgs{...} +type JobNewClusterInitScriptFileInput interface { + pulumi.Input + + ToJobNewClusterInitScriptFileOutput() JobNewClusterInitScriptFileOutput + ToJobNewClusterInitScriptFileOutputWithContext(context.Context) JobNewClusterInitScriptFileOutput } -type JobTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} -func (JobTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskDbtTask)(nil)).Elem() +func (JobNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptFile)(nil)).Elem() } -func (o JobTaskDbtTaskPtrOutput) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { - return o +func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFileOutput() JobNewClusterInitScriptFileOutput { + return i.ToJobNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (o JobTaskDbtTaskPtrOutput) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { - return o +func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptFileOutput) } -func (o JobTaskDbtTaskPtrOutput) Elem() JobTaskDbtTaskOutput { - return o.ApplyT(func(v *JobTaskDbtTask) JobTaskDbtTask { - if v != nil { - return *v - } - var ret JobTaskDbtTask - return ret - }).(JobTaskDbtTaskOutput) +func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { + return i.ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -// The name of the catalog to use inside Unity Catalog. -func (o JobTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Catalog - }).(pulumi.StringPtrOutput) +func (i JobNewClusterInitScriptFileArgs) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptFileOutput).ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". -func (o JobTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskDbtTask) []string { - if v == nil { - return nil - } - return v.Commands - }).(pulumi.StringArrayOutput) +// JobNewClusterInitScriptFilePtrInput is an input type that accepts JobNewClusterInitScriptFileArgs, JobNewClusterInitScriptFilePtr and JobNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptFilePtrInput` via: +// +// JobNewClusterInitScriptFileArgs{...} +// +// or: +// +// nil +type JobNewClusterInitScriptFilePtrInput interface { + pulumi.Input + + ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput + ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobNewClusterInitScriptFilePtrOutput } -// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. -func (o JobTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type jobNewClusterInitScriptFilePtrType JobNewClusterInitScriptFileArgs + +func JobNewClusterInitScriptFilePtr(v *JobNewClusterInitScriptFileArgs) JobNewClusterInitScriptFilePtrInput { + return (*jobNewClusterInitScriptFilePtrType)(v) +} + +func (*jobNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptFile)(nil)).Elem() +} + +func (i *jobNewClusterInitScriptFilePtrType) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { + return i.ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (i *jobNewClusterInitScriptFilePtrType) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptFilePtrOutput) +} + +type JobNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptFile)(nil)).Elem() +} + +func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFileOutput() JobNewClusterInitScriptFileOutput { + return o +} + +func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobNewClusterInitScriptFileOutput { + return o +} + +func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { + return o.ToJobNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (o JobNewClusterInitScriptFileOutput) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptFile) *JobNewClusterInitScriptFile { + return &v + }).(JobNewClusterInitScriptFilePtrOutput) +} + +func (o JobNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. -// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. -// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. -func (o JobTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +type JobNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptFile)(nil)).Elem() } -// The name of the schema dbt should run in. Defaults to `default`. -func (o JobTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptFilePtrOutput) ToJobNewClusterInitScriptFilePtrOutput() JobNewClusterInitScriptFilePtrOutput { + return o } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. -func (o JobTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskDbtTask) *string { - if v == nil { - return nil +func (o JobNewClusterInitScriptFilePtrOutput) ToJobNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptFilePtrOutput { + return o +} + +func (o JobNewClusterInitScriptFilePtrOutput) Elem() JobNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptFile) JobNewClusterInitScriptFile { + if v != nil { + return *v } - return v.Source - }).(pulumi.StringPtrOutput) + var ret JobNewClusterInitScriptFile + return ret + }).(JobNewClusterInitScriptFileOutput) } -// The ID of the SQL warehouse that dbt should execute against. -// -// You also need to include a `gitSource` block to configure the repository that contains the dbt project. -func (o JobTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskDbtTask) *string { +func (o JobNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptFile) *string { if v == nil { return nil } - return v.WarehouseId + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobTaskDependsOn struct { - // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - // - // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. - Outcome *string `pulumi:"outcome"` - // The name of the task this task depends on. - TaskKey string `pulumi:"taskKey"` +type JobNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// JobTaskDependsOnInput is an input type that accepts JobTaskDependsOnArgs and JobTaskDependsOnOutput values. -// You can construct a concrete instance of `JobTaskDependsOnInput` via: +// JobNewClusterInitScriptGcsInput is an input type that accepts JobNewClusterInitScriptGcsArgs and JobNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptGcsInput` via: // -// JobTaskDependsOnArgs{...} -type JobTaskDependsOnInput interface { +// JobNewClusterInitScriptGcsArgs{...} +type JobNewClusterInitScriptGcsInput interface { pulumi.Input - ToJobTaskDependsOnOutput() JobTaskDependsOnOutput - ToJobTaskDependsOnOutputWithContext(context.Context) JobTaskDependsOnOutput + ToJobNewClusterInitScriptGcsOutput() JobNewClusterInitScriptGcsOutput + ToJobNewClusterInitScriptGcsOutputWithContext(context.Context) JobNewClusterInitScriptGcsOutput } -type JobTaskDependsOnArgs struct { - // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - // - // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - // The name of the task this task depends on. - TaskKey pulumi.StringInput `pulumi:"taskKey"` +type JobNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskDependsOn)(nil)).Elem() +func (JobNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptGcs)(nil)).Elem() } -func (i JobTaskDependsOnArgs) ToJobTaskDependsOnOutput() JobTaskDependsOnOutput { - return i.ToJobTaskDependsOnOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsOutput() JobNewClusterInitScriptGcsOutput { + return i.ToJobNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i JobTaskDependsOnArgs) ToJobTaskDependsOnOutputWithContext(ctx context.Context) JobTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskDependsOnOutput) +func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptGcsOutput) } -// JobTaskDependsOnArrayInput is an input type that accepts JobTaskDependsOnArray and JobTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `JobTaskDependsOnArrayInput` via: +func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { + return i.ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (i JobNewClusterInitScriptGcsArgs) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptGcsOutput).ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx) +} + +// JobNewClusterInitScriptGcsPtrInput is an input type that accepts JobNewClusterInitScriptGcsArgs, JobNewClusterInitScriptGcsPtr and JobNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptGcsPtrInput` via: // -// JobTaskDependsOnArray{ JobTaskDependsOnArgs{...} } -type JobTaskDependsOnArrayInput interface { +// JobNewClusterInitScriptGcsArgs{...} +// +// or: +// +// nil +type JobNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToJobTaskDependsOnArrayOutput() JobTaskDependsOnArrayOutput - ToJobTaskDependsOnArrayOutputWithContext(context.Context) JobTaskDependsOnArrayOutput + ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput + ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobNewClusterInitScriptGcsPtrOutput } -type JobTaskDependsOnArray []JobTaskDependsOnInput +type jobNewClusterInitScriptGcsPtrType JobNewClusterInitScriptGcsArgs -func (JobTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskDependsOn)(nil)).Elem() +func JobNewClusterInitScriptGcsPtr(v *JobNewClusterInitScriptGcsArgs) JobNewClusterInitScriptGcsPtrInput { + return (*jobNewClusterInitScriptGcsPtrType)(v) } -func (i JobTaskDependsOnArray) ToJobTaskDependsOnArrayOutput() JobTaskDependsOnArrayOutput { - return i.ToJobTaskDependsOnArrayOutputWithContext(context.Background()) +func (*jobNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptGcs)(nil)).Elem() } -func (i JobTaskDependsOnArray) ToJobTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskDependsOnArrayOutput) +func (i *jobNewClusterInitScriptGcsPtrType) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { + return i.ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -type JobTaskDependsOnOutput struct{ *pulumi.OutputState } +func (i *jobNewClusterInitScriptGcsPtrType) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptGcsPtrOutput) +} -func (JobTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskDependsOn)(nil)).Elem() +type JobNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobTaskDependsOnOutput) ToJobTaskDependsOnOutput() JobTaskDependsOnOutput { +func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsOutput() JobNewClusterInitScriptGcsOutput { return o } -func (o JobTaskDependsOnOutput) ToJobTaskDependsOnOutputWithContext(ctx context.Context) JobTaskDependsOnOutput { +func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsOutput { return o } -// Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. -// -// > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. -func (o JobTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { + return o.ToJobNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -// The name of the task this task depends on. -func (o JobTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o JobNewClusterInitScriptGcsOutput) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptGcs) *JobNewClusterInitScriptGcs { + return &v + }).(JobNewClusterInitScriptGcsPtrOutput) } -type JobTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +func (o JobNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +} -func (JobTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskDependsOn)(nil)).Elem() +type JobNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobTaskDependsOnArrayOutput) ToJobTaskDependsOnArrayOutput() JobTaskDependsOnArrayOutput { +func (o JobNewClusterInitScriptGcsPtrOutput) ToJobNewClusterInitScriptGcsPtrOutput() JobNewClusterInitScriptGcsPtrOutput { return o } -func (o JobTaskDependsOnArrayOutput) ToJobTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskDependsOnArrayOutput { +func (o JobNewClusterInitScriptGcsPtrOutput) ToJobNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptGcsPtrOutput { return o } -func (o JobTaskDependsOnArrayOutput) Index(i pulumi.IntInput) JobTaskDependsOnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskDependsOn { - return vs[0].([]JobTaskDependsOn)[vs[1].(int)] - }).(JobTaskDependsOnOutput) +func (o JobNewClusterInitScriptGcsPtrOutput) Elem() JobNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptGcs) JobNewClusterInitScriptGcs { + if v != nil { + return *v + } + var ret JobNewClusterInitScriptGcs + return ret + }).(JobNewClusterInitScriptGcsOutput) } -type JobTaskEmailNotifications struct { - // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // The following parameter is only available for the job level configuration. - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of emails to notify when the run fails. - OnFailures []string `pulumi:"onFailures"` - // (List) list of emails to notify when the run starts. - OnStarts []string `pulumi:"onStarts"` - OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` - // (List) list of emails to notify when the run completes successfully. - OnSuccesses []string `pulumi:"onSuccesses"` +func (o JobNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptGcs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskEmailNotificationsInput is an input type that accepts JobTaskEmailNotificationsArgs and JobTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `JobTaskEmailNotificationsInput` via: +type JobNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` +} + +// JobNewClusterInitScriptS3Input is an input type that accepts JobNewClusterInitScriptS3Args and JobNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `JobNewClusterInitScriptS3Input` via: // -// JobTaskEmailNotificationsArgs{...} -type JobTaskEmailNotificationsInput interface { +// JobNewClusterInitScriptS3Args{...} +type JobNewClusterInitScriptS3Input interface { pulumi.Input - ToJobTaskEmailNotificationsOutput() JobTaskEmailNotificationsOutput - ToJobTaskEmailNotificationsOutputWithContext(context.Context) JobTaskEmailNotificationsOutput + ToJobNewClusterInitScriptS3Output() JobNewClusterInitScriptS3Output + ToJobNewClusterInitScriptS3OutputWithContext(context.Context) JobNewClusterInitScriptS3Output } -type JobTaskEmailNotificationsArgs struct { - // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // The following parameter is only available for the job level configuration. - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of emails to notify when the run fails. - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - // (List) list of emails to notify when the run starts. - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` - // (List) list of emails to notify when the run completes successfully. - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type JobNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskEmailNotifications)(nil)).Elem() +func (JobNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptS3)(nil)).Elem() } -func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsOutput() JobTaskEmailNotificationsOutput { - return i.ToJobTaskEmailNotificationsOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3Output() JobNewClusterInitScriptS3Output { + return i.ToJobNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskEmailNotificationsOutput) +func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptS3Output) } -func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { - return i.ToJobTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { + return i.ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskEmailNotificationsOutput).ToJobTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i JobNewClusterInitScriptS3Args) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptS3Output).ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// JobTaskEmailNotificationsPtrInput is an input type that accepts JobTaskEmailNotificationsArgs, JobTaskEmailNotificationsPtr and JobTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `JobTaskEmailNotificationsPtrInput` via: +// JobNewClusterInitScriptS3PtrInput is an input type that accepts JobNewClusterInitScriptS3Args, JobNewClusterInitScriptS3Ptr and JobNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptS3PtrInput` via: // -// JobTaskEmailNotificationsArgs{...} +// JobNewClusterInitScriptS3Args{...} // // or: // // nil -type JobTaskEmailNotificationsPtrInput interface { +type JobNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput - ToJobTaskEmailNotificationsPtrOutputWithContext(context.Context) JobTaskEmailNotificationsPtrOutput + ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput + ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobNewClusterInitScriptS3PtrOutput } -type jobTaskEmailNotificationsPtrType JobTaskEmailNotificationsArgs +type jobNewClusterInitScriptS3PtrType JobNewClusterInitScriptS3Args -func JobTaskEmailNotificationsPtr(v *JobTaskEmailNotificationsArgs) JobTaskEmailNotificationsPtrInput { - return (*jobTaskEmailNotificationsPtrType)(v) +func JobNewClusterInitScriptS3Ptr(v *JobNewClusterInitScriptS3Args) JobNewClusterInitScriptS3PtrInput { + return (*jobNewClusterInitScriptS3PtrType)(v) } -func (*jobTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskEmailNotifications)(nil)).Elem() +func (*jobNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptS3)(nil)).Elem() } -func (i *jobTaskEmailNotificationsPtrType) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { - return i.ToJobTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *jobNewClusterInitScriptS3PtrType) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { + return i.ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *jobTaskEmailNotificationsPtrType) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskEmailNotificationsPtrOutput) +func (i *jobNewClusterInitScriptS3PtrType) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptS3PtrOutput) } -type JobTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (JobTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskEmailNotifications)(nil)).Elem() +func (JobNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsOutput() JobTaskEmailNotificationsOutput { +func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3Output() JobNewClusterInitScriptS3Output { return o } -func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskEmailNotificationsOutput { +func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobNewClusterInitScriptS3Output { return o } -func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { - return o.ToJobTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { + return o.ToJobNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskEmailNotifications) *JobTaskEmailNotifications { +func (o JobNewClusterInitScriptS3Output) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptS3) *JobNewClusterInitScriptS3 { return &v - }).(JobTaskEmailNotificationsPtrOutput) + }).(JobNewClusterInitScriptS3PtrOutput) } -// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). -func (o JobTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o JobNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// The following parameter is only available for the job level configuration. -func (o JobTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnDurationWarningThresholdExceededs }).(pulumi.StringArrayOutput) +func (o JobNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -// (List) list of emails to notify when the run fails. -func (o JobTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +func (o JobNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -// (List) list of emails to notify when the run starts. -func (o JobTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (o JobNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o JobTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) +func (o JobNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the run completes successfully. -func (o JobTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o JobNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -type JobTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +func (o JobNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} -func (JobTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskEmailNotifications)(nil)).Elem() +type JobNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskEmailNotificationsPtrOutput) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { +func (o JobNewClusterInitScriptS3PtrOutput) ToJobNewClusterInitScriptS3PtrOutput() JobNewClusterInitScriptS3PtrOutput { return o } -func (o JobTaskEmailNotificationsPtrOutput) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { +func (o JobNewClusterInitScriptS3PtrOutput) ToJobNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptS3PtrOutput { return o } -func (o JobTaskEmailNotificationsPtrOutput) Elem() JobTaskEmailNotificationsOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) JobTaskEmailNotifications { +func (o JobNewClusterInitScriptS3PtrOutput) Elem() JobNewClusterInitScriptS3Output { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) JobNewClusterInitScriptS3 { if v != nil { return *v } - var ret JobTaskEmailNotifications + var ret JobNewClusterInitScriptS3 return ret - }).(JobTaskEmailNotificationsOutput) + }).(JobNewClusterInitScriptS3Output) } -// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). -func (o JobTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) *bool { +func (o JobNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// The following parameter is only available for the job level configuration. -func (o JobTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) []string { +func (o JobNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the run fails. -func (o JobTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) []string { +func (o JobNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *bool { if v == nil { return nil } - return v.OnFailures - }).(pulumi.StringArrayOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// (List) list of emails to notify when the run starts. -func (o JobTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) []string { +func (o JobNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.OnStarts - }).(pulumi.StringArrayOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o JobTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) []string { +func (o JobNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// (List) list of emails to notify when the run completes successfully. -func (o JobTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskEmailNotifications) []string { +func (o JobNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTask struct { - // Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. - Concurrency *int `pulumi:"concurrency"` - // (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. - Inputs string `pulumi:"inputs"` - // Task to run against the `inputs` list. - Task JobTaskForEachTaskTask `pulumi:"task"` +func (o JobNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskInput is an input type that accepts JobTaskForEachTaskArgs and JobTaskForEachTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskInput` via: +type JobNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// JobNewClusterInitScriptVolumesInput is an input type that accepts JobNewClusterInitScriptVolumesArgs and JobNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptVolumesInput` via: // -// JobTaskForEachTaskArgs{...} -type JobTaskForEachTaskInput interface { +// JobNewClusterInitScriptVolumesArgs{...} +type JobNewClusterInitScriptVolumesInput interface { pulumi.Input - ToJobTaskForEachTaskOutput() JobTaskForEachTaskOutput - ToJobTaskForEachTaskOutputWithContext(context.Context) JobTaskForEachTaskOutput + ToJobNewClusterInitScriptVolumesOutput() JobNewClusterInitScriptVolumesOutput + ToJobNewClusterInitScriptVolumesOutputWithContext(context.Context) JobNewClusterInitScriptVolumesOutput } -type JobTaskForEachTaskArgs struct { - // Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. - Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` - // (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. - Inputs pulumi.StringInput `pulumi:"inputs"` - // Task to run against the `inputs` list. - Task JobTaskForEachTaskTaskInput `pulumi:"task"` +type JobNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTask)(nil)).Elem() +func (JobNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptVolumes)(nil)).Elem() } -func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskOutput() JobTaskForEachTaskOutput { - return i.ToJobTaskForEachTaskOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesOutput() JobNewClusterInitScriptVolumesOutput { + return i.ToJobNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskOutput) +func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptVolumesOutput) } -func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { - return i.ToJobTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { + return i.ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskOutput).ToJobTaskForEachTaskPtrOutputWithContext(ctx) +func (i JobNewClusterInitScriptVolumesArgs) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptVolumesOutput).ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// JobTaskForEachTaskPtrInput is an input type that accepts JobTaskForEachTaskArgs, JobTaskForEachTaskPtr and JobTaskForEachTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskPtrInput` via: +// JobNewClusterInitScriptVolumesPtrInput is an input type that accepts JobNewClusterInitScriptVolumesArgs, JobNewClusterInitScriptVolumesPtr and JobNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptVolumesPtrInput` via: // -// JobTaskForEachTaskArgs{...} +// JobNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type JobTaskForEachTaskPtrInput interface { +type JobNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput - ToJobTaskForEachTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskPtrOutput + ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput + ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobNewClusterInitScriptVolumesPtrOutput } -type jobTaskForEachTaskPtrType JobTaskForEachTaskArgs +type jobNewClusterInitScriptVolumesPtrType JobNewClusterInitScriptVolumesArgs -func JobTaskForEachTaskPtr(v *JobTaskForEachTaskArgs) JobTaskForEachTaskPtrInput { - return (*jobTaskForEachTaskPtrType)(v) +func JobNewClusterInitScriptVolumesPtr(v *JobNewClusterInitScriptVolumesArgs) JobNewClusterInitScriptVolumesPtrInput { + return (*jobNewClusterInitScriptVolumesPtrType)(v) } -func (*jobTaskForEachTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTask)(nil)).Elem() +func (*jobNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *jobTaskForEachTaskPtrType) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { - return i.ToJobTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterInitScriptVolumesPtrType) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { + return i.ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskPtrType) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskPtrOutput) +func (i *jobNewClusterInitScriptVolumesPtrType) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptVolumesPtrOutput) } -type JobTaskForEachTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTask)(nil)).Elem() +func (JobNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptVolumes)(nil)).Elem() } -func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskOutput() JobTaskForEachTaskOutput { +func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesOutput() JobNewClusterInitScriptVolumesOutput { return o } -func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskOutput { +func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesOutput { return o } -func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { - return o.ToJobTaskForEachTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { + return o.ToJobNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTask) *JobTaskForEachTask { +func (o JobNewClusterInitScriptVolumesOutput) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptVolumes) *JobNewClusterInitScriptVolumes { return &v - }).(JobTaskForEachTaskPtrOutput) -} - -// Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. -func (o JobTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) -} - -// (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. -func (o JobTaskForEachTaskOutput) Inputs() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) + }).(JobNewClusterInitScriptVolumesPtrOutput) } -// Task to run against the `inputs` list. -func (o JobTaskForEachTaskOutput) Task() JobTaskForEachTaskTaskOutput { - return o.ApplyT(func(v JobTaskForEachTask) JobTaskForEachTaskTask { return v.Task }).(JobTaskForEachTaskTaskOutput) +func (o JobNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTask)(nil)).Elem() +func (JobNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptVolumes)(nil)).Elem() } -func (o JobTaskForEachTaskPtrOutput) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { +func (o JobNewClusterInitScriptVolumesPtrOutput) ToJobNewClusterInitScriptVolumesPtrOutput() JobNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobTaskForEachTaskPtrOutput) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { +func (o JobNewClusterInitScriptVolumesPtrOutput) ToJobNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobTaskForEachTaskPtrOutput) Elem() JobTaskForEachTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTask) JobTaskForEachTask { +func (o JobNewClusterInitScriptVolumesPtrOutput) Elem() JobNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptVolumes) JobNewClusterInitScriptVolumes { if v != nil { return *v } - var ret JobTaskForEachTask + var ret JobNewClusterInitScriptVolumes return ret - }).(JobTaskForEachTaskOutput) -} - -// Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. -func (o JobTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTask) *int { - if v == nil { - return nil - } - return v.Concurrency - }).(pulumi.IntPtrOutput) + }).(JobNewClusterInitScriptVolumesOutput) } -// (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. -func (o JobTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTask) *string { +func (o JobNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return &v.Inputs + return &v.Destination }).(pulumi.StringPtrOutput) } -// Task to run against the `inputs` list. -func (o JobTaskForEachTaskPtrOutput) Task() JobTaskForEachTaskTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTask) *JobTaskForEachTaskTask { - if v == nil { - return nil - } - return &v.Task - }).(JobTaskForEachTaskTaskPtrOutput) -} - -type JobTaskForEachTaskTask struct { - ConditionTask *JobTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` - DbtTask *JobTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` - // block specifying dependency(-ies) for a given task. - DependsOns []JobTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` - // description for this task. - Description *string `pulumi:"description"` - // A flag to disable auto optimization in serverless tasks. - DisableAutoOptimization *bool `pulumi:"disableAutoOptimization"` - // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - EmailNotifications *JobTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` - // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. - EnvironmentKey *string `pulumi:"environmentKey"` - // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - ExistingClusterId *string `pulumi:"existingClusterId"` - // block described below that specifies health conditions for a given task. - Health *JobTaskForEachTaskTaskHealth `pulumi:"health"` - // Identifier of the Job cluster specified in the `jobCluster` block. - JobClusterKey *string `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. - Libraries []JobTaskForEachTaskTaskLibrary `pulumi:"libraries"` - // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - MaxRetries *int `pulumi:"maxRetries"` - // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* - NewCluster *JobTaskForEachTaskTaskNewCluster `pulumi:"newCluster"` - NotebookTask *JobTaskForEachTaskTaskNotebookTask `pulumi:"notebookTask"` - // An optional block controlling the notification settings on the job level documented below. - NotificationSettings *JobTaskForEachTaskTaskNotificationSettings `pulumi:"notificationSettings"` - PipelineTask *JobTaskForEachTaskTaskPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *JobTaskForEachTaskTaskPythonWheelTask `pulumi:"pythonWheelTask"` - // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - RetryOnTimeout *bool `pulumi:"retryOnTimeout"` - // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - RunIf *string `pulumi:"runIf"` - RunJobTask *JobTaskForEachTaskTaskRunJobTask `pulumi:"runJobTask"` - SparkJarTask *JobTaskForEachTaskTaskSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *JobTaskForEachTaskTaskSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *JobTaskForEachTaskTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` - SqlTask *JobTaskForEachTaskTaskSqlTask `pulumi:"sqlTask"` - // string specifying an unique key for a given task. - // * `*_task` - (Required) one of the specific task blocks described below: - TaskKey string `pulumi:"taskKey"` - // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - // - // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. - WebhookNotifications *JobTaskForEachTaskTaskWebhookNotifications `pulumi:"webhookNotifications"` +type JobNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// JobTaskForEachTaskTaskInput is an input type that accepts JobTaskForEachTaskTaskArgs and JobTaskForEachTaskTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskInput` via: +// JobNewClusterInitScriptWorkspaceInput is an input type that accepts JobNewClusterInitScriptWorkspaceArgs and JobNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptWorkspaceInput` via: // -// JobTaskForEachTaskTaskArgs{...} -type JobTaskForEachTaskTaskInput interface { +// JobNewClusterInitScriptWorkspaceArgs{...} +type JobNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToJobTaskForEachTaskTaskOutput() JobTaskForEachTaskTaskOutput - ToJobTaskForEachTaskTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskOutput + ToJobNewClusterInitScriptWorkspaceOutput() JobNewClusterInitScriptWorkspaceOutput + ToJobNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobNewClusterInitScriptWorkspaceOutput } -type JobTaskForEachTaskTaskArgs struct { - ConditionTask JobTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask JobTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` - // block specifying dependency(-ies) for a given task. - DependsOns JobTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` - // description for this task. - Description pulumi.StringPtrInput `pulumi:"description"` - // A flag to disable auto optimization in serverless tasks. - DisableAutoOptimization pulumi.BoolPtrInput `pulumi:"disableAutoOptimization"` - // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - EmailNotifications JobTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. - EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` - // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - // block described below that specifies health conditions for a given task. - Health JobTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` - // Identifier of the Job cluster specified in the `jobCluster` block. - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - // (Set) An optional list of libraries to be installed on the cluster that will execute the job. - Libraries JobTaskForEachTaskTaskLibraryArrayInput `pulumi:"libraries"` - // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* - NewCluster JobTaskForEachTaskTaskNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask JobTaskForEachTaskTaskNotebookTaskPtrInput `pulumi:"notebookTask"` - // An optional block controlling the notification settings on the job level documented below. - NotificationSettings JobTaskForEachTaskTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` - PipelineTask JobTaskForEachTaskTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask JobTaskForEachTaskTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` - // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - RunIf pulumi.StringPtrInput `pulumi:"runIf"` - RunJobTask JobTaskForEachTaskTaskRunJobTaskPtrInput `pulumi:"runJobTask"` - SparkJarTask JobTaskForEachTaskTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask JobTaskForEachTaskTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask JobTaskForEachTaskTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - SqlTask JobTaskForEachTaskTaskSqlTaskPtrInput `pulumi:"sqlTask"` - // string specifying an unique key for a given task. - // * `*_task` - (Required) one of the specific task blocks described below: - TaskKey pulumi.StringInput `pulumi:"taskKey"` - // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - // - // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. - WebhookNotifications JobTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type JobNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTask)(nil)).Elem() +func (JobNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskOutput() JobTaskForEachTaskTaskOutput { - return i.ToJobTaskForEachTaskTaskOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspaceOutput() JobNewClusterInitScriptWorkspaceOutput { + return i.ToJobNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskOutput) +func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptWorkspaceOutput) } -func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskOutput).ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx) +func (i JobNewClusterInitScriptWorkspaceArgs) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptWorkspaceOutput).ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskArgs, JobTaskForEachTaskTaskPtr and JobTaskForEachTaskTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskPtrInput` via: +// JobNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobNewClusterInitScriptWorkspaceArgs, JobNewClusterInitScriptWorkspacePtr and JobNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `JobNewClusterInitScriptWorkspacePtrInput` via: // -// JobTaskForEachTaskTaskArgs{...} +// JobNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskPtrInput interface { +type JobNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput - ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskPtrOutput + ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput + ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobNewClusterInitScriptWorkspacePtrOutput } -type jobTaskForEachTaskTaskPtrType JobTaskForEachTaskTaskArgs +type jobNewClusterInitScriptWorkspacePtrType JobNewClusterInitScriptWorkspaceArgs -func JobTaskForEachTaskTaskPtr(v *JobTaskForEachTaskTaskArgs) JobTaskForEachTaskTaskPtrInput { - return (*jobTaskForEachTaskTaskPtrType)(v) +func JobNewClusterInitScriptWorkspacePtr(v *JobNewClusterInitScriptWorkspaceArgs) JobNewClusterInitScriptWorkspacePtrInput { + return (*jobNewClusterInitScriptWorkspacePtrType)(v) } -func (*jobTaskForEachTaskTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTask)(nil)).Elem() +func (*jobNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskPtrType) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterInitScriptWorkspacePtrType) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskPtrType) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPtrOutput) +func (i *jobNewClusterInitScriptWorkspacePtrType) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterInitScriptWorkspacePtrOutput) } -type JobTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTask)(nil)).Elem() +func (JobNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskOutput() JobTaskForEachTaskTaskOutput { +func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspaceOutput() JobNewClusterInitScriptWorkspaceOutput { return o } -func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskOutput { +func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspaceOutput { return o } -func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { + return o.ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTask) *JobTaskForEachTaskTask { +func (o JobNewClusterInitScriptWorkspaceOutput) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterInitScriptWorkspace) *JobNewClusterInitScriptWorkspace { return &v - }).(JobTaskForEachTaskTaskPtrOutput) + }).(JobNewClusterInitScriptWorkspacePtrOutput) } -func (o JobTaskForEachTaskTaskOutput) ConditionTask() JobTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskConditionTask { return v.ConditionTask }).(JobTaskForEachTaskTaskConditionTaskPtrOutput) +func (o JobNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskOutput) DbtTask() JobTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskDbtTask { return v.DbtTask }).(JobTaskForEachTaskTaskDbtTaskPtrOutput) -} +type JobNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -// block specifying dependency(-ies) for a given task. -func (o JobTaskForEachTaskTaskOutput) DependsOns() JobTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) []JobTaskForEachTaskTaskDependsOn { return v.DependsOns }).(JobTaskForEachTaskTaskDependsOnArrayOutput) +func (JobNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterInitScriptWorkspace)(nil)).Elem() } -// description for this task. -func (o JobTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptWorkspacePtrOutput) ToJobNewClusterInitScriptWorkspacePtrOutput() JobNewClusterInitScriptWorkspacePtrOutput { + return o } -// A flag to disable auto optimization in serverless tasks. -func (o JobTaskForEachTaskTaskOutput) DisableAutoOptimization() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *bool { return v.DisableAutoOptimization }).(pulumi.BoolPtrOutput) +func (o JobNewClusterInitScriptWorkspacePtrOutput) ToJobNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobNewClusterInitScriptWorkspacePtrOutput { + return o } -// An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. -func (o JobTaskForEachTaskTaskOutput) EmailNotifications() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskEmailNotifications { return v.EmailNotifications }).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (o JobNewClusterInitScriptWorkspacePtrOutput) Elem() JobNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptWorkspace) JobNewClusterInitScriptWorkspace { + if v != nil { + return *v + } + var ret JobNewClusterInitScriptWorkspace + return ret + }).(JobNewClusterInitScriptWorkspaceOutput) } -// identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. -func (o JobTaskForEachTaskTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) +func (o JobNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* -func (o JobTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +type JobNewClusterLibrary struct { + Cran *JobNewClusterLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobNewClusterLibraryMaven `pulumi:"maven"` + Pypi *JobNewClusterLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// block described below that specifies health conditions for a given task. -func (o JobTaskForEachTaskTaskOutput) Health() JobTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskHealth { return v.Health }).(JobTaskForEachTaskTaskHealthPtrOutput) -} +// JobNewClusterLibraryInput is an input type that accepts JobNewClusterLibraryArgs and JobNewClusterLibraryOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryInput` via: +// +// JobNewClusterLibraryArgs{...} +type JobNewClusterLibraryInput interface { + pulumi.Input -// Identifier of the Job cluster specified in the `jobCluster` block. -func (o JobTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) + ToJobNewClusterLibraryOutput() JobNewClusterLibraryOutput + ToJobNewClusterLibraryOutputWithContext(context.Context) JobNewClusterLibraryOutput } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. -func (o JobTaskForEachTaskTaskOutput) Libraries() JobTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) []JobTaskForEachTaskTaskLibrary { return v.Libraries }).(JobTaskForEachTaskTaskLibraryArrayOutput) +type JobNewClusterLibraryArgs struct { + Cran JobNewClusterLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobNewClusterLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobNewClusterLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -// (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. -func (o JobTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (JobNewClusterLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibrary)(nil)).Elem() } -// (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. -func (o JobTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (i JobNewClusterLibraryArgs) ToJobNewClusterLibraryOutput() JobNewClusterLibraryOutput { + return i.ToJobNewClusterLibraryOutputWithContext(context.Background()) } -// Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* -func (o JobTaskForEachTaskTaskOutput) NewCluster() JobTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNewCluster { return v.NewCluster }).(JobTaskForEachTaskTaskNewClusterPtrOutput) +func (i JobNewClusterLibraryArgs) ToJobNewClusterLibraryOutputWithContext(ctx context.Context) JobNewClusterLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryOutput) } -func (o JobTaskForEachTaskTaskOutput) NotebookTask() JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotebookTask { return v.NotebookTask }).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) +// JobNewClusterLibraryArrayInput is an input type that accepts JobNewClusterLibraryArray and JobNewClusterLibraryArrayOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryArrayInput` via: +// +// JobNewClusterLibraryArray{ JobNewClusterLibraryArgs{...} } +type JobNewClusterLibraryArrayInput interface { + pulumi.Input + + ToJobNewClusterLibraryArrayOutput() JobNewClusterLibraryArrayOutput + ToJobNewClusterLibraryArrayOutputWithContext(context.Context) JobNewClusterLibraryArrayOutput } -// An optional block controlling the notification settings on the job level documented below. -func (o JobTaskForEachTaskTaskOutput) NotificationSettings() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotificationSettings { - return v.NotificationSettings - }).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) +type JobNewClusterLibraryArray []JobNewClusterLibraryInput + +func (JobNewClusterLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobNewClusterLibrary)(nil)).Elem() } -func (o JobTaskForEachTaskTaskOutput) PipelineTask() JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPipelineTask { return v.PipelineTask }).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i JobNewClusterLibraryArray) ToJobNewClusterLibraryArrayOutput() JobNewClusterLibraryArrayOutput { + return i.ToJobNewClusterLibraryArrayOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskOutput) PythonWheelTask() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPythonWheelTask { return v.PythonWheelTask }).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i JobNewClusterLibraryArray) ToJobNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobNewClusterLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryArrayOutput) } -// (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. -func (o JobTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) +type JobNewClusterLibraryOutput struct{ *pulumi.OutputState } + +func (JobNewClusterLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibrary)(nil)).Elem() } -// An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. -func (o JobTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +func (o JobNewClusterLibraryOutput) ToJobNewClusterLibraryOutput() JobNewClusterLibraryOutput { + return o } -func (o JobTaskForEachTaskTaskOutput) RunJobTask() JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskRunJobTask { return v.RunJobTask }).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) +func (o JobNewClusterLibraryOutput) ToJobNewClusterLibraryOutputWithContext(ctx context.Context) JobNewClusterLibraryOutput { + return o } -func (o JobTaskForEachTaskTaskOutput) SparkJarTask() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkJarTask { return v.SparkJarTask }).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (o JobNewClusterLibraryOutput) Cran() JobNewClusterLibraryCranPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *JobNewClusterLibraryCran { return v.Cran }).(JobNewClusterLibraryCranPtrOutput) } -func (o JobTaskForEachTaskTaskOutput) SparkPythonTask() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkPythonTask { return v.SparkPythonTask }).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (o JobNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskOutput) SparkSubmitTask() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkSubmitTask { return v.SparkSubmitTask }).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (o JobNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskOutput) SqlTask() JobTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSqlTask { return v.SqlTask }).(JobTaskForEachTaskTaskSqlTaskPtrOutput) +func (o JobNewClusterLibraryOutput) Maven() JobNewClusterLibraryMavenPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *JobNewClusterLibraryMaven { return v.Maven }).(JobNewClusterLibraryMavenPtrOutput) } -// string specifying an unique key for a given task. -// * `*_task` - (Required) one of the specific task blocks described below: -func (o JobTaskForEachTaskTaskOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) string { return v.TaskKey }).(pulumi.StringOutput) +func (o JobNewClusterLibraryOutput) Pypi() JobNewClusterLibraryPypiPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *JobNewClusterLibraryPypi { return v.Pypi }).(JobNewClusterLibraryPypiPtrOutput) } -// (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. -func (o JobTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o JobNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -// (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. -// -// > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. -func (o JobTaskForEachTaskTaskOutput) WebhookNotifications() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskWebhookNotifications { - return v.WebhookNotifications - }).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (o JobNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTask)(nil)).Elem() +func (JobNewClusterLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobNewClusterLibrary)(nil)).Elem() } -func (o JobTaskForEachTaskTaskPtrOutput) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { +func (o JobNewClusterLibraryArrayOutput) ToJobNewClusterLibraryArrayOutput() JobNewClusterLibraryArrayOutput { return o } -func (o JobTaskForEachTaskTaskPtrOutput) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { +func (o JobNewClusterLibraryArrayOutput) ToJobNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobNewClusterLibraryArrayOutput { return o } -func (o JobTaskForEachTaskTaskPtrOutput) Elem() JobTaskForEachTaskTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) JobTaskForEachTaskTask { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTask - return ret - }).(JobTaskForEachTaskTaskOutput) -} - -func (o JobTaskForEachTaskTaskPtrOutput) ConditionTask() JobTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskConditionTask { - if v == nil { - return nil - } - return v.ConditionTask - }).(JobTaskForEachTaskTaskConditionTaskPtrOutput) +func (o JobNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobNewClusterLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNewClusterLibrary { + return vs[0].([]JobNewClusterLibrary)[vs[1].(int)] + }).(JobNewClusterLibraryOutput) } -func (o JobTaskForEachTaskTaskPtrOutput) DbtTask() JobTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskDbtTask { - if v == nil { - return nil - } - return v.DbtTask - }).(JobTaskForEachTaskTaskDbtTaskPtrOutput) +type JobNewClusterLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// block specifying dependency(-ies) for a given task. -func (o JobTaskForEachTaskTaskPtrOutput) DependsOns() JobTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) []JobTaskForEachTaskTaskDependsOn { - if v == nil { - return nil - } - return v.DependsOns - }).(JobTaskForEachTaskTaskDependsOnArrayOutput) -} +// JobNewClusterLibraryCranInput is an input type that accepts JobNewClusterLibraryCranArgs and JobNewClusterLibraryCranOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryCranInput` via: +// +// JobNewClusterLibraryCranArgs{...} +type JobNewClusterLibraryCranInput interface { + pulumi.Input -// description for this task. -func (o JobTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) + ToJobNewClusterLibraryCranOutput() JobNewClusterLibraryCranOutput + ToJobNewClusterLibraryCranOutputWithContext(context.Context) JobNewClusterLibraryCranOutput } -// A flag to disable auto optimization in serverless tasks. -func (o JobTaskForEachTaskTaskPtrOutput) DisableAutoOptimization() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *bool { - if v == nil { - return nil - } - return v.DisableAutoOptimization - }).(pulumi.BoolPtrOutput) +type JobNewClusterLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -// An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. -func (o JobTaskForEachTaskTaskPtrOutput) EmailNotifications() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskEmailNotifications { - if v == nil { - return nil - } - return v.EmailNotifications - }).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (JobNewClusterLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibraryCran)(nil)).Elem() } -// identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. -func (o JobTaskForEachTaskTaskPtrOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.EnvironmentKey - }).(pulumi.StringPtrOutput) +func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranOutput() JobNewClusterLibraryCranOutput { + return i.ToJobNewClusterLibraryCranOutputWithContext(context.Background()) } -// Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* -func (o JobTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranOutputWithContext(ctx context.Context) JobNewClusterLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryCranOutput) } -// block described below that specifies health conditions for a given task. -func (o JobTaskForEachTaskTaskPtrOutput) Health() JobTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskHealth { - if v == nil { - return nil - } - return v.Health - }).(JobTaskForEachTaskTaskHealthPtrOutput) +func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { + return i.ToJobNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -// Identifier of the Job cluster specified in the `jobCluster` block. -func (o JobTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.JobClusterKey - }).(pulumi.StringPtrOutput) +func (i JobNewClusterLibraryCranArgs) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryCranOutput).ToJobNewClusterLibraryCranPtrOutputWithContext(ctx) } -// (Set) An optional list of libraries to be installed on the cluster that will execute the job. -func (o JobTaskForEachTaskTaskPtrOutput) Libraries() JobTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) []JobTaskForEachTaskTaskLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(JobTaskForEachTaskTaskLibraryArrayOutput) +// JobNewClusterLibraryCranPtrInput is an input type that accepts JobNewClusterLibraryCranArgs, JobNewClusterLibraryCranPtr and JobNewClusterLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryCranPtrInput` via: +// +// JobNewClusterLibraryCranArgs{...} +// +// or: +// +// nil +type JobNewClusterLibraryCranPtrInput interface { + pulumi.Input + + ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput + ToJobNewClusterLibraryCranPtrOutputWithContext(context.Context) JobNewClusterLibraryCranPtrOutput } -// (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. -func (o JobTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) +type jobNewClusterLibraryCranPtrType JobNewClusterLibraryCranArgs + +func JobNewClusterLibraryCranPtr(v *JobNewClusterLibraryCranArgs) JobNewClusterLibraryCranPtrInput { + return (*jobNewClusterLibraryCranPtrType)(v) } -// (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. -func (o JobTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) +func (*jobNewClusterLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterLibraryCran)(nil)).Elem() } -// Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* -func (o JobTaskForEachTaskTaskPtrOutput) NewCluster() JobTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(JobTaskForEachTaskTaskNewClusterPtrOutput) +func (i *jobNewClusterLibraryCranPtrType) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { + return i.ToJobNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskPtrOutput) NotebookTask() JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) +func (i *jobNewClusterLibraryCranPtrType) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryCranPtrOutput) } -// An optional block controlling the notification settings on the job level documented below. -func (o JobTaskForEachTaskTaskPtrOutput) NotificationSettings() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotificationSettings { - if v == nil { - return nil - } - return v.NotificationSettings - }).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) +type JobNewClusterLibraryCranOutput struct{ *pulumi.OutputState } + +func (JobNewClusterLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibraryCran)(nil)).Elem() } -func (o JobTaskForEachTaskTaskPtrOutput) PipelineTask() JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPipelineTask { - if v == nil { - return nil - } - return v.PipelineTask - }).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) +func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranOutput() JobNewClusterLibraryCranOutput { + return o } -func (o JobTaskForEachTaskTaskPtrOutput) PythonWheelTask() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPythonWheelTask { - if v == nil { - return nil - } - return v.PythonWheelTask - }).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranOutputWithContext(ctx context.Context) JobNewClusterLibraryCranOutput { + return o } -// (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. -func (o JobTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *bool { - if v == nil { - return nil - } - return v.RetryOnTimeout - }).(pulumi.BoolPtrOutput) +func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { + return o.ToJobNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -// An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. -func (o JobTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.RunIf - }).(pulumi.StringPtrOutput) +func (o JobNewClusterLibraryCranOutput) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterLibraryCran) *JobNewClusterLibraryCran { + return &v + }).(JobNewClusterLibraryCranPtrOutput) } -func (o JobTaskForEachTaskTaskPtrOutput) RunJobTask() JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskRunJobTask { - if v == nil { - return nil - } - return v.RunJobTask - }).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) +func (o JobNewClusterLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskPtrOutput) SparkJarTask() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkJarTask { - if v == nil { - return nil - } - return v.SparkJarTask - }).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (o JobNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskPtrOutput) SparkPythonTask() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkPythonTask { - if v == nil { - return nil - } - return v.SparkPythonTask - }).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) +type JobNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterLibraryCran)(nil)).Elem() } -func (o JobTaskForEachTaskTaskPtrOutput) SparkSubmitTask() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkSubmitTask { - if v == nil { - return nil - } - return v.SparkSubmitTask - }).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (o JobNewClusterLibraryCranPtrOutput) ToJobNewClusterLibraryCranPtrOutput() JobNewClusterLibraryCranPtrOutput { + return o } -func (o JobTaskForEachTaskTaskPtrOutput) SqlTask() JobTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSqlTask { - if v == nil { - return nil - } - return v.SqlTask - }).(JobTaskForEachTaskTaskSqlTaskPtrOutput) +func (o JobNewClusterLibraryCranPtrOutput) ToJobNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryCranPtrOutput { + return o } -// string specifying an unique key for a given task. -// * `*_task` - (Required) one of the specific task blocks described below: -func (o JobTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { - if v == nil { - return nil +func (o JobNewClusterLibraryCranPtrOutput) Elem() JobNewClusterLibraryCranOutput { + return o.ApplyT(func(v *JobNewClusterLibraryCran) JobNewClusterLibraryCran { + if v != nil { + return *v } - return &v.TaskKey - }).(pulumi.StringPtrOutput) + var ret JobNewClusterLibraryCran + return ret + }).(JobNewClusterLibraryCranOutput) } -// (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. -func (o JobTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *int { +func (o JobNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterLibraryCran) *string { if v == nil { return nil } - return v.TimeoutSeconds - }).(pulumi.IntPtrOutput) + return &v.Package + }).(pulumi.StringPtrOutput) } -// (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. -// -// > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. -func (o JobTaskForEachTaskTaskPtrOutput) WebhookNotifications() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskWebhookNotifications { +func (o JobNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterLibraryCran) *string { if v == nil { return nil } - return v.WebhookNotifications - }).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskConditionTask struct { - // The left operand of the condition task. It could be a string value, job state, or a parameter reference. - Left string `pulumi:"left"` - // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - // - // This task does not require a cluster to execute and does not support retries or notifications. - Op string `pulumi:"op"` - // The right operand of the condition task. It could be a string value, job state, or parameter reference. - Right string `pulumi:"right"` +type JobNewClusterLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// JobTaskForEachTaskTaskConditionTaskInput is an input type that accepts JobTaskForEachTaskTaskConditionTaskArgs and JobTaskForEachTaskTaskConditionTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskConditionTaskInput` via: +// JobNewClusterLibraryMavenInput is an input type that accepts JobNewClusterLibraryMavenArgs and JobNewClusterLibraryMavenOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryMavenInput` via: // -// JobTaskForEachTaskTaskConditionTaskArgs{...} -type JobTaskForEachTaskTaskConditionTaskInput interface { +// JobNewClusterLibraryMavenArgs{...} +type JobNewClusterLibraryMavenInput interface { pulumi.Input - ToJobTaskForEachTaskTaskConditionTaskOutput() JobTaskForEachTaskTaskConditionTaskOutput - ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskConditionTaskOutput + ToJobNewClusterLibraryMavenOutput() JobNewClusterLibraryMavenOutput + ToJobNewClusterLibraryMavenOutputWithContext(context.Context) JobNewClusterLibraryMavenOutput } -type JobTaskForEachTaskTaskConditionTaskArgs struct { - // The left operand of the condition task. It could be a string value, job state, or a parameter reference. - Left pulumi.StringInput `pulumi:"left"` - // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - // - // This task does not require a cluster to execute and does not support retries or notifications. - Op pulumi.StringInput `pulumi:"op"` - // The right operand of the condition task. It could be a string value, job state, or parameter reference. - Right pulumi.StringInput `pulumi:"right"` +type JobNewClusterLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (JobNewClusterLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibraryMaven)(nil)).Elem() } -func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskOutput() JobTaskForEachTaskTaskConditionTaskOutput { - return i.ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) +func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenOutput() JobNewClusterLibraryMavenOutput { + return i.ToJobNewClusterLibraryMavenOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskConditionTaskOutput) +func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryMavenOutput) } -func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { + return i.ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskConditionTaskOutput).ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) +func (i JobNewClusterLibraryMavenArgs) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryMavenOutput).ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskConditionTaskArgs, JobTaskForEachTaskTaskConditionTaskPtr and JobTaskForEachTaskTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskConditionTaskPtrInput` via: +// JobNewClusterLibraryMavenPtrInput is an input type that accepts JobNewClusterLibraryMavenArgs, JobNewClusterLibraryMavenPtr and JobNewClusterLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryMavenPtrInput` via: // -// JobTaskForEachTaskTaskConditionTaskArgs{...} +// JobNewClusterLibraryMavenArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskConditionTaskPtrInput interface { +type JobNewClusterLibraryMavenPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput - ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput + ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput + ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobNewClusterLibraryMavenPtrOutput } -type jobTaskForEachTaskTaskConditionTaskPtrType JobTaskForEachTaskTaskConditionTaskArgs +type jobNewClusterLibraryMavenPtrType JobNewClusterLibraryMavenArgs -func JobTaskForEachTaskTaskConditionTaskPtr(v *JobTaskForEachTaskTaskConditionTaskArgs) JobTaskForEachTaskTaskConditionTaskPtrInput { - return (*jobTaskForEachTaskTaskConditionTaskPtrType)(v) +func JobNewClusterLibraryMavenPtr(v *JobNewClusterLibraryMavenArgs) JobNewClusterLibraryMavenPtrInput { + return (*jobNewClusterLibraryMavenPtrType)(v) } -func (*jobTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (*jobNewClusterLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterLibraryMaven)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskConditionTaskPtrType) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterLibraryMavenPtrType) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { + return i.ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskConditionTaskPtrType) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskConditionTaskPtrOutput) +func (i *jobNewClusterLibraryMavenPtrType) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryMavenPtrOutput) } -type JobTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (JobNewClusterLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibraryMaven)(nil)).Elem() } -func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskOutput() JobTaskForEachTaskTaskConditionTaskOutput { +func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenOutput() JobNewClusterLibraryMavenOutput { return o } -func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskOutput { +func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenOutput { return o } -func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { + return o.ToJobNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskConditionTask) *JobTaskForEachTaskTaskConditionTask { +func (o JobNewClusterLibraryMavenOutput) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterLibraryMaven) *JobNewClusterLibraryMaven { return &v - }).(JobTaskForEachTaskTaskConditionTaskPtrOutput) + }).(JobNewClusterLibraryMavenPtrOutput) } -// The left operand of the condition task. It could be a string value, job state, or a parameter reference. -func (o JobTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) +func (o JobNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -// -// This task does not require a cluster to execute and does not support retries or notifications. -func (o JobTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +func (o JobNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -// The right operand of the condition task. It could be a string value, job state, or parameter reference. -func (o JobTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +func (o JobNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (JobNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterLibraryMaven)(nil)).Elem() } -func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { +func (o JobNewClusterLibraryMavenPtrOutput) ToJobNewClusterLibraryMavenPtrOutput() JobNewClusterLibraryMavenPtrOutput { return o } -func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { +func (o JobNewClusterLibraryMavenPtrOutput) ToJobNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryMavenPtrOutput { return o } -func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Elem() JobTaskForEachTaskTaskConditionTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) JobTaskForEachTaskTaskConditionTask { +func (o JobNewClusterLibraryMavenPtrOutput) Elem() JobNewClusterLibraryMavenOutput { + return o.ApplyT(func(v *JobNewClusterLibraryMaven) JobNewClusterLibraryMaven { if v != nil { return *v } - var ret JobTaskForEachTaskTaskConditionTask + var ret JobNewClusterLibraryMaven return ret - }).(JobTaskForEachTaskTaskConditionTaskOutput) + }).(JobNewClusterLibraryMavenOutput) } -// The left operand of the condition task. It could be a string value, job state, or a parameter reference. -func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) *string { +func (o JobNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterLibraryMaven) *string { if v == nil { return nil } - return &v.Left + return &v.Coordinates }).(pulumi.StringPtrOutput) } -// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -// -// This task does not require a cluster to execute and does not support retries or notifications. -func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) *string { +func (o JobNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobNewClusterLibraryMaven) []string { if v == nil { return nil } - return &v.Op - }).(pulumi.StringPtrOutput) + return v.Exclusions + }).(pulumi.StringArrayOutput) } -// The right operand of the condition task. It could be a string value, job state, or parameter reference. -func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) *string { +func (o JobNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterLibraryMaven) *string { if v == nil { return nil } - return &v.Right + return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskDbtTask struct { - // The name of the catalog to use inside Unity Catalog. - Catalog *string `pulumi:"catalog"` - // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - Commands []string `pulumi:"commands"` - // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - ProfilesDirectory *string `pulumi:"profilesDirectory"` - // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. - // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - ProjectDirectory *string `pulumi:"projectDirectory"` - // The name of the schema dbt should run in. Defaults to `default`. - Schema *string `pulumi:"schema"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. - Source *string `pulumi:"source"` - // The ID of the SQL warehouse that dbt should execute against. - // - // You also need to include a `gitSource` block to configure the repository that contains the dbt project. - WarehouseId *string `pulumi:"warehouseId"` +type JobNewClusterLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobTaskForEachTaskTaskDbtTaskInput is an input type that accepts JobTaskForEachTaskTaskDbtTaskArgs and JobTaskForEachTaskTaskDbtTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskDbtTaskInput` via: +// JobNewClusterLibraryPypiInput is an input type that accepts JobNewClusterLibraryPypiArgs and JobNewClusterLibraryPypiOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryPypiInput` via: // -// JobTaskForEachTaskTaskDbtTaskArgs{...} -type JobTaskForEachTaskTaskDbtTaskInput interface { +// JobNewClusterLibraryPypiArgs{...} +type JobNewClusterLibraryPypiInput interface { pulumi.Input - ToJobTaskForEachTaskTaskDbtTaskOutput() JobTaskForEachTaskTaskDbtTaskOutput - ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskDbtTaskOutput + ToJobNewClusterLibraryPypiOutput() JobNewClusterLibraryPypiOutput + ToJobNewClusterLibraryPypiOutputWithContext(context.Context) JobNewClusterLibraryPypiOutput } -type JobTaskForEachTaskTaskDbtTaskArgs struct { - // The name of the catalog to use inside Unity Catalog. - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - Commands pulumi.StringArrayInput `pulumi:"commands"` - // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. - // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - // The name of the schema dbt should run in. Defaults to `default`. - Schema pulumi.StringPtrInput `pulumi:"schema"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. - Source pulumi.StringPtrInput `pulumi:"source"` - // The ID of the SQL warehouse that dbt should execute against. - // - // You also need to include a `gitSource` block to configure the repository that contains the dbt project. - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type JobNewClusterLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (JobNewClusterLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibraryPypi)(nil)).Elem() } -func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskOutput() JobTaskForEachTaskTaskDbtTaskOutput { - return i.ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) +func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiOutput() JobNewClusterLibraryPypiOutput { + return i.ToJobNewClusterLibraryPypiOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDbtTaskOutput) +func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryPypiOutput) } -func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { + return i.ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDbtTaskOutput).ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) +func (i JobNewClusterLibraryPypiArgs) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryPypiOutput).ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskDbtTaskArgs, JobTaskForEachTaskTaskDbtTaskPtr and JobTaskForEachTaskTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskDbtTaskPtrInput` via: +// JobNewClusterLibraryPypiPtrInput is an input type that accepts JobNewClusterLibraryPypiArgs, JobNewClusterLibraryPypiPtr and JobNewClusterLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobNewClusterLibraryPypiPtrInput` via: // -// JobTaskForEachTaskTaskDbtTaskArgs{...} +// JobNewClusterLibraryPypiArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskDbtTaskPtrInput interface { +type JobNewClusterLibraryPypiPtrInput interface { pulumi.Input - - ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput - ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput + + ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput + ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobNewClusterLibraryPypiPtrOutput } -type jobTaskForEachTaskTaskDbtTaskPtrType JobTaskForEachTaskTaskDbtTaskArgs +type jobNewClusterLibraryPypiPtrType JobNewClusterLibraryPypiArgs -func JobTaskForEachTaskTaskDbtTaskPtr(v *JobTaskForEachTaskTaskDbtTaskArgs) JobTaskForEachTaskTaskDbtTaskPtrInput { - return (*jobTaskForEachTaskTaskDbtTaskPtrType)(v) +func JobNewClusterLibraryPypiPtr(v *JobNewClusterLibraryPypiArgs) JobNewClusterLibraryPypiPtrInput { + return (*jobNewClusterLibraryPypiPtrType)(v) } -func (*jobTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (*jobNewClusterLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterLibraryPypi)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskDbtTaskPtrType) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i *jobNewClusterLibraryPypiPtrType) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { + return i.ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskDbtTaskPtrType) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDbtTaskPtrOutput) +func (i *jobNewClusterLibraryPypiPtrType) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterLibraryPypiPtrOutput) } -type JobTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } +type JobNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (JobNewClusterLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskOutput() JobTaskForEachTaskTaskDbtTaskOutput { +func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiOutput() JobNewClusterLibraryPypiOutput { return o } -func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskOutput { +func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiOutput { return o } -func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { + return o.ToJobNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskDbtTask) *JobTaskForEachTaskTaskDbtTask { +func (o JobNewClusterLibraryPypiOutput) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterLibraryPypi) *JobNewClusterLibraryPypi { return &v - }).(JobTaskForEachTaskTaskDbtTaskPtrOutput) -} - -// The name of the catalog to use inside Unity Catalog. -func (o JobTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) -} - -// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". -func (o JobTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) -} - -// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. -func (o JobTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) -} - -// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. -// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. -// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. -func (o JobTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) -} - -// The name of the schema dbt should run in. Defaults to `default`. -func (o JobTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) + }).(JobNewClusterLibraryPypiPtrOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. -func (o JobTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -// The ID of the SQL warehouse that dbt should execute against. -// -// You also need to include a `gitSource` block to configure the repository that contains the dbt project. -func (o JobTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o JobNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (JobNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { +func (o JobNewClusterLibraryPypiPtrOutput) ToJobNewClusterLibraryPypiPtrOutput() JobNewClusterLibraryPypiPtrOutput { return o } -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { +func (o JobNewClusterLibraryPypiPtrOutput) ToJobNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobNewClusterLibraryPypiPtrOutput { return o } -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Elem() JobTaskForEachTaskTaskDbtTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) JobTaskForEachTaskTaskDbtTask { +func (o JobNewClusterLibraryPypiPtrOutput) Elem() JobNewClusterLibraryPypiOutput { + return o.ApplyT(func(v *JobNewClusterLibraryPypi) JobNewClusterLibraryPypi { if v != nil { return *v } - var ret JobTaskForEachTaskTaskDbtTask + var ret JobNewClusterLibraryPypi return ret - }).(JobTaskForEachTaskTaskDbtTaskOutput) -} - -// The name of the catalog to use inside Unity Catalog. -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Catalog - }).(pulumi.StringPtrOutput) -} - -// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) []string { - if v == nil { - return nil - } - return v.Commands - }).(pulumi.StringArrayOutput) -} - -// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) + }).(JobNewClusterLibraryPypiOutput) } -// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. -// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. -// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { +func (o JobNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterLibraryPypi) *string { if v == nil { return nil } - return v.ProjectDirectory + return &v.Package }).(pulumi.StringPtrOutput) } -// The name of the schema dbt should run in. Defaults to `default`. -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { +func (o JobNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNewClusterLibraryPypi) *string { if v == nil { return nil } - return v.Schema + return v.Repo }).(pulumi.StringPtrOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +type JobNewClusterWorkloadType struct { + Clients JobNewClusterWorkloadTypeClients `pulumi:"clients"` } -// The ID of the SQL warehouse that dbt should execute against. +// JobNewClusterWorkloadTypeInput is an input type that accepts JobNewClusterWorkloadTypeArgs and JobNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `JobNewClusterWorkloadTypeInput` via: // -// You also need to include a `gitSource` block to configure the repository that contains the dbt project. -func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) -} +// JobNewClusterWorkloadTypeArgs{...} +type JobNewClusterWorkloadTypeInput interface { + pulumi.Input -type JobTaskForEachTaskTaskDependsOn struct { - // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - // - // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. - Outcome *string `pulumi:"outcome"` - // The name of the task this task depends on. - TaskKey string `pulumi:"taskKey"` + ToJobNewClusterWorkloadTypeOutput() JobNewClusterWorkloadTypeOutput + ToJobNewClusterWorkloadTypeOutputWithContext(context.Context) JobNewClusterWorkloadTypeOutput } -// JobTaskForEachTaskTaskDependsOnInput is an input type that accepts JobTaskForEachTaskTaskDependsOnArgs and JobTaskForEachTaskTaskDependsOnOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskDependsOnInput` via: -// -// JobTaskForEachTaskTaskDependsOnArgs{...} -type JobTaskForEachTaskTaskDependsOnInput interface { - pulumi.Input +type JobNewClusterWorkloadTypeArgs struct { + Clients JobNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +} - ToJobTaskForEachTaskTaskDependsOnOutput() JobTaskForEachTaskTaskDependsOnOutput - ToJobTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) JobTaskForEachTaskTaskDependsOnOutput +func (JobNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterWorkloadType)(nil)).Elem() } -type JobTaskForEachTaskTaskDependsOnArgs struct { - // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - // - // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - // The name of the task this task depends on. - TaskKey pulumi.StringInput `pulumi:"taskKey"` +func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypeOutput() JobNewClusterWorkloadTypeOutput { + return i.ToJobNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (JobTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeOutput) } -func (i JobTaskForEachTaskTaskDependsOnArgs) ToJobTaskForEachTaskTaskDependsOnOutput() JobTaskForEachTaskTaskDependsOnOutput { - return i.ToJobTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) +func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { + return i.ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskDependsOnArgs) ToJobTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDependsOnOutput) +func (i JobNewClusterWorkloadTypeArgs) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeOutput).ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts JobTaskForEachTaskTaskDependsOnArray and JobTaskForEachTaskTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskDependsOnArrayInput` via: +// JobNewClusterWorkloadTypePtrInput is an input type that accepts JobNewClusterWorkloadTypeArgs, JobNewClusterWorkloadTypePtr and JobNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `JobNewClusterWorkloadTypePtrInput` via: // -// JobTaskForEachTaskTaskDependsOnArray{ JobTaskForEachTaskTaskDependsOnArgs{...} } -type JobTaskForEachTaskTaskDependsOnArrayInput interface { +// JobNewClusterWorkloadTypeArgs{...} +// +// or: +// +// nil +type JobNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskDependsOnArrayOutput() JobTaskForEachTaskTaskDependsOnArrayOutput - ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskDependsOnArrayOutput + ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput + ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobNewClusterWorkloadTypePtrOutput } -type JobTaskForEachTaskTaskDependsOnArray []JobTaskForEachTaskTaskDependsOnInput +type jobNewClusterWorkloadTypePtrType JobNewClusterWorkloadTypeArgs -func (JobTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskDependsOn)(nil)).Elem() +func JobNewClusterWorkloadTypePtr(v *JobNewClusterWorkloadTypeArgs) JobNewClusterWorkloadTypePtrInput { + return (*jobNewClusterWorkloadTypePtrType)(v) } -func (i JobTaskForEachTaskTaskDependsOnArray) ToJobTaskForEachTaskTaskDependsOnArrayOutput() JobTaskForEachTaskTaskDependsOnArrayOutput { - return i.ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) +func (*jobNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterWorkloadType)(nil)).Elem() } -func (i JobTaskForEachTaskTaskDependsOnArray) ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDependsOnArrayOutput) +func (i *jobNewClusterWorkloadTypePtrType) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { + return i.ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } +func (i *jobNewClusterWorkloadTypePtrType) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypePtrOutput) +} -func (JobTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskDependsOn)(nil)).Elem() +type JobNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (JobNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterWorkloadType)(nil)).Elem() } -func (o JobTaskForEachTaskTaskDependsOnOutput) ToJobTaskForEachTaskTaskDependsOnOutput() JobTaskForEachTaskTaskDependsOnOutput { +func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypeOutput() JobNewClusterWorkloadTypeOutput { return o } -func (o JobTaskForEachTaskTaskDependsOnOutput) ToJobTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnOutput { +func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeOutput { return o } -// Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. -// -// > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. -func (o JobTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { + return o.ToJobNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -// The name of the task this task depends on. -func (o JobTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o JobNewClusterWorkloadTypeOutput) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterWorkloadType) *JobNewClusterWorkloadType { + return &v + }).(JobNewClusterWorkloadTypePtrOutput) } -type JobTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +func (o JobNewClusterWorkloadTypeOutput) Clients() JobNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v JobNewClusterWorkloadType) JobNewClusterWorkloadTypeClients { return v.Clients }).(JobNewClusterWorkloadTypeClientsOutput) +} -func (JobTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskDependsOn)(nil)).Elem() +type JobNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (JobNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterWorkloadType)(nil)).Elem() } -func (o JobTaskForEachTaskTaskDependsOnArrayOutput) ToJobTaskForEachTaskTaskDependsOnArrayOutput() JobTaskForEachTaskTaskDependsOnArrayOutput { +func (o JobNewClusterWorkloadTypePtrOutput) ToJobNewClusterWorkloadTypePtrOutput() JobNewClusterWorkloadTypePtrOutput { return o } -func (o JobTaskForEachTaskTaskDependsOnArrayOutput) ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnArrayOutput { +func (o JobNewClusterWorkloadTypePtrOutput) ToJobNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypePtrOutput { return o } -func (o JobTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskDependsOnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskDependsOn { - return vs[0].([]JobTaskForEachTaskTaskDependsOn)[vs[1].(int)] - }).(JobTaskForEachTaskTaskDependsOnOutput) +func (o JobNewClusterWorkloadTypePtrOutput) Elem() JobNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *JobNewClusterWorkloadType) JobNewClusterWorkloadType { + if v != nil { + return *v + } + var ret JobNewClusterWorkloadType + return ret + }).(JobNewClusterWorkloadTypeOutput) } -type JobTaskForEachTaskTaskEmailNotifications struct { - // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // The following parameter is only available for the job level configuration. - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of emails to notify when the run fails. - OnFailures []string `pulumi:"onFailures"` - // (List) list of emails to notify when the run starts. - OnStarts []string `pulumi:"onStarts"` - OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` - // (List) list of emails to notify when the run completes successfully. - OnSuccesses []string `pulumi:"onSuccesses"` +func (o JobNewClusterWorkloadTypePtrOutput) Clients() JobNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *JobNewClusterWorkloadType) *JobNewClusterWorkloadTypeClients { + if v == nil { + return nil + } + return &v.Clients + }).(JobNewClusterWorkloadTypeClientsPtrOutput) } -// JobTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts JobTaskForEachTaskTaskEmailNotificationsArgs and JobTaskForEachTaskTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskEmailNotificationsInput` via: +type JobNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` +} + +// JobNewClusterWorkloadTypeClientsInput is an input type that accepts JobNewClusterWorkloadTypeClientsArgs and JobNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `JobNewClusterWorkloadTypeClientsInput` via: // -// JobTaskForEachTaskTaskEmailNotificationsArgs{...} -type JobTaskForEachTaskTaskEmailNotificationsInput interface { +// JobNewClusterWorkloadTypeClientsArgs{...} +type JobNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskEmailNotificationsOutput() JobTaskForEachTaskTaskEmailNotificationsOutput - ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) JobTaskForEachTaskTaskEmailNotificationsOutput + ToJobNewClusterWorkloadTypeClientsOutput() JobNewClusterWorkloadTypeClientsOutput + ToJobNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobNewClusterWorkloadTypeClientsOutput } -type JobTaskForEachTaskTaskEmailNotificationsArgs struct { - // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // The following parameter is only available for the job level configuration. - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of emails to notify when the run fails. - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - // (List) list of emails to notify when the run starts. - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` - // (List) list of emails to notify when the run completes successfully. - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type JobNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (JobTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (JobNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsOutput() JobTaskForEachTaskTaskEmailNotificationsOutput { - return i.ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) +func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsOutput() JobNewClusterWorkloadTypeClientsOutput { + return i.ToJobNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskEmailNotificationsOutput) +func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeClientsOutput) } -func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskEmailNotificationsOutput).ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i JobNewClusterWorkloadTypeClientsArgs) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeClientsOutput).ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts JobTaskForEachTaskTaskEmailNotificationsArgs, JobTaskForEachTaskTaskEmailNotificationsPtr and JobTaskForEachTaskTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskEmailNotificationsPtrInput` via: +// JobNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobNewClusterWorkloadTypeClientsArgs, JobNewClusterWorkloadTypeClientsPtr and JobNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `JobNewClusterWorkloadTypeClientsPtrInput` via: // -// JobTaskForEachTaskTaskEmailNotificationsArgs{...} +// JobNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskEmailNotificationsPtrInput interface { +type JobNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput - ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput + ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput + ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobNewClusterWorkloadTypeClientsPtrOutput } -type jobTaskForEachTaskTaskEmailNotificationsPtrType JobTaskForEachTaskTaskEmailNotificationsArgs +type jobNewClusterWorkloadTypeClientsPtrType JobNewClusterWorkloadTypeClientsArgs -func JobTaskForEachTaskTaskEmailNotificationsPtr(v *JobTaskForEachTaskTaskEmailNotificationsArgs) JobTaskForEachTaskTaskEmailNotificationsPtrInput { - return (*jobTaskForEachTaskTaskEmailNotificationsPtrType)(v) +func JobNewClusterWorkloadTypeClientsPtr(v *JobNewClusterWorkloadTypeClientsArgs) JobNewClusterWorkloadTypeClientsPtrInput { + return (*jobNewClusterWorkloadTypeClientsPtrType)(v) } -func (*jobTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (*jobNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskEmailNotificationsPtrType) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *jobNewClusterWorkloadTypeClientsPtrType) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskEmailNotificationsPtrType) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (i *jobNewClusterWorkloadTypeClientsPtrType) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNewClusterWorkloadTypeClientsPtrOutput) } -type JobTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type JobNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (JobNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsOutput() JobTaskForEachTaskTaskEmailNotificationsOutput { +func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsOutput() JobNewClusterWorkloadTypeClientsOutput { return o } -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsOutput { +func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsOutput { return o } -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { + return o.ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskEmailNotifications) *JobTaskForEachTaskTaskEmailNotifications { +func (o JobNewClusterWorkloadTypeClientsOutput) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNewClusterWorkloadTypeClients) *JobNewClusterWorkloadTypeClients { return &v - }).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) -} - -// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) -} - -// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// The following parameter is only available for the job level configuration. -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -// (List) list of emails to notify when the run fails. -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) -} - -// (List) list of emails to notify when the run starts. -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) + }).(JobNewClusterWorkloadTypeClientsPtrOutput) } -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) +func (o JobNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -// (List) list of emails to notify when the run completes successfully. -func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o JobNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type JobNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (JobNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o JobNewClusterWorkloadTypeClientsPtrOutput) ToJobNewClusterWorkloadTypeClientsPtrOutput() JobNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o JobNewClusterWorkloadTypeClientsPtrOutput) ToJobNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() JobTaskForEachTaskTaskEmailNotificationsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) JobTaskForEachTaskTaskEmailNotifications { +func (o JobNewClusterWorkloadTypeClientsPtrOutput) Elem() JobNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *JobNewClusterWorkloadTypeClients) JobNewClusterWorkloadTypeClients { if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskEmailNotifications - return ret - }).(JobTaskForEachTaskTaskEmailNotificationsOutput) -} - -// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) -} - -// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// The following parameter is only available for the job level configuration. -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -// (List) list of emails to notify when the run fails. -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnFailures - }).(pulumi.StringArrayOutput) -} - -// (List) list of emails to notify when the run starts. -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil + return *v } - return v.OnStarts - }).(pulumi.StringArrayOutput) + var ret JobNewClusterWorkloadTypeClients + return ret + }).(JobNewClusterWorkloadTypeClientsOutput) } -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { +func (o JobNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -// (List) list of emails to notify when the run completes successfully. -func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { +func (o JobNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskHealth struct { - // list of rules that are represented as objects with the following attributes: - Rules []JobTaskForEachTaskTaskHealthRule `pulumi:"rules"` +type JobNotebookTask struct { + // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + BaseParameters map[string]string `pulumi:"baseParameters"` + // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + NotebookPath string `pulumi:"notebookPath"` + // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. + Source *string `pulumi:"source"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + WarehouseId *string `pulumi:"warehouseId"` } -// JobTaskForEachTaskTaskHealthInput is an input type that accepts JobTaskForEachTaskTaskHealthArgs and JobTaskForEachTaskTaskHealthOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthInput` via: +// JobNotebookTaskInput is an input type that accepts JobNotebookTaskArgs and JobNotebookTaskOutput values. +// You can construct a concrete instance of `JobNotebookTaskInput` via: // -// JobTaskForEachTaskTaskHealthArgs{...} -type JobTaskForEachTaskTaskHealthInput interface { +// JobNotebookTaskArgs{...} +type JobNotebookTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskHealthOutput() JobTaskForEachTaskTaskHealthOutput - ToJobTaskForEachTaskTaskHealthOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthOutput + ToJobNotebookTaskOutput() JobNotebookTaskOutput + ToJobNotebookTaskOutputWithContext(context.Context) JobNotebookTaskOutput } -type JobTaskForEachTaskTaskHealthArgs struct { - // list of rules that are represented as objects with the following attributes: - Rules JobTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` +type JobNotebookTaskArgs struct { + // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` + // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. + Source pulumi.StringPtrInput `pulumi:"source"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (JobTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskHealth)(nil)).Elem() +func (JobNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNotebookTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthOutput() JobTaskForEachTaskTaskHealthOutput { - return i.ToJobTaskForEachTaskTaskHealthOutputWithContext(context.Background()) +func (i JobNotebookTaskArgs) ToJobNotebookTaskOutput() JobNotebookTaskOutput { + return i.ToJobNotebookTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthOutput) +func (i JobNotebookTaskArgs) ToJobNotebookTaskOutputWithContext(ctx context.Context) JobNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNotebookTaskOutput) } -func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { - return i.ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i JobNotebookTaskArgs) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { + return i.ToJobNotebookTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthOutput).ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) +func (i JobNotebookTaskArgs) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNotebookTaskOutput).ToJobNotebookTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskHealthPtrInput is an input type that accepts JobTaskForEachTaskTaskHealthArgs, JobTaskForEachTaskTaskHealthPtr and JobTaskForEachTaskTaskHealthPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthPtrInput` via: +// JobNotebookTaskPtrInput is an input type that accepts JobNotebookTaskArgs, JobNotebookTaskPtr and JobNotebookTaskPtrOutput values. +// You can construct a concrete instance of `JobNotebookTaskPtrInput` via: // -// JobTaskForEachTaskTaskHealthArgs{...} +// JobNotebookTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskHealthPtrInput interface { +type JobNotebookTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput - ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthPtrOutput + ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput + ToJobNotebookTaskPtrOutputWithContext(context.Context) JobNotebookTaskPtrOutput } -type jobTaskForEachTaskTaskHealthPtrType JobTaskForEachTaskTaskHealthArgs +type jobNotebookTaskPtrType JobNotebookTaskArgs -func JobTaskForEachTaskTaskHealthPtr(v *JobTaskForEachTaskTaskHealthArgs) JobTaskForEachTaskTaskHealthPtrInput { - return (*jobTaskForEachTaskTaskHealthPtrType)(v) +func JobNotebookTaskPtr(v *JobNotebookTaskArgs) JobNotebookTaskPtrInput { + return (*jobNotebookTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskHealth)(nil)).Elem() +func (*jobNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNotebookTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskHealthPtrType) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { - return i.ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i *jobNotebookTaskPtrType) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { + return i.ToJobNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskHealthPtrType) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthPtrOutput) +func (i *jobNotebookTaskPtrType) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNotebookTaskPtrOutput) } -type JobTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } +type JobNotebookTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskHealth)(nil)).Elem() +func (JobNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNotebookTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthOutput() JobTaskForEachTaskTaskHealthOutput { +func (o JobNotebookTaskOutput) ToJobNotebookTaskOutput() JobNotebookTaskOutput { return o } -func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthOutput { +func (o JobNotebookTaskOutput) ToJobNotebookTaskOutputWithContext(ctx context.Context) JobNotebookTaskOutput { return o } -func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { - return o.ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (o JobNotebookTaskOutput) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { + return o.ToJobNotebookTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskHealth) *JobTaskForEachTaskTaskHealth { +func (o JobNotebookTaskOutput) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNotebookTask) *JobNotebookTask { return &v - }).(JobTaskForEachTaskTaskHealthPtrOutput) + }).(JobNotebookTaskPtrOutput) } -// list of rules that are represented as objects with the following attributes: -func (o JobTaskForEachTaskTaskHealthOutput) Rules() JobTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskHealth) []JobTaskForEachTaskTaskHealthRule { return v.Rules }).(JobTaskForEachTaskTaskHealthRuleArrayOutput) +// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. +func (o JobNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) } -type JobTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } +// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. +func (o JobNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v JobNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +} -func (JobTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskHealth)(nil)).Elem() +// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. +func (o JobNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskHealthPtrOutput) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { +// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. +func (o JobNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type JobNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNotebookTask)(nil)).Elem() +} + +func (o JobNotebookTaskPtrOutput) ToJobNotebookTaskPtrOutput() JobNotebookTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskHealthPtrOutput) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { +func (o JobNotebookTaskPtrOutput) ToJobNotebookTaskPtrOutputWithContext(ctx context.Context) JobNotebookTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskHealthPtrOutput) Elem() JobTaskForEachTaskTaskHealthOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskHealth) JobTaskForEachTaskTaskHealth { +func (o JobNotebookTaskPtrOutput) Elem() JobNotebookTaskOutput { + return o.ApplyT(func(v *JobNotebookTask) JobNotebookTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskHealth + var ret JobNotebookTask return ret - }).(JobTaskForEachTaskTaskHealthOutput) + }).(JobNotebookTaskOutput) } -// list of rules that are represented as objects with the following attributes: -func (o JobTaskForEachTaskTaskHealthPtrOutput) Rules() JobTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskHealth) []JobTaskForEachTaskTaskHealthRule { +// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. +func (o JobNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobNotebookTask) map[string]string { if v == nil { return nil } - return v.Rules - }).(JobTaskForEachTaskTaskHealthRuleArrayOutput) + return v.BaseParameters + }).(pulumi.StringMapOutput) } -type JobTaskForEachTaskTaskHealthRule struct { - // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - Metric string `pulumi:"metric"` - // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - Op string `pulumi:"op"` - // integer value used to compare to the given metric. - Value int `pulumi:"value"` +// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. +func (o JobNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskHealthRuleInput is an input type that accepts JobTaskForEachTaskTaskHealthRuleArgs and JobTaskForEachTaskTaskHealthRuleOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthRuleInput` via: +// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. +func (o JobNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNotebookTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. +func (o JobNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobNotebookTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type JobNotificationSettings struct { + // (Bool) don't send alert for cancelled runs. + // + // The following parameter is only available on task level. + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + // (Bool) don't send alert for skipped runs. + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +} + +// JobNotificationSettingsInput is an input type that accepts JobNotificationSettingsArgs and JobNotificationSettingsOutput values. +// You can construct a concrete instance of `JobNotificationSettingsInput` via: // -// JobTaskForEachTaskTaskHealthRuleArgs{...} -type JobTaskForEachTaskTaskHealthRuleInput interface { +// JobNotificationSettingsArgs{...} +type JobNotificationSettingsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskHealthRuleOutput() JobTaskForEachTaskTaskHealthRuleOutput - ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthRuleOutput + ToJobNotificationSettingsOutput() JobNotificationSettingsOutput + ToJobNotificationSettingsOutputWithContext(context.Context) JobNotificationSettingsOutput } -type JobTaskForEachTaskTaskHealthRuleArgs struct { - // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - Metric pulumi.StringInput `pulumi:"metric"` - // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - Op pulumi.StringInput `pulumi:"op"` - // integer value used to compare to the given metric. - Value pulumi.IntInput `pulumi:"value"` +type JobNotificationSettingsArgs struct { + // (Bool) don't send alert for cancelled runs. + // + // The following parameter is only available on task level. + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + // (Bool) don't send alert for skipped runs. + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (JobTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (JobNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobNotificationSettings)(nil)).Elem() } -func (i JobTaskForEachTaskTaskHealthRuleArgs) ToJobTaskForEachTaskTaskHealthRuleOutput() JobTaskForEachTaskTaskHealthRuleOutput { - return i.ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) +func (i JobNotificationSettingsArgs) ToJobNotificationSettingsOutput() JobNotificationSettingsOutput { + return i.ToJobNotificationSettingsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskHealthRuleArgs) ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthRuleOutput) +func (i JobNotificationSettingsArgs) ToJobNotificationSettingsOutputWithContext(ctx context.Context) JobNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNotificationSettingsOutput) } -// JobTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts JobTaskForEachTaskTaskHealthRuleArray and JobTaskForEachTaskTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthRuleArrayInput` via: +func (i JobNotificationSettingsArgs) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { + return i.ToJobNotificationSettingsPtrOutputWithContext(context.Background()) +} + +func (i JobNotificationSettingsArgs) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNotificationSettingsOutput).ToJobNotificationSettingsPtrOutputWithContext(ctx) +} + +// JobNotificationSettingsPtrInput is an input type that accepts JobNotificationSettingsArgs, JobNotificationSettingsPtr and JobNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `JobNotificationSettingsPtrInput` via: // -// JobTaskForEachTaskTaskHealthRuleArray{ JobTaskForEachTaskTaskHealthRuleArgs{...} } -type JobTaskForEachTaskTaskHealthRuleArrayInput interface { +// JobNotificationSettingsArgs{...} +// +// or: +// +// nil +type JobNotificationSettingsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskHealthRuleArrayOutput() JobTaskForEachTaskTaskHealthRuleArrayOutput - ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthRuleArrayOutput + ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput + ToJobNotificationSettingsPtrOutputWithContext(context.Context) JobNotificationSettingsPtrOutput } -type JobTaskForEachTaskTaskHealthRuleArray []JobTaskForEachTaskTaskHealthRuleInput +type jobNotificationSettingsPtrType JobNotificationSettingsArgs -func (JobTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskHealthRule)(nil)).Elem() +func JobNotificationSettingsPtr(v *JobNotificationSettingsArgs) JobNotificationSettingsPtrInput { + return (*jobNotificationSettingsPtrType)(v) } -func (i JobTaskForEachTaskTaskHealthRuleArray) ToJobTaskForEachTaskTaskHealthRuleArrayOutput() JobTaskForEachTaskTaskHealthRuleArrayOutput { - return i.ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) +func (*jobNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobNotificationSettings)(nil)).Elem() } -func (i JobTaskForEachTaskTaskHealthRuleArray) ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthRuleArrayOutput) +func (i *jobNotificationSettingsPtrType) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { + return i.ToJobNotificationSettingsPtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } +func (i *jobNotificationSettingsPtrType) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobNotificationSettingsPtrOutput) +} -func (JobTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskHealthRule)(nil)).Elem() +type JobNotificationSettingsOutput struct{ *pulumi.OutputState } + +func (JobNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobNotificationSettings)(nil)).Elem() } -func (o JobTaskForEachTaskTaskHealthRuleOutput) ToJobTaskForEachTaskTaskHealthRuleOutput() JobTaskForEachTaskTaskHealthRuleOutput { +func (o JobNotificationSettingsOutput) ToJobNotificationSettingsOutput() JobNotificationSettingsOutput { return o } -func (o JobTaskForEachTaskTaskHealthRuleOutput) ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleOutput { +func (o JobNotificationSettingsOutput) ToJobNotificationSettingsOutputWithContext(ctx context.Context) JobNotificationSettingsOutput { return o } -// string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -func (o JobTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) +func (o JobNotificationSettingsOutput) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { + return o.ToJobNotificationSettingsPtrOutputWithContext(context.Background()) } -// string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. -func (o JobTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) +func (o JobNotificationSettingsOutput) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobNotificationSettings) *JobNotificationSettings { + return &v + }).(JobNotificationSettingsPtrOutput) } -// integer value used to compare to the given metric. -func (o JobTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) +// (Bool) don't send alert for cancelled runs. +// +// The following parameter is only available on task level. +func (o JobNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } +// (Bool) don't send alert for skipped runs. +func (o JobNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +} -func (JobTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskHealthRule)(nil)).Elem() +type JobNotificationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (JobNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobNotificationSettings)(nil)).Elem() } -func (o JobTaskForEachTaskTaskHealthRuleArrayOutput) ToJobTaskForEachTaskTaskHealthRuleArrayOutput() JobTaskForEachTaskTaskHealthRuleArrayOutput { +func (o JobNotificationSettingsPtrOutput) ToJobNotificationSettingsPtrOutput() JobNotificationSettingsPtrOutput { return o } -func (o JobTaskForEachTaskTaskHealthRuleArrayOutput) ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleArrayOutput { +func (o JobNotificationSettingsPtrOutput) ToJobNotificationSettingsPtrOutputWithContext(ctx context.Context) JobNotificationSettingsPtrOutput { return o } -func (o JobTaskForEachTaskTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskHealthRule { - return vs[0].([]JobTaskForEachTaskTaskHealthRule)[vs[1].(int)] - }).(JobTaskForEachTaskTaskHealthRuleOutput) +func (o JobNotificationSettingsPtrOutput) Elem() JobNotificationSettingsOutput { + return o.ApplyT(func(v *JobNotificationSettings) JobNotificationSettings { + if v != nil { + return *v + } + var ret JobNotificationSettings + return ret + }).(JobNotificationSettingsOutput) } -type JobTaskForEachTaskTaskLibrary struct { - Cran *JobTaskForEachTaskTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` - Pypi *JobTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +// (Bool) don't send alert for cancelled runs. +// +// The following parameter is only available on task level. +func (o JobNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -// JobTaskForEachTaskTaskLibraryInput is an input type that accepts JobTaskForEachTaskTaskLibraryArgs and JobTaskForEachTaskTaskLibraryOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryInput` via: +// (Bool) don't send alert for skipped runs. +func (o JobNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +type JobParameter struct { + // Default value of the parameter. + // + // *You can use this block only together with `task` blocks, not with the legacy tasks specification!* + Default string `pulumi:"default"` + // The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. + Name string `pulumi:"name"` +} + +// JobParameterInput is an input type that accepts JobParameterArgs and JobParameterOutput values. +// You can construct a concrete instance of `JobParameterInput` via: // -// JobTaskForEachTaskTaskLibraryArgs{...} -type JobTaskForEachTaskTaskLibraryInput interface { +// JobParameterArgs{...} +type JobParameterInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryOutput() JobTaskForEachTaskTaskLibraryOutput - ToJobTaskForEachTaskTaskLibraryOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryOutput + ToJobParameterOutput() JobParameterOutput + ToJobParameterOutputWithContext(context.Context) JobParameterOutput } -type JobTaskForEachTaskTaskLibraryArgs struct { - Cran JobTaskForEachTaskTaskLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobTaskForEachTaskTaskLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobTaskForEachTaskTaskLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type JobParameterArgs struct { + // Default value of the parameter. + // + // *You can use this block only together with `task` blocks, not with the legacy tasks specification!* + Default pulumi.StringInput `pulumi:"default"` + // The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. + Name pulumi.StringInput `pulumi:"name"` } -func (JobTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibrary)(nil)).Elem() +func (JobParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobParameter)(nil)).Elem() } -func (i JobTaskForEachTaskTaskLibraryArgs) ToJobTaskForEachTaskTaskLibraryOutput() JobTaskForEachTaskTaskLibraryOutput { - return i.ToJobTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) +func (i JobParameterArgs) ToJobParameterOutput() JobParameterOutput { + return i.ToJobParameterOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryArgs) ToJobTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryOutput) +func (i JobParameterArgs) ToJobParameterOutputWithContext(ctx context.Context) JobParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobParameterOutput) } -// JobTaskForEachTaskTaskLibraryArrayInput is an input type that accepts JobTaskForEachTaskTaskLibraryArray and JobTaskForEachTaskTaskLibraryArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryArrayInput` via: +// JobParameterArrayInput is an input type that accepts JobParameterArray and JobParameterArrayOutput values. +// You can construct a concrete instance of `JobParameterArrayInput` via: // -// JobTaskForEachTaskTaskLibraryArray{ JobTaskForEachTaskTaskLibraryArgs{...} } -type JobTaskForEachTaskTaskLibraryArrayInput interface { +// JobParameterArray{ JobParameterArgs{...} } +type JobParameterArrayInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryArrayOutput() JobTaskForEachTaskTaskLibraryArrayOutput - ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryArrayOutput + ToJobParameterArrayOutput() JobParameterArrayOutput + ToJobParameterArrayOutputWithContext(context.Context) JobParameterArrayOutput } -type JobTaskForEachTaskTaskLibraryArray []JobTaskForEachTaskTaskLibraryInput +type JobParameterArray []JobParameterInput -func (JobTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskLibrary)(nil)).Elem() +func (JobParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobParameter)(nil)).Elem() } -func (i JobTaskForEachTaskTaskLibraryArray) ToJobTaskForEachTaskTaskLibraryArrayOutput() JobTaskForEachTaskTaskLibraryArrayOutput { - return i.ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) +func (i JobParameterArray) ToJobParameterArrayOutput() JobParameterArrayOutput { + return i.ToJobParameterArrayOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryArray) ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryArrayOutput) +func (i JobParameterArray) ToJobParameterArrayOutputWithContext(ctx context.Context) JobParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobParameterArrayOutput) } -type JobTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } +type JobParameterOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibrary)(nil)).Elem() +func (JobParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobParameter)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryOutput) ToJobTaskForEachTaskTaskLibraryOutput() JobTaskForEachTaskTaskLibraryOutput { +func (o JobParameterOutput) ToJobParameterOutput() JobParameterOutput { return o } -func (o JobTaskForEachTaskTaskLibraryOutput) ToJobTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryOutput { +func (o JobParameterOutput) ToJobParameterOutputWithContext(ctx context.Context) JobParameterOutput { return o } -func (o JobTaskForEachTaskTaskLibraryOutput) Cran() JobTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *JobTaskForEachTaskTaskLibraryCran { return v.Cran }).(JobTaskForEachTaskTaskLibraryCranPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryOutput) Maven() JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *JobTaskForEachTaskTaskLibraryMaven { return v.Maven }).(JobTaskForEachTaskTaskLibraryMavenPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryOutput) Pypi() JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *JobTaskForEachTaskTaskLibraryPypi { return v.Pypi }).(JobTaskForEachTaskTaskLibraryPypiPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +// Default value of the parameter. +// +// *You can use this block only together with `task` blocks, not with the legacy tasks specification!* +func (o JobParameterOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v JobParameter) string { return v.Default }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +// The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. +func (o JobParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v JobParameter) string { return v.Name }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } +type JobParameterArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskLibrary)(nil)).Elem() +func (JobParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobParameter)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryArrayOutput) ToJobTaskForEachTaskTaskLibraryArrayOutput() JobTaskForEachTaskTaskLibraryArrayOutput { +func (o JobParameterArrayOutput) ToJobParameterArrayOutput() JobParameterArrayOutput { return o } -func (o JobTaskForEachTaskTaskLibraryArrayOutput) ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryArrayOutput { +func (o JobParameterArrayOutput) ToJobParameterArrayOutputWithContext(ctx context.Context) JobParameterArrayOutput { return o } -func (o JobTaskForEachTaskTaskLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskLibrary { - return vs[0].([]JobTaskForEachTaskTaskLibrary)[vs[1].(int)] - }).(JobTaskForEachTaskTaskLibraryOutput) +func (o JobParameterArrayOutput) Index(i pulumi.IntInput) JobParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobParameter { + return vs[0].([]JobParameter)[vs[1].(int)] + }).(JobParameterOutput) } -type JobTaskForEachTaskTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobPipelineTask struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh *bool `pulumi:"fullRefresh"` + // The pipeline's unique ID. + PipelineId string `pulumi:"pipelineId"` } -// JobTaskForEachTaskTaskLibraryCranInput is an input type that accepts JobTaskForEachTaskTaskLibraryCranArgs and JobTaskForEachTaskTaskLibraryCranOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryCranInput` via: +// JobPipelineTaskInput is an input type that accepts JobPipelineTaskArgs and JobPipelineTaskOutput values. +// You can construct a concrete instance of `JobPipelineTaskInput` via: // -// JobTaskForEachTaskTaskLibraryCranArgs{...} -type JobTaskForEachTaskTaskLibraryCranInput interface { +// JobPipelineTaskArgs{...} +type JobPipelineTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryCranOutput() JobTaskForEachTaskTaskLibraryCranOutput - ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryCranOutput + ToJobPipelineTaskOutput() JobPipelineTaskOutput + ToJobPipelineTaskOutputWithContext(context.Context) JobPipelineTaskOutput } -type JobTaskForEachTaskTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobPipelineTaskArgs struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + // The pipeline's unique ID. + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (JobTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (JobPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobPipelineTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranOutput() JobTaskForEachTaskTaskLibraryCranOutput { - return i.ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) +func (i JobPipelineTaskArgs) ToJobPipelineTaskOutput() JobPipelineTaskOutput { + return i.ToJobPipelineTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryCranOutput) +func (i JobPipelineTaskArgs) ToJobPipelineTaskOutputWithContext(ctx context.Context) JobPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobPipelineTaskOutput) } -func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i JobPipelineTaskArgs) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { + return i.ToJobPipelineTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryCranOutput).ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) +func (i JobPipelineTaskArgs) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobPipelineTaskOutput).ToJobPipelineTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts JobTaskForEachTaskTaskLibraryCranArgs, JobTaskForEachTaskTaskLibraryCranPtr and JobTaskForEachTaskTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryCranPtrInput` via: +// JobPipelineTaskPtrInput is an input type that accepts JobPipelineTaskArgs, JobPipelineTaskPtr and JobPipelineTaskPtrOutput values. +// You can construct a concrete instance of `JobPipelineTaskPtrInput` via: // -// JobTaskForEachTaskTaskLibraryCranArgs{...} +// JobPipelineTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskLibraryCranPtrInput interface { +type JobPipelineTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput - ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput + ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput + ToJobPipelineTaskPtrOutputWithContext(context.Context) JobPipelineTaskPtrOutput } -type jobTaskForEachTaskTaskLibraryCranPtrType JobTaskForEachTaskTaskLibraryCranArgs +type jobPipelineTaskPtrType JobPipelineTaskArgs -func JobTaskForEachTaskTaskLibraryCranPtr(v *JobTaskForEachTaskTaskLibraryCranArgs) JobTaskForEachTaskTaskLibraryCranPtrInput { - return (*jobTaskForEachTaskTaskLibraryCranPtrType)(v) +func JobPipelineTaskPtr(v *JobPipelineTaskArgs) JobPipelineTaskPtrInput { + return (*jobPipelineTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (*jobPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobPipelineTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskLibraryCranPtrType) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobPipelineTaskPtrType) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { + return i.ToJobPipelineTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskLibraryCranPtrType) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryCranPtrOutput) +func (i *jobPipelineTaskPtrType) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobPipelineTaskPtrOutput) } -type JobTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } +type JobPipelineTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (JobPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobPipelineTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranOutput() JobTaskForEachTaskTaskLibraryCranOutput { +func (o JobPipelineTaskOutput) ToJobPipelineTaskOutput() JobPipelineTaskOutput { return o } -func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranOutput { +func (o JobPipelineTaskOutput) ToJobPipelineTaskOutputWithContext(ctx context.Context) JobPipelineTaskOutput { return o } -func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o JobPipelineTaskOutput) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { + return o.ToJobPipelineTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskLibraryCran) *JobTaskForEachTaskTaskLibraryCran { +func (o JobPipelineTaskOutput) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobPipelineTask) *JobPipelineTask { return &v - }).(JobTaskForEachTaskTaskLibraryCranPtrOutput) + }).(JobPipelineTaskPtrOutput) } -func (o JobTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +// The pipeline's unique ID. +func (o JobPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v JobPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobPipelineTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (JobPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobPipelineTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { +func (o JobPipelineTaskPtrOutput) ToJobPipelineTaskPtrOutput() JobPipelineTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { +func (o JobPipelineTaskPtrOutput) ToJobPipelineTaskPtrOutputWithContext(ctx context.Context) JobPipelineTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) Elem() JobTaskForEachTaskTaskLibraryCranOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryCran) JobTaskForEachTaskTaskLibraryCran { +func (o JobPipelineTaskPtrOutput) Elem() JobPipelineTaskOutput { + return o.ApplyT(func(v *JobPipelineTask) JobPipelineTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskLibraryCran + var ret JobPipelineTask return ret - }).(JobTaskForEachTaskTaskLibraryCranOutput) + }).(JobPipelineTaskOutput) } -func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryCran) *string { +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobPipelineTask) *bool { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryCran) *string { +// The pipeline's unique ID. +func (o JobPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobPipelineTask) *string { if v == nil { return nil } - return v.Repo + return &v.PipelineId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type JobPythonWheelTask struct { + // Python function as entry point for the task + EntryPoint *string `pulumi:"entryPoint"` + // Named parameters for the task + NamedParameters map[string]string `pulumi:"namedParameters"` + // Name of Python package + PackageName *string `pulumi:"packageName"` + // Parameters for the task + Parameters []string `pulumi:"parameters"` } -// JobTaskForEachTaskTaskLibraryMavenInput is an input type that accepts JobTaskForEachTaskTaskLibraryMavenArgs and JobTaskForEachTaskTaskLibraryMavenOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryMavenInput` via: +// JobPythonWheelTaskInput is an input type that accepts JobPythonWheelTaskArgs and JobPythonWheelTaskOutput values. +// You can construct a concrete instance of `JobPythonWheelTaskInput` via: // -// JobTaskForEachTaskTaskLibraryMavenArgs{...} -type JobTaskForEachTaskTaskLibraryMavenInput interface { +// JobPythonWheelTaskArgs{...} +type JobPythonWheelTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryMavenOutput() JobTaskForEachTaskTaskLibraryMavenOutput - ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryMavenOutput + ToJobPythonWheelTaskOutput() JobPythonWheelTaskOutput + ToJobPythonWheelTaskOutputWithContext(context.Context) JobPythonWheelTaskOutput } -type JobTaskForEachTaskTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobPythonWheelTaskArgs struct { + // Python function as entry point for the task + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + // Named parameters for the task + NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` + // Name of Python package + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + // Parameters for the task + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (JobTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (JobPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobPythonWheelTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenOutput() JobTaskForEachTaskTaskLibraryMavenOutput { - return i.ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) +func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskOutput() JobPythonWheelTaskOutput { + return i.ToJobPythonWheelTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryMavenOutput) +func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskOutputWithContext(ctx context.Context) JobPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobPythonWheelTaskOutput) } -func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { + return i.ToJobPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryMavenOutput).ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) +func (i JobPythonWheelTaskArgs) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobPythonWheelTaskOutput).ToJobPythonWheelTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts JobTaskForEachTaskTaskLibraryMavenArgs, JobTaskForEachTaskTaskLibraryMavenPtr and JobTaskForEachTaskTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryMavenPtrInput` via: +// JobPythonWheelTaskPtrInput is an input type that accepts JobPythonWheelTaskArgs, JobPythonWheelTaskPtr and JobPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `JobPythonWheelTaskPtrInput` via: // -// JobTaskForEachTaskTaskLibraryMavenArgs{...} +// JobPythonWheelTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskLibraryMavenPtrInput interface { +type JobPythonWheelTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput - ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput + ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput + ToJobPythonWheelTaskPtrOutputWithContext(context.Context) JobPythonWheelTaskPtrOutput } -type jobTaskForEachTaskTaskLibraryMavenPtrType JobTaskForEachTaskTaskLibraryMavenArgs +type jobPythonWheelTaskPtrType JobPythonWheelTaskArgs -func JobTaskForEachTaskTaskLibraryMavenPtr(v *JobTaskForEachTaskTaskLibraryMavenArgs) JobTaskForEachTaskTaskLibraryMavenPtrInput { - return (*jobTaskForEachTaskTaskLibraryMavenPtrType)(v) +func JobPythonWheelTaskPtr(v *JobPythonWheelTaskArgs) JobPythonWheelTaskPtrInput { + return (*jobPythonWheelTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (*jobPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobPythonWheelTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskLibraryMavenPtrType) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobPythonWheelTaskPtrType) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { + return i.ToJobPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskLibraryMavenPtrType) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryMavenPtrOutput) +func (i *jobPythonWheelTaskPtrType) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobPythonWheelTaskPtrOutput) } -type JobTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type JobPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (JobPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobPythonWheelTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenOutput() JobTaskForEachTaskTaskLibraryMavenOutput { +func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskOutput() JobPythonWheelTaskOutput { return o } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenOutput { +func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskOutputWithContext(ctx context.Context) JobPythonWheelTaskOutput { return o } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { + return o.ToJobPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskLibraryMaven) *JobTaskForEachTaskTaskLibraryMaven { +func (o JobPythonWheelTaskOutput) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobPythonWheelTask) *JobPythonWheelTask { return &v - }).(JobTaskForEachTaskTaskLibraryMavenPtrOutput) + }).(JobPythonWheelTaskPtrOutput) } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +// Python function as entry point for the task +func (o JobPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +// Named parameters for the task +func (o JobPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) } -func (o JobTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +// Name of Python package +func (o JobPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +// Parameters for the task +func (o JobPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} -func (JobTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +type JobPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobPythonWheelTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o JobPythonWheelTaskPtrOutput) ToJobPythonWheelTaskPtrOutput() JobPythonWheelTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o JobPythonWheelTaskPtrOutput) ToJobPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobPythonWheelTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() JobTaskForEachTaskTaskLibraryMavenOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) JobTaskForEachTaskTaskLibraryMaven { +func (o JobPythonWheelTaskPtrOutput) Elem() JobPythonWheelTaskOutput { + return o.ApplyT(func(v *JobPythonWheelTask) JobPythonWheelTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskLibraryMaven + var ret JobPythonWheelTask return ret - }).(JobTaskForEachTaskTaskLibraryMavenOutput) + }).(JobPythonWheelTaskOutput) } -func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) *string { +// Python function as entry point for the task +func (o JobPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobPythonWheelTask) *string { if v == nil { return nil } - return &v.Coordinates + return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) []string { +// Named parameters for the task +func (o JobPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobPythonWheelTask) map[string]string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.NamedParameters + }).(pulumi.StringMapOutput) } -func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) *string { +// Name of Python package +func (o JobPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobPythonWheelTask) *string { if v == nil { return nil } - return v.Repo + return v.PackageName }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +// Parameters for the task +func (o JobPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -// JobTaskForEachTaskTaskLibraryPypiInput is an input type that accepts JobTaskForEachTaskTaskLibraryPypiArgs and JobTaskForEachTaskTaskLibraryPypiOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryPypiInput` via: +type JobQueue struct { + // If true, enable queueing for the job. + Enabled bool `pulumi:"enabled"` +} + +// JobQueueInput is an input type that accepts JobQueueArgs and JobQueueOutput values. +// You can construct a concrete instance of `JobQueueInput` via: // -// JobTaskForEachTaskTaskLibraryPypiArgs{...} -type JobTaskForEachTaskTaskLibraryPypiInput interface { +// JobQueueArgs{...} +type JobQueueInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryPypiOutput() JobTaskForEachTaskTaskLibraryPypiOutput - ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryPypiOutput + ToJobQueueOutput() JobQueueOutput + ToJobQueueOutputWithContext(context.Context) JobQueueOutput } -type JobTaskForEachTaskTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobQueueArgs struct { + // If true, enable queueing for the job. + Enabled pulumi.BoolInput `pulumi:"enabled"` } -func (JobTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (JobQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobQueue)(nil)).Elem() } -func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiOutput() JobTaskForEachTaskTaskLibraryPypiOutput { - return i.ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) +func (i JobQueueArgs) ToJobQueueOutput() JobQueueOutput { + return i.ToJobQueueOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryPypiOutput) +func (i JobQueueArgs) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobQueueOutput) } -func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobQueueArgs) ToJobQueuePtrOutput() JobQueuePtrOutput { + return i.ToJobQueuePtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryPypiOutput).ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) +func (i JobQueueArgs) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobQueueOutput).ToJobQueuePtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts JobTaskForEachTaskTaskLibraryPypiArgs, JobTaskForEachTaskTaskLibraryPypiPtr and JobTaskForEachTaskTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryPypiPtrInput` via: +// JobQueuePtrInput is an input type that accepts JobQueueArgs, JobQueuePtr and JobQueuePtrOutput values. +// You can construct a concrete instance of `JobQueuePtrInput` via: // -// JobTaskForEachTaskTaskLibraryPypiArgs{...} +// JobQueueArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskLibraryPypiPtrInput interface { +type JobQueuePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput - ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput + ToJobQueuePtrOutput() JobQueuePtrOutput + ToJobQueuePtrOutputWithContext(context.Context) JobQueuePtrOutput } -type jobTaskForEachTaskTaskLibraryPypiPtrType JobTaskForEachTaskTaskLibraryPypiArgs +type jobQueuePtrType JobQueueArgs -func JobTaskForEachTaskTaskLibraryPypiPtr(v *JobTaskForEachTaskTaskLibraryPypiArgs) JobTaskForEachTaskTaskLibraryPypiPtrInput { - return (*jobTaskForEachTaskTaskLibraryPypiPtrType)(v) +func JobQueuePtr(v *JobQueueArgs) JobQueuePtrInput { + return (*jobQueuePtrType)(v) } -func (*jobTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (*jobQueuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobQueue)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskLibraryPypiPtrType) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobQueuePtrType) ToJobQueuePtrOutput() JobQueuePtrOutput { + return i.ToJobQueuePtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskLibraryPypiPtrType) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryPypiPtrOutput) +func (i *jobQueuePtrType) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobQueuePtrOutput) } -type JobTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type JobQueueOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (JobQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobQueue)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiOutput() JobTaskForEachTaskTaskLibraryPypiOutput { +func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput { return o } -func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiOutput { +func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput { return o } -func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobQueueOutput) ToJobQueuePtrOutput() JobQueuePtrOutput { + return o.ToJobQueuePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskLibraryPypi) *JobTaskForEachTaskTaskLibraryPypi { +func (o JobQueueOutput) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobQueue) *JobQueue { return &v - }).(JobTaskForEachTaskTaskLibraryPypiPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(JobQueuePtrOutput) } -func (o JobTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +// If true, enable queueing for the job. +func (o JobQueueOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v JobQueue) bool { return v.Enabled }).(pulumi.BoolOutput) } -type JobTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type JobQueuePtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (JobQueuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobQueue)(nil)).Elem() } -func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o JobQueuePtrOutput) ToJobQueuePtrOutput() JobQueuePtrOutput { return o } -func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o JobQueuePtrOutput) ToJobQueuePtrOutputWithContext(ctx context.Context) JobQueuePtrOutput { return o } -func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() JobTaskForEachTaskTaskLibraryPypiOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryPypi) JobTaskForEachTaskTaskLibraryPypi { +func (o JobQueuePtrOutput) Elem() JobQueueOutput { + return o.ApplyT(func(v *JobQueue) JobQueue { if v != nil { return *v } - var ret JobTaskForEachTaskTaskLibraryPypi + var ret JobQueue return ret - }).(JobTaskForEachTaskTaskLibraryPypiOutput) -} - -func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) -} - -func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryPypi) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) + }).(JobQueueOutput) } -type JobTaskForEachTaskTaskNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *JobTaskForEachTaskTaskNewClusterAutoscale `pulumi:"autoscale"` - AwsAttributes *JobTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *JobTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *JobTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []JobTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *JobTaskForEachTaskTaskNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` - EnableElasticDisk *bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *JobTaskForEachTaskTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []JobTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries []JobTaskForEachTaskTaskNewClusterLibrary `pulumi:"libraries"` - NodeTypeId *string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType *JobTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` +// If true, enable queueing for the job. +func (o JobQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobQueue) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -// JobTaskForEachTaskTaskNewClusterInput is an input type that accepts JobTaskForEachTaskTaskNewClusterArgs and JobTaskForEachTaskTaskNewClusterOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInput` via: +type JobRunAs struct { + // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. + // + // Example: + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ + // RunAs: &databricks.JobRunAsArgs{ + // ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + ServicePrincipalName *string `pulumi:"servicePrincipalName"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName *string `pulumi:"userName"` +} + +// JobRunAsInput is an input type that accepts JobRunAsArgs and JobRunAsOutput values. +// You can construct a concrete instance of `JobRunAsInput` via: // -// JobTaskForEachTaskTaskNewClusterArgs{...} -type JobTaskForEachTaskTaskNewClusterInput interface { +// JobRunAsArgs{...} +type JobRunAsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterOutput() JobTaskForEachTaskTaskNewClusterOutput - ToJobTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterOutput + ToJobRunAsOutput() JobRunAsOutput + ToJobRunAsOutputWithContext(context.Context) JobRunAsOutput } -type JobTaskForEachTaskTaskNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale JobTaskForEachTaskTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AwsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage JobTaskForEachTaskTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts JobTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries JobTaskForEachTaskTaskNewClusterLibraryArrayInput `pulumi:"libraries"` - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type JobRunAsArgs struct { + // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. + // + // Example: + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ + // RunAs: &databricks.JobRunAsArgs{ + // ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (JobTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (JobRunAsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobRunAs)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterOutput() JobTaskForEachTaskTaskNewClusterOutput { - return i.ToJobTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) +func (i JobRunAsArgs) ToJobRunAsOutput() JobRunAsOutput { + return i.ToJobRunAsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterOutput) +func (i JobRunAsArgs) ToJobRunAsOutputWithContext(ctx context.Context) JobRunAsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobRunAsOutput) } -func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (i JobRunAsArgs) ToJobRunAsPtrOutput() JobRunAsPtrOutput { + return i.ToJobRunAsPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterOutput).ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) +func (i JobRunAsArgs) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobRunAsOutput).ToJobRunAsPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterArgs, JobTaskForEachTaskTaskNewClusterPtr and JobTaskForEachTaskTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterPtrInput` via: +// JobRunAsPtrInput is an input type that accepts JobRunAsArgs, JobRunAsPtr and JobRunAsPtrOutput values. +// You can construct a concrete instance of `JobRunAsPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterArgs{...} +// JobRunAsArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterPtrInput interface { +type JobRunAsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput - ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput + ToJobRunAsPtrOutput() JobRunAsPtrOutput + ToJobRunAsPtrOutputWithContext(context.Context) JobRunAsPtrOutput } -type jobTaskForEachTaskTaskNewClusterPtrType JobTaskForEachTaskTaskNewClusterArgs +type jobRunAsPtrType JobRunAsArgs -func JobTaskForEachTaskTaskNewClusterPtr(v *JobTaskForEachTaskTaskNewClusterArgs) JobTaskForEachTaskTaskNewClusterPtrInput { - return (*jobTaskForEachTaskTaskNewClusterPtrType)(v) +func JobRunAsPtr(v *JobRunAsArgs) JobRunAsPtrInput { + return (*jobRunAsPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (*jobRunAsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobRunAs)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterPtrType) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (i *jobRunAsPtrType) ToJobRunAsPtrOutput() JobRunAsPtrOutput { + return i.ToJobRunAsPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterPtrType) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterPtrOutput) +func (i *jobRunAsPtrType) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobRunAsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } +type JobRunAsOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (JobRunAsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobRunAs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterOutput() JobTaskForEachTaskTaskNewClusterOutput { +func (o JobRunAsOutput) ToJobRunAsOutput() JobRunAsOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterOutput { +func (o JobRunAsOutput) ToJobRunAsOutputWithContext(ctx context.Context) JobRunAsOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (o JobRunAsOutput) ToJobRunAsPtrOutput() JobRunAsPtrOutput { + return o.ToJobRunAsPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewCluster { +func (o JobRunAsOutput) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobRunAs) *JobRunAs { return &v - }).(JobTaskForEachTaskTaskNewClusterPtrOutput) + }).(JobRunAsPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. +// +// Example: +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ +// RunAs: &databricks.JobRunAsArgs{ +// ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o JobRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) Autoscale() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAutoscale { - return v.Autoscale - }).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +// The email of an active workspace user. Non-admin users can only set this field to their own email. +func (o JobRunAsOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) AwsAttributes() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAwsAttributes { - return v.AwsAttributes - }).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) -} +type JobRunAsPtrOutput struct{ *pulumi.OutputState } -func (o JobTaskForEachTaskTaskNewClusterOutput) AzureAttributes() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAzureAttributes { - return v.AzureAttributes - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (JobRunAsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobRunAs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o JobRunAsPtrOutput) ToJobRunAsPtrOutput() JobRunAsPtrOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterClusterLogConf { - return v.ClusterLogConf - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (o JobRunAsPtrOutput) ToJobRunAsPtrOutputWithContext(ctx context.Context) JobRunAsPtrOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (o JobRunAsPtrOutput) Elem() JobRunAsOutput { + return o.ApplyT(func(v *JobRunAs) JobRunAs { + if v != nil { + return *v + } + var ret JobRunAs + return ret + }).(JobRunAsOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. +// +// Example: +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{ +// RunAs: &databricks.JobRunAsArgs{ +// ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o JobRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobRunAs) *string { + if v == nil { + return nil + } + return v.ServicePrincipalName + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +// The email of an active workspace user. Non-admin users can only set this field to their own email. +func (o JobRunAsPtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobRunAs) *string { + if v == nil { + return nil + } + return v.UserName + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +type JobRunJobTask struct { + // (String) ID of the job + JobId int `pulumi:"jobId"` + // (Map) Job parameters for the task + JobParameters map[string]string `pulumi:"jobParameters"` } -func (o JobTaskForEachTaskTaskNewClusterOutput) DockerImage() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterDockerImage { - return v.DockerImage - }).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) -} +// JobRunJobTaskInput is an input type that accepts JobRunJobTaskArgs and JobRunJobTaskOutput values. +// You can construct a concrete instance of `JobRunJobTaskInput` via: +// +// JobRunJobTaskArgs{...} +type JobRunJobTaskInput interface { + pulumi.Input -func (o JobTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) + ToJobRunJobTaskOutput() JobRunJobTaskOutput + ToJobRunJobTaskOutputWithContext(context.Context) JobRunJobTaskOutput } -func (o JobTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) +type JobRunJobTaskArgs struct { + // (String) ID of the job + JobId pulumi.IntInput `pulumi:"jobId"` + // (Map) Job parameters for the task + JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` } -func (o JobTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +func (JobRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobRunJobTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func (i JobRunJobTaskArgs) ToJobRunJobTaskOutput() JobRunJobTaskOutput { + return i.ToJobRunJobTaskOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterOutput) GcpAttributes() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterGcpAttributes { - return v.GcpAttributes - }).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (i JobRunJobTaskArgs) ToJobRunJobTaskOutputWithContext(ctx context.Context) JobRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobRunJobTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (i JobRunJobTaskArgs) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { + return i.ToJobRunJobTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterOutput) InitScripts() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterInitScript { - return v.InitScripts - }).(JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +func (i JobRunJobTaskArgs) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobRunJobTaskOutput).ToJobRunJobTaskPtrOutputWithContext(ctx) } -func (o JobTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +// JobRunJobTaskPtrInput is an input type that accepts JobRunJobTaskArgs, JobRunJobTaskPtr and JobRunJobTaskPtrOutput values. +// You can construct a concrete instance of `JobRunJobTaskPtrInput` via: +// +// JobRunJobTaskArgs{...} +// +// or: +// +// nil +type JobRunJobTaskPtrInput interface { + pulumi.Input + + ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput + ToJobRunJobTaskPtrOutputWithContext(context.Context) JobRunJobTaskPtrOutput } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobTaskForEachTaskTaskNewClusterOutput) Libraries() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterLibrary { return v.Libraries }).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) +type jobRunJobTaskPtrType JobRunJobTaskArgs + +func JobRunJobTaskPtr(v *JobRunJobTaskArgs) JobRunJobTaskPtrInput { + return (*jobRunJobTaskPtrType)(v) } -func (o JobTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (*jobRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobRunJobTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (i *jobRunJobTaskPtrType) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { + return i.ToJobRunJobTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i *jobRunJobTaskPtrType) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobRunJobTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +type JobRunJobTaskOutput struct{ *pulumi.OutputState } + +func (JobRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobRunJobTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o JobRunJobTaskOutput) ToJobRunJobTaskOutput() JobRunJobTaskOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o JobRunJobTaskOutput) ToJobRunJobTaskOutputWithContext(ctx context.Context) JobRunJobTaskOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o JobRunJobTaskOutput) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { + return o.ToJobRunJobTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o JobRunJobTaskOutput) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobRunJobTask) *JobRunJobTask { + return &v + }).(JobRunJobTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +// (String) ID of the job +func (o JobRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v JobRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -// isn't supported -func (o JobTaskForEachTaskTaskNewClusterOutput) WorkloadType() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterWorkloadType { - return v.WorkloadType - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +// (Map) Job parameters for the task +func (o JobRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) } -type JobTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type JobRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (JobRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobRunJobTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { +func (o JobRunJobTaskPtrOutput) ToJobRunJobTaskPtrOutput() JobRunJobTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { +func (o JobRunJobTaskPtrOutput) ToJobRunJobTaskPtrOutputWithContext(ctx context.Context) JobRunJobTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) JobTaskForEachTaskTaskNewCluster { +func (o JobRunJobTaskPtrOutput) Elem() JobRunJobTaskOutput { + return o.ApplyT(func(v *JobRunJobTask) JobRunJobTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewCluster + var ret JobRunJobTask return ret - }).(JobTaskForEachTaskTaskNewClusterOutput) + }).(JobRunJobTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { +// (String) ID of the job +func (o JobRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobRunJobTask) *int { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAutoscale { +// (Map) Job parameters for the task +func (o JobRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobRunJobTask) map[string]string { if v == nil { return nil } - return v.Autoscale - }).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) + return v.JobParameters + }).(pulumi.StringMapOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +type JobSchedule struct { + // Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. + PauseStatus *string `pulumi:"pauseStatus"` + // A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. + QuartzCronExpression string `pulumi:"quartzCronExpression"` + // A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. + TimezoneId string `pulumi:"timezoneId"` } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +// JobScheduleInput is an input type that accepts JobScheduleArgs and JobScheduleOutput values. +// You can construct a concrete instance of `JobScheduleInput` via: +// +// JobScheduleArgs{...} +type JobScheduleInput interface { + pulumi.Input + + ToJobScheduleOutput() JobScheduleOutput + ToJobScheduleOutputWithContext(context.Context) JobScheduleOutput } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) +type JobScheduleArgs struct { + // Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + // A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + // A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +} + +func (JobScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobSchedule)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (i JobScheduleArgs) ToJobScheduleOutput() JobScheduleOutput { + return i.ToJobScheduleOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (i JobScheduleArgs) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobScheduleOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (i JobScheduleArgs) ToJobSchedulePtrOutput() JobSchedulePtrOutput { + return i.ToJobSchedulePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (i JobScheduleArgs) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobScheduleOutput).ToJobSchedulePtrOutputWithContext(ctx) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) -} +// JobSchedulePtrInput is an input type that accepts JobScheduleArgs, JobSchedulePtr and JobSchedulePtrOutput values. +// You can construct a concrete instance of `JobSchedulePtrInput` via: +// +// JobScheduleArgs{...} +// +// or: +// +// nil +type JobSchedulePtrInput interface { + pulumi.Input -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) + ToJobSchedulePtrOutput() JobSchedulePtrOutput + ToJobSchedulePtrOutputWithContext(context.Context) JobSchedulePtrOutput } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +type jobSchedulePtrType JobScheduleArgs + +func JobSchedulePtr(v *JobScheduleArgs) JobSchedulePtrInput { + return (*jobSchedulePtrType)(v) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +func (*jobSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobSchedule)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (i *jobSchedulePtrType) ToJobSchedulePtrOutput() JobSchedulePtrOutput { + return i.ToJobSchedulePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func (i *jobSchedulePtrType) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSchedulePtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +type JobScheduleOutput struct{ *pulumi.OutputState } + +func (JobScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobSchedule)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (o JobScheduleOutput) ToJobScheduleOutput() JobScheduleOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +func (o JobScheduleOutput) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +func (o JobScheduleOutput) ToJobSchedulePtrOutput() JobSchedulePtrOutput { + return o.ToJobSchedulePtrOutputWithContext(context.Background()) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Libraries() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) +func (o JobScheduleOutput) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSchedule) *JobSchedule { + return &v + }).(JobSchedulePtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.NodeTypeId - }).(pulumi.StringPtrOutput) +// Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. +func (o JobScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) +// A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. +func (o JobScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v JobSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +// A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. +func (o JobScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v JobSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +type JobSchedulePtrOutput struct{ *pulumi.OutputState } + +func (JobSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobSchedule)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (o JobSchedulePtrOutput) ToJobSchedulePtrOutput() JobSchedulePtrOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +func (o JobSchedulePtrOutput) ToJobSchedulePtrOutputWithContext(ctx context.Context) JobSchedulePtrOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) map[string]string { - if v == nil { - return nil +func (o JobSchedulePtrOutput) Elem() JobScheduleOutput { + return o.ApplyT(func(v *JobSchedule) JobSchedule { + if v != nil { + return *v } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) + var ret JobSchedule + return ret + }).(JobScheduleOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { +// Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pauseStatus`. +func (o JobSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSchedule) *string { if v == nil { return nil } - return &v.SparkVersion + return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []string { +// A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. +func (o JobSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSchedule) *string { if v == nil { return nil } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -// isn't supported -func (o JobTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterWorkloadType { +// A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. +func (o JobSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSchedule) *string { if v == nil { return nil } - return v.WorkloadType - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) + return &v.TimezoneId + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type JobSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + MainClassName *string `pulumi:"mainClassName"` + // (List) Parameters passed to the main method. + Parameters []string `pulumi:"parameters"` } -// JobTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAutoscaleArgs and JobTaskForEachTaskTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAutoscaleInput` via: +// JobSparkJarTaskInput is an input type that accepts JobSparkJarTaskArgs and JobSparkJarTaskOutput values. +// You can construct a concrete instance of `JobSparkJarTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterAutoscaleArgs{...} -type JobTaskForEachTaskTaskNewClusterAutoscaleInput interface { +// JobSparkJarTaskArgs{...} +type JobSparkJarTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterAutoscaleOutput() JobTaskForEachTaskTaskNewClusterAutoscaleOutput - ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAutoscaleOutput + ToJobSparkJarTaskOutput() JobSparkJarTaskOutput + ToJobSparkJarTaskOutputWithContext(context.Context) JobSparkJarTaskOutput } -type JobTaskForEachTaskTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type JobSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + // (List) Parameters passed to the main method. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (JobSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobSparkJarTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutput() JobTaskForEachTaskTaskNewClusterAutoscaleOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) +func (i JobSparkJarTaskArgs) ToJobSparkJarTaskOutput() JobSparkJarTaskOutput { + return i.ToJobSparkJarTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAutoscaleOutput) +func (i JobSparkJarTaskArgs) ToJobSparkJarTaskOutputWithContext(ctx context.Context) JobSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkJarTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i JobSparkJarTaskArgs) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { + return i.ToJobSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAutoscaleOutput).ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i JobSparkJarTaskArgs) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkJarTaskOutput).ToJobSparkJarTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAutoscaleArgs, JobTaskForEachTaskTaskNewClusterAutoscalePtr and JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: +// JobSparkJarTaskPtrInput is an input type that accepts JobSparkJarTaskArgs, JobSparkJarTaskPtr and JobSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `JobSparkJarTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +// JobSparkJarTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { +type JobSparkJarTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput - ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput + ToJobSparkJarTaskPtrOutputWithContext(context.Context) JobSparkJarTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterAutoscalePtrType JobTaskForEachTaskTaskNewClusterAutoscaleArgs +type jobSparkJarTaskPtrType JobSparkJarTaskArgs -func JobTaskForEachTaskTaskNewClusterAutoscalePtr(v *JobTaskForEachTaskTaskNewClusterAutoscaleArgs) JobTaskForEachTaskTaskNewClusterAutoscalePtrInput { - return (*jobTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) +func JobSparkJarTaskPtr(v *JobSparkJarTaskArgs) JobSparkJarTaskPtrInput { + return (*jobSparkJarTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (*jobSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobSparkJarTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterAutoscalePtrType) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *jobSparkJarTaskPtrType) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { + return i.ToJobSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterAutoscalePtrType) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +func (i *jobSparkJarTaskPtrType) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkJarTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type JobSparkJarTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (JobSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobSparkJarTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutput() JobTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o JobSparkJarTaskOutput) ToJobSparkJarTaskOutput() JobSparkJarTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o JobSparkJarTaskOutput) ToJobSparkJarTaskOutputWithContext(ctx context.Context) JobSparkJarTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o JobSparkJarTaskOutput) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { + return o.ToJobSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAutoscale) *JobTaskForEachTaskTaskNewClusterAutoscale { +func (o JobSparkJarTaskOutput) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSparkJarTask) *JobSparkJarTask { return &v - }).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) + }).(JobSparkJarTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o JobSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. +func (o JobSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +// (List) Parameters passed to the main method. +func (o JobSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} -func (JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +type JobSparkJarTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobSparkJarTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o JobSparkJarTaskPtrOutput) ToJobSparkJarTaskPtrOutput() JobSparkJarTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o JobSparkJarTaskPtrOutput) ToJobSparkJarTaskPtrOutputWithContext(ctx context.Context) JobSparkJarTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAutoscale) JobTaskForEachTaskTaskNewClusterAutoscale { +func (o JobSparkJarTaskPtrOutput) Elem() JobSparkJarTaskOutput { + return o.ApplyT(func(v *JobSparkJarTask) JobSparkJarTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterAutoscale + var ret JobSparkJarTask return ret - }).(JobTaskForEachTaskTaskNewClusterAutoscaleOutput) + }).(JobSparkJarTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAutoscale) *int { +func (o JobSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSparkJarTask) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.JarUri + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAutoscale) *int { +// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. +func (o JobSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSparkJarTask) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.MainClassName + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +// (List) Parameters passed to the main method. +func (o JobSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobSparkJarTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -// JobTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAwsAttributesArgs and JobTaskForEachTaskTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAwsAttributesInput` via: +type JobSparkPythonTask struct { + // (List) Command line parameters passed to the Python file. + Parameters []string `pulumi:"parameters"` + // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + PythonFile string `pulumi:"pythonFile"` + // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. + Source *string `pulumi:"source"` +} + +// JobSparkPythonTaskInput is an input type that accepts JobSparkPythonTaskArgs and JobSparkPythonTaskOutput values. +// You can construct a concrete instance of `JobSparkPythonTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} -type JobTaskForEachTaskTaskNewClusterAwsAttributesInput interface { +// JobSparkPythonTaskArgs{...} +type JobSparkPythonTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput - ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToJobSparkPythonTaskOutput() JobSparkPythonTaskOutput + ToJobSparkPythonTaskOutputWithContext(context.Context) JobSparkPythonTaskOutput } -type JobTaskForEachTaskTaskNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type JobSparkPythonTaskArgs struct { + // (List) Command line parameters passed to the Python file. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. + Source pulumi.StringPtrInput `pulumi:"source"` } -func (JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (JobSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobSparkPythonTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskOutput() JobSparkPythonTaskOutput { + return i.ToJobSparkPythonTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) +func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskOutputWithContext(ctx context.Context) JobSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkPythonTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { + return i.ToJobSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i JobSparkPythonTaskArgs) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkPythonTaskOutput).ToJobSparkPythonTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAwsAttributesArgs, JobTaskForEachTaskTaskNewClusterAwsAttributesPtr and JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: +// JobSparkPythonTaskPtrInput is an input type that accepts JobSparkPythonTaskArgs, JobSparkPythonTaskPtr and JobSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `JobSparkPythonTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +// JobSparkPythonTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { +type JobSparkPythonTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput - ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput -} - -type jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType JobTaskForEachTaskTaskNewClusterAwsAttributesArgs - -func JobTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { - return (*jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) -} - -func (*jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() -} - -func (i *jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) -} - -func (i *jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) -} - -type JobTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() + ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput + ToJobSparkPythonTaskPtrOutputWithContext(context.Context) JobSparkPythonTaskPtrOutput } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return o -} +type jobSparkPythonTaskPtrType JobSparkPythonTaskArgs -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return o +func JobSparkPythonTaskPtr(v *JobSparkPythonTaskArgs) JobSparkPythonTaskPtrInput { + return (*jobSparkPythonTaskPtrType)(v) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (*jobSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobSparkPythonTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAwsAttributes) *JobTaskForEachTaskTaskNewClusterAwsAttributes { - return &v - }).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (i *jobSparkPythonTaskPtrType) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { + return i.ToJobSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (i *jobSparkPythonTaskPtrType) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkPythonTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} +type JobSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +func (JobSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobSparkPythonTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskOutput() JobSparkPythonTaskOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskOutputWithContext(ctx context.Context) JobSparkPythonTaskOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { + return o.ToJobSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o JobSparkPythonTaskOutput) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSparkPythonTask) *JobSparkPythonTask { + return &v + }).(JobSparkPythonTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +// (List) Command line parameters passed to the Python file. +func (o JobSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. +func (o JobSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v JobSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. +func (o JobSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type JobSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (JobSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobSparkPythonTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o JobSparkPythonTaskPtrOutput) ToJobSparkPythonTaskPtrOutput() JobSparkPythonTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o JobSparkPythonTaskPtrOutput) ToJobSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobSparkPythonTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) JobTaskForEachTaskTaskNewClusterAwsAttributes { +func (o JobSparkPythonTaskPtrOutput) Elem() JobSparkPythonTaskOutput { + return o.ApplyT(func(v *JobSparkPythonTask) JobSparkPythonTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterAwsAttributes + var ret JobSparkPythonTask return ret - }).(JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) + }).(JobSparkPythonTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { +// (List) Command line parameters passed to the Python file. +func (o JobSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobSparkPythonTask) []string { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { +// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. +func (o JobSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSparkPythonTask) *string { if v == nil { return nil } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) + return &v.PythonFile + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { +// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. +func (o JobSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobSparkPythonTask) *string { if v == nil { return nil } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +type JobSparkSubmitTask struct { + // (List) Command-line parameters passed to spark submit. + Parameters []string `pulumi:"parameters"` } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) +// JobSparkSubmitTaskInput is an input type that accepts JobSparkSubmitTaskArgs and JobSparkSubmitTaskOutput values. +// You can construct a concrete instance of `JobSparkSubmitTaskInput` via: +// +// JobSparkSubmitTaskArgs{...} +type JobSparkSubmitTaskInput interface { + pulumi.Input + + ToJobSparkSubmitTaskOutput() JobSparkSubmitTaskOutput + ToJobSparkSubmitTaskOutputWithContext(context.Context) JobSparkSubmitTaskOutput } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) +type JobSparkSubmitTaskArgs struct { + // (List) Command-line parameters passed to spark submit. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (JobSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobSparkSubmitTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskOutput() JobSparkSubmitTaskOutput { + return i.ToJobSparkSubmitTaskOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskOutputWithContext(ctx context.Context) JobSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkSubmitTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { + return i.ToJobSparkSubmitTaskPtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +func (i JobSparkSubmitTaskArgs) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkSubmitTaskOutput).ToJobSparkSubmitTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesArgs and JobTaskForEachTaskTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesInput` via: +// JobSparkSubmitTaskPtrInput is an input type that accepts JobSparkSubmitTaskArgs, JobSparkSubmitTaskPtr and JobSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `JobSparkSubmitTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} -type JobTaskForEachTaskTaskNewClusterAzureAttributesInput interface { +// JobSparkSubmitTaskArgs{...} +// +// or: +// +// nil +type JobSparkSubmitTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput - ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesOutput + ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput + ToJobSparkSubmitTaskPtrOutputWithContext(context.Context) JobSparkSubmitTaskPtrOutput } -type JobTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type jobSparkSubmitTaskPtrType JobSparkSubmitTaskArgs + +func JobSparkSubmitTaskPtr(v *JobSparkSubmitTaskArgs) JobSparkSubmitTaskPtrInput { + return (*jobSparkSubmitTaskPtrType)(v) } -func (JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (*jobSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobSparkSubmitTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i *jobSparkSubmitTaskPtrType) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { + return i.ToJobSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) +func (i *jobSparkSubmitTaskPtrType) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobSparkSubmitTaskPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +type JobSparkSubmitTaskOutput struct{ *pulumi.OutputState } + +func (JobSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobSparkSubmitTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskOutput() JobSparkSubmitTaskOutput { + return o } -// JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesArgs, JobTaskForEachTaskTaskNewClusterAzureAttributesPtr and JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} -// -// or: -// -// nil -type JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { - pulumi.Input +func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskOutputWithContext(ctx context.Context) JobSparkSubmitTaskOutput { + return o +} - ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput - ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput +func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { + return o.ToJobSparkSubmitTaskPtrOutputWithContext(context.Background()) } -type jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType JobTaskForEachTaskTaskNewClusterAzureAttributesArgs +func (o JobSparkSubmitTaskOutput) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobSparkSubmitTask) *JobSparkSubmitTask { + return &v + }).(JobSparkSubmitTaskPtrOutput) +} -func JobTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { - return (*jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) +// (List) Command-line parameters passed to spark submit. +func (o JobSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (*jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +type JobSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobSparkSubmitTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o JobSparkSubmitTaskPtrOutput) ToJobSparkSubmitTaskPtrOutput() JobSparkSubmitTaskPtrOutput { + return o } -func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (o JobSparkSubmitTaskPtrOutput) ToJobSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobSparkSubmitTaskPtrOutput { + return o } -type JobTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +func (o JobSparkSubmitTaskPtrOutput) Elem() JobSparkSubmitTaskOutput { + return o.ApplyT(func(v *JobSparkSubmitTask) JobSparkSubmitTask { + if v != nil { + return *v + } + var ret JobSparkSubmitTask + return ret + }).(JobSparkSubmitTaskOutput) +} -func (JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +// (List) Command-line parameters passed to spark submit. +func (o JobSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobSparkSubmitTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o +type JobTask struct { + CleanRoomsNotebookTask *JobTaskCleanRoomsNotebookTask `pulumi:"cleanRoomsNotebookTask"` + ConditionTask *JobTaskConditionTask `pulumi:"conditionTask"` + DbtTask *JobTaskDbtTask `pulumi:"dbtTask"` + // block specifying dependency(-ies) for a given task. + DependsOns []JobTaskDependsOn `pulumi:"dependsOns"` + // description for this task. + Description *string `pulumi:"description"` + // A flag to disable auto optimization in serverless tasks. + DisableAutoOptimization *bool `pulumi:"disableAutoOptimization"` + // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + EmailNotifications *JobTaskEmailNotifications `pulumi:"emailNotifications"` + // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. + EnvironmentKey *string `pulumi:"environmentKey"` + // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + ExistingClusterId *string `pulumi:"existingClusterId"` + ForEachTask *JobTaskForEachTask `pulumi:"forEachTask"` + // block described below that specifies health conditions for a given task. + Health *JobTaskHealth `pulumi:"health"` + // Identifier of the Job cluster specified in the `jobCluster` block. + JobClusterKey *string `pulumi:"jobClusterKey"` + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. + Libraries []JobTaskLibrary `pulumi:"libraries"` + // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + MaxRetries *int `pulumi:"maxRetries"` + // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* + NewCluster *JobTaskNewCluster `pulumi:"newCluster"` + NotebookTask *JobTaskNotebookTask `pulumi:"notebookTask"` + // An optional block controlling the notification settings on the job level documented below. + NotificationSettings *JobTaskNotificationSettings `pulumi:"notificationSettings"` + PipelineTask *JobTaskPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *JobTaskPythonWheelTask `pulumi:"pythonWheelTask"` + // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + RetryOnTimeout *bool `pulumi:"retryOnTimeout"` + // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + RunIf *string `pulumi:"runIf"` + RunJobTask *JobTaskRunJobTask `pulumi:"runJobTask"` + SparkJarTask *JobTaskSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *JobTaskSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *JobTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` + SqlTask *JobTaskSqlTask `pulumi:"sqlTask"` + // string specifying an unique key for a given task. + // * `*_task` - (Required) one of the specific task blocks described below: + TaskKey string `pulumi:"taskKey"` + // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + // + // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. + WebhookNotifications *JobTaskWebhookNotifications `pulumi:"webhookNotifications"` } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o +// JobTaskInput is an input type that accepts JobTaskArgs and JobTaskOutput values. +// You can construct a concrete instance of `JobTaskInput` via: +// +// JobTaskArgs{...} +type JobTaskInput interface { + pulumi.Input + + ToJobTaskOutput() JobTaskOutput + ToJobTaskOutputWithContext(context.Context) JobTaskOutput } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +type JobTaskArgs struct { + CleanRoomsNotebookTask JobTaskCleanRoomsNotebookTaskPtrInput `pulumi:"cleanRoomsNotebookTask"` + ConditionTask JobTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask JobTaskDbtTaskPtrInput `pulumi:"dbtTask"` + // block specifying dependency(-ies) for a given task. + DependsOns JobTaskDependsOnArrayInput `pulumi:"dependsOns"` + // description for this task. + Description pulumi.StringPtrInput `pulumi:"description"` + // A flag to disable auto optimization in serverless tasks. + DisableAutoOptimization pulumi.BoolPtrInput `pulumi:"disableAutoOptimization"` + // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + EmailNotifications JobTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. + EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` + // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + ForEachTask JobTaskForEachTaskPtrInput `pulumi:"forEachTask"` + // block described below that specifies health conditions for a given task. + Health JobTaskHealthPtrInput `pulumi:"health"` + // Identifier of the Job cluster specified in the `jobCluster` block. + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. + Libraries JobTaskLibraryArrayInput `pulumi:"libraries"` + // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* + NewCluster JobTaskNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask JobTaskNotebookTaskPtrInput `pulumi:"notebookTask"` + // An optional block controlling the notification settings on the job level documented below. + NotificationSettings JobTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` + PipelineTask JobTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask JobTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` + // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + RunIf pulumi.StringPtrInput `pulumi:"runIf"` + RunJobTask JobTaskRunJobTaskPtrInput `pulumi:"runJobTask"` + SparkJarTask JobTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask JobTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask JobTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + SqlTask JobTaskSqlTaskPtrInput `pulumi:"sqlTask"` + // string specifying an unique key for a given task. + // * `*_task` - (Required) one of the specific task blocks described below: + TaskKey pulumi.StringInput `pulumi:"taskKey"` + // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + // + // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. + WebhookNotifications JobTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAzureAttributes) *JobTaskForEachTaskTaskNewClusterAzureAttributes { - return &v - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) +func (JobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (i JobTaskArgs) ToJobTaskOutput() JobTaskOutput { + return i.ToJobTaskOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (i JobTaskArgs) ToJobTaskOutputWithContext(ctx context.Context) JobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +// JobTaskArrayInput is an input type that accepts JobTaskArray and JobTaskArrayOutput values. +// You can construct a concrete instance of `JobTaskArrayInput` via: +// +// JobTaskArray{ JobTaskArgs{...} } +type JobTaskArrayInput interface { + pulumi.Input + + ToJobTaskArrayOutput() JobTaskArrayOutput + ToJobTaskArrayOutputWithContext(context.Context) JobTaskArrayOutput } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +type JobTaskArray []JobTaskInput + +func (JobTaskArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTask)(nil)).Elem() } -type JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +func (i JobTaskArray) ToJobTaskArrayOutput() JobTaskArrayOutput { + return i.ToJobTaskArrayOutputWithContext(context.Background()) +} -func (JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (i JobTaskArray) ToJobTaskArrayOutputWithContext(ctx context.Context) JobTaskArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +type JobTaskOutput struct{ *pulumi.OutputState } + +func (JobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTask)(nil)).Elem() +} + +func (o JobTaskOutput) ToJobTaskOutput() JobTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o JobTaskOutput) ToJobTaskOutputWithContext(ctx context.Context) JobTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) JobTaskForEachTaskTaskNewClusterAzureAttributes { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterAzureAttributes - return ret - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) +func (o JobTaskOutput) CleanRoomsNotebookTask() JobTaskCleanRoomsNotebookTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskCleanRoomsNotebookTask { return v.CleanRoomsNotebookTask }).(JobTaskCleanRoomsNotebookTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +func (o JobTaskOutput) ConditionTask() JobTaskConditionTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskConditionTask { return v.ConditionTask }).(JobTaskConditionTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o JobTaskOutput) DbtTask() JobTaskDbtTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskDbtTask { return v.DbtTask }).(JobTaskDbtTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { - if v == nil { - return nil - } - return v.LogAnalyticsInfo - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +// block specifying dependency(-ies) for a given task. +func (o JobTaskOutput) DependsOns() JobTaskDependsOnArrayOutput { + return o.ApplyT(func(v JobTask) []JobTaskDependsOn { return v.DependsOns }).(JobTaskDependsOnArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +// description for this task. +func (o JobTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTask) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// A flag to disable auto optimization in serverless tasks. +func (o JobTaskOutput) DisableAutoOptimization() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTask) *bool { return v.DisableAutoOptimization }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +// An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. +func (o JobTaskOutput) EmailNotifications() JobTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskEmailNotifications { return v.EmailNotifications }).(JobTaskEmailNotificationsPtrOutput) } -// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs and JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput` via: -// -// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} -type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput interface { - pulumi.Input +// identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. +func (o JobTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) +} - ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput - ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput +// Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* +func (o JobTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +func (o JobTaskOutput) ForEachTask() JobTaskForEachTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskForEachTask { return v.ForEachTask }).(JobTaskForEachTaskPtrOutput) } -func (JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +// block described below that specifies health conditions for a given task. +func (o JobTaskOutput) Health() JobTaskHealthPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskHealth { return v.Health }).(JobTaskHealthPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +// Identifier of the Job cluster specified in the `jobCluster` block. +func (o JobTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) +// (Set) An optional list of libraries to be installed on the cluster that will execute the job. +func (o JobTaskOutput) Libraries() JobTaskLibraryArrayOutput { + return o.ApplyT(func(v JobTask) []JobTaskLibrary { return v.Libraries }).(JobTaskLibraryArrayOutput) } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +// (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. +func (o JobTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +// (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. +func (o JobTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs, JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtr and JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} -// -// or: -// -// nil -type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { - pulumi.Input +// Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* +func (o JobTaskOutput) NewCluster() JobTaskNewClusterPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskNewCluster { return v.NewCluster }).(JobTaskNewClusterPtrOutput) +} - ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput - ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput +func (o JobTaskOutput) NotebookTask() JobTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskNotebookTask { return v.NotebookTask }).(JobTaskNotebookTaskPtrOutput) } -type jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs +// An optional block controlling the notification settings on the job level documented below. +func (o JobTaskOutput) NotificationSettings() JobTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskNotificationSettings { return v.NotificationSettings }).(JobTaskNotificationSettingsPtrOutput) +} -func JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput { - return (*jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) +func (o JobTaskOutput) PipelineTask() JobTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskPipelineTask { return v.PipelineTask }).(JobTaskPipelineTaskPtrOutput) } -func (*jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (o JobTaskOutput) PythonWheelTask() JobTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskPythonWheelTask { return v.PythonWheelTask }).(JobTaskPythonWheelTaskPtrOutput) } -func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +// (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. +func (o JobTaskOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTask) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) } -func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +// An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. +func (o JobTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +func (o JobTaskOutput) RunJobTask() JobTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskRunJobTask { return v.RunJobTask }).(JobTaskRunJobTaskPtrOutput) +} -func (JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (o JobTaskOutput) SparkJarTask() JobTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskSparkJarTask { return v.SparkJarTask }).(JobTaskSparkJarTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return o +func (o JobTaskOutput) SparkPythonTask() JobTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskSparkPythonTask { return v.SparkPythonTask }).(JobTaskSparkPythonTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return o +func (o JobTaskOutput) SparkSubmitTask() JobTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskSparkSubmitTask { return v.SparkSubmitTask }).(JobTaskSparkSubmitTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o JobTaskOutput) SqlTask() JobTaskSqlTaskPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskSqlTask { return v.SqlTask }).(JobTaskSqlTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { - return &v - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +// string specifying an unique key for a given task. +// * `*_task` - (Required) one of the specific task blocks described below: +func (o JobTaskOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v JobTask) string { return v.TaskKey }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { - return v.LogAnalyticsPrimaryKey - }).(pulumi.StringPtrOutput) +// (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. +func (o JobTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { - return v.LogAnalyticsWorkspaceId - }).(pulumi.StringPtrOutput) +// (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. +// +// > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. +func (o JobTaskOutput) WebhookNotifications() JobTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v JobTask) *JobTaskWebhookNotifications { return v.WebhookNotifications }).(JobTaskWebhookNotificationsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +type JobTaskArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobTaskArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o JobTaskArrayOutput) ToJobTaskArrayOutput() JobTaskArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o JobTaskArrayOutput) ToJobTaskArrayOutputWithContext(ctx context.Context) JobTaskArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo - return ret - }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { - if v == nil { - return nil - } - return v.LogAnalyticsPrimaryKey - }).(pulumi.StringPtrOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { - if v == nil { - return nil - } - return v.LogAnalyticsWorkspaceId - }).(pulumi.StringPtrOutput) +func (o JobTaskArrayOutput) Index(i pulumi.IntInput) JobTaskOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTask { + return vs[0].([]JobTask)[vs[1].(int)] + }).(JobTaskOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConf struct { - Dbfs *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +type JobTaskCleanRoomsNotebookTask struct { + CleanRoomName string `pulumi:"cleanRoomName"` + Etag *string `pulumi:"etag"` + NotebookBaseParameters map[string]string `pulumi:"notebookBaseParameters"` + NotebookName string `pulumi:"notebookName"` } -// JobTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfArgs and JobTaskForEachTaskTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfInput` via: +// JobTaskCleanRoomsNotebookTaskInput is an input type that accepts JobTaskCleanRoomsNotebookTaskArgs and JobTaskCleanRoomsNotebookTaskOutput values. +// You can construct a concrete instance of `JobTaskCleanRoomsNotebookTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} -type JobTaskForEachTaskTaskNewClusterClusterLogConfInput interface { +// JobTaskCleanRoomsNotebookTaskArgs{...} +type JobTaskCleanRoomsNotebookTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput - ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToJobTaskCleanRoomsNotebookTaskOutput() JobTaskCleanRoomsNotebookTaskOutput + ToJobTaskCleanRoomsNotebookTaskOutputWithContext(context.Context) JobTaskCleanRoomsNotebookTaskOutput } -type JobTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { - Dbfs JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type JobTaskCleanRoomsNotebookTaskArgs struct { + CleanRoomName pulumi.StringInput `pulumi:"cleanRoomName"` + Etag pulumi.StringPtrInput `pulumi:"etag"` + NotebookBaseParameters pulumi.StringMapInput `pulumi:"notebookBaseParameters"` + NotebookName pulumi.StringInput `pulumi:"notebookName"` } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (JobTaskCleanRoomsNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskCleanRoomsNotebookTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i JobTaskCleanRoomsNotebookTaskArgs) ToJobTaskCleanRoomsNotebookTaskOutput() JobTaskCleanRoomsNotebookTaskOutput { + return i.ToJobTaskCleanRoomsNotebookTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) +func (i JobTaskCleanRoomsNotebookTaskArgs) ToJobTaskCleanRoomsNotebookTaskOutputWithContext(ctx context.Context) JobTaskCleanRoomsNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskCleanRoomsNotebookTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i JobTaskCleanRoomsNotebookTaskArgs) ToJobTaskCleanRoomsNotebookTaskPtrOutput() JobTaskCleanRoomsNotebookTaskPtrOutput { + return i.ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i JobTaskCleanRoomsNotebookTaskArgs) ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskCleanRoomsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskCleanRoomsNotebookTaskOutput).ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfArgs, JobTaskForEachTaskTaskNewClusterClusterLogConfPtr and JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: +// JobTaskCleanRoomsNotebookTaskPtrInput is an input type that accepts JobTaskCleanRoomsNotebookTaskArgs, JobTaskCleanRoomsNotebookTaskPtr and JobTaskCleanRoomsNotebookTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskCleanRoomsNotebookTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +// JobTaskCleanRoomsNotebookTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { +type JobTaskCleanRoomsNotebookTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput - ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToJobTaskCleanRoomsNotebookTaskPtrOutput() JobTaskCleanRoomsNotebookTaskPtrOutput + ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Context) JobTaskCleanRoomsNotebookTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType JobTaskForEachTaskTaskNewClusterClusterLogConfArgs +type jobTaskCleanRoomsNotebookTaskPtrType JobTaskCleanRoomsNotebookTaskArgs -func JobTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { - return (*jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) +func JobTaskCleanRoomsNotebookTaskPtr(v *JobTaskCleanRoomsNotebookTaskArgs) JobTaskCleanRoomsNotebookTaskPtrInput { + return (*jobTaskCleanRoomsNotebookTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (*jobTaskCleanRoomsNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskCleanRoomsNotebookTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *jobTaskCleanRoomsNotebookTaskPtrType) ToJobTaskCleanRoomsNotebookTaskPtrOutput() JobTaskCleanRoomsNotebookTaskPtrOutput { + return i.ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (i *jobTaskCleanRoomsNotebookTaskPtrType) ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskCleanRoomsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskCleanRoomsNotebookTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type JobTaskCleanRoomsNotebookTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (JobTaskCleanRoomsNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskCleanRoomsNotebookTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o JobTaskCleanRoomsNotebookTaskOutput) ToJobTaskCleanRoomsNotebookTaskOutput() JobTaskCleanRoomsNotebookTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o JobTaskCleanRoomsNotebookTaskOutput) ToJobTaskCleanRoomsNotebookTaskOutputWithContext(ctx context.Context) JobTaskCleanRoomsNotebookTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o JobTaskCleanRoomsNotebookTaskOutput) ToJobTaskCleanRoomsNotebookTaskPtrOutput() JobTaskCleanRoomsNotebookTaskPtrOutput { + return o.ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConf { +func (o JobTaskCleanRoomsNotebookTaskOutput) ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskCleanRoomsNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskCleanRoomsNotebookTask) *JobTaskCleanRoomsNotebookTask { return &v - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) + }).(JobTaskCleanRoomsNotebookTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (o JobTaskCleanRoomsNotebookTaskOutput) CleanRoomName() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskCleanRoomsNotebookTask) string { return v.CleanRoomName }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { - return v.S3 - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (o JobTaskCleanRoomsNotebookTaskOutput) Etag() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskCleanRoomsNotebookTask) *string { return v.Etag }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskCleanRoomsNotebookTaskOutput) NotebookBaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskCleanRoomsNotebookTask) map[string]string { return v.NotebookBaseParameters }).(pulumi.StringMapOutput) +} -func (JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (o JobTaskCleanRoomsNotebookTaskOutput) NotebookName() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskCleanRoomsNotebookTask) string { return v.NotebookName }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +type JobTaskCleanRoomsNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskCleanRoomsNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskCleanRoomsNotebookTask)(nil)).Elem() +} + +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) ToJobTaskCleanRoomsNotebookTaskPtrOutput() JobTaskCleanRoomsNotebookTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) ToJobTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskCleanRoomsNotebookTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConf) JobTaskForEachTaskTaskNewClusterClusterLogConf { +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) Elem() JobTaskCleanRoomsNotebookTaskOutput { + return o.ApplyT(func(v *JobTaskCleanRoomsNotebookTask) JobTaskCleanRoomsNotebookTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterClusterLogConf + var ret JobTaskCleanRoomsNotebookTask return ret - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) + }).(JobTaskCleanRoomsNotebookTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) CleanRoomName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskCleanRoomsNotebookTask) *string { if v == nil { return nil } - return v.Dbfs - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + return &v.CleanRoomName + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) Etag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskCleanRoomsNotebookTask) *string { if v == nil { return nil } - return v.S3 - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) + return v.Etag + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) NotebookBaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskCleanRoomsNotebookTask) map[string]string { + if v == nil { + return nil + } + return v.NotebookBaseParameters + }).(pulumi.StringMapOutput) } -// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: +func (o JobTaskCleanRoomsNotebookTaskPtrOutput) NotebookName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskCleanRoomsNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookName + }).(pulumi.StringPtrOutput) +} + +type JobTaskConditionTask struct { + // The left operand of the condition task. It could be a string value, job state, or a parameter reference. + Left string `pulumi:"left"` + // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + // + // This task does not require a cluster to execute and does not support retries or notifications. + Op string `pulumi:"op"` + // The right operand of the condition task. It could be a string value, job state, or parameter reference. + Right string `pulumi:"right"` +} + +// JobTaskConditionTaskInput is an input type that accepts JobTaskConditionTaskArgs and JobTaskConditionTaskOutput values. +// You can construct a concrete instance of `JobTaskConditionTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} -type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { +// JobTaskConditionTaskArgs{...} +type JobTaskConditionTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput - ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToJobTaskConditionTaskOutput() JobTaskConditionTaskOutput + ToJobTaskConditionTaskOutputWithContext(context.Context) JobTaskConditionTaskOutput } -type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobTaskConditionTaskArgs struct { + // The left operand of the condition task. It could be a string value, job state, or a parameter reference. + Left pulumi.StringInput `pulumi:"left"` + // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + // + // This task does not require a cluster to execute and does not support retries or notifications. + Op pulumi.StringInput `pulumi:"op"` + // The right operand of the condition task. It could be a string value, job state, or parameter reference. + Right pulumi.StringInput `pulumi:"right"` } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (JobTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskConditionTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskOutput() JobTaskConditionTaskOutput { + return i.ToJobTaskConditionTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskConditionTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { + return i.ToJobTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i JobTaskConditionTaskArgs) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskConditionTaskOutput).ToJobTaskConditionTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: +// JobTaskConditionTaskPtrInput is an input type that accepts JobTaskConditionTaskArgs, JobTaskConditionTaskPtr and JobTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskConditionTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +// JobTaskConditionTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { +type JobTaskConditionTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput - ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput + ToJobTaskConditionTaskPtrOutputWithContext(context.Context) JobTaskConditionTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs +type jobTaskConditionTaskPtrType JobTaskConditionTaskArgs -func JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { - return (*jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) +func JobTaskConditionTaskPtr(v *JobTaskConditionTaskArgs) JobTaskConditionTaskPtrInput { + return (*jobTaskConditionTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*jobTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskConditionTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *jobTaskConditionTaskPtrType) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { + return i.ToJobTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *jobTaskConditionTaskPtrType) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskConditionTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type JobTaskConditionTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (JobTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskConditionTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskOutput() JobTaskConditionTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskConditionTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { + return o.ToJobTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o JobTaskConditionTaskOutput) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskConditionTask) *JobTaskConditionTask { return &v - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(JobTaskConditionTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// The left operand of the condition task. It could be a string value, job state, or a parameter reference. +func (o JobTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +// +// This task does not require a cluster to execute and does not support retries or notifications. +func (o JobTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +} -func (JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +// The right operand of the condition task. It could be a string value, job state, or parameter reference. +func (o JobTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +type JobTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskConditionTask)(nil)).Elem() +} + +func (o JobTaskConditionTaskPtrOutput) ToJobTaskConditionTaskPtrOutput() JobTaskConditionTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o JobTaskConditionTaskPtrOutput) ToJobTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskConditionTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o JobTaskConditionTaskPtrOutput) Elem() JobTaskConditionTaskOutput { + return o.ApplyT(func(v *JobTaskConditionTask) JobTaskConditionTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs + var ret JobTaskConditionTask return ret - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) + }).(JobTaskConditionTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { +// The left operand of the condition task. It could be a string value, job state, or a parameter reference. +func (o JobTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskConditionTask) *string { if v == nil { return nil } - return &v.Destination + return &v.Left }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +// +// This task does not require a cluster to execute and does not support retries or notifications. +func (o JobTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args and JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: +// The right operand of the condition task. It could be a string value, job state, or parameter reference. +func (o JobTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Right + }).(pulumi.StringPtrOutput) +} + +type JobTaskDbtTask struct { + // The name of the catalog to use inside Unity Catalog. + Catalog *string `pulumi:"catalog"` + // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + Commands []string `pulumi:"commands"` + // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + ProfilesDirectory *string `pulumi:"profilesDirectory"` + // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. + // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + ProjectDirectory *string `pulumi:"projectDirectory"` + // The name of the schema dbt should run in. Defaults to `default`. + Schema *string `pulumi:"schema"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. + Source *string `pulumi:"source"` + // The ID of the SQL warehouse that dbt should execute against. + // + // You also need to include a `gitSource` block to configure the repository that contains the dbt project. + WarehouseId *string `pulumi:"warehouseId"` +} + +// JobTaskDbtTaskInput is an input type that accepts JobTaskDbtTaskArgs and JobTaskDbtTaskOutput values. +// You can construct a concrete instance of `JobTaskDbtTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} -type JobTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { +// JobTaskDbtTaskArgs{...} +type JobTaskDbtTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3Output() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output - ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToJobTaskDbtTaskOutput() JobTaskDbtTaskOutput + ToJobTaskDbtTaskOutputWithContext(context.Context) JobTaskDbtTaskOutput } -type JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobTaskDbtTaskArgs struct { + // The name of the catalog to use inside Unity Catalog. + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + Commands pulumi.StringArrayInput `pulumi:"commands"` + // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. + // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + // The name of the schema dbt should run in. Defaults to `default`. + Schema pulumi.StringPtrInput `pulumi:"schema"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. + Source pulumi.StringPtrInput `pulumi:"source"` + // The ID of the SQL warehouse that dbt should execute against. + // + // You also need to include a `gitSource` block to configure the repository that contains the dbt project. + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (JobTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskDbtTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3Output() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskOutput() JobTaskDbtTaskOutput { + return i.ToJobTaskDbtTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) +func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskDbtTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { + return i.ToJobTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i JobTaskDbtTaskArgs) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskDbtTaskOutput).ToJobTaskDbtTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args, JobTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: +// JobTaskDbtTaskPtrInput is an input type that accepts JobTaskDbtTaskArgs, JobTaskDbtTaskPtr and JobTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskDbtTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +// JobTaskDbtTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { +type JobTaskDbtTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput - ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput + ToJobTaskDbtTaskPtrOutputWithContext(context.Context) JobTaskDbtTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args +type jobTaskDbtTaskPtrType JobTaskDbtTaskArgs -func JobTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { - return (*jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) +func JobTaskDbtTaskPtr(v *JobTaskDbtTaskArgs) JobTaskDbtTaskPtrInput { + return (*jobTaskDbtTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (*jobTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskDbtTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *jobTaskDbtTaskPtrType) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { + return i.ToJobTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (i *jobTaskDbtTaskPtrType) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskDbtTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type JobTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (JobTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskDbtTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3Output() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskOutput() JobTaskDbtTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskDbtTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { + return o.ToJobTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o JobTaskDbtTaskOutput) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskDbtTask) *JobTaskDbtTask { return &v - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) + }).(JobTaskDbtTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +// The name of the catalog to use inside Unity Catalog. +func (o JobTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". +func (o JobTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. +func (o JobTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. +// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. +// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. +func (o JobTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// The name of the schema dbt should run in. Defaults to `default`. +func (o JobTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. +func (o JobTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +// The ID of the SQL warehouse that dbt should execute against. +// +// You also need to include a `gitSource` block to configure the repository that contains the dbt project. +func (o JobTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type JobTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (JobTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskDbtTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o JobTaskDbtTaskPtrOutput) ToJobTaskDbtTaskPtrOutput() JobTaskDbtTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o JobTaskDbtTaskPtrOutput) ToJobTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskDbtTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o JobTaskDbtTaskPtrOutput) Elem() JobTaskDbtTaskOutput { + return o.ApplyT(func(v *JobTaskDbtTask) JobTaskDbtTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterClusterLogConfS3 + var ret JobTaskDbtTask return ret - }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) + }).(JobTaskDbtTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +// The name of the catalog to use inside Unity Catalog. +func (o JobTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskDbtTask) *string { if v == nil { return nil } - return v.CannedAcl + return v.Catalog }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". +func (o JobTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskDbtTask) []string { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Commands + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { +// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. +func (o JobTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskDbtTask) *string { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. +// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. +// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. +func (o JobTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskDbtTask) *string { if v == nil { return nil } - return v.EncryptionType + return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +// The name of the schema dbt should run in. Defaults to `default`. +func (o JobTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskDbtTask) *string { if v == nil { return nil } - return v.Endpoint + return v.Schema }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. +func (o JobTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskDbtTask) *string { if v == nil { return nil } - return v.KmsKey + return v.Source }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +// The ID of the SQL warehouse that dbt should execute against. +// +// You also need to include a `gitSource` block to configure the repository that contains the dbt project. +func (o JobTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskDbtTask) *string { if v == nil { return nil } - return v.Region + return v.WarehouseId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type JobTaskDependsOn struct { + // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + // + // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. + Outcome *string `pulumi:"outcome"` + // The name of the task this task depends on. + TaskKey string `pulumi:"taskKey"` } -// JobTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs and JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: +// JobTaskDependsOnInput is an input type that accepts JobTaskDependsOnArgs and JobTaskDependsOnOutput values. +// You can construct a concrete instance of `JobTaskDependsOnInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} -type JobTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { +// JobTaskDependsOnArgs{...} +type JobTaskDependsOnInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput - ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput + ToJobTaskDependsOnOutput() JobTaskDependsOnOutput + ToJobTaskDependsOnOutputWithContext(context.Context) JobTaskDependsOnOutput } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +type JobTaskDependsOnArgs struct { + // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + // + // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + // The name of the task this task depends on. + TaskKey pulumi.StringInput `pulumi:"taskKey"` } -func (JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskDependsOn)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +func (i JobTaskDependsOnArgs) ToJobTaskDependsOnOutput() JobTaskDependsOnOutput { + return i.ToJobTaskDependsOnOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) +func (i JobTaskDependsOnArgs) ToJobTaskDependsOnOutputWithContext(ctx context.Context) JobTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskDependsOnOutput) } -// JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterMountInfoArray and JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput` via: +// JobTaskDependsOnArrayInput is an input type that accepts JobTaskDependsOnArray and JobTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `JobTaskDependsOnArrayInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterMountInfoArray{ JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput interface { +// JobTaskDependsOnArray{ JobTaskDependsOnArgs{...} } +type JobTaskDependsOnArrayInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput - ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput + ToJobTaskDependsOnArrayOutput() JobTaskDependsOnArrayOutput + ToJobTaskDependsOnArrayOutputWithContext(context.Context) JobTaskDependsOnArrayOutput } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoArray []JobTaskForEachTaskTaskNewClusterClusterMountInfoInput +type JobTaskDependsOnArray []JobTaskDependsOnInput -func (JobTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskDependsOn)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i JobTaskDependsOnArray) ToJobTaskDependsOnArrayOutput() JobTaskDependsOnArrayOutput { + return i.ToJobTaskDependsOnArrayOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (i JobTaskDependsOnArray) ToJobTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskDependsOnArrayOutput) } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +type JobTaskDependsOnOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskDependsOn)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { +func (o JobTaskDependsOnOutput) ToJobTaskDependsOnOutput() JobTaskDependsOnOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { +func (o JobTaskDependsOnOutput) ToJobTaskDependsOnOutputWithContext(ctx context.Context) JobTaskDependsOnOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfo) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +// Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. +// +// > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. +func (o JobTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +// The name of the task this task depends on. +func (o JobTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type JobTaskDependsOnArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskDependsOn)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { +func (o JobTaskDependsOnArrayOutput) ToJobTaskDependsOnArrayOutput() JobTaskDependsOnArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { +func (o JobTaskDependsOnArrayOutput) ToJobTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskDependsOnArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskNewClusterClusterMountInfo { - return vs[0].([]JobTaskForEachTaskTaskNewClusterClusterMountInfo)[vs[1].(int)] - }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) +func (o JobTaskDependsOnArrayOutput) Index(i pulumi.IntInput) JobTaskDependsOnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskDependsOn { + return vs[0].([]JobTaskDependsOn)[vs[1].(int)] + }).(JobTaskDependsOnOutput) } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +type JobTaskEmailNotifications struct { + // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // The following parameter is only available for the job level configuration. + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of emails to notify when the run fails. + OnFailures []string `pulumi:"onFailures"` + // (List) list of emails to notify when the run starts. + OnStarts []string `pulumi:"onStarts"` + OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` + // (List) list of emails to notify when the run completes successfully. + OnSuccesses []string `pulumi:"onSuccesses"` } -// JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// JobTaskEmailNotificationsInput is an input type that accepts JobTaskEmailNotificationsArgs and JobTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `JobTaskEmailNotificationsInput` via: // -// JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { +// JobTaskEmailNotificationsArgs{...} +type JobTaskEmailNotificationsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToJobTaskEmailNotificationsOutput() JobTaskEmailNotificationsOutput + ToJobTaskEmailNotificationsOutputWithContext(context.Context) JobTaskEmailNotificationsOutput } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +type JobTaskEmailNotificationsArgs struct { + // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // The following parameter is only available for the job level configuration. + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of emails to notify when the run fails. + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + // (List) list of emails to notify when the run starts. + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` + // (List) list of emails to notify when the run completes successfully. + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (JobTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskEmailNotifications)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsOutput() JobTaskEmailNotificationsOutput { + return i.ToJobTaskEmailNotificationsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskEmailNotificationsOutput) } -type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { + return i.ToJobTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} -func (JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (i JobTaskEmailNotificationsArgs) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskEmailNotificationsOutput).ToJobTaskEmailNotificationsPtrOutputWithContext(ctx) } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +// JobTaskEmailNotificationsPtrInput is an input type that accepts JobTaskEmailNotificationsArgs, JobTaskEmailNotificationsPtr and JobTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `JobTaskEmailNotificationsPtrInput` via: +// +// JobTaskEmailNotificationsArgs{...} +// +// or: +// +// nil +type JobTaskEmailNotificationsPtrInput interface { + pulumi.Input + + ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput + ToJobTaskEmailNotificationsPtrOutputWithContext(context.Context) JobTaskEmailNotificationsPtrOutput +} + +type jobTaskEmailNotificationsPtrType JobTaskEmailNotificationsArgs + +func JobTaskEmailNotificationsPtr(v *JobTaskEmailNotificationsArgs) JobTaskEmailNotificationsPtrInput { + return (*jobTaskEmailNotificationsPtrType)(v) +} + +func (*jobTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskEmailNotifications)(nil)).Elem() +} + +func (i *jobTaskEmailNotificationsPtrType) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { + return i.ToJobTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} + +func (i *jobTaskEmailNotificationsPtrType) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskEmailNotificationsPtrOutput) +} + +type JobTaskEmailNotificationsOutput struct{ *pulumi.OutputState } + +func (JobTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskEmailNotifications)(nil)).Elem() +} + +func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsOutput() JobTaskEmailNotificationsOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskEmailNotificationsOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) +func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { + return o.ToJobTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} + +func (o JobTaskEmailNotificationsOutput) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskEmailNotifications) *JobTaskEmailNotifications { + return &v + }).(JobTaskEmailNotificationsPtrOutput) +} + +// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). +func (o JobTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +} + +// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// The following parameter is only available for the job level configuration. +func (o JobTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnDurationWarningThresholdExceededs }).(pulumi.StringArrayOutput) +} + +// (List) list of emails to notify when the run fails. +func (o JobTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +} + +// (List) list of emails to notify when the run starts. +func (o JobTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +} + +func (o JobTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) +} + +// (List) list of emails to notify when the run completes successfully. +func (o JobTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +} + +type JobTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskEmailNotifications)(nil)).Elem() +} + +func (o JobTaskEmailNotificationsPtrOutput) ToJobTaskEmailNotificationsPtrOutput() JobTaskEmailNotificationsPtrOutput { + return o +} + +func (o JobTaskEmailNotificationsPtrOutput) ToJobTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskEmailNotificationsPtrOutput { + return o +} + +func (o JobTaskEmailNotificationsPtrOutput) Elem() JobTaskEmailNotificationsOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) JobTaskEmailNotifications { + if v != nil { + return *v + } + var ret JobTaskEmailNotifications + return ret + }).(JobTaskEmailNotificationsOutput) +} + +// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). +func (o JobTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// The following parameter is only available for the job level configuration. +func (o JobTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) +} + +// (List) list of emails to notify when the run fails. +func (o JobTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnFailures + }).(pulumi.StringArrayOutput) +} + +// (List) list of emails to notify when the run starts. +func (o JobTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStarts + }).(pulumi.StringArrayOutput) +} + +func (o JobTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +// (List) list of emails to notify when the run completes successfully. +func (o JobTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -type JobTaskForEachTaskTaskNewClusterDockerImage struct { - BasicAuth *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url string `pulumi:"url"` +type JobTaskForEachTask struct { + // Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. + Concurrency *int `pulumi:"concurrency"` + // (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. + Inputs string `pulumi:"inputs"` + // Task to run against the `inputs` list. + Task JobTaskForEachTaskTask `pulumi:"task"` } -// JobTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageArgs and JobTaskForEachTaskTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImageInput` via: +// JobTaskForEachTaskInput is an input type that accepts JobTaskForEachTaskArgs and JobTaskForEachTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterDockerImageArgs{...} -type JobTaskForEachTaskTaskNewClusterDockerImageInput interface { +// JobTaskForEachTaskArgs{...} +type JobTaskForEachTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterDockerImageOutput() JobTaskForEachTaskTaskNewClusterDockerImageOutput - ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImageOutput + ToJobTaskForEachTaskOutput() JobTaskForEachTaskOutput + ToJobTaskForEachTaskOutputWithContext(context.Context) JobTaskForEachTaskOutput } -type JobTaskForEachTaskTaskNewClusterDockerImageArgs struct { - BasicAuth JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url pulumi.StringInput `pulumi:"url"` +type JobTaskForEachTaskArgs struct { + // Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. + Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` + // (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. + Inputs pulumi.StringInput `pulumi:"inputs"` + // Task to run against the `inputs` list. + Task JobTaskForEachTaskTaskInput `pulumi:"task"` } -func (JobTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (JobTaskForEachTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageOutput() JobTaskForEachTaskTaskNewClusterDockerImageOutput { - return i.ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) +func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskOutput() JobTaskForEachTaskOutput { + return i.ToJobTaskForEachTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageOutput) +func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { + return i.ToJobTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageOutput).ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskArgs) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskOutput).ToJobTaskForEachTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageArgs, JobTaskForEachTaskTaskNewClusterDockerImagePtr and JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: +// JobTaskForEachTaskPtrInput is an input type that accepts JobTaskForEachTaskArgs, JobTaskForEachTaskPtr and JobTaskForEachTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterDockerImageArgs{...} +// JobTaskForEachTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { +type JobTaskForEachTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput - ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput + ToJobTaskForEachTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterDockerImagePtrType JobTaskForEachTaskTaskNewClusterDockerImageArgs +type jobTaskForEachTaskPtrType JobTaskForEachTaskArgs -func JobTaskForEachTaskTaskNewClusterDockerImagePtr(v *JobTaskForEachTaskTaskNewClusterDockerImageArgs) JobTaskForEachTaskTaskNewClusterDockerImagePtrInput { - return (*jobTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) +func JobTaskForEachTaskPtr(v *JobTaskForEachTaskArgs) JobTaskForEachTaskPtrInput { + return (*jobTaskForEachTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (*jobTaskForEachTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterDockerImagePtrType) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskPtrType) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { + return i.ToJobTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterDockerImagePtrType) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (i *jobTaskForEachTaskPtrType) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (JobTaskForEachTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageOutput() JobTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskOutput() JobTaskForEachTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { + return o.ToJobTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterDockerImage) *JobTaskForEachTaskTaskNewClusterDockerImage { +func (o JobTaskForEachTaskOutput) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTask) *JobTaskForEachTask { return &v - }).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) + }).(JobTaskForEachTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImage) *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +// Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. +func (o JobTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) } -// URL of the job on the given workspace -func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +// (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. +func (o JobTaskForEachTaskOutput) Inputs() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +// Task to run against the `inputs` list. +func (o JobTaskForEachTaskOutput) Task() JobTaskForEachTaskTaskOutput { + return o.ApplyT(func(v JobTaskForEachTask) JobTaskForEachTaskTask { return v.Task }).(JobTaskForEachTaskTaskOutput) +} -func (JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +type JobTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o JobTaskForEachTaskPtrOutput) ToJobTaskForEachTaskPtrOutput() JobTaskForEachTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o JobTaskForEachTaskPtrOutput) ToJobTaskForEachTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImage) JobTaskForEachTaskTaskNewClusterDockerImage { +func (o JobTaskForEachTaskPtrOutput) Elem() JobTaskForEachTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTask) JobTaskForEachTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterDockerImage + var ret JobTaskForEachTask return ret - }).(JobTaskForEachTaskTaskNewClusterDockerImageOutput) + }).(JobTaskForEachTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImage) *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +// Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. +func (o JobTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTask) *int { if v == nil { return nil } - return v.BasicAuth - }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) + return v.Concurrency + }).(pulumi.IntPtrOutput) } -// URL of the job on the given workspace -func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImage) *string { +// (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. +func (o JobTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTask) *string { if v == nil { return nil } - return &v.Url + return &v.Inputs }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +// Task to run against the `inputs` list. +func (o JobTaskForEachTaskPtrOutput) Task() JobTaskForEachTaskTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTask) *JobTaskForEachTaskTask { + if v == nil { + return nil + } + return &v.Task + }).(JobTaskForEachTaskTaskPtrOutput) } -// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: +type JobTaskForEachTaskTask struct { + CleanRoomsNotebookTask *JobTaskForEachTaskTaskCleanRoomsNotebookTask `pulumi:"cleanRoomsNotebookTask"` + ConditionTask *JobTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` + DbtTask *JobTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` + // block specifying dependency(-ies) for a given task. + DependsOns []JobTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` + // description for this task. + Description *string `pulumi:"description"` + // A flag to disable auto optimization in serverless tasks. + DisableAutoOptimization *bool `pulumi:"disableAutoOptimization"` + // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + EmailNotifications *JobTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` + // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. + EnvironmentKey *string `pulumi:"environmentKey"` + // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + ExistingClusterId *string `pulumi:"existingClusterId"` + // block described below that specifies health conditions for a given task. + Health *JobTaskForEachTaskTaskHealth `pulumi:"health"` + // Identifier of the Job cluster specified in the `jobCluster` block. + JobClusterKey *string `pulumi:"jobClusterKey"` + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. + Libraries []JobTaskForEachTaskTaskLibrary `pulumi:"libraries"` + // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + MaxRetries *int `pulumi:"maxRetries"` + // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* + NewCluster *JobTaskForEachTaskTaskNewCluster `pulumi:"newCluster"` + NotebookTask *JobTaskForEachTaskTaskNotebookTask `pulumi:"notebookTask"` + // An optional block controlling the notification settings on the job level documented below. + NotificationSettings *JobTaskForEachTaskTaskNotificationSettings `pulumi:"notificationSettings"` + PipelineTask *JobTaskForEachTaskTaskPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *JobTaskForEachTaskTaskPythonWheelTask `pulumi:"pythonWheelTask"` + // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + RetryOnTimeout *bool `pulumi:"retryOnTimeout"` + // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + RunIf *string `pulumi:"runIf"` + RunJobTask *JobTaskForEachTaskTaskRunJobTask `pulumi:"runJobTask"` + SparkJarTask *JobTaskForEachTaskTaskSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *JobTaskForEachTaskTaskSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *JobTaskForEachTaskTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` + SqlTask *JobTaskForEachTaskTaskSqlTask `pulumi:"sqlTask"` + // string specifying an unique key for a given task. + // * `*_task` - (Required) one of the specific task blocks described below: + TaskKey string `pulumi:"taskKey"` + // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + // + // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. + WebhookNotifications *JobTaskForEachTaskTaskWebhookNotifications `pulumi:"webhookNotifications"` +} + +// JobTaskForEachTaskTaskInput is an input type that accepts JobTaskForEachTaskTaskArgs and JobTaskForEachTaskTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} -type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { +// JobTaskForEachTaskTaskArgs{...} +type JobTaskForEachTaskTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput - ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput + ToJobTaskForEachTaskTaskOutput() JobTaskForEachTaskTaskOutput + ToJobTaskForEachTaskTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskOutput } -type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type JobTaskForEachTaskTaskArgs struct { + CleanRoomsNotebookTask JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrInput `pulumi:"cleanRoomsNotebookTask"` + ConditionTask JobTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask JobTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` + // block specifying dependency(-ies) for a given task. + DependsOns JobTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` + // description for this task. + Description pulumi.StringPtrInput `pulumi:"description"` + // A flag to disable auto optimization in serverless tasks. + DisableAutoOptimization pulumi.BoolPtrInput `pulumi:"disableAutoOptimization"` + // An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + EmailNotifications JobTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + // identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. + EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` + // Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + // block described below that specifies health conditions for a given task. + Health JobTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` + // Identifier of the Job cluster specified in the `jobCluster` block. + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + // (Set) An optional list of libraries to be installed on the cluster that will execute the job. + Libraries JobTaskForEachTaskTaskLibraryArrayInput `pulumi:"libraries"` + // (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + // (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + // Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* + NewCluster JobTaskForEachTaskTaskNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask JobTaskForEachTaskTaskNotebookTaskPtrInput `pulumi:"notebookTask"` + // An optional block controlling the notification settings on the job level documented below. + NotificationSettings JobTaskForEachTaskTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` + PipelineTask JobTaskForEachTaskTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask JobTaskForEachTaskTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + // (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` + // An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + RunIf pulumi.StringPtrInput `pulumi:"runIf"` + RunJobTask JobTaskForEachTaskTaskRunJobTaskPtrInput `pulumi:"runJobTask"` + SparkJarTask JobTaskForEachTaskTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask JobTaskForEachTaskTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask JobTaskForEachTaskTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + SqlTask JobTaskForEachTaskTaskSqlTaskPtrInput `pulumi:"sqlTask"` + // string specifying an unique key for a given task. + // * `*_task` - (Required) one of the specific task blocks described below: + TaskKey pulumi.StringInput `pulumi:"taskKey"` + // (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + // (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + // + // > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. + WebhookNotifications JobTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobTaskForEachTaskTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return i.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskOutput() JobTaskForEachTaskTaskOutput { + return i.ToJobTaskForEachTaskTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskArgs) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskOutput).ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: +// JobTaskForEachTaskTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskArgs, JobTaskForEachTaskTaskPtr and JobTaskForEachTaskTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +// JobTaskForEachTaskTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { +type JobTaskForEachTaskTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput - ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput + ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs +type jobTaskForEachTaskTaskPtrType JobTaskForEachTaskTaskArgs -func JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { - return (*jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) +func JobTaskForEachTaskTaskPtr(v *JobTaskForEachTaskTaskArgs) JobTaskForEachTaskTaskPtrInput { + return (*jobTaskForEachTaskTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*jobTaskForEachTaskTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskPtrType) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i *jobTaskForEachTaskTaskPtrType) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobTaskForEachTaskTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskOutput() JobTaskForEachTaskTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { +func (o JobTaskForEachTaskTaskOutput) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTask) *JobTaskForEachTaskTask { return &v - }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) -} - -type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() + }).(JobTaskForEachTaskTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o +func (o JobTaskForEachTaskTaskOutput) CleanRoomsNotebookTask() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskCleanRoomsNotebookTask { + return v.CleanRoomsNotebookTask + }).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o +func (o JobTaskForEachTaskTaskOutput) ConditionTask() JobTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskConditionTask { return v.ConditionTask }).(JobTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth - return ret - }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +func (o JobTaskForEachTaskTaskOutput) DbtTask() JobTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskDbtTask { return v.DbtTask }).(JobTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +// block specifying dependency(-ies) for a given task. +func (o JobTaskForEachTaskTaskOutput) DependsOns() JobTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) []JobTaskForEachTaskTaskDependsOn { return v.DependsOns }).(JobTaskForEachTaskTaskDependsOnArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +// description for this task. +func (o JobTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +// A flag to disable auto optimization in serverless tasks. +func (o JobTaskForEachTaskTaskOutput) DisableAutoOptimization() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *bool { return v.DisableAutoOptimization }).(pulumi.BoolPtrOutput) } -// JobTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterGcpAttributesArgs and JobTaskForEachTaskTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterGcpAttributesInput` via: -// -// JobTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} -type JobTaskForEachTaskTaskNewClusterGcpAttributesInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput - ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesOutput +// An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. +func (o JobTaskForEachTaskTaskOutput) EmailNotifications() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskEmailNotifications { return v.EmailNotifications }).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +// identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. +func (o JobTaskForEachTaskTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) } -func (JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +// Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* +func (o JobTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return i.ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +// block described below that specifies health conditions for a given task. +func (o JobTaskForEachTaskTaskOutput) Health() JobTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskHealth { return v.Health }).(JobTaskForEachTaskTaskHealthPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) +// Identifier of the Job cluster specified in the `jobCluster` block. +func (o JobTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +// (Set) An optional list of libraries to be installed on the cluster that will execute the job. +func (o JobTaskForEachTaskTaskOutput) Libraries() JobTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) []JobTaskForEachTaskTaskLibrary { return v.Libraries }).(JobTaskForEachTaskTaskLibraryArrayOutput) } -func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +// (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. +func (o JobTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -// JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterGcpAttributesArgs, JobTaskForEachTaskTaskNewClusterGcpAttributesPtr and JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} -// -// or: -// -// nil -type JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput - ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput +// (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. +func (o JobTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -type jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType JobTaskForEachTaskTaskNewClusterGcpAttributesArgs - -func JobTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { - return (*jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) +// Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* +func (o JobTaskForEachTaskTaskOutput) NewCluster() JobTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNewCluster { return v.NewCluster }).(JobTaskForEachTaskTaskNewClusterPtrOutput) } -func (*jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (o JobTaskForEachTaskTaskOutput) NotebookTask() JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotebookTask { return v.NotebookTask }).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (i *jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +// An optional block controlling the notification settings on the job level documented below. +func (o JobTaskForEachTaskTaskOutput) NotificationSettings() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotificationSettings { + return v.NotificationSettings + }).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (i *jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (o JobTaskForEachTaskTaskOutput) PipelineTask() JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPipelineTask { return v.PipelineTask }).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (o JobTaskForEachTaskTaskOutput) PythonWheelTask() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPythonWheelTask { return v.PythonWheelTask }).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o +// (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. +func (o JobTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o +// An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. +func (o JobTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskOutput) RunJobTask() JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskRunJobTask { return v.RunJobTask }).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterGcpAttributes) *JobTaskForEachTaskTaskNewClusterGcpAttributes { - return &v - }).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (o JobTaskForEachTaskTaskOutput) SparkJarTask() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkJarTask { return v.SparkJarTask }).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskOutput) SparkPythonTask() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkPythonTask { return v.SparkPythonTask }).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskOutput) SparkSubmitTask() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkSubmitTask { return v.SparkSubmitTask }).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskOutput) SqlTask() JobTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSqlTask { return v.SqlTask }).(JobTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +// string specifying an unique key for a given task. +// * `*_task` - (Required) one of the specific task blocks described below: +func (o JobTaskForEachTaskTaskOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) string { return v.TaskKey }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +// (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. +func (o JobTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. +// +// > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. +func (o JobTaskForEachTaskTaskOutput) WebhookNotifications() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTask) *JobTaskForEachTaskTaskWebhookNotifications { + return v.WebhookNotifications + }).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { +func (o JobTaskForEachTaskTaskPtrOutput) ToJobTaskForEachTaskTaskPtrOutput() JobTaskForEachTaskTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { +func (o JobTaskForEachTaskTaskPtrOutput) ToJobTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) JobTaskForEachTaskTaskNewClusterGcpAttributes { +func (o JobTaskForEachTaskTaskPtrOutput) Elem() JobTaskForEachTaskTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) JobTaskForEachTaskTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterGcpAttributes + var ret JobTaskForEachTaskTask return ret - }).(JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) + }).(JobTaskForEachTaskTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { +func (o JobTaskForEachTaskTaskPtrOutput) CleanRoomsNotebookTask() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskCleanRoomsNotebookTask { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.CleanRoomsNotebookTask + }).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { +func (o JobTaskForEachTaskTaskPtrOutput) ConditionTask() JobTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskConditionTask { if v == nil { return nil } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) + return v.ConditionTask + }).(JobTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { +func (o JobTaskForEachTaskTaskPtrOutput) DbtTask() JobTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskDbtTask { if v == nil { return nil } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + return v.DbtTask + }).(JobTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { +// block specifying dependency(-ies) for a given task. +func (o JobTaskForEachTaskTaskPtrOutput) DependsOns() JobTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) []JobTaskForEachTaskTaskDependsOn { if v == nil { return nil } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.DependsOns + }).(JobTaskForEachTaskTaskDependsOnArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *bool { +// description for this task. +func (o JobTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { if v == nil { return nil } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) + return v.Description + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { +// A flag to disable auto optimization in serverless tasks. +func (o JobTaskForEachTaskTaskPtrOutput) DisableAutoOptimization() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *bool { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) -} - -type JobTaskForEachTaskTaskNewClusterInitScript struct { - Abfss *JobTaskForEachTaskTaskNewClusterInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *JobTaskForEachTaskTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` - // block consisting of single string fields: - File *JobTaskForEachTaskTaskNewClusterInitScriptFile `pulumi:"file"` - Gcs *JobTaskForEachTaskTaskNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *JobTaskForEachTaskTaskNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *JobTaskForEachTaskTaskNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` + return v.DisableAutoOptimization + }).(pulumi.BoolPtrOutput) } -// JobTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptArgs and JobTaskForEachTaskTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptInput` via: -// -// JobTaskForEachTaskTaskNewClusterInitScriptArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterInitScriptOutput() JobTaskForEachTaskTaskNewClusterInitScriptOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptOutput +// An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. +func (o JobTaskForEachTaskTaskPtrOutput) EmailNotifications() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskEmailNotifications { + if v == nil { + return nil + } + return v.EmailNotifications + }).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptArgs struct { - Abfss JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - // block consisting of single string fields: - File JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +// identifier of an `environment` block that is used to specify libraries. Required for some tasks (`sparkPythonTask`, `pythonWheelTask`, ...) running on serverless compute. +func (o JobTaskForEachTaskTaskPtrOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.EnvironmentKey + }).(pulumi.StringPtrOutput) } -func (JobTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +// Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* +func (o JobTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.ExistingClusterId + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptOutput() JobTaskForEachTaskTaskNewClusterInitScriptOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) +// block described below that specifies health conditions for a given task. +func (o JobTaskForEachTaskTaskPtrOutput) Health() JobTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskHealth { + if v == nil { + return nil + } + return v.Health + }).(JobTaskForEachTaskTaskHealthPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptOutput) +// Identifier of the Job cluster specified in the `jobCluster` block. +func (o JobTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.JobClusterKey + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptArray and JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: -// -// JobTaskForEachTaskTaskNewClusterInitScriptArray{ JobTaskForEachTaskTaskNewClusterInitScriptArgs{...} } -type JobTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutput() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput +// (Set) An optional list of libraries to be installed on the cluster that will execute the job. +func (o JobTaskForEachTaskTaskPtrOutput) Libraries() JobTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) []JobTaskForEachTaskTaskLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(JobTaskForEachTaskTaskLibraryArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptArray []JobTaskForEachTaskTaskNewClusterInitScriptInput - -func (JobTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +// (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. +func (o JobTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MaxRetries + }).(pulumi.IntPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptArray) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutput() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +// (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. +func (o JobTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptArray) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +// Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autoterminationMinutes`, `isPinned`, `workloadType` aren't supported!* +func (o JobTaskForEachTaskTaskPtrOutput) NewCluster() JobTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNewCluster { + if v == nil { + return nil + } + return v.NewCluster + }).(JobTaskForEachTaskTaskNewClusterPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (o JobTaskForEachTaskTaskPtrOutput) NotebookTask() JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotebookTask { + if v == nil { + return nil + } + return v.NotebookTask + }).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptOutput() JobTaskForEachTaskTaskNewClusterInitScriptOutput { - return o +// An optional block controlling the notification settings on the job level documented below. +func (o JobTaskForEachTaskTaskPtrOutput) NotificationSettings() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskNotificationSettings { + if v == nil { + return nil + } + return v.NotificationSettings + }).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptOutput { - return o +func (o JobTaskForEachTaskTaskPtrOutput) PipelineTask() JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPipelineTask { + if v == nil { + return nil + } + return v.PipelineTask + }).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptAbfss { - return v.Abfss - }).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (o JobTaskForEachTaskTaskPtrOutput) PythonWheelTask() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskPythonWheelTask { + if v == nil { + return nil + } + return v.PythonWheelTask + }).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptDbfs { - return v.Dbfs - }).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +// (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. +func (o JobTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *bool { + if v == nil { + return nil + } + return v.RetryOnTimeout + }).(pulumi.BoolPtrOutput) } -// block consisting of single string fields: -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) File() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptFile { - return v.File - }).(JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +// An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. +func (o JobTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.RunIf + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptGcs { - return v.Gcs - }).(JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (o JobTaskForEachTaskTaskPtrOutput) RunJobTask() JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskRunJobTask { + if v == nil { + return nil + } + return v.RunJobTask + }).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) S3() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptS3 { - return v.S3 - }).(JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (o JobTaskForEachTaskTaskPtrOutput) SparkJarTask() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkJarTask { + if v == nil { + return nil + } + return v.SparkJarTask + }).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptVolumes { - return v.Volumes - }).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (o JobTaskForEachTaskTaskPtrOutput) SparkPythonTask() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkPythonTask { + if v == nil { + return nil + } + return v.SparkPythonTask + }).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return v.Workspace - }).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o JobTaskForEachTaskTaskPtrOutput) SparkSubmitTask() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSparkSubmitTask { + if v == nil { + return nil + } + return v.SparkSubmitTask + }).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (o JobTaskForEachTaskTaskPtrOutput) SqlTask() JobTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskSqlTask { + if v == nil { + return nil + } + return v.SqlTask + }).(JobTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutput() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o +// string specifying an unique key for a given task. +// * `*_task` - (Required) one of the specific task blocks described below: +func (o JobTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return &v.TaskKey + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o +// (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. +func (o JobTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.TimeoutSeconds + }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskNewClusterInitScript { - return vs[0].([]JobTaskForEachTaskTaskNewClusterInitScript)[vs[1].(int)] - }).(JobTaskForEachTaskTaskNewClusterInitScriptOutput) +// (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. +// +// > If no `jobClusterKey`, `existingClusterId`, or `newCluster` were specified in task definition, then task will executed using serverless compute. +func (o JobTaskForEachTaskTaskPtrOutput) WebhookNotifications() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTask) *JobTaskForEachTaskTaskWebhookNotifications { + if v == nil { + return nil + } + return v.WebhookNotifications + }).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +type JobTaskForEachTaskTaskCleanRoomsNotebookTask struct { + CleanRoomName string `pulumi:"cleanRoomName"` + Etag *string `pulumi:"etag"` + NotebookBaseParameters map[string]string `pulumi:"notebookBaseParameters"` + NotebookName string `pulumi:"notebookName"` } -// JobTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: +// JobTaskForEachTaskTaskCleanRoomsNotebookTaskInput is an input type that accepts JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs and JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskCleanRoomsNotebookTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { +// JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs{...} +type JobTaskForEachTaskTaskCleanRoomsNotebookTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput + ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput + ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput } -type JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs struct { + CleanRoomName pulumi.StringInput `pulumi:"cleanRoomName"` + Etag pulumi.StringPtrInput `pulumi:"etag"` + NotebookBaseParameters pulumi.StringMapInput `pulumi:"notebookBaseParameters"` + NotebookName pulumi.StringInput `pulumi:"notebookName"` } -func (JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskCleanRoomsNotebookTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput { + return i.ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) +func (i JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput).ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: +// JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs, JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtr and JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +// JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { +type JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput + ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput + ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs +type jobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrType JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs -func JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) +func JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtr(v *JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs) JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrInput { + return (*jobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (*jobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskCleanRoomsNotebookTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrType) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (i *jobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrType) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskCleanRoomsNotebookTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptAbfss) *JobTaskForEachTaskTaskNewClusterInitScriptAbfss { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskCleanRoomsNotebookTask) *JobTaskForEachTaskTaskCleanRoomsNotebookTask { return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) + }).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) CleanRoomName() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskCleanRoomsNotebookTask) string { return v.CleanRoomName }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) Etag() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskCleanRoomsNotebookTask) *string { return v.Etag }).(pulumi.StringPtrOutput) +} -func (JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) NotebookBaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskCleanRoomsNotebookTask) map[string]string { + return v.NotebookBaseParameters + }).(pulumi.StringMapOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) NotebookName() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskCleanRoomsNotebookTask) string { return v.NotebookName }).(pulumi.StringOutput) +} + +type JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskCleanRoomsNotebookTask)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput() JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) ToJobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptAbfss) JobTaskForEachTaskTaskNewClusterInitScriptAbfss { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) Elem() JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskCleanRoomsNotebookTask) JobTaskForEachTaskTaskCleanRoomsNotebookTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterInitScriptAbfss + var ret JobTaskForEachTaskTaskCleanRoomsNotebookTask return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) + }).(JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) CleanRoomName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskCleanRoomsNotebookTask) *string { if v == nil { return nil } - return &v.Destination + return &v.CleanRoomName }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) Etag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskCleanRoomsNotebookTask) *string { + if v == nil { + return nil + } + return v.Etag + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) NotebookBaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskCleanRoomsNotebookTask) map[string]string { + if v == nil { + return nil + } + return v.NotebookBaseParameters + }).(pulumi.StringMapOutput) +} + +func (o JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput) NotebookName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskCleanRoomsNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookName + }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskConditionTask struct { + // The left operand of the condition task. It could be a string value, job state, or a parameter reference. + Left string `pulumi:"left"` + // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + // + // This task does not require a cluster to execute and does not support retries or notifications. + Op string `pulumi:"op"` + // The right operand of the condition task. It could be a string value, job state, or parameter reference. + Right string `pulumi:"right"` +} + +// JobTaskForEachTaskTaskConditionTaskInput is an input type that accepts JobTaskForEachTaskTaskConditionTaskArgs and JobTaskForEachTaskTaskConditionTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskConditionTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { +// JobTaskForEachTaskTaskConditionTaskArgs{...} +type JobTaskForEachTaskTaskConditionTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput + ToJobTaskForEachTaskTaskConditionTaskOutput() JobTaskForEachTaskTaskConditionTaskOutput + ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskConditionTaskOutput } -type JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobTaskForEachTaskTaskConditionTaskArgs struct { + // The left operand of the condition task. It could be a string value, job state, or a parameter reference. + Left pulumi.StringInput `pulumi:"left"` + // The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + // + // This task does not require a cluster to execute and does not support retries or notifications. + Op pulumi.StringInput `pulumi:"op"` + // The right operand of the condition task. It could be a string value, job state, or parameter reference. + Right pulumi.StringInput `pulumi:"right"` } -func (JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskOutput() JobTaskForEachTaskTaskConditionTaskOutput { + return i.ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) +func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskConditionTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskConditionTaskArgs) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskConditionTaskOutput).ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: +// JobTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskConditionTaskArgs, JobTaskForEachTaskTaskConditionTaskPtr and JobTaskForEachTaskTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskConditionTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +// JobTaskForEachTaskTaskConditionTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { +type JobTaskForEachTaskTaskConditionTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput + ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs +type jobTaskForEachTaskTaskConditionTaskPtrType JobTaskForEachTaskTaskConditionTaskArgs -func JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) +func JobTaskForEachTaskTaskConditionTaskPtr(v *JobTaskForEachTaskTaskConditionTaskArgs) JobTaskForEachTaskTaskConditionTaskPtrInput { + return (*jobTaskForEachTaskTaskConditionTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (*jobTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskConditionTaskPtrType) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (i *jobTaskForEachTaskTaskConditionTaskPtrType) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskConditionTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskOutput() JobTaskForEachTaskTaskConditionTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptDbfs) *JobTaskForEachTaskTaskNewClusterInitScriptDbfs { +func (o JobTaskForEachTaskTaskConditionTaskOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskConditionTask) *JobTaskForEachTaskTaskConditionTask { return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) + }).(JobTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +// The left operand of the condition task. It could be a string value, job state, or a parameter reference. +func (o JobTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +// +// This task does not require a cluster to execute and does not support retries or notifications. +func (o JobTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +} -func (JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +// The right operand of the condition task. It could be a string value, job state, or parameter reference. +func (o JobTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +type JobTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskConditionTask)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutput() JobTaskForEachTaskTaskConditionTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) ToJobTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskConditionTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptDbfs) JobTaskForEachTaskTaskNewClusterInitScriptDbfs { +func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Elem() JobTaskForEachTaskTaskConditionTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) JobTaskForEachTaskTaskConditionTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterInitScriptDbfs + var ret JobTaskForEachTaskTaskConditionTask return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) + }).(JobTaskForEachTaskTaskConditionTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { +// The left operand of the condition task. It could be a string value, job state, or a parameter reference. +func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) *string { if v == nil { return nil } - return &v.Destination + return &v.Left }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +// The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +// +// This task does not require a cluster to execute and does not support retries or notifications. +func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptFileArgs and JobTaskForEachTaskTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptFileInput` via: +// The right operand of the condition task. It could be a string value, job state, or parameter reference. +func (o JobTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Right + }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskDbtTask struct { + // The name of the catalog to use inside Unity Catalog. + Catalog *string `pulumi:"catalog"` + // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + Commands []string `pulumi:"commands"` + // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + ProfilesDirectory *string `pulumi:"profilesDirectory"` + // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. + // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + ProjectDirectory *string `pulumi:"projectDirectory"` + // The name of the schema dbt should run in. Defaults to `default`. + Schema *string `pulumi:"schema"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. + Source *string `pulumi:"source"` + // The ID of the SQL warehouse that dbt should execute against. + // + // You also need to include a `gitSource` block to configure the repository that contains the dbt project. + WarehouseId *string `pulumi:"warehouseId"` +} + +// JobTaskForEachTaskTaskDbtTaskInput is an input type that accepts JobTaskForEachTaskTaskDbtTaskArgs and JobTaskForEachTaskTaskDbtTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskDbtTaskInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptFileInput interface { +// JobTaskForEachTaskTaskDbtTaskArgs{...} +type JobTaskForEachTaskTaskDbtTaskInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutput() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToJobTaskForEachTaskTaskDbtTaskOutput() JobTaskForEachTaskTaskDbtTaskOutput + ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskDbtTaskOutput } -type JobTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobTaskForEachTaskTaskDbtTaskArgs struct { + // The name of the catalog to use inside Unity Catalog. + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + // (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + Commands pulumi.StringArrayInput `pulumi:"commands"` + // The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + // The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + // * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. + // * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + // The name of the schema dbt should run in. Defaults to `default`. + Schema pulumi.StringPtrInput `pulumi:"schema"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. + Source pulumi.StringPtrInput `pulumi:"source"` + // The ID of the SQL warehouse that dbt should execute against. + // + // You also need to include a `gitSource` block to configure the repository that contains the dbt project. + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (JobTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutput() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskOutput() JobTaskForEachTaskTaskDbtTaskOutput { + return i.ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) +func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDbtTaskOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskDbtTaskArgs) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDbtTaskOutput).ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptFileArgs, JobTaskForEachTaskTaskNewClusterInitScriptFilePtr and JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: +// JobTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskDbtTaskArgs, JobTaskForEachTaskTaskDbtTaskPtr and JobTaskForEachTaskTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskDbtTaskPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +// JobTaskForEachTaskTaskDbtTaskArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { +type JobTaskForEachTaskTaskDbtTaskPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput + ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType JobTaskForEachTaskTaskNewClusterInitScriptFileArgs +type jobTaskForEachTaskTaskDbtTaskPtrType JobTaskForEachTaskTaskDbtTaskArgs -func JobTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) +func JobTaskForEachTaskTaskDbtTaskPtr(v *JobTaskForEachTaskTaskDbtTaskArgs) JobTaskForEachTaskTaskDbtTaskPtrInput { + return (*jobTaskForEachTaskTaskDbtTaskPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (*jobTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskDbtTaskPtrType) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (i *jobTaskForEachTaskTaskDbtTaskPtrType) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDbtTaskPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (JobTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutput() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskOutput() JobTaskForEachTaskTaskDbtTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptFile) *JobTaskForEachTaskTaskNewClusterInitScriptFile { +func (o JobTaskForEachTaskTaskDbtTaskOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskDbtTask) *JobTaskForEachTaskTaskDbtTask { return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) + }).(JobTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +// The name of the catalog to use inside Unity Catalog. +func (o JobTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". +func (o JobTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +} -func (JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. +func (o JobTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { +// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. +// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. +// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. +func (o JobTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +} + +// The name of the schema dbt should run in. Defaults to `default`. +func (o JobTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +} + +// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. +func (o JobTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +// The ID of the SQL warehouse that dbt should execute against. +// +// You also need to include a `gitSource` block to configure the repository that contains the dbt project. +func (o JobTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskDbtTask)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutput() JobTaskForEachTaskTaskDbtTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ToJobTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDbtTaskPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptFile) JobTaskForEachTaskTaskNewClusterInitScriptFile { +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Elem() JobTaskForEachTaskTaskDbtTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) JobTaskForEachTaskTaskDbtTask { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterInitScriptFile + var ret JobTaskForEachTaskTaskDbtTask return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) + }).(JobTaskForEachTaskTaskDbtTaskOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptFile) *string { +// The name of the catalog to use inside Unity Catalog. +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { if v == nil { return nil } - return &v.Destination + return v.Catalog }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` -} - -// JobTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs and JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: -// -// JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput +// (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +// The relative path to the directory in the repository specified by `gitSource` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) } -func (JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +// The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. +// * If `source` is `GIT`: Relative path to the directory in the repository specified in the `gitSource` block. Defaults to the repository's root directory when not specified. +// * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +// The name of the schema dbt should run in. Defaults to `default`. +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) +// The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `gitSource` block is present in the job definition. +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +// The ID of the SQL warehouse that dbt should execute against. +// +// You also need to include a `gitSource` block to configure the repository that contains the dbt project. +func (o JobTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +type JobTaskForEachTaskTaskDependsOn struct { + // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + // + // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. + Outcome *string `pulumi:"outcome"` + // The name of the task this task depends on. + TaskKey string `pulumi:"taskKey"` } -// JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs, JobTaskForEachTaskTaskNewClusterInitScriptGcsPtr and JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -// -// or: +// JobTaskForEachTaskTaskDependsOnInput is an input type that accepts JobTaskForEachTaskTaskDependsOnArgs and JobTaskForEachTaskTaskDependsOnOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskDependsOnInput` via: // -// nil -type JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { +// JobTaskForEachTaskTaskDependsOnArgs{...} +type JobTaskForEachTaskTaskDependsOnInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToJobTaskForEachTaskTaskDependsOnOutput() JobTaskForEachTaskTaskDependsOnOutput + ToJobTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) JobTaskForEachTaskTaskDependsOnOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs +type JobTaskForEachTaskTaskDependsOnArgs struct { + // Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + // + // > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + // The name of the task this task depends on. + TaskKey pulumi.StringInput `pulumi:"taskKey"` +} -func JobTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) +func (JobTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (*jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (i JobTaskForEachTaskTaskDependsOnArgs) ToJobTaskForEachTaskTaskDependsOnOutput() JobTaskForEachTaskTaskDependsOnOutput { + return i.ToJobTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskDependsOnArgs) ToJobTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDependsOnOutput) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +// JobTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts JobTaskForEachTaskTaskDependsOnArray and JobTaskForEachTaskTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskDependsOnArrayInput` via: +// +// JobTaskForEachTaskTaskDependsOnArray{ JobTaskForEachTaskTaskDependsOnArgs{...} } +type JobTaskForEachTaskTaskDependsOnArrayInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskDependsOnArrayOutput() JobTaskForEachTaskTaskDependsOnArrayOutput + ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskDependsOnArrayOutput } -type JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskDependsOnArray []JobTaskForEachTaskTaskDependsOnInput -func (JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (JobTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o +func (i JobTaskForEachTaskTaskDependsOnArray) ToJobTaskForEachTaskTaskDependsOnArrayOutput() JobTaskForEachTaskTaskDependsOnArrayOutput { + return i.ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { +func (i JobTaskForEachTaskTaskDependsOnArray) ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskDependsOnArrayOutput) +} + +type JobTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskDependsOn)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskDependsOnOutput) ToJobTaskForEachTaskTaskDependsOnOutput() JobTaskForEachTaskTaskDependsOnOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskDependsOnOutput) ToJobTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptGcs) *JobTaskForEachTaskTaskNewClusterInitScriptGcs { - return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +// Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. +// +// > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs. +func (o JobTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +// The name of the task this task depends on. +func (o JobTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (JobTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o JobTaskForEachTaskTaskDependsOnArrayOutput) ToJobTaskForEachTaskTaskDependsOnArrayOutput() JobTaskForEachTaskTaskDependsOnArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o JobTaskForEachTaskTaskDependsOnArrayOutput) ToJobTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskDependsOnArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptGcs) JobTaskForEachTaskTaskNewClusterInitScriptGcs { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterInitScriptGcs - return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskDependsOnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskDependsOn { + return vs[0].([]JobTaskForEachTaskTaskDependsOn)[vs[1].(int)] + }).(JobTaskForEachTaskTaskDependsOnOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type JobTaskForEachTaskTaskEmailNotifications struct { + // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // The following parameter is only available for the job level configuration. + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of emails to notify when the run fails. + OnFailures []string `pulumi:"onFailures"` + // (List) list of emails to notify when the run starts. + OnStarts []string `pulumi:"onStarts"` + OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` + // (List) list of emails to notify when the run completes successfully. + OnSuccesses []string `pulumi:"onSuccesses"` } -// JobTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptS3Args and JobTaskForEachTaskTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptS3Input` via: +// JobTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts JobTaskForEachTaskTaskEmailNotificationsArgs and JobTaskForEachTaskTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskEmailNotificationsInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptS3Args{...} -type JobTaskForEachTaskTaskNewClusterInitScriptS3Input interface { +// JobTaskForEachTaskTaskEmailNotificationsArgs{...} +type JobTaskForEachTaskTaskEmailNotificationsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptS3Output() JobTaskForEachTaskTaskNewClusterInitScriptS3Output - ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3Output + ToJobTaskForEachTaskTaskEmailNotificationsOutput() JobTaskForEachTaskTaskEmailNotificationsOutput + ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) JobTaskForEachTaskTaskEmailNotificationsOutput } -type JobTaskForEachTaskTaskNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobTaskForEachTaskTaskEmailNotificationsArgs struct { + // (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + // (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // The following parameter is only available for the job level configuration. + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of emails to notify when the run fails. + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + // (List) list of emails to notify when the run starts. + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` + // (List) list of emails to notify when the run completes successfully. + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (JobTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3Output() JobTaskForEachTaskTaskNewClusterInitScriptS3Output { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsOutput() JobTaskForEachTaskTaskEmailNotificationsOutput { + return i.ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptS3Output) +func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskEmailNotificationsOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptS3Output).ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskEmailNotificationsArgs) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskEmailNotificationsOutput).ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptS3Args, JobTaskForEachTaskTaskNewClusterInitScriptS3Ptr and JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: +// JobTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts JobTaskForEachTaskTaskEmailNotificationsArgs, JobTaskForEachTaskTaskEmailNotificationsPtr and JobTaskForEachTaskTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskEmailNotificationsPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// JobTaskForEachTaskTaskEmailNotificationsArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { +type JobTaskForEachTaskTaskEmailNotificationsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput + ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType JobTaskForEachTaskTaskNewClusterInitScriptS3Args +type jobTaskForEachTaskTaskEmailNotificationsPtrType JobTaskForEachTaskTaskEmailNotificationsArgs -func JobTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *JobTaskForEachTaskTaskNewClusterInitScriptS3Args) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) +func JobTaskForEachTaskTaskEmailNotificationsPtr(v *JobTaskForEachTaskTaskEmailNotificationsArgs) JobTaskForEachTaskTaskEmailNotificationsPtrInput { + return (*jobTaskForEachTaskTaskEmailNotificationsPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (*jobTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskEmailNotificationsPtrType) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (i *jobTaskForEachTaskTaskEmailNotificationsPtrType) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (JobTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3Output() JobTaskForEachTaskTaskNewClusterInitScriptS3Output { +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsOutput() JobTaskForEachTaskTaskEmailNotificationsOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3Output { +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptS3) *JobTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskEmailNotifications) *JobTaskForEachTaskTaskEmailNotifications { return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) -} - -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskEmailNotificationsPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// The following parameter is only available for the job level configuration. +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +// (List) list of emails to notify when the run fails. +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// (List) list of emails to notify when the run starts. +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +// (List) list of emails to notify when the run completes successfully. +func (o JobTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (JobTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutput() JobTaskForEachTaskTaskEmailNotificationsPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) ToJobTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskEmailNotificationsPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) JobTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() JobTaskForEachTaskTaskEmailNotificationsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) JobTaskForEachTaskTaskEmailNotifications { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterInitScriptS3 + var ret JobTaskForEachTaskTaskEmailNotifications return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptS3Output) -} - -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskEmailNotificationsOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { +// (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notificationSettings` configuration block). +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *bool { +// (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// The following parameter is only available for the job level configuration. +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { +// (List) list of emails to notify when the run fails. +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.OnFailures + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { +// (List) list of emails to notify when the run starts. +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.KmsKey - }).(pulumi.StringPtrOutput) + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { +// (List) list of emails to notify when the run completes successfully. +func (o JobTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskEmailNotifications) []string { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type JobTaskForEachTaskTaskHealth struct { + // list of rules that are represented as objects with the following attributes: + Rules []JobTaskForEachTaskTaskHealthRule `pulumi:"rules"` } -// JobTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: +// JobTaskForEachTaskTaskHealthInput is an input type that accepts JobTaskForEachTaskTaskHealthArgs and JobTaskForEachTaskTaskHealthOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { +// JobTaskForEachTaskTaskHealthArgs{...} +type JobTaskForEachTaskTaskHealthInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToJobTaskForEachTaskTaskHealthOutput() JobTaskForEachTaskTaskHealthOutput + ToJobTaskForEachTaskTaskHealthOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthOutput } -type JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobTaskForEachTaskTaskHealthArgs struct { + // list of rules that are represented as objects with the following attributes: + Rules JobTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` } -func (JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (JobTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskHealth)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthOutput() JobTaskForEachTaskTaskHealthOutput { + return i.ToJobTaskForEachTaskTaskHealthOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthOutput) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { + return i.ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskHealthArgs) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthOutput).ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: +// JobTaskForEachTaskTaskHealthPtrInput is an input type that accepts JobTaskForEachTaskTaskHealthArgs, JobTaskForEachTaskTaskHealthPtr and JobTaskForEachTaskTaskHealthPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// JobTaskForEachTaskTaskHealthArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { +type JobTaskForEachTaskTaskHealthPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput + ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthPtrOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs +type jobTaskForEachTaskTaskHealthPtrType JobTaskForEachTaskTaskHealthArgs -func JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) +func JobTaskForEachTaskTaskHealthPtr(v *JobTaskForEachTaskTaskHealthArgs) JobTaskForEachTaskTaskHealthPtrInput { + return (*jobTaskForEachTaskTaskHealthPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (*jobTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskHealth)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskHealthPtrType) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { + return i.ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (i *jobTaskForEachTaskTaskHealthPtrType) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthPtrOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (JobTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthOutput() JobTaskForEachTaskTaskHealthOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { + return o.ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptVolumes) *JobTaskForEachTaskTaskNewClusterInitScriptVolumes { +func (o JobTaskForEachTaskTaskHealthOutput) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskHealth) *JobTaskForEachTaskTaskHealth { return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) + }).(JobTaskForEachTaskTaskHealthPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +// list of rules that are represented as objects with the following attributes: +func (o JobTaskForEachTaskTaskHealthOutput) Rules() JobTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskHealth) []JobTaskForEachTaskTaskHealthRule { return v.Rules }).(JobTaskForEachTaskTaskHealthRuleArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (JobTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { +func (o JobTaskForEachTaskTaskHealthPtrOutput) ToJobTaskForEachTaskTaskHealthPtrOutput() JobTaskForEachTaskTaskHealthPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { +func (o JobTaskForEachTaskTaskHealthPtrOutput) ToJobTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptVolumes) JobTaskForEachTaskTaskNewClusterInitScriptVolumes { +func (o JobTaskForEachTaskTaskHealthPtrOutput) Elem() JobTaskForEachTaskTaskHealthOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskHealth) JobTaskForEachTaskTaskHealth { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterInitScriptVolumes + var ret JobTaskForEachTaskTaskHealth return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) + }).(JobTaskForEachTaskTaskHealthOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { +// list of rules that are represented as objects with the following attributes: +func (o JobTaskForEachTaskTaskHealthPtrOutput) Rules() JobTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskHealth) []JobTaskForEachTaskTaskHealthRule { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Rules + }).(JobTaskForEachTaskTaskHealthRuleArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type JobTaskForEachTaskTaskHealthRule struct { + // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + Metric string `pulumi:"metric"` + // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + Op string `pulumi:"op"` + // integer value used to compare to the given metric. + Value int `pulumi:"value"` } -// JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs and JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput` via: +// JobTaskForEachTaskTaskHealthRuleInput is an input type that accepts JobTaskForEachTaskTaskHealthRuleArgs and JobTaskForEachTaskTaskHealthRuleOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthRuleInput` via: // -// JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} -type JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput interface { +// JobTaskForEachTaskTaskHealthRuleArgs{...} +type JobTaskForEachTaskTaskHealthRuleInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput -} - -type JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() + ToJobTaskForEachTaskTaskHealthRuleOutput() JobTaskForEachTaskTaskHealthRuleOutput + ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthRuleOutput } -func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +type JobTaskForEachTaskTaskHealthRuleArgs struct { + // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + Metric pulumi.StringInput `pulumi:"metric"` + // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + Op pulumi.StringInput `pulumi:"op"` + // integer value used to compare to the given metric. + Value pulumi.IntInput `pulumi:"value"` } -func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) +func (JobTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskHealthRuleArgs) ToJobTaskForEachTaskTaskHealthRuleOutput() JobTaskForEachTaskTaskHealthRuleOutput { + return i.ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskHealthRuleArgs) ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthRuleOutput) } -// JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs, JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr and JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} -// -// or: +// JobTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts JobTaskForEachTaskTaskHealthRuleArray and JobTaskForEachTaskTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskHealthRuleArrayInput` via: // -// nil -type JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput interface { +// JobTaskForEachTaskTaskHealthRuleArray{ JobTaskForEachTaskTaskHealthRuleArgs{...} } +type JobTaskForEachTaskTaskHealthRuleArrayInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput - ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput + ToJobTaskForEachTaskTaskHealthRuleArrayOutput() JobTaskForEachTaskTaskHealthRuleArrayOutput + ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskHealthRuleArrayOutput } -type jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs - -func JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { - return (*jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) -} +type JobTaskForEachTaskTaskHealthRuleArray []JobTaskForEachTaskTaskHealthRuleInput -func (*jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskHealthRuleArray) ToJobTaskForEachTaskTaskHealthRuleArrayOutput() JobTaskForEachTaskTaskHealthRuleArrayOutput { + return i.ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (i JobTaskForEachTaskTaskHealthRuleArray) ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskHealthRuleArrayOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { +func (o JobTaskForEachTaskTaskHealthRuleOutput) ToJobTaskForEachTaskTaskHealthRuleOutput() JobTaskForEachTaskTaskHealthRuleOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { +func (o JobTaskForEachTaskTaskHealthRuleOutput) ToJobTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +// string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +func (o JobTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return &v - }).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +// string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. +func (o JobTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +// integer value used to compare to the given metric. +func (o JobTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) } -type JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() -} +type JobTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o +func (JobTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o JobTaskForEachTaskTaskHealthRuleArrayOutput) ToJobTaskForEachTaskTaskHealthRuleArrayOutput() JobTaskForEachTaskTaskHealthRuleArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) JobTaskForEachTaskTaskNewClusterInitScriptWorkspace { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterInitScriptWorkspace - return ret - }).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) +func (o JobTaskForEachTaskTaskHealthRuleArrayOutput) ToJobTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskHealthRuleArrayOutput { + return o } -func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskHealthRule { + return vs[0].([]JobTaskForEachTaskTaskHealthRule)[vs[1].(int)] + }).(JobTaskForEachTaskTaskHealthRuleOutput) } -type JobTaskForEachTaskTaskNewClusterLibrary struct { - Cran *JobTaskForEachTaskTaskNewClusterLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobTaskForEachTaskTaskNewClusterLibraryMaven `pulumi:"maven"` - Pypi *JobTaskForEachTaskTaskNewClusterLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +type JobTaskForEachTaskTaskLibrary struct { + Cran *JobTaskForEachTaskTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` + Pypi *JobTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// JobTaskForEachTaskTaskNewClusterLibraryInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryArgs and JobTaskForEachTaskTaskNewClusterLibraryOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryInput` via: +// JobTaskForEachTaskTaskLibraryInput is an input type that accepts JobTaskForEachTaskTaskLibraryArgs and JobTaskForEachTaskTaskLibraryOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryArgs{...} -type JobTaskForEachTaskTaskNewClusterLibraryInput interface { +// JobTaskForEachTaskTaskLibraryArgs{...} +type JobTaskForEachTaskTaskLibraryInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryOutput() JobTaskForEachTaskTaskNewClusterLibraryOutput - ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryOutput + ToJobTaskForEachTaskTaskLibraryOutput() JobTaskForEachTaskTaskLibraryOutput + ToJobTaskForEachTaskTaskLibraryOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryOutput } -type JobTaskForEachTaskTaskNewClusterLibraryArgs struct { - Cran JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type JobTaskForEachTaskTaskLibraryArgs struct { + Cran JobTaskForEachTaskTaskLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobTaskForEachTaskTaskLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobTaskForEachTaskTaskLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (JobTaskForEachTaskTaskNewClusterLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterLibraryArgs) ToJobTaskForEachTaskTaskNewClusterLibraryOutput() JobTaskForEachTaskTaskNewClusterLibraryOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryArgs) ToJobTaskForEachTaskTaskLibraryOutput() JobTaskForEachTaskTaskLibraryOutput { + return i.ToJobTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryArgs) ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryOutput) +func (i JobTaskForEachTaskTaskLibraryArgs) ToJobTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryOutput) } -// JobTaskForEachTaskTaskNewClusterLibraryArrayInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryArray and JobTaskForEachTaskTaskNewClusterLibraryArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryArrayInput` via: +// JobTaskForEachTaskTaskLibraryArrayInput is an input type that accepts JobTaskForEachTaskTaskLibraryArray and JobTaskForEachTaskTaskLibraryArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryArrayInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryArray{ JobTaskForEachTaskTaskNewClusterLibraryArgs{...} } -type JobTaskForEachTaskTaskNewClusterLibraryArrayInput interface { +// JobTaskForEachTaskTaskLibraryArray{ JobTaskForEachTaskTaskLibraryArgs{...} } +type JobTaskForEachTaskTaskLibraryArrayInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutput() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput - ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryArrayOutput + ToJobTaskForEachTaskTaskLibraryArrayOutput() JobTaskForEachTaskTaskLibraryArrayOutput + ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryArrayOutput } -type JobTaskForEachTaskTaskNewClusterLibraryArray []JobTaskForEachTaskTaskNewClusterLibraryInput +type JobTaskForEachTaskTaskLibraryArray []JobTaskForEachTaskTaskLibraryInput -func (JobTaskForEachTaskTaskNewClusterLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterLibraryArray) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutput() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryArray) ToJobTaskForEachTaskTaskLibraryArrayOutput() JobTaskForEachTaskTaskLibraryArrayOutput { + return i.ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryArray) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) +func (i JobTaskForEachTaskTaskLibraryArray) ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryArrayOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) ToJobTaskForEachTaskTaskNewClusterLibraryOutput() JobTaskForEachTaskTaskNewClusterLibraryOutput { +func (o JobTaskForEachTaskTaskLibraryOutput) ToJobTaskForEachTaskTaskLibraryOutput() JobTaskForEachTaskTaskLibraryOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryOutput { +func (o JobTaskForEachTaskTaskLibraryOutput) ToJobTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Cran() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *JobTaskForEachTaskTaskNewClusterLibraryCran { - return v.Cran - }).(JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Cran() JobTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *JobTaskForEachTaskTaskLibraryCran { return v.Cran }).(JobTaskForEachTaskTaskLibraryCranPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Maven() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *JobTaskForEachTaskTaskNewClusterLibraryMaven { - return v.Maven - }).(JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Maven() JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *JobTaskForEachTaskTaskLibraryMaven { return v.Maven }).(JobTaskForEachTaskTaskLibraryMavenPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Pypi() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *JobTaskForEachTaskTaskNewClusterLibraryPypi { - return v.Pypi - }).(JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Pypi() JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *JobTaskForEachTaskTaskLibraryPypi { return v.Pypi }).(JobTaskForEachTaskTaskLibraryPypiPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutput() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { +func (o JobTaskForEachTaskTaskLibraryArrayOutput) ToJobTaskForEachTaskTaskLibraryArrayOutput() JobTaskForEachTaskTaskLibraryArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { +func (o JobTaskForEachTaskTaskLibraryArrayOutput) ToJobTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryArrayOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskNewClusterLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskNewClusterLibrary { - return vs[0].([]JobTaskForEachTaskTaskNewClusterLibrary)[vs[1].(int)] - }).(JobTaskForEachTaskTaskNewClusterLibraryOutput) +func (o JobTaskForEachTaskTaskLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskLibrary { + return vs[0].([]JobTaskForEachTaskTaskLibrary)[vs[1].(int)] + }).(JobTaskForEachTaskTaskLibraryOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryCran struct { +type JobTaskForEachTaskTaskLibraryCran struct { Package string `pulumi:"package"` Repo *string `pulumi:"repo"` } -// JobTaskForEachTaskTaskNewClusterLibraryCranInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryCranArgs and JobTaskForEachTaskTaskNewClusterLibraryCranOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryCranInput` via: +// JobTaskForEachTaskTaskLibraryCranInput is an input type that accepts JobTaskForEachTaskTaskLibraryCranArgs and JobTaskForEachTaskTaskLibraryCranOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryCranInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryCranArgs{...} -type JobTaskForEachTaskTaskNewClusterLibraryCranInput interface { +// JobTaskForEachTaskTaskLibraryCranArgs{...} +type JobTaskForEachTaskTaskLibraryCranInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryCranOutput() JobTaskForEachTaskTaskNewClusterLibraryCranOutput - ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranOutput + ToJobTaskForEachTaskTaskLibraryCranOutput() JobTaskForEachTaskTaskLibraryCranOutput + ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryCranOutput } -type JobTaskForEachTaskTaskNewClusterLibraryCranArgs struct { +type JobTaskForEachTaskTaskLibraryCranArgs struct { Package pulumi.StringInput `pulumi:"package"` Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutput() JobTaskForEachTaskTaskNewClusterLibraryCranOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranOutput() JobTaskForEachTaskTaskLibraryCranOutput { + return i.ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryCranOutput) +func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryCranOutput) } -func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryCranOutput).ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskLibraryCranArgs) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryCranOutput).ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryCranArgs, JobTaskForEachTaskTaskNewClusterLibraryCranPtr and JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput` via: +// JobTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts JobTaskForEachTaskTaskLibraryCranArgs, JobTaskForEachTaskTaskLibraryCranPtr and JobTaskForEachTaskTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryCranPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryCranArgs{...} +// JobTaskForEachTaskTaskLibraryCranArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput interface { +type JobTaskForEachTaskTaskLibraryCranPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput - ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput + ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput + ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput } -type jobTaskForEachTaskTaskNewClusterLibraryCranPtrType JobTaskForEachTaskTaskNewClusterLibraryCranArgs +type jobTaskForEachTaskTaskLibraryCranPtrType JobTaskForEachTaskTaskLibraryCranArgs -func JobTaskForEachTaskTaskNewClusterLibraryCranPtr(v *JobTaskForEachTaskTaskNewClusterLibraryCranArgs) JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput { - return (*jobTaskForEachTaskTaskNewClusterLibraryCranPtrType)(v) +func JobTaskForEachTaskTaskLibraryCranPtr(v *JobTaskForEachTaskTaskLibraryCranArgs) JobTaskForEachTaskTaskLibraryCranPtrInput { + return (*jobTaskForEachTaskTaskLibraryCranPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() +func (*jobTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterLibraryCranPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskLibraryCranPtrType) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterLibraryCranPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) +func (i *jobTaskForEachTaskTaskLibraryCranPtrType) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryCranPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryCranOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutput() JobTaskForEachTaskTaskNewClusterLibraryCranOutput { +func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranOutput() JobTaskForEachTaskTaskLibraryCranOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranOutput { +func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterLibraryCran) *JobTaskForEachTaskTaskNewClusterLibraryCran { +func (o JobTaskForEachTaskTaskLibraryCranOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskLibraryCran) *JobTaskForEachTaskTaskLibraryCran { return &v - }).(JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) + }).(JobTaskForEachTaskTaskLibraryCranPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { +func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutput() JobTaskForEachTaskTaskLibraryCranPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { +func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) ToJobTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryCranPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterLibraryCranOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryCran) JobTaskForEachTaskTaskNewClusterLibraryCran { +func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) Elem() JobTaskForEachTaskTaskLibraryCranOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryCran) JobTaskForEachTaskTaskLibraryCran { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterLibraryCran + var ret JobTaskForEachTaskTaskLibraryCran return ret - }).(JobTaskForEachTaskTaskNewClusterLibraryCranOutput) + }).(JobTaskForEachTaskTaskLibraryCranOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryCran) *string { +func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryCran) *string { if v == nil { return nil } @@ -31590,8 +30634,8 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Package() pulumi.S }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryCran) *string { +func (o JobTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryCran) *string { if v == nil { return nil } @@ -31599,144 +30643,144 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Repo() pulumi.Stri }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryMaven struct { +type JobTaskForEachTaskTaskLibraryMaven struct { Coordinates string `pulumi:"coordinates"` Exclusions []string `pulumi:"exclusions"` Repo *string `pulumi:"repo"` } -// JobTaskForEachTaskTaskNewClusterLibraryMavenInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryMavenArgs and JobTaskForEachTaskTaskNewClusterLibraryMavenOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryMavenInput` via: +// JobTaskForEachTaskTaskLibraryMavenInput is an input type that accepts JobTaskForEachTaskTaskLibraryMavenArgs and JobTaskForEachTaskTaskLibraryMavenOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryMavenInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryMavenArgs{...} -type JobTaskForEachTaskTaskNewClusterLibraryMavenInput interface { +// JobTaskForEachTaskTaskLibraryMavenArgs{...} +type JobTaskForEachTaskTaskLibraryMavenInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput - ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenOutput + ToJobTaskForEachTaskTaskLibraryMavenOutput() JobTaskForEachTaskTaskLibraryMavenOutput + ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryMavenOutput } -type JobTaskForEachTaskTaskNewClusterLibraryMavenArgs struct { +type JobTaskForEachTaskTaskLibraryMavenArgs struct { Coordinates pulumi.StringInput `pulumi:"coordinates"` Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenOutput() JobTaskForEachTaskTaskLibraryMavenOutput { + return i.ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) +func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryMavenOutput) } -func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryMavenOutput).ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskLibraryMavenArgs) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryMavenOutput).ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryMavenArgs, JobTaskForEachTaskTaskNewClusterLibraryMavenPtr and JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput` via: +// JobTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts JobTaskForEachTaskTaskLibraryMavenArgs, JobTaskForEachTaskTaskLibraryMavenPtr and JobTaskForEachTaskTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryMavenPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryMavenArgs{...} +// JobTaskForEachTaskTaskLibraryMavenArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput interface { +type JobTaskForEachTaskTaskLibraryMavenPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput - ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput + ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput + ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput } -type jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType JobTaskForEachTaskTaskNewClusterLibraryMavenArgs +type jobTaskForEachTaskTaskLibraryMavenPtrType JobTaskForEachTaskTaskLibraryMavenArgs -func JobTaskForEachTaskTaskNewClusterLibraryMavenPtr(v *JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput { - return (*jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType)(v) +func JobTaskForEachTaskTaskLibraryMavenPtr(v *JobTaskForEachTaskTaskLibraryMavenArgs) JobTaskForEachTaskTaskLibraryMavenPtrInput { + return (*jobTaskForEachTaskTaskLibraryMavenPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() +func (*jobTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskLibraryMavenPtrType) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) +func (i *jobTaskForEachTaskTaskLibraryMavenPtrType) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryMavenPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { +func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenOutput() JobTaskForEachTaskTaskLibraryMavenOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { +func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterLibraryMaven) *JobTaskForEachTaskTaskNewClusterLibraryMaven { +func (o JobTaskForEachTaskTaskLibraryMavenOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskLibraryMaven) *JobTaskForEachTaskTaskLibraryMaven { return &v - }).(JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) + }).(JobTaskForEachTaskTaskLibraryMavenPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { +func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutput() JobTaskForEachTaskTaskLibraryMavenPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { +func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryMavenPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) JobTaskForEachTaskTaskNewClusterLibraryMaven { +func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() JobTaskForEachTaskTaskLibraryMavenOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) JobTaskForEachTaskTaskLibraryMaven { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterLibraryMaven + var ret JobTaskForEachTaskTaskLibraryMaven return ret - }).(JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) + }).(JobTaskForEachTaskTaskLibraryMavenOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) *string { +func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) *string { if v == nil { return nil } @@ -31744,8 +30788,8 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Coordinates() pul }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) []string { +func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) []string { if v == nil { return nil } @@ -31753,8 +30797,8 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Exclusions() pulu }).(pulumi.StringArrayOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) *string { +func (o JobTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryMaven) *string { if v == nil { return nil } @@ -31762,138 +30806,138 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Repo() pulumi.Str }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryPypi struct { +type JobTaskForEachTaskTaskLibraryPypi struct { Package string `pulumi:"package"` Repo *string `pulumi:"repo"` } -// JobTaskForEachTaskTaskNewClusterLibraryPypiInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryPypiArgs and JobTaskForEachTaskTaskNewClusterLibraryPypiOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryPypiInput` via: +// JobTaskForEachTaskTaskLibraryPypiInput is an input type that accepts JobTaskForEachTaskTaskLibraryPypiArgs and JobTaskForEachTaskTaskLibraryPypiOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryPypiInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryPypiArgs{...} -type JobTaskForEachTaskTaskNewClusterLibraryPypiInput interface { +// JobTaskForEachTaskTaskLibraryPypiArgs{...} +type JobTaskForEachTaskTaskLibraryPypiInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput - ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiOutput + ToJobTaskForEachTaskTaskLibraryPypiOutput() JobTaskForEachTaskTaskLibraryPypiOutput + ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryPypiOutput } -type JobTaskForEachTaskTaskNewClusterLibraryPypiArgs struct { +type JobTaskForEachTaskTaskLibraryPypiArgs struct { Package pulumi.StringInput `pulumi:"package"` Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiOutput() JobTaskForEachTaskTaskLibraryPypiOutput { + return i.ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) +func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryPypiOutput) } -func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryPypiOutput).ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskLibraryPypiArgs) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryPypiOutput).ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryPypiArgs, JobTaskForEachTaskTaskNewClusterLibraryPypiPtr and JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput` via: +// JobTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts JobTaskForEachTaskTaskLibraryPypiArgs, JobTaskForEachTaskTaskLibraryPypiPtr and JobTaskForEachTaskTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskLibraryPypiPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterLibraryPypiArgs{...} +// JobTaskForEachTaskTaskLibraryPypiArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput interface { +type JobTaskForEachTaskTaskLibraryPypiPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput - ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput + ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput + ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput } -type jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType JobTaskForEachTaskTaskNewClusterLibraryPypiArgs +type jobTaskForEachTaskTaskLibraryPypiPtrType JobTaskForEachTaskTaskLibraryPypiArgs -func JobTaskForEachTaskTaskNewClusterLibraryPypiPtr(v *JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput { - return (*jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType)(v) +func JobTaskForEachTaskTaskLibraryPypiPtr(v *JobTaskForEachTaskTaskLibraryPypiArgs) JobTaskForEachTaskTaskLibraryPypiPtrInput { + return (*jobTaskForEachTaskTaskLibraryPypiPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() +func (*jobTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskLibraryPypiPtrType) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) +func (i *jobTaskForEachTaskTaskLibraryPypiPtrType) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskLibraryPypiPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { +func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiOutput() JobTaskForEachTaskTaskLibraryPypiOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { +func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterLibraryPypi) *JobTaskForEachTaskTaskNewClusterLibraryPypi { +func (o JobTaskForEachTaskTaskLibraryPypiOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskLibraryPypi) *JobTaskForEachTaskTaskLibraryPypi { return &v - }).(JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) + }).(JobTaskForEachTaskTaskLibraryPypiPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() +func (JobTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { +func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutput() JobTaskForEachTaskTaskLibraryPypiPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { +func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskLibraryPypiPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryPypi) JobTaskForEachTaskTaskNewClusterLibraryPypi { +func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() JobTaskForEachTaskTaskLibraryPypiOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryPypi) JobTaskForEachTaskTaskLibraryPypi { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterLibraryPypi + var ret JobTaskForEachTaskTaskLibraryPypi return ret - }).(JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) + }).(JobTaskForEachTaskTaskLibraryPypiOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryPypi) *string { +func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryPypi) *string { if v == nil { return nil } @@ -31901,8 +30945,8 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Package() pulumi.S }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryPypi) *string { +func (o JobTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskLibraryPypi) *string { if v == nil { return nil } @@ -31910,8770 +30954,9030 @@ func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Repo() pulumi.Stri }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadType struct { - Clients JobTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +type JobTaskForEachTaskTaskNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *JobTaskForEachTaskTaskNewClusterAutoscale `pulumi:"autoscale"` + AwsAttributes *JobTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *JobTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *JobTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []JobTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *JobTaskForEachTaskTaskNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` + EnableElasticDisk *bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *JobTaskForEachTaskTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []JobTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries []JobTaskForEachTaskTaskNewClusterLibrary `pulumi:"libraries"` + NodeTypeId *string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType *JobTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` } -// JobTaskForEachTaskTaskNewClusterWorkloadTypeInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs and JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypeInput` via: +// JobTaskForEachTaskTaskNewClusterInput is an input type that accepts JobTaskForEachTaskTaskNewClusterArgs and JobTaskForEachTaskTaskNewClusterOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInput` via: // -// JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} -type JobTaskForEachTaskTaskNewClusterWorkloadTypeInput interface { +// JobTaskForEachTaskTaskNewClusterArgs{...} +type JobTaskForEachTaskTaskNewClusterInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput - ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput + ToJobTaskForEachTaskTaskNewClusterOutput() JobTaskForEachTaskTaskNewClusterOutput + ToJobTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterOutput } -type JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { - Clients JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type JobTaskForEachTaskTaskNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale JobTaskForEachTaskTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AwsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage JobTaskForEachTaskTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts JobTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + IsSingleNode pulumi.BoolPtrInput `pulumi:"isSingleNode"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries JobTaskForEachTaskTaskNewClusterLibraryArrayInput `pulumi:"libraries"` + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + UseMlRuntime pulumi.BoolPtrInput `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterOutput() JobTaskForEachTaskTaskNewClusterOutput { + return i.ToJobTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) +func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterOutput) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterArgs) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterOutput).ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs, JobTaskForEachTaskTaskNewClusterWorkloadTypePtr and JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput` via: +// JobTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterArgs, JobTaskForEachTaskTaskNewClusterPtr and JobTaskForEachTaskTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterPtrInput` via: // -// JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} +// JobTaskForEachTaskTaskNewClusterArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput interface { +type JobTaskForEachTaskTaskNewClusterPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput - ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput + ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput + ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput } -type jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs +type jobTaskForEachTaskTaskNewClusterPtrType JobTaskForEachTaskTaskNewClusterArgs -func JobTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { - return (*jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) +func JobTaskForEachTaskTaskNewClusterPtr(v *JobTaskForEachTaskTaskNewClusterArgs) JobTaskForEachTaskTaskNewClusterPtrInput { + return (*jobTaskForEachTaskTaskNewClusterPtrType)(v) } -func (*jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterPtrType) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterPtrType) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterPtrOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { +func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterOutput() JobTaskForEachTaskTaskNewClusterOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { +func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterWorkloadType) *JobTaskForEachTaskTaskNewClusterWorkloadType { +func (o JobTaskForEachTaskTaskNewClusterOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewCluster { return &v - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) + }).(JobTaskForEachTaskTaskNewClusterPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterWorkloadType) JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return v.Clients - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterOutput) Autoscale() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAutoscale { + return v.Autoscale + }).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +} -func (JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterOutput) AwsAttributes() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAwsAttributes { + return v.AwsAttributes + }).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterOutput) AzureAttributes() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAzureAttributes { + return v.AzureAttributes + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadType) JobTaskForEachTaskTaskNewClusterWorkloadType { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskNewClusterWorkloadType - return ret - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterClusterLogConf { + return v.ClusterLogConf + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadType) *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { - if v == nil { - return nil - } - return &v.Clients - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o JobTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: -// -// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { - pulumi.Input +func (o JobTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +} - ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput - ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput +func (o JobTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +func (o JobTaskForEachTaskTaskNewClusterOutput) DockerImage() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterDockerImage { + return v.DockerImage + }).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -func (JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (o JobTaskForEachTaskTaskNewClusterOutput) GcpAttributes() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterGcpAttributes { + return v.GcpAttributes + }).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: -// -// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -// -// or: -// -// nil -type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { - pulumi.Input +func (o JobTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} - ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput - ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput +func (o JobTaskForEachTaskTaskNewClusterOutput) InitScripts() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterInitScript { + return v.InitScripts + }).(JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) } -type jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs +func (o JobTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} -func JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { - return (*jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) +func (o JobTaskForEachTaskTaskNewClusterOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.IsSingleNode }).(pulumi.BoolPtrOutput) } -func (*jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.Kind }).(pulumi.StringPtrOutput) } -func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobTaskForEachTaskTaskNewClusterOutput) Libraries() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterLibrary { return v.Libraries }).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) } -func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +} -func (JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return &v - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *bool { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) +} -func (JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +// isn't supported +func (o JobTaskForEachTaskTaskNewClusterOutput) WorkloadType() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterWorkloadType { + return v.WorkloadType + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { +type JobTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewCluster)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutput() JobTaskForEachTaskTaskNewClusterPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ToJobTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterPtrOutput { return o } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) JobTaskForEachTaskTaskNewCluster { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNewClusterWorkloadTypeClients + var ret JobTaskForEachTaskTaskNewCluster return ret - }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) + }).(JobTaskForEachTaskTaskNewClusterOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { if v == nil { return nil } - return v.Jobs + return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAutoscale { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return v.Autoscale + }).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -type JobTaskForEachTaskTaskNotebookTask struct { - // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - BaseParameters map[string]string `pulumi:"baseParameters"` - // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - NotebookPath string `pulumi:"notebookPath"` - // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. - Source *string `pulumi:"source"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - WarehouseId *string `pulumi:"warehouseId"` +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) } -// JobTaskForEachTaskTaskNotebookTaskInput is an input type that accepts JobTaskForEachTaskTaskNotebookTaskArgs and JobTaskForEachTaskTaskNotebookTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNotebookTaskInput` via: -// -// JobTaskForEachTaskTaskNotebookTaskArgs{...} -type JobTaskForEachTaskTaskNotebookTaskInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNotebookTaskOutput() JobTaskForEachTaskTaskNotebookTaskOutput - ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskNotebookTaskOutput +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -type JobTaskForEachTaskTaskNotebookTaskArgs struct { - // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` - // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. - Source pulumi.StringPtrInput `pulumi:"source"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (JobTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskOutput() JobTaskForEachTaskTaskNotebookTaskOutput { - return i.ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotebookTaskOutput) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotebookTaskOutput).ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskNotebookTaskArgs, JobTaskForEachTaskTaskNotebookTaskPtr and JobTaskForEachTaskTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNotebookTaskPtrInput` via: -// -// JobTaskForEachTaskTaskNotebookTaskArgs{...} -// -// or: -// -// nil -type JobTaskForEachTaskTaskNotebookTaskPtrInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput - ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -type jobTaskForEachTaskTaskNotebookTaskPtrType JobTaskForEachTaskTaskNotebookTaskArgs - -func JobTaskForEachTaskTaskNotebookTaskPtr(v *JobTaskForEachTaskTaskNotebookTaskArgs) JobTaskForEachTaskTaskNotebookTaskPtrInput { - return (*jobTaskForEachTaskTaskNotebookTaskPtrType)(v) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -func (*jobTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (i *jobTaskForEachTaskTaskNotebookTaskPtrType) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (i *jobTaskForEachTaskTaskNotebookTaskPtrType) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskOutput() JobTaskForEachTaskTaskNotebookTaskOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNotebookTask) *JobTaskForEachTaskTaskNotebookTask { - return &v - }).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.IsSingleNode + }).(pulumi.BoolPtrOutput) } -// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. -func (o JobTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.Kind + }).(pulumi.StringPtrOutput) } -// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) Libraries() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []JobTaskForEachTaskTaskNewClusterLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) } -// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. -func (o JobTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.NodeTypeId + }).(pulumi.StringPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. -func (o JobTaskForEachTaskTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) } -type JobTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() JobTaskForEachTaskTaskNotebookTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) JobTaskForEachTaskTaskNotebookTask { - if v != nil { - return *v +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) map[string]string { + if v == nil { + return nil } - var ret JobTaskForEachTaskTaskNotebookTask - return ret - }).(JobTaskForEachTaskTaskNotebookTaskOutput) + return v.SparkConf + }).(pulumi.StringMapOutput) } -// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) map[string]string { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) map[string]string { if v == nil { return nil } - return v.BaseParameters + return v.SparkEnvVars }).(pulumi.StringMapOutput) } -// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) *string { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *string { if v == nil { return nil } - return &v.NotebookPath + return &v.SparkVersion }).(pulumi.StringPtrOutput) } -// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) *string { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) []string { if v == nil { return nil } - return v.Source - }).(pulumi.StringPtrOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. -func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) *string { +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *bool { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + return v.UseMlRuntime + }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskNotificationSettings struct { - // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - // (Bool) don't send alert for cancelled runs. - // - // The following parameter is only available on task level. - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - // (Bool) don't send alert for skipped runs. - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +// isn't supported +func (o JobTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewCluster) *JobTaskForEachTaskTaskNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -// JobTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts JobTaskForEachTaskTaskNotificationSettingsArgs and JobTaskForEachTaskTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNotificationSettingsInput` via: +type JobTaskForEachTaskTaskNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// JobTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAutoscaleArgs and JobTaskForEachTaskTaskNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAutoscaleInput` via: // -// JobTaskForEachTaskTaskNotificationSettingsArgs{...} -type JobTaskForEachTaskTaskNotificationSettingsInput interface { +// JobTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +type JobTaskForEachTaskTaskNewClusterAutoscaleInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNotificationSettingsOutput() JobTaskForEachTaskTaskNotificationSettingsOutput - ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) JobTaskForEachTaskTaskNotificationSettingsOutput + ToJobTaskForEachTaskTaskNewClusterAutoscaleOutput() JobTaskForEachTaskTaskNewClusterAutoscaleOutput + ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAutoscaleOutput } -type JobTaskForEachTaskTaskNotificationSettingsArgs struct { - // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - // (Bool) don't send alert for cancelled runs. - // - // The following parameter is only available on task level. - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - // (Bool) don't send alert for skipped runs. - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type JobTaskForEachTaskTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (JobTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsOutput() JobTaskForEachTaskTaskNotificationSettingsOutput { - return i.ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutput() JobTaskForEachTaskTaskNewClusterAutoscaleOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotificationSettingsOutput) +func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAutoscaleOutput) } -func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotificationSettingsOutput).ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterAutoscaleArgs) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAutoscaleOutput).ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts JobTaskForEachTaskTaskNotificationSettingsArgs, JobTaskForEachTaskTaskNotificationSettingsPtr and JobTaskForEachTaskTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskNotificationSettingsPtrInput` via: +// JobTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAutoscaleArgs, JobTaskForEachTaskTaskNewClusterAutoscalePtr and JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: // -// JobTaskForEachTaskTaskNotificationSettingsArgs{...} +// JobTaskForEachTaskTaskNewClusterAutoscaleArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskNotificationSettingsPtrInput interface { +type JobTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput - ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput + ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput } -type jobTaskForEachTaskTaskNotificationSettingsPtrType JobTaskForEachTaskTaskNotificationSettingsArgs +type jobTaskForEachTaskTaskNewClusterAutoscalePtrType JobTaskForEachTaskTaskNewClusterAutoscaleArgs -func JobTaskForEachTaskTaskNotificationSettingsPtr(v *JobTaskForEachTaskTaskNotificationSettingsArgs) JobTaskForEachTaskTaskNotificationSettingsPtrInput { - return (*jobTaskForEachTaskTaskNotificationSettingsPtrType)(v) +func JobTaskForEachTaskTaskNewClusterAutoscalePtr(v *JobTaskForEachTaskTaskNewClusterAutoscaleArgs) JobTaskForEachTaskTaskNewClusterAutoscalePtrInput { + return (*jobTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) } -func (*jobTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskNotificationSettingsPtrType) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterAutoscalePtrType) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskNotificationSettingsPtrType) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterAutoscalePtrType) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -type JobTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsOutput() JobTaskForEachTaskTaskNotificationSettingsOutput { +func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutput() JobTaskForEachTaskTaskNewClusterAutoscaleOutput { return o } -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsOutput { +func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscaleOutput { return o } -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNotificationSettings) *JobTaskForEachTaskTaskNotificationSettings { +func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAutoscale) *JobTaskForEachTaskTaskNewClusterAutoscale { return &v - }).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) -} - -// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -// (Bool) don't send alert for cancelled runs. -// -// The following parameter is only available on task level. -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -// (Bool) don't send alert for skipped runs. -func (o JobTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type JobTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutput() JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { return o } -func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToJobTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput { return o } -func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() JobTaskForEachTaskTaskNotificationSettingsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) JobTaskForEachTaskTaskNotificationSettings { +func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAutoscaleOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAutoscale) JobTaskForEachTaskTaskNewClusterAutoscale { if v != nil { return *v } - var ret JobTaskForEachTaskTaskNotificationSettings + var ret JobTaskForEachTaskTaskNewClusterAutoscale return ret - }).(JobTaskForEachTaskTaskNotificationSettingsOutput) -} - -// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. -func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterAutoscaleOutput) } -// (Bool) don't send alert for cancelled runs. -// -// The following parameter is only available on task level. -func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) *bool { +func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -// (Bool) don't send alert for skipped runs. -func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) *bool { +func (o JobTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type JobTaskForEachTaskTaskPipelineTask struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh *bool `pulumi:"fullRefresh"` - // The pipeline's unique ID. - PipelineId string `pulumi:"pipelineId"` +type JobTaskForEachTaskTaskNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// JobTaskForEachTaskTaskPipelineTaskInput is an input type that accepts JobTaskForEachTaskTaskPipelineTaskArgs and JobTaskForEachTaskTaskPipelineTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskPipelineTaskInput` via: +// JobTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAwsAttributesArgs and JobTaskForEachTaskTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAwsAttributesInput` via: // -// JobTaskForEachTaskTaskPipelineTaskArgs{...} -type JobTaskForEachTaskTaskPipelineTaskInput interface { +// JobTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +type JobTaskForEachTaskTaskNewClusterAwsAttributesInput interface { pulumi.Input - ToJobTaskForEachTaskTaskPipelineTaskOutput() JobTaskForEachTaskTaskPipelineTaskOutput - ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskPipelineTaskOutput + ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesOutput } -type JobTaskForEachTaskTaskPipelineTaskArgs struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - // The pipeline's unique ID. - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +type JobTaskForEachTaskTaskNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (JobTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskOutput() JobTaskForEachTaskTaskPipelineTaskOutput { - return i.ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPipelineTaskOutput) +func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) } -func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPipelineTaskOutput).ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskPipelineTaskArgs, JobTaskForEachTaskTaskPipelineTaskPtr and JobTaskForEachTaskTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskPipelineTaskPtrInput` via: +// JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAwsAttributesArgs, JobTaskForEachTaskTaskNewClusterAwsAttributesPtr and JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: // -// JobTaskForEachTaskTaskPipelineTaskArgs{...} +// JobTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskPipelineTaskPtrInput interface { +type JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput - ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput } -type jobTaskForEachTaskTaskPipelineTaskPtrType JobTaskForEachTaskTaskPipelineTaskArgs +type jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType JobTaskForEachTaskTaskNewClusterAwsAttributesArgs + +func JobTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *JobTaskForEachTaskTaskNewClusterAwsAttributesArgs) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { + return (*jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) +} + +func (*jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (i *jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *jobTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +type JobTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAwsAttributes) *JobTaskForEachTaskTaskNewClusterAwsAttributes { + return &v + }).(JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} -func JobTaskForEachTaskTaskPipelineTaskPtr(v *JobTaskForEachTaskTaskPipelineTaskArgs) JobTaskForEachTaskTaskPipelineTaskPtrInput { - return (*jobTaskForEachTaskTaskPipelineTaskPtrType)(v) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (*jobTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (i *jobTaskForEachTaskTaskPipelineTaskPtrType) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (i *jobTaskForEachTaskTaskPipelineTaskPtrType) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() } -func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskOutput() JobTaskForEachTaskTaskPipelineTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { return o } -func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { return o } -func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) JobTaskForEachTaskTaskNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterAwsAttributes + return ret + }).(JobTaskForEachTaskTaskNewClusterAwsAttributesOutput) } -func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskPipelineTask) *JobTaskForEachTaskTaskPipelineTask { - return &v - }).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -// The pipeline's unique ID. -func (o JobTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -type JobTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} -func (JobTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() JobTaskForEachTaskTaskPipelineTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPipelineTask) JobTaskForEachTaskTaskPipelineTask { - if v != nil { - return *v +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil } - var ret JobTaskForEachTaskTaskPipelineTask - return ret - }).(JobTaskForEachTaskTaskPipelineTaskOutput) + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPipelineTask) *bool { +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -// The pipeline's unique ID. -func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPipelineTask) *string { +func (o JobTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.PipelineId + return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskPythonWheelTask struct { - // Python function as entry point for the task - EntryPoint *string `pulumi:"entryPoint"` - // Named parameters for the task - NamedParameters map[string]string `pulumi:"namedParameters"` - // Name of Python package - PackageName *string `pulumi:"packageName"` - // Parameters for the task - Parameters []string `pulumi:"parameters"` +type JobTaskForEachTaskTaskNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// JobTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts JobTaskForEachTaskTaskPythonWheelTaskArgs and JobTaskForEachTaskTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskPythonWheelTaskInput` via: +// JobTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesArgs and JobTaskForEachTaskTaskNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesInput` via: // -// JobTaskForEachTaskTaskPythonWheelTaskArgs{...} -type JobTaskForEachTaskTaskPythonWheelTaskInput interface { +// JobTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +type JobTaskForEachTaskTaskNewClusterAzureAttributesInput interface { pulumi.Input - ToJobTaskForEachTaskTaskPythonWheelTaskOutput() JobTaskForEachTaskTaskPythonWheelTaskOutput - ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskPythonWheelTaskOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesOutput } -type JobTaskForEachTaskTaskPythonWheelTaskArgs struct { - // Python function as entry point for the task - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - // Named parameters for the task - NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` - // Name of Python package - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - // Parameters for the task - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (JobTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskOutput() JobTaskForEachTaskTaskPythonWheelTaskOutput { - return i.ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPythonWheelTaskOutput) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) } -func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPythonWheelTaskOutput).ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskPythonWheelTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskPythonWheelTaskArgs, JobTaskForEachTaskTaskPythonWheelTaskPtr and JobTaskForEachTaskTaskPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskPythonWheelTaskPtrInput` via: +// JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesArgs, JobTaskForEachTaskTaskNewClusterAzureAttributesPtr and JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: // -// JobTaskForEachTaskTaskPythonWheelTaskArgs{...} +// JobTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskPythonWheelTaskPtrInput interface { +type JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput - ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput } -type jobTaskForEachTaskTaskPythonWheelTaskPtrType JobTaskForEachTaskTaskPythonWheelTaskArgs +type jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType JobTaskForEachTaskTaskNewClusterAzureAttributesArgs -func JobTaskForEachTaskTaskPythonWheelTaskPtr(v *JobTaskForEachTaskTaskPythonWheelTaskArgs) JobTaskForEachTaskTaskPythonWheelTaskPtrInput { - return (*jobTaskForEachTaskTaskPythonWheelTaskPtrType)(v) +func JobTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *JobTaskForEachTaskTaskNewClusterAzureAttributesArgs) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { + return (*jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) } -func (*jobTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskPythonWheelTaskPtrType) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskPythonWheelTaskPtrType) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -type JobTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskOutput() JobTaskForEachTaskTaskPythonWheelTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { return o } -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { return o } -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskPythonWheelTask) *JobTaskForEachTaskTaskPythonWheelTask { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAzureAttributes) *JobTaskForEachTaskTaskNewClusterAzureAttributes { return &v - }).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -// Python function as entry point for the task -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// Named parameters for the task -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -// Name of Python package -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// Parameters for the task -func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type JobTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { return o } -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { return o } -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() JobTaskForEachTaskTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) JobTaskForEachTaskTaskPythonWheelTask { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) JobTaskForEachTaskTaskNewClusterAzureAttributes { if v != nil { return *v } - var ret JobTaskForEachTaskTaskPythonWheelTask + var ret JobTaskForEachTaskTaskNewClusterAzureAttributes return ret - }).(JobTaskForEachTaskTaskPythonWheelTaskOutput) + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesOutput) } -// Python function as entry point for the task -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) *string { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.EntryPoint + return v.Availability }).(pulumi.StringPtrOutput) } -// Named parameters for the task -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) map[string]string { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.NamedParameters - }).(pulumi.StringMapOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// Name of Python package -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) *string { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { if v == nil { return nil } - return v.PackageName - }).(pulumi.StringPtrOutput) + return v.LogAnalyticsInfo + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// Parameters for the task -func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) []string { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type JobTaskForEachTaskTaskRunJobTask struct { - DbtCommands []string `pulumi:"dbtCommands"` - JarParams []string `pulumi:"jarParams"` - // (String) ID of the job - JobId int `pulumi:"jobId"` - // (Map) Job parameters for the task - JobParameters map[string]string `pulumi:"jobParameters"` - NotebookParams map[string]string `pulumi:"notebookParams"` - PipelineParams *JobTaskForEachTaskTaskRunJobTaskPipelineParams `pulumi:"pipelineParams"` - PythonNamedParams map[string]string `pulumi:"pythonNamedParams"` - PythonParams []string `pulumi:"pythonParams"` - SparkSubmitParams []string `pulumi:"sparkSubmitParams"` - SqlParams map[string]string `pulumi:"sqlParams"` +type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` } -// JobTaskForEachTaskTaskRunJobTaskInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskArgs and JobTaskForEachTaskTaskRunJobTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskInput` via: +// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs and JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput` via: // -// JobTaskForEachTaskTaskRunJobTaskArgs{...} -type JobTaskForEachTaskTaskRunJobTaskInput interface { +// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToJobTaskForEachTaskTaskRunJobTaskOutput() JobTaskForEachTaskTaskRunJobTaskOutput - ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput } -type JobTaskForEachTaskTaskRunJobTaskArgs struct { - DbtCommands pulumi.StringArrayInput `pulumi:"dbtCommands"` - JarParams pulumi.StringArrayInput `pulumi:"jarParams"` - // (String) ID of the job - JobId pulumi.IntInput `pulumi:"jobId"` - // (Map) Job parameters for the task - JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` - NotebookParams pulumi.StringMapInput `pulumi:"notebookParams"` - PipelineParams JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput `pulumi:"pipelineParams"` - PythonNamedParams pulumi.StringMapInput `pulumi:"pythonNamedParams"` - PythonParams pulumi.StringArrayInput `pulumi:"pythonParams"` - SparkSubmitParams pulumi.StringArrayInput `pulumi:"sparkSubmitParams"` - SqlParams pulumi.StringMapInput `pulumi:"sqlParams"` +type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (JobTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskOutput() JobTaskForEachTaskTaskRunJobTaskOutput { - return i.ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskOutput) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskOutput).ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskArgs, JobTaskForEachTaskTaskRunJobTaskPtr and JobTaskForEachTaskTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskPtrInput` via: +// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs, JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtr and JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: // -// JobTaskForEachTaskTaskRunJobTaskArgs{...} +// JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskRunJobTaskPtrInput interface { +type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput - ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput } -type jobTaskForEachTaskTaskRunJobTaskPtrType JobTaskForEachTaskTaskRunJobTaskArgs +type jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs -func JobTaskForEachTaskTaskRunJobTaskPtr(v *JobTaskForEachTaskTaskRunJobTaskArgs) JobTaskForEachTaskTaskRunJobTaskPtrInput { - return (*jobTaskForEachTaskTaskRunJobTaskPtrType)(v) +func JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput { + return (*jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*jobTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskRunJobTaskPtrType) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskRunJobTaskPtrType) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -type JobTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskOutput() JobTaskForEachTaskTaskRunJobTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskRunJobTask) *JobTaskForEachTaskTaskRunJobTask { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { return &v - }).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) DbtCommands() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.DbtCommands }).(pulumi.StringArrayOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) JarParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.JarParams }).(pulumi.StringArrayOutput) -} - -// (String) ID of the job -func (o JobTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) -} - -// (Map) Job parameters for the task -func (o JobTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) NotebookParams() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.NotebookParams }).(pulumi.StringMapOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) PipelineParams() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) *JobTaskForEachTaskTaskRunJobTaskPipelineParams { - return v.PipelineParams - }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) PythonNamedParams() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.PythonNamedParams }).(pulumi.StringMapOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) PythonParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.PythonParams }).(pulumi.StringArrayOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) SparkSubmitParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.SparkSubmitParams }).(pulumi.StringArrayOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskOutput) SqlParams() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.SqlParams }).(pulumi.StringMapOutput) -} - -type JobTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() -} - -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return o -} - -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { - return o -} - -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() JobTaskForEachTaskTaskRunJobTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) JobTaskForEachTaskTaskRunJobTask { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskRunJobTask - return ret - }).(JobTaskForEachTaskTaskRunJobTaskOutput) -} - -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) DbtCommands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { - if v == nil { - return nil - } - return v.DbtCommands - }).(pulumi.StringArrayOutput) + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) JarParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { - if v == nil { - return nil - } - return v.JarParams - }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) } -// (String) ID of the job -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) *int { - if v == nil { - return nil - } - return &v.JobId - }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -// (Map) Job parameters for the task -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { - if v == nil { - return nil - } - return v.JobParameters - }).(pulumi.StringMapOutput) -} +type JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) NotebookParams() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { - if v == nil { - return nil - } - return v.NotebookParams - }).(pulumi.StringMapOutput) +func (JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) PipelineParams() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) *JobTaskForEachTaskTaskRunJobTaskPipelineParams { - if v == nil { - return nil - } - return v.PipelineParams - }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) PythonNamedParams() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { - if v == nil { - return nil - } - return v.PythonNamedParams - }).(pulumi.StringMapOutput) +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) PythonParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { - if v == nil { - return nil +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo { + if v != nil { + return *v } - return v.PythonParams - }).(pulumi.StringArrayOutput) + var ret JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo + return ret + }).(JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) SparkSubmitParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.SparkSubmitParams - }).(pulumi.StringArrayOutput) + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) SqlParams() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { +func (o JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.SqlParams - }).(pulumi.StringMapOutput) + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskRunJobTaskPipelineParams struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh *bool `pulumi:"fullRefresh"` +type JobTaskForEachTaskTaskNewClusterClusterLogConf struct { + Dbfs *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` } -// JobTaskForEachTaskTaskRunJobTaskPipelineParamsInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs and JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskPipelineParamsInput` via: +// JobTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfArgs and JobTaskForEachTaskTaskNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfInput` via: // -// JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs{...} -type JobTaskForEachTaskTaskRunJobTaskPipelineParamsInput interface { +// JobTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +type JobTaskForEachTaskTaskNewClusterClusterLogConfInput interface { pulumi.Input - ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput - ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfOutput } -type JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` +type JobTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { + Dbfs JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { - return i.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) } -func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return i.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput).ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs, JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtr and JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput` via: +// JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfArgs, JobTaskForEachTaskTaskNewClusterClusterLogConfPtr and JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: // -// JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs{...} +// JobTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput interface { +type JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput - ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput } -type jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs +type jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType JobTaskForEachTaskTaskNewClusterClusterLogConfArgs -func JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtr(v *JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput { - return (*jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType)(v) +func JobTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *JobTaskForEachTaskTaskNewClusterClusterLogConfArgs) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { + return (*jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) } -func (*jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return i.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -type JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { return o } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { return o } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return o.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskRunJobTaskPipelineParams) *JobTaskForEachTaskTaskRunJobTaskPipelineParams { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConf { return &v - }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTaskPipelineParams) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -type JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { + return v.S3 + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +} -func (JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { return o } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { return o } -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) Elem() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTaskPipelineParams) JobTaskForEachTaskTaskRunJobTaskPipelineParams { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConf) JobTaskForEachTaskTaskNewClusterClusterLogConf { if v != nil { return *v } - var ret JobTaskForEachTaskTaskRunJobTaskPipelineParams + var ret JobTaskForEachTaskTaskNewClusterClusterLogConf return ret - }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTaskPipelineParams) *bool { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.Dbfs + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -type JobTaskForEachTaskTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - MainClassName *string `pulumi:"mainClassName"` - // (List) Parameters passed to the main method. - Parameters []string `pulumi:"parameters"` +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConf) *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -// JobTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts JobTaskForEachTaskTaskSparkJarTaskArgs and JobTaskForEachTaskTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkJarTaskInput` via: +type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: // -// JobTaskForEachTaskTaskSparkJarTaskArgs{...} -type JobTaskForEachTaskTaskSparkJarTaskInput interface { +// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSparkJarTaskOutput() JobTaskForEachTaskTaskSparkJarTaskOutput - ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkJarTaskOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput } -type JobTaskForEachTaskTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - // (List) Parameters passed to the main method. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskOutput() JobTaskForEachTaskTaskSparkJarTaskOutput { - return i.ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkJarTaskOutput) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) } -func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkJarTaskOutput).ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSparkJarTaskArgs, JobTaskForEachTaskTaskSparkJarTaskPtr and JobTaskForEachTaskTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkJarTaskPtrInput` via: +// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: // -// JobTaskForEachTaskTaskSparkJarTaskArgs{...} +// JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskSparkJarTaskPtrInput interface { +type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput - ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput } -type jobTaskForEachTaskTaskSparkJarTaskPtrType JobTaskForEachTaskTaskSparkJarTaskArgs +type jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs -func JobTaskForEachTaskTaskSparkJarTaskPtr(v *JobTaskForEachTaskTaskSparkJarTaskArgs) JobTaskForEachTaskTaskSparkJarTaskPtrInput { - return (*jobTaskForEachTaskTaskSparkJarTaskPtrType)(v) +func JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { + return (*jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) } -func (*jobTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskSparkJarTaskPtrType) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSparkJarTaskPtrType) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -type JobTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskOutput() JobTaskForEachTaskTaskSparkJarTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSparkJarTask) *JobTaskForEachTaskTaskSparkJarTask { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { return &v - }).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) -} - -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) -} - -// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -// (List) Parameters passed to the main method. -func (o JobTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() JobTaskForEachTaskTaskSparkJarTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) JobTaskForEachTaskTaskSparkJarTask { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret JobTaskForEachTaskTaskSparkJarTask + var ret JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs return ret - }).(JobTaskForEachTaskTaskSparkJarTaskOutput) -} - -func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) *string { - if v == nil { - return nil - } - return v.JarUri - }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) } -// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. -func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) *string { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.MainClassName + return &v.Destination }).(pulumi.StringPtrOutput) } -// (List) Parameters passed to the main method. -func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type JobTaskForEachTaskTaskSparkPythonTask struct { - // (List) Command line parameters passed to the Python file. - Parameters []string `pulumi:"parameters"` - // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - PythonFile string `pulumi:"pythonFile"` - // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. - Source *string `pulumi:"source"` +type JobTaskForEachTaskTaskNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts JobTaskForEachTaskTaskSparkPythonTaskArgs and JobTaskForEachTaskTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkPythonTaskInput` via: +// JobTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args and JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: // -// JobTaskForEachTaskTaskSparkPythonTaskArgs{...} -type JobTaskForEachTaskTaskSparkPythonTaskInput interface { +// JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +type JobTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { pulumi.Input - ToJobTaskForEachTaskTaskSparkPythonTaskOutput() JobTaskForEachTaskTaskSparkPythonTaskOutput - ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkPythonTaskOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3Output() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output } -type JobTaskForEachTaskTaskSparkPythonTaskArgs struct { - // (List) Command line parameters passed to the Python file. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. - Source pulumi.StringPtrInput `pulumi:"source"` +type JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskOutput() JobTaskForEachTaskTaskSparkPythonTaskOutput { - return i.ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3Output() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkPythonTaskOutput) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) } -func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkPythonTaskOutput).ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSparkPythonTaskArgs, JobTaskForEachTaskTaskSparkPythonTaskPtr and JobTaskForEachTaskTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkPythonTaskPtrInput` via: +// JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args, JobTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: // -// JobTaskForEachTaskTaskSparkPythonTaskArgs{...} +// JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} // // or: // // nil -type JobTaskForEachTaskTaskSparkPythonTaskPtrInput interface { +type JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput - ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput } -type jobTaskForEachTaskTaskSparkPythonTaskPtrType JobTaskForEachTaskTaskSparkPythonTaskArgs +type jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args -func JobTaskForEachTaskTaskSparkPythonTaskPtr(v *JobTaskForEachTaskTaskSparkPythonTaskArgs) JobTaskForEachTaskTaskSparkPythonTaskPtrInput { - return (*jobTaskForEachTaskTaskSparkPythonTaskPtrType)(v) +func JobTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { + return (*jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) } -func (*jobTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskSparkPythonTaskPtrType) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSparkPythonTaskPtrType) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -type JobTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3Output() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o +} + +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o +} + +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { + return &v + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskOutput() JobTaskForEachTaskTaskSparkPythonTaskOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSparkPythonTask) *JobTaskForEachTaskTaskSparkPythonTask { - return &v - }).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -// (List) Command line parameters passed to the Python file. -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. -func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() JobTaskForEachTaskTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) JobTaskForEachTaskTaskSparkPythonTask { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) JobTaskForEachTaskTaskNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret JobTaskForEachTaskTaskSparkPythonTask + var ret JobTaskForEachTaskTaskNewClusterClusterLogConfS3 return ret - }).(JobTaskForEachTaskTaskSparkPythonTaskOutput) + }).(JobTaskForEachTaskTaskNewClusterClusterLogConfS3Output) } -// (List) Command line parameters passed to the Python file. -func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) []string { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) *string { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.PythonFile + return &v.Destination }).(pulumi.StringPtrOutput) } -// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. -func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) *string { +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { if v == nil { return nil } - return v.Source + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskSparkSubmitTask struct { - // (List) Command-line parameters passed to spark submit. - Parameters []string `pulumi:"parameters"` +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts JobTaskForEachTaskTaskSparkSubmitTaskArgs and JobTaskForEachTaskTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkSubmitTaskInput` via: -// -// JobTaskForEachTaskTaskSparkSubmitTaskArgs{...} -type JobTaskForEachTaskTaskSparkSubmitTaskInput interface { - pulumi.Input +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} - ToJobTaskForEachTaskTaskSparkSubmitTaskOutput() JobTaskForEachTaskTaskSparkSubmitTaskOutput - ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkSubmitTaskOutput +func (o JobTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskSparkSubmitTaskArgs struct { - // (List) Command-line parameters passed to spark submit. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobTaskForEachTaskTaskNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (JobTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +// JobTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs and JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: +// +// JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} +type JobTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput + ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput } -func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskOutput() JobTaskForEachTaskTaskSparkSubmitTaskOutput { - return i.ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) +type JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkSubmitTaskOutput) +func (JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkSubmitTaskOutput).ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) } -// JobTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSparkSubmitTaskArgs, JobTaskForEachTaskTaskSparkSubmitTaskPtr and JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: -// -// JobTaskForEachTaskTaskSparkSubmitTaskArgs{...} -// -// or: +// JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterMountInfoArray and JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput` via: // -// nil -type JobTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { +// JobTaskForEachTaskTaskNewClusterClusterMountInfoArray{ JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} } +type JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput - ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput + ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput } -type jobTaskForEachTaskTaskSparkSubmitTaskPtrType JobTaskForEachTaskTaskSparkSubmitTaskArgs +type JobTaskForEachTaskTaskNewClusterClusterMountInfoArray []JobTaskForEachTaskTaskNewClusterClusterMountInfoInput -func JobTaskForEachTaskTaskSparkSubmitTaskPtr(v *JobTaskForEachTaskTaskSparkSubmitTaskArgs) JobTaskForEachTaskTaskSparkSubmitTaskPtrInput { - return (*jobTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) +func (JobTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (*jobTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSparkSubmitTaskPtrType) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -func (i *jobTaskForEachTaskTaskSparkSubmitTaskPtrType) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +type JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -type JobTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return o +} -func (JobTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return o } -func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskOutput() JobTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfo) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { return o } -func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { return o } -func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskNewClusterClusterMountInfo { + return vs[0].([]JobTaskForEachTaskTaskNewClusterClusterMountInfo)[vs[1].(int)] + }).(JobTaskForEachTaskTaskNewClusterClusterMountInfoOutput) } -func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSparkSubmitTask) *JobTaskForEachTaskTaskSparkSubmitTask { - return &v - }).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -// (List) Command-line parameters passed to spark submit. -func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +// JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -type JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +} -func (JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { +func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +type JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Elem() JobTaskForEachTaskTaskSparkSubmitTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkSubmitTask) JobTaskForEachTaskTaskSparkSubmitTask { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskSparkSubmitTask - return ret - }).(JobTaskForEachTaskTaskSparkSubmitTaskOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions + }).(pulumi.StringPtrOutput) } -// (List) Command-line parameters passed to spark submit. -func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkSubmitTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskSqlTask struct { - // block consisting of following fields: - Alert *JobTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` - // block consisting of following fields: - Dashboard *JobTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` - // block consisting of single string fields: - File *JobTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` - // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - Parameters map[string]string `pulumi:"parameters"` - // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). - Query *JobTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - WarehouseId string `pulumi:"warehouseId"` +type JobTaskForEachTaskTaskNewClusterDockerImage struct { + BasicAuth *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url string `pulumi:"url"` } -// JobTaskForEachTaskTaskSqlTaskInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskArgs and JobTaskForEachTaskTaskSqlTaskOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskInput` via: +// JobTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageArgs and JobTaskForEachTaskTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImageInput` via: // -// JobTaskForEachTaskTaskSqlTaskArgs{...} -type JobTaskForEachTaskTaskSqlTaskInput interface { +// JobTaskForEachTaskTaskNewClusterDockerImageArgs{...} +type JobTaskForEachTaskTaskNewClusterDockerImageInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskOutput() JobTaskForEachTaskTaskSqlTaskOutput - ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskOutput + ToJobTaskForEachTaskTaskNewClusterDockerImageOutput() JobTaskForEachTaskTaskNewClusterDockerImageOutput + ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImageOutput } -type JobTaskForEachTaskTaskSqlTaskArgs struct { - // block consisting of following fields: - Alert JobTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` - // block consisting of following fields: - Dashboard JobTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - // block consisting of single string fields: - File JobTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` - // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - Parameters pulumi.StringMapInput `pulumi:"parameters"` - // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). - Query JobTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - WarehouseId pulumi.StringInput `pulumi:"warehouseId"` +type JobTaskForEachTaskTaskNewClusterDockerImageArgs struct { + BasicAuth JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url pulumi.StringInput `pulumi:"url"` } -func (JobTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskOutput() JobTaskForEachTaskTaskSqlTaskOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageOutput() JobTaskForEachTaskTaskNewClusterDockerImageOutput { + return i.ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskOutput) +func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageOutput) } -func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskOutput).ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterDockerImageArgs) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageOutput).ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskArgs, JobTaskForEachTaskTaskSqlTaskPtr and JobTaskForEachTaskTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskPtrInput` via: +// JobTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageArgs, JobTaskForEachTaskTaskNewClusterDockerImagePtr and JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: // -// JobTaskForEachTaskTaskSqlTaskArgs{...} +// JobTaskForEachTaskTaskNewClusterDockerImageArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskSqlTaskPtrInput interface { +type JobTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput - ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput + ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput } -type jobTaskForEachTaskTaskSqlTaskPtrType JobTaskForEachTaskTaskSqlTaskArgs +type jobTaskForEachTaskTaskNewClusterDockerImagePtrType JobTaskForEachTaskTaskNewClusterDockerImageArgs -func JobTaskForEachTaskTaskSqlTaskPtr(v *JobTaskForEachTaskTaskSqlTaskArgs) JobTaskForEachTaskTaskSqlTaskPtrInput { - return (*jobTaskForEachTaskTaskSqlTaskPtrType)(v) +func JobTaskForEachTaskTaskNewClusterDockerImagePtr(v *JobTaskForEachTaskTaskNewClusterDockerImageArgs) JobTaskForEachTaskTaskNewClusterDockerImagePtrInput { + return (*jobTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) } -func (*jobTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskSqlTaskPtrType) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterDockerImagePtrType) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSqlTaskPtrType) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterDockerImagePtrType) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -type JobTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskOutput() JobTaskForEachTaskTaskSqlTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageOutput() JobTaskForEachTaskTaskNewClusterDockerImageOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTask { +func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterDockerImage) *JobTaskForEachTaskTaskNewClusterDockerImage { return &v - }).(JobTaskForEachTaskTaskSqlTaskPtrOutput) -} - -// block consisting of following fields: -func (o JobTaskForEachTaskTaskSqlTaskOutput) Alert() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskAlert { return v.Alert }).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) -} - -// block consisting of following fields: -func (o JobTaskForEachTaskTaskSqlTaskOutput) Dashboard() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskDashboard { return v.Dashboard }).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) -} - -// block consisting of single string fields: -func (o JobTaskForEachTaskTaskSqlTaskOutput) File() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskFile { return v.File }).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) -} - -// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. -func (o JobTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) + }).(JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). -func (o JobTaskForEachTaskTaskSqlTaskOutput) Query() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskQuery { return v.Query }).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImage) *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. -func (o JobTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) +// URL of the job on the given workspace +func (o JobTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutput() JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) JobTaskForEachTaskTaskSqlTask { +func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterDockerImageOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImage) JobTaskForEachTaskTaskNewClusterDockerImage { if v != nil { return *v } - var ret JobTaskForEachTaskTaskSqlTask + var ret JobTaskForEachTaskTaskNewClusterDockerImage return ret - }).(JobTaskForEachTaskTaskSqlTaskOutput) -} - -// block consisting of following fields: -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Alert() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskAlert { - if v == nil { - return nil - } - return v.Alert - }).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) -} - -// block consisting of following fields: -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskDashboard { - if v == nil { - return nil - } - return v.Dashboard - }).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) -} - -// block consisting of single string fields: -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) File() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskFile { - if v == nil { - return nil - } - return v.File - }).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) -} - -// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) map[string]string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringMapOutput) + }).(JobTaskForEachTaskTaskNewClusterDockerImageOutput) } -// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Query() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskQuery { +func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImage) *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { if v == nil { return nil } - return v.Query - }).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) + return v.BasicAuth + }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. -func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *string { +// URL of the job on the given workspace +func (o JobTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImage) *string { if v == nil { return nil } - return &v.WarehouseId + return &v.Url }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskAlert struct { - // (String) identifier of the Databricks Alert (databricks_alert). - AlertId string `pulumi:"alertId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions []JobTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// JobTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertArgs and JobTaskForEachTaskTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertInput` via: +// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: // -// JobTaskForEachTaskTaskSqlTaskAlertArgs{...} -type JobTaskForEachTaskTaskSqlTaskAlertInput interface { +// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskAlertOutput() JobTaskForEachTaskTaskSqlTaskAlertOutput - ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertOutput + ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput + ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput } -type JobTaskForEachTaskTaskSqlTaskAlertArgs struct { - // (String) identifier of the Databricks Alert (databricks_alert). - AlertId pulumi.StringInput `pulumi:"alertId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` +type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (JobTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertOutput() JobTaskForEachTaskTaskSqlTaskAlertOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return i.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertOutput) +func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) } -func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertOutput).ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertArgs, JobTaskForEachTaskTaskSqlTaskAlertPtr and JobTaskForEachTaskTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertPtrInput` via: +// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: // -// JobTaskForEachTaskTaskSqlTaskAlertArgs{...} +// JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskSqlTaskAlertPtrInput interface { +type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput - ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput + ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput } -type jobTaskForEachTaskTaskSqlTaskAlertPtrType JobTaskForEachTaskTaskSqlTaskAlertArgs +type jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs -func JobTaskForEachTaskTaskSqlTaskAlertPtr(v *JobTaskForEachTaskTaskSqlTaskAlertArgs) JobTaskForEachTaskTaskSqlTaskAlertPtrInput { - return (*jobTaskForEachTaskTaskSqlTaskAlertPtrType)(v) +func JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { + return (*jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) } -func (*jobTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskSqlTaskAlertPtrType) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSqlTaskAlertPtrType) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertOutput() JobTaskForEachTaskTaskSqlTaskAlertOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskAlert) *JobTaskForEachTaskTaskSqlTaskAlert { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { return &v - }).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) -} - -// (String) identifier of the Databricks Alert (databricks_alert). -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) + }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlert) []JobTaskForEachTaskTaskSqlTaskAlertSubscription { - return v.Subscriptions - }).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) JobTaskForEachTaskTaskSqlTaskAlert { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret JobTaskForEachTaskTaskSqlTaskAlert + var ret JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth return ret - }).(JobTaskForEachTaskTaskSqlTaskAlertOutput) + }).(JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) } -// (String) identifier of the Databricks Alert (databricks_alert). -func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) *string { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.AlertId + return &v.Password }).(pulumi.StringPtrOutput) } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) -} - -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) []JobTaskForEachTaskTaskSqlTaskAlertSubscription { +func (o JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Subscriptions - }).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) + return &v.Username + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName *string `pulumi:"userName"` +type JobTaskForEachTaskTaskNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` } -// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +// JobTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterGcpAttributesArgs and JobTaskForEachTaskTaskNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterGcpAttributesInput` via: // -// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} -type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { +// JobTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +type JobTaskForEachTaskTaskNewClusterGcpAttributesInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput - ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesOutput } -type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName pulumi.StringPtrInput `pulumi:"userName"` +type JobTaskForEachTaskTaskNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return i.ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) } -// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: +func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +} + +// JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterGcpAttributesArgs, JobTaskForEachTaskTaskNewClusterGcpAttributesPtr and JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: // -// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } -type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { +// JobTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput - ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput + ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput } -type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput +type jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType JobTaskForEachTaskTaskNewClusterGcpAttributesArgs -func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func JobTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *JobTaskForEachTaskTaskNewClusterGcpAttributesArgs) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { + return (*jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) } -func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (*jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (i *jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } +func (i *jobTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +} -func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -// The email of an active workspace user. Non-admin users can only set this field to their own email. -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterGcpAttributes) *JobTaskForEachTaskTaskNewClusterGcpAttributes { + return &v + }).(JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} -func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskSqlTaskAlertSubscription { - return vs[0].([]JobTaskForEachTaskTaskSqlTaskAlertSubscription)[vs[1].(int)] - }).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskDashboard struct { - // string specifying a custom subject of email sent. - CustomSubject *string `pulumi:"customSubject"` - // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - DashboardId string `pulumi:"dashboardId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions []JobTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardArgs and JobTaskForEachTaskTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardInput` via: -// -// JobTaskForEachTaskTaskSqlTaskDashboardArgs{...} -type JobTaskForEachTaskTaskSqlTaskDashboardInput interface { - pulumi.Input +type JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } - ToJobTaskForEachTaskTaskSqlTaskDashboardOutput() JobTaskForEachTaskTaskSqlTaskDashboardOutput - ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardOutput +func (JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -type JobTaskForEachTaskTaskSqlTaskDashboardArgs struct { - // string specifying a custom subject of email sent. - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o } -func (JobTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToJobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o } -func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardOutput() JobTaskForEachTaskTaskSqlTaskDashboardOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) JobTaskForEachTaskTaskNewClusterGcpAttributes { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterGcpAttributes + return ret + }).(JobTaskForEachTaskTaskNewClusterGcpAttributesOutput) } -func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardOutput) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardOutput).ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardArgs, JobTaskForEachTaskTaskSqlTaskDashboardPtr and JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: -// -// JobTaskForEachTaskTaskSqlTaskDashboardArgs{...} -// -// or: +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskNewClusterInitScript struct { + Abfss *JobTaskForEachTaskTaskNewClusterInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *JobTaskForEachTaskTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` + // block consisting of single string fields: + File *JobTaskForEachTaskTaskNewClusterInitScriptFile `pulumi:"file"` + Gcs *JobTaskForEachTaskTaskNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *JobTaskForEachTaskTaskNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *JobTaskForEachTaskTaskNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +} + +// JobTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptArgs and JobTaskForEachTaskTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptInput` via: // -// nil -type JobTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput - ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptOutput() JobTaskForEachTaskTaskNewClusterInitScriptOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptOutput } -type jobTaskForEachTaskTaskSqlTaskDashboardPtrType JobTaskForEachTaskTaskSqlTaskDashboardArgs +type JobTaskForEachTaskTaskNewClusterInitScriptArgs struct { + Abfss JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + // block consisting of single string fields: + File JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +} -func JobTaskForEachTaskTaskSqlTaskDashboardPtr(v *JobTaskForEachTaskTaskSqlTaskDashboardArgs) JobTaskForEachTaskTaskSqlTaskDashboardPtrInput { - return (*jobTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) +func (JobTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (*jobTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (i JobTaskForEachTaskTaskNewClusterInitScriptArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptOutput() JobTaskForEachTaskTaskNewClusterInitScriptOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSqlTaskDashboardPtrType) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptOutput) } -func (i *jobTaskForEachTaskTaskSqlTaskDashboardPtrType) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +// JobTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptArray and JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: +// +// JobTaskForEachTaskTaskNewClusterInitScriptArray{ JobTaskForEachTaskTaskNewClusterInitScriptArgs{...} } +type JobTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutput() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput } -type JobTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptArray []JobTaskForEachTaskTaskNewClusterInitScriptInput -func (JobTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardOutput() JobTaskForEachTaskTaskSqlTaskDashboardOutput { +func (i JobTaskForEachTaskTaskNewClusterInitScriptArray) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutput() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterInitScriptArray) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} + +type JobTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptOutput() JobTaskForEachTaskTaskNewClusterInitScriptOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptAbfss { + return v.Abfss + }).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskDashboard) *JobTaskForEachTaskTaskSqlTaskDashboard { - return &v - }).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptDbfs { + return v.Dbfs + }).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} + +// block consisting of single string fields: +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) File() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptFile { + return v.File + }).(JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -// string specifying a custom subject of email sent. -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptGcs { + return v.Gcs + }).(JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) S3() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptS3 { + return v.S3 + }).(JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptVolumes { + return v.Volumes + }).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) } -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) []JobTaskForEachTaskTaskSqlTaskDashboardSubscription { - return v.Subscriptions - }).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScript) *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return v.Workspace + }).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) } -type JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutput() JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) JobTaskForEachTaskTaskSqlTaskDashboard { - if v != nil { - return *v - } - var ret JobTaskForEachTaskTaskSqlTaskDashboard - return ret - }).(JobTaskForEachTaskTaskSqlTaskDashboardOutput) -} - -// string specifying a custom subject of email sent. -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return v.CustomSubject - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskNewClusterInitScript { + return vs[0].([]JobTaskForEachTaskTaskNewClusterInitScript)[vs[1].(int)] + }).(JobTaskForEachTaskTaskNewClusterInitScriptOutput) } -// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return &v.DashboardId - }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) -} +// JobTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: +// +// JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { + pulumi.Input -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) []JobTaskForEachTaskTaskSqlTaskDashboardSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) + ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput } -type JobTaskForEachTaskTaskSqlTaskDashboardSubscription struct { - DestinationId *string `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName *string `pulumi:"userName"` +type JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs and JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput` via: -// -// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} -type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput - ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput +func (JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName pulumi.StringPtrInput `pulumi:"userName"` +func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) } -func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray and JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: // -// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{ JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} } -type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput - ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput } -type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray []JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput +type jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs -func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +func JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) } -func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) +func (*jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } +func (i *jobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +} -func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -// The email of an active workspace user. Non-admin users can only set this field to their own email. -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptAbfss) *JobTaskForEachTaskTaskNewClusterInitScriptAbfss { + return &v + }).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +} -func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskSqlTaskDashboardSubscription { - return vs[0].([]JobTaskForEachTaskTaskSqlTaskDashboardSubscription)[vs[1].(int)] - }).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptAbfss) JobTaskForEachTaskTaskNewClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterInitScriptAbfss + return ret + }).(JobTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) } -type JobTaskForEachTaskTaskSqlTaskFile struct { - // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - // - // Example - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ - // Name: pulumi.String("Example SQL Job"), - // Tasks: databricks.JobTaskArray{ - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_agg_query"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Query: &databricks.JobTaskSqlTaskQueryArgs{ - // QueryId: pulumi.Any(aggQuery.Id), - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_dashboard"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ - // DashboardId: pulumi.Any(dash.Id), - // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ - // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_alert"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Alert: &databricks.JobTaskSqlTaskAlertArgs{ - // AlertId: pulumi.Any(alert.Id), - // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ - // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - Path string `pulumi:"path"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. - Source *string `pulumi:"source"` +func (o JobTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskSqlTaskFileInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskFileArgs and JobTaskForEachTaskTaskSqlTaskFileOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskFileInput` via: +type JobTaskForEachTaskTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// JobTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: // -// JobTaskForEachTaskTaskSqlTaskFileArgs{...} -type JobTaskForEachTaskTaskSqlTaskFileInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskFileOutput() JobTaskForEachTaskTaskSqlTaskFileOutput - ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskFileOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput } -type JobTaskForEachTaskTaskSqlTaskFileArgs struct { - // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - // - // Example - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ - // Name: pulumi.String("Example SQL Job"), - // Tasks: databricks.JobTaskArray{ - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_agg_query"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Query: &databricks.JobTaskSqlTaskQueryArgs{ - // QueryId: pulumi.Any(aggQuery.Id), - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_dashboard"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ - // DashboardId: pulumi.Any(dash.Id), - // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ - // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_alert"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Alert: &databricks.JobTaskSqlTaskAlertArgs{ - // AlertId: pulumi.Any(alert.Id), - // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ - // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - Path pulumi.StringInput `pulumi:"path"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. - Source pulumi.StringPtrInput `pulumi:"source"` +type JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskSqlTaskFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFileOutput() JobTaskForEachTaskTaskSqlTaskFileOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskFileOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) } -func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskFileOutput).ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSqlTaskFilePtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskFileArgs, JobTaskForEachTaskTaskSqlTaskFilePtr and JobTaskForEachTaskTaskSqlTaskFilePtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskFilePtrInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: // -// JobTaskForEachTaskTaskSqlTaskFileArgs{...} +// JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskSqlTaskFilePtrInput interface { +type JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput - ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput } -type jobTaskForEachTaskTaskSqlTaskFilePtrType JobTaskForEachTaskTaskSqlTaskFileArgs +type jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs -func JobTaskForEachTaskTaskSqlTaskFilePtr(v *JobTaskForEachTaskTaskSqlTaskFileArgs) JobTaskForEachTaskTaskSqlTaskFilePtrInput { - return (*jobTaskForEachTaskTaskSqlTaskFilePtrType)(v) +func JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) } -func (*jobTaskForEachTaskTaskSqlTaskFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskSqlTaskFilePtrType) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSqlTaskFilePtrType) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskFileOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFileOutput() JobTaskForEachTaskTaskSqlTaskFileOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFileOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskFile) *JobTaskForEachTaskTaskSqlTaskFile { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptDbfs) *JobTaskForEachTaskTaskNewClusterInitScriptDbfs { return &v - }).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) -} - -// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. -// -// # Example -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ -// Name: pulumi.String("Example SQL Job"), -// Tasks: databricks.JobTaskArray{ -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_agg_query"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Query: &databricks.JobTaskSqlTaskQueryArgs{ -// QueryId: pulumi.Any(aggQuery.Id), -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_dashboard"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ -// DashboardId: pulumi.Any(dash.Id), -// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ -// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_alert"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Alert: &databricks.JobTaskSqlTaskAlertArgs{ -// AlertId: pulumi.Any(alert.Id), -// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ -// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o JobTaskForEachTaskTaskSqlTaskFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) + }).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. -func (o JobTaskForEachTaskTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskFileOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskFile) JobTaskForEachTaskTaskSqlTaskFile { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptDbfs) JobTaskForEachTaskTaskNewClusterInitScriptDbfs { if v != nil { return *v } - var ret JobTaskForEachTaskTaskSqlTaskFile + var ret JobTaskForEachTaskTaskNewClusterInitScriptDbfs return ret - }).(JobTaskForEachTaskTaskSqlTaskFileOutput) -} - -// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. -// -// # Example -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ -// Name: pulumi.String("Example SQL Job"), -// Tasks: databricks.JobTaskArray{ -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_agg_query"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Query: &databricks.JobTaskSqlTaskQueryArgs{ -// QueryId: pulumi.Any(aggQuery.Id), -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_dashboard"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ -// DashboardId: pulumi.Any(dash.Id), -// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ -// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_alert"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Alert: &databricks.JobTaskSqlTaskAlertArgs{ -// AlertId: pulumi.Any(alert.Id), -// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ -// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskFile) *string { - if v == nil { - return nil - } - return &v.Path - }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. -func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskFile) *string { +func (o JobTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.Source + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskSqlTaskQuery struct { - QueryId string `pulumi:"queryId"` +type JobTaskForEachTaskTaskNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// JobTaskForEachTaskTaskSqlTaskQueryInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskQueryArgs and JobTaskForEachTaskTaskSqlTaskQueryOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskQueryInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptFileArgs and JobTaskForEachTaskTaskNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptFileInput` via: // -// JobTaskForEachTaskTaskSqlTaskQueryArgs{...} -type JobTaskForEachTaskTaskSqlTaskQueryInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptFileInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskQueryOutput() JobTaskForEachTaskTaskSqlTaskQueryOutput - ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskQueryOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutput() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFileOutput } -type JobTaskForEachTaskTaskSqlTaskQueryArgs struct { - QueryId pulumi.StringInput `pulumi:"queryId"` +type JobTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskSqlTaskQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryOutput() JobTaskForEachTaskTaskSqlTaskQueryOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutput() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskQueryOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) } -func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskQueryOutput).ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskSqlTaskQueryPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskQueryArgs, JobTaskForEachTaskTaskSqlTaskQueryPtr and JobTaskForEachTaskTaskSqlTaskQueryPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskQueryPtrInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptFileArgs, JobTaskForEachTaskTaskNewClusterInitScriptFilePtr and JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: // -// JobTaskForEachTaskTaskSqlTaskQueryArgs{...} +// JobTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskSqlTaskQueryPtrInput interface { +type JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput - ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput } -type jobTaskForEachTaskTaskSqlTaskQueryPtrType JobTaskForEachTaskTaskSqlTaskQueryArgs +type jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType JobTaskForEachTaskTaskNewClusterInitScriptFileArgs -func JobTaskForEachTaskTaskSqlTaskQueryPtr(v *JobTaskForEachTaskTaskSqlTaskQueryArgs) JobTaskForEachTaskTaskSqlTaskQueryPtrInput { - return (*jobTaskForEachTaskTaskSqlTaskQueryPtrType)(v) +func JobTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *JobTaskForEachTaskTaskNewClusterInitScriptFileArgs) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) } -func (*jobTaskForEachTaskTaskSqlTaskQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskSqlTaskQueryPtrType) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return i.ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskSqlTaskQueryPtrType) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -type JobTaskForEachTaskTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryOutput() JobTaskForEachTaskTaskSqlTaskQueryOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutput() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskQuery) *JobTaskForEachTaskTaskSqlTaskQuery { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptFile) *JobTaskForEachTaskTaskNewClusterInitScriptFile { return &v - }).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { return o } -func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskQueryOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskQuery) JobTaskForEachTaskTaskSqlTaskQuery { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptFile) JobTaskForEachTaskTaskNewClusterInitScriptFile { if v != nil { return *v } - var ret JobTaskForEachTaskTaskSqlTaskQuery + var ret JobTaskForEachTaskTaskNewClusterInitScriptFile return ret - }).(JobTaskForEachTaskTaskSqlTaskQueryOutput) + }).(JobTaskForEachTaskTaskNewClusterInitScriptFileOutput) } -func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskQuery) *string { +func (o JobTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptFile) *string { if v == nil { return nil } - return &v.QueryId + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotifications struct { - // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - // - // Example - OnDurationWarningThresholdExceededs []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - OnFailures []JobTaskForEachTaskTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` - // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - OnStarts []JobTaskForEachTaskTaskWebhookNotificationsOnStart `pulumi:"onStarts"` - OnStreamingBacklogExceededs []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` - // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - OnSuccesses []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +type JobTaskForEachTaskTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// JobTaskForEachTaskTaskWebhookNotificationsInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsArgs and JobTaskForEachTaskTaskWebhookNotificationsOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs and JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsArgs{...} -type JobTaskForEachTaskTaskWebhookNotificationsInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOutput() JobTaskForEachTaskTaskWebhookNotificationsOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput } -type JobTaskForEachTaskTaskWebhookNotificationsArgs struct { - // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - // - // Example - OnDurationWarningThresholdExceededs JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - OnFailures JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - OnStarts JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` - // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - OnSuccesses JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOutput() JobTaskForEachTaskTaskWebhookNotificationsOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) } -func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOutput).ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// JobTaskForEachTaskTaskWebhookNotificationsPtrInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsArgs, JobTaskForEachTaskTaskWebhookNotificationsPtr and JobTaskForEachTaskTaskWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsPtrInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs, JobTaskForEachTaskTaskNewClusterInitScriptGcsPtr and JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsArgs{...} +// JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} // // or: // // nil -type JobTaskForEachTaskTaskWebhookNotificationsPtrInput interface { +type JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput - ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput } -type jobTaskForEachTaskTaskWebhookNotificationsPtrType JobTaskForEachTaskTaskWebhookNotificationsArgs +type jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs -func JobTaskForEachTaskTaskWebhookNotificationsPtr(v *JobTaskForEachTaskTaskWebhookNotificationsArgs) JobTaskForEachTaskTaskWebhookNotificationsPtrInput { - return (*jobTaskForEachTaskTaskWebhookNotificationsPtrType)(v) +func JobTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) } -func (*jobTaskForEachTaskTaskWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i *jobTaskForEachTaskTaskWebhookNotificationsPtrType) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *jobTaskForEachTaskTaskWebhookNotificationsPtrType) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOutput() JobTaskForEachTaskTaskWebhookNotificationsOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskWebhookNotifications) *JobTaskForEachTaskTaskWebhookNotifications { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptGcs) *JobTaskForEachTaskTaskNewClusterInitScriptGcs { return &v - }).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) -} - -// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -// -// Example -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnFailures() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnFailure { - return v.OnFailures - }).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) -} - -// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnStarts() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStart { - return v.OnStarts - }).(JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) -} - -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { - return v.OnStreamingBacklogExceededs - }).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) + }).(JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. -func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnSuccesses() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) Elem() JobTaskForEachTaskTaskWebhookNotificationsOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) JobTaskForEachTaskTaskWebhookNotifications { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptGcs) JobTaskForEachTaskTaskNewClusterInitScriptGcs { if v != nil { return *v } - var ret JobTaskForEachTaskTaskWebhookNotifications + var ret JobTaskForEachTaskTaskNewClusterInitScriptGcs return ret - }).(JobTaskForEachTaskTaskWebhookNotificationsOutput) -} - -// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -// -// Example -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnFailures() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) -} - -// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStarts() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) -} - -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) + }).(JobTaskForEachTaskTaskNewClusterInitScriptGcsOutput) } -// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. -func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnSuccesses() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { +func (o JobTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.OnSuccesses - }).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // ID of the job - Id string `pulumi:"id"` +type JobTaskForEachTaskTaskNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptS3Args and JobTaskForEachTaskTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptS3Input` via: // -// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +type JobTaskForEachTaskTaskNewClusterInitScriptS3Input interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptS3Output() JobTaskForEachTaskTaskNewClusterInitScriptS3Output + ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3Output } -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskForEachTaskTaskNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3Output() JobTaskForEachTaskTaskNewClusterInitScriptS3Output { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptS3Output) } -// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: -// -// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput +func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput - -func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (i JobTaskForEachTaskTaskNewClusterInitScriptS3Args) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptS3Output).ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) -} +// JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptS3Args, JobTaskForEachTaskTaskNewClusterInitScriptS3Ptr and JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: +// +// JobTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { + pulumi.Input -func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) + ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput } -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +type jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType JobTaskForEachTaskTaskNewClusterInitScriptS3Args -func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func JobTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *JobTaskForEachTaskTaskNewClusterInitScriptS3Args) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (*jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (i *jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -// ID of the job -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3Output() JobTaskForEachTaskTaskNewClusterInitScriptS3Output { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3Output { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskWebhookNotificationsOnFailure struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptS3) *JobTaskForEachTaskTaskNewClusterInitScriptS3 { + return &v + }).(JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput` via: -// -// JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} -type JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput interface { - pulumi.Input - - ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray and JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput` via: -// -// JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray{ JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} } -type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput interface { - pulumi.Input +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} - ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray []JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput +type JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o } -type JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) JobTaskForEachTaskTaskNewClusterInitScriptS3 { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterInitScriptS3 + return ret + }).(JobTaskForEachTaskTaskNewClusterInitScriptS3Output) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// ID of the job -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } - -func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnFailure { - return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnFailure)[vs[1].(int)] - }).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnStart struct { - // ID of the job - Id string `pulumi:"id"` +type JobTaskForEachTaskTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -// JobTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs and JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStartInput` via: +// JobTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} -type JobTaskForEachTaskTaskWebhookNotificationsOnStartInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput } -type JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStartArray and JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput` via: +func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +} + +// JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsOnStartArray{ JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} } -type JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput } -type JobTaskForEachTaskTaskWebhookNotificationsOnStartArray []JobTaskForEachTaskTaskWebhookNotificationsOnStartInput +type jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs -func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (*jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +func (i *jobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +} -func (JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { return o } -// ID of the job -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptVolumes) *JobTaskForEachTaskTaskNewClusterInitScriptVolumes { + return &v + }).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +} -func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { +type JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnStart { - return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnStart)[vs[1].(int)] - }).(JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptVolumes) JobTaskForEachTaskTaskNewClusterInitScriptVolumes { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterInitScriptVolumes + return ret + }).(JobTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs and JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: +type JobTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` +} + +// JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs and JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +type JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput } -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray and JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +} + +// JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs, JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr and JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray{ JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { +// JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput + ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput } -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput +type jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs -func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { + return (*jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +func (*jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (i *jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } +func (i *jobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +} -func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { return o } -// ID of the job -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return &v + }).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +} -func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { +type JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { - return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] - }).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) JobTaskForEachTaskTaskNewClusterInitScriptWorkspace { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterInitScriptWorkspace + return ret + }).(JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput` via: +type JobTaskForEachTaskTaskNewClusterLibrary struct { + Cran *JobTaskForEachTaskTaskNewClusterLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobTaskForEachTaskTaskNewClusterLibraryMaven `pulumi:"maven"` + Pypi *JobTaskForEachTaskTaskNewClusterLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` +} + +// JobTaskForEachTaskTaskNewClusterLibraryInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryArgs and JobTaskForEachTaskTaskNewClusterLibraryOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryInput` via: // -// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput interface { +// JobTaskForEachTaskTaskNewClusterLibraryArgs{...} +type JobTaskForEachTaskTaskNewClusterLibraryInput interface { pulumi.Input - ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput + ToJobTaskForEachTaskTaskNewClusterLibraryOutput() JobTaskForEachTaskTaskNewClusterLibraryOutput + ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryOutput +} + +type JobTaskForEachTaskTaskNewClusterLibraryArgs struct { + Cran JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` +} + +func (JobTaskForEachTaskTaskNewClusterLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() +} + +func (i JobTaskForEachTaskTaskNewClusterLibraryArgs) ToJobTaskForEachTaskTaskNewClusterLibraryOutput() JobTaskForEachTaskTaskNewClusterLibraryOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterLibraryArgs) ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryOutput) +} + +// JobTaskForEachTaskTaskNewClusterLibraryArrayInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryArray and JobTaskForEachTaskTaskNewClusterLibraryArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryArrayInput` via: +// +// JobTaskForEachTaskTaskNewClusterLibraryArray{ JobTaskForEachTaskTaskNewClusterLibraryArgs{...} } +type JobTaskForEachTaskTaskNewClusterLibraryArrayInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutput() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput + ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryArrayOutput } -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` -} +type JobTaskForEachTaskTaskNewClusterLibraryArray []JobTaskForEachTaskTaskNewClusterLibraryInput -func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterLibraryArray) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutput() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(context.Background()) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +func (i JobTaskForEachTaskTaskNewClusterLibraryArray) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) } -// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray and JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput` via: -// -// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray{ JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} } -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput interface { - pulumi.Input +type JobTaskForEachTaskTaskNewClusterLibraryOutput struct{ *pulumi.OutputState } - ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput - ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput +func (JobTaskForEachTaskTaskNewClusterLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() } -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray []JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) ToJobTaskForEachTaskTaskNewClusterLibraryOutput() JobTaskForEachTaskTaskNewClusterLibraryOutput { + return o +} -func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) ToJobTaskForEachTaskTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryOutput { + return o } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Cran() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *JobTaskForEachTaskTaskNewClusterLibraryCran { + return v.Cran + }).(JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) } -func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +} -func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Maven() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *JobTaskForEachTaskTaskNewClusterLibraryMaven { + return v.Maven + }).(JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Pypi() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *JobTaskForEachTaskTaskNewClusterLibraryPypi { + return v.Pypi + }).(JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return o +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -// ID of the job -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } -func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskNewClusterLibrary)(nil)).Elem() } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutput() JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) ToJobTaskForEachTaskTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryArrayOutput { return o } -func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { - return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskNewClusterLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskNewClusterLibrary { + return vs[0].([]JobTaskForEachTaskTaskNewClusterLibrary)[vs[1].(int)] + }).(JobTaskForEachTaskTaskNewClusterLibraryOutput) } -type JobTaskHealth struct { - // list of rules that are represented as objects with the following attributes: - Rules []JobTaskHealthRule `pulumi:"rules"` +type JobTaskForEachTaskTaskNewClusterLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobTaskHealthInput is an input type that accepts JobTaskHealthArgs and JobTaskHealthOutput values. -// You can construct a concrete instance of `JobTaskHealthInput` via: +// JobTaskForEachTaskTaskNewClusterLibraryCranInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryCranArgs and JobTaskForEachTaskTaskNewClusterLibraryCranOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryCranInput` via: // -// JobTaskHealthArgs{...} -type JobTaskHealthInput interface { +// JobTaskForEachTaskTaskNewClusterLibraryCranArgs{...} +type JobTaskForEachTaskTaskNewClusterLibraryCranInput interface { pulumi.Input - ToJobTaskHealthOutput() JobTaskHealthOutput - ToJobTaskHealthOutputWithContext(context.Context) JobTaskHealthOutput + ToJobTaskForEachTaskTaskNewClusterLibraryCranOutput() JobTaskForEachTaskTaskNewClusterLibraryCranOutput + ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranOutput } -type JobTaskHealthArgs struct { - // list of rules that are represented as objects with the following attributes: - Rules JobTaskHealthRuleArrayInput `pulumi:"rules"` +type JobTaskForEachTaskTaskNewClusterLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskHealth)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() } -func (i JobTaskHealthArgs) ToJobTaskHealthOutput() JobTaskHealthOutput { - return i.ToJobTaskHealthOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutput() JobTaskForEachTaskTaskNewClusterLibraryCranOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(context.Background()) } -func (i JobTaskHealthArgs) ToJobTaskHealthOutputWithContext(ctx context.Context) JobTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthOutput) +func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryCranOutput) } -func (i JobTaskHealthArgs) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { - return i.ToJobTaskHealthPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i JobTaskHealthArgs) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthOutput).ToJobTaskHealthPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterLibraryCranArgs) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryCranOutput).ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx) } -// JobTaskHealthPtrInput is an input type that accepts JobTaskHealthArgs, JobTaskHealthPtr and JobTaskHealthPtrOutput values. -// You can construct a concrete instance of `JobTaskHealthPtrInput` via: +// JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryCranArgs, JobTaskForEachTaskTaskNewClusterLibraryCranPtr and JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput` via: // -// JobTaskHealthArgs{...} +// JobTaskForEachTaskTaskNewClusterLibraryCranArgs{...} // // or: // // nil -type JobTaskHealthPtrInput interface { +type JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput interface { pulumi.Input - ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput - ToJobTaskHealthPtrOutputWithContext(context.Context) JobTaskHealthPtrOutput + ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput + ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput } -type jobTaskHealthPtrType JobTaskHealthArgs +type jobTaskForEachTaskTaskNewClusterLibraryCranPtrType JobTaskForEachTaskTaskNewClusterLibraryCranArgs -func JobTaskHealthPtr(v *JobTaskHealthArgs) JobTaskHealthPtrInput { - return (*jobTaskHealthPtrType)(v) +func JobTaskForEachTaskTaskNewClusterLibraryCranPtr(v *JobTaskForEachTaskTaskNewClusterLibraryCranArgs) JobTaskForEachTaskTaskNewClusterLibraryCranPtrInput { + return (*jobTaskForEachTaskTaskNewClusterLibraryCranPtrType)(v) } -func (*jobTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskHealth)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() } -func (i *jobTaskHealthPtrType) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { - return i.ToJobTaskHealthPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterLibraryCranPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i *jobTaskHealthPtrType) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterLibraryCranPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) } -type JobTaskHealthOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterLibraryCranOutput struct{ *pulumi.OutputState } -func (JobTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskHealth)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() } -func (o JobTaskHealthOutput) ToJobTaskHealthOutput() JobTaskHealthOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutput() JobTaskForEachTaskTaskNewClusterLibraryCranOutput { return o } -func (o JobTaskHealthOutput) ToJobTaskHealthOutputWithContext(ctx context.Context) JobTaskHealthOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranOutput { return o } -func (o JobTaskHealthOutput) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { - return o.ToJobTaskHealthPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobTaskHealthOutput) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskHealth) *JobTaskHealth { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterLibraryCran) *JobTaskForEachTaskTaskNewClusterLibraryCran { return &v - }).(JobTaskHealthPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) } -// list of rules that are represented as objects with the following attributes: -func (o JobTaskHealthOutput) Rules() JobTaskHealthRuleArrayOutput { - return o.ApplyT(func(v JobTaskHealth) []JobTaskHealthRule { return v.Rules }).(JobTaskHealthRuleArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -type JobTaskHealthPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (JobTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskHealth)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryCran)(nil)).Elem() } -func (o JobTaskHealthPtrOutput) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { return o } -func (o JobTaskHealthPtrOutput) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput { return o } -func (o JobTaskHealthPtrOutput) Elem() JobTaskHealthOutput { - return o.ApplyT(func(v *JobTaskHealth) JobTaskHealth { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterLibraryCranOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryCran) JobTaskForEachTaskTaskNewClusterLibraryCran { if v != nil { return *v } - var ret JobTaskHealth + var ret JobTaskForEachTaskTaskNewClusterLibraryCran return ret - }).(JobTaskHealthOutput) + }).(JobTaskForEachTaskTaskNewClusterLibraryCranOutput) } -// list of rules that are represented as objects with the following attributes: -func (o JobTaskHealthPtrOutput) Rules() JobTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *JobTaskHealth) []JobTaskHealthRule { +func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryCran) *string { if v == nil { return nil } - return v.Rules - }).(JobTaskHealthRuleArrayOutput) + return &v.Package + }).(pulumi.StringPtrOutput) } -type JobTaskHealthRule struct { - // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - Metric string `pulumi:"metric"` - // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - Op string `pulumi:"op"` - // integer value used to compare to the given metric. - Value int `pulumi:"value"` +func (o JobTaskForEachTaskTaskNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// JobTaskHealthRuleInput is an input type that accepts JobTaskHealthRuleArgs and JobTaskHealthRuleOutput values. -// You can construct a concrete instance of `JobTaskHealthRuleInput` via: +type JobTaskForEachTaskTaskNewClusterLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// JobTaskForEachTaskTaskNewClusterLibraryMavenInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryMavenArgs and JobTaskForEachTaskTaskNewClusterLibraryMavenOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryMavenInput` via: // -// JobTaskHealthRuleArgs{...} -type JobTaskHealthRuleInput interface { +// JobTaskForEachTaskTaskNewClusterLibraryMavenArgs{...} +type JobTaskForEachTaskTaskNewClusterLibraryMavenInput interface { pulumi.Input - ToJobTaskHealthRuleOutput() JobTaskHealthRuleOutput - ToJobTaskHealthRuleOutputWithContext(context.Context) JobTaskHealthRuleOutput + ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput + ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenOutput } -type JobTaskHealthRuleArgs struct { - // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - Metric pulumi.StringInput `pulumi:"metric"` - // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - Op pulumi.StringInput `pulumi:"op"` - // integer value used to compare to the given metric. - Value pulumi.IntInput `pulumi:"value"` +type JobTaskForEachTaskTaskNewClusterLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskHealthRule)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() } -func (i JobTaskHealthRuleArgs) ToJobTaskHealthRuleOutput() JobTaskHealthRuleOutput { - return i.ToJobTaskHealthRuleOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(context.Background()) } -func (i JobTaskHealthRuleArgs) ToJobTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthRuleOutput) +func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) } -// JobTaskHealthRuleArrayInput is an input type that accepts JobTaskHealthRuleArray and JobTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `JobTaskHealthRuleArrayInput` via: +func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryMavenOutput).ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx) +} + +// JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryMavenArgs, JobTaskForEachTaskTaskNewClusterLibraryMavenPtr and JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput` via: // -// JobTaskHealthRuleArray{ JobTaskHealthRuleArgs{...} } -type JobTaskHealthRuleArrayInput interface { +// JobTaskForEachTaskTaskNewClusterLibraryMavenArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput interface { pulumi.Input - ToJobTaskHealthRuleArrayOutput() JobTaskHealthRuleArrayOutput - ToJobTaskHealthRuleArrayOutputWithContext(context.Context) JobTaskHealthRuleArrayOutput + ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput + ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput } -type JobTaskHealthRuleArray []JobTaskHealthRuleInput +type jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType JobTaskForEachTaskTaskNewClusterLibraryMavenArgs -func (JobTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskHealthRule)(nil)).Elem() +func JobTaskForEachTaskTaskNewClusterLibraryMavenPtr(v *JobTaskForEachTaskTaskNewClusterLibraryMavenArgs) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrInput { + return (*jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType)(v) } -func (i JobTaskHealthRuleArray) ToJobTaskHealthRuleArrayOutput() JobTaskHealthRuleArrayOutput { - return i.ToJobTaskHealthRuleArrayOutputWithContext(context.Background()) +func (*jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() } -func (i JobTaskHealthRuleArray) ToJobTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthRuleArrayOutput) +func (i *jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -type JobTaskHealthRuleOutput struct{ *pulumi.OutputState } +func (i *jobTaskForEachTaskTaskNewClusterLibraryMavenPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) +} -func (JobTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskHealthRule)(nil)).Elem() +type JobTaskForEachTaskTaskNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() } -func (o JobTaskHealthRuleOutput) ToJobTaskHealthRuleOutput() JobTaskHealthRuleOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { return o } -func (o JobTaskHealthRuleOutput) ToJobTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskHealthRuleOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { return o } -// string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -func (o JobTaskHealthRuleOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -// string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. -func (o JobTaskHealthRuleOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterLibraryMaven) *JobTaskForEachTaskTaskNewClusterLibraryMaven { + return &v + }).(JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) } -// integer value used to compare to the given metric. -func (o JobTaskHealthRuleOutput) Value() pulumi.IntOutput { - return o.ApplyT(func(v JobTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -type JobTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} -func (JobTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskHealthRule)(nil)).Elem() +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o JobTaskHealthRuleArrayOutput) ToJobTaskHealthRuleArrayOutput() JobTaskHealthRuleArrayOutput { +type JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryMaven)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { return o } -func (o JobTaskHealthRuleArrayOutput) ToJobTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskHealthRuleArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput { return o } -func (o JobTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) JobTaskHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskHealthRule { - return vs[0].([]JobTaskHealthRule)[vs[1].(int)] - }).(JobTaskHealthRuleOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterLibraryMavenOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) JobTaskForEachTaskTaskNewClusterLibraryMaven { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterLibraryMaven + return ret + }).(JobTaskForEachTaskTaskNewClusterLibraryMavenOutput) } -type JobTaskLibrary struct { - Cran *JobTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobTaskLibraryMaven `pulumi:"maven"` - Pypi *JobTaskLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) *string { + if v == nil { + return nil + } + return &v.Coordinates + }).(pulumi.StringPtrOutput) } -// JobTaskLibraryInput is an input type that accepts JobTaskLibraryArgs and JobTaskLibraryOutput values. -// You can construct a concrete instance of `JobTaskLibraryInput` via: +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o JobTaskForEachTaskTaskNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskNewClusterLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// JobTaskForEachTaskTaskNewClusterLibraryPypiInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryPypiArgs and JobTaskForEachTaskTaskNewClusterLibraryPypiOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryPypiInput` via: // -// JobTaskLibraryArgs{...} -type JobTaskLibraryInput interface { +// JobTaskForEachTaskTaskNewClusterLibraryPypiArgs{...} +type JobTaskForEachTaskTaskNewClusterLibraryPypiInput interface { pulumi.Input - ToJobTaskLibraryOutput() JobTaskLibraryOutput - ToJobTaskLibraryOutputWithContext(context.Context) JobTaskLibraryOutput + ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput + ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiOutput } -type JobTaskLibraryArgs struct { - Cran JobTaskLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobTaskLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobTaskLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type JobTaskForEachTaskTaskNewClusterLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibrary)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() } -func (i JobTaskLibraryArgs) ToJobTaskLibraryOutput() JobTaskLibraryOutput { - return i.ToJobTaskLibraryOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(context.Background()) } -func (i JobTaskLibraryArgs) ToJobTaskLibraryOutputWithContext(ctx context.Context) JobTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryOutput) +func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) } -// JobTaskLibraryArrayInput is an input type that accepts JobTaskLibraryArray and JobTaskLibraryArrayOutput values. -// You can construct a concrete instance of `JobTaskLibraryArrayInput` via: -// -// JobTaskLibraryArray{ JobTaskLibraryArgs{...} } -type JobTaskLibraryArrayInput interface { - pulumi.Input +func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +} - ToJobTaskLibraryArrayOutput() JobTaskLibraryArrayOutput - ToJobTaskLibraryArrayOutputWithContext(context.Context) JobTaskLibraryArrayOutput +func (i JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryPypiOutput).ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx) } -type JobTaskLibraryArray []JobTaskLibraryInput +// JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterLibraryPypiArgs, JobTaskForEachTaskTaskNewClusterLibraryPypiPtr and JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput` via: +// +// JobTaskForEachTaskTaskNewClusterLibraryPypiArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput interface { + pulumi.Input -func (JobTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskLibrary)(nil)).Elem() + ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput + ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput } -func (i JobTaskLibraryArray) ToJobTaskLibraryArrayOutput() JobTaskLibraryArrayOutput { - return i.ToJobTaskLibraryArrayOutputWithContext(context.Background()) -} +type jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType JobTaskForEachTaskTaskNewClusterLibraryPypiArgs -func (i JobTaskLibraryArray) ToJobTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryArrayOutput) +func JobTaskForEachTaskTaskNewClusterLibraryPypiPtr(v *JobTaskForEachTaskTaskNewClusterLibraryPypiArgs) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrInput { + return (*jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType)(v) } -type JobTaskLibraryOutput struct{ *pulumi.OutputState } - -func (JobTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibrary)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTaskLibraryOutput) ToJobTaskLibraryOutput() JobTaskLibraryOutput { - return o +func (i *jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobTaskLibraryOutput) ToJobTaskLibraryOutputWithContext(ctx context.Context) JobTaskLibraryOutput { - return o +func (i *jobTaskForEachTaskTaskNewClusterLibraryPypiPtrType) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) } -func (o JobTaskLibraryOutput) Cran() JobTaskLibraryCranPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *JobTaskLibraryCran { return v.Cran }).(JobTaskLibraryCranPtrOutput) +type JobTaskForEachTaskTaskNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { + return o } -func (o JobTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { + return o } -func (o JobTaskLibraryOutput) Maven() JobTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *JobTaskLibraryMaven { return v.Maven }).(JobTaskLibraryMavenPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobTaskLibraryOutput) Pypi() JobTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *JobTaskLibraryPypi { return v.Pypi }).(JobTaskLibraryPypiPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterLibraryPypi) *JobTaskForEachTaskTaskNewClusterLibraryPypi { + return &v + }).(JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) } -func (o JobTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskLibraryArrayOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskLibrary)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTaskLibraryArrayOutput) ToJobTaskLibraryArrayOutput() JobTaskLibraryArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput() JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { return o } -func (o JobTaskLibraryArrayOutput) ToJobTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskLibraryArrayOutput { +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) ToJobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput { return o } -func (o JobTaskLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskLibrary { - return vs[0].([]JobTaskLibrary)[vs[1].(int)] - }).(JobTaskLibraryOutput) +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterLibraryPypiOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryPypi) JobTaskForEachTaskTaskNewClusterLibraryPypi { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNewClusterLibraryPypi + return ret + }).(JobTaskForEachTaskTaskNewClusterLibraryPypiOutput) } -type JobTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryPypi) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) } -// JobTaskLibraryCranInput is an input type that accepts JobTaskLibraryCranArgs and JobTaskLibraryCranOutput values. -// You can construct a concrete instance of `JobTaskLibraryCranInput` via: +func (o JobTaskForEachTaskTaskNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterLibraryPypi) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type JobTaskForEachTaskTaskNewClusterWorkloadType struct { + Clients JobTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +} + +// JobTaskForEachTaskTaskNewClusterWorkloadTypeInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs and JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypeInput` via: // -// JobTaskLibraryCranArgs{...} -type JobTaskLibraryCranInput interface { +// JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} +type JobTaskForEachTaskTaskNewClusterWorkloadTypeInput interface { pulumi.Input - ToJobTaskLibraryCranOutput() JobTaskLibraryCranOutput - ToJobTaskLibraryCranOutputWithContext(context.Context) JobTaskLibraryCranOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput } -type JobTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { + Clients JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (JobTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibraryCran)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranOutput() JobTaskLibraryCranOutput { - return i.ToJobTaskLibraryCranOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryCranOutput) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) } -func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { - return i.ToJobTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryCranOutput).ToJobTaskLibraryCranPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// JobTaskLibraryCranPtrInput is an input type that accepts JobTaskLibraryCranArgs, JobTaskLibraryCranPtr and JobTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobTaskLibraryCranPtrInput` via: +// JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs, JobTaskForEachTaskTaskNewClusterWorkloadTypePtr and JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput` via: // -// JobTaskLibraryCranArgs{...} +// JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} // // or: // // nil -type JobTaskLibraryCranPtrInput interface { +type JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput - ToJobTaskLibraryCranPtrOutputWithContext(context.Context) JobTaskLibraryCranPtrOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput } -type jobTaskLibraryCranPtrType JobTaskLibraryCranArgs +type jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs -func JobTaskLibraryCranPtr(v *JobTaskLibraryCranArgs) JobTaskLibraryCranPtrInput { - return (*jobTaskLibraryCranPtrType)(v) +func JobTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { + return (*jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) } -func (*jobTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskLibraryCran)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (i *jobTaskLibraryCranPtrType) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { - return i.ToJobTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *jobTaskLibraryCranPtrType) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryCranPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -type JobTaskLibraryCranOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (JobTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibraryCran)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranOutput() JobTaskLibraryCranOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { return o } -func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskLibraryCranOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { return o } -func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { - return o.ToJobTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskLibraryCran) *JobTaskLibraryCran { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterWorkloadType) *JobTaskForEachTaskTaskNewClusterWorkloadType { return &v - }).(JobTaskLibraryCranPtrOutput) -} - -func (o JobTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -func (o JobTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterWorkloadType) JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { + return v.Clients + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -type JobTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (JobTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskLibraryCran)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (o JobTaskLibraryCranPtrOutput) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { return o } -func (o JobTaskLibraryCranPtrOutput) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { return o } -func (o JobTaskLibraryCranPtrOutput) Elem() JobTaskLibraryCranOutput { - return o.ApplyT(func(v *JobTaskLibraryCran) JobTaskLibraryCran { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadType) JobTaskForEachTaskTaskNewClusterWorkloadType { if v != nil { return *v } - var ret JobTaskLibraryCran + var ret JobTaskForEachTaskTaskNewClusterWorkloadType return ret - }).(JobTaskLibraryCranOutput) -} - -func (o JobTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeOutput) } -func (o JobTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskLibraryCran) *string { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadType) *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return &v.Clients + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -type JobTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type JobTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// JobTaskLibraryMavenInput is an input type that accepts JobTaskLibraryMavenArgs and JobTaskLibraryMavenOutput values. -// You can construct a concrete instance of `JobTaskLibraryMavenInput` via: +// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: // -// JobTaskLibraryMavenArgs{...} -type JobTaskLibraryMavenInput interface { +// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} +type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToJobTaskLibraryMavenOutput() JobTaskLibraryMavenOutput - ToJobTaskLibraryMavenOutputWithContext(context.Context) JobTaskLibraryMavenOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput } -type JobTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (JobTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibraryMaven)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenOutput() JobTaskLibraryMavenOutput { - return i.ToJobTaskLibraryMavenOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryMavenOutput) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { - return i.ToJobTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryMavenOutput).ToJobTaskLibraryMavenPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// JobTaskLibraryMavenPtrInput is an input type that accepts JobTaskLibraryMavenArgs, JobTaskLibraryMavenPtr and JobTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobTaskLibraryMavenPtrInput` via: +// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: // -// JobTaskLibraryMavenArgs{...} +// JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type JobTaskLibraryMavenPtrInput interface { +type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput - ToJobTaskLibraryMavenPtrOutputWithContext(context.Context) JobTaskLibraryMavenPtrOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput } -type jobTaskLibraryMavenPtrType JobTaskLibraryMavenArgs +type jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs -func JobTaskLibraryMavenPtr(v *JobTaskLibraryMavenArgs) JobTaskLibraryMavenPtrInput { - return (*jobTaskLibraryMavenPtrType)(v) +func JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { + return (*jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) } -func (*jobTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskLibraryMaven)(nil)).Elem() +func (*jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *jobTaskLibraryMavenPtrType) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { - return i.ToJobTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *jobTaskLibraryMavenPtrType) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryMavenPtrOutput) +func (i *jobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -type JobTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (JobTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibraryMaven)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenOutput() JobTaskLibraryMavenOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskLibraryMavenOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { - return o.ToJobTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskLibraryMaven) *JobTaskLibraryMaven { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { return &v - }).(JobTaskLibraryMavenPtrOutput) -} - -func (o JobTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o JobTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o JobTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type JobTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskLibraryMaven)(nil)).Elem() +func (JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobTaskLibraryMavenPtrOutput) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobTaskLibraryMavenPtrOutput) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobTaskLibraryMavenPtrOutput) Elem() JobTaskLibraryMavenOutput { - return o.ApplyT(func(v *JobTaskLibraryMaven) JobTaskLibraryMaven { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) JobTaskForEachTaskTaskNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret JobTaskLibraryMaven + var ret JobTaskForEachTaskTaskNewClusterWorkloadTypeClients return ret - }).(JobTaskLibraryMavenOutput) -} - -func (o JobTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskLibraryMaven) *string { - if v == nil { - return nil - } - return &v.Coordinates - }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -func (o JobTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskLibraryMaven) []string { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o JobTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskLibraryMaven) *string { +func (o JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type JobTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobTaskForEachTaskTaskNotebookTask struct { + // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + BaseParameters map[string]string `pulumi:"baseParameters"` + // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + NotebookPath string `pulumi:"notebookPath"` + // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. + Source *string `pulumi:"source"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + WarehouseId *string `pulumi:"warehouseId"` } -// JobTaskLibraryPypiInput is an input type that accepts JobTaskLibraryPypiArgs and JobTaskLibraryPypiOutput values. -// You can construct a concrete instance of `JobTaskLibraryPypiInput` via: +// JobTaskForEachTaskTaskNotebookTaskInput is an input type that accepts JobTaskForEachTaskTaskNotebookTaskArgs and JobTaskForEachTaskTaskNotebookTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNotebookTaskInput` via: // -// JobTaskLibraryPypiArgs{...} -type JobTaskLibraryPypiInput interface { +// JobTaskForEachTaskTaskNotebookTaskArgs{...} +type JobTaskForEachTaskTaskNotebookTaskInput interface { pulumi.Input - ToJobTaskLibraryPypiOutput() JobTaskLibraryPypiOutput - ToJobTaskLibraryPypiOutputWithContext(context.Context) JobTaskLibraryPypiOutput + ToJobTaskForEachTaskTaskNotebookTaskOutput() JobTaskForEachTaskTaskNotebookTaskOutput + ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskNotebookTaskOutput } -type JobTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskForEachTaskTaskNotebookTaskArgs struct { + // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` + // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. + Source pulumi.StringPtrInput `pulumi:"source"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (JobTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibraryPypi)(nil)).Elem() +func (JobTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiOutput() JobTaskLibraryPypiOutput { - return i.ToJobTaskLibraryPypiOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskOutput() JobTaskForEachTaskTaskNotebookTaskOutput { + return i.ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) } -func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryPypiOutput) +func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotebookTaskOutput) } -func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { - return i.ToJobTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryPypiOutput).ToJobTaskLibraryPypiPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNotebookTaskArgs) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotebookTaskOutput).ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) } -// JobTaskLibraryPypiPtrInput is an input type that accepts JobTaskLibraryPypiArgs, JobTaskLibraryPypiPtr and JobTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobTaskLibraryPypiPtrInput` via: +// JobTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskNotebookTaskArgs, JobTaskForEachTaskTaskNotebookTaskPtr and JobTaskForEachTaskTaskNotebookTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNotebookTaskPtrInput` via: // -// JobTaskLibraryPypiArgs{...} +// JobTaskForEachTaskTaskNotebookTaskArgs{...} // // or: // // nil -type JobTaskLibraryPypiPtrInput interface { +type JobTaskForEachTaskTaskNotebookTaskPtrInput interface { pulumi.Input - ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput - ToJobTaskLibraryPypiPtrOutputWithContext(context.Context) JobTaskLibraryPypiPtrOutput + ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput + ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput } -type jobTaskLibraryPypiPtrType JobTaskLibraryPypiArgs +type jobTaskForEachTaskTaskNotebookTaskPtrType JobTaskForEachTaskTaskNotebookTaskArgs -func JobTaskLibraryPypiPtr(v *JobTaskLibraryPypiArgs) JobTaskLibraryPypiPtrInput { - return (*jobTaskLibraryPypiPtrType)(v) +func JobTaskForEachTaskTaskNotebookTaskPtr(v *JobTaskForEachTaskTaskNotebookTaskArgs) JobTaskForEachTaskTaskNotebookTaskPtrInput { + return (*jobTaskForEachTaskTaskNotebookTaskPtrType)(v) } -func (*jobTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskLibraryPypi)(nil)).Elem() +func (*jobTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (i *jobTaskLibraryPypiPtrType) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { - return i.ToJobTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNotebookTaskPtrType) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskLibraryPypiPtrType) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryPypiPtrOutput) +func (i *jobTaskForEachTaskTaskNotebookTaskPtrType) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) } -type JobTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } -func (JobTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskLibraryPypi)(nil)).Elem() +func (JobTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiOutput() JobTaskLibraryPypiOutput { +func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskOutput() JobTaskForEachTaskTaskNotebookTaskOutput { return o } -func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskLibraryPypiOutput { +func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskOutput { return o } -func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { - return o.ToJobTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskLibraryPypi) *JobTaskLibraryPypi { +func (o JobTaskForEachTaskTaskNotebookTaskOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNotebookTask) *JobTaskForEachTaskTaskNotebookTask { return &v - }).(JobTaskLibraryPypiPtrOutput) + }).(JobTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (o JobTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. +func (o JobTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) } -func (o JobTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -type JobTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. +func (o JobTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (JobTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskLibraryPypi)(nil)).Elem() +// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. +func (o JobTaskForEachTaskTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -func (o JobTaskLibraryPypiPtrOutput) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { +type JobTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNotebookTask)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutput() JobTaskForEachTaskTaskNotebookTaskPtrOutput { return o } -func (o JobTaskLibraryPypiPtrOutput) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) ToJobTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotebookTaskPtrOutput { return o } -func (o JobTaskLibraryPypiPtrOutput) Elem() JobTaskLibraryPypiOutput { - return o.ApplyT(func(v *JobTaskLibraryPypi) JobTaskLibraryPypi { +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() JobTaskForEachTaskTaskNotebookTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) JobTaskForEachTaskTaskNotebookTask { if v != nil { return *v } - var ret JobTaskLibraryPypi + var ret JobTaskForEachTaskTaskNotebookTask return ret - }).(JobTaskLibraryPypiOutput) + }).(JobTaskForEachTaskTaskNotebookTaskOutput) } -func (o JobTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskLibraryPypi) *string { +// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) map[string]string { + if v == nil { + return nil + } + return v.BaseParameters + }).(pulumi.StringMapOutput) +} + +// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath + }).(pulumi.StringPtrOutput) +} + +// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) *string { if v == nil { return nil } - return &v.Package + return v.Source }).(pulumi.StringPtrOutput) } -func (o JobTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskLibraryPypi) *string { +// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. +func (o JobTaskForEachTaskTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotebookTask) *string { if v == nil { return nil } - return v.Repo + return v.WarehouseId }).(pulumi.StringPtrOutput) } -type JobTaskNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *JobTaskNewClusterAutoscale `pulumi:"autoscale"` - AwsAttributes *JobTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *JobTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *JobTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []JobTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *JobTaskNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` - EnableElasticDisk *bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *JobTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []JobTaskNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries []JobTaskNewClusterLibrary `pulumi:"libraries"` - NodeTypeId *string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType *JobTaskNewClusterWorkloadType `pulumi:"workloadType"` +type JobTaskForEachTaskTaskNotificationSettings struct { + // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. + AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` + // (Bool) don't send alert for cancelled runs. + // + // The following parameter is only available on task level. + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + // (Bool) don't send alert for skipped runs. + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` } -// JobTaskNewClusterInput is an input type that accepts JobTaskNewClusterArgs and JobTaskNewClusterOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInput` via: +// JobTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts JobTaskForEachTaskTaskNotificationSettingsArgs and JobTaskForEachTaskTaskNotificationSettingsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNotificationSettingsInput` via: // -// JobTaskNewClusterArgs{...} -type JobTaskNewClusterInput interface { +// JobTaskForEachTaskTaskNotificationSettingsArgs{...} +type JobTaskForEachTaskTaskNotificationSettingsInput interface { pulumi.Input - ToJobTaskNewClusterOutput() JobTaskNewClusterOutput - ToJobTaskNewClusterOutputWithContext(context.Context) JobTaskNewClusterOutput + ToJobTaskForEachTaskTaskNotificationSettingsOutput() JobTaskForEachTaskTaskNotificationSettingsOutput + ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) JobTaskForEachTaskTaskNotificationSettingsOutput } -type JobTaskNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale JobTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AwsAttributes JobTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes JobTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf JobTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos JobTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage JobTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes JobTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts JobTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - Libraries JobTaskNewClusterLibraryArrayInput `pulumi:"libraries"` - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - // isn't supported - WorkloadType JobTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type JobTaskForEachTaskTaskNotificationSettingsArgs struct { + // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + // (Bool) don't send alert for cancelled runs. + // + // The following parameter is only available on task level. + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + // (Bool) don't send alert for skipped runs. + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (JobTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewCluster)(nil)).Elem() +func (JobTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (i JobTaskNewClusterArgs) ToJobTaskNewClusterOutput() JobTaskNewClusterOutput { - return i.ToJobTaskNewClusterOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsOutput() JobTaskForEachTaskTaskNotificationSettingsOutput { + return i.ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) } -func (i JobTaskNewClusterArgs) ToJobTaskNewClusterOutputWithContext(ctx context.Context) JobTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterOutput) +func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotificationSettingsOutput) } -func (i JobTaskNewClusterArgs) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { - return i.ToJobTaskNewClusterPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterArgs) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterOutput).ToJobTaskNewClusterPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskNotificationSettingsArgs) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotificationSettingsOutput).ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) } -// JobTaskNewClusterPtrInput is an input type that accepts JobTaskNewClusterArgs, JobTaskNewClusterPtr and JobTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterPtrInput` via: +// JobTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts JobTaskForEachTaskTaskNotificationSettingsArgs, JobTaskForEachTaskTaskNotificationSettingsPtr and JobTaskForEachTaskTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskNotificationSettingsPtrInput` via: // -// JobTaskNewClusterArgs{...} +// JobTaskForEachTaskTaskNotificationSettingsArgs{...} // // or: // // nil -type JobTaskNewClusterPtrInput interface { +type JobTaskForEachTaskTaskNotificationSettingsPtrInput interface { pulumi.Input - ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput - ToJobTaskNewClusterPtrOutputWithContext(context.Context) JobTaskNewClusterPtrOutput + ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput + ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput } -type jobTaskNewClusterPtrType JobTaskNewClusterArgs +type jobTaskForEachTaskTaskNotificationSettingsPtrType JobTaskForEachTaskTaskNotificationSettingsArgs -func JobTaskNewClusterPtr(v *JobTaskNewClusterArgs) JobTaskNewClusterPtrInput { - return (*jobTaskNewClusterPtrType)(v) +func JobTaskForEachTaskTaskNotificationSettingsPtr(v *JobTaskForEachTaskTaskNotificationSettingsArgs) JobTaskForEachTaskTaskNotificationSettingsPtrInput { + return (*jobTaskForEachTaskTaskNotificationSettingsPtrType)(v) } -func (*jobTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewCluster)(nil)).Elem() +func (*jobTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (i *jobTaskNewClusterPtrType) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { - return i.ToJobTaskNewClusterPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskNotificationSettingsPtrType) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterPtrType) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterPtrOutput) +func (i *jobTaskForEachTaskTaskNotificationSettingsPtrType) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) } -type JobTaskNewClusterOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewCluster)(nil)).Elem() +func (JobTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (o JobTaskNewClusterOutput) ToJobTaskNewClusterOutput() JobTaskNewClusterOutput { +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsOutput() JobTaskForEachTaskTaskNotificationSettingsOutput { return o } -func (o JobTaskNewClusterOutput) ToJobTaskNewClusterOutputWithContext(ctx context.Context) JobTaskNewClusterOutput { +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsOutput { return o } -func (o JobTaskNewClusterOutput) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { - return o.ToJobTaskNewClusterPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterOutput) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewCluster) *JobTaskNewCluster { +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskNotificationSettings) *JobTaskForEachTaskTaskNotificationSettings { return &v - }).(JobTaskNewClusterPtrOutput) + }).(JobTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (o JobTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterOutput) Autoscale() JobTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAutoscale { return v.Autoscale }).(JobTaskNewClusterAutoscalePtrOutput) +// (Bool) don't send alert for cancelled runs. +// +// The following parameter is only available on task level. +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterOutput) AwsAttributes() JobTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAwsAttributes { return v.AwsAttributes }).(JobTaskNewClusterAwsAttributesPtrOutput) +// (Bool) don't send alert for skipped runs. +func (o JobTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterOutput) AzureAttributes() JobTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAzureAttributes { return v.AzureAttributes }).(JobTaskNewClusterAzureAttributesPtrOutput) +type JobTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (o JobTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutput() JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o } -func (o JobTaskNewClusterOutput) ClusterLogConf() JobTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterClusterLogConf { return v.ClusterLogConf }).(JobTaskNewClusterClusterLogConfPtrOutput) +func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) ToJobTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o } -func (o JobTaskNewClusterOutput) ClusterMountInfos() JobTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterClusterMountInfo { return v.ClusterMountInfos }).(JobTaskNewClusterClusterMountInfoArrayOutput) +func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() JobTaskForEachTaskTaskNotificationSettingsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) JobTaskForEachTaskTaskNotificationSettings { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskNotificationSettings + return ret + }).(JobTaskForEachTaskTaskNotificationSettingsOutput) } -func (o JobTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. +func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +// (Bool) don't send alert for cancelled runs. +// +// The following parameter is only available on task level. +func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +// (Bool) don't send alert for skipped runs. +func (o JobTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterOutput) DockerImage() JobTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterDockerImage { return v.DockerImage }).(JobTaskNewClusterDockerImagePtrOutput) +type JobTaskForEachTaskTaskPipelineTask struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh *bool `pulumi:"fullRefresh"` + // The pipeline's unique ID. + PipelineId string `pulumi:"pipelineId"` } -func (o JobTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) +// JobTaskForEachTaskTaskPipelineTaskInput is an input type that accepts JobTaskForEachTaskTaskPipelineTaskArgs and JobTaskForEachTaskTaskPipelineTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskPipelineTaskInput` via: +// +// JobTaskForEachTaskTaskPipelineTaskArgs{...} +type JobTaskForEachTaskTaskPipelineTaskInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskPipelineTaskOutput() JobTaskForEachTaskTaskPipelineTaskOutput + ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskPipelineTaskOutput } -func (o JobTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskPipelineTaskArgs struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + // The pipeline's unique ID. + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (o JobTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +func (JobTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o JobTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskOutput() JobTaskForEachTaskTaskPipelineTaskOutput { + return i.ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) } -func (o JobTaskNewClusterOutput) GcpAttributes() JobTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterGcpAttributes { return v.GcpAttributes }).(JobTaskNewClusterGcpAttributesPtrOutput) +func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPipelineTaskOutput) } -func (o JobTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterOutput) InitScripts() JobTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterInitScript { return v.InitScripts }).(JobTaskNewClusterInitScriptArrayOutput) +func (i JobTaskForEachTaskTaskPipelineTaskArgs) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPipelineTaskOutput).ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) } -func (o JobTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +// JobTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskPipelineTaskArgs, JobTaskForEachTaskTaskPipelineTaskPtr and JobTaskForEachTaskTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskPipelineTaskPtrInput` via: +// +// JobTaskForEachTaskTaskPipelineTaskArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskPipelineTaskPtrInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput + ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobTaskNewClusterOutput) Libraries() JobTaskNewClusterLibraryArrayOutput { - return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterLibrary { return v.Libraries }).(JobTaskNewClusterLibraryArrayOutput) +type jobTaskForEachTaskTaskPipelineTaskPtrType JobTaskForEachTaskTaskPipelineTaskArgs + +func JobTaskForEachTaskTaskPipelineTaskPtr(v *JobTaskForEachTaskTaskPipelineTaskArgs) JobTaskForEachTaskTaskPipelineTaskPtrInput { + return (*jobTaskForEachTaskTaskPipelineTaskPtrType)(v) } -func (o JobTaskNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (*jobTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o JobTaskNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (i *jobTaskForEachTaskTaskPipelineTaskPtrType) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i *jobTaskForEachTaskTaskPipelineTaskPtrType) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o JobTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o JobTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskOutput() JobTaskForEachTaskTaskPipelineTaskOutput { + return o } -func (o JobTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskOutput { + return o } -func (o JobTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskPipelineTaskOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskPipelineTask) *JobTaskForEachTaskTaskPipelineTask { + return &v + }).(JobTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o JobTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -// isn't supported -func (o JobTaskNewClusterOutput) WorkloadType() JobTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterWorkloadType { return v.WorkloadType }).(JobTaskNewClusterWorkloadTypePtrOutput) +// The pipeline's unique ID. +func (o JobTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -type JobTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewCluster)(nil)).Elem() +func (JobTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o JobTaskNewClusterPtrOutput) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { +func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutput() JobTaskForEachTaskTaskPipelineTaskPtrOutput { return o } -func (o JobTaskNewClusterPtrOutput) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { +func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) ToJobTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPipelineTaskPtrOutput { return o } -func (o JobTaskNewClusterPtrOutput) Elem() JobTaskNewClusterOutput { - return o.ApplyT(func(v *JobTaskNewCluster) JobTaskNewCluster { +func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() JobTaskForEachTaskTaskPipelineTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPipelineTask) JobTaskForEachTaskTaskPipelineTask { if v != nil { return *v } - var ret JobTaskNewCluster + var ret JobTaskForEachTaskTaskPipelineTask return ret - }).(JobTaskNewClusterOutput) + }).(JobTaskForEachTaskTaskPipelineTaskOutput) } -func (o JobTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *bool { +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPipelineTask) *bool { if v == nil { return nil } - return v.ApplyPolicyDefaultValues + return v.FullRefresh }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterPtrOutput) Autoscale() JobTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterAutoscale { +// The pipeline's unique ID. +func (o JobTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPipelineTask) *string { if v == nil { return nil } - return v.Autoscale - }).(JobTaskNewClusterAutoscalePtrOutput) + return &v.PipelineId + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterPtrOutput) AwsAttributes() JobTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(JobTaskNewClusterAwsAttributesPtrOutput) +type JobTaskForEachTaskTaskPythonWheelTask struct { + // Python function as entry point for the task + EntryPoint *string `pulumi:"entryPoint"` + // Named parameters for the task + NamedParameters map[string]string `pulumi:"namedParameters"` + // Name of Python package + PackageName *string `pulumi:"packageName"` + // Parameters for the task + Parameters []string `pulumi:"parameters"` } -func (o JobTaskNewClusterPtrOutput) AzureAttributes() JobTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(JobTaskNewClusterAzureAttributesPtrOutput) +// JobTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts JobTaskForEachTaskTaskPythonWheelTaskArgs and JobTaskForEachTaskTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskPythonWheelTaskInput` via: +// +// JobTaskForEachTaskTaskPythonWheelTaskArgs{...} +type JobTaskForEachTaskTaskPythonWheelTaskInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskPythonWheelTaskOutput() JobTaskForEachTaskTaskPythonWheelTaskOutput + ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskPythonWheelTaskOutput } -func (o JobTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskPythonWheelTaskArgs struct { + // Python function as entry point for the task + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + // Named parameters for the task + NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` + // Name of Python package + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + // Parameters for the task + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (o JobTaskNewClusterPtrOutput) ClusterLogConf() JobTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(JobTaskNewClusterClusterLogConfPtrOutput) +func (JobTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o JobTaskNewClusterPtrOutput) ClusterMountInfos() JobTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(JobTaskNewClusterClusterMountInfoArrayOutput) +func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskOutput() JobTaskForEachTaskTaskPythonWheelTaskOutput { + return i.ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) } -func (o JobTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPythonWheelTaskOutput) } -func (o JobTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +} + +func (i JobTaskForEachTaskTaskPythonWheelTaskArgs) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPythonWheelTaskOutput).ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) +} + +// JobTaskForEachTaskTaskPythonWheelTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskPythonWheelTaskArgs, JobTaskForEachTaskTaskPythonWheelTaskPtr and JobTaskForEachTaskTaskPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskPythonWheelTaskPtrInput` via: +// +// JobTaskForEachTaskTaskPythonWheelTaskArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskPythonWheelTaskPtrInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput +} + +type jobTaskForEachTaskTaskPythonWheelTaskPtrType JobTaskForEachTaskTaskPythonWheelTaskArgs + +func JobTaskForEachTaskTaskPythonWheelTaskPtr(v *JobTaskForEachTaskTaskPythonWheelTaskArgs) JobTaskForEachTaskTaskPythonWheelTaskPtrInput { + return (*jobTaskForEachTaskTaskPythonWheelTaskPtrType)(v) } -func (o JobTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (*jobTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o JobTaskNewClusterPtrOutput) DockerImage() JobTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(JobTaskNewClusterDockerImagePtrOutput) +func (i *jobTaskForEachTaskTaskPythonWheelTaskPtrType) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (i *jobTaskForEachTaskTaskPythonWheelTaskPtrType) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o JobTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o JobTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *bool { - if v == nil { - return nil - } - return v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskOutput() JobTaskForEachTaskTaskPythonWheelTaskOutput { + return o } -func (o JobTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *bool { - if v == nil { - return nil - } - return v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskOutput { + return o } -func (o JobTaskNewClusterPtrOutput) GcpAttributes() JobTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(JobTaskNewClusterGcpAttributesPtrOutput) +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskPythonWheelTask) *JobTaskForEachTaskTaskPythonWheelTask { + return &v + }).(JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o JobTaskNewClusterPtrOutput) InitScripts() JobTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(JobTaskNewClusterInitScriptArrayOutput) +// Python function as entry point for the task +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +// Named parameters for the task +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) } -// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. -func (o JobTaskNewClusterPtrOutput) Libraries() JobTaskNewClusterLibraryArrayOutput { - return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(JobTaskNewClusterLibraryArrayOutput) +// Name of Python package +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.NodeTypeId - }).(pulumi.StringPtrOutput) +// Parameters for the task +func (o JobTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o JobTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) +type JobTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o JobTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutput() JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o } -func (o JobTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToJobTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o } -func (o JobTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { - if v == nil { - return nil +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() JobTaskForEachTaskTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) JobTaskForEachTaskTaskPythonWheelTask { + if v != nil { + return *v } - return v.SingleUserName - }).(pulumi.StringPtrOutput) + var ret JobTaskForEachTaskTaskPythonWheelTask + return ret + }).(JobTaskForEachTaskTaskPythonWheelTaskOutput) } -func (o JobTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskNewCluster) map[string]string { +// Python function as entry point for the task +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) *string { if v == nil { return nil } - return v.SparkConf - }).(pulumi.StringMapOutput) + return v.EntryPoint + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskNewCluster) map[string]string { +// Named parameters for the task +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) map[string]string { if v == nil { return nil } - return v.SparkEnvVars + return v.NamedParameters }).(pulumi.StringMapOutput) } -func (o JobTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *string { +// Name of Python package +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) *string { if v == nil { return nil } - return &v.SparkVersion + return v.PackageName }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskNewCluster) []string { +// Parameters for the task +func (o JobTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskPythonWheelTask) []string { if v == nil { return nil } - return v.SshPublicKeys + return v.Parameters }).(pulumi.StringArrayOutput) } -// isn't supported -func (o JobTaskNewClusterPtrOutput) WorkloadType() JobTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterWorkloadType { - if v == nil { - return nil - } - return v.WorkloadType - }).(JobTaskNewClusterWorkloadTypePtrOutput) -} - -type JobTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type JobTaskForEachTaskTaskRunJobTask struct { + DbtCommands []string `pulumi:"dbtCommands"` + JarParams []string `pulumi:"jarParams"` + // (String) ID of the job + JobId int `pulumi:"jobId"` + // (Map) Job parameters for the task + JobParameters map[string]string `pulumi:"jobParameters"` + NotebookParams map[string]string `pulumi:"notebookParams"` + PipelineParams *JobTaskForEachTaskTaskRunJobTaskPipelineParams `pulumi:"pipelineParams"` + PythonNamedParams map[string]string `pulumi:"pythonNamedParams"` + PythonParams []string `pulumi:"pythonParams"` + SparkSubmitParams []string `pulumi:"sparkSubmitParams"` + SqlParams map[string]string `pulumi:"sqlParams"` } -// JobTaskNewClusterAutoscaleInput is an input type that accepts JobTaskNewClusterAutoscaleArgs and JobTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAutoscaleInput` via: +// JobTaskForEachTaskTaskRunJobTaskInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskArgs and JobTaskForEachTaskTaskRunJobTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskInput` via: // -// JobTaskNewClusterAutoscaleArgs{...} -type JobTaskNewClusterAutoscaleInput interface { +// JobTaskForEachTaskTaskRunJobTaskArgs{...} +type JobTaskForEachTaskTaskRunJobTaskInput interface { pulumi.Input - ToJobTaskNewClusterAutoscaleOutput() JobTaskNewClusterAutoscaleOutput - ToJobTaskNewClusterAutoscaleOutputWithContext(context.Context) JobTaskNewClusterAutoscaleOutput + ToJobTaskForEachTaskTaskRunJobTaskOutput() JobTaskForEachTaskTaskRunJobTaskOutput + ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskOutput } -type JobTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type JobTaskForEachTaskTaskRunJobTaskArgs struct { + DbtCommands pulumi.StringArrayInput `pulumi:"dbtCommands"` + JarParams pulumi.StringArrayInput `pulumi:"jarParams"` + // (String) ID of the job + JobId pulumi.IntInput `pulumi:"jobId"` + // (Map) Job parameters for the task + JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` + NotebookParams pulumi.StringMapInput `pulumi:"notebookParams"` + PipelineParams JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput `pulumi:"pipelineParams"` + PythonNamedParams pulumi.StringMapInput `pulumi:"pythonNamedParams"` + PythonParams pulumi.StringArrayInput `pulumi:"pythonParams"` + SparkSubmitParams pulumi.StringArrayInput `pulumi:"sparkSubmitParams"` + SqlParams pulumi.StringMapInput `pulumi:"sqlParams"` } -func (JobTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAutoscale)(nil)).Elem() +func (JobTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscaleOutput() JobTaskNewClusterAutoscaleOutput { - return i.ToJobTaskNewClusterAutoscaleOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskOutput() JobTaskForEachTaskTaskRunJobTaskOutput { + return i.ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAutoscaleOutput) +func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskOutput) } -func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { - return i.ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAutoscaleOutput).ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskRunJobTaskArgs) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskOutput).ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) } -// JobTaskNewClusterAutoscalePtrInput is an input type that accepts JobTaskNewClusterAutoscaleArgs, JobTaskNewClusterAutoscalePtr and JobTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAutoscalePtrInput` via: +// JobTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskArgs, JobTaskForEachTaskTaskRunJobTaskPtr and JobTaskForEachTaskTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskPtrInput` via: // -// JobTaskNewClusterAutoscaleArgs{...} +// JobTaskForEachTaskTaskRunJobTaskArgs{...} // // or: // // nil -type JobTaskNewClusterAutoscalePtrInput interface { +type JobTaskForEachTaskTaskRunJobTaskPtrInput interface { pulumi.Input - ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput - ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Context) JobTaskNewClusterAutoscalePtrOutput + ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput + ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput } -type jobTaskNewClusterAutoscalePtrType JobTaskNewClusterAutoscaleArgs +type jobTaskForEachTaskTaskRunJobTaskPtrType JobTaskForEachTaskTaskRunJobTaskArgs -func JobTaskNewClusterAutoscalePtr(v *JobTaskNewClusterAutoscaleArgs) JobTaskNewClusterAutoscalePtrInput { - return (*jobTaskNewClusterAutoscalePtrType)(v) +func JobTaskForEachTaskTaskRunJobTaskPtr(v *JobTaskForEachTaskTaskRunJobTaskArgs) JobTaskForEachTaskTaskRunJobTaskPtrInput { + return (*jobTaskForEachTaskTaskRunJobTaskPtrType)(v) } -func (*jobTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAutoscale)(nil)).Elem() +func (*jobTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (i *jobTaskNewClusterAutoscalePtrType) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { - return i.ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskRunJobTaskPtrType) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterAutoscalePtrType) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAutoscalePtrOutput) +func (i *jobTaskForEachTaskTaskRunJobTaskPtrType) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) } -type JobTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAutoscale)(nil)).Elem() +func (JobTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscaleOutput() JobTaskNewClusterAutoscaleOutput { +func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskOutput() JobTaskForEachTaskTaskRunJobTaskOutput { return o } -func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscaleOutput { +func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskOutput { return o } -func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { - return o.ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAutoscale) *JobTaskNewClusterAutoscale { +func (o JobTaskForEachTaskTaskRunJobTaskOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskRunJobTask) *JobTaskForEachTaskTaskRunJobTask { return &v - }).(JobTaskNewClusterAutoscalePtrOutput) + }).(JobTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o JobTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskRunJobTaskOutput) DbtCommands() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.DbtCommands }).(pulumi.StringArrayOutput) } -func (o JobTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskRunJobTaskOutput) JarParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.JarParams }).(pulumi.StringArrayOutput) } -type JobTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +// (String) ID of the job +func (o JobTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +} -func (JobTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAutoscale)(nil)).Elem() +// (Map) Job parameters for the task +func (o JobTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) } -func (o JobTaskNewClusterAutoscalePtrOutput) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { +func (o JobTaskForEachTaskTaskRunJobTaskOutput) NotebookParams() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.NotebookParams }).(pulumi.StringMapOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskOutput) PipelineParams() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) *JobTaskForEachTaskTaskRunJobTaskPipelineParams { + return v.PipelineParams + }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskOutput) PythonNamedParams() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.PythonNamedParams }).(pulumi.StringMapOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskOutput) PythonParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.PythonParams }).(pulumi.StringArrayOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskOutput) SparkSubmitParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) []string { return v.SparkSubmitParams }).(pulumi.StringArrayOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskOutput) SqlParams() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTask) map[string]string { return v.SqlParams }).(pulumi.StringMapOutput) +} + +type JobTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTask)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutput() JobTaskForEachTaskTaskRunJobTaskPtrOutput { return o } -func (o JobTaskNewClusterAutoscalePtrOutput) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPtrOutput { return o } -func (o JobTaskNewClusterAutoscalePtrOutput) Elem() JobTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *JobTaskNewClusterAutoscale) JobTaskNewClusterAutoscale { +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() JobTaskForEachTaskTaskRunJobTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) JobTaskForEachTaskTaskRunJobTask { if v != nil { return *v } - var ret JobTaskNewClusterAutoscale + var ret JobTaskForEachTaskTaskRunJobTask return ret - }).(JobTaskNewClusterAutoscaleOutput) + }).(JobTaskForEachTaskTaskRunJobTaskOutput) } -func (o JobTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAutoscale) *int { +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) DbtCommands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.DbtCommands + }).(pulumi.StringArrayOutput) } -func (o JobTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAutoscale) *int { +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) JarParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { if v == nil { return nil } - return v.MinWorkers + return v.JarParams + }).(pulumi.StringArrayOutput) +} + +// (String) ID of the job +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) *int { + if v == nil { + return nil + } + return &v.JobId }).(pulumi.IntPtrOutput) } -type JobTaskNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +// (Map) Job parameters for the task +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.JobParameters + }).(pulumi.StringMapOutput) } -// JobTaskNewClusterAwsAttributesInput is an input type that accepts JobTaskNewClusterAwsAttributesArgs and JobTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAwsAttributesInput` via: +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) NotebookParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.NotebookParams + }).(pulumi.StringMapOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) PipelineParams() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) *JobTaskForEachTaskTaskRunJobTaskPipelineParams { + if v == nil { + return nil + } + return v.PipelineParams + }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) PythonNamedParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.PythonNamedParams + }).(pulumi.StringMapOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) PythonParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { + if v == nil { + return nil + } + return v.PythonParams + }).(pulumi.StringArrayOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) SparkSubmitParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) []string { + if v == nil { + return nil + } + return v.SparkSubmitParams + }).(pulumi.StringArrayOutput) +} + +func (o JobTaskForEachTaskTaskRunJobTaskPtrOutput) SqlParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.SqlParams + }).(pulumi.StringMapOutput) +} + +type JobTaskForEachTaskTaskRunJobTaskPipelineParams struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh *bool `pulumi:"fullRefresh"` +} + +// JobTaskForEachTaskTaskRunJobTaskPipelineParamsInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs and JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskPipelineParamsInput` via: // -// JobTaskNewClusterAwsAttributesArgs{...} -type JobTaskNewClusterAwsAttributesInput interface { +// JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs{...} +type JobTaskForEachTaskTaskRunJobTaskPipelineParamsInput interface { pulumi.Input - ToJobTaskNewClusterAwsAttributesOutput() JobTaskNewClusterAwsAttributesOutput - ToJobTaskNewClusterAwsAttributesOutputWithContext(context.Context) JobTaskNewClusterAwsAttributesOutput + ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput + ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput } -type JobTaskNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` } -func (JobTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAwsAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesOutput() JobTaskNewClusterAwsAttributesOutput { - return i.ToJobTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { + return i.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAwsAttributesOutput) +func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) } -func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { - return i.ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return i.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAwsAttributesOutput).ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput).ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx) } -// JobTaskNewClusterAwsAttributesPtrInput is an input type that accepts JobTaskNewClusterAwsAttributesArgs, JobTaskNewClusterAwsAttributesPtr and JobTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAwsAttributesPtrInput` via: +// JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput is an input type that accepts JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs, JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtr and JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput` via: // -// JobTaskNewClusterAwsAttributesArgs{...} +// JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs{...} // // or: // // nil -type JobTaskNewClusterAwsAttributesPtrInput interface { +type JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput interface { pulumi.Input - ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput - ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobTaskNewClusterAwsAttributesPtrOutput + ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput + ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput } -type jobTaskNewClusterAwsAttributesPtrType JobTaskNewClusterAwsAttributesArgs +type jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs -func JobTaskNewClusterAwsAttributesPtr(v *JobTaskNewClusterAwsAttributesArgs) JobTaskNewClusterAwsAttributesPtrInput { - return (*jobTaskNewClusterAwsAttributesPtrType)(v) +func JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtr(v *JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrInput { + return (*jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType)(v) } -func (*jobTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAwsAttributes)(nil)).Elem() +func (*jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (i *jobTaskNewClusterAwsAttributesPtrType) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { - return i.ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return i.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterAwsAttributesPtrType) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAwsAttributesPtrOutput) +func (i *jobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrType) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) } -type JobTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAwsAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesOutput() JobTaskNewClusterAwsAttributesOutput { +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { return o } -func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesOutput { +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { return o } -func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { - return o.ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return o.ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAwsAttributes) *JobTaskNewClusterAwsAttributes { +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskRunJobTaskPipelineParams) *JobTaskForEachTaskTaskRunJobTaskPipelineParams { return &v - }).(JobTaskNewClusterAwsAttributesPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) + }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) } -func (o JobTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskRunJobTaskPipelineParams) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -type JobTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAwsAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (o JobTaskNewClusterAwsAttributesPtrOutput) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput() JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { return o } -func (o JobTaskNewClusterAwsAttributesPtrOutput) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput { return o } -func (o JobTaskNewClusterAwsAttributesPtrOutput) Elem() JobTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) JobTaskNewClusterAwsAttributes { +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) Elem() JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTaskPipelineParams) JobTaskForEachTaskTaskRunJobTaskPipelineParams { if v != nil { return *v } - var ret JobTaskNewClusterAwsAttributes + var ret JobTaskForEachTaskTaskRunJobTaskPipelineParams return ret - }).(JobTaskNewClusterAwsAttributesOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + }).(JobTaskForEachTaskTaskRunJobTaskPipelineParamsOutput) } -func (o JobTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskForEachTaskTaskRunJobTaskPipelineParamsPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskRunJobTaskPipelineParams) *bool { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -type JobTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *JobTaskNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type JobTaskForEachTaskTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + MainClassName *string `pulumi:"mainClassName"` + // (List) Parameters passed to the main method. + Parameters []string `pulumi:"parameters"` } -// JobTaskNewClusterAzureAttributesInput is an input type that accepts JobTaskNewClusterAzureAttributesArgs and JobTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesInput` via: +// JobTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts JobTaskForEachTaskTaskSparkJarTaskArgs and JobTaskForEachTaskTaskSparkJarTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkJarTaskInput` via: // -// JobTaskNewClusterAzureAttributesArgs{...} -type JobTaskNewClusterAzureAttributesInput interface { +// JobTaskForEachTaskTaskSparkJarTaskArgs{...} +type JobTaskForEachTaskTaskSparkJarTaskInput interface { pulumi.Input - ToJobTaskNewClusterAzureAttributesOutput() JobTaskNewClusterAzureAttributesOutput - ToJobTaskNewClusterAzureAttributesOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesOutput + ToJobTaskForEachTaskTaskSparkJarTaskOutput() JobTaskForEachTaskTaskSparkJarTaskOutput + ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkJarTaskOutput } -type JobTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type JobTaskForEachTaskTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + // (List) Parameters passed to the main method. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (JobTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAzureAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesOutput() JobTaskNewClusterAzureAttributesOutput { - return i.ToJobTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskOutput() JobTaskForEachTaskTaskSparkJarTaskOutput { + return i.ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesOutput) +func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkJarTaskOutput) } -func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { - return i.ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesOutput).ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSparkJarTaskArgs) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkJarTaskOutput).ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) } -// JobTaskNewClusterAzureAttributesPtrInput is an input type that accepts JobTaskNewClusterAzureAttributesArgs, JobTaskNewClusterAzureAttributesPtr and JobTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesPtrInput` via: +// JobTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSparkJarTaskArgs, JobTaskForEachTaskTaskSparkJarTaskPtr and JobTaskForEachTaskTaskSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkJarTaskPtrInput` via: // -// JobTaskNewClusterAzureAttributesArgs{...} +// JobTaskForEachTaskTaskSparkJarTaskArgs{...} // // or: // // nil -type JobTaskNewClusterAzureAttributesPtrInput interface { +type JobTaskForEachTaskTaskSparkJarTaskPtrInput interface { pulumi.Input - ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput - ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesPtrOutput + ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput + ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput } -type jobTaskNewClusterAzureAttributesPtrType JobTaskNewClusterAzureAttributesArgs +type jobTaskForEachTaskTaskSparkJarTaskPtrType JobTaskForEachTaskTaskSparkJarTaskArgs -func JobTaskNewClusterAzureAttributesPtr(v *JobTaskNewClusterAzureAttributesArgs) JobTaskNewClusterAzureAttributesPtrInput { - return (*jobTaskNewClusterAzureAttributesPtrType)(v) +func JobTaskForEachTaskTaskSparkJarTaskPtr(v *JobTaskForEachTaskTaskSparkJarTaskArgs) JobTaskForEachTaskTaskSparkJarTaskPtrInput { + return (*jobTaskForEachTaskTaskSparkJarTaskPtrType)(v) } -func (*jobTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAzureAttributes)(nil)).Elem() +func (*jobTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (i *jobTaskNewClusterAzureAttributesPtrType) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { - return i.ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSparkJarTaskPtrType) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterAzureAttributesPtrType) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesPtrOutput) +func (i *jobTaskForEachTaskTaskSparkJarTaskPtrType) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) } -type JobTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAzureAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesOutput() JobTaskNewClusterAzureAttributesOutput { +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskOutput() JobTaskForEachTaskTaskSparkJarTaskOutput { return o } -func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesOutput { +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskOutput { return o } -func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { - return o.ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAzureAttributes) *JobTaskNewClusterAzureAttributes { +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSparkJarTask) *JobTaskForEachTaskTaskSparkJarTask { return &v - }).(JobTaskNewClusterAzureAttributesPtrOutput) -} - -func (o JobTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) + }).(JobTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o JobTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *JobTaskNewClusterAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// (List) Parameters passed to the main method. +func (o JobTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type JobTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAzureAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (o JobTaskNewClusterAzureAttributesPtrOutput) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { +func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutput() JobTaskForEachTaskTaskSparkJarTaskPtrOutput { return o } -func (o JobTaskNewClusterAzureAttributesPtrOutput) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { +func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) ToJobTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkJarTaskPtrOutput { return o } -func (o JobTaskNewClusterAzureAttributesPtrOutput) Elem() JobTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) JobTaskNewClusterAzureAttributes { +func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() JobTaskForEachTaskTaskSparkJarTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) JobTaskForEachTaskTaskSparkJarTask { if v != nil { return *v } - var ret JobTaskNewClusterAzureAttributes + var ret JobTaskForEachTaskTaskSparkJarTask return ret - }).(JobTaskNewClusterAzureAttributesOutput) + }).(JobTaskForEachTaskTaskSparkJarTaskOutput) } -func (o JobTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *string { +func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) *string { if v == nil { return nil } - return v.Availability + return v.JarUri }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o JobTaskNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *JobTaskNewClusterAzureAttributesLogAnalyticsInfo { +// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. +func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) *string { if v == nil { return nil } - return v.LogAnalyticsInfo - }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) + return v.MainClassName + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *float64 { +// (List) Parameters passed to the main method. +func (o JobTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkJarTask) []string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type JobTaskNewClusterAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +type JobTaskForEachTaskTaskSparkPythonTask struct { + // (List) Command line parameters passed to the Python file. + Parameters []string `pulumi:"parameters"` + // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + PythonFile string `pulumi:"pythonFile"` + // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. + Source *string `pulumi:"source"` } -// JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs and JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput` via: +// JobTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts JobTaskForEachTaskTaskSparkPythonTaskArgs and JobTaskForEachTaskTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkPythonTaskInput` via: // -// JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} -type JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput interface { +// JobTaskForEachTaskTaskSparkPythonTaskArgs{...} +type JobTaskForEachTaskTaskSparkPythonTaskInput interface { pulumi.Input - ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput - ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput + ToJobTaskForEachTaskTaskSparkPythonTaskOutput() JobTaskForEachTaskTaskSparkPythonTaskOutput + ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkPythonTaskOutput } -type JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type JobTaskForEachTaskTaskSparkPythonTaskArgs struct { + // (List) Command line parameters passed to the Python file. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. + Source pulumi.StringPtrInput `pulumi:"source"` } -func (JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return i.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskOutput() JobTaskForEachTaskTaskSparkPythonTaskOutput { + return i.ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) +func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkPythonTaskOutput) } -func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSparkPythonTaskArgs) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkPythonTaskOutput).ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) } -// JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs, JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtr and JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: +// JobTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSparkPythonTaskArgs, JobTaskForEachTaskTaskSparkPythonTaskPtr and JobTaskForEachTaskTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkPythonTaskPtrInput` via: // -// JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +// JobTaskForEachTaskTaskSparkPythonTaskArgs{...} // // or: // // nil -type JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { +type JobTaskForEachTaskTaskSparkPythonTaskPtrInput interface { pulumi.Input - ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput - ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput } -type jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs +type jobTaskForEachTaskTaskSparkPythonTaskPtrType JobTaskForEachTaskTaskSparkPythonTaskArgs -func JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput { - return (*jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) +func JobTaskForEachTaskTaskSparkPythonTaskPtr(v *JobTaskForEachTaskTaskSparkPythonTaskArgs) JobTaskForEachTaskTaskSparkPythonTaskPtrInput { + return (*jobTaskForEachTaskTaskSparkPythonTaskPtrType)(v) } -func (*jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*jobTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (i *jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSparkPythonTaskPtrType) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *jobTaskForEachTaskTaskSparkPythonTaskPtrType) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -type JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskOutput() JobTaskForEachTaskTaskSparkPythonTaskOutput { return o } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskOutput { return o } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *JobTaskNewClusterAzureAttributesLogAnalyticsInfo { +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSparkPythonTask) *JobTaskForEachTaskTaskSparkPythonTask { return &v - }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) + }).(JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) +// (List) Command line parameters passed to the Python file. +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +} + +// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. +func (o JobTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutput() JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { return o } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToJobTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkPythonTaskPtrOutput { return o } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfo) JobTaskNewClusterAzureAttributesLogAnalyticsInfo { +func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() JobTaskForEachTaskTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) JobTaskForEachTaskTaskSparkPythonTask { if v != nil { return *v } - var ret JobTaskNewClusterAzureAttributesLogAnalyticsInfo + var ret JobTaskForEachTaskTaskSparkPythonTask return ret - }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) + }).(JobTaskForEachTaskTaskSparkPythonTaskOutput) } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { +// (List) Command line parameters passed to the Python file. +func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) []string { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return &v.PythonFile }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { +// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. +func (o JobTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkPythonTask) *string { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId + return v.Source }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterClusterLogConf struct { - Dbfs *JobTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *JobTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +type JobTaskForEachTaskTaskSparkSubmitTask struct { + // (List) Command-line parameters passed to spark submit. + Parameters []string `pulumi:"parameters"` } -// JobTaskNewClusterClusterLogConfInput is an input type that accepts JobTaskNewClusterClusterLogConfArgs and JobTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfInput` via: +// JobTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts JobTaskForEachTaskTaskSparkSubmitTaskArgs and JobTaskForEachTaskTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkSubmitTaskInput` via: // -// JobTaskNewClusterClusterLogConfArgs{...} -type JobTaskNewClusterClusterLogConfInput interface { +// JobTaskForEachTaskTaskSparkSubmitTaskArgs{...} +type JobTaskForEachTaskTaskSparkSubmitTaskInput interface { pulumi.Input - ToJobTaskNewClusterClusterLogConfOutput() JobTaskNewClusterClusterLogConfOutput - ToJobTaskNewClusterClusterLogConfOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfOutput + ToJobTaskForEachTaskTaskSparkSubmitTaskOutput() JobTaskForEachTaskTaskSparkSubmitTaskOutput + ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkSubmitTaskOutput } -type JobTaskNewClusterClusterLogConfArgs struct { - Dbfs JobTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 JobTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type JobTaskForEachTaskTaskSparkSubmitTaskArgs struct { + // (List) Command-line parameters passed to spark submit. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (JobTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterLogConf)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfOutput() JobTaskNewClusterClusterLogConfOutput { - return i.ToJobTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskOutput() JobTaskForEachTaskTaskSparkSubmitTaskOutput { + return i.ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfOutput) +func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkSubmitTaskOutput) } -func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { - return i.ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfOutput).ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSparkSubmitTaskArgs) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkSubmitTaskOutput).ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) } -// JobTaskNewClusterClusterLogConfPtrInput is an input type that accepts JobTaskNewClusterClusterLogConfArgs, JobTaskNewClusterClusterLogConfPtr and JobTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfPtrInput` via: +// JobTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSparkSubmitTaskArgs, JobTaskForEachTaskTaskSparkSubmitTaskPtr and JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: // -// JobTaskNewClusterClusterLogConfArgs{...} +// JobTaskForEachTaskTaskSparkSubmitTaskArgs{...} // // or: // // nil -type JobTaskNewClusterClusterLogConfPtrInput interface { +type JobTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { pulumi.Input - ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput - ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfPtrOutput + ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput } -type jobTaskNewClusterClusterLogConfPtrType JobTaskNewClusterClusterLogConfArgs +type jobTaskForEachTaskTaskSparkSubmitTaskPtrType JobTaskForEachTaskTaskSparkSubmitTaskArgs -func JobTaskNewClusterClusterLogConfPtr(v *JobTaskNewClusterClusterLogConfArgs) JobTaskNewClusterClusterLogConfPtrInput { - return (*jobTaskNewClusterClusterLogConfPtrType)(v) +func JobTaskForEachTaskTaskSparkSubmitTaskPtr(v *JobTaskForEachTaskTaskSparkSubmitTaskArgs) JobTaskForEachTaskTaskSparkSubmitTaskPtrInput { + return (*jobTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) } -func (*jobTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterClusterLogConf)(nil)).Elem() +func (*jobTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (i *jobTaskNewClusterClusterLogConfPtrType) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { - return i.ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSparkSubmitTaskPtrType) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterClusterLogConfPtrType) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfPtrOutput) +func (i *jobTaskForEachTaskTaskSparkSubmitTaskPtrType) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -type JobTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterLogConf)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfOutput() JobTaskNewClusterClusterLogConfOutput { +func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskOutput() JobTaskForEachTaskTaskSparkSubmitTaskOutput { return o } -func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfOutput { +func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskOutput { return o } -func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { - return o.ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConf { +func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSparkSubmitTask) *JobTaskForEachTaskTaskSparkSubmitTask { return &v - }).(JobTaskNewClusterClusterLogConfPtrOutput) -} - -func (o JobTaskNewClusterClusterLogConfOutput) Dbfs() JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfDbfs { return v.Dbfs }).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o JobTaskNewClusterClusterLogConfOutput) S3() JobTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfS3 { return v.S3 }).(JobTaskNewClusterClusterLogConfS3PtrOutput) +// (List) Command-line parameters passed to spark submit. +func (o JobTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type JobTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterClusterLogConf)(nil)).Elem() +func (JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (o JobTaskNewClusterClusterLogConfPtrOutput) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { +func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutput() JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { return o } -func (o JobTaskNewClusterClusterLogConfPtrOutput) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { +func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToJobTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput { return o } -func (o JobTaskNewClusterClusterLogConfPtrOutput) Elem() JobTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConf) JobTaskNewClusterClusterLogConf { +func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Elem() JobTaskForEachTaskTaskSparkSubmitTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkSubmitTask) JobTaskForEachTaskTaskSparkSubmitTask { if v != nil { return *v } - var ret JobTaskNewClusterClusterLogConf + var ret JobTaskForEachTaskTaskSparkSubmitTask return ret - }).(JobTaskNewClusterClusterLogConfOutput) -} - -func (o JobTaskNewClusterClusterLogConfPtrOutput) Dbfs() JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(JobTaskForEachTaskTaskSparkSubmitTaskOutput) } -func (o JobTaskNewClusterClusterLogConfPtrOutput) S3() JobTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfS3 { +// (List) Command-line parameters passed to spark submit. +func (o JobTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSparkSubmitTask) []string { if v == nil { return nil } - return v.S3 - }).(JobTaskNewClusterClusterLogConfS3PtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type JobTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type JobTaskForEachTaskTaskSqlTask struct { + // block consisting of following fields: + Alert *JobTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` + // block consisting of following fields: + Dashboard *JobTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` + // block consisting of single string fields: + File *JobTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` + // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + Parameters map[string]string `pulumi:"parameters"` + // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). + Query *JobTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + WarehouseId string `pulumi:"warehouseId"` } -// JobTaskNewClusterClusterLogConfDbfsInput is an input type that accepts JobTaskNewClusterClusterLogConfDbfsArgs and JobTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfDbfsInput` via: +// JobTaskForEachTaskTaskSqlTaskInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskArgs and JobTaskForEachTaskTaskSqlTaskOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskInput` via: // -// JobTaskNewClusterClusterLogConfDbfsArgs{...} -type JobTaskNewClusterClusterLogConfDbfsInput interface { +// JobTaskForEachTaskTaskSqlTaskArgs{...} +type JobTaskForEachTaskTaskSqlTaskInput interface { pulumi.Input - ToJobTaskNewClusterClusterLogConfDbfsOutput() JobTaskNewClusterClusterLogConfDbfsOutput - ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfDbfsOutput + ToJobTaskForEachTaskTaskSqlTaskOutput() JobTaskForEachTaskTaskSqlTaskOutput + ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskOutput } -type JobTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type JobTaskForEachTaskTaskSqlTaskArgs struct { + // block consisting of following fields: + Alert JobTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` + // block consisting of following fields: + Dashboard JobTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + // block consisting of single string fields: + File JobTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` + // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + Parameters pulumi.StringMapInput `pulumi:"parameters"` + // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). + Query JobTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + WarehouseId pulumi.StringInput `pulumi:"warehouseId"` } -func (JobTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsOutput() JobTaskNewClusterClusterLogConfDbfsOutput { - return i.ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskOutput() JobTaskForEachTaskTaskSqlTaskOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfDbfsOutput) +func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskOutput) } -func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfDbfsOutput).ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSqlTaskArgs) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskOutput).ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) } -// JobTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobTaskNewClusterClusterLogConfDbfsArgs, JobTaskNewClusterClusterLogConfDbfsPtr and JobTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfDbfsPtrInput` via: +// JobTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskArgs, JobTaskForEachTaskTaskSqlTaskPtr and JobTaskForEachTaskTaskSqlTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskPtrInput` via: // -// JobTaskNewClusterClusterLogConfDbfsArgs{...} +// JobTaskForEachTaskTaskSqlTaskArgs{...} // // or: // // nil -type JobTaskNewClusterClusterLogConfDbfsPtrInput interface { +type JobTaskForEachTaskTaskSqlTaskPtrInput interface { pulumi.Input - ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput - ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput + ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput + ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput } -type jobTaskNewClusterClusterLogConfDbfsPtrType JobTaskNewClusterClusterLogConfDbfsArgs +type jobTaskForEachTaskTaskSqlTaskPtrType JobTaskForEachTaskTaskSqlTaskArgs -func JobTaskNewClusterClusterLogConfDbfsPtr(v *JobTaskNewClusterClusterLogConfDbfsArgs) JobTaskNewClusterClusterLogConfDbfsPtrInput { - return (*jobTaskNewClusterClusterLogConfDbfsPtrType)(v) +func JobTaskForEachTaskTaskSqlTaskPtr(v *JobTaskForEachTaskTaskSqlTaskArgs) JobTaskForEachTaskTaskSqlTaskPtrInput { + return (*jobTaskForEachTaskTaskSqlTaskPtrType)(v) } -func (*jobTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*jobTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (i *jobTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSqlTaskPtrType) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *jobTaskForEachTaskTaskSqlTaskPtrType) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskPtrOutput) } -type JobTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsOutput() JobTaskNewClusterClusterLogConfDbfsOutput { +func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskOutput() JobTaskForEachTaskTaskSqlTaskOutput { return o } -func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsOutput { +func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskOutput { return o } -func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterClusterLogConfDbfs) *JobTaskNewClusterClusterLogConfDbfs { +func (o JobTaskForEachTaskTaskSqlTaskOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTask { return &v - }).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(JobTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o JobTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// block consisting of following fields: +func (o JobTaskForEachTaskTaskSqlTaskOutput) Alert() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskAlert { return v.Alert }).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -type JobTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +// block consisting of following fields: +func (o JobTaskForEachTaskTaskSqlTaskOutput) Dashboard() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskDashboard { return v.Dashboard }).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +} -func (JobTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +// block consisting of single string fields: +func (o JobTaskForEachTaskTaskSqlTaskOutput) File() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskFile { return v.File }).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { +// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. +func (o JobTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +} + +// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). +func (o JobTaskForEachTaskTaskSqlTaskOutput) Query() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskQuery { return v.Query }).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) +} + +// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. +func (o JobTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) +} + +type JobTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTask)(nil)).Elem() +} + +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutput() JobTaskForEachTaskTaskSqlTaskPtrOutput { return o } -func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) ToJobTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskPtrOutput { return o } -func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() JobTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfDbfs) JobTaskNewClusterClusterLogConfDbfs { +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) JobTaskForEachTaskTaskSqlTask { if v != nil { return *v } - var ret JobTaskNewClusterClusterLogConfDbfs + var ret JobTaskForEachTaskTaskSqlTask return ret - }).(JobTaskNewClusterClusterLogConfDbfsOutput) + }).(JobTaskForEachTaskTaskSqlTaskOutput) } -func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfDbfs) *string { +// block consisting of following fields: +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Alert() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskAlert { if v == nil { return nil } - return &v.Destination + return v.Alert + }).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) +} + +// block consisting of following fields: +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskDashboard { + if v == nil { + return nil + } + return v.Dashboard + }).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +} + +// block consisting of single string fields: +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) File() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskFile { + if v == nil { + return nil + } + return v.File + }).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) +} + +// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) map[string]string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringMapOutput) +} + +// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) Query() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *JobTaskForEachTaskTaskSqlTaskQuery { + if v == nil { + return nil + } + return v.Query + }).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) +} + +// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. +func (o JobTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTask) *string { + if v == nil { + return nil + } + return &v.WarehouseId }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type JobTaskForEachTaskTaskSqlTaskAlert struct { + // (String) identifier of the Databricks Alert (databricks_alert). + AlertId string `pulumi:"alertId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions []JobTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` } -// JobTaskNewClusterClusterLogConfS3Input is an input type that accepts JobTaskNewClusterClusterLogConfS3Args and JobTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfS3Input` via: +// JobTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertArgs and JobTaskForEachTaskTaskSqlTaskAlertOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertInput` via: // -// JobTaskNewClusterClusterLogConfS3Args{...} -type JobTaskNewClusterClusterLogConfS3Input interface { +// JobTaskForEachTaskTaskSqlTaskAlertArgs{...} +type JobTaskForEachTaskTaskSqlTaskAlertInput interface { pulumi.Input - ToJobTaskNewClusterClusterLogConfS3Output() JobTaskNewClusterClusterLogConfS3Output - ToJobTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) JobTaskNewClusterClusterLogConfS3Output + ToJobTaskForEachTaskTaskSqlTaskAlertOutput() JobTaskForEachTaskTaskSqlTaskAlertOutput + ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertOutput } -type JobTaskNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobTaskForEachTaskTaskSqlTaskAlertArgs struct { + // (String) identifier of the Databricks Alert (databricks_alert). + AlertId pulumi.StringInput `pulumi:"alertId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` } -func (JobTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3Output() JobTaskNewClusterClusterLogConfS3Output { - return i.ToJobTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertOutput() JobTaskForEachTaskTaskSqlTaskAlertOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfS3Output) +func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertOutput) } -func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfS3Output).ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSqlTaskAlertArgs) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertOutput).ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) } -// JobTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts JobTaskNewClusterClusterLogConfS3Args, JobTaskNewClusterClusterLogConfS3Ptr and JobTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfS3PtrInput` via: +// JobTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertArgs, JobTaskForEachTaskTaskSqlTaskAlertPtr and JobTaskForEachTaskTaskSqlTaskAlertPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertPtrInput` via: // -// JobTaskNewClusterClusterLogConfS3Args{...} +// JobTaskForEachTaskTaskSqlTaskAlertArgs{...} // // or: // // nil -type JobTaskNewClusterClusterLogConfS3PtrInput interface { +type JobTaskForEachTaskTaskSqlTaskAlertPtrInput interface { pulumi.Input - ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput - ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput -} - -type jobTaskNewClusterClusterLogConfS3PtrType JobTaskNewClusterClusterLogConfS3Args - -func JobTaskNewClusterClusterLogConfS3Ptr(v *JobTaskNewClusterClusterLogConfS3Args) JobTaskNewClusterClusterLogConfS3PtrInput { - return (*jobTaskNewClusterClusterLogConfS3PtrType)(v) -} - -func (*jobTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterClusterLogConfS3)(nil)).Elem() -} - -func (i *jobTaskNewClusterClusterLogConfS3PtrType) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) -} - -func (i *jobTaskNewClusterClusterLogConfS3PtrType) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfS3PtrOutput) + ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput + ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput } -type JobTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type jobTaskForEachTaskTaskSqlTaskAlertPtrType JobTaskForEachTaskTaskSqlTaskAlertArgs -func (JobTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterLogConfS3)(nil)).Elem() +func JobTaskForEachTaskTaskSqlTaskAlertPtr(v *JobTaskForEachTaskTaskSqlTaskAlertArgs) JobTaskForEachTaskTaskSqlTaskAlertPtrInput { + return (*jobTaskForEachTaskTaskSqlTaskAlertPtrType)(v) } -func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3Output() JobTaskNewClusterClusterLogConfS3Output { - return o +func (*jobTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3Output { - return o +func (i *jobTaskForEachTaskTaskSqlTaskAlertPtrType) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSqlTaskAlertPtrType) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterClusterLogConfS3) *JobTaskNewClusterClusterLogConfS3 { - return &v - }).(JobTaskNewClusterClusterLogConfS3PtrOutput) +type JobTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o JobTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertOutput() JobTaskForEachTaskTaskSqlTaskAlertOutput { + return o } -func (o JobTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertOutput { + return o } -func (o JobTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskAlert) *JobTaskForEachTaskTaskSqlTaskAlert { + return &v + }).(JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o JobTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// (String) identifier of the Databricks Alert (databricks_alert). +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) } -func (o JobTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +// flag that specifies if subscriptions are paused or not. +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlert) []JobTaskForEachTaskTaskSqlTaskAlertSubscription { + return v.Subscriptions + }).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -type JobTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutput() JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { return o } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToJobTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertPtrOutput { return o } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Elem() JobTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) JobTaskNewClusterClusterLogConfS3 { +func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskAlertOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) JobTaskForEachTaskTaskSqlTaskAlert { if v != nil { return *v } - var ret JobTaskNewClusterClusterLogConfS3 + var ret JobTaskForEachTaskTaskSqlTaskAlert return ret - }).(JobTaskNewClusterClusterLogConfS3Output) + }).(JobTaskForEachTaskTaskSqlTaskAlertOutput) } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { +// (String) identifier of the Databricks Alert (databricks_alert). +func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) *string { if v == nil { return nil } - return v.CannedAcl + return &v.AlertId }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { +// flag that specifies if subscriptions are paused or not. +func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *bool { +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskAlert) []JobTaskForEachTaskTaskSqlTaskAlertSubscription { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.Subscriptions + }).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName *string `pulumi:"userName"` } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +// +// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} +type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -type JobTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) } -// JobTaskNewClusterClusterMountInfoInput is an input type that accepts JobTaskNewClusterClusterMountInfoArgs and JobTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterMountInfoInput` via: +func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +} + +// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: // -// JobTaskNewClusterClusterMountInfoArgs{...} -type JobTaskNewClusterClusterMountInfoInput interface { +// JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } +type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { pulumi.Input - ToJobTaskNewClusterClusterMountInfoOutput() JobTaskNewClusterClusterMountInfoOutput - ToJobTaskNewClusterClusterMountInfoOutputWithContext(context.Context) JobTaskNewClusterClusterMountInfoOutput + ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput } -type JobTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} +type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []JobTaskForEachTaskTaskSqlTaskAlertSubscriptionInput -func (JobTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i JobTaskNewClusterClusterMountInfoArgs) ToJobTaskNewClusterClusterMountInfoOutput() JobTaskNewClusterClusterMountInfoOutput { - return i.ToJobTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterMountInfoArgs) ToJobTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterMountInfoOutput) +func (i JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -// JobTaskNewClusterClusterMountInfoArrayInput is an input type that accepts JobTaskNewClusterClusterMountInfoArray and JobTaskNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterMountInfoArrayInput` via: -// -// JobTaskNewClusterClusterMountInfoArray{ JobTaskNewClusterClusterMountInfoArgs{...} } -type JobTaskNewClusterClusterMountInfoArrayInput interface { - pulumi.Input +type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } - ToJobTaskNewClusterClusterMountInfoArrayOutput() JobTaskNewClusterClusterMountInfoArrayOutput - ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobTaskNewClusterClusterMountInfoArrayOutput +func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -type JobTaskNewClusterClusterMountInfoArray []JobTaskNewClusterClusterMountInfoInput +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return o +} -func (JobTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskNewClusterClusterMountInfo)(nil)).Elem() +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return o } -func (i JobTaskNewClusterClusterMountInfoArray) ToJobTaskNewClusterClusterMountInfoArrayOutput() JobTaskNewClusterClusterMountInfoArrayOutput { - return i.ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) } -func (i JobTaskNewClusterClusterMountInfoArray) ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterMountInfoArrayOutput) +// The email of an active workspace user. Non-admin users can only set this field to their own email. +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o JobTaskNewClusterClusterMountInfoOutput) ToJobTaskNewClusterClusterMountInfoOutput() JobTaskNewClusterClusterMountInfoOutput { +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o JobTaskNewClusterClusterMountInfoOutput) ToJobTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoOutput { +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o JobTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskSqlTaskAlertSubscription { + return vs[0].([]JobTaskForEachTaskTaskSqlTaskAlertSubscription)[vs[1].(int)] + }).(JobTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) } -func (o JobTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterMountInfo) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +type JobTaskForEachTaskTaskSqlTaskDashboard struct { + // string specifying a custom subject of email sent. + CustomSubject *string `pulumi:"customSubject"` + // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + DashboardId string `pulumi:"dashboardId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions []JobTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` } -func (o JobTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +// JobTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardArgs and JobTaskForEachTaskTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardInput` via: +// +// JobTaskForEachTaskTaskSqlTaskDashboardArgs{...} +type JobTaskForEachTaskTaskSqlTaskDashboardInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskSqlTaskDashboardOutput() JobTaskForEachTaskTaskSqlTaskDashboardOutput + ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardOutput } -type JobTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskDashboardArgs struct { + // string specifying a custom subject of email sent. + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +} -func (JobTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskNewClusterClusterMountInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (o JobTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskNewClusterClusterMountInfoArrayOutput() JobTaskNewClusterClusterMountInfoArrayOutput { - return o +func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardOutput() JobTaskForEachTaskTaskSqlTaskDashboardOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) } -func (o JobTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoArrayOutput { - return o +func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardOutput) } -func (o JobTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobTaskNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskNewClusterClusterMountInfo { - return vs[0].([]JobTaskNewClusterClusterMountInfo)[vs[1].(int)] - }).(JobTaskNewClusterClusterMountInfoOutput) +func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (i JobTaskForEachTaskTaskSqlTaskDashboardArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardOutput).ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) } -// JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// JobTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardArgs, JobTaskForEachTaskTaskSqlTaskDashboardPtr and JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: // -// JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { +// JobTaskForEachTaskTaskSqlTaskDashboardArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { pulumi.Input - ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput } -type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +type jobTaskForEachTaskTaskSqlTaskDashboardPtrType JobTaskForEachTaskTaskSqlTaskDashboardArgs + +func JobTaskForEachTaskTaskSqlTaskDashboardPtr(v *JobTaskForEachTaskTaskSqlTaskDashboardArgs) JobTaskForEachTaskTaskSqlTaskDashboardPtrInput { + return (*jobTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) } -func (JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (*jobTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (i JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSqlTaskDashboardPtrType) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *jobTaskForEachTaskTaskSqlTaskDashboardPtrType) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardOutput() JobTaskForEachTaskTaskSqlTaskDashboardOutput { return o } -func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardOutput { return o } -func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskDashboard) *JobTaskForEachTaskTaskSqlTaskDashboard { + return &v + }).(JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -type JobTaskNewClusterDockerImage struct { - BasicAuth *JobTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url string `pulumi:"url"` +// string specifying a custom subject of email sent. +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -// JobTaskNewClusterDockerImageInput is an input type that accepts JobTaskNewClusterDockerImageArgs and JobTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `JobTaskNewClusterDockerImageInput` via: -// -// JobTaskNewClusterDockerImageArgs{...} -type JobTaskNewClusterDockerImageInput interface { - pulumi.Input +// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +} - ToJobTaskNewClusterDockerImageOutput() JobTaskNewClusterDockerImageOutput - ToJobTaskNewClusterDockerImageOutputWithContext(context.Context) JobTaskNewClusterDockerImageOutput +// flag that specifies if subscriptions are paused or not. +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -type JobTaskNewClusterDockerImageArgs struct { - BasicAuth JobTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - // URL of the job on the given workspace - Url pulumi.StringInput `pulumi:"url"` +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboard) []JobTaskForEachTaskTaskSqlTaskDashboardSubscription { + return v.Subscriptions + }).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -func (JobTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterDockerImage)(nil)).Elem() +type JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImageOutput() JobTaskNewClusterDockerImageOutput { - return i.ToJobTaskNewClusterDockerImageOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutput() JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o } -func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o } -func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { - return i.ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) JobTaskForEachTaskTaskSqlTaskDashboard { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskSqlTaskDashboard + return ret + }).(JobTaskForEachTaskTaskSqlTaskDashboardOutput) } -func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageOutput).ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx) +// string specifying a custom subject of email sent. +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) *string { + if v == nil { + return nil + } + return v.CustomSubject + }).(pulumi.StringPtrOutput) } -// JobTaskNewClusterDockerImagePtrInput is an input type that accepts JobTaskNewClusterDockerImageArgs, JobTaskNewClusterDockerImagePtr and JobTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterDockerImagePtrInput` via: -// -// JobTaskNewClusterDockerImageArgs{...} -// -// or: +// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) *string { + if v == nil { + return nil + } + return &v.DashboardId + }).(pulumi.StringPtrOutput) +} + +// flag that specifies if subscriptions are paused or not. +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) *bool { + if v == nil { + return nil + } + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) +} + +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskDashboard) []JobTaskForEachTaskTaskSqlTaskDashboardSubscription { + if v == nil { + return nil + } + return v.Subscriptions + }).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +} + +type JobTaskForEachTaskTaskSqlTaskDashboardSubscription struct { + DestinationId *string `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName *string `pulumi:"userName"` +} + +// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs and JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput` via: // -// nil -type JobTaskNewClusterDockerImagePtrInput interface { +// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} +type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput interface { pulumi.Input - ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput - ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Context) JobTaskNewClusterDockerImagePtrOutput + ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput + ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput } -type jobTaskNewClusterDockerImagePtrType JobTaskNewClusterDockerImageArgs +type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName pulumi.StringPtrInput `pulumi:"userName"` +} -func JobTaskNewClusterDockerImagePtr(v *JobTaskNewClusterDockerImageArgs) JobTaskNewClusterDockerImagePtrInput { - return (*jobTaskNewClusterDockerImagePtrType)(v) +func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (*jobTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterDockerImage)(nil)).Elem() +func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterDockerImagePtrType) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { - return i.ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) } -func (i *jobTaskNewClusterDockerImagePtrType) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImagePtrOutput) +// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray and JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput` via: +// +// JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{ JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} } +type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput + ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput } -type JobTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray []JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput -func (JobTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterDockerImage)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImageOutput() JobTaskNewClusterDockerImageOutput { - return o +func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) } -func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageOutput { - return o +func (i JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { - return o.ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterDockerImage) *JobTaskNewClusterDockerImage { - return &v - }).(JobTaskNewClusterDockerImagePtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return o } -func (o JobTaskNewClusterDockerImageOutput) BasicAuth() JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterDockerImage) *JobTaskNewClusterDockerImageBasicAuth { return v.BasicAuth }).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return o } -// URL of the job on the given workspace -func (o JobTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +} + +// The email of an active workspace user. Non-admin users can only set this field to their own email. +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterDockerImage)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o JobTaskNewClusterDockerImagePtrOutput) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o JobTaskNewClusterDockerImagePtrOutput) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o JobTaskNewClusterDockerImagePtrOutput) Elem() JobTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *JobTaskNewClusterDockerImage) JobTaskNewClusterDockerImage { - if v != nil { - return *v - } - var ret JobTaskNewClusterDockerImage - return ret - }).(JobTaskNewClusterDockerImageOutput) -} - -func (o JobTaskNewClusterDockerImagePtrOutput) BasicAuth() JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterDockerImage) *JobTaskNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -// URL of the job on the given workspace -func (o JobTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterDockerImage) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskSqlTaskDashboardSubscription { + return vs[0].([]JobTaskForEachTaskTaskSqlTaskDashboardSubscription)[vs[1].(int)] + }).(JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) } -type JobTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type JobTaskForEachTaskTaskSqlTaskFile struct { + // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + // + // Example + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ + // Name: pulumi.String("Example SQL Job"), + // Tasks: databricks.JobTaskArray{ + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_agg_query"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Query: &databricks.JobTaskSqlTaskQueryArgs{ + // QueryId: pulumi.Any(aggQuery.Id), + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_dashboard"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ + // DashboardId: pulumi.Any(dash.Id), + // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ + // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_alert"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Alert: &databricks.JobTaskSqlTaskAlertArgs{ + // AlertId: pulumi.Any(alert.Id), + // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ + // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + Path string `pulumi:"path"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. + Source *string `pulumi:"source"` } -// JobTaskNewClusterDockerImageBasicAuthInput is an input type that accepts JobTaskNewClusterDockerImageBasicAuthArgs and JobTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `JobTaskNewClusterDockerImageBasicAuthInput` via: +// JobTaskForEachTaskTaskSqlTaskFileInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskFileArgs and JobTaskForEachTaskTaskSqlTaskFileOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskFileInput` via: // -// JobTaskNewClusterDockerImageBasicAuthArgs{...} -type JobTaskNewClusterDockerImageBasicAuthInput interface { +// JobTaskForEachTaskTaskSqlTaskFileArgs{...} +type JobTaskForEachTaskTaskSqlTaskFileInput interface { pulumi.Input - ToJobTaskNewClusterDockerImageBasicAuthOutput() JobTaskNewClusterDockerImageBasicAuthOutput - ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobTaskNewClusterDockerImageBasicAuthOutput + ToJobTaskForEachTaskTaskSqlTaskFileOutput() JobTaskForEachTaskTaskSqlTaskFileOutput + ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskFileOutput } -type JobTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type JobTaskForEachTaskTaskSqlTaskFileArgs struct { + // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + // + // Example + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ + // Name: pulumi.String("Example SQL Job"), + // Tasks: databricks.JobTaskArray{ + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_agg_query"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Query: &databricks.JobTaskSqlTaskQueryArgs{ + // QueryId: pulumi.Any(aggQuery.Id), + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_dashboard"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ + // DashboardId: pulumi.Any(dash.Id), + // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ + // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_alert"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Alert: &databricks.JobTaskSqlTaskAlertArgs{ + // AlertId: pulumi.Any(alert.Id), + // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ + // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + Path pulumi.StringInput `pulumi:"path"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. + Source pulumi.StringPtrInput `pulumi:"source"` } -func (JobTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthOutput() JobTaskNewClusterDockerImageBasicAuthOutput { - return i.ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFileOutput() JobTaskForEachTaskTaskSqlTaskFileOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Background()) } -func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageBasicAuthOutput) +func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskFileOutput) } -func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageBasicAuthOutput).ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSqlTaskFileArgs) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskFileOutput).ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx) } -// JobTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobTaskNewClusterDockerImageBasicAuthArgs, JobTaskNewClusterDockerImageBasicAuthPtr and JobTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterDockerImageBasicAuthPtrInput` via: +// JobTaskForEachTaskTaskSqlTaskFilePtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskFileArgs, JobTaskForEachTaskTaskSqlTaskFilePtr and JobTaskForEachTaskTaskSqlTaskFilePtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskFilePtrInput` via: // -// JobTaskNewClusterDockerImageBasicAuthArgs{...} +// JobTaskForEachTaskTaskSqlTaskFileArgs{...} // // or: // // nil -type JobTaskNewClusterDockerImageBasicAuthPtrInput interface { +type JobTaskForEachTaskTaskSqlTaskFilePtrInput interface { pulumi.Input - ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput - ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput + ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput + ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput } -type jobTaskNewClusterDockerImageBasicAuthPtrType JobTaskNewClusterDockerImageBasicAuthArgs +type jobTaskForEachTaskTaskSqlTaskFilePtrType JobTaskForEachTaskTaskSqlTaskFileArgs -func JobTaskNewClusterDockerImageBasicAuthPtr(v *JobTaskNewClusterDockerImageBasicAuthArgs) JobTaskNewClusterDockerImageBasicAuthPtrInput { - return (*jobTaskNewClusterDockerImageBasicAuthPtrType)(v) +func JobTaskForEachTaskTaskSqlTaskFilePtr(v *JobTaskForEachTaskTaskSqlTaskFileArgs) JobTaskForEachTaskTaskSqlTaskFilePtrInput { + return (*jobTaskForEachTaskTaskSqlTaskFilePtrType)(v) } -func (*jobTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*jobTaskForEachTaskTaskSqlTaskFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (i *jobTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSqlTaskFilePtrType) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i *jobTaskForEachTaskTaskSqlTaskFilePtrType) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) } -type JobTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskFileOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthOutput() JobTaskNewClusterDockerImageBasicAuthOutput { +func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFileOutput() JobTaskForEachTaskTaskSqlTaskFileOutput { return o } -func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthOutput { +func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFileOutput { return o } -func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterDockerImageBasicAuth) *JobTaskNewClusterDockerImageBasicAuth { +func (o JobTaskForEachTaskTaskSqlTaskFileOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskFile) *JobTaskForEachTaskTaskSqlTaskFile { return &v - }).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) + }).(JobTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o JobTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. +// +// # Example +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ +// Name: pulumi.String("Example SQL Job"), +// Tasks: databricks.JobTaskArray{ +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_agg_query"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Query: &databricks.JobTaskSqlTaskQueryArgs{ +// QueryId: pulumi.Any(aggQuery.Id), +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_dashboard"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ +// DashboardId: pulumi.Any(dash.Id), +// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ +// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_alert"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Alert: &databricks.JobTaskSqlTaskAlertArgs{ +// AlertId: pulumi.Any(alert.Id), +// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ +// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o JobTaskForEachTaskTaskSqlTaskFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) } -func (o JobTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +// The source of the project. Possible values are `WORKSPACE` and `GIT`. +func (o JobTaskForEachTaskTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutput() JobTaskForEachTaskTaskSqlTaskFilePtrOutput { return o } -func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) ToJobTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskFilePtrOutput { return o } -func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() JobTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *JobTaskNewClusterDockerImageBasicAuth) JobTaskNewClusterDockerImageBasicAuth { +func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskFileOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskFile) JobTaskForEachTaskTaskSqlTaskFile { if v != nil { return *v } - var ret JobTaskNewClusterDockerImageBasicAuth + var ret JobTaskForEachTaskTaskSqlTaskFile return ret - }).(JobTaskNewClusterDockerImageBasicAuthOutput) + }).(JobTaskForEachTaskTaskSqlTaskFileOutput) } -func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterDockerImageBasicAuth) *string { +// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. +// +// # Example +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ +// Name: pulumi.String("Example SQL Job"), +// Tasks: databricks.JobTaskArray{ +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_agg_query"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Query: &databricks.JobTaskSqlTaskQueryArgs{ +// QueryId: pulumi.Any(aggQuery.Id), +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_dashboard"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ +// DashboardId: pulumi.Any(dash.Id), +// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ +// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_alert"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Alert: &databricks.JobTaskSqlTaskAlertArgs{ +// AlertId: pulumi.Any(alert.Id), +// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ +// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskFile) *string { if v == nil { return nil } - return &v.Password + return &v.Path }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterDockerImageBasicAuth) *string { +// The source of the project. Possible values are `WORKSPACE` and `GIT`. +func (o JobTaskForEachTaskTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskFile) *string { if v == nil { return nil } - return &v.Username + return v.Source }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type JobTaskForEachTaskTaskSqlTaskQuery struct { + QueryId string `pulumi:"queryId"` } -// JobTaskNewClusterGcpAttributesInput is an input type that accepts JobTaskNewClusterGcpAttributesArgs and JobTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `JobTaskNewClusterGcpAttributesInput` via: +// JobTaskForEachTaskTaskSqlTaskQueryInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskQueryArgs and JobTaskForEachTaskTaskSqlTaskQueryOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskQueryInput` via: // -// JobTaskNewClusterGcpAttributesArgs{...} -type JobTaskNewClusterGcpAttributesInput interface { +// JobTaskForEachTaskTaskSqlTaskQueryArgs{...} +type JobTaskForEachTaskTaskSqlTaskQueryInput interface { pulumi.Input - ToJobTaskNewClusterGcpAttributesOutput() JobTaskNewClusterGcpAttributesOutput - ToJobTaskNewClusterGcpAttributesOutputWithContext(context.Context) JobTaskNewClusterGcpAttributesOutput + ToJobTaskForEachTaskTaskSqlTaskQueryOutput() JobTaskForEachTaskTaskSqlTaskQueryOutput + ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskQueryOutput } -type JobTaskNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type JobTaskForEachTaskTaskSqlTaskQueryArgs struct { + QueryId pulumi.StringInput `pulumi:"queryId"` } -func (JobTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterGcpAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesOutput() JobTaskNewClusterGcpAttributesOutput { - return i.ToJobTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryOutput() JobTaskForEachTaskTaskSqlTaskQueryOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Background()) } -func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterGcpAttributesOutput) +func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskQueryOutput) } -func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { - return i.ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterGcpAttributesOutput).ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskSqlTaskQueryArgs) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskQueryOutput).ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx) } -// JobTaskNewClusterGcpAttributesPtrInput is an input type that accepts JobTaskNewClusterGcpAttributesArgs, JobTaskNewClusterGcpAttributesPtr and JobTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterGcpAttributesPtrInput` via: +// JobTaskForEachTaskTaskSqlTaskQueryPtrInput is an input type that accepts JobTaskForEachTaskTaskSqlTaskQueryArgs, JobTaskForEachTaskTaskSqlTaskQueryPtr and JobTaskForEachTaskTaskSqlTaskQueryPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskSqlTaskQueryPtrInput` via: // -// JobTaskNewClusterGcpAttributesArgs{...} +// JobTaskForEachTaskTaskSqlTaskQueryArgs{...} // // or: // // nil -type JobTaskNewClusterGcpAttributesPtrInput interface { - pulumi.Input - - ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput - ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobTaskNewClusterGcpAttributesPtrOutput -} - -type jobTaskNewClusterGcpAttributesPtrType JobTaskNewClusterGcpAttributesArgs - -func JobTaskNewClusterGcpAttributesPtr(v *JobTaskNewClusterGcpAttributesArgs) JobTaskNewClusterGcpAttributesPtrInput { - return (*jobTaskNewClusterGcpAttributesPtrType)(v) -} - -func (*jobTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterGcpAttributes)(nil)).Elem() -} - -func (i *jobTaskNewClusterGcpAttributesPtrType) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { - return i.ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) -} +type JobTaskForEachTaskTaskSqlTaskQueryPtrInput interface { + pulumi.Input -func (i *jobTaskNewClusterGcpAttributesPtrType) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterGcpAttributesPtrOutput) + ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput + ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput } -type JobTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type jobTaskForEachTaskTaskSqlTaskQueryPtrType JobTaskForEachTaskTaskSqlTaskQueryArgs -func (JobTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterGcpAttributes)(nil)).Elem() +func JobTaskForEachTaskTaskSqlTaskQueryPtr(v *JobTaskForEachTaskTaskSqlTaskQueryArgs) JobTaskForEachTaskTaskSqlTaskQueryPtrInput { + return (*jobTaskForEachTaskTaskSqlTaskQueryPtrType)(v) } -func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesOutput() JobTaskNewClusterGcpAttributesOutput { - return o +func (*jobTaskForEachTaskTaskSqlTaskQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesOutput { - return o +func (i *jobTaskForEachTaskTaskSqlTaskQueryPtrType) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return i.ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { - return o.ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *jobTaskForEachTaskTaskSqlTaskQueryPtrType) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterGcpAttributes) *JobTaskNewClusterGcpAttributes { - return &v - }).(JobTaskNewClusterGcpAttributesPtrOutput) -} +type JobTaskForEachTaskTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } -func (o JobTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (JobTaskForEachTaskTaskSqlTaskQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o JobTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryOutput() JobTaskForEachTaskTaskSqlTaskQueryOutput { + return o } -func (o JobTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryOutput { + return o } -func (o JobTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskSqlTaskQuery) *JobTaskForEachTaskTaskSqlTaskQuery { + return &v + }).(JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o JobTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) } -type JobTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterGcpAttributes)(nil)).Elem() +func (JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o JobTaskNewClusterGcpAttributesPtrOutput) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutput() JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { return o } -func (o JobTaskNewClusterGcpAttributesPtrOutput) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { +func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToJobTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskSqlTaskQueryPtrOutput { return o } -func (o JobTaskNewClusterGcpAttributesPtrOutput) Elem() JobTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) JobTaskNewClusterGcpAttributes { +func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) Elem() JobTaskForEachTaskTaskSqlTaskQueryOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskQuery) JobTaskForEachTaskTaskSqlTaskQuery { if v != nil { return *v } - var ret JobTaskNewClusterGcpAttributes + var ret JobTaskForEachTaskTaskSqlTaskQuery return ret - }).(JobTaskNewClusterGcpAttributesOutput) -} - -func (o JobTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o JobTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) + }).(JobTaskForEachTaskTaskSqlTaskQueryOutput) } -func (o JobTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *string { +func (o JobTaskForEachTaskTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskSqlTaskQuery) *string { if v == nil { return nil } - return v.GoogleServiceAccount + return &v.QueryId }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type JobTaskForEachTaskTaskWebhookNotifications struct { + // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + // + // Example + OnDurationWarningThresholdExceededs []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + OnFailures []JobTaskForEachTaskTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` + // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + OnStarts []JobTaskForEachTaskTaskWebhookNotificationsOnStart `pulumi:"onStarts"` + OnStreamingBacklogExceededs []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` + // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + OnSuccesses []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -func (o JobTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} +// JobTaskForEachTaskTaskWebhookNotificationsInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsArgs and JobTaskForEachTaskTaskWebhookNotificationsOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsInput` via: +// +// JobTaskForEachTaskTaskWebhookNotificationsArgs{...} +type JobTaskForEachTaskTaskWebhookNotificationsInput interface { + pulumi.Input -func (o JobTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) + ToJobTaskForEachTaskTaskWebhookNotificationsOutput() JobTaskForEachTaskTaskWebhookNotificationsOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOutput } -type JobTaskNewClusterInitScript struct { - Abfss *JobTaskNewClusterInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *JobTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` - // block consisting of single string fields: - File *JobTaskNewClusterInitScriptFile `pulumi:"file"` - Gcs *JobTaskNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *JobTaskNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *JobTaskNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *JobTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +type JobTaskForEachTaskTaskWebhookNotificationsArgs struct { + // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + // + // Example + OnDurationWarningThresholdExceededs JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + OnFailures JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + OnStarts JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` + // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + OnSuccesses JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -// JobTaskNewClusterInitScriptInput is an input type that accepts JobTaskNewClusterInitScriptArgs and JobTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptInput` via: -// -// JobTaskNewClusterInitScriptArgs{...} -type JobTaskNewClusterInitScriptInput interface { - pulumi.Input - - ToJobTaskNewClusterInitScriptOutput() JobTaskNewClusterInitScriptOutput - ToJobTaskNewClusterInitScriptOutputWithContext(context.Context) JobTaskNewClusterInitScriptOutput +func (JobTaskForEachTaskTaskWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -type JobTaskNewClusterInitScriptArgs struct { - Abfss JobTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs JobTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - // block consisting of single string fields: - File JobTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs JobTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 JobTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes JobTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace JobTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOutput() JobTaskForEachTaskTaskWebhookNotificationsOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Background()) } -func (JobTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScript)(nil)).Elem() +func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOutput) } -func (i JobTaskNewClusterInitScriptArgs) ToJobTaskNewClusterInitScriptOutput() JobTaskNewClusterInitScriptOutput { - return i.ToJobTaskNewClusterInitScriptOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptArgs) ToJobTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsArgs) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOutput).ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx) } -// JobTaskNewClusterInitScriptArrayInput is an input type that accepts JobTaskNewClusterInitScriptArray and JobTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptArrayInput` via: +// JobTaskForEachTaskTaskWebhookNotificationsPtrInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsArgs, JobTaskForEachTaskTaskWebhookNotificationsPtr and JobTaskForEachTaskTaskWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsPtrInput` via: // -// JobTaskNewClusterInitScriptArray{ JobTaskNewClusterInitScriptArgs{...} } -type JobTaskNewClusterInitScriptArrayInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsArgs{...} +// +// or: +// +// nil +type JobTaskForEachTaskTaskWebhookNotificationsPtrInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptArrayOutput() JobTaskNewClusterInitScriptArrayOutput - ToJobTaskNewClusterInitScriptArrayOutputWithContext(context.Context) JobTaskNewClusterInitScriptArrayOutput + ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput + ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput } -type JobTaskNewClusterInitScriptArray []JobTaskNewClusterInitScriptInput +type jobTaskForEachTaskTaskWebhookNotificationsPtrType JobTaskForEachTaskTaskWebhookNotificationsArgs -func (JobTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskNewClusterInitScript)(nil)).Elem() +func JobTaskForEachTaskTaskWebhookNotificationsPtr(v *JobTaskForEachTaskTaskWebhookNotificationsArgs) JobTaskForEachTaskTaskWebhookNotificationsPtrInput { + return (*jobTaskForEachTaskTaskWebhookNotificationsPtrType)(v) } -func (i JobTaskNewClusterInitScriptArray) ToJobTaskNewClusterInitScriptArrayOutput() JobTaskNewClusterInitScriptArrayOutput { - return i.ToJobTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (*jobTaskForEachTaskTaskWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptArray) ToJobTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptArrayOutput) +func (i *jobTaskForEachTaskTaskWebhookNotificationsPtrType) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -type JobTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } +func (i *jobTaskForEachTaskTaskWebhookNotificationsPtrType) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) +} -func (JobTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScript)(nil)).Elem() +type JobTaskForEachTaskTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptOutput) ToJobTaskNewClusterInitScriptOutput() JobTaskNewClusterInitScriptOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOutput() JobTaskForEachTaskTaskWebhookNotificationsOutput { return o } -func (o JobTaskNewClusterInitScriptOutput) ToJobTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOutput { return o } -func (o JobTaskNewClusterInitScriptOutput) Abfss() JobTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptAbfss { return v.Abfss }).(JobTaskNewClusterInitScriptAbfssPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o JobTaskNewClusterInitScriptOutput) Dbfs() JobTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptDbfs { return v.Dbfs }).(JobTaskNewClusterInitScriptDbfsPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskForEachTaskTaskWebhookNotifications) *JobTaskForEachTaskTaskWebhookNotifications { + return &v + }).(JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -// block consisting of single string fields: -func (o JobTaskNewClusterInitScriptOutput) File() JobTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptFile { return v.File }).(JobTaskNewClusterInitScriptFilePtrOutput) +// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` +// +// Example +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o JobTaskNewClusterInitScriptOutput) Gcs() JobTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptGcs { return v.Gcs }).(JobTaskNewClusterInitScriptGcsPtrOutput) +// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnFailures() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnFailure { + return v.OnFailures + }).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -func (o JobTaskNewClusterInitScriptOutput) S3() JobTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptS3 { return v.S3 }).(JobTaskNewClusterInitScriptS3PtrOutput) +// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnStarts() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStart { + return v.OnStarts + }).(JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -func (o JobTaskNewClusterInitScriptOutput) Volumes() JobTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptVolumes { return v.Volumes }).(JobTaskNewClusterInitScriptVolumesPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { + return v.OnStreamingBacklogExceededs + }).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (o JobTaskNewClusterInitScriptOutput) Workspace() JobTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptWorkspace { return v.Workspace }).(JobTaskNewClusterInitScriptWorkspacePtrOutput) +// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. +func (o JobTaskForEachTaskTaskWebhookNotificationsOutput) OnSuccesses() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -type JobTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskNewClusterInitScript)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptArrayOutput) ToJobTaskNewClusterInitScriptArrayOutput() JobTaskNewClusterInitScriptArrayOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutput() JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { return o } -func (o JobTaskNewClusterInitScriptArrayOutput) ToJobTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptArrayOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToJobTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsPtrOutput { return o } -func (o JobTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobTaskNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskNewClusterInitScript { - return vs[0].([]JobTaskNewClusterInitScript)[vs[1].(int)] - }).(JobTaskNewClusterInitScriptOutput) -} - -type JobTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) Elem() JobTaskForEachTaskTaskWebhookNotificationsOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) JobTaskForEachTaskTaskWebhookNotifications { + if v != nil { + return *v + } + var ret JobTaskForEachTaskTaskWebhookNotifications + return ret + }).(JobTaskForEachTaskTaskWebhookNotificationsOutput) } -// JobTaskNewClusterInitScriptAbfssInput is an input type that accepts JobTaskNewClusterInitScriptAbfssArgs and JobTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptAbfssInput` via: +// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. // -// JobTaskNewClusterInitScriptAbfssArgs{...} -type JobTaskNewClusterInitScriptAbfssInput interface { - pulumi.Input - - ToJobTaskNewClusterInitScriptAbfssOutput() JobTaskNewClusterInitScriptAbfssOutput - ToJobTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) JobTaskNewClusterInitScriptAbfssOutput -} - -type JobTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` +// +// Example +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + if v == nil { + return nil + } + return v.OnDurationWarningThresholdExceededs + }).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (JobTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptAbfss)(nil)).Elem() +// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnFailures() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnFailure { + if v == nil { + return nil + } + return v.OnFailures + }).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssOutput() JobTaskNewClusterInitScriptAbfssOutput { - return i.ToJobTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStarts() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStart { + if v == nil { + return nil + } + return v.OnStarts + }).(JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptAbfssOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. +func (o JobTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnSuccesses() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *JobTaskForEachTaskTaskWebhookNotifications) []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptAbfssOutput).ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // ID of the job + Id string `pulumi:"id"` } -// JobTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts JobTaskNewClusterInitScriptAbfssArgs, JobTaskNewClusterInitScriptAbfssPtr and JobTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptAbfssPtrInput` via: -// -// JobTaskNewClusterInitScriptAbfssArgs{...} -// -// or: +// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: // -// nil -type JobTaskNewClusterInitScriptAbfssPtrInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput - ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput } -type jobTaskNewClusterInitScriptAbfssPtrType JobTaskNewClusterInitScriptAbfssArgs - -func JobTaskNewClusterInitScriptAbfssPtr(v *JobTaskNewClusterInitScriptAbfssArgs) JobTaskNewClusterInitScriptAbfssPtrInput { - return (*jobTaskNewClusterInitScriptAbfssPtrType)(v) +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (*jobTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i *jobTaskNewClusterInitScriptAbfssPtrType) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterInitScriptAbfssPtrType) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptAbfssPtrOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -type JobTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } - -func (JobTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptAbfss)(nil)).Elem() -} +// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// +// JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { + pulumi.Input -func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssOutput() JobTaskNewClusterInitScriptAbfssOutput { - return o + ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssOutput { - return o -} +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput -func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptAbfss) *JobTaskNewClusterInitScriptAbfss { - return &v - }).(JobTaskNewClusterInitScriptAbfssPtrOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (o JobTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type JobTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o JobTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o JobTaskNewClusterInitScriptAbfssPtrOutput) Elem() JobTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptAbfss) JobTaskNewClusterInitScriptAbfss { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptAbfss - return ret - }).(JobTaskNewClusterInitScriptAbfssOutput) +// ID of the job +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -func (o JobTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptAbfss) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +type JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -type JobTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o } -// JobTaskNewClusterInitScriptDbfsInput is an input type that accepts JobTaskNewClusterInitScriptDbfsArgs and JobTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptDbfsInput` via: -// -// JobTaskNewClusterInitScriptDbfsArgs{...} -type JobTaskNewClusterInitScriptDbfsInput interface { - pulumi.Input +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o +} - ToJobTaskNewClusterInitScriptDbfsOutput() JobTaskNewClusterInitScriptDbfsOutput - ToJobTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) JobTaskNewClusterInitScriptDbfsOutput +func (o JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +} + +type JobTaskForEachTaskTaskWebhookNotificationsOnFailure struct { + // ID of the job + Id string `pulumi:"id"` } -type JobTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} +// JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput` via: +// +// JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} +type JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput interface { + pulumi.Input -func (JobTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptDbfs)(nil)).Elem() + ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput } -func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsOutput() JobTaskNewClusterInitScriptDbfsOutput { - return i.ToJobTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptDbfsOutput) +func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptDbfsOutput).ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) } -// JobTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts JobTaskNewClusterInitScriptDbfsArgs, JobTaskNewClusterInitScriptDbfsPtr and JobTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptDbfsPtrInput` via: -// -// JobTaskNewClusterInitScriptDbfsArgs{...} -// -// or: +// JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray and JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput` via: // -// nil -type JobTaskNewClusterInitScriptDbfsPtrInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray{ JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} } +type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput - ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput } -type jobTaskNewClusterInitScriptDbfsPtrType JobTaskNewClusterInitScriptDbfsArgs - -func JobTaskNewClusterInitScriptDbfsPtr(v *JobTaskNewClusterInitScriptDbfsArgs) JobTaskNewClusterInitScriptDbfsPtrInput { - return (*jobTaskNewClusterInitScriptDbfsPtrType)(v) -} +type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray []JobTaskForEachTaskTaskWebhookNotificationsOnFailureInput -func (*jobTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i *jobTaskNewClusterInitScriptDbfsPtrType) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterInitScriptDbfsPtrType) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptDbfsPtrOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -type JobTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsOutput() JobTaskNewClusterInitScriptDbfsOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { return o } -func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { return o } -func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) -} - -func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptDbfs) *JobTaskNewClusterInitScriptDbfs { - return &v - }).(JobTaskNewClusterInitScriptDbfsPtrOutput) -} - -func (o JobTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +// ID of the job +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -type JobTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { return o } -func (o JobTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { return o } -func (o JobTaskNewClusterInitScriptDbfsPtrOutput) Elem() JobTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptDbfs) JobTaskNewClusterInitScriptDbfs { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptDbfs - return ret - }).(JobTaskNewClusterInitScriptDbfsOutput) -} - -func (o JobTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnFailure { + return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnFailure)[vs[1].(int)] + }).(JobTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) } -type JobTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type JobTaskForEachTaskTaskWebhookNotificationsOnStart struct { + // ID of the job + Id string `pulumi:"id"` } -// JobTaskNewClusterInitScriptFileInput is an input type that accepts JobTaskNewClusterInitScriptFileArgs and JobTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptFileInput` via: +// JobTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs and JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStartInput` via: // -// JobTaskNewClusterInitScriptFileArgs{...} -type JobTaskNewClusterInitScriptFileInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} +type JobTaskForEachTaskTaskWebhookNotificationsOnStartInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptFileOutput() JobTaskNewClusterInitScriptFileOutput - ToJobTaskNewClusterInitScriptFileOutputWithContext(context.Context) JobTaskNewClusterInitScriptFileOutput -} - -type JobTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptFile)(nil)).Elem() + ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput } -func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFileOutput() JobTaskNewClusterInitScriptFileOutput { - return i.ToJobTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +type JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptFileOutput) +func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { - return i.ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptFileOutput).ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) } -// JobTaskNewClusterInitScriptFilePtrInput is an input type that accepts JobTaskNewClusterInitScriptFileArgs, JobTaskNewClusterInitScriptFilePtr and JobTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptFilePtrInput` via: -// -// JobTaskNewClusterInitScriptFileArgs{...} -// -// or: +// JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStartArray and JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput` via: // -// nil -type JobTaskNewClusterInitScriptFilePtrInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnStartArray{ JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} } +type JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput - ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptFilePtrOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput } -type jobTaskNewClusterInitScriptFilePtrType JobTaskNewClusterInitScriptFileArgs - -func JobTaskNewClusterInitScriptFilePtr(v *JobTaskNewClusterInitScriptFileArgs) JobTaskNewClusterInitScriptFilePtrInput { - return (*jobTaskNewClusterInitScriptFilePtrType)(v) -} +type JobTaskForEachTaskTaskWebhookNotificationsOnStartArray []JobTaskForEachTaskTaskWebhookNotificationsOnStartInput -func (*jobTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptFile)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i *jobTaskNewClusterInitScriptFilePtrType) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { - return i.ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterInitScriptFilePtrType) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptFilePtrOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -type JobTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptFile)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFileOutput() JobTaskNewClusterInitScriptFileOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { return o } -func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFileOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { return o } -func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { - return o.ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) -} - -func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptFile) *JobTaskNewClusterInitScriptFile { - return &v - }).(JobTaskNewClusterInitScriptFilePtrOutput) -} - -func (o JobTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +// ID of the job +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -type JobTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptFile)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptFilePtrOutput) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { return o } -func (o JobTaskNewClusterInitScriptFilePtrOutput) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { return o } -func (o JobTaskNewClusterInitScriptFilePtrOutput) Elem() JobTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptFile) JobTaskNewClusterInitScriptFile { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptFile - return ret - }).(JobTaskNewClusterInitScriptFileOutput) -} - -func (o JobTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnStart { + return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnStart)[vs[1].(int)] + }).(JobTaskForEachTaskTaskWebhookNotificationsOnStartOutput) } -type JobTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct { + // ID of the job + Id string `pulumi:"id"` } -// JobTaskNewClusterInitScriptGcsInput is an input type that accepts JobTaskNewClusterInitScriptGcsArgs and JobTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptGcsInput` via: +// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs and JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: // -// JobTaskNewClusterInitScriptGcsArgs{...} -type JobTaskNewClusterInitScriptGcsInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptGcsOutput() JobTaskNewClusterInitScriptGcsOutput - ToJobTaskNewClusterInitScriptGcsOutputWithContext(context.Context) JobTaskNewClusterInitScriptGcsOutput -} - -type JobTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptGcs)(nil)).Elem() + ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput } -func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsOutput() JobTaskNewClusterInitScriptGcsOutput { - return i.ToJobTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptGcsOutput) +func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { - return i.ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptGcsOutput).ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -// JobTaskNewClusterInitScriptGcsPtrInput is an input type that accepts JobTaskNewClusterInitScriptGcsArgs, JobTaskNewClusterInitScriptGcsPtr and JobTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptGcsPtrInput` via: -// -// JobTaskNewClusterInitScriptGcsArgs{...} -// -// or: +// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray and JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: // -// nil -type JobTaskNewClusterInitScriptGcsPtrInput interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray{ JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput - ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptGcsPtrOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput } -type jobTaskNewClusterInitScriptGcsPtrType JobTaskNewClusterInitScriptGcsArgs - -func JobTaskNewClusterInitScriptGcsPtr(v *JobTaskNewClusterInitScriptGcsArgs) JobTaskNewClusterInitScriptGcsPtrInput { - return (*jobTaskNewClusterInitScriptGcsPtrType)(v) -} +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput -func (*jobTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptGcs)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i *jobTaskNewClusterInitScriptGcsPtrType) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { - return i.ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterInitScriptGcsPtrType) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptGcsPtrOutput) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -type JobTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptGcs)(nil)).Elem() +func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsOutput() JobTaskNewClusterInitScriptGcsOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { return o } -func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsOutput { +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { return o } -func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { - return o.ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +// ID of the job +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) } -func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptGcs) *JobTaskNewClusterInitScriptGcs { - return &v - }).(JobTaskNewClusterInitScriptGcsPtrOutput) +type JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o } -type JobTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o +} -func (JobTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptGcs)(nil)).Elem() +func (o JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { + return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] + }).(JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -func (o JobTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { - return o +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { + // ID of the job + Id string `pulumi:"id"` } -func (o JobTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { - return o +// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput` via: +// +// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput interface { + pulumi.Input + + ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput } -func (o JobTaskNewClusterInitScriptGcsPtrOutput) Elem() JobTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptGcs) JobTaskNewClusterInitScriptGcs { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptGcs - return ret - }).(JobTaskNewClusterInitScriptGcsOutput) +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (o JobTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -type JobTaskNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -// JobTaskNewClusterInitScriptS3Input is an input type that accepts JobTaskNewClusterInitScriptS3Args and JobTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptS3Input` via: +func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +} + +// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray and JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput` via: // -// JobTaskNewClusterInitScriptS3Args{...} -type JobTaskNewClusterInitScriptS3Input interface { +// JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray{ JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} } +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptS3Output() JobTaskNewClusterInitScriptS3Output - ToJobTaskNewClusterInitScriptS3OutputWithContext(context.Context) JobTaskNewClusterInitScriptS3Output + ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput + ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput } -type JobTaskNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray []JobTaskForEachTaskTaskWebhookNotificationsOnSuccessInput + +func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (JobTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptS3)(nil)).Elem() +func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return i.ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3Output() JobTaskNewClusterInitScriptS3Output { - return i.ToJobTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptS3Output) +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { - return i.ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return o } -func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptS3Output).ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return o } -// JobTaskNewClusterInitScriptS3PtrInput is an input type that accepts JobTaskNewClusterInitScriptS3Args, JobTaskNewClusterInitScriptS3Ptr and JobTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptS3PtrInput` via: -// -// JobTaskNewClusterInitScriptS3Args{...} -// -// or: -// -// nil -type JobTaskNewClusterInitScriptS3PtrInput interface { - pulumi.Input +// ID of the job +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +} - ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput - ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptS3PtrOutput +type JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -type jobTaskNewClusterInitScriptS3PtrType JobTaskNewClusterInitScriptS3Args +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o +} -func JobTaskNewClusterInitScriptS3Ptr(v *JobTaskNewClusterInitScriptS3Args) JobTaskNewClusterInitScriptS3PtrInput { - return (*jobTaskNewClusterInitScriptS3PtrType)(v) +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -func (*jobTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptS3)(nil)).Elem() +func (o JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskForEachTaskTaskWebhookNotificationsOnSuccess { + return vs[0].([]JobTaskForEachTaskTaskWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(JobTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) } -func (i *jobTaskNewClusterInitScriptS3PtrType) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { - return i.ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +type JobTaskHealth struct { + // list of rules that are represented as objects with the following attributes: + Rules []JobTaskHealthRule `pulumi:"rules"` +} + +// JobTaskHealthInput is an input type that accepts JobTaskHealthArgs and JobTaskHealthOutput values. +// You can construct a concrete instance of `JobTaskHealthInput` via: +// +// JobTaskHealthArgs{...} +type JobTaskHealthInput interface { + pulumi.Input + + ToJobTaskHealthOutput() JobTaskHealthOutput + ToJobTaskHealthOutputWithContext(context.Context) JobTaskHealthOutput } -func (i *jobTaskNewClusterInitScriptS3PtrType) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptS3PtrOutput) +type JobTaskHealthArgs struct { + // list of rules that are represented as objects with the following attributes: + Rules JobTaskHealthRuleArrayInput `pulumi:"rules"` } -type JobTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } - -func (JobTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptS3)(nil)).Elem() +func (JobTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskHealth)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3Output() JobTaskNewClusterInitScriptS3Output { - return o +func (i JobTaskHealthArgs) ToJobTaskHealthOutput() JobTaskHealthOutput { + return i.ToJobTaskHealthOutputWithContext(context.Background()) } -func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3Output { - return o +func (i JobTaskHealthArgs) ToJobTaskHealthOutputWithContext(ctx context.Context) JobTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthOutput) } -func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { - return o.ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i JobTaskHealthArgs) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { + return i.ToJobTaskHealthPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptS3) *JobTaskNewClusterInitScriptS3 { - return &v - }).(JobTaskNewClusterInitScriptS3PtrOutput) +func (i JobTaskHealthArgs) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthOutput).ToJobTaskHealthPtrOutputWithContext(ctx) } -func (o JobTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} +// JobTaskHealthPtrInput is an input type that accepts JobTaskHealthArgs, JobTaskHealthPtr and JobTaskHealthPtrOutput values. +// You can construct a concrete instance of `JobTaskHealthPtrInput` via: +// +// JobTaskHealthArgs{...} +// +// or: +// +// nil +type JobTaskHealthPtrInput interface { + pulumi.Input -func (o JobTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) + ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput + ToJobTaskHealthPtrOutputWithContext(context.Context) JobTaskHealthPtrOutput } -func (o JobTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} +type jobTaskHealthPtrType JobTaskHealthArgs -func (o JobTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func JobTaskHealthPtr(v *JobTaskHealthArgs) JobTaskHealthPtrInput { + return (*jobTaskHealthPtrType)(v) } -func (o JobTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (*jobTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskHealth)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (i *jobTaskHealthPtrType) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { + return i.ToJobTaskHealthPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (i *jobTaskHealthPtrType) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthPtrOutput) } -type JobTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type JobTaskHealthOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptS3)(nil)).Elem() +func (JobTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskHealth)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptS3PtrOutput) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { +func (o JobTaskHealthOutput) ToJobTaskHealthOutput() JobTaskHealthOutput { return o } -func (o JobTaskNewClusterInitScriptS3PtrOutput) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { +func (o JobTaskHealthOutput) ToJobTaskHealthOutputWithContext(ctx context.Context) JobTaskHealthOutput { return o } -func (o JobTaskNewClusterInitScriptS3PtrOutput) Elem() JobTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) JobTaskNewClusterInitScriptS3 { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptS3 - return ret - }).(JobTaskNewClusterInitScriptS3Output) +func (o JobTaskHealthOutput) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { + return o.ToJobTaskHealthPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) +func (o JobTaskHealthOutput) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskHealth) *JobTaskHealth { + return &v + }).(JobTaskHealthPtrOutput) } -func (o JobTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +// list of rules that are represented as objects with the following attributes: +func (o JobTaskHealthOutput) Rules() JobTaskHealthRuleArrayOutput { + return o.ApplyT(func(v JobTaskHealth) []JobTaskHealthRule { return v.Rules }).(JobTaskHealthRuleArrayOutput) } -func (o JobTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +type JobTaskHealthPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskHealth)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o JobTaskHealthPtrOutput) ToJobTaskHealthPtrOutput() JobTaskHealthPtrOutput { + return o } -func (o JobTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o JobTaskHealthPtrOutput) ToJobTaskHealthPtrOutputWithContext(ctx context.Context) JobTaskHealthPtrOutput { + return o } -func (o JobTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil +func (o JobTaskHealthPtrOutput) Elem() JobTaskHealthOutput { + return o.ApplyT(func(v *JobTaskHealth) JobTaskHealth { + if v != nil { + return *v } - return v.KmsKey - }).(pulumi.StringPtrOutput) + var ret JobTaskHealth + return ret + }).(JobTaskHealthOutput) } -func (o JobTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { +// list of rules that are represented as objects with the following attributes: +func (o JobTaskHealthPtrOutput) Rules() JobTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *JobTaskHealth) []JobTaskHealthRule { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Rules + }).(JobTaskHealthRuleArrayOutput) } -type JobTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type JobTaskHealthRule struct { + // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + Metric string `pulumi:"metric"` + // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + Op string `pulumi:"op"` + // integer value used to compare to the given metric. + Value int `pulumi:"value"` } -// JobTaskNewClusterInitScriptVolumesInput is an input type that accepts JobTaskNewClusterInitScriptVolumesArgs and JobTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptVolumesInput` via: +// JobTaskHealthRuleInput is an input type that accepts JobTaskHealthRuleArgs and JobTaskHealthRuleOutput values. +// You can construct a concrete instance of `JobTaskHealthRuleInput` via: // -// JobTaskNewClusterInitScriptVolumesArgs{...} -type JobTaskNewClusterInitScriptVolumesInput interface { +// JobTaskHealthRuleArgs{...} +type JobTaskHealthRuleInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptVolumesOutput() JobTaskNewClusterInitScriptVolumesOutput - ToJobTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) JobTaskNewClusterInitScriptVolumesOutput -} - -type JobTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptVolumes)(nil)).Elem() + ToJobTaskHealthRuleOutput() JobTaskHealthRuleOutput + ToJobTaskHealthRuleOutputWithContext(context.Context) JobTaskHealthRuleOutput } -func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesOutput() JobTaskNewClusterInitScriptVolumesOutput { - return i.ToJobTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +type JobTaskHealthRuleArgs struct { + // string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + Metric pulumi.StringInput `pulumi:"metric"` + // string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + Op pulumi.StringInput `pulumi:"op"` + // integer value used to compare to the given metric. + Value pulumi.IntInput `pulumi:"value"` } -func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptVolumesOutput) +func (JobTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskHealthRule)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i JobTaskHealthRuleArgs) ToJobTaskHealthRuleOutput() JobTaskHealthRuleOutput { + return i.ToJobTaskHealthRuleOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptVolumesOutput).ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i JobTaskHealthRuleArgs) ToJobTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthRuleOutput) } -// JobTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts JobTaskNewClusterInitScriptVolumesArgs, JobTaskNewClusterInitScriptVolumesPtr and JobTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptVolumesPtrInput` via: -// -// JobTaskNewClusterInitScriptVolumesArgs{...} -// -// or: +// JobTaskHealthRuleArrayInput is an input type that accepts JobTaskHealthRuleArray and JobTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `JobTaskHealthRuleArrayInput` via: // -// nil -type JobTaskNewClusterInitScriptVolumesPtrInput interface { +// JobTaskHealthRuleArray{ JobTaskHealthRuleArgs{...} } +type JobTaskHealthRuleArrayInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput - ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput + ToJobTaskHealthRuleArrayOutput() JobTaskHealthRuleArrayOutput + ToJobTaskHealthRuleArrayOutputWithContext(context.Context) JobTaskHealthRuleArrayOutput } -type jobTaskNewClusterInitScriptVolumesPtrType JobTaskNewClusterInitScriptVolumesArgs - -func JobTaskNewClusterInitScriptVolumesPtr(v *JobTaskNewClusterInitScriptVolumesArgs) JobTaskNewClusterInitScriptVolumesPtrInput { - return (*jobTaskNewClusterInitScriptVolumesPtrType)(v) -} +type JobTaskHealthRuleArray []JobTaskHealthRuleInput -func (*jobTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (JobTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskHealthRule)(nil)).Elem() } -func (i *jobTaskNewClusterInitScriptVolumesPtrType) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i JobTaskHealthRuleArray) ToJobTaskHealthRuleArrayOutput() JobTaskHealthRuleArrayOutput { + return i.ToJobTaskHealthRuleArrayOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterInitScriptVolumesPtrType) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptVolumesPtrOutput) +func (i JobTaskHealthRuleArray) ToJobTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskHealthRuleArrayOutput) } -type JobTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type JobTaskHealthRuleOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (JobTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskHealthRule)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesOutput() JobTaskNewClusterInitScriptVolumesOutput { +func (o JobTaskHealthRuleOutput) ToJobTaskHealthRuleOutput() JobTaskHealthRuleOutput { return o } -func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesOutput { +func (o JobTaskHealthRuleOutput) ToJobTaskHealthRuleOutputWithContext(ctx context.Context) JobTaskHealthRuleOutput { return o } -func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +// string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). +func (o JobTaskHealthRuleOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) } -func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptVolumes) *JobTaskNewClusterInitScriptVolumes { - return &v - }).(JobTaskNewClusterInitScriptVolumesPtrOutput) +// string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. +func (o JobTaskHealthRuleOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) } -func (o JobTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +// integer value used to compare to the given metric. +func (o JobTaskHealthRuleOutput) Value() pulumi.IntOutput { + return o.ApplyT(func(v JobTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) } -type JobTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type JobTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (JobTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskHealthRule)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { +func (o JobTaskHealthRuleArrayOutput) ToJobTaskHealthRuleArrayOutput() JobTaskHealthRuleArrayOutput { return o } -func (o JobTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { +func (o JobTaskHealthRuleArrayOutput) ToJobTaskHealthRuleArrayOutputWithContext(ctx context.Context) JobTaskHealthRuleArrayOutput { return o } -func (o JobTaskNewClusterInitScriptVolumesPtrOutput) Elem() JobTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptVolumes) JobTaskNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptVolumes - return ret - }).(JobTaskNewClusterInitScriptVolumesOutput) -} - -func (o JobTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) JobTaskHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskHealthRule { + return vs[0].([]JobTaskHealthRule)[vs[1].(int)] + }).(JobTaskHealthRuleOutput) } -type JobTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type JobTaskLibrary struct { + Cran *JobTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobTaskLibraryMaven `pulumi:"maven"` + Pypi *JobTaskLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// JobTaskNewClusterInitScriptWorkspaceInput is an input type that accepts JobTaskNewClusterInitScriptWorkspaceArgs and JobTaskNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptWorkspaceInput` via: +// JobTaskLibraryInput is an input type that accepts JobTaskLibraryArgs and JobTaskLibraryOutput values. +// You can construct a concrete instance of `JobTaskLibraryInput` via: // -// JobTaskNewClusterInitScriptWorkspaceArgs{...} -type JobTaskNewClusterInitScriptWorkspaceInput interface { +// JobTaskLibraryArgs{...} +type JobTaskLibraryInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptWorkspaceOutput() JobTaskNewClusterInitScriptWorkspaceOutput - ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobTaskNewClusterInitScriptWorkspaceOutput -} - -type JobTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (JobTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() + ToJobTaskLibraryOutput() JobTaskLibraryOutput + ToJobTaskLibraryOutputWithContext(context.Context) JobTaskLibraryOutput } -func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspaceOutput() JobTaskNewClusterInitScriptWorkspaceOutput { - return i.ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +type JobTaskLibraryArgs struct { + Cran JobTaskLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobTaskLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobTaskLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptWorkspaceOutput) +func (JobTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibrary)(nil)).Elem() } -func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i JobTaskLibraryArgs) ToJobTaskLibraryOutput() JobTaskLibraryOutput { + return i.ToJobTaskLibraryOutputWithContext(context.Background()) } -func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptWorkspaceOutput).ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i JobTaskLibraryArgs) ToJobTaskLibraryOutputWithContext(ctx context.Context) JobTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryOutput) } -// JobTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobTaskNewClusterInitScriptWorkspaceArgs, JobTaskNewClusterInitScriptWorkspacePtr and JobTaskNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterInitScriptWorkspacePtrInput` via: -// -// JobTaskNewClusterInitScriptWorkspaceArgs{...} -// -// or: +// JobTaskLibraryArrayInput is an input type that accepts JobTaskLibraryArray and JobTaskLibraryArrayOutput values. +// You can construct a concrete instance of `JobTaskLibraryArrayInput` via: // -// nil -type JobTaskNewClusterInitScriptWorkspacePtrInput interface { +// JobTaskLibraryArray{ JobTaskLibraryArgs{...} } +type JobTaskLibraryArrayInput interface { pulumi.Input - ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput - ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput + ToJobTaskLibraryArrayOutput() JobTaskLibraryArrayOutput + ToJobTaskLibraryArrayOutputWithContext(context.Context) JobTaskLibraryArrayOutput } -type jobTaskNewClusterInitScriptWorkspacePtrType JobTaskNewClusterInitScriptWorkspaceArgs - -func JobTaskNewClusterInitScriptWorkspacePtr(v *JobTaskNewClusterInitScriptWorkspaceArgs) JobTaskNewClusterInitScriptWorkspacePtrInput { - return (*jobTaskNewClusterInitScriptWorkspacePtrType)(v) -} +type JobTaskLibraryArray []JobTaskLibraryInput -func (*jobTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskLibrary)(nil)).Elem() } -func (i *jobTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i JobTaskLibraryArray) ToJobTaskLibraryArrayOutput() JobTaskLibraryArrayOutput { + return i.ToJobTaskLibraryArrayOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptWorkspacePtrOutput) +func (i JobTaskLibraryArray) ToJobTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryArrayOutput) } -type JobTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type JobTaskLibraryOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (JobTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibrary)(nil)).Elem() } -func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspaceOutput() JobTaskNewClusterInitScriptWorkspaceOutput { +func (o JobTaskLibraryOutput) ToJobTaskLibraryOutput() JobTaskLibraryOutput { return o } -func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspaceOutput { +func (o JobTaskLibraryOutput) ToJobTaskLibraryOutputWithContext(ctx context.Context) JobTaskLibraryOutput { return o } -func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o JobTaskLibraryOutput) Cran() JobTaskLibraryCranPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *JobTaskLibraryCran { return v.Cran }).(JobTaskLibraryCranPtrOutput) } -func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptWorkspace) *JobTaskNewClusterInitScriptWorkspace { - return &v - }).(JobTaskNewClusterInitScriptWorkspacePtrOutput) +func (o JobTaskLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o JobTaskLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o JobTaskLibraryOutput) Maven() JobTaskLibraryMavenPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *JobTaskLibraryMaven { return v.Maven }).(JobTaskLibraryMavenPtrOutput) +} -func (JobTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (o JobTaskLibraryOutput) Pypi() JobTaskLibraryPypiPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *JobTaskLibraryPypi { return v.Pypi }).(JobTaskLibraryPypiPtrOutput) } -func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { - return o +func (o JobTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { +func (o JobTaskLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type JobTaskLibraryArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskLibrary)(nil)).Elem() +} + +func (o JobTaskLibraryArrayOutput) ToJobTaskLibraryArrayOutput() JobTaskLibraryArrayOutput { return o } -func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) Elem() JobTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptWorkspace) JobTaskNewClusterInitScriptWorkspace { - if v != nil { - return *v - } - var ret JobTaskNewClusterInitScriptWorkspace - return ret - }).(JobTaskNewClusterInitScriptWorkspaceOutput) +func (o JobTaskLibraryArrayOutput) ToJobTaskLibraryArrayOutputWithContext(ctx context.Context) JobTaskLibraryArrayOutput { + return o } -func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterInitScriptWorkspace) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o JobTaskLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskLibrary { + return vs[0].([]JobTaskLibrary)[vs[1].(int)] + }).(JobTaskLibraryOutput) } -type JobTaskNewClusterLibrary struct { - Cran *JobTaskNewClusterLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *JobTaskNewClusterLibraryMaven `pulumi:"maven"` - Pypi *JobTaskNewClusterLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +type JobTaskLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobTaskNewClusterLibraryInput is an input type that accepts JobTaskNewClusterLibraryArgs and JobTaskNewClusterLibraryOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryInput` via: +// JobTaskLibraryCranInput is an input type that accepts JobTaskLibraryCranArgs and JobTaskLibraryCranOutput values. +// You can construct a concrete instance of `JobTaskLibraryCranInput` via: // -// JobTaskNewClusterLibraryArgs{...} -type JobTaskNewClusterLibraryInput interface { +// JobTaskLibraryCranArgs{...} +type JobTaskLibraryCranInput interface { pulumi.Input - ToJobTaskNewClusterLibraryOutput() JobTaskNewClusterLibraryOutput - ToJobTaskNewClusterLibraryOutputWithContext(context.Context) JobTaskNewClusterLibraryOutput + ToJobTaskLibraryCranOutput() JobTaskLibraryCranOutput + ToJobTaskLibraryCranOutputWithContext(context.Context) JobTaskLibraryCranOutput } -type JobTaskNewClusterLibraryArgs struct { - Cran JobTaskNewClusterLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven JobTaskNewClusterLibraryMavenPtrInput `pulumi:"maven"` - Pypi JobTaskNewClusterLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type JobTaskLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskNewClusterLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibrary)(nil)).Elem() +func (JobTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibraryCran)(nil)).Elem() } -func (i JobTaskNewClusterLibraryArgs) ToJobTaskNewClusterLibraryOutput() JobTaskNewClusterLibraryOutput { - return i.ToJobTaskNewClusterLibraryOutputWithContext(context.Background()) +func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranOutput() JobTaskLibraryCranOutput { + return i.ToJobTaskLibraryCranOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryArgs) ToJobTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryOutput) +func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryCranOutput) } -// JobTaskNewClusterLibraryArrayInput is an input type that accepts JobTaskNewClusterLibraryArray and JobTaskNewClusterLibraryArrayOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryArrayInput` via: +func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { + return i.ToJobTaskLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i JobTaskLibraryCranArgs) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryCranOutput).ToJobTaskLibraryCranPtrOutputWithContext(ctx) +} + +// JobTaskLibraryCranPtrInput is an input type that accepts JobTaskLibraryCranArgs, JobTaskLibraryCranPtr and JobTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobTaskLibraryCranPtrInput` via: // -// JobTaskNewClusterLibraryArray{ JobTaskNewClusterLibraryArgs{...} } -type JobTaskNewClusterLibraryArrayInput interface { +// JobTaskLibraryCranArgs{...} +// +// or: +// +// nil +type JobTaskLibraryCranPtrInput interface { pulumi.Input - ToJobTaskNewClusterLibraryArrayOutput() JobTaskNewClusterLibraryArrayOutput - ToJobTaskNewClusterLibraryArrayOutputWithContext(context.Context) JobTaskNewClusterLibraryArrayOutput + ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput + ToJobTaskLibraryCranPtrOutputWithContext(context.Context) JobTaskLibraryCranPtrOutput } -type JobTaskNewClusterLibraryArray []JobTaskNewClusterLibraryInput +type jobTaskLibraryCranPtrType JobTaskLibraryCranArgs -func (JobTaskNewClusterLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskNewClusterLibrary)(nil)).Elem() +func JobTaskLibraryCranPtr(v *JobTaskLibraryCranArgs) JobTaskLibraryCranPtrInput { + return (*jobTaskLibraryCranPtrType)(v) } -func (i JobTaskNewClusterLibraryArray) ToJobTaskNewClusterLibraryArrayOutput() JobTaskNewClusterLibraryArrayOutput { - return i.ToJobTaskNewClusterLibraryArrayOutputWithContext(context.Background()) +func (*jobTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskLibraryCran)(nil)).Elem() } -func (i JobTaskNewClusterLibraryArray) ToJobTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryArrayOutput) +func (i *jobTaskLibraryCranPtrType) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { + return i.ToJobTaskLibraryCranPtrOutputWithContext(context.Background()) } -type JobTaskNewClusterLibraryOutput struct{ *pulumi.OutputState } +func (i *jobTaskLibraryCranPtrType) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryCranPtrOutput) +} -func (JobTaskNewClusterLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibrary)(nil)).Elem() +type JobTaskLibraryCranOutput struct{ *pulumi.OutputState } + +func (JobTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibraryCran)(nil)).Elem() } -func (o JobTaskNewClusterLibraryOutput) ToJobTaskNewClusterLibraryOutput() JobTaskNewClusterLibraryOutput { +func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranOutput() JobTaskLibraryCranOutput { return o } -func (o JobTaskNewClusterLibraryOutput) ToJobTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryOutput { +func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranOutputWithContext(ctx context.Context) JobTaskLibraryCranOutput { return o } -func (o JobTaskNewClusterLibraryOutput) Cran() JobTaskNewClusterLibraryCranPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *JobTaskNewClusterLibraryCran { return v.Cran }).(JobTaskNewClusterLibraryCranPtrOutput) +func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { + return o.ToJobTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o JobTaskLibraryCranOutput) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskLibraryCran) *JobTaskLibraryCran { + return &v + }).(JobTaskLibraryCranPtrOutput) } -func (o JobTaskNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o JobTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTaskNewClusterLibraryOutput) Maven() JobTaskNewClusterLibraryMavenPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *JobTaskNewClusterLibraryMaven { return v.Maven }).(JobTaskNewClusterLibraryMavenPtrOutput) +func (o JobTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterLibraryOutput) Pypi() JobTaskNewClusterLibraryPypiPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *JobTaskNewClusterLibraryPypi { return v.Pypi }).(JobTaskNewClusterLibraryPypiPtrOutput) -} +type JobTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (o JobTaskNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (JobTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskLibraryCran)(nil)).Elem() } -func (o JobTaskNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o JobTaskLibraryCranPtrOutput) ToJobTaskLibraryCranPtrOutput() JobTaskLibraryCranPtrOutput { + return o } -type JobTaskNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } - -func (JobTaskNewClusterLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskNewClusterLibrary)(nil)).Elem() +func (o JobTaskLibraryCranPtrOutput) ToJobTaskLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskLibraryCranPtrOutput { + return o } -func (o JobTaskNewClusterLibraryArrayOutput) ToJobTaskNewClusterLibraryArrayOutput() JobTaskNewClusterLibraryArrayOutput { - return o +func (o JobTaskLibraryCranPtrOutput) Elem() JobTaskLibraryCranOutput { + return o.ApplyT(func(v *JobTaskLibraryCran) JobTaskLibraryCran { + if v != nil { + return *v + } + var ret JobTaskLibraryCran + return ret + }).(JobTaskLibraryCranOutput) } -func (o JobTaskNewClusterLibraryArrayOutput) ToJobTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryArrayOutput { - return o +func (o JobTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskLibraryCran) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskNewClusterLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskNewClusterLibrary { - return vs[0].([]JobTaskNewClusterLibrary)[vs[1].(int)] - }).(JobTaskNewClusterLibraryOutput) +func (o JobTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobTaskLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// JobTaskNewClusterLibraryCranInput is an input type that accepts JobTaskNewClusterLibraryCranArgs and JobTaskNewClusterLibraryCranOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryCranInput` via: +// JobTaskLibraryMavenInput is an input type that accepts JobTaskLibraryMavenArgs and JobTaskLibraryMavenOutput values. +// You can construct a concrete instance of `JobTaskLibraryMavenInput` via: // -// JobTaskNewClusterLibraryCranArgs{...} -type JobTaskNewClusterLibraryCranInput interface { +// JobTaskLibraryMavenArgs{...} +type JobTaskLibraryMavenInput interface { pulumi.Input - ToJobTaskNewClusterLibraryCranOutput() JobTaskNewClusterLibraryCranOutput - ToJobTaskNewClusterLibraryCranOutputWithContext(context.Context) JobTaskNewClusterLibraryCranOutput + ToJobTaskLibraryMavenOutput() JobTaskLibraryMavenOutput + ToJobTaskLibraryMavenOutputWithContext(context.Context) JobTaskLibraryMavenOutput } -type JobTaskNewClusterLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskNewClusterLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibraryCran)(nil)).Elem() +func (JobTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibraryMaven)(nil)).Elem() } -func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranOutput() JobTaskNewClusterLibraryCranOutput { - return i.ToJobTaskNewClusterLibraryCranOutputWithContext(context.Background()) +func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenOutput() JobTaskLibraryMavenOutput { + return i.ToJobTaskLibraryMavenOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryCranOutput) +func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryMavenOutput) } -func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { - return i.ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { + return i.ToJobTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryCranOutput).ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx) +func (i JobTaskLibraryMavenArgs) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryMavenOutput).ToJobTaskLibraryMavenPtrOutputWithContext(ctx) } -// JobTaskNewClusterLibraryCranPtrInput is an input type that accepts JobTaskNewClusterLibraryCranArgs, JobTaskNewClusterLibraryCranPtr and JobTaskNewClusterLibraryCranPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryCranPtrInput` via: +// JobTaskLibraryMavenPtrInput is an input type that accepts JobTaskLibraryMavenArgs, JobTaskLibraryMavenPtr and JobTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobTaskLibraryMavenPtrInput` via: // -// JobTaskNewClusterLibraryCranArgs{...} +// JobTaskLibraryMavenArgs{...} // // or: // // nil -type JobTaskNewClusterLibraryCranPtrInput interface { +type JobTaskLibraryMavenPtrInput interface { pulumi.Input - ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput - ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Context) JobTaskNewClusterLibraryCranPtrOutput + ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput + ToJobTaskLibraryMavenPtrOutputWithContext(context.Context) JobTaskLibraryMavenPtrOutput } -type jobTaskNewClusterLibraryCranPtrType JobTaskNewClusterLibraryCranArgs +type jobTaskLibraryMavenPtrType JobTaskLibraryMavenArgs -func JobTaskNewClusterLibraryCranPtr(v *JobTaskNewClusterLibraryCranArgs) JobTaskNewClusterLibraryCranPtrInput { - return (*jobTaskNewClusterLibraryCranPtrType)(v) +func JobTaskLibraryMavenPtr(v *JobTaskLibraryMavenArgs) JobTaskLibraryMavenPtrInput { + return (*jobTaskLibraryMavenPtrType)(v) } -func (*jobTaskNewClusterLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterLibraryCran)(nil)).Elem() +func (*jobTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskLibraryMaven)(nil)).Elem() } -func (i *jobTaskNewClusterLibraryCranPtrType) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { - return i.ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (i *jobTaskLibraryMavenPtrType) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { + return i.ToJobTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterLibraryCranPtrType) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryCranPtrOutput) +func (i *jobTaskLibraryMavenPtrType) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryMavenPtrOutput) } -type JobTaskNewClusterLibraryCranOutput struct{ *pulumi.OutputState } +type JobTaskLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibraryCran)(nil)).Elem() +func (JobTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibraryMaven)(nil)).Elem() } -func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranOutput() JobTaskNewClusterLibraryCranOutput { +func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenOutput() JobTaskLibraryMavenOutput { return o } -func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranOutput { +func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenOutputWithContext(ctx context.Context) JobTaskLibraryMavenOutput { return o } -func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { - return o.ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) +func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { + return o.ToJobTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterLibraryCran) *JobTaskNewClusterLibraryCran { +func (o JobTaskLibraryMavenOutput) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskLibraryMaven) *JobTaskLibraryMaven { return &v - }).(JobTaskNewClusterLibraryCranPtrOutput) + }).(JobTaskLibraryMavenPtrOutput) } -func (o JobTaskNewClusterLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o JobTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o JobTaskNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -type JobTaskNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (JobTaskNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterLibraryCran)(nil)).Elem() +type JobTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskLibraryMaven)(nil)).Elem() } -func (o JobTaskNewClusterLibraryCranPtrOutput) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { +func (o JobTaskLibraryMavenPtrOutput) ToJobTaskLibraryMavenPtrOutput() JobTaskLibraryMavenPtrOutput { return o } -func (o JobTaskNewClusterLibraryCranPtrOutput) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { +func (o JobTaskLibraryMavenPtrOutput) ToJobTaskLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskLibraryMavenPtrOutput { return o } -func (o JobTaskNewClusterLibraryCranPtrOutput) Elem() JobTaskNewClusterLibraryCranOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryCran) JobTaskNewClusterLibraryCran { +func (o JobTaskLibraryMavenPtrOutput) Elem() JobTaskLibraryMavenOutput { + return o.ApplyT(func(v *JobTaskLibraryMaven) JobTaskLibraryMaven { if v != nil { return *v } - var ret JobTaskNewClusterLibraryCran + var ret JobTaskLibraryMaven return ret - }).(JobTaskNewClusterLibraryCranOutput) + }).(JobTaskLibraryMavenOutput) } -func (o JobTaskNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryCran) *string { +func (o JobTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskLibraryMaven) *string { if v == nil { return nil } - return &v.Package + return &v.Coordinates }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryCran) *string { +func (o JobTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o JobTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskLibraryMaven) *string { if v == nil { return nil } @@ -40681,162 +39985,147 @@ func (o JobTaskNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type JobTaskLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobTaskNewClusterLibraryMavenInput is an input type that accepts JobTaskNewClusterLibraryMavenArgs and JobTaskNewClusterLibraryMavenOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryMavenInput` via: +// JobTaskLibraryPypiInput is an input type that accepts JobTaskLibraryPypiArgs and JobTaskLibraryPypiOutput values. +// You can construct a concrete instance of `JobTaskLibraryPypiInput` via: // -// JobTaskNewClusterLibraryMavenArgs{...} -type JobTaskNewClusterLibraryMavenInput interface { +// JobTaskLibraryPypiArgs{...} +type JobTaskLibraryPypiInput interface { pulumi.Input - ToJobTaskNewClusterLibraryMavenOutput() JobTaskNewClusterLibraryMavenOutput - ToJobTaskNewClusterLibraryMavenOutputWithContext(context.Context) JobTaskNewClusterLibraryMavenOutput + ToJobTaskLibraryPypiOutput() JobTaskLibraryPypiOutput + ToJobTaskLibraryPypiOutputWithContext(context.Context) JobTaskLibraryPypiOutput } -type JobTaskNewClusterLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTaskNewClusterLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibraryMaven)(nil)).Elem() +func (JobTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibraryPypi)(nil)).Elem() } -func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenOutput() JobTaskNewClusterLibraryMavenOutput { - return i.ToJobTaskNewClusterLibraryMavenOutputWithContext(context.Background()) +func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiOutput() JobTaskLibraryPypiOutput { + return i.ToJobTaskLibraryPypiOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryMavenOutput) +func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryPypiOutput) } -func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { - return i.ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { + return i.ToJobTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryMavenOutput).ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx) +func (i JobTaskLibraryPypiArgs) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryPypiOutput).ToJobTaskLibraryPypiPtrOutputWithContext(ctx) } -// JobTaskNewClusterLibraryMavenPtrInput is an input type that accepts JobTaskNewClusterLibraryMavenArgs, JobTaskNewClusterLibraryMavenPtr and JobTaskNewClusterLibraryMavenPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryMavenPtrInput` via: +// JobTaskLibraryPypiPtrInput is an input type that accepts JobTaskLibraryPypiArgs, JobTaskLibraryPypiPtr and JobTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobTaskLibraryPypiPtrInput` via: // -// JobTaskNewClusterLibraryMavenArgs{...} +// JobTaskLibraryPypiArgs{...} // // or: // // nil -type JobTaskNewClusterLibraryMavenPtrInput interface { +type JobTaskLibraryPypiPtrInput interface { pulumi.Input - ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput - ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobTaskNewClusterLibraryMavenPtrOutput + ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput + ToJobTaskLibraryPypiPtrOutputWithContext(context.Context) JobTaskLibraryPypiPtrOutput } -type jobTaskNewClusterLibraryMavenPtrType JobTaskNewClusterLibraryMavenArgs +type jobTaskLibraryPypiPtrType JobTaskLibraryPypiArgs -func JobTaskNewClusterLibraryMavenPtr(v *JobTaskNewClusterLibraryMavenArgs) JobTaskNewClusterLibraryMavenPtrInput { - return (*jobTaskNewClusterLibraryMavenPtrType)(v) +func JobTaskLibraryPypiPtr(v *JobTaskLibraryPypiArgs) JobTaskLibraryPypiPtrInput { + return (*jobTaskLibraryPypiPtrType)(v) } -func (*jobTaskNewClusterLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterLibraryMaven)(nil)).Elem() +func (*jobTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskLibraryPypi)(nil)).Elem() } -func (i *jobTaskNewClusterLibraryMavenPtrType) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { - return i.ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobTaskLibraryPypiPtrType) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { + return i.ToJobTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterLibraryMavenPtrType) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryMavenPtrOutput) +func (i *jobTaskLibraryPypiPtrType) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskLibraryPypiPtrOutput) } -type JobTaskNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } +type JobTaskLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibraryMaven)(nil)).Elem() +func (JobTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskLibraryPypi)(nil)).Elem() } -func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenOutput() JobTaskNewClusterLibraryMavenOutput { +func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiOutput() JobTaskLibraryPypiOutput { return o } -func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenOutput { +func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiOutputWithContext(ctx context.Context) JobTaskLibraryPypiOutput { return o } -func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { - return o.ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { + return o.ToJobTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterLibraryMaven) *JobTaskNewClusterLibraryMaven { +func (o JobTaskLibraryPypiOutput) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskLibraryPypi) *JobTaskLibraryPypi { return &v - }).(JobTaskNewClusterLibraryMavenPtrOutput) -} - -func (o JobTaskNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) + }).(JobTaskLibraryPypiPtrOutput) } -func (o JobTaskNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o JobTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTaskNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type JobTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterLibraryMaven)(nil)).Elem() +func (JobTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskLibraryPypi)(nil)).Elem() } -func (o JobTaskNewClusterLibraryMavenPtrOutput) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { +func (o JobTaskLibraryPypiPtrOutput) ToJobTaskLibraryPypiPtrOutput() JobTaskLibraryPypiPtrOutput { return o } -func (o JobTaskNewClusterLibraryMavenPtrOutput) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { +func (o JobTaskLibraryPypiPtrOutput) ToJobTaskLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskLibraryPypiPtrOutput { return o } -func (o JobTaskNewClusterLibraryMavenPtrOutput) Elem() JobTaskNewClusterLibraryMavenOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) JobTaskNewClusterLibraryMaven { +func (o JobTaskLibraryPypiPtrOutput) Elem() JobTaskLibraryPypiOutput { + return o.ApplyT(func(v *JobTaskLibraryPypi) JobTaskLibraryPypi { if v != nil { return *v } - var ret JobTaskNewClusterLibraryMaven + var ret JobTaskLibraryPypi return ret - }).(JobTaskNewClusterLibraryMavenOutput) + }).(JobTaskLibraryPypiOutput) } -func (o JobTaskNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) *string { +func (o JobTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskLibraryPypi) *string { if v == nil { return nil } - return &v.Coordinates + return &v.Package }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) -} - -func (o JobTaskNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) *string { +func (o JobTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskLibraryPypi) *string { if v == nil { return nil } @@ -40844,10226 +40133,10157 @@ func (o JobTaskNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobTaskNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *JobTaskNewClusterAutoscale `pulumi:"autoscale"` + AwsAttributes *JobTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *JobTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *JobTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []JobTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *JobTaskNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` + EnableElasticDisk *bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *JobTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []JobTaskNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries []JobTaskNewClusterLibrary `pulumi:"libraries"` + NodeTypeId *string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType *JobTaskNewClusterWorkloadType `pulumi:"workloadType"` } -// JobTaskNewClusterLibraryPypiInput is an input type that accepts JobTaskNewClusterLibraryPypiArgs and JobTaskNewClusterLibraryPypiOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryPypiInput` via: +// JobTaskNewClusterInput is an input type that accepts JobTaskNewClusterArgs and JobTaskNewClusterOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInput` via: // -// JobTaskNewClusterLibraryPypiArgs{...} -type JobTaskNewClusterLibraryPypiInput interface { +// JobTaskNewClusterArgs{...} +type JobTaskNewClusterInput interface { pulumi.Input - ToJobTaskNewClusterLibraryPypiOutput() JobTaskNewClusterLibraryPypiOutput - ToJobTaskNewClusterLibraryPypiOutputWithContext(context.Context) JobTaskNewClusterLibraryPypiOutput + ToJobTaskNewClusterOutput() JobTaskNewClusterOutput + ToJobTaskNewClusterOutputWithContext(context.Context) JobTaskNewClusterOutput } -type JobTaskNewClusterLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale JobTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AwsAttributes JobTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes JobTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf JobTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos JobTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage JobTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes JobTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts JobTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + IsSingleNode pulumi.BoolPtrInput `pulumi:"isSingleNode"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + // (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Libraries JobTaskNewClusterLibraryArrayInput `pulumi:"libraries"` + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + UseMlRuntime pulumi.BoolPtrInput `pulumi:"useMlRuntime"` + // isn't supported + WorkloadType JobTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (JobTaskNewClusterLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibraryPypi)(nil)).Elem() +func (JobTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewCluster)(nil)).Elem() } -func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiOutput() JobTaskNewClusterLibraryPypiOutput { - return i.ToJobTaskNewClusterLibraryPypiOutputWithContext(context.Background()) +func (i JobTaskNewClusterArgs) ToJobTaskNewClusterOutput() JobTaskNewClusterOutput { + return i.ToJobTaskNewClusterOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryPypiOutput) +func (i JobTaskNewClusterArgs) ToJobTaskNewClusterOutputWithContext(ctx context.Context) JobTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterOutput) } -func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { - return i.ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterArgs) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { + return i.ToJobTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryPypiOutput).ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx) +func (i JobTaskNewClusterArgs) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterOutput).ToJobTaskNewClusterPtrOutputWithContext(ctx) } -// JobTaskNewClusterLibraryPypiPtrInput is an input type that accepts JobTaskNewClusterLibraryPypiArgs, JobTaskNewClusterLibraryPypiPtr and JobTaskNewClusterLibraryPypiPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterLibraryPypiPtrInput` via: +// JobTaskNewClusterPtrInput is an input type that accepts JobTaskNewClusterArgs, JobTaskNewClusterPtr and JobTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterPtrInput` via: // -// JobTaskNewClusterLibraryPypiArgs{...} +// JobTaskNewClusterArgs{...} // // or: // // nil -type JobTaskNewClusterLibraryPypiPtrInput interface { +type JobTaskNewClusterPtrInput interface { pulumi.Input - ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput - ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobTaskNewClusterLibraryPypiPtrOutput + ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput + ToJobTaskNewClusterPtrOutputWithContext(context.Context) JobTaskNewClusterPtrOutput } -type jobTaskNewClusterLibraryPypiPtrType JobTaskNewClusterLibraryPypiArgs +type jobTaskNewClusterPtrType JobTaskNewClusterArgs -func JobTaskNewClusterLibraryPypiPtr(v *JobTaskNewClusterLibraryPypiArgs) JobTaskNewClusterLibraryPypiPtrInput { - return (*jobTaskNewClusterLibraryPypiPtrType)(v) +func JobTaskNewClusterPtr(v *JobTaskNewClusterArgs) JobTaskNewClusterPtrInput { + return (*jobTaskNewClusterPtrType)(v) } -func (*jobTaskNewClusterLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterLibraryPypi)(nil)).Elem() +func (*jobTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewCluster)(nil)).Elem() } -func (i *jobTaskNewClusterLibraryPypiPtrType) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { - return i.ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterPtrType) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { + return i.ToJobTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i *jobTaskNewClusterLibraryPypiPtrType) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryPypiPtrOutput) +func (i *jobTaskNewClusterPtrType) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterPtrOutput) } -type JobTaskNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterOutput struct{ *pulumi.OutputState } -func (JobTaskNewClusterLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterLibraryPypi)(nil)).Elem() +func (JobTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewCluster)(nil)).Elem() } -func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiOutput() JobTaskNewClusterLibraryPypiOutput { +func (o JobTaskNewClusterOutput) ToJobTaskNewClusterOutput() JobTaskNewClusterOutput { return o } -func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiOutput { +func (o JobTaskNewClusterOutput) ToJobTaskNewClusterOutputWithContext(ctx context.Context) JobTaskNewClusterOutput { return o } -func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { - return o.ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterOutput) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { + return o.ToJobTaskNewClusterPtrOutputWithContext(context.Background()) } -func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterLibraryPypi) *JobTaskNewClusterLibraryPypi { +func (o JobTaskNewClusterOutput) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewCluster) *JobTaskNewCluster { return &v - }).(JobTaskNewClusterLibraryPypiPtrOutput) + }).(JobTaskNewClusterPtrOutput) } -func (o JobTaskNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o JobTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterOutput) Autoscale() JobTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAutoscale { return v.Autoscale }).(JobTaskNewClusterAutoscalePtrOutput) } -type JobTaskNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterOutput) AwsAttributes() JobTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAwsAttributes { return v.AwsAttributes }).(JobTaskNewClusterAwsAttributesPtrOutput) +} -func (JobTaskNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterLibraryPypi)(nil)).Elem() +func (o JobTaskNewClusterOutput) AzureAttributes() JobTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterAzureAttributes { return v.AzureAttributes }).(JobTaskNewClusterAzureAttributesPtrOutput) } -func (o JobTaskNewClusterLibraryPypiPtrOutput) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { - return o +func (o JobTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterLibraryPypiPtrOutput) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { - return o +func (o JobTaskNewClusterOutput) ClusterLogConf() JobTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterClusterLogConf { return v.ClusterLogConf }).(JobTaskNewClusterClusterLogConfPtrOutput) } -func (o JobTaskNewClusterLibraryPypiPtrOutput) Elem() JobTaskNewClusterLibraryPypiOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryPypi) JobTaskNewClusterLibraryPypi { - if v != nil { - return *v - } - var ret JobTaskNewClusterLibraryPypi - return ret - }).(JobTaskNewClusterLibraryPypiOutput) +func (o JobTaskNewClusterOutput) ClusterMountInfos() JobTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterClusterMountInfo { return v.ClusterMountInfos }).(JobTaskNewClusterClusterMountInfoArrayOutput) } -func (o JobTaskNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterLibraryPypi) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -type JobTaskNewClusterWorkloadType struct { - Clients JobTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +func (o JobTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -// JobTaskNewClusterWorkloadTypeInput is an input type that accepts JobTaskNewClusterWorkloadTypeArgs and JobTaskNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypeInput` via: -// -// JobTaskNewClusterWorkloadTypeArgs{...} -type JobTaskNewClusterWorkloadTypeInput interface { - pulumi.Input +func (o JobTaskNewClusterOutput) DockerImage() JobTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterDockerImage { return v.DockerImage }).(JobTaskNewClusterDockerImagePtrOutput) +} - ToJobTaskNewClusterWorkloadTypeOutput() JobTaskNewClusterWorkloadTypeOutput - ToJobTaskNewClusterWorkloadTypeOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypeOutput +func (o JobTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterWorkloadTypeArgs struct { - Clients JobTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +func (o JobTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (JobTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterWorkloadType)(nil)).Elem() +func (o JobTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypeOutput() JobTaskNewClusterWorkloadTypeOutput { - return i.ToJobTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (o JobTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeOutput) +func (o JobTaskNewClusterOutput) GcpAttributes() JobTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterGcpAttributes { return v.GcpAttributes }).(JobTaskNewClusterGcpAttributesPtrOutput) } -func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { - return i.ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeOutput).ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (o JobTaskNewClusterOutput) InitScripts() JobTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterInitScript { return v.InitScripts }).(JobTaskNewClusterInitScriptArrayOutput) } -// JobTaskNewClusterWorkloadTypePtrInput is an input type that accepts JobTaskNewClusterWorkloadTypeArgs, JobTaskNewClusterWorkloadTypePtr and JobTaskNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypePtrInput` via: -// -// JobTaskNewClusterWorkloadTypeArgs{...} -// -// or: -// -// nil -type JobTaskNewClusterWorkloadTypePtrInput interface { - pulumi.Input +func (o JobTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} - ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput - ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypePtrOutput +func (o JobTaskNewClusterOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.IsSingleNode }).(pulumi.BoolPtrOutput) } -type jobTaskNewClusterWorkloadTypePtrType JobTaskNewClusterWorkloadTypeArgs +func (o JobTaskNewClusterOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.Kind }).(pulumi.StringPtrOutput) +} -func JobTaskNewClusterWorkloadTypePtr(v *JobTaskNewClusterWorkloadTypeArgs) JobTaskNewClusterWorkloadTypePtrInput { - return (*jobTaskNewClusterWorkloadTypePtrType)(v) +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobTaskNewClusterOutput) Libraries() JobTaskNewClusterLibraryArrayOutput { + return o.ApplyT(func(v JobTaskNewCluster) []JobTaskNewClusterLibrary { return v.Libraries }).(JobTaskNewClusterLibraryArrayOutput) } -func (*jobTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterWorkloadType)(nil)).Elem() +func (o JobTaskNewClusterOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (i *jobTaskNewClusterWorkloadTypePtrType) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { - return i.ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) } -func (i *jobTaskNewClusterWorkloadTypePtrType) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypePtrOutput) +func (o JobTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} -func (JobTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterWorkloadType)(nil)).Elem() +func (o JobTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypeOutput() JobTaskNewClusterWorkloadTypeOutput { - return o +func (o JobTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeOutput { - return o +func (o JobTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { - return o.ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterWorkloadType) *JobTaskNewClusterWorkloadType { - return &v - }).(JobTaskNewClusterWorkloadTypePtrOutput) +func (o JobTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o JobTaskNewClusterWorkloadTypeOutput) Clients() JobTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v JobTaskNewClusterWorkloadType) JobTaskNewClusterWorkloadTypeClients { return v.Clients }).(JobTaskNewClusterWorkloadTypeClientsOutput) +func (o JobTaskNewClusterOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *bool { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) } -type JobTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +// isn't supported +func (o JobTaskNewClusterOutput) WorkloadType() JobTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v JobTaskNewCluster) *JobTaskNewClusterWorkloadType { return v.WorkloadType }).(JobTaskNewClusterWorkloadTypePtrOutput) +} -func (JobTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterWorkloadType)(nil)).Elem() +type JobTaskNewClusterPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewCluster)(nil)).Elem() } -func (o JobTaskNewClusterWorkloadTypePtrOutput) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { +func (o JobTaskNewClusterPtrOutput) ToJobTaskNewClusterPtrOutput() JobTaskNewClusterPtrOutput { return o } -func (o JobTaskNewClusterWorkloadTypePtrOutput) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { +func (o JobTaskNewClusterPtrOutput) ToJobTaskNewClusterPtrOutputWithContext(ctx context.Context) JobTaskNewClusterPtrOutput { return o } -func (o JobTaskNewClusterWorkloadTypePtrOutput) Elem() JobTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *JobTaskNewClusterWorkloadType) JobTaskNewClusterWorkloadType { +func (o JobTaskNewClusterPtrOutput) Elem() JobTaskNewClusterOutput { + return o.ApplyT(func(v *JobTaskNewCluster) JobTaskNewCluster { if v != nil { return *v } - var ret JobTaskNewClusterWorkloadType + var ret JobTaskNewCluster return ret - }).(JobTaskNewClusterWorkloadTypeOutput) + }).(JobTaskNewClusterOutput) } -func (o JobTaskNewClusterWorkloadTypePtrOutput) Clients() JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterWorkloadType) *JobTaskNewClusterWorkloadTypeClients { +func (o JobTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *bool { if v == nil { return nil } - return &v.Clients - }).(JobTaskNewClusterWorkloadTypeClientsPtrOutput) + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -type JobTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o JobTaskNewClusterPtrOutput) Autoscale() JobTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(JobTaskNewClusterAutoscalePtrOutput) } -// JobTaskNewClusterWorkloadTypeClientsInput is an input type that accepts JobTaskNewClusterWorkloadTypeClientsArgs and JobTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypeClientsInput` via: -// -// JobTaskNewClusterWorkloadTypeClientsArgs{...} -type JobTaskNewClusterWorkloadTypeClientsInput interface { - pulumi.Input +func (o JobTaskNewClusterPtrOutput) AwsAttributes() JobTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(JobTaskNewClusterAwsAttributesPtrOutput) +} - ToJobTaskNewClusterWorkloadTypeClientsOutput() JobTaskNewClusterWorkloadTypeClientsOutput - ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypeClientsOutput +func (o JobTaskNewClusterPtrOutput) AzureAttributes() JobTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(JobTaskNewClusterAzureAttributesPtrOutput) } -type JobTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +func (o JobTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (JobTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskNewClusterPtrOutput) ClusterLogConf() JobTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(JobTaskNewClusterClusterLogConfPtrOutput) } -func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsOutput() JobTaskNewClusterWorkloadTypeClientsOutput { - return i.ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (o JobTaskNewClusterPtrOutput) ClusterMountInfos() JobTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(JobTaskNewClusterClusterMountInfoArrayOutput) } -func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeClientsOutput) +func (o JobTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeClientsOutput).ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (o JobTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -// JobTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobTaskNewClusterWorkloadTypeClientsArgs, JobTaskNewClusterWorkloadTypeClientsPtr and JobTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypeClientsPtrInput` via: -// -// JobTaskNewClusterWorkloadTypeClientsArgs{...} -// -// or: -// -// nil -type JobTaskNewClusterWorkloadTypeClientsPtrInput interface { - pulumi.Input +func (o JobTaskNewClusterPtrOutput) DockerImage() JobTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(JobTaskNewClusterDockerImagePtrOutput) +} - ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput - ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput +func (o JobTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -type jobTaskNewClusterWorkloadTypeClientsPtrType JobTaskNewClusterWorkloadTypeClientsArgs +func (o JobTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) +} -func JobTaskNewClusterWorkloadTypeClientsPtr(v *JobTaskNewClusterWorkloadTypeClientsArgs) JobTaskNewClusterWorkloadTypeClientsPtrInput { - return (*jobTaskNewClusterWorkloadTypeClientsPtrType)(v) +func (o JobTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (*jobTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (i *jobTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterPtrOutput) GcpAttributes() JobTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(JobTaskNewClusterGcpAttributesPtrOutput) } -func (i *jobTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o JobTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterPtrOutput) InitScripts() JobTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(JobTaskNewClusterInitScriptArrayOutput) +} -func (JobTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsOutput() JobTaskNewClusterWorkloadTypeClientsOutput { - return o +func (o JobTaskNewClusterPtrOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.IsSingleNode + }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsOutput { - return o +func (o JobTaskNewClusterPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.Kind + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +// (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. +func (o JobTaskNewClusterPtrOutput) Libraries() JobTaskNewClusterLibraryArrayOutput { + return o.ApplyT(func(v *JobTaskNewCluster) []JobTaskNewClusterLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(JobTaskNewClusterLibraryArrayOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterWorkloadTypeClients) *JobTaskNewClusterWorkloadTypeClients { - return &v - }).(JobTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o JobTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -type JobTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) +} -func (JobTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o JobTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o JobTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.StringMapOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o JobTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.StringMapOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() JobTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *JobTaskNewClusterWorkloadTypeClients) JobTaskNewClusterWorkloadTypeClients { - if v != nil { - return *v +func (o JobTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *string { + if v == nil { + return nil } - var ret JobTaskNewClusterWorkloadTypeClients - return ret - }).(JobTaskNewClusterWorkloadTypeClientsOutput) + return &v.SparkVersion + }).(pulumi.StringPtrOutput) +} + +func (o JobTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskNewCluster) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterWorkloadTypeClients) *bool { +func (o JobTaskNewClusterPtrOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *bool { if v == nil { return nil } - return v.Jobs + return v.UseMlRuntime }).(pulumi.BoolPtrOutput) } -func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNewClusterWorkloadTypeClients) *bool { +// isn't supported +func (o JobTaskNewClusterPtrOutput) WorkloadType() JobTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *JobTaskNewCluster) *JobTaskNewClusterWorkloadType { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return v.WorkloadType + }).(JobTaskNewClusterWorkloadTypePtrOutput) } -type JobTaskNotebookTask struct { - // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - BaseParameters map[string]string `pulumi:"baseParameters"` - // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - NotebookPath string `pulumi:"notebookPath"` - // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. - Source *string `pulumi:"source"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - WarehouseId *string `pulumi:"warehouseId"` +type JobTaskNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// JobTaskNotebookTaskInput is an input type that accepts JobTaskNotebookTaskArgs and JobTaskNotebookTaskOutput values. -// You can construct a concrete instance of `JobTaskNotebookTaskInput` via: +// JobTaskNewClusterAutoscaleInput is an input type that accepts JobTaskNewClusterAutoscaleArgs and JobTaskNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAutoscaleInput` via: // -// JobTaskNotebookTaskArgs{...} -type JobTaskNotebookTaskInput interface { +// JobTaskNewClusterAutoscaleArgs{...} +type JobTaskNewClusterAutoscaleInput interface { pulumi.Input - ToJobTaskNotebookTaskOutput() JobTaskNotebookTaskOutput - ToJobTaskNotebookTaskOutputWithContext(context.Context) JobTaskNotebookTaskOutput + ToJobTaskNewClusterAutoscaleOutput() JobTaskNewClusterAutoscaleOutput + ToJobTaskNewClusterAutoscaleOutputWithContext(context.Context) JobTaskNewClusterAutoscaleOutput } -type JobTaskNotebookTaskArgs struct { - // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` - // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. - Source pulumi.StringPtrInput `pulumi:"source"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type JobTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (JobTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNotebookTask)(nil)).Elem() +func (JobTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAutoscale)(nil)).Elem() } -func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskOutput() JobTaskNotebookTaskOutput { - return i.ToJobTaskNotebookTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscaleOutput() JobTaskNewClusterAutoscaleOutput { + return i.ToJobTaskNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotebookTaskOutput) +func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAutoscaleOutput) } -func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { - return i.ToJobTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { + return i.ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotebookTaskOutput).ToJobTaskNotebookTaskPtrOutputWithContext(ctx) +func (i JobTaskNewClusterAutoscaleArgs) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAutoscaleOutput).ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx) } -// JobTaskNotebookTaskPtrInput is an input type that accepts JobTaskNotebookTaskArgs, JobTaskNotebookTaskPtr and JobTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskNotebookTaskPtrInput` via: +// JobTaskNewClusterAutoscalePtrInput is an input type that accepts JobTaskNewClusterAutoscaleArgs, JobTaskNewClusterAutoscalePtr and JobTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAutoscalePtrInput` via: // -// JobTaskNotebookTaskArgs{...} +// JobTaskNewClusterAutoscaleArgs{...} // // or: // // nil -type JobTaskNotebookTaskPtrInput interface { +type JobTaskNewClusterAutoscalePtrInput interface { pulumi.Input - ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput - ToJobTaskNotebookTaskPtrOutputWithContext(context.Context) JobTaskNotebookTaskPtrOutput + ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput + ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Context) JobTaskNewClusterAutoscalePtrOutput } -type jobTaskNotebookTaskPtrType JobTaskNotebookTaskArgs +type jobTaskNewClusterAutoscalePtrType JobTaskNewClusterAutoscaleArgs -func JobTaskNotebookTaskPtr(v *JobTaskNotebookTaskArgs) JobTaskNotebookTaskPtrInput { - return (*jobTaskNotebookTaskPtrType)(v) +func JobTaskNewClusterAutoscalePtr(v *JobTaskNewClusterAutoscaleArgs) JobTaskNewClusterAutoscalePtrInput { + return (*jobTaskNewClusterAutoscalePtrType)(v) } -func (*jobTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNotebookTask)(nil)).Elem() +func (*jobTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAutoscale)(nil)).Elem() } -func (i *jobTaskNotebookTaskPtrType) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { - return i.ToJobTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterAutoscalePtrType) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { + return i.ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *jobTaskNotebookTaskPtrType) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotebookTaskPtrOutput) +func (i *jobTaskNewClusterAutoscalePtrType) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAutoscalePtrOutput) } -type JobTaskNotebookTaskOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (JobTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNotebookTask)(nil)).Elem() +func (JobTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAutoscale)(nil)).Elem() } -func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskOutput() JobTaskNotebookTaskOutput { +func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscaleOutput() JobTaskNewClusterAutoscaleOutput { return o } -func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskNotebookTaskOutput { +func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscaleOutput { return o } -func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { - return o.ToJobTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { + return o.ToJobTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNotebookTask) *JobTaskNotebookTask { +func (o JobTaskNewClusterAutoscaleOutput) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAutoscale) *JobTaskNewClusterAutoscale { return &v - }).(JobTaskNotebookTaskPtrOutput) -} - -// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. -func (o JobTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) -} - -// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) + }).(JobTaskNewClusterAutoscalePtrOutput) } -// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. -func (o JobTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. -func (o JobTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type JobTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (JobTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNotebookTask)(nil)).Elem() +func (JobTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAutoscale)(nil)).Elem() } -func (o JobTaskNotebookTaskPtrOutput) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { +func (o JobTaskNewClusterAutoscalePtrOutput) ToJobTaskNewClusterAutoscalePtrOutput() JobTaskNewClusterAutoscalePtrOutput { return o } -func (o JobTaskNotebookTaskPtrOutput) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { +func (o JobTaskNewClusterAutoscalePtrOutput) ToJobTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) JobTaskNewClusterAutoscalePtrOutput { return o } -func (o JobTaskNotebookTaskPtrOutput) Elem() JobTaskNotebookTaskOutput { - return o.ApplyT(func(v *JobTaskNotebookTask) JobTaskNotebookTask { +func (o JobTaskNewClusterAutoscalePtrOutput) Elem() JobTaskNewClusterAutoscaleOutput { + return o.ApplyT(func(v *JobTaskNewClusterAutoscale) JobTaskNewClusterAutoscale { if v != nil { return *v } - var ret JobTaskNotebookTask + var ret JobTaskNewClusterAutoscale return ret - }).(JobTaskNotebookTaskOutput) -} - -// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. -func (o JobTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskNotebookTask) map[string]string { - if v == nil { - return nil - } - return v.BaseParameters - }).(pulumi.StringMapOutput) -} - -// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNotebookTask) *string { - if v == nil { - return nil - } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) + }).(JobTaskNewClusterAutoscaleOutput) } -// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. -func (o JobTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNotebookTask) *string { +func (o JobTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.Source - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. -func (o JobTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskNotebookTask) *string { +func (o JobTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type JobTaskNotificationSettings struct { - // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - // (Bool) don't send alert for cancelled runs. - // - // The following parameter is only available on task level. - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - // (Bool) don't send alert for skipped runs. - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +type JobTaskNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// JobTaskNotificationSettingsInput is an input type that accepts JobTaskNotificationSettingsArgs and JobTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `JobTaskNotificationSettingsInput` via: +// JobTaskNewClusterAwsAttributesInput is an input type that accepts JobTaskNewClusterAwsAttributesArgs and JobTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAwsAttributesInput` via: // -// JobTaskNotificationSettingsArgs{...} -type JobTaskNotificationSettingsInput interface { +// JobTaskNewClusterAwsAttributesArgs{...} +type JobTaskNewClusterAwsAttributesInput interface { pulumi.Input - ToJobTaskNotificationSettingsOutput() JobTaskNotificationSettingsOutput - ToJobTaskNotificationSettingsOutputWithContext(context.Context) JobTaskNotificationSettingsOutput + ToJobTaskNewClusterAwsAttributesOutput() JobTaskNewClusterAwsAttributesOutput + ToJobTaskNewClusterAwsAttributesOutputWithContext(context.Context) JobTaskNewClusterAwsAttributesOutput } -type JobTaskNotificationSettingsArgs struct { - // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - // (Bool) don't send alert for cancelled runs. - // - // The following parameter is only available on task level. - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - // (Bool) don't send alert for skipped runs. - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type JobTaskNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (JobTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNotificationSettings)(nil)).Elem() +func (JobTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsOutput() JobTaskNotificationSettingsOutput { - return i.ToJobTaskNotificationSettingsOutputWithContext(context.Background()) +func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesOutput() JobTaskNewClusterAwsAttributesOutput { + return i.ToJobTaskNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotificationSettingsOutput) +func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAwsAttributesOutput) } -func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { - return i.ToJobTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { + return i.ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotificationSettingsOutput).ToJobTaskNotificationSettingsPtrOutputWithContext(ctx) +func (i JobTaskNewClusterAwsAttributesArgs) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAwsAttributesOutput).ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// JobTaskNotificationSettingsPtrInput is an input type that accepts JobTaskNotificationSettingsArgs, JobTaskNotificationSettingsPtr and JobTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `JobTaskNotificationSettingsPtrInput` via: +// JobTaskNewClusterAwsAttributesPtrInput is an input type that accepts JobTaskNewClusterAwsAttributesArgs, JobTaskNewClusterAwsAttributesPtr and JobTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAwsAttributesPtrInput` via: // -// JobTaskNotificationSettingsArgs{...} +// JobTaskNewClusterAwsAttributesArgs{...} // // or: // // nil -type JobTaskNotificationSettingsPtrInput interface { +type JobTaskNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput - ToJobTaskNotificationSettingsPtrOutputWithContext(context.Context) JobTaskNotificationSettingsPtrOutput + ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput + ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) JobTaskNewClusterAwsAttributesPtrOutput } -type jobTaskNotificationSettingsPtrType JobTaskNotificationSettingsArgs +type jobTaskNewClusterAwsAttributesPtrType JobTaskNewClusterAwsAttributesArgs -func JobTaskNotificationSettingsPtr(v *JobTaskNotificationSettingsArgs) JobTaskNotificationSettingsPtrInput { - return (*jobTaskNotificationSettingsPtrType)(v) +func JobTaskNewClusterAwsAttributesPtr(v *JobTaskNewClusterAwsAttributesArgs) JobTaskNewClusterAwsAttributesPtrInput { + return (*jobTaskNewClusterAwsAttributesPtrType)(v) } -func (*jobTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNotificationSettings)(nil)).Elem() +func (*jobTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i *jobTaskNotificationSettingsPtrType) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { - return i.ToJobTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterAwsAttributesPtrType) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { + return i.ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *jobTaskNotificationSettingsPtrType) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotificationSettingsPtrOutput) +func (i *jobTaskNewClusterAwsAttributesPtrType) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAwsAttributesPtrOutput) } -type JobTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (JobTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskNotificationSettings)(nil)).Elem() +func (JobTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAwsAttributes)(nil)).Elem() } -func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsOutput() JobTaskNotificationSettingsOutput { +func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesOutput() JobTaskNewClusterAwsAttributesOutput { return o } -func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskNotificationSettingsOutput { +func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesOutput { return o } -func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { - return o.ToJobTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { + return o.ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNotificationSettings) *JobTaskNotificationSettings { +func (o JobTaskNewClusterAwsAttributesOutput) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAwsAttributes) *JobTaskNewClusterAwsAttributes { return &v - }).(JobTaskNotificationSettingsPtrOutput) -} - -// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. -func (o JobTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) -} - -// (Bool) don't send alert for cancelled runs. -// -// The following parameter is only available on task level. -func (o JobTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) -} - -// (Bool) don't send alert for skipped runs. -func (o JobTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) -} - -type JobTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskNotificationSettings)(nil)).Elem() -} - -func (o JobTaskNotificationSettingsPtrOutput) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { - return o -} - -func (o JobTaskNotificationSettingsPtrOutput) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { - return o -} - -func (o JobTaskNotificationSettingsPtrOutput) Elem() JobTaskNotificationSettingsOutput { - return o.ApplyT(func(v *JobTaskNotificationSettings) JobTaskNotificationSettings { - if v != nil { - return *v - } - var ret JobTaskNotificationSettings - return ret - }).(JobTaskNotificationSettingsOutput) -} - -// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. -func (o JobTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) -} - -// (Bool) don't send alert for cancelled runs. -// -// The following parameter is only available on task level. -func (o JobTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) -} - -// (Bool) don't send alert for skipped runs. -func (o JobTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) -} - -type JobTaskPipelineTask struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh *bool `pulumi:"fullRefresh"` - // The pipeline's unique ID. - PipelineId string `pulumi:"pipelineId"` + }).(JobTaskNewClusterAwsAttributesPtrOutput) } -// JobTaskPipelineTaskInput is an input type that accepts JobTaskPipelineTaskArgs and JobTaskPipelineTaskOutput values. -// You can construct a concrete instance of `JobTaskPipelineTaskInput` via: -// -// JobTaskPipelineTaskArgs{...} -type JobTaskPipelineTaskInput interface { - pulumi.Input - - ToJobTaskPipelineTaskOutput() JobTaskPipelineTaskOutput - ToJobTaskPipelineTaskOutputWithContext(context.Context) JobTaskPipelineTaskOutput +func (o JobTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type JobTaskPipelineTaskArgs struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - // The pipeline's unique ID. - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (JobTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskPipelineTask)(nil)).Elem() +func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) } -func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskOutput() JobTaskPipelineTaskOutput { - return i.ToJobTaskPipelineTaskOutputWithContext(context.Background()) +func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskPipelineTaskOutput) +func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) } -func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { - return i.ToJobTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskPipelineTaskOutput).ToJobTaskPipelineTaskPtrOutputWithContext(ctx) +func (o JobTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -// JobTaskPipelineTaskPtrInput is an input type that accepts JobTaskPipelineTaskArgs, JobTaskPipelineTaskPtr and JobTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskPipelineTaskPtrInput` via: -// -// JobTaskPipelineTaskArgs{...} -// -// or: -// -// nil -type JobTaskPipelineTaskPtrInput interface { - pulumi.Input - - ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput - ToJobTaskPipelineTaskPtrOutputWithContext(context.Context) JobTaskPipelineTaskPtrOutput +func (o JobTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -type jobTaskPipelineTaskPtrType JobTaskPipelineTaskArgs - -func JobTaskPipelineTaskPtr(v *JobTaskPipelineTaskArgs) JobTaskPipelineTaskPtrInput { - return (*jobTaskPipelineTaskPtrType)(v) +func (o JobTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (*jobTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskPipelineTask)(nil)).Elem() +func (o JobTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (i *jobTaskPipelineTaskPtrType) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { - return i.ToJobTaskPipelineTaskPtrOutputWithContext(context.Background()) -} +type JobTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (i *jobTaskPipelineTaskPtrType) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskPipelineTaskPtrOutput) +func (JobTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAwsAttributes)(nil)).Elem() } -type JobTaskPipelineTaskOutput struct{ *pulumi.OutputState } - -func (JobTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskPipelineTask)(nil)).Elem() +func (o JobTaskNewClusterAwsAttributesPtrOutput) ToJobTaskNewClusterAwsAttributesPtrOutput() JobTaskNewClusterAwsAttributesPtrOutput { + return o } -func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskOutput() JobTaskPipelineTaskOutput { +func (o JobTaskNewClusterAwsAttributesPtrOutput) ToJobTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAwsAttributesPtrOutput { return o } -func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskPipelineTaskOutput { - return o +func (o JobTaskNewClusterAwsAttributesPtrOutput) Elem() JobTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) JobTaskNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret JobTaskNewClusterAwsAttributes + return ret + }).(JobTaskNewClusterAwsAttributesOutput) } -func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { - return o.ToJobTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskPipelineTask) *JobTaskPipelineTask { - return &v - }).(JobTaskPipelineTaskPtrOutput) +func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -// The pipeline's unique ID. -func (o JobTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -type JobTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } - -func (JobTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskPipelineTask)(nil)).Elem() +func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) } -func (o JobTaskPipelineTaskPtrOutput) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { - return o +func (o JobTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o JobTaskPipelineTaskPtrOutput) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { - return o +func (o JobTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o JobTaskPipelineTaskPtrOutput) Elem() JobTaskPipelineTaskOutput { - return o.ApplyT(func(v *JobTaskPipelineTask) JobTaskPipelineTask { - if v != nil { - return *v +func (o JobTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil } - var ret JobTaskPipelineTask - return ret - }).(JobTaskPipelineTaskOutput) + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskPipelineTask) *bool { +func (o JobTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -// The pipeline's unique ID. -func (o JobTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskPipelineTask) *string { +func (o JobTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.PipelineId + return v.ZoneId }).(pulumi.StringPtrOutput) } -type JobTaskPythonWheelTask struct { - // Python function as entry point for the task - EntryPoint *string `pulumi:"entryPoint"` - // Named parameters for the task - NamedParameters map[string]string `pulumi:"namedParameters"` - // Name of Python package - PackageName *string `pulumi:"packageName"` - // Parameters for the task - Parameters []string `pulumi:"parameters"` +type JobTaskNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *JobTaskNewClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// JobTaskPythonWheelTaskInput is an input type that accepts JobTaskPythonWheelTaskArgs and JobTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `JobTaskPythonWheelTaskInput` via: +// JobTaskNewClusterAzureAttributesInput is an input type that accepts JobTaskNewClusterAzureAttributesArgs and JobTaskNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesInput` via: // -// JobTaskPythonWheelTaskArgs{...} -type JobTaskPythonWheelTaskInput interface { +// JobTaskNewClusterAzureAttributesArgs{...} +type JobTaskNewClusterAzureAttributesInput interface { pulumi.Input - ToJobTaskPythonWheelTaskOutput() JobTaskPythonWheelTaskOutput - ToJobTaskPythonWheelTaskOutputWithContext(context.Context) JobTaskPythonWheelTaskOutput + ToJobTaskNewClusterAzureAttributesOutput() JobTaskNewClusterAzureAttributesOutput + ToJobTaskNewClusterAzureAttributesOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesOutput } -type JobTaskPythonWheelTaskArgs struct { - // Python function as entry point for the task - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - // Named parameters for the task - NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` - // Name of Python package - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - // Parameters for the task - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobTaskNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (JobTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskPythonWheelTask)(nil)).Elem() +func (JobTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskOutput() JobTaskPythonWheelTaskOutput { - return i.ToJobTaskPythonWheelTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesOutput() JobTaskNewClusterAzureAttributesOutput { + return i.ToJobTaskNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskPythonWheelTaskOutput) +func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesOutput) } -func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { - return i.ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { + return i.ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskPythonWheelTaskOutput).ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (i JobTaskNewClusterAzureAttributesArgs) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesOutput).ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// JobTaskPythonWheelTaskPtrInput is an input type that accepts JobTaskPythonWheelTaskArgs, JobTaskPythonWheelTaskPtr and JobTaskPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskPythonWheelTaskPtrInput` via: +// JobTaskNewClusterAzureAttributesPtrInput is an input type that accepts JobTaskNewClusterAzureAttributesArgs, JobTaskNewClusterAzureAttributesPtr and JobTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesPtrInput` via: // -// JobTaskPythonWheelTaskArgs{...} +// JobTaskNewClusterAzureAttributesArgs{...} // // or: // // nil -type JobTaskPythonWheelTaskPtrInput interface { +type JobTaskNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput - ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Context) JobTaskPythonWheelTaskPtrOutput + ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput + ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesPtrOutput } -type jobTaskPythonWheelTaskPtrType JobTaskPythonWheelTaskArgs +type jobTaskNewClusterAzureAttributesPtrType JobTaskNewClusterAzureAttributesArgs -func JobTaskPythonWheelTaskPtr(v *JobTaskPythonWheelTaskArgs) JobTaskPythonWheelTaskPtrInput { - return (*jobTaskPythonWheelTaskPtrType)(v) +func JobTaskNewClusterAzureAttributesPtr(v *JobTaskNewClusterAzureAttributesArgs) JobTaskNewClusterAzureAttributesPtrInput { + return (*jobTaskNewClusterAzureAttributesPtrType)(v) } -func (*jobTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskPythonWheelTask)(nil)).Elem() +func (*jobTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i *jobTaskPythonWheelTaskPtrType) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { - return i.ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterAzureAttributesPtrType) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { + return i.ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *jobTaskPythonWheelTaskPtrType) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskPythonWheelTaskPtrOutput) +func (i *jobTaskNewClusterAzureAttributesPtrType) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesPtrOutput) } -type JobTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (JobTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskPythonWheelTask)(nil)).Elem() +func (JobTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskOutput() JobTaskPythonWheelTaskOutput { +func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesOutput() JobTaskNewClusterAzureAttributesOutput { return o } -func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskOutput { +func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesOutput { return o } -func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { - return o.ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { + return o.ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskPythonWheelTask) *JobTaskPythonWheelTask { +func (o JobTaskNewClusterAzureAttributesOutput) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAzureAttributes) *JobTaskNewClusterAzureAttributes { return &v - }).(JobTaskPythonWheelTaskPtrOutput) + }).(JobTaskNewClusterAzureAttributesPtrOutput) } -// Python function as entry point for the task -func (o JobTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// Named parameters for the task -func (o JobTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) +func (o JobTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -// Name of Python package -func (o JobTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterAzureAttributesOutput) LogAnalyticsInfo() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *JobTaskNewClusterAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// Parameters for the task -func (o JobTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type JobTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (JobTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskPythonWheelTask)(nil)).Elem() +func (JobTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o JobTaskPythonWheelTaskPtrOutput) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { +func (o JobTaskNewClusterAzureAttributesPtrOutput) ToJobTaskNewClusterAzureAttributesPtrOutput() JobTaskNewClusterAzureAttributesPtrOutput { return o } -func (o JobTaskPythonWheelTaskPtrOutput) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { +func (o JobTaskNewClusterAzureAttributesPtrOutput) ToJobTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesPtrOutput { return o } -func (o JobTaskPythonWheelTaskPtrOutput) Elem() JobTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *JobTaskPythonWheelTask) JobTaskPythonWheelTask { +func (o JobTaskNewClusterAzureAttributesPtrOutput) Elem() JobTaskNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) JobTaskNewClusterAzureAttributes { if v != nil { return *v } - var ret JobTaskPythonWheelTask + var ret JobTaskNewClusterAzureAttributes return ret - }).(JobTaskPythonWheelTaskOutput) + }).(JobTaskNewClusterAzureAttributesOutput) } -// Python function as entry point for the task -func (o JobTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskPythonWheelTask) *string { +func (o JobTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.EntryPoint + return v.Availability }).(pulumi.StringPtrOutput) } -// Named parameters for the task -func (o JobTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskPythonWheelTask) map[string]string { +func (o JobTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.NamedParameters - }).(pulumi.StringMapOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// Name of Python package -func (o JobTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskPythonWheelTask) *string { +func (o JobTaskNewClusterAzureAttributesPtrOutput) LogAnalyticsInfo() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *JobTaskNewClusterAzureAttributesLogAnalyticsInfo { if v == nil { return nil } - return v.PackageName - }).(pulumi.StringPtrOutput) + return v.LogAnalyticsInfo + }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -// Parameters for the task -func (o JobTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskPythonWheelTask) []string { +func (o JobTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type JobTaskRunJobTask struct { - DbtCommands []string `pulumi:"dbtCommands"` - JarParams []string `pulumi:"jarParams"` - // (String) ID of the job - JobId int `pulumi:"jobId"` - // (Map) Job parameters for the task - JobParameters map[string]string `pulumi:"jobParameters"` - NotebookParams map[string]string `pulumi:"notebookParams"` - PipelineParams *JobTaskRunJobTaskPipelineParams `pulumi:"pipelineParams"` - PythonNamedParams map[string]string `pulumi:"pythonNamedParams"` - PythonParams []string `pulumi:"pythonParams"` - SparkSubmitParams []string `pulumi:"sparkSubmitParams"` - SqlParams map[string]string `pulumi:"sqlParams"` +type JobTaskNewClusterAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` } -// JobTaskRunJobTaskInput is an input type that accepts JobTaskRunJobTaskArgs and JobTaskRunJobTaskOutput values. -// You can construct a concrete instance of `JobTaskRunJobTaskInput` via: +// JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs and JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput` via: // -// JobTaskRunJobTaskArgs{...} -type JobTaskRunJobTaskInput interface { +// JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} +type JobTaskNewClusterAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToJobTaskRunJobTaskOutput() JobTaskRunJobTaskOutput - ToJobTaskRunJobTaskOutputWithContext(context.Context) JobTaskRunJobTaskOutput + ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput + ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput } -type JobTaskRunJobTaskArgs struct { - DbtCommands pulumi.StringArrayInput `pulumi:"dbtCommands"` - JarParams pulumi.StringArrayInput `pulumi:"jarParams"` - // (String) ID of the job - JobId pulumi.IntInput `pulumi:"jobId"` - // (Map) Job parameters for the task - JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` - NotebookParams pulumi.StringMapInput `pulumi:"notebookParams"` - PipelineParams JobTaskRunJobTaskPipelineParamsPtrInput `pulumi:"pipelineParams"` - PythonNamedParams pulumi.StringMapInput `pulumi:"pythonNamedParams"` - PythonParams pulumi.StringArrayInput `pulumi:"pythonParams"` - SparkSubmitParams pulumi.StringArrayInput `pulumi:"sparkSubmitParams"` - SqlParams pulumi.StringMapInput `pulumi:"sqlParams"` +type JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (JobTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskRunJobTask)(nil)).Elem() +func (JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskOutput() JobTaskRunJobTaskOutput { - return i.ToJobTaskRunJobTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { + return i.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskOutput) +func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { - return i.ToJobTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskOutput).ToJobTaskRunJobTaskPtrOutputWithContext(ctx) +func (i JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput).ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// JobTaskRunJobTaskPtrInput is an input type that accepts JobTaskRunJobTaskArgs, JobTaskRunJobTaskPtr and JobTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskRunJobTaskPtrInput` via: +// JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs, JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtr and JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput` via: // -// JobTaskRunJobTaskArgs{...} +// JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type JobTaskRunJobTaskPtrInput interface { +type JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput - ToJobTaskRunJobTaskPtrOutputWithContext(context.Context) JobTaskRunJobTaskPtrOutput + ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput } -type jobTaskRunJobTaskPtrType JobTaskRunJobTaskArgs +type jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs -func JobTaskRunJobTaskPtr(v *JobTaskRunJobTaskArgs) JobTaskRunJobTaskPtrInput { - return (*jobTaskRunJobTaskPtrType)(v) +func JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtr(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrInput { + return (*jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*jobTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskRunJobTask)(nil)).Elem() +func (*jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *jobTaskRunJobTaskPtrType) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { - return i.ToJobTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *jobTaskRunJobTaskPtrType) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPtrOutput) +func (i *jobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrType) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -type JobTaskRunJobTaskOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (JobTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskRunJobTask)(nil)).Elem() +func (JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskOutput() JobTaskRunJobTaskOutput { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskRunJobTaskOutput { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { - return o.ToJobTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskRunJobTask) *JobTaskRunJobTask { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *JobTaskNewClusterAzureAttributesLogAnalyticsInfo { return &v - }).(JobTaskRunJobTaskPtrOutput) -} - -func (o JobTaskRunJobTaskOutput) DbtCommands() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.DbtCommands }).(pulumi.StringArrayOutput) -} - -func (o JobTaskRunJobTaskOutput) JarParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.JarParams }).(pulumi.StringArrayOutput) -} - -// (String) ID of the job -func (o JobTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v JobTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) -} - -// (Map) Job parameters for the task -func (o JobTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) -} - -func (o JobTaskRunJobTaskOutput) NotebookParams() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.NotebookParams }).(pulumi.StringMapOutput) -} - -func (o JobTaskRunJobTaskOutput) PipelineParams() JobTaskRunJobTaskPipelineParamsPtrOutput { - return o.ApplyT(func(v JobTaskRunJobTask) *JobTaskRunJobTaskPipelineParams { return v.PipelineParams }).(JobTaskRunJobTaskPipelineParamsPtrOutput) -} - -func (o JobTaskRunJobTaskOutput) PythonNamedParams() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.PythonNamedParams }).(pulumi.StringMapOutput) -} - -func (o JobTaskRunJobTaskOutput) PythonParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.PythonParams }).(pulumi.StringArrayOutput) + }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o JobTaskRunJobTaskOutput) SparkSubmitParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.SparkSubmitParams }).(pulumi.StringArrayOutput) +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -func (o JobTaskRunJobTaskOutput) SqlParams() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.SqlParams }).(pulumi.StringMapOutput) +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) } -type JobTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } -func (JobTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskRunJobTask)(nil)).Elem() +func (JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o JobTaskRunJobTaskPtrOutput) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput() JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o JobTaskRunJobTaskPtrOutput) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToJobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o JobTaskRunJobTaskPtrOutput) Elem() JobTaskRunJobTaskOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) JobTaskRunJobTask { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfo) JobTaskNewClusterAzureAttributesLogAnalyticsInfo { if v != nil { return *v } - var ret JobTaskRunJobTask - return ret - }).(JobTaskRunJobTaskOutput) -} - -func (o JobTaskRunJobTaskPtrOutput) DbtCommands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) []string { - if v == nil { - return nil - } - return v.DbtCommands - }).(pulumi.StringArrayOutput) -} - -func (o JobTaskRunJobTaskPtrOutput) JarParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) []string { - if v == nil { - return nil - } - return v.JarParams - }).(pulumi.StringArrayOutput) -} - -// (String) ID of the job -func (o JobTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) *int { - if v == nil { - return nil - } - return &v.JobId - }).(pulumi.IntPtrOutput) -} - -// (Map) Job parameters for the task -func (o JobTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { - if v == nil { - return nil - } - return v.JobParameters - }).(pulumi.StringMapOutput) -} - -func (o JobTaskRunJobTaskPtrOutput) NotebookParams() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { - if v == nil { - return nil - } - return v.NotebookParams - }).(pulumi.StringMapOutput) -} - -func (o JobTaskRunJobTaskPtrOutput) PipelineParams() JobTaskRunJobTaskPipelineParamsPtrOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) *JobTaskRunJobTaskPipelineParams { - if v == nil { - return nil - } - return v.PipelineParams - }).(JobTaskRunJobTaskPipelineParamsPtrOutput) -} - -func (o JobTaskRunJobTaskPtrOutput) PythonNamedParams() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { - if v == nil { - return nil - } - return v.PythonNamedParams - }).(pulumi.StringMapOutput) -} - -func (o JobTaskRunJobTaskPtrOutput) PythonParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) []string { - if v == nil { - return nil - } - return v.PythonParams - }).(pulumi.StringArrayOutput) + var ret JobTaskNewClusterAzureAttributesLogAnalyticsInfo + return ret + }).(JobTaskNewClusterAzureAttributesLogAnalyticsInfoOutput) } -func (o JobTaskRunJobTaskPtrOutput) SparkSubmitParams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) []string { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.SparkSubmitParams - }).(pulumi.StringArrayOutput) + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) } -func (o JobTaskRunJobTaskPtrOutput) SqlParams() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { +func (o JobTaskNewClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.SqlParams - }).(pulumi.StringMapOutput) + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -type JobTaskRunJobTaskPipelineParams struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh *bool `pulumi:"fullRefresh"` +type JobTaskNewClusterClusterLogConf struct { + Dbfs *JobTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *JobTaskNewClusterClusterLogConfS3 `pulumi:"s3"` } -// JobTaskRunJobTaskPipelineParamsInput is an input type that accepts JobTaskRunJobTaskPipelineParamsArgs and JobTaskRunJobTaskPipelineParamsOutput values. -// You can construct a concrete instance of `JobTaskRunJobTaskPipelineParamsInput` via: +// JobTaskNewClusterClusterLogConfInput is an input type that accepts JobTaskNewClusterClusterLogConfArgs and JobTaskNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfInput` via: // -// JobTaskRunJobTaskPipelineParamsArgs{...} -type JobTaskRunJobTaskPipelineParamsInput interface { +// JobTaskNewClusterClusterLogConfArgs{...} +type JobTaskNewClusterClusterLogConfInput interface { pulumi.Input - ToJobTaskRunJobTaskPipelineParamsOutput() JobTaskRunJobTaskPipelineParamsOutput - ToJobTaskRunJobTaskPipelineParamsOutputWithContext(context.Context) JobTaskRunJobTaskPipelineParamsOutput + ToJobTaskNewClusterClusterLogConfOutput() JobTaskNewClusterClusterLogConfOutput + ToJobTaskNewClusterClusterLogConfOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfOutput } -type JobTaskRunJobTaskPipelineParamsArgs struct { - // (Bool) Specifies if there should be full refresh of the pipeline. - // - // > The following configuration blocks are only supported inside a `task` block - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` +type JobTaskNewClusterClusterLogConfArgs struct { + Dbfs JobTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 JobTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (JobTaskRunJobTaskPipelineParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskRunJobTaskPipelineParams)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsOutput() JobTaskRunJobTaskPipelineParamsOutput { - return i.ToJobTaskRunJobTaskPipelineParamsOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfOutput() JobTaskNewClusterClusterLogConfOutput { + return i.ToJobTaskNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPipelineParamsOutput) +func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfOutput) } -func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { - return i.ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { + return i.ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPipelineParamsOutput).ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx) +func (i JobTaskNewClusterClusterLogConfArgs) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfOutput).ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// JobTaskRunJobTaskPipelineParamsPtrInput is an input type that accepts JobTaskRunJobTaskPipelineParamsArgs, JobTaskRunJobTaskPipelineParamsPtr and JobTaskRunJobTaskPipelineParamsPtrOutput values. -// You can construct a concrete instance of `JobTaskRunJobTaskPipelineParamsPtrInput` via: +// JobTaskNewClusterClusterLogConfPtrInput is an input type that accepts JobTaskNewClusterClusterLogConfArgs, JobTaskNewClusterClusterLogConfPtr and JobTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfPtrInput` via: // -// JobTaskRunJobTaskPipelineParamsArgs{...} +// JobTaskNewClusterClusterLogConfArgs{...} // // or: // // nil -type JobTaskRunJobTaskPipelineParamsPtrInput interface { +type JobTaskNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput - ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput + ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput + ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfPtrOutput } -type jobTaskRunJobTaskPipelineParamsPtrType JobTaskRunJobTaskPipelineParamsArgs +type jobTaskNewClusterClusterLogConfPtrType JobTaskNewClusterClusterLogConfArgs -func JobTaskRunJobTaskPipelineParamsPtr(v *JobTaskRunJobTaskPipelineParamsArgs) JobTaskRunJobTaskPipelineParamsPtrInput { - return (*jobTaskRunJobTaskPipelineParamsPtrType)(v) +func JobTaskNewClusterClusterLogConfPtr(v *JobTaskNewClusterClusterLogConfArgs) JobTaskNewClusterClusterLogConfPtrInput { + return (*jobTaskNewClusterClusterLogConfPtrType)(v) } -func (*jobTaskRunJobTaskPipelineParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskRunJobTaskPipelineParams)(nil)).Elem() +func (*jobTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i *jobTaskRunJobTaskPipelineParamsPtrType) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { - return i.ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterClusterLogConfPtrType) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { + return i.ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *jobTaskRunJobTaskPipelineParamsPtrType) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPipelineParamsPtrOutput) +func (i *jobTaskNewClusterClusterLogConfPtrType) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfPtrOutput) } -type JobTaskRunJobTaskPipelineParamsOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (JobTaskRunJobTaskPipelineParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskRunJobTaskPipelineParams)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsOutput() JobTaskRunJobTaskPipelineParamsOutput { +func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfOutput() JobTaskNewClusterClusterLogConfOutput { return o } -func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsOutput { +func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfOutput { return o } -func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { - return o.ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { + return o.ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskRunJobTaskPipelineParams) *JobTaskRunJobTaskPipelineParams { +func (o JobTaskNewClusterClusterLogConfOutput) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConf { return &v - }).(JobTaskRunJobTaskPipelineParamsPtrOutput) + }).(JobTaskNewClusterClusterLogConfPtrOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskRunJobTaskPipelineParamsOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskRunJobTaskPipelineParams) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterClusterLogConfOutput) Dbfs() JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfDbfs { return v.Dbfs }).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) } -type JobTaskRunJobTaskPipelineParamsPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterClusterLogConfOutput) S3() JobTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfS3 { return v.S3 }).(JobTaskNewClusterClusterLogConfS3PtrOutput) +} -func (JobTaskRunJobTaskPipelineParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskRunJobTaskPipelineParams)(nil)).Elem() +type JobTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o JobTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { +func (o JobTaskNewClusterClusterLogConfPtrOutput) ToJobTaskNewClusterClusterLogConfPtrOutput() JobTaskNewClusterClusterLogConfPtrOutput { return o } -func (o JobTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { +func (o JobTaskNewClusterClusterLogConfPtrOutput) ToJobTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfPtrOutput { return o } -func (o JobTaskRunJobTaskPipelineParamsPtrOutput) Elem() JobTaskRunJobTaskPipelineParamsOutput { - return o.ApplyT(func(v *JobTaskRunJobTaskPipelineParams) JobTaskRunJobTaskPipelineParams { +func (o JobTaskNewClusterClusterLogConfPtrOutput) Elem() JobTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConf) JobTaskNewClusterClusterLogConf { if v != nil { return *v } - var ret JobTaskRunJobTaskPipelineParams + var ret JobTaskNewClusterClusterLogConf return ret - }).(JobTaskRunJobTaskPipelineParamsOutput) + }).(JobTaskNewClusterClusterLogConfOutput) } -// (Bool) Specifies if there should be full refresh of the pipeline. -// -// > The following configuration blocks are only supported inside a `task` block -func (o JobTaskRunJobTaskPipelineParamsPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskRunJobTaskPipelineParams) *bool { +func (o JobTaskNewClusterClusterLogConfPtrOutput) Dbfs() JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfDbfs { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.Dbfs + }).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) } -type JobTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - MainClassName *string `pulumi:"mainClassName"` - // (List) Parameters passed to the main method. - Parameters []string `pulumi:"parameters"` +func (o JobTaskNewClusterClusterLogConfPtrOutput) S3() JobTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConf) *JobTaskNewClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(JobTaskNewClusterClusterLogConfS3PtrOutput) } -// JobTaskSparkJarTaskInput is an input type that accepts JobTaskSparkJarTaskArgs and JobTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `JobTaskSparkJarTaskInput` via: +type JobTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// JobTaskNewClusterClusterLogConfDbfsInput is an input type that accepts JobTaskNewClusterClusterLogConfDbfsArgs and JobTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfDbfsInput` via: // -// JobTaskSparkJarTaskArgs{...} -type JobTaskSparkJarTaskInput interface { +// JobTaskNewClusterClusterLogConfDbfsArgs{...} +type JobTaskNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToJobTaskSparkJarTaskOutput() JobTaskSparkJarTaskOutput - ToJobTaskSparkJarTaskOutputWithContext(context.Context) JobTaskSparkJarTaskOutput + ToJobTaskNewClusterClusterLogConfDbfsOutput() JobTaskNewClusterClusterLogConfDbfsOutput + ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfDbfsOutput } -type JobTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - // (List) Parameters passed to the main method. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSparkJarTask)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskOutput() JobTaskSparkJarTaskOutput { - return i.ToJobTaskSparkJarTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsOutput() JobTaskNewClusterClusterLogConfDbfsOutput { + return i.ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkJarTaskOutput) +func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfDbfsOutput) } -func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { - return i.ToJobTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkJarTaskOutput).ToJobTaskSparkJarTaskPtrOutputWithContext(ctx) +func (i JobTaskNewClusterClusterLogConfDbfsArgs) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfDbfsOutput).ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// JobTaskSparkJarTaskPtrInput is an input type that accepts JobTaskSparkJarTaskArgs, JobTaskSparkJarTaskPtr and JobTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskSparkJarTaskPtrInput` via: +// JobTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts JobTaskNewClusterClusterLogConfDbfsArgs, JobTaskNewClusterClusterLogConfDbfsPtr and JobTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfDbfsPtrInput` via: // -// JobTaskSparkJarTaskArgs{...} +// JobTaskNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type JobTaskSparkJarTaskPtrInput interface { +type JobTaskNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput - ToJobTaskSparkJarTaskPtrOutputWithContext(context.Context) JobTaskSparkJarTaskPtrOutput + ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput + ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput } -type jobTaskSparkJarTaskPtrType JobTaskSparkJarTaskArgs +type jobTaskNewClusterClusterLogConfDbfsPtrType JobTaskNewClusterClusterLogConfDbfsArgs -func JobTaskSparkJarTaskPtr(v *JobTaskSparkJarTaskArgs) JobTaskSparkJarTaskPtrInput { - return (*jobTaskSparkJarTaskPtrType)(v) +func JobTaskNewClusterClusterLogConfDbfsPtr(v *JobTaskNewClusterClusterLogConfDbfsArgs) JobTaskNewClusterClusterLogConfDbfsPtrInput { + return (*jobTaskNewClusterClusterLogConfDbfsPtrType)(v) } -func (*jobTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSparkJarTask)(nil)).Elem() +func (*jobTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *jobTaskSparkJarTaskPtrType) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { - return i.ToJobTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *jobTaskSparkJarTaskPtrType) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkJarTaskPtrOutput) +func (i *jobTaskNewClusterClusterLogConfDbfsPtrType) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) } -type JobTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (JobTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSparkJarTask)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskOutput() JobTaskSparkJarTaskOutput { +func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsOutput() JobTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskSparkJarTaskOutput { +func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { - return o.ToJobTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSparkJarTask) *JobTaskSparkJarTask { +func (o JobTaskNewClusterClusterLogConfDbfsOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterClusterLogConfDbfs) *JobTaskNewClusterClusterLogConfDbfs { return &v - }).(JobTaskSparkJarTaskPtrOutput) -} - -func (o JobTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) -} - -// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. -func (o JobTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) + }).(JobTaskNewClusterClusterLogConfDbfsPtrOutput) } -// (List) Parameters passed to the main method. -func (o JobTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSparkJarTask)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o JobTaskSparkJarTaskPtrOutput) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { +func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutput() JobTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o JobTaskSparkJarTaskPtrOutput) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { +func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) ToJobTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o JobTaskSparkJarTaskPtrOutput) Elem() JobTaskSparkJarTaskOutput { - return o.ApplyT(func(v *JobTaskSparkJarTask) JobTaskSparkJarTask { +func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() JobTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfDbfs) JobTaskNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret JobTaskSparkJarTask + var ret JobTaskNewClusterClusterLogConfDbfs return ret - }).(JobTaskSparkJarTaskOutput) -} - -func (o JobTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSparkJarTask) *string { - if v == nil { - return nil - } - return v.JarUri - }).(pulumi.StringPtrOutput) + }).(JobTaskNewClusterClusterLogConfDbfsOutput) } -// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. -func (o JobTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSparkJarTask) *string { +func (o JobTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.MainClassName + return &v.Destination }).(pulumi.StringPtrOutput) } -// (List) Parameters passed to the main method. -func (o JobTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskSparkJarTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type JobTaskSparkPythonTask struct { - // (List) Command line parameters passed to the Python file. - Parameters []string `pulumi:"parameters"` - // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - PythonFile string `pulumi:"pythonFile"` - // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. - Source *string `pulumi:"source"` +type JobTaskNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobTaskSparkPythonTaskInput is an input type that accepts JobTaskSparkPythonTaskArgs and JobTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `JobTaskSparkPythonTaskInput` via: +// JobTaskNewClusterClusterLogConfS3Input is an input type that accepts JobTaskNewClusterClusterLogConfS3Args and JobTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfS3Input` via: // -// JobTaskSparkPythonTaskArgs{...} -type JobTaskSparkPythonTaskInput interface { +// JobTaskNewClusterClusterLogConfS3Args{...} +type JobTaskNewClusterClusterLogConfS3Input interface { pulumi.Input - ToJobTaskSparkPythonTaskOutput() JobTaskSparkPythonTaskOutput - ToJobTaskSparkPythonTaskOutputWithContext(context.Context) JobTaskSparkPythonTaskOutput + ToJobTaskNewClusterClusterLogConfS3Output() JobTaskNewClusterClusterLogConfS3Output + ToJobTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) JobTaskNewClusterClusterLogConfS3Output } -type JobTaskSparkPythonTaskArgs struct { - // (List) Command line parameters passed to the Python file. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. - Source pulumi.StringPtrInput `pulumi:"source"` +type JobTaskNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSparkPythonTask)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskOutput() JobTaskSparkPythonTaskOutput { - return i.ToJobTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3Output() JobTaskNewClusterClusterLogConfS3Output { + return i.ToJobTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkPythonTaskOutput) +func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfS3Output) } -func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { - return i.ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkPythonTaskOutput).ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx) +func (i JobTaskNewClusterClusterLogConfS3Args) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfS3Output).ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// JobTaskSparkPythonTaskPtrInput is an input type that accepts JobTaskSparkPythonTaskArgs, JobTaskSparkPythonTaskPtr and JobTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskSparkPythonTaskPtrInput` via: +// JobTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts JobTaskNewClusterClusterLogConfS3Args, JobTaskNewClusterClusterLogConfS3Ptr and JobTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterLogConfS3PtrInput` via: // -// JobTaskSparkPythonTaskArgs{...} +// JobTaskNewClusterClusterLogConfS3Args{...} // // or: // // nil -type JobTaskSparkPythonTaskPtrInput interface { +type JobTaskNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput - ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Context) JobTaskSparkPythonTaskPtrOutput + ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput + ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput } -type jobTaskSparkPythonTaskPtrType JobTaskSparkPythonTaskArgs +type jobTaskNewClusterClusterLogConfS3PtrType JobTaskNewClusterClusterLogConfS3Args -func JobTaskSparkPythonTaskPtr(v *JobTaskSparkPythonTaskArgs) JobTaskSparkPythonTaskPtrInput { - return (*jobTaskSparkPythonTaskPtrType)(v) +func JobTaskNewClusterClusterLogConfS3Ptr(v *JobTaskNewClusterClusterLogConfS3Args) JobTaskNewClusterClusterLogConfS3PtrInput { + return (*jobTaskNewClusterClusterLogConfS3PtrType)(v) } -func (*jobTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSparkPythonTask)(nil)).Elem() +func (*jobTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *jobTaskSparkPythonTaskPtrType) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { - return i.ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterClusterLogConfS3PtrType) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *jobTaskSparkPythonTaskPtrType) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkPythonTaskPtrOutput) +func (i *jobTaskNewClusterClusterLogConfS3PtrType) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterLogConfS3PtrOutput) } -type JobTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (JobTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSparkPythonTask)(nil)).Elem() +func (JobTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskOutput() JobTaskSparkPythonTaskOutput { +func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3Output() JobTaskNewClusterClusterLogConfS3Output { return o } -func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskOutput { +func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3Output { return o } -func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { - return o.ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSparkPythonTask) *JobTaskSparkPythonTask { +func (o JobTaskNewClusterClusterLogConfS3Output) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterClusterLogConfS3) *JobTaskNewClusterClusterLogConfS3 { return &v - }).(JobTaskSparkPythonTaskPtrOutput) + }).(JobTaskNewClusterClusterLogConfS3PtrOutput) } -// (List) Command line parameters passed to the Python file. -func (o JobTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o JobTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o JobTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. -func (o JobTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -type JobTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} -func (JobTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSparkPythonTask)(nil)).Elem() +func (o JobTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o JobTaskSparkPythonTaskPtrOutput) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { +func (o JobTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o JobTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type JobTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskNewClusterClusterLogConfS3PtrOutput() JobTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobTaskSparkPythonTaskPtrOutput) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) ToJobTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o JobTaskSparkPythonTaskPtrOutput) Elem() JobTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *JobTaskSparkPythonTask) JobTaskSparkPythonTask { - if v != nil { - return *v +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Elem() JobTaskNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) JobTaskNewClusterClusterLogConfS3 { + if v != nil { + return *v + } + var ret JobTaskNewClusterClusterLogConfS3 + return ret + }).(JobTaskNewClusterClusterLogConfS3Output) +} + +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) +} + +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil } - var ret JobTaskSparkPythonTask - return ret - }).(JobTaskSparkPythonTaskOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -// (List) Command line parameters passed to the Python file. -func (o JobTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskSparkPythonTask) []string { +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. -func (o JobTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSparkPythonTask) *string { +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.PythonFile + return v.KmsKey }).(pulumi.StringPtrOutput) } -// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. -func (o JobTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSparkPythonTask) *string { +func (o JobTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Source + return v.Region }).(pulumi.StringPtrOutput) } -type JobTaskSparkSubmitTask struct { - // (List) Command-line parameters passed to spark submit. - Parameters []string `pulumi:"parameters"` +type JobTaskNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -// JobTaskSparkSubmitTaskInput is an input type that accepts JobTaskSparkSubmitTaskArgs and JobTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `JobTaskSparkSubmitTaskInput` via: +// JobTaskNewClusterClusterMountInfoInput is an input type that accepts JobTaskNewClusterClusterMountInfoArgs and JobTaskNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterMountInfoInput` via: // -// JobTaskSparkSubmitTaskArgs{...} -type JobTaskSparkSubmitTaskInput interface { +// JobTaskNewClusterClusterMountInfoArgs{...} +type JobTaskNewClusterClusterMountInfoInput interface { pulumi.Input - ToJobTaskSparkSubmitTaskOutput() JobTaskSparkSubmitTaskOutput - ToJobTaskSparkSubmitTaskOutputWithContext(context.Context) JobTaskSparkSubmitTaskOutput + ToJobTaskNewClusterClusterMountInfoOutput() JobTaskNewClusterClusterMountInfoOutput + ToJobTaskNewClusterClusterMountInfoOutputWithContext(context.Context) JobTaskNewClusterClusterMountInfoOutput } -type JobTaskSparkSubmitTaskArgs struct { - // (List) Command-line parameters passed to spark submit. - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type JobTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (JobTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSparkSubmitTask)(nil)).Elem() +func (JobTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskOutput() JobTaskSparkSubmitTaskOutput { - return i.ToJobTaskSparkSubmitTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterClusterMountInfoArgs) ToJobTaskNewClusterClusterMountInfoOutput() JobTaskNewClusterClusterMountInfoOutput { + return i.ToJobTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) } -func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkSubmitTaskOutput) +func (i JobTaskNewClusterClusterMountInfoArgs) ToJobTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterMountInfoOutput) } -func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { - return i.ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +// JobTaskNewClusterClusterMountInfoArrayInput is an input type that accepts JobTaskNewClusterClusterMountInfoArray and JobTaskNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterMountInfoArrayInput` via: +// +// JobTaskNewClusterClusterMountInfoArray{ JobTaskNewClusterClusterMountInfoArgs{...} } +type JobTaskNewClusterClusterMountInfoArrayInput interface { + pulumi.Input + + ToJobTaskNewClusterClusterMountInfoArrayOutput() JobTaskNewClusterClusterMountInfoArrayOutput + ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) JobTaskNewClusterClusterMountInfoArrayOutput } -func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkSubmitTaskOutput).ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx) +type JobTaskNewClusterClusterMountInfoArray []JobTaskNewClusterClusterMountInfoInput + +func (JobTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskNewClusterClusterMountInfo)(nil)).Elem() } -// JobTaskSparkSubmitTaskPtrInput is an input type that accepts JobTaskSparkSubmitTaskArgs, JobTaskSparkSubmitTaskPtr and JobTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskSparkSubmitTaskPtrInput` via: -// -// JobTaskSparkSubmitTaskArgs{...} -// -// or: -// -// nil -type JobTaskSparkSubmitTaskPtrInput interface { - pulumi.Input +func (i JobTaskNewClusterClusterMountInfoArray) ToJobTaskNewClusterClusterMountInfoArrayOutput() JobTaskNewClusterClusterMountInfoArrayOutput { + return i.ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +} - ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput - ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Context) JobTaskSparkSubmitTaskPtrOutput +func (i JobTaskNewClusterClusterMountInfoArray) ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterMountInfoArrayOutput) } -type jobTaskSparkSubmitTaskPtrType JobTaskSparkSubmitTaskArgs +type JobTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func JobTaskSparkSubmitTaskPtr(v *JobTaskSparkSubmitTaskArgs) JobTaskSparkSubmitTaskPtrInput { - return (*jobTaskSparkSubmitTaskPtrType)(v) +func (JobTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (*jobTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSparkSubmitTask)(nil)).Elem() +func (o JobTaskNewClusterClusterMountInfoOutput) ToJobTaskNewClusterClusterMountInfoOutput() JobTaskNewClusterClusterMountInfoOutput { + return o } -func (i *jobTaskSparkSubmitTaskPtrType) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { - return i.ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterClusterMountInfoOutput) ToJobTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoOutput { + return o } -func (i *jobTaskSparkSubmitTaskPtrType) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkSubmitTaskPtrOutput) +func (o JobTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -type JobTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterMountInfo) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} -func (JobTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSparkSubmitTask)(nil)).Elem() +func (o JobTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskOutput() JobTaskSparkSubmitTaskOutput { +type JobTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskNewClusterClusterMountInfo)(nil)).Elem() +} + +func (o JobTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskNewClusterClusterMountInfoArrayOutput() JobTaskNewClusterClusterMountInfoArrayOutput { return o } -func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskOutput { +func (o JobTaskNewClusterClusterMountInfoArrayOutput) ToJobTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoArrayOutput { return o } -func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { - return o.ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) JobTaskNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskNewClusterClusterMountInfo { + return vs[0].([]JobTaskNewClusterClusterMountInfo)[vs[1].(int)] + }).(JobTaskNewClusterClusterMountInfoOutput) } -func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSparkSubmitTask) *JobTaskSparkSubmitTask { - return &v - }).(JobTaskSparkSubmitTaskPtrOutput) +type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -// (List) Command-line parameters passed to spark submit. -func (o JobTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +// JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -type JobTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +} -func (JobTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSparkSubmitTask)(nil)).Elem() +func (JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o JobTaskSparkSubmitTaskPtrOutput) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { +func (i JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +} + +func (i JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +type JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o JobTaskSparkSubmitTaskPtrOutput) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { +func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToJobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o JobTaskSparkSubmitTaskPtrOutput) Elem() JobTaskSparkSubmitTaskOutput { - return o.ApplyT(func(v *JobTaskSparkSubmitTask) JobTaskSparkSubmitTask { - if v != nil { - return *v - } - var ret JobTaskSparkSubmitTask - return ret - }).(JobTaskSparkSubmitTaskOutput) +func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) } -// (List) Command-line parameters passed to spark submit. -func (o JobTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTaskSparkSubmitTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) } -type JobTaskSqlTask struct { - // block consisting of following fields: - Alert *JobTaskSqlTaskAlert `pulumi:"alert"` - // block consisting of following fields: - Dashboard *JobTaskSqlTaskDashboard `pulumi:"dashboard"` - // block consisting of single string fields: - File *JobTaskSqlTaskFile `pulumi:"file"` - // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - Parameters map[string]string `pulumi:"parameters"` - // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). - Query *JobTaskSqlTaskQuery `pulumi:"query"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - WarehouseId string `pulumi:"warehouseId"` +type JobTaskNewClusterDockerImage struct { + BasicAuth *JobTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url string `pulumi:"url"` } -// JobTaskSqlTaskInput is an input type that accepts JobTaskSqlTaskArgs and JobTaskSqlTaskOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskInput` via: +// JobTaskNewClusterDockerImageInput is an input type that accepts JobTaskNewClusterDockerImageArgs and JobTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `JobTaskNewClusterDockerImageInput` via: // -// JobTaskSqlTaskArgs{...} -type JobTaskSqlTaskInput interface { +// JobTaskNewClusterDockerImageArgs{...} +type JobTaskNewClusterDockerImageInput interface { pulumi.Input - ToJobTaskSqlTaskOutput() JobTaskSqlTaskOutput - ToJobTaskSqlTaskOutputWithContext(context.Context) JobTaskSqlTaskOutput + ToJobTaskNewClusterDockerImageOutput() JobTaskNewClusterDockerImageOutput + ToJobTaskNewClusterDockerImageOutputWithContext(context.Context) JobTaskNewClusterDockerImageOutput } -type JobTaskSqlTaskArgs struct { - // block consisting of following fields: - Alert JobTaskSqlTaskAlertPtrInput `pulumi:"alert"` - // block consisting of following fields: - Dashboard JobTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - // block consisting of single string fields: - File JobTaskSqlTaskFilePtrInput `pulumi:"file"` - // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - Parameters pulumi.StringMapInput `pulumi:"parameters"` - // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). - Query JobTaskSqlTaskQueryPtrInput `pulumi:"query"` - // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - WarehouseId pulumi.StringInput `pulumi:"warehouseId"` +type JobTaskNewClusterDockerImageArgs struct { + BasicAuth JobTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + // URL of the job on the given workspace + Url pulumi.StringInput `pulumi:"url"` } -func (JobTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTask)(nil)).Elem() +func (JobTaskNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterDockerImage)(nil)).Elem() } -func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskOutput() JobTaskSqlTaskOutput { - return i.ToJobTaskSqlTaskOutputWithContext(context.Background()) +func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImageOutput() JobTaskNewClusterDockerImageOutput { + return i.ToJobTaskNewClusterDockerImageOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskOutput) +func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageOutput) } -func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { - return i.ToJobTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { + return i.ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskOutput).ToJobTaskSqlTaskPtrOutputWithContext(ctx) +func (i JobTaskNewClusterDockerImageArgs) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageOutput).ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx) } -// JobTaskSqlTaskPtrInput is an input type that accepts JobTaskSqlTaskArgs, JobTaskSqlTaskPtr and JobTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskPtrInput` via: +// JobTaskNewClusterDockerImagePtrInput is an input type that accepts JobTaskNewClusterDockerImageArgs, JobTaskNewClusterDockerImagePtr and JobTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterDockerImagePtrInput` via: // -// JobTaskSqlTaskArgs{...} +// JobTaskNewClusterDockerImageArgs{...} // // or: // // nil -type JobTaskSqlTaskPtrInput interface { +type JobTaskNewClusterDockerImagePtrInput interface { pulumi.Input - ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput - ToJobTaskSqlTaskPtrOutputWithContext(context.Context) JobTaskSqlTaskPtrOutput + ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput + ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Context) JobTaskNewClusterDockerImagePtrOutput } -type jobTaskSqlTaskPtrType JobTaskSqlTaskArgs +type jobTaskNewClusterDockerImagePtrType JobTaskNewClusterDockerImageArgs -func JobTaskSqlTaskPtr(v *JobTaskSqlTaskArgs) JobTaskSqlTaskPtrInput { - return (*jobTaskSqlTaskPtrType)(v) +func JobTaskNewClusterDockerImagePtr(v *JobTaskNewClusterDockerImageArgs) JobTaskNewClusterDockerImagePtrInput { + return (*jobTaskNewClusterDockerImagePtrType)(v) } -func (*jobTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTask)(nil)).Elem() +func (*jobTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterDockerImage)(nil)).Elem() } -func (i *jobTaskSqlTaskPtrType) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { - return i.ToJobTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterDockerImagePtrType) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { + return i.ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *jobTaskSqlTaskPtrType) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskPtrOutput) +func (i *jobTaskNewClusterDockerImagePtrType) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImagePtrOutput) } -type JobTaskSqlTaskOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTask)(nil)).Elem() +func (JobTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterDockerImage)(nil)).Elem() } -func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskOutput() JobTaskSqlTaskOutput { +func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImageOutput() JobTaskNewClusterDockerImageOutput { return o } -func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskSqlTaskOutput { +func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImageOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageOutput { return o } -func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { - return o.ToJobTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { + return o.ToJobTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTask) *JobTaskSqlTask { +func (o JobTaskNewClusterDockerImageOutput) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterDockerImage) *JobTaskNewClusterDockerImage { return &v - }).(JobTaskSqlTaskPtrOutput) -} - -// block consisting of following fields: -func (o JobTaskSqlTaskOutput) Alert() JobTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskAlert { return v.Alert }).(JobTaskSqlTaskAlertPtrOutput) -} - -// block consisting of following fields: -func (o JobTaskSqlTaskOutput) Dashboard() JobTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskDashboard { return v.Dashboard }).(JobTaskSqlTaskDashboardPtrOutput) -} - -// block consisting of single string fields: -func (o JobTaskSqlTaskOutput) File() JobTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskFile { return v.File }).(JobTaskSqlTaskFilePtrOutput) -} - -// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. -func (o JobTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v JobTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) + }).(JobTaskNewClusterDockerImagePtrOutput) } -// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). -func (o JobTaskSqlTaskOutput) Query() JobTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskQuery { return v.Query }).(JobTaskSqlTaskQueryPtrOutput) +func (o JobTaskNewClusterDockerImageOutput) BasicAuth() JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterDockerImage) *JobTaskNewClusterDockerImageBasicAuth { return v.BasicAuth }).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. -func (o JobTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) +// URL of the job on the given workspace +func (o JobTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type JobTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTask)(nil)).Elem() +func (JobTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterDockerImage)(nil)).Elem() } -func (o JobTaskSqlTaskPtrOutput) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { +func (o JobTaskNewClusterDockerImagePtrOutput) ToJobTaskNewClusterDockerImagePtrOutput() JobTaskNewClusterDockerImagePtrOutput { return o } -func (o JobTaskSqlTaskPtrOutput) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { +func (o JobTaskNewClusterDockerImagePtrOutput) ToJobTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImagePtrOutput { return o } -func (o JobTaskSqlTaskPtrOutput) Elem() JobTaskSqlTaskOutput { - return o.ApplyT(func(v *JobTaskSqlTask) JobTaskSqlTask { +func (o JobTaskNewClusterDockerImagePtrOutput) Elem() JobTaskNewClusterDockerImageOutput { + return o.ApplyT(func(v *JobTaskNewClusterDockerImage) JobTaskNewClusterDockerImage { if v != nil { return *v } - var ret JobTaskSqlTask + var ret JobTaskNewClusterDockerImage return ret - }).(JobTaskSqlTaskOutput) -} - -// block consisting of following fields: -func (o JobTaskSqlTaskPtrOutput) Alert() JobTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskAlert { - if v == nil { - return nil - } - return v.Alert - }).(JobTaskSqlTaskAlertPtrOutput) -} - -// block consisting of following fields: -func (o JobTaskSqlTaskPtrOutput) Dashboard() JobTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskDashboard { - if v == nil { - return nil - } - return v.Dashboard - }).(JobTaskSqlTaskDashboardPtrOutput) -} - -// block consisting of single string fields: -func (o JobTaskSqlTaskPtrOutput) File() JobTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskFile { - if v == nil { - return nil - } - return v.File - }).(JobTaskSqlTaskFilePtrOutput) -} - -// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. -func (o JobTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *JobTaskSqlTask) map[string]string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringMapOutput) + }).(JobTaskNewClusterDockerImageOutput) } -// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). -func (o JobTaskSqlTaskPtrOutput) Query() JobTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskQuery { +func (o JobTaskNewClusterDockerImagePtrOutput) BasicAuth() JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterDockerImage) *JobTaskNewClusterDockerImageBasicAuth { if v == nil { return nil } - return v.Query - }).(JobTaskSqlTaskQueryPtrOutput) + return v.BasicAuth + }).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) } -// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. -func (o JobTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTask) *string { +// URL of the job on the given workspace +func (o JobTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterDockerImage) *string { if v == nil { return nil } - return &v.WarehouseId + return &v.Url }).(pulumi.StringPtrOutput) } -type JobTaskSqlTaskAlert struct { - // (String) identifier of the Databricks Alert (databricks_alert). - AlertId string `pulumi:"alertId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions []JobTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +type JobTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// JobTaskSqlTaskAlertInput is an input type that accepts JobTaskSqlTaskAlertArgs and JobTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskAlertInput` via: +// JobTaskNewClusterDockerImageBasicAuthInput is an input type that accepts JobTaskNewClusterDockerImageBasicAuthArgs and JobTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `JobTaskNewClusterDockerImageBasicAuthInput` via: // -// JobTaskSqlTaskAlertArgs{...} -type JobTaskSqlTaskAlertInput interface { +// JobTaskNewClusterDockerImageBasicAuthArgs{...} +type JobTaskNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToJobTaskSqlTaskAlertOutput() JobTaskSqlTaskAlertOutput - ToJobTaskSqlTaskAlertOutputWithContext(context.Context) JobTaskSqlTaskAlertOutput + ToJobTaskNewClusterDockerImageBasicAuthOutput() JobTaskNewClusterDockerImageBasicAuthOutput + ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) JobTaskNewClusterDockerImageBasicAuthOutput } -type JobTaskSqlTaskAlertArgs struct { - // (String) identifier of the Databricks Alert (databricks_alert). - AlertId pulumi.StringInput `pulumi:"alertId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions JobTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` +type JobTaskNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (JobTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskAlert)(nil)).Elem() +func (JobTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertOutput() JobTaskSqlTaskAlertOutput { - return i.ToJobTaskSqlTaskAlertOutputWithContext(context.Background()) +func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthOutput() JobTaskNewClusterDockerImageBasicAuthOutput { + return i.ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertOutput) +func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageBasicAuthOutput) } -func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { - return i.ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertOutput).ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx) +func (i JobTaskNewClusterDockerImageBasicAuthArgs) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageBasicAuthOutput).ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// JobTaskSqlTaskAlertPtrInput is an input type that accepts JobTaskSqlTaskAlertArgs, JobTaskSqlTaskAlertPtr and JobTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskAlertPtrInput` via: +// JobTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts JobTaskNewClusterDockerImageBasicAuthArgs, JobTaskNewClusterDockerImageBasicAuthPtr and JobTaskNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterDockerImageBasicAuthPtrInput` via: // -// JobTaskSqlTaskAlertArgs{...} +// JobTaskNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type JobTaskSqlTaskAlertPtrInput interface { +type JobTaskNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput - ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Context) JobTaskSqlTaskAlertPtrOutput + ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput + ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput } -type jobTaskSqlTaskAlertPtrType JobTaskSqlTaskAlertArgs +type jobTaskNewClusterDockerImageBasicAuthPtrType JobTaskNewClusterDockerImageBasicAuthArgs -func JobTaskSqlTaskAlertPtr(v *JobTaskSqlTaskAlertArgs) JobTaskSqlTaskAlertPtrInput { - return (*jobTaskSqlTaskAlertPtrType)(v) +func JobTaskNewClusterDockerImageBasicAuthPtr(v *JobTaskNewClusterDockerImageBasicAuthArgs) JobTaskNewClusterDockerImageBasicAuthPtrInput { + return (*jobTaskNewClusterDockerImageBasicAuthPtrType)(v) } -func (*jobTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskAlert)(nil)).Elem() +func (*jobTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *jobTaskSqlTaskAlertPtrType) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { - return i.ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *jobTaskSqlTaskAlertPtrType) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertPtrOutput) +func (i *jobTaskNewClusterDockerImageBasicAuthPtrType) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) } -type JobTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskAlert)(nil)).Elem() +func (JobTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertOutput() JobTaskSqlTaskAlertOutput { +func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthOutput() JobTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertOutput { +func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { - return o.ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskAlert) *JobTaskSqlTaskAlert { +func (o JobTaskNewClusterDockerImageBasicAuthOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterDockerImageBasicAuth) *JobTaskNewClusterDockerImageBasicAuth { return &v - }).(JobTaskSqlTaskAlertPtrOutput) -} - -// (String) identifier of the Databricks Alert (databricks_alert). -func (o JobTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) + }).(JobTaskNewClusterDockerImageBasicAuthPtrOutput) } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskSqlTaskAlertOutput) Subscriptions() JobTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v JobTaskSqlTaskAlert) []JobTaskSqlTaskAlertSubscription { return v.Subscriptions }).(JobTaskSqlTaskAlertSubscriptionArrayOutput) +func (o JobTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -type JobTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskAlert)(nil)).Elem() +func (JobTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o JobTaskSqlTaskAlertPtrOutput) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { +func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutput() JobTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobTaskSqlTaskAlertPtrOutput) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { +func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) ToJobTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) JobTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o JobTaskSqlTaskAlertPtrOutput) Elem() JobTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *JobTaskSqlTaskAlert) JobTaskSqlTaskAlert { +func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() JobTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *JobTaskNewClusterDockerImageBasicAuth) JobTaskNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret JobTaskSqlTaskAlert + var ret JobTaskNewClusterDockerImageBasicAuth return ret - }).(JobTaskSqlTaskAlertOutput) + }).(JobTaskNewClusterDockerImageBasicAuthOutput) } -// (String) identifier of the Databricks Alert (databricks_alert). -func (o JobTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskAlert) *string { +func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return &v.AlertId + return &v.Password }).(pulumi.StringPtrOutput) } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskAlert) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) -} - -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskSqlTaskAlertPtrOutput) Subscriptions() JobTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *JobTaskSqlTaskAlert) []JobTaskSqlTaskAlertSubscription { +func (o JobTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Subscriptions - }).(JobTaskSqlTaskAlertSubscriptionArrayOutput) + return &v.Username + }).(pulumi.StringPtrOutput) } -type JobTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName *string `pulumi:"userName"` +type JobTaskNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` } -// JobTaskSqlTaskAlertSubscriptionInput is an input type that accepts JobTaskSqlTaskAlertSubscriptionArgs and JobTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskAlertSubscriptionInput` via: +// JobTaskNewClusterGcpAttributesInput is an input type that accepts JobTaskNewClusterGcpAttributesArgs and JobTaskNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `JobTaskNewClusterGcpAttributesInput` via: // -// JobTaskSqlTaskAlertSubscriptionArgs{...} -type JobTaskSqlTaskAlertSubscriptionInput interface { +// JobTaskNewClusterGcpAttributesArgs{...} +type JobTaskNewClusterGcpAttributesInput interface { pulumi.Input - ToJobTaskSqlTaskAlertSubscriptionOutput() JobTaskSqlTaskAlertSubscriptionOutput - ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) JobTaskSqlTaskAlertSubscriptionOutput + ToJobTaskNewClusterGcpAttributesOutput() JobTaskNewClusterGcpAttributesOutput + ToJobTaskNewClusterGcpAttributesOutputWithContext(context.Context) JobTaskNewClusterGcpAttributesOutput } -type JobTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName pulumi.StringPtrInput `pulumi:"userName"` +type JobTaskNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (JobTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskAlertSubscription)(nil)).Elem() +func (JobTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i JobTaskSqlTaskAlertSubscriptionArgs) ToJobTaskSqlTaskAlertSubscriptionOutput() JobTaskSqlTaskAlertSubscriptionOutput { - return i.ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesOutput() JobTaskNewClusterGcpAttributesOutput { + return i.ToJobTaskNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskAlertSubscriptionArgs) ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertSubscriptionOutput) +func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterGcpAttributesOutput) } -// JobTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts JobTaskSqlTaskAlertSubscriptionArray and JobTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskAlertSubscriptionArrayInput` via: +func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { + return i.ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i JobTaskNewClusterGcpAttributesArgs) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterGcpAttributesOutput).ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +} + +// JobTaskNewClusterGcpAttributesPtrInput is an input type that accepts JobTaskNewClusterGcpAttributesArgs, JobTaskNewClusterGcpAttributesPtr and JobTaskNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterGcpAttributesPtrInput` via: // -// JobTaskSqlTaskAlertSubscriptionArray{ JobTaskSqlTaskAlertSubscriptionArgs{...} } -type JobTaskSqlTaskAlertSubscriptionArrayInput interface { +// JobTaskNewClusterGcpAttributesArgs{...} +// +// or: +// +// nil +type JobTaskNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToJobTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskSqlTaskAlertSubscriptionArrayOutput - ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) JobTaskSqlTaskAlertSubscriptionArrayOutput + ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput + ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) JobTaskNewClusterGcpAttributesPtrOutput } -type JobTaskSqlTaskAlertSubscriptionArray []JobTaskSqlTaskAlertSubscriptionInput +type jobTaskNewClusterGcpAttributesPtrType JobTaskNewClusterGcpAttributesArgs -func (JobTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskSqlTaskAlertSubscription)(nil)).Elem() +func JobTaskNewClusterGcpAttributesPtr(v *JobTaskNewClusterGcpAttributesArgs) JobTaskNewClusterGcpAttributesPtrInput { + return (*jobTaskNewClusterGcpAttributesPtrType)(v) } -func (i JobTaskSqlTaskAlertSubscriptionArray) ToJobTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (*jobTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i JobTaskSqlTaskAlertSubscriptionArray) ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertSubscriptionArrayOutput) +func (i *jobTaskNewClusterGcpAttributesPtrType) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { + return i.ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -type JobTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } +func (i *jobTaskNewClusterGcpAttributesPtrType) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterGcpAttributesPtrOutput) +} -func (JobTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskAlertSubscription)(nil)).Elem() +type JobTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o JobTaskSqlTaskAlertSubscriptionOutput) ToJobTaskSqlTaskAlertSubscriptionOutput() JobTaskSqlTaskAlertSubscriptionOutput { +func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesOutput() JobTaskNewClusterGcpAttributesOutput { return o } -func (o JobTaskSqlTaskAlertSubscriptionOutput) ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionOutput { +func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesOutput { return o } -func (o JobTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { + return o.ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -// The email of an active workspace user. Non-admin users can only set this field to their own email. -func (o JobTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterGcpAttributesOutput) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterGcpAttributes) *JobTaskNewClusterGcpAttributes { + return &v + }).(JobTaskNewClusterGcpAttributesPtrOutput) } -type JobTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} -func (JobTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskSqlTaskAlertSubscription)(nil)).Elem() +func (o JobTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -func (o JobTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskSqlTaskAlertSubscriptionArrayOutput { - return o +func (o JobTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o JobTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionArrayOutput { - return o +func (o JobTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o JobTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskSqlTaskAlertSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskSqlTaskAlertSubscription { - return vs[0].([]JobTaskSqlTaskAlertSubscription)[vs[1].(int)] - }).(JobTaskSqlTaskAlertSubscriptionOutput) +func (o JobTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -type JobTaskSqlTaskDashboard struct { - // string specifying a custom subject of email sent. - CustomSubject *string `pulumi:"customSubject"` - // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - DashboardId string `pulumi:"dashboardId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions []JobTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +func (o JobTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -// JobTaskSqlTaskDashboardInput is an input type that accepts JobTaskSqlTaskDashboardArgs and JobTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskDashboardInput` via: -// -// JobTaskSqlTaskDashboardArgs{...} -type JobTaskSqlTaskDashboardInput interface { - pulumi.Input +type JobTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } - ToJobTaskSqlTaskDashboardOutput() JobTaskSqlTaskDashboardOutput - ToJobTaskSqlTaskDashboardOutputWithContext(context.Context) JobTaskSqlTaskDashboardOutput +func (JobTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterGcpAttributes)(nil)).Elem() } -type JobTaskSqlTaskDashboardArgs struct { - // string specifying a custom subject of email sent. - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - // flag that specifies if subscriptions are paused or not. - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. - Subscriptions JobTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +func (o JobTaskNewClusterGcpAttributesPtrOutput) ToJobTaskNewClusterGcpAttributesPtrOutput() JobTaskNewClusterGcpAttributesPtrOutput { + return o } -func (JobTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskDashboard)(nil)).Elem() +func (o JobTaskNewClusterGcpAttributesPtrOutput) ToJobTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterGcpAttributesPtrOutput { + return o } -func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardOutput() JobTaskSqlTaskDashboardOutput { - return i.ToJobTaskSqlTaskDashboardOutputWithContext(context.Background()) +func (o JobTaskNewClusterGcpAttributesPtrOutput) Elem() JobTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) JobTaskNewClusterGcpAttributes { + if v != nil { + return *v + } + var ret JobTaskNewClusterGcpAttributes + return ret + }).(JobTaskNewClusterGcpAttributesOutput) } -func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardOutput) +func (o JobTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { - return i.ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardOutput).ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx) +func (o JobTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -// JobTaskSqlTaskDashboardPtrInput is an input type that accepts JobTaskSqlTaskDashboardArgs, JobTaskSqlTaskDashboardPtr and JobTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskDashboardPtrInput` via: -// -// JobTaskSqlTaskDashboardArgs{...} -// -// or: +func (o JobTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o JobTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o JobTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type JobTaskNewClusterInitScript struct { + Abfss *JobTaskNewClusterInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *JobTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` + // block consisting of single string fields: + File *JobTaskNewClusterInitScriptFile `pulumi:"file"` + Gcs *JobTaskNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *JobTaskNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *JobTaskNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *JobTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +} + +// JobTaskNewClusterInitScriptInput is an input type that accepts JobTaskNewClusterInitScriptArgs and JobTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptInput` via: // -// nil -type JobTaskSqlTaskDashboardPtrInput interface { +// JobTaskNewClusterInitScriptArgs{...} +type JobTaskNewClusterInitScriptInput interface { pulumi.Input - ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput - ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Context) JobTaskSqlTaskDashboardPtrOutput + ToJobTaskNewClusterInitScriptOutput() JobTaskNewClusterInitScriptOutput + ToJobTaskNewClusterInitScriptOutputWithContext(context.Context) JobTaskNewClusterInitScriptOutput } -type jobTaskSqlTaskDashboardPtrType JobTaskSqlTaskDashboardArgs - -func JobTaskSqlTaskDashboardPtr(v *JobTaskSqlTaskDashboardArgs) JobTaskSqlTaskDashboardPtrInput { - return (*jobTaskSqlTaskDashboardPtrType)(v) +type JobTaskNewClusterInitScriptArgs struct { + Abfss JobTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs JobTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + // block consisting of single string fields: + File JobTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs JobTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 JobTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes JobTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace JobTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (*jobTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskDashboard)(nil)).Elem() +func (JobTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScript)(nil)).Elem() } -func (i *jobTaskSqlTaskDashboardPtrType) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { - return i.ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptArgs) ToJobTaskNewClusterInitScriptOutput() JobTaskNewClusterInitScriptOutput { + return i.ToJobTaskNewClusterInitScriptOutputWithContext(context.Background()) } -func (i *jobTaskSqlTaskDashboardPtrType) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardPtrOutput) +func (i JobTaskNewClusterInitScriptArgs) ToJobTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptOutput) } -type JobTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +// JobTaskNewClusterInitScriptArrayInput is an input type that accepts JobTaskNewClusterInitScriptArray and JobTaskNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptArrayInput` via: +// +// JobTaskNewClusterInitScriptArray{ JobTaskNewClusterInitScriptArgs{...} } +type JobTaskNewClusterInitScriptArrayInput interface { + pulumi.Input -func (JobTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskDashboard)(nil)).Elem() + ToJobTaskNewClusterInitScriptArrayOutput() JobTaskNewClusterInitScriptArrayOutput + ToJobTaskNewClusterInitScriptArrayOutputWithContext(context.Context) JobTaskNewClusterInitScriptArrayOutput } -func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardOutput() JobTaskSqlTaskDashboardOutput { - return o +type JobTaskNewClusterInitScriptArray []JobTaskNewClusterInitScriptInput + +func (JobTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskNewClusterInitScript)(nil)).Elem() } -func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardOutput { - return o +func (i JobTaskNewClusterInitScriptArray) ToJobTaskNewClusterInitScriptArrayOutput() JobTaskNewClusterInitScriptArrayOutput { + return i.ToJobTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { - return o.ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptArray) ToJobTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptArrayOutput) } -func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskDashboard) *JobTaskSqlTaskDashboard { - return &v - }).(JobTaskSqlTaskDashboardPtrOutput) +type JobTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScript)(nil)).Elem() } -// string specifying a custom subject of email sent. -func (o JobTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterInitScriptOutput) ToJobTaskNewClusterInitScriptOutput() JobTaskNewClusterInitScriptOutput { + return o } -// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. -func (o JobTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +func (o JobTaskNewClusterInitScriptOutput) ToJobTaskNewClusterInitScriptOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptOutput { + return o } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterInitScriptOutput) Abfss() JobTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptAbfss { return v.Abfss }).(JobTaskNewClusterInitScriptAbfssPtrOutput) } -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskSqlTaskDashboardOutput) Subscriptions() JobTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v JobTaskSqlTaskDashboard) []JobTaskSqlTaskDashboardSubscription { return v.Subscriptions }).(JobTaskSqlTaskDashboardSubscriptionArrayOutput) +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o JobTaskNewClusterInitScriptOutput) Dbfs() JobTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptDbfs { return v.Dbfs }).(JobTaskNewClusterInitScriptDbfsPtrOutput) } -type JobTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } +// block consisting of single string fields: +func (o JobTaskNewClusterInitScriptOutput) File() JobTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptFile { return v.File }).(JobTaskNewClusterInitScriptFilePtrOutput) +} -func (JobTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskDashboard)(nil)).Elem() +func (o JobTaskNewClusterInitScriptOutput) Gcs() JobTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptGcs { return v.Gcs }).(JobTaskNewClusterInitScriptGcsPtrOutput) } -func (o JobTaskSqlTaskDashboardPtrOutput) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { - return o +func (o JobTaskNewClusterInitScriptOutput) S3() JobTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptS3 { return v.S3 }).(JobTaskNewClusterInitScriptS3PtrOutput) } -func (o JobTaskSqlTaskDashboardPtrOutput) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { - return o +func (o JobTaskNewClusterInitScriptOutput) Volumes() JobTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptVolumes { return v.Volumes }).(JobTaskNewClusterInitScriptVolumesPtrOutput) } -func (o JobTaskSqlTaskDashboardPtrOutput) Elem() JobTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *JobTaskSqlTaskDashboard) JobTaskSqlTaskDashboard { - if v != nil { - return *v - } - var ret JobTaskSqlTaskDashboard - return ret - }).(JobTaskSqlTaskDashboardOutput) +func (o JobTaskNewClusterInitScriptOutput) Workspace() JobTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScript) *JobTaskNewClusterInitScriptWorkspace { return v.Workspace }).(JobTaskNewClusterInitScriptWorkspacePtrOutput) } -// string specifying a custom subject of email sent. -func (o JobTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return v.CustomSubject - }).(pulumi.StringPtrOutput) +type JobTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskNewClusterInitScript)(nil)).Elem() } -// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. -func (o JobTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return &v.DashboardId - }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterInitScriptArrayOutput) ToJobTaskNewClusterInitScriptArrayOutput() JobTaskNewClusterInitScriptArrayOutput { + return o } -// flag that specifies if subscriptions are paused or not. -func (o JobTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskDashboard) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +func (o JobTaskNewClusterInitScriptArrayOutput) ToJobTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptArrayOutput { + return o } -// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. -func (o JobTaskSqlTaskDashboardPtrOutput) Subscriptions() JobTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *JobTaskSqlTaskDashboard) []JobTaskSqlTaskDashboardSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(JobTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o JobTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) JobTaskNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskNewClusterInitScript { + return vs[0].([]JobTaskNewClusterInitScript)[vs[1].(int)] + }).(JobTaskNewClusterInitScriptOutput) } -type JobTaskSqlTaskDashboardSubscription struct { - DestinationId *string `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName *string `pulumi:"userName"` +type JobTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// JobTaskSqlTaskDashboardSubscriptionInput is an input type that accepts JobTaskSqlTaskDashboardSubscriptionArgs and JobTaskSqlTaskDashboardSubscriptionOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskDashboardSubscriptionInput` via: +// JobTaskNewClusterInitScriptAbfssInput is an input type that accepts JobTaskNewClusterInitScriptAbfssArgs and JobTaskNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptAbfssInput` via: // -// JobTaskSqlTaskDashboardSubscriptionArgs{...} -type JobTaskSqlTaskDashboardSubscriptionInput interface { +// JobTaskNewClusterInitScriptAbfssArgs{...} +type JobTaskNewClusterInitScriptAbfssInput interface { pulumi.Input - ToJobTaskSqlTaskDashboardSubscriptionOutput() JobTaskSqlTaskDashboardSubscriptionOutput - ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) JobTaskSqlTaskDashboardSubscriptionOutput + ToJobTaskNewClusterInitScriptAbfssOutput() JobTaskNewClusterInitScriptAbfssOutput + ToJobTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) JobTaskNewClusterInitScriptAbfssOutput } -type JobTaskSqlTaskDashboardSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - // The email of an active workspace user. Non-admin users can only set this field to their own email. - UserName pulumi.StringPtrInput `pulumi:"userName"` +type JobTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (JobTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i JobTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskSqlTaskDashboardSubscriptionOutput() JobTaskSqlTaskDashboardSubscriptionOutput { - return i.ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssOutput() JobTaskNewClusterInitScriptAbfssOutput { + return i.ToJobTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardSubscriptionOutput) +func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptAbfssOutput) } -// JobTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts JobTaskSqlTaskDashboardSubscriptionArray and JobTaskSqlTaskDashboardSubscriptionArrayOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskDashboardSubscriptionArrayInput` via: +func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i JobTaskNewClusterInitScriptAbfssArgs) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptAbfssOutput).ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +} + +// JobTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts JobTaskNewClusterInitScriptAbfssArgs, JobTaskNewClusterInitScriptAbfssPtr and JobTaskNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptAbfssPtrInput` via: // -// JobTaskSqlTaskDashboardSubscriptionArray{ JobTaskSqlTaskDashboardSubscriptionArgs{...} } -type JobTaskSqlTaskDashboardSubscriptionArrayInput interface { +// JobTaskNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type JobTaskNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToJobTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskSqlTaskDashboardSubscriptionArrayOutput - ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) JobTaskSqlTaskDashboardSubscriptionArrayOutput + ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput + ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput } -type JobTaskSqlTaskDashboardSubscriptionArray []JobTaskSqlTaskDashboardSubscriptionInput +type jobTaskNewClusterInitScriptAbfssPtrType JobTaskNewClusterInitScriptAbfssArgs -func (JobTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskSqlTaskDashboardSubscription)(nil)).Elem() +func JobTaskNewClusterInitScriptAbfssPtr(v *JobTaskNewClusterInitScriptAbfssArgs) JobTaskNewClusterInitScriptAbfssPtrInput { + return (*jobTaskNewClusterInitScriptAbfssPtrType)(v) } -func (i JobTaskSqlTaskDashboardSubscriptionArray) ToJobTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskSqlTaskDashboardSubscriptionArrayOutput { - return i.ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) +func (*jobTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i JobTaskSqlTaskDashboardSubscriptionArray) ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardSubscriptionArrayOutput) +func (i *jobTaskNewClusterInitScriptAbfssPtrType) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type JobTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } +func (i *jobTaskNewClusterInitScriptAbfssPtrType) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptAbfssPtrOutput) +} -func (JobTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskDashboardSubscription)(nil)).Elem() +type JobTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskSqlTaskDashboardSubscriptionOutput() JobTaskSqlTaskDashboardSubscriptionOutput { +func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssOutput() JobTaskNewClusterInitScriptAbfssOutput { return o } -func (o JobTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionOutput { +func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssOutput { return o } -func (o JobTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -// The email of an active workspace user. Non-admin users can only set this field to their own email. -func (o JobTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterInitScriptAbfssOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptAbfss) *JobTaskNewClusterInitScriptAbfss { + return &v + }).(JobTaskNewClusterInitScriptAbfssPtrOutput) } -type JobTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +} -func (JobTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskSqlTaskDashboardSubscription)(nil)).Elem() +type JobTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o JobTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o JobTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutput() JobTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o JobTaskNewClusterInitScriptAbfssPtrOutput) ToJobTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o JobTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskSqlTaskDashboardSubscription { - return vs[0].([]JobTaskSqlTaskDashboardSubscription)[vs[1].(int)] - }).(JobTaskSqlTaskDashboardSubscriptionOutput) +func (o JobTaskNewClusterInitScriptAbfssPtrOutput) Elem() JobTaskNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptAbfss) JobTaskNewClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret JobTaskNewClusterInitScriptAbfss + return ret + }).(JobTaskNewClusterInitScriptAbfssOutput) } -type JobTaskSqlTaskFile struct { - // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - // - // Example - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ - // Name: pulumi.String("Example SQL Job"), - // Tasks: databricks.JobTaskArray{ - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_agg_query"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Query: &databricks.JobTaskSqlTaskQueryArgs{ - // QueryId: pulumi.Any(aggQuery.Id), - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_dashboard"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ - // DashboardId: pulumi.Any(dash.Id), - // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ - // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_alert"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Alert: &databricks.JobTaskSqlTaskAlertArgs{ - // AlertId: pulumi.Any(alert.Id), - // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ - // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - Path string `pulumi:"path"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. - Source *string `pulumi:"source"` +func (o JobTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskSqlTaskFileInput is an input type that accepts JobTaskSqlTaskFileArgs and JobTaskSqlTaskFileOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskFileInput` via: +type JobTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// JobTaskNewClusterInitScriptDbfsInput is an input type that accepts JobTaskNewClusterInitScriptDbfsArgs and JobTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptDbfsInput` via: // -// JobTaskSqlTaskFileArgs{...} -type JobTaskSqlTaskFileInput interface { +// JobTaskNewClusterInitScriptDbfsArgs{...} +type JobTaskNewClusterInitScriptDbfsInput interface { pulumi.Input - ToJobTaskSqlTaskFileOutput() JobTaskSqlTaskFileOutput - ToJobTaskSqlTaskFileOutputWithContext(context.Context) JobTaskSqlTaskFileOutput + ToJobTaskNewClusterInitScriptDbfsOutput() JobTaskNewClusterInitScriptDbfsOutput + ToJobTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) JobTaskNewClusterInitScriptDbfsOutput } -type JobTaskSqlTaskFileArgs struct { - // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - // - // Example - // - // ```go - // package main - // - // import ( - // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" - // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - // ) - // - // func main() { - // pulumi.Run(func(ctx *pulumi.Context) error { - // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ - // Name: pulumi.String("Example SQL Job"), - // Tasks: databricks.JobTaskArray{ - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_agg_query"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Query: &databricks.JobTaskSqlTaskQueryArgs{ - // QueryId: pulumi.Any(aggQuery.Id), - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_dashboard"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ - // DashboardId: pulumi.Any(dash.Id), - // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ - // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // &databricks.JobTaskArgs{ - // TaskKey: pulumi.String("run_alert"), - // SqlTask: &databricks.JobTaskSqlTaskArgs{ - // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), - // Alert: &databricks.JobTaskSqlTaskAlertArgs{ - // AlertId: pulumi.Any(alert.Id), - // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ - // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ - // UserName: pulumi.String("user@domain.com"), - // }, - // }, - // }, - // }, - // }, - // }, - // }) - // if err != nil { - // return err - // } - // return nil - // }) - // } - // ``` - Path pulumi.StringInput `pulumi:"path"` - // The source of the project. Possible values are `WORKSPACE` and `GIT`. - Source pulumi.StringPtrInput `pulumi:"source"` +type JobTaskNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskSqlTaskFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskFile)(nil)).Elem() +func (JobTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFileOutput() JobTaskSqlTaskFileOutput { - return i.ToJobTaskSqlTaskFileOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsOutput() JobTaskNewClusterInitScriptDbfsOutput { + return i.ToJobTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskSqlTaskFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskFileOutput) +func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptDbfsOutput) } -func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { - return i.ToJobTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskFileOutput).ToJobTaskSqlTaskFilePtrOutputWithContext(ctx) +func (i JobTaskNewClusterInitScriptDbfsArgs) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptDbfsOutput).ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// JobTaskSqlTaskFilePtrInput is an input type that accepts JobTaskSqlTaskFileArgs, JobTaskSqlTaskFilePtr and JobTaskSqlTaskFilePtrOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskFilePtrInput` via: +// JobTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts JobTaskNewClusterInitScriptDbfsArgs, JobTaskNewClusterInitScriptDbfsPtr and JobTaskNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptDbfsPtrInput` via: // -// JobTaskSqlTaskFileArgs{...} +// JobTaskNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type JobTaskSqlTaskFilePtrInput interface { +type JobTaskNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput - ToJobTaskSqlTaskFilePtrOutputWithContext(context.Context) JobTaskSqlTaskFilePtrOutput + ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput + ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput } -type jobTaskSqlTaskFilePtrType JobTaskSqlTaskFileArgs +type jobTaskNewClusterInitScriptDbfsPtrType JobTaskNewClusterInitScriptDbfsArgs -func JobTaskSqlTaskFilePtr(v *JobTaskSqlTaskFileArgs) JobTaskSqlTaskFilePtrInput { - return (*jobTaskSqlTaskFilePtrType)(v) +func JobTaskNewClusterInitScriptDbfsPtr(v *JobTaskNewClusterInitScriptDbfsArgs) JobTaskNewClusterInitScriptDbfsPtrInput { + return (*jobTaskNewClusterInitScriptDbfsPtrType)(v) } -func (*jobTaskSqlTaskFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskFile)(nil)).Elem() +func (*jobTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *jobTaskSqlTaskFilePtrType) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { - return i.ToJobTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterInitScriptDbfsPtrType) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *jobTaskSqlTaskFilePtrType) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskFilePtrOutput) +func (i *jobTaskNewClusterInitScriptDbfsPtrType) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptDbfsPtrOutput) } -type JobTaskSqlTaskFileOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskFile)(nil)).Elem() +func (JobTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFileOutput() JobTaskSqlTaskFileOutput { +func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsOutput() JobTaskNewClusterInitScriptDbfsOutput { return o } -func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskSqlTaskFileOutput { +func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsOutput { return o } -func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { - return o.ToJobTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskFile) *JobTaskSqlTaskFile { +func (o JobTaskNewClusterInitScriptDbfsOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptDbfs) *JobTaskNewClusterInitScriptDbfs { return &v - }).(JobTaskSqlTaskFilePtrOutput) -} - -// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. -// -// # Example -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ -// Name: pulumi.String("Example SQL Job"), -// Tasks: databricks.JobTaskArray{ -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_agg_query"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Query: &databricks.JobTaskSqlTaskQueryArgs{ -// QueryId: pulumi.Any(aggQuery.Id), -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_dashboard"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ -// DashboardId: pulumi.Any(dash.Id), -// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ -// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_alert"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Alert: &databricks.JobTaskSqlTaskAlertArgs{ -// AlertId: pulumi.Any(alert.Id), -// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ -// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o JobTaskSqlTaskFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) + }).(JobTaskNewClusterInitScriptDbfsPtrOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. -func (o JobTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o JobTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } - -func (JobTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskFile)(nil)).Elem() -} +type JobTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (o JobTaskSqlTaskFilePtrOutput) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { - return o +func (JobTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o JobTaskSqlTaskFilePtrOutput) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { +func (o JobTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutput() JobTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o JobTaskSqlTaskFilePtrOutput) Elem() JobTaskSqlTaskFileOutput { - return o.ApplyT(func(v *JobTaskSqlTaskFile) JobTaskSqlTaskFile { - if v != nil { - return *v - } - var ret JobTaskSqlTaskFile - return ret - }).(JobTaskSqlTaskFileOutput) -} - -// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. -// -// # Example -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ -// Name: pulumi.String("Example SQL Job"), -// Tasks: databricks.JobTaskArray{ -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_agg_query"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Query: &databricks.JobTaskSqlTaskQueryArgs{ -// QueryId: pulumi.Any(aggQuery.Id), -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_dashboard"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ -// DashboardId: pulumi.Any(dash.Id), -// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ -// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// &databricks.JobTaskArgs{ -// TaskKey: pulumi.String("run_alert"), -// SqlTask: &databricks.JobTaskSqlTaskArgs{ -// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), -// Alert: &databricks.JobTaskSqlTaskAlertArgs{ -// AlertId: pulumi.Any(alert.Id), -// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ -// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ -// UserName: pulumi.String("user@domain.com"), -// }, -// }, -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func (o JobTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskFile) *string { - if v == nil { - return nil +func (o JobTaskNewClusterInitScriptDbfsPtrOutput) ToJobTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptDbfsPtrOutput { + return o +} + +func (o JobTaskNewClusterInitScriptDbfsPtrOutput) Elem() JobTaskNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptDbfs) JobTaskNewClusterInitScriptDbfs { + if v != nil { + return *v } - return &v.Path - }).(pulumi.StringPtrOutput) + var ret JobTaskNewClusterInitScriptDbfs + return ret + }).(JobTaskNewClusterInitScriptDbfsOutput) } -// The source of the project. Possible values are `WORKSPACE` and `GIT`. -func (o JobTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskFile) *string { +func (o JobTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.Source + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobTaskSqlTaskQuery struct { - QueryId string `pulumi:"queryId"` +type JobTaskNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// JobTaskSqlTaskQueryInput is an input type that accepts JobTaskSqlTaskQueryArgs and JobTaskSqlTaskQueryOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskQueryInput` via: +// JobTaskNewClusterInitScriptFileInput is an input type that accepts JobTaskNewClusterInitScriptFileArgs and JobTaskNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptFileInput` via: // -// JobTaskSqlTaskQueryArgs{...} -type JobTaskSqlTaskQueryInput interface { +// JobTaskNewClusterInitScriptFileArgs{...} +type JobTaskNewClusterInitScriptFileInput interface { pulumi.Input - ToJobTaskSqlTaskQueryOutput() JobTaskSqlTaskQueryOutput - ToJobTaskSqlTaskQueryOutputWithContext(context.Context) JobTaskSqlTaskQueryOutput + ToJobTaskNewClusterInitScriptFileOutput() JobTaskNewClusterInitScriptFileOutput + ToJobTaskNewClusterInitScriptFileOutputWithContext(context.Context) JobTaskNewClusterInitScriptFileOutput } -type JobTaskSqlTaskQueryArgs struct { - QueryId pulumi.StringInput `pulumi:"queryId"` +type JobTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskSqlTaskQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskQuery)(nil)).Elem() +func (JobTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryOutput() JobTaskSqlTaskQueryOutput { - return i.ToJobTaskSqlTaskQueryOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFileOutput() JobTaskNewClusterInitScriptFileOutput { + return i.ToJobTaskNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskQueryOutput) +func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptFileOutput) } -func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { - return i.ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { + return i.ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskQueryOutput).ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx) +func (i JobTaskNewClusterInitScriptFileArgs) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptFileOutput).ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// JobTaskSqlTaskQueryPtrInput is an input type that accepts JobTaskSqlTaskQueryArgs, JobTaskSqlTaskQueryPtr and JobTaskSqlTaskQueryPtrOutput values. -// You can construct a concrete instance of `JobTaskSqlTaskQueryPtrInput` via: +// JobTaskNewClusterInitScriptFilePtrInput is an input type that accepts JobTaskNewClusterInitScriptFileArgs, JobTaskNewClusterInitScriptFilePtr and JobTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptFilePtrInput` via: // -// JobTaskSqlTaskQueryArgs{...} +// JobTaskNewClusterInitScriptFileArgs{...} // // or: // // nil -type JobTaskSqlTaskQueryPtrInput interface { +type JobTaskNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput - ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Context) JobTaskSqlTaskQueryPtrOutput + ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput + ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptFilePtrOutput } -type jobTaskSqlTaskQueryPtrType JobTaskSqlTaskQueryArgs +type jobTaskNewClusterInitScriptFilePtrType JobTaskNewClusterInitScriptFileArgs -func JobTaskSqlTaskQueryPtr(v *JobTaskSqlTaskQueryArgs) JobTaskSqlTaskQueryPtrInput { - return (*jobTaskSqlTaskQueryPtrType)(v) +func JobTaskNewClusterInitScriptFilePtr(v *JobTaskNewClusterInitScriptFileArgs) JobTaskNewClusterInitScriptFilePtrInput { + return (*jobTaskNewClusterInitScriptFilePtrType)(v) } -func (*jobTaskSqlTaskQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskQuery)(nil)).Elem() +func (*jobTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i *jobTaskSqlTaskQueryPtrType) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { - return i.ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterInitScriptFilePtrType) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { + return i.ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *jobTaskSqlTaskQueryPtrType) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskQueryPtrOutput) +func (i *jobTaskNewClusterInitScriptFilePtrType) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptFilePtrOutput) } -type JobTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskSqlTaskQuery)(nil)).Elem() +func (JobTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryOutput() JobTaskSqlTaskQueryOutput { +func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFileOutput() JobTaskNewClusterInitScriptFileOutput { return o } -func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryOutput { +func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFileOutput { return o } -func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { - return o.ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { + return o.ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskQuery) *JobTaskSqlTaskQuery { +func (o JobTaskNewClusterInitScriptFileOutput) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptFile) *JobTaskNewClusterInitScriptFile { return &v - }).(JobTaskSqlTaskQueryPtrOutput) + }).(JobTaskNewClusterInitScriptFilePtrOutput) } -func (o JobTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) +func (o JobTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (JobTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskSqlTaskQuery)(nil)).Elem() +func (JobTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o JobTaskSqlTaskQueryPtrOutput) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { +func (o JobTaskNewClusterInitScriptFilePtrOutput) ToJobTaskNewClusterInitScriptFilePtrOutput() JobTaskNewClusterInitScriptFilePtrOutput { return o } -func (o JobTaskSqlTaskQueryPtrOutput) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { +func (o JobTaskNewClusterInitScriptFilePtrOutput) ToJobTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptFilePtrOutput { return o } -func (o JobTaskSqlTaskQueryPtrOutput) Elem() JobTaskSqlTaskQueryOutput { - return o.ApplyT(func(v *JobTaskSqlTaskQuery) JobTaskSqlTaskQuery { +func (o JobTaskNewClusterInitScriptFilePtrOutput) Elem() JobTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptFile) JobTaskNewClusterInitScriptFile { if v != nil { return *v } - var ret JobTaskSqlTaskQuery + var ret JobTaskNewClusterInitScriptFile return ret - }).(JobTaskSqlTaskQueryOutput) + }).(JobTaskNewClusterInitScriptFileOutput) } -func (o JobTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTaskSqlTaskQuery) *string { +func (o JobTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptFile) *string { if v == nil { return nil } - return &v.QueryId + return &v.Destination }).(pulumi.StringPtrOutput) } -type JobTaskWebhookNotifications struct { - // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - // - // Example - OnDurationWarningThresholdExceededs []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - OnFailures []JobTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` - // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - OnStarts []JobTaskWebhookNotificationsOnStart `pulumi:"onStarts"` - OnStreamingBacklogExceededs []JobTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` - // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - OnSuccesses []JobTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +type JobTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// JobTaskWebhookNotificationsInput is an input type that accepts JobTaskWebhookNotificationsArgs and JobTaskWebhookNotificationsOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsInput` via: +// JobTaskNewClusterInitScriptGcsInput is an input type that accepts JobTaskNewClusterInitScriptGcsArgs and JobTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptGcsInput` via: // -// JobTaskWebhookNotificationsArgs{...} -type JobTaskWebhookNotificationsInput interface { +// JobTaskNewClusterInitScriptGcsArgs{...} +type JobTaskNewClusterInitScriptGcsInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOutput() JobTaskWebhookNotificationsOutput - ToJobTaskWebhookNotificationsOutputWithContext(context.Context) JobTaskWebhookNotificationsOutput + ToJobTaskNewClusterInitScriptGcsOutput() JobTaskNewClusterInitScriptGcsOutput + ToJobTaskNewClusterInitScriptGcsOutputWithContext(context.Context) JobTaskNewClusterInitScriptGcsOutput } -type JobTaskWebhookNotificationsArgs struct { - // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - // - // Example - OnDurationWarningThresholdExceededs JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - OnFailures JobTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - OnStarts JobTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` - // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - OnSuccesses JobTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type JobTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotifications)(nil)).Elem() +func (JobTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsOutput() JobTaskWebhookNotificationsOutput { - return i.ToJobTaskWebhookNotificationsOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsOutput() JobTaskNewClusterInitScriptGcsOutput { + return i.ToJobTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOutput) +func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptGcsOutput) } -func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { - return i.ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { + return i.ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOutput).ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx) +func (i JobTaskNewClusterInitScriptGcsArgs) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptGcsOutput).ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// JobTaskWebhookNotificationsPtrInput is an input type that accepts JobTaskWebhookNotificationsArgs, JobTaskWebhookNotificationsPtr and JobTaskWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsPtrInput` via: +// JobTaskNewClusterInitScriptGcsPtrInput is an input type that accepts JobTaskNewClusterInitScriptGcsArgs, JobTaskNewClusterInitScriptGcsPtr and JobTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptGcsPtrInput` via: // -// JobTaskWebhookNotificationsArgs{...} +// JobTaskNewClusterInitScriptGcsArgs{...} // // or: // // nil -type JobTaskWebhookNotificationsPtrInput interface { +type JobTaskNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput - ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Context) JobTaskWebhookNotificationsPtrOutput + ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput + ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptGcsPtrOutput } -type jobTaskWebhookNotificationsPtrType JobTaskWebhookNotificationsArgs +type jobTaskNewClusterInitScriptGcsPtrType JobTaskNewClusterInitScriptGcsArgs -func JobTaskWebhookNotificationsPtr(v *JobTaskWebhookNotificationsArgs) JobTaskWebhookNotificationsPtrInput { - return (*jobTaskWebhookNotificationsPtrType)(v) +func JobTaskNewClusterInitScriptGcsPtr(v *JobTaskNewClusterInitScriptGcsArgs) JobTaskNewClusterInitScriptGcsPtrInput { + return (*jobTaskNewClusterInitScriptGcsPtrType)(v) } -func (*jobTaskWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskWebhookNotifications)(nil)).Elem() +func (*jobTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i *jobTaskWebhookNotificationsPtrType) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { - return i.ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterInitScriptGcsPtrType) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { + return i.ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *jobTaskWebhookNotificationsPtrType) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsPtrOutput) +func (i *jobTaskNewClusterInitScriptGcsPtrType) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptGcsPtrOutput) } -type JobTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (JobTaskWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotifications)(nil)).Elem() +func (JobTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsOutput() JobTaskWebhookNotificationsOutput { +func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsOutput() JobTaskNewClusterInitScriptGcsOutput { return o } -func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOutput { +func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsOutput { return o } -func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { - return o.ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { + return o.ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskWebhookNotifications) *JobTaskWebhookNotifications { +func (o JobTaskNewClusterInitScriptGcsOutput) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptGcs) *JobTaskNewClusterInitScriptGcs { return &v - }).(JobTaskWebhookNotificationsPtrOutput) -} - -// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -// -// Example -func (o JobTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. -func (o JobTaskWebhookNotificationsOutput) OnFailures() JobTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnFailure { return v.OnFailures }).(JobTaskWebhookNotificationsOnFailureArrayOutput) -} - -// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. -func (o JobTaskWebhookNotificationsOutput) OnStarts() JobTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStart { return v.OnStarts }).(JobTaskWebhookNotificationsOnStartArrayOutput) -} - -func (o JobTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStreamingBacklogExceeded { - return v.OnStreamingBacklogExceededs - }).(JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) + }).(JobTaskNewClusterInitScriptGcsPtrOutput) } -// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. -func (o JobTaskWebhookNotificationsOutput) OnSuccesses() JobTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnSuccess { return v.OnSuccesses }).(JobTaskWebhookNotificationsOnSuccessArrayOutput) +func (o JobTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type JobTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (JobTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTaskWebhookNotifications)(nil)).Elem() +func (JobTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o JobTaskWebhookNotificationsPtrOutput) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { +func (o JobTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskNewClusterInitScriptGcsPtrOutput() JobTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o JobTaskWebhookNotificationsPtrOutput) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { +func (o JobTaskNewClusterInitScriptGcsPtrOutput) ToJobTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o JobTaskWebhookNotificationsPtrOutput) Elem() JobTaskWebhookNotificationsOutput { - return o.ApplyT(func(v *JobTaskWebhookNotifications) JobTaskWebhookNotifications { +func (o JobTaskNewClusterInitScriptGcsPtrOutput) Elem() JobTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptGcs) JobTaskNewClusterInitScriptGcs { if v != nil { return *v } - var ret JobTaskWebhookNotifications + var ret JobTaskNewClusterInitScriptGcs return ret - }).(JobTaskWebhookNotificationsOutput) -} - -// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -// -// Example -func (o JobTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. -func (o JobTaskWebhookNotificationsPtrOutput) OnFailures() JobTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(JobTaskWebhookNotificationsOnFailureArrayOutput) -} - -// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. -func (o JobTaskWebhookNotificationsPtrOutput) OnStarts() JobTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(JobTaskWebhookNotificationsOnStartArrayOutput) -} - -func (o JobTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStreamingBacklogExceeded { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) + }).(JobTaskNewClusterInitScriptGcsOutput) } -// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. -func (o JobTaskWebhookNotificationsPtrOutput) OnSuccesses() JobTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnSuccess { +func (o JobTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.OnSuccesses - }).(JobTaskWebhookNotificationsOnSuccessArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // ID of the job - Id string `pulumi:"id"` +type JobTaskNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// JobTaskNewClusterInitScriptS3Input is an input type that accepts JobTaskNewClusterInitScriptS3Args and JobTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptS3Input` via: // -// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// JobTaskNewClusterInitScriptS3Args{...} +type JobTaskNewClusterInitScriptS3Input interface { pulumi.Input - ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToJobTaskNewClusterInitScriptS3Output() JobTaskNewClusterInitScriptS3Output + ToJobTaskNewClusterInitScriptS3OutputWithContext(context.Context) JobTaskNewClusterInitScriptS3Output } -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (JobTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3Output() JobTaskNewClusterInitScriptS3Output { + return i.ToJobTaskNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptS3Output) } -// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: -// -// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { - pulumi.Input - - ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput +func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { + return i.ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput - -func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (i JobTaskNewClusterInitScriptS3Args) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptS3Output).ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) } -func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) -} +// JobTaskNewClusterInitScriptS3PtrInput is an input type that accepts JobTaskNewClusterInitScriptS3Args, JobTaskNewClusterInitScriptS3Ptr and JobTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptS3PtrInput` via: +// +// JobTaskNewClusterInitScriptS3Args{...} +// +// or: +// +// nil +type JobTaskNewClusterInitScriptS3PtrInput interface { + pulumi.Input -func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) + ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput + ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptS3PtrOutput } -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +type jobTaskNewClusterInitScriptS3PtrType JobTaskNewClusterInitScriptS3Args -func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func JobTaskNewClusterInitScriptS3Ptr(v *JobTaskNewClusterInitScriptS3Args) JobTaskNewClusterInitScriptS3PtrInput { + return (*jobTaskNewClusterInitScriptS3PtrType)(v) } -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (*jobTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return o +func (i *jobTaskNewClusterInitScriptS3PtrType) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { + return i.ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -// ID of the job -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id }).(pulumi.StringOutput) +func (i *jobTaskNewClusterInitScriptS3PtrType) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptS3PtrOutput) } -type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (JobTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3Output() JobTaskNewClusterInitScriptS3Output { return o } -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3Output { return o } -func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) -} - -type JobTaskWebhookNotificationsOnFailure struct { - // ID of the job - Id string `pulumi:"id"` -} - -// JobTaskWebhookNotificationsOnFailureInput is an input type that accepts JobTaskWebhookNotificationsOnFailureArgs and JobTaskWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnFailureInput` via: -// -// JobTaskWebhookNotificationsOnFailureArgs{...} -type JobTaskWebhookNotificationsOnFailureInput interface { - pulumi.Input - - ToJobTaskWebhookNotificationsOnFailureOutput() JobTaskWebhookNotificationsOnFailureOutput - ToJobTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) JobTaskWebhookNotificationsOnFailureOutput -} - -type JobTaskWebhookNotificationsOnFailureArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { + return o.ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (JobTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o JobTaskNewClusterInitScriptS3Output) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptS3) *JobTaskNewClusterInitScriptS3 { + return &v + }).(JobTaskNewClusterInitScriptS3PtrOutput) } -func (i JobTaskWebhookNotificationsOnFailureArgs) ToJobTaskWebhookNotificationsOnFailureOutput() JobTaskWebhookNotificationsOnFailureOutput { - return i.ToJobTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (o JobTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (i JobTaskWebhookNotificationsOnFailureArgs) ToJobTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnFailureOutput) +func (o JobTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -// JobTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts JobTaskWebhookNotificationsOnFailureArray and JobTaskWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnFailureArrayInput` via: -// -// JobTaskWebhookNotificationsOnFailureArray{ JobTaskWebhookNotificationsOnFailureArgs{...} } -type JobTaskWebhookNotificationsOnFailureArrayInput interface { - pulumi.Input - - ToJobTaskWebhookNotificationsOnFailureArrayOutput() JobTaskWebhookNotificationsOnFailureArrayOutput - ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnFailureArrayOutput +func (o JobTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -type JobTaskWebhookNotificationsOnFailureArray []JobTaskWebhookNotificationsOnFailureInput +func (o JobTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} -func (JobTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o JobTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (i JobTaskWebhookNotificationsOnFailureArray) ToJobTaskWebhookNotificationsOnFailureArrayOutput() JobTaskWebhookNotificationsOnFailureArrayOutput { - return i.ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (o JobTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (i JobTaskWebhookNotificationsOnFailureArray) ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnFailureArrayOutput) +func (o JobTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type JobTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (JobTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (JobTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOnFailureOutput) ToJobTaskWebhookNotificationsOnFailureOutput() JobTaskWebhookNotificationsOnFailureOutput { +func (o JobTaskNewClusterInitScriptS3PtrOutput) ToJobTaskNewClusterInitScriptS3PtrOutput() JobTaskNewClusterInitScriptS3PtrOutput { return o } -func (o JobTaskWebhookNotificationsOnFailureOutput) ToJobTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureOutput { +func (o JobTaskNewClusterInitScriptS3PtrOutput) ToJobTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptS3PtrOutput { return o } -// ID of the job -func (o JobTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskNewClusterInitScriptS3PtrOutput) Elem() JobTaskNewClusterInitScriptS3Output { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) JobTaskNewClusterInitScriptS3 { + if v != nil { + return *v + } + var ret JobTaskNewClusterInitScriptS3 + return ret + }).(JobTaskNewClusterInitScriptS3Output) } -type JobTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) +} -func (JobTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o JobTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o JobTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskWebhookNotificationsOnFailureArrayOutput() JobTaskWebhookNotificationsOnFailureArrayOutput { - return o +func (o JobTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o JobTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureArrayOutput { - return o +func (o JobTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o JobTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnFailure { - return vs[0].([]JobTaskWebhookNotificationsOnFailure)[vs[1].(int)] - }).(JobTaskWebhookNotificationsOnFailureOutput) +func (o JobTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -type JobTaskWebhookNotificationsOnStart struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -// JobTaskWebhookNotificationsOnStartInput is an input type that accepts JobTaskWebhookNotificationsOnStartArgs and JobTaskWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStartInput` via: +func (o JobTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type JobTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// JobTaskNewClusterInitScriptVolumesInput is an input type that accepts JobTaskNewClusterInitScriptVolumesArgs and JobTaskNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptVolumesInput` via: // -// JobTaskWebhookNotificationsOnStartArgs{...} -type JobTaskWebhookNotificationsOnStartInput interface { +// JobTaskNewClusterInitScriptVolumesArgs{...} +type JobTaskNewClusterInitScriptVolumesInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOnStartOutput() JobTaskWebhookNotificationsOnStartOutput - ToJobTaskWebhookNotificationsOnStartOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStartOutput + ToJobTaskNewClusterInitScriptVolumesOutput() JobTaskNewClusterInitScriptVolumesOutput + ToJobTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) JobTaskNewClusterInitScriptVolumesOutput } -type JobTaskWebhookNotificationsOnStartArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnStart)(nil)).Elem() +func (JobTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnStartArgs) ToJobTaskWebhookNotificationsOnStartOutput() JobTaskWebhookNotificationsOnStartOutput { - return i.ToJobTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesOutput() JobTaskNewClusterInitScriptVolumesOutput { + return i.ToJobTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsOnStartArgs) ToJobTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStartOutput) +func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptVolumesOutput) } -// JobTaskWebhookNotificationsOnStartArrayInput is an input type that accepts JobTaskWebhookNotificationsOnStartArray and JobTaskWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStartArrayInput` via: +func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i JobTaskNewClusterInitScriptVolumesArgs) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptVolumesOutput).ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +} + +// JobTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts JobTaskNewClusterInitScriptVolumesArgs, JobTaskNewClusterInitScriptVolumesPtr and JobTaskNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptVolumesPtrInput` via: // -// JobTaskWebhookNotificationsOnStartArray{ JobTaskWebhookNotificationsOnStartArgs{...} } -type JobTaskWebhookNotificationsOnStartArrayInput interface { +// JobTaskNewClusterInitScriptVolumesArgs{...} +// +// or: +// +// nil +type JobTaskNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOnStartArrayOutput() JobTaskWebhookNotificationsOnStartArrayOutput - ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStartArrayOutput + ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput + ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput } -type JobTaskWebhookNotificationsOnStartArray []JobTaskWebhookNotificationsOnStartInput +type jobTaskNewClusterInitScriptVolumesPtrType JobTaskNewClusterInitScriptVolumesArgs -func (JobTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStart)(nil)).Elem() +func JobTaskNewClusterInitScriptVolumesPtr(v *JobTaskNewClusterInitScriptVolumesArgs) JobTaskNewClusterInitScriptVolumesPtrInput { + return (*jobTaskNewClusterInitScriptVolumesPtrType)(v) } -func (i JobTaskWebhookNotificationsOnStartArray) ToJobTaskWebhookNotificationsOnStartArrayOutput() JobTaskWebhookNotificationsOnStartArrayOutput { - return i.ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (*jobTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnStartArray) ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStartArrayOutput) +func (i *jobTaskNewClusterInitScriptVolumesPtrType) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -type JobTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +func (i *jobTaskNewClusterInitScriptVolumesPtrType) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptVolumesPtrOutput) +} -func (JobTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnStart)(nil)).Elem() +type JobTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOnStartOutput) ToJobTaskWebhookNotificationsOnStartOutput() JobTaskWebhookNotificationsOnStartOutput { +func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesOutput() JobTaskNewClusterInitScriptVolumesOutput { return o } -func (o JobTaskWebhookNotificationsOnStartOutput) ToJobTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartOutput { +func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesOutput { return o } -// ID of the job -func (o JobTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -type JobTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterInitScriptVolumesOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptVolumes) *JobTaskNewClusterInitScriptVolumes { + return &v + }).(JobTaskNewClusterInitScriptVolumesPtrOutput) +} -func (JobTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStart)(nil)).Elem() +func (o JobTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskWebhookNotificationsOnStartArrayOutput() JobTaskWebhookNotificationsOnStartArrayOutput { +type JobTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (o JobTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutput() JobTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartArrayOutput { +func (o JobTaskNewClusterInitScriptVolumesPtrOutput) ToJobTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o JobTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnStart { - return vs[0].([]JobTaskWebhookNotificationsOnStart)[vs[1].(int)] - }).(JobTaskWebhookNotificationsOnStartOutput) +func (o JobTaskNewClusterInitScriptVolumesPtrOutput) Elem() JobTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptVolumes) JobTaskNewClusterInitScriptVolumes { + if v != nil { + return *v + } + var ret JobTaskNewClusterInitScriptVolumes + return ret + }).(JobTaskNewClusterInitScriptVolumesOutput) } -type JobTaskWebhookNotificationsOnStreamingBacklogExceeded struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptVolumes) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs and JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: +type JobTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` +} + +// JobTaskNewClusterInitScriptWorkspaceInput is an input type that accepts JobTaskNewClusterInitScriptWorkspaceArgs and JobTaskNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptWorkspaceInput` via: // -// JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} -type JobTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { +// JobTaskNewClusterInitScriptWorkspaceArgs{...} +type JobTaskNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput - ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToJobTaskNewClusterInitScriptWorkspaceOutput() JobTaskNewClusterInitScriptWorkspaceOutput + ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) JobTaskNewClusterInitScriptWorkspaceOutput } -type JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (JobTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return i.ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) +func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspaceOutput() JobTaskNewClusterInitScriptWorkspaceOutput { + return i.ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptWorkspaceOutput) } -// JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts JobTaskWebhookNotificationsOnStreamingBacklogExceededArray and JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i JobTaskNewClusterInitScriptWorkspaceArgs) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptWorkspaceOutput).ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +} + +// JobTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts JobTaskNewClusterInitScriptWorkspaceArgs, JobTaskNewClusterInitScriptWorkspacePtr and JobTaskNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterInitScriptWorkspacePtrInput` via: // -// JobTaskWebhookNotificationsOnStreamingBacklogExceededArray{ JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } -type JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { +// JobTaskNewClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type JobTaskNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput - ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput + ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput } -type JobTaskWebhookNotificationsOnStreamingBacklogExceededArray []JobTaskWebhookNotificationsOnStreamingBacklogExceededInput +type jobTaskNewClusterInitScriptWorkspacePtrType JobTaskNewClusterInitScriptWorkspaceArgs -func (JobTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func JobTaskNewClusterInitScriptWorkspacePtr(v *JobTaskNewClusterInitScriptWorkspaceArgs) JobTaskNewClusterInitScriptWorkspacePtrInput { + return (*jobTaskNewClusterInitScriptWorkspacePtrType)(v) } -func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return i.ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +func (*jobTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (i *jobTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } +func (i *jobTaskNewClusterInitScriptWorkspacePtrType) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterInitScriptWorkspacePtrOutput) +} -func (JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +type JobTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspaceOutput() JobTaskNewClusterInitScriptWorkspaceOutput { return o } -func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspaceOutput { return o } -// ID of the job -func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterInitScriptWorkspaceOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterInitScriptWorkspace) *JobTaskNewClusterInitScriptWorkspace { + return &v + }).(JobTaskNewClusterInitScriptWorkspacePtrOutput) +} -func (JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (o JobTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { +type JobTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutput() JobTaskNewClusterInitScriptWorkspacePtrOutput { return o } -func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { +func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) ToJobTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) JobTaskNewClusterInitScriptWorkspacePtrOutput { return o } -func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnStreamingBacklogExceeded { - return vs[0].([]JobTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] - }).(JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) Elem() JobTaskNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptWorkspace) JobTaskNewClusterInitScriptWorkspace { + if v != nil { + return *v + } + var ret JobTaskNewClusterInitScriptWorkspace + return ret + }).(JobTaskNewClusterInitScriptWorkspaceOutput) } -type JobTaskWebhookNotificationsOnSuccess struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// JobTaskWebhookNotificationsOnSuccessInput is an input type that accepts JobTaskWebhookNotificationsOnSuccessArgs and JobTaskWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnSuccessInput` via: +type JobTaskNewClusterLibrary struct { + Cran *JobTaskNewClusterLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *JobTaskNewClusterLibraryMaven `pulumi:"maven"` + Pypi *JobTaskNewClusterLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` +} + +// JobTaskNewClusterLibraryInput is an input type that accepts JobTaskNewClusterLibraryArgs and JobTaskNewClusterLibraryOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryInput` via: // -// JobTaskWebhookNotificationsOnSuccessArgs{...} -type JobTaskWebhookNotificationsOnSuccessInput interface { +// JobTaskNewClusterLibraryArgs{...} +type JobTaskNewClusterLibraryInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOnSuccessOutput() JobTaskWebhookNotificationsOnSuccessOutput - ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) JobTaskWebhookNotificationsOnSuccessOutput + ToJobTaskNewClusterLibraryOutput() JobTaskNewClusterLibraryOutput + ToJobTaskNewClusterLibraryOutputWithContext(context.Context) JobTaskNewClusterLibraryOutput } -type JobTaskWebhookNotificationsOnSuccessArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskNewClusterLibraryArgs struct { + Cran JobTaskNewClusterLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven JobTaskNewClusterLibraryMavenPtrInput `pulumi:"maven"` + Pypi JobTaskNewClusterLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (JobTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskNewClusterLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibrary)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnSuccessArgs) ToJobTaskWebhookNotificationsOnSuccessOutput() JobTaskWebhookNotificationsOnSuccessOutput { - return i.ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryArgs) ToJobTaskNewClusterLibraryOutput() JobTaskNewClusterLibraryOutput { + return i.ToJobTaskNewClusterLibraryOutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsOnSuccessArgs) ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnSuccessOutput) +func (i JobTaskNewClusterLibraryArgs) ToJobTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryOutput) } -// JobTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts JobTaskWebhookNotificationsOnSuccessArray and JobTaskWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `JobTaskWebhookNotificationsOnSuccessArrayInput` via: +// JobTaskNewClusterLibraryArrayInput is an input type that accepts JobTaskNewClusterLibraryArray and JobTaskNewClusterLibraryArrayOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryArrayInput` via: // -// JobTaskWebhookNotificationsOnSuccessArray{ JobTaskWebhookNotificationsOnSuccessArgs{...} } -type JobTaskWebhookNotificationsOnSuccessArrayInput interface { +// JobTaskNewClusterLibraryArray{ JobTaskNewClusterLibraryArgs{...} } +type JobTaskNewClusterLibraryArrayInput interface { pulumi.Input - ToJobTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskWebhookNotificationsOnSuccessArrayOutput - ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnSuccessArrayOutput + ToJobTaskNewClusterLibraryArrayOutput() JobTaskNewClusterLibraryArrayOutput + ToJobTaskNewClusterLibraryArrayOutputWithContext(context.Context) JobTaskNewClusterLibraryArrayOutput } -type JobTaskWebhookNotificationsOnSuccessArray []JobTaskWebhookNotificationsOnSuccessInput +type JobTaskNewClusterLibraryArray []JobTaskNewClusterLibraryInput -func (JobTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskNewClusterLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskNewClusterLibrary)(nil)).Elem() } -func (i JobTaskWebhookNotificationsOnSuccessArray) ToJobTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskWebhookNotificationsOnSuccessArrayOutput { - return i.ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryArray) ToJobTaskNewClusterLibraryArrayOutput() JobTaskNewClusterLibraryArrayOutput { + return i.ToJobTaskNewClusterLibraryArrayOutputWithContext(context.Background()) } -func (i JobTaskWebhookNotificationsOnSuccessArray) ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnSuccessArrayOutput) +func (i JobTaskNewClusterLibraryArray) ToJobTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryArrayOutput) } -type JobTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryOutput struct{ *pulumi.OutputState } -func (JobTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskNewClusterLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibrary)(nil)).Elem() } -func (o JobTaskWebhookNotificationsOnSuccessOutput) ToJobTaskWebhookNotificationsOnSuccessOutput() JobTaskWebhookNotificationsOnSuccessOutput { +func (o JobTaskNewClusterLibraryOutput) ToJobTaskNewClusterLibraryOutput() JobTaskNewClusterLibraryOutput { return o } -func (o JobTaskWebhookNotificationsOnSuccessOutput) ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessOutput { +func (o JobTaskNewClusterLibraryOutput) ToJobTaskNewClusterLibraryOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryOutput { return o } -// ID of the job -func (o JobTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskNewClusterLibraryOutput) Cran() JobTaskNewClusterLibraryCranPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *JobTaskNewClusterLibraryCran { return v.Cran }).(JobTaskNewClusterLibraryCranPtrOutput) } -type JobTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNewClusterLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +} -func (JobTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o JobTaskNewClusterLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskWebhookNotificationsOnSuccessArrayOutput { +func (o JobTaskNewClusterLibraryOutput) Maven() JobTaskNewClusterLibraryMavenPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *JobTaskNewClusterLibraryMaven { return v.Maven }).(JobTaskNewClusterLibraryMavenPtrOutput) +} + +func (o JobTaskNewClusterLibraryOutput) Pypi() JobTaskNewClusterLibraryPypiPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *JobTaskNewClusterLibraryPypi { return v.Pypi }).(JobTaskNewClusterLibraryPypiPtrOutput) +} + +func (o JobTaskNewClusterLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +} + +func (o JobTaskNewClusterLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type JobTaskNewClusterLibraryArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskNewClusterLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskNewClusterLibrary)(nil)).Elem() +} + +func (o JobTaskNewClusterLibraryArrayOutput) ToJobTaskNewClusterLibraryArrayOutput() JobTaskNewClusterLibraryArrayOutput { return o } -func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessArrayOutput { +func (o JobTaskNewClusterLibraryArrayOutput) ToJobTaskNewClusterLibraryArrayOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryArrayOutput { return o } -func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnSuccess { - return vs[0].([]JobTaskWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(JobTaskWebhookNotificationsOnSuccessOutput) +func (o JobTaskNewClusterLibraryArrayOutput) Index(i pulumi.IntInput) JobTaskNewClusterLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskNewClusterLibrary { + return vs[0].([]JobTaskNewClusterLibrary)[vs[1].(int)] + }).(JobTaskNewClusterLibraryOutput) } -type JobTrigger struct { - // configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: - FileArrival *JobTriggerFileArrival `pulumi:"fileArrival"` - // Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. - PauseStatus *string `pulumi:"pauseStatus"` - // configuration block to define a trigger for Periodic Triggers consisting of the following attributes: - Periodic *JobTriggerPeriodic `pulumi:"periodic"` - Table *JobTriggerTable `pulumi:"table"` - TableUpdate *JobTriggerTableUpdate `pulumi:"tableUpdate"` +type JobTaskNewClusterLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobTriggerInput is an input type that accepts JobTriggerArgs and JobTriggerOutput values. -// You can construct a concrete instance of `JobTriggerInput` via: +// JobTaskNewClusterLibraryCranInput is an input type that accepts JobTaskNewClusterLibraryCranArgs and JobTaskNewClusterLibraryCranOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryCranInput` via: // -// JobTriggerArgs{...} -type JobTriggerInput interface { +// JobTaskNewClusterLibraryCranArgs{...} +type JobTaskNewClusterLibraryCranInput interface { pulumi.Input - ToJobTriggerOutput() JobTriggerOutput - ToJobTriggerOutputWithContext(context.Context) JobTriggerOutput + ToJobTaskNewClusterLibraryCranOutput() JobTaskNewClusterLibraryCranOutput + ToJobTaskNewClusterLibraryCranOutputWithContext(context.Context) JobTaskNewClusterLibraryCranOutput } -type JobTriggerArgs struct { - // configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: - FileArrival JobTriggerFileArrivalPtrInput `pulumi:"fileArrival"` - // Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - // configuration block to define a trigger for Periodic Triggers consisting of the following attributes: - Periodic JobTriggerPeriodicPtrInput `pulumi:"periodic"` - Table JobTriggerTablePtrInput `pulumi:"table"` - TableUpdate JobTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` +type JobTaskNewClusterLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTriggerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTrigger)(nil)).Elem() +func (JobTaskNewClusterLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibraryCran)(nil)).Elem() } -func (i JobTriggerArgs) ToJobTriggerOutput() JobTriggerOutput { - return i.ToJobTriggerOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranOutput() JobTaskNewClusterLibraryCranOutput { + return i.ToJobTaskNewClusterLibraryCranOutputWithContext(context.Background()) } -func (i JobTriggerArgs) ToJobTriggerOutputWithContext(ctx context.Context) JobTriggerOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerOutput) +func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryCranOutput) } -func (i JobTriggerArgs) ToJobTriggerPtrOutput() JobTriggerPtrOutput { - return i.ToJobTriggerPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { + return i.ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i JobTriggerArgs) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerOutput).ToJobTriggerPtrOutputWithContext(ctx) +func (i JobTaskNewClusterLibraryCranArgs) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryCranOutput).ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx) } -// JobTriggerPtrInput is an input type that accepts JobTriggerArgs, JobTriggerPtr and JobTriggerPtrOutput values. -// You can construct a concrete instance of `JobTriggerPtrInput` via: +// JobTaskNewClusterLibraryCranPtrInput is an input type that accepts JobTaskNewClusterLibraryCranArgs, JobTaskNewClusterLibraryCranPtr and JobTaskNewClusterLibraryCranPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryCranPtrInput` via: // -// JobTriggerArgs{...} +// JobTaskNewClusterLibraryCranArgs{...} // // or: // // nil -type JobTriggerPtrInput interface { +type JobTaskNewClusterLibraryCranPtrInput interface { pulumi.Input - ToJobTriggerPtrOutput() JobTriggerPtrOutput - ToJobTriggerPtrOutputWithContext(context.Context) JobTriggerPtrOutput + ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput + ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Context) JobTaskNewClusterLibraryCranPtrOutput } -type jobTriggerPtrType JobTriggerArgs +type jobTaskNewClusterLibraryCranPtrType JobTaskNewClusterLibraryCranArgs -func JobTriggerPtr(v *JobTriggerArgs) JobTriggerPtrInput { - return (*jobTriggerPtrType)(v) +func JobTaskNewClusterLibraryCranPtr(v *JobTaskNewClusterLibraryCranArgs) JobTaskNewClusterLibraryCranPtrInput { + return (*jobTaskNewClusterLibraryCranPtrType)(v) } -func (*jobTriggerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTrigger)(nil)).Elem() +func (*jobTaskNewClusterLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterLibraryCran)(nil)).Elem() } -func (i *jobTriggerPtrType) ToJobTriggerPtrOutput() JobTriggerPtrOutput { - return i.ToJobTriggerPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterLibraryCranPtrType) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { + return i.ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (i *jobTriggerPtrType) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPtrOutput) +func (i *jobTaskNewClusterLibraryCranPtrType) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryCranPtrOutput) } -type JobTriggerOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryCranOutput struct{ *pulumi.OutputState } -func (JobTriggerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTrigger)(nil)).Elem() +func (JobTaskNewClusterLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibraryCran)(nil)).Elem() } -func (o JobTriggerOutput) ToJobTriggerOutput() JobTriggerOutput { +func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranOutput() JobTaskNewClusterLibraryCranOutput { return o } -func (o JobTriggerOutput) ToJobTriggerOutputWithContext(ctx context.Context) JobTriggerOutput { +func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranOutput { return o } -func (o JobTriggerOutput) ToJobTriggerPtrOutput() JobTriggerPtrOutput { - return o.ToJobTriggerPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { + return o.ToJobTaskNewClusterLibraryCranPtrOutputWithContext(context.Background()) } -func (o JobTriggerOutput) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTrigger) *JobTrigger { +func (o JobTaskNewClusterLibraryCranOutput) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterLibraryCran) *JobTaskNewClusterLibraryCran { return &v - }).(JobTriggerPtrOutput) -} - -// configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: -func (o JobTriggerOutput) FileArrival() JobTriggerFileArrivalPtrOutput { - return o.ApplyT(func(v JobTrigger) *JobTriggerFileArrival { return v.FileArrival }).(JobTriggerFileArrivalPtrOutput) -} - -// Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. -func (o JobTriggerOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) -} - -// configuration block to define a trigger for Periodic Triggers consisting of the following attributes: -func (o JobTriggerOutput) Periodic() JobTriggerPeriodicPtrOutput { - return o.ApplyT(func(v JobTrigger) *JobTriggerPeriodic { return v.Periodic }).(JobTriggerPeriodicPtrOutput) + }).(JobTaskNewClusterLibraryCranPtrOutput) } -func (o JobTriggerOutput) Table() JobTriggerTablePtrOutput { - return o.ApplyT(func(v JobTrigger) *JobTriggerTable { return v.Table }).(JobTriggerTablePtrOutput) +func (o JobTaskNewClusterLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o JobTriggerOutput) TableUpdate() JobTriggerTableUpdatePtrOutput { - return o.ApplyT(func(v JobTrigger) *JobTriggerTableUpdate { return v.TableUpdate }).(JobTriggerTableUpdatePtrOutput) +func (o JobTaskNewClusterLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTriggerPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (JobTriggerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTrigger)(nil)).Elem() +func (JobTaskNewClusterLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterLibraryCran)(nil)).Elem() } -func (o JobTriggerPtrOutput) ToJobTriggerPtrOutput() JobTriggerPtrOutput { +func (o JobTaskNewClusterLibraryCranPtrOutput) ToJobTaskNewClusterLibraryCranPtrOutput() JobTaskNewClusterLibraryCranPtrOutput { return o } -func (o JobTriggerPtrOutput) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { +func (o JobTaskNewClusterLibraryCranPtrOutput) ToJobTaskNewClusterLibraryCranPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryCranPtrOutput { return o } -func (o JobTriggerPtrOutput) Elem() JobTriggerOutput { - return o.ApplyT(func(v *JobTrigger) JobTrigger { +func (o JobTaskNewClusterLibraryCranPtrOutput) Elem() JobTaskNewClusterLibraryCranOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryCran) JobTaskNewClusterLibraryCran { if v != nil { return *v } - var ret JobTrigger + var ret JobTaskNewClusterLibraryCran return ret - }).(JobTriggerOutput) -} - -// configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: -func (o JobTriggerPtrOutput) FileArrival() JobTriggerFileArrivalPtrOutput { - return o.ApplyT(func(v *JobTrigger) *JobTriggerFileArrival { - if v == nil { - return nil - } - return v.FileArrival - }).(JobTriggerFileArrivalPtrOutput) + }).(JobTaskNewClusterLibraryCranOutput) } -// Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. -func (o JobTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTrigger) *string { +func (o JobTaskNewClusterLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryCran) *string { if v == nil { return nil } - return v.PauseStatus + return &v.Package }).(pulumi.StringPtrOutput) } -// configuration block to define a trigger for Periodic Triggers consisting of the following attributes: -func (o JobTriggerPtrOutput) Periodic() JobTriggerPeriodicPtrOutput { - return o.ApplyT(func(v *JobTrigger) *JobTriggerPeriodic { - if v == nil { - return nil - } - return v.Periodic - }).(JobTriggerPeriodicPtrOutput) -} - -func (o JobTriggerPtrOutput) Table() JobTriggerTablePtrOutput { - return o.ApplyT(func(v *JobTrigger) *JobTriggerTable { - if v == nil { - return nil - } - return v.Table - }).(JobTriggerTablePtrOutput) -} - -func (o JobTriggerPtrOutput) TableUpdate() JobTriggerTableUpdatePtrOutput { - return o.ApplyT(func(v *JobTrigger) *JobTriggerTableUpdate { +func (o JobTaskNewClusterLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryCran) *string { if v == nil { return nil } - return v.TableUpdate - }).(JobTriggerTableUpdatePtrOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -type JobTriggerFileArrival struct { - // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - // URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). - Url string `pulumi:"url"` - // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +type JobTaskNewClusterLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// JobTriggerFileArrivalInput is an input type that accepts JobTriggerFileArrivalArgs and JobTriggerFileArrivalOutput values. -// You can construct a concrete instance of `JobTriggerFileArrivalInput` via: +// JobTaskNewClusterLibraryMavenInput is an input type that accepts JobTaskNewClusterLibraryMavenArgs and JobTaskNewClusterLibraryMavenOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryMavenInput` via: // -// JobTriggerFileArrivalArgs{...} -type JobTriggerFileArrivalInput interface { +// JobTaskNewClusterLibraryMavenArgs{...} +type JobTaskNewClusterLibraryMavenInput interface { pulumi.Input - ToJobTriggerFileArrivalOutput() JobTriggerFileArrivalOutput - ToJobTriggerFileArrivalOutputWithContext(context.Context) JobTriggerFileArrivalOutput + ToJobTaskNewClusterLibraryMavenOutput() JobTaskNewClusterLibraryMavenOutput + ToJobTaskNewClusterLibraryMavenOutputWithContext(context.Context) JobTaskNewClusterLibraryMavenOutput } -type JobTriggerFileArrivalArgs struct { - // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - // URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). - Url pulumi.StringInput `pulumi:"url"` - // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` +type JobTaskNewClusterLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTriggerFileArrivalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerFileArrival)(nil)).Elem() +func (JobTaskNewClusterLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibraryMaven)(nil)).Elem() } -func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalOutput() JobTriggerFileArrivalOutput { - return i.ToJobTriggerFileArrivalOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenOutput() JobTaskNewClusterLibraryMavenOutput { + return i.ToJobTaskNewClusterLibraryMavenOutputWithContext(context.Background()) } -func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalOutputWithContext(ctx context.Context) JobTriggerFileArrivalOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerFileArrivalOutput) +func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryMavenOutput) } -func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { - return i.ToJobTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { + return i.ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerFileArrivalOutput).ToJobTriggerFileArrivalPtrOutputWithContext(ctx) +func (i JobTaskNewClusterLibraryMavenArgs) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryMavenOutput).ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx) } -// JobTriggerFileArrivalPtrInput is an input type that accepts JobTriggerFileArrivalArgs, JobTriggerFileArrivalPtr and JobTriggerFileArrivalPtrOutput values. -// You can construct a concrete instance of `JobTriggerFileArrivalPtrInput` via: +// JobTaskNewClusterLibraryMavenPtrInput is an input type that accepts JobTaskNewClusterLibraryMavenArgs, JobTaskNewClusterLibraryMavenPtr and JobTaskNewClusterLibraryMavenPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryMavenPtrInput` via: // -// JobTriggerFileArrivalArgs{...} +// JobTaskNewClusterLibraryMavenArgs{...} // // or: // // nil -type JobTriggerFileArrivalPtrInput interface { +type JobTaskNewClusterLibraryMavenPtrInput interface { pulumi.Input - ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput - ToJobTriggerFileArrivalPtrOutputWithContext(context.Context) JobTriggerFileArrivalPtrOutput + ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput + ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Context) JobTaskNewClusterLibraryMavenPtrOutput } -type jobTriggerFileArrivalPtrType JobTriggerFileArrivalArgs +type jobTaskNewClusterLibraryMavenPtrType JobTaskNewClusterLibraryMavenArgs -func JobTriggerFileArrivalPtr(v *JobTriggerFileArrivalArgs) JobTriggerFileArrivalPtrInput { - return (*jobTriggerFileArrivalPtrType)(v) +func JobTaskNewClusterLibraryMavenPtr(v *JobTaskNewClusterLibraryMavenArgs) JobTaskNewClusterLibraryMavenPtrInput { + return (*jobTaskNewClusterLibraryMavenPtrType)(v) } -func (*jobTriggerFileArrivalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerFileArrival)(nil)).Elem() +func (*jobTaskNewClusterLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterLibraryMaven)(nil)).Elem() } -func (i *jobTriggerFileArrivalPtrType) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { - return i.ToJobTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterLibraryMavenPtrType) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { + return i.ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *jobTriggerFileArrivalPtrType) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerFileArrivalPtrOutput) +func (i *jobTaskNewClusterLibraryMavenPtrType) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryMavenPtrOutput) } -type JobTriggerFileArrivalOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryMavenOutput struct{ *pulumi.OutputState } -func (JobTriggerFileArrivalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerFileArrival)(nil)).Elem() +func (JobTaskNewClusterLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibraryMaven)(nil)).Elem() } -func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalOutput() JobTriggerFileArrivalOutput { +func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenOutput() JobTaskNewClusterLibraryMavenOutput { return o } -func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalOutputWithContext(ctx context.Context) JobTriggerFileArrivalOutput { +func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenOutput { return o } -func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { - return o.ToJobTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { + return o.ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(context.Background()) } -func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerFileArrival) *JobTriggerFileArrival { +func (o JobTaskNewClusterLibraryMavenOutput) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterLibraryMaven) *JobTaskNewClusterLibraryMaven { return &v - }).(JobTriggerFileArrivalPtrOutput) + }).(JobTaskNewClusterLibraryMavenPtrOutput) } -// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. -func (o JobTriggerFileArrivalOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTriggerFileArrival) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +func (o JobTaskNewClusterLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -// URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). -func (o JobTriggerFileArrivalOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v JobTriggerFileArrival) string { return v.Url }).(pulumi.StringOutput) +func (o JobTaskNewClusterLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. -func (o JobTriggerFileArrivalOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTriggerFileArrival) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o JobTaskNewClusterLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTriggerFileArrivalPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (JobTriggerFileArrivalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerFileArrival)(nil)).Elem() +func (JobTaskNewClusterLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterLibraryMaven)(nil)).Elem() } -func (o JobTriggerFileArrivalPtrOutput) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { +func (o JobTaskNewClusterLibraryMavenPtrOutput) ToJobTaskNewClusterLibraryMavenPtrOutput() JobTaskNewClusterLibraryMavenPtrOutput { return o } -func (o JobTriggerFileArrivalPtrOutput) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { +func (o JobTaskNewClusterLibraryMavenPtrOutput) ToJobTaskNewClusterLibraryMavenPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryMavenPtrOutput { return o } -func (o JobTriggerFileArrivalPtrOutput) Elem() JobTriggerFileArrivalOutput { - return o.ApplyT(func(v *JobTriggerFileArrival) JobTriggerFileArrival { +func (o JobTaskNewClusterLibraryMavenPtrOutput) Elem() JobTaskNewClusterLibraryMavenOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) JobTaskNewClusterLibraryMaven { if v != nil { return *v } - var ret JobTriggerFileArrival + var ret JobTaskNewClusterLibraryMaven return ret - }).(JobTriggerFileArrivalOutput) + }).(JobTaskNewClusterLibraryMavenOutput) } -// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. -func (o JobTriggerFileArrivalPtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerFileArrival) *int { +func (o JobTaskNewClusterLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) *string { if v == nil { return nil } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) + return &v.Coordinates + }).(pulumi.StringPtrOutput) } -// URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). -func (o JobTriggerFileArrivalPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTriggerFileArrival) *string { +func (o JobTaskNewClusterLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) []string { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return v.Exclusions + }).(pulumi.StringArrayOutput) } -// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. -func (o JobTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerFileArrival) *int { +func (o JobTaskNewClusterLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryMaven) *string { if v == nil { return nil } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) + return v.Repo + }).(pulumi.StringPtrOutput) } -type JobTriggerPeriodic struct { - // Specifies the interval at which the job should run. This value is required. - Interval int `pulumi:"interval"` - // Options are {"DAYS", "HOURS", "WEEKS"}. - Unit string `pulumi:"unit"` +type JobTaskNewClusterLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// JobTriggerPeriodicInput is an input type that accepts JobTriggerPeriodicArgs and JobTriggerPeriodicOutput values. -// You can construct a concrete instance of `JobTriggerPeriodicInput` via: +// JobTaskNewClusterLibraryPypiInput is an input type that accepts JobTaskNewClusterLibraryPypiArgs and JobTaskNewClusterLibraryPypiOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryPypiInput` via: // -// JobTriggerPeriodicArgs{...} -type JobTriggerPeriodicInput interface { +// JobTaskNewClusterLibraryPypiArgs{...} +type JobTaskNewClusterLibraryPypiInput interface { pulumi.Input - ToJobTriggerPeriodicOutput() JobTriggerPeriodicOutput - ToJobTriggerPeriodicOutputWithContext(context.Context) JobTriggerPeriodicOutput + ToJobTaskNewClusterLibraryPypiOutput() JobTaskNewClusterLibraryPypiOutput + ToJobTaskNewClusterLibraryPypiOutputWithContext(context.Context) JobTaskNewClusterLibraryPypiOutput } -type JobTriggerPeriodicArgs struct { - // Specifies the interval at which the job should run. This value is required. - Interval pulumi.IntInput `pulumi:"interval"` - // Options are {"DAYS", "HOURS", "WEEKS"}. - Unit pulumi.StringInput `pulumi:"unit"` +type JobTaskNewClusterLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (JobTriggerPeriodicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerPeriodic)(nil)).Elem() +func (JobTaskNewClusterLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibraryPypi)(nil)).Elem() } -func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicOutput() JobTriggerPeriodicOutput { - return i.ToJobTriggerPeriodicOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiOutput() JobTaskNewClusterLibraryPypiOutput { + return i.ToJobTaskNewClusterLibraryPypiOutputWithContext(context.Background()) } -func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicOutputWithContext(ctx context.Context) JobTriggerPeriodicOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPeriodicOutput) +func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryPypiOutput) } -func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { - return i.ToJobTriggerPeriodicPtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { + return i.ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPeriodicOutput).ToJobTriggerPeriodicPtrOutputWithContext(ctx) +func (i JobTaskNewClusterLibraryPypiArgs) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryPypiOutput).ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx) } -// JobTriggerPeriodicPtrInput is an input type that accepts JobTriggerPeriodicArgs, JobTriggerPeriodicPtr and JobTriggerPeriodicPtrOutput values. -// You can construct a concrete instance of `JobTriggerPeriodicPtrInput` via: +// JobTaskNewClusterLibraryPypiPtrInput is an input type that accepts JobTaskNewClusterLibraryPypiArgs, JobTaskNewClusterLibraryPypiPtr and JobTaskNewClusterLibraryPypiPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterLibraryPypiPtrInput` via: // -// JobTriggerPeriodicArgs{...} +// JobTaskNewClusterLibraryPypiArgs{...} // // or: // // nil -type JobTriggerPeriodicPtrInput interface { +type JobTaskNewClusterLibraryPypiPtrInput interface { pulumi.Input - ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput - ToJobTriggerPeriodicPtrOutputWithContext(context.Context) JobTriggerPeriodicPtrOutput + ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput + ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Context) JobTaskNewClusterLibraryPypiPtrOutput } -type jobTriggerPeriodicPtrType JobTriggerPeriodicArgs +type jobTaskNewClusterLibraryPypiPtrType JobTaskNewClusterLibraryPypiArgs -func JobTriggerPeriodicPtr(v *JobTriggerPeriodicArgs) JobTriggerPeriodicPtrInput { - return (*jobTriggerPeriodicPtrType)(v) +func JobTaskNewClusterLibraryPypiPtr(v *JobTaskNewClusterLibraryPypiArgs) JobTaskNewClusterLibraryPypiPtrInput { + return (*jobTaskNewClusterLibraryPypiPtrType)(v) } -func (*jobTriggerPeriodicPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerPeriodic)(nil)).Elem() +func (*jobTaskNewClusterLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterLibraryPypi)(nil)).Elem() } -func (i *jobTriggerPeriodicPtrType) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { - return i.ToJobTriggerPeriodicPtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterLibraryPypiPtrType) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { + return i.ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *jobTriggerPeriodicPtrType) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPeriodicPtrOutput) +func (i *jobTaskNewClusterLibraryPypiPtrType) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterLibraryPypiPtrOutput) } -type JobTriggerPeriodicOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryPypiOutput struct{ *pulumi.OutputState } -func (JobTriggerPeriodicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerPeriodic)(nil)).Elem() +func (JobTaskNewClusterLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicOutput() JobTriggerPeriodicOutput { +func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiOutput() JobTaskNewClusterLibraryPypiOutput { return o } -func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicOutputWithContext(ctx context.Context) JobTriggerPeriodicOutput { +func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiOutput { return o } -func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { - return o.ToJobTriggerPeriodicPtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { + return o.ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(context.Background()) } -func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerPeriodic) *JobTriggerPeriodic { +func (o JobTaskNewClusterLibraryPypiOutput) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterLibraryPypi) *JobTaskNewClusterLibraryPypi { return &v - }).(JobTriggerPeriodicPtrOutput) + }).(JobTaskNewClusterLibraryPypiPtrOutput) } -// Specifies the interval at which the job should run. This value is required. -func (o JobTriggerPeriodicOutput) Interval() pulumi.IntOutput { - return o.ApplyT(func(v JobTriggerPeriodic) int { return v.Interval }).(pulumi.IntOutput) +func (o JobTaskNewClusterLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -// Options are {"DAYS", "HOURS", "WEEKS"}. -func (o JobTriggerPeriodicOutput) Unit() pulumi.StringOutput { - return o.ApplyT(func(v JobTriggerPeriodic) string { return v.Unit }).(pulumi.StringOutput) +func (o JobTaskNewClusterLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type JobTriggerPeriodicPtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (JobTriggerPeriodicPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerPeriodic)(nil)).Elem() +func (JobTaskNewClusterLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterLibraryPypi)(nil)).Elem() } -func (o JobTriggerPeriodicPtrOutput) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { +func (o JobTaskNewClusterLibraryPypiPtrOutput) ToJobTaskNewClusterLibraryPypiPtrOutput() JobTaskNewClusterLibraryPypiPtrOutput { return o } -func (o JobTriggerPeriodicPtrOutput) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { +func (o JobTaskNewClusterLibraryPypiPtrOutput) ToJobTaskNewClusterLibraryPypiPtrOutputWithContext(ctx context.Context) JobTaskNewClusterLibraryPypiPtrOutput { return o } -func (o JobTriggerPeriodicPtrOutput) Elem() JobTriggerPeriodicOutput { - return o.ApplyT(func(v *JobTriggerPeriodic) JobTriggerPeriodic { +func (o JobTaskNewClusterLibraryPypiPtrOutput) Elem() JobTaskNewClusterLibraryPypiOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryPypi) JobTaskNewClusterLibraryPypi { if v != nil { return *v } - var ret JobTriggerPeriodic + var ret JobTaskNewClusterLibraryPypi return ret - }).(JobTriggerPeriodicOutput) + }).(JobTaskNewClusterLibraryPypiOutput) } -// Specifies the interval at which the job should run. This value is required. -func (o JobTriggerPeriodicPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerPeriodic) *int { +func (o JobTaskNewClusterLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryPypi) *string { if v == nil { return nil } - return &v.Interval - }).(pulumi.IntPtrOutput) + return &v.Package + }).(pulumi.StringPtrOutput) } -// Options are {"DAYS", "HOURS", "WEEKS"}. -func (o JobTriggerPeriodicPtrOutput) Unit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTriggerPeriodic) *string { +func (o JobTaskNewClusterLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterLibraryPypi) *string { if v == nil { return nil } - return &v.Unit + return v.Repo }).(pulumi.StringPtrOutput) } -type JobTriggerTable struct { - Condition *string `pulumi:"condition"` - // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames []string `pulumi:"tableNames"` - // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +type JobTaskNewClusterWorkloadType struct { + Clients JobTaskNewClusterWorkloadTypeClients `pulumi:"clients"` } -// JobTriggerTableInput is an input type that accepts JobTriggerTableArgs and JobTriggerTableOutput values. -// You can construct a concrete instance of `JobTriggerTableInput` via: +// JobTaskNewClusterWorkloadTypeInput is an input type that accepts JobTaskNewClusterWorkloadTypeArgs and JobTaskNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypeInput` via: // -// JobTriggerTableArgs{...} -type JobTriggerTableInput interface { +// JobTaskNewClusterWorkloadTypeArgs{...} +type JobTaskNewClusterWorkloadTypeInput interface { pulumi.Input - ToJobTriggerTableOutput() JobTriggerTableOutput - ToJobTriggerTableOutputWithContext(context.Context) JobTriggerTableOutput + ToJobTaskNewClusterWorkloadTypeOutput() JobTaskNewClusterWorkloadTypeOutput + ToJobTaskNewClusterWorkloadTypeOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypeOutput } -type JobTriggerTableArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` - // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames pulumi.StringArrayInput `pulumi:"tableNames"` - // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` +type JobTaskNewClusterWorkloadTypeArgs struct { + Clients JobTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (JobTriggerTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerTable)(nil)).Elem() +func (JobTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterWorkloadType)(nil)).Elem() } -func (i JobTriggerTableArgs) ToJobTriggerTableOutput() JobTriggerTableOutput { - return i.ToJobTriggerTableOutputWithContext(context.Background()) +func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypeOutput() JobTaskNewClusterWorkloadTypeOutput { + return i.ToJobTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i JobTriggerTableArgs) ToJobTriggerTableOutputWithContext(ctx context.Context) JobTriggerTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableOutput) +func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeOutput) } -func (i JobTriggerTableArgs) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { - return i.ToJobTriggerTablePtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { + return i.ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i JobTriggerTableArgs) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableOutput).ToJobTriggerTablePtrOutputWithContext(ctx) +func (i JobTaskNewClusterWorkloadTypeArgs) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeOutput).ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// JobTriggerTablePtrInput is an input type that accepts JobTriggerTableArgs, JobTriggerTablePtr and JobTriggerTablePtrOutput values. -// You can construct a concrete instance of `JobTriggerTablePtrInput` via: +// JobTaskNewClusterWorkloadTypePtrInput is an input type that accepts JobTaskNewClusterWorkloadTypeArgs, JobTaskNewClusterWorkloadTypePtr and JobTaskNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypePtrInput` via: // -// JobTriggerTableArgs{...} +// JobTaskNewClusterWorkloadTypeArgs{...} // // or: // // nil -type JobTriggerTablePtrInput interface { +type JobTaskNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput - ToJobTriggerTablePtrOutputWithContext(context.Context) JobTriggerTablePtrOutput + ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput + ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypePtrOutput } -type jobTriggerTablePtrType JobTriggerTableArgs +type jobTaskNewClusterWorkloadTypePtrType JobTaskNewClusterWorkloadTypeArgs -func JobTriggerTablePtr(v *JobTriggerTableArgs) JobTriggerTablePtrInput { - return (*jobTriggerTablePtrType)(v) +func JobTaskNewClusterWorkloadTypePtr(v *JobTaskNewClusterWorkloadTypeArgs) JobTaskNewClusterWorkloadTypePtrInput { + return (*jobTaskNewClusterWorkloadTypePtrType)(v) } -func (*jobTriggerTablePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerTable)(nil)).Elem() +func (*jobTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterWorkloadType)(nil)).Elem() } -func (i *jobTriggerTablePtrType) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { - return i.ToJobTriggerTablePtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterWorkloadTypePtrType) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { + return i.ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *jobTriggerTablePtrType) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTablePtrOutput) +func (i *jobTaskNewClusterWorkloadTypePtrType) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypePtrOutput) } -type JobTriggerTableOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (JobTriggerTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerTable)(nil)).Elem() +func (JobTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterWorkloadType)(nil)).Elem() } -func (o JobTriggerTableOutput) ToJobTriggerTableOutput() JobTriggerTableOutput { +func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypeOutput() JobTaskNewClusterWorkloadTypeOutput { return o } -func (o JobTriggerTableOutput) ToJobTriggerTableOutputWithContext(ctx context.Context) JobTriggerTableOutput { +func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeOutput { return o } -func (o JobTriggerTableOutput) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { - return o.ToJobTriggerTablePtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { + return o.ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o JobTriggerTableOutput) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerTable) *JobTriggerTable { +func (o JobTaskNewClusterWorkloadTypeOutput) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterWorkloadType) *JobTaskNewClusterWorkloadType { return &v - }).(JobTriggerTablePtrOutput) -} - -func (o JobTriggerTableOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTriggerTable) *string { return v.Condition }).(pulumi.StringPtrOutput) -} - -// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. -func (o JobTriggerTableOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTriggerTable) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) -} - -func (o JobTriggerTableOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTriggerTable) []string { return v.TableNames }).(pulumi.StringArrayOutput) + }).(JobTaskNewClusterWorkloadTypePtrOutput) } -// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. -func (o JobTriggerTableOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTriggerTable) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o JobTaskNewClusterWorkloadTypeOutput) Clients() JobTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v JobTaskNewClusterWorkloadType) JobTaskNewClusterWorkloadTypeClients { return v.Clients }).(JobTaskNewClusterWorkloadTypeClientsOutput) } -type JobTriggerTablePtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (JobTriggerTablePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerTable)(nil)).Elem() +func (JobTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterWorkloadType)(nil)).Elem() } -func (o JobTriggerTablePtrOutput) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { +func (o JobTaskNewClusterWorkloadTypePtrOutput) ToJobTaskNewClusterWorkloadTypePtrOutput() JobTaskNewClusterWorkloadTypePtrOutput { return o } -func (o JobTriggerTablePtrOutput) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { +func (o JobTaskNewClusterWorkloadTypePtrOutput) ToJobTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypePtrOutput { return o } -func (o JobTriggerTablePtrOutput) Elem() JobTriggerTableOutput { - return o.ApplyT(func(v *JobTriggerTable) JobTriggerTable { +func (o JobTaskNewClusterWorkloadTypePtrOutput) Elem() JobTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *JobTaskNewClusterWorkloadType) JobTaskNewClusterWorkloadType { if v != nil { return *v } - var ret JobTriggerTable + var ret JobTaskNewClusterWorkloadType return ret - }).(JobTriggerTableOutput) -} - -func (o JobTriggerTablePtrOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTriggerTable) *string { - if v == nil { - return nil - } - return v.Condition - }).(pulumi.StringPtrOutput) -} - -// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. -func (o JobTriggerTablePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerTable) *int { - if v == nil { - return nil - } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) -} - -func (o JobTriggerTablePtrOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTriggerTable) []string { - if v == nil { - return nil - } - return v.TableNames - }).(pulumi.StringArrayOutput) + }).(JobTaskNewClusterWorkloadTypeOutput) } -// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. -func (o JobTriggerTablePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerTable) *int { +func (o JobTaskNewClusterWorkloadTypePtrOutput) Clients() JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterWorkloadType) *JobTaskNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) + return &v.Clients + }).(JobTaskNewClusterWorkloadTypeClientsPtrOutput) } -type JobTriggerTableUpdate struct { - Condition *string `pulumi:"condition"` - // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames []string `pulumi:"tableNames"` - // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +type JobTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// JobTriggerTableUpdateInput is an input type that accepts JobTriggerTableUpdateArgs and JobTriggerTableUpdateOutput values. -// You can construct a concrete instance of `JobTriggerTableUpdateInput` via: +// JobTaskNewClusterWorkloadTypeClientsInput is an input type that accepts JobTaskNewClusterWorkloadTypeClientsArgs and JobTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypeClientsInput` via: // -// JobTriggerTableUpdateArgs{...} -type JobTriggerTableUpdateInput interface { +// JobTaskNewClusterWorkloadTypeClientsArgs{...} +type JobTaskNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput - ToJobTriggerTableUpdateOutputWithContext(context.Context) JobTriggerTableUpdateOutput + ToJobTaskNewClusterWorkloadTypeClientsOutput() JobTaskNewClusterWorkloadTypeClientsOutput + ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypeClientsOutput } -type JobTriggerTableUpdateArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` - // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames pulumi.StringArrayInput `pulumi:"tableNames"` - // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` +type JobTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (JobTriggerTableUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerTableUpdate)(nil)).Elem() +func (JobTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput { - return i.ToJobTriggerTableUpdateOutputWithContext(context.Background()) +func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsOutput() JobTaskNewClusterWorkloadTypeClientsOutput { + return i.ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdateOutputWithContext(ctx context.Context) JobTriggerTableUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdateOutput) +func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeClientsOutput) } -func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { - return i.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdateOutput).ToJobTriggerTableUpdatePtrOutputWithContext(ctx) +func (i JobTaskNewClusterWorkloadTypeClientsArgs) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeClientsOutput).ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// JobTriggerTableUpdatePtrInput is an input type that accepts JobTriggerTableUpdateArgs, JobTriggerTableUpdatePtr and JobTriggerTableUpdatePtrOutput values. -// You can construct a concrete instance of `JobTriggerTableUpdatePtrInput` via: +// JobTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts JobTaskNewClusterWorkloadTypeClientsArgs, JobTaskNewClusterWorkloadTypeClientsPtr and JobTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `JobTaskNewClusterWorkloadTypeClientsPtrInput` via: // -// JobTriggerTableUpdateArgs{...} +// JobTaskNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type JobTriggerTableUpdatePtrInput interface { +type JobTaskNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput - ToJobTriggerTableUpdatePtrOutputWithContext(context.Context) JobTriggerTableUpdatePtrOutput + ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput + ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput } -type jobTriggerTableUpdatePtrType JobTriggerTableUpdateArgs +type jobTaskNewClusterWorkloadTypeClientsPtrType JobTaskNewClusterWorkloadTypeClientsArgs -func JobTriggerTableUpdatePtr(v *JobTriggerTableUpdateArgs) JobTriggerTableUpdatePtrInput { - return (*jobTriggerTableUpdatePtrType)(v) +func JobTaskNewClusterWorkloadTypeClientsPtr(v *JobTaskNewClusterWorkloadTypeClientsArgs) JobTaskNewClusterWorkloadTypeClientsPtrInput { + return (*jobTaskNewClusterWorkloadTypeClientsPtrType)(v) } -func (*jobTriggerTableUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerTableUpdate)(nil)).Elem() +func (*jobTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *jobTriggerTableUpdatePtrType) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { - return i.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (i *jobTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *jobTriggerTableUpdatePtrType) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdatePtrOutput) +func (i *jobTaskNewClusterWorkloadTypeClientsPtrType) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNewClusterWorkloadTypeClientsPtrOutput) } -type JobTriggerTableUpdateOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (JobTriggerTableUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobTriggerTableUpdate)(nil)).Elem() +func (JobTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput { +func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsOutput() JobTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdateOutputWithContext(ctx context.Context) JobTriggerTableUpdateOutput { +func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsOutput { return o } -func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { - return o.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerTableUpdate) *JobTriggerTableUpdate { +func (o JobTaskNewClusterWorkloadTypeClientsOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNewClusterWorkloadTypeClients) *JobTaskNewClusterWorkloadTypeClients { return &v - }).(JobTriggerTableUpdatePtrOutput) -} - -func (o JobTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v JobTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) -} - -// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. -func (o JobTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) + }).(JobTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o JobTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v JobTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) +func (o JobTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. -func (o JobTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v JobTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o JobTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type JobTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } +type JobTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (JobTriggerTableUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobTriggerTableUpdate)(nil)).Elem() +func (JobTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o JobTriggerTableUpdatePtrOutput) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { +func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutput() JobTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobTriggerTableUpdatePtrOutput) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { +func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) ToJobTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) JobTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o JobTriggerTableUpdatePtrOutput) Elem() JobTriggerTableUpdateOutput { - return o.ApplyT(func(v *JobTriggerTableUpdate) JobTriggerTableUpdate { +func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() JobTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *JobTaskNewClusterWorkloadTypeClients) JobTaskNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret JobTriggerTableUpdate + var ret JobTaskNewClusterWorkloadTypeClients return ret - }).(JobTriggerTableUpdateOutput) -} - -func (o JobTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v *JobTriggerTableUpdate) *string { - if v == nil { - return nil - } - return v.Condition - }).(pulumi.StringPtrOutput) -} - -// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. -func (o JobTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerTableUpdate) *int { - if v == nil { - return nil - } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) + }).(JobTaskNewClusterWorkloadTypeClientsOutput) } -func (o JobTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *JobTriggerTableUpdate) []string { +func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.TableNames - }).(pulumi.StringArrayOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. -func (o JobTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *JobTriggerTableUpdate) *int { +func (o JobTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type JobWebhookNotifications struct { - // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - // - // Example - OnDurationWarningThresholdExceededs []JobWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - OnFailures []JobWebhookNotificationsOnFailure `pulumi:"onFailures"` - // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - OnStarts []JobWebhookNotificationsOnStart `pulumi:"onStarts"` - OnStreamingBacklogExceededs []JobWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` - // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - OnSuccesses []JobWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +type JobTaskNotebookTask struct { + // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + BaseParameters map[string]string `pulumi:"baseParameters"` + // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + NotebookPath string `pulumi:"notebookPath"` + // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. + Source *string `pulumi:"source"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + WarehouseId *string `pulumi:"warehouseId"` } -// JobWebhookNotificationsInput is an input type that accepts JobWebhookNotificationsArgs and JobWebhookNotificationsOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsInput` via: +// JobTaskNotebookTaskInput is an input type that accepts JobTaskNotebookTaskArgs and JobTaskNotebookTaskOutput values. +// You can construct a concrete instance of `JobTaskNotebookTaskInput` via: // -// JobWebhookNotificationsArgs{...} -type JobWebhookNotificationsInput interface { +// JobTaskNotebookTaskArgs{...} +type JobTaskNotebookTaskInput interface { pulumi.Input - ToJobWebhookNotificationsOutput() JobWebhookNotificationsOutput - ToJobWebhookNotificationsOutputWithContext(context.Context) JobWebhookNotificationsOutput + ToJobTaskNotebookTaskOutput() JobTaskNotebookTaskOutput + ToJobTaskNotebookTaskOutputWithContext(context.Context) JobTaskNotebookTaskOutput } -type JobWebhookNotificationsArgs struct { - // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - // - // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - // - // Example - OnDurationWarningThresholdExceededs JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - OnFailures JobWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - OnStarts JobWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs JobWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` - // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - OnSuccesses JobWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type JobTaskNotebookTaskArgs struct { + // (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` + // The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + // Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. + Source pulumi.StringPtrInput `pulumi:"source"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (JobWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotifications)(nil)).Elem() +func (JobTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNotebookTask)(nil)).Elem() } -func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsOutput() JobWebhookNotificationsOutput { - return i.ToJobWebhookNotificationsOutputWithContext(context.Background()) +func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskOutput() JobTaskNotebookTaskOutput { + return i.ToJobTaskNotebookTaskOutputWithContext(context.Background()) } -func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsOutputWithContext(ctx context.Context) JobWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOutput) +func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotebookTaskOutput) } -func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { - return i.ToJobWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { + return i.ToJobTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOutput).ToJobWebhookNotificationsPtrOutputWithContext(ctx) +func (i JobTaskNotebookTaskArgs) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotebookTaskOutput).ToJobTaskNotebookTaskPtrOutputWithContext(ctx) } -// JobWebhookNotificationsPtrInput is an input type that accepts JobWebhookNotificationsArgs, JobWebhookNotificationsPtr and JobWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsPtrInput` via: +// JobTaskNotebookTaskPtrInput is an input type that accepts JobTaskNotebookTaskArgs, JobTaskNotebookTaskPtr and JobTaskNotebookTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskNotebookTaskPtrInput` via: // -// JobWebhookNotificationsArgs{...} +// JobTaskNotebookTaskArgs{...} // // or: // // nil -type JobWebhookNotificationsPtrInput interface { +type JobTaskNotebookTaskPtrInput interface { pulumi.Input - ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput - ToJobWebhookNotificationsPtrOutputWithContext(context.Context) JobWebhookNotificationsPtrOutput + ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput + ToJobTaskNotebookTaskPtrOutputWithContext(context.Context) JobTaskNotebookTaskPtrOutput } -type jobWebhookNotificationsPtrType JobWebhookNotificationsArgs +type jobTaskNotebookTaskPtrType JobTaskNotebookTaskArgs -func JobWebhookNotificationsPtr(v *JobWebhookNotificationsArgs) JobWebhookNotificationsPtrInput { - return (*jobWebhookNotificationsPtrType)(v) +func JobTaskNotebookTaskPtr(v *JobTaskNotebookTaskArgs) JobTaskNotebookTaskPtrInput { + return (*jobTaskNotebookTaskPtrType)(v) } -func (*jobWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**JobWebhookNotifications)(nil)).Elem() +func (*jobTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNotebookTask)(nil)).Elem() } -func (i *jobWebhookNotificationsPtrType) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { - return i.ToJobWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i *jobTaskNotebookTaskPtrType) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { + return i.ToJobTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *jobWebhookNotificationsPtrType) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsPtrOutput) +func (i *jobTaskNotebookTaskPtrType) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotebookTaskPtrOutput) } -type JobWebhookNotificationsOutput struct{ *pulumi.OutputState } +type JobTaskNotebookTaskOutput struct{ *pulumi.OutputState } -func (JobWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotifications)(nil)).Elem() +func (JobTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNotebookTask)(nil)).Elem() } -func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsOutput() JobWebhookNotificationsOutput { +func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskOutput() JobTaskNotebookTaskOutput { return o } -func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsOutputWithContext(ctx context.Context) JobWebhookNotificationsOutput { +func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskOutputWithContext(ctx context.Context) JobTaskNotebookTaskOutput { return o } -func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { - return o.ToJobWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { + return o.ToJobTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v JobWebhookNotifications) *JobWebhookNotifications { +func (o JobTaskNotebookTaskOutput) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNotebookTask) *JobTaskNotebookTask { return &v - }).(JobWebhookNotificationsPtrOutput) -} - -// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -// -// Example -func (o JobWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) + }).(JobTaskNotebookTaskPtrOutput) } -// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. -func (o JobWebhookNotificationsOutput) OnFailures() JobWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnFailure { return v.OnFailures }).(JobWebhookNotificationsOnFailureArrayOutput) +// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. +func (o JobTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) } -// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. -func (o JobWebhookNotificationsOutput) OnStarts() JobWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnStart { return v.OnStarts }).(JobWebhookNotificationsOnStartArrayOutput) +// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -func (o JobWebhookNotificationsOutput) OnStreamingBacklogExceededs() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnStreamingBacklogExceeded { - return v.OnStreamingBacklogExceededs - }).(JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. +func (o JobTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. -func (o JobWebhookNotificationsOutput) OnSuccesses() JobWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnSuccess { return v.OnSuccesses }).(JobWebhookNotificationsOnSuccessArrayOutput) +// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. +func (o JobTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -type JobWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type JobTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } -func (JobWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**JobWebhookNotifications)(nil)).Elem() +func (JobTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNotebookTask)(nil)).Elem() } -func (o JobWebhookNotificationsPtrOutput) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { +func (o JobTaskNotebookTaskPtrOutput) ToJobTaskNotebookTaskPtrOutput() JobTaskNotebookTaskPtrOutput { return o } -func (o JobWebhookNotificationsPtrOutput) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { +func (o JobTaskNotebookTaskPtrOutput) ToJobTaskNotebookTaskPtrOutputWithContext(ctx context.Context) JobTaskNotebookTaskPtrOutput { return o } -func (o JobWebhookNotificationsPtrOutput) Elem() JobWebhookNotificationsOutput { - return o.ApplyT(func(v *JobWebhookNotifications) JobWebhookNotifications { - if v != nil { - return *v - } - var ret JobWebhookNotifications - return ret - }).(JobWebhookNotificationsOutput) -} - -// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -// -// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -// -// Example -func (o JobWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil +func (o JobTaskNotebookTaskPtrOutput) Elem() JobTaskNotebookTaskOutput { + return o.ApplyT(func(v *JobTaskNotebookTask) JobTaskNotebookTask { + if v != nil { + return *v } - return v.OnDurationWarningThresholdExceededs - }).(JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) + var ret JobTaskNotebookTask + return ret + }).(JobTaskNotebookTaskOutput) } -// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. -func (o JobWebhookNotificationsPtrOutput) OnFailures() JobWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnFailure { +// (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. +func (o JobTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskNotebookTask) map[string]string { if v == nil { return nil } - return v.OnFailures - }).(JobWebhookNotificationsOnFailureArrayOutput) + return v.BaseParameters + }).(pulumi.StringMapOutput) } -// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. -func (o JobWebhookNotificationsPtrOutput) OnStarts() JobWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnStart { +// The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNotebookTask) *string { if v == nil { return nil } - return v.OnStarts - }).(JobWebhookNotificationsOnStartArrayOutput) + return &v.NotebookPath + }).(pulumi.StringPtrOutput) } -func (o JobWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnStreamingBacklogExceeded { +// Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `gitSource`. If the value is empty, the task will use `GIT` if `gitSource` is defined and `WORKSPACE` otherwise. +func (o JobTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNotebookTask) *string { if v == nil { return nil } - return v.OnStreamingBacklogExceededs - }).(JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. -func (o JobWebhookNotificationsPtrOutput) OnSuccesses() JobWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnSuccess { +// ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. +func (o JobTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskNotebookTask) *string { if v == nil { return nil } - return v.OnSuccesses - }).(JobWebhookNotificationsOnSuccessArrayOutput) + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type JobWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // ID of the job - Id string `pulumi:"id"` +type JobTaskNotificationSettings struct { + // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. + AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` + // (Bool) don't send alert for cancelled runs. + // + // The following parameter is only available on task level. + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + // (Bool) don't send alert for skipped runs. + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` } -// JobWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// JobTaskNotificationSettingsInput is an input type that accepts JobTaskNotificationSettingsArgs and JobTaskNotificationSettingsOutput values. +// You can construct a concrete instance of `JobTaskNotificationSettingsInput` via: // -// JobWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type JobWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// JobTaskNotificationSettingsArgs{...} +type JobTaskNotificationSettingsInput interface { pulumi.Input - ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToJobTaskNotificationSettingsOutput() JobTaskNotificationSettingsOutput + ToJobTaskNotificationSettingsOutputWithContext(context.Context) JobTaskNotificationSettingsOutput } -type JobWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskNotificationSettingsArgs struct { + // (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + // (Bool) don't send alert for cancelled runs. + // + // The following parameter is only available on task level. + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + // (Bool) don't send alert for skipped runs. + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (JobTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNotificationSettings)(nil)).Elem() } -func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsOutput() JobTaskNotificationSettingsOutput { + return i.ToJobTaskNotificationSettingsOutputWithContext(context.Background()) } -func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotificationSettingsOutput) } -// JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts JobWebhookNotificationsOnDurationWarningThresholdExceededArray and JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { + return i.ToJobTaskNotificationSettingsPtrOutputWithContext(context.Background()) +} + +func (i JobTaskNotificationSettingsArgs) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotificationSettingsOutput).ToJobTaskNotificationSettingsPtrOutputWithContext(ctx) +} + +// JobTaskNotificationSettingsPtrInput is an input type that accepts JobTaskNotificationSettingsArgs, JobTaskNotificationSettingsPtr and JobTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `JobTaskNotificationSettingsPtrInput` via: // -// JobWebhookNotificationsOnDurationWarningThresholdExceededArray{ JobWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { +// JobTaskNotificationSettingsArgs{...} +// +// or: +// +// nil +type JobTaskNotificationSettingsPtrInput interface { pulumi.Input - ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput + ToJobTaskNotificationSettingsPtrOutputWithContext(context.Context) JobTaskNotificationSettingsPtrOutput } -type JobWebhookNotificationsOnDurationWarningThresholdExceededArray []JobWebhookNotificationsOnDurationWarningThresholdExceededInput +type jobTaskNotificationSettingsPtrType JobTaskNotificationSettingsArgs -func (JobWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func JobTaskNotificationSettingsPtr(v *JobTaskNotificationSettingsArgs) JobTaskNotificationSettingsPtrInput { + return (*jobTaskNotificationSettingsPtrType)(v) } -func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +func (*jobTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNotificationSettings)(nil)).Elem() } -func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (i *jobTaskNotificationSettingsPtrType) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { + return i.ToJobTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -type JobWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +func (i *jobTaskNotificationSettingsPtrType) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskNotificationSettingsPtrOutput) +} -func (JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +type JobTaskNotificationSettingsOutput struct{ *pulumi.OutputState } + +func (JobTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskNotificationSettings)(nil)).Elem() } -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsOutput() JobTaskNotificationSettingsOutput { return o } -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsOutputWithContext(ctx context.Context) JobTaskNotificationSettingsOutput { return o } -// ID of the job -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { + return o.ToJobTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -type JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskNotificationSettingsOutput) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskNotificationSettings) *JobTaskNotificationSettings { + return &v + }).(JobTaskNotificationSettingsPtrOutput) +} -func (JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. +func (o JobTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) } -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o +// (Bool) don't send alert for cancelled runs. +// +// The following parameter is only available on task level. +func (o JobTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o +// (Bool) don't send alert for skipped runs. +func (o JobTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]JobWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) +type JobTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskNotificationSettings)(nil)).Elem() } -type JobWebhookNotificationsOnFailure struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskNotificationSettingsPtrOutput) ToJobTaskNotificationSettingsPtrOutput() JobTaskNotificationSettingsPtrOutput { + return o } -// JobWebhookNotificationsOnFailureInput is an input type that accepts JobWebhookNotificationsOnFailureArgs and JobWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnFailureInput` via: -// -// JobWebhookNotificationsOnFailureArgs{...} -type JobWebhookNotificationsOnFailureInput interface { - pulumi.Input +func (o JobTaskNotificationSettingsPtrOutput) ToJobTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) JobTaskNotificationSettingsPtrOutput { + return o +} - ToJobWebhookNotificationsOnFailureOutput() JobWebhookNotificationsOnFailureOutput - ToJobWebhookNotificationsOnFailureOutputWithContext(context.Context) JobWebhookNotificationsOnFailureOutput +func (o JobTaskNotificationSettingsPtrOutput) Elem() JobTaskNotificationSettingsOutput { + return o.ApplyT(func(v *JobTaskNotificationSettings) JobTaskNotificationSettings { + if v != nil { + return *v + } + var ret JobTaskNotificationSettings + return ret + }).(JobTaskNotificationSettingsOutput) } -type JobWebhookNotificationsOnFailureArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +// (Bool) do not send notifications to recipients specified in `onStart` for the retried runs and do not send notifications to recipients specified in `onFailure` until the last retry of the run. +func (o JobTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) } -func (JobWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnFailure)(nil)).Elem() +// (Bool) don't send alert for cancelled runs. +// +// The following parameter is only available on task level. +func (o JobTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (i JobWebhookNotificationsOnFailureArgs) ToJobWebhookNotificationsOnFailureOutput() JobWebhookNotificationsOnFailureOutput { - return i.ToJobWebhookNotificationsOnFailureOutputWithContext(context.Background()) +// (Bool) don't send alert for skipped runs. +func (o JobTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (i JobWebhookNotificationsOnFailureArgs) ToJobWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnFailureOutput) +type JobTaskPipelineTask struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh *bool `pulumi:"fullRefresh"` + // The pipeline's unique ID. + PipelineId string `pulumi:"pipelineId"` } -// JobWebhookNotificationsOnFailureArrayInput is an input type that accepts JobWebhookNotificationsOnFailureArray and JobWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnFailureArrayInput` via: +// JobTaskPipelineTaskInput is an input type that accepts JobTaskPipelineTaskArgs and JobTaskPipelineTaskOutput values. +// You can construct a concrete instance of `JobTaskPipelineTaskInput` via: // -// JobWebhookNotificationsOnFailureArray{ JobWebhookNotificationsOnFailureArgs{...} } -type JobWebhookNotificationsOnFailureArrayInput interface { +// JobTaskPipelineTaskArgs{...} +type JobTaskPipelineTaskInput interface { pulumi.Input - ToJobWebhookNotificationsOnFailureArrayOutput() JobWebhookNotificationsOnFailureArrayOutput - ToJobWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) JobWebhookNotificationsOnFailureArrayOutput + ToJobTaskPipelineTaskOutput() JobTaskPipelineTaskOutput + ToJobTaskPipelineTaskOutputWithContext(context.Context) JobTaskPipelineTaskOutput } -type JobWebhookNotificationsOnFailureArray []JobWebhookNotificationsOnFailureInput +type JobTaskPipelineTaskArgs struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + // The pipeline's unique ID. + PipelineId pulumi.StringInput `pulumi:"pipelineId"` +} -func (JobWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnFailure)(nil)).Elem() +func (JobTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskPipelineTask)(nil)).Elem() } -func (i JobWebhookNotificationsOnFailureArray) ToJobWebhookNotificationsOnFailureArrayOutput() JobWebhookNotificationsOnFailureArrayOutput { - return i.ToJobWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskOutput() JobTaskPipelineTaskOutput { + return i.ToJobTaskPipelineTaskOutputWithContext(context.Background()) } -func (i JobWebhookNotificationsOnFailureArray) ToJobWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnFailureArrayOutput) +func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskPipelineTaskOutput) } -type JobWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { + return i.ToJobTaskPipelineTaskPtrOutputWithContext(context.Background()) +} -func (JobWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnFailure)(nil)).Elem() +func (i JobTaskPipelineTaskArgs) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskPipelineTaskOutput).ToJobTaskPipelineTaskPtrOutputWithContext(ctx) } -func (o JobWebhookNotificationsOnFailureOutput) ToJobWebhookNotificationsOnFailureOutput() JobWebhookNotificationsOnFailureOutput { - return o +// JobTaskPipelineTaskPtrInput is an input type that accepts JobTaskPipelineTaskArgs, JobTaskPipelineTaskPtr and JobTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskPipelineTaskPtrInput` via: +// +// JobTaskPipelineTaskArgs{...} +// +// or: +// +// nil +type JobTaskPipelineTaskPtrInput interface { + pulumi.Input + + ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput + ToJobTaskPipelineTaskPtrOutputWithContext(context.Context) JobTaskPipelineTaskPtrOutput } -func (o JobWebhookNotificationsOnFailureOutput) ToJobWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureOutput { - return o +type jobTaskPipelineTaskPtrType JobTaskPipelineTaskArgs + +func JobTaskPipelineTaskPtr(v *JobTaskPipelineTaskArgs) JobTaskPipelineTaskPtrInput { + return (*jobTaskPipelineTaskPtrType)(v) } -// ID of the job -func (o JobWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (*jobTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskPipelineTask)(nil)).Elem() } -type JobWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +func (i *jobTaskPipelineTaskPtrType) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { + return i.ToJobTaskPipelineTaskPtrOutputWithContext(context.Background()) +} -func (JobWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnFailure)(nil)).Elem() +func (i *jobTaskPipelineTaskPtrType) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskPipelineTaskPtrOutput) } -func (o JobWebhookNotificationsOnFailureArrayOutput) ToJobWebhookNotificationsOnFailureArrayOutput() JobWebhookNotificationsOnFailureArrayOutput { +type JobTaskPipelineTaskOutput struct{ *pulumi.OutputState } + +func (JobTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskPipelineTask)(nil)).Elem() +} + +func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskOutput() JobTaskPipelineTaskOutput { return o } -func (o JobWebhookNotificationsOnFailureArrayOutput) ToJobWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureArrayOutput { +func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskOutputWithContext(ctx context.Context) JobTaskPipelineTaskOutput { return o } -func (o JobWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnFailure { - return vs[0].([]JobWebhookNotificationsOnFailure)[vs[1].(int)] - }).(JobWebhookNotificationsOnFailureOutput) +func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { + return o.ToJobTaskPipelineTaskPtrOutputWithContext(context.Background()) } -type JobWebhookNotificationsOnStart struct { - // ID of the job - Id string `pulumi:"id"` +func (o JobTaskPipelineTaskOutput) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskPipelineTask) *JobTaskPipelineTask { + return &v + }).(JobTaskPipelineTaskPtrOutput) } -// JobWebhookNotificationsOnStartInput is an input type that accepts JobWebhookNotificationsOnStartArgs and JobWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnStartInput` via: +// (Bool) Specifies if there should be full refresh of the pipeline. // -// JobWebhookNotificationsOnStartArgs{...} -type JobWebhookNotificationsOnStartInput interface { - pulumi.Input +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +} - ToJobWebhookNotificationsOnStartOutput() JobWebhookNotificationsOnStartOutput - ToJobWebhookNotificationsOnStartOutputWithContext(context.Context) JobWebhookNotificationsOnStartOutput +// The pipeline's unique ID. +func (o JobTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -type JobWebhookNotificationsOnStartArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskPipelineTask)(nil)).Elem() } -func (JobWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnStart)(nil)).Elem() +func (o JobTaskPipelineTaskPtrOutput) ToJobTaskPipelineTaskPtrOutput() JobTaskPipelineTaskPtrOutput { + return o } -func (i JobWebhookNotificationsOnStartArgs) ToJobWebhookNotificationsOnStartOutput() JobWebhookNotificationsOnStartOutput { - return i.ToJobWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (o JobTaskPipelineTaskPtrOutput) ToJobTaskPipelineTaskPtrOutputWithContext(ctx context.Context) JobTaskPipelineTaskPtrOutput { + return o } -func (i JobWebhookNotificationsOnStartArgs) ToJobWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStartOutput) +func (o JobTaskPipelineTaskPtrOutput) Elem() JobTaskPipelineTaskOutput { + return o.ApplyT(func(v *JobTaskPipelineTask) JobTaskPipelineTask { + if v != nil { + return *v + } + var ret JobTaskPipelineTask + return ret + }).(JobTaskPipelineTaskOutput) } -// JobWebhookNotificationsOnStartArrayInput is an input type that accepts JobWebhookNotificationsOnStartArray and JobWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnStartArrayInput` via: +// (Bool) Specifies if there should be full refresh of the pipeline. // -// JobWebhookNotificationsOnStartArray{ JobWebhookNotificationsOnStartArgs{...} } -type JobWebhookNotificationsOnStartArrayInput interface { - pulumi.Input - - ToJobWebhookNotificationsOnStartArrayOutput() JobWebhookNotificationsOnStartArrayOutput - ToJobWebhookNotificationsOnStartArrayOutputWithContext(context.Context) JobWebhookNotificationsOnStartArrayOutput +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskPipelineTask) *bool { + if v == nil { + return nil + } + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -type JobWebhookNotificationsOnStartArray []JobWebhookNotificationsOnStartInput +// The pipeline's unique ID. +func (o JobTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskPipelineTask) *string { + if v == nil { + return nil + } + return &v.PipelineId + }).(pulumi.StringPtrOutput) +} -func (JobWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnStart)(nil)).Elem() +type JobTaskPythonWheelTask struct { + // Python function as entry point for the task + EntryPoint *string `pulumi:"entryPoint"` + // Named parameters for the task + NamedParameters map[string]string `pulumi:"namedParameters"` + // Name of Python package + PackageName *string `pulumi:"packageName"` + // Parameters for the task + Parameters []string `pulumi:"parameters"` } -func (i JobWebhookNotificationsOnStartArray) ToJobWebhookNotificationsOnStartArrayOutput() JobWebhookNotificationsOnStartArrayOutput { - return i.ToJobWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +// JobTaskPythonWheelTaskInput is an input type that accepts JobTaskPythonWheelTaskArgs and JobTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `JobTaskPythonWheelTaskInput` via: +// +// JobTaskPythonWheelTaskArgs{...} +type JobTaskPythonWheelTaskInput interface { + pulumi.Input + + ToJobTaskPythonWheelTaskOutput() JobTaskPythonWheelTaskOutput + ToJobTaskPythonWheelTaskOutputWithContext(context.Context) JobTaskPythonWheelTaskOutput } -func (i JobWebhookNotificationsOnStartArray) ToJobWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStartArrayOutput) +type JobTaskPythonWheelTaskArgs struct { + // Python function as entry point for the task + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + // Named parameters for the task + NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` + // Name of Python package + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + // Parameters for the task + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -type JobWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +func (JobTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskPythonWheelTask)(nil)).Elem() +} -func (JobWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnStart)(nil)).Elem() +func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskOutput() JobTaskPythonWheelTaskOutput { + return i.ToJobTaskPythonWheelTaskOutputWithContext(context.Background()) } -func (o JobWebhookNotificationsOnStartOutput) ToJobWebhookNotificationsOnStartOutput() JobWebhookNotificationsOnStartOutput { - return o +func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskPythonWheelTaskOutput) } -func (o JobWebhookNotificationsOnStartOutput) ToJobWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartOutput { - return o +func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { + return i.ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -// ID of the job -func (o JobWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +func (i JobTaskPythonWheelTaskArgs) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskPythonWheelTaskOutput).ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx) } -type JobWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +// JobTaskPythonWheelTaskPtrInput is an input type that accepts JobTaskPythonWheelTaskArgs, JobTaskPythonWheelTaskPtr and JobTaskPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskPythonWheelTaskPtrInput` via: +// +// JobTaskPythonWheelTaskArgs{...} +// +// or: +// +// nil +type JobTaskPythonWheelTaskPtrInput interface { + pulumi.Input -func (JobWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnStart)(nil)).Elem() + ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput + ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Context) JobTaskPythonWheelTaskPtrOutput } -func (o JobWebhookNotificationsOnStartArrayOutput) ToJobWebhookNotificationsOnStartArrayOutput() JobWebhookNotificationsOnStartArrayOutput { - return o -} +type jobTaskPythonWheelTaskPtrType JobTaskPythonWheelTaskArgs -func (o JobWebhookNotificationsOnStartArrayOutput) ToJobWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartArrayOutput { - return o +func JobTaskPythonWheelTaskPtr(v *JobTaskPythonWheelTaskArgs) JobTaskPythonWheelTaskPtrInput { + return (*jobTaskPythonWheelTaskPtrType)(v) } -func (o JobWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnStart { - return vs[0].([]JobWebhookNotificationsOnStart)[vs[1].(int)] - }).(JobWebhookNotificationsOnStartOutput) +func (*jobTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskPythonWheelTask)(nil)).Elem() } -type JobWebhookNotificationsOnStreamingBacklogExceeded struct { - // ID of the job - Id string `pulumi:"id"` +func (i *jobTaskPythonWheelTaskPtrType) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { + return i.ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -// JobWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts JobWebhookNotificationsOnStreamingBacklogExceededArgs and JobWebhookNotificationsOnStreamingBacklogExceededOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnStreamingBacklogExceededInput` via: -// -// JobWebhookNotificationsOnStreamingBacklogExceededArgs{...} -type JobWebhookNotificationsOnStreamingBacklogExceededInput interface { - pulumi.Input - - ToJobWebhookNotificationsOnStreamingBacklogExceededOutput() JobWebhookNotificationsOnStreamingBacklogExceededOutput - ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) JobWebhookNotificationsOnStreamingBacklogExceededOutput +func (i *jobTaskPythonWheelTaskPtrType) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskPythonWheelTaskPtrOutput) } -type JobWebhookNotificationsOnStreamingBacklogExceededArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` -} +type JobTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (JobWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (JobTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskPythonWheelTask)(nil)).Elem() } -func (i JobWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobWebhookNotificationsOnStreamingBacklogExceededOutput() JobWebhookNotificationsOnStreamingBacklogExceededOutput { - return i.ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) +func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskOutput() JobTaskPythonWheelTaskOutput { + return o } -func (i JobWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStreamingBacklogExceededOutput) +func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskOutput { + return o } -// JobWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts JobWebhookNotificationsOnStreamingBacklogExceededArray and JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: -// -// JobWebhookNotificationsOnStreamingBacklogExceededArray{ JobWebhookNotificationsOnStreamingBacklogExceededArgs{...} } -type JobWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { - pulumi.Input +func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { + return o.ToJobTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +} - ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput - ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput +func (o JobTaskPythonWheelTaskOutput) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskPythonWheelTask) *JobTaskPythonWheelTask { + return &v + }).(JobTaskPythonWheelTaskPtrOutput) } -type JobWebhookNotificationsOnStreamingBacklogExceededArray []JobWebhookNotificationsOnStreamingBacklogExceededInput +// Python function as entry point for the task +func (o JobTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +} -func (JobWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +// Named parameters for the task +func (o JobTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) } -func (i JobWebhookNotificationsOnStreamingBacklogExceededArray) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return i.ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +// Name of Python package +func (o JobTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -func (i JobWebhookNotificationsOnStreamingBacklogExceededArray) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +// Parameters for the task +func (o JobTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type JobWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } +type JobTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } -func (JobWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (JobTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskPythonWheelTask)(nil)).Elem() } -func (o JobWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededOutput() JobWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o JobTaskPythonWheelTaskPtrOutput) ToJobTaskPythonWheelTaskPtrOutput() JobTaskPythonWheelTaskPtrOutput { return o } -func (o JobWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o JobTaskPythonWheelTaskPtrOutput) ToJobTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) JobTaskPythonWheelTaskPtrOutput { return o } -// ID of the job -func (o JobWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) +func (o JobTaskPythonWheelTaskPtrOutput) Elem() JobTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *JobTaskPythonWheelTask) JobTaskPythonWheelTask { + if v != nil { + return *v + } + var ret JobTaskPythonWheelTask + return ret + }).(JobTaskPythonWheelTaskOutput) } -type JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } - -func (JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +// Python function as entry point for the task +func (o JobTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.EntryPoint + }).(pulumi.StringPtrOutput) } -func (o JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o +// Named parameters for the task +func (o JobTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskPythonWheelTask) map[string]string { + if v == nil { + return nil + } + return v.NamedParameters + }).(pulumi.StringMapOutput) } -func (o JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o +// Name of Python package +func (o JobTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.PackageName + }).(pulumi.StringPtrOutput) } -func (o JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnStreamingBacklogExceeded { - return vs[0].([]JobWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] - }).(JobWebhookNotificationsOnStreamingBacklogExceededOutput) +// Parameters for the task +func (o JobTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -type JobWebhookNotificationsOnSuccess struct { - // ID of the job - Id string `pulumi:"id"` +type JobTaskRunJobTask struct { + DbtCommands []string `pulumi:"dbtCommands"` + JarParams []string `pulumi:"jarParams"` + // (String) ID of the job + JobId int `pulumi:"jobId"` + // (Map) Job parameters for the task + JobParameters map[string]string `pulumi:"jobParameters"` + NotebookParams map[string]string `pulumi:"notebookParams"` + PipelineParams *JobTaskRunJobTaskPipelineParams `pulumi:"pipelineParams"` + PythonNamedParams map[string]string `pulumi:"pythonNamedParams"` + PythonParams []string `pulumi:"pythonParams"` + SparkSubmitParams []string `pulumi:"sparkSubmitParams"` + SqlParams map[string]string `pulumi:"sqlParams"` } -// JobWebhookNotificationsOnSuccessInput is an input type that accepts JobWebhookNotificationsOnSuccessArgs and JobWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnSuccessInput` via: +// JobTaskRunJobTaskInput is an input type that accepts JobTaskRunJobTaskArgs and JobTaskRunJobTaskOutput values. +// You can construct a concrete instance of `JobTaskRunJobTaskInput` via: // -// JobWebhookNotificationsOnSuccessArgs{...} -type JobWebhookNotificationsOnSuccessInput interface { +// JobTaskRunJobTaskArgs{...} +type JobTaskRunJobTaskInput interface { pulumi.Input - ToJobWebhookNotificationsOnSuccessOutput() JobWebhookNotificationsOnSuccessOutput - ToJobWebhookNotificationsOnSuccessOutputWithContext(context.Context) JobWebhookNotificationsOnSuccessOutput + ToJobTaskRunJobTaskOutput() JobTaskRunJobTaskOutput + ToJobTaskRunJobTaskOutputWithContext(context.Context) JobTaskRunJobTaskOutput } -type JobWebhookNotificationsOnSuccessArgs struct { - // ID of the job - Id pulumi.StringInput `pulumi:"id"` +type JobTaskRunJobTaskArgs struct { + DbtCommands pulumi.StringArrayInput `pulumi:"dbtCommands"` + JarParams pulumi.StringArrayInput `pulumi:"jarParams"` + // (String) ID of the job + JobId pulumi.IntInput `pulumi:"jobId"` + // (Map) Job parameters for the task + JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` + NotebookParams pulumi.StringMapInput `pulumi:"notebookParams"` + PipelineParams JobTaskRunJobTaskPipelineParamsPtrInput `pulumi:"pipelineParams"` + PythonNamedParams pulumi.StringMapInput `pulumi:"pythonNamedParams"` + PythonParams pulumi.StringArrayInput `pulumi:"pythonParams"` + SparkSubmitParams pulumi.StringArrayInput `pulumi:"sparkSubmitParams"` + SqlParams pulumi.StringMapInput `pulumi:"sqlParams"` } -func (JobWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskRunJobTask)(nil)).Elem() } -func (i JobWebhookNotificationsOnSuccessArgs) ToJobWebhookNotificationsOnSuccessOutput() JobWebhookNotificationsOnSuccessOutput { - return i.ToJobWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskOutput() JobTaskRunJobTaskOutput { + return i.ToJobTaskRunJobTaskOutputWithContext(context.Background()) } -func (i JobWebhookNotificationsOnSuccessArgs) ToJobWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnSuccessOutput) +func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskOutput) } -// JobWebhookNotificationsOnSuccessArrayInput is an input type that accepts JobWebhookNotificationsOnSuccessArray and JobWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `JobWebhookNotificationsOnSuccessArrayInput` via: -// -// JobWebhookNotificationsOnSuccessArray{ JobWebhookNotificationsOnSuccessArgs{...} } -type JobWebhookNotificationsOnSuccessArrayInput interface { - pulumi.Input - - ToJobWebhookNotificationsOnSuccessArrayOutput() JobWebhookNotificationsOnSuccessArrayOutput - ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) JobWebhookNotificationsOnSuccessArrayOutput +func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { + return i.ToJobTaskRunJobTaskPtrOutputWithContext(context.Background()) } -type JobWebhookNotificationsOnSuccessArray []JobWebhookNotificationsOnSuccessInput - -func (JobWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnSuccess)(nil)).Elem() +func (i JobTaskRunJobTaskArgs) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskOutput).ToJobTaskRunJobTaskPtrOutputWithContext(ctx) } -func (i JobWebhookNotificationsOnSuccessArray) ToJobWebhookNotificationsOnSuccessArrayOutput() JobWebhookNotificationsOnSuccessArrayOutput { - return i.ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) -} +// JobTaskRunJobTaskPtrInput is an input type that accepts JobTaskRunJobTaskArgs, JobTaskRunJobTaskPtr and JobTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskRunJobTaskPtrInput` via: +// +// JobTaskRunJobTaskArgs{...} +// +// or: +// +// nil +type JobTaskRunJobTaskPtrInput interface { + pulumi.Input -func (i JobWebhookNotificationsOnSuccessArray) ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnSuccessArrayOutput) + ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput + ToJobTaskRunJobTaskPtrOutputWithContext(context.Context) JobTaskRunJobTaskPtrOutput } -type JobWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +type jobTaskRunJobTaskPtrType JobTaskRunJobTaskArgs -func (JobWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*JobWebhookNotificationsOnSuccess)(nil)).Elem() +func JobTaskRunJobTaskPtr(v *JobTaskRunJobTaskArgs) JobTaskRunJobTaskPtrInput { + return (*jobTaskRunJobTaskPtrType)(v) } -func (o JobWebhookNotificationsOnSuccessOutput) ToJobWebhookNotificationsOnSuccessOutput() JobWebhookNotificationsOnSuccessOutput { - return o +func (*jobTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskRunJobTask)(nil)).Elem() } -func (o JobWebhookNotificationsOnSuccessOutput) ToJobWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessOutput { - return o +func (i *jobTaskRunJobTaskPtrType) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { + return i.ToJobTaskRunJobTaskPtrOutputWithContext(context.Background()) } -// ID of the job -func (o JobWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v JobWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (i *jobTaskRunJobTaskPtrType) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPtrOutput) } -type JobWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +type JobTaskRunJobTaskOutput struct{ *pulumi.OutputState } -func (JobWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]JobWebhookNotificationsOnSuccess)(nil)).Elem() +func (JobTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskRunJobTask)(nil)).Elem() } -func (o JobWebhookNotificationsOnSuccessArrayOutput) ToJobWebhookNotificationsOnSuccessArrayOutput() JobWebhookNotificationsOnSuccessArrayOutput { +func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskOutput() JobTaskRunJobTaskOutput { return o } -func (o JobWebhookNotificationsOnSuccessArrayOutput) ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessArrayOutput { +func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskOutputWithContext(ctx context.Context) JobTaskRunJobTaskOutput { return o } -func (o JobWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnSuccess { - return vs[0].([]JobWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(JobWebhookNotificationsOnSuccessOutput) +func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { + return o.ToJobTaskRunJobTaskPtrOutputWithContext(context.Background()) } -type LakehouseMonitorCustomMetric struct { - // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - Definition string `pulumi:"definition"` - // Columns on the monitored table to apply the custom metrics to. - InputColumns []string `pulumi:"inputColumns"` - // Name of the custom metric. - Name string `pulumi:"name"` - // The output type of the custom metric. - OutputDataType string `pulumi:"outputDataType"` - // The type of the custom metric. - Type string `pulumi:"type"` +func (o JobTaskRunJobTaskOutput) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskRunJobTask) *JobTaskRunJobTask { + return &v + }).(JobTaskRunJobTaskPtrOutput) } -// LakehouseMonitorCustomMetricInput is an input type that accepts LakehouseMonitorCustomMetricArgs and LakehouseMonitorCustomMetricOutput values. -// You can construct a concrete instance of `LakehouseMonitorCustomMetricInput` via: -// -// LakehouseMonitorCustomMetricArgs{...} -type LakehouseMonitorCustomMetricInput interface { - pulumi.Input - - ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput - ToLakehouseMonitorCustomMetricOutputWithContext(context.Context) LakehouseMonitorCustomMetricOutput +func (o JobTaskRunJobTaskOutput) DbtCommands() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.DbtCommands }).(pulumi.StringArrayOutput) } -type LakehouseMonitorCustomMetricArgs struct { - // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - Definition pulumi.StringInput `pulumi:"definition"` - // Columns on the monitored table to apply the custom metrics to. - InputColumns pulumi.StringArrayInput `pulumi:"inputColumns"` - // Name of the custom metric. - Name pulumi.StringInput `pulumi:"name"` - // The output type of the custom metric. - OutputDataType pulumi.StringInput `pulumi:"outputDataType"` - // The type of the custom metric. - Type pulumi.StringInput `pulumi:"type"` +func (o JobTaskRunJobTaskOutput) JarParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.JarParams }).(pulumi.StringArrayOutput) } -func (LakehouseMonitorCustomMetricArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorCustomMetric)(nil)).Elem() +// (String) ID of the job +func (o JobTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v JobTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (i LakehouseMonitorCustomMetricArgs) ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput { - return i.ToLakehouseMonitorCustomMetricOutputWithContext(context.Background()) +// (Map) Job parameters for the task +func (o JobTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) } -func (i LakehouseMonitorCustomMetricArgs) ToLakehouseMonitorCustomMetricOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorCustomMetricOutput) +func (o JobTaskRunJobTaskOutput) NotebookParams() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.NotebookParams }).(pulumi.StringMapOutput) } -// LakehouseMonitorCustomMetricArrayInput is an input type that accepts LakehouseMonitorCustomMetricArray and LakehouseMonitorCustomMetricArrayOutput values. -// You can construct a concrete instance of `LakehouseMonitorCustomMetricArrayInput` via: -// -// LakehouseMonitorCustomMetricArray{ LakehouseMonitorCustomMetricArgs{...} } -type LakehouseMonitorCustomMetricArrayInput interface { - pulumi.Input - - ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput - ToLakehouseMonitorCustomMetricArrayOutputWithContext(context.Context) LakehouseMonitorCustomMetricArrayOutput +func (o JobTaskRunJobTaskOutput) PipelineParams() JobTaskRunJobTaskPipelineParamsPtrOutput { + return o.ApplyT(func(v JobTaskRunJobTask) *JobTaskRunJobTaskPipelineParams { return v.PipelineParams }).(JobTaskRunJobTaskPipelineParamsPtrOutput) } -type LakehouseMonitorCustomMetricArray []LakehouseMonitorCustomMetricInput +func (o JobTaskRunJobTaskOutput) PythonNamedParams() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.PythonNamedParams }).(pulumi.StringMapOutput) +} -func (LakehouseMonitorCustomMetricArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LakehouseMonitorCustomMetric)(nil)).Elem() +func (o JobTaskRunJobTaskOutput) PythonParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.PythonParams }).(pulumi.StringArrayOutput) } -func (i LakehouseMonitorCustomMetricArray) ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput { - return i.ToLakehouseMonitorCustomMetricArrayOutputWithContext(context.Background()) +func (o JobTaskRunJobTaskOutput) SparkSubmitParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskRunJobTask) []string { return v.SparkSubmitParams }).(pulumi.StringArrayOutput) } -func (i LakehouseMonitorCustomMetricArray) ToLakehouseMonitorCustomMetricArrayOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorCustomMetricArrayOutput) +func (o JobTaskRunJobTaskOutput) SqlParams() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskRunJobTask) map[string]string { return v.SqlParams }).(pulumi.StringMapOutput) } -type LakehouseMonitorCustomMetricOutput struct{ *pulumi.OutputState } +type JobTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorCustomMetricOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorCustomMetric)(nil)).Elem() +func (JobTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskRunJobTask)(nil)).Elem() } -func (o LakehouseMonitorCustomMetricOutput) ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput { +func (o JobTaskRunJobTaskPtrOutput) ToJobTaskRunJobTaskPtrOutput() JobTaskRunJobTaskPtrOutput { return o } -func (o LakehouseMonitorCustomMetricOutput) ToLakehouseMonitorCustomMetricOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricOutput { +func (o JobTaskRunJobTaskPtrOutput) ToJobTaskRunJobTaskPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPtrOutput { return o } -// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) -func (o LakehouseMonitorCustomMetricOutput) Definition() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.Definition }).(pulumi.StringOutput) +func (o JobTaskRunJobTaskPtrOutput) Elem() JobTaskRunJobTaskOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) JobTaskRunJobTask { + if v != nil { + return *v + } + var ret JobTaskRunJobTask + return ret + }).(JobTaskRunJobTaskOutput) } -// Columns on the monitored table to apply the custom metrics to. -func (o LakehouseMonitorCustomMetricOutput) InputColumns() pulumi.StringArrayOutput { - return o.ApplyT(func(v LakehouseMonitorCustomMetric) []string { return v.InputColumns }).(pulumi.StringArrayOutput) +func (o JobTaskRunJobTaskPtrOutput) DbtCommands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) []string { + if v == nil { + return nil + } + return v.DbtCommands + }).(pulumi.StringArrayOutput) } -// Name of the custom metric. -func (o LakehouseMonitorCustomMetricOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.Name }).(pulumi.StringOutput) +func (o JobTaskRunJobTaskPtrOutput) JarParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) []string { + if v == nil { + return nil + } + return v.JarParams + }).(pulumi.StringArrayOutput) } -// The output type of the custom metric. -func (o LakehouseMonitorCustomMetricOutput) OutputDataType() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.OutputDataType }).(pulumi.StringOutput) +// (String) ID of the job +func (o JobTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) *int { + if v == nil { + return nil + } + return &v.JobId + }).(pulumi.IntPtrOutput) } -// The type of the custom metric. -func (o LakehouseMonitorCustomMetricOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.Type }).(pulumi.StringOutput) +// (Map) Job parameters for the task +func (o JobTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.JobParameters + }).(pulumi.StringMapOutput) } -type LakehouseMonitorCustomMetricArrayOutput struct{ *pulumi.OutputState } +func (o JobTaskRunJobTaskPtrOutput) NotebookParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.NotebookParams + }).(pulumi.StringMapOutput) +} -func (LakehouseMonitorCustomMetricArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LakehouseMonitorCustomMetric)(nil)).Elem() +func (o JobTaskRunJobTaskPtrOutput) PipelineParams() JobTaskRunJobTaskPipelineParamsPtrOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) *JobTaskRunJobTaskPipelineParams { + if v == nil { + return nil + } + return v.PipelineParams + }).(JobTaskRunJobTaskPipelineParamsPtrOutput) } -func (o LakehouseMonitorCustomMetricArrayOutput) ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput { - return o +func (o JobTaskRunJobTaskPtrOutput) PythonNamedParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.PythonNamedParams + }).(pulumi.StringMapOutput) } -func (o LakehouseMonitorCustomMetricArrayOutput) ToLakehouseMonitorCustomMetricArrayOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricArrayOutput { - return o +func (o JobTaskRunJobTaskPtrOutput) PythonParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) []string { + if v == nil { + return nil + } + return v.PythonParams + }).(pulumi.StringArrayOutput) } -func (o LakehouseMonitorCustomMetricArrayOutput) Index(i pulumi.IntInput) LakehouseMonitorCustomMetricOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LakehouseMonitorCustomMetric { - return vs[0].([]LakehouseMonitorCustomMetric)[vs[1].(int)] - }).(LakehouseMonitorCustomMetricOutput) +func (o JobTaskRunJobTaskPtrOutput) SparkSubmitParams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) []string { + if v == nil { + return nil + } + return v.SparkSubmitParams + }).(pulumi.StringArrayOutput) } -type LakehouseMonitorDataClassificationConfig struct { - Enabled *bool `pulumi:"enabled"` +func (o JobTaskRunJobTaskPtrOutput) SqlParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskRunJobTask) map[string]string { + if v == nil { + return nil + } + return v.SqlParams + }).(pulumi.StringMapOutput) } -// LakehouseMonitorDataClassificationConfigInput is an input type that accepts LakehouseMonitorDataClassificationConfigArgs and LakehouseMonitorDataClassificationConfigOutput values. -// You can construct a concrete instance of `LakehouseMonitorDataClassificationConfigInput` via: +type JobTaskRunJobTaskPipelineParams struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh *bool `pulumi:"fullRefresh"` +} + +// JobTaskRunJobTaskPipelineParamsInput is an input type that accepts JobTaskRunJobTaskPipelineParamsArgs and JobTaskRunJobTaskPipelineParamsOutput values. +// You can construct a concrete instance of `JobTaskRunJobTaskPipelineParamsInput` via: // -// LakehouseMonitorDataClassificationConfigArgs{...} -type LakehouseMonitorDataClassificationConfigInput interface { +// JobTaskRunJobTaskPipelineParamsArgs{...} +type JobTaskRunJobTaskPipelineParamsInput interface { pulumi.Input - ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput - ToLakehouseMonitorDataClassificationConfigOutputWithContext(context.Context) LakehouseMonitorDataClassificationConfigOutput + ToJobTaskRunJobTaskPipelineParamsOutput() JobTaskRunJobTaskPipelineParamsOutput + ToJobTaskRunJobTaskPipelineParamsOutputWithContext(context.Context) JobTaskRunJobTaskPipelineParamsOutput } -type LakehouseMonitorDataClassificationConfigArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type JobTaskRunJobTaskPipelineParamsArgs struct { + // (Bool) Specifies if there should be full refresh of the pipeline. + // + // > The following configuration blocks are only supported inside a `task` block + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` } -func (LakehouseMonitorDataClassificationConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorDataClassificationConfig)(nil)).Elem() +func (JobTaskRunJobTaskPipelineParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput { - return i.ToLakehouseMonitorDataClassificationConfigOutputWithContext(context.Background()) +func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsOutput() JobTaskRunJobTaskPipelineParamsOutput { + return i.ToJobTaskRunJobTaskPipelineParamsOutputWithContext(context.Background()) } -func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigOutput) +func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPipelineParamsOutput) } -func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { - return i.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { + return i.ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigOutput).ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx) +func (i JobTaskRunJobTaskPipelineParamsArgs) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPipelineParamsOutput).ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx) } -// LakehouseMonitorDataClassificationConfigPtrInput is an input type that accepts LakehouseMonitorDataClassificationConfigArgs, LakehouseMonitorDataClassificationConfigPtr and LakehouseMonitorDataClassificationConfigPtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorDataClassificationConfigPtrInput` via: +// JobTaskRunJobTaskPipelineParamsPtrInput is an input type that accepts JobTaskRunJobTaskPipelineParamsArgs, JobTaskRunJobTaskPipelineParamsPtr and JobTaskRunJobTaskPipelineParamsPtrOutput values. +// You can construct a concrete instance of `JobTaskRunJobTaskPipelineParamsPtrInput` via: // -// LakehouseMonitorDataClassificationConfigArgs{...} +// JobTaskRunJobTaskPipelineParamsArgs{...} // // or: // // nil -type LakehouseMonitorDataClassificationConfigPtrInput interface { +type JobTaskRunJobTaskPipelineParamsPtrInput interface { pulumi.Input - ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput - ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Context) LakehouseMonitorDataClassificationConfigPtrOutput + ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput + ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput } -type lakehouseMonitorDataClassificationConfigPtrType LakehouseMonitorDataClassificationConfigArgs +type jobTaskRunJobTaskPipelineParamsPtrType JobTaskRunJobTaskPipelineParamsArgs -func LakehouseMonitorDataClassificationConfigPtr(v *LakehouseMonitorDataClassificationConfigArgs) LakehouseMonitorDataClassificationConfigPtrInput { - return (*lakehouseMonitorDataClassificationConfigPtrType)(v) +func JobTaskRunJobTaskPipelineParamsPtr(v *JobTaskRunJobTaskPipelineParamsArgs) JobTaskRunJobTaskPipelineParamsPtrInput { + return (*jobTaskRunJobTaskPipelineParamsPtrType)(v) } -func (*lakehouseMonitorDataClassificationConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorDataClassificationConfig)(nil)).Elem() +func (*jobTaskRunJobTaskPipelineParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (i *lakehouseMonitorDataClassificationConfigPtrType) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { - return i.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +func (i *jobTaskRunJobTaskPipelineParamsPtrType) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { + return i.ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorDataClassificationConfigPtrType) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigPtrOutput) +func (i *jobTaskRunJobTaskPipelineParamsPtrType) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskRunJobTaskPipelineParamsPtrOutput) } -type LakehouseMonitorDataClassificationConfigOutput struct{ *pulumi.OutputState } +type JobTaskRunJobTaskPipelineParamsOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorDataClassificationConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorDataClassificationConfig)(nil)).Elem() +func (JobTaskRunJobTaskPipelineParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput { +func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsOutput() JobTaskRunJobTaskPipelineParamsOutput { return o } -func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigOutput { +func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsOutput { return o } -func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { - return o.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { + return o.ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorDataClassificationConfig) *LakehouseMonitorDataClassificationConfig { +func (o JobTaskRunJobTaskPipelineParamsOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskRunJobTaskPipelineParams) *JobTaskRunJobTaskPipelineParams { return &v - }).(LakehouseMonitorDataClassificationConfigPtrOutput) + }).(JobTaskRunJobTaskPipelineParamsPtrOutput) } -func (o LakehouseMonitorDataClassificationConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LakehouseMonitorDataClassificationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskRunJobTaskPipelineParamsOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskRunJobTaskPipelineParams) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -type LakehouseMonitorDataClassificationConfigPtrOutput struct{ *pulumi.OutputState } +type JobTaskRunJobTaskPipelineParamsPtrOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorDataClassificationConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorDataClassificationConfig)(nil)).Elem() +func (JobTaskRunJobTaskPipelineParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskRunJobTaskPipelineParams)(nil)).Elem() } -func (o LakehouseMonitorDataClassificationConfigPtrOutput) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { +func (o JobTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutput() JobTaskRunJobTaskPipelineParamsPtrOutput { return o } -func (o LakehouseMonitorDataClassificationConfigPtrOutput) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { +func (o JobTaskRunJobTaskPipelineParamsPtrOutput) ToJobTaskRunJobTaskPipelineParamsPtrOutputWithContext(ctx context.Context) JobTaskRunJobTaskPipelineParamsPtrOutput { return o } -func (o LakehouseMonitorDataClassificationConfigPtrOutput) Elem() LakehouseMonitorDataClassificationConfigOutput { - return o.ApplyT(func(v *LakehouseMonitorDataClassificationConfig) LakehouseMonitorDataClassificationConfig { +func (o JobTaskRunJobTaskPipelineParamsPtrOutput) Elem() JobTaskRunJobTaskPipelineParamsOutput { + return o.ApplyT(func(v *JobTaskRunJobTaskPipelineParams) JobTaskRunJobTaskPipelineParams { if v != nil { return *v } - var ret LakehouseMonitorDataClassificationConfig + var ret JobTaskRunJobTaskPipelineParams return ret - }).(LakehouseMonitorDataClassificationConfigOutput) + }).(JobTaskRunJobTaskPipelineParamsOutput) } -func (o LakehouseMonitorDataClassificationConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorDataClassificationConfig) *bool { +// (Bool) Specifies if there should be full refresh of the pipeline. +// +// > The following configuration blocks are only supported inside a `task` block +func (o JobTaskRunJobTaskPipelineParamsPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskRunJobTaskPipelineParams) *bool { if v == nil { return nil } - return v.Enabled + return v.FullRefresh }).(pulumi.BoolPtrOutput) } -type LakehouseMonitorInferenceLog struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities []string `pulumi:"granularities"` - // Column of the model label - LabelCol *string `pulumi:"labelCol"` - // Column of the model id or version - ModelIdCol string `pulumi:"modelIdCol"` - // Column of the model prediction - PredictionCol string `pulumi:"predictionCol"` - // Column of the model prediction probabilities - PredictionProbaCol *string `pulumi:"predictionProbaCol"` - // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - ProblemType string `pulumi:"problemType"` - // Column of the timestamp of predictions - TimestampCol string `pulumi:"timestampCol"` +type JobTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + MainClassName *string `pulumi:"mainClassName"` + // (List) Parameters passed to the main method. + Parameters []string `pulumi:"parameters"` } -// LakehouseMonitorInferenceLogInput is an input type that accepts LakehouseMonitorInferenceLogArgs and LakehouseMonitorInferenceLogOutput values. -// You can construct a concrete instance of `LakehouseMonitorInferenceLogInput` via: +// JobTaskSparkJarTaskInput is an input type that accepts JobTaskSparkJarTaskArgs and JobTaskSparkJarTaskOutput values. +// You can construct a concrete instance of `JobTaskSparkJarTaskInput` via: // -// LakehouseMonitorInferenceLogArgs{...} -type LakehouseMonitorInferenceLogInput interface { +// JobTaskSparkJarTaskArgs{...} +type JobTaskSparkJarTaskInput interface { pulumi.Input - ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput - ToLakehouseMonitorInferenceLogOutputWithContext(context.Context) LakehouseMonitorInferenceLogOutput + ToJobTaskSparkJarTaskOutput() JobTaskSparkJarTaskOutput + ToJobTaskSparkJarTaskOutputWithContext(context.Context) JobTaskSparkJarTaskOutput } -type LakehouseMonitorInferenceLogArgs struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities pulumi.StringArrayInput `pulumi:"granularities"` - // Column of the model label - LabelCol pulumi.StringPtrInput `pulumi:"labelCol"` - // Column of the model id or version - ModelIdCol pulumi.StringInput `pulumi:"modelIdCol"` - // Column of the model prediction - PredictionCol pulumi.StringInput `pulumi:"predictionCol"` - // Column of the model prediction probabilities - PredictionProbaCol pulumi.StringPtrInput `pulumi:"predictionProbaCol"` - // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - ProblemType pulumi.StringInput `pulumi:"problemType"` - // Column of the timestamp of predictions - TimestampCol pulumi.StringInput `pulumi:"timestampCol"` +type JobTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + // The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + // (List) Parameters passed to the main method. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (LakehouseMonitorInferenceLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorInferenceLog)(nil)).Elem() +func (JobTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSparkJarTask)(nil)).Elem() } -func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput { - return i.ToLakehouseMonitorInferenceLogOutputWithContext(context.Background()) +func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskOutput() JobTaskSparkJarTaskOutput { + return i.ToJobTaskSparkJarTaskOutputWithContext(context.Background()) } -func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogOutput) +func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkJarTaskOutput) } -func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { - return i.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) +func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { + return i.ToJobTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogOutput).ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx) +func (i JobTaskSparkJarTaskArgs) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkJarTaskOutput).ToJobTaskSparkJarTaskPtrOutputWithContext(ctx) } -// LakehouseMonitorInferenceLogPtrInput is an input type that accepts LakehouseMonitorInferenceLogArgs, LakehouseMonitorInferenceLogPtr and LakehouseMonitorInferenceLogPtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorInferenceLogPtrInput` via: +// JobTaskSparkJarTaskPtrInput is an input type that accepts JobTaskSparkJarTaskArgs, JobTaskSparkJarTaskPtr and JobTaskSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskSparkJarTaskPtrInput` via: // -// LakehouseMonitorInferenceLogArgs{...} +// JobTaskSparkJarTaskArgs{...} // // or: // // nil -type LakehouseMonitorInferenceLogPtrInput interface { +type JobTaskSparkJarTaskPtrInput interface { pulumi.Input - ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput - ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Context) LakehouseMonitorInferenceLogPtrOutput + ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput + ToJobTaskSparkJarTaskPtrOutputWithContext(context.Context) JobTaskSparkJarTaskPtrOutput } -type lakehouseMonitorInferenceLogPtrType LakehouseMonitorInferenceLogArgs +type jobTaskSparkJarTaskPtrType JobTaskSparkJarTaskArgs -func LakehouseMonitorInferenceLogPtr(v *LakehouseMonitorInferenceLogArgs) LakehouseMonitorInferenceLogPtrInput { - return (*lakehouseMonitorInferenceLogPtrType)(v) +func JobTaskSparkJarTaskPtr(v *JobTaskSparkJarTaskArgs) JobTaskSparkJarTaskPtrInput { + return (*jobTaskSparkJarTaskPtrType)(v) } -func (*lakehouseMonitorInferenceLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorInferenceLog)(nil)).Elem() +func (*jobTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSparkJarTask)(nil)).Elem() } -func (i *lakehouseMonitorInferenceLogPtrType) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { - return i.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) +func (i *jobTaskSparkJarTaskPtrType) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { + return i.ToJobTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorInferenceLogPtrType) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogPtrOutput) +func (i *jobTaskSparkJarTaskPtrType) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkJarTaskPtrOutput) } -type LakehouseMonitorInferenceLogOutput struct{ *pulumi.OutputState } +type JobTaskSparkJarTaskOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorInferenceLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorInferenceLog)(nil)).Elem() +func (JobTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSparkJarTask)(nil)).Elem() } -func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput { +func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskOutput() JobTaskSparkJarTaskOutput { return o } -func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogOutput { +func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskOutputWithContext(ctx context.Context) JobTaskSparkJarTaskOutput { return o } -func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { - return o.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) +func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { + return o.ToJobTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorInferenceLog) *LakehouseMonitorInferenceLog { +func (o JobTaskSparkJarTaskOutput) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSparkJarTask) *JobTaskSparkJarTask { return &v - }).(LakehouseMonitorInferenceLogPtrOutput) -} - -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o LakehouseMonitorInferenceLogOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) []string { return v.Granularities }).(pulumi.StringArrayOutput) -} - -// Column of the model label -func (o LakehouseMonitorInferenceLogOutput) LabelCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.LabelCol }).(pulumi.StringPtrOutput) -} - -// Column of the model id or version -func (o LakehouseMonitorInferenceLogOutput) ModelIdCol() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.ModelIdCol }).(pulumi.StringOutput) -} - -// Column of the model prediction -func (o LakehouseMonitorInferenceLogOutput) PredictionCol() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.PredictionCol }).(pulumi.StringOutput) + }).(JobTaskSparkJarTaskPtrOutput) } -// Column of the model prediction probabilities -func (o LakehouseMonitorInferenceLogOutput) PredictionProbaCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.PredictionProbaCol }).(pulumi.StringPtrOutput) +func (o JobTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` -func (o LakehouseMonitorInferenceLogOutput) ProblemType() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.ProblemType }).(pulumi.StringOutput) +// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. +func (o JobTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -// Column of the timestamp of predictions -func (o LakehouseMonitorInferenceLogOutput) TimestampCol() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.TimestampCol }).(pulumi.StringOutput) +// (List) Parameters passed to the main method. +func (o JobTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type LakehouseMonitorInferenceLogPtrOutput struct{ *pulumi.OutputState } +type JobTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorInferenceLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorInferenceLog)(nil)).Elem() +func (JobTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSparkJarTask)(nil)).Elem() } -func (o LakehouseMonitorInferenceLogPtrOutput) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { +func (o JobTaskSparkJarTaskPtrOutput) ToJobTaskSparkJarTaskPtrOutput() JobTaskSparkJarTaskPtrOutput { return o } -func (o LakehouseMonitorInferenceLogPtrOutput) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { +func (o JobTaskSparkJarTaskPtrOutput) ToJobTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkJarTaskPtrOutput { return o } -func (o LakehouseMonitorInferenceLogPtrOutput) Elem() LakehouseMonitorInferenceLogOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) LakehouseMonitorInferenceLog { +func (o JobTaskSparkJarTaskPtrOutput) Elem() JobTaskSparkJarTaskOutput { + return o.ApplyT(func(v *JobTaskSparkJarTask) JobTaskSparkJarTask { if v != nil { return *v } - var ret LakehouseMonitorInferenceLog + var ret JobTaskSparkJarTask return ret - }).(LakehouseMonitorInferenceLogOutput) -} - -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o LakehouseMonitorInferenceLogPtrOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) []string { - if v == nil { - return nil - } - return v.Granularities - }).(pulumi.StringArrayOutput) -} - -// Column of the model label -func (o LakehouseMonitorInferenceLogPtrOutput) LabelCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { - if v == nil { - return nil - } - return v.LabelCol - }).(pulumi.StringPtrOutput) -} - -// Column of the model id or version -func (o LakehouseMonitorInferenceLogPtrOutput) ModelIdCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { - if v == nil { - return nil - } - return &v.ModelIdCol - }).(pulumi.StringPtrOutput) -} - -// Column of the model prediction -func (o LakehouseMonitorInferenceLogPtrOutput) PredictionCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { - if v == nil { - return nil - } - return &v.PredictionCol - }).(pulumi.StringPtrOutput) + }).(JobTaskSparkJarTaskOutput) } -// Column of the model prediction probabilities -func (o LakehouseMonitorInferenceLogPtrOutput) PredictionProbaCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { +func (o JobTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSparkJarTask) *string { if v == nil { return nil } - return v.PredictionProbaCol + return v.JarUri }).(pulumi.StringPtrOutput) } -// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` -func (o LakehouseMonitorInferenceLogPtrOutput) ProblemType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { +// The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. +func (o JobTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSparkJarTask) *string { if v == nil { return nil } - return &v.ProblemType + return v.MainClassName }).(pulumi.StringPtrOutput) } -// Column of the timestamp of predictions -func (o LakehouseMonitorInferenceLogPtrOutput) TimestampCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { +// (List) Parameters passed to the main method. +func (o JobTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskSparkJarTask) []string { if v == nil { return nil } - return &v.TimestampCol - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type LakehouseMonitorNotifications struct { - // who to send notifications to on monitor failure. - OnFailure *LakehouseMonitorNotificationsOnFailure `pulumi:"onFailure"` - // Who to send notifications to when new data classification tags are detected. - OnNewClassificationTagDetected *LakehouseMonitorNotificationsOnNewClassificationTagDetected `pulumi:"onNewClassificationTagDetected"` +type JobTaskSparkPythonTask struct { + // (List) Command line parameters passed to the Python file. + Parameters []string `pulumi:"parameters"` + // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + PythonFile string `pulumi:"pythonFile"` + // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. + Source *string `pulumi:"source"` } -// LakehouseMonitorNotificationsInput is an input type that accepts LakehouseMonitorNotificationsArgs and LakehouseMonitorNotificationsOutput values. -// You can construct a concrete instance of `LakehouseMonitorNotificationsInput` via: +// JobTaskSparkPythonTaskInput is an input type that accepts JobTaskSparkPythonTaskArgs and JobTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `JobTaskSparkPythonTaskInput` via: // -// LakehouseMonitorNotificationsArgs{...} -type LakehouseMonitorNotificationsInput interface { +// JobTaskSparkPythonTaskArgs{...} +type JobTaskSparkPythonTaskInput interface { pulumi.Input - ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput - ToLakehouseMonitorNotificationsOutputWithContext(context.Context) LakehouseMonitorNotificationsOutput + ToJobTaskSparkPythonTaskOutput() JobTaskSparkPythonTaskOutput + ToJobTaskSparkPythonTaskOutputWithContext(context.Context) JobTaskSparkPythonTaskOutput } -type LakehouseMonitorNotificationsArgs struct { - // who to send notifications to on monitor failure. - OnFailure LakehouseMonitorNotificationsOnFailurePtrInput `pulumi:"onFailure"` - // Who to send notifications to when new data classification tags are detected. - OnNewClassificationTagDetected LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput `pulumi:"onNewClassificationTagDetected"` +type JobTaskSparkPythonTaskArgs struct { + // (List) Command line parameters passed to the Python file. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + // The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + // Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. + Source pulumi.StringPtrInput `pulumi:"source"` } -func (LakehouseMonitorNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorNotifications)(nil)).Elem() +func (JobTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSparkPythonTask)(nil)).Elem() } -func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput { - return i.ToLakehouseMonitorNotificationsOutputWithContext(context.Background()) +func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskOutput() JobTaskSparkPythonTaskOutput { + return i.ToJobTaskSparkPythonTaskOutputWithContext(context.Background()) } -func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOutput) +func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkPythonTaskOutput) } -func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { - return i.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) +func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { + return i.ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOutput).ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx) +func (i JobTaskSparkPythonTaskArgs) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkPythonTaskOutput).ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx) } -// LakehouseMonitorNotificationsPtrInput is an input type that accepts LakehouseMonitorNotificationsArgs, LakehouseMonitorNotificationsPtr and LakehouseMonitorNotificationsPtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorNotificationsPtrInput` via: +// JobTaskSparkPythonTaskPtrInput is an input type that accepts JobTaskSparkPythonTaskArgs, JobTaskSparkPythonTaskPtr and JobTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskSparkPythonTaskPtrInput` via: // -// LakehouseMonitorNotificationsArgs{...} +// JobTaskSparkPythonTaskArgs{...} // // or: // // nil -type LakehouseMonitorNotificationsPtrInput interface { +type JobTaskSparkPythonTaskPtrInput interface { pulumi.Input - ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput - ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Context) LakehouseMonitorNotificationsPtrOutput + ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput + ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Context) JobTaskSparkPythonTaskPtrOutput } -type lakehouseMonitorNotificationsPtrType LakehouseMonitorNotificationsArgs +type jobTaskSparkPythonTaskPtrType JobTaskSparkPythonTaskArgs -func LakehouseMonitorNotificationsPtr(v *LakehouseMonitorNotificationsArgs) LakehouseMonitorNotificationsPtrInput { - return (*lakehouseMonitorNotificationsPtrType)(v) +func JobTaskSparkPythonTaskPtr(v *JobTaskSparkPythonTaskArgs) JobTaskSparkPythonTaskPtrInput { + return (*jobTaskSparkPythonTaskPtrType)(v) } -func (*lakehouseMonitorNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorNotifications)(nil)).Elem() +func (*jobTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSparkPythonTask)(nil)).Elem() } -func (i *lakehouseMonitorNotificationsPtrType) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { - return i.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) +func (i *jobTaskSparkPythonTaskPtrType) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { + return i.ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorNotificationsPtrType) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsPtrOutput) +func (i *jobTaskSparkPythonTaskPtrType) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkPythonTaskPtrOutput) } -type LakehouseMonitorNotificationsOutput struct{ *pulumi.OutputState } +type JobTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorNotifications)(nil)).Elem() +func (JobTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSparkPythonTask)(nil)).Elem() } -func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput { +func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskOutput() JobTaskSparkPythonTaskOutput { return o } -func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOutput { +func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskOutput { return o } -func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { - return o.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) +func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { + return o.ToJobTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotifications) *LakehouseMonitorNotifications { +func (o JobTaskSparkPythonTaskOutput) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSparkPythonTask) *JobTaskSparkPythonTask { return &v - }).(LakehouseMonitorNotificationsPtrOutput) + }).(JobTaskSparkPythonTaskPtrOutput) } -// who to send notifications to on monitor failure. -func (o LakehouseMonitorNotificationsOutput) OnFailure() LakehouseMonitorNotificationsOnFailurePtrOutput { - return o.ApplyT(func(v LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnFailure { return v.OnFailure }).(LakehouseMonitorNotificationsOnFailurePtrOutput) +// (List) Command line parameters passed to the Python file. +func (o JobTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -// Who to send notifications to when new data classification tags are detected. -func (o LakehouseMonitorNotificationsOutput) OnNewClassificationTagDetected() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ApplyT(func(v LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnNewClassificationTagDetected { - return v.OnNewClassificationTagDetected - }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -type LakehouseMonitorNotificationsPtrOutput struct{ *pulumi.OutputState } +// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. +func (o JobTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (LakehouseMonitorNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorNotifications)(nil)).Elem() +type JobTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSparkPythonTask)(nil)).Elem() } -func (o LakehouseMonitorNotificationsPtrOutput) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { +func (o JobTaskSparkPythonTaskPtrOutput) ToJobTaskSparkPythonTaskPtrOutput() JobTaskSparkPythonTaskPtrOutput { return o } -func (o LakehouseMonitorNotificationsPtrOutput) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { +func (o JobTaskSparkPythonTaskPtrOutput) ToJobTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkPythonTaskPtrOutput { return o } -func (o LakehouseMonitorNotificationsPtrOutput) Elem() LakehouseMonitorNotificationsOutput { - return o.ApplyT(func(v *LakehouseMonitorNotifications) LakehouseMonitorNotifications { +func (o JobTaskSparkPythonTaskPtrOutput) Elem() JobTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *JobTaskSparkPythonTask) JobTaskSparkPythonTask { if v != nil { return *v } - var ret LakehouseMonitorNotifications + var ret JobTaskSparkPythonTask return ret - }).(LakehouseMonitorNotificationsOutput) + }).(JobTaskSparkPythonTaskOutput) } -// who to send notifications to on monitor failure. -func (o LakehouseMonitorNotificationsPtrOutput) OnFailure() LakehouseMonitorNotificationsOnFailurePtrOutput { - return o.ApplyT(func(v *LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnFailure { +// (List) Command line parameters passed to the Python file. +func (o JobTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskSparkPythonTask) []string { if v == nil { return nil } - return v.OnFailure - }).(LakehouseMonitorNotificationsOnFailurePtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -// Who to send notifications to when new data classification tags are detected. -func (o LakehouseMonitorNotificationsPtrOutput) OnNewClassificationTagDetected() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnNewClassificationTagDetected { +// The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. +func (o JobTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSparkPythonTask) *string { if v == nil { return nil } - return v.OnNewClassificationTagDetected - }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) + return &v.PythonFile + }).(pulumi.StringPtrOutput) } -type LakehouseMonitorNotificationsOnFailure struct { - EmailAddresses []string `pulumi:"emailAddresses"` +// Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `gitSource`. +func (o JobTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -// LakehouseMonitorNotificationsOnFailureInput is an input type that accepts LakehouseMonitorNotificationsOnFailureArgs and LakehouseMonitorNotificationsOnFailureOutput values. -// You can construct a concrete instance of `LakehouseMonitorNotificationsOnFailureInput` via: +type JobTaskSparkSubmitTask struct { + // (List) Command-line parameters passed to spark submit. + Parameters []string `pulumi:"parameters"` +} + +// JobTaskSparkSubmitTaskInput is an input type that accepts JobTaskSparkSubmitTaskArgs and JobTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `JobTaskSparkSubmitTaskInput` via: // -// LakehouseMonitorNotificationsOnFailureArgs{...} -type LakehouseMonitorNotificationsOnFailureInput interface { +// JobTaskSparkSubmitTaskArgs{...} +type JobTaskSparkSubmitTaskInput interface { pulumi.Input - ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput - ToLakehouseMonitorNotificationsOnFailureOutputWithContext(context.Context) LakehouseMonitorNotificationsOnFailureOutput + ToJobTaskSparkSubmitTaskOutput() JobTaskSparkSubmitTaskOutput + ToJobTaskSparkSubmitTaskOutputWithContext(context.Context) JobTaskSparkSubmitTaskOutput } -type LakehouseMonitorNotificationsOnFailureArgs struct { - EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` +type JobTaskSparkSubmitTaskArgs struct { + // (List) Command-line parameters passed to spark submit. + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (LakehouseMonitorNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorNotificationsOnFailure)(nil)).Elem() +func (JobTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSparkSubmitTask)(nil)).Elem() } -func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput { - return i.ToLakehouseMonitorNotificationsOnFailureOutputWithContext(context.Background()) +func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskOutput() JobTaskSparkSubmitTaskOutput { + return i.ToJobTaskSparkSubmitTaskOutputWithContext(context.Background()) } -func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailureOutput) +func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkSubmitTaskOutput) } -func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { - return i.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { + return i.ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailureOutput).ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx) +func (i JobTaskSparkSubmitTaskArgs) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkSubmitTaskOutput).ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx) } -// LakehouseMonitorNotificationsOnFailurePtrInput is an input type that accepts LakehouseMonitorNotificationsOnFailureArgs, LakehouseMonitorNotificationsOnFailurePtr and LakehouseMonitorNotificationsOnFailurePtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorNotificationsOnFailurePtrInput` via: +// JobTaskSparkSubmitTaskPtrInput is an input type that accepts JobTaskSparkSubmitTaskArgs, JobTaskSparkSubmitTaskPtr and JobTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskSparkSubmitTaskPtrInput` via: // -// LakehouseMonitorNotificationsOnFailureArgs{...} +// JobTaskSparkSubmitTaskArgs{...} // // or: // // nil -type LakehouseMonitorNotificationsOnFailurePtrInput interface { +type JobTaskSparkSubmitTaskPtrInput interface { pulumi.Input - ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput - ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput + ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput + ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Context) JobTaskSparkSubmitTaskPtrOutput } -type lakehouseMonitorNotificationsOnFailurePtrType LakehouseMonitorNotificationsOnFailureArgs +type jobTaskSparkSubmitTaskPtrType JobTaskSparkSubmitTaskArgs -func LakehouseMonitorNotificationsOnFailurePtr(v *LakehouseMonitorNotificationsOnFailureArgs) LakehouseMonitorNotificationsOnFailurePtrInput { - return (*lakehouseMonitorNotificationsOnFailurePtrType)(v) +func JobTaskSparkSubmitTaskPtr(v *JobTaskSparkSubmitTaskArgs) JobTaskSparkSubmitTaskPtrInput { + return (*jobTaskSparkSubmitTaskPtrType)(v) } -func (*lakehouseMonitorNotificationsOnFailurePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorNotificationsOnFailure)(nil)).Elem() +func (*jobTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSparkSubmitTask)(nil)).Elem() } -func (i *lakehouseMonitorNotificationsOnFailurePtrType) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { - return i.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +func (i *jobTaskSparkSubmitTaskPtrType) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { + return i.ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorNotificationsOnFailurePtrType) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailurePtrOutput) +func (i *jobTaskSparkSubmitTaskPtrType) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSparkSubmitTaskPtrOutput) } -type LakehouseMonitorNotificationsOnFailureOutput struct{ *pulumi.OutputState } +type JobTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorNotificationsOnFailure)(nil)).Elem() +func (JobTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSparkSubmitTask)(nil)).Elem() } -func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput { +func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskOutput() JobTaskSparkSubmitTaskOutput { return o } -func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailureOutput { +func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskOutput { return o } -func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { - return o.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { + return o.ToJobTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotificationsOnFailure) *LakehouseMonitorNotificationsOnFailure { +func (o JobTaskSparkSubmitTaskOutput) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSparkSubmitTask) *JobTaskSparkSubmitTask { return &v - }).(LakehouseMonitorNotificationsOnFailurePtrOutput) + }).(JobTaskSparkSubmitTaskPtrOutput) } -func (o LakehouseMonitorNotificationsOnFailureOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v LakehouseMonitorNotificationsOnFailure) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) +// (List) Command-line parameters passed to spark submit. +func (o JobTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type LakehouseMonitorNotificationsOnFailurePtrOutput struct{ *pulumi.OutputState } +type JobTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorNotificationsOnFailurePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorNotificationsOnFailure)(nil)).Elem() +func (JobTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSparkSubmitTask)(nil)).Elem() } -func (o LakehouseMonitorNotificationsOnFailurePtrOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { +func (o JobTaskSparkSubmitTaskPtrOutput) ToJobTaskSparkSubmitTaskPtrOutput() JobTaskSparkSubmitTaskPtrOutput { return o } -func (o LakehouseMonitorNotificationsOnFailurePtrOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { +func (o JobTaskSparkSubmitTaskPtrOutput) ToJobTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) JobTaskSparkSubmitTaskPtrOutput { return o } -func (o LakehouseMonitorNotificationsOnFailurePtrOutput) Elem() LakehouseMonitorNotificationsOnFailureOutput { - return o.ApplyT(func(v *LakehouseMonitorNotificationsOnFailure) LakehouseMonitorNotificationsOnFailure { +func (o JobTaskSparkSubmitTaskPtrOutput) Elem() JobTaskSparkSubmitTaskOutput { + return o.ApplyT(func(v *JobTaskSparkSubmitTask) JobTaskSparkSubmitTask { if v != nil { return *v } - var ret LakehouseMonitorNotificationsOnFailure + var ret JobTaskSparkSubmitTask return ret - }).(LakehouseMonitorNotificationsOnFailureOutput) + }).(JobTaskSparkSubmitTaskOutput) } -func (o LakehouseMonitorNotificationsOnFailurePtrOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LakehouseMonitorNotificationsOnFailure) []string { +// (List) Command-line parameters passed to spark submit. +func (o JobTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTaskSparkSubmitTask) []string { if v == nil { return nil } - return v.EmailAddresses + return v.Parameters }).(pulumi.StringArrayOutput) } -type LakehouseMonitorNotificationsOnNewClassificationTagDetected struct { - EmailAddresses []string `pulumi:"emailAddresses"` +type JobTaskSqlTask struct { + // block consisting of following fields: + Alert *JobTaskSqlTaskAlert `pulumi:"alert"` + // block consisting of following fields: + Dashboard *JobTaskSqlTaskDashboard `pulumi:"dashboard"` + // block consisting of single string fields: + File *JobTaskSqlTaskFile `pulumi:"file"` + // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + Parameters map[string]string `pulumi:"parameters"` + // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). + Query *JobTaskSqlTaskQuery `pulumi:"query"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + WarehouseId string `pulumi:"warehouseId"` } -// LakehouseMonitorNotificationsOnNewClassificationTagDetectedInput is an input type that accepts LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs and LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput values. -// You can construct a concrete instance of `LakehouseMonitorNotificationsOnNewClassificationTagDetectedInput` via: +// JobTaskSqlTaskInput is an input type that accepts JobTaskSqlTaskArgs and JobTaskSqlTaskOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskInput` via: // -// LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs{...} -type LakehouseMonitorNotificationsOnNewClassificationTagDetectedInput interface { +// JobTaskSqlTaskArgs{...} +type JobTaskSqlTaskInput interface { pulumi.Input - ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput - ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput + ToJobTaskSqlTaskOutput() JobTaskSqlTaskOutput + ToJobTaskSqlTaskOutputWithContext(context.Context) JobTaskSqlTaskOutput } -type LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs struct { - EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` +type JobTaskSqlTaskArgs struct { + // block consisting of following fields: + Alert JobTaskSqlTaskAlertPtrInput `pulumi:"alert"` + // block consisting of following fields: + Dashboard JobTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + // block consisting of single string fields: + File JobTaskSqlTaskFilePtrInput `pulumi:"file"` + // (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + Parameters pulumi.StringMapInput `pulumi:"parameters"` + // block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). + Query JobTaskSqlTaskQueryPtrInput `pulumi:"query"` + // ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + WarehouseId pulumi.StringInput `pulumi:"warehouseId"` } -func (LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +func (JobTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTask)(nil)).Elem() } -func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { - return i.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Background()) +func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskOutput() JobTaskSqlTaskOutput { + return i.ToJobTaskSqlTaskOutputWithContext(context.Background()) } -func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) +func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskOutput) } -func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return i.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { + return i.ToJobTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput).ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx) +func (i JobTaskSqlTaskArgs) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskOutput).ToJobTaskSqlTaskPtrOutputWithContext(ctx) } -// LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput is an input type that accepts LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs, LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtr and LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput` via: +// JobTaskSqlTaskPtrInput is an input type that accepts JobTaskSqlTaskArgs, JobTaskSqlTaskPtr and JobTaskSqlTaskPtrOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskPtrInput` via: // -// LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs{...} +// JobTaskSqlTaskArgs{...} // // or: // // nil -type LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput interface { +type JobTaskSqlTaskPtrInput interface { pulumi.Input - ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput - ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput + ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput + ToJobTaskSqlTaskPtrOutputWithContext(context.Context) JobTaskSqlTaskPtrOutput } -type lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs +type jobTaskSqlTaskPtrType JobTaskSqlTaskArgs -func LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtr(v *LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput { - return (*lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType)(v) +func JobTaskSqlTaskPtr(v *JobTaskSqlTaskArgs) JobTaskSqlTaskPtrInput { + return (*jobTaskSqlTaskPtrType)(v) } -func (*lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +func (*jobTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTask)(nil)).Elem() } -func (i *lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return i.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +func (i *jobTaskSqlTaskPtrType) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { + return i.ToJobTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +func (i *jobTaskSqlTaskPtrType) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskPtrOutput) } -type LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +func (JobTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTask)(nil)).Elem() } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { +func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskOutput() JobTaskSqlTaskOutput { return o } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { +func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskOutputWithContext(ctx context.Context) JobTaskSqlTaskOutput { return o } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { + return o.ToJobTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotificationsOnNewClassificationTagDetected) *LakehouseMonitorNotificationsOnNewClassificationTagDetected { +func (o JobTaskSqlTaskOutput) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTask) *JobTaskSqlTask { return &v - }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) + }).(JobTaskSqlTaskPtrOutput) } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v LakehouseMonitorNotificationsOnNewClassificationTagDetected) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) +// block consisting of following fields: +func (o JobTaskSqlTaskOutput) Alert() JobTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskAlert { return v.Alert }).(JobTaskSqlTaskAlertPtrOutput) } -type LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput struct{ *pulumi.OutputState } +// block consisting of following fields: +func (o JobTaskSqlTaskOutput) Dashboard() JobTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskDashboard { return v.Dashboard }).(JobTaskSqlTaskDashboardPtrOutput) +} -func (LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +// block consisting of single string fields: +func (o JobTaskSqlTaskOutput) File() JobTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskFile { return v.File }).(JobTaskSqlTaskFilePtrOutput) } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { +// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. +func (o JobTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v JobTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +} + +// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). +func (o JobTaskSqlTaskOutput) Query() JobTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v JobTaskSqlTask) *JobTaskSqlTaskQuery { return v.Query }).(JobTaskSqlTaskQueryPtrOutput) +} + +// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. +func (o JobTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) +} + +type JobTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTask)(nil)).Elem() +} + +func (o JobTaskSqlTaskPtrOutput) ToJobTaskSqlTaskPtrOutput() JobTaskSqlTaskPtrOutput { return o } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { +func (o JobTaskSqlTaskPtrOutput) ToJobTaskSqlTaskPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskPtrOutput { return o } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) Elem() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { - return o.ApplyT(func(v *LakehouseMonitorNotificationsOnNewClassificationTagDetected) LakehouseMonitorNotificationsOnNewClassificationTagDetected { +func (o JobTaskSqlTaskPtrOutput) Elem() JobTaskSqlTaskOutput { + return o.ApplyT(func(v *JobTaskSqlTask) JobTaskSqlTask { if v != nil { return *v } - var ret LakehouseMonitorNotificationsOnNewClassificationTagDetected + var ret JobTaskSqlTask return ret - }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) + }).(JobTaskSqlTaskOutput) } -func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LakehouseMonitorNotificationsOnNewClassificationTagDetected) []string { +// block consisting of following fields: +func (o JobTaskSqlTaskPtrOutput) Alert() JobTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskAlert { if v == nil { return nil } - return v.EmailAddresses - }).(pulumi.StringArrayOutput) + return v.Alert + }).(JobTaskSqlTaskAlertPtrOutput) } -type LakehouseMonitorSchedule struct { - // optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). - PauseStatus *string `pulumi:"pauseStatus"` - // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - QuartzCronExpression string `pulumi:"quartzCronExpression"` - // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - TimezoneId string `pulumi:"timezoneId"` +// block consisting of following fields: +func (o JobTaskSqlTaskPtrOutput) Dashboard() JobTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskDashboard { + if v == nil { + return nil + } + return v.Dashboard + }).(JobTaskSqlTaskDashboardPtrOutput) } -// LakehouseMonitorScheduleInput is an input type that accepts LakehouseMonitorScheduleArgs and LakehouseMonitorScheduleOutput values. -// You can construct a concrete instance of `LakehouseMonitorScheduleInput` via: +// block consisting of single string fields: +func (o JobTaskSqlTaskPtrOutput) File() JobTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskFile { + if v == nil { + return nil + } + return v.File + }).(JobTaskSqlTaskFilePtrOutput) +} + +// (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. +func (o JobTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobTaskSqlTask) map[string]string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringMapOutput) +} + +// block consisting of single string field: `queryId` - identifier of the Databricks Query (databricks_query). +func (o JobTaskSqlTaskPtrOutput) Query() JobTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTask) *JobTaskSqlTaskQuery { + if v == nil { + return nil + } + return v.Query + }).(JobTaskSqlTaskQueryPtrOutput) +} + +// ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. +func (o JobTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTask) *string { + if v == nil { + return nil + } + return &v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type JobTaskSqlTaskAlert struct { + // (String) identifier of the Databricks Alert (databricks_alert). + AlertId string `pulumi:"alertId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions []JobTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +} + +// JobTaskSqlTaskAlertInput is an input type that accepts JobTaskSqlTaskAlertArgs and JobTaskSqlTaskAlertOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskAlertInput` via: // -// LakehouseMonitorScheduleArgs{...} -type LakehouseMonitorScheduleInput interface { +// JobTaskSqlTaskAlertArgs{...} +type JobTaskSqlTaskAlertInput interface { pulumi.Input - ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput - ToLakehouseMonitorScheduleOutputWithContext(context.Context) LakehouseMonitorScheduleOutput + ToJobTaskSqlTaskAlertOutput() JobTaskSqlTaskAlertOutput + ToJobTaskSqlTaskAlertOutputWithContext(context.Context) JobTaskSqlTaskAlertOutput } -type LakehouseMonitorScheduleArgs struct { - // optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` - // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +type JobTaskSqlTaskAlertArgs struct { + // (String) identifier of the Databricks Alert (databricks_alert). + AlertId pulumi.StringInput `pulumi:"alertId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions JobTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` } -func (LakehouseMonitorScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorSchedule)(nil)).Elem() +func (JobTaskSqlTaskAlertArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskAlert)(nil)).Elem() } -func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput { - return i.ToLakehouseMonitorScheduleOutputWithContext(context.Background()) +func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertOutput() JobTaskSqlTaskAlertOutput { + return i.ToJobTaskSqlTaskAlertOutputWithContext(context.Background()) } -func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorScheduleOutputWithContext(ctx context.Context) LakehouseMonitorScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorScheduleOutput) +func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertOutput) } -func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { - return i.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { + return i.ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorScheduleOutput).ToLakehouseMonitorSchedulePtrOutputWithContext(ctx) +func (i JobTaskSqlTaskAlertArgs) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertOutput).ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx) } -// LakehouseMonitorSchedulePtrInput is an input type that accepts LakehouseMonitorScheduleArgs, LakehouseMonitorSchedulePtr and LakehouseMonitorSchedulePtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorSchedulePtrInput` via: +// JobTaskSqlTaskAlertPtrInput is an input type that accepts JobTaskSqlTaskAlertArgs, JobTaskSqlTaskAlertPtr and JobTaskSqlTaskAlertPtrOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskAlertPtrInput` via: // -// LakehouseMonitorScheduleArgs{...} +// JobTaskSqlTaskAlertArgs{...} // // or: // // nil -type LakehouseMonitorSchedulePtrInput interface { +type JobTaskSqlTaskAlertPtrInput interface { pulumi.Input - ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput - ToLakehouseMonitorSchedulePtrOutputWithContext(context.Context) LakehouseMonitorSchedulePtrOutput + ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput + ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Context) JobTaskSqlTaskAlertPtrOutput } -type lakehouseMonitorSchedulePtrType LakehouseMonitorScheduleArgs +type jobTaskSqlTaskAlertPtrType JobTaskSqlTaskAlertArgs -func LakehouseMonitorSchedulePtr(v *LakehouseMonitorScheduleArgs) LakehouseMonitorSchedulePtrInput { - return (*lakehouseMonitorSchedulePtrType)(v) +func JobTaskSqlTaskAlertPtr(v *JobTaskSqlTaskAlertArgs) JobTaskSqlTaskAlertPtrInput { + return (*jobTaskSqlTaskAlertPtrType)(v) } -func (*lakehouseMonitorSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorSchedule)(nil)).Elem() +func (*jobTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskAlert)(nil)).Elem() } -func (i *lakehouseMonitorSchedulePtrType) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { - return i.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) +func (i *jobTaskSqlTaskAlertPtrType) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { + return i.ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorSchedulePtrType) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSchedulePtrOutput) +func (i *jobTaskSqlTaskAlertPtrType) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertPtrOutput) } -type LakehouseMonitorScheduleOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorSchedule)(nil)).Elem() +func (JobTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskAlert)(nil)).Elem() } -func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput { +func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertOutput() JobTaskSqlTaskAlertOutput { return o } -func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorScheduleOutputWithContext(ctx context.Context) LakehouseMonitorScheduleOutput { +func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertOutput { return o } -func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { - return o.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) +func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { + return o.ToJobTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorSchedule) *LakehouseMonitorSchedule { +func (o JobTaskSqlTaskAlertOutput) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskAlert) *JobTaskSqlTaskAlert { return &v - }).(LakehouseMonitorSchedulePtrOutput) + }).(JobTaskSqlTaskAlertPtrOutput) } -// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). -func (o LakehouseMonitorScheduleOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v LakehouseMonitorSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +// (String) identifier of the Databricks Alert (databricks_alert). +func (o JobTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) } -// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. -func (o LakehouseMonitorScheduleOutput) QuartzCronExpression() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) +// flag that specifies if subscriptions are paused or not. +func (o JobTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. -func (o LakehouseMonitorScheduleOutput) TimezoneId() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskSqlTaskAlertOutput) Subscriptions() JobTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v JobTaskSqlTaskAlert) []JobTaskSqlTaskAlertSubscription { return v.Subscriptions }).(JobTaskSqlTaskAlertSubscriptionArrayOutput) } -type LakehouseMonitorSchedulePtrOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorSchedule)(nil)).Elem() +func (JobTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskAlert)(nil)).Elem() } -func (o LakehouseMonitorSchedulePtrOutput) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { +func (o JobTaskSqlTaskAlertPtrOutput) ToJobTaskSqlTaskAlertPtrOutput() JobTaskSqlTaskAlertPtrOutput { return o } -func (o LakehouseMonitorSchedulePtrOutput) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { +func (o JobTaskSqlTaskAlertPtrOutput) ToJobTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertPtrOutput { return o } -func (o LakehouseMonitorSchedulePtrOutput) Elem() LakehouseMonitorScheduleOutput { - return o.ApplyT(func(v *LakehouseMonitorSchedule) LakehouseMonitorSchedule { +func (o JobTaskSqlTaskAlertPtrOutput) Elem() JobTaskSqlTaskAlertOutput { + return o.ApplyT(func(v *JobTaskSqlTaskAlert) JobTaskSqlTaskAlert { if v != nil { return *v } - var ret LakehouseMonitorSchedule + var ret JobTaskSqlTaskAlert return ret - }).(LakehouseMonitorScheduleOutput) + }).(JobTaskSqlTaskAlertOutput) } -// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). -func (o LakehouseMonitorSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { +// (String) identifier of the Databricks Alert (databricks_alert). +func (o JobTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskAlert) *string { if v == nil { return nil } - return v.PauseStatus + return &v.AlertId }).(pulumi.StringPtrOutput) } -// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. -func (o LakehouseMonitorSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { +// flag that specifies if subscriptions are paused or not. +func (o JobTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskAlert) *bool { if v == nil { return nil } - return &v.QuartzCronExpression - }).(pulumi.StringPtrOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. -func (o LakehouseMonitorSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskSqlTaskAlertPtrOutput) Subscriptions() JobTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *JobTaskSqlTaskAlert) []JobTaskSqlTaskAlertSubscription { if v == nil { return nil } - return &v.TimezoneId - }).(pulumi.StringPtrOutput) + return v.Subscriptions + }).(JobTaskSqlTaskAlertSubscriptionArrayOutput) } -type LakehouseMonitorSnapshot struct { +type JobTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName *string `pulumi:"userName"` } -// LakehouseMonitorSnapshotInput is an input type that accepts LakehouseMonitorSnapshotArgs and LakehouseMonitorSnapshotOutput values. -// You can construct a concrete instance of `LakehouseMonitorSnapshotInput` via: +// JobTaskSqlTaskAlertSubscriptionInput is an input type that accepts JobTaskSqlTaskAlertSubscriptionArgs and JobTaskSqlTaskAlertSubscriptionOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskAlertSubscriptionInput` via: // -// LakehouseMonitorSnapshotArgs{...} -type LakehouseMonitorSnapshotInput interface { +// JobTaskSqlTaskAlertSubscriptionArgs{...} +type JobTaskSqlTaskAlertSubscriptionInput interface { pulumi.Input - ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput - ToLakehouseMonitorSnapshotOutputWithContext(context.Context) LakehouseMonitorSnapshotOutput -} - -type LakehouseMonitorSnapshotArgs struct { -} - -func (LakehouseMonitorSnapshotArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorSnapshot)(nil)).Elem() + ToJobTaskSqlTaskAlertSubscriptionOutput() JobTaskSqlTaskAlertSubscriptionOutput + ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) JobTaskSqlTaskAlertSubscriptionOutput } -func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput { - return i.ToLakehouseMonitorSnapshotOutputWithContext(context.Background()) +type JobTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName pulumi.StringPtrInput `pulumi:"userName"` } - -func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotOutput) + +func (JobTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { - return i.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskAlertSubscriptionArgs) ToJobTaskSqlTaskAlertSubscriptionOutput() JobTaskSqlTaskAlertSubscriptionOutput { + return i.ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) } -func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotOutput).ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx) +func (i JobTaskSqlTaskAlertSubscriptionArgs) ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertSubscriptionOutput) } -// LakehouseMonitorSnapshotPtrInput is an input type that accepts LakehouseMonitorSnapshotArgs, LakehouseMonitorSnapshotPtr and LakehouseMonitorSnapshotPtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorSnapshotPtrInput` via: -// -// LakehouseMonitorSnapshotArgs{...} -// -// or: +// JobTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts JobTaskSqlTaskAlertSubscriptionArray and JobTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskAlertSubscriptionArrayInput` via: // -// nil -type LakehouseMonitorSnapshotPtrInput interface { +// JobTaskSqlTaskAlertSubscriptionArray{ JobTaskSqlTaskAlertSubscriptionArgs{...} } +type JobTaskSqlTaskAlertSubscriptionArrayInput interface { pulumi.Input - ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput - ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Context) LakehouseMonitorSnapshotPtrOutput + ToJobTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskSqlTaskAlertSubscriptionArrayOutput + ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) JobTaskSqlTaskAlertSubscriptionArrayOutput } -type lakehouseMonitorSnapshotPtrType LakehouseMonitorSnapshotArgs - -func LakehouseMonitorSnapshotPtr(v *LakehouseMonitorSnapshotArgs) LakehouseMonitorSnapshotPtrInput { - return (*lakehouseMonitorSnapshotPtrType)(v) -} +type JobTaskSqlTaskAlertSubscriptionArray []JobTaskSqlTaskAlertSubscriptionInput -func (*lakehouseMonitorSnapshotPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorSnapshot)(nil)).Elem() +func (JobTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i *lakehouseMonitorSnapshotPtrType) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { - return i.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskAlertSubscriptionArray) ToJobTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) } -func (i *lakehouseMonitorSnapshotPtrType) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotPtrOutput) +func (i JobTaskSqlTaskAlertSubscriptionArray) ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskAlertSubscriptionArrayOutput) } -type LakehouseMonitorSnapshotOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorSnapshotOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorSnapshot)(nil)).Elem() +func (JobTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput { +func (o JobTaskSqlTaskAlertSubscriptionOutput) ToJobTaskSqlTaskAlertSubscriptionOutput() JobTaskSqlTaskAlertSubscriptionOutput { return o } -func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotOutput { +func (o JobTaskSqlTaskAlertSubscriptionOutput) ToJobTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionOutput { return o } -func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { - return o.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) +func (o JobTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) } -func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorSnapshot) *LakehouseMonitorSnapshot { - return &v - }).(LakehouseMonitorSnapshotPtrOutput) +// The email of an active workspace user. Non-admin users can only set this field to their own email. +func (o JobTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type LakehouseMonitorSnapshotPtrOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorSnapshotPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorSnapshot)(nil)).Elem() +func (JobTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o LakehouseMonitorSnapshotPtrOutput) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { +func (o JobTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskSqlTaskAlertSubscriptionArrayOutput() JobTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o LakehouseMonitorSnapshotPtrOutput) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { +func (o JobTaskSqlTaskAlertSubscriptionArrayOutput) ToJobTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o LakehouseMonitorSnapshotPtrOutput) Elem() LakehouseMonitorSnapshotOutput { - return o.ApplyT(func(v *LakehouseMonitorSnapshot) LakehouseMonitorSnapshot { - if v != nil { - return *v - } - var ret LakehouseMonitorSnapshot - return ret - }).(LakehouseMonitorSnapshotOutput) +func (o JobTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskSqlTaskAlertSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskSqlTaskAlertSubscription { + return vs[0].([]JobTaskSqlTaskAlertSubscription)[vs[1].(int)] + }).(JobTaskSqlTaskAlertSubscriptionOutput) } -type LakehouseMonitorTimeSeries struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities []string `pulumi:"granularities"` - // Column of the timestamp of predictions - TimestampCol string `pulumi:"timestampCol"` +type JobTaskSqlTaskDashboard struct { + // string specifying a custom subject of email sent. + CustomSubject *string `pulumi:"customSubject"` + // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + DashboardId string `pulumi:"dashboardId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions []JobTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` } -// LakehouseMonitorTimeSeriesInput is an input type that accepts LakehouseMonitorTimeSeriesArgs and LakehouseMonitorTimeSeriesOutput values. -// You can construct a concrete instance of `LakehouseMonitorTimeSeriesInput` via: +// JobTaskSqlTaskDashboardInput is an input type that accepts JobTaskSqlTaskDashboardArgs and JobTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskDashboardInput` via: // -// LakehouseMonitorTimeSeriesArgs{...} -type LakehouseMonitorTimeSeriesInput interface { +// JobTaskSqlTaskDashboardArgs{...} +type JobTaskSqlTaskDashboardInput interface { pulumi.Input - ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput - ToLakehouseMonitorTimeSeriesOutputWithContext(context.Context) LakehouseMonitorTimeSeriesOutput + ToJobTaskSqlTaskDashboardOutput() JobTaskSqlTaskDashboardOutput + ToJobTaskSqlTaskDashboardOutputWithContext(context.Context) JobTaskSqlTaskDashboardOutput } -type LakehouseMonitorTimeSeriesArgs struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities pulumi.StringArrayInput `pulumi:"granularities"` - // Column of the timestamp of predictions - TimestampCol pulumi.StringInput `pulumi:"timestampCol"` +type JobTaskSqlTaskDashboardArgs struct { + // string specifying a custom subject of email sent. + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + // (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + // flag that specifies if subscriptions are paused or not. + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + // a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. + Subscriptions JobTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` } -func (LakehouseMonitorTimeSeriesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorTimeSeries)(nil)).Elem() +func (JobTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskDashboard)(nil)).Elem() } -func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput { - return i.ToLakehouseMonitorTimeSeriesOutputWithContext(context.Background()) +func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardOutput() JobTaskSqlTaskDashboardOutput { + return i.ToJobTaskSqlTaskDashboardOutputWithContext(context.Background()) } -func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesOutput) +func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardOutput) } -func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { - return i.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { + return i.ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesOutput).ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx) +func (i JobTaskSqlTaskDashboardArgs) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardOutput).ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx) } -// LakehouseMonitorTimeSeriesPtrInput is an input type that accepts LakehouseMonitorTimeSeriesArgs, LakehouseMonitorTimeSeriesPtr and LakehouseMonitorTimeSeriesPtrOutput values. -// You can construct a concrete instance of `LakehouseMonitorTimeSeriesPtrInput` via: +// JobTaskSqlTaskDashboardPtrInput is an input type that accepts JobTaskSqlTaskDashboardArgs, JobTaskSqlTaskDashboardPtr and JobTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskDashboardPtrInput` via: // -// LakehouseMonitorTimeSeriesArgs{...} +// JobTaskSqlTaskDashboardArgs{...} // // or: // // nil -type LakehouseMonitorTimeSeriesPtrInput interface { +type JobTaskSqlTaskDashboardPtrInput interface { pulumi.Input - ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput - ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Context) LakehouseMonitorTimeSeriesPtrOutput + ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput + ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Context) JobTaskSqlTaskDashboardPtrOutput } -type lakehouseMonitorTimeSeriesPtrType LakehouseMonitorTimeSeriesArgs +type jobTaskSqlTaskDashboardPtrType JobTaskSqlTaskDashboardArgs -func LakehouseMonitorTimeSeriesPtr(v *LakehouseMonitorTimeSeriesArgs) LakehouseMonitorTimeSeriesPtrInput { - return (*lakehouseMonitorTimeSeriesPtrType)(v) +func JobTaskSqlTaskDashboardPtr(v *JobTaskSqlTaskDashboardArgs) JobTaskSqlTaskDashboardPtrInput { + return (*jobTaskSqlTaskDashboardPtrType)(v) } -func (*lakehouseMonitorTimeSeriesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorTimeSeries)(nil)).Elem() +func (*jobTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskDashboard)(nil)).Elem() } -func (i *lakehouseMonitorTimeSeriesPtrType) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { - return i.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) +func (i *jobTaskSqlTaskDashboardPtrType) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { + return i.ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i *lakehouseMonitorTimeSeriesPtrType) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesPtrOutput) +func (i *jobTaskSqlTaskDashboardPtrType) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardPtrOutput) } -type LakehouseMonitorTimeSeriesOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } -func (LakehouseMonitorTimeSeriesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LakehouseMonitorTimeSeries)(nil)).Elem() +func (JobTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskDashboard)(nil)).Elem() } -func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput { +func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardOutput() JobTaskSqlTaskDashboardOutput { return o } -func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesOutput { +func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardOutput { return o } -func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { - return o.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) +func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { + return o.ToJobTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorTimeSeries) *LakehouseMonitorTimeSeries { +func (o JobTaskSqlTaskDashboardOutput) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskDashboard) *JobTaskSqlTaskDashboard { return &v - }).(LakehouseMonitorTimeSeriesPtrOutput) + }).(JobTaskSqlTaskDashboardPtrOutput) } -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o LakehouseMonitorTimeSeriesOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v LakehouseMonitorTimeSeries) []string { return v.Granularities }).(pulumi.StringArrayOutput) +// string specifying a custom subject of email sent. +func (o JobTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -// Column of the timestamp of predictions -func (o LakehouseMonitorTimeSeriesOutput) TimestampCol() pulumi.StringOutput { - return o.ApplyT(func(v LakehouseMonitorTimeSeries) string { return v.TimestampCol }).(pulumi.StringOutput) +// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. +func (o JobTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) } -type LakehouseMonitorTimeSeriesPtrOutput struct{ *pulumi.OutputState } +// flag that specifies if subscriptions are paused or not. +func (o JobTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +} -func (LakehouseMonitorTimeSeriesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LakehouseMonitorTimeSeries)(nil)).Elem() +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskSqlTaskDashboardOutput) Subscriptions() JobTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v JobTaskSqlTaskDashboard) []JobTaskSqlTaskDashboardSubscription { return v.Subscriptions }).(JobTaskSqlTaskDashboardSubscriptionArrayOutput) } -func (o LakehouseMonitorTimeSeriesPtrOutput) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { +type JobTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskDashboard)(nil)).Elem() +} + +func (o JobTaskSqlTaskDashboardPtrOutput) ToJobTaskSqlTaskDashboardPtrOutput() JobTaskSqlTaskDashboardPtrOutput { return o } -func (o LakehouseMonitorTimeSeriesPtrOutput) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { +func (o JobTaskSqlTaskDashboardPtrOutput) ToJobTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardPtrOutput { return o } -func (o LakehouseMonitorTimeSeriesPtrOutput) Elem() LakehouseMonitorTimeSeriesOutput { - return o.ApplyT(func(v *LakehouseMonitorTimeSeries) LakehouseMonitorTimeSeries { +func (o JobTaskSqlTaskDashboardPtrOutput) Elem() JobTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *JobTaskSqlTaskDashboard) JobTaskSqlTaskDashboard { if v != nil { return *v } - var ret LakehouseMonitorTimeSeries + var ret JobTaskSqlTaskDashboard return ret - }).(LakehouseMonitorTimeSeriesOutput) + }).(JobTaskSqlTaskDashboardOutput) } -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o LakehouseMonitorTimeSeriesPtrOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LakehouseMonitorTimeSeries) []string { +// string specifying a custom subject of email sent. +func (o JobTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskDashboard) *string { if v == nil { return nil } - return v.Granularities - }).(pulumi.StringArrayOutput) + return v.CustomSubject + }).(pulumi.StringPtrOutput) } -// Column of the timestamp of predictions -func (o LakehouseMonitorTimeSeriesPtrOutput) TimestampCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LakehouseMonitorTimeSeries) *string { +// (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. +func (o JobTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskDashboard) *string { if v == nil { return nil } - return &v.TimestampCol + return &v.DashboardId }).(pulumi.StringPtrOutput) } -type LibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +// flag that specifies if subscriptions are paused or not. +func (o JobTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskDashboard) *bool { + if v == nil { + return nil + } + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -// LibraryCranInput is an input type that accepts LibraryCranArgs and LibraryCranOutput values. -// You can construct a concrete instance of `LibraryCranInput` via: -// -// LibraryCranArgs{...} -type LibraryCranInput interface { - pulumi.Input - - ToLibraryCranOutput() LibraryCranOutput - ToLibraryCranOutputWithContext(context.Context) LibraryCranOutput +// a list of subscription blocks consisting out of one of the required fields: `userName` for user emails or `destinationId` - for Alert destination's identifier. +func (o JobTaskSqlTaskDashboardPtrOutput) Subscriptions() JobTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *JobTaskSqlTaskDashboard) []JobTaskSqlTaskDashboardSubscription { + if v == nil { + return nil + } + return v.Subscriptions + }).(JobTaskSqlTaskDashboardSubscriptionArrayOutput) } -type LibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskSqlTaskDashboardSubscription struct { + DestinationId *string `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName *string `pulumi:"userName"` } -func (LibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryCran)(nil)).Elem() +// JobTaskSqlTaskDashboardSubscriptionInput is an input type that accepts JobTaskSqlTaskDashboardSubscriptionArgs and JobTaskSqlTaskDashboardSubscriptionOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskDashboardSubscriptionInput` via: +// +// JobTaskSqlTaskDashboardSubscriptionArgs{...} +type JobTaskSqlTaskDashboardSubscriptionInput interface { + pulumi.Input + + ToJobTaskSqlTaskDashboardSubscriptionOutput() JobTaskSqlTaskDashboardSubscriptionOutput + ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) JobTaskSqlTaskDashboardSubscriptionOutput } -func (i LibraryCranArgs) ToLibraryCranOutput() LibraryCranOutput { - return i.ToLibraryCranOutputWithContext(context.Background()) +type JobTaskSqlTaskDashboardSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + // The email of an active workspace user. Non-admin users can only set this field to their own email. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i LibraryCranArgs) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput) +func (JobTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i LibraryCranArgs) ToLibraryCranPtrOutput() LibraryCranPtrOutput { - return i.ToLibraryCranPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskSqlTaskDashboardSubscriptionOutput() JobTaskSqlTaskDashboardSubscriptionOutput { + return i.ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) } -func (i LibraryCranArgs) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput).ToLibraryCranPtrOutputWithContext(ctx) +func (i JobTaskSqlTaskDashboardSubscriptionArgs) ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardSubscriptionOutput) } -// LibraryCranPtrInput is an input type that accepts LibraryCranArgs, LibraryCranPtr and LibraryCranPtrOutput values. -// You can construct a concrete instance of `LibraryCranPtrInput` via: -// -// LibraryCranArgs{...} -// -// or: +// JobTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts JobTaskSqlTaskDashboardSubscriptionArray and JobTaskSqlTaskDashboardSubscriptionArrayOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskDashboardSubscriptionArrayInput` via: // -// nil -type LibraryCranPtrInput interface { +// JobTaskSqlTaskDashboardSubscriptionArray{ JobTaskSqlTaskDashboardSubscriptionArgs{...} } +type JobTaskSqlTaskDashboardSubscriptionArrayInput interface { pulumi.Input - ToLibraryCranPtrOutput() LibraryCranPtrOutput - ToLibraryCranPtrOutputWithContext(context.Context) LibraryCranPtrOutput + ToJobTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskSqlTaskDashboardSubscriptionArrayOutput + ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) JobTaskSqlTaskDashboardSubscriptionArrayOutput } -type libraryCranPtrType LibraryCranArgs - -func LibraryCranPtr(v *LibraryCranArgs) LibraryCranPtrInput { - return (*libraryCranPtrType)(v) -} +type JobTaskSqlTaskDashboardSubscriptionArray []JobTaskSqlTaskDashboardSubscriptionInput -func (*libraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryCran)(nil)).Elem() +func (JobTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i *libraryCranPtrType) ToLibraryCranPtrOutput() LibraryCranPtrOutput { - return i.ToLibraryCranPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskDashboardSubscriptionArray) ToJobTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskSqlTaskDashboardSubscriptionArrayOutput { + return i.ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) } -func (i *libraryCranPtrType) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryCranPtrOutput) +func (i JobTaskSqlTaskDashboardSubscriptionArray) ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskDashboardSubscriptionArrayOutput) } -type LibraryCranOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } -func (LibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryCran)(nil)).Elem() +func (JobTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o LibraryCranOutput) ToLibraryCranOutput() LibraryCranOutput { +func (o JobTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskSqlTaskDashboardSubscriptionOutput() JobTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o LibraryCranOutput) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { +func (o JobTaskSqlTaskDashboardSubscriptionOutput) ToJobTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o LibraryCranOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { - return o.ToLibraryCranPtrOutputWithContext(context.Background()) -} - -func (o LibraryCranOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryCran) *LibraryCran { - return &v - }).(LibraryCranPtrOutput) -} - -func (o LibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v LibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o JobTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) } -func (o LibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v LibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +// The email of an active workspace user. Non-admin users can only set this field to their own email. +func (o JobTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type LibraryCranPtrOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (LibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryCran)(nil)).Elem() +func (JobTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o LibraryCranPtrOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { +func (o JobTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskSqlTaskDashboardSubscriptionArrayOutput() JobTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o LibraryCranPtrOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { +func (o JobTaskSqlTaskDashboardSubscriptionArrayOutput) ToJobTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) JobTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o LibraryCranPtrOutput) Elem() LibraryCranOutput { - return o.ApplyT(func(v *LibraryCran) LibraryCran { - if v != nil { - return *v - } - var ret LibraryCran - return ret - }).(LibraryCranOutput) -} - -func (o LibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) -} - -func (o LibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryCran) *string { - if v == nil { - return nil - } - return v.Repo - }).(pulumi.StringPtrOutput) +func (o JobTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) JobTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskSqlTaskDashboardSubscription { + return vs[0].([]JobTaskSqlTaskDashboardSubscription)[vs[1].(int)] + }).(JobTaskSqlTaskDashboardSubscriptionOutput) } -type LibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type JobTaskSqlTaskFile struct { + // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + // + // Example + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ + // Name: pulumi.String("Example SQL Job"), + // Tasks: databricks.JobTaskArray{ + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_agg_query"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Query: &databricks.JobTaskSqlTaskQueryArgs{ + // QueryId: pulumi.Any(aggQuery.Id), + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_dashboard"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ + // DashboardId: pulumi.Any(dash.Id), + // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ + // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_alert"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Alert: &databricks.JobTaskSqlTaskAlertArgs{ + // AlertId: pulumi.Any(alert.Id), + // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ + // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + Path string `pulumi:"path"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. + Source *string `pulumi:"source"` } -// LibraryMavenInput is an input type that accepts LibraryMavenArgs and LibraryMavenOutput values. -// You can construct a concrete instance of `LibraryMavenInput` via: +// JobTaskSqlTaskFileInput is an input type that accepts JobTaskSqlTaskFileArgs and JobTaskSqlTaskFileOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskFileInput` via: // -// LibraryMavenArgs{...} -type LibraryMavenInput interface { +// JobTaskSqlTaskFileArgs{...} +type JobTaskSqlTaskFileInput interface { pulumi.Input - ToLibraryMavenOutput() LibraryMavenOutput - ToLibraryMavenOutputWithContext(context.Context) LibraryMavenOutput -} - -type LibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` + ToJobTaskSqlTaskFileOutput() JobTaskSqlTaskFileOutput + ToJobTaskSqlTaskFileOutputWithContext(context.Context) JobTaskSqlTaskFileOutput } -func (LibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryMaven)(nil)).Elem() +type JobTaskSqlTaskFileArgs struct { + // If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + // + // Example + // + // ```go + // package main + // + // import ( + // "github.com/pulumi/pulumi-databricks/sdk/go/databricks" + // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + // ) + // + // func main() { + // pulumi.Run(func(ctx *pulumi.Context) error { + // _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ + // Name: pulumi.String("Example SQL Job"), + // Tasks: databricks.JobTaskArray{ + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_agg_query"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Query: &databricks.JobTaskSqlTaskQueryArgs{ + // QueryId: pulumi.Any(aggQuery.Id), + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_dashboard"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ + // DashboardId: pulumi.Any(dash.Id), + // Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ + // &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // &databricks.JobTaskArgs{ + // TaskKey: pulumi.String("run_alert"), + // SqlTask: &databricks.JobTaskSqlTaskArgs{ + // WarehouseId: pulumi.Any(sqlJobWarehouse.Id), + // Alert: &databricks.JobTaskSqlTaskAlertArgs{ + // AlertId: pulumi.Any(alert.Id), + // Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ + // &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ + // UserName: pulumi.String("user@domain.com"), + // }, + // }, + // }, + // }, + // }, + // }, + // }) + // if err != nil { + // return err + // } + // return nil + // }) + // } + // ``` + Path pulumi.StringInput `pulumi:"path"` + // The source of the project. Possible values are `WORKSPACE` and `GIT`. + Source pulumi.StringPtrInput `pulumi:"source"` } -func (i LibraryMavenArgs) ToLibraryMavenOutput() LibraryMavenOutput { - return i.ToLibraryMavenOutputWithContext(context.Background()) +func (JobTaskSqlTaskFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskFile)(nil)).Elem() } -func (i LibraryMavenArgs) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput) +func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFileOutput() JobTaskSqlTaskFileOutput { + return i.ToJobTaskSqlTaskFileOutputWithContext(context.Background()) } -func (i LibraryMavenArgs) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { - return i.ToLibraryMavenPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskSqlTaskFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskFileOutput) } -func (i LibraryMavenArgs) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput).ToLibraryMavenPtrOutputWithContext(ctx) +func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { + return i.ToJobTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -// LibraryMavenPtrInput is an input type that accepts LibraryMavenArgs, LibraryMavenPtr and LibraryMavenPtrOutput values. -// You can construct a concrete instance of `LibraryMavenPtrInput` via: +func (i JobTaskSqlTaskFileArgs) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskFileOutput).ToJobTaskSqlTaskFilePtrOutputWithContext(ctx) +} + +// JobTaskSqlTaskFilePtrInput is an input type that accepts JobTaskSqlTaskFileArgs, JobTaskSqlTaskFilePtr and JobTaskSqlTaskFilePtrOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskFilePtrInput` via: // -// LibraryMavenArgs{...} +// JobTaskSqlTaskFileArgs{...} // // or: // // nil -type LibraryMavenPtrInput interface { +type JobTaskSqlTaskFilePtrInput interface { pulumi.Input - ToLibraryMavenPtrOutput() LibraryMavenPtrOutput - ToLibraryMavenPtrOutputWithContext(context.Context) LibraryMavenPtrOutput + ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput + ToJobTaskSqlTaskFilePtrOutputWithContext(context.Context) JobTaskSqlTaskFilePtrOutput } -type libraryMavenPtrType LibraryMavenArgs +type jobTaskSqlTaskFilePtrType JobTaskSqlTaskFileArgs -func LibraryMavenPtr(v *LibraryMavenArgs) LibraryMavenPtrInput { - return (*libraryMavenPtrType)(v) +func JobTaskSqlTaskFilePtr(v *JobTaskSqlTaskFileArgs) JobTaskSqlTaskFilePtrInput { + return (*jobTaskSqlTaskFilePtrType)(v) } -func (*libraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryMaven)(nil)).Elem() +func (*jobTaskSqlTaskFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskFile)(nil)).Elem() } -func (i *libraryMavenPtrType) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { - return i.ToLibraryMavenPtrOutputWithContext(context.Background()) +func (i *jobTaskSqlTaskFilePtrType) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { + return i.ToJobTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i *libraryMavenPtrType) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenPtrOutput) +func (i *jobTaskSqlTaskFilePtrType) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskFilePtrOutput) } -type LibraryMavenOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskFileOutput struct{ *pulumi.OutputState } -func (LibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryMaven)(nil)).Elem() +func (JobTaskSqlTaskFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskFile)(nil)).Elem() } -func (o LibraryMavenOutput) ToLibraryMavenOutput() LibraryMavenOutput { +func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFileOutput() JobTaskSqlTaskFileOutput { return o } -func (o LibraryMavenOutput) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { +func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFileOutputWithContext(ctx context.Context) JobTaskSqlTaskFileOutput { return o } -func (o LibraryMavenOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { - return o.ToLibraryMavenPtrOutputWithContext(context.Background()) +func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { + return o.ToJobTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o LibraryMavenOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryMaven) *LibraryMaven { +func (o JobTaskSqlTaskFileOutput) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskFile) *JobTaskSqlTaskFile { return &v - }).(LibraryMavenPtrOutput) -} - -func (o LibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v LibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) + }).(JobTaskSqlTaskFilePtrOutput) } -func (o LibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v LibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. +// +// # Example +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ +// Name: pulumi.String("Example SQL Job"), +// Tasks: databricks.JobTaskArray{ +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_agg_query"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Query: &databricks.JobTaskSqlTaskQueryArgs{ +// QueryId: pulumi.Any(aggQuery.Id), +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_dashboard"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ +// DashboardId: pulumi.Any(dash.Id), +// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ +// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_alert"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Alert: &databricks.JobTaskSqlTaskAlertArgs{ +// AlertId: pulumi.Any(alert.Id), +// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ +// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o JobTaskSqlTaskFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) } -func (o LibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v LibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +// The source of the project. Possible values are `WORKSPACE` and `GIT`. +func (o JobTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) } -type LibraryMavenPtrOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } -func (LibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryMaven)(nil)).Elem() +func (JobTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskFile)(nil)).Elem() } -func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { +func (o JobTaskSqlTaskFilePtrOutput) ToJobTaskSqlTaskFilePtrOutput() JobTaskSqlTaskFilePtrOutput { return o } -func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { +func (o JobTaskSqlTaskFilePtrOutput) ToJobTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) JobTaskSqlTaskFilePtrOutput { return o } -func (o LibraryMavenPtrOutput) Elem() LibraryMavenOutput { - return o.ApplyT(func(v *LibraryMaven) LibraryMaven { +func (o JobTaskSqlTaskFilePtrOutput) Elem() JobTaskSqlTaskFileOutput { + return o.ApplyT(func(v *JobTaskSqlTaskFile) JobTaskSqlTaskFile { if v != nil { return *v } - var ret LibraryMaven + var ret JobTaskSqlTaskFile return ret - }).(LibraryMavenOutput) + }).(JobTaskSqlTaskFileOutput) } -func (o LibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryMaven) *string { +// If `source` is `GIT`: Relative path to the file in the repository specified in the `gitSource` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. +// +// # Example +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{ +// Name: pulumi.String("Example SQL Job"), +// Tasks: databricks.JobTaskArray{ +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_agg_query"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Query: &databricks.JobTaskSqlTaskQueryArgs{ +// QueryId: pulumi.Any(aggQuery.Id), +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_dashboard"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{ +// DashboardId: pulumi.Any(dash.Id), +// Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{ +// &databricks.JobTaskSqlTaskDashboardSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// &databricks.JobTaskArgs{ +// TaskKey: pulumi.String("run_alert"), +// SqlTask: &databricks.JobTaskSqlTaskArgs{ +// WarehouseId: pulumi.Any(sqlJobWarehouse.Id), +// Alert: &databricks.JobTaskSqlTaskAlertArgs{ +// AlertId: pulumi.Any(alert.Id), +// Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{ +// &databricks.JobTaskSqlTaskAlertSubscriptionArgs{ +// UserName: pulumi.String("user@domain.com"), +// }, +// }, +// }, +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func (o JobTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskFile) *string { if v == nil { return nil } - return &v.Coordinates + return &v.Path }).(pulumi.StringPtrOutput) } -func (o LibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LibraryMaven) []string { - if v == nil { - return nil - } - return v.Exclusions - }).(pulumi.StringArrayOutput) -} - -func (o LibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryMaven) *string { +// The source of the project. Possible values are `WORKSPACE` and `GIT`. +func (o JobTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskFile) *string { if v == nil { return nil } - return v.Repo + return v.Source }).(pulumi.StringPtrOutput) } -type LibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type JobTaskSqlTaskQuery struct { + QueryId string `pulumi:"queryId"` } -// LibraryPypiInput is an input type that accepts LibraryPypiArgs and LibraryPypiOutput values. -// You can construct a concrete instance of `LibraryPypiInput` via: +// JobTaskSqlTaskQueryInput is an input type that accepts JobTaskSqlTaskQueryArgs and JobTaskSqlTaskQueryOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskQueryInput` via: // -// LibraryPypiArgs{...} -type LibraryPypiInput interface { +// JobTaskSqlTaskQueryArgs{...} +type JobTaskSqlTaskQueryInput interface { pulumi.Input - ToLibraryPypiOutput() LibraryPypiOutput - ToLibraryPypiOutputWithContext(context.Context) LibraryPypiOutput + ToJobTaskSqlTaskQueryOutput() JobTaskSqlTaskQueryOutput + ToJobTaskSqlTaskQueryOutputWithContext(context.Context) JobTaskSqlTaskQueryOutput } -type LibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type JobTaskSqlTaskQueryArgs struct { + QueryId pulumi.StringInput `pulumi:"queryId"` } -func (LibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryPypi)(nil)).Elem() +func (JobTaskSqlTaskQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskQuery)(nil)).Elem() } -func (i LibraryPypiArgs) ToLibraryPypiOutput() LibraryPypiOutput { - return i.ToLibraryPypiOutputWithContext(context.Background()) +func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryOutput() JobTaskSqlTaskQueryOutput { + return i.ToJobTaskSqlTaskQueryOutputWithContext(context.Background()) } -func (i LibraryPypiArgs) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput) +func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskQueryOutput) } -func (i LibraryPypiArgs) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { - return i.ToLibraryPypiPtrOutputWithContext(context.Background()) +func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { + return i.ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i LibraryPypiArgs) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput).ToLibraryPypiPtrOutputWithContext(ctx) +func (i JobTaskSqlTaskQueryArgs) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskQueryOutput).ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx) } -// LibraryPypiPtrInput is an input type that accepts LibraryPypiArgs, LibraryPypiPtr and LibraryPypiPtrOutput values. -// You can construct a concrete instance of `LibraryPypiPtrInput` via: +// JobTaskSqlTaskQueryPtrInput is an input type that accepts JobTaskSqlTaskQueryArgs, JobTaskSqlTaskQueryPtr and JobTaskSqlTaskQueryPtrOutput values. +// You can construct a concrete instance of `JobTaskSqlTaskQueryPtrInput` via: // -// LibraryPypiArgs{...} +// JobTaskSqlTaskQueryArgs{...} // // or: // // nil -type LibraryPypiPtrInput interface { +type JobTaskSqlTaskQueryPtrInput interface { pulumi.Input - ToLibraryPypiPtrOutput() LibraryPypiPtrOutput - ToLibraryPypiPtrOutputWithContext(context.Context) LibraryPypiPtrOutput + ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput + ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Context) JobTaskSqlTaskQueryPtrOutput } -type libraryPypiPtrType LibraryPypiArgs +type jobTaskSqlTaskQueryPtrType JobTaskSqlTaskQueryArgs -func LibraryPypiPtr(v *LibraryPypiArgs) LibraryPypiPtrInput { - return (*libraryPypiPtrType)(v) +func JobTaskSqlTaskQueryPtr(v *JobTaskSqlTaskQueryArgs) JobTaskSqlTaskQueryPtrInput { + return (*jobTaskSqlTaskQueryPtrType)(v) } -func (*libraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryPypi)(nil)).Elem() +func (*jobTaskSqlTaskQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskQuery)(nil)).Elem() } -func (i *libraryPypiPtrType) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { - return i.ToLibraryPypiPtrOutputWithContext(context.Background()) +func (i *jobTaskSqlTaskQueryPtrType) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { + return i.ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i *libraryPypiPtrType) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiPtrOutput) +func (i *jobTaskSqlTaskQueryPtrType) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskSqlTaskQueryPtrOutput) } -type LibraryPypiOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } -func (LibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LibraryPypi)(nil)).Elem() +func (JobTaskSqlTaskQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskSqlTaskQuery)(nil)).Elem() } -func (o LibraryPypiOutput) ToLibraryPypiOutput() LibraryPypiOutput { +func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryOutput() JobTaskSqlTaskQueryOutput { return o } -func (o LibraryPypiOutput) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { +func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryOutput { return o } -func (o LibraryPypiOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { - return o.ToLibraryPypiPtrOutputWithContext(context.Background()) +func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { + return o.ToJobTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o LibraryPypiOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryPypi) *LibraryPypi { +func (o JobTaskSqlTaskQueryOutput) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskSqlTaskQuery) *JobTaskSqlTaskQuery { return &v - }).(LibraryPypiPtrOutput) -} - -func (o LibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v LibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(JobTaskSqlTaskQueryPtrOutput) } -func (o LibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v LibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o JobTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) } -type LibraryPypiPtrOutput struct{ *pulumi.OutputState } +type JobTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } -func (LibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LibraryPypi)(nil)).Elem() +func (JobTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskSqlTaskQuery)(nil)).Elem() } -func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { +func (o JobTaskSqlTaskQueryPtrOutput) ToJobTaskSqlTaskQueryPtrOutput() JobTaskSqlTaskQueryPtrOutput { return o } -func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { +func (o JobTaskSqlTaskQueryPtrOutput) ToJobTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) JobTaskSqlTaskQueryPtrOutput { return o } -func (o LibraryPypiPtrOutput) Elem() LibraryPypiOutput { - return o.ApplyT(func(v *LibraryPypi) LibraryPypi { +func (o JobTaskSqlTaskQueryPtrOutput) Elem() JobTaskSqlTaskQueryOutput { + return o.ApplyT(func(v *JobTaskSqlTaskQuery) JobTaskSqlTaskQuery { if v != nil { return *v } - var ret LibraryPypi + var ret JobTaskSqlTaskQuery return ret - }).(LibraryPypiOutput) -} - -func (o LibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(JobTaskSqlTaskQueryOutput) } -func (o LibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LibraryPypi) *string { +func (o JobTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTaskSqlTaskQuery) *string { if v == nil { return nil } - return v.Repo + return &v.QueryId }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessAwsIamRole struct { - ExternalId *string `pulumi:"externalId"` - RoleArn string `pulumi:"roleArn"` - UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +type JobTaskWebhookNotifications struct { + // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + // + // Example + OnDurationWarningThresholdExceededs []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + OnFailures []JobTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` + // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + OnStarts []JobTaskWebhookNotificationsOnStart `pulumi:"onStarts"` + OnStreamingBacklogExceededs []JobTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` + // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + OnSuccesses []JobTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -// MetastoreDataAccessAwsIamRoleInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs and MetastoreDataAccessAwsIamRoleOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAwsIamRoleInput` via: +// JobTaskWebhookNotificationsInput is an input type that accepts JobTaskWebhookNotificationsArgs and JobTaskWebhookNotificationsOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsInput` via: // -// MetastoreDataAccessAwsIamRoleArgs{...} -type MetastoreDataAccessAwsIamRoleInput interface { +// JobTaskWebhookNotificationsArgs{...} +type JobTaskWebhookNotificationsInput interface { pulumi.Input - ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput - ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Context) MetastoreDataAccessAwsIamRoleOutput + ToJobTaskWebhookNotificationsOutput() JobTaskWebhookNotificationsOutput + ToJobTaskWebhookNotificationsOutputWithContext(context.Context) JobTaskWebhookNotificationsOutput } -type MetastoreDataAccessAwsIamRoleArgs struct { - ExternalId pulumi.StringPtrInput `pulumi:"externalId"` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` +type JobTaskWebhookNotificationsArgs struct { + // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + // + // Example + OnDurationWarningThresholdExceededs JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + OnFailures JobTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + OnStarts JobTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` + // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + OnSuccesses JobTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (MetastoreDataAccessAwsIamRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (JobTaskWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotifications)(nil)).Elem() } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { - return i.ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Background()) +func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsOutput() JobTaskWebhookNotificationsOutput { + return i.ToJobTaskWebhookNotificationsOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput) +func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOutput) } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { - return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) +func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { + return i.ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput).ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx) +func (i JobTaskWebhookNotificationsArgs) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOutput).ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx) } -// MetastoreDataAccessAwsIamRolePtrInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs, MetastoreDataAccessAwsIamRolePtr and MetastoreDataAccessAwsIamRolePtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAwsIamRolePtrInput` via: +// JobTaskWebhookNotificationsPtrInput is an input type that accepts JobTaskWebhookNotificationsArgs, JobTaskWebhookNotificationsPtr and JobTaskWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsPtrInput` via: // -// MetastoreDataAccessAwsIamRoleArgs{...} +// JobTaskWebhookNotificationsArgs{...} // // or: // // nil -type MetastoreDataAccessAwsIamRolePtrInput interface { +type JobTaskWebhookNotificationsPtrInput interface { pulumi.Input - ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput - ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Context) MetastoreDataAccessAwsIamRolePtrOutput + ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput + ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Context) JobTaskWebhookNotificationsPtrOutput } -type metastoreDataAccessAwsIamRolePtrType MetastoreDataAccessAwsIamRoleArgs +type jobTaskWebhookNotificationsPtrType JobTaskWebhookNotificationsArgs -func MetastoreDataAccessAwsIamRolePtr(v *MetastoreDataAccessAwsIamRoleArgs) MetastoreDataAccessAwsIamRolePtrInput { - return (*metastoreDataAccessAwsIamRolePtrType)(v) +func JobTaskWebhookNotificationsPtr(v *JobTaskWebhookNotificationsArgs) JobTaskWebhookNotificationsPtrInput { + return (*jobTaskWebhookNotificationsPtrType)(v) } -func (*metastoreDataAccessAwsIamRolePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (*jobTaskWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskWebhookNotifications)(nil)).Elem() } -func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { - return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) +func (i *jobTaskWebhookNotificationsPtrType) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { + return i.ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRolePtrOutput) +func (i *jobTaskWebhookNotificationsPtrType) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsPtrOutput) } -type MetastoreDataAccessAwsIamRoleOutput struct{ *pulumi.OutputState } +type JobTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAwsIamRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() +func (JobTaskWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotifications)(nil)).Elem() } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { +func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsOutput() JobTaskWebhookNotificationsOutput { return o } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { +func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOutput { return o } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { - return o.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) +func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { + return o.ToJobTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAwsIamRole) *MetastoreDataAccessAwsIamRole { +func (o JobTaskWebhookNotificationsOutput) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTaskWebhookNotifications) *JobTaskWebhookNotifications { return &v - }).(MetastoreDataAccessAwsIamRolePtrOutput) + }).(JobTaskWebhookNotificationsPtrOutput) } -func (o MetastoreDataAccessAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) +// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` +// +// Example +func (o JobTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o MetastoreDataAccessAwsIamRoleOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) +// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. +func (o JobTaskWebhookNotificationsOutput) OnFailures() JobTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnFailure { return v.OnFailures }).(JobTaskWebhookNotificationsOnFailureArrayOutput) } -func (o MetastoreDataAccessAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) +// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. +func (o JobTaskWebhookNotificationsOutput) OnStarts() JobTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStart { return v.OnStarts }).(JobTaskWebhookNotificationsOnStartArrayOutput) } -type MetastoreDataAccessAwsIamRolePtrOutput struct{ *pulumi.OutputState } +func (o JobTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStreamingBacklogExceeded { + return v.OnStreamingBacklogExceededs + }).(JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +} -func (MetastoreDataAccessAwsIamRolePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() +// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. +func (o JobTaskWebhookNotificationsOutput) OnSuccesses() JobTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnSuccess { return v.OnSuccesses }).(JobTaskWebhookNotificationsOnSuccessArrayOutput) } -func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { +type JobTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (JobTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTaskWebhookNotifications)(nil)).Elem() +} + +func (o JobTaskWebhookNotificationsPtrOutput) ToJobTaskWebhookNotificationsPtrOutput() JobTaskWebhookNotificationsPtrOutput { return o } -func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { +func (o JobTaskWebhookNotificationsPtrOutput) ToJobTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsPtrOutput { return o } -func (o MetastoreDataAccessAwsIamRolePtrOutput) Elem() MetastoreDataAccessAwsIamRoleOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) MetastoreDataAccessAwsIamRole { +func (o JobTaskWebhookNotificationsPtrOutput) Elem() JobTaskWebhookNotificationsOutput { + return o.ApplyT(func(v *JobTaskWebhookNotifications) JobTaskWebhookNotifications { if v != nil { return *v } - var ret MetastoreDataAccessAwsIamRole + var ret JobTaskWebhookNotifications return ret - }).(MetastoreDataAccessAwsIamRoleOutput) + }).(JobTaskWebhookNotificationsOutput) } -func (o MetastoreDataAccessAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { +// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` +// +// Example +func (o JobTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return v.ExternalId - }).(pulumi.StringPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o MetastoreDataAccessAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { +// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. +func (o JobTaskWebhookNotificationsPtrOutput) OnFailures() JobTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnFailure { if v == nil { return nil } - return &v.RoleArn - }).(pulumi.StringPtrOutput) + return v.OnFailures + }).(JobTaskWebhookNotificationsOnFailureArrayOutput) } -func (o MetastoreDataAccessAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { +// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. +func (o JobTaskWebhookNotificationsPtrOutput) OnStarts() JobTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStart { if v == nil { return nil } - return v.UnityCatalogIamArn - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(JobTaskWebhookNotificationsOnStartArrayOutput) } -type MetastoreDataAccessAzureManagedIdentity struct { - AccessConnectorId string `pulumi:"accessConnectorId"` - CredentialId *string `pulumi:"credentialId"` - ManagedIdentityId *string `pulumi:"managedIdentityId"` +func (o JobTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnStreamingBacklogExceeded { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -// MetastoreDataAccessAzureManagedIdentityInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs and MetastoreDataAccessAzureManagedIdentityOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityInput` via: +// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. +func (o JobTaskWebhookNotificationsPtrOutput) OnSuccesses() JobTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *JobTaskWebhookNotifications) []JobTaskWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(JobTaskWebhookNotificationsOnSuccessArrayOutput) +} + +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // ID of the job + Id string `pulumi:"id"` +} + +// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: // -// MetastoreDataAccessAzureManagedIdentityArgs{...} -type MetastoreDataAccessAzureManagedIdentityInput interface { +// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { pulumi.Input - ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput - ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityOutput + ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput } -type MetastoreDataAccessAzureManagedIdentityArgs struct { - AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (MetastoreDataAccessAzureManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { - return i.ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Background()) +func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput) +func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { - return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) +// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// +// JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { + pulumi.Input + + ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput).ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx) +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []JobTaskWebhookNotificationsOnDurationWarningThresholdExceededInput + +func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -// MetastoreDataAccessAzureManagedIdentityPtrInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs, MetastoreDataAccessAzureManagedIdentityPtr and MetastoreDataAccessAzureManagedIdentityPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityPtrInput` via: -// -// MetastoreDataAccessAzureManagedIdentityArgs{...} -// -// or: -// -// nil -type MetastoreDataAccessAzureManagedIdentityPtrInput interface { - pulumi.Input +func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +} - ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput - ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput +func (i JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type metastoreDataAccessAzureManagedIdentityPtrType MetastoreDataAccessAzureManagedIdentityArgs +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func MetastoreDataAccessAzureManagedIdentityPtr(v *MetastoreDataAccessAzureManagedIdentityArgs) MetastoreDataAccessAzureManagedIdentityPtrInput { - return (*metastoreDataAccessAzureManagedIdentityPtrType)(v) +func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (*metastoreDataAccessAzureManagedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o } -func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { - return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o } -func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityPtrOutput) +// ID of the job +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id }).(pulumi.StringOutput) } -type MetastoreDataAccessAzureManagedIdentityOutput struct{ *pulumi.OutputState } +type JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAzureManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { - return o.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(JobTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureManagedIdentity) *MetastoreDataAccessAzureManagedIdentity { - return &v - }).(MetastoreDataAccessAzureManagedIdentityPtrOutput) +type JobTaskWebhookNotificationsOnFailure struct { + // ID of the job + Id string `pulumi:"id"` } -func (o MetastoreDataAccessAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) +// JobTaskWebhookNotificationsOnFailureInput is an input type that accepts JobTaskWebhookNotificationsOnFailureArgs and JobTaskWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnFailureInput` via: +// +// JobTaskWebhookNotificationsOnFailureArgs{...} +type JobTaskWebhookNotificationsOnFailureInput interface { + pulumi.Input + + ToJobTaskWebhookNotificationsOnFailureOutput() JobTaskWebhookNotificationsOnFailureOutput + ToJobTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) JobTaskWebhookNotificationsOnFailureOutput } -func (o MetastoreDataAccessAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +type JobTaskWebhookNotificationsOnFailureArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (o MetastoreDataAccessAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) +func (JobTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnFailure)(nil)).Elem() } -type MetastoreDataAccessAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } +func (i JobTaskWebhookNotificationsOnFailureArgs) ToJobTaskWebhookNotificationsOnFailureOutput() JobTaskWebhookNotificationsOnFailureOutput { + return i.ToJobTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +} -func (MetastoreDataAccessAzureManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() +func (i JobTaskWebhookNotificationsOnFailureArgs) ToJobTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnFailureOutput) } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { +// JobTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts JobTaskWebhookNotificationsOnFailureArray and JobTaskWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnFailureArrayInput` via: +// +// JobTaskWebhookNotificationsOnFailureArray{ JobTaskWebhookNotificationsOnFailureArgs{...} } +type JobTaskWebhookNotificationsOnFailureArrayInput interface { + pulumi.Input + + ToJobTaskWebhookNotificationsOnFailureArrayOutput() JobTaskWebhookNotificationsOnFailureArrayOutput + ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnFailureArrayOutput +} + +type JobTaskWebhookNotificationsOnFailureArray []JobTaskWebhookNotificationsOnFailureInput + +func (JobTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnFailure)(nil)).Elem() +} + +func (i JobTaskWebhookNotificationsOnFailureArray) ToJobTaskWebhookNotificationsOnFailureArrayOutput() JobTaskWebhookNotificationsOnFailureArrayOutput { + return i.ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +} + +func (i JobTaskWebhookNotificationsOnFailureArray) ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnFailureArrayOutput) +} + +type JobTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } + +func (JobTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnFailure)(nil)).Elem() +} + +func (o JobTaskWebhookNotificationsOnFailureOutput) ToJobTaskWebhookNotificationsOnFailureOutput() JobTaskWebhookNotificationsOnFailureOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { +func (o JobTaskWebhookNotificationsOnFailureOutput) ToJobTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureOutput { return o } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) Elem() MetastoreDataAccessAzureManagedIdentityOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) MetastoreDataAccessAzureManagedIdentity { - if v != nil { - return *v - } - var ret MetastoreDataAccessAzureManagedIdentity - return ret - }).(MetastoreDataAccessAzureManagedIdentityOutput) +// ID of the job +func (o JobTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { - if v == nil { - return nil - } - return &v.AccessConnectorId - }).(pulumi.StringPtrOutput) +type JobTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskWebhookNotificationsOnFailureArrayOutput() JobTaskWebhookNotificationsOnFailureArrayOutput { + return o } -func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { - if v == nil { - return nil - } - return v.ManagedIdentityId - }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnFailureArrayOutput) ToJobTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnFailureArrayOutput { + return o } -type MetastoreDataAccessAzureServicePrincipal struct { - ApplicationId string `pulumi:"applicationId"` - ClientSecret string `pulumi:"clientSecret"` - DirectoryId string `pulumi:"directoryId"` +func (o JobTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnFailure { + return vs[0].([]JobTaskWebhookNotificationsOnFailure)[vs[1].(int)] + }).(JobTaskWebhookNotificationsOnFailureOutput) } -// MetastoreDataAccessAzureServicePrincipalInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs and MetastoreDataAccessAzureServicePrincipalOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalInput` via: +type JobTaskWebhookNotificationsOnStart struct { + // ID of the job + Id string `pulumi:"id"` +} + +// JobTaskWebhookNotificationsOnStartInput is an input type that accepts JobTaskWebhookNotificationsOnStartArgs and JobTaskWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStartInput` via: // -// MetastoreDataAccessAzureServicePrincipalArgs{...} -type MetastoreDataAccessAzureServicePrincipalInput interface { +// JobTaskWebhookNotificationsOnStartArgs{...} +type JobTaskWebhookNotificationsOnStartInput interface { pulumi.Input - ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput - ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalOutput + ToJobTaskWebhookNotificationsOnStartOutput() JobTaskWebhookNotificationsOnStartOutput + ToJobTaskWebhookNotificationsOnStartOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStartOutput } -type MetastoreDataAccessAzureServicePrincipalArgs struct { - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - ClientSecret pulumi.StringInput `pulumi:"clientSecret"` - DirectoryId pulumi.StringInput `pulumi:"directoryId"` +type JobTaskWebhookNotificationsOnStartArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (MetastoreDataAccessAzureServicePrincipalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (JobTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { - return i.ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Background()) +func (i JobTaskWebhookNotificationsOnStartArgs) ToJobTaskWebhookNotificationsOnStartOutput() JobTaskWebhookNotificationsOnStartOutput { + return i.ToJobTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput) +func (i JobTaskWebhookNotificationsOnStartArgs) ToJobTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStartOutput) } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { - return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) +// JobTaskWebhookNotificationsOnStartArrayInput is an input type that accepts JobTaskWebhookNotificationsOnStartArray and JobTaskWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStartArrayInput` via: +// +// JobTaskWebhookNotificationsOnStartArray{ JobTaskWebhookNotificationsOnStartArgs{...} } +type JobTaskWebhookNotificationsOnStartArrayInput interface { + pulumi.Input + + ToJobTaskWebhookNotificationsOnStartArrayOutput() JobTaskWebhookNotificationsOnStartArrayOutput + ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStartArrayOutput } -func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput).ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx) +type JobTaskWebhookNotificationsOnStartArray []JobTaskWebhookNotificationsOnStartInput + +func (JobTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStart)(nil)).Elem() } -// MetastoreDataAccessAzureServicePrincipalPtrInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs, MetastoreDataAccessAzureServicePrincipalPtr and MetastoreDataAccessAzureServicePrincipalPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalPtrInput` via: -// -// MetastoreDataAccessAzureServicePrincipalArgs{...} -// -// or: -// -// nil -type MetastoreDataAccessAzureServicePrincipalPtrInput interface { - pulumi.Input +func (i JobTaskWebhookNotificationsOnStartArray) ToJobTaskWebhookNotificationsOnStartArrayOutput() JobTaskWebhookNotificationsOnStartArrayOutput { + return i.ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +} - ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput - ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput +func (i JobTaskWebhookNotificationsOnStartArray) ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStartArrayOutput) } -type metastoreDataAccessAzureServicePrincipalPtrType MetastoreDataAccessAzureServicePrincipalArgs +type JobTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func MetastoreDataAccessAzureServicePrincipalPtr(v *MetastoreDataAccessAzureServicePrincipalArgs) MetastoreDataAccessAzureServicePrincipalPtrInput { - return (*metastoreDataAccessAzureServicePrincipalPtrType)(v) +func (JobTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (*metastoreDataAccessAzureServicePrincipalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (o JobTaskWebhookNotificationsOnStartOutput) ToJobTaskWebhookNotificationsOnStartOutput() JobTaskWebhookNotificationsOnStartOutput { + return o } -func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { - return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (o JobTaskWebhookNotificationsOnStartOutput) ToJobTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartOutput { + return o +} + +// ID of the job +func (o JobTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +} + +type JobTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } + +func (JobTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStart)(nil)).Elem() +} + +func (o JobTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskWebhookNotificationsOnStartArrayOutput() JobTaskWebhookNotificationsOnStartArrayOutput { + return o +} + +func (o JobTaskWebhookNotificationsOnStartArrayOutput) ToJobTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStartArrayOutput { + return o +} + +func (o JobTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnStart { + return vs[0].([]JobTaskWebhookNotificationsOnStart)[vs[1].(int)] + }).(JobTaskWebhookNotificationsOnStartOutput) +} + +type JobTaskWebhookNotificationsOnStreamingBacklogExceeded struct { + // ID of the job + Id string `pulumi:"id"` +} + +// JobTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs and JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: +// +// JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} +type JobTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { + pulumi.Input + + ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput } -func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalPtrOutput) +type JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -type MetastoreDataAccessAzureServicePrincipalOutput struct{ *pulumi.OutputState } - -func (MetastoreDataAccessAzureServicePrincipalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { - return o +func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return i.ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { - return o +func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { - return o.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) -} +// JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts JobTaskWebhookNotificationsOnStreamingBacklogExceededArray and JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +// +// JobTaskWebhookNotificationsOnStreamingBacklogExceededArray{ JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } +type JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { + pulumi.Input -func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureServicePrincipal) *MetastoreDataAccessAzureServicePrincipal { - return &v - }).(MetastoreDataAccessAzureServicePrincipalPtrOutput) + ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) +type JobTaskWebhookNotificationsOnStreamingBacklogExceededArray []JobTaskWebhookNotificationsOnStreamingBacklogExceededInput + +func (JobTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o MetastoreDataAccessAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) +func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return i.ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) } -func (o MetastoreDataAccessAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) +func (i JobTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -type MetastoreDataAccessAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } +type JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessAzureServicePrincipalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() +func (JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { +func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { return o } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { +func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { return o } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) Elem() MetastoreDataAccessAzureServicePrincipalOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) MetastoreDataAccessAzureServicePrincipal { - if v != nil { - return *v - } - var ret MetastoreDataAccessAzureServicePrincipal - return ret - }).(MetastoreDataAccessAzureServicePrincipalOutput) +// ID of the job +func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ApplicationId - }).(pulumi.StringPtrOutput) -} +type JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ClientSecret - }).(pulumi.StringPtrOutput) +func (JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.DirectoryId - }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o } -type MetastoreDataAccessCloudflareApiToken struct { - AccessKeyId string `pulumi:"accessKeyId"` - AccountId string `pulumi:"accountId"` - SecretAccessKey string `pulumi:"secretAccessKey"` +func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o } -// MetastoreDataAccessCloudflareApiTokenInput is an input type that accepts MetastoreDataAccessCloudflareApiTokenArgs and MetastoreDataAccessCloudflareApiTokenOutput values. -// You can construct a concrete instance of `MetastoreDataAccessCloudflareApiTokenInput` via: -// -// MetastoreDataAccessCloudflareApiTokenArgs{...} -type MetastoreDataAccessCloudflareApiTokenInput interface { - pulumi.Input - - ToMetastoreDataAccessCloudflareApiTokenOutput() MetastoreDataAccessCloudflareApiTokenOutput - ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(context.Context) MetastoreDataAccessCloudflareApiTokenOutput +func (o JobTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnStreamingBacklogExceeded { + return vs[0].([]JobTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] + }).(JobTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -type MetastoreDataAccessCloudflareApiTokenArgs struct { - AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` - AccountId pulumi.StringInput `pulumi:"accountId"` - SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` +type JobTaskWebhookNotificationsOnSuccess struct { + // ID of the job + Id string `pulumi:"id"` } -func (MetastoreDataAccessCloudflareApiTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +// JobTaskWebhookNotificationsOnSuccessInput is an input type that accepts JobTaskWebhookNotificationsOnSuccessArgs and JobTaskWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnSuccessInput` via: +// +// JobTaskWebhookNotificationsOnSuccessArgs{...} +type JobTaskWebhookNotificationsOnSuccessInput interface { + pulumi.Input + + ToJobTaskWebhookNotificationsOnSuccessOutput() JobTaskWebhookNotificationsOnSuccessOutput + ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) JobTaskWebhookNotificationsOnSuccessOutput } -func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenOutput() MetastoreDataAccessCloudflareApiTokenOutput { - return i.ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(context.Background()) +type JobTaskWebhookNotificationsOnSuccessArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessCloudflareApiTokenOutput) +func (JobTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { - return i.ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (i JobTaskWebhookNotificationsOnSuccessArgs) ToJobTaskWebhookNotificationsOnSuccessOutput() JobTaskWebhookNotificationsOnSuccessOutput { + return i.ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessCloudflareApiTokenOutput).ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx) +func (i JobTaskWebhookNotificationsOnSuccessArgs) ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnSuccessOutput) } -// MetastoreDataAccessCloudflareApiTokenPtrInput is an input type that accepts MetastoreDataAccessCloudflareApiTokenArgs, MetastoreDataAccessCloudflareApiTokenPtr and MetastoreDataAccessCloudflareApiTokenPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessCloudflareApiTokenPtrInput` via: -// -// MetastoreDataAccessCloudflareApiTokenArgs{...} -// -// or: +// JobTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts JobTaskWebhookNotificationsOnSuccessArray and JobTaskWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `JobTaskWebhookNotificationsOnSuccessArrayInput` via: // -// nil -type MetastoreDataAccessCloudflareApiTokenPtrInput interface { +// JobTaskWebhookNotificationsOnSuccessArray{ JobTaskWebhookNotificationsOnSuccessArgs{...} } +type JobTaskWebhookNotificationsOnSuccessArrayInput interface { pulumi.Input - ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput - ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput + ToJobTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskWebhookNotificationsOnSuccessArrayOutput + ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) JobTaskWebhookNotificationsOnSuccessArrayOutput } -type metastoreDataAccessCloudflareApiTokenPtrType MetastoreDataAccessCloudflareApiTokenArgs - -func MetastoreDataAccessCloudflareApiTokenPtr(v *MetastoreDataAccessCloudflareApiTokenArgs) MetastoreDataAccessCloudflareApiTokenPtrInput { - return (*metastoreDataAccessCloudflareApiTokenPtrType)(v) -} +type JobTaskWebhookNotificationsOnSuccessArray []JobTaskWebhookNotificationsOnSuccessInput -func (*metastoreDataAccessCloudflareApiTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +func (JobTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (i *metastoreDataAccessCloudflareApiTokenPtrType) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { - return i.ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (i JobTaskWebhookNotificationsOnSuccessArray) ToJobTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskWebhookNotificationsOnSuccessArrayOutput { + return i.ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -func (i *metastoreDataAccessCloudflareApiTokenPtrType) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessCloudflareApiTokenPtrOutput) +func (i JobTaskWebhookNotificationsOnSuccessArray) ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTaskWebhookNotificationsOnSuccessArrayOutput) } -type MetastoreDataAccessCloudflareApiTokenOutput struct{ *pulumi.OutputState } +type JobTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessCloudflareApiTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +func (JobTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenOutput() MetastoreDataAccessCloudflareApiTokenOutput { +func (o JobTaskWebhookNotificationsOnSuccessOutput) ToJobTaskWebhookNotificationsOnSuccessOutput() JobTaskWebhookNotificationsOnSuccessOutput { return o } -func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenOutput { +func (o JobTaskWebhookNotificationsOnSuccessOutput) ToJobTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessOutput { return o } -func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { - return o.ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Background()) -} - -func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessCloudflareApiToken) *MetastoreDataAccessCloudflareApiToken { - return &v - }).(MetastoreDataAccessCloudflareApiTokenPtrOutput) -} - -func (o MetastoreDataAccessCloudflareApiTokenOutput) AccessKeyId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessCloudflareApiToken) string { return v.AccessKeyId }).(pulumi.StringOutput) -} - -func (o MetastoreDataAccessCloudflareApiTokenOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessCloudflareApiToken) string { return v.AccountId }).(pulumi.StringOutput) -} - -func (o MetastoreDataAccessCloudflareApiTokenOutput) SecretAccessKey() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessCloudflareApiToken) string { return v.SecretAccessKey }).(pulumi.StringOutput) +// ID of the job +func (o JobTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -type MetastoreDataAccessCloudflareApiTokenPtrOutput struct{ *pulumi.OutputState } +type JobTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessCloudflareApiTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +func (JobTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { +func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskWebhookNotificationsOnSuccessArrayOutput() JobTaskWebhookNotificationsOnSuccessArrayOutput { return o } -func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { +func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) ToJobTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobTaskWebhookNotificationsOnSuccessArrayOutput { return o } -func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) Elem() MetastoreDataAccessCloudflareApiTokenOutput { - return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) MetastoreDataAccessCloudflareApiToken { - if v != nil { - return *v - } - var ret MetastoreDataAccessCloudflareApiToken - return ret - }).(MetastoreDataAccessCloudflareApiTokenOutput) -} - -func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) AccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) *string { - if v == nil { - return nil - } - return &v.AccessKeyId - }).(pulumi.StringPtrOutput) -} - -func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) *string { - if v == nil { - return nil - } - return &v.AccountId - }).(pulumi.StringPtrOutput) -} - -func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) SecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) *string { - if v == nil { - return nil - } - return &v.SecretAccessKey - }).(pulumi.StringPtrOutput) +func (o JobTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) JobTaskWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobTaskWebhookNotificationsOnSuccess { + return vs[0].([]JobTaskWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(JobTaskWebhookNotificationsOnSuccessOutput) } -type MetastoreDataAccessDatabricksGcpServiceAccount struct { - CredentialId *string `pulumi:"credentialId"` - Email *string `pulumi:"email"` +type JobTrigger struct { + // configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: + FileArrival *JobTriggerFileArrival `pulumi:"fileArrival"` + // Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. + PauseStatus *string `pulumi:"pauseStatus"` + // configuration block to define a trigger for Periodic Triggers consisting of the following attributes: + Periodic *JobTriggerPeriodic `pulumi:"periodic"` + Table *JobTriggerTable `pulumi:"table"` + TableUpdate *JobTriggerTableUpdate `pulumi:"tableUpdate"` } -// MetastoreDataAccessDatabricksGcpServiceAccountInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs and MetastoreDataAccessDatabricksGcpServiceAccountOutput values. -// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountInput` via: +// JobTriggerInput is an input type that accepts JobTriggerArgs and JobTriggerOutput values. +// You can construct a concrete instance of `JobTriggerInput` via: // -// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} -type MetastoreDataAccessDatabricksGcpServiceAccountInput interface { +// JobTriggerArgs{...} +type JobTriggerInput interface { pulumi.Input - ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput - ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput + ToJobTriggerOutput() JobTriggerOutput + ToJobTriggerOutputWithContext(context.Context) JobTriggerOutput } -type MetastoreDataAccessDatabricksGcpServiceAccountArgs struct { - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - Email pulumi.StringPtrInput `pulumi:"email"` +type JobTriggerArgs struct { + // configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: + FileArrival JobTriggerFileArrivalPtrInput `pulumi:"fileArrival"` + // Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + // configuration block to define a trigger for Periodic Triggers consisting of the following attributes: + Periodic JobTriggerPeriodicPtrInput `pulumi:"periodic"` + Table JobTriggerTablePtrInput `pulumi:"table"` + TableUpdate JobTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` } -func (MetastoreDataAccessDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (JobTriggerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTrigger)(nil)).Elem() } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { - return i.ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Background()) +func (i JobTriggerArgs) ToJobTriggerOutput() JobTriggerOutput { + return i.ToJobTriggerOutputWithContext(context.Background()) } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) +func (i JobTriggerArgs) ToJobTriggerOutputWithContext(ctx context.Context) JobTriggerOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerOutput) } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i JobTriggerArgs) ToJobTriggerPtrOutput() JobTriggerPtrOutput { + return i.ToJobTriggerPtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput).ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +func (i JobTriggerArgs) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerOutput).ToJobTriggerPtrOutputWithContext(ctx) } -// MetastoreDataAccessDatabricksGcpServiceAccountPtrInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs, MetastoreDataAccessDatabricksGcpServiceAccountPtr and MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountPtrInput` via: +// JobTriggerPtrInput is an input type that accepts JobTriggerArgs, JobTriggerPtr and JobTriggerPtrOutput values. +// You can construct a concrete instance of `JobTriggerPtrInput` via: // -// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} +// JobTriggerArgs{...} // // or: // // nil -type MetastoreDataAccessDatabricksGcpServiceAccountPtrInput interface { +type JobTriggerPtrInput interface { pulumi.Input - ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput - ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput + ToJobTriggerPtrOutput() JobTriggerPtrOutput + ToJobTriggerPtrOutputWithContext(context.Context) JobTriggerPtrOutput } -type metastoreDataAccessDatabricksGcpServiceAccountPtrType MetastoreDataAccessDatabricksGcpServiceAccountArgs +type jobTriggerPtrType JobTriggerArgs -func MetastoreDataAccessDatabricksGcpServiceAccountPtr(v *MetastoreDataAccessDatabricksGcpServiceAccountArgs) MetastoreDataAccessDatabricksGcpServiceAccountPtrInput { - return (*metastoreDataAccessDatabricksGcpServiceAccountPtrType)(v) +func JobTriggerPtr(v *JobTriggerArgs) JobTriggerPtrInput { + return (*jobTriggerPtrType)(v) } -func (*metastoreDataAccessDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (*jobTriggerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTrigger)(nil)).Elem() } -func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i *jobTriggerPtrType) ToJobTriggerPtrOutput() JobTriggerPtrOutput { + return i.ToJobTriggerPtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) +func (i *jobTriggerPtrType) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPtrOutput) } -type MetastoreDataAccessDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } +type JobTriggerOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (JobTriggerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTrigger)(nil)).Elem() } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { +func (o JobTriggerOutput) ToJobTriggerOutput() JobTriggerOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { +func (o JobTriggerOutput) ToJobTriggerOutputWithContext(ctx context.Context) JobTriggerOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return o.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (o JobTriggerOutput) ToJobTriggerPtrOutput() JobTriggerPtrOutput { + return o.ToJobTriggerPtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessDatabricksGcpServiceAccount) *MetastoreDataAccessDatabricksGcpServiceAccount { +func (o JobTriggerOutput) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTrigger) *JobTrigger { return &v - }).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) + }).(JobTriggerPtrOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +// configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: +func (o JobTriggerOutput) FileArrival() JobTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v JobTrigger) *JobTriggerFileArrival { return v.FileArrival }).(JobTriggerFileArrivalPtrOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) +// Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. +func (o JobTriggerOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } +// configuration block to define a trigger for Periodic Triggers consisting of the following attributes: +func (o JobTriggerOutput) Periodic() JobTriggerPeriodicPtrOutput { + return o.ApplyT(func(v JobTrigger) *JobTriggerPeriodic { return v.Periodic }).(JobTriggerPeriodicPtrOutput) +} -func (MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() +func (o JobTriggerOutput) Table() JobTriggerTablePtrOutput { + return o.ApplyT(func(v JobTrigger) *JobTriggerTable { return v.Table }).(JobTriggerTablePtrOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { +func (o JobTriggerOutput) TableUpdate() JobTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v JobTrigger) *JobTriggerTableUpdate { return v.TableUpdate }).(JobTriggerTableUpdatePtrOutput) +} + +type JobTriggerPtrOutput struct{ *pulumi.OutputState } + +func (JobTriggerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTrigger)(nil)).Elem() +} + +func (o JobTriggerPtrOutput) ToJobTriggerPtrOutput() JobTriggerPtrOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { +func (o JobTriggerPtrOutput) ToJobTriggerPtrOutputWithContext(ctx context.Context) JobTriggerPtrOutput { return o } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Elem() MetastoreDataAccessDatabricksGcpServiceAccountOutput { - return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) MetastoreDataAccessDatabricksGcpServiceAccount { +func (o JobTriggerPtrOutput) Elem() JobTriggerOutput { + return o.ApplyT(func(v *JobTrigger) JobTrigger { if v != nil { return *v } - var ret MetastoreDataAccessDatabricksGcpServiceAccount + var ret JobTrigger return ret - }).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) + }).(JobTriggerOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *string { +// configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: +func (o JobTriggerPtrOutput) FileArrival() JobTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v *JobTrigger) *JobTriggerFileArrival { if v == nil { return nil } - return v.CredentialId - }).(pulumi.StringPtrOutput) + return v.FileArrival + }).(JobTriggerFileArrivalPtrOutput) } -func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *string { +// Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pauseStatus` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pauseStatus`. +func (o JobTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTrigger) *string { if v == nil { return nil } - return v.Email + return v.PauseStatus }).(pulumi.StringPtrOutput) } -type MetastoreDataAccessGcpServiceAccountKey struct { - Email string `pulumi:"email"` - PrivateKey string `pulumi:"privateKey"` - PrivateKeyId string `pulumi:"privateKeyId"` +// configuration block to define a trigger for Periodic Triggers consisting of the following attributes: +func (o JobTriggerPtrOutput) Periodic() JobTriggerPeriodicPtrOutput { + return o.ApplyT(func(v *JobTrigger) *JobTriggerPeriodic { + if v == nil { + return nil + } + return v.Periodic + }).(JobTriggerPeriodicPtrOutput) } -// MetastoreDataAccessGcpServiceAccountKeyInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs and MetastoreDataAccessGcpServiceAccountKeyOutput values. -// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyInput` via: +func (o JobTriggerPtrOutput) Table() JobTriggerTablePtrOutput { + return o.ApplyT(func(v *JobTrigger) *JobTriggerTable { + if v == nil { + return nil + } + return v.Table + }).(JobTriggerTablePtrOutput) +} + +func (o JobTriggerPtrOutput) TableUpdate() JobTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v *JobTrigger) *JobTriggerTableUpdate { + if v == nil { + return nil + } + return v.TableUpdate + }).(JobTriggerTableUpdatePtrOutput) +} + +type JobTriggerFileArrival struct { + // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + // URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). + Url string `pulumi:"url"` + // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +} + +// JobTriggerFileArrivalInput is an input type that accepts JobTriggerFileArrivalArgs and JobTriggerFileArrivalOutput values. +// You can construct a concrete instance of `JobTriggerFileArrivalInput` via: // -// MetastoreDataAccessGcpServiceAccountKeyArgs{...} -type MetastoreDataAccessGcpServiceAccountKeyInput interface { +// JobTriggerFileArrivalArgs{...} +type JobTriggerFileArrivalInput interface { pulumi.Input - ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput - ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput + ToJobTriggerFileArrivalOutput() JobTriggerFileArrivalOutput + ToJobTriggerFileArrivalOutputWithContext(context.Context) JobTriggerFileArrivalOutput } -type MetastoreDataAccessGcpServiceAccountKeyArgs struct { - Email pulumi.StringInput `pulumi:"email"` - PrivateKey pulumi.StringInput `pulumi:"privateKey"` - PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` +type JobTriggerFileArrivalArgs struct { + // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + // URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). + Url pulumi.StringInput `pulumi:"url"` + // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (MetastoreDataAccessGcpServiceAccountKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (JobTriggerFileArrivalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerFileArrival)(nil)).Elem() } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { - return i.ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Background()) +func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalOutput() JobTriggerFileArrivalOutput { + return i.ToJobTriggerFileArrivalOutputWithContext(context.Background()) } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput) +func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalOutputWithContext(ctx context.Context) JobTriggerFileArrivalOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerFileArrivalOutput) } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { + return i.ToJobTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput).ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx) +func (i JobTriggerFileArrivalArgs) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerFileArrivalOutput).ToJobTriggerFileArrivalPtrOutputWithContext(ctx) } -// MetastoreDataAccessGcpServiceAccountKeyPtrInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs, MetastoreDataAccessGcpServiceAccountKeyPtr and MetastoreDataAccessGcpServiceAccountKeyPtrOutput values. -// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyPtrInput` via: +// JobTriggerFileArrivalPtrInput is an input type that accepts JobTriggerFileArrivalArgs, JobTriggerFileArrivalPtr and JobTriggerFileArrivalPtrOutput values. +// You can construct a concrete instance of `JobTriggerFileArrivalPtrInput` via: // -// MetastoreDataAccessGcpServiceAccountKeyArgs{...} +// JobTriggerFileArrivalArgs{...} // // or: // // nil -type MetastoreDataAccessGcpServiceAccountKeyPtrInput interface { +type JobTriggerFileArrivalPtrInput interface { pulumi.Input - ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput - ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput + ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput + ToJobTriggerFileArrivalPtrOutputWithContext(context.Context) JobTriggerFileArrivalPtrOutput } -type metastoreDataAccessGcpServiceAccountKeyPtrType MetastoreDataAccessGcpServiceAccountKeyArgs +type jobTriggerFileArrivalPtrType JobTriggerFileArrivalArgs -func MetastoreDataAccessGcpServiceAccountKeyPtr(v *MetastoreDataAccessGcpServiceAccountKeyArgs) MetastoreDataAccessGcpServiceAccountKeyPtrInput { - return (*metastoreDataAccessGcpServiceAccountKeyPtrType)(v) +func JobTriggerFileArrivalPtr(v *JobTriggerFileArrivalArgs) JobTriggerFileArrivalPtrInput { + return (*jobTriggerFileArrivalPtrType)(v) } -func (*metastoreDataAccessGcpServiceAccountKeyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (*jobTriggerFileArrivalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerFileArrival)(nil)).Elem() } -func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i *jobTriggerFileArrivalPtrType) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { + return i.ToJobTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) +func (i *jobTriggerFileArrivalPtrType) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerFileArrivalPtrOutput) } -type MetastoreDataAccessGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } +type JobTriggerFileArrivalOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessGcpServiceAccountKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (JobTriggerFileArrivalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerFileArrival)(nil)).Elem() } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { +func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalOutput() JobTriggerFileArrivalOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { +func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalOutputWithContext(ctx context.Context) JobTriggerFileArrivalOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return o.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { + return o.ToJobTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessGcpServiceAccountKey) *MetastoreDataAccessGcpServiceAccountKey { +func (o JobTriggerFileArrivalOutput) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerFileArrival) *JobTriggerFileArrival { return &v - }).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) + }).(JobTriggerFileArrivalPtrOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) +// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. +func (o JobTriggerFileArrivalOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerFileArrival) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) +// URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). +func (o JobTriggerFileArrivalOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v JobTriggerFileArrival) string { return v.Url }).(pulumi.StringOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { - return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) +// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. +func (o JobTriggerFileArrivalOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerFileArrival) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) } -type MetastoreDataAccessGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } +type JobTriggerFileArrivalPtrOutput struct{ *pulumi.OutputState } -func (MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() +func (JobTriggerFileArrivalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerFileArrival)(nil)).Elem() } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { +func (o JobTriggerFileArrivalPtrOutput) ToJobTriggerFileArrivalPtrOutput() JobTriggerFileArrivalPtrOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { +func (o JobTriggerFileArrivalPtrOutput) ToJobTriggerFileArrivalPtrOutputWithContext(ctx context.Context) JobTriggerFileArrivalPtrOutput { return o } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Elem() MetastoreDataAccessGcpServiceAccountKeyOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) MetastoreDataAccessGcpServiceAccountKey { +func (o JobTriggerFileArrivalPtrOutput) Elem() JobTriggerFileArrivalOutput { + return o.ApplyT(func(v *JobTriggerFileArrival) JobTriggerFileArrival { if v != nil { return *v } - var ret MetastoreDataAccessGcpServiceAccountKey + var ret JobTriggerFileArrival return ret - }).(MetastoreDataAccessGcpServiceAccountKeyOutput) + }).(JobTriggerFileArrivalOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { +// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. +func (o JobTriggerFileArrivalPtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerFileArrival) *int { if v == nil { return nil } - return &v.Email - }).(pulumi.StringPtrOutput) + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { +// URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). +func (o JobTriggerFileArrivalPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTriggerFileArrival) *string { if v == nil { return nil } - return &v.PrivateKey + return &v.Url }).(pulumi.StringPtrOutput) } -func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { +// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. +func (o JobTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerFileArrival) *int { if v == nil { return nil } - return &v.PrivateKeyId - }).(pulumi.StringPtrOutput) -} - -type MlflowModelTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` -} - -// MlflowModelTagInput is an input type that accepts MlflowModelTagArgs and MlflowModelTagOutput values. -// You can construct a concrete instance of `MlflowModelTagInput` via: -// -// MlflowModelTagArgs{...} -type MlflowModelTagInput interface { - pulumi.Input - - ToMlflowModelTagOutput() MlflowModelTagOutput - ToMlflowModelTagOutputWithContext(context.Context) MlflowModelTagOutput -} - -type MlflowModelTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (MlflowModelTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() -} - -func (i MlflowModelTagArgs) ToMlflowModelTagOutput() MlflowModelTagOutput { - return i.ToMlflowModelTagOutputWithContext(context.Background()) -} - -func (i MlflowModelTagArgs) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagOutput) -} - -// MlflowModelTagArrayInput is an input type that accepts MlflowModelTagArray and MlflowModelTagArrayOutput values. -// You can construct a concrete instance of `MlflowModelTagArrayInput` via: -// -// MlflowModelTagArray{ MlflowModelTagArgs{...} } -type MlflowModelTagArrayInput interface { - pulumi.Input - - ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput - ToMlflowModelTagArrayOutputWithContext(context.Context) MlflowModelTagArrayOutput -} - -type MlflowModelTagArray []MlflowModelTagInput - -func (MlflowModelTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() -} - -func (i MlflowModelTagArray) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { - return i.ToMlflowModelTagArrayOutputWithContext(context.Background()) -} - -func (i MlflowModelTagArray) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagArrayOutput) -} - -type MlflowModelTagOutput struct{ *pulumi.OutputState } - -func (MlflowModelTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() -} - -func (o MlflowModelTagOutput) ToMlflowModelTagOutput() MlflowModelTagOutput { - return o -} - -func (o MlflowModelTagOutput) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { - return o -} - -func (o MlflowModelTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -func (o MlflowModelTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type MlflowModelTagArrayOutput struct{ *pulumi.OutputState } - -func (MlflowModelTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() -} - -func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { - return o -} - -func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { - return o -} - -func (o MlflowModelTagArrayOutput) Index(i pulumi.IntInput) MlflowModelTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MlflowModelTag { - return vs[0].([]MlflowModelTag)[vs[1].(int)] - }).(MlflowModelTagOutput) + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) } -type MlflowWebhookHttpUrlSpec struct { - // Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. - Authorization *string `pulumi:"authorization"` - // Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. - EnableSslVerification *bool `pulumi:"enableSslVerification"` - // Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. - Secret *string `pulumi:"secret"` - // External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. - Url string `pulumi:"url"` +type JobTriggerPeriodic struct { + // Specifies the interval at which the job should run. This value is required. + Interval int `pulumi:"interval"` + // Options are {"DAYS", "HOURS", "WEEKS"}. + Unit string `pulumi:"unit"` } -// MlflowWebhookHttpUrlSpecInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs and MlflowWebhookHttpUrlSpecOutput values. -// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecInput` via: +// JobTriggerPeriodicInput is an input type that accepts JobTriggerPeriodicArgs and JobTriggerPeriodicOutput values. +// You can construct a concrete instance of `JobTriggerPeriodicInput` via: // -// MlflowWebhookHttpUrlSpecArgs{...} -type MlflowWebhookHttpUrlSpecInput interface { +// JobTriggerPeriodicArgs{...} +type JobTriggerPeriodicInput interface { pulumi.Input - ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput - ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecOutput + ToJobTriggerPeriodicOutput() JobTriggerPeriodicOutput + ToJobTriggerPeriodicOutputWithContext(context.Context) JobTriggerPeriodicOutput } -type MlflowWebhookHttpUrlSpecArgs struct { - // Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. - Authorization pulumi.StringPtrInput `pulumi:"authorization"` - // Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. - EnableSslVerification pulumi.BoolPtrInput `pulumi:"enableSslVerification"` - // Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. - Secret pulumi.StringPtrInput `pulumi:"secret"` - // External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. - Url pulumi.StringInput `pulumi:"url"` +type JobTriggerPeriodicArgs struct { + // Specifies the interval at which the job should run. This value is required. + Interval pulumi.IntInput `pulumi:"interval"` + // Options are {"DAYS", "HOURS", "WEEKS"}. + Unit pulumi.StringInput `pulumi:"unit"` } -func (MlflowWebhookHttpUrlSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (JobTriggerPeriodicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerPeriodic)(nil)).Elem() } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { - return i.ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Background()) +func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicOutput() JobTriggerPeriodicOutput { + return i.ToJobTriggerPeriodicOutputWithContext(context.Background()) } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput) +func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicOutputWithContext(ctx context.Context) JobTriggerPeriodicOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPeriodicOutput) } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { - return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { + return i.ToJobTriggerPeriodicPtrOutputWithContext(context.Background()) } -func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput).ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx) +func (i JobTriggerPeriodicArgs) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPeriodicOutput).ToJobTriggerPeriodicPtrOutputWithContext(ctx) } -// MlflowWebhookHttpUrlSpecPtrInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs, MlflowWebhookHttpUrlSpecPtr and MlflowWebhookHttpUrlSpecPtrOutput values. -// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecPtrInput` via: +// JobTriggerPeriodicPtrInput is an input type that accepts JobTriggerPeriodicArgs, JobTriggerPeriodicPtr and JobTriggerPeriodicPtrOutput values. +// You can construct a concrete instance of `JobTriggerPeriodicPtrInput` via: // -// MlflowWebhookHttpUrlSpecArgs{...} +// JobTriggerPeriodicArgs{...} // // or: // // nil -type MlflowWebhookHttpUrlSpecPtrInput interface { +type JobTriggerPeriodicPtrInput interface { pulumi.Input - ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput - ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecPtrOutput + ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput + ToJobTriggerPeriodicPtrOutputWithContext(context.Context) JobTriggerPeriodicPtrOutput } -type mlflowWebhookHttpUrlSpecPtrType MlflowWebhookHttpUrlSpecArgs +type jobTriggerPeriodicPtrType JobTriggerPeriodicArgs -func MlflowWebhookHttpUrlSpecPtr(v *MlflowWebhookHttpUrlSpecArgs) MlflowWebhookHttpUrlSpecPtrInput { - return (*mlflowWebhookHttpUrlSpecPtrType)(v) +func JobTriggerPeriodicPtr(v *JobTriggerPeriodicArgs) JobTriggerPeriodicPtrInput { + return (*jobTriggerPeriodicPtrType)(v) } -func (*mlflowWebhookHttpUrlSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (*jobTriggerPeriodicPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerPeriodic)(nil)).Elem() } -func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { - return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +func (i *jobTriggerPeriodicPtrType) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { + return i.ToJobTriggerPeriodicPtrOutputWithContext(context.Background()) } -func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecPtrOutput) +func (i *jobTriggerPeriodicPtrType) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerPeriodicPtrOutput) } -type MlflowWebhookHttpUrlSpecOutput struct{ *pulumi.OutputState } +type JobTriggerPeriodicOutput struct{ *pulumi.OutputState } -func (MlflowWebhookHttpUrlSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (JobTriggerPeriodicOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerPeriodic)(nil)).Elem() } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { +func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicOutput() JobTriggerPeriodicOutput { return o } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { +func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicOutputWithContext(ctx context.Context) JobTriggerPeriodicOutput { return o } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { - return o.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) +func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { + return o.ToJobTriggerPeriodicPtrOutputWithContext(context.Background()) } -func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookHttpUrlSpec) *MlflowWebhookHttpUrlSpec { +func (o JobTriggerPeriodicOutput) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerPeriodic) *JobTriggerPeriodic { return &v - }).(MlflowWebhookHttpUrlSpecPtrOutput) -} - -// Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. -func (o MlflowWebhookHttpUrlSpecOutput) Authorization() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) *string { return v.Authorization }).(pulumi.StringPtrOutput) -} - -// Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. -func (o MlflowWebhookHttpUrlSpecOutput) EnableSslVerification() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) *bool { return v.EnableSslVerification }).(pulumi.BoolPtrOutput) + }).(JobTriggerPeriodicPtrOutput) } -// Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. -func (o MlflowWebhookHttpUrlSpecOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) *string { return v.Secret }).(pulumi.StringPtrOutput) +// Specifies the interval at which the job should run. This value is required. +func (o JobTriggerPeriodicOutput) Interval() pulumi.IntOutput { + return o.ApplyT(func(v JobTriggerPeriodic) int { return v.Interval }).(pulumi.IntOutput) } -// External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. -func (o MlflowWebhookHttpUrlSpecOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) string { return v.Url }).(pulumi.StringOutput) +// Options are {"DAYS", "HOURS", "WEEKS"}. +func (o JobTriggerPeriodicOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v JobTriggerPeriodic) string { return v.Unit }).(pulumi.StringOutput) } -type MlflowWebhookHttpUrlSpecPtrOutput struct{ *pulumi.OutputState } +type JobTriggerPeriodicPtrOutput struct{ *pulumi.OutputState } -func (MlflowWebhookHttpUrlSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() +func (JobTriggerPeriodicPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerPeriodic)(nil)).Elem() } -func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { +func (o JobTriggerPeriodicPtrOutput) ToJobTriggerPeriodicPtrOutput() JobTriggerPeriodicPtrOutput { return o } -func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { +func (o JobTriggerPeriodicPtrOutput) ToJobTriggerPeriodicPtrOutputWithContext(ctx context.Context) JobTriggerPeriodicPtrOutput { return o } -func (o MlflowWebhookHttpUrlSpecPtrOutput) Elem() MlflowWebhookHttpUrlSpecOutput { - return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) MlflowWebhookHttpUrlSpec { +func (o JobTriggerPeriodicPtrOutput) Elem() JobTriggerPeriodicOutput { + return o.ApplyT(func(v *JobTriggerPeriodic) JobTriggerPeriodic { if v != nil { return *v } - var ret MlflowWebhookHttpUrlSpec + var ret JobTriggerPeriodic return ret - }).(MlflowWebhookHttpUrlSpecOutput) -} - -// Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. -func (o MlflowWebhookHttpUrlSpecPtrOutput) Authorization() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { - if v == nil { - return nil - } - return v.Authorization - }).(pulumi.StringPtrOutput) -} - -// Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. -func (o MlflowWebhookHttpUrlSpecPtrOutput) EnableSslVerification() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *bool { - if v == nil { - return nil - } - return v.EnableSslVerification - }).(pulumi.BoolPtrOutput) + }).(JobTriggerPeriodicOutput) } -// Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. -func (o MlflowWebhookHttpUrlSpecPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { +// Specifies the interval at which the job should run. This value is required. +func (o JobTriggerPeriodicPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerPeriodic) *int { if v == nil { return nil } - return v.Secret - }).(pulumi.StringPtrOutput) + return &v.Interval + }).(pulumi.IntPtrOutput) } -// External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. -func (o MlflowWebhookHttpUrlSpecPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { +// Options are {"DAYS", "HOURS", "WEEKS"}. +func (o JobTriggerPeriodicPtrOutput) Unit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTriggerPeriodic) *string { if v == nil { return nil } - return &v.Url + return &v.Unit }).(pulumi.StringPtrOutput) } -type MlflowWebhookJobSpec struct { - // The personal access token used to authorize webhook's job runs. - AccessToken string `pulumi:"accessToken"` - // ID of the Databricks job that the webhook runs. - JobId string `pulumi:"jobId"` - // URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. - WorkspaceUrl *string `pulumi:"workspaceUrl"` +type JobTriggerTable struct { + Condition *string `pulumi:"condition"` + // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames []string `pulumi:"tableNames"` + // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` } -// MlflowWebhookJobSpecInput is an input type that accepts MlflowWebhookJobSpecArgs and MlflowWebhookJobSpecOutput values. -// You can construct a concrete instance of `MlflowWebhookJobSpecInput` via: +// JobTriggerTableInput is an input type that accepts JobTriggerTableArgs and JobTriggerTableOutput values. +// You can construct a concrete instance of `JobTriggerTableInput` via: // -// MlflowWebhookJobSpecArgs{...} -type MlflowWebhookJobSpecInput interface { +// JobTriggerTableArgs{...} +type JobTriggerTableInput interface { pulumi.Input - ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput - ToMlflowWebhookJobSpecOutputWithContext(context.Context) MlflowWebhookJobSpecOutput + ToJobTriggerTableOutput() JobTriggerTableOutput + ToJobTriggerTableOutputWithContext(context.Context) JobTriggerTableOutput } -type MlflowWebhookJobSpecArgs struct { - // The personal access token used to authorize webhook's job runs. - AccessToken pulumi.StringInput `pulumi:"accessToken"` - // ID of the Databricks job that the webhook runs. - JobId pulumi.StringInput `pulumi:"jobId"` - // URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. - WorkspaceUrl pulumi.StringPtrInput `pulumi:"workspaceUrl"` +type JobTriggerTableArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` + // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames pulumi.StringArrayInput `pulumi:"tableNames"` + // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (MlflowWebhookJobSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() +func (JobTriggerTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerTable)(nil)).Elem() } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { - return i.ToMlflowWebhookJobSpecOutputWithContext(context.Background()) +func (i JobTriggerTableArgs) ToJobTriggerTableOutput() JobTriggerTableOutput { + return i.ToJobTriggerTableOutputWithContext(context.Background()) } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput) +func (i JobTriggerTableArgs) ToJobTriggerTableOutputWithContext(ctx context.Context) JobTriggerTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableOutput) } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { - return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +func (i JobTriggerTableArgs) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { + return i.ToJobTriggerTablePtrOutputWithContext(context.Background()) } -func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput).ToMlflowWebhookJobSpecPtrOutputWithContext(ctx) +func (i JobTriggerTableArgs) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableOutput).ToJobTriggerTablePtrOutputWithContext(ctx) } -// MlflowWebhookJobSpecPtrInput is an input type that accepts MlflowWebhookJobSpecArgs, MlflowWebhookJobSpecPtr and MlflowWebhookJobSpecPtrOutput values. -// You can construct a concrete instance of `MlflowWebhookJobSpecPtrInput` via: +// JobTriggerTablePtrInput is an input type that accepts JobTriggerTableArgs, JobTriggerTablePtr and JobTriggerTablePtrOutput values. +// You can construct a concrete instance of `JobTriggerTablePtrInput` via: // -// MlflowWebhookJobSpecArgs{...} +// JobTriggerTableArgs{...} // // or: // // nil -type MlflowWebhookJobSpecPtrInput interface { +type JobTriggerTablePtrInput interface { pulumi.Input - ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput - ToMlflowWebhookJobSpecPtrOutputWithContext(context.Context) MlflowWebhookJobSpecPtrOutput + ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput + ToJobTriggerTablePtrOutputWithContext(context.Context) JobTriggerTablePtrOutput } -type mlflowWebhookJobSpecPtrType MlflowWebhookJobSpecArgs +type jobTriggerTablePtrType JobTriggerTableArgs -func MlflowWebhookJobSpecPtr(v *MlflowWebhookJobSpecArgs) MlflowWebhookJobSpecPtrInput { - return (*mlflowWebhookJobSpecPtrType)(v) +func JobTriggerTablePtr(v *JobTriggerTableArgs) JobTriggerTablePtrInput { + return (*jobTriggerTablePtrType)(v) } -func (*mlflowWebhookJobSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() +func (*jobTriggerTablePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerTable)(nil)).Elem() } -func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { - return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +func (i *jobTriggerTablePtrType) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { + return i.ToJobTriggerTablePtrOutputWithContext(context.Background()) } -func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecPtrOutput) +func (i *jobTriggerTablePtrType) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTablePtrOutput) } -type MlflowWebhookJobSpecOutput struct{ *pulumi.OutputState } +type JobTriggerTableOutput struct{ *pulumi.OutputState } -func (MlflowWebhookJobSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() +func (JobTriggerTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerTable)(nil)).Elem() } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { +func (o JobTriggerTableOutput) ToJobTriggerTableOutput() JobTriggerTableOutput { return o } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { +func (o JobTriggerTableOutput) ToJobTriggerTableOutputWithContext(ctx context.Context) JobTriggerTableOutput { return o } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { - return o.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +func (o JobTriggerTableOutput) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { + return o.ToJobTriggerTablePtrOutputWithContext(context.Background()) } -func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookJobSpec) *MlflowWebhookJobSpec { +func (o JobTriggerTableOutput) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerTable) *JobTriggerTable { return &v - }).(MlflowWebhookJobSpecPtrOutput) + }).(JobTriggerTablePtrOutput) } -// The personal access token used to authorize webhook's job runs. -func (o MlflowWebhookJobSpecOutput) AccessToken() pulumi.StringOutput { - return o.ApplyT(func(v MlflowWebhookJobSpec) string { return v.AccessToken }).(pulumi.StringOutput) +func (o JobTriggerTableOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTriggerTable) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. +func (o JobTriggerTableOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerTable) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -// ID of the Databricks job that the webhook runs. -func (o MlflowWebhookJobSpecOutput) JobId() pulumi.StringOutput { - return o.ApplyT(func(v MlflowWebhookJobSpec) string { return v.JobId }).(pulumi.StringOutput) +func (o JobTriggerTableOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTriggerTable) []string { return v.TableNames }).(pulumi.StringArrayOutput) } -// URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. -func (o MlflowWebhookJobSpecOutput) WorkspaceUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v MlflowWebhookJobSpec) *string { return v.WorkspaceUrl }).(pulumi.StringPtrOutput) +// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. +func (o JobTriggerTableOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerTable) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) } -type MlflowWebhookJobSpecPtrOutput struct{ *pulumi.OutputState } +type JobTriggerTablePtrOutput struct{ *pulumi.OutputState } -func (MlflowWebhookJobSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() +func (JobTriggerTablePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerTable)(nil)).Elem() } -func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { +func (o JobTriggerTablePtrOutput) ToJobTriggerTablePtrOutput() JobTriggerTablePtrOutput { return o } -func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { +func (o JobTriggerTablePtrOutput) ToJobTriggerTablePtrOutputWithContext(ctx context.Context) JobTriggerTablePtrOutput { return o } -func (o MlflowWebhookJobSpecPtrOutput) Elem() MlflowWebhookJobSpecOutput { - return o.ApplyT(func(v *MlflowWebhookJobSpec) MlflowWebhookJobSpec { +func (o JobTriggerTablePtrOutput) Elem() JobTriggerTableOutput { + return o.ApplyT(func(v *JobTriggerTable) JobTriggerTable { if v != nil { return *v } - var ret MlflowWebhookJobSpec + var ret JobTriggerTable return ret - }).(MlflowWebhookJobSpecOutput) + }).(JobTriggerTableOutput) } -// The personal access token used to authorize webhook's job runs. -func (o MlflowWebhookJobSpecPtrOutput) AccessToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { +func (o JobTriggerTablePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTriggerTable) *string { if v == nil { return nil } - return &v.AccessToken + return v.Condition }).(pulumi.StringPtrOutput) } -// ID of the Databricks job that the webhook runs. -func (o MlflowWebhookJobSpecPtrOutput) JobId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { +// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. +func (o JobTriggerTablePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerTable) *int { if v == nil { return nil } - return &v.JobId - }).(pulumi.StringPtrOutput) + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) } -// URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. -func (o MlflowWebhookJobSpecPtrOutput) WorkspaceUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { +func (o JobTriggerTablePtrOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTriggerTable) []string { if v == nil { return nil } - return v.WorkspaceUrl - }).(pulumi.StringPtrOutput) + return v.TableNames + }).(pulumi.StringArrayOutput) } -type ModelServingAiGateway struct { - // Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: - Guardrails *ModelServingAiGatewayGuardrails `pulumi:"guardrails"` - // Block describing the configuration of usage tracking. Consists of the following attributes: - InferenceTableConfig *ModelServingAiGatewayInferenceTableConfig `pulumi:"inferenceTableConfig"` - // Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. - RateLimits []ModelServingAiGatewayRateLimit `pulumi:"rateLimits"` - // Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. - UsageTrackingConfig *ModelServingAiGatewayUsageTrackingConfig `pulumi:"usageTrackingConfig"` +// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. +func (o JobTriggerTablePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerTable) *int { + if v == nil { + return nil + } + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) } -// ModelServingAiGatewayInput is an input type that accepts ModelServingAiGatewayArgs and ModelServingAiGatewayOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayInput` via: +type JobTriggerTableUpdate struct { + Condition *string `pulumi:"condition"` + // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames []string `pulumi:"tableNames"` + // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +} + +// JobTriggerTableUpdateInput is an input type that accepts JobTriggerTableUpdateArgs and JobTriggerTableUpdateOutput values. +// You can construct a concrete instance of `JobTriggerTableUpdateInput` via: // -// ModelServingAiGatewayArgs{...} -type ModelServingAiGatewayInput interface { +// JobTriggerTableUpdateArgs{...} +type JobTriggerTableUpdateInput interface { pulumi.Input - ToModelServingAiGatewayOutput() ModelServingAiGatewayOutput - ToModelServingAiGatewayOutputWithContext(context.Context) ModelServingAiGatewayOutput + ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput + ToJobTriggerTableUpdateOutputWithContext(context.Context) JobTriggerTableUpdateOutput } -type ModelServingAiGatewayArgs struct { - // Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: - Guardrails ModelServingAiGatewayGuardrailsPtrInput `pulumi:"guardrails"` - // Block describing the configuration of usage tracking. Consists of the following attributes: - InferenceTableConfig ModelServingAiGatewayInferenceTableConfigPtrInput `pulumi:"inferenceTableConfig"` - // Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. - RateLimits ModelServingAiGatewayRateLimitArrayInput `pulumi:"rateLimits"` - // Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. - UsageTrackingConfig ModelServingAiGatewayUsageTrackingConfigPtrInput `pulumi:"usageTrackingConfig"` +type JobTriggerTableUpdateArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` + // If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames pulumi.StringArrayInput `pulumi:"tableNames"` + // If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (ModelServingAiGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGateway)(nil)).Elem() +func (JobTriggerTableUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerTableUpdate)(nil)).Elem() } -func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayOutput() ModelServingAiGatewayOutput { - return i.ToModelServingAiGatewayOutputWithContext(context.Background()) +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput { + return i.ToJobTriggerTableUpdateOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayOutputWithContext(ctx context.Context) ModelServingAiGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayOutput) +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdateOutputWithContext(ctx context.Context) JobTriggerTableUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdateOutput) } -func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { - return i.ToModelServingAiGatewayPtrOutputWithContext(context.Background()) +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return i.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayOutput).ToModelServingAiGatewayPtrOutputWithContext(ctx) +func (i JobTriggerTableUpdateArgs) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdateOutput).ToJobTriggerTableUpdatePtrOutputWithContext(ctx) } -// ModelServingAiGatewayPtrInput is an input type that accepts ModelServingAiGatewayArgs, ModelServingAiGatewayPtr and ModelServingAiGatewayPtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayPtrInput` via: +// JobTriggerTableUpdatePtrInput is an input type that accepts JobTriggerTableUpdateArgs, JobTriggerTableUpdatePtr and JobTriggerTableUpdatePtrOutput values. +// You can construct a concrete instance of `JobTriggerTableUpdatePtrInput` via: // -// ModelServingAiGatewayArgs{...} +// JobTriggerTableUpdateArgs{...} // // or: // // nil -type ModelServingAiGatewayPtrInput interface { +type JobTriggerTableUpdatePtrInput interface { pulumi.Input - ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput - ToModelServingAiGatewayPtrOutputWithContext(context.Context) ModelServingAiGatewayPtrOutput + ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput + ToJobTriggerTableUpdatePtrOutputWithContext(context.Context) JobTriggerTableUpdatePtrOutput } -type modelServingAiGatewayPtrType ModelServingAiGatewayArgs +type jobTriggerTableUpdatePtrType JobTriggerTableUpdateArgs -func ModelServingAiGatewayPtr(v *ModelServingAiGatewayArgs) ModelServingAiGatewayPtrInput { - return (*modelServingAiGatewayPtrType)(v) +func JobTriggerTableUpdatePtr(v *JobTriggerTableUpdateArgs) JobTriggerTableUpdatePtrInput { + return (*jobTriggerTableUpdatePtrType)(v) } -func (*modelServingAiGatewayPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGateway)(nil)).Elem() +func (*jobTriggerTableUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerTableUpdate)(nil)).Elem() } -func (i *modelServingAiGatewayPtrType) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { - return i.ToModelServingAiGatewayPtrOutputWithContext(context.Background()) +func (i *jobTriggerTableUpdatePtrType) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return i.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (i *modelServingAiGatewayPtrType) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayPtrOutput) +func (i *jobTriggerTableUpdatePtrType) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobTriggerTableUpdatePtrOutput) } -type ModelServingAiGatewayOutput struct{ *pulumi.OutputState } +type JobTriggerTableUpdateOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGateway)(nil)).Elem() +func (JobTriggerTableUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobTriggerTableUpdate)(nil)).Elem() } -func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayOutput() ModelServingAiGatewayOutput { +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdateOutput() JobTriggerTableUpdateOutput { return o } -func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayOutputWithContext(ctx context.Context) ModelServingAiGatewayOutput { +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdateOutputWithContext(ctx context.Context) JobTriggerTableUpdateOutput { return o } -func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { - return o.ToModelServingAiGatewayPtrOutputWithContext(context.Background()) +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { + return o.ToJobTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGateway) *ModelServingAiGateway { +func (o JobTriggerTableUpdateOutput) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobTriggerTableUpdate) *JobTriggerTableUpdate { return &v - }).(ModelServingAiGatewayPtrOutput) + }).(JobTriggerTableUpdatePtrOutput) } -// Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: -func (o ModelServingAiGatewayOutput) Guardrails() ModelServingAiGatewayGuardrailsPtrOutput { - return o.ApplyT(func(v ModelServingAiGateway) *ModelServingAiGatewayGuardrails { return v.Guardrails }).(ModelServingAiGatewayGuardrailsPtrOutput) +func (o JobTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v JobTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) } -// Block describing the configuration of usage tracking. Consists of the following attributes: -func (o ModelServingAiGatewayOutput) InferenceTableConfig() ModelServingAiGatewayInferenceTableConfigPtrOutput { - return o.ApplyT(func(v ModelServingAiGateway) *ModelServingAiGatewayInferenceTableConfig { - return v.InferenceTableConfig - }).(ModelServingAiGatewayInferenceTableConfigPtrOutput) +// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. +func (o JobTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -// Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. -func (o ModelServingAiGatewayOutput) RateLimits() ModelServingAiGatewayRateLimitArrayOutput { - return o.ApplyT(func(v ModelServingAiGateway) []ModelServingAiGatewayRateLimit { return v.RateLimits }).(ModelServingAiGatewayRateLimitArrayOutput) +func (o JobTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v JobTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) } -// Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. -func (o ModelServingAiGatewayOutput) UsageTrackingConfig() ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return o.ApplyT(func(v ModelServingAiGateway) *ModelServingAiGatewayUsageTrackingConfig { return v.UsageTrackingConfig }).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) +// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. +func (o JobTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v JobTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) } -type ModelServingAiGatewayPtrOutput struct{ *pulumi.OutputState } +type JobTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGateway)(nil)).Elem() +func (JobTriggerTableUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobTriggerTableUpdate)(nil)).Elem() } -func (o ModelServingAiGatewayPtrOutput) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { +func (o JobTriggerTableUpdatePtrOutput) ToJobTriggerTableUpdatePtrOutput() JobTriggerTableUpdatePtrOutput { return o } -func (o ModelServingAiGatewayPtrOutput) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { +func (o JobTriggerTableUpdatePtrOutput) ToJobTriggerTableUpdatePtrOutputWithContext(ctx context.Context) JobTriggerTableUpdatePtrOutput { return o } -func (o ModelServingAiGatewayPtrOutput) Elem() ModelServingAiGatewayOutput { - return o.ApplyT(func(v *ModelServingAiGateway) ModelServingAiGateway { +func (o JobTriggerTableUpdatePtrOutput) Elem() JobTriggerTableUpdateOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) JobTriggerTableUpdate { if v != nil { return *v } - var ret ModelServingAiGateway + var ret JobTriggerTableUpdate return ret - }).(ModelServingAiGatewayOutput) + }).(JobTriggerTableUpdateOutput) } -// Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: -func (o ModelServingAiGatewayPtrOutput) Guardrails() ModelServingAiGatewayGuardrailsPtrOutput { - return o.ApplyT(func(v *ModelServingAiGateway) *ModelServingAiGatewayGuardrails { +func (o JobTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) *string { if v == nil { return nil } - return v.Guardrails - }).(ModelServingAiGatewayGuardrailsPtrOutput) + return v.Condition + }).(pulumi.StringPtrOutput) } -// Block describing the configuration of usage tracking. Consists of the following attributes: -func (o ModelServingAiGatewayPtrOutput) InferenceTableConfig() ModelServingAiGatewayInferenceTableConfigPtrOutput { - return o.ApplyT(func(v *ModelServingAiGateway) *ModelServingAiGatewayInferenceTableConfig { +// If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. +func (o JobTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) *int { if v == nil { return nil } - return v.InferenceTableConfig - }).(ModelServingAiGatewayInferenceTableConfigPtrOutput) + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) } -// Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. -func (o ModelServingAiGatewayPtrOutput) RateLimits() ModelServingAiGatewayRateLimitArrayOutput { - return o.ApplyT(func(v *ModelServingAiGateway) []ModelServingAiGatewayRateLimit { +func (o JobTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) []string { if v == nil { return nil } - return v.RateLimits - }).(ModelServingAiGatewayRateLimitArrayOutput) + return v.TableNames + }).(pulumi.StringArrayOutput) } -// Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. -func (o ModelServingAiGatewayPtrOutput) UsageTrackingConfig() ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return o.ApplyT(func(v *ModelServingAiGateway) *ModelServingAiGatewayUsageTrackingConfig { +// If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. +func (o JobTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *JobTriggerTableUpdate) *int { if v == nil { return nil } - return v.UsageTrackingConfig - }).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) } -type ModelServingAiGatewayGuardrails struct { - // A block with configuration for input guardrail filters: - Input *ModelServingAiGatewayGuardrailsInputType `pulumi:"input"` - // A block with configuration for output guardrail filters. Has the same structure as `input` block. - Output *ModelServingAiGatewayGuardrailsOutputType `pulumi:"output"` +type JobWebhookNotifications struct { + // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + // + // Example + OnDurationWarningThresholdExceededs []JobWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + OnFailures []JobWebhookNotificationsOnFailure `pulumi:"onFailures"` + // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + OnStarts []JobWebhookNotificationsOnStart `pulumi:"onStarts"` + OnStreamingBacklogExceededs []JobWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` + // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + OnSuccesses []JobWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -// ModelServingAiGatewayGuardrailsInput is an input type that accepts ModelServingAiGatewayGuardrailsArgs and ModelServingAiGatewayGuardrailsOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInput` via: +// JobWebhookNotificationsInput is an input type that accepts JobWebhookNotificationsArgs and JobWebhookNotificationsOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsInput` via: // -// ModelServingAiGatewayGuardrailsArgs{...} -type ModelServingAiGatewayGuardrailsInput interface { +// JobWebhookNotificationsArgs{...} +type JobWebhookNotificationsInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsOutput() ModelServingAiGatewayGuardrailsOutput - ToModelServingAiGatewayGuardrailsOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutput + ToJobWebhookNotificationsOutput() JobWebhookNotificationsOutput + ToJobWebhookNotificationsOutputWithContext(context.Context) JobWebhookNotificationsOutput } -type ModelServingAiGatewayGuardrailsArgs struct { - // A block with configuration for input guardrail filters: - Input ModelServingAiGatewayGuardrailsInputTypePtrInput `pulumi:"input"` - // A block with configuration for output guardrail filters. Has the same structure as `input` block. - Output ModelServingAiGatewayGuardrailsOutputTypePtrInput `pulumi:"output"` +type JobWebhookNotificationsArgs struct { + // (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + // + // Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + // + // Example + OnDurationWarningThresholdExceededs JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + // (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + OnFailures JobWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + // (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + OnStarts JobWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs JobWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` + // (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + OnSuccesses JobWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (ModelServingAiGatewayGuardrailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrails)(nil)).Elem() +func (JobWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotifications)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsOutput() ModelServingAiGatewayGuardrailsOutput { - return i.ToModelServingAiGatewayGuardrailsOutputWithContext(context.Background()) +func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsOutput() JobWebhookNotificationsOutput { + return i.ToJobWebhookNotificationsOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutput) +func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsOutputWithContext(ctx context.Context) JobWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOutput) } -func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { - return i.ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Background()) +func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { + return i.ToJobWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutput).ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx) +func (i JobWebhookNotificationsArgs) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOutput).ToJobWebhookNotificationsPtrOutputWithContext(ctx) } -// ModelServingAiGatewayGuardrailsPtrInput is an input type that accepts ModelServingAiGatewayGuardrailsArgs, ModelServingAiGatewayGuardrailsPtr and ModelServingAiGatewayGuardrailsPtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsPtrInput` via: +// JobWebhookNotificationsPtrInput is an input type that accepts JobWebhookNotificationsArgs, JobWebhookNotificationsPtr and JobWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsPtrInput` via: // -// ModelServingAiGatewayGuardrailsArgs{...} +// JobWebhookNotificationsArgs{...} // // or: // // nil -type ModelServingAiGatewayGuardrailsPtrInput interface { +type JobWebhookNotificationsPtrInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput - ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsPtrOutput + ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput + ToJobWebhookNotificationsPtrOutputWithContext(context.Context) JobWebhookNotificationsPtrOutput } -type modelServingAiGatewayGuardrailsPtrType ModelServingAiGatewayGuardrailsArgs +type jobWebhookNotificationsPtrType JobWebhookNotificationsArgs -func ModelServingAiGatewayGuardrailsPtr(v *ModelServingAiGatewayGuardrailsArgs) ModelServingAiGatewayGuardrailsPtrInput { - return (*modelServingAiGatewayGuardrailsPtrType)(v) +func JobWebhookNotificationsPtr(v *JobWebhookNotificationsArgs) JobWebhookNotificationsPtrInput { + return (*jobWebhookNotificationsPtrType)(v) } -func (*modelServingAiGatewayGuardrailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrails)(nil)).Elem() +func (*jobWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**JobWebhookNotifications)(nil)).Elem() } -func (i *modelServingAiGatewayGuardrailsPtrType) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { - return i.ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Background()) +func (i *jobWebhookNotificationsPtrType) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { + return i.ToJobWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *modelServingAiGatewayGuardrailsPtrType) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsPtrOutput) +func (i *jobWebhookNotificationsPtrType) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsPtrOutput) } -type ModelServingAiGatewayGuardrailsOutput struct{ *pulumi.OutputState } +type JobWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayGuardrailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrails)(nil)).Elem() +func (JobWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotifications)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsOutput() ModelServingAiGatewayGuardrailsOutput { +func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsOutput() JobWebhookNotificationsOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutput { +func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsOutputWithContext(ctx context.Context) JobWebhookNotificationsOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { - return o.ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Background()) +func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { + return o.ToJobWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrails { +func (o JobWebhookNotificationsOutput) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v JobWebhookNotifications) *JobWebhookNotifications { return &v - }).(ModelServingAiGatewayGuardrailsPtrOutput) + }).(JobWebhookNotificationsPtrOutput) } -// A block with configuration for input guardrail filters: -func (o ModelServingAiGatewayGuardrailsOutput) Input() ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsInputType { return v.Input }).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) +// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` +// +// Example +func (o JobWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -// A block with configuration for output guardrail filters. Has the same structure as `input` block. -func (o ModelServingAiGatewayGuardrailsOutput) Output() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsOutputType { return v.Output }).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) +// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. +func (o JobWebhookNotificationsOutput) OnFailures() JobWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnFailure { return v.OnFailures }).(JobWebhookNotificationsOnFailureArrayOutput) } -type ModelServingAiGatewayGuardrailsPtrOutput struct{ *pulumi.OutputState } +// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. +func (o JobWebhookNotificationsOutput) OnStarts() JobWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnStart { return v.OnStarts }).(JobWebhookNotificationsOnStartArrayOutput) +} -func (ModelServingAiGatewayGuardrailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrails)(nil)).Elem() +func (o JobWebhookNotificationsOutput) OnStreamingBacklogExceededs() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnStreamingBacklogExceeded { + return v.OnStreamingBacklogExceededs + }).(JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (o ModelServingAiGatewayGuardrailsPtrOutput) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { +// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. +func (o JobWebhookNotificationsOutput) OnSuccesses() JobWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v JobWebhookNotifications) []JobWebhookNotificationsOnSuccess { return v.OnSuccesses }).(JobWebhookNotificationsOnSuccessArrayOutput) +} + +type JobWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (JobWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**JobWebhookNotifications)(nil)).Elem() +} + +func (o JobWebhookNotificationsPtrOutput) ToJobWebhookNotificationsPtrOutput() JobWebhookNotificationsPtrOutput { return o } -func (o ModelServingAiGatewayGuardrailsPtrOutput) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { +func (o JobWebhookNotificationsPtrOutput) ToJobWebhookNotificationsPtrOutputWithContext(ctx context.Context) JobWebhookNotificationsPtrOutput { return o } -func (o ModelServingAiGatewayGuardrailsPtrOutput) Elem() ModelServingAiGatewayGuardrailsOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrails) ModelServingAiGatewayGuardrails { +func (o JobWebhookNotificationsPtrOutput) Elem() JobWebhookNotificationsOutput { + return o.ApplyT(func(v *JobWebhookNotifications) JobWebhookNotifications { if v != nil { return *v } - var ret ModelServingAiGatewayGuardrails + var ret JobWebhookNotifications return ret - }).(ModelServingAiGatewayGuardrailsOutput) + }).(JobWebhookNotificationsOutput) } -// A block with configuration for input guardrail filters: -func (o ModelServingAiGatewayGuardrailsPtrOutput) Input() ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsInputType { +// (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. +// +// Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` +// +// Example +func (o JobWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return v.Input - }).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +} + +// (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. +func (o JobWebhookNotificationsPtrOutput) OnFailures() JobWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnFailure { + if v == nil { + return nil + } + return v.OnFailures + }).(JobWebhookNotificationsOnFailureArrayOutput) +} + +// (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. +func (o JobWebhookNotificationsPtrOutput) OnStarts() JobWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnStart { + if v == nil { + return nil + } + return v.OnStarts + }).(JobWebhookNotificationsOnStartArrayOutput) +} + +func (o JobWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnStreamingBacklogExceeded { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +} + +// (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. +func (o JobWebhookNotificationsPtrOutput) OnSuccesses() JobWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *JobWebhookNotifications) []JobWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(JobWebhookNotificationsOnSuccessArrayOutput) +} + +type JobWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // ID of the job + Id string `pulumi:"id"` +} + +// JobWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts JobWebhookNotificationsOnDurationWarningThresholdExceededArgs and JobWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// +// JobWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type JobWebhookNotificationsOnDurationWarningThresholdExceededInput interface { + pulumi.Input + + ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput +} + +type JobWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` +} + +func (JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -// A block with configuration for output guardrail filters. Has the same structure as `input` block. -func (o ModelServingAiGatewayGuardrailsPtrOutput) Output() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsOutputType { - if v == nil { - return nil - } - return v.Output - }).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) +func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -type ModelServingAiGatewayGuardrailsInputType struct { - // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - InvalidKeywords []string `pulumi:"invalidKeywords"` - // Block with configuration for guardrail PII filter: - Pii *ModelServingAiGatewayGuardrailsInputPii `pulumi:"pii"` - // the boolean flag that indicates whether the safety filter is enabled. - Safety *bool `pulumi:"safety"` - // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. - ValidTopics []string `pulumi:"validTopics"` +func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -// ModelServingAiGatewayGuardrailsInputTypeInput is an input type that accepts ModelServingAiGatewayGuardrailsInputTypeArgs and ModelServingAiGatewayGuardrailsInputTypeOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputTypeInput` via: +// JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts JobWebhookNotificationsOnDurationWarningThresholdExceededArray and JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: // -// ModelServingAiGatewayGuardrailsInputTypeArgs{...} -type ModelServingAiGatewayGuardrailsInputTypeInput interface { +// JobWebhookNotificationsOnDurationWarningThresholdExceededArray{ JobWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type JobWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsInputTypeOutput() ModelServingAiGatewayGuardrailsInputTypeOutput - ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputTypeOutput + ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -type ModelServingAiGatewayGuardrailsInputTypeArgs struct { - // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - InvalidKeywords pulumi.StringArrayInput `pulumi:"invalidKeywords"` - // Block with configuration for guardrail PII filter: - Pii ModelServingAiGatewayGuardrailsInputPiiPtrInput `pulumi:"pii"` - // the boolean flag that indicates whether the safety filter is enabled. - Safety pulumi.BoolPtrInput `pulumi:"safety"` - // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. - ValidTopics pulumi.StringArrayInput `pulumi:"validTopics"` -} +type JobWebhookNotificationsOnDurationWarningThresholdExceededArray []JobWebhookNotificationsOnDurationWarningThresholdExceededInput -func (ModelServingAiGatewayGuardrailsInputTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() +func (JobWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypeOutput() ModelServingAiGatewayGuardrailsInputTypeOutput { - return i.ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(context.Background()) +func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputTypeOutput) +func (i JobWebhookNotificationsOnDurationWarningThresholdExceededArray) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return i.ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Background()) +type JobWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } + +func (JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputTypeOutput).ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx) +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o } -// ModelServingAiGatewayGuardrailsInputTypePtrInput is an input type that accepts ModelServingAiGatewayGuardrailsInputTypeArgs, ModelServingAiGatewayGuardrailsInputTypePtr and ModelServingAiGatewayGuardrailsInputTypePtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputTypePtrInput` via: -// -// ModelServingAiGatewayGuardrailsInputTypeArgs{...} -// -// or: -// -// nil -type ModelServingAiGatewayGuardrailsInputTypePtrInput interface { - pulumi.Input +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o +} - ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput - ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput +// ID of the job +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnDurationWarningThresholdExceeded) string { return v.Id }).(pulumi.StringOutput) } -type modelServingAiGatewayGuardrailsInputTypePtrType ModelServingAiGatewayGuardrailsInputTypeArgs +type JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func ModelServingAiGatewayGuardrailsInputTypePtr(v *ModelServingAiGatewayGuardrailsInputTypeArgs) ModelServingAiGatewayGuardrailsInputTypePtrInput { - return (*modelServingAiGatewayGuardrailsInputTypePtrType)(v) +func (JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (*modelServingAiGatewayGuardrailsInputTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o } -func (i *modelServingAiGatewayGuardrailsInputTypePtrType) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return i.ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Background()) +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToJobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o } -func (i *modelServingAiGatewayGuardrailsInputTypePtrType) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) +func (o JobWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]JobWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(JobWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -type ModelServingAiGatewayGuardrailsInputTypeOutput struct{ *pulumi.OutputState } +type JobWebhookNotificationsOnFailure struct { + // ID of the job + Id string `pulumi:"id"` +} -func (ModelServingAiGatewayGuardrailsInputTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() +// JobWebhookNotificationsOnFailureInput is an input type that accepts JobWebhookNotificationsOnFailureArgs and JobWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnFailureInput` via: +// +// JobWebhookNotificationsOnFailureArgs{...} +type JobWebhookNotificationsOnFailureInput interface { + pulumi.Input + + ToJobWebhookNotificationsOnFailureOutput() JobWebhookNotificationsOnFailureOutput + ToJobWebhookNotificationsOnFailureOutputWithContext(context.Context) JobWebhookNotificationsOnFailureOutput } -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypeOutput() ModelServingAiGatewayGuardrailsInputTypeOutput { - return o +type JobWebhookNotificationsOnFailureArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypeOutput { - return o +func (JobWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnFailure)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return o.ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Background()) +func (i JobWebhookNotificationsOnFailureArgs) ToJobWebhookNotificationsOnFailureOutput() JobWebhookNotificationsOnFailureOutput { + return i.ToJobWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsInputType) *ModelServingAiGatewayGuardrailsInputType { - return &v - }).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) +func (i JobWebhookNotificationsOnFailureArgs) ToJobWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnFailureOutput) } -// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) InvalidKeywords() pulumi.StringArrayOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) []string { return v.InvalidKeywords }).(pulumi.StringArrayOutput) +// JobWebhookNotificationsOnFailureArrayInput is an input type that accepts JobWebhookNotificationsOnFailureArray and JobWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnFailureArrayInput` via: +// +// JobWebhookNotificationsOnFailureArray{ JobWebhookNotificationsOnFailureArgs{...} } +type JobWebhookNotificationsOnFailureArrayInput interface { + pulumi.Input + + ToJobWebhookNotificationsOnFailureArrayOutput() JobWebhookNotificationsOnFailureArrayOutput + ToJobWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) JobWebhookNotificationsOnFailureArrayOutput } -// Block with configuration for guardrail PII filter: -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) Pii() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) *ModelServingAiGatewayGuardrailsInputPii { - return v.Pii - }).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) +type JobWebhookNotificationsOnFailureArray []JobWebhookNotificationsOnFailureInput + +func (JobWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnFailure)(nil)).Elem() } -// the boolean flag that indicates whether the safety filter is enabled. -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) Safety() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) *bool { return v.Safety }).(pulumi.BoolPtrOutput) +func (i JobWebhookNotificationsOnFailureArray) ToJobWebhookNotificationsOnFailureArrayOutput() JobWebhookNotificationsOnFailureArrayOutput { + return i.ToJobWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. -func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ValidTopics() pulumi.StringArrayOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) []string { return v.ValidTopics }).(pulumi.StringArrayOutput) +func (i JobWebhookNotificationsOnFailureArray) ToJobWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnFailureArrayOutput) } -type ModelServingAiGatewayGuardrailsInputTypePtrOutput struct{ *pulumi.OutputState } +type JobWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayGuardrailsInputTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() +func (JobWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnFailure)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { +func (o JobWebhookNotificationsOnFailureOutput) ToJobWebhookNotificationsOnFailureOutput() JobWebhookNotificationsOnFailureOutput { return o } -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { +func (o JobWebhookNotificationsOnFailureOutput) ToJobWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureOutput { return o } -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) Elem() ModelServingAiGatewayGuardrailsInputTypeOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) ModelServingAiGatewayGuardrailsInputType { - if v != nil { - return *v - } - var ret ModelServingAiGatewayGuardrailsInputType - return ret - }).(ModelServingAiGatewayGuardrailsInputTypeOutput) +// ID of the job +func (o JobWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) InvalidKeywords() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) []string { - if v == nil { - return nil - } - return v.InvalidKeywords - }).(pulumi.StringArrayOutput) +type JobWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } + +func (JobWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnFailure)(nil)).Elem() } -// Block with configuration for guardrail PII filter: -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) Pii() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) *ModelServingAiGatewayGuardrailsInputPii { - if v == nil { - return nil - } - return v.Pii - }).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) +func (o JobWebhookNotificationsOnFailureArrayOutput) ToJobWebhookNotificationsOnFailureArrayOutput() JobWebhookNotificationsOnFailureArrayOutput { + return o } -// the boolean flag that indicates whether the safety filter is enabled. -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) Safety() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) *bool { - if v == nil { - return nil - } - return v.Safety - }).(pulumi.BoolPtrOutput) +func (o JobWebhookNotificationsOnFailureArrayOutput) ToJobWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnFailureArrayOutput { + return o } -// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. -func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) ValidTopics() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) []string { - if v == nil { - return nil - } - return v.ValidTopics - }).(pulumi.StringArrayOutput) +func (o JobWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnFailure { + return vs[0].([]JobWebhookNotificationsOnFailure)[vs[1].(int)] + }).(JobWebhookNotificationsOnFailureOutput) } -type ModelServingAiGatewayGuardrailsInputPii struct { - // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - Behavior string `pulumi:"behavior"` +type JobWebhookNotificationsOnStart struct { + // ID of the job + Id string `pulumi:"id"` } -// ModelServingAiGatewayGuardrailsInputPiiInput is an input type that accepts ModelServingAiGatewayGuardrailsInputPiiArgs and ModelServingAiGatewayGuardrailsInputPiiOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputPiiInput` via: +// JobWebhookNotificationsOnStartInput is an input type that accepts JobWebhookNotificationsOnStartArgs and JobWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnStartInput` via: // -// ModelServingAiGatewayGuardrailsInputPiiArgs{...} -type ModelServingAiGatewayGuardrailsInputPiiInput interface { +// JobWebhookNotificationsOnStartArgs{...} +type JobWebhookNotificationsOnStartInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsInputPiiOutput() ModelServingAiGatewayGuardrailsInputPiiOutput - ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputPiiOutput -} - -type ModelServingAiGatewayGuardrailsInputPiiArgs struct { - // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - Behavior pulumi.StringInput `pulumi:"behavior"` -} - -func (ModelServingAiGatewayGuardrailsInputPiiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() + ToJobWebhookNotificationsOnStartOutput() JobWebhookNotificationsOnStartOutput + ToJobWebhookNotificationsOnStartOutputWithContext(context.Context) JobWebhookNotificationsOnStartOutput } -func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiOutput() ModelServingAiGatewayGuardrailsInputPiiOutput { - return i.ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(context.Background()) +type JobWebhookNotificationsOnStartArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputPiiOutput) +func (JobWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnStart)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return i.ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Background()) +func (i JobWebhookNotificationsOnStartArgs) ToJobWebhookNotificationsOnStartOutput() JobWebhookNotificationsOnStartOutput { + return i.ToJobWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputPiiOutput).ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx) +func (i JobWebhookNotificationsOnStartArgs) ToJobWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStartOutput) } -// ModelServingAiGatewayGuardrailsInputPiiPtrInput is an input type that accepts ModelServingAiGatewayGuardrailsInputPiiArgs, ModelServingAiGatewayGuardrailsInputPiiPtr and ModelServingAiGatewayGuardrailsInputPiiPtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputPiiPtrInput` via: -// -// ModelServingAiGatewayGuardrailsInputPiiArgs{...} -// -// or: +// JobWebhookNotificationsOnStartArrayInput is an input type that accepts JobWebhookNotificationsOnStartArray and JobWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnStartArrayInput` via: // -// nil -type ModelServingAiGatewayGuardrailsInputPiiPtrInput interface { +// JobWebhookNotificationsOnStartArray{ JobWebhookNotificationsOnStartArgs{...} } +type JobWebhookNotificationsOnStartArrayInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput - ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput + ToJobWebhookNotificationsOnStartArrayOutput() JobWebhookNotificationsOnStartArrayOutput + ToJobWebhookNotificationsOnStartArrayOutputWithContext(context.Context) JobWebhookNotificationsOnStartArrayOutput } -type modelServingAiGatewayGuardrailsInputPiiPtrType ModelServingAiGatewayGuardrailsInputPiiArgs - -func ModelServingAiGatewayGuardrailsInputPiiPtr(v *ModelServingAiGatewayGuardrailsInputPiiArgs) ModelServingAiGatewayGuardrailsInputPiiPtrInput { - return (*modelServingAiGatewayGuardrailsInputPiiPtrType)(v) -} +type JobWebhookNotificationsOnStartArray []JobWebhookNotificationsOnStartInput -func (*modelServingAiGatewayGuardrailsInputPiiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() +func (JobWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnStart)(nil)).Elem() } -func (i *modelServingAiGatewayGuardrailsInputPiiPtrType) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return i.ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Background()) +func (i JobWebhookNotificationsOnStartArray) ToJobWebhookNotificationsOnStartArrayOutput() JobWebhookNotificationsOnStartArrayOutput { + return i.ToJobWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (i *modelServingAiGatewayGuardrailsInputPiiPtrType) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) +func (i JobWebhookNotificationsOnStartArray) ToJobWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStartArrayOutput) } -type ModelServingAiGatewayGuardrailsInputPiiOutput struct{ *pulumi.OutputState } +type JobWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayGuardrailsInputPiiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() +func (JobWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnStart)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiOutput() ModelServingAiGatewayGuardrailsInputPiiOutput { +func (o JobWebhookNotificationsOnStartOutput) ToJobWebhookNotificationsOnStartOutput() JobWebhookNotificationsOnStartOutput { return o } -func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiOutput { +func (o JobWebhookNotificationsOnStartOutput) ToJobWebhookNotificationsOnStartOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartOutput { return o } -func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return o.ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Background()) +// ID of the job +func (o JobWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsInputPii) *ModelServingAiGatewayGuardrailsInputPii { - return &v - }).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) +type JobWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } + +func (JobWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnStart)(nil)).Elem() } -// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. -func (o ModelServingAiGatewayGuardrailsInputPiiOutput) Behavior() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputPii) string { return v.Behavior }).(pulumi.StringOutput) +func (o JobWebhookNotificationsOnStartArrayOutput) ToJobWebhookNotificationsOnStartArrayOutput() JobWebhookNotificationsOnStartArrayOutput { + return o } -type ModelServingAiGatewayGuardrailsInputPiiPtrOutput struct{ *pulumi.OutputState } +func (o JobWebhookNotificationsOnStartArrayOutput) ToJobWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStartArrayOutput { + return o +} -func (ModelServingAiGatewayGuardrailsInputPiiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() +func (o JobWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnStart { + return vs[0].([]JobWebhookNotificationsOnStart)[vs[1].(int)] + }).(JobWebhookNotificationsOnStartOutput) } -func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return o +type JobWebhookNotificationsOnStreamingBacklogExceeded struct { + // ID of the job + Id string `pulumi:"id"` } -func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { - return o +// JobWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts JobWebhookNotificationsOnStreamingBacklogExceededArgs and JobWebhookNotificationsOnStreamingBacklogExceededOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnStreamingBacklogExceededInput` via: +// +// JobWebhookNotificationsOnStreamingBacklogExceededArgs{...} +type JobWebhookNotificationsOnStreamingBacklogExceededInput interface { + pulumi.Input + + ToJobWebhookNotificationsOnStreamingBacklogExceededOutput() JobWebhookNotificationsOnStreamingBacklogExceededOutput + ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) JobWebhookNotificationsOnStreamingBacklogExceededOutput } -func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) Elem() ModelServingAiGatewayGuardrailsInputPiiOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputPii) ModelServingAiGatewayGuardrailsInputPii { - if v != nil { - return *v - } - var ret ModelServingAiGatewayGuardrailsInputPii - return ret - }).(ModelServingAiGatewayGuardrailsInputPiiOutput) +type JobWebhookNotificationsOnStreamingBacklogExceededArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` } -// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. -func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) Behavior() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputPii) *string { - if v == nil { - return nil - } - return &v.Behavior - }).(pulumi.StringPtrOutput) +func (JobWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -type ModelServingAiGatewayGuardrailsOutputType struct { - // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - InvalidKeywords []string `pulumi:"invalidKeywords"` - // Block with configuration for guardrail PII filter: - Pii *ModelServingAiGatewayGuardrailsOutputPii `pulumi:"pii"` - // the boolean flag that indicates whether the safety filter is enabled. - Safety *bool `pulumi:"safety"` - // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. - ValidTopics []string `pulumi:"validTopics"` +func (i JobWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobWebhookNotificationsOnStreamingBacklogExceededOutput() JobWebhookNotificationsOnStreamingBacklogExceededOutput { + return i.ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) } -// ModelServingAiGatewayGuardrailsOutputTypeInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputTypeArgs and ModelServingAiGatewayGuardrailsOutputTypeOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputTypeInput` via: +func (i JobWebhookNotificationsOnStreamingBacklogExceededArgs) ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStreamingBacklogExceededOutput) +} + +// JobWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts JobWebhookNotificationsOnStreamingBacklogExceededArray and JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: // -// ModelServingAiGatewayGuardrailsOutputTypeArgs{...} -type ModelServingAiGatewayGuardrailsOutputTypeInput interface { +// JobWebhookNotificationsOnStreamingBacklogExceededArray{ JobWebhookNotificationsOnStreamingBacklogExceededArgs{...} } +type JobWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsOutputTypeOutput() ModelServingAiGatewayGuardrailsOutputTypeOutput - ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputTypeOutput + ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput } -type ModelServingAiGatewayGuardrailsOutputTypeArgs struct { - // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - InvalidKeywords pulumi.StringArrayInput `pulumi:"invalidKeywords"` - // Block with configuration for guardrail PII filter: - Pii ModelServingAiGatewayGuardrailsOutputPiiPtrInput `pulumi:"pii"` - // the boolean flag that indicates whether the safety filter is enabled. - Safety pulumi.BoolPtrInput `pulumi:"safety"` - // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. - ValidTopics pulumi.StringArrayInput `pulumi:"validTopics"` -} +type JobWebhookNotificationsOnStreamingBacklogExceededArray []JobWebhookNotificationsOnStreamingBacklogExceededInput -func (ModelServingAiGatewayGuardrailsOutputTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() +func (JobWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypeOutput() ModelServingAiGatewayGuardrailsOutputTypeOutput { - return i.ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(context.Background()) +func (i JobWebhookNotificationsOnStreamingBacklogExceededArray) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return i.ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputTypeOutput) +func (i JobWebhookNotificationsOnStreamingBacklogExceededArray) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return i.ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Background()) +type JobWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } + +func (JobWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputTypeOutput).ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx) +func (o JobWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededOutput() JobWebhookNotificationsOnStreamingBacklogExceededOutput { + return o } -// ModelServingAiGatewayGuardrailsOutputTypePtrInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputTypeArgs, ModelServingAiGatewayGuardrailsOutputTypePtr and ModelServingAiGatewayGuardrailsOutputTypePtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputTypePtrInput` via: -// -// ModelServingAiGatewayGuardrailsOutputTypeArgs{...} -// -// or: -// -// nil -type ModelServingAiGatewayGuardrailsOutputTypePtrInput interface { - pulumi.Input +func (o JobWebhookNotificationsOnStreamingBacklogExceededOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededOutput { + return o +} - ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput - ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput +// ID of the job +func (o JobWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) } -type modelServingAiGatewayGuardrailsOutputTypePtrType ModelServingAiGatewayGuardrailsOutputTypeArgs +type JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } -func ModelServingAiGatewayGuardrailsOutputTypePtr(v *ModelServingAiGatewayGuardrailsOutputTypeArgs) ModelServingAiGatewayGuardrailsOutputTypePtrInput { - return (*modelServingAiGatewayGuardrailsOutputTypePtrType)(v) +func (JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (*modelServingAiGatewayGuardrailsOutputTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() +func (o JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutput() JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o } -func (i *modelServingAiGatewayGuardrailsOutputTypePtrType) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return i.ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Background()) +func (o JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToJobWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o } -func (i *modelServingAiGatewayGuardrailsOutputTypePtrType) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) +func (o JobWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnStreamingBacklogExceeded { + return vs[0].([]JobWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] + }).(JobWebhookNotificationsOnStreamingBacklogExceededOutput) } -type ModelServingAiGatewayGuardrailsOutputTypeOutput struct{ *pulumi.OutputState } +type JobWebhookNotificationsOnSuccess struct { + // ID of the job + Id string `pulumi:"id"` +} -func (ModelServingAiGatewayGuardrailsOutputTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() +// JobWebhookNotificationsOnSuccessInput is an input type that accepts JobWebhookNotificationsOnSuccessArgs and JobWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnSuccessInput` via: +// +// JobWebhookNotificationsOnSuccessArgs{...} +type JobWebhookNotificationsOnSuccessInput interface { + pulumi.Input + + ToJobWebhookNotificationsOnSuccessOutput() JobWebhookNotificationsOnSuccessOutput + ToJobWebhookNotificationsOnSuccessOutputWithContext(context.Context) JobWebhookNotificationsOnSuccessOutput } -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypeOutput() ModelServingAiGatewayGuardrailsOutputTypeOutput { - return o +type JobWebhookNotificationsOnSuccessArgs struct { + // ID of the job + Id pulumi.StringInput `pulumi:"id"` +} + +func (JobWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypeOutput { - return o +func (i JobWebhookNotificationsOnSuccessArgs) ToJobWebhookNotificationsOnSuccessOutput() JobWebhookNotificationsOnSuccessOutput { + return i.ToJobWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return o.ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Background()) +func (i JobWebhookNotificationsOnSuccessArgs) ToJobWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnSuccessOutput) } -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsOutputType) *ModelServingAiGatewayGuardrailsOutputType { - return &v - }).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) -} +// JobWebhookNotificationsOnSuccessArrayInput is an input type that accepts JobWebhookNotificationsOnSuccessArray and JobWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `JobWebhookNotificationsOnSuccessArrayInput` via: +// +// JobWebhookNotificationsOnSuccessArray{ JobWebhookNotificationsOnSuccessArgs{...} } +type JobWebhookNotificationsOnSuccessArrayInput interface { + pulumi.Input -// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) InvalidKeywords() pulumi.StringArrayOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) []string { return v.InvalidKeywords }).(pulumi.StringArrayOutput) + ToJobWebhookNotificationsOnSuccessArrayOutput() JobWebhookNotificationsOnSuccessArrayOutput + ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) JobWebhookNotificationsOnSuccessArrayOutput } -// Block with configuration for guardrail PII filter: -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) Pii() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) *ModelServingAiGatewayGuardrailsOutputPii { - return v.Pii - }).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) +type JobWebhookNotificationsOnSuccessArray []JobWebhookNotificationsOnSuccessInput + +func (JobWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnSuccess)(nil)).Elem() } -// the boolean flag that indicates whether the safety filter is enabled. -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) Safety() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) *bool { return v.Safety }).(pulumi.BoolPtrOutput) +func (i JobWebhookNotificationsOnSuccessArray) ToJobWebhookNotificationsOnSuccessArrayOutput() JobWebhookNotificationsOnSuccessArrayOutput { + return i.ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. -func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ValidTopics() pulumi.StringArrayOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) []string { return v.ValidTopics }).(pulumi.StringArrayOutput) +func (i JobWebhookNotificationsOnSuccessArray) ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(JobWebhookNotificationsOnSuccessArrayOutput) } -type ModelServingAiGatewayGuardrailsOutputTypePtrOutput struct{ *pulumi.OutputState } +type JobWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() +func (JobWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*JobWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { +func (o JobWebhookNotificationsOnSuccessOutput) ToJobWebhookNotificationsOnSuccessOutput() JobWebhookNotificationsOnSuccessOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { +func (o JobWebhookNotificationsOnSuccessOutput) ToJobWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) Elem() ModelServingAiGatewayGuardrailsOutputTypeOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) ModelServingAiGatewayGuardrailsOutputType { - if v != nil { - return *v - } - var ret ModelServingAiGatewayGuardrailsOutputType - return ret - }).(ModelServingAiGatewayGuardrailsOutputTypeOutput) +// ID of the job +func (o JobWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v JobWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) InvalidKeywords() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) []string { - if v == nil { - return nil - } - return v.InvalidKeywords - }).(pulumi.StringArrayOutput) +type JobWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } + +func (JobWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]JobWebhookNotificationsOnSuccess)(nil)).Elem() } -// Block with configuration for guardrail PII filter: -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) Pii() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) *ModelServingAiGatewayGuardrailsOutputPii { - if v == nil { - return nil - } - return v.Pii - }).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) +func (o JobWebhookNotificationsOnSuccessArrayOutput) ToJobWebhookNotificationsOnSuccessArrayOutput() JobWebhookNotificationsOnSuccessArrayOutput { + return o } -// the boolean flag that indicates whether the safety filter is enabled. -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) Safety() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) *bool { - if v == nil { - return nil - } - return v.Safety - }).(pulumi.BoolPtrOutput) +func (o JobWebhookNotificationsOnSuccessArrayOutput) ToJobWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) JobWebhookNotificationsOnSuccessArrayOutput { + return o } -// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. -func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ValidTopics() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) []string { - if v == nil { - return nil - } - return v.ValidTopics - }).(pulumi.StringArrayOutput) +func (o JobWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) JobWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobWebhookNotificationsOnSuccess { + return vs[0].([]JobWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(JobWebhookNotificationsOnSuccessOutput) } -type ModelServingAiGatewayGuardrailsOutputPii struct { - // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - Behavior string `pulumi:"behavior"` +type LakehouseMonitorCustomMetric struct { + // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Definition string `pulumi:"definition"` + // Columns on the monitored table to apply the custom metrics to. + InputColumns []string `pulumi:"inputColumns"` + // Name of the custom metric. + Name string `pulumi:"name"` + // The output type of the custom metric. + OutputDataType string `pulumi:"outputDataType"` + // The type of the custom metric. + Type string `pulumi:"type"` } -// ModelServingAiGatewayGuardrailsOutputPiiInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputPiiArgs and ModelServingAiGatewayGuardrailsOutputPiiOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputPiiInput` via: +// LakehouseMonitorCustomMetricInput is an input type that accepts LakehouseMonitorCustomMetricArgs and LakehouseMonitorCustomMetricOutput values. +// You can construct a concrete instance of `LakehouseMonitorCustomMetricInput` via: // -// ModelServingAiGatewayGuardrailsOutputPiiArgs{...} -type ModelServingAiGatewayGuardrailsOutputPiiInput interface { +// LakehouseMonitorCustomMetricArgs{...} +type LakehouseMonitorCustomMetricInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsOutputPiiOutput() ModelServingAiGatewayGuardrailsOutputPiiOutput - ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputPiiOutput -} - -type ModelServingAiGatewayGuardrailsOutputPiiArgs struct { - // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - Behavior pulumi.StringInput `pulumi:"behavior"` -} - -func (ModelServingAiGatewayGuardrailsOutputPiiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() + ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput + ToLakehouseMonitorCustomMetricOutputWithContext(context.Context) LakehouseMonitorCustomMetricOutput } -func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiOutput() ModelServingAiGatewayGuardrailsOutputPiiOutput { - return i.ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(context.Background()) +type LakehouseMonitorCustomMetricArgs struct { + // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Definition pulumi.StringInput `pulumi:"definition"` + // Columns on the monitored table to apply the custom metrics to. + InputColumns pulumi.StringArrayInput `pulumi:"inputColumns"` + // Name of the custom metric. + Name pulumi.StringInput `pulumi:"name"` + // The output type of the custom metric. + OutputDataType pulumi.StringInput `pulumi:"outputDataType"` + // The type of the custom metric. + Type pulumi.StringInput `pulumi:"type"` } -func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputPiiOutput) +func (LakehouseMonitorCustomMetricArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorCustomMetric)(nil)).Elem() } -func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return i.ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorCustomMetricArgs) ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput { + return i.ToLakehouseMonitorCustomMetricOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputPiiOutput).ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx) +func (i LakehouseMonitorCustomMetricArgs) ToLakehouseMonitorCustomMetricOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorCustomMetricOutput) } -// ModelServingAiGatewayGuardrailsOutputPiiPtrInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputPiiArgs, ModelServingAiGatewayGuardrailsOutputPiiPtr and ModelServingAiGatewayGuardrailsOutputPiiPtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputPiiPtrInput` via: -// -// ModelServingAiGatewayGuardrailsOutputPiiArgs{...} -// -// or: +// LakehouseMonitorCustomMetricArrayInput is an input type that accepts LakehouseMonitorCustomMetricArray and LakehouseMonitorCustomMetricArrayOutput values. +// You can construct a concrete instance of `LakehouseMonitorCustomMetricArrayInput` via: // -// nil -type ModelServingAiGatewayGuardrailsOutputPiiPtrInput interface { +// LakehouseMonitorCustomMetricArray{ LakehouseMonitorCustomMetricArgs{...} } +type LakehouseMonitorCustomMetricArrayInput interface { pulumi.Input - ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput - ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput + ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput + ToLakehouseMonitorCustomMetricArrayOutputWithContext(context.Context) LakehouseMonitorCustomMetricArrayOutput } -type modelServingAiGatewayGuardrailsOutputPiiPtrType ModelServingAiGatewayGuardrailsOutputPiiArgs - -func ModelServingAiGatewayGuardrailsOutputPiiPtr(v *ModelServingAiGatewayGuardrailsOutputPiiArgs) ModelServingAiGatewayGuardrailsOutputPiiPtrInput { - return (*modelServingAiGatewayGuardrailsOutputPiiPtrType)(v) -} +type LakehouseMonitorCustomMetricArray []LakehouseMonitorCustomMetricInput -func (*modelServingAiGatewayGuardrailsOutputPiiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() +func (LakehouseMonitorCustomMetricArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LakehouseMonitorCustomMetric)(nil)).Elem() } -func (i *modelServingAiGatewayGuardrailsOutputPiiPtrType) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return i.ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorCustomMetricArray) ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput { + return i.ToLakehouseMonitorCustomMetricArrayOutputWithContext(context.Background()) } -func (i *modelServingAiGatewayGuardrailsOutputPiiPtrType) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) +func (i LakehouseMonitorCustomMetricArray) ToLakehouseMonitorCustomMetricArrayOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorCustomMetricArrayOutput) } -type ModelServingAiGatewayGuardrailsOutputPiiOutput struct{ *pulumi.OutputState } +type LakehouseMonitorCustomMetricOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayGuardrailsOutputPiiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() +func (LakehouseMonitorCustomMetricOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorCustomMetric)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiOutput() ModelServingAiGatewayGuardrailsOutputPiiOutput { +func (o LakehouseMonitorCustomMetricOutput) ToLakehouseMonitorCustomMetricOutput() LakehouseMonitorCustomMetricOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiOutput { +func (o LakehouseMonitorCustomMetricOutput) ToLakehouseMonitorCustomMetricOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return o.ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Background()) +// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) +func (o LakehouseMonitorCustomMetricOutput) Definition() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.Definition }).(pulumi.StringOutput) } -func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsOutputPii) *ModelServingAiGatewayGuardrailsOutputPii { - return &v - }).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) +// Columns on the monitored table to apply the custom metrics to. +func (o LakehouseMonitorCustomMetricOutput) InputColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) []string { return v.InputColumns }).(pulumi.StringArrayOutput) } -// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. -func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) Behavior() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputPii) string { return v.Behavior }).(pulumi.StringOutput) +// Name of the custom metric. +func (o LakehouseMonitorCustomMetricOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.Name }).(pulumi.StringOutput) } -type ModelServingAiGatewayGuardrailsOutputPiiPtrOutput struct{ *pulumi.OutputState } +// The output type of the custom metric. +func (o LakehouseMonitorCustomMetricOutput) OutputDataType() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.OutputDataType }).(pulumi.StringOutput) +} -func (ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() +// The type of the custom metric. +func (o LakehouseMonitorCustomMetricOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorCustomMetric) string { return v.Type }).(pulumi.StringOutput) } -func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { - return o +type LakehouseMonitorCustomMetricArrayOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorCustomMetricArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LakehouseMonitorCustomMetric)(nil)).Elem() } -func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { +func (o LakehouseMonitorCustomMetricArrayOutput) ToLakehouseMonitorCustomMetricArrayOutput() LakehouseMonitorCustomMetricArrayOutput { return o } -func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) Elem() ModelServingAiGatewayGuardrailsOutputPiiOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputPii) ModelServingAiGatewayGuardrailsOutputPii { - if v != nil { - return *v - } - var ret ModelServingAiGatewayGuardrailsOutputPii - return ret - }).(ModelServingAiGatewayGuardrailsOutputPiiOutput) +func (o LakehouseMonitorCustomMetricArrayOutput) ToLakehouseMonitorCustomMetricArrayOutputWithContext(ctx context.Context) LakehouseMonitorCustomMetricArrayOutput { + return o } -// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. -func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) Behavior() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputPii) *string { - if v == nil { - return nil - } - return &v.Behavior - }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorCustomMetricArrayOutput) Index(i pulumi.IntInput) LakehouseMonitorCustomMetricOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LakehouseMonitorCustomMetric { + return vs[0].([]LakehouseMonitorCustomMetric)[vs[1].(int)] + }).(LakehouseMonitorCustomMetricOutput) } -type ModelServingAiGatewayInferenceTableConfig struct { - // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - CatalogName *string `pulumi:"catalogName"` - // boolean flag specifying if usage tracking is enabled. +type LakehouseMonitorDataClassificationConfig struct { Enabled *bool `pulumi:"enabled"` - // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - SchemaName *string `pulumi:"schemaName"` - // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. - TableNamePrefix *string `pulumi:"tableNamePrefix"` } -// ModelServingAiGatewayInferenceTableConfigInput is an input type that accepts ModelServingAiGatewayInferenceTableConfigArgs and ModelServingAiGatewayInferenceTableConfigOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayInferenceTableConfigInput` via: +// LakehouseMonitorDataClassificationConfigInput is an input type that accepts LakehouseMonitorDataClassificationConfigArgs and LakehouseMonitorDataClassificationConfigOutput values. +// You can construct a concrete instance of `LakehouseMonitorDataClassificationConfigInput` via: // -// ModelServingAiGatewayInferenceTableConfigArgs{...} -type ModelServingAiGatewayInferenceTableConfigInput interface { +// LakehouseMonitorDataClassificationConfigArgs{...} +type LakehouseMonitorDataClassificationConfigInput interface { pulumi.Input - ToModelServingAiGatewayInferenceTableConfigOutput() ModelServingAiGatewayInferenceTableConfigOutput - ToModelServingAiGatewayInferenceTableConfigOutputWithContext(context.Context) ModelServingAiGatewayInferenceTableConfigOutput + ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput + ToLakehouseMonitorDataClassificationConfigOutputWithContext(context.Context) LakehouseMonitorDataClassificationConfigOutput } -type ModelServingAiGatewayInferenceTableConfigArgs struct { - // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` - // boolean flag specifying if usage tracking is enabled. +type LakehouseMonitorDataClassificationConfigArgs struct { Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` - // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. - TableNamePrefix pulumi.StringPtrInput `pulumi:"tableNamePrefix"` } -func (ModelServingAiGatewayInferenceTableConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() +func (LakehouseMonitorDataClassificationConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigOutput() ModelServingAiGatewayInferenceTableConfigOutput { - return i.ToModelServingAiGatewayInferenceTableConfigOutputWithContext(context.Background()) +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput { + return i.ToLakehouseMonitorDataClassificationConfigOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayInferenceTableConfigOutput) +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigOutput) } -func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { - return i.ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { + return i.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayInferenceTableConfigOutput).ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx) +func (i LakehouseMonitorDataClassificationConfigArgs) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigOutput).ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx) } -// ModelServingAiGatewayInferenceTableConfigPtrInput is an input type that accepts ModelServingAiGatewayInferenceTableConfigArgs, ModelServingAiGatewayInferenceTableConfigPtr and ModelServingAiGatewayInferenceTableConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayInferenceTableConfigPtrInput` via: +// LakehouseMonitorDataClassificationConfigPtrInput is an input type that accepts LakehouseMonitorDataClassificationConfigArgs, LakehouseMonitorDataClassificationConfigPtr and LakehouseMonitorDataClassificationConfigPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorDataClassificationConfigPtrInput` via: // -// ModelServingAiGatewayInferenceTableConfigArgs{...} +// LakehouseMonitorDataClassificationConfigArgs{...} // // or: // // nil -type ModelServingAiGatewayInferenceTableConfigPtrInput interface { +type LakehouseMonitorDataClassificationConfigPtrInput interface { pulumi.Input - ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput - ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput + ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput + ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Context) LakehouseMonitorDataClassificationConfigPtrOutput } -type modelServingAiGatewayInferenceTableConfigPtrType ModelServingAiGatewayInferenceTableConfigArgs +type lakehouseMonitorDataClassificationConfigPtrType LakehouseMonitorDataClassificationConfigArgs -func ModelServingAiGatewayInferenceTableConfigPtr(v *ModelServingAiGatewayInferenceTableConfigArgs) ModelServingAiGatewayInferenceTableConfigPtrInput { - return (*modelServingAiGatewayInferenceTableConfigPtrType)(v) +func LakehouseMonitorDataClassificationConfigPtr(v *LakehouseMonitorDataClassificationConfigArgs) LakehouseMonitorDataClassificationConfigPtrInput { + return (*lakehouseMonitorDataClassificationConfigPtrType)(v) } -func (*modelServingAiGatewayInferenceTableConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() +func (*lakehouseMonitorDataClassificationConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (i *modelServingAiGatewayInferenceTableConfigPtrType) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { - return i.ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorDataClassificationConfigPtrType) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { + return i.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (i *modelServingAiGatewayInferenceTableConfigPtrType) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayInferenceTableConfigPtrOutput) +func (i *lakehouseMonitorDataClassificationConfigPtrType) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorDataClassificationConfigPtrOutput) } -type ModelServingAiGatewayInferenceTableConfigOutput struct{ *pulumi.OutputState } +type LakehouseMonitorDataClassificationConfigOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayInferenceTableConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() +func (LakehouseMonitorDataClassificationConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigOutput() ModelServingAiGatewayInferenceTableConfigOutput { +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigOutput() LakehouseMonitorDataClassificationConfigOutput { return o } -func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigOutput { +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigOutput { return o } -func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { - return o.ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { + return o.ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayInferenceTableConfig) *ModelServingAiGatewayInferenceTableConfig { +func (o LakehouseMonitorDataClassificationConfigOutput) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorDataClassificationConfig) *LakehouseMonitorDataClassificationConfig { return &v - }).(ModelServingAiGatewayInferenceTableConfigPtrOutput) -} - -// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. -func (o ModelServingAiGatewayInferenceTableConfigOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) -} - -// boolean flag specifying if usage tracking is enabled. -func (o ModelServingAiGatewayInferenceTableConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. -func (o ModelServingAiGatewayInferenceTableConfigOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *string { return v.SchemaName }).(pulumi.StringPtrOutput) + }).(LakehouseMonitorDataClassificationConfigPtrOutput) } -// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. -func (o ModelServingAiGatewayInferenceTableConfigOutput) TableNamePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *string { return v.TableNamePrefix }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorDataClassificationConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LakehouseMonitorDataClassificationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type ModelServingAiGatewayInferenceTableConfigPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorDataClassificationConfigPtrOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayInferenceTableConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() +func (LakehouseMonitorDataClassificationConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorDataClassificationConfig)(nil)).Elem() } -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) ToLakehouseMonitorDataClassificationConfigPtrOutput() LakehouseMonitorDataClassificationConfigPtrOutput { return o } -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) ToLakehouseMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) LakehouseMonitorDataClassificationConfigPtrOutput { return o } -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) Elem() ModelServingAiGatewayInferenceTableConfigOutput { - return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) ModelServingAiGatewayInferenceTableConfig { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) Elem() LakehouseMonitorDataClassificationConfigOutput { + return o.ApplyT(func(v *LakehouseMonitorDataClassificationConfig) LakehouseMonitorDataClassificationConfig { if v != nil { return *v } - var ret ModelServingAiGatewayInferenceTableConfig + var ret LakehouseMonitorDataClassificationConfig return ret - }).(ModelServingAiGatewayInferenceTableConfigOutput) -} - -// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *string { - if v == nil { - return nil - } - return v.CatalogName - }).(pulumi.StringPtrOutput) + }).(LakehouseMonitorDataClassificationConfigOutput) } -// boolean flag specifying if usage tracking is enabled. -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *bool { +func (o LakehouseMonitorDataClassificationConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorDataClassificationConfig) *bool { if v == nil { return nil } @@ -51071,23301 +50291,23849 @@ func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) Enabled() pulumi.Boo }).(pulumi.BoolPtrOutput) } -// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *string { - if v == nil { - return nil - } - return v.SchemaName - }).(pulumi.StringPtrOutput) +type LakehouseMonitorInferenceLog struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities []string `pulumi:"granularities"` + // Column of the model label + LabelCol *string `pulumi:"labelCol"` + // Column of the model id or version + ModelIdCol string `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol string `pulumi:"predictionCol"` + // Column of the model prediction probabilities + PredictionProbaCol *string `pulumi:"predictionProbaCol"` + // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + ProblemType string `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol string `pulumi:"timestampCol"` +} + +// LakehouseMonitorInferenceLogInput is an input type that accepts LakehouseMonitorInferenceLogArgs and LakehouseMonitorInferenceLogOutput values. +// You can construct a concrete instance of `LakehouseMonitorInferenceLogInput` via: +// +// LakehouseMonitorInferenceLogArgs{...} +type LakehouseMonitorInferenceLogInput interface { + pulumi.Input + + ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput + ToLakehouseMonitorInferenceLogOutputWithContext(context.Context) LakehouseMonitorInferenceLogOutput +} + +type LakehouseMonitorInferenceLogArgs struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities pulumi.StringArrayInput `pulumi:"granularities"` + // Column of the model label + LabelCol pulumi.StringPtrInput `pulumi:"labelCol"` + // Column of the model id or version + ModelIdCol pulumi.StringInput `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol pulumi.StringInput `pulumi:"predictionCol"` + // Column of the model prediction probabilities + PredictionProbaCol pulumi.StringPtrInput `pulumi:"predictionProbaCol"` + // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + ProblemType pulumi.StringInput `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringInput `pulumi:"timestampCol"` +} + +func (LakehouseMonitorInferenceLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorInferenceLog)(nil)).Elem() +} + +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput { + return i.ToLakehouseMonitorInferenceLogOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogOutput) +} + +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { + return i.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) +} + +func (i LakehouseMonitorInferenceLogArgs) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogOutput).ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx) +} + +// LakehouseMonitorInferenceLogPtrInput is an input type that accepts LakehouseMonitorInferenceLogArgs, LakehouseMonitorInferenceLogPtr and LakehouseMonitorInferenceLogPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorInferenceLogPtrInput` via: +// +// LakehouseMonitorInferenceLogArgs{...} +// +// or: +// +// nil +type LakehouseMonitorInferenceLogPtrInput interface { + pulumi.Input + + ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput + ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Context) LakehouseMonitorInferenceLogPtrOutput +} + +type lakehouseMonitorInferenceLogPtrType LakehouseMonitorInferenceLogArgs + +func LakehouseMonitorInferenceLogPtr(v *LakehouseMonitorInferenceLogArgs) LakehouseMonitorInferenceLogPtrInput { + return (*lakehouseMonitorInferenceLogPtrType)(v) +} + +func (*lakehouseMonitorInferenceLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorInferenceLog)(nil)).Elem() +} + +func (i *lakehouseMonitorInferenceLogPtrType) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { + return i.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) } -// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. -func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) TableNamePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *string { - if v == nil { - return nil - } - return v.TableNamePrefix - }).(pulumi.StringPtrOutput) +func (i *lakehouseMonitorInferenceLogPtrType) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorInferenceLogPtrOutput) } -type ModelServingAiGatewayRateLimit struct { - // Used to specify how many calls are allowed for a key within the renewal_period. - Calls int `pulumi:"calls"` - // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. - Key *string `pulumi:"key"` - // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. - RenewalPeriod string `pulumi:"renewalPeriod"` -} +type LakehouseMonitorInferenceLogOutput struct{ *pulumi.OutputState } -// ModelServingAiGatewayRateLimitInput is an input type that accepts ModelServingAiGatewayRateLimitArgs and ModelServingAiGatewayRateLimitOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayRateLimitInput` via: -// -// ModelServingAiGatewayRateLimitArgs{...} -type ModelServingAiGatewayRateLimitInput interface { - pulumi.Input +func (LakehouseMonitorInferenceLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorInferenceLog)(nil)).Elem() +} - ToModelServingAiGatewayRateLimitOutput() ModelServingAiGatewayRateLimitOutput - ToModelServingAiGatewayRateLimitOutputWithContext(context.Context) ModelServingAiGatewayRateLimitOutput +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogOutput() LakehouseMonitorInferenceLogOutput { + return o } -type ModelServingAiGatewayRateLimitArgs struct { - // Used to specify how many calls are allowed for a key within the renewal_period. - Calls pulumi.IntInput `pulumi:"calls"` - // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. - Key pulumi.StringPtrInput `pulumi:"key"` - // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. - RenewalPeriod pulumi.StringInput `pulumi:"renewalPeriod"` +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogOutput { + return o } -func (ModelServingAiGatewayRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayRateLimit)(nil)).Elem() +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { + return o.ToLakehouseMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayRateLimitArgs) ToModelServingAiGatewayRateLimitOutput() ModelServingAiGatewayRateLimitOutput { - return i.ToModelServingAiGatewayRateLimitOutputWithContext(context.Background()) +func (o LakehouseMonitorInferenceLogOutput) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorInferenceLog) *LakehouseMonitorInferenceLog { + return &v + }).(LakehouseMonitorInferenceLogPtrOutput) } -func (i ModelServingAiGatewayRateLimitArgs) ToModelServingAiGatewayRateLimitOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayRateLimitOutput) +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o LakehouseMonitorInferenceLogOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) []string { return v.Granularities }).(pulumi.StringArrayOutput) } -// ModelServingAiGatewayRateLimitArrayInput is an input type that accepts ModelServingAiGatewayRateLimitArray and ModelServingAiGatewayRateLimitArrayOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayRateLimitArrayInput` via: -// -// ModelServingAiGatewayRateLimitArray{ ModelServingAiGatewayRateLimitArgs{...} } -type ModelServingAiGatewayRateLimitArrayInput interface { - pulumi.Input +// Column of the model label +func (o LakehouseMonitorInferenceLogOutput) LabelCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.LabelCol }).(pulumi.StringPtrOutput) +} - ToModelServingAiGatewayRateLimitArrayOutput() ModelServingAiGatewayRateLimitArrayOutput - ToModelServingAiGatewayRateLimitArrayOutputWithContext(context.Context) ModelServingAiGatewayRateLimitArrayOutput +// Column of the model id or version +func (o LakehouseMonitorInferenceLogOutput) ModelIdCol() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.ModelIdCol }).(pulumi.StringOutput) } -type ModelServingAiGatewayRateLimitArray []ModelServingAiGatewayRateLimitInput +// Column of the model prediction +func (o LakehouseMonitorInferenceLogOutput) PredictionCol() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.PredictionCol }).(pulumi.StringOutput) +} -func (ModelServingAiGatewayRateLimitArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingAiGatewayRateLimit)(nil)).Elem() +// Column of the model prediction probabilities +func (o LakehouseMonitorInferenceLogOutput) PredictionProbaCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) *string { return v.PredictionProbaCol }).(pulumi.StringPtrOutput) } -func (i ModelServingAiGatewayRateLimitArray) ToModelServingAiGatewayRateLimitArrayOutput() ModelServingAiGatewayRateLimitArrayOutput { - return i.ToModelServingAiGatewayRateLimitArrayOutputWithContext(context.Background()) +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o LakehouseMonitorInferenceLogOutput) ProblemType() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.ProblemType }).(pulumi.StringOutput) } -func (i ModelServingAiGatewayRateLimitArray) ToModelServingAiGatewayRateLimitArrayOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayRateLimitArrayOutput) +// Column of the timestamp of predictions +func (o LakehouseMonitorInferenceLogOutput) TimestampCol() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorInferenceLog) string { return v.TimestampCol }).(pulumi.StringOutput) } -type ModelServingAiGatewayRateLimitOutput struct{ *pulumi.OutputState } +type LakehouseMonitorInferenceLogPtrOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayRateLimit)(nil)).Elem() +func (LakehouseMonitorInferenceLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorInferenceLog)(nil)).Elem() } -func (o ModelServingAiGatewayRateLimitOutput) ToModelServingAiGatewayRateLimitOutput() ModelServingAiGatewayRateLimitOutput { +func (o LakehouseMonitorInferenceLogPtrOutput) ToLakehouseMonitorInferenceLogPtrOutput() LakehouseMonitorInferenceLogPtrOutput { return o } -func (o ModelServingAiGatewayRateLimitOutput) ToModelServingAiGatewayRateLimitOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitOutput { +func (o LakehouseMonitorInferenceLogPtrOutput) ToLakehouseMonitorInferenceLogPtrOutputWithContext(ctx context.Context) LakehouseMonitorInferenceLogPtrOutput { return o } -// Used to specify how many calls are allowed for a key within the renewal_period. -func (o ModelServingAiGatewayRateLimitOutput) Calls() pulumi.IntOutput { - return o.ApplyT(func(v ModelServingAiGatewayRateLimit) int { return v.Calls }).(pulumi.IntOutput) +func (o LakehouseMonitorInferenceLogPtrOutput) Elem() LakehouseMonitorInferenceLogOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) LakehouseMonitorInferenceLog { + if v != nil { + return *v + } + var ret LakehouseMonitorInferenceLog + return ret + }).(LakehouseMonitorInferenceLogOutput) } -// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. -func (o ModelServingAiGatewayRateLimitOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayRateLimit) *string { return v.Key }).(pulumi.StringPtrOutput) +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o LakehouseMonitorInferenceLogPtrOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) []string { + if v == nil { + return nil + } + return v.Granularities + }).(pulumi.StringArrayOutput) } -// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. -func (o ModelServingAiGatewayRateLimitOutput) RenewalPeriod() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingAiGatewayRateLimit) string { return v.RenewalPeriod }).(pulumi.StringOutput) +// Column of the model label +func (o LakehouseMonitorInferenceLogPtrOutput) LabelCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { + if v == nil { + return nil + } + return v.LabelCol + }).(pulumi.StringPtrOutput) } -type ModelServingAiGatewayRateLimitArrayOutput struct{ *pulumi.OutputState } +// Column of the model id or version +func (o LakehouseMonitorInferenceLogPtrOutput) ModelIdCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.ModelIdCol + }).(pulumi.StringPtrOutput) +} -func (ModelServingAiGatewayRateLimitArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingAiGatewayRateLimit)(nil)).Elem() +// Column of the model prediction +func (o LakehouseMonitorInferenceLogPtrOutput) PredictionCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.PredictionCol + }).(pulumi.StringPtrOutput) } -func (o ModelServingAiGatewayRateLimitArrayOutput) ToModelServingAiGatewayRateLimitArrayOutput() ModelServingAiGatewayRateLimitArrayOutput { - return o +// Column of the model prediction probabilities +func (o LakehouseMonitorInferenceLogPtrOutput) PredictionProbaCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { + if v == nil { + return nil + } + return v.PredictionProbaCol + }).(pulumi.StringPtrOutput) } -func (o ModelServingAiGatewayRateLimitArrayOutput) ToModelServingAiGatewayRateLimitArrayOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitArrayOutput { - return o +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o LakehouseMonitorInferenceLogPtrOutput) ProblemType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.ProblemType + }).(pulumi.StringPtrOutput) } -func (o ModelServingAiGatewayRateLimitArrayOutput) Index(i pulumi.IntInput) ModelServingAiGatewayRateLimitOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingAiGatewayRateLimit { - return vs[0].([]ModelServingAiGatewayRateLimit)[vs[1].(int)] - }).(ModelServingAiGatewayRateLimitOutput) +// Column of the timestamp of predictions +func (o LakehouseMonitorInferenceLogPtrOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorInferenceLog) *string { + if v == nil { + return nil + } + return &v.TimestampCol + }).(pulumi.StringPtrOutput) } -type ModelServingAiGatewayUsageTrackingConfig struct { - Enabled *bool `pulumi:"enabled"` +type LakehouseMonitorNotifications struct { + // who to send notifications to on monitor failure. + OnFailure *LakehouseMonitorNotificationsOnFailure `pulumi:"onFailure"` + // Who to send notifications to when new data classification tags are detected. + OnNewClassificationTagDetected *LakehouseMonitorNotificationsOnNewClassificationTagDetected `pulumi:"onNewClassificationTagDetected"` } -// ModelServingAiGatewayUsageTrackingConfigInput is an input type that accepts ModelServingAiGatewayUsageTrackingConfigArgs and ModelServingAiGatewayUsageTrackingConfigOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayUsageTrackingConfigInput` via: +// LakehouseMonitorNotificationsInput is an input type that accepts LakehouseMonitorNotificationsArgs and LakehouseMonitorNotificationsOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsInput` via: // -// ModelServingAiGatewayUsageTrackingConfigArgs{...} -type ModelServingAiGatewayUsageTrackingConfigInput interface { +// LakehouseMonitorNotificationsArgs{...} +type LakehouseMonitorNotificationsInput interface { pulumi.Input - ToModelServingAiGatewayUsageTrackingConfigOutput() ModelServingAiGatewayUsageTrackingConfigOutput - ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(context.Context) ModelServingAiGatewayUsageTrackingConfigOutput + ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput + ToLakehouseMonitorNotificationsOutputWithContext(context.Context) LakehouseMonitorNotificationsOutput } -type ModelServingAiGatewayUsageTrackingConfigArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type LakehouseMonitorNotificationsArgs struct { + // who to send notifications to on monitor failure. + OnFailure LakehouseMonitorNotificationsOnFailurePtrInput `pulumi:"onFailure"` + // Who to send notifications to when new data classification tags are detected. + OnNewClassificationTagDetected LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput `pulumi:"onNewClassificationTagDetected"` } -func (ModelServingAiGatewayUsageTrackingConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotifications)(nil)).Elem() } -func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigOutput() ModelServingAiGatewayUsageTrackingConfigOutput { - return i.ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput { + return i.ToLakehouseMonitorNotificationsOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayUsageTrackingConfigOutput) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOutput) } -func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return i.ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { + return i.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayUsageTrackingConfigOutput).ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx) +func (i LakehouseMonitorNotificationsArgs) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOutput).ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx) } -// ModelServingAiGatewayUsageTrackingConfigPtrInput is an input type that accepts ModelServingAiGatewayUsageTrackingConfigArgs, ModelServingAiGatewayUsageTrackingConfigPtr and ModelServingAiGatewayUsageTrackingConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingAiGatewayUsageTrackingConfigPtrInput` via: +// LakehouseMonitorNotificationsPtrInput is an input type that accepts LakehouseMonitorNotificationsArgs, LakehouseMonitorNotificationsPtr and LakehouseMonitorNotificationsPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsPtrInput` via: // -// ModelServingAiGatewayUsageTrackingConfigArgs{...} +// LakehouseMonitorNotificationsArgs{...} // // or: // // nil -type ModelServingAiGatewayUsageTrackingConfigPtrInput interface { +type LakehouseMonitorNotificationsPtrInput interface { pulumi.Input - ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput - ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput + ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput + ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Context) LakehouseMonitorNotificationsPtrOutput } -type modelServingAiGatewayUsageTrackingConfigPtrType ModelServingAiGatewayUsageTrackingConfigArgs +type lakehouseMonitorNotificationsPtrType LakehouseMonitorNotificationsArgs -func ModelServingAiGatewayUsageTrackingConfigPtr(v *ModelServingAiGatewayUsageTrackingConfigArgs) ModelServingAiGatewayUsageTrackingConfigPtrInput { - return (*modelServingAiGatewayUsageTrackingConfigPtrType)(v) +func LakehouseMonitorNotificationsPtr(v *LakehouseMonitorNotificationsArgs) LakehouseMonitorNotificationsPtrInput { + return (*lakehouseMonitorNotificationsPtrType)(v) } -func (*modelServingAiGatewayUsageTrackingConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +func (*lakehouseMonitorNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotifications)(nil)).Elem() } -func (i *modelServingAiGatewayUsageTrackingConfigPtrType) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return i.ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorNotificationsPtrType) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { + return i.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i *modelServingAiGatewayUsageTrackingConfigPtrType) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) +func (i *lakehouseMonitorNotificationsPtrType) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsPtrOutput) } -type ModelServingAiGatewayUsageTrackingConfigOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOutput struct{ *pulumi.OutputState } -func (ModelServingAiGatewayUsageTrackingConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotifications)(nil)).Elem() } -func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigOutput() ModelServingAiGatewayUsageTrackingConfigOutput { +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsOutput() LakehouseMonitorNotificationsOutput { return o } -func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigOutput { +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOutput { return o } -func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return o.ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { + return o.ToLakehouseMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayUsageTrackingConfig) *ModelServingAiGatewayUsageTrackingConfig { +func (o LakehouseMonitorNotificationsOutput) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotifications) *LakehouseMonitorNotifications { return &v - }).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) + }).(LakehouseMonitorNotificationsPtrOutput) } -func (o ModelServingAiGatewayUsageTrackingConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingAiGatewayUsageTrackingConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// who to send notifications to on monitor failure. +func (o LakehouseMonitorNotificationsOutput) OnFailure() LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnFailure { return v.OnFailure }).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -type ModelServingAiGatewayUsageTrackingConfigPtrOutput struct{ *pulumi.OutputState } +// Who to send notifications to when new data classification tags are detected. +func (o LakehouseMonitorNotificationsOutput) OnNewClassificationTagDetected() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyT(func(v LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnNewClassificationTagDetected { + return v.OnNewClassificationTagDetected + }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +} -func (ModelServingAiGatewayUsageTrackingConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +type LakehouseMonitorNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotifications)(nil)).Elem() } -func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { +func (o LakehouseMonitorNotificationsPtrOutput) ToLakehouseMonitorNotificationsPtrOutput() LakehouseMonitorNotificationsPtrOutput { return o } -func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { +func (o LakehouseMonitorNotificationsPtrOutput) ToLakehouseMonitorNotificationsPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsPtrOutput { return o } -func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) Elem() ModelServingAiGatewayUsageTrackingConfigOutput { - return o.ApplyT(func(v *ModelServingAiGatewayUsageTrackingConfig) ModelServingAiGatewayUsageTrackingConfig { +func (o LakehouseMonitorNotificationsPtrOutput) Elem() LakehouseMonitorNotificationsOutput { + return o.ApplyT(func(v *LakehouseMonitorNotifications) LakehouseMonitorNotifications { if v != nil { return *v } - var ret ModelServingAiGatewayUsageTrackingConfig + var ret LakehouseMonitorNotifications return ret - }).(ModelServingAiGatewayUsageTrackingConfigOutput) + }).(LakehouseMonitorNotificationsOutput) } -func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ModelServingAiGatewayUsageTrackingConfig) *bool { +// who to send notifications to on monitor failure. +func (o LakehouseMonitorNotificationsPtrOutput) OnFailure() LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v *LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnFailure { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.OnFailure + }).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -type ModelServingConfig struct { - // Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. - AutoCaptureConfig *ModelServingConfigAutoCaptureConfig `pulumi:"autoCaptureConfig"` - // A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. - ServedEntities []ModelServingConfigServedEntity `pulumi:"servedEntities"` - // Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. - // - // Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. - ServedModels []ModelServingConfigServedModel `pulumi:"servedModels"` - // A single block represents the traffic split configuration amongst the served models. - TrafficConfig *ModelServingConfigTrafficConfig `pulumi:"trafficConfig"` +// Who to send notifications to when new data classification tags are detected. +func (o LakehouseMonitorNotificationsPtrOutput) OnNewClassificationTagDetected() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorNotifications) *LakehouseMonitorNotificationsOnNewClassificationTagDetected { + if v == nil { + return nil + } + return v.OnNewClassificationTagDetected + }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -// ModelServingConfigInput is an input type that accepts ModelServingConfigArgs and ModelServingConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigInput` via: +type LakehouseMonitorNotificationsOnFailure struct { + EmailAddresses []string `pulumi:"emailAddresses"` +} + +// LakehouseMonitorNotificationsOnFailureInput is an input type that accepts LakehouseMonitorNotificationsOnFailureArgs and LakehouseMonitorNotificationsOnFailureOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsOnFailureInput` via: // -// ModelServingConfigArgs{...} -type ModelServingConfigInput interface { +// LakehouseMonitorNotificationsOnFailureArgs{...} +type LakehouseMonitorNotificationsOnFailureInput interface { pulumi.Input - ToModelServingConfigOutput() ModelServingConfigOutput - ToModelServingConfigOutputWithContext(context.Context) ModelServingConfigOutput + ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput + ToLakehouseMonitorNotificationsOnFailureOutputWithContext(context.Context) LakehouseMonitorNotificationsOnFailureOutput } -type ModelServingConfigArgs struct { - // Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. - AutoCaptureConfig ModelServingConfigAutoCaptureConfigPtrInput `pulumi:"autoCaptureConfig"` - // A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. - ServedEntities ModelServingConfigServedEntityArrayInput `pulumi:"servedEntities"` - // Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. - // - // Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. - ServedModels ModelServingConfigServedModelArrayInput `pulumi:"servedModels"` - // A single block represents the traffic split configuration amongst the served models. - TrafficConfig ModelServingConfigTrafficConfigPtrInput `pulumi:"trafficConfig"` +type LakehouseMonitorNotificationsOnFailureArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` } -func (ModelServingConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (i ModelServingConfigArgs) ToModelServingConfigOutput() ModelServingConfigOutput { - return i.ToModelServingConfigOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput { + return i.ToLakehouseMonitorNotificationsOnFailureOutputWithContext(context.Background()) } -func (i ModelServingConfigArgs) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailureOutput) } -func (i ModelServingConfigArgs) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return i.ToModelServingConfigPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { + return i.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (i ModelServingConfigArgs) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput).ToModelServingConfigPtrOutputWithContext(ctx) +func (i LakehouseMonitorNotificationsOnFailureArgs) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailureOutput).ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx) } -// ModelServingConfigPtrInput is an input type that accepts ModelServingConfigArgs, ModelServingConfigPtr and ModelServingConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigPtrInput` via: +// LakehouseMonitorNotificationsOnFailurePtrInput is an input type that accepts LakehouseMonitorNotificationsOnFailureArgs, LakehouseMonitorNotificationsOnFailurePtr and LakehouseMonitorNotificationsOnFailurePtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsOnFailurePtrInput` via: // -// ModelServingConfigArgs{...} +// LakehouseMonitorNotificationsOnFailureArgs{...} // // or: // // nil -type ModelServingConfigPtrInput interface { +type LakehouseMonitorNotificationsOnFailurePtrInput interface { pulumi.Input - ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput - ToModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigPtrOutput + ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput + ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput } -type modelServingConfigPtrType ModelServingConfigArgs +type lakehouseMonitorNotificationsOnFailurePtrType LakehouseMonitorNotificationsOnFailureArgs -func ModelServingConfigPtr(v *ModelServingConfigArgs) ModelServingConfigPtrInput { - return (*modelServingConfigPtrType)(v) +func LakehouseMonitorNotificationsOnFailurePtr(v *LakehouseMonitorNotificationsOnFailureArgs) LakehouseMonitorNotificationsOnFailurePtrInput { + return (*lakehouseMonitorNotificationsOnFailurePtrType)(v) } -func (*modelServingConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() +func (*lakehouseMonitorNotificationsOnFailurePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return i.ToModelServingConfigPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorNotificationsOnFailurePtrType) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { + return i.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigPtrOutput) +func (i *lakehouseMonitorNotificationsOnFailurePtrType) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -type ModelServingConfigOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (ModelServingConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (o ModelServingConfigOutput) ToModelServingConfigOutput() ModelServingConfigOutput { +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailureOutput() LakehouseMonitorNotificationsOnFailureOutput { return o } -func (o ModelServingConfigOutput) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailureOutput { return o } -func (o ModelServingConfigOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return o.ToModelServingConfigPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) } -func (o ModelServingConfigOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfig) *ModelServingConfig { +func (o LakehouseMonitorNotificationsOnFailureOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotificationsOnFailure) *LakehouseMonitorNotificationsOnFailure { return &v - }).(ModelServingConfigPtrOutput) -} - -// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. -func (o ModelServingConfigOutput) AutoCaptureConfig() ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfig) *ModelServingConfigAutoCaptureConfig { return v.AutoCaptureConfig }).(ModelServingConfigAutoCaptureConfigPtrOutput) -} - -// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. -func (o ModelServingConfigOutput) ServedEntities() ModelServingConfigServedEntityArrayOutput { - return o.ApplyT(func(v ModelServingConfig) []ModelServingConfigServedEntity { return v.ServedEntities }).(ModelServingConfigServedEntityArrayOutput) -} - -// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. -// -// Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. -func (o ModelServingConfigOutput) ServedModels() ModelServingConfigServedModelArrayOutput { - return o.ApplyT(func(v ModelServingConfig) []ModelServingConfigServedModel { return v.ServedModels }).(ModelServingConfigServedModelArrayOutput) + }).(LakehouseMonitorNotificationsOnFailurePtrOutput) } -// A single block represents the traffic split configuration amongst the served models. -func (o ModelServingConfigOutput) TrafficConfig() ModelServingConfigTrafficConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfig) *ModelServingConfigTrafficConfig { return v.TrafficConfig }).(ModelServingConfigTrafficConfigPtrOutput) +func (o LakehouseMonitorNotificationsOnFailureOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v LakehouseMonitorNotificationsOnFailure) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) } -type ModelServingConfigPtrOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() -} +type LakehouseMonitorNotificationsOnFailurePtrOutput struct{ *pulumi.OutputState } -func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { - return o +func (LakehouseMonitorNotificationsOnFailurePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotificationsOnFailure)(nil)).Elem() } -func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutput() LakehouseMonitorNotificationsOnFailurePtrOutput { return o } -func (o ModelServingConfigPtrOutput) Elem() ModelServingConfigOutput { - return o.ApplyT(func(v *ModelServingConfig) ModelServingConfig { - if v != nil { - return *v - } - var ret ModelServingConfig - return ret - }).(ModelServingConfigOutput) -} - -// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. -func (o ModelServingConfigPtrOutput) AutoCaptureConfig() ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfig) *ModelServingConfigAutoCaptureConfig { - if v == nil { - return nil - } - return v.AutoCaptureConfig - }).(ModelServingConfigAutoCaptureConfigPtrOutput) -} - -// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. -func (o ModelServingConfigPtrOutput) ServedEntities() ModelServingConfigServedEntityArrayOutput { - return o.ApplyT(func(v *ModelServingConfig) []ModelServingConfigServedEntity { - if v == nil { - return nil - } - return v.ServedEntities - }).(ModelServingConfigServedEntityArrayOutput) +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) ToLakehouseMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnFailurePtrOutput { + return o } -// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. -// -// Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. -func (o ModelServingConfigPtrOutput) ServedModels() ModelServingConfigServedModelArrayOutput { - return o.ApplyT(func(v *ModelServingConfig) []ModelServingConfigServedModel { - if v == nil { - return nil +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) Elem() LakehouseMonitorNotificationsOnFailureOutput { + return o.ApplyT(func(v *LakehouseMonitorNotificationsOnFailure) LakehouseMonitorNotificationsOnFailure { + if v != nil { + return *v } - return v.ServedModels - }).(ModelServingConfigServedModelArrayOutput) + var ret LakehouseMonitorNotificationsOnFailure + return ret + }).(LakehouseMonitorNotificationsOnFailureOutput) } -// A single block represents the traffic split configuration amongst the served models. -func (o ModelServingConfigPtrOutput) TrafficConfig() ModelServingConfigTrafficConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfig) *ModelServingConfigTrafficConfig { +func (o LakehouseMonitorNotificationsOnFailurePtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LakehouseMonitorNotificationsOnFailure) []string { if v == nil { return nil } - return v.TrafficConfig - }).(ModelServingConfigTrafficConfigPtrOutput) + return v.EmailAddresses + }).(pulumi.StringArrayOutput) } -type ModelServingConfigAutoCaptureConfig struct { - // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - CatalogName *string `pulumi:"catalogName"` - // If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. - Enabled *bool `pulumi:"enabled"` - // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - SchemaName *string `pulumi:"schemaName"` - // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. - TableNamePrefix *string `pulumi:"tableNamePrefix"` +type LakehouseMonitorNotificationsOnNewClassificationTagDetected struct { + EmailAddresses []string `pulumi:"emailAddresses"` } -// ModelServingConfigAutoCaptureConfigInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs and ModelServingConfigAutoCaptureConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigInput` via: +// LakehouseMonitorNotificationsOnNewClassificationTagDetectedInput is an input type that accepts LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs and LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsOnNewClassificationTagDetectedInput` via: // -// ModelServingConfigAutoCaptureConfigArgs{...} -type ModelServingConfigAutoCaptureConfigInput interface { +// LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs{...} +type LakehouseMonitorNotificationsOnNewClassificationTagDetectedInput interface { pulumi.Input - ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput - ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigOutput + ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput + ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput } -type ModelServingConfigAutoCaptureConfigArgs struct { - // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` - // If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` - // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. - TableNamePrefix pulumi.StringPtrInput `pulumi:"tableNamePrefix"` +type LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` } -func (ModelServingConfigAutoCaptureConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { - return i.ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { + return i.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Background()) } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput) +func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { - return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return i.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput).ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx) +func (i LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput).ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx) } -// ModelServingConfigAutoCaptureConfigPtrInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs, ModelServingConfigAutoCaptureConfigPtr and ModelServingConfigAutoCaptureConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigPtrInput` via: +// LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput is an input type that accepts LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs, LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtr and LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput` via: // -// ModelServingConfigAutoCaptureConfigArgs{...} +// LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs{...} // // or: // // nil -type ModelServingConfigAutoCaptureConfigPtrInput interface { +type LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput interface { pulumi.Input - ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput - ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigPtrOutput + ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput + ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput } -type modelServingConfigAutoCaptureConfigPtrType ModelServingConfigAutoCaptureConfigArgs +type lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs -func ModelServingConfigAutoCaptureConfigPtr(v *ModelServingConfigAutoCaptureConfigArgs) ModelServingConfigAutoCaptureConfigPtrInput { - return (*modelServingConfigAutoCaptureConfigPtrType)(v) +func LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtr(v *LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrInput { + return (*lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType)(v) } -func (*modelServingConfigAutoCaptureConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (*lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { - return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return i.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigPtrOutput) +func (i *lakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -type ModelServingConfigAutoCaptureConfigOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput struct{ *pulumi.OutputState } -func (ModelServingConfigAutoCaptureConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { return o } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { return o } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigAutoCaptureConfig) *ModelServingConfigAutoCaptureConfig { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorNotificationsOnNewClassificationTagDetected) *LakehouseMonitorNotificationsOnNewClassificationTagDetected { return &v - }).(ModelServingConfigAutoCaptureConfigPtrOutput) -} - -// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. -func (o ModelServingConfigAutoCaptureConfigOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) -} - -// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. -func (o ModelServingConfigAutoCaptureConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. -func (o ModelServingConfigAutoCaptureConfigOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.SchemaName }).(pulumi.StringPtrOutput) + }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. -func (o ModelServingConfigAutoCaptureConfigOutput) TableNamePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.TableNamePrefix }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v LakehouseMonitorNotificationsOnNewClassificationTagDetected) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) } -type ModelServingConfigAutoCaptureConfigPtrOutput struct{ *pulumi.OutputState } +type LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigAutoCaptureConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() +func (LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { return o } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToLakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { return o } -func (o ModelServingConfigAutoCaptureConfigPtrOutput) Elem() ModelServingConfigAutoCaptureConfigOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) ModelServingConfigAutoCaptureConfig { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) Elem() LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput { + return o.ApplyT(func(v *LakehouseMonitorNotificationsOnNewClassificationTagDetected) LakehouseMonitorNotificationsOnNewClassificationTagDetected { if v != nil { return *v } - var ret ModelServingConfigAutoCaptureConfig + var ret LakehouseMonitorNotificationsOnNewClassificationTagDetected return ret - }).(ModelServingConfigAutoCaptureConfigOutput) + }).(LakehouseMonitorNotificationsOnNewClassificationTagDetectedOutput) } -// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. -func (o ModelServingConfigAutoCaptureConfigPtrOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { +func (o LakehouseMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LakehouseMonitorNotificationsOnNewClassificationTagDetected) []string { if v == nil { return nil } - return v.CatalogName - }).(pulumi.StringPtrOutput) + return v.EmailAddresses + }).(pulumi.StringArrayOutput) } -// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. -func (o ModelServingConfigAutoCaptureConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +type LakehouseMonitorSchedule struct { + // optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + PauseStatus *string `pulumi:"pauseStatus"` + // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + QuartzCronExpression string `pulumi:"quartzCronExpression"` + // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + TimezoneId string `pulumi:"timezoneId"` } -// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. -func (o ModelServingConfigAutoCaptureConfigPtrOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { - if v == nil { - return nil - } - return v.SchemaName - }).(pulumi.StringPtrOutput) -} +// LakehouseMonitorScheduleInput is an input type that accepts LakehouseMonitorScheduleArgs and LakehouseMonitorScheduleOutput values. +// You can construct a concrete instance of `LakehouseMonitorScheduleInput` via: +// +// LakehouseMonitorScheduleArgs{...} +type LakehouseMonitorScheduleInput interface { + pulumi.Input -// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. -func (o ModelServingConfigAutoCaptureConfigPtrOutput) TableNamePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { - if v == nil { - return nil - } - return v.TableNamePrefix - }).(pulumi.StringPtrOutput) + ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput + ToLakehouseMonitorScheduleOutputWithContext(context.Context) LakehouseMonitorScheduleOutput } -type ModelServingConfigServedEntity struct { - // The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. - EntityName *string `pulumi:"entityName"` - // The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. - EntityVersion *string `pulumi:"entityVersion"` - // An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` - EnvironmentVars map[string]string `pulumi:"environmentVars"` - // The external model to be served. NOTE: Only one of `externalModel` and (`entityName`, `entityVersion`, `workloadSize`, `workloadType`, and `scaleToZeroEnabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `externalModel` is present, the served entities list can only have one `servedEntity` object. An existing endpoint with `externalModel` can not be updated to an endpoint without `externalModel`. If the endpoint is created without `externalModel`, users cannot update it to add `externalModel` later. - ExternalModel *ModelServingConfigServedEntityExternalModel `pulumi:"externalModel"` - // ARN of the instance profile that the served entity uses to access AWS resources. - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - // The maximum tokens per second that the endpoint can scale up to. - MaxProvisionedThroughput *int `pulumi:"maxProvisionedThroughput"` - // The minimum tokens per second that the endpoint can scale down to. - MinProvisionedThroughput *int `pulumi:"minProvisionedThroughput"` - // The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. - Name *string `pulumi:"name"` - // Whether the compute resources for the served entity should scale down to zero. - ScaleToZeroEnabled *bool `pulumi:"scaleToZeroEnabled"` - // The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. - WorkloadSize *string `pulumi:"workloadSize"` - // The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). - WorkloadType *string `pulumi:"workloadType"` +type LakehouseMonitorScheduleArgs struct { + // optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` } -// ModelServingConfigServedEntityInput is an input type that accepts ModelServingConfigServedEntityArgs and ModelServingConfigServedEntityOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityInput` via: -// -// ModelServingConfigServedEntityArgs{...} -type ModelServingConfigServedEntityInput interface { - pulumi.Input - - ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput - ToModelServingConfigServedEntityOutputWithContext(context.Context) ModelServingConfigServedEntityOutput +func (LakehouseMonitorScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSchedule)(nil)).Elem() } -type ModelServingConfigServedEntityArgs struct { - // The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. - EntityName pulumi.StringPtrInput `pulumi:"entityName"` - // The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. - EntityVersion pulumi.StringPtrInput `pulumi:"entityVersion"` - // An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` - EnvironmentVars pulumi.StringMapInput `pulumi:"environmentVars"` - // The external model to be served. NOTE: Only one of `externalModel` and (`entityName`, `entityVersion`, `workloadSize`, `workloadType`, and `scaleToZeroEnabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `externalModel` is present, the served entities list can only have one `servedEntity` object. An existing endpoint with `externalModel` can not be updated to an endpoint without `externalModel`. If the endpoint is created without `externalModel`, users cannot update it to add `externalModel` later. - ExternalModel ModelServingConfigServedEntityExternalModelPtrInput `pulumi:"externalModel"` - // ARN of the instance profile that the served entity uses to access AWS resources. - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - // The maximum tokens per second that the endpoint can scale up to. - MaxProvisionedThroughput pulumi.IntPtrInput `pulumi:"maxProvisionedThroughput"` - // The minimum tokens per second that the endpoint can scale down to. - MinProvisionedThroughput pulumi.IntPtrInput `pulumi:"minProvisionedThroughput"` - // The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. - Name pulumi.StringPtrInput `pulumi:"name"` - // Whether the compute resources for the served entity should scale down to zero. - ScaleToZeroEnabled pulumi.BoolPtrInput `pulumi:"scaleToZeroEnabled"` - // The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. - WorkloadSize pulumi.StringPtrInput `pulumi:"workloadSize"` - // The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). - WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput { + return i.ToLakehouseMonitorScheduleOutputWithContext(context.Background()) } -func (ModelServingConfigServedEntityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntity)(nil)).Elem() +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorScheduleOutputWithContext(ctx context.Context) LakehouseMonitorScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorScheduleOutput) } -func (i ModelServingConfigServedEntityArgs) ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput { - return i.ToModelServingConfigServedEntityOutputWithContext(context.Background()) +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return i.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityArgs) ToModelServingConfigServedEntityOutputWithContext(ctx context.Context) ModelServingConfigServedEntityOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityOutput) +func (i LakehouseMonitorScheduleArgs) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorScheduleOutput).ToLakehouseMonitorSchedulePtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityArrayInput is an input type that accepts ModelServingConfigServedEntityArray and ModelServingConfigServedEntityArrayOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityArrayInput` via: +// LakehouseMonitorSchedulePtrInput is an input type that accepts LakehouseMonitorScheduleArgs, LakehouseMonitorSchedulePtr and LakehouseMonitorSchedulePtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorSchedulePtrInput` via: // -// ModelServingConfigServedEntityArray{ ModelServingConfigServedEntityArgs{...} } -type ModelServingConfigServedEntityArrayInput interface { +// LakehouseMonitorScheduleArgs{...} +// +// or: +// +// nil +type LakehouseMonitorSchedulePtrInput interface { pulumi.Input - ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput - ToModelServingConfigServedEntityArrayOutputWithContext(context.Context) ModelServingConfigServedEntityArrayOutput + ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput + ToLakehouseMonitorSchedulePtrOutputWithContext(context.Context) LakehouseMonitorSchedulePtrOutput } -type ModelServingConfigServedEntityArray []ModelServingConfigServedEntityInput +type lakehouseMonitorSchedulePtrType LakehouseMonitorScheduleArgs -func (ModelServingConfigServedEntityArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigServedEntity)(nil)).Elem() +func LakehouseMonitorSchedulePtr(v *LakehouseMonitorScheduleArgs) LakehouseMonitorSchedulePtrInput { + return (*lakehouseMonitorSchedulePtrType)(v) } -func (i ModelServingConfigServedEntityArray) ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput { - return i.ToModelServingConfigServedEntityArrayOutputWithContext(context.Background()) +func (*lakehouseMonitorSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSchedule)(nil)).Elem() } -func (i ModelServingConfigServedEntityArray) ToModelServingConfigServedEntityArrayOutputWithContext(ctx context.Context) ModelServingConfigServedEntityArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityArrayOutput) +func (i *lakehouseMonitorSchedulePtrType) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return i.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) } -type ModelServingConfigServedEntityOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigServedEntityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntity)(nil)).Elem() +func (i *lakehouseMonitorSchedulePtrType) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSchedulePtrOutput) } -func (o ModelServingConfigServedEntityOutput) ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput { - return o -} +type LakehouseMonitorScheduleOutput struct{ *pulumi.OutputState } -func (o ModelServingConfigServedEntityOutput) ToModelServingConfigServedEntityOutputWithContext(ctx context.Context) ModelServingConfigServedEntityOutput { - return o +func (LakehouseMonitorScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSchedule)(nil)).Elem() } -// The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. -func (o ModelServingConfigServedEntityOutput) EntityName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.EntityName }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorScheduleOutput() LakehouseMonitorScheduleOutput { + return o } -// The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. -func (o ModelServingConfigServedEntityOutput) EntityVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.EntityVersion }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorScheduleOutputWithContext(ctx context.Context) LakehouseMonitorScheduleOutput { + return o } -// An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` -func (o ModelServingConfigServedEntityOutput) EnvironmentVars() pulumi.StringMapOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) map[string]string { return v.EnvironmentVars }).(pulumi.StringMapOutput) +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return o.ToLakehouseMonitorSchedulePtrOutputWithContext(context.Background()) } -// The external model to be served. NOTE: Only one of `externalModel` and (`entityName`, `entityVersion`, `workloadSize`, `workloadType`, and `scaleToZeroEnabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `externalModel` is present, the served entities list can only have one `servedEntity` object. An existing endpoint with `externalModel` can not be updated to an endpoint without `externalModel`. If the endpoint is created without `externalModel`, users cannot update it to add `externalModel` later. -func (o ModelServingConfigServedEntityOutput) ExternalModel() ModelServingConfigServedEntityExternalModelPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *ModelServingConfigServedEntityExternalModel { - return v.ExternalModel - }).(ModelServingConfigServedEntityExternalModelPtrOutput) +func (o LakehouseMonitorScheduleOutput) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorSchedule) *LakehouseMonitorSchedule { + return &v + }).(LakehouseMonitorSchedulePtrOutput) } -// ARN of the instance profile that the served entity uses to access AWS resources. -func (o ModelServingConfigServedEntityOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). +func (o LakehouseMonitorScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v LakehouseMonitorSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -// The maximum tokens per second that the endpoint can scale up to. -func (o ModelServingConfigServedEntityOutput) MaxProvisionedThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *int { return v.MaxProvisionedThroughput }).(pulumi.IntPtrOutput) +// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. +func (o LakehouseMonitorScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) } -// The minimum tokens per second that the endpoint can scale down to. -func (o ModelServingConfigServedEntityOutput) MinProvisionedThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *int { return v.MinProvisionedThroughput }).(pulumi.IntPtrOutput) +// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. +func (o LakehouseMonitorScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -// The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. -func (o ModelServingConfigServedEntityOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.Name }).(pulumi.StringPtrOutput) -} +type LakehouseMonitorSchedulePtrOutput struct{ *pulumi.OutputState } -// Whether the compute resources for the served entity should scale down to zero. -func (o ModelServingConfigServedEntityOutput) ScaleToZeroEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *bool { return v.ScaleToZeroEnabled }).(pulumi.BoolPtrOutput) +func (LakehouseMonitorSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSchedule)(nil)).Elem() } -// The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. -func (o ModelServingConfigServedEntityOutput) WorkloadSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.WorkloadSize }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorSchedulePtrOutput) ToLakehouseMonitorSchedulePtrOutput() LakehouseMonitorSchedulePtrOutput { + return o } -// The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). -func (o ModelServingConfigServedEntityOutput) WorkloadType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) +func (o LakehouseMonitorSchedulePtrOutput) ToLakehouseMonitorSchedulePtrOutputWithContext(ctx context.Context) LakehouseMonitorSchedulePtrOutput { + return o } -type ModelServingConfigServedEntityArrayOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigServedEntityArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigServedEntity)(nil)).Elem() +func (o LakehouseMonitorSchedulePtrOutput) Elem() LakehouseMonitorScheduleOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) LakehouseMonitorSchedule { + if v != nil { + return *v + } + var ret LakehouseMonitorSchedule + return ret + }).(LakehouseMonitorScheduleOutput) } -func (o ModelServingConfigServedEntityArrayOutput) ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput { - return o +// optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). +func (o LakehouseMonitorSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { + if v == nil { + return nil + } + return v.PauseStatus + }).(pulumi.StringPtrOutput) } -func (o ModelServingConfigServedEntityArrayOutput) ToModelServingConfigServedEntityArrayOutputWithContext(ctx context.Context) ModelServingConfigServedEntityArrayOutput { - return o +// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. +func (o LakehouseMonitorSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { + if v == nil { + return nil + } + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -func (o ModelServingConfigServedEntityArrayOutput) Index(i pulumi.IntInput) ModelServingConfigServedEntityOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingConfigServedEntity { - return vs[0].([]ModelServingConfigServedEntity)[vs[1].(int)] - }).(ModelServingConfigServedEntityOutput) +// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. +func (o LakehouseMonitorSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorSchedule) *string { + if v == nil { + return nil + } + return &v.TimezoneId + }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModel struct { - // AI21Labs Config - Ai21labsConfig *ModelServingConfigServedEntityExternalModelAi21labsConfig `pulumi:"ai21labsConfig"` - // Amazon Bedrock Config - AmazonBedrockConfig *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig `pulumi:"amazonBedrockConfig"` - // Anthropic Config - AnthropicConfig *ModelServingConfigServedEntityExternalModelAnthropicConfig `pulumi:"anthropicConfig"` - // Cohere Config - CohereConfig *ModelServingConfigServedEntityExternalModelCohereConfig `pulumi:"cohereConfig"` - // Databricks Model Serving Config - DatabricksModelServingConfig *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig `pulumi:"databricksModelServingConfig"` - // Google Cloud Vertex AI Config. - GoogleCloudVertexAiConfig *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig `pulumi:"googleCloudVertexAiConfig"` - // The name of the external model. - Name string `pulumi:"name"` - // OpenAI Config - OpenaiConfig *ModelServingConfigServedEntityExternalModelOpenaiConfig `pulumi:"openaiConfig"` - // PaLM Config - PalmConfig *ModelServingConfigServedEntityExternalModelPalmConfig `pulumi:"palmConfig"` - // The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. - Provider string `pulumi:"provider"` - // The task type of the external model. - Task string `pulumi:"task"` +type LakehouseMonitorSnapshot struct { } -// ModelServingConfigServedEntityExternalModelInput is an input type that accepts ModelServingConfigServedEntityExternalModelArgs and ModelServingConfigServedEntityExternalModelOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelInput` via: +// LakehouseMonitorSnapshotInput is an input type that accepts LakehouseMonitorSnapshotArgs and LakehouseMonitorSnapshotOutput values. +// You can construct a concrete instance of `LakehouseMonitorSnapshotInput` via: // -// ModelServingConfigServedEntityExternalModelArgs{...} -type ModelServingConfigServedEntityExternalModelInput interface { +// LakehouseMonitorSnapshotArgs{...} +type LakehouseMonitorSnapshotInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput - ToModelServingConfigServedEntityExternalModelOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOutput + ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput + ToLakehouseMonitorSnapshotOutputWithContext(context.Context) LakehouseMonitorSnapshotOutput } -type ModelServingConfigServedEntityExternalModelArgs struct { - // AI21Labs Config - Ai21labsConfig ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput `pulumi:"ai21labsConfig"` - // Amazon Bedrock Config - AmazonBedrockConfig ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput `pulumi:"amazonBedrockConfig"` - // Anthropic Config - AnthropicConfig ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput `pulumi:"anthropicConfig"` - // Cohere Config - CohereConfig ModelServingConfigServedEntityExternalModelCohereConfigPtrInput `pulumi:"cohereConfig"` - // Databricks Model Serving Config - DatabricksModelServingConfig ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput `pulumi:"databricksModelServingConfig"` - // Google Cloud Vertex AI Config. - GoogleCloudVertexAiConfig ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput `pulumi:"googleCloudVertexAiConfig"` - // The name of the external model. - Name pulumi.StringInput `pulumi:"name"` - // OpenAI Config - OpenaiConfig ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput `pulumi:"openaiConfig"` - // PaLM Config - PalmConfig ModelServingConfigServedEntityExternalModelPalmConfigPtrInput `pulumi:"palmConfig"` - // The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. - Provider pulumi.StringInput `pulumi:"provider"` - // The task type of the external model. - Task pulumi.StringInput `pulumi:"task"` +type LakehouseMonitorSnapshotArgs struct { } -func (ModelServingConfigServedEntityExternalModelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModel)(nil)).Elem() +func (LakehouseMonitorSnapshotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSnapshot)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput { - return i.ToModelServingConfigServedEntityExternalModelOutputWithContext(context.Background()) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput { + return i.ToLakehouseMonitorSnapshotOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOutput) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotOutput) } -func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return i.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOutput).ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx) +func (i LakehouseMonitorSnapshotArgs) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotOutput).ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelArgs, ModelServingConfigServedEntityExternalModelPtr and ModelServingConfigServedEntityExternalModelPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPtrInput` via: +// LakehouseMonitorSnapshotPtrInput is an input type that accepts LakehouseMonitorSnapshotArgs, LakehouseMonitorSnapshotPtr and LakehouseMonitorSnapshotPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorSnapshotPtrInput` via: // -// ModelServingConfigServedEntityExternalModelArgs{...} +// LakehouseMonitorSnapshotArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelPtrInput interface { +type LakehouseMonitorSnapshotPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput - ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPtrOutput + ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput + ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Context) LakehouseMonitorSnapshotPtrOutput } -type modelServingConfigServedEntityExternalModelPtrType ModelServingConfigServedEntityExternalModelArgs +type lakehouseMonitorSnapshotPtrType LakehouseMonitorSnapshotArgs -func ModelServingConfigServedEntityExternalModelPtr(v *ModelServingConfigServedEntityExternalModelArgs) ModelServingConfigServedEntityExternalModelPtrInput { - return (*modelServingConfigServedEntityExternalModelPtrType)(v) +func LakehouseMonitorSnapshotPtr(v *LakehouseMonitorSnapshotArgs) LakehouseMonitorSnapshotPtrInput { + return (*lakehouseMonitorSnapshotPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModel)(nil)).Elem() +func (*lakehouseMonitorSnapshotPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSnapshot)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelPtrType) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) +func (i *lakehouseMonitorSnapshotPtrType) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return i.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelPtrType) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPtrOutput) +func (i *lakehouseMonitorSnapshotPtrType) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorSnapshotPtrOutput) } -type ModelServingConfigServedEntityExternalModelOutput struct{ *pulumi.OutputState } +type LakehouseMonitorSnapshotOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModel)(nil)).Elem() +func (LakehouseMonitorSnapshotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorSnapshot)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput { +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotOutput() LakehouseMonitorSnapshotOutput { return o } -func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOutput { +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotOutput { return o } -func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return o.ToLakehouseMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModel { +func (o LakehouseMonitorSnapshotOutput) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorSnapshot) *LakehouseMonitorSnapshot { return &v - }).(ModelServingConfigServedEntityExternalModelPtrOutput) + }).(LakehouseMonitorSnapshotPtrOutput) } -// AI21Labs Config -func (o ModelServingConfigServedEntityExternalModelOutput) Ai21labsConfig() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAi21labsConfig { - return v.Ai21labsConfig - }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) +type LakehouseMonitorSnapshotPtrOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorSnapshotPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorSnapshot)(nil)).Elem() } -// Amazon Bedrock Config -func (o ModelServingConfigServedEntityExternalModelOutput) AmazonBedrockConfig() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { - return v.AmazonBedrockConfig - }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) +func (o LakehouseMonitorSnapshotPtrOutput) ToLakehouseMonitorSnapshotPtrOutput() LakehouseMonitorSnapshotPtrOutput { + return o } -// Anthropic Config -func (o ModelServingConfigServedEntityExternalModelOutput) AnthropicConfig() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAnthropicConfig { - return v.AnthropicConfig - }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) +func (o LakehouseMonitorSnapshotPtrOutput) ToLakehouseMonitorSnapshotPtrOutputWithContext(ctx context.Context) LakehouseMonitorSnapshotPtrOutput { + return o } -// Cohere Config -func (o ModelServingConfigServedEntityExternalModelOutput) CohereConfig() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelCohereConfig { - return v.CohereConfig - }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) +func (o LakehouseMonitorSnapshotPtrOutput) Elem() LakehouseMonitorSnapshotOutput { + return o.ApplyT(func(v *LakehouseMonitorSnapshot) LakehouseMonitorSnapshot { + if v != nil { + return *v + } + var ret LakehouseMonitorSnapshot + return ret + }).(LakehouseMonitorSnapshotOutput) } -// Databricks Model Serving Config -func (o ModelServingConfigServedEntityExternalModelOutput) DatabricksModelServingConfig() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { - return v.DatabricksModelServingConfig - }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) +type LakehouseMonitorTimeSeries struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities []string `pulumi:"granularities"` + // Column of the timestamp of predictions + TimestampCol string `pulumi:"timestampCol"` } -// Google Cloud Vertex AI Config. -func (o ModelServingConfigServedEntityExternalModelOutput) GoogleCloudVertexAiConfig() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { - return v.GoogleCloudVertexAiConfig - }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) +// LakehouseMonitorTimeSeriesInput is an input type that accepts LakehouseMonitorTimeSeriesArgs and LakehouseMonitorTimeSeriesOutput values. +// You can construct a concrete instance of `LakehouseMonitorTimeSeriesInput` via: +// +// LakehouseMonitorTimeSeriesArgs{...} +type LakehouseMonitorTimeSeriesInput interface { + pulumi.Input + + ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput + ToLakehouseMonitorTimeSeriesOutputWithContext(context.Context) LakehouseMonitorTimeSeriesOutput } -// The name of the external model. -func (o ModelServingConfigServedEntityExternalModelOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Name }).(pulumi.StringOutput) +type LakehouseMonitorTimeSeriesArgs struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities pulumi.StringArrayInput `pulumi:"granularities"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringInput `pulumi:"timestampCol"` } -// OpenAI Config -func (o ModelServingConfigServedEntityExternalModelOutput) OpenaiConfig() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelOpenaiConfig { - return v.OpenaiConfig - }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) +func (LakehouseMonitorTimeSeriesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorTimeSeries)(nil)).Elem() } -// PaLM Config -func (o ModelServingConfigServedEntityExternalModelOutput) PalmConfig() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelPalmConfig { - return v.PalmConfig - }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput { + return i.ToLakehouseMonitorTimeSeriesOutputWithContext(context.Background()) } -// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. -func (o ModelServingConfigServedEntityExternalModelOutput) Provider() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Provider }).(pulumi.StringOutput) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesOutput) } -// The task type of the external model. -func (o ModelServingConfigServedEntityExternalModelOutput) Task() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Task }).(pulumi.StringOutput) +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return i.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -type ModelServingConfigServedEntityExternalModelPtrOutput struct{ *pulumi.OutputState } +func (i LakehouseMonitorTimeSeriesArgs) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesOutput).ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx) +} -func (ModelServingConfigServedEntityExternalModelPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModel)(nil)).Elem() +// LakehouseMonitorTimeSeriesPtrInput is an input type that accepts LakehouseMonitorTimeSeriesArgs, LakehouseMonitorTimeSeriesPtr and LakehouseMonitorTimeSeriesPtrOutput values. +// You can construct a concrete instance of `LakehouseMonitorTimeSeriesPtrInput` via: +// +// LakehouseMonitorTimeSeriesArgs{...} +// +// or: +// +// nil +type LakehouseMonitorTimeSeriesPtrInput interface { + pulumi.Input + + ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput + ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Context) LakehouseMonitorTimeSeriesPtrOutput } -func (o ModelServingConfigServedEntityExternalModelPtrOutput) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { - return o +type lakehouseMonitorTimeSeriesPtrType LakehouseMonitorTimeSeriesArgs + +func LakehouseMonitorTimeSeriesPtr(v *LakehouseMonitorTimeSeriesArgs) LakehouseMonitorTimeSeriesPtrInput { + return (*lakehouseMonitorTimeSeriesPtrType)(v) } -func (o ModelServingConfigServedEntityExternalModelPtrOutput) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { - return o +func (*lakehouseMonitorTimeSeriesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorTimeSeries)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelPtrOutput) Elem() ModelServingConfigServedEntityExternalModelOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) ModelServingConfigServedEntityExternalModel { - if v != nil { - return *v - } - var ret ModelServingConfigServedEntityExternalModel - return ret - }).(ModelServingConfigServedEntityExternalModelOutput) +func (i *lakehouseMonitorTimeSeriesPtrType) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return i.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -// AI21Labs Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) Ai21labsConfig() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAi21labsConfig { - if v == nil { - return nil - } - return v.Ai21labsConfig - }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) +func (i *lakehouseMonitorTimeSeriesPtrType) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LakehouseMonitorTimeSeriesPtrOutput) } -// Amazon Bedrock Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) AmazonBedrockConfig() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { - if v == nil { - return nil - } - return v.AmazonBedrockConfig - }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) +type LakehouseMonitorTimeSeriesOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorTimeSeriesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LakehouseMonitorTimeSeries)(nil)).Elem() } -// Anthropic Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) AnthropicConfig() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAnthropicConfig { - if v == nil { - return nil - } - return v.AnthropicConfig - }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesOutput() LakehouseMonitorTimeSeriesOutput { + return o } -// Cohere Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) CohereConfig() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelCohereConfig { - if v == nil { - return nil - } - return v.CohereConfig - }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesOutput { + return o } -// Databricks Model Serving Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) DatabricksModelServingConfig() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { - if v == nil { - return nil - } - return v.DatabricksModelServingConfig - }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return o.ToLakehouseMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -// Google Cloud Vertex AI Config. -func (o ModelServingConfigServedEntityExternalModelPtrOutput) GoogleCloudVertexAiConfig() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { - if v == nil { - return nil - } - return v.GoogleCloudVertexAiConfig - }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) +func (o LakehouseMonitorTimeSeriesOutput) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LakehouseMonitorTimeSeries) *LakehouseMonitorTimeSeries { + return &v + }).(LakehouseMonitorTimeSeriesPtrOutput) } -// The name of the external model. -func (o ModelServingConfigServedEntityExternalModelPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o LakehouseMonitorTimeSeriesOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v LakehouseMonitorTimeSeries) []string { return v.Granularities }).(pulumi.StringArrayOutput) } -// OpenAI Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) OpenaiConfig() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelOpenaiConfig { - if v == nil { - return nil - } - return v.OpenaiConfig - }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) +// Column of the timestamp of predictions +func (o LakehouseMonitorTimeSeriesOutput) TimestampCol() pulumi.StringOutput { + return o.ApplyT(func(v LakehouseMonitorTimeSeries) string { return v.TimestampCol }).(pulumi.StringOutput) } -// PaLM Config -func (o ModelServingConfigServedEntityExternalModelPtrOutput) PalmConfig() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelPalmConfig { - if v == nil { - return nil +type LakehouseMonitorTimeSeriesPtrOutput struct{ *pulumi.OutputState } + +func (LakehouseMonitorTimeSeriesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LakehouseMonitorTimeSeries)(nil)).Elem() +} + +func (o LakehouseMonitorTimeSeriesPtrOutput) ToLakehouseMonitorTimeSeriesPtrOutput() LakehouseMonitorTimeSeriesPtrOutput { + return o +} + +func (o LakehouseMonitorTimeSeriesPtrOutput) ToLakehouseMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) LakehouseMonitorTimeSeriesPtrOutput { + return o +} + +func (o LakehouseMonitorTimeSeriesPtrOutput) Elem() LakehouseMonitorTimeSeriesOutput { + return o.ApplyT(func(v *LakehouseMonitorTimeSeries) LakehouseMonitorTimeSeries { + if v != nil { + return *v } - return v.PalmConfig - }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) + var ret LakehouseMonitorTimeSeries + return ret + }).(LakehouseMonitorTimeSeriesOutput) } -// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. -func (o ModelServingConfigServedEntityExternalModelPtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o LakehouseMonitorTimeSeriesPtrOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LakehouseMonitorTimeSeries) []string { if v == nil { return nil } - return &v.Provider - }).(pulumi.StringPtrOutput) + return v.Granularities + }).(pulumi.StringArrayOutput) } -// The task type of the external model. -func (o ModelServingConfigServedEntityExternalModelPtrOutput) Task() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { +// Column of the timestamp of predictions +func (o LakehouseMonitorTimeSeriesPtrOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LakehouseMonitorTimeSeries) *string { if v == nil { return nil } - return &v.Task + return &v.TimestampCol }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelAi21labsConfig struct { - // The Databricks secret key reference for an AI21Labs API key. - Ai21labsApiKey *string `pulumi:"ai21labsApiKey"` - // An AI21 Labs API key provided as a plaintext string. - Ai21labsApiKeyPlaintext *string `pulumi:"ai21labsApiKeyPlaintext"` +type LibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// ModelServingConfigServedEntityExternalModelAi21labsConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAi21labsConfigArgs and ModelServingConfigServedEntityExternalModelAi21labsConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAi21labsConfigInput` via: +// LibraryCranInput is an input type that accepts LibraryCranArgs and LibraryCranOutput values. +// You can construct a concrete instance of `LibraryCranInput` via: // -// ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{...} -type ModelServingConfigServedEntityExternalModelAi21labsConfigInput interface { +// LibraryCranArgs{...} +type LibraryCranInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput - ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput + ToLibraryCranOutput() LibraryCranOutput + ToLibraryCranOutputWithContext(context.Context) LibraryCranOutput } -type ModelServingConfigServedEntityExternalModelAi21labsConfigArgs struct { - // The Databricks secret key reference for an AI21Labs API key. - Ai21labsApiKey pulumi.StringPtrInput `pulumi:"ai21labsApiKey"` - // An AI21 Labs API key provided as a plaintext string. - Ai21labsApiKeyPlaintext pulumi.StringPtrInput `pulumi:"ai21labsApiKeyPlaintext"` +type LibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() +func (LibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryCran)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Background()) +func (i LibraryCranArgs) ToLibraryCranOutput() LibraryCranOutput { + return i.ToLibraryCranOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) +func (i LibraryCranArgs) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput) } -func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) +func (i LibraryCranArgs) ToLibraryCranPtrOutput() LibraryCranPtrOutput { + return i.ToLibraryCranPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput).ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx) +func (i LibraryCranArgs) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryCranOutput).ToLibraryCranPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAi21labsConfigArgs, ModelServingConfigServedEntityExternalModelAi21labsConfigPtr and ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput` via: +// LibraryCranPtrInput is an input type that accepts LibraryCranArgs, LibraryCranPtr and LibraryCranPtrOutput values. +// You can construct a concrete instance of `LibraryCranPtrInput` via: // -// ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{...} +// LibraryCranArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput interface { +type LibraryCranPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput - ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput + ToLibraryCranPtrOutput() LibraryCranPtrOutput + ToLibraryCranPtrOutputWithContext(context.Context) LibraryCranPtrOutput } -type modelServingConfigServedEntityExternalModelAi21labsConfigPtrType ModelServingConfigServedEntityExternalModelAi21labsConfigArgs +type libraryCranPtrType LibraryCranArgs -func ModelServingConfigServedEntityExternalModelAi21labsConfigPtr(v *ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelAi21labsConfigPtrType)(v) +func LibraryCranPtr(v *LibraryCranArgs) LibraryCranPtrInput { + return (*libraryCranPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() +func (*libraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryCran)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) +func (i *libraryCranPtrType) ToLibraryCranPtrOutput() LibraryCranPtrOutput { + return i.ToLibraryCranPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) +func (i *libraryCranPtrType) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryCranPtrOutput) } -type ModelServingConfigServedEntityExternalModelAi21labsConfigOutput struct{ *pulumi.OutputState } +type LibraryCranOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() +func (LibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryCran)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { +func (o LibraryCranOutput) ToLibraryCranOutput() LibraryCranOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { +func (o LibraryCranOutput) ToLibraryCranOutputWithContext(ctx context.Context) LibraryCranOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) +func (o LibraryCranOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { + return o.ToLibraryCranPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAi21labsConfig) *ModelServingConfigServedEntityExternalModelAi21labsConfig { +func (o LibraryCranOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryCran) *LibraryCran { return &v - }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) + }).(LibraryCranPtrOutput) } -// The Databricks secret key reference for an AI21Labs API key. -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { return v.Ai21labsApiKey }).(pulumi.StringPtrOutput) +func (o LibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v LibraryCran) string { return v.Package }).(pulumi.StringOutput) } -// An AI21 Labs API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { - return v.Ai21labsApiKeyPlaintext - }).(pulumi.StringPtrOutput) +func (o LibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v LibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput struct{ *pulumi.OutputState } +type LibraryCranPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() +func (LibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryCran)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { +func (o LibraryCranPtrOutput) ToLibraryCranPtrOutput() LibraryCranPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { +func (o LibraryCranPtrOutput) ToLibraryCranPtrOutputWithContext(ctx context.Context) LibraryCranPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) ModelServingConfigServedEntityExternalModelAi21labsConfig { +func (o LibraryCranPtrOutput) Elem() LibraryCranOutput { + return o.ApplyT(func(v *LibraryCran) LibraryCran { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelAi21labsConfig + var ret LibraryCran return ret - }).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) + }).(LibraryCranOutput) } -// The Databricks secret key reference for an AI21Labs API key. -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Ai21labsApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { +func (o LibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryCran) *string { if v == nil { return nil } - return v.Ai21labsApiKey + return &v.Package }).(pulumi.StringPtrOutput) } -// An AI21 Labs API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Ai21labsApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { +func (o LibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryCran) *string { if v == nil { return nil } - return v.Ai21labsApiKeyPlaintext + return v.Repo }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelAmazonBedrockConfig struct { - // The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. - AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` - // An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. - AwsAccessKeyIdPlaintext *string `pulumi:"awsAccessKeyIdPlaintext"` - // The AWS region to use. Bedrock has to be enabled there. - AwsRegion string `pulumi:"awsRegion"` - // The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. - AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` - // An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. - AwsSecretAccessKeyPlaintext *string `pulumi:"awsSecretAccessKeyPlaintext"` - // The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. - BedrockProvider string `pulumi:"bedrockProvider"` +type LibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs and ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput` via: +// LibraryMavenInput is an input type that accepts LibraryMavenArgs and LibraryMavenOutput values. +// You can construct a concrete instance of `LibraryMavenInput` via: // -// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} -type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput interface { - pulumi.Input - - ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput - ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput -} - -type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs struct { - // The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. - AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` - // An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. - AwsAccessKeyIdPlaintext pulumi.StringPtrInput `pulumi:"awsAccessKeyIdPlaintext"` - // The AWS region to use. Bedrock has to be enabled there. - AwsRegion pulumi.StringInput `pulumi:"awsRegion"` - // The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. - AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` - // An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. - AwsSecretAccessKeyPlaintext pulumi.StringPtrInput `pulumi:"awsSecretAccessKeyPlaintext"` - // The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. - BedrockProvider pulumi.StringInput `pulumi:"bedrockProvider"` +// LibraryMavenArgs{...} +type LibraryMavenInput interface { + pulumi.Input + + ToLibraryMavenOutput() LibraryMavenOutput + ToLibraryMavenOutputWithContext(context.Context) LibraryMavenOutput } -func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() +type LibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Background()) +func (LibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryMaven)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) +func (i LibraryMavenArgs) ToLibraryMavenOutput() LibraryMavenOutput { + return i.ToLibraryMavenOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) +func (i LibraryMavenArgs) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput) } -func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput).ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx) +func (i LibraryMavenArgs) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { + return i.ToLibraryMavenPtrOutputWithContext(context.Background()) } -// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs, ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtr and ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput` via: +func (i LibraryMavenArgs) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenOutput).ToLibraryMavenPtrOutputWithContext(ctx) +} + +// LibraryMavenPtrInput is an input type that accepts LibraryMavenArgs, LibraryMavenPtr and LibraryMavenPtrOutput values. +// You can construct a concrete instance of `LibraryMavenPtrInput` via: // -// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} +// LibraryMavenArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput interface { +type LibraryMavenPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput - ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput + ToLibraryMavenPtrOutput() LibraryMavenPtrOutput + ToLibraryMavenPtrOutputWithContext(context.Context) LibraryMavenPtrOutput } -type modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs +type libraryMavenPtrType LibraryMavenArgs -func ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtr(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType)(v) +func LibraryMavenPtr(v *LibraryMavenArgs) LibraryMavenPtrInput { + return (*libraryMavenPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() +func (*libraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryMaven)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) +func (i *libraryMavenPtrType) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { + return i.ToLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) +func (i *libraryMavenPtrType) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryMavenPtrOutput) } -type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput struct{ *pulumi.OutputState } +type LibraryMavenOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() +func (LibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryMaven)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { +func (o LibraryMavenOutput) ToLibraryMavenOutput() LibraryMavenOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { +func (o LibraryMavenOutput) ToLibraryMavenOutputWithContext(ctx context.Context) LibraryMavenOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) +func (o LibraryMavenOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { + return o.ToLibraryMavenPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { +func (o LibraryMavenOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryMaven) *LibraryMaven { return &v - }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) -} - -// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - return v.AwsAccessKeyId - }).(pulumi.StringPtrOutput) -} - -// An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyIdPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - return v.AwsAccessKeyIdPlaintext - }).(pulumi.StringPtrOutput) -} - -// The AWS region to use. Bedrock has to be enabled there. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsRegion() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) string { return v.AwsRegion }).(pulumi.StringOutput) + }).(LibraryMavenPtrOutput) } -// The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - return v.AwsSecretAccessKey - }).(pulumi.StringPtrOutput) +func (o LibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v LibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -// An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsSecretAccessKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - return v.AwsSecretAccessKeyPlaintext - }).(pulumi.StringPtrOutput) +func (o LibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v LibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) BedrockProvider() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) string { - return v.BedrockProvider - }).(pulumi.StringOutput) +func (o LibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v LibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput struct{ *pulumi.OutputState } +type LibraryMavenPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() +func (LibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryMaven)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { +func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutput() LibraryMavenPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { +func (o LibraryMavenPtrOutput) ToLibraryMavenPtrOutputWithContext(ctx context.Context) LibraryMavenPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { +func (o LibraryMavenPtrOutput) Elem() LibraryMavenOutput { + return o.ApplyT(func(v *LibraryMaven) LibraryMaven { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelAmazonBedrockConfig + var ret LibraryMaven return ret - }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) -} - -// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - if v == nil { - return nil - } - return v.AwsAccessKeyId - }).(pulumi.StringPtrOutput) -} - -// An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsAccessKeyIdPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - if v == nil { - return nil - } - return v.AwsAccessKeyIdPlaintext - }).(pulumi.StringPtrOutput) -} - -// The AWS region to use. Bedrock has to be enabled there. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { - if v == nil { - return nil - } - return &v.AwsRegion - }).(pulumi.StringPtrOutput) + }).(LibraryMavenOutput) } -// The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { +func (o LibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryMaven) *string { if v == nil { return nil } - return v.AwsSecretAccessKey + return &v.Coordinates }).(pulumi.StringPtrOutput) } -// An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsSecretAccessKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { +func (o LibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LibraryMaven) []string { if v == nil { return nil } - return v.AwsSecretAccessKeyPlaintext - }).(pulumi.StringPtrOutput) + return v.Exclusions + }).(pulumi.StringArrayOutput) } -// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. -func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) BedrockProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { +func (o LibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryMaven) *string { if v == nil { return nil } - return &v.BedrockProvider + return v.Repo }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelAnthropicConfig struct { - // The Databricks secret key reference for an Anthropic API key. - AnthropicApiKey *string `pulumi:"anthropicApiKey"` - // The Anthropic API key provided as a plaintext string. - AnthropicApiKeyPlaintext *string `pulumi:"anthropicApiKeyPlaintext"` +type LibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// ModelServingConfigServedEntityExternalModelAnthropicConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAnthropicConfigArgs and ModelServingConfigServedEntityExternalModelAnthropicConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAnthropicConfigInput` via: +// LibraryPypiInput is an input type that accepts LibraryPypiArgs and LibraryPypiOutput values. +// You can construct a concrete instance of `LibraryPypiInput` via: // -// ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{...} -type ModelServingConfigServedEntityExternalModelAnthropicConfigInput interface { +// LibraryPypiArgs{...} +type LibraryPypiInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput - ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput + ToLibraryPypiOutput() LibraryPypiOutput + ToLibraryPypiOutputWithContext(context.Context) LibraryPypiOutput } -type ModelServingConfigServedEntityExternalModelAnthropicConfigArgs struct { - // The Databricks secret key reference for an Anthropic API key. - AnthropicApiKey pulumi.StringPtrInput `pulumi:"anthropicApiKey"` - // The Anthropic API key provided as a plaintext string. - AnthropicApiKeyPlaintext pulumi.StringPtrInput `pulumi:"anthropicApiKeyPlaintext"` +type LibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() +func (LibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryPypi)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Background()) +func (i LibraryPypiArgs) ToLibraryPypiOutput() LibraryPypiOutput { + return i.ToLibraryPypiOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) +func (i LibraryPypiArgs) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput) } -func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) +func (i LibraryPypiArgs) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { + return i.ToLibraryPypiPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput).ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx) +func (i LibraryPypiArgs) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiOutput).ToLibraryPypiPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAnthropicConfigArgs, ModelServingConfigServedEntityExternalModelAnthropicConfigPtr and ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput` via: +// LibraryPypiPtrInput is an input type that accepts LibraryPypiArgs, LibraryPypiPtr and LibraryPypiPtrOutput values. +// You can construct a concrete instance of `LibraryPypiPtrInput` via: // -// ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{...} +// LibraryPypiArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput interface { +type LibraryPypiPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput - ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput + ToLibraryPypiPtrOutput() LibraryPypiPtrOutput + ToLibraryPypiPtrOutputWithContext(context.Context) LibraryPypiPtrOutput } -type modelServingConfigServedEntityExternalModelAnthropicConfigPtrType ModelServingConfigServedEntityExternalModelAnthropicConfigArgs +type libraryPypiPtrType LibraryPypiArgs -func ModelServingConfigServedEntityExternalModelAnthropicConfigPtr(v *ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelAnthropicConfigPtrType)(v) +func LibraryPypiPtr(v *LibraryPypiArgs) LibraryPypiPtrInput { + return (*libraryPypiPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() +func (*libraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryPypi)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) +func (i *libraryPypiPtrType) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { + return i.ToLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) +func (i *libraryPypiPtrType) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LibraryPypiPtrOutput) } -type ModelServingConfigServedEntityExternalModelAnthropicConfigOutput struct{ *pulumi.OutputState } +type LibraryPypiOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() +func (LibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LibraryPypi)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { +func (o LibraryPypiOutput) ToLibraryPypiOutput() LibraryPypiOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { +func (o LibraryPypiOutput) ToLibraryPypiOutputWithContext(ctx context.Context) LibraryPypiOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) +func (o LibraryPypiOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { + return o.ToLibraryPypiPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAnthropicConfig) *ModelServingConfigServedEntityExternalModelAnthropicConfig { +func (o LibraryPypiOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LibraryPypi) *LibraryPypi { return &v - }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) + }).(LibraryPypiPtrOutput) } -// The Databricks secret key reference for an Anthropic API key. -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { return v.AnthropicApiKey }).(pulumi.StringPtrOutput) +func (o LibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v LibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -// The Anthropic API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { - return v.AnthropicApiKeyPlaintext - }).(pulumi.StringPtrOutput) +func (o LibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v LibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput struct{ *pulumi.OutputState } +type LibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() +func (LibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LibraryPypi)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { +func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutput() LibraryPypiPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { +func (o LibraryPypiPtrOutput) ToLibraryPypiPtrOutputWithContext(ctx context.Context) LibraryPypiPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) ModelServingConfigServedEntityExternalModelAnthropicConfig { +func (o LibraryPypiPtrOutput) Elem() LibraryPypiOutput { + return o.ApplyT(func(v *LibraryPypi) LibraryPypi { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelAnthropicConfig + var ret LibraryPypi return ret - }).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) + }).(LibraryPypiOutput) } -// The Databricks secret key reference for an Anthropic API key. -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) AnthropicApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { +func (o LibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryPypi) *string { if v == nil { return nil } - return v.AnthropicApiKey + return &v.Package }).(pulumi.StringPtrOutput) } -// The Anthropic API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) AnthropicApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { +func (o LibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LibraryPypi) *string { if v == nil { return nil } - return v.AnthropicApiKeyPlaintext + return v.Repo }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelCohereConfig struct { - CohereApiBase *string `pulumi:"cohereApiBase"` - // The Databricks secret key reference for a Cohere API key. - CohereApiKey *string `pulumi:"cohereApiKey"` - // The Cohere API key provided as a plaintext string. - CohereApiKeyPlaintext *string `pulumi:"cohereApiKeyPlaintext"` +type MetastoreDataAccessAwsIamRole struct { + ExternalId *string `pulumi:"externalId"` + RoleArn string `pulumi:"roleArn"` + UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` } -// ModelServingConfigServedEntityExternalModelCohereConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelCohereConfigArgs and ModelServingConfigServedEntityExternalModelCohereConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelCohereConfigInput` via: +// MetastoreDataAccessAwsIamRoleInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs and MetastoreDataAccessAwsIamRoleOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAwsIamRoleInput` via: // -// ModelServingConfigServedEntityExternalModelCohereConfigArgs{...} -type ModelServingConfigServedEntityExternalModelCohereConfigInput interface { +// MetastoreDataAccessAwsIamRoleArgs{...} +type MetastoreDataAccessAwsIamRoleInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput - ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput + ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput + ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Context) MetastoreDataAccessAwsIamRoleOutput } -type ModelServingConfigServedEntityExternalModelCohereConfigArgs struct { - CohereApiBase pulumi.StringPtrInput `pulumi:"cohereApiBase"` - // The Databricks secret key reference for a Cohere API key. - CohereApiKey pulumi.StringPtrInput `pulumi:"cohereApiKey"` - // The Cohere API key provided as a plaintext string. - CohereApiKeyPlaintext pulumi.StringPtrInput `pulumi:"cohereApiKeyPlaintext"` +type MetastoreDataAccessAwsIamRoleArgs struct { + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + RoleArn pulumi.StringInput `pulumi:"roleArn"` + UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` } -func (ModelServingConfigServedEntityExternalModelCohereConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() +func (MetastoreDataAccessAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { + return i.ToMetastoreDataAccessAwsIamRoleOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigOutput) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput) } -func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { + return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigOutput).ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessAwsIamRoleArgs) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRoleOutput).ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelCohereConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelCohereConfigArgs, ModelServingConfigServedEntityExternalModelCohereConfigPtr and ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelCohereConfigPtrInput` via: +// MetastoreDataAccessAwsIamRolePtrInput is an input type that accepts MetastoreDataAccessAwsIamRoleArgs, MetastoreDataAccessAwsIamRolePtr and MetastoreDataAccessAwsIamRolePtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAwsIamRolePtrInput` via: // -// ModelServingConfigServedEntityExternalModelCohereConfigArgs{...} +// MetastoreDataAccessAwsIamRoleArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelCohereConfigPtrInput interface { +type MetastoreDataAccessAwsIamRolePtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput - ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput + ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput + ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Context) MetastoreDataAccessAwsIamRolePtrOutput } -type modelServingConfigServedEntityExternalModelCohereConfigPtrType ModelServingConfigServedEntityExternalModelCohereConfigArgs +type metastoreDataAccessAwsIamRolePtrType MetastoreDataAccessAwsIamRoleArgs -func ModelServingConfigServedEntityExternalModelCohereConfigPtr(v *ModelServingConfigServedEntityExternalModelCohereConfigArgs) ModelServingConfigServedEntityExternalModelCohereConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelCohereConfigPtrType)(v) +func MetastoreDataAccessAwsIamRolePtr(v *MetastoreDataAccessAwsIamRoleArgs) MetastoreDataAccessAwsIamRolePtrInput { + return (*metastoreDataAccessAwsIamRolePtrType)(v) } -func (*modelServingConfigServedEntityExternalModelCohereConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() +func (*metastoreDataAccessAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelCohereConfigPtrType) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { + return i.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelCohereConfigPtrType) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) +func (i *metastoreDataAccessAwsIamRolePtrType) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAwsIamRolePtrOutput) } -type ModelServingConfigServedEntityExternalModelCohereConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAwsIamRoleOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelCohereConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() +func (MetastoreDataAccessAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput { +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutput() MetastoreDataAccessAwsIamRoleOutput { return o } -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput { +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRoleOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRoleOutput { return o } -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { + return o.ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelCohereConfig) *ModelServingConfigServedEntityExternalModelCohereConfig { +func (o MetastoreDataAccessAwsIamRoleOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAwsIamRole) *MetastoreDataAccessAwsIamRole { return &v - }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) + }).(MetastoreDataAccessAwsIamRolePtrOutput) } -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiBase() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) *string { return v.CohereApiBase }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -// The Databricks secret key reference for a Cohere API key. -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) *string { return v.CohereApiKey }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAwsIamRoleOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) } -// The Cohere API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) *string { - return v.CohereApiKeyPlaintext - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAwsIamRolePtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() +func (MetastoreDataAccessAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAwsIamRole)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { +func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutput() MetastoreDataAccessAwsIamRolePtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { +func (o MetastoreDataAccessAwsIamRolePtrOutput) ToMetastoreDataAccessAwsIamRolePtrOutputWithContext(ctx context.Context) MetastoreDataAccessAwsIamRolePtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelCohereConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) ModelServingConfigServedEntityExternalModelCohereConfig { +func (o MetastoreDataAccessAwsIamRolePtrOutput) Elem() MetastoreDataAccessAwsIamRoleOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) MetastoreDataAccessAwsIamRole { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelCohereConfig + var ret MetastoreDataAccessAwsIamRole return ret - }).(ModelServingConfigServedEntityExternalModelCohereConfigOutput) + }).(MetastoreDataAccessAwsIamRoleOutput) } -func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) CohereApiBase() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) *string { +func (o MetastoreDataAccessAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { if v == nil { return nil } - return v.CohereApiBase + return v.ExternalId }).(pulumi.StringPtrOutput) } -// The Databricks secret key reference for a Cohere API key. -func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) CohereApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) *string { +func (o MetastoreDataAccessAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { if v == nil { return nil } - return v.CohereApiKey + return &v.RoleArn }).(pulumi.StringPtrOutput) } -// The Cohere API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) CohereApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) *string { +func (o MetastoreDataAccessAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAwsIamRole) *string { if v == nil { return nil } - return v.CohereApiKeyPlaintext + return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig struct { - // The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. - DatabricksApiToken *string `pulumi:"databricksApiToken"` - // The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. - DatabricksApiTokenPlaintext *string `pulumi:"databricksApiTokenPlaintext"` - // The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. - DatabricksWorkspaceUrl string `pulumi:"databricksWorkspaceUrl"` +type MetastoreDataAccessAzureManagedIdentity struct { + AccessConnectorId string `pulumi:"accessConnectorId"` + CredentialId *string `pulumi:"credentialId"` + ManagedIdentityId *string `pulumi:"managedIdentityId"` } -// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs and ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput` via: +// MetastoreDataAccessAzureManagedIdentityInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs and MetastoreDataAccessAzureManagedIdentityOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityInput` via: // -// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} -type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput interface { +// MetastoreDataAccessAzureManagedIdentityArgs{...} +type MetastoreDataAccessAzureManagedIdentityInput interface { pulumi.Input - - ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput - ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput + + ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput + ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityOutput } -type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs struct { - // The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. - DatabricksApiToken pulumi.StringPtrInput `pulumi:"databricksApiToken"` - // The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. - DatabricksApiTokenPlaintext pulumi.StringPtrInput `pulumi:"databricksApiTokenPlaintext"` - // The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. - DatabricksWorkspaceUrl pulumi.StringInput `pulumi:"databricksWorkspaceUrl"` +type MetastoreDataAccessAzureManagedIdentityArgs struct { + AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` } -func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() +func (MetastoreDataAccessAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { + return i.ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput) } -func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { + return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput).ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessAzureManagedIdentityArgs) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityOutput).ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs, ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtr and ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput` via: +// MetastoreDataAccessAzureManagedIdentityPtrInput is an input type that accepts MetastoreDataAccessAzureManagedIdentityArgs, MetastoreDataAccessAzureManagedIdentityPtr and MetastoreDataAccessAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureManagedIdentityPtrInput` via: // -// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} +// MetastoreDataAccessAzureManagedIdentityArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput interface { +type MetastoreDataAccessAzureManagedIdentityPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput - ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput + ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput + ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput } -type modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs +type metastoreDataAccessAzureManagedIdentityPtrType MetastoreDataAccessAzureManagedIdentityArgs -func ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtr(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType)(v) +func MetastoreDataAccessAzureManagedIdentityPtr(v *MetastoreDataAccessAzureManagedIdentityArgs) MetastoreDataAccessAzureManagedIdentityPtrInput { + return (*metastoreDataAccessAzureManagedIdentityPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() +func (*metastoreDataAccessAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { + return i.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) +func (i *metastoreDataAccessAzureManagedIdentityPtrType) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureManagedIdentityPtrOutput) } -type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureManagedIdentityOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() +func (MetastoreDataAccessAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutput() MetastoreDataAccessAzureManagedIdentityOutput { return o } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityOutput { return o } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { + return o.ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { +func (o MetastoreDataAccessAzureManagedIdentityOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureManagedIdentity) *MetastoreDataAccessAzureManagedIdentity { return &v - }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) + }).(MetastoreDataAccessAzureManagedIdentityPtrOutput) } -// The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksApiToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { - return v.DatabricksApiToken - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) } -// The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksApiTokenPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { - return v.DatabricksApiTokenPlaintext - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksWorkspaceUrl() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) string { - return v.DatabricksWorkspaceUrl - }).(pulumi.StringOutput) +func (o MetastoreDataAccessAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() +func (MetastoreDataAccessAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureManagedIdentity)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutput() MetastoreDataAccessAzureManagedIdentityPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ToMetastoreDataAccessAzureManagedIdentityPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureManagedIdentityPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) Elem() MetastoreDataAccessAzureManagedIdentityOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) MetastoreDataAccessAzureManagedIdentity { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig + var ret MetastoreDataAccessAzureManagedIdentity return ret - }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) + }).(MetastoreDataAccessAzureManagedIdentityOutput) } -// The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) DatabricksApiToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { if v == nil { return nil } - return v.DatabricksApiToken + return &v.AccessConnectorId }).(pulumi.StringPtrOutput) } -// The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) DatabricksApiTokenPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { if v == nil { return nil } - return v.DatabricksApiTokenPlaintext + return v.CredentialId }).(pulumi.StringPtrOutput) } -// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. -func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) DatabricksWorkspaceUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { +func (o MetastoreDataAccessAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureManagedIdentity) *string { if v == nil { return nil } - return &v.DatabricksWorkspaceUrl + return v.ManagedIdentityId }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig struct { - // The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. - PrivateKey *string `pulumi:"privateKey"` - // The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. - PrivateKeyPlaintext *string `pulumi:"privateKeyPlaintext"` - // This is the Google Cloud project id that the service account is associated with. - ProjectId *string `pulumi:"projectId"` - // This is the region for the Google Cloud Vertex AI Service. - Region *string `pulumi:"region"` +type MetastoreDataAccessAzureServicePrincipal struct { + ApplicationId string `pulumi:"applicationId"` + ClientSecret string `pulumi:"clientSecret"` + DirectoryId string `pulumi:"directoryId"` } -// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs and ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput` via: +// MetastoreDataAccessAzureServicePrincipalInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs and MetastoreDataAccessAzureServicePrincipalOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalInput` via: // -// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{...} -type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput interface { +// MetastoreDataAccessAzureServicePrincipalArgs{...} +type MetastoreDataAccessAzureServicePrincipalInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput - ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput + ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput + ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalOutput } -type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs struct { - // The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. - PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` - // The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. - PrivateKeyPlaintext pulumi.StringPtrInput `pulumi:"privateKeyPlaintext"` - // This is the Google Cloud project id that the service account is associated with. - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // This is the region for the Google Cloud Vertex AI Service. - Region pulumi.StringPtrInput `pulumi:"region"` +type MetastoreDataAccessAzureServicePrincipalArgs struct { + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + ClientSecret pulumi.StringInput `pulumi:"clientSecret"` + DirectoryId pulumi.StringInput `pulumi:"directoryId"` } -func (ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() +func (MetastoreDataAccessAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { + return i.ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput) } -func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { + return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput).ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessAzureServicePrincipalArgs) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalOutput).ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs, ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtr and ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput` via: +// MetastoreDataAccessAzureServicePrincipalPtrInput is an input type that accepts MetastoreDataAccessAzureServicePrincipalArgs, MetastoreDataAccessAzureServicePrincipalPtr and MetastoreDataAccessAzureServicePrincipalPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessAzureServicePrincipalPtrInput` via: // -// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{...} +// MetastoreDataAccessAzureServicePrincipalArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput interface { +type MetastoreDataAccessAzureServicePrincipalPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput - ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput + ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput + ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput } -type modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs +type metastoreDataAccessAzureServicePrincipalPtrType MetastoreDataAccessAzureServicePrincipalArgs -func ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtr(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType)(v) +func MetastoreDataAccessAzureServicePrincipalPtr(v *MetastoreDataAccessAzureServicePrincipalArgs) MetastoreDataAccessAzureServicePrincipalPtrInput { + return (*metastoreDataAccessAzureServicePrincipalPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() +func (*metastoreDataAccessAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { + return i.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) +func (i *metastoreDataAccessAzureServicePrincipalPtrType) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessAzureServicePrincipalPtrOutput) } -type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureServicePrincipalOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() +func (MetastoreDataAccessAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutput() MetastoreDataAccessAzureServicePrincipalOutput { return o } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalOutput { return o } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { + return o.ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { +func (o MetastoreDataAccessAzureServicePrincipalOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessAzureServicePrincipal) *MetastoreDataAccessAzureServicePrincipal { return &v - }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) -} - -// The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { - return v.PrivateKey - }).(pulumi.StringPtrOutput) + }).(MetastoreDataAccessAzureServicePrincipalPtrOutput) } -// The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) PrivateKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { - return v.PrivateKeyPlaintext - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) } -// This is the Google Cloud project id that the service account is associated with. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { - return v.ProjectId - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) } -// This is the region for the Google Cloud Vertex AI Service. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) } -type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() +func (MetastoreDataAccessAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessAzureServicePrincipal)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutput() MetastoreDataAccessAzureServicePrincipalPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ToMetastoreDataAccessAzureServicePrincipalPtrOutputWithContext(ctx context.Context) MetastoreDataAccessAzureServicePrincipalPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) Elem() MetastoreDataAccessAzureServicePrincipalOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) MetastoreDataAccessAzureServicePrincipal { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig + var ret MetastoreDataAccessAzureServicePrincipal return ret - }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) -} - -// The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { - if v == nil { - return nil - } - return v.PrivateKey - }).(pulumi.StringPtrOutput) + }).(MetastoreDataAccessAzureServicePrincipalOutput) } -// The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) PrivateKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { if v == nil { return nil } - return v.PrivateKeyPlaintext + return &v.ApplicationId }).(pulumi.StringPtrOutput) } -// This is the Google Cloud project id that the service account is associated with. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { if v == nil { return nil } - return v.ProjectId + return &v.ClientSecret }).(pulumi.StringPtrOutput) } -// This is the region for the Google Cloud Vertex AI Service. -func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { +func (o MetastoreDataAccessAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessAzureServicePrincipal) *string { if v == nil { return nil } - return v.Region + return &v.DirectoryId }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelOpenaiConfig struct { - // This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. - MicrosoftEntraClientId *string `pulumi:"microsoftEntraClientId"` - // The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. - MicrosoftEntraClientSecret *string `pulumi:"microsoftEntraClientSecret"` - // The client secret used for Microsoft Entra ID authentication provided as a plaintext string. - MicrosoftEntraClientSecretPlaintext *string `pulumi:"microsoftEntraClientSecretPlaintext"` - // This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. - MicrosoftEntraTenantId *string `pulumi:"microsoftEntraTenantId"` - // This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. - OpenaiApiBase *string `pulumi:"openaiApiBase"` - // The Databricks secret key reference for an OpenAI or Azure OpenAI API key. - OpenaiApiKey *string `pulumi:"openaiApiKey"` - // The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. - OpenaiApiKeyPlaintext *string `pulumi:"openaiApiKeyPlaintext"` - // This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. - OpenaiApiType *string `pulumi:"openaiApiType"` - // This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. - OpenaiApiVersion *string `pulumi:"openaiApiVersion"` - // This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. - OpenaiDeploymentName *string `pulumi:"openaiDeploymentName"` - // This is an optional field to specify the organization in OpenAI or Azure OpenAI. - OpenaiOrganization *string `pulumi:"openaiOrganization"` +type MetastoreDataAccessCloudflareApiToken struct { + AccessKeyId string `pulumi:"accessKeyId"` + AccountId string `pulumi:"accountId"` + SecretAccessKey string `pulumi:"secretAccessKey"` } -// ModelServingConfigServedEntityExternalModelOpenaiConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs and ModelServingConfigServedEntityExternalModelOpenaiConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelOpenaiConfigInput` via: +// MetastoreDataAccessCloudflareApiTokenInput is an input type that accepts MetastoreDataAccessCloudflareApiTokenArgs and MetastoreDataAccessCloudflareApiTokenOutput values. +// You can construct a concrete instance of `MetastoreDataAccessCloudflareApiTokenInput` via: // -// ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{...} -type ModelServingConfigServedEntityExternalModelOpenaiConfigInput interface { +// MetastoreDataAccessCloudflareApiTokenArgs{...} +type MetastoreDataAccessCloudflareApiTokenInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput - ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput + ToMetastoreDataAccessCloudflareApiTokenOutput() MetastoreDataAccessCloudflareApiTokenOutput + ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(context.Context) MetastoreDataAccessCloudflareApiTokenOutput } -type ModelServingConfigServedEntityExternalModelOpenaiConfigArgs struct { - // This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. - MicrosoftEntraClientId pulumi.StringPtrInput `pulumi:"microsoftEntraClientId"` - // The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. - MicrosoftEntraClientSecret pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecret"` - // The client secret used for Microsoft Entra ID authentication provided as a plaintext string. - MicrosoftEntraClientSecretPlaintext pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecretPlaintext"` - // This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. - MicrosoftEntraTenantId pulumi.StringPtrInput `pulumi:"microsoftEntraTenantId"` - // This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. - OpenaiApiBase pulumi.StringPtrInput `pulumi:"openaiApiBase"` - // The Databricks secret key reference for an OpenAI or Azure OpenAI API key. - OpenaiApiKey pulumi.StringPtrInput `pulumi:"openaiApiKey"` - // The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. - OpenaiApiKeyPlaintext pulumi.StringPtrInput `pulumi:"openaiApiKeyPlaintext"` - // This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. - OpenaiApiType pulumi.StringPtrInput `pulumi:"openaiApiType"` - // This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. - OpenaiApiVersion pulumi.StringPtrInput `pulumi:"openaiApiVersion"` - // This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. - OpenaiDeploymentName pulumi.StringPtrInput `pulumi:"openaiDeploymentName"` - // This is an optional field to specify the organization in OpenAI or Azure OpenAI. - OpenaiOrganization pulumi.StringPtrInput `pulumi:"openaiOrganization"` +type MetastoreDataAccessCloudflareApiTokenArgs struct { + AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` + AccountId pulumi.StringInput `pulumi:"accountId"` + SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` } -func (ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() +func (MetastoreDataAccessCloudflareApiTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessCloudflareApiToken)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenOutput() MetastoreDataAccessCloudflareApiTokenOutput { + return i.ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) +func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessCloudflareApiTokenOutput) } -func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { + return i.ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput).ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessCloudflareApiTokenArgs) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessCloudflareApiTokenOutput).ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs, ModelServingConfigServedEntityExternalModelOpenaiConfigPtr and ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput` via: +// MetastoreDataAccessCloudflareApiTokenPtrInput is an input type that accepts MetastoreDataAccessCloudflareApiTokenArgs, MetastoreDataAccessCloudflareApiTokenPtr and MetastoreDataAccessCloudflareApiTokenPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessCloudflareApiTokenPtrInput` via: // -// ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{...} +// MetastoreDataAccessCloudflareApiTokenArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput interface { +type MetastoreDataAccessCloudflareApiTokenPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput - ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput + ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput + ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput } -type modelServingConfigServedEntityExternalModelOpenaiConfigPtrType ModelServingConfigServedEntityExternalModelOpenaiConfigArgs +type metastoreDataAccessCloudflareApiTokenPtrType MetastoreDataAccessCloudflareApiTokenArgs -func ModelServingConfigServedEntityExternalModelOpenaiConfigPtr(v *ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelOpenaiConfigPtrType)(v) +func MetastoreDataAccessCloudflareApiTokenPtr(v *MetastoreDataAccessCloudflareApiTokenArgs) MetastoreDataAccessCloudflareApiTokenPtrInput { + return (*metastoreDataAccessCloudflareApiTokenPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() +func (*metastoreDataAccessCloudflareApiTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +} + +func (i *metastoreDataAccessCloudflareApiTokenPtrType) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { + return i.ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Background()) +} + +func (i *metastoreDataAccessCloudflareApiTokenPtrType) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessCloudflareApiTokenPtrOutput) +} + +type MetastoreDataAccessCloudflareApiTokenOutput struct{ *pulumi.OutputState } + +func (MetastoreDataAccessCloudflareApiTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenOutput() MetastoreDataAccessCloudflareApiTokenOutput { + return o +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenOutput { + return o +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { + return o.ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(context.Background()) +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessCloudflareApiToken) *MetastoreDataAccessCloudflareApiToken { + return &v + }).(MetastoreDataAccessCloudflareApiTokenPtrOutput) +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessCloudflareApiToken) string { return v.AccessKeyId }).(pulumi.StringOutput) +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) AccountId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessCloudflareApiToken) string { return v.AccountId }).(pulumi.StringOutput) +} + +func (o MetastoreDataAccessCloudflareApiTokenOutput) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessCloudflareApiToken) string { return v.SecretAccessKey }).(pulumi.StringOutput) +} + +type MetastoreDataAccessCloudflareApiTokenPtrOutput struct{ *pulumi.OutputState } + +func (MetastoreDataAccessCloudflareApiTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessCloudflareApiToken)(nil)).Elem() +} + +func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutput() MetastoreDataAccessCloudflareApiTokenPtrOutput { + return o +} + +func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) ToMetastoreDataAccessCloudflareApiTokenPtrOutputWithContext(ctx context.Context) MetastoreDataAccessCloudflareApiTokenPtrOutput { + return o +} + +func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) Elem() MetastoreDataAccessCloudflareApiTokenOutput { + return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) MetastoreDataAccessCloudflareApiToken { + if v != nil { + return *v + } + var ret MetastoreDataAccessCloudflareApiToken + return ret + }).(MetastoreDataAccessCloudflareApiTokenOutput) +} + +func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) AccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.AccessKeyId + }).(pulumi.StringPtrOutput) } -func (i *modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.AccountId + }).(pulumi.StringPtrOutput) } -func (i *modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) +func (o MetastoreDataAccessCloudflareApiTokenPtrOutput) SecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.SecretAccessKey + }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelOpenaiConfigOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() +type MetastoreDataAccessDatabricksGcpServiceAccount struct { + CredentialId *string `pulumi:"credentialId"` + Email *string `pulumi:"email"` } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { - return o -} +// MetastoreDataAccessDatabricksGcpServiceAccountInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs and MetastoreDataAccessDatabricksGcpServiceAccountOutput values. +// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountInput` via: +// +// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} +type MetastoreDataAccessDatabricksGcpServiceAccountInput interface { + pulumi.Input -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { - return o + ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput + ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) +type MetastoreDataAccessDatabricksGcpServiceAccountArgs struct { + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + Email pulumi.StringPtrInput `pulumi:"email"` } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelOpenaiConfig) *ModelServingConfigServedEntityExternalModelOpenaiConfig { - return &v - }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) +func (MetastoreDataAccessDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -// This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - return v.MicrosoftEntraClientId - }).(pulumi.StringPtrOutput) +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return i.ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(context.Background()) } -// The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - return v.MicrosoftEntraClientSecret - }).(pulumi.StringPtrOutput) +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) } -// The client secret used for Microsoft Entra ID authentication provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecretPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - return v.MicrosoftEntraClientSecretPlaintext - }).(pulumi.StringPtrOutput) +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -// This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - return v.MicrosoftEntraTenantId - }).(pulumi.StringPtrOutput) +func (i MetastoreDataAccessDatabricksGcpServiceAccountArgs) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountOutput).ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx) } -// This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiBase() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiBase }).(pulumi.StringPtrOutput) -} +// MetastoreDataAccessDatabricksGcpServiceAccountPtrInput is an input type that accepts MetastoreDataAccessDatabricksGcpServiceAccountArgs, MetastoreDataAccessDatabricksGcpServiceAccountPtr and MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessDatabricksGcpServiceAccountPtrInput` via: +// +// MetastoreDataAccessDatabricksGcpServiceAccountArgs{...} +// +// or: +// +// nil +type MetastoreDataAccessDatabricksGcpServiceAccountPtrInput interface { + pulumi.Input -// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiKey }).(pulumi.StringPtrOutput) + ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput + ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput } -// The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - return v.OpenaiApiKeyPlaintext - }).(pulumi.StringPtrOutput) -} +type metastoreDataAccessDatabricksGcpServiceAccountPtrType MetastoreDataAccessDatabricksGcpServiceAccountArgs -// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiType }).(pulumi.StringPtrOutput) +func MetastoreDataAccessDatabricksGcpServiceAccountPtr(v *MetastoreDataAccessDatabricksGcpServiceAccountArgs) MetastoreDataAccessDatabricksGcpServiceAccountPtrInput { + return (*metastoreDataAccessDatabricksGcpServiceAccountPtrType)(v) } -// This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiVersion }).(pulumi.StringPtrOutput) +func (*metastoreDataAccessDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiDeploymentName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiDeploymentName }).(pulumi.StringPtrOutput) +func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return i.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -// This is an optional field to specify the organization in OpenAI or Azure OpenAI. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiOrganization() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiOrganization }).(pulumi.StringPtrOutput) +func (i *metastoreDataAccessDatabricksGcpServiceAccountPtrType) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) } -type ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() +func (MetastoreDataAccessDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutput() MetastoreDataAccessDatabricksGcpServiceAccountOutput { return o } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountOutput { return o } -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) ModelServingConfigServedEntityExternalModelOpenaiConfig { - if v != nil { - return *v - } - var ret ModelServingConfigServedEntityExternalModelOpenaiConfig - return ret - }).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) -} - -// This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.MicrosoftEntraClientId - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o.ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -// The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.MicrosoftEntraClientSecret - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessDatabricksGcpServiceAccount) *MetastoreDataAccessDatabricksGcpServiceAccount { + return &v + }).(MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) } -// The client secret used for Microsoft Entra ID authentication provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientSecretPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.MicrosoftEntraClientSecretPlaintext - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -// This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.MicrosoftEntraTenantId - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v MetastoreDataAccessDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) } -// This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiBase() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.OpenaiApiBase - }).(pulumi.StringPtrOutput) -} +type MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } -// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.OpenaiApiKey - }).(pulumi.StringPtrOutput) +func (MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessDatabricksGcpServiceAccount)(nil)).Elem() } -// The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.OpenaiApiKeyPlaintext - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutput() MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o } -// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil - } - return v.OpenaiApiType - }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) ToMetastoreDataAccessDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput { + return o } -// This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { - if v == nil { - return nil +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Elem() MetastoreDataAccessDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) MetastoreDataAccessDatabricksGcpServiceAccount { + if v != nil { + return *v } - return v.OpenaiApiVersion - }).(pulumi.StringPtrOutput) + var ret MetastoreDataAccessDatabricksGcpServiceAccount + return ret + }).(MetastoreDataAccessDatabricksGcpServiceAccountOutput) } -// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiDeploymentName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *string { if v == nil { return nil } - return v.OpenaiDeploymentName + return v.CredentialId }).(pulumi.StringPtrOutput) } -// This is an optional field to specify the organization in OpenAI or Azure OpenAI. -func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiOrganization() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { +func (o MetastoreDataAccessDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessDatabricksGcpServiceAccount) *string { if v == nil { return nil } - return v.OpenaiOrganization + return v.Email }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedEntityExternalModelPalmConfig struct { - // The Databricks secret key reference for a PaLM API key. - PalmApiKey *string `pulumi:"palmApiKey"` - // The PaLM API key provided as a plaintext string. - PalmApiKeyPlaintext *string `pulumi:"palmApiKeyPlaintext"` +type MetastoreDataAccessGcpServiceAccountKey struct { + Email string `pulumi:"email"` + PrivateKey string `pulumi:"privateKey"` + PrivateKeyId string `pulumi:"privateKeyId"` } -// ModelServingConfigServedEntityExternalModelPalmConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelPalmConfigArgs and ModelServingConfigServedEntityExternalModelPalmConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPalmConfigInput` via: +// MetastoreDataAccessGcpServiceAccountKeyInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs and MetastoreDataAccessGcpServiceAccountKeyOutput values. +// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyInput` via: // -// ModelServingConfigServedEntityExternalModelPalmConfigArgs{...} -type ModelServingConfigServedEntityExternalModelPalmConfigInput interface { +// MetastoreDataAccessGcpServiceAccountKeyArgs{...} +type MetastoreDataAccessGcpServiceAccountKeyInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput - ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput + ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput + ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput } -type ModelServingConfigServedEntityExternalModelPalmConfigArgs struct { - // The Databricks secret key reference for a PaLM API key. - PalmApiKey pulumi.StringPtrInput `pulumi:"palmApiKey"` - // The PaLM API key provided as a plaintext string. - PalmApiKeyPlaintext pulumi.StringPtrInput `pulumi:"palmApiKeyPlaintext"` +type MetastoreDataAccessGcpServiceAccountKeyArgs struct { + Email pulumi.StringInput `pulumi:"email"` + PrivateKey pulumi.StringInput `pulumi:"privateKey"` + PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` } -func (ModelServingConfigServedEntityExternalModelPalmConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() +func (MetastoreDataAccessGcpServiceAccountKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput { - return i.ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Background()) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { + return i.ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigOutput) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput) } -func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigOutput).ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx) +func (i MetastoreDataAccessGcpServiceAccountKeyArgs) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyOutput).ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx) } -// ModelServingConfigServedEntityExternalModelPalmConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelPalmConfigArgs, ModelServingConfigServedEntityExternalModelPalmConfigPtr and ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPalmConfigPtrInput` via: +// MetastoreDataAccessGcpServiceAccountKeyPtrInput is an input type that accepts MetastoreDataAccessGcpServiceAccountKeyArgs, MetastoreDataAccessGcpServiceAccountKeyPtr and MetastoreDataAccessGcpServiceAccountKeyPtrOutput values. +// You can construct a concrete instance of `MetastoreDataAccessGcpServiceAccountKeyPtrInput` via: // -// ModelServingConfigServedEntityExternalModelPalmConfigArgs{...} +// MetastoreDataAccessGcpServiceAccountKeyArgs{...} // // or: // // nil -type ModelServingConfigServedEntityExternalModelPalmConfigPtrInput interface { +type MetastoreDataAccessGcpServiceAccountKeyPtrInput interface { pulumi.Input - ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput - ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput + ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput + ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput } -type modelServingConfigServedEntityExternalModelPalmConfigPtrType ModelServingConfigServedEntityExternalModelPalmConfigArgs +type metastoreDataAccessGcpServiceAccountKeyPtrType MetastoreDataAccessGcpServiceAccountKeyArgs -func ModelServingConfigServedEntityExternalModelPalmConfigPtr(v *ModelServingConfigServedEntityExternalModelPalmConfigArgs) ModelServingConfigServedEntityExternalModelPalmConfigPtrInput { - return (*modelServingConfigServedEntityExternalModelPalmConfigPtrType)(v) +func MetastoreDataAccessGcpServiceAccountKeyPtr(v *MetastoreDataAccessGcpServiceAccountKeyArgs) MetastoreDataAccessGcpServiceAccountKeyPtrInput { + return (*metastoreDataAccessGcpServiceAccountKeyPtrType)(v) } -func (*modelServingConfigServedEntityExternalModelPalmConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() +func (*metastoreDataAccessGcpServiceAccountKeyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (i *modelServingConfigServedEntityExternalModelPalmConfigPtrType) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return i.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) +func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return i.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigServedEntityExternalModelPalmConfigPtrType) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) +func (i *metastoreDataAccessGcpServiceAccountKeyPtrType) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) } -type ModelServingConfigServedEntityExternalModelPalmConfigOutput struct{ *pulumi.OutputState } +type MetastoreDataAccessGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedEntityExternalModelPalmConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() +func (MetastoreDataAccessGcpServiceAccountKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutput() MetastoreDataAccessGcpServiceAccountKeyOutput { return o } -func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyOutput { return o } -func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return o.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return o.ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelPalmConfig) *ModelServingConfigServedEntityExternalModelPalmConfig { +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MetastoreDataAccessGcpServiceAccountKey) *MetastoreDataAccessGcpServiceAccountKey { return &v - }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) + }).(MetastoreDataAccessGcpServiceAccountKeyPtrOutput) } -// The Databricks secret key reference for a PaLM API key. -func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) PalmApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelPalmConfig) *string { return v.PalmApiKey }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) } -// The PaLM API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) PalmApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelPalmConfig) *string { return v.PalmApiKeyPlaintext }).(pulumi.StringPtrOutput) +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) } -type ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput struct{ *pulumi.OutputState } +func (o MetastoreDataAccessGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { + return o.ApplyT(func(v MetastoreDataAccessGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) +} -func (ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() +type MetastoreDataAccessGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } + +func (MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MetastoreDataAccessGcpServiceAccountKey)(nil)).Elem() } -func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutput() MetastoreDataAccessGcpServiceAccountKeyPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) ToMetastoreDataAccessGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) MetastoreDataAccessGcpServiceAccountKeyPtrOutput { return o } -func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelPalmConfigOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) ModelServingConfigServedEntityExternalModelPalmConfig { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Elem() MetastoreDataAccessGcpServiceAccountKeyOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) MetastoreDataAccessGcpServiceAccountKey { if v != nil { return *v } - var ret ModelServingConfigServedEntityExternalModelPalmConfig + var ret MetastoreDataAccessGcpServiceAccountKey return ret - }).(ModelServingConfigServedEntityExternalModelPalmConfigOutput) + }).(MetastoreDataAccessGcpServiceAccountKeyOutput) } -// The Databricks secret key reference for a PaLM API key. -func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) PalmApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) *string { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { if v == nil { return nil } - return v.PalmApiKey + return &v.Email }).(pulumi.StringPtrOutput) } -// The PaLM API key provided as a plaintext string. -func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) PalmApiKeyPlaintext() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) *string { +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { if v == nil { return nil } - return v.PalmApiKeyPlaintext + return &v.PrivateKey }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedModel struct { - // a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. - EnvironmentVars map[string]string `pulumi:"environmentVars"` - // ARN of the instance profile that the served model will use to access AWS resources. - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - // The maximum tokens per second that the endpoint can scale up to. - MaxProvisionedThroughput *int `pulumi:"maxProvisionedThroughput"` - // The minimum tokens per second that the endpoint can scale down to. - MinProvisionedThroughput *int `pulumi:"minProvisionedThroughput"` - // The name of the model in Databricks Model Registry to be served. - ModelName string `pulumi:"modelName"` - // The version of the model in Databricks Model Registry to be served. - ModelVersion string `pulumi:"modelVersion"` - // The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. - Name *string `pulumi:"name"` - // Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. - ScaleToZeroEnabled *bool `pulumi:"scaleToZeroEnabled"` - // The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). - WorkloadSize *string `pulumi:"workloadSize"` - // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. - WorkloadType *string `pulumi:"workloadType"` -} - -// ModelServingConfigServedModelInput is an input type that accepts ModelServingConfigServedModelArgs and ModelServingConfigServedModelOutput values. -// You can construct a concrete instance of `ModelServingConfigServedModelInput` via: -// -// ModelServingConfigServedModelArgs{...} -type ModelServingConfigServedModelInput interface { - pulumi.Input - - ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput - ToModelServingConfigServedModelOutputWithContext(context.Context) ModelServingConfigServedModelOutput -} - -type ModelServingConfigServedModelArgs struct { - // a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. - EnvironmentVars pulumi.StringMapInput `pulumi:"environmentVars"` - // ARN of the instance profile that the served model will use to access AWS resources. - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - // The maximum tokens per second that the endpoint can scale up to. - MaxProvisionedThroughput pulumi.IntPtrInput `pulumi:"maxProvisionedThroughput"` - // The minimum tokens per second that the endpoint can scale down to. - MinProvisionedThroughput pulumi.IntPtrInput `pulumi:"minProvisionedThroughput"` - // The name of the model in Databricks Model Registry to be served. - ModelName pulumi.StringInput `pulumi:"modelName"` - // The version of the model in Databricks Model Registry to be served. - ModelVersion pulumi.StringInput `pulumi:"modelVersion"` - // The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. - Name pulumi.StringPtrInput `pulumi:"name"` - // Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. - ScaleToZeroEnabled pulumi.BoolPtrInput `pulumi:"scaleToZeroEnabled"` - // The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). - WorkloadSize pulumi.StringPtrInput `pulumi:"workloadSize"` - // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. - WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` -} - -func (ModelServingConfigServedModelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() -} - -func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { - return i.ToModelServingConfigServedModelOutputWithContext(context.Background()) +func (o MetastoreDataAccessGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MetastoreDataAccessGcpServiceAccountKey) *string { + if v == nil { + return nil + } + return &v.PrivateKeyId + }).(pulumi.StringPtrOutput) } -func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelOutput) +type MlflowModelTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -// ModelServingConfigServedModelArrayInput is an input type that accepts ModelServingConfigServedModelArray and ModelServingConfigServedModelArrayOutput values. -// You can construct a concrete instance of `ModelServingConfigServedModelArrayInput` via: +// MlflowModelTagInput is an input type that accepts MlflowModelTagArgs and MlflowModelTagOutput values. +// You can construct a concrete instance of `MlflowModelTagInput` via: // -// ModelServingConfigServedModelArray{ ModelServingConfigServedModelArgs{...} } -type ModelServingConfigServedModelArrayInput interface { +// MlflowModelTagArgs{...} +type MlflowModelTagInput interface { pulumi.Input - ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput - ToModelServingConfigServedModelArrayOutputWithContext(context.Context) ModelServingConfigServedModelArrayOutput + ToMlflowModelTagOutput() MlflowModelTagOutput + ToMlflowModelTagOutputWithContext(context.Context) MlflowModelTagOutput } -type ModelServingConfigServedModelArray []ModelServingConfigServedModelInput - -func (ModelServingConfigServedModelArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() +type MlflowModelTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { - return i.ToModelServingConfigServedModelArrayOutputWithContext(context.Background()) +func (MlflowModelTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() } -func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelArrayOutput) +func (i MlflowModelTagArgs) ToMlflowModelTagOutput() MlflowModelTagOutput { + return i.ToMlflowModelTagOutputWithContext(context.Background()) } -type ModelServingConfigServedModelOutput struct{ *pulumi.OutputState } - -func (ModelServingConfigServedModelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() +func (i MlflowModelTagArgs) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagOutput) } -func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { - return o -} +// MlflowModelTagArrayInput is an input type that accepts MlflowModelTagArray and MlflowModelTagArrayOutput values. +// You can construct a concrete instance of `MlflowModelTagArrayInput` via: +// +// MlflowModelTagArray{ MlflowModelTagArgs{...} } +type MlflowModelTagArrayInput interface { + pulumi.Input -func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { - return o + ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput + ToMlflowModelTagArrayOutputWithContext(context.Context) MlflowModelTagArrayOutput } -// a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. -func (o ModelServingConfigServedModelOutput) EnvironmentVars() pulumi.StringMapOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) map[string]string { return v.EnvironmentVars }).(pulumi.StringMapOutput) -} +type MlflowModelTagArray []MlflowModelTagInput -// ARN of the instance profile that the served model will use to access AWS resources. -func (o ModelServingConfigServedModelOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (MlflowModelTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() } -// The maximum tokens per second that the endpoint can scale up to. -func (o ModelServingConfigServedModelOutput) MaxProvisionedThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *int { return v.MaxProvisionedThroughput }).(pulumi.IntPtrOutput) +func (i MlflowModelTagArray) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { + return i.ToMlflowModelTagArrayOutputWithContext(context.Background()) } -// The minimum tokens per second that the endpoint can scale down to. -func (o ModelServingConfigServedModelOutput) MinProvisionedThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *int { return v.MinProvisionedThroughput }).(pulumi.IntPtrOutput) +func (i MlflowModelTagArray) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowModelTagArrayOutput) } -// The name of the model in Databricks Model Registry to be served. -func (o ModelServingConfigServedModelOutput) ModelName() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.ModelName }).(pulumi.StringOutput) -} +type MlflowModelTagOutput struct{ *pulumi.OutputState } -// The version of the model in Databricks Model Registry to be served. -func (o ModelServingConfigServedModelOutput) ModelVersion() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.ModelVersion }).(pulumi.StringOutput) +func (MlflowModelTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowModelTag)(nil)).Elem() } -// The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. -func (o ModelServingConfigServedModelOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o MlflowModelTagOutput) ToMlflowModelTagOutput() MlflowModelTagOutput { + return o } -// Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. -func (o ModelServingConfigServedModelOutput) ScaleToZeroEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *bool { return v.ScaleToZeroEnabled }).(pulumi.BoolPtrOutput) +func (o MlflowModelTagOutput) ToMlflowModelTagOutputWithContext(ctx context.Context) MlflowModelTagOutput { + return o } -// The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). -func (o ModelServingConfigServedModelOutput) WorkloadSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadSize }).(pulumi.StringPtrOutput) +func (o MlflowModelTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. -func (o ModelServingConfigServedModelOutput) WorkloadType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) +func (o MlflowModelTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -type ModelServingConfigServedModelArrayOutput struct{ *pulumi.OutputState } +type MlflowModelTagArrayOutput struct{ *pulumi.OutputState } -func (ModelServingConfigServedModelArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() +func (MlflowModelTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MlflowModelTag)(nil)).Elem() } -func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { +func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutput() MlflowModelTagArrayOutput { return o } -func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { +func (o MlflowModelTagArrayOutput) ToMlflowModelTagArrayOutputWithContext(ctx context.Context) MlflowModelTagArrayOutput { return o } -func (o ModelServingConfigServedModelArrayOutput) Index(i pulumi.IntInput) ModelServingConfigServedModelOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingConfigServedModel { - return vs[0].([]ModelServingConfigServedModel)[vs[1].(int)] - }).(ModelServingConfigServedModelOutput) +func (o MlflowModelTagArrayOutput) Index(i pulumi.IntInput) MlflowModelTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MlflowModelTag { + return vs[0].([]MlflowModelTag)[vs[1].(int)] + }).(MlflowModelTagOutput) } -type ModelServingConfigTrafficConfig struct { - // Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. - Routes []ModelServingConfigTrafficConfigRoute `pulumi:"routes"` +type MlflowWebhookHttpUrlSpec struct { + // Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. + Authorization *string `pulumi:"authorization"` + // Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. + EnableSslVerification *bool `pulumi:"enableSslVerification"` + // Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. + Secret *string `pulumi:"secret"` + // External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. + Url string `pulumi:"url"` } -// ModelServingConfigTrafficConfigInput is an input type that accepts ModelServingConfigTrafficConfigArgs and ModelServingConfigTrafficConfigOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigInput` via: +// MlflowWebhookHttpUrlSpecInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs and MlflowWebhookHttpUrlSpecOutput values. +// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecInput` via: // -// ModelServingConfigTrafficConfigArgs{...} -type ModelServingConfigTrafficConfigInput interface { +// MlflowWebhookHttpUrlSpecArgs{...} +type MlflowWebhookHttpUrlSpecInput interface { pulumi.Input - ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput - ToModelServingConfigTrafficConfigOutputWithContext(context.Context) ModelServingConfigTrafficConfigOutput + ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput + ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecOutput } -type ModelServingConfigTrafficConfigArgs struct { - // Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. - Routes ModelServingConfigTrafficConfigRouteArrayInput `pulumi:"routes"` +type MlflowWebhookHttpUrlSpecArgs struct { + // Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. + Authorization pulumi.StringPtrInput `pulumi:"authorization"` + // Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. + EnableSslVerification pulumi.BoolPtrInput `pulumi:"enableSslVerification"` + // Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. + Secret pulumi.StringPtrInput `pulumi:"secret"` + // External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. + Url pulumi.StringInput `pulumi:"url"` } -func (ModelServingConfigTrafficConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() +func (MlflowWebhookHttpUrlSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { - return i.ToModelServingConfigTrafficConfigOutputWithContext(context.Background()) +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { + return i.ToMlflowWebhookHttpUrlSpecOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput) +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput) } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { - return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput).ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx) +func (i MlflowWebhookHttpUrlSpecArgs) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecOutput).ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx) } -// ModelServingConfigTrafficConfigPtrInput is an input type that accepts ModelServingConfigTrafficConfigArgs, ModelServingConfigTrafficConfigPtr and ModelServingConfigTrafficConfigPtrOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigPtrInput` via: +// MlflowWebhookHttpUrlSpecPtrInput is an input type that accepts MlflowWebhookHttpUrlSpecArgs, MlflowWebhookHttpUrlSpecPtr and MlflowWebhookHttpUrlSpecPtrOutput values. +// You can construct a concrete instance of `MlflowWebhookHttpUrlSpecPtrInput` via: // -// ModelServingConfigTrafficConfigArgs{...} +// MlflowWebhookHttpUrlSpecArgs{...} // // or: // // nil -type ModelServingConfigTrafficConfigPtrInput interface { +type MlflowWebhookHttpUrlSpecPtrInput interface { pulumi.Input - ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput - ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Context) ModelServingConfigTrafficConfigPtrOutput + ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput + ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Context) MlflowWebhookHttpUrlSpecPtrOutput } -type modelServingConfigTrafficConfigPtrType ModelServingConfigTrafficConfigArgs +type mlflowWebhookHttpUrlSpecPtrType MlflowWebhookHttpUrlSpecArgs -func ModelServingConfigTrafficConfigPtr(v *ModelServingConfigTrafficConfigArgs) ModelServingConfigTrafficConfigPtrInput { - return (*modelServingConfigTrafficConfigPtrType)(v) +func MlflowWebhookHttpUrlSpecPtr(v *MlflowWebhookHttpUrlSpecArgs) MlflowWebhookHttpUrlSpecPtrInput { + return (*mlflowWebhookHttpUrlSpecPtrType)(v) } -func (*modelServingConfigTrafficConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() +func (*mlflowWebhookHttpUrlSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() } -func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { - return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) +func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return i.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) } -func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigPtrOutput) +func (i *mlflowWebhookHttpUrlSpecPtrType) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookHttpUrlSpecPtrOutput) } -type ModelServingConfigTrafficConfigOutput struct{ *pulumi.OutputState } +type MlflowWebhookHttpUrlSpecOutput struct{ *pulumi.OutputState } -func (ModelServingConfigTrafficConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() +func (MlflowWebhookHttpUrlSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookHttpUrlSpec)(nil)).Elem() } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutput() MlflowWebhookHttpUrlSpecOutput { return o } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecOutput { return o } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { - return o.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { + return o.ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(context.Background()) } -func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigTrafficConfig) *ModelServingConfigTrafficConfig { +func (o MlflowWebhookHttpUrlSpecOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookHttpUrlSpec) *MlflowWebhookHttpUrlSpec { return &v - }).(ModelServingConfigTrafficConfigPtrOutput) + }).(MlflowWebhookHttpUrlSpecPtrOutput) } -// Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. -func (o ModelServingConfigTrafficConfigOutput) Routes() ModelServingConfigTrafficConfigRouteArrayOutput { - return o.ApplyT(func(v ModelServingConfigTrafficConfig) []ModelServingConfigTrafficConfigRoute { return v.Routes }).(ModelServingConfigTrafficConfigRouteArrayOutput) +// Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. +func (o MlflowWebhookHttpUrlSpecOutput) Authorization() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) *string { return v.Authorization }).(pulumi.StringPtrOutput) } -type ModelServingConfigTrafficConfigPtrOutput struct{ *pulumi.OutputState } +// Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. +func (o MlflowWebhookHttpUrlSpecOutput) EnableSslVerification() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) *bool { return v.EnableSslVerification }).(pulumi.BoolPtrOutput) +} -func (ModelServingConfigTrafficConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() +// Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. +func (o MlflowWebhookHttpUrlSpecOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) *string { return v.Secret }).(pulumi.StringPtrOutput) } -func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { +// External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. +func (o MlflowWebhookHttpUrlSpecOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v MlflowWebhookHttpUrlSpec) string { return v.Url }).(pulumi.StringOutput) +} + +type MlflowWebhookHttpUrlSpecPtrOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookHttpUrlSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookHttpUrlSpec)(nil)).Elem() +} + +func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutput() MlflowWebhookHttpUrlSpecPtrOutput { return o } -func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { +func (o MlflowWebhookHttpUrlSpecPtrOutput) ToMlflowWebhookHttpUrlSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookHttpUrlSpecPtrOutput { return o } -func (o ModelServingConfigTrafficConfigPtrOutput) Elem() ModelServingConfigTrafficConfigOutput { - return o.ApplyT(func(v *ModelServingConfigTrafficConfig) ModelServingConfigTrafficConfig { +func (o MlflowWebhookHttpUrlSpecPtrOutput) Elem() MlflowWebhookHttpUrlSpecOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) MlflowWebhookHttpUrlSpec { if v != nil { return *v } - var ret ModelServingConfigTrafficConfig + var ret MlflowWebhookHttpUrlSpec return ret - }).(ModelServingConfigTrafficConfigOutput) + }).(MlflowWebhookHttpUrlSpecOutput) } -// Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. -func (o ModelServingConfigTrafficConfigPtrOutput) Routes() ModelServingConfigTrafficConfigRouteArrayOutput { - return o.ApplyT(func(v *ModelServingConfigTrafficConfig) []ModelServingConfigTrafficConfigRoute { +// Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. +func (o MlflowWebhookHttpUrlSpecPtrOutput) Authorization() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { if v == nil { return nil } - return v.Routes - }).(ModelServingConfigTrafficConfigRouteArrayOutput) + return v.Authorization + }).(pulumi.StringPtrOutput) } -type ModelServingConfigTrafficConfigRoute struct { - ServedModelName string `pulumi:"servedModelName"` - // The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. - TrafficPercentage int `pulumi:"trafficPercentage"` +// Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. +func (o MlflowWebhookHttpUrlSpecPtrOutput) EnableSslVerification() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *bool { + if v == nil { + return nil + } + return v.EnableSslVerification + }).(pulumi.BoolPtrOutput) } -// ModelServingConfigTrafficConfigRouteInput is an input type that accepts ModelServingConfigTrafficConfigRouteArgs and ModelServingConfigTrafficConfigRouteOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteInput` via: +// Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encodedPayload`. +func (o MlflowWebhookHttpUrlSpecPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { + if v == nil { + return nil + } + return v.Secret + }).(pulumi.StringPtrOutput) +} + +// External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. +func (o MlflowWebhookHttpUrlSpecPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookHttpUrlSpec) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) +} + +type MlflowWebhookJobSpec struct { + // The personal access token used to authorize webhook's job runs. + AccessToken string `pulumi:"accessToken"` + // ID of the Databricks job that the webhook runs. + JobId string `pulumi:"jobId"` + // URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. + WorkspaceUrl *string `pulumi:"workspaceUrl"` +} + +// MlflowWebhookJobSpecInput is an input type that accepts MlflowWebhookJobSpecArgs and MlflowWebhookJobSpecOutput values. +// You can construct a concrete instance of `MlflowWebhookJobSpecInput` via: // -// ModelServingConfigTrafficConfigRouteArgs{...} -type ModelServingConfigTrafficConfigRouteInput interface { +// MlflowWebhookJobSpecArgs{...} +type MlflowWebhookJobSpecInput interface { pulumi.Input - ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput - ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteOutput + ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput + ToMlflowWebhookJobSpecOutputWithContext(context.Context) MlflowWebhookJobSpecOutput } -type ModelServingConfigTrafficConfigRouteArgs struct { - ServedModelName pulumi.StringInput `pulumi:"servedModelName"` - // The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. - TrafficPercentage pulumi.IntInput `pulumi:"trafficPercentage"` +type MlflowWebhookJobSpecArgs struct { + // The personal access token used to authorize webhook's job runs. + AccessToken pulumi.StringInput `pulumi:"accessToken"` + // ID of the Databricks job that the webhook runs. + JobId pulumi.StringInput `pulumi:"jobId"` + // URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. + WorkspaceUrl pulumi.StringPtrInput `pulumi:"workspaceUrl"` } -func (ModelServingConfigTrafficConfigRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() +func (MlflowWebhookJobSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() } -func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { - return i.ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Background()) +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { + return i.ToMlflowWebhookJobSpecOutputWithContext(context.Background()) } -func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteOutput) +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput) } -// ModelServingConfigTrafficConfigRouteArrayInput is an input type that accepts ModelServingConfigTrafficConfigRouteArray and ModelServingConfigTrafficConfigRouteArrayOutput values. -// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteArrayInput` via: +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) +} + +func (i MlflowWebhookJobSpecArgs) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecOutput).ToMlflowWebhookJobSpecPtrOutputWithContext(ctx) +} + +// MlflowWebhookJobSpecPtrInput is an input type that accepts MlflowWebhookJobSpecArgs, MlflowWebhookJobSpecPtr and MlflowWebhookJobSpecPtrOutput values. +// You can construct a concrete instance of `MlflowWebhookJobSpecPtrInput` via: // -// ModelServingConfigTrafficConfigRouteArray{ ModelServingConfigTrafficConfigRouteArgs{...} } -type ModelServingConfigTrafficConfigRouteArrayInput interface { +// MlflowWebhookJobSpecArgs{...} +// +// or: +// +// nil +type MlflowWebhookJobSpecPtrInput interface { pulumi.Input - ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput - ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteArrayOutput + ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput + ToMlflowWebhookJobSpecPtrOutputWithContext(context.Context) MlflowWebhookJobSpecPtrOutput } -type ModelServingConfigTrafficConfigRouteArray []ModelServingConfigTrafficConfigRouteInput +type mlflowWebhookJobSpecPtrType MlflowWebhookJobSpecArgs -func (ModelServingConfigTrafficConfigRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() +func MlflowWebhookJobSpecPtr(v *MlflowWebhookJobSpecArgs) MlflowWebhookJobSpecPtrInput { + return (*mlflowWebhookJobSpecPtrType)(v) } -func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { - return i.ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Background()) +func (*mlflowWebhookJobSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() } -func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteArrayOutput) +func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return i.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) } -type ModelServingConfigTrafficConfigRouteOutput struct{ *pulumi.OutputState } +func (i *mlflowWebhookJobSpecPtrType) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MlflowWebhookJobSpecPtrOutput) +} -func (ModelServingConfigTrafficConfigRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() +type MlflowWebhookJobSpecOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookJobSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MlflowWebhookJobSpec)(nil)).Elem() } -func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutput() MlflowWebhookJobSpecOutput { return o } -func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecOutputWithContext(ctx context.Context) MlflowWebhookJobSpecOutput { return o } -func (o ModelServingConfigTrafficConfigRouteOutput) ServedModelName() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingConfigTrafficConfigRoute) string { return v.ServedModelName }).(pulumi.StringOutput) +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { + return o.ToMlflowWebhookJobSpecPtrOutputWithContext(context.Background()) } -// The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. -func (o ModelServingConfigTrafficConfigRouteOutput) TrafficPercentage() pulumi.IntOutput { - return o.ApplyT(func(v ModelServingConfigTrafficConfigRoute) int { return v.TrafficPercentage }).(pulumi.IntOutput) +func (o MlflowWebhookJobSpecOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MlflowWebhookJobSpec) *MlflowWebhookJobSpec { + return &v + }).(MlflowWebhookJobSpecPtrOutput) } -type ModelServingConfigTrafficConfigRouteArrayOutput struct{ *pulumi.OutputState } +// The personal access token used to authorize webhook's job runs. +func (o MlflowWebhookJobSpecOutput) AccessToken() pulumi.StringOutput { + return o.ApplyT(func(v MlflowWebhookJobSpec) string { return v.AccessToken }).(pulumi.StringOutput) +} -func (ModelServingConfigTrafficConfigRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() +// ID of the Databricks job that the webhook runs. +func (o MlflowWebhookJobSpecOutput) JobId() pulumi.StringOutput { + return o.ApplyT(func(v MlflowWebhookJobSpec) string { return v.JobId }).(pulumi.StringOutput) } -func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { +// URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. +func (o MlflowWebhookJobSpecOutput) WorkspaceUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v MlflowWebhookJobSpec) *string { return v.WorkspaceUrl }).(pulumi.StringPtrOutput) +} + +type MlflowWebhookJobSpecPtrOutput struct{ *pulumi.OutputState } + +func (MlflowWebhookJobSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MlflowWebhookJobSpec)(nil)).Elem() +} + +func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutput() MlflowWebhookJobSpecPtrOutput { return o } -func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { +func (o MlflowWebhookJobSpecPtrOutput) ToMlflowWebhookJobSpecPtrOutputWithContext(ctx context.Context) MlflowWebhookJobSpecPtrOutput { return o } -func (o ModelServingConfigTrafficConfigRouteArrayOutput) Index(i pulumi.IntInput) ModelServingConfigTrafficConfigRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingConfigTrafficConfigRoute { - return vs[0].([]ModelServingConfigTrafficConfigRoute)[vs[1].(int)] - }).(ModelServingConfigTrafficConfigRouteOutput) +func (o MlflowWebhookJobSpecPtrOutput) Elem() MlflowWebhookJobSpecOutput { + return o.ApplyT(func(v *MlflowWebhookJobSpec) MlflowWebhookJobSpec { + if v != nil { + return *v + } + var ret MlflowWebhookJobSpec + return ret + }).(MlflowWebhookJobSpecOutput) } -type ModelServingRateLimit struct { - // Used to specify how many calls are allowed for a key within the renewal_period. - Calls int `pulumi:"calls"` - // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. - Key *string `pulumi:"key"` - // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. - RenewalPeriod string `pulumi:"renewalPeriod"` +// The personal access token used to authorize webhook's job runs. +func (o MlflowWebhookJobSpecPtrOutput) AccessToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { + if v == nil { + return nil + } + return &v.AccessToken + }).(pulumi.StringPtrOutput) } -// ModelServingRateLimitInput is an input type that accepts ModelServingRateLimitArgs and ModelServingRateLimitOutput values. -// You can construct a concrete instance of `ModelServingRateLimitInput` via: +// ID of the Databricks job that the webhook runs. +func (o MlflowWebhookJobSpecPtrOutput) JobId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { + if v == nil { + return nil + } + return &v.JobId + }).(pulumi.StringPtrOutput) +} + +// URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. +func (o MlflowWebhookJobSpecPtrOutput) WorkspaceUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MlflowWebhookJobSpec) *string { + if v == nil { + return nil + } + return v.WorkspaceUrl + }).(pulumi.StringPtrOutput) +} + +type ModelServingAiGateway struct { + // Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: + Guardrails *ModelServingAiGatewayGuardrails `pulumi:"guardrails"` + // Block describing the configuration of usage tracking. Consists of the following attributes: + InferenceTableConfig *ModelServingAiGatewayInferenceTableConfig `pulumi:"inferenceTableConfig"` + // Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. + RateLimits []ModelServingAiGatewayRateLimit `pulumi:"rateLimits"` + // Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. + UsageTrackingConfig *ModelServingAiGatewayUsageTrackingConfig `pulumi:"usageTrackingConfig"` +} + +// ModelServingAiGatewayInput is an input type that accepts ModelServingAiGatewayArgs and ModelServingAiGatewayOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayInput` via: // -// ModelServingRateLimitArgs{...} -type ModelServingRateLimitInput interface { +// ModelServingAiGatewayArgs{...} +type ModelServingAiGatewayInput interface { pulumi.Input - ToModelServingRateLimitOutput() ModelServingRateLimitOutput - ToModelServingRateLimitOutputWithContext(context.Context) ModelServingRateLimitOutput + ToModelServingAiGatewayOutput() ModelServingAiGatewayOutput + ToModelServingAiGatewayOutputWithContext(context.Context) ModelServingAiGatewayOutput +} + +type ModelServingAiGatewayArgs struct { + // Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: + Guardrails ModelServingAiGatewayGuardrailsPtrInput `pulumi:"guardrails"` + // Block describing the configuration of usage tracking. Consists of the following attributes: + InferenceTableConfig ModelServingAiGatewayInferenceTableConfigPtrInput `pulumi:"inferenceTableConfig"` + // Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. + RateLimits ModelServingAiGatewayRateLimitArrayInput `pulumi:"rateLimits"` + // Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. + UsageTrackingConfig ModelServingAiGatewayUsageTrackingConfigPtrInput `pulumi:"usageTrackingConfig"` +} + +func (ModelServingAiGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGateway)(nil)).Elem() } -type ModelServingRateLimitArgs struct { - // Used to specify how many calls are allowed for a key within the renewal_period. - Calls pulumi.IntInput `pulumi:"calls"` - // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. - Key pulumi.StringPtrInput `pulumi:"key"` - // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. - RenewalPeriod pulumi.StringInput `pulumi:"renewalPeriod"` +func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayOutput() ModelServingAiGatewayOutput { + return i.ToModelServingAiGatewayOutputWithContext(context.Background()) +} + +func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayOutputWithContext(ctx context.Context) ModelServingAiGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayOutput) +} + +func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { + return i.ToModelServingAiGatewayPtrOutputWithContext(context.Background()) +} + +func (i ModelServingAiGatewayArgs) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayOutput).ToModelServingAiGatewayPtrOutputWithContext(ctx) +} + +// ModelServingAiGatewayPtrInput is an input type that accepts ModelServingAiGatewayArgs, ModelServingAiGatewayPtr and ModelServingAiGatewayPtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayPtrInput` via: +// +// ModelServingAiGatewayArgs{...} +// +// or: +// +// nil +type ModelServingAiGatewayPtrInput interface { + pulumi.Input + + ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput + ToModelServingAiGatewayPtrOutputWithContext(context.Context) ModelServingAiGatewayPtrOutput +} + +type modelServingAiGatewayPtrType ModelServingAiGatewayArgs + +func ModelServingAiGatewayPtr(v *ModelServingAiGatewayArgs) ModelServingAiGatewayPtrInput { + return (*modelServingAiGatewayPtrType)(v) } -func (ModelServingRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() +func (*modelServingAiGatewayPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGateway)(nil)).Elem() } -func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { - return i.ToModelServingRateLimitOutputWithContext(context.Background()) +func (i *modelServingAiGatewayPtrType) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { + return i.ToModelServingAiGatewayPtrOutputWithContext(context.Background()) } -func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitOutput) +func (i *modelServingAiGatewayPtrType) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayPtrOutput) } -// ModelServingRateLimitArrayInput is an input type that accepts ModelServingRateLimitArray and ModelServingRateLimitArrayOutput values. -// You can construct a concrete instance of `ModelServingRateLimitArrayInput` via: -// -// ModelServingRateLimitArray{ ModelServingRateLimitArgs{...} } -type ModelServingRateLimitArrayInput interface { - pulumi.Input +type ModelServingAiGatewayOutput struct{ *pulumi.OutputState } - ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput - ToModelServingRateLimitArrayOutputWithContext(context.Context) ModelServingRateLimitArrayOutput +func (ModelServingAiGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGateway)(nil)).Elem() } -type ModelServingRateLimitArray []ModelServingRateLimitInput +func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayOutput() ModelServingAiGatewayOutput { + return o +} -func (ModelServingRateLimitArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() +func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayOutputWithContext(ctx context.Context) ModelServingAiGatewayOutput { + return o } -func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { - return i.ToModelServingRateLimitArrayOutputWithContext(context.Background()) +func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { + return o.ToModelServingAiGatewayPtrOutputWithContext(context.Background()) } -func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitArrayOutput) +func (o ModelServingAiGatewayOutput) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGateway) *ModelServingAiGateway { + return &v + }).(ModelServingAiGatewayPtrOutput) } -type ModelServingRateLimitOutput struct{ *pulumi.OutputState } +// Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: +func (o ModelServingAiGatewayOutput) Guardrails() ModelServingAiGatewayGuardrailsPtrOutput { + return o.ApplyT(func(v ModelServingAiGateway) *ModelServingAiGatewayGuardrails { return v.Guardrails }).(ModelServingAiGatewayGuardrailsPtrOutput) +} -func (ModelServingRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() +// Block describing the configuration of usage tracking. Consists of the following attributes: +func (o ModelServingAiGatewayOutput) InferenceTableConfig() ModelServingAiGatewayInferenceTableConfigPtrOutput { + return o.ApplyT(func(v ModelServingAiGateway) *ModelServingAiGatewayInferenceTableConfig { + return v.InferenceTableConfig + }).(ModelServingAiGatewayInferenceTableConfigPtrOutput) } -func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { - return o +// Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. +func (o ModelServingAiGatewayOutput) RateLimits() ModelServingAiGatewayRateLimitArrayOutput { + return o.ApplyT(func(v ModelServingAiGateway) []ModelServingAiGatewayRateLimit { return v.RateLimits }).(ModelServingAiGatewayRateLimitArrayOutput) } -func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { - return o +// Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. +func (o ModelServingAiGatewayOutput) UsageTrackingConfig() ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return o.ApplyT(func(v ModelServingAiGateway) *ModelServingAiGatewayUsageTrackingConfig { return v.UsageTrackingConfig }).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) } -// Used to specify how many calls are allowed for a key within the renewal_period. -func (o ModelServingRateLimitOutput) Calls() pulumi.IntOutput { - return o.ApplyT(func(v ModelServingRateLimit) int { return v.Calls }).(pulumi.IntOutput) +type ModelServingAiGatewayPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGateway)(nil)).Elem() } -// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. -func (o ModelServingRateLimitOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingRateLimit) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o ModelServingAiGatewayPtrOutput) ToModelServingAiGatewayPtrOutput() ModelServingAiGatewayPtrOutput { + return o } -// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. -func (o ModelServingRateLimitOutput) RenewalPeriod() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingRateLimit) string { return v.RenewalPeriod }).(pulumi.StringOutput) +func (o ModelServingAiGatewayPtrOutput) ToModelServingAiGatewayPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayPtrOutput { + return o } -type ModelServingRateLimitArrayOutput struct{ *pulumi.OutputState } +func (o ModelServingAiGatewayPtrOutput) Elem() ModelServingAiGatewayOutput { + return o.ApplyT(func(v *ModelServingAiGateway) ModelServingAiGateway { + if v != nil { + return *v + } + var ret ModelServingAiGateway + return ret + }).(ModelServingAiGatewayOutput) +} -func (ModelServingRateLimitArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() +// Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: +func (o ModelServingAiGatewayPtrOutput) Guardrails() ModelServingAiGatewayGuardrailsPtrOutput { + return o.ApplyT(func(v *ModelServingAiGateway) *ModelServingAiGatewayGuardrails { + if v == nil { + return nil + } + return v.Guardrails + }).(ModelServingAiGatewayGuardrailsPtrOutput) } -func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { - return o +// Block describing the configuration of usage tracking. Consists of the following attributes: +func (o ModelServingAiGatewayPtrOutput) InferenceTableConfig() ModelServingAiGatewayInferenceTableConfigPtrOutput { + return o.ApplyT(func(v *ModelServingAiGateway) *ModelServingAiGatewayInferenceTableConfig { + if v == nil { + return nil + } + return v.InferenceTableConfig + }).(ModelServingAiGatewayInferenceTableConfigPtrOutput) } -func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { - return o +// Block describing rate limits for AI gateway. For details see the description of `rateLimits` block above. +func (o ModelServingAiGatewayPtrOutput) RateLimits() ModelServingAiGatewayRateLimitArrayOutput { + return o.ApplyT(func(v *ModelServingAiGateway) []ModelServingAiGatewayRateLimit { + if v == nil { + return nil + } + return v.RateLimits + }).(ModelServingAiGatewayRateLimitArrayOutput) } -func (o ModelServingRateLimitArrayOutput) Index(i pulumi.IntInput) ModelServingRateLimitOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingRateLimit { - return vs[0].([]ModelServingRateLimit)[vs[1].(int)] - }).(ModelServingRateLimitOutput) +// Block with configuration for payload logging using inference tables. For details see the description of `autoCaptureConfig` block above. +func (o ModelServingAiGatewayPtrOutput) UsageTrackingConfig() ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return o.ApplyT(func(v *ModelServingAiGateway) *ModelServingAiGatewayUsageTrackingConfig { + if v == nil { + return nil + } + return v.UsageTrackingConfig + }).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) } -type ModelServingTag struct { - // The key field for a tag. - Key string `pulumi:"key"` - // The value field for a tag. - Value *string `pulumi:"value"` +type ModelServingAiGatewayGuardrails struct { + // A block with configuration for input guardrail filters: + Input *ModelServingAiGatewayGuardrailsInputType `pulumi:"input"` + // A block with configuration for output guardrail filters. Has the same structure as `input` block. + Output *ModelServingAiGatewayGuardrailsOutputType `pulumi:"output"` } -// ModelServingTagInput is an input type that accepts ModelServingTagArgs and ModelServingTagOutput values. -// You can construct a concrete instance of `ModelServingTagInput` via: +// ModelServingAiGatewayGuardrailsInput is an input type that accepts ModelServingAiGatewayGuardrailsArgs and ModelServingAiGatewayGuardrailsOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInput` via: // -// ModelServingTagArgs{...} -type ModelServingTagInput interface { +// ModelServingAiGatewayGuardrailsArgs{...} +type ModelServingAiGatewayGuardrailsInput interface { pulumi.Input - ToModelServingTagOutput() ModelServingTagOutput - ToModelServingTagOutputWithContext(context.Context) ModelServingTagOutput + ToModelServingAiGatewayGuardrailsOutput() ModelServingAiGatewayGuardrailsOutput + ToModelServingAiGatewayGuardrailsOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutput } -type ModelServingTagArgs struct { - // The key field for a tag. - Key pulumi.StringInput `pulumi:"key"` - // The value field for a tag. - Value pulumi.StringPtrInput `pulumi:"value"` +type ModelServingAiGatewayGuardrailsArgs struct { + // A block with configuration for input guardrail filters: + Input ModelServingAiGatewayGuardrailsInputTypePtrInput `pulumi:"input"` + // A block with configuration for output guardrail filters. Has the same structure as `input` block. + Output ModelServingAiGatewayGuardrailsOutputTypePtrInput `pulumi:"output"` } -func (ModelServingTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingTag)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrails)(nil)).Elem() } -func (i ModelServingTagArgs) ToModelServingTagOutput() ModelServingTagOutput { - return i.ToModelServingTagOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsOutput() ModelServingAiGatewayGuardrailsOutput { + return i.ToModelServingAiGatewayGuardrailsOutputWithContext(context.Background()) } -func (i ModelServingTagArgs) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagOutput) +func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutput) } -// ModelServingTagArrayInput is an input type that accepts ModelServingTagArray and ModelServingTagArrayOutput values. -// You can construct a concrete instance of `ModelServingTagArrayInput` via: +func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { + return i.ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Background()) +} + +func (i ModelServingAiGatewayGuardrailsArgs) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutput).ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx) +} + +// ModelServingAiGatewayGuardrailsPtrInput is an input type that accepts ModelServingAiGatewayGuardrailsArgs, ModelServingAiGatewayGuardrailsPtr and ModelServingAiGatewayGuardrailsPtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsPtrInput` via: // -// ModelServingTagArray{ ModelServingTagArgs{...} } -type ModelServingTagArrayInput interface { +// ModelServingAiGatewayGuardrailsArgs{...} +// +// or: +// +// nil +type ModelServingAiGatewayGuardrailsPtrInput interface { pulumi.Input - ToModelServingTagArrayOutput() ModelServingTagArrayOutput - ToModelServingTagArrayOutputWithContext(context.Context) ModelServingTagArrayOutput + ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput + ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsPtrOutput } -type ModelServingTagArray []ModelServingTagInput +type modelServingAiGatewayGuardrailsPtrType ModelServingAiGatewayGuardrailsArgs -func (ModelServingTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() +func ModelServingAiGatewayGuardrailsPtr(v *ModelServingAiGatewayGuardrailsArgs) ModelServingAiGatewayGuardrailsPtrInput { + return (*modelServingAiGatewayGuardrailsPtrType)(v) } -func (i ModelServingTagArray) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { - return i.ToModelServingTagArrayOutputWithContext(context.Background()) +func (*modelServingAiGatewayGuardrailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrails)(nil)).Elem() } -func (i ModelServingTagArray) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagArrayOutput) +func (i *modelServingAiGatewayGuardrailsPtrType) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { + return i.ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Background()) } -type ModelServingTagOutput struct{ *pulumi.OutputState } +func (i *modelServingAiGatewayGuardrailsPtrType) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsPtrOutput) +} -func (ModelServingTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ModelServingTag)(nil)).Elem() +type ModelServingAiGatewayGuardrailsOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayGuardrailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrails)(nil)).Elem() } -func (o ModelServingTagOutput) ToModelServingTagOutput() ModelServingTagOutput { +func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsOutput() ModelServingAiGatewayGuardrailsOutput { return o } -func (o ModelServingTagOutput) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { +func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutput { return o } -// The key field for a tag. -func (o ModelServingTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ModelServingTag) string { return v.Key }).(pulumi.StringOutput) +func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { + return o.ToModelServingAiGatewayGuardrailsPtrOutputWithContext(context.Background()) } -// The value field for a tag. -func (o ModelServingTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ModelServingTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o ModelServingAiGatewayGuardrailsOutput) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrails { + return &v + }).(ModelServingAiGatewayGuardrailsPtrOutput) } -type ModelServingTagArrayOutput struct{ *pulumi.OutputState } +// A block with configuration for input guardrail filters: +func (o ModelServingAiGatewayGuardrailsOutput) Input() ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsInputType { return v.Input }).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) +} -func (ModelServingTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() +// A block with configuration for output guardrail filters. Has the same structure as `input` block. +func (o ModelServingAiGatewayGuardrailsOutput) Output() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsOutputType { return v.Output }).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) } -func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { +type ModelServingAiGatewayGuardrailsPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayGuardrailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrails)(nil)).Elem() +} + +func (o ModelServingAiGatewayGuardrailsPtrOutput) ToModelServingAiGatewayGuardrailsPtrOutput() ModelServingAiGatewayGuardrailsPtrOutput { return o } -func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { +func (o ModelServingAiGatewayGuardrailsPtrOutput) ToModelServingAiGatewayGuardrailsPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsPtrOutput { return o } -func (o ModelServingTagArrayOutput) Index(i pulumi.IntInput) ModelServingTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingTag { - return vs[0].([]ModelServingTag)[vs[1].(int)] - }).(ModelServingTagOutput) +func (o ModelServingAiGatewayGuardrailsPtrOutput) Elem() ModelServingAiGatewayGuardrailsOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrails) ModelServingAiGatewayGuardrails { + if v != nil { + return *v + } + var ret ModelServingAiGatewayGuardrails + return ret + }).(ModelServingAiGatewayGuardrailsOutput) } -type MountAbfs struct { - ClientId string `pulumi:"clientId"` - ClientSecretKey string `pulumi:"clientSecretKey"` - ClientSecretScope string `pulumi:"clientSecretScope"` - ContainerName *string `pulumi:"containerName"` - Directory *string `pulumi:"directory"` - InitializeFileSystem bool `pulumi:"initializeFileSystem"` - StorageAccountName *string `pulumi:"storageAccountName"` - TenantId *string `pulumi:"tenantId"` +// A block with configuration for input guardrail filters: +func (o ModelServingAiGatewayGuardrailsPtrOutput) Input() ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsInputType { + if v == nil { + return nil + } + return v.Input + }).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) } -// MountAbfsInput is an input type that accepts MountAbfsArgs and MountAbfsOutput values. -// You can construct a concrete instance of `MountAbfsInput` via: +// A block with configuration for output guardrail filters. Has the same structure as `input` block. +func (o ModelServingAiGatewayGuardrailsPtrOutput) Output() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrails) *ModelServingAiGatewayGuardrailsOutputType { + if v == nil { + return nil + } + return v.Output + }).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) +} + +type ModelServingAiGatewayGuardrailsInputType struct { + // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + InvalidKeywords []string `pulumi:"invalidKeywords"` + // Block with configuration for guardrail PII filter: + Pii *ModelServingAiGatewayGuardrailsInputPii `pulumi:"pii"` + // the boolean flag that indicates whether the safety filter is enabled. + Safety *bool `pulumi:"safety"` + // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + ValidTopics []string `pulumi:"validTopics"` +} + +// ModelServingAiGatewayGuardrailsInputTypeInput is an input type that accepts ModelServingAiGatewayGuardrailsInputTypeArgs and ModelServingAiGatewayGuardrailsInputTypeOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputTypeInput` via: // -// MountAbfsArgs{...} -type MountAbfsInput interface { +// ModelServingAiGatewayGuardrailsInputTypeArgs{...} +type ModelServingAiGatewayGuardrailsInputTypeInput interface { pulumi.Input - ToMountAbfsOutput() MountAbfsOutput - ToMountAbfsOutputWithContext(context.Context) MountAbfsOutput + ToModelServingAiGatewayGuardrailsInputTypeOutput() ModelServingAiGatewayGuardrailsInputTypeOutput + ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputTypeOutput } -type MountAbfsArgs struct { - ClientId pulumi.StringInput `pulumi:"clientId"` - ClientSecretKey pulumi.StringInput `pulumi:"clientSecretKey"` - ClientSecretScope pulumi.StringInput `pulumi:"clientSecretScope"` - ContainerName pulumi.StringPtrInput `pulumi:"containerName"` - Directory pulumi.StringPtrInput `pulumi:"directory"` - InitializeFileSystem pulumi.BoolInput `pulumi:"initializeFileSystem"` - StorageAccountName pulumi.StringPtrInput `pulumi:"storageAccountName"` - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` +type ModelServingAiGatewayGuardrailsInputTypeArgs struct { + // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + InvalidKeywords pulumi.StringArrayInput `pulumi:"invalidKeywords"` + // Block with configuration for guardrail PII filter: + Pii ModelServingAiGatewayGuardrailsInputPiiPtrInput `pulumi:"pii"` + // the boolean flag that indicates whether the safety filter is enabled. + Safety pulumi.BoolPtrInput `pulumi:"safety"` + // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + ValidTopics pulumi.StringArrayInput `pulumi:"validTopics"` } -func (MountAbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountAbfs)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsInputTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() } -func (i MountAbfsArgs) ToMountAbfsOutput() MountAbfsOutput { - return i.ToMountAbfsOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypeOutput() ModelServingAiGatewayGuardrailsInputTypeOutput { + return i.ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(context.Background()) } -func (i MountAbfsArgs) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput) +func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputTypeOutput) } -func (i MountAbfsArgs) ToMountAbfsPtrOutput() MountAbfsPtrOutput { - return i.ToMountAbfsPtrOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return i.ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Background()) } -func (i MountAbfsArgs) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput).ToMountAbfsPtrOutputWithContext(ctx) +func (i ModelServingAiGatewayGuardrailsInputTypeArgs) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputTypeOutput).ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx) } -// MountAbfsPtrInput is an input type that accepts MountAbfsArgs, MountAbfsPtr and MountAbfsPtrOutput values. -// You can construct a concrete instance of `MountAbfsPtrInput` via: +// ModelServingAiGatewayGuardrailsInputTypePtrInput is an input type that accepts ModelServingAiGatewayGuardrailsInputTypeArgs, ModelServingAiGatewayGuardrailsInputTypePtr and ModelServingAiGatewayGuardrailsInputTypePtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputTypePtrInput` via: // -// MountAbfsArgs{...} +// ModelServingAiGatewayGuardrailsInputTypeArgs{...} // // or: // // nil -type MountAbfsPtrInput interface { +type ModelServingAiGatewayGuardrailsInputTypePtrInput interface { pulumi.Input - ToMountAbfsPtrOutput() MountAbfsPtrOutput - ToMountAbfsPtrOutputWithContext(context.Context) MountAbfsPtrOutput + ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput + ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput } -type mountAbfsPtrType MountAbfsArgs +type modelServingAiGatewayGuardrailsInputTypePtrType ModelServingAiGatewayGuardrailsInputTypeArgs -func MountAbfsPtr(v *MountAbfsArgs) MountAbfsPtrInput { - return (*mountAbfsPtrType)(v) +func ModelServingAiGatewayGuardrailsInputTypePtr(v *ModelServingAiGatewayGuardrailsInputTypeArgs) ModelServingAiGatewayGuardrailsInputTypePtrInput { + return (*modelServingAiGatewayGuardrailsInputTypePtrType)(v) } -func (*mountAbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountAbfs)(nil)).Elem() +func (*modelServingAiGatewayGuardrailsInputTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() } -func (i *mountAbfsPtrType) ToMountAbfsPtrOutput() MountAbfsPtrOutput { - return i.ToMountAbfsPtrOutputWithContext(context.Background()) +func (i *modelServingAiGatewayGuardrailsInputTypePtrType) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return i.ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Background()) } -func (i *mountAbfsPtrType) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAbfsPtrOutput) +func (i *modelServingAiGatewayGuardrailsInputTypePtrType) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) } -type MountAbfsOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsInputTypeOutput struct{ *pulumi.OutputState } -func (MountAbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountAbfs)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsInputTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() } -func (o MountAbfsOutput) ToMountAbfsOutput() MountAbfsOutput { +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypeOutput() ModelServingAiGatewayGuardrailsInputTypeOutput { return o } -func (o MountAbfsOutput) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypeOutput { return o } -func (o MountAbfsOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { - return o.ToMountAbfsPtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return o.ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(context.Background()) } -func (o MountAbfsOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAbfs) *MountAbfs { +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsInputType) *ModelServingAiGatewayGuardrailsInputType { return &v - }).(MountAbfsPtrOutput) -} - -func (o MountAbfsOutput) ClientId() pulumi.StringOutput { - return o.ApplyT(func(v MountAbfs) string { return v.ClientId }).(pulumi.StringOutput) -} - -func (o MountAbfsOutput) ClientSecretKey() pulumi.StringOutput { - return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretKey }).(pulumi.StringOutput) -} - -func (o MountAbfsOutput) ClientSecretScope() pulumi.StringOutput { - return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretScope }).(pulumi.StringOutput) -} - -func (o MountAbfsOutput) ContainerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.ContainerName }).(pulumi.StringPtrOutput) + }).(ModelServingAiGatewayGuardrailsInputTypePtrOutput) } -func (o MountAbfsOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.Directory }).(pulumi.StringPtrOutput) +// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) InvalidKeywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) []string { return v.InvalidKeywords }).(pulumi.StringArrayOutput) } -func (o MountAbfsOutput) InitializeFileSystem() pulumi.BoolOutput { - return o.ApplyT(func(v MountAbfs) bool { return v.InitializeFileSystem }).(pulumi.BoolOutput) +// Block with configuration for guardrail PII filter: +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) Pii() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) *ModelServingAiGatewayGuardrailsInputPii { + return v.Pii + }).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) } -func (o MountAbfsOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +// the boolean flag that indicates whether the safety filter is enabled. +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) Safety() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) *bool { return v.Safety }).(pulumi.BoolPtrOutput) } -func (o MountAbfsOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAbfs) *string { return v.TenantId }).(pulumi.StringPtrOutput) +// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. +func (o ModelServingAiGatewayGuardrailsInputTypeOutput) ValidTopics() pulumi.StringArrayOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputType) []string { return v.ValidTopics }).(pulumi.StringArrayOutput) } -type MountAbfsPtrOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsInputTypePtrOutput struct{ *pulumi.OutputState } -func (MountAbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountAbfs)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsInputTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputType)(nil)).Elem() } -func (o MountAbfsPtrOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutput() ModelServingAiGatewayGuardrailsInputTypePtrOutput { return o } -func (o MountAbfsPtrOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) ToModelServingAiGatewayGuardrailsInputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputTypePtrOutput { return o } -func (o MountAbfsPtrOutput) Elem() MountAbfsOutput { - return o.ApplyT(func(v *MountAbfs) MountAbfs { +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) Elem() ModelServingAiGatewayGuardrailsInputTypeOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) ModelServingAiGatewayGuardrailsInputType { if v != nil { return *v - } - var ret MountAbfs - return ret - }).(MountAbfsOutput) -} - -func (o MountAbfsPtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { - if v == nil { - return nil - } - return &v.ClientId - }).(pulumi.StringPtrOutput) -} - -func (o MountAbfsPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { - if v == nil { - return nil - } - return &v.ClientSecretKey - }).(pulumi.StringPtrOutput) -} - -func (o MountAbfsPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { - if v == nil { - return nil - } - return &v.ClientSecretScope - }).(pulumi.StringPtrOutput) -} - -func (o MountAbfsPtrOutput) ContainerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { - if v == nil { - return nil - } - return v.ContainerName - }).(pulumi.StringPtrOutput) + } + var ret ModelServingAiGatewayGuardrailsInputType + return ret + }).(ModelServingAiGatewayGuardrailsInputTypeOutput) } -func (o MountAbfsPtrOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { +// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) InvalidKeywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) []string { if v == nil { return nil } - return v.Directory - }).(pulumi.StringPtrOutput) + return v.InvalidKeywords + }).(pulumi.StringArrayOutput) } -func (o MountAbfsPtrOutput) InitializeFileSystem() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MountAbfs) *bool { +// Block with configuration for guardrail PII filter: +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) Pii() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) *ModelServingAiGatewayGuardrailsInputPii { if v == nil { return nil } - return &v.InitializeFileSystem - }).(pulumi.BoolPtrOutput) + return v.Pii + }).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) } -func (o MountAbfsPtrOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { +// the boolean flag that indicates whether the safety filter is enabled. +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) Safety() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) *bool { if v == nil { return nil } - return v.StorageAccountName - }).(pulumi.StringPtrOutput) + return v.Safety + }).(pulumi.BoolPtrOutput) } -func (o MountAbfsPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAbfs) *string { +// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. +func (o ModelServingAiGatewayGuardrailsInputTypePtrOutput) ValidTopics() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputType) []string { if v == nil { return nil } - return v.TenantId - }).(pulumi.StringPtrOutput) + return v.ValidTopics + }).(pulumi.StringArrayOutput) } -type MountAdl struct { - ClientId string `pulumi:"clientId"` - ClientSecretKey string `pulumi:"clientSecretKey"` - ClientSecretScope string `pulumi:"clientSecretScope"` - Directory *string `pulumi:"directory"` - SparkConfPrefix *string `pulumi:"sparkConfPrefix"` - StorageResourceName *string `pulumi:"storageResourceName"` - TenantId *string `pulumi:"tenantId"` +type ModelServingAiGatewayGuardrailsInputPii struct { + // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + Behavior string `pulumi:"behavior"` } -// MountAdlInput is an input type that accepts MountAdlArgs and MountAdlOutput values. -// You can construct a concrete instance of `MountAdlInput` via: +// ModelServingAiGatewayGuardrailsInputPiiInput is an input type that accepts ModelServingAiGatewayGuardrailsInputPiiArgs and ModelServingAiGatewayGuardrailsInputPiiOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputPiiInput` via: // -// MountAdlArgs{...} -type MountAdlInput interface { +// ModelServingAiGatewayGuardrailsInputPiiArgs{...} +type ModelServingAiGatewayGuardrailsInputPiiInput interface { pulumi.Input - ToMountAdlOutput() MountAdlOutput - ToMountAdlOutputWithContext(context.Context) MountAdlOutput + ToModelServingAiGatewayGuardrailsInputPiiOutput() ModelServingAiGatewayGuardrailsInputPiiOutput + ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputPiiOutput } -type MountAdlArgs struct { - ClientId pulumi.StringInput `pulumi:"clientId"` - ClientSecretKey pulumi.StringInput `pulumi:"clientSecretKey"` - ClientSecretScope pulumi.StringInput `pulumi:"clientSecretScope"` - Directory pulumi.StringPtrInput `pulumi:"directory"` - SparkConfPrefix pulumi.StringPtrInput `pulumi:"sparkConfPrefix"` - StorageResourceName pulumi.StringPtrInput `pulumi:"storageResourceName"` - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` +type ModelServingAiGatewayGuardrailsInputPiiArgs struct { + // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + Behavior pulumi.StringInput `pulumi:"behavior"` } -func (MountAdlArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountAdl)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsInputPiiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() } -func (i MountAdlArgs) ToMountAdlOutput() MountAdlOutput { - return i.ToMountAdlOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiOutput() ModelServingAiGatewayGuardrailsInputPiiOutput { + return i.ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(context.Background()) } -func (i MountAdlArgs) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput) +func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputPiiOutput) } -func (i MountAdlArgs) ToMountAdlPtrOutput() MountAdlPtrOutput { - return i.ToMountAdlPtrOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return i.ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Background()) } -func (i MountAdlArgs) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput).ToMountAdlPtrOutputWithContext(ctx) +func (i ModelServingAiGatewayGuardrailsInputPiiArgs) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputPiiOutput).ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx) } -// MountAdlPtrInput is an input type that accepts MountAdlArgs, MountAdlPtr and MountAdlPtrOutput values. -// You can construct a concrete instance of `MountAdlPtrInput` via: +// ModelServingAiGatewayGuardrailsInputPiiPtrInput is an input type that accepts ModelServingAiGatewayGuardrailsInputPiiArgs, ModelServingAiGatewayGuardrailsInputPiiPtr and ModelServingAiGatewayGuardrailsInputPiiPtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsInputPiiPtrInput` via: // -// MountAdlArgs{...} +// ModelServingAiGatewayGuardrailsInputPiiArgs{...} // // or: // // nil -type MountAdlPtrInput interface { +type ModelServingAiGatewayGuardrailsInputPiiPtrInput interface { pulumi.Input - ToMountAdlPtrOutput() MountAdlPtrOutput - ToMountAdlPtrOutputWithContext(context.Context) MountAdlPtrOutput + ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput + ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput } -type mountAdlPtrType MountAdlArgs +type modelServingAiGatewayGuardrailsInputPiiPtrType ModelServingAiGatewayGuardrailsInputPiiArgs -func MountAdlPtr(v *MountAdlArgs) MountAdlPtrInput { - return (*mountAdlPtrType)(v) +func ModelServingAiGatewayGuardrailsInputPiiPtr(v *ModelServingAiGatewayGuardrailsInputPiiArgs) ModelServingAiGatewayGuardrailsInputPiiPtrInput { + return (*modelServingAiGatewayGuardrailsInputPiiPtrType)(v) } -func (*mountAdlPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountAdl)(nil)).Elem() +func (*modelServingAiGatewayGuardrailsInputPiiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() } -func (i *mountAdlPtrType) ToMountAdlPtrOutput() MountAdlPtrOutput { - return i.ToMountAdlPtrOutputWithContext(context.Background()) +func (i *modelServingAiGatewayGuardrailsInputPiiPtrType) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return i.ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Background()) } -func (i *mountAdlPtrType) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountAdlPtrOutput) +func (i *modelServingAiGatewayGuardrailsInputPiiPtrType) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) } -type MountAdlOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsInputPiiOutput struct{ *pulumi.OutputState } -func (MountAdlOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountAdl)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsInputPiiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() } -func (o MountAdlOutput) ToMountAdlOutput() MountAdlOutput { +func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiOutput() ModelServingAiGatewayGuardrailsInputPiiOutput { return o } -func (o MountAdlOutput) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { +func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiOutput { return o } -func (o MountAdlOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { - return o.ToMountAdlPtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return o.ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(context.Background()) } -func (o MountAdlOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAdl) *MountAdl { +func (o ModelServingAiGatewayGuardrailsInputPiiOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsInputPii) *ModelServingAiGatewayGuardrailsInputPii { return &v - }).(MountAdlPtrOutput) -} - -func (o MountAdlOutput) ClientId() pulumi.StringOutput { - return o.ApplyT(func(v MountAdl) string { return v.ClientId }).(pulumi.StringOutput) -} - -func (o MountAdlOutput) ClientSecretKey() pulumi.StringOutput { - return o.ApplyT(func(v MountAdl) string { return v.ClientSecretKey }).(pulumi.StringOutput) -} - -func (o MountAdlOutput) ClientSecretScope() pulumi.StringOutput { - return o.ApplyT(func(v MountAdl) string { return v.ClientSecretScope }).(pulumi.StringOutput) -} - -func (o MountAdlOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.Directory }).(pulumi.StringPtrOutput) -} - -func (o MountAdlOutput) SparkConfPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.SparkConfPrefix }).(pulumi.StringPtrOutput) -} - -func (o MountAdlOutput) StorageResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.StorageResourceName }).(pulumi.StringPtrOutput) + }).(ModelServingAiGatewayGuardrailsInputPiiPtrOutput) } -func (o MountAdlOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountAdl) *string { return v.TenantId }).(pulumi.StringPtrOutput) +// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. +func (o ModelServingAiGatewayGuardrailsInputPiiOutput) Behavior() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsInputPii) string { return v.Behavior }).(pulumi.StringOutput) } -type MountAdlPtrOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsInputPiiPtrOutput struct{ *pulumi.OutputState } -func (MountAdlPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountAdl)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsInputPiiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsInputPii)(nil)).Elem() } -func (o MountAdlPtrOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { +func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutput() ModelServingAiGatewayGuardrailsInputPiiPtrOutput { return o } -func (o MountAdlPtrOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { +func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) ToModelServingAiGatewayGuardrailsInputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsInputPiiPtrOutput { return o } -func (o MountAdlPtrOutput) Elem() MountAdlOutput { - return o.ApplyT(func(v *MountAdl) MountAdl { +func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) Elem() ModelServingAiGatewayGuardrailsInputPiiOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputPii) ModelServingAiGatewayGuardrailsInputPii { if v != nil { return *v } - var ret MountAdl + var ret ModelServingAiGatewayGuardrailsInputPii return ret - }).(MountAdlOutput) -} - -func (o MountAdlPtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return &v.ClientId - }).(pulumi.StringPtrOutput) -} - -func (o MountAdlPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return &v.ClientSecretKey - }).(pulumi.StringPtrOutput) -} - -func (o MountAdlPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return &v.ClientSecretScope - }).(pulumi.StringPtrOutput) -} - -func (o MountAdlPtrOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return v.Directory - }).(pulumi.StringPtrOutput) -} - -func (o MountAdlPtrOutput) SparkConfPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return v.SparkConfPrefix - }).(pulumi.StringPtrOutput) -} - -func (o MountAdlPtrOutput) StorageResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { - if v == nil { - return nil - } - return v.StorageResourceName - }).(pulumi.StringPtrOutput) + }).(ModelServingAiGatewayGuardrailsInputPiiOutput) } -func (o MountAdlPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountAdl) *string { +// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. +func (o ModelServingAiGatewayGuardrailsInputPiiPtrOutput) Behavior() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsInputPii) *string { if v == nil { return nil } - return v.TenantId + return &v.Behavior }).(pulumi.StringPtrOutput) } -type MountGs struct { - BucketName string `pulumi:"bucketName"` - ServiceAccount *string `pulumi:"serviceAccount"` +type ModelServingAiGatewayGuardrailsOutputType struct { + // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + InvalidKeywords []string `pulumi:"invalidKeywords"` + // Block with configuration for guardrail PII filter: + Pii *ModelServingAiGatewayGuardrailsOutputPii `pulumi:"pii"` + // the boolean flag that indicates whether the safety filter is enabled. + Safety *bool `pulumi:"safety"` + // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + ValidTopics []string `pulumi:"validTopics"` } -// MountGsInput is an input type that accepts MountGsArgs and MountGsOutput values. -// You can construct a concrete instance of `MountGsInput` via: +// ModelServingAiGatewayGuardrailsOutputTypeInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputTypeArgs and ModelServingAiGatewayGuardrailsOutputTypeOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputTypeInput` via: // -// MountGsArgs{...} -type MountGsInput interface { +// ModelServingAiGatewayGuardrailsOutputTypeArgs{...} +type ModelServingAiGatewayGuardrailsOutputTypeInput interface { pulumi.Input - ToMountGsOutput() MountGsOutput - ToMountGsOutputWithContext(context.Context) MountGsOutput + ToModelServingAiGatewayGuardrailsOutputTypeOutput() ModelServingAiGatewayGuardrailsOutputTypeOutput + ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputTypeOutput } -type MountGsArgs struct { - BucketName pulumi.StringInput `pulumi:"bucketName"` - ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` +type ModelServingAiGatewayGuardrailsOutputTypeArgs struct { + // List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + InvalidKeywords pulumi.StringArrayInput `pulumi:"invalidKeywords"` + // Block with configuration for guardrail PII filter: + Pii ModelServingAiGatewayGuardrailsOutputPiiPtrInput `pulumi:"pii"` + // the boolean flag that indicates whether the safety filter is enabled. + Safety pulumi.BoolPtrInput `pulumi:"safety"` + // The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + ValidTopics pulumi.StringArrayInput `pulumi:"validTopics"` } -func (MountGsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountGs)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsOutputTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() } -func (i MountGsArgs) ToMountGsOutput() MountGsOutput { - return i.ToMountGsOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypeOutput() ModelServingAiGatewayGuardrailsOutputTypeOutput { + return i.ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(context.Background()) } -func (i MountGsArgs) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput) +func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputTypeOutput) } -func (i MountGsArgs) ToMountGsPtrOutput() MountGsPtrOutput { - return i.ToMountGsPtrOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return i.ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Background()) } -func (i MountGsArgs) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput).ToMountGsPtrOutputWithContext(ctx) +func (i ModelServingAiGatewayGuardrailsOutputTypeArgs) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputTypeOutput).ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx) } -// MountGsPtrInput is an input type that accepts MountGsArgs, MountGsPtr and MountGsPtrOutput values. -// You can construct a concrete instance of `MountGsPtrInput` via: +// ModelServingAiGatewayGuardrailsOutputTypePtrInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputTypeArgs, ModelServingAiGatewayGuardrailsOutputTypePtr and ModelServingAiGatewayGuardrailsOutputTypePtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputTypePtrInput` via: // -// MountGsArgs{...} +// ModelServingAiGatewayGuardrailsOutputTypeArgs{...} // // or: // // nil -type MountGsPtrInput interface { +type ModelServingAiGatewayGuardrailsOutputTypePtrInput interface { pulumi.Input - ToMountGsPtrOutput() MountGsPtrOutput - ToMountGsPtrOutputWithContext(context.Context) MountGsPtrOutput + ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput + ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput } -type mountGsPtrType MountGsArgs +type modelServingAiGatewayGuardrailsOutputTypePtrType ModelServingAiGatewayGuardrailsOutputTypeArgs -func MountGsPtr(v *MountGsArgs) MountGsPtrInput { - return (*mountGsPtrType)(v) +func ModelServingAiGatewayGuardrailsOutputTypePtr(v *ModelServingAiGatewayGuardrailsOutputTypeArgs) ModelServingAiGatewayGuardrailsOutputTypePtrInput { + return (*modelServingAiGatewayGuardrailsOutputTypePtrType)(v) } -func (*mountGsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountGs)(nil)).Elem() +func (*modelServingAiGatewayGuardrailsOutputTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() } -func (i *mountGsPtrType) ToMountGsPtrOutput() MountGsPtrOutput { - return i.ToMountGsPtrOutputWithContext(context.Background()) +func (i *modelServingAiGatewayGuardrailsOutputTypePtrType) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return i.ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Background()) } -func (i *mountGsPtrType) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountGsPtrOutput) +func (i *modelServingAiGatewayGuardrailsOutputTypePtrType) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) } -type MountGsOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsOutputTypeOutput struct{ *pulumi.OutputState } -func (MountGsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountGs)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsOutputTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() } -func (o MountGsOutput) ToMountGsOutput() MountGsOutput { +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypeOutput() ModelServingAiGatewayGuardrailsOutputTypeOutput { return o } -func (o MountGsOutput) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypeOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypeOutput { return o } -func (o MountGsOutput) ToMountGsPtrOutput() MountGsPtrOutput { - return o.ToMountGsPtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return o.ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(context.Background()) } -func (o MountGsOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountGs) *MountGs { +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsOutputType) *ModelServingAiGatewayGuardrailsOutputType { return &v - }).(MountGsPtrOutput) + }).(ModelServingAiGatewayGuardrailsOutputTypePtrOutput) } -func (o MountGsOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v MountGs) string { return v.BucketName }).(pulumi.StringOutput) +// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) InvalidKeywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) []string { return v.InvalidKeywords }).(pulumi.StringArrayOutput) } -func (o MountGsOutput) ServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountGs) *string { return v.ServiceAccount }).(pulumi.StringPtrOutput) +// Block with configuration for guardrail PII filter: +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) Pii() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) *ModelServingAiGatewayGuardrailsOutputPii { + return v.Pii + }).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) } -type MountGsPtrOutput struct{ *pulumi.OutputState } +// the boolean flag that indicates whether the safety filter is enabled. +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) Safety() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) *bool { return v.Safety }).(pulumi.BoolPtrOutput) +} -func (MountGsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountGs)(nil)).Elem() +// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. +func (o ModelServingAiGatewayGuardrailsOutputTypeOutput) ValidTopics() pulumi.StringArrayOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputType) []string { return v.ValidTopics }).(pulumi.StringArrayOutput) } -func (o MountGsPtrOutput) ToMountGsPtrOutput() MountGsPtrOutput { +type ModelServingAiGatewayGuardrailsOutputTypePtrOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputType)(nil)).Elem() +} + +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutput() ModelServingAiGatewayGuardrailsOutputTypePtrOutput { return o } -func (o MountGsPtrOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ToModelServingAiGatewayGuardrailsOutputTypePtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputTypePtrOutput { return o } -func (o MountGsPtrOutput) Elem() MountGsOutput { - return o.ApplyT(func(v *MountGs) MountGs { +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) Elem() ModelServingAiGatewayGuardrailsOutputTypeOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) ModelServingAiGatewayGuardrailsOutputType { if v != nil { return *v } - var ret MountGs + var ret ModelServingAiGatewayGuardrailsOutputType return ret - }).(MountGsOutput) + }).(ModelServingAiGatewayGuardrailsOutputTypeOutput) } -func (o MountGsPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountGs) *string { +// List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) InvalidKeywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) []string { if v == nil { return nil } - return &v.BucketName - }).(pulumi.StringPtrOutput) + return v.InvalidKeywords + }).(pulumi.StringArrayOutput) } -func (o MountGsPtrOutput) ServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountGs) *string { +// Block with configuration for guardrail PII filter: +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) Pii() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) *ModelServingAiGatewayGuardrailsOutputPii { if v == nil { return nil } - return v.ServiceAccount - }).(pulumi.StringPtrOutput) + return v.Pii + }).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) } -type MountS3 struct { - BucketName string `pulumi:"bucketName"` - InstanceProfile *string `pulumi:"instanceProfile"` +// the boolean flag that indicates whether the safety filter is enabled. +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) Safety() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) *bool { + if v == nil { + return nil + } + return v.Safety + }).(pulumi.BoolPtrOutput) } -// MountS3Input is an input type that accepts MountS3Args and MountS3Output values. -// You can construct a concrete instance of `MountS3Input` via: +// The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. +func (o ModelServingAiGatewayGuardrailsOutputTypePtrOutput) ValidTopics() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputType) []string { + if v == nil { + return nil + } + return v.ValidTopics + }).(pulumi.StringArrayOutput) +} + +type ModelServingAiGatewayGuardrailsOutputPii struct { + // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + Behavior string `pulumi:"behavior"` +} + +// ModelServingAiGatewayGuardrailsOutputPiiInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputPiiArgs and ModelServingAiGatewayGuardrailsOutputPiiOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputPiiInput` via: // -// MountS3Args{...} -type MountS3Input interface { +// ModelServingAiGatewayGuardrailsOutputPiiArgs{...} +type ModelServingAiGatewayGuardrailsOutputPiiInput interface { pulumi.Input - ToMountS3Output() MountS3Output - ToMountS3OutputWithContext(context.Context) MountS3Output + ToModelServingAiGatewayGuardrailsOutputPiiOutput() ModelServingAiGatewayGuardrailsOutputPiiOutput + ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputPiiOutput } -type MountS3Args struct { - BucketName pulumi.StringInput `pulumi:"bucketName"` - InstanceProfile pulumi.StringPtrInput `pulumi:"instanceProfile"` +type ModelServingAiGatewayGuardrailsOutputPiiArgs struct { + // a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + Behavior pulumi.StringInput `pulumi:"behavior"` } -func (MountS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*MountS3)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsOutputPiiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() } -func (i MountS3Args) ToMountS3Output() MountS3Output { - return i.ToMountS3OutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiOutput() ModelServingAiGatewayGuardrailsOutputPiiOutput { + return i.ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(context.Background()) } -func (i MountS3Args) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { - return pulumi.ToOutputWithContext(ctx, i).(MountS3Output) +func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputPiiOutput) } -func (i MountS3Args) ToMountS3PtrOutput() MountS3PtrOutput { - return i.ToMountS3PtrOutputWithContext(context.Background()) +func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return i.ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Background()) } -func (i MountS3Args) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountS3Output).ToMountS3PtrOutputWithContext(ctx) +func (i ModelServingAiGatewayGuardrailsOutputPiiArgs) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputPiiOutput).ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx) } -// MountS3PtrInput is an input type that accepts MountS3Args, MountS3Ptr and MountS3PtrOutput values. -// You can construct a concrete instance of `MountS3PtrInput` via: +// ModelServingAiGatewayGuardrailsOutputPiiPtrInput is an input type that accepts ModelServingAiGatewayGuardrailsOutputPiiArgs, ModelServingAiGatewayGuardrailsOutputPiiPtr and ModelServingAiGatewayGuardrailsOutputPiiPtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayGuardrailsOutputPiiPtrInput` via: // -// MountS3Args{...} +// ModelServingAiGatewayGuardrailsOutputPiiArgs{...} // // or: // // nil -type MountS3PtrInput interface { +type ModelServingAiGatewayGuardrailsOutputPiiPtrInput interface { pulumi.Input - ToMountS3PtrOutput() MountS3PtrOutput - ToMountS3PtrOutputWithContext(context.Context) MountS3PtrOutput + ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput + ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput } -type mountS3PtrType MountS3Args +type modelServingAiGatewayGuardrailsOutputPiiPtrType ModelServingAiGatewayGuardrailsOutputPiiArgs -func MountS3Ptr(v *MountS3Args) MountS3PtrInput { - return (*mountS3PtrType)(v) +func ModelServingAiGatewayGuardrailsOutputPiiPtr(v *ModelServingAiGatewayGuardrailsOutputPiiArgs) ModelServingAiGatewayGuardrailsOutputPiiPtrInput { + return (*modelServingAiGatewayGuardrailsOutputPiiPtrType)(v) } -func (*mountS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountS3)(nil)).Elem() +func (*modelServingAiGatewayGuardrailsOutputPiiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() } -func (i *mountS3PtrType) ToMountS3PtrOutput() MountS3PtrOutput { - return i.ToMountS3PtrOutputWithContext(context.Background()) +func (i *modelServingAiGatewayGuardrailsOutputPiiPtrType) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return i.ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Background()) } -func (i *mountS3PtrType) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountS3PtrOutput) +func (i *modelServingAiGatewayGuardrailsOutputPiiPtrType) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) } -type MountS3Output struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsOutputPiiOutput struct{ *pulumi.OutputState } -func (MountS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*MountS3)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsOutputPiiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() } -func (o MountS3Output) ToMountS3Output() MountS3Output { +func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiOutput() ModelServingAiGatewayGuardrailsOutputPiiOutput { return o } -func (o MountS3Output) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { +func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiOutput { return o } -func (o MountS3Output) ToMountS3PtrOutput() MountS3PtrOutput { - return o.ToMountS3PtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return o.ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(context.Background()) } -func (o MountS3Output) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountS3) *MountS3 { +func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayGuardrailsOutputPii) *ModelServingAiGatewayGuardrailsOutputPii { return &v - }).(MountS3PtrOutput) -} - -func (o MountS3Output) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v MountS3) string { return v.BucketName }).(pulumi.StringOutput) + }).(ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) } -func (o MountS3Output) InstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountS3) *string { return v.InstanceProfile }).(pulumi.StringPtrOutput) +// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. +func (o ModelServingAiGatewayGuardrailsOutputPiiOutput) Behavior() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingAiGatewayGuardrailsOutputPii) string { return v.Behavior }).(pulumi.StringOutput) } -type MountS3PtrOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayGuardrailsOutputPiiPtrOutput struct{ *pulumi.OutputState } -func (MountS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountS3)(nil)).Elem() +func (ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayGuardrailsOutputPii)(nil)).Elem() } -func (o MountS3PtrOutput) ToMountS3PtrOutput() MountS3PtrOutput { +func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutput() ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { return o } -func (o MountS3PtrOutput) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { +func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) ToModelServingAiGatewayGuardrailsOutputPiiPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayGuardrailsOutputPiiPtrOutput { return o } -func (o MountS3PtrOutput) Elem() MountS3Output { - return o.ApplyT(func(v *MountS3) MountS3 { +func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) Elem() ModelServingAiGatewayGuardrailsOutputPiiOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputPii) ModelServingAiGatewayGuardrailsOutputPii { if v != nil { return *v } - var ret MountS3 + var ret ModelServingAiGatewayGuardrailsOutputPii return ret - }).(MountS3Output) -} - -func (o MountS3PtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountS3) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) + }).(ModelServingAiGatewayGuardrailsOutputPiiOutput) } -func (o MountS3PtrOutput) InstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountS3) *string { +// a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. +func (o ModelServingAiGatewayGuardrailsOutputPiiPtrOutput) Behavior() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayGuardrailsOutputPii) *string { if v == nil { return nil } - return v.InstanceProfile + return &v.Behavior }).(pulumi.StringPtrOutput) } -type MountWasb struct { - AuthType string `pulumi:"authType"` - ContainerName *string `pulumi:"containerName"` - Directory *string `pulumi:"directory"` - StorageAccountName *string `pulumi:"storageAccountName"` - TokenSecretKey string `pulumi:"tokenSecretKey"` - TokenSecretScope string `pulumi:"tokenSecretScope"` +type ModelServingAiGatewayInferenceTableConfig struct { + // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + CatalogName *string `pulumi:"catalogName"` + // boolean flag specifying if usage tracking is enabled. + Enabled *bool `pulumi:"enabled"` + // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + SchemaName *string `pulumi:"schemaName"` + // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + TableNamePrefix *string `pulumi:"tableNamePrefix"` } -// MountWasbInput is an input type that accepts MountWasbArgs and MountWasbOutput values. -// You can construct a concrete instance of `MountWasbInput` via: +// ModelServingAiGatewayInferenceTableConfigInput is an input type that accepts ModelServingAiGatewayInferenceTableConfigArgs and ModelServingAiGatewayInferenceTableConfigOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayInferenceTableConfigInput` via: // -// MountWasbArgs{...} -type MountWasbInput interface { +// ModelServingAiGatewayInferenceTableConfigArgs{...} +type ModelServingAiGatewayInferenceTableConfigInput interface { pulumi.Input - ToMountWasbOutput() MountWasbOutput - ToMountWasbOutputWithContext(context.Context) MountWasbOutput + ToModelServingAiGatewayInferenceTableConfigOutput() ModelServingAiGatewayInferenceTableConfigOutput + ToModelServingAiGatewayInferenceTableConfigOutputWithContext(context.Context) ModelServingAiGatewayInferenceTableConfigOutput } -type MountWasbArgs struct { - AuthType pulumi.StringInput `pulumi:"authType"` - ContainerName pulumi.StringPtrInput `pulumi:"containerName"` - Directory pulumi.StringPtrInput `pulumi:"directory"` - StorageAccountName pulumi.StringPtrInput `pulumi:"storageAccountName"` - TokenSecretKey pulumi.StringInput `pulumi:"tokenSecretKey"` - TokenSecretScope pulumi.StringInput `pulumi:"tokenSecretScope"` +type ModelServingAiGatewayInferenceTableConfigArgs struct { + // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // boolean flag specifying if usage tracking is enabled. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + TableNamePrefix pulumi.StringPtrInput `pulumi:"tableNamePrefix"` } -func (MountWasbArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MountWasb)(nil)).Elem() +func (ModelServingAiGatewayInferenceTableConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() } -func (i MountWasbArgs) ToMountWasbOutput() MountWasbOutput { - return i.ToMountWasbOutputWithContext(context.Background()) +func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigOutput() ModelServingAiGatewayInferenceTableConfigOutput { + return i.ToModelServingAiGatewayInferenceTableConfigOutputWithContext(context.Background()) } -func (i MountWasbArgs) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput) +func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayInferenceTableConfigOutput) } -func (i MountWasbArgs) ToMountWasbPtrOutput() MountWasbPtrOutput { - return i.ToMountWasbPtrOutputWithContext(context.Background()) +func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { + return i.ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Background()) } -func (i MountWasbArgs) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput).ToMountWasbPtrOutputWithContext(ctx) +func (i ModelServingAiGatewayInferenceTableConfigArgs) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayInferenceTableConfigOutput).ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx) } -// MountWasbPtrInput is an input type that accepts MountWasbArgs, MountWasbPtr and MountWasbPtrOutput values. -// You can construct a concrete instance of `MountWasbPtrInput` via: +// ModelServingAiGatewayInferenceTableConfigPtrInput is an input type that accepts ModelServingAiGatewayInferenceTableConfigArgs, ModelServingAiGatewayInferenceTableConfigPtr and ModelServingAiGatewayInferenceTableConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayInferenceTableConfigPtrInput` via: // -// MountWasbArgs{...} +// ModelServingAiGatewayInferenceTableConfigArgs{...} // // or: // // nil -type MountWasbPtrInput interface { +type ModelServingAiGatewayInferenceTableConfigPtrInput interface { pulumi.Input - ToMountWasbPtrOutput() MountWasbPtrOutput - ToMountWasbPtrOutputWithContext(context.Context) MountWasbPtrOutput + ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput + ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput } -type mountWasbPtrType MountWasbArgs +type modelServingAiGatewayInferenceTableConfigPtrType ModelServingAiGatewayInferenceTableConfigArgs -func MountWasbPtr(v *MountWasbArgs) MountWasbPtrInput { - return (*mountWasbPtrType)(v) +func ModelServingAiGatewayInferenceTableConfigPtr(v *ModelServingAiGatewayInferenceTableConfigArgs) ModelServingAiGatewayInferenceTableConfigPtrInput { + return (*modelServingAiGatewayInferenceTableConfigPtrType)(v) } -func (*mountWasbPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MountWasb)(nil)).Elem() +func (*modelServingAiGatewayInferenceTableConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() } -func (i *mountWasbPtrType) ToMountWasbPtrOutput() MountWasbPtrOutput { - return i.ToMountWasbPtrOutputWithContext(context.Background()) +func (i *modelServingAiGatewayInferenceTableConfigPtrType) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { + return i.ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Background()) } -func (i *mountWasbPtrType) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MountWasbPtrOutput) +func (i *modelServingAiGatewayInferenceTableConfigPtrType) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayInferenceTableConfigPtrOutput) } -type MountWasbOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayInferenceTableConfigOutput struct{ *pulumi.OutputState } -func (MountWasbOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MountWasb)(nil)).Elem() +func (ModelServingAiGatewayInferenceTableConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() } -func (o MountWasbOutput) ToMountWasbOutput() MountWasbOutput { +func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigOutput() ModelServingAiGatewayInferenceTableConfigOutput { return o } -func (o MountWasbOutput) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { +func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigOutput { return o } -func (o MountWasbOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { - return o.ToMountWasbPtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { + return o.ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(context.Background()) } -func (o MountWasbOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MountWasb) *MountWasb { +func (o ModelServingAiGatewayInferenceTableConfigOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayInferenceTableConfig) *ModelServingAiGatewayInferenceTableConfig { return &v - }).(MountWasbPtrOutput) -} - -func (o MountWasbOutput) AuthType() pulumi.StringOutput { - return o.ApplyT(func(v MountWasb) string { return v.AuthType }).(pulumi.StringOutput) -} - -func (o MountWasbOutput) ContainerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountWasb) *string { return v.ContainerName }).(pulumi.StringPtrOutput) + }).(ModelServingAiGatewayInferenceTableConfigPtrOutput) } -func (o MountWasbOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountWasb) *string { return v.Directory }).(pulumi.StringPtrOutput) +// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. +func (o ModelServingAiGatewayInferenceTableConfigOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o MountWasbOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MountWasb) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +// boolean flag specifying if usage tracking is enabled. +func (o ModelServingAiGatewayInferenceTableConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o MountWasbOutput) TokenSecretKey() pulumi.StringOutput { - return o.ApplyT(func(v MountWasb) string { return v.TokenSecretKey }).(pulumi.StringOutput) +// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. +func (o ModelServingAiGatewayInferenceTableConfigOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *string { return v.SchemaName }).(pulumi.StringPtrOutput) } -func (o MountWasbOutput) TokenSecretScope() pulumi.StringOutput { - return o.ApplyT(func(v MountWasb) string { return v.TokenSecretScope }).(pulumi.StringOutput) +// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. +func (o ModelServingAiGatewayInferenceTableConfigOutput) TableNamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayInferenceTableConfig) *string { return v.TableNamePrefix }).(pulumi.StringPtrOutput) } -type MountWasbPtrOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayInferenceTableConfigPtrOutput struct{ *pulumi.OutputState } -func (MountWasbPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MountWasb)(nil)).Elem() +func (ModelServingAiGatewayInferenceTableConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayInferenceTableConfig)(nil)).Elem() } -func (o MountWasbPtrOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutput() ModelServingAiGatewayInferenceTableConfigPtrOutput { return o } -func (o MountWasbPtrOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) ToModelServingAiGatewayInferenceTableConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayInferenceTableConfigPtrOutput { return o } -func (o MountWasbPtrOutput) Elem() MountWasbOutput { - return o.ApplyT(func(v *MountWasb) MountWasb { +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) Elem() ModelServingAiGatewayInferenceTableConfigOutput { + return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) ModelServingAiGatewayInferenceTableConfig { if v != nil { return *v } - var ret MountWasb + var ret ModelServingAiGatewayInferenceTableConfig return ret - }).(MountWasbOutput) + }).(ModelServingAiGatewayInferenceTableConfigOutput) } -func (o MountWasbPtrOutput) AuthType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *string { if v == nil { return nil } - return &v.AuthType + return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o MountWasbPtrOutput) ContainerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// boolean flag specifying if usage tracking is enabled. +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *bool { if v == nil { return nil } - return v.ContainerName - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o MountWasbPtrOutput) Directory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *string { if v == nil { return nil } - return v.Directory + return v.SchemaName }).(pulumi.StringPtrOutput) } -func (o MountWasbPtrOutput) StorageAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { +// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. +func (o ModelServingAiGatewayInferenceTableConfigPtrOutput) TableNamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayInferenceTableConfig) *string { if v == nil { return nil } - return v.StorageAccountName + return v.TableNamePrefix }).(pulumi.StringPtrOutput) } -func (o MountWasbPtrOutput) TokenSecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { - if v == nil { - return nil - } - return &v.TokenSecretKey - }).(pulumi.StringPtrOutput) +type ModelServingAiGatewayRateLimit struct { + // Used to specify how many calls are allowed for a key within the renewal_period. + Calls int `pulumi:"calls"` + // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + Key *string `pulumi:"key"` + // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + RenewalPeriod string `pulumi:"renewalPeriod"` } -func (o MountWasbPtrOutput) TokenSecretScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MountWasb) *string { - if v == nil { - return nil - } - return &v.TokenSecretScope - }).(pulumi.StringPtrOutput) +// ModelServingAiGatewayRateLimitInput is an input type that accepts ModelServingAiGatewayRateLimitArgs and ModelServingAiGatewayRateLimitOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayRateLimitInput` via: +// +// ModelServingAiGatewayRateLimitArgs{...} +type ModelServingAiGatewayRateLimitInput interface { + pulumi.Input + + ToModelServingAiGatewayRateLimitOutput() ModelServingAiGatewayRateLimitOutput + ToModelServingAiGatewayRateLimitOutputWithContext(context.Context) ModelServingAiGatewayRateLimitOutput } -type MwsCustomerManagedKeysAwsKeyInfo struct { - // The AWS KMS key alias. - KeyAlias *string `pulumi:"keyAlias"` - // The AWS KMS key's Amazon Resource Name (ARN). - KeyArn string `pulumi:"keyArn"` - // (Computed) The AWS region in which KMS key is deployed to. This is not required. - KeyRegion *string `pulumi:"keyRegion"` +type ModelServingAiGatewayRateLimitArgs struct { + // Used to specify how many calls are allowed for a key within the renewal_period. + Calls pulumi.IntInput `pulumi:"calls"` + // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + Key pulumi.StringPtrInput `pulumi:"key"` + // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + RenewalPeriod pulumi.StringInput `pulumi:"renewalPeriod"` } -// MwsCustomerManagedKeysAwsKeyInfoInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs and MwsCustomerManagedKeysAwsKeyInfoOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoInput` via: +func (ModelServingAiGatewayRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayRateLimit)(nil)).Elem() +} + +func (i ModelServingAiGatewayRateLimitArgs) ToModelServingAiGatewayRateLimitOutput() ModelServingAiGatewayRateLimitOutput { + return i.ToModelServingAiGatewayRateLimitOutputWithContext(context.Background()) +} + +func (i ModelServingAiGatewayRateLimitArgs) ToModelServingAiGatewayRateLimitOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayRateLimitOutput) +} + +// ModelServingAiGatewayRateLimitArrayInput is an input type that accepts ModelServingAiGatewayRateLimitArray and ModelServingAiGatewayRateLimitArrayOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayRateLimitArrayInput` via: // -// MwsCustomerManagedKeysAwsKeyInfoArgs{...} -type MwsCustomerManagedKeysAwsKeyInfoInput interface { +// ModelServingAiGatewayRateLimitArray{ ModelServingAiGatewayRateLimitArgs{...} } +type ModelServingAiGatewayRateLimitArrayInput interface { pulumi.Input - ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput - ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput + ToModelServingAiGatewayRateLimitArrayOutput() ModelServingAiGatewayRateLimitArrayOutput + ToModelServingAiGatewayRateLimitArrayOutputWithContext(context.Context) ModelServingAiGatewayRateLimitArrayOutput } -type MwsCustomerManagedKeysAwsKeyInfoArgs struct { - // The AWS KMS key alias. - KeyAlias pulumi.StringPtrInput `pulumi:"keyAlias"` - // The AWS KMS key's Amazon Resource Name (ARN). - KeyArn pulumi.StringInput `pulumi:"keyArn"` - // (Computed) The AWS region in which KMS key is deployed to. This is not required. - KeyRegion pulumi.StringPtrInput `pulumi:"keyRegion"` +type ModelServingAiGatewayRateLimitArray []ModelServingAiGatewayRateLimitInput + +func (ModelServingAiGatewayRateLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingAiGatewayRateLimit)(nil)).Elem() } -func (MwsCustomerManagedKeysAwsKeyInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func (i ModelServingAiGatewayRateLimitArray) ToModelServingAiGatewayRateLimitArrayOutput() ModelServingAiGatewayRateLimitArrayOutput { + return i.ToModelServingAiGatewayRateLimitArrayOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { - return i.ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Background()) +func (i ModelServingAiGatewayRateLimitArray) ToModelServingAiGatewayRateLimitArrayOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayRateLimitArrayOutput) } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput) +type ModelServingAiGatewayRateLimitOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayRateLimit)(nil)).Elem() } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayRateLimitOutput) ToModelServingAiGatewayRateLimitOutput() ModelServingAiGatewayRateLimitOutput { + return o } -func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput).ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx) +func (o ModelServingAiGatewayRateLimitOutput) ToModelServingAiGatewayRateLimitOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitOutput { + return o } -// MwsCustomerManagedKeysAwsKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs, MwsCustomerManagedKeysAwsKeyInfoPtr and MwsCustomerManagedKeysAwsKeyInfoPtrOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoPtrInput` via: -// -// MwsCustomerManagedKeysAwsKeyInfoArgs{...} -// -// or: -// -// nil -type MwsCustomerManagedKeysAwsKeyInfoPtrInput interface { - pulumi.Input +// Used to specify how many calls are allowed for a key within the renewal_period. +func (o ModelServingAiGatewayRateLimitOutput) Calls() pulumi.IntOutput { + return o.ApplyT(func(v ModelServingAiGatewayRateLimit) int { return v.Calls }).(pulumi.IntOutput) +} - ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput - ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput +// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. +func (o ModelServingAiGatewayRateLimitOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayRateLimit) *string { return v.Key }).(pulumi.StringPtrOutput) } -type mwsCustomerManagedKeysAwsKeyInfoPtrType MwsCustomerManagedKeysAwsKeyInfoArgs +// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. +func (o ModelServingAiGatewayRateLimitOutput) RenewalPeriod() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingAiGatewayRateLimit) string { return v.RenewalPeriod }).(pulumi.StringOutput) +} -func MwsCustomerManagedKeysAwsKeyInfoPtr(v *MwsCustomerManagedKeysAwsKeyInfoArgs) MwsCustomerManagedKeysAwsKeyInfoPtrInput { - return (*mwsCustomerManagedKeysAwsKeyInfoPtrType)(v) +type ModelServingAiGatewayRateLimitArrayOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayRateLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingAiGatewayRateLimit)(nil)).Elem() } -func (*mwsCustomerManagedKeysAwsKeyInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func (o ModelServingAiGatewayRateLimitArrayOutput) ToModelServingAiGatewayRateLimitArrayOutput() ModelServingAiGatewayRateLimitArrayOutput { + return o } -func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) +func (o ModelServingAiGatewayRateLimitArrayOutput) ToModelServingAiGatewayRateLimitArrayOutputWithContext(ctx context.Context) ModelServingAiGatewayRateLimitArrayOutput { + return o } -func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) +func (o ModelServingAiGatewayRateLimitArrayOutput) Index(i pulumi.IntInput) ModelServingAiGatewayRateLimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingAiGatewayRateLimit { + return vs[0].([]ModelServingAiGatewayRateLimit)[vs[1].(int)] + }).(ModelServingAiGatewayRateLimitOutput) } -type MwsCustomerManagedKeysAwsKeyInfoOutput struct{ *pulumi.OutputState } +type ModelServingAiGatewayUsageTrackingConfig struct { + Enabled *bool `pulumi:"enabled"` +} -func (MwsCustomerManagedKeysAwsKeyInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +// ModelServingAiGatewayUsageTrackingConfigInput is an input type that accepts ModelServingAiGatewayUsageTrackingConfigArgs and ModelServingAiGatewayUsageTrackingConfigOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayUsageTrackingConfigInput` via: +// +// ModelServingAiGatewayUsageTrackingConfigArgs{...} +type ModelServingAiGatewayUsageTrackingConfigInput interface { + pulumi.Input + + ToModelServingAiGatewayUsageTrackingConfigOutput() ModelServingAiGatewayUsageTrackingConfigOutput + ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(context.Context) ModelServingAiGatewayUsageTrackingConfigOutput } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { - return o +type ModelServingAiGatewayUsageTrackingConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { - return o +func (ModelServingAiGatewayUsageTrackingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return o.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) +func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigOutput() ModelServingAiGatewayUsageTrackingConfigOutput { + return i.ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(context.Background()) } -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysAwsKeyInfo) *MwsCustomerManagedKeysAwsKeyInfo { - return &v - }).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) +func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayUsageTrackingConfigOutput) } -// The AWS KMS key alias. -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyAlias() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) *string { return v.KeyAlias }).(pulumi.StringPtrOutput) +func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return i.ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Background()) } -// The AWS KMS key's Amazon Resource Name (ARN). -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyArn() pulumi.StringOutput { - return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) string { return v.KeyArn }).(pulumi.StringOutput) +func (i ModelServingAiGatewayUsageTrackingConfigArgs) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayUsageTrackingConfigOutput).ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx) } -// (Computed) The AWS region in which KMS key is deployed to. This is not required. -func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) *string { return v.KeyRegion }).(pulumi.StringPtrOutput) +// ModelServingAiGatewayUsageTrackingConfigPtrInput is an input type that accepts ModelServingAiGatewayUsageTrackingConfigArgs, ModelServingAiGatewayUsageTrackingConfigPtr and ModelServingAiGatewayUsageTrackingConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingAiGatewayUsageTrackingConfigPtrInput` via: +// +// ModelServingAiGatewayUsageTrackingConfigArgs{...} +// +// or: +// +// nil +type ModelServingAiGatewayUsageTrackingConfigPtrInput interface { + pulumi.Input + + ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput + ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput } -type MwsCustomerManagedKeysAwsKeyInfoPtrOutput struct{ *pulumi.OutputState } +type modelServingAiGatewayUsageTrackingConfigPtrType ModelServingAiGatewayUsageTrackingConfigArgs -func (MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +func ModelServingAiGatewayUsageTrackingConfigPtr(v *ModelServingAiGatewayUsageTrackingConfigArgs) ModelServingAiGatewayUsageTrackingConfigPtrInput { + return (*modelServingAiGatewayUsageTrackingConfigPtrType)(v) } -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { +func (*modelServingAiGatewayUsageTrackingConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +} + +func (i *modelServingAiGatewayUsageTrackingConfigPtrType) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return i.ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Background()) +} + +func (i *modelServingAiGatewayUsageTrackingConfigPtrType) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) +} + +type ModelServingAiGatewayUsageTrackingConfigOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayUsageTrackingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +} + +func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigOutput() ModelServingAiGatewayUsageTrackingConfigOutput { return o } -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { +func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigOutput { return o } -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysAwsKeyInfoOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) MwsCustomerManagedKeysAwsKeyInfo { - if v != nil { - return *v - } - var ret MwsCustomerManagedKeysAwsKeyInfo - return ret - }).(MwsCustomerManagedKeysAwsKeyInfoOutput) +func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return o.ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(context.Background()) +} + +func (o ModelServingAiGatewayUsageTrackingConfigOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingAiGatewayUsageTrackingConfig) *ModelServingAiGatewayUsageTrackingConfig { + return &v + }).(ModelServingAiGatewayUsageTrackingConfigPtrOutput) +} + +func (o ModelServingAiGatewayUsageTrackingConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingAiGatewayUsageTrackingConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +type ModelServingAiGatewayUsageTrackingConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingAiGatewayUsageTrackingConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingAiGatewayUsageTrackingConfig)(nil)).Elem() +} + +func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutput() ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return o } -// The AWS KMS key alias. -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) KeyAlias() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) *string { - if v == nil { - return nil - } - return v.KeyAlias - }).(pulumi.StringPtrOutput) +func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) ToModelServingAiGatewayUsageTrackingConfigPtrOutputWithContext(ctx context.Context) ModelServingAiGatewayUsageTrackingConfigPtrOutput { + return o } -// The AWS KMS key's Amazon Resource Name (ARN). -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) KeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) *string { - if v == nil { - return nil +func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) Elem() ModelServingAiGatewayUsageTrackingConfigOutput { + return o.ApplyT(func(v *ModelServingAiGatewayUsageTrackingConfig) ModelServingAiGatewayUsageTrackingConfig { + if v != nil { + return *v } - return &v.KeyArn - }).(pulumi.StringPtrOutput) + var ret ModelServingAiGatewayUsageTrackingConfig + return ret + }).(ModelServingAiGatewayUsageTrackingConfigOutput) } -// (Computed) The AWS region in which KMS key is deployed to. This is not required. -func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) KeyRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) *string { +func (o ModelServingAiGatewayUsageTrackingConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServingAiGatewayUsageTrackingConfig) *bool { if v == nil { return nil } - return v.KeyRegion - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type MwsCustomerManagedKeysGcpKeyInfo struct { - // The GCP KMS key's resource name. - KmsKeyId string `pulumi:"kmsKeyId"` +type ModelServingConfig struct { + // Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + AutoCaptureConfig *ModelServingConfigAutoCaptureConfig `pulumi:"autoCaptureConfig"` + // A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + ServedEntities []ModelServingConfigServedEntity `pulumi:"servedEntities"` + // Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. + // + // Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. + ServedModels []ModelServingConfigServedModel `pulumi:"servedModels"` + // A single block represents the traffic split configuration amongst the served models. + TrafficConfig *ModelServingConfigTrafficConfig `pulumi:"trafficConfig"` } -// MwsCustomerManagedKeysGcpKeyInfoInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs and MwsCustomerManagedKeysGcpKeyInfoOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoInput` via: +// ModelServingConfigInput is an input type that accepts ModelServingConfigArgs and ModelServingConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigInput` via: // -// MwsCustomerManagedKeysGcpKeyInfoArgs{...} -type MwsCustomerManagedKeysGcpKeyInfoInput interface { +// ModelServingConfigArgs{...} +type ModelServingConfigInput interface { pulumi.Input - ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput - ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput + ToModelServingConfigOutput() ModelServingConfigOutput + ToModelServingConfigOutputWithContext(context.Context) ModelServingConfigOutput } -type MwsCustomerManagedKeysGcpKeyInfoArgs struct { - // The GCP KMS key's resource name. - KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` +type ModelServingConfigArgs struct { + // Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + AutoCaptureConfig ModelServingConfigAutoCaptureConfigPtrInput `pulumi:"autoCaptureConfig"` + // A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + ServedEntities ModelServingConfigServedEntityArrayInput `pulumi:"servedEntities"` + // Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. + // + // Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. + ServedModels ModelServingConfigServedModelArrayInput `pulumi:"servedModels"` + // A single block represents the traffic split configuration amongst the served models. + TrafficConfig ModelServingConfigTrafficConfigPtrInput `pulumi:"trafficConfig"` } -func (MwsCustomerManagedKeysGcpKeyInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (ModelServingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { - return i.ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Background()) +func (i ModelServingConfigArgs) ToModelServingConfigOutput() ModelServingConfigOutput { + return i.ToModelServingConfigOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput) +func (i ModelServingConfigArgs) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput) } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigArgs) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { + return i.ToModelServingConfigPtrOutputWithContext(context.Background()) } -func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput).ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigArgs) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigOutput).ToModelServingConfigPtrOutputWithContext(ctx) } -// MwsCustomerManagedKeysGcpKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs, MwsCustomerManagedKeysGcpKeyInfoPtr and MwsCustomerManagedKeysGcpKeyInfoPtrOutput values. -// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoPtrInput` via: +// ModelServingConfigPtrInput is an input type that accepts ModelServingConfigArgs, ModelServingConfigPtr and ModelServingConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigPtrInput` via: // -// MwsCustomerManagedKeysGcpKeyInfoArgs{...} +// ModelServingConfigArgs{...} // // or: // // nil -type MwsCustomerManagedKeysGcpKeyInfoPtrInput interface { +type ModelServingConfigPtrInput interface { pulumi.Input - ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput - ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput + ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput + ToModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigPtrOutput } -type mwsCustomerManagedKeysGcpKeyInfoPtrType MwsCustomerManagedKeysGcpKeyInfoArgs +type modelServingConfigPtrType ModelServingConfigArgs -func MwsCustomerManagedKeysGcpKeyInfoPtr(v *MwsCustomerManagedKeysGcpKeyInfoArgs) MwsCustomerManagedKeysGcpKeyInfoPtrInput { - return (*mwsCustomerManagedKeysGcpKeyInfoPtrType)(v) +func ModelServingConfigPtr(v *ModelServingConfigArgs) ModelServingConfigPtrInput { + return (*modelServingConfigPtrType)(v) } -func (*mwsCustomerManagedKeysGcpKeyInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (*modelServingConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() } -func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) +func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { + return i.ToModelServingConfigPtrOutputWithContext(context.Background()) } -func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) +func (i *modelServingConfigPtrType) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigPtrOutput) } -type MwsCustomerManagedKeysGcpKeyInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigOutput struct{ *pulumi.OutputState } -func (MwsCustomerManagedKeysGcpKeyInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +func (ModelServingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfig)(nil)).Elem() } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { +func (o ModelServingConfigOutput) ToModelServingConfigOutput() ModelServingConfigOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { +func (o ModelServingConfigOutput) ToModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return o.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { + return o.ToModelServingConfigPtrOutputWithContext(context.Background()) } -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysGcpKeyInfo) *MwsCustomerManagedKeysGcpKeyInfo { +func (o ModelServingConfigOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfig) *ModelServingConfig { return &v - }).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) + }).(ModelServingConfigPtrOutput) } -// The GCP KMS key's resource name. -func (o MwsCustomerManagedKeysGcpKeyInfoOutput) KmsKeyId() pulumi.StringOutput { - return o.ApplyT(func(v MwsCustomerManagedKeysGcpKeyInfo) string { return v.KmsKeyId }).(pulumi.StringOutput) +// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. +func (o ModelServingConfigOutput) AutoCaptureConfig() ModelServingConfigAutoCaptureConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfig) *ModelServingConfigAutoCaptureConfig { return v.AutoCaptureConfig }).(ModelServingConfigAutoCaptureConfigPtrOutput) } -type MwsCustomerManagedKeysGcpKeyInfoPtrOutput struct{ *pulumi.OutputState } +// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. +func (o ModelServingConfigOutput) ServedEntities() ModelServingConfigServedEntityArrayOutput { + return o.ApplyT(func(v ModelServingConfig) []ModelServingConfigServedEntity { return v.ServedEntities }).(ModelServingConfigServedEntityArrayOutput) +} -func (MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() +// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. +// +// Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. +func (o ModelServingConfigOutput) ServedModels() ModelServingConfigServedModelArrayOutput { + return o.ApplyT(func(v ModelServingConfig) []ModelServingConfigServedModel { return v.ServedModels }).(ModelServingConfigServedModelArrayOutput) } -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { +// A single block represents the traffic split configuration amongst the served models. +func (o ModelServingConfigOutput) TrafficConfig() ModelServingConfigTrafficConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfig) *ModelServingConfigTrafficConfig { return v.TrafficConfig }).(ModelServingConfigTrafficConfigPtrOutput) +} + +type ModelServingConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfig)(nil)).Elem() +} + +func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutput() ModelServingConfigPtrOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { +func (o ModelServingConfigPtrOutput) ToModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigPtrOutput { return o } -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysGcpKeyInfoOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) MwsCustomerManagedKeysGcpKeyInfo { +func (o ModelServingConfigPtrOutput) Elem() ModelServingConfigOutput { + return o.ApplyT(func(v *ModelServingConfig) ModelServingConfig { if v != nil { return *v } - var ret MwsCustomerManagedKeysGcpKeyInfo + var ret ModelServingConfig return ret - }).(MwsCustomerManagedKeysGcpKeyInfoOutput) + }).(ModelServingConfigOutput) } -// The GCP KMS key's resource name. -func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) KmsKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) *string { +// Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. +func (o ModelServingConfigPtrOutput) AutoCaptureConfig() ModelServingConfigAutoCaptureConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfig) *ModelServingConfigAutoCaptureConfig { if v == nil { return nil } - return &v.KmsKeyId - }).(pulumi.StringPtrOutput) + return v.AutoCaptureConfig + }).(ModelServingConfigAutoCaptureConfigPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfig struct { - // block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: - DefaultRules *MwsNetworkConnectivityConfigEgressConfigDefaultRules `pulumi:"defaultRules"` - // block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: - TargetRules *MwsNetworkConnectivityConfigEgressConfigTargetRules `pulumi:"targetRules"` +// A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. +func (o ModelServingConfigPtrOutput) ServedEntities() ModelServingConfigServedEntityArrayOutput { + return o.ApplyT(func(v *ModelServingConfig) []ModelServingConfigServedEntity { + if v == nil { + return nil + } + return v.ServedEntities + }).(ModelServingConfigServedEntityArrayOutput) } -// MwsNetworkConnectivityConfigEgressConfigInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigArgs and MwsNetworkConnectivityConfigEgressConfigOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigInput` via: +// Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. // -// MwsNetworkConnectivityConfigEgressConfigArgs{...} -type MwsNetworkConnectivityConfigEgressConfigInput interface { +// Deprecated: Please use 'config.served_entities' instead of 'config.served_models'. +func (o ModelServingConfigPtrOutput) ServedModels() ModelServingConfigServedModelArrayOutput { + return o.ApplyT(func(v *ModelServingConfig) []ModelServingConfigServedModel { + if v == nil { + return nil + } + return v.ServedModels + }).(ModelServingConfigServedModelArrayOutput) +} + +// A single block represents the traffic split configuration amongst the served models. +func (o ModelServingConfigPtrOutput) TrafficConfig() ModelServingConfigTrafficConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfig) *ModelServingConfigTrafficConfig { + if v == nil { + return nil + } + return v.TrafficConfig + }).(ModelServingConfigTrafficConfigPtrOutput) +} + +type ModelServingConfigAutoCaptureConfig struct { + // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + CatalogName *string `pulumi:"catalogName"` + // If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. + Enabled *bool `pulumi:"enabled"` + // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + SchemaName *string `pulumi:"schemaName"` + // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + TableNamePrefix *string `pulumi:"tableNamePrefix"` +} + +// ModelServingConfigAutoCaptureConfigInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs and ModelServingConfigAutoCaptureConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigInput` via: +// +// ModelServingConfigAutoCaptureConfigArgs{...} +type ModelServingConfigAutoCaptureConfigInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigOutput() MwsNetworkConnectivityConfigEgressConfigOutput - ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigOutput + ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput + ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigOutput } -type MwsNetworkConnectivityConfigEgressConfigArgs struct { - // block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: - DefaultRules MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput `pulumi:"defaultRules"` - // block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: - TargetRules MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput `pulumi:"targetRules"` +type ModelServingConfigAutoCaptureConfigArgs struct { + // The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + // The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + TableNamePrefix pulumi.StringPtrInput `pulumi:"tableNamePrefix"` } -func (MwsNetworkConnectivityConfigEgressConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() +func (ModelServingConfigAutoCaptureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigOutput() MwsNetworkConnectivityConfigEgressConfigOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(context.Background()) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { + return i.ToModelServingConfigAutoCaptureConfigOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigOutput) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { + return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigOutput).ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx) +func (i ModelServingConfigAutoCaptureConfigArgs) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigOutput).ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx) } -// MwsNetworkConnectivityConfigEgressConfigPtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigArgs, MwsNetworkConnectivityConfigEgressConfigPtr and MwsNetworkConnectivityConfigEgressConfigPtrOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigPtrInput` via: +// ModelServingConfigAutoCaptureConfigPtrInput is an input type that accepts ModelServingConfigAutoCaptureConfigArgs, ModelServingConfigAutoCaptureConfigPtr and ModelServingConfigAutoCaptureConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigAutoCaptureConfigPtrInput` via: // -// MwsNetworkConnectivityConfigEgressConfigArgs{...} +// ModelServingConfigAutoCaptureConfigArgs{...} // // or: // // nil -type MwsNetworkConnectivityConfigEgressConfigPtrInput interface { +type ModelServingConfigAutoCaptureConfigPtrInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput - ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput + ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput + ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Context) ModelServingConfigAutoCaptureConfigPtrOutput } -type mwsNetworkConnectivityConfigEgressConfigPtrType MwsNetworkConnectivityConfigEgressConfigArgs +type modelServingConfigAutoCaptureConfigPtrType ModelServingConfigAutoCaptureConfigArgs -func MwsNetworkConnectivityConfigEgressConfigPtr(v *MwsNetworkConnectivityConfigEgressConfigArgs) MwsNetworkConnectivityConfigEgressConfigPtrInput { - return (*mwsNetworkConnectivityConfigEgressConfigPtrType)(v) +func ModelServingConfigAutoCaptureConfigPtr(v *ModelServingConfigAutoCaptureConfigArgs) ModelServingConfigAutoCaptureConfigPtrInput { + return (*modelServingConfigAutoCaptureConfigPtrType)(v) } -func (*mwsNetworkConnectivityConfigEgressConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() +func (*modelServingConfigAutoCaptureConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (i *mwsNetworkConnectivityConfigEgressConfigPtrType) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) +func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { + return i.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) } -func (i *mwsNetworkConnectivityConfigEgressConfigPtrType) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigPtrOutput) +func (i *modelServingConfigAutoCaptureConfigPtrType) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigAutoCaptureConfigPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigOutput struct{ *pulumi.OutputState } +type ModelServingConfigAutoCaptureConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworkConnectivityConfigEgressConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() +func (ModelServingConfigAutoCaptureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigAutoCaptureConfig)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigOutput() MwsNetworkConnectivityConfigEgressConfigOutput { +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutput() ModelServingConfigAutoCaptureConfigOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigOutput { +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { - return o.ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { + return o.ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfig { +func (o ModelServingConfigAutoCaptureConfigOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigAutoCaptureConfig) *ModelServingConfigAutoCaptureConfig { return &v - }).(MwsNetworkConnectivityConfigEgressConfigPtrOutput) + }).(ModelServingConfigAutoCaptureConfigPtrOutput) } -// block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigOutput) DefaultRules() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigDefaultRules { - return v.DefaultRules - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) +// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. +func (o ModelServingConfigAutoCaptureConfigOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -// block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigOutput) TargetRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigTargetRules { - return v.TargetRules - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) +// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. +func (o ModelServingConfigAutoCaptureConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigPtrOutput struct{ *pulumi.OutputState } +// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. +func (o ModelServingConfigAutoCaptureConfigOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.SchemaName }).(pulumi.StringPtrOutput) +} -func (MwsNetworkConnectivityConfigEgressConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() +// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. +func (o ModelServingConfigAutoCaptureConfigOutput) TableNamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigAutoCaptureConfig) *string { return v.TableNamePrefix }).(pulumi.StringPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { +type ModelServingConfigAutoCaptureConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigAutoCaptureConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigAutoCaptureConfig)(nil)).Elem() +} + +func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutput() ModelServingConfigAutoCaptureConfigPtrOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { +func (o ModelServingConfigAutoCaptureConfigPtrOutput) ToModelServingConfigAutoCaptureConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigAutoCaptureConfigPtrOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfig) MwsNetworkConnectivityConfigEgressConfig { +func (o ModelServingConfigAutoCaptureConfigPtrOutput) Elem() ModelServingConfigAutoCaptureConfigOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) ModelServingConfigAutoCaptureConfig { if v != nil { return *v } - var ret MwsNetworkConnectivityConfigEgressConfig + var ret ModelServingConfigAutoCaptureConfig return ret - }).(MwsNetworkConnectivityConfigEgressConfigOutput) + }).(ModelServingConfigAutoCaptureConfigOutput) } -// block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) DefaultRules() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigDefaultRules { +// The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. +func (o ModelServingConfigAutoCaptureConfigPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { if v == nil { return nil } - return v.DefaultRules - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) + return v.CatalogName + }).(pulumi.StringPtrOutput) } -// block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) TargetRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigTargetRules { +// If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. +func (o ModelServingConfigAutoCaptureConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *bool { if v == nil { return nil } - return v.TargetRules - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRules struct { - // (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: - AwsStableIpRule *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule `pulumi:"awsStableIpRule"` - // (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: - AzureServiceEndpointRule *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule `pulumi:"azureServiceEndpointRule"` +// The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. +func (o ModelServingConfigAutoCaptureConfigPtrOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { + if v == nil { + return nil + } + return v.SchemaName + }).(pulumi.StringPtrOutput) } -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs and MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesInput` via: +// The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. +func (o ModelServingConfigAutoCaptureConfigPtrOutput) TableNamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigAutoCaptureConfig) *string { + if v == nil { + return nil + } + return v.TableNamePrefix + }).(pulumi.StringPtrOutput) +} + +type ModelServingConfigServedEntity struct { + // The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. + EntityName *string `pulumi:"entityName"` + // The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + EntityVersion *string `pulumi:"entityVersion"` + // An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` + EnvironmentVars map[string]string `pulumi:"environmentVars"` + // The external model to be served. NOTE: Only one of `externalModel` and (`entityName`, `entityVersion`, `workloadSize`, `workloadType`, and `scaleToZeroEnabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `externalModel` is present, the served entities list can only have one `servedEntity` object. An existing endpoint with `externalModel` can not be updated to an endpoint without `externalModel`. If the endpoint is created without `externalModel`, users cannot update it to add `externalModel` later. + ExternalModel *ModelServingConfigServedEntityExternalModel `pulumi:"externalModel"` + // ARN of the instance profile that the served entity uses to access AWS resources. + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + // The maximum tokens per second that the endpoint can scale up to. + MaxProvisionedThroughput *int `pulumi:"maxProvisionedThroughput"` + // The minimum tokens per second that the endpoint can scale down to. + MinProvisionedThroughput *int `pulumi:"minProvisionedThroughput"` + // The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + Name *string `pulumi:"name"` + // Whether the compute resources for the served entity should scale down to zero. + ScaleToZeroEnabled *bool `pulumi:"scaleToZeroEnabled"` + // The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + WorkloadSize *string `pulumi:"workloadSize"` + // The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). + WorkloadType *string `pulumi:"workloadType"` +} + +// ModelServingConfigServedEntityInput is an input type that accepts ModelServingConfigServedEntityArgs and ModelServingConfigServedEntityOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityInput` via: // -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{...} -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesInput interface { +// ModelServingConfigServedEntityArgs{...} +type ModelServingConfigServedEntityInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput + ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput + ToModelServingConfigServedEntityOutputWithContext(context.Context) ModelServingConfigServedEntityOutput } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs struct { - // (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: - AwsStableIpRule MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput `pulumi:"awsStableIpRule"` - // (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: - AzureServiceEndpointRule MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput `pulumi:"azureServiceEndpointRule"` +type ModelServingConfigServedEntityArgs struct { + // The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. + EntityName pulumi.StringPtrInput `pulumi:"entityName"` + // The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + EntityVersion pulumi.StringPtrInput `pulumi:"entityVersion"` + // An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` + EnvironmentVars pulumi.StringMapInput `pulumi:"environmentVars"` + // The external model to be served. NOTE: Only one of `externalModel` and (`entityName`, `entityVersion`, `workloadSize`, `workloadType`, and `scaleToZeroEnabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `externalModel` is present, the served entities list can only have one `servedEntity` object. An existing endpoint with `externalModel` can not be updated to an endpoint without `externalModel`. If the endpoint is created without `externalModel`, users cannot update it to add `externalModel` later. + ExternalModel ModelServingConfigServedEntityExternalModelPtrInput `pulumi:"externalModel"` + // ARN of the instance profile that the served entity uses to access AWS resources. + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + // The maximum tokens per second that the endpoint can scale up to. + MaxProvisionedThroughput pulumi.IntPtrInput `pulumi:"maxProvisionedThroughput"` + // The minimum tokens per second that the endpoint can scale down to. + MinProvisionedThroughput pulumi.IntPtrInput `pulumi:"minProvisionedThroughput"` + // The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + Name pulumi.StringPtrInput `pulumi:"name"` + // Whether the compute resources for the served entity should scale down to zero. + ScaleToZeroEnabled pulumi.BoolPtrInput `pulumi:"scaleToZeroEnabled"` + // The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + WorkloadSize pulumi.StringPtrInput `pulumi:"workloadSize"` + // The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). + WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` } -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() +func (ModelServingConfigServedEntityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntity)(nil)).Elem() +} + +func (i ModelServingConfigServedEntityArgs) ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput { + return i.ToModelServingConfigServedEntityOutputWithContext(context.Background()) +} + +func (i ModelServingConfigServedEntityArgs) ToModelServingConfigServedEntityOutputWithContext(ctx context.Context) ModelServingConfigServedEntityOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityOutput) +} + +// ModelServingConfigServedEntityArrayInput is an input type that accepts ModelServingConfigServedEntityArray and ModelServingConfigServedEntityArrayOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityArrayInput` via: +// +// ModelServingConfigServedEntityArray{ ModelServingConfigServedEntityArgs{...} } +type ModelServingConfigServedEntityArrayInput interface { + pulumi.Input + + ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput + ToModelServingConfigServedEntityArrayOutputWithContext(context.Context) ModelServingConfigServedEntityArrayOutput } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(context.Background()) -} +type ModelServingConfigServedEntityArray []ModelServingConfigServedEntityInput -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) +func (ModelServingConfigServedEntityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedEntity)(nil)).Elem() } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityArray) ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput { + return i.ToModelServingConfigServedEntityArrayOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput).ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityArray) ToModelServingConfigServedEntityArrayOutputWithContext(ctx context.Context) ModelServingConfigServedEntityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityArrayOutput) } -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs, MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtr and MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput` via: -// -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{...} -// -// or: -// -// nil -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput interface { - pulumi.Input +type ModelServingConfigServedEntityOutput struct{ *pulumi.OutputState } - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput +func (ModelServingConfigServedEntityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntity)(nil)).Elem() } -type mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs +func (o ModelServingConfigServedEntityOutput) ToModelServingConfigServedEntityOutput() ModelServingConfigServedEntityOutput { + return o +} -func MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtr(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput { - return (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType)(v) +func (o ModelServingConfigServedEntityOutput) ToModelServingConfigServedEntityOutputWithContext(ctx context.Context) ModelServingConfigServedEntityOutput { + return o } -func (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() +// The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. +func (o ModelServingConfigServedEntityOutput) EntityName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.EntityName }).(pulumi.StringPtrOutput) } -func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) +// The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. +func (o ModelServingConfigServedEntityOutput) EntityVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.EntityVersion }).(pulumi.StringPtrOutput) } -func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) +// An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` +func (o ModelServingConfigServedEntityOutput) EnvironmentVars() pulumi.StringMapOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) map[string]string { return v.EnvironmentVars }).(pulumi.StringMapOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput struct{ *pulumi.OutputState } +// The external model to be served. NOTE: Only one of `externalModel` and (`entityName`, `entityVersion`, `workloadSize`, `workloadType`, and `scaleToZeroEnabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `externalModel` is present, the served entities list can only have one `servedEntity` object. An existing endpoint with `externalModel` can not be updated to an endpoint without `externalModel`. If the endpoint is created without `externalModel`, users cannot update it to add `externalModel` later. +func (o ModelServingConfigServedEntityOutput) ExternalModel() ModelServingConfigServedEntityExternalModelPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *ModelServingConfigServedEntityExternalModel { + return v.ExternalModel + }).(ModelServingConfigServedEntityExternalModelPtrOutput) +} -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() +// ARN of the instance profile that the served entity uses to access AWS resources. +func (o ModelServingConfigServedEntityOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { - return o +// The maximum tokens per second that the endpoint can scale up to. +func (o ModelServingConfigServedEntityOutput) MaxProvisionedThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *int { return v.MaxProvisionedThroughput }).(pulumi.IntPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { - return o +// The minimum tokens per second that the endpoint can scale down to. +func (o ModelServingConfigServedEntityOutput) MinProvisionedThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *int { return v.MinProvisionedThroughput }).(pulumi.IntPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return o.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) +// The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. +func (o ModelServingConfigServedEntityOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRules { - return &v - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) +// Whether the compute resources for the served entity should scale down to zero. +func (o ModelServingConfigServedEntityOutput) ScaleToZeroEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *bool { return v.ScaleToZeroEnabled }).(pulumi.BoolPtrOutput) } -// (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) AwsStableIpRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { - return v.AwsStableIpRule - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) +// The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. +func (o ModelServingConfigServedEntityOutput) WorkloadSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.WorkloadSize }).(pulumi.StringPtrOutput) } -// (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) AzureServiceEndpointRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { - return v.AzureServiceEndpointRule - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) +// The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). +func (o ModelServingConfigServedEntityOutput) WorkloadType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntity) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityArrayOutput struct{ *pulumi.OutputState } -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() +func (ModelServingConfigServedEntityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedEntity)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { +func (o ModelServingConfigServedEntityArrayOutput) ToModelServingConfigServedEntityArrayOutput() ModelServingConfigServedEntityArrayOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { +func (o ModelServingConfigServedEntityArrayOutput) ToModelServingConfigServedEntityArrayOutputWithContext(ctx context.Context) ModelServingConfigServedEntityArrayOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRules) MwsNetworkConnectivityConfigEgressConfigDefaultRules { - if v != nil { - return *v - } - var ret MwsNetworkConnectivityConfigEgressConfigDefaultRules - return ret - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) -} - -// (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) AwsStableIpRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { - if v == nil { - return nil - } - return v.AwsStableIpRule - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) -} - -// (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) AzureServiceEndpointRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { - if v == nil { - return nil - } - return v.AzureServiceEndpointRule - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) +func (o ModelServingConfigServedEntityArrayOutput) Index(i pulumi.IntInput) ModelServingConfigServedEntityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingConfigServedEntity { + return vs[0].([]ModelServingConfigServedEntity)[vs[1].(int)] + }).(ModelServingConfigServedEntityOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule struct { - // list of IP CIDR blocks. - CidrBlocks []string `pulumi:"cidrBlocks"` +type ModelServingConfigServedEntityExternalModel struct { + // AI21Labs Config + Ai21labsConfig *ModelServingConfigServedEntityExternalModelAi21labsConfig `pulumi:"ai21labsConfig"` + // Amazon Bedrock Config + AmazonBedrockConfig *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig `pulumi:"amazonBedrockConfig"` + // Anthropic Config + AnthropicConfig *ModelServingConfigServedEntityExternalModelAnthropicConfig `pulumi:"anthropicConfig"` + // Cohere Config + CohereConfig *ModelServingConfigServedEntityExternalModelCohereConfig `pulumi:"cohereConfig"` + // Databricks Model Serving Config + DatabricksModelServingConfig *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig `pulumi:"databricksModelServingConfig"` + // Google Cloud Vertex AI Config. + GoogleCloudVertexAiConfig *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig `pulumi:"googleCloudVertexAiConfig"` + // The name of the external model. + Name string `pulumi:"name"` + // OpenAI Config + OpenaiConfig *ModelServingConfigServedEntityExternalModelOpenaiConfig `pulumi:"openaiConfig"` + // PaLM Config + PalmConfig *ModelServingConfigServedEntityExternalModelPalmConfig `pulumi:"palmConfig"` + // The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. + Provider string `pulumi:"provider"` + // The task type of the external model. + Task string `pulumi:"task"` } -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput` via: +// ModelServingConfigServedEntityExternalModelInput is an input type that accepts ModelServingConfigServedEntityExternalModelArgs and ModelServingConfigServedEntityExternalModelOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelInput` via: // -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{...} -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput interface { +// ModelServingConfigServedEntityExternalModelArgs{...} +type ModelServingConfigServedEntityExternalModelInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput + ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput + ToModelServingConfigServedEntityExternalModelOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOutput } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs struct { - // list of IP CIDR blocks. - CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"` +type ModelServingConfigServedEntityExternalModelArgs struct { + // AI21Labs Config + Ai21labsConfig ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput `pulumi:"ai21labsConfig"` + // Amazon Bedrock Config + AmazonBedrockConfig ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput `pulumi:"amazonBedrockConfig"` + // Anthropic Config + AnthropicConfig ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput `pulumi:"anthropicConfig"` + // Cohere Config + CohereConfig ModelServingConfigServedEntityExternalModelCohereConfigPtrInput `pulumi:"cohereConfig"` + // Databricks Model Serving Config + DatabricksModelServingConfig ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput `pulumi:"databricksModelServingConfig"` + // Google Cloud Vertex AI Config. + GoogleCloudVertexAiConfig ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput `pulumi:"googleCloudVertexAiConfig"` + // The name of the external model. + Name pulumi.StringInput `pulumi:"name"` + // OpenAI Config + OpenaiConfig ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput `pulumi:"openaiConfig"` + // PaLM Config + PalmConfig ModelServingConfigServedEntityExternalModelPalmConfigPtrInput `pulumi:"palmConfig"` + // The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. + Provider pulumi.StringInput `pulumi:"provider"` + // The task type of the external model. + Task pulumi.StringInput `pulumi:"task"` } -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModel)(nil)).Elem() } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput { + return i.ToModelServingConfigServedEntityExternalModelOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput).ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelArgs) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOutput).ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx) } -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs, MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtr and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput` via: +// ModelServingConfigServedEntityExternalModelPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelArgs, ModelServingConfigServedEntityExternalModelPtr and ModelServingConfigServedEntityExternalModelPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPtrInput` via: // -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{...} +// ModelServingConfigServedEntityExternalModelArgs{...} // // or: // // nil -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput interface { +type ModelServingConfigServedEntityExternalModelPtrInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput + ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput + ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPtrOutput } -type mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs +type modelServingConfigServedEntityExternalModelPtrType ModelServingConfigServedEntityExternalModelArgs -func MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtr(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput { - return (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType)(v) +func ModelServingConfigServedEntityExternalModelPtr(v *ModelServingConfigServedEntityExternalModelArgs) ModelServingConfigServedEntityExternalModelPtrInput { + return (*modelServingConfigServedEntityExternalModelPtrType)(v) } -func (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModel)(nil)).Elem() } -func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelPtrType) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) } -func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) +func (i *modelServingConfigServedEntityExternalModelPtrType) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelOutput struct{ *pulumi.OutputState } -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModel)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelOutput() ModelServingConfigServedEntityExternalModelOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return o.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(context.Background()) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { +func (o ModelServingConfigServedEntityExternalModelOutput) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModel { return &v - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) -} - -// list of IP CIDR blocks. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) CidrBlocks() pulumi.StringArrayOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) []string { - return v.CidrBlocks - }).(pulumi.StringArrayOutput) -} - -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput struct{ *pulumi.OutputState } - -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() -} - -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return o -} - -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { - return o -} - -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { - if v != nil { - return *v - } - var ret MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule - return ret - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) -} - -// list of IP CIDR blocks. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) CidrBlocks() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) []string { - if v == nil { - return nil - } - return v.CidrBlocks - }).(pulumi.StringArrayOutput) -} - -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule struct { - // list of subnets from which Databricks network traffic originates when accessing your Azure resources. - Subnets []string `pulumi:"subnets"` - // the Azure region in which this service endpoint rule applies. - TargetRegion *string `pulumi:"targetRegion"` - // the Azure services to which this service endpoint rule applies to. - TargetServices []string `pulumi:"targetServices"` -} - -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput` via: -// -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{...} -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput interface { - pulumi.Input - - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput + }).(ModelServingConfigServedEntityExternalModelPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs struct { - // list of subnets from which Databricks network traffic originates when accessing your Azure resources. - Subnets pulumi.StringArrayInput `pulumi:"subnets"` - // the Azure region in which this service endpoint rule applies. - TargetRegion pulumi.StringPtrInput `pulumi:"targetRegion"` - // the Azure services to which this service endpoint rule applies to. - TargetServices pulumi.StringArrayInput `pulumi:"targetServices"` +// AI21Labs Config +func (o ModelServingConfigServedEntityExternalModelOutput) Ai21labsConfig() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAi21labsConfig { + return v.Ai21labsConfig + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() +// Amazon Bedrock Config +func (o ModelServingConfigServedEntityExternalModelOutput) AmazonBedrockConfig() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + return v.AmazonBedrockConfig + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(context.Background()) +// Anthropic Config +func (o ModelServingConfigServedEntityExternalModelOutput) AnthropicConfig() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAnthropicConfig { + return v.AnthropicConfig + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) +// Cohere Config +func (o ModelServingConfigServedEntityExternalModelOutput) CohereConfig() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelCohereConfig { + return v.CohereConfig + }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) +// Databricks Model Serving Config +func (o ModelServingConfigServedEntityExternalModelOutput) DatabricksModelServingConfig() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + return v.DatabricksModelServingConfig + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput).ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx) +// Google Cloud Vertex AI Config. +func (o ModelServingConfigServedEntityExternalModelOutput) GoogleCloudVertexAiConfig() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + return v.GoogleCloudVertexAiConfig + }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) } -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs, MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtr and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput` via: -// -// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{...} -// -// or: -// -// nil -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput interface { - pulumi.Input - - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput - ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput +// The name of the external model. +func (o ModelServingConfigServedEntityExternalModelOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Name }).(pulumi.StringOutput) } -type mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs - -func MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtr(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput { - return (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType)(v) +// OpenAI Config +func (o ModelServingConfigServedEntityExternalModelOutput) OpenaiConfig() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelOpenaiConfig { + return v.OpenaiConfig + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } -func (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() +// PaLM Config +func (o ModelServingConfigServedEntityExternalModelOutput) PalmConfig() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelPalmConfig { + return v.PalmConfig + }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) } -func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) +// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. +func (o ModelServingConfigServedEntityExternalModelOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Provider }).(pulumi.StringOutput) } -func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) +// The task type of the external model. +func (o ModelServingConfigServedEntityExternalModelOutput) Task() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModel) string { return v.Task }).(pulumi.StringOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelPtrOutput struct{ *pulumi.OutputState } -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModel)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { +func (o ModelServingConfigServedEntityExternalModelPtrOutput) ToModelServingConfigServedEntityExternalModelPtrOutput() ModelServingConfigServedEntityExternalModelPtrOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { +func (o ModelServingConfigServedEntityExternalModelPtrOutput) ToModelServingConfigServedEntityExternalModelPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPtrOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return o.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Elem() ModelServingConfigServedEntityExternalModelOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) ModelServingConfigServedEntityExternalModel { + if v != nil { + return *v + } + var ret ModelServingConfigServedEntityExternalModel + return ret + }).(ModelServingConfigServedEntityExternalModelOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { - return &v - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) +// AI21Labs Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Ai21labsConfig() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAi21labsConfig { + if v == nil { + return nil + } + return v.Ai21labsConfig + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -// list of subnets from which Databricks network traffic originates when accessing your Azure resources. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { - return v.Subnets - }).(pulumi.StringArrayOutput) +// Amazon Bedrock Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) AmazonBedrockConfig() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + if v == nil { + return nil + } + return v.AmazonBedrockConfig + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -// the Azure region in which this service endpoint rule applies. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) TargetRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *string { - return v.TargetRegion - }).(pulumi.StringPtrOutput) +// Anthropic Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) AnthropicConfig() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelAnthropicConfig { + if v == nil { + return nil + } + return v.AnthropicConfig + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) } -// the Azure services to which this service endpoint rule applies to. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) TargetServices() pulumi.StringArrayOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { - return v.TargetServices - }).(pulumi.StringArrayOutput) +// Cohere Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) CohereConfig() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelCohereConfig { + if v == nil { + return nil + } + return v.CohereConfig + }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput struct{ *pulumi.OutputState } - -func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() +// Databricks Model Serving Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) DatabricksModelServingConfig() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { + if v == nil { + return nil + } + return v.DatabricksModelServingConfig + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return o +// Google Cloud Vertex AI Config. +func (o ModelServingConfigServedEntityExternalModelPtrOutput) GoogleCloudVertexAiConfig() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + if v == nil { + return nil + } + return v.GoogleCloudVertexAiConfig + }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { - return o +// The name of the external model. +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { - if v != nil { - return *v +// OpenAI Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) OpenaiConfig() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelOpenaiConfig { + if v == nil { + return nil } - var ret MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule - return ret - }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) + return v.OpenaiConfig + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } -// list of subnets from which Databricks network traffic originates when accessing your Azure resources. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { +// PaLM Config +func (o ModelServingConfigServedEntityExternalModelPtrOutput) PalmConfig() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *ModelServingConfigServedEntityExternalModelPalmConfig { if v == nil { return nil } - return v.Subnets - }).(pulumi.StringArrayOutput) + return v.PalmConfig + }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) } -// the Azure region in which this service endpoint rule applies. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) TargetRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *string { +// The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { if v == nil { return nil } - return v.TargetRegion + return &v.Provider }).(pulumi.StringPtrOutput) } -// the Azure services to which this service endpoint rule applies to. -func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) TargetServices() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { +// The task type of the external model. +func (o ModelServingConfigServedEntityExternalModelPtrOutput) Task() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModel) *string { if v == nil { return nil } - return v.TargetServices - }).(pulumi.StringArrayOutput) + return &v.Task + }).(pulumi.StringPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigTargetRules struct { - // (Azure only) - list containing information about configure Azure Private Endpoints. - AzurePrivateEndpointRules []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule `pulumi:"azurePrivateEndpointRules"` +type ModelServingConfigServedEntityExternalModelAi21labsConfig struct { + // The Databricks secret key reference for an AI21Labs API key. + Ai21labsApiKey *string `pulumi:"ai21labsApiKey"` + // An AI21 Labs API key provided as a plaintext string. + Ai21labsApiKeyPlaintext *string `pulumi:"ai21labsApiKeyPlaintext"` } -// MwsNetworkConnectivityConfigEgressConfigTargetRulesInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs and MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesInput` via: +// ModelServingConfigServedEntityExternalModelAi21labsConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAi21labsConfigArgs and ModelServingConfigServedEntityExternalModelAi21labsConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAi21labsConfigInput` via: // -// MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{...} -type MwsNetworkConnectivityConfigEgressConfigTargetRulesInput interface { +// ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{...} +type ModelServingConfigServedEntityExternalModelAi21labsConfigInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput } -type MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs struct { - // (Azure only) - list containing information about configure Azure Private Endpoints. - AzurePrivateEndpointRules MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput `pulumi:"azurePrivateEndpointRules"` +type ModelServingConfigServedEntityExternalModelAi21labsConfigArgs struct { + // The Databricks secret key reference for an AI21Labs API key. + Ai21labsApiKey pulumi.StringPtrInput `pulumi:"ai21labsApiKey"` + // An AI21 Labs API key provided as a plaintext string. + Ai21labsApiKeyPlaintext pulumi.StringPtrInput `pulumi:"ai21labsApiKeyPlaintext"` } -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) } -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput).ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput).ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx) } -// MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs, MwsNetworkConnectivityConfigEgressConfigTargetRulesPtr and MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput` via: +// ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAi21labsConfigArgs, ModelServingConfigServedEntityExternalModelAi21labsConfigPtr and ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput` via: // -// MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{...} +// ModelServingConfigServedEntityExternalModelAi21labsConfigArgs{...} // // or: // // nil -type MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput interface { +type ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput + ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput } -type mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs +type modelServingConfigServedEntityExternalModelAi21labsConfigPtrType ModelServingConfigServedEntityExternalModelAi21labsConfigArgs -func MwsNetworkConnectivityConfigEgressConfigTargetRulesPtr(v *MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput { - return (*mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType)(v) +func ModelServingConfigServedEntityExternalModelAi21labsConfigPtr(v *ModelServingConfigServedEntityExternalModelAi21labsConfigArgs) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelAi21labsConfigPtrType)(v) } -func (*mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (i *mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) } -func (i *mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) +func (i *modelServingConfigServedEntityExternalModelAi21labsConfigPtrType) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAi21labsConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return o.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigTargetRules) *MwsNetworkConnectivityConfigEgressConfigTargetRules { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAi21labsConfig) *ModelServingConfigServedEntityExternalModelAi21labsConfig { return &v - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) } -// (Azure only) - list containing information about configure Azure Private Endpoints. -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) AzurePrivateEndpointRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRules) []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { - return v.AzurePrivateEndpointRules - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) +// The Databricks secret key reference for an AI21Labs API key. +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { return v.Ai21labsApiKey }).(pulumi.StringPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput struct{ *pulumi.OutputState } +// An AI21 Labs API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { + return v.Ai21labsApiKeyPlaintext + }).(pulumi.StringPtrOutput) +} -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() +type ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput() ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigTargetRules) MwsNetworkConnectivityConfigEgressConfigTargetRules { +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAi21labsConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) ModelServingConfigServedEntityExternalModelAi21labsConfig { if v != nil { return *v } - var ret MwsNetworkConnectivityConfigEgressConfigTargetRules + var ret ModelServingConfigServedEntityExternalModelAi21labsConfig return ret - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) + }).(ModelServingConfigServedEntityExternalModelAi21labsConfigOutput) } -// (Azure only) - list containing information about configure Azure Private Endpoints. -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) AzurePrivateEndpointRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { - return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigTargetRules) []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { +// The Databricks secret key reference for an AI21Labs API key. +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Ai21labsApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { if v == nil { return nil } - return v.AzurePrivateEndpointRules - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) -} - -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule struct { - ConnectionState *string `pulumi:"connectionState"` - CreationTime *int `pulumi:"creationTime"` - Deactivated *bool `pulumi:"deactivated"` - DeactivatedAt *int `pulumi:"deactivatedAt"` - EndpointName *string `pulumi:"endpointName"` - GroupId *string `pulumi:"groupId"` - // Canonical unique identifier of Network Connectivity Config in Databricks Account - NetworkConnectivityConfigId *string `pulumi:"networkConnectivityConfigId"` - ResourceId *string `pulumi:"resourceId"` - RuleId *string `pulumi:"ruleId"` - UpdatedTime *int `pulumi:"updatedTime"` -} - -// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs and MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput` via: -// -// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{...} -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput interface { - pulumi.Input - - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput -} - -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs struct { - ConnectionState pulumi.StringPtrInput `pulumi:"connectionState"` - CreationTime pulumi.IntPtrInput `pulumi:"creationTime"` - Deactivated pulumi.BoolPtrInput `pulumi:"deactivated"` - DeactivatedAt pulumi.IntPtrInput `pulumi:"deactivatedAt"` - EndpointName pulumi.StringPtrInput `pulumi:"endpointName"` - GroupId pulumi.StringPtrInput `pulumi:"groupId"` - // Canonical unique identifier of Network Connectivity Config in Databricks Account - NetworkConnectivityConfigId pulumi.StringPtrInput `pulumi:"networkConnectivityConfigId"` - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - RuleId pulumi.StringPtrInput `pulumi:"ruleId"` - UpdatedTime pulumi.IntPtrInput `pulumi:"updatedTime"` -} - -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() + return v.Ai21labsApiKey + }).(pulumi.StringPtrOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(context.Background()) +// An AI21 Labs API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAi21labsConfigPtrOutput) Ai21labsApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAi21labsConfig) *string { + if v == nil { + return nil + } + return v.Ai21labsApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfig struct { + // The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` + // An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + AwsAccessKeyIdPlaintext *string `pulumi:"awsAccessKeyIdPlaintext"` + // The AWS region to use. Bedrock has to be enabled there. + AwsRegion string `pulumi:"awsRegion"` + // The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` + // An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. + AwsSecretAccessKeyPlaintext *string `pulumi:"awsSecretAccessKeyPlaintext"` + // The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + BedrockProvider string `pulumi:"bedrockProvider"` } -// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray and MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput values. -// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput` via: +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs and ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput` via: // -// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray{ MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{...} } -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput interface { +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigInput interface { pulumi.Input - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput - ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput -} - -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput - -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() -} - -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { - return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(context.Background()) -} - -func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput } -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput struct{ *pulumi.OutputState } - -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs struct { + // The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` + // An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + AwsAccessKeyIdPlaintext pulumi.StringPtrInput `pulumi:"awsAccessKeyIdPlaintext"` + // The AWS region to use. Bedrock has to be enabled there. + AwsRegion pulumi.StringInput `pulumi:"awsRegion"` + // The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` + // An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. + AwsSecretAccessKeyPlaintext pulumi.StringPtrInput `pulumi:"awsSecretAccessKeyPlaintext"` + // The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + BedrockProvider pulumi.StringInput `pulumi:"bedrockProvider"` } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { - return o +func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { - return o +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Background()) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ConnectionState() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { - return v.ConnectionState - }).(pulumi.StringPtrOutput) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) CreationTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { - return v.CreationTime - }).(pulumi.IntPtrOutput) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) Deactivated() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *bool { - return v.Deactivated - }).(pulumi.BoolPtrOutput) +func (i ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput).ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) DeactivatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { - return v.DeactivatedAt - }).(pulumi.IntPtrOutput) -} +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs, ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtr and ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput` via: +// +// ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} +// +// or: +// +// nil +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput interface { + pulumi.Input -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) EndpointName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { - return v.EndpointName - }).(pulumi.StringPtrOutput) + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput + ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) GroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { - return v.GroupId - }).(pulumi.StringPtrOutput) -} +type modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs -// Canonical unique identifier of Network Connectivity Config in Databricks Account -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) NetworkConnectivityConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { - return v.NetworkConnectivityConfigId - }).(pulumi.StringPtrOutput) +func ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtr(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType)(v) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { - return v.ResourceId - }).(pulumi.StringPtrOutput) +func (*modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) RuleId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { - return v.RuleId - }).(pulumi.StringPtrOutput) +func (i *modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) UpdatedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { - return v.UpdatedTime - }).(pulumi.IntPtrOutput) +func (i *modelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrType) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { return o } -func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) Index(i pulumi.IntInput) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { - return vs[0].([]MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)[vs[1].(int)] - }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) -} - -type MwsNetworksErrorMessage struct { - ErrorMessage *string `pulumi:"errorMessage"` - ErrorType *string `pulumi:"errorType"` +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(context.Background()) } -// MwsNetworksErrorMessageInput is an input type that accepts MwsNetworksErrorMessageArgs and MwsNetworksErrorMessageOutput values. -// You can construct a concrete instance of `MwsNetworksErrorMessageInput` via: -// -// MwsNetworksErrorMessageArgs{...} -type MwsNetworksErrorMessageInput interface { - pulumi.Input - - ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput - ToMwsNetworksErrorMessageOutputWithContext(context.Context) MwsNetworksErrorMessageOutput +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + return &v + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) } -type MwsNetworksErrorMessageArgs struct { - ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` - ErrorType pulumi.StringPtrInput `pulumi:"errorType"` +// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsAccessKeyId + }).(pulumi.StringPtrOutput) } -func (MwsNetworksErrorMessageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() +// An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyIdPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsAccessKeyIdPlaintext + }).(pulumi.StringPtrOutput) } -func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { - return i.ToMwsNetworksErrorMessageOutputWithContext(context.Background()) +// The AWS region to use. Bedrock has to be enabled there. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsRegion() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) string { return v.AwsRegion }).(pulumi.StringOutput) } -func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageOutput) +// The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) } -// MwsNetworksErrorMessageArrayInput is an input type that accepts MwsNetworksErrorMessageArray and MwsNetworksErrorMessageArrayOutput values. -// You can construct a concrete instance of `MwsNetworksErrorMessageArrayInput` via: -// -// MwsNetworksErrorMessageArray{ MwsNetworksErrorMessageArgs{...} } -type MwsNetworksErrorMessageArrayInput interface { - pulumi.Input - - ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput - ToMwsNetworksErrorMessageArrayOutputWithContext(context.Context) MwsNetworksErrorMessageArrayOutput +// An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsSecretAccessKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsSecretAccessKeyPlaintext + }).(pulumi.StringPtrOutput) } -type MwsNetworksErrorMessageArray []MwsNetworksErrorMessageInput - -func (MwsNetworksErrorMessageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() +// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) BedrockProvider() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) string { + return v.BedrockProvider + }).(pulumi.StringOutput) } -func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { - return i.ToMwsNetworksErrorMessageArrayOutputWithContext(context.Background()) -} +type ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput struct{ *pulumi.OutputState } -func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageArrayOutput) +func (ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -type MwsNetworksErrorMessageOutput struct{ *pulumi.OutputState } - -func (MwsNetworksErrorMessageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { + return o } -func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput { return o } -func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { - return o +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) ModelServingConfigServedEntityExternalModelAmazonBedrockConfig { + if v != nil { + return *v + } + var ret ModelServingConfigServedEntityExternalModelAmazonBedrockConfig + return ret + }).(ModelServingConfigServedEntityExternalModelAmazonBedrockConfigOutput) } -func (o MwsNetworksErrorMessageOutput) ErrorMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) +// The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + if v == nil { + return nil + } + return v.AwsAccessKeyId + }).(pulumi.StringPtrOutput) } -func (o MwsNetworksErrorMessageOutput) ErrorType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorType }).(pulumi.StringPtrOutput) +// An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsAccessKeyIdPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + if v == nil { + return nil + } + return v.AwsAccessKeyIdPlaintext + }).(pulumi.StringPtrOutput) } -type MwsNetworksErrorMessageArrayOutput struct{ *pulumi.OutputState } - -func (MwsNetworksErrorMessageArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() +// The AWS region to use. Bedrock has to be enabled there. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + if v == nil { + return nil + } + return &v.AwsRegion + }).(pulumi.StringPtrOutput) } -func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { - return o +// The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + if v == nil { + return nil + } + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) } -func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { - return o +// An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) AwsSecretAccessKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + if v == nil { + return nil + } + return v.AwsSecretAccessKeyPlaintext + }).(pulumi.StringPtrOutput) } -func (o MwsNetworksErrorMessageArrayOutput) Index(i pulumi.IntInput) MwsNetworksErrorMessageOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MwsNetworksErrorMessage { - return vs[0].([]MwsNetworksErrorMessage)[vs[1].(int)] - }).(MwsNetworksErrorMessageOutput) +// The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. +func (o ModelServingConfigServedEntityExternalModelAmazonBedrockConfigPtrOutput) BedrockProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAmazonBedrockConfig) *string { + if v == nil { + return nil + } + return &v.BedrockProvider + }).(pulumi.StringPtrOutput) } -type MwsNetworksGcpNetworkInfo struct { - // The Google Cloud project ID of the VPC network. - NetworkProjectId string `pulumi:"networkProjectId"` - // The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. - PodIpRangeName string `pulumi:"podIpRangeName"` - // The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. - ServiceIpRangeName string `pulumi:"serviceIpRangeName"` - // The ID of the subnet associated with this network. - SubnetId string `pulumi:"subnetId"` - // The Google Cloud region of the workspace data plane. For example, `us-east4`. - SubnetRegion string `pulumi:"subnetRegion"` - // The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. - VpcId string `pulumi:"vpcId"` +type ModelServingConfigServedEntityExternalModelAnthropicConfig struct { + // The Databricks secret key reference for an Anthropic API key. + AnthropicApiKey *string `pulumi:"anthropicApiKey"` + // The Anthropic API key provided as a plaintext string. + AnthropicApiKeyPlaintext *string `pulumi:"anthropicApiKeyPlaintext"` } -// MwsNetworksGcpNetworkInfoInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs and MwsNetworksGcpNetworkInfoOutput values. -// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoInput` via: +// ModelServingConfigServedEntityExternalModelAnthropicConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelAnthropicConfigArgs and ModelServingConfigServedEntityExternalModelAnthropicConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAnthropicConfigInput` via: // -// MwsNetworksGcpNetworkInfoArgs{...} -type MwsNetworksGcpNetworkInfoInput interface { +// ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{...} +type ModelServingConfigServedEntityExternalModelAnthropicConfigInput interface { pulumi.Input - ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput - ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput } -type MwsNetworksGcpNetworkInfoArgs struct { - // The Google Cloud project ID of the VPC network. - NetworkProjectId pulumi.StringInput `pulumi:"networkProjectId"` - // The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. - PodIpRangeName pulumi.StringInput `pulumi:"podIpRangeName"` - // The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. - ServiceIpRangeName pulumi.StringInput `pulumi:"serviceIpRangeName"` - // The ID of the subnet associated with this network. - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // The Google Cloud region of the workspace data plane. For example, `us-east4`. - SubnetRegion pulumi.StringInput `pulumi:"subnetRegion"` - // The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. - VpcId pulumi.StringInput `pulumi:"vpcId"` +type ModelServingConfigServedEntityExternalModelAnthropicConfigArgs struct { + // The Databricks secret key reference for an Anthropic API key. + AnthropicApiKey pulumi.StringPtrInput `pulumi:"anthropicApiKey"` + // The Anthropic API key provided as a plaintext string. + AnthropicApiKeyPlaintext pulumi.StringPtrInput `pulumi:"anthropicApiKeyPlaintext"` } -func (MwsNetworksGcpNetworkInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { - return i.ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Background()) } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { - return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) } -func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput).ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput).ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx) } -// MwsNetworksGcpNetworkInfoPtrInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs, MwsNetworksGcpNetworkInfoPtr and MwsNetworksGcpNetworkInfoPtrOutput values. -// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoPtrInput` via: +// ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelAnthropicConfigArgs, ModelServingConfigServedEntityExternalModelAnthropicConfigPtr and ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput` via: // -// MwsNetworksGcpNetworkInfoArgs{...} +// ModelServingConfigServedEntityExternalModelAnthropicConfigArgs{...} // // or: // // nil -type MwsNetworksGcpNetworkInfoPtrInput interface { +type ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput interface { pulumi.Input - ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput - ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoPtrOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput + ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput } -type mwsNetworksGcpNetworkInfoPtrType MwsNetworksGcpNetworkInfoArgs +type modelServingConfigServedEntityExternalModelAnthropicConfigPtrType ModelServingConfigServedEntityExternalModelAnthropicConfigArgs -func MwsNetworksGcpNetworkInfoPtr(v *MwsNetworksGcpNetworkInfoArgs) MwsNetworksGcpNetworkInfoPtrInput { - return (*mwsNetworksGcpNetworkInfoPtrType)(v) +func ModelServingConfigServedEntityExternalModelAnthropicConfigPtr(v *ModelServingConfigServedEntityExternalModelAnthropicConfigArgs) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelAnthropicConfigPtrType)(v) } -func (*mwsNetworksGcpNetworkInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { - return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) } -func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoPtrOutput) +func (i *modelServingConfigServedEntityExternalModelAnthropicConfigPtrType) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) } -type MwsNetworksGcpNetworkInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAnthropicConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworksGcpNetworkInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { return o } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { return o } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { - return o.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksGcpNetworkInfo) *MwsNetworksGcpNetworkInfo { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelAnthropicConfig) *ModelServingConfigServedEntityExternalModelAnthropicConfig { return &v - }).(MwsNetworksGcpNetworkInfoPtrOutput) -} - -// The Google Cloud project ID of the VPC network. -func (o MwsNetworksGcpNetworkInfoOutput) NetworkProjectId() pulumi.StringOutput { - return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.NetworkProjectId }).(pulumi.StringOutput) -} - -// The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. -func (o MwsNetworksGcpNetworkInfoOutput) PodIpRangeName() pulumi.StringOutput { - return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.PodIpRangeName }).(pulumi.StringOutput) -} - -// The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. -func (o MwsNetworksGcpNetworkInfoOutput) ServiceIpRangeName() pulumi.StringOutput { - return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.ServiceIpRangeName }).(pulumi.StringOutput) -} - -// The ID of the subnet associated with this network. -func (o MwsNetworksGcpNetworkInfoOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.SubnetId }).(pulumi.StringOutput) + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) } -// The Google Cloud region of the workspace data plane. For example, `us-east4`. -func (o MwsNetworksGcpNetworkInfoOutput) SubnetRegion() pulumi.StringOutput { - return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.SubnetRegion }).(pulumi.StringOutput) +// The Databricks secret key reference for an Anthropic API key. +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { return v.AnthropicApiKey }).(pulumi.StringPtrOutput) } -// The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. -func (o MwsNetworksGcpNetworkInfoOutput) VpcId() pulumi.StringOutput { - return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.VpcId }).(pulumi.StringOutput) +// The Anthropic API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { + return v.AnthropicApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -type MwsNetworksGcpNetworkInfoPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsNetworksGcpNetworkInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput() ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { return o } -func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) ToModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput { return o } -func (o MwsNetworksGcpNetworkInfoPtrOutput) Elem() MwsNetworksGcpNetworkInfoOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) MwsNetworksGcpNetworkInfo { +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelAnthropicConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) ModelServingConfigServedEntityExternalModelAnthropicConfig { if v != nil { return *v } - var ret MwsNetworksGcpNetworkInfo + var ret ModelServingConfigServedEntityExternalModelAnthropicConfig return ret - }).(MwsNetworksGcpNetworkInfoOutput) -} - -// The Google Cloud project ID of the VPC network. -func (o MwsNetworksGcpNetworkInfoPtrOutput) NetworkProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { - if v == nil { - return nil - } - return &v.NetworkProjectId - }).(pulumi.StringPtrOutput) -} - -// The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. -func (o MwsNetworksGcpNetworkInfoPtrOutput) PodIpRangeName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { - if v == nil { - return nil - } - return &v.PodIpRangeName - }).(pulumi.StringPtrOutput) -} - -// The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. -func (o MwsNetworksGcpNetworkInfoPtrOutput) ServiceIpRangeName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { - if v == nil { - return nil - } - return &v.ServiceIpRangeName - }).(pulumi.StringPtrOutput) -} - -// The ID of the subnet associated with this network. -func (o MwsNetworksGcpNetworkInfoPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { - if v == nil { - return nil - } - return &v.SubnetId - }).(pulumi.StringPtrOutput) + }).(ModelServingConfigServedEntityExternalModelAnthropicConfigOutput) } -// The Google Cloud region of the workspace data plane. For example, `us-east4`. -func (o MwsNetworksGcpNetworkInfoPtrOutput) SubnetRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { +// The Databricks secret key reference for an Anthropic API key. +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) AnthropicApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { if v == nil { return nil } - return &v.SubnetRegion + return v.AnthropicApiKey }).(pulumi.StringPtrOutput) } -// The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. -func (o MwsNetworksGcpNetworkInfoPtrOutput) VpcId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { +// The Anthropic API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelAnthropicConfigPtrOutput) AnthropicApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelAnthropicConfig) *string { if v == nil { return nil } - return &v.VpcId + return v.AnthropicApiKeyPlaintext }).(pulumi.StringPtrOutput) } -type MwsNetworksVpcEndpoints struct { - DataplaneRelays []string `pulumi:"dataplaneRelays"` - RestApis []string `pulumi:"restApis"` +type ModelServingConfigServedEntityExternalModelCohereConfig struct { + CohereApiBase *string `pulumi:"cohereApiBase"` + // The Databricks secret key reference for a Cohere API key. + CohereApiKey *string `pulumi:"cohereApiKey"` + // The Cohere API key provided as a plaintext string. + CohereApiKeyPlaintext *string `pulumi:"cohereApiKeyPlaintext"` } -// MwsNetworksVpcEndpointsInput is an input type that accepts MwsNetworksVpcEndpointsArgs and MwsNetworksVpcEndpointsOutput values. -// You can construct a concrete instance of `MwsNetworksVpcEndpointsInput` via: +// ModelServingConfigServedEntityExternalModelCohereConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelCohereConfigArgs and ModelServingConfigServedEntityExternalModelCohereConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelCohereConfigInput` via: // -// MwsNetworksVpcEndpointsArgs{...} -type MwsNetworksVpcEndpointsInput interface { +// ModelServingConfigServedEntityExternalModelCohereConfigArgs{...} +type ModelServingConfigServedEntityExternalModelCohereConfigInput interface { pulumi.Input - ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput - ToMwsNetworksVpcEndpointsOutputWithContext(context.Context) MwsNetworksVpcEndpointsOutput + ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput + ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput } -type MwsNetworksVpcEndpointsArgs struct { - DataplaneRelays pulumi.StringArrayInput `pulumi:"dataplaneRelays"` - RestApis pulumi.StringArrayInput `pulumi:"restApis"` +type ModelServingConfigServedEntityExternalModelCohereConfigArgs struct { + CohereApiBase pulumi.StringPtrInput `pulumi:"cohereApiBase"` + // The Databricks secret key reference for a Cohere API key. + CohereApiKey pulumi.StringPtrInput `pulumi:"cohereApiKey"` + // The Cohere API key provided as a plaintext string. + CohereApiKeyPlaintext pulumi.StringPtrInput `pulumi:"cohereApiKeyPlaintext"` } -func (MwsNetworksVpcEndpointsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelCohereConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { - return i.ToMwsNetworksVpcEndpointsOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Background()) } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigOutput) } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { - return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) } -func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput).ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelCohereConfigArgs) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigOutput).ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx) } -// MwsNetworksVpcEndpointsPtrInput is an input type that accepts MwsNetworksVpcEndpointsArgs, MwsNetworksVpcEndpointsPtr and MwsNetworksVpcEndpointsPtrOutput values. -// You can construct a concrete instance of `MwsNetworksVpcEndpointsPtrInput` via: +// ModelServingConfigServedEntityExternalModelCohereConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelCohereConfigArgs, ModelServingConfigServedEntityExternalModelCohereConfigPtr and ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelCohereConfigPtrInput` via: // -// MwsNetworksVpcEndpointsArgs{...} +// ModelServingConfigServedEntityExternalModelCohereConfigArgs{...} // // or: // // nil -type MwsNetworksVpcEndpointsPtrInput interface { +type ModelServingConfigServedEntityExternalModelCohereConfigPtrInput interface { pulumi.Input - ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput - ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Context) MwsNetworksVpcEndpointsPtrOutput + ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput + ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput } -type mwsNetworksVpcEndpointsPtrType MwsNetworksVpcEndpointsArgs +type modelServingConfigServedEntityExternalModelCohereConfigPtrType ModelServingConfigServedEntityExternalModelCohereConfigArgs -func MwsNetworksVpcEndpointsPtr(v *MwsNetworksVpcEndpointsArgs) MwsNetworksVpcEndpointsPtrInput { - return (*mwsNetworksVpcEndpointsPtrType)(v) +func ModelServingConfigServedEntityExternalModelCohereConfigPtr(v *ModelServingConfigServedEntityExternalModelCohereConfigArgs) ModelServingConfigServedEntityExternalModelCohereConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelCohereConfigPtrType)(v) } -func (*mwsNetworksVpcEndpointsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelCohereConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { - return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelCohereConfigPtrType) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) } -func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsPtrOutput) +func (i *modelServingConfigServedEntityExternalModelCohereConfigPtrType) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -type MwsNetworksVpcEndpointsOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelCohereConfigOutput struct{ *pulumi.OutputState } -func (MwsNetworksVpcEndpointsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelCohereConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigOutput() ModelServingConfigServedEntityExternalModelCohereConfigOutput { return o } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigOutput { return o } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { - return o.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(context.Background()) } -func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksVpcEndpoints) *MwsNetworksVpcEndpoints { +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelCohereConfig) *ModelServingConfigServedEntityExternalModelCohereConfig { return &v - }).(MwsNetworksVpcEndpointsPtrOutput) + }).(ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) } -func (o MwsNetworksVpcEndpointsOutput) DataplaneRelays() pulumi.StringArrayOutput { - return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.DataplaneRelays }).(pulumi.StringArrayOutput) +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiBase() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) *string { return v.CohereApiBase }).(pulumi.StringPtrOutput) } -func (o MwsNetworksVpcEndpointsOutput) RestApis() pulumi.StringArrayOutput { - return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.RestApis }).(pulumi.StringArrayOutput) +// The Databricks secret key reference for a Cohere API key. +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) *string { return v.CohereApiKey }).(pulumi.StringPtrOutput) } -type MwsNetworksVpcEndpointsPtrOutput struct{ *pulumi.OutputState } +// The Cohere API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelCohereConfigOutput) CohereApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelCohereConfig) *string { + return v.CohereApiKeyPlaintext + }).(pulumi.StringPtrOutput) +} -func (MwsNetworksVpcEndpointsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() +type ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutput() ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { return o } -func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) ToModelServingConfigServedEntityExternalModelCohereConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput { return o } -func (o MwsNetworksVpcEndpointsPtrOutput) Elem() MwsNetworksVpcEndpointsOutput { - return o.ApplyT(func(v *MwsNetworksVpcEndpoints) MwsNetworksVpcEndpoints { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelCohereConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) ModelServingConfigServedEntityExternalModelCohereConfig { if v != nil { return *v } - var ret MwsNetworksVpcEndpoints + var ret ModelServingConfigServedEntityExternalModelCohereConfig return ret - }).(MwsNetworksVpcEndpointsOutput) + }).(ModelServingConfigServedEntityExternalModelCohereConfigOutput) } -func (o MwsNetworksVpcEndpointsPtrOutput) DataplaneRelays() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) CohereApiBase() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) *string { if v == nil { return nil } - return v.DataplaneRelays - }).(pulumi.StringArrayOutput) + return v.CohereApiBase + }).(pulumi.StringPtrOutput) } -func (o MwsNetworksVpcEndpointsPtrOutput) RestApis() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { +// The Databricks secret key reference for a Cohere API key. +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) CohereApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) *string { if v == nil { return nil } - return v.RestApis - }).(pulumi.StringArrayOutput) + return v.CohereApiKey + }).(pulumi.StringPtrOutput) } -type MwsVpcEndpointGcpVpcEndpointInfo struct { - // Region of the PSC endpoint. - EndpointRegion string `pulumi:"endpointRegion"` - // The Google Cloud project ID of the VPC network where the PSC connection resides. - ProjectId string `pulumi:"projectId"` - // The unique ID of this PSC connection. - PscConnectionId *string `pulumi:"pscConnectionId"` - // The name of the PSC endpoint in the Google Cloud project. - PscEndpointName string `pulumi:"pscEndpointName"` - // The service attachment this PSC connection connects to. - ServiceAttachmentId *string `pulumi:"serviceAttachmentId"` +// The Cohere API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelCohereConfigPtrOutput) CohereApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelCohereConfig) *string { + if v == nil { + return nil + } + return v.CohereApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -// MwsVpcEndpointGcpVpcEndpointInfoInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs and MwsVpcEndpointGcpVpcEndpointInfoOutput values. -// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoInput` via: +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig struct { + // The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. + DatabricksApiToken *string `pulumi:"databricksApiToken"` + // The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. + DatabricksApiTokenPlaintext *string `pulumi:"databricksApiTokenPlaintext"` + // The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + DatabricksWorkspaceUrl string `pulumi:"databricksWorkspaceUrl"` +} + +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs and ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput` via: // -// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} -type MwsVpcEndpointGcpVpcEndpointInfoInput interface { +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigInput interface { pulumi.Input - ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput - ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput } -type MwsVpcEndpointGcpVpcEndpointInfoArgs struct { - // Region of the PSC endpoint. - EndpointRegion pulumi.StringInput `pulumi:"endpointRegion"` - // The Google Cloud project ID of the VPC network where the PSC connection resides. - ProjectId pulumi.StringInput `pulumi:"projectId"` - // The unique ID of this PSC connection. - PscConnectionId pulumi.StringPtrInput `pulumi:"pscConnectionId"` - // The name of the PSC endpoint in the Google Cloud project. - PscEndpointName pulumi.StringInput `pulumi:"pscEndpointName"` - // The service attachment this PSC connection connects to. - ServiceAttachmentId pulumi.StringPtrInput `pulumi:"serviceAttachmentId"` +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs struct { + // The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. + DatabricksApiToken pulumi.StringPtrInput `pulumi:"databricksApiToken"` + // The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. + DatabricksApiTokenPlaintext pulumi.StringPtrInput `pulumi:"databricksApiTokenPlaintext"` + // The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + DatabricksWorkspaceUrl pulumi.StringInput `pulumi:"databricksWorkspaceUrl"` } -func (MwsVpcEndpointGcpVpcEndpointInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { - return i.ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Background()) } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput) +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) } -func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput).ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput).ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx) } -// MwsVpcEndpointGcpVpcEndpointInfoPtrInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs, MwsVpcEndpointGcpVpcEndpointInfoPtr and MwsVpcEndpointGcpVpcEndpointInfoPtrOutput values. -// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoPtrInput` via: +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs, ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtr and ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput` via: // -// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} +// ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} // // or: // // nil -type MwsVpcEndpointGcpVpcEndpointInfoPtrInput interface { +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput interface { pulumi.Input - ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput - ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput + ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput } -type mwsVpcEndpointGcpVpcEndpointInfoPtrType MwsVpcEndpointGcpVpcEndpointInfoArgs +type modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs -func MwsVpcEndpointGcpVpcEndpointInfoPtr(v *MwsVpcEndpointGcpVpcEndpointInfoArgs) MwsVpcEndpointGcpVpcEndpointInfoPtrInput { - return (*mwsVpcEndpointGcpVpcEndpointInfoPtrType)(v) +func ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtr(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType)(v) } -func (*mwsVpcEndpointGcpVpcEndpointInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) } -func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) +func (i *modelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrType) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) } -type MwsVpcEndpointGcpVpcEndpointInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput struct{ *pulumi.OutputState } -func (MwsVpcEndpointGcpVpcEndpointInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return o.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(context.Background()) } -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsVpcEndpointGcpVpcEndpointInfo) *MwsVpcEndpointGcpVpcEndpointInfo { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { return &v - }).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) -} - -// Region of the PSC endpoint. -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) EndpointRegion() pulumi.StringOutput { - return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.EndpointRegion }).(pulumi.StringOutput) -} - -// The Google Cloud project ID of the VPC network where the PSC connection resides. -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.ProjectId }).(pulumi.StringOutput) + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) } -// The unique ID of this PSC connection. -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) PscConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) *string { return v.PscConnectionId }).(pulumi.StringPtrOutput) +// The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksApiToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { + return v.DatabricksApiToken + }).(pulumi.StringPtrOutput) } -// The name of the PSC endpoint in the Google Cloud project. -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) PscEndpointName() pulumi.StringOutput { - return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.PscEndpointName }).(pulumi.StringOutput) +// The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksApiTokenPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { + return v.DatabricksApiTokenPlaintext + }).(pulumi.StringPtrOutput) } -// The service attachment this PSC connection connects to. -func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ServiceAttachmentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) *string { return v.ServiceAttachmentId }).(pulumi.StringPtrOutput) +// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksWorkspaceUrl() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) string { + return v.DatabricksWorkspaceUrl + }).(pulumi.StringOutput) } -type MwsVpcEndpointGcpVpcEndpointInfoPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) ToModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput { return o } -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) Elem() MwsVpcEndpointGcpVpcEndpointInfoOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) MwsVpcEndpointGcpVpcEndpointInfo { +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig { if v != nil { return *v } - var ret MwsVpcEndpointGcpVpcEndpointInfo + var ret ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig return ret - }).(MwsVpcEndpointGcpVpcEndpointInfoOutput) -} - -// Region of the PSC endpoint. -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) EndpointRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { - if v == nil { - return nil - } - return &v.EndpointRegion - }).(pulumi.StringPtrOutput) -} - -// The Google Cloud project ID of the VPC network where the PSC connection resides. -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { - if v == nil { - return nil - } - return &v.ProjectId - }).(pulumi.StringPtrOutput) + }).(ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigOutput) } -// The unique ID of this PSC connection. -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) PscConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { +// The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) DatabricksApiToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { if v == nil { return nil } - return v.PscConnectionId + return v.DatabricksApiToken }).(pulumi.StringPtrOutput) } -// The name of the PSC endpoint in the Google Cloud project. -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) PscEndpointName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { +// The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) DatabricksApiTokenPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { if v == nil { return nil } - return &v.PscEndpointName + return v.DatabricksApiTokenPlaintext }).(pulumi.StringPtrOutput) } -// The service attachment this PSC connection connects to. -func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ServiceAttachmentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { +// The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. +func (o ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigPtrOutput) DatabricksWorkspaceUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig) *string { if v == nil { return nil } - return v.ServiceAttachmentId + return &v.DatabricksWorkspaceUrl }).(pulumi.StringPtrOutput) } -type MwsWorkspacesCloudResourceContainer struct { - // A block that consists of the following field: - Gcp MwsWorkspacesCloudResourceContainerGcp `pulumi:"gcp"` +type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig struct { + // The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. + PrivateKey *string `pulumi:"privateKey"` + // The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. + PrivateKeyPlaintext *string `pulumi:"privateKeyPlaintext"` + // This is the Google Cloud project id that the service account is associated with. + ProjectId *string `pulumi:"projectId"` + // This is the region for the Google Cloud Vertex AI Service. + Region *string `pulumi:"region"` } -// MwsWorkspacesCloudResourceContainerInput is an input type that accepts MwsWorkspacesCloudResourceContainerArgs and MwsWorkspacesCloudResourceContainerOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerInput` via: +// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs and ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput` via: // -// MwsWorkspacesCloudResourceContainerArgs{...} -type MwsWorkspacesCloudResourceContainerInput interface { +// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{...} +type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput interface { pulumi.Input - ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput - ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerOutput + ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput + ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput } -type MwsWorkspacesCloudResourceContainerArgs struct { - // A block that consists of the following field: - Gcp MwsWorkspacesCloudResourceContainerGcpInput `pulumi:"gcp"` +type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs struct { + // The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + // The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. + PrivateKeyPlaintext pulumi.StringPtrInput `pulumi:"privateKeyPlaintext"` + // This is the Google Cloud project id that the service account is associated with. + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + // This is the region for the Google Cloud Vertex AI Service. + Region pulumi.StringPtrInput `pulumi:"region"` } -func (MwsWorkspacesCloudResourceContainerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { - return i.ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(context.Background()) } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput) +func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Background()) } -func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput).ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput).ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx) } -// MwsWorkspacesCloudResourceContainerPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerArgs, MwsWorkspacesCloudResourceContainerPtr and MwsWorkspacesCloudResourceContainerPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerPtrInput` via: +// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs, ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtr and ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput` via: // -// MwsWorkspacesCloudResourceContainerArgs{...} +// ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{...} // // or: // // nil -type MwsWorkspacesCloudResourceContainerPtrInput interface { +type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput interface { pulumi.Input - ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput - ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerPtrOutput + ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput + ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput } -type mwsWorkspacesCloudResourceContainerPtrType MwsWorkspacesCloudResourceContainerArgs +type modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs -func MwsWorkspacesCloudResourceContainerPtr(v *MwsWorkspacesCloudResourceContainerArgs) MwsWorkspacesCloudResourceContainerPtrInput { - return (*mwsWorkspacesCloudResourceContainerPtrType)(v) +func ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtr(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType)(v) } -func (*mwsWorkspacesCloudResourceContainerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Background()) } -func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerPtrOutput) +func (i *modelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrType) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) } -type MwsWorkspacesCloudResourceContainerOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesCloudResourceContainerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { return o } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { return o } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { - return o.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainer { +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { return &v - }).(MwsWorkspacesCloudResourceContainerPtrOutput) + }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) } -// A block that consists of the following field: -func (o MwsWorkspacesCloudResourceContainerOutput) Gcp() MwsWorkspacesCloudResourceContainerGcpOutput { - return o.ApplyT(func(v MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainerGcp { return v.Gcp }).(MwsWorkspacesCloudResourceContainerGcpOutput) +// The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -type MwsWorkspacesCloudResourceContainerPtrOutput struct{ *pulumi.OutputState } +// The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) PrivateKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.PrivateKeyPlaintext + }).(pulumi.StringPtrOutput) +} -func (MwsWorkspacesCloudResourceContainerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() +// This is the Google Cloud project id that the service account is associated with. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.ProjectId + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { +// This is the region for the Google Cloud Vertex AI Service. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput struct{ *pulumi.OutputState } + +func (ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() +} + +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { return o } -func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput { return o } -func (o MwsWorkspacesCloudResourceContainerPtrOutput) Elem() MwsWorkspacesCloudResourceContainerOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainer { +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig { if v != nil { return *v } - var ret MwsWorkspacesCloudResourceContainer + var ret ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig return ret - }).(MwsWorkspacesCloudResourceContainerOutput) + }).(ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) } -// A block that consists of the following field: -func (o MwsWorkspacesCloudResourceContainerPtrOutput) Gcp() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainerGcp { +// The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { if v == nil { return nil } - return &v.Gcp - }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) -} - -type MwsWorkspacesCloudResourceContainerGcp struct { - // The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. - ProjectId string `pulumi:"projectId"` -} - -// MwsWorkspacesCloudResourceContainerGcpInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs and MwsWorkspacesCloudResourceContainerGcpOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpInput` via: -// -// MwsWorkspacesCloudResourceContainerGcpArgs{...} -type MwsWorkspacesCloudResourceContainerGcpInput interface { - pulumi.Input - - ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput - ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpOutput -} - -type MwsWorkspacesCloudResourceContainerGcpArgs struct { - // The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. - ProjectId pulumi.StringInput `pulumi:"projectId"` -} - -func (MwsWorkspacesCloudResourceContainerGcpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { - return i.ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Background()) +// The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) PrivateKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + if v == nil { + return nil + } + return v.PrivateKeyPlaintext + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput) +// This is the Google Cloud project id that the service account is associated with. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + if v == nil { + return nil + } + return v.ProjectId + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) +// This is the region for the Google Cloud Vertex AI Service. +func (o ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput).ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx) +type ModelServingConfigServedEntityExternalModelOpenaiConfig struct { + // This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. + MicrosoftEntraClientId *string `pulumi:"microsoftEntraClientId"` + // The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. + MicrosoftEntraClientSecret *string `pulumi:"microsoftEntraClientSecret"` + // The client secret used for Microsoft Entra ID authentication provided as a plaintext string. + MicrosoftEntraClientSecretPlaintext *string `pulumi:"microsoftEntraClientSecretPlaintext"` + // This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. + MicrosoftEntraTenantId *string `pulumi:"microsoftEntraTenantId"` + // This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. + OpenaiApiBase *string `pulumi:"openaiApiBase"` + // The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + OpenaiApiKey *string `pulumi:"openaiApiKey"` + // The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. + OpenaiApiKeyPlaintext *string `pulumi:"openaiApiKeyPlaintext"` + // This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. + OpenaiApiType *string `pulumi:"openaiApiType"` + // This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. + OpenaiApiVersion *string `pulumi:"openaiApiVersion"` + // This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + OpenaiDeploymentName *string `pulumi:"openaiDeploymentName"` + // This is an optional field to specify the organization in OpenAI or Azure OpenAI. + OpenaiOrganization *string `pulumi:"openaiOrganization"` } -// MwsWorkspacesCloudResourceContainerGcpPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs, MwsWorkspacesCloudResourceContainerGcpPtr and MwsWorkspacesCloudResourceContainerGcpPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpPtrInput` via: -// -// MwsWorkspacesCloudResourceContainerGcpArgs{...} -// -// or: +// ModelServingConfigServedEntityExternalModelOpenaiConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs and ModelServingConfigServedEntityExternalModelOpenaiConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelOpenaiConfigInput` via: // -// nil -type MwsWorkspacesCloudResourceContainerGcpPtrInput interface { +// ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{...} +type ModelServingConfigServedEntityExternalModelOpenaiConfigInput interface { pulumi.Input - ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput - ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput -} - -type mwsWorkspacesCloudResourceContainerGcpPtrType MwsWorkspacesCloudResourceContainerGcpArgs - -func MwsWorkspacesCloudResourceContainerGcpPtr(v *MwsWorkspacesCloudResourceContainerGcpArgs) MwsWorkspacesCloudResourceContainerGcpPtrInput { - return (*mwsWorkspacesCloudResourceContainerGcpPtrType)(v) -} - -func (*mwsWorkspacesCloudResourceContainerGcpPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() + ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput + ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput } -func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) +type ModelServingConfigServedEntityExternalModelOpenaiConfigArgs struct { + // This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. + MicrosoftEntraClientId pulumi.StringPtrInput `pulumi:"microsoftEntraClientId"` + // The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. + MicrosoftEntraClientSecret pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecret"` + // The client secret used for Microsoft Entra ID authentication provided as a plaintext string. + MicrosoftEntraClientSecretPlaintext pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecretPlaintext"` + // This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. + MicrosoftEntraTenantId pulumi.StringPtrInput `pulumi:"microsoftEntraTenantId"` + // This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. + OpenaiApiBase pulumi.StringPtrInput `pulumi:"openaiApiBase"` + // The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + OpenaiApiKey pulumi.StringPtrInput `pulumi:"openaiApiKey"` + // The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. + OpenaiApiKeyPlaintext pulumi.StringPtrInput `pulumi:"openaiApiKeyPlaintext"` + // This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. + OpenaiApiType pulumi.StringPtrInput `pulumi:"openaiApiType"` + // This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. + OpenaiApiVersion pulumi.StringPtrInput `pulumi:"openaiApiVersion"` + // This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + OpenaiDeploymentName pulumi.StringPtrInput `pulumi:"openaiDeploymentName"` + // This is an optional field to specify the organization in OpenAI or Azure OpenAI. + OpenaiOrganization pulumi.StringPtrInput `pulumi:"openaiOrganization"` } -func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) +func (ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -type MwsWorkspacesCloudResourceContainerGcpOutput struct{ *pulumi.OutputState } - -func (MwsWorkspacesCloudResourceContainerGcpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Background()) } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { - return o +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { - return o +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput).ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx) } -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainerGcp) *MwsWorkspacesCloudResourceContainerGcp { - return &v - }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) -} +// ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelOpenaiConfigArgs, ModelServingConfigServedEntityExternalModelOpenaiConfigPtr and ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput` via: +// +// ModelServingConfigServedEntityExternalModelOpenaiConfigArgs{...} +// +// or: +// +// nil +type ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput interface { + pulumi.Input -// The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. -func (o MwsWorkspacesCloudResourceContainerGcpOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesCloudResourceContainerGcp) string { return v.ProjectId }).(pulumi.StringOutput) + ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput + ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput } -type MwsWorkspacesCloudResourceContainerGcpPtrOutput struct{ *pulumi.OutputState } +type modelServingConfigServedEntityExternalModelOpenaiConfigPtrType ModelServingConfigServedEntityExternalModelOpenaiConfigArgs -func (MwsWorkspacesCloudResourceContainerGcpPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() +func ModelServingConfigServedEntityExternalModelOpenaiConfigPtr(v *ModelServingConfigServedEntityExternalModelOpenaiConfigArgs) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelOpenaiConfigPtrType)(v) } -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o +func (*modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { - return o +func (i *modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) Elem() MwsWorkspacesCloudResourceContainerGcpOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainerGcp) MwsWorkspacesCloudResourceContainerGcp { - if v != nil { - return *v - } - var ret MwsWorkspacesCloudResourceContainerGcp - return ret - }).(MwsWorkspacesCloudResourceContainerGcpOutput) +func (i *modelServingConfigServedEntityExternalModelOpenaiConfigPtrType) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } -// The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. -func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainerGcp) *string { - if v == nil { - return nil - } - return &v.ProjectId - }).(pulumi.StringPtrOutput) -} +type ModelServingConfigServedEntityExternalModelOpenaiConfigOutput struct{ *pulumi.OutputState } -type MwsWorkspacesExternalCustomerInfo struct { - AuthoritativeUserEmail string `pulumi:"authoritativeUserEmail"` - AuthoritativeUserFullName string `pulumi:"authoritativeUserFullName"` - CustomerName string `pulumi:"customerName"` +func (ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -// MwsWorkspacesExternalCustomerInfoInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs and MwsWorkspacesExternalCustomerInfoOutput values. -// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoInput` via: -// -// MwsWorkspacesExternalCustomerInfoArgs{...} -type MwsWorkspacesExternalCustomerInfoInput interface { - pulumi.Input +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return o +} - ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput - ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoOutput +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return o } -type MwsWorkspacesExternalCustomerInfoArgs struct { - AuthoritativeUserEmail pulumi.StringInput `pulumi:"authoritativeUserEmail"` - AuthoritativeUserFullName pulumi.StringInput `pulumi:"authoritativeUserFullName"` - CustomerName pulumi.StringInput `pulumi:"customerName"` +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(context.Background()) } -func (MwsWorkspacesExternalCustomerInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelOpenaiConfig) *ModelServingConfigServedEntityExternalModelOpenaiConfig { + return &v + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { - return i.ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Background()) +// This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientId + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput) +// The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientSecret + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) +// The client secret used for Microsoft Entra ID authentication provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecretPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientSecretPlaintext + }).(pulumi.StringPtrOutput) } -func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput).ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx) +// This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraTenantId + }).(pulumi.StringPtrOutput) } -// MwsWorkspacesExternalCustomerInfoPtrInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs, MwsWorkspacesExternalCustomerInfoPtr and MwsWorkspacesExternalCustomerInfoPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoPtrInput` via: -// -// MwsWorkspacesExternalCustomerInfoArgs{...} -// -// or: -// -// nil -type MwsWorkspacesExternalCustomerInfoPtrInput interface { - pulumi.Input +// This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiBase() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiBase }).(pulumi.StringPtrOutput) +} - ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput - ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput +// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiKey }).(pulumi.StringPtrOutput) } -type mwsWorkspacesExternalCustomerInfoPtrType MwsWorkspacesExternalCustomerInfoArgs +// The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiApiKeyPlaintext + }).(pulumi.StringPtrOutput) +} -func MwsWorkspacesExternalCustomerInfoPtr(v *MwsWorkspacesExternalCustomerInfoArgs) MwsWorkspacesExternalCustomerInfoPtrInput { - return (*mwsWorkspacesExternalCustomerInfoPtrType)(v) +// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiType }).(pulumi.StringPtrOutput) } -func (*mwsWorkspacesExternalCustomerInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +// This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiApiVersion }).(pulumi.StringPtrOutput) } -func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) +// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiDeploymentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiDeploymentName }).(pulumi.StringPtrOutput) } -func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoPtrOutput) +// This is an optional field to specify the organization in OpenAI or Azure OpenAI. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiOrganization() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { return v.OpenaiOrganization }).(pulumi.StringPtrOutput) } -type MwsWorkspacesExternalCustomerInfoOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesExternalCustomerInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput() ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { return o } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) ToModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput { return o } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return o.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelOpenaiConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) ModelServingConfigServedEntityExternalModelOpenaiConfig { + if v != nil { + return *v + } + var ret ModelServingConfigServedEntityExternalModelOpenaiConfig + return ret + }).(ModelServingConfigServedEntityExternalModelOpenaiConfigOutput) } -func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesExternalCustomerInfo) *MwsWorkspacesExternalCustomerInfo { - return &v - }).(MwsWorkspacesExternalCustomerInfoPtrOutput) +// This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraClientId + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserEmail() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserEmail }).(pulumi.StringOutput) +// The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraClientSecret + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserFullName() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserFullName }).(pulumi.StringOutput) +// The client secret used for Microsoft Entra ID authentication provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraClientSecretPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraClientSecretPlaintext + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoOutput) CustomerName() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.CustomerName }).(pulumi.StringOutput) +// This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.MicrosoftEntraTenantId + }).(pulumi.StringPtrOutput) } -type MwsWorkspacesExternalCustomerInfoPtrOutput struct{ *pulumi.OutputState } - -func (MwsWorkspacesExternalCustomerInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() +// This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiBase() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.OpenaiApiBase + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { - return o +// The Databricks secret key reference for an OpenAI or Azure OpenAI API key. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.OpenaiApiKey + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { - return o +// The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil + } + return v.OpenaiApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) Elem() MwsWorkspacesExternalCustomerInfoOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) MwsWorkspacesExternalCustomerInfo { - if v != nil { - return *v +// This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { + if v == nil { + return nil } - var ret MwsWorkspacesExternalCustomerInfo - return ret - }).(MwsWorkspacesExternalCustomerInfoOutput) + return v.OpenaiApiType + }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { +// This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiApiVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { if v == nil { return nil } - return &v.AuthoritativeUserEmail + return v.OpenaiApiVersion }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { +// This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiDeploymentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { if v == nil { return nil } - return &v.AuthoritativeUserFullName + return v.OpenaiDeploymentName }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesExternalCustomerInfoPtrOutput) CustomerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { +// This is an optional field to specify the organization in OpenAI or Azure OpenAI. +func (o ModelServingConfigServedEntityExternalModelOpenaiConfigPtrOutput) OpenaiOrganization() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelOpenaiConfig) *string { if v == nil { return nil } - return &v.CustomerName + return v.OpenaiOrganization }).(pulumi.StringPtrOutput) } -type MwsWorkspacesGcpManagedNetworkConfig struct { - GkeClusterPodIpRange string `pulumi:"gkeClusterPodIpRange"` - GkeClusterServiceIpRange string `pulumi:"gkeClusterServiceIpRange"` - SubnetCidr string `pulumi:"subnetCidr"` +type ModelServingConfigServedEntityExternalModelPalmConfig struct { + // The Databricks secret key reference for a PaLM API key. + PalmApiKey *string `pulumi:"palmApiKey"` + // The PaLM API key provided as a plaintext string. + PalmApiKeyPlaintext *string `pulumi:"palmApiKeyPlaintext"` } -// MwsWorkspacesGcpManagedNetworkConfigInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs and MwsWorkspacesGcpManagedNetworkConfigOutput values. -// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigInput` via: +// ModelServingConfigServedEntityExternalModelPalmConfigInput is an input type that accepts ModelServingConfigServedEntityExternalModelPalmConfigArgs and ModelServingConfigServedEntityExternalModelPalmConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPalmConfigInput` via: // -// MwsWorkspacesGcpManagedNetworkConfigArgs{...} -type MwsWorkspacesGcpManagedNetworkConfigInput interface { +// ModelServingConfigServedEntityExternalModelPalmConfigArgs{...} +type ModelServingConfigServedEntityExternalModelPalmConfigInput interface { pulumi.Input - ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput - ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput + ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput + ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput } -type MwsWorkspacesGcpManagedNetworkConfigArgs struct { - GkeClusterPodIpRange pulumi.StringInput `pulumi:"gkeClusterPodIpRange"` - GkeClusterServiceIpRange pulumi.StringInput `pulumi:"gkeClusterServiceIpRange"` - SubnetCidr pulumi.StringInput `pulumi:"subnetCidr"` +type ModelServingConfigServedEntityExternalModelPalmConfigArgs struct { + // The Databricks secret key reference for a PaLM API key. + PalmApiKey pulumi.StringPtrInput `pulumi:"palmApiKey"` + // The PaLM API key provided as a plaintext string. + PalmApiKeyPlaintext pulumi.StringPtrInput `pulumi:"palmApiKeyPlaintext"` } -func (MwsWorkspacesGcpManagedNetworkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPalmConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { - return i.ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput { + return i.ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Background()) } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigOutput) } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) } -func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput).ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx) +func (i ModelServingConfigServedEntityExternalModelPalmConfigArgs) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigOutput).ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx) } -// MwsWorkspacesGcpManagedNetworkConfigPtrInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs, MwsWorkspacesGcpManagedNetworkConfigPtr and MwsWorkspacesGcpManagedNetworkConfigPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigPtrInput` via: +// ModelServingConfigServedEntityExternalModelPalmConfigPtrInput is an input type that accepts ModelServingConfigServedEntityExternalModelPalmConfigArgs, ModelServingConfigServedEntityExternalModelPalmConfigPtr and ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigServedEntityExternalModelPalmConfigPtrInput` via: // -// MwsWorkspacesGcpManagedNetworkConfigArgs{...} +// ModelServingConfigServedEntityExternalModelPalmConfigArgs{...} // // or: // // nil -type MwsWorkspacesGcpManagedNetworkConfigPtrInput interface { +type ModelServingConfigServedEntityExternalModelPalmConfigPtrInput interface { pulumi.Input - ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput - ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput + ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput + ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput } -type mwsWorkspacesGcpManagedNetworkConfigPtrType MwsWorkspacesGcpManagedNetworkConfigArgs +type modelServingConfigServedEntityExternalModelPalmConfigPtrType ModelServingConfigServedEntityExternalModelPalmConfigArgs -func MwsWorkspacesGcpManagedNetworkConfigPtr(v *MwsWorkspacesGcpManagedNetworkConfigArgs) MwsWorkspacesGcpManagedNetworkConfigPtrInput { - return (*mwsWorkspacesGcpManagedNetworkConfigPtrType)(v) +func ModelServingConfigServedEntityExternalModelPalmConfigPtr(v *ModelServingConfigServedEntityExternalModelPalmConfigArgs) ModelServingConfigServedEntityExternalModelPalmConfigPtrInput { + return (*modelServingConfigServedEntityExternalModelPalmConfigPtrType)(v) } -func (*mwsWorkspacesGcpManagedNetworkConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (*modelServingConfigServedEntityExternalModelPalmConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) +func (i *modelServingConfigServedEntityExternalModelPalmConfigPtrType) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return i.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) } -func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) +func (i *modelServingConfigServedEntityExternalModelPalmConfigPtrType) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) } -type MwsWorkspacesGcpManagedNetworkConfigOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelPalmConfigOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesGcpManagedNetworkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPalmConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigOutput() ModelServingConfigServedEntityExternalModelPalmConfigOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return o.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGcpManagedNetworkConfig) *MwsWorkspacesGcpManagedNetworkConfig { +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigServedEntityExternalModelPalmConfig) *ModelServingConfigServedEntityExternalModelPalmConfig { return &v - }).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterPodIpRange() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterPodIpRange }).(pulumi.StringOutput) + }).(ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterServiceIpRange() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterServiceIpRange }).(pulumi.StringOutput) +// The Databricks secret key reference for a PaLM API key. +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) PalmApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelPalmConfig) *string { return v.PalmApiKey }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesGcpManagedNetworkConfigOutput) SubnetCidr() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.SubnetCidr }).(pulumi.StringOutput) +// The PaLM API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelPalmConfigOutput) PalmApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedEntityExternalModelPalmConfig) *string { return v.PalmApiKeyPlaintext }).(pulumi.StringPtrOutput) } -type MwsWorkspacesGcpManagedNetworkConfigPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() +func (ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutput() ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) ToModelServingConfigServedEntityExternalModelPalmConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput { return o } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) Elem() MwsWorkspacesGcpManagedNetworkConfigOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) MwsWorkspacesGcpManagedNetworkConfig { +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) Elem() ModelServingConfigServedEntityExternalModelPalmConfigOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) ModelServingConfigServedEntityExternalModelPalmConfig { if v != nil { return *v } - var ret MwsWorkspacesGcpManagedNetworkConfig + var ret ModelServingConfigServedEntityExternalModelPalmConfig return ret - }).(MwsWorkspacesGcpManagedNetworkConfigOutput) -} - -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterPodIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { - if v == nil { - return nil - } - return &v.GkeClusterPodIpRange - }).(pulumi.StringPtrOutput) + }).(ModelServingConfigServedEntityExternalModelPalmConfigOutput) } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterServiceIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { +// The Databricks secret key reference for a PaLM API key. +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) PalmApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) *string { if v == nil { return nil } - return &v.GkeClusterServiceIpRange + return v.PalmApiKey }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) SubnetCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { +// The PaLM API key provided as a plaintext string. +func (o ModelServingConfigServedEntityExternalModelPalmConfigPtrOutput) PalmApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ModelServingConfigServedEntityExternalModelPalmConfig) *string { if v == nil { return nil } - return &v.SubnetCidr + return v.PalmApiKeyPlaintext }).(pulumi.StringPtrOutput) } -type MwsWorkspacesGkeConfig struct { - // Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. - ConnectivityType string `pulumi:"connectivityType"` - // The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. - MasterIpRange string `pulumi:"masterIpRange"` +type ModelServingConfigServedModel struct { + // a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. + EnvironmentVars map[string]string `pulumi:"environmentVars"` + // ARN of the instance profile that the served model will use to access AWS resources. + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + // The maximum tokens per second that the endpoint can scale up to. + MaxProvisionedThroughput *int `pulumi:"maxProvisionedThroughput"` + // The minimum tokens per second that the endpoint can scale down to. + MinProvisionedThroughput *int `pulumi:"minProvisionedThroughput"` + // The name of the model in Databricks Model Registry to be served. + ModelName string `pulumi:"modelName"` + // The version of the model in Databricks Model Registry to be served. + ModelVersion string `pulumi:"modelVersion"` + // The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. + Name *string `pulumi:"name"` + // Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + ScaleToZeroEnabled *bool `pulumi:"scaleToZeroEnabled"` + // The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). + WorkloadSize *string `pulumi:"workloadSize"` + // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. + WorkloadType *string `pulumi:"workloadType"` } -// MwsWorkspacesGkeConfigInput is an input type that accepts MwsWorkspacesGkeConfigArgs and MwsWorkspacesGkeConfigOutput values. -// You can construct a concrete instance of `MwsWorkspacesGkeConfigInput` via: +// ModelServingConfigServedModelInput is an input type that accepts ModelServingConfigServedModelArgs and ModelServingConfigServedModelOutput values. +// You can construct a concrete instance of `ModelServingConfigServedModelInput` via: // -// MwsWorkspacesGkeConfigArgs{...} -type MwsWorkspacesGkeConfigInput interface { +// ModelServingConfigServedModelArgs{...} +type ModelServingConfigServedModelInput interface { pulumi.Input - ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput - ToMwsWorkspacesGkeConfigOutputWithContext(context.Context) MwsWorkspacesGkeConfigOutput + ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput + ToModelServingConfigServedModelOutputWithContext(context.Context) ModelServingConfigServedModelOutput } -type MwsWorkspacesGkeConfigArgs struct { - // Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. - ConnectivityType pulumi.StringInput `pulumi:"connectivityType"` - // The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. - MasterIpRange pulumi.StringInput `pulumi:"masterIpRange"` +type ModelServingConfigServedModelArgs struct { + // a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. + EnvironmentVars pulumi.StringMapInput `pulumi:"environmentVars"` + // ARN of the instance profile that the served model will use to access AWS resources. + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + // The maximum tokens per second that the endpoint can scale up to. + MaxProvisionedThroughput pulumi.IntPtrInput `pulumi:"maxProvisionedThroughput"` + // The minimum tokens per second that the endpoint can scale down to. + MinProvisionedThroughput pulumi.IntPtrInput `pulumi:"minProvisionedThroughput"` + // The name of the model in Databricks Model Registry to be served. + ModelName pulumi.StringInput `pulumi:"modelName"` + // The version of the model in Databricks Model Registry to be served. + ModelVersion pulumi.StringInput `pulumi:"modelVersion"` + // The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. + Name pulumi.StringPtrInput `pulumi:"name"` + // Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + ScaleToZeroEnabled pulumi.BoolPtrInput `pulumi:"scaleToZeroEnabled"` + // The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). + WorkloadSize pulumi.StringPtrInput `pulumi:"workloadSize"` + // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. + WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` } -func (MwsWorkspacesGkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() +func (ModelServingConfigServedModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { - return i.ToMwsWorkspacesGkeConfigOutputWithContext(context.Background()) +func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { + return i.ToModelServingConfigServedModelOutputWithContext(context.Background()) } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput) +func (i ModelServingConfigServedModelArgs) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelOutput) } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { - return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) +// ModelServingConfigServedModelArrayInput is an input type that accepts ModelServingConfigServedModelArray and ModelServingConfigServedModelArrayOutput values. +// You can construct a concrete instance of `ModelServingConfigServedModelArrayInput` via: +// +// ModelServingConfigServedModelArray{ ModelServingConfigServedModelArgs{...} } +type ModelServingConfigServedModelArrayInput interface { + pulumi.Input + + ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput + ToModelServingConfigServedModelArrayOutputWithContext(context.Context) ModelServingConfigServedModelArrayOutput } -func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput).ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx) +type ModelServingConfigServedModelArray []ModelServingConfigServedModelInput + +func (ModelServingConfigServedModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() } -// MwsWorkspacesGkeConfigPtrInput is an input type that accepts MwsWorkspacesGkeConfigArgs, MwsWorkspacesGkeConfigPtr and MwsWorkspacesGkeConfigPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesGkeConfigPtrInput` via: -// -// MwsWorkspacesGkeConfigArgs{...} -// -// or: -// -// nil -type MwsWorkspacesGkeConfigPtrInput interface { - pulumi.Input +func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { + return i.ToModelServingConfigServedModelArrayOutputWithContext(context.Background()) +} - ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput - ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Context) MwsWorkspacesGkeConfigPtrOutput +func (i ModelServingConfigServedModelArray) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigServedModelArrayOutput) } -type mwsWorkspacesGkeConfigPtrType MwsWorkspacesGkeConfigArgs +type ModelServingConfigServedModelOutput struct{ *pulumi.OutputState } -func MwsWorkspacesGkeConfigPtr(v *MwsWorkspacesGkeConfigArgs) MwsWorkspacesGkeConfigPtrInput { - return (*mwsWorkspacesGkeConfigPtrType)(v) +func (ModelServingConfigServedModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigServedModel)(nil)).Elem() } -func (*mwsWorkspacesGkeConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() +func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutput() ModelServingConfigServedModelOutput { + return o +} + +func (o ModelServingConfigServedModelOutput) ToModelServingConfigServedModelOutputWithContext(ctx context.Context) ModelServingConfigServedModelOutput { + return o } -func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { - return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) +// a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. +func (o ModelServingConfigServedModelOutput) EnvironmentVars() pulumi.StringMapOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) map[string]string { return v.EnvironmentVars }).(pulumi.StringMapOutput) } -func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigPtrOutput) +// ARN of the instance profile that the served model will use to access AWS resources. +func (o ModelServingConfigServedModelOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -type MwsWorkspacesGkeConfigOutput struct{ *pulumi.OutputState } +// The maximum tokens per second that the endpoint can scale up to. +func (o ModelServingConfigServedModelOutput) MaxProvisionedThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *int { return v.MaxProvisionedThroughput }).(pulumi.IntPtrOutput) +} -func (MwsWorkspacesGkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() +// The minimum tokens per second that the endpoint can scale down to. +func (o ModelServingConfigServedModelOutput) MinProvisionedThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *int { return v.MinProvisionedThroughput }).(pulumi.IntPtrOutput) } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { - return o +// The name of the model in Databricks Model Registry to be served. +func (o ModelServingConfigServedModelOutput) ModelName() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.ModelName }).(pulumi.StringOutput) } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { - return o +// The version of the model in Databricks Model Registry to be served. +func (o ModelServingConfigServedModelOutput) ModelVersion() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.ModelVersion }).(pulumi.StringOutput) } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { - return o.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) +// The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. +func (o ModelServingConfigServedModelOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGkeConfig) *MwsWorkspacesGkeConfig { - return &v - }).(MwsWorkspacesGkeConfigPtrOutput) +// Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. +func (o ModelServingConfigServedModelOutput) ScaleToZeroEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *bool { return v.ScaleToZeroEnabled }).(pulumi.BoolPtrOutput) } -// Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. -func (o MwsWorkspacesGkeConfigOutput) ConnectivityType() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGkeConfig) string { return v.ConnectivityType }).(pulumi.StringOutput) +// The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). +func (o ModelServingConfigServedModelOutput) WorkloadSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadSize }).(pulumi.StringPtrOutput) } -// The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. -func (o MwsWorkspacesGkeConfigOutput) MasterIpRange() pulumi.StringOutput { - return o.ApplyT(func(v MwsWorkspacesGkeConfig) string { return v.MasterIpRange }).(pulumi.StringOutput) +// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. +func (o ModelServingConfigServedModelOutput) WorkloadType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) } -type MwsWorkspacesGkeConfigPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigServedModelArrayOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesGkeConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() +func (ModelServingConfigServedModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigServedModel)(nil)).Elem() } -func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { +func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutput() ModelServingConfigServedModelArrayOutput { return o } -func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { +func (o ModelServingConfigServedModelArrayOutput) ToModelServingConfigServedModelArrayOutputWithContext(ctx context.Context) ModelServingConfigServedModelArrayOutput { return o } -func (o MwsWorkspacesGkeConfigPtrOutput) Elem() MwsWorkspacesGkeConfigOutput { - return o.ApplyT(func(v *MwsWorkspacesGkeConfig) MwsWorkspacesGkeConfig { - if v != nil { - return *v - } - var ret MwsWorkspacesGkeConfig - return ret - }).(MwsWorkspacesGkeConfigOutput) -} - -// Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. -func (o MwsWorkspacesGkeConfigPtrOutput) ConnectivityType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGkeConfig) *string { - if v == nil { - return nil - } - return &v.ConnectivityType - }).(pulumi.StringPtrOutput) -} - -// The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. -func (o MwsWorkspacesGkeConfigPtrOutput) MasterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesGkeConfig) *string { - if v == nil { - return nil - } - return &v.MasterIpRange - }).(pulumi.StringPtrOutput) +func (o ModelServingConfigServedModelArrayOutput) Index(i pulumi.IntInput) ModelServingConfigServedModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingConfigServedModel { + return vs[0].([]ModelServingConfigServedModel)[vs[1].(int)] + }).(ModelServingConfigServedModelOutput) } -type MwsWorkspacesToken struct { - // Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". - Comment *string `pulumi:"comment"` - // Token expiry lifetime. By default its 2592000 (30 days). - LifetimeSeconds *int `pulumi:"lifetimeSeconds"` - TokenId *string `pulumi:"tokenId"` - TokenValue *string `pulumi:"tokenValue"` +type ModelServingConfigTrafficConfig struct { + // Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. + Routes []ModelServingConfigTrafficConfigRoute `pulumi:"routes"` } -// MwsWorkspacesTokenInput is an input type that accepts MwsWorkspacesTokenArgs and MwsWorkspacesTokenOutput values. -// You can construct a concrete instance of `MwsWorkspacesTokenInput` via: +// ModelServingConfigTrafficConfigInput is an input type that accepts ModelServingConfigTrafficConfigArgs and ModelServingConfigTrafficConfigOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigInput` via: // -// MwsWorkspacesTokenArgs{...} -type MwsWorkspacesTokenInput interface { +// ModelServingConfigTrafficConfigArgs{...} +type ModelServingConfigTrafficConfigInput interface { pulumi.Input - ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput - ToMwsWorkspacesTokenOutputWithContext(context.Context) MwsWorkspacesTokenOutput + ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput + ToModelServingConfigTrafficConfigOutputWithContext(context.Context) ModelServingConfigTrafficConfigOutput } -type MwsWorkspacesTokenArgs struct { - // Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Token expiry lifetime. By default its 2592000 (30 days). - LifetimeSeconds pulumi.IntPtrInput `pulumi:"lifetimeSeconds"` - TokenId pulumi.StringPtrInput `pulumi:"tokenId"` - TokenValue pulumi.StringPtrInput `pulumi:"tokenValue"` +type ModelServingConfigTrafficConfigArgs struct { + // Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. + Routes ModelServingConfigTrafficConfigRouteArrayInput `pulumi:"routes"` } -func (MwsWorkspacesTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() +func (ModelServingConfigTrafficConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { - return i.ToMwsWorkspacesTokenOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { + return i.ToModelServingConfigTrafficConfigOutputWithContext(context.Background()) } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput) } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { - return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { + return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) } -func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput).ToMwsWorkspacesTokenPtrOutputWithContext(ctx) +func (i ModelServingConfigTrafficConfigArgs) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigOutput).ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx) } -// MwsWorkspacesTokenPtrInput is an input type that accepts MwsWorkspacesTokenArgs, MwsWorkspacesTokenPtr and MwsWorkspacesTokenPtrOutput values. -// You can construct a concrete instance of `MwsWorkspacesTokenPtrInput` via: +// ModelServingConfigTrafficConfigPtrInput is an input type that accepts ModelServingConfigTrafficConfigArgs, ModelServingConfigTrafficConfigPtr and ModelServingConfigTrafficConfigPtrOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigPtrInput` via: // -// MwsWorkspacesTokenArgs{...} +// ModelServingConfigTrafficConfigArgs{...} // // or: // // nil -type MwsWorkspacesTokenPtrInput interface { +type ModelServingConfigTrafficConfigPtrInput interface { pulumi.Input - ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput - ToMwsWorkspacesTokenPtrOutputWithContext(context.Context) MwsWorkspacesTokenPtrOutput + ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput + ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Context) ModelServingConfigTrafficConfigPtrOutput } -type mwsWorkspacesTokenPtrType MwsWorkspacesTokenArgs +type modelServingConfigTrafficConfigPtrType ModelServingConfigTrafficConfigArgs -func MwsWorkspacesTokenPtr(v *MwsWorkspacesTokenArgs) MwsWorkspacesTokenPtrInput { - return (*mwsWorkspacesTokenPtrType)(v) +func ModelServingConfigTrafficConfigPtr(v *ModelServingConfigTrafficConfigArgs) ModelServingConfigTrafficConfigPtrInput { + return (*modelServingConfigTrafficConfigPtrType)(v) } -func (*mwsWorkspacesTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() +func (*modelServingConfigTrafficConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() } -func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { - return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) +func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { + return i.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) } -func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenPtrOutput) +func (i *modelServingConfigTrafficConfigPtrType) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigPtrOutput) } -type MwsWorkspacesTokenOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() +func (ModelServingConfigTrafficConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfig)(nil)).Elem() } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutput() ModelServingConfigTrafficConfigOutput { return o } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigOutput { return o } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { - return o.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { + return o.ToModelServingConfigTrafficConfigPtrOutputWithContext(context.Background()) } -func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesToken) *MwsWorkspacesToken { +func (o ModelServingConfigTrafficConfigOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ModelServingConfigTrafficConfig) *ModelServingConfigTrafficConfig { return &v - }).(MwsWorkspacesTokenPtrOutput) -} - -// Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". -func (o MwsWorkspacesTokenOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.Comment }).(pulumi.StringPtrOutput) -} - -// Token expiry lifetime. By default its 2592000 (30 days). -func (o MwsWorkspacesTokenOutput) LifetimeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *int { return v.LifetimeSeconds }).(pulumi.IntPtrOutput) -} - -func (o MwsWorkspacesTokenOutput) TokenId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenId }).(pulumi.StringPtrOutput) + }).(ModelServingConfigTrafficConfigPtrOutput) } -func (o MwsWorkspacesTokenOutput) TokenValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenValue }).(pulumi.StringPtrOutput) +// Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. +func (o ModelServingConfigTrafficConfigOutput) Routes() ModelServingConfigTrafficConfigRouteArrayOutput { + return o.ApplyT(func(v ModelServingConfigTrafficConfig) []ModelServingConfigTrafficConfigRoute { return v.Routes }).(ModelServingConfigTrafficConfigRouteArrayOutput) } -type MwsWorkspacesTokenPtrOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigPtrOutput struct{ *pulumi.OutputState } -func (MwsWorkspacesTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() +func (ModelServingConfigTrafficConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ModelServingConfigTrafficConfig)(nil)).Elem() } -func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { +func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutput() ModelServingConfigTrafficConfigPtrOutput { return o } -func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { +func (o ModelServingConfigTrafficConfigPtrOutput) ToModelServingConfigTrafficConfigPtrOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigPtrOutput { return o } -func (o MwsWorkspacesTokenPtrOutput) Elem() MwsWorkspacesTokenOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) MwsWorkspacesToken { +func (o ModelServingConfigTrafficConfigPtrOutput) Elem() ModelServingConfigTrafficConfigOutput { + return o.ApplyT(func(v *ModelServingConfigTrafficConfig) ModelServingConfigTrafficConfig { if v != nil { return *v } - var ret MwsWorkspacesToken + var ret ModelServingConfigTrafficConfig return ret - }).(MwsWorkspacesTokenOutput) + }).(ModelServingConfigTrafficConfigOutput) } -// Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". -func (o MwsWorkspacesTokenPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *string { +// Each block represents a route that defines traffic to each served entity. Each `servedEntity` block needs to have a corresponding `routes` block. +func (o ModelServingConfigTrafficConfigPtrOutput) Routes() ModelServingConfigTrafficConfigRouteArrayOutput { + return o.ApplyT(func(v *ModelServingConfigTrafficConfig) []ModelServingConfigTrafficConfigRoute { if v == nil { return nil } - return v.Comment - }).(pulumi.StringPtrOutput) + return v.Routes + }).(ModelServingConfigTrafficConfigRouteArrayOutput) } -// Token expiry lifetime. By default its 2592000 (30 days). -func (o MwsWorkspacesTokenPtrOutput) LifetimeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *int { - if v == nil { - return nil - } - return v.LifetimeSeconds - }).(pulumi.IntPtrOutput) +type ModelServingConfigTrafficConfigRoute struct { + ServedModelName string `pulumi:"servedModelName"` + // The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + TrafficPercentage int `pulumi:"trafficPercentage"` } -func (o MwsWorkspacesTokenPtrOutput) TokenId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *string { - if v == nil { - return nil - } - return v.TokenId - }).(pulumi.StringPtrOutput) -} +// ModelServingConfigTrafficConfigRouteInput is an input type that accepts ModelServingConfigTrafficConfigRouteArgs and ModelServingConfigTrafficConfigRouteOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteInput` via: +// +// ModelServingConfigTrafficConfigRouteArgs{...} +type ModelServingConfigTrafficConfigRouteInput interface { + pulumi.Input -func (o MwsWorkspacesTokenPtrOutput) TokenValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MwsWorkspacesToken) *string { - if v == nil { - return nil - } - return v.TokenValue - }).(pulumi.StringPtrOutput) + ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput + ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteOutput } -type NotificationDestinationConfig struct { - // The email configuration of the Notification Destination. It must contain the following: - Email *NotificationDestinationConfigEmail `pulumi:"email"` - // The Generic Webhook configuration of the Notification Destination. It must contain the following: - GenericWebhook *NotificationDestinationConfigGenericWebhook `pulumi:"genericWebhook"` - // The Microsoft Teams configuration of the Notification Destination. It must contain the following: - MicrosoftTeams *NotificationDestinationConfigMicrosoftTeams `pulumi:"microsoftTeams"` - // The PagerDuty configuration of the Notification Destination. It must contain the following: - Pagerduty *NotificationDestinationConfigPagerduty `pulumi:"pagerduty"` - // The Slack configuration of the Notification Destination. It must contain the following: - Slack *NotificationDestinationConfigSlack `pulumi:"slack"` +type ModelServingConfigTrafficConfigRouteArgs struct { + ServedModelName pulumi.StringInput `pulumi:"servedModelName"` + // The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + TrafficPercentage pulumi.IntInput `pulumi:"trafficPercentage"` } -// NotificationDestinationConfigInput is an input type that accepts NotificationDestinationConfigArgs and NotificationDestinationConfigOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigInput` via: -// -// NotificationDestinationConfigArgs{...} -type NotificationDestinationConfigInput interface { - pulumi.Input - - ToNotificationDestinationConfigOutput() NotificationDestinationConfigOutput - ToNotificationDestinationConfigOutputWithContext(context.Context) NotificationDestinationConfigOutput +func (ModelServingConfigTrafficConfigRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -type NotificationDestinationConfigArgs struct { - // The email configuration of the Notification Destination. It must contain the following: - Email NotificationDestinationConfigEmailPtrInput `pulumi:"email"` - // The Generic Webhook configuration of the Notification Destination. It must contain the following: - GenericWebhook NotificationDestinationConfigGenericWebhookPtrInput `pulumi:"genericWebhook"` - // The Microsoft Teams configuration of the Notification Destination. It must contain the following: - MicrosoftTeams NotificationDestinationConfigMicrosoftTeamsPtrInput `pulumi:"microsoftTeams"` - // The PagerDuty configuration of the Notification Destination. It must contain the following: - Pagerduty NotificationDestinationConfigPagerdutyPtrInput `pulumi:"pagerduty"` - // The Slack configuration of the Notification Destination. It must contain the following: - Slack NotificationDestinationConfigSlackPtrInput `pulumi:"slack"` +func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { + return i.ToModelServingConfigTrafficConfigRouteOutputWithContext(context.Background()) } -func (NotificationDestinationConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfig)(nil)).Elem() +func (i ModelServingConfigTrafficConfigRouteArgs) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteOutput) } -func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigOutput() NotificationDestinationConfigOutput { - return i.ToNotificationDestinationConfigOutputWithContext(context.Background()) +// ModelServingConfigTrafficConfigRouteArrayInput is an input type that accepts ModelServingConfigTrafficConfigRouteArray and ModelServingConfigTrafficConfigRouteArrayOutput values. +// You can construct a concrete instance of `ModelServingConfigTrafficConfigRouteArrayInput` via: +// +// ModelServingConfigTrafficConfigRouteArray{ ModelServingConfigTrafficConfigRouteArgs{...} } +type ModelServingConfigTrafficConfigRouteArrayInput interface { + pulumi.Input + + ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput + ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Context) ModelServingConfigTrafficConfigRouteArrayOutput } -func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigOutputWithContext(ctx context.Context) NotificationDestinationConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigOutput) +type ModelServingConfigTrafficConfigRouteArray []ModelServingConfigTrafficConfigRouteInput + +func (ModelServingConfigTrafficConfigRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { - return i.ToNotificationDestinationConfigPtrOutputWithContext(context.Background()) +func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { + return i.ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigOutput).ToNotificationDestinationConfigPtrOutputWithContext(ctx) +func (i ModelServingConfigTrafficConfigRouteArray) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingConfigTrafficConfigRouteArrayOutput) } -// NotificationDestinationConfigPtrInput is an input type that accepts NotificationDestinationConfigArgs, NotificationDestinationConfigPtr and NotificationDestinationConfigPtrOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigPtrInput` via: -// -// NotificationDestinationConfigArgs{...} -// -// or: -// -// nil -type NotificationDestinationConfigPtrInput interface { - pulumi.Input +type ModelServingConfigTrafficConfigRouteOutput struct{ *pulumi.OutputState } - ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput - ToNotificationDestinationConfigPtrOutputWithContext(context.Context) NotificationDestinationConfigPtrOutput +func (ModelServingConfigTrafficConfigRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -type notificationDestinationConfigPtrType NotificationDestinationConfigArgs - -func NotificationDestinationConfigPtr(v *NotificationDestinationConfigArgs) NotificationDestinationConfigPtrInput { - return (*notificationDestinationConfigPtrType)(v) +func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutput() ModelServingConfigTrafficConfigRouteOutput { + return o } -func (*notificationDestinationConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfig)(nil)).Elem() +func (o ModelServingConfigTrafficConfigRouteOutput) ToModelServingConfigTrafficConfigRouteOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteOutput { + return o } -func (i *notificationDestinationConfigPtrType) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { - return i.ToNotificationDestinationConfigPtrOutputWithContext(context.Background()) +func (o ModelServingConfigTrafficConfigRouteOutput) ServedModelName() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingConfigTrafficConfigRoute) string { return v.ServedModelName }).(pulumi.StringOutput) } -func (i *notificationDestinationConfigPtrType) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPtrOutput) +// The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. +func (o ModelServingConfigTrafficConfigRouteOutput) TrafficPercentage() pulumi.IntOutput { + return o.ApplyT(func(v ModelServingConfigTrafficConfigRoute) int { return v.TrafficPercentage }).(pulumi.IntOutput) } -type NotificationDestinationConfigOutput struct{ *pulumi.OutputState } +type ModelServingConfigTrafficConfigRouteArrayOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfig)(nil)).Elem() +func (ModelServingConfigTrafficConfigRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingConfigTrafficConfigRoute)(nil)).Elem() } -func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigOutput() NotificationDestinationConfigOutput { +func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutput() ModelServingConfigTrafficConfigRouteArrayOutput { return o } -func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigOutputWithContext(ctx context.Context) NotificationDestinationConfigOutput { +func (o ModelServingConfigTrafficConfigRouteArrayOutput) ToModelServingConfigTrafficConfigRouteArrayOutputWithContext(ctx context.Context) ModelServingConfigTrafficConfigRouteArrayOutput { return o } -func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { - return o.ToNotificationDestinationConfigPtrOutputWithContext(context.Background()) +func (o ModelServingConfigTrafficConfigRouteArrayOutput) Index(i pulumi.IntInput) ModelServingConfigTrafficConfigRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingConfigTrafficConfigRoute { + return vs[0].([]ModelServingConfigTrafficConfigRoute)[vs[1].(int)] + }).(ModelServingConfigTrafficConfigRouteOutput) } -func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfig) *NotificationDestinationConfig { - return &v - }).(NotificationDestinationConfigPtrOutput) +type ModelServingRateLimit struct { + // Used to specify how many calls are allowed for a key within the renewal_period. + Calls int `pulumi:"calls"` + // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + Key *string `pulumi:"key"` + // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + RenewalPeriod string `pulumi:"renewalPeriod"` } -// The email configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigOutput) Email() NotificationDestinationConfigEmailPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigEmail { return v.Email }).(NotificationDestinationConfigEmailPtrOutput) +// ModelServingRateLimitInput is an input type that accepts ModelServingRateLimitArgs and ModelServingRateLimitOutput values. +// You can construct a concrete instance of `ModelServingRateLimitInput` via: +// +// ModelServingRateLimitArgs{...} +type ModelServingRateLimitInput interface { + pulumi.Input + + ToModelServingRateLimitOutput() ModelServingRateLimitOutput + ToModelServingRateLimitOutputWithContext(context.Context) ModelServingRateLimitOutput } -// The Generic Webhook configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigOutput) GenericWebhook() NotificationDestinationConfigGenericWebhookPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigGenericWebhook { - return v.GenericWebhook - }).(NotificationDestinationConfigGenericWebhookPtrOutput) +type ModelServingRateLimitArgs struct { + // Used to specify how many calls are allowed for a key within the renewal_period. + Calls pulumi.IntInput `pulumi:"calls"` + // Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + Key pulumi.StringPtrInput `pulumi:"key"` + // Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + RenewalPeriod pulumi.StringInput `pulumi:"renewalPeriod"` } -// The Microsoft Teams configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigOutput) MicrosoftTeams() NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigMicrosoftTeams { - return v.MicrosoftTeams - }).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) +func (ModelServingRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() } -// The PagerDuty configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigOutput) Pagerduty() NotificationDestinationConfigPagerdutyPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigPagerduty { return v.Pagerduty }).(NotificationDestinationConfigPagerdutyPtrOutput) +func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { + return i.ToModelServingRateLimitOutputWithContext(context.Background()) } -// The Slack configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigOutput) Slack() NotificationDestinationConfigSlackPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigSlack { return v.Slack }).(NotificationDestinationConfigSlackPtrOutput) +func (i ModelServingRateLimitArgs) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitOutput) } -type NotificationDestinationConfigPtrOutput struct{ *pulumi.OutputState } +// ModelServingRateLimitArrayInput is an input type that accepts ModelServingRateLimitArray and ModelServingRateLimitArrayOutput values. +// You can construct a concrete instance of `ModelServingRateLimitArrayInput` via: +// +// ModelServingRateLimitArray{ ModelServingRateLimitArgs{...} } +type ModelServingRateLimitArrayInput interface { + pulumi.Input -func (NotificationDestinationConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfig)(nil)).Elem() + ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput + ToModelServingRateLimitArrayOutputWithContext(context.Context) ModelServingRateLimitArrayOutput } -func (o NotificationDestinationConfigPtrOutput) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { - return o +type ModelServingRateLimitArray []ModelServingRateLimitInput + +func (ModelServingRateLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() } -func (o NotificationDestinationConfigPtrOutput) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { - return o +func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { + return i.ToModelServingRateLimitArrayOutputWithContext(context.Background()) } -func (o NotificationDestinationConfigPtrOutput) Elem() NotificationDestinationConfigOutput { - return o.ApplyT(func(v *NotificationDestinationConfig) NotificationDestinationConfig { - if v != nil { - return *v - } - var ret NotificationDestinationConfig - return ret - }).(NotificationDestinationConfigOutput) +func (i ModelServingRateLimitArray) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingRateLimitArrayOutput) } -// The email configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigPtrOutput) Email() NotificationDestinationConfigEmailPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigEmail { - if v == nil { - return nil - } - return v.Email - }).(NotificationDestinationConfigEmailPtrOutput) +type ModelServingRateLimitOutput struct{ *pulumi.OutputState } + +func (ModelServingRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingRateLimit)(nil)).Elem() } -// The Generic Webhook configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigPtrOutput) GenericWebhook() NotificationDestinationConfigGenericWebhookPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigGenericWebhook { - if v == nil { - return nil - } - return v.GenericWebhook - }).(NotificationDestinationConfigGenericWebhookPtrOutput) +func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutput() ModelServingRateLimitOutput { + return o +} + +func (o ModelServingRateLimitOutput) ToModelServingRateLimitOutputWithContext(ctx context.Context) ModelServingRateLimitOutput { + return o +} + +// Used to specify how many calls are allowed for a key within the renewal_period. +func (o ModelServingRateLimitOutput) Calls() pulumi.IntOutput { + return o.ApplyT(func(v ModelServingRateLimit) int { return v.Calls }).(pulumi.IntOutput) } -// The Microsoft Teams configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigPtrOutput) MicrosoftTeams() NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigMicrosoftTeams { - if v == nil { - return nil - } - return v.MicrosoftTeams - }).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) +// Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. +func (o ModelServingRateLimitOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingRateLimit) *string { return v.Key }).(pulumi.StringPtrOutput) } -// The PagerDuty configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigPtrOutput) Pagerduty() NotificationDestinationConfigPagerdutyPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigPagerduty { - if v == nil { - return nil - } - return v.Pagerduty - }).(NotificationDestinationConfigPagerdutyPtrOutput) +// Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. +func (o ModelServingRateLimitOutput) RenewalPeriod() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingRateLimit) string { return v.RenewalPeriod }).(pulumi.StringOutput) } -// The Slack configuration of the Notification Destination. It must contain the following: -func (o NotificationDestinationConfigPtrOutput) Slack() NotificationDestinationConfigSlackPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigSlack { - if v == nil { - return nil - } - return v.Slack - }).(NotificationDestinationConfigSlackPtrOutput) +type ModelServingRateLimitArrayOutput struct{ *pulumi.OutputState } + +func (ModelServingRateLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingRateLimit)(nil)).Elem() } -type NotificationDestinationConfigEmail struct { - // The list of email addresses to send notifications to. - Addresses []string `pulumi:"addresses"` +func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutput() ModelServingRateLimitArrayOutput { + return o } -// NotificationDestinationConfigEmailInput is an input type that accepts NotificationDestinationConfigEmailArgs and NotificationDestinationConfigEmailOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigEmailInput` via: -// -// NotificationDestinationConfigEmailArgs{...} -type NotificationDestinationConfigEmailInput interface { - pulumi.Input +func (o ModelServingRateLimitArrayOutput) ToModelServingRateLimitArrayOutputWithContext(ctx context.Context) ModelServingRateLimitArrayOutput { + return o +} - ToNotificationDestinationConfigEmailOutput() NotificationDestinationConfigEmailOutput - ToNotificationDestinationConfigEmailOutputWithContext(context.Context) NotificationDestinationConfigEmailOutput +func (o ModelServingRateLimitArrayOutput) Index(i pulumi.IntInput) ModelServingRateLimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingRateLimit { + return vs[0].([]ModelServingRateLimit)[vs[1].(int)] + }).(ModelServingRateLimitOutput) } -type NotificationDestinationConfigEmailArgs struct { - // The list of email addresses to send notifications to. - Addresses pulumi.StringArrayInput `pulumi:"addresses"` +type ModelServingTag struct { + // The key field for a tag. + Key string `pulumi:"key"` + // The value field for a tag. + Value *string `pulumi:"value"` } -func (NotificationDestinationConfigEmailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigEmail)(nil)).Elem() +// ModelServingTagInput is an input type that accepts ModelServingTagArgs and ModelServingTagOutput values. +// You can construct a concrete instance of `ModelServingTagInput` via: +// +// ModelServingTagArgs{...} +type ModelServingTagInput interface { + pulumi.Input + + ToModelServingTagOutput() ModelServingTagOutput + ToModelServingTagOutputWithContext(context.Context) ModelServingTagOutput } -func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailOutput() NotificationDestinationConfigEmailOutput { - return i.ToNotificationDestinationConfigEmailOutputWithContext(context.Background()) +type ModelServingTagArgs struct { + // The key field for a tag. + Key pulumi.StringInput `pulumi:"key"` + // The value field for a tag. + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigEmailOutput) +func (ModelServingTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingTag)(nil)).Elem() } -func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { - return i.ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Background()) +func (i ModelServingTagArgs) ToModelServingTagOutput() ModelServingTagOutput { + return i.ToModelServingTagOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigEmailOutput).ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx) +func (i ModelServingTagArgs) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagOutput) } -// NotificationDestinationConfigEmailPtrInput is an input type that accepts NotificationDestinationConfigEmailArgs, NotificationDestinationConfigEmailPtr and NotificationDestinationConfigEmailPtrOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigEmailPtrInput` via: -// -// NotificationDestinationConfigEmailArgs{...} -// -// or: +// ModelServingTagArrayInput is an input type that accepts ModelServingTagArray and ModelServingTagArrayOutput values. +// You can construct a concrete instance of `ModelServingTagArrayInput` via: // -// nil -type NotificationDestinationConfigEmailPtrInput interface { +// ModelServingTagArray{ ModelServingTagArgs{...} } +type ModelServingTagArrayInput interface { pulumi.Input - ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput - ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Context) NotificationDestinationConfigEmailPtrOutput + ToModelServingTagArrayOutput() ModelServingTagArrayOutput + ToModelServingTagArrayOutputWithContext(context.Context) ModelServingTagArrayOutput } -type notificationDestinationConfigEmailPtrType NotificationDestinationConfigEmailArgs - -func NotificationDestinationConfigEmailPtr(v *NotificationDestinationConfigEmailArgs) NotificationDestinationConfigEmailPtrInput { - return (*notificationDestinationConfigEmailPtrType)(v) -} +type ModelServingTagArray []ModelServingTagInput -func (*notificationDestinationConfigEmailPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigEmail)(nil)).Elem() +func (ModelServingTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() } -func (i *notificationDestinationConfigEmailPtrType) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { - return i.ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Background()) +func (i ModelServingTagArray) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { + return i.ToModelServingTagArrayOutputWithContext(context.Background()) } -func (i *notificationDestinationConfigEmailPtrType) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigEmailPtrOutput) +func (i ModelServingTagArray) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ModelServingTagArrayOutput) } -type NotificationDestinationConfigEmailOutput struct{ *pulumi.OutputState } +type ModelServingTagOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigEmailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigEmail)(nil)).Elem() +func (ModelServingTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ModelServingTag)(nil)).Elem() } -func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailOutput() NotificationDestinationConfigEmailOutput { +func (o ModelServingTagOutput) ToModelServingTagOutput() ModelServingTagOutput { return o } -func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailOutput { +func (o ModelServingTagOutput) ToModelServingTagOutputWithContext(ctx context.Context) ModelServingTagOutput { return o } -func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { - return o.ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Background()) -} - -func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigEmail) *NotificationDestinationConfigEmail { - return &v - }).(NotificationDestinationConfigEmailPtrOutput) +// The key field for a tag. +func (o ModelServingTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ModelServingTag) string { return v.Key }).(pulumi.StringOutput) } -// The list of email addresses to send notifications to. -func (o NotificationDestinationConfigEmailOutput) Addresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v NotificationDestinationConfigEmail) []string { return v.Addresses }).(pulumi.StringArrayOutput) +// The value field for a tag. +func (o ModelServingTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -type NotificationDestinationConfigEmailPtrOutput struct{ *pulumi.OutputState } +type ModelServingTagArrayOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigEmailPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigEmail)(nil)).Elem() +func (ModelServingTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ModelServingTag)(nil)).Elem() } -func (o NotificationDestinationConfigEmailPtrOutput) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { +func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutput() ModelServingTagArrayOutput { return o } -func (o NotificationDestinationConfigEmailPtrOutput) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { +func (o ModelServingTagArrayOutput) ToModelServingTagArrayOutputWithContext(ctx context.Context) ModelServingTagArrayOutput { return o } -func (o NotificationDestinationConfigEmailPtrOutput) Elem() NotificationDestinationConfigEmailOutput { - return o.ApplyT(func(v *NotificationDestinationConfigEmail) NotificationDestinationConfigEmail { - if v != nil { - return *v - } - var ret NotificationDestinationConfigEmail - return ret - }).(NotificationDestinationConfigEmailOutput) -} - -// The list of email addresses to send notifications to. -func (o NotificationDestinationConfigEmailPtrOutput) Addresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NotificationDestinationConfigEmail) []string { - if v == nil { - return nil - } - return v.Addresses - }).(pulumi.StringArrayOutput) +func (o ModelServingTagArrayOutput) Index(i pulumi.IntInput) ModelServingTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ModelServingTag { + return vs[0].([]ModelServingTag)[vs[1].(int)] + }).(ModelServingTagOutput) } -type NotificationDestinationConfigGenericWebhook struct { - // The password for basic authentication. - // - // > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. - Password *string `pulumi:"password"` - PasswordSet *bool `pulumi:"passwordSet"` - // The Generic Webhook URL. - Url *string `pulumi:"url"` - UrlSet *bool `pulumi:"urlSet"` - // The username for basic authentication. - Username *string `pulumi:"username"` - UsernameSet *bool `pulumi:"usernameSet"` +type MountAbfs struct { + ClientId string `pulumi:"clientId"` + ClientSecretKey string `pulumi:"clientSecretKey"` + ClientSecretScope string `pulumi:"clientSecretScope"` + ContainerName *string `pulumi:"containerName"` + Directory *string `pulumi:"directory"` + InitializeFileSystem bool `pulumi:"initializeFileSystem"` + StorageAccountName *string `pulumi:"storageAccountName"` + TenantId *string `pulumi:"tenantId"` } -// NotificationDestinationConfigGenericWebhookInput is an input type that accepts NotificationDestinationConfigGenericWebhookArgs and NotificationDestinationConfigGenericWebhookOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigGenericWebhookInput` via: +// MountAbfsInput is an input type that accepts MountAbfsArgs and MountAbfsOutput values. +// You can construct a concrete instance of `MountAbfsInput` via: // -// NotificationDestinationConfigGenericWebhookArgs{...} -type NotificationDestinationConfigGenericWebhookInput interface { +// MountAbfsArgs{...} +type MountAbfsInput interface { pulumi.Input - ToNotificationDestinationConfigGenericWebhookOutput() NotificationDestinationConfigGenericWebhookOutput - ToNotificationDestinationConfigGenericWebhookOutputWithContext(context.Context) NotificationDestinationConfigGenericWebhookOutput + ToMountAbfsOutput() MountAbfsOutput + ToMountAbfsOutputWithContext(context.Context) MountAbfsOutput } -type NotificationDestinationConfigGenericWebhookArgs struct { - // The password for basic authentication. - // - // > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. - Password pulumi.StringPtrInput `pulumi:"password"` - PasswordSet pulumi.BoolPtrInput `pulumi:"passwordSet"` - // The Generic Webhook URL. - Url pulumi.StringPtrInput `pulumi:"url"` - UrlSet pulumi.BoolPtrInput `pulumi:"urlSet"` - // The username for basic authentication. - Username pulumi.StringPtrInput `pulumi:"username"` - UsernameSet pulumi.BoolPtrInput `pulumi:"usernameSet"` +type MountAbfsArgs struct { + ClientId pulumi.StringInput `pulumi:"clientId"` + ClientSecretKey pulumi.StringInput `pulumi:"clientSecretKey"` + ClientSecretScope pulumi.StringInput `pulumi:"clientSecretScope"` + ContainerName pulumi.StringPtrInput `pulumi:"containerName"` + Directory pulumi.StringPtrInput `pulumi:"directory"` + InitializeFileSystem pulumi.BoolInput `pulumi:"initializeFileSystem"` + StorageAccountName pulumi.StringPtrInput `pulumi:"storageAccountName"` + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` } -func (NotificationDestinationConfigGenericWebhookArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigGenericWebhook)(nil)).Elem() +func (MountAbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountAbfs)(nil)).Elem() } -func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookOutput() NotificationDestinationConfigGenericWebhookOutput { - return i.ToNotificationDestinationConfigGenericWebhookOutputWithContext(context.Background()) +func (i MountAbfsArgs) ToMountAbfsOutput() MountAbfsOutput { + return i.ToMountAbfsOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigGenericWebhookOutput) +func (i MountAbfsArgs) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput) } -func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { - return i.ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Background()) +func (i MountAbfsArgs) ToMountAbfsPtrOutput() MountAbfsPtrOutput { + return i.ToMountAbfsPtrOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigGenericWebhookOutput).ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx) +func (i MountAbfsArgs) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAbfsOutput).ToMountAbfsPtrOutputWithContext(ctx) } -// NotificationDestinationConfigGenericWebhookPtrInput is an input type that accepts NotificationDestinationConfigGenericWebhookArgs, NotificationDestinationConfigGenericWebhookPtr and NotificationDestinationConfigGenericWebhookPtrOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigGenericWebhookPtrInput` via: +// MountAbfsPtrInput is an input type that accepts MountAbfsArgs, MountAbfsPtr and MountAbfsPtrOutput values. +// You can construct a concrete instance of `MountAbfsPtrInput` via: // -// NotificationDestinationConfigGenericWebhookArgs{...} +// MountAbfsArgs{...} // // or: // // nil -type NotificationDestinationConfigGenericWebhookPtrInput interface { +type MountAbfsPtrInput interface { pulumi.Input - ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput - ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Context) NotificationDestinationConfigGenericWebhookPtrOutput + ToMountAbfsPtrOutput() MountAbfsPtrOutput + ToMountAbfsPtrOutputWithContext(context.Context) MountAbfsPtrOutput } -type notificationDestinationConfigGenericWebhookPtrType NotificationDestinationConfigGenericWebhookArgs +type mountAbfsPtrType MountAbfsArgs -func NotificationDestinationConfigGenericWebhookPtr(v *NotificationDestinationConfigGenericWebhookArgs) NotificationDestinationConfigGenericWebhookPtrInput { - return (*notificationDestinationConfigGenericWebhookPtrType)(v) +func MountAbfsPtr(v *MountAbfsArgs) MountAbfsPtrInput { + return (*mountAbfsPtrType)(v) } -func (*notificationDestinationConfigGenericWebhookPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigGenericWebhook)(nil)).Elem() +func (*mountAbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountAbfs)(nil)).Elem() } -func (i *notificationDestinationConfigGenericWebhookPtrType) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { - return i.ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Background()) +func (i *mountAbfsPtrType) ToMountAbfsPtrOutput() MountAbfsPtrOutput { + return i.ToMountAbfsPtrOutputWithContext(context.Background()) } -func (i *notificationDestinationConfigGenericWebhookPtrType) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigGenericWebhookPtrOutput) +func (i *mountAbfsPtrType) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAbfsPtrOutput) } -type NotificationDestinationConfigGenericWebhookOutput struct{ *pulumi.OutputState } +type MountAbfsOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigGenericWebhookOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigGenericWebhook)(nil)).Elem() +func (MountAbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountAbfs)(nil)).Elem() } -func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookOutput() NotificationDestinationConfigGenericWebhookOutput { +func (o MountAbfsOutput) ToMountAbfsOutput() MountAbfsOutput { return o } -func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookOutput { +func (o MountAbfsOutput) ToMountAbfsOutputWithContext(ctx context.Context) MountAbfsOutput { return o } -func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { - return o.ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Background()) +func (o MountAbfsOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { + return o.ToMountAbfsPtrOutputWithContext(context.Background()) } -func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigGenericWebhook) *NotificationDestinationConfigGenericWebhook { +func (o MountAbfsOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAbfs) *MountAbfs { return &v - }).(NotificationDestinationConfigGenericWebhookPtrOutput) + }).(MountAbfsPtrOutput) } -// The password for basic authentication. -// -// > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. -func (o NotificationDestinationConfigGenericWebhookOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *string { return v.Password }).(pulumi.StringPtrOutput) +func (o MountAbfsOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v MountAbfs) string { return v.ClientId }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigGenericWebhookOutput) PasswordSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *bool { return v.PasswordSet }).(pulumi.BoolPtrOutput) +func (o MountAbfsOutput) ClientSecretKey() pulumi.StringOutput { + return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretKey }).(pulumi.StringOutput) } -// The Generic Webhook URL. -func (o NotificationDestinationConfigGenericWebhookOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *string { return v.Url }).(pulumi.StringPtrOutput) +func (o MountAbfsOutput) ClientSecretScope() pulumi.StringOutput { + return o.ApplyT(func(v MountAbfs) string { return v.ClientSecretScope }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigGenericWebhookOutput) UrlSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *bool { return v.UrlSet }).(pulumi.BoolPtrOutput) +func (o MountAbfsOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.ContainerName }).(pulumi.StringPtrOutput) } -// The username for basic authentication. -func (o NotificationDestinationConfigGenericWebhookOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *string { return v.Username }).(pulumi.StringPtrOutput) +func (o MountAbfsOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.Directory }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigGenericWebhookOutput) UsernameSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *bool { return v.UsernameSet }).(pulumi.BoolPtrOutput) +func (o MountAbfsOutput) InitializeFileSystem() pulumi.BoolOutput { + return o.ApplyT(func(v MountAbfs) bool { return v.InitializeFileSystem }).(pulumi.BoolOutput) } -type NotificationDestinationConfigGenericWebhookPtrOutput struct{ *pulumi.OutputState } +func (o MountAbfsOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +} -func (NotificationDestinationConfigGenericWebhookPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigGenericWebhook)(nil)).Elem() +func (o MountAbfsOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAbfs) *string { return v.TenantId }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigGenericWebhookPtrOutput) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { +type MountAbfsPtrOutput struct{ *pulumi.OutputState } + +func (MountAbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountAbfs)(nil)).Elem() +} + +func (o MountAbfsPtrOutput) ToMountAbfsPtrOutput() MountAbfsPtrOutput { return o } -func (o NotificationDestinationConfigGenericWebhookPtrOutput) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { +func (o MountAbfsPtrOutput) ToMountAbfsPtrOutputWithContext(ctx context.Context) MountAbfsPtrOutput { return o } -func (o NotificationDestinationConfigGenericWebhookPtrOutput) Elem() NotificationDestinationConfigGenericWebhookOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) NotificationDestinationConfigGenericWebhook { +func (o MountAbfsPtrOutput) Elem() MountAbfsOutput { + return o.ApplyT(func(v *MountAbfs) MountAbfs { if v != nil { return *v } - var ret NotificationDestinationConfigGenericWebhook + var ret MountAbfs return ret - }).(NotificationDestinationConfigGenericWebhookOutput) + }).(MountAbfsOutput) } -// The password for basic authentication. -// -// > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. -func (o NotificationDestinationConfigGenericWebhookPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *string { +func (o MountAbfsPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return v.Password + return &v.ClientId }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigGenericWebhookPtrOutput) PasswordSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *bool { +func (o MountAbfsPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return v.PasswordSet - }).(pulumi.BoolPtrOutput) + return &v.ClientSecretKey + }).(pulumi.StringPtrOutput) } -// The Generic Webhook URL. -func (o NotificationDestinationConfigGenericWebhookPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *string { +func (o MountAbfsPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return v.Url + return &v.ClientSecretScope }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigGenericWebhookPtrOutput) UrlSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *bool { +func (o MountAbfsPtrOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return v.UrlSet - }).(pulumi.BoolPtrOutput) + return v.ContainerName + }).(pulumi.StringPtrOutput) } -// The username for basic authentication. -func (o NotificationDestinationConfigGenericWebhookPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *string { +func (o MountAbfsPtrOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { if v == nil { return nil } - return v.Username + return v.Directory }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigGenericWebhookPtrOutput) UsernameSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *bool { +func (o MountAbfsPtrOutput) InitializeFileSystem() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MountAbfs) *bool { if v == nil { return nil } - return v.UsernameSet + return &v.InitializeFileSystem }).(pulumi.BoolPtrOutput) } -type NotificationDestinationConfigMicrosoftTeams struct { - // The Microsoft Teams webhook URL. - Url *string `pulumi:"url"` - UrlSet *bool `pulumi:"urlSet"` +func (o MountAbfsPtrOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { + if v == nil { + return nil + } + return v.StorageAccountName + }).(pulumi.StringPtrOutput) } -// NotificationDestinationConfigMicrosoftTeamsInput is an input type that accepts NotificationDestinationConfigMicrosoftTeamsArgs and NotificationDestinationConfigMicrosoftTeamsOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigMicrosoftTeamsInput` via: +func (o MountAbfsPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAbfs) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) +} + +type MountAdl struct { + ClientId string `pulumi:"clientId"` + ClientSecretKey string `pulumi:"clientSecretKey"` + ClientSecretScope string `pulumi:"clientSecretScope"` + Directory *string `pulumi:"directory"` + SparkConfPrefix *string `pulumi:"sparkConfPrefix"` + StorageResourceName *string `pulumi:"storageResourceName"` + TenantId *string `pulumi:"tenantId"` +} + +// MountAdlInput is an input type that accepts MountAdlArgs and MountAdlOutput values. +// You can construct a concrete instance of `MountAdlInput` via: // -// NotificationDestinationConfigMicrosoftTeamsArgs{...} -type NotificationDestinationConfigMicrosoftTeamsInput interface { +// MountAdlArgs{...} +type MountAdlInput interface { pulumi.Input - ToNotificationDestinationConfigMicrosoftTeamsOutput() NotificationDestinationConfigMicrosoftTeamsOutput - ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(context.Context) NotificationDestinationConfigMicrosoftTeamsOutput + ToMountAdlOutput() MountAdlOutput + ToMountAdlOutputWithContext(context.Context) MountAdlOutput } -type NotificationDestinationConfigMicrosoftTeamsArgs struct { - // The Microsoft Teams webhook URL. - Url pulumi.StringPtrInput `pulumi:"url"` - UrlSet pulumi.BoolPtrInput `pulumi:"urlSet"` +type MountAdlArgs struct { + ClientId pulumi.StringInput `pulumi:"clientId"` + ClientSecretKey pulumi.StringInput `pulumi:"clientSecretKey"` + ClientSecretScope pulumi.StringInput `pulumi:"clientSecretScope"` + Directory pulumi.StringPtrInput `pulumi:"directory"` + SparkConfPrefix pulumi.StringPtrInput `pulumi:"sparkConfPrefix"` + StorageResourceName pulumi.StringPtrInput `pulumi:"storageResourceName"` + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` } -func (NotificationDestinationConfigMicrosoftTeamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() +func (MountAdlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountAdl)(nil)).Elem() } -func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsOutput() NotificationDestinationConfigMicrosoftTeamsOutput { - return i.ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(context.Background()) +func (i MountAdlArgs) ToMountAdlOutput() MountAdlOutput { + return i.ToMountAdlOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigMicrosoftTeamsOutput) +func (i MountAdlArgs) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput) } -func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return i.ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Background()) +func (i MountAdlArgs) ToMountAdlPtrOutput() MountAdlPtrOutput { + return i.ToMountAdlPtrOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigMicrosoftTeamsOutput).ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx) +func (i MountAdlArgs) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAdlOutput).ToMountAdlPtrOutputWithContext(ctx) } -// NotificationDestinationConfigMicrosoftTeamsPtrInput is an input type that accepts NotificationDestinationConfigMicrosoftTeamsArgs, NotificationDestinationConfigMicrosoftTeamsPtr and NotificationDestinationConfigMicrosoftTeamsPtrOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigMicrosoftTeamsPtrInput` via: +// MountAdlPtrInput is an input type that accepts MountAdlArgs, MountAdlPtr and MountAdlPtrOutput values. +// You can construct a concrete instance of `MountAdlPtrInput` via: // -// NotificationDestinationConfigMicrosoftTeamsArgs{...} +// MountAdlArgs{...} // // or: // // nil -type NotificationDestinationConfigMicrosoftTeamsPtrInput interface { +type MountAdlPtrInput interface { pulumi.Input - ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput - ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput + ToMountAdlPtrOutput() MountAdlPtrOutput + ToMountAdlPtrOutputWithContext(context.Context) MountAdlPtrOutput +} + +type mountAdlPtrType MountAdlArgs + +func MountAdlPtr(v *MountAdlArgs) MountAdlPtrInput { + return (*mountAdlPtrType)(v) +} + +func (*mountAdlPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountAdl)(nil)).Elem() +} + +func (i *mountAdlPtrType) ToMountAdlPtrOutput() MountAdlPtrOutput { + return i.ToMountAdlPtrOutputWithContext(context.Background()) +} + +func (i *mountAdlPtrType) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountAdlPtrOutput) } -type notificationDestinationConfigMicrosoftTeamsPtrType NotificationDestinationConfigMicrosoftTeamsArgs +type MountAdlOutput struct{ *pulumi.OutputState } -func NotificationDestinationConfigMicrosoftTeamsPtr(v *NotificationDestinationConfigMicrosoftTeamsArgs) NotificationDestinationConfigMicrosoftTeamsPtrInput { - return (*notificationDestinationConfigMicrosoftTeamsPtrType)(v) +func (MountAdlOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountAdl)(nil)).Elem() } -func (*notificationDestinationConfigMicrosoftTeamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() +func (o MountAdlOutput) ToMountAdlOutput() MountAdlOutput { + return o } -func (i *notificationDestinationConfigMicrosoftTeamsPtrType) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return i.ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Background()) +func (o MountAdlOutput) ToMountAdlOutputWithContext(ctx context.Context) MountAdlOutput { + return o } -func (i *notificationDestinationConfigMicrosoftTeamsPtrType) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) +func (o MountAdlOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { + return o.ToMountAdlPtrOutputWithContext(context.Background()) } -type NotificationDestinationConfigMicrosoftTeamsOutput struct{ *pulumi.OutputState } +func (o MountAdlOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountAdl) *MountAdl { + return &v + }).(MountAdlPtrOutput) +} -func (NotificationDestinationConfigMicrosoftTeamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() +func (o MountAdlOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v MountAdl) string { return v.ClientId }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsOutput() NotificationDestinationConfigMicrosoftTeamsOutput { - return o +func (o MountAdlOutput) ClientSecretKey() pulumi.StringOutput { + return o.ApplyT(func(v MountAdl) string { return v.ClientSecretKey }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsOutput { - return o +func (o MountAdlOutput) ClientSecretScope() pulumi.StringOutput { + return o.ApplyT(func(v MountAdl) string { return v.ClientSecretScope }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return o.ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Background()) +func (o MountAdlOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.Directory }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigMicrosoftTeams) *NotificationDestinationConfigMicrosoftTeams { - return &v - }).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) +func (o MountAdlOutput) SparkConfPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.SparkConfPrefix }).(pulumi.StringPtrOutput) } -// The Microsoft Teams webhook URL. -func (o NotificationDestinationConfigMicrosoftTeamsOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigMicrosoftTeams) *string { return v.Url }).(pulumi.StringPtrOutput) +func (o MountAdlOutput) StorageResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.StorageResourceName }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigMicrosoftTeamsOutput) UrlSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigMicrosoftTeams) *bool { return v.UrlSet }).(pulumi.BoolPtrOutput) +func (o MountAdlOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountAdl) *string { return v.TenantId }).(pulumi.StringPtrOutput) } -type NotificationDestinationConfigMicrosoftTeamsPtrOutput struct{ *pulumi.OutputState } +type MountAdlPtrOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigMicrosoftTeamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() +func (MountAdlPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountAdl)(nil)).Elem() } -func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { +func (o MountAdlPtrOutput) ToMountAdlPtrOutput() MountAdlPtrOutput { return o } -func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { +func (o MountAdlPtrOutput) ToMountAdlPtrOutputWithContext(ctx context.Context) MountAdlPtrOutput { return o } -func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) Elem() NotificationDestinationConfigMicrosoftTeamsOutput { - return o.ApplyT(func(v *NotificationDestinationConfigMicrosoftTeams) NotificationDestinationConfigMicrosoftTeams { +func (o MountAdlPtrOutput) Elem() MountAdlOutput { + return o.ApplyT(func(v *MountAdl) MountAdl { if v != nil { return *v } - var ret NotificationDestinationConfigMicrosoftTeams + var ret MountAdl return ret - }).(NotificationDestinationConfigMicrosoftTeamsOutput) + }).(MountAdlOutput) } -// The Microsoft Teams webhook URL. -func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigMicrosoftTeams) *string { +func (o MountAdlPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { if v == nil { return nil } - return v.Url + return &v.ClientId }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) UrlSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigMicrosoftTeams) *bool { +func (o MountAdlPtrOutput) ClientSecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { if v == nil { return nil } - return v.UrlSet - }).(pulumi.BoolPtrOutput) + return &v.ClientSecretKey + }).(pulumi.StringPtrOutput) } -type NotificationDestinationConfigPagerduty struct { - // The PagerDuty integration key. - IntegrationKey *string `pulumi:"integrationKey"` - IntegrationKeySet *bool `pulumi:"integrationKeySet"` +func (o MountAdlPtrOutput) ClientSecretScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return &v.ClientSecretScope + }).(pulumi.StringPtrOutput) } -// NotificationDestinationConfigPagerdutyInput is an input type that accepts NotificationDestinationConfigPagerdutyArgs and NotificationDestinationConfigPagerdutyOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigPagerdutyInput` via: +func (o MountAdlPtrOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.Directory + }).(pulumi.StringPtrOutput) +} + +func (o MountAdlPtrOutput) SparkConfPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.SparkConfPrefix + }).(pulumi.StringPtrOutput) +} + +func (o MountAdlPtrOutput) StorageResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.StorageResourceName + }).(pulumi.StringPtrOutput) +} + +func (o MountAdlPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountAdl) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) +} + +type MountGs struct { + BucketName string `pulumi:"bucketName"` + ServiceAccount *string `pulumi:"serviceAccount"` +} + +// MountGsInput is an input type that accepts MountGsArgs and MountGsOutput values. +// You can construct a concrete instance of `MountGsInput` via: // -// NotificationDestinationConfigPagerdutyArgs{...} -type NotificationDestinationConfigPagerdutyInput interface { +// MountGsArgs{...} +type MountGsInput interface { pulumi.Input - ToNotificationDestinationConfigPagerdutyOutput() NotificationDestinationConfigPagerdutyOutput - ToNotificationDestinationConfigPagerdutyOutputWithContext(context.Context) NotificationDestinationConfigPagerdutyOutput + ToMountGsOutput() MountGsOutput + ToMountGsOutputWithContext(context.Context) MountGsOutput } -type NotificationDestinationConfigPagerdutyArgs struct { - // The PagerDuty integration key. - IntegrationKey pulumi.StringPtrInput `pulumi:"integrationKey"` - IntegrationKeySet pulumi.BoolPtrInput `pulumi:"integrationKeySet"` +type MountGsArgs struct { + BucketName pulumi.StringInput `pulumi:"bucketName"` + ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` } -func (NotificationDestinationConfigPagerdutyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigPagerduty)(nil)).Elem() +func (MountGsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountGs)(nil)).Elem() } -func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyOutput() NotificationDestinationConfigPagerdutyOutput { - return i.ToNotificationDestinationConfigPagerdutyOutputWithContext(context.Background()) +func (i MountGsArgs) ToMountGsOutput() MountGsOutput { + return i.ToMountGsOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPagerdutyOutput) +func (i MountGsArgs) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput) } -func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { - return i.ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Background()) +func (i MountGsArgs) ToMountGsPtrOutput() MountGsPtrOutput { + return i.ToMountGsPtrOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPagerdutyOutput).ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx) +func (i MountGsArgs) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountGsOutput).ToMountGsPtrOutputWithContext(ctx) } -// NotificationDestinationConfigPagerdutyPtrInput is an input type that accepts NotificationDestinationConfigPagerdutyArgs, NotificationDestinationConfigPagerdutyPtr and NotificationDestinationConfigPagerdutyPtrOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigPagerdutyPtrInput` via: +// MountGsPtrInput is an input type that accepts MountGsArgs, MountGsPtr and MountGsPtrOutput values. +// You can construct a concrete instance of `MountGsPtrInput` via: // -// NotificationDestinationConfigPagerdutyArgs{...} +// MountGsArgs{...} // // or: // // nil -type NotificationDestinationConfigPagerdutyPtrInput interface { +type MountGsPtrInput interface { pulumi.Input - ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput - ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Context) NotificationDestinationConfigPagerdutyPtrOutput + ToMountGsPtrOutput() MountGsPtrOutput + ToMountGsPtrOutputWithContext(context.Context) MountGsPtrOutput } -type notificationDestinationConfigPagerdutyPtrType NotificationDestinationConfigPagerdutyArgs +type mountGsPtrType MountGsArgs -func NotificationDestinationConfigPagerdutyPtr(v *NotificationDestinationConfigPagerdutyArgs) NotificationDestinationConfigPagerdutyPtrInput { - return (*notificationDestinationConfigPagerdutyPtrType)(v) +func MountGsPtr(v *MountGsArgs) MountGsPtrInput { + return (*mountGsPtrType)(v) } -func (*notificationDestinationConfigPagerdutyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigPagerduty)(nil)).Elem() +func (*mountGsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountGs)(nil)).Elem() } -func (i *notificationDestinationConfigPagerdutyPtrType) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { - return i.ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Background()) +func (i *mountGsPtrType) ToMountGsPtrOutput() MountGsPtrOutput { + return i.ToMountGsPtrOutputWithContext(context.Background()) } -func (i *notificationDestinationConfigPagerdutyPtrType) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPagerdutyPtrOutput) +func (i *mountGsPtrType) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountGsPtrOutput) } -type NotificationDestinationConfigPagerdutyOutput struct{ *pulumi.OutputState } +type MountGsOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigPagerdutyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigPagerduty)(nil)).Elem() +func (MountGsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountGs)(nil)).Elem() } -func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyOutput() NotificationDestinationConfigPagerdutyOutput { +func (o MountGsOutput) ToMountGsOutput() MountGsOutput { return o } -func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyOutput { +func (o MountGsOutput) ToMountGsOutputWithContext(ctx context.Context) MountGsOutput { return o } -func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { - return o.ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Background()) +func (o MountGsOutput) ToMountGsPtrOutput() MountGsPtrOutput { + return o.ToMountGsPtrOutputWithContext(context.Background()) } -func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigPagerduty) *NotificationDestinationConfigPagerduty { +func (o MountGsOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountGs) *MountGs { return &v - }).(NotificationDestinationConfigPagerdutyPtrOutput) + }).(MountGsPtrOutput) } -// The PagerDuty integration key. -func (o NotificationDestinationConfigPagerdutyOutput) IntegrationKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigPagerduty) *string { return v.IntegrationKey }).(pulumi.StringPtrOutput) +func (o MountGsOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v MountGs) string { return v.BucketName }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigPagerdutyOutput) IntegrationKeySet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigPagerduty) *bool { return v.IntegrationKeySet }).(pulumi.BoolPtrOutput) +func (o MountGsOutput) ServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountGs) *string { return v.ServiceAccount }).(pulumi.StringPtrOutput) } -type NotificationDestinationConfigPagerdutyPtrOutput struct{ *pulumi.OutputState } +type MountGsPtrOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigPagerdutyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigPagerduty)(nil)).Elem() +func (MountGsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountGs)(nil)).Elem() } -func (o NotificationDestinationConfigPagerdutyPtrOutput) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { +func (o MountGsPtrOutput) ToMountGsPtrOutput() MountGsPtrOutput { return o } -func (o NotificationDestinationConfigPagerdutyPtrOutput) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { +func (o MountGsPtrOutput) ToMountGsPtrOutputWithContext(ctx context.Context) MountGsPtrOutput { return o } -func (o NotificationDestinationConfigPagerdutyPtrOutput) Elem() NotificationDestinationConfigPagerdutyOutput { - return o.ApplyT(func(v *NotificationDestinationConfigPagerduty) NotificationDestinationConfigPagerduty { +func (o MountGsPtrOutput) Elem() MountGsOutput { + return o.ApplyT(func(v *MountGs) MountGs { if v != nil { return *v } - var ret NotificationDestinationConfigPagerduty + var ret MountGs return ret - }).(NotificationDestinationConfigPagerdutyOutput) + }).(MountGsOutput) } -// The PagerDuty integration key. -func (o NotificationDestinationConfigPagerdutyPtrOutput) IntegrationKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigPagerduty) *string { +func (o MountGsPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountGs) *string { if v == nil { return nil } - return v.IntegrationKey + return &v.BucketName }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigPagerdutyPtrOutput) IntegrationKeySet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigPagerduty) *bool { +func (o MountGsPtrOutput) ServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountGs) *string { if v == nil { return nil } - return v.IntegrationKeySet - }).(pulumi.BoolPtrOutput) + return v.ServiceAccount + }).(pulumi.StringPtrOutput) } -type NotificationDestinationConfigSlack struct { - // The Slack webhook URL. - Url *string `pulumi:"url"` - UrlSet *bool `pulumi:"urlSet"` +type MountS3 struct { + BucketName string `pulumi:"bucketName"` + InstanceProfile *string `pulumi:"instanceProfile"` } -// NotificationDestinationConfigSlackInput is an input type that accepts NotificationDestinationConfigSlackArgs and NotificationDestinationConfigSlackOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigSlackInput` via: +// MountS3Input is an input type that accepts MountS3Args and MountS3Output values. +// You can construct a concrete instance of `MountS3Input` via: // -// NotificationDestinationConfigSlackArgs{...} -type NotificationDestinationConfigSlackInput interface { +// MountS3Args{...} +type MountS3Input interface { pulumi.Input - ToNotificationDestinationConfigSlackOutput() NotificationDestinationConfigSlackOutput - ToNotificationDestinationConfigSlackOutputWithContext(context.Context) NotificationDestinationConfigSlackOutput + ToMountS3Output() MountS3Output + ToMountS3OutputWithContext(context.Context) MountS3Output } -type NotificationDestinationConfigSlackArgs struct { - // The Slack webhook URL. - Url pulumi.StringPtrInput `pulumi:"url"` - UrlSet pulumi.BoolPtrInput `pulumi:"urlSet"` +type MountS3Args struct { + BucketName pulumi.StringInput `pulumi:"bucketName"` + InstanceProfile pulumi.StringPtrInput `pulumi:"instanceProfile"` } -func (NotificationDestinationConfigSlackArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigSlack)(nil)).Elem() +func (MountS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*MountS3)(nil)).Elem() } -func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackOutput() NotificationDestinationConfigSlackOutput { - return i.ToNotificationDestinationConfigSlackOutputWithContext(context.Background()) +func (i MountS3Args) ToMountS3Output() MountS3Output { + return i.ToMountS3OutputWithContext(context.Background()) } -func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigSlackOutput) +func (i MountS3Args) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { + return pulumi.ToOutputWithContext(ctx, i).(MountS3Output) } -func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { - return i.ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Background()) +func (i MountS3Args) ToMountS3PtrOutput() MountS3PtrOutput { + return i.ToMountS3PtrOutputWithContext(context.Background()) } -func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigSlackOutput).ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx) +func (i MountS3Args) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountS3Output).ToMountS3PtrOutputWithContext(ctx) } -// NotificationDestinationConfigSlackPtrInput is an input type that accepts NotificationDestinationConfigSlackArgs, NotificationDestinationConfigSlackPtr and NotificationDestinationConfigSlackPtrOutput values. -// You can construct a concrete instance of `NotificationDestinationConfigSlackPtrInput` via: +// MountS3PtrInput is an input type that accepts MountS3Args, MountS3Ptr and MountS3PtrOutput values. +// You can construct a concrete instance of `MountS3PtrInput` via: // -// NotificationDestinationConfigSlackArgs{...} +// MountS3Args{...} // // or: // // nil -type NotificationDestinationConfigSlackPtrInput interface { +type MountS3PtrInput interface { pulumi.Input - ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput - ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Context) NotificationDestinationConfigSlackPtrOutput + ToMountS3PtrOutput() MountS3PtrOutput + ToMountS3PtrOutputWithContext(context.Context) MountS3PtrOutput } -type notificationDestinationConfigSlackPtrType NotificationDestinationConfigSlackArgs +type mountS3PtrType MountS3Args -func NotificationDestinationConfigSlackPtr(v *NotificationDestinationConfigSlackArgs) NotificationDestinationConfigSlackPtrInput { - return (*notificationDestinationConfigSlackPtrType)(v) +func MountS3Ptr(v *MountS3Args) MountS3PtrInput { + return (*mountS3PtrType)(v) } -func (*notificationDestinationConfigSlackPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigSlack)(nil)).Elem() +func (*mountS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountS3)(nil)).Elem() } -func (i *notificationDestinationConfigSlackPtrType) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { - return i.ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Background()) +func (i *mountS3PtrType) ToMountS3PtrOutput() MountS3PtrOutput { + return i.ToMountS3PtrOutputWithContext(context.Background()) } -func (i *notificationDestinationConfigSlackPtrType) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigSlackPtrOutput) +func (i *mountS3PtrType) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountS3PtrOutput) } -type NotificationDestinationConfigSlackOutput struct{ *pulumi.OutputState } +type MountS3Output struct{ *pulumi.OutputState } -func (NotificationDestinationConfigSlackOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotificationDestinationConfigSlack)(nil)).Elem() +func (MountS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*MountS3)(nil)).Elem() } -func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackOutput() NotificationDestinationConfigSlackOutput { +func (o MountS3Output) ToMountS3Output() MountS3Output { return o } -func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackOutput { +func (o MountS3Output) ToMountS3OutputWithContext(ctx context.Context) MountS3Output { return o } -func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { - return o.ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Background()) +func (o MountS3Output) ToMountS3PtrOutput() MountS3PtrOutput { + return o.ToMountS3PtrOutputWithContext(context.Background()) } -func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigSlack) *NotificationDestinationConfigSlack { +func (o MountS3Output) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountS3) *MountS3 { return &v - }).(NotificationDestinationConfigSlackPtrOutput) + }).(MountS3PtrOutput) } -// The Slack webhook URL. -func (o NotificationDestinationConfigSlackOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigSlack) *string { return v.Url }).(pulumi.StringPtrOutput) +func (o MountS3Output) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v MountS3) string { return v.BucketName }).(pulumi.StringOutput) } -func (o NotificationDestinationConfigSlackOutput) UrlSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotificationDestinationConfigSlack) *bool { return v.UrlSet }).(pulumi.BoolPtrOutput) +func (o MountS3Output) InstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountS3) *string { return v.InstanceProfile }).(pulumi.StringPtrOutput) } -type NotificationDestinationConfigSlackPtrOutput struct{ *pulumi.OutputState } +type MountS3PtrOutput struct{ *pulumi.OutputState } -func (NotificationDestinationConfigSlackPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotificationDestinationConfigSlack)(nil)).Elem() +func (MountS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountS3)(nil)).Elem() } -func (o NotificationDestinationConfigSlackPtrOutput) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { +func (o MountS3PtrOutput) ToMountS3PtrOutput() MountS3PtrOutput { return o } -func (o NotificationDestinationConfigSlackPtrOutput) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { +func (o MountS3PtrOutput) ToMountS3PtrOutputWithContext(ctx context.Context) MountS3PtrOutput { return o } -func (o NotificationDestinationConfigSlackPtrOutput) Elem() NotificationDestinationConfigSlackOutput { - return o.ApplyT(func(v *NotificationDestinationConfigSlack) NotificationDestinationConfigSlack { +func (o MountS3PtrOutput) Elem() MountS3Output { + return o.ApplyT(func(v *MountS3) MountS3 { if v != nil { return *v } - var ret NotificationDestinationConfigSlack + var ret MountS3 return ret - }).(NotificationDestinationConfigSlackOutput) + }).(MountS3Output) } -// The Slack webhook URL. -func (o NotificationDestinationConfigSlackPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigSlack) *string { +func (o MountS3PtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountS3) *string { if v == nil { return nil } - return v.Url + return &v.BucketName }).(pulumi.StringPtrOutput) } -func (o NotificationDestinationConfigSlackPtrOutput) UrlSet() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotificationDestinationConfigSlack) *bool { +func (o MountS3PtrOutput) InstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountS3) *string { if v == nil { return nil } - return v.UrlSet - }).(pulumi.BoolPtrOutput) + return v.InstanceProfile + }).(pulumi.StringPtrOutput) } -type OnlineTableSpec struct { - // Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. - PerformFullCopy *bool `pulumi:"performFullCopy"` - // ID of the associated Delta Live Table pipeline. - PipelineId *string `pulumi:"pipelineId"` - // list of the columns comprising the primary key. - PrimaryKeyColumns []string `pulumi:"primaryKeyColumns"` - // empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. - RunContinuously *OnlineTableSpecRunContinuously `pulumi:"runContinuously"` - // empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). - RunTriggered *OnlineTableSpecRunTriggered `pulumi:"runTriggered"` - // full name of the source table. - SourceTableFullName *string `pulumi:"sourceTableFullName"` - // Time series key to deduplicate (tie-break) rows with the same primary key. - TimeseriesKey *string `pulumi:"timeseriesKey"` +type MountWasb struct { + AuthType string `pulumi:"authType"` + ContainerName *string `pulumi:"containerName"` + Directory *string `pulumi:"directory"` + StorageAccountName *string `pulumi:"storageAccountName"` + TokenSecretKey string `pulumi:"tokenSecretKey"` + TokenSecretScope string `pulumi:"tokenSecretScope"` } -// OnlineTableSpecInput is an input type that accepts OnlineTableSpecArgs and OnlineTableSpecOutput values. -// You can construct a concrete instance of `OnlineTableSpecInput` via: +// MountWasbInput is an input type that accepts MountWasbArgs and MountWasbOutput values. +// You can construct a concrete instance of `MountWasbInput` via: // -// OnlineTableSpecArgs{...} -type OnlineTableSpecInput interface { +// MountWasbArgs{...} +type MountWasbInput interface { pulumi.Input - ToOnlineTableSpecOutput() OnlineTableSpecOutput - ToOnlineTableSpecOutputWithContext(context.Context) OnlineTableSpecOutput + ToMountWasbOutput() MountWasbOutput + ToMountWasbOutputWithContext(context.Context) MountWasbOutput } -type OnlineTableSpecArgs struct { - // Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. - PerformFullCopy pulumi.BoolPtrInput `pulumi:"performFullCopy"` - // ID of the associated Delta Live Table pipeline. - PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` - // list of the columns comprising the primary key. - PrimaryKeyColumns pulumi.StringArrayInput `pulumi:"primaryKeyColumns"` - // empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. - RunContinuously OnlineTableSpecRunContinuouslyPtrInput `pulumi:"runContinuously"` - // empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). - RunTriggered OnlineTableSpecRunTriggeredPtrInput `pulumi:"runTriggered"` - // full name of the source table. - SourceTableFullName pulumi.StringPtrInput `pulumi:"sourceTableFullName"` - // Time series key to deduplicate (tie-break) rows with the same primary key. - TimeseriesKey pulumi.StringPtrInput `pulumi:"timeseriesKey"` +type MountWasbArgs struct { + AuthType pulumi.StringInput `pulumi:"authType"` + ContainerName pulumi.StringPtrInput `pulumi:"containerName"` + Directory pulumi.StringPtrInput `pulumi:"directory"` + StorageAccountName pulumi.StringPtrInput `pulumi:"storageAccountName"` + TokenSecretKey pulumi.StringInput `pulumi:"tokenSecretKey"` + TokenSecretScope pulumi.StringInput `pulumi:"tokenSecretScope"` } -func (OnlineTableSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableSpec)(nil)).Elem() +func (MountWasbArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MountWasb)(nil)).Elem() } -func (i OnlineTableSpecArgs) ToOnlineTableSpecOutput() OnlineTableSpecOutput { - return i.ToOnlineTableSpecOutputWithContext(context.Background()) +func (i MountWasbArgs) ToMountWasbOutput() MountWasbOutput { + return i.ToMountWasbOutputWithContext(context.Background()) } -func (i OnlineTableSpecArgs) ToOnlineTableSpecOutputWithContext(ctx context.Context) OnlineTableSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecOutput) +func (i MountWasbArgs) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput) } -func (i OnlineTableSpecArgs) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { - return i.ToOnlineTableSpecPtrOutputWithContext(context.Background()) +func (i MountWasbArgs) ToMountWasbPtrOutput() MountWasbPtrOutput { + return i.ToMountWasbPtrOutputWithContext(context.Background()) } -func (i OnlineTableSpecArgs) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecOutput).ToOnlineTableSpecPtrOutputWithContext(ctx) +func (i MountWasbArgs) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountWasbOutput).ToMountWasbPtrOutputWithContext(ctx) } -// OnlineTableSpecPtrInput is an input type that accepts OnlineTableSpecArgs, OnlineTableSpecPtr and OnlineTableSpecPtrOutput values. -// You can construct a concrete instance of `OnlineTableSpecPtrInput` via: +// MountWasbPtrInput is an input type that accepts MountWasbArgs, MountWasbPtr and MountWasbPtrOutput values. +// You can construct a concrete instance of `MountWasbPtrInput` via: // -// OnlineTableSpecArgs{...} +// MountWasbArgs{...} // // or: // // nil -type OnlineTableSpecPtrInput interface { +type MountWasbPtrInput interface { pulumi.Input - ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput - ToOnlineTableSpecPtrOutputWithContext(context.Context) OnlineTableSpecPtrOutput + ToMountWasbPtrOutput() MountWasbPtrOutput + ToMountWasbPtrOutputWithContext(context.Context) MountWasbPtrOutput } -type onlineTableSpecPtrType OnlineTableSpecArgs +type mountWasbPtrType MountWasbArgs -func OnlineTableSpecPtr(v *OnlineTableSpecArgs) OnlineTableSpecPtrInput { - return (*onlineTableSpecPtrType)(v) +func MountWasbPtr(v *MountWasbArgs) MountWasbPtrInput { + return (*mountWasbPtrType)(v) } -func (*onlineTableSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableSpec)(nil)).Elem() +func (*mountWasbPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MountWasb)(nil)).Elem() } - -func (i *onlineTableSpecPtrType) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { - return i.ToOnlineTableSpecPtrOutputWithContext(context.Background()) + +func (i *mountWasbPtrType) ToMountWasbPtrOutput() MountWasbPtrOutput { + return i.ToMountWasbPtrOutputWithContext(context.Background()) } -func (i *onlineTableSpecPtrType) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecPtrOutput) +func (i *mountWasbPtrType) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MountWasbPtrOutput) } -type OnlineTableSpecOutput struct{ *pulumi.OutputState } +type MountWasbOutput struct{ *pulumi.OutputState } -func (OnlineTableSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableSpec)(nil)).Elem() +func (MountWasbOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MountWasb)(nil)).Elem() } -func (o OnlineTableSpecOutput) ToOnlineTableSpecOutput() OnlineTableSpecOutput { +func (o MountWasbOutput) ToMountWasbOutput() MountWasbOutput { return o } -func (o OnlineTableSpecOutput) ToOnlineTableSpecOutputWithContext(ctx context.Context) OnlineTableSpecOutput { +func (o MountWasbOutput) ToMountWasbOutputWithContext(ctx context.Context) MountWasbOutput { return o } -func (o OnlineTableSpecOutput) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { - return o.ToOnlineTableSpecPtrOutputWithContext(context.Background()) +func (o MountWasbOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { + return o.ToMountWasbPtrOutputWithContext(context.Background()) } -func (o OnlineTableSpecOutput) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpec) *OnlineTableSpec { +func (o MountWasbOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MountWasb) *MountWasb { return &v - }).(OnlineTableSpecPtrOutput) -} - -// Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. -func (o OnlineTableSpecOutput) PerformFullCopy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OnlineTableSpec) *bool { return v.PerformFullCopy }).(pulumi.BoolPtrOutput) + }).(MountWasbPtrOutput) } -// ID of the associated Delta Live Table pipeline. -func (o OnlineTableSpecOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableSpec) *string { return v.PipelineId }).(pulumi.StringPtrOutput) +func (o MountWasbOutput) AuthType() pulumi.StringOutput { + return o.ApplyT(func(v MountWasb) string { return v.AuthType }).(pulumi.StringOutput) } -// list of the columns comprising the primary key. -func (o OnlineTableSpecOutput) PrimaryKeyColumns() pulumi.StringArrayOutput { - return o.ApplyT(func(v OnlineTableSpec) []string { return v.PrimaryKeyColumns }).(pulumi.StringArrayOutput) +func (o MountWasbOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountWasb) *string { return v.ContainerName }).(pulumi.StringPtrOutput) } -// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. -func (o OnlineTableSpecOutput) RunContinuously() OnlineTableSpecRunContinuouslyPtrOutput { - return o.ApplyT(func(v OnlineTableSpec) *OnlineTableSpecRunContinuously { return v.RunContinuously }).(OnlineTableSpecRunContinuouslyPtrOutput) +func (o MountWasbOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountWasb) *string { return v.Directory }).(pulumi.StringPtrOutput) } -// empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). -func (o OnlineTableSpecOutput) RunTriggered() OnlineTableSpecRunTriggeredPtrOutput { - return o.ApplyT(func(v OnlineTableSpec) *OnlineTableSpecRunTriggered { return v.RunTriggered }).(OnlineTableSpecRunTriggeredPtrOutput) +func (o MountWasbOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MountWasb) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) } -// full name of the source table. -func (o OnlineTableSpecOutput) SourceTableFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableSpec) *string { return v.SourceTableFullName }).(pulumi.StringPtrOutput) +func (o MountWasbOutput) TokenSecretKey() pulumi.StringOutput { + return o.ApplyT(func(v MountWasb) string { return v.TokenSecretKey }).(pulumi.StringOutput) } -// Time series key to deduplicate (tie-break) rows with the same primary key. -func (o OnlineTableSpecOutput) TimeseriesKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableSpec) *string { return v.TimeseriesKey }).(pulumi.StringPtrOutput) +func (o MountWasbOutput) TokenSecretScope() pulumi.StringOutput { + return o.ApplyT(func(v MountWasb) string { return v.TokenSecretScope }).(pulumi.StringOutput) } -type OnlineTableSpecPtrOutput struct{ *pulumi.OutputState } +type MountWasbPtrOutput struct{ *pulumi.OutputState } -func (OnlineTableSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableSpec)(nil)).Elem() +func (MountWasbPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MountWasb)(nil)).Elem() } -func (o OnlineTableSpecPtrOutput) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { +func (o MountWasbPtrOutput) ToMountWasbPtrOutput() MountWasbPtrOutput { return o } -func (o OnlineTableSpecPtrOutput) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { +func (o MountWasbPtrOutput) ToMountWasbPtrOutputWithContext(ctx context.Context) MountWasbPtrOutput { return o } -func (o OnlineTableSpecPtrOutput) Elem() OnlineTableSpecOutput { - return o.ApplyT(func(v *OnlineTableSpec) OnlineTableSpec { +func (o MountWasbPtrOutput) Elem() MountWasbOutput { + return o.ApplyT(func(v *MountWasb) MountWasb { if v != nil { return *v } - var ret OnlineTableSpec + var ret MountWasb return ret - }).(OnlineTableSpecOutput) -} - -// Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. -func (o OnlineTableSpecPtrOutput) PerformFullCopy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OnlineTableSpec) *bool { - if v == nil { - return nil - } - return v.PerformFullCopy - }).(pulumi.BoolPtrOutput) + }).(MountWasbOutput) } -// ID of the associated Delta Live Table pipeline. -func (o OnlineTableSpecPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OnlineTableSpec) *string { +func (o MountWasbPtrOutput) AuthType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.PipelineId + return &v.AuthType }).(pulumi.StringPtrOutput) } -// list of the columns comprising the primary key. -func (o OnlineTableSpecPtrOutput) PrimaryKeyColumns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *OnlineTableSpec) []string { +func (o MountWasbPtrOutput) ContainerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.PrimaryKeyColumns - }).(pulumi.StringArrayOutput) + return v.ContainerName + }).(pulumi.StringPtrOutput) } -// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. -func (o OnlineTableSpecPtrOutput) RunContinuously() OnlineTableSpecRunContinuouslyPtrOutput { - return o.ApplyT(func(v *OnlineTableSpec) *OnlineTableSpecRunContinuously { +func (o MountWasbPtrOutput) Directory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.RunContinuously - }).(OnlineTableSpecRunContinuouslyPtrOutput) + return v.Directory + }).(pulumi.StringPtrOutput) } -// empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). -func (o OnlineTableSpecPtrOutput) RunTriggered() OnlineTableSpecRunTriggeredPtrOutput { - return o.ApplyT(func(v *OnlineTableSpec) *OnlineTableSpecRunTriggered { +func (o MountWasbPtrOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.RunTriggered - }).(OnlineTableSpecRunTriggeredPtrOutput) + return v.StorageAccountName + }).(pulumi.StringPtrOutput) } -// full name of the source table. -func (o OnlineTableSpecPtrOutput) SourceTableFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OnlineTableSpec) *string { +func (o MountWasbPtrOutput) TokenSecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.SourceTableFullName + return &v.TokenSecretKey }).(pulumi.StringPtrOutput) } -// Time series key to deduplicate (tie-break) rows with the same primary key. -func (o OnlineTableSpecPtrOutput) TimeseriesKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OnlineTableSpec) *string { +func (o MountWasbPtrOutput) TokenSecretScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MountWasb) *string { if v == nil { return nil } - return v.TimeseriesKey + return &v.TokenSecretScope }).(pulumi.StringPtrOutput) } -type OnlineTableSpecRunContinuously struct { +type MwsCustomerManagedKeysAwsKeyInfo struct { + // The AWS KMS key alias. + KeyAlias *string `pulumi:"keyAlias"` + // The AWS KMS key's Amazon Resource Name (ARN). + KeyArn string `pulumi:"keyArn"` + // (Computed) The AWS region in which KMS key is deployed to. This is not required. + KeyRegion *string `pulumi:"keyRegion"` } -// OnlineTableSpecRunContinuouslyInput is an input type that accepts OnlineTableSpecRunContinuouslyArgs and OnlineTableSpecRunContinuouslyOutput values. -// You can construct a concrete instance of `OnlineTableSpecRunContinuouslyInput` via: +// MwsCustomerManagedKeysAwsKeyInfoInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs and MwsCustomerManagedKeysAwsKeyInfoOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoInput` via: // -// OnlineTableSpecRunContinuouslyArgs{...} -type OnlineTableSpecRunContinuouslyInput interface { +// MwsCustomerManagedKeysAwsKeyInfoArgs{...} +type MwsCustomerManagedKeysAwsKeyInfoInput interface { pulumi.Input - ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput - ToOnlineTableSpecRunContinuouslyOutputWithContext(context.Context) OnlineTableSpecRunContinuouslyOutput + ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput + ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput } -type OnlineTableSpecRunContinuouslyArgs struct { +type MwsCustomerManagedKeysAwsKeyInfoArgs struct { + // The AWS KMS key alias. + KeyAlias pulumi.StringPtrInput `pulumi:"keyAlias"` + // The AWS KMS key's Amazon Resource Name (ARN). + KeyArn pulumi.StringInput `pulumi:"keyArn"` + // (Computed) The AWS region in which KMS key is deployed to. This is not required. + KeyRegion pulumi.StringPtrInput `pulumi:"keyRegion"` } -func (OnlineTableSpecRunContinuouslyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableSpecRunContinuously)(nil)).Elem() +func (MwsCustomerManagedKeysAwsKeyInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput { - return i.ToOnlineTableSpecRunContinuouslyOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { + return i.ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(context.Background()) } -func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyOutput) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput) } -func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { - return i.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) } -func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyOutput).ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx) +func (i MwsCustomerManagedKeysAwsKeyInfoArgs) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoOutput).ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx) } -// OnlineTableSpecRunContinuouslyPtrInput is an input type that accepts OnlineTableSpecRunContinuouslyArgs, OnlineTableSpecRunContinuouslyPtr and OnlineTableSpecRunContinuouslyPtrOutput values. -// You can construct a concrete instance of `OnlineTableSpecRunContinuouslyPtrInput` via: +// MwsCustomerManagedKeysAwsKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysAwsKeyInfoArgs, MwsCustomerManagedKeysAwsKeyInfoPtr and MwsCustomerManagedKeysAwsKeyInfoPtrOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysAwsKeyInfoPtrInput` via: // -// OnlineTableSpecRunContinuouslyArgs{...} +// MwsCustomerManagedKeysAwsKeyInfoArgs{...} // // or: // // nil -type OnlineTableSpecRunContinuouslyPtrInput interface { +type MwsCustomerManagedKeysAwsKeyInfoPtrInput interface { pulumi.Input - ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput - ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Context) OnlineTableSpecRunContinuouslyPtrOutput + ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput + ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput } -type onlineTableSpecRunContinuouslyPtrType OnlineTableSpecRunContinuouslyArgs +type mwsCustomerManagedKeysAwsKeyInfoPtrType MwsCustomerManagedKeysAwsKeyInfoArgs -func OnlineTableSpecRunContinuouslyPtr(v *OnlineTableSpecRunContinuouslyArgs) OnlineTableSpecRunContinuouslyPtrInput { - return (*onlineTableSpecRunContinuouslyPtrType)(v) +func MwsCustomerManagedKeysAwsKeyInfoPtr(v *MwsCustomerManagedKeysAwsKeyInfoArgs) MwsCustomerManagedKeysAwsKeyInfoPtrInput { + return (*mwsCustomerManagedKeysAwsKeyInfoPtrType)(v) } -func (*onlineTableSpecRunContinuouslyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableSpecRunContinuously)(nil)).Elem() +func (*mwsCustomerManagedKeysAwsKeyInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (i *onlineTableSpecRunContinuouslyPtrType) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { - return i.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) +func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) } -func (i *onlineTableSpecRunContinuouslyPtrType) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyPtrOutput) +func (i *mwsCustomerManagedKeysAwsKeyInfoPtrType) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) } -type OnlineTableSpecRunContinuouslyOutput struct{ *pulumi.OutputState } +type MwsCustomerManagedKeysAwsKeyInfoOutput struct{ *pulumi.OutputState } -func (OnlineTableSpecRunContinuouslyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableSpecRunContinuously)(nil)).Elem() +func (MwsCustomerManagedKeysAwsKeyInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() } -func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutput() MwsCustomerManagedKeysAwsKeyInfoOutput { return o } -func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoOutput { return o } -func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { - return o.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return o.ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(context.Background()) } -func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpecRunContinuously) *OnlineTableSpecRunContinuously { +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysAwsKeyInfo) *MwsCustomerManagedKeysAwsKeyInfo { return &v - }).(OnlineTableSpecRunContinuouslyPtrOutput) + }).(MwsCustomerManagedKeysAwsKeyInfoPtrOutput) } -type OnlineTableSpecRunContinuouslyPtrOutput struct{ *pulumi.OutputState } +// The AWS KMS key alias. +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyAlias() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) *string { return v.KeyAlias }).(pulumi.StringPtrOutput) +} -func (OnlineTableSpecRunContinuouslyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableSpecRunContinuously)(nil)).Elem() +// The AWS KMS key's Amazon Resource Name (ARN). +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyArn() pulumi.StringOutput { + return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) string { return v.KeyArn }).(pulumi.StringOutput) } -func (o OnlineTableSpecRunContinuouslyPtrOutput) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { +// (Computed) The AWS region in which KMS key is deployed to. This is not required. +func (o MwsCustomerManagedKeysAwsKeyInfoOutput) KeyRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsCustomerManagedKeysAwsKeyInfo) *string { return v.KeyRegion }).(pulumi.StringPtrOutput) +} + +type MwsCustomerManagedKeysAwsKeyInfoPtrOutput struct{ *pulumi.OutputState } + +func (MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysAwsKeyInfo)(nil)).Elem() +} + +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutput() MwsCustomerManagedKeysAwsKeyInfoPtrOutput { return o } -func (o OnlineTableSpecRunContinuouslyPtrOutput) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) ToMwsCustomerManagedKeysAwsKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysAwsKeyInfoPtrOutput { return o } -func (o OnlineTableSpecRunContinuouslyPtrOutput) Elem() OnlineTableSpecRunContinuouslyOutput { - return o.ApplyT(func(v *OnlineTableSpecRunContinuously) OnlineTableSpecRunContinuously { +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysAwsKeyInfoOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) MwsCustomerManagedKeysAwsKeyInfo { if v != nil { return *v } - var ret OnlineTableSpecRunContinuously + var ret MwsCustomerManagedKeysAwsKeyInfo return ret - }).(OnlineTableSpecRunContinuouslyOutput) + }).(MwsCustomerManagedKeysAwsKeyInfoOutput) } -type OnlineTableSpecRunTriggered struct { +// The AWS KMS key alias. +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) KeyAlias() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) *string { + if v == nil { + return nil + } + return v.KeyAlias + }).(pulumi.StringPtrOutput) } -// OnlineTableSpecRunTriggeredInput is an input type that accepts OnlineTableSpecRunTriggeredArgs and OnlineTableSpecRunTriggeredOutput values. -// You can construct a concrete instance of `OnlineTableSpecRunTriggeredInput` via: +// The AWS KMS key's Amazon Resource Name (ARN). +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) KeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) *string { + if v == nil { + return nil + } + return &v.KeyArn + }).(pulumi.StringPtrOutput) +} + +// (Computed) The AWS region in which KMS key is deployed to. This is not required. +func (o MwsCustomerManagedKeysAwsKeyInfoPtrOutput) KeyRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysAwsKeyInfo) *string { + if v == nil { + return nil + } + return v.KeyRegion + }).(pulumi.StringPtrOutput) +} + +type MwsCustomerManagedKeysGcpKeyInfo struct { + // The GCP KMS key's resource name. + KmsKeyId string `pulumi:"kmsKeyId"` +} + +// MwsCustomerManagedKeysGcpKeyInfoInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs and MwsCustomerManagedKeysGcpKeyInfoOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoInput` via: // -// OnlineTableSpecRunTriggeredArgs{...} -type OnlineTableSpecRunTriggeredInput interface { +// MwsCustomerManagedKeysGcpKeyInfoArgs{...} +type MwsCustomerManagedKeysGcpKeyInfoInput interface { pulumi.Input - ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput - ToOnlineTableSpecRunTriggeredOutputWithContext(context.Context) OnlineTableSpecRunTriggeredOutput + ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput + ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput } -type OnlineTableSpecRunTriggeredArgs struct { +type MwsCustomerManagedKeysGcpKeyInfoArgs struct { + // The GCP KMS key's resource name. + KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` } -func (OnlineTableSpecRunTriggeredArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableSpecRunTriggered)(nil)).Elem() +func (MwsCustomerManagedKeysGcpKeyInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput { - return i.ToOnlineTableSpecRunTriggeredOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { + return i.ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(context.Background()) } -func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredOutput) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput) } -func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { - return i.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) } -func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredOutput).ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx) +func (i MwsCustomerManagedKeysGcpKeyInfoArgs) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoOutput).ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx) } -// OnlineTableSpecRunTriggeredPtrInput is an input type that accepts OnlineTableSpecRunTriggeredArgs, OnlineTableSpecRunTriggeredPtr and OnlineTableSpecRunTriggeredPtrOutput values. -// You can construct a concrete instance of `OnlineTableSpecRunTriggeredPtrInput` via: +// MwsCustomerManagedKeysGcpKeyInfoPtrInput is an input type that accepts MwsCustomerManagedKeysGcpKeyInfoArgs, MwsCustomerManagedKeysGcpKeyInfoPtr and MwsCustomerManagedKeysGcpKeyInfoPtrOutput values. +// You can construct a concrete instance of `MwsCustomerManagedKeysGcpKeyInfoPtrInput` via: // -// OnlineTableSpecRunTriggeredArgs{...} +// MwsCustomerManagedKeysGcpKeyInfoArgs{...} // // or: // // nil -type OnlineTableSpecRunTriggeredPtrInput interface { +type MwsCustomerManagedKeysGcpKeyInfoPtrInput interface { pulumi.Input - ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput - ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Context) OnlineTableSpecRunTriggeredPtrOutput + ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput + ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput } -type onlineTableSpecRunTriggeredPtrType OnlineTableSpecRunTriggeredArgs +type mwsCustomerManagedKeysGcpKeyInfoPtrType MwsCustomerManagedKeysGcpKeyInfoArgs -func OnlineTableSpecRunTriggeredPtr(v *OnlineTableSpecRunTriggeredArgs) OnlineTableSpecRunTriggeredPtrInput { - return (*onlineTableSpecRunTriggeredPtrType)(v) +func MwsCustomerManagedKeysGcpKeyInfoPtr(v *MwsCustomerManagedKeysGcpKeyInfoArgs) MwsCustomerManagedKeysGcpKeyInfoPtrInput { + return (*mwsCustomerManagedKeysGcpKeyInfoPtrType)(v) } -func (*onlineTableSpecRunTriggeredPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableSpecRunTriggered)(nil)).Elem() +func (*mwsCustomerManagedKeysGcpKeyInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (i *onlineTableSpecRunTriggeredPtrType) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { - return i.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) +func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return i.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) } -func (i *onlineTableSpecRunTriggeredPtrType) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredPtrOutput) +func (i *mwsCustomerManagedKeysGcpKeyInfoPtrType) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) } -type OnlineTableSpecRunTriggeredOutput struct{ *pulumi.OutputState } +type MwsCustomerManagedKeysGcpKeyInfoOutput struct{ *pulumi.OutputState } -func (OnlineTableSpecRunTriggeredOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableSpecRunTriggered)(nil)).Elem() +func (MwsCustomerManagedKeysGcpKeyInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutput() MwsCustomerManagedKeysGcpKeyInfoOutput { return o } -func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoOutput { return o } -func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { - return o.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return o.ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(context.Background()) } -func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpecRunTriggered) *OnlineTableSpecRunTriggered { +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsCustomerManagedKeysGcpKeyInfo) *MwsCustomerManagedKeysGcpKeyInfo { return &v - }).(OnlineTableSpecRunTriggeredPtrOutput) + }).(MwsCustomerManagedKeysGcpKeyInfoPtrOutput) } -type OnlineTableSpecRunTriggeredPtrOutput struct{ *pulumi.OutputState } +// The GCP KMS key's resource name. +func (o MwsCustomerManagedKeysGcpKeyInfoOutput) KmsKeyId() pulumi.StringOutput { + return o.ApplyT(func(v MwsCustomerManagedKeysGcpKeyInfo) string { return v.KmsKeyId }).(pulumi.StringOutput) +} -func (OnlineTableSpecRunTriggeredPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableSpecRunTriggered)(nil)).Elem() +type MwsCustomerManagedKeysGcpKeyInfoPtrOutput struct{ *pulumi.OutputState } + +func (MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsCustomerManagedKeysGcpKeyInfo)(nil)).Elem() } -func (o OnlineTableSpecRunTriggeredPtrOutput) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutput() MwsCustomerManagedKeysGcpKeyInfoPtrOutput { return o } -func (o OnlineTableSpecRunTriggeredPtrOutput) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) ToMwsCustomerManagedKeysGcpKeyInfoPtrOutputWithContext(ctx context.Context) MwsCustomerManagedKeysGcpKeyInfoPtrOutput { return o } -func (o OnlineTableSpecRunTriggeredPtrOutput) Elem() OnlineTableSpecRunTriggeredOutput { - return o.ApplyT(func(v *OnlineTableSpecRunTriggered) OnlineTableSpecRunTriggered { +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) Elem() MwsCustomerManagedKeysGcpKeyInfoOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) MwsCustomerManagedKeysGcpKeyInfo { if v != nil { return *v } - var ret OnlineTableSpecRunTriggered + var ret MwsCustomerManagedKeysGcpKeyInfo return ret - }).(OnlineTableSpecRunTriggeredOutput) + }).(MwsCustomerManagedKeysGcpKeyInfoOutput) } -type OnlineTableStatus struct { - ContinuousUpdateStatus *OnlineTableStatusContinuousUpdateStatus `pulumi:"continuousUpdateStatus"` - // The state of the online table. - DetailedState *string `pulumi:"detailedState"` - FailedStatus *OnlineTableStatusFailedStatus `pulumi:"failedStatus"` - // A text description of the current state of the online table. - Message *string `pulumi:"message"` - ProvisioningStatus *OnlineTableStatusProvisioningStatus `pulumi:"provisioningStatus"` - TriggeredUpdateStatus *OnlineTableStatusTriggeredUpdateStatus `pulumi:"triggeredUpdateStatus"` +// The GCP KMS key's resource name. +func (o MwsCustomerManagedKeysGcpKeyInfoPtrOutput) KmsKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsCustomerManagedKeysGcpKeyInfo) *string { + if v == nil { + return nil + } + return &v.KmsKeyId + }).(pulumi.StringPtrOutput) } -// OnlineTableStatusInput is an input type that accepts OnlineTableStatusArgs and OnlineTableStatusOutput values. -// You can construct a concrete instance of `OnlineTableStatusInput` via: +type MwsNetworkConnectivityConfigEgressConfig struct { + // block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + DefaultRules *MwsNetworkConnectivityConfigEgressConfigDefaultRules `pulumi:"defaultRules"` + // block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + TargetRules *MwsNetworkConnectivityConfigEgressConfigTargetRules `pulumi:"targetRules"` +} + +// MwsNetworkConnectivityConfigEgressConfigInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigArgs and MwsNetworkConnectivityConfigEgressConfigOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigInput` via: // -// OnlineTableStatusArgs{...} -type OnlineTableStatusInput interface { +// MwsNetworkConnectivityConfigEgressConfigArgs{...} +type MwsNetworkConnectivityConfigEgressConfigInput interface { pulumi.Input - ToOnlineTableStatusOutput() OnlineTableStatusOutput - ToOnlineTableStatusOutputWithContext(context.Context) OnlineTableStatusOutput + ToMwsNetworkConnectivityConfigEgressConfigOutput() MwsNetworkConnectivityConfigEgressConfigOutput + ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigOutput } -type OnlineTableStatusArgs struct { - ContinuousUpdateStatus OnlineTableStatusContinuousUpdateStatusPtrInput `pulumi:"continuousUpdateStatus"` - // The state of the online table. - DetailedState pulumi.StringPtrInput `pulumi:"detailedState"` - FailedStatus OnlineTableStatusFailedStatusPtrInput `pulumi:"failedStatus"` - // A text description of the current state of the online table. - Message pulumi.StringPtrInput `pulumi:"message"` - ProvisioningStatus OnlineTableStatusProvisioningStatusPtrInput `pulumi:"provisioningStatus"` - TriggeredUpdateStatus OnlineTableStatusTriggeredUpdateStatusPtrInput `pulumi:"triggeredUpdateStatus"` +type MwsNetworkConnectivityConfigEgressConfigArgs struct { + // block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + DefaultRules MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput `pulumi:"defaultRules"` + // block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + TargetRules MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput `pulumi:"targetRules"` } -func (OnlineTableStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -func (i OnlineTableStatusArgs) ToOnlineTableStatusOutput() OnlineTableStatusOutput { - return i.ToOnlineTableStatusOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigOutput() MwsNetworkConnectivityConfigEgressConfigOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(context.Background()) } -func (i OnlineTableStatusArgs) ToOnlineTableStatusOutputWithContext(ctx context.Context) OnlineTableStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusOutput) +func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigOutput) } -// OnlineTableStatusArrayInput is an input type that accepts OnlineTableStatusArray and OnlineTableStatusArrayOutput values. -// You can construct a concrete instance of `OnlineTableStatusArrayInput` via: +func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) +} + +func (i MwsNetworkConnectivityConfigEgressConfigArgs) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigOutput).ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx) +} + +// MwsNetworkConnectivityConfigEgressConfigPtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigArgs, MwsNetworkConnectivityConfigEgressConfigPtr and MwsNetworkConnectivityConfigEgressConfigPtrOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigPtrInput` via: // -// OnlineTableStatusArray{ OnlineTableStatusArgs{...} } -type OnlineTableStatusArrayInput interface { +// MwsNetworkConnectivityConfigEgressConfigArgs{...} +// +// or: +// +// nil +type MwsNetworkConnectivityConfigEgressConfigPtrInput interface { pulumi.Input - ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput - ToOnlineTableStatusArrayOutputWithContext(context.Context) OnlineTableStatusArrayOutput + ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput + ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput } -type OnlineTableStatusArray []OnlineTableStatusInput +type mwsNetworkConnectivityConfigEgressConfigPtrType MwsNetworkConnectivityConfigEgressConfigArgs -func (OnlineTableStatusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]OnlineTableStatus)(nil)).Elem() +func MwsNetworkConnectivityConfigEgressConfigPtr(v *MwsNetworkConnectivityConfigEgressConfigArgs) MwsNetworkConnectivityConfigEgressConfigPtrInput { + return (*mwsNetworkConnectivityConfigEgressConfigPtrType)(v) } -func (i OnlineTableStatusArray) ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput { - return i.ToOnlineTableStatusArrayOutputWithContext(context.Background()) +func (*mwsNetworkConnectivityConfigEgressConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() +} + +func (i *mwsNetworkConnectivityConfigEgressConfigPtrType) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusArray) ToOnlineTableStatusArrayOutputWithContext(ctx context.Context) OnlineTableStatusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusArrayOutput) +func (i *mwsNetworkConnectivityConfigEgressConfigPtrType) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigPtrOutput) } -type OnlineTableStatusOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -func (o OnlineTableStatusOutput) ToOnlineTableStatusOutput() OnlineTableStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigOutput() MwsNetworkConnectivityConfigEgressConfigOutput { return o } -func (o OnlineTableStatusOutput) ToOnlineTableStatusOutputWithContext(ctx context.Context) OnlineTableStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigOutput { return o } -func (o OnlineTableStatusOutput) ContinuousUpdateStatus() OnlineTableStatusContinuousUpdateStatusPtrOutput { - return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusContinuousUpdateStatus { return v.ContinuousUpdateStatus }).(OnlineTableStatusContinuousUpdateStatusPtrOutput) +func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return o.ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) } -// The state of the online table. -func (o OnlineTableStatusOutput) DetailedState() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableStatus) *string { return v.DetailedState }).(pulumi.StringPtrOutput) +func (o MwsNetworkConnectivityConfigEgressConfigOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfig { + return &v + }).(MwsNetworkConnectivityConfigEgressConfigPtrOutput) } -func (o OnlineTableStatusOutput) FailedStatus() OnlineTableStatusFailedStatusPtrOutput { - return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusFailedStatus { return v.FailedStatus }).(OnlineTableStatusFailedStatusPtrOutput) +// block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigOutput) DefaultRules() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigDefaultRules { + return v.DefaultRules + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -// A text description of the current state of the online table. -func (o OnlineTableStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableStatus) *string { return v.Message }).(pulumi.StringPtrOutput) +// block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigOutput) TargetRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigTargetRules { + return v.TargetRules + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -func (o OnlineTableStatusOutput) ProvisioningStatus() OnlineTableStatusProvisioningStatusPtrOutput { - return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusProvisioningStatus { return v.ProvisioningStatus }).(OnlineTableStatusProvisioningStatusPtrOutput) -} +type MwsNetworkConnectivityConfigEgressConfigPtrOutput struct{ *pulumi.OutputState } -func (o OnlineTableStatusOutput) TriggeredUpdateStatus() OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusTriggeredUpdateStatus { return v.TriggeredUpdateStatus }).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) +func (MwsNetworkConnectivityConfigEgressConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -type OnlineTableStatusArrayOutput struct{ *pulumi.OutputState } - -func (OnlineTableStatusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]OnlineTableStatus)(nil)).Elem() +func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutput() MwsNetworkConnectivityConfigEgressConfigPtrOutput { + return o } -func (o OnlineTableStatusArrayOutput) ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput { +func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigPtrOutput { return o } -func (o OnlineTableStatusArrayOutput) ToOnlineTableStatusArrayOutputWithContext(ctx context.Context) OnlineTableStatusArrayOutput { - return o +func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfig) MwsNetworkConnectivityConfigEgressConfig { + if v != nil { + return *v + } + var ret MwsNetworkConnectivityConfigEgressConfig + return ret + }).(MwsNetworkConnectivityConfigEgressConfigOutput) } -func (o OnlineTableStatusArrayOutput) Index(i pulumi.IntInput) OnlineTableStatusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) OnlineTableStatus { - return vs[0].([]OnlineTableStatus)[vs[1].(int)] - }).(OnlineTableStatusOutput) +// block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) DefaultRules() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigDefaultRules { + if v == nil { + return nil + } + return v.DefaultRules + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -type OnlineTableStatusContinuousUpdateStatus struct { - InitialPipelineSyncProgress *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress `pulumi:"initialPipelineSyncProgress"` - LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` - Timestamp *string `pulumi:"timestamp"` +// block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigPtrOutput) TargetRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfig) *MwsNetworkConnectivityConfigEgressConfigTargetRules { + if v == nil { + return nil + } + return v.TargetRules + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -// OnlineTableStatusContinuousUpdateStatusInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusArgs and OnlineTableStatusContinuousUpdateStatusOutput values. -// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInput` via: +type MwsNetworkConnectivityConfigEgressConfigDefaultRules struct { + // (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + AwsStableIpRule *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule `pulumi:"awsStableIpRule"` + // (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + AzureServiceEndpointRule *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule `pulumi:"azureServiceEndpointRule"` +} + +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs and MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesInput` via: // -// OnlineTableStatusContinuousUpdateStatusArgs{...} -type OnlineTableStatusContinuousUpdateStatusInput interface { +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{...} +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesInput interface { pulumi.Input - ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput - ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput } -type OnlineTableStatusContinuousUpdateStatusArgs struct { - InitialPipelineSyncProgress OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput `pulumi:"initialPipelineSyncProgress"` - LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` - Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs struct { + // (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + AwsStableIpRule MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput `pulumi:"awsStableIpRule"` + // (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + AzureServiceEndpointRule MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput `pulumi:"azureServiceEndpointRule"` } -func (OnlineTableStatusContinuousUpdateStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput { - return i.ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(context.Background()) } -func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusOutput) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) } -func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { - return i.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusOutput).ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput).ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx) } -// OnlineTableStatusContinuousUpdateStatusPtrInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusArgs, OnlineTableStatusContinuousUpdateStatusPtr and OnlineTableStatusContinuousUpdateStatusPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusPtrInput` via: +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs, MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtr and MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput` via: // -// OnlineTableStatusContinuousUpdateStatusArgs{...} +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{...} // // or: // // nil -type OnlineTableStatusContinuousUpdateStatusPtrInput interface { +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput interface { pulumi.Input - ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput - ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput } -type onlineTableStatusContinuousUpdateStatusPtrType OnlineTableStatusContinuousUpdateStatusArgs +type mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs -func OnlineTableStatusContinuousUpdateStatusPtr(v *OnlineTableStatusContinuousUpdateStatusArgs) OnlineTableStatusContinuousUpdateStatusPtrInput { - return (*onlineTableStatusContinuousUpdateStatusPtrType)(v) +func MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtr(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput { + return (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType)(v) } -func (*onlineTableStatusContinuousUpdateStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() +func (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (i *onlineTableStatusContinuousUpdateStatusPtrType) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { - return i.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) +func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) } -func (i *onlineTableStatusContinuousUpdateStatusPtrType) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusPtrOutput) +func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -type OnlineTableStatusContinuousUpdateStatusOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusContinuousUpdateStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { - return o.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) } -func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatus { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRules { return &v - }).(OnlineTableStatusContinuousUpdateStatusPtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusOutput) InitialPipelineSyncProgress() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { - return v.InitialPipelineSyncProgress - }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -func (o OnlineTableStatusContinuousUpdateStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) +// (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) AwsStableIpRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { + return v.AwsStableIpRule + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -func (o OnlineTableStatusContinuousUpdateStatusOutput) Timestamp() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) +// (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) AzureServiceEndpointRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { + return v.AzureServiceEndpointRule + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -type OnlineTableStatusContinuousUpdateStatusPtrOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusContinuousUpdateStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) Elem() OnlineTableStatusContinuousUpdateStatusOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) OnlineTableStatusContinuousUpdateStatus { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRules) MwsNetworkConnectivityConfigEgressConfigDefaultRules { if v != nil { return *v } - var ret OnlineTableStatusContinuousUpdateStatus + var ret MwsNetworkConnectivityConfigEgressConfigDefaultRules return ret - }).(OnlineTableStatusContinuousUpdateStatusOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) InitialPipelineSyncProgress() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { - if v == nil { - return nil - } - return v.InitialPipelineSyncProgress - }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) } -func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *int { +// (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) AwsStableIpRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { if v == nil { return nil } - return v.LastProcessedCommitVersion - }).(pulumi.IntPtrOutput) + return v.AwsStableIpRule + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *string { +// (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) AzureServiceEndpointRule() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRules) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { if v == nil { return nil } - return v.Timestamp - }).(pulumi.StringPtrOutput) + return v.AzureServiceEndpointRule + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress struct { - EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` - LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` - SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` - SyncedRowCount *int `pulumi:"syncedRowCount"` - TotalRowCount *int `pulumi:"totalRowCount"` +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule struct { + // list of IP CIDR blocks. + CidrBlocks []string `pulumi:"cidrBlocks"` } -// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs and OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput values. -// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput` via: +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput` via: // -// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{...} -type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput interface { +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{...} +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput interface { pulumi.Input - ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput - ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput } -type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs struct { - EstimatedCompletionTimeSeconds pulumi.Float64PtrInput `pulumi:"estimatedCompletionTimeSeconds"` - LatestVersionCurrentlyProcessing pulumi.IntPtrInput `pulumi:"latestVersionCurrentlyProcessing"` - SyncProgressCompletion pulumi.Float64PtrInput `pulumi:"syncProgressCompletion"` - SyncedRowCount pulumi.IntPtrInput `pulumi:"syncedRowCount"` - TotalRowCount pulumi.IntPtrInput `pulumi:"totalRowCount"` +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs struct { + // list of IP CIDR blocks. + CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"` } -func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { - return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(context.Background()) } -func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) } -func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput).ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput).ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx) } -// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs, OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtr and OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput` via: +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs, MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtr and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput` via: // -// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{...} +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{...} // // or: // // nil -type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput interface { +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput interface { pulumi.Input - ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput - ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput } -type onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs +type mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs -func OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtr(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput { - return (*onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType)(v) +func MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtr(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput { + return (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType)(v) } -func (*onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() +func (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (i *onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) +func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) } -func (i *onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) +func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return o.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { return &v - }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { - return v.EstimatedCompletionTimeSeconds - }).(pulumi.Float64PtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { - return v.LatestVersionCurrentlyProcessing - }).(pulumi.IntPtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { - return v.SyncProgressCompletion - }).(pulumi.Float64PtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { - return v.SyncedRowCount - }).(pulumi.IntPtrOutput) + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) TotalRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { - return v.TotalRowCount - }).(pulumi.IntPtrOutput) +// list of IP CIDR blocks. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) CidrBlocks() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) []string { + return v.CidrBlocks + }).(pulumi.StringArrayOutput) } -type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { return o } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) Elem() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { if v != nil { return *v } - var ret OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress + var ret MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule return ret - }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { - if v == nil { - return nil - } - return v.EstimatedCompletionTimeSeconds - }).(pulumi.Float64PtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { - if v == nil { - return nil - } - return v.LatestVersionCurrentlyProcessing - }).(pulumi.IntPtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { - if v == nil { - return nil - } - return v.SyncProgressCompletion - }).(pulumi.Float64PtrOutput) -} - -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { - if v == nil { - return nil - } - return v.SyncedRowCount - }).(pulumi.IntPtrOutput) + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) } -func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { +// list of IP CIDR blocks. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) CidrBlocks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) []string { if v == nil { return nil } - return v.TotalRowCount - }).(pulumi.IntPtrOutput) + return v.CidrBlocks + }).(pulumi.StringArrayOutput) } -type OnlineTableStatusFailedStatus struct { - LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` - Timestamp *string `pulumi:"timestamp"` +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule struct { + // list of subnets from which Databricks network traffic originates when accessing your Azure resources. + Subnets []string `pulumi:"subnets"` + // the Azure region in which this service endpoint rule applies. + TargetRegion *string `pulumi:"targetRegion"` + // the Azure services to which this service endpoint rule applies to. + TargetServices []string `pulumi:"targetServices"` } -// OnlineTableStatusFailedStatusInput is an input type that accepts OnlineTableStatusFailedStatusArgs and OnlineTableStatusFailedStatusOutput values. -// You can construct a concrete instance of `OnlineTableStatusFailedStatusInput` via: +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput` via: // -// OnlineTableStatusFailedStatusArgs{...} -type OnlineTableStatusFailedStatusInput interface { +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{...} +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput interface { pulumi.Input - ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput - ToOnlineTableStatusFailedStatusOutputWithContext(context.Context) OnlineTableStatusFailedStatusOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput } -type OnlineTableStatusFailedStatusArgs struct { - LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` - Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs struct { + // list of subnets from which Databricks network traffic originates when accessing your Azure resources. + Subnets pulumi.StringArrayInput `pulumi:"subnets"` + // the Azure region in which this service endpoint rule applies. + TargetRegion pulumi.StringPtrInput `pulumi:"targetRegion"` + // the Azure services to which this service endpoint rule applies to. + TargetServices pulumi.StringArrayInput `pulumi:"targetServices"` } -func (OnlineTableStatusFailedStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusFailedStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput { - return i.ToOnlineTableStatusFailedStatusOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(context.Background()) } -func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusOutput) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) } -func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { - return i.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusOutput).ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx) +func (i MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput).ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx) } -// OnlineTableStatusFailedStatusPtrInput is an input type that accepts OnlineTableStatusFailedStatusArgs, OnlineTableStatusFailedStatusPtr and OnlineTableStatusFailedStatusPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusFailedStatusPtrInput` via: +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs, MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtr and MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput` via: // -// OnlineTableStatusFailedStatusArgs{...} +// MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{...} // // or: // // nil -type OnlineTableStatusFailedStatusPtrInput interface { +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput interface { pulumi.Input - - ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput - ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Context) OnlineTableStatusFailedStatusPtrOutput + + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput + ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput } -type onlineTableStatusFailedStatusPtrType OnlineTableStatusFailedStatusArgs +type mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs -func OnlineTableStatusFailedStatusPtr(v *OnlineTableStatusFailedStatusArgs) OnlineTableStatusFailedStatusPtrInput { - return (*onlineTableStatusFailedStatusPtrType)(v) +func MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtr(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput { + return (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType)(v) } -func (*onlineTableStatusFailedStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusFailedStatus)(nil)).Elem() +func (*mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (i *onlineTableStatusFailedStatusPtrType) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { - return i.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) +func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) } -func (i *onlineTableStatusFailedStatusPtrType) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusPtrOutput) +func (i *mwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -type OnlineTableStatusFailedStatusOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusFailedStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusFailedStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { return o } -func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { return o } -func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { - return o.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) } -func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusFailedStatus) *OnlineTableStatusFailedStatus { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { return &v - }).(OnlineTableStatusFailedStatusPtrOutput) + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -func (o OnlineTableStatusFailedStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusFailedStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) +// list of subnets from which Databricks network traffic originates when accessing your Azure resources. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { + return v.Subnets + }).(pulumi.StringArrayOutput) } -func (o OnlineTableStatusFailedStatusOutput) Timestamp() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableStatusFailedStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) +// the Azure region in which this service endpoint rule applies. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) TargetRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *string { + return v.TargetRegion + }).(pulumi.StringPtrOutput) } -type OnlineTableStatusFailedStatusPtrOutput struct{ *pulumi.OutputState } +// the Azure services to which this service endpoint rule applies to. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) TargetServices() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { + return v.TargetServices + }).(pulumi.StringArrayOutput) +} -func (OnlineTableStatusFailedStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusFailedStatus)(nil)).Elem() +type MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput struct{ *pulumi.OutputState } + +func (MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (o OnlineTableStatusFailedStatusPtrOutput) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { return o } -func (o OnlineTableStatusFailedStatusPtrOutput) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ToMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { return o } -func (o OnlineTableStatusFailedStatusPtrOutput) Elem() OnlineTableStatusFailedStatusOutput { - return o.ApplyT(func(v *OnlineTableStatusFailedStatus) OnlineTableStatusFailedStatus { +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { if v != nil { return *v } - var ret OnlineTableStatusFailedStatus + var ret MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule return ret - }).(OnlineTableStatusFailedStatusOutput) + }).(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) } -func (o OnlineTableStatusFailedStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusFailedStatus) *int { +// list of subnets from which Databricks network traffic originates when accessing your Azure resources. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { if v == nil { return nil } - return v.LastProcessedCommitVersion - }).(pulumi.IntPtrOutput) + return v.Subnets + }).(pulumi.StringArrayOutput) } -func (o OnlineTableStatusFailedStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusFailedStatus) *string { +// the Azure region in which this service endpoint rule applies. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) TargetRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *string { if v == nil { return nil } - return v.Timestamp + return v.TargetRegion }).(pulumi.StringPtrOutput) } -type OnlineTableStatusProvisioningStatus struct { - InitialPipelineSyncProgress *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress `pulumi:"initialPipelineSyncProgress"` +// the Azure services to which this service endpoint rule applies to. +func (o MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) TargetServices() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { + if v == nil { + return nil + } + return v.TargetServices + }).(pulumi.StringArrayOutput) } -// OnlineTableStatusProvisioningStatusInput is an input type that accepts OnlineTableStatusProvisioningStatusArgs and OnlineTableStatusProvisioningStatusOutput values. -// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInput` via: +type MwsNetworkConnectivityConfigEgressConfigTargetRules struct { + // (Azure only) - list containing information about configure Azure Private Endpoints. + AzurePrivateEndpointRules []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule `pulumi:"azurePrivateEndpointRules"` +} + +// MwsNetworkConnectivityConfigEgressConfigTargetRulesInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs and MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesInput` via: // -// OnlineTableStatusProvisioningStatusArgs{...} -type OnlineTableStatusProvisioningStatusInput interface { +// MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{...} +type MwsNetworkConnectivityConfigEgressConfigTargetRulesInput interface { pulumi.Input - ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput - ToOnlineTableStatusProvisioningStatusOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput } -type OnlineTableStatusProvisioningStatusArgs struct { - InitialPipelineSyncProgress OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput `pulumi:"initialPipelineSyncProgress"` +type MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs struct { + // (Azure only) - list containing information about configure Azure Private Endpoints. + AzurePrivateEndpointRules MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput `pulumi:"azurePrivateEndpointRules"` } -func (OnlineTableStatusProvisioningStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusProvisioningStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput { - return i.ToOnlineTableStatusProvisioningStatusOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(context.Background()) } -func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusOutput) +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) } -func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { - return i.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusOutput).ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx) +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput).ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx) } -// OnlineTableStatusProvisioningStatusPtrInput is an input type that accepts OnlineTableStatusProvisioningStatusArgs, OnlineTableStatusProvisioningStatusPtr and OnlineTableStatusProvisioningStatusPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusPtrInput` via: +// MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs, MwsNetworkConnectivityConfigEgressConfigTargetRulesPtr and MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput` via: // -// OnlineTableStatusProvisioningStatusArgs{...} +// MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{...} // // or: // // nil -type OnlineTableStatusProvisioningStatusPtrInput interface { +type MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput interface { pulumi.Input - ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput - ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusPtrOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput } -type onlineTableStatusProvisioningStatusPtrType OnlineTableStatusProvisioningStatusArgs +type mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs -func OnlineTableStatusProvisioningStatusPtr(v *OnlineTableStatusProvisioningStatusArgs) OnlineTableStatusProvisioningStatusPtrInput { - return (*onlineTableStatusProvisioningStatusPtrType)(v) +func MwsNetworkConnectivityConfigEgressConfigTargetRulesPtr(v *MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput { + return (*mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType)(v) } -func (*onlineTableStatusProvisioningStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusProvisioningStatus)(nil)).Elem() +func (*mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (i *onlineTableStatusProvisioningStatusPtrType) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { - return i.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) +func (i *mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) } -func (i *onlineTableStatusProvisioningStatusPtrType) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusPtrOutput) +func (i *mwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -type OnlineTableStatusProvisioningStatusOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusProvisioningStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusProvisioningStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { return o } -func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusOutput { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { return o } -func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { - return o.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) } -func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatus { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworkConnectivityConfigEgressConfigTargetRules) *MwsNetworkConnectivityConfigEgressConfigTargetRules { return &v - }).(OnlineTableStatusProvisioningStatusPtrOutput) + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -func (o OnlineTableStatusProvisioningStatusOutput) InitialPipelineSyncProgress() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return o.ApplyT(func(v OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { - return v.InitialPipelineSyncProgress - }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) +// (Azure only) - list containing information about configure Azure Private Endpoints. +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) AzurePrivateEndpointRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRules) []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + return v.AzurePrivateEndpointRules + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) } -type OnlineTableStatusProvisioningStatusPtrOutput struct{ *pulumi.OutputState } +type MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusProvisioningStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusProvisioningStatus)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (o OnlineTableStatusProvisioningStatusPtrOutput) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { return o } -func (o OnlineTableStatusProvisioningStatusPtrOutput) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { return o } -func (o OnlineTableStatusProvisioningStatusPtrOutput) Elem() OnlineTableStatusProvisioningStatusOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatus) OnlineTableStatusProvisioningStatus { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) Elem() MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigTargetRules) MwsNetworkConnectivityConfigEgressConfigTargetRules { if v != nil { return *v } - var ret OnlineTableStatusProvisioningStatus + var ret MwsNetworkConnectivityConfigEgressConfigTargetRules return ret - }).(OnlineTableStatusProvisioningStatusOutput) + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) } -func (o OnlineTableStatusProvisioningStatusPtrOutput) InitialPipelineSyncProgress() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { +// (Azure only) - list containing information about configure Azure Private Endpoints. +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) AzurePrivateEndpointRules() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return o.ApplyT(func(v *MwsNetworkConnectivityConfigEgressConfigTargetRules) []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { if v == nil { return nil } - return v.InitialPipelineSyncProgress - }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) + return v.AzurePrivateEndpointRules + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) } -type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress struct { - EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` - LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` - SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` - SyncedRowCount *int `pulumi:"syncedRowCount"` - TotalRowCount *int `pulumi:"totalRowCount"` +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule struct { + ConnectionState *string `pulumi:"connectionState"` + CreationTime *int `pulumi:"creationTime"` + Deactivated *bool `pulumi:"deactivated"` + DeactivatedAt *int `pulumi:"deactivatedAt"` + EndpointName *string `pulumi:"endpointName"` + GroupId *string `pulumi:"groupId"` + // Canonical unique identifier of Network Connectivity Config in Databricks Account + NetworkConnectivityConfigId *string `pulumi:"networkConnectivityConfigId"` + ResourceId *string `pulumi:"resourceId"` + RuleId *string `pulumi:"ruleId"` + UpdatedTime *int `pulumi:"updatedTime"` } -// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput is an input type that accepts OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs and OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput values. -// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput` via: +// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs and MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput` via: // -// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{...} -type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput interface { +// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{...} +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput interface { pulumi.Input - ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput - ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput } -type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs struct { - EstimatedCompletionTimeSeconds pulumi.Float64PtrInput `pulumi:"estimatedCompletionTimeSeconds"` - LatestVersionCurrentlyProcessing pulumi.IntPtrInput `pulumi:"latestVersionCurrentlyProcessing"` - SyncProgressCompletion pulumi.Float64PtrInput `pulumi:"syncProgressCompletion"` - SyncedRowCount pulumi.IntPtrInput `pulumi:"syncedRowCount"` - TotalRowCount pulumi.IntPtrInput `pulumi:"totalRowCount"` +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs struct { + ConnectionState pulumi.StringPtrInput `pulumi:"connectionState"` + CreationTime pulumi.IntPtrInput `pulumi:"creationTime"` + Deactivated pulumi.BoolPtrInput `pulumi:"deactivated"` + DeactivatedAt pulumi.IntPtrInput `pulumi:"deactivatedAt"` + EndpointName pulumi.StringPtrInput `pulumi:"endpointName"` + GroupId pulumi.StringPtrInput `pulumi:"groupId"` + // Canonical unique identifier of Network Connectivity Config in Databricks Account + NetworkConnectivityConfigId pulumi.StringPtrInput `pulumi:"networkConnectivityConfigId"` + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + RuleId pulumi.StringPtrInput `pulumi:"ruleId"` + UpdatedTime pulumi.IntPtrInput `pulumi:"updatedTime"` } -func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() } -func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { - return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(context.Background()) +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(context.Background()) } -func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) } -func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) +// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput is an input type that accepts MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray and MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput values. +// You can construct a concrete instance of `MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput` via: +// +// MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray{ MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{...} } +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput interface { + pulumi.Input + + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput + ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput } -func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput).ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx) +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray []MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput + +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() } -// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput is an input type that accepts OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs, OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtr and OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput` via: -// -// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{...} -// -// or: -// -// nil -type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput interface { - pulumi.Input +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return i.ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(context.Background()) +} - ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput - ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput +func (i MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) } -type onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput struct{ *pulumi.OutputState } -func OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtr(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput { - return (*onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType)(v) +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() } -func (*onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return o } -func (i *onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return o } -func (i *onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ConnectionState() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.ConnectionState + }).(pulumi.StringPtrOutput) } -type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput struct{ *pulumi.OutputState } +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) CreationTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { + return v.CreationTime + }).(pulumi.IntPtrOutput) +} -func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) Deactivated() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *bool { + return v.Deactivated + }).(pulumi.BoolPtrOutput) } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) DeactivatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { + return v.DeactivatedAt + }).(pulumi.IntPtrOutput) +} + +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) EndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.EndpointName + }).(pulumi.StringPtrOutput) +} + +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) GroupId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.GroupId + }).(pulumi.StringPtrOutput) +} + +// Canonical unique identifier of Network Connectivity Config in Databricks Account +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) NetworkConnectivityConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.NetworkConnectivityConfigId + }).(pulumi.StringPtrOutput) +} + +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.ResourceId + }).(pulumi.StringPtrOutput) +} + +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) RuleId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.RuleId + }).(pulumi.StringPtrOutput) +} + +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) UpdatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { + return v.UpdatedTime + }).(pulumi.IntPtrOutput) +} + +type MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput struct{ *pulumi.OutputState } + +func (MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() +} + +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { return o } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ToMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(ctx context.Context) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { return o } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return o.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) +func (o MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) Index(i pulumi.IntInput) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + return vs[0].([]MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)[vs[1].(int)] + }).(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { - return &v - }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) +type MwsNetworksErrorMessage struct { + ErrorMessage *string `pulumi:"errorMessage"` + ErrorType *string `pulumi:"errorType"` } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { - return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { - return v.EstimatedCompletionTimeSeconds - }).(pulumi.Float64PtrOutput) +// MwsNetworksErrorMessageInput is an input type that accepts MwsNetworksErrorMessageArgs and MwsNetworksErrorMessageOutput values. +// You can construct a concrete instance of `MwsNetworksErrorMessageInput` via: +// +// MwsNetworksErrorMessageArgs{...} +type MwsNetworksErrorMessageInput interface { + pulumi.Input + + ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput + ToMwsNetworksErrorMessageOutputWithContext(context.Context) MwsNetworksErrorMessageOutput } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { - return v.LatestVersionCurrentlyProcessing - }).(pulumi.IntPtrOutput) +type MwsNetworksErrorMessageArgs struct { + ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` + ErrorType pulumi.StringPtrInput `pulumi:"errorType"` } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { - return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { - return v.SyncProgressCompletion - }).(pulumi.Float64PtrOutput) +func (MwsNetworksErrorMessageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { return v.SyncedRowCount }).(pulumi.IntPtrOutput) +func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { + return i.ToMwsNetworksErrorMessageOutputWithContext(context.Background()) } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) TotalRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { return v.TotalRowCount }).(pulumi.IntPtrOutput) +func (i MwsNetworksErrorMessageArgs) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageOutput) } -type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput struct{ *pulumi.OutputState } +// MwsNetworksErrorMessageArrayInput is an input type that accepts MwsNetworksErrorMessageArray and MwsNetworksErrorMessageArrayOutput values. +// You can construct a concrete instance of `MwsNetworksErrorMessageArrayInput` via: +// +// MwsNetworksErrorMessageArray{ MwsNetworksErrorMessageArgs{...} } +type MwsNetworksErrorMessageArrayInput interface { + pulumi.Input -func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() + ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput + ToMwsNetworksErrorMessageArrayOutputWithContext(context.Context) MwsNetworksErrorMessageArrayOutput } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { +type MwsNetworksErrorMessageArray []MwsNetworksErrorMessageInput + +func (MwsNetworksErrorMessageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() +} + +func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { + return i.ToMwsNetworksErrorMessageArrayOutputWithContext(context.Background()) +} + +func (i MwsNetworksErrorMessageArray) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksErrorMessageArrayOutput) +} + +type MwsNetworksErrorMessageOutput struct{ *pulumi.OutputState } + +func (MwsNetworksErrorMessageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksErrorMessage)(nil)).Elem() +} + +func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutput() MwsNetworksErrorMessageOutput { return o } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { +func (o MwsNetworksErrorMessageOutput) ToMwsNetworksErrorMessageOutputWithContext(ctx context.Context) MwsNetworksErrorMessageOutput { return o } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) Elem() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { - if v != nil { - return *v - } - var ret OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress - return ret - }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) +func (o MwsNetworksErrorMessageOutput) ErrorMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { - if v == nil { - return nil - } - return v.EstimatedCompletionTimeSeconds - }).(pulumi.Float64PtrOutput) +func (o MwsNetworksErrorMessageOutput) ErrorType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsNetworksErrorMessage) *string { return v.ErrorType }).(pulumi.StringPtrOutput) } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { - if v == nil { - return nil - } - return v.LatestVersionCurrentlyProcessing - }).(pulumi.IntPtrOutput) +type MwsNetworksErrorMessageArrayOutput struct{ *pulumi.OutputState } + +func (MwsNetworksErrorMessageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MwsNetworksErrorMessage)(nil)).Elem() } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { - if v == nil { - return nil - } - return v.SyncProgressCompletion - }).(pulumi.Float64PtrOutput) +func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutput() MwsNetworksErrorMessageArrayOutput { + return o } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { - if v == nil { - return nil - } - return v.SyncedRowCount - }).(pulumi.IntPtrOutput) +func (o MwsNetworksErrorMessageArrayOutput) ToMwsNetworksErrorMessageArrayOutputWithContext(ctx context.Context) MwsNetworksErrorMessageArrayOutput { + return o } -func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { - if v == nil { - return nil - } - return v.TotalRowCount - }).(pulumi.IntPtrOutput) +func (o MwsNetworksErrorMessageArrayOutput) Index(i pulumi.IntInput) MwsNetworksErrorMessageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MwsNetworksErrorMessage { + return vs[0].([]MwsNetworksErrorMessage)[vs[1].(int)] + }).(MwsNetworksErrorMessageOutput) } -type OnlineTableStatusTriggeredUpdateStatus struct { - LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` - Timestamp *string `pulumi:"timestamp"` - TriggeredUpdateProgress *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress `pulumi:"triggeredUpdateProgress"` +type MwsNetworksGcpNetworkInfo struct { + // The Google Cloud project ID of the VPC network. + NetworkProjectId string `pulumi:"networkProjectId"` + // The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + PodIpRangeName string `pulumi:"podIpRangeName"` + // The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + ServiceIpRangeName string `pulumi:"serviceIpRangeName"` + // The ID of the subnet associated with this network. + SubnetId string `pulumi:"subnetId"` + // The Google Cloud region of the workspace data plane. For example, `us-east4`. + SubnetRegion string `pulumi:"subnetRegion"` + // The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + VpcId string `pulumi:"vpcId"` } -// OnlineTableStatusTriggeredUpdateStatusInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusArgs and OnlineTableStatusTriggeredUpdateStatusOutput values. -// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusInput` via: +// MwsNetworksGcpNetworkInfoInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs and MwsNetworksGcpNetworkInfoOutput values. +// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoInput` via: // -// OnlineTableStatusTriggeredUpdateStatusArgs{...} -type OnlineTableStatusTriggeredUpdateStatusInput interface { +// MwsNetworksGcpNetworkInfoArgs{...} +type MwsNetworksGcpNetworkInfoInput interface { pulumi.Input - ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput - ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusOutput + ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput + ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoOutput } -type OnlineTableStatusTriggeredUpdateStatusArgs struct { - LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` - Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` - TriggeredUpdateProgress OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput `pulumi:"triggeredUpdateProgress"` +type MwsNetworksGcpNetworkInfoArgs struct { + // The Google Cloud project ID of the VPC network. + NetworkProjectId pulumi.StringInput `pulumi:"networkProjectId"` + // The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + PodIpRangeName pulumi.StringInput `pulumi:"podIpRangeName"` + // The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + ServiceIpRangeName pulumi.StringInput `pulumi:"serviceIpRangeName"` + // The ID of the subnet associated with this network. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The Google Cloud region of the workspace data plane. For example, `us-east4`. + SubnetRegion pulumi.StringInput `pulumi:"subnetRegion"` + // The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + VpcId pulumi.StringInput `pulumi:"vpcId"` } -func (OnlineTableStatusTriggeredUpdateStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() +func (MwsNetworksGcpNetworkInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() } -func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput { - return i.ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(context.Background()) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { + return i.ToMwsNetworksGcpNetworkInfoOutputWithContext(context.Background()) } -func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusOutput) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput) } -func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return i.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { + return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusOutput).ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx) +func (i MwsNetworksGcpNetworkInfoArgs) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoOutput).ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx) } -// OnlineTableStatusTriggeredUpdateStatusPtrInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusArgs, OnlineTableStatusTriggeredUpdateStatusPtr and OnlineTableStatusTriggeredUpdateStatusPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusPtrInput` via: +// MwsNetworksGcpNetworkInfoPtrInput is an input type that accepts MwsNetworksGcpNetworkInfoArgs, MwsNetworksGcpNetworkInfoPtr and MwsNetworksGcpNetworkInfoPtrOutput values. +// You can construct a concrete instance of `MwsNetworksGcpNetworkInfoPtrInput` via: // -// OnlineTableStatusTriggeredUpdateStatusArgs{...} +// MwsNetworksGcpNetworkInfoArgs{...} // // or: // // nil -type OnlineTableStatusTriggeredUpdateStatusPtrInput interface { +type MwsNetworksGcpNetworkInfoPtrInput interface { pulumi.Input - ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput - ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput + ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput + ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Context) MwsNetworksGcpNetworkInfoPtrOutput } -type onlineTableStatusTriggeredUpdateStatusPtrType OnlineTableStatusTriggeredUpdateStatusArgs +type mwsNetworksGcpNetworkInfoPtrType MwsNetworksGcpNetworkInfoArgs -func OnlineTableStatusTriggeredUpdateStatusPtr(v *OnlineTableStatusTriggeredUpdateStatusArgs) OnlineTableStatusTriggeredUpdateStatusPtrInput { - return (*onlineTableStatusTriggeredUpdateStatusPtrType)(v) +func MwsNetworksGcpNetworkInfoPtr(v *MwsNetworksGcpNetworkInfoArgs) MwsNetworksGcpNetworkInfoPtrInput { + return (*mwsNetworksGcpNetworkInfoPtrType)(v) } -func (*onlineTableStatusTriggeredUpdateStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() +func (*mwsNetworksGcpNetworkInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() } -func (i *onlineTableStatusTriggeredUpdateStatusPtrType) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return i.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) +func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { + return i.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) } -func (i *onlineTableStatusTriggeredUpdateStatusPtrType) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) +func (i *mwsNetworksGcpNetworkInfoPtrType) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksGcpNetworkInfoPtrOutput) } -type OnlineTableStatusTriggeredUpdateStatusOutput struct{ *pulumi.OutputState } +type MwsNetworksGcpNetworkInfoOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusTriggeredUpdateStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() +func (MwsNetworksGcpNetworkInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksGcpNetworkInfo)(nil)).Elem() } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput { +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutput() MwsNetworksGcpNetworkInfoOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusOutput { +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return o.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { + return o.ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(context.Background()) } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatus { +func (o MwsNetworksGcpNetworkInfoOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksGcpNetworkInfo) *MwsNetworksGcpNetworkInfo { return &v - }).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) + }).(MwsNetworksGcpNetworkInfoPtrOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) +// The Google Cloud project ID of the VPC network. +func (o MwsNetworksGcpNetworkInfoOutput) NetworkProjectId() pulumi.StringOutput { + return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.NetworkProjectId }).(pulumi.StringOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) Timestamp() pulumi.StringPtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) +// The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. +func (o MwsNetworksGcpNetworkInfoOutput) PodIpRangeName() pulumi.StringOutput { + return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.PodIpRangeName }).(pulumi.StringOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusOutput) TriggeredUpdateProgress() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { - return v.TriggeredUpdateProgress - }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) +// The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. +func (o MwsNetworksGcpNetworkInfoOutput) ServiceIpRangeName() pulumi.StringOutput { + return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.ServiceIpRangeName }).(pulumi.StringOutput) } -type OnlineTableStatusTriggeredUpdateStatusPtrOutput struct{ *pulumi.OutputState } +// The ID of the subnet associated with this network. +func (o MwsNetworksGcpNetworkInfoOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.SubnetId }).(pulumi.StringOutput) +} -func (OnlineTableStatusTriggeredUpdateStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() +// The Google Cloud region of the workspace data plane. For example, `us-east4`. +func (o MwsNetworksGcpNetworkInfoOutput) SubnetRegion() pulumi.StringOutput { + return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.SubnetRegion }).(pulumi.StringOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { +// The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. +func (o MwsNetworksGcpNetworkInfoOutput) VpcId() pulumi.StringOutput { + return o.ApplyT(func(v MwsNetworksGcpNetworkInfo) string { return v.VpcId }).(pulumi.StringOutput) +} + +type MwsNetworksGcpNetworkInfoPtrOutput struct{ *pulumi.OutputState } + +func (MwsNetworksGcpNetworkInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksGcpNetworkInfo)(nil)).Elem() +} + +func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutput() MwsNetworksGcpNetworkInfoPtrOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { +func (o MwsNetworksGcpNetworkInfoPtrOutput) ToMwsNetworksGcpNetworkInfoPtrOutputWithContext(ctx context.Context) MwsNetworksGcpNetworkInfoPtrOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) Elem() OnlineTableStatusTriggeredUpdateStatusOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) OnlineTableStatusTriggeredUpdateStatus { +func (o MwsNetworksGcpNetworkInfoPtrOutput) Elem() MwsNetworksGcpNetworkInfoOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) MwsNetworksGcpNetworkInfo { if v != nil { return *v } - var ret OnlineTableStatusTriggeredUpdateStatus + var ret MwsNetworksGcpNetworkInfo return ret - }).(OnlineTableStatusTriggeredUpdateStatusOutput) + }).(MwsNetworksGcpNetworkInfoOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *int { +// The Google Cloud project ID of the VPC network. +func (o MwsNetworksGcpNetworkInfoPtrOutput) NetworkProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { if v == nil { return nil } - return v.LastProcessedCommitVersion - }).(pulumi.IntPtrOutput) + return &v.NetworkProjectId + }).(pulumi.StringPtrOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *string { +// The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. +func (o MwsNetworksGcpNetworkInfoPtrOutput) PodIpRangeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { if v == nil { return nil } - return v.Timestamp + return &v.PodIpRangeName }).(pulumi.StringPtrOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) TriggeredUpdateProgress() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { +// The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. +func (o MwsNetworksGcpNetworkInfoPtrOutput) ServiceIpRangeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { if v == nil { return nil } - return v.TriggeredUpdateProgress - }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) + return &v.ServiceIpRangeName + }).(pulumi.StringPtrOutput) } -type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress struct { - EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` - LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` - SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` - SyncedRowCount *int `pulumi:"syncedRowCount"` - TotalRowCount *int `pulumi:"totalRowCount"` +// The ID of the subnet associated with this network. +func (o MwsNetworksGcpNetworkInfoPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) } -// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs and OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput values. -// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput` via: +// The Google Cloud region of the workspace data plane. For example, `us-east4`. +func (o MwsNetworksGcpNetworkInfoPtrOutput) SubnetRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { + if v == nil { + return nil + } + return &v.SubnetRegion + }).(pulumi.StringPtrOutput) +} + +// The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. +func (o MwsNetworksGcpNetworkInfoPtrOutput) VpcId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsNetworksGcpNetworkInfo) *string { + if v == nil { + return nil + } + return &v.VpcId + }).(pulumi.StringPtrOutput) +} + +type MwsNetworksVpcEndpoints struct { + DataplaneRelays []string `pulumi:"dataplaneRelays"` + RestApis []string `pulumi:"restApis"` +} + +// MwsNetworksVpcEndpointsInput is an input type that accepts MwsNetworksVpcEndpointsArgs and MwsNetworksVpcEndpointsOutput values. +// You can construct a concrete instance of `MwsNetworksVpcEndpointsInput` via: // -// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{...} -type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput interface { +// MwsNetworksVpcEndpointsArgs{...} +type MwsNetworksVpcEndpointsInput interface { pulumi.Input - ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput - ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput + ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput + ToMwsNetworksVpcEndpointsOutputWithContext(context.Context) MwsNetworksVpcEndpointsOutput } -type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs struct { - EstimatedCompletionTimeSeconds pulumi.Float64PtrInput `pulumi:"estimatedCompletionTimeSeconds"` - LatestVersionCurrentlyProcessing pulumi.IntPtrInput `pulumi:"latestVersionCurrentlyProcessing"` - SyncProgressCompletion pulumi.Float64PtrInput `pulumi:"syncProgressCompletion"` - SyncedRowCount pulumi.IntPtrInput `pulumi:"syncedRowCount"` - TotalRowCount pulumi.IntPtrInput `pulumi:"totalRowCount"` +type MwsNetworksVpcEndpointsArgs struct { + DataplaneRelays pulumi.StringArrayInput `pulumi:"dataplaneRelays"` + RestApis pulumi.StringArrayInput `pulumi:"restApis"` } -func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() +func (MwsNetworksVpcEndpointsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() } -func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { - return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(context.Background()) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { + return i.ToMwsNetworksVpcEndpointsOutputWithContext(context.Background()) } -func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput) } -func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { + return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) } -func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput).ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx) +func (i MwsNetworksVpcEndpointsArgs) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsOutput).ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx) } -// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs, OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtr and OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput values. -// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput` via: +// MwsNetworksVpcEndpointsPtrInput is an input type that accepts MwsNetworksVpcEndpointsArgs, MwsNetworksVpcEndpointsPtr and MwsNetworksVpcEndpointsPtrOutput values. +// You can construct a concrete instance of `MwsNetworksVpcEndpointsPtrInput` via: // -// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{...} +// MwsNetworksVpcEndpointsArgs{...} // // or: // // nil -type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput interface { +type MwsNetworksVpcEndpointsPtrInput interface { pulumi.Input - ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput - ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput + ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput + ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Context) MwsNetworksVpcEndpointsPtrOutput } -type onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs +type mwsNetworksVpcEndpointsPtrType MwsNetworksVpcEndpointsArgs -func OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtr(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput { - return (*onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType)(v) +func MwsNetworksVpcEndpointsPtr(v *MwsNetworksVpcEndpointsArgs) MwsNetworksVpcEndpointsPtrInput { + return (*mwsNetworksVpcEndpointsPtrType)(v) } -func (*onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() +func (*mwsNetworksVpcEndpointsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() } -func (i *onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) +func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { + return i.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) } -func (i *onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) +func (i *mwsNetworksVpcEndpointsPtrType) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsNetworksVpcEndpointsPtrOutput) } -type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput struct{ *pulumi.OutputState } +type MwsNetworksVpcEndpointsOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() +func (MwsNetworksVpcEndpointsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsNetworksVpcEndpoints)(nil)).Elem() } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutput() MwsNetworksVpcEndpointsOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return o.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { + return o.ToMwsNetworksVpcEndpointsPtrOutputWithContext(context.Background()) } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { +func (o MwsNetworksVpcEndpointsOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsNetworksVpcEndpoints) *MwsNetworksVpcEndpoints { return &v - }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) -} - -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { - return v.EstimatedCompletionTimeSeconds - }).(pulumi.Float64PtrOutput) -} - -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { - return v.LatestVersionCurrentlyProcessing - }).(pulumi.IntPtrOutput) -} - -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { - return v.SyncProgressCompletion - }).(pulumi.Float64PtrOutput) + }).(MwsNetworksVpcEndpointsPtrOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { return v.SyncedRowCount }).(pulumi.IntPtrOutput) +func (o MwsNetworksVpcEndpointsOutput) DataplaneRelays() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.DataplaneRelays }).(pulumi.StringArrayOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) TotalRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { return v.TotalRowCount }).(pulumi.IntPtrOutput) +func (o MwsNetworksVpcEndpointsOutput) RestApis() pulumi.StringArrayOutput { + return o.ApplyT(func(v MwsNetworksVpcEndpoints) []string { return v.RestApis }).(pulumi.StringArrayOutput) } -type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput struct{ *pulumi.OutputState } +type MwsNetworksVpcEndpointsPtrOutput struct{ *pulumi.OutputState } -func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() +func (MwsNetworksVpcEndpointsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsNetworksVpcEndpoints)(nil)).Elem() } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { +func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutput() MwsNetworksVpcEndpointsPtrOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { +func (o MwsNetworksVpcEndpointsPtrOutput) ToMwsNetworksVpcEndpointsPtrOutputWithContext(ctx context.Context) MwsNetworksVpcEndpointsPtrOutput { return o } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) Elem() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { +func (o MwsNetworksVpcEndpointsPtrOutput) Elem() MwsNetworksVpcEndpointsOutput { + return o.ApplyT(func(v *MwsNetworksVpcEndpoints) MwsNetworksVpcEndpoints { if v != nil { return *v } - var ret OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress + var ret MwsNetworksVpcEndpoints return ret - }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) + }).(MwsNetworksVpcEndpointsOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { +func (o MwsNetworksVpcEndpointsPtrOutput) DataplaneRelays() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { if v == nil { return nil } - return v.EstimatedCompletionTimeSeconds - }).(pulumi.Float64PtrOutput) + return v.DataplaneRelays + }).(pulumi.StringArrayOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { +func (o MwsNetworksVpcEndpointsPtrOutput) RestApis() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MwsNetworksVpcEndpoints) []string { if v == nil { return nil } - return v.LatestVersionCurrentlyProcessing - }).(pulumi.IntPtrOutput) + return v.RestApis + }).(pulumi.StringArrayOutput) } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { - if v == nil { - return nil - } - return v.SyncProgressCompletion - }).(pulumi.Float64PtrOutput) +type MwsVpcEndpointGcpVpcEndpointInfo struct { + // Region of the PSC endpoint. + EndpointRegion string `pulumi:"endpointRegion"` + // The Google Cloud project ID of the VPC network where the PSC connection resides. + ProjectId string `pulumi:"projectId"` + // The unique ID of this PSC connection. + PscConnectionId *string `pulumi:"pscConnectionId"` + // The name of the PSC endpoint in the Google Cloud project. + PscEndpointName string `pulumi:"pscEndpointName"` + // The service attachment this PSC connection connects to. + ServiceAttachmentId *string `pulumi:"serviceAttachmentId"` } -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { - if v == nil { - return nil - } - return v.SyncedRowCount - }).(pulumi.IntPtrOutput) -} +// MwsVpcEndpointGcpVpcEndpointInfoInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs and MwsVpcEndpointGcpVpcEndpointInfoOutput values. +// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoInput` via: +// +// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} +type MwsVpcEndpointGcpVpcEndpointInfoInput interface { + pulumi.Input -func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { - if v == nil { - return nil - } - return v.TotalRowCount - }).(pulumi.IntPtrOutput) + ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput + ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput } -type PermissionsAccessControl struct { - // name of the group. We recommend setting permissions on groups. - GroupName *string `pulumi:"groupName"` - // permission level according to specific resource. See examples above for the reference. - // - // Exactly one of the below arguments is required: - PermissionLevel *string `pulumi:"permissionLevel"` - // Application ID of the service_principal. - ServicePrincipalName *string `pulumi:"servicePrincipalName"` - // name of the user. - UserName *string `pulumi:"userName"` +type MwsVpcEndpointGcpVpcEndpointInfoArgs struct { + // Region of the PSC endpoint. + EndpointRegion pulumi.StringInput `pulumi:"endpointRegion"` + // The Google Cloud project ID of the VPC network where the PSC connection resides. + ProjectId pulumi.StringInput `pulumi:"projectId"` + // The unique ID of this PSC connection. + PscConnectionId pulumi.StringPtrInput `pulumi:"pscConnectionId"` + // The name of the PSC endpoint in the Google Cloud project. + PscEndpointName pulumi.StringInput `pulumi:"pscEndpointName"` + // The service attachment this PSC connection connects to. + ServiceAttachmentId pulumi.StringPtrInput `pulumi:"serviceAttachmentId"` } -// PermissionsAccessControlInput is an input type that accepts PermissionsAccessControlArgs and PermissionsAccessControlOutput values. -// You can construct a concrete instance of `PermissionsAccessControlInput` via: -// -// PermissionsAccessControlArgs{...} -type PermissionsAccessControlInput interface { - pulumi.Input - - ToPermissionsAccessControlOutput() PermissionsAccessControlOutput - ToPermissionsAccessControlOutputWithContext(context.Context) PermissionsAccessControlOutput +func (MwsVpcEndpointGcpVpcEndpointInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -type PermissionsAccessControlArgs struct { - // name of the group. We recommend setting permissions on groups. - GroupName pulumi.StringPtrInput `pulumi:"groupName"` - // permission level according to specific resource. See examples above for the reference. - // - // Exactly one of the below arguments is required: - PermissionLevel pulumi.StringPtrInput `pulumi:"permissionLevel"` - // Application ID of the service_principal. - ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` - // name of the user. - UserName pulumi.StringPtrInput `pulumi:"userName"` +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { + return i.ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(context.Background()) } -func (PermissionsAccessControlArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput) } -func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { - return i.ToPermissionsAccessControlOutputWithContext(context.Background()) +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) } -func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { - return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlOutput) +func (i MwsVpcEndpointGcpVpcEndpointInfoArgs) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoOutput).ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx) } -// PermissionsAccessControlArrayInput is an input type that accepts PermissionsAccessControlArray and PermissionsAccessControlArrayOutput values. -// You can construct a concrete instance of `PermissionsAccessControlArrayInput` via: +// MwsVpcEndpointGcpVpcEndpointInfoPtrInput is an input type that accepts MwsVpcEndpointGcpVpcEndpointInfoArgs, MwsVpcEndpointGcpVpcEndpointInfoPtr and MwsVpcEndpointGcpVpcEndpointInfoPtrOutput values. +// You can construct a concrete instance of `MwsVpcEndpointGcpVpcEndpointInfoPtrInput` via: // -// PermissionsAccessControlArray{ PermissionsAccessControlArgs{...} } -type PermissionsAccessControlArrayInput interface { +// MwsVpcEndpointGcpVpcEndpointInfoArgs{...} +// +// or: +// +// nil +type MwsVpcEndpointGcpVpcEndpointInfoPtrInput interface { pulumi.Input - ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput - ToPermissionsAccessControlArrayOutputWithContext(context.Context) PermissionsAccessControlArrayOutput + ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput + ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput } -type PermissionsAccessControlArray []PermissionsAccessControlInput +type mwsVpcEndpointGcpVpcEndpointInfoPtrType MwsVpcEndpointGcpVpcEndpointInfoArgs -func (PermissionsAccessControlArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() +func MwsVpcEndpointGcpVpcEndpointInfoPtr(v *MwsVpcEndpointGcpVpcEndpointInfoArgs) MwsVpcEndpointGcpVpcEndpointInfoPtrInput { + return (*mwsVpcEndpointGcpVpcEndpointInfoPtrType)(v) } -func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { - return i.ToPermissionsAccessControlArrayOutputWithContext(context.Background()) +func (*mwsVpcEndpointGcpVpcEndpointInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlArrayOutput) +func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return i.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) } -type PermissionsAccessControlOutput struct{ *pulumi.OutputState } +func (i *mwsVpcEndpointGcpVpcEndpointInfoPtrType) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) +} -func (PermissionsAccessControlOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() +type MwsVpcEndpointGcpVpcEndpointInfoOutput struct{ *pulumi.OutputState } + +func (MwsVpcEndpointGcpVpcEndpointInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutput() MwsVpcEndpointGcpVpcEndpointInfoOutput { return o } -func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoOutput { return o } -// name of the group. We recommend setting permissions on groups. -func (o PermissionsAccessControlOutput) GroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PermissionsAccessControl) *string { return v.GroupName }).(pulumi.StringPtrOutput) +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return o.ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(context.Background()) } -// permission level according to specific resource. See examples above for the reference. -// -// Exactly one of the below arguments is required: -func (o PermissionsAccessControlOutput) PermissionLevel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PermissionsAccessControl) *string { return v.PermissionLevel }).(pulumi.StringPtrOutput) +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsVpcEndpointGcpVpcEndpointInfo) *MwsVpcEndpointGcpVpcEndpointInfo { + return &v + }).(MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) } -// Application ID of the service_principal. -func (o PermissionsAccessControlOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PermissionsAccessControl) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) +// Region of the PSC endpoint. +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) EndpointRegion() pulumi.StringOutput { + return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.EndpointRegion }).(pulumi.StringOutput) } -// name of the user. -func (o PermissionsAccessControlOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PermissionsAccessControl) *string { return v.UserName }).(pulumi.StringPtrOutput) +// The Google Cloud project ID of the VPC network where the PSC connection resides. +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.ProjectId }).(pulumi.StringOutput) } -type PermissionsAccessControlArrayOutput struct{ *pulumi.OutputState } - -func (PermissionsAccessControlArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() +// The unique ID of this PSC connection. +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) PscConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) *string { return v.PscConnectionId }).(pulumi.StringPtrOutput) } -func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { - return o +// The name of the PSC endpoint in the Google Cloud project. +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) PscEndpointName() pulumi.StringOutput { + return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) string { return v.PscEndpointName }).(pulumi.StringOutput) } -func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { - return o +// The service attachment this PSC connection connects to. +func (o MwsVpcEndpointGcpVpcEndpointInfoOutput) ServiceAttachmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsVpcEndpointGcpVpcEndpointInfo) *string { return v.ServiceAttachmentId }).(pulumi.StringPtrOutput) } -func (o PermissionsAccessControlArrayOutput) Index(i pulumi.IntInput) PermissionsAccessControlOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PermissionsAccessControl { - return vs[0].([]PermissionsAccessControl)[vs[1].(int)] - }).(PermissionsAccessControlOutput) -} +type MwsVpcEndpointGcpVpcEndpointInfoPtrOutput struct{ *pulumi.OutputState } -type PipelineCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *PipelineClusterAutoscale `pulumi:"autoscale"` - AwsAttributes *PipelineClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *PipelineClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterLogConf *PipelineClusterClusterLogConf `pulumi:"clusterLogConf"` - CustomTags map[string]string `pulumi:"customTags"` - DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` - EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *PipelineClusterGcpAttributes `pulumi:"gcpAttributes"` - InitScripts []PipelineClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - Label *string `pulumi:"label"` - NodeTypeId *string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` +func (MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsVpcEndpointGcpVpcEndpointInfo)(nil)).Elem() } -// PipelineClusterInput is an input type that accepts PipelineClusterArgs and PipelineClusterOutput values. -// You can construct a concrete instance of `PipelineClusterInput` via: -// -// PipelineClusterArgs{...} -type PipelineClusterInput interface { - pulumi.Input - - ToPipelineClusterOutput() PipelineClusterOutput - ToPipelineClusterOutputWithContext(context.Context) PipelineClusterOutput +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutput() MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return o } -type PipelineClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale PipelineClusterAutoscalePtrInput `pulumi:"autoscale"` - AwsAttributes PipelineClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes PipelineClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterLogConf PipelineClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` - EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes PipelineClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - InitScripts PipelineClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - Label pulumi.StringPtrInput `pulumi:"label"` - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ToMwsVpcEndpointGcpVpcEndpointInfoPtrOutputWithContext(ctx context.Context) MwsVpcEndpointGcpVpcEndpointInfoPtrOutput { + return o } -func (PipelineClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineCluster)(nil)).Elem() +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) Elem() MwsVpcEndpointGcpVpcEndpointInfoOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) MwsVpcEndpointGcpVpcEndpointInfo { + if v != nil { + return *v + } + var ret MwsVpcEndpointGcpVpcEndpointInfo + return ret + }).(MwsVpcEndpointGcpVpcEndpointInfoOutput) } -func (i PipelineClusterArgs) ToPipelineClusterOutput() PipelineClusterOutput { - return i.ToPipelineClusterOutputWithContext(context.Background()) +// Region of the PSC endpoint. +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) EndpointRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { + if v == nil { + return nil + } + return &v.EndpointRegion + }).(pulumi.StringPtrOutput) } -func (i PipelineClusterArgs) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterOutput) +// The Google Cloud project ID of the VPC network where the PSC connection resides. +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { + if v == nil { + return nil + } + return &v.ProjectId + }).(pulumi.StringPtrOutput) } -// PipelineClusterArrayInput is an input type that accepts PipelineClusterArray and PipelineClusterArrayOutput values. -// You can construct a concrete instance of `PipelineClusterArrayInput` via: -// -// PipelineClusterArray{ PipelineClusterArgs{...} } -type PipelineClusterArrayInput interface { - pulumi.Input - - ToPipelineClusterArrayOutput() PipelineClusterArrayOutput - ToPipelineClusterArrayOutputWithContext(context.Context) PipelineClusterArrayOutput +// The unique ID of this PSC connection. +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) PscConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { + if v == nil { + return nil + } + return v.PscConnectionId + }).(pulumi.StringPtrOutput) } -type PipelineClusterArray []PipelineClusterInput - -func (PipelineClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() +// The name of the PSC endpoint in the Google Cloud project. +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) PscEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { + if v == nil { + return nil + } + return &v.PscEndpointName + }).(pulumi.StringPtrOutput) } -func (i PipelineClusterArray) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { - return i.ToPipelineClusterArrayOutputWithContext(context.Background()) +// The service attachment this PSC connection connects to. +func (o MwsVpcEndpointGcpVpcEndpointInfoPtrOutput) ServiceAttachmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsVpcEndpointGcpVpcEndpointInfo) *string { + if v == nil { + return nil + } + return v.ServiceAttachmentId + }).(pulumi.StringPtrOutput) } -func (i PipelineClusterArray) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterArrayOutput) +type MwsWorkspacesCloudResourceContainer struct { + // A block that consists of the following field: + Gcp MwsWorkspacesCloudResourceContainerGcp `pulumi:"gcp"` } -type PipelineClusterOutput struct{ *pulumi.OutputState } - -func (PipelineClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineCluster)(nil)).Elem() -} +// MwsWorkspacesCloudResourceContainerInput is an input type that accepts MwsWorkspacesCloudResourceContainerArgs and MwsWorkspacesCloudResourceContainerOutput values. +// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerInput` via: +// +// MwsWorkspacesCloudResourceContainerArgs{...} +type MwsWorkspacesCloudResourceContainerInput interface { + pulumi.Input -func (o PipelineClusterOutput) ToPipelineClusterOutput() PipelineClusterOutput { - return o + ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput + ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerOutput } -func (o PipelineClusterOutput) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { - return o +type MwsWorkspacesCloudResourceContainerArgs struct { + // A block that consists of the following field: + Gcp MwsWorkspacesCloudResourceContainerGcpInput `pulumi:"gcp"` } -func (o PipelineClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (MwsWorkspacesCloudResourceContainerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterOutput) Autoscale() PipelineClusterAutoscalePtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterAutoscale { return v.Autoscale }).(PipelineClusterAutoscalePtrOutput) +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { + return i.ToMwsWorkspacesCloudResourceContainerOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) AwsAttributes() PipelineClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterAwsAttributes { return v.AwsAttributes }).(PipelineClusterAwsAttributesPtrOutput) +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput) } -func (o PipelineClusterOutput) AzureAttributes() PipelineClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterAzureAttributes { return v.AzureAttributes }).(PipelineClusterAzureAttributesPtrOutput) +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) ClusterLogConf() PipelineClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterClusterLogConf { return v.ClusterLogConf }).(PipelineClusterClusterLogConfPtrOutput) +func (i MwsWorkspacesCloudResourceContainerArgs) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerOutput).ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx) } -func (o PipelineClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v PipelineCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) -} +// MwsWorkspacesCloudResourceContainerPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerArgs, MwsWorkspacesCloudResourceContainerPtr and MwsWorkspacesCloudResourceContainerPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerPtrInput` via: +// +// MwsWorkspacesCloudResourceContainerArgs{...} +// +// or: +// +// nil +type MwsWorkspacesCloudResourceContainerPtrInput interface { + pulumi.Input -func (o PipelineClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) + ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput + ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerPtrOutput } -func (o PipelineClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) -} +type mwsWorkspacesCloudResourceContainerPtrType MwsWorkspacesCloudResourceContainerArgs -func (o PipelineClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func MwsWorkspacesCloudResourceContainerPtr(v *MwsWorkspacesCloudResourceContainerArgs) MwsWorkspacesCloudResourceContainerPtrInput { + return (*mwsWorkspacesCloudResourceContainerPtrType)(v) } -func (o PipelineClusterOutput) GcpAttributes() PipelineClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v PipelineCluster) *PipelineClusterGcpAttributes { return v.GcpAttributes }).(PipelineClusterGcpAttributesPtrOutput) +func (*mwsWorkspacesCloudResourceContainerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterOutput) InitScripts() PipelineClusterInitScriptArrayOutput { - return o.ApplyT(func(v PipelineCluster) []PipelineClusterInitScript { return v.InitScripts }).(PipelineClusterInitScriptArrayOutput) +func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func (i *mwsWorkspacesCloudResourceContainerPtrType) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerPtrOutput) } -func (o PipelineClusterOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.Label }).(pulumi.StringPtrOutput) -} +type MwsWorkspacesCloudResourceContainerOutput struct{ *pulumi.OutputState } -func (o PipelineClusterOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (MwsWorkspacesCloudResourceContainerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutput() MwsWorkspacesCloudResourceContainerOutput { + return o } -func (o PipelineClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerOutput { + return o } -func (o PipelineClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v PipelineCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { + return o.ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(context.Background()) } -func (o PipelineClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v PipelineCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o MwsWorkspacesCloudResourceContainerOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainer { + return &v + }).(MwsWorkspacesCloudResourceContainerPtrOutput) } -func (o PipelineClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +// A block that consists of the following field: +func (o MwsWorkspacesCloudResourceContainerOutput) Gcp() MwsWorkspacesCloudResourceContainerGcpOutput { + return o.ApplyT(func(v MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainerGcp { return v.Gcp }).(MwsWorkspacesCloudResourceContainerGcpOutput) } -type PipelineClusterArrayOutput struct{ *pulumi.OutputState } +type MwsWorkspacesCloudResourceContainerPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainer)(nil)).Elem() } -func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { +func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutput() MwsWorkspacesCloudResourceContainerPtrOutput { return o } -func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { +func (o MwsWorkspacesCloudResourceContainerPtrOutput) ToMwsWorkspacesCloudResourceContainerPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerPtrOutput { return o } -func (o PipelineClusterArrayOutput) Index(i pulumi.IntInput) PipelineClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineCluster { - return vs[0].([]PipelineCluster)[vs[1].(int)] - }).(PipelineClusterOutput) +func (o MwsWorkspacesCloudResourceContainerPtrOutput) Elem() MwsWorkspacesCloudResourceContainerOutput { + return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) MwsWorkspacesCloudResourceContainer { + if v != nil { + return *v + } + var ret MwsWorkspacesCloudResourceContainer + return ret + }).(MwsWorkspacesCloudResourceContainerOutput) } -type PipelineClusterAutoscale struct { - MaxWorkers int `pulumi:"maxWorkers"` - MinWorkers int `pulumi:"minWorkers"` - Mode *string `pulumi:"mode"` +// A block that consists of the following field: +func (o MwsWorkspacesCloudResourceContainerPtrOutput) Gcp() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainer) *MwsWorkspacesCloudResourceContainerGcp { + if v == nil { + return nil + } + return &v.Gcp + }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) } -// PipelineClusterAutoscaleInput is an input type that accepts PipelineClusterAutoscaleArgs and PipelineClusterAutoscaleOutput values. -// You can construct a concrete instance of `PipelineClusterAutoscaleInput` via: +type MwsWorkspacesCloudResourceContainerGcp struct { + // The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + ProjectId string `pulumi:"projectId"` +} + +// MwsWorkspacesCloudResourceContainerGcpInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs and MwsWorkspacesCloudResourceContainerGcpOutput values. +// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpInput` via: // -// PipelineClusterAutoscaleArgs{...} -type PipelineClusterAutoscaleInput interface { +// MwsWorkspacesCloudResourceContainerGcpArgs{...} +type MwsWorkspacesCloudResourceContainerGcpInput interface { pulumi.Input - ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput - ToPipelineClusterAutoscaleOutputWithContext(context.Context) PipelineClusterAutoscaleOutput + ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput + ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpOutput } -type PipelineClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntInput `pulumi:"minWorkers"` - Mode pulumi.StringPtrInput `pulumi:"mode"` +type MwsWorkspacesCloudResourceContainerGcpArgs struct { + // The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + ProjectId pulumi.StringInput `pulumi:"projectId"` } -func (PipelineClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerGcpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { - return i.ToPipelineClusterAutoscaleOutputWithContext(context.Background()) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { + return i.ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(context.Background()) } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput) } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput).ToPipelineClusterAutoscalePtrOutputWithContext(ctx) +func (i MwsWorkspacesCloudResourceContainerGcpArgs) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpOutput).ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx) } -// PipelineClusterAutoscalePtrInput is an input type that accepts PipelineClusterAutoscaleArgs, PipelineClusterAutoscalePtr and PipelineClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `PipelineClusterAutoscalePtrInput` via: +// MwsWorkspacesCloudResourceContainerGcpPtrInput is an input type that accepts MwsWorkspacesCloudResourceContainerGcpArgs, MwsWorkspacesCloudResourceContainerGcpPtr and MwsWorkspacesCloudResourceContainerGcpPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesCloudResourceContainerGcpPtrInput` via: // -// PipelineClusterAutoscaleArgs{...} +// MwsWorkspacesCloudResourceContainerGcpArgs{...} // // or: // // nil -type PipelineClusterAutoscalePtrInput interface { +type MwsWorkspacesCloudResourceContainerGcpPtrInput interface { pulumi.Input - ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput - ToPipelineClusterAutoscalePtrOutputWithContext(context.Context) PipelineClusterAutoscalePtrOutput + ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput + ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput } -type pipelineClusterAutoscalePtrType PipelineClusterAutoscaleArgs +type mwsWorkspacesCloudResourceContainerGcpPtrType MwsWorkspacesCloudResourceContainerGcpArgs -func PipelineClusterAutoscalePtr(v *PipelineClusterAutoscaleArgs) PipelineClusterAutoscalePtrInput { - return (*pipelineClusterAutoscalePtrType)(v) +func MwsWorkspacesCloudResourceContainerGcpPtr(v *MwsWorkspacesCloudResourceContainerGcpArgs) MwsWorkspacesCloudResourceContainerGcpPtrInput { + return (*mwsWorkspacesCloudResourceContainerGcpPtrType)(v) } -func (*pipelineClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() +func (*mwsWorkspacesCloudResourceContainerGcpPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return i.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscalePtrOutput) +func (i *mwsWorkspacesCloudResourceContainerGcpPtrType) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) } -type PipelineClusterAutoscaleOutput struct{ *pulumi.OutputState } +type MwsWorkspacesCloudResourceContainerGcpOutput struct{ *pulumi.OutputState } -func (PipelineClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() +func (MwsWorkspacesCloudResourceContainerGcpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutput() MwsWorkspacesCloudResourceContainerGcpOutput { return o } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpOutput { return o } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return o.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o.ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAutoscale) *PipelineClusterAutoscale { +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesCloudResourceContainerGcp) *MwsWorkspacesCloudResourceContainerGcp { return &v - }).(PipelineClusterAutoscalePtrOutput) -} - -func (o PipelineClusterAutoscaleOutput) MaxWorkers() pulumi.IntOutput { - return o.ApplyT(func(v PipelineClusterAutoscale) int { return v.MaxWorkers }).(pulumi.IntOutput) -} - -func (o PipelineClusterAutoscaleOutput) MinWorkers() pulumi.IntOutput { - return o.ApplyT(func(v PipelineClusterAutoscale) int { return v.MinWorkers }).(pulumi.IntOutput) -} - -func (o PipelineClusterAutoscaleOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAutoscale) *string { return v.Mode }).(pulumi.StringPtrOutput) -} - -type PipelineClusterAutoscalePtrOutput struct{ *pulumi.OutputState } - -func (PipelineClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() + }).(MwsWorkspacesCloudResourceContainerGcpPtrOutput) } -func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { - return o +// The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. +func (o MwsWorkspacesCloudResourceContainerGcpOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesCloudResourceContainerGcp) string { return v.ProjectId }).(pulumi.StringOutput) } -func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { - return o -} +type MwsWorkspacesCloudResourceContainerGcpPtrOutput struct{ *pulumi.OutputState } -func (o PipelineClusterAutoscalePtrOutput) Elem() PipelineClusterAutoscaleOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) PipelineClusterAutoscale { - if v != nil { - return *v - } - var ret PipelineClusterAutoscale - return ret - }).(PipelineClusterAutoscaleOutput) +func (MwsWorkspacesCloudResourceContainerGcpPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesCloudResourceContainerGcp)(nil)).Elem() } -func (o PipelineClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) *int { - if v == nil { - return nil - } - return &v.MaxWorkers - }).(pulumi.IntPtrOutput) +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutput() MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o } -func (o PipelineClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) *int { - if v == nil { - return nil +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ToMwsWorkspacesCloudResourceContainerGcpPtrOutputWithContext(ctx context.Context) MwsWorkspacesCloudResourceContainerGcpPtrOutput { + return o +} + +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) Elem() MwsWorkspacesCloudResourceContainerGcpOutput { + return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainerGcp) MwsWorkspacesCloudResourceContainerGcp { + if v != nil { + return *v } - return &v.MinWorkers - }).(pulumi.IntPtrOutput) + var ret MwsWorkspacesCloudResourceContainerGcp + return ret + }).(MwsWorkspacesCloudResourceContainerGcpOutput) } -func (o PipelineClusterAutoscalePtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAutoscale) *string { +// The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. +func (o MwsWorkspacesCloudResourceContainerGcpPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesCloudResourceContainerGcp) *string { if v == nil { return nil } - return v.Mode + return &v.ProjectId }).(pulumi.StringPtrOutput) } -type PipelineClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type MwsWorkspacesExternalCustomerInfo struct { + AuthoritativeUserEmail string `pulumi:"authoritativeUserEmail"` + AuthoritativeUserFullName string `pulumi:"authoritativeUserFullName"` + CustomerName string `pulumi:"customerName"` } -// PipelineClusterAwsAttributesInput is an input type that accepts PipelineClusterAwsAttributesArgs and PipelineClusterAwsAttributesOutput values. -// You can construct a concrete instance of `PipelineClusterAwsAttributesInput` via: +// MwsWorkspacesExternalCustomerInfoInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs and MwsWorkspacesExternalCustomerInfoOutput values. +// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoInput` via: // -// PipelineClusterAwsAttributesArgs{...} -type PipelineClusterAwsAttributesInput interface { +// MwsWorkspacesExternalCustomerInfoArgs{...} +type MwsWorkspacesExternalCustomerInfoInput interface { pulumi.Input - ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput - ToPipelineClusterAwsAttributesOutputWithContext(context.Context) PipelineClusterAwsAttributesOutput + ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput + ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoOutput } -type PipelineClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type MwsWorkspacesExternalCustomerInfoArgs struct { + AuthoritativeUserEmail pulumi.StringInput `pulumi:"authoritativeUserEmail"` + AuthoritativeUserFullName pulumi.StringInput `pulumi:"authoritativeUserFullName"` + CustomerName pulumi.StringInput `pulumi:"customerName"` } -func (PipelineClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() +func (MwsWorkspacesExternalCustomerInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { - return i.ToPipelineClusterAwsAttributesOutputWithContext(context.Background()) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { + return i.ToMwsWorkspacesExternalCustomerInfoOutputWithContext(context.Background()) } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput) } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { - return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { + return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput).ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx) +func (i MwsWorkspacesExternalCustomerInfoArgs) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoOutput).ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx) } -// PipelineClusterAwsAttributesPtrInput is an input type that accepts PipelineClusterAwsAttributesArgs, PipelineClusterAwsAttributesPtr and PipelineClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterAwsAttributesPtrInput` via: +// MwsWorkspacesExternalCustomerInfoPtrInput is an input type that accepts MwsWorkspacesExternalCustomerInfoArgs, MwsWorkspacesExternalCustomerInfoPtr and MwsWorkspacesExternalCustomerInfoPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesExternalCustomerInfoPtrInput` via: // -// PipelineClusterAwsAttributesArgs{...} +// MwsWorkspacesExternalCustomerInfoArgs{...} // // or: // // nil -type PipelineClusterAwsAttributesPtrInput interface { +type MwsWorkspacesExternalCustomerInfoPtrInput interface { pulumi.Input - ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput - ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Context) PipelineClusterAwsAttributesPtrOutput + ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput + ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput } -type pipelineClusterAwsAttributesPtrType PipelineClusterAwsAttributesArgs +type mwsWorkspacesExternalCustomerInfoPtrType MwsWorkspacesExternalCustomerInfoArgs -func PipelineClusterAwsAttributesPtr(v *PipelineClusterAwsAttributesArgs) PipelineClusterAwsAttributesPtrInput { - return (*pipelineClusterAwsAttributesPtrType)(v) +func MwsWorkspacesExternalCustomerInfoPtr(v *MwsWorkspacesExternalCustomerInfoArgs) MwsWorkspacesExternalCustomerInfoPtrInput { + return (*mwsWorkspacesExternalCustomerInfoPtrType)(v) } -func (*pipelineClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() +func (*mwsWorkspacesExternalCustomerInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { - return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { + return i.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesPtrOutput) +func (i *mwsWorkspacesExternalCustomerInfoPtrType) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesExternalCustomerInfoPtrOutput) } -type PipelineClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type MwsWorkspacesExternalCustomerInfoOutput struct{ *pulumi.OutputState } -func (PipelineClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() +func (MwsWorkspacesExternalCustomerInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutput() MwsWorkspacesExternalCustomerInfoOutput { return o } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoOutput { return o } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { - return o.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { + return o.ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAwsAttributes) *PipelineClusterAwsAttributes { +func (o MwsWorkspacesExternalCustomerInfoOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesExternalCustomerInfo) *MwsWorkspacesExternalCustomerInfo { return &v - }).(PipelineClusterAwsAttributesPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(MwsWorkspacesExternalCustomerInfoPtrOutput) } -func (o PipelineClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserEmail() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserEmail }).(pulumi.StringOutput) } -func (o PipelineClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o MwsWorkspacesExternalCustomerInfoOutput) AuthoritativeUserFullName() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.AuthoritativeUserFullName }).(pulumi.StringOutput) } -func (o PipelineClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o MwsWorkspacesExternalCustomerInfoOutput) CustomerName() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesExternalCustomerInfo) string { return v.CustomerName }).(pulumi.StringOutput) } -type PipelineClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type MwsWorkspacesExternalCustomerInfoPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() +func (MwsWorkspacesExternalCustomerInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesExternalCustomerInfo)(nil)).Elem() } -func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutput() MwsWorkspacesExternalCustomerInfoPtrOutput { return o } -func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) ToMwsWorkspacesExternalCustomerInfoPtrOutputWithContext(ctx context.Context) MwsWorkspacesExternalCustomerInfoPtrOutput { return o } -func (o PipelineClusterAwsAttributesPtrOutput) Elem() PipelineClusterAwsAttributesOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) PipelineClusterAwsAttributes { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) Elem() MwsWorkspacesExternalCustomerInfoOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) MwsWorkspacesExternalCustomerInfo { if v != nil { return *v } - var ret PipelineClusterAwsAttributes + var ret MwsWorkspacesExternalCustomerInfo return ret - }).(PipelineClusterAwsAttributesOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) + }).(MwsWorkspacesExternalCustomerInfoOutput) } -func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { if v == nil { return nil } - return v.EbsVolumeType + return &v.AuthoritativeUserEmail }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) AuthoritativeUserFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.AuthoritativeUserFullName }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { +func (o MwsWorkspacesExternalCustomerInfoPtrOutput) CustomerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesExternalCustomerInfo) *string { if v == nil { return nil } - return v.ZoneId + return &v.CustomerName }).(pulumi.StringPtrOutput) } -type PipelineClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *PipelineClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type MwsWorkspacesGcpManagedNetworkConfig struct { + GkeClusterPodIpRange string `pulumi:"gkeClusterPodIpRange"` + GkeClusterServiceIpRange string `pulumi:"gkeClusterServiceIpRange"` + SubnetCidr string `pulumi:"subnetCidr"` } -// PipelineClusterAzureAttributesInput is an input type that accepts PipelineClusterAzureAttributesArgs and PipelineClusterAzureAttributesOutput values. -// You can construct a concrete instance of `PipelineClusterAzureAttributesInput` via: +// MwsWorkspacesGcpManagedNetworkConfigInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs and MwsWorkspacesGcpManagedNetworkConfigOutput values. +// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigInput` via: // -// PipelineClusterAzureAttributesArgs{...} -type PipelineClusterAzureAttributesInput interface { +// MwsWorkspacesGcpManagedNetworkConfigArgs{...} +type MwsWorkspacesGcpManagedNetworkConfigInput interface { pulumi.Input - ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput - ToPipelineClusterAzureAttributesOutputWithContext(context.Context) PipelineClusterAzureAttributesOutput + ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput + ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput } -type PipelineClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type MwsWorkspacesGcpManagedNetworkConfigArgs struct { + GkeClusterPodIpRange pulumi.StringInput `pulumi:"gkeClusterPodIpRange"` + GkeClusterServiceIpRange pulumi.StringInput `pulumi:"gkeClusterServiceIpRange"` + SubnetCidr pulumi.StringInput `pulumi:"subnetCidr"` } -func (PipelineClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() +func (MwsWorkspacesGcpManagedNetworkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { - return i.ToPipelineClusterAzureAttributesOutputWithContext(context.Background()) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { + return i.ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(context.Background()) } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput) } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { - return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput).ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx) +func (i MwsWorkspacesGcpManagedNetworkConfigArgs) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigOutput).ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx) } -// PipelineClusterAzureAttributesPtrInput is an input type that accepts PipelineClusterAzureAttributesArgs, PipelineClusterAzureAttributesPtr and PipelineClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterAzureAttributesPtrInput` via: +// MwsWorkspacesGcpManagedNetworkConfigPtrInput is an input type that accepts MwsWorkspacesGcpManagedNetworkConfigArgs, MwsWorkspacesGcpManagedNetworkConfigPtr and MwsWorkspacesGcpManagedNetworkConfigPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesGcpManagedNetworkConfigPtrInput` via: // -// PipelineClusterAzureAttributesArgs{...} +// MwsWorkspacesGcpManagedNetworkConfigArgs{...} // // or: // // nil -type PipelineClusterAzureAttributesPtrInput interface { +type MwsWorkspacesGcpManagedNetworkConfigPtrInput interface { pulumi.Input - ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput - ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Context) PipelineClusterAzureAttributesPtrOutput + ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput + ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput } -type pipelineClusterAzureAttributesPtrType PipelineClusterAzureAttributesArgs +type mwsWorkspacesGcpManagedNetworkConfigPtrType MwsWorkspacesGcpManagedNetworkConfigArgs -func PipelineClusterAzureAttributesPtr(v *PipelineClusterAzureAttributesArgs) PipelineClusterAzureAttributesPtrInput { - return (*pipelineClusterAzureAttributesPtrType)(v) +func MwsWorkspacesGcpManagedNetworkConfigPtr(v *MwsWorkspacesGcpManagedNetworkConfigArgs) MwsWorkspacesGcpManagedNetworkConfigPtrInput { + return (*mwsWorkspacesGcpManagedNetworkConfigPtrType)(v) } -func (*pipelineClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() +func (*mwsWorkspacesGcpManagedNetworkConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { - return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return i.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesPtrOutput) +func (i *mwsWorkspacesGcpManagedNetworkConfigPtrType) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) } -type PipelineClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type MwsWorkspacesGcpManagedNetworkConfigOutput struct{ *pulumi.OutputState } -func (PipelineClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() +func (MwsWorkspacesGcpManagedNetworkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutput() MwsWorkspacesGcpManagedNetworkConfigOutput { return o } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigOutput { return o } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { - return o.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return o.ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAzureAttributes) *PipelineClusterAzureAttributes { +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGcpManagedNetworkConfig) *MwsWorkspacesGcpManagedNetworkConfig { return &v - }).(PipelineClusterAzureAttributesPtrOutput) -} - -func (o PipelineClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) + }).(MwsWorkspacesGcpManagedNetworkConfigPtrOutput) } -func (o PipelineClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterPodIpRange() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterPodIpRange }).(pulumi.StringOutput) } -func (o PipelineClusterAzureAttributesOutput) LogAnalyticsInfo() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *PipelineClusterAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) GkeClusterServiceIpRange() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.GkeClusterServiceIpRange }).(pulumi.StringOutput) } -func (o PipelineClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o MwsWorkspacesGcpManagedNetworkConfigOutput) SubnetCidr() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGcpManagedNetworkConfig) string { return v.SubnetCidr }).(pulumi.StringOutput) } -type PipelineClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type MwsWorkspacesGcpManagedNetworkConfigPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() +func (MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGcpManagedNetworkConfig)(nil)).Elem() } -func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutput() MwsWorkspacesGcpManagedNetworkConfigPtrOutput { return o } -func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) ToMwsWorkspacesGcpManagedNetworkConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGcpManagedNetworkConfigPtrOutput { return o } -func (o PipelineClusterAzureAttributesPtrOutput) Elem() PipelineClusterAzureAttributesOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) PipelineClusterAzureAttributes { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) Elem() MwsWorkspacesGcpManagedNetworkConfigOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) MwsWorkspacesGcpManagedNetworkConfig { if v != nil { return *v } - var ret PipelineClusterAzureAttributes + var ret MwsWorkspacesGcpManagedNetworkConfig return ret - }).(PipelineClusterAzureAttributesOutput) + }).(MwsWorkspacesGcpManagedNetworkConfigOutput) } -func (o PipelineClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) *string { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterPodIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { if v == nil { return nil } - return v.Availability + return &v.GkeClusterPodIpRange }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o PipelineClusterAzureAttributesPtrOutput) LogAnalyticsInfo() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) *PipelineClusterAzureAttributesLogAnalyticsInfo { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) GkeClusterServiceIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { if v == nil { return nil } - return v.LogAnalyticsInfo - }).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) + return &v.GkeClusterServiceIpRange + }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributes) *float64 { +func (o MwsWorkspacesGcpManagedNetworkConfigPtrOutput) SubnetCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGcpManagedNetworkConfig) *string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return &v.SubnetCidr + }).(pulumi.StringPtrOutput) } -type PipelineClusterAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +type MwsWorkspacesGkeConfig struct { + // Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + ConnectivityType string `pulumi:"connectivityType"` + // The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + MasterIpRange string `pulumi:"masterIpRange"` } -// PipelineClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts PipelineClusterAzureAttributesLogAnalyticsInfoArgs and PipelineClusterAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `PipelineClusterAzureAttributesLogAnalyticsInfoInput` via: +// MwsWorkspacesGkeConfigInput is an input type that accepts MwsWorkspacesGkeConfigArgs and MwsWorkspacesGkeConfigOutput values. +// You can construct a concrete instance of `MwsWorkspacesGkeConfigInput` via: // -// PipelineClusterAzureAttributesLogAnalyticsInfoArgs{...} -type PipelineClusterAzureAttributesLogAnalyticsInfoInput interface { +// MwsWorkspacesGkeConfigArgs{...} +type MwsWorkspacesGkeConfigInput interface { pulumi.Input - ToPipelineClusterAzureAttributesLogAnalyticsInfoOutput() PipelineClusterAzureAttributesLogAnalyticsInfoOutput - ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoOutput + ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput + ToMwsWorkspacesGkeConfigOutputWithContext(context.Context) MwsWorkspacesGkeConfigOutput } -type PipelineClusterAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type MwsWorkspacesGkeConfigArgs struct { + // Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + ConnectivityType pulumi.StringInput `pulumi:"connectivityType"` + // The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + MasterIpRange pulumi.StringInput `pulumi:"masterIpRange"` } -func (PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (MwsWorkspacesGkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() } -func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutput() PipelineClusterAzureAttributesLogAnalyticsInfoOutput { - return i.ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { + return i.ToMwsWorkspacesGkeConfigOutputWithContext(context.Background()) } -func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesLogAnalyticsInfoOutput) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput) } -func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { + return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) } -func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesLogAnalyticsInfoOutput).ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (i MwsWorkspacesGkeConfigArgs) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigOutput).ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx) } -// PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts PipelineClusterAzureAttributesLogAnalyticsInfoArgs, PipelineClusterAzureAttributesLogAnalyticsInfoPtr and PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput` via: +// MwsWorkspacesGkeConfigPtrInput is an input type that accepts MwsWorkspacesGkeConfigArgs, MwsWorkspacesGkeConfigPtr and MwsWorkspacesGkeConfigPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesGkeConfigPtrInput` via: // -// PipelineClusterAzureAttributesLogAnalyticsInfoArgs{...} +// MwsWorkspacesGkeConfigArgs{...} // // or: // // nil -type PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput interface { +type MwsWorkspacesGkeConfigPtrInput interface { pulumi.Input - ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput - ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput + ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Context) MwsWorkspacesGkeConfigPtrOutput } -type pipelineClusterAzureAttributesLogAnalyticsInfoPtrType PipelineClusterAzureAttributesLogAnalyticsInfoArgs +type mwsWorkspacesGkeConfigPtrType MwsWorkspacesGkeConfigArgs -func PipelineClusterAzureAttributesLogAnalyticsInfoPtr(v *PipelineClusterAzureAttributesLogAnalyticsInfoArgs) PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput { - return (*pipelineClusterAzureAttributesLogAnalyticsInfoPtrType)(v) +func MwsWorkspacesGkeConfigPtr(v *MwsWorkspacesGkeConfigArgs) MwsWorkspacesGkeConfigPtrInput { + return (*mwsWorkspacesGkeConfigPtrType)(v) } -func (*pipelineClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*mwsWorkspacesGkeConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() } -func (i *pipelineClusterAzureAttributesLogAnalyticsInfoPtrType) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { + return i.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterAzureAttributesLogAnalyticsInfoPtrType) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *mwsWorkspacesGkeConfigPtrType) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesGkeConfigPtrOutput) } -type PipelineClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type MwsWorkspacesGkeConfigOutput struct{ *pulumi.OutputState } -func (PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (MwsWorkspacesGkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesGkeConfig)(nil)).Elem() } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutput() PipelineClusterAzureAttributesLogAnalyticsInfoOutput { +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutput() MwsWorkspacesGkeConfigOutput { return o } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoOutput { +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigOutput { return o } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { + return o.ToMwsWorkspacesGkeConfigPtrOutputWithContext(context.Background()) } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAzureAttributesLogAnalyticsInfo) *PipelineClusterAzureAttributesLogAnalyticsInfo { +func (o MwsWorkspacesGkeConfigOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesGkeConfig) *MwsWorkspacesGkeConfig { return &v - }).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) + }).(MwsWorkspacesGkeConfigPtrOutput) } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) +// Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. +func (o MwsWorkspacesGkeConfigOutput) ConnectivityType() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGkeConfig) string { return v.ConnectivityType }).(pulumi.StringOutput) } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +// The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. +func (o MwsWorkspacesGkeConfigOutput) MasterIpRange() pulumi.StringOutput { + return o.ApplyT(func(v MwsWorkspacesGkeConfig) string { return v.MasterIpRange }).(pulumi.StringOutput) } -type PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +type MwsWorkspacesGkeConfigPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (MwsWorkspacesGkeConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesGkeConfig)(nil)).Elem() } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutput() MwsWorkspacesGkeConfigPtrOutput { return o } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { +func (o MwsWorkspacesGkeConfigPtrOutput) ToMwsWorkspacesGkeConfigPtrOutputWithContext(ctx context.Context) MwsWorkspacesGkeConfigPtrOutput { return o } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() PipelineClusterAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributesLogAnalyticsInfo) PipelineClusterAzureAttributesLogAnalyticsInfo { +func (o MwsWorkspacesGkeConfigPtrOutput) Elem() MwsWorkspacesGkeConfigOutput { + return o.ApplyT(func(v *MwsWorkspacesGkeConfig) MwsWorkspacesGkeConfig { if v != nil { return *v } - var ret PipelineClusterAzureAttributesLogAnalyticsInfo + var ret MwsWorkspacesGkeConfig return ret - }).(PipelineClusterAzureAttributesLogAnalyticsInfoOutput) + }).(MwsWorkspacesGkeConfigOutput) } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributesLogAnalyticsInfo) *string { +// Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. +func (o MwsWorkspacesGkeConfigPtrOutput) ConnectivityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGkeConfig) *string { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey + return &v.ConnectivityType }).(pulumi.StringPtrOutput) } -func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterAzureAttributesLogAnalyticsInfo) *string { +// The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. +func (o MwsWorkspacesGkeConfigPtrOutput) MasterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesGkeConfig) *string { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId + return &v.MasterIpRange }).(pulumi.StringPtrOutput) } -type PipelineClusterClusterLogConf struct { - Dbfs *PipelineClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *PipelineClusterClusterLogConfS3 `pulumi:"s3"` +type MwsWorkspacesToken struct { + // Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + Comment *string `pulumi:"comment"` + // Token expiry lifetime. By default its 2592000 (30 days). + LifetimeSeconds *int `pulumi:"lifetimeSeconds"` + TokenId *string `pulumi:"tokenId"` + TokenValue *string `pulumi:"tokenValue"` } -// PipelineClusterClusterLogConfInput is an input type that accepts PipelineClusterClusterLogConfArgs and PipelineClusterClusterLogConfOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfInput` via: +// MwsWorkspacesTokenInput is an input type that accepts MwsWorkspacesTokenArgs and MwsWorkspacesTokenOutput values. +// You can construct a concrete instance of `MwsWorkspacesTokenInput` via: // -// PipelineClusterClusterLogConfArgs{...} -type PipelineClusterClusterLogConfInput interface { +// MwsWorkspacesTokenArgs{...} +type MwsWorkspacesTokenInput interface { pulumi.Input - ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput - ToPipelineClusterClusterLogConfOutputWithContext(context.Context) PipelineClusterClusterLogConfOutput + ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput + ToMwsWorkspacesTokenOutputWithContext(context.Context) MwsWorkspacesTokenOutput } -type PipelineClusterClusterLogConfArgs struct { - Dbfs PipelineClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 PipelineClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type MwsWorkspacesTokenArgs struct { + // Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Token expiry lifetime. By default its 2592000 (30 days). + LifetimeSeconds pulumi.IntPtrInput `pulumi:"lifetimeSeconds"` + TokenId pulumi.StringPtrInput `pulumi:"tokenId"` + TokenValue pulumi.StringPtrInput `pulumi:"tokenValue"` } -func (PipelineClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() +func (MwsWorkspacesTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() } -func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { - return i.ToPipelineClusterClusterLogConfOutputWithContext(context.Background()) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { + return i.ToMwsWorkspacesTokenOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput) } -func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { - return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { + return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput).ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx) +func (i MwsWorkspacesTokenArgs) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenOutput).ToMwsWorkspacesTokenPtrOutputWithContext(ctx) } -// PipelineClusterClusterLogConfPtrInput is an input type that accepts PipelineClusterClusterLogConfArgs, PipelineClusterClusterLogConfPtr and PipelineClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfPtrInput` via: +// MwsWorkspacesTokenPtrInput is an input type that accepts MwsWorkspacesTokenArgs, MwsWorkspacesTokenPtr and MwsWorkspacesTokenPtrOutput values. +// You can construct a concrete instance of `MwsWorkspacesTokenPtrInput` via: // -// PipelineClusterClusterLogConfArgs{...} +// MwsWorkspacesTokenArgs{...} // // or: // // nil -type PipelineClusterClusterLogConfPtrInput interface { +type MwsWorkspacesTokenPtrInput interface { pulumi.Input - ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput - ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfPtrOutput + ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput + ToMwsWorkspacesTokenPtrOutputWithContext(context.Context) MwsWorkspacesTokenPtrOutput } -type pipelineClusterClusterLogConfPtrType PipelineClusterClusterLogConfArgs +type mwsWorkspacesTokenPtrType MwsWorkspacesTokenArgs -func PipelineClusterClusterLogConfPtr(v *PipelineClusterClusterLogConfArgs) PipelineClusterClusterLogConfPtrInput { - return (*pipelineClusterClusterLogConfPtrType)(v) +func MwsWorkspacesTokenPtr(v *MwsWorkspacesTokenArgs) MwsWorkspacesTokenPtrInput { + return (*mwsWorkspacesTokenPtrType)(v) } -func (*pipelineClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() +func (*mwsWorkspacesTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() } -func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { - return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { + return i.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfPtrOutput) +func (i *mwsWorkspacesTokenPtrType) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MwsWorkspacesTokenPtrOutput) } -type PipelineClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type MwsWorkspacesTokenOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() +func (MwsWorkspacesTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MwsWorkspacesToken)(nil)).Elem() } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutput() MwsWorkspacesTokenOutput { return o } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenOutputWithContext(ctx context.Context) MwsWorkspacesTokenOutput { return o } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { - return o.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { + return o.ToMwsWorkspacesTokenPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConf { +func (o MwsWorkspacesTokenOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MwsWorkspacesToken) *MwsWorkspacesToken { return &v - }).(PipelineClusterClusterLogConfPtrOutput) + }).(MwsWorkspacesTokenPtrOutput) } -func (o PipelineClusterClusterLogConfOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { return v.Dbfs }).(PipelineClusterClusterLogConfDbfsPtrOutput) +// Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". +func (o MwsWorkspacesTokenOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o PipelineClusterClusterLogConfOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { return v.S3 }).(PipelineClusterClusterLogConfS3PtrOutput) +// Token expiry lifetime. By default its 2592000 (30 days). +func (o MwsWorkspacesTokenOutput) LifetimeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *int { return v.LifetimeSeconds }).(pulumi.IntPtrOutput) } -type PipelineClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +func (o MwsWorkspacesTokenOutput) TokenId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenId }).(pulumi.StringPtrOutput) +} -func (PipelineClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() +func (o MwsWorkspacesTokenOutput) TokenValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v MwsWorkspacesToken) *string { return v.TokenValue }).(pulumi.StringPtrOutput) } -func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { +type MwsWorkspacesTokenPtrOutput struct{ *pulumi.OutputState } + +func (MwsWorkspacesTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MwsWorkspacesToken)(nil)).Elem() +} + +func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutput() MwsWorkspacesTokenPtrOutput { return o } -func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { +func (o MwsWorkspacesTokenPtrOutput) ToMwsWorkspacesTokenPtrOutputWithContext(ctx context.Context) MwsWorkspacesTokenPtrOutput { return o } -func (o PipelineClusterClusterLogConfPtrOutput) Elem() PipelineClusterClusterLogConfOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConf) PipelineClusterClusterLogConf { +func (o MwsWorkspacesTokenPtrOutput) Elem() MwsWorkspacesTokenOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) MwsWorkspacesToken { if v != nil { return *v } - var ret PipelineClusterClusterLogConf + var ret MwsWorkspacesToken return ret - }).(PipelineClusterClusterLogConfOutput) + }).(MwsWorkspacesTokenOutput) } -func (o PipelineClusterClusterLogConfPtrOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { +// Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". +func (o MwsWorkspacesTokenPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *string { if v == nil { return nil } - return v.Dbfs - }).(PipelineClusterClusterLogConfDbfsPtrOutput) + return v.Comment + }).(pulumi.StringPtrOutput) } -func (o PipelineClusterClusterLogConfPtrOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { +// Token expiry lifetime. By default its 2592000 (30 days). +func (o MwsWorkspacesTokenPtrOutput) LifetimeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *int { if v == nil { return nil } - return v.S3 - }).(PipelineClusterClusterLogConfS3PtrOutput) + return v.LifetimeSeconds + }).(pulumi.IntPtrOutput) } -type PipelineClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +func (o MwsWorkspacesTokenPtrOutput) TokenId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *string { + if v == nil { + return nil + } + return v.TokenId + }).(pulumi.StringPtrOutput) } -// PipelineClusterClusterLogConfDbfsInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs and PipelineClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsInput` via: +func (o MwsWorkspacesTokenPtrOutput) TokenValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MwsWorkspacesToken) *string { + if v == nil { + return nil + } + return v.TokenValue + }).(pulumi.StringPtrOutput) +} + +type NotificationDestinationConfig struct { + // The email configuration of the Notification Destination. It must contain the following: + Email *NotificationDestinationConfigEmail `pulumi:"email"` + // The Generic Webhook configuration of the Notification Destination. It must contain the following: + GenericWebhook *NotificationDestinationConfigGenericWebhook `pulumi:"genericWebhook"` + // The Microsoft Teams configuration of the Notification Destination. It must contain the following: + MicrosoftTeams *NotificationDestinationConfigMicrosoftTeams `pulumi:"microsoftTeams"` + // The PagerDuty configuration of the Notification Destination. It must contain the following: + Pagerduty *NotificationDestinationConfigPagerduty `pulumi:"pagerduty"` + // The Slack configuration of the Notification Destination. It must contain the following: + Slack *NotificationDestinationConfigSlack `pulumi:"slack"` +} + +// NotificationDestinationConfigInput is an input type that accepts NotificationDestinationConfigArgs and NotificationDestinationConfigOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigInput` via: // -// PipelineClusterClusterLogConfDbfsArgs{...} -type PipelineClusterClusterLogConfDbfsInput interface { +// NotificationDestinationConfigArgs{...} +type NotificationDestinationConfigInput interface { pulumi.Input - ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput - ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsOutput + ToNotificationDestinationConfigOutput() NotificationDestinationConfigOutput + ToNotificationDestinationConfigOutputWithContext(context.Context) NotificationDestinationConfigOutput } -type PipelineClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type NotificationDestinationConfigArgs struct { + // The email configuration of the Notification Destination. It must contain the following: + Email NotificationDestinationConfigEmailPtrInput `pulumi:"email"` + // The Generic Webhook configuration of the Notification Destination. It must contain the following: + GenericWebhook NotificationDestinationConfigGenericWebhookPtrInput `pulumi:"genericWebhook"` + // The Microsoft Teams configuration of the Notification Destination. It must contain the following: + MicrosoftTeams NotificationDestinationConfigMicrosoftTeamsPtrInput `pulumi:"microsoftTeams"` + // The PagerDuty configuration of the Notification Destination. It must contain the following: + Pagerduty NotificationDestinationConfigPagerdutyPtrInput `pulumi:"pagerduty"` + // The Slack configuration of the Notification Destination. It must contain the following: + Slack NotificationDestinationConfigSlackPtrInput `pulumi:"slack"` } -func (PipelineClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() +func (NotificationDestinationConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfig)(nil)).Elem() } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { - return i.ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigOutput() NotificationDestinationConfigOutput { + return i.ToNotificationDestinationConfigOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput) +func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigOutputWithContext(ctx context.Context) NotificationDestinationConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigOutput) } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { - return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { + return i.ToNotificationDestinationConfigPtrOutputWithContext(context.Background()) } -func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput).ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i NotificationDestinationConfigArgs) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigOutput).ToNotificationDestinationConfigPtrOutputWithContext(ctx) } -// PipelineClusterClusterLogConfDbfsPtrInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs, PipelineClusterClusterLogConfDbfsPtr and PipelineClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsPtrInput` via: +// NotificationDestinationConfigPtrInput is an input type that accepts NotificationDestinationConfigArgs, NotificationDestinationConfigPtr and NotificationDestinationConfigPtrOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigPtrInput` via: // -// PipelineClusterClusterLogConfDbfsArgs{...} +// NotificationDestinationConfigArgs{...} // // or: // // nil -type PipelineClusterClusterLogConfDbfsPtrInput interface { +type NotificationDestinationConfigPtrInput interface { pulumi.Input - ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput - ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsPtrOutput + ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput + ToNotificationDestinationConfigPtrOutputWithContext(context.Context) NotificationDestinationConfigPtrOutput } -type pipelineClusterClusterLogConfDbfsPtrType PipelineClusterClusterLogConfDbfsArgs +type notificationDestinationConfigPtrType NotificationDestinationConfigArgs -func PipelineClusterClusterLogConfDbfsPtr(v *PipelineClusterClusterLogConfDbfsArgs) PipelineClusterClusterLogConfDbfsPtrInput { - return (*pipelineClusterClusterLogConfDbfsPtrType)(v) +func NotificationDestinationConfigPtr(v *NotificationDestinationConfigArgs) NotificationDestinationConfigPtrInput { + return (*notificationDestinationConfigPtrType)(v) } -func (*pipelineClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() +func (*notificationDestinationConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfig)(nil)).Elem() } -func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { - return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *notificationDestinationConfigPtrType) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { + return i.ToNotificationDestinationConfigPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsPtrOutput) +func (i *notificationDestinationConfigPtrType) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPtrOutput) } -type PipelineClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type NotificationDestinationConfigOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() +func (NotificationDestinationConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfig)(nil)).Elem() } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { +func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigOutput() NotificationDestinationConfigOutput { return o } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { +func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigOutputWithContext(ctx context.Context) NotificationDestinationConfigOutput { return o } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { + return o.ToNotificationDestinationConfigPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfDbfs) *PipelineClusterClusterLogConfDbfs { +func (o NotificationDestinationConfigOutput) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfig) *NotificationDestinationConfig { return &v - }).(PipelineClusterClusterLogConfDbfsPtrOutput) + }).(NotificationDestinationConfigPtrOutput) } -func (o PipelineClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// The email configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigOutput) Email() NotificationDestinationConfigEmailPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigEmail { return v.Email }).(NotificationDestinationConfigEmailPtrOutput) } -type PipelineClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +// The Generic Webhook configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigOutput) GenericWebhook() NotificationDestinationConfigGenericWebhookPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigGenericWebhook { + return v.GenericWebhook + }).(NotificationDestinationConfigGenericWebhookPtrOutput) +} -func (PipelineClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() +// The Microsoft Teams configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigOutput) MicrosoftTeams() NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigMicrosoftTeams { + return v.MicrosoftTeams + }).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { +// The PagerDuty configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigOutput) Pagerduty() NotificationDestinationConfigPagerdutyPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigPagerduty { return v.Pagerduty }).(NotificationDestinationConfigPagerdutyPtrOutput) +} + +// The Slack configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigOutput) Slack() NotificationDestinationConfigSlackPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfig) *NotificationDestinationConfigSlack { return v.Slack }).(NotificationDestinationConfigSlackPtrOutput) +} + +type NotificationDestinationConfigPtrOutput struct{ *pulumi.OutputState } + +func (NotificationDestinationConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfig)(nil)).Elem() +} + +func (o NotificationDestinationConfigPtrOutput) ToNotificationDestinationConfigPtrOutput() NotificationDestinationConfigPtrOutput { return o } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { +func (o NotificationDestinationConfigPtrOutput) ToNotificationDestinationConfigPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPtrOutput { return o } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) Elem() PipelineClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) PipelineClusterClusterLogConfDbfs { +func (o NotificationDestinationConfigPtrOutput) Elem() NotificationDestinationConfigOutput { + return o.ApplyT(func(v *NotificationDestinationConfig) NotificationDestinationConfig { if v != nil { return *v } - var ret PipelineClusterClusterLogConfDbfs + var ret NotificationDestinationConfig return ret - }).(PipelineClusterClusterLogConfDbfsOutput) + }).(NotificationDestinationConfigOutput) } -func (o PipelineClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) *string { +// The email configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigPtrOutput) Email() NotificationDestinationConfigEmailPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigEmail { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -type PipelineClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` -} - -// PipelineClusterClusterLogConfS3Input is an input type that accepts PipelineClusterClusterLogConfS3Args and PipelineClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfS3Input` via: -// -// PipelineClusterClusterLogConfS3Args{...} -type PipelineClusterClusterLogConfS3Input interface { - pulumi.Input - - ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output - ToPipelineClusterClusterLogConfS3OutputWithContext(context.Context) PipelineClusterClusterLogConfS3Output -} - -type PipelineClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` + return v.Email + }).(NotificationDestinationConfigEmailPtrOutput) } -func (PipelineClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() +// The Generic Webhook configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigPtrOutput) GenericWebhook() NotificationDestinationConfigGenericWebhookPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigGenericWebhook { + if v == nil { + return nil + } + return v.GenericWebhook + }).(NotificationDestinationConfigGenericWebhookPtrOutput) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { - return i.ToPipelineClusterClusterLogConfS3OutputWithContext(context.Background()) +// The Microsoft Teams configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigPtrOutput) MicrosoftTeams() NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigMicrosoftTeams { + if v == nil { + return nil + } + return v.MicrosoftTeams + }).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output) +// The PagerDuty configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigPtrOutput) Pagerduty() NotificationDestinationConfigPagerdutyPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigPagerduty { + if v == nil { + return nil + } + return v.Pagerduty + }).(NotificationDestinationConfigPagerdutyPtrOutput) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { - return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +// The Slack configuration of the Notification Destination. It must contain the following: +func (o NotificationDestinationConfigPtrOutput) Slack() NotificationDestinationConfigSlackPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfig) *NotificationDestinationConfigSlack { + if v == nil { + return nil + } + return v.Slack + }).(NotificationDestinationConfigSlackPtrOutput) } -func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output).ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx) +type NotificationDestinationConfigEmail struct { + // The list of email addresses to send notifications to. + Addresses []string `pulumi:"addresses"` } -// PipelineClusterClusterLogConfS3PtrInput is an input type that accepts PipelineClusterClusterLogConfS3Args, PipelineClusterClusterLogConfS3Ptr and PipelineClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `PipelineClusterClusterLogConfS3PtrInput` via: -// -// PipelineClusterClusterLogConfS3Args{...} -// -// or: +// NotificationDestinationConfigEmailInput is an input type that accepts NotificationDestinationConfigEmailArgs and NotificationDestinationConfigEmailOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigEmailInput` via: // -// nil -type PipelineClusterClusterLogConfS3PtrInput interface { +// NotificationDestinationConfigEmailArgs{...} +type NotificationDestinationConfigEmailInput interface { pulumi.Input - ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput - ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Context) PipelineClusterClusterLogConfS3PtrOutput -} - -type pipelineClusterClusterLogConfS3PtrType PipelineClusterClusterLogConfS3Args - -func PipelineClusterClusterLogConfS3Ptr(v *PipelineClusterClusterLogConfS3Args) PipelineClusterClusterLogConfS3PtrInput { - return (*pipelineClusterClusterLogConfS3PtrType)(v) -} - -func (*pipelineClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() -} - -func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { - return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) + ToNotificationDestinationConfigEmailOutput() NotificationDestinationConfigEmailOutput + ToNotificationDestinationConfigEmailOutputWithContext(context.Context) NotificationDestinationConfigEmailOutput } -func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3PtrOutput) +type NotificationDestinationConfigEmailArgs struct { + // The list of email addresses to send notifications to. + Addresses pulumi.StringArrayInput `pulumi:"addresses"` } -type PipelineClusterClusterLogConfS3Output struct{ *pulumi.OutputState } - -func (PipelineClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() +func (NotificationDestinationConfigEmailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigEmail)(nil)).Elem() } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { - return o +func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailOutput() NotificationDestinationConfigEmailOutput { + return i.ToNotificationDestinationConfigEmailOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { - return o +func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigEmailOutput) } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { - return o.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { + return i.ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfS3) *PipelineClusterClusterLogConfS3 { - return &v - }).(PipelineClusterClusterLogConfS3PtrOutput) +func (i NotificationDestinationConfigEmailArgs) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigEmailOutput).ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx) } -func (o PipelineClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} +// NotificationDestinationConfigEmailPtrInput is an input type that accepts NotificationDestinationConfigEmailArgs, NotificationDestinationConfigEmailPtr and NotificationDestinationConfigEmailPtrOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigEmailPtrInput` via: +// +// NotificationDestinationConfigEmailArgs{...} +// +// or: +// +// nil +type NotificationDestinationConfigEmailPtrInput interface { + pulumi.Input -func (o PipelineClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) + ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput + ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Context) NotificationDestinationConfigEmailPtrOutput } -func (o PipelineClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} +type notificationDestinationConfigEmailPtrType NotificationDestinationConfigEmailArgs -func (o PipelineClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func NotificationDestinationConfigEmailPtr(v *NotificationDestinationConfigEmailArgs) NotificationDestinationConfigEmailPtrInput { + return (*notificationDestinationConfigEmailPtrType)(v) } -func (o PipelineClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (*notificationDestinationConfigEmailPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigEmail)(nil)).Elem() } -func (o PipelineClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (i *notificationDestinationConfigEmailPtrType) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { + return i.ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (i *notificationDestinationConfigEmailPtrType) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigEmailPtrOutput) } -type PipelineClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type NotificationDestinationConfigEmailOutput struct{ *pulumi.OutputState } -func (PipelineClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() +func (NotificationDestinationConfigEmailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigEmail)(nil)).Elem() } -func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { +func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailOutput() NotificationDestinationConfigEmailOutput { return o } -func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { +func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailOutput { return o } -func (o PipelineClusterClusterLogConfS3PtrOutput) Elem() PipelineClusterClusterLogConfS3Output { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) PipelineClusterClusterLogConfS3 { - if v != nil { - return *v - } - var ret PipelineClusterClusterLogConfS3 - return ret - }).(PipelineClusterClusterLogConfS3Output) +func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { + return o.ToNotificationDestinationConfigEmailPtrOutputWithContext(context.Background()) } -func (o PipelineClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) +func (o NotificationDestinationConfigEmailOutput) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigEmail) *NotificationDestinationConfigEmail { + return &v + }).(NotificationDestinationConfigEmailPtrOutput) } -func (o PipelineClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +// The list of email addresses to send notifications to. +func (o NotificationDestinationConfigEmailOutput) Addresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v NotificationDestinationConfigEmail) []string { return v.Addresses }).(pulumi.StringArrayOutput) } -func (o PipelineClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +type NotificationDestinationConfigEmailPtrOutput struct{ *pulumi.OutputState } + +func (NotificationDestinationConfigEmailPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigEmail)(nil)).Elem() } -func (o PipelineClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o NotificationDestinationConfigEmailPtrOutput) ToNotificationDestinationConfigEmailPtrOutput() NotificationDestinationConfigEmailPtrOutput { + return o } -func (o PipelineClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o NotificationDestinationConfigEmailPtrOutput) ToNotificationDestinationConfigEmailPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigEmailPtrOutput { + return o } -func (o PipelineClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { - if v == nil { - return nil +func (o NotificationDestinationConfigEmailPtrOutput) Elem() NotificationDestinationConfigEmailOutput { + return o.ApplyT(func(v *NotificationDestinationConfigEmail) NotificationDestinationConfigEmail { + if v != nil { + return *v } - return v.KmsKey - }).(pulumi.StringPtrOutput) + var ret NotificationDestinationConfigEmail + return ret + }).(NotificationDestinationConfigEmailOutput) } -func (o PipelineClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { +// The list of email addresses to send notifications to. +func (o NotificationDestinationConfigEmailPtrOutput) Addresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NotificationDestinationConfigEmail) []string { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Addresses + }).(pulumi.StringArrayOutput) } -type PipelineClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - ZoneId *string `pulumi:"zoneId"` +type NotificationDestinationConfigGenericWebhook struct { + // The password for basic authentication. + // + // > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. + Password *string `pulumi:"password"` + PasswordSet *bool `pulumi:"passwordSet"` + // The Generic Webhook URL. + Url *string `pulumi:"url"` + UrlSet *bool `pulumi:"urlSet"` + // The username for basic authentication. + Username *string `pulumi:"username"` + UsernameSet *bool `pulumi:"usernameSet"` } -// PipelineClusterGcpAttributesInput is an input type that accepts PipelineClusterGcpAttributesArgs and PipelineClusterGcpAttributesOutput values. -// You can construct a concrete instance of `PipelineClusterGcpAttributesInput` via: +// NotificationDestinationConfigGenericWebhookInput is an input type that accepts NotificationDestinationConfigGenericWebhookArgs and NotificationDestinationConfigGenericWebhookOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigGenericWebhookInput` via: // -// PipelineClusterGcpAttributesArgs{...} -type PipelineClusterGcpAttributesInput interface { +// NotificationDestinationConfigGenericWebhookArgs{...} +type NotificationDestinationConfigGenericWebhookInput interface { pulumi.Input - ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput - ToPipelineClusterGcpAttributesOutputWithContext(context.Context) PipelineClusterGcpAttributesOutput + ToNotificationDestinationConfigGenericWebhookOutput() NotificationDestinationConfigGenericWebhookOutput + ToNotificationDestinationConfigGenericWebhookOutputWithContext(context.Context) NotificationDestinationConfigGenericWebhookOutput } -type PipelineClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type NotificationDestinationConfigGenericWebhookArgs struct { + // The password for basic authentication. + // + // > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. + Password pulumi.StringPtrInput `pulumi:"password"` + PasswordSet pulumi.BoolPtrInput `pulumi:"passwordSet"` + // The Generic Webhook URL. + Url pulumi.StringPtrInput `pulumi:"url"` + UrlSet pulumi.BoolPtrInput `pulumi:"urlSet"` + // The username for basic authentication. + Username pulumi.StringPtrInput `pulumi:"username"` + UsernameSet pulumi.BoolPtrInput `pulumi:"usernameSet"` } -func (PipelineClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() +func (NotificationDestinationConfigGenericWebhookArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigGenericWebhook)(nil)).Elem() } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { - return i.ToPipelineClusterGcpAttributesOutputWithContext(context.Background()) +func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookOutput() NotificationDestinationConfigGenericWebhookOutput { + return i.ToNotificationDestinationConfigGenericWebhookOutputWithContext(context.Background()) } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput) +func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigGenericWebhookOutput) } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { - return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { + return i.ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Background()) } -func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput).ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx) +func (i NotificationDestinationConfigGenericWebhookArgs) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigGenericWebhookOutput).ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx) } -// PipelineClusterGcpAttributesPtrInput is an input type that accepts PipelineClusterGcpAttributesArgs, PipelineClusterGcpAttributesPtr and PipelineClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterGcpAttributesPtrInput` via: +// NotificationDestinationConfigGenericWebhookPtrInput is an input type that accepts NotificationDestinationConfigGenericWebhookArgs, NotificationDestinationConfigGenericWebhookPtr and NotificationDestinationConfigGenericWebhookPtrOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigGenericWebhookPtrInput` via: // -// PipelineClusterGcpAttributesArgs{...} +// NotificationDestinationConfigGenericWebhookArgs{...} // // or: // // nil -type PipelineClusterGcpAttributesPtrInput interface { +type NotificationDestinationConfigGenericWebhookPtrInput interface { pulumi.Input - ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput - ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Context) PipelineClusterGcpAttributesPtrOutput + ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput + ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Context) NotificationDestinationConfigGenericWebhookPtrOutput } -type pipelineClusterGcpAttributesPtrType PipelineClusterGcpAttributesArgs +type notificationDestinationConfigGenericWebhookPtrType NotificationDestinationConfigGenericWebhookArgs -func PipelineClusterGcpAttributesPtr(v *PipelineClusterGcpAttributesArgs) PipelineClusterGcpAttributesPtrInput { - return (*pipelineClusterGcpAttributesPtrType)(v) +func NotificationDestinationConfigGenericWebhookPtr(v *NotificationDestinationConfigGenericWebhookArgs) NotificationDestinationConfigGenericWebhookPtrInput { + return (*notificationDestinationConfigGenericWebhookPtrType)(v) } -func (*pipelineClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() +func (*notificationDestinationConfigGenericWebhookPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigGenericWebhook)(nil)).Elem() } -func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { - return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *notificationDestinationConfigGenericWebhookPtrType) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { + return i.ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesPtrOutput) +func (i *notificationDestinationConfigGenericWebhookPtrType) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigGenericWebhookPtrOutput) } -type PipelineClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type NotificationDestinationConfigGenericWebhookOutput struct{ *pulumi.OutputState } -func (PipelineClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() +func (NotificationDestinationConfigGenericWebhookOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigGenericWebhook)(nil)).Elem() } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { +func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookOutput() NotificationDestinationConfigGenericWebhookOutput { return o } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { +func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookOutput { return o } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { - return o.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { + return o.ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(context.Background()) } -func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterGcpAttributes) *PipelineClusterGcpAttributes { +func (o NotificationDestinationConfigGenericWebhookOutput) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigGenericWebhook) *NotificationDestinationConfigGenericWebhook { return &v - }).(PipelineClusterGcpAttributesPtrOutput) + }).(NotificationDestinationConfigGenericWebhookPtrOutput) } -func (o PipelineClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +// The password for basic authentication. +// +// > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. +func (o NotificationDestinationConfigGenericWebhookOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o NotificationDestinationConfigGenericWebhookOutput) PasswordSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *bool { return v.PasswordSet }).(pulumi.BoolPtrOutput) } -func (o PipelineClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +// The Generic Webhook URL. +func (o NotificationDestinationConfigGenericWebhookOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *string { return v.Url }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o NotificationDestinationConfigGenericWebhookOutput) UrlSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *bool { return v.UrlSet }).(pulumi.BoolPtrOutput) } -type PipelineClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +// The username for basic authentication. +func (o NotificationDestinationConfigGenericWebhookOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *string { return v.Username }).(pulumi.StringPtrOutput) +} -func (PipelineClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() +func (o NotificationDestinationConfigGenericWebhookOutput) UsernameSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigGenericWebhook) *bool { return v.UsernameSet }).(pulumi.BoolPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { +type NotificationDestinationConfigGenericWebhookPtrOutput struct{ *pulumi.OutputState } + +func (NotificationDestinationConfigGenericWebhookPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigGenericWebhook)(nil)).Elem() +} + +func (o NotificationDestinationConfigGenericWebhookPtrOutput) ToNotificationDestinationConfigGenericWebhookPtrOutput() NotificationDestinationConfigGenericWebhookPtrOutput { return o } -func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { +func (o NotificationDestinationConfigGenericWebhookPtrOutput) ToNotificationDestinationConfigGenericWebhookPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigGenericWebhookPtrOutput { return o } -func (o PipelineClusterGcpAttributesPtrOutput) Elem() PipelineClusterGcpAttributesOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) PipelineClusterGcpAttributes { +func (o NotificationDestinationConfigGenericWebhookPtrOutput) Elem() NotificationDestinationConfigGenericWebhookOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) NotificationDestinationConfigGenericWebhook { if v != nil { return *v } - var ret PipelineClusterGcpAttributes + var ret NotificationDestinationConfigGenericWebhook return ret - }).(PipelineClusterGcpAttributesOutput) + }).(NotificationDestinationConfigGenericWebhookOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { +// The password for basic authentication. +// +// > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. +func (o NotificationDestinationConfigGenericWebhookPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *string { if v == nil { return nil } - return v.Availability + return v.Password }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { +func (o NotificationDestinationConfigGenericWebhookPtrOutput) PasswordSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *bool { if v == nil { return nil } - return v.GoogleServiceAccount + return v.PasswordSet + }).(pulumi.BoolPtrOutput) +} + +// The Generic Webhook URL. +func (o NotificationDestinationConfigGenericWebhookPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *string { + if v == nil { + return nil + } + return v.Url }).(pulumi.StringPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *int { +func (o NotificationDestinationConfigGenericWebhookPtrOutput) UrlSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *bool { if v == nil { return nil } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.UrlSet + }).(pulumi.BoolPtrOutput) } -func (o PipelineClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { +// The username for basic authentication. +func (o NotificationDestinationConfigGenericWebhookPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *string { if v == nil { return nil } - return v.ZoneId + return v.Username }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScript struct { - Abfss *PipelineClusterInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *PipelineClusterInitScriptDbfs `pulumi:"dbfs"` - File *PipelineClusterInitScriptFile `pulumi:"file"` - Gcs *PipelineClusterInitScriptGcs `pulumi:"gcs"` - S3 *PipelineClusterInitScriptS3 `pulumi:"s3"` - Volumes *PipelineClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *PipelineClusterInitScriptWorkspace `pulumi:"workspace"` +func (o NotificationDestinationConfigGenericWebhookPtrOutput) UsernameSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigGenericWebhook) *bool { + if v == nil { + return nil + } + return v.UsernameSet + }).(pulumi.BoolPtrOutput) } -// PipelineClusterInitScriptInput is an input type that accepts PipelineClusterInitScriptArgs and PipelineClusterInitScriptOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptInput` via: +type NotificationDestinationConfigMicrosoftTeams struct { + // The Microsoft Teams webhook URL. + Url *string `pulumi:"url"` + UrlSet *bool `pulumi:"urlSet"` +} + +// NotificationDestinationConfigMicrosoftTeamsInput is an input type that accepts NotificationDestinationConfigMicrosoftTeamsArgs and NotificationDestinationConfigMicrosoftTeamsOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigMicrosoftTeamsInput` via: // -// PipelineClusterInitScriptArgs{...} -type PipelineClusterInitScriptInput interface { +// NotificationDestinationConfigMicrosoftTeamsArgs{...} +type NotificationDestinationConfigMicrosoftTeamsInput interface { pulumi.Input - ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput - ToPipelineClusterInitScriptOutputWithContext(context.Context) PipelineClusterInitScriptOutput + ToNotificationDestinationConfigMicrosoftTeamsOutput() NotificationDestinationConfigMicrosoftTeamsOutput + ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(context.Context) NotificationDestinationConfigMicrosoftTeamsOutput } -type PipelineClusterInitScriptArgs struct { - Abfss PipelineClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs PipelineClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File PipelineClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs PipelineClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 PipelineClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes PipelineClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace PipelineClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +type NotificationDestinationConfigMicrosoftTeamsArgs struct { + // The Microsoft Teams webhook URL. + Url pulumi.StringPtrInput `pulumi:"url"` + UrlSet pulumi.BoolPtrInput `pulumi:"urlSet"` } -func (PipelineClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() +func (NotificationDestinationConfigMicrosoftTeamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() } -func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { - return i.ToPipelineClusterInitScriptOutputWithContext(context.Background()) +func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsOutput() NotificationDestinationConfigMicrosoftTeamsOutput { + return i.ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptOutput) +func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigMicrosoftTeamsOutput) } -// PipelineClusterInitScriptArrayInput is an input type that accepts PipelineClusterInitScriptArray and PipelineClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptArrayInput` via: -// -// PipelineClusterInitScriptArray{ PipelineClusterInitScriptArgs{...} } -type PipelineClusterInitScriptArrayInput interface { - pulumi.Input +func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return i.ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Background()) +} - ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput - ToPipelineClusterInitScriptArrayOutputWithContext(context.Context) PipelineClusterInitScriptArrayOutput +func (i NotificationDestinationConfigMicrosoftTeamsArgs) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigMicrosoftTeamsOutput).ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx) } -type PipelineClusterInitScriptArray []PipelineClusterInitScriptInput +// NotificationDestinationConfigMicrosoftTeamsPtrInput is an input type that accepts NotificationDestinationConfigMicrosoftTeamsArgs, NotificationDestinationConfigMicrosoftTeamsPtr and NotificationDestinationConfigMicrosoftTeamsPtrOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigMicrosoftTeamsPtrInput` via: +// +// NotificationDestinationConfigMicrosoftTeamsArgs{...} +// +// or: +// +// nil +type NotificationDestinationConfigMicrosoftTeamsPtrInput interface { + pulumi.Input -func (PipelineClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() + ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput + ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput } -func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { - return i.ToPipelineClusterInitScriptArrayOutputWithContext(context.Background()) -} +type notificationDestinationConfigMicrosoftTeamsPtrType NotificationDestinationConfigMicrosoftTeamsArgs -func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptArrayOutput) +func NotificationDestinationConfigMicrosoftTeamsPtr(v *NotificationDestinationConfigMicrosoftTeamsArgs) NotificationDestinationConfigMicrosoftTeamsPtrInput { + return (*notificationDestinationConfigMicrosoftTeamsPtrType)(v) } -type PipelineClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (PipelineClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() +func (*notificationDestinationConfigMicrosoftTeamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() } -func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { - return o +func (i *notificationDestinationConfigMicrosoftTeamsPtrType) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return i.ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { - return o +func (i *notificationDestinationConfigMicrosoftTeamsPtrType) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) } -func (o PipelineClusterInitScriptOutput) Abfss() PipelineClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptAbfss { return v.Abfss }).(PipelineClusterInitScriptAbfssPtrOutput) +type NotificationDestinationConfigMicrosoftTeamsOutput struct{ *pulumi.OutputState } + +func (NotificationDestinationConfigMicrosoftTeamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o PipelineClusterInitScriptOutput) Dbfs() PipelineClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptDbfs { return v.Dbfs }).(PipelineClusterInitScriptDbfsPtrOutput) +func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsOutput() NotificationDestinationConfigMicrosoftTeamsOutput { + return o } -func (o PipelineClusterInitScriptOutput) File() PipelineClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptFile { return v.File }).(PipelineClusterInitScriptFilePtrOutput) +func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsOutput { + return o } -func (o PipelineClusterInitScriptOutput) Gcs() PipelineClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptGcs { return v.Gcs }).(PipelineClusterInitScriptGcsPtrOutput) +func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return o.ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptOutput) S3() PipelineClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptS3 { return v.S3 }).(PipelineClusterInitScriptS3PtrOutput) +func (o NotificationDestinationConfigMicrosoftTeamsOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigMicrosoftTeams) *NotificationDestinationConfigMicrosoftTeams { + return &v + }).(NotificationDestinationConfigMicrosoftTeamsPtrOutput) } -func (o PipelineClusterInitScriptOutput) Volumes() PipelineClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptVolumes { return v.Volumes }).(PipelineClusterInitScriptVolumesPtrOutput) +// The Microsoft Teams webhook URL. +func (o NotificationDestinationConfigMicrosoftTeamsOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigMicrosoftTeams) *string { return v.Url }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptOutput) Workspace() PipelineClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptWorkspace { return v.Workspace }).(PipelineClusterInitScriptWorkspacePtrOutput) +func (o NotificationDestinationConfigMicrosoftTeamsOutput) UrlSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigMicrosoftTeams) *bool { return v.UrlSet }).(pulumi.BoolPtrOutput) } -type PipelineClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type NotificationDestinationConfigMicrosoftTeamsPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() +func (NotificationDestinationConfigMicrosoftTeamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigMicrosoftTeams)(nil)).Elem() } -func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { +func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutput() NotificationDestinationConfigMicrosoftTeamsPtrOutput { return o } -func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { +func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) ToNotificationDestinationConfigMicrosoftTeamsPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigMicrosoftTeamsPtrOutput { return o } -func (o PipelineClusterInitScriptArrayOutput) Index(i pulumi.IntInput) PipelineClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineClusterInitScript { - return vs[0].([]PipelineClusterInitScript)[vs[1].(int)] - }).(PipelineClusterInitScriptOutput) +func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) Elem() NotificationDestinationConfigMicrosoftTeamsOutput { + return o.ApplyT(func(v *NotificationDestinationConfigMicrosoftTeams) NotificationDestinationConfigMicrosoftTeams { + if v != nil { + return *v + } + var ret NotificationDestinationConfigMicrosoftTeams + return ret + }).(NotificationDestinationConfigMicrosoftTeamsOutput) } -type PipelineClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +// The Microsoft Teams webhook URL. +func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigMicrosoftTeams) *string { + if v == nil { + return nil + } + return v.Url + }).(pulumi.StringPtrOutput) } -// PipelineClusterInitScriptAbfssInput is an input type that accepts PipelineClusterInitScriptAbfssArgs and PipelineClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptAbfssInput` via: +func (o NotificationDestinationConfigMicrosoftTeamsPtrOutput) UrlSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigMicrosoftTeams) *bool { + if v == nil { + return nil + } + return v.UrlSet + }).(pulumi.BoolPtrOutput) +} + +type NotificationDestinationConfigPagerduty struct { + // The PagerDuty integration key. + IntegrationKey *string `pulumi:"integrationKey"` + IntegrationKeySet *bool `pulumi:"integrationKeySet"` +} + +// NotificationDestinationConfigPagerdutyInput is an input type that accepts NotificationDestinationConfigPagerdutyArgs and NotificationDestinationConfigPagerdutyOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigPagerdutyInput` via: // -// PipelineClusterInitScriptAbfssArgs{...} -type PipelineClusterInitScriptAbfssInput interface { +// NotificationDestinationConfigPagerdutyArgs{...} +type NotificationDestinationConfigPagerdutyInput interface { pulumi.Input - ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput - ToPipelineClusterInitScriptAbfssOutputWithContext(context.Context) PipelineClusterInitScriptAbfssOutput + ToNotificationDestinationConfigPagerdutyOutput() NotificationDestinationConfigPagerdutyOutput + ToNotificationDestinationConfigPagerdutyOutputWithContext(context.Context) NotificationDestinationConfigPagerdutyOutput } -type PipelineClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type NotificationDestinationConfigPagerdutyArgs struct { + // The PagerDuty integration key. + IntegrationKey pulumi.StringPtrInput `pulumi:"integrationKey"` + IntegrationKeySet pulumi.BoolPtrInput `pulumi:"integrationKeySet"` } -func (PipelineClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() +func (NotificationDestinationConfigPagerdutyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigPagerduty)(nil)).Elem() } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { - return i.ToPipelineClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyOutput() NotificationDestinationConfigPagerdutyOutput { + return i.ToNotificationDestinationConfigPagerdutyOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput) +func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPagerdutyOutput) } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { - return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { + return i.ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput).ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i NotificationDestinationConfigPagerdutyArgs) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPagerdutyOutput).ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptAbfssPtrInput is an input type that accepts PipelineClusterInitScriptAbfssArgs, PipelineClusterInitScriptAbfssPtr and PipelineClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptAbfssPtrInput` via: +// NotificationDestinationConfigPagerdutyPtrInput is an input type that accepts NotificationDestinationConfigPagerdutyArgs, NotificationDestinationConfigPagerdutyPtr and NotificationDestinationConfigPagerdutyPtrOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigPagerdutyPtrInput` via: // -// PipelineClusterInitScriptAbfssArgs{...} +// NotificationDestinationConfigPagerdutyArgs{...} // // or: // // nil -type PipelineClusterInitScriptAbfssPtrInput interface { +type NotificationDestinationConfigPagerdutyPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput - ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Context) PipelineClusterInitScriptAbfssPtrOutput + ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput + ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Context) NotificationDestinationConfigPagerdutyPtrOutput } -type pipelineClusterInitScriptAbfssPtrType PipelineClusterInitScriptAbfssArgs +type notificationDestinationConfigPagerdutyPtrType NotificationDestinationConfigPagerdutyArgs -func PipelineClusterInitScriptAbfssPtr(v *PipelineClusterInitScriptAbfssArgs) PipelineClusterInitScriptAbfssPtrInput { - return (*pipelineClusterInitScriptAbfssPtrType)(v) +func NotificationDestinationConfigPagerdutyPtr(v *NotificationDestinationConfigPagerdutyArgs) NotificationDestinationConfigPagerdutyPtrInput { + return (*notificationDestinationConfigPagerdutyPtrType)(v) } -func (*pipelineClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() +func (*notificationDestinationConfigPagerdutyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigPagerduty)(nil)).Elem() } -func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { - return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *notificationDestinationConfigPagerdutyPtrType) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { + return i.ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssPtrOutput) +func (i *notificationDestinationConfigPagerdutyPtrType) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigPagerdutyPtrOutput) } -type PipelineClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type NotificationDestinationConfigPagerdutyOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() +func (NotificationDestinationConfigPagerdutyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigPagerduty)(nil)).Elem() } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { +func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyOutput() NotificationDestinationConfigPagerdutyOutput { return o } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { +func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyOutput { return o } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { - return o.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { + return o.ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptAbfss) *PipelineClusterInitScriptAbfss { +func (o NotificationDestinationConfigPagerdutyOutput) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigPagerduty) *NotificationDestinationConfigPagerduty { return &v - }).(PipelineClusterInitScriptAbfssPtrOutput) + }).(NotificationDestinationConfigPagerdutyPtrOutput) } -func (o PipelineClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +// The PagerDuty integration key. +func (o NotificationDestinationConfigPagerdutyOutput) IntegrationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigPagerduty) *string { return v.IntegrationKey }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o NotificationDestinationConfigPagerdutyOutput) IntegrationKeySet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigPagerduty) *bool { return v.IntegrationKeySet }).(pulumi.BoolPtrOutput) +} -func (PipelineClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() +type NotificationDestinationConfigPagerdutyPtrOutput struct{ *pulumi.OutputState } + +func (NotificationDestinationConfigPagerdutyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigPagerduty)(nil)).Elem() } -func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { +func (o NotificationDestinationConfigPagerdutyPtrOutput) ToNotificationDestinationConfigPagerdutyPtrOutput() NotificationDestinationConfigPagerdutyPtrOutput { return o } -func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { +func (o NotificationDestinationConfigPagerdutyPtrOutput) ToNotificationDestinationConfigPagerdutyPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigPagerdutyPtrOutput { return o } -func (o PipelineClusterInitScriptAbfssPtrOutput) Elem() PipelineClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) PipelineClusterInitScriptAbfss { +func (o NotificationDestinationConfigPagerdutyPtrOutput) Elem() NotificationDestinationConfigPagerdutyOutput { + return o.ApplyT(func(v *NotificationDestinationConfigPagerduty) NotificationDestinationConfigPagerduty { if v != nil { return *v } - var ret PipelineClusterInitScriptAbfss + var ret NotificationDestinationConfigPagerduty return ret - }).(PipelineClusterInitScriptAbfssOutput) + }).(NotificationDestinationConfigPagerdutyOutput) } -func (o PipelineClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) *string { +// The PagerDuty integration key. +func (o NotificationDestinationConfigPagerdutyPtrOutput) IntegrationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigPagerduty) *string { if v == nil { return nil } - return &v.Destination + return v.IntegrationKey }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o NotificationDestinationConfigPagerdutyPtrOutput) IntegrationKeySet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigPagerduty) *bool { + if v == nil { + return nil + } + return v.IntegrationKeySet + }).(pulumi.BoolPtrOutput) } -// PipelineClusterInitScriptDbfsInput is an input type that accepts PipelineClusterInitScriptDbfsArgs and PipelineClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptDbfsInput` via: +type NotificationDestinationConfigSlack struct { + // The Slack webhook URL. + Url *string `pulumi:"url"` + UrlSet *bool `pulumi:"urlSet"` +} + +// NotificationDestinationConfigSlackInput is an input type that accepts NotificationDestinationConfigSlackArgs and NotificationDestinationConfigSlackOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigSlackInput` via: // -// PipelineClusterInitScriptDbfsArgs{...} -type PipelineClusterInitScriptDbfsInput interface { +// NotificationDestinationConfigSlackArgs{...} +type NotificationDestinationConfigSlackInput interface { pulumi.Input - ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput - ToPipelineClusterInitScriptDbfsOutputWithContext(context.Context) PipelineClusterInitScriptDbfsOutput + ToNotificationDestinationConfigSlackOutput() NotificationDestinationConfigSlackOutput + ToNotificationDestinationConfigSlackOutputWithContext(context.Context) NotificationDestinationConfigSlackOutput } -type PipelineClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type NotificationDestinationConfigSlackArgs struct { + // The Slack webhook URL. + Url pulumi.StringPtrInput `pulumi:"url"` + UrlSet pulumi.BoolPtrInput `pulumi:"urlSet"` } -func (PipelineClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() +func (NotificationDestinationConfigSlackArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigSlack)(nil)).Elem() } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { - return i.ToPipelineClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackOutput() NotificationDestinationConfigSlackOutput { + return i.ToNotificationDestinationConfigSlackOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput) +func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigSlackOutput) } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { - return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { + return i.ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput).ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i NotificationDestinationConfigSlackArgs) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigSlackOutput).ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptDbfsPtrInput is an input type that accepts PipelineClusterInitScriptDbfsArgs, PipelineClusterInitScriptDbfsPtr and PipelineClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptDbfsPtrInput` via: +// NotificationDestinationConfigSlackPtrInput is an input type that accepts NotificationDestinationConfigSlackArgs, NotificationDestinationConfigSlackPtr and NotificationDestinationConfigSlackPtrOutput values. +// You can construct a concrete instance of `NotificationDestinationConfigSlackPtrInput` via: // -// PipelineClusterInitScriptDbfsArgs{...} +// NotificationDestinationConfigSlackArgs{...} // // or: // // nil -type PipelineClusterInitScriptDbfsPtrInput interface { +type NotificationDestinationConfigSlackPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput - ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Context) PipelineClusterInitScriptDbfsPtrOutput + ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput + ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Context) NotificationDestinationConfigSlackPtrOutput } -type pipelineClusterInitScriptDbfsPtrType PipelineClusterInitScriptDbfsArgs +type notificationDestinationConfigSlackPtrType NotificationDestinationConfigSlackArgs -func PipelineClusterInitScriptDbfsPtr(v *PipelineClusterInitScriptDbfsArgs) PipelineClusterInitScriptDbfsPtrInput { - return (*pipelineClusterInitScriptDbfsPtrType)(v) +func NotificationDestinationConfigSlackPtr(v *NotificationDestinationConfigSlackArgs) NotificationDestinationConfigSlackPtrInput { + return (*notificationDestinationConfigSlackPtrType)(v) } -func (*pipelineClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() +func (*notificationDestinationConfigSlackPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigSlack)(nil)).Elem() } -func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { - return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *notificationDestinationConfigSlackPtrType) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { + return i.ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsPtrOutput) +func (i *notificationDestinationConfigSlackPtrType) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationDestinationConfigSlackPtrOutput) } -type PipelineClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type NotificationDestinationConfigSlackOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() +func (NotificationDestinationConfigSlackOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationDestinationConfigSlack)(nil)).Elem() } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { +func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackOutput() NotificationDestinationConfigSlackOutput { return o } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { +func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackOutput { return o } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { - return o.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { + return o.ToNotificationDestinationConfigSlackPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptDbfs) *PipelineClusterInitScriptDbfs { +func (o NotificationDestinationConfigSlackOutput) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotificationDestinationConfigSlack) *NotificationDestinationConfigSlack { return &v - }).(PipelineClusterInitScriptDbfsPtrOutput) + }).(NotificationDestinationConfigSlackPtrOutput) } -func (o PipelineClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +// The Slack webhook URL. +func (o NotificationDestinationConfigSlackOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigSlack) *string { return v.Url }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o NotificationDestinationConfigSlackOutput) UrlSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotificationDestinationConfigSlack) *bool { return v.UrlSet }).(pulumi.BoolPtrOutput) +} -func (PipelineClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() +type NotificationDestinationConfigSlackPtrOutput struct{ *pulumi.OutputState } + +func (NotificationDestinationConfigSlackPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotificationDestinationConfigSlack)(nil)).Elem() } -func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { +func (o NotificationDestinationConfigSlackPtrOutput) ToNotificationDestinationConfigSlackPtrOutput() NotificationDestinationConfigSlackPtrOutput { return o } -func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { +func (o NotificationDestinationConfigSlackPtrOutput) ToNotificationDestinationConfigSlackPtrOutputWithContext(ctx context.Context) NotificationDestinationConfigSlackPtrOutput { return o } -func (o PipelineClusterInitScriptDbfsPtrOutput) Elem() PipelineClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) PipelineClusterInitScriptDbfs { +func (o NotificationDestinationConfigSlackPtrOutput) Elem() NotificationDestinationConfigSlackOutput { + return o.ApplyT(func(v *NotificationDestinationConfigSlack) NotificationDestinationConfigSlack { if v != nil { return *v } - var ret PipelineClusterInitScriptDbfs + var ret NotificationDestinationConfigSlack return ret - }).(PipelineClusterInitScriptDbfsOutput) + }).(NotificationDestinationConfigSlackOutput) } -func (o PipelineClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) *string { +// The Slack webhook URL. +func (o NotificationDestinationConfigSlackPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigSlack) *string { if v == nil { return nil } - return &v.Destination + return v.Url }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +func (o NotificationDestinationConfigSlackPtrOutput) UrlSet() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotificationDestinationConfigSlack) *bool { + if v == nil { + return nil + } + return v.UrlSet + }).(pulumi.BoolPtrOutput) } -// PipelineClusterInitScriptFileInput is an input type that accepts PipelineClusterInitScriptFileArgs and PipelineClusterInitScriptFileOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptFileInput` via: +type OnlineTableSpec struct { + // Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + PerformFullCopy *bool `pulumi:"performFullCopy"` + // ID of the associated Delta Live Table pipeline. + PipelineId *string `pulumi:"pipelineId"` + // list of the columns comprising the primary key. + PrimaryKeyColumns []string `pulumi:"primaryKeyColumns"` + // empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. + RunContinuously *OnlineTableSpecRunContinuously `pulumi:"runContinuously"` + // empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). + RunTriggered *OnlineTableSpecRunTriggered `pulumi:"runTriggered"` + // full name of the source table. + SourceTableFullName *string `pulumi:"sourceTableFullName"` + // Time series key to deduplicate (tie-break) rows with the same primary key. + TimeseriesKey *string `pulumi:"timeseriesKey"` +} + +// OnlineTableSpecInput is an input type that accepts OnlineTableSpecArgs and OnlineTableSpecOutput values. +// You can construct a concrete instance of `OnlineTableSpecInput` via: // -// PipelineClusterInitScriptFileArgs{...} -type PipelineClusterInitScriptFileInput interface { +// OnlineTableSpecArgs{...} +type OnlineTableSpecInput interface { pulumi.Input - ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput - ToPipelineClusterInitScriptFileOutputWithContext(context.Context) PipelineClusterInitScriptFileOutput + ToOnlineTableSpecOutput() OnlineTableSpecOutput + ToOnlineTableSpecOutputWithContext(context.Context) OnlineTableSpecOutput } -type PipelineClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type OnlineTableSpecArgs struct { + // Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + PerformFullCopy pulumi.BoolPtrInput `pulumi:"performFullCopy"` + // ID of the associated Delta Live Table pipeline. + PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` + // list of the columns comprising the primary key. + PrimaryKeyColumns pulumi.StringArrayInput `pulumi:"primaryKeyColumns"` + // empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. + RunContinuously OnlineTableSpecRunContinuouslyPtrInput `pulumi:"runContinuously"` + // empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). + RunTriggered OnlineTableSpecRunTriggeredPtrInput `pulumi:"runTriggered"` + // full name of the source table. + SourceTableFullName pulumi.StringPtrInput `pulumi:"sourceTableFullName"` + // Time series key to deduplicate (tie-break) rows with the same primary key. + TimeseriesKey pulumi.StringPtrInput `pulumi:"timeseriesKey"` } -func (PipelineClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() +func (OnlineTableSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpec)(nil)).Elem() } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { - return i.ToPipelineClusterInitScriptFileOutputWithContext(context.Background()) +func (i OnlineTableSpecArgs) ToOnlineTableSpecOutput() OnlineTableSpecOutput { + return i.ToOnlineTableSpecOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput) +func (i OnlineTableSpecArgs) ToOnlineTableSpecOutputWithContext(ctx context.Context) OnlineTableSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecOutput) } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i OnlineTableSpecArgs) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return i.ToOnlineTableSpecPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput).ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx) +func (i OnlineTableSpecArgs) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecOutput).ToOnlineTableSpecPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptFilePtrInput is an input type that accepts PipelineClusterInitScriptFileArgs, PipelineClusterInitScriptFilePtr and PipelineClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptFilePtrInput` via: +// OnlineTableSpecPtrInput is an input type that accepts OnlineTableSpecArgs, OnlineTableSpecPtr and OnlineTableSpecPtrOutput values. +// You can construct a concrete instance of `OnlineTableSpecPtrInput` via: // -// PipelineClusterInitScriptFileArgs{...} +// OnlineTableSpecArgs{...} // // or: // // nil -type PipelineClusterInitScriptFilePtrInput interface { +type OnlineTableSpecPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput - ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Context) PipelineClusterInitScriptFilePtrOutput + ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput + ToOnlineTableSpecPtrOutputWithContext(context.Context) OnlineTableSpecPtrOutput } -type pipelineClusterInitScriptFilePtrType PipelineClusterInitScriptFileArgs +type onlineTableSpecPtrType OnlineTableSpecArgs -func PipelineClusterInitScriptFilePtr(v *PipelineClusterInitScriptFileArgs) PipelineClusterInitScriptFilePtrInput { - return (*pipelineClusterInitScriptFilePtrType)(v) +func OnlineTableSpecPtr(v *OnlineTableSpecArgs) OnlineTableSpecPtrInput { + return (*onlineTableSpecPtrType)(v) } -func (*pipelineClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() +func (*onlineTableSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpec)(nil)).Elem() } -func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *onlineTableSpecPtrType) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return i.ToOnlineTableSpecPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFilePtrOutput) +func (i *onlineTableSpecPtrType) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecPtrOutput) } -type PipelineClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type OnlineTableSpecOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() +func (OnlineTableSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpec)(nil)).Elem() } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { +func (o OnlineTableSpecOutput) ToOnlineTableSpecOutput() OnlineTableSpecOutput { return o } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { +func (o OnlineTableSpecOutput) ToOnlineTableSpecOutputWithContext(ctx context.Context) OnlineTableSpecOutput { return o } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return o.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o OnlineTableSpecOutput) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return o.ToOnlineTableSpecPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptFile) *PipelineClusterInitScriptFile { +func (o OnlineTableSpecOutput) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpec) *OnlineTableSpec { return &v - }).(PipelineClusterInitScriptFilePtrOutput) + }).(OnlineTableSpecPtrOutput) } -func (o PipelineClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +// Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. +func (o OnlineTableSpecOutput) PerformFullCopy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OnlineTableSpec) *bool { return v.PerformFullCopy }).(pulumi.BoolPtrOutput) } -type PipelineClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +// ID of the associated Delta Live Table pipeline. +func (o OnlineTableSpecOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableSpec) *string { return v.PipelineId }).(pulumi.StringPtrOutput) +} -func (PipelineClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() +// list of the columns comprising the primary key. +func (o OnlineTableSpecOutput) PrimaryKeyColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v OnlineTableSpec) []string { return v.PrimaryKeyColumns }).(pulumi.StringArrayOutput) +} + +// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. +func (o OnlineTableSpecOutput) RunContinuously() OnlineTableSpecRunContinuouslyPtrOutput { + return o.ApplyT(func(v OnlineTableSpec) *OnlineTableSpecRunContinuously { return v.RunContinuously }).(OnlineTableSpecRunContinuouslyPtrOutput) +} + +// empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). +func (o OnlineTableSpecOutput) RunTriggered() OnlineTableSpecRunTriggeredPtrOutput { + return o.ApplyT(func(v OnlineTableSpec) *OnlineTableSpecRunTriggered { return v.RunTriggered }).(OnlineTableSpecRunTriggeredPtrOutput) +} + +// full name of the source table. +func (o OnlineTableSpecOutput) SourceTableFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableSpec) *string { return v.SourceTableFullName }).(pulumi.StringPtrOutput) +} + +// Time series key to deduplicate (tie-break) rows with the same primary key. +func (o OnlineTableSpecOutput) TimeseriesKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableSpec) *string { return v.TimeseriesKey }).(pulumi.StringPtrOutput) +} + +type OnlineTableSpecPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpec)(nil)).Elem() +} + +func (o OnlineTableSpecPtrOutput) ToOnlineTableSpecPtrOutput() OnlineTableSpecPtrOutput { + return o +} + +func (o OnlineTableSpecPtrOutput) ToOnlineTableSpecPtrOutputWithContext(ctx context.Context) OnlineTableSpecPtrOutput { + return o +} + +func (o OnlineTableSpecPtrOutput) Elem() OnlineTableSpecOutput { + return o.ApplyT(func(v *OnlineTableSpec) OnlineTableSpec { + if v != nil { + return *v + } + var ret OnlineTableSpec + return ret + }).(OnlineTableSpecOutput) +} + +// Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. +func (o OnlineTableSpecPtrOutput) PerformFullCopy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *bool { + if v == nil { + return nil + } + return v.PerformFullCopy + }).(pulumi.BoolPtrOutput) +} + +// ID of the associated Delta Live Table pipeline. +func (o OnlineTableSpecPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *string { + if v == nil { + return nil + } + return v.PipelineId + }).(pulumi.StringPtrOutput) +} + +// list of the columns comprising the primary key. +func (o OnlineTableSpecPtrOutput) PrimaryKeyColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *OnlineTableSpec) []string { + if v == nil { + return nil + } + return v.PrimaryKeyColumns + }).(pulumi.StringArrayOutput) } -func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { - return o +// empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `runTriggered`. +func (o OnlineTableSpecPtrOutput) RunContinuously() OnlineTableSpecRunContinuouslyPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *OnlineTableSpecRunContinuously { + if v == nil { + return nil + } + return v.RunContinuously + }).(OnlineTableSpecRunContinuouslyPtrOutput) } -func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { - return o +// empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). +func (o OnlineTableSpecPtrOutput) RunTriggered() OnlineTableSpecRunTriggeredPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *OnlineTableSpecRunTriggered { + if v == nil { + return nil + } + return v.RunTriggered + }).(OnlineTableSpecRunTriggeredPtrOutput) } -func (o PipelineClusterInitScriptFilePtrOutput) Elem() PipelineClusterInitScriptFileOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptFile) PipelineClusterInitScriptFile { - if v != nil { - return *v +// full name of the source table. +func (o OnlineTableSpecPtrOutput) SourceTableFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *string { + if v == nil { + return nil } - var ret PipelineClusterInitScriptFile - return ret - }).(PipelineClusterInitScriptFileOutput) + return v.SourceTableFullName + }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptFile) *string { +// Time series key to deduplicate (tie-break) rows with the same primary key. +func (o OnlineTableSpecPtrOutput) TimeseriesKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableSpec) *string { if v == nil { return nil } - return &v.Destination + return v.TimeseriesKey }).(pulumi.StringPtrOutput) } -type PipelineClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +type OnlineTableSpecRunContinuously struct { } -// PipelineClusterInitScriptGcsInput is an input type that accepts PipelineClusterInitScriptGcsArgs and PipelineClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptGcsInput` via: +// OnlineTableSpecRunContinuouslyInput is an input type that accepts OnlineTableSpecRunContinuouslyArgs and OnlineTableSpecRunContinuouslyOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunContinuouslyInput` via: // -// PipelineClusterInitScriptGcsArgs{...} -type PipelineClusterInitScriptGcsInput interface { +// OnlineTableSpecRunContinuouslyArgs{...} +type OnlineTableSpecRunContinuouslyInput interface { pulumi.Input - ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput - ToPipelineClusterInitScriptGcsOutputWithContext(context.Context) PipelineClusterInitScriptGcsOutput + ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput + ToOnlineTableSpecRunContinuouslyOutputWithContext(context.Context) OnlineTableSpecRunContinuouslyOutput } -type PipelineClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type OnlineTableSpecRunContinuouslyArgs struct { } -func (PipelineClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() +func (OnlineTableSpecRunContinuouslyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunContinuously)(nil)).Elem() } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { - return i.ToPipelineClusterInitScriptGcsOutputWithContext(context.Background()) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput { + return i.ToOnlineTableSpecRunContinuouslyOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyOutput) } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { - return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { + return i.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput).ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i OnlineTableSpecRunContinuouslyArgs) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyOutput).ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptGcsPtrInput is an input type that accepts PipelineClusterInitScriptGcsArgs, PipelineClusterInitScriptGcsPtr and PipelineClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptGcsPtrInput` via: +// OnlineTableSpecRunContinuouslyPtrInput is an input type that accepts OnlineTableSpecRunContinuouslyArgs, OnlineTableSpecRunContinuouslyPtr and OnlineTableSpecRunContinuouslyPtrOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunContinuouslyPtrInput` via: // -// PipelineClusterInitScriptGcsArgs{...} +// OnlineTableSpecRunContinuouslyArgs{...} // // or: // // nil -type PipelineClusterInitScriptGcsPtrInput interface { +type OnlineTableSpecRunContinuouslyPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput - ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Context) PipelineClusterInitScriptGcsPtrOutput + ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput + ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Context) OnlineTableSpecRunContinuouslyPtrOutput } -type pipelineClusterInitScriptGcsPtrType PipelineClusterInitScriptGcsArgs +type onlineTableSpecRunContinuouslyPtrType OnlineTableSpecRunContinuouslyArgs -func PipelineClusterInitScriptGcsPtr(v *PipelineClusterInitScriptGcsArgs) PipelineClusterInitScriptGcsPtrInput { - return (*pipelineClusterInitScriptGcsPtrType)(v) +func OnlineTableSpecRunContinuouslyPtr(v *OnlineTableSpecRunContinuouslyArgs) OnlineTableSpecRunContinuouslyPtrInput { + return (*onlineTableSpecRunContinuouslyPtrType)(v) } -func (*pipelineClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() +func (*onlineTableSpecRunContinuouslyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunContinuously)(nil)).Elem() } -func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { - return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *onlineTableSpecRunContinuouslyPtrType) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { + return i.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsPtrOutput) +func (i *onlineTableSpecRunContinuouslyPtrType) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunContinuouslyPtrOutput) } -type PipelineClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunContinuouslyOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() +func (OnlineTableSpecRunContinuouslyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunContinuously)(nil)).Elem() } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyOutput() OnlineTableSpecRunContinuouslyOutput { return o } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyOutput { return o } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { - return o.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { + return o.ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptGcs) *PipelineClusterInitScriptGcs { +func (o OnlineTableSpecRunContinuouslyOutput) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpecRunContinuously) *OnlineTableSpecRunContinuously { return &v - }).(PipelineClusterInitScriptGcsPtrOutput) -} - -func (o PipelineClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) + }).(OnlineTableSpecRunContinuouslyPtrOutput) } -type PipelineClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunContinuouslyPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() +func (OnlineTableSpecRunContinuouslyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunContinuously)(nil)).Elem() } -func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { +func (o OnlineTableSpecRunContinuouslyPtrOutput) ToOnlineTableSpecRunContinuouslyPtrOutput() OnlineTableSpecRunContinuouslyPtrOutput { return o } -func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { +func (o OnlineTableSpecRunContinuouslyPtrOutput) ToOnlineTableSpecRunContinuouslyPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunContinuouslyPtrOutput { return o } -func (o PipelineClusterInitScriptGcsPtrOutput) Elem() PipelineClusterInitScriptGcsOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptGcs) PipelineClusterInitScriptGcs { +func (o OnlineTableSpecRunContinuouslyPtrOutput) Elem() OnlineTableSpecRunContinuouslyOutput { + return o.ApplyT(func(v *OnlineTableSpecRunContinuously) OnlineTableSpecRunContinuously { if v != nil { return *v } - var ret PipelineClusterInitScriptGcs + var ret OnlineTableSpecRunContinuously return ret - }).(PipelineClusterInitScriptGcsOutput) -} - -func (o PipelineClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) + }).(OnlineTableSpecRunContinuouslyOutput) } -type PipelineClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type OnlineTableSpecRunTriggered struct { } -// PipelineClusterInitScriptS3Input is an input type that accepts PipelineClusterInitScriptS3Args and PipelineClusterInitScriptS3Output values. -// You can construct a concrete instance of `PipelineClusterInitScriptS3Input` via: +// OnlineTableSpecRunTriggeredInput is an input type that accepts OnlineTableSpecRunTriggeredArgs and OnlineTableSpecRunTriggeredOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunTriggeredInput` via: // -// PipelineClusterInitScriptS3Args{...} -type PipelineClusterInitScriptS3Input interface { +// OnlineTableSpecRunTriggeredArgs{...} +type OnlineTableSpecRunTriggeredInput interface { pulumi.Input - ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output - ToPipelineClusterInitScriptS3OutputWithContext(context.Context) PipelineClusterInitScriptS3Output + ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput + ToOnlineTableSpecRunTriggeredOutputWithContext(context.Context) OnlineTableSpecRunTriggeredOutput } -type PipelineClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type OnlineTableSpecRunTriggeredArgs struct { } -func (PipelineClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() +func (OnlineTableSpecRunTriggeredArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunTriggered)(nil)).Elem() } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { - return i.ToPipelineClusterInitScriptS3OutputWithContext(context.Background()) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput { + return i.ToOnlineTableSpecRunTriggeredOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredOutput) } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { - return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { + return i.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output).ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx) +func (i OnlineTableSpecRunTriggeredArgs) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredOutput).ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptS3PtrInput is an input type that accepts PipelineClusterInitScriptS3Args, PipelineClusterInitScriptS3Ptr and PipelineClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptS3PtrInput` via: +// OnlineTableSpecRunTriggeredPtrInput is an input type that accepts OnlineTableSpecRunTriggeredArgs, OnlineTableSpecRunTriggeredPtr and OnlineTableSpecRunTriggeredPtrOutput values. +// You can construct a concrete instance of `OnlineTableSpecRunTriggeredPtrInput` via: // -// PipelineClusterInitScriptS3Args{...} +// OnlineTableSpecRunTriggeredArgs{...} // // or: // // nil -type PipelineClusterInitScriptS3PtrInput interface { +type OnlineTableSpecRunTriggeredPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput - ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Context) PipelineClusterInitScriptS3PtrOutput + ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput + ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Context) OnlineTableSpecRunTriggeredPtrOutput } -type pipelineClusterInitScriptS3PtrType PipelineClusterInitScriptS3Args +type onlineTableSpecRunTriggeredPtrType OnlineTableSpecRunTriggeredArgs -func PipelineClusterInitScriptS3Ptr(v *PipelineClusterInitScriptS3Args) PipelineClusterInitScriptS3PtrInput { - return (*pipelineClusterInitScriptS3PtrType)(v) +func OnlineTableSpecRunTriggeredPtr(v *OnlineTableSpecRunTriggeredArgs) OnlineTableSpecRunTriggeredPtrInput { + return (*onlineTableSpecRunTriggeredPtrType)(v) } -func (*pipelineClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() +func (*onlineTableSpecRunTriggeredPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunTriggered)(nil)).Elem() } -func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { - return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *onlineTableSpecRunTriggeredPtrType) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { + return i.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3PtrOutput) +func (i *onlineTableSpecRunTriggeredPtrType) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableSpecRunTriggeredPtrOutput) } -type PipelineClusterInitScriptS3Output struct{ *pulumi.OutputState } +type OnlineTableSpecRunTriggeredOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() +func (OnlineTableSpecRunTriggeredOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableSpecRunTriggered)(nil)).Elem() } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredOutput() OnlineTableSpecRunTriggeredOutput { return o } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredOutput { return o } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { - return o.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { + return o.ToOnlineTableSpecRunTriggeredPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptS3) *PipelineClusterInitScriptS3 { +func (o OnlineTableSpecRunTriggeredOutput) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableSpecRunTriggered) *OnlineTableSpecRunTriggered { return &v - }).(PipelineClusterInitScriptS3PtrOutput) -} - -func (o PipelineClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o PipelineClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o PipelineClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) + }).(OnlineTableSpecRunTriggeredPtrOutput) } -type PipelineClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type OnlineTableSpecRunTriggeredPtrOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() +func (OnlineTableSpecRunTriggeredPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableSpecRunTriggered)(nil)).Elem() } -func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { +func (o OnlineTableSpecRunTriggeredPtrOutput) ToOnlineTableSpecRunTriggeredPtrOutput() OnlineTableSpecRunTriggeredPtrOutput { return o } -func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { +func (o OnlineTableSpecRunTriggeredPtrOutput) ToOnlineTableSpecRunTriggeredPtrOutputWithContext(ctx context.Context) OnlineTableSpecRunTriggeredPtrOutput { return o } -func (o PipelineClusterInitScriptS3PtrOutput) Elem() PipelineClusterInitScriptS3Output { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) PipelineClusterInitScriptS3 { +func (o OnlineTableSpecRunTriggeredPtrOutput) Elem() OnlineTableSpecRunTriggeredOutput { + return o.ApplyT(func(v *OnlineTableSpecRunTriggered) OnlineTableSpecRunTriggered { if v != nil { return *v } - var ret PipelineClusterInitScriptS3 + var ret OnlineTableSpecRunTriggered return ret - }).(PipelineClusterInitScriptS3Output) -} - -func (o PipelineClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o PipelineClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) -} - -func (o PipelineClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) + }).(OnlineTableSpecRunTriggeredOutput) } -type PipelineClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type OnlineTableStatus struct { + ContinuousUpdateStatus *OnlineTableStatusContinuousUpdateStatus `pulumi:"continuousUpdateStatus"` + // The state of the online table. + DetailedState *string `pulumi:"detailedState"` + FailedStatus *OnlineTableStatusFailedStatus `pulumi:"failedStatus"` + // A text description of the current state of the online table. + Message *string `pulumi:"message"` + ProvisioningStatus *OnlineTableStatusProvisioningStatus `pulumi:"provisioningStatus"` + TriggeredUpdateStatus *OnlineTableStatusTriggeredUpdateStatus `pulumi:"triggeredUpdateStatus"` } -// PipelineClusterInitScriptVolumesInput is an input type that accepts PipelineClusterInitScriptVolumesArgs and PipelineClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptVolumesInput` via: +// OnlineTableStatusInput is an input type that accepts OnlineTableStatusArgs and OnlineTableStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusInput` via: // -// PipelineClusterInitScriptVolumesArgs{...} -type PipelineClusterInitScriptVolumesInput interface { +// OnlineTableStatusArgs{...} +type OnlineTableStatusInput interface { pulumi.Input - ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput - ToPipelineClusterInitScriptVolumesOutputWithContext(context.Context) PipelineClusterInitScriptVolumesOutput -} - -type PipelineClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (PipelineClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() + ToOnlineTableStatusOutput() OnlineTableStatusOutput + ToOnlineTableStatusOutputWithContext(context.Context) OnlineTableStatusOutput } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { - return i.ToPipelineClusterInitScriptVolumesOutputWithContext(context.Background()) +type OnlineTableStatusArgs struct { + ContinuousUpdateStatus OnlineTableStatusContinuousUpdateStatusPtrInput `pulumi:"continuousUpdateStatus"` + // The state of the online table. + DetailedState pulumi.StringPtrInput `pulumi:"detailedState"` + FailedStatus OnlineTableStatusFailedStatusPtrInput `pulumi:"failedStatus"` + // A text description of the current state of the online table. + Message pulumi.StringPtrInput `pulumi:"message"` + ProvisioningStatus OnlineTableStatusProvisioningStatusPtrInput `pulumi:"provisioningStatus"` + TriggeredUpdateStatus OnlineTableStatusTriggeredUpdateStatusPtrInput `pulumi:"triggeredUpdateStatus"` } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput) +func (OnlineTableStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatus)(nil)).Elem() } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusArgs) ToOnlineTableStatusOutput() OnlineTableStatusOutput { + return i.ToOnlineTableStatusOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput).ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i OnlineTableStatusArgs) ToOnlineTableStatusOutputWithContext(ctx context.Context) OnlineTableStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusOutput) } -// PipelineClusterInitScriptVolumesPtrInput is an input type that accepts PipelineClusterInitScriptVolumesArgs, PipelineClusterInitScriptVolumesPtr and PipelineClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptVolumesPtrInput` via: -// -// PipelineClusterInitScriptVolumesArgs{...} -// -// or: +// OnlineTableStatusArrayInput is an input type that accepts OnlineTableStatusArray and OnlineTableStatusArrayOutput values. +// You can construct a concrete instance of `OnlineTableStatusArrayInput` via: // -// nil -type PipelineClusterInitScriptVolumesPtrInput interface { +// OnlineTableStatusArray{ OnlineTableStatusArgs{...} } +type OnlineTableStatusArrayInput interface { pulumi.Input - ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput - ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Context) PipelineClusterInitScriptVolumesPtrOutput + ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput + ToOnlineTableStatusArrayOutputWithContext(context.Context) OnlineTableStatusArrayOutput } -type pipelineClusterInitScriptVolumesPtrType PipelineClusterInitScriptVolumesArgs - -func PipelineClusterInitScriptVolumesPtr(v *PipelineClusterInitScriptVolumesArgs) PipelineClusterInitScriptVolumesPtrInput { - return (*pipelineClusterInitScriptVolumesPtrType)(v) -} +type OnlineTableStatusArray []OnlineTableStatusInput -func (*pipelineClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() +func (OnlineTableStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]OnlineTableStatus)(nil)).Elem() } -func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusArray) ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput { + return i.ToOnlineTableStatusArrayOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesPtrOutput) +func (i OnlineTableStatusArray) ToOnlineTableStatusArrayOutputWithContext(ctx context.Context) OnlineTableStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusArrayOutput) } -type PipelineClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type OnlineTableStatusOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() +func (OnlineTableStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatus)(nil)).Elem() } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { +func (o OnlineTableStatusOutput) ToOnlineTableStatusOutput() OnlineTableStatusOutput { return o } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { +func (o OnlineTableStatusOutput) ToOnlineTableStatusOutputWithContext(ctx context.Context) OnlineTableStatusOutput { return o } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return o.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusOutput) ContinuousUpdateStatus() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusContinuousUpdateStatus { return v.ContinuousUpdateStatus }).(OnlineTableStatusContinuousUpdateStatusPtrOutput) } -func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptVolumes) *PipelineClusterInitScriptVolumes { - return &v - }).(PipelineClusterInitScriptVolumesPtrOutput) +// The state of the online table. +func (o OnlineTableStatusOutput) DetailedState() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *string { return v.DetailedState }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o OnlineTableStatusOutput) FailedStatus() OnlineTableStatusFailedStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusFailedStatus { return v.FailedStatus }).(OnlineTableStatusFailedStatusPtrOutput) } -type PipelineClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } - -func (PipelineClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() +// A text description of the current state of the online table. +func (o OnlineTableStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { - return o +func (o OnlineTableStatusOutput) ProvisioningStatus() OnlineTableStatusProvisioningStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusProvisioningStatus { return v.ProvisioningStatus }).(OnlineTableStatusProvisioningStatusPtrOutput) } -func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { - return o +func (o OnlineTableStatusOutput) TriggeredUpdateStatus() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o.ApplyT(func(v OnlineTableStatus) *OnlineTableStatusTriggeredUpdateStatus { return v.TriggeredUpdateStatus }).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) } -func (o PipelineClusterInitScriptVolumesPtrOutput) Elem() PipelineClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) PipelineClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret PipelineClusterInitScriptVolumes - return ret - }).(PipelineClusterInitScriptVolumesOutput) +type OnlineTableStatusArrayOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]OnlineTableStatus)(nil)).Elem() } -func (o PipelineClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusArrayOutput) ToOnlineTableStatusArrayOutput() OnlineTableStatusArrayOutput { + return o } -type PipelineClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o OnlineTableStatusArrayOutput) ToOnlineTableStatusArrayOutputWithContext(ctx context.Context) OnlineTableStatusArrayOutput { + return o } -// PipelineClusterInitScriptWorkspaceInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs and PipelineClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptWorkspaceInput` via: +func (o OnlineTableStatusArrayOutput) Index(i pulumi.IntInput) OnlineTableStatusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) OnlineTableStatus { + return vs[0].([]OnlineTableStatus)[vs[1].(int)] + }).(OnlineTableStatusOutput) +} + +type OnlineTableStatusContinuousUpdateStatus struct { + InitialPipelineSyncProgress *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress `pulumi:"initialPipelineSyncProgress"` + LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` + Timestamp *string `pulumi:"timestamp"` +} + +// OnlineTableStatusContinuousUpdateStatusInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusArgs and OnlineTableStatusContinuousUpdateStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInput` via: // -// PipelineClusterInitScriptWorkspaceArgs{...} -type PipelineClusterInitScriptWorkspaceInput interface { +// OnlineTableStatusContinuousUpdateStatusArgs{...} +type OnlineTableStatusContinuousUpdateStatusInput interface { pulumi.Input - ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput - ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Context) PipelineClusterInitScriptWorkspaceOutput + ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput + ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusOutput } -type PipelineClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type OnlineTableStatusContinuousUpdateStatusArgs struct { + InitialPipelineSyncProgress OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput `pulumi:"initialPipelineSyncProgress"` + LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` + Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` } -func (PipelineClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { - return i.ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusOutput) } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { - return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) } -func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput).ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i OnlineTableStatusContinuousUpdateStatusArgs) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusOutput).ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx) } -// PipelineClusterInitScriptWorkspacePtrInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs, PipelineClusterInitScriptWorkspacePtr and PipelineClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `PipelineClusterInitScriptWorkspacePtrInput` via: +// OnlineTableStatusContinuousUpdateStatusPtrInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusArgs, OnlineTableStatusContinuousUpdateStatusPtr and OnlineTableStatusContinuousUpdateStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusPtrInput` via: // -// PipelineClusterInitScriptWorkspaceArgs{...} +// OnlineTableStatusContinuousUpdateStatusArgs{...} // // or: // // nil -type PipelineClusterInitScriptWorkspacePtrInput interface { +type OnlineTableStatusContinuousUpdateStatusPtrInput interface { pulumi.Input - ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput - ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Context) PipelineClusterInitScriptWorkspacePtrOutput + ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput + ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput } -type pipelineClusterInitScriptWorkspacePtrType PipelineClusterInitScriptWorkspaceArgs +type onlineTableStatusContinuousUpdateStatusPtrType OnlineTableStatusContinuousUpdateStatusArgs -func PipelineClusterInitScriptWorkspacePtr(v *PipelineClusterInitScriptWorkspaceArgs) PipelineClusterInitScriptWorkspacePtrInput { - return (*pipelineClusterInitScriptWorkspacePtrType)(v) +func OnlineTableStatusContinuousUpdateStatusPtr(v *OnlineTableStatusContinuousUpdateStatusArgs) OnlineTableStatusContinuousUpdateStatusPtrInput { + return (*onlineTableStatusContinuousUpdateStatusPtrType)(v) } -func (*pipelineClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (*onlineTableStatusContinuousUpdateStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() } -func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { - return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *onlineTableStatusContinuousUpdateStatusPtrType) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) } -func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspacePtrOutput) +func (i *onlineTableStatusContinuousUpdateStatusPtrType) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusPtrOutput) } -type PipelineClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type OnlineTableStatusContinuousUpdateStatusOutput struct{ *pulumi.OutputState } -func (PipelineClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusOutput() OnlineTableStatusContinuousUpdateStatusOutput { return o } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusOutput { return o } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { - return o.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { + return o.ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(context.Background()) } -func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptWorkspace) *PipelineClusterInitScriptWorkspace { +func (o OnlineTableStatusContinuousUpdateStatusOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatus { return &v - }).(PipelineClusterInitScriptWorkspacePtrOutput) + }).(OnlineTableStatusContinuousUpdateStatusPtrOutput) } -func (o PipelineClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v PipelineClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o OnlineTableStatusContinuousUpdateStatusOutput) InitialPipelineSyncProgress() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusContinuousUpdateStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) +} -func (PipelineClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() +func (o OnlineTableStatusContinuousUpdateStatusOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) } -func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { +type OnlineTableStatusContinuousUpdateStatusPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusContinuousUpdateStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatus)(nil)).Elem() +} + +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutput() OnlineTableStatusContinuousUpdateStatusPtrOutput { return o } -func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) ToOnlineTableStatusContinuousUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusPtrOutput { return o } -func (o PipelineClusterInitScriptWorkspacePtrOutput) Elem() PipelineClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) PipelineClusterInitScriptWorkspace { +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) Elem() OnlineTableStatusContinuousUpdateStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) OnlineTableStatusContinuousUpdateStatus { if v != nil { return *v } - var ret PipelineClusterInitScriptWorkspace + var ret OnlineTableStatusContinuousUpdateStatus return ret - }).(PipelineClusterInitScriptWorkspaceOutput) + }).(OnlineTableStatusContinuousUpdateStatusOutput) } -func (o PipelineClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) *string { +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) InitialPipelineSyncProgress() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { if v == nil { return nil } - return &v.Destination + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) +} + +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *int { + if v == nil { + return nil + } + return v.LastProcessedCommitVersion + }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusContinuousUpdateStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatus) *string { + if v == nil { + return nil + } + return v.Timestamp }).(pulumi.StringPtrOutput) } -type PipelineDeployment struct { - // The deployment method that manages the pipeline. - Kind *string `pulumi:"kind"` - // The path to the file containing metadata about the deployment. - MetadataFilePath *string `pulumi:"metadataFilePath"` +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress struct { + EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` + SyncedRowCount *int `pulumi:"syncedRowCount"` + TotalRowCount *int `pulumi:"totalRowCount"` } -// PipelineDeploymentInput is an input type that accepts PipelineDeploymentArgs and PipelineDeploymentOutput values. -// You can construct a concrete instance of `PipelineDeploymentInput` via: +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs and OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput` via: // -// PipelineDeploymentArgs{...} -type PipelineDeploymentInput interface { +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{...} +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressInput interface { pulumi.Input - ToPipelineDeploymentOutput() PipelineDeploymentOutput - ToPipelineDeploymentOutputWithContext(context.Context) PipelineDeploymentOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput } -type PipelineDeploymentArgs struct { - // The deployment method that manages the pipeline. - Kind pulumi.StringPtrInput `pulumi:"kind"` - // The path to the file containing metadata about the deployment. - MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs struct { + EstimatedCompletionTimeSeconds pulumi.Float64PtrInput `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing pulumi.IntPtrInput `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion pulumi.Float64PtrInput `pulumi:"syncProgressCompletion"` + SyncedRowCount pulumi.IntPtrInput `pulumi:"syncedRowCount"` + TotalRowCount pulumi.IntPtrInput `pulumi:"totalRowCount"` } -func (PipelineDeploymentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineDeployment)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i PipelineDeploymentArgs) ToPipelineDeploymentOutput() PipelineDeploymentOutput { - return i.ToPipelineDeploymentOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(context.Background()) } -func (i PipelineDeploymentArgs) ToPipelineDeploymentOutputWithContext(ctx context.Context) PipelineDeploymentOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineDeploymentOutput) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) } -func (i PipelineDeploymentArgs) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { - return i.ToPipelineDeploymentPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i PipelineDeploymentArgs) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineDeploymentOutput).ToPipelineDeploymentPtrOutputWithContext(ctx) +func (i OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput).ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx) } -// PipelineDeploymentPtrInput is an input type that accepts PipelineDeploymentArgs, PipelineDeploymentPtr and PipelineDeploymentPtrOutput values. -// You can construct a concrete instance of `PipelineDeploymentPtrInput` via: +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput is an input type that accepts OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs, OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtr and OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput` via: // -// PipelineDeploymentArgs{...} +// OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs{...} // // or: // // nil -type PipelineDeploymentPtrInput interface { +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput interface { pulumi.Input - ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput - ToPipelineDeploymentPtrOutputWithContext(context.Context) PipelineDeploymentPtrOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput + ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput } -type pipelineDeploymentPtrType PipelineDeploymentArgs +type onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs -func PipelineDeploymentPtr(v *PipelineDeploymentArgs) PipelineDeploymentPtrInput { - return (*pipelineDeploymentPtrType)(v) +func OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtr(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrInput { + return (*onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType)(v) } -func (*pipelineDeploymentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineDeployment)(nil)).Elem() +func (*onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i *pipelineDeploymentPtrType) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { - return i.ToPipelineDeploymentPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i *pipelineDeploymentPtrType) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineDeploymentPtrOutput) +func (i *onlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineDeploymentOutput struct{ *pulumi.OutputState } +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput struct{ *pulumi.OutputState } -func (PipelineDeploymentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineDeployment)(nil)).Elem() +func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (o PipelineDeploymentOutput) ToPipelineDeploymentOutput() PipelineDeploymentOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { return o } -func (o PipelineDeploymentOutput) ToPipelineDeploymentOutputWithContext(ctx context.Context) PipelineDeploymentOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { return o } -func (o PipelineDeploymentOutput) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { - return o.ToPipelineDeploymentPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (o PipelineDeploymentOutput) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineDeployment) *PipelineDeployment { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { return &v - }).(PipelineDeploymentPtrOutput) + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) } -// The deployment method that manages the pipeline. -func (o PipelineDeploymentOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineDeployment) *string { return v.Kind }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -// The path to the file containing metadata about the deployment. -func (o PipelineDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -type PipelineDeploymentPtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) +} -func (PipelineDeploymentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineDeployment)(nil)).Elem() +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) } -func (o PipelineDeploymentPtrOutput) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + return v.TotalRowCount + }).(pulumi.IntPtrOutput) +} + +type OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress)(nil)).Elem() +} + +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o PipelineDeploymentPtrOutput) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o PipelineDeploymentPtrOutput) Elem() PipelineDeploymentOutput { - return o.ApplyT(func(v *PipelineDeployment) PipelineDeployment { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) Elem() OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress { if v != nil { return *v } - var ret PipelineDeployment + var ret OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress return ret - }).(PipelineDeploymentOutput) + }).(OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressOutput) } -// The deployment method that manages the pipeline. -func (o PipelineDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineDeployment) *string { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { if v == nil { return nil } - return v.Kind - }).(pulumi.StringPtrOutput) + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -// The path to the file containing metadata about the deployment. -func (o PipelineDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineDeployment) *string { +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { if v == nil { return nil } - return v.MetadataFilePath - }).(pulumi.StringPtrOutput) + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -type PipelineFilters struct { - // Paths to exclude. - Excludes []string `pulumi:"excludes"` - // Paths to include. - Includes []string `pulumi:"includes"` +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *float64 { + if v == nil { + return nil + } + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -// PipelineFiltersInput is an input type that accepts PipelineFiltersArgs and PipelineFiltersOutput values. -// You can construct a concrete instance of `PipelineFiltersInput` via: +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.TotalRowCount + }).(pulumi.IntPtrOutput) +} + +type OnlineTableStatusFailedStatus struct { + LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` + Timestamp *string `pulumi:"timestamp"` +} + +// OnlineTableStatusFailedStatusInput is an input type that accepts OnlineTableStatusFailedStatusArgs and OnlineTableStatusFailedStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusFailedStatusInput` via: // -// PipelineFiltersArgs{...} -type PipelineFiltersInput interface { +// OnlineTableStatusFailedStatusArgs{...} +type OnlineTableStatusFailedStatusInput interface { pulumi.Input - ToPipelineFiltersOutput() PipelineFiltersOutput - ToPipelineFiltersOutputWithContext(context.Context) PipelineFiltersOutput + ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput + ToOnlineTableStatusFailedStatusOutputWithContext(context.Context) OnlineTableStatusFailedStatusOutput } -type PipelineFiltersArgs struct { - // Paths to exclude. - Excludes pulumi.StringArrayInput `pulumi:"excludes"` - // Paths to include. - Includes pulumi.StringArrayInput `pulumi:"includes"` +type OnlineTableStatusFailedStatusArgs struct { + LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` + Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` } -func (PipelineFiltersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineFilters)(nil)).Elem() +func (OnlineTableStatusFailedStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusFailedStatus)(nil)).Elem() } -func (i PipelineFiltersArgs) ToPipelineFiltersOutput() PipelineFiltersOutput { - return i.ToPipelineFiltersOutputWithContext(context.Background()) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput { + return i.ToOnlineTableStatusFailedStatusOutputWithContext(context.Background()) } -func (i PipelineFiltersArgs) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusOutput) } -func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { - return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { + return i.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) } -func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput).ToPipelineFiltersPtrOutputWithContext(ctx) +func (i OnlineTableStatusFailedStatusArgs) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusOutput).ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx) } -// PipelineFiltersPtrInput is an input type that accepts PipelineFiltersArgs, PipelineFiltersPtr and PipelineFiltersPtrOutput values. -// You can construct a concrete instance of `PipelineFiltersPtrInput` via: +// OnlineTableStatusFailedStatusPtrInput is an input type that accepts OnlineTableStatusFailedStatusArgs, OnlineTableStatusFailedStatusPtr and OnlineTableStatusFailedStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusFailedStatusPtrInput` via: // -// PipelineFiltersArgs{...} +// OnlineTableStatusFailedStatusArgs{...} // // or: // // nil -type PipelineFiltersPtrInput interface { +type OnlineTableStatusFailedStatusPtrInput interface { pulumi.Input - ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput - ToPipelineFiltersPtrOutputWithContext(context.Context) PipelineFiltersPtrOutput + ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput + ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Context) OnlineTableStatusFailedStatusPtrOutput } -type pipelineFiltersPtrType PipelineFiltersArgs +type onlineTableStatusFailedStatusPtrType OnlineTableStatusFailedStatusArgs -func PipelineFiltersPtr(v *PipelineFiltersArgs) PipelineFiltersPtrInput { - return (*pipelineFiltersPtrType)(v) +func OnlineTableStatusFailedStatusPtr(v *OnlineTableStatusFailedStatusArgs) OnlineTableStatusFailedStatusPtrInput { + return (*onlineTableStatusFailedStatusPtrType)(v) } -func (*pipelineFiltersPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineFilters)(nil)).Elem() +func (*onlineTableStatusFailedStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusFailedStatus)(nil)).Elem() } -func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { - return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusFailedStatusPtrType) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { + return i.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) } -func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersPtrOutput) +func (i *onlineTableStatusFailedStatusPtrType) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusFailedStatusPtrOutput) } -type PipelineFiltersOutput struct{ *pulumi.OutputState } +type OnlineTableStatusFailedStatusOutput struct{ *pulumi.OutputState } -func (PipelineFiltersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineFilters)(nil)).Elem() +func (OnlineTableStatusFailedStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusFailedStatus)(nil)).Elem() } -func (o PipelineFiltersOutput) ToPipelineFiltersOutput() PipelineFiltersOutput { +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusOutput() OnlineTableStatusFailedStatusOutput { return o } -func (o PipelineFiltersOutput) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusOutput { return o } -func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { - return o.ToPipelineFiltersPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { + return o.ToOnlineTableStatusFailedStatusPtrOutputWithContext(context.Background()) } -func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineFilters) *PipelineFilters { +func (o OnlineTableStatusFailedStatusOutput) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusFailedStatus) *OnlineTableStatusFailedStatus { return &v - }).(PipelineFiltersPtrOutput) + }).(OnlineTableStatusFailedStatusPtrOutput) } -// Paths to exclude. -func (o PipelineFiltersOutput) Excludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineFilters) []string { return v.Excludes }).(pulumi.StringArrayOutput) +func (o OnlineTableStatusFailedStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusFailedStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) } -// Paths to include. -func (o PipelineFiltersOutput) Includes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineFilters) []string { return v.Includes }).(pulumi.StringArrayOutput) +func (o OnlineTableStatusFailedStatusOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatusFailedStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) } -type PipelineFiltersPtrOutput struct{ *pulumi.OutputState } +type OnlineTableStatusFailedStatusPtrOutput struct{ *pulumi.OutputState } -func (PipelineFiltersPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineFilters)(nil)).Elem() +func (OnlineTableStatusFailedStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusFailedStatus)(nil)).Elem() } -func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { +func (o OnlineTableStatusFailedStatusPtrOutput) ToOnlineTableStatusFailedStatusPtrOutput() OnlineTableStatusFailedStatusPtrOutput { return o } -func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { +func (o OnlineTableStatusFailedStatusPtrOutput) ToOnlineTableStatusFailedStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusFailedStatusPtrOutput { return o } -func (o PipelineFiltersPtrOutput) Elem() PipelineFiltersOutput { - return o.ApplyT(func(v *PipelineFilters) PipelineFilters { +func (o OnlineTableStatusFailedStatusPtrOutput) Elem() OnlineTableStatusFailedStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusFailedStatus) OnlineTableStatusFailedStatus { if v != nil { return *v } - var ret PipelineFilters + var ret OnlineTableStatusFailedStatus return ret - }).(PipelineFiltersOutput) + }).(OnlineTableStatusFailedStatusOutput) } -// Paths to exclude. -func (o PipelineFiltersPtrOutput) Excludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineFilters) []string { +func (o OnlineTableStatusFailedStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusFailedStatus) *int { if v == nil { return nil } - return v.Excludes - }).(pulumi.StringArrayOutput) + return v.LastProcessedCommitVersion + }).(pulumi.IntPtrOutput) } -// Paths to include. -func (o PipelineFiltersPtrOutput) Includes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineFilters) []string { +func (o OnlineTableStatusFailedStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusFailedStatus) *string { if v == nil { return nil - } - return v.Includes - }).(pulumi.StringArrayOutput) + } + return v.Timestamp + }).(pulumi.StringPtrOutput) } -type PipelineGatewayDefinition struct { - // Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. - ConnectionId *string `pulumi:"connectionId"` - ConnectionName *string `pulumi:"connectionName"` - // Required, Immutable. The name of the catalog for the gateway pipeline's storage location. - GatewayStorageCatalog *string `pulumi:"gatewayStorageCatalog"` - // Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. - GatewayStorageName *string `pulumi:"gatewayStorageName"` - // Required, Immutable. The name of the schema for the gateway pipelines's storage location. - GatewayStorageSchema *string `pulumi:"gatewayStorageSchema"` +type OnlineTableStatusProvisioningStatus struct { + InitialPipelineSyncProgress *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress `pulumi:"initialPipelineSyncProgress"` } -// PipelineGatewayDefinitionInput is an input type that accepts PipelineGatewayDefinitionArgs and PipelineGatewayDefinitionOutput values. -// You can construct a concrete instance of `PipelineGatewayDefinitionInput` via: +// OnlineTableStatusProvisioningStatusInput is an input type that accepts OnlineTableStatusProvisioningStatusArgs and OnlineTableStatusProvisioningStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInput` via: // -// PipelineGatewayDefinitionArgs{...} -type PipelineGatewayDefinitionInput interface { +// OnlineTableStatusProvisioningStatusArgs{...} +type OnlineTableStatusProvisioningStatusInput interface { pulumi.Input - ToPipelineGatewayDefinitionOutput() PipelineGatewayDefinitionOutput - ToPipelineGatewayDefinitionOutputWithContext(context.Context) PipelineGatewayDefinitionOutput + ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput + ToOnlineTableStatusProvisioningStatusOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusOutput } -type PipelineGatewayDefinitionArgs struct { - // Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. - ConnectionId pulumi.StringPtrInput `pulumi:"connectionId"` - ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` - // Required, Immutable. The name of the catalog for the gateway pipeline's storage location. - GatewayStorageCatalog pulumi.StringPtrInput `pulumi:"gatewayStorageCatalog"` - // Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. - GatewayStorageName pulumi.StringPtrInput `pulumi:"gatewayStorageName"` - // Required, Immutable. The name of the schema for the gateway pipelines's storage location. - GatewayStorageSchema pulumi.StringPtrInput `pulumi:"gatewayStorageSchema"` +type OnlineTableStatusProvisioningStatusArgs struct { + InitialPipelineSyncProgress OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput `pulumi:"initialPipelineSyncProgress"` } -func (PipelineGatewayDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineGatewayDefinition)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionOutput() PipelineGatewayDefinitionOutput { - return i.ToPipelineGatewayDefinitionOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput { + return i.ToOnlineTableStatusProvisioningStatusOutputWithContext(context.Background()) } -func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionOutputWithContext(ctx context.Context) PipelineGatewayDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineGatewayDefinitionOutput) +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusOutput) } -func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { - return i.ToPipelineGatewayDefinitionPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) } -func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineGatewayDefinitionOutput).ToPipelineGatewayDefinitionPtrOutputWithContext(ctx) +func (i OnlineTableStatusProvisioningStatusArgs) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusOutput).ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx) } -// PipelineGatewayDefinitionPtrInput is an input type that accepts PipelineGatewayDefinitionArgs, PipelineGatewayDefinitionPtr and PipelineGatewayDefinitionPtrOutput values. -// You can construct a concrete instance of `PipelineGatewayDefinitionPtrInput` via: +// OnlineTableStatusProvisioningStatusPtrInput is an input type that accepts OnlineTableStatusProvisioningStatusArgs, OnlineTableStatusProvisioningStatusPtr and OnlineTableStatusProvisioningStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusPtrInput` via: // -// PipelineGatewayDefinitionArgs{...} +// OnlineTableStatusProvisioningStatusArgs{...} // // or: // // nil -type PipelineGatewayDefinitionPtrInput interface { +type OnlineTableStatusProvisioningStatusPtrInput interface { pulumi.Input - ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput - ToPipelineGatewayDefinitionPtrOutputWithContext(context.Context) PipelineGatewayDefinitionPtrOutput + ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput + ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusPtrOutput } -type pipelineGatewayDefinitionPtrType PipelineGatewayDefinitionArgs +type onlineTableStatusProvisioningStatusPtrType OnlineTableStatusProvisioningStatusArgs -func PipelineGatewayDefinitionPtr(v *PipelineGatewayDefinitionArgs) PipelineGatewayDefinitionPtrInput { - return (*pipelineGatewayDefinitionPtrType)(v) +func OnlineTableStatusProvisioningStatusPtr(v *OnlineTableStatusProvisioningStatusArgs) OnlineTableStatusProvisioningStatusPtrInput { + return (*onlineTableStatusProvisioningStatusPtrType)(v) } -func (*pipelineGatewayDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineGatewayDefinition)(nil)).Elem() +func (*onlineTableStatusProvisioningStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (i *pipelineGatewayDefinitionPtrType) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { - return i.ToPipelineGatewayDefinitionPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusProvisioningStatusPtrType) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) } -func (i *pipelineGatewayDefinitionPtrType) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineGatewayDefinitionPtrOutput) +func (i *onlineTableStatusProvisioningStatusPtrType) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusPtrOutput) } -type PipelineGatewayDefinitionOutput struct{ *pulumi.OutputState } +type OnlineTableStatusProvisioningStatusOutput struct{ *pulumi.OutputState } -func (PipelineGatewayDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineGatewayDefinition)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionOutput() PipelineGatewayDefinitionOutput { +func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusOutput() OnlineTableStatusProvisioningStatusOutput { return o } -func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionOutputWithContext(ctx context.Context) PipelineGatewayDefinitionOutput { +func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusOutput { return o } -func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { - return o.ToPipelineGatewayDefinitionPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { + return o.ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(context.Background()) } -func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineGatewayDefinition) *PipelineGatewayDefinition { +func (o OnlineTableStatusProvisioningStatusOutput) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatus { return &v - }).(PipelineGatewayDefinitionPtrOutput) -} - -// Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. -func (o PipelineGatewayDefinitionOutput) ConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.ConnectionId }).(pulumi.StringPtrOutput) -} - -func (o PipelineGatewayDefinitionOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) -} - -// Required, Immutable. The name of the catalog for the gateway pipeline's storage location. -func (o PipelineGatewayDefinitionOutput) GatewayStorageCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.GatewayStorageCatalog }).(pulumi.StringPtrOutput) -} - -// Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. -func (o PipelineGatewayDefinitionOutput) GatewayStorageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.GatewayStorageName }).(pulumi.StringPtrOutput) + }).(OnlineTableStatusProvisioningStatusPtrOutput) } -// Required, Immutable. The name of the schema for the gateway pipelines's storage location. -func (o PipelineGatewayDefinitionOutput) GatewayStorageSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.GatewayStorageSchema }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusProvisioningStatusOutput) InitialPipelineSyncProgress() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineGatewayDefinitionPtrOutput struct{ *pulumi.OutputState } +type OnlineTableStatusProvisioningStatusPtrOutput struct{ *pulumi.OutputState } -func (PipelineGatewayDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineGatewayDefinition)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatus)(nil)).Elem() } -func (o PipelineGatewayDefinitionPtrOutput) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { +func (o OnlineTableStatusProvisioningStatusPtrOutput) ToOnlineTableStatusProvisioningStatusPtrOutput() OnlineTableStatusProvisioningStatusPtrOutput { return o } -func (o PipelineGatewayDefinitionPtrOutput) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { +func (o OnlineTableStatusProvisioningStatusPtrOutput) ToOnlineTableStatusProvisioningStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusPtrOutput { return o } -func (o PipelineGatewayDefinitionPtrOutput) Elem() PipelineGatewayDefinitionOutput { - return o.ApplyT(func(v *PipelineGatewayDefinition) PipelineGatewayDefinition { +func (o OnlineTableStatusProvisioningStatusPtrOutput) Elem() OnlineTableStatusProvisioningStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatus) OnlineTableStatusProvisioningStatus { if v != nil { return *v } - var ret PipelineGatewayDefinition + var ret OnlineTableStatusProvisioningStatus return ret - }).(PipelineGatewayDefinitionOutput) -} - -// Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. -func (o PipelineGatewayDefinitionPtrOutput) ConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineGatewayDefinition) *string { - if v == nil { - return nil - } - return v.ConnectionId - }).(pulumi.StringPtrOutput) -} - -func (o PipelineGatewayDefinitionPtrOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineGatewayDefinition) *string { - if v == nil { - return nil - } - return v.ConnectionName - }).(pulumi.StringPtrOutput) -} - -// Required, Immutable. The name of the catalog for the gateway pipeline's storage location. -func (o PipelineGatewayDefinitionPtrOutput) GatewayStorageCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineGatewayDefinition) *string { - if v == nil { - return nil - } - return v.GatewayStorageCatalog - }).(pulumi.StringPtrOutput) -} - -// Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. -func (o PipelineGatewayDefinitionPtrOutput) GatewayStorageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineGatewayDefinition) *string { - if v == nil { - return nil - } - return v.GatewayStorageName - }).(pulumi.StringPtrOutput) + }).(OnlineTableStatusProvisioningStatusOutput) } -// Required, Immutable. The name of the schema for the gateway pipelines's storage location. -func (o PipelineGatewayDefinitionPtrOutput) GatewayStorageSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineGatewayDefinition) *string { +func (o OnlineTableStatusProvisioningStatusPtrOutput) InitialPipelineSyncProgress() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatus) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { if v == nil { return nil } - return v.GatewayStorageSchema - }).(pulumi.StringPtrOutput) + return v.InitialPipelineSyncProgress + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineIngestionDefinition struct { - ConnectionName *string `pulumi:"connectionName"` - IngestionGatewayId *string `pulumi:"ingestionGatewayId"` - Objects []PipelineIngestionDefinitionObject `pulumi:"objects"` - TableConfiguration *PipelineIngestionDefinitionTableConfiguration `pulumi:"tableConfiguration"` +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress struct { + EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` + SyncedRowCount *int `pulumi:"syncedRowCount"` + TotalRowCount *int `pulumi:"totalRowCount"` } -// PipelineIngestionDefinitionInput is an input type that accepts PipelineIngestionDefinitionArgs and PipelineIngestionDefinitionOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionInput` via: +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput is an input type that accepts OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs and OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput` via: // -// PipelineIngestionDefinitionArgs{...} -type PipelineIngestionDefinitionInput interface { +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{...} +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressInput interface { pulumi.Input - ToPipelineIngestionDefinitionOutput() PipelineIngestionDefinitionOutput - ToPipelineIngestionDefinitionOutputWithContext(context.Context) PipelineIngestionDefinitionOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput } -type PipelineIngestionDefinitionArgs struct { - ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` - IngestionGatewayId pulumi.StringPtrInput `pulumi:"ingestionGatewayId"` - Objects PipelineIngestionDefinitionObjectArrayInput `pulumi:"objects"` - TableConfiguration PipelineIngestionDefinitionTableConfigurationPtrInput `pulumi:"tableConfiguration"` +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs struct { + EstimatedCompletionTimeSeconds pulumi.Float64PtrInput `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing pulumi.IntPtrInput `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion pulumi.Float64PtrInput `pulumi:"syncProgressCompletion"` + SyncedRowCount pulumi.IntPtrInput `pulumi:"syncedRowCount"` + TotalRowCount pulumi.IntPtrInput `pulumi:"totalRowCount"` } -func (PipelineIngestionDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinition)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionOutput() PipelineIngestionDefinitionOutput { - return i.ToPipelineIngestionDefinitionOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { + return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionOutputWithContext(ctx context.Context) PipelineIngestionDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionOutput) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) } -func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { - return i.ToPipelineIngestionDefinitionPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionOutput).ToPipelineIngestionDefinitionPtrOutputWithContext(ctx) +func (i OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput).ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx) } -// PipelineIngestionDefinitionPtrInput is an input type that accepts PipelineIngestionDefinitionArgs, PipelineIngestionDefinitionPtr and PipelineIngestionDefinitionPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionPtrInput` via: +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput is an input type that accepts OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs, OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtr and OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput` via: // -// PipelineIngestionDefinitionArgs{...} +// OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs{...} // // or: // // nil -type PipelineIngestionDefinitionPtrInput interface { +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput - ToPipelineIngestionDefinitionPtrOutputWithContext(context.Context) PipelineIngestionDefinitionPtrOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput + ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput } -type pipelineIngestionDefinitionPtrType PipelineIngestionDefinitionArgs +type onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs -func PipelineIngestionDefinitionPtr(v *PipelineIngestionDefinitionArgs) PipelineIngestionDefinitionPtrInput { - return (*pipelineIngestionDefinitionPtrType)(v) +func OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtr(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrInput { + return (*onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType)(v) } -func (*pipelineIngestionDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinition)(nil)).Elem() +func (*onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (i *pipelineIngestionDefinitionPtrType) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { - return i.ToPipelineIngestionDefinitionPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return i.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionPtrType) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionPtrOutput) +func (i *onlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrType) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -type PipelineIngestionDefinitionOutput struct{ *pulumi.OutputState } +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinition)(nil)).Elem() +func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionOutput() PipelineIngestionDefinitionOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { return o } -func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionOutputWithContext(ctx context.Context) PipelineIngestionDefinitionOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { return o } -func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { - return o.ToPipelineIngestionDefinitionPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(context.Background()) } -func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinition) *PipelineIngestionDefinition { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { return &v - }).(PipelineIngestionDefinitionPtrOutput) + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) } -func (o PipelineIngestionDefinitionOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinition) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionOutput) IngestionGatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinition) *string { return v.IngestionGatewayId }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionOutput) Objects() PipelineIngestionDefinitionObjectArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinition) []PipelineIngestionDefinitionObject { return v.Objects }).(PipelineIngestionDefinitionObjectArrayOutput) +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionOutput) TableConfiguration() PipelineIngestionDefinitionTableConfigurationPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinition) *PipelineIngestionDefinitionTableConfiguration { - return v.TableConfiguration - }).(PipelineIngestionDefinitionTableConfigurationPtrOutput) +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { return v.SyncedRowCount }).(pulumi.IntPtrOutput) } -type PipelineIngestionDefinitionPtrOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { return v.TotalRowCount }).(pulumi.IntPtrOutput) +} -func (PipelineIngestionDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinition)(nil)).Elem() +type OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress)(nil)).Elem() } -func (o PipelineIngestionDefinitionPtrOutput) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o PipelineIngestionDefinitionPtrOutput) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) ToOnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput { return o } -func (o PipelineIngestionDefinitionPtrOutput) Elem() PipelineIngestionDefinitionOutput { - return o.ApplyT(func(v *PipelineIngestionDefinition) PipelineIngestionDefinition { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) Elem() OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress { if v != nil { return *v } - var ret PipelineIngestionDefinition + var ret OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress return ret - }).(PipelineIngestionDefinitionOutput) + }).(OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressOutput) } -func (o PipelineIngestionDefinitionPtrOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinition) *string { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { if v == nil { return nil } - return v.ConnectionName - }).(pulumi.StringPtrOutput) + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionPtrOutput) IngestionGatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinition) *string { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { if v == nil { return nil } - return v.IngestionGatewayId - }).(pulumi.StringPtrOutput) + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionPtrOutput) Objects() PipelineIngestionDefinitionObjectArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinition) []PipelineIngestionDefinitionObject { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *float64 { if v == nil { return nil } - return v.Objects - }).(PipelineIngestionDefinitionObjectArrayOutput) + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionPtrOutput) TableConfiguration() PipelineIngestionDefinitionTableConfigurationPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinition) *PipelineIngestionDefinitionTableConfiguration { +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { if v == nil { return nil } - return v.TableConfiguration - }).(PipelineIngestionDefinitionTableConfigurationPtrOutput) + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) } -type PipelineIngestionDefinitionObject struct { - Report *PipelineIngestionDefinitionObjectReport `pulumi:"report"` - // The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. - Schema *PipelineIngestionDefinitionObjectSchema `pulumi:"schema"` - Table *PipelineIngestionDefinitionObjectTable `pulumi:"table"` +func (o OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusProvisioningStatusInitialPipelineSyncProgress) *int { + if v == nil { + return nil + } + return v.TotalRowCount + }).(pulumi.IntPtrOutput) } -// PipelineIngestionDefinitionObjectInput is an input type that accepts PipelineIngestionDefinitionObjectArgs and PipelineIngestionDefinitionObjectOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectInput` via: +type OnlineTableStatusTriggeredUpdateStatus struct { + LastProcessedCommitVersion *int `pulumi:"lastProcessedCommitVersion"` + Timestamp *string `pulumi:"timestamp"` + TriggeredUpdateProgress *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress `pulumi:"triggeredUpdateProgress"` +} + +// OnlineTableStatusTriggeredUpdateStatusInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusArgs and OnlineTableStatusTriggeredUpdateStatusOutput values. +// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusInput` via: // -// PipelineIngestionDefinitionObjectArgs{...} -type PipelineIngestionDefinitionObjectInput interface { +// OnlineTableStatusTriggeredUpdateStatusArgs{...} +type OnlineTableStatusTriggeredUpdateStatusInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectOutput() PipelineIngestionDefinitionObjectOutput - ToPipelineIngestionDefinitionObjectOutputWithContext(context.Context) PipelineIngestionDefinitionObjectOutput + ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput + ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusOutput } -type PipelineIngestionDefinitionObjectArgs struct { - Report PipelineIngestionDefinitionObjectReportPtrInput `pulumi:"report"` - // The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. - Schema PipelineIngestionDefinitionObjectSchemaPtrInput `pulumi:"schema"` - Table PipelineIngestionDefinitionObjectTablePtrInput `pulumi:"table"` +type OnlineTableStatusTriggeredUpdateStatusArgs struct { + LastProcessedCommitVersion pulumi.IntPtrInput `pulumi:"lastProcessedCommitVersion"` + Timestamp pulumi.StringPtrInput `pulumi:"timestamp"` + TriggeredUpdateProgress OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput `pulumi:"triggeredUpdateProgress"` } -func (PipelineIngestionDefinitionObjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObject)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectArgs) ToPipelineIngestionDefinitionObjectOutput() PipelineIngestionDefinitionObjectOutput { - return i.ToPipelineIngestionDefinitionObjectOutputWithContext(context.Background()) +func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectArgs) ToPipelineIngestionDefinitionObjectOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectOutput) +func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusOutput) } -// PipelineIngestionDefinitionObjectArrayInput is an input type that accepts PipelineIngestionDefinitionObjectArray and PipelineIngestionDefinitionObjectArrayOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectArrayInput` via: +func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) +} + +func (i OnlineTableStatusTriggeredUpdateStatusArgs) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusOutput).ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx) +} + +// OnlineTableStatusTriggeredUpdateStatusPtrInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusArgs, OnlineTableStatusTriggeredUpdateStatusPtr and OnlineTableStatusTriggeredUpdateStatusPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusPtrInput` via: // -// PipelineIngestionDefinitionObjectArray{ PipelineIngestionDefinitionObjectArgs{...} } -type PipelineIngestionDefinitionObjectArrayInput interface { +// OnlineTableStatusTriggeredUpdateStatusArgs{...} +// +// or: +// +// nil +type OnlineTableStatusTriggeredUpdateStatusPtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectArrayOutput() PipelineIngestionDefinitionObjectArrayOutput - ToPipelineIngestionDefinitionObjectArrayOutputWithContext(context.Context) PipelineIngestionDefinitionObjectArrayOutput + ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput + ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput } -type PipelineIngestionDefinitionObjectArray []PipelineIngestionDefinitionObjectInput +type onlineTableStatusTriggeredUpdateStatusPtrType OnlineTableStatusTriggeredUpdateStatusArgs -func (PipelineIngestionDefinitionObjectArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineIngestionDefinitionObject)(nil)).Elem() +func OnlineTableStatusTriggeredUpdateStatusPtr(v *OnlineTableStatusTriggeredUpdateStatusArgs) OnlineTableStatusTriggeredUpdateStatusPtrInput { + return (*onlineTableStatusTriggeredUpdateStatusPtrType)(v) } -func (i PipelineIngestionDefinitionObjectArray) ToPipelineIngestionDefinitionObjectArrayOutput() PipelineIngestionDefinitionObjectArrayOutput { - return i.ToPipelineIngestionDefinitionObjectArrayOutputWithContext(context.Background()) +func (*onlineTableStatusTriggeredUpdateStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectArray) ToPipelineIngestionDefinitionObjectArrayOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectArrayOutput) +func (i *onlineTableStatusTriggeredUpdateStatusPtrType) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) } -type PipelineIngestionDefinitionObjectOutput struct{ *pulumi.OutputState } +func (i *onlineTableStatusTriggeredUpdateStatusPtrType) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) +} -func (PipelineIngestionDefinitionObjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObject)(nil)).Elem() +type OnlineTableStatusTriggeredUpdateStatusOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusTriggeredUpdateStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectOutput) ToPipelineIngestionDefinitionObjectOutput() PipelineIngestionDefinitionObjectOutput { +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusOutput() OnlineTableStatusTriggeredUpdateStatusOutput { return o } -func (o PipelineIngestionDefinitionObjectOutput) ToPipelineIngestionDefinitionObjectOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectOutput { +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusOutput { return o } -func (o PipelineIngestionDefinitionObjectOutput) Report() PipelineIngestionDefinitionObjectReportPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObject) *PipelineIngestionDefinitionObjectReport { return v.Report }).(PipelineIngestionDefinitionObjectReportPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o.ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(context.Background()) +} + +func (o OnlineTableStatusTriggeredUpdateStatusOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatus { + return &v + }).(OnlineTableStatusTriggeredUpdateStatusPtrOutput) } -// The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. -func (o PipelineIngestionDefinitionObjectOutput) Schema() PipelineIngestionDefinitionObjectSchemaPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObject) *PipelineIngestionDefinitionObjectSchema { return v.Schema }).(PipelineIngestionDefinitionObjectSchemaPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *int { return v.LastProcessedCommitVersion }).(pulumi.IntPtrOutput) +} + +func (o OnlineTableStatusTriggeredUpdateStatusOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *string { return v.Timestamp }).(pulumi.StringPtrOutput) +} + +func (o OnlineTableStatusTriggeredUpdateStatusOutput) TriggeredUpdateProgress() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + return v.TriggeredUpdateProgress + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) +} + +type OnlineTableStatusTriggeredUpdateStatusPtrOutput struct{ *pulumi.OutputState } + +func (OnlineTableStatusTriggeredUpdateStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatus)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectOutput) Table() PipelineIngestionDefinitionObjectTablePtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObject) *PipelineIngestionDefinitionObjectTable { return v.Table }).(PipelineIngestionDefinitionObjectTablePtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutput() OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o } -type PipelineIngestionDefinitionObjectArrayOutput struct{ *pulumi.OutputState } +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusPtrOutput { + return o +} -func (PipelineIngestionDefinitionObjectArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineIngestionDefinitionObject)(nil)).Elem() +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) Elem() OnlineTableStatusTriggeredUpdateStatusOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) OnlineTableStatusTriggeredUpdateStatus { + if v != nil { + return *v + } + var ret OnlineTableStatusTriggeredUpdateStatus + return ret + }).(OnlineTableStatusTriggeredUpdateStatusOutput) } -func (o PipelineIngestionDefinitionObjectArrayOutput) ToPipelineIngestionDefinitionObjectArrayOutput() PipelineIngestionDefinitionObjectArrayOutput { - return o +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) LastProcessedCommitVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *int { + if v == nil { + return nil + } + return v.LastProcessedCommitVersion + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectArrayOutput) ToPipelineIngestionDefinitionObjectArrayOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectArrayOutput { - return o +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) Timestamp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *string { + if v == nil { + return nil + } + return v.Timestamp + }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectArrayOutput) Index(i pulumi.IntInput) PipelineIngestionDefinitionObjectOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineIngestionDefinitionObject { - return vs[0].([]PipelineIngestionDefinitionObject)[vs[1].(int)] - }).(PipelineIngestionDefinitionObjectOutput) +func (o OnlineTableStatusTriggeredUpdateStatusPtrOutput) TriggeredUpdateProgress() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatus) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { + if v == nil { + return nil + } + return v.TriggeredUpdateProgress + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -type PipelineIngestionDefinitionObjectReport struct { - DestinationCatalog *string `pulumi:"destinationCatalog"` - DestinationSchema *string `pulumi:"destinationSchema"` - DestinationTable *string `pulumi:"destinationTable"` - SourceUrl *string `pulumi:"sourceUrl"` - TableConfiguration *PipelineIngestionDefinitionObjectReportTableConfiguration `pulumi:"tableConfiguration"` +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress struct { + EstimatedCompletionTimeSeconds *float64 `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing *int `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion *float64 `pulumi:"syncProgressCompletion"` + SyncedRowCount *int `pulumi:"syncedRowCount"` + TotalRowCount *int `pulumi:"totalRowCount"` } -// PipelineIngestionDefinitionObjectReportInput is an input type that accepts PipelineIngestionDefinitionObjectReportArgs and PipelineIngestionDefinitionObjectReportOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportInput` via: +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs and OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput values. +// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput` via: // -// PipelineIngestionDefinitionObjectReportArgs{...} -type PipelineIngestionDefinitionObjectReportInput interface { +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{...} +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectReportOutput() PipelineIngestionDefinitionObjectReportOutput - ToPipelineIngestionDefinitionObjectReportOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput } -type PipelineIngestionDefinitionObjectReportArgs struct { - DestinationCatalog pulumi.StringPtrInput `pulumi:"destinationCatalog"` - DestinationSchema pulumi.StringPtrInput `pulumi:"destinationSchema"` - DestinationTable pulumi.StringPtrInput `pulumi:"destinationTable"` - SourceUrl pulumi.StringPtrInput `pulumi:"sourceUrl"` - TableConfiguration PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput `pulumi:"tableConfiguration"` +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs struct { + EstimatedCompletionTimeSeconds pulumi.Float64PtrInput `pulumi:"estimatedCompletionTimeSeconds"` + LatestVersionCurrentlyProcessing pulumi.IntPtrInput `pulumi:"latestVersionCurrentlyProcessing"` + SyncProgressCompletion pulumi.Float64PtrInput `pulumi:"syncProgressCompletion"` + SyncedRowCount pulumi.IntPtrInput `pulumi:"syncedRowCount"` + TotalRowCount pulumi.IntPtrInput `pulumi:"totalRowCount"` } -func (PipelineIngestionDefinitionObjectReportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectReport)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportOutput() PipelineIngestionDefinitionObjectReportOutput { - return i.ToPipelineIngestionDefinitionObjectReportOutputWithContext(context.Background()) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportOutput) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) } -func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { - return i.ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Background()) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportOutput).ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx) +func (i OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput).ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx) } -// PipelineIngestionDefinitionObjectReportPtrInput is an input type that accepts PipelineIngestionDefinitionObjectReportArgs, PipelineIngestionDefinitionObjectReportPtr and PipelineIngestionDefinitionObjectReportPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportPtrInput` via: +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput is an input type that accepts OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs, OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtr and OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput values. +// You can construct a concrete instance of `OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput` via: // -// PipelineIngestionDefinitionObjectReportArgs{...} +// OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs{...} // // or: // // nil -type PipelineIngestionDefinitionObjectReportPtrInput interface { +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput - ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportPtrOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput + ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput } -type pipelineIngestionDefinitionObjectReportPtrType PipelineIngestionDefinitionObjectReportArgs +type onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs -func PipelineIngestionDefinitionObjectReportPtr(v *PipelineIngestionDefinitionObjectReportArgs) PipelineIngestionDefinitionObjectReportPtrInput { - return (*pipelineIngestionDefinitionObjectReportPtrType)(v) +func OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtr(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrInput { + return (*onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType)(v) } -func (*pipelineIngestionDefinitionObjectReportPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectReport)(nil)).Elem() +func (*onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (i *pipelineIngestionDefinitionObjectReportPtrType) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { - return i.ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Background()) +func (i *onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return i.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionObjectReportPtrType) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportPtrOutput) +func (i *onlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrType) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -type PipelineIngestionDefinitionObjectReportOutput struct{ *pulumi.OutputState } +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectReportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectReport)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportOutput() PipelineIngestionDefinitionObjectReportOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { return o } -func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { return o } -func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { - return o.ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Background()) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(context.Background()) } -func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectReport) *PipelineIngestionDefinitionObjectReport { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { return &v - }).(PipelineIngestionDefinitionObjectReportPtrOutput) + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportOutput) DestinationCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.DestinationCatalog }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionObjectReportOutput) DestinationSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.DestinationSchema }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportOutput) DestinationTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.DestinationTable }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionObjectReportOutput) SourceUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.SourceUrl }).(pulumi.StringPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { return v.SyncedRowCount }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportOutput) TableConfiguration() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *PipelineIngestionDefinitionObjectReportTableConfiguration { - return v.TableConfiguration - }).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { return v.TotalRowCount }).(pulumi.IntPtrOutput) } -type PipelineIngestionDefinitionObjectReportPtrOutput struct{ *pulumi.OutputState } +type OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectReportPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectReport)(nil)).Elem() +func (OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { return o } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) ToOnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutputWithContext(ctx context.Context) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput { return o } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) Elem() PipelineIngestionDefinitionObjectReportOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) PipelineIngestionDefinitionObjectReport { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) Elem() OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress { if v != nil { return *v } - var ret PipelineIngestionDefinitionObjectReport + var ret OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress return ret - }).(PipelineIngestionDefinitionObjectReportOutput) + }).(OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressOutput) } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) DestinationCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) EstimatedCompletionTimeSeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { if v == nil { return nil } - return v.DestinationCatalog - }).(pulumi.StringPtrOutput) + return v.EstimatedCompletionTimeSeconds + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) DestinationSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) LatestVersionCurrentlyProcessing() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { if v == nil { return nil } - return v.DestinationSchema - }).(pulumi.StringPtrOutput) + return v.LatestVersionCurrentlyProcessing + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) DestinationTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) SyncProgressCompletion() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *float64 { if v == nil { return nil } - return v.DestinationTable - }).(pulumi.StringPtrOutput) + return v.SyncProgressCompletion + }).(pulumi.Float64PtrOutput) } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) SourceUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) SyncedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { if v == nil { return nil } - return v.SourceUrl - }).(pulumi.StringPtrOutput) + return v.SyncedRowCount + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportPtrOutput) TableConfiguration() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *PipelineIngestionDefinitionObjectReportTableConfiguration { +func (o OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressPtrOutput) TotalRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgress) *int { if v == nil { return nil } - return v.TableConfiguration - }).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) + return v.TotalRowCount + }).(pulumi.IntPtrOutput) } -type PipelineIngestionDefinitionObjectReportTableConfiguration struct { - PrimaryKeys []string `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` - ScdType *string `pulumi:"scdType"` - SequenceBies []string `pulumi:"sequenceBies"` +type PermissionsAccessControl struct { + // name of the group. We recommend setting permissions on groups. + GroupName *string `pulumi:"groupName"` + // permission level according to specific resource. See examples above for the reference. + // + // Exactly one of the below arguments is required: + PermissionLevel *string `pulumi:"permissionLevel"` + // Application ID of the service_principal. + ServicePrincipalName *string `pulumi:"servicePrincipalName"` + // name of the user. + UserName *string `pulumi:"userName"` } -// PipelineIngestionDefinitionObjectReportTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionObjectReportTableConfigurationArgs and PipelineIngestionDefinitionObjectReportTableConfigurationOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportTableConfigurationInput` via: +// PermissionsAccessControlInput is an input type that accepts PermissionsAccessControlArgs and PermissionsAccessControlOutput values. +// You can construct a concrete instance of `PermissionsAccessControlInput` via: // -// PipelineIngestionDefinitionObjectReportTableConfigurationArgs{...} -type PipelineIngestionDefinitionObjectReportTableConfigurationInput interface { +// PermissionsAccessControlArgs{...} +type PermissionsAccessControlInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectReportTableConfigurationOutput() PipelineIngestionDefinitionObjectReportTableConfigurationOutput - ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationOutput -} - -type PipelineIngestionDefinitionObjectReportTableConfigurationArgs struct { - PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` - ScdType pulumi.StringPtrInput `pulumi:"scdType"` - SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` -} - -func (PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() + ToPermissionsAccessControlOutput() PermissionsAccessControlOutput + ToPermissionsAccessControlOutputWithContext(context.Context) PermissionsAccessControlOutput } -func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutput() PipelineIngestionDefinitionObjectReportTableConfigurationOutput { - return i.ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(context.Background()) +type PermissionsAccessControlArgs struct { + // name of the group. We recommend setting permissions on groups. + GroupName pulumi.StringPtrInput `pulumi:"groupName"` + // permission level according to specific resource. See examples above for the reference. + // + // Exactly one of the below arguments is required: + PermissionLevel pulumi.StringPtrInput `pulumi:"permissionLevel"` + // Application ID of the service_principal. + ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` + // name of the user. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportTableConfigurationOutput) +func (PermissionsAccessControlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Background()) +func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { + return i.ToPermissionsAccessControlOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportTableConfigurationOutput).ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx) +func (i PermissionsAccessControlArgs) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { + return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlOutput) } -// PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionObjectReportTableConfigurationArgs, PipelineIngestionDefinitionObjectReportTableConfigurationPtr and PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput` via: -// -// PipelineIngestionDefinitionObjectReportTableConfigurationArgs{...} -// -// or: +// PermissionsAccessControlArrayInput is an input type that accepts PermissionsAccessControlArray and PermissionsAccessControlArrayOutput values. +// You can construct a concrete instance of `PermissionsAccessControlArrayInput` via: // -// nil -type PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput interface { +// PermissionsAccessControlArray{ PermissionsAccessControlArgs{...} } +type PermissionsAccessControlArrayInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput - ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput + ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput + ToPermissionsAccessControlArrayOutputWithContext(context.Context) PermissionsAccessControlArrayOutput } -type pipelineIngestionDefinitionObjectReportTableConfigurationPtrType PipelineIngestionDefinitionObjectReportTableConfigurationArgs - -func PipelineIngestionDefinitionObjectReportTableConfigurationPtr(v *PipelineIngestionDefinitionObjectReportTableConfigurationArgs) PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput { - return (*pipelineIngestionDefinitionObjectReportTableConfigurationPtrType)(v) -} +type PermissionsAccessControlArray []PermissionsAccessControlInput -func (*pipelineIngestionDefinitionObjectReportTableConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() +func (PermissionsAccessControlArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() } -func (i *pipelineIngestionDefinitionObjectReportTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Background()) +func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { + return i.ToPermissionsAccessControlArrayOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionObjectReportTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) +func (i PermissionsAccessControlArray) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PermissionsAccessControlArrayOutput) } -type PipelineIngestionDefinitionObjectReportTableConfigurationOutput struct{ *pulumi.OutputState } +type PermissionsAccessControlOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() +func (PermissionsAccessControlOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PermissionsAccessControl)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutput() PipelineIngestionDefinitionObjectReportTableConfigurationOutput { +func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutput() PermissionsAccessControlOutput { return o } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationOutput { +func (o PermissionsAccessControlOutput) ToPermissionsAccessControlOutputWithContext(ctx context.Context) PermissionsAccessControlOutput { return o } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return o.ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Background()) -} - -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectReportTableConfiguration) *PipelineIngestionDefinitionObjectReportTableConfiguration { - return &v - }).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) -} - -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) +// name of the group. We recommend setting permissions on groups. +func (o PermissionsAccessControlOutput) GroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PermissionsAccessControl) *string { return v.GroupName }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) *bool { - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) +// permission level according to specific resource. See examples above for the reference. +// +// Exactly one of the below arguments is required: +func (o PermissionsAccessControlOutput) PermissionLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PermissionsAccessControl) *string { return v.PermissionLevel }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) +// Application ID of the service_principal. +func (o PermissionsAccessControlOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PermissionsAccessControl) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) +// name of the user. +func (o PermissionsAccessControlOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PermissionsAccessControl) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput struct{ *pulumi.OutputState } +type PermissionsAccessControlArrayOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() +func (PermissionsAccessControlArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PermissionsAccessControl)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { +func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutput() PermissionsAccessControlArrayOutput { return o } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { +func (o PermissionsAccessControlArrayOutput) ToPermissionsAccessControlArrayOutputWithContext(ctx context.Context) PermissionsAccessControlArrayOutput { return o } -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionObjectReportTableConfigurationOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) PipelineIngestionDefinitionObjectReportTableConfiguration { - if v != nil { - return *v - } - var ret PipelineIngestionDefinitionObjectReportTableConfiguration - return ret - }).(PipelineIngestionDefinitionObjectReportTableConfigurationOutput) -} - -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) []string { - if v == nil { - return nil - } - return v.PrimaryKeys - }).(pulumi.StringArrayOutput) -} - -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) *bool { - if v == nil { - return nil - } - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) -} - -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) *string { - if v == nil { - return nil - } - return v.ScdType - }).(pulumi.StringPtrOutput) -} - -func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) []string { - if v == nil { - return nil - } - return v.SequenceBies - }).(pulumi.StringArrayOutput) +func (o PermissionsAccessControlArrayOutput) Index(i pulumi.IntInput) PermissionsAccessControlOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PermissionsAccessControl { + return vs[0].([]PermissionsAccessControl)[vs[1].(int)] + }).(PermissionsAccessControlOutput) } -type PipelineIngestionDefinitionObjectSchema struct { - DestinationCatalog *string `pulumi:"destinationCatalog"` - DestinationSchema *string `pulumi:"destinationSchema"` - SourceCatalog *string `pulumi:"sourceCatalog"` - SourceSchema *string `pulumi:"sourceSchema"` - TableConfiguration *PipelineIngestionDefinitionObjectSchemaTableConfiguration `pulumi:"tableConfiguration"` +type PipelineCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *PipelineClusterAutoscale `pulumi:"autoscale"` + AwsAttributes *PipelineClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *PipelineClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterLogConf *PipelineClusterClusterLogConf `pulumi:"clusterLogConf"` + CustomTags map[string]string `pulumi:"customTags"` + DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` + EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *PipelineClusterGcpAttributes `pulumi:"gcpAttributes"` + InitScripts []PipelineClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + Label *string `pulumi:"label"` + NodeTypeId *string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` } -// PipelineIngestionDefinitionObjectSchemaInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaArgs and PipelineIngestionDefinitionObjectSchemaOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaInput` via: +// PipelineClusterInput is an input type that accepts PipelineClusterArgs and PipelineClusterOutput values. +// You can construct a concrete instance of `PipelineClusterInput` via: // -// PipelineIngestionDefinitionObjectSchemaArgs{...} -type PipelineIngestionDefinitionObjectSchemaInput interface { +// PipelineClusterArgs{...} +type PipelineClusterInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectSchemaOutput() PipelineIngestionDefinitionObjectSchemaOutput - ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaOutput + ToPipelineClusterOutput() PipelineClusterOutput + ToPipelineClusterOutputWithContext(context.Context) PipelineClusterOutput } -type PipelineIngestionDefinitionObjectSchemaArgs struct { - DestinationCatalog pulumi.StringPtrInput `pulumi:"destinationCatalog"` - DestinationSchema pulumi.StringPtrInput `pulumi:"destinationSchema"` - SourceCatalog pulumi.StringPtrInput `pulumi:"sourceCatalog"` - SourceSchema pulumi.StringPtrInput `pulumi:"sourceSchema"` - TableConfiguration PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput `pulumi:"tableConfiguration"` +type PipelineClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale PipelineClusterAutoscalePtrInput `pulumi:"autoscale"` + AwsAttributes PipelineClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes PipelineClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterLogConf PipelineClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` + EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes PipelineClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + InitScripts PipelineClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + Label pulumi.StringPtrInput `pulumi:"label"` + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` +} + +func (PipelineClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineCluster)(nil)).Elem() } -func (PipelineIngestionDefinitionObjectSchemaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchema)(nil)).Elem() +func (i PipelineClusterArgs) ToPipelineClusterOutput() PipelineClusterOutput { + return i.ToPipelineClusterOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaOutput() PipelineIngestionDefinitionObjectSchemaOutput { - return i.ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(context.Background()) +func (i PipelineClusterArgs) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterOutput) } -func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaOutput) -} +// PipelineClusterArrayInput is an input type that accepts PipelineClusterArray and PipelineClusterArrayOutput values. +// You can construct a concrete instance of `PipelineClusterArrayInput` via: +// +// PipelineClusterArray{ PipelineClusterArgs{...} } +type PipelineClusterArrayInput interface { + pulumi.Input -func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { - return i.ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Background()) + ToPipelineClusterArrayOutput() PipelineClusterArrayOutput + ToPipelineClusterArrayOutputWithContext(context.Context) PipelineClusterArrayOutput } -func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaOutput).ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx) +type PipelineClusterArray []PipelineClusterInput + +func (PipelineClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() } -// PipelineIngestionDefinitionObjectSchemaPtrInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaArgs, PipelineIngestionDefinitionObjectSchemaPtr and PipelineIngestionDefinitionObjectSchemaPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaPtrInput` via: -// -// PipelineIngestionDefinitionObjectSchemaArgs{...} -// -// or: -// -// nil -type PipelineIngestionDefinitionObjectSchemaPtrInput interface { - pulumi.Input +func (i PipelineClusterArray) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { + return i.ToPipelineClusterArrayOutputWithContext(context.Background()) +} - ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput - ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput +func (i PipelineClusterArray) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterArrayOutput) } -type pipelineIngestionDefinitionObjectSchemaPtrType PipelineIngestionDefinitionObjectSchemaArgs +type PipelineClusterOutput struct{ *pulumi.OutputState } -func PipelineIngestionDefinitionObjectSchemaPtr(v *PipelineIngestionDefinitionObjectSchemaArgs) PipelineIngestionDefinitionObjectSchemaPtrInput { - return (*pipelineIngestionDefinitionObjectSchemaPtrType)(v) +func (PipelineClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineCluster)(nil)).Elem() } -func (*pipelineIngestionDefinitionObjectSchemaPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchema)(nil)).Elem() +func (o PipelineClusterOutput) ToPipelineClusterOutput() PipelineClusterOutput { + return o } -func (i *pipelineIngestionDefinitionObjectSchemaPtrType) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { - return i.ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Background()) +func (o PipelineClusterOutput) ToPipelineClusterOutputWithContext(ctx context.Context) PipelineClusterOutput { + return o } -func (i *pipelineIngestionDefinitionObjectSchemaPtrType) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaPtrOutput) +func (o PipelineClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -type PipelineIngestionDefinitionObjectSchemaOutput struct{ *pulumi.OutputState } +func (o PipelineClusterOutput) Autoscale() PipelineClusterAutoscalePtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterAutoscale { return v.Autoscale }).(PipelineClusterAutoscalePtrOutput) +} -func (PipelineIngestionDefinitionObjectSchemaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchema)(nil)).Elem() +func (o PipelineClusterOutput) AwsAttributes() PipelineClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterAwsAttributes { return v.AwsAttributes }).(PipelineClusterAwsAttributesPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaOutput() PipelineIngestionDefinitionObjectSchemaOutput { - return o +func (o PipelineClusterOutput) AzureAttributes() PipelineClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterAzureAttributes { return v.AzureAttributes }).(PipelineClusterAzureAttributesPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaOutput { - return o +func (o PipelineClusterOutput) ClusterLogConf() PipelineClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterClusterLogConf { return v.ClusterLogConf }).(PipelineClusterClusterLogConfPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { - return o.ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Background()) +func (o PipelineClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v PipelineCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectSchema) *PipelineIngestionDefinitionObjectSchema { - return &v - }).(PipelineIngestionDefinitionObjectSchemaPtrOutput) +func (o PipelineClusterOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) DestinationCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.DestinationCatalog }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) DestinationSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.DestinationSchema }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineCluster) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) SourceCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.SourceCatalog }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) GcpAttributes() PipelineClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v PipelineCluster) *PipelineClusterGcpAttributes { return v.GcpAttributes }).(PipelineClusterGcpAttributesPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) SourceSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.SourceSchema }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) InitScripts() PipelineClusterInitScriptArrayOutput { + return o.ApplyT(func(v PipelineCluster) []PipelineClusterInitScript { return v.InitScripts }).(PipelineClusterInitScriptArrayOutput) } -func (o PipelineIngestionDefinitionObjectSchemaOutput) TableConfiguration() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *PipelineIngestionDefinitionObjectSchemaTableConfiguration { - return v.TableConfiguration - }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) +func (o PipelineClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -type PipelineIngestionDefinitionObjectSchemaPtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (PipelineIngestionDefinitionObjectSchemaPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchema)(nil)).Elem() +func (o PipelineClusterOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { - return o +func (o PipelineClusterOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineCluster) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { - return o +func (o PipelineClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) Elem() PipelineIngestionDefinitionObjectSchemaOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) PipelineIngestionDefinitionObjectSchema { - if v != nil { - return *v - } - var ret PipelineIngestionDefinitionObjectSchema - return ret - }).(PipelineIngestionDefinitionObjectSchemaOutput) +func (o PipelineClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v PipelineCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) DestinationCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { - if v == nil { - return nil - } - return v.DestinationCatalog - }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v PipelineCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) DestinationSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { - if v == nil { - return nil - } - return v.DestinationSchema - }).(pulumi.StringPtrOutput) +func (o PipelineClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) SourceCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { - if v == nil { - return nil - } - return v.SourceCatalog - }).(pulumi.StringPtrOutput) +type PipelineClusterArrayOutput struct{ *pulumi.OutputState } + +func (PipelineClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineCluster)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) SourceSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { - if v == nil { - return nil - } - return v.SourceSchema - }).(pulumi.StringPtrOutput) +func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutput() PipelineClusterArrayOutput { + return o } -func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) TableConfiguration() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *PipelineIngestionDefinitionObjectSchemaTableConfiguration { - if v == nil { - return nil - } - return v.TableConfiguration - }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) +func (o PipelineClusterArrayOutput) ToPipelineClusterArrayOutputWithContext(ctx context.Context) PipelineClusterArrayOutput { + return o } -type PipelineIngestionDefinitionObjectSchemaTableConfiguration struct { - PrimaryKeys []string `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` - ScdType *string `pulumi:"scdType"` - SequenceBies []string `pulumi:"sequenceBies"` +func (o PipelineClusterArrayOutput) Index(i pulumi.IntInput) PipelineClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineCluster { + return vs[0].([]PipelineCluster)[vs[1].(int)] + }).(PipelineClusterOutput) } -// PipelineIngestionDefinitionObjectSchemaTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs and PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaTableConfigurationInput` via: +type PipelineClusterAutoscale struct { + MaxWorkers int `pulumi:"maxWorkers"` + MinWorkers int `pulumi:"minWorkers"` + Mode *string `pulumi:"mode"` +} + +// PipelineClusterAutoscaleInput is an input type that accepts PipelineClusterAutoscaleArgs and PipelineClusterAutoscaleOutput values. +// You can construct a concrete instance of `PipelineClusterAutoscaleInput` via: // -// PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs{...} -type PipelineIngestionDefinitionObjectSchemaTableConfigurationInput interface { +// PipelineClusterAutoscaleArgs{...} +type PipelineClusterAutoscaleInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput - ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput + ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput + ToPipelineClusterAutoscaleOutputWithContext(context.Context) PipelineClusterAutoscaleOutput } -type PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs struct { - PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` - ScdType pulumi.StringPtrInput `pulumi:"scdType"` - SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` +type PipelineClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntInput `pulumi:"minWorkers"` + Mode pulumi.StringPtrInput `pulumi:"mode"` } -func (PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() +func (PipelineClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { - return i.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(context.Background()) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { + return i.ToPipelineClusterAutoscaleOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput) } -func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Background()) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput).ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx) +func (i PipelineClusterAutoscaleArgs) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscaleOutput).ToPipelineClusterAutoscalePtrOutputWithContext(ctx) } -// PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs, PipelineIngestionDefinitionObjectSchemaTableConfigurationPtr and PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput` via: +// PipelineClusterAutoscalePtrInput is an input type that accepts PipelineClusterAutoscaleArgs, PipelineClusterAutoscalePtr and PipelineClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `PipelineClusterAutoscalePtrInput` via: // -// PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs{...} +// PipelineClusterAutoscaleArgs{...} // // or: // // nil -type PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput interface { +type PipelineClusterAutoscalePtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput - ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput + ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput + ToPipelineClusterAutoscalePtrOutputWithContext(context.Context) PipelineClusterAutoscalePtrOutput } -type pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs +type pipelineClusterAutoscalePtrType PipelineClusterAutoscaleArgs -func PipelineIngestionDefinitionObjectSchemaTableConfigurationPtr(v *PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput { - return (*pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType)(v) +func PipelineClusterAutoscalePtr(v *PipelineClusterAutoscaleArgs) PipelineClusterAutoscalePtrInput { + return (*pipelineClusterAutoscalePtrType)(v) } -func (*pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() +func (*pipelineClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() } -func (i *pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Background()) +func (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return i.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) +func (i *pipelineClusterAutoscalePtrType) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAutoscalePtrOutput) } -type PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput struct{ *pulumi.OutputState } +type PipelineClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() +func (PipelineClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAutoscale)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { +func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutput() PipelineClusterAutoscaleOutput { return o } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { +func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscaleOutputWithContext(ctx context.Context) PipelineClusterAutoscaleOutput { return o } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return o.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Background()) +func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { + return o.ToPipelineClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectSchemaTableConfiguration) *PipelineIngestionDefinitionObjectSchemaTableConfiguration { +func (o PipelineClusterAutoscaleOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAutoscale) *PipelineClusterAutoscale { return &v - }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) -} - -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) + }).(PipelineClusterAutoscalePtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) *bool { - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) +func (o PipelineClusterAutoscaleOutput) MaxWorkers() pulumi.IntOutput { + return o.ApplyT(func(v PipelineClusterAutoscale) int { return v.MaxWorkers }).(pulumi.IntOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) +func (o PipelineClusterAutoscaleOutput) MinWorkers() pulumi.IntOutput { + return o.ApplyT(func(v PipelineClusterAutoscale) int { return v.MinWorkers }).(pulumi.IntOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) +func (o PipelineClusterAutoscaleOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAutoscale) *string { return v.Mode }).(pulumi.StringPtrOutput) } -type PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() +func (PipelineClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAutoscale)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { +func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutput() PipelineClusterAutoscalePtrOutput { return o } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { +func (o PipelineClusterAutoscalePtrOutput) ToPipelineClusterAutoscalePtrOutputWithContext(ctx context.Context) PipelineClusterAutoscalePtrOutput { return o } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) PipelineIngestionDefinitionObjectSchemaTableConfiguration { +func (o PipelineClusterAutoscalePtrOutput) Elem() PipelineClusterAutoscaleOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) PipelineClusterAutoscale { if v != nil { return *v } - var ret PipelineIngestionDefinitionObjectSchemaTableConfiguration + var ret PipelineClusterAutoscale return ret - }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) + }).(PipelineClusterAutoscaleOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { +func (o PipelineClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) *int { if v == nil { return nil } - return v.PrimaryKeys - }).(pulumi.StringArrayOutput) + return &v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) *bool { +func (o PipelineClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) *int { if v == nil { return nil } - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) + return &v.MinWorkers + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) *string { +func (o PipelineClusterAutoscalePtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAutoscale) *string { if v == nil { return nil } - return v.ScdType + return v.Mode }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { - if v == nil { - return nil - } - return v.SequenceBies - }).(pulumi.StringArrayOutput) -} - -type PipelineIngestionDefinitionObjectTable struct { - DestinationCatalog *string `pulumi:"destinationCatalog"` - DestinationSchema *string `pulumi:"destinationSchema"` - DestinationTable *string `pulumi:"destinationTable"` - SourceCatalog *string `pulumi:"sourceCatalog"` - SourceSchema *string `pulumi:"sourceSchema"` - SourceTable *string `pulumi:"sourceTable"` - TableConfiguration *PipelineIngestionDefinitionObjectTableTableConfiguration `pulumi:"tableConfiguration"` +type PipelineClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// PipelineIngestionDefinitionObjectTableInput is an input type that accepts PipelineIngestionDefinitionObjectTableArgs and PipelineIngestionDefinitionObjectTableOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTableInput` via: +// PipelineClusterAwsAttributesInput is an input type that accepts PipelineClusterAwsAttributesArgs and PipelineClusterAwsAttributesOutput values. +// You can construct a concrete instance of `PipelineClusterAwsAttributesInput` via: // -// PipelineIngestionDefinitionObjectTableArgs{...} -type PipelineIngestionDefinitionObjectTableInput interface { +// PipelineClusterAwsAttributesArgs{...} +type PipelineClusterAwsAttributesInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectTableOutput() PipelineIngestionDefinitionObjectTableOutput - ToPipelineIngestionDefinitionObjectTableOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTableOutput + ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput + ToPipelineClusterAwsAttributesOutputWithContext(context.Context) PipelineClusterAwsAttributesOutput } -type PipelineIngestionDefinitionObjectTableArgs struct { - DestinationCatalog pulumi.StringPtrInput `pulumi:"destinationCatalog"` - DestinationSchema pulumi.StringPtrInput `pulumi:"destinationSchema"` - DestinationTable pulumi.StringPtrInput `pulumi:"destinationTable"` - SourceCatalog pulumi.StringPtrInput `pulumi:"sourceCatalog"` - SourceSchema pulumi.StringPtrInput `pulumi:"sourceSchema"` - SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` - TableConfiguration PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput `pulumi:"tableConfiguration"` +type PipelineClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (PipelineIngestionDefinitionObjectTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectTable)(nil)).Elem() +func (PipelineClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTableOutput() PipelineIngestionDefinitionObjectTableOutput { - return i.ToPipelineIngestionDefinitionObjectTableOutputWithContext(context.Background()) +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { + return i.ToPipelineClusterAwsAttributesOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTableOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableOutput) +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput) } -func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { - return i.ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Background()) +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { + return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableOutput).ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx) +func (i PipelineClusterAwsAttributesArgs) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesOutput).ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx) } -// PipelineIngestionDefinitionObjectTablePtrInput is an input type that accepts PipelineIngestionDefinitionObjectTableArgs, PipelineIngestionDefinitionObjectTablePtr and PipelineIngestionDefinitionObjectTablePtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTablePtrInput` via: +// PipelineClusterAwsAttributesPtrInput is an input type that accepts PipelineClusterAwsAttributesArgs, PipelineClusterAwsAttributesPtr and PipelineClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterAwsAttributesPtrInput` via: // -// PipelineIngestionDefinitionObjectTableArgs{...} +// PipelineClusterAwsAttributesArgs{...} // // or: // // nil -type PipelineIngestionDefinitionObjectTablePtrInput interface { +type PipelineClusterAwsAttributesPtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput - ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTablePtrOutput + ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput + ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Context) PipelineClusterAwsAttributesPtrOutput } -type pipelineIngestionDefinitionObjectTablePtrType PipelineIngestionDefinitionObjectTableArgs +type pipelineClusterAwsAttributesPtrType PipelineClusterAwsAttributesArgs -func PipelineIngestionDefinitionObjectTablePtr(v *PipelineIngestionDefinitionObjectTableArgs) PipelineIngestionDefinitionObjectTablePtrInput { - return (*pipelineIngestionDefinitionObjectTablePtrType)(v) +func PipelineClusterAwsAttributesPtr(v *PipelineClusterAwsAttributesArgs) PipelineClusterAwsAttributesPtrInput { + return (*pipelineClusterAwsAttributesPtrType)(v) } -func (*pipelineIngestionDefinitionObjectTablePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectTable)(nil)).Elem() +func (*pipelineClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() } -func (i *pipelineIngestionDefinitionObjectTablePtrType) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { - return i.ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Background()) +func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { + return i.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionObjectTablePtrType) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTablePtrOutput) +func (i *pipelineClusterAwsAttributesPtrType) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAwsAttributesPtrOutput) } -type PipelineIngestionDefinitionObjectTableOutput struct{ *pulumi.OutputState } +type PipelineClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectTable)(nil)).Elem() +func (PipelineClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAwsAttributes)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTableOutput() PipelineIngestionDefinitionObjectTableOutput { +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutput() PipelineClusterAwsAttributesOutput { return o } -func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTableOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableOutput { +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesOutput { return o } -func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { - return o.ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Background()) +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { + return o.ToPipelineClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectTable) *PipelineIngestionDefinitionObjectTable { +func (o PipelineClusterAwsAttributesOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAwsAttributes) *PipelineClusterAwsAttributes { return &v - }).(PipelineIngestionDefinitionObjectTablePtrOutput) + }).(PipelineClusterAwsAttributesPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) DestinationCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.DestinationCatalog }).(pulumi.StringPtrOutput) +func (o PipelineClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) DestinationSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.DestinationSchema }).(pulumi.StringPtrOutput) +func (o PipelineClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) DestinationTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.DestinationTable }).(pulumi.StringPtrOutput) +func (o PipelineClusterAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) SourceCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.SourceCatalog }).(pulumi.StringPtrOutput) +func (o PipelineClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) SourceSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.SourceSchema }).(pulumi.StringPtrOutput) +func (o PipelineClusterAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) SourceTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.SourceTable }).(pulumi.StringPtrOutput) +func (o PipelineClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} + +func (o PipelineClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableOutput) TableConfiguration() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *PipelineIngestionDefinitionObjectTableTableConfiguration { - return v.TableConfiguration - }).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) +func (o PipelineClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type PipelineIngestionDefinitionObjectTablePtrOutput struct{ *pulumi.OutputState } +type PipelineClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectTablePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectTable)(nil)).Elem() +func (PipelineClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAwsAttributes)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { +func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutput() PipelineClusterAwsAttributesPtrOutput { return o } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { +func (o PipelineClusterAwsAttributesPtrOutput) ToPipelineClusterAwsAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAwsAttributesPtrOutput { return o } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) Elem() PipelineIngestionDefinitionObjectTableOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) PipelineIngestionDefinitionObjectTable { +func (o PipelineClusterAwsAttributesPtrOutput) Elem() PipelineClusterAwsAttributesOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) PipelineClusterAwsAttributes { if v != nil { return *v } - var ret PipelineIngestionDefinitionObjectTable + var ret PipelineClusterAwsAttributes return ret - }).(PipelineIngestionDefinitionObjectTableOutput) + }).(PipelineClusterAwsAttributesOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) DestinationCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { +func (o PipelineClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { if v == nil { return nil } - return v.DestinationCatalog + return v.Availability }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) DestinationSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { if v == nil { return nil } - return v.DestinationSchema - }).(pulumi.StringPtrOutput) + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) DestinationTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { if v == nil { return nil } - return v.DestinationTable - }).(pulumi.StringPtrOutput) + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) SourceCatalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { if v == nil { return nil } - return v.SourceCatalog - }).(pulumi.StringPtrOutput) + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) SourceSchema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { if v == nil { return nil } - return v.SourceSchema + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) +} + +func (o PipelineClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) SourceTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { +func (o PipelineClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { if v == nil { return nil } - return v.SourceTable + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o PipelineClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectTablePtrOutput) TableConfiguration() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *PipelineIngestionDefinitionObjectTableTableConfiguration { +func (o PipelineClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *int { if v == nil { return nil } - return v.TableConfiguration - }).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -type PipelineIngestionDefinitionObjectTableTableConfiguration struct { - PrimaryKeys []string `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` - ScdType *string `pulumi:"scdType"` - SequenceBies []string `pulumi:"sequenceBies"` +func (o PipelineClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -// PipelineIngestionDefinitionObjectTableTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionObjectTableTableConfigurationArgs and PipelineIngestionDefinitionObjectTableTableConfigurationOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTableTableConfigurationInput` via: +type PipelineClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *PipelineClusterAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// PipelineClusterAzureAttributesInput is an input type that accepts PipelineClusterAzureAttributesArgs and PipelineClusterAzureAttributesOutput values. +// You can construct a concrete instance of `PipelineClusterAzureAttributesInput` via: // -// PipelineIngestionDefinitionObjectTableTableConfigurationArgs{...} -type PipelineIngestionDefinitionObjectTableTableConfigurationInput interface { +// PipelineClusterAzureAttributesArgs{...} +type PipelineClusterAzureAttributesInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectTableTableConfigurationOutput() PipelineIngestionDefinitionObjectTableTableConfigurationOutput - ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationOutput + ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput + ToPipelineClusterAzureAttributesOutputWithContext(context.Context) PipelineClusterAzureAttributesOutput } -type PipelineIngestionDefinitionObjectTableTableConfigurationArgs struct { - PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` - ScdType pulumi.StringPtrInput `pulumi:"scdType"` - SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` +type PipelineClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() +func (PipelineClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() } -func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutput() PipelineIngestionDefinitionObjectTableTableConfigurationOutput { - return i.ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(context.Background()) +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { + return i.ToPipelineClusterAzureAttributesOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableTableConfigurationOutput) +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput) } -func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Background()) +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { + return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableTableConfigurationOutput).ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx) +func (i PipelineClusterAzureAttributesArgs) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesOutput).ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx) } -// PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionObjectTableTableConfigurationArgs, PipelineIngestionDefinitionObjectTableTableConfigurationPtr and PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput` via: +// PipelineClusterAzureAttributesPtrInput is an input type that accepts PipelineClusterAzureAttributesArgs, PipelineClusterAzureAttributesPtr and PipelineClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterAzureAttributesPtrInput` via: // -// PipelineIngestionDefinitionObjectTableTableConfigurationArgs{...} +// PipelineClusterAzureAttributesArgs{...} // // or: // // nil -type PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput interface { +type PipelineClusterAzureAttributesPtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput - ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput + ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput + ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Context) PipelineClusterAzureAttributesPtrOutput } -type pipelineIngestionDefinitionObjectTableTableConfigurationPtrType PipelineIngestionDefinitionObjectTableTableConfigurationArgs +type pipelineClusterAzureAttributesPtrType PipelineClusterAzureAttributesArgs -func PipelineIngestionDefinitionObjectTableTableConfigurationPtr(v *PipelineIngestionDefinitionObjectTableTableConfigurationArgs) PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput { - return (*pipelineIngestionDefinitionObjectTableTableConfigurationPtrType)(v) +func PipelineClusterAzureAttributesPtr(v *PipelineClusterAzureAttributesArgs) PipelineClusterAzureAttributesPtrInput { + return (*pipelineClusterAzureAttributesPtrType)(v) } -func (*pipelineIngestionDefinitionObjectTableTableConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() +func (*pipelineClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() } -func (i *pipelineIngestionDefinitionObjectTableTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Background()) +func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { + return i.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionObjectTableTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) +func (i *pipelineClusterAzureAttributesPtrType) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesPtrOutput) } -type PipelineIngestionDefinitionObjectTableTableConfigurationOutput struct{ *pulumi.OutputState } +type PipelineClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() +func (PipelineClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAzureAttributes)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutput() PipelineIngestionDefinitionObjectTableTableConfigurationOutput { +func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutput() PipelineClusterAzureAttributesOutput { return o } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationOutput { +func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesOutput { return o } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return o.ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Background()) +func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { + return o.ToPipelineClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectTableTableConfiguration) *PipelineIngestionDefinitionObjectTableTableConfiguration { +func (o PipelineClusterAzureAttributesOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAzureAttributes) *PipelineClusterAzureAttributes { return &v - }).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) + }).(PipelineClusterAzureAttributesPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) +func (o PipelineClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) *bool { - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) +func (o PipelineClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) +func (o PipelineClusterAzureAttributesOutput) LogAnalyticsInfo() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *PipelineClusterAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) +func (o PipelineClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() +func (PipelineClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAzureAttributes)(nil)).Elem() } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { +func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutput() PipelineClusterAzureAttributesPtrOutput { return o } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { +func (o PipelineClusterAzureAttributesPtrOutput) ToPipelineClusterAzureAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesPtrOutput { return o } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionObjectTableTableConfigurationOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) PipelineIngestionDefinitionObjectTableTableConfiguration { +func (o PipelineClusterAzureAttributesPtrOutput) Elem() PipelineClusterAzureAttributesOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) PipelineClusterAzureAttributes { if v != nil { return *v } - var ret PipelineIngestionDefinitionObjectTableTableConfiguration + var ret PipelineClusterAzureAttributes return ret - }).(PipelineIngestionDefinitionObjectTableTableConfigurationOutput) + }).(PipelineClusterAzureAttributesOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) []string { +func (o PipelineClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *string { if v == nil { return nil } - return v.PrimaryKeys - }).(pulumi.StringArrayOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) *bool { +func (o PipelineClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *int { if v == nil { return nil } - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) *string { +func (o PipelineClusterAzureAttributesPtrOutput) LogAnalyticsInfo() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *PipelineClusterAzureAttributesLogAnalyticsInfo { if v == nil { return nil } - return v.ScdType - }).(pulumi.StringPtrOutput) + return v.LogAnalyticsInfo + }).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) []string { +func (o PipelineClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.SequenceBies - }).(pulumi.StringArrayOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type PipelineIngestionDefinitionTableConfiguration struct { - PrimaryKeys []string `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` - ScdType *string `pulumi:"scdType"` - SequenceBies []string `pulumi:"sequenceBies"` +type PipelineClusterAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` } -// PipelineIngestionDefinitionTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionTableConfigurationArgs and PipelineIngestionDefinitionTableConfigurationOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionTableConfigurationInput` via: +// PipelineClusterAzureAttributesLogAnalyticsInfoInput is an input type that accepts PipelineClusterAzureAttributesLogAnalyticsInfoArgs and PipelineClusterAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `PipelineClusterAzureAttributesLogAnalyticsInfoInput` via: // -// PipelineIngestionDefinitionTableConfigurationArgs{...} -type PipelineIngestionDefinitionTableConfigurationInput interface { +// PipelineClusterAzureAttributesLogAnalyticsInfoArgs{...} +type PipelineClusterAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToPipelineIngestionDefinitionTableConfigurationOutput() PipelineIngestionDefinitionTableConfigurationOutput - ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionTableConfigurationOutput + ToPipelineClusterAzureAttributesLogAnalyticsInfoOutput() PipelineClusterAzureAttributesLogAnalyticsInfoOutput + ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoOutput } -type PipelineIngestionDefinitionTableConfigurationArgs struct { - PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` - SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` - ScdType pulumi.StringPtrInput `pulumi:"scdType"` - SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` +type PipelineClusterAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (PipelineIngestionDefinitionTableConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() +func (PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationOutput() PipelineIngestionDefinitionTableConfigurationOutput { - return i.ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(context.Background()) +func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutput() PipelineClusterAzureAttributesLogAnalyticsInfoOutput { + return i.ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionTableConfigurationOutput) +func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesLogAnalyticsInfoOutput) } -func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Background()) +func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionTableConfigurationOutput).ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx) +func (i PipelineClusterAzureAttributesLogAnalyticsInfoArgs) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesLogAnalyticsInfoOutput).ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// PipelineIngestionDefinitionTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionTableConfigurationArgs, PipelineIngestionDefinitionTableConfigurationPtr and PipelineIngestionDefinitionTableConfigurationPtrOutput values. -// You can construct a concrete instance of `PipelineIngestionDefinitionTableConfigurationPtrInput` via: +// PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts PipelineClusterAzureAttributesLogAnalyticsInfoArgs, PipelineClusterAzureAttributesLogAnalyticsInfoPtr and PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput` via: // -// PipelineIngestionDefinitionTableConfigurationArgs{...} +// PipelineClusterAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type PipelineIngestionDefinitionTableConfigurationPtrInput interface { +type PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput - ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput + ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput + ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput } -type pipelineIngestionDefinitionTableConfigurationPtrType PipelineIngestionDefinitionTableConfigurationArgs +type pipelineClusterAzureAttributesLogAnalyticsInfoPtrType PipelineClusterAzureAttributesLogAnalyticsInfoArgs -func PipelineIngestionDefinitionTableConfigurationPtr(v *PipelineIngestionDefinitionTableConfigurationArgs) PipelineIngestionDefinitionTableConfigurationPtrInput { - return (*pipelineIngestionDefinitionTableConfigurationPtrType)(v) +func PipelineClusterAzureAttributesLogAnalyticsInfoPtr(v *PipelineClusterAzureAttributesLogAnalyticsInfoArgs) PipelineClusterAzureAttributesLogAnalyticsInfoPtrInput { + return (*pipelineClusterAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*pipelineIngestionDefinitionTableConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() +func (*pipelineClusterAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *pipelineIngestionDefinitionTableConfigurationPtrType) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { - return i.ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Background()) +func (i *pipelineClusterAzureAttributesLogAnalyticsInfoPtrType) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *pipelineIngestionDefinitionTableConfigurationPtrType) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionTableConfigurationPtrOutput) +func (i *pipelineClusterAzureAttributesLogAnalyticsInfoPtrType) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -type PipelineIngestionDefinitionTableConfigurationOutput struct{ *pulumi.OutputState } +type PipelineClusterAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionTableConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() +func (PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationOutput() PipelineIngestionDefinitionTableConfigurationOutput { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutput() PipelineClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationOutput { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoOutput { return o } -func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { - return o.ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Background()) +func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionTableConfiguration) *PipelineIngestionDefinitionTableConfiguration { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterAzureAttributesLogAnalyticsInfo) *PipelineClusterAzureAttributesLogAnalyticsInfo { return &v - }).(PipelineIngestionDefinitionTableConfigurationPtrOutput) -} - -func (o PipelineIngestionDefinitionTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) -} - -func (o PipelineIngestionDefinitionTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) *bool { return v.SalesforceIncludeFormulaFields }).(pulumi.BoolPtrOutput) + }).(PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o PipelineIngestionDefinitionTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) +func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) +func (o PipelineClusterAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) } -type PipelineIngestionDefinitionTableConfigurationPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } -func (PipelineIngestionDefinitionTableConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() +func (PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput() PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) ToPipelineClusterAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionTableConfigurationOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) PipelineIngestionDefinitionTableConfiguration { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) Elem() PipelineClusterAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributesLogAnalyticsInfo) PipelineClusterAzureAttributesLogAnalyticsInfo { if v != nil { return *v } - var ret PipelineIngestionDefinitionTableConfiguration + var ret PipelineClusterAzureAttributesLogAnalyticsInfo return ret - }).(PipelineIngestionDefinitionTableConfigurationOutput) -} - -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) []string { - if v == nil { - return nil - } - return v.PrimaryKeys - }).(pulumi.StringArrayOutput) -} - -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) *bool { - if v == nil { - return nil - } - return v.SalesforceIncludeFormulaFields - }).(pulumi.BoolPtrOutput) + }).(PipelineClusterAzureAttributesLogAnalyticsInfoOutput) } -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) *string { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.ScdType + return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) []string { +func (o PipelineClusterAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return v.SequenceBies - }).(pulumi.StringArrayOutput) + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -type PipelineLatestUpdate struct { - CreationTime *string `pulumi:"creationTime"` - State *string `pulumi:"state"` - UpdateId *string `pulumi:"updateId"` +type PipelineClusterClusterLogConf struct { + Dbfs *PipelineClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *PipelineClusterClusterLogConfS3 `pulumi:"s3"` } -// PipelineLatestUpdateInput is an input type that accepts PipelineLatestUpdateArgs and PipelineLatestUpdateOutput values. -// You can construct a concrete instance of `PipelineLatestUpdateInput` via: +// PipelineClusterClusterLogConfInput is an input type that accepts PipelineClusterClusterLogConfArgs and PipelineClusterClusterLogConfOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfInput` via: // -// PipelineLatestUpdateArgs{...} -type PipelineLatestUpdateInput interface { +// PipelineClusterClusterLogConfArgs{...} +type PipelineClusterClusterLogConfInput interface { pulumi.Input - ToPipelineLatestUpdateOutput() PipelineLatestUpdateOutput - ToPipelineLatestUpdateOutputWithContext(context.Context) PipelineLatestUpdateOutput + ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput + ToPipelineClusterClusterLogConfOutputWithContext(context.Context) PipelineClusterClusterLogConfOutput } -type PipelineLatestUpdateArgs struct { - CreationTime pulumi.StringPtrInput `pulumi:"creationTime"` - State pulumi.StringPtrInput `pulumi:"state"` - UpdateId pulumi.StringPtrInput `pulumi:"updateId"` +type PipelineClusterClusterLogConfArgs struct { + Dbfs PipelineClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 PipelineClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (PipelineLatestUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLatestUpdate)(nil)).Elem() +func (PipelineClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() } -func (i PipelineLatestUpdateArgs) ToPipelineLatestUpdateOutput() PipelineLatestUpdateOutput { - return i.ToPipelineLatestUpdateOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { + return i.ToPipelineClusterClusterLogConfOutputWithContext(context.Background()) } -func (i PipelineLatestUpdateArgs) ToPipelineLatestUpdateOutputWithContext(ctx context.Context) PipelineLatestUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLatestUpdateOutput) +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput) } -// PipelineLatestUpdateArrayInput is an input type that accepts PipelineLatestUpdateArray and PipelineLatestUpdateArrayOutput values. -// You can construct a concrete instance of `PipelineLatestUpdateArrayInput` via: +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { + return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i PipelineClusterClusterLogConfArgs) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfOutput).ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx) +} + +// PipelineClusterClusterLogConfPtrInput is an input type that accepts PipelineClusterClusterLogConfArgs, PipelineClusterClusterLogConfPtr and PipelineClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfPtrInput` via: // -// PipelineLatestUpdateArray{ PipelineLatestUpdateArgs{...} } -type PipelineLatestUpdateArrayInput interface { +// PipelineClusterClusterLogConfArgs{...} +// +// or: +// +// nil +type PipelineClusterClusterLogConfPtrInput interface { pulumi.Input - ToPipelineLatestUpdateArrayOutput() PipelineLatestUpdateArrayOutput - ToPipelineLatestUpdateArrayOutputWithContext(context.Context) PipelineLatestUpdateArrayOutput + ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput + ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfPtrOutput } -type PipelineLatestUpdateArray []PipelineLatestUpdateInput +type pipelineClusterClusterLogConfPtrType PipelineClusterClusterLogConfArgs -func (PipelineLatestUpdateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineLatestUpdate)(nil)).Elem() +func PipelineClusterClusterLogConfPtr(v *PipelineClusterClusterLogConfArgs) PipelineClusterClusterLogConfPtrInput { + return (*pipelineClusterClusterLogConfPtrType)(v) } -func (i PipelineLatestUpdateArray) ToPipelineLatestUpdateArrayOutput() PipelineLatestUpdateArrayOutput { - return i.ToPipelineLatestUpdateArrayOutputWithContext(context.Background()) +func (*pipelineClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() +} + +func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { + return i.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i PipelineLatestUpdateArray) ToPipelineLatestUpdateArrayOutputWithContext(ctx context.Context) PipelineLatestUpdateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLatestUpdateArrayOutput) +func (i *pipelineClusterClusterLogConfPtrType) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfPtrOutput) } -type PipelineLatestUpdateOutput struct{ *pulumi.OutputState } +type PipelineClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (PipelineLatestUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLatestUpdate)(nil)).Elem() +func (PipelineClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConf)(nil)).Elem() } -func (o PipelineLatestUpdateOutput) ToPipelineLatestUpdateOutput() PipelineLatestUpdateOutput { +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutput() PipelineClusterClusterLogConfOutput { return o } -func (o PipelineLatestUpdateOutput) ToPipelineLatestUpdateOutputWithContext(ctx context.Context) PipelineLatestUpdateOutput { +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfOutput { return o } -func (o PipelineLatestUpdateOutput) CreationTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLatestUpdate) *string { return v.CreationTime }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { + return o.ToPipelineClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o PipelineLatestUpdateOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLatestUpdate) *string { return v.State }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConf { + return &v + }).(PipelineClusterClusterLogConfPtrOutput) } -func (o PipelineLatestUpdateOutput) UpdateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLatestUpdate) *string { return v.UpdateId }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { return v.Dbfs }).(PipelineClusterClusterLogConfDbfsPtrOutput) } -type PipelineLatestUpdateArrayOutput struct{ *pulumi.OutputState } +func (o PipelineClusterClusterLogConfOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { return v.S3 }).(PipelineClusterClusterLogConfS3PtrOutput) +} -func (PipelineLatestUpdateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineLatestUpdate)(nil)).Elem() +type PipelineClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConf)(nil)).Elem() } -func (o PipelineLatestUpdateArrayOutput) ToPipelineLatestUpdateArrayOutput() PipelineLatestUpdateArrayOutput { +func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutput() PipelineClusterClusterLogConfPtrOutput { return o } -func (o PipelineLatestUpdateArrayOutput) ToPipelineLatestUpdateArrayOutputWithContext(ctx context.Context) PipelineLatestUpdateArrayOutput { +func (o PipelineClusterClusterLogConfPtrOutput) ToPipelineClusterClusterLogConfPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfPtrOutput { return o } -func (o PipelineLatestUpdateArrayOutput) Index(i pulumi.IntInput) PipelineLatestUpdateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineLatestUpdate { - return vs[0].([]PipelineLatestUpdate)[vs[1].(int)] - }).(PipelineLatestUpdateOutput) +func (o PipelineClusterClusterLogConfPtrOutput) Elem() PipelineClusterClusterLogConfOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConf) PipelineClusterClusterLogConf { + if v != nil { + return *v + } + var ret PipelineClusterClusterLogConf + return ret + }).(PipelineClusterClusterLogConfOutput) } -type PipelineLibrary struct { - File *PipelineLibraryFile `pulumi:"file"` - Jar *string `pulumi:"jar"` - Maven *PipelineLibraryMaven `pulumi:"maven"` - Notebook *PipelineLibraryNotebook `pulumi:"notebook"` - // Deprecated: The 'whl' field is deprecated - Whl *string `pulumi:"whl"` +func (o PipelineClusterClusterLogConfPtrOutput) Dbfs() PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfDbfs { + if v == nil { + return nil + } + return v.Dbfs + }).(PipelineClusterClusterLogConfDbfsPtrOutput) } -// PipelineLibraryInput is an input type that accepts PipelineLibraryArgs and PipelineLibraryOutput values. -// You can construct a concrete instance of `PipelineLibraryInput` via: +func (o PipelineClusterClusterLogConfPtrOutput) S3() PipelineClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConf) *PipelineClusterClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(PipelineClusterClusterLogConfS3PtrOutput) +} + +type PipelineClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// PipelineClusterClusterLogConfDbfsInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs and PipelineClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsInput` via: // -// PipelineLibraryArgs{...} -type PipelineLibraryInput interface { +// PipelineClusterClusterLogConfDbfsArgs{...} +type PipelineClusterClusterLogConfDbfsInput interface { pulumi.Input - ToPipelineLibraryOutput() PipelineLibraryOutput - ToPipelineLibraryOutputWithContext(context.Context) PipelineLibraryOutput + ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput + ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsOutput } -type PipelineLibraryArgs struct { - File PipelineLibraryFilePtrInput `pulumi:"file"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven PipelineLibraryMavenPtrInput `pulumi:"maven"` - Notebook PipelineLibraryNotebookPtrInput `pulumi:"notebook"` - // Deprecated: The 'whl' field is deprecated - Whl pulumi.StringPtrInput `pulumi:"whl"` +type PipelineClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (PipelineLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() +func (PipelineClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -func (i PipelineLibraryArgs) ToPipelineLibraryOutput() PipelineLibraryOutput { - return i.ToPipelineLibraryOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { + return i.ToPipelineClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i PipelineLibraryArgs) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryOutput) +func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput) } -// PipelineLibraryArrayInput is an input type that accepts PipelineLibraryArray and PipelineLibraryArrayOutput values. -// You can construct a concrete instance of `PipelineLibraryArrayInput` via: +func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i PipelineClusterClusterLogConfDbfsArgs) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsOutput).ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +} + +// PipelineClusterClusterLogConfDbfsPtrInput is an input type that accepts PipelineClusterClusterLogConfDbfsArgs, PipelineClusterClusterLogConfDbfsPtr and PipelineClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfDbfsPtrInput` via: // -// PipelineLibraryArray{ PipelineLibraryArgs{...} } -type PipelineLibraryArrayInput interface { +// PipelineClusterClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type PipelineClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput - ToPipelineLibraryArrayOutputWithContext(context.Context) PipelineLibraryArrayOutput + ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput + ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) PipelineClusterClusterLogConfDbfsPtrOutput } -type PipelineLibraryArray []PipelineLibraryInput +type pipelineClusterClusterLogConfDbfsPtrType PipelineClusterClusterLogConfDbfsArgs -func (PipelineLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() +func PipelineClusterClusterLogConfDbfsPtr(v *PipelineClusterClusterLogConfDbfsArgs) PipelineClusterClusterLogConfDbfsPtrInput { + return (*pipelineClusterClusterLogConfDbfsPtrType)(v) } -func (i PipelineLibraryArray) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { - return i.ToPipelineLibraryArrayOutputWithContext(context.Background()) +func (*pipelineClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -func (i PipelineLibraryArray) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryArrayOutput) +func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return i.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -type PipelineLibraryOutput struct{ *pulumi.OutputState } +func (i *pipelineClusterClusterLogConfDbfsPtrType) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfDbfsPtrOutput) +} -func (PipelineLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() +type PipelineClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } + +func (PipelineClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -func (o PipelineLibraryOutput) ToPipelineLibraryOutput() PipelineLibraryOutput { +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutput() PipelineClusterClusterLogConfDbfsOutput { return o } -func (o PipelineLibraryOutput) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsOutput { return o } -func (o PipelineLibraryOutput) File() PipelineLibraryFilePtrOutput { - return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryFile { return v.File }).(PipelineLibraryFilePtrOutput) +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o PipelineLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfDbfsOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfDbfs) *PipelineClusterClusterLogConfDbfs { + return &v + }).(PipelineClusterClusterLogConfDbfsPtrOutput) } -func (o PipelineLibraryOutput) Maven() PipelineLibraryMavenPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryMaven { return v.Maven }).(PipelineLibraryMavenPtrOutput) +func (o PipelineClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o PipelineLibraryOutput) Notebook() PipelineLibraryNotebookPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryNotebook { return v.Notebook }).(PipelineLibraryNotebookPtrOutput) -} +type PipelineClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -// Deprecated: The 'whl' field is deprecated -func (o PipelineLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (PipelineClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfDbfs)(nil)).Elem() } -type PipelineLibraryArrayOutput struct{ *pulumi.OutputState } - -func (PipelineLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() +func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutput() PipelineClusterClusterLogConfDbfsPtrOutput { + return o } -func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { +func (o PipelineClusterClusterLogConfDbfsPtrOutput) ToPipelineClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfDbfsPtrOutput { return o } -func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { - return o +func (o PipelineClusterClusterLogConfDbfsPtrOutput) Elem() PipelineClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) PipelineClusterClusterLogConfDbfs { + if v != nil { + return *v + } + var ret PipelineClusterClusterLogConfDbfs + return ret + }).(PipelineClusterClusterLogConfDbfsOutput) } -func (o PipelineLibraryArrayOutput) Index(i pulumi.IntInput) PipelineLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineLibrary { - return vs[0].([]PipelineLibrary)[vs[1].(int)] - }).(PipelineLibraryOutput) +func (o PipelineClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -type PipelineLibraryFile struct { - Path *string `pulumi:"path"` +type PipelineClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// PipelineLibraryFileInput is an input type that accepts PipelineLibraryFileArgs and PipelineLibraryFileOutput values. -// You can construct a concrete instance of `PipelineLibraryFileInput` via: +// PipelineClusterClusterLogConfS3Input is an input type that accepts PipelineClusterClusterLogConfS3Args and PipelineClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfS3Input` via: // -// PipelineLibraryFileArgs{...} -type PipelineLibraryFileInput interface { +// PipelineClusterClusterLogConfS3Args{...} +type PipelineClusterClusterLogConfS3Input interface { pulumi.Input - ToPipelineLibraryFileOutput() PipelineLibraryFileOutput - ToPipelineLibraryFileOutputWithContext(context.Context) PipelineLibraryFileOutput + ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output + ToPipelineClusterClusterLogConfS3OutputWithContext(context.Context) PipelineClusterClusterLogConfS3Output } -type PipelineLibraryFileArgs struct { - Path pulumi.StringPtrInput `pulumi:"path"` +type PipelineClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (PipelineLibraryFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() +func (PipelineClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { - return i.ToPipelineLibraryFileOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { + return i.ToPipelineClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput) +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output) } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { - return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { + return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput).ToPipelineLibraryFilePtrOutputWithContext(ctx) +func (i PipelineClusterClusterLogConfS3Args) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3Output).ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// PipelineLibraryFilePtrInput is an input type that accepts PipelineLibraryFileArgs, PipelineLibraryFilePtr and PipelineLibraryFilePtrOutput values. -// You can construct a concrete instance of `PipelineLibraryFilePtrInput` via: +// PipelineClusterClusterLogConfS3PtrInput is an input type that accepts PipelineClusterClusterLogConfS3Args, PipelineClusterClusterLogConfS3Ptr and PipelineClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `PipelineClusterClusterLogConfS3PtrInput` via: // -// PipelineLibraryFileArgs{...} +// PipelineClusterClusterLogConfS3Args{...} // // or: // // nil -type PipelineLibraryFilePtrInput interface { +type PipelineClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput - ToPipelineLibraryFilePtrOutputWithContext(context.Context) PipelineLibraryFilePtrOutput + ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput + ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Context) PipelineClusterClusterLogConfS3PtrOutput } -type pipelineLibraryFilePtrType PipelineLibraryFileArgs +type pipelineClusterClusterLogConfS3PtrType PipelineClusterClusterLogConfS3Args -func PipelineLibraryFilePtr(v *PipelineLibraryFileArgs) PipelineLibraryFilePtrInput { - return (*pipelineLibraryFilePtrType)(v) +func PipelineClusterClusterLogConfS3Ptr(v *PipelineClusterClusterLogConfS3Args) PipelineClusterClusterLogConfS3PtrInput { + return (*pipelineClusterClusterLogConfS3PtrType)(v) } -func (*pipelineLibraryFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() +func (*pipelineClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() } -func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { - return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) +func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { + return i.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFilePtrOutput) +func (i *pipelineClusterClusterLogConfS3PtrType) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterClusterLogConfS3PtrOutput) } -type PipelineLibraryFileOutput struct{ *pulumi.OutputState } +type PipelineClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (PipelineLibraryFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() +func (PipelineClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterClusterLogConfS3)(nil)).Elem() } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3Output() PipelineClusterClusterLogConfS3Output { return o } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3OutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3Output { return o } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { - return o.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { + return o.ToPipelineClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryFile) *PipelineLibraryFile { +func (o PipelineClusterClusterLogConfS3Output) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterClusterLogConfS3) *PipelineClusterClusterLogConfS3 { return &v - }).(PipelineLibraryFilePtrOutput) + }).(PipelineClusterClusterLogConfS3PtrOutput) } -func (o PipelineLibraryFileOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibraryFile) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o PipelineClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type PipelineLibraryFilePtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +} -func (PipelineLibraryFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() +func (o PipelineClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { +func (o PipelineClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type PipelineClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterClusterLogConfS3)(nil)).Elem() +} + +func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutput() PipelineClusterClusterLogConfS3PtrOutput { return o } -func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { +func (o PipelineClusterClusterLogConfS3PtrOutput) ToPipelineClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) PipelineClusterClusterLogConfS3PtrOutput { return o } -func (o PipelineLibraryFilePtrOutput) Elem() PipelineLibraryFileOutput { - return o.ApplyT(func(v *PipelineLibraryFile) PipelineLibraryFile { +func (o PipelineClusterClusterLogConfS3PtrOutput) Elem() PipelineClusterClusterLogConfS3Output { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) PipelineClusterClusterLogConfS3 { if v != nil { return *v } - var ret PipelineLibraryFile + var ret PipelineClusterClusterLogConfS3 return ret - }).(PipelineLibraryFileOutput) + }).(PipelineClusterClusterLogConfS3Output) } -func (o PipelineLibraryFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryFile) *string { +func (o PipelineClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Path + return v.CannedAcl }).(pulumi.StringPtrOutput) } -type PipelineLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +func (o PipelineClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// PipelineLibraryMavenInput is an input type that accepts PipelineLibraryMavenArgs and PipelineLibraryMavenOutput values. -// You can construct a concrete instance of `PipelineLibraryMavenInput` via: +func (o PipelineClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o PipelineClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type PipelineClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + ZoneId *string `pulumi:"zoneId"` +} + +// PipelineClusterGcpAttributesInput is an input type that accepts PipelineClusterGcpAttributesArgs and PipelineClusterGcpAttributesOutput values. +// You can construct a concrete instance of `PipelineClusterGcpAttributesInput` via: // -// PipelineLibraryMavenArgs{...} -type PipelineLibraryMavenInput interface { +// PipelineClusterGcpAttributesArgs{...} +type PipelineClusterGcpAttributesInput interface { pulumi.Input - ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput - ToPipelineLibraryMavenOutputWithContext(context.Context) PipelineLibraryMavenOutput + ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput + ToPipelineClusterGcpAttributesOutputWithContext(context.Context) PipelineClusterGcpAttributesOutput } -type PipelineLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type PipelineClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (PipelineLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() +func (PipelineClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { - return i.ToPipelineLibraryMavenOutputWithContext(context.Background()) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { + return i.ToPipelineClusterGcpAttributesOutputWithContext(context.Background()) } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput) } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { - return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { + return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput).ToPipelineLibraryMavenPtrOutputWithContext(ctx) +func (i PipelineClusterGcpAttributesArgs) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesOutput).ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx) } -// PipelineLibraryMavenPtrInput is an input type that accepts PipelineLibraryMavenArgs, PipelineLibraryMavenPtr and PipelineLibraryMavenPtrOutput values. -// You can construct a concrete instance of `PipelineLibraryMavenPtrInput` via: +// PipelineClusterGcpAttributesPtrInput is an input type that accepts PipelineClusterGcpAttributesArgs, PipelineClusterGcpAttributesPtr and PipelineClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterGcpAttributesPtrInput` via: // -// PipelineLibraryMavenArgs{...} +// PipelineClusterGcpAttributesArgs{...} // // or: // // nil -type PipelineLibraryMavenPtrInput interface { +type PipelineClusterGcpAttributesPtrInput interface { pulumi.Input - ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput - ToPipelineLibraryMavenPtrOutputWithContext(context.Context) PipelineLibraryMavenPtrOutput + ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput + ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Context) PipelineClusterGcpAttributesPtrOutput } -type pipelineLibraryMavenPtrType PipelineLibraryMavenArgs +type pipelineClusterGcpAttributesPtrType PipelineClusterGcpAttributesArgs -func PipelineLibraryMavenPtr(v *PipelineLibraryMavenArgs) PipelineLibraryMavenPtrInput { - return (*pipelineLibraryMavenPtrType)(v) +func PipelineClusterGcpAttributesPtr(v *PipelineClusterGcpAttributesArgs) PipelineClusterGcpAttributesPtrInput { + return (*pipelineClusterGcpAttributesPtrType)(v) } -func (*pipelineLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() +func (*pipelineClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() } -func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { - return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) +func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { + return i.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenPtrOutput) +func (i *pipelineClusterGcpAttributesPtrType) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterGcpAttributesPtrOutput) } -type PipelineLibraryMavenOutput struct{ *pulumi.OutputState } +type PipelineClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (PipelineLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() +func (PipelineClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterGcpAttributes)(nil)).Elem() } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutput() PipelineClusterGcpAttributesOutput { return o } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesOutput { return o } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { - return o.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { + return o.ToPipelineClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryMaven) *PipelineLibraryMaven { +func (o PipelineClusterGcpAttributesOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterGcpAttributes) *PipelineClusterGcpAttributes { return &v - }).(PipelineLibraryMavenPtrOutput) + }).(PipelineClusterGcpAttributesPtrOutput) } -func (o PipelineLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v PipelineLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o PipelineClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o PipelineLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o PipelineClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o PipelineLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o PipelineClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -type PipelineLibraryMavenPtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} -func (PipelineLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() +type PipelineClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterGcpAttributes)(nil)).Elem() } -func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { +func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutput() PipelineClusterGcpAttributesPtrOutput { return o } -func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { +func (o PipelineClusterGcpAttributesPtrOutput) ToPipelineClusterGcpAttributesPtrOutputWithContext(ctx context.Context) PipelineClusterGcpAttributesPtrOutput { return o } -func (o PipelineLibraryMavenPtrOutput) Elem() PipelineLibraryMavenOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) PipelineLibraryMaven { +func (o PipelineClusterGcpAttributesPtrOutput) Elem() PipelineClusterGcpAttributesOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) PipelineClusterGcpAttributes { if v != nil { return *v } - var ret PipelineLibraryMaven + var ret PipelineClusterGcpAttributes return ret - }).(PipelineLibraryMavenOutput) + }).(PipelineClusterGcpAttributesOutput) } -func (o PipelineLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) *string { +func (o PipelineClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { if v == nil { return nil } - return &v.Coordinates + return v.Availability }).(pulumi.StringPtrOutput) } -func (o PipelineLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) []string { +func (o PipelineClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (o PipelineLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryMaven) *string { +func (o PipelineClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *int { if v == nil { return nil } - return v.Repo + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o PipelineClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId }).(pulumi.StringPtrOutput) } -type PipelineLibraryNotebook struct { - Path *string `pulumi:"path"` +type PipelineClusterInitScript struct { + Abfss *PipelineClusterInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *PipelineClusterInitScriptDbfs `pulumi:"dbfs"` + File *PipelineClusterInitScriptFile `pulumi:"file"` + Gcs *PipelineClusterInitScriptGcs `pulumi:"gcs"` + S3 *PipelineClusterInitScriptS3 `pulumi:"s3"` + Volumes *PipelineClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *PipelineClusterInitScriptWorkspace `pulumi:"workspace"` } -// PipelineLibraryNotebookInput is an input type that accepts PipelineLibraryNotebookArgs and PipelineLibraryNotebookOutput values. -// You can construct a concrete instance of `PipelineLibraryNotebookInput` via: +// PipelineClusterInitScriptInput is an input type that accepts PipelineClusterInitScriptArgs and PipelineClusterInitScriptOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptInput` via: // -// PipelineLibraryNotebookArgs{...} -type PipelineLibraryNotebookInput interface { +// PipelineClusterInitScriptArgs{...} +type PipelineClusterInitScriptInput interface { pulumi.Input - ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput - ToPipelineLibraryNotebookOutputWithContext(context.Context) PipelineLibraryNotebookOutput -} - -type PipelineLibraryNotebookArgs struct { - Path pulumi.StringPtrInput `pulumi:"path"` -} - -func (PipelineLibraryNotebookArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() + ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput + ToPipelineClusterInitScriptOutputWithContext(context.Context) PipelineClusterInitScriptOutput } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { - return i.ToPipelineLibraryNotebookOutputWithContext(context.Background()) +type PipelineClusterInitScriptArgs struct { + Abfss PipelineClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs PipelineClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File PipelineClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs PipelineClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 PipelineClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes PipelineClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace PipelineClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput) +func (PipelineClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { + return i.ToPipelineClusterInitScriptOutputWithContext(context.Background()) } -func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput).ToPipelineLibraryNotebookPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptArgs) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptOutput) } -// PipelineLibraryNotebookPtrInput is an input type that accepts PipelineLibraryNotebookArgs, PipelineLibraryNotebookPtr and PipelineLibraryNotebookPtrOutput values. -// You can construct a concrete instance of `PipelineLibraryNotebookPtrInput` via: -// -// PipelineLibraryNotebookArgs{...} -// -// or: +// PipelineClusterInitScriptArrayInput is an input type that accepts PipelineClusterInitScriptArray and PipelineClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptArrayInput` via: // -// nil -type PipelineLibraryNotebookPtrInput interface { +// PipelineClusterInitScriptArray{ PipelineClusterInitScriptArgs{...} } +type PipelineClusterInitScriptArrayInput interface { pulumi.Input - ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput - ToPipelineLibraryNotebookPtrOutputWithContext(context.Context) PipelineLibraryNotebookPtrOutput + ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput + ToPipelineClusterInitScriptArrayOutputWithContext(context.Context) PipelineClusterInitScriptArrayOutput } -type pipelineLibraryNotebookPtrType PipelineLibraryNotebookArgs - -func PipelineLibraryNotebookPtr(v *PipelineLibraryNotebookArgs) PipelineLibraryNotebookPtrInput { - return (*pipelineLibraryNotebookPtrType)(v) -} +type PipelineClusterInitScriptArray []PipelineClusterInitScriptInput -func (*pipelineLibraryNotebookPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() +func (PipelineClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() } -func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { + return i.ToPipelineClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookPtrOutput) +func (i PipelineClusterInitScriptArray) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptArrayOutput) } -type PipelineLibraryNotebookOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptOutput struct{ *pulumi.OutputState } -func (PipelineLibraryNotebookOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() +func (PipelineClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScript)(nil)).Elem() } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { +func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutput() PipelineClusterInitScriptOutput { return o } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { +func (o PipelineClusterInitScriptOutput) ToPipelineClusterInitScriptOutputWithContext(ctx context.Context) PipelineClusterInitScriptOutput { return o } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return o.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptOutput) Abfss() PipelineClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptAbfss { return v.Abfss }).(PipelineClusterInitScriptAbfssPtrOutput) } -func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryNotebook) *PipelineLibraryNotebook { - return &v - }).(PipelineLibraryNotebookPtrOutput) +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o PipelineClusterInitScriptOutput) Dbfs() PipelineClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptDbfs { return v.Dbfs }).(PipelineClusterInitScriptDbfsPtrOutput) } -func (o PipelineLibraryNotebookOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineLibraryNotebook) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o PipelineClusterInitScriptOutput) File() PipelineClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptFile { return v.File }).(PipelineClusterInitScriptFilePtrOutput) } -type PipelineLibraryNotebookPtrOutput struct{ *pulumi.OutputState } +func (o PipelineClusterInitScriptOutput) Gcs() PipelineClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptGcs { return v.Gcs }).(PipelineClusterInitScriptGcsPtrOutput) +} -func (PipelineLibraryNotebookPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() +func (o PipelineClusterInitScriptOutput) S3() PipelineClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptS3 { return v.S3 }).(PipelineClusterInitScriptS3PtrOutput) } -func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { - return o +func (o PipelineClusterInitScriptOutput) Volumes() PipelineClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptVolumes { return v.Volumes }).(PipelineClusterInitScriptVolumesPtrOutput) } -func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { +func (o PipelineClusterInitScriptOutput) Workspace() PipelineClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v PipelineClusterInitScript) *PipelineClusterInitScriptWorkspace { return v.Workspace }).(PipelineClusterInitScriptWorkspacePtrOutput) +} + +type PipelineClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineClusterInitScript)(nil)).Elem() +} + +func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutput() PipelineClusterInitScriptArrayOutput { return o } -func (o PipelineLibraryNotebookPtrOutput) Elem() PipelineLibraryNotebookOutput { - return o.ApplyT(func(v *PipelineLibraryNotebook) PipelineLibraryNotebook { - if v != nil { - return *v - } - var ret PipelineLibraryNotebook - return ret - }).(PipelineLibraryNotebookOutput) +func (o PipelineClusterInitScriptArrayOutput) ToPipelineClusterInitScriptArrayOutputWithContext(ctx context.Context) PipelineClusterInitScriptArrayOutput { + return o } -func (o PipelineLibraryNotebookPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineLibraryNotebook) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) +func (o PipelineClusterInitScriptArrayOutput) Index(i pulumi.IntInput) PipelineClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineClusterInitScript { + return vs[0].([]PipelineClusterInitScript)[vs[1].(int)] + }).(PipelineClusterInitScriptOutput) } -type PipelineNotification struct { - // non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list - // * `on-update-success` - a pipeline update completes successfully. - // * `on-update-failure` - a pipeline update fails with a retryable error. - // * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. - // * `on-flow-failure` - a single data flow fails. - Alerts []string `pulumi:"alerts"` - // non-empty list of emails to notify. - EmailRecipients []string `pulumi:"emailRecipients"` +type PipelineClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// PipelineNotificationInput is an input type that accepts PipelineNotificationArgs and PipelineNotificationOutput values. -// You can construct a concrete instance of `PipelineNotificationInput` via: +// PipelineClusterInitScriptAbfssInput is an input type that accepts PipelineClusterInitScriptAbfssArgs and PipelineClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptAbfssInput` via: // -// PipelineNotificationArgs{...} -type PipelineNotificationInput interface { +// PipelineClusterInitScriptAbfssArgs{...} +type PipelineClusterInitScriptAbfssInput interface { pulumi.Input - ToPipelineNotificationOutput() PipelineNotificationOutput - ToPipelineNotificationOutputWithContext(context.Context) PipelineNotificationOutput + ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput + ToPipelineClusterInitScriptAbfssOutputWithContext(context.Context) PipelineClusterInitScriptAbfssOutput } -type PipelineNotificationArgs struct { - // non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list - // * `on-update-success` - a pipeline update completes successfully. - // * `on-update-failure` - a pipeline update fails with a retryable error. - // * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. - // * `on-flow-failure` - a single data flow fails. - Alerts pulumi.StringArrayInput `pulumi:"alerts"` - // non-empty list of emails to notify. - EmailRecipients pulumi.StringArrayInput `pulumi:"emailRecipients"` +type PipelineClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (PipelineNotificationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineNotification)(nil)).Elem() +func (PipelineClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (i PipelineNotificationArgs) ToPipelineNotificationOutput() PipelineNotificationOutput { - return i.ToPipelineNotificationOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { + return i.ToPipelineClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i PipelineNotificationArgs) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationOutput) +func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput) } -// PipelineNotificationArrayInput is an input type that accepts PipelineNotificationArray and PipelineNotificationArrayOutput values. -// You can construct a concrete instance of `PipelineNotificationArrayInput` via: +func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { + return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i PipelineClusterInitScriptAbfssArgs) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssOutput).ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx) +} + +// PipelineClusterInitScriptAbfssPtrInput is an input type that accepts PipelineClusterInitScriptAbfssArgs, PipelineClusterInitScriptAbfssPtr and PipelineClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptAbfssPtrInput` via: // -// PipelineNotificationArray{ PipelineNotificationArgs{...} } -type PipelineNotificationArrayInput interface { +// PipelineClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type PipelineClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput - ToPipelineNotificationArrayOutputWithContext(context.Context) PipelineNotificationArrayOutput + ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput + ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Context) PipelineClusterInitScriptAbfssPtrOutput } -type PipelineNotificationArray []PipelineNotificationInput +type pipelineClusterInitScriptAbfssPtrType PipelineClusterInitScriptAbfssArgs -func (PipelineNotificationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() +func PipelineClusterInitScriptAbfssPtr(v *PipelineClusterInitScriptAbfssArgs) PipelineClusterInitScriptAbfssPtrInput { + return (*pipelineClusterInitScriptAbfssPtrType)(v) } -func (i PipelineNotificationArray) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { - return i.ToPipelineNotificationArrayOutputWithContext(context.Background()) +func (*pipelineClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (i PipelineNotificationArray) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationArrayOutput) +func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { + return i.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type PipelineNotificationOutput struct{ *pulumi.OutputState } +func (i *pipelineClusterInitScriptAbfssPtrType) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptAbfssPtrOutput) +} -func (PipelineNotificationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineNotification)(nil)).Elem() +type PipelineClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (o PipelineNotificationOutput) ToPipelineNotificationOutput() PipelineNotificationOutput { +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutput() PipelineClusterInitScriptAbfssOutput { return o } -func (o PipelineNotificationOutput) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssOutput { return o } -// non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list -// * `on-update-success` - a pipeline update completes successfully. -// * `on-update-failure` - a pipeline update fails with a retryable error. -// * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. -// * `on-flow-failure` - a single data flow fails. -func (o PipelineNotificationOutput) Alerts() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineNotification) []string { return v.Alerts }).(pulumi.StringArrayOutput) +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { + return o.ToPipelineClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -// non-empty list of emails to notify. -func (o PipelineNotificationOutput) EmailRecipients() pulumi.StringArrayOutput { - return o.ApplyT(func(v PipelineNotification) []string { return v.EmailRecipients }).(pulumi.StringArrayOutput) +func (o PipelineClusterInitScriptAbfssOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptAbfss) *PipelineClusterInitScriptAbfss { + return &v + }).(PipelineClusterInitScriptAbfssPtrOutput) } -type PipelineNotificationArrayOutput struct{ *pulumi.OutputState } +func (o PipelineClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +} -func (PipelineNotificationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() +type PipelineClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (PipelineClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptAbfss)(nil)).Elem() } -func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { +func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutput() PipelineClusterInitScriptAbfssPtrOutput { return o } -func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { +func (o PipelineClusterInitScriptAbfssPtrOutput) ToPipelineClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptAbfssPtrOutput { return o } -func (o PipelineNotificationArrayOutput) Index(i pulumi.IntInput) PipelineNotificationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineNotification { - return vs[0].([]PipelineNotification)[vs[1].(int)] - }).(PipelineNotificationOutput) +func (o PipelineClusterInitScriptAbfssPtrOutput) Elem() PipelineClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) PipelineClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret PipelineClusterInitScriptAbfss + return ret + }).(PipelineClusterInitScriptAbfssOutput) } -type PipelineRestartWindow struct { - DaysOfWeek *string `pulumi:"daysOfWeek"` - StartHour int `pulumi:"startHour"` - TimeZoneId *string `pulumi:"timeZoneId"` +func (o PipelineClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// PipelineRestartWindowInput is an input type that accepts PipelineRestartWindowArgs and PipelineRestartWindowOutput values. -// You can construct a concrete instance of `PipelineRestartWindowInput` via: +type PipelineClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// PipelineClusterInitScriptDbfsInput is an input type that accepts PipelineClusterInitScriptDbfsArgs and PipelineClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptDbfsInput` via: // -// PipelineRestartWindowArgs{...} -type PipelineRestartWindowInput interface { +// PipelineClusterInitScriptDbfsArgs{...} +type PipelineClusterInitScriptDbfsInput interface { pulumi.Input - ToPipelineRestartWindowOutput() PipelineRestartWindowOutput - ToPipelineRestartWindowOutputWithContext(context.Context) PipelineRestartWindowOutput + ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput + ToPipelineClusterInitScriptDbfsOutputWithContext(context.Context) PipelineClusterInitScriptDbfsOutput } -type PipelineRestartWindowArgs struct { - DaysOfWeek pulumi.StringPtrInput `pulumi:"daysOfWeek"` - StartHour pulumi.IntInput `pulumi:"startHour"` - TimeZoneId pulumi.StringPtrInput `pulumi:"timeZoneId"` +type PipelineClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (PipelineRestartWindowArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineRestartWindow)(nil)).Elem() +func (PipelineClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (i PipelineRestartWindowArgs) ToPipelineRestartWindowOutput() PipelineRestartWindowOutput { - return i.ToPipelineRestartWindowOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { + return i.ToPipelineClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i PipelineRestartWindowArgs) ToPipelineRestartWindowOutputWithContext(ctx context.Context) PipelineRestartWindowOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineRestartWindowOutput) +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput) } -func (i PipelineRestartWindowArgs) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { - return i.ToPipelineRestartWindowPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i PipelineRestartWindowArgs) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineRestartWindowOutput).ToPipelineRestartWindowPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptDbfsArgs) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsOutput).ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// PipelineRestartWindowPtrInput is an input type that accepts PipelineRestartWindowArgs, PipelineRestartWindowPtr and PipelineRestartWindowPtrOutput values. -// You can construct a concrete instance of `PipelineRestartWindowPtrInput` via: +// PipelineClusterInitScriptDbfsPtrInput is an input type that accepts PipelineClusterInitScriptDbfsArgs, PipelineClusterInitScriptDbfsPtr and PipelineClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptDbfsPtrInput` via: // -// PipelineRestartWindowArgs{...} +// PipelineClusterInitScriptDbfsArgs{...} // // or: // // nil -type PipelineRestartWindowPtrInput interface { +type PipelineClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput - ToPipelineRestartWindowPtrOutputWithContext(context.Context) PipelineRestartWindowPtrOutput + ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput + ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Context) PipelineClusterInitScriptDbfsPtrOutput } -type pipelineRestartWindowPtrType PipelineRestartWindowArgs +type pipelineClusterInitScriptDbfsPtrType PipelineClusterInitScriptDbfsArgs -func PipelineRestartWindowPtr(v *PipelineRestartWindowArgs) PipelineRestartWindowPtrInput { - return (*pipelineRestartWindowPtrType)(v) +func PipelineClusterInitScriptDbfsPtr(v *PipelineClusterInitScriptDbfsArgs) PipelineClusterInitScriptDbfsPtrInput { + return (*pipelineClusterInitScriptDbfsPtrType)(v) } -func (*pipelineRestartWindowPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineRestartWindow)(nil)).Elem() +func (*pipelineClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (i *pipelineRestartWindowPtrType) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { - return i.ToPipelineRestartWindowPtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return i.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *pipelineRestartWindowPtrType) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineRestartWindowPtrOutput) +func (i *pipelineClusterInitScriptDbfsPtrType) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptDbfsPtrOutput) } -type PipelineRestartWindowOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (PipelineRestartWindowOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineRestartWindow)(nil)).Elem() +func (PipelineClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (o PipelineRestartWindowOutput) ToPipelineRestartWindowOutput() PipelineRestartWindowOutput { +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutput() PipelineClusterInitScriptDbfsOutput { return o } -func (o PipelineRestartWindowOutput) ToPipelineRestartWindowOutputWithContext(ctx context.Context) PipelineRestartWindowOutput { +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsOutput { return o } -func (o PipelineRestartWindowOutput) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { - return o.ToPipelineRestartWindowPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return o.ToPipelineClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o PipelineRestartWindowOutput) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineRestartWindow) *PipelineRestartWindow { +func (o PipelineClusterInitScriptDbfsOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptDbfs) *PipelineClusterInitScriptDbfs { return &v - }).(PipelineRestartWindowPtrOutput) -} - -func (o PipelineRestartWindowOutput) DaysOfWeek() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineRestartWindow) *string { return v.DaysOfWeek }).(pulumi.StringPtrOutput) -} - -func (o PipelineRestartWindowOutput) StartHour() pulumi.IntOutput { - return o.ApplyT(func(v PipelineRestartWindow) int { return v.StartHour }).(pulumi.IntOutput) -} - -func (o PipelineRestartWindowOutput) TimeZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineRestartWindow) *string { return v.TimeZoneId }).(pulumi.StringPtrOutput) -} - -type PipelineRestartWindowPtrOutput struct{ *pulumi.OutputState } - -func (PipelineRestartWindowPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineRestartWindow)(nil)).Elem() + }).(PipelineClusterInitScriptDbfsPtrOutput) } -func (o PipelineRestartWindowPtrOutput) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { - return o +func (o PipelineClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o PipelineRestartWindowPtrOutput) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { - return o -} +type PipelineClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (o PipelineRestartWindowPtrOutput) Elem() PipelineRestartWindowOutput { - return o.ApplyT(func(v *PipelineRestartWindow) PipelineRestartWindow { - if v != nil { - return *v - } - var ret PipelineRestartWindow - return ret - }).(PipelineRestartWindowOutput) +func (PipelineClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptDbfs)(nil)).Elem() } -func (o PipelineRestartWindowPtrOutput) DaysOfWeek() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineRestartWindow) *string { - if v == nil { - return nil - } - return v.DaysOfWeek - }).(pulumi.StringPtrOutput) +func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutput() PipelineClusterInitScriptDbfsPtrOutput { + return o } -func (o PipelineRestartWindowPtrOutput) StartHour() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PipelineRestartWindow) *int { - if v == nil { - return nil +func (o PipelineClusterInitScriptDbfsPtrOutput) ToPipelineClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptDbfsPtrOutput { + return o +} + +func (o PipelineClusterInitScriptDbfsPtrOutput) Elem() PipelineClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) PipelineClusterInitScriptDbfs { + if v != nil { + return *v } - return &v.StartHour - }).(pulumi.IntPtrOutput) + var ret PipelineClusterInitScriptDbfs + return ret + }).(PipelineClusterInitScriptDbfsOutput) } -func (o PipelineRestartWindowPtrOutput) TimeZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineRestartWindow) *string { +func (o PipelineClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptDbfs) *string { if v == nil { return nil } - return v.TimeZoneId + return &v.Destination }).(pulumi.StringPtrOutput) } -type PipelineTrigger struct { - Cron *PipelineTriggerCron `pulumi:"cron"` - Manual *PipelineTriggerManual `pulumi:"manual"` +type PipelineClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// PipelineTriggerInput is an input type that accepts PipelineTriggerArgs and PipelineTriggerOutput values. -// You can construct a concrete instance of `PipelineTriggerInput` via: +// PipelineClusterInitScriptFileInput is an input type that accepts PipelineClusterInitScriptFileArgs and PipelineClusterInitScriptFileOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptFileInput` via: // -// PipelineTriggerArgs{...} -type PipelineTriggerInput interface { +// PipelineClusterInitScriptFileArgs{...} +type PipelineClusterInitScriptFileInput interface { pulumi.Input - ToPipelineTriggerOutput() PipelineTriggerOutput - ToPipelineTriggerOutputWithContext(context.Context) PipelineTriggerOutput + ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput + ToPipelineClusterInitScriptFileOutputWithContext(context.Context) PipelineClusterInitScriptFileOutput } -type PipelineTriggerArgs struct { - Cron PipelineTriggerCronPtrInput `pulumi:"cron"` - Manual PipelineTriggerManualPtrInput `pulumi:"manual"` +type PipelineClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (PipelineTriggerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineTrigger)(nil)).Elem() +func (PipelineClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() } -func (i PipelineTriggerArgs) ToPipelineTriggerOutput() PipelineTriggerOutput { - return i.ToPipelineTriggerOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { + return i.ToPipelineClusterInitScriptFileOutputWithContext(context.Background()) } -func (i PipelineTriggerArgs) ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerOutput) +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput) } -func (i PipelineTriggerArgs) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { - return i.ToPipelineTriggerPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i PipelineTriggerArgs) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerOutput).ToPipelineTriggerPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptFileArgs) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFileOutput).ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx) } -// PipelineTriggerPtrInput is an input type that accepts PipelineTriggerArgs, PipelineTriggerPtr and PipelineTriggerPtrOutput values. -// You can construct a concrete instance of `PipelineTriggerPtrInput` via: +// PipelineClusterInitScriptFilePtrInput is an input type that accepts PipelineClusterInitScriptFileArgs, PipelineClusterInitScriptFilePtr and PipelineClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptFilePtrInput` via: // -// PipelineTriggerArgs{...} +// PipelineClusterInitScriptFileArgs{...} // // or: // // nil -type PipelineTriggerPtrInput interface { +type PipelineClusterInitScriptFilePtrInput interface { pulumi.Input - ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput - ToPipelineTriggerPtrOutputWithContext(context.Context) PipelineTriggerPtrOutput + ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput + ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Context) PipelineClusterInitScriptFilePtrOutput } -type pipelineTriggerPtrType PipelineTriggerArgs +type pipelineClusterInitScriptFilePtrType PipelineClusterInitScriptFileArgs -func PipelineTriggerPtr(v *PipelineTriggerArgs) PipelineTriggerPtrInput { - return (*pipelineTriggerPtrType)(v) +func PipelineClusterInitScriptFilePtr(v *PipelineClusterInitScriptFileArgs) PipelineClusterInitScriptFilePtrInput { + return (*pipelineClusterInitScriptFilePtrType)(v) } -func (*pipelineTriggerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineTrigger)(nil)).Elem() +func (*pipelineClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() } -func (i *pipelineTriggerPtrType) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { - return i.ToPipelineTriggerPtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return i.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *pipelineTriggerPtrType) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerPtrOutput) +func (i *pipelineClusterInitScriptFilePtrType) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptFilePtrOutput) } -type PipelineTriggerOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (PipelineTriggerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineTrigger)(nil)).Elem() +func (PipelineClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptFile)(nil)).Elem() } -func (o PipelineTriggerOutput) ToPipelineTriggerOutput() PipelineTriggerOutput { +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutput() PipelineClusterInitScriptFileOutput { return o } -func (o PipelineTriggerOutput) ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput { +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFileOutputWithContext(ctx context.Context) PipelineClusterInitScriptFileOutput { return o } -func (o PipelineTriggerOutput) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { - return o.ToPipelineTriggerPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { + return o.ToPipelineClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o PipelineTriggerOutput) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineTrigger) *PipelineTrigger { +func (o PipelineClusterInitScriptFileOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptFile) *PipelineClusterInitScriptFile { return &v - }).(PipelineTriggerPtrOutput) -} - -func (o PipelineTriggerOutput) Cron() PipelineTriggerCronPtrOutput { - return o.ApplyT(func(v PipelineTrigger) *PipelineTriggerCron { return v.Cron }).(PipelineTriggerCronPtrOutput) + }).(PipelineClusterInitScriptFilePtrOutput) } -func (o PipelineTriggerOutput) Manual() PipelineTriggerManualPtrOutput { - return o.ApplyT(func(v PipelineTrigger) *PipelineTriggerManual { return v.Manual }).(PipelineTriggerManualPtrOutput) +func (o PipelineClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type PipelineTriggerPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (PipelineTriggerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineTrigger)(nil)).Elem() +func (PipelineClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptFile)(nil)).Elem() } -func (o PipelineTriggerPtrOutput) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { +func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutput() PipelineClusterInitScriptFilePtrOutput { return o } -func (o PipelineTriggerPtrOutput) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { +func (o PipelineClusterInitScriptFilePtrOutput) ToPipelineClusterInitScriptFilePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptFilePtrOutput { return o } -func (o PipelineTriggerPtrOutput) Elem() PipelineTriggerOutput { - return o.ApplyT(func(v *PipelineTrigger) PipelineTrigger { +func (o PipelineClusterInitScriptFilePtrOutput) Elem() PipelineClusterInitScriptFileOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptFile) PipelineClusterInitScriptFile { if v != nil { return *v } - var ret PipelineTrigger + var ret PipelineClusterInitScriptFile return ret - }).(PipelineTriggerOutput) -} - -func (o PipelineTriggerPtrOutput) Cron() PipelineTriggerCronPtrOutput { - return o.ApplyT(func(v *PipelineTrigger) *PipelineTriggerCron { - if v == nil { - return nil - } - return v.Cron - }).(PipelineTriggerCronPtrOutput) + }).(PipelineClusterInitScriptFileOutput) } -func (o PipelineTriggerPtrOutput) Manual() PipelineTriggerManualPtrOutput { - return o.ApplyT(func(v *PipelineTrigger) *PipelineTriggerManual { +func (o PipelineClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptFile) *string { if v == nil { return nil } - return v.Manual - }).(PipelineTriggerManualPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type PipelineTriggerCron struct { - QuartzCronSchedule *string `pulumi:"quartzCronSchedule"` - TimezoneId *string `pulumi:"timezoneId"` +type PipelineClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// PipelineTriggerCronInput is an input type that accepts PipelineTriggerCronArgs and PipelineTriggerCronOutput values. -// You can construct a concrete instance of `PipelineTriggerCronInput` via: +// PipelineClusterInitScriptGcsInput is an input type that accepts PipelineClusterInitScriptGcsArgs and PipelineClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptGcsInput` via: // -// PipelineTriggerCronArgs{...} -type PipelineTriggerCronInput interface { +// PipelineClusterInitScriptGcsArgs{...} +type PipelineClusterInitScriptGcsInput interface { pulumi.Input - ToPipelineTriggerCronOutput() PipelineTriggerCronOutput - ToPipelineTriggerCronOutputWithContext(context.Context) PipelineTriggerCronOutput + ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput + ToPipelineClusterInitScriptGcsOutputWithContext(context.Context) PipelineClusterInitScriptGcsOutput } -type PipelineTriggerCronArgs struct { - QuartzCronSchedule pulumi.StringPtrInput `pulumi:"quartzCronSchedule"` - TimezoneId pulumi.StringPtrInput `pulumi:"timezoneId"` +type PipelineClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (PipelineTriggerCronArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineTriggerCron)(nil)).Elem() +func (PipelineClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() } -func (i PipelineTriggerCronArgs) ToPipelineTriggerCronOutput() PipelineTriggerCronOutput { - return i.ToPipelineTriggerCronOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { + return i.ToPipelineClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i PipelineTriggerCronArgs) ToPipelineTriggerCronOutputWithContext(ctx context.Context) PipelineTriggerCronOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerCronOutput) +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput) } -func (i PipelineTriggerCronArgs) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { - return i.ToPipelineTriggerCronPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { + return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i PipelineTriggerCronArgs) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerCronOutput).ToPipelineTriggerCronPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptGcsArgs) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsOutput).ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx) } -// PipelineTriggerCronPtrInput is an input type that accepts PipelineTriggerCronArgs, PipelineTriggerCronPtr and PipelineTriggerCronPtrOutput values. -// You can construct a concrete instance of `PipelineTriggerCronPtrInput` via: +// PipelineClusterInitScriptGcsPtrInput is an input type that accepts PipelineClusterInitScriptGcsArgs, PipelineClusterInitScriptGcsPtr and PipelineClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptGcsPtrInput` via: // -// PipelineTriggerCronArgs{...} +// PipelineClusterInitScriptGcsArgs{...} // // or: // // nil -type PipelineTriggerCronPtrInput interface { +type PipelineClusterInitScriptGcsPtrInput interface { pulumi.Input - ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput - ToPipelineTriggerCronPtrOutputWithContext(context.Context) PipelineTriggerCronPtrOutput + ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput + ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Context) PipelineClusterInitScriptGcsPtrOutput } -type pipelineTriggerCronPtrType PipelineTriggerCronArgs +type pipelineClusterInitScriptGcsPtrType PipelineClusterInitScriptGcsArgs -func PipelineTriggerCronPtr(v *PipelineTriggerCronArgs) PipelineTriggerCronPtrInput { - return (*pipelineTriggerCronPtrType)(v) +func PipelineClusterInitScriptGcsPtr(v *PipelineClusterInitScriptGcsArgs) PipelineClusterInitScriptGcsPtrInput { + return (*pipelineClusterInitScriptGcsPtrType)(v) } -func (*pipelineTriggerCronPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineTriggerCron)(nil)).Elem() +func (*pipelineClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() } -func (i *pipelineTriggerCronPtrType) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { - return i.ToPipelineTriggerCronPtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { + return i.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *pipelineTriggerCronPtrType) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerCronPtrOutput) +func (i *pipelineClusterInitScriptGcsPtrType) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptGcsPtrOutput) } -type PipelineTriggerCronOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (PipelineTriggerCronOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineTriggerCron)(nil)).Elem() +func (PipelineClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptGcs)(nil)).Elem() } -func (o PipelineTriggerCronOutput) ToPipelineTriggerCronOutput() PipelineTriggerCronOutput { +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutput() PipelineClusterInitScriptGcsOutput { return o } -func (o PipelineTriggerCronOutput) ToPipelineTriggerCronOutputWithContext(ctx context.Context) PipelineTriggerCronOutput { +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsOutput { return o } -func (o PipelineTriggerCronOutput) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { - return o.ToPipelineTriggerCronPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { + return o.ToPipelineClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o PipelineTriggerCronOutput) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineTriggerCron) *PipelineTriggerCron { +func (o PipelineClusterInitScriptGcsOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptGcs) *PipelineClusterInitScriptGcs { return &v - }).(PipelineTriggerCronPtrOutput) -} - -func (o PipelineTriggerCronOutput) QuartzCronSchedule() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineTriggerCron) *string { return v.QuartzCronSchedule }).(pulumi.StringPtrOutput) + }).(PipelineClusterInitScriptGcsPtrOutput) } -func (o PipelineTriggerCronOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PipelineTriggerCron) *string { return v.TimezoneId }).(pulumi.StringPtrOutput) +func (o PipelineClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type PipelineTriggerCronPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (PipelineTriggerCronPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineTriggerCron)(nil)).Elem() +func (PipelineClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptGcs)(nil)).Elem() } -func (o PipelineTriggerCronPtrOutput) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { +func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutput() PipelineClusterInitScriptGcsPtrOutput { return o } -func (o PipelineTriggerCronPtrOutput) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { +func (o PipelineClusterInitScriptGcsPtrOutput) ToPipelineClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptGcsPtrOutput { return o } -func (o PipelineTriggerCronPtrOutput) Elem() PipelineTriggerCronOutput { - return o.ApplyT(func(v *PipelineTriggerCron) PipelineTriggerCron { +func (o PipelineClusterInitScriptGcsPtrOutput) Elem() PipelineClusterInitScriptGcsOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptGcs) PipelineClusterInitScriptGcs { if v != nil { return *v } - var ret PipelineTriggerCron + var ret PipelineClusterInitScriptGcs return ret - }).(PipelineTriggerCronOutput) -} - -func (o PipelineTriggerCronPtrOutput) QuartzCronSchedule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineTriggerCron) *string { - if v == nil { - return nil - } - return v.QuartzCronSchedule - }).(pulumi.StringPtrOutput) + }).(PipelineClusterInitScriptGcsOutput) } -func (o PipelineTriggerCronPtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PipelineTriggerCron) *string { +func (o PipelineClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptGcs) *string { if v == nil { return nil } - return v.TimezoneId + return &v.Destination }).(pulumi.StringPtrOutput) } -type PipelineTriggerManual struct { +type PipelineClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// PipelineTriggerManualInput is an input type that accepts PipelineTriggerManualArgs and PipelineTriggerManualOutput values. -// You can construct a concrete instance of `PipelineTriggerManualInput` via: +// PipelineClusterInitScriptS3Input is an input type that accepts PipelineClusterInitScriptS3Args and PipelineClusterInitScriptS3Output values. +// You can construct a concrete instance of `PipelineClusterInitScriptS3Input` via: // -// PipelineTriggerManualArgs{...} -type PipelineTriggerManualInput interface { +// PipelineClusterInitScriptS3Args{...} +type PipelineClusterInitScriptS3Input interface { pulumi.Input - ToPipelineTriggerManualOutput() PipelineTriggerManualOutput - ToPipelineTriggerManualOutputWithContext(context.Context) PipelineTriggerManualOutput + ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output + ToPipelineClusterInitScriptS3OutputWithContext(context.Context) PipelineClusterInitScriptS3Output } -type PipelineTriggerManualArgs struct { +type PipelineClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (PipelineTriggerManualArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineTriggerManual)(nil)).Elem() +func (PipelineClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() } -func (i PipelineTriggerManualArgs) ToPipelineTriggerManualOutput() PipelineTriggerManualOutput { - return i.ToPipelineTriggerManualOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { + return i.ToPipelineClusterInitScriptS3OutputWithContext(context.Background()) } -func (i PipelineTriggerManualArgs) ToPipelineTriggerManualOutputWithContext(ctx context.Context) PipelineTriggerManualOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerManualOutput) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output) } -func (i PipelineTriggerManualArgs) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { - return i.ToPipelineTriggerManualPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { + return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i PipelineTriggerManualArgs) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerManualOutput).ToPipelineTriggerManualPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptS3Args) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3Output).ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx) } -// PipelineTriggerManualPtrInput is an input type that accepts PipelineTriggerManualArgs, PipelineTriggerManualPtr and PipelineTriggerManualPtrOutput values. -// You can construct a concrete instance of `PipelineTriggerManualPtrInput` via: +// PipelineClusterInitScriptS3PtrInput is an input type that accepts PipelineClusterInitScriptS3Args, PipelineClusterInitScriptS3Ptr and PipelineClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptS3PtrInput` via: // -// PipelineTriggerManualArgs{...} +// PipelineClusterInitScriptS3Args{...} // // or: // // nil -type PipelineTriggerManualPtrInput interface { +type PipelineClusterInitScriptS3PtrInput interface { pulumi.Input - ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput - ToPipelineTriggerManualPtrOutputWithContext(context.Context) PipelineTriggerManualPtrOutput + ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput + ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Context) PipelineClusterInitScriptS3PtrOutput } -type pipelineTriggerManualPtrType PipelineTriggerManualArgs +type pipelineClusterInitScriptS3PtrType PipelineClusterInitScriptS3Args -func PipelineTriggerManualPtr(v *PipelineTriggerManualArgs) PipelineTriggerManualPtrInput { - return (*pipelineTriggerManualPtrType)(v) +func PipelineClusterInitScriptS3Ptr(v *PipelineClusterInitScriptS3Args) PipelineClusterInitScriptS3PtrInput { + return (*pipelineClusterInitScriptS3PtrType)(v) } -func (*pipelineTriggerManualPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineTriggerManual)(nil)).Elem() +func (*pipelineClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() } -func (i *pipelineTriggerManualPtrType) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { - return i.ToPipelineTriggerManualPtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { + return i.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *pipelineTriggerManualPtrType) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerManualPtrOutput) +func (i *pipelineClusterInitScriptS3PtrType) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptS3PtrOutput) } -type PipelineTriggerManualOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (PipelineTriggerManualOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PipelineTriggerManual)(nil)).Elem() +func (PipelineClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptS3)(nil)).Elem() } -func (o PipelineTriggerManualOutput) ToPipelineTriggerManualOutput() PipelineTriggerManualOutput { +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3Output() PipelineClusterInitScriptS3Output { return o } -func (o PipelineTriggerManualOutput) ToPipelineTriggerManualOutputWithContext(ctx context.Context) PipelineTriggerManualOutput { +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3OutputWithContext(ctx context.Context) PipelineClusterInitScriptS3Output { return o } -func (o PipelineTriggerManualOutput) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { - return o.ToPipelineTriggerManualPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { + return o.ToPipelineClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o PipelineTriggerManualOutput) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineTriggerManual) *PipelineTriggerManual { +func (o PipelineClusterInitScriptS3Output) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptS3) *PipelineClusterInitScriptS3 { return &v - }).(PipelineTriggerManualPtrOutput) -} - -type PipelineTriggerManualPtrOutput struct{ *pulumi.OutputState } - -func (PipelineTriggerManualPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PipelineTriggerManual)(nil)).Elem() -} - -func (o PipelineTriggerManualPtrOutput) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { - return o -} - -func (o PipelineTriggerManualPtrOutput) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { - return o -} - -func (o PipelineTriggerManualPtrOutput) Elem() PipelineTriggerManualOutput { - return o.ApplyT(func(v *PipelineTriggerManual) PipelineTriggerManual { - if v != nil { - return *v - } - var ret PipelineTriggerManual - return ret - }).(PipelineTriggerManualOutput) -} - -type QualityMonitorCustomMetric struct { - // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - Definition string `pulumi:"definition"` - // Columns on the monitored table to apply the custom metrics to. - InputColumns []string `pulumi:"inputColumns"` - // Name of the custom metric. - Name string `pulumi:"name"` - // The output type of the custom metric. - OutputDataType string `pulumi:"outputDataType"` - // The type of the custom metric. - Type string `pulumi:"type"` -} - -// QualityMonitorCustomMetricInput is an input type that accepts QualityMonitorCustomMetricArgs and QualityMonitorCustomMetricOutput values. -// You can construct a concrete instance of `QualityMonitorCustomMetricInput` via: -// -// QualityMonitorCustomMetricArgs{...} -type QualityMonitorCustomMetricInput interface { - pulumi.Input - - ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput - ToQualityMonitorCustomMetricOutputWithContext(context.Context) QualityMonitorCustomMetricOutput -} - -type QualityMonitorCustomMetricArgs struct { - // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - Definition pulumi.StringInput `pulumi:"definition"` - // Columns on the monitored table to apply the custom metrics to. - InputColumns pulumi.StringArrayInput `pulumi:"inputColumns"` - // Name of the custom metric. - Name pulumi.StringInput `pulumi:"name"` - // The output type of the custom metric. - OutputDataType pulumi.StringInput `pulumi:"outputDataType"` - // The type of the custom metric. - Type pulumi.StringInput `pulumi:"type"` + }).(PipelineClusterInitScriptS3PtrOutput) } -func (QualityMonitorCustomMetricArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorCustomMetric)(nil)).Elem() +func (o PipelineClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (i QualityMonitorCustomMetricArgs) ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput { - return i.ToQualityMonitorCustomMetricOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (i QualityMonitorCustomMetricArgs) ToQualityMonitorCustomMetricOutputWithContext(ctx context.Context) QualityMonitorCustomMetricOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorCustomMetricOutput) +func (o PipelineClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -// QualityMonitorCustomMetricArrayInput is an input type that accepts QualityMonitorCustomMetricArray and QualityMonitorCustomMetricArrayOutput values. -// You can construct a concrete instance of `QualityMonitorCustomMetricArrayInput` via: -// -// QualityMonitorCustomMetricArray{ QualityMonitorCustomMetricArgs{...} } -type QualityMonitorCustomMetricArrayInput interface { - pulumi.Input - - ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput - ToQualityMonitorCustomMetricArrayOutputWithContext(context.Context) QualityMonitorCustomMetricArrayOutput +func (o PipelineClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -type QualityMonitorCustomMetricArray []QualityMonitorCustomMetricInput - -func (QualityMonitorCustomMetricArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]QualityMonitorCustomMetric)(nil)).Elem() +func (o PipelineClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (i QualityMonitorCustomMetricArray) ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput { - return i.ToQualityMonitorCustomMetricArrayOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (i QualityMonitorCustomMetricArray) ToQualityMonitorCustomMetricArrayOutputWithContext(ctx context.Context) QualityMonitorCustomMetricArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorCustomMetricArrayOutput) +func (o PipelineClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -type QualityMonitorCustomMetricOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (QualityMonitorCustomMetricOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorCustomMetric)(nil)).Elem() +func (PipelineClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptS3)(nil)).Elem() } -func (o QualityMonitorCustomMetricOutput) ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput { +func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutput() PipelineClusterInitScriptS3PtrOutput { return o } -func (o QualityMonitorCustomMetricOutput) ToQualityMonitorCustomMetricOutputWithContext(ctx context.Context) QualityMonitorCustomMetricOutput { +func (o PipelineClusterInitScriptS3PtrOutput) ToPipelineClusterInitScriptS3PtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptS3PtrOutput { return o } -// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) -func (o QualityMonitorCustomMetricOutput) Definition() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Definition }).(pulumi.StringOutput) -} - -// Columns on the monitored table to apply the custom metrics to. -func (o QualityMonitorCustomMetricOutput) InputColumns() pulumi.StringArrayOutput { - return o.ApplyT(func(v QualityMonitorCustomMetric) []string { return v.InputColumns }).(pulumi.StringArrayOutput) +func (o PipelineClusterInitScriptS3PtrOutput) Elem() PipelineClusterInitScriptS3Output { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) PipelineClusterInitScriptS3 { + if v != nil { + return *v + } + var ret PipelineClusterInitScriptS3 + return ret + }).(PipelineClusterInitScriptS3Output) } -// Name of the custom metric. -func (o QualityMonitorCustomMetricOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Name }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -// The output type of the custom metric. -func (o QualityMonitorCustomMetricOutput) OutputDataType() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.OutputDataType }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// The type of the custom metric. -func (o QualityMonitorCustomMetricOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Type }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -type QualityMonitorCustomMetricArrayOutput struct{ *pulumi.OutputState } - -func (QualityMonitorCustomMetricArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]QualityMonitorCustomMetric)(nil)).Elem() +func (o PipelineClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o QualityMonitorCustomMetricArrayOutput) ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput { - return o +func (o PipelineClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o QualityMonitorCustomMetricArrayOutput) ToQualityMonitorCustomMetricArrayOutputWithContext(ctx context.Context) QualityMonitorCustomMetricArrayOutput { - return o +func (o PipelineClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o QualityMonitorCustomMetricArrayOutput) Index(i pulumi.IntInput) QualityMonitorCustomMetricOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) QualityMonitorCustomMetric { - return vs[0].([]QualityMonitorCustomMetric)[vs[1].(int)] - }).(QualityMonitorCustomMetricOutput) +func (o PipelineClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type QualityMonitorDataClassificationConfig struct { - Enabled *bool `pulumi:"enabled"` +type PipelineClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -// QualityMonitorDataClassificationConfigInput is an input type that accepts QualityMonitorDataClassificationConfigArgs and QualityMonitorDataClassificationConfigOutput values. -// You can construct a concrete instance of `QualityMonitorDataClassificationConfigInput` via: +// PipelineClusterInitScriptVolumesInput is an input type that accepts PipelineClusterInitScriptVolumesArgs and PipelineClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptVolumesInput` via: // -// QualityMonitorDataClassificationConfigArgs{...} -type QualityMonitorDataClassificationConfigInput interface { +// PipelineClusterInitScriptVolumesArgs{...} +type PipelineClusterInitScriptVolumesInput interface { pulumi.Input - ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput - ToQualityMonitorDataClassificationConfigOutputWithContext(context.Context) QualityMonitorDataClassificationConfigOutput + ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput + ToPipelineClusterInitScriptVolumesOutputWithContext(context.Context) PipelineClusterInitScriptVolumesOutput } -type QualityMonitorDataClassificationConfigArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type PipelineClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (QualityMonitorDataClassificationConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorDataClassificationConfig)(nil)).Elem() +func (PipelineClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput { - return i.ToQualityMonitorDataClassificationConfigOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { + return i.ToPipelineClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigOutput) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput) } -func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { - return i.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { + return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigOutput).ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptVolumesArgs) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesOutput).ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// QualityMonitorDataClassificationConfigPtrInput is an input type that accepts QualityMonitorDataClassificationConfigArgs, QualityMonitorDataClassificationConfigPtr and QualityMonitorDataClassificationConfigPtrOutput values. -// You can construct a concrete instance of `QualityMonitorDataClassificationConfigPtrInput` via: +// PipelineClusterInitScriptVolumesPtrInput is an input type that accepts PipelineClusterInitScriptVolumesArgs, PipelineClusterInitScriptVolumesPtr and PipelineClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptVolumesPtrInput` via: // -// QualityMonitorDataClassificationConfigArgs{...} +// PipelineClusterInitScriptVolumesArgs{...} // // or: // // nil -type QualityMonitorDataClassificationConfigPtrInput interface { +type PipelineClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput - ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Context) QualityMonitorDataClassificationConfigPtrOutput + ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput + ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Context) PipelineClusterInitScriptVolumesPtrOutput } -type qualityMonitorDataClassificationConfigPtrType QualityMonitorDataClassificationConfigArgs +type pipelineClusterInitScriptVolumesPtrType PipelineClusterInitScriptVolumesArgs -func QualityMonitorDataClassificationConfigPtr(v *QualityMonitorDataClassificationConfigArgs) QualityMonitorDataClassificationConfigPtrInput { - return (*qualityMonitorDataClassificationConfigPtrType)(v) +func PipelineClusterInitScriptVolumesPtr(v *PipelineClusterInitScriptVolumesArgs) PipelineClusterInitScriptVolumesPtrInput { + return (*pipelineClusterInitScriptVolumesPtrType)(v) } -func (*qualityMonitorDataClassificationConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorDataClassificationConfig)(nil)).Elem() +func (*pipelineClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (i *qualityMonitorDataClassificationConfigPtrType) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { - return i.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { + return i.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *qualityMonitorDataClassificationConfigPtrType) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigPtrOutput) +func (i *pipelineClusterInitScriptVolumesPtrType) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptVolumesPtrOutput) } -type QualityMonitorDataClassificationConfigOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (QualityMonitorDataClassificationConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorDataClassificationConfig)(nil)).Elem() +func (PipelineClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput { +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutput() PipelineClusterInitScriptVolumesOutput { return o } -func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigOutput { +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesOutput { return o } -func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { - return o.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { + return o.ToPipelineClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorDataClassificationConfig) *QualityMonitorDataClassificationConfig { +func (o PipelineClusterInitScriptVolumesOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptVolumes) *PipelineClusterInitScriptVolumes { return &v - }).(QualityMonitorDataClassificationConfigPtrOutput) + }).(PipelineClusterInitScriptVolumesPtrOutput) } -func (o QualityMonitorDataClassificationConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v QualityMonitorDataClassificationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o PipelineClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type QualityMonitorDataClassificationConfigPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (QualityMonitorDataClassificationConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorDataClassificationConfig)(nil)).Elem() +func (PipelineClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptVolumes)(nil)).Elem() } -func (o QualityMonitorDataClassificationConfigPtrOutput) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { +func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutput() PipelineClusterInitScriptVolumesPtrOutput { return o } -func (o QualityMonitorDataClassificationConfigPtrOutput) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { +func (o PipelineClusterInitScriptVolumesPtrOutput) ToPipelineClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptVolumesPtrOutput { return o } -func (o QualityMonitorDataClassificationConfigPtrOutput) Elem() QualityMonitorDataClassificationConfigOutput { - return o.ApplyT(func(v *QualityMonitorDataClassificationConfig) QualityMonitorDataClassificationConfig { +func (o PipelineClusterInitScriptVolumesPtrOutput) Elem() PipelineClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) PipelineClusterInitScriptVolumes { if v != nil { return *v } - var ret QualityMonitorDataClassificationConfig + var ret PipelineClusterInitScriptVolumes return ret - }).(QualityMonitorDataClassificationConfigOutput) + }).(PipelineClusterInitScriptVolumesOutput) } -func (o QualityMonitorDataClassificationConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *QualityMonitorDataClassificationConfig) *bool { +func (o PipelineClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type QualityMonitorInferenceLog struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities []string `pulumi:"granularities"` - // Column of the model label - LabelCol *string `pulumi:"labelCol"` - // Column of the model id or version - ModelIdCol string `pulumi:"modelIdCol"` - // Column of the model prediction - PredictionCol string `pulumi:"predictionCol"` - // Column of the model prediction probabilities - PredictionProbaCol *string `pulumi:"predictionProbaCol"` - // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - ProblemType string `pulumi:"problemType"` - // Column of the timestamp of predictions - TimestampCol string `pulumi:"timestampCol"` +type PipelineClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// QualityMonitorInferenceLogInput is an input type that accepts QualityMonitorInferenceLogArgs and QualityMonitorInferenceLogOutput values. -// You can construct a concrete instance of `QualityMonitorInferenceLogInput` via: +// PipelineClusterInitScriptWorkspaceInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs and PipelineClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptWorkspaceInput` via: // -// QualityMonitorInferenceLogArgs{...} -type QualityMonitorInferenceLogInput interface { +// PipelineClusterInitScriptWorkspaceArgs{...} +type PipelineClusterInitScriptWorkspaceInput interface { pulumi.Input - ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput - ToQualityMonitorInferenceLogOutputWithContext(context.Context) QualityMonitorInferenceLogOutput + ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput + ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Context) PipelineClusterInitScriptWorkspaceOutput } -type QualityMonitorInferenceLogArgs struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities pulumi.StringArrayInput `pulumi:"granularities"` - // Column of the model label - LabelCol pulumi.StringPtrInput `pulumi:"labelCol"` - // Column of the model id or version - ModelIdCol pulumi.StringInput `pulumi:"modelIdCol"` - // Column of the model prediction - PredictionCol pulumi.StringInput `pulumi:"predictionCol"` - // Column of the model prediction probabilities - PredictionProbaCol pulumi.StringPtrInput `pulumi:"predictionProbaCol"` - // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - ProblemType pulumi.StringInput `pulumi:"problemType"` - // Column of the timestamp of predictions - TimestampCol pulumi.StringInput `pulumi:"timestampCol"` +type PipelineClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (QualityMonitorInferenceLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorInferenceLog)(nil)).Elem() +func (PipelineClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput { - return i.ToQualityMonitorInferenceLogOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { + return i.ToPipelineClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogOutputWithContext(ctx context.Context) QualityMonitorInferenceLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogOutput) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput) } -func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { - return i.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { + return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogOutput).ToQualityMonitorInferenceLogPtrOutputWithContext(ctx) +func (i PipelineClusterInitScriptWorkspaceArgs) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspaceOutput).ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// QualityMonitorInferenceLogPtrInput is an input type that accepts QualityMonitorInferenceLogArgs, QualityMonitorInferenceLogPtr and QualityMonitorInferenceLogPtrOutput values. -// You can construct a concrete instance of `QualityMonitorInferenceLogPtrInput` via: +// PipelineClusterInitScriptWorkspacePtrInput is an input type that accepts PipelineClusterInitScriptWorkspaceArgs, PipelineClusterInitScriptWorkspacePtr and PipelineClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `PipelineClusterInitScriptWorkspacePtrInput` via: // -// QualityMonitorInferenceLogArgs{...} +// PipelineClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type QualityMonitorInferenceLogPtrInput interface { +type PipelineClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput - ToQualityMonitorInferenceLogPtrOutputWithContext(context.Context) QualityMonitorInferenceLogPtrOutput + ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput + ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Context) PipelineClusterInitScriptWorkspacePtrOutput } -type qualityMonitorInferenceLogPtrType QualityMonitorInferenceLogArgs +type pipelineClusterInitScriptWorkspacePtrType PipelineClusterInitScriptWorkspaceArgs -func QualityMonitorInferenceLogPtr(v *QualityMonitorInferenceLogArgs) QualityMonitorInferenceLogPtrInput { - return (*qualityMonitorInferenceLogPtrType)(v) +func PipelineClusterInitScriptWorkspacePtr(v *PipelineClusterInitScriptWorkspaceArgs) PipelineClusterInitScriptWorkspacePtrInput { + return (*pipelineClusterInitScriptWorkspacePtrType)(v) } -func (*qualityMonitorInferenceLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorInferenceLog)(nil)).Elem() +func (*pipelineClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (i *qualityMonitorInferenceLogPtrType) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { - return i.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) +func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { + return i.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *qualityMonitorInferenceLogPtrType) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogPtrOutput) +func (i *pipelineClusterInitScriptWorkspacePtrType) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineClusterInitScriptWorkspacePtrOutput) } -type QualityMonitorInferenceLogOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (QualityMonitorInferenceLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorInferenceLog)(nil)).Elem() +func (PipelineClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput { +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutput() PipelineClusterInitScriptWorkspaceOutput { return o } -func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogOutputWithContext(ctx context.Context) QualityMonitorInferenceLogOutput { +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspaceOutput { return o } -func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { - return o.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { + return o.ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorInferenceLog) *QualityMonitorInferenceLog { +func (o PipelineClusterInitScriptWorkspaceOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineClusterInitScriptWorkspace) *PipelineClusterInitScriptWorkspace { return &v - }).(QualityMonitorInferenceLogPtrOutput) -} - -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o QualityMonitorInferenceLogOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) []string { return v.Granularities }).(pulumi.StringArrayOutput) -} - -// Column of the model label -func (o QualityMonitorInferenceLogOutput) LabelCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) *string { return v.LabelCol }).(pulumi.StringPtrOutput) -} - -// Column of the model id or version -func (o QualityMonitorInferenceLogOutput) ModelIdCol() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.ModelIdCol }).(pulumi.StringOutput) -} - -// Column of the model prediction -func (o QualityMonitorInferenceLogOutput) PredictionCol() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.PredictionCol }).(pulumi.StringOutput) -} - -// Column of the model prediction probabilities -func (o QualityMonitorInferenceLogOutput) PredictionProbaCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) *string { return v.PredictionProbaCol }).(pulumi.StringPtrOutput) -} - -// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` -func (o QualityMonitorInferenceLogOutput) ProblemType() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.ProblemType }).(pulumi.StringOutput) + }).(PipelineClusterInitScriptWorkspacePtrOutput) } -// Column of the timestamp of predictions -func (o QualityMonitorInferenceLogOutput) TimestampCol() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.TimestampCol }).(pulumi.StringOutput) +func (o PipelineClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v PipelineClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type QualityMonitorInferenceLogPtrOutput struct{ *pulumi.OutputState } +type PipelineClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (QualityMonitorInferenceLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorInferenceLog)(nil)).Elem() +func (PipelineClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineClusterInitScriptWorkspace)(nil)).Elem() } -func (o QualityMonitorInferenceLogPtrOutput) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { +func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutput() PipelineClusterInitScriptWorkspacePtrOutput { return o } -func (o QualityMonitorInferenceLogPtrOutput) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { +func (o PipelineClusterInitScriptWorkspacePtrOutput) ToPipelineClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) PipelineClusterInitScriptWorkspacePtrOutput { return o } -func (o QualityMonitorInferenceLogPtrOutput) Elem() QualityMonitorInferenceLogOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) QualityMonitorInferenceLog { +func (o PipelineClusterInitScriptWorkspacePtrOutput) Elem() PipelineClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) PipelineClusterInitScriptWorkspace { if v != nil { return *v } - var ret QualityMonitorInferenceLog + var ret PipelineClusterInitScriptWorkspace return ret - }).(QualityMonitorInferenceLogOutput) -} - -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o QualityMonitorInferenceLogPtrOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) []string { - if v == nil { - return nil - } - return v.Granularities - }).(pulumi.StringArrayOutput) -} - -// Column of the model label -func (o QualityMonitorInferenceLogPtrOutput) LabelCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { - if v == nil { - return nil - } - return v.LabelCol - }).(pulumi.StringPtrOutput) -} - -// Column of the model id or version -func (o QualityMonitorInferenceLogPtrOutput) ModelIdCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { - if v == nil { - return nil - } - return &v.ModelIdCol - }).(pulumi.StringPtrOutput) -} - -// Column of the model prediction -func (o QualityMonitorInferenceLogPtrOutput) PredictionCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { - if v == nil { - return nil - } - return &v.PredictionCol - }).(pulumi.StringPtrOutput) -} - -// Column of the model prediction probabilities -func (o QualityMonitorInferenceLogPtrOutput) PredictionProbaCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { - if v == nil { - return nil - } - return v.PredictionProbaCol - }).(pulumi.StringPtrOutput) -} - -// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` -func (o QualityMonitorInferenceLogPtrOutput) ProblemType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { - if v == nil { - return nil - } - return &v.ProblemType - }).(pulumi.StringPtrOutput) + }).(PipelineClusterInitScriptWorkspaceOutput) } -// Column of the timestamp of predictions -func (o QualityMonitorInferenceLogPtrOutput) TimestampCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { +func (o PipelineClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineClusterInitScriptWorkspace) *string { if v == nil { return nil } - return &v.TimestampCol + return &v.Destination }).(pulumi.StringPtrOutput) } -type QualityMonitorNotifications struct { - // who to send notifications to on monitor failure. - OnFailure *QualityMonitorNotificationsOnFailure `pulumi:"onFailure"` - // Who to send notifications to when new data classification tags are detected. - OnNewClassificationTagDetected *QualityMonitorNotificationsOnNewClassificationTagDetected `pulumi:"onNewClassificationTagDetected"` +type PipelineDeployment struct { + // The deployment method that manages the pipeline. + Kind *string `pulumi:"kind"` + // The path to the file containing metadata about the deployment. + MetadataFilePath *string `pulumi:"metadataFilePath"` } -// QualityMonitorNotificationsInput is an input type that accepts QualityMonitorNotificationsArgs and QualityMonitorNotificationsOutput values. -// You can construct a concrete instance of `QualityMonitorNotificationsInput` via: +// PipelineDeploymentInput is an input type that accepts PipelineDeploymentArgs and PipelineDeploymentOutput values. +// You can construct a concrete instance of `PipelineDeploymentInput` via: // -// QualityMonitorNotificationsArgs{...} -type QualityMonitorNotificationsInput interface { +// PipelineDeploymentArgs{...} +type PipelineDeploymentInput interface { pulumi.Input - ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput - ToQualityMonitorNotificationsOutputWithContext(context.Context) QualityMonitorNotificationsOutput + ToPipelineDeploymentOutput() PipelineDeploymentOutput + ToPipelineDeploymentOutputWithContext(context.Context) PipelineDeploymentOutput } -type QualityMonitorNotificationsArgs struct { - // who to send notifications to on monitor failure. - OnFailure QualityMonitorNotificationsOnFailurePtrInput `pulumi:"onFailure"` - // Who to send notifications to when new data classification tags are detected. - OnNewClassificationTagDetected QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput `pulumi:"onNewClassificationTagDetected"` +type PipelineDeploymentArgs struct { + // The deployment method that manages the pipeline. + Kind pulumi.StringPtrInput `pulumi:"kind"` + // The path to the file containing metadata about the deployment. + MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` } -func (QualityMonitorNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorNotifications)(nil)).Elem() +func (PipelineDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineDeployment)(nil)).Elem() } -func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput { - return i.ToQualityMonitorNotificationsOutputWithContext(context.Background()) +func (i PipelineDeploymentArgs) ToPipelineDeploymentOutput() PipelineDeploymentOutput { + return i.ToPipelineDeploymentOutputWithContext(context.Background()) } -func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsOutputWithContext(ctx context.Context) QualityMonitorNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOutput) +func (i PipelineDeploymentArgs) ToPipelineDeploymentOutputWithContext(ctx context.Context) PipelineDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineDeploymentOutput) } -func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { - return i.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) +func (i PipelineDeploymentArgs) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { + return i.ToPipelineDeploymentPtrOutputWithContext(context.Background()) } -func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOutput).ToQualityMonitorNotificationsPtrOutputWithContext(ctx) +func (i PipelineDeploymentArgs) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineDeploymentOutput).ToPipelineDeploymentPtrOutputWithContext(ctx) } -// QualityMonitorNotificationsPtrInput is an input type that accepts QualityMonitorNotificationsArgs, QualityMonitorNotificationsPtr and QualityMonitorNotificationsPtrOutput values. -// You can construct a concrete instance of `QualityMonitorNotificationsPtrInput` via: +// PipelineDeploymentPtrInput is an input type that accepts PipelineDeploymentArgs, PipelineDeploymentPtr and PipelineDeploymentPtrOutput values. +// You can construct a concrete instance of `PipelineDeploymentPtrInput` via: // -// QualityMonitorNotificationsArgs{...} +// PipelineDeploymentArgs{...} // // or: // // nil -type QualityMonitorNotificationsPtrInput interface { +type PipelineDeploymentPtrInput interface { pulumi.Input - ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput - ToQualityMonitorNotificationsPtrOutputWithContext(context.Context) QualityMonitorNotificationsPtrOutput + ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput + ToPipelineDeploymentPtrOutputWithContext(context.Context) PipelineDeploymentPtrOutput } -type qualityMonitorNotificationsPtrType QualityMonitorNotificationsArgs +type pipelineDeploymentPtrType PipelineDeploymentArgs -func QualityMonitorNotificationsPtr(v *QualityMonitorNotificationsArgs) QualityMonitorNotificationsPtrInput { - return (*qualityMonitorNotificationsPtrType)(v) +func PipelineDeploymentPtr(v *PipelineDeploymentArgs) PipelineDeploymentPtrInput { + return (*pipelineDeploymentPtrType)(v) } -func (*qualityMonitorNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorNotifications)(nil)).Elem() +func (*pipelineDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineDeployment)(nil)).Elem() } -func (i *qualityMonitorNotificationsPtrType) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { - return i.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) +func (i *pipelineDeploymentPtrType) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { + return i.ToPipelineDeploymentPtrOutputWithContext(context.Background()) } -func (i *qualityMonitorNotificationsPtrType) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsPtrOutput) +func (i *pipelineDeploymentPtrType) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineDeploymentPtrOutput) } -type QualityMonitorNotificationsOutput struct{ *pulumi.OutputState } +type PipelineDeploymentOutput struct{ *pulumi.OutputState } -func (QualityMonitorNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorNotifications)(nil)).Elem() +func (PipelineDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineDeployment)(nil)).Elem() } -func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput { +func (o PipelineDeploymentOutput) ToPipelineDeploymentOutput() PipelineDeploymentOutput { return o } -func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsOutputWithContext(ctx context.Context) QualityMonitorNotificationsOutput { +func (o PipelineDeploymentOutput) ToPipelineDeploymentOutputWithContext(ctx context.Context) PipelineDeploymentOutput { return o } -func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { - return o.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) +func (o PipelineDeploymentOutput) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { + return o.ToPipelineDeploymentPtrOutputWithContext(context.Background()) } -func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotifications) *QualityMonitorNotifications { +func (o PipelineDeploymentOutput) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineDeployment) *PipelineDeployment { return &v - }).(QualityMonitorNotificationsPtrOutput) + }).(PipelineDeploymentPtrOutput) } -// who to send notifications to on monitor failure. -func (o QualityMonitorNotificationsOutput) OnFailure() QualityMonitorNotificationsOnFailurePtrOutput { - return o.ApplyT(func(v QualityMonitorNotifications) *QualityMonitorNotificationsOnFailure { return v.OnFailure }).(QualityMonitorNotificationsOnFailurePtrOutput) +// The deployment method that manages the pipeline. +func (o PipelineDeploymentOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineDeployment) *string { return v.Kind }).(pulumi.StringPtrOutput) } -// Who to send notifications to when new data classification tags are detected. -func (o QualityMonitorNotificationsOutput) OnNewClassificationTagDetected() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ApplyT(func(v QualityMonitorNotifications) *QualityMonitorNotificationsOnNewClassificationTagDetected { - return v.OnNewClassificationTagDetected - }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +// The path to the file containing metadata about the deployment. +func (o PipelineDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) } -type QualityMonitorNotificationsPtrOutput struct{ *pulumi.OutputState } +type PipelineDeploymentPtrOutput struct{ *pulumi.OutputState } -func (QualityMonitorNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorNotifications)(nil)).Elem() +func (PipelineDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineDeployment)(nil)).Elem() } -func (o QualityMonitorNotificationsPtrOutput) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { +func (o PipelineDeploymentPtrOutput) ToPipelineDeploymentPtrOutput() PipelineDeploymentPtrOutput { return o } -func (o QualityMonitorNotificationsPtrOutput) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { +func (o PipelineDeploymentPtrOutput) ToPipelineDeploymentPtrOutputWithContext(ctx context.Context) PipelineDeploymentPtrOutput { return o } -func (o QualityMonitorNotificationsPtrOutput) Elem() QualityMonitorNotificationsOutput { - return o.ApplyT(func(v *QualityMonitorNotifications) QualityMonitorNotifications { +func (o PipelineDeploymentPtrOutput) Elem() PipelineDeploymentOutput { + return o.ApplyT(func(v *PipelineDeployment) PipelineDeployment { if v != nil { return *v } - var ret QualityMonitorNotifications + var ret PipelineDeployment return ret - }).(QualityMonitorNotificationsOutput) + }).(PipelineDeploymentOutput) } -// who to send notifications to on monitor failure. -func (o QualityMonitorNotificationsPtrOutput) OnFailure() QualityMonitorNotificationsOnFailurePtrOutput { - return o.ApplyT(func(v *QualityMonitorNotifications) *QualityMonitorNotificationsOnFailure { +// The deployment method that manages the pipeline. +func (o PipelineDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineDeployment) *string { if v == nil { return nil } - return v.OnFailure - }).(QualityMonitorNotificationsOnFailurePtrOutput) + return v.Kind + }).(pulumi.StringPtrOutput) } -// Who to send notifications to when new data classification tags are detected. -func (o QualityMonitorNotificationsPtrOutput) OnNewClassificationTagDetected() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ApplyT(func(v *QualityMonitorNotifications) *QualityMonitorNotificationsOnNewClassificationTagDetected { +// The path to the file containing metadata about the deployment. +func (o PipelineDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineDeployment) *string { if v == nil { return nil } - return v.OnNewClassificationTagDetected - }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) + return v.MetadataFilePath + }).(pulumi.StringPtrOutput) } -type QualityMonitorNotificationsOnFailure struct { - EmailAddresses []string `pulumi:"emailAddresses"` +type PipelineFilters struct { + // Paths to exclude. + Excludes []string `pulumi:"excludes"` + // Paths to include. + Includes []string `pulumi:"includes"` } -// QualityMonitorNotificationsOnFailureInput is an input type that accepts QualityMonitorNotificationsOnFailureArgs and QualityMonitorNotificationsOnFailureOutput values. -// You can construct a concrete instance of `QualityMonitorNotificationsOnFailureInput` via: +// PipelineFiltersInput is an input type that accepts PipelineFiltersArgs and PipelineFiltersOutput values. +// You can construct a concrete instance of `PipelineFiltersInput` via: // -// QualityMonitorNotificationsOnFailureArgs{...} -type QualityMonitorNotificationsOnFailureInput interface { +// PipelineFiltersArgs{...} +type PipelineFiltersInput interface { pulumi.Input - ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput - ToQualityMonitorNotificationsOnFailureOutputWithContext(context.Context) QualityMonitorNotificationsOnFailureOutput + ToPipelineFiltersOutput() PipelineFiltersOutput + ToPipelineFiltersOutputWithContext(context.Context) PipelineFiltersOutput } -type QualityMonitorNotificationsOnFailureArgs struct { - EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` +type PipelineFiltersArgs struct { + // Paths to exclude. + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + // Paths to include. + Includes pulumi.StringArrayInput `pulumi:"includes"` } -func (QualityMonitorNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorNotificationsOnFailure)(nil)).Elem() +func (PipelineFiltersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineFilters)(nil)).Elem() } -func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput { - return i.ToQualityMonitorNotificationsOnFailureOutputWithContext(context.Background()) +func (i PipelineFiltersArgs) ToPipelineFiltersOutput() PipelineFiltersOutput { + return i.ToPipelineFiltersOutputWithContext(context.Background()) } -func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailureOutput) +func (i PipelineFiltersArgs) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput) } -func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { - return i.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { + return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) } -func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailureOutput).ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx) +func (i PipelineFiltersArgs) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersOutput).ToPipelineFiltersPtrOutputWithContext(ctx) } -// QualityMonitorNotificationsOnFailurePtrInput is an input type that accepts QualityMonitorNotificationsOnFailureArgs, QualityMonitorNotificationsOnFailurePtr and QualityMonitorNotificationsOnFailurePtrOutput values. -// You can construct a concrete instance of `QualityMonitorNotificationsOnFailurePtrInput` via: +// PipelineFiltersPtrInput is an input type that accepts PipelineFiltersArgs, PipelineFiltersPtr and PipelineFiltersPtrOutput values. +// You can construct a concrete instance of `PipelineFiltersPtrInput` via: // -// QualityMonitorNotificationsOnFailureArgs{...} +// PipelineFiltersArgs{...} // // or: // // nil -type QualityMonitorNotificationsOnFailurePtrInput interface { +type PipelineFiltersPtrInput interface { pulumi.Input - ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput - ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Context) QualityMonitorNotificationsOnFailurePtrOutput + ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput + ToPipelineFiltersPtrOutputWithContext(context.Context) PipelineFiltersPtrOutput } -type qualityMonitorNotificationsOnFailurePtrType QualityMonitorNotificationsOnFailureArgs +type pipelineFiltersPtrType PipelineFiltersArgs -func QualityMonitorNotificationsOnFailurePtr(v *QualityMonitorNotificationsOnFailureArgs) QualityMonitorNotificationsOnFailurePtrInput { - return (*qualityMonitorNotificationsOnFailurePtrType)(v) +func PipelineFiltersPtr(v *PipelineFiltersArgs) PipelineFiltersPtrInput { + return (*pipelineFiltersPtrType)(v) } -func (*qualityMonitorNotificationsOnFailurePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorNotificationsOnFailure)(nil)).Elem() +func (*pipelineFiltersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineFilters)(nil)).Elem() } -func (i *qualityMonitorNotificationsOnFailurePtrType) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { - return i.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { + return i.ToPipelineFiltersPtrOutputWithContext(context.Background()) } -func (i *qualityMonitorNotificationsOnFailurePtrType) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailurePtrOutput) +func (i *pipelineFiltersPtrType) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineFiltersPtrOutput) } -type QualityMonitorNotificationsOnFailureOutput struct{ *pulumi.OutputState } +type PipelineFiltersOutput struct{ *pulumi.OutputState } -func (QualityMonitorNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorNotificationsOnFailure)(nil)).Elem() +func (PipelineFiltersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineFilters)(nil)).Elem() } -func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput { +func (o PipelineFiltersOutput) ToPipelineFiltersOutput() PipelineFiltersOutput { return o } -func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailureOutput { +func (o PipelineFiltersOutput) ToPipelineFiltersOutputWithContext(ctx context.Context) PipelineFiltersOutput { return o } -func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { - return o.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { + return o.ToPipelineFiltersPtrOutputWithContext(context.Background()) } -func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotificationsOnFailure) *QualityMonitorNotificationsOnFailure { +func (o PipelineFiltersOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineFilters) *PipelineFilters { return &v - }).(QualityMonitorNotificationsOnFailurePtrOutput) + }).(PipelineFiltersPtrOutput) } -func (o QualityMonitorNotificationsOnFailureOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v QualityMonitorNotificationsOnFailure) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) +// Paths to exclude. +func (o PipelineFiltersOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineFilters) []string { return v.Excludes }).(pulumi.StringArrayOutput) } -type QualityMonitorNotificationsOnFailurePtrOutput struct{ *pulumi.OutputState } +// Paths to include. +func (o PipelineFiltersOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineFilters) []string { return v.Includes }).(pulumi.StringArrayOutput) +} -func (QualityMonitorNotificationsOnFailurePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorNotificationsOnFailure)(nil)).Elem() +type PipelineFiltersPtrOutput struct{ *pulumi.OutputState } + +func (PipelineFiltersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineFilters)(nil)).Elem() } -func (o QualityMonitorNotificationsOnFailurePtrOutput) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { +func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutput() PipelineFiltersPtrOutput { return o } -func (o QualityMonitorNotificationsOnFailurePtrOutput) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { +func (o PipelineFiltersPtrOutput) ToPipelineFiltersPtrOutputWithContext(ctx context.Context) PipelineFiltersPtrOutput { return o } -func (o QualityMonitorNotificationsOnFailurePtrOutput) Elem() QualityMonitorNotificationsOnFailureOutput { - return o.ApplyT(func(v *QualityMonitorNotificationsOnFailure) QualityMonitorNotificationsOnFailure { +func (o PipelineFiltersPtrOutput) Elem() PipelineFiltersOutput { + return o.ApplyT(func(v *PipelineFilters) PipelineFilters { if v != nil { return *v } - var ret QualityMonitorNotificationsOnFailure + var ret PipelineFilters return ret - }).(QualityMonitorNotificationsOnFailureOutput) + }).(PipelineFiltersOutput) } -func (o QualityMonitorNotificationsOnFailurePtrOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *QualityMonitorNotificationsOnFailure) []string { +// Paths to exclude. +func (o PipelineFiltersPtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineFilters) []string { if v == nil { return nil } - return v.EmailAddresses + return v.Excludes }).(pulumi.StringArrayOutput) } -type QualityMonitorNotificationsOnNewClassificationTagDetected struct { - EmailAddresses []string `pulumi:"emailAddresses"` +// Paths to include. +func (o PipelineFiltersPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineFilters) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) } -// QualityMonitorNotificationsOnNewClassificationTagDetectedInput is an input type that accepts QualityMonitorNotificationsOnNewClassificationTagDetectedArgs and QualityMonitorNotificationsOnNewClassificationTagDetectedOutput values. -// You can construct a concrete instance of `QualityMonitorNotificationsOnNewClassificationTagDetectedInput` via: +type PipelineGatewayDefinition struct { + // Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. + ConnectionId *string `pulumi:"connectionId"` + ConnectionName *string `pulumi:"connectionName"` + // Required, Immutable. The name of the catalog for the gateway pipeline's storage location. + GatewayStorageCatalog *string `pulumi:"gatewayStorageCatalog"` + // Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. + GatewayStorageName *string `pulumi:"gatewayStorageName"` + // Required, Immutable. The name of the schema for the gateway pipelines's storage location. + GatewayStorageSchema *string `pulumi:"gatewayStorageSchema"` +} + +// PipelineGatewayDefinitionInput is an input type that accepts PipelineGatewayDefinitionArgs and PipelineGatewayDefinitionOutput values. +// You can construct a concrete instance of `PipelineGatewayDefinitionInput` via: // -// QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{...} -type QualityMonitorNotificationsOnNewClassificationTagDetectedInput interface { +// PipelineGatewayDefinitionArgs{...} +type PipelineGatewayDefinitionInput interface { pulumi.Input - ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput - ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput + ToPipelineGatewayDefinitionOutput() PipelineGatewayDefinitionOutput + ToPipelineGatewayDefinitionOutputWithContext(context.Context) PipelineGatewayDefinitionOutput } -type QualityMonitorNotificationsOnNewClassificationTagDetectedArgs struct { - EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` +type PipelineGatewayDefinitionArgs struct { + // Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. + ConnectionId pulumi.StringPtrInput `pulumi:"connectionId"` + ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` + // Required, Immutable. The name of the catalog for the gateway pipeline's storage location. + GatewayStorageCatalog pulumi.StringPtrInput `pulumi:"gatewayStorageCatalog"` + // Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. + GatewayStorageName pulumi.StringPtrInput `pulumi:"gatewayStorageName"` + // Required, Immutable. The name of the schema for the gateway pipelines's storage location. + GatewayStorageSchema pulumi.StringPtrInput `pulumi:"gatewayStorageSchema"` } -func (QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +func (PipelineGatewayDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineGatewayDefinition)(nil)).Elem() } -func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { - return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Background()) +func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionOutput() PipelineGatewayDefinitionOutput { + return i.ToPipelineGatewayDefinitionOutputWithContext(context.Background()) } -func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) +func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionOutputWithContext(ctx context.Context) PipelineGatewayDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineGatewayDefinitionOutput) } -func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { + return i.ToPipelineGatewayDefinitionPtrOutputWithContext(context.Background()) } -func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput).ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx) +func (i PipelineGatewayDefinitionArgs) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineGatewayDefinitionOutput).ToPipelineGatewayDefinitionPtrOutputWithContext(ctx) } -// QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput is an input type that accepts QualityMonitorNotificationsOnNewClassificationTagDetectedArgs, QualityMonitorNotificationsOnNewClassificationTagDetectedPtr and QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput values. -// You can construct a concrete instance of `QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput` via: +// PipelineGatewayDefinitionPtrInput is an input type that accepts PipelineGatewayDefinitionArgs, PipelineGatewayDefinitionPtr and PipelineGatewayDefinitionPtrOutput values. +// You can construct a concrete instance of `PipelineGatewayDefinitionPtrInput` via: // -// QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{...} +// PipelineGatewayDefinitionArgs{...} // // or: // // nil -type QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput interface { +type PipelineGatewayDefinitionPtrInput interface { pulumi.Input - ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput - ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput + ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput + ToPipelineGatewayDefinitionPtrOutputWithContext(context.Context) PipelineGatewayDefinitionPtrOutput } -type qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType QualityMonitorNotificationsOnNewClassificationTagDetectedArgs +type pipelineGatewayDefinitionPtrType PipelineGatewayDefinitionArgs -func QualityMonitorNotificationsOnNewClassificationTagDetectedPtr(v *QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput { - return (*qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType)(v) +func PipelineGatewayDefinitionPtr(v *PipelineGatewayDefinitionArgs) PipelineGatewayDefinitionPtrInput { + return (*pipelineGatewayDefinitionPtrType)(v) } -func (*qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +func (*pipelineGatewayDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineGatewayDefinition)(nil)).Elem() } -func (i *qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +func (i *pipelineGatewayDefinitionPtrType) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { + return i.ToPipelineGatewayDefinitionPtrOutputWithContext(context.Background()) } -func (i *qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +func (i *pipelineGatewayDefinitionPtrType) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineGatewayDefinitionPtrOutput) } -type QualityMonitorNotificationsOnNewClassificationTagDetectedOutput struct{ *pulumi.OutputState } +type PipelineGatewayDefinitionOutput struct{ *pulumi.OutputState } -func (QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +func (PipelineGatewayDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineGatewayDefinition)(nil)).Elem() } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { +func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionOutput() PipelineGatewayDefinitionOutput { return o } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { +func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionOutputWithContext(ctx context.Context) PipelineGatewayDefinitionOutput { return o } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { + return o.ToPipelineGatewayDefinitionPtrOutputWithContext(context.Background()) } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotificationsOnNewClassificationTagDetected) *QualityMonitorNotificationsOnNewClassificationTagDetected { +func (o PipelineGatewayDefinitionOutput) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineGatewayDefinition) *PipelineGatewayDefinition { return &v - }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) + }).(PipelineGatewayDefinitionPtrOutput) } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v QualityMonitorNotificationsOnNewClassificationTagDetected) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) +// Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. +func (o PipelineGatewayDefinitionOutput) ConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.ConnectionId }).(pulumi.StringPtrOutput) } -type QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput struct{ *pulumi.OutputState } +func (o PipelineGatewayDefinitionOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) +} -func (QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +// Required, Immutable. The name of the catalog for the gateway pipeline's storage location. +func (o PipelineGatewayDefinitionOutput) GatewayStorageCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.GatewayStorageCatalog }).(pulumi.StringPtrOutput) } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { +// Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. +func (o PipelineGatewayDefinitionOutput) GatewayStorageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.GatewayStorageName }).(pulumi.StringPtrOutput) +} + +// Required, Immutable. The name of the schema for the gateway pipelines's storage location. +func (o PipelineGatewayDefinitionOutput) GatewayStorageSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineGatewayDefinition) *string { return v.GatewayStorageSchema }).(pulumi.StringPtrOutput) +} + +type PipelineGatewayDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PipelineGatewayDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineGatewayDefinition)(nil)).Elem() +} + +func (o PipelineGatewayDefinitionPtrOutput) ToPipelineGatewayDefinitionPtrOutput() PipelineGatewayDefinitionPtrOutput { return o } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { +func (o PipelineGatewayDefinitionPtrOutput) ToPipelineGatewayDefinitionPtrOutputWithContext(ctx context.Context) PipelineGatewayDefinitionPtrOutput { return o } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) Elem() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { - return o.ApplyT(func(v *QualityMonitorNotificationsOnNewClassificationTagDetected) QualityMonitorNotificationsOnNewClassificationTagDetected { +func (o PipelineGatewayDefinitionPtrOutput) Elem() PipelineGatewayDefinitionOutput { + return o.ApplyT(func(v *PipelineGatewayDefinition) PipelineGatewayDefinition { if v != nil { return *v } - var ret QualityMonitorNotificationsOnNewClassificationTagDetected + var ret PipelineGatewayDefinition return ret - }).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) + }).(PipelineGatewayDefinitionOutput) } -func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) EmailAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *QualityMonitorNotificationsOnNewClassificationTagDetected) []string { +// Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. +func (o PipelineGatewayDefinitionPtrOutput) ConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineGatewayDefinition) *string { if v == nil { return nil } - return v.EmailAddresses - }).(pulumi.StringArrayOutput) + return v.ConnectionId + }).(pulumi.StringPtrOutput) } -type QualityMonitorSchedule struct { - PauseStatus *string `pulumi:"pauseStatus"` - // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - QuartzCronExpression string `pulumi:"quartzCronExpression"` - // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - TimezoneId string `pulumi:"timezoneId"` +func (o PipelineGatewayDefinitionPtrOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineGatewayDefinition) *string { + if v == nil { + return nil + } + return v.ConnectionName + }).(pulumi.StringPtrOutput) } -// QualityMonitorScheduleInput is an input type that accepts QualityMonitorScheduleArgs and QualityMonitorScheduleOutput values. -// You can construct a concrete instance of `QualityMonitorScheduleInput` via: +// Required, Immutable. The name of the catalog for the gateway pipeline's storage location. +func (o PipelineGatewayDefinitionPtrOutput) GatewayStorageCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineGatewayDefinition) *string { + if v == nil { + return nil + } + return v.GatewayStorageCatalog + }).(pulumi.StringPtrOutput) +} + +// Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. +func (o PipelineGatewayDefinitionPtrOutput) GatewayStorageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineGatewayDefinition) *string { + if v == nil { + return nil + } + return v.GatewayStorageName + }).(pulumi.StringPtrOutput) +} + +// Required, Immutable. The name of the schema for the gateway pipelines's storage location. +func (o PipelineGatewayDefinitionPtrOutput) GatewayStorageSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineGatewayDefinition) *string { + if v == nil { + return nil + } + return v.GatewayStorageSchema + }).(pulumi.StringPtrOutput) +} + +type PipelineIngestionDefinition struct { + ConnectionName *string `pulumi:"connectionName"` + IngestionGatewayId *string `pulumi:"ingestionGatewayId"` + Objects []PipelineIngestionDefinitionObject `pulumi:"objects"` + TableConfiguration *PipelineIngestionDefinitionTableConfiguration `pulumi:"tableConfiguration"` +} + +// PipelineIngestionDefinitionInput is an input type that accepts PipelineIngestionDefinitionArgs and PipelineIngestionDefinitionOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionInput` via: // -// QualityMonitorScheduleArgs{...} -type QualityMonitorScheduleInput interface { +// PipelineIngestionDefinitionArgs{...} +type PipelineIngestionDefinitionInput interface { pulumi.Input - ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput - ToQualityMonitorScheduleOutputWithContext(context.Context) QualityMonitorScheduleOutput + ToPipelineIngestionDefinitionOutput() PipelineIngestionDefinitionOutput + ToPipelineIngestionDefinitionOutputWithContext(context.Context) PipelineIngestionDefinitionOutput } -type QualityMonitorScheduleArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` - // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +type PipelineIngestionDefinitionArgs struct { + ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` + IngestionGatewayId pulumi.StringPtrInput `pulumi:"ingestionGatewayId"` + Objects PipelineIngestionDefinitionObjectArrayInput `pulumi:"objects"` + TableConfiguration PipelineIngestionDefinitionTableConfigurationPtrInput `pulumi:"tableConfiguration"` } -func (QualityMonitorScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorSchedule)(nil)).Elem() +func (PipelineIngestionDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinition)(nil)).Elem() } -func (i QualityMonitorScheduleArgs) ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput { - return i.ToQualityMonitorScheduleOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionOutput() PipelineIngestionDefinitionOutput { + return i.ToPipelineIngestionDefinitionOutputWithContext(context.Background()) } -func (i QualityMonitorScheduleArgs) ToQualityMonitorScheduleOutputWithContext(ctx context.Context) QualityMonitorScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorScheduleOutput) +func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionOutputWithContext(ctx context.Context) PipelineIngestionDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionOutput) } -func (i QualityMonitorScheduleArgs) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { - return i.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { + return i.ToPipelineIngestionDefinitionPtrOutputWithContext(context.Background()) } -func (i QualityMonitorScheduleArgs) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorScheduleOutput).ToQualityMonitorSchedulePtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionArgs) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionOutput).ToPipelineIngestionDefinitionPtrOutputWithContext(ctx) } -// QualityMonitorSchedulePtrInput is an input type that accepts QualityMonitorScheduleArgs, QualityMonitorSchedulePtr and QualityMonitorSchedulePtrOutput values. -// You can construct a concrete instance of `QualityMonitorSchedulePtrInput` via: +// PipelineIngestionDefinitionPtrInput is an input type that accepts PipelineIngestionDefinitionArgs, PipelineIngestionDefinitionPtr and PipelineIngestionDefinitionPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionPtrInput` via: // -// QualityMonitorScheduleArgs{...} +// PipelineIngestionDefinitionArgs{...} // // or: // // nil -type QualityMonitorSchedulePtrInput interface { +type PipelineIngestionDefinitionPtrInput interface { pulumi.Input - ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput - ToQualityMonitorSchedulePtrOutputWithContext(context.Context) QualityMonitorSchedulePtrOutput + ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput + ToPipelineIngestionDefinitionPtrOutputWithContext(context.Context) PipelineIngestionDefinitionPtrOutput } -type qualityMonitorSchedulePtrType QualityMonitorScheduleArgs +type pipelineIngestionDefinitionPtrType PipelineIngestionDefinitionArgs -func QualityMonitorSchedulePtr(v *QualityMonitorScheduleArgs) QualityMonitorSchedulePtrInput { - return (*qualityMonitorSchedulePtrType)(v) +func PipelineIngestionDefinitionPtr(v *PipelineIngestionDefinitionArgs) PipelineIngestionDefinitionPtrInput { + return (*pipelineIngestionDefinitionPtrType)(v) } -func (*qualityMonitorSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorSchedule)(nil)).Elem() +func (*pipelineIngestionDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinition)(nil)).Elem() } -func (i *qualityMonitorSchedulePtrType) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { - return i.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionPtrType) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { + return i.ToPipelineIngestionDefinitionPtrOutputWithContext(context.Background()) } -func (i *qualityMonitorSchedulePtrType) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSchedulePtrOutput) +func (i *pipelineIngestionDefinitionPtrType) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionPtrOutput) } -type QualityMonitorScheduleOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionOutput struct{ *pulumi.OutputState } -func (QualityMonitorScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorSchedule)(nil)).Elem() +func (PipelineIngestionDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinition)(nil)).Elem() } -func (o QualityMonitorScheduleOutput) ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput { +func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionOutput() PipelineIngestionDefinitionOutput { return o } -func (o QualityMonitorScheduleOutput) ToQualityMonitorScheduleOutputWithContext(ctx context.Context) QualityMonitorScheduleOutput { +func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionOutputWithContext(ctx context.Context) PipelineIngestionDefinitionOutput { return o } -func (o QualityMonitorScheduleOutput) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { - return o.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { + return o.ToPipelineIngestionDefinitionPtrOutputWithContext(context.Background()) +} + +func (o PipelineIngestionDefinitionOutput) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinition) *PipelineIngestionDefinition { + return &v + }).(PipelineIngestionDefinitionPtrOutput) } -func (o QualityMonitorScheduleOutput) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorSchedule) *QualityMonitorSchedule { - return &v - }).(QualityMonitorSchedulePtrOutput) +func (o PipelineIngestionDefinitionOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinition) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) } -func (o QualityMonitorScheduleOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v QualityMonitorSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionOutput) IngestionGatewayId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinition) *string { return v.IngestionGatewayId }).(pulumi.StringPtrOutput) } -// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. -func (o QualityMonitorScheduleOutput) QuartzCronExpression() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) +func (o PipelineIngestionDefinitionOutput) Objects() PipelineIngestionDefinitionObjectArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinition) []PipelineIngestionDefinitionObject { return v.Objects }).(PipelineIngestionDefinitionObjectArrayOutput) } -// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. -func (o QualityMonitorScheduleOutput) TimezoneId() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) +func (o PipelineIngestionDefinitionOutput) TableConfiguration() PipelineIngestionDefinitionTableConfigurationPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinition) *PipelineIngestionDefinitionTableConfiguration { + return v.TableConfiguration + }).(PipelineIngestionDefinitionTableConfigurationPtrOutput) } -type QualityMonitorSchedulePtrOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionPtrOutput struct{ *pulumi.OutputState } -func (QualityMonitorSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorSchedule)(nil)).Elem() +func (PipelineIngestionDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinition)(nil)).Elem() } -func (o QualityMonitorSchedulePtrOutput) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { +func (o PipelineIngestionDefinitionPtrOutput) ToPipelineIngestionDefinitionPtrOutput() PipelineIngestionDefinitionPtrOutput { return o } -func (o QualityMonitorSchedulePtrOutput) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { +func (o PipelineIngestionDefinitionPtrOutput) ToPipelineIngestionDefinitionPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionPtrOutput { return o } -func (o QualityMonitorSchedulePtrOutput) Elem() QualityMonitorScheduleOutput { - return o.ApplyT(func(v *QualityMonitorSchedule) QualityMonitorSchedule { +func (o PipelineIngestionDefinitionPtrOutput) Elem() PipelineIngestionDefinitionOutput { + return o.ApplyT(func(v *PipelineIngestionDefinition) PipelineIngestionDefinition { if v != nil { return *v } - var ret QualityMonitorSchedule + var ret PipelineIngestionDefinition return ret - }).(QualityMonitorScheduleOutput) + }).(PipelineIngestionDefinitionOutput) } -func (o QualityMonitorSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorSchedule) *string { +func (o PipelineIngestionDefinitionPtrOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinition) *string { if v == nil { return nil } - return v.PauseStatus + return v.ConnectionName }).(pulumi.StringPtrOutput) } -// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. -func (o QualityMonitorSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorSchedule) *string { +func (o PipelineIngestionDefinitionPtrOutput) IngestionGatewayId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinition) *string { if v == nil { return nil } - return &v.QuartzCronExpression + return v.IngestionGatewayId }).(pulumi.StringPtrOutput) } -// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. -func (o QualityMonitorSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorSchedule) *string { +func (o PipelineIngestionDefinitionPtrOutput) Objects() PipelineIngestionDefinitionObjectArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinition) []PipelineIngestionDefinitionObject { if v == nil { return nil } - return &v.TimezoneId - }).(pulumi.StringPtrOutput) + return v.Objects + }).(PipelineIngestionDefinitionObjectArrayOutput) } -type QualityMonitorSnapshot struct { +func (o PipelineIngestionDefinitionPtrOutput) TableConfiguration() PipelineIngestionDefinitionTableConfigurationPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinition) *PipelineIngestionDefinitionTableConfiguration { + if v == nil { + return nil + } + return v.TableConfiguration + }).(PipelineIngestionDefinitionTableConfigurationPtrOutput) } -// QualityMonitorSnapshotInput is an input type that accepts QualityMonitorSnapshotArgs and QualityMonitorSnapshotOutput values. -// You can construct a concrete instance of `QualityMonitorSnapshotInput` via: -// -// QualityMonitorSnapshotArgs{...} -type QualityMonitorSnapshotInput interface { - pulumi.Input - - ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput - ToQualityMonitorSnapshotOutputWithContext(context.Context) QualityMonitorSnapshotOutput +type PipelineIngestionDefinitionObject struct { + Report *PipelineIngestionDefinitionObjectReport `pulumi:"report"` + // The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. + Schema *PipelineIngestionDefinitionObjectSchema `pulumi:"schema"` + Table *PipelineIngestionDefinitionObjectTable `pulumi:"table"` } -type QualityMonitorSnapshotArgs struct { -} +// PipelineIngestionDefinitionObjectInput is an input type that accepts PipelineIngestionDefinitionObjectArgs and PipelineIngestionDefinitionObjectOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectInput` via: +// +// PipelineIngestionDefinitionObjectArgs{...} +type PipelineIngestionDefinitionObjectInput interface { + pulumi.Input -func (QualityMonitorSnapshotArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorSnapshot)(nil)).Elem() + ToPipelineIngestionDefinitionObjectOutput() PipelineIngestionDefinitionObjectOutput + ToPipelineIngestionDefinitionObjectOutputWithContext(context.Context) PipelineIngestionDefinitionObjectOutput } -func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput { - return i.ToQualityMonitorSnapshotOutputWithContext(context.Background()) +type PipelineIngestionDefinitionObjectArgs struct { + Report PipelineIngestionDefinitionObjectReportPtrInput `pulumi:"report"` + // The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. + Schema PipelineIngestionDefinitionObjectSchemaPtrInput `pulumi:"schema"` + Table PipelineIngestionDefinitionObjectTablePtrInput `pulumi:"table"` } -func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotOutputWithContext(ctx context.Context) QualityMonitorSnapshotOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotOutput) +func (PipelineIngestionDefinitionObjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObject)(nil)).Elem() } -func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { - return i.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectArgs) ToPipelineIngestionDefinitionObjectOutput() PipelineIngestionDefinitionObjectOutput { + return i.ToPipelineIngestionDefinitionObjectOutputWithContext(context.Background()) } -func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotOutput).ToQualityMonitorSnapshotPtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectArgs) ToPipelineIngestionDefinitionObjectOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectOutput) } -// QualityMonitorSnapshotPtrInput is an input type that accepts QualityMonitorSnapshotArgs, QualityMonitorSnapshotPtr and QualityMonitorSnapshotPtrOutput values. -// You can construct a concrete instance of `QualityMonitorSnapshotPtrInput` via: -// -// QualityMonitorSnapshotArgs{...} -// -// or: +// PipelineIngestionDefinitionObjectArrayInput is an input type that accepts PipelineIngestionDefinitionObjectArray and PipelineIngestionDefinitionObjectArrayOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectArrayInput` via: // -// nil -type QualityMonitorSnapshotPtrInput interface { +// PipelineIngestionDefinitionObjectArray{ PipelineIngestionDefinitionObjectArgs{...} } +type PipelineIngestionDefinitionObjectArrayInput interface { pulumi.Input - ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput - ToQualityMonitorSnapshotPtrOutputWithContext(context.Context) QualityMonitorSnapshotPtrOutput + ToPipelineIngestionDefinitionObjectArrayOutput() PipelineIngestionDefinitionObjectArrayOutput + ToPipelineIngestionDefinitionObjectArrayOutputWithContext(context.Context) PipelineIngestionDefinitionObjectArrayOutput } -type qualityMonitorSnapshotPtrType QualityMonitorSnapshotArgs - -func QualityMonitorSnapshotPtr(v *QualityMonitorSnapshotArgs) QualityMonitorSnapshotPtrInput { - return (*qualityMonitorSnapshotPtrType)(v) -} +type PipelineIngestionDefinitionObjectArray []PipelineIngestionDefinitionObjectInput -func (*qualityMonitorSnapshotPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorSnapshot)(nil)).Elem() +func (PipelineIngestionDefinitionObjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineIngestionDefinitionObject)(nil)).Elem() } -func (i *qualityMonitorSnapshotPtrType) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { - return i.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectArray) ToPipelineIngestionDefinitionObjectArrayOutput() PipelineIngestionDefinitionObjectArrayOutput { + return i.ToPipelineIngestionDefinitionObjectArrayOutputWithContext(context.Background()) } -func (i *qualityMonitorSnapshotPtrType) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotPtrOutput) +func (i PipelineIngestionDefinitionObjectArray) ToPipelineIngestionDefinitionObjectArrayOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectArrayOutput) } -type QualityMonitorSnapshotOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectOutput struct{ *pulumi.OutputState } -func (QualityMonitorSnapshotOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorSnapshot)(nil)).Elem() +func (PipelineIngestionDefinitionObjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObject)(nil)).Elem() } -func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput { +func (o PipelineIngestionDefinitionObjectOutput) ToPipelineIngestionDefinitionObjectOutput() PipelineIngestionDefinitionObjectOutput { return o } -func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotOutputWithContext(ctx context.Context) QualityMonitorSnapshotOutput { +func (o PipelineIngestionDefinitionObjectOutput) ToPipelineIngestionDefinitionObjectOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectOutput { return o } -func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { - return o.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectOutput) Report() PipelineIngestionDefinitionObjectReportPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObject) *PipelineIngestionDefinitionObjectReport { return v.Report }).(PipelineIngestionDefinitionObjectReportPtrOutput) } -func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorSnapshot) *QualityMonitorSnapshot { - return &v - }).(QualityMonitorSnapshotPtrOutput) +// The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. +func (o PipelineIngestionDefinitionObjectOutput) Schema() PipelineIngestionDefinitionObjectSchemaPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObject) *PipelineIngestionDefinitionObjectSchema { return v.Schema }).(PipelineIngestionDefinitionObjectSchemaPtrOutput) } -type QualityMonitorSnapshotPtrOutput struct{ *pulumi.OutputState } +func (o PipelineIngestionDefinitionObjectOutput) Table() PipelineIngestionDefinitionObjectTablePtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObject) *PipelineIngestionDefinitionObjectTable { return v.Table }).(PipelineIngestionDefinitionObjectTablePtrOutput) +} -func (QualityMonitorSnapshotPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorSnapshot)(nil)).Elem() +type PipelineIngestionDefinitionObjectArrayOutput struct{ *pulumi.OutputState } + +func (PipelineIngestionDefinitionObjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineIngestionDefinitionObject)(nil)).Elem() } -func (o QualityMonitorSnapshotPtrOutput) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { +func (o PipelineIngestionDefinitionObjectArrayOutput) ToPipelineIngestionDefinitionObjectArrayOutput() PipelineIngestionDefinitionObjectArrayOutput { return o } -func (o QualityMonitorSnapshotPtrOutput) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { +func (o PipelineIngestionDefinitionObjectArrayOutput) ToPipelineIngestionDefinitionObjectArrayOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectArrayOutput { return o } -func (o QualityMonitorSnapshotPtrOutput) Elem() QualityMonitorSnapshotOutput { - return o.ApplyT(func(v *QualityMonitorSnapshot) QualityMonitorSnapshot { - if v != nil { - return *v - } - var ret QualityMonitorSnapshot - return ret - }).(QualityMonitorSnapshotOutput) +func (o PipelineIngestionDefinitionObjectArrayOutput) Index(i pulumi.IntInput) PipelineIngestionDefinitionObjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineIngestionDefinitionObject { + return vs[0].([]PipelineIngestionDefinitionObject)[vs[1].(int)] + }).(PipelineIngestionDefinitionObjectOutput) } -type QualityMonitorTimeSeries struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities []string `pulumi:"granularities"` - // Column of the timestamp of predictions - TimestampCol string `pulumi:"timestampCol"` +type PipelineIngestionDefinitionObjectReport struct { + DestinationCatalog *string `pulumi:"destinationCatalog"` + DestinationSchema *string `pulumi:"destinationSchema"` + DestinationTable *string `pulumi:"destinationTable"` + SourceUrl *string `pulumi:"sourceUrl"` + TableConfiguration *PipelineIngestionDefinitionObjectReportTableConfiguration `pulumi:"tableConfiguration"` } -// QualityMonitorTimeSeriesInput is an input type that accepts QualityMonitorTimeSeriesArgs and QualityMonitorTimeSeriesOutput values. -// You can construct a concrete instance of `QualityMonitorTimeSeriesInput` via: +// PipelineIngestionDefinitionObjectReportInput is an input type that accepts PipelineIngestionDefinitionObjectReportArgs and PipelineIngestionDefinitionObjectReportOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportInput` via: // -// QualityMonitorTimeSeriesArgs{...} -type QualityMonitorTimeSeriesInput interface { +// PipelineIngestionDefinitionObjectReportArgs{...} +type PipelineIngestionDefinitionObjectReportInput interface { pulumi.Input - ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput - ToQualityMonitorTimeSeriesOutputWithContext(context.Context) QualityMonitorTimeSeriesOutput + ToPipelineIngestionDefinitionObjectReportOutput() PipelineIngestionDefinitionObjectReportOutput + ToPipelineIngestionDefinitionObjectReportOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportOutput } -type QualityMonitorTimeSeriesArgs struct { - // List of granularities to use when aggregating data into time windows based on their timestamp. - Granularities pulumi.StringArrayInput `pulumi:"granularities"` - // Column of the timestamp of predictions - TimestampCol pulumi.StringInput `pulumi:"timestampCol"` +type PipelineIngestionDefinitionObjectReportArgs struct { + DestinationCatalog pulumi.StringPtrInput `pulumi:"destinationCatalog"` + DestinationSchema pulumi.StringPtrInput `pulumi:"destinationSchema"` + DestinationTable pulumi.StringPtrInput `pulumi:"destinationTable"` + SourceUrl pulumi.StringPtrInput `pulumi:"sourceUrl"` + TableConfiguration PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput `pulumi:"tableConfiguration"` } -func (QualityMonitorTimeSeriesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorTimeSeries)(nil)).Elem() +func (PipelineIngestionDefinitionObjectReportArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectReport)(nil)).Elem() } -func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput { - return i.ToQualityMonitorTimeSeriesOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportOutput() PipelineIngestionDefinitionObjectReportOutput { + return i.ToPipelineIngestionDefinitionObjectReportOutputWithContext(context.Background()) } -func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesOutput) +func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportOutput) } -func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { - return i.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { + return i.ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Background()) } -func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesOutput).ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectReportArgs) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportOutput).ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx) } -// QualityMonitorTimeSeriesPtrInput is an input type that accepts QualityMonitorTimeSeriesArgs, QualityMonitorTimeSeriesPtr and QualityMonitorTimeSeriesPtrOutput values. -// You can construct a concrete instance of `QualityMonitorTimeSeriesPtrInput` via: +// PipelineIngestionDefinitionObjectReportPtrInput is an input type that accepts PipelineIngestionDefinitionObjectReportArgs, PipelineIngestionDefinitionObjectReportPtr and PipelineIngestionDefinitionObjectReportPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportPtrInput` via: // -// QualityMonitorTimeSeriesArgs{...} +// PipelineIngestionDefinitionObjectReportArgs{...} // // or: // // nil -type QualityMonitorTimeSeriesPtrInput interface { +type PipelineIngestionDefinitionObjectReportPtrInput interface { pulumi.Input - ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput - ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Context) QualityMonitorTimeSeriesPtrOutput + ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput + ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportPtrOutput } -type qualityMonitorTimeSeriesPtrType QualityMonitorTimeSeriesArgs +type pipelineIngestionDefinitionObjectReportPtrType PipelineIngestionDefinitionObjectReportArgs -func QualityMonitorTimeSeriesPtr(v *QualityMonitorTimeSeriesArgs) QualityMonitorTimeSeriesPtrInput { - return (*qualityMonitorTimeSeriesPtrType)(v) +func PipelineIngestionDefinitionObjectReportPtr(v *PipelineIngestionDefinitionObjectReportArgs) PipelineIngestionDefinitionObjectReportPtrInput { + return (*pipelineIngestionDefinitionObjectReportPtrType)(v) } -func (*qualityMonitorTimeSeriesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorTimeSeries)(nil)).Elem() +func (*pipelineIngestionDefinitionObjectReportPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectReport)(nil)).Elem() } -func (i *qualityMonitorTimeSeriesPtrType) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { - return i.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionObjectReportPtrType) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { + return i.ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Background()) } -func (i *qualityMonitorTimeSeriesPtrType) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesPtrOutput) +func (i *pipelineIngestionDefinitionObjectReportPtrType) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportPtrOutput) } -type QualityMonitorTimeSeriesOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectReportOutput struct{ *pulumi.OutputState } -func (QualityMonitorTimeSeriesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QualityMonitorTimeSeries)(nil)).Elem() +func (PipelineIngestionDefinitionObjectReportOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectReport)(nil)).Elem() } -func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput { +func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportOutput() PipelineIngestionDefinitionObjectReportOutput { return o } -func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesOutput { +func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportOutput { return o } -func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { - return o.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { + return o.ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(context.Background()) } -func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorTimeSeries) *QualityMonitorTimeSeries { +func (o PipelineIngestionDefinitionObjectReportOutput) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectReport) *PipelineIngestionDefinitionObjectReport { return &v - }).(QualityMonitorTimeSeriesPtrOutput) + }).(PipelineIngestionDefinitionObjectReportPtrOutput) } -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o QualityMonitorTimeSeriesOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v QualityMonitorTimeSeries) []string { return v.Granularities }).(pulumi.StringArrayOutput) +func (o PipelineIngestionDefinitionObjectReportOutput) DestinationCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.DestinationCatalog }).(pulumi.StringPtrOutput) } -// Column of the timestamp of predictions -func (o QualityMonitorTimeSeriesOutput) TimestampCol() pulumi.StringOutput { - return o.ApplyT(func(v QualityMonitorTimeSeries) string { return v.TimestampCol }).(pulumi.StringOutput) +func (o PipelineIngestionDefinitionObjectReportOutput) DestinationSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.DestinationSchema }).(pulumi.StringPtrOutput) } -type QualityMonitorTimeSeriesPtrOutput struct{ *pulumi.OutputState } +func (o PipelineIngestionDefinitionObjectReportOutput) DestinationTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.DestinationTable }).(pulumi.StringPtrOutput) +} -func (QualityMonitorTimeSeriesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QualityMonitorTimeSeries)(nil)).Elem() +func (o PipelineIngestionDefinitionObjectReportOutput) SourceUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *string { return v.SourceUrl }).(pulumi.StringPtrOutput) } -func (o QualityMonitorTimeSeriesPtrOutput) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { +func (o PipelineIngestionDefinitionObjectReportOutput) TableConfiguration() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReport) *PipelineIngestionDefinitionObjectReportTableConfiguration { + return v.TableConfiguration + }).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) +} + +type PipelineIngestionDefinitionObjectReportPtrOutput struct{ *pulumi.OutputState } + +func (PipelineIngestionDefinitionObjectReportPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectReport)(nil)).Elem() +} + +func (o PipelineIngestionDefinitionObjectReportPtrOutput) ToPipelineIngestionDefinitionObjectReportPtrOutput() PipelineIngestionDefinitionObjectReportPtrOutput { return o } -func (o QualityMonitorTimeSeriesPtrOutput) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { +func (o PipelineIngestionDefinitionObjectReportPtrOutput) ToPipelineIngestionDefinitionObjectReportPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportPtrOutput { return o } -func (o QualityMonitorTimeSeriesPtrOutput) Elem() QualityMonitorTimeSeriesOutput { - return o.ApplyT(func(v *QualityMonitorTimeSeries) QualityMonitorTimeSeries { +func (o PipelineIngestionDefinitionObjectReportPtrOutput) Elem() PipelineIngestionDefinitionObjectReportOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) PipelineIngestionDefinitionObjectReport { if v != nil { return *v } - var ret QualityMonitorTimeSeries + var ret PipelineIngestionDefinitionObjectReport return ret - }).(QualityMonitorTimeSeriesOutput) + }).(PipelineIngestionDefinitionObjectReportOutput) } -// List of granularities to use when aggregating data into time windows based on their timestamp. -func (o QualityMonitorTimeSeriesPtrOutput) Granularities() pulumi.StringArrayOutput { - return o.ApplyT(func(v *QualityMonitorTimeSeries) []string { +func (o PipelineIngestionDefinitionObjectReportPtrOutput) DestinationCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { if v == nil { return nil } - return v.Granularities - }).(pulumi.StringArrayOutput) + return v.DestinationCatalog + }).(pulumi.StringPtrOutput) } -// Column of the timestamp of predictions -func (o QualityMonitorTimeSeriesPtrOutput) TimestampCol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QualityMonitorTimeSeries) *string { +func (o PipelineIngestionDefinitionObjectReportPtrOutput) DestinationSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { if v == nil { return nil } - return &v.TimestampCol + return v.DestinationSchema }).(pulumi.StringPtrOutput) } -type QueryParameter struct { - // Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamicDateRangeValue` or `dateRangeValue`): - DateRangeValue *QueryParameterDateRangeValue `pulumi:"dateRangeValue"` - // Date query parameter value. Consists of following attributes (Can only specify one of `dynamicDateValue` or `dateValue`): - DateValue *QueryParameterDateValue `pulumi:"dateValue"` - // Dropdown parameter value. Consists of following attributes: - EnumValue *QueryParameterEnumValue `pulumi:"enumValue"` - // Literal parameter marker that appears between double curly braces in the query text. - Name string `pulumi:"name"` - // Numeric parameter value. Consists of following attributes: - NumericValue *QueryParameterNumericValue `pulumi:"numericValue"` - // Query-based dropdown parameter value. Consists of following attributes: - QueryBackedValue *QueryParameterQueryBackedValue `pulumi:"queryBackedValue"` - // Text parameter value. Consists of following attributes: - TextValue *QueryParameterTextValue `pulumi:"textValue"` - // Text displayed in the user-facing parameter widget in the UI. - Title *string `pulumi:"title"` -} - -// QueryParameterInput is an input type that accepts QueryParameterArgs and QueryParameterOutput values. -// You can construct a concrete instance of `QueryParameterInput` via: -// -// QueryParameterArgs{...} -type QueryParameterInput interface { - pulumi.Input - - ToQueryParameterOutput() QueryParameterOutput - ToQueryParameterOutputWithContext(context.Context) QueryParameterOutput -} - -type QueryParameterArgs struct { - // Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamicDateRangeValue` or `dateRangeValue`): - DateRangeValue QueryParameterDateRangeValuePtrInput `pulumi:"dateRangeValue"` - // Date query parameter value. Consists of following attributes (Can only specify one of `dynamicDateValue` or `dateValue`): - DateValue QueryParameterDateValuePtrInput `pulumi:"dateValue"` - // Dropdown parameter value. Consists of following attributes: - EnumValue QueryParameterEnumValuePtrInput `pulumi:"enumValue"` - // Literal parameter marker that appears between double curly braces in the query text. - Name pulumi.StringInput `pulumi:"name"` - // Numeric parameter value. Consists of following attributes: - NumericValue QueryParameterNumericValuePtrInput `pulumi:"numericValue"` - // Query-based dropdown parameter value. Consists of following attributes: - QueryBackedValue QueryParameterQueryBackedValuePtrInput `pulumi:"queryBackedValue"` - // Text parameter value. Consists of following attributes: - TextValue QueryParameterTextValuePtrInput `pulumi:"textValue"` - // Text displayed in the user-facing parameter widget in the UI. - Title pulumi.StringPtrInput `pulumi:"title"` -} - -func (QueryParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameter)(nil)).Elem() -} - -func (i QueryParameterArgs) ToQueryParameterOutput() QueryParameterOutput { - return i.ToQueryParameterOutputWithContext(context.Background()) -} - -func (i QueryParameterArgs) ToQueryParameterOutputWithContext(ctx context.Context) QueryParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterOutput) -} - -// QueryParameterArrayInput is an input type that accepts QueryParameterArray and QueryParameterArrayOutput values. -// You can construct a concrete instance of `QueryParameterArrayInput` via: -// -// QueryParameterArray{ QueryParameterArgs{...} } -type QueryParameterArrayInput interface { - pulumi.Input - - ToQueryParameterArrayOutput() QueryParameterArrayOutput - ToQueryParameterArrayOutputWithContext(context.Context) QueryParameterArrayOutput -} - -type QueryParameterArray []QueryParameterInput - -func (QueryParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]QueryParameter)(nil)).Elem() -} - -func (i QueryParameterArray) ToQueryParameterArrayOutput() QueryParameterArrayOutput { - return i.ToQueryParameterArrayOutputWithContext(context.Background()) -} - -func (i QueryParameterArray) ToQueryParameterArrayOutputWithContext(ctx context.Context) QueryParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterArrayOutput) -} - -type QueryParameterOutput struct{ *pulumi.OutputState } - -func (QueryParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameter)(nil)).Elem() -} - -func (o QueryParameterOutput) ToQueryParameterOutput() QueryParameterOutput { - return o -} - -func (o QueryParameterOutput) ToQueryParameterOutputWithContext(ctx context.Context) QueryParameterOutput { - return o -} - -// Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamicDateRangeValue` or `dateRangeValue`): -func (o QueryParameterOutput) DateRangeValue() QueryParameterDateRangeValuePtrOutput { - return o.ApplyT(func(v QueryParameter) *QueryParameterDateRangeValue { return v.DateRangeValue }).(QueryParameterDateRangeValuePtrOutput) -} - -// Date query parameter value. Consists of following attributes (Can only specify one of `dynamicDateValue` or `dateValue`): -func (o QueryParameterOutput) DateValue() QueryParameterDateValuePtrOutput { - return o.ApplyT(func(v QueryParameter) *QueryParameterDateValue { return v.DateValue }).(QueryParameterDateValuePtrOutput) -} - -// Dropdown parameter value. Consists of following attributes: -func (o QueryParameterOutput) EnumValue() QueryParameterEnumValuePtrOutput { - return o.ApplyT(func(v QueryParameter) *QueryParameterEnumValue { return v.EnumValue }).(QueryParameterEnumValuePtrOutput) -} - -// Literal parameter marker that appears between double curly braces in the query text. -func (o QueryParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v QueryParameter) string { return v.Name }).(pulumi.StringOutput) -} - -// Numeric parameter value. Consists of following attributes: -func (o QueryParameterOutput) NumericValue() QueryParameterNumericValuePtrOutput { - return o.ApplyT(func(v QueryParameter) *QueryParameterNumericValue { return v.NumericValue }).(QueryParameterNumericValuePtrOutput) -} - -// Query-based dropdown parameter value. Consists of following attributes: -func (o QueryParameterOutput) QueryBackedValue() QueryParameterQueryBackedValuePtrOutput { - return o.ApplyT(func(v QueryParameter) *QueryParameterQueryBackedValue { return v.QueryBackedValue }).(QueryParameterQueryBackedValuePtrOutput) -} - -// Text parameter value. Consists of following attributes: -func (o QueryParameterOutput) TextValue() QueryParameterTextValuePtrOutput { - return o.ApplyT(func(v QueryParameter) *QueryParameterTextValue { return v.TextValue }).(QueryParameterTextValuePtrOutput) -} - -// Text displayed in the user-facing parameter widget in the UI. -func (o QueryParameterOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameter) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -type QueryParameterArrayOutput struct{ *pulumi.OutputState } - -func (QueryParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]QueryParameter)(nil)).Elem() -} - -func (o QueryParameterArrayOutput) ToQueryParameterArrayOutput() QueryParameterArrayOutput { - return o +func (o PipelineIngestionDefinitionObjectReportPtrOutput) DestinationTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { + if v == nil { + return nil + } + return v.DestinationTable + }).(pulumi.StringPtrOutput) } -func (o QueryParameterArrayOutput) ToQueryParameterArrayOutputWithContext(ctx context.Context) QueryParameterArrayOutput { - return o +func (o PipelineIngestionDefinitionObjectReportPtrOutput) SourceUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *string { + if v == nil { + return nil + } + return v.SourceUrl + }).(pulumi.StringPtrOutput) } -func (o QueryParameterArrayOutput) Index(i pulumi.IntInput) QueryParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameter { - return vs[0].([]QueryParameter)[vs[1].(int)] - }).(QueryParameterOutput) +func (o PipelineIngestionDefinitionObjectReportPtrOutput) TableConfiguration() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReport) *PipelineIngestionDefinitionObjectReportTableConfiguration { + if v == nil { + return nil + } + return v.TableConfiguration + }).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) } -type QueryParameterDateRangeValue struct { - // Manually specified date-time range value. Consists of the following attributes: - DateRangeValue *QueryParameterDateRangeValueDateRangeValue `pulumi:"dateRangeValue"` - // Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. - DynamicDateRangeValue *string `pulumi:"dynamicDateRangeValue"` - // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - Precision *string `pulumi:"precision"` - // Specify what day that starts the week. - StartDayOfWeek *int `pulumi:"startDayOfWeek"` +type PipelineIngestionDefinitionObjectReportTableConfiguration struct { + PrimaryKeys []string `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` + ScdType *string `pulumi:"scdType"` + SequenceBies []string `pulumi:"sequenceBies"` } -// QueryParameterDateRangeValueInput is an input type that accepts QueryParameterDateRangeValueArgs and QueryParameterDateRangeValueOutput values. -// You can construct a concrete instance of `QueryParameterDateRangeValueInput` via: +// PipelineIngestionDefinitionObjectReportTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionObjectReportTableConfigurationArgs and PipelineIngestionDefinitionObjectReportTableConfigurationOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportTableConfigurationInput` via: // -// QueryParameterDateRangeValueArgs{...} -type QueryParameterDateRangeValueInput interface { +// PipelineIngestionDefinitionObjectReportTableConfigurationArgs{...} +type PipelineIngestionDefinitionObjectReportTableConfigurationInput interface { pulumi.Input - ToQueryParameterDateRangeValueOutput() QueryParameterDateRangeValueOutput - ToQueryParameterDateRangeValueOutputWithContext(context.Context) QueryParameterDateRangeValueOutput + ToPipelineIngestionDefinitionObjectReportTableConfigurationOutput() PipelineIngestionDefinitionObjectReportTableConfigurationOutput + ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationOutput } -type QueryParameterDateRangeValueArgs struct { - // Manually specified date-time range value. Consists of the following attributes: - DateRangeValue QueryParameterDateRangeValueDateRangeValuePtrInput `pulumi:"dateRangeValue"` - // Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. - DynamicDateRangeValue pulumi.StringPtrInput `pulumi:"dynamicDateRangeValue"` - // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - Precision pulumi.StringPtrInput `pulumi:"precision"` - // Specify what day that starts the week. - StartDayOfWeek pulumi.IntPtrInput `pulumi:"startDayOfWeek"` +type PipelineIngestionDefinitionObjectReportTableConfigurationArgs struct { + PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` + ScdType pulumi.StringPtrInput `pulumi:"scdType"` + SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` } -func (QueryParameterDateRangeValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterDateRangeValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() } -func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValueOutput() QueryParameterDateRangeValueOutput { - return i.ToQueryParameterDateRangeValueOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutput() PipelineIngestionDefinitionObjectReportTableConfigurationOutput { + return i.ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(context.Background()) } -func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueOutput) +func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportTableConfigurationOutput) } -func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { - return i.ToQueryParameterDateRangeValuePtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Background()) } -func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueOutput).ToQueryParameterDateRangeValuePtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectReportTableConfigurationArgs) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportTableConfigurationOutput).ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx) } -// QueryParameterDateRangeValuePtrInput is an input type that accepts QueryParameterDateRangeValueArgs, QueryParameterDateRangeValuePtr and QueryParameterDateRangeValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterDateRangeValuePtrInput` via: +// PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionObjectReportTableConfigurationArgs, PipelineIngestionDefinitionObjectReportTableConfigurationPtr and PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput` via: // -// QueryParameterDateRangeValueArgs{...} +// PipelineIngestionDefinitionObjectReportTableConfigurationArgs{...} // // or: // // nil -type QueryParameterDateRangeValuePtrInput interface { +type PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput interface { pulumi.Input - ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput - ToQueryParameterDateRangeValuePtrOutputWithContext(context.Context) QueryParameterDateRangeValuePtrOutput + ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput + ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput } -type queryParameterDateRangeValuePtrType QueryParameterDateRangeValueArgs +type pipelineIngestionDefinitionObjectReportTableConfigurationPtrType PipelineIngestionDefinitionObjectReportTableConfigurationArgs -func QueryParameterDateRangeValuePtr(v *QueryParameterDateRangeValueArgs) QueryParameterDateRangeValuePtrInput { - return (*queryParameterDateRangeValuePtrType)(v) +func PipelineIngestionDefinitionObjectReportTableConfigurationPtr(v *PipelineIngestionDefinitionObjectReportTableConfigurationArgs) PipelineIngestionDefinitionObjectReportTableConfigurationPtrInput { + return (*pipelineIngestionDefinitionObjectReportTableConfigurationPtrType)(v) } -func (*queryParameterDateRangeValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterDateRangeValue)(nil)).Elem() +func (*pipelineIngestionDefinitionObjectReportTableConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() } -func (i *queryParameterDateRangeValuePtrType) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { - return i.ToQueryParameterDateRangeValuePtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionObjectReportTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Background()) } -func (i *queryParameterDateRangeValuePtrType) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValuePtrOutput) +func (i *pipelineIngestionDefinitionObjectReportTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) } -type QueryParameterDateRangeValueOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectReportTableConfigurationOutput struct{ *pulumi.OutputState } -func (QueryParameterDateRangeValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterDateRangeValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() } -func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValueOutput() QueryParameterDateRangeValueOutput { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutput() PipelineIngestionDefinitionObjectReportTableConfigurationOutput { return o } -func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueOutput { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationOutput { return o } -func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { - return o.ToQueryParameterDateRangeValuePtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return o.ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(context.Background()) } -func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterDateRangeValue) *QueryParameterDateRangeValue { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectReportTableConfiguration) *PipelineIngestionDefinitionObjectReportTableConfiguration { return &v - }).(QueryParameterDateRangeValuePtrOutput) + }).(PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) } -// Manually specified date-time range value. Consists of the following attributes: -func (o QueryParameterDateRangeValueOutput) DateRangeValue() QueryParameterDateRangeValueDateRangeValuePtrOutput { - return o.ApplyT(func(v QueryParameterDateRangeValue) *QueryParameterDateRangeValueDateRangeValue { - return v.DateRangeValue - }).(QueryParameterDateRangeValueDateRangeValuePtrOutput) +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) } -// Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. -func (o QueryParameterDateRangeValueOutput) DynamicDateRangeValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterDateRangeValue) *string { return v.DynamicDateRangeValue }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) *bool { + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). -func (o QueryParameterDateRangeValueOutput) Precision() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterDateRangeValue) *string { return v.Precision }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) } -// Specify what day that starts the week. -func (o QueryParameterDateRangeValueOutput) StartDayOfWeek() pulumi.IntPtrOutput { - return o.ApplyT(func(v QueryParameterDateRangeValue) *int { return v.StartDayOfWeek }).(pulumi.IntPtrOutput) +func (o PipelineIngestionDefinitionObjectReportTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectReportTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) } -type QueryParameterDateRangeValuePtrOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput struct{ *pulumi.OutputState } -func (QueryParameterDateRangeValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterDateRangeValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectReportTableConfiguration)(nil)).Elem() } -func (o QueryParameterDateRangeValuePtrOutput) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { return o } -func (o QueryParameterDateRangeValuePtrOutput) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectReportTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput { return o } -func (o QueryParameterDateRangeValuePtrOutput) Elem() QueryParameterDateRangeValueOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValue) QueryParameterDateRangeValue { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionObjectReportTableConfigurationOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) PipelineIngestionDefinitionObjectReportTableConfiguration { if v != nil { return *v } - var ret QueryParameterDateRangeValue + var ret PipelineIngestionDefinitionObjectReportTableConfiguration return ret - }).(QueryParameterDateRangeValueOutput) + }).(PipelineIngestionDefinitionObjectReportTableConfigurationOutput) } -// Manually specified date-time range value. Consists of the following attributes: -func (o QueryParameterDateRangeValuePtrOutput) DateRangeValue() QueryParameterDateRangeValueDateRangeValuePtrOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValue) *QueryParameterDateRangeValueDateRangeValue { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) []string { if v == nil { return nil } - return v.DateRangeValue - }).(QueryParameterDateRangeValueDateRangeValuePtrOutput) + return v.PrimaryKeys + }).(pulumi.StringArrayOutput) } -// Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. -func (o QueryParameterDateRangeValuePtrOutput) DynamicDateRangeValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValue) *string { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) *bool { if v == nil { return nil } - return v.DynamicDateRangeValue - }).(pulumi.StringPtrOutput) + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). -func (o QueryParameterDateRangeValuePtrOutput) Precision() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValue) *string { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) *string { if v == nil { return nil } - return v.Precision + return v.ScdType }).(pulumi.StringPtrOutput) } -// Specify what day that starts the week. -func (o QueryParameterDateRangeValuePtrOutput) StartDayOfWeek() pulumi.IntPtrOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValue) *int { +func (o PipelineIngestionDefinitionObjectReportTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectReportTableConfiguration) []string { if v == nil { return nil } - return v.StartDayOfWeek - }).(pulumi.IntPtrOutput) + return v.SequenceBies + }).(pulumi.StringArrayOutput) } -type QueryParameterDateRangeValueDateRangeValue struct { - // end of the date range. - End string `pulumi:"end"` - // begin of the date range. - Start string `pulumi:"start"` +type PipelineIngestionDefinitionObjectSchema struct { + DestinationCatalog *string `pulumi:"destinationCatalog"` + DestinationSchema *string `pulumi:"destinationSchema"` + SourceCatalog *string `pulumi:"sourceCatalog"` + SourceSchema *string `pulumi:"sourceSchema"` + TableConfiguration *PipelineIngestionDefinitionObjectSchemaTableConfiguration `pulumi:"tableConfiguration"` } -// QueryParameterDateRangeValueDateRangeValueInput is an input type that accepts QueryParameterDateRangeValueDateRangeValueArgs and QueryParameterDateRangeValueDateRangeValueOutput values. -// You can construct a concrete instance of `QueryParameterDateRangeValueDateRangeValueInput` via: +// PipelineIngestionDefinitionObjectSchemaInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaArgs and PipelineIngestionDefinitionObjectSchemaOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaInput` via: // -// QueryParameterDateRangeValueDateRangeValueArgs{...} -type QueryParameterDateRangeValueDateRangeValueInput interface { +// PipelineIngestionDefinitionObjectSchemaArgs{...} +type PipelineIngestionDefinitionObjectSchemaInput interface { pulumi.Input - ToQueryParameterDateRangeValueDateRangeValueOutput() QueryParameterDateRangeValueDateRangeValueOutput - ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(context.Context) QueryParameterDateRangeValueDateRangeValueOutput + ToPipelineIngestionDefinitionObjectSchemaOutput() PipelineIngestionDefinitionObjectSchemaOutput + ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaOutput } -type QueryParameterDateRangeValueDateRangeValueArgs struct { - // end of the date range. - End pulumi.StringInput `pulumi:"end"` - // begin of the date range. - Start pulumi.StringInput `pulumi:"start"` +type PipelineIngestionDefinitionObjectSchemaArgs struct { + DestinationCatalog pulumi.StringPtrInput `pulumi:"destinationCatalog"` + DestinationSchema pulumi.StringPtrInput `pulumi:"destinationSchema"` + SourceCatalog pulumi.StringPtrInput `pulumi:"sourceCatalog"` + SourceSchema pulumi.StringPtrInput `pulumi:"sourceSchema"` + TableConfiguration PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput `pulumi:"tableConfiguration"` } -func (QueryParameterDateRangeValueDateRangeValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectSchemaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchema)(nil)).Elem() } -func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValueOutput() QueryParameterDateRangeValueDateRangeValueOutput { - return i.ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaOutput() PipelineIngestionDefinitionObjectSchemaOutput { + return i.ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(context.Background()) } -func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueDateRangeValueOutput) +func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaOutput) } -func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { - return i.ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { + return i.ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Background()) } -func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueDateRangeValueOutput).ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectSchemaArgs) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaOutput).ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx) } -// QueryParameterDateRangeValueDateRangeValuePtrInput is an input type that accepts QueryParameterDateRangeValueDateRangeValueArgs, QueryParameterDateRangeValueDateRangeValuePtr and QueryParameterDateRangeValueDateRangeValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterDateRangeValueDateRangeValuePtrInput` via: +// PipelineIngestionDefinitionObjectSchemaPtrInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaArgs, PipelineIngestionDefinitionObjectSchemaPtr and PipelineIngestionDefinitionObjectSchemaPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaPtrInput` via: // -// QueryParameterDateRangeValueDateRangeValueArgs{...} +// PipelineIngestionDefinitionObjectSchemaArgs{...} // // or: // // nil -type QueryParameterDateRangeValueDateRangeValuePtrInput interface { +type PipelineIngestionDefinitionObjectSchemaPtrInput interface { pulumi.Input - ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput - ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput + ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput + ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput } -type queryParameterDateRangeValueDateRangeValuePtrType QueryParameterDateRangeValueDateRangeValueArgs +type pipelineIngestionDefinitionObjectSchemaPtrType PipelineIngestionDefinitionObjectSchemaArgs -func QueryParameterDateRangeValueDateRangeValuePtr(v *QueryParameterDateRangeValueDateRangeValueArgs) QueryParameterDateRangeValueDateRangeValuePtrInput { - return (*queryParameterDateRangeValueDateRangeValuePtrType)(v) +func PipelineIngestionDefinitionObjectSchemaPtr(v *PipelineIngestionDefinitionObjectSchemaArgs) PipelineIngestionDefinitionObjectSchemaPtrInput { + return (*pipelineIngestionDefinitionObjectSchemaPtrType)(v) } -func (*queryParameterDateRangeValueDateRangeValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() +func (*pipelineIngestionDefinitionObjectSchemaPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchema)(nil)).Elem() } -func (i *queryParameterDateRangeValueDateRangeValuePtrType) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { - return i.ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionObjectSchemaPtrType) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { + return i.ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Background()) } -func (i *queryParameterDateRangeValueDateRangeValuePtrType) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueDateRangeValuePtrOutput) +func (i *pipelineIngestionDefinitionObjectSchemaPtrType) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaPtrOutput) } -type QueryParameterDateRangeValueDateRangeValueOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectSchemaOutput struct{ *pulumi.OutputState } -func (QueryParameterDateRangeValueDateRangeValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectSchemaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchema)(nil)).Elem() } -func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValueOutput() QueryParameterDateRangeValueDateRangeValueOutput { +func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaOutput() PipelineIngestionDefinitionObjectSchemaOutput { return o } -func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValueOutput { +func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaOutput { return o } -func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { - return o.ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { + return o.ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(context.Background()) } -func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterDateRangeValueDateRangeValue) *QueryParameterDateRangeValueDateRangeValue { +func (o PipelineIngestionDefinitionObjectSchemaOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectSchema) *PipelineIngestionDefinitionObjectSchema { return &v - }).(QueryParameterDateRangeValueDateRangeValuePtrOutput) + }).(PipelineIngestionDefinitionObjectSchemaPtrOutput) } -// end of the date range. -func (o QueryParameterDateRangeValueDateRangeValueOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v QueryParameterDateRangeValueDateRangeValue) string { return v.End }).(pulumi.StringOutput) +func (o PipelineIngestionDefinitionObjectSchemaOutput) DestinationCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.DestinationCatalog }).(pulumi.StringPtrOutput) } -// begin of the date range. -func (o QueryParameterDateRangeValueDateRangeValueOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v QueryParameterDateRangeValueDateRangeValue) string { return v.Start }).(pulumi.StringOutput) +func (o PipelineIngestionDefinitionObjectSchemaOutput) DestinationSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.DestinationSchema }).(pulumi.StringPtrOutput) } -type QueryParameterDateRangeValueDateRangeValuePtrOutput struct{ *pulumi.OutputState } +func (o PipelineIngestionDefinitionObjectSchemaOutput) SourceCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.SourceCatalog }).(pulumi.StringPtrOutput) +} -func (QueryParameterDateRangeValueDateRangeValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() +func (o PipelineIngestionDefinitionObjectSchemaOutput) SourceSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *string { return v.SourceSchema }).(pulumi.StringPtrOutput) } -func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { +func (o PipelineIngestionDefinitionObjectSchemaOutput) TableConfiguration() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchema) *PipelineIngestionDefinitionObjectSchemaTableConfiguration { + return v.TableConfiguration + }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) +} + +type PipelineIngestionDefinitionObjectSchemaPtrOutput struct{ *pulumi.OutputState } + +func (PipelineIngestionDefinitionObjectSchemaPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchema)(nil)).Elem() +} + +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutput() PipelineIngestionDefinitionObjectSchemaPtrOutput { return o } -func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) ToPipelineIngestionDefinitionObjectSchemaPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaPtrOutput { return o } -func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) Elem() QueryParameterDateRangeValueDateRangeValueOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValueDateRangeValue) QueryParameterDateRangeValueDateRangeValue { +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) Elem() PipelineIngestionDefinitionObjectSchemaOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) PipelineIngestionDefinitionObjectSchema { if v != nil { return *v } - var ret QueryParameterDateRangeValueDateRangeValue + var ret PipelineIngestionDefinitionObjectSchema return ret - }).(QueryParameterDateRangeValueDateRangeValueOutput) + }).(PipelineIngestionDefinitionObjectSchemaOutput) } -// end of the date range. -func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValueDateRangeValue) *string { +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) DestinationCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { if v == nil { return nil } - return &v.End + return v.DestinationCatalog }).(pulumi.StringPtrOutput) } -// begin of the date range. -func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateRangeValueDateRangeValue) *string { +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) DestinationSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { if v == nil { return nil } - return &v.Start + return v.DestinationSchema }).(pulumi.StringPtrOutput) } -type QueryParameterDateValue struct { - // Manually specified date-time value - DateValue *string `pulumi:"dateValue"` - // Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. - DynamicDateValue *string `pulumi:"dynamicDateValue"` - // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - Precision *string `pulumi:"precision"` +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) SourceCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { + if v == nil { + return nil + } + return v.SourceCatalog + }).(pulumi.StringPtrOutput) } -// QueryParameterDateValueInput is an input type that accepts QueryParameterDateValueArgs and QueryParameterDateValueOutput values. -// You can construct a concrete instance of `QueryParameterDateValueInput` via: +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) SourceSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *string { + if v == nil { + return nil + } + return v.SourceSchema + }).(pulumi.StringPtrOutput) +} + +func (o PipelineIngestionDefinitionObjectSchemaPtrOutput) TableConfiguration() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchema) *PipelineIngestionDefinitionObjectSchemaTableConfiguration { + if v == nil { + return nil + } + return v.TableConfiguration + }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) +} + +type PipelineIngestionDefinitionObjectSchemaTableConfiguration struct { + PrimaryKeys []string `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` + ScdType *string `pulumi:"scdType"` + SequenceBies []string `pulumi:"sequenceBies"` +} + +// PipelineIngestionDefinitionObjectSchemaTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs and PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaTableConfigurationInput` via: // -// QueryParameterDateValueArgs{...} -type QueryParameterDateValueInput interface { +// PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs{...} +type PipelineIngestionDefinitionObjectSchemaTableConfigurationInput interface { pulumi.Input - ToQueryParameterDateValueOutput() QueryParameterDateValueOutput - ToQueryParameterDateValueOutputWithContext(context.Context) QueryParameterDateValueOutput + ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput + ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput } -type QueryParameterDateValueArgs struct { - // Manually specified date-time value - DateValue pulumi.StringPtrInput `pulumi:"dateValue"` - // Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. - DynamicDateValue pulumi.StringPtrInput `pulumi:"dynamicDateValue"` - // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - Precision pulumi.StringPtrInput `pulumi:"precision"` +type PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs struct { + PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` + ScdType pulumi.StringPtrInput `pulumi:"scdType"` + SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` } -func (QueryParameterDateValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterDateValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() } -func (i QueryParameterDateValueArgs) ToQueryParameterDateValueOutput() QueryParameterDateValueOutput { - return i.ToQueryParameterDateValueOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { + return i.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(context.Background()) } -func (i QueryParameterDateValueArgs) ToQueryParameterDateValueOutputWithContext(ctx context.Context) QueryParameterDateValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateValueOutput) +func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) } -func (i QueryParameterDateValueArgs) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { - return i.ToQueryParameterDateValuePtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Background()) } -func (i QueryParameterDateValueArgs) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateValueOutput).ToQueryParameterDateValuePtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput).ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx) } -// QueryParameterDateValuePtrInput is an input type that accepts QueryParameterDateValueArgs, QueryParameterDateValuePtr and QueryParameterDateValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterDateValuePtrInput` via: +// PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs, PipelineIngestionDefinitionObjectSchemaTableConfigurationPtr and PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput` via: // -// QueryParameterDateValueArgs{...} +// PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs{...} // // or: // // nil -type QueryParameterDateValuePtrInput interface { +type PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput interface { pulumi.Input - ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput - ToQueryParameterDateValuePtrOutputWithContext(context.Context) QueryParameterDateValuePtrOutput + ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput + ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput } -type queryParameterDateValuePtrType QueryParameterDateValueArgs +type pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs -func QueryParameterDateValuePtr(v *QueryParameterDateValueArgs) QueryParameterDateValuePtrInput { - return (*queryParameterDateValuePtrType)(v) +func PipelineIngestionDefinitionObjectSchemaTableConfigurationPtr(v *PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrInput { + return (*pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType)(v) } -func (*queryParameterDateValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterDateValue)(nil)).Elem() +func (*pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() } -func (i *queryParameterDateValuePtrType) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { - return i.ToQueryParameterDateValuePtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Background()) } -func (i *queryParameterDateValuePtrType) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateValuePtrOutput) +func (i *pipelineIngestionDefinitionObjectSchemaTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) } -type QueryParameterDateValueOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput struct{ *pulumi.OutputState } -func (QueryParameterDateValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterDateValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() } -func (o QueryParameterDateValueOutput) ToQueryParameterDateValueOutput() QueryParameterDateValueOutput { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { return o } -func (o QueryParameterDateValueOutput) ToQueryParameterDateValueOutputWithContext(ctx context.Context) QueryParameterDateValueOutput { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { return o } -func (o QueryParameterDateValueOutput) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { - return o.ToQueryParameterDateValuePtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return o.ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(context.Background()) } -func (o QueryParameterDateValueOutput) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterDateValue) *QueryParameterDateValue { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectSchemaTableConfiguration) *PipelineIngestionDefinitionObjectSchemaTableConfiguration { return &v - }).(QueryParameterDateValuePtrOutput) + }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) } -// Manually specified date-time value -func (o QueryParameterDateValueOutput) DateValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterDateValue) *string { return v.DateValue }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) +} + +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) *bool { + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. -func (o QueryParameterDateValueOutput) DynamicDateValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterDateValue) *string { return v.DynamicDateValue }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) } -// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). -func (o QueryParameterDateValueOutput) Precision() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterDateValue) *string { return v.Precision }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) } -type QueryParameterDateValuePtrOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput struct{ *pulumi.OutputState } -func (QueryParameterDateValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterDateValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectSchemaTableConfiguration)(nil)).Elem() } -func (o QueryParameterDateValuePtrOutput) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { return o } -func (o QueryParameterDateValuePtrOutput) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput { return o } -func (o QueryParameterDateValuePtrOutput) Elem() QueryParameterDateValueOutput { - return o.ApplyT(func(v *QueryParameterDateValue) QueryParameterDateValue { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) PipelineIngestionDefinitionObjectSchemaTableConfiguration { if v != nil { return *v } - var ret QueryParameterDateValue + var ret PipelineIngestionDefinitionObjectSchemaTableConfiguration return ret - }).(QueryParameterDateValueOutput) + }).(PipelineIngestionDefinitionObjectSchemaTableConfigurationOutput) } -// Manually specified date-time value -func (o QueryParameterDateValuePtrOutput) DateValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateValue) *string { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { if v == nil { return nil } - return v.DateValue - }).(pulumi.StringPtrOutput) + return v.PrimaryKeys + }).(pulumi.StringArrayOutput) } -// Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. -func (o QueryParameterDateValuePtrOutput) DynamicDateValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateValue) *string { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) *bool { if v == nil { return nil } - return v.DynamicDateValue - }).(pulumi.StringPtrOutput) + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). -func (o QueryParameterDateValuePtrOutput) Precision() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterDateValue) *string { +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) *string { if v == nil { return nil } - return v.Precision + return v.ScdType }).(pulumi.StringPtrOutput) } -type QueryParameterEnumValue struct { - // List of valid query parameter values, newline delimited. - EnumOptions *string `pulumi:"enumOptions"` - // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - MultiValuesOptions *QueryParameterEnumValueMultiValuesOptions `pulumi:"multiValuesOptions"` - // List of selected query parameter values. - Values []string `pulumi:"values"` +func (o PipelineIngestionDefinitionObjectSchemaTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectSchemaTableConfiguration) []string { + if v == nil { + return nil + } + return v.SequenceBies + }).(pulumi.StringArrayOutput) } -// QueryParameterEnumValueInput is an input type that accepts QueryParameterEnumValueArgs and QueryParameterEnumValueOutput values. -// You can construct a concrete instance of `QueryParameterEnumValueInput` via: +type PipelineIngestionDefinitionObjectTable struct { + DestinationCatalog *string `pulumi:"destinationCatalog"` + DestinationSchema *string `pulumi:"destinationSchema"` + DestinationTable *string `pulumi:"destinationTable"` + SourceCatalog *string `pulumi:"sourceCatalog"` + SourceSchema *string `pulumi:"sourceSchema"` + SourceTable *string `pulumi:"sourceTable"` + TableConfiguration *PipelineIngestionDefinitionObjectTableTableConfiguration `pulumi:"tableConfiguration"` +} + +// PipelineIngestionDefinitionObjectTableInput is an input type that accepts PipelineIngestionDefinitionObjectTableArgs and PipelineIngestionDefinitionObjectTableOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTableInput` via: // -// QueryParameterEnumValueArgs{...} -type QueryParameterEnumValueInput interface { +// PipelineIngestionDefinitionObjectTableArgs{...} +type PipelineIngestionDefinitionObjectTableInput interface { pulumi.Input - ToQueryParameterEnumValueOutput() QueryParameterEnumValueOutput - ToQueryParameterEnumValueOutputWithContext(context.Context) QueryParameterEnumValueOutput + ToPipelineIngestionDefinitionObjectTableOutput() PipelineIngestionDefinitionObjectTableOutput + ToPipelineIngestionDefinitionObjectTableOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTableOutput } -type QueryParameterEnumValueArgs struct { - // List of valid query parameter values, newline delimited. - EnumOptions pulumi.StringPtrInput `pulumi:"enumOptions"` - // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - MultiValuesOptions QueryParameterEnumValueMultiValuesOptionsPtrInput `pulumi:"multiValuesOptions"` - // List of selected query parameter values. - Values pulumi.StringArrayInput `pulumi:"values"` +type PipelineIngestionDefinitionObjectTableArgs struct { + DestinationCatalog pulumi.StringPtrInput `pulumi:"destinationCatalog"` + DestinationSchema pulumi.StringPtrInput `pulumi:"destinationSchema"` + DestinationTable pulumi.StringPtrInput `pulumi:"destinationTable"` + SourceCatalog pulumi.StringPtrInput `pulumi:"sourceCatalog"` + SourceSchema pulumi.StringPtrInput `pulumi:"sourceSchema"` + SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` + TableConfiguration PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput `pulumi:"tableConfiguration"` } -func (QueryParameterEnumValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterEnumValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectTable)(nil)).Elem() } -func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValueOutput() QueryParameterEnumValueOutput { - return i.ToQueryParameterEnumValueOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTableOutput() PipelineIngestionDefinitionObjectTableOutput { + return i.ToPipelineIngestionDefinitionObjectTableOutputWithContext(context.Background()) } -func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValueOutputWithContext(ctx context.Context) QueryParameterEnumValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueOutput) +func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTableOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableOutput) } -func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { - return i.ToQueryParameterEnumValuePtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { + return i.ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Background()) } -func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueOutput).ToQueryParameterEnumValuePtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectTableArgs) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableOutput).ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx) } -// QueryParameterEnumValuePtrInput is an input type that accepts QueryParameterEnumValueArgs, QueryParameterEnumValuePtr and QueryParameterEnumValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterEnumValuePtrInput` via: +// PipelineIngestionDefinitionObjectTablePtrInput is an input type that accepts PipelineIngestionDefinitionObjectTableArgs, PipelineIngestionDefinitionObjectTablePtr and PipelineIngestionDefinitionObjectTablePtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTablePtrInput` via: // -// QueryParameterEnumValueArgs{...} +// PipelineIngestionDefinitionObjectTableArgs{...} // // or: // // nil -type QueryParameterEnumValuePtrInput interface { +type PipelineIngestionDefinitionObjectTablePtrInput interface { pulumi.Input - ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput - ToQueryParameterEnumValuePtrOutputWithContext(context.Context) QueryParameterEnumValuePtrOutput + ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput + ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTablePtrOutput } -type queryParameterEnumValuePtrType QueryParameterEnumValueArgs +type pipelineIngestionDefinitionObjectTablePtrType PipelineIngestionDefinitionObjectTableArgs -func QueryParameterEnumValuePtr(v *QueryParameterEnumValueArgs) QueryParameterEnumValuePtrInput { - return (*queryParameterEnumValuePtrType)(v) +func PipelineIngestionDefinitionObjectTablePtr(v *PipelineIngestionDefinitionObjectTableArgs) PipelineIngestionDefinitionObjectTablePtrInput { + return (*pipelineIngestionDefinitionObjectTablePtrType)(v) } -func (*queryParameterEnumValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterEnumValue)(nil)).Elem() +func (*pipelineIngestionDefinitionObjectTablePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectTable)(nil)).Elem() } -func (i *queryParameterEnumValuePtrType) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { - return i.ToQueryParameterEnumValuePtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionObjectTablePtrType) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { + return i.ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Background()) } -func (i *queryParameterEnumValuePtrType) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValuePtrOutput) +func (i *pipelineIngestionDefinitionObjectTablePtrType) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTablePtrOutput) } -type QueryParameterEnumValueOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectTableOutput struct{ *pulumi.OutputState } -func (QueryParameterEnumValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterEnumValue)(nil)).Elem() +func (PipelineIngestionDefinitionObjectTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectTable)(nil)).Elem() } -func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValueOutput() QueryParameterEnumValueOutput { +func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTableOutput() PipelineIngestionDefinitionObjectTableOutput { return o } -func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValueOutputWithContext(ctx context.Context) QueryParameterEnumValueOutput { +func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTableOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableOutput { return o } -func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { - return o.ToQueryParameterEnumValuePtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { + return o.ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(context.Background()) } -func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterEnumValue) *QueryParameterEnumValue { +func (o PipelineIngestionDefinitionObjectTableOutput) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectTable) *PipelineIngestionDefinitionObjectTable { return &v - }).(QueryParameterEnumValuePtrOutput) + }).(PipelineIngestionDefinitionObjectTablePtrOutput) } -// List of valid query parameter values, newline delimited. -func (o QueryParameterEnumValueOutput) EnumOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterEnumValue) *string { return v.EnumOptions }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectTableOutput) DestinationCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.DestinationCatalog }).(pulumi.StringPtrOutput) } -// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: -func (o QueryParameterEnumValueOutput) MultiValuesOptions() QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return o.ApplyT(func(v QueryParameterEnumValue) *QueryParameterEnumValueMultiValuesOptions { - return v.MultiValuesOptions - }).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) +func (o PipelineIngestionDefinitionObjectTableOutput) DestinationSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.DestinationSchema }).(pulumi.StringPtrOutput) } -// List of selected query parameter values. -func (o QueryParameterEnumValueOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v QueryParameterEnumValue) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o PipelineIngestionDefinitionObjectTableOutput) DestinationTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.DestinationTable }).(pulumi.StringPtrOutput) } -type QueryParameterEnumValuePtrOutput struct{ *pulumi.OutputState } +func (o PipelineIngestionDefinitionObjectTableOutput) SourceCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.SourceCatalog }).(pulumi.StringPtrOutput) +} -func (QueryParameterEnumValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterEnumValue)(nil)).Elem() +func (o PipelineIngestionDefinitionObjectTableOutput) SourceSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.SourceSchema }).(pulumi.StringPtrOutput) } -func (o QueryParameterEnumValuePtrOutput) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { +func (o PipelineIngestionDefinitionObjectTableOutput) SourceTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *string { return v.SourceTable }).(pulumi.StringPtrOutput) +} + +func (o PipelineIngestionDefinitionObjectTableOutput) TableConfiguration() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTable) *PipelineIngestionDefinitionObjectTableTableConfiguration { + return v.TableConfiguration + }).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) +} + +type PipelineIngestionDefinitionObjectTablePtrOutput struct{ *pulumi.OutputState } + +func (PipelineIngestionDefinitionObjectTablePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectTable)(nil)).Elem() +} + +func (o PipelineIngestionDefinitionObjectTablePtrOutput) ToPipelineIngestionDefinitionObjectTablePtrOutput() PipelineIngestionDefinitionObjectTablePtrOutput { return o } -func (o QueryParameterEnumValuePtrOutput) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { +func (o PipelineIngestionDefinitionObjectTablePtrOutput) ToPipelineIngestionDefinitionObjectTablePtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTablePtrOutput { return o } -func (o QueryParameterEnumValuePtrOutput) Elem() QueryParameterEnumValueOutput { - return o.ApplyT(func(v *QueryParameterEnumValue) QueryParameterEnumValue { +func (o PipelineIngestionDefinitionObjectTablePtrOutput) Elem() PipelineIngestionDefinitionObjectTableOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) PipelineIngestionDefinitionObjectTable { if v != nil { return *v } - var ret QueryParameterEnumValue + var ret PipelineIngestionDefinitionObjectTable return ret - }).(QueryParameterEnumValueOutput) + }).(PipelineIngestionDefinitionObjectTableOutput) } -// List of valid query parameter values, newline delimited. -func (o QueryParameterEnumValuePtrOutput) EnumOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterEnumValue) *string { +func (o PipelineIngestionDefinitionObjectTablePtrOutput) DestinationCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { if v == nil { return nil } - return v.EnumOptions + return v.DestinationCatalog }).(pulumi.StringPtrOutput) } -// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: -func (o QueryParameterEnumValuePtrOutput) MultiValuesOptions() QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return o.ApplyT(func(v *QueryParameterEnumValue) *QueryParameterEnumValueMultiValuesOptions { +func (o PipelineIngestionDefinitionObjectTablePtrOutput) DestinationSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { if v == nil { return nil } - return v.MultiValuesOptions - }).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) + return v.DestinationSchema + }).(pulumi.StringPtrOutput) } -// List of selected query parameter values. -func (o QueryParameterEnumValuePtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *QueryParameterEnumValue) []string { +func (o PipelineIngestionDefinitionObjectTablePtrOutput) DestinationTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { if v == nil { return nil } - return v.Values - }).(pulumi.StringArrayOutput) + return v.DestinationTable + }).(pulumi.StringPtrOutput) } -type QueryParameterEnumValueMultiValuesOptions struct { - // Character that prefixes each selected parameter value. - Prefix *string `pulumi:"prefix"` - // Character that separates each selected parameter value. Defaults to a comma. - Separator *string `pulumi:"separator"` - // Character that suffixes each selected parameter value. - Suffix *string `pulumi:"suffix"` +func (o PipelineIngestionDefinitionObjectTablePtrOutput) SourceCatalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { + if v == nil { + return nil + } + return v.SourceCatalog + }).(pulumi.StringPtrOutput) } -// QueryParameterEnumValueMultiValuesOptionsInput is an input type that accepts QueryParameterEnumValueMultiValuesOptionsArgs and QueryParameterEnumValueMultiValuesOptionsOutput values. -// You can construct a concrete instance of `QueryParameterEnumValueMultiValuesOptionsInput` via: +func (o PipelineIngestionDefinitionObjectTablePtrOutput) SourceSchema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { + if v == nil { + return nil + } + return v.SourceSchema + }).(pulumi.StringPtrOutput) +} + +func (o PipelineIngestionDefinitionObjectTablePtrOutput) SourceTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *string { + if v == nil { + return nil + } + return v.SourceTable + }).(pulumi.StringPtrOutput) +} + +func (o PipelineIngestionDefinitionObjectTablePtrOutput) TableConfiguration() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTable) *PipelineIngestionDefinitionObjectTableTableConfiguration { + if v == nil { + return nil + } + return v.TableConfiguration + }).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) +} + +type PipelineIngestionDefinitionObjectTableTableConfiguration struct { + PrimaryKeys []string `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` + ScdType *string `pulumi:"scdType"` + SequenceBies []string `pulumi:"sequenceBies"` +} + +// PipelineIngestionDefinitionObjectTableTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionObjectTableTableConfigurationArgs and PipelineIngestionDefinitionObjectTableTableConfigurationOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTableTableConfigurationInput` via: // -// QueryParameterEnumValueMultiValuesOptionsArgs{...} -type QueryParameterEnumValueMultiValuesOptionsInput interface { +// PipelineIngestionDefinitionObjectTableTableConfigurationArgs{...} +type PipelineIngestionDefinitionObjectTableTableConfigurationInput interface { pulumi.Input - ToQueryParameterEnumValueMultiValuesOptionsOutput() QueryParameterEnumValueMultiValuesOptionsOutput - ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(context.Context) QueryParameterEnumValueMultiValuesOptionsOutput + ToPipelineIngestionDefinitionObjectTableTableConfigurationOutput() PipelineIngestionDefinitionObjectTableTableConfigurationOutput + ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationOutput } -type QueryParameterEnumValueMultiValuesOptionsArgs struct { - // Character that prefixes each selected parameter value. - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - // Character that separates each selected parameter value. Defaults to a comma. - Separator pulumi.StringPtrInput `pulumi:"separator"` - // Character that suffixes each selected parameter value. - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type PipelineIngestionDefinitionObjectTableTableConfigurationArgs struct { + PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` + ScdType pulumi.StringPtrInput `pulumi:"scdType"` + SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` } -func (QueryParameterEnumValueMultiValuesOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() +func (PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() } -func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsOutput() QueryParameterEnumValueMultiValuesOptionsOutput { - return i.ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutput() PipelineIngestionDefinitionObjectTableTableConfigurationOutput { + return i.ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(context.Background()) } -func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueMultiValuesOptionsOutput) +func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableTableConfigurationOutput) } -func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return i.ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Background()) } -func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueMultiValuesOptionsOutput).ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionObjectTableTableConfigurationArgs) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableTableConfigurationOutput).ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx) } -// QueryParameterEnumValueMultiValuesOptionsPtrInput is an input type that accepts QueryParameterEnumValueMultiValuesOptionsArgs, QueryParameterEnumValueMultiValuesOptionsPtr and QueryParameterEnumValueMultiValuesOptionsPtrOutput values. -// You can construct a concrete instance of `QueryParameterEnumValueMultiValuesOptionsPtrInput` via: +// PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionObjectTableTableConfigurationArgs, PipelineIngestionDefinitionObjectTableTableConfigurationPtr and PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput` via: // -// QueryParameterEnumValueMultiValuesOptionsArgs{...} +// PipelineIngestionDefinitionObjectTableTableConfigurationArgs{...} // // or: // // nil -type QueryParameterEnumValueMultiValuesOptionsPtrInput interface { +type PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput interface { pulumi.Input - ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput - ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput + ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput + ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput } -type queryParameterEnumValueMultiValuesOptionsPtrType QueryParameterEnumValueMultiValuesOptionsArgs +type pipelineIngestionDefinitionObjectTableTableConfigurationPtrType PipelineIngestionDefinitionObjectTableTableConfigurationArgs -func QueryParameterEnumValueMultiValuesOptionsPtr(v *QueryParameterEnumValueMultiValuesOptionsArgs) QueryParameterEnumValueMultiValuesOptionsPtrInput { - return (*queryParameterEnumValueMultiValuesOptionsPtrType)(v) +func PipelineIngestionDefinitionObjectTableTableConfigurationPtr(v *PipelineIngestionDefinitionObjectTableTableConfigurationArgs) PipelineIngestionDefinitionObjectTableTableConfigurationPtrInput { + return (*pipelineIngestionDefinitionObjectTableTableConfigurationPtrType)(v) } -func (*queryParameterEnumValueMultiValuesOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() +func (*pipelineIngestionDefinitionObjectTableTableConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() } -func (i *queryParameterEnumValueMultiValuesOptionsPtrType) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return i.ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionObjectTableTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Background()) } -func (i *queryParameterEnumValueMultiValuesOptionsPtrType) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) +func (i *pipelineIngestionDefinitionObjectTableTableConfigurationPtrType) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) } -type QueryParameterEnumValueMultiValuesOptionsOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionObjectTableTableConfigurationOutput struct{ *pulumi.OutputState } -func (QueryParameterEnumValueMultiValuesOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() +func (PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() } -func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsOutput() QueryParameterEnumValueMultiValuesOptionsOutput { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutput() PipelineIngestionDefinitionObjectTableTableConfigurationOutput { return o } -func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsOutput { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationOutput { return o } -func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return o.ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return o.ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(context.Background()) } -func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterEnumValueMultiValuesOptions) *QueryParameterEnumValueMultiValuesOptions { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionObjectTableTableConfiguration) *PipelineIngestionDefinitionObjectTableTableConfiguration { return &v - }).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) + }).(PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) } -// Character that prefixes each selected parameter value. -func (o QueryParameterEnumValueMultiValuesOptionsOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterEnumValueMultiValuesOptions) *string { return v.Prefix }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) } -// Character that separates each selected parameter value. Defaults to a comma. -func (o QueryParameterEnumValueMultiValuesOptionsOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterEnumValueMultiValuesOptions) *string { return v.Separator }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) *bool { + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// Character that suffixes each selected parameter value. -func (o QueryParameterEnumValueMultiValuesOptionsOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterEnumValueMultiValuesOptions) *string { return v.Suffix }).(pulumi.StringPtrOutput) +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) } -type QueryParameterEnumValueMultiValuesOptionsPtrOutput struct{ *pulumi.OutputState } +func (o PipelineIngestionDefinitionObjectTableTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionObjectTableTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) +} -func (QueryParameterEnumValueMultiValuesOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() +type PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionObjectTableTableConfiguration)(nil)).Elem() } -func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput() PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { return o } -func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ToPipelineIngestionDefinitionObjectTableTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput { return o } -func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Elem() QueryParameterEnumValueMultiValuesOptionsOutput { - return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) QueryParameterEnumValueMultiValuesOptions { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionObjectTableTableConfigurationOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) PipelineIngestionDefinitionObjectTableTableConfiguration { if v != nil { return *v } - var ret QueryParameterEnumValueMultiValuesOptions + var ret PipelineIngestionDefinitionObjectTableTableConfiguration return ret - }).(QueryParameterEnumValueMultiValuesOptionsOutput) + }).(PipelineIngestionDefinitionObjectTableTableConfigurationOutput) } -// Character that prefixes each selected parameter value. -func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) *string { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) []string { if v == nil { return nil } - return v.Prefix - }).(pulumi.StringPtrOutput) + return v.PrimaryKeys + }).(pulumi.StringArrayOutput) } -// Character that separates each selected parameter value. Defaults to a comma. -func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) *string { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) *bool { if v == nil { return nil } - return v.Separator - }).(pulumi.StringPtrOutput) + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// Character that suffixes each selected parameter value. -func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) *string { +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) *string { if v == nil { return nil } - return v.Suffix + return v.ScdType }).(pulumi.StringPtrOutput) } -type QueryParameterNumericValue struct { - // actual numeric value. - Value float64 `pulumi:"value"` +func (o PipelineIngestionDefinitionObjectTableTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionObjectTableTableConfiguration) []string { + if v == nil { + return nil + } + return v.SequenceBies + }).(pulumi.StringArrayOutput) } -// QueryParameterNumericValueInput is an input type that accepts QueryParameterNumericValueArgs and QueryParameterNumericValueOutput values. -// You can construct a concrete instance of `QueryParameterNumericValueInput` via: +type PipelineIngestionDefinitionTableConfiguration struct { + PrimaryKeys []string `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields *bool `pulumi:"salesforceIncludeFormulaFields"` + ScdType *string `pulumi:"scdType"` + SequenceBies []string `pulumi:"sequenceBies"` +} + +// PipelineIngestionDefinitionTableConfigurationInput is an input type that accepts PipelineIngestionDefinitionTableConfigurationArgs and PipelineIngestionDefinitionTableConfigurationOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionTableConfigurationInput` via: // -// QueryParameterNumericValueArgs{...} -type QueryParameterNumericValueInput interface { +// PipelineIngestionDefinitionTableConfigurationArgs{...} +type PipelineIngestionDefinitionTableConfigurationInput interface { pulumi.Input - ToQueryParameterNumericValueOutput() QueryParameterNumericValueOutput - ToQueryParameterNumericValueOutputWithContext(context.Context) QueryParameterNumericValueOutput + ToPipelineIngestionDefinitionTableConfigurationOutput() PipelineIngestionDefinitionTableConfigurationOutput + ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(context.Context) PipelineIngestionDefinitionTableConfigurationOutput } -type QueryParameterNumericValueArgs struct { - // actual numeric value. - Value pulumi.Float64Input `pulumi:"value"` +type PipelineIngestionDefinitionTableConfigurationArgs struct { + PrimaryKeys pulumi.StringArrayInput `pulumi:"primaryKeys"` + SalesforceIncludeFormulaFields pulumi.BoolPtrInput `pulumi:"salesforceIncludeFormulaFields"` + ScdType pulumi.StringPtrInput `pulumi:"scdType"` + SequenceBies pulumi.StringArrayInput `pulumi:"sequenceBies"` } -func (QueryParameterNumericValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterNumericValue)(nil)).Elem() +func (PipelineIngestionDefinitionTableConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() } -func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValueOutput() QueryParameterNumericValueOutput { - return i.ToQueryParameterNumericValueOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationOutput() PipelineIngestionDefinitionTableConfigurationOutput { + return i.ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(context.Background()) } -func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValueOutputWithContext(ctx context.Context) QueryParameterNumericValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterNumericValueOutput) +func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionTableConfigurationOutput) } -func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { - return i.ToQueryParameterNumericValuePtrOutputWithContext(context.Background()) +func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Background()) } -func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterNumericValueOutput).ToQueryParameterNumericValuePtrOutputWithContext(ctx) +func (i PipelineIngestionDefinitionTableConfigurationArgs) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionTableConfigurationOutput).ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx) } -// QueryParameterNumericValuePtrInput is an input type that accepts QueryParameterNumericValueArgs, QueryParameterNumericValuePtr and QueryParameterNumericValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterNumericValuePtrInput` via: +// PipelineIngestionDefinitionTableConfigurationPtrInput is an input type that accepts PipelineIngestionDefinitionTableConfigurationArgs, PipelineIngestionDefinitionTableConfigurationPtr and PipelineIngestionDefinitionTableConfigurationPtrOutput values. +// You can construct a concrete instance of `PipelineIngestionDefinitionTableConfigurationPtrInput` via: // -// QueryParameterNumericValueArgs{...} +// PipelineIngestionDefinitionTableConfigurationArgs{...} // // or: // // nil -type QueryParameterNumericValuePtrInput interface { +type PipelineIngestionDefinitionTableConfigurationPtrInput interface { pulumi.Input - ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput - ToQueryParameterNumericValuePtrOutputWithContext(context.Context) QueryParameterNumericValuePtrOutput + ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput + ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput } -type queryParameterNumericValuePtrType QueryParameterNumericValueArgs +type pipelineIngestionDefinitionTableConfigurationPtrType PipelineIngestionDefinitionTableConfigurationArgs -func QueryParameterNumericValuePtr(v *QueryParameterNumericValueArgs) QueryParameterNumericValuePtrInput { - return (*queryParameterNumericValuePtrType)(v) +func PipelineIngestionDefinitionTableConfigurationPtr(v *PipelineIngestionDefinitionTableConfigurationArgs) PipelineIngestionDefinitionTableConfigurationPtrInput { + return (*pipelineIngestionDefinitionTableConfigurationPtrType)(v) } -func (*queryParameterNumericValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterNumericValue)(nil)).Elem() +func (*pipelineIngestionDefinitionTableConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() } -func (i *queryParameterNumericValuePtrType) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { - return i.ToQueryParameterNumericValuePtrOutputWithContext(context.Background()) +func (i *pipelineIngestionDefinitionTableConfigurationPtrType) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { + return i.ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Background()) } -func (i *queryParameterNumericValuePtrType) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterNumericValuePtrOutput) +func (i *pipelineIngestionDefinitionTableConfigurationPtrType) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineIngestionDefinitionTableConfigurationPtrOutput) } -type QueryParameterNumericValueOutput struct{ *pulumi.OutputState } +type PipelineIngestionDefinitionTableConfigurationOutput struct{ *pulumi.OutputState } -func (QueryParameterNumericValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterNumericValue)(nil)).Elem() +func (PipelineIngestionDefinitionTableConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() } -func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValueOutput() QueryParameterNumericValueOutput { +func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationOutput() PipelineIngestionDefinitionTableConfigurationOutput { return o } -func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValueOutputWithContext(ctx context.Context) QueryParameterNumericValueOutput { +func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationOutput { return o } -func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { - return o.ToQueryParameterNumericValuePtrOutputWithContext(context.Background()) +func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { + return o.ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(context.Background()) } -func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterNumericValue) *QueryParameterNumericValue { +func (o PipelineIngestionDefinitionTableConfigurationOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineIngestionDefinitionTableConfiguration) *PipelineIngestionDefinitionTableConfiguration { return &v - }).(QueryParameterNumericValuePtrOutput) + }).(PipelineIngestionDefinitionTableConfigurationPtrOutput) } -// actual numeric value. -func (o QueryParameterNumericValueOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v QueryParameterNumericValue) float64 { return v.Value }).(pulumi.Float64Output) +func (o PipelineIngestionDefinitionTableConfigurationOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) []string { return v.PrimaryKeys }).(pulumi.StringArrayOutput) } -type QueryParameterNumericValuePtrOutput struct{ *pulumi.OutputState } +func (o PipelineIngestionDefinitionTableConfigurationOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) *bool { return v.SalesforceIncludeFormulaFields }).(pulumi.BoolPtrOutput) +} -func (QueryParameterNumericValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterNumericValue)(nil)).Elem() +func (o PipelineIngestionDefinitionTableConfigurationOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) *string { return v.ScdType }).(pulumi.StringPtrOutput) } -func (o QueryParameterNumericValuePtrOutput) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { +func (o PipelineIngestionDefinitionTableConfigurationOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineIngestionDefinitionTableConfiguration) []string { return v.SequenceBies }).(pulumi.StringArrayOutput) +} + +type PipelineIngestionDefinitionTableConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (PipelineIngestionDefinitionTableConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineIngestionDefinitionTableConfiguration)(nil)).Elem() +} + +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutput() PipelineIngestionDefinitionTableConfigurationPtrOutput { return o } -func (o QueryParameterNumericValuePtrOutput) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) ToPipelineIngestionDefinitionTableConfigurationPtrOutputWithContext(ctx context.Context) PipelineIngestionDefinitionTableConfigurationPtrOutput { return o } -func (o QueryParameterNumericValuePtrOutput) Elem() QueryParameterNumericValueOutput { - return o.ApplyT(func(v *QueryParameterNumericValue) QueryParameterNumericValue { +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) Elem() PipelineIngestionDefinitionTableConfigurationOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) PipelineIngestionDefinitionTableConfiguration { if v != nil { return *v } - var ret QueryParameterNumericValue + var ret PipelineIngestionDefinitionTableConfiguration return ret - }).(QueryParameterNumericValueOutput) + }).(PipelineIngestionDefinitionTableConfigurationOutput) } -// actual numeric value. -func (o QueryParameterNumericValuePtrOutput) Value() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *QueryParameterNumericValue) *float64 { +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) PrimaryKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) []string { if v == nil { return nil } - return &v.Value - }).(pulumi.Float64PtrOutput) + return v.PrimaryKeys + }).(pulumi.StringArrayOutput) } -type QueryParameterQueryBackedValue struct { - // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - MultiValuesOptions *QueryParameterQueryBackedValueMultiValuesOptions `pulumi:"multiValuesOptions"` - // ID of the query that provides the parameter values. - QueryId string `pulumi:"queryId"` - // List of selected query parameter values. - Values []string `pulumi:"values"` +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) SalesforceIncludeFormulaFields() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) *bool { + if v == nil { + return nil + } + return v.SalesforceIncludeFormulaFields + }).(pulumi.BoolPtrOutput) } -// QueryParameterQueryBackedValueInput is an input type that accepts QueryParameterQueryBackedValueArgs and QueryParameterQueryBackedValueOutput values. -// You can construct a concrete instance of `QueryParameterQueryBackedValueInput` via: -// -// QueryParameterQueryBackedValueArgs{...} -type QueryParameterQueryBackedValueInput interface { - pulumi.Input +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) ScdType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) *string { + if v == nil { + return nil + } + return v.ScdType + }).(pulumi.StringPtrOutput) +} - ToQueryParameterQueryBackedValueOutput() QueryParameterQueryBackedValueOutput - ToQueryParameterQueryBackedValueOutputWithContext(context.Context) QueryParameterQueryBackedValueOutput +func (o PipelineIngestionDefinitionTableConfigurationPtrOutput) SequenceBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineIngestionDefinitionTableConfiguration) []string { + if v == nil { + return nil + } + return v.SequenceBies + }).(pulumi.StringArrayOutput) } -type QueryParameterQueryBackedValueArgs struct { - // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - MultiValuesOptions QueryParameterQueryBackedValueMultiValuesOptionsPtrInput `pulumi:"multiValuesOptions"` - // ID of the query that provides the parameter values. - QueryId pulumi.StringInput `pulumi:"queryId"` - // List of selected query parameter values. - Values pulumi.StringArrayInput `pulumi:"values"` +type PipelineLatestUpdate struct { + CreationTime *string `pulumi:"creationTime"` + State *string `pulumi:"state"` + UpdateId *string `pulumi:"updateId"` } -func (QueryParameterQueryBackedValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterQueryBackedValue)(nil)).Elem() +// PipelineLatestUpdateInput is an input type that accepts PipelineLatestUpdateArgs and PipelineLatestUpdateOutput values. +// You can construct a concrete instance of `PipelineLatestUpdateInput` via: +// +// PipelineLatestUpdateArgs{...} +type PipelineLatestUpdateInput interface { + pulumi.Input + + ToPipelineLatestUpdateOutput() PipelineLatestUpdateOutput + ToPipelineLatestUpdateOutputWithContext(context.Context) PipelineLatestUpdateOutput } -func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValueOutput() QueryParameterQueryBackedValueOutput { - return i.ToQueryParameterQueryBackedValueOutputWithContext(context.Background()) +type PipelineLatestUpdateArgs struct { + CreationTime pulumi.StringPtrInput `pulumi:"creationTime"` + State pulumi.StringPtrInput `pulumi:"state"` + UpdateId pulumi.StringPtrInput `pulumi:"updateId"` } -func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValueOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueOutput) +func (PipelineLatestUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLatestUpdate)(nil)).Elem() } -func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { - return i.ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Background()) +func (i PipelineLatestUpdateArgs) ToPipelineLatestUpdateOutput() PipelineLatestUpdateOutput { + return i.ToPipelineLatestUpdateOutputWithContext(context.Background()) } -func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueOutput).ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx) +func (i PipelineLatestUpdateArgs) ToPipelineLatestUpdateOutputWithContext(ctx context.Context) PipelineLatestUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLatestUpdateOutput) } -// QueryParameterQueryBackedValuePtrInput is an input type that accepts QueryParameterQueryBackedValueArgs, QueryParameterQueryBackedValuePtr and QueryParameterQueryBackedValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterQueryBackedValuePtrInput` via: -// -// QueryParameterQueryBackedValueArgs{...} -// -// or: +// PipelineLatestUpdateArrayInput is an input type that accepts PipelineLatestUpdateArray and PipelineLatestUpdateArrayOutput values. +// You can construct a concrete instance of `PipelineLatestUpdateArrayInput` via: // -// nil -type QueryParameterQueryBackedValuePtrInput interface { +// PipelineLatestUpdateArray{ PipelineLatestUpdateArgs{...} } +type PipelineLatestUpdateArrayInput interface { pulumi.Input - ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput - ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Context) QueryParameterQueryBackedValuePtrOutput + ToPipelineLatestUpdateArrayOutput() PipelineLatestUpdateArrayOutput + ToPipelineLatestUpdateArrayOutputWithContext(context.Context) PipelineLatestUpdateArrayOutput } -type queryParameterQueryBackedValuePtrType QueryParameterQueryBackedValueArgs - -func QueryParameterQueryBackedValuePtr(v *QueryParameterQueryBackedValueArgs) QueryParameterQueryBackedValuePtrInput { - return (*queryParameterQueryBackedValuePtrType)(v) -} +type PipelineLatestUpdateArray []PipelineLatestUpdateInput -func (*queryParameterQueryBackedValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterQueryBackedValue)(nil)).Elem() +func (PipelineLatestUpdateArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineLatestUpdate)(nil)).Elem() } -func (i *queryParameterQueryBackedValuePtrType) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { - return i.ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Background()) +func (i PipelineLatestUpdateArray) ToPipelineLatestUpdateArrayOutput() PipelineLatestUpdateArrayOutput { + return i.ToPipelineLatestUpdateArrayOutputWithContext(context.Background()) } -func (i *queryParameterQueryBackedValuePtrType) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValuePtrOutput) +func (i PipelineLatestUpdateArray) ToPipelineLatestUpdateArrayOutputWithContext(ctx context.Context) PipelineLatestUpdateArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLatestUpdateArrayOutput) } -type QueryParameterQueryBackedValueOutput struct{ *pulumi.OutputState } +type PipelineLatestUpdateOutput struct{ *pulumi.OutputState } -func (QueryParameterQueryBackedValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterQueryBackedValue)(nil)).Elem() +func (PipelineLatestUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLatestUpdate)(nil)).Elem() } -func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValueOutput() QueryParameterQueryBackedValueOutput { +func (o PipelineLatestUpdateOutput) ToPipelineLatestUpdateOutput() PipelineLatestUpdateOutput { return o } -func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValueOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueOutput { +func (o PipelineLatestUpdateOutput) ToPipelineLatestUpdateOutputWithContext(ctx context.Context) PipelineLatestUpdateOutput { return o } -func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { - return o.ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Background()) -} - -func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterQueryBackedValue) *QueryParameterQueryBackedValue { - return &v - }).(QueryParameterQueryBackedValuePtrOutput) -} - -// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: -func (o QueryParameterQueryBackedValueOutput) MultiValuesOptions() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return o.ApplyT(func(v QueryParameterQueryBackedValue) *QueryParameterQueryBackedValueMultiValuesOptions { - return v.MultiValuesOptions - }).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) +func (o PipelineLatestUpdateOutput) CreationTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLatestUpdate) *string { return v.CreationTime }).(pulumi.StringPtrOutput) } -// ID of the query that provides the parameter values. -func (o QueryParameterQueryBackedValueOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v QueryParameterQueryBackedValue) string { return v.QueryId }).(pulumi.StringOutput) +func (o PipelineLatestUpdateOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLatestUpdate) *string { return v.State }).(pulumi.StringPtrOutput) } -// List of selected query parameter values. -func (o QueryParameterQueryBackedValueOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v QueryParameterQueryBackedValue) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o PipelineLatestUpdateOutput) UpdateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLatestUpdate) *string { return v.UpdateId }).(pulumi.StringPtrOutput) } -type QueryParameterQueryBackedValuePtrOutput struct{ *pulumi.OutputState } +type PipelineLatestUpdateArrayOutput struct{ *pulumi.OutputState } -func (QueryParameterQueryBackedValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterQueryBackedValue)(nil)).Elem() +func (PipelineLatestUpdateArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineLatestUpdate)(nil)).Elem() } -func (o QueryParameterQueryBackedValuePtrOutput) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { +func (o PipelineLatestUpdateArrayOutput) ToPipelineLatestUpdateArrayOutput() PipelineLatestUpdateArrayOutput { return o } -func (o QueryParameterQueryBackedValuePtrOutput) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { +func (o PipelineLatestUpdateArrayOutput) ToPipelineLatestUpdateArrayOutputWithContext(ctx context.Context) PipelineLatestUpdateArrayOutput { return o } -func (o QueryParameterQueryBackedValuePtrOutput) Elem() QueryParameterQueryBackedValueOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValue) QueryParameterQueryBackedValue { - if v != nil { - return *v - } - var ret QueryParameterQueryBackedValue - return ret - }).(QueryParameterQueryBackedValueOutput) -} - -// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: -func (o QueryParameterQueryBackedValuePtrOutput) MultiValuesOptions() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValue) *QueryParameterQueryBackedValueMultiValuesOptions { - if v == nil { - return nil - } - return v.MultiValuesOptions - }).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) -} - -// ID of the query that provides the parameter values. -func (o QueryParameterQueryBackedValuePtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValue) *string { - if v == nil { - return nil - } - return &v.QueryId - }).(pulumi.StringPtrOutput) -} - -// List of selected query parameter values. -func (o QueryParameterQueryBackedValuePtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValue) []string { - if v == nil { - return nil - } - return v.Values - }).(pulumi.StringArrayOutput) +func (o PipelineLatestUpdateArrayOutput) Index(i pulumi.IntInput) PipelineLatestUpdateOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineLatestUpdate { + return vs[0].([]PipelineLatestUpdate)[vs[1].(int)] + }).(PipelineLatestUpdateOutput) } -type QueryParameterQueryBackedValueMultiValuesOptions struct { - // Character that prefixes each selected parameter value. - Prefix *string `pulumi:"prefix"` - // Character that separates each selected parameter value. Defaults to a comma. - Separator *string `pulumi:"separator"` - // Character that suffixes each selected parameter value. - Suffix *string `pulumi:"suffix"` +type PipelineLibrary struct { + File *PipelineLibraryFile `pulumi:"file"` + Jar *string `pulumi:"jar"` + Maven *PipelineLibraryMaven `pulumi:"maven"` + Notebook *PipelineLibraryNotebook `pulumi:"notebook"` + // Deprecated: The 'whl' field is deprecated + Whl *string `pulumi:"whl"` } -// QueryParameterQueryBackedValueMultiValuesOptionsInput is an input type that accepts QueryParameterQueryBackedValueMultiValuesOptionsArgs and QueryParameterQueryBackedValueMultiValuesOptionsOutput values. -// You can construct a concrete instance of `QueryParameterQueryBackedValueMultiValuesOptionsInput` via: +// PipelineLibraryInput is an input type that accepts PipelineLibraryArgs and PipelineLibraryOutput values. +// You can construct a concrete instance of `PipelineLibraryInput` via: // -// QueryParameterQueryBackedValueMultiValuesOptionsArgs{...} -type QueryParameterQueryBackedValueMultiValuesOptionsInput interface { +// PipelineLibraryArgs{...} +type PipelineLibraryInput interface { pulumi.Input - ToQueryParameterQueryBackedValueMultiValuesOptionsOutput() QueryParameterQueryBackedValueMultiValuesOptionsOutput - ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(context.Context) QueryParameterQueryBackedValueMultiValuesOptionsOutput -} - -type QueryParameterQueryBackedValueMultiValuesOptionsArgs struct { - // Character that prefixes each selected parameter value. - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - // Character that separates each selected parameter value. Defaults to a comma. - Separator pulumi.StringPtrInput `pulumi:"separator"` - // Character that suffixes each selected parameter value. - Suffix pulumi.StringPtrInput `pulumi:"suffix"` -} - -func (QueryParameterQueryBackedValueMultiValuesOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() + ToPipelineLibraryOutput() PipelineLibraryOutput + ToPipelineLibraryOutputWithContext(context.Context) PipelineLibraryOutput } -func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsOutput() QueryParameterQueryBackedValueMultiValuesOptionsOutput { - return i.ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(context.Background()) +type PipelineLibraryArgs struct { + File PipelineLibraryFilePtrInput `pulumi:"file"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven PipelineLibraryMavenPtrInput `pulumi:"maven"` + Notebook PipelineLibraryNotebookPtrInput `pulumi:"notebook"` + // Deprecated: The 'whl' field is deprecated + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueMultiValuesOptionsOutput) +func (PipelineLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() } -func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return i.ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Background()) +func (i PipelineLibraryArgs) ToPipelineLibraryOutput() PipelineLibraryOutput { + return i.ToPipelineLibraryOutputWithContext(context.Background()) } -func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueMultiValuesOptionsOutput).ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx) +func (i PipelineLibraryArgs) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryOutput) } -// QueryParameterQueryBackedValueMultiValuesOptionsPtrInput is an input type that accepts QueryParameterQueryBackedValueMultiValuesOptionsArgs, QueryParameterQueryBackedValueMultiValuesOptionsPtr and QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput values. -// You can construct a concrete instance of `QueryParameterQueryBackedValueMultiValuesOptionsPtrInput` via: -// -// QueryParameterQueryBackedValueMultiValuesOptionsArgs{...} -// -// or: +// PipelineLibraryArrayInput is an input type that accepts PipelineLibraryArray and PipelineLibraryArrayOutput values. +// You can construct a concrete instance of `PipelineLibraryArrayInput` via: // -// nil -type QueryParameterQueryBackedValueMultiValuesOptionsPtrInput interface { +// PipelineLibraryArray{ PipelineLibraryArgs{...} } +type PipelineLibraryArrayInput interface { pulumi.Input - ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput - ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput + ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput + ToPipelineLibraryArrayOutputWithContext(context.Context) PipelineLibraryArrayOutput } -type queryParameterQueryBackedValueMultiValuesOptionsPtrType QueryParameterQueryBackedValueMultiValuesOptionsArgs - -func QueryParameterQueryBackedValueMultiValuesOptionsPtr(v *QueryParameterQueryBackedValueMultiValuesOptionsArgs) QueryParameterQueryBackedValueMultiValuesOptionsPtrInput { - return (*queryParameterQueryBackedValueMultiValuesOptionsPtrType)(v) -} +type PipelineLibraryArray []PipelineLibraryInput -func (*queryParameterQueryBackedValueMultiValuesOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() +func (PipelineLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() } -func (i *queryParameterQueryBackedValueMultiValuesOptionsPtrType) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return i.ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Background()) +func (i PipelineLibraryArray) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { + return i.ToPipelineLibraryArrayOutputWithContext(context.Background()) } -func (i *queryParameterQueryBackedValueMultiValuesOptionsPtrType) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) +func (i PipelineLibraryArray) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryArrayOutput) } -type QueryParameterQueryBackedValueMultiValuesOptionsOutput struct{ *pulumi.OutputState } +type PipelineLibraryOutput struct{ *pulumi.OutputState } -func (QueryParameterQueryBackedValueMultiValuesOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() +func (PipelineLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibrary)(nil)).Elem() } -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsOutput() QueryParameterQueryBackedValueMultiValuesOptionsOutput { +func (o PipelineLibraryOutput) ToPipelineLibraryOutput() PipelineLibraryOutput { return o } -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsOutput { +func (o PipelineLibraryOutput) ToPipelineLibraryOutputWithContext(ctx context.Context) PipelineLibraryOutput { return o } -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return o.ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Background()) +func (o PipelineLibraryOutput) File() PipelineLibraryFilePtrOutput { + return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryFile { return v.File }).(PipelineLibraryFilePtrOutput) } -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterQueryBackedValueMultiValuesOptions) *QueryParameterQueryBackedValueMultiValuesOptions { - return &v - }).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) +func (o PipelineLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -// Character that prefixes each selected parameter value. -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterQueryBackedValueMultiValuesOptions) *string { return v.Prefix }).(pulumi.StringPtrOutput) +func (o PipelineLibraryOutput) Maven() PipelineLibraryMavenPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryMaven { return v.Maven }).(PipelineLibraryMavenPtrOutput) } -// Character that separates each selected parameter value. Defaults to a comma. -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterQueryBackedValueMultiValuesOptions) *string { return v.Separator }).(pulumi.StringPtrOutput) +func (o PipelineLibraryOutput) Notebook() PipelineLibraryNotebookPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *PipelineLibraryNotebook { return v.Notebook }).(PipelineLibraryNotebookPtrOutput) } -// Character that suffixes each selected parameter value. -func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v QueryParameterQueryBackedValueMultiValuesOptions) *string { return v.Suffix }).(pulumi.StringPtrOutput) +// Deprecated: The 'whl' field is deprecated +func (o PipelineLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput struct{ *pulumi.OutputState } +type PipelineLibraryArrayOutput struct{ *pulumi.OutputState } -func (QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() +func (PipelineLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineLibrary)(nil)).Elem() } -func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { +func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutput() PipelineLibraryArrayOutput { return o } -func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { +func (o PipelineLibraryArrayOutput) ToPipelineLibraryArrayOutputWithContext(ctx context.Context) PipelineLibraryArrayOutput { return o } -func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Elem() QueryParameterQueryBackedValueMultiValuesOptionsOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) QueryParameterQueryBackedValueMultiValuesOptions { - if v != nil { - return *v - } - var ret QueryParameterQueryBackedValueMultiValuesOptions - return ret - }).(QueryParameterQueryBackedValueMultiValuesOptionsOutput) -} - -// Character that prefixes each selected parameter value. -func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) *string { - if v == nil { - return nil - } - return v.Prefix - }).(pulumi.StringPtrOutput) -} - -// Character that separates each selected parameter value. Defaults to a comma. -func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) *string { - if v == nil { - return nil - } - return v.Separator - }).(pulumi.StringPtrOutput) -} - -// Character that suffixes each selected parameter value. -func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) *string { - if v == nil { - return nil - } - return v.Suffix - }).(pulumi.StringPtrOutput) +func (o PipelineLibraryArrayOutput) Index(i pulumi.IntInput) PipelineLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineLibrary { + return vs[0].([]PipelineLibrary)[vs[1].(int)] + }).(PipelineLibraryOutput) } -type QueryParameterTextValue struct { - // actual text value. - Value string `pulumi:"value"` +type PipelineLibraryFile struct { + Path *string `pulumi:"path"` } -// QueryParameterTextValueInput is an input type that accepts QueryParameterTextValueArgs and QueryParameterTextValueOutput values. -// You can construct a concrete instance of `QueryParameterTextValueInput` via: +// PipelineLibraryFileInput is an input type that accepts PipelineLibraryFileArgs and PipelineLibraryFileOutput values. +// You can construct a concrete instance of `PipelineLibraryFileInput` via: // -// QueryParameterTextValueArgs{...} -type QueryParameterTextValueInput interface { +// PipelineLibraryFileArgs{...} +type PipelineLibraryFileInput interface { pulumi.Input - ToQueryParameterTextValueOutput() QueryParameterTextValueOutput - ToQueryParameterTextValueOutputWithContext(context.Context) QueryParameterTextValueOutput + ToPipelineLibraryFileOutput() PipelineLibraryFileOutput + ToPipelineLibraryFileOutputWithContext(context.Context) PipelineLibraryFileOutput } -type QueryParameterTextValueArgs struct { - // actual text value. - Value pulumi.StringInput `pulumi:"value"` +type PipelineLibraryFileArgs struct { + Path pulumi.StringPtrInput `pulumi:"path"` } -func (QueryParameterTextValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterTextValue)(nil)).Elem() +func (PipelineLibraryFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() } -func (i QueryParameterTextValueArgs) ToQueryParameterTextValueOutput() QueryParameterTextValueOutput { - return i.ToQueryParameterTextValueOutputWithContext(context.Background()) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { + return i.ToPipelineLibraryFileOutputWithContext(context.Background()) } -func (i QueryParameterTextValueArgs) ToQueryParameterTextValueOutputWithContext(ctx context.Context) QueryParameterTextValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTextValueOutput) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput) } -func (i QueryParameterTextValueArgs) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { - return i.ToQueryParameterTextValuePtrOutputWithContext(context.Background()) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { + return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) } -func (i QueryParameterTextValueArgs) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTextValueOutput).ToQueryParameterTextValuePtrOutputWithContext(ctx) +func (i PipelineLibraryFileArgs) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFileOutput).ToPipelineLibraryFilePtrOutputWithContext(ctx) } -// QueryParameterTextValuePtrInput is an input type that accepts QueryParameterTextValueArgs, QueryParameterTextValuePtr and QueryParameterTextValuePtrOutput values. -// You can construct a concrete instance of `QueryParameterTextValuePtrInput` via: +// PipelineLibraryFilePtrInput is an input type that accepts PipelineLibraryFileArgs, PipelineLibraryFilePtr and PipelineLibraryFilePtrOutput values. +// You can construct a concrete instance of `PipelineLibraryFilePtrInput` via: // -// QueryParameterTextValueArgs{...} +// PipelineLibraryFileArgs{...} // // or: // // nil -type QueryParameterTextValuePtrInput interface { +type PipelineLibraryFilePtrInput interface { pulumi.Input - ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput - ToQueryParameterTextValuePtrOutputWithContext(context.Context) QueryParameterTextValuePtrOutput + ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput + ToPipelineLibraryFilePtrOutputWithContext(context.Context) PipelineLibraryFilePtrOutput } -type queryParameterTextValuePtrType QueryParameterTextValueArgs +type pipelineLibraryFilePtrType PipelineLibraryFileArgs -func QueryParameterTextValuePtr(v *QueryParameterTextValueArgs) QueryParameterTextValuePtrInput { - return (*queryParameterTextValuePtrType)(v) +func PipelineLibraryFilePtr(v *PipelineLibraryFileArgs) PipelineLibraryFilePtrInput { + return (*pipelineLibraryFilePtrType)(v) } -func (*queryParameterTextValuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterTextValue)(nil)).Elem() +func (*pipelineLibraryFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() } -func (i *queryParameterTextValuePtrType) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { - return i.ToQueryParameterTextValuePtrOutputWithContext(context.Background()) +func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { + return i.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) } -func (i *queryParameterTextValuePtrType) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTextValuePtrOutput) +func (i *pipelineLibraryFilePtrType) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryFilePtrOutput) } -type QueryParameterTextValueOutput struct{ *pulumi.OutputState } +type PipelineLibraryFileOutput struct{ *pulumi.OutputState } -func (QueryParameterTextValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*QueryParameterTextValue)(nil)).Elem() +func (PipelineLibraryFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryFile)(nil)).Elem() } -func (o QueryParameterTextValueOutput) ToQueryParameterTextValueOutput() QueryParameterTextValueOutput { +func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutput() PipelineLibraryFileOutput { return o } -func (o QueryParameterTextValueOutput) ToQueryParameterTextValueOutputWithContext(ctx context.Context) QueryParameterTextValueOutput { +func (o PipelineLibraryFileOutput) ToPipelineLibraryFileOutputWithContext(ctx context.Context) PipelineLibraryFileOutput { return o } -func (o QueryParameterTextValueOutput) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { - return o.ToQueryParameterTextValuePtrOutputWithContext(context.Background()) +func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { + return o.ToPipelineLibraryFilePtrOutputWithContext(context.Background()) } -func (o QueryParameterTextValueOutput) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterTextValue) *QueryParameterTextValue { +func (o PipelineLibraryFileOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryFile) *PipelineLibraryFile { return &v - }).(QueryParameterTextValuePtrOutput) + }).(PipelineLibraryFilePtrOutput) } -// actual text value. -func (o QueryParameterTextValueOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v QueryParameterTextValue) string { return v.Value }).(pulumi.StringOutput) +func (o PipelineLibraryFileOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibraryFile) *string { return v.Path }).(pulumi.StringPtrOutput) } -type QueryParameterTextValuePtrOutput struct{ *pulumi.OutputState } +type PipelineLibraryFilePtrOutput struct{ *pulumi.OutputState } -func (QueryParameterTextValuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**QueryParameterTextValue)(nil)).Elem() +func (PipelineLibraryFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryFile)(nil)).Elem() } -func (o QueryParameterTextValuePtrOutput) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { +func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutput() PipelineLibraryFilePtrOutput { return o } -func (o QueryParameterTextValuePtrOutput) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { +func (o PipelineLibraryFilePtrOutput) ToPipelineLibraryFilePtrOutputWithContext(ctx context.Context) PipelineLibraryFilePtrOutput { return o } -func (o QueryParameterTextValuePtrOutput) Elem() QueryParameterTextValueOutput { - return o.ApplyT(func(v *QueryParameterTextValue) QueryParameterTextValue { +func (o PipelineLibraryFilePtrOutput) Elem() PipelineLibraryFileOutput { + return o.ApplyT(func(v *PipelineLibraryFile) PipelineLibraryFile { if v != nil { return *v } - var ret QueryParameterTextValue + var ret PipelineLibraryFile return ret - }).(QueryParameterTextValueOutput) + }).(PipelineLibraryFileOutput) } -// actual text value. -func (o QueryParameterTextValuePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *QueryParameterTextValue) *string { +func (o PipelineLibraryFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryFile) *string { if v == nil { return nil } - return &v.Value + return v.Path }).(pulumi.StringPtrOutput) } -type RecipientIpAccessList struct { - // Allowed IP Addresses in CIDR notation. Limit of 100. - AllowedIpAddresses []string `pulumi:"allowedIpAddresses"` +type PipelineLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// RecipientIpAccessListInput is an input type that accepts RecipientIpAccessListArgs and RecipientIpAccessListOutput values. -// You can construct a concrete instance of `RecipientIpAccessListInput` via: +// PipelineLibraryMavenInput is an input type that accepts PipelineLibraryMavenArgs and PipelineLibraryMavenOutput values. +// You can construct a concrete instance of `PipelineLibraryMavenInput` via: // -// RecipientIpAccessListArgs{...} -type RecipientIpAccessListInput interface { +// PipelineLibraryMavenArgs{...} +type PipelineLibraryMavenInput interface { pulumi.Input - ToRecipientIpAccessListOutput() RecipientIpAccessListOutput - ToRecipientIpAccessListOutputWithContext(context.Context) RecipientIpAccessListOutput + ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput + ToPipelineLibraryMavenOutputWithContext(context.Context) PipelineLibraryMavenOutput } -type RecipientIpAccessListArgs struct { - // Allowed IP Addresses in CIDR notation. Limit of 100. - AllowedIpAddresses pulumi.StringArrayInput `pulumi:"allowedIpAddresses"` +type PipelineLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (RecipientIpAccessListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() +func (PipelineLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { - return i.ToRecipientIpAccessListOutputWithContext(context.Background()) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { + return i.ToPipelineLibraryMavenOutputWithContext(context.Background()) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { + return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) } -func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput).ToRecipientIpAccessListPtrOutputWithContext(ctx) +func (i PipelineLibraryMavenArgs) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenOutput).ToPipelineLibraryMavenPtrOutputWithContext(ctx) } -// RecipientIpAccessListPtrInput is an input type that accepts RecipientIpAccessListArgs, RecipientIpAccessListPtr and RecipientIpAccessListPtrOutput values. -// You can construct a concrete instance of `RecipientIpAccessListPtrInput` via: +// PipelineLibraryMavenPtrInput is an input type that accepts PipelineLibraryMavenArgs, PipelineLibraryMavenPtr and PipelineLibraryMavenPtrOutput values. +// You can construct a concrete instance of `PipelineLibraryMavenPtrInput` via: // -// RecipientIpAccessListArgs{...} +// PipelineLibraryMavenArgs{...} // // or: // // nil -type RecipientIpAccessListPtrInput interface { +type PipelineLibraryMavenPtrInput interface { pulumi.Input - ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput - ToRecipientIpAccessListPtrOutputWithContext(context.Context) RecipientIpAccessListPtrOutput + ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput + ToPipelineLibraryMavenPtrOutputWithContext(context.Context) PipelineLibraryMavenPtrOutput } -type recipientIpAccessListPtrType RecipientIpAccessListArgs +type pipelineLibraryMavenPtrType PipelineLibraryMavenArgs -func RecipientIpAccessListPtr(v *RecipientIpAccessListArgs) RecipientIpAccessListPtrInput { - return (*recipientIpAccessListPtrType)(v) +func PipelineLibraryMavenPtr(v *PipelineLibraryMavenArgs) PipelineLibraryMavenPtrInput { + return (*pipelineLibraryMavenPtrType)(v) } -func (*recipientIpAccessListPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() +func (*pipelineLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() } -func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { + return i.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListPtrOutput) +func (i *pipelineLibraryMavenPtrType) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryMavenPtrOutput) } -type RecipientIpAccessListOutput struct{ *pulumi.OutputState } +type PipelineLibraryMavenOutput struct{ *pulumi.OutputState } -func (RecipientIpAccessListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() +func (PipelineLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryMaven)(nil)).Elem() } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutput() PipelineLibraryMavenOutput { return o } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenOutputWithContext(ctx context.Context) PipelineLibraryMavenOutput { return o } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { - return o.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { + return o.ToPipelineLibraryMavenPtrOutputWithContext(context.Background()) } -func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientIpAccessList) *RecipientIpAccessList { +func (o PipelineLibraryMavenOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryMaven) *PipelineLibraryMaven { return &v - }).(RecipientIpAccessListPtrOutput) + }).(PipelineLibraryMavenPtrOutput) } -// Allowed IP Addresses in CIDR notation. Limit of 100. -func (o RecipientIpAccessListOutput) AllowedIpAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v RecipientIpAccessList) []string { return v.AllowedIpAddresses }).(pulumi.StringArrayOutput) +func (o PipelineLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v PipelineLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -type RecipientIpAccessListPtrOutput struct{ *pulumi.OutputState } +func (o PipelineLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} -func (RecipientIpAccessListPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() +func (o PipelineLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { +type PipelineLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (PipelineLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryMaven)(nil)).Elem() +} + +func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutput() PipelineLibraryMavenPtrOutput { return o } -func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { +func (o PipelineLibraryMavenPtrOutput) ToPipelineLibraryMavenPtrOutputWithContext(ctx context.Context) PipelineLibraryMavenPtrOutput { return o } -func (o RecipientIpAccessListPtrOutput) Elem() RecipientIpAccessListOutput { - return o.ApplyT(func(v *RecipientIpAccessList) RecipientIpAccessList { +func (o PipelineLibraryMavenPtrOutput) Elem() PipelineLibraryMavenOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) PipelineLibraryMaven { if v != nil { return *v } - var ret RecipientIpAccessList + var ret PipelineLibraryMaven return ret - }).(RecipientIpAccessListOutput) + }).(PipelineLibraryMavenOutput) } -// Allowed IP Addresses in CIDR notation. Limit of 100. -func (o RecipientIpAccessListPtrOutput) AllowedIpAddresses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RecipientIpAccessList) []string { +func (o PipelineLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) *string { if v == nil { return nil } - return v.AllowedIpAddresses + return &v.Coordinates + }).(pulumi.StringPtrOutput) +} + +func (o PipelineLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions }).(pulumi.StringArrayOutput) } -type RecipientPropertiesKvpairs struct { - // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. - Properties map[string]string `pulumi:"properties"` +func (o PipelineLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// RecipientPropertiesKvpairsInput is an input type that accepts RecipientPropertiesKvpairsArgs and RecipientPropertiesKvpairsOutput values. -// You can construct a concrete instance of `RecipientPropertiesKvpairsInput` via: +type PipelineLibraryNotebook struct { + Path *string `pulumi:"path"` +} + +// PipelineLibraryNotebookInput is an input type that accepts PipelineLibraryNotebookArgs and PipelineLibraryNotebookOutput values. +// You can construct a concrete instance of `PipelineLibraryNotebookInput` via: // -// RecipientPropertiesKvpairsArgs{...} -type RecipientPropertiesKvpairsInput interface { +// PipelineLibraryNotebookArgs{...} +type PipelineLibraryNotebookInput interface { pulumi.Input - ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput - ToRecipientPropertiesKvpairsOutputWithContext(context.Context) RecipientPropertiesKvpairsOutput + ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput + ToPipelineLibraryNotebookOutputWithContext(context.Context) PipelineLibraryNotebookOutput } -type RecipientPropertiesKvpairsArgs struct { - // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. - Properties pulumi.StringMapInput `pulumi:"properties"` +type PipelineLibraryNotebookArgs struct { + Path pulumi.StringPtrInput `pulumi:"path"` } -func (RecipientPropertiesKvpairsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() +func (PipelineLibraryNotebookArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { - return i.ToRecipientPropertiesKvpairsOutputWithContext(context.Background()) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { + return i.ToPipelineLibraryNotebookOutputWithContext(context.Background()) } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput) } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { - return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { + return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) } -func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput).ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx) +func (i PipelineLibraryNotebookArgs) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookOutput).ToPipelineLibraryNotebookPtrOutputWithContext(ctx) } -// RecipientPropertiesKvpairsPtrInput is an input type that accepts RecipientPropertiesKvpairsArgs, RecipientPropertiesKvpairsPtr and RecipientPropertiesKvpairsPtrOutput values. -// You can construct a concrete instance of `RecipientPropertiesKvpairsPtrInput` via: +// PipelineLibraryNotebookPtrInput is an input type that accepts PipelineLibraryNotebookArgs, PipelineLibraryNotebookPtr and PipelineLibraryNotebookPtrOutput values. +// You can construct a concrete instance of `PipelineLibraryNotebookPtrInput` via: // -// RecipientPropertiesKvpairsArgs{...} +// PipelineLibraryNotebookArgs{...} // // or: // // nil -type RecipientPropertiesKvpairsPtrInput interface { +type PipelineLibraryNotebookPtrInput interface { pulumi.Input - ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput - ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Context) RecipientPropertiesKvpairsPtrOutput + ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput + ToPipelineLibraryNotebookPtrOutputWithContext(context.Context) PipelineLibraryNotebookPtrOutput } -type recipientPropertiesKvpairsPtrType RecipientPropertiesKvpairsArgs +type pipelineLibraryNotebookPtrType PipelineLibraryNotebookArgs -func RecipientPropertiesKvpairsPtr(v *RecipientPropertiesKvpairsArgs) RecipientPropertiesKvpairsPtrInput { - return (*recipientPropertiesKvpairsPtrType)(v) +func PipelineLibraryNotebookPtr(v *PipelineLibraryNotebookArgs) PipelineLibraryNotebookPtrInput { + return (*pipelineLibraryNotebookPtrType)(v) } -func (*recipientPropertiesKvpairsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() +func (*pipelineLibraryNotebookPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() } -func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { - return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) +func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { + return i.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) } -func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsPtrOutput) +func (i *pipelineLibraryNotebookPtrType) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineLibraryNotebookPtrOutput) } -type RecipientPropertiesKvpairsOutput struct{ *pulumi.OutputState } +type PipelineLibraryNotebookOutput struct{ *pulumi.OutputState } -func (RecipientPropertiesKvpairsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() +func (PipelineLibraryNotebookOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineLibraryNotebook)(nil)).Elem() } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutput() PipelineLibraryNotebookOutput { return o } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookOutputWithContext(ctx context.Context) PipelineLibraryNotebookOutput { return o } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { - return o.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { + return o.ToPipelineLibraryNotebookPtrOutputWithContext(context.Background()) } -func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientPropertiesKvpairs) *RecipientPropertiesKvpairs { +func (o PipelineLibraryNotebookOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineLibraryNotebook) *PipelineLibraryNotebook { return &v - }).(RecipientPropertiesKvpairsPtrOutput) + }).(PipelineLibraryNotebookPtrOutput) } -// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. -func (o RecipientPropertiesKvpairsOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v RecipientPropertiesKvpairs) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (o PipelineLibraryNotebookOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineLibraryNotebook) *string { return v.Path }).(pulumi.StringPtrOutput) } -type RecipientPropertiesKvpairsPtrOutput struct{ *pulumi.OutputState } +type PipelineLibraryNotebookPtrOutput struct{ *pulumi.OutputState } -func (RecipientPropertiesKvpairsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() +func (PipelineLibraryNotebookPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineLibraryNotebook)(nil)).Elem() } -func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { +func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutput() PipelineLibraryNotebookPtrOutput { return o } -func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { +func (o PipelineLibraryNotebookPtrOutput) ToPipelineLibraryNotebookPtrOutputWithContext(ctx context.Context) PipelineLibraryNotebookPtrOutput { return o } -func (o RecipientPropertiesKvpairsPtrOutput) Elem() RecipientPropertiesKvpairsOutput { - return o.ApplyT(func(v *RecipientPropertiesKvpairs) RecipientPropertiesKvpairs { +func (o PipelineLibraryNotebookPtrOutput) Elem() PipelineLibraryNotebookOutput { + return o.ApplyT(func(v *PipelineLibraryNotebook) PipelineLibraryNotebook { if v != nil { return *v } - var ret RecipientPropertiesKvpairs + var ret PipelineLibraryNotebook return ret - }).(RecipientPropertiesKvpairsOutput) + }).(PipelineLibraryNotebookOutput) } -// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. -func (o RecipientPropertiesKvpairsPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *RecipientPropertiesKvpairs) map[string]string { +func (o PipelineLibraryNotebookPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineLibraryNotebook) *string { if v == nil { return nil } - return v.Properties - }).(pulumi.StringMapOutput) + return v.Path + }).(pulumi.StringPtrOutput) } -type RecipientToken struct { - // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - ActivationUrl *string `pulumi:"activationUrl"` - // Time at which this recipient was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of recipient creator. - CreatedBy *string `pulumi:"createdBy"` - // Expiration timestamp of the token in epoch milliseconds. - ExpirationTime *int `pulumi:"expirationTime"` - // Unique ID of the recipient token. - Id *string `pulumi:"id"` - // Time at which this recipient was updated, in epoch milliseconds. - UpdatedAt *int `pulumi:"updatedAt"` - // Username of recipient Token updater. - UpdatedBy *string `pulumi:"updatedBy"` +type PipelineNotification struct { + // non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list + // * `on-update-success` - a pipeline update completes successfully. + // * `on-update-failure` - a pipeline update fails with a retryable error. + // * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. + // * `on-flow-failure` - a single data flow fails. + Alerts []string `pulumi:"alerts"` + // non-empty list of emails to notify. + EmailRecipients []string `pulumi:"emailRecipients"` } -// RecipientTokenInput is an input type that accepts RecipientTokenArgs and RecipientTokenOutput values. -// You can construct a concrete instance of `RecipientTokenInput` via: +// PipelineNotificationInput is an input type that accepts PipelineNotificationArgs and PipelineNotificationOutput values. +// You can construct a concrete instance of `PipelineNotificationInput` via: // -// RecipientTokenArgs{...} -type RecipientTokenInput interface { +// PipelineNotificationArgs{...} +type PipelineNotificationInput interface { pulumi.Input - ToRecipientTokenOutput() RecipientTokenOutput - ToRecipientTokenOutputWithContext(context.Context) RecipientTokenOutput + ToPipelineNotificationOutput() PipelineNotificationOutput + ToPipelineNotificationOutputWithContext(context.Context) PipelineNotificationOutput } -type RecipientTokenArgs struct { - // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - ActivationUrl pulumi.StringPtrInput `pulumi:"activationUrl"` - // Time at which this recipient was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of recipient creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // Expiration timestamp of the token in epoch milliseconds. - ExpirationTime pulumi.IntPtrInput `pulumi:"expirationTime"` - // Unique ID of the recipient token. - Id pulumi.StringPtrInput `pulumi:"id"` - // Time at which this recipient was updated, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of recipient Token updater. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +type PipelineNotificationArgs struct { + // non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list + // * `on-update-success` - a pipeline update completes successfully. + // * `on-update-failure` - a pipeline update fails with a retryable error. + // * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. + // * `on-flow-failure` - a single data flow fails. + Alerts pulumi.StringArrayInput `pulumi:"alerts"` + // non-empty list of emails to notify. + EmailRecipients pulumi.StringArrayInput `pulumi:"emailRecipients"` } -func (RecipientTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientToken)(nil)).Elem() +func (PipelineNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineNotification)(nil)).Elem() } -func (i RecipientTokenArgs) ToRecipientTokenOutput() RecipientTokenOutput { - return i.ToRecipientTokenOutputWithContext(context.Background()) +func (i PipelineNotificationArgs) ToPipelineNotificationOutput() PipelineNotificationOutput { + return i.ToPipelineNotificationOutputWithContext(context.Background()) } -func (i RecipientTokenArgs) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenOutput) +func (i PipelineNotificationArgs) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationOutput) } -// RecipientTokenArrayInput is an input type that accepts RecipientTokenArray and RecipientTokenArrayOutput values. -// You can construct a concrete instance of `RecipientTokenArrayInput` via: +// PipelineNotificationArrayInput is an input type that accepts PipelineNotificationArray and PipelineNotificationArrayOutput values. +// You can construct a concrete instance of `PipelineNotificationArrayInput` via: // -// RecipientTokenArray{ RecipientTokenArgs{...} } -type RecipientTokenArrayInput interface { +// PipelineNotificationArray{ PipelineNotificationArgs{...} } +type PipelineNotificationArrayInput interface { pulumi.Input - ToRecipientTokenArrayOutput() RecipientTokenArrayOutput - ToRecipientTokenArrayOutputWithContext(context.Context) RecipientTokenArrayOutput + ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput + ToPipelineNotificationArrayOutputWithContext(context.Context) PipelineNotificationArrayOutput } -type RecipientTokenArray []RecipientTokenInput +type PipelineNotificationArray []PipelineNotificationInput -func (RecipientTokenArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() +func (PipelineNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() } -func (i RecipientTokenArray) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { - return i.ToRecipientTokenArrayOutputWithContext(context.Background()) +func (i PipelineNotificationArray) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { + return i.ToPipelineNotificationArrayOutputWithContext(context.Background()) } -func (i RecipientTokenArray) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenArrayOutput) +func (i PipelineNotificationArray) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineNotificationArrayOutput) } -type RecipientTokenOutput struct{ *pulumi.OutputState } +type PipelineNotificationOutput struct{ *pulumi.OutputState } -func (RecipientTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RecipientToken)(nil)).Elem() +func (PipelineNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineNotification)(nil)).Elem() } -func (o RecipientTokenOutput) ToRecipientTokenOutput() RecipientTokenOutput { +func (o PipelineNotificationOutput) ToPipelineNotificationOutput() PipelineNotificationOutput { return o } -func (o RecipientTokenOutput) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { +func (o PipelineNotificationOutput) ToPipelineNotificationOutputWithContext(ctx context.Context) PipelineNotificationOutput { return o } -// Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. -func (o RecipientTokenOutput) ActivationUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.ActivationUrl }).(pulumi.StringPtrOutput) -} - -// Time at which this recipient was created, in epoch milliseconds. -func (o RecipientTokenOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) -} - -// Username of recipient creator. -func (o RecipientTokenOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) -} - -// Expiration timestamp of the token in epoch milliseconds. -func (o RecipientTokenOutput) ExpirationTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.ExpirationTime }).(pulumi.IntPtrOutput) -} - -// Unique ID of the recipient token. -func (o RecipientTokenOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -// Time at which this recipient was updated, in epoch milliseconds. -func (o RecipientTokenOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v RecipientToken) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +// non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list +// * `on-update-success` - a pipeline update completes successfully. +// * `on-update-failure` - a pipeline update fails with a retryable error. +// * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. +// * `on-flow-failure` - a single data flow fails. +func (o PipelineNotificationOutput) Alerts() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineNotification) []string { return v.Alerts }).(pulumi.StringArrayOutput) } -// Username of recipient Token updater. -func (o RecipientTokenOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v RecipientToken) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +// non-empty list of emails to notify. +func (o PipelineNotificationOutput) EmailRecipients() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineNotification) []string { return v.EmailRecipients }).(pulumi.StringArrayOutput) } -type RecipientTokenArrayOutput struct{ *pulumi.OutputState } +type PipelineNotificationArrayOutput struct{ *pulumi.OutputState } -func (RecipientTokenArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() +func (PipelineNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PipelineNotification)(nil)).Elem() } -func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { +func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutput() PipelineNotificationArrayOutput { return o } -func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { +func (o PipelineNotificationArrayOutput) ToPipelineNotificationArrayOutputWithContext(ctx context.Context) PipelineNotificationArrayOutput { return o } -func (o RecipientTokenArrayOutput) Index(i pulumi.IntInput) RecipientTokenOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RecipientToken { - return vs[0].([]RecipientToken)[vs[1].(int)] - }).(RecipientTokenOutput) +func (o PipelineNotificationArrayOutput) Index(i pulumi.IntInput) PipelineNotificationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineNotification { + return vs[0].([]PipelineNotification)[vs[1].(int)] + }).(PipelineNotificationOutput) } -type RepoSparseCheckout struct { - // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - // - // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. - Patterns []string `pulumi:"patterns"` +type PipelineRestartWindow struct { + DaysOfWeeks []string `pulumi:"daysOfWeeks"` + StartHour int `pulumi:"startHour"` + TimeZoneId *string `pulumi:"timeZoneId"` } -// RepoSparseCheckoutInput is an input type that accepts RepoSparseCheckoutArgs and RepoSparseCheckoutOutput values. -// You can construct a concrete instance of `RepoSparseCheckoutInput` via: +// PipelineRestartWindowInput is an input type that accepts PipelineRestartWindowArgs and PipelineRestartWindowOutput values. +// You can construct a concrete instance of `PipelineRestartWindowInput` via: // -// RepoSparseCheckoutArgs{...} -type RepoSparseCheckoutInput interface { +// PipelineRestartWindowArgs{...} +type PipelineRestartWindowInput interface { pulumi.Input - ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput - ToRepoSparseCheckoutOutputWithContext(context.Context) RepoSparseCheckoutOutput + ToPipelineRestartWindowOutput() PipelineRestartWindowOutput + ToPipelineRestartWindowOutputWithContext(context.Context) PipelineRestartWindowOutput } -type RepoSparseCheckoutArgs struct { - // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - // - // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. - Patterns pulumi.StringArrayInput `pulumi:"patterns"` +type PipelineRestartWindowArgs struct { + DaysOfWeeks pulumi.StringArrayInput `pulumi:"daysOfWeeks"` + StartHour pulumi.IntInput `pulumi:"startHour"` + TimeZoneId pulumi.StringPtrInput `pulumi:"timeZoneId"` } -func (RepoSparseCheckoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() +func (PipelineRestartWindowArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineRestartWindow)(nil)).Elem() } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { - return i.ToRepoSparseCheckoutOutputWithContext(context.Background()) +func (i PipelineRestartWindowArgs) ToPipelineRestartWindowOutput() PipelineRestartWindowOutput { + return i.ToPipelineRestartWindowOutputWithContext(context.Background()) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput) +func (i PipelineRestartWindowArgs) ToPipelineRestartWindowOutputWithContext(ctx context.Context) PipelineRestartWindowOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineRestartWindowOutput) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (i PipelineRestartWindowArgs) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { + return i.ToPipelineRestartWindowPtrOutputWithContext(context.Background()) } -func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput).ToRepoSparseCheckoutPtrOutputWithContext(ctx) +func (i PipelineRestartWindowArgs) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineRestartWindowOutput).ToPipelineRestartWindowPtrOutputWithContext(ctx) } -// RepoSparseCheckoutPtrInput is an input type that accepts RepoSparseCheckoutArgs, RepoSparseCheckoutPtr and RepoSparseCheckoutPtrOutput values. -// You can construct a concrete instance of `RepoSparseCheckoutPtrInput` via: +// PipelineRestartWindowPtrInput is an input type that accepts PipelineRestartWindowArgs, PipelineRestartWindowPtr and PipelineRestartWindowPtrOutput values. +// You can construct a concrete instance of `PipelineRestartWindowPtrInput` via: // -// RepoSparseCheckoutArgs{...} +// PipelineRestartWindowArgs{...} // // or: // // nil -type RepoSparseCheckoutPtrInput interface { +type PipelineRestartWindowPtrInput interface { pulumi.Input - ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput - ToRepoSparseCheckoutPtrOutputWithContext(context.Context) RepoSparseCheckoutPtrOutput + ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput + ToPipelineRestartWindowPtrOutputWithContext(context.Context) PipelineRestartWindowPtrOutput } -type repoSparseCheckoutPtrType RepoSparseCheckoutArgs +type pipelineRestartWindowPtrType PipelineRestartWindowArgs -func RepoSparseCheckoutPtr(v *RepoSparseCheckoutArgs) RepoSparseCheckoutPtrInput { - return (*repoSparseCheckoutPtrType)(v) +func PipelineRestartWindowPtr(v *PipelineRestartWindowArgs) PipelineRestartWindowPtrInput { + return (*pipelineRestartWindowPtrType)(v) } -func (*repoSparseCheckoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() +func (*pipelineRestartWindowPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineRestartWindow)(nil)).Elem() } -func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (i *pipelineRestartWindowPtrType) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { + return i.ToPipelineRestartWindowPtrOutputWithContext(context.Background()) } -func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutPtrOutput) +func (i *pipelineRestartWindowPtrType) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineRestartWindowPtrOutput) } -type RepoSparseCheckoutOutput struct{ *pulumi.OutputState } +type PipelineRestartWindowOutput struct{ *pulumi.OutputState } -func (RepoSparseCheckoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() +func (PipelineRestartWindowOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineRestartWindow)(nil)).Elem() } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { +func (o PipelineRestartWindowOutput) ToPipelineRestartWindowOutput() PipelineRestartWindowOutput { return o } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { +func (o PipelineRestartWindowOutput) ToPipelineRestartWindowOutputWithContext(ctx context.Context) PipelineRestartWindowOutput { return o } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { - return o.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) +func (o PipelineRestartWindowOutput) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { + return o.ToPipelineRestartWindowPtrOutputWithContext(context.Background()) } -func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RepoSparseCheckout) *RepoSparseCheckout { +func (o PipelineRestartWindowOutput) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineRestartWindow) *PipelineRestartWindow { return &v - }).(RepoSparseCheckoutPtrOutput) + }).(PipelineRestartWindowPtrOutput) } -// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. -// -// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. -func (o RepoSparseCheckoutOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v RepoSparseCheckout) []string { return v.Patterns }).(pulumi.StringArrayOutput) +func (o PipelineRestartWindowOutput) DaysOfWeeks() pulumi.StringArrayOutput { + return o.ApplyT(func(v PipelineRestartWindow) []string { return v.DaysOfWeeks }).(pulumi.StringArrayOutput) } -type RepoSparseCheckoutPtrOutput struct{ *pulumi.OutputState } +func (o PipelineRestartWindowOutput) StartHour() pulumi.IntOutput { + return o.ApplyT(func(v PipelineRestartWindow) int { return v.StartHour }).(pulumi.IntOutput) +} -func (RepoSparseCheckoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() +func (o PipelineRestartWindowOutput) TimeZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineRestartWindow) *string { return v.TimeZoneId }).(pulumi.StringPtrOutput) } -func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { +type PipelineRestartWindowPtrOutput struct{ *pulumi.OutputState } + +func (PipelineRestartWindowPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineRestartWindow)(nil)).Elem() +} + +func (o PipelineRestartWindowPtrOutput) ToPipelineRestartWindowPtrOutput() PipelineRestartWindowPtrOutput { return o } -func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { +func (o PipelineRestartWindowPtrOutput) ToPipelineRestartWindowPtrOutputWithContext(ctx context.Context) PipelineRestartWindowPtrOutput { return o } -func (o RepoSparseCheckoutPtrOutput) Elem() RepoSparseCheckoutOutput { - return o.ApplyT(func(v *RepoSparseCheckout) RepoSparseCheckout { +func (o PipelineRestartWindowPtrOutput) Elem() PipelineRestartWindowOutput { + return o.ApplyT(func(v *PipelineRestartWindow) PipelineRestartWindow { if v != nil { return *v } - var ret RepoSparseCheckout + var ret PipelineRestartWindow return ret - }).(RepoSparseCheckoutOutput) + }).(PipelineRestartWindowOutput) } -// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. -// -// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. -func (o RepoSparseCheckoutPtrOutput) Patterns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RepoSparseCheckout) []string { +func (o PipelineRestartWindowPtrOutput) DaysOfWeeks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PipelineRestartWindow) []string { if v == nil { return nil } - return v.Patterns + return v.DaysOfWeeks }).(pulumi.StringArrayOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { - // The restrict workspace admins status for the workspace. - Status string `pulumi:"status"` +func (o PipelineRestartWindowPtrOutput) StartHour() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PipelineRestartWindow) *int { + if v == nil { + return nil + } + return &v.StartHour + }).(pulumi.IntPtrOutput) } -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput values. -// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput` via: +func (o PipelineRestartWindowPtrOutput) TimeZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineRestartWindow) *string { + if v == nil { + return nil + } + return v.TimeZoneId + }).(pulumi.StringPtrOutput) +} + +type PipelineTrigger struct { + Cron *PipelineTriggerCron `pulumi:"cron"` + Manual *PipelineTriggerManual `pulumi:"manual"` +} + +// PipelineTriggerInput is an input type that accepts PipelineTriggerArgs and PipelineTriggerOutput values. +// You can construct a concrete instance of `PipelineTriggerInput` via: // -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput interface { +// PipelineTriggerArgs{...} +type PipelineTriggerInput interface { pulumi.Input - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput + ToPipelineTriggerOutput() PipelineTriggerOutput + ToPipelineTriggerOutputWithContext(context.Context) PipelineTriggerOutput } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs struct { - // The restrict workspace admins status for the workspace. - Status pulumi.StringInput `pulumi:"status"` +type PipelineTriggerArgs struct { + Cron PipelineTriggerCronPtrInput `pulumi:"cron"` + Manual PipelineTriggerManualPtrInput `pulumi:"manual"` } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (PipelineTriggerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineTrigger)(nil)).Elem() } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Background()) +func (i PipelineTriggerArgs) ToPipelineTriggerOutput() PipelineTriggerOutput { + return i.ToPipelineTriggerOutputWithContext(context.Background()) } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) +func (i PipelineTriggerArgs) ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerOutput) } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (i PipelineTriggerArgs) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { + return i.ToPipelineTriggerPtrOutputWithContext(context.Background()) } -func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput).ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx) +func (i PipelineTriggerArgs) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerOutput).ToPipelineTriggerPtrOutputWithContext(ctx) } -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs, RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput values. -// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput` via: +// PipelineTriggerPtrInput is an input type that accepts PipelineTriggerArgs, PipelineTriggerPtr and PipelineTriggerPtrOutput values. +// You can construct a concrete instance of `PipelineTriggerPtrInput` via: // -// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} +// PipelineTriggerArgs{...} // // or: // // nil -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput interface { +type PipelineTriggerPtrInput interface { pulumi.Input - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput - ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput + ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput + ToPipelineTriggerPtrOutputWithContext(context.Context) PipelineTriggerPtrOutput } -type restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs +type pipelineTriggerPtrType PipelineTriggerArgs -func RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput { - return (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType)(v) +func PipelineTriggerPtr(v *PipelineTriggerArgs) PipelineTriggerPtrInput { + return (*pipelineTriggerPtrType)(v) } -func (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (*pipelineTriggerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineTrigger)(nil)).Elem() } -func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (i *pipelineTriggerPtrType) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { + return i.ToPipelineTriggerPtrOutputWithContext(context.Background()) } -func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) +func (i *pipelineTriggerPtrType) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerPtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput struct{ *pulumi.OutputState } +type PipelineTriggerOutput struct{ *pulumi.OutputState } -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +func (PipelineTriggerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineTrigger)(nil)).Elem() } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { +func (o PipelineTriggerOutput) ToPipelineTriggerOutput() PipelineTriggerOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { +func (o PipelineTriggerOutput) ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) +func (o PipelineTriggerOutput) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { + return o.ToPipelineTriggerPtrOutputWithContext(context.Background()) } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { +func (o PipelineTriggerOutput) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineTrigger) *PipelineTrigger { return &v - }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) + }).(PipelineTriggerPtrOutput) } -// The restrict workspace admins status for the workspace. -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) string { return v.Status }).(pulumi.StringOutput) +func (o PipelineTriggerOutput) Cron() PipelineTriggerCronPtrOutput { + return o.ApplyT(func(v PipelineTrigger) *PipelineTriggerCron { return v.Cron }).(PipelineTriggerCronPtrOutput) } -type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput struct{ *pulumi.OutputState } +func (o PipelineTriggerOutput) Manual() PipelineTriggerManualPtrOutput { + return o.ApplyT(func(v PipelineTrigger) *PipelineTriggerManual { return v.Manual }).(PipelineTriggerManualPtrOutput) +} -func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() +type PipelineTriggerPtrOutput struct{ *pulumi.OutputState } + +func (PipelineTriggerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineTrigger)(nil)).Elem() } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { +func (o PipelineTriggerPtrOutput) ToPipelineTriggerPtrOutput() PipelineTriggerPtrOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { +func (o PipelineTriggerPtrOutput) ToPipelineTriggerPtrOutputWithContext(ctx context.Context) PipelineTriggerPtrOutput { return o } -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Elem() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { - return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { +func (o PipelineTriggerPtrOutput) Elem() PipelineTriggerOutput { + return o.ApplyT(func(v *PipelineTrigger) PipelineTrigger { if v != nil { return *v } - var ret RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins + var ret PipelineTrigger return ret - }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) + }).(PipelineTriggerOutput) } -// The restrict workspace admins status for the workspace. -func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *string { +func (o PipelineTriggerPtrOutput) Cron() PipelineTriggerCronPtrOutput { + return o.ApplyT(func(v *PipelineTrigger) *PipelineTriggerCron { if v == nil { return nil } - return &v.Status - }).(pulumi.StringPtrOutput) + return v.Cron + }).(PipelineTriggerCronPtrOutput) } -type SecretScopeKeyvaultMetadata struct { - DnsName string `pulumi:"dnsName"` - ResourceId string `pulumi:"resourceId"` +func (o PipelineTriggerPtrOutput) Manual() PipelineTriggerManualPtrOutput { + return o.ApplyT(func(v *PipelineTrigger) *PipelineTriggerManual { + if v == nil { + return nil + } + return v.Manual + }).(PipelineTriggerManualPtrOutput) } -// SecretScopeKeyvaultMetadataInput is an input type that accepts SecretScopeKeyvaultMetadataArgs and SecretScopeKeyvaultMetadataOutput values. -// You can construct a concrete instance of `SecretScopeKeyvaultMetadataInput` via: +type PipelineTriggerCron struct { + QuartzCronSchedule *string `pulumi:"quartzCronSchedule"` + TimezoneId *string `pulumi:"timezoneId"` +} + +// PipelineTriggerCronInput is an input type that accepts PipelineTriggerCronArgs and PipelineTriggerCronOutput values. +// You can construct a concrete instance of `PipelineTriggerCronInput` via: // -// SecretScopeKeyvaultMetadataArgs{...} -type SecretScopeKeyvaultMetadataInput interface { +// PipelineTriggerCronArgs{...} +type PipelineTriggerCronInput interface { pulumi.Input - ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput - ToSecretScopeKeyvaultMetadataOutputWithContext(context.Context) SecretScopeKeyvaultMetadataOutput + ToPipelineTriggerCronOutput() PipelineTriggerCronOutput + ToPipelineTriggerCronOutputWithContext(context.Context) PipelineTriggerCronOutput } -type SecretScopeKeyvaultMetadataArgs struct { - DnsName pulumi.StringInput `pulumi:"dnsName"` - ResourceId pulumi.StringInput `pulumi:"resourceId"` +type PipelineTriggerCronArgs struct { + QuartzCronSchedule pulumi.StringPtrInput `pulumi:"quartzCronSchedule"` + TimezoneId pulumi.StringPtrInput `pulumi:"timezoneId"` } -func (SecretScopeKeyvaultMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() +func (PipelineTriggerCronArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineTriggerCron)(nil)).Elem() } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { - return i.ToSecretScopeKeyvaultMetadataOutputWithContext(context.Background()) +func (i PipelineTriggerCronArgs) ToPipelineTriggerCronOutput() PipelineTriggerCronOutput { + return i.ToPipelineTriggerCronOutputWithContext(context.Background()) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput) +func (i PipelineTriggerCronArgs) ToPipelineTriggerCronOutputWithContext(ctx context.Context) PipelineTriggerCronOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerCronOutput) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (i PipelineTriggerCronArgs) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { + return i.ToPipelineTriggerCronPtrOutputWithContext(context.Background()) } -func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput).ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx) +func (i PipelineTriggerCronArgs) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerCronOutput).ToPipelineTriggerCronPtrOutputWithContext(ctx) } -// SecretScopeKeyvaultMetadataPtrInput is an input type that accepts SecretScopeKeyvaultMetadataArgs, SecretScopeKeyvaultMetadataPtr and SecretScopeKeyvaultMetadataPtrOutput values. -// You can construct a concrete instance of `SecretScopeKeyvaultMetadataPtrInput` via: +// PipelineTriggerCronPtrInput is an input type that accepts PipelineTriggerCronArgs, PipelineTriggerCronPtr and PipelineTriggerCronPtrOutput values. +// You can construct a concrete instance of `PipelineTriggerCronPtrInput` via: // -// SecretScopeKeyvaultMetadataArgs{...} +// PipelineTriggerCronArgs{...} // // or: // // nil -type SecretScopeKeyvaultMetadataPtrInput interface { +type PipelineTriggerCronPtrInput interface { pulumi.Input - ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput - ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Context) SecretScopeKeyvaultMetadataPtrOutput + ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput + ToPipelineTriggerCronPtrOutputWithContext(context.Context) PipelineTriggerCronPtrOutput } -type secretScopeKeyvaultMetadataPtrType SecretScopeKeyvaultMetadataArgs +type pipelineTriggerCronPtrType PipelineTriggerCronArgs -func SecretScopeKeyvaultMetadataPtr(v *SecretScopeKeyvaultMetadataArgs) SecretScopeKeyvaultMetadataPtrInput { - return (*secretScopeKeyvaultMetadataPtrType)(v) +func PipelineTriggerCronPtr(v *PipelineTriggerCronArgs) PipelineTriggerCronPtrInput { + return (*pipelineTriggerCronPtrType)(v) } -func (*secretScopeKeyvaultMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() +func (*pipelineTriggerCronPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineTriggerCron)(nil)).Elem() } -func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (i *pipelineTriggerCronPtrType) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { + return i.ToPipelineTriggerCronPtrOutputWithContext(context.Background()) } -func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataPtrOutput) +func (i *pipelineTriggerCronPtrType) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerCronPtrOutput) } -type SecretScopeKeyvaultMetadataOutput struct{ *pulumi.OutputState } +type PipelineTriggerCronOutput struct{ *pulumi.OutputState } -func (SecretScopeKeyvaultMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() +func (PipelineTriggerCronOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineTriggerCron)(nil)).Elem() } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { +func (o PipelineTriggerCronOutput) ToPipelineTriggerCronOutput() PipelineTriggerCronOutput { return o } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { +func (o PipelineTriggerCronOutput) ToPipelineTriggerCronOutputWithContext(ctx context.Context) PipelineTriggerCronOutput { return o } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { - return o.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) +func (o PipelineTriggerCronOutput) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { + return o.ToPipelineTriggerCronPtrOutputWithContext(context.Background()) } -func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretScopeKeyvaultMetadata) *SecretScopeKeyvaultMetadata { +func (o PipelineTriggerCronOutput) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineTriggerCron) *PipelineTriggerCron { return &v - }).(SecretScopeKeyvaultMetadataPtrOutput) + }).(PipelineTriggerCronPtrOutput) } -func (o SecretScopeKeyvaultMetadataOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.DnsName }).(pulumi.StringOutput) +func (o PipelineTriggerCronOutput) QuartzCronSchedule() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineTriggerCron) *string { return v.QuartzCronSchedule }).(pulumi.StringPtrOutput) } -func (o SecretScopeKeyvaultMetadataOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.ResourceId }).(pulumi.StringOutput) +func (o PipelineTriggerCronOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PipelineTriggerCron) *string { return v.TimezoneId }).(pulumi.StringPtrOutput) } -type SecretScopeKeyvaultMetadataPtrOutput struct{ *pulumi.OutputState } +type PipelineTriggerCronPtrOutput struct{ *pulumi.OutputState } -func (SecretScopeKeyvaultMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() +func (PipelineTriggerCronPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineTriggerCron)(nil)).Elem() } -func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { +func (o PipelineTriggerCronPtrOutput) ToPipelineTriggerCronPtrOutput() PipelineTriggerCronPtrOutput { return o } -func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { +func (o PipelineTriggerCronPtrOutput) ToPipelineTriggerCronPtrOutputWithContext(ctx context.Context) PipelineTriggerCronPtrOutput { return o } -func (o SecretScopeKeyvaultMetadataPtrOutput) Elem() SecretScopeKeyvaultMetadataOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) SecretScopeKeyvaultMetadata { +func (o PipelineTriggerCronPtrOutput) Elem() PipelineTriggerCronOutput { + return o.ApplyT(func(v *PipelineTriggerCron) PipelineTriggerCron { if v != nil { return *v } - var ret SecretScopeKeyvaultMetadata + var ret PipelineTriggerCron return ret - }).(SecretScopeKeyvaultMetadataOutput) -} - -func (o SecretScopeKeyvaultMetadataPtrOutput) DnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { - if v == nil { - return nil - } - return &v.DnsName - }).(pulumi.StringPtrOutput) + }).(PipelineTriggerCronOutput) } -func (o SecretScopeKeyvaultMetadataPtrOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { +func (o PipelineTriggerCronPtrOutput) QuartzCronSchedule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineTriggerCron) *string { if v == nil { return nil } - return &v.ResourceId - }).(pulumi.StringPtrOutput) -} - -type ShareObject struct { - AddedAt *int `pulumi:"addedAt"` - AddedBy *string `pulumi:"addedBy"` - // Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `historyDataSharingStatus` can not be set. - CdfEnabled *bool `pulumi:"cdfEnabled"` - // Description about the object. - Comment *string `pulumi:"comment"` - Content *string `pulumi:"content"` - // Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. - DataObjectType string `pulumi:"dataObjectType"` - // Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The startVersion should be less than or equal the current version of the object. When this field is set, field `cdfEnabled` can not be set. - // - // To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. - HistoryDataSharingStatus *string `pulumi:"historyDataSharingStatus"` - // Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. - Name string `pulumi:"name"` - Partitions []ShareObjectPartition `pulumi:"partitions"` - // A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `sharedAs` name. The `sharedAs` name must be unique within a Share. Change forces creation of a new resource. - SharedAs *string `pulumi:"sharedAs"` - // The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. - StartVersion *int `pulumi:"startVersion"` - // Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. - Status *string `pulumi:"status"` - StringSharedAs *string `pulumi:"stringSharedAs"` -} - -// ShareObjectInput is an input type that accepts ShareObjectArgs and ShareObjectOutput values. -// You can construct a concrete instance of `ShareObjectInput` via: -// -// ShareObjectArgs{...} -type ShareObjectInput interface { - pulumi.Input - - ToShareObjectOutput() ShareObjectOutput - ToShareObjectOutputWithContext(context.Context) ShareObjectOutput -} - -type ShareObjectArgs struct { - AddedAt pulumi.IntPtrInput `pulumi:"addedAt"` - AddedBy pulumi.StringPtrInput `pulumi:"addedBy"` - // Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `historyDataSharingStatus` can not be set. - CdfEnabled pulumi.BoolPtrInput `pulumi:"cdfEnabled"` - // Description about the object. - Comment pulumi.StringPtrInput `pulumi:"comment"` - Content pulumi.StringPtrInput `pulumi:"content"` - // Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. - DataObjectType pulumi.StringInput `pulumi:"dataObjectType"` - // Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The startVersion should be less than or equal the current version of the object. When this field is set, field `cdfEnabled` can not be set. - // - // To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. - HistoryDataSharingStatus pulumi.StringPtrInput `pulumi:"historyDataSharingStatus"` - // Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. - Name pulumi.StringInput `pulumi:"name"` - Partitions ShareObjectPartitionArrayInput `pulumi:"partitions"` - // A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `sharedAs` name. The `sharedAs` name must be unique within a Share. Change forces creation of a new resource. - SharedAs pulumi.StringPtrInput `pulumi:"sharedAs"` - // The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. - StartVersion pulumi.IntPtrInput `pulumi:"startVersion"` - // Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. - Status pulumi.StringPtrInput `pulumi:"status"` - StringSharedAs pulumi.StringPtrInput `pulumi:"stringSharedAs"` -} - -func (ShareObjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObject)(nil)).Elem() + return v.QuartzCronSchedule + }).(pulumi.StringPtrOutput) } -func (i ShareObjectArgs) ToShareObjectOutput() ShareObjectOutput { - return i.ToShareObjectOutputWithContext(context.Background()) +func (o PipelineTriggerCronPtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PipelineTriggerCron) *string { + if v == nil { + return nil + } + return v.TimezoneId + }).(pulumi.StringPtrOutput) } -func (i ShareObjectArgs) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectOutput) +type PipelineTriggerManual struct { } -// ShareObjectArrayInput is an input type that accepts ShareObjectArray and ShareObjectArrayOutput values. -// You can construct a concrete instance of `ShareObjectArrayInput` via: +// PipelineTriggerManualInput is an input type that accepts PipelineTriggerManualArgs and PipelineTriggerManualOutput values. +// You can construct a concrete instance of `PipelineTriggerManualInput` via: // -// ShareObjectArray{ ShareObjectArgs{...} } -type ShareObjectArrayInput interface { +// PipelineTriggerManualArgs{...} +type PipelineTriggerManualInput interface { pulumi.Input - ToShareObjectArrayOutput() ShareObjectArrayOutput - ToShareObjectArrayOutputWithContext(context.Context) ShareObjectArrayOutput + ToPipelineTriggerManualOutput() PipelineTriggerManualOutput + ToPipelineTriggerManualOutputWithContext(context.Context) PipelineTriggerManualOutput } -type ShareObjectArray []ShareObjectInput - -func (ShareObjectArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +type PipelineTriggerManualArgs struct { } -func (i ShareObjectArray) ToShareObjectArrayOutput() ShareObjectArrayOutput { - return i.ToShareObjectArrayOutputWithContext(context.Background()) +func (PipelineTriggerManualArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineTriggerManual)(nil)).Elem() } -func (i ShareObjectArray) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectArrayOutput) +func (i PipelineTriggerManualArgs) ToPipelineTriggerManualOutput() PipelineTriggerManualOutput { + return i.ToPipelineTriggerManualOutputWithContext(context.Background()) } -type ShareObjectOutput struct{ *pulumi.OutputState } - -func (ShareObjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObject)(nil)).Elem() +func (i PipelineTriggerManualArgs) ToPipelineTriggerManualOutputWithContext(ctx context.Context) PipelineTriggerManualOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerManualOutput) } -func (o ShareObjectOutput) ToShareObjectOutput() ShareObjectOutput { - return o +func (i PipelineTriggerManualArgs) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { + return i.ToPipelineTriggerManualPtrOutputWithContext(context.Background()) } -func (o ShareObjectOutput) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { - return o +func (i PipelineTriggerManualArgs) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerManualOutput).ToPipelineTriggerManualPtrOutputWithContext(ctx) } -func (o ShareObjectOutput) AddedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v ShareObject) *int { return v.AddedAt }).(pulumi.IntPtrOutput) -} +// PipelineTriggerManualPtrInput is an input type that accepts PipelineTriggerManualArgs, PipelineTriggerManualPtr and PipelineTriggerManualPtrOutput values. +// You can construct a concrete instance of `PipelineTriggerManualPtrInput` via: +// +// PipelineTriggerManualArgs{...} +// +// or: +// +// nil +type PipelineTriggerManualPtrInput interface { + pulumi.Input -func (o ShareObjectOutput) AddedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.AddedBy }).(pulumi.StringPtrOutput) + ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput + ToPipelineTriggerManualPtrOutputWithContext(context.Context) PipelineTriggerManualPtrOutput } -// Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `historyDataSharingStatus` can not be set. -func (o ShareObjectOutput) CdfEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ShareObject) *bool { return v.CdfEnabled }).(pulumi.BoolPtrOutput) -} +type pipelineTriggerManualPtrType PipelineTriggerManualArgs -// Description about the object. -func (o ShareObjectOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) +func PipelineTriggerManualPtr(v *PipelineTriggerManualArgs) PipelineTriggerManualPtrInput { + return (*pipelineTriggerManualPtrType)(v) } -func (o ShareObjectOutput) Content() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.Content }).(pulumi.StringPtrOutput) +func (*pipelineTriggerManualPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineTriggerManual)(nil)).Elem() } -// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. -func (o ShareObjectOutput) DataObjectType() pulumi.StringOutput { - return o.ApplyT(func(v ShareObject) string { return v.DataObjectType }).(pulumi.StringOutput) +func (i *pipelineTriggerManualPtrType) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { + return i.ToPipelineTriggerManualPtrOutputWithContext(context.Background()) } -// Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The startVersion should be less than or equal the current version of the object. When this field is set, field `cdfEnabled` can not be set. -// -// To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. -func (o ShareObjectOutput) HistoryDataSharingStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.HistoryDataSharingStatus }).(pulumi.StringPtrOutput) +func (i *pipelineTriggerManualPtrType) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PipelineTriggerManualPtrOutput) } -// Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. -func (o ShareObjectOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ShareObject) string { return v.Name }).(pulumi.StringOutput) -} +type PipelineTriggerManualOutput struct{ *pulumi.OutputState } -func (o ShareObjectOutput) Partitions() ShareObjectPartitionArrayOutput { - return o.ApplyT(func(v ShareObject) []ShareObjectPartition { return v.Partitions }).(ShareObjectPartitionArrayOutput) +func (PipelineTriggerManualOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PipelineTriggerManual)(nil)).Elem() } -// A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `sharedAs` name. The `sharedAs` name must be unique within a Share. Change forces creation of a new resource. -func (o ShareObjectOutput) SharedAs() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.SharedAs }).(pulumi.StringPtrOutput) +func (o PipelineTriggerManualOutput) ToPipelineTriggerManualOutput() PipelineTriggerManualOutput { + return o } -// The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. -func (o ShareObjectOutput) StartVersion() pulumi.IntPtrOutput { - return o.ApplyT(func(v ShareObject) *int { return v.StartVersion }).(pulumi.IntPtrOutput) +func (o PipelineTriggerManualOutput) ToPipelineTriggerManualOutputWithContext(ctx context.Context) PipelineTriggerManualOutput { + return o } -// Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. -func (o ShareObjectOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.Status }).(pulumi.StringPtrOutput) +func (o PipelineTriggerManualOutput) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { + return o.ToPipelineTriggerManualPtrOutputWithContext(context.Background()) } -func (o ShareObjectOutput) StringSharedAs() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObject) *string { return v.StringSharedAs }).(pulumi.StringPtrOutput) +func (o PipelineTriggerManualOutput) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PipelineTriggerManual) *PipelineTriggerManual { + return &v + }).(PipelineTriggerManualPtrOutput) } -type ShareObjectArrayOutput struct{ *pulumi.OutputState } +type PipelineTriggerManualPtrOutput struct{ *pulumi.OutputState } -func (ShareObjectArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +func (PipelineTriggerManualPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PipelineTriggerManual)(nil)).Elem() } -func (o ShareObjectArrayOutput) ToShareObjectArrayOutput() ShareObjectArrayOutput { +func (o PipelineTriggerManualPtrOutput) ToPipelineTriggerManualPtrOutput() PipelineTriggerManualPtrOutput { return o } -func (o ShareObjectArrayOutput) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { +func (o PipelineTriggerManualPtrOutput) ToPipelineTriggerManualPtrOutputWithContext(ctx context.Context) PipelineTriggerManualPtrOutput { return o } -func (o ShareObjectArrayOutput) Index(i pulumi.IntInput) ShareObjectOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObject { - return vs[0].([]ShareObject)[vs[1].(int)] - }).(ShareObjectOutput) +func (o PipelineTriggerManualPtrOutput) Elem() PipelineTriggerManualOutput { + return o.ApplyT(func(v *PipelineTriggerManual) PipelineTriggerManual { + if v != nil { + return *v + } + var ret PipelineTriggerManual + return ret + }).(PipelineTriggerManualOutput) } -type ShareObjectPartition struct { - // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. - Values []ShareObjectPartitionValue `pulumi:"values"` +type QualityMonitorCustomMetric struct { + // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Definition string `pulumi:"definition"` + // Columns on the monitored table to apply the custom metrics to. + InputColumns []string `pulumi:"inputColumns"` + // Name of the custom metric. + Name string `pulumi:"name"` + // The output type of the custom metric. + OutputDataType string `pulumi:"outputDataType"` + // The type of the custom metric. + Type string `pulumi:"type"` } -// ShareObjectPartitionInput is an input type that accepts ShareObjectPartitionArgs and ShareObjectPartitionOutput values. -// You can construct a concrete instance of `ShareObjectPartitionInput` via: +// QualityMonitorCustomMetricInput is an input type that accepts QualityMonitorCustomMetricArgs and QualityMonitorCustomMetricOutput values. +// You can construct a concrete instance of `QualityMonitorCustomMetricInput` via: // -// ShareObjectPartitionArgs{...} -type ShareObjectPartitionInput interface { +// QualityMonitorCustomMetricArgs{...} +type QualityMonitorCustomMetricInput interface { pulumi.Input - ToShareObjectPartitionOutput() ShareObjectPartitionOutput - ToShareObjectPartitionOutputWithContext(context.Context) ShareObjectPartitionOutput + ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput + ToQualityMonitorCustomMetricOutputWithContext(context.Context) QualityMonitorCustomMetricOutput } -type ShareObjectPartitionArgs struct { - // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. - Values ShareObjectPartitionValueArrayInput `pulumi:"values"` +type QualityMonitorCustomMetricArgs struct { + // [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Definition pulumi.StringInput `pulumi:"definition"` + // Columns on the monitored table to apply the custom metrics to. + InputColumns pulumi.StringArrayInput `pulumi:"inputColumns"` + // Name of the custom metric. + Name pulumi.StringInput `pulumi:"name"` + // The output type of the custom metric. + OutputDataType pulumi.StringInput `pulumi:"outputDataType"` + // The type of the custom metric. + Type pulumi.StringInput `pulumi:"type"` } -func (ShareObjectPartitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() +func (QualityMonitorCustomMetricArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorCustomMetric)(nil)).Elem() } -func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { - return i.ToShareObjectPartitionOutputWithContext(context.Background()) +func (i QualityMonitorCustomMetricArgs) ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput { + return i.ToQualityMonitorCustomMetricOutputWithContext(context.Background()) } -func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionOutput) +func (i QualityMonitorCustomMetricArgs) ToQualityMonitorCustomMetricOutputWithContext(ctx context.Context) QualityMonitorCustomMetricOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorCustomMetricOutput) } -// ShareObjectPartitionArrayInput is an input type that accepts ShareObjectPartitionArray and ShareObjectPartitionArrayOutput values. -// You can construct a concrete instance of `ShareObjectPartitionArrayInput` via: +// QualityMonitorCustomMetricArrayInput is an input type that accepts QualityMonitorCustomMetricArray and QualityMonitorCustomMetricArrayOutput values. +// You can construct a concrete instance of `QualityMonitorCustomMetricArrayInput` via: // -// ShareObjectPartitionArray{ ShareObjectPartitionArgs{...} } -type ShareObjectPartitionArrayInput interface { +// QualityMonitorCustomMetricArray{ QualityMonitorCustomMetricArgs{...} } +type QualityMonitorCustomMetricArrayInput interface { pulumi.Input - ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput - ToShareObjectPartitionArrayOutputWithContext(context.Context) ShareObjectPartitionArrayOutput + ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput + ToQualityMonitorCustomMetricArrayOutputWithContext(context.Context) QualityMonitorCustomMetricArrayOutput } -type ShareObjectPartitionArray []ShareObjectPartitionInput +type QualityMonitorCustomMetricArray []QualityMonitorCustomMetricInput -func (ShareObjectPartitionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +func (QualityMonitorCustomMetricArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]QualityMonitorCustomMetric)(nil)).Elem() } -func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { - return i.ToShareObjectPartitionArrayOutputWithContext(context.Background()) +func (i QualityMonitorCustomMetricArray) ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput { + return i.ToQualityMonitorCustomMetricArrayOutputWithContext(context.Background()) } -func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionArrayOutput) +func (i QualityMonitorCustomMetricArray) ToQualityMonitorCustomMetricArrayOutputWithContext(ctx context.Context) QualityMonitorCustomMetricArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorCustomMetricArrayOutput) } -type ShareObjectPartitionOutput struct{ *pulumi.OutputState } +type QualityMonitorCustomMetricOutput struct{ *pulumi.OutputState } -func (ShareObjectPartitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() +func (QualityMonitorCustomMetricOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorCustomMetric)(nil)).Elem() } -func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { +func (o QualityMonitorCustomMetricOutput) ToQualityMonitorCustomMetricOutput() QualityMonitorCustomMetricOutput { return o } -func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { +func (o QualityMonitorCustomMetricOutput) ToQualityMonitorCustomMetricOutputWithContext(ctx context.Context) QualityMonitorCustomMetricOutput { return o } -// The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. -func (o ShareObjectPartitionOutput) Values() ShareObjectPartitionValueArrayOutput { - return o.ApplyT(func(v ShareObjectPartition) []ShareObjectPartitionValue { return v.Values }).(ShareObjectPartitionValueArrayOutput) +// [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) +func (o QualityMonitorCustomMetricOutput) Definition() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Definition }).(pulumi.StringOutput) } -type ShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } +// Columns on the monitored table to apply the custom metrics to. +func (o QualityMonitorCustomMetricOutput) InputColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) []string { return v.InputColumns }).(pulumi.StringArrayOutput) +} -func (ShareObjectPartitionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +// Name of the custom metric. +func (o QualityMonitorCustomMetricOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Name }).(pulumi.StringOutput) } -func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { +// The output type of the custom metric. +func (o QualityMonitorCustomMetricOutput) OutputDataType() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.OutputDataType }).(pulumi.StringOutput) +} + +// The type of the custom metric. +func (o QualityMonitorCustomMetricOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorCustomMetric) string { return v.Type }).(pulumi.StringOutput) +} + +type QualityMonitorCustomMetricArrayOutput struct{ *pulumi.OutputState } + +func (QualityMonitorCustomMetricArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]QualityMonitorCustomMetric)(nil)).Elem() +} + +func (o QualityMonitorCustomMetricArrayOutput) ToQualityMonitorCustomMetricArrayOutput() QualityMonitorCustomMetricArrayOutput { return o } -func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { +func (o QualityMonitorCustomMetricArrayOutput) ToQualityMonitorCustomMetricArrayOutputWithContext(ctx context.Context) QualityMonitorCustomMetricArrayOutput { return o } -func (o ShareObjectPartitionArrayOutput) Index(i pulumi.IntInput) ShareObjectPartitionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObjectPartition { - return vs[0].([]ShareObjectPartition)[vs[1].(int)] - }).(ShareObjectPartitionOutput) +func (o QualityMonitorCustomMetricArrayOutput) Index(i pulumi.IntInput) QualityMonitorCustomMetricOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) QualityMonitorCustomMetric { + return vs[0].([]QualityMonitorCustomMetric)[vs[1].(int)] + }).(QualityMonitorCustomMetricOutput) } -type ShareObjectPartitionValue struct { - // The name of the partition column. - Name string `pulumi:"name"` - // The operator to apply for the value, one of: `EQUAL`, `LIKE` - Op string `pulumi:"op"` - // The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. - RecipientPropertyKey *string `pulumi:"recipientPropertyKey"` - // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. - Value *string `pulumi:"value"` +type QualityMonitorDataClassificationConfig struct { + Enabled *bool `pulumi:"enabled"` } -// ShareObjectPartitionValueInput is an input type that accepts ShareObjectPartitionValueArgs and ShareObjectPartitionValueOutput values. -// You can construct a concrete instance of `ShareObjectPartitionValueInput` via: +// QualityMonitorDataClassificationConfigInput is an input type that accepts QualityMonitorDataClassificationConfigArgs and QualityMonitorDataClassificationConfigOutput values. +// You can construct a concrete instance of `QualityMonitorDataClassificationConfigInput` via: // -// ShareObjectPartitionValueArgs{...} -type ShareObjectPartitionValueInput interface { +// QualityMonitorDataClassificationConfigArgs{...} +type QualityMonitorDataClassificationConfigInput interface { pulumi.Input - ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput - ToShareObjectPartitionValueOutputWithContext(context.Context) ShareObjectPartitionValueOutput + ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput + ToQualityMonitorDataClassificationConfigOutputWithContext(context.Context) QualityMonitorDataClassificationConfigOutput } -type ShareObjectPartitionValueArgs struct { - // The name of the partition column. - Name pulumi.StringInput `pulumi:"name"` - // The operator to apply for the value, one of: `EQUAL`, `LIKE` - Op pulumi.StringInput `pulumi:"op"` - // The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. - RecipientPropertyKey pulumi.StringPtrInput `pulumi:"recipientPropertyKey"` - // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. - Value pulumi.StringPtrInput `pulumi:"value"` +type QualityMonitorDataClassificationConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ShareObjectPartitionValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +func (QualityMonitorDataClassificationConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { - return i.ToShareObjectPartitionValueOutputWithContext(context.Background()) +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput { + return i.ToQualityMonitorDataClassificationConfigOutputWithContext(context.Background()) } -func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueOutput) +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigOutput) } -// ShareObjectPartitionValueArrayInput is an input type that accepts ShareObjectPartitionValueArray and ShareObjectPartitionValueArrayOutput values. -// You can construct a concrete instance of `ShareObjectPartitionValueArrayInput` via: +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { + return i.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) +} + +func (i QualityMonitorDataClassificationConfigArgs) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigOutput).ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx) +} + +// QualityMonitorDataClassificationConfigPtrInput is an input type that accepts QualityMonitorDataClassificationConfigArgs, QualityMonitorDataClassificationConfigPtr and QualityMonitorDataClassificationConfigPtrOutput values. +// You can construct a concrete instance of `QualityMonitorDataClassificationConfigPtrInput` via: // -// ShareObjectPartitionValueArray{ ShareObjectPartitionValueArgs{...} } -type ShareObjectPartitionValueArrayInput interface { +// QualityMonitorDataClassificationConfigArgs{...} +// +// or: +// +// nil +type QualityMonitorDataClassificationConfigPtrInput interface { pulumi.Input - ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput - ToShareObjectPartitionValueArrayOutputWithContext(context.Context) ShareObjectPartitionValueArrayOutput + ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput + ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Context) QualityMonitorDataClassificationConfigPtrOutput } -type ShareObjectPartitionValueArray []ShareObjectPartitionValueInput +type qualityMonitorDataClassificationConfigPtrType QualityMonitorDataClassificationConfigArgs -func (ShareObjectPartitionValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() +func QualityMonitorDataClassificationConfigPtr(v *QualityMonitorDataClassificationConfigArgs) QualityMonitorDataClassificationConfigPtrInput { + return (*qualityMonitorDataClassificationConfigPtrType)(v) } -func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { - return i.ToShareObjectPartitionValueArrayOutputWithContext(context.Background()) +func (*qualityMonitorDataClassificationConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueArrayOutput) +func (i *qualityMonitorDataClassificationConfigPtrType) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { + return i.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -type ShareObjectPartitionValueOutput struct{ *pulumi.OutputState } - -func (ShareObjectPartitionValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +func (i *qualityMonitorDataClassificationConfigPtrType) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorDataClassificationConfigPtrOutput) } -func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { - return o +type QualityMonitorDataClassificationConfigOutput struct{ *pulumi.OutputState } + +func (QualityMonitorDataClassificationConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigOutput() QualityMonitorDataClassificationConfigOutput { return o } -// The name of the partition column. -func (o ShareObjectPartitionValueOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ShareObjectPartitionValue) string { return v.Name }).(pulumi.StringOutput) +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigOutput { + return o } -// The operator to apply for the value, one of: `EQUAL`, `LIKE` -func (o ShareObjectPartitionValueOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v ShareObjectPartitionValue) string { return v.Op }).(pulumi.StringOutput) +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { + return o.ToQualityMonitorDataClassificationConfigPtrOutputWithContext(context.Background()) } -// The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. -func (o ShareObjectPartitionValueOutput) RecipientPropertyKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObjectPartitionValue) *string { return v.RecipientPropertyKey }).(pulumi.StringPtrOutput) +func (o QualityMonitorDataClassificationConfigOutput) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorDataClassificationConfig) *QualityMonitorDataClassificationConfig { + return &v + }).(QualityMonitorDataClassificationConfigPtrOutput) } -// The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. -func (o ShareObjectPartitionValueOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShareObjectPartitionValue) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o QualityMonitorDataClassificationConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v QualityMonitorDataClassificationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type ShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } +type QualityMonitorDataClassificationConfigPtrOutput struct{ *pulumi.OutputState } -func (ShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() +func (QualityMonitorDataClassificationConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorDataClassificationConfig)(nil)).Elem() } -func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { +func (o QualityMonitorDataClassificationConfigPtrOutput) ToQualityMonitorDataClassificationConfigPtrOutput() QualityMonitorDataClassificationConfigPtrOutput { return o } -func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { +func (o QualityMonitorDataClassificationConfigPtrOutput) ToQualityMonitorDataClassificationConfigPtrOutputWithContext(ctx context.Context) QualityMonitorDataClassificationConfigPtrOutput { return o } -func (o ShareObjectPartitionValueArrayOutput) Index(i pulumi.IntInput) ShareObjectPartitionValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObjectPartitionValue { - return vs[0].([]ShareObjectPartitionValue)[vs[1].(int)] - }).(ShareObjectPartitionValueOutput) +func (o QualityMonitorDataClassificationConfigPtrOutput) Elem() QualityMonitorDataClassificationConfigOutput { + return o.ApplyT(func(v *QualityMonitorDataClassificationConfig) QualityMonitorDataClassificationConfig { + if v != nil { + return *v + } + var ret QualityMonitorDataClassificationConfig + return ret + }).(QualityMonitorDataClassificationConfigOutput) } -type SqlAlertOptions struct { - // Name of column in the query result to compare in alert evaluation. - Column string `pulumi:"column"` - // Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - CustomBody *string `pulumi:"customBody"` - // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - CustomSubject *string `pulumi:"customSubject"` - // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. - EmptyResultState *string `pulumi:"emptyResultState"` - // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. - Muted *bool `pulumi:"muted"` - // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) - Op string `pulumi:"op"` - // Value used to compare in alert evaluation. - Value string `pulumi:"value"` +func (o QualityMonitorDataClassificationConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *QualityMonitorDataClassificationConfig) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// SqlAlertOptionsInput is an input type that accepts SqlAlertOptionsArgs and SqlAlertOptionsOutput values. -// You can construct a concrete instance of `SqlAlertOptionsInput` via: +type QualityMonitorInferenceLog struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities []string `pulumi:"granularities"` + // Column of the model label + LabelCol *string `pulumi:"labelCol"` + // Column of the model id or version + ModelIdCol string `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol string `pulumi:"predictionCol"` + // Column of the model prediction probabilities + PredictionProbaCol *string `pulumi:"predictionProbaCol"` + // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + ProblemType string `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol string `pulumi:"timestampCol"` +} + +// QualityMonitorInferenceLogInput is an input type that accepts QualityMonitorInferenceLogArgs and QualityMonitorInferenceLogOutput values. +// You can construct a concrete instance of `QualityMonitorInferenceLogInput` via: // -// SqlAlertOptionsArgs{...} -type SqlAlertOptionsInput interface { +// QualityMonitorInferenceLogArgs{...} +type QualityMonitorInferenceLogInput interface { pulumi.Input - ToSqlAlertOptionsOutput() SqlAlertOptionsOutput - ToSqlAlertOptionsOutputWithContext(context.Context) SqlAlertOptionsOutput + ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput + ToQualityMonitorInferenceLogOutputWithContext(context.Context) QualityMonitorInferenceLogOutput } -type SqlAlertOptionsArgs struct { - // Name of column in the query result to compare in alert evaluation. - Column pulumi.StringInput `pulumi:"column"` - // Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - CustomBody pulumi.StringPtrInput `pulumi:"customBody"` - // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. - EmptyResultState pulumi.StringPtrInput `pulumi:"emptyResultState"` - // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. - Muted pulumi.BoolPtrInput `pulumi:"muted"` - // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) - Op pulumi.StringInput `pulumi:"op"` - // Value used to compare in alert evaluation. - Value pulumi.StringInput `pulumi:"value"` +type QualityMonitorInferenceLogArgs struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities pulumi.StringArrayInput `pulumi:"granularities"` + // Column of the model label + LabelCol pulumi.StringPtrInput `pulumi:"labelCol"` + // Column of the model id or version + ModelIdCol pulumi.StringInput `pulumi:"modelIdCol"` + // Column of the model prediction + PredictionCol pulumi.StringInput `pulumi:"predictionCol"` + // Column of the model prediction probabilities + PredictionProbaCol pulumi.StringPtrInput `pulumi:"predictionProbaCol"` + // Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + ProblemType pulumi.StringInput `pulumi:"problemType"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringInput `pulumi:"timestampCol"` } -func (SqlAlertOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() +func (QualityMonitorInferenceLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorInferenceLog)(nil)).Elem() } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { - return i.ToSqlAlertOptionsOutputWithContext(context.Background()) +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput { + return i.ToQualityMonitorInferenceLogOutputWithContext(context.Background()) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput) +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogOutputWithContext(ctx context.Context) QualityMonitorInferenceLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogOutput) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { + return i.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput).ToSqlAlertOptionsPtrOutputWithContext(ctx) +func (i QualityMonitorInferenceLogArgs) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogOutput).ToQualityMonitorInferenceLogPtrOutputWithContext(ctx) } -// SqlAlertOptionsPtrInput is an input type that accepts SqlAlertOptionsArgs, SqlAlertOptionsPtr and SqlAlertOptionsPtrOutput values. -// You can construct a concrete instance of `SqlAlertOptionsPtrInput` via: +// QualityMonitorInferenceLogPtrInput is an input type that accepts QualityMonitorInferenceLogArgs, QualityMonitorInferenceLogPtr and QualityMonitorInferenceLogPtrOutput values. +// You can construct a concrete instance of `QualityMonitorInferenceLogPtrInput` via: // -// SqlAlertOptionsArgs{...} +// QualityMonitorInferenceLogArgs{...} // // or: // // nil -type SqlAlertOptionsPtrInput interface { +type QualityMonitorInferenceLogPtrInput interface { pulumi.Input - ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput - ToSqlAlertOptionsPtrOutputWithContext(context.Context) SqlAlertOptionsPtrOutput + ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput + ToQualityMonitorInferenceLogPtrOutputWithContext(context.Context) QualityMonitorInferenceLogPtrOutput } -type sqlAlertOptionsPtrType SqlAlertOptionsArgs +type qualityMonitorInferenceLogPtrType QualityMonitorInferenceLogArgs -func SqlAlertOptionsPtr(v *SqlAlertOptionsArgs) SqlAlertOptionsPtrInput { - return (*sqlAlertOptionsPtrType)(v) +func QualityMonitorInferenceLogPtr(v *QualityMonitorInferenceLogArgs) QualityMonitorInferenceLogPtrInput { + return (*qualityMonitorInferenceLogPtrType)(v) } -func (*sqlAlertOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +func (*qualityMonitorInferenceLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorInferenceLog)(nil)).Elem() } -func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (i *qualityMonitorInferenceLogPtrType) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { + return i.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsPtrOutput) +func (i *qualityMonitorInferenceLogPtrType) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorInferenceLogPtrOutput) } -type SqlAlertOptionsOutput struct{ *pulumi.OutputState } +type QualityMonitorInferenceLogOutput struct{ *pulumi.OutputState } -func (SqlAlertOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() +func (QualityMonitorInferenceLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorInferenceLog)(nil)).Elem() } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogOutput() QualityMonitorInferenceLogOutput { return o } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogOutputWithContext(ctx context.Context) QualityMonitorInferenceLogOutput { return o } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { - return o.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { + return o.ToQualityMonitorInferenceLogPtrOutputWithContext(context.Background()) } -func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlAlertOptions) *SqlAlertOptions { +func (o QualityMonitorInferenceLogOutput) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorInferenceLog) *QualityMonitorInferenceLog { return &v - }).(SqlAlertOptionsPtrOutput) + }).(QualityMonitorInferenceLogPtrOutput) } -// Name of column in the query result to compare in alert evaluation. -func (o SqlAlertOptionsOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v SqlAlertOptions) string { return v.Column }).(pulumi.StringOutput) +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorInferenceLogOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) []string { return v.Granularities }).(pulumi.StringArrayOutput) } -// Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. -func (o SqlAlertOptionsOutput) CustomBody() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlAlertOptions) *string { return v.CustomBody }).(pulumi.StringPtrOutput) +// Column of the model label +func (o QualityMonitorInferenceLogOutput) LabelCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) *string { return v.LabelCol }).(pulumi.StringPtrOutput) } -// Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. -func (o SqlAlertOptionsOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlAlertOptions) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) +// Column of the model id or version +func (o QualityMonitorInferenceLogOutput) ModelIdCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.ModelIdCol }).(pulumi.StringOutput) } -// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. -func (o SqlAlertOptionsOutput) EmptyResultState() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlAlertOptions) *string { return v.EmptyResultState }).(pulumi.StringPtrOutput) +// Column of the model prediction +func (o QualityMonitorInferenceLogOutput) PredictionCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.PredictionCol }).(pulumi.StringOutput) } -// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. -func (o SqlAlertOptionsOutput) Muted() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SqlAlertOptions) *bool { return v.Muted }).(pulumi.BoolPtrOutput) +// Column of the model prediction probabilities +func (o QualityMonitorInferenceLogOutput) PredictionProbaCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) *string { return v.PredictionProbaCol }).(pulumi.StringPtrOutput) } -// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) -func (o SqlAlertOptionsOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v SqlAlertOptions) string { return v.Op }).(pulumi.StringOutput) +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o QualityMonitorInferenceLogOutput) ProblemType() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.ProblemType }).(pulumi.StringOutput) } -// Value used to compare in alert evaluation. -func (o SqlAlertOptionsOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlAlertOptions) string { return v.Value }).(pulumi.StringOutput) +// Column of the timestamp of predictions +func (o QualityMonitorInferenceLogOutput) TimestampCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorInferenceLog) string { return v.TimestampCol }).(pulumi.StringOutput) } -type SqlAlertOptionsPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorInferenceLogPtrOutput struct{ *pulumi.OutputState } -func (SqlAlertOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +func (QualityMonitorInferenceLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorInferenceLog)(nil)).Elem() } -func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { +func (o QualityMonitorInferenceLogPtrOutput) ToQualityMonitorInferenceLogPtrOutput() QualityMonitorInferenceLogPtrOutput { return o } -func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { +func (o QualityMonitorInferenceLogPtrOutput) ToQualityMonitorInferenceLogPtrOutputWithContext(ctx context.Context) QualityMonitorInferenceLogPtrOutput { return o } -func (o SqlAlertOptionsPtrOutput) Elem() SqlAlertOptionsOutput { - return o.ApplyT(func(v *SqlAlertOptions) SqlAlertOptions { +func (o QualityMonitorInferenceLogPtrOutput) Elem() QualityMonitorInferenceLogOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) QualityMonitorInferenceLog { if v != nil { return *v } - var ret SqlAlertOptions + var ret QualityMonitorInferenceLog return ret - }).(SqlAlertOptionsOutput) + }).(QualityMonitorInferenceLogOutput) } -// Name of column in the query result to compare in alert evaluation. -func (o SqlAlertOptionsPtrOutput) Column() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorInferenceLogPtrOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) []string { if v == nil { return nil } - return &v.Column - }).(pulumi.StringPtrOutput) + return v.Granularities + }).(pulumi.StringArrayOutput) } -// Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. -func (o SqlAlertOptionsPtrOutput) CustomBody() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +// Column of the model label +func (o QualityMonitorInferenceLogPtrOutput) LabelCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { if v == nil { return nil } - return v.CustomBody + return v.LabelCol }).(pulumi.StringPtrOutput) } -// Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. -func (o SqlAlertOptionsPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +// Column of the model id or version +func (o QualityMonitorInferenceLogPtrOutput) ModelIdCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { if v == nil { return nil } - return v.CustomSubject + return &v.ModelIdCol }).(pulumi.StringPtrOutput) } -// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. -func (o SqlAlertOptionsPtrOutput) EmptyResultState() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +// Column of the model prediction +func (o QualityMonitorInferenceLogPtrOutput) PredictionCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { if v == nil { return nil } - return v.EmptyResultState + return &v.PredictionCol }).(pulumi.StringPtrOutput) } -// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. -func (o SqlAlertOptionsPtrOutput) Muted() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *bool { +// Column of the model prediction probabilities +func (o QualityMonitorInferenceLogPtrOutput) PredictionProbaCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { if v == nil { return nil } - return v.Muted - }).(pulumi.BoolPtrOutput) + return v.PredictionProbaCol + }).(pulumi.StringPtrOutput) } -// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) -func (o SqlAlertOptionsPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +// Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` +func (o QualityMonitorInferenceLogPtrOutput) ProblemType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { if v == nil { return nil } - return &v.Op + return &v.ProblemType }).(pulumi.StringPtrOutput) } -// Value used to compare in alert evaluation. -func (o SqlAlertOptionsPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlAlertOptions) *string { +// Column of the timestamp of predictions +func (o QualityMonitorInferenceLogPtrOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorInferenceLog) *string { if v == nil { return nil } - return &v.Value + return &v.TimestampCol }).(pulumi.StringPtrOutput) } -type SqlEndpointChannel struct { - DbsqlVersion *string `pulumi:"dbsqlVersion"` - // Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. - Name *string `pulumi:"name"` +type QualityMonitorNotifications struct { + // who to send notifications to on monitor failure. + OnFailure *QualityMonitorNotificationsOnFailure `pulumi:"onFailure"` + // Who to send notifications to when new data classification tags are detected. + OnNewClassificationTagDetected *QualityMonitorNotificationsOnNewClassificationTagDetected `pulumi:"onNewClassificationTagDetected"` } -// SqlEndpointChannelInput is an input type that accepts SqlEndpointChannelArgs and SqlEndpointChannelOutput values. -// You can construct a concrete instance of `SqlEndpointChannelInput` via: +// QualityMonitorNotificationsInput is an input type that accepts QualityMonitorNotificationsArgs and QualityMonitorNotificationsOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsInput` via: // -// SqlEndpointChannelArgs{...} -type SqlEndpointChannelInput interface { +// QualityMonitorNotificationsArgs{...} +type QualityMonitorNotificationsInput interface { pulumi.Input - ToSqlEndpointChannelOutput() SqlEndpointChannelOutput - ToSqlEndpointChannelOutputWithContext(context.Context) SqlEndpointChannelOutput + ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput + ToQualityMonitorNotificationsOutputWithContext(context.Context) QualityMonitorNotificationsOutput } -type SqlEndpointChannelArgs struct { - DbsqlVersion pulumi.StringPtrInput `pulumi:"dbsqlVersion"` - // Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. - Name pulumi.StringPtrInput `pulumi:"name"` +type QualityMonitorNotificationsArgs struct { + // who to send notifications to on monitor failure. + OnFailure QualityMonitorNotificationsOnFailurePtrInput `pulumi:"onFailure"` + // Who to send notifications to when new data classification tags are detected. + OnNewClassificationTagDetected QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput `pulumi:"onNewClassificationTagDetected"` } -func (SqlEndpointChannelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +func (QualityMonitorNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotifications)(nil)).Elem() } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { - return i.ToSqlEndpointChannelOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput { + return i.ToQualityMonitorNotificationsOutputWithContext(context.Background()) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsOutputWithContext(ctx context.Context) QualityMonitorNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOutput) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { + return i.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput).ToSqlEndpointChannelPtrOutputWithContext(ctx) +func (i QualityMonitorNotificationsArgs) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOutput).ToQualityMonitorNotificationsPtrOutputWithContext(ctx) } -// SqlEndpointChannelPtrInput is an input type that accepts SqlEndpointChannelArgs, SqlEndpointChannelPtr and SqlEndpointChannelPtrOutput values. -// You can construct a concrete instance of `SqlEndpointChannelPtrInput` via: +// QualityMonitorNotificationsPtrInput is an input type that accepts QualityMonitorNotificationsArgs, QualityMonitorNotificationsPtr and QualityMonitorNotificationsPtrOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsPtrInput` via: // -// SqlEndpointChannelArgs{...} +// QualityMonitorNotificationsArgs{...} // // or: // // nil -type SqlEndpointChannelPtrInput interface { +type QualityMonitorNotificationsPtrInput interface { pulumi.Input - ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput - ToSqlEndpointChannelPtrOutputWithContext(context.Context) SqlEndpointChannelPtrOutput + ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput + ToQualityMonitorNotificationsPtrOutputWithContext(context.Context) QualityMonitorNotificationsPtrOutput } -type sqlEndpointChannelPtrType SqlEndpointChannelArgs +type qualityMonitorNotificationsPtrType QualityMonitorNotificationsArgs -func SqlEndpointChannelPtr(v *SqlEndpointChannelArgs) SqlEndpointChannelPtrInput { - return (*sqlEndpointChannelPtrType)(v) +func QualityMonitorNotificationsPtr(v *QualityMonitorNotificationsArgs) QualityMonitorNotificationsPtrInput { + return (*qualityMonitorNotificationsPtrType)(v) } -func (*sqlEndpointChannelPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() +func (*qualityMonitorNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotifications)(nil)).Elem() } -func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (i *qualityMonitorNotificationsPtrType) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { + return i.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelPtrOutput) +func (i *qualityMonitorNotificationsPtrType) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsPtrOutput) } -type SqlEndpointChannelOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsOutput struct{ *pulumi.OutputState } -func (SqlEndpointChannelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() +func (QualityMonitorNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotifications)(nil)).Elem() } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsOutput() QualityMonitorNotificationsOutput { return o } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsOutputWithContext(ctx context.Context) QualityMonitorNotificationsOutput { return o } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { - return o.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { + return o.ToQualityMonitorNotificationsPtrOutputWithContext(context.Background()) } -func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointChannel) *SqlEndpointChannel { +func (o QualityMonitorNotificationsOutput) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotifications) *QualityMonitorNotifications { return &v - }).(SqlEndpointChannelPtrOutput) + }).(QualityMonitorNotificationsPtrOutput) } -func (o SqlEndpointChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) +// who to send notifications to on monitor failure. +func (o QualityMonitorNotificationsOutput) OnFailure() QualityMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v QualityMonitorNotifications) *QualityMonitorNotificationsOnFailure { return v.OnFailure }).(QualityMonitorNotificationsOnFailurePtrOutput) } -// Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. -func (o SqlEndpointChannelOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointChannel) *string { return v.Name }).(pulumi.StringPtrOutput) +// Who to send notifications to when new data classification tags are detected. +func (o QualityMonitorNotificationsOutput) OnNewClassificationTagDetected() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyT(func(v QualityMonitorNotifications) *QualityMonitorNotificationsOnNewClassificationTagDetected { + return v.OnNewClassificationTagDetected + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -type SqlEndpointChannelPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorNotificationsPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointChannelPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() +func (QualityMonitorNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotifications)(nil)).Elem() } -func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { +func (o QualityMonitorNotificationsPtrOutput) ToQualityMonitorNotificationsPtrOutput() QualityMonitorNotificationsPtrOutput { return o } -func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { +func (o QualityMonitorNotificationsPtrOutput) ToQualityMonitorNotificationsPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsPtrOutput { return o } -func (o SqlEndpointChannelPtrOutput) Elem() SqlEndpointChannelOutput { - return o.ApplyT(func(v *SqlEndpointChannel) SqlEndpointChannel { +func (o QualityMonitorNotificationsPtrOutput) Elem() QualityMonitorNotificationsOutput { + return o.ApplyT(func(v *QualityMonitorNotifications) QualityMonitorNotifications { if v != nil { return *v } - var ret SqlEndpointChannel + var ret QualityMonitorNotifications return ret - }).(SqlEndpointChannelOutput) + }).(QualityMonitorNotificationsOutput) } -func (o SqlEndpointChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointChannel) *string { +// who to send notifications to on monitor failure. +func (o QualityMonitorNotificationsPtrOutput) OnFailure() QualityMonitorNotificationsOnFailurePtrOutput { + return o.ApplyT(func(v *QualityMonitorNotifications) *QualityMonitorNotificationsOnFailure { if v == nil { return nil } - return v.DbsqlVersion - }).(pulumi.StringPtrOutput) + return v.OnFailure + }).(QualityMonitorNotificationsOnFailurePtrOutput) } -// Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. -func (o SqlEndpointChannelPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointChannel) *string { +// Who to send notifications to when new data classification tags are detected. +func (o QualityMonitorNotificationsPtrOutput) OnNewClassificationTagDetected() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyT(func(v *QualityMonitorNotifications) *QualityMonitorNotificationsOnNewClassificationTagDetected { if v == nil { return nil } - return v.Name - }).(pulumi.StringPtrOutput) + return v.OnNewClassificationTagDetected + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -type SqlEndpointHealth struct { - Details *string `pulumi:"details"` - FailureReason *SqlEndpointHealthFailureReason `pulumi:"failureReason"` - Message *string `pulumi:"message"` - Status *string `pulumi:"status"` - Summary *string `pulumi:"summary"` +type QualityMonitorNotificationsOnFailure struct { + EmailAddresses []string `pulumi:"emailAddresses"` } -// SqlEndpointHealthInput is an input type that accepts SqlEndpointHealthArgs and SqlEndpointHealthOutput values. -// You can construct a concrete instance of `SqlEndpointHealthInput` via: +// QualityMonitorNotificationsOnFailureInput is an input type that accepts QualityMonitorNotificationsOnFailureArgs and QualityMonitorNotificationsOnFailureOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnFailureInput` via: // -// SqlEndpointHealthArgs{...} -type SqlEndpointHealthInput interface { +// QualityMonitorNotificationsOnFailureArgs{...} +type QualityMonitorNotificationsOnFailureInput interface { pulumi.Input - ToSqlEndpointHealthOutput() SqlEndpointHealthOutput - ToSqlEndpointHealthOutputWithContext(context.Context) SqlEndpointHealthOutput + ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput + ToQualityMonitorNotificationsOnFailureOutputWithContext(context.Context) QualityMonitorNotificationsOnFailureOutput } -type SqlEndpointHealthArgs struct { - Details pulumi.StringPtrInput `pulumi:"details"` - FailureReason SqlEndpointHealthFailureReasonPtrInput `pulumi:"failureReason"` - Message pulumi.StringPtrInput `pulumi:"message"` - Status pulumi.StringPtrInput `pulumi:"status"` - Summary pulumi.StringPtrInput `pulumi:"summary"` +type QualityMonitorNotificationsOnFailureArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` } -func (SqlEndpointHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() +func (QualityMonitorNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnFailure)(nil)).Elem() } -func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { - return i.ToSqlEndpointHealthOutputWithContext(context.Background()) +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput { + return i.ToQualityMonitorNotificationsOnFailureOutputWithContext(context.Background()) } -func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthOutput) +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailureOutput) } -// SqlEndpointHealthArrayInput is an input type that accepts SqlEndpointHealthArray and SqlEndpointHealthArrayOutput values. -// You can construct a concrete instance of `SqlEndpointHealthArrayInput` via: +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return i.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +} + +func (i QualityMonitorNotificationsOnFailureArgs) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailureOutput).ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx) +} + +// QualityMonitorNotificationsOnFailurePtrInput is an input type that accepts QualityMonitorNotificationsOnFailureArgs, QualityMonitorNotificationsOnFailurePtr and QualityMonitorNotificationsOnFailurePtrOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnFailurePtrInput` via: +// +// QualityMonitorNotificationsOnFailureArgs{...} +// +// or: +// +// nil +type QualityMonitorNotificationsOnFailurePtrInput interface { + pulumi.Input + + ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput + ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Context) QualityMonitorNotificationsOnFailurePtrOutput +} + +type qualityMonitorNotificationsOnFailurePtrType QualityMonitorNotificationsOnFailureArgs + +func QualityMonitorNotificationsOnFailurePtr(v *QualityMonitorNotificationsOnFailureArgs) QualityMonitorNotificationsOnFailurePtrInput { + return (*qualityMonitorNotificationsOnFailurePtrType)(v) +} + +func (*qualityMonitorNotificationsOnFailurePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnFailure)(nil)).Elem() +} + +func (i *qualityMonitorNotificationsOnFailurePtrType) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return i.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +} + +func (i *qualityMonitorNotificationsOnFailurePtrType) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnFailurePtrOutput) +} + +type QualityMonitorNotificationsOnFailureOutput struct{ *pulumi.OutputState } + +func (QualityMonitorNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnFailure)(nil)).Elem() +} + +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailureOutput() QualityMonitorNotificationsOnFailureOutput { + return o +} + +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailureOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailureOutput { + return o +} + +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return o.ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(context.Background()) +} + +func (o QualityMonitorNotificationsOnFailureOutput) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotificationsOnFailure) *QualityMonitorNotificationsOnFailure { + return &v + }).(QualityMonitorNotificationsOnFailurePtrOutput) +} + +func (o QualityMonitorNotificationsOnFailureOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorNotificationsOnFailure) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) +} + +type QualityMonitorNotificationsOnFailurePtrOutput struct{ *pulumi.OutputState } + +func (QualityMonitorNotificationsOnFailurePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnFailure)(nil)).Elem() +} + +func (o QualityMonitorNotificationsOnFailurePtrOutput) ToQualityMonitorNotificationsOnFailurePtrOutput() QualityMonitorNotificationsOnFailurePtrOutput { + return o +} + +func (o QualityMonitorNotificationsOnFailurePtrOutput) ToQualityMonitorNotificationsOnFailurePtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnFailurePtrOutput { + return o +} + +func (o QualityMonitorNotificationsOnFailurePtrOutput) Elem() QualityMonitorNotificationsOnFailureOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnFailure) QualityMonitorNotificationsOnFailure { + if v != nil { + return *v + } + var ret QualityMonitorNotificationsOnFailure + return ret + }).(QualityMonitorNotificationsOnFailureOutput) +} + +func (o QualityMonitorNotificationsOnFailurePtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnFailure) []string { + if v == nil { + return nil + } + return v.EmailAddresses + }).(pulumi.StringArrayOutput) +} + +type QualityMonitorNotificationsOnNewClassificationTagDetected struct { + EmailAddresses []string `pulumi:"emailAddresses"` +} + +// QualityMonitorNotificationsOnNewClassificationTagDetectedInput is an input type that accepts QualityMonitorNotificationsOnNewClassificationTagDetectedArgs and QualityMonitorNotificationsOnNewClassificationTagDetectedOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnNewClassificationTagDetectedInput` via: +// +// QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{...} +type QualityMonitorNotificationsOnNewClassificationTagDetectedInput interface { + pulumi.Input + + ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput +} + +type QualityMonitorNotificationsOnNewClassificationTagDetectedArgs struct { + EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` +} + +func (QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() +} + +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { + return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(context.Background()) +} + +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) +} + +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) +} + +func (i QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput).ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx) +} + +// QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput is an input type that accepts QualityMonitorNotificationsOnNewClassificationTagDetectedArgs, QualityMonitorNotificationsOnNewClassificationTagDetectedPtr and QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput values. +// You can construct a concrete instance of `QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput` via: // -// SqlEndpointHealthArray{ SqlEndpointHealthArgs{...} } -type SqlEndpointHealthArrayInput interface { +// QualityMonitorNotificationsOnNewClassificationTagDetectedArgs{...} +// +// or: +// +// nil +type QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput interface { pulumi.Input - ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput - ToSqlEndpointHealthArrayOutputWithContext(context.Context) SqlEndpointHealthArrayOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput + ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput } -type SqlEndpointHealthArray []SqlEndpointHealthInput +type qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType QualityMonitorNotificationsOnNewClassificationTagDetectedArgs -func (SqlEndpointHealthArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() +func QualityMonitorNotificationsOnNewClassificationTagDetectedPtr(v *QualityMonitorNotificationsOnNewClassificationTagDetectedArgs) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrInput { + return (*qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType)(v) } -func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { - return i.ToSqlEndpointHealthArrayOutputWithContext(context.Background()) +func (*qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthArrayOutput) +func (i *qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return i.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -type SqlEndpointHealthOutput struct{ *pulumi.OutputState } +func (i *qualityMonitorNotificationsOnNewClassificationTagDetectedPtrType) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) +} -func (SqlEndpointHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() +type QualityMonitorNotificationsOnNewClassificationTagDetectedOutput struct{ *pulumi.OutputState } + +func (QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { return o } -func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { return o } -func (o SqlEndpointHealthOutput) Details() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Details }).(pulumi.StringPtrOutput) +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(context.Background()) } -func (o SqlEndpointHealthOutput) FailureReason() SqlEndpointHealthFailureReasonPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *SqlEndpointHealthFailureReason { return v.FailureReason }).(SqlEndpointHealthFailureReasonPtrOutput) +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorNotificationsOnNewClassificationTagDetected) *QualityMonitorNotificationsOnNewClassificationTagDetected { + return &v + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) } -func (o SqlEndpointHealthOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Message }).(pulumi.StringPtrOutput) +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorNotificationsOnNewClassificationTagDetected) []string { return v.EmailAddresses }).(pulumi.StringArrayOutput) } -func (o SqlEndpointHealthOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Status }).(pulumi.StringPtrOutput) -} +type QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput struct{ *pulumi.OutputState } -func (o SqlEndpointHealthOutput) Summary() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) +func (QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorNotificationsOnNewClassificationTagDetected)(nil)).Elem() } -type SqlEndpointHealthArrayOutput struct{ *pulumi.OutputState } - -func (SqlEndpointHealthArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput() QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { + return o } -func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) ToQualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutputWithContext(ctx context.Context) QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput { return o } -func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { - return o +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) Elem() QualityMonitorNotificationsOnNewClassificationTagDetectedOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnNewClassificationTagDetected) QualityMonitorNotificationsOnNewClassificationTagDetected { + if v != nil { + return *v + } + var ret QualityMonitorNotificationsOnNewClassificationTagDetected + return ret + }).(QualityMonitorNotificationsOnNewClassificationTagDetectedOutput) } -func (o SqlEndpointHealthArrayOutput) Index(i pulumi.IntInput) SqlEndpointHealthOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointHealth { - return vs[0].([]SqlEndpointHealth)[vs[1].(int)] - }).(SqlEndpointHealthOutput) +func (o QualityMonitorNotificationsOnNewClassificationTagDetectedPtrOutput) EmailAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorNotificationsOnNewClassificationTagDetected) []string { + if v == nil { + return nil + } + return v.EmailAddresses + }).(pulumi.StringArrayOutput) } -type SqlEndpointHealthFailureReason struct { - Code *string `pulumi:"code"` - Parameters map[string]string `pulumi:"parameters"` - Type *string `pulumi:"type"` +type QualityMonitorSchedule struct { + PauseStatus *string `pulumi:"pauseStatus"` + // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + QuartzCronExpression string `pulumi:"quartzCronExpression"` + // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + TimezoneId string `pulumi:"timezoneId"` } -// SqlEndpointHealthFailureReasonInput is an input type that accepts SqlEndpointHealthFailureReasonArgs and SqlEndpointHealthFailureReasonOutput values. -// You can construct a concrete instance of `SqlEndpointHealthFailureReasonInput` via: +// QualityMonitorScheduleInput is an input type that accepts QualityMonitorScheduleArgs and QualityMonitorScheduleOutput values. +// You can construct a concrete instance of `QualityMonitorScheduleInput` via: // -// SqlEndpointHealthFailureReasonArgs{...} -type SqlEndpointHealthFailureReasonInput interface { +// QualityMonitorScheduleArgs{...} +type QualityMonitorScheduleInput interface { pulumi.Input - ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput - ToSqlEndpointHealthFailureReasonOutputWithContext(context.Context) SqlEndpointHealthFailureReasonOutput + ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput + ToQualityMonitorScheduleOutputWithContext(context.Context) QualityMonitorScheduleOutput } -type SqlEndpointHealthFailureReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.StringMapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` +type QualityMonitorScheduleArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + // string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + // string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` } -func (SqlEndpointHealthFailureReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() +func (QualityMonitorScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSchedule)(nil)).Elem() } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { - return i.ToSqlEndpointHealthFailureReasonOutputWithContext(context.Background()) +func (i QualityMonitorScheduleArgs) ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput { + return i.ToQualityMonitorScheduleOutputWithContext(context.Background()) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput) +func (i QualityMonitorScheduleArgs) ToQualityMonitorScheduleOutputWithContext(ctx context.Context) QualityMonitorScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorScheduleOutput) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i QualityMonitorScheduleArgs) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return i.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) } -func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput).ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx) +func (i QualityMonitorScheduleArgs) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorScheduleOutput).ToQualityMonitorSchedulePtrOutputWithContext(ctx) } -// SqlEndpointHealthFailureReasonPtrInput is an input type that accepts SqlEndpointHealthFailureReasonArgs, SqlEndpointHealthFailureReasonPtr and SqlEndpointHealthFailureReasonPtrOutput values. -// You can construct a concrete instance of `SqlEndpointHealthFailureReasonPtrInput` via: +// QualityMonitorSchedulePtrInput is an input type that accepts QualityMonitorScheduleArgs, QualityMonitorSchedulePtr and QualityMonitorSchedulePtrOutput values. +// You can construct a concrete instance of `QualityMonitorSchedulePtrInput` via: // -// SqlEndpointHealthFailureReasonArgs{...} +// QualityMonitorScheduleArgs{...} // // or: // // nil -type SqlEndpointHealthFailureReasonPtrInput interface { +type QualityMonitorSchedulePtrInput interface { pulumi.Input - ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput - ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Context) SqlEndpointHealthFailureReasonPtrOutput + ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput + ToQualityMonitorSchedulePtrOutputWithContext(context.Context) QualityMonitorSchedulePtrOutput } -type sqlEndpointHealthFailureReasonPtrType SqlEndpointHealthFailureReasonArgs +type qualityMonitorSchedulePtrType QualityMonitorScheduleArgs -func SqlEndpointHealthFailureReasonPtr(v *SqlEndpointHealthFailureReasonArgs) SqlEndpointHealthFailureReasonPtrInput { - return (*sqlEndpointHealthFailureReasonPtrType)(v) +func QualityMonitorSchedulePtr(v *QualityMonitorScheduleArgs) QualityMonitorSchedulePtrInput { + return (*qualityMonitorSchedulePtrType)(v) } -func (*sqlEndpointHealthFailureReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +func (*qualityMonitorSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSchedule)(nil)).Elem() } -func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (i *qualityMonitorSchedulePtrType) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return i.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) } -func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonPtrOutput) +func (i *qualityMonitorSchedulePtrType) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSchedulePtrOutput) } -type SqlEndpointHealthFailureReasonOutput struct{ *pulumi.OutputState } +type QualityMonitorScheduleOutput struct{ *pulumi.OutputState } -func (SqlEndpointHealthFailureReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() +func (QualityMonitorScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSchedule)(nil)).Elem() } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { +func (o QualityMonitorScheduleOutput) ToQualityMonitorScheduleOutput() QualityMonitorScheduleOutput { return o } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { +func (o QualityMonitorScheduleOutput) ToQualityMonitorScheduleOutputWithContext(ctx context.Context) QualityMonitorScheduleOutput { return o } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { - return o.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) +func (o QualityMonitorScheduleOutput) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { + return o.ToQualityMonitorSchedulePtrOutputWithContext(context.Background()) } -func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointHealthFailureReason) *SqlEndpointHealthFailureReason { +func (o QualityMonitorScheduleOutput) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorSchedule) *QualityMonitorSchedule { return &v - }).(SqlEndpointHealthFailureReasonPtrOutput) + }).(QualityMonitorSchedulePtrOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o QualityMonitorScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v QualityMonitorSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. +func (o QualityMonitorScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) } -func (o SqlEndpointHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) +// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. +func (o QualityMonitorScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -type SqlEndpointHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorSchedulePtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointHealthFailureReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() +func (QualityMonitorSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSchedule)(nil)).Elem() } -func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { +func (o QualityMonitorSchedulePtrOutput) ToQualityMonitorSchedulePtrOutput() QualityMonitorSchedulePtrOutput { return o } -func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { +func (o QualityMonitorSchedulePtrOutput) ToQualityMonitorSchedulePtrOutputWithContext(ctx context.Context) QualityMonitorSchedulePtrOutput { return o } -func (o SqlEndpointHealthFailureReasonPtrOutput) Elem() SqlEndpointHealthFailureReasonOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) SqlEndpointHealthFailureReason { +func (o QualityMonitorSchedulePtrOutput) Elem() QualityMonitorScheduleOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) QualityMonitorSchedule { if v != nil { return *v } - var ret SqlEndpointHealthFailureReason + var ret QualityMonitorSchedule return ret - }).(SqlEndpointHealthFailureReasonOutput) + }).(QualityMonitorScheduleOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { +func (o QualityMonitorSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) *string { if v == nil { return nil } - return v.Code + return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) map[string]string { +// string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. +func (o QualityMonitorSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringMapOutput) + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -func (o SqlEndpointHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { +// string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. +func (o QualityMonitorSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorSchedule) *string { if v == nil { return nil } - return v.Type + return &v.TimezoneId }).(pulumi.StringPtrOutput) } -type SqlEndpointOdbcParams struct { - Hostname *string `pulumi:"hostname"` - Path *string `pulumi:"path"` - Port *int `pulumi:"port"` - Protocol *string `pulumi:"protocol"` +type QualityMonitorSnapshot struct { } -// SqlEndpointOdbcParamsInput is an input type that accepts SqlEndpointOdbcParamsArgs and SqlEndpointOdbcParamsOutput values. -// You can construct a concrete instance of `SqlEndpointOdbcParamsInput` via: +// QualityMonitorSnapshotInput is an input type that accepts QualityMonitorSnapshotArgs and QualityMonitorSnapshotOutput values. +// You can construct a concrete instance of `QualityMonitorSnapshotInput` via: // -// SqlEndpointOdbcParamsArgs{...} -type SqlEndpointOdbcParamsInput interface { +// QualityMonitorSnapshotArgs{...} +type QualityMonitorSnapshotInput interface { pulumi.Input - ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput - ToSqlEndpointOdbcParamsOutputWithContext(context.Context) SqlEndpointOdbcParamsOutput + ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput + ToQualityMonitorSnapshotOutputWithContext(context.Context) QualityMonitorSnapshotOutput } -type SqlEndpointOdbcParamsArgs struct { - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - Path pulumi.StringPtrInput `pulumi:"path"` - Port pulumi.IntPtrInput `pulumi:"port"` - Protocol pulumi.StringPtrInput `pulumi:"protocol"` +type QualityMonitorSnapshotArgs struct { } -func (SqlEndpointOdbcParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() +func (QualityMonitorSnapshotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSnapshot)(nil)).Elem() } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { - return i.ToSqlEndpointOdbcParamsOutputWithContext(context.Background()) +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput { + return i.ToQualityMonitorSnapshotOutputWithContext(context.Background()) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput) +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotOutputWithContext(ctx context.Context) QualityMonitorSnapshotOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotOutput) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { + return i.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput).ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx) +func (i QualityMonitorSnapshotArgs) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotOutput).ToQualityMonitorSnapshotPtrOutputWithContext(ctx) } -// SqlEndpointOdbcParamsPtrInput is an input type that accepts SqlEndpointOdbcParamsArgs, SqlEndpointOdbcParamsPtr and SqlEndpointOdbcParamsPtrOutput values. -// You can construct a concrete instance of `SqlEndpointOdbcParamsPtrInput` via: +// QualityMonitorSnapshotPtrInput is an input type that accepts QualityMonitorSnapshotArgs, QualityMonitorSnapshotPtr and QualityMonitorSnapshotPtrOutput values. +// You can construct a concrete instance of `QualityMonitorSnapshotPtrInput` via: // -// SqlEndpointOdbcParamsArgs{...} +// QualityMonitorSnapshotArgs{...} // // or: // // nil -type SqlEndpointOdbcParamsPtrInput interface { +type QualityMonitorSnapshotPtrInput interface { pulumi.Input - ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput - ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Context) SqlEndpointOdbcParamsPtrOutput + ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput + ToQualityMonitorSnapshotPtrOutputWithContext(context.Context) QualityMonitorSnapshotPtrOutput } -type sqlEndpointOdbcParamsPtrType SqlEndpointOdbcParamsArgs +type qualityMonitorSnapshotPtrType QualityMonitorSnapshotArgs -func SqlEndpointOdbcParamsPtr(v *SqlEndpointOdbcParamsArgs) SqlEndpointOdbcParamsPtrInput { - return (*sqlEndpointOdbcParamsPtrType)(v) +func QualityMonitorSnapshotPtr(v *QualityMonitorSnapshotArgs) QualityMonitorSnapshotPtrInput { + return (*qualityMonitorSnapshotPtrType)(v) } -func (*sqlEndpointOdbcParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +func (*qualityMonitorSnapshotPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSnapshot)(nil)).Elem() } -func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (i *qualityMonitorSnapshotPtrType) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { + return i.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsPtrOutput) +func (i *qualityMonitorSnapshotPtrType) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorSnapshotPtrOutput) } -type SqlEndpointOdbcParamsOutput struct{ *pulumi.OutputState } +type QualityMonitorSnapshotOutput struct{ *pulumi.OutputState } -func (SqlEndpointOdbcParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() +func (QualityMonitorSnapshotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorSnapshot)(nil)).Elem() } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotOutput() QualityMonitorSnapshotOutput { return o } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotOutputWithContext(ctx context.Context) QualityMonitorSnapshotOutput { return o } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { - return o.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { + return o.ToQualityMonitorSnapshotPtrOutputWithContext(context.Background()) } -func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointOdbcParams) *SqlEndpointOdbcParams { +func (o QualityMonitorSnapshotOutput) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorSnapshot) *QualityMonitorSnapshot { return &v - }).(SqlEndpointOdbcParamsPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) -} - -func (o SqlEndpointOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) + }).(QualityMonitorSnapshotPtrOutput) } -type SqlEndpointOdbcParamsPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorSnapshotPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointOdbcParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() +func (QualityMonitorSnapshotPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorSnapshot)(nil)).Elem() } -func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { +func (o QualityMonitorSnapshotPtrOutput) ToQualityMonitorSnapshotPtrOutput() QualityMonitorSnapshotPtrOutput { return o } -func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { +func (o QualityMonitorSnapshotPtrOutput) ToQualityMonitorSnapshotPtrOutputWithContext(ctx context.Context) QualityMonitorSnapshotPtrOutput { return o } -func (o SqlEndpointOdbcParamsPtrOutput) Elem() SqlEndpointOdbcParamsOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) SqlEndpointOdbcParams { +func (o QualityMonitorSnapshotPtrOutput) Elem() QualityMonitorSnapshotOutput { + return o.ApplyT(func(v *QualityMonitorSnapshot) QualityMonitorSnapshot { if v != nil { return *v } - var ret SqlEndpointOdbcParams + var ret QualityMonitorSnapshot return ret - }).(SqlEndpointOdbcParamsOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { - if v == nil { - return nil - } - return v.Hostname - }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *int { - if v == nil { - return nil - } - return v.Port - }).(pulumi.IntPtrOutput) -} - -func (o SqlEndpointOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { - if v == nil { - return nil - } - return v.Protocol - }).(pulumi.StringPtrOutput) + }).(QualityMonitorSnapshotOutput) } -type SqlEndpointTags struct { - CustomTags []SqlEndpointTagsCustomTag `pulumi:"customTags"` +type QualityMonitorTimeSeries struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities []string `pulumi:"granularities"` + // Column of the timestamp of predictions + TimestampCol string `pulumi:"timestampCol"` } -// SqlEndpointTagsInput is an input type that accepts SqlEndpointTagsArgs and SqlEndpointTagsOutput values. -// You can construct a concrete instance of `SqlEndpointTagsInput` via: +// QualityMonitorTimeSeriesInput is an input type that accepts QualityMonitorTimeSeriesArgs and QualityMonitorTimeSeriesOutput values. +// You can construct a concrete instance of `QualityMonitorTimeSeriesInput` via: // -// SqlEndpointTagsArgs{...} -type SqlEndpointTagsInput interface { +// QualityMonitorTimeSeriesArgs{...} +type QualityMonitorTimeSeriesInput interface { pulumi.Input - ToSqlEndpointTagsOutput() SqlEndpointTagsOutput - ToSqlEndpointTagsOutputWithContext(context.Context) SqlEndpointTagsOutput + ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput + ToQualityMonitorTimeSeriesOutputWithContext(context.Context) QualityMonitorTimeSeriesOutput } -type SqlEndpointTagsArgs struct { - CustomTags SqlEndpointTagsCustomTagArrayInput `pulumi:"customTags"` +type QualityMonitorTimeSeriesArgs struct { + // List of granularities to use when aggregating data into time windows based on their timestamp. + Granularities pulumi.StringArrayInput `pulumi:"granularities"` + // Column of the timestamp of predictions + TimestampCol pulumi.StringInput `pulumi:"timestampCol"` } -func (SqlEndpointTagsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() +func (QualityMonitorTimeSeriesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorTimeSeries)(nil)).Elem() } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { - return i.ToSqlEndpointTagsOutputWithContext(context.Background()) +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput { + return i.ToQualityMonitorTimeSeriesOutputWithContext(context.Background()) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput) +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesOutput) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { + return i.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput).ToSqlEndpointTagsPtrOutputWithContext(ctx) +func (i QualityMonitorTimeSeriesArgs) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesOutput).ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx) } -// SqlEndpointTagsPtrInput is an input type that accepts SqlEndpointTagsArgs, SqlEndpointTagsPtr and SqlEndpointTagsPtrOutput values. -// You can construct a concrete instance of `SqlEndpointTagsPtrInput` via: +// QualityMonitorTimeSeriesPtrInput is an input type that accepts QualityMonitorTimeSeriesArgs, QualityMonitorTimeSeriesPtr and QualityMonitorTimeSeriesPtrOutput values. +// You can construct a concrete instance of `QualityMonitorTimeSeriesPtrInput` via: // -// SqlEndpointTagsArgs{...} +// QualityMonitorTimeSeriesArgs{...} // // or: // // nil -type SqlEndpointTagsPtrInput interface { +type QualityMonitorTimeSeriesPtrInput interface { pulumi.Input - ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput - ToSqlEndpointTagsPtrOutputWithContext(context.Context) SqlEndpointTagsPtrOutput + ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput + ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Context) QualityMonitorTimeSeriesPtrOutput } -type sqlEndpointTagsPtrType SqlEndpointTagsArgs +type qualityMonitorTimeSeriesPtrType QualityMonitorTimeSeriesArgs -func SqlEndpointTagsPtr(v *SqlEndpointTagsArgs) SqlEndpointTagsPtrInput { - return (*sqlEndpointTagsPtrType)(v) +func QualityMonitorTimeSeriesPtr(v *QualityMonitorTimeSeriesArgs) QualityMonitorTimeSeriesPtrInput { + return (*qualityMonitorTimeSeriesPtrType)(v) } -func (*sqlEndpointTagsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() +func (*qualityMonitorTimeSeriesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorTimeSeries)(nil)).Elem() } -func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (i *qualityMonitorTimeSeriesPtrType) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { + return i.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsPtrOutput) +func (i *qualityMonitorTimeSeriesPtrType) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QualityMonitorTimeSeriesPtrOutput) } -type SqlEndpointTagsOutput struct{ *pulumi.OutputState } +type QualityMonitorTimeSeriesOutput struct{ *pulumi.OutputState } -func (SqlEndpointTagsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() +func (QualityMonitorTimeSeriesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QualityMonitorTimeSeries)(nil)).Elem() } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesOutput() QualityMonitorTimeSeriesOutput { return o } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesOutput { return o } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { - return o.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { + return o.ToQualityMonitorTimeSeriesPtrOutputWithContext(context.Background()) } -func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointTags) *SqlEndpointTags { +func (o QualityMonitorTimeSeriesOutput) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QualityMonitorTimeSeries) *QualityMonitorTimeSeries { return &v - }).(SqlEndpointTagsPtrOutput) + }).(QualityMonitorTimeSeriesPtrOutput) +} + +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorTimeSeriesOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v QualityMonitorTimeSeries) []string { return v.Granularities }).(pulumi.StringArrayOutput) } -func (o SqlEndpointTagsOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { - return o.ApplyT(func(v SqlEndpointTags) []SqlEndpointTagsCustomTag { return v.CustomTags }).(SqlEndpointTagsCustomTagArrayOutput) +// Column of the timestamp of predictions +func (o QualityMonitorTimeSeriesOutput) TimestampCol() pulumi.StringOutput { + return o.ApplyT(func(v QualityMonitorTimeSeries) string { return v.TimestampCol }).(pulumi.StringOutput) } -type SqlEndpointTagsPtrOutput struct{ *pulumi.OutputState } +type QualityMonitorTimeSeriesPtrOutput struct{ *pulumi.OutputState } -func (SqlEndpointTagsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() +func (QualityMonitorTimeSeriesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QualityMonitorTimeSeries)(nil)).Elem() } -func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { +func (o QualityMonitorTimeSeriesPtrOutput) ToQualityMonitorTimeSeriesPtrOutput() QualityMonitorTimeSeriesPtrOutput { return o } -func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { +func (o QualityMonitorTimeSeriesPtrOutput) ToQualityMonitorTimeSeriesPtrOutputWithContext(ctx context.Context) QualityMonitorTimeSeriesPtrOutput { return o } -func (o SqlEndpointTagsPtrOutput) Elem() SqlEndpointTagsOutput { - return o.ApplyT(func(v *SqlEndpointTags) SqlEndpointTags { +func (o QualityMonitorTimeSeriesPtrOutput) Elem() QualityMonitorTimeSeriesOutput { + return o.ApplyT(func(v *QualityMonitorTimeSeries) QualityMonitorTimeSeries { if v != nil { return *v } - var ret SqlEndpointTags + var ret QualityMonitorTimeSeries return ret - }).(SqlEndpointTagsOutput) + }).(QualityMonitorTimeSeriesOutput) } -func (o SqlEndpointTagsPtrOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { - return o.ApplyT(func(v *SqlEndpointTags) []SqlEndpointTagsCustomTag { +// List of granularities to use when aggregating data into time windows based on their timestamp. +func (o QualityMonitorTimeSeriesPtrOutput) Granularities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QualityMonitorTimeSeries) []string { if v == nil { return nil } - return v.CustomTags - }).(SqlEndpointTagsCustomTagArrayOutput) + return v.Granularities + }).(pulumi.StringArrayOutput) } -type SqlEndpointTagsCustomTag struct { - Key string `pulumi:"key"` - Value string `pulumi:"value"` +// Column of the timestamp of predictions +func (o QualityMonitorTimeSeriesPtrOutput) TimestampCol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QualityMonitorTimeSeries) *string { + if v == nil { + return nil + } + return &v.TimestampCol + }).(pulumi.StringPtrOutput) } -// SqlEndpointTagsCustomTagInput is an input type that accepts SqlEndpointTagsCustomTagArgs and SqlEndpointTagsCustomTagOutput values. -// You can construct a concrete instance of `SqlEndpointTagsCustomTagInput` via: +type QueryParameter struct { + // Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamicDateRangeValue` or `dateRangeValue`): + DateRangeValue *QueryParameterDateRangeValue `pulumi:"dateRangeValue"` + // Date query parameter value. Consists of following attributes (Can only specify one of `dynamicDateValue` or `dateValue`): + DateValue *QueryParameterDateValue `pulumi:"dateValue"` + // Dropdown parameter value. Consists of following attributes: + EnumValue *QueryParameterEnumValue `pulumi:"enumValue"` + // Literal parameter marker that appears between double curly braces in the query text. + Name string `pulumi:"name"` + // Numeric parameter value. Consists of following attributes: + NumericValue *QueryParameterNumericValue `pulumi:"numericValue"` + // Query-based dropdown parameter value. Consists of following attributes: + QueryBackedValue *QueryParameterQueryBackedValue `pulumi:"queryBackedValue"` + // Text parameter value. Consists of following attributes: + TextValue *QueryParameterTextValue `pulumi:"textValue"` + // Text displayed in the user-facing parameter widget in the UI. + Title *string `pulumi:"title"` +} + +// QueryParameterInput is an input type that accepts QueryParameterArgs and QueryParameterOutput values. +// You can construct a concrete instance of `QueryParameterInput` via: // -// SqlEndpointTagsCustomTagArgs{...} -type SqlEndpointTagsCustomTagInput interface { +// QueryParameterArgs{...} +type QueryParameterInput interface { pulumi.Input - ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput - ToSqlEndpointTagsCustomTagOutputWithContext(context.Context) SqlEndpointTagsCustomTagOutput + ToQueryParameterOutput() QueryParameterOutput + ToQueryParameterOutputWithContext(context.Context) QueryParameterOutput } -type SqlEndpointTagsCustomTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringInput `pulumi:"value"` +type QueryParameterArgs struct { + // Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamicDateRangeValue` or `dateRangeValue`): + DateRangeValue QueryParameterDateRangeValuePtrInput `pulumi:"dateRangeValue"` + // Date query parameter value. Consists of following attributes (Can only specify one of `dynamicDateValue` or `dateValue`): + DateValue QueryParameterDateValuePtrInput `pulumi:"dateValue"` + // Dropdown parameter value. Consists of following attributes: + EnumValue QueryParameterEnumValuePtrInput `pulumi:"enumValue"` + // Literal parameter marker that appears between double curly braces in the query text. + Name pulumi.StringInput `pulumi:"name"` + // Numeric parameter value. Consists of following attributes: + NumericValue QueryParameterNumericValuePtrInput `pulumi:"numericValue"` + // Query-based dropdown parameter value. Consists of following attributes: + QueryBackedValue QueryParameterQueryBackedValuePtrInput `pulumi:"queryBackedValue"` + // Text parameter value. Consists of following attributes: + TextValue QueryParameterTextValuePtrInput `pulumi:"textValue"` + // Text displayed in the user-facing parameter widget in the UI. + Title pulumi.StringPtrInput `pulumi:"title"` } -func (SqlEndpointTagsCustomTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() +func (QueryParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameter)(nil)).Elem() } -func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { - return i.ToSqlEndpointTagsCustomTagOutputWithContext(context.Background()) +func (i QueryParameterArgs) ToQueryParameterOutput() QueryParameterOutput { + return i.ToQueryParameterOutputWithContext(context.Background()) } -func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagOutput) +func (i QueryParameterArgs) ToQueryParameterOutputWithContext(ctx context.Context) QueryParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterOutput) } -// SqlEndpointTagsCustomTagArrayInput is an input type that accepts SqlEndpointTagsCustomTagArray and SqlEndpointTagsCustomTagArrayOutput values. -// You can construct a concrete instance of `SqlEndpointTagsCustomTagArrayInput` via: +// QueryParameterArrayInput is an input type that accepts QueryParameterArray and QueryParameterArrayOutput values. +// You can construct a concrete instance of `QueryParameterArrayInput` via: // -// SqlEndpointTagsCustomTagArray{ SqlEndpointTagsCustomTagArgs{...} } -type SqlEndpointTagsCustomTagArrayInput interface { +// QueryParameterArray{ QueryParameterArgs{...} } +type QueryParameterArrayInput interface { pulumi.Input - ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput - ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Context) SqlEndpointTagsCustomTagArrayOutput + ToQueryParameterArrayOutput() QueryParameterArrayOutput + ToQueryParameterArrayOutputWithContext(context.Context) QueryParameterArrayOutput } -type SqlEndpointTagsCustomTagArray []SqlEndpointTagsCustomTagInput +type QueryParameterArray []QueryParameterInput -func (SqlEndpointTagsCustomTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() +func (QueryParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]QueryParameter)(nil)).Elem() } -func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { - return i.ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Background()) +func (i QueryParameterArray) ToQueryParameterArrayOutput() QueryParameterArrayOutput { + return i.ToQueryParameterArrayOutputWithContext(context.Background()) } -func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagArrayOutput) +func (i QueryParameterArray) ToQueryParameterArrayOutputWithContext(ctx context.Context) QueryParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterArrayOutput) } -type SqlEndpointTagsCustomTagOutput struct{ *pulumi.OutputState } +type QueryParameterOutput struct{ *pulumi.OutputState } -func (SqlEndpointTagsCustomTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() +func (QueryParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameter)(nil)).Elem() } -func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { +func (o QueryParameterOutput) ToQueryParameterOutput() QueryParameterOutput { return o } -func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { +func (o QueryParameterOutput) ToQueryParameterOutputWithContext(ctx context.Context) QueryParameterOutput { return o } -func (o SqlEndpointTagsCustomTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Key }).(pulumi.StringOutput) +// Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamicDateRangeValue` or `dateRangeValue`): +func (o QueryParameterOutput) DateRangeValue() QueryParameterDateRangeValuePtrOutput { + return o.ApplyT(func(v QueryParameter) *QueryParameterDateRangeValue { return v.DateRangeValue }).(QueryParameterDateRangeValuePtrOutput) } -func (o SqlEndpointTagsCustomTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Value }).(pulumi.StringOutput) +// Date query parameter value. Consists of following attributes (Can only specify one of `dynamicDateValue` or `dateValue`): +func (o QueryParameterOutput) DateValue() QueryParameterDateValuePtrOutput { + return o.ApplyT(func(v QueryParameter) *QueryParameterDateValue { return v.DateValue }).(QueryParameterDateValuePtrOutput) } -type SqlEndpointTagsCustomTagArrayOutput struct{ *pulumi.OutputState } +// Dropdown parameter value. Consists of following attributes: +func (o QueryParameterOutput) EnumValue() QueryParameterEnumValuePtrOutput { + return o.ApplyT(func(v QueryParameter) *QueryParameterEnumValue { return v.EnumValue }).(QueryParameterEnumValuePtrOutput) +} -func (SqlEndpointTagsCustomTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() +// Literal parameter marker that appears between double curly braces in the query text. +func (o QueryParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v QueryParameter) string { return v.Name }).(pulumi.StringOutput) } -func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { +// Numeric parameter value. Consists of following attributes: +func (o QueryParameterOutput) NumericValue() QueryParameterNumericValuePtrOutput { + return o.ApplyT(func(v QueryParameter) *QueryParameterNumericValue { return v.NumericValue }).(QueryParameterNumericValuePtrOutput) +} + +// Query-based dropdown parameter value. Consists of following attributes: +func (o QueryParameterOutput) QueryBackedValue() QueryParameterQueryBackedValuePtrOutput { + return o.ApplyT(func(v QueryParameter) *QueryParameterQueryBackedValue { return v.QueryBackedValue }).(QueryParameterQueryBackedValuePtrOutput) +} + +// Text parameter value. Consists of following attributes: +func (o QueryParameterOutput) TextValue() QueryParameterTextValuePtrOutput { + return o.ApplyT(func(v QueryParameter) *QueryParameterTextValue { return v.TextValue }).(QueryParameterTextValuePtrOutput) +} + +// Text displayed in the user-facing parameter widget in the UI. +func (o QueryParameterOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameter) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +type QueryParameterArrayOutput struct{ *pulumi.OutputState } + +func (QueryParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]QueryParameter)(nil)).Elem() +} + +func (o QueryParameterArrayOutput) ToQueryParameterArrayOutput() QueryParameterArrayOutput { return o } -func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { +func (o QueryParameterArrayOutput) ToQueryParameterArrayOutputWithContext(ctx context.Context) QueryParameterArrayOutput { return o } -func (o SqlEndpointTagsCustomTagArrayOutput) Index(i pulumi.IntInput) SqlEndpointTagsCustomTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointTagsCustomTag { - return vs[0].([]SqlEndpointTagsCustomTag)[vs[1].(int)] - }).(SqlEndpointTagsCustomTagOutput) +func (o QueryParameterArrayOutput) Index(i pulumi.IntInput) QueryParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameter { + return vs[0].([]QueryParameter)[vs[1].(int)] + }).(QueryParameterOutput) } -type SqlPermissionsPrivilegeAssignment struct { - // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. - Principal string `pulumi:"principal"` - Privileges []string `pulumi:"privileges"` +type QueryParameterDateRangeValue struct { + // Manually specified date-time range value. Consists of the following attributes: + DateRangeValue *QueryParameterDateRangeValueDateRangeValue `pulumi:"dateRangeValue"` + // Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. + DynamicDateRangeValue *string `pulumi:"dynamicDateRangeValue"` + // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + Precision *string `pulumi:"precision"` + // Specify what day that starts the week. + StartDayOfWeek *int `pulumi:"startDayOfWeek"` } -// SqlPermissionsPrivilegeAssignmentInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArgs and SqlPermissionsPrivilegeAssignmentOutput values. -// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentInput` via: +// QueryParameterDateRangeValueInput is an input type that accepts QueryParameterDateRangeValueArgs and QueryParameterDateRangeValueOutput values. +// You can construct a concrete instance of `QueryParameterDateRangeValueInput` via: // -// SqlPermissionsPrivilegeAssignmentArgs{...} -type SqlPermissionsPrivilegeAssignmentInput interface { +// QueryParameterDateRangeValueArgs{...} +type QueryParameterDateRangeValueInput interface { pulumi.Input - ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput - ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentOutput + ToQueryParameterDateRangeValueOutput() QueryParameterDateRangeValueOutput + ToQueryParameterDateRangeValueOutputWithContext(context.Context) QueryParameterDateRangeValueOutput } -type SqlPermissionsPrivilegeAssignmentArgs struct { - // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. - Principal pulumi.StringInput `pulumi:"principal"` - Privileges pulumi.StringArrayInput `pulumi:"privileges"` +type QueryParameterDateRangeValueArgs struct { + // Manually specified date-time range value. Consists of the following attributes: + DateRangeValue QueryParameterDateRangeValueDateRangeValuePtrInput `pulumi:"dateRangeValue"` + // Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. + DynamicDateRangeValue pulumi.StringPtrInput `pulumi:"dynamicDateRangeValue"` + // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + Precision pulumi.StringPtrInput `pulumi:"precision"` + // Specify what day that starts the week. + StartDayOfWeek pulumi.IntPtrInput `pulumi:"startDayOfWeek"` } -func (SqlPermissionsPrivilegeAssignmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() +func (QueryParameterDateRangeValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterDateRangeValue)(nil)).Elem() } -func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { - return i.ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Background()) +func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValueOutput() QueryParameterDateRangeValueOutput { + return i.ToQueryParameterDateRangeValueOutputWithContext(context.Background()) } -func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentOutput) +func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueOutput) } -// SqlPermissionsPrivilegeAssignmentArrayInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArray and SqlPermissionsPrivilegeAssignmentArrayOutput values. -// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentArrayInput` via: +func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { + return i.ToQueryParameterDateRangeValuePtrOutputWithContext(context.Background()) +} + +func (i QueryParameterDateRangeValueArgs) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueOutput).ToQueryParameterDateRangeValuePtrOutputWithContext(ctx) +} + +// QueryParameterDateRangeValuePtrInput is an input type that accepts QueryParameterDateRangeValueArgs, QueryParameterDateRangeValuePtr and QueryParameterDateRangeValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterDateRangeValuePtrInput` via: // -// SqlPermissionsPrivilegeAssignmentArray{ SqlPermissionsPrivilegeAssignmentArgs{...} } -type SqlPermissionsPrivilegeAssignmentArrayInput interface { +// QueryParameterDateRangeValueArgs{...} +// +// or: +// +// nil +type QueryParameterDateRangeValuePtrInput interface { pulumi.Input - ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput - ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput + ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput + ToQueryParameterDateRangeValuePtrOutputWithContext(context.Context) QueryParameterDateRangeValuePtrOutput } -type SqlPermissionsPrivilegeAssignmentArray []SqlPermissionsPrivilegeAssignmentInput +type queryParameterDateRangeValuePtrType QueryParameterDateRangeValueArgs -func (SqlPermissionsPrivilegeAssignmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +func QueryParameterDateRangeValuePtr(v *QueryParameterDateRangeValueArgs) QueryParameterDateRangeValuePtrInput { + return (*queryParameterDateRangeValuePtrType)(v) } -func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { - return i.ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Background()) +func (*queryParameterDateRangeValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterDateRangeValue)(nil)).Elem() } -func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentArrayOutput) +func (i *queryParameterDateRangeValuePtrType) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { + return i.ToQueryParameterDateRangeValuePtrOutputWithContext(context.Background()) } -type SqlPermissionsPrivilegeAssignmentOutput struct{ *pulumi.OutputState } +func (i *queryParameterDateRangeValuePtrType) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValuePtrOutput) +} -func (SqlPermissionsPrivilegeAssignmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() +type QueryParameterDateRangeValueOutput struct{ *pulumi.OutputState } + +func (QueryParameterDateRangeValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterDateRangeValue)(nil)).Elem() } -func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { +func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValueOutput() QueryParameterDateRangeValueOutput { return o } -func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { +func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueOutput { return o } -// `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. -func (o SqlPermissionsPrivilegeAssignmentOutput) Principal() pulumi.StringOutput { - return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) string { return v.Principal }).(pulumi.StringOutput) +func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { + return o.ToQueryParameterDateRangeValuePtrOutputWithContext(context.Background()) } -func (o SqlPermissionsPrivilegeAssignmentOutput) Privileges() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) []string { return v.Privileges }).(pulumi.StringArrayOutput) +func (o QueryParameterDateRangeValueOutput) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterDateRangeValue) *QueryParameterDateRangeValue { + return &v + }).(QueryParameterDateRangeValuePtrOutput) } -type SqlPermissionsPrivilegeAssignmentArrayOutput struct{ *pulumi.OutputState } +// Manually specified date-time range value. Consists of the following attributes: +func (o QueryParameterDateRangeValueOutput) DateRangeValue() QueryParameterDateRangeValueDateRangeValuePtrOutput { + return o.ApplyT(func(v QueryParameterDateRangeValue) *QueryParameterDateRangeValueDateRangeValue { + return v.DateRangeValue + }).(QueryParameterDateRangeValueDateRangeValuePtrOutput) +} -func (SqlPermissionsPrivilegeAssignmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() +// Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. +func (o QueryParameterDateRangeValueOutput) DynamicDateRangeValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterDateRangeValue) *string { return v.DynamicDateRangeValue }).(pulumi.StringPtrOutput) } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { - return o +// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). +func (o QueryParameterDateRangeValueOutput) Precision() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterDateRangeValue) *string { return v.Precision }).(pulumi.StringPtrOutput) } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { - return o +// Specify what day that starts the week. +func (o QueryParameterDateRangeValueOutput) StartDayOfWeek() pulumi.IntPtrOutput { + return o.ApplyT(func(v QueryParameterDateRangeValue) *int { return v.StartDayOfWeek }).(pulumi.IntPtrOutput) } -func (o SqlPermissionsPrivilegeAssignmentArrayOutput) Index(i pulumi.IntInput) SqlPermissionsPrivilegeAssignmentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlPermissionsPrivilegeAssignment { - return vs[0].([]SqlPermissionsPrivilegeAssignment)[vs[1].(int)] - }).(SqlPermissionsPrivilegeAssignmentOutput) +type QueryParameterDateRangeValuePtrOutput struct{ *pulumi.OutputState } + +func (QueryParameterDateRangeValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterDateRangeValue)(nil)).Elem() } -type SqlQueryParameter struct { - Date *SqlQueryParameterDate `pulumi:"date"` - DateRange *SqlQueryParameterDateRange `pulumi:"dateRange"` - Datetime *SqlQueryParameterDatetime `pulumi:"datetime"` - DatetimeRange *SqlQueryParameterDatetimeRange `pulumi:"datetimeRange"` - Datetimesec *SqlQueryParameterDatetimesec `pulumi:"datetimesec"` - DatetimesecRange *SqlQueryParameterDatetimesecRange `pulumi:"datetimesecRange"` - Enum *SqlQueryParameterEnum `pulumi:"enum"` - // The literal parameter marker that appears between double curly braces in the query text. - // Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. - // - // For `text`, `number`, `date`, `datetime`, `datetimesec` block - Name string `pulumi:"name"` - Number *SqlQueryParameterNumber `pulumi:"number"` - // The text of the query to be run. - Query *SqlQueryParameterQuery `pulumi:"query"` - Text *SqlQueryParameterText `pulumi:"text"` - // The text displayed in a parameter picking widget. - Title *string `pulumi:"title"` +func (o QueryParameterDateRangeValuePtrOutput) ToQueryParameterDateRangeValuePtrOutput() QueryParameterDateRangeValuePtrOutput { + return o } -// SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. -// You can construct a concrete instance of `SqlQueryParameterInput` via: -// -// SqlQueryParameterArgs{...} -type SqlQueryParameterInput interface { - pulumi.Input +func (o QueryParameterDateRangeValuePtrOutput) ToQueryParameterDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValuePtrOutput { + return o +} - ToSqlQueryParameterOutput() SqlQueryParameterOutput - ToSqlQueryParameterOutputWithContext(context.Context) SqlQueryParameterOutput +func (o QueryParameterDateRangeValuePtrOutput) Elem() QueryParameterDateRangeValueOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValue) QueryParameterDateRangeValue { + if v != nil { + return *v + } + var ret QueryParameterDateRangeValue + return ret + }).(QueryParameterDateRangeValueOutput) } -type SqlQueryParameterArgs struct { - Date SqlQueryParameterDatePtrInput `pulumi:"date"` - DateRange SqlQueryParameterDateRangePtrInput `pulumi:"dateRange"` - Datetime SqlQueryParameterDatetimePtrInput `pulumi:"datetime"` - DatetimeRange SqlQueryParameterDatetimeRangePtrInput `pulumi:"datetimeRange"` - Datetimesec SqlQueryParameterDatetimesecPtrInput `pulumi:"datetimesec"` - DatetimesecRange SqlQueryParameterDatetimesecRangePtrInput `pulumi:"datetimesecRange"` - Enum SqlQueryParameterEnumPtrInput `pulumi:"enum"` - // The literal parameter marker that appears between double curly braces in the query text. - // Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. - // - // For `text`, `number`, `date`, `datetime`, `datetimesec` block - Name pulumi.StringInput `pulumi:"name"` - Number SqlQueryParameterNumberPtrInput `pulumi:"number"` - // The text of the query to be run. - Query SqlQueryParameterQueryPtrInput `pulumi:"query"` - Text SqlQueryParameterTextPtrInput `pulumi:"text"` - // The text displayed in a parameter picking widget. - Title pulumi.StringPtrInput `pulumi:"title"` +// Manually specified date-time range value. Consists of the following attributes: +func (o QueryParameterDateRangeValuePtrOutput) DateRangeValue() QueryParameterDateRangeValueDateRangeValuePtrOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValue) *QueryParameterDateRangeValueDateRangeValue { + if v == nil { + return nil + } + return v.DateRangeValue + }).(QueryParameterDateRangeValueDateRangeValuePtrOutput) } -func (SqlQueryParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +// Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. +func (o QueryParameterDateRangeValuePtrOutput) DynamicDateRangeValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValue) *string { + if v == nil { + return nil + } + return v.DynamicDateRangeValue + }).(pulumi.StringPtrOutput) } -func (i SqlQueryParameterArgs) ToSqlQueryParameterOutput() SqlQueryParameterOutput { - return i.ToSqlQueryParameterOutputWithContext(context.Background()) +// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). +func (o QueryParameterDateRangeValuePtrOutput) Precision() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValue) *string { + if v == nil { + return nil + } + return v.Precision + }).(pulumi.StringPtrOutput) } -func (i SqlQueryParameterArgs) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterOutput) +// Specify what day that starts the week. +func (o QueryParameterDateRangeValuePtrOutput) StartDayOfWeek() pulumi.IntPtrOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValue) *int { + if v == nil { + return nil + } + return v.StartDayOfWeek + }).(pulumi.IntPtrOutput) } -// SqlQueryParameterArrayInput is an input type that accepts SqlQueryParameterArray and SqlQueryParameterArrayOutput values. -// You can construct a concrete instance of `SqlQueryParameterArrayInput` via: +type QueryParameterDateRangeValueDateRangeValue struct { + // end of the date range. + End string `pulumi:"end"` + // begin of the date range. + Start string `pulumi:"start"` +} + +// QueryParameterDateRangeValueDateRangeValueInput is an input type that accepts QueryParameterDateRangeValueDateRangeValueArgs and QueryParameterDateRangeValueDateRangeValueOutput values. +// You can construct a concrete instance of `QueryParameterDateRangeValueDateRangeValueInput` via: // -// SqlQueryParameterArray{ SqlQueryParameterArgs{...} } -type SqlQueryParameterArrayInput interface { +// QueryParameterDateRangeValueDateRangeValueArgs{...} +type QueryParameterDateRangeValueDateRangeValueInput interface { pulumi.Input - ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput - ToSqlQueryParameterArrayOutputWithContext(context.Context) SqlQueryParameterArrayOutput + ToQueryParameterDateRangeValueDateRangeValueOutput() QueryParameterDateRangeValueDateRangeValueOutput + ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(context.Context) QueryParameterDateRangeValueDateRangeValueOutput } -type SqlQueryParameterArray []SqlQueryParameterInput - -func (SqlQueryParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +type QueryParameterDateRangeValueDateRangeValueArgs struct { + // end of the date range. + End pulumi.StringInput `pulumi:"end"` + // begin of the date range. + Start pulumi.StringInput `pulumi:"start"` } -func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { - return i.ToSqlQueryParameterArrayOutputWithContext(context.Background()) +func (QueryParameterDateRangeValueDateRangeValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() } -func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterArrayOutput) +func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValueOutput() QueryParameterDateRangeValueDateRangeValueOutput { + return i.ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(context.Background()) } -type SqlQueryParameterOutput struct{ *pulumi.OutputState } +func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueDateRangeValueOutput) +} -func (SqlQueryParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { + return i.ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterOutput) ToSqlQueryParameterOutput() SqlQueryParameterOutput { - return o +func (i QueryParameterDateRangeValueDateRangeValueArgs) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueDateRangeValueOutput).ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx) } -func (o SqlQueryParameterOutput) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { - return o +// QueryParameterDateRangeValueDateRangeValuePtrInput is an input type that accepts QueryParameterDateRangeValueDateRangeValueArgs, QueryParameterDateRangeValueDateRangeValuePtr and QueryParameterDateRangeValueDateRangeValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterDateRangeValueDateRangeValuePtrInput` via: +// +// QueryParameterDateRangeValueDateRangeValueArgs{...} +// +// or: +// +// nil +type QueryParameterDateRangeValueDateRangeValuePtrInput interface { + pulumi.Input + + ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput + ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput } -func (o SqlQueryParameterOutput) Date() SqlQueryParameterDatePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDate { return v.Date }).(SqlQueryParameterDatePtrOutput) +type queryParameterDateRangeValueDateRangeValuePtrType QueryParameterDateRangeValueDateRangeValueArgs + +func QueryParameterDateRangeValueDateRangeValuePtr(v *QueryParameterDateRangeValueDateRangeValueArgs) QueryParameterDateRangeValueDateRangeValuePtrInput { + return (*queryParameterDateRangeValueDateRangeValuePtrType)(v) } -func (o SqlQueryParameterOutput) DateRange() SqlQueryParameterDateRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDateRange { return v.DateRange }).(SqlQueryParameterDateRangePtrOutput) +func (*queryParameterDateRangeValueDateRangeValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() } -func (o SqlQueryParameterOutput) Datetime() SqlQueryParameterDatetimePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetime { return v.Datetime }).(SqlQueryParameterDatetimePtrOutput) +func (i *queryParameterDateRangeValueDateRangeValuePtrType) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { + return i.ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterOutput) DatetimeRange() SqlQueryParameterDatetimeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimeRange { return v.DatetimeRange }).(SqlQueryParameterDatetimeRangePtrOutput) +func (i *queryParameterDateRangeValueDateRangeValuePtrType) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateRangeValueDateRangeValuePtrOutput) } -func (o SqlQueryParameterOutput) Datetimesec() SqlQueryParameterDatetimesecPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesec { return v.Datetimesec }).(SqlQueryParameterDatetimesecPtrOutput) -} +type QueryParameterDateRangeValueDateRangeValueOutput struct{ *pulumi.OutputState } -func (o SqlQueryParameterOutput) DatetimesecRange() SqlQueryParameterDatetimesecRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesecRange { return v.DatetimesecRange }).(SqlQueryParameterDatetimesecRangePtrOutput) +func (QueryParameterDateRangeValueDateRangeValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() } -func (o SqlQueryParameterOutput) Enum() SqlQueryParameterEnumPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterEnum { return v.Enum }).(SqlQueryParameterEnumPtrOutput) +func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValueOutput() QueryParameterDateRangeValueDateRangeValueOutput { + return o } -// The literal parameter marker that appears between double curly braces in the query text. -// Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. -// -// For `text`, `number`, `date`, `datetime`, `datetimesec` block -func (o SqlQueryParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameter) string { return v.Name }).(pulumi.StringOutput) +func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValueOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValueOutput { + return o } -func (o SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) +func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { + return o.ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(context.Background()) } -// The text of the query to be run. -func (o SqlQueryParameterOutput) Query() SqlQueryParameterQueryPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterQuery { return v.Query }).(SqlQueryParameterQueryPtrOutput) +func (o QueryParameterDateRangeValueDateRangeValueOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterDateRangeValueDateRangeValue) *QueryParameterDateRangeValueDateRangeValue { + return &v + }).(QueryParameterDateRangeValueDateRangeValuePtrOutput) } -func (o SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) +// end of the date range. +func (o QueryParameterDateRangeValueDateRangeValueOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v QueryParameterDateRangeValueDateRangeValue) string { return v.End }).(pulumi.StringOutput) } -// The text displayed in a parameter picking widget. -func (o SqlQueryParameterOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameter) *string { return v.Title }).(pulumi.StringPtrOutput) +// begin of the date range. +func (o QueryParameterDateRangeValueDateRangeValueOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v QueryParameterDateRangeValueDateRangeValue) string { return v.Start }).(pulumi.StringOutput) } -type SqlQueryParameterArrayOutput struct{ *pulumi.OutputState } +type QueryParameterDateRangeValueDateRangeValuePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() +func (QueryParameterDateRangeValueDateRangeValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterDateRangeValueDateRangeValue)(nil)).Elem() } -func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { +func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutput() QueryParameterDateRangeValueDateRangeValuePtrOutput { return o } -func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { +func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) ToQueryParameterDateRangeValueDateRangeValuePtrOutputWithContext(ctx context.Context) QueryParameterDateRangeValueDateRangeValuePtrOutput { return o } -func (o SqlQueryParameterArrayOutput) Index(i pulumi.IntInput) SqlQueryParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlQueryParameter { - return vs[0].([]SqlQueryParameter)[vs[1].(int)] - }).(SqlQueryParameterOutput) +func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) Elem() QueryParameterDateRangeValueDateRangeValueOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValueDateRangeValue) QueryParameterDateRangeValueDateRangeValue { + if v != nil { + return *v + } + var ret QueryParameterDateRangeValueDateRangeValue + return ret + }).(QueryParameterDateRangeValueDateRangeValueOutput) } -type SqlQueryParameterDate struct { - // The default value for this parameter. - Value string `pulumi:"value"` +// end of the date range. +func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValueDateRangeValue) *string { + if v == nil { + return nil + } + return &v.End + }).(pulumi.StringPtrOutput) } -// SqlQueryParameterDateInput is an input type that accepts SqlQueryParameterDateArgs and SqlQueryParameterDateOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateInput` via: +// begin of the date range. +func (o QueryParameterDateRangeValueDateRangeValuePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateRangeValueDateRangeValue) *string { + if v == nil { + return nil + } + return &v.Start + }).(pulumi.StringPtrOutput) +} + +type QueryParameterDateValue struct { + // Manually specified date-time value + DateValue *string `pulumi:"dateValue"` + // Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. + DynamicDateValue *string `pulumi:"dynamicDateValue"` + // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + Precision *string `pulumi:"precision"` +} + +// QueryParameterDateValueInput is an input type that accepts QueryParameterDateValueArgs and QueryParameterDateValueOutput values. +// You can construct a concrete instance of `QueryParameterDateValueInput` via: // -// SqlQueryParameterDateArgs{...} -type SqlQueryParameterDateInput interface { +// QueryParameterDateValueArgs{...} +type QueryParameterDateValueInput interface { pulumi.Input - ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput - ToSqlQueryParameterDateOutputWithContext(context.Context) SqlQueryParameterDateOutput + ToQueryParameterDateValueOutput() QueryParameterDateValueOutput + ToQueryParameterDateValueOutputWithContext(context.Context) QueryParameterDateValueOutput } -type SqlQueryParameterDateArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type QueryParameterDateValueArgs struct { + // Manually specified date-time value + DateValue pulumi.StringPtrInput `pulumi:"dateValue"` + // Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. + DynamicDateValue pulumi.StringPtrInput `pulumi:"dynamicDateValue"` + // Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + Precision pulumi.StringPtrInput `pulumi:"precision"` } -func (SqlQueryParameterDateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() +func (QueryParameterDateValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterDateValue)(nil)).Elem() } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { - return i.ToSqlQueryParameterDateOutputWithContext(context.Background()) +func (i QueryParameterDateValueArgs) ToQueryParameterDateValueOutput() QueryParameterDateValueOutput { + return i.ToQueryParameterDateValueOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput) +func (i QueryParameterDateValueArgs) ToQueryParameterDateValueOutputWithContext(ctx context.Context) QueryParameterDateValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateValueOutput) } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (i QueryParameterDateValueArgs) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { + return i.ToQueryParameterDateValuePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput).ToSqlQueryParameterDatePtrOutputWithContext(ctx) +func (i QueryParameterDateValueArgs) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateValueOutput).ToQueryParameterDateValuePtrOutputWithContext(ctx) } -// SqlQueryParameterDatePtrInput is an input type that accepts SqlQueryParameterDateArgs, SqlQueryParameterDatePtr and SqlQueryParameterDatePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatePtrInput` via: +// QueryParameterDateValuePtrInput is an input type that accepts QueryParameterDateValueArgs, QueryParameterDateValuePtr and QueryParameterDateValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterDateValuePtrInput` via: // -// SqlQueryParameterDateArgs{...} +// QueryParameterDateValueArgs{...} // // or: // // nil -type SqlQueryParameterDatePtrInput interface { +type QueryParameterDateValuePtrInput interface { pulumi.Input - ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput - ToSqlQueryParameterDatePtrOutputWithContext(context.Context) SqlQueryParameterDatePtrOutput + ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput + ToQueryParameterDateValuePtrOutputWithContext(context.Context) QueryParameterDateValuePtrOutput } -type sqlQueryParameterDatePtrType SqlQueryParameterDateArgs +type queryParameterDateValuePtrType QueryParameterDateValueArgs -func SqlQueryParameterDatePtr(v *SqlQueryParameterDateArgs) SqlQueryParameterDatePtrInput { - return (*sqlQueryParameterDatePtrType)(v) +func QueryParameterDateValuePtr(v *QueryParameterDateValueArgs) QueryParameterDateValuePtrInput { + return (*queryParameterDateValuePtrType)(v) } -func (*sqlQueryParameterDatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() +func (*queryParameterDateValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterDateValue)(nil)).Elem() } -func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (i *queryParameterDateValuePtrType) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { + return i.ToQueryParameterDateValuePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatePtrOutput) +func (i *queryParameterDateValuePtrType) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterDateValuePtrOutput) } -type SqlQueryParameterDateOutput struct{ *pulumi.OutputState } +type QueryParameterDateValueOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() +func (QueryParameterDateValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterDateValue)(nil)).Elem() } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { +func (o QueryParameterDateValueOutput) ToQueryParameterDateValueOutput() QueryParameterDateValueOutput { return o } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { +func (o QueryParameterDateValueOutput) ToQueryParameterDateValueOutputWithContext(ctx context.Context) QueryParameterDateValueOutput { return o } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { - return o.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) +func (o QueryParameterDateValueOutput) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { + return o.ToQueryParameterDateValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDate) *SqlQueryParameterDate { +func (o QueryParameterDateValueOutput) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterDateValue) *QueryParameterDateValue { return &v - }).(SqlQueryParameterDatePtrOutput) + }).(QueryParameterDateValuePtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDateOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(pulumi.StringOutput) +// Manually specified date-time value +func (o QueryParameterDateValueOutput) DateValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterDateValue) *string { return v.DateValue }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatePtrOutput struct{ *pulumi.OutputState } +// Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. +func (o QueryParameterDateValueOutput) DynamicDateValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterDateValue) *string { return v.DynamicDateValue }).(pulumi.StringPtrOutput) +} -func (SqlQueryParameterDatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() +// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). +func (o QueryParameterDateValueOutput) Precision() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterDateValue) *string { return v.Precision }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { +type QueryParameterDateValuePtrOutput struct{ *pulumi.OutputState } + +func (QueryParameterDateValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterDateValue)(nil)).Elem() +} + +func (o QueryParameterDateValuePtrOutput) ToQueryParameterDateValuePtrOutput() QueryParameterDateValuePtrOutput { return o } -func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { +func (o QueryParameterDateValuePtrOutput) ToQueryParameterDateValuePtrOutputWithContext(ctx context.Context) QueryParameterDateValuePtrOutput { return o } -func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { - return o.ApplyT(func(v *SqlQueryParameterDate) SqlQueryParameterDate { +func (o QueryParameterDateValuePtrOutput) Elem() QueryParameterDateValueOutput { + return o.ApplyT(func(v *QueryParameterDateValue) QueryParameterDateValue { if v != nil { return *v } - var ret SqlQueryParameterDate + var ret QueryParameterDateValue return ret - }).(SqlQueryParameterDateOutput) + }).(QueryParameterDateValueOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDate) *string { +// Manually specified date-time value +func (o QueryParameterDateValuePtrOutput) DateValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateValue) *string { if v == nil { return nil } - return &v.Value + return v.DateValue }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRange struct { - Range *SqlQueryParameterDateRangeRange `pulumi:"range"` - // The default value for this parameter. - Value *string `pulumi:"value"` +// Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. +func (o QueryParameterDateValuePtrOutput) DynamicDateValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateValue) *string { + if v == nil { + return nil + } + return v.DynamicDateValue + }).(pulumi.StringPtrOutput) } -// SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeInput` via: +// Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). +func (o QueryParameterDateValuePtrOutput) Precision() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterDateValue) *string { + if v == nil { + return nil + } + return v.Precision + }).(pulumi.StringPtrOutput) +} + +type QueryParameterEnumValue struct { + // List of valid query parameter values, newline delimited. + EnumOptions *string `pulumi:"enumOptions"` + // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + MultiValuesOptions *QueryParameterEnumValueMultiValuesOptions `pulumi:"multiValuesOptions"` + // List of selected query parameter values. + Values []string `pulumi:"values"` +} + +// QueryParameterEnumValueInput is an input type that accepts QueryParameterEnumValueArgs and QueryParameterEnumValueOutput values. +// You can construct a concrete instance of `QueryParameterEnumValueInput` via: // -// SqlQueryParameterDateRangeArgs{...} -type SqlQueryParameterDateRangeInput interface { +// QueryParameterEnumValueArgs{...} +type QueryParameterEnumValueInput interface { pulumi.Input - ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput - ToSqlQueryParameterDateRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeOutput + ToQueryParameterEnumValueOutput() QueryParameterEnumValueOutput + ToQueryParameterEnumValueOutputWithContext(context.Context) QueryParameterEnumValueOutput } -type SqlQueryParameterDateRangeArgs struct { - Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` +type QueryParameterEnumValueArgs struct { + // List of valid query parameter values, newline delimited. + EnumOptions pulumi.StringPtrInput `pulumi:"enumOptions"` + // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + MultiValuesOptions QueryParameterEnumValueMultiValuesOptionsPtrInput `pulumi:"multiValuesOptions"` + // List of selected query parameter values. + Values pulumi.StringArrayInput `pulumi:"values"` } -func (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() +func (QueryParameterEnumValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterEnumValue)(nil)).Elem() } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { - return i.ToSqlQueryParameterDateRangeOutputWithContext(context.Background()) +func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValueOutput() QueryParameterEnumValueOutput { + return i.ToQueryParameterEnumValueOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput) +func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValueOutputWithContext(ctx context.Context) QueryParameterEnumValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueOutput) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { + return i.ToQueryParameterEnumValuePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput).ToSqlQueryParameterDateRangePtrOutputWithContext(ctx) +func (i QueryParameterEnumValueArgs) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueOutput).ToQueryParameterEnumValuePtrOutputWithContext(ctx) } -// SqlQueryParameterDateRangePtrInput is an input type that accepts SqlQueryParameterDateRangeArgs, SqlQueryParameterDateRangePtr and SqlQueryParameterDateRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangePtrInput` via: +// QueryParameterEnumValuePtrInput is an input type that accepts QueryParameterEnumValueArgs, QueryParameterEnumValuePtr and QueryParameterEnumValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterEnumValuePtrInput` via: // -// SqlQueryParameterDateRangeArgs{...} +// QueryParameterEnumValueArgs{...} // // or: // // nil -type SqlQueryParameterDateRangePtrInput interface { +type QueryParameterEnumValuePtrInput interface { pulumi.Input - ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput - ToSqlQueryParameterDateRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangePtrOutput + ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput + ToQueryParameterEnumValuePtrOutputWithContext(context.Context) QueryParameterEnumValuePtrOutput } -type sqlQueryParameterDateRangePtrType SqlQueryParameterDateRangeArgs +type queryParameterEnumValuePtrType QueryParameterEnumValueArgs -func SqlQueryParameterDateRangePtr(v *SqlQueryParameterDateRangeArgs) SqlQueryParameterDateRangePtrInput { - return (*sqlQueryParameterDateRangePtrType)(v) +func QueryParameterEnumValuePtr(v *QueryParameterEnumValueArgs) QueryParameterEnumValuePtrInput { + return (*queryParameterEnumValuePtrType)(v) } -func (*sqlQueryParameterDateRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() +func (*queryParameterEnumValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterEnumValue)(nil)).Elem() } -func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (i *queryParameterEnumValuePtrType) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { + return i.ToQueryParameterEnumValuePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangePtrOutput) +func (i *queryParameterEnumValuePtrType) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValuePtrOutput) } -type SqlQueryParameterDateRangeOutput struct{ *pulumi.OutputState } +type QueryParameterEnumValueOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() +func (QueryParameterEnumValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterEnumValue)(nil)).Elem() } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { +func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValueOutput() QueryParameterEnumValueOutput { return o } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { +func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValueOutputWithContext(ctx context.Context) QueryParameterEnumValueOutput { return o } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { - return o.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) +func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { + return o.ToQueryParameterEnumValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRange) *SqlQueryParameterDateRange { +func (o QueryParameterEnumValueOutput) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterEnumValue) *QueryParameterEnumValue { return &v - }).(SqlQueryParameterDateRangePtrOutput) + }).(QueryParameterEnumValuePtrOutput) } -func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) +// List of valid query parameter values, newline delimited. +func (o QueryParameterEnumValueOutput) EnumOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterEnumValue) *string { return v.EnumOptions }).(pulumi.StringPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDateRangeOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterDateRange) *string { return v.Value }).(pulumi.StringPtrOutput) +// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: +func (o QueryParameterEnumValueOutput) MultiValuesOptions() QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return o.ApplyT(func(v QueryParameterEnumValue) *QueryParameterEnumValueMultiValuesOptions { + return v.MultiValuesOptions + }).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) } -type SqlQueryParameterDateRangePtrOutput struct{ *pulumi.OutputState } +// List of selected query parameter values. +func (o QueryParameterEnumValueOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v QueryParameterEnumValue) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (SqlQueryParameterDateRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() +type QueryParameterEnumValuePtrOutput struct{ *pulumi.OutputState } + +func (QueryParameterEnumValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterEnumValue)(nil)).Elem() } -func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { +func (o QueryParameterEnumValuePtrOutput) ToQueryParameterEnumValuePtrOutput() QueryParameterEnumValuePtrOutput { return o } -func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { +func (o QueryParameterEnumValuePtrOutput) ToQueryParameterEnumValuePtrOutputWithContext(ctx context.Context) QueryParameterEnumValuePtrOutput { return o } -func (o SqlQueryParameterDateRangePtrOutput) Elem() SqlQueryParameterDateRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) SqlQueryParameterDateRange { +func (o QueryParameterEnumValuePtrOutput) Elem() QueryParameterEnumValueOutput { + return o.ApplyT(func(v *QueryParameterEnumValue) QueryParameterEnumValue { if v != nil { return *v } - var ret SqlQueryParameterDateRange + var ret QueryParameterEnumValue return ret - }).(SqlQueryParameterDateRangeOutput) + }).(QueryParameterEnumValueOutput) } -func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { +// List of valid query parameter values, newline delimited. +func (o QueryParameterEnumValuePtrOutput) EnumOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterEnumValue) *string { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDateRangeRangePtrOutput) + return v.EnumOptions + }).(pulumi.StringPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDateRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRange) *string { +// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: +func (o QueryParameterEnumValuePtrOutput) MultiValuesOptions() QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return o.ApplyT(func(v *QueryParameterEnumValue) *QueryParameterEnumValueMultiValuesOptions { if v == nil { return nil } - return v.Value - }).(pulumi.StringPtrOutput) + return v.MultiValuesOptions + }).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) } -type SqlQueryParameterDateRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +// List of selected query parameter values. +func (o QueryParameterEnumValuePtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QueryParameterEnumValue) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) } -// SqlQueryParameterDateRangeRangeInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs and SqlQueryParameterDateRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeRangeInput` via: +type QueryParameterEnumValueMultiValuesOptions struct { + // Character that prefixes each selected parameter value. + Prefix *string `pulumi:"prefix"` + // Character that separates each selected parameter value. Defaults to a comma. + Separator *string `pulumi:"separator"` + // Character that suffixes each selected parameter value. + Suffix *string `pulumi:"suffix"` +} + +// QueryParameterEnumValueMultiValuesOptionsInput is an input type that accepts QueryParameterEnumValueMultiValuesOptionsArgs and QueryParameterEnumValueMultiValuesOptionsOutput values. +// You can construct a concrete instance of `QueryParameterEnumValueMultiValuesOptionsInput` via: // -// SqlQueryParameterDateRangeRangeArgs{...} -type SqlQueryParameterDateRangeRangeInput interface { +// QueryParameterEnumValueMultiValuesOptionsArgs{...} +type QueryParameterEnumValueMultiValuesOptionsInput interface { pulumi.Input - ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput - ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeRangeOutput + ToQueryParameterEnumValueMultiValuesOptionsOutput() QueryParameterEnumValueMultiValuesOptionsOutput + ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(context.Context) QueryParameterEnumValueMultiValuesOptionsOutput } -type SqlQueryParameterDateRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type QueryParameterEnumValueMultiValuesOptionsArgs struct { + // Character that prefixes each selected parameter value. + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + // Character that separates each selected parameter value. Defaults to a comma. + Separator pulumi.StringPtrInput `pulumi:"separator"` + // Character that suffixes each selected parameter value. + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (SqlQueryParameterDateRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() +func (QueryParameterEnumValueMultiValuesOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { - return i.ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Background()) +func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsOutput() QueryParameterEnumValueMultiValuesOptionsOutput { + return i.ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput) +func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueMultiValuesOptionsOutput) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return i.ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput).ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx) +func (i QueryParameterEnumValueMultiValuesOptionsArgs) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueMultiValuesOptionsOutput).ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx) } -// SqlQueryParameterDateRangeRangePtrInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs, SqlQueryParameterDateRangeRangePtr and SqlQueryParameterDateRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDateRangeRangePtrInput` via: +// QueryParameterEnumValueMultiValuesOptionsPtrInput is an input type that accepts QueryParameterEnumValueMultiValuesOptionsArgs, QueryParameterEnumValueMultiValuesOptionsPtr and QueryParameterEnumValueMultiValuesOptionsPtrOutput values. +// You can construct a concrete instance of `QueryParameterEnumValueMultiValuesOptionsPtrInput` via: // -// SqlQueryParameterDateRangeRangeArgs{...} +// QueryParameterEnumValueMultiValuesOptionsArgs{...} // // or: // // nil -type SqlQueryParameterDateRangeRangePtrInput interface { +type QueryParameterEnumValueMultiValuesOptionsPtrInput interface { pulumi.Input - ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput - ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangeRangePtrOutput + ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput + ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput } -type sqlQueryParameterDateRangeRangePtrType SqlQueryParameterDateRangeRangeArgs +type queryParameterEnumValueMultiValuesOptionsPtrType QueryParameterEnumValueMultiValuesOptionsArgs -func SqlQueryParameterDateRangeRangePtr(v *SqlQueryParameterDateRangeRangeArgs) SqlQueryParameterDateRangeRangePtrInput { - return (*sqlQueryParameterDateRangeRangePtrType)(v) +func QueryParameterEnumValueMultiValuesOptionsPtr(v *QueryParameterEnumValueMultiValuesOptionsArgs) QueryParameterEnumValueMultiValuesOptionsPtrInput { + return (*queryParameterEnumValueMultiValuesOptionsPtrType)(v) } -func (*sqlQueryParameterDateRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +func (*queryParameterEnumValueMultiValuesOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() } -func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (i *queryParameterEnumValueMultiValuesOptionsPtrType) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return i.ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangePtrOutput) +func (i *queryParameterEnumValueMultiValuesOptionsPtrType) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) } -type SqlQueryParameterDateRangeRangeOutput struct{ *pulumi.OutputState } +type QueryParameterEnumValueMultiValuesOptionsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDateRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() +func (QueryParameterEnumValueMultiValuesOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { +func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsOutput() QueryParameterEnumValueMultiValuesOptionsOutput { return o } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { +func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsOutput { return o } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { - return o.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) +func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return o.ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRangeRange) *SqlQueryParameterDateRangeRange { +func (o QueryParameterEnumValueMultiValuesOptionsOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterEnumValueMultiValuesOptions) *QueryParameterEnumValueMultiValuesOptions { return &v - }).(SqlQueryParameterDateRangeRangePtrOutput) + }).(QueryParameterEnumValueMultiValuesOptionsPtrOutput) } -func (o SqlQueryParameterDateRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.End }).(pulumi.StringOutput) +// Character that prefixes each selected parameter value. +func (o QueryParameterEnumValueMultiValuesOptionsOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterEnumValueMultiValuesOptions) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.Start }).(pulumi.StringOutput) +// Character that separates each selected parameter value. Defaults to a comma. +func (o QueryParameterEnumValueMultiValuesOptionsOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterEnumValueMultiValuesOptions) *string { return v.Separator }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDateRangeRangePtrOutput struct{ *pulumi.OutputState } +// Character that suffixes each selected parameter value. +func (o QueryParameterEnumValueMultiValuesOptionsOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterEnumValueMultiValuesOptions) *string { return v.Suffix }).(pulumi.StringPtrOutput) +} -func (SqlQueryParameterDateRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() +type QueryParameterEnumValueMultiValuesOptionsPtrOutput struct{ *pulumi.OutputState } + +func (QueryParameterEnumValueMultiValuesOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterEnumValueMultiValuesOptions)(nil)).Elem() } -func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { +func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutput() QueryParameterEnumValueMultiValuesOptionsPtrOutput { return o } -func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { +func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) ToQueryParameterEnumValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterEnumValueMultiValuesOptionsPtrOutput { return o } -func (o SqlQueryParameterDateRangeRangePtrOutput) Elem() SqlQueryParameterDateRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) SqlQueryParameterDateRangeRange { +func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Elem() QueryParameterEnumValueMultiValuesOptionsOutput { + return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) QueryParameterEnumValueMultiValuesOptions { if v != nil { return *v } - var ret SqlQueryParameterDateRangeRange + var ret QueryParameterEnumValueMultiValuesOptions return ret - }).(SqlQueryParameterDateRangeRangeOutput) + }).(QueryParameterEnumValueMultiValuesOptionsOutput) } -func (o SqlQueryParameterDateRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { +// Character that prefixes each selected parameter value. +func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) *string { if v == nil { return nil } - return &v.End + return v.Prefix }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { +// Character that separates each selected parameter value. Defaults to a comma. +func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) *string { if v == nil { return nil } - return &v.Start + return v.Separator }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetime struct { - // The default value for this parameter. - Value string `pulumi:"value"` +// Character that suffixes each selected parameter value. +func (o QueryParameterEnumValueMultiValuesOptionsPtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterEnumValueMultiValuesOptions) *string { + if v == nil { + return nil + } + return v.Suffix + }).(pulumi.StringPtrOutput) } -// SqlQueryParameterDatetimeInput is an input type that accepts SqlQueryParameterDatetimeArgs and SqlQueryParameterDatetimeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeInput` via: +type QueryParameterNumericValue struct { + // actual numeric value. + Value float64 `pulumi:"value"` +} + +// QueryParameterNumericValueInput is an input type that accepts QueryParameterNumericValueArgs and QueryParameterNumericValueOutput values. +// You can construct a concrete instance of `QueryParameterNumericValueInput` via: // -// SqlQueryParameterDatetimeArgs{...} -type SqlQueryParameterDatetimeInput interface { +// QueryParameterNumericValueArgs{...} +type QueryParameterNumericValueInput interface { pulumi.Input - ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput - ToSqlQueryParameterDatetimeOutputWithContext(context.Context) SqlQueryParameterDatetimeOutput + ToQueryParameterNumericValueOutput() QueryParameterNumericValueOutput + ToQueryParameterNumericValueOutputWithContext(context.Context) QueryParameterNumericValueOutput } -type SqlQueryParameterDatetimeArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type QueryParameterNumericValueArgs struct { + // actual numeric value. + Value pulumi.Float64Input `pulumi:"value"` } -func (SqlQueryParameterDatetimeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() +func (QueryParameterNumericValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterNumericValue)(nil)).Elem() } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { - return i.ToSqlQueryParameterDatetimeOutputWithContext(context.Background()) +func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValueOutput() QueryParameterNumericValueOutput { + return i.ToQueryParameterNumericValueOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput) +func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValueOutputWithContext(ctx context.Context) QueryParameterNumericValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterNumericValueOutput) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { + return i.ToQueryParameterNumericValuePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput).ToSqlQueryParameterDatetimePtrOutputWithContext(ctx) +func (i QueryParameterNumericValueArgs) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterNumericValueOutput).ToQueryParameterNumericValuePtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimePtrInput is an input type that accepts SqlQueryParameterDatetimeArgs, SqlQueryParameterDatetimePtr and SqlQueryParameterDatetimePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimePtrInput` via: +// QueryParameterNumericValuePtrInput is an input type that accepts QueryParameterNumericValueArgs, QueryParameterNumericValuePtr and QueryParameterNumericValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterNumericValuePtrInput` via: // -// SqlQueryParameterDatetimeArgs{...} +// QueryParameterNumericValueArgs{...} // // or: // // nil -type SqlQueryParameterDatetimePtrInput interface { +type QueryParameterNumericValuePtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput - ToSqlQueryParameterDatetimePtrOutputWithContext(context.Context) SqlQueryParameterDatetimePtrOutput + ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput + ToQueryParameterNumericValuePtrOutputWithContext(context.Context) QueryParameterNumericValuePtrOutput } -type sqlQueryParameterDatetimePtrType SqlQueryParameterDatetimeArgs +type queryParameterNumericValuePtrType QueryParameterNumericValueArgs -func SqlQueryParameterDatetimePtr(v *SqlQueryParameterDatetimeArgs) SqlQueryParameterDatetimePtrInput { - return (*sqlQueryParameterDatetimePtrType)(v) +func QueryParameterNumericValuePtr(v *QueryParameterNumericValueArgs) QueryParameterNumericValuePtrInput { + return (*queryParameterNumericValuePtrType)(v) } -func (*sqlQueryParameterDatetimePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() +func (*queryParameterNumericValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterNumericValue)(nil)).Elem() } -func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (i *queryParameterNumericValuePtrType) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { + return i.ToQueryParameterNumericValuePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimePtrOutput) +func (i *queryParameterNumericValuePtrType) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterNumericValuePtrOutput) } -type SqlQueryParameterDatetimeOutput struct{ *pulumi.OutputState } +type QueryParameterNumericValueOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() +func (QueryParameterNumericValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterNumericValue)(nil)).Elem() } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { +func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValueOutput() QueryParameterNumericValueOutput { return o } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { +func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValueOutputWithContext(ctx context.Context) QueryParameterNumericValueOutput { return o } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { - return o.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) +func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { + return o.ToQueryParameterNumericValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetime) *SqlQueryParameterDatetime { +func (o QueryParameterNumericValueOutput) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterNumericValue) *QueryParameterNumericValue { return &v - }).(SqlQueryParameterDatetimePtrOutput) + }).(QueryParameterNumericValuePtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) +// actual numeric value. +func (o QueryParameterNumericValueOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v QueryParameterNumericValue) float64 { return v.Value }).(pulumi.Float64Output) } -type SqlQueryParameterDatetimePtrOutput struct{ *pulumi.OutputState } +type QueryParameterNumericValuePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() +func (QueryParameterNumericValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterNumericValue)(nil)).Elem() } -func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { +func (o QueryParameterNumericValuePtrOutput) ToQueryParameterNumericValuePtrOutput() QueryParameterNumericValuePtrOutput { return o } -func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { +func (o QueryParameterNumericValuePtrOutput) ToQueryParameterNumericValuePtrOutputWithContext(ctx context.Context) QueryParameterNumericValuePtrOutput { return o } -func (o SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetime) SqlQueryParameterDatetime { +func (o QueryParameterNumericValuePtrOutput) Elem() QueryParameterNumericValueOutput { + return o.ApplyT(func(v *QueryParameterNumericValue) QueryParameterNumericValue { if v != nil { return *v } - var ret SqlQueryParameterDatetime + var ret QueryParameterNumericValue return ret - }).(SqlQueryParameterDatetimeOutput) + }).(QueryParameterNumericValueOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetime) *string { +// actual numeric value. +func (o QueryParameterNumericValuePtrOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *QueryParameterNumericValue) *float64 { if v == nil { return nil } return &v.Value - }).(pulumi.StringPtrOutput) + }).(pulumi.Float64PtrOutput) } -type SqlQueryParameterDatetimeRange struct { - Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` - // The default value for this parameter. - Value *string `pulumi:"value"` +type QueryParameterQueryBackedValue struct { + // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + MultiValuesOptions *QueryParameterQueryBackedValueMultiValuesOptions `pulumi:"multiValuesOptions"` + // ID of the query that provides the parameter values. + QueryId string `pulumi:"queryId"` + // List of selected query parameter values. + Values []string `pulumi:"values"` } -// SqlQueryParameterDatetimeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs and SqlQueryParameterDatetimeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeInput` via: +// QueryParameterQueryBackedValueInput is an input type that accepts QueryParameterQueryBackedValueArgs and QueryParameterQueryBackedValueOutput values. +// You can construct a concrete instance of `QueryParameterQueryBackedValueInput` via: // -// SqlQueryParameterDatetimeRangeArgs{...} -type SqlQueryParameterDatetimeRangeInput interface { +// QueryParameterQueryBackedValueArgs{...} +type QueryParameterQueryBackedValueInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput - ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeOutput + ToQueryParameterQueryBackedValueOutput() QueryParameterQueryBackedValueOutput + ToQueryParameterQueryBackedValueOutputWithContext(context.Context) QueryParameterQueryBackedValueOutput } -type SqlQueryParameterDatetimeRangeArgs struct { - Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` +type QueryParameterQueryBackedValueArgs struct { + // If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + MultiValuesOptions QueryParameterQueryBackedValueMultiValuesOptionsPtrInput `pulumi:"multiValuesOptions"` + // ID of the query that provides the parameter values. + QueryId pulumi.StringInput `pulumi:"queryId"` + // List of selected query parameter values. + Values pulumi.StringArrayInput `pulumi:"values"` } -func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() +func (QueryParameterQueryBackedValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterQueryBackedValue)(nil)).Elem() } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { - return i.ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Background()) +func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValueOutput() QueryParameterQueryBackedValueOutput { + return i.ToQueryParameterQueryBackedValueOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput) +func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValueOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueOutput) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { + return i.ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput).ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx) +func (i QueryParameterQueryBackedValueArgs) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueOutput).ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs, SqlQueryParameterDatetimeRangePtr and SqlQueryParameterDatetimeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangePtrInput` via: +// QueryParameterQueryBackedValuePtrInput is an input type that accepts QueryParameterQueryBackedValueArgs, QueryParameterQueryBackedValuePtr and QueryParameterQueryBackedValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterQueryBackedValuePtrInput` via: // -// SqlQueryParameterDatetimeRangeArgs{...} +// QueryParameterQueryBackedValueArgs{...} // // or: // // nil -type SqlQueryParameterDatetimeRangePtrInput interface { +type QueryParameterQueryBackedValuePtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput - ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangePtrOutput + ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput + ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Context) QueryParameterQueryBackedValuePtrOutput } -type sqlQueryParameterDatetimeRangePtrType SqlQueryParameterDatetimeRangeArgs +type queryParameterQueryBackedValuePtrType QueryParameterQueryBackedValueArgs -func SqlQueryParameterDatetimeRangePtr(v *SqlQueryParameterDatetimeRangeArgs) SqlQueryParameterDatetimeRangePtrInput { - return (*sqlQueryParameterDatetimeRangePtrType)(v) +func QueryParameterQueryBackedValuePtr(v *QueryParameterQueryBackedValueArgs) QueryParameterQueryBackedValuePtrInput { + return (*queryParameterQueryBackedValuePtrType)(v) } -func (*sqlQueryParameterDatetimeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() +func (*queryParameterQueryBackedValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterQueryBackedValue)(nil)).Elem() } -func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (i *queryParameterQueryBackedValuePtrType) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { + return i.ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangePtrOutput) +func (i *queryParameterQueryBackedValuePtrType) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValuePtrOutput) } -type SqlQueryParameterDatetimeRangeOutput struct{ *pulumi.OutputState } +type QueryParameterQueryBackedValueOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() +func (QueryParameterQueryBackedValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterQueryBackedValue)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { +func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValueOutput() QueryParameterQueryBackedValueOutput { return o } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { +func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValueOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueOutput { return o } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { - return o.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) +func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { + return o.ToQueryParameterQueryBackedValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRange { +func (o QueryParameterQueryBackedValueOutput) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterQueryBackedValue) *QueryParameterQueryBackedValue { return &v - }).(SqlQueryParameterDatetimeRangePtrOutput) + }).(QueryParameterQueryBackedValuePtrOutput) } -func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) +// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: +func (o QueryParameterQueryBackedValueOutput) MultiValuesOptions() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return o.ApplyT(func(v QueryParameterQueryBackedValue) *QueryParameterQueryBackedValueMultiValuesOptions { + return v.MultiValuesOptions + }).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimeRangeOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *string { return v.Value }).(pulumi.StringPtrOutput) +// ID of the query that provides the parameter values. +func (o QueryParameterQueryBackedValueOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v QueryParameterQueryBackedValue) string { return v.QueryId }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimeRangePtrOutput struct{ *pulumi.OutputState } +// List of selected query parameter values. +func (o QueryParameterQueryBackedValueOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v QueryParameterQueryBackedValue) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (SqlQueryParameterDatetimeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() +type QueryParameterQueryBackedValuePtrOutput struct{ *pulumi.OutputState } + +func (QueryParameterQueryBackedValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterQueryBackedValue)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { +func (o QueryParameterQueryBackedValuePtrOutput) ToQueryParameterQueryBackedValuePtrOutput() QueryParameterQueryBackedValuePtrOutput { return o } -func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { +func (o QueryParameterQueryBackedValuePtrOutput) ToQueryParameterQueryBackedValuePtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValuePtrOutput { return o } -func (o SqlQueryParameterDatetimeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) SqlQueryParameterDatetimeRange { +func (o QueryParameterQueryBackedValuePtrOutput) Elem() QueryParameterQueryBackedValueOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValue) QueryParameterQueryBackedValue { if v != nil { return *v } - var ret SqlQueryParameterDatetimeRange + var ret QueryParameterQueryBackedValue return ret - }).(SqlQueryParameterDatetimeRangeOutput) + }).(QueryParameterQueryBackedValueOutput) } -func (o SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { +// If specified, allows multiple values to be selected for this parameter. Consists of following attributes: +func (o QueryParameterQueryBackedValuePtrOutput) MultiValuesOptions() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValue) *QueryParameterQueryBackedValueMultiValuesOptions { if v == nil { return nil } - return v.Range - }).(SqlQueryParameterDatetimeRangeRangePtrOutput) + return v.MultiValuesOptions + }).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimeRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *string { +// ID of the query that provides the parameter values. +func (o QueryParameterQueryBackedValuePtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValue) *string { if v == nil { return nil } - return v.Value + return &v.QueryId }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimeRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +// List of selected query parameter values. +func (o QueryParameterQueryBackedValuePtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValue) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) } -// SqlQueryParameterDatetimeRangeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs and SqlQueryParameterDatetimeRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangeInput` via: +type QueryParameterQueryBackedValueMultiValuesOptions struct { + // Character that prefixes each selected parameter value. + Prefix *string `pulumi:"prefix"` + // Character that separates each selected parameter value. Defaults to a comma. + Separator *string `pulumi:"separator"` + // Character that suffixes each selected parameter value. + Suffix *string `pulumi:"suffix"` +} + +// QueryParameterQueryBackedValueMultiValuesOptionsInput is an input type that accepts QueryParameterQueryBackedValueMultiValuesOptionsArgs and QueryParameterQueryBackedValueMultiValuesOptionsOutput values. +// You can construct a concrete instance of `QueryParameterQueryBackedValueMultiValuesOptionsInput` via: // -// SqlQueryParameterDatetimeRangeRangeArgs{...} -type SqlQueryParameterDatetimeRangeRangeInput interface { +// QueryParameterQueryBackedValueMultiValuesOptionsArgs{...} +type QueryParameterQueryBackedValueMultiValuesOptionsInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput - ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangeOutput + ToQueryParameterQueryBackedValueMultiValuesOptionsOutput() QueryParameterQueryBackedValueMultiValuesOptionsOutput + ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(context.Context) QueryParameterQueryBackedValueMultiValuesOptionsOutput } -type SqlQueryParameterDatetimeRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type QueryParameterQueryBackedValueMultiValuesOptionsArgs struct { + // Character that prefixes each selected parameter value. + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + // Character that separates each selected parameter value. Defaults to a comma. + Separator pulumi.StringPtrInput `pulumi:"separator"` + // Character that suffixes each selected parameter value. + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (SqlQueryParameterDatetimeRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (QueryParameterQueryBackedValueMultiValuesOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { - return i.ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Background()) +func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsOutput() QueryParameterQueryBackedValueMultiValuesOptionsOutput { + return i.ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput) +func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueMultiValuesOptionsOutput) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return i.ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput).ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx) +func (i QueryParameterQueryBackedValueMultiValuesOptionsArgs) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueMultiValuesOptionsOutput).ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimeRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs, SqlQueryParameterDatetimeRangeRangePtr and SqlQueryParameterDatetimeRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangePtrInput` via: +// QueryParameterQueryBackedValueMultiValuesOptionsPtrInput is an input type that accepts QueryParameterQueryBackedValueMultiValuesOptionsArgs, QueryParameterQueryBackedValueMultiValuesOptionsPtr and QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput values. +// You can construct a concrete instance of `QueryParameterQueryBackedValueMultiValuesOptionsPtrInput` via: // -// SqlQueryParameterDatetimeRangeRangeArgs{...} +// QueryParameterQueryBackedValueMultiValuesOptionsArgs{...} // // or: // // nil -type SqlQueryParameterDatetimeRangeRangePtrInput interface { +type QueryParameterQueryBackedValueMultiValuesOptionsPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput - ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput + ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput + ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput } -type sqlQueryParameterDatetimeRangeRangePtrType SqlQueryParameterDatetimeRangeRangeArgs +type queryParameterQueryBackedValueMultiValuesOptionsPtrType QueryParameterQueryBackedValueMultiValuesOptionsArgs -func SqlQueryParameterDatetimeRangeRangePtr(v *SqlQueryParameterDatetimeRangeRangeArgs) SqlQueryParameterDatetimeRangeRangePtrInput { - return (*sqlQueryParameterDatetimeRangeRangePtrType)(v) +func QueryParameterQueryBackedValueMultiValuesOptionsPtr(v *QueryParameterQueryBackedValueMultiValuesOptionsArgs) QueryParameterQueryBackedValueMultiValuesOptionsPtrInput { + return (*queryParameterQueryBackedValueMultiValuesOptionsPtrType)(v) } -func (*sqlQueryParameterDatetimeRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (*queryParameterQueryBackedValueMultiValuesOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() } -func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (i *queryParameterQueryBackedValueMultiValuesOptionsPtrType) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return i.ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangePtrOutput) +func (i *queryParameterQueryBackedValueMultiValuesOptionsPtrType) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) } -type SqlQueryParameterDatetimeRangeRangeOutput struct{ *pulumi.OutputState } +type QueryParameterQueryBackedValueMultiValuesOptionsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimeRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +func (QueryParameterQueryBackedValueMultiValuesOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsOutput() QueryParameterQueryBackedValueMultiValuesOptionsOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return o.ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRangeRange) *SqlQueryParameterDatetimeRangeRange { +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterQueryBackedValueMultiValuesOptions) *QueryParameterQueryBackedValueMultiValuesOptions { return &v - }).(SqlQueryParameterDatetimeRangeRangePtrOutput) + }).(QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.End }).(pulumi.StringOutput) +// Character that prefixes each selected parameter value. +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterQueryBackedValueMultiValuesOptions) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.Start }).(pulumi.StringOutput) +// Character that separates each selected parameter value. Defaults to a comma. +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterQueryBackedValueMultiValuesOptions) *string { return v.Separator }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimeRangeRangePtrOutput struct{ *pulumi.OutputState } +// Character that suffixes each selected parameter value. +func (o QueryParameterQueryBackedValueMultiValuesOptionsOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v QueryParameterQueryBackedValueMultiValuesOptions) *string { return v.Suffix }).(pulumi.StringPtrOutput) +} -func (SqlQueryParameterDatetimeRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +type QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput struct{ *pulumi.OutputState } + +func (QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterQueryBackedValueMultiValuesOptions)(nil)).Elem() } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { +func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutput() QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { +func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) ToQueryParameterQueryBackedValueMultiValuesOptionsPtrOutputWithContext(ctx context.Context) QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput { return o } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) SqlQueryParameterDatetimeRangeRange { +func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Elem() QueryParameterQueryBackedValueMultiValuesOptionsOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) QueryParameterQueryBackedValueMultiValuesOptions { if v != nil { return *v } - var ret SqlQueryParameterDatetimeRangeRange + var ret QueryParameterQueryBackedValueMultiValuesOptions return ret - }).(SqlQueryParameterDatetimeRangeRangeOutput) + }).(QueryParameterQueryBackedValueMultiValuesOptionsOutput) +} + +// Character that prefixes each selected parameter value. +func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) *string { + if v == nil { + return nil + } + return v.Prefix + }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { +// Character that separates each selected parameter value. Defaults to a comma. +func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) *string { if v == nil { return nil } - return &v.End + return v.Separator }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { +// Character that suffixes each selected parameter value. +func (o QueryParameterQueryBackedValueMultiValuesOptionsPtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterQueryBackedValueMultiValuesOptions) *string { if v == nil { return nil } - return &v.Start + return v.Suffix }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimesec struct { - // The default value for this parameter. +type QueryParameterTextValue struct { + // actual text value. Value string `pulumi:"value"` } -// SqlQueryParameterDatetimesecInput is an input type that accepts SqlQueryParameterDatetimesecArgs and SqlQueryParameterDatetimesecOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecInput` via: +// QueryParameterTextValueInput is an input type that accepts QueryParameterTextValueArgs and QueryParameterTextValueOutput values. +// You can construct a concrete instance of `QueryParameterTextValueInput` via: // -// SqlQueryParameterDatetimesecArgs{...} -type SqlQueryParameterDatetimesecInput interface { +// QueryParameterTextValueArgs{...} +type QueryParameterTextValueInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput - ToSqlQueryParameterDatetimesecOutputWithContext(context.Context) SqlQueryParameterDatetimesecOutput + ToQueryParameterTextValueOutput() QueryParameterTextValueOutput + ToQueryParameterTextValueOutputWithContext(context.Context) QueryParameterTextValueOutput } -type SqlQueryParameterDatetimesecArgs struct { - // The default value for this parameter. +type QueryParameterTextValueArgs struct { + // actual text value. Value pulumi.StringInput `pulumi:"value"` } -func (SqlQueryParameterDatetimesecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() +func (QueryParameterTextValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterTextValue)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { - return i.ToSqlQueryParameterDatetimesecOutputWithContext(context.Background()) +func (i QueryParameterTextValueArgs) ToQueryParameterTextValueOutput() QueryParameterTextValueOutput { + return i.ToQueryParameterTextValueOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput) +func (i QueryParameterTextValueArgs) ToQueryParameterTextValueOutputWithContext(ctx context.Context) QueryParameterTextValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTextValueOutput) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (i QueryParameterTextValueArgs) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { + return i.ToQueryParameterTextValuePtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput).ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx) +func (i QueryParameterTextValueArgs) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTextValueOutput).ToQueryParameterTextValuePtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecPtrInput is an input type that accepts SqlQueryParameterDatetimesecArgs, SqlQueryParameterDatetimesecPtr and SqlQueryParameterDatetimesecPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecPtrInput` via: +// QueryParameterTextValuePtrInput is an input type that accepts QueryParameterTextValueArgs, QueryParameterTextValuePtr and QueryParameterTextValuePtrOutput values. +// You can construct a concrete instance of `QueryParameterTextValuePtrInput` via: // -// SqlQueryParameterDatetimesecArgs{...} +// QueryParameterTextValueArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecPtrInput interface { +type QueryParameterTextValuePtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput - ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecPtrOutput + ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput + ToQueryParameterTextValuePtrOutputWithContext(context.Context) QueryParameterTextValuePtrOutput } -type sqlQueryParameterDatetimesecPtrType SqlQueryParameterDatetimesecArgs +type queryParameterTextValuePtrType QueryParameterTextValueArgs -func SqlQueryParameterDatetimesecPtr(v *SqlQueryParameterDatetimesecArgs) SqlQueryParameterDatetimesecPtrInput { - return (*sqlQueryParameterDatetimesecPtrType)(v) +func QueryParameterTextValuePtr(v *QueryParameterTextValueArgs) QueryParameterTextValuePtrInput { + return (*queryParameterTextValuePtrType)(v) } -func (*sqlQueryParameterDatetimesecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() +func (*queryParameterTextValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterTextValue)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (i *queryParameterTextValuePtrType) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { + return i.ToQueryParameterTextValuePtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecPtrOutput) +func (i *queryParameterTextValuePtrType) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTextValuePtrOutput) } -type SqlQueryParameterDatetimesecOutput struct{ *pulumi.OutputState } +type QueryParameterTextValueOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() +func (QueryParameterTextValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*QueryParameterTextValue)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { +func (o QueryParameterTextValueOutput) ToQueryParameterTextValueOutput() QueryParameterTextValueOutput { return o } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { +func (o QueryParameterTextValueOutput) ToQueryParameterTextValueOutputWithContext(ctx context.Context) QueryParameterTextValueOutput { return o } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { - return o.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) +func (o QueryParameterTextValueOutput) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { + return o.ToQueryParameterTextValuePtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesec) *SqlQueryParameterDatetimesec { +func (o QueryParameterTextValueOutput) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v QueryParameterTextValue) *QueryParameterTextValue { return &v - }).(SqlQueryParameterDatetimesecPtrOutput) + }).(QueryParameterTextValuePtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) +// actual text value. +func (o QueryParameterTextValueOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v QueryParameterTextValue) string { return v.Value }).(pulumi.StringOutput) } -type SqlQueryParameterDatetimesecPtrOutput struct{ *pulumi.OutputState } +type QueryParameterTextValuePtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() +func (QueryParameterTextValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**QueryParameterTextValue)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { +func (o QueryParameterTextValuePtrOutput) ToQueryParameterTextValuePtrOutput() QueryParameterTextValuePtrOutput { return o } -func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { +func (o QueryParameterTextValuePtrOutput) ToQueryParameterTextValuePtrOutputWithContext(ctx context.Context) QueryParameterTextValuePtrOutput { return o } -func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimesecOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesec) SqlQueryParameterDatetimesec { +func (o QueryParameterTextValuePtrOutput) Elem() QueryParameterTextValueOutput { + return o.ApplyT(func(v *QueryParameterTextValue) QueryParameterTextValue { if v != nil { return *v } - var ret SqlQueryParameterDatetimesec + var ret QueryParameterTextValue return ret - }).(SqlQueryParameterDatetimesecOutput) + }).(QueryParameterTextValueOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesec) *string { +// actual text value. +func (o QueryParameterTextValuePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *QueryParameterTextValue) *string { if v == nil { return nil } @@ -74373,8888 +74141,8293 @@ func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type SqlQueryParameterDatetimesecRange struct { - Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` - // The default value for this parameter. - Value *string `pulumi:"value"` +type RecipientIpAccessList struct { + // Allowed IP Addresses in CIDR notation. Limit of 100. + AllowedIpAddresses []string `pulumi:"allowedIpAddresses"` } -// SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeInput` via: +// RecipientIpAccessListInput is an input type that accepts RecipientIpAccessListArgs and RecipientIpAccessListOutput values. +// You can construct a concrete instance of `RecipientIpAccessListInput` via: // -// SqlQueryParameterDatetimesecRangeArgs{...} -type SqlQueryParameterDatetimesecRangeInput interface { +// RecipientIpAccessListArgs{...} +type RecipientIpAccessListInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput - ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeOutput + ToRecipientIpAccessListOutput() RecipientIpAccessListOutput + ToRecipientIpAccessListOutputWithContext(context.Context) RecipientIpAccessListOutput } -type SqlQueryParameterDatetimesecRangeArgs struct { - Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` +type RecipientIpAccessListArgs struct { + // Allowed IP Addresses in CIDR notation. Limit of 100. + AllowedIpAddresses pulumi.StringArrayInput `pulumi:"allowedIpAddresses"` } -func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (RecipientIpAccessListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { - return i.ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Background()) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { + return i.ToRecipientIpAccessListOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput).ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx) +func (i RecipientIpAccessListArgs) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListOutput).ToRecipientIpAccessListPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs, SqlQueryParameterDatetimesecRangePtr and SqlQueryParameterDatetimesecRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangePtrInput` via: +// RecipientIpAccessListPtrInput is an input type that accepts RecipientIpAccessListArgs, RecipientIpAccessListPtr and RecipientIpAccessListPtrOutput values. +// You can construct a concrete instance of `RecipientIpAccessListPtrInput` via: // -// SqlQueryParameterDatetimesecRangeArgs{...} +// RecipientIpAccessListArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecRangePtrInput interface { +type RecipientIpAccessListPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput - ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangePtrOutput + ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput + ToRecipientIpAccessListPtrOutputWithContext(context.Context) RecipientIpAccessListPtrOutput } -type sqlQueryParameterDatetimesecRangePtrType SqlQueryParameterDatetimesecRangeArgs +type recipientIpAccessListPtrType RecipientIpAccessListArgs -func SqlQueryParameterDatetimesecRangePtr(v *SqlQueryParameterDatetimesecRangeArgs) SqlQueryParameterDatetimesecRangePtrInput { - return (*sqlQueryParameterDatetimesecRangePtrType)(v) +func RecipientIpAccessListPtr(v *RecipientIpAccessListArgs) RecipientIpAccessListPtrInput { + return (*recipientIpAccessListPtrType)(v) } -func (*sqlQueryParameterDatetimesecRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (*recipientIpAccessListPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return i.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangePtrOutput) +func (i *recipientIpAccessListPtrType) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientIpAccessListPtrOutput) } -type SqlQueryParameterDatetimesecRangeOutput struct{ *pulumi.OutputState } +type RecipientIpAccessListOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (RecipientIpAccessListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientIpAccessList)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutput() RecipientIpAccessListOutput { return o } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListOutputWithContext(ctx context.Context) RecipientIpAccessListOutput { return o } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { - return o.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { + return o.ToRecipientIpAccessListPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRange { +func (o RecipientIpAccessListOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientIpAccessList) *RecipientIpAccessList { return &v - }).(SqlQueryParameterDatetimesecRangePtrOutput) -} - -func (o SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) + }).(RecipientIpAccessListPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecRangeOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *string { return v.Value }).(pulumi.StringPtrOutput) +// Allowed IP Addresses in CIDR notation. Limit of 100. +func (o RecipientIpAccessListOutput) AllowedIpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v RecipientIpAccessList) []string { return v.AllowedIpAddresses }).(pulumi.StringArrayOutput) } -type SqlQueryParameterDatetimesecRangePtrOutput struct{ *pulumi.OutputState } +type RecipientIpAccessListPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() +func (RecipientIpAccessListPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientIpAccessList)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { +func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutput() RecipientIpAccessListPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { +func (o RecipientIpAccessListPtrOutput) ToRecipientIpAccessListPtrOutputWithContext(ctx context.Context) RecipientIpAccessListPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) SqlQueryParameterDatetimesecRange { +func (o RecipientIpAccessListPtrOutput) Elem() RecipientIpAccessListOutput { + return o.ApplyT(func(v *RecipientIpAccessList) RecipientIpAccessList { if v != nil { return *v } - var ret SqlQueryParameterDatetimesecRange + var ret RecipientIpAccessList return ret - }).(SqlQueryParameterDatetimesecRangeOutput) -} - -func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { - if v == nil { - return nil - } - return v.Range - }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) + }).(RecipientIpAccessListOutput) } -// The default value for this parameter. -func (o SqlQueryParameterDatetimesecRangePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *string { +// Allowed IP Addresses in CIDR notation. Limit of 100. +func (o RecipientIpAccessListPtrOutput) AllowedIpAddresses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RecipientIpAccessList) []string { if v == nil { return nil } - return v.Value - }).(pulumi.StringPtrOutput) + return v.AllowedIpAddresses + }).(pulumi.StringArrayOutput) } -type SqlQueryParameterDatetimesecRangeRange struct { - End string `pulumi:"end"` - Start string `pulumi:"start"` +type RecipientPropertiesKvpairs struct { + // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. + Properties map[string]string `pulumi:"properties"` } -// SqlQueryParameterDatetimesecRangeRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs and SqlQueryParameterDatetimesecRangeRangeOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangeInput` via: +// RecipientPropertiesKvpairsInput is an input type that accepts RecipientPropertiesKvpairsArgs and RecipientPropertiesKvpairsOutput values. +// You can construct a concrete instance of `RecipientPropertiesKvpairsInput` via: // -// SqlQueryParameterDatetimesecRangeRangeArgs{...} -type SqlQueryParameterDatetimesecRangeRangeInput interface { +// RecipientPropertiesKvpairsArgs{...} +type RecipientPropertiesKvpairsInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput - ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangeOutput + ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput + ToRecipientPropertiesKvpairsOutputWithContext(context.Context) RecipientPropertiesKvpairsOutput } -type SqlQueryParameterDatetimesecRangeRangeArgs struct { - End pulumi.StringInput `pulumi:"end"` - Start pulumi.StringInput `pulumi:"start"` +type RecipientPropertiesKvpairsArgs struct { + // a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. + Properties pulumi.StringMapInput `pulumi:"properties"` } -func (SqlQueryParameterDatetimesecRangeRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (RecipientPropertiesKvpairsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Background()) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { + return i.ToRecipientPropertiesKvpairsOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { + return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput).ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx) +func (i RecipientPropertiesKvpairsArgs) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsOutput).ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx) } -// SqlQueryParameterDatetimesecRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs, SqlQueryParameterDatetimesecRangeRangePtr and SqlQueryParameterDatetimesecRangeRangePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangePtrInput` via: +// RecipientPropertiesKvpairsPtrInput is an input type that accepts RecipientPropertiesKvpairsArgs, RecipientPropertiesKvpairsPtr and RecipientPropertiesKvpairsPtrOutput values. +// You can construct a concrete instance of `RecipientPropertiesKvpairsPtrInput` via: // -// SqlQueryParameterDatetimesecRangeRangeArgs{...} +// RecipientPropertiesKvpairsArgs{...} // // or: // // nil -type SqlQueryParameterDatetimesecRangeRangePtrInput interface { +type RecipientPropertiesKvpairsPtrInput interface { pulumi.Input - ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput - ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput + ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput + ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Context) RecipientPropertiesKvpairsPtrOutput } -type sqlQueryParameterDatetimesecRangeRangePtrType SqlQueryParameterDatetimesecRangeRangeArgs +type recipientPropertiesKvpairsPtrType RecipientPropertiesKvpairsArgs -func SqlQueryParameterDatetimesecRangeRangePtr(v *SqlQueryParameterDatetimesecRangeRangeArgs) SqlQueryParameterDatetimesecRangeRangePtrInput { - return (*sqlQueryParameterDatetimesecRangeRangePtrType)(v) +func RecipientPropertiesKvpairsPtr(v *RecipientPropertiesKvpairsArgs) RecipientPropertiesKvpairsPtrInput { + return (*recipientPropertiesKvpairsPtrType)(v) } -func (*sqlQueryParameterDatetimesecRangeRangePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (*recipientPropertiesKvpairsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() } -func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { + return i.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +func (i *recipientPropertiesKvpairsPtrType) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientPropertiesKvpairsPtrOutput) } -type SqlQueryParameterDatetimesecRangeRangeOutput struct{ *pulumi.OutputState } +type RecipientPropertiesKvpairsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (RecipientPropertiesKvpairsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientPropertiesKvpairs)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutput() RecipientPropertiesKvpairsOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { + return o.ToRecipientPropertiesKvpairsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRangeRange) *SqlQueryParameterDatetimesecRangeRange { +func (o RecipientPropertiesKvpairsOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RecipientPropertiesKvpairs) *RecipientPropertiesKvpairs { return &v - }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) -} - -func (o SqlQueryParameterDatetimesecRangeRangeOutput) End() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.End }).(pulumi.StringOutput) + }).(RecipientPropertiesKvpairsPtrOutput) } -func (o SqlQueryParameterDatetimesecRangeRangeOutput) Start() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.Start }).(pulumi.StringOutput) +// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. +func (o RecipientPropertiesKvpairsOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v RecipientPropertiesKvpairs) map[string]string { return v.Properties }).(pulumi.StringMapOutput) } -type SqlQueryParameterDatetimesecRangeRangePtrOutput struct{ *pulumi.OutputState } +type RecipientPropertiesKvpairsPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterDatetimesecRangeRangePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +func (RecipientPropertiesKvpairsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RecipientPropertiesKvpairs)(nil)).Elem() } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { +func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutput() RecipientPropertiesKvpairsPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { +func (o RecipientPropertiesKvpairsPtrOutput) ToRecipientPropertiesKvpairsPtrOutputWithContext(ctx context.Context) RecipientPropertiesKvpairsPtrOutput { return o } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeRangeOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) SqlQueryParameterDatetimesecRangeRange { +func (o RecipientPropertiesKvpairsPtrOutput) Elem() RecipientPropertiesKvpairsOutput { + return o.ApplyT(func(v *RecipientPropertiesKvpairs) RecipientPropertiesKvpairs { if v != nil { return *v } - var ret SqlQueryParameterDatetimesecRangeRange + var ret RecipientPropertiesKvpairs return ret - }).(SqlQueryParameterDatetimesecRangeRangeOutput) -} - -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { - if v == nil { - return nil - } - return &v.End - }).(pulumi.StringPtrOutput) + }).(RecipientPropertiesKvpairsOutput) } -func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { +// a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. +func (o RecipientPropertiesKvpairsPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *RecipientPropertiesKvpairs) map[string]string { if v == nil { return nil } - return &v.Start - }).(pulumi.StringPtrOutput) -} - -type SqlQueryParameterEnum struct { - Multiple *SqlQueryParameterEnumMultiple `pulumi:"multiple"` - Options []string `pulumi:"options"` - // The default value for this parameter. - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` -} - -// SqlQueryParameterEnumInput is an input type that accepts SqlQueryParameterEnumArgs and SqlQueryParameterEnumOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumInput` via: -// -// SqlQueryParameterEnumArgs{...} -type SqlQueryParameterEnumInput interface { - pulumi.Input - - ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput - ToSqlQueryParameterEnumOutputWithContext(context.Context) SqlQueryParameterEnumOutput -} - -type SqlQueryParameterEnumArgs struct { - Multiple SqlQueryParameterEnumMultiplePtrInput `pulumi:"multiple"` - Options pulumi.StringArrayInput `pulumi:"options"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (SqlQueryParameterEnumArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() -} - -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { - return i.ToSqlQueryParameterEnumOutputWithContext(context.Background()) -} - -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput) -} - -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) + return v.Properties + }).(pulumi.StringMapOutput) } -func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput).ToSqlQueryParameterEnumPtrOutputWithContext(ctx) +type RecipientToken struct { + // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. + ActivationUrl *string `pulumi:"activationUrl"` + // Time at which this recipient was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of recipient creator. + CreatedBy *string `pulumi:"createdBy"` + // Expiration timestamp of the token in epoch milliseconds. + ExpirationTime *int `pulumi:"expirationTime"` + // Unique ID of the recipient token. + Id *string `pulumi:"id"` + // Time at which this recipient was updated, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of recipient Token updater. + UpdatedBy *string `pulumi:"updatedBy"` } -// SqlQueryParameterEnumPtrInput is an input type that accepts SqlQueryParameterEnumArgs, SqlQueryParameterEnumPtr and SqlQueryParameterEnumPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumPtrInput` via: -// -// SqlQueryParameterEnumArgs{...} -// -// or: +// RecipientTokenInput is an input type that accepts RecipientTokenArgs and RecipientTokenOutput values. +// You can construct a concrete instance of `RecipientTokenInput` via: // -// nil -type SqlQueryParameterEnumPtrInput interface { +// RecipientTokenArgs{...} +type RecipientTokenInput interface { pulumi.Input - ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput - ToSqlQueryParameterEnumPtrOutputWithContext(context.Context) SqlQueryParameterEnumPtrOutput + ToRecipientTokenOutput() RecipientTokenOutput + ToRecipientTokenOutputWithContext(context.Context) RecipientTokenOutput } -type sqlQueryParameterEnumPtrType SqlQueryParameterEnumArgs - -func SqlQueryParameterEnumPtr(v *SqlQueryParameterEnumArgs) SqlQueryParameterEnumPtrInput { - return (*sqlQueryParameterEnumPtrType)(v) +type RecipientTokenArgs struct { + // Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. + ActivationUrl pulumi.StringPtrInput `pulumi:"activationUrl"` + // Time at which this recipient was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of recipient creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Expiration timestamp of the token in epoch milliseconds. + ExpirationTime pulumi.IntPtrInput `pulumi:"expirationTime"` + // Unique ID of the recipient token. + Id pulumi.StringPtrInput `pulumi:"id"` + // Time at which this recipient was updated, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of recipient Token updater. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (*sqlQueryParameterEnumPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() +func (RecipientTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientToken)(nil)).Elem() } -func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (i RecipientTokenArgs) ToRecipientTokenOutput() RecipientTokenOutput { + return i.ToRecipientTokenOutputWithContext(context.Background()) } -func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumPtrOutput) +func (i RecipientTokenArgs) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenOutput) } -type SqlQueryParameterEnumOutput struct{ *pulumi.OutputState } +// RecipientTokenArrayInput is an input type that accepts RecipientTokenArray and RecipientTokenArrayOutput values. +// You can construct a concrete instance of `RecipientTokenArrayInput` via: +// +// RecipientTokenArray{ RecipientTokenArgs{...} } +type RecipientTokenArrayInput interface { + pulumi.Input -func (SqlQueryParameterEnumOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() + ToRecipientTokenArrayOutput() RecipientTokenArrayOutput + ToRecipientTokenArrayOutputWithContext(context.Context) RecipientTokenArrayOutput } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { - return o +type RecipientTokenArray []RecipientTokenInput + +func (RecipientTokenArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { - return o +func (i RecipientTokenArray) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { + return i.ToRecipientTokenArrayOutputWithContext(context.Background()) } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return o.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) +func (i RecipientTokenArray) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RecipientTokenArrayOutput) } -func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnum) *SqlQueryParameterEnum { - return &v - }).(SqlQueryParameterEnumPtrOutput) +type RecipientTokenOutput struct{ *pulumi.OutputState } + +func (RecipientTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RecipientToken)(nil)).Elem() } -func (o SqlQueryParameterEnumOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { return v.Multiple }).(SqlQueryParameterEnumMultiplePtrOutput) +func (o RecipientTokenOutput) ToRecipientTokenOutput() RecipientTokenOutput { + return o } -func (o SqlQueryParameterEnumOutput) Options() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Options }).(pulumi.StringArrayOutput) +func (o RecipientTokenOutput) ToRecipientTokenOutputWithContext(ctx context.Context) RecipientTokenOutput { + return o } -// The default value for this parameter. -func (o SqlQueryParameterEnumOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) *string { return v.Value }).(pulumi.StringPtrOutput) +// Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. +func (o RecipientTokenOutput) ActivationUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.ActivationUrl }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterEnumOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Values }).(pulumi.StringArrayOutput) +// Time at which this recipient was created, in epoch milliseconds. +func (o RecipientTokenOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -type SqlQueryParameterEnumPtrOutput struct{ *pulumi.OutputState } +// Username of recipient creator. +func (o RecipientTokenOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} -func (SqlQueryParameterEnumPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() +// Expiration timestamp of the token in epoch milliseconds. +func (o RecipientTokenOutput) ExpirationTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.ExpirationTime }).(pulumi.IntPtrOutput) } -func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { - return o +// Unique ID of the recipient token. +func (o RecipientTokenOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { - return o +// Time at which this recipient was updated, in epoch milliseconds. +func (o RecipientTokenOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v RecipientToken) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (o SqlQueryParameterEnumPtrOutput) Elem() SqlQueryParameterEnumOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) SqlQueryParameterEnum { - if v != nil { - return *v - } - var ret SqlQueryParameterEnum - return ret - }).(SqlQueryParameterEnumOutput) +// Username of recipient Token updater. +func (o RecipientTokenOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RecipientToken) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterEnumPtrOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { - if v == nil { - return nil - } - return v.Multiple - }).(SqlQueryParameterEnumMultiplePtrOutput) +type RecipientTokenArrayOutput struct{ *pulumi.OutputState } + +func (RecipientTokenArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RecipientToken)(nil)).Elem() } -func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) []string { - if v == nil { - return nil - } - return v.Options - }).(pulumi.StringArrayOutput) +func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutput() RecipientTokenArrayOutput { + return o } -// The default value for this parameter. -func (o SqlQueryParameterEnumPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) *string { - if v == nil { - return nil - } - return v.Value - }).(pulumi.StringPtrOutput) +func (o RecipientTokenArrayOutput) ToRecipientTokenArrayOutputWithContext(ctx context.Context) RecipientTokenArrayOutput { + return o } -func (o SqlQueryParameterEnumPtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterEnum) []string { - if v == nil { - return nil - } - return v.Values - }).(pulumi.StringArrayOutput) +func (o RecipientTokenArrayOutput) Index(i pulumi.IntInput) RecipientTokenOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RecipientToken { + return vs[0].([]RecipientToken)[vs[1].(int)] + }).(RecipientTokenOutput) } -type SqlQueryParameterEnumMultiple struct { - Prefix *string `pulumi:"prefix"` - Separator string `pulumi:"separator"` - Suffix *string `pulumi:"suffix"` +type RepoSparseCheckout struct { + // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. + // + // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. + Patterns []string `pulumi:"patterns"` } -// SqlQueryParameterEnumMultipleInput is an input type that accepts SqlQueryParameterEnumMultipleArgs and SqlQueryParameterEnumMultipleOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumMultipleInput` via: +// RepoSparseCheckoutInput is an input type that accepts RepoSparseCheckoutArgs and RepoSparseCheckoutOutput values. +// You can construct a concrete instance of `RepoSparseCheckoutInput` via: // -// SqlQueryParameterEnumMultipleArgs{...} -type SqlQueryParameterEnumMultipleInput interface { +// RepoSparseCheckoutArgs{...} +type RepoSparseCheckoutInput interface { pulumi.Input - ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput - ToSqlQueryParameterEnumMultipleOutputWithContext(context.Context) SqlQueryParameterEnumMultipleOutput + ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput + ToRepoSparseCheckoutOutputWithContext(context.Context) RepoSparseCheckoutOutput } -type SqlQueryParameterEnumMultipleArgs struct { - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - Separator pulumi.StringInput `pulumi:"separator"` - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type RepoSparseCheckoutArgs struct { + // array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. + // + // Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. + Patterns pulumi.StringArrayInput `pulumi:"patterns"` } -func (SqlQueryParameterEnumMultipleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() +func (RepoSparseCheckoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { - return i.ToSqlQueryParameterEnumMultipleOutputWithContext(context.Background()) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { + return i.ToRepoSparseCheckoutOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput).ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx) +func (i RepoSparseCheckoutArgs) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutOutput).ToRepoSparseCheckoutPtrOutputWithContext(ctx) } -// SqlQueryParameterEnumMultiplePtrInput is an input type that accepts SqlQueryParameterEnumMultipleArgs, SqlQueryParameterEnumMultiplePtr and SqlQueryParameterEnumMultiplePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterEnumMultiplePtrInput` via: +// RepoSparseCheckoutPtrInput is an input type that accepts RepoSparseCheckoutArgs, RepoSparseCheckoutPtr and RepoSparseCheckoutPtrOutput values. +// You can construct a concrete instance of `RepoSparseCheckoutPtrInput` via: // -// SqlQueryParameterEnumMultipleArgs{...} +// RepoSparseCheckoutArgs{...} // // or: // // nil -type SqlQueryParameterEnumMultiplePtrInput interface { +type RepoSparseCheckoutPtrInput interface { pulumi.Input - ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput - ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Context) SqlQueryParameterEnumMultiplePtrOutput + ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput + ToRepoSparseCheckoutPtrOutputWithContext(context.Context) RepoSparseCheckoutPtrOutput } -type sqlQueryParameterEnumMultiplePtrType SqlQueryParameterEnumMultipleArgs +type repoSparseCheckoutPtrType RepoSparseCheckoutArgs -func SqlQueryParameterEnumMultiplePtr(v *SqlQueryParameterEnumMultipleArgs) SqlQueryParameterEnumMultiplePtrInput { - return (*sqlQueryParameterEnumMultiplePtrType)(v) +func RepoSparseCheckoutPtr(v *RepoSparseCheckoutArgs) RepoSparseCheckoutPtrInput { + return (*repoSparseCheckoutPtrType)(v) } -func (*sqlQueryParameterEnumMultiplePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() +func (*repoSparseCheckoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() } -func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return i.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultiplePtrOutput) +func (i *repoSparseCheckoutPtrType) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RepoSparseCheckoutPtrOutput) } -type SqlQueryParameterEnumMultipleOutput struct{ *pulumi.OutputState } +type RepoSparseCheckoutOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumMultipleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() +func (RepoSparseCheckoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RepoSparseCheckout)(nil)).Elem() } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutput() RepoSparseCheckoutOutput { return o } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutOutputWithContext(ctx context.Context) RepoSparseCheckoutOutput { return o } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { - return o.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { + return o.ToRepoSparseCheckoutPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnumMultiple) *SqlQueryParameterEnumMultiple { +func (o RepoSparseCheckoutOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RepoSparseCheckout) *RepoSparseCheckout { return &v - }).(SqlQueryParameterEnumMultiplePtrOutput) -} - -func (o SqlQueryParameterEnumMultipleOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) -} - -func (o SqlQueryParameterEnumMultipleOutput) Separator() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) string { return v.Separator }).(pulumi.StringOutput) + }).(RepoSparseCheckoutPtrOutput) } -func (o SqlQueryParameterEnumMultipleOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. +// +// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. +func (o RepoSparseCheckoutOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v RepoSparseCheckout) []string { return v.Patterns }).(pulumi.StringArrayOutput) } -type SqlQueryParameterEnumMultiplePtrOutput struct{ *pulumi.OutputState } +type RepoSparseCheckoutPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterEnumMultiplePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() +func (RepoSparseCheckoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RepoSparseCheckout)(nil)).Elem() } -func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { +func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutput() RepoSparseCheckoutPtrOutput { return o } -func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { +func (o RepoSparseCheckoutPtrOutput) ToRepoSparseCheckoutPtrOutputWithContext(ctx context.Context) RepoSparseCheckoutPtrOutput { return o } -func (o SqlQueryParameterEnumMultiplePtrOutput) Elem() SqlQueryParameterEnumMultipleOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) SqlQueryParameterEnumMultiple { +func (o RepoSparseCheckoutPtrOutput) Elem() RepoSparseCheckoutOutput { + return o.ApplyT(func(v *RepoSparseCheckout) RepoSparseCheckout { if v != nil { return *v } - var ret SqlQueryParameterEnumMultiple + var ret RepoSparseCheckout return ret - }).(SqlQueryParameterEnumMultipleOutput) -} - -func (o SqlQueryParameterEnumMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { - if v == nil { - return nil - } - return v.Prefix - }).(pulumi.StringPtrOutput) -} - -func (o SqlQueryParameterEnumMultiplePtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { - if v == nil { - return nil - } - return &v.Separator - }).(pulumi.StringPtrOutput) + }).(RepoSparseCheckoutOutput) } -func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { +// array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. +// +// Addition or removal of the `sparseCheckout` configuration block will lead to recreation of the Git folder. +func (o RepoSparseCheckoutPtrOutput) Patterns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RepoSparseCheckout) []string { if v == nil { return nil } - return v.Suffix - }).(pulumi.StringPtrOutput) + return v.Patterns + }).(pulumi.StringArrayOutput) } -type SqlQueryParameterNumber struct { - // The default value for this parameter. - Value float64 `pulumi:"value"` +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { + // The restrict workspace admins status for the workspace. + Status string `pulumi:"status"` } -// SqlQueryParameterNumberInput is an input type that accepts SqlQueryParameterNumberArgs and SqlQueryParameterNumberOutput values. -// You can construct a concrete instance of `SqlQueryParameterNumberInput` via: +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput values. +// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput` via: // -// SqlQueryParameterNumberArgs{...} -type SqlQueryParameterNumberInput interface { +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsInput interface { pulumi.Input - ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput - ToSqlQueryParameterNumberOutputWithContext(context.Context) SqlQueryParameterNumberOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput } -type SqlQueryParameterNumberArgs struct { - // The default value for this parameter. - Value pulumi.Float64Input `pulumi:"value"` +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs struct { + // The restrict workspace admins status for the workspace. + Status pulumi.StringInput `pulumi:"status"` } -func (SqlQueryParameterNumberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { - return i.ToSqlQueryParameterNumberOutputWithContext(context.Background()) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(context.Background()) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput).ToSqlQueryParameterNumberPtrOutputWithContext(ctx) +func (i RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput).ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx) } -// SqlQueryParameterNumberPtrInput is an input type that accepts SqlQueryParameterNumberArgs, SqlQueryParameterNumberPtr and SqlQueryParameterNumberPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterNumberPtrInput` via: +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput is an input type that accepts RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs, RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr and RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput values. +// You can construct a concrete instance of `RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput` via: // -// SqlQueryParameterNumberArgs{...} +// RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs{...} // // or: // // nil -type SqlQueryParameterNumberPtrInput interface { +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput interface { pulumi.Input - ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput - ToSqlQueryParameterNumberPtrOutputWithContext(context.Context) SqlQueryParameterNumberPtrOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput + ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput } -type sqlQueryParameterNumberPtrType SqlQueryParameterNumberArgs +type restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs -func SqlQueryParameterNumberPtr(v *SqlQueryParameterNumberArgs) SqlQueryParameterNumberPtrInput { - return (*sqlQueryParameterNumberPtrType)(v) +func RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtr(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrInput { + return (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType)(v) } -func (*sqlQueryParameterNumberPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() +func (*restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return i.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberPtrOutput) +func (i *restrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrType) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) } -type SqlQueryParameterNumberOutput struct{ *pulumi.OutputState } +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterNumberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { return o } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { return o } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { - return o.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return o.ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterNumber) *SqlQueryParameterNumber { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { return &v - }).(SqlQueryParameterNumberPtrOutput) + }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) +// The restrict workspace admins status for the workspace. +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) string { return v.Status }).(pulumi.StringOutput) } -type SqlQueryParameterNumberPtrOutput struct{ *pulumi.OutputState } +type RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterNumberPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() +func (RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins)(nil)).Elem() } -func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { return o } -func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) ToRestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutputWithContext(ctx context.Context) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput { return o } -func (o SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { - return o.ApplyT(func(v *SqlQueryParameterNumber) SqlQueryParameterNumber { +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Elem() RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput { + return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins { if v != nil { return *v } - var ret SqlQueryParameterNumber + var ret RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins return ret - }).(SqlQueryParameterNumberOutput) + }).(RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsOutput) } -// The default value for this parameter. -func (o SqlQueryParameterNumberPtrOutput) Value() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *SqlQueryParameterNumber) *float64 { +// The restrict workspace admins status for the workspace. +func (o RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsPtrOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins) *string { if v == nil { return nil } - return &v.Value - }).(pulumi.Float64PtrOutput) + return &v.Status + }).(pulumi.StringPtrOutput) } -type SqlQueryParameterQuery struct { - Multiple *SqlQueryParameterQueryMultiple `pulumi:"multiple"` - QueryId string `pulumi:"queryId"` - // The default value for this parameter. - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` +type SecretScopeKeyvaultMetadata struct { + DnsName string `pulumi:"dnsName"` + ResourceId string `pulumi:"resourceId"` } -// SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryInput` via: +// SecretScopeKeyvaultMetadataInput is an input type that accepts SecretScopeKeyvaultMetadataArgs and SecretScopeKeyvaultMetadataOutput values. +// You can construct a concrete instance of `SecretScopeKeyvaultMetadataInput` via: // -// SqlQueryParameterQueryArgs{...} -type SqlQueryParameterQueryInput interface { +// SecretScopeKeyvaultMetadataArgs{...} +type SecretScopeKeyvaultMetadataInput interface { pulumi.Input - ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput - ToSqlQueryParameterQueryOutputWithContext(context.Context) SqlQueryParameterQueryOutput + ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput + ToSecretScopeKeyvaultMetadataOutputWithContext(context.Context) SecretScopeKeyvaultMetadataOutput } -type SqlQueryParameterQueryArgs struct { - Multiple SqlQueryParameterQueryMultiplePtrInput `pulumi:"multiple"` - QueryId pulumi.StringInput `pulumi:"queryId"` - // The default value for this parameter. - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` +type SecretScopeKeyvaultMetadataArgs struct { + DnsName pulumi.StringInput `pulumi:"dnsName"` + ResourceId pulumi.StringInput `pulumi:"resourceId"` } -func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() +func (SecretScopeKeyvaultMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { - return i.ToSqlQueryParameterQueryOutputWithContext(context.Background()) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { + return i.ToSecretScopeKeyvaultMetadataOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput).ToSqlQueryParameterQueryPtrOutputWithContext(ctx) +func (i SecretScopeKeyvaultMetadataArgs) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataOutput).ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx) } -// SqlQueryParameterQueryPtrInput is an input type that accepts SqlQueryParameterQueryArgs, SqlQueryParameterQueryPtr and SqlQueryParameterQueryPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryPtrInput` via: +// SecretScopeKeyvaultMetadataPtrInput is an input type that accepts SecretScopeKeyvaultMetadataArgs, SecretScopeKeyvaultMetadataPtr and SecretScopeKeyvaultMetadataPtrOutput values. +// You can construct a concrete instance of `SecretScopeKeyvaultMetadataPtrInput` via: // -// SqlQueryParameterQueryArgs{...} +// SecretScopeKeyvaultMetadataArgs{...} // // or: // // nil -type SqlQueryParameterQueryPtrInput interface { +type SecretScopeKeyvaultMetadataPtrInput interface { pulumi.Input - ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput - ToSqlQueryParameterQueryPtrOutputWithContext(context.Context) SqlQueryParameterQueryPtrOutput + ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput + ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Context) SecretScopeKeyvaultMetadataPtrOutput } -type sqlQueryParameterQueryPtrType SqlQueryParameterQueryArgs +type secretScopeKeyvaultMetadataPtrType SecretScopeKeyvaultMetadataArgs -func SqlQueryParameterQueryPtr(v *SqlQueryParameterQueryArgs) SqlQueryParameterQueryPtrInput { - return (*sqlQueryParameterQueryPtrType)(v) +func SecretScopeKeyvaultMetadataPtr(v *SecretScopeKeyvaultMetadataArgs) SecretScopeKeyvaultMetadataPtrInput { + return (*secretScopeKeyvaultMetadataPtrType)(v) } -func (*sqlQueryParameterQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() +func (*secretScopeKeyvaultMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return i.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryPtrOutput) +func (i *secretScopeKeyvaultMetadataPtrType) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretScopeKeyvaultMetadataPtrOutput) } -type SqlQueryParameterQueryOutput struct{ *pulumi.OutputState } - -func (SqlQueryParameterQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() +type SecretScopeKeyvaultMetadataOutput struct{ *pulumi.OutputState } + +func (SecretScopeKeyvaultMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutput() SecretScopeKeyvaultMetadataOutput { return o } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataOutput { return o } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { - return o.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { + return o.ToSecretScopeKeyvaultMetadataPtrOutputWithContext(context.Background()) } -func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQuery) *SqlQueryParameterQuery { +func (o SecretScopeKeyvaultMetadataOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretScopeKeyvaultMetadata) *SecretScopeKeyvaultMetadata { return &v - }).(SqlQueryParameterQueryPtrOutput) -} - -func (o SqlQueryParameterQueryOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { return v.Multiple }).(SqlQueryParameterQueryMultiplePtrOutput) -} - -func (o SqlQueryParameterQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) string { return v.QueryId }).(pulumi.StringOutput) + }).(SecretScopeKeyvaultMetadataPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterQueryOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o SecretScopeKeyvaultMetadataOutput) DnsName() pulumi.StringOutput { + return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.DnsName }).(pulumi.StringOutput) } -func (o SqlQueryParameterQueryOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlQueryParameterQuery) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o SecretScopeKeyvaultMetadataOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v SecretScopeKeyvaultMetadata) string { return v.ResourceId }).(pulumi.StringOutput) } -type SqlQueryParameterQueryPtrOutput struct{ *pulumi.OutputState } +type SecretScopeKeyvaultMetadataPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() +func (SecretScopeKeyvaultMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretScopeKeyvaultMetadata)(nil)).Elem() } -func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { +func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutput() SecretScopeKeyvaultMetadataPtrOutput { return o } -func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { +func (o SecretScopeKeyvaultMetadataPtrOutput) ToSecretScopeKeyvaultMetadataPtrOutputWithContext(ctx context.Context) SecretScopeKeyvaultMetadataPtrOutput { return o } -func (o SqlQueryParameterQueryPtrOutput) Elem() SqlQueryParameterQueryOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) SqlQueryParameterQuery { +func (o SecretScopeKeyvaultMetadataPtrOutput) Elem() SecretScopeKeyvaultMetadataOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) SecretScopeKeyvaultMetadata { if v != nil { return *v } - var ret SqlQueryParameterQuery + var ret SecretScopeKeyvaultMetadata return ret - }).(SqlQueryParameterQueryOutput) -} - -func (o SqlQueryParameterQueryPtrOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { - if v == nil { - return nil - } - return v.Multiple - }).(SqlQueryParameterQueryMultiplePtrOutput) + }).(SecretScopeKeyvaultMetadataOutput) } -func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *string { +func (o SecretScopeKeyvaultMetadataPtrOutput) DnsName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { if v == nil { return nil } - return &v.QueryId + return &v.DnsName }).(pulumi.StringPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterQueryPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) *string { +func (o SecretScopeKeyvaultMetadataPtrOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretScopeKeyvaultMetadata) *string { if v == nil { return nil } - return v.Value + return &v.ResourceId }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryPtrOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SqlQueryParameterQuery) []string { - if v == nil { - return nil - } - return v.Values - }).(pulumi.StringArrayOutput) -} - -type SqlQueryParameterQueryMultiple struct { - Prefix *string `pulumi:"prefix"` - Separator string `pulumi:"separator"` - Suffix *string `pulumi:"suffix"` +type ShareObject struct { + AddedAt *int `pulumi:"addedAt"` + AddedBy *string `pulumi:"addedBy"` + // Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `historyDataSharingStatus` can not be set. + CdfEnabled *bool `pulumi:"cdfEnabled"` + // Description about the object. + Comment *string `pulumi:"comment"` + Content *string `pulumi:"content"` + // Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. + DataObjectType string `pulumi:"dataObjectType"` + // Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The startVersion should be less than or equal the current version of the object. When this field is set, field `cdfEnabled` can not be set. + // + // To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. + HistoryDataSharingStatus *string `pulumi:"historyDataSharingStatus"` + // Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. + Name string `pulumi:"name"` + Partitions []ShareObjectPartition `pulumi:"partitions"` + // A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `sharedAs` name. The `sharedAs` name must be unique within a Share. Change forces creation of a new resource. + SharedAs *string `pulumi:"sharedAs"` + // The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. + StartVersion *int `pulumi:"startVersion"` + // Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. + Status *string `pulumi:"status"` + StringSharedAs *string `pulumi:"stringSharedAs"` } -// SqlQueryParameterQueryMultipleInput is an input type that accepts SqlQueryParameterQueryMultipleArgs and SqlQueryParameterQueryMultipleOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryMultipleInput` via: +// ShareObjectInput is an input type that accepts ShareObjectArgs and ShareObjectOutput values. +// You can construct a concrete instance of `ShareObjectInput` via: // -// SqlQueryParameterQueryMultipleArgs{...} -type SqlQueryParameterQueryMultipleInput interface { +// ShareObjectArgs{...} +type ShareObjectInput interface { pulumi.Input - ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput - ToSqlQueryParameterQueryMultipleOutputWithContext(context.Context) SqlQueryParameterQueryMultipleOutput + ToShareObjectOutput() ShareObjectOutput + ToShareObjectOutputWithContext(context.Context) ShareObjectOutput } -type SqlQueryParameterQueryMultipleArgs struct { - Prefix pulumi.StringPtrInput `pulumi:"prefix"` - Separator pulumi.StringInput `pulumi:"separator"` - Suffix pulumi.StringPtrInput `pulumi:"suffix"` +type ShareObjectArgs struct { + AddedAt pulumi.IntPtrInput `pulumi:"addedAt"` + AddedBy pulumi.StringPtrInput `pulumi:"addedBy"` + // Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `historyDataSharingStatus` can not be set. + CdfEnabled pulumi.BoolPtrInput `pulumi:"cdfEnabled"` + // Description about the object. + Comment pulumi.StringPtrInput `pulumi:"comment"` + Content pulumi.StringPtrInput `pulumi:"content"` + // Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. + DataObjectType pulumi.StringInput `pulumi:"dataObjectType"` + // Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The startVersion should be less than or equal the current version of the object. When this field is set, field `cdfEnabled` can not be set. + // + // To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. + HistoryDataSharingStatus pulumi.StringPtrInput `pulumi:"historyDataSharingStatus"` + // Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. + Name pulumi.StringInput `pulumi:"name"` + Partitions ShareObjectPartitionArrayInput `pulumi:"partitions"` + // A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `sharedAs` name. The `sharedAs` name must be unique within a Share. Change forces creation of a new resource. + SharedAs pulumi.StringPtrInput `pulumi:"sharedAs"` + // The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. + StartVersion pulumi.IntPtrInput `pulumi:"startVersion"` + // Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. + Status pulumi.StringPtrInput `pulumi:"status"` + StringSharedAs pulumi.StringPtrInput `pulumi:"stringSharedAs"` } -func (SqlQueryParameterQueryMultipleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() +func (ShareObjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObject)(nil)).Elem() } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { - return i.ToSqlQueryParameterQueryMultipleOutputWithContext(context.Background()) +func (i ShareObjectArgs) ToShareObjectOutput() ShareObjectOutput { + return i.ToShareObjectOutputWithContext(context.Background()) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput) +func (i ShareObjectArgs) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectOutput) } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +// ShareObjectArrayInput is an input type that accepts ShareObjectArray and ShareObjectArrayOutput values. +// You can construct a concrete instance of `ShareObjectArrayInput` via: +// +// ShareObjectArray{ ShareObjectArgs{...} } +type ShareObjectArrayInput interface { + pulumi.Input + + ToShareObjectArrayOutput() ShareObjectArrayOutput + ToShareObjectArrayOutputWithContext(context.Context) ShareObjectArrayOutput } -func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput).ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx) +type ShareObjectArray []ShareObjectInput + +func (ShareObjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObject)(nil)).Elem() } -// SqlQueryParameterQueryMultiplePtrInput is an input type that accepts SqlQueryParameterQueryMultipleArgs, SqlQueryParameterQueryMultiplePtr and SqlQueryParameterQueryMultiplePtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterQueryMultiplePtrInput` via: -// -// SqlQueryParameterQueryMultipleArgs{...} -// -// or: -// -// nil -type SqlQueryParameterQueryMultiplePtrInput interface { - pulumi.Input +func (i ShareObjectArray) ToShareObjectArrayOutput() ShareObjectArrayOutput { + return i.ToShareObjectArrayOutputWithContext(context.Background()) +} - ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput - ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Context) SqlQueryParameterQueryMultiplePtrOutput +func (i ShareObjectArray) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectArrayOutput) } -type sqlQueryParameterQueryMultiplePtrType SqlQueryParameterQueryMultipleArgs +type ShareObjectOutput struct{ *pulumi.OutputState } -func SqlQueryParameterQueryMultiplePtr(v *SqlQueryParameterQueryMultipleArgs) SqlQueryParameterQueryMultiplePtrInput { - return (*sqlQueryParameterQueryMultiplePtrType)(v) +func (ShareObjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObject)(nil)).Elem() } -func (*sqlQueryParameterQueryMultiplePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() +func (o ShareObjectOutput) ToShareObjectOutput() ShareObjectOutput { + return o } -func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +func (o ShareObjectOutput) ToShareObjectOutputWithContext(ctx context.Context) ShareObjectOutput { + return o } -func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultiplePtrOutput) +func (o ShareObjectOutput) AddedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v ShareObject) *int { return v.AddedAt }).(pulumi.IntPtrOutput) } -type SqlQueryParameterQueryMultipleOutput struct{ *pulumi.OutputState } +func (o ShareObjectOutput) AddedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.AddedBy }).(pulumi.StringPtrOutput) +} -func (SqlQueryParameterQueryMultipleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() +// Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `historyDataSharingStatus` can not be set. +func (o ShareObjectOutput) CdfEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ShareObject) *bool { return v.CdfEnabled }).(pulumi.BoolPtrOutput) } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { - return o +// Description about the object. +func (o ShareObjectOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { - return o +func (o ShareObjectOutput) Content() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.Content }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { - return o.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) +// Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. +func (o ShareObjectOutput) DataObjectType() pulumi.StringOutput { + return o.ApplyT(func(v ShareObject) string { return v.DataObjectType }).(pulumi.StringOutput) } -func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQueryMultiple) *SqlQueryParameterQueryMultiple { - return &v - }).(SqlQueryParameterQueryMultiplePtrOutput) +// Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The startVersion should be less than or equal the current version of the object. When this field is set, field `cdfEnabled` can not be set. +// +// To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. +func (o ShareObjectOutput) HistoryDataSharingStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.HistoryDataSharingStatus }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryMultipleOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) +// Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. +func (o ShareObjectOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ShareObject) string { return v.Name }).(pulumi.StringOutput) } -func (o SqlQueryParameterQueryMultipleOutput) Separator() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) string { return v.Separator }).(pulumi.StringOutput) +func (o ShareObjectOutput) Partitions() ShareObjectPartitionArrayOutput { + return o.ApplyT(func(v ShareObject) []ShareObjectPartition { return v.Partitions }).(ShareObjectPartitionArrayOutput) } -func (o SqlQueryParameterQueryMultipleOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) +// A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `sharedAs` name. The `sharedAs` name must be unique within a Share. Change forces creation of a new resource. +func (o ShareObjectOutput) SharedAs() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.SharedAs }).(pulumi.StringPtrOutput) } -type SqlQueryParameterQueryMultiplePtrOutput struct{ *pulumi.OutputState } +// The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. +func (o ShareObjectOutput) StartVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v ShareObject) *int { return v.StartVersion }).(pulumi.IntPtrOutput) +} -func (SqlQueryParameterQueryMultiplePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() +// Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. +func (o ShareObjectOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.Status }).(pulumi.StringPtrOutput) } -func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { +func (o ShareObjectOutput) StringSharedAs() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObject) *string { return v.StringSharedAs }).(pulumi.StringPtrOutput) +} + +type ShareObjectArrayOutput struct{ *pulumi.OutputState } + +func (ShareObjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObject)(nil)).Elem() +} + +func (o ShareObjectArrayOutput) ToShareObjectArrayOutput() ShareObjectArrayOutput { return o } -func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { +func (o ShareObjectArrayOutput) ToShareObjectArrayOutputWithContext(ctx context.Context) ShareObjectArrayOutput { return o } -func (o SqlQueryParameterQueryMultiplePtrOutput) Elem() SqlQueryParameterQueryMultipleOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) SqlQueryParameterQueryMultiple { - if v != nil { - return *v - } - var ret SqlQueryParameterQueryMultiple - return ret - }).(SqlQueryParameterQueryMultipleOutput) +func (o ShareObjectArrayOutput) Index(i pulumi.IntInput) ShareObjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObject { + return vs[0].([]ShareObject)[vs[1].(int)] + }).(ShareObjectOutput) } -func (o SqlQueryParameterQueryMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { - if v == nil { - return nil - } - return v.Prefix - }).(pulumi.StringPtrOutput) +type ShareObjectPartition struct { + // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. + Values []ShareObjectPartitionValue `pulumi:"values"` } -func (o SqlQueryParameterQueryMultiplePtrOutput) Separator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { - if v == nil { - return nil - } - return &v.Separator - }).(pulumi.StringPtrOutput) +// ShareObjectPartitionInput is an input type that accepts ShareObjectPartitionArgs and ShareObjectPartitionOutput values. +// You can construct a concrete instance of `ShareObjectPartitionInput` via: +// +// ShareObjectPartitionArgs{...} +type ShareObjectPartitionInput interface { + pulumi.Input + + ToShareObjectPartitionOutput() ShareObjectPartitionOutput + ToShareObjectPartitionOutputWithContext(context.Context) ShareObjectPartitionOutput } -func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { - if v == nil { - return nil - } - return v.Suffix - }).(pulumi.StringPtrOutput) +type ShareObjectPartitionArgs struct { + // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. + Values ShareObjectPartitionValueArrayInput `pulumi:"values"` } -type SqlQueryParameterText struct { - // The default value for this parameter. - Value string `pulumi:"value"` +func (ShareObjectPartitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() } -// SqlQueryParameterTextInput is an input type that accepts SqlQueryParameterTextArgs and SqlQueryParameterTextOutput values. -// You can construct a concrete instance of `SqlQueryParameterTextInput` via: +func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { + return i.ToShareObjectPartitionOutputWithContext(context.Background()) +} + +func (i ShareObjectPartitionArgs) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionOutput) +} + +// ShareObjectPartitionArrayInput is an input type that accepts ShareObjectPartitionArray and ShareObjectPartitionArrayOutput values. +// You can construct a concrete instance of `ShareObjectPartitionArrayInput` via: // -// SqlQueryParameterTextArgs{...} -type SqlQueryParameterTextInput interface { +// ShareObjectPartitionArray{ ShareObjectPartitionArgs{...} } +type ShareObjectPartitionArrayInput interface { pulumi.Input - ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput - ToSqlQueryParameterTextOutputWithContext(context.Context) SqlQueryParameterTextOutput + ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput + ToShareObjectPartitionArrayOutputWithContext(context.Context) ShareObjectPartitionArrayOutput } -type SqlQueryParameterTextArgs struct { - // The default value for this parameter. - Value pulumi.StringInput `pulumi:"value"` +type ShareObjectPartitionArray []ShareObjectPartitionInput + +func (ShareObjectPartitionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() } -func (SqlQueryParameterTextArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() +func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { + return i.ToShareObjectPartitionArrayOutputWithContext(context.Background()) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { - return i.ToSqlQueryParameterTextOutputWithContext(context.Background()) +func (i ShareObjectPartitionArray) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionArrayOutput) } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput) +type ShareObjectPartitionOutput struct{ *pulumi.OutputState } + +func (ShareObjectPartitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartition)(nil)).Elem() } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutput() ShareObjectPartitionOutput { + return o } -func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput).ToSqlQueryParameterTextPtrOutputWithContext(ctx) +func (o ShareObjectPartitionOutput) ToShareObjectPartitionOutputWithContext(ctx context.Context) ShareObjectPartitionOutput { + return o } -// SqlQueryParameterTextPtrInput is an input type that accepts SqlQueryParameterTextArgs, SqlQueryParameterTextPtr and SqlQueryParameterTextPtrOutput values. -// You can construct a concrete instance of `SqlQueryParameterTextPtrInput` via: -// -// SqlQueryParameterTextArgs{...} -// -// or: +// The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. +func (o ShareObjectPartitionOutput) Values() ShareObjectPartitionValueArrayOutput { + return o.ApplyT(func(v ShareObjectPartition) []ShareObjectPartitionValue { return v.Values }).(ShareObjectPartitionValueArrayOutput) +} + +type ShareObjectPartitionArrayOutput struct{ *pulumi.OutputState } + +func (ShareObjectPartitionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartition)(nil)).Elem() +} + +func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutput() ShareObjectPartitionArrayOutput { + return o +} + +func (o ShareObjectPartitionArrayOutput) ToShareObjectPartitionArrayOutputWithContext(ctx context.Context) ShareObjectPartitionArrayOutput { + return o +} + +func (o ShareObjectPartitionArrayOutput) Index(i pulumi.IntInput) ShareObjectPartitionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObjectPartition { + return vs[0].([]ShareObjectPartition)[vs[1].(int)] + }).(ShareObjectPartitionOutput) +} + +type ShareObjectPartitionValue struct { + // The name of the partition column. + Name string `pulumi:"name"` + // The operator to apply for the value, one of: `EQUAL`, `LIKE` + Op string `pulumi:"op"` + // The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. + RecipientPropertyKey *string `pulumi:"recipientPropertyKey"` + // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. + Value *string `pulumi:"value"` +} + +// ShareObjectPartitionValueInput is an input type that accepts ShareObjectPartitionValueArgs and ShareObjectPartitionValueOutput values. +// You can construct a concrete instance of `ShareObjectPartitionValueInput` via: // -// nil -type SqlQueryParameterTextPtrInput interface { +// ShareObjectPartitionValueArgs{...} +type ShareObjectPartitionValueInput interface { pulumi.Input - ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput - ToSqlQueryParameterTextPtrOutputWithContext(context.Context) SqlQueryParameterTextPtrOutput + ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput + ToShareObjectPartitionValueOutputWithContext(context.Context) ShareObjectPartitionValueOutput } -type sqlQueryParameterTextPtrType SqlQueryParameterTextArgs +type ShareObjectPartitionValueArgs struct { + // The name of the partition column. + Name pulumi.StringInput `pulumi:"name"` + // The operator to apply for the value, one of: `EQUAL`, `LIKE` + Op pulumi.StringInput `pulumi:"op"` + // The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. + RecipientPropertyKey pulumi.StringPtrInput `pulumi:"recipientPropertyKey"` + // The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. + Value pulumi.StringPtrInput `pulumi:"value"` +} -func SqlQueryParameterTextPtr(v *SqlQueryParameterTextArgs) SqlQueryParameterTextPtrInput { - return (*sqlQueryParameterTextPtrType)(v) +func (ShareObjectPartitionValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() } -func (*sqlQueryParameterTextPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { + return i.ToShareObjectPartitionValueOutputWithContext(context.Background()) } -func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +func (i ShareObjectPartitionValueArgs) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueOutput) } -func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextPtrOutput) +// ShareObjectPartitionValueArrayInput is an input type that accepts ShareObjectPartitionValueArray and ShareObjectPartitionValueArrayOutput values. +// You can construct a concrete instance of `ShareObjectPartitionValueArrayInput` via: +// +// ShareObjectPartitionValueArray{ ShareObjectPartitionValueArgs{...} } +type ShareObjectPartitionValueArrayInput interface { + pulumi.Input + + ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput + ToShareObjectPartitionValueArrayOutputWithContext(context.Context) ShareObjectPartitionValueArrayOutput } -type SqlQueryParameterTextOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionValueArray []ShareObjectPartitionValueInput -func (SqlQueryParameterTextOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() +func (ShareObjectPartitionValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { +func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { + return i.ToShareObjectPartitionValueArrayOutputWithContext(context.Background()) +} + +func (i ShareObjectPartitionValueArray) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShareObjectPartitionValueArrayOutput) +} + +type ShareObjectPartitionValueOutput struct{ *pulumi.OutputState } + +func (ShareObjectPartitionValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShareObjectPartitionValue)(nil)).Elem() +} + +func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutput() ShareObjectPartitionValueOutput { return o } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { +func (o ShareObjectPartitionValueOutput) ToShareObjectPartitionValueOutputWithContext(ctx context.Context) ShareObjectPartitionValueOutput { return o } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { - return o.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +// The name of the partition column. +func (o ShareObjectPartitionValueOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ShareObjectPartitionValue) string { return v.Name }).(pulumi.StringOutput) } -func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterText) *SqlQueryParameterText { - return &v - }).(SqlQueryParameterTextPtrOutput) +// The operator to apply for the value, one of: `EQUAL`, `LIKE` +func (o ShareObjectPartitionValueOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v ShareObjectPartitionValue) string { return v.Op }).(pulumi.StringOutput) +} + +// The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. +func (o ShareObjectPartitionValueOutput) RecipientPropertyKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObjectPartitionValue) *string { return v.RecipientPropertyKey }).(pulumi.StringPtrOutput) } -// The default value for this parameter. -func (o SqlQueryParameterTextOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) +// The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipientPropertyKey` can not be set. +func (o ShareObjectPartitionValueOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShareObjectPartitionValue) *string { return v.Value }).(pulumi.StringPtrOutput) } -type SqlQueryParameterTextPtrOutput struct{ *pulumi.OutputState } +type ShareObjectPartitionValueArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryParameterTextPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +func (ShareObjectPartitionValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShareObjectPartitionValue)(nil)).Elem() } -func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { +func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutput() ShareObjectPartitionValueArrayOutput { return o } -func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { +func (o ShareObjectPartitionValueArrayOutput) ToShareObjectPartitionValueArrayOutputWithContext(ctx context.Context) ShareObjectPartitionValueArrayOutput { return o } -func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { - return o.ApplyT(func(v *SqlQueryParameterText) SqlQueryParameterText { - if v != nil { - return *v - } - var ret SqlQueryParameterText - return ret - }).(SqlQueryParameterTextOutput) -} - -// The default value for this parameter. -func (o SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryParameterText) *string { - if v == nil { - return nil - } - return &v.Value - }).(pulumi.StringPtrOutput) +func (o ShareObjectPartitionValueArrayOutput) Index(i pulumi.IntInput) ShareObjectPartitionValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShareObjectPartitionValue { + return vs[0].([]ShareObjectPartitionValue)[vs[1].(int)] + }).(ShareObjectPartitionValueOutput) } -type SqlQuerySchedule struct { - Continuous *SqlQueryScheduleContinuous `pulumi:"continuous"` - Daily *SqlQueryScheduleDaily `pulumi:"daily"` - Weekly *SqlQueryScheduleWeekly `pulumi:"weekly"` +type SqlAlertOptions struct { + // Name of column in the query result to compare in alert evaluation. + Column string `pulumi:"column"` + // Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + CustomBody *string `pulumi:"customBody"` + // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + CustomSubject *string `pulumi:"customSubject"` + // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + EmptyResultState *string `pulumi:"emptyResultState"` + // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. + Muted *bool `pulumi:"muted"` + // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) + Op string `pulumi:"op"` + // Value used to compare in alert evaluation. + Value string `pulumi:"value"` } -// SqlQueryScheduleInput is an input type that accepts SqlQueryScheduleArgs and SqlQueryScheduleOutput values. -// You can construct a concrete instance of `SqlQueryScheduleInput` via: +// SqlAlertOptionsInput is an input type that accepts SqlAlertOptionsArgs and SqlAlertOptionsOutput values. +// You can construct a concrete instance of `SqlAlertOptionsInput` via: // -// SqlQueryScheduleArgs{...} -type SqlQueryScheduleInput interface { +// SqlAlertOptionsArgs{...} +type SqlAlertOptionsInput interface { pulumi.Input - ToSqlQueryScheduleOutput() SqlQueryScheduleOutput - ToSqlQueryScheduleOutputWithContext(context.Context) SqlQueryScheduleOutput + ToSqlAlertOptionsOutput() SqlAlertOptionsOutput + ToSqlAlertOptionsOutputWithContext(context.Context) SqlAlertOptionsOutput } -type SqlQueryScheduleArgs struct { - Continuous SqlQueryScheduleContinuousPtrInput `pulumi:"continuous"` - Daily SqlQueryScheduleDailyPtrInput `pulumi:"daily"` - Weekly SqlQueryScheduleWeeklyPtrInput `pulumi:"weekly"` +type SqlAlertOptionsArgs struct { + // Name of column in the query result to compare in alert evaluation. + Column pulumi.StringInput `pulumi:"column"` + // Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + CustomBody pulumi.StringPtrInput `pulumi:"customBody"` + // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + EmptyResultState pulumi.StringPtrInput `pulumi:"emptyResultState"` + // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. + Muted pulumi.BoolPtrInput `pulumi:"muted"` + // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) + Op pulumi.StringInput `pulumi:"op"` + // Value used to compare in alert evaluation. + Value pulumi.StringInput `pulumi:"value"` } -func (SqlQueryScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() +func (SqlAlertOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() } -func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { - return i.ToSqlQueryScheduleOutputWithContext(context.Background()) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { + return i.ToSqlAlertOptionsOutputWithContext(context.Background()) } -func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput) } -func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput).ToSqlQuerySchedulePtrOutputWithContext(ctx) +func (i SqlAlertOptionsArgs) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsOutput).ToSqlAlertOptionsPtrOutputWithContext(ctx) } -// SqlQuerySchedulePtrInput is an input type that accepts SqlQueryScheduleArgs, SqlQuerySchedulePtr and SqlQuerySchedulePtrOutput values. -// You can construct a concrete instance of `SqlQuerySchedulePtrInput` via: +// SqlAlertOptionsPtrInput is an input type that accepts SqlAlertOptionsArgs, SqlAlertOptionsPtr and SqlAlertOptionsPtrOutput values. +// You can construct a concrete instance of `SqlAlertOptionsPtrInput` via: // -// SqlQueryScheduleArgs{...} +// SqlAlertOptionsArgs{...} // // or: // // nil -type SqlQuerySchedulePtrInput interface { +type SqlAlertOptionsPtrInput interface { pulumi.Input - ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput - ToSqlQuerySchedulePtrOutputWithContext(context.Context) SqlQuerySchedulePtrOutput + ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput + ToSqlAlertOptionsPtrOutputWithContext(context.Context) SqlAlertOptionsPtrOutput } -type sqlQuerySchedulePtrType SqlQueryScheduleArgs +type sqlAlertOptionsPtrType SqlAlertOptionsArgs -func SqlQuerySchedulePtr(v *SqlQueryScheduleArgs) SqlQuerySchedulePtrInput { - return (*sqlQuerySchedulePtrType)(v) +func SqlAlertOptionsPtr(v *SqlAlertOptionsArgs) SqlAlertOptionsPtrInput { + return (*sqlAlertOptionsPtrType)(v) } -func (*sqlQuerySchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() +func (*sqlAlertOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() } -func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return i.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQuerySchedulePtrOutput) +func (i *sqlAlertOptionsPtrType) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlAlertOptionsPtrOutput) } -type SqlQueryScheduleOutput struct{ *pulumi.OutputState } +type SqlAlertOptionsOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() +func (SqlAlertOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlAlertOptions)(nil)).Elem() } -func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutput() SqlAlertOptionsOutput { return o } -func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsOutputWithContext(ctx context.Context) SqlAlertOptionsOutput { return o } -func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { - return o.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { + return o.ToSqlAlertOptionsPtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQuerySchedule) *SqlQuerySchedule { +func (o SqlAlertOptionsOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlAlertOptions) *SqlAlertOptions { return &v - }).(SqlQuerySchedulePtrOutput) + }).(SqlAlertOptionsPtrOutput) } -func (o SqlQueryScheduleOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleContinuous { return v.Continuous }).(SqlQueryScheduleContinuousPtrOutput) +// Name of column in the query result to compare in alert evaluation. +func (o SqlAlertOptionsOutput) Column() pulumi.StringOutput { + return o.ApplyT(func(v SqlAlertOptions) string { return v.Column }).(pulumi.StringOutput) } -func (o SqlQueryScheduleOutput) Daily() SqlQueryScheduleDailyPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleDaily { return v.Daily }).(SqlQueryScheduleDailyPtrOutput) +// Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. +func (o SqlAlertOptionsOutput) CustomBody() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *string { return v.CustomBody }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleWeekly { return v.Weekly }).(SqlQueryScheduleWeeklyPtrOutput) +// Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. +func (o SqlAlertOptionsOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -type SqlQuerySchedulePtrOutput struct{ *pulumi.OutputState } +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *string { return v.EmptyResultState }).(pulumi.StringPtrOutput) +} -func (SqlQuerySchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() +// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. +func (o SqlAlertOptionsOutput) Muted() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *bool { return v.Muted }).(pulumi.BoolPtrOutput) } -func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { +// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) +func (o SqlAlertOptionsOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v SqlAlertOptions) string { return v.Op }).(pulumi.StringOutput) +} + +// Value used to compare in alert evaluation. +func (o SqlAlertOptionsOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlAlertOptions) string { return v.Value }).(pulumi.StringOutput) +} + +type SqlAlertOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SqlAlertOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlAlertOptions)(nil)).Elem() +} + +func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutput() SqlAlertOptionsPtrOutput { return o } -func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { +func (o SqlAlertOptionsPtrOutput) ToSqlAlertOptionsPtrOutputWithContext(ctx context.Context) SqlAlertOptionsPtrOutput { return o } -func (o SqlQuerySchedulePtrOutput) Elem() SqlQueryScheduleOutput { - return o.ApplyT(func(v *SqlQuerySchedule) SqlQuerySchedule { +func (o SqlAlertOptionsPtrOutput) Elem() SqlAlertOptionsOutput { + return o.ApplyT(func(v *SqlAlertOptions) SqlAlertOptions { if v != nil { return *v } - var ret SqlQuerySchedule + var ret SqlAlertOptions return ret - }).(SqlQueryScheduleOutput) + }).(SqlAlertOptionsOutput) } -func (o SqlQuerySchedulePtrOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleContinuous { +// Name of column in the query result to compare in alert evaluation. +func (o SqlAlertOptionsPtrOutput) Column() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { if v == nil { return nil } - return v.Continuous - }).(SqlQueryScheduleContinuousPtrOutput) + return &v.Column + }).(pulumi.StringPtrOutput) } -func (o SqlQuerySchedulePtrOutput) Daily() SqlQueryScheduleDailyPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleDaily { +// Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. +func (o SqlAlertOptionsPtrOutput) CustomBody() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { if v == nil { return nil } - return v.Daily - }).(SqlQueryScheduleDailyPtrOutput) + return v.CustomBody + }).(pulumi.StringPtrOutput) } -func (o SqlQuerySchedulePtrOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleWeekly { +// Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. +func (o SqlAlertOptionsPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { if v == nil { return nil } - return v.Weekly - }).(SqlQueryScheduleWeeklyPtrOutput) + return v.CustomSubject + }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleContinuous struct { - IntervalSeconds int `pulumi:"intervalSeconds"` - UntilDate *string `pulumi:"untilDate"` +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsPtrOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { + if v == nil { + return nil + } + return v.EmptyResultState + }).(pulumi.StringPtrOutput) } -// SqlQueryScheduleContinuousInput is an input type that accepts SqlQueryScheduleContinuousArgs and SqlQueryScheduleContinuousOutput values. -// You can construct a concrete instance of `SqlQueryScheduleContinuousInput` via: +// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. +func (o SqlAlertOptionsPtrOutput) Muted() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *bool { + if v == nil { + return nil + } + return v.Muted + }).(pulumi.BoolPtrOutput) +} + +// Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) +func (o SqlAlertOptionsPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) +} + +// Value used to compare in alert evaluation. +func (o SqlAlertOptionsPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type SqlEndpointChannel struct { + DbsqlVersion *string `pulumi:"dbsqlVersion"` + // Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. + Name *string `pulumi:"name"` +} + +// SqlEndpointChannelInput is an input type that accepts SqlEndpointChannelArgs and SqlEndpointChannelOutput values. +// You can construct a concrete instance of `SqlEndpointChannelInput` via: // -// SqlQueryScheduleContinuousArgs{...} -type SqlQueryScheduleContinuousInput interface { +// SqlEndpointChannelArgs{...} +type SqlEndpointChannelInput interface { pulumi.Input - ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput - ToSqlQueryScheduleContinuousOutputWithContext(context.Context) SqlQueryScheduleContinuousOutput + ToSqlEndpointChannelOutput() SqlEndpointChannelOutput + ToSqlEndpointChannelOutputWithContext(context.Context) SqlEndpointChannelOutput } -type SqlQueryScheduleContinuousArgs struct { - IntervalSeconds pulumi.IntInput `pulumi:"intervalSeconds"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +type SqlEndpointChannelArgs struct { + DbsqlVersion pulumi.StringPtrInput `pulumi:"dbsqlVersion"` + // Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. + Name pulumi.StringPtrInput `pulumi:"name"` } -func (SqlQueryScheduleContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() +func (SqlEndpointChannelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { - return i.ToSqlQueryScheduleContinuousOutputWithContext(context.Background()) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { + return i.ToSqlEndpointChannelOutputWithContext(context.Background()) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput).ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx) +func (i SqlEndpointChannelArgs) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelOutput).ToSqlEndpointChannelPtrOutputWithContext(ctx) } -// SqlQueryScheduleContinuousPtrInput is an input type that accepts SqlQueryScheduleContinuousArgs, SqlQueryScheduleContinuousPtr and SqlQueryScheduleContinuousPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleContinuousPtrInput` via: +// SqlEndpointChannelPtrInput is an input type that accepts SqlEndpointChannelArgs, SqlEndpointChannelPtr and SqlEndpointChannelPtrOutput values. +// You can construct a concrete instance of `SqlEndpointChannelPtrInput` via: // -// SqlQueryScheduleContinuousArgs{...} +// SqlEndpointChannelArgs{...} // // or: // // nil -type SqlQueryScheduleContinuousPtrInput interface { +type SqlEndpointChannelPtrInput interface { pulumi.Input - ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput - ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Context) SqlQueryScheduleContinuousPtrOutput + ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput + ToSqlEndpointChannelPtrOutputWithContext(context.Context) SqlEndpointChannelPtrOutput } -type sqlQueryScheduleContinuousPtrType SqlQueryScheduleContinuousArgs +type sqlEndpointChannelPtrType SqlEndpointChannelArgs -func SqlQueryScheduleContinuousPtr(v *SqlQueryScheduleContinuousArgs) SqlQueryScheduleContinuousPtrInput { - return (*sqlQueryScheduleContinuousPtrType)(v) +func SqlEndpointChannelPtr(v *SqlEndpointChannelArgs) SqlEndpointChannelPtrInput { + return (*sqlEndpointChannelPtrType)(v) } -func (*sqlQueryScheduleContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() +func (*sqlEndpointChannelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() } -func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return i.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousPtrOutput) +func (i *sqlEndpointChannelPtrType) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointChannelPtrOutput) } -type SqlQueryScheduleContinuousOutput struct{ *pulumi.OutputState } +type SqlEndpointChannelOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() +func (SqlEndpointChannelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointChannel)(nil)).Elem() } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutput() SqlEndpointChannelOutput { return o } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelOutputWithContext(ctx context.Context) SqlEndpointChannelOutput { return o } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { - return o.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { + return o.ToSqlEndpointChannelPtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleContinuous) *SqlQueryScheduleContinuous { +func (o SqlEndpointChannelOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointChannel) *SqlEndpointChannel { return &v - }).(SqlQueryScheduleContinuousPtrOutput) + }).(SqlEndpointChannelPtrOutput) } -func (o SqlQueryScheduleContinuousOutput) IntervalSeconds() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleContinuous) int { return v.IntervalSeconds }).(pulumi.IntOutput) +func (o SqlEndpointChannelOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointChannel) *string { return v.DbsqlVersion }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleContinuousOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleContinuous) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +// Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. +func (o SqlEndpointChannelOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointChannel) *string { return v.Name }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleContinuousPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointChannelPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() +func (SqlEndpointChannelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointChannel)(nil)).Elem() } -func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { +func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutput() SqlEndpointChannelPtrOutput { return o } -func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { +func (o SqlEndpointChannelPtrOutput) ToSqlEndpointChannelPtrOutputWithContext(ctx context.Context) SqlEndpointChannelPtrOutput { return o } -func (o SqlQueryScheduleContinuousPtrOutput) Elem() SqlQueryScheduleContinuousOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) SqlQueryScheduleContinuous { +func (o SqlEndpointChannelPtrOutput) Elem() SqlEndpointChannelOutput { + return o.ApplyT(func(v *SqlEndpointChannel) SqlEndpointChannel { if v != nil { return *v } - var ret SqlQueryScheduleContinuous + var ret SqlEndpointChannel return ret - }).(SqlQueryScheduleContinuousOutput) + }).(SqlEndpointChannelOutput) } -func (o SqlQueryScheduleContinuousPtrOutput) IntervalSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) *int { +func (o SqlEndpointChannelPtrOutput) DbsqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointChannel) *string { if v == nil { return nil } - return &v.IntervalSeconds - }).(pulumi.IntPtrOutput) + return v.DbsqlVersion + }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleContinuousPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleContinuous) *string { +// Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. +func (o SqlEndpointChannelPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointChannel) *string { if v == nil { return nil } - return v.UntilDate + return v.Name }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleDaily struct { - IntervalDays int `pulumi:"intervalDays"` - TimeOfDay string `pulumi:"timeOfDay"` - UntilDate *string `pulumi:"untilDate"` +type SqlEndpointHealth struct { + Details *string `pulumi:"details"` + FailureReason *SqlEndpointHealthFailureReason `pulumi:"failureReason"` + Message *string `pulumi:"message"` + Status *string `pulumi:"status"` + Summary *string `pulumi:"summary"` } -// SqlQueryScheduleDailyInput is an input type that accepts SqlQueryScheduleDailyArgs and SqlQueryScheduleDailyOutput values. -// You can construct a concrete instance of `SqlQueryScheduleDailyInput` via: +// SqlEndpointHealthInput is an input type that accepts SqlEndpointHealthArgs and SqlEndpointHealthOutput values. +// You can construct a concrete instance of `SqlEndpointHealthInput` via: // -// SqlQueryScheduleDailyArgs{...} -type SqlQueryScheduleDailyInput interface { +// SqlEndpointHealthArgs{...} +type SqlEndpointHealthInput interface { pulumi.Input - ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput - ToSqlQueryScheduleDailyOutputWithContext(context.Context) SqlQueryScheduleDailyOutput -} - -type SqlQueryScheduleDailyArgs struct { - IntervalDays pulumi.IntInput `pulumi:"intervalDays"` - TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` -} - -func (SqlQueryScheduleDailyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() + ToSqlEndpointHealthOutput() SqlEndpointHealthOutput + ToSqlEndpointHealthOutputWithContext(context.Context) SqlEndpointHealthOutput } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { - return i.ToSqlQueryScheduleDailyOutputWithContext(context.Background()) +type SqlEndpointHealthArgs struct { + Details pulumi.StringPtrInput `pulumi:"details"` + FailureReason SqlEndpointHealthFailureReasonPtrInput `pulumi:"failureReason"` + Message pulumi.StringPtrInput `pulumi:"message"` + Status pulumi.StringPtrInput `pulumi:"status"` + Summary pulumi.StringPtrInput `pulumi:"summary"` } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput) +func (SqlEndpointHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { + return i.ToSqlEndpointHealthOutputWithContext(context.Background()) } -func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput).ToSqlQueryScheduleDailyPtrOutputWithContext(ctx) +func (i SqlEndpointHealthArgs) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthOutput) } -// SqlQueryScheduleDailyPtrInput is an input type that accepts SqlQueryScheduleDailyArgs, SqlQueryScheduleDailyPtr and SqlQueryScheduleDailyPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleDailyPtrInput` via: -// -// SqlQueryScheduleDailyArgs{...} -// -// or: +// SqlEndpointHealthArrayInput is an input type that accepts SqlEndpointHealthArray and SqlEndpointHealthArrayOutput values. +// You can construct a concrete instance of `SqlEndpointHealthArrayInput` via: // -// nil -type SqlQueryScheduleDailyPtrInput interface { +// SqlEndpointHealthArray{ SqlEndpointHealthArgs{...} } +type SqlEndpointHealthArrayInput interface { pulumi.Input - ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput - ToSqlQueryScheduleDailyPtrOutputWithContext(context.Context) SqlQueryScheduleDailyPtrOutput + ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput + ToSqlEndpointHealthArrayOutputWithContext(context.Context) SqlEndpointHealthArrayOutput } -type sqlQueryScheduleDailyPtrType SqlQueryScheduleDailyArgs - -func SqlQueryScheduleDailyPtr(v *SqlQueryScheduleDailyArgs) SqlQueryScheduleDailyPtrInput { - return (*sqlQueryScheduleDailyPtrType)(v) -} +type SqlEndpointHealthArray []SqlEndpointHealthInput -func (*sqlQueryScheduleDailyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +func (SqlEndpointHealthArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() } -func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { + return i.ToSqlEndpointHealthArrayOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyPtrOutput) +func (i SqlEndpointHealthArray) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthArrayOutput) } -type SqlQueryScheduleDailyOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleDailyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() +func (SqlEndpointHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealth)(nil)).Elem() } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { +func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutput() SqlEndpointHealthOutput { return o } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { +func (o SqlEndpointHealthOutput) ToSqlEndpointHealthOutputWithContext(ctx context.Context) SqlEndpointHealthOutput { return o } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { - return o.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) +func (o SqlEndpointHealthOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Details }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleDaily) *SqlQueryScheduleDaily { - return &v - }).(SqlQueryScheduleDailyPtrOutput) +func (o SqlEndpointHealthOutput) FailureReason() SqlEndpointHealthFailureReasonPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *SqlEndpointHealthFailureReason { return v.FailureReason }).(SqlEndpointHealthFailureReasonPtrOutput) } -func (o SqlQueryScheduleDailyOutput) IntervalDays() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) int { return v.IntervalDays }).(pulumi.IntOutput) +func (o SqlEndpointHealthOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleDailyOutput) TimeOfDay() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) string { return v.TimeOfDay }).(pulumi.StringOutput) +func (o SqlEndpointHealthOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Status }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleDailyOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleDaily) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthOutput) Summary() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealth) *string { return v.Summary }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleDailyPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthArrayOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleDailyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() +func (SqlEndpointHealthArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointHealth)(nil)).Elem() } -func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { +func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutput() SqlEndpointHealthArrayOutput { return o } -func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { +func (o SqlEndpointHealthArrayOutput) ToSqlEndpointHealthArrayOutputWithContext(ctx context.Context) SqlEndpointHealthArrayOutput { return o } -func (o SqlQueryScheduleDailyPtrOutput) Elem() SqlQueryScheduleDailyOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) SqlQueryScheduleDaily { - if v != nil { - return *v - } - var ret SqlQueryScheduleDaily - return ret - }).(SqlQueryScheduleDailyOutput) -} - -func (o SqlQueryScheduleDailyPtrOutput) IntervalDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) *int { - if v == nil { - return nil - } - return &v.IntervalDays - }).(pulumi.IntPtrOutput) -} - -func (o SqlQueryScheduleDailyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { - if v == nil { - return nil - } - return &v.TimeOfDay - }).(pulumi.StringPtrOutput) -} - -func (o SqlQueryScheduleDailyPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { - if v == nil { - return nil - } - return v.UntilDate - }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthArrayOutput) Index(i pulumi.IntInput) SqlEndpointHealthOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointHealth { + return vs[0].([]SqlEndpointHealth)[vs[1].(int)] + }).(SqlEndpointHealthOutput) } -type SqlQueryScheduleWeekly struct { - DayOfWeek string `pulumi:"dayOfWeek"` - IntervalWeeks int `pulumi:"intervalWeeks"` - TimeOfDay string `pulumi:"timeOfDay"` - UntilDate *string `pulumi:"untilDate"` +type SqlEndpointHealthFailureReason struct { + Code *string `pulumi:"code"` + Parameters map[string]string `pulumi:"parameters"` + Type *string `pulumi:"type"` } -// SqlQueryScheduleWeeklyInput is an input type that accepts SqlQueryScheduleWeeklyArgs and SqlQueryScheduleWeeklyOutput values. -// You can construct a concrete instance of `SqlQueryScheduleWeeklyInput` via: +// SqlEndpointHealthFailureReasonInput is an input type that accepts SqlEndpointHealthFailureReasonArgs and SqlEndpointHealthFailureReasonOutput values. +// You can construct a concrete instance of `SqlEndpointHealthFailureReasonInput` via: // -// SqlQueryScheduleWeeklyArgs{...} -type SqlQueryScheduleWeeklyInput interface { +// SqlEndpointHealthFailureReasonArgs{...} +type SqlEndpointHealthFailureReasonInput interface { pulumi.Input - ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput - ToSqlQueryScheduleWeeklyOutputWithContext(context.Context) SqlQueryScheduleWeeklyOutput + ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput + ToSqlEndpointHealthFailureReasonOutputWithContext(context.Context) SqlEndpointHealthFailureReasonOutput } -type SqlQueryScheduleWeeklyArgs struct { - DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` - IntervalWeeks pulumi.IntInput `pulumi:"intervalWeeks"` - TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` - UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` +type SqlEndpointHealthFailureReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.StringMapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` } -func (SqlQueryScheduleWeeklyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlEndpointHealthFailureReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { - return i.ToSqlQueryScheduleWeeklyOutputWithContext(context.Background()) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { + return i.ToSqlEndpointHealthFailureReasonOutputWithContext(context.Background()) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput).ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx) +func (i SqlEndpointHealthFailureReasonArgs) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonOutput).ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx) } -// SqlQueryScheduleWeeklyPtrInput is an input type that accepts SqlQueryScheduleWeeklyArgs, SqlQueryScheduleWeeklyPtr and SqlQueryScheduleWeeklyPtrOutput values. -// You can construct a concrete instance of `SqlQueryScheduleWeeklyPtrInput` via: +// SqlEndpointHealthFailureReasonPtrInput is an input type that accepts SqlEndpointHealthFailureReasonArgs, SqlEndpointHealthFailureReasonPtr and SqlEndpointHealthFailureReasonPtrOutput values. +// You can construct a concrete instance of `SqlEndpointHealthFailureReasonPtrInput` via: // -// SqlQueryScheduleWeeklyArgs{...} +// SqlEndpointHealthFailureReasonArgs{...} // // or: // // nil -type SqlQueryScheduleWeeklyPtrInput interface { +type SqlEndpointHealthFailureReasonPtrInput interface { pulumi.Input - ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput - ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Context) SqlQueryScheduleWeeklyPtrOutput + ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput + ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Context) SqlEndpointHealthFailureReasonPtrOutput } -type sqlQueryScheduleWeeklyPtrType SqlQueryScheduleWeeklyArgs +type sqlEndpointHealthFailureReasonPtrType SqlEndpointHealthFailureReasonArgs -func SqlQueryScheduleWeeklyPtr(v *SqlQueryScheduleWeeklyArgs) SqlQueryScheduleWeeklyPtrInput { - return (*sqlQueryScheduleWeeklyPtrType)(v) +func SqlEndpointHealthFailureReasonPtr(v *SqlEndpointHealthFailureReasonArgs) SqlEndpointHealthFailureReasonPtrInput { + return (*sqlEndpointHealthFailureReasonPtrType)(v) } -func (*sqlQueryScheduleWeeklyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() +func (*sqlEndpointHealthFailureReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() } -func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return i.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyPtrOutput) +func (i *sqlEndpointHealthFailureReasonPtrType) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointHealthFailureReasonPtrOutput) } -type SqlQueryScheduleWeeklyOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthFailureReasonOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleWeeklyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlEndpointHealthFailureReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointHealthFailureReason)(nil)).Elem() } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutput() SqlEndpointHealthFailureReasonOutput { return o } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonOutput { return o } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { - return o.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { + return o.ToSqlEndpointHealthFailureReasonPtrOutputWithContext(context.Background()) } -func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleWeekly) *SqlQueryScheduleWeekly { +func (o SqlEndpointHealthFailureReasonOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointHealthFailureReason) *SqlEndpointHealthFailureReason { return &v - }).(SqlQueryScheduleWeeklyPtrOutput) -} - -func (o SqlQueryScheduleWeeklyOutput) DayOfWeek() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.DayOfWeek }).(pulumi.StringOutput) + }).(SqlEndpointHealthFailureReasonPtrOutput) } -func (o SqlQueryScheduleWeeklyOutput) IntervalWeeks() pulumi.IntOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) int { return v.IntervalWeeks }).(pulumi.IntOutput) +func (o SqlEndpointHealthFailureReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Code }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyOutput) TimeOfDay() pulumi.StringOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.TimeOfDay }).(pulumi.StringOutput) +func (o SqlEndpointHealthFailureReasonOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) } -func (o SqlQueryScheduleWeeklyOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlQueryScheduleWeekly) *string { return v.UntilDate }).(pulumi.StringPtrOutput) +func (o SqlEndpointHealthFailureReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointHealthFailureReason) *string { return v.Type }).(pulumi.StringPtrOutput) } -type SqlQueryScheduleWeeklyPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointHealthFailureReasonPtrOutput struct{ *pulumi.OutputState } -func (SqlQueryScheduleWeeklyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() +func (SqlEndpointHealthFailureReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointHealthFailureReason)(nil)).Elem() } -func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { +func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutput() SqlEndpointHealthFailureReasonPtrOutput { return o } -func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { +func (o SqlEndpointHealthFailureReasonPtrOutput) ToSqlEndpointHealthFailureReasonPtrOutputWithContext(ctx context.Context) SqlEndpointHealthFailureReasonPtrOutput { return o } -func (o SqlQueryScheduleWeeklyPtrOutput) Elem() SqlQueryScheduleWeeklyOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) SqlQueryScheduleWeekly { +func (o SqlEndpointHealthFailureReasonPtrOutput) Elem() SqlEndpointHealthFailureReasonOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) SqlEndpointHealthFailureReason { if v != nil { return *v } - var ret SqlQueryScheduleWeekly + var ret SqlEndpointHealthFailureReason return ret - }).(SqlQueryScheduleWeeklyOutput) + }).(SqlEndpointHealthFailureReasonOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) DayOfWeek() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +func (o SqlEndpointHealthFailureReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { if v == nil { return nil } - return &v.DayOfWeek + return v.Code }).(pulumi.StringPtrOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) IntervalWeeks() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *int { - if v == nil { - return nil - } - return &v.IntervalWeeks - }).(pulumi.IntPtrOutput) -} - -func (o SqlQueryScheduleWeeklyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +func (o SqlEndpointHealthFailureReasonPtrOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) map[string]string { if v == nil { return nil } - return &v.TimeOfDay - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringMapOutput) } -func (o SqlQueryScheduleWeeklyPtrOutput) UntilDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { +func (o SqlEndpointHealthFailureReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointHealthFailureReason) *string { if v == nil { return nil } - return v.UntilDate + return v.Type }).(pulumi.StringPtrOutput) } -type SqlTableColumn struct { - // User-supplied free-form text. - Comment *string `pulumi:"comment"` - // Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. - Identity *string `pulumi:"identity"` - // User-visible name of column - Name string `pulumi:"name"` - // Whether field is nullable (Default: `true`) - Nullable *bool `pulumi:"nullable"` - // Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. - Type *string `pulumi:"type"` - TypeJson *string `pulumi:"typeJson"` +type SqlEndpointOdbcParams struct { + Hostname *string `pulumi:"hostname"` + Path *string `pulumi:"path"` + Port *int `pulumi:"port"` + Protocol *string `pulumi:"protocol"` } -// SqlTableColumnInput is an input type that accepts SqlTableColumnArgs and SqlTableColumnOutput values. -// You can construct a concrete instance of `SqlTableColumnInput` via: +// SqlEndpointOdbcParamsInput is an input type that accepts SqlEndpointOdbcParamsArgs and SqlEndpointOdbcParamsOutput values. +// You can construct a concrete instance of `SqlEndpointOdbcParamsInput` via: // -// SqlTableColumnArgs{...} -type SqlTableColumnInput interface { +// SqlEndpointOdbcParamsArgs{...} +type SqlEndpointOdbcParamsInput interface { pulumi.Input - ToSqlTableColumnOutput() SqlTableColumnOutput - ToSqlTableColumnOutputWithContext(context.Context) SqlTableColumnOutput -} - -type SqlTableColumnArgs struct { - // User-supplied free-form text. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. - Identity pulumi.StringPtrInput `pulumi:"identity"` - // User-visible name of column - Name pulumi.StringInput `pulumi:"name"` - // Whether field is nullable (Default: `true`) - Nullable pulumi.BoolPtrInput `pulumi:"nullable"` - // Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. - Type pulumi.StringPtrInput `pulumi:"type"` - TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` -} - -func (SqlTableColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() -} - -func (i SqlTableColumnArgs) ToSqlTableColumnOutput() SqlTableColumnOutput { - return i.ToSqlTableColumnOutputWithContext(context.Background()) -} - -func (i SqlTableColumnArgs) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnOutput) + ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput + ToSqlEndpointOdbcParamsOutputWithContext(context.Context) SqlEndpointOdbcParamsOutput } -// SqlTableColumnArrayInput is an input type that accepts SqlTableColumnArray and SqlTableColumnArrayOutput values. -// You can construct a concrete instance of `SqlTableColumnArrayInput` via: -// -// SqlTableColumnArray{ SqlTableColumnArgs{...} } -type SqlTableColumnArrayInput interface { - pulumi.Input - - ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput - ToSqlTableColumnArrayOutputWithContext(context.Context) SqlTableColumnArrayOutput +type SqlEndpointOdbcParamsArgs struct { + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + Path pulumi.StringPtrInput `pulumi:"path"` + Port pulumi.IntPtrInput `pulumi:"port"` + Protocol pulumi.StringPtrInput `pulumi:"protocol"` } -type SqlTableColumnArray []SqlTableColumnInput - -func (SqlTableColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +func (SqlEndpointOdbcParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() } -func (i SqlTableColumnArray) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { - return i.ToSqlTableColumnArrayOutputWithContext(context.Background()) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { + return i.ToSqlEndpointOdbcParamsOutputWithContext(context.Background()) } -func (i SqlTableColumnArray) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnArrayOutput) +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput) } -type SqlTableColumnOutput struct{ *pulumi.OutputState } - -func (SqlTableColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (o SqlTableColumnOutput) ToSqlTableColumnOutput() SqlTableColumnOutput { - return o +func (i SqlEndpointOdbcParamsArgs) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsOutput).ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx) } -func (o SqlTableColumnOutput) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { - return o -} +// SqlEndpointOdbcParamsPtrInput is an input type that accepts SqlEndpointOdbcParamsArgs, SqlEndpointOdbcParamsPtr and SqlEndpointOdbcParamsPtrOutput values. +// You can construct a concrete instance of `SqlEndpointOdbcParamsPtrInput` via: +// +// SqlEndpointOdbcParamsArgs{...} +// +// or: +// +// nil +type SqlEndpointOdbcParamsPtrInput interface { + pulumi.Input -// User-supplied free-form text. -func (o SqlTableColumnOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlTableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) + ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput + ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Context) SqlEndpointOdbcParamsPtrOutput } -// Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. -func (o SqlTableColumnOutput) Identity() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlTableColumn) *string { return v.Identity }).(pulumi.StringPtrOutput) -} +type sqlEndpointOdbcParamsPtrType SqlEndpointOdbcParamsArgs -// User-visible name of column -func (o SqlTableColumnOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v SqlTableColumn) string { return v.Name }).(pulumi.StringOutput) +func SqlEndpointOdbcParamsPtr(v *SqlEndpointOdbcParamsArgs) SqlEndpointOdbcParamsPtrInput { + return (*sqlEndpointOdbcParamsPtrType)(v) } -// Whether field is nullable (Default: `true`) -func (o SqlTableColumnOutput) Nullable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SqlTableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) +func (*sqlEndpointOdbcParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() } -// Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. -func (o SqlTableColumnOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlTableColumn) *string { return v.Type }).(pulumi.StringPtrOutput) +func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return i.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (o SqlTableColumnOutput) TypeJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlTableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +func (i *sqlEndpointOdbcParamsPtrType) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointOdbcParamsPtrOutput) } -type SqlTableColumnArrayOutput struct{ *pulumi.OutputState } +type SqlEndpointOdbcParamsOutput struct{ *pulumi.OutputState } -func (SqlTableColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() +func (SqlEndpointOdbcParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointOdbcParams)(nil)).Elem() } -func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutput() SqlEndpointOdbcParamsOutput { return o } -func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsOutput { return o } -func (o SqlTableColumnArrayOutput) Index(i pulumi.IntInput) SqlTableColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlTableColumn { - return vs[0].([]SqlTableColumn)[vs[1].(int)] - }).(SqlTableColumnOutput) -} - -type SqlWidgetParameter struct { - MapTo *string `pulumi:"mapTo"` - Name string `pulumi:"name"` - Title *string `pulumi:"title"` - Type string `pulumi:"type"` - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` -} - -// SqlWidgetParameterInput is an input type that accepts SqlWidgetParameterArgs and SqlWidgetParameterOutput values. -// You can construct a concrete instance of `SqlWidgetParameterInput` via: -// -// SqlWidgetParameterArgs{...} -type SqlWidgetParameterInput interface { - pulumi.Input - - ToSqlWidgetParameterOutput() SqlWidgetParameterOutput - ToSqlWidgetParameterOutputWithContext(context.Context) SqlWidgetParameterOutput -} - -type SqlWidgetParameterArgs struct { - MapTo pulumi.StringPtrInput `pulumi:"mapTo"` - Name pulumi.StringInput `pulumi:"name"` - Title pulumi.StringPtrInput `pulumi:"title"` - Type pulumi.StringInput `pulumi:"type"` - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (SqlWidgetParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() -} - -func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { - return i.ToSqlWidgetParameterOutputWithContext(context.Background()) +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { + return o.ToSqlEndpointOdbcParamsPtrOutputWithContext(context.Background()) } -func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterOutput) +func (o SqlEndpointOdbcParamsOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointOdbcParams) *SqlEndpointOdbcParams { + return &v + }).(SqlEndpointOdbcParamsPtrOutput) } -// SqlWidgetParameterArrayInput is an input type that accepts SqlWidgetParameterArray and SqlWidgetParameterArrayOutput values. -// You can construct a concrete instance of `SqlWidgetParameterArrayInput` via: -// -// SqlWidgetParameterArray{ SqlWidgetParameterArgs{...} } -type SqlWidgetParameterArrayInput interface { - pulumi.Input - - ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput - ToSqlWidgetParameterArrayOutputWithContext(context.Context) SqlWidgetParameterArrayOutput +func (o SqlEndpointOdbcParamsOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -type SqlWidgetParameterArray []SqlWidgetParameterInput - -func (SqlWidgetParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() +func (o SqlEndpointOdbcParamsOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Path }).(pulumi.StringPtrOutput) } -func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { - return i.ToSqlWidgetParameterArrayOutputWithContext(context.Background()) +func (o SqlEndpointOdbcParamsOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *int { return v.Port }).(pulumi.IntPtrOutput) } -func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterArrayOutput) +func (o SqlEndpointOdbcParamsOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlEndpointOdbcParams) *string { return v.Protocol }).(pulumi.StringPtrOutput) } -type SqlWidgetParameterOutput struct{ *pulumi.OutputState } +type SqlEndpointOdbcParamsPtrOutput struct{ *pulumi.OutputState } -func (SqlWidgetParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() +func (SqlEndpointOdbcParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointOdbcParams)(nil)).Elem() } -func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { +func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutput() SqlEndpointOdbcParamsPtrOutput { return o } -func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { +func (o SqlEndpointOdbcParamsPtrOutput) ToSqlEndpointOdbcParamsPtrOutputWithContext(ctx context.Context) SqlEndpointOdbcParamsPtrOutput { return o } -func (o SqlWidgetParameterOutput) MapTo() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.MapTo }).(pulumi.StringPtrOutput) -} - -func (o SqlWidgetParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v SqlWidgetParameter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o SqlWidgetParameterOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -func (o SqlWidgetParameterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v SqlWidgetParameter) string { return v.Type }).(pulumi.StringOutput) -} - -func (o SqlWidgetParameterOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -func (o SqlWidgetParameterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v SqlWidgetParameter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o SqlEndpointOdbcParamsPtrOutput) Elem() SqlEndpointOdbcParamsOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) SqlEndpointOdbcParams { + if v != nil { + return *v + } + var ret SqlEndpointOdbcParams + return ret + }).(SqlEndpointOdbcParamsOutput) } -type SqlWidgetParameterArrayOutput struct{ *pulumi.OutputState } - -func (SqlWidgetParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() +func (o SqlEndpointOdbcParamsPtrOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { + if v == nil { + return nil + } + return v.Hostname + }).(pulumi.StringPtrOutput) } -func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { - return o +func (o SqlEndpointOdbcParamsPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { + if v == nil { + return nil + } + return v.Path + }).(pulumi.StringPtrOutput) } -func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { - return o +func (o SqlEndpointOdbcParamsPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *int { + if v == nil { + return nil + } + return v.Port + }).(pulumi.IntPtrOutput) } -func (o SqlWidgetParameterArrayOutput) Index(i pulumi.IntInput) SqlWidgetParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlWidgetParameter { - return vs[0].([]SqlWidgetParameter)[vs[1].(int)] - }).(SqlWidgetParameterOutput) +func (o SqlEndpointOdbcParamsPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlEndpointOdbcParams) *string { + if v == nil { + return nil + } + return v.Protocol + }).(pulumi.StringPtrOutput) } -type SqlWidgetPosition struct { - AutoHeight *bool `pulumi:"autoHeight"` - PosX *int `pulumi:"posX"` - PosY *int `pulumi:"posY"` - SizeX int `pulumi:"sizeX"` - SizeY int `pulumi:"sizeY"` +type SqlEndpointTags struct { + CustomTags []SqlEndpointTagsCustomTag `pulumi:"customTags"` } -// SqlWidgetPositionInput is an input type that accepts SqlWidgetPositionArgs and SqlWidgetPositionOutput values. -// You can construct a concrete instance of `SqlWidgetPositionInput` via: +// SqlEndpointTagsInput is an input type that accepts SqlEndpointTagsArgs and SqlEndpointTagsOutput values. +// You can construct a concrete instance of `SqlEndpointTagsInput` via: // -// SqlWidgetPositionArgs{...} -type SqlWidgetPositionInput interface { +// SqlEndpointTagsArgs{...} +type SqlEndpointTagsInput interface { pulumi.Input - ToSqlWidgetPositionOutput() SqlWidgetPositionOutput - ToSqlWidgetPositionOutputWithContext(context.Context) SqlWidgetPositionOutput + ToSqlEndpointTagsOutput() SqlEndpointTagsOutput + ToSqlEndpointTagsOutputWithContext(context.Context) SqlEndpointTagsOutput } -type SqlWidgetPositionArgs struct { - AutoHeight pulumi.BoolPtrInput `pulumi:"autoHeight"` - PosX pulumi.IntPtrInput `pulumi:"posX"` - PosY pulumi.IntPtrInput `pulumi:"posY"` - SizeX pulumi.IntInput `pulumi:"sizeX"` - SizeY pulumi.IntInput `pulumi:"sizeY"` +type SqlEndpointTagsArgs struct { + CustomTags SqlEndpointTagsCustomTagArrayInput `pulumi:"customTags"` } -func (SqlWidgetPositionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() +func (SqlEndpointTagsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { - return i.ToSqlWidgetPositionOutputWithContext(context.Background()) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { + return i.ToSqlEndpointTagsOutputWithContext(context.Background()) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput).ToSqlWidgetPositionPtrOutputWithContext(ctx) +func (i SqlEndpointTagsArgs) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsOutput).ToSqlEndpointTagsPtrOutputWithContext(ctx) } -// SqlWidgetPositionPtrInput is an input type that accepts SqlWidgetPositionArgs, SqlWidgetPositionPtr and SqlWidgetPositionPtrOutput values. -// You can construct a concrete instance of `SqlWidgetPositionPtrInput` via: +// SqlEndpointTagsPtrInput is an input type that accepts SqlEndpointTagsArgs, SqlEndpointTagsPtr and SqlEndpointTagsPtrOutput values. +// You can construct a concrete instance of `SqlEndpointTagsPtrInput` via: // -// SqlWidgetPositionArgs{...} +// SqlEndpointTagsArgs{...} // // or: // // nil -type SqlWidgetPositionPtrInput interface { +type SqlEndpointTagsPtrInput interface { pulumi.Input - ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput - ToSqlWidgetPositionPtrOutputWithContext(context.Context) SqlWidgetPositionPtrOutput + ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput + ToSqlEndpointTagsPtrOutputWithContext(context.Context) SqlEndpointTagsPtrOutput } -type sqlWidgetPositionPtrType SqlWidgetPositionArgs +type sqlEndpointTagsPtrType SqlEndpointTagsArgs -func SqlWidgetPositionPtr(v *SqlWidgetPositionArgs) SqlWidgetPositionPtrInput { - return (*sqlWidgetPositionPtrType)(v) +func SqlEndpointTagsPtr(v *SqlEndpointTagsArgs) SqlEndpointTagsPtrInput { + return (*sqlEndpointTagsPtrType)(v) } -func (*sqlWidgetPositionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() +func (*sqlEndpointTagsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() } -func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return i.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionPtrOutput) +func (i *sqlEndpointTagsPtrType) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsPtrOutput) } -type SqlWidgetPositionOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsOutput struct{ *pulumi.OutputState } -func (SqlWidgetPositionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() +func (SqlEndpointTagsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTags)(nil)).Elem() } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutput() SqlEndpointTagsOutput { return o } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsOutputWithContext(ctx context.Context) SqlEndpointTagsOutput { return o } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { - return o.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { + return o.ToSqlEndpointTagsPtrOutputWithContext(context.Background()) } -func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlWidgetPosition) *SqlWidgetPosition { +func (o SqlEndpointTagsOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlEndpointTags) *SqlEndpointTags { return &v - }).(SqlWidgetPositionPtrOutput) -} - -func (o SqlWidgetPositionOutput) AutoHeight() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *bool { return v.AutoHeight }).(pulumi.BoolPtrOutput) -} - -func (o SqlWidgetPositionOutput) PosX() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosX }).(pulumi.IntPtrOutput) -} - -func (o SqlWidgetPositionOutput) PosY() pulumi.IntPtrOutput { - return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosY }).(pulumi.IntPtrOutput) -} - -func (o SqlWidgetPositionOutput) SizeX() pulumi.IntOutput { - return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeX }).(pulumi.IntOutput) + }).(SqlEndpointTagsPtrOutput) } -func (o SqlWidgetPositionOutput) SizeY() pulumi.IntOutput { - return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeY }).(pulumi.IntOutput) +func (o SqlEndpointTagsOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { + return o.ApplyT(func(v SqlEndpointTags) []SqlEndpointTagsCustomTag { return v.CustomTags }).(SqlEndpointTagsCustomTagArrayOutput) } -type SqlWidgetPositionPtrOutput struct{ *pulumi.OutputState } +type SqlEndpointTagsPtrOutput struct{ *pulumi.OutputState } -func (SqlWidgetPositionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() +func (SqlEndpointTagsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlEndpointTags)(nil)).Elem() } -func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { +func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutput() SqlEndpointTagsPtrOutput { return o } -func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { +func (o SqlEndpointTagsPtrOutput) ToSqlEndpointTagsPtrOutputWithContext(ctx context.Context) SqlEndpointTagsPtrOutput { return o } -func (o SqlWidgetPositionPtrOutput) Elem() SqlWidgetPositionOutput { - return o.ApplyT(func(v *SqlWidgetPosition) SqlWidgetPosition { +func (o SqlEndpointTagsPtrOutput) Elem() SqlEndpointTagsOutput { + return o.ApplyT(func(v *SqlEndpointTags) SqlEndpointTags { if v != nil { return *v } - var ret SqlWidgetPosition + var ret SqlEndpointTags return ret - }).(SqlWidgetPositionOutput) + }).(SqlEndpointTagsOutput) } -func (o SqlWidgetPositionPtrOutput) AutoHeight() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *bool { +func (o SqlEndpointTagsPtrOutput) CustomTags() SqlEndpointTagsCustomTagArrayOutput { + return o.ApplyT(func(v *SqlEndpointTags) []SqlEndpointTagsCustomTag { if v == nil { return nil } - return v.AutoHeight - }).(pulumi.BoolPtrOutput) + return v.CustomTags + }).(SqlEndpointTagsCustomTagArrayOutput) } -func (o SqlWidgetPositionPtrOutput) PosX() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { - if v == nil { - return nil - } - return v.PosX - }).(pulumi.IntPtrOutput) +type SqlEndpointTagsCustomTag struct { + Key string `pulumi:"key"` + Value string `pulumi:"value"` } -func (o SqlWidgetPositionPtrOutput) PosY() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { - if v == nil { - return nil - } - return v.PosY - }).(pulumi.IntPtrOutput) +// SqlEndpointTagsCustomTagInput is an input type that accepts SqlEndpointTagsCustomTagArgs and SqlEndpointTagsCustomTagOutput values. +// You can construct a concrete instance of `SqlEndpointTagsCustomTagInput` via: +// +// SqlEndpointTagsCustomTagArgs{...} +type SqlEndpointTagsCustomTagInput interface { + pulumi.Input + + ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput + ToSqlEndpointTagsCustomTagOutputWithContext(context.Context) SqlEndpointTagsCustomTagOutput } -func (o SqlWidgetPositionPtrOutput) SizeX() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { - if v == nil { - return nil - } - return &v.SizeX - }).(pulumi.IntPtrOutput) +type SqlEndpointTagsCustomTagArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringInput `pulumi:"value"` } -func (o SqlWidgetPositionPtrOutput) SizeY() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SqlWidgetPosition) *int { - if v == nil { - return nil - } - return &v.SizeY - }).(pulumi.IntPtrOutput) +func (SqlEndpointTagsCustomTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() } -type StorageCredentialAwsIamRole struct { - ExternalId *string `pulumi:"externalId"` - // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - // - // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - RoleArn string `pulumi:"roleArn"` - UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { + return i.ToSqlEndpointTagsCustomTagOutputWithContext(context.Background()) } -// StorageCredentialAwsIamRoleInput is an input type that accepts StorageCredentialAwsIamRoleArgs and StorageCredentialAwsIamRoleOutput values. -// You can construct a concrete instance of `StorageCredentialAwsIamRoleInput` via: +func (i SqlEndpointTagsCustomTagArgs) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagOutput) +} + +// SqlEndpointTagsCustomTagArrayInput is an input type that accepts SqlEndpointTagsCustomTagArray and SqlEndpointTagsCustomTagArrayOutput values. +// You can construct a concrete instance of `SqlEndpointTagsCustomTagArrayInput` via: // -// StorageCredentialAwsIamRoleArgs{...} -type StorageCredentialAwsIamRoleInput interface { +// SqlEndpointTagsCustomTagArray{ SqlEndpointTagsCustomTagArgs{...} } +type SqlEndpointTagsCustomTagArrayInput interface { pulumi.Input - ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput - ToStorageCredentialAwsIamRoleOutputWithContext(context.Context) StorageCredentialAwsIamRoleOutput + ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput + ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Context) SqlEndpointTagsCustomTagArrayOutput } -type StorageCredentialAwsIamRoleArgs struct { - ExternalId pulumi.StringPtrInput `pulumi:"externalId"` - // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - // - // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): - RoleArn pulumi.StringInput `pulumi:"roleArn"` - UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` +type SqlEndpointTagsCustomTagArray []SqlEndpointTagsCustomTagInput + +func (SqlEndpointTagsCustomTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() } -func (StorageCredentialAwsIamRoleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() +func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { + return i.ToSqlEndpointTagsCustomTagArrayOutputWithContext(context.Background()) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { - return i.ToStorageCredentialAwsIamRoleOutputWithContext(context.Background()) +func (i SqlEndpointTagsCustomTagArray) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlEndpointTagsCustomTagArrayOutput) } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput) +type SqlEndpointTagsCustomTagOutput struct{ *pulumi.OutputState } + +func (SqlEndpointTagsCustomTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlEndpointTagsCustomTag)(nil)).Elem() } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutput() SqlEndpointTagsCustomTagOutput { + return o } -func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput).ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx) +func (o SqlEndpointTagsCustomTagOutput) ToSqlEndpointTagsCustomTagOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagOutput { + return o } -// StorageCredentialAwsIamRolePtrInput is an input type that accepts StorageCredentialAwsIamRoleArgs, StorageCredentialAwsIamRolePtr and StorageCredentialAwsIamRolePtrOutput values. -// You can construct a concrete instance of `StorageCredentialAwsIamRolePtrInput` via: -// -// StorageCredentialAwsIamRoleArgs{...} -// -// or: -// -// nil -type StorageCredentialAwsIamRolePtrInput interface { - pulumi.Input +func (o SqlEndpointTagsCustomTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Key }).(pulumi.StringOutput) +} - ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput - ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Context) StorageCredentialAwsIamRolePtrOutput +func (o SqlEndpointTagsCustomTagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlEndpointTagsCustomTag) string { return v.Value }).(pulumi.StringOutput) } -type storageCredentialAwsIamRolePtrType StorageCredentialAwsIamRoleArgs +type SqlEndpointTagsCustomTagArrayOutput struct{ *pulumi.OutputState } -func StorageCredentialAwsIamRolePtr(v *StorageCredentialAwsIamRoleArgs) StorageCredentialAwsIamRolePtrInput { - return (*storageCredentialAwsIamRolePtrType)(v) +func (SqlEndpointTagsCustomTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlEndpointTagsCustomTag)(nil)).Elem() } -func (*storageCredentialAwsIamRolePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutput() SqlEndpointTagsCustomTagArrayOutput { + return o } -func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (o SqlEndpointTagsCustomTagArrayOutput) ToSqlEndpointTagsCustomTagArrayOutputWithContext(ctx context.Context) SqlEndpointTagsCustomTagArrayOutput { + return o } -func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRolePtrOutput) +func (o SqlEndpointTagsCustomTagArrayOutput) Index(i pulumi.IntInput) SqlEndpointTagsCustomTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlEndpointTagsCustomTag { + return vs[0].([]SqlEndpointTagsCustomTag)[vs[1].(int)] + }).(SqlEndpointTagsCustomTagOutput) } -type StorageCredentialAwsIamRoleOutput struct{ *pulumi.OutputState } - -func (StorageCredentialAwsIamRoleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() +type SqlPermissionsPrivilegeAssignment struct { + // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. + Principal string `pulumi:"principal"` + Privileges []string `pulumi:"privileges"` } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { - return o +// SqlPermissionsPrivilegeAssignmentInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArgs and SqlPermissionsPrivilegeAssignmentOutput values. +// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentInput` via: +// +// SqlPermissionsPrivilegeAssignmentArgs{...} +type SqlPermissionsPrivilegeAssignmentInput interface { + pulumi.Input + + ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput + ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentOutput } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { - return o +type SqlPermissionsPrivilegeAssignmentArgs struct { + // `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. + Principal pulumi.StringInput `pulumi:"principal"` + Privileges pulumi.StringArrayInput `pulumi:"privileges"` } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return o.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) +func (SqlPermissionsPrivilegeAssignmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAwsIamRole) *StorageCredentialAwsIamRole { - return &v - }).(StorageCredentialAwsIamRolePtrOutput) +func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { + return i.ToSqlPermissionsPrivilegeAssignmentOutputWithContext(context.Background()) } -func (o StorageCredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) +func (i SqlPermissionsPrivilegeAssignmentArgs) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentOutput) } -// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +// SqlPermissionsPrivilegeAssignmentArrayInput is an input type that accepts SqlPermissionsPrivilegeAssignmentArray and SqlPermissionsPrivilegeAssignmentArrayOutput values. +// You can construct a concrete instance of `SqlPermissionsPrivilegeAssignmentArrayInput` via: // -// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): -func (o StorageCredentialAwsIamRoleOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) +// SqlPermissionsPrivilegeAssignmentArray{ SqlPermissionsPrivilegeAssignmentArgs{...} } +type SqlPermissionsPrivilegeAssignmentArrayInput interface { + pulumi.Input + + ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput + ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput } -func (o StorageCredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) +type SqlPermissionsPrivilegeAssignmentArray []SqlPermissionsPrivilegeAssignmentInput + +func (SqlPermissionsPrivilegeAssignmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -type StorageCredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } +func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { + return i.ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(context.Background()) +} -func (StorageCredentialAwsIamRolePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() +func (i SqlPermissionsPrivilegeAssignmentArray) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlPermissionsPrivilegeAssignmentArrayOutput) } -func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { - return o +type SqlPermissionsPrivilegeAssignmentOutput struct{ *pulumi.OutputState } + +func (SqlPermissionsPrivilegeAssignmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { +func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutput() SqlPermissionsPrivilegeAssignmentOutput { return o } -func (o StorageCredentialAwsIamRolePtrOutput) Elem() StorageCredentialAwsIamRoleOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) StorageCredentialAwsIamRole { - if v != nil { - return *v - } - var ret StorageCredentialAwsIamRole - return ret - }).(StorageCredentialAwsIamRoleOutput) +func (o SqlPermissionsPrivilegeAssignmentOutput) ToSqlPermissionsPrivilegeAssignmentOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentOutput { + return o } -func (o StorageCredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { - if v == nil { - return nil - } - return v.ExternalId - }).(pulumi.StringPtrOutput) +// `displayName` for a Group or databricks_user, `applicationId` for a databricks_service_principal. +func (o SqlPermissionsPrivilegeAssignmentOutput) Principal() pulumi.StringOutput { + return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) string { return v.Principal }).(pulumi.StringOutput) } -// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` -// -// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): -func (o StorageCredentialAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { - if v == nil { - return nil - } - return &v.RoleArn - }).(pulumi.StringPtrOutput) +func (o SqlPermissionsPrivilegeAssignmentOutput) Privileges() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlPermissionsPrivilegeAssignment) []string { return v.Privileges }).(pulumi.StringArrayOutput) } -func (o StorageCredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { - if v == nil { - return nil - } - return v.UnityCatalogIamArn - }).(pulumi.StringPtrOutput) +type SqlPermissionsPrivilegeAssignmentArrayOutput struct{ *pulumi.OutputState } + +func (SqlPermissionsPrivilegeAssignmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlPermissionsPrivilegeAssignment)(nil)).Elem() } -type StorageCredentialAzureManagedIdentity struct { - // The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. - AccessConnectorId string `pulumi:"accessConnectorId"` - CredentialId *string `pulumi:"credentialId"` - // The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. - // - // `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: - ManagedIdentityId *string `pulumi:"managedIdentityId"` +func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutput() SqlPermissionsPrivilegeAssignmentArrayOutput { + return o } -// StorageCredentialAzureManagedIdentityInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs and StorageCredentialAzureManagedIdentityOutput values. -// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityInput` via: -// -// StorageCredentialAzureManagedIdentityArgs{...} -type StorageCredentialAzureManagedIdentityInput interface { - pulumi.Input +func (o SqlPermissionsPrivilegeAssignmentArrayOutput) ToSqlPermissionsPrivilegeAssignmentArrayOutputWithContext(ctx context.Context) SqlPermissionsPrivilegeAssignmentArrayOutput { + return o +} - ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput - ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityOutput +func (o SqlPermissionsPrivilegeAssignmentArrayOutput) Index(i pulumi.IntInput) SqlPermissionsPrivilegeAssignmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlPermissionsPrivilegeAssignment { + return vs[0].([]SqlPermissionsPrivilegeAssignment)[vs[1].(int)] + }).(SqlPermissionsPrivilegeAssignmentOutput) } -type StorageCredentialAzureManagedIdentityArgs struct { - // The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. - AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - // The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +type SqlQueryParameter struct { + Date *SqlQueryParameterDate `pulumi:"date"` + DateRange *SqlQueryParameterDateRange `pulumi:"dateRange"` + Datetime *SqlQueryParameterDatetime `pulumi:"datetime"` + DatetimeRange *SqlQueryParameterDatetimeRange `pulumi:"datetimeRange"` + Datetimesec *SqlQueryParameterDatetimesec `pulumi:"datetimesec"` + DatetimesecRange *SqlQueryParameterDatetimesecRange `pulumi:"datetimesecRange"` + Enum *SqlQueryParameterEnum `pulumi:"enum"` + // The literal parameter marker that appears between double curly braces in the query text. + // Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. // - // `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: - ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` + // For `text`, `number`, `date`, `datetime`, `datetimesec` block + Name string `pulumi:"name"` + Number *SqlQueryParameterNumber `pulumi:"number"` + // The text of the query to be run. + Query *SqlQueryParameterQuery `pulumi:"query"` + Text *SqlQueryParameterText `pulumi:"text"` + // The text displayed in a parameter picking widget. + Title *string `pulumi:"title"` } -func (StorageCredentialAzureManagedIdentityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() -} +// SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. +// You can construct a concrete instance of `SqlQueryParameterInput` via: +// +// SqlQueryParameterArgs{...} +type SqlQueryParameterInput interface { + pulumi.Input -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { - return i.ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Background()) + ToSqlQueryParameterOutput() SqlQueryParameterOutput + ToSqlQueryParameterOutputWithContext(context.Context) SqlQueryParameterOutput } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput) +type SqlQueryParameterArgs struct { + Date SqlQueryParameterDatePtrInput `pulumi:"date"` + DateRange SqlQueryParameterDateRangePtrInput `pulumi:"dateRange"` + Datetime SqlQueryParameterDatetimePtrInput `pulumi:"datetime"` + DatetimeRange SqlQueryParameterDatetimeRangePtrInput `pulumi:"datetimeRange"` + Datetimesec SqlQueryParameterDatetimesecPtrInput `pulumi:"datetimesec"` + DatetimesecRange SqlQueryParameterDatetimesecRangePtrInput `pulumi:"datetimesecRange"` + Enum SqlQueryParameterEnumPtrInput `pulumi:"enum"` + // The literal parameter marker that appears between double curly braces in the query text. + // Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. + // + // For `text`, `number`, `date`, `datetime`, `datetimesec` block + Name pulumi.StringInput `pulumi:"name"` + Number SqlQueryParameterNumberPtrInput `pulumi:"number"` + // The text of the query to be run. + Query SqlQueryParameterQueryPtrInput `pulumi:"query"` + Text SqlQueryParameterTextPtrInput `pulumi:"text"` + // The text displayed in a parameter picking widget. + Title pulumi.StringPtrInput `pulumi:"title"` } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (SqlQueryParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() +} + +func (i SqlQueryParameterArgs) ToSqlQueryParameterOutput() SqlQueryParameterOutput { + return i.ToSqlQueryParameterOutputWithContext(context.Background()) } -func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput).ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx) +func (i SqlQueryParameterArgs) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterOutput) } -// StorageCredentialAzureManagedIdentityPtrInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs, StorageCredentialAzureManagedIdentityPtr and StorageCredentialAzureManagedIdentityPtrOutput values. -// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityPtrInput` via: -// -// StorageCredentialAzureManagedIdentityArgs{...} -// -// or: +// SqlQueryParameterArrayInput is an input type that accepts SqlQueryParameterArray and SqlQueryParameterArrayOutput values. +// You can construct a concrete instance of `SqlQueryParameterArrayInput` via: // -// nil -type StorageCredentialAzureManagedIdentityPtrInput interface { +// SqlQueryParameterArray{ SqlQueryParameterArgs{...} } +type SqlQueryParameterArrayInput interface { pulumi.Input - ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput - ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityPtrOutput + ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput + ToSqlQueryParameterArrayOutputWithContext(context.Context) SqlQueryParameterArrayOutput } -type storageCredentialAzureManagedIdentityPtrType StorageCredentialAzureManagedIdentityArgs - -func StorageCredentialAzureManagedIdentityPtr(v *StorageCredentialAzureManagedIdentityArgs) StorageCredentialAzureManagedIdentityPtrInput { - return (*storageCredentialAzureManagedIdentityPtrType)(v) -} +type SqlQueryParameterArray []SqlQueryParameterInput -func (*storageCredentialAzureManagedIdentityPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlQueryParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() } -func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { + return i.ToSqlQueryParameterArrayOutputWithContext(context.Background()) } -func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityPtrOutput) +func (i SqlQueryParameterArray) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterArrayOutput) } -type StorageCredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } +type SqlQueryParameterOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureManagedIdentityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() +func (SqlQueryParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameter)(nil)).Elem() } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { +func (o SqlQueryParameterOutput) ToSqlQueryParameterOutput() SqlQueryParameterOutput { return o } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { +func (o SqlQueryParameterOutput) ToSqlQueryParameterOutputWithContext(ctx context.Context) SqlQueryParameterOutput { return o } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return o.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterOutput) Date() SqlQueryParameterDatePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDate { return v.Date }).(SqlQueryParameterDatePtrOutput) } -func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureManagedIdentity) *StorageCredentialAzureManagedIdentity { - return &v - }).(StorageCredentialAzureManagedIdentityPtrOutput) +func (o SqlQueryParameterOutput) DateRange() SqlQueryParameterDateRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDateRange { return v.DateRange }).(SqlQueryParameterDateRangePtrOutput) } -// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. -func (o StorageCredentialAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) +func (o SqlQueryParameterOutput) Datetime() SqlQueryParameterDatetimePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetime { return v.Datetime }).(SqlQueryParameterDatetimePtrOutput) } -func (o StorageCredentialAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterOutput) DatetimeRange() SqlQueryParameterDatetimeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimeRange { return v.DatetimeRange }).(SqlQueryParameterDatetimeRangePtrOutput) } -// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +func (o SqlQueryParameterOutput) Datetimesec() SqlQueryParameterDatetimesecPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesec { return v.Datetimesec }).(SqlQueryParameterDatetimesecPtrOutput) +} + +func (o SqlQueryParameterOutput) DatetimesecRange() SqlQueryParameterDatetimesecRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterDatetimesecRange { return v.DatetimesecRange }).(SqlQueryParameterDatetimesecRangePtrOutput) +} + +func (o SqlQueryParameterOutput) Enum() SqlQueryParameterEnumPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterEnum { return v.Enum }).(SqlQueryParameterEnumPtrOutput) +} + +// The literal parameter marker that appears between double curly braces in the query text. +// Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. // -// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: -func (o StorageCredentialAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) +// For `text`, `number`, `date`, `datetime`, `datetimesec` block +func (o SqlQueryParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameter) string { return v.Name }).(pulumi.StringOutput) } -type StorageCredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) +} -func (StorageCredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() +// The text of the query to be run. +func (o SqlQueryParameterOutput) Query() SqlQueryParameterQueryPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterQuery { return v.Query }).(SqlQueryParameterQueryPtrOutput) } -func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { - return o +func (o SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) } -func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { - return o +// The text displayed in a parameter picking widget. +func (o SqlQueryParameterOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameter) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (o StorageCredentialAzureManagedIdentityPtrOutput) Elem() StorageCredentialAzureManagedIdentityOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) StorageCredentialAzureManagedIdentity { - if v != nil { - return *v - } - var ret StorageCredentialAzureManagedIdentity - return ret - }).(StorageCredentialAzureManagedIdentityOutput) +type SqlQueryParameterArrayOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlQueryParameter)(nil)).Elem() } -// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. -func (o StorageCredentialAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { - if v == nil { - return nil - } - return &v.AccessConnectorId - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutput() SqlQueryParameterArrayOutput { + return o } -func (o StorageCredentialAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterArrayOutput) ToSqlQueryParameterArrayOutputWithContext(ctx context.Context) SqlQueryParameterArrayOutput { + return o } -// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. -// -// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: -func (o StorageCredentialAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { - if v == nil { - return nil - } - return v.ManagedIdentityId - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterArrayOutput) Index(i pulumi.IntInput) SqlQueryParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlQueryParameter { + return vs[0].([]SqlQueryParameter)[vs[1].(int)] + }).(SqlQueryParameterOutput) } -type StorageCredentialAzureServicePrincipal struct { - // The application ID of the application registration within the referenced AAD tenant - ApplicationId string `pulumi:"applicationId"` - // The client secret generated for the above app ID in AAD. **This field is redacted on output** - ClientSecret string `pulumi:"clientSecret"` - // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application - DirectoryId string `pulumi:"directoryId"` +type SqlQueryParameterDate struct { + // The default value for this parameter. + Value string `pulumi:"value"` } -// StorageCredentialAzureServicePrincipalInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs and StorageCredentialAzureServicePrincipalOutput values. -// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalInput` via: +// SqlQueryParameterDateInput is an input type that accepts SqlQueryParameterDateArgs and SqlQueryParameterDateOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateInput` via: // -// StorageCredentialAzureServicePrincipalArgs{...} -type StorageCredentialAzureServicePrincipalInput interface { +// SqlQueryParameterDateArgs{...} +type SqlQueryParameterDateInput interface { pulumi.Input - ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput - ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalOutput + ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput + ToSqlQueryParameterDateOutputWithContext(context.Context) SqlQueryParameterDateOutput } -type StorageCredentialAzureServicePrincipalArgs struct { - // The application ID of the application registration within the referenced AAD tenant - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - // The client secret generated for the above app ID in AAD. **This field is redacted on output** - ClientSecret pulumi.StringInput `pulumi:"clientSecret"` - // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application - DirectoryId pulumi.StringInput `pulumi:"directoryId"` +type SqlQueryParameterDateArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (StorageCredentialAzureServicePrincipalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlQueryParameterDateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { - return i.ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Background()) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { + return i.ToSqlQueryParameterDateOutputWithContext(context.Background()) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput).ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx) +func (i SqlQueryParameterDateArgs) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateOutput).ToSqlQueryParameterDatePtrOutputWithContext(ctx) } -// StorageCredentialAzureServicePrincipalPtrInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs, StorageCredentialAzureServicePrincipalPtr and StorageCredentialAzureServicePrincipalPtrOutput values. -// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalPtrInput` via: +// SqlQueryParameterDatePtrInput is an input type that accepts SqlQueryParameterDateArgs, SqlQueryParameterDatePtr and SqlQueryParameterDatePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatePtrInput` via: // -// StorageCredentialAzureServicePrincipalArgs{...} +// SqlQueryParameterDateArgs{...} // // or: // // nil -type StorageCredentialAzureServicePrincipalPtrInput interface { +type SqlQueryParameterDatePtrInput interface { pulumi.Input - ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput - ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalPtrOutput + ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput + ToSqlQueryParameterDatePtrOutputWithContext(context.Context) SqlQueryParameterDatePtrOutput } -type storageCredentialAzureServicePrincipalPtrType StorageCredentialAzureServicePrincipalArgs +type sqlQueryParameterDatePtrType SqlQueryParameterDateArgs -func StorageCredentialAzureServicePrincipalPtr(v *StorageCredentialAzureServicePrincipalArgs) StorageCredentialAzureServicePrincipalPtrInput { - return (*storageCredentialAzureServicePrincipalPtrType)(v) +func SqlQueryParameterDatePtr(v *SqlQueryParameterDateArgs) SqlQueryParameterDatePtrInput { + return (*sqlQueryParameterDatePtrType)(v) } -func (*storageCredentialAzureServicePrincipalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (*sqlQueryParameterDatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() } -func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return i.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalPtrOutput) +func (i *sqlQueryParameterDatePtrType) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatePtrOutput) } -type StorageCredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureServicePrincipalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlQueryParameterDateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDate)(nil)).Elem() } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutput() SqlQueryParameterDateOutput { return o } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDateOutputWithContext(ctx context.Context) SqlQueryParameterDateOutput { return o } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { - return o.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { + return o.ToSqlQueryParameterDatePtrOutputWithContext(context.Background()) } -func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureServicePrincipal) *StorageCredentialAzureServicePrincipal { +func (o SqlQueryParameterDateOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDate) *SqlQueryParameterDate { return &v - }).(StorageCredentialAzureServicePrincipalPtrOutput) -} - -// The application ID of the application registration within the referenced AAD tenant -func (o StorageCredentialAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) -} - -// The client secret generated for the above app ID in AAD. **This field is redacted on output** -func (o StorageCredentialAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) + }).(SqlQueryParameterDatePtrOutput) } -// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application -func (o StorageCredentialAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) +// The default value for this parameter. +func (o SqlQueryParameterDateOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(pulumi.StringOutput) } -type StorageCredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() +func (SqlQueryParameterDatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDate)(nil)).Elem() } -func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { +func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutput() SqlQueryParameterDatePtrOutput { return o } -func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { +func (o SqlQueryParameterDatePtrOutput) ToSqlQueryParameterDatePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatePtrOutput { return o } -func (o StorageCredentialAzureServicePrincipalPtrOutput) Elem() StorageCredentialAzureServicePrincipalOutput { - return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) StorageCredentialAzureServicePrincipal { +func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { + return o.ApplyT(func(v *SqlQueryParameterDate) SqlQueryParameterDate { if v != nil { return *v } - var ret StorageCredentialAzureServicePrincipal + var ret SqlQueryParameterDate return ret - }).(StorageCredentialAzureServicePrincipalOutput) -} - -// The application ID of the application registration within the referenced AAD tenant -func (o StorageCredentialAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ApplicationId - }).(pulumi.StringPtrOutput) -} - -// The client secret generated for the above app ID in AAD. **This field is redacted on output** -func (o StorageCredentialAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) *string { - if v == nil { - return nil - } - return &v.ClientSecret - }).(pulumi.StringPtrOutput) + }).(SqlQueryParameterDateOutput) } -// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application -func (o StorageCredentialAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) *string { +// The default value for this parameter. +func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDate) *string { if v == nil { return nil } - return &v.DirectoryId + return &v.Value }).(pulumi.StringPtrOutput) } -type StorageCredentialCloudflareApiToken struct { - // R2 API token access key ID - AccessKeyId string `pulumi:"accessKeyId"` - // R2 account ID - AccountId string `pulumi:"accountId"` - // R2 API token secret access key - // - // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): - SecretAccessKey string `pulumi:"secretAccessKey"` +type SqlQueryParameterDateRange struct { + Range *SqlQueryParameterDateRangeRange `pulumi:"range"` + // The default value for this parameter. + Value *string `pulumi:"value"` } -// StorageCredentialCloudflareApiTokenInput is an input type that accepts StorageCredentialCloudflareApiTokenArgs and StorageCredentialCloudflareApiTokenOutput values. -// You can construct a concrete instance of `StorageCredentialCloudflareApiTokenInput` via: +// SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeInput` via: // -// StorageCredentialCloudflareApiTokenArgs{...} -type StorageCredentialCloudflareApiTokenInput interface { +// SqlQueryParameterDateRangeArgs{...} +type SqlQueryParameterDateRangeInput interface { pulumi.Input - ToStorageCredentialCloudflareApiTokenOutput() StorageCredentialCloudflareApiTokenOutput - ToStorageCredentialCloudflareApiTokenOutputWithContext(context.Context) StorageCredentialCloudflareApiTokenOutput + ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput + ToSqlQueryParameterDateRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeOutput } -type StorageCredentialCloudflareApiTokenArgs struct { - // R2 API token access key ID - AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` - // R2 account ID - AccountId pulumi.StringInput `pulumi:"accountId"` - // R2 API token secret access key - // - // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): - SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` +type SqlQueryParameterDateRangeArgs struct { + Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } -func (StorageCredentialCloudflareApiTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialCloudflareApiToken)(nil)).Elem() +func (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() } -func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenOutput() StorageCredentialCloudflareApiTokenOutput { - return i.ToStorageCredentialCloudflareApiTokenOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { + return i.ToSqlQueryParameterDateRangeOutputWithContext(context.Background()) } -func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialCloudflareApiTokenOutput) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput) } -func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { - return i.ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialCloudflareApiTokenOutput).ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx) +func (i SqlQueryParameterDateRangeArgs) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeOutput).ToSqlQueryParameterDateRangePtrOutputWithContext(ctx) } -// StorageCredentialCloudflareApiTokenPtrInput is an input type that accepts StorageCredentialCloudflareApiTokenArgs, StorageCredentialCloudflareApiTokenPtr and StorageCredentialCloudflareApiTokenPtrOutput values. -// You can construct a concrete instance of `StorageCredentialCloudflareApiTokenPtrInput` via: +// SqlQueryParameterDateRangePtrInput is an input type that accepts SqlQueryParameterDateRangeArgs, SqlQueryParameterDateRangePtr and SqlQueryParameterDateRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangePtrInput` via: // -// StorageCredentialCloudflareApiTokenArgs{...} +// SqlQueryParameterDateRangeArgs{...} // // or: // // nil -type StorageCredentialCloudflareApiTokenPtrInput interface { +type SqlQueryParameterDateRangePtrInput interface { pulumi.Input - ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput - ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Context) StorageCredentialCloudflareApiTokenPtrOutput + ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput + ToSqlQueryParameterDateRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangePtrOutput } -type storageCredentialCloudflareApiTokenPtrType StorageCredentialCloudflareApiTokenArgs +type sqlQueryParameterDateRangePtrType SqlQueryParameterDateRangeArgs -func StorageCredentialCloudflareApiTokenPtr(v *StorageCredentialCloudflareApiTokenArgs) StorageCredentialCloudflareApiTokenPtrInput { - return (*storageCredentialCloudflareApiTokenPtrType)(v) +func SqlQueryParameterDateRangePtr(v *SqlQueryParameterDateRangeArgs) SqlQueryParameterDateRangePtrInput { + return (*sqlQueryParameterDateRangePtrType)(v) } -func (*storageCredentialCloudflareApiTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialCloudflareApiToken)(nil)).Elem() +func (*sqlQueryParameterDateRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() } -func (i *storageCredentialCloudflareApiTokenPtrType) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { - return i.ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return i.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (i *storageCredentialCloudflareApiTokenPtrType) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialCloudflareApiTokenPtrOutput) +func (i *sqlQueryParameterDateRangePtrType) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangePtrOutput) } -type StorageCredentialCloudflareApiTokenOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangeOutput struct{ *pulumi.OutputState } -func (StorageCredentialCloudflareApiTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialCloudflareApiToken)(nil)).Elem() +func (SqlQueryParameterDateRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRange)(nil)).Elem() } -func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenOutput() StorageCredentialCloudflareApiTokenOutput { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutput() SqlQueryParameterDateRangeOutput { return o } -func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenOutput { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeOutput { return o } -func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { - return o.ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { + return o.ToSqlQueryParameterDateRangePtrOutputWithContext(context.Background()) } -func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialCloudflareApiToken) *StorageCredentialCloudflareApiToken { +func (o SqlQueryParameterDateRangeOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRange) *SqlQueryParameterDateRange { return &v - }).(StorageCredentialCloudflareApiTokenPtrOutput) -} - -// R2 API token access key ID -func (o StorageCredentialCloudflareApiTokenOutput) AccessKeyId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialCloudflareApiToken) string { return v.AccessKeyId }).(pulumi.StringOutput) + }).(SqlQueryParameterDateRangePtrOutput) } -// R2 account ID -func (o StorageCredentialCloudflareApiTokenOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialCloudflareApiToken) string { return v.AccountId }).(pulumi.StringOutput) +func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) } -// R2 API token secret access key -// -// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): -func (o StorageCredentialCloudflareApiTokenOutput) SecretAccessKey() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialCloudflareApiToken) string { return v.SecretAccessKey }).(pulumi.StringOutput) +// The default value for this parameter. +func (o SqlQueryParameterDateRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDateRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -type StorageCredentialCloudflareApiTokenPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialCloudflareApiTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialCloudflareApiToken)(nil)).Elem() +func (SqlQueryParameterDateRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRange)(nil)).Elem() } -func (o StorageCredentialCloudflareApiTokenPtrOutput) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { +func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutput() SqlQueryParameterDateRangePtrOutput { return o } -func (o StorageCredentialCloudflareApiTokenPtrOutput) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { +func (o SqlQueryParameterDateRangePtrOutput) ToSqlQueryParameterDateRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangePtrOutput { return o } -func (o StorageCredentialCloudflareApiTokenPtrOutput) Elem() StorageCredentialCloudflareApiTokenOutput { - return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) StorageCredentialCloudflareApiToken { +func (o SqlQueryParameterDateRangePtrOutput) Elem() SqlQueryParameterDateRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) SqlQueryParameterDateRange { if v != nil { return *v } - var ret StorageCredentialCloudflareApiToken + var ret SqlQueryParameterDateRange return ret - }).(StorageCredentialCloudflareApiTokenOutput) -} - -// R2 API token access key ID -func (o StorageCredentialCloudflareApiTokenPtrOutput) AccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) *string { - if v == nil { - return nil - } - return &v.AccessKeyId - }).(pulumi.StringPtrOutput) + }).(SqlQueryParameterDateRangeOutput) } -// R2 account ID -func (o StorageCredentialCloudflareApiTokenPtrOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) *string { +func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { if v == nil { return nil } - return &v.AccountId - }).(pulumi.StringPtrOutput) + return v.Range + }).(SqlQueryParameterDateRangeRangePtrOutput) } -// R2 API token secret access key -// -// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): -func (o StorageCredentialCloudflareApiTokenPtrOutput) SecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) *string { +// The default value for this parameter. +func (o SqlQueryParameterDateRangePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRange) *string { if v == nil { return nil } - return &v.SecretAccessKey + return v.Value }).(pulumi.StringPtrOutput) } -type StorageCredentialDatabricksGcpServiceAccount struct { - CredentialId *string `pulumi:"credentialId"` - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: - Email *string `pulumi:"email"` +type SqlQueryParameterDateRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -// StorageCredentialDatabricksGcpServiceAccountInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs and StorageCredentialDatabricksGcpServiceAccountOutput values. -// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountInput` via: +// SqlQueryParameterDateRangeRangeInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs and SqlQueryParameterDateRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeRangeInput` via: // -// StorageCredentialDatabricksGcpServiceAccountArgs{...} -type StorageCredentialDatabricksGcpServiceAccountInput interface { +// SqlQueryParameterDateRangeRangeArgs{...} +type SqlQueryParameterDateRangeRangeInput interface { pulumi.Input - ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput - ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountOutput + ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput + ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Context) SqlQueryParameterDateRangeRangeOutput } -type StorageCredentialDatabricksGcpServiceAccountArgs struct { - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: - Email pulumi.StringPtrInput `pulumi:"email"` +type SqlQueryParameterDateRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -func (StorageCredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryParameterDateRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { + return i.ToSqlQueryParameterDateRangeRangeOutputWithContext(context.Background()) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput).ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) +func (i SqlQueryParameterDateRangeRangeArgs) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangeOutput).ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx) } -// StorageCredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs, StorageCredentialDatabricksGcpServiceAccountPtr and StorageCredentialDatabricksGcpServiceAccountPtrOutput values. -// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountPtrInput` via: +// SqlQueryParameterDateRangeRangePtrInput is an input type that accepts SqlQueryParameterDateRangeRangeArgs, SqlQueryParameterDateRangeRangePtr and SqlQueryParameterDateRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDateRangeRangePtrInput` via: // -// StorageCredentialDatabricksGcpServiceAccountArgs{...} +// SqlQueryParameterDateRangeRangeArgs{...} // // or: // // nil -type StorageCredentialDatabricksGcpServiceAccountPtrInput interface { +type SqlQueryParameterDateRangeRangePtrInput interface { pulumi.Input - ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput - ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput + ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput + ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDateRangeRangePtrOutput } -type storageCredentialDatabricksGcpServiceAccountPtrType StorageCredentialDatabricksGcpServiceAccountArgs +type sqlQueryParameterDateRangeRangePtrType SqlQueryParameterDateRangeRangeArgs -func StorageCredentialDatabricksGcpServiceAccountPtr(v *StorageCredentialDatabricksGcpServiceAccountArgs) StorageCredentialDatabricksGcpServiceAccountPtrInput { - return (*storageCredentialDatabricksGcpServiceAccountPtrType)(v) +func SqlQueryParameterDateRangeRangePtr(v *SqlQueryParameterDateRangeRangeArgs) SqlQueryParameterDateRangeRangePtrInput { + return (*sqlQueryParameterDateRangeRangePtrType)(v) } -func (*storageCredentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (*sqlQueryParameterDateRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return i.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) +func (i *sqlQueryParameterDateRangeRangePtrType) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDateRangeRangePtrOutput) } -type StorageCredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangeRangeOutput struct{ *pulumi.OutputState } -func (StorageCredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryParameterDateRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutput() SqlQueryParameterDateRangeRangeOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangeOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { + return o.ToSqlQueryParameterDateRangeRangePtrOutputWithContext(context.Background()) } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialDatabricksGcpServiceAccount) *StorageCredentialDatabricksGcpServiceAccount { +func (o SqlQueryParameterDateRangeRangeOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDateRangeRange) *SqlQueryParameterDateRangeRange { return &v - }).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) + }).(SqlQueryParameterDateRangeRangePtrOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDateRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.End }).(pulumi.StringOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: -func (o StorageCredentialDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDateRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDateRangeRange) string { return v.Start }).(pulumi.StringOutput) } -type StorageCredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDateRangeRangePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() +func (SqlQueryParameterDateRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDateRangeRange)(nil)).Elem() } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { +func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutput() SqlQueryParameterDateRangeRangePtrOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { +func (o SqlQueryParameterDateRangeRangePtrOutput) ToSqlQueryParameterDateRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDateRangeRangePtrOutput { return o } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Elem() StorageCredentialDatabricksGcpServiceAccountOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) StorageCredentialDatabricksGcpServiceAccount { +func (o SqlQueryParameterDateRangeRangePtrOutput) Elem() SqlQueryParameterDateRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) SqlQueryParameterDateRangeRange { if v != nil { return *v } - var ret StorageCredentialDatabricksGcpServiceAccount + var ret SqlQueryParameterDateRangeRange return ret - }).(StorageCredentialDatabricksGcpServiceAccountOutput) + }).(SqlQueryParameterDateRangeRangeOutput) } -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { +func (o SqlQueryParameterDateRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { if v == nil { return nil } - return v.CredentialId + return &v.End }).(pulumi.StringPtrOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: -func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { +func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDateRangeRange) *string { if v == nil { return nil } - return v.Email + return &v.Start }).(pulumi.StringPtrOutput) } -type StorageCredentialGcpServiceAccountKey struct { - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: - Email string `pulumi:"email"` - PrivateKey string `pulumi:"privateKey"` - PrivateKeyId string `pulumi:"privateKeyId"` +type SqlQueryParameterDatetime struct { + // The default value for this parameter. + Value string `pulumi:"value"` } -// StorageCredentialGcpServiceAccountKeyInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs and StorageCredentialGcpServiceAccountKeyOutput values. -// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyInput` via: +// SqlQueryParameterDatetimeInput is an input type that accepts SqlQueryParameterDatetimeArgs and SqlQueryParameterDatetimeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeInput` via: // -// StorageCredentialGcpServiceAccountKeyArgs{...} -type StorageCredentialGcpServiceAccountKeyInput interface { +// SqlQueryParameterDatetimeArgs{...} +type SqlQueryParameterDatetimeInput interface { pulumi.Input - ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput - ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyOutput + ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput + ToSqlQueryParameterDatetimeOutputWithContext(context.Context) SqlQueryParameterDatetimeOutput } -type StorageCredentialGcpServiceAccountKeyArgs struct { - // The email of the GCP service account created, to be granted access to relevant buckets. - // - // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: - Email pulumi.StringInput `pulumi:"email"` - PrivateKey pulumi.StringInput `pulumi:"privateKey"` - PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` +type SqlQueryParameterDatetimeArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (StorageCredentialGcpServiceAccountKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryParameterDatetimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { - return i.ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { + return i.ToSqlQueryParameterDatetimeOutputWithContext(context.Background()) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput).ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimeArgs) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeOutput).ToSqlQueryParameterDatetimePtrOutputWithContext(ctx) } -// StorageCredentialGcpServiceAccountKeyPtrInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs, StorageCredentialGcpServiceAccountKeyPtr and StorageCredentialGcpServiceAccountKeyPtrOutput values. -// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyPtrInput` via: +// SqlQueryParameterDatetimePtrInput is an input type that accepts SqlQueryParameterDatetimeArgs, SqlQueryParameterDatetimePtr and SqlQueryParameterDatetimePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimePtrInput` via: // -// StorageCredentialGcpServiceAccountKeyArgs{...} +// SqlQueryParameterDatetimeArgs{...} // // or: // // nil -type StorageCredentialGcpServiceAccountKeyPtrInput interface { +type SqlQueryParameterDatetimePtrInput interface { pulumi.Input - ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput - ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput + ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput + ToSqlQueryParameterDatetimePtrOutputWithContext(context.Context) SqlQueryParameterDatetimePtrOutput } -type storageCredentialGcpServiceAccountKeyPtrType StorageCredentialGcpServiceAccountKeyArgs +type sqlQueryParameterDatetimePtrType SqlQueryParameterDatetimeArgs -func StorageCredentialGcpServiceAccountKeyPtr(v *StorageCredentialGcpServiceAccountKeyArgs) StorageCredentialGcpServiceAccountKeyPtrInput { - return (*storageCredentialGcpServiceAccountKeyPtrType)(v) +func SqlQueryParameterDatetimePtr(v *SqlQueryParameterDatetimeArgs) SqlQueryParameterDatetimePtrInput { + return (*sqlQueryParameterDatetimePtrType)(v) } -func (*storageCredentialGcpServiceAccountKeyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (*sqlQueryParameterDatetimePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() } -func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return i.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyPtrOutput) +func (i *sqlQueryParameterDatetimePtrType) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimePtrOutput) } -type StorageCredentialGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimeOutput struct{ *pulumi.OutputState } -func (StorageCredentialGcpServiceAccountKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryParameterDatetimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetime)(nil)).Elem() } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutput() SqlQueryParameterDatetimeOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { - return o.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { + return o.ToSqlQueryParameterDatetimePtrOutputWithContext(context.Background()) } -func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialGcpServiceAccountKey) *StorageCredentialGcpServiceAccountKey { +func (o SqlQueryParameterDatetimeOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetime) *SqlQueryParameterDatetime { return &v - }).(StorageCredentialGcpServiceAccountKeyPtrOutput) -} - -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: -func (o StorageCredentialGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) -} - -func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) + }).(SqlQueryParameterDatetimePtrOutput) } -func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { - return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) +// The default value for this parameter. +func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) } -type StorageCredentialGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimePtrOutput struct{ *pulumi.OutputState } -func (StorageCredentialGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() +func (SqlQueryParameterDatetimePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetime)(nil)).Elem() } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { +func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutput() SqlQueryParameterDatetimePtrOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { +func (o SqlQueryParameterDatetimePtrOutput) ToSqlQueryParameterDatetimePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimePtrOutput { return o } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Elem() StorageCredentialGcpServiceAccountKeyOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) StorageCredentialGcpServiceAccountKey { +func (o SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetime) SqlQueryParameterDatetime { if v != nil { return *v } - var ret StorageCredentialGcpServiceAccountKey + var ret SqlQueryParameterDatetime return ret - }).(StorageCredentialGcpServiceAccountKeyOutput) + }).(SqlQueryParameterDatetimeOutput) } -// The email of the GCP service account created, to be granted access to relevant buckets. -// -// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { +// The default value for this parameter. +func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetime) *string { if v == nil { return nil } - return &v.Email + return &v.Value }).(pulumi.StringPtrOutput) } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { - if v == nil { - return nil - } - return &v.PrivateKey - }).(pulumi.StringPtrOutput) +type SqlQueryParameterDatetimeRange struct { + Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` + // The default value for this parameter. + Value *string `pulumi:"value"` } -func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { - if v == nil { - return nil - } - return &v.PrivateKeyId - }).(pulumi.StringPtrOutput) -} +// SqlQueryParameterDatetimeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs and SqlQueryParameterDatetimeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeInput` via: +// +// SqlQueryParameterDatetimeRangeArgs{...} +type SqlQueryParameterDatetimeRangeInput interface { + pulumi.Input -type TableColumn struct { - Comment *string `pulumi:"comment"` - Name string `pulumi:"name"` - Nullable *bool `pulumi:"nullable"` - PartitionIndex *int `pulumi:"partitionIndex"` - Position int `pulumi:"position"` - TypeIntervalType *string `pulumi:"typeIntervalType"` - TypeJson *string `pulumi:"typeJson"` - TypeName string `pulumi:"typeName"` - TypePrecision *int `pulumi:"typePrecision"` - TypeScale *int `pulumi:"typeScale"` - TypeText string `pulumi:"typeText"` + ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput + ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeOutput } -// TableColumnInput is an input type that accepts TableColumnArgs and TableColumnOutput values. -// You can construct a concrete instance of `TableColumnInput` via: -// -// TableColumnArgs{...} -type TableColumnInput interface { - pulumi.Input +type SqlQueryParameterDatetimeRangeArgs struct { + Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` +} - ToTableColumnOutput() TableColumnOutput - ToTableColumnOutputWithContext(context.Context) TableColumnOutput +func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() } -type TableColumnArgs struct { - Comment pulumi.StringPtrInput `pulumi:"comment"` - Name pulumi.StringInput `pulumi:"name"` - Nullable pulumi.BoolPtrInput `pulumi:"nullable"` - PartitionIndex pulumi.IntPtrInput `pulumi:"partitionIndex"` - Position pulumi.IntInput `pulumi:"position"` - TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` - TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` - TypeName pulumi.StringInput `pulumi:"typeName"` - TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` - TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` - TypeText pulumi.StringInput `pulumi:"typeText"` +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { + return i.ToSqlQueryParameterDatetimeRangeOutputWithContext(context.Background()) } -func (TableColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TableColumn)(nil)).Elem() +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput) } -func (i TableColumnArgs) ToTableColumnOutput() TableColumnOutput { - return i.ToTableColumnOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -func (i TableColumnArgs) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(TableColumnOutput) +func (i SqlQueryParameterDatetimeRangeArgs) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeOutput).ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx) } -// TableColumnArrayInput is an input type that accepts TableColumnArray and TableColumnArrayOutput values. -// You can construct a concrete instance of `TableColumnArrayInput` via: +// SqlQueryParameterDatetimeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs, SqlQueryParameterDatetimeRangePtr and SqlQueryParameterDatetimeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangePtrInput` via: // -// TableColumnArray{ TableColumnArgs{...} } -type TableColumnArrayInput interface { +// SqlQueryParameterDatetimeRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimeRangePtrInput interface { pulumi.Input - ToTableColumnArrayOutput() TableColumnArrayOutput - ToTableColumnArrayOutputWithContext(context.Context) TableColumnArrayOutput + ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput + ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangePtrOutput } -type TableColumnArray []TableColumnInput +type sqlQueryParameterDatetimeRangePtrType SqlQueryParameterDatetimeRangeArgs -func (TableColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TableColumn)(nil)).Elem() +func SqlQueryParameterDatetimeRangePtr(v *SqlQueryParameterDatetimeRangeArgs) SqlQueryParameterDatetimeRangePtrInput { + return (*sqlQueryParameterDatetimeRangePtrType)(v) } -func (i TableColumnArray) ToTableColumnArrayOutput() TableColumnArrayOutput { - return i.ToTableColumnArrayOutputWithContext(context.Background()) +func (*sqlQueryParameterDatetimeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (i TableColumnArray) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TableColumnArrayOutput) +func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -type TableColumnOutput struct{ *pulumi.OutputState } - -func (TableColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TableColumn)(nil)).Elem() +func (i *sqlQueryParameterDatetimeRangePtrType) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangePtrOutput) } -func (o TableColumnOutput) ToTableColumnOutput() TableColumnOutput { - return o +type SqlQueryParameterDatetimeRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (o TableColumnOutput) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutput() SqlQueryParameterDatetimeRangeOutput { return o } -func (o TableColumnOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeOutput { + return o } -func (o TableColumnOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.Name }).(pulumi.StringOutput) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return o.ToSqlQueryParameterDatetimeRangePtrOutputWithContext(context.Background()) } -func (o TableColumnOutput) Nullable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v TableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) +func (o SqlQueryParameterDatetimeRangeOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRange { + return &v + }).(SqlQueryParameterDatetimeRangePtrOutput) } -func (o TableColumnOutput) PartitionIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -func (o TableColumnOutput) Position() pulumi.IntOutput { - return o.ApplyT(func(v TableColumn) int { return v.Position }).(pulumi.IntOutput) +// The default value for this parameter. +func (o SqlQueryParameterDatetimeRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o TableColumnOutput) TypeIntervalType() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) -} +type SqlQueryParameterDatetimeRangePtrOutput struct{ *pulumi.OutputState } -func (o TableColumnOutput) TypeJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v TableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +func (SqlQueryParameterDatetimeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRange)(nil)).Elem() } -func (o TableColumnOutput) TypeName() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.TypeName }).(pulumi.StringOutput) +func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutput() SqlQueryParameterDatetimeRangePtrOutput { + return o } -func (o TableColumnOutput) TypePrecision() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimeRangePtrOutput) ToSqlQueryParameterDatetimeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangePtrOutput { + return o } -func (o TableColumnOutput) TypeScale() pulumi.IntPtrOutput { - return o.ApplyT(func(v TableColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) SqlQueryParameterDatetimeRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDatetimeRange + return ret + }).(SqlQueryParameterDatetimeRangeOutput) } -func (o TableColumnOutput) TypeText() pulumi.StringOutput { - return o.ApplyT(func(v TableColumn) string { return v.TypeText }).(pulumi.StringOutput) +func (o SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { + if v == nil { + return nil + } + return v.Range + }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -type TableColumnArrayOutput struct{ *pulumi.OutputState } - -func (TableColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TableColumn)(nil)).Elem() +// The default value for this parameter. +func (o SqlQueryParameterDatetimeRangePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *string { + if v == nil { + return nil + } + return v.Value + }).(pulumi.StringPtrOutput) } -func (o TableColumnArrayOutput) ToTableColumnArrayOutput() TableColumnArrayOutput { - return o +type SqlQueryParameterDatetimeRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -func (o TableColumnArrayOutput) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { - return o -} +// SqlQueryParameterDatetimeRangeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs and SqlQueryParameterDatetimeRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangeInput` via: +// +// SqlQueryParameterDatetimeRangeRangeArgs{...} +type SqlQueryParameterDatetimeRangeRangeInput interface { + pulumi.Input -func (o TableColumnArrayOutput) Index(i pulumi.IntInput) TableColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableColumn { - return vs[0].([]TableColumn)[vs[1].(int)] - }).(TableColumnOutput) + ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput + ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangeOutput } -type VectorSearchEndpointEndpointStatus struct { - // Additional status message. - Message *string `pulumi:"message"` - // Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. - State *string `pulumi:"state"` +type SqlQueryParameterDatetimeRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -// VectorSearchEndpointEndpointStatusInput is an input type that accepts VectorSearchEndpointEndpointStatusArgs and VectorSearchEndpointEndpointStatusOutput values. -// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusInput` via: -// -// VectorSearchEndpointEndpointStatusArgs{...} -type VectorSearchEndpointEndpointStatusInput interface { - pulumi.Input - - ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput - ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusOutput +func (SqlQueryParameterDatetimeRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -type VectorSearchEndpointEndpointStatusArgs struct { - // Additional status message. - Message pulumi.StringPtrInput `pulumi:"message"` - // Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. - State pulumi.StringPtrInput `pulumi:"state"` +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { + return i.ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(context.Background()) } - -func (VectorSearchEndpointEndpointStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() + +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput) } -func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { - return i.ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusOutput) +func (i SqlQueryParameterDatetimeRangeRangeArgs) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangeOutput).ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx) } -// VectorSearchEndpointEndpointStatusArrayInput is an input type that accepts VectorSearchEndpointEndpointStatusArray and VectorSearchEndpointEndpointStatusArrayOutput values. -// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusArrayInput` via: +// SqlQueryParameterDatetimeRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimeRangeRangeArgs, SqlQueryParameterDatetimeRangeRangePtr and SqlQueryParameterDatetimeRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimeRangeRangePtrInput` via: // -// VectorSearchEndpointEndpointStatusArray{ VectorSearchEndpointEndpointStatusArgs{...} } -type VectorSearchEndpointEndpointStatusArrayInput interface { +// SqlQueryParameterDatetimeRangeRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimeRangeRangePtrInput interface { pulumi.Input - ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput - ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusArrayOutput + ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput + ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput } -type VectorSearchEndpointEndpointStatusArray []VectorSearchEndpointEndpointStatusInput +type sqlQueryParameterDatetimeRangeRangePtrType SqlQueryParameterDatetimeRangeRangeArgs -func (VectorSearchEndpointEndpointStatusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() +func SqlQueryParameterDatetimeRangeRangePtr(v *SqlQueryParameterDatetimeRangeRangeArgs) SqlQueryParameterDatetimeRangeRangePtrInput { + return (*sqlQueryParameterDatetimeRangeRangePtrType)(v) } -func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { - return i.ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Background()) +func (*sqlQueryParameterDatetimeRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusArrayOutput) +func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -type VectorSearchEndpointEndpointStatusOutput struct{ *pulumi.OutputState } +func (i *sqlQueryParameterDatetimeRangeRangePtrType) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimeRangeRangePtrOutput) +} -func (VectorSearchEndpointEndpointStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() +type SqlQueryParameterDatetimeRangeRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimeRangeRange)(nil)).Elem() } -func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutput() SqlQueryParameterDatetimeRangeRangeOutput { return o } -func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangeOutput { return o } -// Additional status message. -func (o VectorSearchEndpointEndpointStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.Message }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(context.Background()) } -// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. -func (o VectorSearchEndpointEndpointStatusOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.State }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimeRangeRangeOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimeRangeRange) *SqlQueryParameterDatetimeRangeRange { + return &v + }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } -type VectorSearchEndpointEndpointStatusArrayOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterDatetimeRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.End }).(pulumi.StringOutput) +} -func (VectorSearchEndpointEndpointStatusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() +func (o SqlQueryParameterDatetimeRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimeRangeRange) string { return v.Start }).(pulumi.StringOutput) } -func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { +type SqlQueryParameterDatetimeRangeRangePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimeRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimeRangeRange)(nil)).Elem() +} + +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutput() SqlQueryParameterDatetimeRangeRangePtrOutput { return o } -func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) ToSqlQueryParameterDatetimeRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimeRangeRangePtrOutput { return o } -func (o VectorSearchEndpointEndpointStatusArrayOutput) Index(i pulumi.IntInput) VectorSearchEndpointEndpointStatusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchEndpointEndpointStatus { - return vs[0].([]VectorSearchEndpointEndpointStatus)[vs[1].(int)] - }).(VectorSearchEndpointEndpointStatusOutput) +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Elem() SqlQueryParameterDatetimeRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) SqlQueryParameterDatetimeRangeRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDatetimeRangeRange + return ret + }).(SqlQueryParameterDatetimeRangeRangeOutput) } -type VectorSearchIndexDeltaSyncIndexSpec struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` - EmbeddingWritebackTable *string `pulumi:"embeddingWritebackTable"` - // ID of the associated Delta Live Table pipeline. - PipelineId *string `pulumi:"pipelineId"` - // Pipeline execution mode. Possible values are: - // * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. - // * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. - PipelineType *string `pulumi:"pipelineType"` - // The name of the source table. - SourceTable *string `pulumi:"sourceTable"` +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { + if v == nil { + return nil + } + return &v.End + }).(pulumi.StringPtrOutput) } -// VectorSearchIndexDeltaSyncIndexSpecInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs and VectorSearchIndexDeltaSyncIndexSpecOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecInput` via: +func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimeRangeRange) *string { + if v == nil { + return nil + } + return &v.Start + }).(pulumi.StringPtrOutput) +} + +type SqlQueryParameterDatetimesec struct { + // The default value for this parameter. + Value string `pulumi:"value"` +} + +// SqlQueryParameterDatetimesecInput is an input type that accepts SqlQueryParameterDatetimesecArgs and SqlQueryParameterDatetimesecOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecInput` via: // -// VectorSearchIndexDeltaSyncIndexSpecArgs{...} -type VectorSearchIndexDeltaSyncIndexSpecInput interface { +// SqlQueryParameterDatetimesecArgs{...} +type SqlQueryParameterDatetimesecInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput - ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput + ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput + ToSqlQueryParameterDatetimesecOutputWithContext(context.Context) SqlQueryParameterDatetimesecOutput } -type VectorSearchIndexDeltaSyncIndexSpecArgs struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` - EmbeddingWritebackTable pulumi.StringPtrInput `pulumi:"embeddingWritebackTable"` - // ID of the associated Delta Live Table pipeline. - PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` - // Pipeline execution mode. Possible values are: - // * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. - // * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. - PipelineType pulumi.StringPtrInput `pulumi:"pipelineType"` - // The name of the source table. - SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` +type SqlQueryParameterDatetimesecArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -func (VectorSearchIndexDeltaSyncIndexSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (SqlQueryParameterDatetimesecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { + return i.ToSqlQueryParameterDatetimesecOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput) } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput).ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx) +func (i SqlQueryParameterDatetimesecArgs) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecOutput).ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx) } -// VectorSearchIndexDeltaSyncIndexSpecPtrInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs, VectorSearchIndexDeltaSyncIndexSpecPtr and VectorSearchIndexDeltaSyncIndexSpecPtrOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecPtrInput` via: +// SqlQueryParameterDatetimesecPtrInput is an input type that accepts SqlQueryParameterDatetimesecArgs, SqlQueryParameterDatetimesecPtr and SqlQueryParameterDatetimesecPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecPtrInput` via: // -// VectorSearchIndexDeltaSyncIndexSpecArgs{...} +// SqlQueryParameterDatetimesecArgs{...} // // or: // // nil -type VectorSearchIndexDeltaSyncIndexSpecPtrInput interface { +type SqlQueryParameterDatetimesecPtrInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput - ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput + ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput + ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecPtrOutput } -type vectorSearchIndexDeltaSyncIndexSpecPtrType VectorSearchIndexDeltaSyncIndexSpecArgs +type sqlQueryParameterDatetimesecPtrType SqlQueryParameterDatetimesecArgs -func VectorSearchIndexDeltaSyncIndexSpecPtr(v *VectorSearchIndexDeltaSyncIndexSpecArgs) VectorSearchIndexDeltaSyncIndexSpecPtrInput { - return (*vectorSearchIndexDeltaSyncIndexSpecPtrType)(v) +func SqlQueryParameterDatetimesecPtr(v *SqlQueryParameterDatetimesecArgs) SqlQueryParameterDatetimesecPtrInput { + return (*sqlQueryParameterDatetimesecPtrType)(v) } -func (*vectorSearchIndexDeltaSyncIndexSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (*sqlQueryParameterDatetimesecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() } -func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return i.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) +func (i *sqlQueryParameterDatetimesecPtrType) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecPtrOutput) } -type VectorSearchIndexDeltaSyncIndexSpecOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDeltaSyncIndexSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (SqlQueryParameterDatetimesecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesec)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutput() SqlQueryParameterDatetimesecOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return o.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { + return o.ToSqlQueryParameterDatetimesecPtrOutputWithContext(context.Background()) } -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDeltaSyncIndexSpec) *VectorSearchIndexDeltaSyncIndexSpec { +func (o SqlQueryParameterDatetimesecOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesec) *SqlQueryParameterDatetimesec { return &v - }).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) -} - -// array of objects representing columns that contain the embedding source. Each entry consists of: -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingSourceColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { - return v.EmbeddingSourceColumns - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) -} - -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { - return v.EmbeddingVectorColumns - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) -} - -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingWritebackTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.EmbeddingWritebackTable }).(pulumi.StringPtrOutput) -} - -// ID of the associated Delta Live Table pipeline. -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineId }).(pulumi.StringPtrOutput) -} - -// Pipeline execution mode. Possible values are: -// * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. -// * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineType }).(pulumi.StringPtrOutput) + }).(SqlQueryParameterDatetimesecPtrOutput) } -// The name of the source table. -func (o VectorSearchIndexDeltaSyncIndexSpecOutput) SourceTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.SourceTable }).(pulumi.StringPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) } -type VectorSearchIndexDeltaSyncIndexSpecPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterDatetimesecPtrOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() +func (SqlQueryParameterDatetimesecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesec)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { +func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutput() SqlQueryParameterDatetimesecPtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { +func (o SqlQueryParameterDatetimesecPtrOutput) ToSqlQueryParameterDatetimesecPtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecPtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) Elem() VectorSearchIndexDeltaSyncIndexSpecOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) VectorSearchIndexDeltaSyncIndexSpec { +func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimesecOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesec) SqlQueryParameterDatetimesec { if v != nil { return *v } - var ret VectorSearchIndexDeltaSyncIndexSpec + var ret SqlQueryParameterDatetimesec return ret - }).(VectorSearchIndexDeltaSyncIndexSpecOutput) + }).(SqlQueryParameterDatetimesecOutput) } -// array of objects representing columns that contain the embedding source. Each entry consists of: -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingSourceColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { +// The default value for this parameter. +func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesec) *string { if v == nil { return nil } - return v.EmbeddingSourceColumns - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) + return &v.Value + }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { - if v == nil { - return nil - } - return v.EmbeddingVectorColumns - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +type SqlQueryParameterDatetimesecRange struct { + Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` + // The default value for this parameter. + Value *string `pulumi:"value"` } -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingWritebackTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { - if v == nil { - return nil - } - return v.EmbeddingWritebackTable - }).(pulumi.StringPtrOutput) +// SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeInput` via: +// +// SqlQueryParameterDatetimesecRangeArgs{...} +type SqlQueryParameterDatetimesecRangeInput interface { + pulumi.Input + + ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput + ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeOutput } -// ID of the associated Delta Live Table pipeline. -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { - if v == nil { - return nil - } - return v.PipelineId - }).(pulumi.StringPtrOutput) +type SqlQueryParameterDatetimesecRangeArgs struct { + Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } -// Pipeline execution mode. Possible values are: -// * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. -// * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { - if v == nil { - return nil - } - return v.PipelineType - }).(pulumi.StringPtrOutput) +func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() } -// The name of the source table. -func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) SourceTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { - if v == nil { - return nil - } - return v.SourceTable - }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { + return i.ToSqlQueryParameterDatetimesecRangeOutputWithContext(context.Background()) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn struct { - EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput) } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput` via: +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) +} + +func (i SqlQueryParameterDatetimesecRangeArgs) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeOutput).ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx) +} + +// SqlQueryParameterDatetimesecRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs, SqlQueryParameterDatetimesecRangePtr and SqlQueryParameterDatetimesecRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangePtrInput` via: // -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput interface { +// SqlQueryParameterDatetimesecRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimesecRangePtrInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput + ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput + ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangePtrOutput } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs struct { - EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +type sqlQueryParameterDatetimesecRangePtrType SqlQueryParameterDatetimesecRangeArgs + +func SqlQueryParameterDatetimesecRangePtr(v *SqlQueryParameterDatetimesecRangeArgs) SqlQueryParameterDatetimesecRangePtrInput { + return (*sqlQueryParameterDatetimesecRangePtrType)(v) } -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (*sqlQueryParameterDatetimesecRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) +func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) +func (i *sqlQueryParameterDatetimesecRangePtrType) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangePtrOutput) } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput` via: -// -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput interface { - pulumi.Input +type SqlQueryParameterDatetimesecRangeOutput struct{ *pulumi.OutputState } - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput +func (SqlQueryParameterDatetimesecRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRange)(nil)).Elem() } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutput() SqlQueryParameterDatetimesecRangeOutput { + return o +} -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeOutput { + return o } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { + return o.ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) +func (o SqlQueryParameterDatetimesecRangeOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRange { + return &v + }).(SqlQueryParameterDatetimesecRangePtrOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +} -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +// The default value for this parameter. +func (o SqlQueryParameterDatetimesecRangeOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return o +type SqlQueryParameterDatetimesecRangePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimesecRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRange)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { +func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutput() SqlQueryParameterDatetimesecRangePtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { - return v.EmbeddingModelEndpointName - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimesecRangePtrOutput) ToSqlQueryParameterDatetimesecRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangePtrOutput { + return o } -// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimesecRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) SqlQueryParameterDatetimesecRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDatetimesecRange + return ret + }).(SqlQueryParameterDatetimesecRangeOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } - -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { + if v == nil { + return nil + } + return v.Range + }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return o +// The default value for this parameter. +func (o SqlQueryParameterDatetimesecRangePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *string { + if v == nil { + return nil + } + return v.Value + }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { - return o +type SqlQueryParameterDatetimesecRangeRange struct { + End string `pulumi:"end"` + Start string `pulumi:"start"` } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { - return vs[0].([]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)[vs[1].(int)] - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) +// SqlQueryParameterDatetimesecRangeRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs and SqlQueryParameterDatetimesecRangeRangeOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangeInput` via: +// +// SqlQueryParameterDatetimesecRangeRangeArgs{...} +type SqlQueryParameterDatetimesecRangeRangeInput interface { + pulumi.Input + + ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput + ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangeOutput } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn struct { - EmbeddingDimension *int `pulumi:"embeddingDimension"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +type SqlQueryParameterDatetimesecRangeRangeArgs struct { + End pulumi.StringInput `pulumi:"end"` + Start pulumi.StringInput `pulumi:"start"` } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput` via: -// -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{...} -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput interface { - pulumi.Input - - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput +func (SqlQueryParameterDatetimesecRangeRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs struct { - EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(context.Background()) } -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) +func (i SqlQueryParameterDatetimesecRangeRangeArgs) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangeOutput).ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx) } -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput` via: +// SqlQueryParameterDatetimesecRangeRangePtrInput is an input type that accepts SqlQueryParameterDatetimesecRangeRangeArgs, SqlQueryParameterDatetimesecRangeRangePtr and SqlQueryParameterDatetimesecRangeRangePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterDatetimesecRangeRangePtrInput` via: // -// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{...} } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput interface { +// SqlQueryParameterDatetimesecRangeRangeArgs{...} +// +// or: +// +// nil +type SqlQueryParameterDatetimesecRangeRangePtrInput interface { pulumi.Input - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput - ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput + ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput + ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput +type sqlQueryParameterDatetimesecRangeRangePtrType SqlQueryParameterDatetimesecRangeRangeArgs -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func SqlQueryParameterDatetimesecRangeRangePtr(v *SqlQueryParameterDatetimesecRangeRangeArgs) SqlQueryParameterDatetimesecRangeRangePtrInput { + return (*sqlQueryParameterDatetimesecRangeRangePtrType)(v) } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) +func (*sqlQueryParameterDatetimesecRangeRangePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return i.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } +func (i *sqlQueryParameterDatetimesecRangeRangePtrType) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterDatetimesecRangeRangePtrOutput) +} -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +type SqlQueryParameterDatetimesecRangeRangeOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimesecRangeRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutput() SqlQueryParameterDatetimesecRangeRangeOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangeOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangeOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(context.Background()) } -// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterDatetimesecRangeRangeOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterDatetimesecRangeRange) *SqlQueryParameterDatetimesecRangeRange { + return &v + }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } -type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterDatetimesecRangeRangeOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.End }).(pulumi.StringOutput) +} -func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (o SqlQueryParameterDatetimesecRangeRangeOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterDatetimesecRangeRange) string { return v.Start }).(pulumi.StringOutput) } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { +type SqlQueryParameterDatetimesecRangeRangePtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterDatetimesecRangeRangePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterDatetimesecRangeRange)(nil)).Elem() +} + +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutput() SqlQueryParameterDatetimesecRangeRangePtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) ToSqlQueryParameterDatetimesecRangeRangePtrOutputWithContext(ctx context.Context) SqlQueryParameterDatetimesecRangeRangePtrOutput { return o } -func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { - return vs[0].([]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)[vs[1].(int)] - }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Elem() SqlQueryParameterDatetimesecRangeRangeOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) SqlQueryParameterDatetimesecRangeRange { + if v != nil { + return *v + } + var ret SqlQueryParameterDatetimesecRangeRange + return ret + }).(SqlQueryParameterDatetimesecRangeRangeOutput) } -type VectorSearchIndexDirectAccessIndexSpec struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` - // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. - SchemaJson *string `pulumi:"schemaJson"` +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { + if v == nil { + return nil + } + return &v.End + }).(pulumi.StringPtrOutput) } -// VectorSearchIndexDirectAccessIndexSpecInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs and VectorSearchIndexDirectAccessIndexSpecOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecInput` via: +func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterDatetimesecRangeRange) *string { + if v == nil { + return nil + } + return &v.Start + }).(pulumi.StringPtrOutput) +} + +type SqlQueryParameterEnum struct { + Multiple *SqlQueryParameterEnumMultiple `pulumi:"multiple"` + Options []string `pulumi:"options"` + // The default value for this parameter. + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` +} + +// SqlQueryParameterEnumInput is an input type that accepts SqlQueryParameterEnumArgs and SqlQueryParameterEnumOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumInput` via: // -// VectorSearchIndexDirectAccessIndexSpecArgs{...} -type VectorSearchIndexDirectAccessIndexSpecInput interface { +// SqlQueryParameterEnumArgs{...} +type SqlQueryParameterEnumInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput - ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecOutput + ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput + ToSqlQueryParameterEnumOutputWithContext(context.Context) SqlQueryParameterEnumOutput } -type VectorSearchIndexDirectAccessIndexSpecArgs struct { - // array of objects representing columns that contain the embedding source. Each entry consists of: - EmbeddingSourceColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` - EmbeddingVectorColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` - // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. - SchemaJson pulumi.StringPtrInput `pulumi:"schemaJson"` +type SqlQueryParameterEnumArgs struct { + Multiple SqlQueryParameterEnumMultiplePtrInput `pulumi:"multiple"` + Options pulumi.StringArrayInput `pulumi:"options"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (VectorSearchIndexDirectAccessIndexSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (SqlQueryParameterEnumArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { + return i.ToSqlQueryParameterEnumOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput) } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput).ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx) +func (i SqlQueryParameterEnumArgs) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumOutput).ToSqlQueryParameterEnumPtrOutputWithContext(ctx) } -// VectorSearchIndexDirectAccessIndexSpecPtrInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs, VectorSearchIndexDirectAccessIndexSpecPtr and VectorSearchIndexDirectAccessIndexSpecPtrOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecPtrInput` via: +// SqlQueryParameterEnumPtrInput is an input type that accepts SqlQueryParameterEnumArgs, SqlQueryParameterEnumPtr and SqlQueryParameterEnumPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumPtrInput` via: // -// VectorSearchIndexDirectAccessIndexSpecArgs{...} +// SqlQueryParameterEnumArgs{...} // // or: // // nil -type VectorSearchIndexDirectAccessIndexSpecPtrInput interface { +type SqlQueryParameterEnumPtrInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput - ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput + ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput + ToSqlQueryParameterEnumPtrOutputWithContext(context.Context) SqlQueryParameterEnumPtrOutput } -type vectorSearchIndexDirectAccessIndexSpecPtrType VectorSearchIndexDirectAccessIndexSpecArgs +type sqlQueryParameterEnumPtrType SqlQueryParameterEnumArgs -func VectorSearchIndexDirectAccessIndexSpecPtr(v *VectorSearchIndexDirectAccessIndexSpecArgs) VectorSearchIndexDirectAccessIndexSpecPtrInput { - return (*vectorSearchIndexDirectAccessIndexSpecPtrType)(v) +func SqlQueryParameterEnumPtr(v *SqlQueryParameterEnumArgs) SqlQueryParameterEnumPtrInput { + return (*sqlQueryParameterEnumPtrType)(v) } -func (*vectorSearchIndexDirectAccessIndexSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (*sqlQueryParameterEnumPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() } -func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return i.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) +func (i *sqlQueryParameterEnumPtrType) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDirectAccessIndexSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +func (SqlQueryParameterEnumOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnum)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutput() SqlQueryParameterEnumOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumOutputWithContext(ctx context.Context) SqlQueryParameterEnumOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return o.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { + return o.ToSqlQueryParameterEnumPtrOutputWithContext(context.Background()) } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDirectAccessIndexSpec) *VectorSearchIndexDirectAccessIndexSpec { +func (o SqlQueryParameterEnumOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnum) *SqlQueryParameterEnum { return &v - }).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) + }).(SqlQueryParameterEnumPtrOutput) } -// array of objects representing columns that contain the embedding source. Each entry consists of: -func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { - return v.EmbeddingSourceColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) +func (o SqlQueryParameterEnumOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { return v.Multiple }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { - return v.EmbeddingVectorColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) +func (o SqlQueryParameterEnumOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Options }).(pulumi.StringArrayOutput) } -// The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. -func (o VectorSearchIndexDirectAccessIndexSpecOutput) SchemaJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) *string { return v.SchemaJson }).(pulumi.StringPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterEnumOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) *string { return v.Value }).(pulumi.StringPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecPtrOutput struct{ *pulumi.OutputState } +func (o SqlQueryParameterEnumOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Values }).(pulumi.StringArrayOutput) +} -func (VectorSearchIndexDirectAccessIndexSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() +type SqlQueryParameterEnumPtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterEnumPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnum)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { +func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutput() SqlQueryParameterEnumPtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { +func (o SqlQueryParameterEnumPtrOutput) ToSqlQueryParameterEnumPtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumPtrOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) Elem() VectorSearchIndexDirectAccessIndexSpecOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) VectorSearchIndexDirectAccessIndexSpec { +func (o SqlQueryParameterEnumPtrOutput) Elem() SqlQueryParameterEnumOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) SqlQueryParameterEnum { if v != nil { return *v } - var ret VectorSearchIndexDirectAccessIndexSpec + var ret SqlQueryParameterEnum return ret - }).(VectorSearchIndexDirectAccessIndexSpecOutput) + }).(SqlQueryParameterEnumOutput) } -// array of objects representing columns that contain the embedding source. Each entry consists of: -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { +func (o SqlQueryParameterEnumPtrOutput) Multiple() SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) *SqlQueryParameterEnumMultiple { if v == nil { return nil } - return v.EmbeddingSourceColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) + return v.Multiple + }).(SqlQueryParameterEnumMultiplePtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { +func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) []string { if v == nil { return nil } - return v.EmbeddingVectorColumns - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) + return v.Options + }).(pulumi.StringArrayOutput) } -// The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. -func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) SchemaJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) *string { +// The default value for this parameter. +func (o SqlQueryParameterEnumPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) *string { if v == nil { return nil } - return v.SchemaJson + return v.Value }).(pulumi.StringPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn struct { - EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +func (o SqlQueryParameterEnumPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterEnum) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput` via: +type SqlQueryParameterEnumMultiple struct { + Prefix *string `pulumi:"prefix"` + Separator string `pulumi:"separator"` + Suffix *string `pulumi:"suffix"` +} + +// SqlQueryParameterEnumMultipleInput is an input type that accepts SqlQueryParameterEnumMultipleArgs and SqlQueryParameterEnumMultipleOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumMultipleInput` via: // -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput interface { +// SqlQueryParameterEnumMultipleArgs{...} +type SqlQueryParameterEnumMultipleInput interface { pulumi.Input - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput + ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput + ToSqlQueryParameterEnumMultipleOutputWithContext(context.Context) SqlQueryParameterEnumMultipleOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs struct { - EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +type SqlQueryParameterEnumMultipleArgs struct { + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + Separator pulumi.StringInput `pulumi:"separator"` + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (SqlQueryParameterEnumMultipleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { + return i.ToSqlQueryParameterEnumMultipleOutputWithContext(context.Background()) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput) } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput` via: -// -// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput interface { - pulumi.Input - - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput - -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (i SqlQueryParameterEnumMultipleArgs) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultipleOutput).ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) -} +// SqlQueryParameterEnumMultiplePtrInput is an input type that accepts SqlQueryParameterEnumMultipleArgs, SqlQueryParameterEnumMultiplePtr and SqlQueryParameterEnumMultiplePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterEnumMultiplePtrInput` via: +// +// SqlQueryParameterEnumMultipleArgs{...} +// +// or: +// +// nil +type SqlQueryParameterEnumMultiplePtrInput interface { + pulumi.Input -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) + ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput + ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Context) SqlQueryParameterEnumMultiplePtrOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } - -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() -} +type sqlQueryParameterEnumMultiplePtrType SqlQueryParameterEnumMultipleArgs -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return o +func SqlQueryParameterEnumMultiplePtr(v *SqlQueryParameterEnumMultipleArgs) SqlQueryParameterEnumMultiplePtrInput { + return (*sqlQueryParameterEnumMultiplePtrType)(v) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return o +func (*sqlQueryParameterEnumMultiplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { - return v.EmbeddingModelEndpointName - }).(pulumi.StringPtrOutput) +func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return i.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i *sqlQueryParameterEnumMultiplePtrType) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterEnumMultiplePtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } +type SqlQueryParameterEnumMultipleOutput struct{ *pulumi.OutputState } -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() +func (SqlQueryParameterEnumMultipleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterEnumMultiple)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutput() SqlQueryParameterEnumMultipleOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultipleOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultipleOutput { return o } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { - return vs[0].([]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)[vs[1].(int)] - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return o.ToSqlQueryParameterEnumMultiplePtrOutputWithContext(context.Background()) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn struct { - EmbeddingDimension *int `pulumi:"embeddingDimension"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name *string `pulumi:"name"` +func (o SqlQueryParameterEnumMultipleOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterEnumMultiple) *SqlQueryParameterEnumMultiple { + return &v + }).(SqlQueryParameterEnumMultiplePtrOutput) } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput` via: -// -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput interface { - pulumi.Input - - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput +func (o SqlQueryParameterEnumMultipleOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs struct { - EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` - // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - Name pulumi.StringPtrInput `pulumi:"name"` +func (o SqlQueryParameterEnumMultipleOutput) Separator() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) string { return v.Separator }).(pulumi.StringOutput) } -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (o SqlQueryParameterEnumMultipleOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterEnumMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) -} +type SqlQueryParameterEnumMultiplePtrOutput struct{ *pulumi.OutputState } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) +func (SqlQueryParameterEnumMultiplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterEnumMultiple)(nil)).Elem() } -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput` via: -// -// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput interface { - pulumi.Input - - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput - ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput +func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutput() SqlQueryParameterEnumMultiplePtrOutput { + return o } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput - -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (o SqlQueryParameterEnumMultiplePtrOutput) ToSqlQueryParameterEnumMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterEnumMultiplePtrOutput { + return o } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) +func (o SqlQueryParameterEnumMultiplePtrOutput) Elem() SqlQueryParameterEnumMultipleOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) SqlQueryParameterEnumMultiple { + if v != nil { + return *v + } + var ret SqlQueryParameterEnumMultiple + return ret + }).(SqlQueryParameterEnumMultipleOutput) } -func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) +func (o SqlQueryParameterEnumMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { + if v == nil { + return nil + } + return v.Prefix + }).(pulumi.StringPtrOutput) } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } - -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (o SqlQueryParameterEnumMultiplePtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { + if v == nil { + return nil + } + return &v.Separator + }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return o +func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterEnumMultiple) *string { + if v == nil { + return nil + } + return v.Suffix + }).(pulumi.StringPtrOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return o +type SqlQueryParameterNumber struct { + // The default value for this parameter. + Value float64 `pulumi:"value"` } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) -} +// SqlQueryParameterNumberInput is an input type that accepts SqlQueryParameterNumberArgs and SqlQueryParameterNumberOutput values. +// You can construct a concrete instance of `SqlQueryParameterNumberInput` via: +// +// SqlQueryParameterNumberArgs{...} +type SqlQueryParameterNumberInput interface { + pulumi.Input -// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) + ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput + ToSqlQueryParameterNumberOutputWithContext(context.Context) SqlQueryParameterNumberOutput } -type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } +type SqlQueryParameterNumberArgs struct { + // The default value for this parameter. + Value pulumi.Float64Input `pulumi:"value"` +} -func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() +func (SqlQueryParameterNumberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return o +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { + return i.ToSqlQueryParameterNumberOutputWithContext(context.Background()) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { - return o +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput) } -func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { - return vs[0].([]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)[vs[1].(int)] - }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -type VectorSearchIndexStatus struct { - // Index API Url to be used to perform operations on the index - IndexUrl *string `pulumi:"indexUrl"` - // Number of rows indexed - IndexedRowCount *int `pulumi:"indexedRowCount"` - // Message associated with the index status - Message *string `pulumi:"message"` - // Whether the index is ready for search - Ready *bool `pulumi:"ready"` +func (i SqlQueryParameterNumberArgs) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberOutput).ToSqlQueryParameterNumberPtrOutputWithContext(ctx) } -// VectorSearchIndexStatusInput is an input type that accepts VectorSearchIndexStatusArgs and VectorSearchIndexStatusOutput values. -// You can construct a concrete instance of `VectorSearchIndexStatusInput` via: +// SqlQueryParameterNumberPtrInput is an input type that accepts SqlQueryParameterNumberArgs, SqlQueryParameterNumberPtr and SqlQueryParameterNumberPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterNumberPtrInput` via: // -// VectorSearchIndexStatusArgs{...} -type VectorSearchIndexStatusInput interface { +// SqlQueryParameterNumberArgs{...} +// +// or: +// +// nil +type SqlQueryParameterNumberPtrInput interface { pulumi.Input - ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput - ToVectorSearchIndexStatusOutputWithContext(context.Context) VectorSearchIndexStatusOutput + ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput + ToSqlQueryParameterNumberPtrOutputWithContext(context.Context) SqlQueryParameterNumberPtrOutput } -type VectorSearchIndexStatusArgs struct { - // Index API Url to be used to perform operations on the index - IndexUrl pulumi.StringPtrInput `pulumi:"indexUrl"` - // Number of rows indexed - IndexedRowCount pulumi.IntPtrInput `pulumi:"indexedRowCount"` - // Message associated with the index status - Message pulumi.StringPtrInput `pulumi:"message"` - // Whether the index is ready for search - Ready pulumi.BoolPtrInput `pulumi:"ready"` +type sqlQueryParameterNumberPtrType SqlQueryParameterNumberArgs + +func SqlQueryParameterNumberPtr(v *SqlQueryParameterNumberArgs) SqlQueryParameterNumberPtrInput { + return (*sqlQueryParameterNumberPtrType)(v) } -func (VectorSearchIndexStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() +func (*sqlQueryParameterNumberPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() } -func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { - return i.ToVectorSearchIndexStatusOutputWithContext(context.Background()) +func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return i.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusOutput) +func (i *sqlQueryParameterNumberPtrType) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterNumberPtrOutput) } -// VectorSearchIndexStatusArrayInput is an input type that accepts VectorSearchIndexStatusArray and VectorSearchIndexStatusArrayOutput values. -// You can construct a concrete instance of `VectorSearchIndexStatusArrayInput` via: -// -// VectorSearchIndexStatusArray{ VectorSearchIndexStatusArgs{...} } -type VectorSearchIndexStatusArrayInput interface { - pulumi.Input +type SqlQueryParameterNumberOutput struct{ *pulumi.OutputState } - ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput - ToVectorSearchIndexStatusArrayOutputWithContext(context.Context) VectorSearchIndexStatusArrayOutput +func (SqlQueryParameterNumberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterNumber)(nil)).Elem() } -type VectorSearchIndexStatusArray []VectorSearchIndexStatusInput +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutput() SqlQueryParameterNumberOutput { + return o +} -func (VectorSearchIndexStatusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberOutputWithContext(ctx context.Context) SqlQueryParameterNumberOutput { + return o } -func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { - return i.ToVectorSearchIndexStatusArrayOutputWithContext(context.Background()) +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { + return o.ToSqlQueryParameterNumberPtrOutputWithContext(context.Background()) } -func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusArrayOutput) +func (o SqlQueryParameterNumberOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterNumber) *SqlQueryParameterNumber { + return &v + }).(SqlQueryParameterNumberPtrOutput) } -type VectorSearchIndexStatusOutput struct{ *pulumi.OutputState } +// The default value for this parameter. +func (o SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) +} -func (VectorSearchIndexStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() +type SqlQueryParameterNumberPtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterNumberPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterNumber)(nil)).Elem() } -func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { +func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutput() SqlQueryParameterNumberPtrOutput { return o } -func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { +func (o SqlQueryParameterNumberPtrOutput) ToSqlQueryParameterNumberPtrOutputWithContext(ctx context.Context) SqlQueryParameterNumberPtrOutput { return o } -// Index API Url to be used to perform operations on the index -func (o VectorSearchIndexStatusOutput) IndexUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *string { return v.IndexUrl }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { + return o.ApplyT(func(v *SqlQueryParameterNumber) SqlQueryParameterNumber { + if v != nil { + return *v + } + var ret SqlQueryParameterNumber + return ret + }).(SqlQueryParameterNumberOutput) } -// Number of rows indexed -func (o VectorSearchIndexStatusOutput) IndexedRowCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *int { return v.IndexedRowCount }).(pulumi.IntPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterNumberPtrOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *SqlQueryParameterNumber) *float64 { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.Float64PtrOutput) } -// Message associated with the index status -func (o VectorSearchIndexStatusOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *string { return v.Message }).(pulumi.StringPtrOutput) +type SqlQueryParameterQuery struct { + Multiple *SqlQueryParameterQueryMultiple `pulumi:"multiple"` + QueryId string `pulumi:"queryId"` + // The default value for this parameter. + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` } -// Whether the index is ready for search -func (o VectorSearchIndexStatusOutput) Ready() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VectorSearchIndexStatus) *bool { return v.Ready }).(pulumi.BoolPtrOutput) +// SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryInput` via: +// +// SqlQueryParameterQueryArgs{...} +type SqlQueryParameterQueryInput interface { + pulumi.Input + + ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput + ToSqlQueryParameterQueryOutputWithContext(context.Context) SqlQueryParameterQueryOutput } -type VectorSearchIndexStatusArrayOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryArgs struct { + Multiple SqlQueryParameterQueryMultiplePtrInput `pulumi:"multiple"` + QueryId pulumi.StringInput `pulumi:"queryId"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` +} -func (VectorSearchIndexStatusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() +func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() } -func (o VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { - return o +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { + return i.ToSqlQueryParameterQueryOutputWithContext(context.Background()) } -func (o VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { - return o +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput) } -func (o VectorSearchIndexStatusArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexStatusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexStatus { - return vs[0].([]VectorSearchIndexStatus)[vs[1].(int)] - }).(VectorSearchIndexStatusOutput) +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -type GetCatalogCatalogInfo struct { - BrowseOnly *bool `pulumi:"browseOnly"` - // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - CatalogType *string `pulumi:"catalogType"` - // Free-form text description - Comment *string `pulumi:"comment"` - // The name of the connection to an external data source. - ConnectionName *string `pulumi:"connectionName"` - // Time at which this catalog was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of catalog creator. - CreatedBy *string `pulumi:"createdBy"` - // object describing applied predictive optimization flag. - EffectivePredictiveOptimizationFlag *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` - // Whether predictive optimization should be enabled for this object and objects under it. - EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` - // The full name of the catalog. Corresponds with the name field. - FullName *string `pulumi:"fullName"` - // Whether the current securable is accessible from all workspaces or a specific set of workspaces. - IsolationMode *string `pulumi:"isolationMode"` - // Unique identifier of parent metastore. - MetastoreId *string `pulumi:"metastoreId"` - // name of the catalog - Name *string `pulumi:"name"` - // A map of key-value properties attached to the securable. - Options map[string]string `pulumi:"options"` - // Current owner of the catalog - Owner *string `pulumi:"owner"` - // A map of key-value properties attached to the securable. - Properties map[string]string `pulumi:"properties"` - // The name of delta sharing provider. - ProviderName *string `pulumi:"providerName"` - ProvisioningInfo *GetCatalogCatalogInfoProvisioningInfo `pulumi:"provisioningInfo"` - // Kind of catalog securable. - SecurableKind *string `pulumi:"securableKind"` - // Securable type. - SecurableType *string `pulumi:"securableType"` - // The name of the share under the share provider. - ShareName *string `pulumi:"shareName"` - // Storage Location URL (full path) for managed tables within catalog. - StorageLocation *string `pulumi:"storageLocation"` - // Storage root URL for managed tables within catalog. - StorageRoot *string `pulumi:"storageRoot"` - // Time at which this catalog was last modified, in epoch milliseconds. - UpdatedAt *int `pulumi:"updatedAt"` - // Username of user who last modified catalog. - UpdatedBy *string `pulumi:"updatedBy"` +func (i SqlQueryParameterQueryArgs) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryOutput).ToSqlQueryParameterQueryPtrOutputWithContext(ctx) } -// GetCatalogCatalogInfoInput is an input type that accepts GetCatalogCatalogInfoArgs and GetCatalogCatalogInfoOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoInput` via: +// SqlQueryParameterQueryPtrInput is an input type that accepts SqlQueryParameterQueryArgs, SqlQueryParameterQueryPtr and SqlQueryParameterQueryPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryPtrInput` via: +// +// SqlQueryParameterQueryArgs{...} +// +// or: // -// GetCatalogCatalogInfoArgs{...} -type GetCatalogCatalogInfoInput interface { +// nil +type SqlQueryParameterQueryPtrInput interface { pulumi.Input - ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput - ToGetCatalogCatalogInfoOutputWithContext(context.Context) GetCatalogCatalogInfoOutput + ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput + ToSqlQueryParameterQueryPtrOutputWithContext(context.Context) SqlQueryParameterQueryPtrOutput } -type GetCatalogCatalogInfoArgs struct { - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - CatalogType pulumi.StringPtrInput `pulumi:"catalogType"` - // Free-form text description - Comment pulumi.StringPtrInput `pulumi:"comment"` - // The name of the connection to an external data source. - ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` - // Time at which this catalog was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of catalog creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // object describing applied predictive optimization flag. - EffectivePredictiveOptimizationFlag GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` - // Whether predictive optimization should be enabled for this object and objects under it. - EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` - // The full name of the catalog. Corresponds with the name field. - FullName pulumi.StringPtrInput `pulumi:"fullName"` - // Whether the current securable is accessible from all workspaces or a specific set of workspaces. - IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"` - // Unique identifier of parent metastore. - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // name of the catalog - Name pulumi.StringPtrInput `pulumi:"name"` - // A map of key-value properties attached to the securable. - Options pulumi.StringMapInput `pulumi:"options"` - // Current owner of the catalog - Owner pulumi.StringPtrInput `pulumi:"owner"` - // A map of key-value properties attached to the securable. - Properties pulumi.StringMapInput `pulumi:"properties"` - // The name of delta sharing provider. - ProviderName pulumi.StringPtrInput `pulumi:"providerName"` - ProvisioningInfo GetCatalogCatalogInfoProvisioningInfoPtrInput `pulumi:"provisioningInfo"` - // Kind of catalog securable. - SecurableKind pulumi.StringPtrInput `pulumi:"securableKind"` - // Securable type. - SecurableType pulumi.StringPtrInput `pulumi:"securableType"` - // The name of the share under the share provider. - ShareName pulumi.StringPtrInput `pulumi:"shareName"` - // Storage Location URL (full path) for managed tables within catalog. - StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` - // Storage root URL for managed tables within catalog. - StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` - // Time at which this catalog was last modified, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of user who last modified catalog. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +type sqlQueryParameterQueryPtrType SqlQueryParameterQueryArgs + +func SqlQueryParameterQueryPtr(v *SqlQueryParameterQueryArgs) SqlQueryParameterQueryPtrInput { + return (*sqlQueryParameterQueryPtrType)(v) } -func (GetCatalogCatalogInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() +func (*sqlQueryParameterQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() } -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { - return i.ToGetCatalogCatalogInfoOutputWithContext(context.Background()) +func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return i.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput) +func (i *sqlQueryParameterQueryPtrType) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryPtrOutput) } -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) +type SqlQueryParameterQueryOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQuery)(nil)).Elem() } -func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput).ToGetCatalogCatalogInfoPtrOutputWithContext(ctx) +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutput() SqlQueryParameterQueryOutput { + return o } -// GetCatalogCatalogInfoPtrInput is an input type that accepts GetCatalogCatalogInfoArgs, GetCatalogCatalogInfoPtr and GetCatalogCatalogInfoPtrOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoPtrInput` via: -// -// GetCatalogCatalogInfoArgs{...} -// -// or: -// -// nil -type GetCatalogCatalogInfoPtrInput interface { - pulumi.Input +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryOutputWithContext(ctx context.Context) SqlQueryParameterQueryOutput { + return o +} - ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput - ToGetCatalogCatalogInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoPtrOutput +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { + return o.ToSqlQueryParameterQueryPtrOutputWithContext(context.Background()) } -type getCatalogCatalogInfoPtrType GetCatalogCatalogInfoArgs +func (o SqlQueryParameterQueryOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQuery) *SqlQueryParameterQuery { + return &v + }).(SqlQueryParameterQueryPtrOutput) +} -func GetCatalogCatalogInfoPtr(v *GetCatalogCatalogInfoArgs) GetCatalogCatalogInfoPtrInput { - return (*getCatalogCatalogInfoPtrType)(v) +func (o SqlQueryParameterQueryOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { return v.Multiple }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (*getCatalogCatalogInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() +func (o SqlQueryParameterQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) string { return v.QueryId }).(pulumi.StringOutput) } -func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) +// The default value for this parameter. +func (o SqlQueryParameterQueryOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoPtrOutput) +func (o SqlQueryParameterQueryOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlQueryParameterQuery) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetCatalogCatalogInfoOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryPtrOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() +func (SqlQueryParameterQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQuery)(nil)).Elem() } -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { +func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutput() SqlQueryParameterQueryPtrOutput { return o } -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { +func (o SqlQueryParameterQueryPtrOutput) ToSqlQueryParameterQueryPtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryPtrOutput { return o } -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { - return o.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) +func (o SqlQueryParameterQueryPtrOutput) Elem() SqlQueryParameterQueryOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) SqlQueryParameterQuery { + if v != nil { + return *v + } + var ret SqlQueryParameterQuery + return ret + }).(SqlQueryParameterQueryOutput) } -func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfo) *GetCatalogCatalogInfo { - return &v - }).(GetCatalogCatalogInfoPtrOutput) +func (o SqlQueryParameterQueryPtrOutput) Multiple() SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *SqlQueryParameterQueryMultiple { + if v == nil { + return nil + } + return v.Multiple + }).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o GetCatalogCatalogInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) +func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *string { + if v == nil { + return nil + } + return &v.QueryId + }).(pulumi.StringPtrOutput) } -// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, -func (o GetCatalogCatalogInfoOutput) CatalogType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CatalogType }).(pulumi.StringPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterQueryPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) *string { + if v == nil { + return nil + } + return v.Value + }).(pulumi.StringPtrOutput) } -// Free-form text description -func (o GetCatalogCatalogInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SqlQueryParameterQuery) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) } -// The name of the connection to an external data source. -func (o GetCatalogCatalogInfoOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) +type SqlQueryParameterQueryMultiple struct { + Prefix *string `pulumi:"prefix"` + Separator string `pulumi:"separator"` + Suffix *string `pulumi:"suffix"` } -// Time at which this catalog was created, in epoch milliseconds. -func (o GetCatalogCatalogInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +// SqlQueryParameterQueryMultipleInput is an input type that accepts SqlQueryParameterQueryMultipleArgs and SqlQueryParameterQueryMultipleOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryMultipleInput` via: +// +// SqlQueryParameterQueryMultipleArgs{...} +type SqlQueryParameterQueryMultipleInput interface { + pulumi.Input + + ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput + ToSqlQueryParameterQueryMultipleOutputWithContext(context.Context) SqlQueryParameterQueryMultipleOutput } -// Username of catalog creator. -func (o GetCatalogCatalogInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +type SqlQueryParameterQueryMultipleArgs struct { + Prefix pulumi.StringPtrInput `pulumi:"prefix"` + Separator pulumi.StringInput `pulumi:"separator"` + Suffix pulumi.StringPtrInput `pulumi:"suffix"` } -// object describing applied predictive optimization flag. -func (o GetCatalogCatalogInfoOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { - return v.EffectivePredictiveOptimizationFlag - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (SqlQueryParameterQueryMultipleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() } -// Whether predictive optimization should be enabled for this object and objects under it. -func (o GetCatalogCatalogInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { + return i.ToSqlQueryParameterQueryMultipleOutputWithContext(context.Background()) } -// The full name of the catalog. Corresponds with the name field. -func (o GetCatalogCatalogInfoOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput) } -// Whether the current securable is accessible from all workspaces or a specific set of workspaces. -func (o GetCatalogCatalogInfoOutput) IsolationMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.IsolationMode }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -// Unique identifier of parent metastore. -func (o GetCatalogCatalogInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterQueryMultipleArgs) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultipleOutput).ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx) } -// name of the catalog -func (o GetCatalogCatalogInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +// SqlQueryParameterQueryMultiplePtrInput is an input type that accepts SqlQueryParameterQueryMultipleArgs, SqlQueryParameterQueryMultiplePtr and SqlQueryParameterQueryMultiplePtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterQueryMultiplePtrInput` via: +// +// SqlQueryParameterQueryMultipleArgs{...} +// +// or: +// +// nil +type SqlQueryParameterQueryMultiplePtrInput interface { + pulumi.Input + + ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput + ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Context) SqlQueryParameterQueryMultiplePtrOutput } -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoOutput) Options() pulumi.StringMapOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]string { return v.Options }).(pulumi.StringMapOutput) +type sqlQueryParameterQueryMultiplePtrType SqlQueryParameterQueryMultipleArgs + +func SqlQueryParameterQueryMultiplePtr(v *SqlQueryParameterQueryMultipleArgs) SqlQueryParameterQueryMultiplePtrInput { + return (*sqlQueryParameterQueryMultiplePtrType)(v) } -// Current owner of the catalog -func (o GetCatalogCatalogInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (*sqlQueryParameterQueryMultiplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() } -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return i.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -// The name of delta sharing provider. -func (o GetCatalogCatalogInfoOutput) ProviderName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ProviderName }).(pulumi.StringPtrOutput) +func (i *sqlQueryParameterQueryMultiplePtrType) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterQueryMultiplePtrOutput) } -func (o GetCatalogCatalogInfoOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { return v.ProvisioningInfo }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +type SqlQueryParameterQueryMultipleOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterQueryMultipleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterQueryMultiple)(nil)).Elem() } -// Kind of catalog securable. -func (o GetCatalogCatalogInfoOutput) SecurableKind() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableKind }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutput() SqlQueryParameterQueryMultipleOutput { + return o } -// Securable type. -func (o GetCatalogCatalogInfoOutput) SecurableType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableType }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultipleOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultipleOutput { + return o } -// The name of the share under the share provider. -func (o GetCatalogCatalogInfoOutput) ShareName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ShareName }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { + return o.ToSqlQueryParameterQueryMultiplePtrOutputWithContext(context.Background()) } -// Storage Location URL (full path) for managed tables within catalog. -func (o GetCatalogCatalogInfoOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterQueryMultiple) *SqlQueryParameterQueryMultiple { + return &v + }).(SqlQueryParameterQueryMultiplePtrOutput) } -// Storage root URL for managed tables within catalog. -func (o GetCatalogCatalogInfoOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Prefix }).(pulumi.StringPtrOutput) } -// Time at which this catalog was last modified, in epoch milliseconds. -func (o GetCatalogCatalogInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Separator() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) string { return v.Separator }).(pulumi.StringOutput) } -// Username of user who last modified catalog. -func (o GetCatalogCatalogInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterQueryMultipleOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryParameterQueryMultiple) *string { return v.Suffix }).(pulumi.StringPtrOutput) } -type GetCatalogCatalogInfoPtrOutput struct{ *pulumi.OutputState } +type SqlQueryParameterQueryMultiplePtrOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() +func (SqlQueryParameterQueryMultiplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterQueryMultiple)(nil)).Elem() } -func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { +func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutput() SqlQueryParameterQueryMultiplePtrOutput { return o } -func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { +func (o SqlQueryParameterQueryMultiplePtrOutput) ToSqlQueryParameterQueryMultiplePtrOutputWithContext(ctx context.Context) SqlQueryParameterQueryMultiplePtrOutput { return o } -func (o GetCatalogCatalogInfoPtrOutput) Elem() GetCatalogCatalogInfoOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) GetCatalogCatalogInfo { +func (o SqlQueryParameterQueryMultiplePtrOutput) Elem() SqlQueryParameterQueryMultipleOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) SqlQueryParameterQueryMultiple { if v != nil { return *v } - var ret GetCatalogCatalogInfo + var ret SqlQueryParameterQueryMultiple return ret - }).(GetCatalogCatalogInfoOutput) + }).(SqlQueryParameterQueryMultipleOutput) } -func (o GetCatalogCatalogInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *bool { +func (o SqlQueryParameterQueryMultiplePtrOutput) Prefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.BrowseOnly - }).(pulumi.BoolPtrOutput) + return v.Prefix + }).(pulumi.StringPtrOutput) } -// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, -func (o GetCatalogCatalogInfoPtrOutput) CatalogType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { +func (o SqlQueryParameterQueryMultiplePtrOutput) Separator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.CatalogType + return &v.Separator }).(pulumi.StringPtrOutput) } -// Free-form text description -func (o GetCatalogCatalogInfoPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { +func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterQueryMultiple) *string { if v == nil { return nil } - return v.Comment + return v.Suffix }).(pulumi.StringPtrOutput) } -// The name of the connection to an external data source. -func (o GetCatalogCatalogInfoPtrOutput) ConnectionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.ConnectionName - }).(pulumi.StringPtrOutput) +type SqlQueryParameterText struct { + // The default value for this parameter. + Value string `pulumi:"value"` } -// Time at which this catalog was created, in epoch milliseconds. -func (o GetCatalogCatalogInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +// SqlQueryParameterTextInput is an input type that accepts SqlQueryParameterTextArgs and SqlQueryParameterTextOutput values. +// You can construct a concrete instance of `SqlQueryParameterTextInput` via: +// +// SqlQueryParameterTextArgs{...} +type SqlQueryParameterTextInput interface { + pulumi.Input + + ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput + ToSqlQueryParameterTextOutputWithContext(context.Context) SqlQueryParameterTextOutput } -// Username of catalog creator. -func (o GetCatalogCatalogInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +type SqlQueryParameterTextArgs struct { + // The default value for this parameter. + Value pulumi.StringInput `pulumi:"value"` } -// object describing applied predictive optimization flag. -func (o GetCatalogCatalogInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { - if v == nil { - return nil - } - return v.EffectivePredictiveOptimizationFlag - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (SqlQueryParameterTextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() } -// Whether predictive optimization should be enabled for this object and objects under it. -func (o GetCatalogCatalogInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.EnablePredictiveOptimization - }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { + return i.ToSqlQueryParameterTextOutputWithContext(context.Background()) } -// The full name of the catalog. Corresponds with the name field. -func (o GetCatalogCatalogInfoPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.FullName - }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput) } -// Whether the current securable is accessible from all workspaces or a specific set of workspaces. -func (o GetCatalogCatalogInfoPtrOutput) IsolationMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.IsolationMode - }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -// Unique identifier of parent metastore. -func (o GetCatalogCatalogInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (i SqlQueryParameterTextArgs) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextOutput).ToSqlQueryParameterTextPtrOutputWithContext(ctx) } -// name of the catalog -func (o GetCatalogCatalogInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +// SqlQueryParameterTextPtrInput is an input type that accepts SqlQueryParameterTextArgs, SqlQueryParameterTextPtr and SqlQueryParameterTextPtrOutput values. +// You can construct a concrete instance of `SqlQueryParameterTextPtrInput` via: +// +// SqlQueryParameterTextArgs{...} +// +// or: +// +// nil +type SqlQueryParameterTextPtrInput interface { + pulumi.Input + + ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput + ToSqlQueryParameterTextPtrOutputWithContext(context.Context) SqlQueryParameterTextPtrOutput } -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoPtrOutput) Options() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]string { - if v == nil { - return nil - } - return v.Options - }).(pulumi.StringMapOutput) +type sqlQueryParameterTextPtrType SqlQueryParameterTextArgs + +func SqlQueryParameterTextPtr(v *SqlQueryParameterTextArgs) SqlQueryParameterTextPtrInput { + return (*sqlQueryParameterTextPtrType)(v) +} + +func (*sqlQueryParameterTextPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() +} + +func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return i.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) +} + +func (i *sqlQueryParameterTextPtrType) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryParameterTextPtrOutput) } -// Current owner of the catalog -func (o GetCatalogCatalogInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.Owner - }).(pulumi.StringPtrOutput) +type SqlQueryParameterTextOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterTextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryParameterText)(nil)).Elem() } -// A map of key-value properties attached to the securable. -func (o GetCatalogCatalogInfoPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutput() SqlQueryParameterTextOutput { + return o } -// The name of delta sharing provider. -func (o GetCatalogCatalogInfoPtrOutput) ProviderName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.ProviderName - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextOutputWithContext(ctx context.Context) SqlQueryParameterTextOutput { + return o } -func (o GetCatalogCatalogInfoPtrOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { - if v == nil { - return nil - } - return v.ProvisioningInfo - }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return o.ToSqlQueryParameterTextPtrOutputWithContext(context.Background()) } -// Kind of catalog securable. -func (o GetCatalogCatalogInfoPtrOutput) SecurableKind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.SecurableKind - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterTextOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryParameterText) *SqlQueryParameterText { + return &v + }).(SqlQueryParameterTextPtrOutput) } -// Securable type. -func (o GetCatalogCatalogInfoPtrOutput) SecurableType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.SecurableType - }).(pulumi.StringPtrOutput) +// The default value for this parameter. +func (o SqlQueryParameterTextOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) } -// The name of the share under the share provider. -func (o GetCatalogCatalogInfoPtrOutput) ShareName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.ShareName - }).(pulumi.StringPtrOutput) +type SqlQueryParameterTextPtrOutput struct{ *pulumi.OutputState } + +func (SqlQueryParameterTextPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryParameterText)(nil)).Elem() } -// Storage Location URL (full path) for managed tables within catalog. -func (o GetCatalogCatalogInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.StorageLocation - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutput() SqlQueryParameterTextPtrOutput { + return o } -// Storage root URL for managed tables within catalog. -func (o GetCatalogCatalogInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { - if v == nil { - return nil - } - return v.StorageRoot - }).(pulumi.StringPtrOutput) +func (o SqlQueryParameterTextPtrOutput) ToSqlQueryParameterTextPtrOutputWithContext(ctx context.Context) SqlQueryParameterTextPtrOutput { + return o } -// Time at which this catalog was last modified, in epoch milliseconds. -func (o GetCatalogCatalogInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { - if v == nil { - return nil +func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { + return o.ApplyT(func(v *SqlQueryParameterText) SqlQueryParameterText { + if v != nil { + return *v } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) + var ret SqlQueryParameterText + return ret + }).(SqlQueryParameterTextOutput) } -// Username of user who last modified catalog. -func (o GetCatalogCatalogInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { +// The default value for this parameter. +func (o SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryParameterText) *string { if v == nil { return nil } - return v.UpdatedBy + return &v.Value }).(pulumi.StringPtrOutput) } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct { - InheritedFromName *string `pulumi:"inheritedFromName"` - InheritedFromType *string `pulumi:"inheritedFromType"` - Value string `pulumi:"value"` +type SqlQuerySchedule struct { + Continuous *SqlQueryScheduleContinuous `pulumi:"continuous"` + Daily *SqlQueryScheduleDaily `pulumi:"daily"` + Weekly *SqlQueryScheduleWeekly `pulumi:"weekly"` } -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput` via: +// SqlQueryScheduleInput is an input type that accepts SqlQueryScheduleArgs and SqlQueryScheduleOutput values. +// You can construct a concrete instance of `SqlQueryScheduleInput` via: // -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput interface { +// SqlQueryScheduleArgs{...} +type SqlQueryScheduleInput interface { pulumi.Input - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput + ToSqlQueryScheduleOutput() SqlQueryScheduleOutput + ToSqlQueryScheduleOutputWithContext(context.Context) SqlQueryScheduleOutput } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs struct { - InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` - InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` - Value pulumi.StringInput `pulumi:"value"` +type SqlQueryScheduleArgs struct { + Continuous SqlQueryScheduleContinuousPtrInput `pulumi:"continuous"` + Daily SqlQueryScheduleDailyPtrInput `pulumi:"daily"` + Weekly SqlQueryScheduleWeeklyPtrInput `pulumi:"weekly"` } -func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (SqlQueryScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { - return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) +func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { + return i.ToSqlQueryScheduleOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) +func (i SqlQueryScheduleArgs) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput) } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput).ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) +func (i SqlQueryScheduleArgs) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleOutput).ToSqlQuerySchedulePtrOutputWithContext(ctx) } -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs, GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput` via: +// SqlQuerySchedulePtrInput is an input type that accepts SqlQueryScheduleArgs, SqlQuerySchedulePtr and SqlQuerySchedulePtrOutput values. +// You can construct a concrete instance of `SqlQuerySchedulePtrInput` via: // -// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} +// SqlQueryScheduleArgs{...} // // or: // // nil -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput interface { +type SqlQuerySchedulePtrInput interface { pulumi.Input - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput - ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput + ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput + ToSqlQuerySchedulePtrOutputWithContext(context.Context) SqlQuerySchedulePtrOutput } -type getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs +type sqlQuerySchedulePtrType SqlQueryScheduleArgs -func GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput { - return (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType)(v) +func SqlQuerySchedulePtr(v *SqlQueryScheduleArgs) SqlQuerySchedulePtrInput { + return (*sqlQuerySchedulePtrType)(v) } -func (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (*sqlQuerySchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() } -func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return i.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (i *sqlQuerySchedulePtrType) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQuerySchedulePtrOutput) } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (SqlQueryScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQuerySchedule)(nil)).Elem() } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { +func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutput() SqlQueryScheduleOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { +func (o SqlQueryScheduleOutput) ToSqlQueryScheduleOutputWithContext(ctx context.Context) SqlQueryScheduleOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { + return o.ToSqlQuerySchedulePtrOutputWithContext(context.Background()) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { +func (o SqlQueryScheduleOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQuerySchedule) *SqlQuerySchedule { return &v - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) + }).(SqlQuerySchedulePtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleContinuous { return v.Continuous }).(SqlQueryScheduleContinuousPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleOutput) Daily() SqlQueryScheduleDailyPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleDaily { return v.Daily }).(SqlQueryScheduleDailyPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) +func (o SqlQueryScheduleOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyT(func(v SqlQuerySchedule) *SqlQueryScheduleWeekly { return v.Weekly }).(SqlQueryScheduleWeeklyPtrOutput) } -type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } +type SqlQuerySchedulePtrOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (SqlQuerySchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQuerySchedule)(nil)).Elem() } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { +func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutput() SqlQuerySchedulePtrOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { +func (o SqlQuerySchedulePtrOutput) ToSqlQuerySchedulePtrOutputWithContext(ctx context.Context) SqlQuerySchedulePtrOutput { return o } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { +func (o SqlQuerySchedulePtrOutput) Elem() SqlQueryScheduleOutput { + return o.ApplyT(func(v *SqlQuerySchedule) SqlQuerySchedule { if v != nil { return *v } - var ret GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag + var ret SqlQuerySchedule return ret - }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) + }).(SqlQueryScheduleOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { +func (o SqlQuerySchedulePtrOutput) Continuous() SqlQueryScheduleContinuousPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleContinuous { if v == nil { return nil } - return v.InheritedFromName - }).(pulumi.StringPtrOutput) + return v.Continuous + }).(SqlQueryScheduleContinuousPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { +func (o SqlQuerySchedulePtrOutput) Daily() SqlQueryScheduleDailyPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleDaily { if v == nil { return nil } - return v.InheritedFromType - }).(pulumi.StringPtrOutput) + return v.Daily + }).(SqlQueryScheduleDailyPtrOutput) } -func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { +func (o SqlQuerySchedulePtrOutput) Weekly() SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyT(func(v *SqlQuerySchedule) *SqlQueryScheduleWeekly { if v == nil { return nil } - return &v.Value - }).(pulumi.StringPtrOutput) + return v.Weekly + }).(SqlQueryScheduleWeeklyPtrOutput) } -type GetCatalogCatalogInfoProvisioningInfo struct { - State *string `pulumi:"state"` +type SqlQueryScheduleContinuous struct { + IntervalSeconds int `pulumi:"intervalSeconds"` + UntilDate *string `pulumi:"untilDate"` } -// GetCatalogCatalogInfoProvisioningInfoInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs and GetCatalogCatalogInfoProvisioningInfoOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoInput` via: +// SqlQueryScheduleContinuousInput is an input type that accepts SqlQueryScheduleContinuousArgs and SqlQueryScheduleContinuousOutput values. +// You can construct a concrete instance of `SqlQueryScheduleContinuousInput` via: // -// GetCatalogCatalogInfoProvisioningInfoArgs{...} -type GetCatalogCatalogInfoProvisioningInfoInput interface { +// SqlQueryScheduleContinuousArgs{...} +type SqlQueryScheduleContinuousInput interface { pulumi.Input - ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput - ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoOutput + ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput + ToSqlQueryScheduleContinuousOutputWithContext(context.Context) SqlQueryScheduleContinuousOutput } -type GetCatalogCatalogInfoProvisioningInfoArgs struct { - State pulumi.StringPtrInput `pulumi:"state"` +type SqlQueryScheduleContinuousArgs struct { + IntervalSeconds pulumi.IntInput `pulumi:"intervalSeconds"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (GetCatalogCatalogInfoProvisioningInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (SqlQueryScheduleContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { - return i.ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Background()) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { + return i.ToSqlQueryScheduleContinuousOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput) } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput).ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx) +func (i SqlQueryScheduleContinuousArgs) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousOutput).ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx) } -// GetCatalogCatalogInfoProvisioningInfoPtrInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs, GetCatalogCatalogInfoProvisioningInfoPtr and GetCatalogCatalogInfoProvisioningInfoPtrOutput values. -// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoPtrInput` via: +// SqlQueryScheduleContinuousPtrInput is an input type that accepts SqlQueryScheduleContinuousArgs, SqlQueryScheduleContinuousPtr and SqlQueryScheduleContinuousPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleContinuousPtrInput` via: // -// GetCatalogCatalogInfoProvisioningInfoArgs{...} +// SqlQueryScheduleContinuousArgs{...} // // or: // // nil -type GetCatalogCatalogInfoProvisioningInfoPtrInput interface { +type SqlQueryScheduleContinuousPtrInput interface { pulumi.Input - ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput - ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput + ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput + ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Context) SqlQueryScheduleContinuousPtrOutput } -type getCatalogCatalogInfoProvisioningInfoPtrType GetCatalogCatalogInfoProvisioningInfoArgs +type sqlQueryScheduleContinuousPtrType SqlQueryScheduleContinuousArgs -func GetCatalogCatalogInfoProvisioningInfoPtr(v *GetCatalogCatalogInfoProvisioningInfoArgs) GetCatalogCatalogInfoProvisioningInfoPtrInput { - return (*getCatalogCatalogInfoProvisioningInfoPtrType)(v) +func SqlQueryScheduleContinuousPtr(v *SqlQueryScheduleContinuousArgs) SqlQueryScheduleContinuousPtrInput { + return (*sqlQueryScheduleContinuousPtrType)(v) } -func (*getCatalogCatalogInfoProvisioningInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (*sqlQueryScheduleContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() } -func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return i.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) +func (i *sqlQueryScheduleContinuousPtrType) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleContinuousPtrOutput) } -type GetCatalogCatalogInfoProvisioningInfoOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleContinuousOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoProvisioningInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (SqlQueryScheduleContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleContinuous)(nil)).Elem() } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutput() SqlQueryScheduleContinuousOutput { return o } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousOutput { return o } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { + return o.ToSqlQueryScheduleContinuousPtrOutputWithContext(context.Background()) } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoProvisioningInfo) *GetCatalogCatalogInfoProvisioningInfo { +func (o SqlQueryScheduleContinuousOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleContinuous) *SqlQueryScheduleContinuous { return &v - }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) + }).(SqlQueryScheduleContinuousPtrOutput) +} + +func (o SqlQueryScheduleContinuousOutput) IntervalSeconds() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleContinuous) int { return v.IntervalSeconds }).(pulumi.IntOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCatalogCatalogInfoProvisioningInfo) *string { return v.State }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleContinuousOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleContinuous) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -type GetCatalogCatalogInfoProvisioningInfoPtrOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleContinuousPtrOutput struct{ *pulumi.OutputState } -func (GetCatalogCatalogInfoProvisioningInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() +func (SqlQueryScheduleContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleContinuous)(nil)).Elem() } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { +func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutput() SqlQueryScheduleContinuousPtrOutput { return o } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { +func (o SqlQueryScheduleContinuousPtrOutput) ToSqlQueryScheduleContinuousPtrOutputWithContext(ctx context.Context) SqlQueryScheduleContinuousPtrOutput { return o } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) Elem() GetCatalogCatalogInfoProvisioningInfoOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) GetCatalogCatalogInfoProvisioningInfo { +func (o SqlQueryScheduleContinuousPtrOutput) Elem() SqlQueryScheduleContinuousOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) SqlQueryScheduleContinuous { if v != nil { return *v } - var ret GetCatalogCatalogInfoProvisioningInfo + var ret SqlQueryScheduleContinuous return ret - }).(GetCatalogCatalogInfoProvisioningInfoOutput) + }).(SqlQueryScheduleContinuousOutput) +} + +func (o SqlQueryScheduleContinuousPtrOutput) IntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) *int { + if v == nil { + return nil + } + return &v.IntervalSeconds + }).(pulumi.IntPtrOutput) } -func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) *string { +func (o SqlQueryScheduleContinuousPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleContinuous) *string { if v == nil { return nil } - return v.State + return v.UntilDate }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfo struct { - Autoscale *GetClusterClusterInfoAutoscale `pulumi:"autoscale"` - // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetClusterClusterInfoAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetClusterClusterInfoAzureAttributes `pulumi:"azureAttributes"` - ClusterCores *float64 `pulumi:"clusterCores"` - // The id of the cluster - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetClusterClusterInfoClusterLogConf `pulumi:"clusterLogConf"` - ClusterLogStatus *GetClusterClusterInfoClusterLogStatus `pulumi:"clusterLogStatus"` - ClusterMemoryMb *int `pulumi:"clusterMemoryMb"` - // The exact name of the cluster to search - ClusterName *string `pulumi:"clusterName"` - ClusterSource *string `pulumi:"clusterSource"` - CreatorUserName *string `pulumi:"creatorUserName"` - // Additional tags for cluster resources. - CustomTags map[string]string `pulumi:"customTags"` - // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DefaultTags map[string]string `pulumi:"defaultTags"` - DockerImage *GetClusterClusterInfoDockerImage `pulumi:"dockerImage"` - Driver *GetClusterClusterInfoDriver `pulumi:"driver"` - // similar to `instancePoolId`, but for driver node. - DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` - // The node type of the Spark driver. - DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` - // Use autoscaling local storage. - EnableElasticDisk *bool `pulumi:"enableElasticDisk"` - // Enable local disk encryption. - EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` - Executors []GetClusterClusterInfoExecutor `pulumi:"executors"` - GcpAttributes *GetClusterClusterInfoGcpAttributes `pulumi:"gcpAttributes"` - InitScripts []GetClusterClusterInfoInitScript `pulumi:"initScripts"` - // The pool of idle instances the cluster is attached to. - InstancePoolId *string `pulumi:"instancePoolId"` - JdbcPort *int `pulumi:"jdbcPort"` - LastRestartedTime *int `pulumi:"lastRestartedTime"` - LastStateLossTime *int `pulumi:"lastStateLossTime"` - // Any supported getNodeType id. - NodeTypeId *string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - // Identifier of Cluster Policy to validate cluster and preset certain defaults. - PolicyId *string `pulumi:"policyId"` - // The type of runtime of the cluster - RuntimeEngine *string `pulumi:"runtimeEngine"` - // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - SingleUserName *string `pulumi:"singleUserName"` - // Map with key-value pairs to fine-tune Spark clusters. - SparkConf map[string]string `pulumi:"sparkConf"` - SparkContextId *int `pulumi:"sparkContextId"` - // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - SparkVersion *string `pulumi:"sparkVersion"` - Spec *GetClusterClusterInfoSpec `pulumi:"spec"` - // SSH public key contents that will be added to each Spark node in this cluster. - SshPublicKeys []string `pulumi:"sshPublicKeys"` - StartTime *int `pulumi:"startTime"` - State *string `pulumi:"state"` - StateMessage *string `pulumi:"stateMessage"` - TerminatedTime *int `pulumi:"terminatedTime"` - TerminationReason *GetClusterClusterInfoTerminationReason `pulumi:"terminationReason"` - WorkloadType *GetClusterClusterInfoWorkloadType `pulumi:"workloadType"` -} - -// GetClusterClusterInfoInput is an input type that accepts GetClusterClusterInfoArgs and GetClusterClusterInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInput` via: -// -// GetClusterClusterInfoArgs{...} -type GetClusterClusterInfoInput interface { - pulumi.Input - - ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput - ToGetClusterClusterInfoOutputWithContext(context.Context) GetClusterClusterInfoOutput -} - -type GetClusterClusterInfoArgs struct { - Autoscale GetClusterClusterInfoAutoscalePtrInput `pulumi:"autoscale"` - // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetClusterClusterInfoAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetClusterClusterInfoAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterCores pulumi.Float64PtrInput `pulumi:"clusterCores"` - // The id of the cluster - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetClusterClusterInfoClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterLogStatus GetClusterClusterInfoClusterLogStatusPtrInput `pulumi:"clusterLogStatus"` - ClusterMemoryMb pulumi.IntPtrInput `pulumi:"clusterMemoryMb"` - // The exact name of the cluster to search - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - ClusterSource pulumi.StringPtrInput `pulumi:"clusterSource"` - CreatorUserName pulumi.StringPtrInput `pulumi:"creatorUserName"` - // Additional tags for cluster resources. - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DefaultTags pulumi.StringMapInput `pulumi:"defaultTags"` - DockerImage GetClusterClusterInfoDockerImagePtrInput `pulumi:"dockerImage"` - Driver GetClusterClusterInfoDriverPtrInput `pulumi:"driver"` - // similar to `instancePoolId`, but for driver node. - DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` - // The node type of the Spark driver. - DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` - // Use autoscaling local storage. - EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` - // Enable local disk encryption. - EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` - Executors GetClusterClusterInfoExecutorArrayInput `pulumi:"executors"` - GcpAttributes GetClusterClusterInfoGcpAttributesPtrInput `pulumi:"gcpAttributes"` - InitScripts GetClusterClusterInfoInitScriptArrayInput `pulumi:"initScripts"` - // The pool of idle instances the cluster is attached to. - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - JdbcPort pulumi.IntPtrInput `pulumi:"jdbcPort"` - LastRestartedTime pulumi.IntPtrInput `pulumi:"lastRestartedTime"` - LastStateLossTime pulumi.IntPtrInput `pulumi:"lastStateLossTime"` - // Any supported getNodeType id. - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - // Identifier of Cluster Policy to validate cluster and preset certain defaults. - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - // The type of runtime of the cluster - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - // Map with key-value pairs to fine-tune Spark clusters. - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkContextId pulumi.IntPtrInput `pulumi:"sparkContextId"` - // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - SparkVersion pulumi.StringPtrInput `pulumi:"sparkVersion"` - Spec GetClusterClusterInfoSpecPtrInput `pulumi:"spec"` - // SSH public key contents that will be added to each Spark node in this cluster. - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - StartTime pulumi.IntPtrInput `pulumi:"startTime"` - State pulumi.StringPtrInput `pulumi:"state"` - StateMessage pulumi.StringPtrInput `pulumi:"stateMessage"` - TerminatedTime pulumi.IntPtrInput `pulumi:"terminatedTime"` - TerminationReason GetClusterClusterInfoTerminationReasonPtrInput `pulumi:"terminationReason"` - WorkloadType GetClusterClusterInfoWorkloadTypePtrInput `pulumi:"workloadType"` -} - -func (GetClusterClusterInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() -} - -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { - return i.ToGetClusterClusterInfoOutputWithContext(context.Background()) -} - -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput) -} - -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) -} - -func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput).ToGetClusterClusterInfoPtrOutputWithContext(ctx) -} - -// GetClusterClusterInfoPtrInput is an input type that accepts GetClusterClusterInfoArgs, GetClusterClusterInfoPtr and GetClusterClusterInfoPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoPtrInput` via: -// -// GetClusterClusterInfoArgs{...} -// -// or: +type SqlQueryScheduleDaily struct { + IntervalDays int `pulumi:"intervalDays"` + TimeOfDay string `pulumi:"timeOfDay"` + UntilDate *string `pulumi:"untilDate"` +} + +// SqlQueryScheduleDailyInput is an input type that accepts SqlQueryScheduleDailyArgs and SqlQueryScheduleDailyOutput values. +// You can construct a concrete instance of `SqlQueryScheduleDailyInput` via: // -// nil -type GetClusterClusterInfoPtrInput interface { +// SqlQueryScheduleDailyArgs{...} +type SqlQueryScheduleDailyInput interface { pulumi.Input - ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput - ToGetClusterClusterInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoPtrOutput + ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput + ToSqlQueryScheduleDailyOutputWithContext(context.Context) SqlQueryScheduleDailyOutput } -type getClusterClusterInfoPtrType GetClusterClusterInfoArgs - -func GetClusterClusterInfoPtr(v *GetClusterClusterInfoArgs) GetClusterClusterInfoPtrInput { - return (*getClusterClusterInfoPtrType)(v) +type SqlQueryScheduleDailyArgs struct { + IntervalDays pulumi.IntInput `pulumi:"intervalDays"` + TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (*getClusterClusterInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() +func (SqlQueryScheduleDailyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() } -func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { + return i.ToSqlQueryScheduleDailyOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoPtrOutput) +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput) } -type GetClusterClusterInfoOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { - return o +func (i SqlQueryScheduleDailyArgs) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyOutput).ToSqlQueryScheduleDailyPtrOutputWithContext(ctx) } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { - return o -} +// SqlQueryScheduleDailyPtrInput is an input type that accepts SqlQueryScheduleDailyArgs, SqlQueryScheduleDailyPtr and SqlQueryScheduleDailyPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleDailyPtrInput` via: +// +// SqlQueryScheduleDailyArgs{...} +// +// or: +// +// nil +type SqlQueryScheduleDailyPtrInput interface { + pulumi.Input -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { - return o.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) + ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput + ToSqlQueryScheduleDailyPtrOutputWithContext(context.Context) SqlQueryScheduleDailyPtrOutput } -func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfo) *GetClusterClusterInfo { - return &v - }).(GetClusterClusterInfoPtrOutput) -} +type sqlQueryScheduleDailyPtrType SqlQueryScheduleDailyArgs -func (o GetClusterClusterInfoOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { return v.Autoscale }).(GetClusterClusterInfoAutoscalePtrOutput) +func SqlQueryScheduleDailyPtr(v *SqlQueryScheduleDailyArgs) SqlQueryScheduleDailyPtrInput { + return (*sqlQueryScheduleDailyPtrType)(v) } -// Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. -func (o GetClusterClusterInfoOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (*sqlQueryScheduleDailyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoAwsAttributesPtrOutput) +func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return i.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (i *sqlQueryScheduleDailyPtrType) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleDailyPtrOutput) } -func (o GetClusterClusterInfoOutput) ClusterCores() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *float64 { return v.ClusterCores }).(pulumi.Float64PtrOutput) -} +type SqlQueryScheduleDailyOutput struct{ *pulumi.OutputState } -// The id of the cluster -func (o GetClusterClusterInfoOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (SqlQueryScheduleDailyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleDaily)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoClusterLogConfPtrOutput) +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutput() SqlQueryScheduleDailyOutput { + return o } -func (o GetClusterClusterInfoOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { return v.ClusterLogStatus }).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyOutputWithContext(ctx context.Context) SqlQueryScheduleDailyOutput { + return o } -func (o GetClusterClusterInfoOutput) ClusterMemoryMb() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.ClusterMemoryMb }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return o.ToSqlQueryScheduleDailyPtrOutputWithContext(context.Background()) } -// The exact name of the cluster to search -func (o GetClusterClusterInfoOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleDailyOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleDaily) *SqlQueryScheduleDaily { + return &v + }).(SqlQueryScheduleDailyPtrOutput) } -func (o GetClusterClusterInfoOutput) ClusterSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterSource }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleDailyOutput) IntervalDays() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) int { return v.IntervalDays }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleDailyOutput) TimeOfDay() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) string { return v.TimeOfDay }).(pulumi.StringOutput) } -// Additional tags for cluster resources. -func (o GetClusterClusterInfoOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (o SqlQueryScheduleDailyOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleDaily) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. -func (o GetClusterClusterInfoOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) -} +type SqlQueryScheduleDailyPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoOutput) DefaultTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.DefaultTags }).(pulumi.StringMapOutput) +func (SqlQueryScheduleDailyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleDaily)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { return v.DockerImage }).(GetClusterClusterInfoDockerImagePtrOutput) +func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutput() SqlQueryScheduleDailyPtrOutput { + return o } -func (o GetClusterClusterInfoOutput) Driver() GetClusterClusterInfoDriverPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDriver { return v.Driver }).(GetClusterClusterInfoDriverPtrOutput) +func (o SqlQueryScheduleDailyPtrOutput) ToSqlQueryScheduleDailyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleDailyPtrOutput { + return o } -// similar to `instancePoolId`, but for driver node. -func (o GetClusterClusterInfoOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleDailyPtrOutput) Elem() SqlQueryScheduleDailyOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) SqlQueryScheduleDaily { + if v != nil { + return *v + } + var ret SqlQueryScheduleDaily + return ret + }).(SqlQueryScheduleDailyOutput) } -// The node type of the Spark driver. -func (o GetClusterClusterInfoOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleDailyPtrOutput) IntervalDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *int { + if v == nil { + return nil + } + return &v.IntervalDays + }).(pulumi.IntPtrOutput) } -// Use autoscaling local storage. -func (o GetClusterClusterInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +func (o SqlQueryScheduleDailyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { + if v == nil { + return nil + } + return &v.TimeOfDay + }).(pulumi.StringPtrOutput) } -// Enable local disk encryption. -func (o GetClusterClusterInfoOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) +func (o SqlQueryScheduleDailyPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleDaily) *string { + if v == nil { + return nil + } + return v.UntilDate + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoExecutor { return v.Executors }).(GetClusterClusterInfoExecutorArrayOutput) +type SqlQueryScheduleWeekly struct { + DayOfWeek string `pulumi:"dayOfWeek"` + IntervalWeeks int `pulumi:"intervalWeeks"` + TimeOfDay string `pulumi:"timeOfDay"` + UntilDate *string `pulumi:"untilDate"` } -func (o GetClusterClusterInfoOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoGcpAttributesPtrOutput) -} +// SqlQueryScheduleWeeklyInput is an input type that accepts SqlQueryScheduleWeeklyArgs and SqlQueryScheduleWeeklyOutput values. +// You can construct a concrete instance of `SqlQueryScheduleWeeklyInput` via: +// +// SqlQueryScheduleWeeklyArgs{...} +type SqlQueryScheduleWeeklyInput interface { + pulumi.Input -func (o GetClusterClusterInfoOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoInitScript { return v.InitScripts }).(GetClusterClusterInfoInitScriptArrayOutput) + ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput + ToSqlQueryScheduleWeeklyOutputWithContext(context.Context) SqlQueryScheduleWeeklyOutput } -// The pool of idle instances the cluster is attached to. -func (o GetClusterClusterInfoOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +type SqlQueryScheduleWeeklyArgs struct { + DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` + IntervalWeeks pulumi.IntInput `pulumi:"intervalWeeks"` + TimeOfDay pulumi.StringInput `pulumi:"timeOfDay"` + UntilDate pulumi.StringPtrInput `pulumi:"untilDate"` } -func (o GetClusterClusterInfoOutput) JdbcPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.JdbcPort }).(pulumi.IntPtrOutput) +func (SqlQueryScheduleWeeklyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) LastRestartedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastRestartedTime }).(pulumi.IntPtrOutput) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { + return i.ToSqlQueryScheduleWeeklyOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) LastStateLossTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastStateLossTime }).(pulumi.IntPtrOutput) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput) } -// Any supported getNodeType id. -func (o GetClusterClusterInfoOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (i SqlQueryScheduleWeeklyArgs) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyOutput).ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx) } -// Identifier of Cluster Policy to validate cluster and preset certain defaults. -func (o GetClusterClusterInfoOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.PolicyId }).(pulumi.StringPtrOutput) -} +// SqlQueryScheduleWeeklyPtrInput is an input type that accepts SqlQueryScheduleWeeklyArgs, SqlQueryScheduleWeeklyPtr and SqlQueryScheduleWeeklyPtrOutput values. +// You can construct a concrete instance of `SqlQueryScheduleWeeklyPtrInput` via: +// +// SqlQueryScheduleWeeklyArgs{...} +// +// or: +// +// nil +type SqlQueryScheduleWeeklyPtrInput interface { + pulumi.Input -// The type of runtime of the cluster -func (o GetClusterClusterInfoOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) + ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput + ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Context) SqlQueryScheduleWeeklyPtrOutput } -// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). -func (o GetClusterClusterInfoOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +type sqlQueryScheduleWeeklyPtrType SqlQueryScheduleWeeklyArgs + +func SqlQueryScheduleWeeklyPtr(v *SqlQueryScheduleWeeklyArgs) SqlQueryScheduleWeeklyPtrInput { + return (*sqlQueryScheduleWeeklyPtrType)(v) } -// Map with key-value pairs to fine-tune Spark clusters. -func (o GetClusterClusterInfoOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (*sqlQueryScheduleWeeklyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) SparkContextId() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.SparkContextId }).(pulumi.IntPtrOutput) +func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return i.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) } -// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. -func (o GetClusterClusterInfoOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (i *sqlQueryScheduleWeeklyPtrType) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlQueryScheduleWeeklyPtrOutput) } -// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. -func (o GetClusterClusterInfoOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.SparkVersion }).(pulumi.StringPtrOutput) +type SqlQueryScheduleWeeklyOutput struct{ *pulumi.OutputState } + +func (SqlQueryScheduleWeeklyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlQueryScheduleWeekly)(nil)).Elem() } -func (o GetClusterClusterInfoOutput) Spec() GetClusterClusterInfoSpecPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoSpec { return v.Spec }).(GetClusterClusterInfoSpecPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutput() SqlQueryScheduleWeeklyOutput { + return o } -// SSH public key contents that will be added to each Spark node in this cluster. -func (o GetClusterClusterInfoOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfo) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyOutput { + return o } -func (o GetClusterClusterInfoOutput) StartTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.StartTime }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { + return o.ToSqlQueryScheduleWeeklyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.State }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlQueryScheduleWeekly) *SqlQueryScheduleWeekly { + return &v + }).(SqlQueryScheduleWeeklyPtrOutput) } -func (o GetClusterClusterInfoOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.StateMessage }).(pulumi.StringPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) DayOfWeek() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.DayOfWeek }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoOutput) TerminatedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.TerminatedTime }).(pulumi.IntPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) IntervalWeeks() pulumi.IntOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) int { return v.IntervalWeeks }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { return v.TerminationReason }).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (o SqlQueryScheduleWeeklyOutput) TimeOfDay() pulumi.StringOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) string { return v.TimeOfDay }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoOutput) WorkloadType() GetClusterClusterInfoWorkloadTypePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoWorkloadType { return v.WorkloadType }).(GetClusterClusterInfoWorkloadTypePtrOutput) +func (o SqlQueryScheduleWeeklyOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlQueryScheduleWeekly) *string { return v.UntilDate }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoPtrOutput struct{ *pulumi.OutputState } +type SqlQueryScheduleWeeklyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() +func (SqlQueryScheduleWeeklyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlQueryScheduleWeekly)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { +func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutput() SqlQueryScheduleWeeklyPtrOutput { return o } -func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { +func (o SqlQueryScheduleWeeklyPtrOutput) ToSqlQueryScheduleWeeklyPtrOutputWithContext(ctx context.Context) SqlQueryScheduleWeeklyPtrOutput { return o } -func (o GetClusterClusterInfoPtrOutput) Elem() GetClusterClusterInfoOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) GetClusterClusterInfo { +func (o SqlQueryScheduleWeeklyPtrOutput) Elem() SqlQueryScheduleWeeklyOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) SqlQueryScheduleWeekly { if v != nil { return *v } - var ret GetClusterClusterInfo + var ret SqlQueryScheduleWeekly return ret - }).(GetClusterClusterInfoOutput) + }).(SqlQueryScheduleWeeklyOutput) } -func (o GetClusterClusterInfoPtrOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { +func (o SqlQueryScheduleWeeklyPtrOutput) DayOfWeek() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { if v == nil { return nil } - return v.Autoscale - }).(GetClusterClusterInfoAutoscalePtrOutput) + return &v.DayOfWeek + }).(pulumi.StringPtrOutput) } -// Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. -func (o GetClusterClusterInfoPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { +func (o SqlQueryScheduleWeeklyPtrOutput) IntervalWeeks() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *int { if v == nil { return nil } - return v.AutoterminationMinutes + return &v.IntervalWeeks }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { +func (o SqlQueryScheduleWeeklyPtrOutput) TimeOfDay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { if v == nil { return nil } - return v.AwsAttributes - }).(GetClusterClusterInfoAwsAttributesPtrOutput) + return &v.TimeOfDay + }).(pulumi.StringPtrOutput) +} + +func (o SqlQueryScheduleWeeklyPtrOutput) UntilDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlQueryScheduleWeekly) *string { + if v == nil { + return nil + } + return v.UntilDate + }).(pulumi.StringPtrOutput) +} + +type SqlTableColumn struct { + // User-supplied free-form text. + Comment *string `pulumi:"comment"` + // Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. + Identity *string `pulumi:"identity"` + // User-visible name of column + Name string `pulumi:"name"` + // Whether field is nullable (Default: `true`) + Nullable *bool `pulumi:"nullable"` + // Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + Type *string `pulumi:"type"` + TypeJson *string `pulumi:"typeJson"` +} + +// SqlTableColumnInput is an input type that accepts SqlTableColumnArgs and SqlTableColumnOutput values. +// You can construct a concrete instance of `SqlTableColumnInput` via: +// +// SqlTableColumnArgs{...} +type SqlTableColumnInput interface { + pulumi.Input + + ToSqlTableColumnOutput() SqlTableColumnOutput + ToSqlTableColumnOutputWithContext(context.Context) SqlTableColumnOutput } -func (o GetClusterClusterInfoPtrOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetClusterClusterInfoAzureAttributesPtrOutput) +type SqlTableColumnArgs struct { + // User-supplied free-form text. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. + Identity pulumi.StringPtrInput `pulumi:"identity"` + // User-visible name of column + Name pulumi.StringInput `pulumi:"name"` + // Whether field is nullable (Default: `true`) + Nullable pulumi.BoolPtrInput `pulumi:"nullable"` + // Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + Type pulumi.StringPtrInput `pulumi:"type"` + TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` +} + +func (SqlTableColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() +} + +func (i SqlTableColumnArgs) ToSqlTableColumnOutput() SqlTableColumnOutput { + return i.ToSqlTableColumnOutputWithContext(context.Background()) +} + +func (i SqlTableColumnArgs) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnOutput) +} + +// SqlTableColumnArrayInput is an input type that accepts SqlTableColumnArray and SqlTableColumnArrayOutput values. +// You can construct a concrete instance of `SqlTableColumnArrayInput` via: +// +// SqlTableColumnArray{ SqlTableColumnArgs{...} } +type SqlTableColumnArrayInput interface { + pulumi.Input + + ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput + ToSqlTableColumnArrayOutputWithContext(context.Context) SqlTableColumnArrayOutput } -func (o GetClusterClusterInfoPtrOutput) ClusterCores() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *float64 { - if v == nil { - return nil - } - return v.ClusterCores - }).(pulumi.Float64PtrOutput) -} +type SqlTableColumnArray []SqlTableColumnInput -// The id of the cluster -func (o GetClusterClusterInfoPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) +func (SqlTableColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetClusterClusterInfoClusterLogConfPtrOutput) +func (i SqlTableColumnArray) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { + return i.ToSqlTableColumnArrayOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { - if v == nil { - return nil - } - return v.ClusterLogStatus - }).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (i SqlTableColumnArray) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlTableColumnArrayOutput) } -func (o GetClusterClusterInfoPtrOutput) ClusterMemoryMb() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.ClusterMemoryMb - }).(pulumi.IntPtrOutput) -} +type SqlTableColumnOutput struct{ *pulumi.OutputState } -// The exact name of the cluster to search -func (o GetClusterClusterInfoPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (SqlTableColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlTableColumn)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) ClusterSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.ClusterSource - }).(pulumi.StringPtrOutput) +func (o SqlTableColumnOutput) ToSqlTableColumnOutput() SqlTableColumnOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.CreatorUserName - }).(pulumi.StringPtrOutput) +func (o SqlTableColumnOutput) ToSqlTableColumnOutputWithContext(ctx context.Context) SqlTableColumnOutput { + return o } -// Additional tags for cluster resources. -func (o GetClusterClusterInfoPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +// User-supplied free-form text. +func (o SqlTableColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) } -// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. -func (o GetClusterClusterInfoPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +// Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. +func (o SqlTableColumnOutput) Identity() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *string { return v.Identity }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) DefaultTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { - if v == nil { - return nil - } - return v.DefaultTags - }).(pulumi.StringMapOutput) +// User-visible name of column +func (o SqlTableColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SqlTableColumn) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoPtrOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetClusterClusterInfoDockerImagePtrOutput) +// Whether field is nullable (Default: `true`) +func (o SqlTableColumnOutput) Nullable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) Driver() GetClusterClusterInfoDriverPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDriver { - if v == nil { - return nil - } - return v.Driver - }).(GetClusterClusterInfoDriverPtrOutput) +// Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. +func (o SqlTableColumnOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *string { return v.Type }).(pulumi.StringPtrOutput) } -// similar to `instancePoolId`, but for driver node. -func (o GetClusterClusterInfoPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (o SqlTableColumnOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlTableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) } -// The node type of the Spark driver. -func (o GetClusterClusterInfoPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +type SqlTableColumnArrayOutput struct{ *pulumi.OutputState } + +func (SqlTableColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlTableColumn)(nil)).Elem() } -// Use autoscaling local storage. -func (o GetClusterClusterInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *bool { - if v == nil { - return nil - } - return v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutput() SqlTableColumnArrayOutput { + return o } -// Enable local disk encryption. -func (o GetClusterClusterInfoPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *bool { - if v == nil { - return nil - } - return v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func (o SqlTableColumnArrayOutput) ToSqlTableColumnArrayOutputWithContext(ctx context.Context) SqlTableColumnArrayOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoExecutor { - if v == nil { - return nil - } - return v.Executors - }).(GetClusterClusterInfoExecutorArrayOutput) +func (o SqlTableColumnArrayOutput) Index(i pulumi.IntInput) SqlTableColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlTableColumn { + return vs[0].([]SqlTableColumn)[vs[1].(int)] + }).(SqlTableColumnOutput) } -func (o GetClusterClusterInfoPtrOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetClusterClusterInfoGcpAttributesPtrOutput) +type SqlWidgetParameter struct { + MapTo *string `pulumi:"mapTo"` + Name string `pulumi:"name"` + Title *string `pulumi:"title"` + Type string `pulumi:"type"` + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` } -func (o GetClusterClusterInfoPtrOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetClusterClusterInfoInitScriptArrayOutput) +// SqlWidgetParameterInput is an input type that accepts SqlWidgetParameterArgs and SqlWidgetParameterOutput values. +// You can construct a concrete instance of `SqlWidgetParameterInput` via: +// +// SqlWidgetParameterArgs{...} +type SqlWidgetParameterInput interface { + pulumi.Input + + ToSqlWidgetParameterOutput() SqlWidgetParameterOutput + ToSqlWidgetParameterOutputWithContext(context.Context) SqlWidgetParameterOutput } -// The pool of idle instances the cluster is attached to. -func (o GetClusterClusterInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +type SqlWidgetParameterArgs struct { + MapTo pulumi.StringPtrInput `pulumi:"mapTo"` + Name pulumi.StringInput `pulumi:"name"` + Title pulumi.StringPtrInput `pulumi:"title"` + Type pulumi.StringInput `pulumi:"type"` + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (o GetClusterClusterInfoPtrOutput) JdbcPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.JdbcPort - }).(pulumi.IntPtrOutput) +func (SqlWidgetParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) LastRestartedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.LastRestartedTime - }).(pulumi.IntPtrOutput) +func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { + return i.ToSqlWidgetParameterOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoPtrOutput) LastStateLossTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.LastStateLossTime - }).(pulumi.IntPtrOutput) +func (i SqlWidgetParameterArgs) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterOutput) } -// Any supported getNodeType id. -func (o GetClusterClusterInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.NodeTypeId - }).(pulumi.StringPtrOutput) +// SqlWidgetParameterArrayInput is an input type that accepts SqlWidgetParameterArray and SqlWidgetParameterArrayOutput values. +// You can construct a concrete instance of `SqlWidgetParameterArrayInput` via: +// +// SqlWidgetParameterArray{ SqlWidgetParameterArgs{...} } +type SqlWidgetParameterArrayInput interface { + pulumi.Input + + ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput + ToSqlWidgetParameterArrayOutputWithContext(context.Context) SqlWidgetParameterArrayOutput } -func (o GetClusterClusterInfoPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) +type SqlWidgetParameterArray []SqlWidgetParameterInput + +func (SqlWidgetParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() } -// Identifier of Cluster Policy to validate cluster and preset certain defaults. -func (o GetClusterClusterInfoPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { + return i.ToSqlWidgetParameterArrayOutputWithContext(context.Background()) } -// The type of runtime of the cluster -func (o GetClusterClusterInfoPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (i SqlWidgetParameterArray) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetParameterArrayOutput) } -// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). -func (o GetClusterClusterInfoPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +type SqlWidgetParameterOutput struct{ *pulumi.OutputState } + +func (SqlWidgetParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetParameter)(nil)).Elem() } -// Map with key-value pairs to fine-tune Spark clusters. -func (o GetClusterClusterInfoPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutput() SqlWidgetParameterOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) SparkContextId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.SparkContextId - }).(pulumi.IntPtrOutput) +func (o SqlWidgetParameterOutput) ToSqlWidgetParameterOutputWithContext(ctx context.Context) SqlWidgetParameterOutput { + return o } -// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. -func (o GetClusterClusterInfoPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) +func (o SqlWidgetParameterOutput) MapTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.MapTo }).(pulumi.StringPtrOutput) } -// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. -func (o GetClusterClusterInfoPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.SparkVersion - }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SqlWidgetParameter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoPtrOutput) Spec() GetClusterClusterInfoSpecPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoSpec { - if v == nil { - return nil - } - return v.Spec - }).(GetClusterClusterInfoSpecPtrOutput) +func (o SqlWidgetParameterOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Title }).(pulumi.StringPtrOutput) } -// SSH public key contents that will be added to each Spark node in this cluster. -func (o GetClusterClusterInfoPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) []string { - if v == nil { - return nil - } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) +func (o SqlWidgetParameterOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v SqlWidgetParameter) string { return v.Type }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoPtrOutput) StartTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.StartTime - }).(pulumi.IntPtrOutput) +func (o SqlWidgetParameterOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlWidgetParameter) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.State - }).(pulumi.StringPtrOutput) +func (o SqlWidgetParameterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SqlWidgetParameter) []string { return v.Values }).(pulumi.StringArrayOutput) } -func (o GetClusterClusterInfoPtrOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *string { - if v == nil { - return nil - } - return v.StateMessage - }).(pulumi.StringPtrOutput) +type SqlWidgetParameterArrayOutput struct{ *pulumi.OutputState } + +func (SqlWidgetParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SqlWidgetParameter)(nil)).Elem() } -func (o GetClusterClusterInfoPtrOutput) TerminatedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *int { - if v == nil { - return nil - } - return v.TerminatedTime - }).(pulumi.IntPtrOutput) +func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutput() SqlWidgetParameterArrayOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { - if v == nil { - return nil - } - return v.TerminationReason - }).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (o SqlWidgetParameterArrayOutput) ToSqlWidgetParameterArrayOutputWithContext(ctx context.Context) SqlWidgetParameterArrayOutput { + return o } -func (o GetClusterClusterInfoPtrOutput) WorkloadType() GetClusterClusterInfoWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoWorkloadType { - if v == nil { - return nil - } - return v.WorkloadType - }).(GetClusterClusterInfoWorkloadTypePtrOutput) +func (o SqlWidgetParameterArrayOutput) Index(i pulumi.IntInput) SqlWidgetParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlWidgetParameter { + return vs[0].([]SqlWidgetParameter)[vs[1].(int)] + }).(SqlWidgetParameterOutput) } -type GetClusterClusterInfoAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type SqlWidgetPosition struct { + AutoHeight *bool `pulumi:"autoHeight"` + PosX *int `pulumi:"posX"` + PosY *int `pulumi:"posY"` + SizeX int `pulumi:"sizeX"` + SizeY int `pulumi:"sizeY"` } -// GetClusterClusterInfoAutoscaleInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs and GetClusterClusterInfoAutoscaleOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAutoscaleInput` via: +// SqlWidgetPositionInput is an input type that accepts SqlWidgetPositionArgs and SqlWidgetPositionOutput values. +// You can construct a concrete instance of `SqlWidgetPositionInput` via: // -// GetClusterClusterInfoAutoscaleArgs{...} -type GetClusterClusterInfoAutoscaleInput interface { +// SqlWidgetPositionArgs{...} +type SqlWidgetPositionInput interface { pulumi.Input - ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput - ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoAutoscaleOutput + ToSqlWidgetPositionOutput() SqlWidgetPositionOutput + ToSqlWidgetPositionOutputWithContext(context.Context) SqlWidgetPositionOutput } -type GetClusterClusterInfoAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type SqlWidgetPositionArgs struct { + AutoHeight pulumi.BoolPtrInput `pulumi:"autoHeight"` + PosX pulumi.IntPtrInput `pulumi:"posX"` + PosY pulumi.IntPtrInput `pulumi:"posY"` + SizeX pulumi.IntInput `pulumi:"sizeX"` + SizeY pulumi.IntInput `pulumi:"sizeY"` } -func (GetClusterClusterInfoAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() +func (SqlWidgetPositionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { - return i.ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Background()) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { + return i.ToSqlWidgetPositionOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput).ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx) +func (i SqlWidgetPositionArgs) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionOutput).ToSqlWidgetPositionPtrOutputWithContext(ctx) } -// GetClusterClusterInfoAutoscalePtrInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs, GetClusterClusterInfoAutoscalePtr and GetClusterClusterInfoAutoscalePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAutoscalePtrInput` via: +// SqlWidgetPositionPtrInput is an input type that accepts SqlWidgetPositionArgs, SqlWidgetPositionPtr and SqlWidgetPositionPtrOutput values. +// You can construct a concrete instance of `SqlWidgetPositionPtrInput` via: // -// GetClusterClusterInfoAutoscaleArgs{...} +// SqlWidgetPositionArgs{...} // // or: // // nil -type GetClusterClusterInfoAutoscalePtrInput interface { +type SqlWidgetPositionPtrInput interface { pulumi.Input - ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput - ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoAutoscalePtrOutput + ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput + ToSqlWidgetPositionPtrOutputWithContext(context.Context) SqlWidgetPositionPtrOutput } -type getClusterClusterInfoAutoscalePtrType GetClusterClusterInfoAutoscaleArgs +type sqlWidgetPositionPtrType SqlWidgetPositionArgs -func GetClusterClusterInfoAutoscalePtr(v *GetClusterClusterInfoAutoscaleArgs) GetClusterClusterInfoAutoscalePtrInput { - return (*getClusterClusterInfoAutoscalePtrType)(v) +func SqlWidgetPositionPtr(v *SqlWidgetPositionArgs) SqlWidgetPositionPtrInput { + return (*sqlWidgetPositionPtrType)(v) } -func (*getClusterClusterInfoAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() +func (*sqlWidgetPositionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() } -func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return i.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscalePtrOutput) +func (i *sqlWidgetPositionPtrType) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SqlWidgetPositionPtrOutput) } -type GetClusterClusterInfoAutoscaleOutput struct{ *pulumi.OutputState } +type SqlWidgetPositionOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() +func (SqlWidgetPositionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SqlWidgetPosition)(nil)).Elem() } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutput() SqlWidgetPositionOutput { return o } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionOutputWithContext(ctx context.Context) SqlWidgetPositionOutput { return o } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { - return o.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { + return o.ToSqlWidgetPositionPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAutoscale) *GetClusterClusterInfoAutoscale { +func (o SqlWidgetPositionOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SqlWidgetPosition) *SqlWidgetPosition { return &v - }).(GetClusterClusterInfoAutoscalePtrOutput) + }).(SqlWidgetPositionPtrOutput) +} + +func (o SqlWidgetPositionOutput) AutoHeight() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *bool { return v.AutoHeight }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o SqlWidgetPositionOutput) PosX() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosX }).(pulumi.IntPtrOutput) +} + +func (o SqlWidgetPositionOutput) PosY() pulumi.IntPtrOutput { + return o.ApplyT(func(v SqlWidgetPosition) *int { return v.PosY }).(pulumi.IntPtrOutput) +} + +func (o SqlWidgetPositionOutput) SizeX() pulumi.IntOutput { + return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeX }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o SqlWidgetPositionOutput) SizeY() pulumi.IntOutput { + return o.ApplyT(func(v SqlWidgetPosition) int { return v.SizeY }).(pulumi.IntOutput) } -type GetClusterClusterInfoAutoscalePtrOutput struct{ *pulumi.OutputState } +type SqlWidgetPositionPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() +func (SqlWidgetPositionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SqlWidgetPosition)(nil)).Elem() } -func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { +func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutput() SqlWidgetPositionPtrOutput { return o } -func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { +func (o SqlWidgetPositionPtrOutput) ToSqlWidgetPositionPtrOutputWithContext(ctx context.Context) SqlWidgetPositionPtrOutput { return o } -func (o GetClusterClusterInfoAutoscalePtrOutput) Elem() GetClusterClusterInfoAutoscaleOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) GetClusterClusterInfoAutoscale { +func (o SqlWidgetPositionPtrOutput) Elem() SqlWidgetPositionOutput { + return o.ApplyT(func(v *SqlWidgetPosition) SqlWidgetPosition { if v != nil { return *v } - var ret GetClusterClusterInfoAutoscale + var ret SqlWidgetPosition return ret - }).(GetClusterClusterInfoAutoscaleOutput) + }).(SqlWidgetPositionOutput) } -func (o GetClusterClusterInfoAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { +func (o SqlWidgetPositionPtrOutput) AutoHeight() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *bool { if v == nil { return nil } - return v.MaxWorkers + return v.AutoHeight + }).(pulumi.BoolPtrOutput) +} + +func (o SqlWidgetPositionPtrOutput) PosX() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { + if v == nil { + return nil + } + return v.PosX }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { +func (o SqlWidgetPositionPtrOutput) PosY() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { if v == nil { return nil } - return v.MinWorkers + return v.PosY }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +func (o SqlWidgetPositionPtrOutput) SizeX() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { + if v == nil { + return nil + } + return &v.SizeX + }).(pulumi.IntPtrOutput) +} + +func (o SqlWidgetPositionPtrOutput) SizeY() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SqlWidgetPosition) *int { + if v == nil { + return nil + } + return &v.SizeY + }).(pulumi.IntPtrOutput) } -// GetClusterClusterInfoAwsAttributesInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs and GetClusterClusterInfoAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesInput` via: +type StorageCredentialAwsIamRole struct { + ExternalId *string `pulumi:"externalId"` + // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + // + // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + RoleArn string `pulumi:"roleArn"` + UnityCatalogIamArn *string `pulumi:"unityCatalogIamArn"` +} + +// StorageCredentialAwsIamRoleInput is an input type that accepts StorageCredentialAwsIamRoleArgs and StorageCredentialAwsIamRoleOutput values. +// You can construct a concrete instance of `StorageCredentialAwsIamRoleInput` via: // -// GetClusterClusterInfoAwsAttributesArgs{...} -type GetClusterClusterInfoAwsAttributesInput interface { +// StorageCredentialAwsIamRoleArgs{...} +type StorageCredentialAwsIamRoleInput interface { pulumi.Input - ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput - ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesOutput + ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput + ToStorageCredentialAwsIamRoleOutputWithContext(context.Context) StorageCredentialAwsIamRoleOutput } -type GetClusterClusterInfoAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type StorageCredentialAwsIamRoleArgs struct { + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + // The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + // + // `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + RoleArn pulumi.StringInput `pulumi:"roleArn"` + UnityCatalogIamArn pulumi.StringPtrInput `pulumi:"unityCatalogIamArn"` } -func (GetClusterClusterInfoAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (StorageCredentialAwsIamRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { - return i.ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Background()) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { + return i.ToStorageCredentialAwsIamRoleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput).ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx) +func (i StorageCredentialAwsIamRoleArgs) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRoleOutput).ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx) } -// GetClusterClusterInfoAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs, GetClusterClusterInfoAwsAttributesPtr and GetClusterClusterInfoAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesPtrInput` via: +// StorageCredentialAwsIamRolePtrInput is an input type that accepts StorageCredentialAwsIamRoleArgs, StorageCredentialAwsIamRolePtr and StorageCredentialAwsIamRolePtrOutput values. +// You can construct a concrete instance of `StorageCredentialAwsIamRolePtrInput` via: // -// GetClusterClusterInfoAwsAttributesArgs{...} +// StorageCredentialAwsIamRoleArgs{...} // // or: // // nil -type GetClusterClusterInfoAwsAttributesPtrInput interface { +type StorageCredentialAwsIamRolePtrInput interface { pulumi.Input - ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput - ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesPtrOutput + ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput + ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Context) StorageCredentialAwsIamRolePtrOutput } -type getClusterClusterInfoAwsAttributesPtrType GetClusterClusterInfoAwsAttributesArgs +type storageCredentialAwsIamRolePtrType StorageCredentialAwsIamRoleArgs -func GetClusterClusterInfoAwsAttributesPtr(v *GetClusterClusterInfoAwsAttributesArgs) GetClusterClusterInfoAwsAttributesPtrInput { - return (*getClusterClusterInfoAwsAttributesPtrType)(v) +func StorageCredentialAwsIamRolePtr(v *StorageCredentialAwsIamRoleArgs) StorageCredentialAwsIamRolePtrInput { + return (*storageCredentialAwsIamRolePtrType)(v) } -func (*getClusterClusterInfoAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (*storageCredentialAwsIamRolePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() } -func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return i.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesPtrOutput) +func (i *storageCredentialAwsIamRolePtrType) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAwsIamRolePtrOutput) } -type GetClusterClusterInfoAwsAttributesOutput struct{ *pulumi.OutputState } +type StorageCredentialAwsIamRoleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (StorageCredentialAwsIamRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAwsIamRole)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutput() StorageCredentialAwsIamRoleOutput { return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRoleOutputWithContext(ctx context.Context) StorageCredentialAwsIamRoleOutput { return o } -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAwsAttributes) *GetClusterClusterInfoAwsAttributes { - return &v - }).(GetClusterClusterInfoAwsAttributesPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { + return o.ToStorageCredentialAwsIamRolePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o StorageCredentialAwsIamRoleOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAwsIamRole) *StorageCredentialAwsIamRole { + return &v + }).(StorageCredentialAwsIamRolePtrOutput) } -func (o GetClusterClusterInfoAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (o StorageCredentialAwsIamRoleOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +// +// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): +func (o StorageCredentialAwsIamRoleOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) string { return v.RoleArn }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o StorageCredentialAwsIamRoleOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAwsIamRole) *string { return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialAwsIamRolePtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +func (StorageCredentialAwsIamRolePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAwsIamRole)(nil)).Elem() } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { +func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutput() StorageCredentialAwsIamRolePtrOutput { return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { +func (o StorageCredentialAwsIamRolePtrOutput) ToStorageCredentialAwsIamRolePtrOutputWithContext(ctx context.Context) StorageCredentialAwsIamRolePtrOutput { return o } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) Elem() GetClusterClusterInfoAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) GetClusterClusterInfoAwsAttributes { +func (o StorageCredentialAwsIamRolePtrOutput) Elem() StorageCredentialAwsIamRoleOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) StorageCredentialAwsIamRole { if v != nil { return *v } - var ret GetClusterClusterInfoAwsAttributes + var ret StorageCredentialAwsIamRole return ret - }).(GetClusterClusterInfoAwsAttributesOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) + }).(StorageCredentialAwsIamRoleOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { +func (o StorageCredentialAwsIamRolePtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { if v == nil { return nil } - return v.EbsVolumeType + return v.ExternalId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { +// The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` +// +// `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): +func (o StorageCredentialAwsIamRolePtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.RoleArn }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { +func (o StorageCredentialAwsIamRolePtrOutput) UnityCatalogIamArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAwsIamRole) *string { if v == nil { return nil } - return v.ZoneId + return v.UnityCatalogIamArn }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type StorageCredentialAzureManagedIdentity struct { + // The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + AccessConnectorId string `pulumi:"accessConnectorId"` + CredentialId *string `pulumi:"credentialId"` + // The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + // + // `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: + ManagedIdentityId *string `pulumi:"managedIdentityId"` } -// GetClusterClusterInfoAzureAttributesInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs and GetClusterClusterInfoAzureAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesInput` via: +// StorageCredentialAzureManagedIdentityInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs and StorageCredentialAzureManagedIdentityOutput values. +// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityInput` via: // -// GetClusterClusterInfoAzureAttributesArgs{...} -type GetClusterClusterInfoAzureAttributesInput interface { +// StorageCredentialAzureManagedIdentityArgs{...} +type StorageCredentialAzureManagedIdentityInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput - ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesOutput + ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput + ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityOutput } -type GetClusterClusterInfoAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type StorageCredentialAzureManagedIdentityArgs struct { + // The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + AccessConnectorId pulumi.StringInput `pulumi:"accessConnectorId"` + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + // + // `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: + ManagedIdentityId pulumi.StringPtrInput `pulumi:"managedIdentityId"` } -func (GetClusterClusterInfoAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (StorageCredentialAzureManagedIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { - return i.ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Background()) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { + return i.ToStorageCredentialAzureManagedIdentityOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput).ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx) +func (i StorageCredentialAzureManagedIdentityArgs) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityOutput).ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx) } -// GetClusterClusterInfoAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs, GetClusterClusterInfoAzureAttributesPtr and GetClusterClusterInfoAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesPtrInput` via: +// StorageCredentialAzureManagedIdentityPtrInput is an input type that accepts StorageCredentialAzureManagedIdentityArgs, StorageCredentialAzureManagedIdentityPtr and StorageCredentialAzureManagedIdentityPtrOutput values. +// You can construct a concrete instance of `StorageCredentialAzureManagedIdentityPtrInput` via: // -// GetClusterClusterInfoAzureAttributesArgs{...} +// StorageCredentialAzureManagedIdentityArgs{...} // // or: // // nil -type GetClusterClusterInfoAzureAttributesPtrInput interface { +type StorageCredentialAzureManagedIdentityPtrInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput - ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesPtrOutput + ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput + ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Context) StorageCredentialAzureManagedIdentityPtrOutput } -type getClusterClusterInfoAzureAttributesPtrType GetClusterClusterInfoAzureAttributesArgs +type storageCredentialAzureManagedIdentityPtrType StorageCredentialAzureManagedIdentityArgs -func GetClusterClusterInfoAzureAttributesPtr(v *GetClusterClusterInfoAzureAttributesArgs) GetClusterClusterInfoAzureAttributesPtrInput { - return (*getClusterClusterInfoAzureAttributesPtrType)(v) +func StorageCredentialAzureManagedIdentityPtr(v *StorageCredentialAzureManagedIdentityArgs) StorageCredentialAzureManagedIdentityPtrInput { + return (*storageCredentialAzureManagedIdentityPtrType)(v) } -func (*getClusterClusterInfoAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (*storageCredentialAzureManagedIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return i.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesPtrOutput) +func (i *storageCredentialAzureManagedIdentityPtrType) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureManagedIdentityPtrOutput) } -type GetClusterClusterInfoAzureAttributesOutput struct{ *pulumi.OutputState } +type StorageCredentialAzureManagedIdentityOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (StorageCredentialAzureManagedIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutput() StorageCredentialAzureManagedIdentityOutput { return o } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityOutput { return o } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { + return o.ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributes { +func (o StorageCredentialAzureManagedIdentityOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureManagedIdentity) *StorageCredentialAzureManagedIdentity { return &v - }).(GetClusterClusterInfoAzureAttributesPtrOutput) -} - -func (o GetClusterClusterInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) + }).(StorageCredentialAzureManagedIdentityPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. +func (o StorageCredentialAzureManagedIdentityOutput) AccessConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) string { return v.AccessConnectorId }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoAzureAttributesOutput) LogAnalyticsInfo() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) +func (o StorageCredentialAzureManagedIdentityOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +// +// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: +func (o StorageCredentialAzureManagedIdentityOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialAzureManagedIdentity) *string { return v.ManagedIdentityId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialAzureManagedIdentityPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() +func (StorageCredentialAzureManagedIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureManagedIdentity)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { +func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutput() StorageCredentialAzureManagedIdentityPtrOutput { return o } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { +func (o StorageCredentialAzureManagedIdentityPtrOutput) ToStorageCredentialAzureManagedIdentityPtrOutputWithContext(ctx context.Context) StorageCredentialAzureManagedIdentityPtrOutput { return o } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) Elem() GetClusterClusterInfoAzureAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) GetClusterClusterInfoAzureAttributes { +func (o StorageCredentialAzureManagedIdentityPtrOutput) Elem() StorageCredentialAzureManagedIdentityOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) StorageCredentialAzureManagedIdentity { if v != nil { return *v } - var ret GetClusterClusterInfoAzureAttributes + var ret StorageCredentialAzureManagedIdentity return ret - }).(GetClusterClusterInfoAzureAttributesOutput) + }).(StorageCredentialAzureManagedIdentityOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *string { +// The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. +func (o StorageCredentialAzureManagedIdentityPtrOutput) AccessConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { if v == nil { return nil } - return v.Availability + return &v.AccessConnectorId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoAzureAttributesPtrOutput) LogAnalyticsInfo() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { +func (o StorageCredentialAzureManagedIdentityPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { if v == nil { return nil } - return v.LogAnalyticsInfo - }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) + return v.CredentialId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *float64 { +// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. +// +// `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account: +func (o StorageCredentialAzureManagedIdentityPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureManagedIdentity) *string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.ManagedIdentityId + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +type StorageCredentialAzureServicePrincipal struct { + // The application ID of the application registration within the referenced AAD tenant + ApplicationId string `pulumi:"applicationId"` + // The client secret generated for the above app ID in AAD. **This field is redacted on output** + ClientSecret string `pulumi:"clientSecret"` + // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + DirectoryId string `pulumi:"directoryId"` } -// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput is an input type that accepts GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs and GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput` via: +// StorageCredentialAzureServicePrincipalInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs and StorageCredentialAzureServicePrincipalOutput values. +// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalInput` via: // -// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{...} -type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput interface { +// StorageCredentialAzureServicePrincipalArgs{...} +type StorageCredentialAzureServicePrincipalInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput - ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput + ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput + ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalOutput } -type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type StorageCredentialAzureServicePrincipalArgs struct { + // The application ID of the application registration within the referenced AAD tenant + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + // The client secret generated for the above app ID in AAD. **This field is redacted on output** + ClientSecret pulumi.StringInput `pulumi:"clientSecret"` + // The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + DirectoryId pulumi.StringInput `pulumi:"directoryId"` } -func (GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (StorageCredentialAzureServicePrincipalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { - return i.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { + return i.ToStorageCredentialAzureServicePrincipalOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput) } -func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput).ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (i StorageCredentialAzureServicePrincipalArgs) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalOutput).ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx) } -// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs, GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtr and GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput` via: +// StorageCredentialAzureServicePrincipalPtrInput is an input type that accepts StorageCredentialAzureServicePrincipalArgs, StorageCredentialAzureServicePrincipalPtr and StorageCredentialAzureServicePrincipalPtrOutput values. +// You can construct a concrete instance of `StorageCredentialAzureServicePrincipalPtrInput` via: // -// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{...} +// StorageCredentialAzureServicePrincipalArgs{...} // // or: // // nil -type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput interface { +type StorageCredentialAzureServicePrincipalPtrInput interface { pulumi.Input - ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput - ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput + ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput + ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Context) StorageCredentialAzureServicePrincipalPtrOutput } -type getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs +type storageCredentialAzureServicePrincipalPtrType StorageCredentialAzureServicePrincipalArgs -func GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtr(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput { - return (*getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType)(v) +func StorageCredentialAzureServicePrincipalPtr(v *StorageCredentialAzureServicePrincipalArgs) StorageCredentialAzureServicePrincipalPtrInput { + return (*storageCredentialAzureServicePrincipalPtrType)(v) } -func (*getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*storageCredentialAzureServicePrincipalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (i *getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return i.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *storageCredentialAzureServicePrincipalPtrType) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialAzureServicePrincipalPtrOutput) } -type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type StorageCredentialAzureServicePrincipalOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (StorageCredentialAzureServicePrincipalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutput() StorageCredentialAzureServicePrincipalOutput { return o } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalOutput { return o } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { + return o.ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { +func (o StorageCredentialAzureServicePrincipalOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialAzureServicePrincipal) *StorageCredentialAzureServicePrincipal { return &v - }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) + }).(StorageCredentialAzureServicePrincipalPtrOutput) +} + +// The application ID of the application registration within the referenced AAD tenant +func (o StorageCredentialAzureServicePrincipalOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ApplicationId }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) +// The client secret generated for the above app ID in AAD. **This field is redacted on output** +func (o StorageCredentialAzureServicePrincipalOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.ClientSecret }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o StorageCredentialAzureServicePrincipalOutput) DirectoryId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialAzureServicePrincipal) string { return v.DirectoryId }).(pulumi.StringOutput) } -type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialAzureServicePrincipalPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (StorageCredentialAzureServicePrincipalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialAzureServicePrincipal)(nil)).Elem() } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { +func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutput() StorageCredentialAzureServicePrincipalPtrOutput { return o } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { +func (o StorageCredentialAzureServicePrincipalPtrOutput) ToStorageCredentialAzureServicePrincipalPtrOutputWithContext(ctx context.Context) StorageCredentialAzureServicePrincipalPtrOutput { return o } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) Elem() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { +func (o StorageCredentialAzureServicePrincipalPtrOutput) Elem() StorageCredentialAzureServicePrincipalOutput { + return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) StorageCredentialAzureServicePrincipal { if v != nil { return *v } - var ret GetClusterClusterInfoAzureAttributesLogAnalyticsInfo + var ret StorageCredentialAzureServicePrincipal return ret - }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) + }).(StorageCredentialAzureServicePrincipalOutput) +} + +// The application ID of the application registration within the referenced AAD tenant +func (o StorageCredentialAzureServicePrincipalPtrOutput) ApplicationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) *string { + if v == nil { + return nil + } + return &v.ApplicationId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { +// The client secret generated for the above app ID in AAD. **This field is redacted on output** +func (o StorageCredentialAzureServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) *string { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey + return &v.ClientSecret }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { +// The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application +func (o StorageCredentialAzureServicePrincipalPtrOutput) DirectoryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialAzureServicePrincipal) *string { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId + return &v.DirectoryId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConf struct { - Dbfs *GetClusterClusterInfoClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetClusterClusterInfoClusterLogConfS3 `pulumi:"s3"` +type StorageCredentialCloudflareApiToken struct { + // R2 API token access key ID + AccessKeyId string `pulumi:"accessKeyId"` + // R2 account ID + AccountId string `pulumi:"accountId"` + // R2 API token secret access key + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): + SecretAccessKey string `pulumi:"secretAccessKey"` } -// GetClusterClusterInfoClusterLogConfInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs and GetClusterClusterInfoClusterLogConfOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfInput` via: +// StorageCredentialCloudflareApiTokenInput is an input type that accepts StorageCredentialCloudflareApiTokenArgs and StorageCredentialCloudflareApiTokenOutput values. +// You can construct a concrete instance of `StorageCredentialCloudflareApiTokenInput` via: // -// GetClusterClusterInfoClusterLogConfArgs{...} -type GetClusterClusterInfoClusterLogConfInput interface { +// StorageCredentialCloudflareApiTokenArgs{...} +type StorageCredentialCloudflareApiTokenInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput - ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfOutput + ToStorageCredentialCloudflareApiTokenOutput() StorageCredentialCloudflareApiTokenOutput + ToStorageCredentialCloudflareApiTokenOutputWithContext(context.Context) StorageCredentialCloudflareApiTokenOutput } -type GetClusterClusterInfoClusterLogConfArgs struct { - Dbfs GetClusterClusterInfoClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetClusterClusterInfoClusterLogConfS3PtrInput `pulumi:"s3"` +type StorageCredentialCloudflareApiTokenArgs struct { + // R2 API token access key ID + AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` + // R2 account ID + AccountId pulumi.StringInput `pulumi:"accountId"` + // R2 API token secret access key + // + // `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): + SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` } -func (GetClusterClusterInfoClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (StorageCredentialCloudflareApiTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialCloudflareApiToken)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { - return i.ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Background()) +func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenOutput() StorageCredentialCloudflareApiTokenOutput { + return i.ToStorageCredentialCloudflareApiTokenOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput) +func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialCloudflareApiTokenOutput) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { + return i.ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput).ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx) +func (i StorageCredentialCloudflareApiTokenArgs) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialCloudflareApiTokenOutput).ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs, GetClusterClusterInfoClusterLogConfPtr and GetClusterClusterInfoClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfPtrInput` via: +// StorageCredentialCloudflareApiTokenPtrInput is an input type that accepts StorageCredentialCloudflareApiTokenArgs, StorageCredentialCloudflareApiTokenPtr and StorageCredentialCloudflareApiTokenPtrOutput values. +// You can construct a concrete instance of `StorageCredentialCloudflareApiTokenPtrInput` via: // -// GetClusterClusterInfoClusterLogConfArgs{...} +// StorageCredentialCloudflareApiTokenArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfPtrInput interface { +type StorageCredentialCloudflareApiTokenPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput - ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfPtrOutput + ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput + ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Context) StorageCredentialCloudflareApiTokenPtrOutput } -type getClusterClusterInfoClusterLogConfPtrType GetClusterClusterInfoClusterLogConfArgs +type storageCredentialCloudflareApiTokenPtrType StorageCredentialCloudflareApiTokenArgs -func GetClusterClusterInfoClusterLogConfPtr(v *GetClusterClusterInfoClusterLogConfArgs) GetClusterClusterInfoClusterLogConfPtrInput { - return (*getClusterClusterInfoClusterLogConfPtrType)(v) +func StorageCredentialCloudflareApiTokenPtr(v *StorageCredentialCloudflareApiTokenArgs) StorageCredentialCloudflareApiTokenPtrInput { + return (*storageCredentialCloudflareApiTokenPtrType)(v) } -func (*getClusterClusterInfoClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (*storageCredentialCloudflareApiTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialCloudflareApiToken)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +func (i *storageCredentialCloudflareApiTokenPtrType) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { + return i.ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfPtrOutput) +func (i *storageCredentialCloudflareApiTokenPtrType) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialCloudflareApiTokenPtrOutput) } -type GetClusterClusterInfoClusterLogConfOutput struct{ *pulumi.OutputState } +type StorageCredentialCloudflareApiTokenOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (StorageCredentialCloudflareApiTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialCloudflareApiToken)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { +func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenOutput() StorageCredentialCloudflareApiTokenOutput { return o } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { +func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenOutput { return o } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { + return o.ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConf { +func (o StorageCredentialCloudflareApiTokenOutput) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialCloudflareApiToken) *StorageCredentialCloudflareApiToken { return &v - }).(GetClusterClusterInfoClusterLogConfPtrOutput) + }).(StorageCredentialCloudflareApiTokenPtrOutput) +} + +// R2 API token access key ID +func (o StorageCredentialCloudflareApiTokenOutput) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialCloudflareApiToken) string { return v.AccessKeyId }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { return v.Dbfs }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +// R2 account ID +func (o StorageCredentialCloudflareApiTokenOutput) AccountId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialCloudflareApiToken) string { return v.AccountId }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoClusterLogConfOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { return v.S3 }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) +// R2 API token secret access key +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): +func (o StorageCredentialCloudflareApiTokenOutput) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialCloudflareApiToken) string { return v.SecretAccessKey }).(pulumi.StringOutput) } -type GetClusterClusterInfoClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialCloudflareApiTokenPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() +func (StorageCredentialCloudflareApiTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialCloudflareApiToken)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { +func (o StorageCredentialCloudflareApiTokenPtrOutput) ToStorageCredentialCloudflareApiTokenPtrOutput() StorageCredentialCloudflareApiTokenPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { +func (o StorageCredentialCloudflareApiTokenPtrOutput) ToStorageCredentialCloudflareApiTokenPtrOutputWithContext(ctx context.Context) StorageCredentialCloudflareApiTokenPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) Elem() GetClusterClusterInfoClusterLogConfOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) GetClusterClusterInfoClusterLogConf { +func (o StorageCredentialCloudflareApiTokenPtrOutput) Elem() StorageCredentialCloudflareApiTokenOutput { + return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) StorageCredentialCloudflareApiToken { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConf + var ret StorageCredentialCloudflareApiToken return ret - }).(GetClusterClusterInfoClusterLogConfOutput) + }).(StorageCredentialCloudflareApiTokenOutput) } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { +// R2 API token access key ID +func (o StorageCredentialCloudflareApiTokenPtrOutput) AccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) *string { if v == nil { return nil } - return v.Dbfs - }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) + return &v.AccessKeyId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfPtrOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { +// R2 account ID +func (o StorageCredentialCloudflareApiTokenPtrOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) *string { if v == nil { return nil } - return v.S3 - }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) + return &v.AccountId + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +// R2 API token secret access key +// +// `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure (Legacy): +func (o StorageCredentialCloudflareApiTokenPtrOutput) SecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialCloudflareApiToken) *string { + if v == nil { + return nil + } + return &v.SecretAccessKey + }).(pulumi.StringPtrOutput) +} + +type StorageCredentialDatabricksGcpServiceAccount struct { + CredentialId *string `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Email *string `pulumi:"email"` } -// GetClusterClusterInfoClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs and GetClusterClusterInfoClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsInput` via: +// StorageCredentialDatabricksGcpServiceAccountInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs and StorageCredentialDatabricksGcpServiceAccountOutput values. +// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountInput` via: // -// GetClusterClusterInfoClusterLogConfDbfsArgs{...} -type GetClusterClusterInfoClusterLogConfDbfsInput interface { +// StorageCredentialDatabricksGcpServiceAccountArgs{...} +type StorageCredentialDatabricksGcpServiceAccountInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput - ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput + ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput + ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountOutput } -type GetClusterClusterInfoClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type StorageCredentialDatabricksGcpServiceAccountArgs struct { + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Email pulumi.StringPtrInput `pulumi:"email"` } -func (GetClusterClusterInfoClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Background()) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput).ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i StorageCredentialDatabricksGcpServiceAccountArgs) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountOutput).ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs, GetClusterClusterInfoClusterLogConfDbfsPtr and GetClusterClusterInfoClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsPtrInput` via: +// StorageCredentialDatabricksGcpServiceAccountPtrInput is an input type that accepts StorageCredentialDatabricksGcpServiceAccountArgs, StorageCredentialDatabricksGcpServiceAccountPtr and StorageCredentialDatabricksGcpServiceAccountPtrOutput values. +// You can construct a concrete instance of `StorageCredentialDatabricksGcpServiceAccountPtrInput` via: // -// GetClusterClusterInfoClusterLogConfDbfsArgs{...} +// StorageCredentialDatabricksGcpServiceAccountArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfDbfsPtrInput interface { +type StorageCredentialDatabricksGcpServiceAccountPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput - ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput + ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput + ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput } -type getClusterClusterInfoClusterLogConfDbfsPtrType GetClusterClusterInfoClusterLogConfDbfsArgs +type storageCredentialDatabricksGcpServiceAccountPtrType StorageCredentialDatabricksGcpServiceAccountArgs -func GetClusterClusterInfoClusterLogConfDbfsPtr(v *GetClusterClusterInfoClusterLogConfDbfsArgs) GetClusterClusterInfoClusterLogConfDbfsPtrInput { - return (*getClusterClusterInfoClusterLogConfDbfsPtrType)(v) +func StorageCredentialDatabricksGcpServiceAccountPtr(v *StorageCredentialDatabricksGcpServiceAccountArgs) StorageCredentialDatabricksGcpServiceAccountPtrInput { + return (*storageCredentialDatabricksGcpServiceAccountPtrType)(v) } -func (*getClusterClusterInfoClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (*storageCredentialDatabricksGcpServiceAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return i.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) +func (i *storageCredentialDatabricksGcpServiceAccountPtrType) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type StorageCredentialDatabricksGcpServiceAccountOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutput() StorageCredentialDatabricksGcpServiceAccountOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return o.ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfDbfs) *GetClusterClusterInfoClusterLogConfDbfs { +func (o StorageCredentialDatabricksGcpServiceAccountOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialDatabricksGcpServiceAccount) *StorageCredentialDatabricksGcpServiceAccount { return &v - }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) + }).(StorageCredentialDatabricksGcpServiceAccountPtrOutput) +} + +func (o StorageCredentialDatabricksGcpServiceAccountOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.CredentialId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: +func (o StorageCredentialDatabricksGcpServiceAccountOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v StorageCredentialDatabricksGcpServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type StorageCredentialDatabricksGcpServiceAccountPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() +func (StorageCredentialDatabricksGcpServiceAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialDatabricksGcpServiceAccount)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutput() StorageCredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) ToStorageCredentialDatabricksGcpServiceAccountPtrOutputWithContext(ctx context.Context) StorageCredentialDatabricksGcpServiceAccountPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) GetClusterClusterInfoClusterLogConfDbfs { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Elem() StorageCredentialDatabricksGcpServiceAccountOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) StorageCredentialDatabricksGcpServiceAccount { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConfDbfs + var ret StorageCredentialDatabricksGcpServiceAccount return ret - }).(GetClusterClusterInfoClusterLogConfDbfsOutput) + }).(StorageCredentialDatabricksGcpServiceAccountOutput) } -func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) *string { +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { if v == nil { return nil } - return &v.Destination + return v.CredentialId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: +func (o StorageCredentialDatabricksGcpServiceAccountPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialDatabricksGcpServiceAccount) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) +} + +type StorageCredentialGcpServiceAccountKey struct { + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Email string `pulumi:"email"` + PrivateKey string `pulumi:"privateKey"` + PrivateKeyId string `pulumi:"privateKeyId"` } -// GetClusterClusterInfoClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args and GetClusterClusterInfoClusterLogConfS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3Input` via: +// StorageCredentialGcpServiceAccountKeyInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs and StorageCredentialGcpServiceAccountKeyOutput values. +// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyInput` via: // -// GetClusterClusterInfoClusterLogConfS3Args{...} -type GetClusterClusterInfoClusterLogConfS3Input interface { +// StorageCredentialGcpServiceAccountKeyArgs{...} +type StorageCredentialGcpServiceAccountKeyInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output - ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3Output + ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput + ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyOutput } -type GetClusterClusterInfoClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type StorageCredentialGcpServiceAccountKeyArgs struct { + // The email of the GCP service account created, to be granted access to relevant buckets. + // + // `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Email pulumi.StringInput `pulumi:"email"` + PrivateKey pulumi.StringInput `pulumi:"privateKey"` + PrivateKeyId pulumi.StringInput `pulumi:"privateKeyId"` } -func (GetClusterClusterInfoClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { - return i.ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Background()) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { + return i.ToStorageCredentialGcpServiceAccountKeyOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output).ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx) +func (i StorageCredentialGcpServiceAccountKeyArgs) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyOutput).ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx) } -// GetClusterClusterInfoClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args, GetClusterClusterInfoClusterLogConfS3Ptr and GetClusterClusterInfoClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3PtrInput` via: +// StorageCredentialGcpServiceAccountKeyPtrInput is an input type that accepts StorageCredentialGcpServiceAccountKeyArgs, StorageCredentialGcpServiceAccountKeyPtr and StorageCredentialGcpServiceAccountKeyPtrOutput values. +// You can construct a concrete instance of `StorageCredentialGcpServiceAccountKeyPtrInput` via: // -// GetClusterClusterInfoClusterLogConfS3Args{...} +// StorageCredentialGcpServiceAccountKeyArgs{...} // // or: // // nil -type GetClusterClusterInfoClusterLogConfS3PtrInput interface { +type StorageCredentialGcpServiceAccountKeyPtrInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput - ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput + ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput + ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput } -type getClusterClusterInfoClusterLogConfS3PtrType GetClusterClusterInfoClusterLogConfS3Args +type storageCredentialGcpServiceAccountKeyPtrType StorageCredentialGcpServiceAccountKeyArgs -func GetClusterClusterInfoClusterLogConfS3Ptr(v *GetClusterClusterInfoClusterLogConfS3Args) GetClusterClusterInfoClusterLogConfS3PtrInput { - return (*getClusterClusterInfoClusterLogConfS3PtrType)(v) +func StorageCredentialGcpServiceAccountKeyPtr(v *StorageCredentialGcpServiceAccountKeyArgs) StorageCredentialGcpServiceAccountKeyPtrInput { + return (*storageCredentialGcpServiceAccountKeyPtrType)(v) } -func (*getClusterClusterInfoClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (*storageCredentialGcpServiceAccountKeyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return i.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3PtrOutput) +func (i *storageCredentialGcpServiceAccountKeyPtrType) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StorageCredentialGcpServiceAccountKeyPtrOutput) } -type GetClusterClusterInfoClusterLogConfS3Output struct{ *pulumi.OutputState } +type StorageCredentialGcpServiceAccountKeyOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutput() StorageCredentialGcpServiceAccountKeyOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { + return o.ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfS3) *GetClusterClusterInfoClusterLogConfS3 { +func (o StorageCredentialGcpServiceAccountKeyOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StorageCredentialGcpServiceAccountKey) *StorageCredentialGcpServiceAccountKey { return &v - }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) + }).(StorageCredentialGcpServiceAccountKeyPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: +func (o StorageCredentialGcpServiceAccountKeyOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.Email }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKey() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKey }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o StorageCredentialGcpServiceAccountKeyOutput) PrivateKeyId() pulumi.StringOutput { + return o.ApplyT(func(v StorageCredentialGcpServiceAccountKey) string { return v.PrivateKeyId }).(pulumi.StringOutput) } -type GetClusterClusterInfoClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type StorageCredentialGcpServiceAccountKeyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +func (StorageCredentialGcpServiceAccountKeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StorageCredentialGcpServiceAccountKey)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutput() StorageCredentialGcpServiceAccountKeyPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) ToStorageCredentialGcpServiceAccountKeyPtrOutputWithContext(ctx context.Context) StorageCredentialGcpServiceAccountKeyPtrOutput { return o } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoClusterLogConfS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) GetClusterClusterInfoClusterLogConfS3 { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Elem() StorageCredentialGcpServiceAccountKeyOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) StorageCredentialGcpServiceAccountKey { if v != nil { return *v } - var ret GetClusterClusterInfoClusterLogConfS3 + var ret StorageCredentialGcpServiceAccountKey return ret - }).(GetClusterClusterInfoClusterLogConfS3Output) + }).(StorageCredentialGcpServiceAccountKeyOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +// The email of the GCP service account created, to be granted access to relevant buckets. +// +// `cloudflareApiToken` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { if v == nil { return nil } - return v.CannedAcl + return &v.Email }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { if v == nil { return nil } - return &v.Destination + return &v.PrivateKey }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *bool { +func (o StorageCredentialGcpServiceAccountKeyPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageCredentialGcpServiceAccountKey) *string { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return &v.PrivateKeyId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +type TableColumn struct { + Comment *string `pulumi:"comment"` + Name string `pulumi:"name"` + Nullable *bool `pulumi:"nullable"` + PartitionIndex *int `pulumi:"partitionIndex"` + Position int `pulumi:"position"` + TypeIntervalType *string `pulumi:"typeIntervalType"` + TypeJson *string `pulumi:"typeJson"` + TypeName string `pulumi:"typeName"` + TypePrecision *int `pulumi:"typePrecision"` + TypeScale *int `pulumi:"typeScale"` + TypeText string `pulumi:"typeText"` } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +// TableColumnInput is an input type that accepts TableColumnArgs and TableColumnOutput values. +// You can construct a concrete instance of `TableColumnInput` via: +// +// TableColumnArgs{...} +type TableColumnInput interface { + pulumi.Input + + ToTableColumnOutput() TableColumnOutput + ToTableColumnOutputWithContext(context.Context) TableColumnOutput } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) +type TableColumnArgs struct { + Comment pulumi.StringPtrInput `pulumi:"comment"` + Name pulumi.StringInput `pulumi:"name"` + Nullable pulumi.BoolPtrInput `pulumi:"nullable"` + PartitionIndex pulumi.IntPtrInput `pulumi:"partitionIndex"` + Position pulumi.IntInput `pulumi:"position"` + TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` + TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` + TypeName pulumi.StringInput `pulumi:"typeName"` + TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` + TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` + TypeText pulumi.StringInput `pulumi:"typeText"` } -func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (TableColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TableColumn)(nil)).Elem() +} + +func (i TableColumnArgs) ToTableColumnOutput() TableColumnOutput { + return i.ToTableColumnOutputWithContext(context.Background()) } -type GetClusterClusterInfoClusterLogStatus struct { - LastAttempted *int `pulumi:"lastAttempted"` - LastException *string `pulumi:"lastException"` +func (i TableColumnArgs) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(TableColumnOutput) } -// GetClusterClusterInfoClusterLogStatusInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs and GetClusterClusterInfoClusterLogStatusOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusInput` via: +// TableColumnArrayInput is an input type that accepts TableColumnArray and TableColumnArrayOutput values. +// You can construct a concrete instance of `TableColumnArrayInput` via: // -// GetClusterClusterInfoClusterLogStatusArgs{...} -type GetClusterClusterInfoClusterLogStatusInput interface { +// TableColumnArray{ TableColumnArgs{...} } +type TableColumnArrayInput interface { pulumi.Input - ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput - ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusOutput + ToTableColumnArrayOutput() TableColumnArrayOutput + ToTableColumnArrayOutputWithContext(context.Context) TableColumnArrayOutput } -type GetClusterClusterInfoClusterLogStatusArgs struct { - LastAttempted pulumi.IntPtrInput `pulumi:"lastAttempted"` - LastException pulumi.StringPtrInput `pulumi:"lastException"` -} +type TableColumnArray []TableColumnInput -func (GetClusterClusterInfoClusterLogStatusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (TableColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TableColumn)(nil)).Elem() } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { - return i.ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Background()) +func (i TableColumnArray) ToTableColumnArrayOutput() TableColumnArrayOutput { + return i.ToTableColumnArrayOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput) +func (i TableColumnArray) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TableColumnArrayOutput) } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) -} +type TableColumnOutput struct{ *pulumi.OutputState } -func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput).ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx) +func (TableColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TableColumn)(nil)).Elem() } -// GetClusterClusterInfoClusterLogStatusPtrInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs, GetClusterClusterInfoClusterLogStatusPtr and GetClusterClusterInfoClusterLogStatusPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusPtrInput` via: -// -// GetClusterClusterInfoClusterLogStatusArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoClusterLogStatusPtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput - ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput +func (o TableColumnOutput) ToTableColumnOutput() TableColumnOutput { + return o } -type getClusterClusterInfoClusterLogStatusPtrType GetClusterClusterInfoClusterLogStatusArgs - -func GetClusterClusterInfoClusterLogStatusPtr(v *GetClusterClusterInfoClusterLogStatusArgs) GetClusterClusterInfoClusterLogStatusPtrInput { - return (*getClusterClusterInfoClusterLogStatusPtrType)(v) +func (o TableColumnOutput) ToTableColumnOutputWithContext(ctx context.Context) TableColumnOutput { + return o } -func (*getClusterClusterInfoClusterLogStatusPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (o TableColumnOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (o TableColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.Name }).(pulumi.StringOutput) } -func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (o TableColumnOutput) Nullable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v TableColumn) *bool { return v.Nullable }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoClusterLogStatusOutput struct{ *pulumi.OutputState } +func (o TableColumnOutput) PartitionIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.PartitionIndex }).(pulumi.IntPtrOutput) +} -func (GetClusterClusterInfoClusterLogStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (o TableColumnOutput) Position() pulumi.IntOutput { + return o.ApplyT(func(v TableColumn) int { return v.Position }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { - return o +func (o TableColumnOutput) TypeIntervalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { - return o +func (o TableColumnOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v TableColumn) *string { return v.TypeJson }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) +func (o TableColumnOutput) TypeName() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.TypeName }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogStatus) *GetClusterClusterInfoClusterLogStatus { - return &v - }).(GetClusterClusterInfoClusterLogStatusPtrOutput) +func (o TableColumnOutput) TypePrecision() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) LastAttempted() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *int { return v.LastAttempted }).(pulumi.IntPtrOutput) +func (o TableColumnOutput) TypeScale() pulumi.IntPtrOutput { + return o.ApplyT(func(v TableColumn) *int { return v.TypeScale }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoClusterLogStatusOutput) LastException() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *string { return v.LastException }).(pulumi.StringPtrOutput) +func (o TableColumnOutput) TypeText() pulumi.StringOutput { + return o.ApplyT(func(v TableColumn) string { return v.TypeText }).(pulumi.StringOutput) } -type GetClusterClusterInfoClusterLogStatusPtrOutput struct{ *pulumi.OutputState } +type TableColumnArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoClusterLogStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() +func (TableColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TableColumn)(nil)).Elem() } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { +func (o TableColumnArrayOutput) ToTableColumnArrayOutput() TableColumnArrayOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { +func (o TableColumnArrayOutput) ToTableColumnArrayOutputWithContext(ctx context.Context) TableColumnArrayOutput { return o } -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) Elem() GetClusterClusterInfoClusterLogStatusOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) GetClusterClusterInfoClusterLogStatus { - if v != nil { - return *v - } - var ret GetClusterClusterInfoClusterLogStatus - return ret - }).(GetClusterClusterInfoClusterLogStatusOutput) -} - -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastAttempted() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *int { - if v == nil { - return nil - } - return v.LastAttempted - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastException() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *string { - if v == nil { - return nil - } - return v.LastException - }).(pulumi.StringPtrOutput) +func (o TableColumnArrayOutput) Index(i pulumi.IntInput) TableColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableColumn { + return vs[0].([]TableColumn)[vs[1].(int)] + }).(TableColumnOutput) } -type GetClusterClusterInfoDockerImage struct { - BasicAuth *GetClusterClusterInfoDockerImageBasicAuth `pulumi:"basicAuth"` - Url *string `pulumi:"url"` +type VectorSearchEndpointEndpointStatus struct { + // Additional status message. + Message *string `pulumi:"message"` + // Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + State *string `pulumi:"state"` } -// GetClusterClusterInfoDockerImageInput is an input type that accepts GetClusterClusterInfoDockerImageArgs and GetClusterClusterInfoDockerImageOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageInput` via: +// VectorSearchEndpointEndpointStatusInput is an input type that accepts VectorSearchEndpointEndpointStatusArgs and VectorSearchEndpointEndpointStatusOutput values. +// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusInput` via: // -// GetClusterClusterInfoDockerImageArgs{...} -type GetClusterClusterInfoDockerImageInput interface { +// VectorSearchEndpointEndpointStatusArgs{...} +type VectorSearchEndpointEndpointStatusInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput - ToGetClusterClusterInfoDockerImageOutputWithContext(context.Context) GetClusterClusterInfoDockerImageOutput -} - -type GetClusterClusterInfoDockerImageArgs struct { - BasicAuth GetClusterClusterInfoDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringPtrInput `pulumi:"url"` -} - -func (GetClusterClusterInfoDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() + ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput + ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusOutput } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { - return i.ToGetClusterClusterInfoDockerImageOutputWithContext(context.Background()) +type VectorSearchEndpointEndpointStatusArgs struct { + // Additional status message. + Message pulumi.StringPtrInput `pulumi:"message"` + // Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + State pulumi.StringPtrInput `pulumi:"state"` } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput) +func (VectorSearchEndpointEndpointStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { + return i.ToVectorSearchEndpointEndpointStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput).ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx) +func (i VectorSearchEndpointEndpointStatusArgs) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusOutput) } -// GetClusterClusterInfoDockerImagePtrInput is an input type that accepts GetClusterClusterInfoDockerImageArgs, GetClusterClusterInfoDockerImagePtr and GetClusterClusterInfoDockerImagePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImagePtrInput` via: -// -// GetClusterClusterInfoDockerImageArgs{...} -// -// or: +// VectorSearchEndpointEndpointStatusArrayInput is an input type that accepts VectorSearchEndpointEndpointStatusArray and VectorSearchEndpointEndpointStatusArrayOutput values. +// You can construct a concrete instance of `VectorSearchEndpointEndpointStatusArrayInput` via: // -// nil -type GetClusterClusterInfoDockerImagePtrInput interface { +// VectorSearchEndpointEndpointStatusArray{ VectorSearchEndpointEndpointStatusArgs{...} } +type VectorSearchEndpointEndpointStatusArrayInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput - ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImagePtrOutput + ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput + ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Context) VectorSearchEndpointEndpointStatusArrayOutput } -type getClusterClusterInfoDockerImagePtrType GetClusterClusterInfoDockerImageArgs - -func GetClusterClusterInfoDockerImagePtr(v *GetClusterClusterInfoDockerImageArgs) GetClusterClusterInfoDockerImagePtrInput { - return (*getClusterClusterInfoDockerImagePtrType)(v) -} +type VectorSearchEndpointEndpointStatusArray []VectorSearchEndpointEndpointStatusInput -func (*getClusterClusterInfoDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() +func (VectorSearchEndpointEndpointStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) +func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { + return i.ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImagePtrOutput) +func (i VectorSearchEndpointEndpointStatusArray) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchEndpointEndpointStatusArrayOutput) } -type GetClusterClusterInfoDockerImageOutput struct{ *pulumi.OutputState } +type VectorSearchEndpointEndpointStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() +func (VectorSearchEndpointEndpointStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { +func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutput() VectorSearchEndpointEndpointStatusOutput { return o } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { +func (o VectorSearchEndpointEndpointStatusOutput) ToVectorSearchEndpointEndpointStatusOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusOutput { return o } -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { - return o.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) -} - -func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImage { - return &v - }).(GetClusterClusterInfoDockerImagePtrOutput) -} - -func (o GetClusterClusterInfoDockerImageOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { - return v.BasicAuth - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +// Additional status message. +func (o VectorSearchEndpointEndpointStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDockerImageOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *string { return v.Url }).(pulumi.StringPtrOutput) +// Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. +func (o VectorSearchEndpointEndpointStatusOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchEndpointEndpointStatus) *string { return v.State }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDockerImagePtrOutput struct{ *pulumi.OutputState } +type VectorSearchEndpointEndpointStatusArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() +func (VectorSearchEndpointEndpointStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchEndpointEndpointStatus)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { +func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutput() VectorSearchEndpointEndpointStatusArrayOutput { return o } -func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { +func (o VectorSearchEndpointEndpointStatusArrayOutput) ToVectorSearchEndpointEndpointStatusArrayOutputWithContext(ctx context.Context) VectorSearchEndpointEndpointStatusArrayOutput { return o } -func (o GetClusterClusterInfoDockerImagePtrOutput) Elem() GetClusterClusterInfoDockerImageOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) GetClusterClusterInfoDockerImage { - if v != nil { - return *v - } - var ret GetClusterClusterInfoDockerImage - return ret - }).(GetClusterClusterInfoDockerImageOutput) -} - -func (o GetClusterClusterInfoDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) -} - -func (o GetClusterClusterInfoDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *string { - if v == nil { - return nil - } - return v.Url - }).(pulumi.StringPtrOutput) +func (o VectorSearchEndpointEndpointStatusArrayOutput) Index(i pulumi.IntInput) VectorSearchEndpointEndpointStatusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchEndpointEndpointStatus { + return vs[0].([]VectorSearchEndpointEndpointStatus)[vs[1].(int)] + }).(VectorSearchEndpointEndpointStatusOutput) } -type GetClusterClusterInfoDockerImageBasicAuth struct { - Password *string `pulumi:"password"` - Username *string `pulumi:"username"` +type VectorSearchIndexDeltaSyncIndexSpec struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` + EmbeddingWritebackTable *string `pulumi:"embeddingWritebackTable"` + // ID of the associated Delta Live Table pipeline. + PipelineId *string `pulumi:"pipelineId"` + // Pipeline execution mode. Possible values are: + // * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. + // * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + PipelineType *string `pulumi:"pipelineType"` + // The name of the source table. + SourceTable *string `pulumi:"sourceTable"` } -// GetClusterClusterInfoDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs and GetClusterClusterInfoDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthInput` via: +// VectorSearchIndexDeltaSyncIndexSpecInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs and VectorSearchIndexDeltaSyncIndexSpecOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecInput` via: // -// GetClusterClusterInfoDockerImageBasicAuthArgs{...} -type GetClusterClusterInfoDockerImageBasicAuthInput interface { +// VectorSearchIndexDeltaSyncIndexSpecArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput - ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput + ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput + ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput } -type GetClusterClusterInfoDockerImageBasicAuthArgs struct { - Password pulumi.StringPtrInput `pulumi:"password"` - Username pulumi.StringPtrInput `pulumi:"username"` +type VectorSearchIndexDeltaSyncIndexSpecArgs struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` + EmbeddingWritebackTable pulumi.StringPtrInput `pulumi:"embeddingWritebackTable"` + // ID of the associated Delta Live Table pipeline. + PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"` + // Pipeline execution mode. Possible values are: + // * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. + // * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + PipelineType pulumi.StringPtrInput `pulumi:"pipelineType"` + // The name of the source table. + SourceTable pulumi.StringPtrInput `pulumi:"sourceTable"` } -func (GetClusterClusterInfoDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput).ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i VectorSearchIndexDeltaSyncIndexSpecArgs) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecOutput).ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx) } -// GetClusterClusterInfoDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs, GetClusterClusterInfoDockerImageBasicAuthPtr and GetClusterClusterInfoDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthPtrInput` via: +// VectorSearchIndexDeltaSyncIndexSpecPtrInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecArgs, VectorSearchIndexDeltaSyncIndexSpecPtr and VectorSearchIndexDeltaSyncIndexSpecPtrOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecPtrInput` via: // -// GetClusterClusterInfoDockerImageBasicAuthArgs{...} +// VectorSearchIndexDeltaSyncIndexSpecArgs{...} // // or: // // nil -type GetClusterClusterInfoDockerImageBasicAuthPtrInput interface { +type VectorSearchIndexDeltaSyncIndexSpecPtrInput interface { pulumi.Input - ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput - ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput + ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput + ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput } -type getClusterClusterInfoDockerImageBasicAuthPtrType GetClusterClusterInfoDockerImageBasicAuthArgs +type vectorSearchIndexDeltaSyncIndexSpecPtrType VectorSearchIndexDeltaSyncIndexSpecArgs -func GetClusterClusterInfoDockerImageBasicAuthPtr(v *GetClusterClusterInfoDockerImageBasicAuthArgs) GetClusterClusterInfoDockerImageBasicAuthPtrInput { - return (*getClusterClusterInfoDockerImageBasicAuthPtrType)(v) +func VectorSearchIndexDeltaSyncIndexSpecPtr(v *VectorSearchIndexDeltaSyncIndexSpecArgs) VectorSearchIndexDeltaSyncIndexSpecPtrInput { + return (*vectorSearchIndexDeltaSyncIndexSpecPtrType)(v) } -func (*getClusterClusterInfoDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (*vectorSearchIndexDeltaSyncIndexSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) +func (i *vectorSearchIndexDeltaSyncIndexSpecPtrType) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDeltaSyncIndexSpecOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutput() VectorSearchIndexDeltaSyncIndexSpecOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImageBasicAuth) *GetClusterClusterInfoDockerImageBasicAuth { +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDeltaSyncIndexSpec) *VectorSearchIndexDeltaSyncIndexSpec { return &v - }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) + }).(VectorSearchIndexDeltaSyncIndexSpecPtrOutput) +} + +// array of objects representing columns that contain the embedding source. Each entry consists of: +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingSourceColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) +} + +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +} + +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) EmbeddingWritebackTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.EmbeddingWritebackTable }).(pulumi.StringPtrOutput) +} + +// ID of the associated Delta Live Table pipeline. +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) *string { return v.Password }).(pulumi.StringPtrOutput) +// Pipeline execution mode. Possible values are: +// * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. +// * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) PipelineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.PipelineType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) *string { return v.Username }).(pulumi.StringPtrOutput) +// The name of the source table. +func (o VectorSearchIndexDeltaSyncIndexSpecOutput) SourceTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpec) *string { return v.SourceTable }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDeltaSyncIndexSpecPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDeltaSyncIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutput() VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) ToVectorSearchIndexDeltaSyncIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) GetClusterClusterInfoDockerImageBasicAuth { +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) Elem() VectorSearchIndexDeltaSyncIndexSpecOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) VectorSearchIndexDeltaSyncIndexSpec { if v != nil { return *v } - var ret GetClusterClusterInfoDockerImageBasicAuth + var ret VectorSearchIndexDeltaSyncIndexSpec return ret - }).(GetClusterClusterInfoDockerImageBasicAuthOutput) + }).(VectorSearchIndexDeltaSyncIndexSpecOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { +// array of objects representing columns that contain the embedding source. Each entry consists of: +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingSourceColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { if v == nil { return nil } - return v.Password + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) +} + +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + if v == nil { + return nil + } + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) +} + +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) EmbeddingWritebackTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { + if v == nil { + return nil + } + return v.EmbeddingWritebackTable }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { +// ID of the associated Delta Live Table pipeline. +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { if v == nil { return nil } - return v.Username + return v.PipelineId + }).(pulumi.StringPtrOutput) +} + +// Pipeline execution mode. Possible values are: +// * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. +// * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) PipelineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { + if v == nil { + return nil + } + return v.PipelineType + }).(pulumi.StringPtrOutput) +} + +// The name of the source table. +func (o VectorSearchIndexDeltaSyncIndexSpecPtrOutput) SourceTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDeltaSyncIndexSpec) *string { + if v == nil { + return nil + } + return v.SourceTable }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDriver struct { - HostPrivateIp *string `pulumi:"hostPrivateIp"` - InstanceId *string `pulumi:"instanceId"` - NodeAwsAttributes *GetClusterClusterInfoDriverNodeAwsAttributes `pulumi:"nodeAwsAttributes"` - NodeId *string `pulumi:"nodeId"` - PrivateIp *string `pulumi:"privateIp"` - PublicDns *string `pulumi:"publicDns"` - StartTimestamp *int `pulumi:"startTimestamp"` +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn struct { + EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` } -// GetClusterClusterInfoDriverInput is an input type that accepts GetClusterClusterInfoDriverArgs and GetClusterClusterInfoDriverOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverInput` via: +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput` via: // -// GetClusterClusterInfoDriverArgs{...} -type GetClusterClusterInfoDriverInput interface { +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput interface { pulumi.Input - ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput - ToGetClusterClusterInfoDriverOutputWithContext(context.Context) GetClusterClusterInfoDriverOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput } -type GetClusterClusterInfoDriverArgs struct { - HostPrivateIp pulumi.StringPtrInput `pulumi:"hostPrivateIp"` - InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` - NodeAwsAttributes GetClusterClusterInfoDriverNodeAwsAttributesPtrInput `pulumi:"nodeAwsAttributes"` - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` - PublicDns pulumi.StringPtrInput `pulumi:"publicDns"` - StartTimestamp pulumi.IntPtrInput `pulumi:"startTimestamp"` +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs struct { + EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (GetClusterClusterInfoDriverArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { - return i.ToGetClusterClusterInfoDriverOutputWithContext(context.Background()) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs{...} } +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayInput interface { + pulumi.Input + + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput } -func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput).ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnInput + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -// GetClusterClusterInfoDriverPtrInput is an input type that accepts GetClusterClusterInfoDriverArgs, GetClusterClusterInfoDriverPtr and GetClusterClusterInfoDriverPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverPtrInput` via: -// -// GetClusterClusterInfoDriverArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoDriverPtrInput interface { - pulumi.Input +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) +} - ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput - ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverPtrOutput +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) } -type getClusterClusterInfoDriverPtrType GetClusterClusterInfoDriverArgs +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() +} -func GetClusterClusterInfoDriverPtr(v *GetClusterClusterInfoDriverArgs) GetClusterClusterInfoDriverPtrInput { - return (*getClusterClusterInfoDriverPtrType)(v) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return o } -func (*getClusterClusterInfoDriverPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return o } -func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { + return v.EmbeddingModelEndpointName + }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverPtrOutput) +// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDriverOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { return o } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput { return o } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return o.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn { + return vs[0].([]VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumn)[vs[1].(int)] + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnOutput) } -func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriver { - return &v - }).(GetClusterClusterInfoDriverPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn struct { + EmbeddingDimension *int `pulumi:"embeddingDimension"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` } -func (o GetClusterClusterInfoDriverOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{...} +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput interface { + pulumi.Input + + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput } -func (o GetClusterClusterInfoDriverOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.InstanceId }).(pulumi.StringPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs struct { + EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (o GetClusterClusterInfoDriverOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { - return v.NodeAwsAttributes - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetClusterClusterInfoDriverOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.NodeId }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDriverOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) } -func (o GetClusterClusterInfoDriverOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput` via: +// +// VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs{...} } +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayInput interface { + pulumi.Input + + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput + ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput } -func (o GetClusterClusterInfoDriverOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriver) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnInput + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -type GetClusterClusterInfoDriverPtrOutput struct{ *pulumi.OutputState } +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return i.ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) +} -func (GetClusterClusterInfoDriverPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +func (i VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { - return o +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } + +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { return o } -func (o GetClusterClusterInfoDriverPtrOutput) Elem() GetClusterClusterInfoDriverOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) GetClusterClusterInfoDriver { - if v != nil { - return *v - } - var ret GetClusterClusterInfoDriver - return ret - }).(GetClusterClusterInfoDriverOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return o } -func (o GetClusterClusterInfoDriverPtrOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { - if v == nil { - return nil - } - return v.HostPrivateIp - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { - if v == nil { - return nil - } - return v.InstanceId - }).(pulumi.StringPtrOutput) +// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoDriverPtrOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { - if v == nil { - return nil - } - return v.NodeAwsAttributes - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) -} +type VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoDriverPtrOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { - if v == nil { - return nil - } - return v.NodeId - }).(pulumi.StringPtrOutput) +func (VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetClusterClusterInfoDriverPtrOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { - if v == nil { - return nil - } - return v.PrivateIp - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o } -func (o GetClusterClusterInfoDriverPtrOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { - if v == nil { - return nil - } - return v.PublicDns - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput { + return o } -func (o GetClusterClusterInfoDriverPtrOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriver) *int { - if v == nil { - return nil - } - return v.StartTimestamp - }).(pulumi.IntPtrOutput) +func (o VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn { + return vs[0].([]VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumn)[vs[1].(int)] + }).(VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributes struct { - IsSpot *bool `pulumi:"isSpot"` +type VectorSearchIndexDirectAccessIndexSpec struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn `pulumi:"embeddingVectorColumns"` + // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + SchemaJson *string `pulumi:"schemaJson"` } -// GetClusterClusterInfoDriverNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs and GetClusterClusterInfoDriverNodeAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesInput` via: +// VectorSearchIndexDirectAccessIndexSpecInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs and VectorSearchIndexDirectAccessIndexSpecOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecInput` via: // -// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} -type GetClusterClusterInfoDriverNodeAwsAttributesInput interface { +// VectorSearchIndexDirectAccessIndexSpecArgs{...} +type VectorSearchIndexDirectAccessIndexSpecInput interface { pulumi.Input - ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput - ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput + ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput + ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecOutput } -type GetClusterClusterInfoDriverNodeAwsAttributesArgs struct { - IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` +type VectorSearchIndexDirectAccessIndexSpecArgs struct { + // array of objects representing columns that contain the embedding source. Each entry consists of: + EmbeddingSourceColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput `pulumi:"embeddingSourceColumns"` + EmbeddingVectorColumns VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput `pulumi:"embeddingVectorColumns"` + // The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + SchemaJson pulumi.StringPtrInput `pulumi:"schemaJson"` } -func (GetClusterClusterInfoDriverNodeAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput).ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx) +func (i VectorSearchIndexDirectAccessIndexSpecArgs) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecOutput).ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx) } -// GetClusterClusterInfoDriverNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs, GetClusterClusterInfoDriverNodeAwsAttributesPtr and GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesPtrInput` via: +// VectorSearchIndexDirectAccessIndexSpecPtrInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecArgs, VectorSearchIndexDirectAccessIndexSpecPtr and VectorSearchIndexDirectAccessIndexSpecPtrOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecPtrInput` via: // -// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +// VectorSearchIndexDirectAccessIndexSpecArgs{...} // // or: // // nil -type GetClusterClusterInfoDriverNodeAwsAttributesPtrInput interface { +type VectorSearchIndexDirectAccessIndexSpecPtrInput interface { pulumi.Input - ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput - ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput } -type getClusterClusterInfoDriverNodeAwsAttributesPtrType GetClusterClusterInfoDriverNodeAwsAttributesArgs +type vectorSearchIndexDirectAccessIndexSpecPtrType VectorSearchIndexDirectAccessIndexSpecArgs -func GetClusterClusterInfoDriverNodeAwsAttributesPtr(v *GetClusterClusterInfoDriverNodeAwsAttributesArgs) GetClusterClusterInfoDriverNodeAwsAttributesPtrInput { - return (*getClusterClusterInfoDriverNodeAwsAttributesPtrType)(v) +func VectorSearchIndexDirectAccessIndexSpecPtr(v *VectorSearchIndexDirectAccessIndexSpecArgs) VectorSearchIndexDirectAccessIndexSpecPtrInput { + return (*vectorSearchIndexDirectAccessIndexSpecPtrType)(v) } -func (*getClusterClusterInfoDriverNodeAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (*vectorSearchIndexDirectAccessIndexSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) +func (i *vectorSearchIndexDirectAccessIndexSpecPtrType) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributesOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverNodeAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutput() VectorSearchIndexDirectAccessIndexSpecOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriverNodeAwsAttributes) *GetClusterClusterInfoDriverNodeAwsAttributes { +func (o VectorSearchIndexDirectAccessIndexSpecOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VectorSearchIndexDirectAccessIndexSpec) *VectorSearchIndexDirectAccessIndexSpec { return &v - }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) + }).(VectorSearchIndexDirectAccessIndexSpecPtrOutput) +} + +// array of objects representing columns that contain the embedding source. Each entry consists of: +func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoDriverNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) +func (o VectorSearchIndexDirectAccessIndexSpecOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) +} + +// The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. +func (o VectorSearchIndexDirectAccessIndexSpecOutput) SchemaJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpec) *string { return v.SchemaJson }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VectorSearchIndexDirectAccessIndexSpec)(nil)).Elem() } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutput() VectorSearchIndexDirectAccessIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) ToVectorSearchIndexDirectAccessIndexSpecPtrOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecPtrOutput { return o } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoDriverNodeAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) GetClusterClusterInfoDriverNodeAwsAttributes { +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) Elem() VectorSearchIndexDirectAccessIndexSpecOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) VectorSearchIndexDirectAccessIndexSpec { if v != nil { return *v } - var ret GetClusterClusterInfoDriverNodeAwsAttributes + var ret VectorSearchIndexDirectAccessIndexSpec return ret - }).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) + }).(VectorSearchIndexDirectAccessIndexSpecOutput) } -func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) *bool { +// array of objects representing columns that contain the embedding source. Each entry consists of: +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingSourceColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { if v == nil { return nil } - return v.IsSpot - }).(pulumi.BoolPtrOutput) + return v.EmbeddingSourceColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) +} + +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) EmbeddingVectorColumns() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + if v == nil { + return nil + } + return v.EmbeddingVectorColumns + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) +} + +// The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. +func (o VectorSearchIndexDirectAccessIndexSpecPtrOutput) SchemaJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VectorSearchIndexDirectAccessIndexSpec) *string { + if v == nil { + return nil + } + return v.SchemaJson + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoExecutor struct { - HostPrivateIp *string `pulumi:"hostPrivateIp"` - InstanceId *string `pulumi:"instanceId"` - NodeAwsAttributes *GetClusterClusterInfoExecutorNodeAwsAttributes `pulumi:"nodeAwsAttributes"` - NodeId *string `pulumi:"nodeId"` - PrivateIp *string `pulumi:"privateIp"` - PublicDns *string `pulumi:"publicDns"` - StartTimestamp *int `pulumi:"startTimestamp"` +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn struct { + EmbeddingModelEndpointName *string `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` } -// GetClusterClusterInfoExecutorInput is an input type that accepts GetClusterClusterInfoExecutorArgs and GetClusterClusterInfoExecutorOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorInput` via: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput` via: // -// GetClusterClusterInfoExecutorArgs{...} -type GetClusterClusterInfoExecutorInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput - ToGetClusterClusterInfoExecutorOutputWithContext(context.Context) GetClusterClusterInfoExecutorOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput } -type GetClusterClusterInfoExecutorArgs struct { - HostPrivateIp pulumi.StringPtrInput `pulumi:"hostPrivateIp"` - InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` - NodeAwsAttributes GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput `pulumi:"nodeAwsAttributes"` - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` - PublicDns pulumi.StringPtrInput `pulumi:"publicDns"` - StartTimestamp pulumi.IntPtrInput `pulumi:"startTimestamp"` +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs struct { + EmbeddingModelEndpointName pulumi.StringPtrInput `pulumi:"embeddingModelEndpointName"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (GetClusterClusterInfoExecutorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { - return i.ToGetClusterClusterInfoExecutorOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) } -// GetClusterClusterInfoExecutorArrayInput is an input type that accepts GetClusterClusterInfoExecutorArray and GetClusterClusterInfoExecutorArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorArrayInput` via: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput` via: // -// GetClusterClusterInfoExecutorArray{ GetClusterClusterInfoExecutorArgs{...} } -type GetClusterClusterInfoExecutorArrayInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs{...} } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput - ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Context) GetClusterClusterInfoExecutorArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput } -type GetClusterClusterInfoExecutorArray []GetClusterClusterInfoExecutorInput +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnInput -func (GetClusterClusterInfoExecutorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { - return i.ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorArrayOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) } -type GetClusterClusterInfoExecutorOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { return o } -func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { return o } -func (o GetClusterClusterInfoExecutorOutput) HostPrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoExecutorOutput) InstanceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.InstanceId }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoExecutorOutput) NodeAwsAttributes() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *GetClusterClusterInfoExecutorNodeAwsAttributes { - return v.NodeAwsAttributes - }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) -} - -func (o GetClusterClusterInfoExecutorOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.NodeId }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoExecutorOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoExecutorOutput) PublicDns() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) EmbeddingModelEndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { + return v.EmbeddingModelEndpointName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoExecutorOutput) StartTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutor) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoExecutorArrayOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { return o } -func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput { return o } -func (o GetClusterClusterInfoExecutorArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoExecutorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoExecutor { - return vs[0].([]GetClusterClusterInfoExecutor)[vs[1].(int)] - }).(GetClusterClusterInfoExecutorOutput) +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn { + return vs[0].([]VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn)[vs[1].(int)] + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributes struct { - IsSpot *bool `pulumi:"isSpot"` +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn struct { + EmbeddingDimension *int `pulumi:"embeddingDimension"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name *string `pulumi:"name"` } -// GetClusterClusterInfoExecutorNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs and GetClusterClusterInfoExecutorNodeAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesInput` via: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput` via: // -// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} -type GetClusterClusterInfoExecutorNodeAwsAttributesInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput - ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput -} - -type GetClusterClusterInfoExecutorNodeAwsAttributesArgs struct { - IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` -} - -func (GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Background()) +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs struct { + EmbeddingDimension pulumi.IntPtrInput `pulumi:"embeddingDimension"` + // Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name pulumi.StringPtrInput `pulumi:"name"` } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput).ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) } -// GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs, GetClusterClusterInfoExecutorNodeAwsAttributesPtr and GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput` via: -// -// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} -// -// or: +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput is an input type that accepts VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray and VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput` via: // -// nil -type GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput interface { +// VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{ VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs{...} } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput interface { pulumi.Input - ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput - ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput + ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput } -type getClusterClusterInfoExecutorNodeAwsAttributesPtrType GetClusterClusterInfoExecutorNodeAwsAttributesArgs - -func GetClusterClusterInfoExecutorNodeAwsAttributesPtr(v *GetClusterClusterInfoExecutorNodeAwsAttributesArgs) GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput { - return (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType)(v) -} +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray []VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnInput -func (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return i.ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +func (i VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoExecutorNodeAwsAttributes) *GetClusterClusterInfoExecutorNodeAwsAttributes { - return &v - }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) EmbeddingDimension() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *int { return v.EmbeddingDimension }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) +// Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +func (VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)(nil)).Elem() } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput() VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) ToVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutputWithContext(ctx context.Context) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput { return o } -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) GetClusterClusterInfoExecutorNodeAwsAttributes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoExecutorNodeAwsAttributes - return ret - }).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) -} - -func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { - if v == nil { - return nil - } - return v.IsSpot - }).(pulumi.BoolPtrOutput) +func (o VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn { + return vs[0].([]VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn)[vs[1].(int)] + }).(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnOutput) } -type GetClusterClusterInfoGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type VectorSearchIndexStatus struct { + // Index API Url to be used to perform operations on the index + IndexUrl *string `pulumi:"indexUrl"` + // Number of rows indexed + IndexedRowCount *int `pulumi:"indexedRowCount"` + // Message associated with the index status + Message *string `pulumi:"message"` + // Whether the index is ready for search + Ready *bool `pulumi:"ready"` } -// GetClusterClusterInfoGcpAttributesInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs and GetClusterClusterInfoGcpAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesInput` via: +// VectorSearchIndexStatusInput is an input type that accepts VectorSearchIndexStatusArgs and VectorSearchIndexStatusOutput values. +// You can construct a concrete instance of `VectorSearchIndexStatusInput` via: // -// GetClusterClusterInfoGcpAttributesArgs{...} -type GetClusterClusterInfoGcpAttributesInput interface { +// VectorSearchIndexStatusArgs{...} +type VectorSearchIndexStatusInput interface { pulumi.Input - ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput - ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesOutput -} - -type GetClusterClusterInfoGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` -} - -func (GetClusterClusterInfoGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() + ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput + ToVectorSearchIndexStatusOutputWithContext(context.Context) VectorSearchIndexStatusOutput } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { - return i.ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Background()) +type VectorSearchIndexStatusArgs struct { + // Index API Url to be used to perform operations on the index + IndexUrl pulumi.StringPtrInput `pulumi:"indexUrl"` + // Number of rows indexed + IndexedRowCount pulumi.IntPtrInput `pulumi:"indexedRowCount"` + // Message associated with the index status + Message pulumi.StringPtrInput `pulumi:"message"` + // Whether the index is ready for search + Ready pulumi.BoolPtrInput `pulumi:"ready"` } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput) +func (VectorSearchIndexStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { + return i.ToVectorSearchIndexStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput).ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx) +func (i VectorSearchIndexStatusArgs) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusOutput) } -// GetClusterClusterInfoGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs, GetClusterClusterInfoGcpAttributesPtr and GetClusterClusterInfoGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesPtrInput` via: -// -// GetClusterClusterInfoGcpAttributesArgs{...} -// -// or: +// VectorSearchIndexStatusArrayInput is an input type that accepts VectorSearchIndexStatusArray and VectorSearchIndexStatusArrayOutput values. +// You can construct a concrete instance of `VectorSearchIndexStatusArrayInput` via: // -// nil -type GetClusterClusterInfoGcpAttributesPtrInput interface { +// VectorSearchIndexStatusArray{ VectorSearchIndexStatusArgs{...} } +type VectorSearchIndexStatusArrayInput interface { pulumi.Input - ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput - ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesPtrOutput + ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput + ToVectorSearchIndexStatusArrayOutputWithContext(context.Context) VectorSearchIndexStatusArrayOutput } -type getClusterClusterInfoGcpAttributesPtrType GetClusterClusterInfoGcpAttributesArgs - -func GetClusterClusterInfoGcpAttributesPtr(v *GetClusterClusterInfoGcpAttributesArgs) GetClusterClusterInfoGcpAttributesPtrInput { - return (*getClusterClusterInfoGcpAttributesPtrType)(v) -} +type VectorSearchIndexStatusArray []VectorSearchIndexStatusInput -func (*getClusterClusterInfoGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (VectorSearchIndexStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() } -func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { + return i.ToVectorSearchIndexStatusArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesPtrOutput) +func (i VectorSearchIndexStatusArray) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VectorSearchIndexStatusArrayOutput) } -type GetClusterClusterInfoGcpAttributesOutput struct{ *pulumi.OutputState } +type VectorSearchIndexStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (VectorSearchIndexStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VectorSearchIndexStatus)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { +func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutput() VectorSearchIndexStatusOutput { return o } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { +func (o VectorSearchIndexStatusOutput) ToVectorSearchIndexStatusOutputWithContext(ctx context.Context) VectorSearchIndexStatusOutput { return o } -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoGcpAttributes) *GetClusterClusterInfoGcpAttributes { - return &v - }).(GetClusterClusterInfoGcpAttributesPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +// Index API Url to be used to perform operations on the index +func (o VectorSearchIndexStatusOutput) IndexUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexStatus) *string { return v.IndexUrl }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +// Number of rows indexed +func (o VectorSearchIndexStatusOutput) IndexedRowCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v VectorSearchIndexStatus) *int { return v.IndexedRowCount }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +// Message associated with the index status +func (o VectorSearchIndexStatusOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v VectorSearchIndexStatus) *string { return v.Message }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// Whether the index is ready for search +func (o VectorSearchIndexStatusOutput) Ready() pulumi.BoolPtrOutput { + return o.ApplyT(func(v VectorSearchIndexStatus) *bool { return v.Ready }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type VectorSearchIndexStatusArrayOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() +func (VectorSearchIndexStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VectorSearchIndexStatus)(nil)).Elem() } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { +func (o VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutput() VectorSearchIndexStatusArrayOutput { return o } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { +func (o VectorSearchIndexStatusArrayOutput) ToVectorSearchIndexStatusArrayOutputWithContext(ctx context.Context) VectorSearchIndexStatusArrayOutput { return o } -func (o GetClusterClusterInfoGcpAttributesPtrOutput) Elem() GetClusterClusterInfoGcpAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) GetClusterClusterInfoGcpAttributes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoGcpAttributes - return ret - }).(GetClusterClusterInfoGcpAttributesOutput) -} - -func (o GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterClusterInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o VectorSearchIndexStatusArrayOutput) Index(i pulumi.IntInput) VectorSearchIndexStatusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VectorSearchIndexStatus { + return vs[0].([]VectorSearchIndexStatus)[vs[1].(int)] + }).(VectorSearchIndexStatusOutput) } func init() { @@ -83270,6 +82443,32 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AlertConditionThresholdPtrInput)(nil)).Elem(), AlertConditionThresholdArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AlertConditionThresholdValueInput)(nil)).Elem(), AlertConditionThresholdValueArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AlertConditionThresholdValuePtrInput)(nil)).Elem(), AlertConditionThresholdValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppActiveDeploymentInput)(nil)).Elem(), AppActiveDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppActiveDeploymentPtrInput)(nil)).Elem(), AppActiveDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppActiveDeploymentDeploymentArtifactsInput)(nil)).Elem(), AppActiveDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppActiveDeploymentDeploymentArtifactsPtrInput)(nil)).Elem(), AppActiveDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppActiveDeploymentStatusInput)(nil)).Elem(), AppActiveDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppActiveDeploymentStatusPtrInput)(nil)).Elem(), AppActiveDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppAppStatusInput)(nil)).Elem(), AppAppStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppAppStatusPtrInput)(nil)).Elem(), AppAppStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppComputeStatusInput)(nil)).Elem(), AppComputeStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppComputeStatusPtrInput)(nil)).Elem(), AppComputeStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppPendingDeploymentInput)(nil)).Elem(), AppPendingDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppPendingDeploymentPtrInput)(nil)).Elem(), AppPendingDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppPendingDeploymentDeploymentArtifactsInput)(nil)).Elem(), AppPendingDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppPendingDeploymentDeploymentArtifactsPtrInput)(nil)).Elem(), AppPendingDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppPendingDeploymentStatusInput)(nil)).Elem(), AppPendingDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppPendingDeploymentStatusPtrInput)(nil)).Elem(), AppPendingDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceInput)(nil)).Elem(), AppResourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceArrayInput)(nil)).Elem(), AppResourceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceJobInput)(nil)).Elem(), AppResourceJobArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceJobPtrInput)(nil)).Elem(), AppResourceJobArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceSecretInput)(nil)).Elem(), AppResourceSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceSecretPtrInput)(nil)).Elem(), AppResourceSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceServingEndpointInput)(nil)).Elem(), AppResourceServingEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceServingEndpointPtrInput)(nil)).Elem(), AppResourceServingEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceSqlWarehouseInput)(nil)).Elem(), AppResourceSqlWarehouseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppResourceSqlWarehousePtrInput)(nil)).Elem(), AppResourceSqlWarehouseArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ArtifactAllowlistArtifactMatcherInput)(nil)).Elem(), ArtifactAllowlistArtifactMatcherArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ArtifactAllowlistArtifactMatcherArrayInput)(nil)).Elem(), ArtifactAllowlistArtifactMatcherArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceInput)(nil)).Elem(), AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs{}) @@ -83355,6 +82554,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClusterWorkloadTypeClientsPtrInput)(nil)).Elem(), ClusterWorkloadTypeClientsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceInput)(nil)).Elem(), ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrInput)(nil)).Elem(), ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialAwsIamRoleInput)(nil)).Elem(), CredentialAwsIamRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialAwsIamRolePtrInput)(nil)).Elem(), CredentialAwsIamRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialAzureManagedIdentityInput)(nil)).Elem(), CredentialAzureManagedIdentityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialAzureManagedIdentityPtrInput)(nil)).Elem(), CredentialAzureManagedIdentityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialAzureServicePrincipalInput)(nil)).Elem(), CredentialAzureServicePrincipalArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialAzureServicePrincipalPtrInput)(nil)).Elem(), CredentialAzureServicePrincipalArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialDatabricksGcpServiceAccountInput)(nil)).Elem(), CredentialDatabricksGcpServiceAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CredentialDatabricksGcpServiceAccountPtrInput)(nil)).Elem(), CredentialDatabricksGcpServiceAccountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CustomAppIntegrationTokenAccessPolicyInput)(nil)).Elem(), CustomAppIntegrationTokenAccessPolicyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CustomAppIntegrationTokenAccessPolicyPtrInput)(nil)).Elem(), CustomAppIntegrationTokenAccessPolicyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DefaultNamespaceSettingNamespaceInput)(nil)).Elem(), DefaultNamespaceSettingNamespaceArgs{}) @@ -83552,6 +82759,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobSparkSubmitTaskPtrInput)(nil)).Elem(), JobSparkSubmitTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskInput)(nil)).Elem(), JobTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskArrayInput)(nil)).Elem(), JobTaskArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobTaskCleanRoomsNotebookTaskInput)(nil)).Elem(), JobTaskCleanRoomsNotebookTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobTaskCleanRoomsNotebookTaskPtrInput)(nil)).Elem(), JobTaskCleanRoomsNotebookTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskConditionTaskInput)(nil)).Elem(), JobTaskConditionTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskConditionTaskPtrInput)(nil)).Elem(), JobTaskConditionTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskDbtTaskInput)(nil)).Elem(), JobTaskDbtTaskArgs{}) @@ -83564,6 +82773,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskPtrInput)(nil)).Elem(), JobTaskForEachTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskInput)(nil)).Elem(), JobTaskForEachTaskTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskCleanRoomsNotebookTaskInput)(nil)).Elem(), JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskConditionTaskInput)(nil)).Elem(), JobTaskForEachTaskTaskConditionTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskConditionTaskPtrInput)(nil)).Elem(), JobTaskForEachTaskTaskConditionTaskArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*JobTaskForEachTaskTaskDbtTaskInput)(nil)).Elem(), JobTaskForEachTaskTaskDbtTaskArgs{}) @@ -84214,44 +83425,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayInput)(nil)).Elem(), VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexStatusInput)(nil)).Elem(), VectorSearchIndexStatusArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VectorSearchIndexStatusArrayInput)(nil)).Elem(), VectorSearchIndexStatusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoInput)(nil)).Elem(), GetCatalogCatalogInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoPtrInput)(nil)).Elem(), GetCatalogCatalogInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput)(nil)).Elem(), GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput)(nil)).Elem(), GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfoInput)(nil)).Elem(), GetCatalogCatalogInfoProvisioningInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfoPtrInput)(nil)).Elem(), GetCatalogCatalogInfoProvisioningInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoPtrInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAutoscaleInput)(nil)).Elem(), GetClusterClusterInfoAutoscaleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAutoscalePtrInput)(nil)).Elem(), GetClusterClusterInfoAutoscaleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAwsAttributesInput)(nil)).Elem(), GetClusterClusterInfoAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAwsAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfPtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfsInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfDbfsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfsPtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfDbfsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3Input)(nil)).Elem(), GetClusterClusterInfoClusterLogConfS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3PtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfS3Args{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogStatusInput)(nil)).Elem(), GetClusterClusterInfoClusterLogStatusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogStatusPtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogStatusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImageInput)(nil)).Elem(), GetClusterClusterInfoDockerImageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImagePtrInput)(nil)).Elem(), GetClusterClusterInfoDockerImageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuthInput)(nil)).Elem(), GetClusterClusterInfoDockerImageBasicAuthArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuthPtrInput)(nil)).Elem(), GetClusterClusterInfoDockerImageBasicAuthArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverInput)(nil)).Elem(), GetClusterClusterInfoDriverArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverPtrInput)(nil)).Elem(), GetClusterClusterInfoDriverArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributesInput)(nil)).Elem(), GetClusterClusterInfoDriverNodeAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoDriverNodeAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorInput)(nil)).Elem(), GetClusterClusterInfoExecutorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorArrayInput)(nil)).Elem(), GetClusterClusterInfoExecutorArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributesInput)(nil)).Elem(), GetClusterClusterInfoExecutorNodeAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoExecutorNodeAwsAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoGcpAttributesInput)(nil)).Elem(), GetClusterClusterInfoGcpAttributesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoGcpAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoGcpAttributesArgs{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleOutput{}) pulumi.RegisterOutputType(AccessControlRuleSetGrantRuleArrayOutput{}) pulumi.RegisterOutputType(AlertConditionOutput{}) @@ -84264,6 +83437,32 @@ func init() { pulumi.RegisterOutputType(AlertConditionThresholdPtrOutput{}) pulumi.RegisterOutputType(AlertConditionThresholdValueOutput{}) pulumi.RegisterOutputType(AlertConditionThresholdValuePtrOutput{}) + pulumi.RegisterOutputType(AppActiveDeploymentOutput{}) + pulumi.RegisterOutputType(AppActiveDeploymentPtrOutput{}) + pulumi.RegisterOutputType(AppActiveDeploymentDeploymentArtifactsOutput{}) + pulumi.RegisterOutputType(AppActiveDeploymentDeploymentArtifactsPtrOutput{}) + pulumi.RegisterOutputType(AppActiveDeploymentStatusOutput{}) + pulumi.RegisterOutputType(AppActiveDeploymentStatusPtrOutput{}) + pulumi.RegisterOutputType(AppAppStatusOutput{}) + pulumi.RegisterOutputType(AppAppStatusPtrOutput{}) + pulumi.RegisterOutputType(AppComputeStatusOutput{}) + pulumi.RegisterOutputType(AppComputeStatusPtrOutput{}) + pulumi.RegisterOutputType(AppPendingDeploymentOutput{}) + pulumi.RegisterOutputType(AppPendingDeploymentPtrOutput{}) + pulumi.RegisterOutputType(AppPendingDeploymentDeploymentArtifactsOutput{}) + pulumi.RegisterOutputType(AppPendingDeploymentDeploymentArtifactsPtrOutput{}) + pulumi.RegisterOutputType(AppPendingDeploymentStatusOutput{}) + pulumi.RegisterOutputType(AppPendingDeploymentStatusPtrOutput{}) + pulumi.RegisterOutputType(AppResourceOutput{}) + pulumi.RegisterOutputType(AppResourceArrayOutput{}) + pulumi.RegisterOutputType(AppResourceJobOutput{}) + pulumi.RegisterOutputType(AppResourceJobPtrOutput{}) + pulumi.RegisterOutputType(AppResourceSecretOutput{}) + pulumi.RegisterOutputType(AppResourceSecretPtrOutput{}) + pulumi.RegisterOutputType(AppResourceServingEndpointOutput{}) + pulumi.RegisterOutputType(AppResourceServingEndpointPtrOutput{}) + pulumi.RegisterOutputType(AppResourceSqlWarehouseOutput{}) + pulumi.RegisterOutputType(AppResourceSqlWarehousePtrOutput{}) pulumi.RegisterOutputType(ArtifactAllowlistArtifactMatcherOutput{}) pulumi.RegisterOutputType(ArtifactAllowlistArtifactMatcherArrayOutput{}) pulumi.RegisterOutputType(AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceOutput{}) @@ -84349,6 +83548,14 @@ func init() { pulumi.RegisterOutputType(ClusterWorkloadTypeClientsPtrOutput{}) pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceOutput{}) pulumi.RegisterOutputType(ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspacePtrOutput{}) + pulumi.RegisterOutputType(CredentialAwsIamRoleOutput{}) + pulumi.RegisterOutputType(CredentialAwsIamRolePtrOutput{}) + pulumi.RegisterOutputType(CredentialAzureManagedIdentityOutput{}) + pulumi.RegisterOutputType(CredentialAzureManagedIdentityPtrOutput{}) + pulumi.RegisterOutputType(CredentialAzureServicePrincipalOutput{}) + pulumi.RegisterOutputType(CredentialAzureServicePrincipalPtrOutput{}) + pulumi.RegisterOutputType(CredentialDatabricksGcpServiceAccountOutput{}) + pulumi.RegisterOutputType(CredentialDatabricksGcpServiceAccountPtrOutput{}) pulumi.RegisterOutputType(CustomAppIntegrationTokenAccessPolicyOutput{}) pulumi.RegisterOutputType(CustomAppIntegrationTokenAccessPolicyPtrOutput{}) pulumi.RegisterOutputType(DefaultNamespaceSettingNamespaceOutput{}) @@ -84546,6 +83753,8 @@ func init() { pulumi.RegisterOutputType(JobSparkSubmitTaskPtrOutput{}) pulumi.RegisterOutputType(JobTaskOutput{}) pulumi.RegisterOutputType(JobTaskArrayOutput{}) + pulumi.RegisterOutputType(JobTaskCleanRoomsNotebookTaskOutput{}) + pulumi.RegisterOutputType(JobTaskCleanRoomsNotebookTaskPtrOutput{}) pulumi.RegisterOutputType(JobTaskConditionTaskOutput{}) pulumi.RegisterOutputType(JobTaskConditionTaskPtrOutput{}) pulumi.RegisterOutputType(JobTaskDbtTaskOutput{}) @@ -84558,6 +83767,8 @@ func init() { pulumi.RegisterOutputType(JobTaskForEachTaskPtrOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskPtrOutput{}) + pulumi.RegisterOutputType(JobTaskForEachTaskTaskCleanRoomsNotebookTaskOutput{}) + pulumi.RegisterOutputType(JobTaskForEachTaskTaskCleanRoomsNotebookTaskPtrOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskConditionTaskOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskConditionTaskPtrOutput{}) pulumi.RegisterOutputType(JobTaskForEachTaskTaskDbtTaskOutput{}) @@ -85208,42 +84419,4 @@ func init() { pulumi.RegisterOutputType(VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArrayOutput{}) pulumi.RegisterOutputType(VectorSearchIndexStatusOutput{}) pulumi.RegisterOutputType(VectorSearchIndexStatusArrayOutput{}) - pulumi.RegisterOutputType(GetCatalogCatalogInfoOutput{}) - pulumi.RegisterOutputType(GetCatalogCatalogInfoPtrOutput{}) - pulumi.RegisterOutputType(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput{}) - pulumi.RegisterOutputType(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput{}) - pulumi.RegisterOutputType(GetCatalogCatalogInfoProvisioningInfoOutput{}) - pulumi.RegisterOutputType(GetCatalogCatalogInfoProvisioningInfoPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAutoscaleOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAutoscalePtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAwsAttributesOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAwsAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfDbfsOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfDbfsPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfS3Output{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfS3PtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogStatusOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogStatusPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDockerImageOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDockerImagePtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDockerImageBasicAuthOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDockerImageBasicAuthPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDriverOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDriverPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDriverNodeAwsAttributesOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoExecutorOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoExecutorArrayOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoExecutorNodeAwsAttributesOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoGcpAttributesOutput{}) - pulumi.RegisterOutputType(GetClusterClusterInfoGcpAttributesPtrOutput{}) } diff --git a/sdk/go/databricks/pulumiTypes1.go b/sdk/go/databricks/pulumiTypes1.go index e9a4027a..b158b720 100644 --- a/sdk/go/databricks/pulumiTypes1.go +++ b/sdk/go/databricks/pulumiTypes1.go @@ -13,7731 +13,15138 @@ import ( var _ = internal.GetEnvOrDefault -type GetClusterClusterInfoInitScript struct { - Abfss *GetClusterClusterInfoInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetClusterClusterInfoInitScriptDbfs `pulumi:"dbfs"` - File *GetClusterClusterInfoInitScriptFile `pulumi:"file"` - Gcs *GetClusterClusterInfoInitScriptGcs `pulumi:"gcs"` - S3 *GetClusterClusterInfoInitScriptS3 `pulumi:"s3"` - Volumes *GetClusterClusterInfoInitScriptVolumes `pulumi:"volumes"` - Workspace *GetClusterClusterInfoInitScriptWorkspace `pulumi:"workspace"` +type GetAppApp struct { + ActiveDeployment GetAppAppActiveDeployment `pulumi:"activeDeployment"` + // attribute + AppStatus GetAppAppAppStatus `pulumi:"appStatus"` + // attribute + ComputeStatus GetAppAppComputeStatus `pulumi:"computeStatus"` + // The creation time of the app. + CreateTime string `pulumi:"createTime"` + // The email of the user that created the app. + Creator string `pulumi:"creator"` + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath string `pulumi:"defaultSourceCodePath"` + // The description of the resource. + Description *string `pulumi:"description"` + // The name of the app. + Name string `pulumi:"name"` + PendingDeployment GetAppAppPendingDeployment `pulumi:"pendingDeployment"` + // A list of resources that the app have access to. + Resources []GetAppAppResource `pulumi:"resources"` + ServicePrincipalClientId string `pulumi:"servicePrincipalClientId"` + // id of the app service principal + ServicePrincipalId int `pulumi:"servicePrincipalId"` + // name of the app service principal + ServicePrincipalName string `pulumi:"servicePrincipalName"` + // The update time of the app. + UpdateTime string `pulumi:"updateTime"` + // The email of the user that last updated the app. + Updater string `pulumi:"updater"` + // The URL of the app once it is deployed. + Url string `pulumi:"url"` } -// GetClusterClusterInfoInitScriptInput is an input type that accepts GetClusterClusterInfoInitScriptArgs and GetClusterClusterInfoInitScriptOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptInput` via: +// GetAppAppInput is an input type that accepts GetAppAppArgs and GetAppAppOutput values. +// You can construct a concrete instance of `GetAppAppInput` via: // -// GetClusterClusterInfoInitScriptArgs{...} -type GetClusterClusterInfoInitScriptInput interface { +// GetAppAppArgs{...} +type GetAppAppInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput - ToGetClusterClusterInfoInitScriptOutputWithContext(context.Context) GetClusterClusterInfoInitScriptOutput + ToGetAppAppOutput() GetAppAppOutput + ToGetAppAppOutputWithContext(context.Context) GetAppAppOutput } -type GetClusterClusterInfoInitScriptArgs struct { - Abfss GetClusterClusterInfoInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetClusterClusterInfoInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetClusterClusterInfoInitScriptFilePtrInput `pulumi:"file"` - Gcs GetClusterClusterInfoInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetClusterClusterInfoInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetClusterClusterInfoInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetClusterClusterInfoInitScriptWorkspacePtrInput `pulumi:"workspace"` +type GetAppAppArgs struct { + ActiveDeployment GetAppAppActiveDeploymentInput `pulumi:"activeDeployment"` + // attribute + AppStatus GetAppAppAppStatusInput `pulumi:"appStatus"` + // attribute + ComputeStatus GetAppAppComputeStatusInput `pulumi:"computeStatus"` + // The creation time of the app. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringInput `pulumi:"creator"` + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath pulumi.StringInput `pulumi:"defaultSourceCodePath"` + // The description of the resource. + Description pulumi.StringPtrInput `pulumi:"description"` + // The name of the app. + Name pulumi.StringInput `pulumi:"name"` + PendingDeployment GetAppAppPendingDeploymentInput `pulumi:"pendingDeployment"` + // A list of resources that the app have access to. + Resources GetAppAppResourceArrayInput `pulumi:"resources"` + ServicePrincipalClientId pulumi.StringInput `pulumi:"servicePrincipalClientId"` + // id of the app service principal + ServicePrincipalId pulumi.IntInput `pulumi:"servicePrincipalId"` + // name of the app service principal + ServicePrincipalName pulumi.StringInput `pulumi:"servicePrincipalName"` + // The update time of the app. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` + // The email of the user that last updated the app. + Updater pulumi.StringInput `pulumi:"updater"` + // The URL of the app once it is deployed. + Url pulumi.StringInput `pulumi:"url"` } -func (GetClusterClusterInfoInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() +func (GetAppAppArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppApp)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { - return i.ToGetClusterClusterInfoInitScriptOutputWithContext(context.Background()) +func (i GetAppAppArgs) ToGetAppAppOutput() GetAppAppOutput { + return i.ToGetAppAppOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptOutput) +func (i GetAppAppArgs) ToGetAppAppOutputWithContext(ctx context.Context) GetAppAppOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppOutput) } -// GetClusterClusterInfoInitScriptArrayInput is an input type that accepts GetClusterClusterInfoInitScriptArray and GetClusterClusterInfoInitScriptArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptArrayInput` via: -// -// GetClusterClusterInfoInitScriptArray{ GetClusterClusterInfoInitScriptArgs{...} } -type GetClusterClusterInfoInitScriptArrayInput interface { - pulumi.Input +type GetAppAppOutput struct{ *pulumi.OutputState } - ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput - ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoInitScriptArrayOutput +func (GetAppAppOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppApp)(nil)).Elem() } -type GetClusterClusterInfoInitScriptArray []GetClusterClusterInfoInitScriptInput +func (o GetAppAppOutput) ToGetAppAppOutput() GetAppAppOutput { + return o +} -func (GetClusterClusterInfoInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +func (o GetAppAppOutput) ToGetAppAppOutputWithContext(ctx context.Context) GetAppAppOutput { + return o } -func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { - return i.ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Background()) +func (o GetAppAppOutput) ActiveDeployment() GetAppAppActiveDeploymentOutput { + return o.ApplyT(func(v GetAppApp) GetAppAppActiveDeployment { return v.ActiveDeployment }).(GetAppAppActiveDeploymentOutput) } -func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptArrayOutput) +// attribute +func (o GetAppAppOutput) AppStatus() GetAppAppAppStatusOutput { + return o.ApplyT(func(v GetAppApp) GetAppAppAppStatus { return v.AppStatus }).(GetAppAppAppStatusOutput) } -type GetClusterClusterInfoInitScriptOutput struct{ *pulumi.OutputState } +// attribute +func (o GetAppAppOutput) ComputeStatus() GetAppAppComputeStatusOutput { + return o.ApplyT(func(v GetAppApp) GetAppAppComputeStatus { return v.ComputeStatus }).(GetAppAppComputeStatusOutput) +} -func (GetClusterClusterInfoInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() +// The creation time of the app. +func (o GetAppAppOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.CreateTime }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { - return o +// The email of the user that created the app. +func (o GetAppAppOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.Creator }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { - return o +// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. +func (o GetAppAppOutput) DefaultSourceCodePath() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.DefaultSourceCodePath }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Abfss() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +// The description of the resource. +func (o GetAppAppOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppApp) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Dbfs() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +// The name of the app. +func (o GetAppAppOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptOutput) File() GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptFile { return v.File }).(GetClusterClusterInfoInitScriptFilePtrOutput) +func (o GetAppAppOutput) PendingDeployment() GetAppAppPendingDeploymentOutput { + return o.ApplyT(func(v GetAppApp) GetAppAppPendingDeployment { return v.PendingDeployment }).(GetAppAppPendingDeploymentOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Gcs() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoInitScriptGcsPtrOutput) +// A list of resources that the app have access to. +func (o GetAppAppOutput) Resources() GetAppAppResourceArrayOutput { + return o.ApplyT(func(v GetAppApp) []GetAppAppResource { return v.Resources }).(GetAppAppResourceArrayOutput) } -func (o GetClusterClusterInfoInitScriptOutput) S3() GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptS3 { return v.S3 }).(GetClusterClusterInfoInitScriptS3PtrOutput) +func (o GetAppAppOutput) ServicePrincipalClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.ServicePrincipalClientId }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Volumes() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptVolumes { return v.Volumes }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +// id of the app service principal +func (o GetAppAppOutput) ServicePrincipalId() pulumi.IntOutput { + return o.ApplyT(func(v GetAppApp) int { return v.ServicePrincipalId }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoInitScriptOutput) Workspace() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptWorkspace { return v.Workspace }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +// name of the app service principal +func (o GetAppAppOutput) ServicePrincipalName() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.ServicePrincipalName }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptArrayOutput struct{ *pulumi.OutputState } +// The update time of the app. +func (o GetAppAppOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.UpdateTime }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() +// The email of the user that last updated the app. +func (o GetAppAppOutput) Updater() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.Updater }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { - return o +// The URL of the app once it is deployed. +func (o GetAppAppOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetAppApp) string { return v.Url }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { +type GetAppAppActiveDeployment struct { + // The creation time of the app. + CreateTime string `pulumi:"createTime"` + // The email of the user that created the app. + Creator string `pulumi:"creator"` + DeploymentArtifacts GetAppAppActiveDeploymentDeploymentArtifacts `pulumi:"deploymentArtifacts"` + DeploymentId *string `pulumi:"deploymentId"` + Mode *string `pulumi:"mode"` + SourceCodePath *string `pulumi:"sourceCodePath"` + Status GetAppAppActiveDeploymentStatus `pulumi:"status"` + // The update time of the app. + UpdateTime string `pulumi:"updateTime"` +} + +// GetAppAppActiveDeploymentInput is an input type that accepts GetAppAppActiveDeploymentArgs and GetAppAppActiveDeploymentOutput values. +// You can construct a concrete instance of `GetAppAppActiveDeploymentInput` via: +// +// GetAppAppActiveDeploymentArgs{...} +type GetAppAppActiveDeploymentInput interface { + pulumi.Input + + ToGetAppAppActiveDeploymentOutput() GetAppAppActiveDeploymentOutput + ToGetAppAppActiveDeploymentOutputWithContext(context.Context) GetAppAppActiveDeploymentOutput +} + +type GetAppAppActiveDeploymentArgs struct { + // The creation time of the app. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringInput `pulumi:"creator"` + DeploymentArtifacts GetAppAppActiveDeploymentDeploymentArtifactsInput `pulumi:"deploymentArtifacts"` + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` + Status GetAppAppActiveDeploymentStatusInput `pulumi:"status"` + // The update time of the app. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` +} + +func (GetAppAppActiveDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppActiveDeployment)(nil)).Elem() +} + +func (i GetAppAppActiveDeploymentArgs) ToGetAppAppActiveDeploymentOutput() GetAppAppActiveDeploymentOutput { + return i.ToGetAppAppActiveDeploymentOutputWithContext(context.Background()) +} + +func (i GetAppAppActiveDeploymentArgs) ToGetAppAppActiveDeploymentOutputWithContext(ctx context.Context) GetAppAppActiveDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppActiveDeploymentOutput) +} + +type GetAppAppActiveDeploymentOutput struct{ *pulumi.OutputState } + +func (GetAppAppActiveDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppActiveDeployment)(nil)).Elem() +} + +func (o GetAppAppActiveDeploymentOutput) ToGetAppAppActiveDeploymentOutput() GetAppAppActiveDeploymentOutput { return o } -func (o GetClusterClusterInfoInitScriptArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoInitScript { - return vs[0].([]GetClusterClusterInfoInitScript)[vs[1].(int)] - }).(GetClusterClusterInfoInitScriptOutput) +func (o GetAppAppActiveDeploymentOutput) ToGetAppAppActiveDeploymentOutputWithContext(ctx context.Context) GetAppAppActiveDeploymentOutput { + return o } -type GetClusterClusterInfoInitScriptAbfss struct { - Destination string `pulumi:"destination"` +// The creation time of the app. +func (o GetAppAppActiveDeploymentOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) string { return v.CreateTime }).(pulumi.StringOutput) } -// GetClusterClusterInfoInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs and GetClusterClusterInfoInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssInput` via: -// -// GetClusterClusterInfoInitScriptAbfssArgs{...} -type GetClusterClusterInfoInitScriptAbfssInput interface { - pulumi.Input +// The email of the user that created the app. +func (o GetAppAppActiveDeploymentOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) string { return v.Creator }).(pulumi.StringOutput) +} - ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput - ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssOutput +func (o GetAppAppActiveDeploymentOutput) DeploymentArtifacts() GetAppAppActiveDeploymentDeploymentArtifactsOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) GetAppAppActiveDeploymentDeploymentArtifacts { + return v.DeploymentArtifacts + }).(GetAppAppActiveDeploymentDeploymentArtifactsOutput) } -type GetClusterClusterInfoInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetAppAppActiveDeploymentOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) } -func (GetClusterClusterInfoInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (o GetAppAppActiveDeploymentOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Background()) +func (o GetAppAppActiveDeploymentOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput) +func (o GetAppAppActiveDeploymentOutput) Status() GetAppAppActiveDeploymentStatusOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) GetAppAppActiveDeploymentStatus { return v.Status }).(GetAppAppActiveDeploymentStatusOutput) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +// The update time of the app. +func (o GetAppAppActiveDeploymentOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppActiveDeployment) string { return v.UpdateTime }).(pulumi.StringOutput) } -func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput).ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx) +type GetAppAppActiveDeploymentDeploymentArtifacts struct { + SourceCodePath *string `pulumi:"sourceCodePath"` } -// GetClusterClusterInfoInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs, GetClusterClusterInfoInitScriptAbfssPtr and GetClusterClusterInfoInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssPtrInput` via: -// -// GetClusterClusterInfoInitScriptAbfssArgs{...} -// -// or: +// GetAppAppActiveDeploymentDeploymentArtifactsInput is an input type that accepts GetAppAppActiveDeploymentDeploymentArtifactsArgs and GetAppAppActiveDeploymentDeploymentArtifactsOutput values. +// You can construct a concrete instance of `GetAppAppActiveDeploymentDeploymentArtifactsInput` via: // -// nil -type GetClusterClusterInfoInitScriptAbfssPtrInput interface { +// GetAppAppActiveDeploymentDeploymentArtifactsArgs{...} +type GetAppAppActiveDeploymentDeploymentArtifactsInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput - ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput + ToGetAppAppActiveDeploymentDeploymentArtifactsOutput() GetAppAppActiveDeploymentDeploymentArtifactsOutput + ToGetAppAppActiveDeploymentDeploymentArtifactsOutputWithContext(context.Context) GetAppAppActiveDeploymentDeploymentArtifactsOutput } -type getClusterClusterInfoInitScriptAbfssPtrType GetClusterClusterInfoInitScriptAbfssArgs - -func GetClusterClusterInfoInitScriptAbfssPtr(v *GetClusterClusterInfoInitScriptAbfssArgs) GetClusterClusterInfoInitScriptAbfssPtrInput { - return (*getClusterClusterInfoInitScriptAbfssPtrType)(v) +type GetAppAppActiveDeploymentDeploymentArtifactsArgs struct { + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` } -func (*getClusterClusterInfoInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (GetAppAppActiveDeploymentDeploymentArtifactsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetAppAppActiveDeploymentDeploymentArtifactsArgs) ToGetAppAppActiveDeploymentDeploymentArtifactsOutput() GetAppAppActiveDeploymentDeploymentArtifactsOutput { + return i.ToGetAppAppActiveDeploymentDeploymentArtifactsOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +func (i GetAppAppActiveDeploymentDeploymentArtifactsArgs) ToGetAppAppActiveDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppAppActiveDeploymentDeploymentArtifactsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppActiveDeploymentDeploymentArtifactsOutput) } -type GetClusterClusterInfoInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetAppAppActiveDeploymentDeploymentArtifactsOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (GetAppAppActiveDeploymentDeploymentArtifactsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { +func (o GetAppAppActiveDeploymentDeploymentArtifactsOutput) ToGetAppAppActiveDeploymentDeploymentArtifactsOutput() GetAppAppActiveDeploymentDeploymentArtifactsOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { +func (o GetAppAppActiveDeploymentDeploymentArtifactsOutput) ToGetAppAppActiveDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppAppActiveDeploymentDeploymentArtifactsOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetAppAppActiveDeploymentDeploymentArtifactsOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppActiveDeploymentDeploymentArtifacts) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptAbfss) *GetClusterClusterInfoInitScriptAbfss { - return &v - }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) +type GetAppAppActiveDeploymentStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` } -func (o GetClusterClusterInfoInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +// GetAppAppActiveDeploymentStatusInput is an input type that accepts GetAppAppActiveDeploymentStatusArgs and GetAppAppActiveDeploymentStatusOutput values. +// You can construct a concrete instance of `GetAppAppActiveDeploymentStatusInput` via: +// +// GetAppAppActiveDeploymentStatusArgs{...} +type GetAppAppActiveDeploymentStatusInput interface { + pulumi.Input + + ToGetAppAppActiveDeploymentStatusOutput() GetAppAppActiveDeploymentStatusOutput + ToGetAppAppActiveDeploymentStatusOutputWithContext(context.Context) GetAppAppActiveDeploymentStatusOutput } -type GetClusterClusterInfoInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetAppAppActiveDeploymentStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` +} -func (GetClusterClusterInfoInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() +func (GetAppAppActiveDeploymentStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppActiveDeploymentStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { +func (i GetAppAppActiveDeploymentStatusArgs) ToGetAppAppActiveDeploymentStatusOutput() GetAppAppActiveDeploymentStatusOutput { + return i.ToGetAppAppActiveDeploymentStatusOutputWithContext(context.Background()) +} + +func (i GetAppAppActiveDeploymentStatusArgs) ToGetAppAppActiveDeploymentStatusOutputWithContext(ctx context.Context) GetAppAppActiveDeploymentStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppActiveDeploymentStatusOutput) +} + +type GetAppAppActiveDeploymentStatusOutput struct{ *pulumi.OutputState } + +func (GetAppAppActiveDeploymentStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppActiveDeploymentStatus)(nil)).Elem() +} + +func (o GetAppAppActiveDeploymentStatusOutput) ToGetAppAppActiveDeploymentStatusOutput() GetAppAppActiveDeploymentStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { +func (o GetAppAppActiveDeploymentStatusOutput) ToGetAppAppActiveDeploymentStatusOutputWithContext(ctx context.Context) GetAppAppActiveDeploymentStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoInitScriptAbfssOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) GetClusterClusterInfoInitScriptAbfss { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptAbfss - return ret - }).(GetClusterClusterInfoInitScriptAbfssOutput) +// Application status message +func (o GetAppAppActiveDeploymentStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppActiveDeploymentStatus) string { return v.Message }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +// State of the application. +func (o GetAppAppActiveDeploymentStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppActiveDeploymentStatus) string { return v.State }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type GetAppAppAppStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` } -// GetClusterClusterInfoInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs and GetClusterClusterInfoInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsInput` via: +// GetAppAppAppStatusInput is an input type that accepts GetAppAppAppStatusArgs and GetAppAppAppStatusOutput values. +// You can construct a concrete instance of `GetAppAppAppStatusInput` via: // -// GetClusterClusterInfoInitScriptDbfsArgs{...} -type GetClusterClusterInfoInitScriptDbfsInput interface { +// GetAppAppAppStatusArgs{...} +type GetAppAppAppStatusInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput - ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsOutput + ToGetAppAppAppStatusOutput() GetAppAppAppStatusOutput + ToGetAppAppAppStatusOutputWithContext(context.Context) GetAppAppAppStatusOutput } -type GetClusterClusterInfoInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetAppAppAppStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` } -func (GetClusterClusterInfoInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (GetAppAppAppStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppAppStatus)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Background()) +func (i GetAppAppAppStatusArgs) ToGetAppAppAppStatusOutput() GetAppAppAppStatusOutput { + return i.ToGetAppAppAppStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput) +func (i GetAppAppAppStatusArgs) ToGetAppAppAppStatusOutputWithContext(ctx context.Context) GetAppAppAppStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppAppStatusOutput) } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +type GetAppAppAppStatusOutput struct{ *pulumi.OutputState } + +func (GetAppAppAppStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppAppStatus)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput).ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx) +func (o GetAppAppAppStatusOutput) ToGetAppAppAppStatusOutput() GetAppAppAppStatusOutput { + return o } -// GetClusterClusterInfoInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs, GetClusterClusterInfoInitScriptDbfsPtr and GetClusterClusterInfoInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsPtrInput` via: -// -// GetClusterClusterInfoInitScriptDbfsArgs{...} -// -// or: +func (o GetAppAppAppStatusOutput) ToGetAppAppAppStatusOutputWithContext(ctx context.Context) GetAppAppAppStatusOutput { + return o +} + +// Application status message +func (o GetAppAppAppStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppAppStatus) string { return v.Message }).(pulumi.StringOutput) +} + +// State of the application. +func (o GetAppAppAppStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppAppStatus) string { return v.State }).(pulumi.StringOutput) +} + +type GetAppAppComputeStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` +} + +// GetAppAppComputeStatusInput is an input type that accepts GetAppAppComputeStatusArgs and GetAppAppComputeStatusOutput values. +// You can construct a concrete instance of `GetAppAppComputeStatusInput` via: // -// nil -type GetClusterClusterInfoInitScriptDbfsPtrInput interface { +// GetAppAppComputeStatusArgs{...} +type GetAppAppComputeStatusInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput - ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput + ToGetAppAppComputeStatusOutput() GetAppAppComputeStatusOutput + ToGetAppAppComputeStatusOutputWithContext(context.Context) GetAppAppComputeStatusOutput } -type getClusterClusterInfoInitScriptDbfsPtrType GetClusterClusterInfoInitScriptDbfsArgs - -func GetClusterClusterInfoInitScriptDbfsPtr(v *GetClusterClusterInfoInitScriptDbfsArgs) GetClusterClusterInfoInitScriptDbfsPtrInput { - return (*getClusterClusterInfoInitScriptDbfsPtrType)(v) +type GetAppAppComputeStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` } -func (*getClusterClusterInfoInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (GetAppAppComputeStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppComputeStatus)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetAppAppComputeStatusArgs) ToGetAppAppComputeStatusOutput() GetAppAppComputeStatusOutput { + return i.ToGetAppAppComputeStatusOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +func (i GetAppAppComputeStatusArgs) ToGetAppAppComputeStatusOutputWithContext(ctx context.Context) GetAppAppComputeStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppComputeStatusOutput) } -type GetClusterClusterInfoInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetAppAppComputeStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() +func (GetAppAppComputeStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppComputeStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { +func (o GetAppAppComputeStatusOutput) ToGetAppAppComputeStatusOutput() GetAppAppComputeStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { +func (o GetAppAppComputeStatusOutput) ToGetAppAppComputeStatusOutputWithContext(ctx context.Context) GetAppAppComputeStatusOutput { return o } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) +// Application status message +func (o GetAppAppComputeStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppComputeStatus) string { return v.Message }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptDbfs) *GetClusterClusterInfoInitScriptDbfs { - return &v - }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) +// State of the application. +func (o GetAppAppComputeStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppComputeStatus) string { return v.State }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +type GetAppAppPendingDeployment struct { + // The creation time of the app. + CreateTime string `pulumi:"createTime"` + // The email of the user that created the app. + Creator string `pulumi:"creator"` + DeploymentArtifacts GetAppAppPendingDeploymentDeploymentArtifacts `pulumi:"deploymentArtifacts"` + DeploymentId *string `pulumi:"deploymentId"` + Mode *string `pulumi:"mode"` + SourceCodePath *string `pulumi:"sourceCodePath"` + Status GetAppAppPendingDeploymentStatus `pulumi:"status"` + // The update time of the app. + UpdateTime string `pulumi:"updateTime"` } -type GetClusterClusterInfoInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +// GetAppAppPendingDeploymentInput is an input type that accepts GetAppAppPendingDeploymentArgs and GetAppAppPendingDeploymentOutput values. +// You can construct a concrete instance of `GetAppAppPendingDeploymentInput` via: +// +// GetAppAppPendingDeploymentArgs{...} +type GetAppAppPendingDeploymentInput interface { + pulumi.Input -func (GetClusterClusterInfoInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() + ToGetAppAppPendingDeploymentOutput() GetAppAppPendingDeploymentOutput + ToGetAppAppPendingDeploymentOutputWithContext(context.Context) GetAppAppPendingDeploymentOutput } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o +type GetAppAppPendingDeploymentArgs struct { + // The creation time of the app. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringInput `pulumi:"creator"` + DeploymentArtifacts GetAppAppPendingDeploymentDeploymentArtifactsInput `pulumi:"deploymentArtifacts"` + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` + Status GetAppAppPendingDeploymentStatusInput `pulumi:"status"` + // The update time of the app. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { - return o +func (GetAppAppPendingDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppPendingDeployment)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoInitScriptDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) GetClusterClusterInfoInitScriptDbfs { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptDbfs - return ret - }).(GetClusterClusterInfoInitScriptDbfsOutput) +func (i GetAppAppPendingDeploymentArgs) ToGetAppAppPendingDeploymentOutput() GetAppAppPendingDeploymentOutput { + return i.ToGetAppAppPendingDeploymentOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (i GetAppAppPendingDeploymentArgs) ToGetAppAppPendingDeploymentOutputWithContext(ctx context.Context) GetAppAppPendingDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppPendingDeploymentOutput) } -type GetClusterClusterInfoInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetAppAppPendingDeploymentOutput struct{ *pulumi.OutputState } + +func (GetAppAppPendingDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppPendingDeployment)(nil)).Elem() } -// GetClusterClusterInfoInitScriptFileInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs and GetClusterClusterInfoInitScriptFileOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFileInput` via: -// -// GetClusterClusterInfoInitScriptFileArgs{...} -type GetClusterClusterInfoInitScriptFileInput interface { - pulumi.Input +func (o GetAppAppPendingDeploymentOutput) ToGetAppAppPendingDeploymentOutput() GetAppAppPendingDeploymentOutput { + return o +} - ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput - ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFileOutput +func (o GetAppAppPendingDeploymentOutput) ToGetAppAppPendingDeploymentOutputWithContext(ctx context.Context) GetAppAppPendingDeploymentOutput { + return o } -type GetClusterClusterInfoInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +// The creation time of the app. +func (o GetAppAppPendingDeploymentOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) string { return v.CreateTime }).(pulumi.StringOutput) } -func (GetClusterClusterInfoInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() +// The email of the user that created the app. +func (o GetAppAppPendingDeploymentOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) string { return v.Creator }).(pulumi.StringOutput) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { - return i.ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Background()) +func (o GetAppAppPendingDeploymentOutput) DeploymentArtifacts() GetAppAppPendingDeploymentDeploymentArtifactsOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) GetAppAppPendingDeploymentDeploymentArtifacts { + return v.DeploymentArtifacts + }).(GetAppAppPendingDeploymentDeploymentArtifactsOutput) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput) +func (o GetAppAppPendingDeploymentOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetAppAppPendingDeploymentOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput).ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx) +func (o GetAppAppPendingDeploymentOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs, GetClusterClusterInfoInitScriptFilePtr and GetClusterClusterInfoInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFilePtrInput` via: -// -// GetClusterClusterInfoInitScriptFileArgs{...} -// -// or: +func (o GetAppAppPendingDeploymentOutput) Status() GetAppAppPendingDeploymentStatusOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) GetAppAppPendingDeploymentStatus { return v.Status }).(GetAppAppPendingDeploymentStatusOutput) +} + +// The update time of the app. +func (o GetAppAppPendingDeploymentOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppPendingDeployment) string { return v.UpdateTime }).(pulumi.StringOutput) +} + +type GetAppAppPendingDeploymentDeploymentArtifacts struct { + SourceCodePath *string `pulumi:"sourceCodePath"` +} + +// GetAppAppPendingDeploymentDeploymentArtifactsInput is an input type that accepts GetAppAppPendingDeploymentDeploymentArtifactsArgs and GetAppAppPendingDeploymentDeploymentArtifactsOutput values. +// You can construct a concrete instance of `GetAppAppPendingDeploymentDeploymentArtifactsInput` via: // -// nil -type GetClusterClusterInfoInitScriptFilePtrInput interface { +// GetAppAppPendingDeploymentDeploymentArtifactsArgs{...} +type GetAppAppPendingDeploymentDeploymentArtifactsInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput - ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFilePtrOutput + ToGetAppAppPendingDeploymentDeploymentArtifactsOutput() GetAppAppPendingDeploymentDeploymentArtifactsOutput + ToGetAppAppPendingDeploymentDeploymentArtifactsOutputWithContext(context.Context) GetAppAppPendingDeploymentDeploymentArtifactsOutput } -type getClusterClusterInfoInitScriptFilePtrType GetClusterClusterInfoInitScriptFileArgs - -func GetClusterClusterInfoInitScriptFilePtr(v *GetClusterClusterInfoInitScriptFileArgs) GetClusterClusterInfoInitScriptFilePtrInput { - return (*getClusterClusterInfoInitScriptFilePtrType)(v) +type GetAppAppPendingDeploymentDeploymentArtifactsArgs struct { + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` } -func (*getClusterClusterInfoInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (GetAppAppPendingDeploymentDeploymentArtifactsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetAppAppPendingDeploymentDeploymentArtifactsArgs) ToGetAppAppPendingDeploymentDeploymentArtifactsOutput() GetAppAppPendingDeploymentDeploymentArtifactsOutput { + return i.ToGetAppAppPendingDeploymentDeploymentArtifactsOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFilePtrOutput) +func (i GetAppAppPendingDeploymentDeploymentArtifactsArgs) ToGetAppAppPendingDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppAppPendingDeploymentDeploymentArtifactsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppPendingDeploymentDeploymentArtifactsOutput) } -type GetClusterClusterInfoInitScriptFileOutput struct{ *pulumi.OutputState } +type GetAppAppPendingDeploymentDeploymentArtifactsOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (GetAppAppPendingDeploymentDeploymentArtifactsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { +func (o GetAppAppPendingDeploymentDeploymentArtifactsOutput) ToGetAppAppPendingDeploymentDeploymentArtifactsOutput() GetAppAppPendingDeploymentDeploymentArtifactsOutput { return o } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { +func (o GetAppAppPendingDeploymentDeploymentArtifactsOutput) ToGetAppAppPendingDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppAppPendingDeploymentDeploymentArtifactsOutput { return o } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetAppAppPendingDeploymentDeploymentArtifactsOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppPendingDeploymentDeploymentArtifacts) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptFile) *GetClusterClusterInfoInitScriptFile { - return &v - }).(GetClusterClusterInfoInitScriptFilePtrOutput) +type GetAppAppPendingDeploymentStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` } -func (o GetClusterClusterInfoInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +// GetAppAppPendingDeploymentStatusInput is an input type that accepts GetAppAppPendingDeploymentStatusArgs and GetAppAppPendingDeploymentStatusOutput values. +// You can construct a concrete instance of `GetAppAppPendingDeploymentStatusInput` via: +// +// GetAppAppPendingDeploymentStatusArgs{...} +type GetAppAppPendingDeploymentStatusInput interface { + pulumi.Input + + ToGetAppAppPendingDeploymentStatusOutput() GetAppAppPendingDeploymentStatusOutput + ToGetAppAppPendingDeploymentStatusOutputWithContext(context.Context) GetAppAppPendingDeploymentStatusOutput } -type GetClusterClusterInfoInitScriptFilePtrOutput struct{ *pulumi.OutputState } +type GetAppAppPendingDeploymentStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` +} -func (GetClusterClusterInfoInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() +func (GetAppAppPendingDeploymentStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppPendingDeploymentStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { - return o +func (i GetAppAppPendingDeploymentStatusArgs) ToGetAppAppPendingDeploymentStatusOutput() GetAppAppPendingDeploymentStatusOutput { + return i.ToGetAppAppPendingDeploymentStatusOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { - return o +func (i GetAppAppPendingDeploymentStatusArgs) ToGetAppAppPendingDeploymentStatusOutputWithContext(ctx context.Context) GetAppAppPendingDeploymentStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppPendingDeploymentStatusOutput) } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) Elem() GetClusterClusterInfoInitScriptFileOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) GetClusterClusterInfoInitScriptFile { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptFile - return ret - }).(GetClusterClusterInfoInitScriptFileOutput) +type GetAppAppPendingDeploymentStatusOutput struct{ *pulumi.OutputState } + +func (GetAppAppPendingDeploymentStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppPendingDeploymentStatus)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetAppAppPendingDeploymentStatusOutput) ToGetAppAppPendingDeploymentStatusOutput() GetAppAppPendingDeploymentStatusOutput { + return o } -type GetClusterClusterInfoInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetAppAppPendingDeploymentStatusOutput) ToGetAppAppPendingDeploymentStatusOutputWithContext(ctx context.Context) GetAppAppPendingDeploymentStatusOutput { + return o } -// GetClusterClusterInfoInitScriptGcsInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs and GetClusterClusterInfoInitScriptGcsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsInput` via: -// -// GetClusterClusterInfoInitScriptGcsArgs{...} -type GetClusterClusterInfoInitScriptGcsInput interface { - pulumi.Input +// Application status message +func (o GetAppAppPendingDeploymentStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppPendingDeploymentStatus) string { return v.Message }).(pulumi.StringOutput) +} - ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput - ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsOutput +// State of the application. +func (o GetAppAppPendingDeploymentStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppPendingDeploymentStatus) string { return v.State }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetAppAppResource struct { + // The description of the resource. + Description *string `pulumi:"description"` + // attribute + Job *GetAppAppResourceJob `pulumi:"job"` + // The name of the app. + Name string `pulumi:"name"` + // attribute + Secret *GetAppAppResourceSecret `pulumi:"secret"` + // attribute + ServingEndpoint *GetAppAppResourceServingEndpoint `pulumi:"servingEndpoint"` + // attribute + SqlWarehouse *GetAppAppResourceSqlWarehouse `pulumi:"sqlWarehouse"` } -func (GetClusterClusterInfoInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +// GetAppAppResourceInput is an input type that accepts GetAppAppResourceArgs and GetAppAppResourceOutput values. +// You can construct a concrete instance of `GetAppAppResourceInput` via: +// +// GetAppAppResourceArgs{...} +type GetAppAppResourceInput interface { + pulumi.Input + + ToGetAppAppResourceOutput() GetAppAppResourceOutput + ToGetAppAppResourceOutputWithContext(context.Context) GetAppAppResourceOutput } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { - return i.ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Background()) +type GetAppAppResourceArgs struct { + // The description of the resource. + Description pulumi.StringPtrInput `pulumi:"description"` + // attribute + Job GetAppAppResourceJobPtrInput `pulumi:"job"` + // The name of the app. + Name pulumi.StringInput `pulumi:"name"` + // attribute + Secret GetAppAppResourceSecretPtrInput `pulumi:"secret"` + // attribute + ServingEndpoint GetAppAppResourceServingEndpointPtrInput `pulumi:"servingEndpoint"` + // attribute + SqlWarehouse GetAppAppResourceSqlWarehousePtrInput `pulumi:"sqlWarehouse"` } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput) +func (GetAppAppResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResource)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetAppAppResourceArgs) ToGetAppAppResourceOutput() GetAppAppResourceOutput { + return i.ToGetAppAppResourceOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput).ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx) +func (i GetAppAppResourceArgs) ToGetAppAppResourceOutputWithContext(ctx context.Context) GetAppAppResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceOutput) } -// GetClusterClusterInfoInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs, GetClusterClusterInfoInitScriptGcsPtr and GetClusterClusterInfoInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsPtrInput` via: -// -// GetClusterClusterInfoInitScriptGcsArgs{...} -// -// or: +// GetAppAppResourceArrayInput is an input type that accepts GetAppAppResourceArray and GetAppAppResourceArrayOutput values. +// You can construct a concrete instance of `GetAppAppResourceArrayInput` via: // -// nil -type GetClusterClusterInfoInitScriptGcsPtrInput interface { +// GetAppAppResourceArray{ GetAppAppResourceArgs{...} } +type GetAppAppResourceArrayInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput - ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput + ToGetAppAppResourceArrayOutput() GetAppAppResourceArrayOutput + ToGetAppAppResourceArrayOutputWithContext(context.Context) GetAppAppResourceArrayOutput } -type getClusterClusterInfoInitScriptGcsPtrType GetClusterClusterInfoInitScriptGcsArgs - -func GetClusterClusterInfoInitScriptGcsPtr(v *GetClusterClusterInfoInitScriptGcsArgs) GetClusterClusterInfoInitScriptGcsPtrInput { - return (*getClusterClusterInfoInitScriptGcsPtrType)(v) -} +type GetAppAppResourceArray []GetAppAppResourceInput -func (*getClusterClusterInfoInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (GetAppAppResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppAppResource)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetAppAppResourceArray) ToGetAppAppResourceArrayOutput() GetAppAppResourceArrayOutput { + return i.ToGetAppAppResourceArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsPtrOutput) +func (i GetAppAppResourceArray) ToGetAppAppResourceArrayOutputWithContext(ctx context.Context) GetAppAppResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceArrayOutput) } -type GetClusterClusterInfoInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetAppAppResourceOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +func (GetAppAppResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResource)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { +func (o GetAppAppResourceOutput) ToGetAppAppResourceOutput() GetAppAppResourceOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { +func (o GetAppAppResourceOutput) ToGetAppAppResourceOutputWithContext(ctx context.Context) GetAppAppResourceOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) +// The description of the resource. +func (o GetAppAppResourceOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppAppResource) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptGcs) *GetClusterClusterInfoInitScriptGcs { - return &v - }).(GetClusterClusterInfoInitScriptGcsPtrOutput) +// attribute +func (o GetAppAppResourceOutput) Job() GetAppAppResourceJobPtrOutput { + return o.ApplyT(func(v GetAppAppResource) *GetAppAppResourceJob { return v.Job }).(GetAppAppResourceJobPtrOutput) } -func (o GetClusterClusterInfoInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +// The name of the app. +func (o GetAppAppResourceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResource) string { return v.Name }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +// attribute +func (o GetAppAppResourceOutput) Secret() GetAppAppResourceSecretPtrOutput { + return o.ApplyT(func(v GetAppAppResource) *GetAppAppResourceSecret { return v.Secret }).(GetAppAppResourceSecretPtrOutput) +} -func (GetClusterClusterInfoInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() +// attribute +func (o GetAppAppResourceOutput) ServingEndpoint() GetAppAppResourceServingEndpointPtrOutput { + return o.ApplyT(func(v GetAppAppResource) *GetAppAppResourceServingEndpoint { return v.ServingEndpoint }).(GetAppAppResourceServingEndpointPtrOutput) } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { - return o +// attribute +func (o GetAppAppResourceOutput) SqlWarehouse() GetAppAppResourceSqlWarehousePtrOutput { + return o.ApplyT(func(v GetAppAppResource) *GetAppAppResourceSqlWarehouse { return v.SqlWarehouse }).(GetAppAppResourceSqlWarehousePtrOutput) } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { +type GetAppAppResourceArrayOutput struct{ *pulumi.OutputState } + +func (GetAppAppResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppAppResource)(nil)).Elem() +} + +func (o GetAppAppResourceArrayOutput) ToGetAppAppResourceArrayOutput() GetAppAppResourceArrayOutput { return o } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoInitScriptGcsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) GetClusterClusterInfoInitScriptGcs { - if v != nil { - return *v - } - var ret GetClusterClusterInfoInitScriptGcs - return ret - }).(GetClusterClusterInfoInitScriptGcsOutput) +func (o GetAppAppResourceArrayOutput) ToGetAppAppResourceArrayOutputWithContext(ctx context.Context) GetAppAppResourceArrayOutput { + return o } -func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetAppAppResourceArrayOutput) Index(i pulumi.IntInput) GetAppAppResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAppAppResource { + return vs[0].([]GetAppAppResource)[vs[1].(int)] + }).(GetAppAppResourceOutput) } -type GetClusterClusterInfoInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetAppAppResourceJob struct { + // Id of the job to grant permission on. + Id string `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` } -// GetClusterClusterInfoInitScriptS3Input is an input type that accepts GetClusterClusterInfoInitScriptS3Args and GetClusterClusterInfoInitScriptS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3Input` via: +// GetAppAppResourceJobInput is an input type that accepts GetAppAppResourceJobArgs and GetAppAppResourceJobOutput values. +// You can construct a concrete instance of `GetAppAppResourceJobInput` via: // -// GetClusterClusterInfoInitScriptS3Args{...} -type GetClusterClusterInfoInitScriptS3Input interface { +// GetAppAppResourceJobArgs{...} +type GetAppAppResourceJobInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output - ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3Output + ToGetAppAppResourceJobOutput() GetAppAppResourceJobOutput + ToGetAppAppResourceJobOutputWithContext(context.Context) GetAppAppResourceJobOutput } -type GetClusterClusterInfoInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetAppAppResourceJobArgs struct { + // Id of the job to grant permission on. + Id pulumi.StringInput `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (GetClusterClusterInfoInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (GetAppAppResourceJobArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceJob)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { - return i.ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Background()) +func (i GetAppAppResourceJobArgs) ToGetAppAppResourceJobOutput() GetAppAppResourceJobOutput { + return i.ToGetAppAppResourceJobOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output) +func (i GetAppAppResourceJobArgs) ToGetAppAppResourceJobOutputWithContext(ctx context.Context) GetAppAppResourceJobOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceJobOutput) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetAppAppResourceJobArgs) ToGetAppAppResourceJobPtrOutput() GetAppAppResourceJobPtrOutput { + return i.ToGetAppAppResourceJobPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output).ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx) +func (i GetAppAppResourceJobArgs) ToGetAppAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppAppResourceJobPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceJobOutput).ToGetAppAppResourceJobPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoInitScriptS3Args, GetClusterClusterInfoInitScriptS3Ptr and GetClusterClusterInfoInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3PtrInput` via: +// GetAppAppResourceJobPtrInput is an input type that accepts GetAppAppResourceJobArgs, GetAppAppResourceJobPtr and GetAppAppResourceJobPtrOutput values. +// You can construct a concrete instance of `GetAppAppResourceJobPtrInput` via: // -// GetClusterClusterInfoInitScriptS3Args{...} +// GetAppAppResourceJobArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptS3PtrInput interface { +type GetAppAppResourceJobPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput - ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3PtrOutput + ToGetAppAppResourceJobPtrOutput() GetAppAppResourceJobPtrOutput + ToGetAppAppResourceJobPtrOutputWithContext(context.Context) GetAppAppResourceJobPtrOutput } -type getClusterClusterInfoInitScriptS3PtrType GetClusterClusterInfoInitScriptS3Args +type getAppAppResourceJobPtrType GetAppAppResourceJobArgs -func GetClusterClusterInfoInitScriptS3Ptr(v *GetClusterClusterInfoInitScriptS3Args) GetClusterClusterInfoInitScriptS3PtrInput { - return (*getClusterClusterInfoInitScriptS3PtrType)(v) +func GetAppAppResourceJobPtr(v *GetAppAppResourceJobArgs) GetAppAppResourceJobPtrInput { + return (*getAppAppResourceJobPtrType)(v) } -func (*getClusterClusterInfoInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (*getAppAppResourceJobPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceJob)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getAppAppResourceJobPtrType) ToGetAppAppResourceJobPtrOutput() GetAppAppResourceJobPtrOutput { + return i.ToGetAppAppResourceJobPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3PtrOutput) +func (i *getAppAppResourceJobPtrType) ToGetAppAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppAppResourceJobPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceJobPtrOutput) } -type GetClusterClusterInfoInitScriptS3Output struct{ *pulumi.OutputState } +type GetAppAppResourceJobOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (GetAppAppResourceJobOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceJob)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { +func (o GetAppAppResourceJobOutput) ToGetAppAppResourceJobOutput() GetAppAppResourceJobOutput { return o } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { +func (o GetAppAppResourceJobOutput) ToGetAppAppResourceJobOutputWithContext(ctx context.Context) GetAppAppResourceJobOutput { return o } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetAppAppResourceJobOutput) ToGetAppAppResourceJobPtrOutput() GetAppAppResourceJobPtrOutput { + return o.ToGetAppAppResourceJobPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptS3) *GetClusterClusterInfoInitScriptS3 { +func (o GetAppAppResourceJobOutput) ToGetAppAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppAppResourceJobPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppAppResourceJob) *GetAppAppResourceJob { return &v - }).(GetClusterClusterInfoInitScriptS3PtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) + }).(GetAppAppResourceJobPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +// Id of the job to grant permission on. +func (o GetAppAppResourceJobOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceJob) string { return v.Id }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceJobOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceJob) string { return v.Permission }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetAppAppResourceJobPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +func (GetAppAppResourceJobPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceJob)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { +func (o GetAppAppResourceJobPtrOutput) ToGetAppAppResourceJobPtrOutput() GetAppAppResourceJobPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { +func (o GetAppAppResourceJobPtrOutput) ToGetAppAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppAppResourceJobPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Elem() GetClusterClusterInfoInitScriptS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) GetClusterClusterInfoInitScriptS3 { +func (o GetAppAppResourceJobPtrOutput) Elem() GetAppAppResourceJobOutput { + return o.ApplyT(func(v *GetAppAppResourceJob) GetAppAppResourceJob { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptS3 + var ret GetAppAppResourceJob return ret - }).(GetClusterClusterInfoInitScriptS3Output) + }).(GetAppAppResourceJobOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +// Id of the job to grant permission on. +func (o GetAppAppResourceJobPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceJob) *string { if v == nil { return nil } - return v.CannedAcl + return &v.Id }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceJobPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceJob) *string { if v == nil { return nil } - return &v.Destination + return &v.Permission }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +type GetAppAppResourceSecret struct { + // Key of the secret to grant permission on. + Key string `pulumi:"key"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` + // Scope of the secret to grant permission on. + Scope string `pulumi:"scope"` } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { - if v == nil { - return nil +// GetAppAppResourceSecretInput is an input type that accepts GetAppAppResourceSecretArgs and GetAppAppResourceSecretOutput values. +// You can construct a concrete instance of `GetAppAppResourceSecretInput` via: +// +// GetAppAppResourceSecretArgs{...} +type GetAppAppResourceSecretInput interface { + pulumi.Input + + ToGetAppAppResourceSecretOutput() GetAppAppResourceSecretOutput + ToGetAppAppResourceSecretOutputWithContext(context.Context) GetAppAppResourceSecretOutput +} + +type GetAppAppResourceSecretArgs struct { + // Key of the secret to grant permission on. + Key pulumi.StringInput `pulumi:"key"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` + // Scope of the secret to grant permission on. + Scope pulumi.StringInput `pulumi:"scope"` +} + +func (GetAppAppResourceSecretArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceSecret)(nil)).Elem() +} + +func (i GetAppAppResourceSecretArgs) ToGetAppAppResourceSecretOutput() GetAppAppResourceSecretOutput { + return i.ToGetAppAppResourceSecretOutputWithContext(context.Background()) +} + +func (i GetAppAppResourceSecretArgs) ToGetAppAppResourceSecretOutputWithContext(ctx context.Context) GetAppAppResourceSecretOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceSecretOutput) +} + +func (i GetAppAppResourceSecretArgs) ToGetAppAppResourceSecretPtrOutput() GetAppAppResourceSecretPtrOutput { + return i.ToGetAppAppResourceSecretPtrOutputWithContext(context.Background()) +} + +func (i GetAppAppResourceSecretArgs) ToGetAppAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppAppResourceSecretPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceSecretOutput).ToGetAppAppResourceSecretPtrOutputWithContext(ctx) +} + +// GetAppAppResourceSecretPtrInput is an input type that accepts GetAppAppResourceSecretArgs, GetAppAppResourceSecretPtr and GetAppAppResourceSecretPtrOutput values. +// You can construct a concrete instance of `GetAppAppResourceSecretPtrInput` via: +// +// GetAppAppResourceSecretArgs{...} +// +// or: +// +// nil +type GetAppAppResourceSecretPtrInput interface { + pulumi.Input + + ToGetAppAppResourceSecretPtrOutput() GetAppAppResourceSecretPtrOutput + ToGetAppAppResourceSecretPtrOutputWithContext(context.Context) GetAppAppResourceSecretPtrOutput +} + +type getAppAppResourceSecretPtrType GetAppAppResourceSecretArgs + +func GetAppAppResourceSecretPtr(v *GetAppAppResourceSecretArgs) GetAppAppResourceSecretPtrInput { + return (*getAppAppResourceSecretPtrType)(v) +} + +func (*getAppAppResourceSecretPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceSecret)(nil)).Elem() +} + +func (i *getAppAppResourceSecretPtrType) ToGetAppAppResourceSecretPtrOutput() GetAppAppResourceSecretPtrOutput { + return i.ToGetAppAppResourceSecretPtrOutputWithContext(context.Background()) +} + +func (i *getAppAppResourceSecretPtrType) ToGetAppAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppAppResourceSecretPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceSecretPtrOutput) +} + +type GetAppAppResourceSecretOutput struct{ *pulumi.OutputState } + +func (GetAppAppResourceSecretOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceSecret)(nil)).Elem() +} + +func (o GetAppAppResourceSecretOutput) ToGetAppAppResourceSecretOutput() GetAppAppResourceSecretOutput { + return o +} + +func (o GetAppAppResourceSecretOutput) ToGetAppAppResourceSecretOutputWithContext(ctx context.Context) GetAppAppResourceSecretOutput { + return o +} + +func (o GetAppAppResourceSecretOutput) ToGetAppAppResourceSecretPtrOutput() GetAppAppResourceSecretPtrOutput { + return o.ToGetAppAppResourceSecretPtrOutputWithContext(context.Background()) +} + +func (o GetAppAppResourceSecretOutput) ToGetAppAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppAppResourceSecretPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppAppResourceSecret) *GetAppAppResourceSecret { + return &v + }).(GetAppAppResourceSecretPtrOutput) +} + +// Key of the secret to grant permission on. +func (o GetAppAppResourceSecretOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceSecret) string { return v.Key }).(pulumi.StringOutput) +} + +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceSecretOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceSecret) string { return v.Permission }).(pulumi.StringOutput) +} + +// Scope of the secret to grant permission on. +func (o GetAppAppResourceSecretOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceSecret) string { return v.Scope }).(pulumi.StringOutput) +} + +type GetAppAppResourceSecretPtrOutput struct{ *pulumi.OutputState } + +func (GetAppAppResourceSecretPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceSecret)(nil)).Elem() +} + +func (o GetAppAppResourceSecretPtrOutput) ToGetAppAppResourceSecretPtrOutput() GetAppAppResourceSecretPtrOutput { + return o +} + +func (o GetAppAppResourceSecretPtrOutput) ToGetAppAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppAppResourceSecretPtrOutput { + return o +} + +func (o GetAppAppResourceSecretPtrOutput) Elem() GetAppAppResourceSecretOutput { + return o.ApplyT(func(v *GetAppAppResourceSecret) GetAppAppResourceSecret { + if v != nil { + return *v } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + var ret GetAppAppResourceSecret + return ret + }).(GetAppAppResourceSecretOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +// Key of the secret to grant permission on. +func (o GetAppAppResourceSecretPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceSecret) *string { if v == nil { return nil } - return v.Endpoint + return &v.Key }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceSecretPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceSecret) *string { if v == nil { return nil } - return v.KmsKey + return &v.Permission }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { +// Scope of the secret to grant permission on. +func (o GetAppAppResourceSecretPtrOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceSecret) *string { if v == nil { return nil } - return v.Region + return &v.Scope }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetAppAppResourceServingEndpoint struct { + // The name of the app. + Name string `pulumi:"name"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` } -// GetClusterClusterInfoInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs and GetClusterClusterInfoInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesInput` via: +// GetAppAppResourceServingEndpointInput is an input type that accepts GetAppAppResourceServingEndpointArgs and GetAppAppResourceServingEndpointOutput values. +// You can construct a concrete instance of `GetAppAppResourceServingEndpointInput` via: // -// GetClusterClusterInfoInitScriptVolumesArgs{...} -type GetClusterClusterInfoInitScriptVolumesInput interface { +// GetAppAppResourceServingEndpointArgs{...} +type GetAppAppResourceServingEndpointInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput - ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesOutput + ToGetAppAppResourceServingEndpointOutput() GetAppAppResourceServingEndpointOutput + ToGetAppAppResourceServingEndpointOutputWithContext(context.Context) GetAppAppResourceServingEndpointOutput } -type GetClusterClusterInfoInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetAppAppResourceServingEndpointArgs struct { + // The name of the app. + Name pulumi.StringInput `pulumi:"name"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (GetClusterClusterInfoInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (GetAppAppResourceServingEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceServingEndpoint)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Background()) +func (i GetAppAppResourceServingEndpointArgs) ToGetAppAppResourceServingEndpointOutput() GetAppAppResourceServingEndpointOutput { + return i.ToGetAppAppResourceServingEndpointOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput) +func (i GetAppAppResourceServingEndpointArgs) ToGetAppAppResourceServingEndpointOutputWithContext(ctx context.Context) GetAppAppResourceServingEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceServingEndpointOutput) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetAppAppResourceServingEndpointArgs) ToGetAppAppResourceServingEndpointPtrOutput() GetAppAppResourceServingEndpointPtrOutput { + return i.ToGetAppAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput).ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetAppAppResourceServingEndpointArgs) ToGetAppAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppAppResourceServingEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceServingEndpointOutput).ToGetAppAppResourceServingEndpointPtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs, GetClusterClusterInfoInitScriptVolumesPtr and GetClusterClusterInfoInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesPtrInput` via: +// GetAppAppResourceServingEndpointPtrInput is an input type that accepts GetAppAppResourceServingEndpointArgs, GetAppAppResourceServingEndpointPtr and GetAppAppResourceServingEndpointPtrOutput values. +// You can construct a concrete instance of `GetAppAppResourceServingEndpointPtrInput` via: // -// GetClusterClusterInfoInitScriptVolumesArgs{...} +// GetAppAppResourceServingEndpointArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptVolumesPtrInput interface { +type GetAppAppResourceServingEndpointPtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput - ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput + ToGetAppAppResourceServingEndpointPtrOutput() GetAppAppResourceServingEndpointPtrOutput + ToGetAppAppResourceServingEndpointPtrOutputWithContext(context.Context) GetAppAppResourceServingEndpointPtrOutput } -type getClusterClusterInfoInitScriptVolumesPtrType GetClusterClusterInfoInitScriptVolumesArgs +type getAppAppResourceServingEndpointPtrType GetAppAppResourceServingEndpointArgs -func GetClusterClusterInfoInitScriptVolumesPtr(v *GetClusterClusterInfoInitScriptVolumesArgs) GetClusterClusterInfoInitScriptVolumesPtrInput { - return (*getClusterClusterInfoInitScriptVolumesPtrType)(v) +func GetAppAppResourceServingEndpointPtr(v *GetAppAppResourceServingEndpointArgs) GetAppAppResourceServingEndpointPtrInput { + return (*getAppAppResourceServingEndpointPtrType)(v) } -func (*getClusterClusterInfoInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (*getAppAppResourceServingEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceServingEndpoint)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getAppAppResourceServingEndpointPtrType) ToGetAppAppResourceServingEndpointPtrOutput() GetAppAppResourceServingEndpointPtrOutput { + return i.ToGetAppAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesPtrOutput) +func (i *getAppAppResourceServingEndpointPtrType) ToGetAppAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppAppResourceServingEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceServingEndpointPtrOutput) } -type GetClusterClusterInfoInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetAppAppResourceServingEndpointOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +func (GetAppAppResourceServingEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceServingEndpoint)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { +func (o GetAppAppResourceServingEndpointOutput) ToGetAppAppResourceServingEndpointOutput() GetAppAppResourceServingEndpointOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { +func (o GetAppAppResourceServingEndpointOutput) ToGetAppAppResourceServingEndpointOutputWithContext(ctx context.Context) GetAppAppResourceServingEndpointOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetAppAppResourceServingEndpointOutput) ToGetAppAppResourceServingEndpointPtrOutput() GetAppAppResourceServingEndpointPtrOutput { + return o.ToGetAppAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptVolumes) *GetClusterClusterInfoInitScriptVolumes { +func (o GetAppAppResourceServingEndpointOutput) ToGetAppAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppAppResourceServingEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppAppResourceServingEndpoint) *GetAppAppResourceServingEndpoint { return &v - }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) + }).(GetAppAppResourceServingEndpointPtrOutput) } -func (o GetClusterClusterInfoInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +// The name of the app. +func (o GetAppAppResourceServingEndpointOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceServingEndpoint) string { return v.Name }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceServingEndpointOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceServingEndpoint) string { return v.Permission }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() +type GetAppAppResourceServingEndpointPtrOutput struct{ *pulumi.OutputState } + +func (GetAppAppResourceServingEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceServingEndpoint)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { +func (o GetAppAppResourceServingEndpointPtrOutput) ToGetAppAppResourceServingEndpointPtrOutput() GetAppAppResourceServingEndpointPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { +func (o GetAppAppResourceServingEndpointPtrOutput) ToGetAppAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppAppResourceServingEndpointPtrOutput { return o } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoInitScriptVolumesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) GetClusterClusterInfoInitScriptVolumes { +func (o GetAppAppResourceServingEndpointPtrOutput) Elem() GetAppAppResourceServingEndpointOutput { + return o.ApplyT(func(v *GetAppAppResourceServingEndpoint) GetAppAppResourceServingEndpoint { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptVolumes + var ret GetAppAppResourceServingEndpoint return ret - }).(GetClusterClusterInfoInitScriptVolumesOutput) + }).(GetAppAppResourceServingEndpointOutput) } -func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) *string { +// The name of the app. +func (o GetAppAppResourceServingEndpointPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceServingEndpoint) *string { if v == nil { return nil } - return &v.Destination + return &v.Name }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceServingEndpointPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceServingEndpoint) *string { + if v == nil { + return nil + } + return &v.Permission + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs and GetClusterClusterInfoInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspaceInput` via: +type GetAppAppResourceSqlWarehouse struct { + // Id of the job to grant permission on. + Id string `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` +} + +// GetAppAppResourceSqlWarehouseInput is an input type that accepts GetAppAppResourceSqlWarehouseArgs and GetAppAppResourceSqlWarehouseOutput values. +// You can construct a concrete instance of `GetAppAppResourceSqlWarehouseInput` via: // -// GetClusterClusterInfoInitScriptWorkspaceArgs{...} -type GetClusterClusterInfoInitScriptWorkspaceInput interface { +// GetAppAppResourceSqlWarehouseArgs{...} +type GetAppAppResourceSqlWarehouseInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput - ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput + ToGetAppAppResourceSqlWarehouseOutput() GetAppAppResourceSqlWarehouseOutput + ToGetAppAppResourceSqlWarehouseOutputWithContext(context.Context) GetAppAppResourceSqlWarehouseOutput } -type GetClusterClusterInfoInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetAppAppResourceSqlWarehouseArgs struct { + // Id of the job to grant permission on. + Id pulumi.StringInput `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (GetClusterClusterInfoInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (GetAppAppResourceSqlWarehouseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceSqlWarehouse)(nil)).Elem() } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetAppAppResourceSqlWarehouseArgs) ToGetAppAppResourceSqlWarehouseOutput() GetAppAppResourceSqlWarehouseOutput { + return i.ToGetAppAppResourceSqlWarehouseOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput) +func (i GetAppAppResourceSqlWarehouseArgs) ToGetAppAppResourceSqlWarehouseOutputWithContext(ctx context.Context) GetAppAppResourceSqlWarehouseOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceSqlWarehouseOutput) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetAppAppResourceSqlWarehouseArgs) ToGetAppAppResourceSqlWarehousePtrOutput() GetAppAppResourceSqlWarehousePtrOutput { + return i.ToGetAppAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput).ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetAppAppResourceSqlWarehouseArgs) ToGetAppAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppAppResourceSqlWarehousePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceSqlWarehouseOutput).ToGetAppAppResourceSqlWarehousePtrOutputWithContext(ctx) } -// GetClusterClusterInfoInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs, GetClusterClusterInfoInitScriptWorkspacePtr and GetClusterClusterInfoInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspacePtrInput` via: +// GetAppAppResourceSqlWarehousePtrInput is an input type that accepts GetAppAppResourceSqlWarehouseArgs, GetAppAppResourceSqlWarehousePtr and GetAppAppResourceSqlWarehousePtrOutput values. +// You can construct a concrete instance of `GetAppAppResourceSqlWarehousePtrInput` via: // -// GetClusterClusterInfoInitScriptWorkspaceArgs{...} +// GetAppAppResourceSqlWarehouseArgs{...} // // or: // // nil -type GetClusterClusterInfoInitScriptWorkspacePtrInput interface { +type GetAppAppResourceSqlWarehousePtrInput interface { pulumi.Input - ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput - ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput + ToGetAppAppResourceSqlWarehousePtrOutput() GetAppAppResourceSqlWarehousePtrOutput + ToGetAppAppResourceSqlWarehousePtrOutputWithContext(context.Context) GetAppAppResourceSqlWarehousePtrOutput } -type getClusterClusterInfoInitScriptWorkspacePtrType GetClusterClusterInfoInitScriptWorkspaceArgs +type getAppAppResourceSqlWarehousePtrType GetAppAppResourceSqlWarehouseArgs -func GetClusterClusterInfoInitScriptWorkspacePtr(v *GetClusterClusterInfoInitScriptWorkspaceArgs) GetClusterClusterInfoInitScriptWorkspacePtrInput { - return (*getClusterClusterInfoInitScriptWorkspacePtrType)(v) +func GetAppAppResourceSqlWarehousePtr(v *GetAppAppResourceSqlWarehouseArgs) GetAppAppResourceSqlWarehousePtrInput { + return (*getAppAppResourceSqlWarehousePtrType)(v) } -func (*getClusterClusterInfoInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (*getAppAppResourceSqlWarehousePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceSqlWarehouse)(nil)).Elem() } -func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getAppAppResourceSqlWarehousePtrType) ToGetAppAppResourceSqlWarehousePtrOutput() GetAppAppResourceSqlWarehousePtrOutput { + return i.ToGetAppAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) +func (i *getAppAppResourceSqlWarehousePtrType) ToGetAppAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppAppResourceSqlWarehousePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppAppResourceSqlWarehousePtrOutput) } -type GetClusterClusterInfoInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetAppAppResourceSqlWarehouseOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +func (GetAppAppResourceSqlWarehouseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppAppResourceSqlWarehouse)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { +func (o GetAppAppResourceSqlWarehouseOutput) ToGetAppAppResourceSqlWarehouseOutput() GetAppAppResourceSqlWarehouseOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { +func (o GetAppAppResourceSqlWarehouseOutput) ToGetAppAppResourceSqlWarehouseOutputWithContext(ctx context.Context) GetAppAppResourceSqlWarehouseOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetAppAppResourceSqlWarehouseOutput) ToGetAppAppResourceSqlWarehousePtrOutput() GetAppAppResourceSqlWarehousePtrOutput { + return o.ToGetAppAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptWorkspace) *GetClusterClusterInfoInitScriptWorkspace { +func (o GetAppAppResourceSqlWarehouseOutput) ToGetAppAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppAppResourceSqlWarehousePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppAppResourceSqlWarehouse) *GetAppAppResourceSqlWarehouse { return &v - }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) + }).(GetAppAppResourceSqlWarehousePtrOutput) } -func (o GetClusterClusterInfoInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +// Id of the job to grant permission on. +func (o GetAppAppResourceSqlWarehouseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceSqlWarehouse) string { return v.Id }).(pulumi.StringOutput) } -type GetClusterClusterInfoInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceSqlWarehouseOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppAppResourceSqlWarehouse) string { return v.Permission }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() +type GetAppAppResourceSqlWarehousePtrOutput struct{ *pulumi.OutputState } + +func (GetAppAppResourceSqlWarehousePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppAppResourceSqlWarehouse)(nil)).Elem() } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { +func (o GetAppAppResourceSqlWarehousePtrOutput) ToGetAppAppResourceSqlWarehousePtrOutput() GetAppAppResourceSqlWarehousePtrOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { +func (o GetAppAppResourceSqlWarehousePtrOutput) ToGetAppAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppAppResourceSqlWarehousePtrOutput { return o } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) GetClusterClusterInfoInitScriptWorkspace { +func (o GetAppAppResourceSqlWarehousePtrOutput) Elem() GetAppAppResourceSqlWarehouseOutput { + return o.ApplyT(func(v *GetAppAppResourceSqlWarehouse) GetAppAppResourceSqlWarehouse { if v != nil { return *v } - var ret GetClusterClusterInfoInitScriptWorkspace + var ret GetAppAppResourceSqlWarehouse return ret - }).(GetClusterClusterInfoInitScriptWorkspaceOutput) + }).(GetAppAppResourceSqlWarehouseOutput) } -func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) *string { +// Id of the job to grant permission on. +func (o GetAppAppResourceSqlWarehousePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceSqlWarehouse) *string { if v == nil { return nil } - return &v.Destination + return &v.Id }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpec struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetClusterClusterInfoSpecAutoscale `pulumi:"autoscale"` - AwsAttributes *GetClusterClusterInfoSpecAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetClusterClusterInfoSpecAzureAttributes `pulumi:"azureAttributes"` - // The id of the cluster - ClusterId string `pulumi:"clusterId"` - ClusterLogConf *GetClusterClusterInfoSpecClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetClusterClusterInfoSpecClusterMountInfo `pulumi:"clusterMountInfos"` - // The exact name of the cluster to search - ClusterName *string `pulumi:"clusterName"` - // Additional tags for cluster resources. - CustomTags map[string]string `pulumi:"customTags"` - // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetClusterClusterInfoSpecDockerImage `pulumi:"dockerImage"` - // similar to `instancePoolId`, but for driver node. - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - // The node type of the Spark driver. - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - // Use autoscaling local storage. - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - // Enable local disk encryption. - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetClusterClusterInfoSpecGcpAttributes `pulumi:"gcpAttributes"` - // An optional token to guarantee the idempotency of cluster creation requests. - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetClusterClusterInfoSpecInitScript `pulumi:"initScripts"` - // The pool of idle instances the cluster is attached to. - InstancePoolId *string `pulumi:"instancePoolId"` - Libraries []GetClusterClusterInfoSpecLibrary `pulumi:"libraries"` - // Any supported getNodeType id. - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers *int `pulumi:"numWorkers"` - // Identifier of Cluster Policy to validate cluster and preset certain defaults. - PolicyId *string `pulumi:"policyId"` - // The type of runtime of the cluster - RuntimeEngine *string `pulumi:"runtimeEngine"` - // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - SingleUserName *string `pulumi:"singleUserName"` - // Map with key-value pairs to fine-tune Spark clusters. - SparkConf map[string]string `pulumi:"sparkConf"` - // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - SparkVersion string `pulumi:"sparkVersion"` - // SSH public key contents that will be added to each Spark node in this cluster. - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetClusterClusterInfoSpecWorkloadType `pulumi:"workloadType"` +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppAppResourceSqlWarehousePtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppAppResourceSqlWarehouse) *string { + if v == nil { + return nil + } + return &v.Permission + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecInput is an input type that accepts GetClusterClusterInfoSpecArgs and GetClusterClusterInfoSpecOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInput` via: -// -// GetClusterClusterInfoSpecArgs{...} -type GetClusterClusterInfoSpecInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecOutput() GetClusterClusterInfoSpecOutput - ToGetClusterClusterInfoSpecOutputWithContext(context.Context) GetClusterClusterInfoSpecOutput +type GetAppsApp struct { + ActiveDeployment GetAppsAppActiveDeployment `pulumi:"activeDeployment"` + // attribute + AppStatus GetAppsAppAppStatus `pulumi:"appStatus"` + // attribute + ComputeStatus GetAppsAppComputeStatus `pulumi:"computeStatus"` + // The creation time of the app. + CreateTime string `pulumi:"createTime"` + // The email of the user that created the app. + Creator string `pulumi:"creator"` + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath string `pulumi:"defaultSourceCodePath"` + // The description of the resource. + Description *string `pulumi:"description"` + // Name of the serving endpoint to grant permission on. + Name string `pulumi:"name"` + PendingDeployment GetAppsAppPendingDeployment `pulumi:"pendingDeployment"` + // A list of resources that the app have access to. + Resources []GetAppsAppResource `pulumi:"resources"` + ServicePrincipalClientId string `pulumi:"servicePrincipalClientId"` + // id of the app service principal + ServicePrincipalId int `pulumi:"servicePrincipalId"` + // name of the app service principal + ServicePrincipalName string `pulumi:"servicePrincipalName"` + // The update time of the app. + UpdateTime string `pulumi:"updateTime"` + // The email of the user that last updated the app. + Updater string `pulumi:"updater"` + // The URL of the app once it is deployed. + Url string `pulumi:"url"` } -type GetClusterClusterInfoSpecArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetClusterClusterInfoSpecAutoscalePtrInput `pulumi:"autoscale"` - AwsAttributes GetClusterClusterInfoSpecAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetClusterClusterInfoSpecAzureAttributesPtrInput `pulumi:"azureAttributes"` - // The id of the cluster - ClusterId pulumi.StringInput `pulumi:"clusterId"` - ClusterLogConf GetClusterClusterInfoSpecClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetClusterClusterInfoSpecClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - // The exact name of the cluster to search - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - // Additional tags for cluster resources. - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetClusterClusterInfoSpecDockerImagePtrInput `pulumi:"dockerImage"` - // similar to `instancePoolId`, but for driver node. - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - // The node type of the Spark driver. - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - // Use autoscaling local storage. - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - // Enable local disk encryption. - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetClusterClusterInfoSpecGcpAttributesPtrInput `pulumi:"gcpAttributes"` - // An optional token to guarantee the idempotency of cluster creation requests. - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetClusterClusterInfoSpecInitScriptArrayInput `pulumi:"initScripts"` - // The pool of idle instances the cluster is attached to. - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - Libraries GetClusterClusterInfoSpecLibraryArrayInput `pulumi:"libraries"` - // Any supported getNodeType id. - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` - // Identifier of Cluster Policy to validate cluster and preset certain defaults. - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - // The type of runtime of the cluster - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - // Map with key-value pairs to fine-tune Spark clusters. - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - // SSH public key contents that will be added to each Spark node in this cluster. - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetClusterClusterInfoSpecWorkloadTypePtrInput `pulumi:"workloadType"` -} +// GetAppsAppInput is an input type that accepts GetAppsAppArgs and GetAppsAppOutput values. +// You can construct a concrete instance of `GetAppsAppInput` via: +// +// GetAppsAppArgs{...} +type GetAppsAppInput interface { + pulumi.Input -func (GetClusterClusterInfoSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpec)(nil)).Elem() + ToGetAppsAppOutput() GetAppsAppOutput + ToGetAppsAppOutputWithContext(context.Context) GetAppsAppOutput } -func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecOutput() GetClusterClusterInfoSpecOutput { - return i.ToGetClusterClusterInfoSpecOutputWithContext(context.Background()) +type GetAppsAppArgs struct { + ActiveDeployment GetAppsAppActiveDeploymentInput `pulumi:"activeDeployment"` + // attribute + AppStatus GetAppsAppAppStatusInput `pulumi:"appStatus"` + // attribute + ComputeStatus GetAppsAppComputeStatusInput `pulumi:"computeStatus"` + // The creation time of the app. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringInput `pulumi:"creator"` + // The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + DefaultSourceCodePath pulumi.StringInput `pulumi:"defaultSourceCodePath"` + // The description of the resource. + Description pulumi.StringPtrInput `pulumi:"description"` + // Name of the serving endpoint to grant permission on. + Name pulumi.StringInput `pulumi:"name"` + PendingDeployment GetAppsAppPendingDeploymentInput `pulumi:"pendingDeployment"` + // A list of resources that the app have access to. + Resources GetAppsAppResourceArrayInput `pulumi:"resources"` + ServicePrincipalClientId pulumi.StringInput `pulumi:"servicePrincipalClientId"` + // id of the app service principal + ServicePrincipalId pulumi.IntInput `pulumi:"servicePrincipalId"` + // name of the app service principal + ServicePrincipalName pulumi.StringInput `pulumi:"servicePrincipalName"` + // The update time of the app. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` + // The email of the user that last updated the app. + Updater pulumi.StringInput `pulumi:"updater"` + // The URL of the app once it is deployed. + Url pulumi.StringInput `pulumi:"url"` } -func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecOutput) +func (GetAppsAppArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsApp)(nil)).Elem() } -func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { - return i.ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Background()) +func (i GetAppsAppArgs) ToGetAppsAppOutput() GetAppsAppOutput { + return i.ToGetAppsAppOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecOutput).ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx) +func (i GetAppsAppArgs) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppOutput) } -// GetClusterClusterInfoSpecPtrInput is an input type that accepts GetClusterClusterInfoSpecArgs, GetClusterClusterInfoSpecPtr and GetClusterClusterInfoSpecPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecPtrInput` via: -// -// GetClusterClusterInfoSpecArgs{...} -// -// or: +// GetAppsAppArrayInput is an input type that accepts GetAppsAppArray and GetAppsAppArrayOutput values. +// You can construct a concrete instance of `GetAppsAppArrayInput` via: // -// nil -type GetClusterClusterInfoSpecPtrInput interface { +// GetAppsAppArray{ GetAppsAppArgs{...} } +type GetAppsAppArrayInput interface { pulumi.Input - ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput - ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecPtrOutput + ToGetAppsAppArrayOutput() GetAppsAppArrayOutput + ToGetAppsAppArrayOutputWithContext(context.Context) GetAppsAppArrayOutput } -type getClusterClusterInfoSpecPtrType GetClusterClusterInfoSpecArgs - -func GetClusterClusterInfoSpecPtr(v *GetClusterClusterInfoSpecArgs) GetClusterClusterInfoSpecPtrInput { - return (*getClusterClusterInfoSpecPtrType)(v) -} +type GetAppsAppArray []GetAppsAppInput -func (*getClusterClusterInfoSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpec)(nil)).Elem() +func (GetAppsAppArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppsApp)(nil)).Elem() } -func (i *getClusterClusterInfoSpecPtrType) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { - return i.ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Background()) +func (i GetAppsAppArray) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput { + return i.ToGetAppsAppArrayOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecPtrType) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecPtrOutput) +func (i GetAppsAppArray) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppArrayOutput) } -type GetClusterClusterInfoSpecOutput struct{ *pulumi.OutputState } +type GetAppsAppOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpec)(nil)).Elem() +func (GetAppsAppOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsApp)(nil)).Elem() } -func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecOutput() GetClusterClusterInfoSpecOutput { +func (o GetAppsAppOutput) ToGetAppsAppOutput() GetAppsAppOutput { return o } -func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecOutput { +func (o GetAppsAppOutput) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput { return o } -func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { - return o.ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Background()) +func (o GetAppsAppOutput) ActiveDeployment() GetAppsAppActiveDeploymentOutput { + return o.ApplyT(func(v GetAppsApp) GetAppsAppActiveDeployment { return v.ActiveDeployment }).(GetAppsAppActiveDeploymentOutput) } -func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpec { - return &v - }).(GetClusterClusterInfoSpecPtrOutput) +// attribute +func (o GetAppsAppOutput) AppStatus() GetAppsAppAppStatusOutput { + return o.ApplyT(func(v GetAppsApp) GetAppsAppAppStatus { return v.AppStatus }).(GetAppsAppAppStatusOutput) } -func (o GetClusterClusterInfoSpecOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +// attribute +func (o GetAppsAppOutput) ComputeStatus() GetAppsAppComputeStatusOutput { + return o.ApplyT(func(v GetAppsApp) GetAppsAppComputeStatus { return v.ComputeStatus }).(GetAppsAppComputeStatusOutput) } -func (o GetClusterClusterInfoSpecOutput) Autoscale() GetClusterClusterInfoSpecAutoscalePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAutoscale { return v.Autoscale }).(GetClusterClusterInfoSpecAutoscalePtrOutput) +// The creation time of the app. +func (o GetAppsAppOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.CreateTime }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecOutput) AwsAttributes() GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +// The email of the user that created the app. +func (o GetAppsAppOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Creator }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecOutput) AzureAttributes() GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +// The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. +func (o GetAppsAppOutput) DefaultSourceCodePath() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.DefaultSourceCodePath }).(pulumi.StringOutput) } -// The id of the cluster -func (o GetClusterClusterInfoSpecOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.ClusterId }).(pulumi.StringOutput) +// The description of the resource. +func (o GetAppsAppOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsApp) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecOutput) ClusterLogConf() GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +// Name of the serving endpoint to grant permission on. +func (o GetAppsAppOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecOutput) ClusterMountInfos() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecClusterMountInfo { - return v.ClusterMountInfos - }).(GetClusterClusterInfoSpecClusterMountInfoArrayOutput) +func (o GetAppsAppOutput) PendingDeployment() GetAppsAppPendingDeploymentOutput { + return o.ApplyT(func(v GetAppsApp) GetAppsAppPendingDeployment { return v.PendingDeployment }).(GetAppsAppPendingDeploymentOutput) } -// The exact name of the cluster to search -func (o GetClusterClusterInfoSpecOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +// A list of resources that the app have access to. +func (o GetAppsAppOutput) Resources() GetAppsAppResourceArrayOutput { + return o.ApplyT(func(v GetAppsApp) []GetAppsAppResource { return v.Resources }).(GetAppsAppResourceArrayOutput) } -// Additional tags for cluster resources. -func (o GetClusterClusterInfoSpecOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (o GetAppsAppOutput) ServicePrincipalClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.ServicePrincipalClientId }).(pulumi.StringOutput) } -// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. -func (o GetClusterClusterInfoSpecOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +// id of the app service principal +func (o GetAppsAppOutput) ServicePrincipalId() pulumi.IntOutput { + return o.ApplyT(func(v GetAppsApp) int { return v.ServicePrincipalId }).(pulumi.IntOutput) } -func (o GetClusterClusterInfoSpecOutput) DockerImage() GetClusterClusterInfoSpecDockerImagePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecDockerImage { return v.DockerImage }).(GetClusterClusterInfoSpecDockerImagePtrOutput) +// name of the app service principal +func (o GetAppsAppOutput) ServicePrincipalName() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.ServicePrincipalName }).(pulumi.StringOutput) } -// similar to `instancePoolId`, but for driver node. -func (o GetClusterClusterInfoSpecOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +// The update time of the app. +func (o GetAppsAppOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.UpdateTime }).(pulumi.StringOutput) } -// The node type of the Spark driver. -func (o GetClusterClusterInfoSpecOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +// The email of the user that last updated the app. +func (o GetAppsAppOutput) Updater() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Updater }).(pulumi.StringOutput) } -// Use autoscaling local storage. -func (o GetClusterClusterInfoSpecOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +// The URL of the app once it is deployed. +func (o GetAppsAppOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Url }).(pulumi.StringOutput) } -// Enable local disk encryption. -func (o GetClusterClusterInfoSpecOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +type GetAppsAppArrayOutput struct{ *pulumi.OutputState } + +func (GetAppsAppArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppsApp)(nil)).Elem() } -func (o GetClusterClusterInfoSpecOutput) GcpAttributes() GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput { + return o } -// An optional token to guarantee the idempotency of cluster creation requests. -func (o GetClusterClusterInfoSpecOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput { + return o } -func (o GetClusterClusterInfoSpecOutput) InitScripts() GetClusterClusterInfoSpecInitScriptArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecInitScript { return v.InitScripts }).(GetClusterClusterInfoSpecInitScriptArrayOutput) +func (o GetAppsAppArrayOutput) Index(i pulumi.IntInput) GetAppsAppOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAppsApp { + return vs[0].([]GetAppsApp)[vs[1].(int)] + }).(GetAppsAppOutput) } -// The pool of idle instances the cluster is attached to. -func (o GetClusterClusterInfoSpecOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +type GetAppsAppActiveDeployment struct { + // The creation time of the app. + CreateTime string `pulumi:"createTime"` + // The email of the user that created the app. + Creator string `pulumi:"creator"` + DeploymentArtifacts GetAppsAppActiveDeploymentDeploymentArtifacts `pulumi:"deploymentArtifacts"` + DeploymentId *string `pulumi:"deploymentId"` + Mode *string `pulumi:"mode"` + SourceCodePath *string `pulumi:"sourceCodePath"` + Status GetAppsAppActiveDeploymentStatus `pulumi:"status"` + // The update time of the app. + UpdateTime string `pulumi:"updateTime"` } -func (o GetClusterClusterInfoSpecOutput) Libraries() GetClusterClusterInfoSpecLibraryArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecLibrary { return v.Libraries }).(GetClusterClusterInfoSpecLibraryArrayOutput) +// GetAppsAppActiveDeploymentInput is an input type that accepts GetAppsAppActiveDeploymentArgs and GetAppsAppActiveDeploymentOutput values. +// You can construct a concrete instance of `GetAppsAppActiveDeploymentInput` via: +// +// GetAppsAppActiveDeploymentArgs{...} +type GetAppsAppActiveDeploymentInput interface { + pulumi.Input + + ToGetAppsAppActiveDeploymentOutput() GetAppsAppActiveDeploymentOutput + ToGetAppsAppActiveDeploymentOutputWithContext(context.Context) GetAppsAppActiveDeploymentOutput } -// Any supported getNodeType id. -func (o GetClusterClusterInfoSpecOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.NodeTypeId }).(pulumi.StringOutput) +type GetAppsAppActiveDeploymentArgs struct { + // The creation time of the app. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringInput `pulumi:"creator"` + DeploymentArtifacts GetAppsAppActiveDeploymentDeploymentArtifactsInput `pulumi:"deploymentArtifacts"` + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` + Status GetAppsAppActiveDeploymentStatusInput `pulumi:"status"` + // The update time of the app. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` } -func (o GetClusterClusterInfoSpecOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +func (GetAppsAppActiveDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppActiveDeployment)(nil)).Elem() } -// Identifier of Cluster Policy to validate cluster and preset certain defaults. -func (o GetClusterClusterInfoSpecOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i GetAppsAppActiveDeploymentArgs) ToGetAppsAppActiveDeploymentOutput() GetAppsAppActiveDeploymentOutput { + return i.ToGetAppsAppActiveDeploymentOutputWithContext(context.Background()) } -// The type of runtime of the cluster -func (o GetClusterClusterInfoSpecOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (i GetAppsAppActiveDeploymentArgs) ToGetAppsAppActiveDeploymentOutputWithContext(ctx context.Context) GetAppsAppActiveDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppActiveDeploymentOutput) } -// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). -func (o GetClusterClusterInfoSpecOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +type GetAppsAppActiveDeploymentOutput struct{ *pulumi.OutputState } + +func (GetAppsAppActiveDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppActiveDeployment)(nil)).Elem() } -// Map with key-value pairs to fine-tune Spark clusters. -func (o GetClusterClusterInfoSpecOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o GetAppsAppActiveDeploymentOutput) ToGetAppsAppActiveDeploymentOutput() GetAppsAppActiveDeploymentOutput { + return o } -// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. -func (o GetClusterClusterInfoSpecOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o GetAppsAppActiveDeploymentOutput) ToGetAppsAppActiveDeploymentOutputWithContext(ctx context.Context) GetAppsAppActiveDeploymentOutput { + return o } -// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. -func (o GetClusterClusterInfoSpecOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.SparkVersion }).(pulumi.StringOutput) +// The creation time of the app. +func (o GetAppsAppActiveDeploymentOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) string { return v.CreateTime }).(pulumi.StringOutput) } -// SSH public key contents that will be added to each Spark node in this cluster. -func (o GetClusterClusterInfoSpecOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +// The email of the user that created the app. +func (o GetAppsAppActiveDeploymentOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) string { return v.Creator }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecOutput) WorkloadType() GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecWorkloadType { return v.WorkloadType }).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +func (o GetAppsAppActiveDeploymentOutput) DeploymentArtifacts() GetAppsAppActiveDeploymentDeploymentArtifactsOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) GetAppsAppActiveDeploymentDeploymentArtifacts { + return v.DeploymentArtifacts + }).(GetAppsAppActiveDeploymentDeploymentArtifactsOutput) } -type GetClusterClusterInfoSpecPtrOutput struct{ *pulumi.OutputState } +func (o GetAppsAppActiveDeploymentOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpec)(nil)).Elem() +func (o GetAppsAppActiveDeploymentOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { - return o +func (o GetAppsAppActiveDeploymentOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { - return o +func (o GetAppsAppActiveDeploymentOutput) Status() GetAppsAppActiveDeploymentStatusOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) GetAppsAppActiveDeploymentStatus { return v.Status }).(GetAppsAppActiveDeploymentStatusOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) Elem() GetClusterClusterInfoSpecOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) GetClusterClusterInfoSpec { - if v != nil { - return *v - } - var ret GetClusterClusterInfoSpec - return ret - }).(GetClusterClusterInfoSpecOutput) +// The update time of the app. +func (o GetAppsAppActiveDeploymentOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppActiveDeployment) string { return v.UpdateTime }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { - if v == nil { - return nil - } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) +type GetAppsAppActiveDeploymentDeploymentArtifacts struct { + SourceCodePath *string `pulumi:"sourceCodePath"` } -func (o GetClusterClusterInfoSpecPtrOutput) Autoscale() GetClusterClusterInfoSpecAutoscalePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAutoscale { - if v == nil { - return nil - } - return v.Autoscale - }).(GetClusterClusterInfoSpecAutoscalePtrOutput) +// GetAppsAppActiveDeploymentDeploymentArtifactsInput is an input type that accepts GetAppsAppActiveDeploymentDeploymentArtifactsArgs and GetAppsAppActiveDeploymentDeploymentArtifactsOutput values. +// You can construct a concrete instance of `GetAppsAppActiveDeploymentDeploymentArtifactsInput` via: +// +// GetAppsAppActiveDeploymentDeploymentArtifactsArgs{...} +type GetAppsAppActiveDeploymentDeploymentArtifactsInput interface { + pulumi.Input + + ToGetAppsAppActiveDeploymentDeploymentArtifactsOutput() GetAppsAppActiveDeploymentDeploymentArtifactsOutput + ToGetAppsAppActiveDeploymentDeploymentArtifactsOutputWithContext(context.Context) GetAppsAppActiveDeploymentDeploymentArtifactsOutput } -func (o GetClusterClusterInfoSpecPtrOutput) AwsAttributes() GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +type GetAppsAppActiveDeploymentDeploymentArtifactsArgs struct { + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` } -func (o GetClusterClusterInfoSpecPtrOutput) AzureAttributes() GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +func (GetAppsAppActiveDeploymentDeploymentArtifactsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -// The id of the cluster -func (o GetClusterClusterInfoSpecPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return &v.ClusterId - }).(pulumi.StringPtrOutput) +func (i GetAppsAppActiveDeploymentDeploymentArtifactsArgs) ToGetAppsAppActiveDeploymentDeploymentArtifactsOutput() GetAppsAppActiveDeploymentDeploymentArtifactsOutput { + return i.ToGetAppsAppActiveDeploymentDeploymentArtifactsOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecPtrOutput) ClusterLogConf() GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +func (i GetAppsAppActiveDeploymentDeploymentArtifactsArgs) ToGetAppsAppActiveDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppsAppActiveDeploymentDeploymentArtifactsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppActiveDeploymentDeploymentArtifactsOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) ClusterMountInfos() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetClusterClusterInfoSpecClusterMountInfoArrayOutput) +type GetAppsAppActiveDeploymentDeploymentArtifactsOutput struct{ *pulumi.OutputState } + +func (GetAppsAppActiveDeploymentDeploymentArtifactsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppActiveDeploymentDeploymentArtifacts)(nil)).Elem() } -// The exact name of the cluster to search -func (o GetClusterClusterInfoSpecPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (o GetAppsAppActiveDeploymentDeploymentArtifactsOutput) ToGetAppsAppActiveDeploymentDeploymentArtifactsOutput() GetAppsAppActiveDeploymentDeploymentArtifactsOutput { + return o } -// Additional tags for cluster resources. -func (o GetClusterClusterInfoSpecPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (o GetAppsAppActiveDeploymentDeploymentArtifactsOutput) ToGetAppsAppActiveDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppsAppActiveDeploymentDeploymentArtifactsOutput { + return o } -// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. -func (o GetClusterClusterInfoSpecPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (o GetAppsAppActiveDeploymentDeploymentArtifactsOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppActiveDeploymentDeploymentArtifacts) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) DockerImage() GetClusterClusterInfoSpecDockerImagePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetClusterClusterInfoSpecDockerImagePtrOutput) +type GetAppsAppActiveDeploymentStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` } -// similar to `instancePoolId`, but for driver node. -func (o GetClusterClusterInfoSpecPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +// GetAppsAppActiveDeploymentStatusInput is an input type that accepts GetAppsAppActiveDeploymentStatusArgs and GetAppsAppActiveDeploymentStatusOutput values. +// You can construct a concrete instance of `GetAppsAppActiveDeploymentStatusInput` via: +// +// GetAppsAppActiveDeploymentStatusArgs{...} +type GetAppsAppActiveDeploymentStatusInput interface { + pulumi.Input + + ToGetAppsAppActiveDeploymentStatusOutput() GetAppsAppActiveDeploymentStatusOutput + ToGetAppsAppActiveDeploymentStatusOutputWithContext(context.Context) GetAppsAppActiveDeploymentStatusOutput } -// The node type of the Spark driver. -func (o GetClusterClusterInfoSpecPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +type GetAppsAppActiveDeploymentStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` } -// Use autoscaling local storage. -func (o GetClusterClusterInfoSpecPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (GetAppsAppActiveDeploymentStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppActiveDeploymentStatus)(nil)).Elem() } -// Enable local disk encryption. -func (o GetClusterClusterInfoSpecPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +func (i GetAppsAppActiveDeploymentStatusArgs) ToGetAppsAppActiveDeploymentStatusOutput() GetAppsAppActiveDeploymentStatusOutput { + return i.ToGetAppsAppActiveDeploymentStatusOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecPtrOutput) GcpAttributes() GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +func (i GetAppsAppActiveDeploymentStatusArgs) ToGetAppsAppActiveDeploymentStatusOutputWithContext(ctx context.Context) GetAppsAppActiveDeploymentStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppActiveDeploymentStatusOutput) } -// An optional token to guarantee the idempotency of cluster creation requests. -func (o GetClusterClusterInfoSpecPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +type GetAppsAppActiveDeploymentStatusOutput struct{ *pulumi.OutputState } + +func (GetAppsAppActiveDeploymentStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppActiveDeploymentStatus)(nil)).Elem() } -func (o GetClusterClusterInfoSpecPtrOutput) InitScripts() GetClusterClusterInfoSpecInitScriptArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetClusterClusterInfoSpecInitScriptArrayOutput) +func (o GetAppsAppActiveDeploymentStatusOutput) ToGetAppsAppActiveDeploymentStatusOutput() GetAppsAppActiveDeploymentStatusOutput { + return o } -// The pool of idle instances the cluster is attached to. -func (o GetClusterClusterInfoSpecPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +func (o GetAppsAppActiveDeploymentStatusOutput) ToGetAppsAppActiveDeploymentStatusOutputWithContext(ctx context.Context) GetAppsAppActiveDeploymentStatusOutput { + return o } -func (o GetClusterClusterInfoSpecPtrOutput) Libraries() GetClusterClusterInfoSpecLibraryArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(GetClusterClusterInfoSpecLibraryArrayOutput) +// Application status message +func (o GetAppsAppActiveDeploymentStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppActiveDeploymentStatus) string { return v.Message }).(pulumi.StringOutput) } -// Any supported getNodeType id. -func (o GetClusterClusterInfoSpecPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +// State of the application. +func (o GetAppsAppActiveDeploymentStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppActiveDeploymentStatus) string { return v.State }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *int { - if v == nil { - return nil - } - return v.NumWorkers - }).(pulumi.IntPtrOutput) +type GetAppsAppAppStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` } -// Identifier of Cluster Policy to validate cluster and preset certain defaults. -func (o GetClusterClusterInfoSpecPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +// GetAppsAppAppStatusInput is an input type that accepts GetAppsAppAppStatusArgs and GetAppsAppAppStatusOutput values. +// You can construct a concrete instance of `GetAppsAppAppStatusInput` via: +// +// GetAppsAppAppStatusArgs{...} +type GetAppsAppAppStatusInput interface { + pulumi.Input + + ToGetAppsAppAppStatusOutput() GetAppsAppAppStatusOutput + ToGetAppsAppAppStatusOutputWithContext(context.Context) GetAppsAppAppStatusOutput } -// The type of runtime of the cluster -func (o GetClusterClusterInfoSpecPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +type GetAppsAppAppStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` } -// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). -func (o GetClusterClusterInfoSpecPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (GetAppsAppAppStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppAppStatus)(nil)).Elem() } -// Map with key-value pairs to fine-tune Spark clusters. -func (o GetClusterClusterInfoSpecPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +func (i GetAppsAppAppStatusArgs) ToGetAppsAppAppStatusOutput() GetAppsAppAppStatusOutput { + return i.ToGetAppsAppAppStatusOutputWithContext(context.Background()) } -// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. -func (o GetClusterClusterInfoSpecPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) map[string]string { - if v == nil { - return nil - } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) +func (i GetAppsAppAppStatusArgs) ToGetAppsAppAppStatusOutputWithContext(ctx context.Context) GetAppsAppAppStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppAppStatusOutput) } -// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. -func (o GetClusterClusterInfoSpecPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { - if v == nil { - return nil - } - return &v.SparkVersion - }).(pulumi.StringPtrOutput) +type GetAppsAppAppStatusOutput struct{ *pulumi.OutputState } + +func (GetAppsAppAppStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppAppStatus)(nil)).Elem() } -// SSH public key contents that will be added to each Spark node in this cluster. -func (o GetClusterClusterInfoSpecPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) []string { - if v == nil { - return nil - } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) +func (o GetAppsAppAppStatusOutput) ToGetAppsAppAppStatusOutput() GetAppsAppAppStatusOutput { + return o } -func (o GetClusterClusterInfoSpecPtrOutput) WorkloadType() GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecWorkloadType { - if v == nil { - return nil - } - return v.WorkloadType - }).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +func (o GetAppsAppAppStatusOutput) ToGetAppsAppAppStatusOutputWithContext(ctx context.Context) GetAppsAppAppStatusOutput { + return o } -type GetClusterClusterInfoSpecAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +// Application status message +func (o GetAppsAppAppStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppAppStatus) string { return v.Message }).(pulumi.StringOutput) } -// GetClusterClusterInfoSpecAutoscaleInput is an input type that accepts GetClusterClusterInfoSpecAutoscaleArgs and GetClusterClusterInfoSpecAutoscaleOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAutoscaleInput` via: +// State of the application. +func (o GetAppsAppAppStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppAppStatus) string { return v.State }).(pulumi.StringOutput) +} + +type GetAppsAppComputeStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` +} + +// GetAppsAppComputeStatusInput is an input type that accepts GetAppsAppComputeStatusArgs and GetAppsAppComputeStatusOutput values. +// You can construct a concrete instance of `GetAppsAppComputeStatusInput` via: // -// GetClusterClusterInfoSpecAutoscaleArgs{...} -type GetClusterClusterInfoSpecAutoscaleInput interface { +// GetAppsAppComputeStatusArgs{...} +type GetAppsAppComputeStatusInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAutoscaleOutput() GetClusterClusterInfoSpecAutoscaleOutput - ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoSpecAutoscaleOutput + ToGetAppsAppComputeStatusOutput() GetAppsAppComputeStatusOutput + ToGetAppsAppComputeStatusOutputWithContext(context.Context) GetAppsAppComputeStatusOutput } -type GetClusterClusterInfoSpecAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetAppsAppComputeStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` } -func (GetClusterClusterInfoSpecAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +func (GetAppsAppComputeStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppComputeStatus)(nil)).Elem() } -func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscaleOutput() GetClusterClusterInfoSpecAutoscaleOutput { - return i.ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(context.Background()) +func (i GetAppsAppComputeStatusArgs) ToGetAppsAppComputeStatusOutput() GetAppsAppComputeStatusOutput { + return i.ToGetAppsAppComputeStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAutoscaleOutput) +func (i GetAppsAppComputeStatusArgs) ToGetAppsAppComputeStatusOutputWithContext(ctx context.Context) GetAppsAppComputeStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppComputeStatusOutput) } -func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { - return i.ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Background()) +type GetAppsAppComputeStatusOutput struct{ *pulumi.OutputState } + +func (GetAppsAppComputeStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppComputeStatus)(nil)).Elem() } -func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAutoscaleOutput).ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx) +func (o GetAppsAppComputeStatusOutput) ToGetAppsAppComputeStatusOutput() GetAppsAppComputeStatusOutput { + return o } -// GetClusterClusterInfoSpecAutoscalePtrInput is an input type that accepts GetClusterClusterInfoSpecAutoscaleArgs, GetClusterClusterInfoSpecAutoscalePtr and GetClusterClusterInfoSpecAutoscalePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAutoscalePtrInput` via: -// -// GetClusterClusterInfoSpecAutoscaleArgs{...} -// -// or: +func (o GetAppsAppComputeStatusOutput) ToGetAppsAppComputeStatusOutputWithContext(ctx context.Context) GetAppsAppComputeStatusOutput { + return o +} + +// Application status message +func (o GetAppsAppComputeStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppComputeStatus) string { return v.Message }).(pulumi.StringOutput) +} + +// State of the application. +func (o GetAppsAppComputeStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppComputeStatus) string { return v.State }).(pulumi.StringOutput) +} + +type GetAppsAppPendingDeployment struct { + // The creation time of the app. + CreateTime string `pulumi:"createTime"` + // The email of the user that created the app. + Creator string `pulumi:"creator"` + DeploymentArtifacts GetAppsAppPendingDeploymentDeploymentArtifacts `pulumi:"deploymentArtifacts"` + DeploymentId *string `pulumi:"deploymentId"` + Mode *string `pulumi:"mode"` + SourceCodePath *string `pulumi:"sourceCodePath"` + Status GetAppsAppPendingDeploymentStatus `pulumi:"status"` + // The update time of the app. + UpdateTime string `pulumi:"updateTime"` +} + +// GetAppsAppPendingDeploymentInput is an input type that accepts GetAppsAppPendingDeploymentArgs and GetAppsAppPendingDeploymentOutput values. +// You can construct a concrete instance of `GetAppsAppPendingDeploymentInput` via: // -// nil -type GetClusterClusterInfoSpecAutoscalePtrInput interface { +// GetAppsAppPendingDeploymentArgs{...} +type GetAppsAppPendingDeploymentInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput - ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput + ToGetAppsAppPendingDeploymentOutput() GetAppsAppPendingDeploymentOutput + ToGetAppsAppPendingDeploymentOutputWithContext(context.Context) GetAppsAppPendingDeploymentOutput } -type getClusterClusterInfoSpecAutoscalePtrType GetClusterClusterInfoSpecAutoscaleArgs - -func GetClusterClusterInfoSpecAutoscalePtr(v *GetClusterClusterInfoSpecAutoscaleArgs) GetClusterClusterInfoSpecAutoscalePtrInput { - return (*getClusterClusterInfoSpecAutoscalePtrType)(v) +type GetAppsAppPendingDeploymentArgs struct { + // The creation time of the app. + CreateTime pulumi.StringInput `pulumi:"createTime"` + // The email of the user that created the app. + Creator pulumi.StringInput `pulumi:"creator"` + DeploymentArtifacts GetAppsAppPendingDeploymentDeploymentArtifactsInput `pulumi:"deploymentArtifacts"` + DeploymentId pulumi.StringPtrInput `pulumi:"deploymentId"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` + Status GetAppsAppPendingDeploymentStatusInput `pulumi:"status"` + // The update time of the app. + UpdateTime pulumi.StringInput `pulumi:"updateTime"` } -func (*getClusterClusterInfoSpecAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +func (GetAppsAppPendingDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppPendingDeployment)(nil)).Elem() } -func (i *getClusterClusterInfoSpecAutoscalePtrType) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { - return i.ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Background()) +func (i GetAppsAppPendingDeploymentArgs) ToGetAppsAppPendingDeploymentOutput() GetAppsAppPendingDeploymentOutput { + return i.ToGetAppsAppPendingDeploymentOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecAutoscalePtrType) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAutoscalePtrOutput) +func (i GetAppsAppPendingDeploymentArgs) ToGetAppsAppPendingDeploymentOutputWithContext(ctx context.Context) GetAppsAppPendingDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppPendingDeploymentOutput) } -type GetClusterClusterInfoSpecAutoscaleOutput struct{ *pulumi.OutputState } +type GetAppsAppPendingDeploymentOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +func (GetAppsAppPendingDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppPendingDeployment)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscaleOutput() GetClusterClusterInfoSpecAutoscaleOutput { +func (o GetAppsAppPendingDeploymentOutput) ToGetAppsAppPendingDeploymentOutput() GetAppsAppPendingDeploymentOutput { return o } -func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscaleOutput { +func (o GetAppsAppPendingDeploymentOutput) ToGetAppsAppPendingDeploymentOutputWithContext(ctx context.Context) GetAppsAppPendingDeploymentOutput { return o } -func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { - return o.ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Background()) +// The creation time of the app. +func (o GetAppsAppPendingDeploymentOutput) CreateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) string { return v.CreateTime }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAutoscale) *GetClusterClusterInfoSpecAutoscale { - return &v - }).(GetClusterClusterInfoSpecAutoscalePtrOutput) +// The email of the user that created the app. +func (o GetAppsAppPendingDeploymentOutput) Creator() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) string { return v.Creator }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetAppsAppPendingDeploymentOutput) DeploymentArtifacts() GetAppsAppPendingDeploymentDeploymentArtifactsOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) GetAppsAppPendingDeploymentDeploymentArtifacts { + return v.DeploymentArtifacts + }).(GetAppsAppPendingDeploymentDeploymentArtifactsOutput) } -func (o GetClusterClusterInfoSpecAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetAppsAppPendingDeploymentOutput) DeploymentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecAutoscalePtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +func (o GetAppsAppPendingDeploymentOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecAutoscalePtrOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { - return o +func (o GetAppsAppPendingDeploymentOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecAutoscalePtrOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { - return o +func (o GetAppsAppPendingDeploymentOutput) Status() GetAppsAppPendingDeploymentStatusOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) GetAppsAppPendingDeploymentStatus { return v.Status }).(GetAppsAppPendingDeploymentStatusOutput) } -func (o GetClusterClusterInfoSpecAutoscalePtrOutput) Elem() GetClusterClusterInfoSpecAutoscaleOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAutoscale) GetClusterClusterInfoSpecAutoscale { - if v != nil { - return *v - } - var ret GetClusterClusterInfoSpecAutoscale - return ret - }).(GetClusterClusterInfoSpecAutoscaleOutput) +// The update time of the app. +func (o GetAppsAppPendingDeploymentOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppPendingDeployment) string { return v.UpdateTime }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) +type GetAppsAppPendingDeploymentDeploymentArtifacts struct { + SourceCodePath *string `pulumi:"sourceCodePath"` } -func (o GetClusterClusterInfoSpecAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAutoscale) *int { - if v == nil { - return nil - } - return v.MinWorkers - }).(pulumi.IntPtrOutput) +// GetAppsAppPendingDeploymentDeploymentArtifactsInput is an input type that accepts GetAppsAppPendingDeploymentDeploymentArtifactsArgs and GetAppsAppPendingDeploymentDeploymentArtifactsOutput values. +// You can construct a concrete instance of `GetAppsAppPendingDeploymentDeploymentArtifactsInput` via: +// +// GetAppsAppPendingDeploymentDeploymentArtifactsArgs{...} +type GetAppsAppPendingDeploymentDeploymentArtifactsInput interface { + pulumi.Input + + ToGetAppsAppPendingDeploymentDeploymentArtifactsOutput() GetAppsAppPendingDeploymentDeploymentArtifactsOutput + ToGetAppsAppPendingDeploymentDeploymentArtifactsOutputWithContext(context.Context) GetAppsAppPendingDeploymentDeploymentArtifactsOutput } -type GetClusterClusterInfoSpecAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeIops *int `pulumi:"ebsVolumeIops"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type GetAppsAppPendingDeploymentDeploymentArtifactsArgs struct { + SourceCodePath pulumi.StringPtrInput `pulumi:"sourceCodePath"` } -// GetClusterClusterInfoSpecAwsAttributesInput is an input type that accepts GetClusterClusterInfoSpecAwsAttributesArgs and GetClusterClusterInfoSpecAwsAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAwsAttributesInput` via: -// -// GetClusterClusterInfoSpecAwsAttributesArgs{...} -type GetClusterClusterInfoSpecAwsAttributesInput interface { - pulumi.Input +func (GetAppsAppPendingDeploymentDeploymentArtifactsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppPendingDeploymentDeploymentArtifacts)(nil)).Elem() +} - ToGetClusterClusterInfoSpecAwsAttributesOutput() GetClusterClusterInfoSpecAwsAttributesOutput - ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoSpecAwsAttributesOutput +func (i GetAppsAppPendingDeploymentDeploymentArtifactsArgs) ToGetAppsAppPendingDeploymentDeploymentArtifactsOutput() GetAppsAppPendingDeploymentDeploymentArtifactsOutput { + return i.ToGetAppsAppPendingDeploymentDeploymentArtifactsOutputWithContext(context.Background()) } -type GetClusterClusterInfoSpecAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +func (i GetAppsAppPendingDeploymentDeploymentArtifactsArgs) ToGetAppsAppPendingDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppsAppPendingDeploymentDeploymentArtifactsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppPendingDeploymentDeploymentArtifactsOutput) } -func (GetClusterClusterInfoSpecAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +type GetAppsAppPendingDeploymentDeploymentArtifactsOutput struct{ *pulumi.OutputState } + +func (GetAppsAppPendingDeploymentDeploymentArtifactsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppPendingDeploymentDeploymentArtifacts)(nil)).Elem() } -func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesOutput() GetClusterClusterInfoSpecAwsAttributesOutput { - return i.ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(context.Background()) +func (o GetAppsAppPendingDeploymentDeploymentArtifactsOutput) ToGetAppsAppPendingDeploymentDeploymentArtifactsOutput() GetAppsAppPendingDeploymentDeploymentArtifactsOutput { + return o } -func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAwsAttributesOutput) +func (o GetAppsAppPendingDeploymentDeploymentArtifactsOutput) ToGetAppsAppPendingDeploymentDeploymentArtifactsOutputWithContext(ctx context.Context) GetAppsAppPendingDeploymentDeploymentArtifactsOutput { + return o } -func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetAppsAppPendingDeploymentDeploymentArtifactsOutput) SourceCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppPendingDeploymentDeploymentArtifacts) *string { return v.SourceCodePath }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAwsAttributesOutput).ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx) +type GetAppsAppPendingDeploymentStatus struct { + // Application status message + Message string `pulumi:"message"` + // State of the application. + State string `pulumi:"state"` } -// GetClusterClusterInfoSpecAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoSpecAwsAttributesArgs, GetClusterClusterInfoSpecAwsAttributesPtr and GetClusterClusterInfoSpecAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAwsAttributesPtrInput` via: -// -// GetClusterClusterInfoSpecAwsAttributesArgs{...} -// -// or: +// GetAppsAppPendingDeploymentStatusInput is an input type that accepts GetAppsAppPendingDeploymentStatusArgs and GetAppsAppPendingDeploymentStatusOutput values. +// You can construct a concrete instance of `GetAppsAppPendingDeploymentStatusInput` via: // -// nil -type GetClusterClusterInfoSpecAwsAttributesPtrInput interface { +// GetAppsAppPendingDeploymentStatusArgs{...} +type GetAppsAppPendingDeploymentStatusInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput - ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput + ToGetAppsAppPendingDeploymentStatusOutput() GetAppsAppPendingDeploymentStatusOutput + ToGetAppsAppPendingDeploymentStatusOutputWithContext(context.Context) GetAppsAppPendingDeploymentStatusOutput } -type getClusterClusterInfoSpecAwsAttributesPtrType GetClusterClusterInfoSpecAwsAttributesArgs - -func GetClusterClusterInfoSpecAwsAttributesPtr(v *GetClusterClusterInfoSpecAwsAttributesArgs) GetClusterClusterInfoSpecAwsAttributesPtrInput { - return (*getClusterClusterInfoSpecAwsAttributesPtrType)(v) +type GetAppsAppPendingDeploymentStatusArgs struct { + // Application status message + Message pulumi.StringInput `pulumi:"message"` + // State of the application. + State pulumi.StringInput `pulumi:"state"` } -func (*getClusterClusterInfoSpecAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +func (GetAppsAppPendingDeploymentStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppPendingDeploymentStatus)(nil)).Elem() } -func (i *getClusterClusterInfoSpecAwsAttributesPtrType) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return i.ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetAppsAppPendingDeploymentStatusArgs) ToGetAppsAppPendingDeploymentStatusOutput() GetAppsAppPendingDeploymentStatusOutput { + return i.ToGetAppsAppPendingDeploymentStatusOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecAwsAttributesPtrType) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +func (i GetAppsAppPendingDeploymentStatusArgs) ToGetAppsAppPendingDeploymentStatusOutputWithContext(ctx context.Context) GetAppsAppPendingDeploymentStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppPendingDeploymentStatusOutput) } -type GetClusterClusterInfoSpecAwsAttributesOutput struct{ *pulumi.OutputState } +type GetAppsAppPendingDeploymentStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +func (GetAppsAppPendingDeploymentStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppPendingDeploymentStatus)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesOutput() GetClusterClusterInfoSpecAwsAttributesOutput { +func (o GetAppsAppPendingDeploymentStatusOutput) ToGetAppsAppPendingDeploymentStatusOutput() GetAppsAppPendingDeploymentStatusOutput { return o } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesOutput { +func (o GetAppsAppPendingDeploymentStatusOutput) ToGetAppsAppPendingDeploymentStatusOutputWithContext(ctx context.Context) GetAppsAppPendingDeploymentStatusOutput { return o } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return o.ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Background()) +// Application status message +func (o GetAppsAppPendingDeploymentStatusOutput) Message() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppPendingDeploymentStatus) string { return v.Message }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAwsAttributes) *GetClusterClusterInfoSpecAwsAttributes { - return &v - }).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +// State of the application. +func (o GetAppsAppPendingDeploymentStatusOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppPendingDeploymentStatus) string { return v.State }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +type GetAppsAppResource struct { + // The description of the resource. + Description *string `pulumi:"description"` + // attribute + Job *GetAppsAppResourceJob `pulumi:"job"` + // Name of the serving endpoint to grant permission on. + Name string `pulumi:"name"` + // attribute + Secret *GetAppsAppResourceSecret `pulumi:"secret"` + // attribute + ServingEndpoint *GetAppsAppResourceServingEndpoint `pulumi:"servingEndpoint"` + // attribute + SqlWarehouse *GetAppsAppResourceSqlWarehouse `pulumi:"sqlWarehouse"` } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +// GetAppsAppResourceInput is an input type that accepts GetAppsAppResourceArgs and GetAppsAppResourceOutput values. +// You can construct a concrete instance of `GetAppsAppResourceInput` via: +// +// GetAppsAppResourceArgs{...} +type GetAppsAppResourceInput interface { + pulumi.Input + + ToGetAppsAppResourceOutput() GetAppsAppResourceOutput + ToGetAppsAppResourceOutputWithContext(context.Context) GetAppsAppResourceOutput } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +type GetAppsAppResourceArgs struct { + // The description of the resource. + Description pulumi.StringPtrInput `pulumi:"description"` + // attribute + Job GetAppsAppResourceJobPtrInput `pulumi:"job"` + // Name of the serving endpoint to grant permission on. + Name pulumi.StringInput `pulumi:"name"` + // attribute + Secret GetAppsAppResourceSecretPtrInput `pulumi:"secret"` + // attribute + ServingEndpoint GetAppsAppResourceServingEndpointPtrInput `pulumi:"servingEndpoint"` + // attribute + SqlWarehouse GetAppsAppResourceSqlWarehousePtrInput `pulumi:"sqlWarehouse"` } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +func (GetAppsAppResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResource)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +func (i GetAppsAppResourceArgs) ToGetAppsAppResourceOutput() GetAppsAppResourceOutput { + return i.ToGetAppsAppResourceOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (i GetAppsAppResourceArgs) ToGetAppsAppResourceOutputWithContext(ctx context.Context) GetAppsAppResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +// GetAppsAppResourceArrayInput is an input type that accepts GetAppsAppResourceArray and GetAppsAppResourceArrayOutput values. +// You can construct a concrete instance of `GetAppsAppResourceArrayInput` via: +// +// GetAppsAppResourceArray{ GetAppsAppResourceArgs{...} } +type GetAppsAppResourceArrayInput interface { + pulumi.Input + + ToGetAppsAppResourceArrayOutput() GetAppsAppResourceArrayOutput + ToGetAppsAppResourceArrayOutputWithContext(context.Context) GetAppsAppResourceArrayOutput } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +type GetAppsAppResourceArray []GetAppsAppResourceInput + +func (GetAppsAppResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppsAppResource)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (i GetAppsAppResourceArray) ToGetAppsAppResourceArrayOutput() GetAppsAppResourceArrayOutput { + return i.ToGetAppsAppResourceArrayOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (i GetAppsAppResourceArray) ToGetAppsAppResourceArrayOutputWithContext(ctx context.Context) GetAppsAppResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceArrayOutput) } -type GetClusterClusterInfoSpecAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +func (GetAppsAppResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResource)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { +func (o GetAppsAppResourceOutput) ToGetAppsAppResourceOutput() GetAppsAppResourceOutput { return o } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { +func (o GetAppsAppResourceOutput) ToGetAppsAppResourceOutputWithContext(ctx context.Context) GetAppsAppResourceOutput { return o } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) Elem() GetClusterClusterInfoSpecAwsAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) GetClusterClusterInfoSpecAwsAttributes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoSpecAwsAttributes - return ret - }).(GetClusterClusterInfoSpecAwsAttributesOutput) +// The description of the resource. +func (o GetAppsAppResourceOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAppsAppResource) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +// attribute +func (o GetAppsAppResourceOutput) Job() GetAppsAppResourceJobPtrOutput { + return o.ApplyT(func(v GetAppsAppResource) *GetAppsAppResourceJob { return v.Job }).(GetAppsAppResourceJobPtrOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) +// Name of the serving endpoint to grant permission on. +func (o GetAppsAppResourceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResource) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeIops - }).(pulumi.IntPtrOutput) +// attribute +func (o GetAppsAppResourceOutput) Secret() GetAppsAppResourceSecretPtrOutput { + return o.ApplyT(func(v GetAppsAppResource) *GetAppsAppResourceSecret { return v.Secret }).(GetAppsAppResourceSecretPtrOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) +// attribute +func (o GetAppsAppResourceOutput) ServingEndpoint() GetAppsAppResourceServingEndpointPtrOutput { + return o.ApplyT(func(v GetAppsAppResource) *GetAppsAppResourceServingEndpoint { return v.ServingEndpoint }).(GetAppsAppResourceServingEndpointPtrOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeThroughput - }).(pulumi.IntPtrOutput) +// attribute +func (o GetAppsAppResourceOutput) SqlWarehouse() GetAppsAppResourceSqlWarehousePtrOutput { + return o.ApplyT(func(v GetAppsAppResource) *GetAppsAppResourceSqlWarehouse { return v.SqlWarehouse }).(GetAppsAppResourceSqlWarehousePtrOutput) } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} +type GetAppsAppResourceArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (GetAppsAppResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppsAppResource)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o GetAppsAppResourceArrayOutput) ToGetAppsAppResourceArrayOutput() GetAppsAppResourceArrayOutput { + return o } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (o GetAppsAppResourceArrayOutput) ToGetAppsAppResourceArrayOutputWithContext(ctx context.Context) GetAppsAppResourceArrayOutput { + return o } -func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o GetAppsAppResourceArrayOutput) Index(i pulumi.IntInput) GetAppsAppResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAppsAppResource { + return vs[0].([]GetAppsAppResource)[vs[1].(int)] + }).(GetAppsAppResourceOutput) } -type GetClusterClusterInfoSpecAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - LogAnalyticsInfo *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetAppsAppResourceJob struct { + // Id of the job to grant permission on. + Id string `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` } -// GetClusterClusterInfoSpecAzureAttributesInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesArgs and GetClusterClusterInfoSpecAzureAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesInput` via: +// GetAppsAppResourceJobInput is an input type that accepts GetAppsAppResourceJobArgs and GetAppsAppResourceJobOutput values. +// You can construct a concrete instance of `GetAppsAppResourceJobInput` via: // -// GetClusterClusterInfoSpecAzureAttributesArgs{...} -type GetClusterClusterInfoSpecAzureAttributesInput interface { +// GetAppsAppResourceJobArgs{...} +type GetAppsAppResourceJobInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAzureAttributesOutput() GetClusterClusterInfoSpecAzureAttributesOutput - ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesOutput + ToGetAppsAppResourceJobOutput() GetAppsAppResourceJobOutput + ToGetAppsAppResourceJobOutputWithContext(context.Context) GetAppsAppResourceJobOutput } -type GetClusterClusterInfoSpecAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - LogAnalyticsInfo GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetAppsAppResourceJobArgs struct { + // Id of the job to grant permission on. + Id pulumi.StringInput `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (GetClusterClusterInfoSpecAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +func (GetAppsAppResourceJobArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceJob)(nil)).Elem() } -func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesOutput() GetClusterClusterInfoSpecAzureAttributesOutput { - return i.ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(context.Background()) +func (i GetAppsAppResourceJobArgs) ToGetAppsAppResourceJobOutput() GetAppsAppResourceJobOutput { + return i.ToGetAppsAppResourceJobOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesOutput) +func (i GetAppsAppResourceJobArgs) ToGetAppsAppResourceJobOutputWithContext(ctx context.Context) GetAppsAppResourceJobOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceJobOutput) } -func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetAppsAppResourceJobArgs) ToGetAppsAppResourceJobPtrOutput() GetAppsAppResourceJobPtrOutput { + return i.ToGetAppsAppResourceJobPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesOutput).ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx) +func (i GetAppsAppResourceJobArgs) ToGetAppsAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppsAppResourceJobPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceJobOutput).ToGetAppsAppResourceJobPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesArgs, GetClusterClusterInfoSpecAzureAttributesPtr and GetClusterClusterInfoSpecAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesPtrInput` via: +// GetAppsAppResourceJobPtrInput is an input type that accepts GetAppsAppResourceJobArgs, GetAppsAppResourceJobPtr and GetAppsAppResourceJobPtrOutput values. +// You can construct a concrete instance of `GetAppsAppResourceJobPtrInput` via: // -// GetClusterClusterInfoSpecAzureAttributesArgs{...} +// GetAppsAppResourceJobArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecAzureAttributesPtrInput interface { +type GetAppsAppResourceJobPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput - ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput + ToGetAppsAppResourceJobPtrOutput() GetAppsAppResourceJobPtrOutput + ToGetAppsAppResourceJobPtrOutputWithContext(context.Context) GetAppsAppResourceJobPtrOutput } -type getClusterClusterInfoSpecAzureAttributesPtrType GetClusterClusterInfoSpecAzureAttributesArgs +type getAppsAppResourceJobPtrType GetAppsAppResourceJobArgs -func GetClusterClusterInfoSpecAzureAttributesPtr(v *GetClusterClusterInfoSpecAzureAttributesArgs) GetClusterClusterInfoSpecAzureAttributesPtrInput { - return (*getClusterClusterInfoSpecAzureAttributesPtrType)(v) +func GetAppsAppResourceJobPtr(v *GetAppsAppResourceJobArgs) GetAppsAppResourceJobPtrInput { + return (*getAppsAppResourceJobPtrType)(v) } -func (*getClusterClusterInfoSpecAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +func (*getAppsAppResourceJobPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceJob)(nil)).Elem() } -func (i *getClusterClusterInfoSpecAzureAttributesPtrType) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return i.ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getAppsAppResourceJobPtrType) ToGetAppsAppResourceJobPtrOutput() GetAppsAppResourceJobPtrOutput { + return i.ToGetAppsAppResourceJobPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecAzureAttributesPtrType) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +func (i *getAppsAppResourceJobPtrType) ToGetAppsAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppsAppResourceJobPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceJobPtrOutput) } -type GetClusterClusterInfoSpecAzureAttributesOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceJobOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +func (GetAppsAppResourceJobOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceJob)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesOutput() GetClusterClusterInfoSpecAzureAttributesOutput { +func (o GetAppsAppResourceJobOutput) ToGetAppsAppResourceJobOutput() GetAppsAppResourceJobOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesOutput { +func (o GetAppsAppResourceJobOutput) ToGetAppsAppResourceJobOutputWithContext(ctx context.Context) GetAppsAppResourceJobOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return o.ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetAppsAppResourceJobOutput) ToGetAppsAppResourceJobPtrOutput() GetAppsAppResourceJobPtrOutput { + return o.ToGetAppsAppResourceJobPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAzureAttributes) *GetClusterClusterInfoSpecAzureAttributes { +func (o GetAppsAppResourceJobOutput) ToGetAppsAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppsAppResourceJobPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppsAppResourceJob) *GetAppsAppResourceJob { return &v - }).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) -} - -func (o GetClusterClusterInfoSpecAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoSpecAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(GetAppsAppResourceJobPtrOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesOutput) LogAnalyticsInfo() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { - return v.LogAnalyticsInfo - }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) +// Id of the job to grant permission on. +func (o GetAppsAppResourceJobOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceJob) string { return v.Id }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceJobOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceJob) string { return v.Permission }).(pulumi.StringOutput) } -type GetClusterClusterInfoSpecAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceJobPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +func (GetAppsAppResourceJobPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceJob)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { +func (o GetAppsAppResourceJobPtrOutput) ToGetAppsAppResourceJobPtrOutput() GetAppsAppResourceJobPtrOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { +func (o GetAppsAppResourceJobPtrOutput) ToGetAppsAppResourceJobPtrOutputWithContext(ctx context.Context) GetAppsAppResourceJobPtrOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) Elem() GetClusterClusterInfoSpecAzureAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) GetClusterClusterInfoSpecAzureAttributes { +func (o GetAppsAppResourceJobPtrOutput) Elem() GetAppsAppResourceJobOutput { + return o.ApplyT(func(v *GetAppsAppResourceJob) GetAppsAppResourceJob { if v != nil { return *v } - var ret GetClusterClusterInfoSpecAzureAttributes + var ret GetAppsAppResourceJob return ret - }).(GetClusterClusterInfoSpecAzureAttributesOutput) + }).(GetAppsAppResourceJobOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *string { +// Id of the job to grant permission on. +func (o GetAppsAppResourceJobPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceJob) *string { if v == nil { return nil } - return v.Availability + return &v.Id }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) LogAnalyticsInfo() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { - if v == nil { - return nil - } - return v.LogAnalyticsInfo - }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) -} - -func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *float64 { +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceJobPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceJob) *string { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return &v.Permission + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo struct { - LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +type GetAppsAppResourceSecret struct { + // Key of the secret to grant permission on. + Key string `pulumi:"key"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` + // Scope of the secret to grant permission on. + Scope string `pulumi:"scope"` } -// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs and GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoInput` via: +// GetAppsAppResourceSecretInput is an input type that accepts GetAppsAppResourceSecretArgs and GetAppsAppResourceSecretOutput values. +// You can construct a concrete instance of `GetAppsAppResourceSecretInput` via: // -// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs{...} -type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoInput interface { +// GetAppsAppResourceSecretArgs{...} +type GetAppsAppResourceSecretInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput - ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput + ToGetAppsAppResourceSecretOutput() GetAppsAppResourceSecretOutput + ToGetAppsAppResourceSecretOutputWithContext(context.Context) GetAppsAppResourceSecretOutput } -type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs struct { - LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` - LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +type GetAppsAppResourceSecretArgs struct { + // Key of the secret to grant permission on. + Key pulumi.StringInput `pulumi:"key"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` + // Scope of the secret to grant permission on. + Scope pulumi.StringInput `pulumi:"scope"` } -func (GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (GetAppsAppResourceSecretArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceSecret)(nil)).Elem() } -func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { - return i.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +func (i GetAppsAppResourceSecretArgs) ToGetAppsAppResourceSecretOutput() GetAppsAppResourceSecretOutput { + return i.ToGetAppsAppResourceSecretOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) +func (i GetAppsAppResourceSecretArgs) ToGetAppsAppResourceSecretOutputWithContext(ctx context.Context) GetAppsAppResourceSecretOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceSecretOutput) } -func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i GetAppsAppResourceSecretArgs) ToGetAppsAppResourceSecretPtrOutput() GetAppsAppResourceSecretPtrOutput { + return i.ToGetAppsAppResourceSecretPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput).ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +func (i GetAppsAppResourceSecretArgs) ToGetAppsAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppsAppResourceSecretPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceSecretOutput).ToGetAppsAppResourceSecretPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs, GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtr and GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput` via: +// GetAppsAppResourceSecretPtrInput is an input type that accepts GetAppsAppResourceSecretArgs, GetAppsAppResourceSecretPtr and GetAppsAppResourceSecretPtrOutput values. +// You can construct a concrete instance of `GetAppsAppResourceSecretPtrInput` via: // -// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs{...} +// GetAppsAppResourceSecretArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput interface { +type GetAppsAppResourceSecretPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput - ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput + ToGetAppsAppResourceSecretPtrOutput() GetAppsAppResourceSecretPtrOutput + ToGetAppsAppResourceSecretPtrOutputWithContext(context.Context) GetAppsAppResourceSecretPtrOutput } -type getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs +type getAppsAppResourceSecretPtrType GetAppsAppResourceSecretArgs -func GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtr(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput { - return (*getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType)(v) +func GetAppsAppResourceSecretPtr(v *GetAppsAppResourceSecretArgs) GetAppsAppResourceSecretPtrInput { + return (*getAppsAppResourceSecretPtrType)(v) } -func (*getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (*getAppsAppResourceSecretPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceSecret)(nil)).Elem() } -func (i *getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return i.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (i *getAppsAppResourceSecretPtrType) ToGetAppsAppResourceSecretPtrOutput() GetAppsAppResourceSecretPtrOutput { + return i.ToGetAppsAppResourceSecretPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) +func (i *getAppsAppResourceSecretPtrType) ToGetAppsAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppsAppResourceSecretPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceSecretPtrOutput) } -type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceSecretOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +func (GetAppsAppResourceSecretOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceSecret)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { +func (o GetAppsAppResourceSecretOutput) ToGetAppsAppResourceSecretOutput() GetAppsAppResourceSecretOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { +func (o GetAppsAppResourceSecretOutput) ToGetAppsAppResourceSecretOutputWithContext(ctx context.Context) GetAppsAppResourceSecretOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +func (o GetAppsAppResourceSecretOutput) ToGetAppsAppResourceSecretPtrOutput() GetAppsAppResourceSecretPtrOutput { + return o.ToGetAppsAppResourceSecretPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { +func (o GetAppsAppResourceSecretOutput) ToGetAppsAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppsAppResourceSecretPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppsAppResourceSecret) *GetAppsAppResourceSecret { return &v - }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) + }).(GetAppsAppResourceSecretPtrOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { - return v.LogAnalyticsPrimaryKey - }).(pulumi.StringPtrOutput) +// Key of the secret to grant permission on. +func (o GetAppsAppResourceSecretOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceSecret) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { - return v.LogAnalyticsWorkspaceId - }).(pulumi.StringPtrOutput) +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceSecretOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceSecret) string { return v.Permission }).(pulumi.StringOutput) } -type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } +// Scope of the secret to grant permission on. +func (o GetAppsAppResourceSecretOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceSecret) string { return v.Scope }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +type GetAppsAppResourceSecretPtrOutput struct{ *pulumi.OutputState } + +func (GetAppsAppResourceSecretPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceSecret)(nil)).Elem() } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { +func (o GetAppsAppResourceSecretPtrOutput) ToGetAppsAppResourceSecretPtrOutput() GetAppsAppResourceSecretPtrOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { +func (o GetAppsAppResourceSecretPtrOutput) ToGetAppsAppResourceSecretPtrOutputWithContext(ctx context.Context) GetAppsAppResourceSecretPtrOutput { return o } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) Elem() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { +func (o GetAppsAppResourceSecretPtrOutput) Elem() GetAppsAppResourceSecretOutput { + return o.ApplyT(func(v *GetAppsAppResourceSecret) GetAppsAppResourceSecret { if v != nil { return *v } - var ret GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo + var ret GetAppsAppResourceSecret return ret - }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) + }).(GetAppsAppResourceSecretOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { +// Key of the secret to grant permission on. +func (o GetAppsAppResourceSecretPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceSecret) *string { if v == nil { return nil } - return v.LogAnalyticsPrimaryKey + return &v.Key }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceSecretPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceSecret) *string { if v == nil { return nil } - return v.LogAnalyticsWorkspaceId + return &v.Permission }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterLogConf struct { - Dbfs *GetClusterClusterInfoSpecClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetClusterClusterInfoSpecClusterLogConfS3 `pulumi:"s3"` +// Scope of the secret to grant permission on. +func (o GetAppsAppResourceSecretPtrOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceSecret) *string { + if v == nil { + return nil + } + return &v.Scope + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecClusterLogConfInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfArgs and GetClusterClusterInfoSpecClusterLogConfOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfInput` via: +type GetAppsAppResourceServingEndpoint struct { + // Name of the serving endpoint to grant permission on. + Name string `pulumi:"name"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` +} + +// GetAppsAppResourceServingEndpointInput is an input type that accepts GetAppsAppResourceServingEndpointArgs and GetAppsAppResourceServingEndpointOutput values. +// You can construct a concrete instance of `GetAppsAppResourceServingEndpointInput` via: // -// GetClusterClusterInfoSpecClusterLogConfArgs{...} -type GetClusterClusterInfoSpecClusterLogConfInput interface { +// GetAppsAppResourceServingEndpointArgs{...} +type GetAppsAppResourceServingEndpointInput interface { pulumi.Input - ToGetClusterClusterInfoSpecClusterLogConfOutput() GetClusterClusterInfoSpecClusterLogConfOutput - ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfOutput + ToGetAppsAppResourceServingEndpointOutput() GetAppsAppResourceServingEndpointOutput + ToGetAppsAppResourceServingEndpointOutputWithContext(context.Context) GetAppsAppResourceServingEndpointOutput } -type GetClusterClusterInfoSpecClusterLogConfArgs struct { - Dbfs GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetClusterClusterInfoSpecClusterLogConfS3PtrInput `pulumi:"s3"` +type GetAppsAppResourceServingEndpointArgs struct { + // Name of the serving endpoint to grant permission on. + Name pulumi.StringInput `pulumi:"name"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (GetClusterClusterInfoSpecClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +func (GetAppsAppResourceServingEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceServingEndpoint)(nil)).Elem() } -func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfOutput() GetClusterClusterInfoSpecClusterLogConfOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(context.Background()) +func (i GetAppsAppResourceServingEndpointArgs) ToGetAppsAppResourceServingEndpointOutput() GetAppsAppResourceServingEndpointOutput { + return i.ToGetAppsAppResourceServingEndpointOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfOutput) +func (i GetAppsAppResourceServingEndpointArgs) ToGetAppsAppResourceServingEndpointOutputWithContext(ctx context.Context) GetAppsAppResourceServingEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceServingEndpointOutput) } -func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetAppsAppResourceServingEndpointArgs) ToGetAppsAppResourceServingEndpointPtrOutput() GetAppsAppResourceServingEndpointPtrOutput { + return i.ToGetAppsAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfOutput).ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx) +func (i GetAppsAppResourceServingEndpointArgs) ToGetAppsAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppsAppResourceServingEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceServingEndpointOutput).ToGetAppsAppResourceServingEndpointPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfArgs, GetClusterClusterInfoSpecClusterLogConfPtr and GetClusterClusterInfoSpecClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfPtrInput` via: +// GetAppsAppResourceServingEndpointPtrInput is an input type that accepts GetAppsAppResourceServingEndpointArgs, GetAppsAppResourceServingEndpointPtr and GetAppsAppResourceServingEndpointPtrOutput values. +// You can construct a concrete instance of `GetAppsAppResourceServingEndpointPtrInput` via: // -// GetClusterClusterInfoSpecClusterLogConfArgs{...} +// GetAppsAppResourceServingEndpointArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecClusterLogConfPtrInput interface { +type GetAppsAppResourceServingEndpointPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput - ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput + ToGetAppsAppResourceServingEndpointPtrOutput() GetAppsAppResourceServingEndpointPtrOutput + ToGetAppsAppResourceServingEndpointPtrOutputWithContext(context.Context) GetAppsAppResourceServingEndpointPtrOutput } -type getClusterClusterInfoSpecClusterLogConfPtrType GetClusterClusterInfoSpecClusterLogConfArgs +type getAppsAppResourceServingEndpointPtrType GetAppsAppResourceServingEndpointArgs -func GetClusterClusterInfoSpecClusterLogConfPtr(v *GetClusterClusterInfoSpecClusterLogConfArgs) GetClusterClusterInfoSpecClusterLogConfPtrInput { - return (*getClusterClusterInfoSpecClusterLogConfPtrType)(v) +func GetAppsAppResourceServingEndpointPtr(v *GetAppsAppResourceServingEndpointArgs) GetAppsAppResourceServingEndpointPtrInput { + return (*getAppsAppResourceServingEndpointPtrType)(v) } -func (*getClusterClusterInfoSpecClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +func (*getAppsAppResourceServingEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceServingEndpoint)(nil)).Elem() } -func (i *getClusterClusterInfoSpecClusterLogConfPtrType) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getAppsAppResourceServingEndpointPtrType) ToGetAppsAppResourceServingEndpointPtrOutput() GetAppsAppResourceServingEndpointPtrOutput { + return i.ToGetAppsAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecClusterLogConfPtrType) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +func (i *getAppsAppResourceServingEndpointPtrType) ToGetAppsAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppsAppResourceServingEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceServingEndpointPtrOutput) } -type GetClusterClusterInfoSpecClusterLogConfOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceServingEndpointOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +func (GetAppsAppResourceServingEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceServingEndpoint)(nil)).Elem() } -func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfOutput() GetClusterClusterInfoSpecClusterLogConfOutput { +func (o GetAppsAppResourceServingEndpointOutput) ToGetAppsAppResourceServingEndpointOutput() GetAppsAppResourceServingEndpointOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfOutput { +func (o GetAppsAppResourceServingEndpointOutput) ToGetAppsAppResourceServingEndpointOutputWithContext(ctx context.Context) GetAppsAppResourceServingEndpointOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return o.ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetAppsAppResourceServingEndpointOutput) ToGetAppsAppResourceServingEndpointPtrOutput() GetAppsAppResourceServingEndpointPtrOutput { + return o.ToGetAppsAppResourceServingEndpointPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConf { +func (o GetAppsAppResourceServingEndpointOutput) ToGetAppsAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppsAppResourceServingEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppsAppResourceServingEndpoint) *GetAppsAppResourceServingEndpoint { return &v - }).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) + }).(GetAppsAppResourceServingEndpointPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfOutput) Dbfs() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfDbfs { - return v.Dbfs - }).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) +// Name of the serving endpoint to grant permission on. +func (o GetAppsAppResourceServingEndpointOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceServingEndpoint) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfOutput) S3() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfS3 { - return v.S3 - }).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceServingEndpointOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceServingEndpoint) string { return v.Permission }).(pulumi.StringOutput) } -type GetClusterClusterInfoSpecClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceServingEndpointPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +func (GetAppsAppResourceServingEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceServingEndpoint)(nil)).Elem() } -func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { +func (o GetAppsAppResourceServingEndpointPtrOutput) ToGetAppsAppResourceServingEndpointPtrOutput() GetAppsAppResourceServingEndpointPtrOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { +func (o GetAppsAppResourceServingEndpointPtrOutput) ToGetAppsAppResourceServingEndpointPtrOutputWithContext(ctx context.Context) GetAppsAppResourceServingEndpointPtrOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) Elem() GetClusterClusterInfoSpecClusterLogConfOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConf) GetClusterClusterInfoSpecClusterLogConf { +func (o GetAppsAppResourceServingEndpointPtrOutput) Elem() GetAppsAppResourceServingEndpointOutput { + return o.ApplyT(func(v *GetAppsAppResourceServingEndpoint) GetAppsAppResourceServingEndpoint { if v != nil { return *v } - var ret GetClusterClusterInfoSpecClusterLogConf + var ret GetAppsAppResourceServingEndpoint return ret - }).(GetClusterClusterInfoSpecClusterLogConfOutput) + }).(GetAppsAppResourceServingEndpointOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) Dbfs() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfDbfs { +// Name of the serving endpoint to grant permission on. +func (o GetAppsAppResourceServingEndpointPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceServingEndpoint) *string { if v == nil { return nil } - return v.Dbfs - }).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) S3() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfS3 { +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceServingEndpointPtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceServingEndpoint) *string { if v == nil { return nil } - return v.S3 - }).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) + return &v.Permission + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetAppsAppResourceSqlWarehouse struct { + // Id of the job to grant permission on. + Id string `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission string `pulumi:"permission"` } -// GetClusterClusterInfoSpecClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfDbfsArgs and GetClusterClusterInfoSpecClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfDbfsInput` via: +// GetAppsAppResourceSqlWarehouseInput is an input type that accepts GetAppsAppResourceSqlWarehouseArgs and GetAppsAppResourceSqlWarehouseOutput values. +// You can construct a concrete instance of `GetAppsAppResourceSqlWarehouseInput` via: // -// GetClusterClusterInfoSpecClusterLogConfDbfsArgs{...} -type GetClusterClusterInfoSpecClusterLogConfDbfsInput interface { +// GetAppsAppResourceSqlWarehouseArgs{...} +type GetAppsAppResourceSqlWarehouseInput interface { pulumi.Input - ToGetClusterClusterInfoSpecClusterLogConfDbfsOutput() GetClusterClusterInfoSpecClusterLogConfDbfsOutput - ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsOutput + ToGetAppsAppResourceSqlWarehouseOutput() GetAppsAppResourceSqlWarehouseOutput + ToGetAppsAppResourceSqlWarehouseOutputWithContext(context.Context) GetAppsAppResourceSqlWarehouseOutput } -type GetClusterClusterInfoSpecClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetAppsAppResourceSqlWarehouseArgs struct { + // Id of the job to grant permission on. + Id pulumi.StringInput `pulumi:"id"` + // Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + Permission pulumi.StringInput `pulumi:"permission"` } -func (GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +func (GetAppsAppResourceSqlWarehouseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceSqlWarehouse)(nil)).Elem() } -func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutput() GetClusterClusterInfoSpecClusterLogConfDbfsOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetAppsAppResourceSqlWarehouseArgs) ToGetAppsAppResourceSqlWarehouseOutput() GetAppsAppResourceSqlWarehouseOutput { + return i.ToGetAppsAppResourceSqlWarehouseOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfDbfsOutput) +func (i GetAppsAppResourceSqlWarehouseArgs) ToGetAppsAppResourceSqlWarehouseOutputWithContext(ctx context.Context) GetAppsAppResourceSqlWarehouseOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceSqlWarehouseOutput) } -func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetAppsAppResourceSqlWarehouseArgs) ToGetAppsAppResourceSqlWarehousePtrOutput() GetAppsAppResourceSqlWarehousePtrOutput { + return i.ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfDbfsOutput).ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetAppsAppResourceSqlWarehouseArgs) ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppsAppResourceSqlWarehousePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceSqlWarehouseOutput).ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfDbfsArgs, GetClusterClusterInfoSpecClusterLogConfDbfsPtr and GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput` via: +// GetAppsAppResourceSqlWarehousePtrInput is an input type that accepts GetAppsAppResourceSqlWarehouseArgs, GetAppsAppResourceSqlWarehousePtr and GetAppsAppResourceSqlWarehousePtrOutput values. +// You can construct a concrete instance of `GetAppsAppResourceSqlWarehousePtrInput` via: // -// GetClusterClusterInfoSpecClusterLogConfDbfsArgs{...} +// GetAppsAppResourceSqlWarehouseArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput interface { +type GetAppsAppResourceSqlWarehousePtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput - ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput + ToGetAppsAppResourceSqlWarehousePtrOutput() GetAppsAppResourceSqlWarehousePtrOutput + ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(context.Context) GetAppsAppResourceSqlWarehousePtrOutput } -type getClusterClusterInfoSpecClusterLogConfDbfsPtrType GetClusterClusterInfoSpecClusterLogConfDbfsArgs +type getAppsAppResourceSqlWarehousePtrType GetAppsAppResourceSqlWarehouseArgs -func GetClusterClusterInfoSpecClusterLogConfDbfsPtr(v *GetClusterClusterInfoSpecClusterLogConfDbfsArgs) GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput { - return (*getClusterClusterInfoSpecClusterLogConfDbfsPtrType)(v) +func GetAppsAppResourceSqlWarehousePtr(v *GetAppsAppResourceSqlWarehouseArgs) GetAppsAppResourceSqlWarehousePtrInput { + return (*getAppsAppResourceSqlWarehousePtrType)(v) } -func (*getClusterClusterInfoSpecClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +func (*getAppsAppResourceSqlWarehousePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceSqlWarehouse)(nil)).Elem() } -func (i *getClusterClusterInfoSpecClusterLogConfDbfsPtrType) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getAppsAppResourceSqlWarehousePtrType) ToGetAppsAppResourceSqlWarehousePtrOutput() GetAppsAppResourceSqlWarehousePtrOutput { + return i.ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecClusterLogConfDbfsPtrType) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) +func (i *getAppsAppResourceSqlWarehousePtrType) ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppsAppResourceSqlWarehousePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppResourceSqlWarehousePtrOutput) } -type GetClusterClusterInfoSpecClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetAppsAppResourceSqlWarehouseOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +func (GetAppsAppResourceSqlWarehouseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppResourceSqlWarehouse)(nil)).Elem() } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutput() GetClusterClusterInfoSpecClusterLogConfDbfsOutput { +func (o GetAppsAppResourceSqlWarehouseOutput) ToGetAppsAppResourceSqlWarehouseOutput() GetAppsAppResourceSqlWarehouseOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsOutput { +func (o GetAppsAppResourceSqlWarehouseOutput) ToGetAppsAppResourceSqlWarehouseOutputWithContext(ctx context.Context) GetAppsAppResourceSqlWarehouseOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return o.ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetAppsAppResourceSqlWarehouseOutput) ToGetAppsAppResourceSqlWarehousePtrOutput() GetAppsAppResourceSqlWarehousePtrOutput { + return o.ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecClusterLogConfDbfs) *GetClusterClusterInfoSpecClusterLogConfDbfs { +func (o GetAppsAppResourceSqlWarehouseOutput) ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppsAppResourceSqlWarehousePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAppsAppResourceSqlWarehouse) *GetAppsAppResourceSqlWarehouse { return &v - }).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) + }).(GetAppsAppResourceSqlWarehousePtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +// Id of the job to grant permission on. +func (o GetAppsAppResourceSqlWarehouseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceSqlWarehouse) string { return v.Id }).(pulumi.StringOutput) } -type GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceSqlWarehouseOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsAppResourceSqlWarehouse) string { return v.Permission }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +type GetAppsAppResourceSqlWarehousePtrOutput struct{ *pulumi.OutputState } + +func (GetAppsAppResourceSqlWarehousePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAppsAppResourceSqlWarehouse)(nil)).Elem() } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { +func (o GetAppsAppResourceSqlWarehousePtrOutput) ToGetAppsAppResourceSqlWarehousePtrOutput() GetAppsAppResourceSqlWarehousePtrOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { +func (o GetAppsAppResourceSqlWarehousePtrOutput) ToGetAppsAppResourceSqlWarehousePtrOutputWithContext(ctx context.Context) GetAppsAppResourceSqlWarehousePtrOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoSpecClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfDbfs) GetClusterClusterInfoSpecClusterLogConfDbfs { +func (o GetAppsAppResourceSqlWarehousePtrOutput) Elem() GetAppsAppResourceSqlWarehouseOutput { + return o.ApplyT(func(v *GetAppsAppResourceSqlWarehouse) GetAppsAppResourceSqlWarehouse { if v != nil { return *v } - var ret GetClusterClusterInfoSpecClusterLogConfDbfs + var ret GetAppsAppResourceSqlWarehouse return ret - }).(GetClusterClusterInfoSpecClusterLogConfDbfsOutput) + }).(GetAppsAppResourceSqlWarehouseOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfDbfs) *string { +// Id of the job to grant permission on. +func (o GetAppsAppResourceSqlWarehousePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceSqlWarehouse) *string { if v == nil { return nil } - return &v.Destination + return &v.Id }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +// Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. +func (o GetAppsAppResourceSqlWarehousePtrOutput) Permission() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAppsAppResourceSqlWarehouse) *string { + if v == nil { + return nil + } + return &v.Permission + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoSpecClusterLogConfS3Args and GetClusterClusterInfoSpecClusterLogConfS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfS3Input` via: +type GetCatalogCatalogInfo struct { + BrowseOnly *bool `pulumi:"browseOnly"` + // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + CatalogType *string `pulumi:"catalogType"` + // Free-form text description + Comment *string `pulumi:"comment"` + // The name of the connection to an external data source. + ConnectionName *string `pulumi:"connectionName"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy *string `pulumi:"createdBy"` + // object describing applied predictive optimization flag. + EffectivePredictiveOptimizationFlag *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` + // Whether predictive optimization should be enabled for this object and objects under it. + EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` + // The full name of the catalog. Corresponds with the name field. + FullName *string `pulumi:"fullName"` + // Whether the current securable is accessible from all workspaces or a specific set of workspaces. + IsolationMode *string `pulumi:"isolationMode"` + // Unique identifier of parent metastore. + MetastoreId *string `pulumi:"metastoreId"` + // name of the catalog + Name *string `pulumi:"name"` + // A map of key-value properties attached to the securable. + Options map[string]string `pulumi:"options"` + // Current owner of the catalog + Owner *string `pulumi:"owner"` + // A map of key-value properties attached to the securable. + Properties map[string]string `pulumi:"properties"` + // The name of delta sharing provider. + ProviderName *string `pulumi:"providerName"` + ProvisioningInfo *GetCatalogCatalogInfoProvisioningInfo `pulumi:"provisioningInfo"` + // Kind of catalog securable. + SecurableKind *string `pulumi:"securableKind"` + // Securable type. + SecurableType *string `pulumi:"securableType"` + // The name of the share under the share provider. + ShareName *string `pulumi:"shareName"` + // Storage Location URL (full path) for managed tables within catalog. + StorageLocation *string `pulumi:"storageLocation"` + // Storage root URL for managed tables within catalog. + StorageRoot *string `pulumi:"storageRoot"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy *string `pulumi:"updatedBy"` +} + +// GetCatalogCatalogInfoInput is an input type that accepts GetCatalogCatalogInfoArgs and GetCatalogCatalogInfoOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoInput` via: // -// GetClusterClusterInfoSpecClusterLogConfS3Args{...} -type GetClusterClusterInfoSpecClusterLogConfS3Input interface { +// GetCatalogCatalogInfoArgs{...} +type GetCatalogCatalogInfoInput interface { pulumi.Input - ToGetClusterClusterInfoSpecClusterLogConfS3Output() GetClusterClusterInfoSpecClusterLogConfS3Output - ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfS3Output + ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput + ToGetCatalogCatalogInfoOutputWithContext(context.Context) GetCatalogCatalogInfoOutput } -type GetClusterClusterInfoSpecClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetCatalogCatalogInfoArgs struct { + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + CatalogType pulumi.StringPtrInput `pulumi:"catalogType"` + // Free-form text description + Comment pulumi.StringPtrInput `pulumi:"comment"` + // The name of the connection to an external data source. + ConnectionName pulumi.StringPtrInput `pulumi:"connectionName"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // object describing applied predictive optimization flag. + EffectivePredictiveOptimizationFlag GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` + // Whether predictive optimization should be enabled for this object and objects under it. + EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` + // The full name of the catalog. Corresponds with the name field. + FullName pulumi.StringPtrInput `pulumi:"fullName"` + // Whether the current securable is accessible from all workspaces or a specific set of workspaces. + IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"` + // Unique identifier of parent metastore. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // name of the catalog + Name pulumi.StringPtrInput `pulumi:"name"` + // A map of key-value properties attached to the securable. + Options pulumi.StringMapInput `pulumi:"options"` + // Current owner of the catalog + Owner pulumi.StringPtrInput `pulumi:"owner"` + // A map of key-value properties attached to the securable. + Properties pulumi.StringMapInput `pulumi:"properties"` + // The name of delta sharing provider. + ProviderName pulumi.StringPtrInput `pulumi:"providerName"` + ProvisioningInfo GetCatalogCatalogInfoProvisioningInfoPtrInput `pulumi:"provisioningInfo"` + // Kind of catalog securable. + SecurableKind pulumi.StringPtrInput `pulumi:"securableKind"` + // Securable type. + SecurableType pulumi.StringPtrInput `pulumi:"securableType"` + // The name of the share under the share provider. + ShareName pulumi.StringPtrInput `pulumi:"shareName"` + // Storage Location URL (full path) for managed tables within catalog. + StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` + // Storage root URL for managed tables within catalog. + StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (GetClusterClusterInfoSpecClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +func (GetCatalogCatalogInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() } -func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3Output() GetClusterClusterInfoSpecClusterLogConfS3Output { - return i.ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { + return i.ToGetCatalogCatalogInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfS3Output) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput) } -func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfS3Output).ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetCatalogCatalogInfoArgs) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoOutput).ToGetCatalogCatalogInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfS3Args, GetClusterClusterInfoSpecClusterLogConfS3Ptr and GetClusterClusterInfoSpecClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfS3PtrInput` via: +// GetCatalogCatalogInfoPtrInput is an input type that accepts GetCatalogCatalogInfoArgs, GetCatalogCatalogInfoPtr and GetCatalogCatalogInfoPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoPtrInput` via: // -// GetClusterClusterInfoSpecClusterLogConfS3Args{...} +// GetCatalogCatalogInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecClusterLogConfS3PtrInput interface { +type GetCatalogCatalogInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput - ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput + ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput + ToGetCatalogCatalogInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoPtrOutput } -type getClusterClusterInfoSpecClusterLogConfS3PtrType GetClusterClusterInfoSpecClusterLogConfS3Args +type getCatalogCatalogInfoPtrType GetCatalogCatalogInfoArgs -func GetClusterClusterInfoSpecClusterLogConfS3Ptr(v *GetClusterClusterInfoSpecClusterLogConfS3Args) GetClusterClusterInfoSpecClusterLogConfS3PtrInput { - return (*getClusterClusterInfoSpecClusterLogConfS3PtrType)(v) +func GetCatalogCatalogInfoPtr(v *GetCatalogCatalogInfoArgs) GetCatalogCatalogInfoPtrInput { + return (*getCatalogCatalogInfoPtrType)(v) } -func (*getClusterClusterInfoSpecClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +func (*getCatalogCatalogInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() } -func (i *getClusterClusterInfoSpecClusterLogConfS3PtrType) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return i.ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return i.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecClusterLogConfS3PtrType) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) +func (i *getCatalogCatalogInfoPtrType) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoPtrOutput) } -type GetClusterClusterInfoSpecClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +func (GetCatalogCatalogInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfo)(nil)).Elem() } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3Output() GetClusterClusterInfoSpecClusterLogConfS3Output { +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutput() GetCatalogCatalogInfoOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3Output { +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoOutput { return o } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return o.ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return o.ToGetCatalogCatalogInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecClusterLogConfS3) *GetClusterClusterInfoSpecClusterLogConfS3 { +func (o GetCatalogCatalogInfoOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfo) *GetCatalogCatalogInfo { return &v - }).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) + }).(GetCatalogCatalogInfoPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (o GetCatalogCatalogInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, +func (o GetCatalogCatalogInfoOutput) CatalogType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CatalogType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +// Free-form text description +func (o GetCatalogCatalogInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +// The name of the connection to an external data source. +func (o GetCatalogCatalogInfoOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ConnectionName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// Time at which this catalog was created, in epoch milliseconds. +func (o GetCatalogCatalogInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +// Username of catalog creator. +func (o GetCatalogCatalogInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +// object describing applied predictive optimization flag. +func (o GetCatalogCatalogInfoOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + return v.EffectivePredictiveOptimizationFlag + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetClusterClusterInfoSpecClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +// Whether predictive optimization should be enabled for this object and objects under it. +func (o GetCatalogCatalogInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +// The full name of the catalog. Corresponds with the name field. +func (o GetCatalogCatalogInfoOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return o +// Whether the current securable is accessible from all workspaces or a specific set of workspaces. +func (o GetCatalogCatalogInfoOutput) IsolationMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.IsolationMode }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { - return o +// Unique identifier of parent metastore. +func (o GetCatalogCatalogInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoSpecClusterLogConfS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) GetClusterClusterInfoSpecClusterLogConfS3 { - if v != nil { - return *v - } - var ret GetClusterClusterInfoSpecClusterLogConfS3 - return ret - }).(GetClusterClusterInfoSpecClusterLogConfS3Output) +// name of the catalog +func (o GetCatalogCatalogInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]string { return v.Options }).(pulumi.StringMapOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +// Current owner of the catalog +func (o GetCatalogCatalogInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) map[string]string { return v.Properties }).(pulumi.StringMapOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +// The name of delta sharing provider. +func (o GetCatalogCatalogInfoOutput) ProviderName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ProviderName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) +func (o GetCatalogCatalogInfoOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { return v.ProvisioningInfo }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +// Kind of catalog securable. +func (o GetCatalogCatalogInfoOutput) SecurableKind() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableKind }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +// Securable type. +func (o GetCatalogCatalogInfoOutput) SecurableType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.SecurableType }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecClusterMountInfoInput is an input type that accepts GetClusterClusterInfoSpecClusterMountInfoArgs and GetClusterClusterInfoSpecClusterMountInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterMountInfoInput` via: -// -// GetClusterClusterInfoSpecClusterMountInfoArgs{...} -type GetClusterClusterInfoSpecClusterMountInfoInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecClusterMountInfoOutput() GetClusterClusterInfoSpecClusterMountInfoOutput - ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterMountInfoOutput +// The name of the share under the share provider. +func (o GetCatalogCatalogInfoOutput) ShareName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.ShareName }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +// Storage Location URL (full path) for managed tables within catalog. +func (o GetCatalogCatalogInfoOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) } -func (GetClusterClusterInfoSpecClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +// Storage root URL for managed tables within catalog. +func (o GetCatalogCatalogInfoOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecClusterMountInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoOutput() GetClusterClusterInfoSpecClusterMountInfoOutput { - return i.ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(context.Background()) +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetCatalogCatalogInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoSpecClusterMountInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterMountInfoOutput) +// Username of user who last modified catalog. +func (o GetCatalogCatalogInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecClusterMountInfoArrayInput is an input type that accepts GetClusterClusterInfoSpecClusterMountInfoArray and GetClusterClusterInfoSpecClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterMountInfoArrayInput` via: -// -// GetClusterClusterInfoSpecClusterMountInfoArray{ GetClusterClusterInfoSpecClusterMountInfoArgs{...} } -type GetClusterClusterInfoSpecClusterMountInfoArrayInput interface { - pulumi.Input +type GetCatalogCatalogInfoPtrOutput struct{ *pulumi.OutputState } - ToGetClusterClusterInfoSpecClusterMountInfoArrayOutput() GetClusterClusterInfoSpecClusterMountInfoArrayOutput - ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterMountInfoArrayOutput +func (GetCatalogCatalogInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfo)(nil)).Elem() } -type GetClusterClusterInfoSpecClusterMountInfoArray []GetClusterClusterInfoSpecClusterMountInfoInput - -func (GetClusterClusterInfoSpecClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutput() GetCatalogCatalogInfoPtrOutput { + return o } -func (i GetClusterClusterInfoSpecClusterMountInfoArray) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutput() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { - return i.ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoPtrOutput) ToGetCatalogCatalogInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoPtrOutput { + return o } -func (i GetClusterClusterInfoSpecClusterMountInfoArray) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterMountInfoArrayOutput) +func (o GetCatalogCatalogInfoPtrOutput) Elem() GetCatalogCatalogInfoOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) GetCatalogCatalogInfo { + if v != nil { + return *v + } + var ret GetCatalogCatalogInfo + return ret + }).(GetCatalogCatalogInfoOutput) } -type GetClusterClusterInfoSpecClusterMountInfoOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +func (o GetCatalogCatalogInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *bool { + if v == nil { + return nil + } + return v.BrowseOnly + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoOutput() GetClusterClusterInfoSpecClusterMountInfoOutput { - return o +// Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, +func (o GetCatalogCatalogInfoPtrOutput) CatalogType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.CatalogType + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoOutput { - return o +// Free-form text description +func (o GetCatalogCatalogInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +// The name of the connection to an external data source. +func (o GetCatalogCatalogInfoPtrOutput) ConnectionName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.ConnectionName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoOutput) NetworkFilesystemInfo() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfo) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) +// Time at which this catalog was created, in epoch milliseconds. +func (o GetCatalogCatalogInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +// Username of catalog creator. +func (o GetCatalogCatalogInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +// object describing applied predictive optimization flag. +func (o GetCatalogCatalogInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { + if v == nil { + return nil + } + return v.EffectivePredictiveOptimizationFlag + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) +} -func (GetClusterClusterInfoSpecClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +// Whether predictive optimization should be enabled for this object and objects under it. +func (o GetCatalogCatalogInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.EnablePredictiveOptimization + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoArrayOutput) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutput() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { - return o +// The full name of the catalog. Corresponds with the name field. +func (o GetCatalogCatalogInfoPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoArrayOutput) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoArrayOutput { - return o +// Whether the current securable is accessible from all workspaces or a specific set of workspaces. +func (o GetCatalogCatalogInfoPtrOutput) IsolationMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.IsolationMode + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoSpecClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoSpecClusterMountInfo { - return vs[0].([]GetClusterClusterInfoSpecClusterMountInfo)[vs[1].(int)] - }).(GetClusterClusterInfoSpecClusterMountInfoOutput) +// Unique identifier of parent metastore. +func (o GetCatalogCatalogInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +// name of the catalog +func (o GetCatalogCatalogInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs and GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoPtrOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]string { + if v == nil { + return nil + } + return v.Options + }).(pulumi.StringMapOutput) +} - ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput - ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput +// Current owner of the catalog +func (o GetCatalogCatalogInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +// A map of key-value properties attached to the securable. +func (o GetCatalogCatalogInfoPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) } -func (GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +// The name of delta sharing provider. +func (o GetCatalogCatalogInfoPtrOutput) ProviderName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.ProviderName + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoPtrOutput) ProvisioningInfo() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *GetCatalogCatalogInfoProvisioningInfo { + if v == nil { + return nil + } + return v.ProvisioningInfo + }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -func (i GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) +// Kind of catalog securable. +func (o GetCatalogCatalogInfoPtrOutput) SecurableKind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.SecurableKind + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +// Securable type. +func (o GetCatalogCatalogInfoPtrOutput) SecurableType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.SecurableType + }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +// The name of the share under the share provider. +func (o GetCatalogCatalogInfoPtrOutput) ShareName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.ShareName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { - return o +// Storage Location URL (full path) for managed tables within catalog. +func (o GetCatalogCatalogInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.StorageLocation + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { - return o +// Storage root URL for managed tables within catalog. +func (o GetCatalogCatalogInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.StorageRoot + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetCatalogCatalogInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) +// Username of user who last modified catalog. +func (o GetCatalogCatalogInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecDockerImage struct { - BasicAuth *GetClusterClusterInfoSpecDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct { + InheritedFromName *string `pulumi:"inheritedFromName"` + InheritedFromType *string `pulumi:"inheritedFromType"` + Value string `pulumi:"value"` } -// GetClusterClusterInfoSpecDockerImageInput is an input type that accepts GetClusterClusterInfoSpecDockerImageArgs and GetClusterClusterInfoSpecDockerImageOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImageInput` via: +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput` via: // -// GetClusterClusterInfoSpecDockerImageArgs{...} -type GetClusterClusterInfoSpecDockerImageInput interface { +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput interface { pulumi.Input - ToGetClusterClusterInfoSpecDockerImageOutput() GetClusterClusterInfoSpecDockerImageOutput - ToGetClusterClusterInfoSpecDockerImageOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImageOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput } -type GetClusterClusterInfoSpecDockerImageArgs struct { - BasicAuth GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs struct { + InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` + InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetClusterClusterInfoSpecDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImageOutput() GetClusterClusterInfoSpecDockerImageOutput { - return i.ToGetClusterClusterInfoSpecDockerImageOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageOutput) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) } -func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { - return i.ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageOutput).ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx) +func (i GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput).ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecDockerImagePtrInput is an input type that accepts GetClusterClusterInfoSpecDockerImageArgs, GetClusterClusterInfoSpecDockerImagePtr and GetClusterClusterInfoSpecDockerImagePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImagePtrInput` via: +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs, GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr and GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput` via: // -// GetClusterClusterInfoSpecDockerImageArgs{...} +// GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecDockerImagePtrInput interface { +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput - ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput + ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput } -type getClusterClusterInfoSpecDockerImagePtrType GetClusterClusterInfoSpecDockerImageArgs +type getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs -func GetClusterClusterInfoSpecDockerImagePtr(v *GetClusterClusterInfoSpecDockerImageArgs) GetClusterClusterInfoSpecDockerImagePtrInput { - return (*getClusterClusterInfoSpecDockerImagePtrType)(v) +func GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtr(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput { + return (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType)(v) } -func (*getClusterClusterInfoSpecDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +func (*getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i *getClusterClusterInfoSpecDockerImagePtrType) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { - return i.ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Background()) +func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecDockerImagePtrType) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImagePtrOutput) +func (i *getCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrType) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetClusterClusterInfoSpecDockerImageOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImageOutput() GetClusterClusterInfoSpecDockerImageOutput { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageOutput { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { - return o.ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecDockerImage) *GetClusterClusterInfoSpecDockerImage { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { return &v - }).(GetClusterClusterInfoSpecDockerImagePtrOutput) + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (o GetClusterClusterInfoSpecDockerImageOutput) BasicAuth() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImage) *GetClusterClusterInfoSpecDockerImageBasicAuth { - return v.BasicAuth - }).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) +} -func (GetClusterClusterInfoSpecDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +type GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } + +func (GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetClusterClusterInfoSpecDockerImagePtrOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetClusterClusterInfoSpecDockerImagePtrOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetClusterClusterInfoSpecDockerImagePtrOutput) Elem() GetClusterClusterInfoSpecDockerImageOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImage) GetClusterClusterInfoSpecDockerImage { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag { if v != nil { return *v } - var ret GetClusterClusterInfoSpecDockerImage + var ret GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag return ret - }).(GetClusterClusterInfoSpecDockerImageOutput) + }).(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput) } -func (o GetClusterClusterInfoSpecDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImage) *GetClusterClusterInfoSpecDockerImageBasicAuth { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.BasicAuth - }).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) + return v.InheritedFromName + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImage) *string { +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return &v.Url + return v.InheritedFromType }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +func (o GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoEffectivePredictiveOptimizationFlag) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoSpecDockerImageBasicAuthArgs and GetClusterClusterInfoSpecDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImageBasicAuthInput` via: +type GetCatalogCatalogInfoProvisioningInfo struct { + State *string `pulumi:"state"` +} + +// GetCatalogCatalogInfoProvisioningInfoInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs and GetCatalogCatalogInfoProvisioningInfoOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoInput` via: // -// GetClusterClusterInfoSpecDockerImageBasicAuthArgs{...} -type GetClusterClusterInfoSpecDockerImageBasicAuthInput interface { +// GetCatalogCatalogInfoProvisioningInfoArgs{...} +type GetCatalogCatalogInfoProvisioningInfoInput interface { pulumi.Input - ToGetClusterClusterInfoSpecDockerImageBasicAuthOutput() GetClusterClusterInfoSpecDockerImageBasicAuthOutput - ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthOutput + ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput + ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoOutput } -type GetClusterClusterInfoSpecDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetCatalogCatalogInfoProvisioningInfoArgs struct { + State pulumi.StringPtrInput `pulumi:"state"` } -func (GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +func (GetCatalogCatalogInfoProvisioningInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutput() GetClusterClusterInfoSpecDockerImageBasicAuthOutput { - return i.ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageBasicAuthOutput) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput) } -func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageBasicAuthOutput).ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetCatalogCatalogInfoProvisioningInfoArgs) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoOutput).ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoSpecDockerImageBasicAuthArgs, GetClusterClusterInfoSpecDockerImageBasicAuthPtr and GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput` via: +// GetCatalogCatalogInfoProvisioningInfoPtrInput is an input type that accepts GetCatalogCatalogInfoProvisioningInfoArgs, GetCatalogCatalogInfoProvisioningInfoPtr and GetCatalogCatalogInfoProvisioningInfoPtrOutput values. +// You can construct a concrete instance of `GetCatalogCatalogInfoProvisioningInfoPtrInput` via: // -// GetClusterClusterInfoSpecDockerImageBasicAuthArgs{...} +// GetCatalogCatalogInfoProvisioningInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput interface { +type GetCatalogCatalogInfoProvisioningInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput - ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput + ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput + ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput } -type getClusterClusterInfoSpecDockerImageBasicAuthPtrType GetClusterClusterInfoSpecDockerImageBasicAuthArgs +type getCatalogCatalogInfoProvisioningInfoPtrType GetCatalogCatalogInfoProvisioningInfoArgs -func GetClusterClusterInfoSpecDockerImageBasicAuthPtr(v *GetClusterClusterInfoSpecDockerImageBasicAuthArgs) GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput { - return (*getClusterClusterInfoSpecDockerImageBasicAuthPtrType)(v) +func GetCatalogCatalogInfoProvisioningInfoPtr(v *GetCatalogCatalogInfoProvisioningInfoArgs) GetCatalogCatalogInfoProvisioningInfoPtrInput { + return (*getCatalogCatalogInfoProvisioningInfoPtrType)(v) } -func (*getClusterClusterInfoSpecDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +func (*getCatalogCatalogInfoProvisioningInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (i *getClusterClusterInfoSpecDockerImageBasicAuthPtrType) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return i.ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return i.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecDockerImageBasicAuthPtrType) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) +func (i *getCatalogCatalogInfoProvisioningInfoPtrType) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -type GetClusterClusterInfoSpecDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoProvisioningInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +func (GetCatalogCatalogInfoProvisioningInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutput() GetClusterClusterInfoSpecDockerImageBasicAuthOutput { +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutput() GetCatalogCatalogInfoProvisioningInfoOutput { return o } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthOutput { +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoOutput { return o } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return o.ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecDockerImageBasicAuth) *GetClusterClusterInfoSpecDockerImageBasicAuth { +func (o GetCatalogCatalogInfoProvisioningInfoOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCatalogCatalogInfoProvisioningInfo) *GetCatalogCatalogInfoProvisioningInfo { return &v - }).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) -} - -func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) + }).(GetCatalogCatalogInfoProvisioningInfoPtrOutput) } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetCatalogCatalogInfoProvisioningInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCatalogCatalogInfoProvisioningInfo) *string { return v.State }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetCatalogCatalogInfoProvisioningInfoPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +func (GetCatalogCatalogInfoProvisioningInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCatalogCatalogInfoProvisioningInfo)(nil)).Elem() } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutput() GetCatalogCatalogInfoProvisioningInfoPtrOutput { return o } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) ToGetCatalogCatalogInfoProvisioningInfoPtrOutputWithContext(ctx context.Context) GetCatalogCatalogInfoProvisioningInfoPtrOutput { return o } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoSpecDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImageBasicAuth) GetClusterClusterInfoSpecDockerImageBasicAuth { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) Elem() GetCatalogCatalogInfoProvisioningInfoOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) GetCatalogCatalogInfoProvisioningInfo { if v != nil { return *v } - var ret GetClusterClusterInfoSpecDockerImageBasicAuth + var ret GetCatalogCatalogInfoProvisioningInfo return ret - }).(GetClusterClusterInfoSpecDockerImageBasicAuthOutput) + }).(GetCatalogCatalogInfoProvisioningInfoOutput) } -func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImageBasicAuth) *string { +func (o GetCatalogCatalogInfoProvisioningInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCatalogCatalogInfoProvisioningInfo) *string { if v == nil { return nil } - return &v.Username + return v.State }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type GetClusterClusterInfo struct { + Autoscale *GetClusterClusterInfoAutoscale `pulumi:"autoscale"` + // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetClusterClusterInfoAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetClusterClusterInfoAzureAttributes `pulumi:"azureAttributes"` + ClusterCores *float64 `pulumi:"clusterCores"` + // The id of the cluster + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetClusterClusterInfoClusterLogConf `pulumi:"clusterLogConf"` + ClusterLogStatus *GetClusterClusterInfoClusterLogStatus `pulumi:"clusterLogStatus"` + ClusterMemoryMb *int `pulumi:"clusterMemoryMb"` + // The exact name of the cluster to search + ClusterName *string `pulumi:"clusterName"` + ClusterSource *string `pulumi:"clusterSource"` + CreatorUserName *string `pulumi:"creatorUserName"` + // Additional tags for cluster resources. + CustomTags map[string]string `pulumi:"customTags"` + // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DefaultTags map[string]string `pulumi:"defaultTags"` + DockerImage *GetClusterClusterInfoDockerImage `pulumi:"dockerImage"` + Driver *GetClusterClusterInfoDriver `pulumi:"driver"` + // similar to `instancePoolId`, but for driver node. + DriverInstancePoolId *string `pulumi:"driverInstancePoolId"` + // The node type of the Spark driver. + DriverNodeTypeId *string `pulumi:"driverNodeTypeId"` + // Use autoscaling local storage. + EnableElasticDisk *bool `pulumi:"enableElasticDisk"` + // Enable local disk encryption. + EnableLocalDiskEncryption *bool `pulumi:"enableLocalDiskEncryption"` + Executors []GetClusterClusterInfoExecutor `pulumi:"executors"` + GcpAttributes *GetClusterClusterInfoGcpAttributes `pulumi:"gcpAttributes"` + InitScripts []GetClusterClusterInfoInitScript `pulumi:"initScripts"` + // The pool of idle instances the cluster is attached to. + InstancePoolId *string `pulumi:"instancePoolId"` + IsSingleNode *bool `pulumi:"isSingleNode"` + JdbcPort *int `pulumi:"jdbcPort"` + Kind *string `pulumi:"kind"` + LastRestartedTime *int `pulumi:"lastRestartedTime"` + LastStateLossTime *int `pulumi:"lastStateLossTime"` + // Any supported getNodeType id. + NodeTypeId *string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + // Identifier of Cluster Policy to validate cluster and preset certain defaults. + PolicyId *string `pulumi:"policyId"` + // The type of runtime of the cluster + RuntimeEngine *string `pulumi:"runtimeEngine"` + // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + SingleUserName *string `pulumi:"singleUserName"` + // Map with key-value pairs to fine-tune Spark clusters. + SparkConf map[string]string `pulumi:"sparkConf"` + SparkContextId *int `pulumi:"sparkContextId"` + // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + SparkVersion *string `pulumi:"sparkVersion"` + Spec *GetClusterClusterInfoSpec `pulumi:"spec"` + // SSH public key contents that will be added to each Spark node in this cluster. + SshPublicKeys []string `pulumi:"sshPublicKeys"` + StartTime *int `pulumi:"startTime"` + State *string `pulumi:"state"` + StateMessage *string `pulumi:"stateMessage"` + TerminatedTime *int `pulumi:"terminatedTime"` + TerminationReason *GetClusterClusterInfoTerminationReason `pulumi:"terminationReason"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` + WorkloadType *GetClusterClusterInfoWorkloadType `pulumi:"workloadType"` } -// GetClusterClusterInfoSpecGcpAttributesInput is an input type that accepts GetClusterClusterInfoSpecGcpAttributesArgs and GetClusterClusterInfoSpecGcpAttributesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecGcpAttributesInput` via: +// GetClusterClusterInfoInput is an input type that accepts GetClusterClusterInfoArgs and GetClusterClusterInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInput` via: // -// GetClusterClusterInfoSpecGcpAttributesArgs{...} -type GetClusterClusterInfoSpecGcpAttributesInput interface { +// GetClusterClusterInfoArgs{...} +type GetClusterClusterInfoInput interface { pulumi.Input - ToGetClusterClusterInfoSpecGcpAttributesOutput() GetClusterClusterInfoSpecGcpAttributesOutput - ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoSpecGcpAttributesOutput + ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput + ToGetClusterClusterInfoOutputWithContext(context.Context) GetClusterClusterInfoOutput } -type GetClusterClusterInfoSpecGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetClusterClusterInfoArgs struct { + Autoscale GetClusterClusterInfoAutoscalePtrInput `pulumi:"autoscale"` + // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetClusterClusterInfoAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetClusterClusterInfoAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterCores pulumi.Float64PtrInput `pulumi:"clusterCores"` + // The id of the cluster + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetClusterClusterInfoClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterLogStatus GetClusterClusterInfoClusterLogStatusPtrInput `pulumi:"clusterLogStatus"` + ClusterMemoryMb pulumi.IntPtrInput `pulumi:"clusterMemoryMb"` + // The exact name of the cluster to search + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + ClusterSource pulumi.StringPtrInput `pulumi:"clusterSource"` + CreatorUserName pulumi.StringPtrInput `pulumi:"creatorUserName"` + // Additional tags for cluster resources. + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DefaultTags pulumi.StringMapInput `pulumi:"defaultTags"` + DockerImage GetClusterClusterInfoDockerImagePtrInput `pulumi:"dockerImage"` + Driver GetClusterClusterInfoDriverPtrInput `pulumi:"driver"` + // similar to `instancePoolId`, but for driver node. + DriverInstancePoolId pulumi.StringPtrInput `pulumi:"driverInstancePoolId"` + // The node type of the Spark driver. + DriverNodeTypeId pulumi.StringPtrInput `pulumi:"driverNodeTypeId"` + // Use autoscaling local storage. + EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` + // Enable local disk encryption. + EnableLocalDiskEncryption pulumi.BoolPtrInput `pulumi:"enableLocalDiskEncryption"` + Executors GetClusterClusterInfoExecutorArrayInput `pulumi:"executors"` + GcpAttributes GetClusterClusterInfoGcpAttributesPtrInput `pulumi:"gcpAttributes"` + InitScripts GetClusterClusterInfoInitScriptArrayInput `pulumi:"initScripts"` + // The pool of idle instances the cluster is attached to. + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + IsSingleNode pulumi.BoolPtrInput `pulumi:"isSingleNode"` + JdbcPort pulumi.IntPtrInput `pulumi:"jdbcPort"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + LastRestartedTime pulumi.IntPtrInput `pulumi:"lastRestartedTime"` + LastStateLossTime pulumi.IntPtrInput `pulumi:"lastStateLossTime"` + // Any supported getNodeType id. + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + // Identifier of Cluster Policy to validate cluster and preset certain defaults. + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + // The type of runtime of the cluster + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + // Map with key-value pairs to fine-tune Spark clusters. + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkContextId pulumi.IntPtrInput `pulumi:"sparkContextId"` + // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + SparkVersion pulumi.StringPtrInput `pulumi:"sparkVersion"` + Spec GetClusterClusterInfoSpecPtrInput `pulumi:"spec"` + // SSH public key contents that will be added to each Spark node in this cluster. + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + StartTime pulumi.IntPtrInput `pulumi:"startTime"` + State pulumi.StringPtrInput `pulumi:"state"` + StateMessage pulumi.StringPtrInput `pulumi:"stateMessage"` + TerminatedTime pulumi.IntPtrInput `pulumi:"terminatedTime"` + TerminationReason GetClusterClusterInfoTerminationReasonPtrInput `pulumi:"terminationReason"` + UseMlRuntime pulumi.BoolPtrInput `pulumi:"useMlRuntime"` + WorkloadType GetClusterClusterInfoWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetClusterClusterInfoSpecGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() } -func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesOutput() GetClusterClusterInfoSpecGcpAttributesOutput { - return i.ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { + return i.ToGetClusterClusterInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecGcpAttributesOutput) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput) } -func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecGcpAttributesOutput).ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoArgs) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoOutput).ToGetClusterClusterInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoSpecGcpAttributesArgs, GetClusterClusterInfoSpecGcpAttributesPtr and GetClusterClusterInfoSpecGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecGcpAttributesPtrInput` via: +// GetClusterClusterInfoPtrInput is an input type that accepts GetClusterClusterInfoArgs, GetClusterClusterInfoPtr and GetClusterClusterInfoPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoPtrInput` via: // -// GetClusterClusterInfoSpecGcpAttributesArgs{...} +// GetClusterClusterInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecGcpAttributesPtrInput interface { +type GetClusterClusterInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput - ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput + ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput + ToGetClusterClusterInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoPtrOutput } -type getClusterClusterInfoSpecGcpAttributesPtrType GetClusterClusterInfoSpecGcpAttributesArgs +type getClusterClusterInfoPtrType GetClusterClusterInfoArgs -func GetClusterClusterInfoSpecGcpAttributesPtr(v *GetClusterClusterInfoSpecGcpAttributesArgs) GetClusterClusterInfoSpecGcpAttributesPtrInput { - return (*getClusterClusterInfoSpecGcpAttributesPtrType)(v) +func GetClusterClusterInfoPtr(v *GetClusterClusterInfoArgs) GetClusterClusterInfoPtrInput { + return (*getClusterClusterInfoPtrType)(v) } -func (*getClusterClusterInfoSpecGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +func (*getClusterClusterInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() } -func (i *getClusterClusterInfoSpecGcpAttributesPtrType) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return i.ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return i.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecGcpAttributesPtrType) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +func (i *getClusterClusterInfoPtrType) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoPtrOutput) } -type GetClusterClusterInfoSpecGcpAttributesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +func (GetClusterClusterInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfo)(nil)).Elem() } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesOutput() GetClusterClusterInfoSpecGcpAttributesOutput { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutput() GetClusterClusterInfoOutput { return o } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesOutput { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoOutput { return o } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return o.ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return o.ToGetClusterClusterInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecGcpAttributes) *GetClusterClusterInfoSpecGcpAttributes { +func (o GetClusterClusterInfoOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfo) *GetClusterClusterInfo { return &v - }).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) + }).(GetClusterClusterInfoPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoSpecGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { return v.Autoscale }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +// Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. +func (o GetClusterClusterInfoOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoOutput) ClusterCores() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *float64 { return v.ClusterCores }).(pulumi.Float64PtrOutput) } -type GetClusterClusterInfoSpecGcpAttributesPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +// The id of the cluster +func (o GetClusterClusterInfoOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return o +func (o GetClusterClusterInfoOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { - return o +func (o GetClusterClusterInfoOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { return v.ClusterLogStatus }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) Elem() GetClusterClusterInfoSpecGcpAttributesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) GetClusterClusterInfoSpecGcpAttributes { - if v != nil { - return *v - } - var ret GetClusterClusterInfoSpecGcpAttributes - return ret - }).(GetClusterClusterInfoSpecGcpAttributesOutput) +func (o GetClusterClusterInfoOutput) ClusterMemoryMb() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.ClusterMemoryMb }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +// The exact name of the cluster to search +func (o GetClusterClusterInfoOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoOutput) ClusterSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.ClusterSource }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +// Additional tags for cluster resources. +func (o GetClusterClusterInfoOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. +func (o GetClusterClusterInfoOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoOutput) DefaultTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.DefaultTags }).(pulumi.StringMapOutput) } -type GetClusterClusterInfoSpecInitScript struct { - Abfss *GetClusterClusterInfoSpecInitScriptAbfss `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs *GetClusterClusterInfoSpecInitScriptDbfs `pulumi:"dbfs"` - File *GetClusterClusterInfoSpecInitScriptFile `pulumi:"file"` - Gcs *GetClusterClusterInfoSpecInitScriptGcs `pulumi:"gcs"` - S3 *GetClusterClusterInfoSpecInitScriptS3 `pulumi:"s3"` - Volumes *GetClusterClusterInfoSpecInitScriptVolumes `pulumi:"volumes"` - Workspace *GetClusterClusterInfoSpecInitScriptWorkspace `pulumi:"workspace"` +func (o GetClusterClusterInfoOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { return v.DockerImage }).(GetClusterClusterInfoDockerImagePtrOutput) } -// GetClusterClusterInfoSpecInitScriptInput is an input type that accepts GetClusterClusterInfoSpecInitScriptArgs and GetClusterClusterInfoSpecInitScriptOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptInput` via: -// -// GetClusterClusterInfoSpecInitScriptArgs{...} -type GetClusterClusterInfoSpecInitScriptInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptOutput() GetClusterClusterInfoSpecInitScriptOutput - ToGetClusterClusterInfoSpecInitScriptOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptOutput +func (o GetClusterClusterInfoOutput) Driver() GetClusterClusterInfoDriverPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoDriver { return v.Driver }).(GetClusterClusterInfoDriverPtrOutput) } -type GetClusterClusterInfoSpecInitScriptArgs struct { - Abfss GetClusterClusterInfoSpecInitScriptAbfssPtrInput `pulumi:"abfss"` - // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. - Dbfs GetClusterClusterInfoSpecInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetClusterClusterInfoSpecInitScriptFilePtrInput `pulumi:"file"` - Gcs GetClusterClusterInfoSpecInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetClusterClusterInfoSpecInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetClusterClusterInfoSpecInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetClusterClusterInfoSpecInitScriptWorkspacePtrInput `pulumi:"workspace"` +// similar to `instancePoolId`, but for driver node. +func (o GetClusterClusterInfoOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DriverInstancePoolId }).(pulumi.StringPtrOutput) } -func (GetClusterClusterInfoSpecInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScript)(nil)).Elem() +// The node type of the Spark driver. +func (o GetClusterClusterInfoOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.DriverNodeTypeId }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptArgs) ToGetClusterClusterInfoSpecInitScriptOutput() GetClusterClusterInfoSpecInitScriptOutput { - return i.ToGetClusterClusterInfoSpecInitScriptOutputWithContext(context.Background()) +// Use autoscaling local storage. +func (o GetClusterClusterInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptArgs) ToGetClusterClusterInfoSpecInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptOutput) +// Enable local disk encryption. +func (o GetClusterClusterInfoOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolPtrOutput) } -// GetClusterClusterInfoSpecInitScriptArrayInput is an input type that accepts GetClusterClusterInfoSpecInitScriptArray and GetClusterClusterInfoSpecInitScriptArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptArrayInput` via: -// -// GetClusterClusterInfoSpecInitScriptArray{ GetClusterClusterInfoSpecInitScriptArgs{...} } -type GetClusterClusterInfoSpecInitScriptArrayInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptArrayOutput() GetClusterClusterInfoSpecInitScriptArrayOutput - ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptArrayOutput +func (o GetClusterClusterInfoOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoExecutor { return v.Executors }).(GetClusterClusterInfoExecutorArrayOutput) } -type GetClusterClusterInfoSpecInitScriptArray []GetClusterClusterInfoSpecInitScriptInput - -func (GetClusterClusterInfoSpecInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoSpecInitScript)(nil)).Elem() +func (o GetClusterClusterInfoOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptArray) ToGetClusterClusterInfoSpecInitScriptArrayOutput() GetClusterClusterInfoSpecInitScriptArrayOutput { - return i.ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []GetClusterClusterInfoInitScript { return v.InitScripts }).(GetClusterClusterInfoInitScriptArrayOutput) } -func (i GetClusterClusterInfoSpecInitScriptArray) ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptArrayOutput) +// The pool of idle instances the cluster is attached to. +func (o GetClusterClusterInfoOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScript)(nil)).Elem() +func (o GetClusterClusterInfoOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.IsSingleNode }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) ToGetClusterClusterInfoSpecInitScriptOutput() GetClusterClusterInfoSpecInitScriptOutput { - return o +func (o GetClusterClusterInfoOutput) JdbcPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.JdbcPort }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) ToGetClusterClusterInfoSpecInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptOutput { - return o +func (o GetClusterClusterInfoOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.Kind }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) Abfss() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) +func (o GetClusterClusterInfoOutput) LastRestartedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastRestartedTime }).(pulumi.IntPtrOutput) } -// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. -func (o GetClusterClusterInfoSpecInitScriptOutput) Dbfs() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) +func (o GetClusterClusterInfoOutput) LastStateLossTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.LastStateLossTime }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) File() GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptFile { return v.File }).(GetClusterClusterInfoSpecInitScriptFilePtrOutput) +// Any supported getNodeType id. +func (o GetClusterClusterInfoOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) Gcs() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoSpecInitScriptGcsPtrOutput) +func (o GetClusterClusterInfoOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) S3() GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptS3 { return v.S3 }).(GetClusterClusterInfoSpecInitScriptS3PtrOutput) +// Identifier of Cluster Policy to validate cluster and preset certain defaults. +func (o GetClusterClusterInfoOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) Volumes() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptVolumes { - return v.Volumes - }).(GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) +// The type of runtime of the cluster +func (o GetClusterClusterInfoOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptOutput) Workspace() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptWorkspace { - return v.Workspace - }).(GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) +// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). +func (o GetClusterClusterInfoOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoSpecInitScript)(nil)).Elem() +// Map with key-value pairs to fine-tune Spark clusters. +func (o GetClusterClusterInfoOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o GetClusterClusterInfoSpecInitScriptArrayOutput) ToGetClusterClusterInfoSpecInitScriptArrayOutput() GetClusterClusterInfoSpecInitScriptArrayOutput { - return o +func (o GetClusterClusterInfoOutput) SparkContextId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.SparkContextId }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptArrayOutput) ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptArrayOutput { - return o +// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. +func (o GetClusterClusterInfoOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfo) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o GetClusterClusterInfoSpecInitScriptArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoSpecInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoSpecInitScript { - return vs[0].([]GetClusterClusterInfoSpecInitScript)[vs[1].(int)] - }).(GetClusterClusterInfoSpecInitScriptOutput) +// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. +func (o GetClusterClusterInfoOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.SparkVersion }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptAbfss struct { - Destination string `pulumi:"destination"` +func (o GetClusterClusterInfoOutput) Spec() GetClusterClusterInfoSpecPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoSpec { return v.Spec }).(GetClusterClusterInfoSpecPtrOutput) } -// GetClusterClusterInfoSpecInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoSpecInitScriptAbfssArgs and GetClusterClusterInfoSpecInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptAbfssInput` via: -// -// GetClusterClusterInfoSpecInitScriptAbfssArgs{...} -type GetClusterClusterInfoSpecInitScriptAbfssInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptAbfssOutput() GetClusterClusterInfoSpecInitScriptAbfssOutput - ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptAbfssOutput +// SSH public key contents that will be added to each Spark node in this cluster. +func (o GetClusterClusterInfoOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfo) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -type GetClusterClusterInfoSpecInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetClusterClusterInfoOutput) StartTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.StartTime }).(pulumi.IntPtrOutput) } -func (GetClusterClusterInfoSpecInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +func (o GetClusterClusterInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.State }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssOutput() GetClusterClusterInfoSpecInitScriptAbfssOutput { - return i.ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *string { return v.StateMessage }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptAbfssOutput) +func (o GetClusterClusterInfoOutput) TerminatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *int { return v.TerminatedTime }).(pulumi.IntPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { return v.TerminationReason }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptAbfssOutput).ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx) +func (o GetClusterClusterInfoOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *bool { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) } -// GetClusterClusterInfoSpecInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptAbfssArgs, GetClusterClusterInfoSpecInitScriptAbfssPtr and GetClusterClusterInfoSpecInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptAbfssPtrInput` via: -// -// GetClusterClusterInfoSpecInitScriptAbfssArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoSpecInitScriptAbfssPtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput - ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput +func (o GetClusterClusterInfoOutput) WorkloadType() GetClusterClusterInfoWorkloadTypePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfo) *GetClusterClusterInfoWorkloadType { return v.WorkloadType }).(GetClusterClusterInfoWorkloadTypePtrOutput) } -type getClusterClusterInfoSpecInitScriptAbfssPtrType GetClusterClusterInfoSpecInitScriptAbfssArgs - -func GetClusterClusterInfoSpecInitScriptAbfssPtr(v *GetClusterClusterInfoSpecInitScriptAbfssArgs) GetClusterClusterInfoSpecInitScriptAbfssPtrInput { - return (*getClusterClusterInfoSpecInitScriptAbfssPtrType)(v) -} +type GetClusterClusterInfoPtrOutput struct{ *pulumi.OutputState } -func (*getClusterClusterInfoSpecInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +func (GetClusterClusterInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfo)(nil)).Elem() } -func (i *getClusterClusterInfoSpecInitScriptAbfssPtrType) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutput() GetClusterClusterInfoPtrOutput { + return o } -func (i *getClusterClusterInfoSpecInitScriptAbfssPtrType) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) +func (o GetClusterClusterInfoPtrOutput) ToGetClusterClusterInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoPtrOutput { + return o } -type GetClusterClusterInfoSpecInitScriptAbfssOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +func (o GetClusterClusterInfoPtrOutput) Elem() GetClusterClusterInfoOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) GetClusterClusterInfo { + if v != nil { + return *v + } + var ret GetClusterClusterInfo + return ret + }).(GetClusterClusterInfoOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssOutput() GetClusterClusterInfoSpecInitScriptAbfssOutput { - return o +func (o GetClusterClusterInfoPtrOutput) Autoscale() GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssOutput { - return o +// Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. +func (o GetClusterClusterInfoPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) AwsAttributes() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptAbfss) *GetClusterClusterInfoSpecInitScriptAbfss { - return &v - }).(GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) +func (o GetClusterClusterInfoPtrOutput) AzureAttributes() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoPtrOutput) ClusterCores() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *float64 { + if v == nil { + return nil + } + return v.ClusterCores + }).(pulumi.Float64PtrOutput) } -type GetClusterClusterInfoSpecInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +// The id of the cluster +func (o GetClusterClusterInfoPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return o +func (o GetClusterClusterInfoPtrOutput) ClusterLogConf() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { - return o +func (o GetClusterClusterInfoPtrOutput) ClusterLogStatus() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoClusterLogStatus { + if v == nil { + return nil + } + return v.ClusterLogStatus + }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptAbfssOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptAbfss) GetClusterClusterInfoSpecInitScriptAbfss { - if v != nil { - return *v +func (o GetClusterClusterInfoPtrOutput) ClusterMemoryMb() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil } - var ret GetClusterClusterInfoSpecInitScriptAbfss - return ret - }).(GetClusterClusterInfoSpecInitScriptAbfssOutput) + return v.ClusterMemoryMb + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptAbfss) *string { +// The exact name of the cluster to search +func (o GetClusterClusterInfoPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { if v == nil { return nil } - return &v.Destination + return v.ClusterName }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o GetClusterClusterInfoPtrOutput) ClusterSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.ClusterSource + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoSpecInitScriptDbfsArgs and GetClusterClusterInfoSpecInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptDbfsInput` via: -// -// GetClusterClusterInfoSpecInitScriptDbfsArgs{...} -type GetClusterClusterInfoSpecInitScriptDbfsInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptDbfsOutput() GetClusterClusterInfoSpecInitScriptDbfsOutput - ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptDbfsOutput +func (o GetClusterClusterInfoPtrOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.CreatorUserName + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +// Additional tags for cluster resources. +func (o GetClusterClusterInfoPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -func (GetClusterClusterInfoSpecInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. +func (o GetClusterClusterInfoPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsOutput() GetClusterClusterInfoSpecInitScriptDbfsOutput { - return i.ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) DefaultTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { + if v == nil { + return nil + } + return v.DefaultTags + }).(pulumi.StringMapOutput) } -func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptDbfsOutput) +func (o GetClusterClusterInfoPtrOutput) DockerImage() GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) Driver() GetClusterClusterInfoDriverPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoDriver { + if v == nil { + return nil + } + return v.Driver + }).(GetClusterClusterInfoDriverPtrOutput) } -func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptDbfsOutput).ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx) +// similar to `instancePoolId`, but for driver node. +func (o GetClusterClusterInfoPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptDbfsArgs, GetClusterClusterInfoSpecInitScriptDbfsPtr and GetClusterClusterInfoSpecInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptDbfsPtrInput` via: -// -// GetClusterClusterInfoSpecInitScriptDbfsArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoSpecInitScriptDbfsPtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput - ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput +// The node type of the Spark driver. +func (o GetClusterClusterInfoPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -type getClusterClusterInfoSpecInitScriptDbfsPtrType GetClusterClusterInfoSpecInitScriptDbfsArgs - -func GetClusterClusterInfoSpecInitScriptDbfsPtr(v *GetClusterClusterInfoSpecInitScriptDbfsArgs) GetClusterClusterInfoSpecInitScriptDbfsPtrInput { - return (*getClusterClusterInfoSpecInitScriptDbfsPtrType)(v) +// Use autoscaling local storage. +func (o GetClusterClusterInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (*getClusterClusterInfoSpecInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +// Enable local disk encryption. +func (o GetClusterClusterInfoPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *bool { + if v == nil { + return nil + } + return v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (i *getClusterClusterInfoSpecInitScriptDbfsPtrType) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) Executors() GetClusterClusterInfoExecutorArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoExecutor { + if v == nil { + return nil + } + return v.Executors + }).(GetClusterClusterInfoExecutorArrayOutput) } -func (i *getClusterClusterInfoSpecInitScriptDbfsPtrType) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) +func (o GetClusterClusterInfoPtrOutput) GcpAttributes() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -type GetClusterClusterInfoSpecInitScriptDbfsOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +func (o GetClusterClusterInfoPtrOutput) InitScripts() GetClusterClusterInfoInitScriptArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []GetClusterClusterInfoInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetClusterClusterInfoInitScriptArrayOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsOutput() GetClusterClusterInfoSpecInitScriptDbfsOutput { - return o +// The pool of idle instances the cluster is attached to. +func (o GetClusterClusterInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsOutput { - return o +func (o GetClusterClusterInfoPtrOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *bool { + if v == nil { + return nil + } + return v.IsSingleNode + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoPtrOutput) JdbcPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.JdbcPort + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptDbfs) *GetClusterClusterInfoSpecInitScriptDbfs { - return &v - }).(GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) +func (o GetClusterClusterInfoPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.Kind + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoPtrOutput) LastRestartedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.LastRestartedTime + }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoSpecInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +func (o GetClusterClusterInfoPtrOutput) LastStateLossTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.LastStateLossTime + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return o +// Any supported getNodeType id. +func (o GetClusterClusterInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { - return o +func (o GetClusterClusterInfoPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptDbfsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptDbfs) GetClusterClusterInfoSpecInitScriptDbfs { - if v != nil { - return *v +// Identifier of Cluster Policy to validate cluster and preset certain defaults. +func (o GetClusterClusterInfoPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil } - var ret GetClusterClusterInfoSpecInitScriptDbfs - return ret - }).(GetClusterClusterInfoSpecInitScriptDbfsOutput) + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptDbfs) *string { +// The type of runtime of the cluster +func (o GetClusterClusterInfoPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { if v == nil { return nil } - return &v.Destination + return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptFile struct { - Destination string `pulumi:"destination"` -} - -// GetClusterClusterInfoSpecInitScriptFileInput is an input type that accepts GetClusterClusterInfoSpecInitScriptFileArgs and GetClusterClusterInfoSpecInitScriptFileOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptFileInput` via: -// -// GetClusterClusterInfoSpecInitScriptFileArgs{...} -type GetClusterClusterInfoSpecInitScriptFileInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptFileOutput() GetClusterClusterInfoSpecInitScriptFileOutput - ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptFileOutput -} - -type GetClusterClusterInfoSpecInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetClusterClusterInfoSpecInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() -} - -func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFileOutput() GetClusterClusterInfoSpecInitScriptFileOutput { - return i.ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(context.Background()) -} - -func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptFileOutput) -} - -func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Background()) -} - -func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptFileOutput).ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx) -} - -// GetClusterClusterInfoSpecInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptFileArgs, GetClusterClusterInfoSpecInitScriptFilePtr and GetClusterClusterInfoSpecInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptFilePtrInput` via: -// -// GetClusterClusterInfoSpecInitScriptFileArgs{...} -// -// or: -// -// nil -type GetClusterClusterInfoSpecInitScriptFilePtrInput interface { - pulumi.Input - - ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput - ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput -} - -type getClusterClusterInfoSpecInitScriptFilePtrType GetClusterClusterInfoSpecInitScriptFileArgs - -func GetClusterClusterInfoSpecInitScriptFilePtr(v *GetClusterClusterInfoSpecInitScriptFileArgs) GetClusterClusterInfoSpecInitScriptFilePtrInput { - return (*getClusterClusterInfoSpecInitScriptFilePtrType)(v) -} - -func (*getClusterClusterInfoSpecInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). +func (o GetClusterClusterInfoPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -func (i *getClusterClusterInfoSpecInitScriptFilePtrType) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Background()) +// Map with key-value pairs to fine-tune Spark clusters. +func (o GetClusterClusterInfoPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.StringMapOutput) } -func (i *getClusterClusterInfoSpecInitScriptFilePtrType) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptFilePtrOutput) +func (o GetClusterClusterInfoPtrOutput) SparkContextId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.SparkContextId + }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoSpecInitScriptFileOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. +func (o GetClusterClusterInfoPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) map[string]string { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.StringMapOutput) } -func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFileOutput() GetClusterClusterInfoSpecInitScriptFileOutput { - return o +// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. +func (o GetClusterClusterInfoPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.SparkVersion + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFileOutput { - return o +func (o GetClusterClusterInfoPtrOutput) Spec() GetClusterClusterInfoSpecPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoSpec { + if v == nil { + return nil + } + return v.Spec + }).(GetClusterClusterInfoSpecPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Background()) +// SSH public key contents that will be added to each Spark node in this cluster. +func (o GetClusterClusterInfoPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptFile) *GetClusterClusterInfoSpecInitScriptFile { - return &v - }).(GetClusterClusterInfoSpecInitScriptFilePtrOutput) +func (o GetClusterClusterInfoPtrOutput) StartTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.StartTime + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.State + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptFilePtrOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +func (o GetClusterClusterInfoPtrOutput) StateMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *string { + if v == nil { + return nil + } + return v.StateMessage + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return o +func (o GetClusterClusterInfoPtrOutput) TerminatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *int { + if v == nil { + return nil + } + return v.TerminatedTime + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { - return o +func (o GetClusterClusterInfoPtrOutput) TerminationReason() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoTerminationReason { + if v == nil { + return nil + } + return v.TerminationReason + }).(GetClusterClusterInfoTerminationReasonPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) Elem() GetClusterClusterInfoSpecInitScriptFileOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptFile) GetClusterClusterInfoSpecInitScriptFile { - if v != nil { - return *v +func (o GetClusterClusterInfoPtrOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *bool { + if v == nil { + return nil } - var ret GetClusterClusterInfoSpecInitScriptFile - return ret - }).(GetClusterClusterInfoSpecInitScriptFileOutput) + return v.UseMlRuntime + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptFile) *string { +func (o GetClusterClusterInfoPtrOutput) WorkloadType() GetClusterClusterInfoWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfo) *GetClusterClusterInfoWorkloadType { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.WorkloadType + }).(GetClusterClusterInfoWorkloadTypePtrOutput) } -type GetClusterClusterInfoSpecInitScriptGcs struct { - Destination string `pulumi:"destination"` +type GetClusterClusterInfoAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetClusterClusterInfoSpecInitScriptGcsInput is an input type that accepts GetClusterClusterInfoSpecInitScriptGcsArgs and GetClusterClusterInfoSpecInitScriptGcsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptGcsInput` via: +// GetClusterClusterInfoAutoscaleInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs and GetClusterClusterInfoAutoscaleOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAutoscaleInput` via: // -// GetClusterClusterInfoSpecInitScriptGcsArgs{...} -type GetClusterClusterInfoSpecInitScriptGcsInput interface { +// GetClusterClusterInfoAutoscaleArgs{...} +type GetClusterClusterInfoAutoscaleInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptGcsOutput() GetClusterClusterInfoSpecInitScriptGcsOutput - ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptGcsOutput + ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput + ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoAutoscaleOutput } -type GetClusterClusterInfoSpecInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetClusterClusterInfoAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetClusterClusterInfoSpecInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +func (GetClusterClusterInfoAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsOutput() GetClusterClusterInfoSpecInitScriptGcsOutput { - return i.ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { + return i.ToGetClusterClusterInfoAutoscaleOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptGcsOutput) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput) } -func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptGcsOutput).ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAutoscaleArgs) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscaleOutput).ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptGcsArgs, GetClusterClusterInfoSpecInitScriptGcsPtr and GetClusterClusterInfoSpecInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptGcsPtrInput` via: +// GetClusterClusterInfoAutoscalePtrInput is an input type that accepts GetClusterClusterInfoAutoscaleArgs, GetClusterClusterInfoAutoscalePtr and GetClusterClusterInfoAutoscalePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAutoscalePtrInput` via: // -// GetClusterClusterInfoSpecInitScriptGcsArgs{...} +// GetClusterClusterInfoAutoscaleArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecInitScriptGcsPtrInput interface { +type GetClusterClusterInfoAutoscalePtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput - ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput + ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput + ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoAutoscalePtrOutput } -type getClusterClusterInfoSpecInitScriptGcsPtrType GetClusterClusterInfoSpecInitScriptGcsArgs +type getClusterClusterInfoAutoscalePtrType GetClusterClusterInfoAutoscaleArgs -func GetClusterClusterInfoSpecInitScriptGcsPtr(v *GetClusterClusterInfoSpecInitScriptGcsArgs) GetClusterClusterInfoSpecInitScriptGcsPtrInput { - return (*getClusterClusterInfoSpecInitScriptGcsPtrType)(v) +func GetClusterClusterInfoAutoscalePtr(v *GetClusterClusterInfoAutoscaleArgs) GetClusterClusterInfoAutoscalePtrInput { + return (*getClusterClusterInfoAutoscalePtrType)(v) } -func (*getClusterClusterInfoSpecInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +func (*getClusterClusterInfoAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (i *getClusterClusterInfoSpecInitScriptGcsPtrType) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return i.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecInitScriptGcsPtrType) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptGcsPtrOutput) +func (i *getClusterClusterInfoAutoscalePtrType) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAutoscalePtrOutput) } -type GetClusterClusterInfoSpecInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAutoscaleOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +func (GetClusterClusterInfoAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsOutput() GetClusterClusterInfoSpecInitScriptGcsOutput { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutput() GetClusterClusterInfoAutoscaleOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsOutput { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscaleOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { + return o.ToGetClusterClusterInfoAutoscalePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptGcs) *GetClusterClusterInfoSpecInitScriptGcs { +func (o GetClusterClusterInfoAutoscaleOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAutoscale) *GetClusterClusterInfoAutoscale { return &v - }).(GetClusterClusterInfoSpecInitScriptGcsPtrOutput) + }).(GetClusterClusterInfoAutoscalePtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoSpecInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} -func (GetClusterClusterInfoSpecInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +type GetClusterClusterInfoAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAutoscale)(nil)).Elem() } -func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { +func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutput() GetClusterClusterInfoAutoscalePtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { +func (o GetClusterClusterInfoAutoscalePtrOutput) ToGetClusterClusterInfoAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAutoscalePtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptGcsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptGcs) GetClusterClusterInfoSpecInitScriptGcs { +func (o GetClusterClusterInfoAutoscalePtrOutput) Elem() GetClusterClusterInfoAutoscaleOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) GetClusterClusterInfoAutoscale { if v != nil { return *v } - var ret GetClusterClusterInfoSpecInitScriptGcs + var ret GetClusterClusterInfoAutoscale return ret - }).(GetClusterClusterInfoSpecInitScriptGcsOutput) + }).(GetClusterClusterInfoAutoscaleOutput) } -func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptGcs) *string { +func (o GetClusterClusterInfoAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoSpecInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (o GetClusterClusterInfoAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -// GetClusterClusterInfoSpecInitScriptS3Input is an input type that accepts GetClusterClusterInfoSpecInitScriptS3Args and GetClusterClusterInfoSpecInitScriptS3Output values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptS3Input` via: +type GetClusterClusterInfoAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetClusterClusterInfoAwsAttributesInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs and GetClusterClusterInfoAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesInput` via: // -// GetClusterClusterInfoSpecInitScriptS3Args{...} -type GetClusterClusterInfoSpecInitScriptS3Input interface { +// GetClusterClusterInfoAwsAttributesArgs{...} +type GetClusterClusterInfoAwsAttributesInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptS3Output() GetClusterClusterInfoSpecInitScriptS3Output - ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptS3Output + ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput + ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesOutput } -type GetClusterClusterInfoSpecInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetClusterClusterInfoAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetClusterClusterInfoSpecInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +func (GetClusterClusterInfoAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3Output() GetClusterClusterInfoSpecInitScriptS3Output { - return i.ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(context.Background()) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { + return i.ToGetClusterClusterInfoAwsAttributesOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptS3Output) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput) } -func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptS3Output).ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAwsAttributesArgs) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesOutput).ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptS3Args, GetClusterClusterInfoSpecInitScriptS3Ptr and GetClusterClusterInfoSpecInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptS3PtrInput` via: +// GetClusterClusterInfoAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoAwsAttributesArgs, GetClusterClusterInfoAwsAttributesPtr and GetClusterClusterInfoAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAwsAttributesPtrInput` via: // -// GetClusterClusterInfoSpecInitScriptS3Args{...} +// GetClusterClusterInfoAwsAttributesArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecInitScriptS3PtrInput interface { +type GetClusterClusterInfoAwsAttributesPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput - ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput + ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput + ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAwsAttributesPtrOutput } -type getClusterClusterInfoSpecInitScriptS3PtrType GetClusterClusterInfoSpecInitScriptS3Args +type getClusterClusterInfoAwsAttributesPtrType GetClusterClusterInfoAwsAttributesArgs -func GetClusterClusterInfoSpecInitScriptS3Ptr(v *GetClusterClusterInfoSpecInitScriptS3Args) GetClusterClusterInfoSpecInitScriptS3PtrInput { - return (*getClusterClusterInfoSpecInitScriptS3PtrType)(v) +func GetClusterClusterInfoAwsAttributesPtr(v *GetClusterClusterInfoAwsAttributesArgs) GetClusterClusterInfoAwsAttributesPtrInput { + return (*getClusterClusterInfoAwsAttributesPtrType)(v) } -func (*getClusterClusterInfoSpecInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +func (*getClusterClusterInfoAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (i *getClusterClusterInfoSpecInitScriptS3PtrType) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecInitScriptS3PtrType) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptS3PtrOutput) +func (i *getClusterClusterInfoAwsAttributesPtrType) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAwsAttributesPtrOutput) } -type GetClusterClusterInfoSpecInitScriptS3Output struct{ *pulumi.OutputState } +type GetClusterClusterInfoAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +func (GetClusterClusterInfoAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3Output() GetClusterClusterInfoSpecInitScriptS3Output { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutput() GetClusterClusterInfoAwsAttributesOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3Output { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptS3) *GetClusterClusterInfoSpecInitScriptS3 { +func (o GetClusterClusterInfoAwsAttributesOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAwsAttributes) *GetClusterClusterInfoAwsAttributes { return &v - }).(GetClusterClusterInfoSpecInitScriptS3PtrOutput) + }).(GetClusterClusterInfoAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type GetClusterClusterInfoSpecInitScriptS3PtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +func (o GetClusterClusterInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { +func (o GetClusterClusterInfoAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAwsAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutput() GetClusterClusterInfoAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ToGetClusterClusterInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Elem() GetClusterClusterInfoSpecInitScriptS3Output { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) GetClusterClusterInfoSpecInitScriptS3 { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) Elem() GetClusterClusterInfoAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) GetClusterClusterInfoAwsAttributes { if v != nil { return *v } - var ret GetClusterClusterInfoSpecInitScriptS3 + var ret GetClusterClusterInfoAwsAttributes return ret - }).(GetClusterClusterInfoSpecInitScriptS3Output) + }).(GetClusterClusterInfoAwsAttributesOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { if v == nil { return nil } - return v.CannedAcl + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *bool { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return v.Endpoint + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return v.KmsKey + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { +func (o GetClusterClusterInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *int { if v == nil { return nil } - return v.Region + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetClusterClusterInfoAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetClusterClusterInfoSpecInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoSpecInitScriptVolumesArgs and GetClusterClusterInfoSpecInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptVolumesInput` via: +// GetClusterClusterInfoAzureAttributesInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs and GetClusterClusterInfoAzureAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesInput` via: // -// GetClusterClusterInfoSpecInitScriptVolumesArgs{...} -type GetClusterClusterInfoSpecInitScriptVolumesInput interface { +// GetClusterClusterInfoAzureAttributesArgs{...} +type GetClusterClusterInfoAzureAttributesInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptVolumesOutput() GetClusterClusterInfoSpecInitScriptVolumesOutput - ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptVolumesOutput + ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput + ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesOutput } -type GetClusterClusterInfoSpecInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetClusterClusterInfoAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetClusterClusterInfoSpecInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesOutput() GetClusterClusterInfoSpecInitScriptVolumesOutput { - return i.ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { + return i.ToGetClusterClusterInfoAzureAttributesOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptVolumesOutput) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput) } -func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptVolumesOutput).ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAzureAttributesArgs) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesOutput).ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptVolumesArgs, GetClusterClusterInfoSpecInitScriptVolumesPtr and GetClusterClusterInfoSpecInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptVolumesPtrInput` via: +// GetClusterClusterInfoAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesArgs, GetClusterClusterInfoAzureAttributesPtr and GetClusterClusterInfoAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesPtrInput` via: // -// GetClusterClusterInfoSpecInitScriptVolumesArgs{...} +// GetClusterClusterInfoAzureAttributesArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecInitScriptVolumesPtrInput interface { +type GetClusterClusterInfoAzureAttributesPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput - ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput + ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput + ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesPtrOutput } -type getClusterClusterInfoSpecInitScriptVolumesPtrType GetClusterClusterInfoSpecInitScriptVolumesArgs +type getClusterClusterInfoAzureAttributesPtrType GetClusterClusterInfoAzureAttributesArgs -func GetClusterClusterInfoSpecInitScriptVolumesPtr(v *GetClusterClusterInfoSpecInitScriptVolumesArgs) GetClusterClusterInfoSpecInitScriptVolumesPtrInput { - return (*getClusterClusterInfoSpecInitScriptVolumesPtrType)(v) +func GetClusterClusterInfoAzureAttributesPtr(v *GetClusterClusterInfoAzureAttributesArgs) GetClusterClusterInfoAzureAttributesPtrInput { + return (*getClusterClusterInfoAzureAttributesPtrType)(v) } -func (*getClusterClusterInfoSpecInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +func (*getClusterClusterInfoAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (i *getClusterClusterInfoSpecInitScriptVolumesPtrType) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecInitScriptVolumesPtrType) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) +func (i *getClusterClusterInfoAzureAttributesPtrType) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesPtrOutput) } -type GetClusterClusterInfoSpecInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesOutput() GetClusterClusterInfoSpecInitScriptVolumesOutput { +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutput() GetClusterClusterInfoAzureAttributesOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesOutput { +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptVolumes) *GetClusterClusterInfoSpecInitScriptVolumes { +func (o GetClusterClusterInfoAzureAttributesOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributes { return &v - }).(GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) + }).(GetClusterClusterInfoAzureAttributesPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} -func (GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +func (o GetClusterClusterInfoAzureAttributesOutput) LogAnalyticsInfo() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { +func (o GetClusterClusterInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} + +type GetClusterClusterInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutput() GetClusterClusterInfoAzureAttributesPtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) ToGetClusterClusterInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesPtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptVolumesOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptVolumes) GetClusterClusterInfoSpecInitScriptVolumes { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) Elem() GetClusterClusterInfoAzureAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) GetClusterClusterInfoAzureAttributes { if v != nil { return *v } - var ret GetClusterClusterInfoSpecInitScriptVolumes + var ret GetClusterClusterInfoAzureAttributes return ret - }).(GetClusterClusterInfoSpecInitScriptVolumesOutput) + }).(GetClusterClusterInfoAzureAttributesOutput) } -func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptVolumes) *string { +func (o GetClusterClusterInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *string { if v == nil { return nil } - return &v.Destination + return v.Availability }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o GetClusterClusterInfoAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -// GetClusterClusterInfoSpecInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoSpecInitScriptWorkspaceArgs and GetClusterClusterInfoSpecInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptWorkspaceInput` via: +func (o GetClusterClusterInfoAzureAttributesPtrOutput) LogAnalyticsInfo() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { + if v == nil { + return nil + } + return v.LogAnalyticsInfo + }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) +} + +func (o GetClusterClusterInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type GetClusterClusterInfoAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +} + +// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput is an input type that accepts GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs and GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput` via: // -// GetClusterClusterInfoSpecInitScriptWorkspaceArgs{...} -type GetClusterClusterInfoSpecInitScriptWorkspaceInput interface { +// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{...} +type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptWorkspaceOutput() GetClusterClusterInfoSpecInitScriptWorkspaceOutput - ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptWorkspaceOutput + ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput + ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput } -type GetClusterClusterInfoSpecInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` } -func (GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutput() GetClusterClusterInfoSpecInitScriptWorkspaceOutput { - return i.ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { + return i.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptWorkspaceOutput) +func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) } -func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptWorkspaceOutput).ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput).ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptWorkspaceArgs, GetClusterClusterInfoSpecInitScriptWorkspacePtr and GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptWorkspacePtrInput` via: +// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs, GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtr and GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput` via: // -// GetClusterClusterInfoSpecInitScriptWorkspaceArgs{...} +// GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecInitScriptWorkspacePtrInput interface { +type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput - ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput + ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput + ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput } -type getClusterClusterInfoSpecInitScriptWorkspacePtrType GetClusterClusterInfoSpecInitScriptWorkspaceArgs +type getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs -func GetClusterClusterInfoSpecInitScriptWorkspacePtr(v *GetClusterClusterInfoSpecInitScriptWorkspaceArgs) GetClusterClusterInfoSpecInitScriptWorkspacePtrInput { - return (*getClusterClusterInfoSpecInitScriptWorkspacePtrType)(v) +func GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtr(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput { + return (*getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType)(v) } -func (*getClusterClusterInfoSpecInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +func (*getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (i *getClusterClusterInfoSpecInitScriptWorkspacePtrType) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return i.ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecInitScriptWorkspacePtrType) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) +func (i *getClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) } -type GetClusterClusterInfoSpecInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +func (GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutput() GetClusterClusterInfoSpecInitScriptWorkspaceOutput { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspaceOutput { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return o.ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptWorkspace) *GetClusterClusterInfoSpecInitScriptWorkspace { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { return &v - }).(GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) + }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) } -func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { return v.LogAnalyticsWorkspaceId }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +type GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoAzureAttributesLogAnalyticsInfo)(nil)).Elem() } -func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput { return o } -func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoSpecInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptWorkspace) GetClusterClusterInfoSpecInitScriptWorkspace { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) Elem() GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) GetClusterClusterInfoAzureAttributesLogAnalyticsInfo { if v != nil { return *v } - var ret GetClusterClusterInfoSpecInitScriptWorkspace + var ret GetClusterClusterInfoAzureAttributesLogAnalyticsInfo return ret - }).(GetClusterClusterInfoSpecInitScriptWorkspaceOutput) + }).(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput) } -func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptWorkspace) *string { +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { if v == nil { return nil } - return &v.Destination + return v.LogAnalyticsPrimaryKey }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecLibrary struct { - Cran *GetClusterClusterInfoSpecLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetClusterClusterInfoSpecLibraryMaven `pulumi:"maven"` - Pypi *GetClusterClusterInfoSpecLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (o GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoAzureAttributesLogAnalyticsInfo) *string { + if v == nil { + return nil + } + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecLibraryInput is an input type that accepts GetClusterClusterInfoSpecLibraryArgs and GetClusterClusterInfoSpecLibraryOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryInput` via: +type GetClusterClusterInfoClusterLogConf struct { + Dbfs *GetClusterClusterInfoClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetClusterClusterInfoClusterLogConfS3 `pulumi:"s3"` +} + +// GetClusterClusterInfoClusterLogConfInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs and GetClusterClusterInfoClusterLogConfOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfInput` via: // -// GetClusterClusterInfoSpecLibraryArgs{...} -type GetClusterClusterInfoSpecLibraryInput interface { +// GetClusterClusterInfoClusterLogConfArgs{...} +type GetClusterClusterInfoClusterLogConfInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryOutput() GetClusterClusterInfoSpecLibraryOutput - ToGetClusterClusterInfoSpecLibraryOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryOutput + ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput + ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfOutput } -type GetClusterClusterInfoSpecLibraryArgs struct { - Cran GetClusterClusterInfoSpecLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetClusterClusterInfoSpecLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetClusterClusterInfoSpecLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetClusterClusterInfoClusterLogConfArgs struct { + Dbfs GetClusterClusterInfoClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetClusterClusterInfoClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetClusterClusterInfoSpecLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibrary)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (i GetClusterClusterInfoSpecLibraryArgs) ToGetClusterClusterInfoSpecLibraryOutput() GetClusterClusterInfoSpecLibraryOutput { - return i.ToGetClusterClusterInfoSpecLibraryOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { + return i.ToGetClusterClusterInfoClusterLogConfOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryArgs) ToGetClusterClusterInfoSpecLibraryOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryOutput) +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput) } -// GetClusterClusterInfoSpecLibraryArrayInput is an input type that accepts GetClusterClusterInfoSpecLibraryArray and GetClusterClusterInfoSpecLibraryArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryArrayInput` via: +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoClusterLogConfArgs) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfOutput).ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfArgs, GetClusterClusterInfoClusterLogConfPtr and GetClusterClusterInfoClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfPtrInput` via: // -// GetClusterClusterInfoSpecLibraryArray{ GetClusterClusterInfoSpecLibraryArgs{...} } -type GetClusterClusterInfoSpecLibraryArrayInput interface { +// GetClusterClusterInfoClusterLogConfArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoClusterLogConfPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryArrayOutput() GetClusterClusterInfoSpecLibraryArrayOutput - ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryArrayOutput + ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput + ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfPtrOutput } -type GetClusterClusterInfoSpecLibraryArray []GetClusterClusterInfoSpecLibraryInput +type getClusterClusterInfoClusterLogConfPtrType GetClusterClusterInfoClusterLogConfArgs -func (GetClusterClusterInfoSpecLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoSpecLibrary)(nil)).Elem() +func GetClusterClusterInfoClusterLogConfPtr(v *GetClusterClusterInfoClusterLogConfArgs) GetClusterClusterInfoClusterLogConfPtrInput { + return (*getClusterClusterInfoClusterLogConfPtrType)(v) } -func (i GetClusterClusterInfoSpecLibraryArray) ToGetClusterClusterInfoSpecLibraryArrayOutput() GetClusterClusterInfoSpecLibraryArrayOutput { - return i.ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(context.Background()) +func (*getClusterClusterInfoClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (i GetClusterClusterInfoSpecLibraryArray) ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryArrayOutput) +func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -type GetClusterClusterInfoSpecLibraryOutput struct{ *pulumi.OutputState } +func (i *getClusterClusterInfoClusterLogConfPtrType) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfPtrOutput) +} -func (GetClusterClusterInfoSpecLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibrary)(nil)).Elem() +type GetClusterClusterInfoClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryOutput) ToGetClusterClusterInfoSpecLibraryOutput() GetClusterClusterInfoSpecLibraryOutput { +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutput() GetClusterClusterInfoClusterLogConfOutput { return o } -func (o GetClusterClusterInfoSpecLibraryOutput) ToGetClusterClusterInfoSpecLibraryOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryOutput { +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfOutput { return o } -func (o GetClusterClusterInfoSpecLibraryOutput) Cran() GetClusterClusterInfoSpecLibraryCranPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *GetClusterClusterInfoSpecLibraryCran { return v.Cran }).(GetClusterClusterInfoSpecLibraryCranPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConf { + return &v + }).(GetClusterClusterInfoClusterLogConfPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { return v.Dbfs }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryOutput) Maven() GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *GetClusterClusterInfoSpecLibraryMaven { return v.Maven }).(GetClusterClusterInfoSpecLibraryMavenPtrOutput) +func (o GetClusterClusterInfoClusterLogConfOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { return v.S3 }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -func (o GetClusterClusterInfoSpecLibraryOutput) Pypi() GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *GetClusterClusterInfoSpecLibraryPypi { return v.Pypi }).(GetClusterClusterInfoSpecLibraryPypiPtrOutput) -} +type GetClusterClusterInfoClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterClusterInfoSpecLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConf)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutput() GetClusterClusterInfoClusterLogConfPtrOutput { + return o } -type GetClusterClusterInfoSpecLibraryArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterInfoSpecLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterInfoSpecLibrary)(nil)).Elem() +func (o GetClusterClusterInfoClusterLogConfPtrOutput) ToGetClusterClusterInfoClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfPtrOutput { + return o } -func (o GetClusterClusterInfoSpecLibraryArrayOutput) ToGetClusterClusterInfoSpecLibraryArrayOutput() GetClusterClusterInfoSpecLibraryArrayOutput { - return o +func (o GetClusterClusterInfoClusterLogConfPtrOutput) Elem() GetClusterClusterInfoClusterLogConfOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) GetClusterClusterInfoClusterLogConf { + if v != nil { + return *v + } + var ret GetClusterClusterInfoClusterLogConf + return ret + }).(GetClusterClusterInfoClusterLogConfOutput) } -func (o GetClusterClusterInfoSpecLibraryArrayOutput) ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryArrayOutput { - return o +func (o GetClusterClusterInfoClusterLogConfPtrOutput) Dbfs() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfDbfs { + if v == nil { + return nil + } + return v.Dbfs + }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoSpecLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoSpecLibrary { - return vs[0].([]GetClusterClusterInfoSpecLibrary)[vs[1].(int)] - }).(GetClusterClusterInfoSpecLibraryOutput) +func (o GetClusterClusterInfoClusterLogConfPtrOutput) S3() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConf) *GetClusterClusterInfoClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetClusterClusterInfoSpecLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetClusterClusterInfoClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetClusterClusterInfoSpecLibraryCranInput is an input type that accepts GetClusterClusterInfoSpecLibraryCranArgs and GetClusterClusterInfoSpecLibraryCranOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryCranInput` via: +// GetClusterClusterInfoClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs and GetClusterClusterInfoClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsInput` via: // -// GetClusterClusterInfoSpecLibraryCranArgs{...} -type GetClusterClusterInfoSpecLibraryCranInput interface { +// GetClusterClusterInfoClusterLogConfDbfsArgs{...} +type GetClusterClusterInfoClusterLogConfDbfsInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryCranOutput() GetClusterClusterInfoSpecLibraryCranOutput - ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryCranOutput + ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput + ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput } -type GetClusterClusterInfoSpecLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetClusterClusterInfoClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetClusterClusterInfoSpecLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranOutput() GetClusterClusterInfoSpecLibraryCranOutput { - return i.ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryCranOutput) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput) } -func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { - return i.ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryCranOutput).ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogConfDbfsArgs) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsOutput).ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecLibraryCranPtrInput is an input type that accepts GetClusterClusterInfoSpecLibraryCranArgs, GetClusterClusterInfoSpecLibraryCranPtr and GetClusterClusterInfoSpecLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryCranPtrInput` via: +// GetClusterClusterInfoClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfDbfsArgs, GetClusterClusterInfoClusterLogConfDbfsPtr and GetClusterClusterInfoClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfDbfsPtrInput` via: // -// GetClusterClusterInfoSpecLibraryCranArgs{...} +// GetClusterClusterInfoClusterLogConfDbfsArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecLibraryCranPtrInput interface { +type GetClusterClusterInfoClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput - ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput + ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput + ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput } -type getClusterClusterInfoSpecLibraryCranPtrType GetClusterClusterInfoSpecLibraryCranArgs +type getClusterClusterInfoClusterLogConfDbfsPtrType GetClusterClusterInfoClusterLogConfDbfsArgs -func GetClusterClusterInfoSpecLibraryCranPtr(v *GetClusterClusterInfoSpecLibraryCranArgs) GetClusterClusterInfoSpecLibraryCranPtrInput { - return (*getClusterClusterInfoSpecLibraryCranPtrType)(v) +func GetClusterClusterInfoClusterLogConfDbfsPtr(v *GetClusterClusterInfoClusterLogConfDbfsArgs) GetClusterClusterInfoClusterLogConfDbfsPtrInput { + return (*getClusterClusterInfoClusterLogConfDbfsPtrType)(v) } -func (*getClusterClusterInfoSpecLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +func (*getClusterClusterInfoClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (i *getClusterClusterInfoSpecLibraryCranPtrType) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { - return i.ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecLibraryCranPtrType) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryCranPtrOutput) +func (i *getClusterClusterInfoClusterLogConfDbfsPtrType) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -type GetClusterClusterInfoSpecLibraryCranOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranOutput() GetClusterClusterInfoSpecLibraryCranOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutput() GetClusterClusterInfoClusterLogConfDbfsOutput { return o } -func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsOutput { return o } -func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { - return o.ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecLibraryCran) *GetClusterClusterInfoSpecLibraryCran { +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfDbfs) *GetClusterClusterInfoClusterLogConfDbfs { return &v - }).(GetClusterClusterInfoSpecLibraryCranPtrOutput) -} - -func (o GetClusterClusterInfoSpecLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryCran) string { return v.Package }).(pulumi.StringOutput) + }).(GetClusterClusterInfoClusterLogConfDbfsPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetClusterClusterInfoSpecLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfDbfs)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutput() GetClusterClusterInfoClusterLogConfDbfsPtrOutput { return o } -func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfDbfsPtrOutput { return o } -func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) Elem() GetClusterClusterInfoSpecLibraryCranOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryCran) GetClusterClusterInfoSpecLibraryCran { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) GetClusterClusterInfoClusterLogConfDbfs { if v != nil { return *v } - var ret GetClusterClusterInfoSpecLibraryCran + var ret GetClusterClusterInfoClusterLogConfDbfs return ret - }).(GetClusterClusterInfoSpecLibraryCranOutput) + }).(GetClusterClusterInfoClusterLogConfDbfsOutput) } -func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryCran) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryCran) *string { +func (o GetClusterClusterInfoClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfDbfs) *string { if v == nil { return nil } - return v.Repo + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetClusterClusterInfoClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetClusterClusterInfoSpecLibraryMavenInput is an input type that accepts GetClusterClusterInfoSpecLibraryMavenArgs and GetClusterClusterInfoSpecLibraryMavenOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryMavenInput` via: +// GetClusterClusterInfoClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args and GetClusterClusterInfoClusterLogConfS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3Input` via: // -// GetClusterClusterInfoSpecLibraryMavenArgs{...} -type GetClusterClusterInfoSpecLibraryMavenInput interface { +// GetClusterClusterInfoClusterLogConfS3Args{...} +type GetClusterClusterInfoClusterLogConfS3Input interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryMavenOutput() GetClusterClusterInfoSpecLibraryMavenOutput - ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryMavenOutput + ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output + ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3Output } -type GetClusterClusterInfoSpecLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetClusterClusterInfoClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetClusterClusterInfoSpecLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenOutput() GetClusterClusterInfoSpecLibraryMavenOutput { - return i.ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { + return i.ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryMavenOutput) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output) } -func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return i.ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryMavenOutput).ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogConfS3Args) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3Output).ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecLibraryMavenPtrInput is an input type that accepts GetClusterClusterInfoSpecLibraryMavenArgs, GetClusterClusterInfoSpecLibraryMavenPtr and GetClusterClusterInfoSpecLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryMavenPtrInput` via: +// GetClusterClusterInfoClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoClusterLogConfS3Args, GetClusterClusterInfoClusterLogConfS3Ptr and GetClusterClusterInfoClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogConfS3PtrInput` via: // -// GetClusterClusterInfoSpecLibraryMavenArgs{...} +// GetClusterClusterInfoClusterLogConfS3Args{...} // // or: // // nil -type GetClusterClusterInfoSpecLibraryMavenPtrInput interface { +type GetClusterClusterInfoClusterLogConfS3PtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput - ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput + ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput + ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput } -type getClusterClusterInfoSpecLibraryMavenPtrType GetClusterClusterInfoSpecLibraryMavenArgs +type getClusterClusterInfoClusterLogConfS3PtrType GetClusterClusterInfoClusterLogConfS3Args -func GetClusterClusterInfoSpecLibraryMavenPtr(v *GetClusterClusterInfoSpecLibraryMavenArgs) GetClusterClusterInfoSpecLibraryMavenPtrInput { - return (*getClusterClusterInfoSpecLibraryMavenPtrType)(v) +func GetClusterClusterInfoClusterLogConfS3Ptr(v *GetClusterClusterInfoClusterLogConfS3Args) GetClusterClusterInfoClusterLogConfS3PtrInput { + return (*getClusterClusterInfoClusterLogConfS3PtrType)(v) } -func (*getClusterClusterInfoSpecLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +func (*getClusterClusterInfoClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (i *getClusterClusterInfoSpecLibraryMavenPtrType) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return i.ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecLibraryMavenPtrType) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryMavenPtrOutput) +func (i *getClusterClusterInfoClusterLogConfS3PtrType) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -type GetClusterClusterInfoSpecLibraryMavenOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +func (GetClusterClusterInfoClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenOutput() GetClusterClusterInfoSpecLibraryMavenOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3Output() GetClusterClusterInfoClusterLogConfS3Output { return o } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3Output { return o } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return o.ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecLibraryMaven) *GetClusterClusterInfoSpecLibraryMaven { +func (o GetClusterClusterInfoClusterLogConfS3Output) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogConfS3) *GetClusterClusterInfoClusterLogConfS3 { return &v - }).(GetClusterClusterInfoSpecLibraryMavenPtrOutput) + }).(GetClusterClusterInfoClusterLogConfS3PtrOutput) } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetClusterClusterInfoSpecLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoSpecLibraryMavenPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +func (o GetClusterClusterInfoClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { +func (o GetClusterClusterInfoClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogConfS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutput() GetClusterClusterInfoClusterLogConfS3PtrOutput { return o } -func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) ToGetClusterClusterInfoClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogConfS3PtrOutput { return o } -func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Elem() GetClusterClusterInfoSpecLibraryMavenOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) GetClusterClusterInfoSpecLibraryMaven { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoClusterLogConfS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) GetClusterClusterInfoClusterLogConfS3 { if v != nil { return *v } - var ret GetClusterClusterInfoSpecLibraryMaven + var ret GetClusterClusterInfoClusterLogConfS3 return ret - }).(GetClusterClusterInfoSpecLibraryMavenOutput) + }).(GetClusterClusterInfoClusterLogConfS3Output) } -func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) *string { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { if v == nil { return nil } - return &v.Coordinates + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) []string { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) *string { +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *bool { if v == nil { return nil } - return v.Repo + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecLibraryPypiInput is an input type that accepts GetClusterClusterInfoSpecLibraryPypiArgs and GetClusterClusterInfoSpecLibraryPypiOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryPypiInput` via: +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoClusterLogStatus struct { + LastAttempted *int `pulumi:"lastAttempted"` + LastException *string `pulumi:"lastException"` +} + +// GetClusterClusterInfoClusterLogStatusInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs and GetClusterClusterInfoClusterLogStatusOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusInput` via: // -// GetClusterClusterInfoSpecLibraryPypiArgs{...} -type GetClusterClusterInfoSpecLibraryPypiInput interface { +// GetClusterClusterInfoClusterLogStatusArgs{...} +type GetClusterClusterInfoClusterLogStatusInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryPypiOutput() GetClusterClusterInfoSpecLibraryPypiOutput - ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryPypiOutput + ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput + ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusOutput } -type GetClusterClusterInfoSpecLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetClusterClusterInfoClusterLogStatusArgs struct { + LastAttempted pulumi.IntPtrInput `pulumi:"lastAttempted"` + LastException pulumi.StringPtrInput `pulumi:"lastException"` } -func (GetClusterClusterInfoSpecLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiOutput() GetClusterClusterInfoSpecLibraryPypiOutput { - return i.ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { + return i.ToGetClusterClusterInfoClusterLogStatusOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryPypiOutput) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput) } -func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return i.ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryPypiOutput).ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoClusterLogStatusArgs) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusOutput).ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecLibraryPypiPtrInput is an input type that accepts GetClusterClusterInfoSpecLibraryPypiArgs, GetClusterClusterInfoSpecLibraryPypiPtr and GetClusterClusterInfoSpecLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryPypiPtrInput` via: +// GetClusterClusterInfoClusterLogStatusPtrInput is an input type that accepts GetClusterClusterInfoClusterLogStatusArgs, GetClusterClusterInfoClusterLogStatusPtr and GetClusterClusterInfoClusterLogStatusPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoClusterLogStatusPtrInput` via: // -// GetClusterClusterInfoSpecLibraryPypiArgs{...} +// GetClusterClusterInfoClusterLogStatusArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecLibraryPypiPtrInput interface { +type GetClusterClusterInfoClusterLogStatusPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput - ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput + ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput + ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput } -type getClusterClusterInfoSpecLibraryPypiPtrType GetClusterClusterInfoSpecLibraryPypiArgs +type getClusterClusterInfoClusterLogStatusPtrType GetClusterClusterInfoClusterLogStatusArgs -func GetClusterClusterInfoSpecLibraryPypiPtr(v *GetClusterClusterInfoSpecLibraryPypiArgs) GetClusterClusterInfoSpecLibraryPypiPtrInput { - return (*getClusterClusterInfoSpecLibraryPypiPtrType)(v) +func GetClusterClusterInfoClusterLogStatusPtr(v *GetClusterClusterInfoClusterLogStatusArgs) GetClusterClusterInfoClusterLogStatusPtrInput { + return (*getClusterClusterInfoClusterLogStatusPtrType)(v) } -func (*getClusterClusterInfoSpecLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +func (*getClusterClusterInfoClusterLogStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (i *getClusterClusterInfoSpecLibraryPypiPtrType) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return i.ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return i.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecLibraryPypiPtrType) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryPypiPtrOutput) +func (i *getClusterClusterInfoClusterLogStatusPtrType) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -type GetClusterClusterInfoSpecLibraryPypiOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogStatusOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiOutput() GetClusterClusterInfoSpecLibraryPypiOutput { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutput() GetClusterClusterInfoClusterLogStatusOutput { return o } -func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiOutput { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusOutput { return o } -func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return o.ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecLibraryPypi) *GetClusterClusterInfoSpecLibraryPypi { +func (o GetClusterClusterInfoClusterLogStatusOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoClusterLogStatus) *GetClusterClusterInfoClusterLogStatus { return &v - }).(GetClusterClusterInfoSpecLibraryPypiPtrOutput) + }).(GetClusterClusterInfoClusterLogStatusPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o GetClusterClusterInfoClusterLogStatusOutput) LastAttempted() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *int { return v.LastAttempted }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoClusterLogStatusOutput) LastException() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoClusterLogStatus) *string { return v.LastException }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoClusterLogStatusPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +func (GetClusterClusterInfoClusterLogStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoClusterLogStatus)(nil)).Elem() } -func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutput() GetClusterClusterInfoClusterLogStatusPtrOutput { return o } -func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) ToGetClusterClusterInfoClusterLogStatusPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoClusterLogStatusPtrOutput { return o } -func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) Elem() GetClusterClusterInfoSpecLibraryPypiOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryPypi) GetClusterClusterInfoSpecLibraryPypi { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) Elem() GetClusterClusterInfoClusterLogStatusOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) GetClusterClusterInfoClusterLogStatus { if v != nil { return *v } - var ret GetClusterClusterInfoSpecLibraryPypi + var ret GetClusterClusterInfoClusterLogStatus return ret - }).(GetClusterClusterInfoSpecLibraryPypiOutput) + }).(GetClusterClusterInfoClusterLogStatusOutput) } -func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryPypi) *string { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastAttempted() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *int { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return v.LastAttempted + }).(pulumi.IntPtrOutput) } -func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryPypi) *string { +func (o GetClusterClusterInfoClusterLogStatusPtrOutput) LastException() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoClusterLogStatus) *string { if v == nil { return nil } - return v.Repo + return v.LastException }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecWorkloadType struct { - Clients GetClusterClusterInfoSpecWorkloadTypeClients `pulumi:"clients"` +type GetClusterClusterInfoDockerImage struct { + BasicAuth *GetClusterClusterInfoDockerImageBasicAuth `pulumi:"basicAuth"` + Url *string `pulumi:"url"` } -// GetClusterClusterInfoSpecWorkloadTypeInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeArgs and GetClusterClusterInfoSpecWorkloadTypeOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypeInput` via: +// GetClusterClusterInfoDockerImageInput is an input type that accepts GetClusterClusterInfoDockerImageArgs and GetClusterClusterInfoDockerImageOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageInput` via: // -// GetClusterClusterInfoSpecWorkloadTypeArgs{...} -type GetClusterClusterInfoSpecWorkloadTypeInput interface { +// GetClusterClusterInfoDockerImageArgs{...} +type GetClusterClusterInfoDockerImageInput interface { pulumi.Input - ToGetClusterClusterInfoSpecWorkloadTypeOutput() GetClusterClusterInfoSpecWorkloadTypeOutput - ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypeOutput + ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput + ToGetClusterClusterInfoDockerImageOutputWithContext(context.Context) GetClusterClusterInfoDockerImageOutput } -type GetClusterClusterInfoSpecWorkloadTypeArgs struct { - Clients GetClusterClusterInfoSpecWorkloadTypeClientsInput `pulumi:"clients"` +type GetClusterClusterInfoDockerImageArgs struct { + BasicAuth GetClusterClusterInfoDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringPtrInput `pulumi:"url"` } -func (GetClusterClusterInfoSpecWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +func (GetClusterClusterInfoDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypeOutput() GetClusterClusterInfoSpecWorkloadTypeOutput { - return i.ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { + return i.ToGetClusterClusterInfoDockerImageOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeOutput) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput) } -func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return i.ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeOutput).ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDockerImageArgs) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageOutput).ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecWorkloadTypePtrInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeArgs, GetClusterClusterInfoSpecWorkloadTypePtr and GetClusterClusterInfoSpecWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypePtrInput` via: +// GetClusterClusterInfoDockerImagePtrInput is an input type that accepts GetClusterClusterInfoDockerImageArgs, GetClusterClusterInfoDockerImagePtr and GetClusterClusterInfoDockerImagePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImagePtrInput` via: // -// GetClusterClusterInfoSpecWorkloadTypeArgs{...} +// GetClusterClusterInfoDockerImageArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecWorkloadTypePtrInput interface { +type GetClusterClusterInfoDockerImagePtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput - ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput + ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput + ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImagePtrOutput } -type getClusterClusterInfoSpecWorkloadTypePtrType GetClusterClusterInfoSpecWorkloadTypeArgs +type getClusterClusterInfoDockerImagePtrType GetClusterClusterInfoDockerImageArgs -func GetClusterClusterInfoSpecWorkloadTypePtr(v *GetClusterClusterInfoSpecWorkloadTypeArgs) GetClusterClusterInfoSpecWorkloadTypePtrInput { - return (*getClusterClusterInfoSpecWorkloadTypePtrType)(v) +func GetClusterClusterInfoDockerImagePtr(v *GetClusterClusterInfoDockerImageArgs) GetClusterClusterInfoDockerImagePtrInput { + return (*getClusterClusterInfoDockerImagePtrType)(v) } -func (*getClusterClusterInfoSpecWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +func (*getClusterClusterInfoDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (i *getClusterClusterInfoSpecWorkloadTypePtrType) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return i.ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return i.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecWorkloadTypePtrType) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +func (i *getClusterClusterInfoDockerImagePtrType) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImagePtrOutput) } -type GetClusterClusterInfoSpecWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +func (GetClusterClusterInfoDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypeOutput() GetClusterClusterInfoSpecWorkloadTypeOutput { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutput() GetClusterClusterInfoDockerImageOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeOutput { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return o.ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { + return o.ToGetClusterClusterInfoDockerImagePtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecWorkloadType) *GetClusterClusterInfoSpecWorkloadType { +func (o GetClusterClusterInfoDockerImageOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImage { return &v - }).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) + }).(GetClusterClusterInfoDockerImagePtrOutput) } -func (o GetClusterClusterInfoSpecWorkloadTypeOutput) Clients() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecWorkloadType) GetClusterClusterInfoSpecWorkloadTypeClients { - return v.Clients - }).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput) +func (o GetClusterClusterInfoDockerImageOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { + return v.BasicAuth + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -type GetClusterClusterInfoSpecWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoDockerImageOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImage) *string { return v.Url }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoSpecWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +type GetClusterClusterInfoDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImage)(nil)).Elem() } -func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { +func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutput() GetClusterClusterInfoDockerImagePtrOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { +func (o GetClusterClusterInfoDockerImagePtrOutput) ToGetClusterClusterInfoDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImagePtrOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) Elem() GetClusterClusterInfoSpecWorkloadTypeOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadType) GetClusterClusterInfoSpecWorkloadType { +func (o GetClusterClusterInfoDockerImagePtrOutput) Elem() GetClusterClusterInfoDockerImageOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) GetClusterClusterInfoDockerImage { if v != nil { return *v } - var ret GetClusterClusterInfoSpecWorkloadType + var ret GetClusterClusterInfoDockerImage return ret - }).(GetClusterClusterInfoSpecWorkloadTypeOutput) + }).(GetClusterClusterInfoDockerImageOutput) } -func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) Clients() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadType) *GetClusterClusterInfoSpecWorkloadTypeClients { +func (o GetClusterClusterInfoDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *GetClusterClusterInfoDockerImageBasicAuth { if v == nil { return nil } - return &v.Clients - }).(GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) + return v.BasicAuth + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -type GetClusterClusterInfoSpecWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetClusterClusterInfoDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImage) *string { + if v == nil { + return nil + } + return v.Url + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoSpecWorkloadTypeClientsInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeClientsArgs and GetClusterClusterInfoSpecWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypeClientsInput` via: +type GetClusterClusterInfoDockerImageBasicAuth struct { + Password *string `pulumi:"password"` + Username *string `pulumi:"username"` +} + +// GetClusterClusterInfoDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs and GetClusterClusterInfoDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthInput` via: // -// GetClusterClusterInfoSpecWorkloadTypeClientsArgs{...} -type GetClusterClusterInfoSpecWorkloadTypeClientsInput interface { +// GetClusterClusterInfoDockerImageBasicAuthArgs{...} +type GetClusterClusterInfoDockerImageBasicAuthInput interface { pulumi.Input - ToGetClusterClusterInfoSpecWorkloadTypeClientsOutput() GetClusterClusterInfoSpecWorkloadTypeClientsOutput - ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsOutput + ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput + ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput } -type GetClusterClusterInfoSpecWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetClusterClusterInfoDockerImageBasicAuthArgs struct { + Password pulumi.StringPtrInput `pulumi:"password"` + Username pulumi.StringPtrInput `pulumi:"username"` } -func (GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutput() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { - return i.ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput) } -func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return i.ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput).ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDockerImageBasicAuthArgs) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthOutput).ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeClientsArgs, GetClusterClusterInfoSpecWorkloadTypeClientsPtr and GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput` via: +// GetClusterClusterInfoDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoDockerImageBasicAuthArgs, GetClusterClusterInfoDockerImageBasicAuthPtr and GetClusterClusterInfoDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDockerImageBasicAuthPtrInput` via: // -// GetClusterClusterInfoSpecWorkloadTypeClientsArgs{...} +// GetClusterClusterInfoDockerImageBasicAuthArgs{...} // // or: // // nil -type GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput interface { +type GetClusterClusterInfoDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput - ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput + ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput + ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput } -type getClusterClusterInfoSpecWorkloadTypeClientsPtrType GetClusterClusterInfoSpecWorkloadTypeClientsArgs +type getClusterClusterInfoDockerImageBasicAuthPtrType GetClusterClusterInfoDockerImageBasicAuthArgs -func GetClusterClusterInfoSpecWorkloadTypeClientsPtr(v *GetClusterClusterInfoSpecWorkloadTypeClientsArgs) GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput { - return (*getClusterClusterInfoSpecWorkloadTypeClientsPtrType)(v) +func GetClusterClusterInfoDockerImageBasicAuthPtr(v *GetClusterClusterInfoDockerImageBasicAuthArgs) GetClusterClusterInfoDockerImageBasicAuthPtrInput { + return (*getClusterClusterInfoDockerImageBasicAuthPtrType)(v) } -func (*getClusterClusterInfoSpecWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +func (*getClusterClusterInfoDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (i *getClusterClusterInfoSpecWorkloadTypeClientsPtrType) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return i.ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoSpecWorkloadTypeClientsPtrType) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) +func (i *getClusterClusterInfoDockerImageBasicAuthPtrType) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -type GetClusterClusterInfoSpecWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutput() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutput() GetClusterClusterInfoDockerImageBasicAuthOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsOutput { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return o.ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecWorkloadTypeClients) *GetClusterClusterInfoSpecWorkloadTypeClients { +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDockerImageBasicAuth) *GetClusterClusterInfoDockerImageBasicAuth { return &v - }).(GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) + }).(GetClusterClusterInfoDockerImageBasicAuthPtrOutput) } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoSpecWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoDockerImageBasicAuthOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDockerImageBasicAuth) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +func (GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDockerImageBasicAuth)(nil)).Elem() } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutput() GetClusterClusterInfoDockerImageBasicAuthPtrOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDockerImageBasicAuthPtrOutput { return o } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) Elem() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadTypeClients) GetClusterClusterInfoSpecWorkloadTypeClients { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) GetClusterClusterInfoDockerImageBasicAuth { if v != nil { return *v } - var ret GetClusterClusterInfoSpecWorkloadTypeClients + var ret GetClusterClusterInfoDockerImageBasicAuth return ret - }).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput) + }).(GetClusterClusterInfoDockerImageBasicAuthOutput) } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadTypeClients) *bool { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Jobs - }).(pulumi.BoolPtrOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadTypeClients) *bool { +func (o GetClusterClusterInfoDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return v.Username + }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoTerminationReason struct { - Code *string `pulumi:"code"` - Parameters map[string]string `pulumi:"parameters"` - Type *string `pulumi:"type"` +type GetClusterClusterInfoDriver struct { + HostPrivateIp *string `pulumi:"hostPrivateIp"` + InstanceId *string `pulumi:"instanceId"` + NodeAwsAttributes *GetClusterClusterInfoDriverNodeAwsAttributes `pulumi:"nodeAwsAttributes"` + NodeId *string `pulumi:"nodeId"` + PrivateIp *string `pulumi:"privateIp"` + PublicDns *string `pulumi:"publicDns"` + StartTimestamp *int `pulumi:"startTimestamp"` } -// GetClusterClusterInfoTerminationReasonInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs and GetClusterClusterInfoTerminationReasonOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonInput` via: +// GetClusterClusterInfoDriverInput is an input type that accepts GetClusterClusterInfoDriverArgs and GetClusterClusterInfoDriverOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverInput` via: // -// GetClusterClusterInfoTerminationReasonArgs{...} -type GetClusterClusterInfoTerminationReasonInput interface { +// GetClusterClusterInfoDriverArgs{...} +type GetClusterClusterInfoDriverInput interface { pulumi.Input - ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput - ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonOutput + ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput + ToGetClusterClusterInfoDriverOutputWithContext(context.Context) GetClusterClusterInfoDriverOutput } -type GetClusterClusterInfoTerminationReasonArgs struct { - Code pulumi.StringPtrInput `pulumi:"code"` - Parameters pulumi.StringMapInput `pulumi:"parameters"` - Type pulumi.StringPtrInput `pulumi:"type"` +type GetClusterClusterInfoDriverArgs struct { + HostPrivateIp pulumi.StringPtrInput `pulumi:"hostPrivateIp"` + InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` + NodeAwsAttributes GetClusterClusterInfoDriverNodeAwsAttributesPtrInput `pulumi:"nodeAwsAttributes"` + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` + PublicDns pulumi.StringPtrInput `pulumi:"publicDns"` + StartTimestamp pulumi.IntPtrInput `pulumi:"startTimestamp"` } -func (GetClusterClusterInfoTerminationReasonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (GetClusterClusterInfoDriverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { - return i.ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { + return i.ToGetClusterClusterInfoDriverOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput).ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDriverArgs) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverOutput).ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx) } -// GetClusterClusterInfoTerminationReasonPtrInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs, GetClusterClusterInfoTerminationReasonPtr and GetClusterClusterInfoTerminationReasonPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonPtrInput` via: +// GetClusterClusterInfoDriverPtrInput is an input type that accepts GetClusterClusterInfoDriverArgs, GetClusterClusterInfoDriverPtr and GetClusterClusterInfoDriverPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverPtrInput` via: // -// GetClusterClusterInfoTerminationReasonArgs{...} +// GetClusterClusterInfoDriverArgs{...} // // or: // // nil -type GetClusterClusterInfoTerminationReasonPtrInput interface { +type GetClusterClusterInfoDriverPtrInput interface { pulumi.Input - ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput - ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonPtrOutput + ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput + ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverPtrOutput } -type getClusterClusterInfoTerminationReasonPtrType GetClusterClusterInfoTerminationReasonArgs +type getClusterClusterInfoDriverPtrType GetClusterClusterInfoDriverArgs -func GetClusterClusterInfoTerminationReasonPtr(v *GetClusterClusterInfoTerminationReasonArgs) GetClusterClusterInfoTerminationReasonPtrInput { - return (*getClusterClusterInfoTerminationReasonPtrType)(v) +func GetClusterClusterInfoDriverPtr(v *GetClusterClusterInfoDriverArgs) GetClusterClusterInfoDriverPtrInput { + return (*getClusterClusterInfoDriverPtrType)(v) } -func (*getClusterClusterInfoTerminationReasonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (*getClusterClusterInfoDriverPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() } -func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return i.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonPtrOutput) +func (i *getClusterClusterInfoDriverPtrType) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverPtrOutput) } -type GetClusterClusterInfoTerminationReasonOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDriverOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoTerminationReasonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (GetClusterClusterInfoDriverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriver)(nil)).Elem() } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutput() GetClusterClusterInfoDriverOutput { return o } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverOutput { return o } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { + return o.ToGetClusterClusterInfoDriverPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoTerminationReason) *GetClusterClusterInfoTerminationReason { +func (o GetClusterClusterInfoDriverOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriver { return &v - }).(GetClusterClusterInfoTerminationReasonPtrOutput) + }).(GetClusterClusterInfoDriverPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDriverOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +func (o GetClusterClusterInfoDriverOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.InstanceId }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoDriverOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { + return v.NodeAwsAttributes + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -type GetClusterClusterInfoTerminationReasonPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoDriverOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.NodeId }).(pulumi.StringPtrOutput) +} -func (GetClusterClusterInfoTerminationReasonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +func (o GetClusterClusterInfoDriverOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { +func (o GetClusterClusterInfoDriverOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoDriverOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriver) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoDriverPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoDriverPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriver)(nil)).Elem() +} + +func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutput() GetClusterClusterInfoDriverPtrOutput { return o } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { +func (o GetClusterClusterInfoDriverPtrOutput) ToGetClusterClusterInfoDriverPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverPtrOutput { return o } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Elem() GetClusterClusterInfoTerminationReasonOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) GetClusterClusterInfoTerminationReason { +func (o GetClusterClusterInfoDriverPtrOutput) Elem() GetClusterClusterInfoDriverOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) GetClusterClusterInfoDriver { if v != nil { return *v } - var ret GetClusterClusterInfoTerminationReason + var ret GetClusterClusterInfoDriver return ret - }).(GetClusterClusterInfoTerminationReasonOutput) + }).(GetClusterClusterInfoDriverOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { +func (o GetClusterClusterInfoDriverPtrOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.Code + return v.HostPrivateIp }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) map[string]string { +func (o GetClusterClusterInfoDriverPtrOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringMapOutput) + return v.InstanceId + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterInfoTerminationReasonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { +func (o GetClusterClusterInfoDriverPtrOutput) NodeAwsAttributes() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *GetClusterClusterInfoDriverNodeAwsAttributes { if v == nil { return nil } - return v.Type + return v.NodeAwsAttributes + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) +} + +func (o GetClusterClusterInfoDriverPtrOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { + if v == nil { + return nil + } + return v.NodeId }).(pulumi.StringPtrOutput) } -type GetClusterClusterInfoWorkloadType struct { - Clients GetClusterClusterInfoWorkloadTypeClients `pulumi:"clients"` +func (o GetClusterClusterInfoDriverPtrOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { + if v == nil { + return nil + } + return v.PrivateIp + }).(pulumi.StringPtrOutput) } -// GetClusterClusterInfoWorkloadTypeInput is an input type that accepts GetClusterClusterInfoWorkloadTypeArgs and GetClusterClusterInfoWorkloadTypeOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypeInput` via: +func (o GetClusterClusterInfoDriverPtrOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *string { + if v == nil { + return nil + } + return v.PublicDns + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoDriverPtrOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriver) *int { + if v == nil { + return nil + } + return v.StartTimestamp + }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoDriverNodeAwsAttributes struct { + IsSpot *bool `pulumi:"isSpot"` +} + +// GetClusterClusterInfoDriverNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs and GetClusterClusterInfoDriverNodeAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesInput` via: // -// GetClusterClusterInfoWorkloadTypeArgs{...} -type GetClusterClusterInfoWorkloadTypeInput interface { +// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} +type GetClusterClusterInfoDriverNodeAwsAttributesInput interface { pulumi.Input - ToGetClusterClusterInfoWorkloadTypeOutput() GetClusterClusterInfoWorkloadTypeOutput - ToGetClusterClusterInfoWorkloadTypeOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypeOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput } -type GetClusterClusterInfoWorkloadTypeArgs struct { - Clients GetClusterClusterInfoWorkloadTypeClientsInput `pulumi:"clients"` +type GetClusterClusterInfoDriverNodeAwsAttributesArgs struct { + IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` } -func (GetClusterClusterInfoWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoWorkloadType)(nil)).Elem() +func (GetClusterClusterInfoDriverNodeAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypeOutput() GetClusterClusterInfoWorkloadTypeOutput { - return i.ToGetClusterClusterInfoWorkloadTypeOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeOutput) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) } -func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { - return i.ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeOutput).ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx) +func (i GetClusterClusterInfoDriverNodeAwsAttributesArgs) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesOutput).ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx) } -// GetClusterClusterInfoWorkloadTypePtrInput is an input type that accepts GetClusterClusterInfoWorkloadTypeArgs, GetClusterClusterInfoWorkloadTypePtr and GetClusterClusterInfoWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypePtrInput` via: +// GetClusterClusterInfoDriverNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoDriverNodeAwsAttributesArgs, GetClusterClusterInfoDriverNodeAwsAttributesPtr and GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoDriverNodeAwsAttributesPtrInput` via: // -// GetClusterClusterInfoWorkloadTypeArgs{...} +// GetClusterClusterInfoDriverNodeAwsAttributesArgs{...} // // or: // // nil -type GetClusterClusterInfoWorkloadTypePtrInput interface { +type GetClusterClusterInfoDriverNodeAwsAttributesPtrInput interface { pulumi.Input - ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput - ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypePtrOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput } -type getClusterClusterInfoWorkloadTypePtrType GetClusterClusterInfoWorkloadTypeArgs +type getClusterClusterInfoDriverNodeAwsAttributesPtrType GetClusterClusterInfoDriverNodeAwsAttributesArgs -func GetClusterClusterInfoWorkloadTypePtr(v *GetClusterClusterInfoWorkloadTypeArgs) GetClusterClusterInfoWorkloadTypePtrInput { - return (*getClusterClusterInfoWorkloadTypePtrType)(v) +func GetClusterClusterInfoDriverNodeAwsAttributesPtr(v *GetClusterClusterInfoDriverNodeAwsAttributesArgs) GetClusterClusterInfoDriverNodeAwsAttributesPtrInput { + return (*getClusterClusterInfoDriverNodeAwsAttributesPtrType)(v) } -func (*getClusterClusterInfoWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoWorkloadType)(nil)).Elem() +func (*getClusterClusterInfoDriverNodeAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (i *getClusterClusterInfoWorkloadTypePtrType) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { - return i.ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoWorkloadTypePtrType) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypePtrOutput) +func (i *getClusterClusterInfoDriverNodeAwsAttributesPtrType) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -type GetClusterClusterInfoWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDriverNodeAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoWorkloadType)(nil)).Elem() +func (GetClusterClusterInfoDriverNodeAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypeOutput() GetClusterClusterInfoWorkloadTypeOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutput() GetClusterClusterInfoDriverNodeAwsAttributesOutput { return o } -func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesOutput { return o } -func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { - return o.ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoWorkloadType) *GetClusterClusterInfoWorkloadType { +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoDriverNodeAwsAttributes) *GetClusterClusterInfoDriverNodeAwsAttributes { return &v - }).(GetClusterClusterInfoWorkloadTypePtrOutput) + }).(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoWorkloadTypeOutput) Clients() GetClusterClusterInfoWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetClusterClusterInfoWorkloadType) GetClusterClusterInfoWorkloadTypeClients { return v.Clients }).(GetClusterClusterInfoWorkloadTypeClientsOutput) +func (o GetClusterClusterInfoDriverNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoDriverNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoWorkloadTypePtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoWorkloadType)(nil)).Elem() +func (GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoDriverNodeAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoWorkloadTypePtrOutput) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutput() GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoWorkloadTypePtrOutput) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoDriverNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoWorkloadTypePtrOutput) Elem() GetClusterClusterInfoWorkloadTypeOutput { - return o.ApplyT(func(v *GetClusterClusterInfoWorkloadType) GetClusterClusterInfoWorkloadType { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoDriverNodeAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) GetClusterClusterInfoDriverNodeAwsAttributes { if v != nil { return *v } - var ret GetClusterClusterInfoWorkloadType + var ret GetClusterClusterInfoDriverNodeAwsAttributes return ret - }).(GetClusterClusterInfoWorkloadTypeOutput) + }).(GetClusterClusterInfoDriverNodeAwsAttributesOutput) } -func (o GetClusterClusterInfoWorkloadTypePtrOutput) Clients() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoWorkloadType) *GetClusterClusterInfoWorkloadTypeClients { +func (o GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoDriverNodeAwsAttributes) *bool { if v == nil { return nil } - return &v.Clients - }).(GetClusterClusterInfoWorkloadTypeClientsPtrOutput) + return v.IsSpot + }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +type GetClusterClusterInfoExecutor struct { + HostPrivateIp *string `pulumi:"hostPrivateIp"` + InstanceId *string `pulumi:"instanceId"` + NodeAwsAttributes *GetClusterClusterInfoExecutorNodeAwsAttributes `pulumi:"nodeAwsAttributes"` + NodeId *string `pulumi:"nodeId"` + PrivateIp *string `pulumi:"privateIp"` + PublicDns *string `pulumi:"publicDns"` + StartTimestamp *int `pulumi:"startTimestamp"` } -// GetClusterClusterInfoWorkloadTypeClientsInput is an input type that accepts GetClusterClusterInfoWorkloadTypeClientsArgs and GetClusterClusterInfoWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypeClientsInput` via: +// GetClusterClusterInfoExecutorInput is an input type that accepts GetClusterClusterInfoExecutorArgs and GetClusterClusterInfoExecutorOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorInput` via: // -// GetClusterClusterInfoWorkloadTypeClientsArgs{...} -type GetClusterClusterInfoWorkloadTypeClientsInput interface { +// GetClusterClusterInfoExecutorArgs{...} +type GetClusterClusterInfoExecutorInput interface { pulumi.Input - ToGetClusterClusterInfoWorkloadTypeClientsOutput() GetClusterClusterInfoWorkloadTypeClientsOutput - ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypeClientsOutput + ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput + ToGetClusterClusterInfoExecutorOutputWithContext(context.Context) GetClusterClusterInfoExecutorOutput } -type GetClusterClusterInfoWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetClusterClusterInfoExecutorArgs struct { + HostPrivateIp pulumi.StringPtrInput `pulumi:"hostPrivateIp"` + InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` + NodeAwsAttributes GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput `pulumi:"nodeAwsAttributes"` + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` + PublicDns pulumi.StringPtrInput `pulumi:"publicDns"` + StartTimestamp pulumi.IntPtrInput `pulumi:"startTimestamp"` } -func (GetClusterClusterInfoWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +func (GetClusterClusterInfoExecutorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() } -func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsOutput() GetClusterClusterInfoWorkloadTypeClientsOutput { - return i.ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { + return i.ToGetClusterClusterInfoExecutorOutputWithContext(context.Background()) } -func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeClientsOutput) +func (i GetClusterClusterInfoExecutorArgs) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorOutput) } -func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return i.ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Background()) +// GetClusterClusterInfoExecutorArrayInput is an input type that accepts GetClusterClusterInfoExecutorArray and GetClusterClusterInfoExecutorArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorArrayInput` via: +// +// GetClusterClusterInfoExecutorArray{ GetClusterClusterInfoExecutorArgs{...} } +type GetClusterClusterInfoExecutorArrayInput interface { + pulumi.Input + + ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput + ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Context) GetClusterClusterInfoExecutorArrayOutput } -func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeClientsOutput).ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx) +type GetClusterClusterInfoExecutorArray []GetClusterClusterInfoExecutorInput + +func (GetClusterClusterInfoExecutorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() } -// GetClusterClusterInfoWorkloadTypeClientsPtrInput is an input type that accepts GetClusterClusterInfoWorkloadTypeClientsArgs, GetClusterClusterInfoWorkloadTypeClientsPtr and GetClusterClusterInfoWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypeClientsPtrInput` via: +func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { + return i.ToGetClusterClusterInfoExecutorArrayOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoExecutorArray) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorArrayOutput) +} + +type GetClusterClusterInfoExecutorOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoExecutorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutor)(nil)).Elem() +} + +func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutput() GetClusterClusterInfoExecutorOutput { + return o +} + +func (o GetClusterClusterInfoExecutorOutput) ToGetClusterClusterInfoExecutorOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorOutput { + return o +} + +func (o GetClusterClusterInfoExecutorOutput) HostPrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.HostPrivateIp }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoExecutorOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.InstanceId }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoExecutorOutput) NodeAwsAttributes() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *GetClusterClusterInfoExecutorNodeAwsAttributes { + return v.NodeAwsAttributes + }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) +} + +func (o GetClusterClusterInfoExecutorOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.NodeId }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoExecutorOutput) PrivateIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoExecutorOutput) PublicDns() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *string { return v.PublicDns }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoExecutorOutput) StartTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutor) *int { return v.StartTimestamp }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoExecutorArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoExecutorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoExecutor)(nil)).Elem() +} + +func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutput() GetClusterClusterInfoExecutorArrayOutput { + return o +} + +func (o GetClusterClusterInfoExecutorArrayOutput) ToGetClusterClusterInfoExecutorArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorArrayOutput { + return o +} + +func (o GetClusterClusterInfoExecutorArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoExecutorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoExecutor { + return vs[0].([]GetClusterClusterInfoExecutor)[vs[1].(int)] + }).(GetClusterClusterInfoExecutorOutput) +} + +type GetClusterClusterInfoExecutorNodeAwsAttributes struct { + IsSpot *bool `pulumi:"isSpot"` +} + +// GetClusterClusterInfoExecutorNodeAwsAttributesInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs and GetClusterClusterInfoExecutorNodeAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesInput` via: // -// GetClusterClusterInfoWorkloadTypeClientsArgs{...} +// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} +type GetClusterClusterInfoExecutorNodeAwsAttributesInput interface { + pulumi.Input + + ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput +} + +type GetClusterClusterInfoExecutorNodeAwsAttributesArgs struct { + IsSpot pulumi.BoolPtrInput `pulumi:"isSpot"` +} + +func (GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() +} + +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) +} + +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoExecutorNodeAwsAttributesArgs) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput).ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoExecutorNodeAwsAttributesArgs, GetClusterClusterInfoExecutorNodeAwsAttributesPtr and GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput` via: +// +// GetClusterClusterInfoExecutorNodeAwsAttributesArgs{...} // // or: // // nil -type GetClusterClusterInfoWorkloadTypeClientsPtrInput interface { +type GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput interface { pulumi.Input - ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput - ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput + ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput } -type getClusterClusterInfoWorkloadTypeClientsPtrType GetClusterClusterInfoWorkloadTypeClientsArgs +type getClusterClusterInfoExecutorNodeAwsAttributesPtrType GetClusterClusterInfoExecutorNodeAwsAttributesArgs -func GetClusterClusterInfoWorkloadTypeClientsPtr(v *GetClusterClusterInfoWorkloadTypeClientsArgs) GetClusterClusterInfoWorkloadTypeClientsPtrInput { - return (*getClusterClusterInfoWorkloadTypeClientsPtrType)(v) +func GetClusterClusterInfoExecutorNodeAwsAttributesPtr(v *GetClusterClusterInfoExecutorNodeAwsAttributesArgs) GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput { + return (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType)(v) } -func (*getClusterClusterInfoWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +func (*getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (i *getClusterClusterInfoWorkloadTypeClientsPtrType) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return i.ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getClusterClusterInfoWorkloadTypeClientsPtrType) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeClientsPtrOutput) +func (i *getClusterClusterInfoExecutorNodeAwsAttributesPtrType) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -type GetClusterClusterInfoWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorNodeAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsOutput() GetClusterClusterInfoWorkloadTypeClientsOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutput() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { return o } -func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesOutput { return o } -func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return o.ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoWorkloadTypeClients) *GetClusterClusterInfoWorkloadTypeClients { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoExecutorNodeAwsAttributes) *GetClusterClusterInfoExecutorNodeAwsAttributes { return &v - }).(GetClusterClusterInfoWorkloadTypeClientsPtrOutput) -} - -func (o GetClusterClusterInfoWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) + }).(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) } -func (o GetClusterClusterInfoWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterInfoWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoExecutorNodeAwsAttributesOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { return v.IsSpot }).(pulumi.BoolPtrOutput) } -type GetClusterClusterInfoWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterInfoWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +func (GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoExecutorNodeAwsAttributes)(nil)).Elem() } -func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput() GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) ToGetClusterClusterInfoExecutorNodeAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput { return o } -func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) Elem() GetClusterClusterInfoWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetClusterClusterInfoWorkloadTypeClients) GetClusterClusterInfoWorkloadTypeClients { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) Elem() GetClusterClusterInfoExecutorNodeAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) GetClusterClusterInfoExecutorNodeAwsAttributes { if v != nil { return *v } - var ret GetClusterClusterInfoWorkloadTypeClients + var ret GetClusterClusterInfoExecutorNodeAwsAttributes return ret - }).(GetClusterClusterInfoWorkloadTypeClientsOutput) -} - -func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) + }).(GetClusterClusterInfoExecutorNodeAwsAttributesOutput) } -func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterClusterInfoWorkloadTypeClients) *bool { +func (o GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput) IsSpot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoExecutorNodeAwsAttributes) *bool { if v == nil { return nil } - return v.Notebooks + return v.IsSpot }).(pulumi.BoolPtrOutput) } -type GetClustersFilterBy struct { - // List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. - ClusterSources []string `pulumi:"clusterSources"` - // List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. - ClusterStates []string `pulumi:"clusterStates"` - // Whether to filter by pinned clusters. - IsPinned *bool `pulumi:"isPinned"` - // Filter by ClusterPolicy id. - PolicyId *string `pulumi:"policyId"` +type GetClusterClusterInfoGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` } -// GetClustersFilterByInput is an input type that accepts GetClustersFilterByArgs and GetClustersFilterByOutput values. -// You can construct a concrete instance of `GetClustersFilterByInput` via: +// GetClusterClusterInfoGcpAttributesInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs and GetClusterClusterInfoGcpAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesInput` via: // -// GetClustersFilterByArgs{...} -type GetClustersFilterByInput interface { +// GetClusterClusterInfoGcpAttributesArgs{...} +type GetClusterClusterInfoGcpAttributesInput interface { pulumi.Input - ToGetClustersFilterByOutput() GetClustersFilterByOutput - ToGetClustersFilterByOutputWithContext(context.Context) GetClustersFilterByOutput + ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput + ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesOutput } -type GetClustersFilterByArgs struct { - // List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. - ClusterSources pulumi.StringArrayInput `pulumi:"clusterSources"` - // List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. - ClusterStates pulumi.StringArrayInput `pulumi:"clusterStates"` - // Whether to filter by pinned clusters. - IsPinned pulumi.BoolPtrInput `pulumi:"isPinned"` - // Filter by ClusterPolicy id. - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` +type GetClusterClusterInfoGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetClustersFilterByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersFilterBy)(nil)).Elem() +func (GetClusterClusterInfoGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (i GetClustersFilterByArgs) ToGetClustersFilterByOutput() GetClustersFilterByOutput { - return i.ToGetClustersFilterByOutputWithContext(context.Background()) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { + return i.ToGetClusterClusterInfoGcpAttributesOutputWithContext(context.Background()) } -func (i GetClustersFilterByArgs) ToGetClustersFilterByOutputWithContext(ctx context.Context) GetClustersFilterByOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersFilterByOutput) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput) } -func (i GetClustersFilterByArgs) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { - return i.ToGetClustersFilterByPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetClustersFilterByArgs) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersFilterByOutput).ToGetClustersFilterByPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoGcpAttributesArgs) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesOutput).ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx) } -// GetClustersFilterByPtrInput is an input type that accepts GetClustersFilterByArgs, GetClustersFilterByPtr and GetClustersFilterByPtrOutput values. -// You can construct a concrete instance of `GetClustersFilterByPtrInput` via: +// GetClusterClusterInfoGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoGcpAttributesArgs, GetClusterClusterInfoGcpAttributesPtr and GetClusterClusterInfoGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoGcpAttributesPtrInput` via: // -// GetClustersFilterByArgs{...} +// GetClusterClusterInfoGcpAttributesArgs{...} // // or: // // nil -type GetClustersFilterByPtrInput interface { +type GetClusterClusterInfoGcpAttributesPtrInput interface { pulumi.Input - ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput - ToGetClustersFilterByPtrOutputWithContext(context.Context) GetClustersFilterByPtrOutput + ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput + ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoGcpAttributesPtrOutput } -type getClustersFilterByPtrType GetClustersFilterByArgs +type getClusterClusterInfoGcpAttributesPtrType GetClusterClusterInfoGcpAttributesArgs -func GetClustersFilterByPtr(v *GetClustersFilterByArgs) GetClustersFilterByPtrInput { - return (*getClustersFilterByPtrType)(v) +func GetClusterClusterInfoGcpAttributesPtr(v *GetClusterClusterInfoGcpAttributesArgs) GetClusterClusterInfoGcpAttributesPtrInput { + return (*getClusterClusterInfoGcpAttributesPtrType)(v) } -func (*getClustersFilterByPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClustersFilterBy)(nil)).Elem() +func (*getClusterClusterInfoGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (i *getClustersFilterByPtrType) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { - return i.ToGetClustersFilterByPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getClustersFilterByPtrType) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClustersFilterByPtrOutput) +func (i *getClusterClusterInfoGcpAttributesPtrType) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoGcpAttributesPtrOutput) } -type GetClustersFilterByOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetClustersFilterByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClustersFilterBy)(nil)).Elem() +func (GetClusterClusterInfoGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoGcpAttributes)(nil)).Elem() } -func (o GetClustersFilterByOutput) ToGetClustersFilterByOutput() GetClustersFilterByOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutput() GetClusterClusterInfoGcpAttributesOutput { return o } -func (o GetClustersFilterByOutput) ToGetClustersFilterByOutputWithContext(ctx context.Context) GetClustersFilterByOutput { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesOutput { return o } -func (o GetClustersFilterByOutput) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { - return o.ToGetClustersFilterByPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetClustersFilterByOutput) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClustersFilterBy) *GetClustersFilterBy { +func (o GetClusterClusterInfoGcpAttributesOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoGcpAttributes) *GetClusterClusterInfoGcpAttributes { return &v - }).(GetClustersFilterByPtrOutput) + }).(GetClusterClusterInfoGcpAttributesPtrOutput) } -// List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. -func (o GetClustersFilterByOutput) ClusterSources() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClustersFilterBy) []string { return v.ClusterSources }).(pulumi.StringArrayOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -// List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. -func (o GetClustersFilterByOutput) ClusterStates() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClustersFilterBy) []string { return v.ClusterStates }).(pulumi.StringArrayOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -// Whether to filter by pinned clusters. -func (o GetClustersFilterByOutput) IsPinned() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClustersFilterBy) *bool { return v.IsPinned }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -// Filter by ClusterPolicy id. -func (o GetClustersFilterByOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClustersFilterBy) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -type GetClustersFilterByPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterClusterInfoGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} -func (GetClustersFilterByPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClustersFilterBy)(nil)).Elem() +func (o GetClusterClusterInfoGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (o GetClustersFilterByPtrOutput) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { +type GetClusterClusterInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoGcpAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutput() GetClusterClusterInfoGcpAttributesPtrOutput { return o } -func (o GetClustersFilterByPtrOutput) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ToGetClusterClusterInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoGcpAttributesPtrOutput { return o } -func (o GetClustersFilterByPtrOutput) Elem() GetClustersFilterByOutput { - return o.ApplyT(func(v *GetClustersFilterBy) GetClustersFilterBy { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) Elem() GetClusterClusterInfoGcpAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) GetClusterClusterInfoGcpAttributes { if v != nil { return *v } - var ret GetClustersFilterBy + var ret GetClusterClusterInfoGcpAttributes return ret - }).(GetClustersFilterByOutput) + }).(GetClusterClusterInfoGcpAttributesOutput) } -// List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. -func (o GetClustersFilterByPtrOutput) ClusterSources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClustersFilterBy) []string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.ClusterSources - }).(pulumi.StringArrayOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -// List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. -func (o GetClustersFilterByPtrOutput) ClusterStates() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClustersFilterBy) []string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { if v == nil { return nil } - return v.ClusterStates - }).(pulumi.StringArrayOutput) + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -// Whether to filter by pinned clusters. -func (o GetClustersFilterByPtrOutput) IsPinned() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClustersFilterBy) *bool { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.IsPinned + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -// Filter by ClusterPolicy id. -func (o GetClustersFilterByPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClustersFilterBy) *string { +func (o GetClusterClusterInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoGcpAttributes) *string { if v == nil { return nil } - return v.PolicyId + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetCurrentMetastoreMetastoreInfo struct { - Cloud *string `pulumi:"cloud"` - // Timestamp (in milliseconds) when the current metastore was created. - CreatedAt *int `pulumi:"createdAt"` - // the ID of the identity that created the current metastore. - CreatedBy *string `pulumi:"createdBy"` - // the ID of the default data access configuration. - DefaultDataAccessConfigId *string `pulumi:"defaultDataAccessConfigId"` - // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - DeltaSharingOrganizationName *string `pulumi:"deltaSharingOrganizationName"` - // the expiration duration in seconds on recipient data access tokens. - DeltaSharingRecipientTokenLifetimeInSeconds *int `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` - // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - DeltaSharingScope *string `pulumi:"deltaSharingScope"` - ExternalAccessEnabled *bool `pulumi:"externalAccessEnabled"` - // Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. - GlobalMetastoreId *string `pulumi:"globalMetastoreId"` - // Metastore ID. - MetastoreId *string `pulumi:"metastoreId"` - // Name of metastore. - Name *string `pulumi:"name"` - // Username/group name/sp applicationId of the metastore owner. - Owner *string `pulumi:"owner"` - // the version of the privilege model used by the metastore. - PrivilegeModelVersion *string `pulumi:"privilegeModelVersion"` - // (Mandatory for account-level) The region of the metastore. - Region *string `pulumi:"region"` - // Path on cloud storage account, where managed `Table` are stored. - StorageRoot *string `pulumi:"storageRoot"` - // ID of a storage credential used for the `storageRoot`. - StorageRootCredentialId *string `pulumi:"storageRootCredentialId"` - // Name of a storage credential used for the `storageRoot`. - StorageRootCredentialName *string `pulumi:"storageRootCredentialName"` - // Timestamp (in milliseconds) when the current metastore was updated. - UpdatedAt *int `pulumi:"updatedAt"` - // the ID of the identity that updated the current metastore. - UpdatedBy *string `pulumi:"updatedBy"` +type GetClusterClusterInfoInitScript struct { + Abfss *GetClusterClusterInfoInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetClusterClusterInfoInitScriptDbfs `pulumi:"dbfs"` + File *GetClusterClusterInfoInitScriptFile `pulumi:"file"` + Gcs *GetClusterClusterInfoInitScriptGcs `pulumi:"gcs"` + S3 *GetClusterClusterInfoInitScriptS3 `pulumi:"s3"` + Volumes *GetClusterClusterInfoInitScriptVolumes `pulumi:"volumes"` + Workspace *GetClusterClusterInfoInitScriptWorkspace `pulumi:"workspace"` } -// GetCurrentMetastoreMetastoreInfoInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs and GetCurrentMetastoreMetastoreInfoOutput values. -// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoInput` via: +// GetClusterClusterInfoInitScriptInput is an input type that accepts GetClusterClusterInfoInitScriptArgs and GetClusterClusterInfoInitScriptOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptInput` via: // -// GetCurrentMetastoreMetastoreInfoArgs{...} -type GetCurrentMetastoreMetastoreInfoInput interface { +// GetClusterClusterInfoInitScriptArgs{...} +type GetClusterClusterInfoInitScriptInput interface { pulumi.Input - ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput - ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoOutput -} - -type GetCurrentMetastoreMetastoreInfoArgs struct { - Cloud pulumi.StringPtrInput `pulumi:"cloud"` - // Timestamp (in milliseconds) when the current metastore was created. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // the ID of the identity that created the current metastore. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // the ID of the default data access configuration. - DefaultDataAccessConfigId pulumi.StringPtrInput `pulumi:"defaultDataAccessConfigId"` - // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - DeltaSharingOrganizationName pulumi.StringPtrInput `pulumi:"deltaSharingOrganizationName"` - // the expiration duration in seconds on recipient data access tokens. - DeltaSharingRecipientTokenLifetimeInSeconds pulumi.IntPtrInput `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` - // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - DeltaSharingScope pulumi.StringPtrInput `pulumi:"deltaSharingScope"` - ExternalAccessEnabled pulumi.BoolPtrInput `pulumi:"externalAccessEnabled"` - // Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. - GlobalMetastoreId pulumi.StringPtrInput `pulumi:"globalMetastoreId"` - // Metastore ID. - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // Name of metastore. - Name pulumi.StringPtrInput `pulumi:"name"` - // Username/group name/sp applicationId of the metastore owner. - Owner pulumi.StringPtrInput `pulumi:"owner"` - // the version of the privilege model used by the metastore. - PrivilegeModelVersion pulumi.StringPtrInput `pulumi:"privilegeModelVersion"` - // (Mandatory for account-level) The region of the metastore. - Region pulumi.StringPtrInput `pulumi:"region"` - // Path on cloud storage account, where managed `Table` are stored. - StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` - // ID of a storage credential used for the `storageRoot`. - StorageRootCredentialId pulumi.StringPtrInput `pulumi:"storageRootCredentialId"` - // Name of a storage credential used for the `storageRoot`. - StorageRootCredentialName pulumi.StringPtrInput `pulumi:"storageRootCredentialName"` - // Timestamp (in milliseconds) when the current metastore was updated. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // the ID of the identity that updated the current metastore. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` -} - -func (GetCurrentMetastoreMetastoreInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() + ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput + ToGetClusterClusterInfoInitScriptOutputWithContext(context.Context) GetClusterClusterInfoInitScriptOutput } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { - return i.ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Background()) +type GetClusterClusterInfoInitScriptArgs struct { + Abfss GetClusterClusterInfoInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetClusterClusterInfoInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetClusterClusterInfoInitScriptFilePtrInput `pulumi:"file"` + Gcs GetClusterClusterInfoInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetClusterClusterInfoInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetClusterClusterInfoInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetClusterClusterInfoInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput) +func (GetClusterClusterInfoInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { + return i.ToGetClusterClusterInfoInitScriptOutputWithContext(context.Background()) } -func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput).ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptArgs) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptOutput) } -// GetCurrentMetastoreMetastoreInfoPtrInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs, GetCurrentMetastoreMetastoreInfoPtr and GetCurrentMetastoreMetastoreInfoPtrOutput values. -// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoPtrInput` via: -// -// GetCurrentMetastoreMetastoreInfoArgs{...} -// -// or: +// GetClusterClusterInfoInitScriptArrayInput is an input type that accepts GetClusterClusterInfoInitScriptArray and GetClusterClusterInfoInitScriptArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptArrayInput` via: // -// nil -type GetCurrentMetastoreMetastoreInfoPtrInput interface { +// GetClusterClusterInfoInitScriptArray{ GetClusterClusterInfoInitScriptArgs{...} } +type GetClusterClusterInfoInitScriptArrayInput interface { pulumi.Input - ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput - ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput + ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput + ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoInitScriptArrayOutput } -type getCurrentMetastoreMetastoreInfoPtrType GetCurrentMetastoreMetastoreInfoArgs - -func GetCurrentMetastoreMetastoreInfoPtr(v *GetCurrentMetastoreMetastoreInfoArgs) GetCurrentMetastoreMetastoreInfoPtrInput { - return (*getCurrentMetastoreMetastoreInfoPtrType)(v) -} +type GetClusterClusterInfoInitScriptArray []GetClusterClusterInfoInitScriptInput -func (*getCurrentMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() } -func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { + return i.ToGetClusterClusterInfoInitScriptArrayOutputWithContext(context.Background()) } -func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoPtrOutput) +func (i GetClusterClusterInfoInitScriptArray) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptArrayOutput) } -type GetCurrentMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptOutput struct{ *pulumi.OutputState } -func (GetCurrentMetastoreMetastoreInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScript)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { +func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutput() GetClusterClusterInfoInitScriptOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { +func (o GetClusterClusterInfoInitScriptOutput) ToGetClusterClusterInfoInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptOutput { return o } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return o.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptOutput) Abfss() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCurrentMetastoreMetastoreInfo) *GetCurrentMetastoreMetastoreInfo { - return &v - }).(GetCurrentMetastoreMetastoreInfoPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) Dbfs() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -func (o GetCurrentMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) File() GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptFile { return v.File }).(GetClusterClusterInfoInitScriptFilePtrOutput) } -// Timestamp (in milliseconds) when the current metastore was created. -func (o GetCurrentMetastoreMetastoreInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) Gcs() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -// the ID of the identity that created the current metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) S3() GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptS3 { return v.S3 }).(GetClusterClusterInfoInitScriptS3PtrOutput) } -// the ID of the default data access configuration. -func (o GetCurrentMetastoreMetastoreInfoOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) Volumes() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptVolumes { return v.Volumes }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DeltaSharingOrganizationName }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptOutput) Workspace() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScript) *GetClusterClusterInfoInitScriptWorkspace { return v.Workspace }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) } -// the expiration duration in seconds on recipient data access tokens. -func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.DeltaSharingRecipientTokenLifetimeInSeconds }).(pulumi.IntPtrOutput) -} +type GetClusterClusterInfoInitScriptArrayOutput struct{ *pulumi.OutputState } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoInitScript)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *bool { return v.ExternalAccessEnabled }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutput() GetClusterClusterInfoInitScriptArrayOutput { + return o } -// Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. -func (o GetCurrentMetastoreMetastoreInfoOutput) GlobalMetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.GlobalMetastoreId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptArrayOutput) ToGetClusterClusterInfoInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptArrayOutput { + return o } -// Metastore ID. -func (o GetCurrentMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoInitScript { + return vs[0].([]GetClusterClusterInfoInitScript)[vs[1].(int)] + }).(GetClusterClusterInfoInitScriptOutput) } -// Name of metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// Username/group name/sp applicationId of the metastore owner. -func (o GetCurrentMetastoreMetastoreInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) -} +// GetClusterClusterInfoInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs and GetClusterClusterInfoInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssInput` via: +// +// GetClusterClusterInfoInitScriptAbfssArgs{...} +type GetClusterClusterInfoInitScriptAbfssInput interface { + pulumi.Input -// the version of the privilege model used by the metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) + ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput + ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssOutput } -// (Mandatory for account-level) The region of the metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Region }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// Path on cloud storage account, where managed `Table` are stored. -func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -// ID of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(context.Background()) } -// Name of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput) } -// Timestamp (in milliseconds) when the current metastore was updated. -func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -// the ID of the identity that updated the current metastore. -func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptAbfssArgs) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssOutput).ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx) } -type GetCurrentMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } +// GetClusterClusterInfoInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoInitScriptAbfssArgs, GetClusterClusterInfoInitScriptAbfssPtr and GetClusterClusterInfoInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptAbfssPtrInput` via: +// +// GetClusterClusterInfoInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoInitScriptAbfssPtrInput interface { + pulumi.Input -func (GetCurrentMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() + ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput + ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { - return o +type getClusterClusterInfoInitScriptAbfssPtrType GetClusterClusterInfoInitScriptAbfssArgs + +func GetClusterClusterInfoInitScriptAbfssPtr(v *GetClusterClusterInfoInitScriptAbfssArgs) GetClusterClusterInfoInitScriptAbfssPtrInput { + return (*getClusterClusterInfoInitScriptAbfssPtrType)(v) } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { - return o +func (*getClusterClusterInfoInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Elem() GetCurrentMetastoreMetastoreInfoOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) GetCurrentMetastoreMetastoreInfo { - if v != nil { - return *v - } - var ret GetCurrentMetastoreMetastoreInfo - return ret - }).(GetCurrentMetastoreMetastoreInfoOutput) +func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Cloud - }).(pulumi.StringPtrOutput) +func (i *getClusterClusterInfoInitScriptAbfssPtrType) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -// Timestamp (in milliseconds) when the current metastore was created. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +type GetClusterClusterInfoInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -// the ID of the identity that created the current metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutput() GetClusterClusterInfoInitScriptAbfssOutput { + return o } -// the ID of the default data access configuration. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DefaultDataAccessConfigId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssOutput { + return o } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingOrganizationName - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(context.Background()) } -// the expiration duration in seconds on recipient data access tokens. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.DeltaSharingRecipientTokenLifetimeInSeconds - }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptAbfss) *GetClusterClusterInfoInitScriptAbfss { + return &v + }).(GetClusterClusterInfoInitScriptAbfssPtrOutput) } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingScope - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *bool { - if v == nil { - return nil - } - return v.ExternalAccessEnabled - }).(pulumi.BoolPtrOutput) +type GetClusterClusterInfoInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptAbfss)(nil)).Elem() } -// Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.GlobalMetastoreId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutput() GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o } -// Metastore ID. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) ToGetClusterClusterInfoInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptAbfssPtrOutput { + return o } -// Name of metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoInitScriptAbfssOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) GetClusterClusterInfoInitScriptAbfss { + if v != nil { + return *v } - return v.Name - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoInitScriptAbfss + return ret + }).(GetClusterClusterInfoInitScriptAbfssOutput) } -// Username/group name/sp applicationId of the metastore owner. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { +func (o GetClusterClusterInfoInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptAbfss) *string { if v == nil { return nil } - return v.Owner + return &v.Destination }).(pulumi.StringPtrOutput) } -// the version of the privilege model used by the metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.PrivilegeModelVersion - }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// (Mandatory for account-level) The region of the metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +// GetClusterClusterInfoInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs and GetClusterClusterInfoInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsInput` via: +// +// GetClusterClusterInfoInitScriptDbfsArgs{...} +type GetClusterClusterInfoInitScriptDbfsInput interface { + pulumi.Input + + ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput + ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsOutput } -// Path on cloud storage account, where managed `Table` are stored. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRoot - }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// ID of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRootCredentialId - }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -// Name of a storage credential used for the `storageRoot`. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRootCredentialName - }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(context.Background()) } -// Timestamp (in milliseconds) when the current metastore was updated. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput) } -// the ID of the identity that updated the current metastore. -func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.UpdatedBy - }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -type GetDbfsFilePathsPathList struct { - FileSize *int `pulumi:"fileSize"` - // Path on DBFS for the file to perform listing - Path *string `pulumi:"path"` +func (i GetClusterClusterInfoInitScriptDbfsArgs) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsOutput).ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx) } -// GetDbfsFilePathsPathListInput is an input type that accepts GetDbfsFilePathsPathListArgs and GetDbfsFilePathsPathListOutput values. -// You can construct a concrete instance of `GetDbfsFilePathsPathListInput` via: +// GetClusterClusterInfoInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptDbfsArgs, GetClusterClusterInfoInitScriptDbfsPtr and GetClusterClusterInfoInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptDbfsPtrInput` via: // -// GetDbfsFilePathsPathListArgs{...} -type GetDbfsFilePathsPathListInput interface { +// GetClusterClusterInfoInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoInitScriptDbfsPtrInput interface { pulumi.Input - ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput - ToGetDbfsFilePathsPathListOutputWithContext(context.Context) GetDbfsFilePathsPathListOutput + ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput + ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput } -type GetDbfsFilePathsPathListArgs struct { - FileSize pulumi.IntPtrInput `pulumi:"fileSize"` - // Path on DBFS for the file to perform listing - Path pulumi.StringPtrInput `pulumi:"path"` -} - -func (GetDbfsFilePathsPathListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() -} +type getClusterClusterInfoInitScriptDbfsPtrType GetClusterClusterInfoInitScriptDbfsArgs -func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { - return i.ToGetDbfsFilePathsPathListOutputWithContext(context.Background()) +func GetClusterClusterInfoInitScriptDbfsPtr(v *GetClusterClusterInfoInitScriptDbfsArgs) GetClusterClusterInfoInitScriptDbfsPtrInput { + return (*getClusterClusterInfoInitScriptDbfsPtrType)(v) } -func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListOutput) +func (*getClusterClusterInfoInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -// GetDbfsFilePathsPathListArrayInput is an input type that accepts GetDbfsFilePathsPathListArray and GetDbfsFilePathsPathListArrayOutput values. -// You can construct a concrete instance of `GetDbfsFilePathsPathListArrayInput` via: -// -// GetDbfsFilePathsPathListArray{ GetDbfsFilePathsPathListArgs{...} } -type GetDbfsFilePathsPathListArrayInput interface { - pulumi.Input - - ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput - ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Context) GetDbfsFilePathsPathListArrayOutput +func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -type GetDbfsFilePathsPathListArray []GetDbfsFilePathsPathListInput - -func (GetDbfsFilePathsPathListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +func (i *getClusterClusterInfoInitScriptDbfsPtrType) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { - return i.ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Background()) -} +type GetClusterClusterInfoInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListArrayOutput) +func (GetClusterClusterInfoInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -type GetDbfsFilePathsPathListOutput struct{ *pulumi.OutputState } - -func (GetDbfsFilePathsPathListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutput() GetClusterClusterInfoInitScriptDbfsOutput { + return o } -func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsOutput { return o } -func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { - return o +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetDbfsFilePathsPathListOutput) FileSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetDbfsFilePathsPathList) *int { return v.FileSize }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptDbfs) *GetClusterClusterInfoInitScriptDbfs { + return &v + }).(GetClusterClusterInfoInitScriptDbfsPtrOutput) } -// Path on DBFS for the file to perform listing -func (o GetDbfsFilePathsPathListOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetDbfsFilePathsPathList) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetDbfsFilePathsPathListArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetDbfsFilePathsPathListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +func (GetClusterClusterInfoInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptDbfs)(nil)).Elem() } -func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutput() GetClusterClusterInfoInitScriptDbfsPtrOutput { return o } -func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) ToGetClusterClusterInfoInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptDbfsPtrOutput { return o } -func (o GetDbfsFilePathsPathListArrayOutput) Index(i pulumi.IntInput) GetDbfsFilePathsPathListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbfsFilePathsPathList { - return vs[0].([]GetDbfsFilePathsPathList)[vs[1].(int)] - }).(GetDbfsFilePathsPathListOutput) +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoInitScriptDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) GetClusterClusterInfoInitScriptDbfs { + if v != nil { + return *v + } + var ret GetClusterClusterInfoInitScriptDbfs + return ret + }).(GetClusterClusterInfoInitScriptDbfsOutput) } -type GetExternalLocationExternalLocationInfo struct { - // The ARN of the s3 access point to use with the external location (AWS). - AccessPoint *string `pulumi:"accessPoint"` - BrowseOnly *bool `pulumi:"browseOnly"` - // User-supplied comment. - Comment *string `pulumi:"comment"` - // Time at which this catalog was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of catalog creator. - CreatedBy *string `pulumi:"createdBy"` - // Unique ID of storage credential. - CredentialId *string `pulumi:"credentialId"` - // Name of the StorageCredential to use with this external location. - CredentialName *string `pulumi:"credentialName"` - // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - EncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetails `pulumi:"encryptionDetails"` - Fallback *bool `pulumi:"fallback"` - IsolationMode *string `pulumi:"isolationMode"` - // Unique identifier of the parent Metastore. - MetastoreId *string `pulumi:"metastoreId"` - // The name of the external location - Name *string `pulumi:"name"` - // Username/groupname/sp applicationId of the external location owner. - Owner *string `pulumi:"owner"` - // Indicates whether the external location is read-only. - ReadOnly *bool `pulumi:"readOnly"` - // Time at which this catalog was last modified, in epoch milliseconds. - UpdatedAt *int `pulumi:"updatedAt"` - // Username of user who last modified catalog. - UpdatedBy *string `pulumi:"updatedBy"` - // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - Url *string `pulumi:"url"` +func (o GetClusterClusterInfoInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetExternalLocationExternalLocationInfoInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs and GetExternalLocationExternalLocationInfoOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoInput` via: +type GetClusterClusterInfoInitScriptFile struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoInitScriptFileInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs and GetClusterClusterInfoInitScriptFileOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFileInput` via: // -// GetExternalLocationExternalLocationInfoArgs{...} -type GetExternalLocationExternalLocationInfoInput interface { +// GetClusterClusterInfoInitScriptFileArgs{...} +type GetClusterClusterInfoInitScriptFileInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput - ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoOutput + ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput + ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFileOutput } -type GetExternalLocationExternalLocationInfoArgs struct { - // The ARN of the s3 access point to use with the external location (AWS). - AccessPoint pulumi.StringPtrInput `pulumi:"accessPoint"` - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // User-supplied comment. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Time at which this catalog was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of catalog creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // Unique ID of storage credential. - CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` - // Name of the StorageCredential to use with this external location. - CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` - // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - EncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput `pulumi:"encryptionDetails"` - Fallback pulumi.BoolPtrInput `pulumi:"fallback"` - IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"` - // Unique identifier of the parent Metastore. - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // The name of the external location - Name pulumi.StringPtrInput `pulumi:"name"` - // Username/groupname/sp applicationId of the external location owner. - Owner pulumi.StringPtrInput `pulumi:"owner"` - // Indicates whether the external location is read-only. - ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` - // Time at which this catalog was last modified, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of user who last modified catalog. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` - // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - Url pulumi.StringPtrInput `pulumi:"url"` +type GetClusterClusterInfoInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetExternalLocationExternalLocationInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { - return i.ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { + return i.ToGetClusterClusterInfoInitScriptFileOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput) } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput).ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptFileArgs) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFileOutput).ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx) } -// GetExternalLocationExternalLocationInfoPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs, GetExternalLocationExternalLocationInfoPtr and GetExternalLocationExternalLocationInfoPtrOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoPtrInput` via: +// GetClusterClusterInfoInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoInitScriptFileArgs, GetClusterClusterInfoInitScriptFilePtr and GetClusterClusterInfoInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptFilePtrInput` via: // -// GetExternalLocationExternalLocationInfoArgs{...} +// GetClusterClusterInfoInitScriptFileArgs{...} // // or: // // nil -type GetExternalLocationExternalLocationInfoPtrInput interface { +type GetClusterClusterInfoInitScriptFilePtrInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput - ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoPtrOutput + ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput + ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptFilePtrOutput } -type getExternalLocationExternalLocationInfoPtrType GetExternalLocationExternalLocationInfoArgs +type getClusterClusterInfoInitScriptFilePtrType GetClusterClusterInfoInitScriptFileArgs -func GetExternalLocationExternalLocationInfoPtr(v *GetExternalLocationExternalLocationInfoArgs) GetExternalLocationExternalLocationInfoPtrInput { - return (*getExternalLocationExternalLocationInfoPtrType)(v) +func GetClusterClusterInfoInitScriptFilePtr(v *GetClusterClusterInfoInitScriptFileArgs) GetClusterClusterInfoInitScriptFilePtrInput { + return (*getClusterClusterInfoInitScriptFilePtrType)(v) } -func (*getExternalLocationExternalLocationInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (*getClusterClusterInfoInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoPtrOutput) +func (i *getClusterClusterInfoInitScriptFilePtrType) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptFilePtrOutput) } -type GetExternalLocationExternalLocationInfoOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() +func (GetClusterClusterInfoInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutput() GetClusterClusterInfoInitScriptFileOutput { return o } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFileOutput { return o } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return o.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfo { +func (o GetClusterClusterInfoInitScriptFileOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptFile) *GetClusterClusterInfoInitScriptFile { return &v - }).(GetExternalLocationExternalLocationInfoPtrOutput) + }).(GetClusterClusterInfoInitScriptFilePtrOutput) } -// The ARN of the s3 access point to use with the external location (AWS). -func (o GetExternalLocationExternalLocationInfoOutput) AccessPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.AccessPoint }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetExternalLocationExternalLocationInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) -} +type GetClusterClusterInfoInitScriptFilePtrOutput struct{ *pulumi.OutputState } -// User-supplied comment. -func (o GetExternalLocationExternalLocationInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptFile)(nil)).Elem() } -// Time at which this catalog was created, in epoch milliseconds. -func (o GetExternalLocationExternalLocationInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutput() GetClusterClusterInfoInitScriptFilePtrOutput { + return o } -// Username of catalog creator. -func (o GetExternalLocationExternalLocationInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptFilePtrOutput) ToGetClusterClusterInfoInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptFilePtrOutput { + return o } -// Unique ID of storage credential. -func (o GetExternalLocationExternalLocationInfoOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptFilePtrOutput) Elem() GetClusterClusterInfoInitScriptFileOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) GetClusterClusterInfoInitScriptFile { + if v != nil { + return *v + } + var ret GetClusterClusterInfoInitScriptFile + return ret + }).(GetClusterClusterInfoInitScriptFileOutput) } -// Name of the StorageCredential to use with this external location. -func (o GetExternalLocationExternalLocationInfoOutput) CredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialName }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). -func (o GetExternalLocationExternalLocationInfoOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { - return v.EncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +type GetClusterClusterInfoInitScriptGcs struct { + Destination string `pulumi:"destination"` } -func (o GetExternalLocationExternalLocationInfoOutput) Fallback() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.Fallback }).(pulumi.BoolPtrOutput) -} +// GetClusterClusterInfoInitScriptGcsInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs and GetClusterClusterInfoInitScriptGcsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsInput` via: +// +// GetClusterClusterInfoInitScriptGcsArgs{...} +type GetClusterClusterInfoInitScriptGcsInput interface { + pulumi.Input -func (o GetExternalLocationExternalLocationInfoOutput) IsolationMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.IsolationMode }).(pulumi.StringPtrOutput) + ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput + ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsOutput } -// Unique identifier of the parent Metastore. -func (o GetExternalLocationExternalLocationInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +type GetClusterClusterInfoInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// The name of the external location -func (o GetExternalLocationExternalLocationInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +func (GetClusterClusterInfoInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -// Username/groupname/sp applicationId of the external location owner. -func (o GetExternalLocationExternalLocationInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { + return i.ToGetClusterClusterInfoInitScriptGcsOutputWithContext(context.Background()) } -// Indicates whether the external location is read-only. -func (o GetExternalLocationExternalLocationInfoOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput) } -// Time at which this catalog was last modified, in epoch milliseconds. -func (o GetExternalLocationExternalLocationInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -// Username of user who last modified catalog. -func (o GetExternalLocationExternalLocationInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (i GetClusterClusterInfoInitScriptGcsArgs) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsOutput).ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx) } -// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). -func (o GetExternalLocationExternalLocationInfoOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Url }).(pulumi.StringPtrOutput) +// GetClusterClusterInfoInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoInitScriptGcsArgs, GetClusterClusterInfoInitScriptGcsPtr and GetClusterClusterInfoInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptGcsPtrInput` via: +// +// GetClusterClusterInfoInitScriptGcsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoInitScriptGcsPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput + ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput } -type GetExternalLocationExternalLocationInfoPtrOutput struct{ *pulumi.OutputState } +type getClusterClusterInfoInitScriptGcsPtrType GetClusterClusterInfoInitScriptGcsArgs -func (GetExternalLocationExternalLocationInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() +func GetClusterClusterInfoInitScriptGcsPtr(v *GetClusterClusterInfoInitScriptGcsArgs) GetClusterClusterInfoInitScriptGcsPtrInput { + return (*getClusterClusterInfoInitScriptGcsPtrType)(v) } -func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { - return o +func (*getClusterClusterInfoInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { - return o +func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoPtrOutput) Elem() GetExternalLocationExternalLocationInfoOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) GetExternalLocationExternalLocationInfo { - if v != nil { - return *v - } - var ret GetExternalLocationExternalLocationInfo - return ret - }).(GetExternalLocationExternalLocationInfoOutput) +func (i *getClusterClusterInfoInitScriptGcsPtrType) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -// The ARN of the s3 access point to use with the external location (AWS). -func (o GetExternalLocationExternalLocationInfoPtrOutput) AccessPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.AccessPoint - }).(pulumi.StringPtrOutput) -} +type GetClusterClusterInfoInitScriptGcsOutput struct{ *pulumi.OutputState } -func (o GetExternalLocationExternalLocationInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { - if v == nil { - return nil - } - return v.BrowseOnly - }).(pulumi.BoolPtrOutput) +func (GetClusterClusterInfoInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -// User-supplied comment. -func (o GetExternalLocationExternalLocationInfoPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.Comment - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutput() GetClusterClusterInfoInitScriptGcsOutput { + return o } -// Time at which this catalog was created, in epoch milliseconds. -func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsOutput { + return o } -// Username of catalog creator. -func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(context.Background()) } -// Unique ID of storage credential. -func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.CredentialId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptGcs) *GetClusterClusterInfoInitScriptGcs { + return &v + }).(GetClusterClusterInfoInitScriptGcsPtrOutput) } -// Name of the StorageCredential to use with this external location. -func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.CredentialName - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). -func (o GetExternalLocationExternalLocationInfoPtrOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { - if v == nil { - return nil - } - return v.EncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) -} +type GetClusterClusterInfoInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (o GetExternalLocationExternalLocationInfoPtrOutput) Fallback() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { - if v == nil { - return nil - } - return v.Fallback - }).(pulumi.BoolPtrOutput) +func (GetClusterClusterInfoInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptGcs)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoPtrOutput) IsolationMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.IsolationMode - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutput() GetClusterClusterInfoInitScriptGcsPtrOutput { + return o } -// Unique identifier of the parent Metastore. -func (o GetExternalLocationExternalLocationInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) ToGetClusterClusterInfoInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptGcsPtrOutput { + return o } -// The name of the external location -func (o GetExternalLocationExternalLocationInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { - if v == nil { - return nil +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoInitScriptGcsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) GetClusterClusterInfoInitScriptGcs { + if v != nil { + return *v } - return v.Name - }).(pulumi.StringPtrOutput) + var ret GetClusterClusterInfoInitScriptGcs + return ret + }).(GetClusterClusterInfoInitScriptGcsOutput) } -// Username/groupname/sp applicationId of the external location owner. -func (o GetExternalLocationExternalLocationInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { +func (o GetClusterClusterInfoInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptGcs) *string { if v == nil { return nil } - return v.Owner + return &v.Destination }).(pulumi.StringPtrOutput) } -// Indicates whether the external location is read-only. -func (o GetExternalLocationExternalLocationInfoPtrOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { +type GetClusterClusterInfoInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` +} + +// GetClusterClusterInfoInitScriptS3Input is an input type that accepts GetClusterClusterInfoInitScriptS3Args and GetClusterClusterInfoInitScriptS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3Input` via: +// +// GetClusterClusterInfoInitScriptS3Args{...} +type GetClusterClusterInfoInitScriptS3Input interface { + pulumi.Input + + ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output + ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3Output +} + +type GetClusterClusterInfoInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetClusterClusterInfoInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +} + +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { + return i.ToGetClusterClusterInfoInitScriptS3OutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output) +} + +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoInitScriptS3Args) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3Output).ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoInitScriptS3Args, GetClusterClusterInfoInitScriptS3Ptr and GetClusterClusterInfoInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptS3PtrInput` via: +// +// GetClusterClusterInfoInitScriptS3Args{...} +// +// or: +// +// nil +type GetClusterClusterInfoInitScriptS3PtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput + ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptS3PtrOutput +} + +type getClusterClusterInfoInitScriptS3PtrType GetClusterClusterInfoInitScriptS3Args + +func GetClusterClusterInfoInitScriptS3Ptr(v *GetClusterClusterInfoInitScriptS3Args) GetClusterClusterInfoInitScriptS3PtrInput { + return (*getClusterClusterInfoInitScriptS3PtrType)(v) +} + +func (*getClusterClusterInfoInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +} + +func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoInitScriptS3PtrType) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptS3PtrOutput) +} + +type GetClusterClusterInfoInitScriptS3Output struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3Output() GetClusterClusterInfoInitScriptS3Output { + return o +} + +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3Output { + return o +} + +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoInitScriptS3Output) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptS3) *GetClusterClusterInfoInitScriptS3 { + return &v + }).(GetClusterClusterInfoInitScriptS3PtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutput() GetClusterClusterInfoInitScriptS3PtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) ToGetClusterClusterInfoInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptS3PtrOutput { + return o +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Elem() GetClusterClusterInfoInitScriptS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) GetClusterClusterInfoInitScriptS3 { + if v != nil { + return *v + } + var ret GetClusterClusterInfoInitScriptS3 + return ret + }).(GetClusterClusterInfoInitScriptS3Output) +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.ReadOnly + return v.CannedAcl + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -// Time at which this catalog was last modified, in epoch milliseconds. -func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -// Username of user who last modified catalog. -func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.UpdatedBy + return v.Endpoint }).(pulumi.StringPtrOutput) } -// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). -func (o GetExternalLocationExternalLocationInfoPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { +func (o GetClusterClusterInfoInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { if v == nil { return nil } - return v.Url + return v.KmsKey }).(pulumi.StringPtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetails struct { - SseEncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` +func (o GetClusterClusterInfoInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -// GetExternalLocationExternalLocationInfoEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsInput` via: +type GetClusterClusterInfoInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs and GetClusterClusterInfoInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} -type GetExternalLocationExternalLocationInfoEncryptionDetailsInput interface { +// GetClusterClusterInfoInitScriptVolumesArgs{...} +type GetClusterClusterInfoInitScriptVolumesInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput + ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput + ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesOutput } -type GetExternalLocationExternalLocationInfoEncryptionDetailsArgs struct { - SseEncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` +type GetClusterClusterInfoInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptVolumesArgs) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesOutput).ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx) } -// GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput` via: +// GetClusterClusterInfoInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoInitScriptVolumesArgs, GetClusterClusterInfoInitScriptVolumesPtr and GetClusterClusterInfoInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptVolumesPtrInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} +// GetClusterClusterInfoInitScriptVolumesArgs{...} // // or: // // nil -type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput interface { +type GetClusterClusterInfoInitScriptVolumesPtrInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput + ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput + ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput } -type getExternalLocationExternalLocationInfoEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsArgs +type getClusterClusterInfoInitScriptVolumesPtrType GetClusterClusterInfoInitScriptVolumesArgs -func GetExternalLocationExternalLocationInfoEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput { - return (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType)(v) +func GetClusterClusterInfoInitScriptVolumesPtr(v *GetClusterClusterInfoInitScriptVolumesArgs) GetClusterClusterInfoInitScriptVolumesPtrInput { + return (*getClusterClusterInfoInitScriptVolumesPtrType)(v) } -func (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (*getClusterClusterInfoInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +func (i *getClusterClusterInfoInitScriptVolumesPtrType) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptVolumesPtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutput() GetClusterClusterInfoInitScriptVolumesOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetails { +func (o GetClusterClusterInfoInitScriptVolumesOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptVolumes) *GetClusterClusterInfoInitScriptVolumes { return &v - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) + }).(GetClusterClusterInfoInitScriptVolumesPtrOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { - return v.SseEncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +func (o GetClusterClusterInfoInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptVolumes)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutput() GetClusterClusterInfoInitScriptVolumesPtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) ToGetClusterClusterInfoInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptVolumesPtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetails { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoInitScriptVolumesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) GetClusterClusterInfoInitScriptVolumes { if v != nil { return *v } - var ret GetExternalLocationExternalLocationInfoEncryptionDetails + var ret GetClusterClusterInfoInitScriptVolumes return ret - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) + }).(GetClusterClusterInfoInitScriptVolumesOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { +func (o GetClusterClusterInfoInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptVolumes) *string { if v == nil { return nil } - return v.SseEncryptionDetails - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails struct { - Algorithm *string `pulumi:"algorithm"` - AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` +type GetClusterClusterInfoInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput` via: +// GetClusterClusterInfoInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs and GetClusterClusterInfoInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspaceInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput interface { +// GetClusterClusterInfoInitScriptWorkspaceArgs{...} +type GetClusterClusterInfoInitScriptWorkspaceInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput + ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput + ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs struct { - Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` - AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` +type GetClusterClusterInfoInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) +func (i GetClusterClusterInfoInitScriptWorkspaceArgs) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspaceOutput).ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput values. -// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput` via: +// GetClusterClusterInfoInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoInitScriptWorkspaceArgs, GetClusterClusterInfoInitScriptWorkspacePtr and GetClusterClusterInfoInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoInitScriptWorkspacePtrInput` via: // -// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +// GetClusterClusterInfoInitScriptWorkspaceArgs{...} // // or: // // nil -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput interface { +type GetClusterClusterInfoInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput - ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput + ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput + ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput } -type getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs +type getClusterClusterInfoInitScriptWorkspacePtrType GetClusterClusterInfoInitScriptWorkspaceArgs -func GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput { - return (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType)(v) +func GetClusterClusterInfoInitScriptWorkspacePtr(v *GetClusterClusterInfoInitScriptWorkspaceArgs) GetClusterClusterInfoInitScriptWorkspacePtrInput { + return (*getClusterClusterInfoInitScriptWorkspacePtrType)(v) } -func (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (*getClusterClusterInfoInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +func (i *getClusterClusterInfoInitScriptWorkspacePtrType) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutput() GetClusterClusterInfoInitScriptWorkspaceOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspaceOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoInitScriptWorkspace) *GetClusterClusterInfoInitScriptWorkspace { return &v - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) -} - -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { - return v.Algorithm - }).(pulumi.StringPtrOutput) + }).(GetClusterClusterInfoInitScriptWorkspacePtrOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { - return v.AwsKmsKeyArn - }).(pulumi.StringPtrOutput) +func (o GetClusterClusterInfoInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } +type GetClusterClusterInfoInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +func (GetClusterClusterInfoInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoInitScriptWorkspace)(nil)).Elem() } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutput() GetClusterClusterInfoInitScriptWorkspacePtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoInitScriptWorkspacePtrOutput { return o } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) GetClusterClusterInfoInitScriptWorkspace { if v != nil { return *v } - var ret GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails + var ret GetClusterClusterInfoInitScriptWorkspace return ret - }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) -} - -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { - if v == nil { - return nil - } - return v.Algorithm - }).(pulumi.StringPtrOutput) + }).(GetClusterClusterInfoInitScriptWorkspaceOutput) } -func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { +func (o GetClusterClusterInfoInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoInitScriptWorkspace) *string { if v == nil { return nil } - return v.AwsKmsKeyArn + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetFunctionsFunction struct { - // Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `includeBrowse` is enabled in the request. - BrowseOnly *bool `pulumi:"browseOnly"` - // Name of databricks_catalog. - CatalogName *string `pulumi:"catalogName"` - // User-provided free-form text description. - Comment *string `pulumi:"comment"` - // Time at which this function was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // Username of function creator. - CreatedBy *string `pulumi:"createdBy"` - // Scalar function return data type. - DataType *string `pulumi:"dataType"` - // External function language. - ExternalLanguage *string `pulumi:"externalLanguage"` - // External function name. - ExternalName *string `pulumi:"externalName"` - // Pretty printed function data type. - FullDataType *string `pulumi:"fullDataType"` - // Full name of function, in form of catalog_name.schema_name.function__name - FullName *string `pulumi:"fullName"` - // Id of Function, relative to parent schema. - FunctionId *string `pulumi:"functionId"` - // object describing input parameters. Consists of the single attribute: - InputParams *GetFunctionsFunctionInputParams `pulumi:"inputParams"` - // Boolean flag specifying whether the function is deterministic. - IsDeterministic *bool `pulumi:"isDeterministic"` - // Boolean flag whether function null call. - IsNullCall *bool `pulumi:"isNullCall"` - // Unique identifier of parent metastore. - MetastoreId *string `pulumi:"metastoreId"` - // Name of parameter. - Name *string `pulumi:"name"` - // Username of current owner of function. - Owner *string `pulumi:"owner"` - // Function parameter style. `S` is the value for SQL. - ParameterStyle *string `pulumi:"parameterStyle"` - // JSON-serialized key-value pair map, encoded (escaped) as a string. - Properties *string `pulumi:"properties"` - // Table function return parameters. See `inputParams` for description. - ReturnParams *GetFunctionsFunctionReturnParams `pulumi:"returnParams"` +type GetClusterClusterInfoSpec struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetClusterClusterInfoSpecAutoscale `pulumi:"autoscale"` + AwsAttributes *GetClusterClusterInfoSpecAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetClusterClusterInfoSpecAzureAttributes `pulumi:"azureAttributes"` + // The id of the cluster + ClusterId string `pulumi:"clusterId"` + ClusterLogConf *GetClusterClusterInfoSpecClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetClusterClusterInfoSpecClusterMountInfo `pulumi:"clusterMountInfos"` + // The exact name of the cluster to search + ClusterName *string `pulumi:"clusterName"` + // Additional tags for cluster resources. + CustomTags map[string]string `pulumi:"customTags"` + // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetClusterClusterInfoSpecDockerImage `pulumi:"dockerImage"` + // similar to `instancePoolId`, but for driver node. + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + // The node type of the Spark driver. + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + // Use autoscaling local storage. + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + // Enable local disk encryption. + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetClusterClusterInfoSpecGcpAttributes `pulumi:"gcpAttributes"` + // An optional token to guarantee the idempotency of cluster creation requests. + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetClusterClusterInfoSpecInitScript `pulumi:"initScripts"` + // The pool of idle instances the cluster is attached to. + InstancePoolId *string `pulumi:"instancePoolId"` + IsSingleNode *bool `pulumi:"isSingleNode"` + Kind *string `pulumi:"kind"` + Libraries []GetClusterClusterInfoSpecLibrary `pulumi:"libraries"` + // Any supported getNodeType id. + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers *int `pulumi:"numWorkers"` + // Identifier of Cluster Policy to validate cluster and preset certain defaults. + PolicyId *string `pulumi:"policyId"` + // The type of runtime of the cluster + RuntimeEngine *string `pulumi:"runtimeEngine"` + // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + SingleUserName *string `pulumi:"singleUserName"` + // Map with key-value pairs to fine-tune Spark clusters. + SparkConf map[string]string `pulumi:"sparkConf"` + // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + SparkVersion string `pulumi:"sparkVersion"` + // SSH public key contents that will be added to each Spark node in this cluster. + SshPublicKeys []string `pulumi:"sshPublicKeys"` + UseMlRuntime *bool `pulumi:"useMlRuntime"` + WorkloadType *GetClusterClusterInfoSpecWorkloadType `pulumi:"workloadType"` +} + +// GetClusterClusterInfoSpecInput is an input type that accepts GetClusterClusterInfoSpecArgs and GetClusterClusterInfoSpecOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInput` via: +// +// GetClusterClusterInfoSpecArgs{...} +type GetClusterClusterInfoSpecInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecOutput() GetClusterClusterInfoSpecOutput + ToGetClusterClusterInfoSpecOutputWithContext(context.Context) GetClusterClusterInfoSpecOutput +} + +type GetClusterClusterInfoSpecArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetClusterClusterInfoSpecAutoscalePtrInput `pulumi:"autoscale"` + AwsAttributes GetClusterClusterInfoSpecAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetClusterClusterInfoSpecAzureAttributesPtrInput `pulumi:"azureAttributes"` + // The id of the cluster + ClusterId pulumi.StringInput `pulumi:"clusterId"` + ClusterLogConf GetClusterClusterInfoSpecClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetClusterClusterInfoSpecClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + // The exact name of the cluster to search + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + // Additional tags for cluster resources. + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + // Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetClusterClusterInfoSpecDockerImagePtrInput `pulumi:"dockerImage"` + // similar to `instancePoolId`, but for driver node. + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + // The node type of the Spark driver. + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + // Use autoscaling local storage. + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + // Enable local disk encryption. + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetClusterClusterInfoSpecGcpAttributesPtrInput `pulumi:"gcpAttributes"` + // An optional token to guarantee the idempotency of cluster creation requests. + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetClusterClusterInfoSpecInitScriptArrayInput `pulumi:"initScripts"` + // The pool of idle instances the cluster is attached to. + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + IsSingleNode pulumi.BoolPtrInput `pulumi:"isSingleNode"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + Libraries GetClusterClusterInfoSpecLibraryArrayInput `pulumi:"libraries"` + // Any supported getNodeType id. + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntPtrInput `pulumi:"numWorkers"` + // Identifier of Cluster Policy to validate cluster and preset certain defaults. + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + // The type of runtime of the cluster + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + // The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + // Map with key-value pairs to fine-tune Spark clusters. + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + // Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + // [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + // SSH public key contents that will be added to each Spark node in this cluster. + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + UseMlRuntime pulumi.BoolPtrInput `pulumi:"useMlRuntime"` + WorkloadType GetClusterClusterInfoSpecWorkloadTypePtrInput `pulumi:"workloadType"` +} + +func (GetClusterClusterInfoSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpec)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecOutput() GetClusterClusterInfoSpecOutput { + return i.ToGetClusterClusterInfoSpecOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecOutput) +} + +func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { + return i.ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecArgs) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecOutput).ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecPtrInput is an input type that accepts GetClusterClusterInfoSpecArgs, GetClusterClusterInfoSpecPtr and GetClusterClusterInfoSpecPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecPtrInput` via: +// +// GetClusterClusterInfoSpecArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput + ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecPtrOutput +} + +type getClusterClusterInfoSpecPtrType GetClusterClusterInfoSpecArgs + +func GetClusterClusterInfoSpecPtr(v *GetClusterClusterInfoSpecArgs) GetClusterClusterInfoSpecPtrInput { + return (*getClusterClusterInfoSpecPtrType)(v) +} + +func (*getClusterClusterInfoSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpec)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecPtrType) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { + return i.ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecPtrType) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecPtrOutput) +} + +type GetClusterClusterInfoSpecOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpec)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecOutput() GetClusterClusterInfoSpecOutput { + return o +} + +func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecOutput { + return o +} + +func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { + return o.ToGetClusterClusterInfoSpecPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecOutput) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpec { + return &v + }).(GetClusterClusterInfoSpecPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) Autoscale() GetClusterClusterInfoSpecAutoscalePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAutoscale { return v.Autoscale }).(GetClusterClusterInfoSpecAutoscalePtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) AwsAttributes() GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAwsAttributes { return v.AwsAttributes }).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) AzureAttributes() GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAzureAttributes { return v.AzureAttributes }).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +} + +// The id of the cluster +func (o GetClusterClusterInfoSpecOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecOutput) ClusterLogConf() GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecClusterLogConf { return v.ClusterLogConf }).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) ClusterMountInfos() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecClusterMountInfo { + return v.ClusterMountInfos + }).(GetClusterClusterInfoSpecClusterMountInfoArrayOutput) +} + +// The exact name of the cluster to search +func (o GetClusterClusterInfoSpecOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +} + +// Additional tags for cluster resources. +func (o GetClusterClusterInfoSpecOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +} + +// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. +func (o GetClusterClusterInfoSpecOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) DockerImage() GetClusterClusterInfoSpecDockerImagePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecDockerImage { return v.DockerImage }).(GetClusterClusterInfoSpecDockerImagePtrOutput) +} + +// similar to `instancePoolId`, but for driver node. +func (o GetClusterClusterInfoSpecOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +} + +// The node type of the Spark driver. +func (o GetClusterClusterInfoSpecOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +} + +// Use autoscaling local storage. +func (o GetClusterClusterInfoSpecOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +} + +// Enable local disk encryption. +func (o GetClusterClusterInfoSpecOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +} + +func (o GetClusterClusterInfoSpecOutput) GcpAttributes() GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecGcpAttributes { return v.GcpAttributes }).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +} + +// An optional token to guarantee the idempotency of cluster creation requests. +func (o GetClusterClusterInfoSpecOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) InitScripts() GetClusterClusterInfoSpecInitScriptArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecInitScript { return v.InitScripts }).(GetClusterClusterInfoSpecInitScriptArrayOutput) +} + +// The pool of idle instances the cluster is attached to. +func (o GetClusterClusterInfoSpecOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *bool { return v.IsSingleNode }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.Kind }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) Libraries() GetClusterClusterInfoSpecLibraryArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecLibrary { return v.Libraries }).(GetClusterClusterInfoSpecLibraryArrayOutput) +} + +// Any supported getNodeType id. +func (o GetClusterClusterInfoSpecOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.NodeTypeId }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *int { return v.NumWorkers }).(pulumi.IntPtrOutput) +} + +// Identifier of Cluster Policy to validate cluster and preset certain defaults. +func (o GetClusterClusterInfoSpecOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +} + +// The type of runtime of the cluster +func (o GetClusterClusterInfoSpecOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} + +// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). +func (o GetClusterClusterInfoSpecOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +} + +// Map with key-value pairs to fine-tune Spark clusters. +func (o GetClusterClusterInfoSpecOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +} + +// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. +func (o GetClusterClusterInfoSpecOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +} + +// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. +func (o GetClusterClusterInfoSpecOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) string { return v.SparkVersion }).(pulumi.StringOutput) +} + +// SSH public key contents that will be added to each Spark node in this cluster. +func (o GetClusterClusterInfoSpecOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +} + +func (o GetClusterClusterInfoSpecOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *bool { return v.UseMlRuntime }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecOutput) WorkloadType() GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecWorkloadType { return v.WorkloadType }).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +} + +type GetClusterClusterInfoSpecPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpec)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecPtrOutput) ToGetClusterClusterInfoSpecPtrOutput() GetClusterClusterInfoSpecPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecPtrOutput) ToGetClusterClusterInfoSpecPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecPtrOutput) Elem() GetClusterClusterInfoSpecOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) GetClusterClusterInfoSpec { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpec + return ret + }).(GetClusterClusterInfoSpecOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) Autoscale() GetClusterClusterInfoSpecAutoscalePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetClusterClusterInfoSpecAutoscalePtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) AwsAttributes() GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) AzureAttributes() GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +} + +// The id of the cluster +func (o GetClusterClusterInfoSpecPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return &v.ClusterId + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) ClusterLogConf() GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) ClusterMountInfos() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetClusterClusterInfoSpecClusterMountInfoArrayOutput) +} + +// The exact name of the cluster to search +func (o GetClusterClusterInfoSpecPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) +} + +// Additional tags for cluster resources. +func (o GetClusterClusterInfoSpecPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) +} + +// Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. +func (o GetClusterClusterInfoSpecPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) DockerImage() GetClusterClusterInfoSpecDockerImagePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetClusterClusterInfoSpecDockerImagePtrOutput) +} + +// similar to `instancePoolId`, but for driver node. +func (o GetClusterClusterInfoSpecPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) +} + +// The node type of the Spark driver. +func (o GetClusterClusterInfoSpecPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) +} + +// Use autoscaling local storage. +func (o GetClusterClusterInfoSpecPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) +} + +// Enable local disk encryption. +func (o GetClusterClusterInfoSpecPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) GcpAttributes() GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +} + +// An optional token to guarantee the idempotency of cluster creation requests. +func (o GetClusterClusterInfoSpecPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) InitScripts() GetClusterClusterInfoSpecInitScriptArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetClusterClusterInfoSpecInitScriptArrayOutput) +} + +// The pool of idle instances the cluster is attached to. +func (o GetClusterClusterInfoSpecPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) IsSingleNode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { + if v == nil { + return nil + } + return v.IsSingleNode + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.Kind + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) Libraries() GetClusterClusterInfoSpecLibraryArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) []GetClusterClusterInfoSpecLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(GetClusterClusterInfoSpecLibraryArrayOutput) +} + +// Any supported getNodeType id. +func (o GetClusterClusterInfoSpecPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *int { + if v == nil { + return nil + } + return v.NumWorkers + }).(pulumi.IntPtrOutput) +} + +// Identifier of Cluster Policy to validate cluster and preset certain defaults. +func (o GetClusterClusterInfoSpecPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) +} + +// The type of runtime of the cluster +func (o GetClusterClusterInfoSpecPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) +} + +// The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). +func (o GetClusterClusterInfoSpecPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) +} + +// Map with key-value pairs to fine-tune Spark clusters. +func (o GetClusterClusterInfoSpecPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) map[string]string { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.StringMapOutput) +} + +// Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. +func (o GetClusterClusterInfoSpecPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) map[string]string { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.StringMapOutput) +} + +// [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. +func (o GetClusterClusterInfoSpecPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) +} + +// SSH public key contents that will be added to each Spark node in this cluster. +func (o GetClusterClusterInfoSpecPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) UseMlRuntime() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *bool { + if v == nil { + return nil + } + return v.UseMlRuntime + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecPtrOutput) WorkloadType() GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpec) *GetClusterClusterInfoSpecWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +} + +type GetClusterClusterInfoSpecAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// GetClusterClusterInfoSpecAutoscaleInput is an input type that accepts GetClusterClusterInfoSpecAutoscaleArgs and GetClusterClusterInfoSpecAutoscaleOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAutoscaleInput` via: +// +// GetClusterClusterInfoSpecAutoscaleArgs{...} +type GetClusterClusterInfoSpecAutoscaleInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAutoscaleOutput() GetClusterClusterInfoSpecAutoscaleOutput + ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(context.Context) GetClusterClusterInfoSpecAutoscaleOutput +} + +type GetClusterClusterInfoSpecAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +} + +func (GetClusterClusterInfoSpecAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscaleOutput() GetClusterClusterInfoSpecAutoscaleOutput { + return i.ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAutoscaleOutput) +} + +func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { + return i.ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAutoscaleArgs) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAutoscaleOutput).ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecAutoscalePtrInput is an input type that accepts GetClusterClusterInfoSpecAutoscaleArgs, GetClusterClusterInfoSpecAutoscalePtr and GetClusterClusterInfoSpecAutoscalePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAutoscalePtrInput` via: +// +// GetClusterClusterInfoSpecAutoscaleArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecAutoscalePtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput + ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput +} + +type getClusterClusterInfoSpecAutoscalePtrType GetClusterClusterInfoSpecAutoscaleArgs + +func GetClusterClusterInfoSpecAutoscalePtr(v *GetClusterClusterInfoSpecAutoscaleArgs) GetClusterClusterInfoSpecAutoscalePtrInput { + return (*getClusterClusterInfoSpecAutoscalePtrType)(v) +} + +func (*getClusterClusterInfoSpecAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecAutoscalePtrType) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { + return i.ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecAutoscalePtrType) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAutoscalePtrOutput) +} + +type GetClusterClusterInfoSpecAutoscaleOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscaleOutput() GetClusterClusterInfoSpecAutoscaleOutput { + return o +} + +func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscaleOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscaleOutput { + return o +} + +func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { + return o.ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecAutoscaleOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAutoscale) *GetClusterClusterInfoSpecAutoscale { + return &v + }).(GetClusterClusterInfoSpecAutoscalePtrOutput) +} + +func (o GetClusterClusterInfoSpecAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoSpecAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAutoscale)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAutoscalePtrOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutput() GetClusterClusterInfoSpecAutoscalePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAutoscalePtrOutput) ToGetClusterClusterInfoSpecAutoscalePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAutoscalePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAutoscalePtrOutput) Elem() GetClusterClusterInfoSpecAutoscaleOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAutoscale) GetClusterClusterInfoSpecAutoscale { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecAutoscale + return ret + }).(GetClusterClusterInfoSpecAutoscaleOutput) +} + +func (o GetClusterClusterInfoSpecAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAutoscale) *int { + if v == nil { + return nil + } + return v.MaxWorkers + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) +} + +type GetClusterClusterInfoSpecAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeIops *int `pulumi:"ebsVolumeIops"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput *int `pulumi:"ebsVolumeThroughput"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetClusterClusterInfoSpecAwsAttributesInput is an input type that accepts GetClusterClusterInfoSpecAwsAttributesArgs and GetClusterClusterInfoSpecAwsAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAwsAttributesInput` via: +// +// GetClusterClusterInfoSpecAwsAttributesArgs{...} +type GetClusterClusterInfoSpecAwsAttributesInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAwsAttributesOutput() GetClusterClusterInfoSpecAwsAttributesOutput + ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(context.Context) GetClusterClusterInfoSpecAwsAttributesOutput +} + +type GetClusterClusterInfoSpecAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeIops pulumi.IntPtrInput `pulumi:"ebsVolumeIops"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeThroughput pulumi.IntPtrInput `pulumi:"ebsVolumeThroughput"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +} + +func (GetClusterClusterInfoSpecAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesOutput() GetClusterClusterInfoSpecAwsAttributesOutput { + return i.ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAwsAttributesOutput) +} + +func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAwsAttributesArgs) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAwsAttributesOutput).ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecAwsAttributesPtrInput is an input type that accepts GetClusterClusterInfoSpecAwsAttributesArgs, GetClusterClusterInfoSpecAwsAttributesPtr and GetClusterClusterInfoSpecAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAwsAttributesPtrInput` via: +// +// GetClusterClusterInfoSpecAwsAttributesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecAwsAttributesPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput + ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput +} + +type getClusterClusterInfoSpecAwsAttributesPtrType GetClusterClusterInfoSpecAwsAttributesArgs + +func GetClusterClusterInfoSpecAwsAttributesPtr(v *GetClusterClusterInfoSpecAwsAttributesArgs) GetClusterClusterInfoSpecAwsAttributesPtrInput { + return (*getClusterClusterInfoSpecAwsAttributesPtrType)(v) +} + +func (*getClusterClusterInfoSpecAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecAwsAttributesPtrType) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return i.ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecAwsAttributesPtrType) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +} + +type GetClusterClusterInfoSpecAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesOutput() GetClusterClusterInfoSpecAwsAttributesOutput { + return o +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesOutput { + return o +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return o.ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAwsAttributes) *GetClusterClusterInfoSpecAwsAttributes { + return &v + }).(GetClusterClusterInfoSpecAwsAttributesPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeIops }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.EbsVolumeThroughput }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAwsAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutput() GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) ToGetClusterClusterInfoSpecAwsAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAwsAttributesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) Elem() GetClusterClusterInfoSpecAwsAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) GetClusterClusterInfoSpecAwsAttributes { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecAwsAttributes + return ret + }).(GetClusterClusterInfoSpecAwsAttributesOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeIops + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeThroughput + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + LogAnalyticsInfo *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// GetClusterClusterInfoSpecAzureAttributesInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesArgs and GetClusterClusterInfoSpecAzureAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesInput` via: +// +// GetClusterClusterInfoSpecAzureAttributesArgs{...} +type GetClusterClusterInfoSpecAzureAttributesInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAzureAttributesOutput() GetClusterClusterInfoSpecAzureAttributesOutput + ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesOutput +} + +type GetClusterClusterInfoSpecAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + LogAnalyticsInfo GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput `pulumi:"logAnalyticsInfo"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +} + +func (GetClusterClusterInfoSpecAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesOutput() GetClusterClusterInfoSpecAzureAttributesOutput { + return i.ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesOutput) +} + +func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAzureAttributesArgs) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesOutput).ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecAzureAttributesPtrInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesArgs, GetClusterClusterInfoSpecAzureAttributesPtr and GetClusterClusterInfoSpecAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesPtrInput` via: +// +// GetClusterClusterInfoSpecAzureAttributesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecAzureAttributesPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput + ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput +} + +type getClusterClusterInfoSpecAzureAttributesPtrType GetClusterClusterInfoSpecAzureAttributesArgs + +func GetClusterClusterInfoSpecAzureAttributesPtr(v *GetClusterClusterInfoSpecAzureAttributesArgs) GetClusterClusterInfoSpecAzureAttributesPtrInput { + return (*getClusterClusterInfoSpecAzureAttributesPtrType)(v) +} + +func (*getClusterClusterInfoSpecAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecAzureAttributesPtrType) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return i.ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecAzureAttributesPtrType) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +} + +type GetClusterClusterInfoSpecAzureAttributesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesOutput() GetClusterClusterInfoSpecAzureAttributesOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return o.ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAzureAttributes) *GetClusterClusterInfoSpecAzureAttributes { + return &v + }).(GetClusterClusterInfoSpecAzureAttributesPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) LogAnalyticsInfo() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { + return v.LogAnalyticsInfo + }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} + +type GetClusterClusterInfoSpecAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutput() GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) Elem() GetClusterClusterInfoSpecAzureAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) GetClusterClusterInfoSpecAzureAttributes { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecAzureAttributes + return ret + }).(GetClusterClusterInfoSpecAzureAttributesOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) LogAnalyticsInfo() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { + if v == nil { + return nil + } + return v.LogAnalyticsInfo + }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo struct { + LogAnalyticsPrimaryKey *string `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId *string `pulumi:"logAnalyticsWorkspaceId"` +} + +// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs and GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoInput` via: +// +// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs{...} +type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput + ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput +} + +type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs struct { + LogAnalyticsPrimaryKey pulumi.StringPtrInput `pulumi:"logAnalyticsPrimaryKey"` + LogAnalyticsWorkspaceId pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceId"` +} + +func (GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { + return i.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) +} + +func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput).ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput is an input type that accepts GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs, GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtr and GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput` via: +// +// GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput + ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput +} + +type getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs + +func GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtr(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrInput { + return (*getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType)(v) +} + +func (*getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return i.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrType) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) +} + +type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { + return &v + }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) ToGetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) Elem() GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo + return ret + }).(GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsPrimaryKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { + if v == nil { + return nil + } + return v.LogAnalyticsPrimaryKey + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoPtrOutput) LogAnalyticsWorkspaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo) *string { + if v == nil { + return nil + } + return v.LogAnalyticsWorkspaceId + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConf struct { + Dbfs *GetClusterClusterInfoSpecClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetClusterClusterInfoSpecClusterLogConfS3 `pulumi:"s3"` +} + +// GetClusterClusterInfoSpecClusterLogConfInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfArgs and GetClusterClusterInfoSpecClusterLogConfOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfInput` via: +// +// GetClusterClusterInfoSpecClusterLogConfArgs{...} +type GetClusterClusterInfoSpecClusterLogConfInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterLogConfOutput() GetClusterClusterInfoSpecClusterLogConfOutput + ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfOutput +} + +type GetClusterClusterInfoSpecClusterLogConfArgs struct { + Dbfs GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetClusterClusterInfoSpecClusterLogConfS3PtrInput `pulumi:"s3"` +} + +func (GetClusterClusterInfoSpecClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfOutput() GetClusterClusterInfoSpecClusterLogConfOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfOutput) +} + +func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterLogConfArgs) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfOutput).ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecClusterLogConfPtrInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfArgs, GetClusterClusterInfoSpecClusterLogConfPtr and GetClusterClusterInfoSpecClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfPtrInput` via: +// +// GetClusterClusterInfoSpecClusterLogConfArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecClusterLogConfPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput + ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput +} + +type getClusterClusterInfoSpecClusterLogConfPtrType GetClusterClusterInfoSpecClusterLogConfArgs + +func GetClusterClusterInfoSpecClusterLogConfPtr(v *GetClusterClusterInfoSpecClusterLogConfArgs) GetClusterClusterInfoSpecClusterLogConfPtrInput { + return (*getClusterClusterInfoSpecClusterLogConfPtrType)(v) +} + +func (*getClusterClusterInfoSpecClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecClusterLogConfPtrType) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecClusterLogConfPtrType) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfOutput() GetClusterClusterInfoSpecClusterLogConfOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return o.ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecClusterLogConfOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConf { + return &v + }).(GetClusterClusterInfoSpecClusterLogConfPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfOutput) Dbfs() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfDbfs { + return v.Dbfs + }).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfOutput) S3() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfS3 { + return v.S3 + }).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConf)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutput() GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) Elem() GetClusterClusterInfoSpecClusterLogConfOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConf) GetClusterClusterInfoSpecClusterLogConf { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecClusterLogConf + return ret + }).(GetClusterClusterInfoSpecClusterLogConfOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) Dbfs() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfDbfs { + if v == nil { + return nil + } + return v.Dbfs + }).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfPtrOutput) S3() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConf) *GetClusterClusterInfoSpecClusterLogConfS3 { + if v == nil { + return nil + } + return v.S3 + }).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecClusterLogConfDbfsInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfDbfsArgs and GetClusterClusterInfoSpecClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfDbfsInput` via: +// +// GetClusterClusterInfoSpecClusterLogConfDbfsArgs{...} +type GetClusterClusterInfoSpecClusterLogConfDbfsInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterLogConfDbfsOutput() GetClusterClusterInfoSpecClusterLogConfDbfsOutput + ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsOutput +} + +type GetClusterClusterInfoSpecClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutput() GetClusterClusterInfoSpecClusterLogConfDbfsOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfDbfsOutput) +} + +func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterLogConfDbfsArgs) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfDbfsOutput).ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfDbfsArgs, GetClusterClusterInfoSpecClusterLogConfDbfsPtr and GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput` via: +// +// GetClusterClusterInfoSpecClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput + ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput +} + +type getClusterClusterInfoSpecClusterLogConfDbfsPtrType GetClusterClusterInfoSpecClusterLogConfDbfsArgs + +func GetClusterClusterInfoSpecClusterLogConfDbfsPtr(v *GetClusterClusterInfoSpecClusterLogConfDbfsArgs) GetClusterClusterInfoSpecClusterLogConfDbfsPtrInput { + return (*getClusterClusterInfoSpecClusterLogConfDbfsPtrType)(v) +} + +func (*getClusterClusterInfoSpecClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecClusterLogConfDbfsPtrType) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecClusterLogConfDbfsPtrType) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfDbfsOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutput() GetClusterClusterInfoSpecClusterLogConfDbfsOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return o.ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecClusterLogConfDbfs) *GetClusterClusterInfoSpecClusterLogConfDbfs { + return &v + }).(GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfDbfs)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput() GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) ToGetClusterClusterInfoSpecClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) Elem() GetClusterClusterInfoSpecClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfDbfs) GetClusterClusterInfoSpecClusterLogConfDbfs { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecClusterLogConfDbfs + return ret + }).(GetClusterClusterInfoSpecClusterLogConfDbfsOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` +} + +// GetClusterClusterInfoSpecClusterLogConfS3Input is an input type that accepts GetClusterClusterInfoSpecClusterLogConfS3Args and GetClusterClusterInfoSpecClusterLogConfS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfS3Input` via: +// +// GetClusterClusterInfoSpecClusterLogConfS3Args{...} +type GetClusterClusterInfoSpecClusterLogConfS3Input interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterLogConfS3Output() GetClusterClusterInfoSpecClusterLogConfS3Output + ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfS3Output +} + +type GetClusterClusterInfoSpecClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetClusterClusterInfoSpecClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3Output() GetClusterClusterInfoSpecClusterLogConfS3Output { + return i.ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfS3Output) +} + +func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterLogConfS3Args) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfS3Output).ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecClusterLogConfS3PtrInput is an input type that accepts GetClusterClusterInfoSpecClusterLogConfS3Args, GetClusterClusterInfoSpecClusterLogConfS3Ptr and GetClusterClusterInfoSpecClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterLogConfS3PtrInput` via: +// +// GetClusterClusterInfoSpecClusterLogConfS3Args{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecClusterLogConfS3PtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput + ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput +} + +type getClusterClusterInfoSpecClusterLogConfS3PtrType GetClusterClusterInfoSpecClusterLogConfS3Args + +func GetClusterClusterInfoSpecClusterLogConfS3Ptr(v *GetClusterClusterInfoSpecClusterLogConfS3Args) GetClusterClusterInfoSpecClusterLogConfS3PtrInput { + return (*getClusterClusterInfoSpecClusterLogConfS3PtrType)(v) +} + +func (*getClusterClusterInfoSpecClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecClusterLogConfS3PtrType) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return i.ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecClusterLogConfS3PtrType) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfS3Output struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3Output() GetClusterClusterInfoSpecClusterLogConfS3Output { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3Output { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return o.ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecClusterLogConfS3) *GetClusterClusterInfoSpecClusterLogConfS3 { + return &v + }).(GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecClusterLogConfS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutput() GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) ToGetClusterClusterInfoSpecClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterLogConfS3PtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Elem() GetClusterClusterInfoSpecClusterLogConfS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) GetClusterClusterInfoSpecClusterLogConfS3 { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecClusterLogConfS3 + return ret + }).(GetClusterClusterInfoSpecClusterLogConfS3Output) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +} + +// GetClusterClusterInfoSpecClusterMountInfoInput is an input type that accepts GetClusterClusterInfoSpecClusterMountInfoArgs and GetClusterClusterInfoSpecClusterMountInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterMountInfoInput` via: +// +// GetClusterClusterInfoSpecClusterMountInfoArgs{...} +type GetClusterClusterInfoSpecClusterMountInfoInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterMountInfoOutput() GetClusterClusterInfoSpecClusterMountInfoOutput + ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterMountInfoOutput +} + +type GetClusterClusterInfoSpecClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +} + +func (GetClusterClusterInfoSpecClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecClusterMountInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoOutput() GetClusterClusterInfoSpecClusterMountInfoOutput { + return i.ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterMountInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterMountInfoOutput) +} + +// GetClusterClusterInfoSpecClusterMountInfoArrayInput is an input type that accepts GetClusterClusterInfoSpecClusterMountInfoArray and GetClusterClusterInfoSpecClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterMountInfoArrayInput` via: +// +// GetClusterClusterInfoSpecClusterMountInfoArray{ GetClusterClusterInfoSpecClusterMountInfoArgs{...} } +type GetClusterClusterInfoSpecClusterMountInfoArrayInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterMountInfoArrayOutput() GetClusterClusterInfoSpecClusterMountInfoArrayOutput + ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterMountInfoArrayOutput +} + +type GetClusterClusterInfoSpecClusterMountInfoArray []GetClusterClusterInfoSpecClusterMountInfoInput + +func (GetClusterClusterInfoSpecClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecClusterMountInfoArray) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutput() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { + return i.ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterMountInfoArray) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterMountInfoArrayOutput) +} + +type GetClusterClusterInfoSpecClusterMountInfoOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterMountInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoOutput() GetClusterClusterInfoSpecClusterMountInfoOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterMountInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecClusterMountInfoOutput) NetworkFilesystemInfo() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfo) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) +} + +func (o GetClusterClusterInfoSpecClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoSpecClusterMountInfo)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterMountInfoArrayOutput) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutput() GetClusterClusterInfoSpecClusterMountInfoArrayOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterMountInfoArrayOutput) ToGetClusterClusterInfoSpecClusterMountInfoArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoArrayOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoSpecClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoSpecClusterMountInfo { + return vs[0].([]GetClusterClusterInfoSpecClusterMountInfo)[vs[1].(int)] + }).(GetClusterClusterInfoSpecClusterMountInfoOutput) +} + +type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` +} + +// GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs and GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput + ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput +} + +type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +} + +func (GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) +} + +type GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput() GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ToGetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput { + return o +} + +func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo) *string { return v.MountOptions }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo) string { return v.ServerAddress }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecDockerImage struct { + BasicAuth *GetClusterClusterInfoSpecDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` +} + +// GetClusterClusterInfoSpecDockerImageInput is an input type that accepts GetClusterClusterInfoSpecDockerImageArgs and GetClusterClusterInfoSpecDockerImageOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImageInput` via: +// +// GetClusterClusterInfoSpecDockerImageArgs{...} +type GetClusterClusterInfoSpecDockerImageInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecDockerImageOutput() GetClusterClusterInfoSpecDockerImageOutput + ToGetClusterClusterInfoSpecDockerImageOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImageOutput +} + +type GetClusterClusterInfoSpecDockerImageArgs struct { + BasicAuth GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetClusterClusterInfoSpecDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImageOutput() GetClusterClusterInfoSpecDockerImageOutput { + return i.ToGetClusterClusterInfoSpecDockerImageOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageOutput) +} + +func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { + return i.ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecDockerImageArgs) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageOutput).ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecDockerImagePtrInput is an input type that accepts GetClusterClusterInfoSpecDockerImageArgs, GetClusterClusterInfoSpecDockerImagePtr and GetClusterClusterInfoSpecDockerImagePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImagePtrInput` via: +// +// GetClusterClusterInfoSpecDockerImageArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecDockerImagePtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput + ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput +} + +type getClusterClusterInfoSpecDockerImagePtrType GetClusterClusterInfoSpecDockerImageArgs + +func GetClusterClusterInfoSpecDockerImagePtr(v *GetClusterClusterInfoSpecDockerImageArgs) GetClusterClusterInfoSpecDockerImagePtrInput { + return (*getClusterClusterInfoSpecDockerImagePtrType)(v) +} + +func (*getClusterClusterInfoSpecDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecDockerImagePtrType) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { + return i.ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecDockerImagePtrType) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImagePtrOutput) +} + +type GetClusterClusterInfoSpecDockerImageOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImageOutput() GetClusterClusterInfoSpecDockerImageOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImageOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { + return o.ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecDockerImageOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecDockerImage) *GetClusterClusterInfoSpecDockerImage { + return &v + }).(GetClusterClusterInfoSpecDockerImagePtrOutput) +} + +func (o GetClusterClusterInfoSpecDockerImageOutput) BasicAuth() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImage) *GetClusterClusterInfoSpecDockerImageBasicAuth { + return v.BasicAuth + }).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) +} + +func (o GetClusterClusterInfoSpecDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImage) string { return v.Url }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImage)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecDockerImagePtrOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutput() GetClusterClusterInfoSpecDockerImagePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImagePtrOutput) ToGetClusterClusterInfoSpecDockerImagePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImagePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImagePtrOutput) Elem() GetClusterClusterInfoSpecDockerImageOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImage) GetClusterClusterInfoSpecDockerImage { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecDockerImage + return ret + }).(GetClusterClusterInfoSpecDockerImageOutput) +} + +func (o GetClusterClusterInfoSpecDockerImagePtrOutput) BasicAuth() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImage) *GetClusterClusterInfoSpecDockerImageBasicAuth { + if v == nil { + return nil + } + return v.BasicAuth + }).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) +} + +func (o GetClusterClusterInfoSpecDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImage) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` +} + +// GetClusterClusterInfoSpecDockerImageBasicAuthInput is an input type that accepts GetClusterClusterInfoSpecDockerImageBasicAuthArgs and GetClusterClusterInfoSpecDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImageBasicAuthInput` via: +// +// GetClusterClusterInfoSpecDockerImageBasicAuthArgs{...} +type GetClusterClusterInfoSpecDockerImageBasicAuthInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecDockerImageBasicAuthOutput() GetClusterClusterInfoSpecDockerImageBasicAuthOutput + ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthOutput +} + +type GetClusterClusterInfoSpecDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutput() GetClusterClusterInfoSpecDockerImageBasicAuthOutput { + return i.ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageBasicAuthOutput) +} + +func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecDockerImageBasicAuthArgs) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageBasicAuthOutput).ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput is an input type that accepts GetClusterClusterInfoSpecDockerImageBasicAuthArgs, GetClusterClusterInfoSpecDockerImageBasicAuthPtr and GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput` via: +// +// GetClusterClusterInfoSpecDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput + ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput +} + +type getClusterClusterInfoSpecDockerImageBasicAuthPtrType GetClusterClusterInfoSpecDockerImageBasicAuthArgs + +func GetClusterClusterInfoSpecDockerImageBasicAuthPtr(v *GetClusterClusterInfoSpecDockerImageBasicAuthArgs) GetClusterClusterInfoSpecDockerImageBasicAuthPtrInput { + return (*getClusterClusterInfoSpecDockerImageBasicAuthPtrType)(v) +} + +func (*getClusterClusterInfoSpecDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecDockerImageBasicAuthPtrType) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return i.ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecDockerImageBasicAuthPtrType) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) +} + +type GetClusterClusterInfoSpecDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutput() GetClusterClusterInfoSpecDockerImageBasicAuthOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return o.ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecDockerImageBasicAuth) *GetClusterClusterInfoSpecDockerImageBasicAuth { + return &v + }).(GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecDockerImageBasicAuth)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput() GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) ToGetClusterClusterInfoSpecDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) Elem() GetClusterClusterInfoSpecDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImageBasicAuth) GetClusterClusterInfoSpecDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecDockerImageBasicAuth + return ret + }).(GetClusterClusterInfoSpecDockerImageBasicAuthOutput) +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetClusterClusterInfoSpecGcpAttributesInput is an input type that accepts GetClusterClusterInfoSpecGcpAttributesArgs and GetClusterClusterInfoSpecGcpAttributesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecGcpAttributesInput` via: +// +// GetClusterClusterInfoSpecGcpAttributesArgs{...} +type GetClusterClusterInfoSpecGcpAttributesInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecGcpAttributesOutput() GetClusterClusterInfoSpecGcpAttributesOutput + ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(context.Context) GetClusterClusterInfoSpecGcpAttributesOutput +} + +type GetClusterClusterInfoSpecGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +} + +func (GetClusterClusterInfoSpecGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesOutput() GetClusterClusterInfoSpecGcpAttributesOutput { + return i.ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecGcpAttributesOutput) +} + +func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecGcpAttributesArgs) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecGcpAttributesOutput).ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecGcpAttributesPtrInput is an input type that accepts GetClusterClusterInfoSpecGcpAttributesArgs, GetClusterClusterInfoSpecGcpAttributesPtr and GetClusterClusterInfoSpecGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecGcpAttributesPtrInput` via: +// +// GetClusterClusterInfoSpecGcpAttributesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecGcpAttributesPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput + ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput +} + +type getClusterClusterInfoSpecGcpAttributesPtrType GetClusterClusterInfoSpecGcpAttributesArgs + +func GetClusterClusterInfoSpecGcpAttributesPtr(v *GetClusterClusterInfoSpecGcpAttributesArgs) GetClusterClusterInfoSpecGcpAttributesPtrInput { + return (*getClusterClusterInfoSpecGcpAttributesPtrType)(v) +} + +func (*getClusterClusterInfoSpecGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecGcpAttributesPtrType) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return i.ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecGcpAttributesPtrType) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +} + +type GetClusterClusterInfoSpecGcpAttributesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesOutput() GetClusterClusterInfoSpecGcpAttributesOutput { + return o +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesOutput { + return o +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return o.ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecGcpAttributes) *GetClusterClusterInfoSpecGcpAttributes { + return &v + }).(GetClusterClusterInfoSpecGcpAttributesPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecGcpAttributes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutput() GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) ToGetClusterClusterInfoSpecGcpAttributesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecGcpAttributesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) Elem() GetClusterClusterInfoSpecGcpAttributesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) GetClusterClusterInfoSpecGcpAttributes { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecGcpAttributes + return ret + }).(GetClusterClusterInfoSpecGcpAttributesOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *int { + if v == nil { + return nil + } + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScript struct { + Abfss *GetClusterClusterInfoSpecInitScriptAbfss `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs *GetClusterClusterInfoSpecInitScriptDbfs `pulumi:"dbfs"` + File *GetClusterClusterInfoSpecInitScriptFile `pulumi:"file"` + Gcs *GetClusterClusterInfoSpecInitScriptGcs `pulumi:"gcs"` + S3 *GetClusterClusterInfoSpecInitScriptS3 `pulumi:"s3"` + Volumes *GetClusterClusterInfoSpecInitScriptVolumes `pulumi:"volumes"` + Workspace *GetClusterClusterInfoSpecInitScriptWorkspace `pulumi:"workspace"` +} + +// GetClusterClusterInfoSpecInitScriptInput is an input type that accepts GetClusterClusterInfoSpecInitScriptArgs and GetClusterClusterInfoSpecInitScriptOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptInput` via: +// +// GetClusterClusterInfoSpecInitScriptArgs{...} +type GetClusterClusterInfoSpecInitScriptInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptOutput() GetClusterClusterInfoSpecInitScriptOutput + ToGetClusterClusterInfoSpecInitScriptOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptOutput +} + +type GetClusterClusterInfoSpecInitScriptArgs struct { + Abfss GetClusterClusterInfoSpecInitScriptAbfssPtrInput `pulumi:"abfss"` + // Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. + Dbfs GetClusterClusterInfoSpecInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetClusterClusterInfoSpecInitScriptFilePtrInput `pulumi:"file"` + Gcs GetClusterClusterInfoSpecInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetClusterClusterInfoSpecInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetClusterClusterInfoSpecInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetClusterClusterInfoSpecInitScriptWorkspacePtrInput `pulumi:"workspace"` +} + +func (GetClusterClusterInfoSpecInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScript)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptArgs) ToGetClusterClusterInfoSpecInitScriptOutput() GetClusterClusterInfoSpecInitScriptOutput { + return i.ToGetClusterClusterInfoSpecInitScriptOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptArgs) ToGetClusterClusterInfoSpecInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptOutput) +} + +// GetClusterClusterInfoSpecInitScriptArrayInput is an input type that accepts GetClusterClusterInfoSpecInitScriptArray and GetClusterClusterInfoSpecInitScriptArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptArrayInput` via: +// +// GetClusterClusterInfoSpecInitScriptArray{ GetClusterClusterInfoSpecInitScriptArgs{...} } +type GetClusterClusterInfoSpecInitScriptArrayInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptArrayOutput() GetClusterClusterInfoSpecInitScriptArrayOutput + ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptArrayOutput +} + +type GetClusterClusterInfoSpecInitScriptArray []GetClusterClusterInfoSpecInitScriptInput + +func (GetClusterClusterInfoSpecInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoSpecInitScript)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptArray) ToGetClusterClusterInfoSpecInitScriptArrayOutput() GetClusterClusterInfoSpecInitScriptArrayOutput { + return i.ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptArray) ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptArrayOutput) +} + +type GetClusterClusterInfoSpecInitScriptOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScript)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) ToGetClusterClusterInfoSpecInitScriptOutput() GetClusterClusterInfoSpecInitScriptOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) ToGetClusterClusterInfoSpecInitScriptOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) Abfss() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptAbfss { return v.Abfss }).(GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) +} + +// Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'. +func (o GetClusterClusterInfoSpecInitScriptOutput) Dbfs() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptDbfs { return v.Dbfs }).(GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) File() GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptFile { return v.File }).(GetClusterClusterInfoSpecInitScriptFilePtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) Gcs() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptGcs { return v.Gcs }).(GetClusterClusterInfoSpecInitScriptGcsPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) S3() GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptS3 { return v.S3 }).(GetClusterClusterInfoSpecInitScriptS3PtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) Volumes() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptVolumes { + return v.Volumes + }).(GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptOutput) Workspace() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScript) *GetClusterClusterInfoSpecInitScriptWorkspace { + return v.Workspace + }).(GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoSpecInitScript)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptArrayOutput) ToGetClusterClusterInfoSpecInitScriptArrayOutput() GetClusterClusterInfoSpecInitScriptArrayOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptArrayOutput) ToGetClusterClusterInfoSpecInitScriptArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptArrayOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoSpecInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoSpecInitScript { + return vs[0].([]GetClusterClusterInfoSpecInitScript)[vs[1].(int)] + }).(GetClusterClusterInfoSpecInitScriptOutput) +} + +type GetClusterClusterInfoSpecInitScriptAbfss struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecInitScriptAbfssInput is an input type that accepts GetClusterClusterInfoSpecInitScriptAbfssArgs and GetClusterClusterInfoSpecInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptAbfssInput` via: +// +// GetClusterClusterInfoSpecInitScriptAbfssArgs{...} +type GetClusterClusterInfoSpecInitScriptAbfssInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptAbfssOutput() GetClusterClusterInfoSpecInitScriptAbfssOutput + ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptAbfssOutput +} + +type GetClusterClusterInfoSpecInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssOutput() GetClusterClusterInfoSpecInitScriptAbfssOutput { + return i.ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptAbfssOutput) +} + +func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptAbfssArgs) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptAbfssOutput).ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptAbfssPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptAbfssArgs, GetClusterClusterInfoSpecInitScriptAbfssPtr and GetClusterClusterInfoSpecInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptAbfssPtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptAbfssPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput + ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput +} + +type getClusterClusterInfoSpecInitScriptAbfssPtrType GetClusterClusterInfoSpecInitScriptAbfssArgs + +func GetClusterClusterInfoSpecInitScriptAbfssPtr(v *GetClusterClusterInfoSpecInitScriptAbfssArgs) GetClusterClusterInfoSpecInitScriptAbfssPtrInput { + return (*getClusterClusterInfoSpecInitScriptAbfssPtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptAbfssPtrType) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptAbfssPtrType) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssOutput() GetClusterClusterInfoSpecInitScriptAbfssOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptAbfss) *GetClusterClusterInfoSpecInitScriptAbfss { + return &v + }).(GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptAbfss)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutput() GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) ToGetClusterClusterInfoSpecInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptAbfssPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptAbfssOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptAbfss) GetClusterClusterInfoSpecInitScriptAbfss { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptAbfss + return ret + }).(GetClusterClusterInfoSpecInitScriptAbfssOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecInitScriptDbfsInput is an input type that accepts GetClusterClusterInfoSpecInitScriptDbfsArgs and GetClusterClusterInfoSpecInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptDbfsInput` via: +// +// GetClusterClusterInfoSpecInitScriptDbfsArgs{...} +type GetClusterClusterInfoSpecInitScriptDbfsInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptDbfsOutput() GetClusterClusterInfoSpecInitScriptDbfsOutput + ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptDbfsOutput +} + +type GetClusterClusterInfoSpecInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsOutput() GetClusterClusterInfoSpecInitScriptDbfsOutput { + return i.ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptDbfsOutput) +} + +func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptDbfsArgs) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptDbfsOutput).ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptDbfsPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptDbfsArgs, GetClusterClusterInfoSpecInitScriptDbfsPtr and GetClusterClusterInfoSpecInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptDbfsPtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptDbfsPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput + ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput +} + +type getClusterClusterInfoSpecInitScriptDbfsPtrType GetClusterClusterInfoSpecInitScriptDbfsArgs + +func GetClusterClusterInfoSpecInitScriptDbfsPtr(v *GetClusterClusterInfoSpecInitScriptDbfsArgs) GetClusterClusterInfoSpecInitScriptDbfsPtrInput { + return (*getClusterClusterInfoSpecInitScriptDbfsPtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptDbfsPtrType) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptDbfsPtrType) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptDbfsOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsOutput() GetClusterClusterInfoSpecInitScriptDbfsOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptDbfs) *GetClusterClusterInfoSpecInitScriptDbfs { + return &v + }).(GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptDbfs)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutput() GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) ToGetClusterClusterInfoSpecInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptDbfsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptDbfsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptDbfs) GetClusterClusterInfoSpecInitScriptDbfs { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptDbfs + return ret + }).(GetClusterClusterInfoSpecInitScriptDbfsOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptFile struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecInitScriptFileInput is an input type that accepts GetClusterClusterInfoSpecInitScriptFileArgs and GetClusterClusterInfoSpecInitScriptFileOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptFileInput` via: +// +// GetClusterClusterInfoSpecInitScriptFileArgs{...} +type GetClusterClusterInfoSpecInitScriptFileInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptFileOutput() GetClusterClusterInfoSpecInitScriptFileOutput + ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptFileOutput +} + +type GetClusterClusterInfoSpecInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFileOutput() GetClusterClusterInfoSpecInitScriptFileOutput { + return i.ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptFileOutput) +} + +func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptFileArgs) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptFileOutput).ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptFilePtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptFileArgs, GetClusterClusterInfoSpecInitScriptFilePtr and GetClusterClusterInfoSpecInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptFilePtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptFileArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptFilePtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput + ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput +} + +type getClusterClusterInfoSpecInitScriptFilePtrType GetClusterClusterInfoSpecInitScriptFileArgs + +func GetClusterClusterInfoSpecInitScriptFilePtr(v *GetClusterClusterInfoSpecInitScriptFileArgs) GetClusterClusterInfoSpecInitScriptFilePtrInput { + return (*getClusterClusterInfoSpecInitScriptFilePtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptFilePtrType) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptFilePtrType) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptFilePtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptFileOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFileOutput() GetClusterClusterInfoSpecInitScriptFileOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFileOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFileOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptFileOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptFile) *GetClusterClusterInfoSpecInitScriptFile { + return &v + }).(GetClusterClusterInfoSpecInitScriptFilePtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecInitScriptFilePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptFile)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutput() GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) ToGetClusterClusterInfoSpecInitScriptFilePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptFilePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) Elem() GetClusterClusterInfoSpecInitScriptFileOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptFile) GetClusterClusterInfoSpecInitScriptFile { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptFile + return ret + }).(GetClusterClusterInfoSpecInitScriptFileOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptGcs struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecInitScriptGcsInput is an input type that accepts GetClusterClusterInfoSpecInitScriptGcsArgs and GetClusterClusterInfoSpecInitScriptGcsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptGcsInput` via: +// +// GetClusterClusterInfoSpecInitScriptGcsArgs{...} +type GetClusterClusterInfoSpecInitScriptGcsInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptGcsOutput() GetClusterClusterInfoSpecInitScriptGcsOutput + ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptGcsOutput +} + +type GetClusterClusterInfoSpecInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsOutput() GetClusterClusterInfoSpecInitScriptGcsOutput { + return i.ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptGcsOutput) +} + +func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptGcsArgs) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptGcsOutput).ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptGcsPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptGcsArgs, GetClusterClusterInfoSpecInitScriptGcsPtr and GetClusterClusterInfoSpecInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptGcsPtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptGcsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptGcsPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput + ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput +} + +type getClusterClusterInfoSpecInitScriptGcsPtrType GetClusterClusterInfoSpecInitScriptGcsArgs + +func GetClusterClusterInfoSpecInitScriptGcsPtr(v *GetClusterClusterInfoSpecInitScriptGcsArgs) GetClusterClusterInfoSpecInitScriptGcsPtrInput { + return (*getClusterClusterInfoSpecInitScriptGcsPtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptGcsPtrType) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptGcsPtrType) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptGcsPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptGcsOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsOutput() GetClusterClusterInfoSpecInitScriptGcsOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptGcsOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptGcs) *GetClusterClusterInfoSpecInitScriptGcs { + return &v + }).(GetClusterClusterInfoSpecInitScriptGcsPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecInitScriptGcsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptGcs)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutput() GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) ToGetClusterClusterInfoSpecInitScriptGcsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptGcsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptGcsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptGcs) GetClusterClusterInfoSpecInitScriptGcs { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptGcs + return ret + }).(GetClusterClusterInfoSpecInitScriptGcsOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptGcs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` +} + +// GetClusterClusterInfoSpecInitScriptS3Input is an input type that accepts GetClusterClusterInfoSpecInitScriptS3Args and GetClusterClusterInfoSpecInitScriptS3Output values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptS3Input` via: +// +// GetClusterClusterInfoSpecInitScriptS3Args{...} +type GetClusterClusterInfoSpecInitScriptS3Input interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptS3Output() GetClusterClusterInfoSpecInitScriptS3Output + ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptS3Output +} + +type GetClusterClusterInfoSpecInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetClusterClusterInfoSpecInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3Output() GetClusterClusterInfoSpecInitScriptS3Output { + return i.ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptS3Output) +} + +func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptS3Args) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptS3Output).ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptS3PtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptS3Args, GetClusterClusterInfoSpecInitScriptS3Ptr and GetClusterClusterInfoSpecInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptS3PtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptS3Args{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptS3PtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput + ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput +} + +type getClusterClusterInfoSpecInitScriptS3PtrType GetClusterClusterInfoSpecInitScriptS3Args + +func GetClusterClusterInfoSpecInitScriptS3Ptr(v *GetClusterClusterInfoSpecInitScriptS3Args) GetClusterClusterInfoSpecInitScriptS3PtrInput { + return (*getClusterClusterInfoSpecInitScriptS3PtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptS3PtrType) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptS3PtrType) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptS3PtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptS3Output struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3Output() GetClusterClusterInfoSpecInitScriptS3Output { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3OutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3Output { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptS3) *GetClusterClusterInfoSpecInitScriptS3 { + return &v + }).(GetClusterClusterInfoSpecInitScriptS3PtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptS3)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) ToGetClusterClusterInfoSpecInitScriptS3PtrOutput() GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) ToGetClusterClusterInfoSpecInitScriptS3PtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptS3PtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Elem() GetClusterClusterInfoSpecInitScriptS3Output { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) GetClusterClusterInfoSpecInitScriptS3 { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptS3 + return ret + }).(GetClusterClusterInfoSpecInitScriptS3Output) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecInitScriptVolumesInput is an input type that accepts GetClusterClusterInfoSpecInitScriptVolumesArgs and GetClusterClusterInfoSpecInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptVolumesInput` via: +// +// GetClusterClusterInfoSpecInitScriptVolumesArgs{...} +type GetClusterClusterInfoSpecInitScriptVolumesInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptVolumesOutput() GetClusterClusterInfoSpecInitScriptVolumesOutput + ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptVolumesOutput +} + +type GetClusterClusterInfoSpecInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesOutput() GetClusterClusterInfoSpecInitScriptVolumesOutput { + return i.ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptVolumesOutput) +} + +func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptVolumesArgs) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptVolumesOutput).ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptVolumesPtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptVolumesArgs, GetClusterClusterInfoSpecInitScriptVolumesPtr and GetClusterClusterInfoSpecInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptVolumesPtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptVolumesArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptVolumesPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput + ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput +} + +type getClusterClusterInfoSpecInitScriptVolumesPtrType GetClusterClusterInfoSpecInitScriptVolumesArgs + +func GetClusterClusterInfoSpecInitScriptVolumesPtr(v *GetClusterClusterInfoSpecInitScriptVolumesArgs) GetClusterClusterInfoSpecInitScriptVolumesPtrInput { + return (*getClusterClusterInfoSpecInitScriptVolumesPtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptVolumesPtrType) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptVolumesPtrType) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesOutput() GetClusterClusterInfoSpecInitScriptVolumesOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptVolumes) *GetClusterClusterInfoSpecInitScriptVolumes { + return &v + }).(GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptVolumes)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutput() GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) ToGetClusterClusterInfoSpecInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptVolumesPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) Elem() GetClusterClusterInfoSpecInitScriptVolumesOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptVolumes) GetClusterClusterInfoSpecInitScriptVolumes { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptVolumes + return ret + }).(GetClusterClusterInfoSpecInitScriptVolumesOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptVolumes) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptWorkspace struct { + Destination string `pulumi:"destination"` +} + +// GetClusterClusterInfoSpecInitScriptWorkspaceInput is an input type that accepts GetClusterClusterInfoSpecInitScriptWorkspaceArgs and GetClusterClusterInfoSpecInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptWorkspaceInput` via: +// +// GetClusterClusterInfoSpecInitScriptWorkspaceArgs{...} +type GetClusterClusterInfoSpecInitScriptWorkspaceInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptWorkspaceOutput() GetClusterClusterInfoSpecInitScriptWorkspaceOutput + ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptWorkspaceOutput +} + +type GetClusterClusterInfoSpecInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} + +func (GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutput() GetClusterClusterInfoSpecInitScriptWorkspaceOutput { + return i.ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptWorkspaceOutput) +} + +func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecInitScriptWorkspaceArgs) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptWorkspaceOutput).ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecInitScriptWorkspacePtrInput is an input type that accepts GetClusterClusterInfoSpecInitScriptWorkspaceArgs, GetClusterClusterInfoSpecInitScriptWorkspacePtr and GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecInitScriptWorkspacePtrInput` via: +// +// GetClusterClusterInfoSpecInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecInitScriptWorkspacePtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput + ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput +} + +type getClusterClusterInfoSpecInitScriptWorkspacePtrType GetClusterClusterInfoSpecInitScriptWorkspaceArgs + +func GetClusterClusterInfoSpecInitScriptWorkspacePtr(v *GetClusterClusterInfoSpecInitScriptWorkspaceArgs) GetClusterClusterInfoSpecInitScriptWorkspacePtrInput { + return (*getClusterClusterInfoSpecInitScriptWorkspacePtrType)(v) +} + +func (*getClusterClusterInfoSpecInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecInitScriptWorkspacePtrType) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return i.ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecInitScriptWorkspacePtrType) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) +} + +type GetClusterClusterInfoSpecInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutput() GetClusterClusterInfoSpecInitScriptWorkspaceOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspaceOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspaceOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return o.ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecInitScriptWorkspace) *GetClusterClusterInfoSpecInitScriptWorkspace { + return &v + }).(GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +} + +type GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecInitScriptWorkspace)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutput() GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) ToGetClusterClusterInfoSpecInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) Elem() GetClusterClusterInfoSpecInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptWorkspace) GetClusterClusterInfoSpecInitScriptWorkspace { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecInitScriptWorkspace + return ret + }).(GetClusterClusterInfoSpecInitScriptWorkspaceOutput) +} + +func (o GetClusterClusterInfoSpecInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibrary struct { + Cran *GetClusterClusterInfoSpecLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetClusterClusterInfoSpecLibraryMaven `pulumi:"maven"` + Pypi *GetClusterClusterInfoSpecLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` +} + +// GetClusterClusterInfoSpecLibraryInput is an input type that accepts GetClusterClusterInfoSpecLibraryArgs and GetClusterClusterInfoSpecLibraryOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryInput` via: +// +// GetClusterClusterInfoSpecLibraryArgs{...} +type GetClusterClusterInfoSpecLibraryInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryOutput() GetClusterClusterInfoSpecLibraryOutput + ToGetClusterClusterInfoSpecLibraryOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryOutput +} + +type GetClusterClusterInfoSpecLibraryArgs struct { + Cran GetClusterClusterInfoSpecLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetClusterClusterInfoSpecLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetClusterClusterInfoSpecLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` +} + +func (GetClusterClusterInfoSpecLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibrary)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecLibraryArgs) ToGetClusterClusterInfoSpecLibraryOutput() GetClusterClusterInfoSpecLibraryOutput { + return i.ToGetClusterClusterInfoSpecLibraryOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryArgs) ToGetClusterClusterInfoSpecLibraryOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryOutput) +} + +// GetClusterClusterInfoSpecLibraryArrayInput is an input type that accepts GetClusterClusterInfoSpecLibraryArray and GetClusterClusterInfoSpecLibraryArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryArrayInput` via: +// +// GetClusterClusterInfoSpecLibraryArray{ GetClusterClusterInfoSpecLibraryArgs{...} } +type GetClusterClusterInfoSpecLibraryArrayInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryArrayOutput() GetClusterClusterInfoSpecLibraryArrayOutput + ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryArrayOutput +} + +type GetClusterClusterInfoSpecLibraryArray []GetClusterClusterInfoSpecLibraryInput + +func (GetClusterClusterInfoSpecLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoSpecLibrary)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecLibraryArray) ToGetClusterClusterInfoSpecLibraryArrayOutput() GetClusterClusterInfoSpecLibraryArrayOutput { + return i.ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryArray) ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryArrayOutput) +} + +type GetClusterClusterInfoSpecLibraryOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibrary)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryOutput) ToGetClusterClusterInfoSpecLibraryOutput() GetClusterClusterInfoSpecLibraryOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryOutput) ToGetClusterClusterInfoSpecLibraryOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Cran() GetClusterClusterInfoSpecLibraryCranPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *GetClusterClusterInfoSpecLibraryCran { return v.Cran }).(GetClusterClusterInfoSpecLibraryCranPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Maven() GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *GetClusterClusterInfoSpecLibraryMaven { return v.Maven }).(GetClusterClusterInfoSpecLibraryMavenPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Pypi() GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *GetClusterClusterInfoSpecLibraryPypi { return v.Pypi }).(GetClusterClusterInfoSpecLibraryPypiPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterInfoSpecLibrary)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryArrayOutput) ToGetClusterClusterInfoSpecLibraryArrayOutput() GetClusterClusterInfoSpecLibraryArrayOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryArrayOutput) ToGetClusterClusterInfoSpecLibraryArrayOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryArrayOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryArrayOutput) Index(i pulumi.IntInput) GetClusterClusterInfoSpecLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterInfoSpecLibrary { + return vs[0].([]GetClusterClusterInfoSpecLibrary)[vs[1].(int)] + }).(GetClusterClusterInfoSpecLibraryOutput) +} + +type GetClusterClusterInfoSpecLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetClusterClusterInfoSpecLibraryCranInput is an input type that accepts GetClusterClusterInfoSpecLibraryCranArgs and GetClusterClusterInfoSpecLibraryCranOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryCranInput` via: +// +// GetClusterClusterInfoSpecLibraryCranArgs{...} +type GetClusterClusterInfoSpecLibraryCranInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryCranOutput() GetClusterClusterInfoSpecLibraryCranOutput + ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryCranOutput +} + +type GetClusterClusterInfoSpecLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetClusterClusterInfoSpecLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranOutput() GetClusterClusterInfoSpecLibraryCranOutput { + return i.ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryCranOutput) +} + +func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { + return i.ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryCranArgs) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryCranOutput).ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecLibraryCranPtrInput is an input type that accepts GetClusterClusterInfoSpecLibraryCranArgs, GetClusterClusterInfoSpecLibraryCranPtr and GetClusterClusterInfoSpecLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryCranPtrInput` via: +// +// GetClusterClusterInfoSpecLibraryCranArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecLibraryCranPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput + ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput +} + +type getClusterClusterInfoSpecLibraryCranPtrType GetClusterClusterInfoSpecLibraryCranArgs + +func GetClusterClusterInfoSpecLibraryCranPtr(v *GetClusterClusterInfoSpecLibraryCranArgs) GetClusterClusterInfoSpecLibraryCranPtrInput { + return (*getClusterClusterInfoSpecLibraryCranPtrType)(v) +} + +func (*getClusterClusterInfoSpecLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecLibraryCranPtrType) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { + return i.ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecLibraryCranPtrType) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryCranPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryCranOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranOutput() GetClusterClusterInfoSpecLibraryCranOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { + return o.ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecLibraryCranOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecLibraryCran) *GetClusterClusterInfoSpecLibraryCran { + return &v + }).(GetClusterClusterInfoSpecLibraryCranPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryCran) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryCran)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutput() GetClusterClusterInfoSpecLibraryCranPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) ToGetClusterClusterInfoSpecLibraryCranPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryCranPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) Elem() GetClusterClusterInfoSpecLibraryCranOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryCran) GetClusterClusterInfoSpecLibraryCran { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecLibraryCran + return ret + }).(GetClusterClusterInfoSpecLibraryCranOutput) +} + +func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryCran) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// GetClusterClusterInfoSpecLibraryMavenInput is an input type that accepts GetClusterClusterInfoSpecLibraryMavenArgs and GetClusterClusterInfoSpecLibraryMavenOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryMavenInput` via: +// +// GetClusterClusterInfoSpecLibraryMavenArgs{...} +type GetClusterClusterInfoSpecLibraryMavenInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryMavenOutput() GetClusterClusterInfoSpecLibraryMavenOutput + ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryMavenOutput +} + +type GetClusterClusterInfoSpecLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetClusterClusterInfoSpecLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenOutput() GetClusterClusterInfoSpecLibraryMavenOutput { + return i.ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryMavenOutput) +} + +func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return i.ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryMavenArgs) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryMavenOutput).ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecLibraryMavenPtrInput is an input type that accepts GetClusterClusterInfoSpecLibraryMavenArgs, GetClusterClusterInfoSpecLibraryMavenPtr and GetClusterClusterInfoSpecLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryMavenPtrInput` via: +// +// GetClusterClusterInfoSpecLibraryMavenArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecLibraryMavenPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput + ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput +} + +type getClusterClusterInfoSpecLibraryMavenPtrType GetClusterClusterInfoSpecLibraryMavenArgs + +func GetClusterClusterInfoSpecLibraryMavenPtr(v *GetClusterClusterInfoSpecLibraryMavenArgs) GetClusterClusterInfoSpecLibraryMavenPtrInput { + return (*getClusterClusterInfoSpecLibraryMavenPtrType)(v) +} + +func (*getClusterClusterInfoSpecLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecLibraryMavenPtrType) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return i.ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecLibraryMavenPtrType) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryMavenPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryMavenOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenOutput() GetClusterClusterInfoSpecLibraryMavenOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return o.ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecLibraryMaven) *GetClusterClusterInfoSpecLibraryMaven { + return &v + }).(GetClusterClusterInfoSpecLibraryMavenPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} + +func (o GetClusterClusterInfoSpecLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryMaven)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutput() GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) ToGetClusterClusterInfoSpecLibraryMavenPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryMavenPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Elem() GetClusterClusterInfoSpecLibraryMavenOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) GetClusterClusterInfoSpecLibraryMaven { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecLibraryMaven + return ret + }).(GetClusterClusterInfoSpecLibraryMavenOutput) +} + +func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) *string { + if v == nil { + return nil + } + return &v.Coordinates + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o GetClusterClusterInfoSpecLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetClusterClusterInfoSpecLibraryPypiInput is an input type that accepts GetClusterClusterInfoSpecLibraryPypiArgs and GetClusterClusterInfoSpecLibraryPypiOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryPypiInput` via: +// +// GetClusterClusterInfoSpecLibraryPypiArgs{...} +type GetClusterClusterInfoSpecLibraryPypiInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryPypiOutput() GetClusterClusterInfoSpecLibraryPypiOutput + ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryPypiOutput +} + +type GetClusterClusterInfoSpecLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` +} + +func (GetClusterClusterInfoSpecLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiOutput() GetClusterClusterInfoSpecLibraryPypiOutput { + return i.ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryPypiOutput) +} + +func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return i.ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecLibraryPypiArgs) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryPypiOutput).ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecLibraryPypiPtrInput is an input type that accepts GetClusterClusterInfoSpecLibraryPypiArgs, GetClusterClusterInfoSpecLibraryPypiPtr and GetClusterClusterInfoSpecLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecLibraryPypiPtrInput` via: +// +// GetClusterClusterInfoSpecLibraryPypiArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecLibraryPypiPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput + ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput +} + +type getClusterClusterInfoSpecLibraryPypiPtrType GetClusterClusterInfoSpecLibraryPypiArgs + +func GetClusterClusterInfoSpecLibraryPypiPtr(v *GetClusterClusterInfoSpecLibraryPypiArgs) GetClusterClusterInfoSpecLibraryPypiPtrInput { + return (*getClusterClusterInfoSpecLibraryPypiPtrType)(v) +} + +func (*getClusterClusterInfoSpecLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecLibraryPypiPtrType) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return i.ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecLibraryPypiPtrType) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecLibraryPypiPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryPypiOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiOutput() GetClusterClusterInfoSpecLibraryPypiOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return o.ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecLibraryPypiOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecLibraryPypi) *GetClusterClusterInfoSpecLibraryPypi { + return &v + }).(GetClusterClusterInfoSpecLibraryPypiPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +} + +func (o GetClusterClusterInfoSpecLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecLibraryPypiPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecLibraryPypi)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutput() GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) ToGetClusterClusterInfoSpecLibraryPypiPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecLibraryPypiPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) Elem() GetClusterClusterInfoSpecLibraryPypiOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryPypi) GetClusterClusterInfoSpecLibraryPypi { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecLibraryPypi + return ret + }).(GetClusterClusterInfoSpecLibraryPypiOutput) +} + +func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryPypi) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoSpecLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecLibraryPypi) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoSpecWorkloadType struct { + Clients GetClusterClusterInfoSpecWorkloadTypeClients `pulumi:"clients"` +} + +// GetClusterClusterInfoSpecWorkloadTypeInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeArgs and GetClusterClusterInfoSpecWorkloadTypeOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypeInput` via: +// +// GetClusterClusterInfoSpecWorkloadTypeArgs{...} +type GetClusterClusterInfoSpecWorkloadTypeInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecWorkloadTypeOutput() GetClusterClusterInfoSpecWorkloadTypeOutput + ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypeOutput +} + +type GetClusterClusterInfoSpecWorkloadTypeArgs struct { + Clients GetClusterClusterInfoSpecWorkloadTypeClientsInput `pulumi:"clients"` +} + +func (GetClusterClusterInfoSpecWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypeOutput() GetClusterClusterInfoSpecWorkloadTypeOutput { + return i.ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeOutput) +} + +func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return i.ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecWorkloadTypeArgs) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeOutput).ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecWorkloadTypePtrInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeArgs, GetClusterClusterInfoSpecWorkloadTypePtr and GetClusterClusterInfoSpecWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypePtrInput` via: +// +// GetClusterClusterInfoSpecWorkloadTypeArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecWorkloadTypePtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput + ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput +} + +type getClusterClusterInfoSpecWorkloadTypePtrType GetClusterClusterInfoSpecWorkloadTypeArgs + +func GetClusterClusterInfoSpecWorkloadTypePtr(v *GetClusterClusterInfoSpecWorkloadTypeArgs) GetClusterClusterInfoSpecWorkloadTypePtrInput { + return (*getClusterClusterInfoSpecWorkloadTypePtrType)(v) +} + +func (*getClusterClusterInfoSpecWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecWorkloadTypePtrType) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return i.ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecWorkloadTypePtrType) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +} + +type GetClusterClusterInfoSpecWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypeOutput() GetClusterClusterInfoSpecWorkloadTypeOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return o.ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecWorkloadType) *GetClusterClusterInfoSpecWorkloadType { + return &v + }).(GetClusterClusterInfoSpecWorkloadTypePtrOutput) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeOutput) Clients() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecWorkloadType) GetClusterClusterInfoSpecWorkloadTypeClients { + return v.Clients + }).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput) +} + +type GetClusterClusterInfoSpecWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadType)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutput() GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) ToGetClusterClusterInfoSpecWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypePtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) Elem() GetClusterClusterInfoSpecWorkloadTypeOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadType) GetClusterClusterInfoSpecWorkloadType { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecWorkloadType + return ret + }).(GetClusterClusterInfoSpecWorkloadTypeOutput) +} + +func (o GetClusterClusterInfoSpecWorkloadTypePtrOutput) Clients() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadType) *GetClusterClusterInfoSpecWorkloadTypeClients { + if v == nil { + return nil + } + return &v.Clients + }).(GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) +} + +type GetClusterClusterInfoSpecWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` +} + +// GetClusterClusterInfoSpecWorkloadTypeClientsInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeClientsArgs and GetClusterClusterInfoSpecWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypeClientsInput` via: +// +// GetClusterClusterInfoSpecWorkloadTypeClientsArgs{...} +type GetClusterClusterInfoSpecWorkloadTypeClientsInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecWorkloadTypeClientsOutput() GetClusterClusterInfoSpecWorkloadTypeClientsOutput + ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsOutput +} + +type GetClusterClusterInfoSpecWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +} + +func (GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +} + +func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutput() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { + return i.ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput) +} + +func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return i.ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoSpecWorkloadTypeClientsArgs) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput).ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput is an input type that accepts GetClusterClusterInfoSpecWorkloadTypeClientsArgs, GetClusterClusterInfoSpecWorkloadTypeClientsPtr and GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput` via: +// +// GetClusterClusterInfoSpecWorkloadTypeClientsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput + ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput +} + +type getClusterClusterInfoSpecWorkloadTypeClientsPtrType GetClusterClusterInfoSpecWorkloadTypeClientsArgs + +func GetClusterClusterInfoSpecWorkloadTypeClientsPtr(v *GetClusterClusterInfoSpecWorkloadTypeClientsArgs) GetClusterClusterInfoSpecWorkloadTypeClientsPtrInput { + return (*getClusterClusterInfoSpecWorkloadTypeClientsPtrType)(v) +} + +func (*getClusterClusterInfoSpecWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +} + +func (i *getClusterClusterInfoSpecWorkloadTypeClientsPtrType) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return i.ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoSpecWorkloadTypeClientsPtrType) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) +} + +type GetClusterClusterInfoSpecWorkloadTypeClientsOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutput() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return o.ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoSpecWorkloadTypeClients) *GetClusterClusterInfoSpecWorkloadTypeClients { + return &v + }).(GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoSpecWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +} + +type GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoSpecWorkloadTypeClients)(nil)).Elem() +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput() GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoSpecWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) Elem() GetClusterClusterInfoSpecWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadTypeClients) GetClusterClusterInfoSpecWorkloadTypeClients { + if v != nil { + return *v + } + var ret GetClusterClusterInfoSpecWorkloadTypeClients + return ret + }).(GetClusterClusterInfoSpecWorkloadTypeClientsOutput) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Jobs + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoSpecWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoSpecWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} + +type GetClusterClusterInfoTerminationReason struct { + Code *string `pulumi:"code"` + Parameters map[string]string `pulumi:"parameters"` + Type *string `pulumi:"type"` +} + +// GetClusterClusterInfoTerminationReasonInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs and GetClusterClusterInfoTerminationReasonOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonInput` via: +// +// GetClusterClusterInfoTerminationReasonArgs{...} +type GetClusterClusterInfoTerminationReasonInput interface { + pulumi.Input + + ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput + ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonOutput +} + +type GetClusterClusterInfoTerminationReasonArgs struct { + Code pulumi.StringPtrInput `pulumi:"code"` + Parameters pulumi.StringMapInput `pulumi:"parameters"` + Type pulumi.StringPtrInput `pulumi:"type"` +} + +func (GetClusterClusterInfoTerminationReasonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +} + +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { + return i.ToGetClusterClusterInfoTerminationReasonOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput) +} + +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoTerminationReasonArgs) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonOutput).ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoTerminationReasonPtrInput is an input type that accepts GetClusterClusterInfoTerminationReasonArgs, GetClusterClusterInfoTerminationReasonPtr and GetClusterClusterInfoTerminationReasonPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoTerminationReasonPtrInput` via: +// +// GetClusterClusterInfoTerminationReasonArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoTerminationReasonPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput + ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Context) GetClusterClusterInfoTerminationReasonPtrOutput +} + +type getClusterClusterInfoTerminationReasonPtrType GetClusterClusterInfoTerminationReasonArgs + +func GetClusterClusterInfoTerminationReasonPtr(v *GetClusterClusterInfoTerminationReasonArgs) GetClusterClusterInfoTerminationReasonPtrInput { + return (*getClusterClusterInfoTerminationReasonPtrType)(v) +} + +func (*getClusterClusterInfoTerminationReasonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +} + +func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return i.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoTerminationReasonPtrType) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoTerminationReasonPtrOutput) +} + +type GetClusterClusterInfoTerminationReasonOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoTerminationReasonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoTerminationReason)(nil)).Elem() +} + +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutput() GetClusterClusterInfoTerminationReasonOutput { + return o +} + +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonOutput { + return o +} + +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoTerminationReasonOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoTerminationReason) *GetClusterClusterInfoTerminationReason { + return &v + }).(GetClusterClusterInfoTerminationReasonPtrOutput) +} + +func (o GetClusterClusterInfoTerminationReasonOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoTerminationReasonOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +} + +func (o GetClusterClusterInfoTerminationReasonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoTerminationReason) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoTerminationReasonPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoTerminationReasonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoTerminationReason)(nil)).Elem() +} + +func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutput() GetClusterClusterInfoTerminationReasonPtrOutput { + return o +} + +func (o GetClusterClusterInfoTerminationReasonPtrOutput) ToGetClusterClusterInfoTerminationReasonPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoTerminationReasonPtrOutput { + return o +} + +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Elem() GetClusterClusterInfoTerminationReasonOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) GetClusterClusterInfoTerminationReason { + if v != nil { + return *v + } + var ret GetClusterClusterInfoTerminationReason + return ret + }).(GetClusterClusterInfoTerminationReasonOutput) +} + +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) map[string]string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringMapOutput) +} + +func (o GetClusterClusterInfoTerminationReasonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoTerminationReason) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +type GetClusterClusterInfoWorkloadType struct { + Clients GetClusterClusterInfoWorkloadTypeClients `pulumi:"clients"` +} + +// GetClusterClusterInfoWorkloadTypeInput is an input type that accepts GetClusterClusterInfoWorkloadTypeArgs and GetClusterClusterInfoWorkloadTypeOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypeInput` via: +// +// GetClusterClusterInfoWorkloadTypeArgs{...} +type GetClusterClusterInfoWorkloadTypeInput interface { + pulumi.Input + + ToGetClusterClusterInfoWorkloadTypeOutput() GetClusterClusterInfoWorkloadTypeOutput + ToGetClusterClusterInfoWorkloadTypeOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypeOutput +} + +type GetClusterClusterInfoWorkloadTypeArgs struct { + Clients GetClusterClusterInfoWorkloadTypeClientsInput `pulumi:"clients"` +} + +func (GetClusterClusterInfoWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoWorkloadType)(nil)).Elem() +} + +func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypeOutput() GetClusterClusterInfoWorkloadTypeOutput { + return i.ToGetClusterClusterInfoWorkloadTypeOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeOutput) +} + +func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { + return i.ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoWorkloadTypeArgs) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeOutput).ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoWorkloadTypePtrInput is an input type that accepts GetClusterClusterInfoWorkloadTypeArgs, GetClusterClusterInfoWorkloadTypePtr and GetClusterClusterInfoWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypePtrInput` via: +// +// GetClusterClusterInfoWorkloadTypeArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoWorkloadTypePtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput + ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypePtrOutput +} + +type getClusterClusterInfoWorkloadTypePtrType GetClusterClusterInfoWorkloadTypeArgs + +func GetClusterClusterInfoWorkloadTypePtr(v *GetClusterClusterInfoWorkloadTypeArgs) GetClusterClusterInfoWorkloadTypePtrInput { + return (*getClusterClusterInfoWorkloadTypePtrType)(v) +} + +func (*getClusterClusterInfoWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoWorkloadType)(nil)).Elem() +} + +func (i *getClusterClusterInfoWorkloadTypePtrType) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { + return i.ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoWorkloadTypePtrType) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypePtrOutput) +} + +type GetClusterClusterInfoWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoWorkloadType)(nil)).Elem() +} + +func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypeOutput() GetClusterClusterInfoWorkloadTypeOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypeOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { + return o.ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoWorkloadTypeOutput) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoWorkloadType) *GetClusterClusterInfoWorkloadType { + return &v + }).(GetClusterClusterInfoWorkloadTypePtrOutput) +} + +func (o GetClusterClusterInfoWorkloadTypeOutput) Clients() GetClusterClusterInfoWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetClusterClusterInfoWorkloadType) GetClusterClusterInfoWorkloadTypeClients { return v.Clients }).(GetClusterClusterInfoWorkloadTypeClientsOutput) +} + +type GetClusterClusterInfoWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoWorkloadType)(nil)).Elem() +} + +func (o GetClusterClusterInfoWorkloadTypePtrOutput) ToGetClusterClusterInfoWorkloadTypePtrOutput() GetClusterClusterInfoWorkloadTypePtrOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypePtrOutput) ToGetClusterClusterInfoWorkloadTypePtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypePtrOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypePtrOutput) Elem() GetClusterClusterInfoWorkloadTypeOutput { + return o.ApplyT(func(v *GetClusterClusterInfoWorkloadType) GetClusterClusterInfoWorkloadType { + if v != nil { + return *v + } + var ret GetClusterClusterInfoWorkloadType + return ret + }).(GetClusterClusterInfoWorkloadTypeOutput) +} + +func (o GetClusterClusterInfoWorkloadTypePtrOutput) Clients() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoWorkloadType) *GetClusterClusterInfoWorkloadTypeClients { + if v == nil { + return nil + } + return &v.Clients + }).(GetClusterClusterInfoWorkloadTypeClientsPtrOutput) +} + +type GetClusterClusterInfoWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` +} + +// GetClusterClusterInfoWorkloadTypeClientsInput is an input type that accepts GetClusterClusterInfoWorkloadTypeClientsArgs and GetClusterClusterInfoWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypeClientsInput` via: +// +// GetClusterClusterInfoWorkloadTypeClientsArgs{...} +type GetClusterClusterInfoWorkloadTypeClientsInput interface { + pulumi.Input + + ToGetClusterClusterInfoWorkloadTypeClientsOutput() GetClusterClusterInfoWorkloadTypeClientsOutput + ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypeClientsOutput +} + +type GetClusterClusterInfoWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +} + +func (GetClusterClusterInfoWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +} + +func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsOutput() GetClusterClusterInfoWorkloadTypeClientsOutput { + return i.ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeClientsOutput) +} + +func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return i.ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i GetClusterClusterInfoWorkloadTypeClientsArgs) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeClientsOutput).ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx) +} + +// GetClusterClusterInfoWorkloadTypeClientsPtrInput is an input type that accepts GetClusterClusterInfoWorkloadTypeClientsArgs, GetClusterClusterInfoWorkloadTypeClientsPtr and GetClusterClusterInfoWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetClusterClusterInfoWorkloadTypeClientsPtrInput` via: +// +// GetClusterClusterInfoWorkloadTypeClientsArgs{...} +// +// or: +// +// nil +type GetClusterClusterInfoWorkloadTypeClientsPtrInput interface { + pulumi.Input + + ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput + ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput +} + +type getClusterClusterInfoWorkloadTypeClientsPtrType GetClusterClusterInfoWorkloadTypeClientsArgs + +func GetClusterClusterInfoWorkloadTypeClientsPtr(v *GetClusterClusterInfoWorkloadTypeClientsArgs) GetClusterClusterInfoWorkloadTypeClientsPtrInput { + return (*getClusterClusterInfoWorkloadTypeClientsPtrType)(v) +} + +func (*getClusterClusterInfoWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +} + +func (i *getClusterClusterInfoWorkloadTypeClientsPtrType) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return i.ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i *getClusterClusterInfoWorkloadTypeClientsPtrType) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterInfoWorkloadTypeClientsPtrOutput) +} + +type GetClusterClusterInfoWorkloadTypeClientsOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +} + +func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsOutput() GetClusterClusterInfoWorkloadTypeClientsOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return o.ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (o GetClusterClusterInfoWorkloadTypeClientsOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterClusterInfoWorkloadTypeClients) *GetClusterClusterInfoWorkloadTypeClients { + return &v + }).(GetClusterClusterInfoWorkloadTypeClientsPtrOutput) +} + +func (o GetClusterClusterInfoWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterInfoWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +} + +type GetClusterClusterInfoWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterInfoWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterClusterInfoWorkloadTypeClients)(nil)).Elem() +} + +func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutput() GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) ToGetClusterClusterInfoWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetClusterClusterInfoWorkloadTypeClientsPtrOutput { + return o +} + +func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) Elem() GetClusterClusterInfoWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetClusterClusterInfoWorkloadTypeClients) GetClusterClusterInfoWorkloadTypeClients { + if v != nil { + return *v + } + var ret GetClusterClusterInfoWorkloadTypeClients + return ret + }).(GetClusterClusterInfoWorkloadTypeClientsOutput) +} + +func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Jobs + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterClusterInfoWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterClusterInfoWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} + +type GetClustersFilterBy struct { + // List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + ClusterSources []string `pulumi:"clusterSources"` + // List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + ClusterStates []string `pulumi:"clusterStates"` + // Whether to filter by pinned clusters. + IsPinned *bool `pulumi:"isPinned"` + // Filter by ClusterPolicy id. + PolicyId *string `pulumi:"policyId"` +} + +// GetClustersFilterByInput is an input type that accepts GetClustersFilterByArgs and GetClustersFilterByOutput values. +// You can construct a concrete instance of `GetClustersFilterByInput` via: +// +// GetClustersFilterByArgs{...} +type GetClustersFilterByInput interface { + pulumi.Input + + ToGetClustersFilterByOutput() GetClustersFilterByOutput + ToGetClustersFilterByOutputWithContext(context.Context) GetClustersFilterByOutput +} + +type GetClustersFilterByArgs struct { + // List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + ClusterSources pulumi.StringArrayInput `pulumi:"clusterSources"` + // List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + ClusterStates pulumi.StringArrayInput `pulumi:"clusterStates"` + // Whether to filter by pinned clusters. + IsPinned pulumi.BoolPtrInput `pulumi:"isPinned"` + // Filter by ClusterPolicy id. + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` +} + +func (GetClustersFilterByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersFilterBy)(nil)).Elem() +} + +func (i GetClustersFilterByArgs) ToGetClustersFilterByOutput() GetClustersFilterByOutput { + return i.ToGetClustersFilterByOutputWithContext(context.Background()) +} + +func (i GetClustersFilterByArgs) ToGetClustersFilterByOutputWithContext(ctx context.Context) GetClustersFilterByOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersFilterByOutput) +} + +func (i GetClustersFilterByArgs) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { + return i.ToGetClustersFilterByPtrOutputWithContext(context.Background()) +} + +func (i GetClustersFilterByArgs) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersFilterByOutput).ToGetClustersFilterByPtrOutputWithContext(ctx) +} + +// GetClustersFilterByPtrInput is an input type that accepts GetClustersFilterByArgs, GetClustersFilterByPtr and GetClustersFilterByPtrOutput values. +// You can construct a concrete instance of `GetClustersFilterByPtrInput` via: +// +// GetClustersFilterByArgs{...} +// +// or: +// +// nil +type GetClustersFilterByPtrInput interface { + pulumi.Input + + ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput + ToGetClustersFilterByPtrOutputWithContext(context.Context) GetClustersFilterByPtrOutput +} + +type getClustersFilterByPtrType GetClustersFilterByArgs + +func GetClustersFilterByPtr(v *GetClustersFilterByArgs) GetClustersFilterByPtrInput { + return (*getClustersFilterByPtrType)(v) +} + +func (*getClustersFilterByPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClustersFilterBy)(nil)).Elem() +} + +func (i *getClustersFilterByPtrType) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { + return i.ToGetClustersFilterByPtrOutputWithContext(context.Background()) +} + +func (i *getClustersFilterByPtrType) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClustersFilterByPtrOutput) +} + +type GetClustersFilterByOutput struct{ *pulumi.OutputState } + +func (GetClustersFilterByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClustersFilterBy)(nil)).Elem() +} + +func (o GetClustersFilterByOutput) ToGetClustersFilterByOutput() GetClustersFilterByOutput { + return o +} + +func (o GetClustersFilterByOutput) ToGetClustersFilterByOutputWithContext(ctx context.Context) GetClustersFilterByOutput { + return o +} + +func (o GetClustersFilterByOutput) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { + return o.ToGetClustersFilterByPtrOutputWithContext(context.Background()) +} + +func (o GetClustersFilterByOutput) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClustersFilterBy) *GetClustersFilterBy { + return &v + }).(GetClustersFilterByPtrOutput) +} + +// List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. +func (o GetClustersFilterByOutput) ClusterSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClustersFilterBy) []string { return v.ClusterSources }).(pulumi.StringArrayOutput) +} + +// List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. +func (o GetClustersFilterByOutput) ClusterStates() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClustersFilterBy) []string { return v.ClusterStates }).(pulumi.StringArrayOutput) +} + +// Whether to filter by pinned clusters. +func (o GetClustersFilterByOutput) IsPinned() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClustersFilterBy) *bool { return v.IsPinned }).(pulumi.BoolPtrOutput) +} + +// Filter by ClusterPolicy id. +func (o GetClustersFilterByOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClustersFilterBy) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +} + +type GetClustersFilterByPtrOutput struct{ *pulumi.OutputState } + +func (GetClustersFilterByPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClustersFilterBy)(nil)).Elem() +} + +func (o GetClustersFilterByPtrOutput) ToGetClustersFilterByPtrOutput() GetClustersFilterByPtrOutput { + return o +} + +func (o GetClustersFilterByPtrOutput) ToGetClustersFilterByPtrOutputWithContext(ctx context.Context) GetClustersFilterByPtrOutput { + return o +} + +func (o GetClustersFilterByPtrOutput) Elem() GetClustersFilterByOutput { + return o.ApplyT(func(v *GetClustersFilterBy) GetClustersFilterBy { + if v != nil { + return *v + } + var ret GetClustersFilterBy + return ret + }).(GetClustersFilterByOutput) +} + +// List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. +func (o GetClustersFilterByPtrOutput) ClusterSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClustersFilterBy) []string { + if v == nil { + return nil + } + return v.ClusterSources + }).(pulumi.StringArrayOutput) +} + +// List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. +func (o GetClustersFilterByPtrOutput) ClusterStates() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClustersFilterBy) []string { + if v == nil { + return nil + } + return v.ClusterStates + }).(pulumi.StringArrayOutput) +} + +// Whether to filter by pinned clusters. +func (o GetClustersFilterByPtrOutput) IsPinned() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClustersFilterBy) *bool { + if v == nil { + return nil + } + return v.IsPinned + }).(pulumi.BoolPtrOutput) +} + +// Filter by ClusterPolicy id. +func (o GetClustersFilterByPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClustersFilterBy) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) +} + +type GetCurrentMetastoreMetastoreInfo struct { + Cloud *string `pulumi:"cloud"` + // Timestamp (in milliseconds) when the current metastore was created. + CreatedAt *int `pulumi:"createdAt"` + // the ID of the identity that created the current metastore. + CreatedBy *string `pulumi:"createdBy"` + // the ID of the default data access configuration. + DefaultDataAccessConfigId *string `pulumi:"defaultDataAccessConfigId"` + // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + DeltaSharingOrganizationName *string `pulumi:"deltaSharingOrganizationName"` + // the expiration duration in seconds on recipient data access tokens. + DeltaSharingRecipientTokenLifetimeInSeconds *int `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` + // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + DeltaSharingScope *string `pulumi:"deltaSharingScope"` + ExternalAccessEnabled *bool `pulumi:"externalAccessEnabled"` + // Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + GlobalMetastoreId *string `pulumi:"globalMetastoreId"` + // Metastore ID. + MetastoreId *string `pulumi:"metastoreId"` + // Name of metastore. + Name *string `pulumi:"name"` + // Username/group name/sp applicationId of the metastore owner. + Owner *string `pulumi:"owner"` + // the version of the privilege model used by the metastore. + PrivilegeModelVersion *string `pulumi:"privilegeModelVersion"` + // (Mandatory for account-level) The region of the metastore. + Region *string `pulumi:"region"` + // Path on cloud storage account, where managed `Table` are stored. + StorageRoot *string `pulumi:"storageRoot"` + // ID of a storage credential used for the `storageRoot`. + StorageRootCredentialId *string `pulumi:"storageRootCredentialId"` + // Name of a storage credential used for the `storageRoot`. + StorageRootCredentialName *string `pulumi:"storageRootCredentialName"` + // Timestamp (in milliseconds) when the current metastore was updated. + UpdatedAt *int `pulumi:"updatedAt"` + // the ID of the identity that updated the current metastore. + UpdatedBy *string `pulumi:"updatedBy"` +} + +// GetCurrentMetastoreMetastoreInfoInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs and GetCurrentMetastoreMetastoreInfoOutput values. +// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoInput` via: +// +// GetCurrentMetastoreMetastoreInfoArgs{...} +type GetCurrentMetastoreMetastoreInfoInput interface { + pulumi.Input + + ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput + ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoOutput +} + +type GetCurrentMetastoreMetastoreInfoArgs struct { + Cloud pulumi.StringPtrInput `pulumi:"cloud"` + // Timestamp (in milliseconds) when the current metastore was created. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // the ID of the identity that created the current metastore. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // the ID of the default data access configuration. + DefaultDataAccessConfigId pulumi.StringPtrInput `pulumi:"defaultDataAccessConfigId"` + // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + DeltaSharingOrganizationName pulumi.StringPtrInput `pulumi:"deltaSharingOrganizationName"` + // the expiration duration in seconds on recipient data access tokens. + DeltaSharingRecipientTokenLifetimeInSeconds pulumi.IntPtrInput `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` + // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + DeltaSharingScope pulumi.StringPtrInput `pulumi:"deltaSharingScope"` + ExternalAccessEnabled pulumi.BoolPtrInput `pulumi:"externalAccessEnabled"` + // Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + GlobalMetastoreId pulumi.StringPtrInput `pulumi:"globalMetastoreId"` + // Metastore ID. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // Name of metastore. + Name pulumi.StringPtrInput `pulumi:"name"` + // Username/group name/sp applicationId of the metastore owner. + Owner pulumi.StringPtrInput `pulumi:"owner"` + // the version of the privilege model used by the metastore. + PrivilegeModelVersion pulumi.StringPtrInput `pulumi:"privilegeModelVersion"` + // (Mandatory for account-level) The region of the metastore. + Region pulumi.StringPtrInput `pulumi:"region"` + // Path on cloud storage account, where managed `Table` are stored. + StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` + // ID of a storage credential used for the `storageRoot`. + StorageRootCredentialId pulumi.StringPtrInput `pulumi:"storageRootCredentialId"` + // Name of a storage credential used for the `storageRoot`. + StorageRootCredentialName pulumi.StringPtrInput `pulumi:"storageRootCredentialName"` + // Timestamp (in milliseconds) when the current metastore was updated. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // the ID of the identity that updated the current metastore. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +} + +func (GetCurrentMetastoreMetastoreInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +} + +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { + return i.ToGetCurrentMetastoreMetastoreInfoOutputWithContext(context.Background()) +} + +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput) +} + +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +} + +func (i GetCurrentMetastoreMetastoreInfoArgs) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoOutput).ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx) +} + +// GetCurrentMetastoreMetastoreInfoPtrInput is an input type that accepts GetCurrentMetastoreMetastoreInfoArgs, GetCurrentMetastoreMetastoreInfoPtr and GetCurrentMetastoreMetastoreInfoPtrOutput values. +// You can construct a concrete instance of `GetCurrentMetastoreMetastoreInfoPtrInput` via: +// +// GetCurrentMetastoreMetastoreInfoArgs{...} +// +// or: +// +// nil +type GetCurrentMetastoreMetastoreInfoPtrInput interface { + pulumi.Input + + ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput + ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput +} + +type getCurrentMetastoreMetastoreInfoPtrType GetCurrentMetastoreMetastoreInfoArgs + +func GetCurrentMetastoreMetastoreInfoPtr(v *GetCurrentMetastoreMetastoreInfoArgs) GetCurrentMetastoreMetastoreInfoPtrInput { + return (*getCurrentMetastoreMetastoreInfoPtrType)(v) +} + +func (*getCurrentMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +} + +func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return i.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +} + +func (i *getCurrentMetastoreMetastoreInfoPtrType) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCurrentMetastoreMetastoreInfoPtrOutput) +} + +type GetCurrentMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } + +func (GetCurrentMetastoreMetastoreInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +} + +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutput() GetCurrentMetastoreMetastoreInfoOutput { + return o +} + +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoOutput { + return o +} + +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return o.ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +} + +func (o GetCurrentMetastoreMetastoreInfoOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCurrentMetastoreMetastoreInfo) *GetCurrentMetastoreMetastoreInfo { + return &v + }).(GetCurrentMetastoreMetastoreInfoPtrOutput) +} + +func (o GetCurrentMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) +} + +// Timestamp (in milliseconds) when the current metastore was created. +func (o GetCurrentMetastoreMetastoreInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +} + +// the ID of the identity that created the current metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// the ID of the default data access configuration. +func (o GetCurrentMetastoreMetastoreInfoOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) +} + +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DeltaSharingOrganizationName }).(pulumi.StringPtrOutput) +} + +// the expiration duration in seconds on recipient data access tokens. +func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.DeltaSharingRecipientTokenLifetimeInSeconds }).(pulumi.IntPtrOutput) +} + +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetCurrentMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) +} + +func (o GetCurrentMetastoreMetastoreInfoOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *bool { return v.ExternalAccessEnabled }).(pulumi.BoolPtrOutput) +} + +// Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. +func (o GetCurrentMetastoreMetastoreInfoOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.GlobalMetastoreId }).(pulumi.StringPtrOutput) +} + +// Metastore ID. +func (o GetCurrentMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +} + +// Name of metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Username/group name/sp applicationId of the metastore owner. +func (o GetCurrentMetastoreMetastoreInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +} + +// the version of the privilege model used by the metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) +} + +// (Mandatory for account-level) The region of the metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// Path on cloud storage account, where managed `Table` are stored. +func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) +} + +// ID of a storage credential used for the `storageRoot`. +func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) +} + +// Name of a storage credential used for the `storageRoot`. +func (o GetCurrentMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) +} + +// Timestamp (in milliseconds) when the current metastore was updated. +func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} + +// the ID of the identity that updated the current metastore. +func (o GetCurrentMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCurrentMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +type GetCurrentMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetCurrentMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCurrentMetastoreMetastoreInfo)(nil)).Elem() +} + +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutput() GetCurrentMetastoreMetastoreInfoPtrOutput { + return o +} + +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ToGetCurrentMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetCurrentMetastoreMetastoreInfoPtrOutput { + return o +} + +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Elem() GetCurrentMetastoreMetastoreInfoOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) GetCurrentMetastoreMetastoreInfo { + if v != nil { + return *v + } + var ret GetCurrentMetastoreMetastoreInfo + return ret + }).(GetCurrentMetastoreMetastoreInfoOutput) +} + +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Cloud + }).(pulumi.StringPtrOutput) +} + +// Timestamp (in milliseconds) when the current metastore was created. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) +} + +// the ID of the identity that created the current metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// the ID of the default data access configuration. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DefaultDataAccessConfigId + }).(pulumi.StringPtrOutput) +} + +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingOrganizationName + }).(pulumi.StringPtrOutput) +} + +// the expiration duration in seconds on recipient data access tokens. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.DeltaSharingRecipientTokenLifetimeInSeconds + }).(pulumi.IntPtrOutput) +} + +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingScope + }).(pulumi.StringPtrOutput) +} + +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *bool { + if v == nil { + return nil + } + return v.ExternalAccessEnabled + }).(pulumi.BoolPtrOutput) +} + +// Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.GlobalMetastoreId + }).(pulumi.StringPtrOutput) +} + +// Metastore ID. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) +} + +// Name of metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Username/group name/sp applicationId of the metastore owner. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) +} + +// the version of the privilege model used by the metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.PrivilegeModelVersion + }).(pulumi.StringPtrOutput) +} + +// (Mandatory for account-level) The region of the metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +// Path on cloud storage account, where managed `Table` are stored. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.StorageRoot + }).(pulumi.StringPtrOutput) +} + +// ID of a storage credential used for the `storageRoot`. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.StorageRootCredentialId + }).(pulumi.StringPtrOutput) +} + +// Name of a storage credential used for the `storageRoot`. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.StorageRootCredentialName + }).(pulumi.StringPtrOutput) +} + +// Timestamp (in milliseconds) when the current metastore was updated. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) +} + +// the ID of the identity that updated the current metastore. +func (o GetCurrentMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCurrentMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) +} + +type GetDbfsFilePathsPathList struct { + FileSize *int `pulumi:"fileSize"` + // Path on DBFS for the file to perform listing + Path *string `pulumi:"path"` +} + +// GetDbfsFilePathsPathListInput is an input type that accepts GetDbfsFilePathsPathListArgs and GetDbfsFilePathsPathListOutput values. +// You can construct a concrete instance of `GetDbfsFilePathsPathListInput` via: +// +// GetDbfsFilePathsPathListArgs{...} +type GetDbfsFilePathsPathListInput interface { + pulumi.Input + + ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput + ToGetDbfsFilePathsPathListOutputWithContext(context.Context) GetDbfsFilePathsPathListOutput +} + +type GetDbfsFilePathsPathListArgs struct { + FileSize pulumi.IntPtrInput `pulumi:"fileSize"` + // Path on DBFS for the file to perform listing + Path pulumi.StringPtrInput `pulumi:"path"` +} + +func (GetDbfsFilePathsPathListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +} + +func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { + return i.ToGetDbfsFilePathsPathListOutputWithContext(context.Background()) +} + +func (i GetDbfsFilePathsPathListArgs) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListOutput) +} + +// GetDbfsFilePathsPathListArrayInput is an input type that accepts GetDbfsFilePathsPathListArray and GetDbfsFilePathsPathListArrayOutput values. +// You can construct a concrete instance of `GetDbfsFilePathsPathListArrayInput` via: +// +// GetDbfsFilePathsPathListArray{ GetDbfsFilePathsPathListArgs{...} } +type GetDbfsFilePathsPathListArrayInput interface { + pulumi.Input + + ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput + ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Context) GetDbfsFilePathsPathListArrayOutput +} + +type GetDbfsFilePathsPathListArray []GetDbfsFilePathsPathListInput + +func (GetDbfsFilePathsPathListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +} + +func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { + return i.ToGetDbfsFilePathsPathListArrayOutputWithContext(context.Background()) +} + +func (i GetDbfsFilePathsPathListArray) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDbfsFilePathsPathListArrayOutput) +} + +type GetDbfsFilePathsPathListOutput struct{ *pulumi.OutputState } + +func (GetDbfsFilePathsPathListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbfsFilePathsPathList)(nil)).Elem() +} + +func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutput() GetDbfsFilePathsPathListOutput { + return o +} + +func (o GetDbfsFilePathsPathListOutput) ToGetDbfsFilePathsPathListOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListOutput { + return o +} + +func (o GetDbfsFilePathsPathListOutput) FileSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetDbfsFilePathsPathList) *int { return v.FileSize }).(pulumi.IntPtrOutput) +} + +// Path on DBFS for the file to perform listing +func (o GetDbfsFilePathsPathListOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDbfsFilePathsPathList) *string { return v.Path }).(pulumi.StringPtrOutput) +} + +type GetDbfsFilePathsPathListArrayOutput struct{ *pulumi.OutputState } + +func (GetDbfsFilePathsPathListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDbfsFilePathsPathList)(nil)).Elem() +} + +func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutput() GetDbfsFilePathsPathListArrayOutput { + return o +} + +func (o GetDbfsFilePathsPathListArrayOutput) ToGetDbfsFilePathsPathListArrayOutputWithContext(ctx context.Context) GetDbfsFilePathsPathListArrayOutput { + return o +} + +func (o GetDbfsFilePathsPathListArrayOutput) Index(i pulumi.IntInput) GetDbfsFilePathsPathListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDbfsFilePathsPathList { + return vs[0].([]GetDbfsFilePathsPathList)[vs[1].(int)] + }).(GetDbfsFilePathsPathListOutput) +} + +type GetExternalLocationExternalLocationInfo struct { + // The ARN of the s3 access point to use with the external location (AWS). + AccessPoint *string `pulumi:"accessPoint"` + BrowseOnly *bool `pulumi:"browseOnly"` + // User-supplied comment. + Comment *string `pulumi:"comment"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy *string `pulumi:"createdBy"` + // Unique ID of storage credential. + CredentialId *string `pulumi:"credentialId"` + // Name of the StorageCredential to use with this external location. + CredentialName *string `pulumi:"credentialName"` + // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + EncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetails `pulumi:"encryptionDetails"` + Fallback *bool `pulumi:"fallback"` + IsolationMode *string `pulumi:"isolationMode"` + // Unique identifier of the parent Metastore. + MetastoreId *string `pulumi:"metastoreId"` + // The name of the external location + Name *string `pulumi:"name"` + // Username/groupname/sp applicationId of the external location owner. + Owner *string `pulumi:"owner"` + // Indicates whether the external location is read-only. + ReadOnly *bool `pulumi:"readOnly"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt *int `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy *string `pulumi:"updatedBy"` + // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + Url *string `pulumi:"url"` +} + +// GetExternalLocationExternalLocationInfoInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs and GetExternalLocationExternalLocationInfoOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoInput` via: +// +// GetExternalLocationExternalLocationInfoArgs{...} +type GetExternalLocationExternalLocationInfoInput interface { + pulumi.Input + + ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput + ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoOutput +} + +type GetExternalLocationExternalLocationInfoArgs struct { + // The ARN of the s3 access point to use with the external location (AWS). + AccessPoint pulumi.StringPtrInput `pulumi:"accessPoint"` + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // User-supplied comment. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Time at which this catalog was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of catalog creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Unique ID of storage credential. + CredentialId pulumi.StringPtrInput `pulumi:"credentialId"` + // Name of the StorageCredential to use with this external location. + CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` + // The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + EncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput `pulumi:"encryptionDetails"` + Fallback pulumi.BoolPtrInput `pulumi:"fallback"` + IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"` + // Unique identifier of the parent Metastore. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // The name of the external location + Name pulumi.StringPtrInput `pulumi:"name"` + // Username/groupname/sp applicationId of the external location owner. + Owner pulumi.StringPtrInput `pulumi:"owner"` + // Indicates whether the external location is read-only. + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` + // Time at which this catalog was last modified, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of user who last modified catalog. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + // Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + Url pulumi.StringPtrInput `pulumi:"url"` +} + +func (GetExternalLocationExternalLocationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() +} + +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { + return i.ToGetExternalLocationExternalLocationInfoOutputWithContext(context.Background()) +} + +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput) +} + +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +} + +func (i GetExternalLocationExternalLocationInfoArgs) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoOutput).ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx) +} + +// GetExternalLocationExternalLocationInfoPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoArgs, GetExternalLocationExternalLocationInfoPtr and GetExternalLocationExternalLocationInfoPtrOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoPtrInput` via: +// +// GetExternalLocationExternalLocationInfoArgs{...} +// +// or: +// +// nil +type GetExternalLocationExternalLocationInfoPtrInput interface { + pulumi.Input + + ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput + ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoPtrOutput +} + +type getExternalLocationExternalLocationInfoPtrType GetExternalLocationExternalLocationInfoArgs + +func GetExternalLocationExternalLocationInfoPtr(v *GetExternalLocationExternalLocationInfoArgs) GetExternalLocationExternalLocationInfoPtrInput { + return (*getExternalLocationExternalLocationInfoPtrType)(v) +} + +func (*getExternalLocationExternalLocationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() +} + +func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +} + +func (i *getExternalLocationExternalLocationInfoPtrType) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoPtrOutput) +} + +type GetExternalLocationExternalLocationInfoOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfo)(nil)).Elem() +} + +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutput() GetExternalLocationExternalLocationInfoOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return o.ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(context.Background()) +} + +func (o GetExternalLocationExternalLocationInfoOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfo { + return &v + }).(GetExternalLocationExternalLocationInfoPtrOutput) +} + +// The ARN of the s3 access point to use with the external location (AWS). +func (o GetExternalLocationExternalLocationInfoOutput) AccessPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.AccessPoint }).(pulumi.StringPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) +} + +// User-supplied comment. +func (o GetExternalLocationExternalLocationInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +} + +// Time at which this catalog was created, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +} + +// Username of catalog creator. +func (o GetExternalLocationExternalLocationInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// Unique ID of storage credential. +func (o GetExternalLocationExternalLocationInfoOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialId }).(pulumi.StringPtrOutput) +} + +// Name of the StorageCredential to use with this external location. +func (o GetExternalLocationExternalLocationInfoOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.CredentialName }).(pulumi.StringPtrOutput) +} + +// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). +func (o GetExternalLocationExternalLocationInfoOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { + return v.EncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoOutput) Fallback() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.Fallback }).(pulumi.BoolPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoOutput) IsolationMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.IsolationMode }).(pulumi.StringPtrOutput) +} + +// Unique identifier of the parent Metastore. +func (o GetExternalLocationExternalLocationInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +} + +// The name of the external location +func (o GetExternalLocationExternalLocationInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Username/groupname/sp applicationId of the external location owner. +func (o GetExternalLocationExternalLocationInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +} + +// Indicates whether the external location is read-only. +func (o GetExternalLocationExternalLocationInfoOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +} + +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} + +// Username of user who last modified catalog. +func (o GetExternalLocationExternalLocationInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). +func (o GetExternalLocationExternalLocationInfoOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfo) *string { return v.Url }).(pulumi.StringPtrOutput) +} + +type GetExternalLocationExternalLocationInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfo)(nil)).Elem() +} + +func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutput() GetExternalLocationExternalLocationInfoPtrOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoPtrOutput) ToGetExternalLocationExternalLocationInfoPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoPtrOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoPtrOutput) Elem() GetExternalLocationExternalLocationInfoOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) GetExternalLocationExternalLocationInfo { + if v != nil { + return *v + } + var ret GetExternalLocationExternalLocationInfo + return ret + }).(GetExternalLocationExternalLocationInfoOutput) +} + +// The ARN of the s3 access point to use with the external location (AWS). +func (o GetExternalLocationExternalLocationInfoPtrOutput) AccessPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.AccessPoint + }).(pulumi.StringPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { + if v == nil { + return nil + } + return v.BrowseOnly + }).(pulumi.BoolPtrOutput) +} + +// User-supplied comment. +func (o GetExternalLocationExternalLocationInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) +} + +// Time at which this catalog was created, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) +} + +// Username of catalog creator. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// Unique ID of storage credential. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.CredentialId + }).(pulumi.StringPtrOutput) +} + +// Name of the StorageCredential to use with this external location. +func (o GetExternalLocationExternalLocationInfoPtrOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.CredentialName + }).(pulumi.StringPtrOutput) +} + +// The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). +func (o GetExternalLocationExternalLocationInfoPtrOutput) EncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *GetExternalLocationExternalLocationInfoEncryptionDetails { + if v == nil { + return nil + } + return v.EncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoPtrOutput) Fallback() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { + if v == nil { + return nil + } + return v.Fallback + }).(pulumi.BoolPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoPtrOutput) IsolationMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.IsolationMode + }).(pulumi.StringPtrOutput) +} + +// Unique identifier of the parent Metastore. +func (o GetExternalLocationExternalLocationInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) +} + +// The name of the external location +func (o GetExternalLocationExternalLocationInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Username/groupname/sp applicationId of the external location owner. +func (o GetExternalLocationExternalLocationInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) +} + +// Indicates whether the external location is read-only. +func (o GetExternalLocationExternalLocationInfoPtrOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *bool { + if v == nil { + return nil + } + return v.ReadOnly + }).(pulumi.BoolPtrOutput) +} + +// Time at which this catalog was last modified, in epoch milliseconds. +func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) +} + +// Username of user who last modified catalog. +func (o GetExternalLocationExternalLocationInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) +} + +// Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). +func (o GetExternalLocationExternalLocationInfoPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfo) *string { + if v == nil { + return nil + } + return v.Url + }).(pulumi.StringPtrOutput) +} + +type GetExternalLocationExternalLocationInfoEncryptionDetails struct { + SseEncryptionDetails *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails `pulumi:"sseEncryptionDetails"` +} + +// GetExternalLocationExternalLocationInfoEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsInput` via: +// +// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} +type GetExternalLocationExternalLocationInfoEncryptionDetailsInput interface { + pulumi.Input + + ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsArgs struct { + SseEncryptionDetails GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput `pulumi:"sseEncryptionDetails"` +} + +func (GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(context.Background()) +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx) +} + +// GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput` via: +// +// GetExternalLocationExternalLocationInfoEncryptionDetailsArgs{...} +// +// or: +// +// nil +type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput interface { + pulumi.Input + + ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput +} + +type getExternalLocationExternalLocationInfoEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsArgs + +func GetExternalLocationExternalLocationInfoEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrInput { + return (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType)(v) +} + +func (*getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +} + +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +} + +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(context.Background()) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetails { + return &v + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + return v.SseEncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetails)(nil)).Elem() +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetails { + if v != nil { + return *v + } + var ret GetExternalLocationExternalLocationInfoEncryptionDetails + return ret + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsOutput) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsPtrOutput) SseEncryptionDetails() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + if v == nil { + return nil + } + return v.SseEncryptionDetails + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails struct { + Algorithm *string `pulumi:"algorithm"` + AwsKmsKeyArn *string `pulumi:"awsKmsKeyArn"` +} + +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput` via: +// +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsInput interface { + pulumi.Input + + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs struct { + Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` + AwsKmsKeyArn pulumi.StringPtrInput `pulumi:"awsKmsKeyArn"` +} + +func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(context.Background()) +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +} + +func (i GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput).ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx) +} + +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput is an input type that accepts GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs, GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr and GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput values. +// You can construct a concrete instance of `GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput` via: +// +// GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{...} +// +// or: +// +// nil +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput interface { + pulumi.Input + + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput + ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput +} + +type getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs + +func GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtr(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput { + return (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType)(v) +} + +func (*getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +} + +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return i.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +} + +func (i *getExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrType) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(context.Background()) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + return &v + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + return v.Algorithm + }).(pulumi.StringPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + return v.AwsKmsKeyArn + }).(pulumi.StringPtrOutput) +} + +type GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput struct{ *pulumi.OutputState } + +func (GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails)(nil)).Elem() +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) ToGetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutputWithContext(ctx context.Context) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput { + return o +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Elem() GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails { + if v != nil { + return *v + } + var ret GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails + return ret + }).(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsOutput) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) Algorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + if v == nil { + return nil + } + return v.Algorithm + }).(pulumi.StringPtrOutput) +} + +func (o GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKmsKeyArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails) *string { + if v == nil { + return nil + } + return v.AwsKmsKeyArn + }).(pulumi.StringPtrOutput) +} + +type GetFunctionsFunction struct { + // Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `includeBrowse` is enabled in the request. + BrowseOnly *bool `pulumi:"browseOnly"` + // Name of databricks_catalog. + CatalogName *string `pulumi:"catalogName"` + // User-provided free-form text description. + Comment *string `pulumi:"comment"` + // Time at which this function was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // Username of function creator. + CreatedBy *string `pulumi:"createdBy"` + // Scalar function return data type. + DataType *string `pulumi:"dataType"` + // External function language. + ExternalLanguage *string `pulumi:"externalLanguage"` + // External function name. + ExternalName *string `pulumi:"externalName"` + // Pretty printed function data type. + FullDataType *string `pulumi:"fullDataType"` + // Full name of function, in form of catalog_name.schema_name.function__name + FullName *string `pulumi:"fullName"` + // Id of Function, relative to parent schema. + FunctionId *string `pulumi:"functionId"` + // object describing input parameters. Consists of the single attribute: + InputParams []GetFunctionsFunctionInputParam `pulumi:"inputParams"` + // Boolean flag specifying whether the function is deterministic. + IsDeterministic *bool `pulumi:"isDeterministic"` + // Boolean flag whether function null call. + IsNullCall *bool `pulumi:"isNullCall"` + // Unique identifier of parent metastore. + MetastoreId *string `pulumi:"metastoreId"` + // Name of parameter. + Name *string `pulumi:"name"` + // Username of current owner of function. + Owner *string `pulumi:"owner"` + // Function parameter style. `S` is the value for SQL. + ParameterStyle *string `pulumi:"parameterStyle"` + // JSON-serialized key-value pair map, encoded (escaped) as a string. + Properties *string `pulumi:"properties"` + // Table function return parameters. See `inputParams` for description. + ReturnParams []GetFunctionsFunctionReturnParam `pulumi:"returnParams"` // Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. RoutineBody *string `pulumi:"routineBody"` // Function body. RoutineDefinition *string `pulumi:"routineDefinition"` // Function dependencies. - RoutineDependencies *GetFunctionsFunctionRoutineDependencies `pulumi:"routineDependencies"` + RoutineDependencies []GetFunctionsFunctionRoutineDependency `pulumi:"routineDependencies"` // Name of databricks_schema. SchemaName *string `pulumi:"schemaName"` // Function security type. (Enum: `DEFINER`). @@ -7754,8515 +15161,12935 @@ type GetFunctionsFunction struct { UpdatedBy *string `pulumi:"updatedBy"` } -// GetFunctionsFunctionInput is an input type that accepts GetFunctionsFunctionArgs and GetFunctionsFunctionOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionInput` via: +// GetFunctionsFunctionInput is an input type that accepts GetFunctionsFunctionArgs and GetFunctionsFunctionOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionInput` via: +// +// GetFunctionsFunctionArgs{...} +type GetFunctionsFunctionInput interface { + pulumi.Input + + ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput + ToGetFunctionsFunctionOutputWithContext(context.Context) GetFunctionsFunctionOutput +} + +type GetFunctionsFunctionArgs struct { + // Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `includeBrowse` is enabled in the request. + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // Name of databricks_catalog. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // User-provided free-form text description. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Time at which this function was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // Username of function creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Scalar function return data type. + DataType pulumi.StringPtrInput `pulumi:"dataType"` + // External function language. + ExternalLanguage pulumi.StringPtrInput `pulumi:"externalLanguage"` + // External function name. + ExternalName pulumi.StringPtrInput `pulumi:"externalName"` + // Pretty printed function data type. + FullDataType pulumi.StringPtrInput `pulumi:"fullDataType"` + // Full name of function, in form of catalog_name.schema_name.function__name + FullName pulumi.StringPtrInput `pulumi:"fullName"` + // Id of Function, relative to parent schema. + FunctionId pulumi.StringPtrInput `pulumi:"functionId"` + // object describing input parameters. Consists of the single attribute: + InputParams GetFunctionsFunctionInputParamArrayInput `pulumi:"inputParams"` + // Boolean flag specifying whether the function is deterministic. + IsDeterministic pulumi.BoolPtrInput `pulumi:"isDeterministic"` + // Boolean flag whether function null call. + IsNullCall pulumi.BoolPtrInput `pulumi:"isNullCall"` + // Unique identifier of parent metastore. + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // Name of parameter. + Name pulumi.StringPtrInput `pulumi:"name"` + // Username of current owner of function. + Owner pulumi.StringPtrInput `pulumi:"owner"` + // Function parameter style. `S` is the value for SQL. + ParameterStyle pulumi.StringPtrInput `pulumi:"parameterStyle"` + // JSON-serialized key-value pair map, encoded (escaped) as a string. + Properties pulumi.StringPtrInput `pulumi:"properties"` + // Table function return parameters. See `inputParams` for description. + ReturnParams GetFunctionsFunctionReturnParamArrayInput `pulumi:"returnParams"` + // Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. + RoutineBody pulumi.StringPtrInput `pulumi:"routineBody"` + // Function body. + RoutineDefinition pulumi.StringPtrInput `pulumi:"routineDefinition"` + // Function dependencies. + RoutineDependencies GetFunctionsFunctionRoutineDependencyArrayInput `pulumi:"routineDependencies"` + // Name of databricks_schema. + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + // Function security type. (Enum: `DEFINER`). + SecurityType pulumi.StringPtrInput `pulumi:"securityType"` + // Specific name of the function; Reserved for future use. + SpecificName pulumi.StringPtrInput `pulumi:"specificName"` + // Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). + SqlDataAccess pulumi.StringPtrInput `pulumi:"sqlDataAccess"` + // List of schemes whose objects can be referenced without qualification. + SqlPath pulumi.StringPtrInput `pulumi:"sqlPath"` + // Time at which this function was created, in epoch milliseconds. + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // Username of user who last modified function. + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +} + +func (GetFunctionsFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunction)(nil)).Elem() +} + +func (i GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput { + return i.ToGetFunctionsFunctionOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionOutput) +} + +// GetFunctionsFunctionArrayInput is an input type that accepts GetFunctionsFunctionArray and GetFunctionsFunctionArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionArrayInput` via: +// +// GetFunctionsFunctionArray{ GetFunctionsFunctionArgs{...} } +type GetFunctionsFunctionArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput + ToGetFunctionsFunctionArrayOutputWithContext(context.Context) GetFunctionsFunctionArrayOutput +} + +type GetFunctionsFunctionArray []GetFunctionsFunctionInput + +func (GetFunctionsFunctionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunction)(nil)).Elem() +} + +func (i GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput { + return i.ToGetFunctionsFunctionArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionArrayOutput) +} + +type GetFunctionsFunctionOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunction)(nil)).Elem() +} + +func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput { + return o +} + +func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput { + return o +} + +// Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `includeBrowse` is enabled in the request. +func (o GetFunctionsFunctionOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) +} + +// Name of databricks_catalog. +func (o GetFunctionsFunctionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// User-provided free-form text description. +func (o GetFunctionsFunctionOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Comment }).(pulumi.StringPtrOutput) +} + +// Time at which this function was created, in epoch milliseconds. +func (o GetFunctionsFunctionOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +} + +// Username of function creator. +func (o GetFunctionsFunctionOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// Scalar function return data type. +func (o GetFunctionsFunctionOutput) DataType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.DataType }).(pulumi.StringPtrOutput) +} + +// External function language. +func (o GetFunctionsFunctionOutput) ExternalLanguage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.ExternalLanguage }).(pulumi.StringPtrOutput) +} + +// External function name. +func (o GetFunctionsFunctionOutput) ExternalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.ExternalName }).(pulumi.StringPtrOutput) +} + +// Pretty printed function data type. +func (o GetFunctionsFunctionOutput) FullDataType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.FullDataType }).(pulumi.StringPtrOutput) +} + +// Full name of function, in form of catalog_name.schema_name.function__name +func (o GetFunctionsFunctionOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.FullName }).(pulumi.StringPtrOutput) +} + +// Id of Function, relative to parent schema. +func (o GetFunctionsFunctionOutput) FunctionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.FunctionId }).(pulumi.StringPtrOutput) +} + +// object describing input parameters. Consists of the single attribute: +func (o GetFunctionsFunctionOutput) InputParams() GetFunctionsFunctionInputParamArrayOutput { + return o.ApplyT(func(v GetFunctionsFunction) []GetFunctionsFunctionInputParam { return v.InputParams }).(GetFunctionsFunctionInputParamArrayOutput) +} + +// Boolean flag specifying whether the function is deterministic. +func (o GetFunctionsFunctionOutput) IsDeterministic() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *bool { return v.IsDeterministic }).(pulumi.BoolPtrOutput) +} + +// Boolean flag whether function null call. +func (o GetFunctionsFunctionOutput) IsNullCall() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *bool { return v.IsNullCall }).(pulumi.BoolPtrOutput) +} + +// Unique identifier of parent metastore. +func (o GetFunctionsFunctionOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +} + +// Name of parameter. +func (o GetFunctionsFunctionOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Username of current owner of function. +func (o GetFunctionsFunctionOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Owner }).(pulumi.StringPtrOutput) +} + +// Function parameter style. `S` is the value for SQL. +func (o GetFunctionsFunctionOutput) ParameterStyle() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.ParameterStyle }).(pulumi.StringPtrOutput) +} + +// JSON-serialized key-value pair map, encoded (escaped) as a string. +func (o GetFunctionsFunctionOutput) Properties() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Properties }).(pulumi.StringPtrOutput) +} + +// Table function return parameters. See `inputParams` for description. +func (o GetFunctionsFunctionOutput) ReturnParams() GetFunctionsFunctionReturnParamArrayOutput { + return o.ApplyT(func(v GetFunctionsFunction) []GetFunctionsFunctionReturnParam { return v.ReturnParams }).(GetFunctionsFunctionReturnParamArrayOutput) +} + +// Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. +func (o GetFunctionsFunctionOutput) RoutineBody() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.RoutineBody }).(pulumi.StringPtrOutput) +} + +// Function body. +func (o GetFunctionsFunctionOutput) RoutineDefinition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.RoutineDefinition }).(pulumi.StringPtrOutput) +} + +// Function dependencies. +func (o GetFunctionsFunctionOutput) RoutineDependencies() GetFunctionsFunctionRoutineDependencyArrayOutput { + return o.ApplyT(func(v GetFunctionsFunction) []GetFunctionsFunctionRoutineDependency { return v.RoutineDependencies }).(GetFunctionsFunctionRoutineDependencyArrayOutput) +} + +// Name of databricks_schema. +func (o GetFunctionsFunctionOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SchemaName }).(pulumi.StringPtrOutput) +} + +// Function security type. (Enum: `DEFINER`). +func (o GetFunctionsFunctionOutput) SecurityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SecurityType }).(pulumi.StringPtrOutput) +} + +// Specific name of the function; Reserved for future use. +func (o GetFunctionsFunctionOutput) SpecificName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SpecificName }).(pulumi.StringPtrOutput) +} + +// Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). +func (o GetFunctionsFunctionOutput) SqlDataAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SqlDataAccess }).(pulumi.StringPtrOutput) +} + +// List of schemes whose objects can be referenced without qualification. +func (o GetFunctionsFunctionOutput) SqlPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SqlPath }).(pulumi.StringPtrOutput) +} + +// Time at which this function was created, in epoch milliseconds. +func (o GetFunctionsFunctionOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} + +// Username of user who last modified function. +func (o GetFunctionsFunctionOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunction) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +type GetFunctionsFunctionArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunction)(nil)).Elem() +} + +func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput { + return o +} + +func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput { + return o +} + +func (o GetFunctionsFunctionArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunction { + return vs[0].([]GetFunctionsFunction)[vs[1].(int)] + }).(GetFunctionsFunctionOutput) +} + +type GetFunctionsFunctionInputParam struct { + // The array of definitions of the function's parameters: + Parameters []GetFunctionsFunctionInputParamParameter `pulumi:"parameters"` +} + +// GetFunctionsFunctionInputParamInput is an input type that accepts GetFunctionsFunctionInputParamArgs and GetFunctionsFunctionInputParamOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionInputParamInput` via: +// +// GetFunctionsFunctionInputParamArgs{...} +type GetFunctionsFunctionInputParamInput interface { + pulumi.Input + + ToGetFunctionsFunctionInputParamOutput() GetFunctionsFunctionInputParamOutput + ToGetFunctionsFunctionInputParamOutputWithContext(context.Context) GetFunctionsFunctionInputParamOutput +} + +type GetFunctionsFunctionInputParamArgs struct { + // The array of definitions of the function's parameters: + Parameters GetFunctionsFunctionInputParamParameterArrayInput `pulumi:"parameters"` +} + +func (GetFunctionsFunctionInputParamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionInputParam)(nil)).Elem() +} + +func (i GetFunctionsFunctionInputParamArgs) ToGetFunctionsFunctionInputParamOutput() GetFunctionsFunctionInputParamOutput { + return i.ToGetFunctionsFunctionInputParamOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionInputParamArgs) ToGetFunctionsFunctionInputParamOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamOutput) +} + +// GetFunctionsFunctionInputParamArrayInput is an input type that accepts GetFunctionsFunctionInputParamArray and GetFunctionsFunctionInputParamArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionInputParamArrayInput` via: +// +// GetFunctionsFunctionInputParamArray{ GetFunctionsFunctionInputParamArgs{...} } +type GetFunctionsFunctionInputParamArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionInputParamArrayOutput() GetFunctionsFunctionInputParamArrayOutput + ToGetFunctionsFunctionInputParamArrayOutputWithContext(context.Context) GetFunctionsFunctionInputParamArrayOutput +} + +type GetFunctionsFunctionInputParamArray []GetFunctionsFunctionInputParamInput + +func (GetFunctionsFunctionInputParamArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionInputParam)(nil)).Elem() +} + +func (i GetFunctionsFunctionInputParamArray) ToGetFunctionsFunctionInputParamArrayOutput() GetFunctionsFunctionInputParamArrayOutput { + return i.ToGetFunctionsFunctionInputParamArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionInputParamArray) ToGetFunctionsFunctionInputParamArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamArrayOutput) +} + +type GetFunctionsFunctionInputParamOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionInputParamOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionInputParam)(nil)).Elem() +} + +func (o GetFunctionsFunctionInputParamOutput) ToGetFunctionsFunctionInputParamOutput() GetFunctionsFunctionInputParamOutput { + return o +} + +func (o GetFunctionsFunctionInputParamOutput) ToGetFunctionsFunctionInputParamOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamOutput { + return o +} + +// The array of definitions of the function's parameters: +func (o GetFunctionsFunctionInputParamOutput) Parameters() GetFunctionsFunctionInputParamParameterArrayOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParam) []GetFunctionsFunctionInputParamParameter { return v.Parameters }).(GetFunctionsFunctionInputParamParameterArrayOutput) +} + +type GetFunctionsFunctionInputParamArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionInputParamArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionInputParam)(nil)).Elem() +} + +func (o GetFunctionsFunctionInputParamArrayOutput) ToGetFunctionsFunctionInputParamArrayOutput() GetFunctionsFunctionInputParamArrayOutput { + return o +} + +func (o GetFunctionsFunctionInputParamArrayOutput) ToGetFunctionsFunctionInputParamArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamArrayOutput { + return o +} + +func (o GetFunctionsFunctionInputParamArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionInputParamOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionInputParam { + return vs[0].([]GetFunctionsFunctionInputParam)[vs[1].(int)] + }).(GetFunctionsFunctionInputParamOutput) +} + +type GetFunctionsFunctionInputParamParameter struct { + // User-provided free-form text description. + Comment *string `pulumi:"comment"` + // Name of parameter. + Name string `pulumi:"name"` + // Default value of the parameter. + ParameterDefault *string `pulumi:"parameterDefault"` + // The mode of the function parameter. + ParameterMode *string `pulumi:"parameterMode"` + // The type of function parameter (`PARAM` or `COLUMN`). + ParameterType *string `pulumi:"parameterType"` + // Ordinal position of column (starting at position 0). + Position int `pulumi:"position"` + // Format of IntervalType. + TypeIntervalType *string `pulumi:"typeIntervalType"` + // Full data type spec, JSON-serialized. + TypeJson *string `pulumi:"typeJson"` + // Name of type (INT, STRUCT, MAP, etc.). + TypeName string `pulumi:"typeName"` + // Digits of precision; required on Create for DecimalTypes. + TypePrecision *int `pulumi:"typePrecision"` + // Digits to right of decimal; Required on Create for DecimalTypes. + TypeScale *int `pulumi:"typeScale"` + // Full data type spec, SQL/catalogString text. + TypeText string `pulumi:"typeText"` +} + +// GetFunctionsFunctionInputParamParameterInput is an input type that accepts GetFunctionsFunctionInputParamParameterArgs and GetFunctionsFunctionInputParamParameterOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionInputParamParameterInput` via: +// +// GetFunctionsFunctionInputParamParameterArgs{...} +type GetFunctionsFunctionInputParamParameterInput interface { + pulumi.Input + + ToGetFunctionsFunctionInputParamParameterOutput() GetFunctionsFunctionInputParamParameterOutput + ToGetFunctionsFunctionInputParamParameterOutputWithContext(context.Context) GetFunctionsFunctionInputParamParameterOutput +} + +type GetFunctionsFunctionInputParamParameterArgs struct { + // User-provided free-form text description. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Name of parameter. + Name pulumi.StringInput `pulumi:"name"` + // Default value of the parameter. + ParameterDefault pulumi.StringPtrInput `pulumi:"parameterDefault"` + // The mode of the function parameter. + ParameterMode pulumi.StringPtrInput `pulumi:"parameterMode"` + // The type of function parameter (`PARAM` or `COLUMN`). + ParameterType pulumi.StringPtrInput `pulumi:"parameterType"` + // Ordinal position of column (starting at position 0). + Position pulumi.IntInput `pulumi:"position"` + // Format of IntervalType. + TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` + // Full data type spec, JSON-serialized. + TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` + // Name of type (INT, STRUCT, MAP, etc.). + TypeName pulumi.StringInput `pulumi:"typeName"` + // Digits of precision; required on Create for DecimalTypes. + TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` + // Digits to right of decimal; Required on Create for DecimalTypes. + TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` + // Full data type spec, SQL/catalogString text. + TypeText pulumi.StringInput `pulumi:"typeText"` +} + +func (GetFunctionsFunctionInputParamParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionInputParamParameter)(nil)).Elem() +} + +func (i GetFunctionsFunctionInputParamParameterArgs) ToGetFunctionsFunctionInputParamParameterOutput() GetFunctionsFunctionInputParamParameterOutput { + return i.ToGetFunctionsFunctionInputParamParameterOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionInputParamParameterArgs) ToGetFunctionsFunctionInputParamParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamParameterOutput) +} + +// GetFunctionsFunctionInputParamParameterArrayInput is an input type that accepts GetFunctionsFunctionInputParamParameterArray and GetFunctionsFunctionInputParamParameterArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionInputParamParameterArrayInput` via: +// +// GetFunctionsFunctionInputParamParameterArray{ GetFunctionsFunctionInputParamParameterArgs{...} } +type GetFunctionsFunctionInputParamParameterArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionInputParamParameterArrayOutput() GetFunctionsFunctionInputParamParameterArrayOutput + ToGetFunctionsFunctionInputParamParameterArrayOutputWithContext(context.Context) GetFunctionsFunctionInputParamParameterArrayOutput +} + +type GetFunctionsFunctionInputParamParameterArray []GetFunctionsFunctionInputParamParameterInput + +func (GetFunctionsFunctionInputParamParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionInputParamParameter)(nil)).Elem() +} + +func (i GetFunctionsFunctionInputParamParameterArray) ToGetFunctionsFunctionInputParamParameterArrayOutput() GetFunctionsFunctionInputParamParameterArrayOutput { + return i.ToGetFunctionsFunctionInputParamParameterArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionInputParamParameterArray) ToGetFunctionsFunctionInputParamParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamParameterArrayOutput) +} + +type GetFunctionsFunctionInputParamParameterOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionInputParamParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionInputParamParameter)(nil)).Elem() +} + +func (o GetFunctionsFunctionInputParamParameterOutput) ToGetFunctionsFunctionInputParamParameterOutput() GetFunctionsFunctionInputParamParameterOutput { + return o +} + +func (o GetFunctionsFunctionInputParamParameterOutput) ToGetFunctionsFunctionInputParamParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamParameterOutput { + return o +} + +// User-provided free-form text description. +func (o GetFunctionsFunctionInputParamParameterOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *string { return v.Comment }).(pulumi.StringPtrOutput) +} + +// Name of parameter. +func (o GetFunctionsFunctionInputParamParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) string { return v.Name }).(pulumi.StringOutput) +} + +// Default value of the parameter. +func (o GetFunctionsFunctionInputParamParameterOutput) ParameterDefault() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *string { return v.ParameterDefault }).(pulumi.StringPtrOutput) +} + +// The mode of the function parameter. +func (o GetFunctionsFunctionInputParamParameterOutput) ParameterMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *string { return v.ParameterMode }).(pulumi.StringPtrOutput) +} + +// The type of function parameter (`PARAM` or `COLUMN`). +func (o GetFunctionsFunctionInputParamParameterOutput) ParameterType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *string { return v.ParameterType }).(pulumi.StringPtrOutput) +} + +// Ordinal position of column (starting at position 0). +func (o GetFunctionsFunctionInputParamParameterOutput) Position() pulumi.IntOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) int { return v.Position }).(pulumi.IntOutput) +} + +// Format of IntervalType. +func (o GetFunctionsFunctionInputParamParameterOutput) TypeIntervalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) +} + +// Full data type spec, JSON-serialized. +func (o GetFunctionsFunctionInputParamParameterOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +} + +// Name of type (INT, STRUCT, MAP, etc.). +func (o GetFunctionsFunctionInputParamParameterOutput) TypeName() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) string { return v.TypeName }).(pulumi.StringOutput) +} + +// Digits of precision; required on Create for DecimalTypes. +func (o GetFunctionsFunctionInputParamParameterOutput) TypePrecision() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) +} + +// Digits to right of decimal; Required on Create for DecimalTypes. +func (o GetFunctionsFunctionInputParamParameterOutput) TypeScale() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +} + +// Full data type spec, SQL/catalogString text. +func (o GetFunctionsFunctionInputParamParameterOutput) TypeText() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionInputParamParameter) string { return v.TypeText }).(pulumi.StringOutput) +} + +type GetFunctionsFunctionInputParamParameterArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionInputParamParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionInputParamParameter)(nil)).Elem() +} + +func (o GetFunctionsFunctionInputParamParameterArrayOutput) ToGetFunctionsFunctionInputParamParameterArrayOutput() GetFunctionsFunctionInputParamParameterArrayOutput { + return o +} + +func (o GetFunctionsFunctionInputParamParameterArrayOutput) ToGetFunctionsFunctionInputParamParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamParameterArrayOutput { + return o +} + +func (o GetFunctionsFunctionInputParamParameterArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionInputParamParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionInputParamParameter { + return vs[0].([]GetFunctionsFunctionInputParamParameter)[vs[1].(int)] + }).(GetFunctionsFunctionInputParamParameterOutput) +} + +type GetFunctionsFunctionReturnParam struct { + // The array of definitions of the function's parameters: + Parameters []GetFunctionsFunctionReturnParamParameter `pulumi:"parameters"` +} + +// GetFunctionsFunctionReturnParamInput is an input type that accepts GetFunctionsFunctionReturnParamArgs and GetFunctionsFunctionReturnParamOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionReturnParamInput` via: +// +// GetFunctionsFunctionReturnParamArgs{...} +type GetFunctionsFunctionReturnParamInput interface { + pulumi.Input + + ToGetFunctionsFunctionReturnParamOutput() GetFunctionsFunctionReturnParamOutput + ToGetFunctionsFunctionReturnParamOutputWithContext(context.Context) GetFunctionsFunctionReturnParamOutput +} + +type GetFunctionsFunctionReturnParamArgs struct { + // The array of definitions of the function's parameters: + Parameters GetFunctionsFunctionReturnParamParameterArrayInput `pulumi:"parameters"` +} + +func (GetFunctionsFunctionReturnParamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionReturnParam)(nil)).Elem() +} + +func (i GetFunctionsFunctionReturnParamArgs) ToGetFunctionsFunctionReturnParamOutput() GetFunctionsFunctionReturnParamOutput { + return i.ToGetFunctionsFunctionReturnParamOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionReturnParamArgs) ToGetFunctionsFunctionReturnParamOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamOutput) +} + +// GetFunctionsFunctionReturnParamArrayInput is an input type that accepts GetFunctionsFunctionReturnParamArray and GetFunctionsFunctionReturnParamArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionReturnParamArrayInput` via: +// +// GetFunctionsFunctionReturnParamArray{ GetFunctionsFunctionReturnParamArgs{...} } +type GetFunctionsFunctionReturnParamArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionReturnParamArrayOutput() GetFunctionsFunctionReturnParamArrayOutput + ToGetFunctionsFunctionReturnParamArrayOutputWithContext(context.Context) GetFunctionsFunctionReturnParamArrayOutput +} + +type GetFunctionsFunctionReturnParamArray []GetFunctionsFunctionReturnParamInput + +func (GetFunctionsFunctionReturnParamArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionReturnParam)(nil)).Elem() +} + +func (i GetFunctionsFunctionReturnParamArray) ToGetFunctionsFunctionReturnParamArrayOutput() GetFunctionsFunctionReturnParamArrayOutput { + return i.ToGetFunctionsFunctionReturnParamArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionReturnParamArray) ToGetFunctionsFunctionReturnParamArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamArrayOutput) +} + +type GetFunctionsFunctionReturnParamOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionReturnParamOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionReturnParam)(nil)).Elem() +} + +func (o GetFunctionsFunctionReturnParamOutput) ToGetFunctionsFunctionReturnParamOutput() GetFunctionsFunctionReturnParamOutput { + return o +} + +func (o GetFunctionsFunctionReturnParamOutput) ToGetFunctionsFunctionReturnParamOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamOutput { + return o +} + +// The array of definitions of the function's parameters: +func (o GetFunctionsFunctionReturnParamOutput) Parameters() GetFunctionsFunctionReturnParamParameterArrayOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParam) []GetFunctionsFunctionReturnParamParameter { + return v.Parameters + }).(GetFunctionsFunctionReturnParamParameterArrayOutput) +} + +type GetFunctionsFunctionReturnParamArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionReturnParamArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionReturnParam)(nil)).Elem() +} + +func (o GetFunctionsFunctionReturnParamArrayOutput) ToGetFunctionsFunctionReturnParamArrayOutput() GetFunctionsFunctionReturnParamArrayOutput { + return o +} + +func (o GetFunctionsFunctionReturnParamArrayOutput) ToGetFunctionsFunctionReturnParamArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamArrayOutput { + return o +} + +func (o GetFunctionsFunctionReturnParamArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionReturnParamOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionReturnParam { + return vs[0].([]GetFunctionsFunctionReturnParam)[vs[1].(int)] + }).(GetFunctionsFunctionReturnParamOutput) +} + +type GetFunctionsFunctionReturnParamParameter struct { + // User-provided free-form text description. + Comment *string `pulumi:"comment"` + // Name of parameter. + Name string `pulumi:"name"` + // Default value of the parameter. + ParameterDefault *string `pulumi:"parameterDefault"` + // The mode of the function parameter. + ParameterMode *string `pulumi:"parameterMode"` + // The type of function parameter (`PARAM` or `COLUMN`). + ParameterType *string `pulumi:"parameterType"` + // Ordinal position of column (starting at position 0). + Position int `pulumi:"position"` + // Format of IntervalType. + TypeIntervalType *string `pulumi:"typeIntervalType"` + // Full data type spec, JSON-serialized. + TypeJson *string `pulumi:"typeJson"` + // Name of type (INT, STRUCT, MAP, etc.). + TypeName string `pulumi:"typeName"` + // Digits of precision; required on Create for DecimalTypes. + TypePrecision *int `pulumi:"typePrecision"` + // Digits to right of decimal; Required on Create for DecimalTypes. + TypeScale *int `pulumi:"typeScale"` + // Full data type spec, SQL/catalogString text. + TypeText string `pulumi:"typeText"` +} + +// GetFunctionsFunctionReturnParamParameterInput is an input type that accepts GetFunctionsFunctionReturnParamParameterArgs and GetFunctionsFunctionReturnParamParameterOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionReturnParamParameterInput` via: +// +// GetFunctionsFunctionReturnParamParameterArgs{...} +type GetFunctionsFunctionReturnParamParameterInput interface { + pulumi.Input + + ToGetFunctionsFunctionReturnParamParameterOutput() GetFunctionsFunctionReturnParamParameterOutput + ToGetFunctionsFunctionReturnParamParameterOutputWithContext(context.Context) GetFunctionsFunctionReturnParamParameterOutput +} + +type GetFunctionsFunctionReturnParamParameterArgs struct { + // User-provided free-form text description. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // Name of parameter. + Name pulumi.StringInput `pulumi:"name"` + // Default value of the parameter. + ParameterDefault pulumi.StringPtrInput `pulumi:"parameterDefault"` + // The mode of the function parameter. + ParameterMode pulumi.StringPtrInput `pulumi:"parameterMode"` + // The type of function parameter (`PARAM` or `COLUMN`). + ParameterType pulumi.StringPtrInput `pulumi:"parameterType"` + // Ordinal position of column (starting at position 0). + Position pulumi.IntInput `pulumi:"position"` + // Format of IntervalType. + TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` + // Full data type spec, JSON-serialized. + TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` + // Name of type (INT, STRUCT, MAP, etc.). + TypeName pulumi.StringInput `pulumi:"typeName"` + // Digits of precision; required on Create for DecimalTypes. + TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` + // Digits to right of decimal; Required on Create for DecimalTypes. + TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` + // Full data type spec, SQL/catalogString text. + TypeText pulumi.StringInput `pulumi:"typeText"` +} + +func (GetFunctionsFunctionReturnParamParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionReturnParamParameter)(nil)).Elem() +} + +func (i GetFunctionsFunctionReturnParamParameterArgs) ToGetFunctionsFunctionReturnParamParameterOutput() GetFunctionsFunctionReturnParamParameterOutput { + return i.ToGetFunctionsFunctionReturnParamParameterOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionReturnParamParameterArgs) ToGetFunctionsFunctionReturnParamParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamParameterOutput) +} + +// GetFunctionsFunctionReturnParamParameterArrayInput is an input type that accepts GetFunctionsFunctionReturnParamParameterArray and GetFunctionsFunctionReturnParamParameterArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionReturnParamParameterArrayInput` via: +// +// GetFunctionsFunctionReturnParamParameterArray{ GetFunctionsFunctionReturnParamParameterArgs{...} } +type GetFunctionsFunctionReturnParamParameterArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionReturnParamParameterArrayOutput() GetFunctionsFunctionReturnParamParameterArrayOutput + ToGetFunctionsFunctionReturnParamParameterArrayOutputWithContext(context.Context) GetFunctionsFunctionReturnParamParameterArrayOutput +} + +type GetFunctionsFunctionReturnParamParameterArray []GetFunctionsFunctionReturnParamParameterInput + +func (GetFunctionsFunctionReturnParamParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionReturnParamParameter)(nil)).Elem() +} + +func (i GetFunctionsFunctionReturnParamParameterArray) ToGetFunctionsFunctionReturnParamParameterArrayOutput() GetFunctionsFunctionReturnParamParameterArrayOutput { + return i.ToGetFunctionsFunctionReturnParamParameterArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionReturnParamParameterArray) ToGetFunctionsFunctionReturnParamParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamParameterArrayOutput) +} + +type GetFunctionsFunctionReturnParamParameterOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionReturnParamParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionReturnParamParameter)(nil)).Elem() +} + +func (o GetFunctionsFunctionReturnParamParameterOutput) ToGetFunctionsFunctionReturnParamParameterOutput() GetFunctionsFunctionReturnParamParameterOutput { + return o +} + +func (o GetFunctionsFunctionReturnParamParameterOutput) ToGetFunctionsFunctionReturnParamParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamParameterOutput { + return o +} + +// User-provided free-form text description. +func (o GetFunctionsFunctionReturnParamParameterOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *string { return v.Comment }).(pulumi.StringPtrOutput) +} + +// Name of parameter. +func (o GetFunctionsFunctionReturnParamParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) string { return v.Name }).(pulumi.StringOutput) +} + +// Default value of the parameter. +func (o GetFunctionsFunctionReturnParamParameterOutput) ParameterDefault() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *string { return v.ParameterDefault }).(pulumi.StringPtrOutput) +} + +// The mode of the function parameter. +func (o GetFunctionsFunctionReturnParamParameterOutput) ParameterMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *string { return v.ParameterMode }).(pulumi.StringPtrOutput) +} + +// The type of function parameter (`PARAM` or `COLUMN`). +func (o GetFunctionsFunctionReturnParamParameterOutput) ParameterType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *string { return v.ParameterType }).(pulumi.StringPtrOutput) +} + +// Ordinal position of column (starting at position 0). +func (o GetFunctionsFunctionReturnParamParameterOutput) Position() pulumi.IntOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) int { return v.Position }).(pulumi.IntOutput) +} + +// Format of IntervalType. +func (o GetFunctionsFunctionReturnParamParameterOutput) TypeIntervalType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) +} + +// Full data type spec, JSON-serialized. +func (o GetFunctionsFunctionReturnParamParameterOutput) TypeJson() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +} + +// Name of type (INT, STRUCT, MAP, etc.). +func (o GetFunctionsFunctionReturnParamParameterOutput) TypeName() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) string { return v.TypeName }).(pulumi.StringOutput) +} + +// Digits of precision; required on Create for DecimalTypes. +func (o GetFunctionsFunctionReturnParamParameterOutput) TypePrecision() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) +} + +// Digits to right of decimal; Required on Create for DecimalTypes. +func (o GetFunctionsFunctionReturnParamParameterOutput) TypeScale() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +} + +// Full data type spec, SQL/catalogString text. +func (o GetFunctionsFunctionReturnParamParameterOutput) TypeText() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionReturnParamParameter) string { return v.TypeText }).(pulumi.StringOutput) +} + +type GetFunctionsFunctionReturnParamParameterArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionReturnParamParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionReturnParamParameter)(nil)).Elem() +} + +func (o GetFunctionsFunctionReturnParamParameterArrayOutput) ToGetFunctionsFunctionReturnParamParameterArrayOutput() GetFunctionsFunctionReturnParamParameterArrayOutput { + return o +} + +func (o GetFunctionsFunctionReturnParamParameterArrayOutput) ToGetFunctionsFunctionReturnParamParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamParameterArrayOutput { + return o +} + +func (o GetFunctionsFunctionReturnParamParameterArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionReturnParamParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionReturnParamParameter { + return vs[0].([]GetFunctionsFunctionReturnParamParameter)[vs[1].(int)] + }).(GetFunctionsFunctionReturnParamParameterOutput) +} + +type GetFunctionsFunctionRoutineDependency struct { + Dependencies []GetFunctionsFunctionRoutineDependencyDependency `pulumi:"dependencies"` +} + +// GetFunctionsFunctionRoutineDependencyInput is an input type that accepts GetFunctionsFunctionRoutineDependencyArgs and GetFunctionsFunctionRoutineDependencyOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyInput` via: +// +// GetFunctionsFunctionRoutineDependencyArgs{...} +type GetFunctionsFunctionRoutineDependencyInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyOutput() GetFunctionsFunctionRoutineDependencyOutput + ToGetFunctionsFunctionRoutineDependencyOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyOutput +} + +type GetFunctionsFunctionRoutineDependencyArgs struct { + Dependencies GetFunctionsFunctionRoutineDependencyDependencyArrayInput `pulumi:"dependencies"` +} + +func (GetFunctionsFunctionRoutineDependencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependency)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyArgs) ToGetFunctionsFunctionRoutineDependencyOutput() GetFunctionsFunctionRoutineDependencyOutput { + return i.ToGetFunctionsFunctionRoutineDependencyOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyArgs) ToGetFunctionsFunctionRoutineDependencyOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyOutput) +} + +// GetFunctionsFunctionRoutineDependencyArrayInput is an input type that accepts GetFunctionsFunctionRoutineDependencyArray and GetFunctionsFunctionRoutineDependencyArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyArrayInput` via: +// +// GetFunctionsFunctionRoutineDependencyArray{ GetFunctionsFunctionRoutineDependencyArgs{...} } +type GetFunctionsFunctionRoutineDependencyArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyArrayOutput() GetFunctionsFunctionRoutineDependencyArrayOutput + ToGetFunctionsFunctionRoutineDependencyArrayOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyArrayOutput +} + +type GetFunctionsFunctionRoutineDependencyArray []GetFunctionsFunctionRoutineDependencyInput + +func (GetFunctionsFunctionRoutineDependencyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependency)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyArray) ToGetFunctionsFunctionRoutineDependencyArrayOutput() GetFunctionsFunctionRoutineDependencyArrayOutput { + return i.ToGetFunctionsFunctionRoutineDependencyArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyArray) ToGetFunctionsFunctionRoutineDependencyArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyArrayOutput) +} + +type GetFunctionsFunctionRoutineDependencyOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependency)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyOutput) ToGetFunctionsFunctionRoutineDependencyOutput() GetFunctionsFunctionRoutineDependencyOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyOutput) ToGetFunctionsFunctionRoutineDependencyOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyOutput) Dependencies() GetFunctionsFunctionRoutineDependencyDependencyArrayOutput { + return o.ApplyT(func(v GetFunctionsFunctionRoutineDependency) []GetFunctionsFunctionRoutineDependencyDependency { + return v.Dependencies + }).(GetFunctionsFunctionRoutineDependencyDependencyArrayOutput) +} + +type GetFunctionsFunctionRoutineDependencyArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependency)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyArrayOutput) ToGetFunctionsFunctionRoutineDependencyArrayOutput() GetFunctionsFunctionRoutineDependencyArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyArrayOutput) ToGetFunctionsFunctionRoutineDependencyArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionRoutineDependencyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionRoutineDependency { + return vs[0].([]GetFunctionsFunctionRoutineDependency)[vs[1].(int)] + }).(GetFunctionsFunctionRoutineDependencyOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependency struct { + Functions []GetFunctionsFunctionRoutineDependencyDependencyFunction `pulumi:"functions"` + Tables []GetFunctionsFunctionRoutineDependencyDependencyTable `pulumi:"tables"` +} + +// GetFunctionsFunctionRoutineDependencyDependencyInput is an input type that accepts GetFunctionsFunctionRoutineDependencyDependencyArgs and GetFunctionsFunctionRoutineDependencyDependencyOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyDependencyInput` via: +// +// GetFunctionsFunctionRoutineDependencyDependencyArgs{...} +type GetFunctionsFunctionRoutineDependencyDependencyInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyDependencyOutput() GetFunctionsFunctionRoutineDependencyDependencyOutput + ToGetFunctionsFunctionRoutineDependencyDependencyOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyDependencyOutput +} + +type GetFunctionsFunctionRoutineDependencyDependencyArgs struct { + Functions GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayInput `pulumi:"functions"` + Tables GetFunctionsFunctionRoutineDependencyDependencyTableArrayInput `pulumi:"tables"` +} + +func (GetFunctionsFunctionRoutineDependencyDependencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependency)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyArgs) ToGetFunctionsFunctionRoutineDependencyDependencyOutput() GetFunctionsFunctionRoutineDependencyDependencyOutput { + return i.ToGetFunctionsFunctionRoutineDependencyDependencyOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyArgs) ToGetFunctionsFunctionRoutineDependencyDependencyOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyDependencyOutput) +} + +// GetFunctionsFunctionRoutineDependencyDependencyArrayInput is an input type that accepts GetFunctionsFunctionRoutineDependencyDependencyArray and GetFunctionsFunctionRoutineDependencyDependencyArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyDependencyArrayInput` via: +// +// GetFunctionsFunctionRoutineDependencyDependencyArray{ GetFunctionsFunctionRoutineDependencyDependencyArgs{...} } +type GetFunctionsFunctionRoutineDependencyDependencyArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyArrayOutput + ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyDependencyArrayOutput +} + +type GetFunctionsFunctionRoutineDependencyDependencyArray []GetFunctionsFunctionRoutineDependencyDependencyInput + +func (GetFunctionsFunctionRoutineDependencyDependencyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependencyDependency)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyArray) ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyArrayOutput { + return i.ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyArray) ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyDependencyArrayOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyDependencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependency)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyOutput) ToGetFunctionsFunctionRoutineDependencyDependencyOutput() GetFunctionsFunctionRoutineDependencyDependencyOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyOutput) ToGetFunctionsFunctionRoutineDependencyDependencyOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyOutput) Functions() GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput { + return o.ApplyT(func(v GetFunctionsFunctionRoutineDependencyDependency) []GetFunctionsFunctionRoutineDependencyDependencyFunction { + return v.Functions + }).(GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput) +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyOutput) Tables() GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput { + return o.ApplyT(func(v GetFunctionsFunctionRoutineDependencyDependency) []GetFunctionsFunctionRoutineDependencyDependencyTable { + return v.Tables + }).(GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyDependencyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependencyDependency)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyArrayOutput) ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyArrayOutput) ToGetFunctionsFunctionRoutineDependencyDependencyArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionRoutineDependencyDependencyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionRoutineDependencyDependency { + return vs[0].([]GetFunctionsFunctionRoutineDependencyDependency)[vs[1].(int)] + }).(GetFunctionsFunctionRoutineDependencyDependencyOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyFunction struct { + FunctionFullName string `pulumi:"functionFullName"` +} + +// GetFunctionsFunctionRoutineDependencyDependencyFunctionInput is an input type that accepts GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs and GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyDependencyFunctionInput` via: +// +// GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs{...} +type GetFunctionsFunctionRoutineDependencyDependencyFunctionInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutput() GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput + ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput +} + +type GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs struct { + FunctionFullName pulumi.StringInput `pulumi:"functionFullName"` +} + +func (GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyFunction)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutput() GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput { + return i.ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput) +} + +// GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayInput is an input type that accepts GetFunctionsFunctionRoutineDependencyDependencyFunctionArray and GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayInput` via: +// +// GetFunctionsFunctionRoutineDependencyDependencyFunctionArray{ GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs{...} } +type GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput + ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput +} + +type GetFunctionsFunctionRoutineDependencyDependencyFunctionArray []GetFunctionsFunctionRoutineDependencyDependencyFunctionInput + +func (GetFunctionsFunctionRoutineDependencyDependencyFunctionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependencyDependencyFunction)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyFunctionArray) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput { + return i.ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyFunctionArray) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyFunction)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutput() GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput) FunctionFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionRoutineDependencyDependencyFunction) string { return v.FunctionFullName }).(pulumi.StringOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependencyDependencyFunction)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput) ToGetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionRoutineDependencyDependencyFunction { + return vs[0].([]GetFunctionsFunctionRoutineDependencyDependencyFunction)[vs[1].(int)] + }).(GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyTable struct { + TableFullName string `pulumi:"tableFullName"` +} + +// GetFunctionsFunctionRoutineDependencyDependencyTableInput is an input type that accepts GetFunctionsFunctionRoutineDependencyDependencyTableArgs and GetFunctionsFunctionRoutineDependencyDependencyTableOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyDependencyTableInput` via: +// +// GetFunctionsFunctionRoutineDependencyDependencyTableArgs{...} +type GetFunctionsFunctionRoutineDependencyDependencyTableInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyDependencyTableOutput() GetFunctionsFunctionRoutineDependencyDependencyTableOutput + ToGetFunctionsFunctionRoutineDependencyDependencyTableOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyDependencyTableOutput +} + +type GetFunctionsFunctionRoutineDependencyDependencyTableArgs struct { + TableFullName pulumi.StringInput `pulumi:"tableFullName"` +} + +func (GetFunctionsFunctionRoutineDependencyDependencyTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyTable)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyTableArgs) ToGetFunctionsFunctionRoutineDependencyDependencyTableOutput() GetFunctionsFunctionRoutineDependencyDependencyTableOutput { + return i.ToGetFunctionsFunctionRoutineDependencyDependencyTableOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyTableArgs) ToGetFunctionsFunctionRoutineDependencyDependencyTableOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyDependencyTableOutput) +} + +// GetFunctionsFunctionRoutineDependencyDependencyTableArrayInput is an input type that accepts GetFunctionsFunctionRoutineDependencyDependencyTableArray and GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput values. +// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependencyDependencyTableArrayInput` via: +// +// GetFunctionsFunctionRoutineDependencyDependencyTableArray{ GetFunctionsFunctionRoutineDependencyDependencyTableArgs{...} } +type GetFunctionsFunctionRoutineDependencyDependencyTableArrayInput interface { + pulumi.Input + + ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput + ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput +} + +type GetFunctionsFunctionRoutineDependencyDependencyTableArray []GetFunctionsFunctionRoutineDependencyDependencyTableInput + +func (GetFunctionsFunctionRoutineDependencyDependencyTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependencyDependencyTable)(nil)).Elem() +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyTableArray) ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput { + return i.ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutputWithContext(context.Background()) +} + +func (i GetFunctionsFunctionRoutineDependencyDependencyTableArray) ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyTableOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyDependencyTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyTable)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyTableOutput) ToGetFunctionsFunctionRoutineDependencyDependencyTableOutput() GetFunctionsFunctionRoutineDependencyDependencyTableOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyTableOutput) ToGetFunctionsFunctionRoutineDependencyDependencyTableOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyTableOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyTableOutput) TableFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetFunctionsFunctionRoutineDependencyDependencyTable) string { return v.TableFullName }).(pulumi.StringOutput) +} + +type GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput struct{ *pulumi.OutputState } + +func (GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependencyDependencyTable)(nil)).Elem() +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput) ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput() GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput) ToGetFunctionsFunctionRoutineDependencyDependencyTableArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput { + return o +} + +func (o GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionRoutineDependencyDependencyTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionRoutineDependencyDependencyTable { + return vs[0].([]GetFunctionsFunctionRoutineDependencyDependencyTable)[vs[1].(int)] + }).(GetFunctionsFunctionRoutineDependencyDependencyTableOutput) +} + +type GetInstancePoolPoolInfo struct { + AwsAttributes *GetInstancePoolPoolInfoAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetInstancePoolPoolInfoAzureAttributes `pulumi:"azureAttributes"` + CustomTags map[string]string `pulumi:"customTags"` + DefaultTags map[string]string `pulumi:"defaultTags"` + DiskSpec *GetInstancePoolPoolInfoDiskSpec `pulumi:"diskSpec"` + EnableElasticDisk *bool `pulumi:"enableElasticDisk"` + GcpAttributes *GetInstancePoolPoolInfoGcpAttributes `pulumi:"gcpAttributes"` + IdleInstanceAutoterminationMinutes int `pulumi:"idleInstanceAutoterminationMinutes"` + InstancePoolFleetAttributes []GetInstancePoolPoolInfoInstancePoolFleetAttribute `pulumi:"instancePoolFleetAttributes"` + InstancePoolId string `pulumi:"instancePoolId"` + InstancePoolName string `pulumi:"instancePoolName"` + MaxCapacity *int `pulumi:"maxCapacity"` + MinIdleInstances *int `pulumi:"minIdleInstances"` + NodeTypeId *string `pulumi:"nodeTypeId"` + PreloadedDockerImages []GetInstancePoolPoolInfoPreloadedDockerImage `pulumi:"preloadedDockerImages"` + PreloadedSparkVersions []string `pulumi:"preloadedSparkVersions"` + State *string `pulumi:"state"` + Stats *GetInstancePoolPoolInfoStats `pulumi:"stats"` +} + +// GetInstancePoolPoolInfoInput is an input type that accepts GetInstancePoolPoolInfoArgs and GetInstancePoolPoolInfoOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInput` via: +// +// GetInstancePoolPoolInfoArgs{...} +type GetInstancePoolPoolInfoInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput + ToGetInstancePoolPoolInfoOutputWithContext(context.Context) GetInstancePoolPoolInfoOutput +} + +type GetInstancePoolPoolInfoArgs struct { + AwsAttributes GetInstancePoolPoolInfoAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetInstancePoolPoolInfoAzureAttributesPtrInput `pulumi:"azureAttributes"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DefaultTags pulumi.StringMapInput `pulumi:"defaultTags"` + DiskSpec GetInstancePoolPoolInfoDiskSpecPtrInput `pulumi:"diskSpec"` + EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` + GcpAttributes GetInstancePoolPoolInfoGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdleInstanceAutoterminationMinutes pulumi.IntInput `pulumi:"idleInstanceAutoterminationMinutes"` + InstancePoolFleetAttributes GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput `pulumi:"instancePoolFleetAttributes"` + InstancePoolId pulumi.StringInput `pulumi:"instancePoolId"` + InstancePoolName pulumi.StringInput `pulumi:"instancePoolName"` + MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"` + MinIdleInstances pulumi.IntPtrInput `pulumi:"minIdleInstances"` + NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` + PreloadedDockerImages GetInstancePoolPoolInfoPreloadedDockerImageArrayInput `pulumi:"preloadedDockerImages"` + PreloadedSparkVersions pulumi.StringArrayInput `pulumi:"preloadedSparkVersions"` + State pulumi.StringPtrInput `pulumi:"state"` + Stats GetInstancePoolPoolInfoStatsPtrInput `pulumi:"stats"` +} + +func (GetInstancePoolPoolInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { + return i.ToGetInstancePoolPoolInfoOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput) +} + +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput).ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoPtrInput is an input type that accepts GetInstancePoolPoolInfoArgs, GetInstancePoolPoolInfoPtr and GetInstancePoolPoolInfoPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPtrInput` via: +// +// GetInstancePoolPoolInfoArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput + ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPtrOutput +} + +type getInstancePoolPoolInfoPtrType GetInstancePoolPoolInfoArgs + +func GetInstancePoolPoolInfoPtr(v *GetInstancePoolPoolInfoArgs) GetInstancePoolPoolInfoPtrInput { + return (*getInstancePoolPoolInfoPtrType)(v) +} + +func (*getInstancePoolPoolInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPtrOutput) +} + +type GetInstancePoolPoolInfoOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { + return o +} + +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { + return o +} + +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return o.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfo { + return &v + }).(GetInstancePoolPoolInfoPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { return v.AwsAttributes }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { return v.AzureAttributes }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +} + +func (o GetInstancePoolPoolInfoOutput) DefaultTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]string { return v.DefaultTags }).(pulumi.StringMapOutput) +} + +func (o GetInstancePoolPoolInfoOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { return v.DiskSpec }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { return v.GcpAttributes }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) IdleInstanceAutoterminationMinutes() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) int { return v.IdleInstanceAutoterminationMinutes }).(pulumi.IntOutput) +} + +func (o GetInstancePoolPoolInfoOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { + return v.InstancePoolFleetAttributes + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +} + +func (o GetInstancePoolPoolInfoOutput) InstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolId }).(pulumi.StringOutput) +} + +func (o GetInstancePoolPoolInfoOutput) InstancePoolName() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolName }).(pulumi.StringOutput) +} + +func (o GetInstancePoolPoolInfoOutput) MaxCapacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MaxCapacity }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) MinIdleInstances() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MinIdleInstances }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { + return v.PreloadedDockerImages + }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +} + +func (o GetInstancePoolPoolInfoOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) []string { return v.PreloadedSparkVersions }).(pulumi.StringArrayOutput) +} + +func (o GetInstancePoolPoolInfoOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { return v.Stats }).(GetInstancePoolPoolInfoStatsPtrOutput) +} + +type GetInstancePoolPoolInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoPtrOutput) Elem() GetInstancePoolPoolInfoOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) GetInstancePoolPoolInfo { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfo + return ret + }).(GetInstancePoolPoolInfoOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) DefaultTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]string { + if v == nil { + return nil + } + return v.DefaultTags + }).(pulumi.StringMapOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { + if v == nil { + return nil + } + return v.DiskSpec + }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *bool { + if v == nil { + return nil + } + return v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) IdleInstanceAutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { + if v == nil { + return nil + } + return &v.IdleInstanceAutoterminationMinutes + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { + if v == nil { + return nil + } + return v.InstancePoolFleetAttributes + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil + } + return &v.InstancePoolId + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil + } + return &v.InstancePoolName + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) MaxCapacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { + if v == nil { + return nil + } + return v.MaxCapacity + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) MinIdleInstances() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { + if v == nil { + return nil + } + return v.MinIdleInstances + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil + } + return v.NodeTypeId + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { + if v == nil { + return nil + } + return v.PreloadedDockerImages + }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) []string { + if v == nil { + return nil + } + return v.PreloadedSparkVersions + }).(pulumi.StringArrayOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { + if v == nil { + return nil + } + return v.State + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoPtrOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { + if v == nil { + return nil + } + return v.Stats + }).(GetInstancePoolPoolInfoStatsPtrOutput) +} + +type GetInstancePoolPoolInfoAwsAttributes struct { + Availability *string `pulumi:"availability"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId string `pulumi:"zoneId"` +} + +// GetInstancePoolPoolInfoAwsAttributesInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs and GetInstancePoolPoolInfoAwsAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesInput` via: +// +// GetInstancePoolPoolInfoAwsAttributesArgs{...} +type GetInstancePoolPoolInfoAwsAttributesInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput + ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesOutput +} + +type GetInstancePoolPoolInfoAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringInput `pulumi:"zoneId"` +} + +func (GetInstancePoolPoolInfoAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput) +} + +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput).ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoAwsAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs, GetInstancePoolPoolInfoAwsAttributesPtr and GetInstancePoolPoolInfoAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesPtrInput` via: +// +// GetInstancePoolPoolInfoAwsAttributesArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoAwsAttributesPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput + ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput +} + +type getInstancePoolPoolInfoAwsAttributesPtrType GetInstancePoolPoolInfoAwsAttributesArgs + +func GetInstancePoolPoolInfoAwsAttributesPtr(v *GetInstancePoolPoolInfoAwsAttributesArgs) GetInstancePoolPoolInfoAwsAttributesPtrInput { + return (*getInstancePoolPoolInfoAwsAttributesPtrType)(v) +} + +func (*getInstancePoolPoolInfoAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +} + +type GetInstancePoolPoolInfoAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { + return o +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { + return o +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAwsAttributes) *GetInstancePoolPoolInfoAwsAttributes { + return &v + }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +} + +type GetInstancePoolPoolInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAwsAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) GetInstancePoolPoolInfoAwsAttributes { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoAwsAttributes + return ret + }).(GetInstancePoolPoolInfoAwsAttributesOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { + if v == nil { + return nil + } + return &v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetInstancePoolPoolInfoAzureAttributes struct { + Availability *string `pulumi:"availability"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// GetInstancePoolPoolInfoAzureAttributesInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs and GetInstancePoolPoolInfoAzureAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesInput` via: +// +// GetInstancePoolPoolInfoAzureAttributesArgs{...} +type GetInstancePoolPoolInfoAzureAttributesInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput + ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesOutput +} + +type GetInstancePoolPoolInfoAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +} + +func (GetInstancePoolPoolInfoAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput) +} + +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput).ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoAzureAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs, GetInstancePoolPoolInfoAzureAttributesPtr and GetInstancePoolPoolInfoAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesPtrInput` via: +// +// GetInstancePoolPoolInfoAzureAttributesArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoAzureAttributesPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput + ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput +} + +type getInstancePoolPoolInfoAzureAttributesPtrType GetInstancePoolPoolInfoAzureAttributesArgs + +func GetInstancePoolPoolInfoAzureAttributesPtr(v *GetInstancePoolPoolInfoAzureAttributesArgs) GetInstancePoolPoolInfoAzureAttributesPtrInput { + return (*getInstancePoolPoolInfoAzureAttributesPtrType)(v) +} + +func (*getInstancePoolPoolInfoAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +} + +type GetInstancePoolPoolInfoAzureAttributesOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { + return o +} + +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { + return o +} + +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAzureAttributes) *GetInstancePoolPoolInfoAzureAttributes { + return &v + }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} + +type GetInstancePoolPoolInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAzureAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) GetInstancePoolPoolInfoAzureAttributes { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoAzureAttributes + return ret + }).(GetInstancePoolPoolInfoAzureAttributesOutput) +} + +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} + +type GetInstancePoolPoolInfoDiskSpec struct { + DiskCount *int `pulumi:"diskCount"` + DiskSize *int `pulumi:"diskSize"` + DiskType *GetInstancePoolPoolInfoDiskSpecDiskType `pulumi:"diskType"` +} + +// GetInstancePoolPoolInfoDiskSpecInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs and GetInstancePoolPoolInfoDiskSpecOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecInput` via: +// +// GetInstancePoolPoolInfoDiskSpecArgs{...} +type GetInstancePoolPoolInfoDiskSpecInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput + ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecOutput +} + +type GetInstancePoolPoolInfoDiskSpecArgs struct { + DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` + DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` + DiskType GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput `pulumi:"diskType"` +} + +func (GetInstancePoolPoolInfoDiskSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput) +} + +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput).ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoDiskSpecPtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs, GetInstancePoolPoolInfoDiskSpecPtr and GetInstancePoolPoolInfoDiskSpecPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecPtrInput` via: +// +// GetInstancePoolPoolInfoDiskSpecArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoDiskSpecPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput + ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput +} + +type getInstancePoolPoolInfoDiskSpecPtrType GetInstancePoolPoolInfoDiskSpecArgs + +func GetInstancePoolPoolInfoDiskSpecPtr(v *GetInstancePoolPoolInfoDiskSpecArgs) GetInstancePoolPoolInfoDiskSpecPtrInput { + return (*getInstancePoolPoolInfoDiskSpecPtrType)(v) +} + +func (*getInstancePoolPoolInfoDiskSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +} + +type GetInstancePoolPoolInfoDiskSpecOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoDiskSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpec { + return &v + }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { return v.DiskType }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +} + +type GetInstancePoolPoolInfoDiskSpecPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoDiskSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) GetInstancePoolPoolInfoDiskSpec { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoDiskSpec + return ret + }).(GetInstancePoolPoolInfoDiskSpecOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { + if v == nil { + return nil + } + return v.DiskCount + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { + if v == nil { + return nil + } + return v.DiskType + }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +} + +type GetInstancePoolPoolInfoDiskSpecDiskType struct { + AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` +} + +// GetInstancePoolPoolInfoDiskSpecDiskTypeInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecDiskTypeArgs and GetInstancePoolPoolInfoDiskSpecDiskTypeOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecDiskTypeInput` via: +// +// GetInstancePoolPoolInfoDiskSpecDiskTypeArgs{...} +type GetInstancePoolPoolInfoDiskSpecDiskTypeInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput +} + +type GetInstancePoolPoolInfoDiskSpecDiskTypeArgs struct { + AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` +} + +func (GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) +} + +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput).ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecDiskTypeArgs, GetInstancePoolPoolInfoDiskSpecDiskTypePtr and GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput` via: +// +// GetInstancePoolPoolInfoDiskSpecDiskTypeArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput + ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput +} + +type getInstancePoolPoolInfoDiskSpecDiskTypePtrType GetInstancePoolPoolInfoDiskSpecDiskTypeArgs + +func GetInstancePoolPoolInfoDiskSpecDiskTypePtr(v *GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput { + return (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType)(v) +} + +func (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +} + +type GetInstancePoolPoolInfoDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpecDiskType) *GetInstancePoolPoolInfoDiskSpecDiskType { + return &v + }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} + +type GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) GetInstancePoolPoolInfoDiskSpecDiskType { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoDiskSpecDiskType + return ret + }).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { + if v == nil { + return nil + } + return v.AzureDiskVolumeType + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) +} + +type GetInstancePoolPoolInfoGcpAttributes struct { + GcpAvailability *string `pulumi:"gcpAvailability"` + LocalSsdCount int `pulumi:"localSsdCount"` + ZoneId string `pulumi:"zoneId"` +} + +// GetInstancePoolPoolInfoGcpAttributesInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs and GetInstancePoolPoolInfoGcpAttributesOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesInput` via: +// +// GetInstancePoolPoolInfoGcpAttributesArgs{...} +type GetInstancePoolPoolInfoGcpAttributesInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput + ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesOutput +} + +type GetInstancePoolPoolInfoGcpAttributesArgs struct { + GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` + LocalSsdCount pulumi.IntInput `pulumi:"localSsdCount"` + ZoneId pulumi.StringInput `pulumi:"zoneId"` +} + +func (GetInstancePoolPoolInfoGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput) +} + +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput).ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoGcpAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs, GetInstancePoolPoolInfoGcpAttributesPtr and GetInstancePoolPoolInfoGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesPtrInput` via: +// +// GetInstancePoolPoolInfoGcpAttributesArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoGcpAttributesPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput + ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput +} + +type getInstancePoolPoolInfoGcpAttributesPtrType GetInstancePoolPoolInfoGcpAttributesArgs + +func GetInstancePoolPoolInfoGcpAttributesPtr(v *GetInstancePoolPoolInfoGcpAttributesArgs) GetInstancePoolPoolInfoGcpAttributesPtrInput { + return (*getInstancePoolPoolInfoGcpAttributesPtrType)(v) +} + +func (*getInstancePoolPoolInfoGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +} + +type GetInstancePoolPoolInfoGcpAttributesOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { + return o +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { + return o +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoGcpAttributes) *GetInstancePoolPoolInfoGcpAttributes { + return &v + }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) int { return v.LocalSsdCount }).(pulumi.IntOutput) +} + +func (o GetInstancePoolPoolInfoGcpAttributesOutput) ZoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +} + +type GetInstancePoolPoolInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) Elem() GetInstancePoolPoolInfoGcpAttributesOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) GetInstancePoolPoolInfoGcpAttributes { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoGcpAttributes + return ret + }).(GetInstancePoolPoolInfoGcpAttributesOutput) +} + +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { + if v == nil { + return nil + } + return v.GcpAvailability + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *int { + if v == nil { + return nil + } + return &v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { + if v == nil { + return nil + } + return &v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttribute struct { + FleetOnDemandOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption `pulumi:"fleetOnDemandOption"` + FleetSpotOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs struct { + FleetOnDemandOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` + FleetSpotOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` + LaunchTemplateOverrides GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` +} + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeInput + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetOnDemandOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { + return v.FleetOnDemandOption + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetSpotOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { + return v.FleetSpotOption + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) LaunchTemplateOverrides() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { + return v.LaunchTemplateOverrides + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoInstancePoolFleetAttribute { + return vs[0].([]GetInstancePoolPoolInfoInstancePoolFleetAttribute)[vs[1].(int)] + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +} + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput +} + +type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs + +func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput { + return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType)(v) +} + +func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { + return &v + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) string { + return v.AllocationStrategy + }).(pulumi.StringOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption + return ret + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *string { + if v == nil { + return nil + } + return &v.AllocationStrategy + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { + if v == nil { + return nil + } + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption struct { + AllocationStrategy string `pulumi:"allocationStrategy"` + InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs struct { + AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` + InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +} + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput +} + +type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs + +func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput { + return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType)(v) +} + +func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { + return &v + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) string { + return v.AllocationStrategy + }).(pulumi.StringOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption + return ret + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *string { + if v == nil { + return nil + } + return &v.AllocationStrategy + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { + if v == nil { + return nil + } + return v.InstancePoolsToUseCount + }).(pulumi.IntPtrOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride struct { + AvailabilityZone string `pulumi:"availabilityZone"` + InstanceType string `pulumi:"instanceType"` +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs struct { + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + InstanceType pulumi.StringInput `pulumi:"instanceType"` +} + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) +} + +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput` via: +// +// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} } +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput + ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { + return v.AvailabilityZone + }).(pulumi.StringOutput) +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { + return v.InstanceType + }).(pulumi.StringOutput) +} + +type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { + return o +} + +func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { + return vs[0].([]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)[vs[1].(int)] + }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) +} + +type GetInstancePoolPoolInfoPreloadedDockerImage struct { + BasicAuth *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` +} + +// GetInstancePoolPoolInfoPreloadedDockerImageInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArgs and GetInstancePoolPoolInfoPreloadedDockerImageOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageInput` via: +// +// GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} +type GetInstancePoolPoolInfoPreloadedDockerImageInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput +} + +type GetInstancePoolPoolInfoPreloadedDockerImageArgs struct { + BasicAuth GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetInstancePoolPoolInfoPreloadedDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) +} + +// GetInstancePoolPoolInfoPreloadedDockerImageArrayInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArray and GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageArrayInput` via: +// +// GetInstancePoolPoolInfoPreloadedDockerImageArray{ GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} } +type GetInstancePoolPoolInfoPreloadedDockerImageArrayInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput +} + +type GetInstancePoolPoolInfoPreloadedDockerImageArray []GetInstancePoolPoolInfoPreloadedDockerImageInput + +func (GetInstancePoolPoolInfoPreloadedDockerImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +} + +type GetInstancePoolPoolInfoPreloadedDockerImageOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPreloadedDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) BasicAuth() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { + return v.BasicAuth + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) string { return v.Url }).(pulumi.StringOutput) +} + +type GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoPreloadedDockerImageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoPreloadedDockerImage { + return vs[0].([]GetInstancePoolPoolInfoPreloadedDockerImage)[vs[1].(int)] + }).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) +} + +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` +} + +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput` via: +// +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput +} + +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput).ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs, GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput` via: +// +// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput + ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput +} + +type getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs + +func GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput { + return (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType)(v) +} + +func (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +} + +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { + return &v + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} + +type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Elem() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth + return ret + }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) +} + +func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type GetInstancePoolPoolInfoStats struct { + IdleCount *int `pulumi:"idleCount"` + PendingIdleCount *int `pulumi:"pendingIdleCount"` + PendingUsedCount *int `pulumi:"pendingUsedCount"` + UsedCount *int `pulumi:"usedCount"` +} + +// GetInstancePoolPoolInfoStatsInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs and GetInstancePoolPoolInfoStatsOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsInput` via: +// +// GetInstancePoolPoolInfoStatsArgs{...} +type GetInstancePoolPoolInfoStatsInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput + ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsOutput +} + +type GetInstancePoolPoolInfoStatsArgs struct { + IdleCount pulumi.IntPtrInput `pulumi:"idleCount"` + PendingIdleCount pulumi.IntPtrInput `pulumi:"pendingIdleCount"` + PendingUsedCount pulumi.IntPtrInput `pulumi:"pendingUsedCount"` + UsedCount pulumi.IntPtrInput `pulumi:"usedCount"` +} + +func (GetInstancePoolPoolInfoStatsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +} + +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { + return i.ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput) +} + +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +} + +func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput).ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx) +} + +// GetInstancePoolPoolInfoStatsPtrInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs, GetInstancePoolPoolInfoStatsPtr and GetInstancePoolPoolInfoStatsPtrOutput values. +// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsPtrInput` via: +// +// GetInstancePoolPoolInfoStatsArgs{...} +// +// or: +// +// nil +type GetInstancePoolPoolInfoStatsPtrInput interface { + pulumi.Input + + ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput + ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsPtrOutput +} + +type getInstancePoolPoolInfoStatsPtrType GetInstancePoolPoolInfoStatsArgs + +func GetInstancePoolPoolInfoStatsPtr(v *GetInstancePoolPoolInfoStatsArgs) GetInstancePoolPoolInfoStatsPtrInput { + return (*getInstancePoolPoolInfoStatsPtrType)(v) +} + +func (*getInstancePoolPoolInfoStatsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +} + +func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +} + +func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsPtrOutput) +} + +type GetInstancePoolPoolInfoStatsOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoStatsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { + return o +} + +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { + return o +} + +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return o.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +} + +func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoStats) *GetInstancePoolPoolInfoStats { + return &v + }).(GetInstancePoolPoolInfoStatsPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsOutput) IdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.IdleCount }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsOutput) PendingIdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingIdleCount }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsOutput) PendingUsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingUsedCount }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsOutput) UsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.UsedCount }).(pulumi.IntPtrOutput) +} + +type GetInstancePoolPoolInfoStatsPtrOutput struct{ *pulumi.OutputState } + +func (GetInstancePoolPoolInfoStatsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { + return o +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) Elem() GetInstancePoolPoolInfoStatsOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) GetInstancePoolPoolInfoStats { + if v != nil { + return *v + } + var ret GetInstancePoolPoolInfoStats + return ret + }).(GetInstancePoolPoolInfoStatsOutput) +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) IdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.IdleCount + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingIdleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.PendingIdleCount + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingUsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.PendingUsedCount + }).(pulumi.IntPtrOutput) +} + +func (o GetInstancePoolPoolInfoStatsPtrOutput) UsedCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { + if v == nil { + return nil + } + return v.UsedCount + }).(pulumi.IntPtrOutput) +} + +type GetInstanceProfilesInstanceProfile struct { + // ARN of the instance profile. + Arn string `pulumi:"arn"` + // Whether the instance profile is a meta instance profile or not. + IsMeta bool `pulumi:"isMeta"` + // Name of the instance profile. + Name string `pulumi:"name"` + // ARN of the role attached to the instance profile. + RoleArn string `pulumi:"roleArn"` +} + +// GetInstanceProfilesInstanceProfileInput is an input type that accepts GetInstanceProfilesInstanceProfileArgs and GetInstanceProfilesInstanceProfileOutput values. +// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileInput` via: +// +// GetInstanceProfilesInstanceProfileArgs{...} +type GetInstanceProfilesInstanceProfileInput interface { + pulumi.Input + + ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput + ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileOutput +} + +type GetInstanceProfilesInstanceProfileArgs struct { + // ARN of the instance profile. + Arn pulumi.StringInput `pulumi:"arn"` + // Whether the instance profile is a meta instance profile or not. + IsMeta pulumi.BoolInput `pulumi:"isMeta"` + // Name of the instance profile. + Name pulumi.StringInput `pulumi:"name"` + // ARN of the role attached to the instance profile. + RoleArn pulumi.StringInput `pulumi:"roleArn"` +} + +func (GetInstanceProfilesInstanceProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +} + +func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { + return i.ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Background()) +} + +func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileOutput) +} + +// GetInstanceProfilesInstanceProfileArrayInput is an input type that accepts GetInstanceProfilesInstanceProfileArray and GetInstanceProfilesInstanceProfileArrayOutput values. +// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileArrayInput` via: +// +// GetInstanceProfilesInstanceProfileArray{ GetInstanceProfilesInstanceProfileArgs{...} } +type GetInstanceProfilesInstanceProfileArrayInput interface { + pulumi.Input + + ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput + ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileArrayOutput +} + +type GetInstanceProfilesInstanceProfileArray []GetInstanceProfilesInstanceProfileInput + +func (GetInstanceProfilesInstanceProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +} + +func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { + return i.ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Background()) +} + +func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileArrayOutput) +} + +type GetInstanceProfilesInstanceProfileOutput struct{ *pulumi.OutputState } + +func (GetInstanceProfilesInstanceProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +} + +func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { + return o +} + +func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { + return o +} + +// ARN of the instance profile. +func (o GetInstanceProfilesInstanceProfileOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.Arn }).(pulumi.StringOutput) +} + +// Whether the instance profile is a meta instance profile or not. +func (o GetInstanceProfilesInstanceProfileOutput) IsMeta() pulumi.BoolOutput { + return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) bool { return v.IsMeta }).(pulumi.BoolOutput) +} + +// Name of the instance profile. +func (o GetInstanceProfilesInstanceProfileOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.Name }).(pulumi.StringOutput) +} + +// ARN of the role attached to the instance profile. +func (o GetInstanceProfilesInstanceProfileOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.RoleArn }).(pulumi.StringOutput) +} + +type GetInstanceProfilesInstanceProfileArrayOutput struct{ *pulumi.OutputState } + +func (GetInstanceProfilesInstanceProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +} + +func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { + return o +} + +func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { + return o +} + +func (o GetInstanceProfilesInstanceProfileArrayOutput) Index(i pulumi.IntInput) GetInstanceProfilesInstanceProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstanceProfilesInstanceProfile { + return vs[0].([]GetInstanceProfilesInstanceProfile)[vs[1].(int)] + }).(GetInstanceProfilesInstanceProfileOutput) +} + +type GetJobJobSettings struct { + CreatedTime *int `pulumi:"createdTime"` + CreatorUserName *string `pulumi:"creatorUserName"` + JobId *int `pulumi:"jobId"` + RunAsUserName string `pulumi:"runAsUserName"` + Settings *GetJobJobSettingsSettings `pulumi:"settings"` +} + +// GetJobJobSettingsInput is an input type that accepts GetJobJobSettingsArgs and GetJobJobSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsInput` via: +// +// GetJobJobSettingsArgs{...} +type GetJobJobSettingsInput interface { + pulumi.Input + + ToGetJobJobSettingsOutput() GetJobJobSettingsOutput + ToGetJobJobSettingsOutputWithContext(context.Context) GetJobJobSettingsOutput +} + +type GetJobJobSettingsArgs struct { + CreatedTime pulumi.IntPtrInput `pulumi:"createdTime"` + CreatorUserName pulumi.StringPtrInput `pulumi:"creatorUserName"` + JobId pulumi.IntPtrInput `pulumi:"jobId"` + RunAsUserName pulumi.StringInput `pulumi:"runAsUserName"` + Settings GetJobJobSettingsSettingsPtrInput `pulumi:"settings"` +} + +func (GetJobJobSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +} + +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { + return i.ToGetJobJobSettingsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput) +} + +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput).ToGetJobJobSettingsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsPtrInput is an input type that accepts GetJobJobSettingsArgs, GetJobJobSettingsPtr and GetJobJobSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsPtrInput` via: +// +// GetJobJobSettingsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput + ToGetJobJobSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsPtrOutput +} + +type getJobJobSettingsPtrType GetJobJobSettingsArgs + +func GetJobJobSettingsPtr(v *GetJobJobSettingsArgs) GetJobJobSettingsPtrInput { + return (*getJobJobSettingsPtrType)(v) +} + +func (*getJobJobSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +} + +func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsPtrOutput) +} + +type GetJobJobSettingsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { + return o +} + +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { + return o +} + +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return o.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettings) *GetJobJobSettings { + return &v + }).(GetJobJobSettingsPtrOutput) +} + +func (o GetJobJobSettingsOutput) CreatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *int { return v.CreatedTime }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *int { return v.JobId }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsOutput) RunAsUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettings) string { return v.RunAsUserName }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsOutput) Settings() GetJobJobSettingsSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettings) *GetJobJobSettingsSettings { return v.Settings }).(GetJobJobSettingsSettingsPtrOutput) +} + +type GetJobJobSettingsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { + return o +} + +func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { + return o +} + +func (o GetJobJobSettingsPtrOutput) Elem() GetJobJobSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettings) GetJobJobSettings { + if v != nil { + return *v + } + var ret GetJobJobSettings + return ret + }).(GetJobJobSettingsOutput) +} + +func (o GetJobJobSettingsPtrOutput) CreatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *int { + if v == nil { + return nil + } + return v.CreatedTime + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsPtrOutput) CreatorUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *string { + if v == nil { + return nil + } + return v.CreatorUserName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *int { + if v == nil { + return nil + } + return v.JobId + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsPtrOutput) RunAsUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *string { + if v == nil { + return nil + } + return &v.RunAsUserName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsPtrOutput) Settings() GetJobJobSettingsSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettings) *GetJobJobSettingsSettings { + if v == nil { + return nil + } + return v.Settings + }).(GetJobJobSettingsSettingsPtrOutput) +} + +type GetJobJobSettingsSettings struct { + Continuous *GetJobJobSettingsSettingsContinuous `pulumi:"continuous"` + DbtTask *GetJobJobSettingsSettingsDbtTask `pulumi:"dbtTask"` + Deployment *GetJobJobSettingsSettingsDeployment `pulumi:"deployment"` + Description *string `pulumi:"description"` + EditMode *string `pulumi:"editMode"` + EmailNotifications *GetJobJobSettingsSettingsEmailNotifications `pulumi:"emailNotifications"` + Environments []GetJobJobSettingsSettingsEnvironment `pulumi:"environments"` + ExistingClusterId *string `pulumi:"existingClusterId"` + Format string `pulumi:"format"` + GitSource *GetJobJobSettingsSettingsGitSource `pulumi:"gitSource"` + Health *GetJobJobSettingsSettingsHealth `pulumi:"health"` + JobClusters []GetJobJobSettingsSettingsJobCluster `pulumi:"jobClusters"` + Libraries []GetJobJobSettingsSettingsLibrary `pulumi:"libraries"` + MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` + MaxRetries *int `pulumi:"maxRetries"` + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + // the job name of Job if the resource was matched by id. + Name *string `pulumi:"name"` + NewCluster *GetJobJobSettingsSettingsNewCluster `pulumi:"newCluster"` + NotebookTask *GetJobJobSettingsSettingsNotebookTask `pulumi:"notebookTask"` + NotificationSettings *GetJobJobSettingsSettingsNotificationSettings `pulumi:"notificationSettings"` + Parameters []GetJobJobSettingsSettingsParameter `pulumi:"parameters"` + PipelineTask *GetJobJobSettingsSettingsPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *GetJobJobSettingsSettingsPythonWheelTask `pulumi:"pythonWheelTask"` + Queue *GetJobJobSettingsSettingsQueue `pulumi:"queue"` + RetryOnTimeout *bool `pulumi:"retryOnTimeout"` + RunAs GetJobJobSettingsSettingsRunAs `pulumi:"runAs"` + RunJobTask *GetJobJobSettingsSettingsRunJobTask `pulumi:"runJobTask"` + Schedule *GetJobJobSettingsSettingsSchedule `pulumi:"schedule"` + SparkJarTask *GetJobJobSettingsSettingsSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *GetJobJobSettingsSettingsSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *GetJobJobSettingsSettingsSparkSubmitTask `pulumi:"sparkSubmitTask"` + Tags map[string]string `pulumi:"tags"` + Tasks []GetJobJobSettingsSettingsTask `pulumi:"tasks"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + Trigger *GetJobJobSettingsSettingsTrigger `pulumi:"trigger"` + WebhookNotifications *GetJobJobSettingsSettingsWebhookNotifications `pulumi:"webhookNotifications"` +} + +// GetJobJobSettingsSettingsInput is an input type that accepts GetJobJobSettingsSettingsArgs and GetJobJobSettingsSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsInput` via: +// +// GetJobJobSettingsSettingsArgs{...} +type GetJobJobSettingsSettingsInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput + ToGetJobJobSettingsSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsOutput +} + +type GetJobJobSettingsSettingsArgs struct { + Continuous GetJobJobSettingsSettingsContinuousPtrInput `pulumi:"continuous"` + DbtTask GetJobJobSettingsSettingsDbtTaskPtrInput `pulumi:"dbtTask"` + Deployment GetJobJobSettingsSettingsDeploymentPtrInput `pulumi:"deployment"` + Description pulumi.StringPtrInput `pulumi:"description"` + EditMode pulumi.StringPtrInput `pulumi:"editMode"` + EmailNotifications GetJobJobSettingsSettingsEmailNotificationsPtrInput `pulumi:"emailNotifications"` + Environments GetJobJobSettingsSettingsEnvironmentArrayInput `pulumi:"environments"` + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + Format pulumi.StringInput `pulumi:"format"` + GitSource GetJobJobSettingsSettingsGitSourcePtrInput `pulumi:"gitSource"` + Health GetJobJobSettingsSettingsHealthPtrInput `pulumi:"health"` + JobClusters GetJobJobSettingsSettingsJobClusterArrayInput `pulumi:"jobClusters"` + Libraries GetJobJobSettingsSettingsLibraryArrayInput `pulumi:"libraries"` + MaxConcurrentRuns pulumi.IntPtrInput `pulumi:"maxConcurrentRuns"` + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + // the job name of Job if the resource was matched by id. + Name pulumi.StringPtrInput `pulumi:"name"` + NewCluster GetJobJobSettingsSettingsNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask GetJobJobSettingsSettingsNotebookTaskPtrInput `pulumi:"notebookTask"` + NotificationSettings GetJobJobSettingsSettingsNotificationSettingsPtrInput `pulumi:"notificationSettings"` + Parameters GetJobJobSettingsSettingsParameterArrayInput `pulumi:"parameters"` + PipelineTask GetJobJobSettingsSettingsPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask GetJobJobSettingsSettingsPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + Queue GetJobJobSettingsSettingsQueuePtrInput `pulumi:"queue"` + RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` + RunAs GetJobJobSettingsSettingsRunAsInput `pulumi:"runAs"` + RunJobTask GetJobJobSettingsSettingsRunJobTaskPtrInput `pulumi:"runJobTask"` + Schedule GetJobJobSettingsSettingsSchedulePtrInput `pulumi:"schedule"` + SparkJarTask GetJobJobSettingsSettingsSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask GetJobJobSettingsSettingsSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask GetJobJobSettingsSettingsSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + Tags pulumi.StringMapInput `pulumi:"tags"` + Tasks GetJobJobSettingsSettingsTaskArrayInput `pulumi:"tasks"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + Trigger GetJobJobSettingsSettingsTriggerPtrInput `pulumi:"trigger"` + WebhookNotifications GetJobJobSettingsSettingsWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +} + +func (GetJobJobSettingsSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { + return i.ToGetJobJobSettingsSettingsOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput) +} + +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput).ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsArgs, GetJobJobSettingsSettingsPtr and GetJobJobSettingsSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPtrInput` via: +// +// GetJobJobSettingsSettingsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput + ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPtrOutput +} + +type getJobJobSettingsSettingsPtrType GetJobJobSettingsSettingsArgs + +func GetJobJobSettingsSettingsPtr(v *GetJobJobSettingsSettingsArgs) GetJobJobSettingsSettingsPtrInput { + return (*getJobJobSettingsSettingsPtrType)(v) +} + +func (*getJobJobSettingsSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPtrOutput) +} + +type GetJobJobSettingsSettingsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { + return o +} + +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { + return o +} + +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettings) *GetJobJobSettingsSettings { + return &v + }).(GetJobJobSettingsSettingsPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { return v.Continuous }).(GetJobJobSettingsSettingsContinuousPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { return v.Deployment }).(GetJobJobSettingsSettingsDeploymentPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) EditMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.EditMode }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { return v.Environments }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +} + +func (o GetJobJobSettingsSettingsOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Format() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) string { return v.Format }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { return v.GitSource }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { return v.Health }).(GetJobJobSettingsSettingsHealthPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { return v.JobClusters }).(GetJobJobSettingsSettingsJobClusterArrayOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { return v.Libraries }).(GetJobJobSettingsSettingsLibraryArrayOutput) +} + +func (o GetJobJobSettingsSettingsOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxConcurrentRuns }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +} + +// the job name of Job if the resource was matched by id. +func (o GetJobJobSettingsSettingsOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { return v.NotebookTask }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { return v.Parameters }).(GetJobJobSettingsSettingsParameterArrayOutput) +} + +func (o GetJobJobSettingsSettingsOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { return v.PipelineTask }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { return v.PythonWheelTask }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { return v.Queue }).(GetJobJobSettingsSettingsQueuePtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) RunAs() GetJobJobSettingsSettingsRunAsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) GetJobJobSettingsSettingsRunAs { return v.RunAs }).(GetJobJobSettingsSettingsRunAsOutput) +} + +func (o GetJobJobSettingsSettingsOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { return v.Schedule }).(GetJobJobSettingsSettingsSchedulePtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { return v.SparkJarTask }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { return v.SparkPythonTask }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { return v.SparkSubmitTask }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { return v.Tasks }).(GetJobJobSettingsSettingsTaskArrayOutput) +} + +func (o GetJobJobSettingsSettingsOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { return v.Trigger }).(GetJobJobSettingsSettingsTriggerPtrOutput) +} + +func (o GetJobJobSettingsSettingsOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +} + +type GetJobJobSettingsSettingsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsPtrOutput) Elem() GetJobJobSettingsSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) GetJobJobSettingsSettings { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettings + return ret + }).(GetJobJobSettingsSettingsOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { + if v == nil { + return nil + } + return v.Continuous + }).(GetJobJobSettingsSettingsContinuousPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { + if v == nil { + return nil + } + return v.DbtTask + }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { + if v == nil { + return nil + } + return v.Deployment + }).(GetJobJobSettingsSettingsDeploymentPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) EditMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return v.EditMode + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { + if v == nil { + return nil + } + return v.EmailNotifications + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { + if v == nil { + return nil + } + return v.Environments + }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return v.ExistingClusterId + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return &v.Format + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { + if v == nil { + return nil + } + return v.GitSource + }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { + if v == nil { + return nil + } + return v.Health + }).(GetJobJobSettingsSettingsHealthPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { + if v == nil { + return nil + } + return v.JobClusters + }).(GetJobJobSettingsSettingsJobClusterArrayOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(GetJobJobSettingsSettingsLibraryArrayOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil + } + return v.MaxConcurrentRuns + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil + } + return v.MaxRetries + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil + } + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) +} + +// the job name of Job if the resource was matched by id. +func (o GetJobJobSettingsSettingsPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { + if v == nil { + return nil + } + return v.NewCluster + }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { + if v == nil { + return nil + } + return v.NotebookTask + }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { + if v == nil { + return nil + } + return v.NotificationSettings + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { + if v == nil { + return nil + } + return v.Parameters + }).(GetJobJobSettingsSettingsParameterArrayOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { + if v == nil { + return nil + } + return v.PipelineTask + }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { + if v == nil { + return nil + } + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { + if v == nil { + return nil + } + return v.Queue + }).(GetJobJobSettingsSettingsQueuePtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *bool { + if v == nil { + return nil + } + return v.RetryOnTimeout + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) RunAs() GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunAs { + if v == nil { + return nil + } + return &v.RunAs + }).(GetJobJobSettingsSettingsRunAsPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { + if v == nil { + return nil + } + return v.RunJobTask + }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { + if v == nil { + return nil + } + return v.Schedule + }).(GetJobJobSettingsSettingsSchedulePtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { + if v == nil { + return nil + } + return v.SparkJarTask + }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { + if v == nil { + return nil + } + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { + if v == nil { + return nil + } + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) map[string]string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringMapOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { + if v == nil { + return nil + } + return v.Tasks + }).(GetJobJobSettingsSettingsTaskArrayOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { + if v == nil { + return nil + } + return v.TimeoutSeconds + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { + if v == nil { + return nil + } + return v.Trigger + }).(GetJobJobSettingsSettingsTriggerPtrOutput) +} + +func (o GetJobJobSettingsSettingsPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { + if v == nil { + return nil + } + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +} + +type GetJobJobSettingsSettingsContinuous struct { + PauseStatus *string `pulumi:"pauseStatus"` +} + +// GetJobJobSettingsSettingsContinuousInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs and GetJobJobSettingsSettingsContinuousOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousInput` via: // -// GetFunctionsFunctionArgs{...} -type GetFunctionsFunctionInput interface { +// GetJobJobSettingsSettingsContinuousArgs{...} +type GetJobJobSettingsSettingsContinuousInput interface { pulumi.Input - ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput - ToGetFunctionsFunctionOutputWithContext(context.Context) GetFunctionsFunctionOutput + ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput + ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousOutput } -type GetFunctionsFunctionArgs struct { - // Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `includeBrowse` is enabled in the request. - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // Name of databricks_catalog. - CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` - // User-provided free-form text description. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Time at which this function was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // Username of function creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // Scalar function return data type. - DataType pulumi.StringPtrInput `pulumi:"dataType"` - // External function language. - ExternalLanguage pulumi.StringPtrInput `pulumi:"externalLanguage"` - // External function name. - ExternalName pulumi.StringPtrInput `pulumi:"externalName"` - // Pretty printed function data type. - FullDataType pulumi.StringPtrInput `pulumi:"fullDataType"` - // Full name of function, in form of catalog_name.schema_name.function__name - FullName pulumi.StringPtrInput `pulumi:"fullName"` - // Id of Function, relative to parent schema. - FunctionId pulumi.StringPtrInput `pulumi:"functionId"` - // object describing input parameters. Consists of the single attribute: - InputParams GetFunctionsFunctionInputParamsPtrInput `pulumi:"inputParams"` - // Boolean flag specifying whether the function is deterministic. - IsDeterministic pulumi.BoolPtrInput `pulumi:"isDeterministic"` - // Boolean flag whether function null call. - IsNullCall pulumi.BoolPtrInput `pulumi:"isNullCall"` - // Unique identifier of parent metastore. - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // Name of parameter. - Name pulumi.StringPtrInput `pulumi:"name"` - // Username of current owner of function. - Owner pulumi.StringPtrInput `pulumi:"owner"` - // Function parameter style. `S` is the value for SQL. - ParameterStyle pulumi.StringPtrInput `pulumi:"parameterStyle"` - // JSON-serialized key-value pair map, encoded (escaped) as a string. - Properties pulumi.StringPtrInput `pulumi:"properties"` - // Table function return parameters. See `inputParams` for description. - ReturnParams GetFunctionsFunctionReturnParamsPtrInput `pulumi:"returnParams"` - // Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. - RoutineBody pulumi.StringPtrInput `pulumi:"routineBody"` - // Function body. - RoutineDefinition pulumi.StringPtrInput `pulumi:"routineDefinition"` - // Function dependencies. - RoutineDependencies GetFunctionsFunctionRoutineDependenciesPtrInput `pulumi:"routineDependencies"` - // Name of databricks_schema. - SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` - // Function security type. (Enum: `DEFINER`). - SecurityType pulumi.StringPtrInput `pulumi:"securityType"` - // Specific name of the function; Reserved for future use. - SpecificName pulumi.StringPtrInput `pulumi:"specificName"` - // Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). - SqlDataAccess pulumi.StringPtrInput `pulumi:"sqlDataAccess"` - // List of schemes whose objects can be referenced without qualification. - SqlPath pulumi.StringPtrInput `pulumi:"sqlPath"` - // Time at which this function was created, in epoch milliseconds. - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // Username of user who last modified function. - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +type GetJobJobSettingsSettingsContinuousArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` } -func (GetFunctionsFunctionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunction)(nil)).Elem() +func (GetJobJobSettingsSettingsContinuousArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (i GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput { - return i.ToGetFunctionsFunctionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { + return i.ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionArgs) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionOutput) +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput) } -// GetFunctionsFunctionArrayInput is an input type that accepts GetFunctionsFunctionArray and GetFunctionsFunctionArrayOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionArrayInput` via: +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput).ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsContinuousPtrInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs, GetJobJobSettingsSettingsContinuousPtr and GetJobJobSettingsSettingsContinuousPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousPtrInput` via: // -// GetFunctionsFunctionArray{ GetFunctionsFunctionArgs{...} } -type GetFunctionsFunctionArrayInput interface { +// GetJobJobSettingsSettingsContinuousArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsContinuousPtrInput interface { pulumi.Input - ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput - ToGetFunctionsFunctionArrayOutputWithContext(context.Context) GetFunctionsFunctionArrayOutput + ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput + ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousPtrOutput } -type GetFunctionsFunctionArray []GetFunctionsFunctionInput +type getJobJobSettingsSettingsContinuousPtrType GetJobJobSettingsSettingsContinuousArgs -func (GetFunctionsFunctionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunction)(nil)).Elem() +func GetJobJobSettingsSettingsContinuousPtr(v *GetJobJobSettingsSettingsContinuousArgs) GetJobJobSettingsSettingsContinuousPtrInput { + return (*getJobJobSettingsSettingsContinuousPtrType)(v) } -func (i GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput { - return i.ToGetFunctionsFunctionArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsContinuousPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (i GetFunctionsFunctionArray) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionArrayOutput) +func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) } -type GetFunctionsFunctionOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousPtrOutput) +} -func (GetFunctionsFunctionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunction)(nil)).Elem() +type GetJobJobSettingsSettingsContinuousOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsContinuousOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() } -func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutput() GetFunctionsFunctionOutput { +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { return o } -func (o GetFunctionsFunctionOutput) ToGetFunctionsFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionOutput { +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { return o } -// Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `includeBrowse` is enabled in the request. -func (o GetFunctionsFunctionOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) } -// Name of databricks_catalog. -func (o GetFunctionsFunctionOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsContinuous) *GetJobJobSettingsSettingsContinuous { + return &v + }).(GetJobJobSettingsSettingsContinuousPtrOutput) +} + +func (o GetJobJobSettingsSettingsContinuousOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsContinuousPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsContinuousPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) Elem() GetJobJobSettingsSettingsContinuousOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) GetJobJobSettingsSettingsContinuous { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsContinuous + return ret + }).(GetJobJobSettingsSettingsContinuousOutput) +} + +func (o GetJobJobSettingsSettingsContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) *string { + if v == nil { + return nil + } + return v.PauseStatus + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsDbtTask struct { + Catalog *string `pulumi:"catalog"` + Commands []string `pulumi:"commands"` + ProfilesDirectory *string `pulumi:"profilesDirectory"` + ProjectDirectory *string `pulumi:"projectDirectory"` + Schema *string `pulumi:"schema"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// GetJobJobSettingsSettingsDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs and GetJobJobSettingsSettingsDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskInput` via: +// +// GetJobJobSettingsSettingsDbtTaskArgs{...} +type GetJobJobSettingsSettingsDbtTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput + ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskOutput +} + +type GetJobJobSettingsSettingsDbtTaskArgs struct { + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + Commands pulumi.StringArrayInput `pulumi:"commands"` + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + Schema pulumi.StringPtrInput `pulumi:"schema"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -// User-provided free-form text description. -func (o GetFunctionsFunctionOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -// Time at which this function was created, in epoch milliseconds. -func (o GetFunctionsFunctionOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Background()) } -// Username of function creator. -func (o GetFunctionsFunctionOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput) } -// Scalar function return data type. -func (o GetFunctionsFunctionOutput) DataType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.DataType }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -// External function language. -func (o GetFunctionsFunctionOutput) ExternalLanguage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.ExternalLanguage }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput).ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx) } -// External function name. -func (o GetFunctionsFunctionOutput) ExternalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.ExternalName }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs, GetJobJobSettingsSettingsDbtTaskPtr and GetJobJobSettingsSettingsDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskPtrInput` via: +// +// GetJobJobSettingsSettingsDbtTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsDbtTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput + ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput } -// Pretty printed function data type. -func (o GetFunctionsFunctionOutput) FullDataType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.FullDataType }).(pulumi.StringPtrOutput) +type getJobJobSettingsSettingsDbtTaskPtrType GetJobJobSettingsSettingsDbtTaskArgs + +func GetJobJobSettingsSettingsDbtTaskPtr(v *GetJobJobSettingsSettingsDbtTaskArgs) GetJobJobSettingsSettingsDbtTaskPtrInput { + return (*getJobJobSettingsSettingsDbtTaskPtrType)(v) } -// Full name of function, in form of catalog_name.schema_name.function__name -func (o GetFunctionsFunctionOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.FullName }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -// Id of Function, relative to parent schema. -func (o GetFunctionsFunctionOutput) FunctionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.FunctionId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -// object describing input parameters. Consists of the single attribute: -func (o GetFunctionsFunctionOutput) InputParams() GetFunctionsFunctionInputParamsPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *GetFunctionsFunctionInputParams { return v.InputParams }).(GetFunctionsFunctionInputParamsPtrOutput) +func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -// Boolean flag specifying whether the function is deterministic. -func (o GetFunctionsFunctionOutput) IsDeterministic() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *bool { return v.IsDeterministic }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsDbtTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -// Boolean flag whether function null call. -func (o GetFunctionsFunctionOutput) IsNullCall() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *bool { return v.IsNullCall }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { + return o } -// Unique identifier of parent metastore. -func (o GetFunctionsFunctionOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { + return o } -// Name of parameter. -func (o GetFunctionsFunctionOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) } -// Username of current owner of function. -func (o GetFunctionsFunctionOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDbtTask) *GetJobJobSettingsSettingsDbtTask { + return &v + }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) } -// Function parameter style. `S` is the value for SQL. -func (o GetFunctionsFunctionOutput) ParameterStyle() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.ParameterStyle }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -// JSON-serialized key-value pair map, encoded (escaped) as a string. -func (o GetFunctionsFunctionOutput) Properties() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.Properties }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -// Table function return parameters. See `inputParams` for description. -func (o GetFunctionsFunctionOutput) ReturnParams() GetFunctionsFunctionReturnParamsPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *GetFunctionsFunctionReturnParams { return v.ReturnParams }).(GetFunctionsFunctionReturnParamsPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -// Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. -func (o GetFunctionsFunctionOutput) RoutineBody() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.RoutineBody }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -// Function body. -func (o GetFunctionsFunctionOutput) RoutineDefinition() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.RoutineDefinition }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) } -// Function dependencies. -func (o GetFunctionsFunctionOutput) RoutineDependencies() GetFunctionsFunctionRoutineDependenciesPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *GetFunctionsFunctionRoutineDependencies { return v.RoutineDependencies }).(GetFunctionsFunctionRoutineDependenciesPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -// Name of databricks_schema. -func (o GetFunctionsFunctionOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SchemaName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -// Function security type. (Enum: `DEFINER`). -func (o GetFunctionsFunctionOutput) SecurityType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SecurityType }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() } -// Specific name of the function; Reserved for future use. -func (o GetFunctionsFunctionOutput) SpecificName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SpecificName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o } -// Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). -func (o GetFunctionsFunctionOutput) SqlDataAccess() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SqlDataAccess }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { + return o } -// List of schemes whose objects can be referenced without qualification. -func (o GetFunctionsFunctionOutput) SqlPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.SqlPath }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) GetJobJobSettingsSettingsDbtTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsDbtTask + return ret + }).(GetJobJobSettingsSettingsDbtTaskOutput) } -// Time at which this function was created, in epoch milliseconds. -func (o GetFunctionsFunctionOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.Catalog + }).(pulumi.StringPtrOutput) } -// Username of user who last modified function. -func (o GetFunctionsFunctionOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunction) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) } -type GetFunctionsFunctionArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) +} -func (GetFunctionsFunctionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunction)(nil)).Elem() +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) } -func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutput() GetFunctionsFunctionArrayOutput { - return o +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) } -func (o GetFunctionsFunctionArrayOutput) ToGetFunctionsFunctionArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionArrayOutput { - return o +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetFunctionsFunctionArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunction { - return vs[0].([]GetFunctionsFunction)[vs[1].(int)] - }).(GetFunctionsFunctionOutput) +func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetFunctionsFunctionInputParams struct { - // The array of definitions of the function's parameters: - Parameters []GetFunctionsFunctionInputParamsParameter `pulumi:"parameters"` +type GetJobJobSettingsSettingsDeployment struct { + Kind string `pulumi:"kind"` + MetadataFilePath *string `pulumi:"metadataFilePath"` } -// GetFunctionsFunctionInputParamsInput is an input type that accepts GetFunctionsFunctionInputParamsArgs and GetFunctionsFunctionInputParamsOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionInputParamsInput` via: +// GetJobJobSettingsSettingsDeploymentInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs and GetJobJobSettingsSettingsDeploymentOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentInput` via: // -// GetFunctionsFunctionInputParamsArgs{...} -type GetFunctionsFunctionInputParamsInput interface { +// GetJobJobSettingsSettingsDeploymentArgs{...} +type GetJobJobSettingsSettingsDeploymentInput interface { pulumi.Input - ToGetFunctionsFunctionInputParamsOutput() GetFunctionsFunctionInputParamsOutput - ToGetFunctionsFunctionInputParamsOutputWithContext(context.Context) GetFunctionsFunctionInputParamsOutput + ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput + ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentOutput } -type GetFunctionsFunctionInputParamsArgs struct { - // The array of definitions of the function's parameters: - Parameters GetFunctionsFunctionInputParamsParameterArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsDeploymentArgs struct { + Kind pulumi.StringInput `pulumi:"kind"` + MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` } -func (GetFunctionsFunctionInputParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionInputParams)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (i GetFunctionsFunctionInputParamsArgs) ToGetFunctionsFunctionInputParamsOutput() GetFunctionsFunctionInputParamsOutput { - return i.ToGetFunctionsFunctionInputParamsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { + return i.ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionInputParamsArgs) ToGetFunctionsFunctionInputParamsOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamsOutput) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput) } -func (i GetFunctionsFunctionInputParamsArgs) ToGetFunctionsFunctionInputParamsPtrOutput() GetFunctionsFunctionInputParamsPtrOutput { - return i.ToGetFunctionsFunctionInputParamsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionInputParamsArgs) ToGetFunctionsFunctionInputParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamsOutput).ToGetFunctionsFunctionInputParamsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput).ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx) } -// GetFunctionsFunctionInputParamsPtrInput is an input type that accepts GetFunctionsFunctionInputParamsArgs, GetFunctionsFunctionInputParamsPtr and GetFunctionsFunctionInputParamsPtrOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionInputParamsPtrInput` via: +// GetJobJobSettingsSettingsDeploymentPtrInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs, GetJobJobSettingsSettingsDeploymentPtr and GetJobJobSettingsSettingsDeploymentPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentPtrInput` via: // -// GetFunctionsFunctionInputParamsArgs{...} +// GetJobJobSettingsSettingsDeploymentArgs{...} // // or: // // nil -type GetFunctionsFunctionInputParamsPtrInput interface { +type GetJobJobSettingsSettingsDeploymentPtrInput interface { pulumi.Input - ToGetFunctionsFunctionInputParamsPtrOutput() GetFunctionsFunctionInputParamsPtrOutput - ToGetFunctionsFunctionInputParamsPtrOutputWithContext(context.Context) GetFunctionsFunctionInputParamsPtrOutput + ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput + ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput } -type getFunctionsFunctionInputParamsPtrType GetFunctionsFunctionInputParamsArgs +type getJobJobSettingsSettingsDeploymentPtrType GetJobJobSettingsSettingsDeploymentArgs -func GetFunctionsFunctionInputParamsPtr(v *GetFunctionsFunctionInputParamsArgs) GetFunctionsFunctionInputParamsPtrInput { - return (*getFunctionsFunctionInputParamsPtrType)(v) +func GetJobJobSettingsSettingsDeploymentPtr(v *GetJobJobSettingsSettingsDeploymentArgs) GetJobJobSettingsSettingsDeploymentPtrInput { + return (*getJobJobSettingsSettingsDeploymentPtrType)(v) } -func (*getFunctionsFunctionInputParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionInputParams)(nil)).Elem() +func (*getJobJobSettingsSettingsDeploymentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (i *getFunctionsFunctionInputParamsPtrType) ToGetFunctionsFunctionInputParamsPtrOutput() GetFunctionsFunctionInputParamsPtrOutput { - return i.ToGetFunctionsFunctionInputParamsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (i *getFunctionsFunctionInputParamsPtrType) ToGetFunctionsFunctionInputParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamsPtrOutput) +func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -type GetFunctionsFunctionInputParamsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDeploymentOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionInputParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionInputParams)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (o GetFunctionsFunctionInputParamsOutput) ToGetFunctionsFunctionInputParamsOutput() GetFunctionsFunctionInputParamsOutput { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { return o } -func (o GetFunctionsFunctionInputParamsOutput) ToGetFunctionsFunctionInputParamsOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsOutput { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { return o } -func (o GetFunctionsFunctionInputParamsOutput) ToGetFunctionsFunctionInputParamsPtrOutput() GetFunctionsFunctionInputParamsPtrOutput { - return o.ToGetFunctionsFunctionInputParamsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) } -func (o GetFunctionsFunctionInputParamsOutput) ToGetFunctionsFunctionInputParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetFunctionsFunctionInputParams) *GetFunctionsFunctionInputParams { +func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDeployment) *GetJobJobSettingsSettingsDeployment { return &v - }).(GetFunctionsFunctionInputParamsPtrOutput) + }).(GetJobJobSettingsSettingsDeploymentPtrOutput) } -// The array of definitions of the function's parameters: -func (o GetFunctionsFunctionInputParamsOutput) Parameters() GetFunctionsFunctionInputParamsParameterArrayOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParams) []GetFunctionsFunctionInputParamsParameter { - return v.Parameters - }).(GetFunctionsFunctionInputParamsParameterArrayOutput) +func (o GetJobJobSettingsSettingsDeploymentOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) string { return v.Kind }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) } -type GetFunctionsFunctionInputParamsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsDeploymentPtrOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionInputParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionInputParams)(nil)).Elem() +func (GetJobJobSettingsSettingsDeploymentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() } -func (o GetFunctionsFunctionInputParamsPtrOutput) ToGetFunctionsFunctionInputParamsPtrOutput() GetFunctionsFunctionInputParamsPtrOutput { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { return o } -func (o GetFunctionsFunctionInputParamsPtrOutput) ToGetFunctionsFunctionInputParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsPtrOutput { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { return o } -func (o GetFunctionsFunctionInputParamsPtrOutput) Elem() GetFunctionsFunctionInputParamsOutput { - return o.ApplyT(func(v *GetFunctionsFunctionInputParams) GetFunctionsFunctionInputParams { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Elem() GetJobJobSettingsSettingsDeploymentOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) GetJobJobSettingsSettingsDeployment { if v != nil { return *v } - var ret GetFunctionsFunctionInputParams + var ret GetJobJobSettingsSettingsDeployment return ret - }).(GetFunctionsFunctionInputParamsOutput) + }).(GetJobJobSettingsSettingsDeploymentOutput) } -// The array of definitions of the function's parameters: -func (o GetFunctionsFunctionInputParamsPtrOutput) Parameters() GetFunctionsFunctionInputParamsParameterArrayOutput { - return o.ApplyT(func(v *GetFunctionsFunctionInputParams) []GetFunctionsFunctionInputParamsParameter { +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { if v == nil { return nil } - return v.Parameters - }).(GetFunctionsFunctionInputParamsParameterArrayOutput) + return &v.Kind + }).(pulumi.StringPtrOutput) } -type GetFunctionsFunctionInputParamsParameter struct { - // User-provided free-form text description. - Comment *string `pulumi:"comment"` - // Name of parameter. - Name string `pulumi:"name"` - // Default value of the parameter. - ParameterDefault *string `pulumi:"parameterDefault"` - // The mode of the function parameter. - ParameterMode *string `pulumi:"parameterMode"` - // The type of function parameter (`PARAM` or `COLUMN`). - ParameterType *string `pulumi:"parameterType"` - // Ordinal position of column (starting at position 0). - Position int `pulumi:"position"` - // Format of IntervalType. - TypeIntervalType *string `pulumi:"typeIntervalType"` - // Full data type spec, JSON-serialized. - TypeJson *string `pulumi:"typeJson"` - // Name of type (INT, STRUCT, MAP, etc.). - TypeName string `pulumi:"typeName"` - // Digits of precision; required on Create for DecimalTypes. - TypePrecision *int `pulumi:"typePrecision"` - // Digits to right of decimal; Required on Create for DecimalTypes. - TypeScale *int `pulumi:"typeScale"` - // Full data type spec, SQL/catalogString text. - TypeText string `pulumi:"typeText"` +func (o GetJobJobSettingsSettingsDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { + if v == nil { + return nil + } + return v.MetadataFilePath + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses []string `pulumi:"onSuccesses"` } -// GetFunctionsFunctionInputParamsParameterInput is an input type that accepts GetFunctionsFunctionInputParamsParameterArgs and GetFunctionsFunctionInputParamsParameterOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionInputParamsParameterInput` via: +// GetJobJobSettingsSettingsEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs and GetJobJobSettingsSettingsEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsInput` via: // -// GetFunctionsFunctionInputParamsParameterArgs{...} -type GetFunctionsFunctionInputParamsParameterInput interface { +// GetJobJobSettingsSettingsEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsEmailNotificationsInput interface { pulumi.Input - ToGetFunctionsFunctionInputParamsParameterOutput() GetFunctionsFunctionInputParamsParameterOutput - ToGetFunctionsFunctionInputParamsParameterOutputWithContext(context.Context) GetFunctionsFunctionInputParamsParameterOutput + ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput + ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput } -type GetFunctionsFunctionInputParamsParameterArgs struct { - // User-provided free-form text description. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Name of parameter. - Name pulumi.StringInput `pulumi:"name"` - // Default value of the parameter. - ParameterDefault pulumi.StringPtrInput `pulumi:"parameterDefault"` - // The mode of the function parameter. - ParameterMode pulumi.StringPtrInput `pulumi:"parameterMode"` - // The type of function parameter (`PARAM` or `COLUMN`). - ParameterType pulumi.StringPtrInput `pulumi:"parameterType"` - // Ordinal position of column (starting at position 0). - Position pulumi.IntInput `pulumi:"position"` - // Format of IntervalType. - TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` - // Full data type spec, JSON-serialized. - TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` - // Name of type (INT, STRUCT, MAP, etc.). - TypeName pulumi.StringInput `pulumi:"typeName"` - // Digits of precision; required on Create for DecimalTypes. - TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` - // Digits to right of decimal; Required on Create for DecimalTypes. - TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` - // Full data type spec, SQL/catalogString text. - TypeText pulumi.StringInput `pulumi:"typeText"` +type GetJobJobSettingsSettingsEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +} + +func (GetJobJobSettingsSettingsEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Background()) } -func (GetFunctionsFunctionInputParamsParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionInputParamsParameter)(nil)).Elem() +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput) } -func (i GetFunctionsFunctionInputParamsParameterArgs) ToGetFunctionsFunctionInputParamsParameterOutput() GetFunctionsFunctionInputParamsParameterOutput { - return i.ToGetFunctionsFunctionInputParamsParameterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionInputParamsParameterArgs) ToGetFunctionsFunctionInputParamsParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamsParameterOutput) +func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput).ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx) } -// GetFunctionsFunctionInputParamsParameterArrayInput is an input type that accepts GetFunctionsFunctionInputParamsParameterArray and GetFunctionsFunctionInputParamsParameterArrayOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionInputParamsParameterArrayInput` via: +// GetJobJobSettingsSettingsEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs, GetJobJobSettingsSettingsEmailNotificationsPtr and GetJobJobSettingsSettingsEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsPtrInput` via: +// +// GetJobJobSettingsSettingsEmailNotificationsArgs{...} +// +// or: // -// GetFunctionsFunctionInputParamsParameterArray{ GetFunctionsFunctionInputParamsParameterArgs{...} } -type GetFunctionsFunctionInputParamsParameterArrayInput interface { +// nil +type GetJobJobSettingsSettingsEmailNotificationsPtrInput interface { pulumi.Input - ToGetFunctionsFunctionInputParamsParameterArrayOutput() GetFunctionsFunctionInputParamsParameterArrayOutput - ToGetFunctionsFunctionInputParamsParameterArrayOutputWithContext(context.Context) GetFunctionsFunctionInputParamsParameterArrayOutput + ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput } -type GetFunctionsFunctionInputParamsParameterArray []GetFunctionsFunctionInputParamsParameterInput +type getJobJobSettingsSettingsEmailNotificationsPtrType GetJobJobSettingsSettingsEmailNotificationsArgs + +func GetJobJobSettingsSettingsEmailNotificationsPtr(v *GetJobJobSettingsSettingsEmailNotificationsArgs) GetJobJobSettingsSettingsEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsEmailNotificationsPtrType)(v) +} -func (GetFunctionsFunctionInputParamsParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunctionInputParamsParameter)(nil)).Elem() +func (*getJobJobSettingsSettingsEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (i GetFunctionsFunctionInputParamsParameterArray) ToGetFunctionsFunctionInputParamsParameterArrayOutput() GetFunctionsFunctionInputParamsParameterArrayOutput { - return i.ToGetFunctionsFunctionInputParamsParameterArrayOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionInputParamsParameterArray) ToGetFunctionsFunctionInputParamsParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionInputParamsParameterArrayOutput) +func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -type GetFunctionsFunctionInputParamsParameterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEmailNotificationsOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionInputParamsParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionInputParamsParameter)(nil)).Elem() +func (GetJobJobSettingsSettingsEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -func (o GetFunctionsFunctionInputParamsParameterOutput) ToGetFunctionsFunctionInputParamsParameterOutput() GetFunctionsFunctionInputParamsParameterOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { return o } -func (o GetFunctionsFunctionInputParamsParameterOutput) ToGetFunctionsFunctionInputParamsParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsParameterOutput { +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { return o } -// User-provided free-form text description. -func (o GetFunctionsFunctionInputParamsParameterOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) } -// Name of parameter. -func (o GetFunctionsFunctionInputParamsParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) string { return v.Name }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEmailNotifications) *GetJobJobSettingsSettingsEmailNotifications { + return &v + }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) } -// Default value of the parameter. -func (o GetFunctionsFunctionInputParamsParameterOutput) ParameterDefault() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *string { return v.ParameterDefault }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -// The mode of the function parameter. -func (o GetFunctionsFunctionInputParamsParameterOutput) ParameterMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *string { return v.ParameterMode }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -// The type of function parameter (`PARAM` or `COLUMN`). -func (o GetFunctionsFunctionInputParamsParameterOutput) ParameterType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *string { return v.ParameterType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -// Ordinal position of column (starting at position 0). -func (o GetFunctionsFunctionInputParamsParameterOutput) Position() pulumi.IntOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) int { return v.Position }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) } -// Format of IntervalType. -func (o GetFunctionsFunctionInputParamsParameterOutput) TypeIntervalType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) } -// Full data type spec, JSON-serialized. -func (o GetFunctionsFunctionInputParamsParameterOutput) TypeJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) } -// Name of type (INT, STRUCT, MAP, etc.). -func (o GetFunctionsFunctionInputParamsParameterOutput) TypeName() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) string { return v.TypeName }).(pulumi.StringOutput) -} +type GetJobJobSettingsSettingsEmailNotificationsPtrOutput struct{ *pulumi.OutputState } -// Digits of precision; required on Create for DecimalTypes. -func (o GetFunctionsFunctionInputParamsParameterOutput) TypePrecision() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) +func (GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() } -// Digits to right of decimal; Required on Create for DecimalTypes. -func (o GetFunctionsFunctionInputParamsParameterOutput) TypeScale() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o } -// Full data type spec, SQL/catalogString text. -func (o GetFunctionsFunctionInputParamsParameterOutput) TypeText() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionInputParamsParameter) string { return v.TypeText }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { + return o } -type GetFunctionsFunctionInputParamsParameterArrayOutput struct{ *pulumi.OutputState } - -func (GetFunctionsFunctionInputParamsParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunctionInputParamsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) GetJobJobSettingsSettingsEmailNotifications { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsEmailNotifications + return ret + }).(GetJobJobSettingsSettingsEmailNotificationsOutput) } -func (o GetFunctionsFunctionInputParamsParameterArrayOutput) ToGetFunctionsFunctionInputParamsParameterArrayOutput() GetFunctionsFunctionInputParamsParameterArrayOutput { - return o +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -func (o GetFunctionsFunctionInputParamsParameterArrayOutput) ToGetFunctionsFunctionInputParamsParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionInputParamsParameterArrayOutput { - return o +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (o GetFunctionsFunctionInputParamsParameterArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionInputParamsParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionInputParamsParameter { - return vs[0].([]GetFunctionsFunctionInputParamsParameter)[vs[1].(int)] - }).(GetFunctionsFunctionInputParamsParameterOutput) +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnFailures + }).(pulumi.StringArrayOutput) } -type GetFunctionsFunctionReturnParams struct { - // The array of definitions of the function's parameters: - Parameters []GetFunctionsFunctionReturnParamsParameter `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStarts + }).(pulumi.StringArrayOutput) } -// GetFunctionsFunctionReturnParamsInput is an input type that accepts GetFunctionsFunctionReturnParamsArgs and GetFunctionsFunctionReturnParamsOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionReturnParamsInput` via: -// -// GetFunctionsFunctionReturnParamsArgs{...} -type GetFunctionsFunctionReturnParamsInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) +} - ToGetFunctionsFunctionReturnParamsOutput() GetFunctionsFunctionReturnParamsOutput - ToGetFunctionsFunctionReturnParamsOutputWithContext(context.Context) GetFunctionsFunctionReturnParamsOutput +func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -type GetFunctionsFunctionReturnParamsArgs struct { - // The array of definitions of the function's parameters: - Parameters GetFunctionsFunctionReturnParamsParameterArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsEnvironment struct { + EnvironmentKey string `pulumi:"environmentKey"` + Spec *GetJobJobSettingsSettingsEnvironmentSpec `pulumi:"spec"` } -func (GetFunctionsFunctionReturnParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionReturnParams)(nil)).Elem() +// GetJobJobSettingsSettingsEnvironmentInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArgs and GetJobJobSettingsSettingsEnvironmentOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentInput` via: +// +// GetJobJobSettingsSettingsEnvironmentArgs{...} +type GetJobJobSettingsSettingsEnvironmentInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput + ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentOutput } -func (i GetFunctionsFunctionReturnParamsArgs) ToGetFunctionsFunctionReturnParamsOutput() GetFunctionsFunctionReturnParamsOutput { - return i.ToGetFunctionsFunctionReturnParamsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsEnvironmentArgs struct { + EnvironmentKey pulumi.StringInput `pulumi:"environmentKey"` + Spec GetJobJobSettingsSettingsEnvironmentSpecPtrInput `pulumi:"spec"` } -func (i GetFunctionsFunctionReturnParamsArgs) ToGetFunctionsFunctionReturnParamsOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamsOutput) +func (GetJobJobSettingsSettingsEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (i GetFunctionsFunctionReturnParamsArgs) ToGetFunctionsFunctionReturnParamsPtrOutput() GetFunctionsFunctionReturnParamsPtrOutput { - return i.ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionReturnParamsArgs) ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamsOutput).ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentOutput) } -// GetFunctionsFunctionReturnParamsPtrInput is an input type that accepts GetFunctionsFunctionReturnParamsArgs, GetFunctionsFunctionReturnParamsPtr and GetFunctionsFunctionReturnParamsPtrOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionReturnParamsPtrInput` via: -// -// GetFunctionsFunctionReturnParamsArgs{...} -// -// or: +// GetJobJobSettingsSettingsEnvironmentArrayInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArray and GetJobJobSettingsSettingsEnvironmentArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentArrayInput` via: // -// nil -type GetFunctionsFunctionReturnParamsPtrInput interface { +// GetJobJobSettingsSettingsEnvironmentArray{ GetJobJobSettingsSettingsEnvironmentArgs{...} } +type GetJobJobSettingsSettingsEnvironmentArrayInput interface { pulumi.Input - ToGetFunctionsFunctionReturnParamsPtrOutput() GetFunctionsFunctionReturnParamsPtrOutput - ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(context.Context) GetFunctionsFunctionReturnParamsPtrOutput + ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput + ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput } -type getFunctionsFunctionReturnParamsPtrType GetFunctionsFunctionReturnParamsArgs - -func GetFunctionsFunctionReturnParamsPtr(v *GetFunctionsFunctionReturnParamsArgs) GetFunctionsFunctionReturnParamsPtrInput { - return (*getFunctionsFunctionReturnParamsPtrType)(v) -} +type GetJobJobSettingsSettingsEnvironmentArray []GetJobJobSettingsSettingsEnvironmentInput -func (*getFunctionsFunctionReturnParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionReturnParams)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (i *getFunctionsFunctionReturnParamsPtrType) ToGetFunctionsFunctionReturnParamsPtrOutput() GetFunctionsFunctionReturnParamsPtrOutput { - return i.ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Background()) } -func (i *getFunctionsFunctionReturnParamsPtrType) ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamsPtrOutput) +func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentArrayOutput) } -type GetFunctionsFunctionReturnParamsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEnvironmentOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionReturnParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionReturnParams)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (o GetFunctionsFunctionReturnParamsOutput) ToGetFunctionsFunctionReturnParamsOutput() GetFunctionsFunctionReturnParamsOutput { +func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { return o } -func (o GetFunctionsFunctionReturnParamsOutput) ToGetFunctionsFunctionReturnParamsOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsOutput { +func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { return o } -func (o GetFunctionsFunctionReturnParamsOutput) ToGetFunctionsFunctionReturnParamsPtrOutput() GetFunctionsFunctionReturnParamsPtrOutput { - return o.ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(context.Background()) -} - -func (o GetFunctionsFunctionReturnParamsOutput) ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetFunctionsFunctionReturnParams) *GetFunctionsFunctionReturnParams { - return &v - }).(GetFunctionsFunctionReturnParamsPtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentOutput) EnvironmentKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) string { return v.EnvironmentKey }).(pulumi.StringOutput) } -// The array of definitions of the function's parameters: -func (o GetFunctionsFunctionReturnParamsOutput) Parameters() GetFunctionsFunctionReturnParamsParameterArrayOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParams) []GetFunctionsFunctionReturnParamsParameter { - return v.Parameters - }).(GetFunctionsFunctionReturnParamsParameterArrayOutput) +func (o GetJobJobSettingsSettingsEnvironmentOutput) Spec() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) *GetJobJobSettingsSettingsEnvironmentSpec { return v.Spec }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) } -type GetFunctionsFunctionReturnParamsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsEnvironmentArrayOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionReturnParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionReturnParams)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() } -func (o GetFunctionsFunctionReturnParamsPtrOutput) ToGetFunctionsFunctionReturnParamsPtrOutput() GetFunctionsFunctionReturnParamsPtrOutput { +func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { return o } -func (o GetFunctionsFunctionReturnParamsPtrOutput) ToGetFunctionsFunctionReturnParamsPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsPtrOutput { +func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { return o } -func (o GetFunctionsFunctionReturnParamsPtrOutput) Elem() GetFunctionsFunctionReturnParamsOutput { - return o.ApplyT(func(v *GetFunctionsFunctionReturnParams) GetFunctionsFunctionReturnParams { - if v != nil { - return *v - } - var ret GetFunctionsFunctionReturnParams - return ret - }).(GetFunctionsFunctionReturnParamsOutput) -} - -// The array of definitions of the function's parameters: -func (o GetFunctionsFunctionReturnParamsPtrOutput) Parameters() GetFunctionsFunctionReturnParamsParameterArrayOutput { - return o.ApplyT(func(v *GetFunctionsFunctionReturnParams) []GetFunctionsFunctionReturnParamsParameter { - if v == nil { - return nil - } - return v.Parameters - }).(GetFunctionsFunctionReturnParamsParameterArrayOutput) +func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsEnvironmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsEnvironment { + return vs[0].([]GetJobJobSettingsSettingsEnvironment)[vs[1].(int)] + }).(GetJobJobSettingsSettingsEnvironmentOutput) } -type GetFunctionsFunctionReturnParamsParameter struct { - // User-provided free-form text description. - Comment *string `pulumi:"comment"` - // Name of parameter. - Name string `pulumi:"name"` - // Default value of the parameter. - ParameterDefault *string `pulumi:"parameterDefault"` - // The mode of the function parameter. - ParameterMode *string `pulumi:"parameterMode"` - // The type of function parameter (`PARAM` or `COLUMN`). - ParameterType *string `pulumi:"parameterType"` - // Ordinal position of column (starting at position 0). - Position int `pulumi:"position"` - // Format of IntervalType. - TypeIntervalType *string `pulumi:"typeIntervalType"` - // Full data type spec, JSON-serialized. - TypeJson *string `pulumi:"typeJson"` - // Name of type (INT, STRUCT, MAP, etc.). - TypeName string `pulumi:"typeName"` - // Digits of precision; required on Create for DecimalTypes. - TypePrecision *int `pulumi:"typePrecision"` - // Digits to right of decimal; Required on Create for DecimalTypes. - TypeScale *int `pulumi:"typeScale"` - // Full data type spec, SQL/catalogString text. - TypeText string `pulumi:"typeText"` +type GetJobJobSettingsSettingsEnvironmentSpec struct { + Client string `pulumi:"client"` + Dependencies []string `pulumi:"dependencies"` } -// GetFunctionsFunctionReturnParamsParameterInput is an input type that accepts GetFunctionsFunctionReturnParamsParameterArgs and GetFunctionsFunctionReturnParamsParameterOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionReturnParamsParameterInput` via: +// GetJobJobSettingsSettingsEnvironmentSpecInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs and GetJobJobSettingsSettingsEnvironmentSpecOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecInput` via: // -// GetFunctionsFunctionReturnParamsParameterArgs{...} -type GetFunctionsFunctionReturnParamsParameterInput interface { +// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} +type GetJobJobSettingsSettingsEnvironmentSpecInput interface { pulumi.Input - ToGetFunctionsFunctionReturnParamsParameterOutput() GetFunctionsFunctionReturnParamsParameterOutput - ToGetFunctionsFunctionReturnParamsParameterOutputWithContext(context.Context) GetFunctionsFunctionReturnParamsParameterOutput + ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput + ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput } -type GetFunctionsFunctionReturnParamsParameterArgs struct { - // User-provided free-form text description. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // Name of parameter. - Name pulumi.StringInput `pulumi:"name"` - // Default value of the parameter. - ParameterDefault pulumi.StringPtrInput `pulumi:"parameterDefault"` - // The mode of the function parameter. - ParameterMode pulumi.StringPtrInput `pulumi:"parameterMode"` - // The type of function parameter (`PARAM` or `COLUMN`). - ParameterType pulumi.StringPtrInput `pulumi:"parameterType"` - // Ordinal position of column (starting at position 0). - Position pulumi.IntInput `pulumi:"position"` - // Format of IntervalType. - TypeIntervalType pulumi.StringPtrInput `pulumi:"typeIntervalType"` - // Full data type spec, JSON-serialized. - TypeJson pulumi.StringPtrInput `pulumi:"typeJson"` - // Name of type (INT, STRUCT, MAP, etc.). - TypeName pulumi.StringInput `pulumi:"typeName"` - // Digits of precision; required on Create for DecimalTypes. - TypePrecision pulumi.IntPtrInput `pulumi:"typePrecision"` - // Digits to right of decimal; Required on Create for DecimalTypes. - TypeScale pulumi.IntPtrInput `pulumi:"typeScale"` - // Full data type spec, SQL/catalogString text. - TypeText pulumi.StringInput `pulumi:"typeText"` +type GetJobJobSettingsSettingsEnvironmentSpecArgs struct { + Client pulumi.StringInput `pulumi:"client"` + Dependencies pulumi.StringArrayInput `pulumi:"dependencies"` } -func (GetFunctionsFunctionReturnParamsParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionReturnParamsParameter)(nil)).Elem() +func (GetJobJobSettingsSettingsEnvironmentSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -func (i GetFunctionsFunctionReturnParamsParameterArgs) ToGetFunctionsFunctionReturnParamsParameterOutput() GetFunctionsFunctionReturnParamsParameterOutput { - return i.ToGetFunctionsFunctionReturnParamsParameterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionReturnParamsParameterArgs) ToGetFunctionsFunctionReturnParamsParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamsParameterOutput) +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput) } -// GetFunctionsFunctionReturnParamsParameterArrayInput is an input type that accepts GetFunctionsFunctionReturnParamsParameterArray and GetFunctionsFunctionReturnParamsParameterArrayOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionReturnParamsParameterArrayInput` via: -// -// GetFunctionsFunctionReturnParamsParameterArray{ GetFunctionsFunctionReturnParamsParameterArgs{...} } -type GetFunctionsFunctionReturnParamsParameterArrayInput interface { - pulumi.Input - - ToGetFunctionsFunctionReturnParamsParameterArrayOutput() GetFunctionsFunctionReturnParamsParameterArrayOutput - ToGetFunctionsFunctionReturnParamsParameterArrayOutputWithContext(context.Context) GetFunctionsFunctionReturnParamsParameterArrayOutput +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) } -type GetFunctionsFunctionReturnParamsParameterArray []GetFunctionsFunctionReturnParamsParameterInput - -func (GetFunctionsFunctionReturnParamsParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunctionReturnParamsParameter)(nil)).Elem() +func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput).ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx) } -func (i GetFunctionsFunctionReturnParamsParameterArray) ToGetFunctionsFunctionReturnParamsParameterArrayOutput() GetFunctionsFunctionReturnParamsParameterArrayOutput { - return i.ToGetFunctionsFunctionReturnParamsParameterArrayOutputWithContext(context.Background()) -} +// GetJobJobSettingsSettingsEnvironmentSpecPtrInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs, GetJobJobSettingsSettingsEnvironmentSpecPtr and GetJobJobSettingsSettingsEnvironmentSpecPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecPtrInput` via: +// +// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsEnvironmentSpecPtrInput interface { + pulumi.Input -func (i GetFunctionsFunctionReturnParamsParameterArray) ToGetFunctionsFunctionReturnParamsParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionReturnParamsParameterArrayOutput) + ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput + ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput } -type GetFunctionsFunctionReturnParamsParameterOutput struct{ *pulumi.OutputState } +type getJobJobSettingsSettingsEnvironmentSpecPtrType GetJobJobSettingsSettingsEnvironmentSpecArgs -func (GetFunctionsFunctionReturnParamsParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionReturnParamsParameter)(nil)).Elem() +func GetJobJobSettingsSettingsEnvironmentSpecPtr(v *GetJobJobSettingsSettingsEnvironmentSpecArgs) GetJobJobSettingsSettingsEnvironmentSpecPtrInput { + return (*getJobJobSettingsSettingsEnvironmentSpecPtrType)(v) } -func (o GetFunctionsFunctionReturnParamsParameterOutput) ToGetFunctionsFunctionReturnParamsParameterOutput() GetFunctionsFunctionReturnParamsParameterOutput { - return o +func (*getJobJobSettingsSettingsEnvironmentSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -func (o GetFunctionsFunctionReturnParamsParameterOutput) ToGetFunctionsFunctionReturnParamsParameterOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsParameterOutput { - return o +func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) } -// User-provided free-form text description. -func (o GetFunctionsFunctionReturnParamsParameterOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) } -// Name of parameter. -func (o GetFunctionsFunctionReturnParamsParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) string { return v.Name }).(pulumi.StringOutput) -} +type GetJobJobSettingsSettingsEnvironmentSpecOutput struct{ *pulumi.OutputState } -// Default value of the parameter. -func (o GetFunctionsFunctionReturnParamsParameterOutput) ParameterDefault() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *string { return v.ParameterDefault }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsEnvironmentSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -// The mode of the function parameter. -func (o GetFunctionsFunctionReturnParamsParameterOutput) ParameterMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *string { return v.ParameterMode }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { + return o } -// The type of function parameter (`PARAM` or `COLUMN`). -func (o GetFunctionsFunctionReturnParamsParameterOutput) ParameterType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *string { return v.ParameterType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { + return o } -// Ordinal position of column (starting at position 0). -func (o GetFunctionsFunctionReturnParamsParameterOutput) Position() pulumi.IntOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) int { return v.Position }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) } -// Format of IntervalType. -func (o GetFunctionsFunctionReturnParamsParameterOutput) TypeIntervalType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *string { return v.TypeIntervalType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEnvironmentSpec) *GetJobJobSettingsSettingsEnvironmentSpec { + return &v + }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) } -// Full data type spec, JSON-serialized. -func (o GetFunctionsFunctionReturnParamsParameterOutput) TypeJson() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *string { return v.TypeJson }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Client() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) string { return v.Client }).(pulumi.StringOutput) } -// Name of type (INT, STRUCT, MAP, etc.). -func (o GetFunctionsFunctionReturnParamsParameterOutput) TypeName() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) string { return v.TypeName }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Dependencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) []string { return v.Dependencies }).(pulumi.StringArrayOutput) } -// Digits of precision; required on Create for DecimalTypes. -func (o GetFunctionsFunctionReturnParamsParameterOutput) TypePrecision() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *int { return v.TypePrecision }).(pulumi.IntPtrOutput) -} +type GetJobJobSettingsSettingsEnvironmentSpecPtrOutput struct{ *pulumi.OutputState } -// Digits to right of decimal; Required on Create for DecimalTypes. -func (o GetFunctionsFunctionReturnParamsParameterOutput) TypeScale() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) *int { return v.TypeScale }).(pulumi.IntPtrOutput) +func (GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() } -// Full data type spec, SQL/catalogString text. -func (o GetFunctionsFunctionReturnParamsParameterOutput) TypeText() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionReturnParamsParameter) string { return v.TypeText }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o } -type GetFunctionsFunctionReturnParamsParameterArrayOutput struct{ *pulumi.OutputState } - -func (GetFunctionsFunctionReturnParamsParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunctionReturnParamsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { + return o } -func (o GetFunctionsFunctionReturnParamsParameterArrayOutput) ToGetFunctionsFunctionReturnParamsParameterArrayOutput() GetFunctionsFunctionReturnParamsParameterArrayOutput { - return o +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Elem() GetJobJobSettingsSettingsEnvironmentSpecOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) GetJobJobSettingsSettingsEnvironmentSpec { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsEnvironmentSpec + return ret + }).(GetJobJobSettingsSettingsEnvironmentSpecOutput) } -func (o GetFunctionsFunctionReturnParamsParameterArrayOutput) ToGetFunctionsFunctionReturnParamsParameterArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionReturnParamsParameterArrayOutput { - return o +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Client() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) *string { + if v == nil { + return nil + } + return &v.Client + }).(pulumi.StringPtrOutput) } -func (o GetFunctionsFunctionReturnParamsParameterArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionReturnParamsParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionReturnParamsParameter { - return vs[0].([]GetFunctionsFunctionReturnParamsParameter)[vs[1].(int)] - }).(GetFunctionsFunctionReturnParamsParameterOutput) +func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Dependencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) []string { + if v == nil { + return nil + } + return v.Dependencies + }).(pulumi.StringArrayOutput) } -type GetFunctionsFunctionRoutineDependencies struct { - Dependencies []GetFunctionsFunctionRoutineDependenciesDependency `pulumi:"dependencies"` +type GetJobJobSettingsSettingsGitSource struct { + Branch *string `pulumi:"branch"` + Commit *string `pulumi:"commit"` + JobSource *GetJobJobSettingsSettingsGitSourceJobSource `pulumi:"jobSource"` + Provider *string `pulumi:"provider"` + Tag *string `pulumi:"tag"` + Url string `pulumi:"url"` } -// GetFunctionsFunctionRoutineDependenciesInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesArgs and GetFunctionsFunctionRoutineDependenciesOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesInput` via: +// GetJobJobSettingsSettingsGitSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs and GetJobJobSettingsSettingsGitSourceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceInput` via: // -// GetFunctionsFunctionRoutineDependenciesArgs{...} -type GetFunctionsFunctionRoutineDependenciesInput interface { +// GetJobJobSettingsSettingsGitSourceArgs{...} +type GetJobJobSettingsSettingsGitSourceInput interface { pulumi.Input - ToGetFunctionsFunctionRoutineDependenciesOutput() GetFunctionsFunctionRoutineDependenciesOutput - ToGetFunctionsFunctionRoutineDependenciesOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesOutput + ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput + ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceOutput } -type GetFunctionsFunctionRoutineDependenciesArgs struct { - Dependencies GetFunctionsFunctionRoutineDependenciesDependencyArrayInput `pulumi:"dependencies"` +type GetJobJobSettingsSettingsGitSourceArgs struct { + Branch pulumi.StringPtrInput `pulumi:"branch"` + Commit pulumi.StringPtrInput `pulumi:"commit"` + JobSource GetJobJobSettingsSettingsGitSourceJobSourcePtrInput `pulumi:"jobSource"` + Provider pulumi.StringPtrInput `pulumi:"provider"` + Tag pulumi.StringPtrInput `pulumi:"tag"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetFunctionsFunctionRoutineDependenciesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencies)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (i GetFunctionsFunctionRoutineDependenciesArgs) ToGetFunctionsFunctionRoutineDependenciesOutput() GetFunctionsFunctionRoutineDependenciesOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { + return i.ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionRoutineDependenciesArgs) ToGetFunctionsFunctionRoutineDependenciesOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesOutput) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput) } -func (i GetFunctionsFunctionRoutineDependenciesArgs) ToGetFunctionsFunctionRoutineDependenciesPtrOutput() GetFunctionsFunctionRoutineDependenciesPtrOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionRoutineDependenciesArgs) ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesOutput).ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput).ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx) } -// GetFunctionsFunctionRoutineDependenciesPtrInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesArgs, GetFunctionsFunctionRoutineDependenciesPtr and GetFunctionsFunctionRoutineDependenciesPtrOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesPtrInput` via: +// GetJobJobSettingsSettingsGitSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs, GetJobJobSettingsSettingsGitSourcePtr and GetJobJobSettingsSettingsGitSourcePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourcePtrInput` via: // -// GetFunctionsFunctionRoutineDependenciesArgs{...} +// GetJobJobSettingsSettingsGitSourceArgs{...} // // or: // // nil -type GetFunctionsFunctionRoutineDependenciesPtrInput interface { +type GetJobJobSettingsSettingsGitSourcePtrInput interface { pulumi.Input - ToGetFunctionsFunctionRoutineDependenciesPtrOutput() GetFunctionsFunctionRoutineDependenciesPtrOutput - ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesPtrOutput + ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput + ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput } -type getFunctionsFunctionRoutineDependenciesPtrType GetFunctionsFunctionRoutineDependenciesArgs +type getJobJobSettingsSettingsGitSourcePtrType GetJobJobSettingsSettingsGitSourceArgs -func GetFunctionsFunctionRoutineDependenciesPtr(v *GetFunctionsFunctionRoutineDependenciesArgs) GetFunctionsFunctionRoutineDependenciesPtrInput { - return (*getFunctionsFunctionRoutineDependenciesPtrType)(v) +func GetJobJobSettingsSettingsGitSourcePtr(v *GetJobJobSettingsSettingsGitSourceArgs) GetJobJobSettingsSettingsGitSourcePtrInput { + return (*getJobJobSettingsSettingsGitSourcePtrType)(v) } -func (*getFunctionsFunctionRoutineDependenciesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionRoutineDependencies)(nil)).Elem() +func (*getJobJobSettingsSettingsGitSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (i *getFunctionsFunctionRoutineDependenciesPtrType) ToGetFunctionsFunctionRoutineDependenciesPtrOutput() GetFunctionsFunctionRoutineDependenciesPtrOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (i *getFunctionsFunctionRoutineDependenciesPtrType) ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesPtrOutput) +func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -type GetFunctionsFunctionRoutineDependenciesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourceOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionRoutineDependenciesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependencies)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (o GetFunctionsFunctionRoutineDependenciesOutput) ToGetFunctionsFunctionRoutineDependenciesOutput() GetFunctionsFunctionRoutineDependenciesOutput { +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesOutput) ToGetFunctionsFunctionRoutineDependenciesOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesOutput { +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesOutput) ToGetFunctionsFunctionRoutineDependenciesPtrOutput() GetFunctionsFunctionRoutineDependenciesPtrOutput { - return o.ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) } -func (o GetFunctionsFunctionRoutineDependenciesOutput) ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetFunctionsFunctionRoutineDependencies) *GetFunctionsFunctionRoutineDependencies { +func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSource { return &v - }).(GetFunctionsFunctionRoutineDependenciesPtrOutput) -} - -func (o GetFunctionsFunctionRoutineDependenciesOutput) Dependencies() GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput { - return o.ApplyT(func(v GetFunctionsFunctionRoutineDependencies) []GetFunctionsFunctionRoutineDependenciesDependency { - return v.Dependencies - }).(GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) -} - -type GetFunctionsFunctionRoutineDependenciesPtrOutput struct{ *pulumi.OutputState } - -func (GetFunctionsFunctionRoutineDependenciesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionRoutineDependencies)(nil)).Elem() -} - -func (o GetFunctionsFunctionRoutineDependenciesPtrOutput) ToGetFunctionsFunctionRoutineDependenciesPtrOutput() GetFunctionsFunctionRoutineDependenciesPtrOutput { - return o -} - -func (o GetFunctionsFunctionRoutineDependenciesPtrOutput) ToGetFunctionsFunctionRoutineDependenciesPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesPtrOutput { - return o -} - -func (o GetFunctionsFunctionRoutineDependenciesPtrOutput) Elem() GetFunctionsFunctionRoutineDependenciesOutput { - return o.ApplyT(func(v *GetFunctionsFunctionRoutineDependencies) GetFunctionsFunctionRoutineDependencies { - if v != nil { - return *v - } - var ret GetFunctionsFunctionRoutineDependencies - return ret - }).(GetFunctionsFunctionRoutineDependenciesOutput) -} - -func (o GetFunctionsFunctionRoutineDependenciesPtrOutput) Dependencies() GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput { - return o.ApplyT(func(v *GetFunctionsFunctionRoutineDependencies) []GetFunctionsFunctionRoutineDependenciesDependency { - if v == nil { - return nil - } - return v.Dependencies - }).(GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) -} - -type GetFunctionsFunctionRoutineDependenciesDependency struct { - Function *GetFunctionsFunctionRoutineDependenciesDependencyFunction `pulumi:"function"` - Table *GetFunctionsFunctionRoutineDependenciesDependencyTable `pulumi:"table"` -} - -// GetFunctionsFunctionRoutineDependenciesDependencyInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesDependencyArgs and GetFunctionsFunctionRoutineDependenciesDependencyOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesDependencyInput` via: -// -// GetFunctionsFunctionRoutineDependenciesDependencyArgs{...} -type GetFunctionsFunctionRoutineDependenciesDependencyInput interface { - pulumi.Input - - ToGetFunctionsFunctionRoutineDependenciesDependencyOutput() GetFunctionsFunctionRoutineDependenciesDependencyOutput - ToGetFunctionsFunctionRoutineDependenciesDependencyOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesDependencyOutput -} - -type GetFunctionsFunctionRoutineDependenciesDependencyArgs struct { - Function GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrInput `pulumi:"function"` - Table GetFunctionsFunctionRoutineDependenciesDependencyTablePtrInput `pulumi:"table"` -} - -func (GetFunctionsFunctionRoutineDependenciesDependencyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependency)(nil)).Elem() + }).(GetJobJobSettingsSettingsGitSourcePtrOutput) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyOutput() GetFunctionsFunctionRoutineDependenciesDependencyOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsGitSourceOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Branch }).(pulumi.StringPtrOutput) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Commit }).(pulumi.StringPtrOutput) } -// GetFunctionsFunctionRoutineDependenciesDependencyArrayInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesDependencyArray and GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesDependencyArrayInput` via: -// -// GetFunctionsFunctionRoutineDependenciesDependencyArray{ GetFunctionsFunctionRoutineDependenciesDependencyArgs{...} } -type GetFunctionsFunctionRoutineDependenciesDependencyArrayInput interface { - pulumi.Input - - ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutput() GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput - ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput +func (o GetJobJobSettingsSettingsGitSourceOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { + return v.JobSource + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyArray []GetFunctionsFunctionRoutineDependenciesDependencyInput - -func (GetFunctionsFunctionRoutineDependenciesDependencyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependenciesDependency)(nil)).Elem() +func (o GetJobJobSettingsSettingsGitSourceOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyArray) ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutput() GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsGitSourceOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyArray) ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) +func (o GetJobJobSettingsSettingsGitSourceOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) string { return v.Url }).(pulumi.StringOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourcePtrOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionRoutineDependenciesDependencyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependency)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() } -func (o GetFunctionsFunctionRoutineDependenciesDependencyOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyOutput() GetFunctionsFunctionRoutineDependenciesDependencyOutput { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyOutput { +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyOutput) Function() GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionRoutineDependenciesDependency) *GetFunctionsFunctionRoutineDependenciesDependencyFunction { - return v.Function - }).(GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) GetJobJobSettingsSettingsGitSource { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsGitSource + return ret + }).(GetJobJobSettingsSettingsGitSourceOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyOutput) Table() GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return o.ApplyT(func(v GetFunctionsFunctionRoutineDependenciesDependency) *GetFunctionsFunctionRoutineDependenciesDependencyTable { - return v.Table - }).(GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { + if v == nil { + return nil + } + return v.Branch + }).(pulumi.StringPtrOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { + if v == nil { + return nil + } + return v.Commit + }).(pulumi.StringPtrOutput) +} -func (GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFunctionsFunctionRoutineDependenciesDependency)(nil)).Elem() +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { + if v == nil { + return nil + } + return v.JobSource + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutput() GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput { - return o +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { + if v == nil { + return nil + } + return v.Provider + }).(pulumi.StringPtrOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyArrayOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput { - return o +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { + if v == nil { + return nil + } + return v.Tag + }).(pulumi.StringPtrOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput) Index(i pulumi.IntInput) GetFunctionsFunctionRoutineDependenciesDependencyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFunctionsFunctionRoutineDependenciesDependency { - return vs[0].([]GetFunctionsFunctionRoutineDependenciesDependency)[vs[1].(int)] - }).(GetFunctionsFunctionRoutineDependenciesDependencyOutput) +func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyFunction struct { - FunctionFullName string `pulumi:"functionFullName"` +type GetJobJobSettingsSettingsGitSourceJobSource struct { + DirtyState *string `pulumi:"dirtyState"` + ImportFromGitBranch string `pulumi:"importFromGitBranch"` + JobConfigPath string `pulumi:"jobConfigPath"` } -// GetFunctionsFunctionRoutineDependenciesDependencyFunctionInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs and GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesDependencyFunctionInput` via: +// GetJobJobSettingsSettingsGitSourceJobSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs and GetJobJobSettingsSettingsGitSourceJobSourceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourceInput` via: // -// GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs{...} -type GetFunctionsFunctionRoutineDependenciesDependencyFunctionInput interface { +// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} +type GetJobJobSettingsSettingsGitSourceJobSourceInput interface { pulumi.Input - ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput - ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput + ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput + ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput } -type GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs struct { - FunctionFullName pulumi.StringInput `pulumi:"functionFullName"` +type GetJobJobSettingsSettingsGitSourceJobSourceArgs struct { + DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` + ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` + JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` } -func (GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyFunction)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceJobSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (i GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput).ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput).ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx) } -// GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs, GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtr and GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrInput` via: +// GetJobJobSettingsSettingsGitSourceJobSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs, GetJobJobSettingsSettingsGitSourceJobSourcePtr and GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourcePtrInput` via: // -// GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs{...} +// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} // // or: // // nil -type GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrInput interface { +type GetJobJobSettingsSettingsGitSourceJobSourcePtrInput interface { pulumi.Input - ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput - ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput + ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput + ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput } -type getFunctionsFunctionRoutineDependenciesDependencyFunctionPtrType GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs +type getJobJobSettingsSettingsGitSourceJobSourcePtrType GetJobJobSettingsSettingsGitSourceJobSourceArgs -func GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtr(v *GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs) GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrInput { - return (*getFunctionsFunctionRoutineDependenciesDependencyFunctionPtrType)(v) +func GetJobJobSettingsSettingsGitSourceJobSourcePtr(v *GetJobJobSettingsSettingsGitSourceJobSourceArgs) GetJobJobSettingsSettingsGitSourceJobSourcePtrInput { + return (*getJobJobSettingsSettingsGitSourceJobSourcePtrType)(v) } -func (*getFunctionsFunctionRoutineDependenciesDependencyFunctionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionRoutineDependenciesDependencyFunction)(nil)).Elem() +func (*getJobJobSettingsSettingsGitSourceJobSourcePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (i *getFunctionsFunctionRoutineDependenciesDependencyFunctionPtrType) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (i *getFunctionsFunctionRoutineDependenciesDependencyFunctionPtrType) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) +func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourceJobSourceOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyFunction)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceJobSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return o.ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetFunctionsFunctionRoutineDependenciesDependencyFunction) *GetFunctionsFunctionRoutineDependenciesDependencyFunction { +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSourceJobSource) *GetJobJobSettingsSettingsGitSourceJobSource { return &v - }).(GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) + }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +} + +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) FunctionFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionRoutineDependenciesDependencyFunction) string { return v.FunctionFullName }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionRoutineDependenciesDependencyFunction)(nil)).Elem() +func (GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) Elem() GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput { - return o.ApplyT(func(v *GetFunctionsFunctionRoutineDependenciesDependencyFunction) GetFunctionsFunctionRoutineDependenciesDependencyFunction { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceJobSourceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) GetJobJobSettingsSettingsGitSourceJobSource { if v != nil { return *v } - var ret GetFunctionsFunctionRoutineDependenciesDependencyFunction + var ret GetJobJobSettingsSettingsGitSourceJobSource return ret - }).(GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput) + }).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput) FunctionFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetFunctionsFunctionRoutineDependenciesDependencyFunction) *string { +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { if v == nil { return nil } - return &v.FunctionFullName + return v.DirtyState }).(pulumi.StringPtrOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyTable struct { - TableFullName string `pulumi:"tableFullName"` +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { + if v == nil { + return nil + } + return &v.ImportFromGitBranch + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { + if v == nil { + return nil + } + return &v.JobConfigPath + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsHealth struct { + Rules []GetJobJobSettingsSettingsHealthRule `pulumi:"rules"` } -// GetFunctionsFunctionRoutineDependenciesDependencyTableInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesDependencyTableArgs and GetFunctionsFunctionRoutineDependenciesDependencyTableOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesDependencyTableInput` via: +// GetJobJobSettingsSettingsHealthInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs and GetJobJobSettingsSettingsHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthInput` via: // -// GetFunctionsFunctionRoutineDependenciesDependencyTableArgs{...} -type GetFunctionsFunctionRoutineDependenciesDependencyTableInput interface { +// GetJobJobSettingsSettingsHealthArgs{...} +type GetJobJobSettingsSettingsHealthInput interface { pulumi.Input - ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutput() GetFunctionsFunctionRoutineDependenciesDependencyTableOutput - ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTableOutput + ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput + ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthOutput } -type GetFunctionsFunctionRoutineDependenciesDependencyTableArgs struct { - TableFullName pulumi.StringInput `pulumi:"tableFullName"` +type GetJobJobSettingsSettingsHealthArgs struct { + Rules GetJobJobSettingsSettingsHealthRuleArrayInput `pulumi:"rules"` } -func (GetFunctionsFunctionRoutineDependenciesDependencyTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyTable)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (i GetFunctionsFunctionRoutineDependenciesDependencyTableArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutput() GetFunctionsFunctionRoutineDependenciesDependencyTableOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { + return i.ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyTableArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyTableArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (i GetFunctionsFunctionRoutineDependenciesDependencyTableArgs) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyTableOutput).ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput).ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx) } -// GetFunctionsFunctionRoutineDependenciesDependencyTablePtrInput is an input type that accepts GetFunctionsFunctionRoutineDependenciesDependencyTableArgs, GetFunctionsFunctionRoutineDependenciesDependencyTablePtr and GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput values. -// You can construct a concrete instance of `GetFunctionsFunctionRoutineDependenciesDependencyTablePtrInput` via: +// GetJobJobSettingsSettingsHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs, GetJobJobSettingsSettingsHealthPtr and GetJobJobSettingsSettingsHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthPtrInput` via: // -// GetFunctionsFunctionRoutineDependenciesDependencyTableArgs{...} +// GetJobJobSettingsSettingsHealthArgs{...} // // or: // // nil -type GetFunctionsFunctionRoutineDependenciesDependencyTablePtrInput interface { +type GetJobJobSettingsSettingsHealthPtrInput interface { pulumi.Input - ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput - ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput + ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput + ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthPtrOutput } -type getFunctionsFunctionRoutineDependenciesDependencyTablePtrType GetFunctionsFunctionRoutineDependenciesDependencyTableArgs +type getJobJobSettingsSettingsHealthPtrType GetJobJobSettingsSettingsHealthArgs -func GetFunctionsFunctionRoutineDependenciesDependencyTablePtr(v *GetFunctionsFunctionRoutineDependenciesDependencyTableArgs) GetFunctionsFunctionRoutineDependenciesDependencyTablePtrInput { - return (*getFunctionsFunctionRoutineDependenciesDependencyTablePtrType)(v) +func GetJobJobSettingsSettingsHealthPtr(v *GetJobJobSettingsSettingsHealthArgs) GetJobJobSettingsSettingsHealthPtrInput { + return (*getJobJobSettingsSettingsHealthPtrType)(v) } -func (*getFunctionsFunctionRoutineDependenciesDependencyTablePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionRoutineDependenciesDependencyTable)(nil)).Elem() +func (*getJobJobSettingsSettingsHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (i *getFunctionsFunctionRoutineDependenciesDependencyTablePtrType) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return i.ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (i *getFunctionsFunctionRoutineDependenciesDependencyTablePtrType) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) +func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthPtrOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyTableOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyTable)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutput() GetFunctionsFunctionRoutineDependenciesDependencyTableOutput { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyTableOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTableOutput { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return o.ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetFunctionsFunctionRoutineDependenciesDependencyTable) *GetFunctionsFunctionRoutineDependenciesDependencyTable { +func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsHealth) *GetJobJobSettingsSettingsHealth { return &v - }).(GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) + }).(GetJobJobSettingsSettingsHealthPtrOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) TableFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetFunctionsFunctionRoutineDependenciesDependencyTable) string { return v.TableFullName }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsHealthOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { return v.Rules }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthPtrOutput struct{ *pulumi.OutputState } -func (GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetFunctionsFunctionRoutineDependenciesDependencyTable)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput() GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { +func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) ToGetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutputWithContext(ctx context.Context) GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput { +func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { return o } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) Elem() GetFunctionsFunctionRoutineDependenciesDependencyTableOutput { - return o.ApplyT(func(v *GetFunctionsFunctionRoutineDependenciesDependencyTable) GetFunctionsFunctionRoutineDependenciesDependencyTable { +func (o GetJobJobSettingsSettingsHealthPtrOutput) Elem() GetJobJobSettingsSettingsHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) GetJobJobSettingsSettingsHealth { if v != nil { return *v } - var ret GetFunctionsFunctionRoutineDependenciesDependencyTable + var ret GetJobJobSettingsSettingsHealth return ret - }).(GetFunctionsFunctionRoutineDependenciesDependencyTableOutput) + }).(GetJobJobSettingsSettingsHealthOutput) } -func (o GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput) TableFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetFunctionsFunctionRoutineDependenciesDependencyTable) *string { +func (o GetJobJobSettingsSettingsHealthPtrOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { if v == nil { return nil } - return &v.TableFullName - }).(pulumi.StringPtrOutput) + return v.Rules + }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetInstancePoolPoolInfo struct { - AwsAttributes *GetInstancePoolPoolInfoAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetInstancePoolPoolInfoAzureAttributes `pulumi:"azureAttributes"` - CustomTags map[string]string `pulumi:"customTags"` - DefaultTags map[string]string `pulumi:"defaultTags"` - DiskSpec *GetInstancePoolPoolInfoDiskSpec `pulumi:"diskSpec"` - EnableElasticDisk *bool `pulumi:"enableElasticDisk"` - GcpAttributes *GetInstancePoolPoolInfoGcpAttributes `pulumi:"gcpAttributes"` - IdleInstanceAutoterminationMinutes int `pulumi:"idleInstanceAutoterminationMinutes"` - InstancePoolFleetAttributes []GetInstancePoolPoolInfoInstancePoolFleetAttribute `pulumi:"instancePoolFleetAttributes"` - InstancePoolId string `pulumi:"instancePoolId"` - InstancePoolName string `pulumi:"instancePoolName"` - MaxCapacity *int `pulumi:"maxCapacity"` - MinIdleInstances *int `pulumi:"minIdleInstances"` - NodeTypeId *string `pulumi:"nodeTypeId"` - PreloadedDockerImages []GetInstancePoolPoolInfoPreloadedDockerImage `pulumi:"preloadedDockerImages"` - PreloadedSparkVersions []string `pulumi:"preloadedSparkVersions"` - State *string `pulumi:"state"` - Stats *GetInstancePoolPoolInfoStats `pulumi:"stats"` +type GetJobJobSettingsSettingsHealthRule struct { + Metric string `pulumi:"metric"` + Op string `pulumi:"op"` + Value int `pulumi:"value"` } -// GetInstancePoolPoolInfoInput is an input type that accepts GetInstancePoolPoolInfoArgs and GetInstancePoolPoolInfoOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInput` via: +// GetJobJobSettingsSettingsHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArgs and GetJobJobSettingsSettingsHealthRuleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleInput` via: // -// GetInstancePoolPoolInfoArgs{...} -type GetInstancePoolPoolInfoInput interface { +// GetJobJobSettingsSettingsHealthRuleArgs{...} +type GetJobJobSettingsSettingsHealthRuleInput interface { pulumi.Input - ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput - ToGetInstancePoolPoolInfoOutputWithContext(context.Context) GetInstancePoolPoolInfoOutput -} - -type GetInstancePoolPoolInfoArgs struct { - AwsAttributes GetInstancePoolPoolInfoAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetInstancePoolPoolInfoAzureAttributesPtrInput `pulumi:"azureAttributes"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DefaultTags pulumi.StringMapInput `pulumi:"defaultTags"` - DiskSpec GetInstancePoolPoolInfoDiskSpecPtrInput `pulumi:"diskSpec"` - EnableElasticDisk pulumi.BoolPtrInput `pulumi:"enableElasticDisk"` - GcpAttributes GetInstancePoolPoolInfoGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdleInstanceAutoterminationMinutes pulumi.IntInput `pulumi:"idleInstanceAutoterminationMinutes"` - InstancePoolFleetAttributes GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput `pulumi:"instancePoolFleetAttributes"` - InstancePoolId pulumi.StringInput `pulumi:"instancePoolId"` - InstancePoolName pulumi.StringInput `pulumi:"instancePoolName"` - MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"` - MinIdleInstances pulumi.IntPtrInput `pulumi:"minIdleInstances"` - NodeTypeId pulumi.StringPtrInput `pulumi:"nodeTypeId"` - PreloadedDockerImages GetInstancePoolPoolInfoPreloadedDockerImageArrayInput `pulumi:"preloadedDockerImages"` - PreloadedSparkVersions pulumi.StringArrayInput `pulumi:"preloadedSparkVersions"` - State pulumi.StringPtrInput `pulumi:"state"` - Stats GetInstancePoolPoolInfoStatsPtrInput `pulumi:"stats"` -} - -func (GetInstancePoolPoolInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput + ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleOutput } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { - return i.ToGetInstancePoolPoolInfoOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsHealthRuleArgs struct { + Metric pulumi.StringInput `pulumi:"metric"` + Op pulumi.StringInput `pulumi:"op"` + Value pulumi.IntInput `pulumi:"value"` } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput) +func (GetJobJobSettingsSettingsHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoArgs) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoOutput).ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleOutput) } -// GetInstancePoolPoolInfoPtrInput is an input type that accepts GetInstancePoolPoolInfoArgs, GetInstancePoolPoolInfoPtr and GetInstancePoolPoolInfoPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPtrInput` via: -// -// GetInstancePoolPoolInfoArgs{...} -// -// or: +// GetJobJobSettingsSettingsHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArray and GetJobJobSettingsSettingsHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleArrayInput` via: // -// nil -type GetInstancePoolPoolInfoPtrInput interface { +// GetJobJobSettingsSettingsHealthRuleArray{ GetJobJobSettingsSettingsHealthRuleArgs{...} } +type GetJobJobSettingsSettingsHealthRuleArrayInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput - ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPtrOutput + ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput + ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput } -type getInstancePoolPoolInfoPtrType GetInstancePoolPoolInfoArgs - -func GetInstancePoolPoolInfoPtr(v *GetInstancePoolPoolInfoArgs) GetInstancePoolPoolInfoPtrInput { - return (*getInstancePoolPoolInfoPtrType)(v) -} +type GetJobJobSettingsSettingsHealthRuleArray []GetJobJobSettingsSettingsHealthRuleInput -func (*getInstancePoolPoolInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return i.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoPtrType) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPtrOutput) +func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleArrayOutput) } -type GetInstancePoolPoolInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsHealthRuleOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutput() GetInstancePoolPoolInfoOutput { +func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { return o } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoOutput { +func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { return o } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { - return o.ToGetInstancePoolPoolInfoPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) string { return v.Metric }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfo { - return &v - }).(GetInstancePoolPoolInfoPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) string { return v.Op }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { return v.AwsAttributes }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleOutput) Value() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) int { return v.Value }).(pulumi.IntOutput) } -func (o GetInstancePoolPoolInfoOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { return v.AzureAttributes }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) -} +type GetJobJobSettingsSettingsHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (o GetInstancePoolPoolInfoOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (GetJobJobSettingsSettingsHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) DefaultTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) map[string]string { return v.DefaultTags }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o } -func (o GetInstancePoolPoolInfoOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { return v.DiskSpec }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { + return o } -func (o GetInstancePoolPoolInfoOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *bool { return v.EnableElasticDisk }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsHealthRule { + return vs[0].([]GetJobJobSettingsSettingsHealthRule)[vs[1].(int)] + }).(GetJobJobSettingsSettingsHealthRuleOutput) } -func (o GetInstancePoolPoolInfoOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { return v.GcpAttributes }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +type GetJobJobSettingsSettingsJobCluster struct { + JobClusterKey string `pulumi:"jobClusterKey"` + NewCluster GetJobJobSettingsSettingsJobClusterNewCluster `pulumi:"newCluster"` } -func (o GetInstancePoolPoolInfoOutput) IdleInstanceAutoterminationMinutes() pulumi.IntOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) int { return v.IdleInstanceAutoterminationMinutes }).(pulumi.IntOutput) -} +// GetJobJobSettingsSettingsJobClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArgs and GetJobJobSettingsSettingsJobClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterInput` via: +// +// GetJobJobSettingsSettingsJobClusterArgs{...} +type GetJobJobSettingsSettingsJobClusterInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { - return v.InstancePoolFleetAttributes - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) + ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput + ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterOutput } -func (o GetInstancePoolPoolInfoOutput) InstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolId }).(pulumi.StringOutput) +type GetJobJobSettingsSettingsJobClusterArgs struct { + JobClusterKey pulumi.StringInput `pulumi:"jobClusterKey"` + NewCluster GetJobJobSettingsSettingsJobClusterNewClusterInput `pulumi:"newCluster"` } -func (o GetInstancePoolPoolInfoOutput) InstancePoolName() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) string { return v.InstancePoolName }).(pulumi.StringOutput) +func (GetJobJobSettingsSettingsJobClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) MaxCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MaxCapacity }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { + return i.ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoOutput) MinIdleInstances() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *int { return v.MinIdleInstances }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterOutput) } -func (o GetInstancePoolPoolInfoOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.NodeTypeId }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArray and GetJobJobSettingsSettingsJobClusterArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterArrayInput` via: +// +// GetJobJobSettingsSettingsJobClusterArray{ GetJobJobSettingsSettingsJobClusterArgs{...} } +type GetJobJobSettingsSettingsJobClusterArrayInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { - return v.PreloadedDockerImages - }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) + ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput + ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput } -func (o GetInstancePoolPoolInfoOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) []string { return v.PreloadedSparkVersions }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsJobClusterArray []GetJobJobSettingsSettingsJobClusterInput + +func (GetJobJobSettingsSettingsJobClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (o GetInstancePoolPoolInfoOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *string { return v.State }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { return v.Stats }).(GetInstancePoolPoolInfoStatsPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterArrayOutput) } -type GetInstancePoolPoolInfoPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutput() GetInstancePoolPoolInfoPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { return o } -func (o GetInstancePoolPoolInfoPtrOutput) ToGetInstancePoolPoolInfoPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { return o } -func (o GetInstancePoolPoolInfoPtrOutput) Elem() GetInstancePoolPoolInfoOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) GetInstancePoolPoolInfo { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfo - return ret - }).(GetInstancePoolPoolInfoOutput) -} - -func (o GetInstancePoolPoolInfoPtrOutput) AwsAttributes() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoPtrOutput) AzureAttributes() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) -} - -func (o GetInstancePoolPoolInfoPtrOutput) DefaultTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) map[string]string { - if v == nil { - return nil - } - return v.DefaultTags - }).(pulumi.StringMapOutput) -} - -func (o GetInstancePoolPoolInfoPtrOutput) DiskSpec() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoDiskSpec { - if v == nil { - return nil - } - return v.DiskSpec - }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) -} - -func (o GetInstancePoolPoolInfoPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *bool { - if v == nil { - return nil - } - return v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterOutput) JobClusterKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) string { return v.JobClusterKey }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) GcpAttributes() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterOutput) NewCluster() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) GetJobJobSettingsSettingsJobClusterNewCluster { + return v.NewCluster + }).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) IdleInstanceAutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { - if v == nil { - return nil - } - return &v.IdleInstanceAutoterminationMinutes - }).(pulumi.IntPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterArrayOutput struct{ *pulumi.OutputState } -func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolFleetAttributes() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoInstancePoolFleetAttribute { - if v == nil { - return nil - } - return v.InstancePoolFleetAttributes - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +func (GetJobJobSettingsSettingsJobClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return &v.InstancePoolId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { + return o } -func (o GetInstancePoolPoolInfoPtrOutput) InstancePoolName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return &v.InstancePoolName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { + return o } -func (o GetInstancePoolPoolInfoPtrOutput) MaxCapacity() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { - if v == nil { - return nil - } - return v.MaxCapacity - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobCluster { + return vs[0].([]GetJobJobSettingsSettingsJobCluster)[vs[1].(int)] + }).(GetJobJobSettingsSettingsJobClusterOutput) } -func (o GetInstancePoolPoolInfoPtrOutput) MinIdleInstances() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *int { - if v == nil { - return nil - } - return v.MinIdleInstances - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale `pulumi:"autoscale"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetJobJobSettingsSettingsJobClusterNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType `pulumi:"workloadType"` } -func (o GetInstancePoolPoolInfoPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return v.NodeTypeId - }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs and GetJobJobSettingsSettingsJobClusterNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoPtrOutput) PreloadedDockerImages() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) []GetInstancePoolPoolInfoPreloadedDockerImage { - if v == nil { - return nil - } - return v.PreloadedDockerImages - }).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput } -func (o GetInstancePoolPoolInfoPtrOutput) PreloadedSparkVersions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) []string { - if v == nil { - return nil - } - return v.PreloadedSparkVersions - }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (o GetInstancePoolPoolInfoPtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *string { - if v == nil { - return nil - } - return v.State - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPtrOutput) Stats() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfo) *GetInstancePoolPoolInfoStats { - if v == nil { - return nil - } - return v.Stats - }).(GetInstancePoolPoolInfoStatsPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoAwsAttributes struct { - Availability *string `pulumi:"availability"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId string `pulumi:"zoneId"` +func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) } -// GetInstancePoolPoolInfoAwsAttributesInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs and GetInstancePoolPoolInfoAwsAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesInput` via: -// -// GetInstancePoolPoolInfoAwsAttributesArgs{...} -type GetInstancePoolPoolInfoAwsAttributesInput interface { - pulumi.Input +type GetJobJobSettingsSettingsJobClusterNewClusterOutput struct{ *pulumi.OutputState } - ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput - ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesOutput +func (GetJobJobSettingsSettingsJobClusterNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() } -type GetInstancePoolPoolInfoAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringInput `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return o } -func (GetInstancePoolPoolInfoAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { + return o } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -func (i GetInstancePoolPoolInfoAwsAttributesArgs) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesOutput).ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -// GetInstancePoolPoolInfoAwsAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAwsAttributesArgs, GetInstancePoolPoolInfoAwsAttributesPtr and GetInstancePoolPoolInfoAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAwsAttributesPtrInput` via: -// -// GetInstancePoolPoolInfoAwsAttributesArgs{...} -// -// or: -// -// nil -type GetInstancePoolPoolInfoAwsAttributesPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +} - ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput - ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -type getInstancePoolPoolInfoAwsAttributesPtrType GetInstancePoolPoolInfoAwsAttributesArgs +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +} -func GetInstancePoolPoolInfoAwsAttributesPtr(v *GetInstancePoolPoolInfoAwsAttributesArgs) GetInstancePoolPoolInfoAwsAttributesPtrInput { - return (*getInstancePoolPoolInfoAwsAttributesPtrType)(v) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -func (*getInstancePoolPoolInfoAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -func (i *getInstancePoolPoolInfoAwsAttributesPtrType) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoAwsAttributesOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +} -func (GetInstancePoolPoolInfoAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutput() GetInstancePoolPoolInfoAwsAttributesOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAwsAttributes) *GetInstancePoolPoolInfoAwsAttributes { - return &v - }).(GetInstancePoolPoolInfoAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesOutput) ZoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAwsAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoAwsAttributesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +} -func (GetInstancePoolPoolInfoAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAwsAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutput() GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ToGetInstancePoolPoolInfoAwsAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAwsAttributesPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAwsAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) GetInstancePoolPoolInfoAwsAttributes { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoAwsAttributes - return ret - }).(GetInstancePoolPoolInfoAwsAttributesOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o GetInstancePoolPoolInfoAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAwsAttributes) *string { - if v == nil { - return nil - } - return &v.ZoneId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoAzureAttributes struct { - Availability *string `pulumi:"availability"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -// GetInstancePoolPoolInfoAzureAttributesInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs and GetInstancePoolPoolInfoAzureAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesInput` via: +func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs and GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput` via: // -// GetInstancePoolPoolInfoAzureAttributesArgs{...} -type GetInstancePoolPoolInfoAzureAttributesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput - ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput } -type GetInstancePoolPoolInfoAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetInstancePoolPoolInfoAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoAzureAttributesArgs) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesOutput).ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoAzureAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoAzureAttributesArgs, GetInstancePoolPoolInfoAzureAttributesPtr and GetInstancePoolPoolInfoAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs, GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr and GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput` via: // -// GetInstancePoolPoolInfoAzureAttributesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput - ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput } -type getInstancePoolPoolInfoAzureAttributesPtrType GetInstancePoolPoolInfoAzureAttributesArgs +type getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs -func GetInstancePoolPoolInfoAzureAttributesPtr(v *GetInstancePoolPoolInfoAzureAttributesArgs) GetInstancePoolPoolInfoAzureAttributesPtrInput { - return (*getInstancePoolPoolInfoAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType)(v) } -func (*getInstancePoolPoolInfoAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoAzureAttributesPtrType) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -type GetInstancePoolPoolInfoAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutput() GetInstancePoolPoolInfoAzureAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoAzureAttributes) *GetInstancePoolPoolInfoAzureAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { return &v - }).(GetInstancePoolPoolInfoAzureAttributesPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutput() GetInstancePoolPoolInfoAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) ToGetInstancePoolPoolInfoAzureAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { return o } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Elem() GetInstancePoolPoolInfoAzureAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) GetInstancePoolPoolInfoAzureAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { if v != nil { return *v } - var ret GetInstancePoolPoolInfoAzureAttributes + var ret GetJobJobSettingsSettingsJobClusterNewClusterAutoscale return ret - }).(GetInstancePoolPoolInfoAzureAttributesOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoAzureAttributes) *float64 { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { if v == nil { return nil } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpec struct { - DiskCount *int `pulumi:"diskCount"` - DiskSize *int `pulumi:"diskSize"` - DiskType *GetInstancePoolPoolInfoDiskSpecDiskType `pulumi:"diskType"` +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// GetInstancePoolPoolInfoDiskSpecInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs and GetInstancePoolPoolInfoDiskSpecOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput` via: // -// GetInstancePoolPoolInfoDiskSpecArgs{...} -type GetInstancePoolPoolInfoDiskSpecInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput interface { pulumi.Input - ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput - ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput } -type GetInstancePoolPoolInfoDiskSpecArgs struct { - DiskCount pulumi.IntPtrInput `pulumi:"diskCount"` - DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` - DiskType GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput `pulumi:"diskType"` +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetInstancePoolPoolInfoDiskSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoDiskSpecArgs) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecOutput).ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoDiskSpecPtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecArgs, GetInstancePoolPoolInfoDiskSpecPtr and GetInstancePoolPoolInfoDiskSpecPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput` via: // -// GetInstancePoolPoolInfoDiskSpecArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoDiskSpecPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput - ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput } -type getInstancePoolPoolInfoDiskSpecPtrType GetInstancePoolPoolInfoDiskSpecArgs +type getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs -func GetInstancePoolPoolInfoDiskSpecPtr(v *GetInstancePoolPoolInfoDiskSpecArgs) GetInstancePoolPoolInfoDiskSpecPtrInput { - return (*getInstancePoolPoolInfoDiskSpecPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType)(v) } -func (*getInstancePoolPoolInfoDiskSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoDiskSpecPtrType) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoDiskSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutput() GetInstancePoolPoolInfoDiskSpecOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpec { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { return &v - }).(GetInstancePoolPoolInfoDiskSpecPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { return v.DiskType }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoDiskSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpec)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutput() GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) ToGetInstancePoolPoolInfoDiskSpecPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecPtrOutput { - return o +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) GetInstancePoolPoolInfoDiskSpec { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { + if v == nil { + return nil } - var ret GetInstancePoolPoolInfoDiskSpec - return ret - }).(GetInstancePoolPoolInfoDiskSpecOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.DiskCount - }).(pulumi.IntPtrOutput) + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.DiskSize + return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecPtrOutput) DiskType() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpec) *GetInstancePoolPoolInfoDiskSpecDiskType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.DiskType - }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskType struct { - AzureDiskVolumeType *string `pulumi:"azureDiskVolumeType"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetInstancePoolPoolInfoDiskSpecDiskTypeInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecDiskTypeArgs and GetInstancePoolPoolInfoDiskSpecDiskTypeOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecDiskTypeInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput` via: // -// GetInstancePoolPoolInfoDiskSpecDiskTypeArgs{...} -type GetInstancePoolPoolInfoDiskSpecDiskTypeInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput interface { pulumi.Input - ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput - ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput } -type GetInstancePoolPoolInfoDiskSpecDiskTypeArgs struct { - AzureDiskVolumeType pulumi.StringPtrInput `pulumi:"azureDiskVolumeType"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput).ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput is an input type that accepts GetInstancePoolPoolInfoDiskSpecDiskTypeArgs, GetInstancePoolPoolInfoDiskSpecDiskTypePtr and GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput` via: // -// GetInstancePoolPoolInfoDiskSpecDiskTypeArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput - ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput } -type getInstancePoolPoolInfoDiskSpecDiskTypePtrType GetInstancePoolPoolInfoDiskSpecDiskTypeArgs +type getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs -func GetInstancePoolPoolInfoDiskSpecDiskTypePtr(v *GetInstancePoolPoolInfoDiskSpecDiskTypeArgs) GetInstancePoolPoolInfoDiskSpecDiskTypePtrInput { - return (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType)(v) } -func (*getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return i.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoDiskSpecDiskTypePtrType) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutput() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoDiskSpecDiskType) *GetInstancePoolPoolInfoDiskSpecDiskType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { return &v - }).(GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.AzureDiskVolumeType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoDiskSpecDiskType) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} -func (GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoDiskSpecDiskType)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput() GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) ToGetInstancePoolPoolInfoDiskSpecDiskTypePtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) Elem() GetInstancePoolPoolInfoDiskSpecDiskTypeOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) GetInstancePoolPoolInfoDiskSpecDiskType { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { if v != nil { return *v } - var ret GetInstancePoolPoolInfoDiskSpecDiskType + var ret GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes return ret - }).(GetInstancePoolPoolInfoDiskSpecDiskTypeOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) AzureDiskVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.AzureDiskVolumeType + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoDiskSpecDiskTypePtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoDiskSpecDiskType) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoGcpAttributes struct { - GcpAvailability *string `pulumi:"gcpAvailability"` - LocalSsdCount int `pulumi:"localSsdCount"` - ZoneId string `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -// GetInstancePoolPoolInfoGcpAttributesInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs and GetInstancePoolPoolInfoGcpAttributesOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesInput` via: +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput` via: // -// GetInstancePoolPoolInfoGcpAttributesArgs{...} -type GetInstancePoolPoolInfoGcpAttributesInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput interface { pulumi.Input - ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput - ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput } -type GetInstancePoolPoolInfoGcpAttributesArgs struct { - GcpAvailability pulumi.StringPtrInput `pulumi:"gcpAvailability"` - LocalSsdCount pulumi.IntInput `pulumi:"localSsdCount"` - ZoneId pulumi.StringInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetInstancePoolPoolInfoGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoGcpAttributesArgs) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesOutput).ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoGcpAttributesPtrInput is an input type that accepts GetInstancePoolPoolInfoGcpAttributesArgs, GetInstancePoolPoolInfoGcpAttributesPtr and GetInstancePoolPoolInfoGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput` via: // -// GetInstancePoolPoolInfoGcpAttributesArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput - ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput } -type getInstancePoolPoolInfoGcpAttributesPtrType GetInstancePoolPoolInfoGcpAttributesArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs -func GetInstancePoolPoolInfoGcpAttributesPtr(v *GetInstancePoolPoolInfoGcpAttributesArgs) GetInstancePoolPoolInfoGcpAttributesPtrInput { - return (*getInstancePoolPoolInfoGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType)(v) } -func (*getInstancePoolPoolInfoGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return i.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoGcpAttributesPtrType) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -type GetInstancePoolPoolInfoGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutput() GetInstancePoolPoolInfoGcpAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoGcpAttributes) *GetInstancePoolPoolInfoGcpAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { return &v - }).(GetInstancePoolPoolInfoGcpAttributesPtrOutput) -} - -func (o GetInstancePoolPoolInfoGcpAttributesOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) *string { return v.GcpAvailability }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) LocalSsdCount() pulumi.IntOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) int { return v.LocalSsdCount }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesOutput) ZoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoGcpAttributes) string { return v.ZoneId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -type GetInstancePoolPoolInfoGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutput() GetInstancePoolPoolInfoGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ToGetInstancePoolPoolInfoGcpAttributesPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { return o } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) Elem() GetInstancePoolPoolInfoGcpAttributesOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) GetInstancePoolPoolInfoGcpAttributes { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { if v != nil { return *v } - var ret GetInstancePoolPoolInfoGcpAttributes + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf return ret - }).(GetInstancePoolPoolInfoGcpAttributesOutput) -} - -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) GcpAvailability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { - if v == nil { - return nil - } - return v.GcpAvailability - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { if v == nil { return nil } - return &v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetInstancePoolPoolInfoGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoGcpAttributes) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { if v == nil { return nil } - return &v.ZoneId - }).(pulumi.StringPtrOutput) + return v.S3 + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttribute struct { - FleetOnDemandOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption `pulumi:"fleetOnDemandOption"` - FleetSpotOption *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride `pulumi:"launchTemplateOverrides"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs struct { - FleetOnDemandOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput `pulumi:"fleetOnDemandOption"` - FleetSpotOption GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput `pulumi:"fleetSpotOption"` - LaunchTemplateOverrides GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput `pulumi:"launchTemplateOverrides"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput` via: +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs{...} } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeInput +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType)(v) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetOnDemandOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { - return v.FleetOnDemandOption - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) FleetSpotOption() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { - return v.FleetSpotOption - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) LaunchTemplateOverrides() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttribute) []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { - return v.LaunchTemplateOverrides - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttribute)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoInstancePoolFleetAttribute { - return vs[0].([]GetInstancePoolPoolInfoInstancePoolFleetAttribute)[vs[1].(int)] - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput } -type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs +type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args -func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrInput { - return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType)(v) } -func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { return &v - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) string { - return v.AllocationStrategy - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption + var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 return ret - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.AllocationStrategy + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOption) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption struct { - AllocationStrategy string `pulumi:"allocationStrategy"` - InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput` via: -// -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs struct { - AllocationStrategy pulumi.StringInput `pulumi:"allocationStrategy"` - InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput).ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx) +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs, GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr and GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput` via: -// -// GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs{...} -// -// or: +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) +} + +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput` via: // -// nil -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput } -type getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput -func GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtr(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrInput { - return (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType)(v) +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -func (*getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) } -func (i *getInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrType) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return o +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) string { + return v.LocalMountDirPath + }).(pulumi.StringOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) *string { + return v.RemoteMountDirPath + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { - return &v - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) AllocationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) string { - return v.AllocationStrategy - }).(pulumi.StringOutput) +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput struct{ *pulumi.OutputState } +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { - return o +func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput { +type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) Elem() GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption - return ret - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) AllocationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *string { - if v == nil { - return nil - } - return &v.AllocationStrategy +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOption) *int { - if v == nil { - return nil - } - return v.InstancePoolsToUseCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride struct { - AvailabilityZone string `pulumi:"availabilityZone"` - InstanceType string `pulumi:"instanceType"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs struct { - AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` - InstanceType pulumi.StringInput `pulumi:"instanceType"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) } -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput is an input type that accepts GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray and GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput` via: +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput` via: // -// GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray{ GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs{...} } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput - ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray []GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideInput +type getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType)(v) } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return i.ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (i GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArray) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return o +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { return o } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) AvailabilityZone() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { - return v.AvailabilityZone - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImage + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) InstanceType() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride) string { - return v.InstanceType - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + if v == nil { + return nil + } + return v.BasicAuth + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -type GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput() GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) ToGetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput { - return o -} +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride { - return vs[0].([]GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverride)[vs[1].(int)] - }).(GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput } -type GetInstancePoolPoolInfoPreloadedDockerImage struct { - BasicAuth *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -// GetInstancePoolPoolInfoPreloadedDockerImageInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArgs and GetInstancePoolPoolInfoPreloadedDockerImageOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageInput` via: -// -// GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} -type GetInstancePoolPoolInfoPreloadedDockerImageInput interface { - pulumi.Input - - ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -type GetInstancePoolPoolInfoPreloadedDockerImageArgs struct { - BasicAuth GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (GetInstancePoolPoolInfoPreloadedDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoPreloadedDockerImageArrayInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageArray and GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageArrayInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageArray{ GetInstancePoolPoolInfoPreloadedDockerImageArgs{...} } -type GetInstancePoolPoolInfoPreloadedDockerImageArrayInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput } -type GetInstancePoolPoolInfoPreloadedDockerImageArray []GetInstancePoolPoolInfoPreloadedDockerImageInput +type getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs -func (GetInstancePoolPoolInfoPreloadedDockerImageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType)(v) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetInstancePoolPoolInfoPreloadedDockerImageArray) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -type GetInstancePoolPoolInfoPreloadedDockerImageOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +} -func (GetInstancePoolPoolInfoPreloadedDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutput() GetInstancePoolPoolInfoPreloadedDockerImageOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) BasicAuth() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { - return v.BasicAuth - }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +} -func (GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstancePoolPoolInfoPreloadedDockerImage)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutput() GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { +type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageArrayOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageArrayOutput) Index(i pulumi.IntInput) GetInstancePoolPoolInfoPreloadedDockerImageOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancePoolPoolInfoPreloadedDockerImage { - return vs[0].([]GetInstancePoolPoolInfoPreloadedDockerImage)[vs[1].(int)] - }).(GetInstancePoolPoolInfoPreloadedDockerImageOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput` via: +func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput).ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput is an input type that accepts GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs, GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr and GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput` via: // -// GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput - ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput } -type getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs +type getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs -func GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtr(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrInput { - return (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType)(v) } -func (*getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return i.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrType) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { return &v - }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -type GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) +} -func (GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) ToGetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { return o } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Elem() GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { if v != nil { return *v } - var ret GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth + var ret GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes return ret - }).(GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { if v == nil { return nil } - return &v.Password + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoPreloadedDockerImageBasicAuth) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { if v == nil { return nil } - return &v.Username + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoStats struct { - IdleCount *int `pulumi:"idleCount"` - PendingIdleCount *int `pulumi:"pendingIdleCount"` - PendingUsedCount *int `pulumi:"pendingUsedCount"` - UsedCount *int `pulumi:"usedCount"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -// GetInstancePoolPoolInfoStatsInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs and GetInstancePoolPoolInfoStatsOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsInput` via: -// -// GetInstancePoolPoolInfoStatsArgs{...} -type GetInstancePoolPoolInfoStatsInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} - ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput - ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsOutput +func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetInstancePoolPoolInfoStatsArgs struct { - IdleCount pulumi.IntPtrInput `pulumi:"idleCount"` - PendingIdleCount pulumi.IntPtrInput `pulumi:"pendingIdleCount"` - PendingUsedCount pulumi.IntPtrInput `pulumi:"pendingUsedCount"` - UsedCount pulumi.IntPtrInput `pulumi:"usedCount"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace `pulumi:"workspace"` } -func (GetInstancePoolPoolInfoStatsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { - return i.ToGetInstancePoolPoolInfoStatsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetInstancePoolPoolInfoStatsArgs) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsOutput).ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) } -// GetInstancePoolPoolInfoStatsPtrInput is an input type that accepts GetInstancePoolPoolInfoStatsArgs, GetInstancePoolPoolInfoStatsPtr and GetInstancePoolPoolInfoStatsPtrOutput values. -// You can construct a concrete instance of `GetInstancePoolPoolInfoStatsPtrInput` via: -// -// GetInstancePoolPoolInfoStatsArgs{...} -// -// or: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput` via: // -// nil -type GetInstancePoolPoolInfoStatsPtrInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray{ GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput interface { pulumi.Input - ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput - ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Context) GetInstancePoolPoolInfoStatsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput } -type getInstancePoolPoolInfoStatsPtrType GetInstancePoolPoolInfoStatsArgs - -func GetInstancePoolPoolInfoStatsPtr(v *GetInstancePoolPoolInfoStatsArgs) GetInstancePoolPoolInfoStatsPtrInput { - return (*getInstancePoolPoolInfoStatsPtrType)(v) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray []GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput -func (*getInstancePoolPoolInfoStatsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return i.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getInstancePoolPoolInfoStatsPtrType) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstancePoolPoolInfoStatsPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) } -type GetInstancePoolPoolInfoStatsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetInstancePoolPoolInfoStatsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstancePoolPoolInfoStats)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutput() GetInstancePoolPoolInfoStatsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { return o } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { return o } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return o.ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetInstancePoolPoolInfoStats) *GetInstancePoolPoolInfoStats { - return &v - }).(GetInstancePoolPoolInfoStatsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) IdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.IdleCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) PendingIdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingIdleCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) PendingUsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.PendingUsedCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -func (o GetInstancePoolPoolInfoStatsOutput) UsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetInstancePoolPoolInfoStats) *int { return v.UsedCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -type GetInstancePoolPoolInfoStatsPtrOutput struct{ *pulumi.OutputState } - -func (GetInstancePoolPoolInfoStatsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetInstancePoolPoolInfoStats)(nil)).Elem() +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutput() GetInstancePoolPoolInfoStatsPtrOutput { - return o +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() } -func (o GetInstancePoolPoolInfoStatsPtrOutput) ToGetInstancePoolPoolInfoStatsPtrOutputWithContext(ctx context.Context) GetInstancePoolPoolInfoStatsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { return o } -func (o GetInstancePoolPoolInfoStatsPtrOutput) Elem() GetInstancePoolPoolInfoStatsOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) GetInstancePoolPoolInfoStats { - if v != nil { - return *v - } - var ret GetInstancePoolPoolInfoStats - return ret - }).(GetInstancePoolPoolInfoStatsOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { + return o } -func (o GetInstancePoolPoolInfoStatsPtrOutput) IdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { - if v == nil { - return nil - } - return v.IdleCount - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobClusterNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) } -func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingIdleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { - if v == nil { - return nil - } - return v.PendingIdleCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -func (o GetInstancePoolPoolInfoStatsPtrOutput) PendingUsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { - if v == nil { - return nil - } - return v.PendingUsedCount - }).(pulumi.IntPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput interface { + pulumi.Input -func (o GetInstancePoolPoolInfoStatsPtrOutput) UsedCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetInstancePoolPoolInfoStats) *int { - if v == nil { - return nil - } - return v.UsedCount - }).(pulumi.IntPtrOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput } -type GetInstanceProfilesInstanceProfile struct { - // ARN of the instance profile. - Arn string `pulumi:"arn"` - // Whether the instance profile is a meta instance profile or not. - IsMeta bool `pulumi:"isMeta"` - // Name of the instance profile. - Name string `pulumi:"name"` - // ARN of the role attached to the instance profile. - RoleArn string `pulumi:"roleArn"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// GetInstanceProfilesInstanceProfileInput is an input type that accepts GetInstanceProfilesInstanceProfileArgs and GetInstanceProfilesInstanceProfileOutput values. -// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileInput` via: -// -// GetInstanceProfilesInstanceProfileArgs{...} -type GetInstanceProfilesInstanceProfileInput interface { - pulumi.Input - - ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput - ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileOutput +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -type GetInstanceProfilesInstanceProfileArgs struct { - // ARN of the instance profile. - Arn pulumi.StringInput `pulumi:"arn"` - // Whether the instance profile is a meta instance profile or not. - IsMeta pulumi.BoolInput `pulumi:"isMeta"` - // Name of the instance profile. - Name pulumi.StringInput `pulumi:"name"` - // ARN of the role attached to the instance profile. - RoleArn pulumi.StringInput `pulumi:"roleArn"` +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (GetInstanceProfilesInstanceProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) } -func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { - return i.ToGetInstanceProfilesInstanceProfileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i GetInstanceProfilesInstanceProfileArgs) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// GetInstanceProfilesInstanceProfileArrayInput is an input type that accepts GetInstanceProfilesInstanceProfileArray and GetInstanceProfilesInstanceProfileArrayOutput values. -// You can construct a concrete instance of `GetInstanceProfilesInstanceProfileArrayInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput` via: // -// GetInstanceProfilesInstanceProfileArray{ GetInstanceProfilesInstanceProfileArgs{...} } -type GetInstanceProfilesInstanceProfileArrayInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput - ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Context) GetInstanceProfilesInstanceProfileArrayOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput } -type GetInstanceProfilesInstanceProfileArray []GetInstanceProfilesInstanceProfileInput +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs -func (GetInstanceProfilesInstanceProfileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType)(v) } -func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { - return i.ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetInstanceProfilesInstanceProfileArray) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInstanceProfilesInstanceProfileArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type GetInstanceProfilesInstanceProfileOutput struct{ *pulumi.OutputState } - -func (GetInstanceProfilesInstanceProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutput() GetInstanceProfilesInstanceProfileOutput { - return o +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetInstanceProfilesInstanceProfileOutput) ToGetInstanceProfilesInstanceProfileOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { return o } -// ARN of the instance profile. -func (o GetInstanceProfilesInstanceProfileOutput) Arn() pulumi.StringOutput { - return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.Arn }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return o } -// Whether the instance profile is a meta instance profile or not. -func (o GetInstanceProfilesInstanceProfileOutput) IsMeta() pulumi.BoolOutput { - return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) bool { return v.IsMeta }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -// Name of the instance profile. -func (o GetInstanceProfilesInstanceProfileOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.Name }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) } -// ARN of the role attached to the instance profile. -func (o GetInstanceProfilesInstanceProfileOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v GetInstanceProfilesInstanceProfile) string { return v.RoleArn }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type GetInstanceProfilesInstanceProfileArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetInstanceProfilesInstanceProfileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInstanceProfilesInstanceProfile)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutput() GetInstanceProfilesInstanceProfileArrayOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetInstanceProfilesInstanceProfileArrayOutput) ToGetInstanceProfilesInstanceProfileArrayOutputWithContext(ctx context.Context) GetInstanceProfilesInstanceProfileArrayOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetInstanceProfilesInstanceProfileArrayOutput) Index(i pulumi.IntInput) GetInstanceProfilesInstanceProfileOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstanceProfilesInstanceProfile { - return vs[0].([]GetInstanceProfilesInstanceProfile)[vs[1].(int)] - }).(GetInstanceProfilesInstanceProfileOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) } -type GetJobJobSettings struct { - CreatedTime *int `pulumi:"createdTime"` - CreatorUserName *string `pulumi:"creatorUserName"` - JobId *int `pulumi:"jobId"` - RunAsUserName string `pulumi:"runAsUserName"` - Settings *GetJobJobSettingsSettings `pulumi:"settings"` +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsInput is an input type that accepts GetJobJobSettingsArgs and GetJobJobSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsInput` via: +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsArgs{...} -type GetJobJobSettingsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsOutput() GetJobJobSettingsOutput - ToGetJobJobSettingsOutputWithContext(context.Context) GetJobJobSettingsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsArgs struct { - CreatedTime pulumi.IntPtrInput `pulumi:"createdTime"` - CreatorUserName pulumi.StringPtrInput `pulumi:"creatorUserName"` - JobId pulumi.IntPtrInput `pulumi:"jobId"` - RunAsUserName pulumi.StringInput `pulumi:"runAsUserName"` - Settings GetJobJobSettingsSettingsPtrInput `pulumi:"settings"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { - return i.ToGetJobJobSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsArgs) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsOutput).ToGetJobJobSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsPtrInput is an input type that accepts GetJobJobSettingsArgs, GetJobJobSettingsPtr and GetJobJobSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput - ToGetJobJobSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput } -type getJobJobSettingsPtrType GetJobJobSettingsArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs -func GetJobJobSettingsPtr(v *GetJobJobSettingsArgs) GetJobJobSettingsPtrInput { - return (*getJobJobSettingsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return i.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsPtrType) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutput() GetJobJobSettingsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { - return o.ToGetJobJobSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettings) *GetJobJobSettings { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { return &v - }).(GetJobJobSettingsPtrOutput) -} - -func (o GetJobJobSettingsOutput) CreatedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettings) *int { return v.CreatedTime }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettings) *string { return v.CreatorUserName }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettings) *int { return v.JobId }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsOutput) RunAsUserName() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettings) string { return v.RunAsUserName }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsOutput) Settings() GetJobJobSettingsSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettings) *GetJobJobSettingsSettings { return v.Settings }).(GetJobJobSettingsSettingsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutput() GetJobJobSettingsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsPtrOutput) ToGetJobJobSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsPtrOutput) Elem() GetJobJobSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettings) GetJobJobSettings { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettings + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsOutput) -} - -func (o GetJobJobSettingsPtrOutput) CreatedTime() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *int { - if v == nil { - return nil - } - return v.CreatedTime - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsPtrOutput) CreatorUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *string { - if v == nil { - return nil - } - return v.CreatorUserName - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *int { - if v == nil { - return nil - } - return v.JobId - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsPtrOutput) RunAsUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return &v.RunAsUserName + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsPtrOutput) Settings() GetJobJobSettingsSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettings) *GetJobJobSettingsSettings { - if v == nil { - return nil - } - return v.Settings - }).(GetJobJobSettingsSettingsPtrOutput) -} - -type GetJobJobSettingsSettings struct { - Continuous *GetJobJobSettingsSettingsContinuous `pulumi:"continuous"` - DbtTask *GetJobJobSettingsSettingsDbtTask `pulumi:"dbtTask"` - Deployment *GetJobJobSettingsSettingsDeployment `pulumi:"deployment"` - Description *string `pulumi:"description"` - EditMode *string `pulumi:"editMode"` - EmailNotifications *GetJobJobSettingsSettingsEmailNotifications `pulumi:"emailNotifications"` - Environments []GetJobJobSettingsSettingsEnvironment `pulumi:"environments"` - ExistingClusterId *string `pulumi:"existingClusterId"` - Format string `pulumi:"format"` - GitSource *GetJobJobSettingsSettingsGitSource `pulumi:"gitSource"` - Health *GetJobJobSettingsSettingsHealth `pulumi:"health"` - JobClusters []GetJobJobSettingsSettingsJobCluster `pulumi:"jobClusters"` - Libraries []GetJobJobSettingsSettingsLibrary `pulumi:"libraries"` - MaxConcurrentRuns *int `pulumi:"maxConcurrentRuns"` - MaxRetries *int `pulumi:"maxRetries"` - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - // the job name of Job if the resource was matched by id. - Name *string `pulumi:"name"` - NewCluster *GetJobJobSettingsSettingsNewCluster `pulumi:"newCluster"` - NotebookTask *GetJobJobSettingsSettingsNotebookTask `pulumi:"notebookTask"` - NotificationSettings *GetJobJobSettingsSettingsNotificationSettings `pulumi:"notificationSettings"` - Parameters []GetJobJobSettingsSettingsParameter `pulumi:"parameters"` - PipelineTask *GetJobJobSettingsSettingsPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *GetJobJobSettingsSettingsPythonWheelTask `pulumi:"pythonWheelTask"` - Queue *GetJobJobSettingsSettingsQueue `pulumi:"queue"` - RetryOnTimeout *bool `pulumi:"retryOnTimeout"` - RunAs GetJobJobSettingsSettingsRunAs `pulumi:"runAs"` - RunJobTask *GetJobJobSettingsSettingsRunJobTask `pulumi:"runJobTask"` - Schedule *GetJobJobSettingsSettingsSchedule `pulumi:"schedule"` - SparkJarTask *GetJobJobSettingsSettingsSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *GetJobJobSettingsSettingsSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *GetJobJobSettingsSettingsSparkSubmitTask `pulumi:"sparkSubmitTask"` - Tags map[string]string `pulumi:"tags"` - Tasks []GetJobJobSettingsSettingsTask `pulumi:"tasks"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - Trigger *GetJobJobSettingsSettingsTrigger `pulumi:"trigger"` - WebhookNotifications *GetJobJobSettingsSettingsWebhookNotifications `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsInput is an input type that accepts GetJobJobSettingsSettingsArgs and GetJobJobSettingsSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsArgs{...} -type GetJobJobSettingsSettingsInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput - ToGetJobJobSettingsSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsArgs struct { - Continuous GetJobJobSettingsSettingsContinuousPtrInput `pulumi:"continuous"` - DbtTask GetJobJobSettingsSettingsDbtTaskPtrInput `pulumi:"dbtTask"` - Deployment GetJobJobSettingsSettingsDeploymentPtrInput `pulumi:"deployment"` - Description pulumi.StringPtrInput `pulumi:"description"` - EditMode pulumi.StringPtrInput `pulumi:"editMode"` - EmailNotifications GetJobJobSettingsSettingsEmailNotificationsPtrInput `pulumi:"emailNotifications"` - Environments GetJobJobSettingsSettingsEnvironmentArrayInput `pulumi:"environments"` - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - Format pulumi.StringInput `pulumi:"format"` - GitSource GetJobJobSettingsSettingsGitSourcePtrInput `pulumi:"gitSource"` - Health GetJobJobSettingsSettingsHealthPtrInput `pulumi:"health"` - JobClusters GetJobJobSettingsSettingsJobClusterArrayInput `pulumi:"jobClusters"` - Libraries GetJobJobSettingsSettingsLibraryArrayInput `pulumi:"libraries"` - MaxConcurrentRuns pulumi.IntPtrInput `pulumi:"maxConcurrentRuns"` - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - // the job name of Job if the resource was matched by id. - Name pulumi.StringPtrInput `pulumi:"name"` - NewCluster GetJobJobSettingsSettingsNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask GetJobJobSettingsSettingsNotebookTaskPtrInput `pulumi:"notebookTask"` - NotificationSettings GetJobJobSettingsSettingsNotificationSettingsPtrInput `pulumi:"notificationSettings"` - Parameters GetJobJobSettingsSettingsParameterArrayInput `pulumi:"parameters"` - PipelineTask GetJobJobSettingsSettingsPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask GetJobJobSettingsSettingsPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - Queue GetJobJobSettingsSettingsQueuePtrInput `pulumi:"queue"` - RetryOnTimeout pulumi.BoolPtrInput `pulumi:"retryOnTimeout"` - RunAs GetJobJobSettingsSettingsRunAsInput `pulumi:"runAs"` - RunJobTask GetJobJobSettingsSettingsRunJobTaskPtrInput `pulumi:"runJobTask"` - Schedule GetJobJobSettingsSettingsSchedulePtrInput `pulumi:"schedule"` - SparkJarTask GetJobJobSettingsSettingsSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask GetJobJobSettingsSettingsSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask GetJobJobSettingsSettingsSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - Tags pulumi.StringMapInput `pulumi:"tags"` - Tasks GetJobJobSettingsSettingsTaskArrayInput `pulumi:"tasks"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - Trigger GetJobJobSettingsSettingsTriggerPtrInput `pulumi:"trigger"` - WebhookNotifications GetJobJobSettingsSettingsWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } - -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { - return i.ToGetJobJobSettingsSettingsOutputWithContext(context.Background()) + +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsArgs) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsOutput).ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsArgs, GetJobJobSettingsSettingsPtr and GetJobJobSettingsSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput - ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsPtrType GetJobJobSettingsSettingsArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsPtr(v *GetJobJobSettingsSettingsArgs) GetJobJobSettingsSettingsPtrInput { - return (*getJobJobSettingsSettingsPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPtrType) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutput() GetJobJobSettingsSettingsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettings) *GetJobJobSettingsSettings { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { return v.Continuous }).(GetJobJobSettingsSettingsContinuousPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { return v.Deployment }).(GetJobJobSettingsSettingsDeploymentPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) EditMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.EditMode }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { return v.Environments }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsOutput) Format() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) string { return v.Format }).(pulumi.StringOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { return v.GitSource }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { return v.Health }).(GetJobJobSettingsSettingsHealthPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { return v.JobClusters }).(GetJobJobSettingsSettingsJobClusterArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { return v.Libraries }).(GetJobJobSettingsSettingsLibraryArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxConcurrentRuns }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput } -// the job name of Job if the resource was matched by id. -func (o GetJobJobSettingsSettingsOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *string { return v.Name }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { return v.NotebookTask }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { return v.Parameters }).(GetJobJobSettingsSettingsParameterArrayOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { return v.PipelineTask }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { return v.PythonWheelTask }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) -} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { return v.Queue }).(GetJobJobSettingsSettingsQueuePtrOutput) + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput } -func (o GetJobJobSettingsSettingsOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *bool { return v.RetryOnTimeout }).(pulumi.BoolPtrOutput) -} +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs -func (o GetJobJobSettingsSettingsOutput) RunAs() GetJobJobSettingsSettingsRunAsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) GetJobJobSettingsSettingsRunAs { return v.RunAs }).(GetJobJobSettingsSettingsRunAsOutput) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType)(v) } -func (o GetJobJobSettingsSettingsOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { return v.Schedule }).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { return v.SparkJarTask }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { return v.SparkPythonTask }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { return v.SparkSubmitTask }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { return v.Tasks }).(GetJobJobSettingsSettingsTaskArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return o } -func (o GetJobJobSettingsSettingsOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { return v.Trigger }).(GetJobJobSettingsSettingsTriggerPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutput() GetJobJobSettingsSettingsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsPtrOutput) ToGetJobJobSettingsSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsPtrOutput) Elem() GetJobJobSettingsSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) GetJobJobSettingsSettings { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettings + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Continuous() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsContinuous { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.Continuous - }).(GetJobJobSettingsSettingsContinuousPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) DbtTask() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDbtTask { - if v == nil { - return nil - } - return v.DbtTask - }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -func (o GetJobJobSettingsSettingsPtrOutput) Deployment() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsDeployment { - if v == nil { - return nil - } - return v.Deployment - }).(GetJobJobSettingsSettingsDeploymentPtrOutput) +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output } -func (o GetJobJobSettingsSettingsPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (o GetJobJobSettingsSettingsPtrOutput) EditMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.EditMode - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) EmailNotifications() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsEmailNotifications { - if v == nil { - return nil - } - return v.EmailNotifications - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) Environments() GetJobJobSettingsSettingsEnvironmentArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsEnvironment { - if v == nil { - return nil - } - return v.Environments - }).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return &v.Format - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsPtrOutput) GitSource() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsGitSource { - if v == nil { - return nil - } - return v.GitSource - }).(GetJobJobSettingsSettingsGitSourcePtrOutput) +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput } -func (o GetJobJobSettingsSettingsPtrOutput) Health() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsHealth { - if v == nil { - return nil - } - return v.Health - }).(GetJobJobSettingsSettingsHealthPtrOutput) +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args + +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType)(v) } -func (o GetJobJobSettingsSettingsPtrOutput) JobClusters() GetJobJobSettingsSettingsJobClusterArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsJobCluster { - if v == nil { - return nil - } - return v.JobClusters - }).(GetJobJobSettingsSettingsJobClusterArrayOutput) +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) Libraries() GetJobJobSettingsSettingsLibraryArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(GetJobJobSettingsSettingsLibraryArrayOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) MaxConcurrentRuns() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MaxConcurrentRuns - }).(pulumi.IntPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o } -// the job name of Job if the resource was matched by id. -func (o GetJobJobSettingsSettingsPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) NewCluster() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPtrOutput) NotebookTask() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) NotificationSettings() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsNotificationSettings { - if v == nil { - return nil - } - return v.NotificationSettings - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Parameters() GetJobJobSettingsSettingsParameterArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsParameter { - if v == nil { - return nil - } - return v.Parameters - }).(GetJobJobSettingsSettingsParameterArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) PipelineTask() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPipelineTask { - if v == nil { - return nil - } - return v.PipelineTask - }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsPythonWheelTask { - if v == nil { - return nil - } - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Queue() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsQueue { - if v == nil { - return nil - } - return v.Queue - }).(GetJobJobSettingsSettingsQueuePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *bool { - if v == nil { - return nil - } - return v.RetryOnTimeout - }).(pulumi.BoolPtrOutput) -} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsPtrOutput) RunAs() GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunAs { - if v == nil { - return nil - } - return &v.RunAs - }).(GetJobJobSettingsSettingsRunAsPtrOutput) +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPtrOutput) RunJobTask() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsRunJobTask { - if v == nil { - return nil - } - return v.RunJobTask - }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) Schedule() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSchedule { - if v == nil { - return nil - } - return v.Schedule - }).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsPtrOutput) SparkJarTask() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkJarTask { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { + if v != nil { + return *v } - return v.SparkJarTask - }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkPythonTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsSparkSubmitTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) map[string]string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { if v == nil { return nil } - return v.Tags - }).(pulumi.StringMapOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Tasks() GetJobJobSettingsSettingsTaskArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) []GetJobJobSettingsSettingsTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.Tasks - }).(GetJobJobSettingsSettingsTaskArrayOutput) + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *int { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.TimeoutSeconds - }).(pulumi.IntPtrOutput) + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) Trigger() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsTrigger { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.Trigger - }).(GetJobJobSettingsSettingsTriggerPtrOutput) + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettings) *GetJobJobSettingsSettingsWebhookNotifications { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { if v == nil { return nil } - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsContinuous struct { - PauseStatus *string `pulumi:"pauseStatus"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsContinuousInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs and GetJobJobSettingsSettingsContinuousOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsContinuousArgs{...} -type GetJobJobSettingsSettingsContinuousInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput - ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsContinuousArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsContinuousArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { - return i.ToGetJobJobSettingsSettingsContinuousOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsContinuousArgs) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousOutput).ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsContinuousPtrInput is an input type that accepts GetJobJobSettingsSettingsContinuousArgs, GetJobJobSettingsSettingsContinuousPtr and GetJobJobSettingsSettingsContinuousPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsContinuousPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsContinuousArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsContinuousPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput - ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsContinuousPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsContinuousPtrType GetJobJobSettingsSettingsContinuousArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsContinuousPtr(v *GetJobJobSettingsSettingsContinuousArgs) GetJobJobSettingsSettingsContinuousPtrInput { - return (*getJobJobSettingsSettingsContinuousPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsContinuousPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return i.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsContinuousPtrType) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsContinuousPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsContinuousOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsContinuousOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutput() GetJobJobSettingsSettingsContinuousOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsContinuousOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsContinuous) *GetJobJobSettingsSettingsContinuous { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsContinuousPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsContinuousOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsContinuous) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsContinuousPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsContinuousPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsContinuous)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutput() GetJobJobSettingsSettingsContinuousPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) ToGetJobJobSettingsSettingsContinuousPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsContinuousPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) Elem() GetJobJobSettingsSettingsContinuousOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) GetJobJobSettingsSettingsContinuous { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsContinuous + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsContinuousOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsContinuousPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsContinuous) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.PauseStatus + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsDbtTask struct { - Catalog *string `pulumi:"catalog"` - Commands []string `pulumi:"commands"` - ProfilesDirectory *string `pulumi:"profilesDirectory"` - ProjectDirectory *string `pulumi:"projectDirectory"` - Schema *string `pulumi:"schema"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs and GetJobJobSettingsSettingsDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsDbtTaskArgs{...} -type GetJobJobSettingsSettingsDbtTaskInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput - ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsDbtTaskArgs struct { - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - Commands pulumi.StringArrayInput `pulumi:"commands"` - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - Schema pulumi.StringPtrInput `pulumi:"schema"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDbtTaskArgs) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskOutput).ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsDbtTaskArgs, GetJobJobSettingsSettingsDbtTaskPtr and GetJobJobSettingsSettingsDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDbtTaskPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsDbtTaskArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsDbtTaskPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput - ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput } -type getJobJobSettingsSettingsDbtTaskPtrType GetJobJobSettingsSettingsDbtTaskArgs +type getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs -func GetJobJobSettingsSettingsDbtTaskPtr(v *GetJobJobSettingsSettingsDbtTaskArgs) GetJobJobSettingsSettingsDbtTaskPtrInput { - return (*getJobJobSettingsSettingsDbtTaskPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType)(v) } -func (*getJobJobSettingsSettingsDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsDbtTaskPtrType) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDbtTaskPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsDbtTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutput() GetJobJobSettingsSettingsDbtTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDbtTask) *GetJobJobSettingsSettingsDbtTask { +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { return &v - }).(GetJobJobSettingsSettingsDbtTaskPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { + return o } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` } -type GetJobJobSettingsSettingsDbtTaskPtrOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDbtTask)(nil)).Elem() + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutput() GetJobJobSettingsSettingsDbtTaskPtrOutput { +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +} + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput` via: +// +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput +} + +type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs + +func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType)(v) +} + +func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +} + +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ToGetJobJobSettingsSettingsDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) GetJobJobSettingsSettingsDbtTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsDbtTask - return ret - }).(GetJobJobSettingsSettingsDbtTaskOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil - } - return v.Catalog - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + return &v + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) []string { - if v == nil { - return nil - } - return v.Commands - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { + return o } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { + if v != nil { + return *v } - return v.Source - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType + return ret + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDbtTask) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { if v == nil { return nil } - return v.WarehouseId - }).(pulumi.StringPtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsDeployment struct { - Kind string `pulumi:"kind"` - MetadataFilePath *string `pulumi:"metadataFilePath"` +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsDeploymentInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs and GetJobJobSettingsSettingsDeploymentOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsDeploymentArgs{...} -type GetJobJobSettingsSettingsDeploymentInput interface { +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput - ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsDeploymentArgs struct { - Kind pulumi.StringInput `pulumi:"kind"` - MetadataFilePath pulumi.StringPtrInput `pulumi:"metadataFilePath"` +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsDeploymentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { - return i.ToGetJobJobSettingsSettingsDeploymentOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsDeploymentArgs) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentOutput).ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsDeploymentPtrInput is an input type that accepts GetJobJobSettingsSettingsDeploymentArgs, GetJobJobSettingsSettingsDeploymentPtr and GetJobJobSettingsSettingsDeploymentPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsDeploymentPtrInput` via: +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsDeploymentArgs{...} +// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsDeploymentPtrInput interface { +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput - ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput } -type getJobJobSettingsSettingsDeploymentPtrType GetJobJobSettingsSettingsDeploymentArgs +type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs -func GetJobJobSettingsSettingsDeploymentPtr(v *GetJobJobSettingsSettingsDeploymentArgs) GetJobJobSettingsSettingsDeploymentPtrInput { - return (*getJobJobSettingsSettingsDeploymentPtrType)(v) +func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType)(v) } -func (*getJobJobSettingsSettingsDeploymentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return i.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsDeploymentPtrType) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsDeploymentPtrOutput) +func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsDeploymentOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDeploymentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutput() GetJobJobSettingsSettingsDeploymentOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsDeploymentOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsDeployment) *GetJobJobSettingsSettingsDeployment { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { return &v - }).(GetJobJobSettingsSettingsDeploymentPtrOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsDeploymentOutput) Kind() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) string { return v.Kind }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsDeploymentOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsDeployment) *string { return v.MetadataFilePath }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsDeploymentPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsDeploymentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsDeployment)(nil)).Elem() +func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutput() GetJobJobSettingsSettingsDeploymentPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) ToGetJobJobSettingsSettingsDeploymentPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsDeploymentPtrOutput { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Elem() GetJobJobSettingsSettingsDeploymentOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) GetJobJobSettingsSettingsDeployment { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsDeployment + var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsDeploymentOutput) + }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return &v.Kind - }).(pulumi.StringPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsDeploymentPtrOutput) MetadataFilePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsDeployment) *string { +func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.MetadataFilePath - }).(pulumi.StringPtrOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses []string `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsLibrary struct { + Cran *GetJobJobSettingsSettingsLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// GetJobJobSettingsSettingsEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs and GetJobJobSettingsSettingsEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsInput` via: +// GetJobJobSettingsSettingsLibraryInput is an input type that accepts GetJobJobSettingsSettingsLibraryArgs and GetJobJobSettingsSettingsLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryInput` via: // -// GetJobJobSettingsSettingsEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsEmailNotificationsInput interface { +// GetJobJobSettingsSettingsLibraryArgs{...} +type GetJobJobSettingsSettingsLibraryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput - ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput -} - -type GetJobJobSettingsSettingsEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` -} - -func (GetJobJobSettingsSettingsEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() + ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput + ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryOutput } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsLibraryArgs struct { + Cran GetJobJobSettingsSettingsLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetJobJobSettingsSettingsLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetJobJobSettingsSettingsLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput) +func (GetJobJobSettingsSettingsLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { + return i.ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEmailNotificationsArgs) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsOutput).ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryOutput) } -// GetJobJobSettingsSettingsEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsEmailNotificationsArgs, GetJobJobSettingsSettingsEmailNotificationsPtr and GetJobJobSettingsSettingsEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEmailNotificationsPtrInput` via: -// -// GetJobJobSettingsSettingsEmailNotificationsArgs{...} -// -// or: +// GetJobJobSettingsSettingsLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsLibraryArray and GetJobJobSettingsSettingsLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryArrayInput` via: // -// nil -type GetJobJobSettingsSettingsEmailNotificationsPtrInput interface { +// GetJobJobSettingsSettingsLibraryArray{ GetJobJobSettingsSettingsLibraryArgs{...} } +type GetJobJobSettingsSettingsLibraryArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput + ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryArrayOutput } -type getJobJobSettingsSettingsEmailNotificationsPtrType GetJobJobSettingsSettingsEmailNotificationsArgs - -func GetJobJobSettingsSettingsEmailNotificationsPtr(v *GetJobJobSettingsSettingsEmailNotificationsArgs) GetJobJobSettingsSettingsEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsEmailNotificationsPtrType)(v) -} +type GetJobJobSettingsSettingsLibraryArray []GetJobJobSettingsSettingsLibraryInput -func (*getJobJobSettingsSettingsEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsEmailNotificationsPtrType) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryArrayOutput) } -type GetJobJobSettingsSettingsEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutput() GetJobJobSettingsSettingsEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEmailNotifications) *GetJobJobSettingsSettingsEmailNotifications { - return &v - }).(GetJobJobSettingsSettingsEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Cran() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Maven() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryMaven { return v.Maven }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Pypi() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutput() GetJobJobSettingsSettingsEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { return o } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) GetJobJobSettingsSettingsEmailNotifications { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsEmailNotifications - return ret - }).(GetJobJobSettingsSettingsEmailNotificationsOutput) +func (o GetJobJobSettingsSettingsLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsLibrary { + return vs[0].([]GetJobJobSettingsSettingsLibrary)[vs[1].(int)] + }).(GetJobJobSettingsSettingsLibraryOutput) } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) +// GetJobJobSettingsSettingsLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs and GetJobJobSettingsSettingsLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranInput` via: +// +// GetJobJobSettingsSettingsLibraryCranArgs{...} +type GetJobJobSettingsSettingsLibraryCranInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput + ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranOutput } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnFailures - }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStarts - }).(pulumi.StringArrayOutput) +func (GetJobJobSettingsSettingsLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput) } -type GetJobJobSettingsSettingsEnvironment struct { - EnvironmentKey string `pulumi:"environmentKey"` - Spec *GetJobJobSettingsSettingsEnvironmentSpec `pulumi:"spec"` +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsEnvironmentInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArgs and GetJobJobSettingsSettingsEnvironmentOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentInput` via: +func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput).ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs, GetJobJobSettingsSettingsLibraryCranPtr and GetJobJobSettingsSettingsLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranPtrInput` via: // -// GetJobJobSettingsSettingsEnvironmentArgs{...} -type GetJobJobSettingsSettingsEnvironmentInput interface { +// GetJobJobSettingsSettingsLibraryCranArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsLibraryCranPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput - ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentOutput + ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput + ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput } -type GetJobJobSettingsSettingsEnvironmentArgs struct { - EnvironmentKey pulumi.StringInput `pulumi:"environmentKey"` - Spec GetJobJobSettingsSettingsEnvironmentSpecPtrInput `pulumi:"spec"` -} +type getJobJobSettingsSettingsLibraryCranPtrType GetJobJobSettingsSettingsLibraryCranArgs -func (GetJobJobSettingsSettingsEnvironmentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func GetJobJobSettingsSettingsLibraryCranPtr(v *GetJobJobSettingsSettingsLibraryCranArgs) GetJobJobSettingsSettingsLibraryCranPtrInput { + return (*getJobJobSettingsSettingsLibraryCranPtrType)(v) } -func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEnvironmentArgs) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentOutput) +func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsEnvironmentArrayInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentArray and GetJobJobSettingsSettingsEnvironmentArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentArrayInput` via: -// -// GetJobJobSettingsSettingsEnvironmentArray{ GetJobJobSettingsSettingsEnvironmentArgs{...} } -type GetJobJobSettingsSettingsEnvironmentArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput - ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput +func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranPtrOutput) } -type GetJobJobSettingsSettingsEnvironmentArray []GetJobJobSettingsSettingsEnvironmentInput - -func (GetJobJobSettingsSettingsEnvironmentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() -} +type GetJobJobSettingsSettingsLibraryCranOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEnvironmentArray) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentArrayOutput) +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { + return o } -type GetJobJobSettingsSettingsEnvironmentOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsEnvironmentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { + return o } -func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutput() GetJobJobSettingsSettingsEnvironmentOutput { - return o +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsEnvironmentOutput) ToGetJobJobSettingsSettingsEnvironmentOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentOutput { - return o +func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryCran) *GetJobJobSettingsSettingsLibraryCran { + return &v + }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsEnvironmentOutput) EnvironmentKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) string { return v.EnvironmentKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsEnvironmentOutput) Spec() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironment) *GetJobJobSettingsSettingsEnvironmentSpec { return v.Spec }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) +func (o GetJobJobSettingsSettingsLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsEnvironmentArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryCranPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEnvironmentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsEnvironment)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutput() GetJobJobSettingsSettingsEnvironmentArrayOutput { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) ToGetJobJobSettingsSettingsEnvironmentArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentArrayOutput { +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsEnvironmentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsEnvironment { - return vs[0].([]GetJobJobSettingsSettingsEnvironment)[vs[1].(int)] - }).(GetJobJobSettingsSettingsEnvironmentOutput) +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) GetJobJobSettingsSettingsLibraryCran { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsLibraryCran + return ret + }).(GetJobJobSettingsSettingsLibraryCranOutput) +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { + if v == nil { + return nil + } + return &v.Package + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsEnvironmentSpec struct { - Client string `pulumi:"client"` - Dependencies []string `pulumi:"dependencies"` +type GetJobJobSettingsSettingsLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsEnvironmentSpecInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs and GetJobJobSettingsSettingsEnvironmentSpecOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecInput` via: +// GetJobJobSettingsSettingsLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs and GetJobJobSettingsSettingsLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenInput` via: // -// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} -type GetJobJobSettingsSettingsEnvironmentSpecInput interface { +// GetJobJobSettingsSettingsLibraryMavenArgs{...} +type GetJobJobSettingsSettingsLibraryMavenInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput - ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput + ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput + ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenOutput } -type GetJobJobSettingsSettingsEnvironmentSpecArgs struct { - Client pulumi.StringInput `pulumi:"client"` - Dependencies pulumi.StringArrayInput `pulumi:"dependencies"` +type GetJobJobSettingsSettingsLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsEnvironmentSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput) } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsEnvironmentSpecArgs) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecOutput).ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput).ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsEnvironmentSpecPtrInput is an input type that accepts GetJobJobSettingsSettingsEnvironmentSpecArgs, GetJobJobSettingsSettingsEnvironmentSpecPtr and GetJobJobSettingsSettingsEnvironmentSpecPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsEnvironmentSpecPtrInput` via: +// GetJobJobSettingsSettingsLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs, GetJobJobSettingsSettingsLibraryMavenPtr and GetJobJobSettingsSettingsLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenPtrInput` via: // -// GetJobJobSettingsSettingsEnvironmentSpecArgs{...} +// GetJobJobSettingsSettingsLibraryMavenArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsEnvironmentSpecPtrInput interface { +type GetJobJobSettingsSettingsLibraryMavenPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput - ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput + ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput } -type getJobJobSettingsSettingsEnvironmentSpecPtrType GetJobJobSettingsSettingsEnvironmentSpecArgs +type getJobJobSettingsSettingsLibraryMavenPtrType GetJobJobSettingsSettingsLibraryMavenArgs -func GetJobJobSettingsSettingsEnvironmentSpecPtr(v *GetJobJobSettingsSettingsEnvironmentSpecArgs) GetJobJobSettingsSettingsEnvironmentSpecPtrInput { - return (*getJobJobSettingsSettingsEnvironmentSpecPtrType)(v) +func GetJobJobSettingsSettingsLibraryMavenPtr(v *GetJobJobSettingsSettingsLibraryMavenArgs) GetJobJobSettingsSettingsLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsLibraryMavenPtrType)(v) } -func (*getJobJobSettingsSettingsEnvironmentSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (*getJobJobSettingsSettingsLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return i.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsEnvironmentSpecPtrType) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) +func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsEnvironmentSpecOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryMavenOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsEnvironmentSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutput() GetJobJobSettingsSettingsEnvironmentSpecOutput { +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecOutput { +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return o.ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsEnvironmentSpec) *GetJobJobSettingsSettingsEnvironmentSpec { +func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryMaven) *GetJobJobSettingsSettingsLibraryMaven { return &v - }).(GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) + }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Client() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) string { return v.Client }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecOutput) Dependencies() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsEnvironmentSpec) []string { return v.Dependencies }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsEnvironmentSpecPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsEnvironmentSpec)(nil)).Elem() +type GetJobJobSettingsSettingsLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutput() GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) ToGetJobJobSettingsSettingsEnvironmentSpecPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsEnvironmentSpecPtrOutput { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Elem() GetJobJobSettingsSettingsEnvironmentSpecOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) GetJobJobSettingsSettingsEnvironmentSpec { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) GetJobJobSettingsSettingsLibraryMaven { if v != nil { return *v } - var ret GetJobJobSettingsSettingsEnvironmentSpec + var ret GetJobJobSettingsSettingsLibraryMaven return ret - }).(GetJobJobSettingsSettingsEnvironmentSpecOutput) + }).(GetJobJobSettingsSettingsLibraryMavenOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Client() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) *string { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { if v == nil { return nil } - return &v.Client + return &v.Coordinates }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsEnvironmentSpecPtrOutput) Dependencies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsEnvironmentSpec) []string { +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) []string { if v == nil { return nil } - return v.Dependencies + return v.Exclusions }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsGitSource struct { - Branch *string `pulumi:"branch"` - Commit *string `pulumi:"commit"` - JobSource *GetJobJobSettingsSettingsGitSourceJobSource `pulumi:"jobSource"` - Provider *string `pulumi:"provider"` - Tag *string `pulumi:"tag"` - Url string `pulumi:"url"` +func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsGitSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs and GetJobJobSettingsSettingsGitSourceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceInput` via: +type GetJobJobSettingsSettingsLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs and GetJobJobSettingsSettingsLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiInput` via: // -// GetJobJobSettingsSettingsGitSourceArgs{...} -type GetJobJobSettingsSettingsGitSourceInput interface { +// GetJobJobSettingsSettingsLibraryPypiArgs{...} +type GetJobJobSettingsSettingsLibraryPypiInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput - ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceOutput + ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput + ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiOutput } -type GetJobJobSettingsSettingsGitSourceArgs struct { - Branch pulumi.StringPtrInput `pulumi:"branch"` - Commit pulumi.StringPtrInput `pulumi:"commit"` - JobSource GetJobJobSettingsSettingsGitSourceJobSourcePtrInput `pulumi:"jobSource"` - Provider pulumi.StringPtrInput `pulumi:"provider"` - Tag pulumi.StringPtrInput `pulumi:"tag"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsGitSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { - return i.ToGetJobJobSettingsSettingsGitSourceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceArgs) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceOutput).ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput).ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsGitSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceArgs, GetJobJobSettingsSettingsGitSourcePtr and GetJobJobSettingsSettingsGitSourcePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourcePtrInput` via: +// GetJobJobSettingsSettingsLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs, GetJobJobSettingsSettingsLibraryPypiPtr and GetJobJobSettingsSettingsLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiPtrInput` via: // -// GetJobJobSettingsSettingsGitSourceArgs{...} +// GetJobJobSettingsSettingsLibraryPypiArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsGitSourcePtrInput interface { +type GetJobJobSettingsSettingsLibraryPypiPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput - ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput + ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput } -type getJobJobSettingsSettingsGitSourcePtrType GetJobJobSettingsSettingsGitSourceArgs +type getJobJobSettingsSettingsLibraryPypiPtrType GetJobJobSettingsSettingsLibraryPypiArgs -func GetJobJobSettingsSettingsGitSourcePtr(v *GetJobJobSettingsSettingsGitSourceArgs) GetJobJobSettingsSettingsGitSourcePtrInput { - return (*getJobJobSettingsSettingsGitSourcePtrType)(v) +func GetJobJobSettingsSettingsLibraryPypiPtr(v *GetJobJobSettingsSettingsLibraryPypiArgs) GetJobJobSettingsSettingsLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsLibraryPypiPtrType)(v) } -func (*getJobJobSettingsSettingsGitSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (*getJobJobSettingsSettingsLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsGitSourcePtrType) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourcePtrOutput) +func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) } -type GetJobJobSettingsSettingsGitSourceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryPypiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutput() GetJobJobSettingsSettingsGitSourceOutput { +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceOutput { +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsGitSourceOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSource { +func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryPypi) *GetJobJobSettingsSettingsLibraryPypi { return &v - }).(GetJobJobSettingsSettingsGitSourcePtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) Branch() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Branch }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) Commit() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Commit }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { - return v.JobSource - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourceOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Provider }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) *string { return v.Tag }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsGitSourceOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSource) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsGitSourcePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSource)(nil)).Elem() +func (GetJobJobSettingsSettingsLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutput() GetJobJobSettingsSettingsGitSourcePtrOutput { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourcePtrOutput { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) GetJobJobSettingsSettingsGitSource { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) GetJobJobSettingsSettingsLibraryPypi { if v != nil { return *v } - var ret GetJobJobSettingsSettingsGitSource + var ret GetJobJobSettingsSettingsLibraryPypi return ret - }).(GetJobJobSettingsSettingsGitSourceOutput) -} - -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Branch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { - if v == nil { - return nil - } - return v.Branch - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Commit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { - if v == nil { - return nil - } - return v.Commit - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) JobSource() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *GetJobJobSettingsSettingsGitSourceJobSource { - if v == nil { - return nil - } - return v.JobSource - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) -} - -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { - if v == nil { - return nil - } - return v.Provider - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsLibraryPypiOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Tag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { if v == nil { return nil } - return v.Tag + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourcePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSource) *string { +func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { if v == nil { return nil } - return &v.Url + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSource struct { - DirtyState *string `pulumi:"dirtyState"` - ImportFromGitBranch string `pulumi:"importFromGitBranch"` - JobConfigPath string `pulumi:"jobConfigPath"` +type GetJobJobSettingsSettingsNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetJobJobSettingsSettingsNewClusterAutoscale `pulumi:"autoscale"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetJobJobSettingsSettingsNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetJobJobSettingsSettingsNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetJobJobSettingsSettingsNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetJobJobSettingsSettingsNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetJobJobSettingsSettingsNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetJobJobSettingsSettingsNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetJobJobSettingsSettingsNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsNewClusterWorkloadType `pulumi:"workloadType"` } -// GetJobJobSettingsSettingsGitSourceJobSourceInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs and GetJobJobSettingsSettingsGitSourceJobSourceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourceInput` via: +// GetJobJobSettingsSettingsNewClusterInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs and GetJobJobSettingsSettingsNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInput` via: // -// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} -type GetJobJobSettingsSettingsGitSourceJobSourceInput interface { +// GetJobJobSettingsSettingsNewClusterArgs{...} +type GetJobJobSettingsSettingsNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput - ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput + ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput + ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterOutput } -type GetJobJobSettingsSettingsGitSourceJobSourceArgs struct { - DirtyState pulumi.StringPtrInput `pulumi:"dirtyState"` - ImportFromGitBranch pulumi.StringInput `pulumi:"importFromGitBranch"` - JobConfigPath pulumi.StringInput `pulumi:"jobConfigPath"` +type GetJobJobSettingsSettingsNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetJobJobSettingsSettingsNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetJobJobSettingsSettingsNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetJobJobSettingsSettingsNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetJobJobSettingsSettingsGitSourceJobSourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { + return i.ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsGitSourceJobSourceArgs) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourceOutput).ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput).ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsGitSourceJobSourcePtrInput is an input type that accepts GetJobJobSettingsSettingsGitSourceJobSourceArgs, GetJobJobSettingsSettingsGitSourceJobSourcePtr and GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsGitSourceJobSourcePtrInput` via: +// GetJobJobSettingsSettingsNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs, GetJobJobSettingsSettingsNewClusterPtr and GetJobJobSettingsSettingsNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsGitSourceJobSourceArgs{...} +// GetJobJobSettingsSettingsNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsGitSourceJobSourcePtrInput interface { +type GetJobJobSettingsSettingsNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput - ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput + ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput + ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput } -type getJobJobSettingsSettingsGitSourceJobSourcePtrType GetJobJobSettingsSettingsGitSourceJobSourceArgs +type getJobJobSettingsSettingsNewClusterPtrType GetJobJobSettingsSettingsNewClusterArgs -func GetJobJobSettingsSettingsGitSourceJobSourcePtr(v *GetJobJobSettingsSettingsGitSourceJobSourceArgs) GetJobJobSettingsSettingsGitSourceJobSourcePtrInput { - return (*getJobJobSettingsSettingsGitSourceJobSourcePtrType)(v) +func GetJobJobSettingsSettingsNewClusterPtr(v *GetJobJobSettingsSettingsNewClusterArgs) GetJobJobSettingsSettingsNewClusterPtrInput { + return (*getJobJobSettingsSettingsNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsGitSourceJobSourcePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return i.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsGitSourceJobSourcePtrType) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterPtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSourceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsGitSourceJobSourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutput() GetJobJobSettingsSettingsGitSourceJobSourceOutput { +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourceOutput { +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsGitSourceJobSource) *GetJobJobSettingsSettingsGitSourceJobSource { +func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewCluster { return &v - }).(GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) *string { return v.DirtyState }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) ImportFromGitBranch() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.ImportFromGitBranch }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourceOutput) JobConfigPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsGitSourceJobSource) string { return v.JobConfigPath }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +} -func (GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsGitSourceJobSource)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutput() GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ToGetJobJobSettingsSettingsGitSourceJobSourcePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) Elem() GetJobJobSettingsSettingsGitSourceJobSourceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) GetJobJobSettingsSettingsGitSourceJobSource { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsGitSourceJobSource - return ret - }).(GetJobJobSettingsSettingsGitSourceJobSourceOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) DirtyState() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { - if v == nil { - return nil - } - return v.DirtyState - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) ImportFromGitBranch() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { - if v == nil { - return nil - } - return &v.ImportFromGitBranch - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsGitSourceJobSourcePtrOutput) JobConfigPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsGitSourceJobSource) *string { - if v == nil { - return nil - } - return &v.JobConfigPath - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsHealth struct { - Rules []GetJobJobSettingsSettingsHealthRule `pulumi:"rules"` +func (o GetJobJobSettingsSettingsNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -// GetJobJobSettingsSettingsHealthInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs and GetJobJobSettingsSettingsHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthInput` via: -// -// GetJobJobSettingsSettingsHealthArgs{...} -type GetJobJobSettingsSettingsHealthInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +} - ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput - ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthOutput +func (o GetJobJobSettingsSettingsNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsHealthArgs struct { - Rules GetJobJobSettingsSettingsHealthRuleArrayInput `pulumi:"rules"` +func (o GetJobJobSettingsSettingsNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { - return i.ToGetJobJobSettingsSettingsHealthOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (i GetJobJobSettingsSettingsHealthArgs) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthOutput).ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsHealthArgs, GetJobJobSettingsSettingsHealthPtr and GetJobJobSettingsSettingsHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthPtrInput` via: -// -// GetJobJobSettingsSettingsHealthArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsHealthPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput - ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthPtrOutput +func (o GetJobJobSettingsSettingsNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsHealthPtrType GetJobJobSettingsSettingsHealthArgs +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +} -func GetJobJobSettingsSettingsHealthPtr(v *GetJobJobSettingsSettingsHealthArgs) GetJobJobSettingsSettingsHealthPtrInput { - return (*getJobJobSettingsSettingsHealthPtrType)(v) +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (*getJobJobSettingsSettingsHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (i *getJobJobSettingsSettingsHealthPtrType) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutput() GetJobJobSettingsSettingsHealthOutput { +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthOutput { +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) GetJobJobSettingsSettingsNewCluster { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewCluster + return ret + }).(GetJobJobSettingsSettingsNewClusterOutput) } -func (o GetJobJobSettingsSettingsHealthOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsHealth) *GetJobJobSettingsSettingsHealth { - return &v - }).(GetJobJobSettingsSettingsHealthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsHealthOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { return v.Rules }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsHealthPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsHealth)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutput() GetJobJobSettingsSettingsHealthPtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) ToGetJobJobSettingsSettingsHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthPtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) Elem() GetJobJobSettingsSettingsHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) GetJobJobSettingsSettingsHealth { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsHealth - return ret - }).(GetJobJobSettingsSettingsHealthOutput) + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsHealthPtrOutput) Rules() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsHealth) []GetJobJobSettingsSettingsHealthRule { +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsHealthRuleArrayOutput) + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsHealthRule struct { - Metric string `pulumi:"metric"` - Op string `pulumi:"op"` - Value int `pulumi:"value"` +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) } -// GetJobJobSettingsSettingsHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArgs and GetJobJobSettingsSettingsHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleInput` via: -// -// GetJobJobSettingsSettingsHealthRuleArgs{...} -type GetJobJobSettingsSettingsHealthRuleInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput - ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleOutput +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealthRuleArgs struct { - Metric pulumi.StringInput `pulumi:"metric"` - Op pulumi.StringInput `pulumi:"op"` - Value pulumi.IntInput `pulumi:"value"` +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -func (GetJobJobSettingsSettingsHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -func (i GetJobJobSettingsSettingsHealthRuleArgs) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsHealthRuleArray and GetJobJobSettingsSettingsHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsHealthRuleArrayInput` via: -// -// GetJobJobSettingsSettingsHealthRuleArray{ GetJobJobSettingsSettingsHealthRuleArgs{...} } -type GetJobJobSettingsSettingsHealthRuleArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput - ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealthRuleArray []GetJobJobSettingsSettingsHealthRuleInput +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -func (i GetJobJobSettingsSettingsHealthRuleArray) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealthRuleOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +} -func (GetJobJobSettingsSettingsHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutput() GetJobJobSettingsSettingsHealthRuleOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) ToGetJobJobSettingsSettingsHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) string { return v.Metric }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) string { return v.Op }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleOutput) Value() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsHealthRule) int { return v.Value }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsHealthRuleArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.StringMapOutput) +} -func (GetJobJobSettingsSettingsHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsHealthRule)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutput() GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) ToGetJobJobSettingsSettingsHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsHealthRuleArrayOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []string { + if v == nil { + return nil + } + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsHealthRule { - return vs[0].([]GetJobJobSettingsSettingsHealthRule)[vs[1].(int)] - }).(GetJobJobSettingsSettingsHealthRuleOutput) +func (o GetJobJobSettingsSettingsNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { + if v == nil { + return nil + } + return v.WorkloadType + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsJobCluster struct { - JobClusterKey string `pulumi:"jobClusterKey"` - NewCluster GetJobJobSettingsSettingsJobClusterNewCluster `pulumi:"newCluster"` +type GetJobJobSettingsSettingsNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsJobClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArgs and GetJobJobSettingsSettingsJobClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterInput` via: +// GetJobJobSettingsSettingsNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs and GetJobJobSettingsSettingsNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsJobClusterArgs{...} -type GetJobJobSettingsSettingsJobClusterInput interface { +// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput - ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterOutput + ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsJobClusterArgs struct { - JobClusterKey pulumi.StringInput `pulumi:"jobClusterKey"` - NewCluster GetJobJobSettingsSettingsJobClusterNewClusterInput `pulumi:"newCluster"` +type GetJobJobSettingsSettingsNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetJobJobSettingsSettingsJobClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) } -func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { - return i.ToGetJobJobSettingsSettingsJobClusterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterArgs) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterOutput) +func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterArray and GetJobJobSettingsSettingsJobClusterArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterArrayInput` via: +// GetJobJobSettingsSettingsNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs, GetJobJobSettingsSettingsNewClusterAutoscalePtr and GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterArray{ GetJobJobSettingsSettingsJobClusterArgs{...} } -type GetJobJobSettingsSettingsJobClusterArrayInput interface { +// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput - ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput + ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput } -type GetJobJobSettingsSettingsJobClusterArray []GetJobJobSettingsSettingsJobClusterInput +type getJobJobSettingsSettingsNewClusterAutoscalePtrType GetJobJobSettingsSettingsNewClusterAutoscaleArgs -func (GetJobJobSettingsSettingsJobClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func GetJobJobSettingsSettingsNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsNewClusterAutoscaleArgs) GetJobJobSettingsSettingsNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsNewClusterAutoscalePtrType)(v) } -func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterArray) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobClusterOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterAutoscaleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutput() GetJobJobSettingsSettingsJobClusterOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterOutput) ToGetJobJobSettingsSettingsJobClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterOutput) JobClusterKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) string { return v.JobClusterKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterOutput) NewCluster() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobCluster) GetJobJobSettingsSettingsJobClusterNewCluster { - return v.NewCluster - }).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAutoscale) *GetJobJobSettingsSettingsNewClusterAutoscale { + return &v + }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsJobClusterArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobCluster)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutput() GetJobJobSettingsSettingsJobClusterArrayOutput { +type GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) ToGetJobJobSettingsSettingsJobClusterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobCluster { - return vs[0].([]GetJobJobSettingsSettingsJobCluster)[vs[1].(int)] - }).(GetJobJobSettingsSettingsJobClusterOutput) +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) GetJobJobSettingsSettingsNewClusterAutoscale { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterAutoscale + return ret + }).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) } -type GetJobJobSettingsSettingsJobClusterNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale `pulumi:"autoscale"` - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetJobJobSettingsSettingsJobClusterNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType `pulumi:"workloadType"` +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterArgs and GetJobJobSettingsSettingsJobClusterNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInput` via: +func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { + if v == nil { + return nil + } + return v.MinWorkers + }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInput interface { +// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type GetJobJobSettingsSettingsNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterOutput) +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewCluster)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutput() GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o +func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterOutput { - return o -} +// GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) + ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) Autoscale() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +type getJobJobSettingsSettingsNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsNewClusterAwsAttributesArgs + +func GetJobJobSettingsSettingsNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAwsAttributes) *GetJobJobSettingsSettingsNewClusterAwsAttributes { + return &v + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DockerImage() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InitScripts() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []GetJobJobSettingsSettingsJobClusterNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) +type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) GetJobJobSettingsSettingsNewClusterAwsAttributes { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterAwsAttributes + return ret + }).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewCluster) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs and GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs, GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr and GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs +type getJobJobSettingsSettingsNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAzureAttributes) *GetJobJobSettingsSettingsNewClusterAzureAttributes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAutoscale)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) GetJobJobSettingsSettingsJobClusterNewClusterAutoscale { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) GetJobJobSettingsSettingsNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAutoscale + var ret GetJobJobSettingsSettingsNewClusterAzureAttributes return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleOutput) + }).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.MinWorkers + return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput` via: +type GetJobJobSettingsSettingsNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 `pulumi:"s3"` +} + +// GetJobJobSettingsSettingsNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConf { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) GetJobJobSettingsSettingsNewClusterClusterLogConf { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsNewClusterClusterLogConf return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { if v == nil { return nil } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *string { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.Availability + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) -} - -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput` via: +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs{...} +// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput interface { +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs +type getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType)(v) +func GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf + var ret GetJobJobSettingsSettingsNewClusterClusterLogConfS3 return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfOutput) + }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConf) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) +// GetJobJobSettingsSettingsNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput` via: +// +// GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput interface { + pulumi.Input -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType)(v) + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsNewClusterClusterMountInfoInput + +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input` via: +// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -type getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args - -func GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType)(v) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (*getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +type GetJobJobSettingsSettingsNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs and GetJobJobSettingsSettingsNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageInput` via: +// +// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsNewClusterDockerImageInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() + ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return o +type GetJobJobSettingsSettingsNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return o +func (GetJobJobSettingsSettingsNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +// GetJobJobSettingsSettingsNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs, GetJobJobSettingsSettingsNewClusterDockerImagePtr and GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImagePtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterDockerImagePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +type getJobJobSettingsSettingsNewClusterDockerImagePtrType GetJobJobSettingsSettingsNewClusterDockerImageArgs + +func GetJobJobSettingsSettingsNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsNewClusterDockerImageArgs) GetJobJobSettingsSettingsNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsNewClusterDockerImagePtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Output) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImage { + return &v + }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) GetJobJobSettingsSettingsNewClusterDockerImage { + if v != nil { + return *v } - return v.Endpoint - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsNewClusterDockerImage + return ret + }).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { if v == nil { return nil } - return v.KmsKey - }).(pulumi.StringPtrOutput) + return v.BasicAuth + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *string { if v == nil { return nil } - return v.Region + return &v.Url }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput` via: +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput interface { +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput -} - -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput` via: +// +// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return o -} +type getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return o +func GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType)(v) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) string { - return v.LocalMountDirPath - }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo) *string { - return v.RemoteMountDirPath - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoOutput) -} - -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + return &v + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() } -type GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput` via: +// GetJobJobSettingsSettingsNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs +type getJobJobSettingsSettingsNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterGcpAttributes) *GetJobJobSettingsSettingsNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImage)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) GetJobJobSettingsSettingsJobClusterNewClusterDockerImage { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) GetJobJobSettingsSettingsNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImage + var ret GetJobJobSettingsSettingsNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageOutput) + }).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.BasicAuth - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { if v == nil { return nil } - return &v.Url + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { + if v == nil { + return nil + } + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput +func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace `pulumi:"workspace"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +// GetJobJobSettingsSettingsNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArgs and GetJobJobSettingsSettingsNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) +func (GetJobJobSettingsSettingsNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs{...} -// -// or: +// GetJobJobSettingsSettingsNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArray and GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptArrayInput` via: // -// nil -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptArray{ GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsNewClusterInitScriptArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput } -type getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs - -func GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType)(v) -} +type GetJobJobSettingsSettingsNewClusterInitScriptArray []GetJobJobSettingsSettingsNewClusterInitScriptInput -func (*getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput { - return o +type GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth - return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs +type getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs -func GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) GetJobJobSettingsSettingsNewClusterInitScriptAbfss { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes + var ret GetJobJobSettingsSettingsNewClusterInitScriptAbfss return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *string { if v == nil { return nil } - return v.GoogleServiceAccount + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) -} +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput` via: +// +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace `pulumi:"workspace"` +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput` via: -// -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray{ GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray []GetJobJobSettingsSettingsJobClusterNewClusterInitScriptInput +type getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType)(v) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArray) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return o -} +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return o +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { + return &v + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) -} +type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScript) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) GetJobJobSettingsSettingsNewClusterInitScriptDbfs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsNewClusterInitScriptDbfs + return ret + }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsJobClusterNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsJobClusterNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss struct { +type GetJobJobSettingsSettingsNewClusterInitScriptFile struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptFileArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptFile) *GetJobJobSettingsSettingsNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) GetJobJobSettingsSettingsNewClusterInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsNewClusterInitScriptFile return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) *string { if v == nil { return nil } @@ -16270,132 +28097,132 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssPtrOutput) D }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptGcs struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptGcs) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) GetJobJobSettingsSettingsNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs + var ret GetJobJobSettingsSettingsNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) *string { if v == nil { return nil } @@ -16403,132 +28230,177 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsPtrOutput) De }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args and GetJobJobSettingsSettingsNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3Input` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsNewClusterInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args, GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs +type getJobJobSettingsSettingsNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsNewClusterInitScriptS3Args -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsNewClusterInitScriptS3Args) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptS3) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) GetJobJobSettingsSettingsNewClusterInitScriptS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile + var ret GetJobJobSettingsSettingsNewClusterInitScriptS3 return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFile) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { if v == nil { return nil } @@ -16536,132 +28408,177 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFilePtrOutput) De }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs struct { +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNewClusterInitScriptVolumes struct { Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs struct { +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs struct { Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs{...} +// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs +type getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) GetJobJobSettingsSettingsNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs + var ret GetJobJobSettingsSettingsNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *string { if v == nil { return nil } @@ -16669,177 +28586,132 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsPtrOutput) Des }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } - -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() + +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args +type getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsNewClusterInitScriptWorkspace return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Output) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *string { if v == nil { return nil } @@ -16847,27895 +28719,27887 @@ func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Dest }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClients `pulumi:"clients"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadType { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes + var ret GetJobJobSettingsSettingsNewClusterWorkloadType return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumes) *string { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput` via: +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs{...} +// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput interface { +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs +type getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType)(v) +func GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) +func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace)(nil)).Elem() +type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients `pulumi:"clients"` +func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput` via: +type GetJobJobSettingsSettingsNotebookTask struct { + BaseParameters map[string]string `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// GetJobJobSettingsSettingsNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs and GetJobJobSettingsSettingsNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsNotebookTaskArgs{...} +type GetJobJobSettingsSettingsNotebookTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput + ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type GetJobJobSettingsSettingsNotebookTaskArgs struct { + BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput).ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput` via: +// GetJobJobSettingsSettingsNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs, GetJobJobSettingsSettingsNotebookTaskPtr and GetJobJobSettingsSettingsNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs{...} +// GetJobJobSettingsSettingsNotebookTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput interface { +type GetJobJobSettingsSettingsNotebookTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs +type getJobJobSettingsSettingsNotebookTaskPtrType GetJobJobSettingsSettingsNotebookTaskArgs -func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType)(v) +func GetJobJobSettingsSettingsNotebookTaskPtr(v *GetJobJobSettingsSettingsNotebookTaskArgs) GetJobJobSettingsSettingsNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsNotebookTaskPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (*getJobJobSettingsSettingsNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotebookTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotebookTask) *GetJobJobSettingsSettingsNotebookTask { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) + }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNotebookTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) GetJobJobSettingsSettingsNotebookTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType + var ret GetJobJobSettingsSettingsNotebookTask return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeOutput) + }).(GetJobJobSettingsSettingsNotebookTaskOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadType) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) map[string]string { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) + return v.BaseParameters + }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput` via: +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsNotificationSettings struct { + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +} + +// GetJobJobSettingsSettingsNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs and GetJobJobSettingsSettingsNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput + ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetJobJobSettingsSettingsNotificationSettingsArgs struct { + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput).ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput` via: +// GetJobJobSettingsSettingsNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs, GetJobJobSettingsSettingsNotificationSettingsPtr and GetJobJobSettingsSettingsNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs{...} +// GetJobJobSettingsSettingsNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput interface { +type GetJobJobSettingsSettingsNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs +type getJobJobSettingsSettingsNotificationSettingsPtrType GetJobJobSettingsSettingsNotificationSettingsArgs -func GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType)(v) +func GetJobJobSettingsSettingsNotificationSettingsPtr(v *GetJobJobSettingsSettingsNotificationSettingsArgs) GetJobJobSettingsSettingsNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (*getJobJobSettingsSettingsNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) +func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotificationSettings) *GetJobJobSettingsSettingsNotificationSettings { return &v - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) + }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsNotificationSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) GetJobJobSettingsSettingsNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients + var ret GetJobJobSettingsSettingsNotificationSettings return ret - }).(GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsOutput) + }).(GetJobJobSettingsSettingsNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { if v == nil { return nil } - return v.Jobs + return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { if v == nil { return nil } - return v.Notebooks + return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsLibrary struct { - Cran *GetJobJobSettingsSettingsLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +type GetJobJobSettingsSettingsParameter struct { + Default string `pulumi:"default"` + // the job name of Job if the resource was matched by id. + Name string `pulumi:"name"` } -// GetJobJobSettingsSettingsLibraryInput is an input type that accepts GetJobJobSettingsSettingsLibraryArgs and GetJobJobSettingsSettingsLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryInput` via: +// GetJobJobSettingsSettingsParameterInput is an input type that accepts GetJobJobSettingsSettingsParameterArgs and GetJobJobSettingsSettingsParameterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterInput` via: // -// GetJobJobSettingsSettingsLibraryArgs{...} -type GetJobJobSettingsSettingsLibraryInput interface { +// GetJobJobSettingsSettingsParameterArgs{...} +type GetJobJobSettingsSettingsParameterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput - ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryOutput + ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput + ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterOutput } -type GetJobJobSettingsSettingsLibraryArgs struct { - Cran GetJobJobSettingsSettingsLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetJobJobSettingsSettingsLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetJobJobSettingsSettingsLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetJobJobSettingsSettingsParameterArgs struct { + Default pulumi.StringInput `pulumi:"default"` + // the job name of Job if the resource was matched by id. + Name pulumi.StringInput `pulumi:"name"` } -func (GetJobJobSettingsSettingsLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { - return i.ToGetJobJobSettingsSettingsLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { + return i.ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryArgs) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryOutput) +func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterOutput) } -// GetJobJobSettingsSettingsLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsLibraryArray and GetJobJobSettingsSettingsLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryArrayInput` via: +// GetJobJobSettingsSettingsParameterArrayInput is an input type that accepts GetJobJobSettingsSettingsParameterArray and GetJobJobSettingsSettingsParameterArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterArrayInput` via: // -// GetJobJobSettingsSettingsLibraryArray{ GetJobJobSettingsSettingsLibraryArgs{...} } -type GetJobJobSettingsSettingsLibraryArrayInput interface { +// GetJobJobSettingsSettingsParameterArray{ GetJobJobSettingsSettingsParameterArgs{...} } +type GetJobJobSettingsSettingsParameterArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput - ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryArrayOutput + ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput + ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterArrayOutput } -type GetJobJobSettingsSettingsLibraryArray []GetJobJobSettingsSettingsLibraryInput +type GetJobJobSettingsSettingsParameterArray []GetJobJobSettingsSettingsParameterInput -func (GetJobJobSettingsSettingsLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { + return i.ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryArray) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryArrayOutput) +func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterArrayOutput) } -type GetJobJobSettingsSettingsLibraryOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsParameterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutput() GetJobJobSettingsSettingsLibraryOutput { +func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { return o } -func (o GetJobJobSettingsSettingsLibraryOutput) ToGetJobJobSettingsSettingsLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryOutput { +func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { return o } -func (o GetJobJobSettingsSettingsLibraryOutput) Cran() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryOutput) Maven() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryMaven { return v.Maven }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryOutput) Pypi() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *GetJobJobSettingsSettingsLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsParameterOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Default }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +// the job name of Job if the resource was matched by id. +func (o GetJobJobSettingsSettingsParameterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Name }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsLibraryArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsParameterArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutput() GetJobJobSettingsSettingsLibraryArrayOutput { +func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { return o } -func (o GetJobJobSettingsSettingsLibraryArrayOutput) ToGetJobJobSettingsSettingsLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryArrayOutput { +func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { return o } -func (o GetJobJobSettingsSettingsLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsLibrary { - return vs[0].([]GetJobJobSettingsSettingsLibrary)[vs[1].(int)] - }).(GetJobJobSettingsSettingsLibraryOutput) +func (o GetJobJobSettingsSettingsParameterArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsParameter { + return vs[0].([]GetJobJobSettingsSettingsParameter)[vs[1].(int)] + }).(GetJobJobSettingsSettingsParameterOutput) } -type GetJobJobSettingsSettingsLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` } -// GetJobJobSettingsSettingsLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs and GetJobJobSettingsSettingsLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranInput` via: +// GetJobJobSettingsSettingsPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs and GetJobJobSettingsSettingsPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskInput` via: // -// GetJobJobSettingsSettingsLibraryCranArgs{...} -type GetJobJobSettingsSettingsLibraryCranInput interface { +// GetJobJobSettingsSettingsPipelineTaskArgs{...} +type GetJobJobSettingsSettingsPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput - ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranOutput + ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput + ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskOutput } -type GetJobJobSettingsSettingsLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (GetJobJobSettingsSettingsLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryCranArgs) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranOutput).ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput).ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryCranArgs, GetJobJobSettingsSettingsLibraryCranPtr and GetJobJobSettingsSettingsLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs, GetJobJobSettingsSettingsPipelineTaskPtr and GetJobJobSettingsSettingsPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskPtrInput` via: // -// GetJobJobSettingsSettingsLibraryCranArgs{...} +// GetJobJobSettingsSettingsPipelineTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsPipelineTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput - ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput + ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput } -type getJobJobSettingsSettingsLibraryCranPtrType GetJobJobSettingsSettingsLibraryCranArgs +type getJobJobSettingsSettingsPipelineTaskPtrType GetJobJobSettingsSettingsPipelineTaskArgs -func GetJobJobSettingsSettingsLibraryCranPtr(v *GetJobJobSettingsSettingsLibraryCranArgs) GetJobJobSettingsSettingsLibraryCranPtrInput { - return (*getJobJobSettingsSettingsLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsPipelineTaskPtr(v *GetJobJobSettingsSettingsPipelineTaskArgs) GetJobJobSettingsSettingsPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsPipelineTaskPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryCranPtrType) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPipelineTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutput() GetJobJobSettingsSettingsLibraryCranOutput { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranOutput { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryCran) *GetJobJobSettingsSettingsLibraryCran { +func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPipelineTask) *GetJobJobSettingsSettingsPipelineTask { return &v - }).(GetJobJobSettingsSettingsLibraryCranPtrOutput) + }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPipelineTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutput() GetJobJobSettingsSettingsLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) ToGetJobJobSettingsSettingsLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) GetJobJobSettingsSettingsLibraryCran { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) GetJobJobSettingsSettingsPipelineTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryCran + var ret GetJobJobSettingsSettingsPipelineTask return ret - }).(GetJobJobSettingsSettingsLibraryCranOutput) + }).(GetJobJobSettingsSettingsPipelineTaskOutput) } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *bool { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryCran) *string { +func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *string { if v == nil { return nil } - return v.Repo + return &v.PipelineId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]string `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs and GetJobJobSettingsSettingsLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenInput` via: +// GetJobJobSettingsSettingsPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs and GetJobJobSettingsSettingsPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsLibraryMavenArgs{...} -type GetJobJobSettingsSettingsLibraryMavenInput interface { +// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput - ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenOutput + ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput + ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput } -type GetJobJobSettingsSettingsLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryMavenArgs) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenOutput).ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput).ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryMavenArgs, GetJobJobSettingsSettingsLibraryMavenPtr and GetJobJobSettingsSettingsLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs, GetJobJobSettingsSettingsPythonWheelTaskPtr and GetJobJobSettingsSettingsPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskPtrInput` via: // -// GetJobJobSettingsSettingsLibraryMavenArgs{...} +// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsPythonWheelTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput } -type getJobJobSettingsSettingsLibraryMavenPtrType GetJobJobSettingsSettingsLibraryMavenArgs +type getJobJobSettingsSettingsPythonWheelTaskPtrType GetJobJobSettingsSettingsPythonWheelTaskArgs -func GetJobJobSettingsSettingsLibraryMavenPtr(v *GetJobJobSettingsSettingsLibraryMavenArgs) GetJobJobSettingsSettingsLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsPythonWheelTaskPtr(v *GetJobJobSettingsSettingsPythonWheelTaskArgs) GetJobJobSettingsSettingsPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsPythonWheelTaskPtrType)(v) } -func (*getJobJobSettingsSettingsLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryMavenPtrType) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -type GetJobJobSettingsSettingsLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsPythonWheelTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutput() GetJobJobSettingsSettingsLibraryMavenOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryMaven) *GetJobJobSettingsSettingsLibraryMaven { +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPythonWheelTask) *GetJobJobSettingsSettingsPythonWheelTask { return &v - }).(GetJobJobSettingsSettingsLibraryMavenPtrOutput) + }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryMavenPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryMaven)(nil)).Elem() +type GetJobJobSettingsSettingsPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutput() GetJobJobSettingsSettingsLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) GetJobJobSettingsSettingsLibraryMaven { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) GetJobJobSettingsSettingsPythonWheelTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryMaven + var ret GetJobJobSettingsSettingsPythonWheelTask return ret - }).(GetJobJobSettingsSettingsLibraryMavenOutput) + }).(GetJobJobSettingsSettingsPythonWheelTaskOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { if v == nil { return nil } - return &v.Coordinates + return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) []string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) map[string]string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.NamedParameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryMaven) *string { +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { if v == nil { return nil } - return v.Repo + return v.PackageName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs and GetJobJobSettingsSettingsLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiInput` via: +type GetJobJobSettingsSettingsQueue struct { + Enabled bool `pulumi:"enabled"` +} + +// GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsQueueInput` via: // -// GetJobJobSettingsSettingsLibraryPypiArgs{...} -type GetJobJobSettingsSettingsLibraryPypiInput interface { +// GetJobJobSettingsSettingsQueueArgs{...} +type GetJobJobSettingsSettingsQueueInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput - ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiOutput + ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput + ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Context) GetJobJobSettingsSettingsQueueOutput } -type GetJobJobSettingsSettingsLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsQueueArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` } -func (GetJobJobSettingsSettingsLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { + return i.ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsLibraryPypiArgs) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiOutput).ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput).ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsLibraryPypiArgs, GetJobJobSettingsSettingsLibraryPypiPtr and GetJobJobSettingsSettingsLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsLibraryPypiPtrInput` via: +// GetJobJobSettingsSettingsQueuePtrInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs, GetJobJobSettingsSettingsQueuePtr and GetJobJobSettingsSettingsQueuePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsQueuePtrInput` via: // -// GetJobJobSettingsSettingsLibraryPypiArgs{...} +// GetJobJobSettingsSettingsQueueArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsQueuePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput + ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsQueuePtrOutput } -type getJobJobSettingsSettingsLibraryPypiPtrType GetJobJobSettingsSettingsLibraryPypiArgs +type getJobJobSettingsSettingsQueuePtrType GetJobJobSettingsSettingsQueueArgs -func GetJobJobSettingsSettingsLibraryPypiPtr(v *GetJobJobSettingsSettingsLibraryPypiArgs) GetJobJobSettingsSettingsLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsQueuePtr(v *GetJobJobSettingsSettingsQueueArgs) GetJobJobSettingsSettingsQueuePtrInput { + return (*getJobJobSettingsSettingsQueuePtrType)(v) } -func (*getJobJobSettingsSettingsLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsQueuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsLibraryPypiPtrType) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueuePtrOutput) } -type GetJobJobSettingsSettingsLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsQueueOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsQueueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutput() GetJobJobSettingsSettingsLibraryPypiOutput { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiOutput { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { + return o.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsLibraryPypi) *GetJobJobSettingsSettingsLibraryPypi { +func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsQueue) *GetJobJobSettingsSettingsQueue { return &v - }).(GetJobJobSettingsSettingsLibraryPypiPtrOutput) -} - -func (o GetJobJobSettingsSettingsLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) string { return v.Package }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsQueuePtrOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) } -type GetJobJobSettingsSettingsLibraryPypiPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutput() GetJobJobSettingsSettingsLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { return o } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) GetJobJobSettingsSettingsLibraryPypi { +func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSettingsQueueOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) GetJobJobSettingsSettingsQueue { if v != nil { return *v } - var ret GetJobJobSettingsSettingsLibraryPypi + var ret GetJobJobSettingsSettingsQueue return ret - }).(GetJobJobSettingsSettingsLibraryPypiOutput) -} - -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { - if v == nil { - return nil - } - return &v.Package - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsQueueOutput) } -func (o GetJobJobSettingsSettingsLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsLibraryPypi) *string { +func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetJobJobSettingsSettingsNewClusterAutoscale `pulumi:"autoscale"` - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetJobJobSettingsSettingsNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetJobJobSettingsSettingsNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetJobJobSettingsSettingsNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetJobJobSettingsSettingsNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetJobJobSettingsSettingsNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetJobJobSettingsSettingsNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetJobJobSettingsSettingsNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsNewClusterWorkloadType `pulumi:"workloadType"` +type GetJobJobSettingsSettingsRunAs struct { + ServicePrincipalName *string `pulumi:"servicePrincipalName"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsNewClusterInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs and GetJobJobSettingsSettingsNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInput` via: +// GetJobJobSettingsSettingsRunAsInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs and GetJobJobSettingsSettingsRunAsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsInput` via: // -// GetJobJobSettingsSettingsNewClusterArgs{...} -type GetJobJobSettingsSettingsNewClusterInput interface { +// GetJobJobSettingsSettingsRunAsArgs{...} +type GetJobJobSettingsSettingsRunAsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput - ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterOutput + ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput + ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsOutput } -type GetJobJobSettingsSettingsNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetJobJobSettingsSettingsNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetJobJobSettingsSettingsNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetJobJobSettingsSettingsNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type GetJobJobSettingsSettingsRunAsArgs struct { + ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (GetJobJobSettingsSettingsNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { - return i.ToGetJobJobSettingsSettingsNewClusterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { + return i.ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput) } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterArgs) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterOutput).ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput).ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterArgs, GetJobJobSettingsSettingsNewClusterPtr and GetJobJobSettingsSettingsNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterPtrInput` via: +// GetJobJobSettingsSettingsRunAsPtrInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs, GetJobJobSettingsSettingsRunAsPtr and GetJobJobSettingsSettingsRunAsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterArgs{...} +// GetJobJobSettingsSettingsRunAsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterPtrInput interface { +type GetJobJobSettingsSettingsRunAsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput - ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput + ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput + ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsPtrOutput } -type getJobJobSettingsSettingsNewClusterPtrType GetJobJobSettingsSettingsNewClusterArgs +type getJobJobSettingsSettingsRunAsPtrType GetJobJobSettingsSettingsRunAsArgs -func GetJobJobSettingsSettingsNewClusterPtr(v *GetJobJobSettingsSettingsNewClusterArgs) GetJobJobSettingsSettingsNewClusterPtrInput { - return (*getJobJobSettingsSettingsNewClusterPtrType)(v) +func GetJobJobSettingsSettingsRunAsPtr(v *GetJobJobSettingsSettingsRunAsArgs) GetJobJobSettingsSettingsRunAsPtrInput { + return (*getJobJobSettingsSettingsRunAsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (*getJobJobSettingsSettingsRunAsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterPtrType) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunAsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsRunAsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutput() GetJobJobSettingsSettingsNewClusterOutput { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterOutput { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewCluster { +func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunAs) *GetJobJobSettingsSettingsRunAs { return &v - }).(GetJobJobSettingsSettingsNewClusterPtrOutput) + }).(GetJobJobSettingsSettingsRunAsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +func (o GetJobJobSettingsSettingsRunAsOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) -} +type GetJobJobSettingsSettingsRunAsPtrOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +func (GetJobJobSettingsSettingsRunAsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsRunAsPtrOutput) Elem() GetJobJobSettingsSettingsRunAsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) GetJobJobSettingsSettingsRunAs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsRunAs + return ret + }).(GetJobJobSettingsSettingsRunAsOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +func (o GetJobJobSettingsSettingsRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { + if v == nil { + return nil + } + return v.ServicePrincipalName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsRunAsPtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { + if v == nil { + return nil + } + return v.UserName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +type GetJobJobSettingsSettingsRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]string `pulumi:"jobParameters"` } -func (o GetJobJobSettingsSettingsNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs and GetJobJobSettingsSettingsRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskInput` via: +// +// GetJobJobSettingsSettingsRunJobTaskArgs{...} +type GetJobJobSettingsSettingsRunJobTaskInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) + ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput + ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskOutput } -func (o GetJobJobSettingsSettingsNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +type GetJobJobSettingsSettingsRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` } -func (o GetJobJobSettingsSettingsNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (GetJobJobSettingsSettingsRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput).ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +// GetJobJobSettingsSettingsRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs, GetJobJobSettingsSettingsRunJobTaskPtr and GetJobJobSettingsSettingsRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskPtrInput` via: +// +// GetJobJobSettingsSettingsRunJobTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsRunJobTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput } -func (o GetJobJobSettingsSettingsNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +type getJobJobSettingsSettingsRunJobTaskPtrType GetJobJobSettingsSettingsRunJobTaskArgs + +func GetJobJobSettingsSettingsRunJobTaskPtr(v *GetJobJobSettingsSettingsRunJobTaskArgs) GetJobJobSettingsSettingsRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsRunJobTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (*getJobJobSettingsSettingsRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsRunJobTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunJobTask) *GetJobJobSettingsSettingsRunJobTask { + return &v + }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutput() GetJobJobSettingsSettingsNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ToGetJobJobSettingsSettingsNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) GetJobJobSettingsSettingsNewCluster { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) GetJobJobSettingsSettingsRunJobTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewCluster + var ret GetJobJobSettingsSettingsRunJobTask return ret - }).(GetJobJobSettingsSettingsNewClusterOutput) + }).(GetJobJobSettingsSettingsRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) *int { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) map[string]string { if v == nil { return nil } - return v.Autoscale - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) + return v.JobParameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { - if v == nil { - return nil - } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsSchedule struct { + PauseStatus *string `pulumi:"pauseStatus"` + QuartzCronExpression string `pulumi:"quartzCronExpression"` + TimezoneId string `pulumi:"timezoneId"` } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAwsAttributes { - if v == nil { - return nil - } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +// GetJobJobSettingsSettingsScheduleInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs and GetJobJobSettingsSettingsScheduleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsScheduleInput` via: +// +// GetJobJobSettingsSettingsScheduleArgs{...} +type GetJobJobSettingsSettingsScheduleInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput + ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Context) GetJobJobSettingsSettingsScheduleOutput } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterAzureAttributes { - if v == nil { - return nil - } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +type GetJobJobSettingsSettingsScheduleArgs struct { + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` + TimezoneId pulumi.StringInput `pulumi:"timezoneId"` } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { + return i.ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput).ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsSchedulePtrInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs, GetJobJobSettingsSettingsSchedulePtr and GetJobJobSettingsSettingsSchedulePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSchedulePtrInput` via: +// +// GetJobJobSettingsSettingsScheduleArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsSchedulePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput + ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSchedulePtrOutput } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +type getJobJobSettingsSettingsSchedulePtrType GetJobJobSettingsSettingsScheduleArgs + +func GetJobJobSettingsSettingsSchedulePtr(v *GetJobJobSettingsSettingsScheduleArgs) GetJobJobSettingsSettingsSchedulePtrInput { + return (*getJobJobSettingsSettingsSchedulePtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsScheduleOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []GetJobJobSettingsSettingsNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSchedule) *GetJobJobSettingsSettingsSchedule { + return &v + }).(GetJobJobSettingsSettingsSchedulePtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) QuartzCronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsScheduleOutput) TimezoneId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsSchedulePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) map[string]string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsSchedulePtrOutput) Elem() GetJobJobSettingsSettingsScheduleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) GetJobJobSettingsSettingsSchedule { + if v != nil { + return *v } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) + var ret GetJobJobSettingsSettingsSchedule + return ret + }).(GetJobJobSettingsSettingsScheduleOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *string { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return &v.SparkVersion + return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) []string { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + return &v.QuartzCronExpression + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewCluster) *GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) + return &v.TimezoneId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs and GetJobJobSettingsSettingsNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs and GetJobJobSettingsSettingsSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsSparkJarTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput + ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput } -type GetJobJobSettingsSettingsNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput).ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAutoscaleArgs, GetJobJobSettingsSettingsNewClusterAutoscalePtr and GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAutoscalePtrInput` via: +// GetJobJobSettingsSettingsSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs, GetJobJobSettingsSettingsSparkJarTaskPtr and GetJobJobSettingsSettingsSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAutoscaleArgs{...} +// GetJobJobSettingsSettingsSparkJarTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAutoscalePtrInput interface { +type GetJobJobSettingsSettingsSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterAutoscalePtrType GetJobJobSettingsSettingsNewClusterAutoscaleArgs +type getJobJobSettingsSettingsSparkJarTaskPtrType GetJobJobSettingsSettingsSparkJarTaskArgs -func GetJobJobSettingsSettingsNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsNewClusterAutoscaleArgs) GetJobJobSettingsSettingsNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsNewClusterAutoscalePtrType)(v) +func GetJobJobSettingsSettingsSparkJarTaskPtr(v *GetJobJobSettingsSettingsSparkJarTaskArgs) GetJobJobSettingsSettingsSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsSparkJarTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) +func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkJarTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutput() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAutoscale) *GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkJarTask) *GetJobJobSettingsSettingsSparkJarTask { return &v - }).(GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) + }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAutoscale)(nil)).Elem() +type GetJobJobSettingsSettingsSparkJarTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) GetJobJobSettingsSettingsNewClusterAutoscale { +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) GetJobJobSettingsSettingsSparkJarTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAutoscale + var ret GetJobJobSettingsSettingsSparkJarTask return ret - }).(GetJobJobSettingsSettingsNewClusterAutoscaleOutput) + }).(GetJobJobSettingsSettingsSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { if v == nil { return nil } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) + return v.JarUri + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAutoscale) *int { +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { if v == nil { return nil } - return v.MinWorkers - }).(pulumi.IntPtrOutput) + return v.MainClassName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesInput` via: +type GetJobJobSettingsSettingsSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` +} + +// GetJobJobSettingsSettingsSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs and GetJobJobSettingsSettingsSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsSparkPythonTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput + ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput } -type GetJobJobSettingsSettingsNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput).ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs, GetJobJobSettingsSettingsSparkPythonTaskPtr and GetJobJobSettingsSettingsSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsSparkPythonTaskPtrType GetJobJobSettingsSettingsSparkPythonTaskArgs -func GetJobJobSettingsSettingsNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsSparkPythonTaskPtr(v *GetJobJobSettingsSettingsSparkPythonTaskArgs) GetJobJobSettingsSettingsSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsSparkPythonTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAwsAttributes) *GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkPythonTask) *GetJobJobSettingsSettingsSparkPythonTask { return &v - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) GetJobJobSettingsSettingsNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) GetJobJobSettingsSettingsSparkPythonTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsSparkPythonTask return ret - }).(GetJobJobSettingsSettingsNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsSparkPythonTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) []string { if v == nil { return nil } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.PythonFile }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { if v == nil { return nil } - return v.ZoneId + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs and GetJobJobSettingsSettingsSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput` via: +// GetJobJobSettingsSettingsSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs, GetJobJobSettingsSettingsSparkSubmitTaskPtr and GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterAzureAttributesArgs{...} +// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput interface { +type GetJobJobSettingsSettingsSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsNewClusterAzureAttributesArgs +type getJobJobSettingsSettingsSparkSubmitTaskPtrType GetJobJobSettingsSettingsSparkSubmitTaskArgs -func GetJobJobSettingsSettingsNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType)(v) +func GetJobJobSettingsSettingsSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsSparkSubmitTaskArgs) GetJobJobSettingsSettingsSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) +func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterAzureAttributes) *GetJobJobSettingsSettingsNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkSubmitTask) *GetJobJobSettingsSettingsSparkSubmitTask { return &v - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) GetJobJobSettingsSettingsNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) GetJobJobSettingsSettingsSparkSubmitTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterAzureAttributes + var ret GetJobJobSettingsSettingsSparkSubmitTask return ret - }).(GetJobJobSettingsSettingsNewClusterAzureAttributesOutput) + }).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *string { +func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) []string { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTask struct { + ConditionTask *GetJobJobSettingsSettingsTaskConditionTask `pulumi:"conditionTask"` + DbtTask *GetJobJobSettingsSettingsTaskDbtTask `pulumi:"dbtTask"` + DependsOns []GetJobJobSettingsSettingsTaskDependsOn `pulumi:"dependsOns"` + Description *string `pulumi:"description"` + EmailNotifications *GetJobJobSettingsSettingsTaskEmailNotifications `pulumi:"emailNotifications"` + EnvironmentKey *string `pulumi:"environmentKey"` + ExistingClusterId *string `pulumi:"existingClusterId"` + ForEachTask *GetJobJobSettingsSettingsTaskForEachTask `pulumi:"forEachTask"` + Health *GetJobJobSettingsSettingsTaskHealth `pulumi:"health"` + JobClusterKey *string `pulumi:"jobClusterKey"` + Libraries []GetJobJobSettingsSettingsTaskLibrary `pulumi:"libraries"` + MaxRetries *int `pulumi:"maxRetries"` + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + NewCluster *GetJobJobSettingsSettingsTaskNewCluster `pulumi:"newCluster"` + NotebookTask *GetJobJobSettingsSettingsTaskNotebookTask `pulumi:"notebookTask"` + NotificationSettings *GetJobJobSettingsSettingsTaskNotificationSettings `pulumi:"notificationSettings"` + PipelineTask *GetJobJobSettingsSettingsTaskPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *GetJobJobSettingsSettingsTaskPythonWheelTask `pulumi:"pythonWheelTask"` + RetryOnTimeout bool `pulumi:"retryOnTimeout"` + RunIf *string `pulumi:"runIf"` + RunJobTask *GetJobJobSettingsSettingsTaskRunJobTask `pulumi:"runJobTask"` + SparkJarTask *GetJobJobSettingsSettingsTaskSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *GetJobJobSettingsSettingsTaskSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *GetJobJobSettingsSettingsTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` + SqlTask *GetJobJobSettingsSettingsTaskSqlTask `pulumi:"sqlTask"` + TaskKey string `pulumi:"taskKey"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + WebhookNotifications *GetJobJobSettingsSettingsTaskWebhookNotifications `pulumi:"webhookNotifications"` +} + +// GetJobJobSettingsSettingsTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskArgs and GetJobJobSettingsSettingsTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskInput` via: +// +// GetJobJobSettingsSettingsTaskArgs{...} +type GetJobJobSettingsSettingsTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput + ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskOutput +} + +type GetJobJobSettingsSettingsTaskArgs struct { + ConditionTask GetJobJobSettingsSettingsTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask GetJobJobSettingsSettingsTaskDbtTaskPtrInput `pulumi:"dbtTask"` + DependsOns GetJobJobSettingsSettingsTaskDependsOnArrayInput `pulumi:"dependsOns"` + Description pulumi.StringPtrInput `pulumi:"description"` + EmailNotifications GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + ForEachTask GetJobJobSettingsSettingsTaskForEachTaskPtrInput `pulumi:"forEachTask"` + Health GetJobJobSettingsSettingsTaskHealthPtrInput `pulumi:"health"` + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + Libraries GetJobJobSettingsSettingsTaskLibraryArrayInput `pulumi:"libraries"` + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + NewCluster GetJobJobSettingsSettingsTaskNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask GetJobJobSettingsSettingsTaskNotebookTaskPtrInput `pulumi:"notebookTask"` + NotificationSettings GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` + PipelineTask GetJobJobSettingsSettingsTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` + RunIf pulumi.StringPtrInput `pulumi:"runIf"` + RunJobTask GetJobJobSettingsSettingsTaskRunJobTaskPtrInput `pulumi:"runJobTask"` + SparkJarTask GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + SqlTask GetJobJobSettingsSettingsTaskSqlTaskPtrInput `pulumi:"sqlTask"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + WebhookNotifications GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +} + +func (GetJobJobSettingsSettingsTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskOutput) +} + +// GetJobJobSettingsSettingsTaskArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskArray and GetJobJobSettingsSettingsTaskArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskArrayInput` via: +// +// GetJobJobSettingsSettingsTaskArray{ GetJobJobSettingsSettingsTaskArgs{...} } +type GetJobJobSettingsSettingsTaskArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput + ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskArrayOutput +} + +type GetJobJobSettingsSettingsTaskArray []GetJobJobSettingsSettingsTaskInput + +func (GetJobJobSettingsSettingsTaskArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskArrayOutput) +} + +type GetJobJobSettingsSettingsTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskConditionTask { + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 `pulumi:"s3"` +func (o GetJobJobSettingsSettingsTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskDependsOn { return v.DependsOns }).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) +} - ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput +func (o GetJobJobSettingsSettingsTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.Description }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +func (o GetJobJobSettingsSettingsTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) +func (o GetJobJobSettingsSettingsTaskOutput) ForEachTask() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskForEachTask { return v.ForEachTask }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) Health() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskHealth { return v.Health }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterClusterLogConfArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskOutput) Libraries() GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskLibrary { return v.Libraries }).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) +} - ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput +func (o GetJobJobSettingsSettingsTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -type getJobJobSettingsSettingsNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfArgs +func (o GetJobJobSettingsSettingsTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +} -func GetJobJobSettingsSettingsNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType)(v) +func (o GetJobJobSettingsSettingsTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) } -func (*getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotebookTask { + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPipelineTask { + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) RetryOnTimeout() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkJarTask { + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConf { - return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSqlTask { return v.SqlTask }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) string { return v.TaskKey }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConf)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput { - return o +type GetJobJobSettingsSettingsTaskArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) GetJobJobSettingsSettingsNewClusterClusterLogConf { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConf - return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfOutput) +func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { - if v == nil { - return nil - } - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConf) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { - if v == nil { - return nil - } - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTask { + return vs[0].([]GetJobJobSettingsSettingsTask)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskConditionTask struct { + Left string `pulumi:"left"` + Op string `pulumi:"op"` + Right string `pulumi:"right"` } -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskConditionTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +type GetJobJobSettingsSettingsTaskConditionTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskConditionTaskArgs struct { + Left pulumi.StringInput `pulumi:"left"` + Op pulumi.StringInput `pulumi:"op"` + Right pulumi.StringInput `pulumi:"right"` } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskConditionTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskConditionTaskArgs -func GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskConditionTaskPtrInput { + return (*getJobJobSettingsSettingsTaskConditionTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskConditionTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskConditionTask) *GetJobJobSettingsSettingsTaskConditionTask { return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { +type GetJobJobSettingsSettingsTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskConditionTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) GetJobJobSettingsSettingsTaskConditionTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs + var ret GetJobJobSettingsSettingsTaskConditionTask return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsOutput) + }).(GetJobJobSettingsSettingsTaskConditionTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { if v == nil { return nil } - return &v.Destination + return &v.Left }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input` via: +func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Right + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskDbtTask struct { + Catalog *string `pulumi:"catalog"` + Commands []string `pulumi:"commands"` + ProfilesDirectory *string `pulumi:"profilesDirectory"` + ProjectDirectory *string `pulumi:"projectDirectory"` + Schema *string `pulumi:"schema"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// GetJobJobSettingsSettingsTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} +type GetJobJobSettingsSettingsTaskDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput } -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskDbtTaskArgs struct { + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + Commands pulumi.StringArrayInput `pulumi:"commands"` + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + Schema pulumi.StringPtrInput `pulumi:"schema"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsTaskDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskDbtTaskArgs -func GetJobJobSettingsSettingsNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskDbtTaskPtrInput { + return (*getJobJobSettingsSettingsTaskDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskDbtTask) *GetJobJobSettingsSettingsTaskDbtTask { return &v - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) + }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) GetJobJobSettingsSettingsNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) GetJobJobSettingsSettingsTaskDbtTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsTaskDbtTask return ret - }).(GetJobJobSettingsSettingsNewClusterClusterLogConfS3Output) + }).(GetJobJobSettingsSettingsTaskDbtTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.CannedAcl + return v.Catalog }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) []string { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.Commands + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *bool { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.EncryptionType + return v.ProjectDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.Endpoint + return v.Schema }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.KmsKey + return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { if v == nil { return nil } - return v.Region + return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsTaskDependsOn struct { + Outcome *string `pulumi:"outcome"` + TaskKey string `pulumi:"taskKey"` } -// GetJobJobSettingsSettingsNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoInput` via: +// GetJobJobSettingsSettingsTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArgs and GetJobJobSettingsSettingsTaskDependsOnOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterMountInfoInput interface { +// GetJobJobSettingsSettingsTaskDependsOnArgs{...} +type GetJobJobSettingsSettingsTaskDependsOnInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsTaskDependsOnArgs struct { + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` } -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { + return i.ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) +func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnOutput) } -// GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput` via: +// GetJobJobSettingsSettingsTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArray and GetJobJobSettingsSettingsTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnArrayInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayInput interface { +// GetJobJobSettingsSettingsTaskDependsOnArray{ GetJobJobSettingsSettingsTaskDependsOnArgs{...} } +type GetJobJobSettingsSettingsTaskDependsOnArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsNewClusterClusterMountInfoInput +type GetJobJobSettingsSettingsTaskDependsOnArray []GetJobJobSettingsSettingsTaskDependsOnInput -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDependsOnOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskDependsOnArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput { +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsNewClusterClusterMountInfoOutput) +func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskDependsOnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskDependsOn { + return vs[0].([]GetJobJobSettingsSettingsTaskDependsOn)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskDependsOnOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +type GetJobJobSettingsSettingsTaskEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses []string `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// GetJobJobSettingsSettingsTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsInput` via: // -// GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { +// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskEmailNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +type GetJobJobSettingsSettingsTaskEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) } -type GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +// GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput` via: +// +// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput +} + +type getJobJobSettingsSettingsTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskEmailNotificationsArgs + +func GetJobJobSettingsSettingsTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType)(v) +} + +func (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +} + +type GetJobJobSettingsSettingsTaskEmailNotificationsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskEmailNotifications) *GetJobJobSettingsSettingsTaskEmailNotifications { + return &v + }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs and GetJobJobSettingsSettingsNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageInput` via: +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) GetJobJobSettingsSettingsTaskEmailNotifications { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskEmailNotifications + return ret + }).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnFailures + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStarts + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnSuccesses + }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTask struct { + Concurrency *int `pulumi:"concurrency"` + Inputs string `pulumi:"inputs"` + Task GetJobJobSettingsSettingsTaskForEachTaskTask `pulumi:"task"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput } -type GetJobJobSettingsSettingsNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` +type GetJobJobSettingsSettingsTaskForEachTaskArgs struct { + Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` + Inputs pulumi.StringInput `pulumi:"inputs"` + Task GetJobJobSettingsSettingsTaskForEachTaskTaskInput `pulumi:"task"` } -func (GetJobJobSettingsSettingsNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageArgs, GetJobJobSettingsSettingsNewClusterDockerImagePtr and GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImagePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterDockerImagePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterDockerImagePtrType GetJobJobSettingsSettingsNewClusterDockerImageArgs +type getJobJobSettingsSettingsTaskForEachTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskArgs -func GetJobJobSettingsSettingsNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsNewClusterDockerImageArgs) GetJobJobSettingsSettingsNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsNewClusterDockerImagePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutput() GetJobJobSettingsSettingsNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImage { +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTask { return &v - }).(GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Inputs() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTaskTask { + return v.Task + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +} -func (GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImage)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) GetJobJobSettingsSettingsNewClusterDockerImage { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterDockerImage + var ret GetJobJobSettingsSettingsTaskForEachTask return ret - }).(GetJobJobSettingsSettingsNewClusterDockerImageOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *int { if v == nil { return nil } - return v.BasicAuth - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) + return v.Concurrency + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *string { + if v == nil { + return nil + } + return &v.Inputs + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImage) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { if v == nil { return nil } - return &v.Url - }).(pulumi.StringPtrOutput) + return &v.Task + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetJobJobSettingsSettingsTaskForEachTaskTask struct { + ConditionTask *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` + DbtTask *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` + DependsOns []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` + Description *string `pulumi:"description"` + EmailNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` + EnvironmentKey *string `pulumi:"environmentKey"` + ExistingClusterId *string `pulumi:"existingClusterId"` + Health *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth `pulumi:"health"` + JobClusterKey *string `pulumi:"jobClusterKey"` + Libraries []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary `pulumi:"libraries"` + MaxRetries *int `pulumi:"maxRetries"` + MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` + NewCluster *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster `pulumi:"newCluster"` + NotebookTask *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask `pulumi:"notebookTask"` + NotificationSettings *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings `pulumi:"notificationSettings"` + PipelineTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask `pulumi:"pipelineTask"` + PythonWheelTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask `pulumi:"pythonWheelTask"` + RetryOnTimeout bool `pulumi:"retryOnTimeout"` + RunIf *string `pulumi:"runIf"` + RunJobTask *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask `pulumi:"runJobTask"` + SparkJarTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask `pulumi:"sparkJarTask"` + SparkPythonTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask `pulumi:"sparkPythonTask"` + SparkSubmitTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` + SqlTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask `pulumi:"sqlTask"` + TaskKey string `pulumi:"taskKey"` + TimeoutSeconds *int `pulumi:"timeoutSeconds"` + WebhookNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications `pulumi:"webhookNotifications"` } -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskArgs struct { + ConditionTask GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` + DbtTask GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` + DependsOns GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` + Description pulumi.StringPtrInput `pulumi:"description"` + EmailNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` + EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` + ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` + Health GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` + JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` + Libraries GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput `pulumi:"libraries"` + MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` + MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` + NewCluster GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput `pulumi:"newCluster"` + NotebookTask GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput `pulumi:"notebookTask"` + NotificationSettings GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` + PipelineTask GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` + PythonWheelTask GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` + RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` + RunIf pulumi.StringPtrInput `pulumi:"runIf"` + RunJobTask GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput `pulumi:"runJobTask"` + SparkJarTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` + SparkPythonTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` + SparkSubmitTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` + SqlTask GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput `pulumi:"sqlTask"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` + TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` + WebhookNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` } -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskArgs -func GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { return &v - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o -} - -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput { - return o + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth - return ret - }).(GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { + return v.DbtTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { + return v.DependsOns + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesInput` via: -// -// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsNewClusterGcpAttributesInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + return v.Health + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + return v.Libraries + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterGcpAttributesArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) } -type getJobJobSettingsSettingsNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsNewClusterGcpAttributesArgs - -func GetJobJobSettingsSettingsNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + return v.NewCluster + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) } -func (*getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (i *getJobJobSettingsSettingsNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + return v.RunJobTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterGcpAttributes) *GetJobJobSettingsSettingsNewClusterGcpAttributes { - return &v - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + return v.SqlTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) string { return v.TaskKey }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) GetJobJobSettingsSettingsNewClusterGcpAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) GetJobJobSettingsSettingsTaskForEachTaskTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterGcpAttributes + var ret GetJobJobSettingsSettingsTaskForEachTaskTask return ret - }).(GetJobJobSettingsSettingsNewClusterGcpAttributesOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { if v == nil { return nil } - return v.Availability - }).(pulumi.StringPtrOutput) + return v.ConditionTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { if v == nil { return nil } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) + return v.DbtTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { if v == nil { return nil } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) + return v.DependsOns + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { if v == nil { return nil } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) + return v.Description + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { if v == nil { return nil } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) + return v.EmailNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterGcpAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EnvironmentKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { if v == nil { return nil } - return v.ZoneId + return v.EnvironmentKey }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace `pulumi:"workspace"` -} - -// GetJobJobSettingsSettingsNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArgs and GetJobJobSettingsSettingsNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput -} - -type GetJobJobSettingsSettingsNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` -} - -func (GetJobJobSettingsSettingsNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.ExistingClusterId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + if v == nil { + return nil + } + return v.Health + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.JobClusterKey + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptArray and GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptArrayInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptArray{ GetJobJobSettingsSettingsNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsNewClusterInitScriptArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + if v == nil { + return nil + } + return v.Libraries + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptArray []GetJobJobSettingsSettingsNewClusterInitScriptInput - -func (GetJobJobSettingsSettingsNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MaxRetries + }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.MinRetryIntervalMillis + }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptArray) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + if v == nil { + return nil + } + return v.NewCluster + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + if v == nil { + return nil + } + return v.NotebookTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutput() GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { + if v == nil { + return nil + } + return v.NotificationSettings + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { + if v == nil { + return nil + } + return v.PipelineTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + if v == nil { + return nil + } + return v.PythonWheelTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *bool { + if v == nil { + return nil + } + return &v.RetryOnTimeout + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return v.RunIf + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { + if v == nil { + return nil + } + return v.RunJobTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { + if v == nil { + return nil + } + return v.SparkJarTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { + if v == nil { + return nil + } + return v.SparkPythonTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScript) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + if v == nil { + return nil + } + return v.SparkSubmitTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsNewClusterInitScript)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + if v == nil { + return nil + } + return v.SqlTask + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { + if v == nil { + return nil + } + return &v.TaskKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { + if v == nil { + return nil + } + return v.TimeoutSeconds + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { + if v == nil { + return nil + } + return v.WebhookNotifications + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct { + Left string `pulumi:"left"` + Op string `pulumi:"op"` + Right string `pulumi:"right"` } -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs struct { + Left pulumi.StringInput `pulumi:"left"` + Op pulumi.StringInput `pulumi:"op"` + Right pulumi.StringInput `pulumi:"right"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs -func GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptAbfss)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { +type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) GetJobJobSettingsSettingsNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { if v == nil { return nil } - return &v.Destination + return &v.Left }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Op + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { + if v == nil { + return nil + } + return &v.Right + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask struct { + Catalog *string `pulumi:"catalog"` + Commands []string `pulumi:"commands"` + ProfilesDirectory *string `pulumi:"profilesDirectory"` + ProjectDirectory *string `pulumi:"projectDirectory"` + Schema *string `pulumi:"schema"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs struct { + Catalog pulumi.StringPtrInput `pulumi:"catalog"` + Commands pulumi.StringArrayInput `pulumi:"commands"` + ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` + ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` + Schema pulumi.StringPtrInput `pulumi:"schema"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs -func GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) GetJobJobSettingsSettingsNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptDbfs - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptDbfsOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Catalog + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { + if v == nil { + return nil + } + return v.Commands + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProfilesDirectory + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.ProjectDirectory + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Schema + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { if v == nil { return nil } - return &v.Destination + return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct { + Outcome *string `pulumi:"outcome"` + TaskKey string `pulumi:"taskKey"` } -// GetJobJobSettingsSettingsNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput -} - -type GetJobJobSettingsSettingsNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs struct { + Outcome pulumi.StringPtrInput `pulumi:"outcome"` + TaskKey pulumi.StringInput `pulumi:"taskKey"` } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptFileArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput } -type getJobJobSettingsSettingsNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsNewClusterInitScriptFileArgs - -func GetJobJobSettingsSettingsNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput -func (*getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptFile) *GetJobJobSettingsSettingsNewClusterInitScriptFile { - return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) GetJobJobSettingsSettingsNewClusterInitScriptFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterInitScriptFile - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptFileOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptFile) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct { + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []string `pulumi:"onFailures"` + OnStarts []string `pulumi:"onStarts"` + OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses []string `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs struct { + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` + OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` + OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput } -type getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs -func GetJobJobSettingsSettingsNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptGcs) *GetJobJobSettingsSettingsNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) GetJobJobSettingsSettingsNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterInitScriptGcs + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` -} - -// GetJobJobSettingsSettingsNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args and GetJobJobSettingsSettingsNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3Input` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsNewClusterInitScriptS3Input interface { - pulumi.Input - - ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnDurationWarningThresholdExceededs + }).(pulumi.StringArrayOutput) } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnFailures + }).(pulumi.StringArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStarts + }).(pulumi.StringArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(pulumi.StringArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { + if v == nil { + return nil + } + return v.OnSuccesses + }).(pulumi.StringArrayOutput) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { + Rules []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule `pulumi:"rules"` } -// GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptS3Args, GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptS3Args{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput -} - -type getJobJobSettingsSettingsNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsNewClusterInitScriptS3Args - -func GetJobJobSettingsSettingsNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsNewClusterInitScriptS3Args) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType)(v) -} - -func (*getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput } -func (i *getJobJobSettingsSettingsNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs struct { + Rules GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` } -type GetJobJobSettingsSettingsNewClusterInitScriptS3Output struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3Output() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptS3) *GetJobJobSettingsSettingsNewClusterInitScriptS3 { - return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType)(v) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) GetJobJobSettingsSettingsNewClusterInitScriptS3 { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterInitScriptS3 - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptS3Output) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { + return v.Rules + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { + if v != nil { + return *v } - return v.KmsKey - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskHealth + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.Rules + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule struct { + Metric string `pulumi:"metric"` + Op string `pulumi:"op"` + Value int `pulumi:"value"` } -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput -} - -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs struct { + Metric pulumi.StringInput `pulumi:"metric"` + Op pulumi.StringInput `pulumi:"op"` + Value pulumi.IntInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput } -type getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs - -func GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput -func (*getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsNewClusterInitScriptVolumes { - return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) GetJobJobSettingsSettingsNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterInitScriptVolumes - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptVolumesOutput) -} - -func (o GetJobJobSettingsSettingsNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct { + Cran *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput` via: // -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput -} - -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs struct { + Cran GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) } -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput` via: -// -// GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput` via: // -// nil -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput } -type getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs - -func GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray []GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput -func (*getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { + return v.Cran + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { - return &v - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { + return v.Maven + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { + return v.Pypi + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsNewClusterInitScriptWorkspace { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNewClusterInitScriptWorkspace - return ret - }).(GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { + return o } -func (o GetJobJobSettingsSettingsNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterInitScriptWorkspace) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClients `pulumi:"clients"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput } -type getJobJobSettingsSettingsNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs -func GetJobJobSettingsSettingsNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { return &v - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadType)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) GetJobJobSettingsSettingsNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterWorkloadType + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran return ret - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadType) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) + return &v.Package + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput` via: // -// GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput } -type getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs -func GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType)(v) } -func (*getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { return &v - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNewClusterWorkloadTypeClients)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNewClusterWorkloadTypeClients + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven return ret - }).(GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { if v == nil { return nil } - return v.Jobs - }).(pulumi.BoolPtrOutput) + return &v.Coordinates + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return v.Exclusions + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsNotebookTask struct { - BaseParameters map[string]string `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs and GetJobJobSettingsSettingsNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput` via: // -// GetJobJobSettingsSettingsNotebookTaskArgs{...} -type GetJobJobSettingsSettingsNotebookTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput - ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput } -type GetJobJobSettingsSettingsNotebookTaskArgs struct { - BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotebookTaskArgs) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskOutput).ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsNotebookTaskArgs, GetJobJobSettingsSettingsNotebookTaskPtr and GetJobJobSettingsSettingsNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotebookTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput` via: // -// GetJobJobSettingsSettingsNotebookTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNotebookTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput } -type getJobJobSettingsSettingsNotebookTaskPtrType GetJobJobSettingsSettingsNotebookTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs -func GetJobJobSettingsSettingsNotebookTaskPtr(v *GetJobJobSettingsSettingsNotebookTaskArgs) GetJobJobSettingsSettingsNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsNotebookTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType)(v) } -func (*getJobJobSettingsSettingsNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNotebookTaskPtrType) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) } -type GetJobJobSettingsSettingsNotebookTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutput() GetJobJobSettingsSettingsNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotebookTask) *GetJobJobSettingsSettingsNotebookTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { return &v - }).(GetJobJobSettingsSettingsNotebookTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNotebookTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutput() GetJobJobSettingsSettingsNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) GetJobJobSettingsSettingsNotebookTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { if v != nil { return *v } - var ret GetJobJobSettingsSettingsNotebookTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi return ret - }).(GetJobJobSettingsSettingsNotebookTaskOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) map[string]string { - if v == nil { - return nil - } - return v.BaseParameters - }).(pulumi.StringMapOutput) -} - -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { - if v == nil { - return nil - } - return &v.NotebookPath - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { if v == nil { return nil } - return v.Source + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { if v == nil { return nil } - return v.WarehouseId + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsNotificationSettings struct { - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale `pulumi:"autoscale"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` } -// GetJobJobSettingsSettingsNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs and GetJobJobSettingsSettingsNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput` via: // -// GetJobJobSettingsSettingsNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsNotificationSettingsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput - ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput } -type GetJobJobSettingsSettingsNotificationSettingsArgs struct { - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetJobJobSettingsSettingsNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsNotificationSettingsArgs) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsOutput).ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsNotificationSettingsArgs, GetJobJobSettingsSettingsNotificationSettingsPtr and GetJobJobSettingsSettingsNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsNotificationSettingsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsNotificationSettingsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsNotificationSettingsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput } -type getJobJobSettingsSettingsNotificationSettingsPtrType GetJobJobSettingsSettingsNotificationSettingsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs -func GetJobJobSettingsSettingsNotificationSettingsPtr(v *GetJobJobSettingsSettingsNotificationSettingsArgs) GetJobJobSettingsSettingsNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsNotificationSettingsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsNotificationSettingsPtrType) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) } -type GetJobJobSettingsSettingsNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutput() GetJobJobSettingsSettingsNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsNotificationSettings) *GetJobJobSettingsSettingsNotificationSettings { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { return &v - }).(GetJobJobSettingsSettingsNotificationSettingsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsNotificationSettings)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutput() GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsNotificationSettingsPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) GetJobJobSettingsSettingsNotificationSettings { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsNotificationSettings - return ret - }).(GetJobJobSettingsSettingsNotificationSettingsOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -func (o GetJobJobSettingsSettingsNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsParameter struct { - Default string `pulumi:"default"` - // the job name of Job if the resource was matched by id. - Name string `pulumi:"name"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -// GetJobJobSettingsSettingsParameterInput is an input type that accepts GetJobJobSettingsSettingsParameterArgs and GetJobJobSettingsSettingsParameterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterInput` via: -// -// GetJobJobSettingsSettingsParameterArgs{...} -type GetJobJobSettingsSettingsParameterInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +} - ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput - ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsParameterArgs struct { - Default pulumi.StringInput `pulumi:"default"` - // the job name of Job if the resource was matched by id. - Name pulumi.StringInput `pulumi:"name"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (GetJobJobSettingsSettingsParameterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { + return v.EnableLocalDiskEncryption + }).(pulumi.BoolOutput) } -func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { - return i.ToGetJobJobSettingsSettingsParameterOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -func (i GetJobJobSettingsSettingsParameterArgs) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsParameterArrayInput is an input type that accepts GetJobJobSettingsSettingsParameterArray and GetJobJobSettingsSettingsParameterArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsParameterArrayInput` via: -// -// GetJobJobSettingsSettingsParameterArray{ GetJobJobSettingsSettingsParameterArgs{...} } -type GetJobJobSettingsSettingsParameterArrayInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +} - ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput - ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsParameterArrayOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsParameterArray []GetJobJobSettingsSettingsParameterInput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsParameterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { - return i.ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsParameterArray) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsParameterArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsParameterOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsParameterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutput() GetJobJobSettingsSettingsParameterOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { + return v.SparkEnvVars + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsParameterOutput) ToGetJobJobSettingsSettingsParameterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsParameterOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Default }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -// the job name of Job if the resource was matched by id. -func (o GetJobJobSettingsSettingsParameterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsParameter) string { return v.Name }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsParameterArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsParameterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsParameter)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutput() GetJobJobSettingsSettingsParameterArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsParameterArrayOutput) ToGetJobJobSettingsSettingsParameterArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsParameterArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsParameterArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsParameterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsParameter { - return vs[0].([]GetJobJobSettingsSettingsParameter)[vs[1].(int)] - }).(GetJobJobSettingsSettingsParameterOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) } -type GetJobJobSettingsSettingsPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs and GetJobJobSettingsSettingsPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskInput` via: -// -// GetJobJobSettingsSettingsPipelineTaskArgs{...} -type GetJobJobSettingsSettingsPipelineTaskInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput - ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) } -func (GetJobJobSettingsSettingsPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -func (i GetJobJobSettingsSettingsPipelineTaskArgs) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskOutput).ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -// GetJobJobSettingsSettingsPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPipelineTaskArgs, GetJobJobSettingsSettingsPipelineTaskPtr and GetJobJobSettingsSettingsPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPipelineTaskPtrInput` via: -// -// GetJobJobSettingsSettingsPipelineTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsPipelineTaskPtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -type getJobJobSettingsSettingsPipelineTaskPtrType GetJobJobSettingsSettingsPipelineTaskArgs +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) +} -func GetJobJobSettingsSettingsPipelineTaskPtr(v *GetJobJobSettingsSettingsPipelineTaskArgs) GetJobJobSettingsSettingsPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsPipelineTaskPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -func (*getJobJobSettingsSettingsPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsPipelineTaskPtrType) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsPipelineTaskOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutput() GetJobJobSettingsSettingsPipelineTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPipelineTask) *GetJobJobSettingsSettingsPipelineTask { - return &v - }).(GetJobJobSettingsSettingsPipelineTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsPipelineTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPipelineTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutput() GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPipelineTaskPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) GetJobJobSettingsSettingsPipelineTask { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsPipelineTask - return ret - }).(GetJobJobSettingsSettingsPipelineTaskOutput) + return &v.SparkVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPipelineTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { if v == nil { return nil } - return &v.PipelineId - }).(pulumi.StringPtrOutput) + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]string `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs and GetJobJobSettingsSettingsPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsPythonWheelTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput - ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetJobJobSettingsSettingsPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsPythonWheelTaskArgs) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskOutput).ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsPythonWheelTaskArgs, GetJobJobSettingsSettingsPythonWheelTaskPtr and GetJobJobSettingsSettingsPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsPythonWheelTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsPythonWheelTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsPythonWheelTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput } -type getJobJobSettingsSettingsPythonWheelTaskPtrType GetJobJobSettingsSettingsPythonWheelTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs -func GetJobJobSettingsSettingsPythonWheelTaskPtr(v *GetJobJobSettingsSettingsPythonWheelTaskArgs) GetJobJobSettingsSettingsPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsPythonWheelTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) } -func (*getJobJobSettingsSettingsPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutput() GetJobJobSettingsSettingsPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsPythonWheelTask) *GetJobJobSettingsSettingsPythonWheelTask { - return &v - }).(GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) GetJobJobSettingsSettingsPythonWheelTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { if v != nil { return *v } - var ret GetJobJobSettingsSettingsPythonWheelTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale return ret - }).(GetJobJobSettingsSettingsPythonWheelTaskOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { - if v == nil { - return nil - } - return v.EntryPoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) map[string]string { - if v == nil { - return nil - } - return v.NamedParameters - }).(pulumi.StringMapOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.PackageName - }).(pulumi.StringPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsPythonWheelTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsQueue struct { - Enabled bool `pulumi:"enabled"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsQueueInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsQueueArgs{...} -type GetJobJobSettingsSettingsQueueInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput - ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Context) GetJobJobSettingsSettingsQueueOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput } -type GetJobJobSettingsSettingsQueueArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { - return i.ToGetJobJobSettingsSettingsQueueOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsQueueArgs) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueueOutput).ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsQueuePtrInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs, GetJobJobSettingsSettingsQueuePtr and GetJobJobSettingsSettingsQueuePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsQueuePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsQueueArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsQueuePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput - ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsQueuePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput } -type getJobJobSettingsSettingsQueuePtrType GetJobJobSettingsSettingsQueueArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs -func GetJobJobSettingsSettingsQueuePtr(v *GetJobJobSettingsSettingsQueueArgs) GetJobJobSettingsSettingsQueuePtrInput { - return (*getJobJobSettingsSettingsQueuePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsQueuePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return i.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsQueuePtrType) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsQueuePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsQueueOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsQueueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutput() GetJobJobSettingsSettingsQueueOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueueOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueueOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { - return o.ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsQueueOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsQueue) *GetJobJobSettingsSettingsQueue { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { return &v - }).(GetJobJobSettingsSettingsQueuePtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsQueue)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutput() GetJobJobSettingsSettingsQueuePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsQueuePtrOutput) ToGetJobJobSettingsSettingsQueuePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsQueuePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSettingsQueueOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) GetJobJobSettingsSettingsQueue { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsQueue + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes return ret - }).(GetJobJobSettingsSettingsQueueOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { if v == nil { return nil } - return &v.Enabled - }).(pulumi.BoolPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsRunAs struct { - ServicePrincipalName *string `pulumi:"servicePrincipalName"` - UserName *string `pulumi:"userName"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsRunAsInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs and GetJobJobSettingsSettingsRunAsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsRunAsArgs{...} -type GetJobJobSettingsSettingsRunAsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput - ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput } -type GetJobJobSettingsSettingsRunAsArgs struct { - ServicePrincipalName pulumi.StringPtrInput `pulumi:"servicePrincipalName"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsRunAsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { - return i.ToGetJobJobSettingsSettingsRunAsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunAsArgs) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsOutput).ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsRunAsPtrInput is an input type that accepts GetJobJobSettingsSettingsRunAsArgs, GetJobJobSettingsSettingsRunAsPtr and GetJobJobSettingsSettingsRunAsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunAsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsRunAsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsRunAsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput - ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunAsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsRunAsPtrType GetJobJobSettingsSettingsRunAsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsRunAsPtr(v *GetJobJobSettingsSettingsRunAsArgs) GetJobJobSettingsSettingsRunAsPtrInput { - return (*getJobJobSettingsSettingsRunAsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsRunAsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return i.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsRunAsPtrType) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunAsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsRunAsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunAsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunAs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutput() GetJobJobSettingsSettingsRunAsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsRunAsOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunAs) *GetJobJobSettingsSettingsRunAs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { return &v - }).(GetJobJobSettingsSettingsRunAsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.ServicePrincipalName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunAs) *string { return v.UserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsRunAsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) +} -func (GetJobJobSettingsSettingsRunAsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunAs)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutput() GetJobJobSettingsSettingsRunAsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ToGetJobJobSettingsSettingsRunAsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunAsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) Elem() GetJobJobSettingsSettingsRunAsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) GetJobJobSettingsSettingsRunAs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsRunAs + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes return ret - }).(GetJobJobSettingsSettingsRunAsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.ServicePrincipalName + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsRunAsPtrOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunAs) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.UserName - }).(pulumi.StringPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]string `pulumi:"jobParameters"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { + if v == nil { + return nil + } + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -// GetJobJobSettingsSettingsRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs and GetJobJobSettingsSettingsRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsRunJobTaskArgs{...} -type GetJobJobSettingsSettingsRunJobTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput - ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput } -type GetJobJobSettingsSettingsRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsRunJobTaskArgs) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskOutput).ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsRunJobTaskArgs, GetJobJobSettingsSettingsRunJobTaskPtr and GetJobJobSettingsSettingsRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsRunJobTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsRunJobTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsRunJobTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput } -type getJobJobSettingsSettingsRunJobTaskPtrType GetJobJobSettingsSettingsRunJobTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs -func GetJobJobSettingsSettingsRunJobTaskPtr(v *GetJobJobSettingsSettingsRunJobTaskArgs) GetJobJobSettingsSettingsRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsRunJobTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) } -func (*getJobJobSettingsSettingsRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsRunJobTaskPtrType) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsRunJobTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutput() GetJobJobSettingsSettingsRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsRunJobTask) *GetJobJobSettingsSettingsRunJobTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { return &v - }).(GetJobJobSettingsSettingsRunJobTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsRunJobTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutput() GetJobJobSettingsSettingsRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) GetJobJobSettingsSettingsRunJobTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { if v != nil { return *v } - var ret GetJobJobSettingsSettingsRunJobTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf return ret - }).(GetJobJobSettingsSettingsRunJobTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { if v == nil { return nil } - return &v.JobId - }).(pulumi.IntPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsRunJobTask) map[string]string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { if v == nil { return nil } - return v.JobParameters - }).(pulumi.StringMapOutput) + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsSchedule struct { - PauseStatus *string `pulumi:"pauseStatus"` - QuartzCronExpression string `pulumi:"quartzCronExpression"` - TimezoneId string `pulumi:"timezoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsScheduleInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs and GetJobJobSettingsSettingsScheduleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsScheduleInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsScheduleArgs{...} -type GetJobJobSettingsSettingsScheduleInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput - ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Context) GetJobJobSettingsSettingsScheduleOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsScheduleArgs struct { - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - QuartzCronExpression pulumi.StringInput `pulumi:"quartzCronExpression"` - TimezoneId pulumi.StringInput `pulumi:"timezoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { - return i.ToGetJobJobSettingsSettingsScheduleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsScheduleArgs) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsScheduleOutput).ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSchedulePtrInput is an input type that accepts GetJobJobSettingsSettingsScheduleArgs, GetJobJobSettingsSettingsSchedulePtr and GetJobJobSettingsSettingsSchedulePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSchedulePtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsScheduleArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSchedulePtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput - ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSchedulePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsSchedulePtrType GetJobJobSettingsSettingsScheduleArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsSchedulePtr(v *GetJobJobSettingsSettingsScheduleArgs) GetJobJobSettingsSettingsSchedulePtrInput { - return (*getJobJobSettingsSettingsSchedulePtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return i.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSchedulePtrType) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSchedulePtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsScheduleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutput() GetJobJobSettingsSettingsScheduleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsScheduleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsScheduleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsScheduleOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSchedule) *GetJobJobSettingsSettingsSchedule { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsSchedulePtrOutput) -} - -func (o GetJobJobSettingsSettingsScheduleOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsScheduleOutput) QuartzCronExpression() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.QuartzCronExpression }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsScheduleOutput) TimezoneId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSchedule) string { return v.TimezoneId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsSchedulePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSchedule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutput() GetJobJobSettingsSettingsSchedulePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) ToGetJobJobSettingsSettingsSchedulePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSchedulePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) Elem() GetJobJobSettingsSettingsScheduleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) GetJobJobSettingsSettingsSchedule { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSchedule + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsScheduleOutput) -} - -func (o GetJobJobSettingsSettingsSchedulePtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { - if v == nil { - return nil - } - return v.PauseStatus - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsSchedulePtrOutput) QuartzCronExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { - if v == nil { - return nil - } - return &v.QuartzCronExpression - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsSchedulePtrOutput) TimezoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSchedule) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return &v.TimezoneId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs and GetJobJobSettingsSettingsSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsSparkJarTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput - ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkJarTaskArgs) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskOutput).ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkJarTaskArgs, GetJobJobSettingsSettingsSparkJarTaskPtr and GetJobJobSettingsSettingsSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkJarTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsSparkJarTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkJarTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsSparkJarTaskPtrType GetJobJobSettingsSettingsSparkJarTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsSparkJarTaskPtr(v *GetJobJobSettingsSettingsSparkJarTaskArgs) GetJobJobSettingsSettingsSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsSparkJarTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) } -func (*getJobJobSettingsSettingsSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkJarTaskPtrType) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutput() GetJobJobSettingsSettingsSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkJarTask) *GetJobJobSettingsSettingsSparkJarTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { return &v - }).(GetJobJobSettingsSettingsSparkJarTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkJarTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutput() GetJobJobSettingsSettingsSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkJarTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) GetJobJobSettingsSettingsSparkJarTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkJarTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 return ret - }).(GetJobJobSettingsSettingsSparkJarTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.JarUri + return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.MainClassName + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkJarTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs and GetJobJobSettingsSettingsSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: // -// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput - ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput } -type GetJobJobSettingsSettingsSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (GetJobJobSettingsSettingsSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(context.Background()) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkPythonTaskArgs) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskOutput).ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) } -// GetJobJobSettingsSettingsSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkPythonTaskArgs, GetJobJobSettingsSettingsSparkPythonTaskPtr and GetJobJobSettingsSettingsSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkPythonTaskPtrInput` via: -// -// GetJobJobSettingsSettingsSparkPythonTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsSparkPythonTaskPtrInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -type getJobJobSettingsSettingsSparkPythonTaskPtrType GetJobJobSettingsSettingsSparkPythonTaskArgs +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return o +} -func GetJobJobSettingsSettingsSparkPythonTaskPtr(v *GetJobJobSettingsSettingsSparkPythonTaskArgs) GetJobJobSettingsSettingsSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsSparkPythonTaskPtrType)(v) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return o } -func (*getJobJobSettingsSettingsSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) string { + return v.LocalMountDirPath + }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (i *getJobJobSettingsSettingsSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) *string { + return v.RemoteMountDirPath + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutput() GetJobJobSettingsSettingsSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkPythonTask) *GetJobJobSettingsSettingsSparkPythonTask { - return &v - }).(GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o GetJobJobSettingsSettingsSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` } -type GetJobJobSettingsSettingsSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} -func (GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkPythonTask)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkPythonTaskPtrOutput { - return o +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) GetJobJobSettingsSettingsSparkPythonTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsSparkPythonTask - return ret - }).(GetJobJobSettingsSettingsSparkPythonTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { - if v == nil { - return nil - } - return &v.PythonFile +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkPythonTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs and GetJobJobSettingsSettingsSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsSparkSubmitTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput } -type GetJobJobSettingsSettingsSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsSparkSubmitTaskArgs, GetJobJobSettingsSettingsSparkSubmitTaskPtr and GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsSparkSubmitTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: // -// GetJobJobSettingsSettingsSparkSubmitTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsSparkSubmitTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput } -type getJobJobSettingsSettingsSparkSubmitTaskPtrType GetJobJobSettingsSettingsSparkSubmitTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs -func GetJobJobSettingsSettingsSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsSparkSubmitTaskArgs) GetJobJobSettingsSettingsSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsSparkSubmitTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) } -func (*getJobJobSettingsSettingsSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutput() GetJobJobSettingsSettingsSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsSparkSubmitTask) *GetJobJobSettingsSettingsSparkSubmitTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { return &v - }).(GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsSparkSubmitTask)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) GetJobJobSettingsSettingsSparkSubmitTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { if v != nil { return *v } - var ret GetJobJobSettingsSettingsSparkSubmitTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage return ret - }).(GetJobJobSettingsSettingsSparkSubmitTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsSparkSubmitTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type GetJobJobSettingsSettingsTask struct { - ConditionTask *GetJobJobSettingsSettingsTaskConditionTask `pulumi:"conditionTask"` - DbtTask *GetJobJobSettingsSettingsTaskDbtTask `pulumi:"dbtTask"` - DependsOns []GetJobJobSettingsSettingsTaskDependsOn `pulumi:"dependsOns"` - Description *string `pulumi:"description"` - EmailNotifications *GetJobJobSettingsSettingsTaskEmailNotifications `pulumi:"emailNotifications"` - EnvironmentKey *string `pulumi:"environmentKey"` - ExistingClusterId *string `pulumi:"existingClusterId"` - ForEachTask *GetJobJobSettingsSettingsTaskForEachTask `pulumi:"forEachTask"` - Health *GetJobJobSettingsSettingsTaskHealth `pulumi:"health"` - JobClusterKey *string `pulumi:"jobClusterKey"` - Libraries []GetJobJobSettingsSettingsTaskLibrary `pulumi:"libraries"` - MaxRetries *int `pulumi:"maxRetries"` - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - NewCluster *GetJobJobSettingsSettingsTaskNewCluster `pulumi:"newCluster"` - NotebookTask *GetJobJobSettingsSettingsTaskNotebookTask `pulumi:"notebookTask"` - NotificationSettings *GetJobJobSettingsSettingsTaskNotificationSettings `pulumi:"notificationSettings"` - PipelineTask *GetJobJobSettingsSettingsTaskPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *GetJobJobSettingsSettingsTaskPythonWheelTask `pulumi:"pythonWheelTask"` - RetryOnTimeout bool `pulumi:"retryOnTimeout"` - RunIf *string `pulumi:"runIf"` - RunJobTask *GetJobJobSettingsSettingsTaskRunJobTask `pulumi:"runJobTask"` - SparkJarTask *GetJobJobSettingsSettingsTaskSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *GetJobJobSettingsSettingsTaskSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *GetJobJobSettingsSettingsTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` - SqlTask *GetJobJobSettingsSettingsTaskSqlTask `pulumi:"sqlTask"` - TaskKey string `pulumi:"taskKey"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - WebhookNotifications *GetJobJobSettingsSettingsTaskWebhookNotifications `pulumi:"webhookNotifications"` -} - -// GetJobJobSettingsSettingsTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskArgs and GetJobJobSettingsSettingsTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskInput` via: -// -// GetJobJobSettingsSettingsTaskArgs{...} -type GetJobJobSettingsSettingsTaskInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput - ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskOutput -} - -type GetJobJobSettingsSettingsTaskArgs struct { - ConditionTask GetJobJobSettingsSettingsTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask GetJobJobSettingsSettingsTaskDbtTaskPtrInput `pulumi:"dbtTask"` - DependsOns GetJobJobSettingsSettingsTaskDependsOnArrayInput `pulumi:"dependsOns"` - Description pulumi.StringPtrInput `pulumi:"description"` - EmailNotifications GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - ForEachTask GetJobJobSettingsSettingsTaskForEachTaskPtrInput `pulumi:"forEachTask"` - Health GetJobJobSettingsSettingsTaskHealthPtrInput `pulumi:"health"` - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - Libraries GetJobJobSettingsSettingsTaskLibraryArrayInput `pulumi:"libraries"` - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - NewCluster GetJobJobSettingsSettingsTaskNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask GetJobJobSettingsSettingsTaskNotebookTaskPtrInput `pulumi:"notebookTask"` - NotificationSettings GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` - PipelineTask GetJobJobSettingsSettingsTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` - RunIf pulumi.StringPtrInput `pulumi:"runIf"` - RunJobTask GetJobJobSettingsSettingsTaskRunJobTaskPtrInput `pulumi:"runJobTask"` - SparkJarTask GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - SqlTask GetJobJobSettingsSettingsTaskSqlTaskPtrInput `pulumi:"sqlTask"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - WebhookNotifications GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` -} - -func (GetJobJobSettingsSettingsTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskArgs) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsTaskArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskArray and GetJobJobSettingsSettingsTaskArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskArrayInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsTaskArray{ GetJobJobSettingsSettingsTaskArgs{...} } -type GetJobJobSettingsSettingsTaskArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput - ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskArrayOutput -} - -type GetJobJobSettingsSettingsTaskArray []GetJobJobSettingsSettingsTaskInput - -func (GetJobJobSettingsSettingsTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskArray) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskArrayOutput) -} - -type GetJobJobSettingsSettingsTaskOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTask)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutput() GetJobJobSettingsSettingsTaskOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskOutput) ToGetJobJobSettingsSettingsTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskConditionTask { - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskDbtTask { return v.DbtTask }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskDependsOn { return v.DependsOns }).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput } -func (o GetJobJobSettingsSettingsTaskOutput) ForEachTask() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskForEachTask { return v.ForEachTask }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (o GetJobJobSettingsSettingsTaskOutput) Health() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskHealth { return v.Health }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskOutput) Libraries() GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) []GetJobJobSettingsSettingsTaskLibrary { return v.Libraries }).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNewCluster { return v.NewCluster }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotebookTask { - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput } -func (o GetJobJobSettingsSettingsTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs -func (o GetJobJobSettingsSettingsTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPipelineTask { - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) RetryOnTimeout() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskRunJobTask { return v.RunJobTask }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkJarTask { - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o } -func (o GetJobJobSettingsSettingsTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o } -func (o GetJobJobSettingsSettingsTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskSqlTask { return v.SqlTask }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) string { return v.TaskKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { + return v.Password + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTask) *GetJobJobSettingsSettingsTaskWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { + return v.Username + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutput() GetJobJobSettingsSettingsTaskArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskArrayOutput) ToGetJobJobSettingsSettingsTaskArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTask { - return vs[0].([]GetJobJobSettingsSettingsTask)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) } -type GetJobJobSettingsSettingsTaskConditionTask struct { - Left string `pulumi:"left"` - Op string `pulumi:"op"` - Right string `pulumi:"right"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskConditionTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} -type GetJobJobSettingsSettingsTaskConditionTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput - ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsTaskConditionTaskArgs struct { - Left pulumi.StringInput `pulumi:"left"` - Op pulumi.StringInput `pulumi:"op"` - Right pulumi.StringInput `pulumi:"right"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskConditionTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskConditionTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskConditionTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput - ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskConditionTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskConditionTaskPtrInput { - return (*getJobJobSettingsSettingsTaskConditionTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskConditionTask) *GetJobJobSettingsSettingsTaskConditionTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Left() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskOutput) Right() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskConditionTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskConditionTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) GetJobJobSettingsSettingsTaskConditionTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskConditionTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsTaskConditionTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { if v == nil { return nil } - return &v.Left + return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { if v == nil { return nil } - return &v.Op + return v.BootDiskSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { if v == nil { return nil } - return &v.Right + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { + if v == nil { + return nil + } + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTask struct { - Catalog *string `pulumi:"catalog"` - Commands []string `pulumi:"commands"` - ProfilesDirectory *string `pulumi:"profilesDirectory"` - ProjectDirectory *string `pulumi:"projectDirectory"` - Schema *string `pulumi:"schema"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` } -// GetJobJobSettingsSettingsTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput` via: // -// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} -type GetJobJobSettingsSettingsTaskDbtTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput - ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput } -type GetJobJobSettingsSettingsTaskDbtTaskArgs struct { - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - Commands pulumi.StringArrayInput `pulumi:"commands"` - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - Schema pulumi.StringPtrInput `pulumi:"schema"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (GetJobJobSettingsSettingsTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput } -func (i GetJobJobSettingsSettingsTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDbtTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskDbtTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskDbtTaskPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput - ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) } -type getJobJobSettingsSettingsTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskDbtTaskArgs +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskDbtTaskPtrInput { - return (*getJobJobSettingsSettingsTaskDbtTaskPtrType)(v) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return o } -func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return o } -func (i *getJobJobSettingsSettingsTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTaskOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} -func (GetJobJobSettingsSettingsTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskDbtTask) *GetJobJobSettingsSettingsTaskDbtTask { - return &v - }).(GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput +} + +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) GetJobJobSettingsSettingsTaskDbtTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskDbtTask - return ret - }).(GetJobJobSettingsSettingsTaskDbtTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Catalog - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) []string { - if v == nil { - return nil - } - return v.Commands - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { + if v != nil { + return *v } - return v.Source - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) } -func (o GetJobJobSettingsSettingsTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { if v == nil { return nil } - return v.WarehouseId + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskDependsOn struct { - Outcome *string `pulumi:"outcome"` - TaskKey string `pulumi:"taskKey"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArgs and GetJobJobSettingsSettingsTaskDependsOnOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsTaskDependsOnArgs{...} -type GetJobJobSettingsSettingsTaskDependsOnInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput - ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsTaskDependsOnArgs struct { - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { - return i.ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) } -// GetJobJobSettingsSettingsTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskDependsOnArray and GetJobJobSettingsSettingsTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskDependsOnArrayInput` via: +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskDependsOnArray{ GetJobJobSettingsSettingsTaskDependsOnArgs{...} } -type GetJobJobSettingsSettingsTaskDependsOnArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput - ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput } -type GetJobJobSettingsSettingsTaskDependsOnArray []GetJobJobSettingsSettingsTaskDependsOnInput +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs -func (GetJobJobSettingsSettingsTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskDependsOnArrayOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskDependsOnOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +} -func (GetJobJobSettingsSettingsTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutput() GetJobJobSettingsSettingsTaskDependsOnOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) string { + return v.Destination + }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskDependsOn)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskDependsOnArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskDependsOnArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskDependsOnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskDependsOn { - return vs[0].([]GetJobJobSettingsSettingsTaskDependsOn)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskDependsOnOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) } -type GetJobJobSettingsSettingsTaskEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses []string `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput` via: // -// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskEmailNotificationsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput - ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput } -type GetJobJobSettingsSettingsTaskEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskEmailNotificationsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput } -type getJobJobSettingsSettingsTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskEmailNotificationsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs -func GetJobJobSettingsSettingsTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskEmailNotifications) *GetJobJobSettingsSettingsTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { return &v - }).(GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnStreamingBacklogExceededs }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) GetJobJobSettingsSettingsTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskEmailNotifications + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile return ret - }).(GetJobJobSettingsSettingsTaskEmailNotificationsOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnFailures - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStarts - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) } -func (o GetJobJobSettingsSettingsTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *string { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTask struct { - Concurrency *int `pulumi:"concurrency"` - Inputs string `pulumi:"inputs"` - Task GetJobJobSettingsSettingsTaskForEachTaskTask `pulumi:"task"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskArgs struct { - Concurrency pulumi.IntPtrInput `pulumi:"concurrency"` - Inputs pulumi.StringInput `pulumi:"inputs"` - Task GetJobJobSettingsSettingsTaskForEachTaskTaskInput `pulumi:"task"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsTaskForEachTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) *int { return v.Concurrency }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Inputs() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) string { return v.Inputs }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTaskTask { - return v.Task - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) string { + return v.Destination + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) GetJobJobSettingsSettingsTaskForEachTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Concurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *int { - if v == nil { - return nil - } - return v.Concurrency - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Inputs() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *string { if v == nil { return nil } - return &v.Inputs + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskPtrOutput) Task() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { - if v == nil { - return nil - } - return &v.Task - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTask struct { - ConditionTask *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `pulumi:"conditionTask"` - DbtTask *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `pulumi:"dbtTask"` - DependsOns []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn `pulumi:"dependsOns"` - Description *string `pulumi:"description"` - EmailNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications `pulumi:"emailNotifications"` - EnvironmentKey *string `pulumi:"environmentKey"` - ExistingClusterId *string `pulumi:"existingClusterId"` - Health *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth `pulumi:"health"` - JobClusterKey *string `pulumi:"jobClusterKey"` - Libraries []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary `pulumi:"libraries"` - MaxRetries *int `pulumi:"maxRetries"` - MinRetryIntervalMillis *int `pulumi:"minRetryIntervalMillis"` - NewCluster *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster `pulumi:"newCluster"` - NotebookTask *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask `pulumi:"notebookTask"` - NotificationSettings *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings `pulumi:"notificationSettings"` - PipelineTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask `pulumi:"pipelineTask"` - PythonWheelTask *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask `pulumi:"pythonWheelTask"` - RetryOnTimeout bool `pulumi:"retryOnTimeout"` - RunIf *string `pulumi:"runIf"` - RunJobTask *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask `pulumi:"runJobTask"` - SparkJarTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask `pulumi:"sparkJarTask"` - SparkPythonTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask `pulumi:"sparkPythonTask"` - SparkSubmitTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask `pulumi:"sparkSubmitTask"` - SqlTask *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask `pulumi:"sqlTask"` - TaskKey string `pulumi:"taskKey"` - TimeoutSeconds *int `pulumi:"timeoutSeconds"` - WebhookNotifications *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output } -type GetJobJobSettingsSettingsTaskForEachTaskTaskArgs struct { - ConditionTask GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput `pulumi:"conditionTask"` - DbtTask GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput `pulumi:"dbtTask"` - DependsOns GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput `pulumi:"dependsOns"` - Description pulumi.StringPtrInput `pulumi:"description"` - EmailNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput `pulumi:"emailNotifications"` - EnvironmentKey pulumi.StringPtrInput `pulumi:"environmentKey"` - ExistingClusterId pulumi.StringPtrInput `pulumi:"existingClusterId"` - Health GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput `pulumi:"health"` - JobClusterKey pulumi.StringPtrInput `pulumi:"jobClusterKey"` - Libraries GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput `pulumi:"libraries"` - MaxRetries pulumi.IntPtrInput `pulumi:"maxRetries"` - MinRetryIntervalMillis pulumi.IntPtrInput `pulumi:"minRetryIntervalMillis"` - NewCluster GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput `pulumi:"newCluster"` - NotebookTask GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput `pulumi:"notebookTask"` - NotificationSettings GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput `pulumi:"notificationSettings"` - PipelineTask GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput `pulumi:"pipelineTask"` - PythonWheelTask GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput `pulumi:"pythonWheelTask"` - RetryOnTimeout pulumi.BoolInput `pulumi:"retryOnTimeout"` - RunIf pulumi.StringPtrInput `pulumi:"runIf"` - RunJobTask GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput `pulumi:"runJobTask"` - SparkJarTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput `pulumi:"sparkJarTask"` - SparkPythonTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput `pulumi:"sparkPythonTask"` - SparkSubmitTask GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput `pulumi:"sparkSubmitTask"` - SqlTask GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput `pulumi:"sqlTask"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` - TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` - WebhookNotifications GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput `pulumi:"webhookNotifications"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args -func GetJobJobSettingsSettingsTaskForEachTaskTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - return v.DbtTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - return v.DependsOns - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.EnvironmentKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.ExistingClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - return v.Health - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.JobClusterKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - return v.Libraries - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MaxRetries }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.MinRetryIntervalMillis }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - return v.NewCluster - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RetryOnTimeout() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) bool { return v.RetryOnTimeout }).(pulumi.BoolOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *string { return v.RunIf }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - return v.RunJobTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - return v.SqlTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) string { return v.TaskKey }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *int { return v.TimeoutSeconds }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput struct{ *pulumi.OutputState } +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTask)(nil)).Elem() +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +} + +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) GetJobJobSettingsSettingsTaskForEachTaskTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ConditionTask() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { - if v == nil { - return nil - } - return v.ConditionTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DbtTask() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - if v == nil { - return nil - } - return v.DbtTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) string { + return v.Destination + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) DependsOns() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { + if v != nil { + return *v } - return v.DependsOns - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.Description + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EmailNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { - if v == nil { - return nil - } - return v.EmailNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) EnvironmentKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.EnvironmentKey - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) ExistingClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.ExistingClusterId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Health() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { - if v == nil { - return nil - } - return v.Health - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) JobClusterKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.JobClusterKey - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) Libraries() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) []GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - if v == nil { - return nil - } - return v.Libraries - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MaxRetries - }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) MinRetryIntervalMillis() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil - } - return v.MinRetryIntervalMillis - }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NewCluster() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { - if v == nil { - return nil - } - return v.NewCluster - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotebookTask() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { - if v == nil { - return nil - } - return v.NotebookTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) NotificationSettings() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { - if v == nil { - return nil - } - return v.NotificationSettings - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PipelineTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { - if v == nil { - return nil - } - return v.PipelineTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) PythonWheelTask() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { - if v == nil { - return nil - } - return v.PythonWheelTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RetryOnTimeout() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *bool { - if v == nil { - return nil - } - return &v.RetryOnTimeout - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunIf() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return v.RunIf - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) RunJobTask() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { - if v == nil { - return nil - } - return v.RunJobTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkJarTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - if v == nil { - return nil - } - return v.SparkJarTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkPythonTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { - if v == nil { - return nil - } - return v.SparkPythonTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SparkSubmitTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { - if v == nil { - return nil - } - return v.SparkSubmitTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { + return v.Destination + }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) SqlTask() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { - if v == nil { - return nil - } - return v.SqlTask - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TaskKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *string { - if v == nil { - return nil - } - return &v.TaskKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *int { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { + if v != nil { + return *v } - return v.TimeoutSeconds - }).(pulumi.IntPtrOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPtrOutput) WebhookNotifications() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { if v == nil { return nil } - return v.WebhookNotifications - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct { - Left string `pulumi:"left"` - Op string `pulumi:"op"` - Right string `pulumi:"right"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs struct { - Left pulumi.StringInput `pulumi:"left"` - Op pulumi.StringInput `pulumi:"op"` - Right pulumi.StringInput `pulumi:"right"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Left() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Left }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Op }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) Right() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) string { return v.Right }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Left() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { - if v == nil { - return nil - } - return &v.Left - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Op() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { - if v == nil { - return nil - } - return &v.Op - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskPtrOutput) Right() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { if v == nil { return nil } - return &v.Right - }).(pulumi.StringPtrOutput) + return &v.Clients + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask struct { - Catalog *string `pulumi:"catalog"` - Commands []string `pulumi:"commands"` - ProfilesDirectory *string `pulumi:"profilesDirectory"` - ProjectDirectory *string `pulumi:"projectDirectory"` - Schema *string `pulumi:"schema"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs struct { - Catalog pulumi.StringPtrInput `pulumi:"catalog"` - Commands pulumi.StringArrayInput `pulumi:"commands"` - ProfilesDirectory pulumi.StringPtrInput `pulumi:"profilesDirectory"` - ProjectDirectory pulumi.StringPtrInput `pulumi:"projectDirectory"` - Schema pulumi.StringPtrInput `pulumi:"schema"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() -} +type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return o +func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return o +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Catalog }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { return v.Commands }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProfilesDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.ProjectDirectory }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Schema }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Catalog() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.Catalog - }).(pulumi.StringPtrOutput) + return v.Jobs + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Commands() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { if v == nil { return nil } - return v.Commands - }).(pulumi.StringArrayOutput) + return v.Notebooks + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProfilesDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProfilesDirectory - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct { + BaseParameters map[string]string `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) ProjectDirectory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.ProjectDirectory - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Schema() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Schema - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs struct { + BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTask) *string { - if v == nil { - return nil - } - return v.WarehouseId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct { - Outcome *string `pulumi:"outcome"` - TaskKey string `pulumi:"taskKey"` +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput` via: +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs struct { - Outcome pulumi.StringPtrInput `pulumi:"outcome"` - TaskKey pulumi.StringInput `pulumi:"taskKey"` -} +type getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray and GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray []GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnInput +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]string { + return v.BaseParameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) Outcome() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) *string { return v.Outcome }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) TaskKey() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn) string { return v.TaskKey }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOn)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct { - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs []string `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []string `pulumi:"onFailures"` - OnStarts []string `pulumi:"onStarts"` - OnStreamingBacklogExceededs []string `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses []string `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]string { + if v == nil { + return nil + } + return v.BaseParameters + }).(pulumi.StringMapOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct { + AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs struct { - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` - OnDurationWarningThresholdExceededs pulumi.StringArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures pulumi.StringArrayInput `pulumi:"onFailures"` - OnStarts pulumi.StringArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs pulumi.StringArrayInput `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses pulumi.StringArrayInput `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs struct { + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { - return v.NoAlertForSkippedRuns +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnFailures }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnStarts }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { return v.OnSuccesses }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { if v == nil { return nil } - return v.NoAlertForSkippedRuns + return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnDurationWarningThresholdExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnFailures() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnFailures - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStarts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { - if v == nil { - return nil - } - return v.OnStarts - }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnStreamingBacklogExceededs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { if v == nil { return nil } - return v.OnStreamingBacklogExceededs - }).(pulumi.StringArrayOutput) + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsPtrOutput) OnSuccesses() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { if v == nil { return nil } - return v.OnSuccesses - }).(pulumi.StringArrayOutput) + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { - Rules []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs struct { - Rules GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { - return v.Rules - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskHealth)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) GetJobJobSettingsSettingsTaskForEachTaskTaskHealth { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskHealth + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskHealth) []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule struct { - Metric string `pulumi:"metric"` - Op string `pulumi:"op"` - Value int `pulumi:"value"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs struct { - Metric pulumi.StringInput `pulumi:"metric"` - Op pulumi.StringInput `pulumi:"op"` - Value pulumi.IntInput `pulumi:"value"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *string { + if v == nil { + return nil + } + return &v.PipelineId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]string `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray and GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray []GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) Value() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)(nil)).Elem() -} +type getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o +func GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput { - return o +func (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRule)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary struct { - Cran *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs struct { - Cran GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray []GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]string { + return v.NamedParameters + }).(pulumi.StringMapOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { - return v.Cran - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { - return v.Maven - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { - return v.Pypi - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.EntryPoint + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]string { + if v == nil { + return nil + } + return v.NamedParameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.PackageName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskLibrary)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]string `pulumi:"jobParameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]string { + return v.JobParameters + }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *int { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCran) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]string { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.JobParameters + }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { if v == nil { return nil } - return &v.Coordinates + return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.MainClassName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi)(nil)).Elem() +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { if v == nil { return nil } - return &v.Package + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return &v.PythonFile }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { if v == nil { return nil } - return v.Repo + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale `pulumi:"autoscale"` - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType `pulumi:"workloadType"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { + Alert *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` + Dashboard *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` + File *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` + Parameters map[string]string `pulumi:"parameters"` + Query *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` + WarehouseId string `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs struct { + Alert GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` + Dashboard GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + File GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` + Parameters pulumi.StringMapInput `pulumi:"parameters"` + Query GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` + WarehouseId pulumi.StringInput `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) -} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) -} +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) bool { - return v.EnableLocalDiskEncryption - }).(pulumi.BoolOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + return v.Alert + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { - return v.SparkEnvVars - }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { + return v.Query + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return v.Alert + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { if v == nil { return nil } - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { if v == nil { return nil } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + return v.File + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]string { if v == nil { return nil } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) + return v.Parameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { if v == nil { return nil } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) + return v.Query + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { if v == nil { return nil } - return v.ClusterId + return &v.WarehouseId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert struct { + AlertId string `pulumi:"alertId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs struct { + AlertId pulumi.StringInput `pulumi:"alertId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs + +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + return &v + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) map[string]string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { + if v != nil { + return *v } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *string { if v == nil { return nil } - return &v.SparkVersion + return &v.AlertId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) []string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { if v == nil { return nil } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewCluster) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { if v == nil { return nil - } - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput + } + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { + return v.DestinationId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { + return v.UserName + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MinWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard struct { + CustomSubject *string `pulumi:"customSubject"` + DashboardId string `pulumi:"dashboardId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs struct { + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.EbsVolumeType - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - return v.InstanceProfileArn - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { if v == nil { return nil } - return v.EbsVolumeType + return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.DashboardId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { if v == nil { return nil } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType)(v) -} - -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) -} - -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { + return v.DestinationId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { + return v.UserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { + return o } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput` via: +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) +} + +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile struct { + Path string `pulumi:"path"` + Source *string `pulumi:"source"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs struct { + Path pulumi.StringInput `pulumi:"path"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { if v == nil { return nil } - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + return &v.Path + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct { + QueryId string `pulumi:"queryId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs struct { + QueryId pulumi.StringInput `pulumi:"queryId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *string { if v == nil { return nil } - return &v.Destination + return &v.QueryId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications struct { + OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` + OnStarts []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `pulumi:"onStarts"` + OnStreamingBacklogExceededs []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs struct { + OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + OnStarts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) string { - return v.Destination - }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.KmsKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { + return v.OnStreamingBacklogExceededs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { return o } - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3 - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Output) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { + if v != nil { + return *v } - return &v.Destination - }).(pulumi.StringPtrOutput) + var ret GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications + return ret + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *bool { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { if v == nil { return nil } - return v.KmsKey - }).(pulumi.StringPtrOutput) + return v.OnStreamingBacklogExceededs + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoInput +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) string { - return v.LocalMountDirPath +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo) *string { - return v.RemoteMountDirPath - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` -} - -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImage) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType)(v) -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { - return v.Password - }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) string { - return v.Username - }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput { - return o -} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() } - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) + +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput` via: +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` +} + +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType)(v) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return o } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return o } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - return v.Availability - }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - return v.BootDiskSize - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput` via: +// +// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput + ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { + return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput` via: +type GetJobJobSettingsSettingsTaskHealth struct { + Rules []GetJobJobSettingsSettingsTaskHealthRule `pulumi:"rules"` +} + +// GetJobJobSettingsSettingsTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs and GetJobJobSettingsSettingsTaskHealthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput interface { +// GetJobJobSettingsSettingsTaskHealthArgs{...} +type GetJobJobSettingsSettingsTaskHealthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput + ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +type GetJobJobSettingsSettingsTaskHealthArgs struct { + Rules GetJobJobSettingsSettingsTaskHealthRuleArrayInput `pulumi:"rules"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput).ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) -} +// GetJobJobSettingsSettingsTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs, GetJobJobSettingsSettingsTaskHealthPtr and GetJobJobSettingsSettingsTaskHealthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthPtrInput` via: +// +// GetJobJobSettingsSettingsTaskHealthArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskHealthPtrInput interface { + pulumi.Input -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) + ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } +type getJobJobSettingsSettingsTaskHealthPtrType GetJobJobSettingsSettingsTaskHealthArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func GetJobJobSettingsSettingsTaskHealthPtr(v *GetJobJobSettingsSettingsTaskHealthArgs) GetJobJobSettingsSettingsTaskHealthPtrInput { + return (*getJobJobSettingsSettingsTaskHealthPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return o +func (*getJobJobSettingsSettingsTaskHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return o +func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +type GetJobJobSettingsSettingsTaskHealthOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskHealth) *GetJobJobSettingsSettingsTaskHealth { + return &v + }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { return v.Rules }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskHealthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) GetJobJobSettingsSettingsTaskHealth { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskHealth + return ret + }).(GetJobJobSettingsSettingsTaskHealthOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { + if v == nil { + return nil + } + return v.Rules + }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput +type GetJobJobSettingsSettingsTaskHealthRule struct { + Metric string `pulumi:"metric"` + Op string `pulumi:"op"` + Value int `pulumi:"value"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} +// GetJobJobSettingsSettingsTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskHealthRuleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleInput` via: +// +// GetJobJobSettingsSettingsTaskHealthRuleArgs{...} +type GetJobJobSettingsSettingsTaskHealthRuleInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskHealthRuleArgs struct { + Metric pulumi.StringInput `pulumi:"metric"` + Op pulumi.StringInput `pulumi:"op"` + Value pulumi.IntInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) +func (GetJobJobSettingsSettingsTaskHealthRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArray and GetJobJobSettingsSettingsTaskHealthRuleArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput interface { +// GetJobJobSettingsSettingsTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskHealthRuleArgs{...} } +type GetJobJobSettingsSettingsTaskHealthRuleArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput -} - -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType)(v) + ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +type GetJobJobSettingsSettingsTaskHealthRuleArray []GetJobJobSettingsSettingsTaskHealthRuleInput + +func (GetJobJobSettingsSettingsTaskHealthRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthRuleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Op() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Value() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfss) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskHealthRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskHealthRule { + return vs[0].([]GetJobJobSettingsSettingsTaskHealthRule)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskHealthRuleOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskLibrary struct { + Cran *GetJobJobSettingsSettingsTaskLibraryCran `pulumi:"cran"` + Egg *string `pulumi:"egg"` + Jar *string `pulumi:"jar"` + Maven *GetJobJobSettingsSettingsTaskLibraryMaven `pulumi:"maven"` + Pypi *GetJobJobSettingsSettingsTaskLibraryPypi `pulumi:"pypi"` + Requirements *string `pulumi:"requirements"` + Whl *string `pulumi:"whl"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput` via: +// GetJobJobSettingsSettingsTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArgs and GetJobJobSettingsSettingsTaskLibraryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsTaskLibraryArgs{...} +type GetJobJobSettingsSettingsTaskLibraryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskLibraryArgs struct { + Cran GetJobJobSettingsSettingsTaskLibraryCranPtrInput `pulumi:"cran"` + Egg pulumi.StringPtrInput `pulumi:"egg"` + Jar pulumi.StringPtrInput `pulumi:"jar"` + Maven GetJobJobSettingsSettingsTaskLibraryMavenPtrInput `pulumi:"maven"` + Pypi GetJobJobSettingsSettingsTaskLibraryPypiPtrInput `pulumi:"pypi"` + Requirements pulumi.StringPtrInput `pulumi:"requirements"` + Whl pulumi.StringPtrInput `pulumi:"whl"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) +func (GetJobJobSettingsSettingsTaskLibraryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArray and GetJobJobSettingsSettingsTaskLibraryArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput interface { +// GetJobJobSettingsSettingsTaskLibraryArray{ GetJobJobSettingsSettingsTaskLibraryArgs{...} } +type GetJobJobSettingsSettingsTaskLibraryArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType)(v) -} +type GetJobJobSettingsSettingsTaskLibraryArray []GetJobJobSettingsSettingsTaskLibraryInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Egg() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Jar() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryMaven { + return v.Maven + }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryOutput) Whl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskLibraryArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskLibraryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsOutput) +func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfs) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskLibraryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskLibrary { + return vs[0].([]GetJobJobSettingsSettingsTaskLibrary)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskLibraryOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskLibraryCran struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskLibraryCranOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} +type GetJobJobSettingsSettingsTaskLibraryCranInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskLibraryCranArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryCranArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput` via: +// GetJobJobSettingsSettingsTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskLibraryCranPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs{...} +// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput interface { +type GetJobJobSettingsSettingsTaskLibraryCranPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs +type getJobJobSettingsSettingsTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskLibraryCranArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType)(v) +func GetJobJobSettingsSettingsTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskLibraryCranPtrInput { + return (*getJobJobSettingsSettingsTaskLibraryCranPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskLibraryCranPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) +func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryCranOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryCranOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryCran) *GetJobJobSettingsSettingsTaskLibraryCran { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) + }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile)(nil)).Elem() +type GetJobJobSettingsSettingsTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryCranOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) GetJobJobSettingsSettingsTaskLibraryCran { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile + var ret GetJobJobSettingsSettingsTaskLibraryCran return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileOutput) + }).(GetJobJobSettingsSettingsTaskLibraryCranOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFile) *string { +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { if v == nil { return nil } - return &v.Destination + return &v.Package }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { + if v == nil { + return nil + } + return v.Repo + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput` via: +type GetJobJobSettingsSettingsTaskLibraryMaven struct { + Coordinates string `pulumi:"coordinates"` + Exclusions []string `pulumi:"exclusions"` + Repo *string `pulumi:"repo"` +} + +// GetJobJobSettingsSettingsTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskLibraryMavenOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} +type GetJobJobSettingsSettingsTaskLibraryMavenInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskLibraryMavenArgs struct { + Coordinates pulumi.StringInput `pulumi:"coordinates"` + Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryMavenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput` via: +// GetJobJobSettingsSettingsTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs{...} +// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput interface { +type GetJobJobSettingsSettingsTaskLibraryMavenPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs +type getJobJobSettingsSettingsTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskLibraryMavenArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType)(v) +func GetJobJobSettingsSettingsTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskLibraryMavenPtrInput { + return (*getJobJobSettingsSettingsTaskLibraryMavenPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskLibraryMavenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryMavenOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryMavenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryMaven) *GetJobJobSettingsSettingsTaskLibraryMaven { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) + }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +type GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryMavenOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) GetJobJobSettingsSettingsTaskLibraryMaven { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs + var ret GetJobJobSettingsSettingsTaskLibraryMaven return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { + if v == nil { + return nil + } + return &v.Coordinates + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) []string { + if v == nil { + return nil + } + return v.Exclusions + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { if v == nil { return nil } - return &v.Destination + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskLibraryPypi struct { + Package string `pulumi:"package"` + Repo *string `pulumi:"repo"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input` via: +// GetJobJobSettingsSettingsTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskLibraryPypiOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Input interface { +// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} +type GetJobJobSettingsSettingsTaskLibraryPypiInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskLibraryPypiArgs struct { + Package pulumi.StringInput `pulumi:"package"` + Repo pulumi.StringPtrInput `pulumi:"repo"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryPypiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput` via: +// GetJobJobSettingsSettingsTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args{...} +// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput interface { +type GetJobJobSettingsSettingsTaskLibraryPypiPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args +type getJobJobSettingsSettingsTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskLibraryPypiArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType)(v) +func GetJobJobSettingsSettingsTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskLibraryPypiPtrInput { + return (*getJobJobSettingsSettingsTaskLibraryPypiPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskLibraryPypiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryPypiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryPypiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryPypi) *GetJobJobSettingsSettingsTaskLibraryPypi { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) string { - return v.Destination - }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Package() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryPypiOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) GetJobJobSettingsSettingsTaskLibraryPypi { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3 + var ret GetJobJobSettingsSettingsTaskLibraryPypi return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Output) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { if v == nil { return nil } - return v.KmsKey + return &v.Package }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3) *string { +func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { if v == nil { return nil } - return v.Region + return v.Repo }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskNewCluster struct { + ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` + Autoscale *GetJobJobSettingsSettingsTaskNewClusterAutoscale `pulumi:"autoscale"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` + ClusterName *string `pulumi:"clusterName"` + CustomTags map[string]string `pulumi:"customTags"` + DataSecurityMode *string `pulumi:"dataSecurityMode"` + DockerImage *GetJobJobSettingsSettingsTaskNewClusterDockerImage `pulumi:"dockerImage"` + DriverInstancePoolId string `pulumi:"driverInstancePoolId"` + DriverNodeTypeId string `pulumi:"driverNodeTypeId"` + EnableElasticDisk bool `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` + GcpAttributes *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` + IdempotencyToken *string `pulumi:"idempotencyToken"` + InitScripts []GetJobJobSettingsSettingsTaskNewClusterInitScript `pulumi:"initScripts"` + InstancePoolId *string `pulumi:"instancePoolId"` + NodeTypeId string `pulumi:"nodeTypeId"` + NumWorkers int `pulumi:"numWorkers"` + PolicyId *string `pulumi:"policyId"` + RuntimeEngine *string `pulumi:"runtimeEngine"` + SingleUserName *string `pulumi:"singleUserName"` + SparkConf map[string]string `pulumi:"sparkConf"` + SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` + SparkVersion string `pulumi:"sparkVersion"` + SshPublicKeys []string `pulumi:"sshPublicKeys"` + WorkloadType *GetJobJobSettingsSettingsTaskNewClusterWorkloadType `pulumi:"workloadType"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs and GetJobJobSettingsSettingsTaskNewClusterOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsTaskNewClusterArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskNewClusterArgs struct { + ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` + Autoscale GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` + AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` + AwsAttributes GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` + AzureAttributes GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + ClusterLogConf GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` + ClusterMountInfos GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` + ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` + CustomTags pulumi.StringMapInput `pulumi:"customTags"` + DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` + DockerImage GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` + DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` + DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` + EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` + EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` + GcpAttributes GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` + IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` + InitScripts GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` + InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` + NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` + NumWorkers pulumi.IntInput `pulumi:"numWorkers"` + PolicyId pulumi.StringPtrInput `pulumi:"policyId"` + RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` + SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` + SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` + SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` + SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + WorkloadType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs, GetJobJobSettingsSettingsTaskNewClusterPtr and GetJobJobSettingsSettingsTaskNewClusterPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs +type getJobJobSettingsSettingsTaskNewClusterPtrType GetJobJobSettingsSettingsTaskNewClusterArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskNewClusterArgs) GetJobJobSettingsSettingsTaskNewClusterPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewCluster { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +} -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType)(v) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) string { - return v.Destination - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) GetJobJobSettingsSettingsTaskNewCluster { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace + var ret GetJobJobSettingsSettingsTaskNewCluster return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspace) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.ApplyPolicyDefaultValues + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { + if v == nil { + return nil + } + return v.Autoscale + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { + if v == nil { + return nil + } + return v.AutoterminationMinutes + }).(pulumi.IntPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { + if v == nil { + return nil + } + return v.AwsAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { + if v == nil { + return nil + } + return v.AzureAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterId + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { + if v == nil { + return nil + } + return v.ClusterLogConf + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { + if v == nil { + return nil + } + return v.ClusterMountInfos + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.ClusterName + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.CustomTags + }).(pulumi.StringMapOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.DataSecurityMode + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { + if v == nil { + return nil + } + return v.DockerImage + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverInstancePoolId + }).(pulumi.StringPtrOutput) +} -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType)(v) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.DriverNodeTypeId + }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableElasticDisk + }).(pulumi.BoolPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { + if v == nil { + return nil + } + return &v.EnableLocalDiskEncryption + }).(pulumi.BoolPtrOutput) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { + if v == nil { + return nil + } + return v.GcpAttributes + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.IdempotencyToken + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { + if v == nil { + return nil + } + return v.InitScripts + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.InstancePoolId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.NodeTypeId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { + if v == nil { + return nil + } + return &v.NumWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.PolicyId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.RuntimeEngine + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return v.SingleUserName + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkConf + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]string { + if v == nil { + return nil + } + return v.SparkEnvVars + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { + if v == nil { + return nil + } + return &v.SparkVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType { - if v != nil { - return *v +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeOutput) + return v.SshPublicKeys + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { if v == nil { return nil } - return &v.Clients - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) + return v.WorkloadType + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +type GetJobJobSettingsSettingsTaskNewClusterAutoscale struct { + MaxWorkers *int `pulumi:"maxWorkers"` + MinWorkers *int `pulumi:"minWorkers"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs struct { + MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` + MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs +type getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskNewClusterAutoscale { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients + var ret GetJobJobSettingsSettingsTaskNewClusterAutoscale return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.Jobs - }).(pulumi.BoolPtrOutput) + return v.MaxWorkers + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClients) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { if v == nil { return nil } - return v.Notebooks - }).(pulumi.BoolPtrOutput) + return v.MinWorkers + }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct { - BaseParameters map[string]string `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributes struct { + Availability *string `pulumi:"availability"` + EbsVolumeCount *int `pulumi:"ebsVolumeCount"` + EbsVolumeSize *int `pulumi:"ebsVolumeSize"` + EbsVolumeType *string `pulumi:"ebsVolumeType"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + InstanceProfileArn *string `pulumi:"instanceProfileArn"` + SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` + ZoneId *string `pulumi:"zoneId"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs struct { - BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` + EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` + EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` + SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs +type getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]string { - return v.BaseParameters - }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask + var ret GetJobJobSettingsSettingsTaskNewClusterAwsAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) map[string]string { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { if v == nil { return nil } - return v.BaseParameters - }).(pulumi.StringMapOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return &v.NotebookPath + return v.EbsVolumeCount + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { + if v == nil { + return nil + } + return v.EbsVolumeSize + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.EbsVolumeType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.Source + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.InstanceProfileArn }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { if v == nil { return nil } - return v.WarehouseId + return v.SpotBidPricePercent + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { + if v == nil { + return nil + } + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct { - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributes struct { + Availability *string `pulumi:"availability"` + FirstOnDemand *int `pulumi:"firstOnDemand"` + SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsInput interface { +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs struct { - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` + SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs +type getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings + var ret GetJobJobSettingsSettingsTaskNewClusterAzureAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { if v == nil { return nil } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { if v == nil { return nil } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) + return v.FirstOnDemand + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { if v == nil { return nil } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) + return v.SpotBidMaxPrice + }).(pulumi.Float64PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConf struct { + Dbfs *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` + S3 *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 `pulumi:"s3"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs struct { + Dbfs GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` + S3 GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs +type getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask + var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConf return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *bool { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { if v == nil { return nil } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { if v == nil { return nil } - return &v.PipelineId - }).(pulumi.StringPtrOutput) + return v.S3 + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]string `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs +type getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]string { - return v.NamedParameters - }).(pulumi.StringMapOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask + var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { - if v == nil { - return nil - } - return v.EntryPoint - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) map[string]string { - if v == nil { - return nil - } - return v.NamedParameters - }).(pulumi.StringMapOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *string { if v == nil { return nil } - return v.PackageName + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]string `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs +type getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args -func GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]string { - return v.JobParameters - }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask + var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) *int { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return &v.JobId - }).(pulumi.IntPtrOutput) + return v.CannedAcl + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTask) map[string]string { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { if v == nil { return nil } - return v.JobParameters - }).(pulumi.StringMapOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo struct { + LocalMountDirPath string `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs struct { + LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` + NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` + RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx) +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} } +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput interface { + pulumi.Input -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType)(v) + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput + +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo { + return v.NetworkFilesystemInfo + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { + return o +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { + return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { + MountOptions *string `pulumi:"mountOptions"` + ServerAddress string `pulumi:"serverAddress"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput { - return o +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskOutput) +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { + MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` + ServerAddress pulumi.StringInput `pulumi:"serverAddress"` +} + +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +} + +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { - if v == nil { - return nil - } - return v.JarUri - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) *string { - if v == nil { - return nil - } - return v.MainClassName +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { + return v.MountOptions }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { + return v.ServerAddress + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImage struct { + BasicAuth *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` + Url string `pulumi:"url"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterDockerImageInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs struct { + BasicAuth GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs +type getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskNewClusterDockerImage { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask + var ret GetJobJobSettingsSettingsTaskNewClusterDockerImage return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { if v == nil { return nil } - return &v.PythonFile - }).(pulumi.StringPtrOutput) + return v.BasicAuth + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *string { if v == nil { return nil } - return v.Source + return &v.Url }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth struct { + Password string `pulumi:"password"` + Username string `pulumi:"username"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs struct { + Password pulumi.StringInput `pulumi:"password"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs +type getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask + var ret GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTask) []string { +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return &v.Password + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { - Alert *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `pulumi:"alert"` - Dashboard *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `pulumi:"dashboard"` - File *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `pulumi:"file"` - Parameters map[string]string `pulumi:"parameters"` - Query *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery `pulumi:"query"` - WarehouseId string `pulumi:"warehouseId"` +func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput` via: +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributes struct { + Availability *string `pulumi:"availability"` + BootDiskSize *int `pulumi:"bootDiskSize"` + GoogleServiceAccount *string `pulumi:"googleServiceAccount"` + LocalSsdCount *int `pulumi:"localSsdCount"` + UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` + ZoneId *string `pulumi:"zoneId"` +} + +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskInput interface { +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs struct { - Alert GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput `pulumi:"alert"` - Dashboard GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - File GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput `pulumi:"file"` - Parameters pulumi.StringMapInput `pulumi:"parameters"` - Query GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput `pulumi:"query"` - WarehouseId pulumi.StringInput `pulumi:"warehouseId"` +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs struct { + Availability pulumi.StringPtrInput `pulumi:"availability"` + BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` + GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` + ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs +type getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - return v.Alert - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { - return v.Query - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask + var ret GetJobJobSettingsSettingsTaskNewClusterGcpAttributes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.Alert - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) + return v.Availability + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { if v == nil { return nil } - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) + return v.BootDiskSize + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { if v == nil { return nil } - return v.File - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) + return v.GoogleServiceAccount + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) map[string]string { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringMapOutput) + return v.LocalSsdCount + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { if v == nil { return nil } - return v.Query - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) + return v.UsePreemptibleExecutors + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTask) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { if v == nil { return nil } - return &v.WarehouseId + return v.ZoneId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert struct { - AlertId string `pulumi:"alertId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskNewClusterInitScript struct { + Abfss *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss `pulumi:"abfss"` + Dbfs *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` + File *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile `pulumi:"file"` + Gcs *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs `pulumi:"gcs"` + S3 *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 `pulumi:"s3"` + Volumes *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes `pulumi:"volumes"` + Workspace *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput -} - -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs struct { - AlertId pulumi.StringInput `pulumi:"alertId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` -} - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs struct { + Abfss GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` + Dbfs GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` + File GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` + Gcs GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` + S3 GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` + Volumes GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` + Workspace GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs - -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType)(v) -} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskNewClusterInitScriptInput -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { + return v.Abfss + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { + return v.Dbfs + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { + return v.File + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { + return v.Gcs + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { + return v.S3 + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { + return v.Volumes + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { + return v.Workspace + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput { - return o -} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert - return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertOutput) +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *string { - if v == nil { - return nil - } - return &v.AlertId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterInitScript { + return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterInitScript)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss struct { + Destination string `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput` via: +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionInput +type getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { - return v.DestinationId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription) *string { - return v.UserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard struct { - CustomSubject *string `pulumi:"customSubject"` - DashboardId string `pulumi:"dashboardId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput` via: +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs struct { - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return v.CustomSubject - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *string { if v == nil { return nil } - return &v.DashboardId + return &v.Destination }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFile struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) -} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput interface { + pulumi.Input -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionInput +type getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { - return v.DestinationId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription) *string { - return v.UserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptFile + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile struct { - Path string `pulumi:"path"` - Source *string `pulumi:"source"` +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput` via: +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs struct { - Path pulumi.StringInput `pulumi:"path"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { - if v == nil { - return nil - } - return &v.Path - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *string { if v == nil { return nil } - return v.Source + return &v.Destination }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct { - QueryId string `pulumi:"queryId"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 struct { + CannedAcl *string `pulumi:"cannedAcl"` + Destination string `pulumi:"destination"` + EnableEncryption *bool `pulumi:"enableEncryption"` + EncryptionType *string `pulumi:"encryptionType"` + Endpoint *string `pulumi:"endpoint"` + KmsKey *string `pulumi:"kmsKey"` + Region *string `pulumi:"region"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs struct { - QueryId pulumi.StringInput `pulumi:"queryId"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args struct { + CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` + Destination pulumi.StringInput `pulumi:"destination"` + EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` + EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args -func GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery) *string { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { if v == nil { return nil } - return &v.QueryId + return v.CannedAcl }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications struct { - OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` - OnStarts []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `pulumi:"onStarts"` - OnStreamingBacklogExceededs []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput` via: +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { + if v == nil { + return nil + } + return v.EnableEncryption + }).(pulumi.BoolPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.EncryptionType + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Endpoint + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.KmsKey + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes struct { + Destination string `pulumi:"destination"` +} + +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs struct { - OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - OnStarts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) } - -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) + +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs{...} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput interface { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput } -type getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs +type getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs -func GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType)(v) +func GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { return &v - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { - return v.OnStreamingBacklogExceededs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes return ret - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOutput) -} - -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *string { if v == nil { return nil } - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) + return &v.Destination + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace struct { + Destination string `pulumi:"destination"` } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) -} +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput` via: +// +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { - if v == nil { - return nil - } - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs struct { + Destination pulumi.StringInput `pulumi:"destination"` } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededInput +type getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput` via: +type GetJobJobSettingsSettingsTaskNewClusterWorkloadType struct { + Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +} + +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput interface { +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs struct { + Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput` via: +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureInput +type getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) +} -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { + return v.Clients + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput { +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadType { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadType + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { + if v == nil { + return nil + } + return &v.Clients + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput` via: +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct { + Jobs *bool `pulumi:"jobs"` + Notebooks *bool `pulumi:"notebooks"` +} + +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput interface { +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs struct { + Jobs pulumi.BoolPtrInput `pulumi:"jobs"` + Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput` via: +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput` via: // -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayInput interface { +// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartInput +type getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput { + return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return o -} +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return o +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return o } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { + return &v + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput +func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients + return ret + }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Jobs + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { - pulumi.Input +func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { + if v == nil { + return nil + } + return v.Notebooks + }).(pulumi.BoolPtrOutput) +} - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput +type GetJobJobSettingsSettingsTaskNotebookTask struct { + BaseParameters map[string]string `pulumi:"baseParameters"` + NotebookPath string `pulumi:"notebookPath"` + Source *string `pulumi:"source"` + WarehouseId *string `pulumi:"warehouseId"` } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededInput +// GetJobJobSettingsSettingsTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskNotebookTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskInput` via: +// +// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} +type GetJobJobSettingsSettingsTaskNotebookTaskInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput + ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskNotebookTaskArgs struct { + BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` + NotebookPath pulumi.StringInput `pulumi:"notebookPath"` + Source pulumi.StringPtrInput `pulumi:"source"` + WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (GetJobJobSettingsSettingsTaskNotebookTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return o +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return o +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } +// GetJobJobSettingsSettingsTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskNotebookTaskPtrInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput + ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o +type getJobJobSettingsSettingsTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskNotebookTaskArgs + +func GetJobJobSettingsSettingsTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskNotebookTaskPtrInput { + return (*getJobJobSettingsSettingsTaskNotebookTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o +func (*getJobJobSettingsSettingsTaskNotebookTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput interface { - pulumi.Input +type GetJobJobSettingsSettingsTaskNotebookTaskOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput +func (GetJobJobSettingsSettingsTaskNotebookTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return o } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return o } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotebookTask) *GetJobJobSettingsSettingsTaskNotebookTask { + return &v + }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) } -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput` via: -// -// GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs{...} } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput - ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessInput - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) +func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotebookTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) GetJobJobSettingsSettingsTaskNotebookTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskNotebookTask + return ret + }).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) } -type GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) map[string]string { + if v == nil { + return nil + } + return v.BaseParameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { + if v == nil { + return nil + } + return &v.NotebookPath + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput { - return o +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess { - return vs[0].([]GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessOutput) +func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { + if v == nil { + return nil + } + return v.WarehouseId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskHealth struct { - Rules []GetJobJobSettingsSettingsTaskHealthRule `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskNotificationSettings struct { + AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` } -// GetJobJobSettingsSettingsTaskHealthInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs and GetJobJobSettingsSettingsTaskHealthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthInput` via: +// GetJobJobSettingsSettingsTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskNotificationSettingsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsInput` via: // -// GetJobJobSettingsSettingsTaskHealthArgs{...} -type GetJobJobSettingsSettingsTaskHealthInput interface { +// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} +type GetJobJobSettingsSettingsTaskNotificationSettingsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput - ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput } -type GetJobJobSettingsSettingsTaskHealthArgs struct { - Rules GetJobJobSettingsSettingsTaskHealthRuleArrayInput `pulumi:"rules"` +type GetJobJobSettingsSettingsTaskNotificationSettingsArgs struct { + AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` + NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` + NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` } -func (GetJobJobSettingsSettingsTaskHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { + return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskHealthArgs) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthOutput).ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskHealthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthArgs, GetJobJobSettingsSettingsTaskHealthPtr and GetJobJobSettingsSettingsTaskHealthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthPtrInput` via: +// GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput` via: // -// GetJobJobSettingsSettingsTaskHealthArgs{...} +// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskHealthPtrInput interface { +type GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput - ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput + ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput } -type getJobJobSettingsSettingsTaskHealthPtrType GetJobJobSettingsSettingsTaskHealthArgs +type getJobJobSettingsSettingsTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskNotificationSettingsArgs -func GetJobJobSettingsSettingsTaskHealthPtr(v *GetJobJobSettingsSettingsTaskHealthArgs) GetJobJobSettingsSettingsTaskHealthPtrInput { - return (*getJobJobSettingsSettingsTaskHealthPtrType)(v) +func GetJobJobSettingsSettingsTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput { + return (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskHealthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskHealthPtrType) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthPtrOutput) +func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -type GetJobJobSettingsSettingsTaskHealthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskNotificationSettingsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutput() GetJobJobSettingsSettingsTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthOutput { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskHealthOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskHealth) *GetJobJobSettingsSettingsTaskHealth { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotificationSettings) *GetJobJobSettingsSettingsTaskNotificationSettings { return &v - }).(GetJobJobSettingsSettingsTaskHealthPtrOutput) + }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskHealthOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { return v.Rules }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskHealthPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsTaskHealthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskHealth)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutput() GetJobJobSettingsSettingsTaskHealthPtrOutput { +type GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) ToGetJobJobSettingsSettingsTaskHealthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthPtrOutput { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Elem() GetJobJobSettingsSettingsTaskHealthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) GetJobJobSettingsSettingsTaskHealth { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) GetJobJobSettingsSettingsTaskNotificationSettings { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskHealth + var ret GetJobJobSettingsSettingsTaskNotificationSettings return ret - }).(GetJobJobSettingsSettingsTaskHealthOutput) + }).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) } -func (o GetJobJobSettingsSettingsTaskHealthPtrOutput) Rules() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskHealth) []GetJobJobSettingsSettingsTaskHealthRule { +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { if v == nil { return nil } - return v.Rules - }).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) + return v.AlertOnLastAttempt + }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskHealthRule struct { - Metric string `pulumi:"metric"` - Op string `pulumi:"op"` - Value int `pulumi:"value"` +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForCanceledRuns + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskHealthRuleInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArgs and GetJobJobSettingsSettingsTaskHealthRuleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleInput` via: +func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { + if v == nil { + return nil + } + return v.NoAlertForSkippedRuns + }).(pulumi.BoolPtrOutput) +} + +type GetJobJobSettingsSettingsTaskPipelineTask struct { + FullRefresh *bool `pulumi:"fullRefresh"` + PipelineId string `pulumi:"pipelineId"` +} + +// GetJobJobSettingsSettingsTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskPipelineTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskInput` via: // -// GetJobJobSettingsSettingsTaskHealthRuleArgs{...} -type GetJobJobSettingsSettingsTaskHealthRuleInput interface { +// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} +type GetJobJobSettingsSettingsTaskPipelineTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput - ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput } -type GetJobJobSettingsSettingsTaskHealthRuleArgs struct { - Metric pulumi.StringInput `pulumi:"metric"` - Op pulumi.StringInput `pulumi:"op"` - Value pulumi.IntInput `pulumi:"value"` +type GetJobJobSettingsSettingsTaskPipelineTaskArgs struct { + FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` + PipelineId pulumi.StringInput `pulumi:"pipelineId"` } -func (GetJobJobSettingsSettingsTaskHealthRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPipelineTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskHealthRuleArgs) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleOutput) +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) } -// GetJobJobSettingsSettingsTaskHealthRuleArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskHealthRuleArray and GetJobJobSettingsSettingsTaskHealthRuleArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskHealthRuleArrayInput` via: +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskHealthRuleArray{ GetJobJobSettingsSettingsTaskHealthRuleArgs{...} } -type GetJobJobSettingsSettingsTaskHealthRuleArrayInput interface { +// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskPipelineTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput - ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput + ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput } -type GetJobJobSettingsSettingsTaskHealthRuleArray []GetJobJobSettingsSettingsTaskHealthRuleInput +type getJobJobSettingsSettingsTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskPipelineTaskArgs -func (GetJobJobSettingsSettingsTaskHealthRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +func GetJobJobSettingsSettingsTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskPipelineTaskPtrInput { + return (*getJobJobSettingsSettingsTaskPipelineTaskPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskPipelineTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskHealthRuleArray) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) +func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskHealthRuleOutput struct{ *pulumi.OutputState } +func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +} -func (GetJobJobSettingsSettingsTaskHealthRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +type GetJobJobSettingsSettingsTaskPipelineTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskPipelineTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutput() GetJobJobSettingsSettingsTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) ToGetJobJobSettingsSettingsTaskHealthRuleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) string { return v.Metric }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Op() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) string { return v.Op }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPipelineTask) *GetJobJobSettingsSettingsTaskPipelineTask { + return &v + }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskHealthRuleOutput) Value() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskHealthRule) int { return v.Value }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskHealthRuleArrayOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskHealthRule)(nil)).Elem() +type GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutput() GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) ToGetJobJobSettingsSettingsTaskHealthRuleArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskHealthRuleArrayOutput { +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskHealthRuleArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskHealthRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskHealthRule { - return vs[0].([]GetJobJobSettingsSettingsTaskHealthRule)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskHealthRuleOutput) +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPipelineTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) GetJobJobSettingsSettingsTaskPipelineTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskPipelineTask + return ret + }).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) } -type GetJobJobSettingsSettingsTaskLibrary struct { - Cran *GetJobJobSettingsSettingsTaskLibraryCran `pulumi:"cran"` - Egg *string `pulumi:"egg"` - Jar *string `pulumi:"jar"` - Maven *GetJobJobSettingsSettingsTaskLibraryMaven `pulumi:"maven"` - Pypi *GetJobJobSettingsSettingsTaskLibraryPypi `pulumi:"pypi"` - Requirements *string `pulumi:"requirements"` - Whl *string `pulumi:"whl"` +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *bool { + if v == nil { + return nil + } + return v.FullRefresh + }).(pulumi.BoolPtrOutput) } -// GetJobJobSettingsSettingsTaskLibraryInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArgs and GetJobJobSettingsSettingsTaskLibraryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryInput` via: +func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *string { + if v == nil { + return nil + } + return &v.PipelineId + }).(pulumi.StringPtrOutput) +} + +type GetJobJobSettingsSettingsTaskPythonWheelTask struct { + EntryPoint *string `pulumi:"entryPoint"` + NamedParameters map[string]string `pulumi:"namedParameters"` + PackageName *string `pulumi:"packageName"` + Parameters []string `pulumi:"parameters"` +} + +// GetJobJobSettingsSettingsTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskPythonWheelTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskInput` via: // -// GetJobJobSettingsSettingsTaskLibraryArgs{...} -type GetJobJobSettingsSettingsTaskLibraryInput interface { +// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} +type GetJobJobSettingsSettingsTaskPythonWheelTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput - ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput } -type GetJobJobSettingsSettingsTaskLibraryArgs struct { - Cran GetJobJobSettingsSettingsTaskLibraryCranPtrInput `pulumi:"cran"` - Egg pulumi.StringPtrInput `pulumi:"egg"` - Jar pulumi.StringPtrInput `pulumi:"jar"` - Maven GetJobJobSettingsSettingsTaskLibraryMavenPtrInput `pulumi:"maven"` - Pypi GetJobJobSettingsSettingsTaskLibraryPypiPtrInput `pulumi:"pypi"` - Requirements pulumi.StringPtrInput `pulumi:"requirements"` - Whl pulumi.StringPtrInput `pulumi:"whl"` +type GetJobJobSettingsSettingsTaskPythonWheelTaskArgs struct { + EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` + NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` + PackageName pulumi.StringPtrInput `pulumi:"packageName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskLibraryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryArgs) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryOutput) +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) } -// GetJobJobSettingsSettingsTaskLibraryArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryArray and GetJobJobSettingsSettingsTaskLibraryArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryArrayInput` via: +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryArray{ GetJobJobSettingsSettingsTaskLibraryArgs{...} } -type GetJobJobSettingsSettingsTaskLibraryArrayInput interface { +// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput - ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput + ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput } -type GetJobJobSettingsSettingsTaskLibraryArray []GetJobJobSettingsSettingsTaskLibraryInput +type getJobJobSettingsSettingsTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskPythonWheelTaskArgs -func (GetJobJobSettingsSettingsTaskLibraryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +func GetJobJobSettingsSettingsTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput { + return (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryArray) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryArrayOutput) +func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskLibraryOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskLibraryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutput() GetJobJobSettingsSettingsTaskLibraryOutput { - return o +type GetJobJobSettingsSettingsTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) ToGetJobJobSettingsSettingsTaskLibraryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryOutput { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Cran() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryCran { return v.Cran }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return o } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Egg() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Egg }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Jar() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Jar }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { + return &v + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Maven() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryMaven { - return v.Maven - }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Pypi() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *GetJobJobSettingsSettingsTaskLibraryPypi { return v.Pypi }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Requirements() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Requirements }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryOutput) Whl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibrary) *string { return v.Whl }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskLibraryArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskLibrary)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutput() GetJobJobSettingsSettingsTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) ToGetJobJobSettingsSettingsTaskLibraryArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryArrayOutput { +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskLibraryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskLibrary { - return vs[0].([]GetJobJobSettingsSettingsTaskLibrary)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskLibraryOutput) +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) GetJobJobSettingsSettingsTaskPythonWheelTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskPythonWheelTask + return ret + }).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) } -type GetJobJobSettingsSettingsTaskLibraryCran struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.EntryPoint + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskLibraryCranInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs and GetJobJobSettingsSettingsTaskLibraryCranOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranInput` via: +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]string { + if v == nil { + return nil + } + return v.NamedParameters + }).(pulumi.StringMapOutput) +} + +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { + if v == nil { + return nil + } + return v.PackageName + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +type GetJobJobSettingsSettingsTaskRunJobTask struct { + JobId int `pulumi:"jobId"` + JobParameters map[string]string `pulumi:"jobParameters"` +} + +// GetJobJobSettingsSettingsTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskRunJobTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskInput` via: // -// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} -type GetJobJobSettingsSettingsTaskLibraryCranInput interface { +// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} +type GetJobJobSettingsSettingsTaskRunJobTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput - ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput } -type GetJobJobSettingsSettingsTaskLibraryCranArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskRunJobTaskArgs struct { + JobId pulumi.IntInput `pulumi:"jobId"` + JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` } -func (GetJobJobSettingsSettingsTaskLibraryCranArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskRunJobTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryCranArgs) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranOutput).ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskLibraryCranPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryCranArgs, GetJobJobSettingsSettingsTaskLibraryCranPtr and GetJobJobSettingsSettingsTaskLibraryCranPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryCranPtrInput` via: +// GetJobJobSettingsSettingsTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryCranArgs{...} +// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskLibraryCranPtrInput interface { +type GetJobJobSettingsSettingsTaskRunJobTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput - ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput + ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput } -type getJobJobSettingsSettingsTaskLibraryCranPtrType GetJobJobSettingsSettingsTaskLibraryCranArgs +type getJobJobSettingsSettingsTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskRunJobTaskArgs -func GetJobJobSettingsSettingsTaskLibraryCranPtr(v *GetJobJobSettingsSettingsTaskLibraryCranArgs) GetJobJobSettingsSettingsTaskLibraryCranPtrInput { - return (*getJobJobSettingsSettingsTaskLibraryCranPtrType)(v) +func GetJobJobSettingsSettingsTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskRunJobTaskPtrInput { + return (*getJobJobSettingsSettingsTaskRunJobTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskLibraryCranPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskRunJobTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskLibraryCranPtrType) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) +func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryCranOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskRunJobTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryCranOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskRunJobTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutput() GetJobJobSettingsSettingsTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryCran) *GetJobJobSettingsSettingsTaskLibraryCran { +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskRunJobTask) *GetJobJobSettingsSettingsTaskRunJobTask { return &v - }).(GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) + }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobId() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryCran) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskLibraryCranPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryCran)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutput() GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryCranPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryCranPtrOutput { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryCranOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) GetJobJobSettingsSettingsTaskLibraryCran { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskRunJobTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) GetJobJobSettingsSettingsTaskRunJobTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskLibraryCran + var ret GetJobJobSettingsSettingsTaskRunJobTask return ret - }).(GetJobJobSettingsSettingsTaskLibraryCranOutput) + }).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) *int { if v == nil { return nil } - return &v.Package - }).(pulumi.StringPtrOutput) + return &v.JobId + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryCranPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryCran) *string { +func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) map[string]string { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.JobParameters + }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskLibraryMaven struct { - Coordinates string `pulumi:"coordinates"` - Exclusions []string `pulumi:"exclusions"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskSparkJarTask struct { + JarUri *string `pulumi:"jarUri"` + MainClassName *string `pulumi:"mainClassName"` + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskLibraryMavenInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs and GetJobJobSettingsSettingsTaskLibraryMavenOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenInput` via: +// GetJobJobSettingsSettingsTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskSparkJarTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskInput` via: // -// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} -type GetJobJobSettingsSettingsTaskLibraryMavenInput interface { +// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} +type GetJobJobSettingsSettingsTaskSparkJarTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput - ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput } -type GetJobJobSettingsSettingsTaskLibraryMavenArgs struct { - Coordinates pulumi.StringInput `pulumi:"coordinates"` - Exclusions pulumi.StringArrayInput `pulumi:"exclusions"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskSparkJarTaskArgs struct { + JarUri pulumi.StringPtrInput `pulumi:"jarUri"` + MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskLibraryMavenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryMavenArgs) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenOutput).ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskLibraryMavenPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryMavenArgs, GetJobJobSettingsSettingsTaskLibraryMavenPtr and GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryMavenPtrInput` via: +// GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryMavenArgs{...} +// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskLibraryMavenPtrInput interface { +type GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput - ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput } -type getJobJobSettingsSettingsTaskLibraryMavenPtrType GetJobJobSettingsSettingsTaskLibraryMavenArgs +type getJobJobSettingsSettingsTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskSparkJarTaskArgs -func GetJobJobSettingsSettingsTaskLibraryMavenPtr(v *GetJobJobSettingsSettingsTaskLibraryMavenArgs) GetJobJobSettingsSettingsTaskLibraryMavenPtrInput { - return (*getJobJobSettingsSettingsTaskLibraryMavenPtrType)(v) +func GetJobJobSettingsSettingsTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskLibraryMavenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskLibraryMavenPtrType) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) +func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryMavenOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkJarTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryMavenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutput() GetJobJobSettingsSettingsTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryMaven) *GetJobJobSettingsSettingsTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkJarTask) *GetJobJobSettingsSettingsTaskSparkJarTask { return &v - }).(GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) + }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Coordinates() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) string { return v.Coordinates }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) []string { return v.Exclusions }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryMaven) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryMaven)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutput() GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryMavenPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryMavenOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) GetJobJobSettingsSettingsTaskLibraryMaven { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) GetJobJobSettingsSettingsTaskSparkJarTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskLibraryMaven + var ret GetJobJobSettingsSettingsTaskSparkJarTask return ret - }).(GetJobJobSettingsSettingsTaskLibraryMavenOutput) + }).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Coordinates() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { if v == nil { return nil } - return &v.Coordinates + return v.JarUri }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Exclusions() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) []string { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { if v == nil { return nil } - return v.Exclusions - }).(pulumi.StringArrayOutput) + return v.MainClassName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryMavenPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryMaven) *string { +func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) []string { if v == nil { return nil } - return v.Repo - }).(pulumi.StringPtrOutput) + return v.Parameters + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskLibraryPypi struct { - Package string `pulumi:"package"` - Repo *string `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskSparkPythonTask struct { + Parameters []string `pulumi:"parameters"` + PythonFile string `pulumi:"pythonFile"` + Source *string `pulumi:"source"` } -// GetJobJobSettingsSettingsTaskLibraryPypiInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs and GetJobJobSettingsSettingsTaskLibraryPypiOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiInput` via: +// GetJobJobSettingsSettingsTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskSparkPythonTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskInput` via: // -// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} -type GetJobJobSettingsSettingsTaskLibraryPypiInput interface { +// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} +type GetJobJobSettingsSettingsTaskSparkPythonTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput - ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput } -type GetJobJobSettingsSettingsTaskLibraryPypiArgs struct { - Package pulumi.StringInput `pulumi:"package"` - Repo pulumi.StringPtrInput `pulumi:"repo"` +type GetJobJobSettingsSettingsTaskSparkPythonTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` + PythonFile pulumi.StringInput `pulumi:"pythonFile"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskLibraryPypiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskLibraryPypiArgs) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiOutput).ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskLibraryPypiPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskLibraryPypiArgs, GetJobJobSettingsSettingsTaskLibraryPypiPtr and GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskLibraryPypiPtrInput` via: +// GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskLibraryPypiArgs{...} +// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskLibraryPypiPtrInput interface { +type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput - ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput } -type getJobJobSettingsSettingsTaskLibraryPypiPtrType GetJobJobSettingsSettingsTaskLibraryPypiArgs +type getJobJobSettingsSettingsTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskSparkPythonTaskArgs -func GetJobJobSettingsSettingsTaskLibraryPypiPtr(v *GetJobJobSettingsSettingsTaskLibraryPypiArgs) GetJobJobSettingsSettingsTaskLibraryPypiPtrInput { - return (*getJobJobSettingsSettingsTaskLibraryPypiPtrType)(v) +func GetJobJobSettingsSettingsTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskLibraryPypiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskLibraryPypiPtrType) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) +func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskLibraryPypiOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskLibraryPypiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutput() GetJobJobSettingsSettingsTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiOutput { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskLibraryPypi) *GetJobJobSettingsSettingsTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { return &v - }).(GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Package() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) string { return v.Package }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskLibraryPypi) *string { return v.Repo }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskLibraryPypi)(nil)).Elem() +type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutput() GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) ToGetJobJobSettingsSettingsTaskLibraryPypiPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Elem() GetJobJobSettingsSettingsTaskLibraryPypiOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) GetJobJobSettingsSettingsTaskLibraryPypi { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) GetJobJobSettingsSettingsTaskSparkPythonTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskLibraryPypi + var ret GetJobJobSettingsSettingsTaskSparkPythonTask return ret - }).(GetJobJobSettingsSettingsTaskLibraryPypiOutput) + }).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Package() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) []string { if v == nil { return nil } - return &v.Package + return v.Parameters + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { + if v == nil { + return nil + } + return &v.PythonFile }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskLibraryPypiPtrOutput) Repo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskLibraryPypi) *string { +func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { if v == nil { return nil } - return v.Repo + return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewCluster struct { - ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` - Autoscale *GetJobJobSettingsSettingsTaskNewClusterAutoscale `pulumi:"autoscale"` - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf `pulumi:"clusterLogConf"` - ClusterMountInfos []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo `pulumi:"clusterMountInfos"` - ClusterName *string `pulumi:"clusterName"` - CustomTags map[string]string `pulumi:"customTags"` - DataSecurityMode *string `pulumi:"dataSecurityMode"` - DockerImage *GetJobJobSettingsSettingsTaskNewClusterDockerImage `pulumi:"dockerImage"` - DriverInstancePoolId string `pulumi:"driverInstancePoolId"` - DriverNodeTypeId string `pulumi:"driverNodeTypeId"` - EnableElasticDisk bool `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption bool `pulumi:"enableLocalDiskEncryption"` - GcpAttributes *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes `pulumi:"gcpAttributes"` - IdempotencyToken *string `pulumi:"idempotencyToken"` - InitScripts []GetJobJobSettingsSettingsTaskNewClusterInitScript `pulumi:"initScripts"` - InstancePoolId *string `pulumi:"instancePoolId"` - NodeTypeId string `pulumi:"nodeTypeId"` - NumWorkers int `pulumi:"numWorkers"` - PolicyId *string `pulumi:"policyId"` - RuntimeEngine *string `pulumi:"runtimeEngine"` - SingleUserName *string `pulumi:"singleUserName"` - SparkConf map[string]string `pulumi:"sparkConf"` - SparkEnvVars map[string]string `pulumi:"sparkEnvVars"` - SparkVersion string `pulumi:"sparkVersion"` - SshPublicKeys []string `pulumi:"sshPublicKeys"` - WorkloadType *GetJobJobSettingsSettingsTaskNewClusterWorkloadType `pulumi:"workloadType"` +type GetJobJobSettingsSettingsTaskSparkSubmitTask struct { + Parameters []string `pulumi:"parameters"` } -// GetJobJobSettingsSettingsTaskNewClusterInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs and GetJobJobSettingsSettingsTaskNewClusterOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInput` via: +// GetJobJobSettingsSettingsTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInput interface { +// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} +type GetJobJobSettingsSettingsTaskSparkSubmitTaskInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput - ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput } -type GetJobJobSettingsSettingsTaskNewClusterArgs struct { - ApplyPolicyDefaultValues pulumi.BoolPtrInput `pulumi:"applyPolicyDefaultValues"` - Autoscale GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput `pulumi:"autoscale"` - AutoterminationMinutes pulumi.IntPtrInput `pulumi:"autoterminationMinutes"` - AwsAttributes GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput `pulumi:"awsAttributes"` - AzureAttributes GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput `pulumi:"azureAttributes"` - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - ClusterLogConf GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput `pulumi:"clusterLogConf"` - ClusterMountInfos GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput `pulumi:"clusterMountInfos"` - ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` - CustomTags pulumi.StringMapInput `pulumi:"customTags"` - DataSecurityMode pulumi.StringPtrInput `pulumi:"dataSecurityMode"` - DockerImage GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput `pulumi:"dockerImage"` - DriverInstancePoolId pulumi.StringInput `pulumi:"driverInstancePoolId"` - DriverNodeTypeId pulumi.StringInput `pulumi:"driverNodeTypeId"` - EnableElasticDisk pulumi.BoolInput `pulumi:"enableElasticDisk"` - EnableLocalDiskEncryption pulumi.BoolInput `pulumi:"enableLocalDiskEncryption"` - GcpAttributes GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput `pulumi:"gcpAttributes"` - IdempotencyToken pulumi.StringPtrInput `pulumi:"idempotencyToken"` - InitScripts GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput `pulumi:"initScripts"` - InstancePoolId pulumi.StringPtrInput `pulumi:"instancePoolId"` - NodeTypeId pulumi.StringInput `pulumi:"nodeTypeId"` - NumWorkers pulumi.IntInput `pulumi:"numWorkers"` - PolicyId pulumi.StringPtrInput `pulumi:"policyId"` - RuntimeEngine pulumi.StringPtrInput `pulumi:"runtimeEngine"` - SingleUserName pulumi.StringPtrInput `pulumi:"singleUserName"` - SparkConf pulumi.StringMapInput `pulumi:"sparkConf"` - SparkEnvVars pulumi.StringMapInput `pulumi:"sparkEnvVars"` - SparkVersion pulumi.StringInput `pulumi:"sparkVersion"` - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - WorkloadType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput `pulumi:"workloadType"` +type GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs struct { + Parameters pulumi.StringArrayInput `pulumi:"parameters"` } -func (GetJobJobSettingsSettingsTaskNewClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterArgs) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterOutput).ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterArgs, GetJobJobSettingsSettingsTaskNewClusterPtr and GetJobJobSettingsSettingsTaskNewClusterPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterPtrInput` via: +// GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterArgs{...} +// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterPtrInput interface { +type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterPtrType GetJobJobSettingsSettingsTaskNewClusterArgs +type getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs -func GetJobJobSettingsSettingsTaskNewClusterPtr(v *GetJobJobSettingsSettingsTaskNewClusterArgs) GetJobJobSettingsSettingsTaskNewClusterPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterPtrType)(v) +func GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterPtrType) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) +func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutput() GetJobJobSettingsSettingsTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterOutput { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterPtrOutput) + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *bool { return v.ApplyPolicyDefaultValues }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *int { return v.AutoterminationMinutes }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskSparkSubmitTask { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTaskSparkSubmitTask + return ret + }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { + if v == nil { + return nil + } + return v.Parameters + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTask struct { + Alert *GetJobJobSettingsSettingsTaskSqlTaskAlert `pulumi:"alert"` + Dashboard *GetJobJobSettingsSettingsTaskSqlTaskDashboard `pulumi:"dashboard"` + File *GetJobJobSettingsSettingsTaskSqlTaskFile `pulumi:"file"` + Parameters map[string]string `pulumi:"parameters"` + Query *GetJobJobSettingsSettingsTaskSqlTaskQuery `pulumi:"query"` + WarehouseId string `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) +// GetJobJobSettingsSettingsTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskSqlTaskOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput + ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskArgs struct { + Alert GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput `pulumi:"alert"` + Dashboard GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` + File GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput `pulumi:"file"` + Parameters pulumi.StringMapInput `pulumi:"parameters"` + Query GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput `pulumi:"query"` + WarehouseId pulumi.StringInput `pulumi:"warehouseId"` } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]string { return v.CustomTags }).(pulumi.StringMapOutput) +func (GetJobJobSettingsSettingsTaskSqlTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.DataSecurityMode }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverInstancePoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverInstancePoolId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) DriverNodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.DriverNodeTypeId }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableElasticDisk() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableElasticDisk }).(pulumi.BoolOutput) +// GetJobJobSettingsSettingsTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskSqlTaskPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskPtrInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskSqlTaskPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) EnableLocalDiskEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) bool { return v.EnableLocalDiskEncryption }).(pulumi.BoolOutput) +type getJobJobSettingsSettingsTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskSqlTaskArgs + +func GetJobJobSettingsSettingsTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskSqlTaskPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +func (*getJobJobSettingsSettingsTaskSqlTaskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.IdempotencyToken }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.InstancePoolId }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NodeTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.NodeTypeId }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) NumWorkers() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) int { return v.NumWorkers }).(pulumi.IntOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.PolicyId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.RuntimeEngine }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTask { + return &v + }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *string { return v.SingleUserName }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { + return v.Alert + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]string { return v.SparkConf }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) map[string]string { return v.SparkEnvVars }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { return v.File }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SparkVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) string { return v.SparkVersion }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { + return v.Query + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewCluster)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutput() GetJobJobSettingsSettingsTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) GetJobJobSettingsSettingsTaskNewCluster { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) GetJobJobSettingsSettingsTaskSqlTask { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewCluster + var ret GetJobJobSettingsSettingsTaskSqlTask return ret - }).(GetJobJobSettingsSettingsTaskNewClusterOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ApplyPolicyDefaultValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { if v == nil { return nil } - return v.ApplyPolicyDefaultValues - }).(pulumi.BoolPtrOutput) + return v.Alert + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) Autoscale() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { if v == nil { return nil } - return v.Autoscale - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) + return v.Dashboard + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AutoterminationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { if v == nil { return nil } - return v.AutoterminationMinutes - }).(pulumi.IntPtrOutput) + return v.File + }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AwsAttributes() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) map[string]string { if v == nil { return nil } - return v.AwsAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) + return v.Parameters + }).(pulumi.StringMapOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) AzureAttributes() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { if v == nil { return nil } - return v.AzureAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) + return v.Query + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *string { if v == nil { return nil } - return v.ClusterId + return &v.WarehouseId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterLogConf() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { - if v == nil { - return nil - } - return v.ClusterLogConf - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskAlert struct { + AlertId string `pulumi:"alertId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterMountInfos() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { - if v == nil { - return nil - } - return v.ClusterMountInfos - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) +// GetJobJobSettingsSettingsTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskAlertInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) ClusterName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.ClusterName - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskAlertArgs struct { + AlertId pulumi.StringInput `pulumi:"alertId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) CustomTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.CustomTags - }).(pulumi.StringMapOutput) +func (GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DataSecurityMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.DataSecurityMode - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DockerImage() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { - if v == nil { - return nil - } - return v.DockerImage - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverInstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverInstancePoolId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) DriverNodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.DriverNodeTypeId - }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableElasticDisk() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableElasticDisk - }).(pulumi.BoolPtrOutput) +// GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput` via: +// +// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) EnableLocalDiskEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *bool { - if v == nil { - return nil - } - return &v.EnableLocalDiskEncryption - }).(pulumi.BoolPtrOutput) +type getJobJobSettingsSettingsTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskSqlTaskAlertArgs + +func GetJobJobSettingsSettingsTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType)(v) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) GcpAttributes() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { - if v == nil { - return nil - } - return v.GcpAttributes - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +func (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) IdempotencyToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.IdempotencyToken - }).(pulumi.StringPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InitScripts() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []GetJobJobSettingsSettingsTaskNewClusterInitScript { - if v == nil { - return nil - } - return v.InitScripts - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) InstancePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.InstancePoolId - }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NodeTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return &v.NodeTypeId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) NumWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *int { - if v == nil { - return nil - } - return &v.NumWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) PolicyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.PolicyId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) RuntimeEngine() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.RuntimeEngine - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskSqlTaskAlert { + return &v + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SingleUserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { - if v == nil { - return nil - } - return v.SingleUserName - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkConf() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]string { - if v == nil { - return nil - } - return v.SparkConf - }).(pulumi.StringMapOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkEnvVars() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) map[string]string { - if v == nil { - return nil +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) +} + +type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { + return o +} + +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskSqlTaskAlert { + if v != nil { + return *v } - return v.SparkEnvVars - }).(pulumi.StringMapOutput) + var ret GetJobJobSettingsSettingsTaskSqlTaskAlert + return ret + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SparkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *string { if v == nil { return nil } - return &v.SparkVersion + return &v.AlertId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) []string { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { if v == nil { return nil } - return v.SshPublicKeys - }).(pulumi.StringArrayOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterPtrOutput) WorkloadType() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewCluster) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { if v == nil { return nil } - return v.WorkloadType - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAutoscale struct { - MaxWorkers *int `pulumi:"maxWorkers"` - MinWorkers *int `pulumi:"minWorkers"` +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs and GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterAutoscaleInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput - ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs struct { - MaxWorkers pulumi.IntPtrInput `pulumi:"maxWorkers"` - MinWorkers pulumi.IntPtrInput `pulumi:"minWorkers"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput).ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs, GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr and GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs - -func GetJobJobSettingsSettingsTaskNewClusterAutoscalePtr(v *GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType)(v) -} +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput -func (*getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterAutoscalePtrType) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscaleOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *GetJobJobSettingsSettingsTaskNewClusterAutoscale { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MaxWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { return v.MinWorkers }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAutoscale)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput() GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) GetJobJobSettingsSettingsTaskNewClusterAutoscale { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterAutoscale - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterAutoscaleOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MaxWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MaxWorkers - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAutoscalePtrOutput) MinWorkers() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAutoscale) *int { - if v == nil { - return nil - } - return v.MinWorkers - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributes struct { - Availability *string `pulumi:"availability"` - EbsVolumeCount *int `pulumi:"ebsVolumeCount"` - EbsVolumeSize *int `pulumi:"ebsVolumeSize"` - EbsVolumeType *string `pulumi:"ebsVolumeType"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - InstanceProfileArn *string `pulumi:"instanceProfileArn"` - SpotBidPricePercent *int `pulumi:"spotBidPricePercent"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskSqlTaskDashboard struct { + CustomSubject *string `pulumi:"customSubject"` + DashboardId string `pulumi:"dashboardId"` + PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` + Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` } -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - EbsVolumeCount pulumi.IntPtrInput `pulumi:"ebsVolumeCount"` - EbsVolumeSize pulumi.IntPtrInput `pulumi:"ebsVolumeSize"` - EbsVolumeType pulumi.StringPtrInput `pulumi:"ebsVolumeType"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - InstanceProfileArn pulumi.StringPtrInput `pulumi:"instanceProfileArn"` - SpotBidPricePercent pulumi.IntPtrInput `pulumi:"spotBidPricePercent"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskDashboardInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput } -func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +type GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs struct { + CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + DashboardId pulumi.StringInput `pulumi:"dashboardId"` + PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` + Subscriptions GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput` via: +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs +type getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs -func GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeCount }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.EbsVolumeSize }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.EbsVolumeType }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.InstanceProfileArn }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { return v.SpotBidPricePercent }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAwsAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) GetJobJobSettingsSettingsTaskNewClusterAwsAttributes { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskSqlTaskDashboard { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterAwsAttributes + var ret GetJobJobSettingsSettingsTaskSqlTaskDashboard return ret - }).(GetJobJobSettingsSettingsTaskNewClusterAwsAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeCount - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.EbsVolumeSize - }).(pulumi.IntPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) EbsVolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { if v == nil { return nil } - return v.EbsVolumeType + return v.CustomSubject }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) InstanceProfileArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { if v == nil { return nil } - return v.InstanceProfileArn + return &v.DashboardId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) SpotBidPricePercent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *int { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { if v == nil { return nil } - return v.SpotBidPricePercent - }).(pulumi.IntPtrOutput) + return v.PauseSubscriptions + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAwsAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAwsAttributes) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { if v == nil { return nil } - return v.ZoneId - }).(pulumi.StringPtrOutput) + return v.Subscriptions + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributes struct { - Availability *string `pulumi:"availability"` - FirstOnDemand *int `pulumi:"firstOnDemand"` - SpotBidMaxPrice *float64 `pulumi:"spotBidMaxPrice"` +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription struct { + DestinationId *string `pulumi:"destinationId"` + UserName *string `pulumi:"userName"` } -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - FirstOnDemand pulumi.IntPtrInput `pulumi:"firstOnDemand"` - SpotBidMaxPrice pulumi.Float64PtrInput `pulumi:"spotBidMaxPrice"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs struct { + DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) } -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput + ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs - -func GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType)(v) -} +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput -func (*getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { return v.FirstOnDemand }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { return v.SpotBidMaxPrice }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterAzureAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) GetJobJobSettingsSettingsTaskNewClusterAzureAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterAzureAttributes - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterAzureAttributesOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) FirstOnDemand() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *int { - if v == nil { - return nil - } - return v.FirstOnDemand - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterAzureAttributesPtrOutput) SpotBidMaxPrice() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterAzureAttributes) *float64 { - if v == nil { - return nil - } - return v.SpotBidMaxPrice - }).(pulumi.Float64PtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { + return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConf struct { - Dbfs *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs `pulumi:"dbfs"` - S3 *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskSqlTaskFile struct { + Path string `pulumi:"path"` + Source *string `pulumi:"source"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskSqlTaskFileOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFileInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskFileInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs struct { - Dbfs GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput `pulumi:"dbfs"` - S3 GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput `pulumi:"s3"` +type GetJobJobSettingsSettingsTaskSqlTaskFileArgs struct { + Path pulumi.StringInput `pulumi:"path"` + Source pulumi.StringPtrInput `pulumi:"source"` } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput } -type getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs +type getJobJobSettingsSettingsTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskSqlTaskFileArgs -func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskFileOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskSqlTaskFile { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConf)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) GetJobJobSettingsSettingsTaskNewClusterClusterLogConf { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) GetJobJobSettingsSettingsTaskSqlTaskFile { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConf + var ret GetJobJobSettingsSettingsTaskSqlTaskFile return ret - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { if v == nil { return nil } - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) + return &v.Path + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfPtrOutput) S3() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConf) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { if v == nil { return nil } - return v.S3 - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) + return v.Source + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskQuery struct { + QueryId string `pulumi:"queryId"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskSqlTaskQueryOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsInput interface { +// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} +type GetJobJobSettingsSettingsTaskSqlTaskQueryInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTaskSqlTaskQueryArgs struct { + QueryId pulumi.StringInput `pulumi:"queryId"` } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput` via: +// GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs{...} +// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput interface { +type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput + ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs +type getJobJobSettingsSettingsTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskSqlTaskQueryArgs -func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType)(v) +func GetJobJobSettingsSettingsTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput { + return (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskSqlTaskQuery { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskSqlTaskQuery { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs + var ret GetJobJobSettingsSettingsTaskSqlTaskQuery return ret - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsOutput) + }).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfs) *string { +func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) *string { if v == nil { return nil } - return &v.Destination + return &v.QueryId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +type GetJobJobSettingsSettingsTaskWebhookNotifications struct { + OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` + OnStarts []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart `pulumi:"onStarts"` + OnStreamingBacklogExceededs []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Input interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +type GetJobJobSettingsSettingsTaskWebhookNotificationsArgs struct { + OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + OnStarts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output).ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args, GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr and GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args{...} +// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput interface { +type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args +type getJobJobSettingsSettingsTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskWebhookNotificationsArgs -func GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType)(v) +func GetJobJobSettingsSettingsTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput { + return (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) +func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskWebhookNotifications { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) string { return v.Destination }).(pulumi.StringOutput) + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded { + return v.OnStreamingBacklogExceededs + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) GetJobJobSettingsSettingsTaskWebhookNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 + var ret GetJobJobSettingsSettingsTaskWebhookNotifications return ret - }).(GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Output) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *bool { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { if v == nil { return nil } - return v.EncryptionType - }).(pulumi.StringPtrOutput) + return v.OnFailures + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { if v == nil { return nil } - return v.Endpoint - }).(pulumi.StringPtrOutput) + return v.OnStarts + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded { if v == nil { return nil } - return v.KmsKey - }).(pulumi.StringPtrOutput) + return v.OnStreamingBacklogExceededs + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3) *string { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo struct { - LocalMountDirPath string `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath *string `pulumi:"remoteMountDirPath"` -} - -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs struct { - LocalMountDirPath pulumi.StringInput `pulumi:"localMountDirPath"` - NetworkFilesystemInfo GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput `pulumi:"networkFilesystemInfo"` - RemoteMountDirPath pulumi.StringPtrInput `pulumi:"remoteMountDirPath"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(context.Background()) + return v.OnSuccesses + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray{ GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs{...} } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray []GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoInput - -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArray) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return o -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) LocalMountDirPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) string { return v.LocalMountDirPath }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) NetworkFilesystemInfo() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo { - return v.NetworkFilesystemInfo - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) RemoteMountDirPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo) *string { return v.RemoteMountDirPath }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return o +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput { - return o +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo { - return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterClusterMountInfo)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct { - MountOptions *string `pulumi:"mountOptions"` - ServerAddress string `pulumi:"serverAddress"` +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs and GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput - ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs struct { - MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"` - ServerAddress pulumi.StringInput `pulumi:"serverAddress"` -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput() GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ToGetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) MountOptions() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) *string { - return v.MountOptions - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoOutput) ServerAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo) string { - return v.ServerAddress - }).(pulumi.StringOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterDockerImage struct { - BasicAuth *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth `pulumi:"basicAuth"` - Url string `pulumi:"url"` -} - -// GetJobJobSettingsSettingsTaskNewClusterDockerImageInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterDockerImageInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs struct { - BasicAuth GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput `pulumi:"basicAuth"` - Url pulumi.StringInput `pulumi:"url"` -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr and GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput } -type getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` +} -func GetJobJobSettingsSettingsTaskNewClusterDockerImagePtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType)(v) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImagePtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return o +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return o +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImage { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImage) string { return v.Url }).(pulumi.StringOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImage)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) GetJobJobSettingsSettingsTaskNewClusterDockerImage { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterDockerImage - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) BasicAuth() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { - if v == nil { - return nil - } - return v.BasicAuth - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImagePtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImage) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth struct { - Password string `pulumi:"password"` - Username string `pulumi:"username"` +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs struct { - Password pulumi.StringInput `pulumi:"password"` - Username pulumi.StringInput `pulumi:"username"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput).ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) } -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs, GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr and GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs{...} -// -// or: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs - -func GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtr(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType)(v) -} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput -func (*getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrType) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Password }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) string { return v.Username }).(pulumi.StringOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributes struct { - Availability *string `pulumi:"availability"` - BootDiskSize *int `pulumi:"bootDiskSize"` - GoogleServiceAccount *string `pulumi:"googleServiceAccount"` - LocalSsdCount *int `pulumi:"localSsdCount"` - UsePreemptibleExecutors *bool `pulumi:"usePreemptibleExecutors"` - ZoneId *string `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput` via: +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesInput interface { +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs struct { - Availability pulumi.StringPtrInput `pulumi:"availability"` - BootDiskSize pulumi.IntPtrInput `pulumi:"bootDiskSize"` - GoogleServiceAccount pulumi.StringPtrInput `pulumi:"googleServiceAccount"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - UsePreemptibleExecutors pulumi.BoolPtrInput `pulumi:"usePreemptibleExecutors"` - ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput).ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs, GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr and GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput interface { - pulumi.Input +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -type getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtr(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType)(v) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return o } -func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return o } -func (i *getJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded) string { + return v.Id + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.Availability }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.BootDiskSize }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { return v.UsePreemptibleExecutors }).(pulumi.BoolPtrOutput) +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { return v.ZoneId }).(pulumi.StringPtrOutput) +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput` via: +// +// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput + ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput } -type GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput -func (GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterGcpAttributes)(nil)).Elem() +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput { - return o +func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) GetJobJobSettingsSettingsTaskNewClusterGcpAttributes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterGcpAttributes - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterGcpAttributesOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) Availability() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.Availability - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) BootDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.BootDiskSize - }).(pulumi.IntPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) GoogleServiceAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.GoogleServiceAccount - }).(pulumi.StringPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *int { - if v == nil { - return nil - } - return v.LocalSsdCount - }).(pulumi.IntPtrOutput) +type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) UsePreemptibleExecutors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *bool { - if v == nil { - return nil - } - return v.UsePreemptibleExecutors - }).(pulumi.BoolPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterGcpAttributesPtrOutput) ZoneId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterGcpAttributes) *string { - if v == nil { - return nil - } - return v.ZoneId - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskNewClusterInitScript struct { - Abfss *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss `pulumi:"abfss"` - Dbfs *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs `pulumi:"dbfs"` - File *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile `pulumi:"file"` - Gcs *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs `pulumi:"gcs"` - S3 *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 `pulumi:"s3"` - Volumes *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes `pulumi:"volumes"` - Workspace *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace `pulumi:"workspace"` +func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { + return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptInput` via: +type GetJobJobSettingsSettingsTrigger struct { + FileArrival *GetJobJobSettingsSettingsTriggerFileArrival `pulumi:"fileArrival"` + PauseStatus *string `pulumi:"pauseStatus"` + Periodic *GetJobJobSettingsSettingsTriggerPeriodic `pulumi:"periodic"` + TableUpdate *GetJobJobSettingsSettingsTriggerTableUpdate `pulumi:"tableUpdate"` +} + +// GetJobJobSettingsSettingsTriggerInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs and GetJobJobSettingsSettingsTriggerOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptInput interface { +// GetJobJobSettingsSettingsTriggerArgs{...} +type GetJobJobSettingsSettingsTriggerInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput + ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput + ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs struct { - Abfss GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput `pulumi:"abfss"` - Dbfs GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput `pulumi:"dbfs"` - File GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput `pulumi:"file"` - Gcs GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput `pulumi:"gcs"` - S3 GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput `pulumi:"s3"` - Volumes GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput `pulumi:"volumes"` - Workspace GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput `pulumi:"workspace"` +type GetJobJobSettingsSettingsTriggerArgs struct { + FileArrival GetJobJobSettingsSettingsTriggerFileArrivalPtrInput `pulumi:"fileArrival"` + PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` + Periodic GetJobJobSettingsSettingsTriggerPeriodicPtrInput `pulumi:"periodic"` + TableUpdate GetJobJobSettingsSettingsTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { + return i.ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptArray and GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput` via: +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +} + +func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput).ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx) +} + +// GetJobJobSettingsSettingsTriggerPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs, GetJobJobSettingsSettingsTriggerPtr and GetJobJobSettingsSettingsTriggerPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptArray{ GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs{...} } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayInput interface { +// GetJobJobSettingsSettingsTriggerArgs{...} +// +// or: +// +// nil +type GetJobJobSettingsSettingsTriggerPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput + ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput + ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPtrOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArray []GetJobJobSettingsSettingsTaskNewClusterInitScriptInput +type getJobJobSettingsSettingsTriggerPtrType GetJobJobSettingsSettingsTriggerArgs -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func GetJobJobSettingsSettingsTriggerPtr(v *GetJobJobSettingsSettingsTriggerArgs) GetJobJobSettingsSettingsTriggerPtrInput { + return (*getJobJobSettingsSettingsTriggerPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(context.Background()) +func (*getJobJobSettingsSettingsTriggerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptArray) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) +func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return o +type GetJobJobSettingsSettingsTriggerOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Abfss() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { - return v.Abfss - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Dbfs() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { - return v.Dbfs - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) File() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { - return v.File - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTrigger { + return &v + }).(GetJobJobSettingsSettingsTriggerPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Gcs() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { - return v.Gcs - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { + return v.FileArrival + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) S3() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { - return v.S3 - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Volumes() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { - return v.Volumes - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) Periodic() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerPeriodic { return v.Periodic }).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) Workspace() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScript) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { - return v.Workspace - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) +func (o GetJobJobSettingsSettingsTriggerOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { + return v.TableUpdate + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskNewClusterInitScript)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput { +func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskNewClusterInitScript { - return vs[0].([]GetJobJobSettingsSettingsTaskNewClusterInitScript)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptOutput) +func (o GetJobJobSettingsSettingsTriggerPtrOutput) Elem() GetJobJobSettingsSettingsTriggerOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) GetJobJobSettingsSettingsTrigger { + if v != nil { + return *v + } + var ret GetJobJobSettingsSettingsTrigger + return ret + }).(GetJobJobSettingsSettingsTriggerOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTriggerPtrOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { + if v == nil { + return nil + } + return v.FileArrival + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput` via: +func (o GetJobJobSettingsSettingsTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *string { + if v == nil { + return nil + } + return v.PauseStatus + }).(pulumi.StringPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerPtrOutput) Periodic() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerPeriodic { + if v == nil { + return nil + } + return v.Periodic + }).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerPtrOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { + if v == nil { + return nil + } + return v.TableUpdate + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +} + +type GetJobJobSettingsSettingsTriggerFileArrival struct { + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + Url string `pulumi:"url"` + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +} + +// GetJobJobSettingsSettingsTriggerFileArrivalInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs and GetJobJobSettingsSettingsTriggerFileArrivalOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssInput interface { +// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} +type GetJobJobSettingsSettingsTriggerFileArrivalInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTriggerFileArrivalArgs struct { + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + Url pulumi.StringInput `pulumi:"url"` + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerFileArrivalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { + return i.ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput).ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput` via: +// GetJobJobSettingsSettingsTriggerFileArrivalPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs, GetJobJobSettingsSettingsTriggerFileArrivalPtr and GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs{...} +// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput interface { +type GetJobJobSettingsSettingsTriggerFileArrivalPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput + ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs +type getJobJobSettingsSettingsTriggerFileArrivalPtrType GetJobJobSettingsSettingsTriggerFileArrivalArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType)(v) +func GetJobJobSettingsSettingsTriggerFileArrivalPtr(v *GetJobJobSettingsSettingsTriggerFileArrivalArgs) GetJobJobSettingsSettingsTriggerFileArrivalPtrInput { + return (*getJobJobSettingsSettingsTriggerFileArrivalPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (*getJobJobSettingsSettingsTriggerFileArrivalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) +func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerFileArrivalOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerFileArrivalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerFileArrival) *GetJobJobSettingsSettingsTriggerFileArrival { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) + }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) string { return v.Url }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss)(nil)).Elem() +func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { +type GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Elem() GetJobJobSettingsSettingsTriggerFileArrivalOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) GetJobJobSettingsSettingsTriggerFileArrival { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss + var ret GetJobJobSettingsSettingsTriggerFileArrival return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssOutput) + }).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfss) *string { +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { if v == nil { return nil } - return &v.Destination + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) +} + +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *string { + if v == nil { + return nil + } + return &v.Url }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { + if v == nil { + return nil + } + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput` via: +type GetJobJobSettingsSettingsTriggerPeriodic struct { + Interval int `pulumi:"interval"` + Unit string `pulumi:"unit"` +} + +// GetJobJobSettingsSettingsTriggerPeriodicInput is an input type that accepts GetJobJobSettingsSettingsTriggerPeriodicArgs and GetJobJobSettingsSettingsTriggerPeriodicOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPeriodicInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsInput interface { +// GetJobJobSettingsSettingsTriggerPeriodicArgs{...} +type GetJobJobSettingsSettingsTriggerPeriodicInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput + ToGetJobJobSettingsSettingsTriggerPeriodicOutput() GetJobJobSettingsSettingsTriggerPeriodicOutput + ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPeriodicOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTriggerPeriodicArgs struct { + Interval pulumi.IntInput `pulumi:"interval"` + Unit pulumi.StringInput `pulumi:"unit"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerPeriodicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicOutput() GetJobJobSettingsSettingsTriggerPeriodicOutput { + return i.ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) +func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPeriodicOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPeriodicOutput).ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput` via: +// GetJobJobSettingsSettingsTriggerPeriodicPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerPeriodicArgs, GetJobJobSettingsSettingsTriggerPeriodicPtr and GetJobJobSettingsSettingsTriggerPeriodicPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPeriodicPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs{...} +// GetJobJobSettingsSettingsTriggerPeriodicArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput interface { +type GetJobJobSettingsSettingsTriggerPeriodicPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput + ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput + ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs +type getJobJobSettingsSettingsTriggerPeriodicPtrType GetJobJobSettingsSettingsTriggerPeriodicArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType)(v) +func GetJobJobSettingsSettingsTriggerPeriodicPtr(v *GetJobJobSettingsSettingsTriggerPeriodicArgs) GetJobJobSettingsSettingsTriggerPeriodicPtrInput { + return (*getJobJobSettingsSettingsTriggerPeriodicPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (*getJobJobSettingsSettingsTriggerPeriodicPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTriggerPeriodicPtrType) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) +func (i *getJobJobSettingsSettingsTriggerPeriodicPtrType) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerPeriodicOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerPeriodicOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicOutput() GetJobJobSettingsSettingsTriggerPeriodicOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { +func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerPeriodic) *GetJobJobSettingsSettingsTriggerPeriodic { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) + }).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) Interval() pulumi.IntOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerPeriodic) int { return v.Interval }).(pulumi.IntOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerPeriodic) string { return v.Unit }).(pulumi.StringOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs)(nil)).Elem() +type GetJobJobSettingsSettingsTriggerPeriodicPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput { +func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs { +func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) Elem() GetJobJobSettingsSettingsTriggerPeriodicOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerPeriodic) GetJobJobSettingsSettingsTriggerPeriodic { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsOutput) + var ret GetJobJobSettingsSettingsTriggerPeriodic + return ret + }).(GetJobJobSettingsSettingsTriggerPeriodicOutput) +} + +func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerPeriodic) *int { + if v == nil { + return nil + } + return &v.Interval + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfs) *string { +func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) Unit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerPeriodic) *string { if v == nil { return nil } - return &v.Destination + return &v.Unit }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFile struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsTriggerTableUpdate struct { + Condition *string `pulumi:"condition"` + MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames []string `pulumi:"tableNames"` + WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput` via: +// GetJobJobSettingsSettingsTriggerTableUpdateInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs and GetJobJobSettingsSettingsTriggerTableUpdateOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdateInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileInput interface { +// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} +type GetJobJobSettingsSettingsTriggerTableUpdateInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput + ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput + ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsTriggerTableUpdateArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` + MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` + TableNames pulumi.StringArrayInput `pulumi:"tableNames"` + WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerTableUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput).ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput` via: +// GetJobJobSettingsSettingsTriggerTableUpdatePtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs, GetJobJobSettingsSettingsTriggerTableUpdatePtr and GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdatePtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs{...} +// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput interface { +type GetJobJobSettingsSettingsTriggerTableUpdatePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput + ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput + ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs +type getJobJobSettingsSettingsTriggerTableUpdatePtrType GetJobJobSettingsSettingsTriggerTableUpdateArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType)(v) +func GetJobJobSettingsSettingsTriggerTableUpdatePtr(v *GetJobJobSettingsSettingsTriggerTableUpdateArgs) GetJobJobSettingsSettingsTriggerTableUpdatePtrInput { + return (*getJobJobSettingsSettingsTriggerTableUpdatePtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (*getJobJobSettingsSettingsTriggerTableUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) +func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsTriggerTableUpdateOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (GetJobJobSettingsSettingsTriggerTableUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerTableUpdate) *GetJobJobSettingsSettingsTriggerTableUpdate { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) + }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptFile)(nil)).Elem() +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) GetJobJobSettingsSettingsTaskNewClusterInitScriptFile { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Elem() GetJobJobSettingsSettingsTriggerTableUpdateOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) GetJobJobSettingsSettingsTriggerTableUpdate { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptFile + var ret GetJobJobSettingsSettingsTriggerTableUpdate return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptFileOutput) + }).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptFilePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptFile) *string { +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *string { if v == nil { return nil } - return &v.Destination + return v.Condition }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs struct { - Destination string `pulumi:"destination"` +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { + if v == nil { + return nil + } + return v.MinTimeBetweenTriggersSeconds + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput` via: +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) []string { + if v == nil { + return nil + } + return v.TableNames + }).(pulumi.StringArrayOutput) +} + +func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { + if v == nil { + return nil + } + return v.WaitAfterLastChangeSeconds + }).(pulumi.IntPtrOutput) +} + +type GetJobJobSettingsSettingsWebhookNotifications struct { + OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures []GetJobJobSettingsSettingsWebhookNotificationsOnFailure `pulumi:"onFailures"` + OnStarts []GetJobJobSettingsSettingsWebhookNotificationsOnStart `pulumi:"onStarts"` + OnStreamingBacklogExceededs []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +} + +// GetJobJobSettingsSettingsWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs and GetJobJobSettingsSettingsWebhookNotificationsOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` +type GetJobJobSettingsSettingsWebhookNotificationsArgs struct { + OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` + OnFailures GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` + OnStarts GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` + OnStreamingBacklogExceededs GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` + OnSuccesses GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput).ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput` via: +// GetJobJobSettingsSettingsWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs, GetJobJobSettingsSettingsWebhookNotificationsPtr and GetJobJobSettingsSettingsWebhookNotificationsPtrOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs{...} +// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput interface { +type GetJobJobSettingsSettingsWebhookNotificationsPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs +type getJobJobSettingsSettingsWebhookNotificationsPtrType GetJobJobSettingsSettingsWebhookNotificationsArgs -func GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType)(v) +func GetJobJobSettingsSettingsWebhookNotificationsPtr(v *GetJobJobSettingsSettingsWebhookNotificationsArgs) GetJobJobSettingsSettingsWebhookNotificationsPtrInput { + return (*getJobJobSettingsSettingsWebhookNotificationsPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (*getJobJobSettingsSettingsWebhookNotificationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) +func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsWebhookNotifications) *GetJobJobSettingsSettingsWebhookNotifications { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) + }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) string { return v.Destination }).(pulumi.StringOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { + return v.OnFailures + }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs)(nil)).Elem() +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { + return v.OnStarts + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded { + return v.OnStreamingBacklogExceededs + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +} + +func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { + return v.OnSuccesses + }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) +} + +type GetJobJobSettingsSettingsWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsWebhookNotificationsOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) GetJobJobSettingsSettingsWebhookNotifications { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs + var ret GetJobJobSettingsSettingsWebhookNotifications return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsOutput) + }).(GetJobJobSettingsSettingsWebhookNotificationsOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptGcs) *string { +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { if v == nil { return nil } - return &v.Destination - }).(pulumi.StringPtrOutput) + return v.OnDurationWarningThresholdExceededs + }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 struct { - CannedAcl *string `pulumi:"cannedAcl"` - Destination string `pulumi:"destination"` - EnableEncryption *bool `pulumi:"enableEncryption"` - EncryptionType *string `pulumi:"encryptionType"` - Endpoint *string `pulumi:"endpoint"` - KmsKey *string `pulumi:"kmsKey"` - Region *string `pulumi:"region"` +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { + if v == nil { + return nil + } + return v.OnFailures + }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Input interface { - pulumi.Input +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { + if v == nil { + return nil + } + return v.OnStarts + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) +} - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded { + if v == nil { + return nil + } + return v.OnStreamingBacklogExceededs + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args struct { - CannedAcl pulumi.StringPtrInput `pulumi:"cannedAcl"` - Destination pulumi.StringInput `pulumi:"destination"` - EnableEncryption pulumi.BoolPtrInput `pulumi:"enableEncryption"` - EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"` - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - Region pulumi.StringPtrInput `pulumi:"region"` +func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { + if v == nil { + return nil + } + return v.OnSuccesses + }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(context.Background()) +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args, GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr and GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args{...} -// -// or: +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) +} + +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput -func GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Ptr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType)(v) +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output struct{ *pulumi.OutputState } +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o +} -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded) string { + return v.Id + }).(pulumi.StringOutput) +} + +type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } + +func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +} + +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3OutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(context.Background()) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnFailure struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` +} + +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput interface { + pulumi.Input + + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput +} + +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.CannedAcl }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) string { return v.Destination }).(pulumi.StringOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { return v.EnableEncryption }).(pulumi.BoolPtrOutput) -} +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput` via: +// +// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.EncryptionType }).(pulumi.StringPtrOutput) + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput + +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { return v.Region }).(pulumi.StringPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptS3)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptS3 - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Output) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) CannedAcl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.CannedAcl - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EnableEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *bool { - if v == nil { - return nil - } - return v.EnableEncryption - }).(pulumi.BoolPtrOutput) -} +type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) EncryptionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.EncryptionType - }).(pulumi.StringPtrOutput) +func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptS3PtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptS3) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnFailure { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsWebhookNotificationsOnStart struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput` via: +// GetJobJobSettingsSettingsWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnStartInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs{...} -// -// or: +// GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs - -func GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType)(v) -} +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsWebhookNotificationsOnStartInput -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) string { return v.Destination }).(pulumi.StringOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesPtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumes) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnStart { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnStart)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace struct { - Destination string `pulumi:"destination"` +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput` via: +// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs struct { - Destination pulumi.StringInput `pulumi:"destination"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() + ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) +func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput).ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) } -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs, GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr and GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs{...} -// -// or: +// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray and GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray{ GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs - -func GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtr(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType)(v) -} +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput -func (*getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrType) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) string { return v.Destination }).(pulumi.StringOutput) +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspacePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspace) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadType struct { - Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients `pulumi:"clients"` +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccess struct { + // the id of Job if the resource was matched by name. + Id string `pulumi:"id"` } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput` via: +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput -} - -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs struct { - Clients GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput `pulumi:"clients"` -} - -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(context.Background()) +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs struct { + // the id of Job if the resource was matched by name. + Id pulumi.StringInput `pulumi:"id"` } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput` via: -// -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs{...} -// -// or: +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput values. +// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput interface { +// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} } +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput + ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput } -type getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs - -func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType)(v) -} +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput -func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) +func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput struct{ *pulumi.OutputState } +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadType { - return &v - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { - return v.Clients - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) -} - -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadType)(nil)).Elem() -} - -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o +// the id of Job if the resource was matched by name. +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput { - return o -} +type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) GetJobJobSettingsSettingsTaskNewClusterWorkloadType { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadType - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeOutput) +func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypePtrOutput) Clients() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadType) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { - if v == nil { - return nil - } - return &v.Clients - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct { - Jobs *bool `pulumi:"jobs"` - Notebooks *bool `pulumi:"notebooks"` +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { + return o } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput` via: +func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { + return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)[vs[1].(int)] + }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) +} + +type GetMetastoreMetastoreInfo struct { + Cloud *string `pulumi:"cloud"` + CreatedAt *int `pulumi:"createdAt"` + CreatedBy *string `pulumi:"createdBy"` + DefaultDataAccessConfigId *string `pulumi:"defaultDataAccessConfigId"` + // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + DeltaSharingOrganizationName *string `pulumi:"deltaSharingOrganizationName"` + // Used to set expiration duration in seconds on recipient data access tokens. + DeltaSharingRecipientTokenLifetimeInSeconds *int `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` + // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + DeltaSharingScope *string `pulumi:"deltaSharingScope"` + ExternalAccessEnabled *bool `pulumi:"externalAccessEnabled"` + GlobalMetastoreId *string `pulumi:"globalMetastoreId"` + // ID of the metastore + MetastoreId *string `pulumi:"metastoreId"` + // Name of the metastore + Name *string `pulumi:"name"` + // Username/groupname/sp applicationId of the metastore owner. + Owner *string `pulumi:"owner"` + PrivilegeModelVersion *string `pulumi:"privilegeModelVersion"` + // Region of the metastore + Region *string `pulumi:"region"` + // Path on cloud storage account, where managed `Table` are stored. + StorageRoot *string `pulumi:"storageRoot"` + StorageRootCredentialId *string `pulumi:"storageRootCredentialId"` + StorageRootCredentialName *string `pulumi:"storageRootCredentialName"` + UpdatedAt *int `pulumi:"updatedAt"` + UpdatedBy *string `pulumi:"updatedBy"` +} + +// GetMetastoreMetastoreInfoInput is an input type that accepts GetMetastoreMetastoreInfoArgs and GetMetastoreMetastoreInfoOutput values. +// You can construct a concrete instance of `GetMetastoreMetastoreInfoInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsInput interface { +// GetMetastoreMetastoreInfoArgs{...} +type GetMetastoreMetastoreInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput + ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput + ToGetMetastoreMetastoreInfoOutputWithContext(context.Context) GetMetastoreMetastoreInfoOutput } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs struct { - Jobs pulumi.BoolPtrInput `pulumi:"jobs"` - Notebooks pulumi.BoolPtrInput `pulumi:"notebooks"` +type GetMetastoreMetastoreInfoArgs struct { + Cloud pulumi.StringPtrInput `pulumi:"cloud"` + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + DefaultDataAccessConfigId pulumi.StringPtrInput `pulumi:"defaultDataAccessConfigId"` + // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + DeltaSharingOrganizationName pulumi.StringPtrInput `pulumi:"deltaSharingOrganizationName"` + // Used to set expiration duration in seconds on recipient data access tokens. + DeltaSharingRecipientTokenLifetimeInSeconds pulumi.IntPtrInput `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` + // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + DeltaSharingScope pulumi.StringPtrInput `pulumi:"deltaSharingScope"` + ExternalAccessEnabled pulumi.BoolPtrInput `pulumi:"externalAccessEnabled"` + GlobalMetastoreId pulumi.StringPtrInput `pulumi:"globalMetastoreId"` + // ID of the metastore + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // Name of the metastore + Name pulumi.StringPtrInput `pulumi:"name"` + // Username/groupname/sp applicationId of the metastore owner. + Owner pulumi.StringPtrInput `pulumi:"owner"` + PrivilegeModelVersion pulumi.StringPtrInput `pulumi:"privilegeModelVersion"` + // Region of the metastore + Region pulumi.StringPtrInput `pulumi:"region"` + // Path on cloud storage account, where managed `Table` are stored. + StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` + StorageRootCredentialId pulumi.StringPtrInput `pulumi:"storageRootCredentialId"` + StorageRootCredentialName pulumi.StringPtrInput `pulumi:"storageRootCredentialName"` + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetMetastoreMetastoreInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(context.Background()) +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { + return i.ToGetMetastoreMetastoreInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput).ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx) +func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput).ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs, GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr and GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput` via: +// GetMetastoreMetastoreInfoPtrInput is an input type that accepts GetMetastoreMetastoreInfoArgs, GetMetastoreMetastoreInfoPtr and GetMetastoreMetastoreInfoPtrOutput values. +// You can construct a concrete instance of `GetMetastoreMetastoreInfoPtrInput` via: // -// GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs{...} +// GetMetastoreMetastoreInfoArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput interface { +type GetMetastoreMetastoreInfoPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput - ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput + ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput + ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetMetastoreMetastoreInfoPtrOutput } -type getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs +type getMetastoreMetastoreInfoPtrType GetMetastoreMetastoreInfoArgs -func GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtr(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrInput { - return (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType)(v) +func GetMetastoreMetastoreInfoPtr(v *GetMetastoreMetastoreInfoArgs) GetMetastoreMetastoreInfoPtrInput { + return (*getMetastoreMetastoreInfoPtrType)(v) } -func (*getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (*getMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrType) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) +func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput struct{ *pulumi.OutputState } +type GetMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (GetMetastoreMetastoreInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return o.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { +func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMetastoreMetastoreInfo) *GetMetastoreMetastoreInfo { return &v - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) + }).(GetMetastoreMetastoreInfoPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Jobs }).(pulumi.BoolPtrOutput) +func (o GetMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { return v.Notebooks }).(pulumi.BoolPtrOutput) +func (o GetMetastoreMetastoreInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients)(nil)).Elem() +func (o GetMetastoreMetastoreInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o +func (o GetMetastoreMetastoreInfoOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) ToGetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput { - return o +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetMetastoreMetastoreInfoOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingOrganizationName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients - return ret - }).(GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsOutput) +// Used to set expiration duration in seconds on recipient data access tokens. +func (o GetMetastoreMetastoreInfoOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.DeltaSharingRecipientTokenLifetimeInSeconds }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Jobs() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Jobs - }).(pulumi.BoolPtrOutput) +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsPtrOutput) Notebooks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients) *bool { - if v == nil { - return nil - } - return v.Notebooks - }).(pulumi.BoolPtrOutput) +func (o GetMetastoreMetastoreInfoOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *bool { return v.ExternalAccessEnabled }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsTaskNotebookTask struct { - BaseParameters map[string]string `pulumi:"baseParameters"` - NotebookPath string `pulumi:"notebookPath"` - Source *string `pulumi:"source"` - WarehouseId *string `pulumi:"warehouseId"` +func (o GetMetastoreMetastoreInfoOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.GlobalMetastoreId }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskNotebookTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs and GetJobJobSettingsSettingsTaskNotebookTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskInput` via: -// -// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} -type GetJobJobSettingsSettingsTaskNotebookTaskInput interface { - pulumi.Input +// ID of the metastore +func (o GetMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput - ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput +// Name of the metastore +func (o GetMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNotebookTaskArgs struct { - BaseParameters pulumi.StringMapInput `pulumi:"baseParameters"` - NotebookPath pulumi.StringInput `pulumi:"notebookPath"` - Source pulumi.StringPtrInput `pulumi:"source"` - WarehouseId pulumi.StringPtrInput `pulumi:"warehouseId"` +// Username/groupname/sp applicationId of the metastore owner. +func (o GetMetastoreMetastoreInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsTaskNotebookTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +func (o GetMetastoreMetastoreInfoOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(context.Background()) +// Region of the metastore +func (o GetMetastoreMetastoreInfoOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) +// Path on cloud storage account, where managed `Table` are stored. +func (o GetMetastoreMetastoreInfoOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskNotebookTaskArgs) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskOutput).ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx) +func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskNotebookTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotebookTaskArgs, GetJobJobSettingsSettingsTaskNotebookTaskPtr and GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotebookTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNotebookTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskNotebookTaskPtrInput interface { - pulumi.Input +func (o GetMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} - ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput - ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput +func (o GetMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsTaskNotebookTaskPtrType GetJobJobSettingsSettingsTaskNotebookTaskArgs +type GetMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskNotebookTaskPtr(v *GetJobJobSettingsSettingsTaskNotebookTaskArgs) GetJobJobSettingsSettingsTaskNotebookTaskPtrInput { - return (*getJobJobSettingsSettingsTaskNotebookTaskPtrType)(v) +func (GetMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskNotebookTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { + return o } -func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { + return o } -func (i *getJobJobSettingsSettingsTaskNotebookTaskPtrType) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) +func (o GetMetastoreMetastoreInfoPtrOutput) Elem() GetMetastoreMetastoreInfoOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) GetMetastoreMetastoreInfo { + if v != nil { + return *v + } + var ret GetMetastoreMetastoreInfo + return ret + }).(GetMetastoreMetastoreInfoOutput) } -type GetJobJobSettingsSettingsTaskNotebookTaskOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNotebookTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +func (o GetMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Cloud + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutput() GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return o +func (o GetMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return o +func (o GetMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(context.Background()) +func (o GetMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DefaultDataAccessConfigId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotebookTask) *GetJobJobSettingsSettingsTaskNotebookTask { - return &v - }).(GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) +// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. +func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingOrganizationName + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) map[string]string { return v.BaseParameters }).(pulumi.StringMapOutput) +// Used to set expiration duration in seconds on recipient data access tokens. +func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.DeltaSharingRecipientTokenLifetimeInSeconds + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) NotebookPath() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) string { return v.NotebookPath }).(pulumi.StringOutput) +// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. +func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.DeltaSharingScope + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetMetastoreMetastoreInfoPtrOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *bool { + if v == nil { + return nil + } + return v.ExternalAccessEnabled + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotebookTask) *string { return v.WarehouseId }).(pulumi.StringPtrOutput) +func (o GetMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.GlobalMetastoreId + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotebookTask)(nil)).Elem() +// ID of the metastore +func (o GetMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutput() GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o +// Name of the metastore +func (o GetMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) ToGetJobJobSettingsSettingsTaskNotebookTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput { - return o +// Username/groupname/sp applicationId of the metastore owner. +func (o GetMetastoreMetastoreInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotebookTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) GetJobJobSettingsSettingsTaskNotebookTask { - if v != nil { - return *v +func (o GetMetastoreMetastoreInfoPtrOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil } - var ret GetJobJobSettingsSettingsTaskNotebookTask - return ret - }).(GetJobJobSettingsSettingsTaskNotebookTaskOutput) + return v.PrivilegeModelVersion + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) BaseParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) map[string]string { +// Region of the metastore +func (o GetMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.BaseParameters - }).(pulumi.StringMapOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) NotebookPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { +// Path on cloud storage account, where managed `Table` are stored. +func (o GetMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { if v == nil { return nil } - return &v.NotebookPath + return v.StorageRoot }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { +func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.Source + return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotebookTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotebookTask) *string { +func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { if v == nil { return nil } - return v.WarehouseId + return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNotificationSettings struct { - AlertOnLastAttempt *bool `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns *bool `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns *bool `pulumi:"noAlertForSkippedRuns"` +func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskNotificationSettingsInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs and GetJobJobSettingsSettingsTaskNotificationSettingsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsInput` via: -// -// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} -type GetJobJobSettingsSettingsTaskNotificationSettingsInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput - ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput +func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskNotificationSettingsArgs struct { - AlertOnLastAttempt pulumi.BoolPtrInput `pulumi:"alertOnLastAttempt"` - NoAlertForCanceledRuns pulumi.BoolPtrInput `pulumi:"noAlertForCanceledRuns"` - NoAlertForSkippedRuns pulumi.BoolPtrInput `pulumi:"noAlertForSkippedRuns"` +type GetMlflowExperimentTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -func (GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +// GetMlflowExperimentTagInput is an input type that accepts GetMlflowExperimentTagArgs and GetMlflowExperimentTagOutput values. +// You can construct a concrete instance of `GetMlflowExperimentTagInput` via: +// +// GetMlflowExperimentTagArgs{...} +type GetMlflowExperimentTagInput interface { + pulumi.Input + + ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput + ToGetMlflowExperimentTagOutputWithContext(context.Context) GetMlflowExperimentTagOutput } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(context.Background()) +type GetMlflowExperimentTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) +func (GetMlflowExperimentTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowExperimentTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetMlflowExperimentTagArgs) ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput { + return i.ToGetMlflowExperimentTagOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskNotificationSettingsArgs) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput).ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx) +func (i GetMlflowExperimentTagArgs) ToGetMlflowExperimentTagOutputWithContext(ctx context.Context) GetMlflowExperimentTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowExperimentTagOutput) } -// GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskNotificationSettingsArgs, GetJobJobSettingsSettingsTaskNotificationSettingsPtr and GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskNotificationSettingsArgs{...} -// -// or: +// GetMlflowExperimentTagArrayInput is an input type that accepts GetMlflowExperimentTagArray and GetMlflowExperimentTagArrayOutput values. +// You can construct a concrete instance of `GetMlflowExperimentTagArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput interface { +// GetMlflowExperimentTagArray{ GetMlflowExperimentTagArgs{...} } +type GetMlflowExperimentTagArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput - ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput + ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput + ToGetMlflowExperimentTagArrayOutputWithContext(context.Context) GetMlflowExperimentTagArrayOutput } -type getJobJobSettingsSettingsTaskNotificationSettingsPtrType GetJobJobSettingsSettingsTaskNotificationSettingsArgs - -func GetJobJobSettingsSettingsTaskNotificationSettingsPtr(v *GetJobJobSettingsSettingsTaskNotificationSettingsArgs) GetJobJobSettingsSettingsTaskNotificationSettingsPtrInput { - return (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType)(v) -} +type GetMlflowExperimentTagArray []GetMlflowExperimentTagInput -func (*getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +func (GetMlflowExperimentTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowExperimentTag)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (i GetMlflowExperimentTagArray) ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput { + return i.ToGetMlflowExperimentTagArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskNotificationSettingsPtrType) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) +func (i GetMlflowExperimentTagArray) ToGetMlflowExperimentTagArrayOutputWithContext(ctx context.Context) GetMlflowExperimentTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowExperimentTagArrayOutput) } -type GetJobJobSettingsSettingsTaskNotificationSettingsOutput struct{ *pulumi.OutputState } +type GetMlflowExperimentTagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +func (GetMlflowExperimentTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowExperimentTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutput() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { +func (o GetMlflowExperimentTagOutput) ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsOutput { +func (o GetMlflowExperimentTagOutput) ToGetMlflowExperimentTagOutputWithContext(ctx context.Context) GetMlflowExperimentTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(context.Background()) +func (o GetMlflowExperimentTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowExperimentTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskNotificationSettings) *GetJobJobSettingsSettingsTaskNotificationSettings { - return &v - }).(GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) +func (o GetMlflowExperimentTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowExperimentTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.AlertOnLastAttempt }).(pulumi.BoolPtrOutput) -} +type GetMlflowExperimentTagArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForCanceledRuns }).(pulumi.BoolPtrOutput) +func (GetMlflowExperimentTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowExperimentTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskNotificationSettings) *bool { return v.NoAlertForSkippedRuns }).(pulumi.BoolPtrOutput) +func (o GetMlflowExperimentTagArrayOutput) ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskNotificationSettings)(nil)).Elem() +func (o GetMlflowExperimentTagArrayOutput) ToGetMlflowExperimentTagArrayOutputWithContext(ctx context.Context) GetMlflowExperimentTagArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput() GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o +func (o GetMlflowExperimentTagArrayOutput) Index(i pulumi.IntInput) GetMlflowExperimentTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowExperimentTag { + return vs[0].([]GetMlflowExperimentTag)[vs[1].(int)] + }).(GetMlflowExperimentTagOutput) } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) ToGetJobJobSettingsSettingsTaskNotificationSettingsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput { - return o +type GetMlflowModelLatestVersion struct { + CreationTimestamp *int `pulumi:"creationTimestamp"` + CurrentStage *string `pulumi:"currentStage"` + // User-specified description for the object. + Description *string `pulumi:"description"` + LastUpdatedTimestamp *int `pulumi:"lastUpdatedTimestamp"` + // Name of the registered model. + Name *string `pulumi:"name"` + RunId *string `pulumi:"runId"` + RunLink *string `pulumi:"runLink"` + Source *string `pulumi:"source"` + Status *string `pulumi:"status"` + StatusMessage *string `pulumi:"statusMessage"` + // Array of tags associated with the model. + Tags []GetMlflowModelLatestVersionTag `pulumi:"tags"` + // The username of the user that created the object. + UserId *string `pulumi:"userId"` + Version *string `pulumi:"version"` } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) Elem() GetJobJobSettingsSettingsTaskNotificationSettingsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) GetJobJobSettingsSettingsTaskNotificationSettings { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskNotificationSettings - return ret - }).(GetJobJobSettingsSettingsTaskNotificationSettingsOutput) +// GetMlflowModelLatestVersionInput is an input type that accepts GetMlflowModelLatestVersionArgs and GetMlflowModelLatestVersionOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionInput` via: +// +// GetMlflowModelLatestVersionArgs{...} +type GetMlflowModelLatestVersionInput interface { + pulumi.Input + + ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput + ToGetMlflowModelLatestVersionOutputWithContext(context.Context) GetMlflowModelLatestVersionOutput } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) AlertOnLastAttempt() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.AlertOnLastAttempt - }).(pulumi.BoolPtrOutput) +type GetMlflowModelLatestVersionArgs struct { + CreationTimestamp pulumi.IntPtrInput `pulumi:"creationTimestamp"` + CurrentStage pulumi.StringPtrInput `pulumi:"currentStage"` + // User-specified description for the object. + Description pulumi.StringPtrInput `pulumi:"description"` + LastUpdatedTimestamp pulumi.IntPtrInput `pulumi:"lastUpdatedTimestamp"` + // Name of the registered model. + Name pulumi.StringPtrInput `pulumi:"name"` + RunId pulumi.StringPtrInput `pulumi:"runId"` + RunLink pulumi.StringPtrInput `pulumi:"runLink"` + Source pulumi.StringPtrInput `pulumi:"source"` + Status pulumi.StringPtrInput `pulumi:"status"` + StatusMessage pulumi.StringPtrInput `pulumi:"statusMessage"` + // Array of tags associated with the model. + Tags GetMlflowModelLatestVersionTagArrayInput `pulumi:"tags"` + // The username of the user that created the object. + UserId pulumi.StringPtrInput `pulumi:"userId"` + Version pulumi.StringPtrInput `pulumi:"version"` } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForCanceledRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForCanceledRuns - }).(pulumi.BoolPtrOutput) +func (GetMlflowModelLatestVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskNotificationSettingsPtrOutput) NoAlertForSkippedRuns() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskNotificationSettings) *bool { - if v == nil { - return nil - } - return v.NoAlertForSkippedRuns - }).(pulumi.BoolPtrOutput) +func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { + return i.ToGetMlflowModelLatestVersionOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskPipelineTask struct { - FullRefresh *bool `pulumi:"fullRefresh"` - PipelineId string `pulumi:"pipelineId"` +func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionOutput) } -// GetJobJobSettingsSettingsTaskPipelineTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs and GetJobJobSettingsSettingsTaskPipelineTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskInput` via: +// GetMlflowModelLatestVersionArrayInput is an input type that accepts GetMlflowModelLatestVersionArray and GetMlflowModelLatestVersionArrayOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionArrayInput` via: // -// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} -type GetJobJobSettingsSettingsTaskPipelineTaskInput interface { +// GetMlflowModelLatestVersionArray{ GetMlflowModelLatestVersionArgs{...} } +type GetMlflowModelLatestVersionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput - ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput + ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput + ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionArrayOutput } -type GetJobJobSettingsSettingsTaskPipelineTaskArgs struct { - FullRefresh pulumi.BoolPtrInput `pulumi:"fullRefresh"` - PipelineId pulumi.StringInput `pulumi:"pipelineId"` -} +type GetMlflowModelLatestVersionArray []GetMlflowModelLatestVersionInput -func (GetJobJobSettingsSettingsTaskPipelineTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +func (GetMlflowModelLatestVersionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(context.Background()) +func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { + return i.ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) +func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionArrayOutput) } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) -} +type GetMlflowModelLatestVersionOutput struct{ *pulumi.OutputState } -func (i GetJobJobSettingsSettingsTaskPipelineTaskArgs) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskOutput).ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx) +func (GetMlflowModelLatestVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskPipelineTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPipelineTaskArgs, GetJobJobSettingsSettingsTaskPipelineTaskPtr and GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPipelineTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskPipelineTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskPipelineTaskPtrInput interface { - pulumi.Input +func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { + return o +} - ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput - ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput +func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { + return o } -type getJobJobSettingsSettingsTaskPipelineTaskPtrType GetJobJobSettingsSettingsTaskPipelineTaskArgs +func (o GetMlflowModelLatestVersionOutput) CreationTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.CreationTimestamp }).(pulumi.IntPtrOutput) +} -func GetJobJobSettingsSettingsTaskPipelineTaskPtr(v *GetJobJobSettingsSettingsTaskPipelineTaskArgs) GetJobJobSettingsSettingsTaskPipelineTaskPtrInput { - return (*getJobJobSettingsSettingsTaskPipelineTaskPtrType)(v) +func (o GetMlflowModelLatestVersionOutput) CurrentStage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.CurrentStage }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsTaskPipelineTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +// User-specified description for the object. +func (o GetMlflowModelLatestVersionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetMlflowModelLatestVersionOutput) LastUpdatedTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.LastUpdatedTimestamp }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsTaskPipelineTaskPtrType) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +// Name of the registered model. +func (o GetMlflowModelLatestVersionOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskPipelineTaskOutput struct{ *pulumi.OutputState } +func (o GetMlflowModelLatestVersionOutput) RunId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunId }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskPipelineTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +func (o GetMlflowModelLatestVersionOutput) RunLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunLink }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutput() GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return o +func (o GetMlflowModelLatestVersionOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return o +func (o GetMlflowModelLatestVersionOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Status }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(context.Background()) +func (o GetMlflowModelLatestVersionOutput) StatusMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.StatusMessage }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPipelineTask) *GetJobJobSettingsSettingsTaskPipelineTask { - return &v - }).(GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) +// Array of tags associated with the model. +func (o GetMlflowModelLatestVersionOutput) Tags() GetMlflowModelLatestVersionTagArrayOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) []GetMlflowModelLatestVersionTag { return v.Tags }).(GetMlflowModelLatestVersionTagArrayOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) *bool { return v.FullRefresh }).(pulumi.BoolPtrOutput) +// The username of the user that created the object. +func (o GetMlflowModelLatestVersionOutput) UserId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.UserId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskOutput) PipelineId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPipelineTask) string { return v.PipelineId }).(pulumi.StringOutput) +func (o GetMlflowModelLatestVersionOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Version }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput struct{ *pulumi.OutputState } +type GetMlflowModelLatestVersionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPipelineTask)(nil)).Elem() +func (GetMlflowModelLatestVersionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutput() GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { +func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPipelineTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput { +func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPipelineTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) GetJobJobSettingsSettingsTaskPipelineTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskPipelineTask - return ret - }).(GetJobJobSettingsSettingsTaskPipelineTaskOutput) +func (o GetMlflowModelLatestVersionArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersion { + return vs[0].([]GetMlflowModelLatestVersion)[vs[1].(int)] + }).(GetMlflowModelLatestVersionOutput) } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) FullRefresh() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *bool { - if v == nil { - return nil - } - return v.FullRefresh - }).(pulumi.BoolPtrOutput) +type GetMlflowModelLatestVersionTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` } -func (o GetJobJobSettingsSettingsTaskPipelineTaskPtrOutput) PipelineId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPipelineTask) *string { - if v == nil { - return nil - } - return &v.PipelineId - }).(pulumi.StringPtrOutput) +// GetMlflowModelLatestVersionTagInput is an input type that accepts GetMlflowModelLatestVersionTagArgs and GetMlflowModelLatestVersionTagOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionTagInput` via: +// +// GetMlflowModelLatestVersionTagArgs{...} +type GetMlflowModelLatestVersionTagInput interface { + pulumi.Input + + ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput + ToGetMlflowModelLatestVersionTagOutputWithContext(context.Context) GetMlflowModelLatestVersionTagOutput } -type GetJobJobSettingsSettingsTaskPythonWheelTask struct { - EntryPoint *string `pulumi:"entryPoint"` - NamedParameters map[string]string `pulumi:"namedParameters"` - PackageName *string `pulumi:"packageName"` - Parameters []string `pulumi:"parameters"` +type GetMlflowModelLatestVersionTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -// GetJobJobSettingsSettingsTaskPythonWheelTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs and GetJobJobSettingsSettingsTaskPythonWheelTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskInput` via: +func (GetMlflowModelLatestVersionTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() +} + +func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { + return i.ToGetMlflowModelLatestVersionTagOutputWithContext(context.Background()) +} + +func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagOutput) +} + +// GetMlflowModelLatestVersionTagArrayInput is an input type that accepts GetMlflowModelLatestVersionTagArray and GetMlflowModelLatestVersionTagArrayOutput values. +// You can construct a concrete instance of `GetMlflowModelLatestVersionTagArrayInput` via: // -// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} -type GetJobJobSettingsSettingsTaskPythonWheelTaskInput interface { +// GetMlflowModelLatestVersionTagArray{ GetMlflowModelLatestVersionTagArgs{...} } +type GetMlflowModelLatestVersionTagArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput - ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput + ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput + ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionTagArrayOutput } -type GetJobJobSettingsSettingsTaskPythonWheelTaskArgs struct { - EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` - NamedParameters pulumi.StringMapInput `pulumi:"namedParameters"` - PackageName pulumi.StringPtrInput `pulumi:"packageName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetMlflowModelLatestVersionTagArray []GetMlflowModelLatestVersionTagInput + +func (GetMlflowModelLatestVersionTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { + return i.ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(context.Background()) +func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagArrayOutput) } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) +type GetMlflowModelLatestVersionTagOutput struct{ *pulumi.OutputState } + +func (GetMlflowModelLatestVersionTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { + return o } -func (i GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput).ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx) +func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { + return o } -// GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskPythonWheelTaskArgs, GetJobJobSettingsSettingsTaskPythonWheelTaskPtr and GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput` via: -// -// GetJobJobSettingsSettingsTaskPythonWheelTaskArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput interface { - pulumi.Input +func (o GetMlflowModelLatestVersionTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Key }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput - ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput +func (o GetMlflowModelLatestVersionTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsTaskPythonWheelTaskPtrType GetJobJobSettingsSettingsTaskPythonWheelTaskArgs +type GetMlflowModelLatestVersionTagArrayOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskPythonWheelTaskPtr(v *GetJobJobSettingsSettingsTaskPythonWheelTaskArgs) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrInput { - return (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType)(v) +func (GetMlflowModelLatestVersionTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { + return o } -func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { + return o } -func (i *getJobJobSettingsSettingsTaskPythonWheelTaskPtrType) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) +func (o GetMlflowModelLatestVersionTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersionTag { + return vs[0].([]GetMlflowModelLatestVersionTag)[vs[1].(int)] + }).(GetMlflowModelLatestVersionTagOutput) } -type GetJobJobSettingsSettingsTaskPythonWheelTaskOutput struct{ *pulumi.OutputState } +type GetMlflowModelTag struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` +} -func (GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +// GetMlflowModelTagInput is an input type that accepts GetMlflowModelTagArgs and GetMlflowModelTagOutput values. +// You can construct a concrete instance of `GetMlflowModelTagInput` via: +// +// GetMlflowModelTagArgs{...} +type GetMlflowModelTagInput interface { + pulumi.Input + + ToGetMlflowModelTagOutput() GetMlflowModelTagOutput + ToGetMlflowModelTagOutputWithContext(context.Context) GetMlflowModelTagOutput } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return o +type GetMlflowModelTagArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return o +func (GetMlflowModelTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(context.Background()) +func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { + return i.ToGetMlflowModelTagOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskPythonWheelTask) *GetJobJobSettingsSettingsTaskPythonWheelTask { - return &v - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) +func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.EntryPoint }).(pulumi.StringPtrOutput) +// GetMlflowModelTagArrayInput is an input type that accepts GetMlflowModelTagArray and GetMlflowModelTagArrayOutput values. +// You can construct a concrete instance of `GetMlflowModelTagArrayInput` via: +// +// GetMlflowModelTagArray{ GetMlflowModelTagArgs{...} } +type GetMlflowModelTagArrayInput interface { + pulumi.Input + + ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput + ToGetMlflowModelTagArrayOutputWithContext(context.Context) GetMlflowModelTagArrayOutput } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]string { return v.NamedParameters }).(pulumi.StringMapOutput) +type GetMlflowModelTagArray []GetMlflowModelTagInput + +func (GetMlflowModelTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) *string { return v.PackageName }).(pulumi.StringPtrOutput) +func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { + return i.ToGetMlflowModelTagArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskPythonWheelTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagArrayOutput) } -type GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput struct{ *pulumi.OutputState } +type GetMlflowModelTagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskPythonWheelTask)(nil)).Elem() +func (GetMlflowModelTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() +} + +func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { + return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput() GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { +func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) ToGetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput { - return o +func (o GetMlflowModelTagOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskPythonWheelTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) GetJobJobSettingsSettingsTaskPythonWheelTask { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskPythonWheelTask - return ret - }).(GetJobJobSettingsSettingsTaskPythonWheelTaskOutput) +func (o GetMlflowModelTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) EntryPoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { - if v == nil { - return nil - } - return v.EntryPoint - }).(pulumi.StringPtrOutput) +type GetMlflowModelTagArrayOutput struct{ *pulumi.OutputState } + +func (GetMlflowModelTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) NamedParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) map[string]string { - if v == nil { - return nil - } - return v.NamedParameters - }).(pulumi.StringMapOutput) +func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) PackageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) *string { - if v == nil { - return nil - } - return v.PackageName - }).(pulumi.StringPtrOutput) +func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskPythonWheelTask) []string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringArrayOutput) +func (o GetMlflowModelTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelTag { + return vs[0].([]GetMlflowModelTag)[vs[1].(int)] + }).(GetMlflowModelTagOutput) } -type GetJobJobSettingsSettingsTaskRunJobTask struct { - JobId int `pulumi:"jobId"` - JobParameters map[string]string `pulumi:"jobParameters"` +type GetMwsNetworkConnectivityConfigEgressConfig struct { + // Array of default rules. + DefaultRules *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules `pulumi:"defaultRules"` + // Array of target rules. + TargetRules *GetMwsNetworkConnectivityConfigEgressConfigTargetRules `pulumi:"targetRules"` } -// GetJobJobSettingsSettingsTaskRunJobTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs and GetJobJobSettingsSettingsTaskRunJobTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigArgs and GetMwsNetworkConnectivityConfigEgressConfigOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigInput` via: // -// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} -type GetJobJobSettingsSettingsTaskRunJobTaskInput interface { +// GetMwsNetworkConnectivityConfigEgressConfigArgs{...} +type GetMwsNetworkConnectivityConfigEgressConfigInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput - ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput + ToGetMwsNetworkConnectivityConfigEgressConfigOutput() GetMwsNetworkConnectivityConfigEgressConfigOutput + ToGetMwsNetworkConnectivityConfigEgressConfigOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigOutput } -type GetJobJobSettingsSettingsTaskRunJobTaskArgs struct { - JobId pulumi.IntInput `pulumi:"jobId"` - JobParameters pulumi.StringMapInput `pulumi:"jobParameters"` +type GetMwsNetworkConnectivityConfigEgressConfigArgs struct { + // Array of default rules. + DefaultRules GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput `pulumi:"defaultRules"` + // Array of target rules. + TargetRules GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput `pulumi:"targetRules"` } -func (GetJobJobSettingsSettingsTaskRunJobTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigArgs) ToGetMwsNetworkConnectivityConfigEgressConfigOutput() GetMwsNetworkConnectivityConfigEgressConfigOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) +func (i GetMwsNetworkConnectivityConfigEgressConfigArgs) ToGetMwsNetworkConnectivityConfigEgressConfigOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigOutput) } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigArgs) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskRunJobTaskArgs) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskOutput).ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx) +func (i GetMwsNetworkConnectivityConfigEgressConfigArgs) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigOutput).ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskRunJobTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskRunJobTaskArgs, GetJobJobSettingsSettingsTaskRunJobTaskPtr and GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskRunJobTaskPtrInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigPtrInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigArgs, GetMwsNetworkConnectivityConfigEgressConfigPtr and GetMwsNetworkConnectivityConfigEgressConfigPtrOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigPtrInput` via: // -// GetJobJobSettingsSettingsTaskRunJobTaskArgs{...} +// GetMwsNetworkConnectivityConfigEgressConfigArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskRunJobTaskPtrInput interface { +type GetMwsNetworkConnectivityConfigEgressConfigPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput - ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigPtrOutput } -type getJobJobSettingsSettingsTaskRunJobTaskPtrType GetJobJobSettingsSettingsTaskRunJobTaskArgs +type getMwsNetworkConnectivityConfigEgressConfigPtrType GetMwsNetworkConnectivityConfigEgressConfigArgs -func GetJobJobSettingsSettingsTaskRunJobTaskPtr(v *GetJobJobSettingsSettingsTaskRunJobTaskArgs) GetJobJobSettingsSettingsTaskRunJobTaskPtrInput { - return (*getJobJobSettingsSettingsTaskRunJobTaskPtrType)(v) +func GetMwsNetworkConnectivityConfigEgressConfigPtr(v *GetMwsNetworkConnectivityConfigEgressConfigArgs) GetMwsNetworkConnectivityConfigEgressConfigPtrInput { + return (*getMwsNetworkConnectivityConfigEgressConfigPtrType)(v) } -func (*getJobJobSettingsSettingsTaskRunJobTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (*getMwsNetworkConnectivityConfigEgressConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (i *getMwsNetworkConnectivityConfigEgressConfigPtrType) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskRunJobTaskPtrType) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) +func (i *getMwsNetworkConnectivityConfigEgressConfigPtrType) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) } -type GetJobJobSettingsSettingsTaskRunJobTaskOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskRunJobTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutput() GetJobJobSettingsSettingsTaskRunJobTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigOutput) ToGetMwsNetworkConnectivityConfigEgressConfigOutput() GetMwsNetworkConnectivityConfigEgressConfigOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigOutput) ToGetMwsNetworkConnectivityConfigEgressConfigOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigOutput) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { + return o.ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskRunJobTask) *GetJobJobSettingsSettingsTaskRunJobTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigOutput) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMwsNetworkConnectivityConfigEgressConfig) *GetMwsNetworkConnectivityConfigEgressConfig { return &v - }).(GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobId() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) int { return v.JobId }).(pulumi.IntOutput) +// Array of default rules. +func (o GetMwsNetworkConnectivityConfigEgressConfigOutput) DefaultRules() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfig) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { + return v.DefaultRules + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskRunJobTask) map[string]string { return v.JobParameters }).(pulumi.StringMapOutput) +// Array of target rules. +func (o GetMwsNetworkConnectivityConfigEgressConfigOutput) TargetRules() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfig) *GetMwsNetworkConnectivityConfigEgressConfigTargetRules { + return v.TargetRules + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -type GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskRunJobTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfig)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutput() GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) ToGetJobJobSettingsSettingsTaskRunJobTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskRunJobTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) GetJobJobSettingsSettingsTaskRunJobTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) Elem() GetMwsNetworkConnectivityConfigEgressConfigOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfig) GetMwsNetworkConnectivityConfigEgressConfig { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskRunJobTask + var ret GetMwsNetworkConnectivityConfigEgressConfig return ret - }).(GetJobJobSettingsSettingsTaskRunJobTaskOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) *int { +// Array of default rules. +func (o GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) DefaultRules() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfig) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { if v == nil { return nil } - return &v.JobId - }).(pulumi.IntPtrOutput) + return v.DefaultRules + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskRunJobTaskPtrOutput) JobParameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskRunJobTask) map[string]string { +// Array of target rules. +func (o GetMwsNetworkConnectivityConfigEgressConfigPtrOutput) TargetRules() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfig) *GetMwsNetworkConnectivityConfigEgressConfigTargetRules { if v == nil { return nil } - return v.JobParameters - }).(pulumi.StringMapOutput) + return v.TargetRules + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -type GetJobJobSettingsSettingsTaskSparkJarTask struct { - JarUri *string `pulumi:"jarUri"` - MainClassName *string `pulumi:"mainClassName"` - Parameters []string `pulumi:"parameters"` +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRules struct { + // The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + AwsStableIpRule *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule `pulumi:"awsStableIpRule"` + // Array of Azure service endpoint rules. + AzureServiceEndpointRule *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule `pulumi:"azureServiceEndpointRule"` } -// GetJobJobSettingsSettingsTaskSparkJarTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs and GetJobJobSettingsSettingsTaskSparkJarTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs and GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInput` via: // -// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} -type GetJobJobSettingsSettingsTaskSparkJarTaskInput interface { +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{...} +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput - ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput } -type GetJobJobSettingsSettingsTaskSparkJarTaskArgs struct { - JarUri pulumi.StringPtrInput `pulumi:"jarUri"` - MainClassName pulumi.StringPtrInput `pulumi:"mainClassName"` - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs struct { + // The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + AwsStableIpRule GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput `pulumi:"awsStableIpRule"` + // Array of Azure service endpoint rules. + AzureServiceEndpointRule GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput `pulumi:"azureServiceEndpointRule"` } -func (GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkJarTaskArgs) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput).ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput).ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkJarTaskArgs, GetJobJobSettingsSettingsTaskSparkJarTaskPtr and GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs, GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtr and GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput` via: // -// GetJobJobSettingsSettingsTaskSparkJarTaskArgs{...} +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput interface { +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput } -type getJobJobSettingsSettingsTaskSparkJarTaskPtrType GetJobJobSettingsSettingsTaskSparkJarTaskArgs +type getMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs -func GetJobJobSettingsSettingsTaskSparkJarTaskPtr(v *GetJobJobSettingsSettingsTaskSparkJarTaskArgs) GetJobJobSettingsSettingsTaskSparkJarTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType)(v) +func GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtr(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput { + return (*getMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (*getMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (i *getMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSparkJarTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) +func (i *getMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrType) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -type GetJobJobSettingsSettingsTaskSparkJarTaskOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutput() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkJarTask) *GetJobJobSettingsSettingsTaskSparkJarTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMwsNetworkConnectivityConfigEgressConfigDefaultRules) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { return &v - }).(GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.JarUri }).(pulumi.StringPtrOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) *string { return v.MainClassName }).(pulumi.StringPtrOutput) +// The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) AwsStableIpRule() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigDefaultRules) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { + return v.AwsStableIpRule + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkJarTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +// Array of Azure service endpoint rules. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) AzureServiceEndpointRule() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigDefaultRules) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { + return v.AzureServiceEndpointRule + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -type GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkJarTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigDefaultRules)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkJarTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkJarTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) GetJobJobSettingsSettingsTaskSparkJarTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) Elem() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules) GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskSparkJarTask + var ret GetMwsNetworkConnectivityConfigEgressConfigDefaultRules return ret - }).(GetJobJobSettingsSettingsTaskSparkJarTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) JarUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { - if v == nil { - return nil - } - return v.JarUri - }).(pulumi.StringPtrOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) MainClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) *string { +// The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) AwsStableIpRule() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { if v == nil { return nil } - return v.MainClassName - }).(pulumi.StringPtrOutput) + return v.AwsStableIpRule + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -func (o GetJobJobSettingsSettingsTaskSparkJarTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkJarTask) []string { +// Array of Azure service endpoint rules. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput) AzureServiceEndpointRule() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRules) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { if v == nil { return nil } - return v.Parameters - }).(pulumi.StringArrayOutput) + return v.AzureServiceEndpointRule + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -type GetJobJobSettingsSettingsTaskSparkPythonTask struct { - Parameters []string `pulumi:"parameters"` - PythonFile string `pulumi:"pythonFile"` - Source *string `pulumi:"source"` +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule struct { + // The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + CidrBlocks []string `pulumi:"cidrBlocks"` } -// GetJobJobSettingsSettingsTaskSparkPythonTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs and GetJobJobSettingsSettingsTaskSparkPythonTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs and GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput` via: // -// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} -type GetJobJobSettingsSettingsTaskSparkPythonTaskInput interface { +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{...} +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput - ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput } -type GetJobJobSettingsSettingsTaskSparkPythonTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` - PythonFile pulumi.StringInput `pulumi:"pythonFile"` - Source pulumi.StringPtrInput `pulumi:"source"` +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs struct { + // The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"` } -func (GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput).ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput).ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkPythonTaskArgs, GetJobJobSettingsSettingsTaskSparkPythonTaskPtr and GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs, GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtr and GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput` via: // -// GetJobJobSettingsSettingsTaskSparkPythonTaskArgs{...} +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput interface { +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput } -type getJobJobSettingsSettingsTaskSparkPythonTaskPtrType GetJobJobSettingsSettingsTaskSparkPythonTaskArgs +type getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs -func GetJobJobSettingsSettingsTaskSparkPythonTaskPtr(v *GetJobJobSettingsSettingsTaskSparkPythonTaskArgs) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType)(v) +func GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtr(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput { + return (*getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType)(v) } -func (*getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (*getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (i *getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSparkPythonTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) +func (i *getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrType) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -type GetJobJobSettingsSettingsTaskSparkPythonTaskOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkPythonTask) *GetJobJobSettingsSettingsTaskSparkPythonTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { return &v - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) -} - -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) PythonFile() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) string { return v.PythonFile }).(pulumi.StringOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkPythonTask) *string { return v.Source }).(pulumi.StringPtrOutput) +// The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) CidrBlocks() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) []string { + return v.CidrBlocks + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkPythonTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkPythonTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) GetJobJobSettingsSettingsTaskSparkPythonTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) Elem() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskSparkPythonTask + var ret GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule return ret - }).(GetJobJobSettingsSettingsTaskSparkPythonTaskOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) []string { +// The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput) CidrBlocks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule) []string { if v == nil { return nil } - return v.Parameters + return v.CidrBlocks }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) PythonFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { - if v == nil { - return nil - } - return &v.PythonFile - }).(pulumi.StringPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSparkPythonTaskPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkPythonTask) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskSparkSubmitTask struct { - Parameters []string `pulumi:"parameters"` +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule struct { + // Array of strings representing the subnet IDs. + Subnets []string `pulumi:"subnets"` + // The target region for the service endpoint. + TargetRegion *string `pulumi:"targetRegion"` + // Array of target services. + TargetServices []string `pulumi:"targetServices"` } -// GetJobJobSettingsSettingsTaskSparkSubmitTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs and GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs and GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput` via: // -// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} -type GetJobJobSettingsSettingsTaskSparkSubmitTaskInput interface { +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{...} +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput } -type GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs struct { - Parameters pulumi.StringArrayInput `pulumi:"parameters"` +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs struct { + // Array of strings representing the subnet IDs. + Subnets pulumi.StringArrayInput `pulumi:"subnets"` + // The target region for the service endpoint. + TargetRegion pulumi.StringPtrInput `pulumi:"targetRegion"` + // Array of target services. + TargetServices pulumi.StringArrayInput `pulumi:"targetServices"` } -func (GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput).ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx) +func (i GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput).ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs, GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr and GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs, GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtr and GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput` via: // -// GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs{...} +// GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput interface { +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput } -type getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs +type getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs -func GetJobJobSettingsSettingsTaskSparkSubmitTaskPtr(v *GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType)(v) +func GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtr(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput { + return (*getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType)(v) } -func (*getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +func (*getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (i *getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSparkSubmitTaskPtrType) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) +func (i *getMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrType) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -type GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSparkSubmitTask) *GetJobJobSettingsSettingsTaskSparkSubmitTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { return &v - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { return v.Parameters }).(pulumi.StringArrayOutput) +// Array of strings representing the subnet IDs. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { + return v.Subnets + }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput struct{ *pulumi.OutputState } +// The target region for the service endpoint. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) TargetRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *string { + return v.TargetRegion + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSparkSubmitTask)(nil)).Elem() +// Array of target services. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) TargetServices() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { + return v.TargetServices + }).(pulumi.StringArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput() GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { +type GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput struct{ *pulumi.OutputState } + +func (GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule)(nil)).Elem() +} + +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) GetJobJobSettingsSettingsTaskSparkSubmitTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) Elem() GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskSparkSubmitTask + var ret GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule return ret - }).(GetJobJobSettingsSettingsTaskSparkSubmitTaskOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput) } -func (o GetJobJobSettingsSettingsTaskSparkSubmitTaskPtrOutput) Parameters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSparkSubmitTask) []string { +// Array of strings representing the subnet IDs. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { if v == nil { return nil } - return v.Parameters + return v.Subnets }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTask struct { - Alert *GetJobJobSettingsSettingsTaskSqlTaskAlert `pulumi:"alert"` - Dashboard *GetJobJobSettingsSettingsTaskSqlTaskDashboard `pulumi:"dashboard"` - File *GetJobJobSettingsSettingsTaskSqlTaskFile `pulumi:"file"` - Parameters map[string]string `pulumi:"parameters"` - Query *GetJobJobSettingsSettingsTaskSqlTaskQuery `pulumi:"query"` - WarehouseId string `pulumi:"warehouseId"` +// The target region for the service endpoint. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) TargetRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) *string { + if v == nil { + return nil + } + return v.TargetRegion + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs and GetJobJobSettingsSettingsTaskSqlTaskOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskInput` via: +// Array of target services. +func (o GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput) TargetServices() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule) []string { + if v == nil { + return nil + } + return v.TargetServices + }).(pulumi.StringArrayOutput) +} + +type GetMwsNetworkConnectivityConfigEgressConfigTargetRules struct { + // Array of private endpoint rule objects. + AzurePrivateEndpointRules []GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule `pulumi:"azurePrivateEndpointRules"` +} + +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs and GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskInput interface { +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{...} +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput - ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput } -type GetJobJobSettingsSettingsTaskSqlTaskArgs struct { - Alert GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput `pulumi:"alert"` - Dashboard GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput `pulumi:"dashboard"` - File GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput `pulumi:"file"` - Parameters pulumi.StringMapInput `pulumi:"parameters"` - Query GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput `pulumi:"query"` - WarehouseId pulumi.StringInput `pulumi:"warehouseId"` +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs struct { + // Array of private endpoint rule objects. + AzurePrivateEndpointRules GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput `pulumi:"azurePrivateEndpointRules"` } -func (GetJobJobSettingsSettingsTaskSqlTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput) +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskArgs) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskOutput).ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx) +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput).ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTaskSqlTaskPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskArgs, GetJobJobSettingsSettingsTaskSqlTaskPtr and GetJobJobSettingsSettingsTaskSqlTaskPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskPtrInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs, GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtr and GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskArgs{...} +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTaskSqlTaskPtrInput interface { +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput } -type getJobJobSettingsSettingsTaskSqlTaskPtrType GetJobJobSettingsSettingsTaskSqlTaskArgs +type getMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs -func GetJobJobSettingsSettingsTaskSqlTaskPtr(v *GetJobJobSettingsSettingsTaskSqlTaskArgs) GetJobJobSettingsSettingsTaskSqlTaskPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskPtrType)(v) +func GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtr(v *GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput { + return (*getMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType)(v) } -func (*getJobJobSettingsSettingsTaskSqlTaskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (*getMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) +func (i *getMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSqlTaskPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) +func (i *getMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrType) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutput() GetJobJobSettingsSettingsTaskSqlTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMwsNetworkConnectivityConfigEgressConfigTargetRules) *GetMwsNetworkConnectivityConfigEgressConfigTargetRules { return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { - return v.Alert - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { return v.File }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { - return v.Query - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskOutput) WarehouseId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTask) string { return v.WarehouseId }).(pulumi.StringOutput) +// Array of private endpoint rule objects. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) AzurePrivateEndpointRules() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRules) []GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + return v.AzurePrivateEndpointRules + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskPtrOutput struct{ *pulumi.OutputState } +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTask)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMwsNetworkConnectivityConfigEgressConfigTargetRules)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskPtrOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) GetJobJobSettingsSettingsTaskSqlTask { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) Elem() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigTargetRules) GetMwsNetworkConnectivityConfigEgressConfigTargetRules { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTaskSqlTask - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Alert() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskAlert { - if v == nil { - return nil - } - return v.Alert - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Dashboard() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { - if v == nil { - return nil - } - return v.Dashboard - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) File() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskFile { - if v == nil { - return nil - } - return v.File - }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Parameters() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) map[string]string { - if v == nil { - return nil - } - return v.Parameters - }).(pulumi.StringMapOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) Query() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *GetJobJobSettingsSettingsTaskSqlTaskQuery { - if v == nil { - return nil - } - return v.Query - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) + var ret GetMwsNetworkConnectivityConfigEgressConfigTargetRules + return ret + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskPtrOutput) WarehouseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTask) *string { +// Array of private endpoint rule objects. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput) AzurePrivateEndpointRules() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return o.ApplyT(func(v *GetMwsNetworkConnectivityConfigEgressConfigTargetRules) []GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { if v == nil { return nil } - return &v.WarehouseId - }).(pulumi.StringPtrOutput) + return v.AzurePrivateEndpointRules + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlert struct { - AlertId string `pulumi:"alertId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription `pulumi:"subscriptions"` +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule struct { + // The current status of this private endpoint. + ConnectionState *string `pulumi:"connectionState"` + // Time in epoch milliseconds when this object was created. + CreationTime *int `pulumi:"creationTime"` + // Whether this private endpoint is deactivated. + Deactivated *bool `pulumi:"deactivated"` + // Time in epoch milliseconds when this object was deactivated. + DeactivatedAt *int `pulumi:"deactivatedAt"` + // The name of the Azure private endpoint resource. + EndpointName *string `pulumi:"endpointName"` + // The sub-resource type (group ID) of the target resource. + GroupId *string `pulumi:"groupId"` + // The Databricks network connectivity configuration ID. + NetworkConnectivityConfigId *string `pulumi:"networkConnectivityConfigId"` + // The Azure resource ID of the target resource. + ResourceId *string `pulumi:"resourceId"` + // The ID of a private endpoint rule. + RuleId *string `pulumi:"ruleId"` + // Time in epoch milliseconds when the network was updated. + UpdatedTime *int `pulumi:"updatedTime"` } -// GetJobJobSettingsSettingsTaskSqlTaskAlertInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertInput` via: +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs and GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskAlertInput interface { +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{...} +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput } -type GetJobJobSettingsSettingsTaskSqlTaskAlertArgs struct { - AlertId pulumi.StringInput `pulumi:"alertId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput `pulumi:"subscriptions"` +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs struct { + // The current status of this private endpoint. + ConnectionState pulumi.StringPtrInput `pulumi:"connectionState"` + // Time in epoch milliseconds when this object was created. + CreationTime pulumi.IntPtrInput `pulumi:"creationTime"` + // Whether this private endpoint is deactivated. + Deactivated pulumi.BoolPtrInput `pulumi:"deactivated"` + // Time in epoch milliseconds when this object was deactivated. + DeactivatedAt pulumi.IntPtrInput `pulumi:"deactivatedAt"` + // The name of the Azure private endpoint resource. + EndpointName pulumi.StringPtrInput `pulumi:"endpointName"` + // The sub-resource type (group ID) of the target resource. + GroupId pulumi.StringPtrInput `pulumi:"groupId"` + // The Databricks network connectivity configuration ID. + NetworkConnectivityConfigId pulumi.StringPtrInput `pulumi:"networkConnectivityConfigId"` + // The Azure resource ID of the target resource. + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + // The ID of a private endpoint rule. + RuleId pulumi.StringPtrInput `pulumi:"ruleId"` + // Time in epoch milliseconds when the network was updated. + UpdatedTime pulumi.IntPtrInput `pulumi:"updatedTime"` } -func (GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(context.Background()) +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput is an input type that accepts GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray and GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput values. +// You can construct a concrete instance of `GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput` via: +// +// GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray{ GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{...} } +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput interface { + pulumi.Input + + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput + ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput).ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx) +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray []GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput + +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() } -// GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertArgs, GetJobJobSettingsSettingsTaskSqlTaskAlertPtr and GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskAlertArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput interface { - pulumi.Input +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return i.ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(context.Background()) +} - ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput +func (i GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) } -type getJobJobSettingsSettingsTaskSqlTaskAlertPtrType GetJobJobSettingsSettingsTaskSqlTaskAlertArgs +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskSqlTaskAlertPtr(v *GetJobJobSettingsSettingsTaskSqlTaskAlertArgs) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType)(v) +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSqlTaskAlertPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) +// The current status of this private endpoint. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ConnectionState() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.ConnectionState + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertOutput struct{ *pulumi.OutputState } +// Time in epoch milliseconds when this object was created. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) CreationTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { + return v.CreationTime + }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +// Whether this private endpoint is deactivated. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) Deactivated() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *bool { + return v.Deactivated + }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { +// Time in epoch milliseconds when this object was deactivated. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) DeactivatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { + return v.DeactivatedAt + }).(pulumi.IntPtrOutput) +} + +// The name of the Azure private endpoint resource. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) EndpointName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.EndpointName + }).(pulumi.StringPtrOutput) +} + +// The sub-resource type (group ID) of the target resource. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) GroupId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.GroupId + }).(pulumi.StringPtrOutput) +} + +// The Databricks network connectivity configuration ID. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) NetworkConnectivityConfigId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.NetworkConnectivityConfigId + }).(pulumi.StringPtrOutput) +} + +// The Azure resource ID of the target resource. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.ResourceId + }).(pulumi.StringPtrOutput) +} + +// The ID of a private endpoint rule. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) RuleId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *string { + return v.RuleId + }).(pulumi.StringPtrOutput) +} + +// Time in epoch milliseconds when the network was updated. +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) UpdatedTime() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule) *int { + return v.UpdatedTime + }).(pulumi.IntPtrOutput) +} + +type GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)(nil)).Elem() +} + +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput() GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) ToGetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutputWithContext(ctx context.Context) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(context.Background()) +func (o GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput) Index(i pulumi.IntInput) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + return vs[0].([]GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule)[vs[1].(int)] + }).(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskAlert) *GetJobJobSettingsSettingsTaskSqlTaskAlert { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) +type GetNotebookPathsNotebookPathList struct { + Language *string `pulumi:"language"` + // Path to workspace directory + Path *string `pulumi:"path"` } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) string { return v.AlertId }).(pulumi.StringOutput) +// GetNotebookPathsNotebookPathListInput is an input type that accepts GetNotebookPathsNotebookPathListArgs and GetNotebookPathsNotebookPathListOutput values. +// You can construct a concrete instance of `GetNotebookPathsNotebookPathListInput` via: +// +// GetNotebookPathsNotebookPathListArgs{...} +type GetNotebookPathsNotebookPathListInput interface { + pulumi.Input + + ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput + ToGetNotebookPathsNotebookPathListOutputWithContext(context.Context) GetNotebookPathsNotebookPathListOutput } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +type GetNotebookPathsNotebookPathListArgs struct { + Language pulumi.StringPtrInput `pulumi:"language"` + // Path to workspace directory + Path pulumi.StringPtrInput `pulumi:"path"` } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) +func (GetNotebookPathsNotebookPathListArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() } -type GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput struct{ *pulumi.OutputState } +func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { + return i.ToGetNotebookPathsNotebookPathListOutputWithContext(context.Background()) +} -func (GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskAlert)(nil)).Elem() +func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { +// GetNotebookPathsNotebookPathListArrayInput is an input type that accepts GetNotebookPathsNotebookPathListArray and GetNotebookPathsNotebookPathListArrayOutput values. +// You can construct a concrete instance of `GetNotebookPathsNotebookPathListArrayInput` via: +// +// GetNotebookPathsNotebookPathListArray{ GetNotebookPathsNotebookPathListArgs{...} } +type GetNotebookPathsNotebookPathListArrayInput interface { + pulumi.Input + + ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput + ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Context) GetNotebookPathsNotebookPathListArrayOutput +} + +type GetNotebookPathsNotebookPathListArray []GetNotebookPathsNotebookPathListInput + +func (GetNotebookPathsNotebookPathListArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() +} + +func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { + return i.ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Background()) +} + +func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListArrayOutput) +} + +type GetNotebookPathsNotebookPathListOutput struct{ *pulumi.OutputState } + +func (GetNotebookPathsNotebookPathListOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() +} + +func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput { +func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskAlertOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) GetJobJobSettingsSettingsTaskSqlTaskAlert { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskAlert - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertOutput) +func (o GetNotebookPathsNotebookPathListOutput) Language() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Language }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *string { - if v == nil { - return nil - } - return &v.AlertId - }).(pulumi.StringPtrOutput) +// Path to workspace directory +func (o GetNotebookPathsNotebookPathListOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Path }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +type GetNotebookPathsNotebookPathListArrayOutput struct{ *pulumi.OutputState } + +func (GetNotebookPathsNotebookPathListArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskAlert) []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) +func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { + return o } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` +func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { + return o } -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput` via: +func (o GetNotebookPathsNotebookPathListArrayOutput) Index(i pulumi.IntInput) GetNotebookPathsNotebookPathListOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNotebookPathsNotebookPathList { + return vs[0].([]GetNotebookPathsNotebookPathList)[vs[1].(int)] + }).(GetNotebookPathsNotebookPathListOutput) +} + +type GetNotificationDestinationsNotificationDestination struct { + // The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. + DestinationType *string `pulumi:"destinationType"` + // The display name of the Notification Destination. + DisplayName *string `pulumi:"displayName"` + // The unique ID of the Notification Destination. + Id *string `pulumi:"id"` +} + +// GetNotificationDestinationsNotificationDestinationInput is an input type that accepts GetNotificationDestinationsNotificationDestinationArgs and GetNotificationDestinationsNotificationDestinationOutput values. +// You can construct a concrete instance of `GetNotificationDestinationsNotificationDestinationInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput interface { +// GetNotificationDestinationsNotificationDestinationArgs{...} +type GetNotificationDestinationsNotificationDestinationInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput + ToGetNotificationDestinationsNotificationDestinationOutput() GetNotificationDestinationsNotificationDestinationOutput + ToGetNotificationDestinationsNotificationDestinationOutputWithContext(context.Context) GetNotificationDestinationsNotificationDestinationOutput } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetNotificationDestinationsNotificationDestinationArgs struct { + // The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. + DestinationType pulumi.StringPtrInput `pulumi:"destinationType"` + // The display name of the Notification Destination. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // The unique ID of the Notification Destination. + Id pulumi.StringPtrInput `pulumi:"id"` } -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetNotificationDestinationsNotificationDestinationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotificationDestinationsNotificationDestination)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(context.Background()) +func (i GetNotificationDestinationsNotificationDestinationArgs) ToGetNotificationDestinationsNotificationDestinationOutput() GetNotificationDestinationsNotificationDestinationOutput { + return i.ToGetNotificationDestinationsNotificationDestinationOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) +func (i GetNotificationDestinationsNotificationDestinationArgs) ToGetNotificationDestinationsNotificationDestinationOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotificationDestinationsNotificationDestinationOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput` via: +// GetNotificationDestinationsNotificationDestinationArrayInput is an input type that accepts GetNotificationDestinationsNotificationDestinationArray and GetNotificationDestinationsNotificationDestinationArrayOutput values. +// You can construct a concrete instance of `GetNotificationDestinationsNotificationDestinationArrayInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayInput interface { +// GetNotificationDestinationsNotificationDestinationArray{ GetNotificationDestinationsNotificationDestinationArgs{...} } +type GetNotificationDestinationsNotificationDestinationArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput + ToGetNotificationDestinationsNotificationDestinationArrayOutput() GetNotificationDestinationsNotificationDestinationArrayOutput + ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(context.Context) GetNotificationDestinationsNotificationDestinationArrayOutput } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionInput +type GetNotificationDestinationsNotificationDestinationArray []GetNotificationDestinationsNotificationDestinationInput -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetNotificationDestinationsNotificationDestinationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNotificationDestinationsNotificationDestination)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(context.Background()) +func (i GetNotificationDestinationsNotificationDestinationArray) ToGetNotificationDestinationsNotificationDestinationArrayOutput() GetNotificationDestinationsNotificationDestinationArrayOutput { + return i.ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) +func (i GetNotificationDestinationsNotificationDestinationArray) ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotificationDestinationsNotificationDestinationArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput struct{ *pulumi.OutputState } +type GetNotificationDestinationsNotificationDestinationOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +func (GetNotificationDestinationsNotificationDestinationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotificationDestinationsNotificationDestination)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { +func (o GetNotificationDestinationsNotificationDestinationOutput) ToGetNotificationDestinationsNotificationDestinationOutput() GetNotificationDestinationsNotificationDestinationOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { +func (o GetNotificationDestinationsNotificationDestinationOutput) ToGetNotificationDestinationsNotificationDestinationOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +// The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. +func (o GetNotificationDestinationsNotificationDestinationOutput) DestinationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotificationDestinationsNotificationDestination) *string { return v.DestinationType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +// The display name of the Notification Destination. +func (o GetNotificationDestinationsNotificationDestinationOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotificationDestinationsNotificationDestination) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput struct{ *pulumi.OutputState } +// The unique ID of the Notification Destination. +func (o GetNotificationDestinationsNotificationDestinationOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotificationDestinationsNotificationDestination) *string { return v.Id }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)(nil)).Elem() +type GetNotificationDestinationsNotificationDestinationArrayOutput struct{ *pulumi.OutputState } + +func (GetNotificationDestinationsNotificationDestinationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNotificationDestinationsNotificationDestination)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetNotificationDestinationsNotificationDestinationArrayOutput) ToGetNotificationDestinationsNotificationDestinationArrayOutput() GetNotificationDestinationsNotificationDestinationArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput { +func (o GetNotificationDestinationsNotificationDestinationArrayOutput) ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskAlertSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionOutput) +func (o GetNotificationDestinationsNotificationDestinationArrayOutput) Index(i pulumi.IntInput) GetNotificationDestinationsNotificationDestinationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNotificationDestinationsNotificationDestination { + return vs[0].([]GetNotificationDestinationsNotificationDestination)[vs[1].(int)] + }).(GetNotificationDestinationsNotificationDestinationOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboard struct { - CustomSubject *string `pulumi:"customSubject"` - DashboardId string `pulumi:"dashboardId"` - PauseSubscriptions *bool `pulumi:"pauseSubscriptions"` - Subscriptions []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription `pulumi:"subscriptions"` +type GetRegisteredModelModelInfo struct { + // the list of aliases associated with this model. Each item is object consisting of following attributes: + Aliases []GetRegisteredModelModelInfoAlias `pulumi:"aliases"` + BrowseOnly *bool `pulumi:"browseOnly"` + // The name of the catalog where the schema and the registered model reside. + CatalogName *string `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment *string `pulumi:"comment"` + // the Unix timestamp at the model's creation + CreatedAt *int `pulumi:"createdAt"` + // the identifier of the user who created the model + CreatedBy *string `pulumi:"createdBy"` + // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + FullName *string `pulumi:"fullName"` + // the unique identifier of the metastore + MetastoreId *string `pulumi:"metastoreId"` + // The name of the registered model. + Name *string `pulumi:"name"` + // Name of the registered model owner. + Owner *string `pulumi:"owner"` + // The name of the schema where the registered model resides. + SchemaName *string `pulumi:"schemaName"` + // The storage location under which model version data files are stored. + StorageLocation *string `pulumi:"storageLocation"` + // the timestamp of the last time changes were made to the model + UpdatedAt *int `pulumi:"updatedAt"` + // the identifier of the user who updated the model last time + UpdatedBy *string `pulumi:"updatedBy"` } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardInput` via: +// GetRegisteredModelModelInfoInput is an input type that accepts GetRegisteredModelModelInfoArgs and GetRegisteredModelModelInfoOutput values. +// You can construct a concrete instance of `GetRegisteredModelModelInfoInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskDashboardInput interface { +// GetRegisteredModelModelInfoArgs{...} +type GetRegisteredModelModelInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput + ToGetRegisteredModelModelInfoOutput() GetRegisteredModelModelInfoOutput + ToGetRegisteredModelModelInfoOutputWithContext(context.Context) GetRegisteredModelModelInfoOutput } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs struct { - CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` - DashboardId pulumi.StringInput `pulumi:"dashboardId"` - PauseSubscriptions pulumi.BoolPtrInput `pulumi:"pauseSubscriptions"` - Subscriptions GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput `pulumi:"subscriptions"` +type GetRegisteredModelModelInfoArgs struct { + // the list of aliases associated with this model. Each item is object consisting of following attributes: + Aliases GetRegisteredModelModelInfoAliasArrayInput `pulumi:"aliases"` + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // The name of the catalog where the schema and the registered model reside. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // the Unix timestamp at the model's creation + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // the identifier of the user who created the model + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + FullName pulumi.StringPtrInput `pulumi:"fullName"` + // the unique identifier of the metastore + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // The name of the registered model. + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the registered model owner. + Owner pulumi.StringPtrInput `pulumi:"owner"` + // The name of the schema where the registered model resides. + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + // The storage location under which model version data files are stored. + StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` + // the timestamp of the last time changes were made to the model + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // the identifier of the user who updated the model last time + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +func (GetRegisteredModelModelInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelModelInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(context.Background()) +func (i GetRegisteredModelModelInfoArgs) ToGetRegisteredModelModelInfoOutput() GetRegisteredModelModelInfoOutput { + return i.ToGetRegisteredModelModelInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) +func (i GetRegisteredModelModelInfoArgs) ToGetRegisteredModelModelInfoOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) -} +// GetRegisteredModelModelInfoArrayInput is an input type that accepts GetRegisteredModelModelInfoArray and GetRegisteredModelModelInfoArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelModelInfoArrayInput` via: +// +// GetRegisteredModelModelInfoArray{ GetRegisteredModelModelInfoArgs{...} } +type GetRegisteredModelModelInfoArrayInput interface { + pulumi.Input -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput).ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx) + ToGetRegisteredModelModelInfoArrayOutput() GetRegisteredModelModelInfoArrayOutput + ToGetRegisteredModelModelInfoArrayOutputWithContext(context.Context) GetRegisteredModelModelInfoArrayOutput } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs, GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr and GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput interface { - pulumi.Input +type GetRegisteredModelModelInfoArray []GetRegisteredModelModelInfoInput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput +func (GetRegisteredModelModelInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelModelInfo)(nil)).Elem() } -type getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs +func (i GetRegisteredModelModelInfoArray) ToGetRegisteredModelModelInfoArrayOutput() GetRegisteredModelModelInfoArrayOutput { + return i.ToGetRegisteredModelModelInfoArrayOutputWithContext(context.Background()) +} -func GetJobJobSettingsSettingsTaskSqlTaskDashboardPtr(v *GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType)(v) +func (i GetRegisteredModelModelInfoArray) ToGetRegisteredModelModelInfoArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoArrayOutput) } -func (*getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +type GetRegisteredModelModelInfoOutput struct{ *pulumi.OutputState } + +func (GetRegisteredModelModelInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelModelInfo)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +func (o GetRegisteredModelModelInfoOutput) ToGetRegisteredModelModelInfoOutput() GetRegisteredModelModelInfoOutput { + return o } -func (i *getJobJobSettingsSettingsTaskSqlTaskDashboardPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +func (o GetRegisteredModelModelInfoOutput) ToGetRegisteredModelModelInfoOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoOutput { + return o } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput struct{ *pulumi.OutputState } +// the list of aliases associated with this model. Each item is object consisting of following attributes: +func (o GetRegisteredModelModelInfoOutput) Aliases() GetRegisteredModelModelInfoAliasArrayOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) []GetRegisteredModelModelInfoAlias { return v.Aliases }).(GetRegisteredModelModelInfoAliasArrayOutput) +} -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +func (o GetRegisteredModelModelInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return o +// The name of the catalog where the schema and the registered model reside. +func (o GetRegisteredModelModelInfoOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return o +// The comment attached to the registered model. +func (o GetRegisteredModelModelInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(context.Background()) +// the Unix timestamp at the model's creation +func (o GetRegisteredModelModelInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *GetJobJobSettingsSettingsTaskSqlTaskDashboard { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) +// the identifier of the user who created the model +func (o GetRegisteredModelModelInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) +// The fully-qualified name of the registered model (`catalog_name.schema_name.name`). +func (o GetRegisteredModelModelInfoOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) DashboardId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) string { return v.DashboardId }).(pulumi.StringOutput) +// the unique identifier of the metastore +func (o GetRegisteredModelModelInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { return v.PauseSubscriptions }).(pulumi.BoolPtrOutput) +// The name of the registered model. +func (o GetRegisteredModelModelInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +// Name of the registered model owner. +func (o GetRegisteredModelModelInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskDashboard)(nil)).Elem() +// The name of the schema where the registered model resides. +func (o GetRegisteredModelModelInfoOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.SchemaName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o +// The storage location under which model version data files are stored. +func (o GetRegisteredModelModelInfoOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput { - return o +// the timestamp of the last time changes were made to the model +func (o GetRegisteredModelModelInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) GetJobJobSettingsSettingsTaskSqlTaskDashboard { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskDashboard - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardOutput) +// the identifier of the user who updated the model last time +func (o GetRegisteredModelModelInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) CustomSubject() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return v.CustomSubject - }).(pulumi.StringPtrOutput) +type GetRegisteredModelModelInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetRegisteredModelModelInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelModelInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) DashboardId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *string { - if v == nil { - return nil - } - return &v.DashboardId - }).(pulumi.StringPtrOutput) +func (o GetRegisteredModelModelInfoArrayOutput) ToGetRegisteredModelModelInfoArrayOutput() GetRegisteredModelModelInfoArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) PauseSubscriptions() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) *bool { - if v == nil { - return nil - } - return v.PauseSubscriptions - }).(pulumi.BoolPtrOutput) +func (o GetRegisteredModelModelInfoArrayOutput) ToGetRegisteredModelModelInfoArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardPtrOutput) Subscriptions() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskDashboard) []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { - if v == nil { - return nil - } - return v.Subscriptions - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +func (o GetRegisteredModelModelInfoArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelModelInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelModelInfo { + return vs[0].([]GetRegisteredModelModelInfo)[vs[1].(int)] + }).(GetRegisteredModelModelInfoOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription struct { - DestinationId *string `pulumi:"destinationId"` - UserName *string `pulumi:"userName"` +type GetRegisteredModelModelInfoAlias struct { + // string with the name of alias + AliasName *string `pulumi:"aliasName"` + // associated model version + VersionNum *int `pulumi:"versionNum"` } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput` via: +// GetRegisteredModelModelInfoAliasInput is an input type that accepts GetRegisteredModelModelInfoAliasArgs and GetRegisteredModelModelInfoAliasOutput values. +// You can construct a concrete instance of `GetRegisteredModelModelInfoAliasInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput interface { +// GetRegisteredModelModelInfoAliasArgs{...} +type GetRegisteredModelModelInfoAliasInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput + ToGetRegisteredModelModelInfoAliasOutput() GetRegisteredModelModelInfoAliasOutput + ToGetRegisteredModelModelInfoAliasOutputWithContext(context.Context) GetRegisteredModelModelInfoAliasOutput } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs struct { - DestinationId pulumi.StringPtrInput `pulumi:"destinationId"` - UserName pulumi.StringPtrInput `pulumi:"userName"` +type GetRegisteredModelModelInfoAliasArgs struct { + // string with the name of alias + AliasName pulumi.StringPtrInput `pulumi:"aliasName"` + // associated model version + VersionNum pulumi.IntPtrInput `pulumi:"versionNum"` } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (GetRegisteredModelModelInfoAliasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelModelInfoAlias)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(context.Background()) +func (i GetRegisteredModelModelInfoAliasArgs) ToGetRegisteredModelModelInfoAliasOutput() GetRegisteredModelModelInfoAliasOutput { + return i.ToGetRegisteredModelModelInfoAliasOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) +func (i GetRegisteredModelModelInfoAliasArgs) ToGetRegisteredModelModelInfoAliasOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoAliasOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray and GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput` via: +// GetRegisteredModelModelInfoAliasArrayInput is an input type that accepts GetRegisteredModelModelInfoAliasArray and GetRegisteredModelModelInfoAliasArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelModelInfoAliasArrayInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray{ GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs{...} } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayInput interface { +// GetRegisteredModelModelInfoAliasArray{ GetRegisteredModelModelInfoAliasArgs{...} } +type GetRegisteredModelModelInfoAliasArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput - ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput + ToGetRegisteredModelModelInfoAliasArrayOutput() GetRegisteredModelModelInfoAliasArrayOutput + ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(context.Context) GetRegisteredModelModelInfoAliasArrayOutput } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray []GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionInput +type GetRegisteredModelModelInfoAliasArray []GetRegisteredModelModelInfoAliasInput -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (GetRegisteredModelModelInfoAliasArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelModelInfoAlias)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(context.Background()) +func (i GetRegisteredModelModelInfoAliasArray) ToGetRegisteredModelModelInfoAliasArrayOutput() GetRegisteredModelModelInfoAliasArrayOutput { + return i.ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArray) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) +func (i GetRegisteredModelModelInfoAliasArray) ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoAliasArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput struct{ *pulumi.OutputState } +type GetRegisteredModelModelInfoAliasOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (GetRegisteredModelModelInfoAliasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelModelInfoAlias)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { +func (o GetRegisteredModelModelInfoAliasOutput) ToGetRegisteredModelModelInfoAliasOutput() GetRegisteredModelModelInfoAliasOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { +func (o GetRegisteredModelModelInfoAliasOutput) ToGetRegisteredModelModelInfoAliasOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) DestinationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.DestinationId }).(pulumi.StringPtrOutput) +// string with the name of alias +func (o GetRegisteredModelModelInfoAliasOutput) AliasName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfoAlias) *string { return v.AliasName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) UserName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription) *string { return v.UserName }).(pulumi.StringPtrOutput) +// associated model version +func (o GetRegisteredModelModelInfoAliasOutput) VersionNum() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelModelInfoAlias) *int { return v.VersionNum }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput struct{ *pulumi.OutputState } +type GetRegisteredModelModelInfoAliasArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)(nil)).Elem() +func (GetRegisteredModelModelInfoAliasArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelModelInfoAlias)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput() GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o GetRegisteredModelModelInfoAliasArrayOutput) ToGetRegisteredModelModelInfoAliasArrayOutput() GetRegisteredModelModelInfoAliasArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) ToGetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput { +func (o GetRegisteredModelModelInfoAliasArrayOutput) ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription { - return vs[0].([]GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscription)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionOutput) +func (o GetRegisteredModelModelInfoAliasArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelModelInfoAliasOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelModelInfoAlias { + return vs[0].([]GetRegisteredModelModelInfoAlias)[vs[1].(int)] + }).(GetRegisteredModelModelInfoAliasOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskFile struct { - Path string `pulumi:"path"` +type GetRegisteredModelVersionsModelVersion struct { + // the list of aliases associated with this model. Each item is object consisting of following attributes: + Aliases []GetRegisteredModelVersionsModelVersionAlias `pulumi:"aliases"` + BrowseOnly *bool `pulumi:"browseOnly"` + // The name of the catalog where the schema and the registered model reside. + CatalogName *string `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment *string `pulumi:"comment"` + // the Unix timestamp at the model's creation + CreatedAt *int `pulumi:"createdAt"` + // the identifier of the user who created the model + CreatedBy *string `pulumi:"createdBy"` + // The unique identifier of the model version + Id *string `pulumi:"id"` + // the unique identifier of the metastore + MetastoreId *string `pulumi:"metastoreId"` + ModelName *string `pulumi:"modelName"` + // block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + ModelVersionDependencies []GetRegisteredModelVersionsModelVersionModelVersionDependency `pulumi:"modelVersionDependencies"` + // MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + RunId *string `pulumi:"runId"` + // ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + RunWorkspaceId *int `pulumi:"runWorkspaceId"` + // The name of the schema where the registered model resides. + SchemaName *string `pulumi:"schemaName"` + // URI indicating the location of the source artifacts (files) for the model version. Source *string `pulumi:"source"` + // Current status of the model version. + Status *string `pulumi:"status"` + // The storage location under which model version data files are stored. + StorageLocation *string `pulumi:"storageLocation"` + // the timestamp of the last time changes were made to the model + UpdatedAt *int `pulumi:"updatedAt"` + // the identifier of the user who updated the model last time + UpdatedBy *string `pulumi:"updatedBy"` + // Integer model version number, used to reference the model version in API requests. + Version *int `pulumi:"version"` } -// GetJobJobSettingsSettingsTaskSqlTaskFileInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs and GetJobJobSettingsSettingsTaskSqlTaskFileOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFileInput` via: +// GetRegisteredModelVersionsModelVersionInput is an input type that accepts GetRegisteredModelVersionsModelVersionArgs and GetRegisteredModelVersionsModelVersionOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionInput` via: // -// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskFileInput interface { +// GetRegisteredModelVersionsModelVersionArgs{...} +type GetRegisteredModelVersionsModelVersionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput - ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput + ToGetRegisteredModelVersionsModelVersionOutput() GetRegisteredModelVersionsModelVersionOutput + ToGetRegisteredModelVersionsModelVersionOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionOutput } -type GetJobJobSettingsSettingsTaskSqlTaskFileArgs struct { - Path pulumi.StringInput `pulumi:"path"` +type GetRegisteredModelVersionsModelVersionArgs struct { + // the list of aliases associated with this model. Each item is object consisting of following attributes: + Aliases GetRegisteredModelVersionsModelVersionAliasArrayInput `pulumi:"aliases"` + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // The name of the catalog where the schema and the registered model reside. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment pulumi.StringPtrInput `pulumi:"comment"` + // the Unix timestamp at the model's creation + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // the identifier of the user who created the model + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The unique identifier of the model version + Id pulumi.StringPtrInput `pulumi:"id"` + // the unique identifier of the metastore + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + ModelName pulumi.StringPtrInput `pulumi:"modelName"` + // block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + ModelVersionDependencies GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayInput `pulumi:"modelVersionDependencies"` + // MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + RunId pulumi.StringPtrInput `pulumi:"runId"` + // ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + RunWorkspaceId pulumi.IntPtrInput `pulumi:"runWorkspaceId"` + // The name of the schema where the registered model resides. + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + // URI indicating the location of the source artifacts (files) for the model version. Source pulumi.StringPtrInput `pulumi:"source"` + // Current status of the model version. + Status pulumi.StringPtrInput `pulumi:"status"` + // The storage location under which model version data files are stored. + StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` + // the timestamp of the last time changes were made to the model + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // the identifier of the user who updated the model last time + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + // Integer model version number, used to reference the model version in API requests. + Version pulumi.IntPtrInput `pulumi:"version"` } -func (GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() -} - -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(context.Background()) -} - -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) +func (GetRegisteredModelVersionsModelVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersion)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionArgs) ToGetRegisteredModelVersionsModelVersionOutput() GetRegisteredModelVersionsModelVersionOutput { + return i.ToGetRegisteredModelVersionsModelVersionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskSqlTaskFileArgs) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput).ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx) +func (i GetRegisteredModelVersionsModelVersionArgs) ToGetRegisteredModelVersionsModelVersionOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskFileArgs, GetJobJobSettingsSettingsTaskSqlTaskFilePtr and GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskFileArgs{...} +// GetRegisteredModelVersionsModelVersionArrayInput is an input type that accepts GetRegisteredModelVersionsModelVersionArray and GetRegisteredModelVersionsModelVersionArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionArrayInput` via: // -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput interface { +// GetRegisteredModelVersionsModelVersionArray{ GetRegisteredModelVersionsModelVersionArgs{...} } +type GetRegisteredModelVersionsModelVersionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput + ToGetRegisteredModelVersionsModelVersionArrayOutput() GetRegisteredModelVersionsModelVersionArrayOutput + ToGetRegisteredModelVersionsModelVersionArrayOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionArrayOutput } -type getJobJobSettingsSettingsTaskSqlTaskFilePtrType GetJobJobSettingsSettingsTaskSqlTaskFileArgs - -func GetJobJobSettingsSettingsTaskSqlTaskFilePtr(v *GetJobJobSettingsSettingsTaskSqlTaskFileArgs) GetJobJobSettingsSettingsTaskSqlTaskFilePtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType)(v) -} +type GetRegisteredModelVersionsModelVersionArray []GetRegisteredModelVersionsModelVersionInput -func (*getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersion)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionArray) ToGetRegisteredModelVersionsModelVersionArrayOutput() GetRegisteredModelVersionsModelVersionArrayOutput { + return i.ToGetRegisteredModelVersionsModelVersionArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTaskSqlTaskFilePtrType) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) +func (i GetRegisteredModelVersionsModelVersionArray) ToGetRegisteredModelVersionsModelVersionArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionArrayOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskFileOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutput() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { +func (o GetRegisteredModelVersionsModelVersionOutput) ToGetRegisteredModelVersionsModelVersionOutput() GetRegisteredModelVersionsModelVersionOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFileOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFileOutput { +func (o GetRegisteredModelVersionsModelVersionOutput) ToGetRegisteredModelVersionsModelVersionOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskFile) *GetJobJobSettingsSettingsTaskSqlTaskFile { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) string { return v.Path }).(pulumi.StringOutput) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskFileOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskFile) *string { return v.Source }).(pulumi.StringPtrOutput) -} - -type GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskFile)(nil)).Elem() +// the list of aliases associated with this model. Each item is object consisting of following attributes: +func (o GetRegisteredModelVersionsModelVersionOutput) Aliases() GetRegisteredModelVersionsModelVersionAliasArrayOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) []GetRegisteredModelVersionsModelVersionAlias { + return v.Aliases + }).(GetRegisteredModelVersionsModelVersionAliasArrayOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput() GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o +func (o GetRegisteredModelVersionsModelVersionOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskFilePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput { - return o +// The name of the catalog where the schema and the registered model reside. +func (o GetRegisteredModelVersionsModelVersionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskFileOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) GetJobJobSettingsSettingsTaskSqlTaskFile { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskFile - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskFileOutput) +// The comment attached to the registered model. +func (o GetRegisteredModelVersionsModelVersionOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.Comment }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { - if v == nil { - return nil - } - return &v.Path - }).(pulumi.StringPtrOutput) +// the Unix timestamp at the model's creation +func (o GetRegisteredModelVersionsModelVersionOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskFilePtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskFile) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) +// the identifier of the user who created the model +func (o GetRegisteredModelVersionsModelVersionOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskQuery struct { - QueryId string `pulumi:"queryId"` +// The unique identifier of the model version +func (o GetRegisteredModelVersionsModelVersionOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.Id }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskQueryInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs and GetJobJobSettingsSettingsTaskSqlTaskQueryOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} -type GetJobJobSettingsSettingsTaskSqlTaskQueryInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput - ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput +// the unique identifier of the metastore +func (o GetRegisteredModelVersionsModelVersionOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskQueryArgs struct { - QueryId pulumi.StringInput `pulumi:"queryId"` +func (o GetRegisteredModelVersionsModelVersionOutput) ModelName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.ModelName }).(pulumi.StringPtrOutput) } -func (GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() +// block describing model version dependencies, for feature-store packaged models. Consists of following attributes: +func (o GetRegisteredModelVersionsModelVersionOutput) ModelVersionDependencies() GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) []GetRegisteredModelVersionsModelVersionModelVersionDependency { + return v.ModelVersionDependencies + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(context.Background()) +// MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server +func (o GetRegisteredModelVersionsModelVersionOutput) RunId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.RunId }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) +// ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable +func (o GetRegisteredModelVersionsModelVersionOutput) RunWorkspaceId() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *int { return v.RunWorkspaceId }).(pulumi.IntPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +// The name of the schema where the registered model resides. +func (o GetRegisteredModelVersionsModelVersionOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.SchemaName }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput).ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx) +// URI indicating the location of the source artifacts (files) for the model version. +func (o GetRegisteredModelVersionsModelVersionOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.Source }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskSqlTaskQueryArgs, GetJobJobSettingsSettingsTaskSqlTaskQueryPtr and GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput` via: -// -// GetJobJobSettingsSettingsTaskSqlTaskQueryArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput - ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput +// Current status of the model version. +func (o GetRegisteredModelVersionsModelVersionOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.Status }).(pulumi.StringPtrOutput) } -type getJobJobSettingsSettingsTaskSqlTaskQueryPtrType GetJobJobSettingsSettingsTaskSqlTaskQueryArgs - -func GetJobJobSettingsSettingsTaskSqlTaskQueryPtr(v *GetJobJobSettingsSettingsTaskSqlTaskQueryArgs) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrInput { - return (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType)(v) +// The storage location under which model version data files are stored. +func (o GetRegisteredModelVersionsModelVersionOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) } -func (*getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() +// the timestamp of the last time changes were made to the model +func (o GetRegisteredModelVersionsModelVersionOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) } -func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) +// the identifier of the user who updated the model last time +func (o GetRegisteredModelVersionsModelVersionOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (i *getJobJobSettingsSettingsTaskSqlTaskQueryPtrType) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +// Integer model version number, used to reference the model version in API requests. +func (o GetRegisteredModelVersionsModelVersionOutput) Version() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersion) *int { return v.Version }).(pulumi.IntPtrOutput) } -type GetJobJobSettingsSettingsTaskSqlTaskQueryOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersion)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { +func (o GetRegisteredModelVersionsModelVersionArrayOutput) ToGetRegisteredModelVersionsModelVersionArrayOutput() GetRegisteredModelVersionsModelVersionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { +func (o GetRegisteredModelVersionsModelVersionArrayOutput) ToGetRegisteredModelVersionsModelVersionArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(context.Background()) -} - -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskSqlTaskQuery) *GetJobJobSettingsSettingsTaskSqlTaskQuery { - return &v - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) +func (o GetRegisteredModelVersionsModelVersionArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelVersionsModelVersionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelVersionsModelVersion { + return vs[0].([]GetRegisteredModelVersionsModelVersion)[vs[1].(int)] + }).(GetRegisteredModelVersionsModelVersionOutput) } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) QueryId() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskSqlTaskQuery) string { return v.QueryId }).(pulumi.StringOutput) +type GetRegisteredModelVersionsModelVersionAlias struct { + // string with the name of alias + AliasName *string `pulumi:"aliasName"` + // associated model version + VersionNum *int `pulumi:"versionNum"` } -type GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskSqlTaskQuery)(nil)).Elem() -} +// GetRegisteredModelVersionsModelVersionAliasInput is an input type that accepts GetRegisteredModelVersionsModelVersionAliasArgs and GetRegisteredModelVersionsModelVersionAliasOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionAliasInput` via: +// +// GetRegisteredModelVersionsModelVersionAliasArgs{...} +type GetRegisteredModelVersionsModelVersionAliasInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput() GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o + ToGetRegisteredModelVersionsModelVersionAliasOutput() GetRegisteredModelVersionsModelVersionAliasOutput + ToGetRegisteredModelVersionsModelVersionAliasOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionAliasOutput } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) ToGetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput { - return o +type GetRegisteredModelVersionsModelVersionAliasArgs struct { + // string with the name of alias + AliasName pulumi.StringPtrInput `pulumi:"aliasName"` + // associated model version + VersionNum pulumi.IntPtrInput `pulumi:"versionNum"` } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) Elem() GetJobJobSettingsSettingsTaskSqlTaskQueryOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) GetJobJobSettingsSettingsTaskSqlTaskQuery { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskSqlTaskQuery - return ret - }).(GetJobJobSettingsSettingsTaskSqlTaskQueryOutput) +func (GetRegisteredModelVersionsModelVersionAliasArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionAlias)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskSqlTaskQueryPtrOutput) QueryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskSqlTaskQuery) *string { - if v == nil { - return nil - } - return &v.QueryId - }).(pulumi.StringPtrOutput) +func (i GetRegisteredModelVersionsModelVersionAliasArgs) ToGetRegisteredModelVersionsModelVersionAliasOutput() GetRegisteredModelVersionsModelVersionAliasOutput { + return i.ToGetRegisteredModelVersionsModelVersionAliasOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskWebhookNotifications struct { - OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `pulumi:"onFailures"` - OnStarts []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart `pulumi:"onStarts"` - OnStreamingBacklogExceededs []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +func (i GetRegisteredModelVersionsModelVersionAliasArgs) ToGetRegisteredModelVersionsModelVersionAliasOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionAliasOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionAliasOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsInput` via: +// GetRegisteredModelVersionsModelVersionAliasArrayInput is an input type that accepts GetRegisteredModelVersionsModelVersionAliasArray and GetRegisteredModelVersionsModelVersionAliasArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionAliasArrayInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsInput interface { +// GetRegisteredModelVersionsModelVersionAliasArray{ GetRegisteredModelVersionsModelVersionAliasArgs{...} } +type GetRegisteredModelVersionsModelVersionAliasArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput + ToGetRegisteredModelVersionsModelVersionAliasArrayOutput() GetRegisteredModelVersionsModelVersionAliasArrayOutput + ToGetRegisteredModelVersionsModelVersionAliasArrayOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionAliasArrayOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsArgs struct { - OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - OnStarts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +type GetRegisteredModelVersionsModelVersionAliasArray []GetRegisteredModelVersionsModelVersionAliasInput + +func (GetRegisteredModelVersionsModelVersionAliasArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionAlias)(nil)).Elem() } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +func (i GetRegisteredModelVersionsModelVersionAliasArray) ToGetRegisteredModelVersionsModelVersionAliasArrayOutput() GetRegisteredModelVersionsModelVersionAliasArrayOutput { + return i.ToGetRegisteredModelVersionsModelVersionAliasArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionAliasArray) ToGetRegisteredModelVersionsModelVersionAliasArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionAliasArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionAliasArrayOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) +type GetRegisteredModelVersionsModelVersionAliasOutput struct{ *pulumi.OutputState } + +func (GetRegisteredModelVersionsModelVersionAliasOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionAlias)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetRegisteredModelVersionsModelVersionAliasOutput) ToGetRegisteredModelVersionsModelVersionAliasOutput() GetRegisteredModelVersionsModelVersionAliasOutput { + return o } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput).ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx) +func (o GetRegisteredModelVersionsModelVersionAliasOutput) ToGetRegisteredModelVersionsModelVersionAliasOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionAliasOutput { + return o } -// GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsArgs, GetJobJobSettingsSettingsTaskWebhookNotificationsPtr and GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput` via: -// -// GetJobJobSettingsSettingsTaskWebhookNotificationsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput interface { - pulumi.Input +// string with the name of alias +func (o GetRegisteredModelVersionsModelVersionAliasOutput) AliasName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionAlias) *string { return v.AliasName }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput +// associated model version +func (o GetRegisteredModelVersionsModelVersionAliasOutput) VersionNum() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionAlias) *int { return v.VersionNum }).(pulumi.IntPtrOutput) } -type getJobJobSettingsSettingsTaskWebhookNotificationsPtrType GetJobJobSettingsSettingsTaskWebhookNotificationsArgs +type GetRegisteredModelVersionsModelVersionAliasArrayOutput struct{ *pulumi.OutputState } -func GetJobJobSettingsSettingsTaskWebhookNotificationsPtr(v *GetJobJobSettingsSettingsTaskWebhookNotificationsArgs) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrInput { - return (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType)(v) +func (GetRegisteredModelVersionsModelVersionAliasArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionAlias)(nil)).Elem() } -func (*getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +func (o GetRegisteredModelVersionsModelVersionAliasArrayOutput) ToGetRegisteredModelVersionsModelVersionAliasArrayOutput() GetRegisteredModelVersionsModelVersionAliasArrayOutput { + return o } -func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetRegisteredModelVersionsModelVersionAliasArrayOutput) ToGetRegisteredModelVersionsModelVersionAliasArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionAliasArrayOutput { + return o } -func (i *getJobJobSettingsSettingsTaskWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) +func (o GetRegisteredModelVersionsModelVersionAliasArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelVersionsModelVersionAliasOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelVersionsModelVersionAlias { + return vs[0].([]GetRegisteredModelVersionsModelVersionAlias)[vs[1].(int)] + }).(GetRegisteredModelVersionsModelVersionAliasOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +type GetRegisteredModelVersionsModelVersionModelVersionDependency struct { + // list of dependencies consisting of following attributes: + Dependencies []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency `pulumi:"dependencies"` } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return o +// GetRegisteredModelVersionsModelVersionModelVersionDependencyInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs and GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyInput` via: +// +// GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs{...} +type GetRegisteredModelVersionsModelVersionModelVersionDependencyInput interface { + pulumi.Input + + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return o +type GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs struct { + // list of dependencies consisting of following attributes: + Dependencies GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayInput `pulumi:"dependencies"` } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(context.Background()) +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependency)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTaskWebhookNotifications) *GetJobJobSettingsSettingsTaskWebhookNotifications { - return &v - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +// GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyArray and GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayInput` via: +// +// GetRegisteredModelVersionsModelVersionModelVersionDependencyArray{ GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs{...} } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayInput interface { + pulumi.Input + + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) +type GetRegisteredModelVersionsModelVersionModelVersionDependencyArray []GetRegisteredModelVersionsModelVersionModelVersionDependencyInput + +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependency)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded { - return v.OnStreamingBacklogExceededs - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTaskWebhookNotifications)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependency)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsTaskWebhookNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) GetJobJobSettingsSettingsTaskWebhookNotifications { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTaskWebhookNotifications - return ret - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOutput) +// list of dependencies consisting of following attributes: +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput) Dependencies() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionModelVersionDependency) []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency { + return v.Dependencies + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} +type GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependency)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTaskWebhookNotifications) []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { - if v == nil { - return nil - } - return v.OnSuccesses - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelVersionsModelVersionModelVersionDependency { + return vs[0].([]GetRegisteredModelVersionsModelVersionModelVersionDependency)[vs[1].(int)] + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency struct { + // A function that is dependent on a SQL object: + Functions []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction `pulumi:"functions"` + // A table that is dependent on a SQL object + Tables []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable `pulumi:"tables"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs and GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs{...} +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs struct { + // A function that is dependent on a SQL object: + Functions GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayInput `pulumi:"functions"` + // A table that is dependent on a SQL object + Tables GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayInput `pulumi:"tables"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray and GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray{ GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs{...} } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededInput +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInput -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +// A function that is dependent on a SQL object: +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) Functions() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency) []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction { + return v.Functions + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +// A table that is dependent on a SQL object +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) Tables() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency) []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable { + return v.Tables + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput struct{ *pulumi.OutputState } + +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency { + return vs[0].([]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency)[vs[1].(int)] + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction struct { + // Full name of the dependent function + FunctionFullName string `pulumi:"functionFullName"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput` via: +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs and GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput interface { +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs{...} +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs struct { + // Full name of the dependent function + FunctionFullName pulumi.StringInput `pulumi:"functionFullName"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput` via: +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray and GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayInput interface { +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray{ GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs{...} } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureInput +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInput -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +// Full name of the dependent function +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput) FunctionFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction) string { + return v.FunctionFullName + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailure)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureOutput) +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction { + return vs[0].([]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction)[vs[1].(int)] + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable struct { + // Full name of the dependent table + TableFullName string `pulumi:"tableFullName"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput` via: +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs and GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput interface { +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs{...} +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs struct { + // Full name of the dependent table + TableFullName pulumi.StringInput `pulumi:"tableFullName"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput` via: +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayInput is an input type that accepts GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray and GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput values. +// You can construct a concrete instance of `GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayInput interface { +// GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray{ GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs{...} } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput + ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutputWithContext(context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartInput +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray []GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInput -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput { + return i.ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) +func (i GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +// Full name of the dependent table +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput) TableFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable) string { + return v.TableFullName + }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +type GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)(nil)).Elem() +func (GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput() GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput { +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput) ToGetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutputWithContext(ctx context.Context) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStart)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartOutput) +func (o GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable { + return vs[0].([]GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable)[vs[1].(int)] + }).(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetSchemaSchemaInfo struct { + // indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + BrowseOnly *bool `pulumi:"browseOnly"` + // the name of the catalog where the schema is. + CatalogName *string `pulumi:"catalogName"` + // the type of the parent catalog. + CatalogType *string `pulumi:"catalogType"` + // the comment attached to the volume + Comment *string `pulumi:"comment"` + // time at which this schema was created, in epoch milliseconds. + CreatedAt *int `pulumi:"createdAt"` + // username of schema creator. + CreatedBy *string `pulumi:"createdBy"` + // information about actual state of predictive optimization. + EffectivePredictiveOptimizationFlag *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` + // whether predictive optimization should be enabled for this object and objects under it. + EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` + // the two-level (fully qualified) name of the schema + FullName *string `pulumi:"fullName"` + // the unique identifier of the metastore + MetastoreId *string `pulumi:"metastoreId"` + // a fully qualified name of databricks_schema: *`catalog`.`schema`* + Name *string `pulumi:"name"` + // the identifier of the user who owns the schema + Owner *string `pulumi:"owner"` + // map of properties set on the schema + Properties map[string]string `pulumi:"properties"` + // the unique identifier of the volume + SchemaId *string `pulumi:"schemaId"` + // the storage location on the cloud. + StorageLocation *string `pulumi:"storageLocation"` + // storage root URL for managed tables within schema. + StorageRoot *string `pulumi:"storageRoot"` + // the timestamp of the last time changes were made to the schema + UpdatedAt *int `pulumi:"updatedAt"` + // the identifier of the user who updated the schema last time + UpdatedBy *string `pulumi:"updatedBy"` } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput` via: +// GetSchemaSchemaInfoInput is an input type that accepts GetSchemaSchemaInfoArgs and GetSchemaSchemaInfoOutput values. +// You can construct a concrete instance of `GetSchemaSchemaInfoInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput interface { +// GetSchemaSchemaInfoArgs{...} +type GetSchemaSchemaInfoInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput + ToGetSchemaSchemaInfoOutput() GetSchemaSchemaInfoOutput + ToGetSchemaSchemaInfoOutputWithContext(context.Context) GetSchemaSchemaInfoOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetSchemaSchemaInfoArgs struct { + // indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` + // the name of the catalog where the schema is. + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // the type of the parent catalog. + CatalogType pulumi.StringPtrInput `pulumi:"catalogType"` + // the comment attached to the volume + Comment pulumi.StringPtrInput `pulumi:"comment"` + // time at which this schema was created, in epoch milliseconds. + CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` + // username of schema creator. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // information about actual state of predictive optimization. + EffectivePredictiveOptimizationFlag GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` + // whether predictive optimization should be enabled for this object and objects under it. + EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` + // the two-level (fully qualified) name of the schema + FullName pulumi.StringPtrInput `pulumi:"fullName"` + // the unique identifier of the metastore + MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` + // a fully qualified name of databricks_schema: *`catalog`.`schema`* + Name pulumi.StringPtrInput `pulumi:"name"` + // the identifier of the user who owns the schema + Owner pulumi.StringPtrInput `pulumi:"owner"` + // map of properties set on the schema + Properties pulumi.StringMapInput `pulumi:"properties"` + // the unique identifier of the volume + SchemaId pulumi.StringPtrInput `pulumi:"schemaId"` + // the storage location on the cloud. + StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` + // storage root URL for managed tables within schema. + StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` + // the timestamp of the last time changes were made to the schema + UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` + // the identifier of the user who updated the schema last time + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (GetSchemaSchemaInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) +func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoOutput() GetSchemaSchemaInfoOutput { + return i.ToGetSchemaSchemaInfoOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoOutputWithContext(ctx context.Context) GetSchemaSchemaInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { + return i.ToGetSchemaSchemaInfoPtrOutputWithContext(context.Background()) +} + +func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoOutput).ToGetSchemaSchemaInfoPtrOutputWithContext(ctx) +} + +// GetSchemaSchemaInfoPtrInput is an input type that accepts GetSchemaSchemaInfoArgs, GetSchemaSchemaInfoPtr and GetSchemaSchemaInfoPtrOutput values. +// You can construct a concrete instance of `GetSchemaSchemaInfoPtrInput` via: // -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { +// GetSchemaSchemaInfoArgs{...} +// +// or: +// +// nil +type GetSchemaSchemaInfoPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput + ToGetSchemaSchemaInfoPtrOutputWithContext(context.Context) GetSchemaSchemaInfoPtrOutput } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededInput +type getSchemaSchemaInfoPtrType GetSchemaSchemaInfoArgs -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func GetSchemaSchemaInfoPtr(v *GetSchemaSchemaInfoArgs) GetSchemaSchemaInfoPtrInput { + return (*getSchemaSchemaInfoPtrType)(v) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) +func (*getSchemaSchemaInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaSchemaInfo)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (i *getSchemaSchemaInfoPtrType) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { + return i.ToGetSchemaSchemaInfoPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } +func (i *getSchemaSchemaInfoPtrType) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +type GetSchemaSchemaInfoOutput struct{ *pulumi.OutputState } + +func (GetSchemaSchemaInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaInfo)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoOutput() GetSchemaSchemaInfoOutput { return o } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoOutputWithContext(ctx context.Context) GetSchemaSchemaInfoOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { + return o.ToGetSchemaSchemaInfoPtrOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } +func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaSchemaInfo) *GetSchemaSchemaInfo { + return &v + }).(GetSchemaSchemaInfoPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +// indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. +func (o GetSchemaSchemaInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o +// the name of the catalog where the schema is. +func (o GetSchemaSchemaInfoOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o +// the type of the parent catalog. +func (o GetSchemaSchemaInfoOutput) CatalogType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.CatalogType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededOutput) +// the comment attached to the volume +func (o GetSchemaSchemaInfoOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +// time at which this schema was created, in epoch milliseconds. +func (o GetSchemaSchemaInfoOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput` via: -// -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput interface { - pulumi.Input +// username of schema creator. +func (o GetSchemaSchemaInfoOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput +// information about actual state of predictive optimization. +func (o GetSchemaSchemaInfoOutput) EffectivePredictiveOptimizationFlag() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { + return v.EffectivePredictiveOptimizationFlag + }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +// whether predictive optimization should be enabled for this object and objects under it. +func (o GetSchemaSchemaInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) +} + +// the two-level (fully qualified) name of the schema +func (o GetSchemaSchemaInfoOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) +} + +// the unique identifier of the metastore +func (o GetSchemaSchemaInfoOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +} + +// a fully qualified name of databricks_schema: *`catalog`.`schema`* +func (o GetSchemaSchemaInfoOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// the identifier of the user who owns the schema +func (o GetSchemaSchemaInfoOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +} + +// map of properties set on the schema +func (o GetSchemaSchemaInfoOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +} + +// the unique identifier of the volume +func (o GetSchemaSchemaInfoOutput) SchemaId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.SchemaId }).(pulumi.StringPtrOutput) +} + +// the storage location on the cloud. +func (o GetSchemaSchemaInfoOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) +} + +// storage root URL for managed tables within schema. +func (o GetSchemaSchemaInfoOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) +} + +// the timestamp of the last time changes were made to the schema +func (o GetSchemaSchemaInfoOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +} + +// the identifier of the user who updated the schema last time +func (o GetSchemaSchemaInfoOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +type GetSchemaSchemaInfoPtrOutput struct{ *pulumi.OutputState } + +func (GetSchemaSchemaInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaSchemaInfo)(nil)).Elem() +} + +func (o GetSchemaSchemaInfoPtrOutput) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { + return o +} + +func (o GetSchemaSchemaInfoPtrOutput) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { + return o +} + +func (o GetSchemaSchemaInfoPtrOutput) Elem() GetSchemaSchemaInfoOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) GetSchemaSchemaInfo { + if v != nil { + return *v + } + var ret GetSchemaSchemaInfo + return ret + }).(GetSchemaSchemaInfoOutput) } -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +// indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. +func (o GetSchemaSchemaInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *bool { + if v == nil { + return nil + } + return v.BrowseOnly + }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +// the name of the catalog where the schema is. +func (o GetSchemaSchemaInfoPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) +// the type of the parent catalog. +func (o GetSchemaSchemaInfoPtrOutput) CatalogType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.CatalogType + }).(pulumi.StringPtrOutput) } -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput` via: -// -// GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs{...} } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayInput interface { - pulumi.Input - - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput - ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput +// the comment attached to the volume +func (o GetSchemaSchemaInfoPtrOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.Comment + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessInput +// time at which this schema was created, in epoch milliseconds. +func (o GetSchemaSchemaInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *int { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.IntPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +// username of schema creator. +func (o GetSchemaSchemaInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return i.ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +// information about actual state of predictive optimization. +func (o GetSchemaSchemaInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { + if v == nil { + return nil + } + return v.EffectivePredictiveOptimizationFlag + }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (i GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) +// whether predictive optimization should be enabled for this object and objects under it. +func (o GetSchemaSchemaInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.EnablePredictiveOptimization + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +// the two-level (fully qualified) name of the schema +func (o GetSchemaSchemaInfoPtrOutput) FullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.FullName + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +// the unique identifier of the metastore +func (o GetSchemaSchemaInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.MetastoreId + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return o +// a fully qualified name of databricks_schema: *`catalog`.`schema`* +func (o GetSchemaSchemaInfoPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return o +// the identifier of the user who owns the schema +func (o GetSchemaSchemaInfoPtrOutput) Owner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.Owner + }).(pulumi.StringPtrOutput) } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +// map of properties set on the schema +func (o GetSchemaSchemaInfoPtrOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) map[string]string { + if v == nil { + return nil + } + return v.Properties + }).(pulumi.StringMapOutput) } -type GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +// the unique identifier of the volume +func (o GetSchemaSchemaInfoPtrOutput) SchemaId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.SchemaId + }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)(nil)).Elem() +// the storage location on the cloud. +func (o GetSchemaSchemaInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.StorageLocation + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o +// storage root URL for managed tables within schema. +func (o GetSchemaSchemaInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.StorageRoot + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput { - return o +// the timestamp of the last time changes were made to the schema +func (o GetSchemaSchemaInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *int { + if v == nil { + return nil + } + return v.UpdatedAt + }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess { - return vs[0].([]GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessOutput) +// the identifier of the user who updated the schema last time +func (o GetSchemaSchemaInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTrigger struct { - FileArrival *GetJobJobSettingsSettingsTriggerFileArrival `pulumi:"fileArrival"` - PauseStatus *string `pulumi:"pauseStatus"` - Periodic *GetJobJobSettingsSettingsTriggerPeriodic `pulumi:"periodic"` - TableUpdate *GetJobJobSettingsSettingsTriggerTableUpdate `pulumi:"tableUpdate"` +type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag struct { + InheritedFromName *string `pulumi:"inheritedFromName"` + InheritedFromType *string `pulumi:"inheritedFromType"` + Value string `pulumi:"value"` } -// GetJobJobSettingsSettingsTriggerInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs and GetJobJobSettingsSettingsTriggerOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerInput` via: +// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs and GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput values. +// You can construct a concrete instance of `GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput` via: // -// GetJobJobSettingsSettingsTriggerArgs{...} -type GetJobJobSettingsSettingsTriggerInput interface { +// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs{...} +type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput - ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerOutput + ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput + ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput } -type GetJobJobSettingsSettingsTriggerArgs struct { - FileArrival GetJobJobSettingsSettingsTriggerFileArrivalPtrInput `pulumi:"fileArrival"` - PauseStatus pulumi.StringPtrInput `pulumi:"pauseStatus"` - Periodic GetJobJobSettingsSettingsTriggerPeriodicPtrInput `pulumi:"periodic"` - TableUpdate GetJobJobSettingsSettingsTriggerTableUpdatePtrInput `pulumi:"tableUpdate"` +type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs struct { + InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` + InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetJobJobSettingsSettingsTriggerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { - return i.ToGetJobJobSettingsSettingsTriggerOutputWithContext(context.Background()) +func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { + return i.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput) +func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerArgs) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerOutput).ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx) +func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput).ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) } -// GetJobJobSettingsSettingsTriggerPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerArgs, GetJobJobSettingsSettingsTriggerPtr and GetJobJobSettingsSettingsTriggerPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPtrInput` via: +// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs, GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtr and GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput values. +// You can construct a concrete instance of `GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput` via: // -// GetJobJobSettingsSettingsTriggerArgs{...} +// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs{...} // // or: // // nil -type GetJobJobSettingsSettingsTriggerPtrInput interface { +type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput - ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPtrOutput + ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput + ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput } -type getJobJobSettingsSettingsTriggerPtrType GetJobJobSettingsSettingsTriggerArgs +type getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs -func GetJobJobSettingsSettingsTriggerPtr(v *GetJobJobSettingsSettingsTriggerArgs) GetJobJobSettingsSettingsTriggerPtrInput { - return (*getJobJobSettingsSettingsTriggerPtrType)(v) +func GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtr(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput { + return (*getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType)(v) } -func (*getJobJobSettingsSettingsTriggerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (*getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +func (i *getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return i.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerPtrType) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPtrOutput) +func (i *getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) } -type GetJobJobSettingsSettingsTriggerOutput struct{ *pulumi.OutputState } +type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutput() GetJobJobSettingsSettingsTriggerOutput { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerOutput { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { return o } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(context.Background()) +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTriggerOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTrigger { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { return &v - }).(GetJobJobSettingsSettingsTriggerPtrOutput) -} - -func (o GetJobJobSettingsSettingsTriggerOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { - return v.FileArrival - }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) + }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *string { return v.PauseStatus }).(pulumi.StringPtrOutput) +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) Periodic() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerPeriodic { return v.Periodic }).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { - return v.TableUpdate - }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsTriggerPtrOutput struct{ *pulumi.OutputState } +type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTrigger)(nil)).Elem() +func (GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutput() GetJobJobSettingsSettingsTriggerPtrOutput { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) ToGetJobJobSettingsSettingsTriggerPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPtrOutput { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) Elem() GetJobJobSettingsSettingsTriggerOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) GetJobJobSettingsSettingsTrigger { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { if v != nil { return *v } - var ret GetJobJobSettingsSettingsTrigger + var ret GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag return ret - }).(GetJobJobSettingsSettingsTriggerOutput) -} - -func (o GetJobJobSettingsSettingsTriggerPtrOutput) FileArrival() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerFileArrival { - if v == nil { - return nil - } - return v.FileArrival - }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) + }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) PauseStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *string { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.PauseStatus + return v.InheritedFromName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) Periodic() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerPeriodic { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.Periodic - }).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) + return v.InheritedFromType + }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerPtrOutput) TableUpdate() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTrigger) *GetJobJobSettingsSettingsTriggerTableUpdate { +func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { if v == nil { return nil } - return v.TableUpdate - }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) + return &v.Value + }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerFileArrival struct { - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - Url string `pulumi:"url"` - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +type GetServingEndpointsEndpoint struct { + // A block with AI Gateway configuration for the serving endpoint. + AiGateways []GetServingEndpointsEndpointAiGateway `pulumi:"aiGateways"` + // The model serving endpoint configuration. + Configs []GetServingEndpointsEndpointConfig `pulumi:"configs"` + CreationTimestamp *int `pulumi:"creationTimestamp"` + Creator *string `pulumi:"creator"` + Id *string `pulumi:"id"` + LastUpdatedTimestamp *int `pulumi:"lastUpdatedTimestamp"` + // The name of the model serving endpoint. + Name *string `pulumi:"name"` + States []GetServingEndpointsEndpointState `pulumi:"states"` + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags []GetServingEndpointsEndpointTag `pulumi:"tags"` + Task *string `pulumi:"task"` } -// GetJobJobSettingsSettingsTriggerFileArrivalInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs and GetJobJobSettingsSettingsTriggerFileArrivalOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalInput` via: +// GetServingEndpointsEndpointInput is an input type that accepts GetServingEndpointsEndpointArgs and GetServingEndpointsEndpointOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointInput` via: // -// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} -type GetJobJobSettingsSettingsTriggerFileArrivalInput interface { +// GetServingEndpointsEndpointArgs{...} +type GetServingEndpointsEndpointInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput - ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput -} - -type GetJobJobSettingsSettingsTriggerFileArrivalArgs struct { - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - Url pulumi.StringInput `pulumi:"url"` - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` -} - -func (GetJobJobSettingsSettingsTriggerFileArrivalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() + ToGetServingEndpointsEndpointOutput() GetServingEndpointsEndpointOutput + ToGetServingEndpointsEndpointOutputWithContext(context.Context) GetServingEndpointsEndpointOutput } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return i.ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(context.Background()) +type GetServingEndpointsEndpointArgs struct { + // A block with AI Gateway configuration for the serving endpoint. + AiGateways GetServingEndpointsEndpointAiGatewayArrayInput `pulumi:"aiGateways"` + // The model serving endpoint configuration. + Configs GetServingEndpointsEndpointConfigArrayInput `pulumi:"configs"` + CreationTimestamp pulumi.IntPtrInput `pulumi:"creationTimestamp"` + Creator pulumi.StringPtrInput `pulumi:"creator"` + Id pulumi.StringPtrInput `pulumi:"id"` + LastUpdatedTimestamp pulumi.IntPtrInput `pulumi:"lastUpdatedTimestamp"` + // The name of the model serving endpoint. + Name pulumi.StringPtrInput `pulumi:"name"` + States GetServingEndpointsEndpointStateArrayInput `pulumi:"states"` + // Tags to be attached to the serving endpoint and automatically propagated to billing logs. + Tags GetServingEndpointsEndpointTagArrayInput `pulumi:"tags"` + Task pulumi.StringPtrInput `pulumi:"task"` } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) +func (GetServingEndpointsEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpoint)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointArgs) ToGetServingEndpointsEndpointOutput() GetServingEndpointsEndpointOutput { + return i.ToGetServingEndpointsEndpointOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerFileArrivalArgs) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalOutput).ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx) +func (i GetServingEndpointsEndpointArgs) ToGetServingEndpointsEndpointOutputWithContext(ctx context.Context) GetServingEndpointsEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointOutput) } -// GetJobJobSettingsSettingsTriggerFileArrivalPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerFileArrivalArgs, GetJobJobSettingsSettingsTriggerFileArrivalPtr and GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerFileArrivalPtrInput` via: -// -// GetJobJobSettingsSettingsTriggerFileArrivalArgs{...} -// -// or: +// GetServingEndpointsEndpointArrayInput is an input type that accepts GetServingEndpointsEndpointArray and GetServingEndpointsEndpointArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTriggerFileArrivalPtrInput interface { +// GetServingEndpointsEndpointArray{ GetServingEndpointsEndpointArgs{...} } +type GetServingEndpointsEndpointArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput - ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput + ToGetServingEndpointsEndpointArrayOutput() GetServingEndpointsEndpointArrayOutput + ToGetServingEndpointsEndpointArrayOutputWithContext(context.Context) GetServingEndpointsEndpointArrayOutput } -type getJobJobSettingsSettingsTriggerFileArrivalPtrType GetJobJobSettingsSettingsTriggerFileArrivalArgs - -func GetJobJobSettingsSettingsTriggerFileArrivalPtr(v *GetJobJobSettingsSettingsTriggerFileArrivalArgs) GetJobJobSettingsSettingsTriggerFileArrivalPtrInput { - return (*getJobJobSettingsSettingsTriggerFileArrivalPtrType)(v) -} +type GetServingEndpointsEndpointArray []GetServingEndpointsEndpointInput -func (*getJobJobSettingsSettingsTriggerFileArrivalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (GetServingEndpointsEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpoint)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointArray) ToGetServingEndpointsEndpointArrayOutput() GetServingEndpointsEndpointArrayOutput { + return i.ToGetServingEndpointsEndpointArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerFileArrivalPtrType) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) +func (i GetServingEndpointsEndpointArray) ToGetServingEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointArrayOutput) } -type GetJobJobSettingsSettingsTriggerFileArrivalOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerFileArrivalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (GetServingEndpointsEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpoint)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutput() GetJobJobSettingsSettingsTriggerFileArrivalOutput { +func (o GetServingEndpointsEndpointOutput) ToGetServingEndpointsEndpointOutput() GetServingEndpointsEndpointOutput { return o } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalOutput { +func (o GetServingEndpointsEndpointOutput) ToGetServingEndpointsEndpointOutputWithContext(ctx context.Context) GetServingEndpointsEndpointOutput { return o } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(context.Background()) +// A block with AI Gateway configuration for the serving endpoint. +func (o GetServingEndpointsEndpointOutput) AiGateways() GetServingEndpointsEndpointAiGatewayArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) []GetServingEndpointsEndpointAiGateway { return v.AiGateways }).(GetServingEndpointsEndpointAiGatewayArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerFileArrival) *GetJobJobSettingsSettingsTriggerFileArrival { - return &v - }).(GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) +// The model serving endpoint configuration. +func (o GetServingEndpointsEndpointOutput) Configs() GetServingEndpointsEndpointConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) []GetServingEndpointsEndpointConfig { return v.Configs }).(GetServingEndpointsEndpointConfigArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointOutput) CreationTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) *int { return v.CreationTimestamp }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) string { return v.Url }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointOutput) Creator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) *string { return v.Creator }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerFileArrival) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) *string { return v.Id }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput struct{ *pulumi.OutputState } - -func (GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerFileArrival)(nil)).Elem() +func (o GetServingEndpointsEndpointOutput) LastUpdatedTimestamp() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) *int { return v.LastUpdatedTimestamp }).(pulumi.IntPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutput() GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o +// The name of the model serving endpoint. +func (o GetServingEndpointsEndpointOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) ToGetJobJobSettingsSettingsTriggerFileArrivalPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput { - return o +func (o GetServingEndpointsEndpointOutput) States() GetServingEndpointsEndpointStateArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) []GetServingEndpointsEndpointState { return v.States }).(GetServingEndpointsEndpointStateArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Elem() GetJobJobSettingsSettingsTriggerFileArrivalOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) GetJobJobSettingsSettingsTriggerFileArrival { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTriggerFileArrival - return ret - }).(GetJobJobSettingsSettingsTriggerFileArrivalOutput) +// Tags to be attached to the serving endpoint and automatically propagated to billing logs. +func (o GetServingEndpointsEndpointOutput) Tags() GetServingEndpointsEndpointTagArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) []GetServingEndpointsEndpointTag { return v.Tags }).(GetServingEndpointsEndpointTagArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { - if v == nil { - return nil - } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointOutput) Task() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpoint) *string { return v.Task }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) -} +type GetServingEndpointsEndpointArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsTriggerFileArrivalPtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerFileArrival) *int { - if v == nil { - return nil - } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) +func (GetServingEndpointsEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpoint)(nil)).Elem() } -type GetJobJobSettingsSettingsTriggerPeriodic struct { - Interval int `pulumi:"interval"` - Unit string `pulumi:"unit"` +func (o GetServingEndpointsEndpointArrayOutput) ToGetServingEndpointsEndpointArrayOutput() GetServingEndpointsEndpointArrayOutput { + return o } -// GetJobJobSettingsSettingsTriggerPeriodicInput is an input type that accepts GetJobJobSettingsSettingsTriggerPeriodicArgs and GetJobJobSettingsSettingsTriggerPeriodicOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPeriodicInput` via: -// -// GetJobJobSettingsSettingsTriggerPeriodicArgs{...} -type GetJobJobSettingsSettingsTriggerPeriodicInput interface { - pulumi.Input +func (o GetServingEndpointsEndpointArrayOutput) ToGetServingEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointArrayOutput { + return o +} - ToGetJobJobSettingsSettingsTriggerPeriodicOutput() GetJobJobSettingsSettingsTriggerPeriodicOutput - ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPeriodicOutput +func (o GetServingEndpointsEndpointArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpoint { + return vs[0].([]GetServingEndpointsEndpoint)[vs[1].(int)] + }).(GetServingEndpointsEndpointOutput) } -type GetJobJobSettingsSettingsTriggerPeriodicArgs struct { - Interval pulumi.IntInput `pulumi:"interval"` - Unit pulumi.StringInput `pulumi:"unit"` +type GetServingEndpointsEndpointAiGateway struct { + Guardrails []GetServingEndpointsEndpointAiGatewayGuardrail `pulumi:"guardrails"` + InferenceTableConfigs []GetServingEndpointsEndpointAiGatewayInferenceTableConfig `pulumi:"inferenceTableConfigs"` + // A list of rate limit blocks to be applied to the serving endpoint. + RateLimits []GetServingEndpointsEndpointAiGatewayRateLimit `pulumi:"rateLimits"` + UsageTrackingConfigs []GetServingEndpointsEndpointAiGatewayUsageTrackingConfig `pulumi:"usageTrackingConfigs"` } -func (GetJobJobSettingsSettingsTriggerPeriodicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() +// GetServingEndpointsEndpointAiGatewayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayArgs and GetServingEndpointsEndpointAiGatewayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayInput` via: +// +// GetServingEndpointsEndpointAiGatewayArgs{...} +type GetServingEndpointsEndpointAiGatewayInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointAiGatewayOutput() GetServingEndpointsEndpointAiGatewayOutput + ToGetServingEndpointsEndpointAiGatewayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayOutput } -func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicOutput() GetJobJobSettingsSettingsTriggerPeriodicOutput { - return i.ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(context.Background()) +type GetServingEndpointsEndpointAiGatewayArgs struct { + Guardrails GetServingEndpointsEndpointAiGatewayGuardrailArrayInput `pulumi:"guardrails"` + InferenceTableConfigs GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayInput `pulumi:"inferenceTableConfigs"` + // A list of rate limit blocks to be applied to the serving endpoint. + RateLimits GetServingEndpointsEndpointAiGatewayRateLimitArrayInput `pulumi:"rateLimits"` + UsageTrackingConfigs GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayInput `pulumi:"usageTrackingConfigs"` } -func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPeriodicOutput) +func (GetServingEndpointsEndpointAiGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGateway)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayArgs) ToGetServingEndpointsEndpointAiGatewayOutput() GetServingEndpointsEndpointAiGatewayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerPeriodicArgs) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPeriodicOutput).ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx) +func (i GetServingEndpointsEndpointAiGatewayArgs) ToGetServingEndpointsEndpointAiGatewayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayOutput) } -// GetJobJobSettingsSettingsTriggerPeriodicPtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerPeriodicArgs, GetJobJobSettingsSettingsTriggerPeriodicPtr and GetJobJobSettingsSettingsTriggerPeriodicPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerPeriodicPtrInput` via: -// -// GetJobJobSettingsSettingsTriggerPeriodicArgs{...} -// -// or: +// GetServingEndpointsEndpointAiGatewayArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayArray and GetServingEndpointsEndpointAiGatewayArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayArrayInput` via: // -// nil -type GetJobJobSettingsSettingsTriggerPeriodicPtrInput interface { +// GetServingEndpointsEndpointAiGatewayArray{ GetServingEndpointsEndpointAiGatewayArgs{...} } +type GetServingEndpointsEndpointAiGatewayArrayInput interface { pulumi.Input - - ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput - ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput -} - -type getJobJobSettingsSettingsTriggerPeriodicPtrType GetJobJobSettingsSettingsTriggerPeriodicArgs - -func GetJobJobSettingsSettingsTriggerPeriodicPtr(v *GetJobJobSettingsSettingsTriggerPeriodicArgs) GetJobJobSettingsSettingsTriggerPeriodicPtrInput { - return (*getJobJobSettingsSettingsTriggerPeriodicPtrType)(v) + + ToGetServingEndpointsEndpointAiGatewayArrayOutput() GetServingEndpointsEndpointAiGatewayArrayOutput + ToGetServingEndpointsEndpointAiGatewayArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayArrayOutput } -func (*getJobJobSettingsSettingsTriggerPeriodicPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() +type GetServingEndpointsEndpointAiGatewayArray []GetServingEndpointsEndpointAiGatewayInput + +func (GetServingEndpointsEndpointAiGatewayArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGateway)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerPeriodicPtrType) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayArray) ToGetServingEndpointsEndpointAiGatewayArrayOutput() GetServingEndpointsEndpointAiGatewayArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerPeriodicPtrType) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) +func (i GetServingEndpointsEndpointAiGatewayArray) ToGetServingEndpointsEndpointAiGatewayArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayArrayOutput) } -type GetJobJobSettingsSettingsTriggerPeriodicOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerPeriodicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGateway)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicOutput() GetJobJobSettingsSettingsTriggerPeriodicOutput { +func (o GetServingEndpointsEndpointAiGatewayOutput) ToGetServingEndpointsEndpointAiGatewayOutput() GetServingEndpointsEndpointAiGatewayOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicOutput { +func (o GetServingEndpointsEndpointAiGatewayOutput) ToGetServingEndpointsEndpointAiGatewayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointAiGatewayOutput) Guardrails() GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGateway) []GetServingEndpointsEndpointAiGatewayGuardrail { + return v.Guardrails + }).(GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerPeriodic) *GetJobJobSettingsSettingsTriggerPeriodic { - return &v - }).(GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) +func (o GetServingEndpointsEndpointAiGatewayOutput) InferenceTableConfigs() GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGateway) []GetServingEndpointsEndpointAiGatewayInferenceTableConfig { + return v.InferenceTableConfigs + }).(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) Interval() pulumi.IntOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerPeriodic) int { return v.Interval }).(pulumi.IntOutput) +// A list of rate limit blocks to be applied to the serving endpoint. +func (o GetServingEndpointsEndpointAiGatewayOutput) RateLimits() GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGateway) []GetServingEndpointsEndpointAiGatewayRateLimit { + return v.RateLimits + }).(GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerPeriodicOutput) Unit() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerPeriodic) string { return v.Unit }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointAiGatewayOutput) UsageTrackingConfigs() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGateway) []GetServingEndpointsEndpointAiGatewayUsageTrackingConfig { + return v.UsageTrackingConfigs + }).(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput) } -type GetJobJobSettingsSettingsTriggerPeriodicPtrOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerPeriodic)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGateway)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutput() GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { +func (o GetServingEndpointsEndpointAiGatewayArrayOutput) ToGetServingEndpointsEndpointAiGatewayArrayOutput() GetServingEndpointsEndpointAiGatewayArrayOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) ToGetJobJobSettingsSettingsTriggerPeriodicPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerPeriodicPtrOutput { +func (o GetServingEndpointsEndpointAiGatewayArrayOutput) ToGetServingEndpointsEndpointAiGatewayArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayArrayOutput { return o } -func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) Elem() GetJobJobSettingsSettingsTriggerPeriodicOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerPeriodic) GetJobJobSettingsSettingsTriggerPeriodic { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTriggerPeriodic - return ret - }).(GetJobJobSettingsSettingsTriggerPeriodicOutput) -} - -func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerPeriodic) *int { - if v == nil { - return nil - } - return &v.Interval - }).(pulumi.IntPtrOutput) -} - -func (o GetJobJobSettingsSettingsTriggerPeriodicPtrOutput) Unit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerPeriodic) *string { - if v == nil { - return nil - } - return &v.Unit - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointAiGatewayArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGateway { + return vs[0].([]GetServingEndpointsEndpointAiGateway)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayOutput) } -type GetJobJobSettingsSettingsTriggerTableUpdate struct { - Condition *string `pulumi:"condition"` - MinTimeBetweenTriggersSeconds *int `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames []string `pulumi:"tableNames"` - WaitAfterLastChangeSeconds *int `pulumi:"waitAfterLastChangeSeconds"` +type GetServingEndpointsEndpointAiGatewayGuardrail struct { + InputProperties []GetServingEndpointsEndpointAiGatewayGuardrailInputProperty `pulumi:"inputProperties"` + Outputs []GetServingEndpointsEndpointAiGatewayGuardrailOutputType `pulumi:"outputs"` } -// GetJobJobSettingsSettingsTriggerTableUpdateInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs and GetJobJobSettingsSettingsTriggerTableUpdateOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdateInput` via: +// GetServingEndpointsEndpointAiGatewayGuardrailInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailArgs and GetServingEndpointsEndpointAiGatewayGuardrailOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailInput` via: // -// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} -type GetJobJobSettingsSettingsTriggerTableUpdateInput interface { +// GetServingEndpointsEndpointAiGatewayGuardrailArgs{...} +type GetServingEndpointsEndpointAiGatewayGuardrailInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput - ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput -} - -type GetJobJobSettingsSettingsTriggerTableUpdateArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` - MinTimeBetweenTriggersSeconds pulumi.IntPtrInput `pulumi:"minTimeBetweenTriggersSeconds"` - TableNames pulumi.StringArrayInput `pulumi:"tableNames"` - WaitAfterLastChangeSeconds pulumi.IntPtrInput `pulumi:"waitAfterLastChangeSeconds"` -} - -func (GetJobJobSettingsSettingsTriggerTableUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() + ToGetServingEndpointsEndpointAiGatewayGuardrailOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutput } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { - return i.ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(context.Background()) +type GetServingEndpointsEndpointAiGatewayGuardrailArgs struct { + InputProperties GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayInput `pulumi:"inputProperties"` + Outputs GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayInput `pulumi:"outputs"` } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) +func (GetServingEndpointsEndpointAiGatewayGuardrailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrail)(nil)).Elem() } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsTriggerTableUpdateArgs) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdateOutput).ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx) +func (i GetServingEndpointsEndpointAiGatewayGuardrailArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailOutput) } -// GetJobJobSettingsSettingsTriggerTableUpdatePtrInput is an input type that accepts GetJobJobSettingsSettingsTriggerTableUpdateArgs, GetJobJobSettingsSettingsTriggerTableUpdatePtr and GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsTriggerTableUpdatePtrInput` via: -// -// GetJobJobSettingsSettingsTriggerTableUpdateArgs{...} +// GetServingEndpointsEndpointAiGatewayGuardrailArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailArray and GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailArrayInput` via: // -// or: -// -// nil -type GetJobJobSettingsSettingsTriggerTableUpdatePtrInput interface { +// GetServingEndpointsEndpointAiGatewayGuardrailArray{ GetServingEndpointsEndpointAiGatewayGuardrailArgs{...} } +type GetServingEndpointsEndpointAiGatewayGuardrailArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput - ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput } -type getJobJobSettingsSettingsTriggerTableUpdatePtrType GetJobJobSettingsSettingsTriggerTableUpdateArgs - -func GetJobJobSettingsSettingsTriggerTableUpdatePtr(v *GetJobJobSettingsSettingsTriggerTableUpdateArgs) GetJobJobSettingsSettingsTriggerTableUpdatePtrInput { - return (*getJobJobSettingsSettingsTriggerTableUpdatePtrType)(v) -} +type GetServingEndpointsEndpointAiGatewayGuardrailArray []GetServingEndpointsEndpointAiGatewayGuardrailInput -func (*getJobJobSettingsSettingsTriggerTableUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrail)(nil)).Elem() } -func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return i.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailArray) ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutputWithContext(context.Background()) } -func (i *getJobJobSettingsSettingsTriggerTableUpdatePtrType) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailArray) ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput) } -type GetJobJobSettingsSettingsTriggerTableUpdateOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayGuardrailOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsTriggerTableUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrail)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutput() GetJobJobSettingsSettingsTriggerTableUpdateOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutput { return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdateOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdateOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutput { return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutput) InputProperties() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrail) []GetServingEndpointsEndpointAiGatewayGuardrailInputProperty { + return v.InputProperties + }).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsTriggerTableUpdate) *GetJobJobSettingsSettingsTriggerTableUpdate { - return &v - }).(GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutput) Outputs() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrail) []GetServingEndpointsEndpointAiGatewayGuardrailOutputType { + return v.Outputs + }).(GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *string { return v.Condition }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrail)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.MinTimeBetweenTriggersSeconds }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) []string { return v.TableNames }).(pulumi.StringArrayOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput { + return o } -func (o GetJobJobSettingsSettingsTriggerTableUpdateOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsTriggerTableUpdate) *int { return v.WaitAfterLastChangeSeconds }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayGuardrailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayGuardrail { + return vs[0].([]GetServingEndpointsEndpointAiGatewayGuardrail)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayGuardrailOutput) } -type GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayGuardrailInputProperty struct { + InvalidKeywords []string `pulumi:"invalidKeywords"` + Piis []GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii `pulumi:"piis"` + Safety *bool `pulumi:"safety"` + ValidTopics []string `pulumi:"validTopics"` +} -func (GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsTriggerTableUpdate)(nil)).Elem() +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs and GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInput` via: +// +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs{...} +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutput() GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs struct { + InvalidKeywords pulumi.StringArrayInput `pulumi:"invalidKeywords"` + Piis GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayInput `pulumi:"piis"` + Safety pulumi.BoolPtrInput `pulumi:"safety"` + ValidTopics pulumi.StringArrayInput `pulumi:"validTopics"` } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) ToGetJobJobSettingsSettingsTriggerTableUpdatePtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput { - return o +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputProperty)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Elem() GetJobJobSettingsSettingsTriggerTableUpdateOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) GetJobJobSettingsSettingsTriggerTableUpdate { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsTriggerTableUpdate - return ret - }).(GetJobJobSettingsSettingsTriggerTableUpdateOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *string { - if v == nil { - return nil - } - return v.Condition - }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) MinTimeBetweenTriggersSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { - if v == nil { - return nil - } - return v.MinTimeBetweenTriggersSeconds - }).(pulumi.IntPtrOutput) +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray and GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayInput` via: +// +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray{ GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs{...} } +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) TableNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) []string { - if v == nil { - return nil - } - return v.TableNames - }).(pulumi.StringArrayOutput) +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray []GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInput + +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailInputProperty)(nil)).Elem() } -func (o GetJobJobSettingsSettingsTriggerTableUpdatePtrOutput) WaitAfterLastChangeSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsTriggerTableUpdate) *int { - if v == nil { - return nil - } - return v.WaitAfterLastChangeSeconds - }).(pulumi.IntPtrOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutputWithContext(context.Background()) } -type GetJobJobSettingsSettingsWebhookNotifications struct { - OnDurationWarningThresholdExceededs []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures []GetJobJobSettingsSettingsWebhookNotificationsOnFailure `pulumi:"onFailures"` - OnStarts []GetJobJobSettingsSettingsWebhookNotificationsOnStart `pulumi:"onStarts"` - OnStreamingBacklogExceededs []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess `pulumi:"onSuccesses"` +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs and GetJobJobSettingsSettingsWebhookNotificationsOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsInput` via: -// -// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsInput interface { - pulumi.Input +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputProperty)(nil)).Elem() } -type GetJobJobSettingsSettingsWebhookNotificationsArgs struct { - OnDurationWarningThresholdExceededs GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput `pulumi:"onDurationWarningThresholdExceededs"` - OnFailures GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput `pulumi:"onFailures"` - OnStarts GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput `pulumi:"onStarts"` - OnStreamingBacklogExceededs GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput `pulumi:"onStreamingBacklogExceededs"` - OnSuccesses GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput `pulumi:"onSuccesses"` +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput { + return o } -func (GetJobJobSettingsSettingsWebhookNotificationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput { + return o } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) InvalidKeywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailInputProperty) []string { return v.InvalidKeywords }).(pulumi.StringArrayOutput) } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) Piis() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailInputProperty) []GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii { + return v.Piis + }).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput) } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) Safety() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailInputProperty) *bool { return v.Safety }).(pulumi.BoolPtrOutput) } -func (i GetJobJobSettingsSettingsWebhookNotificationsArgs) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOutput).ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) ValidTopics() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailInputProperty) []string { return v.ValidTopics }).(pulumi.StringArrayOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsPtrInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsArgs, GetJobJobSettingsSettingsWebhookNotificationsPtr and GetJobJobSettingsSettingsWebhookNotificationsPtrOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsPtrInput` via: -// -// GetJobJobSettingsSettingsWebhookNotificationsArgs{...} -// -// or: -// -// nil -type GetJobJobSettingsSettingsWebhookNotificationsPtrInput interface { - pulumi.Input +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput struct{ *pulumi.OutputState } - ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput - ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailInputProperty)(nil)).Elem() } -type getJobJobSettingsSettingsWebhookNotificationsPtrType GetJobJobSettingsSettingsWebhookNotificationsArgs - -func GetJobJobSettingsSettingsWebhookNotificationsPtr(v *GetJobJobSettingsSettingsWebhookNotificationsArgs) GetJobJobSettingsSettingsWebhookNotificationsPtrInput { - return (*getJobJobSettingsSettingsWebhookNotificationsPtrType)(v) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput { + return o } -func (*getJobJobSettingsSettingsWebhookNotificationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput { + return o } -func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayGuardrailInputProperty { + return vs[0].([]GetServingEndpointsEndpointAiGatewayGuardrailInputProperty)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput) } -func (i *getJobJobSettingsSettingsWebhookNotificationsPtrType) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii struct { + Behavior string `pulumi:"behavior"` } -type GetJobJobSettingsSettingsWebhookNotificationsOutput struct{ *pulumi.OutputState } +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs and GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInput` via: +// +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs{...} +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInput interface { + pulumi.Input -func (GetJobJobSettingsSettingsWebhookNotificationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutput() GetJobJobSettingsSettingsWebhookNotificationsOutput { - return o +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs struct { + Behavior pulumi.StringInput `pulumi:"behavior"` } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOutput { - return o +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetJobJobSettingsSettingsWebhookNotifications) *GetJobJobSettingsSettingsWebhookNotifications { - return &v - }).(GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray and GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayInput` via: +// +// GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray{ GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs{...} } +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayInput interface { + pulumi.Input -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { - return v.OnFailures - }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { - return v.OnStarts - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray []GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInput + +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded { - return v.OnStreamingBacklogExceededs - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutputWithContext(context.Background()) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { - return v.OnSuccesses - }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsPtrOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetJobJobSettingsSettingsWebhookNotifications)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutput() GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) ToGetJobJobSettingsSettingsWebhookNotificationsPtrOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsPtrOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) Elem() GetJobJobSettingsSettingsWebhookNotificationsOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) GetJobJobSettingsSettingsWebhookNotifications { - if v != nil { - return *v - } - var ret GetJobJobSettingsSettingsWebhookNotifications - return ret - }).(GetJobJobSettingsSettingsWebhookNotificationsOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput) Behavior() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii) string { return v.Behavior }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnDurationWarningThresholdExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { - if v == nil { - return nil - } - return v.OnDurationWarningThresholdExceededs - }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) -} +type GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput struct{ *pulumi.OutputState } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnFailures() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnFailure { - if v == nil { - return nil - } - return v.OnFailures - }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) +func (GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnStarts() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStart { - if v == nil { - return nil - } - return v.OnStarts - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput { + return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnStreamingBacklogExceededs() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded { - if v == nil { - return nil - } - return v.OnStreamingBacklogExceededs - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput { + return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsPtrOutput) OnSuccesses() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return o.ApplyT(func(v *GetJobJobSettingsSettingsWebhookNotifications) []GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { - if v == nil { - return nil - } - return v.OnSuccesses - }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii { + return vs[0].([]GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayGuardrailOutputType struct { + InvalidKeywords []string `pulumi:"invalidKeywords"` + Piis []GetServingEndpointsEndpointAiGatewayGuardrailOutputPii `pulumi:"piis"` + Safety *bool `pulumi:"safety"` + ValidTopics []string `pulumi:"validTopics"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput` via: +// GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs and GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput interface { +// GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs{...} +type GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs struct { + InvalidKeywords pulumi.StringArrayInput `pulumi:"invalidKeywords"` + Piis GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayInput `pulumi:"piis"` + Safety pulumi.BoolPtrInput `pulumi:"safety"` + ValidTopics pulumi.StringArrayInput `pulumi:"validTopics"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray and GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput` via: +// GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray and GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray{ GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayInput interface { +// GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray{ GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs{...} } +type GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray []GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededInput +type GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray []GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeInput -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailOutputType)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputType)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded) string { - return v.Id - }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) InvalidKeywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailOutputType) []string { return v.InvalidKeywords }).(pulumi.StringArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) Piis() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailOutputType) []GetServingEndpointsEndpointAiGatewayGuardrailOutputPii { + return v.Piis + }).(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)(nil)).Elem() +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) Safety() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailOutputType) *bool { return v.Safety }).(pulumi.BoolPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) ValidTopics() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailOutputType) []string { return v.ValidTopics }).(pulumi.StringArrayOutput) +} + +type GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailOutputType)(nil)).Elem() +} + +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayGuardrailOutputType { + return vs[0].([]GetServingEndpointsEndpointAiGatewayGuardrailOutputType)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailure struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPii struct { + Behavior string `pulumi:"behavior"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs and GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput` via: +// GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs and GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput interface { +// GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs{...} +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs struct { + Behavior pulumi.StringInput `pulumi:"behavior"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputPii)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray and GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput` via: +// GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray and GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray{ GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayInput interface { +// GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray{ GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs{...} } +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput + ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray []GetJobJobSettingsSettingsWebhookNotificationsOnFailureInput +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray []GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInput -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailOutputPii)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnFailureArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputPii)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnFailure) string { return v.Id }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput) Behavior() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayGuardrailOutputPii) string { return v.Behavior }).(pulumi.StringOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayGuardrailOutputPii)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput() GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput) ToGetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnFailureArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnFailure { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnFailure)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnFailureOutput) +func (o GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayGuardrailOutputPii { + return vs[0].([]GetServingEndpointsEndpointAiGatewayGuardrailOutputPii)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStart struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayInferenceTableConfig struct { + CatalogName *string `pulumi:"catalogName"` + Enabled *bool `pulumi:"enabled"` + SchemaName *string `pulumi:"schemaName"` + TableNamePrefix *string `pulumi:"tableNamePrefix"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnStartInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartInput` via: +// GetServingEndpointsEndpointAiGatewayInferenceTableConfigInput is an input type that accepts GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs and GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayInferenceTableConfigInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnStartInput interface { +// GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs{...} +type GetServingEndpointsEndpointAiGatewayInferenceTableConfigInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput + ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput() GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput + ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs struct { + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` + TableNamePrefix pulumi.StringPtrInput `pulumi:"tableNamePrefix"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayInferenceTableConfig)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput() GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput { + return i.ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) +func (i GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStartArray and GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput` via: +// GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray and GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnStartArray{ GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayInput interface { +// GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray{ GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs{...} } +type GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput + ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput() GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput + ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArray []GetJobJobSettingsSettingsWebhookNotificationsOnStartInput +type GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray []GetServingEndpointsEndpointAiGatewayInferenceTableConfigInput -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayInferenceTableConfig)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput() GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStartArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayInferenceTableConfig)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput() GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStart) string { return v.Id }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayInferenceTableConfig) *string { return v.CatalogName }).(pulumi.StringPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayInferenceTableConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStart)(nil)).Elem() +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) SchemaName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayInferenceTableConfig) *string { return v.SchemaName }).(pulumi.StringPtrOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) TableNamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayInferenceTableConfig) *string { return v.TableNamePrefix }).(pulumi.StringPtrOutput) +} + +type GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayInferenceTableConfig)(nil)).Elem() +} + +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput() GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput) ToGetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStartArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnStart { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnStart)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStartOutput) +func (o GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayInferenceTableConfig { + return vs[0].([]GetServingEndpointsEndpointAiGatewayInferenceTableConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayRateLimit struct { + Calls int `pulumi:"calls"` + Key *string `pulumi:"key"` + RenewalPeriod string `pulumi:"renewalPeriod"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs and GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput` via: +// GetServingEndpointsEndpointAiGatewayRateLimitInput is an input type that accepts GetServingEndpointsEndpointAiGatewayRateLimitArgs and GetServingEndpointsEndpointAiGatewayRateLimitOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayRateLimitInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput interface { +// GetServingEndpointsEndpointAiGatewayRateLimitArgs{...} +type GetServingEndpointsEndpointAiGatewayRateLimitInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput + ToGetServingEndpointsEndpointAiGatewayRateLimitOutput() GetServingEndpointsEndpointAiGatewayRateLimitOutput + ToGetServingEndpointsEndpointAiGatewayRateLimitOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayRateLimitOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayRateLimitArgs struct { + Calls pulumi.IntInput `pulumi:"calls"` + Key pulumi.StringPtrInput `pulumi:"key"` + RenewalPeriod pulumi.StringInput `pulumi:"renewalPeriod"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayRateLimit)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayRateLimitArgs) ToGetServingEndpointsEndpointAiGatewayRateLimitOutput() GetServingEndpointsEndpointAiGatewayRateLimitOutput { + return i.ToGetServingEndpointsEndpointAiGatewayRateLimitOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) +func (i GetServingEndpointsEndpointAiGatewayRateLimitArgs) ToGetServingEndpointsEndpointAiGatewayRateLimitOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayRateLimitOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray and GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput` via: +// GetServingEndpointsEndpointAiGatewayRateLimitArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayRateLimitArray and GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayRateLimitArrayInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray{ GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayInput interface { +// GetServingEndpointsEndpointAiGatewayRateLimitArray{ GetServingEndpointsEndpointAiGatewayRateLimitArgs{...} } +type GetServingEndpointsEndpointAiGatewayRateLimitArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput + ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutput() GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput + ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray []GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededInput +type GetServingEndpointsEndpointAiGatewayRateLimitArray []GetServingEndpointsEndpointAiGatewayRateLimitInput -func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayRateLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayRateLimit)(nil)).Elem() } - -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(context.Background()) + +func (i GetServingEndpointsEndpointAiGatewayRateLimitArray) ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutput() GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayRateLimitArray) ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayRateLimitOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayRateLimit)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o GetServingEndpointsEndpointAiGatewayRateLimitOutput) ToGetServingEndpointsEndpointAiGatewayRateLimitOutput() GetServingEndpointsEndpointAiGatewayRateLimitOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { +func (o GetServingEndpointsEndpointAiGatewayRateLimitOutput) ToGetServingEndpointsEndpointAiGatewayRateLimitOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayRateLimitOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded) string { return v.Id }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointAiGatewayRateLimitOutput) Calls() pulumi.IntOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayRateLimit) int { return v.Calls }).(pulumi.IntOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointAiGatewayRateLimitOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayRateLimit) *string { return v.Key }).(pulumi.StringPtrOutput) +} -func (GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)(nil)).Elem() +func (o GetServingEndpointsEndpointAiGatewayRateLimitOutput) RenewalPeriod() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayRateLimit) string { return v.RenewalPeriod }).(pulumi.StringOutput) } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { +type GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayRateLimit)(nil)).Elem() +} + +func (o GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput) ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutput() GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput) ToGetServingEndpointsEndpointAiGatewayRateLimitArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededOutput) +func (o GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayRateLimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayRateLimit { + return vs[0].([]GetServingEndpointsEndpointAiGatewayRateLimit)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayRateLimitOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccess struct { - // the id of Job if the resource was matched by name. - Id string `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfig struct { + Enabled *bool `pulumi:"enabled"` } -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput` via: +// GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInput is an input type that accepts GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs and GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput interface { +// GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs{...} +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput + ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput + ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs struct { - // the id of Job if the resource was matched by name. - Id pulumi.StringInput `pulumi:"id"` +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayUsageTrackingConfig)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput { + return i.ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) +func (i GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput) } -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput is an input type that accepts GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray and GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput values. -// You can construct a concrete instance of `GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput` via: +// GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayInput is an input type that accepts GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray and GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayInput` via: // -// GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray{ GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs{...} } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayInput interface { +// GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray{ GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs{...} } +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayInput interface { pulumi.Input - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput - ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput + ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput + ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray []GetJobJobSettingsSettingsWebhookNotificationsOnSuccessInput +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray []GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInput -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayUsageTrackingConfig)(nil)).Elem() } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return i.ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput { + return i.ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutputWithContext(context.Background()) } -func (i GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArray) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) +func (i GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayUsageTrackingConfig)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { +func (o GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { +func (o GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput { return o } -// the id of Job if the resource was matched by name. -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetJobJobSettingsSettingsWebhookNotificationsOnSuccess) string { return v.Id }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointAiGatewayUsageTrackingConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput struct{ *pulumi.OutputState } -func (GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)(nil)).Elem() +func (GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointAiGatewayUsageTrackingConfig)(nil)).Elem() } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput() GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput() GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) ToGetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutputWithContext(ctx context.Context) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput { +func (o GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput) ToGetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput { return o } -func (o GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArrayOutput) Index(i pulumi.IntInput) GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobJobSettingsSettingsWebhookNotificationsOnSuccess { - return vs[0].([]GetJobJobSettingsSettingsWebhookNotificationsOnSuccess)[vs[1].(int)] - }).(GetJobJobSettingsSettingsWebhookNotificationsOnSuccessOutput) +func (o GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointAiGatewayUsageTrackingConfig { + return vs[0].([]GetServingEndpointsEndpointAiGatewayUsageTrackingConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput) } -type GetMetastoreMetastoreInfo struct { - Cloud *string `pulumi:"cloud"` - CreatedAt *int `pulumi:"createdAt"` - CreatedBy *string `pulumi:"createdBy"` - DefaultDataAccessConfigId *string `pulumi:"defaultDataAccessConfigId"` - // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - DeltaSharingOrganizationName *string `pulumi:"deltaSharingOrganizationName"` - // Used to set expiration duration in seconds on recipient data access tokens. - DeltaSharingRecipientTokenLifetimeInSeconds *int `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` - // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - DeltaSharingScope *string `pulumi:"deltaSharingScope"` - ExternalAccessEnabled *bool `pulumi:"externalAccessEnabled"` - GlobalMetastoreId *string `pulumi:"globalMetastoreId"` - // ID of the metastore - MetastoreId *string `pulumi:"metastoreId"` - // Name of the metastore - Name *string `pulumi:"name"` - // Username/groupname/sp applicationId of the metastore owner. - Owner *string `pulumi:"owner"` - PrivilegeModelVersion *string `pulumi:"privilegeModelVersion"` - // Region of the metastore - Region *string `pulumi:"region"` - // Path on cloud storage account, where managed `Table` are stored. - StorageRoot *string `pulumi:"storageRoot"` - StorageRootCredentialId *string `pulumi:"storageRootCredentialId"` - StorageRootCredentialName *string `pulumi:"storageRootCredentialName"` - UpdatedAt *int `pulumi:"updatedAt"` - UpdatedBy *string `pulumi:"updatedBy"` +type GetServingEndpointsEndpointConfig struct { + ServedEntities []GetServingEndpointsEndpointConfigServedEntity `pulumi:"servedEntities"` + ServedModels []GetServingEndpointsEndpointConfigServedModel `pulumi:"servedModels"` } -// GetMetastoreMetastoreInfoInput is an input type that accepts GetMetastoreMetastoreInfoArgs and GetMetastoreMetastoreInfoOutput values. -// You can construct a concrete instance of `GetMetastoreMetastoreInfoInput` via: +// GetServingEndpointsEndpointConfigInput is an input type that accepts GetServingEndpointsEndpointConfigArgs and GetServingEndpointsEndpointConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigInput` via: // -// GetMetastoreMetastoreInfoArgs{...} -type GetMetastoreMetastoreInfoInput interface { +// GetServingEndpointsEndpointConfigArgs{...} +type GetServingEndpointsEndpointConfigInput interface { pulumi.Input - ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput - ToGetMetastoreMetastoreInfoOutputWithContext(context.Context) GetMetastoreMetastoreInfoOutput -} - -type GetMetastoreMetastoreInfoArgs struct { - Cloud pulumi.StringPtrInput `pulumi:"cloud"` - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - DefaultDataAccessConfigId pulumi.StringPtrInput `pulumi:"defaultDataAccessConfigId"` - // The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - DeltaSharingOrganizationName pulumi.StringPtrInput `pulumi:"deltaSharingOrganizationName"` - // Used to set expiration duration in seconds on recipient data access tokens. - DeltaSharingRecipientTokenLifetimeInSeconds pulumi.IntPtrInput `pulumi:"deltaSharingRecipientTokenLifetimeInSeconds"` - // Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - DeltaSharingScope pulumi.StringPtrInput `pulumi:"deltaSharingScope"` - ExternalAccessEnabled pulumi.BoolPtrInput `pulumi:"externalAccessEnabled"` - GlobalMetastoreId pulumi.StringPtrInput `pulumi:"globalMetastoreId"` - // ID of the metastore - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // Name of the metastore - Name pulumi.StringPtrInput `pulumi:"name"` - // Username/groupname/sp applicationId of the metastore owner. - Owner pulumi.StringPtrInput `pulumi:"owner"` - PrivilegeModelVersion pulumi.StringPtrInput `pulumi:"privilegeModelVersion"` - // Region of the metastore - Region pulumi.StringPtrInput `pulumi:"region"` - // Path on cloud storage account, where managed `Table` are stored. - StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` - StorageRootCredentialId pulumi.StringPtrInput `pulumi:"storageRootCredentialId"` - StorageRootCredentialName pulumi.StringPtrInput `pulumi:"storageRootCredentialName"` - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` -} - -func (GetMetastoreMetastoreInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() + ToGetServingEndpointsEndpointConfigOutput() GetServingEndpointsEndpointConfigOutput + ToGetServingEndpointsEndpointConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigOutput } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { - return i.ToGetMetastoreMetastoreInfoOutputWithContext(context.Background()) +type GetServingEndpointsEndpointConfigArgs struct { + ServedEntities GetServingEndpointsEndpointConfigServedEntityArrayInput `pulumi:"servedEntities"` + ServedModels GetServingEndpointsEndpointConfigServedModelArrayInput `pulumi:"servedModels"` } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput) +func (GetServingEndpointsEndpointConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfig)(nil)).Elem() } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { - return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigArgs) ToGetServingEndpointsEndpointConfigOutput() GetServingEndpointsEndpointConfigOutput { + return i.ToGetServingEndpointsEndpointConfigOutputWithContext(context.Background()) } -func (i GetMetastoreMetastoreInfoArgs) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoOutput).ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx) +func (i GetServingEndpointsEndpointConfigArgs) ToGetServingEndpointsEndpointConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigOutput) } -// GetMetastoreMetastoreInfoPtrInput is an input type that accepts GetMetastoreMetastoreInfoArgs, GetMetastoreMetastoreInfoPtr and GetMetastoreMetastoreInfoPtrOutput values. -// You can construct a concrete instance of `GetMetastoreMetastoreInfoPtrInput` via: -// -// GetMetastoreMetastoreInfoArgs{...} +// GetServingEndpointsEndpointConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigArray and GetServingEndpointsEndpointConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigArrayInput` via: // -// or: -// -// nil -type GetMetastoreMetastoreInfoPtrInput interface { +// GetServingEndpointsEndpointConfigArray{ GetServingEndpointsEndpointConfigArgs{...} } +type GetServingEndpointsEndpointConfigArrayInput interface { pulumi.Input - ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput - ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Context) GetMetastoreMetastoreInfoPtrOutput + ToGetServingEndpointsEndpointConfigArrayOutput() GetServingEndpointsEndpointConfigArrayOutput + ToGetServingEndpointsEndpointConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigArrayOutput } -type getMetastoreMetastoreInfoPtrType GetMetastoreMetastoreInfoArgs - -func GetMetastoreMetastoreInfoPtr(v *GetMetastoreMetastoreInfoArgs) GetMetastoreMetastoreInfoPtrInput { - return (*getMetastoreMetastoreInfoPtrType)(v) -} +type GetServingEndpointsEndpointConfigArray []GetServingEndpointsEndpointConfigInput -func (*getMetastoreMetastoreInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfig)(nil)).Elem() } -func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { - return i.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigArray) ToGetServingEndpointsEndpointConfigArrayOutput() GetServingEndpointsEndpointConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigArrayOutputWithContext(context.Background()) } -func (i *getMetastoreMetastoreInfoPtrType) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMetastoreMetastoreInfoPtrOutput) +func (i GetServingEndpointsEndpointConfigArray) ToGetServingEndpointsEndpointConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigArrayOutput) } -type GetMetastoreMetastoreInfoOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigOutput struct{ *pulumi.OutputState } -func (GetMetastoreMetastoreInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMetastoreMetastoreInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfig)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutput() GetMetastoreMetastoreInfoOutput { +func (o GetServingEndpointsEndpointConfigOutput) ToGetServingEndpointsEndpointConfigOutput() GetServingEndpointsEndpointConfigOutput { return o } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoOutput { +func (o GetServingEndpointsEndpointConfigOutput) ToGetServingEndpointsEndpointConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigOutput { return o } -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { - return o.ToGetMetastoreMetastoreInfoPtrOutputWithContext(context.Background()) -} - -func (o GetMetastoreMetastoreInfoOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMetastoreMetastoreInfo) *GetMetastoreMetastoreInfo { - return &v - }).(GetMetastoreMetastoreInfoPtrOutput) +func (o GetServingEndpointsEndpointConfigOutput) ServedEntities() GetServingEndpointsEndpointConfigServedEntityArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfig) []GetServingEndpointsEndpointConfigServedEntity { + return v.ServedEntities + }).(GetServingEndpointsEndpointConfigServedEntityArrayOutput) } -func (o GetMetastoreMetastoreInfoOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Cloud }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigOutput) ServedModels() GetServingEndpointsEndpointConfigServedModelArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfig) []GetServingEndpointsEndpointConfigServedModel { + return v.ServedModels + }).(GetServingEndpointsEndpointConfigServedModelArrayOutput) } -func (o GetMetastoreMetastoreInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) -} +type GetServingEndpointsEndpointConfigArrayOutput struct{ *pulumi.OutputState } -func (o GetMetastoreMetastoreInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfig)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DefaultDataAccessConfigId }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigArrayOutput) ToGetServingEndpointsEndpointConfigArrayOutput() GetServingEndpointsEndpointConfigArrayOutput { + return o } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetMetastoreMetastoreInfoOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingOrganizationName }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigArrayOutput) ToGetServingEndpointsEndpointConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigArrayOutput { + return o } -// Used to set expiration duration in seconds on recipient data access tokens. -func (o GetMetastoreMetastoreInfoOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.DeltaSharingRecipientTokenLifetimeInSeconds }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfig { + return vs[0].([]GetServingEndpointsEndpointConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigOutput) } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetMetastoreMetastoreInfoOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.DeltaSharingScope }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntity struct { + EntityName *string `pulumi:"entityName"` + EntityVersion *string `pulumi:"entityVersion"` + ExternalModels []GetServingEndpointsEndpointConfigServedEntityExternalModel `pulumi:"externalModels"` + FoundationModels []GetServingEndpointsEndpointConfigServedEntityFoundationModel `pulumi:"foundationModels"` + // The name of the model serving endpoint. + Name *string `pulumi:"name"` } -func (o GetMetastoreMetastoreInfoOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *bool { return v.ExternalAccessEnabled }).(pulumi.BoolPtrOutput) -} +// GetServingEndpointsEndpointConfigServedEntityInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityArgs and GetServingEndpointsEndpointConfigServedEntityOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityArgs{...} +type GetServingEndpointsEndpointConfigServedEntityInput interface { + pulumi.Input -func (o GetMetastoreMetastoreInfoOutput) GlobalMetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.GlobalMetastoreId }).(pulumi.StringPtrOutput) + ToGetServingEndpointsEndpointConfigServedEntityOutput() GetServingEndpointsEndpointConfigServedEntityOutput + ToGetServingEndpointsEndpointConfigServedEntityOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityOutput } -// ID of the metastore -func (o GetMetastoreMetastoreInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityArgs struct { + EntityName pulumi.StringPtrInput `pulumi:"entityName"` + EntityVersion pulumi.StringPtrInput `pulumi:"entityVersion"` + ExternalModels GetServingEndpointsEndpointConfigServedEntityExternalModelArrayInput `pulumi:"externalModels"` + FoundationModels GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayInput `pulumi:"foundationModels"` + // The name of the model serving endpoint. + Name pulumi.StringPtrInput `pulumi:"name"` } -// Name of the metastore -func (o GetMetastoreMetastoreInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedEntityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntity)(nil)).Elem() } -// Username/groupname/sp applicationId of the metastore owner. -func (o GetMetastoreMetastoreInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityArgs) ToGetServingEndpointsEndpointConfigServedEntityOutput() GetServingEndpointsEndpointConfigServedEntityOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityOutputWithContext(context.Background()) } -func (o GetMetastoreMetastoreInfoOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.PrivilegeModelVersion }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityArgs) ToGetServingEndpointsEndpointConfigServedEntityOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityOutput) } -// Region of the metastore -func (o GetMetastoreMetastoreInfoOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.Region }).(pulumi.StringPtrOutput) -} +// GetServingEndpointsEndpointConfigServedEntityArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityArray and GetServingEndpointsEndpointConfigServedEntityArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityArrayInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityArray{ GetServingEndpointsEndpointConfigServedEntityArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityArrayInput interface { + pulumi.Input -// Path on cloud storage account, where managed `Table` are stored. -func (o GetMetastoreMetastoreInfoOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) + ToGetServingEndpointsEndpointConfigServedEntityArrayOutput() GetServingEndpointsEndpointConfigServedEntityArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityArrayOutput } -func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialId }).(pulumi.StringPtrOutput) -} +type GetServingEndpointsEndpointConfigServedEntityArray []GetServingEndpointsEndpointConfigServedEntityInput -func (o GetMetastoreMetastoreInfoOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.StorageRootCredentialName }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedEntityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntity)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityArray) ToGetServingEndpointsEndpointConfigServedEntityArrayOutput() GetServingEndpointsEndpointConfigServedEntityArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityArrayOutputWithContext(context.Background()) } -func (o GetMetastoreMetastoreInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMetastoreMetastoreInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityArray) ToGetServingEndpointsEndpointConfigServedEntityArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityArrayOutput) } -type GetMetastoreMetastoreInfoPtrOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityOutput struct{ *pulumi.OutputState } -func (GetMetastoreMetastoreInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetMetastoreMetastoreInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntity)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutput() GetMetastoreMetastoreInfoPtrOutput { +func (o GetServingEndpointsEndpointConfigServedEntityOutput) ToGetServingEndpointsEndpointConfigServedEntityOutput() GetServingEndpointsEndpointConfigServedEntityOutput { return o } -func (o GetMetastoreMetastoreInfoPtrOutput) ToGetMetastoreMetastoreInfoPtrOutputWithContext(ctx context.Context) GetMetastoreMetastoreInfoPtrOutput { +func (o GetServingEndpointsEndpointConfigServedEntityOutput) ToGetServingEndpointsEndpointConfigServedEntityOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityOutput { return o } -func (o GetMetastoreMetastoreInfoPtrOutput) Elem() GetMetastoreMetastoreInfoOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) GetMetastoreMetastoreInfo { - if v != nil { - return *v - } - var ret GetMetastoreMetastoreInfo - return ret - }).(GetMetastoreMetastoreInfoOutput) +func (o GetServingEndpointsEndpointConfigServedEntityOutput) EntityName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntity) *string { return v.EntityName }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Cloud - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityOutput) EntityVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntity) *string { return v.EntityVersion }).(pulumi.StringPtrOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityOutput) ExternalModels() GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntity) []GetServingEndpointsEndpointConfigServedEntityExternalModel { + return v.ExternalModels + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityOutput) FoundationModels() GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntity) []GetServingEndpointsEndpointConfigServedEntityFoundationModel { + return v.FoundationModels + }).(GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) DefaultDataAccessConfigId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DefaultDataAccessConfigId - }).(pulumi.StringPtrOutput) +// The name of the model serving endpoint. +func (o GetServingEndpointsEndpointConfigServedEntityOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntity) *string { return v.Name }).(pulumi.StringPtrOutput) } -// The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. -func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingOrganizationName - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntity)(nil)).Elem() } -// Used to set expiration duration in seconds on recipient data access tokens. -func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingRecipientTokenLifetimeInSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.DeltaSharingRecipientTokenLifetimeInSeconds - }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityArrayOutput() GetServingEndpointsEndpointConfigServedEntityArrayOutput { + return o } -// Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. -func (o GetMetastoreMetastoreInfoPtrOutput) DeltaSharingScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.DeltaSharingScope - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityArrayOutput { + return o } -func (o GetMetastoreMetastoreInfoPtrOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *bool { - if v == nil { - return nil - } - return v.ExternalAccessEnabled - }).(pulumi.BoolPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntity { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntity)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) GlobalMetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.GlobalMetastoreId - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModel struct { + Ai21labsConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig `pulumi:"ai21labsConfigs"` + AmazonBedrockConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig `pulumi:"amazonBedrockConfigs"` + AnthropicConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig `pulumi:"anthropicConfigs"` + CohereConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig `pulumi:"cohereConfigs"` + DatabricksModelServingConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig `pulumi:"databricksModelServingConfigs"` + GoogleCloudVertexAiConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig `pulumi:"googleCloudVertexAiConfigs"` + // The name of the model serving endpoint. + Name string `pulumi:"name"` + OpenaiConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig `pulumi:"openaiConfigs"` + PalmConfigs []GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig `pulumi:"palmConfigs"` + Provider string `pulumi:"provider"` + Task string `pulumi:"task"` } -// ID of the metastore -func (o GetMetastoreMetastoreInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointConfigServedEntityExternalModelInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityExternalModelArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOutput } -// Name of the metastore -func (o GetMetastoreMetastoreInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelArgs struct { + Ai21labsConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayInput `pulumi:"ai21labsConfigs"` + AmazonBedrockConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayInput `pulumi:"amazonBedrockConfigs"` + AnthropicConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayInput `pulumi:"anthropicConfigs"` + CohereConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayInput `pulumi:"cohereConfigs"` + DatabricksModelServingConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayInput `pulumi:"databricksModelServingConfigs"` + GoogleCloudVertexAiConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayInput `pulumi:"googleCloudVertexAiConfigs"` + // The name of the model serving endpoint. + Name pulumi.StringInput `pulumi:"name"` + OpenaiConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayInput `pulumi:"openaiConfigs"` + PalmConfigs GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayInput `pulumi:"palmConfigs"` + Provider pulumi.StringInput `pulumi:"provider"` + Task pulumi.StringInput `pulumi:"task"` } -// Username/groupname/sp applicationId of the metastore owner. -func (o GetMetastoreMetastoreInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Owner - }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedEntityExternalModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModel)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoPtrOutput) PrivilegeModelVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.PrivilegeModelVersion - }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutputWithContext(context.Background()) } -// Region of the metastore -func (o GetMetastoreMetastoreInfoPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) } -// Path on cloud storage account, where managed `Table` are stored. -func (o GetMetastoreMetastoreInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRoot - }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointConfigServedEntityExternalModelArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelArray and GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelArrayInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityExternalModelArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelArrayInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput } -func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRootCredentialId - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelArray []GetServingEndpointsEndpointConfigServedEntityExternalModelInput + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModel)(nil)).Elem() } -func (o GetMetastoreMetastoreInfoPtrOutput) StorageRootCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.StorageRootCredentialName - }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutputWithContext(context.Background()) } -func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *int { - if v == nil { - return nil - } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput) } -func (o GetMetastoreMetastoreInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetMetastoreMetastoreInfo) *string { - if v == nil { - return nil - } - return v.UpdatedBy - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModel)(nil)).Elem() } -type GetMlflowExperimentTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOutput { + return o } -// GetMlflowExperimentTagInput is an input type that accepts GetMlflowExperimentTagArgs and GetMlflowExperimentTagOutput values. -// You can construct a concrete instance of `GetMlflowExperimentTagInput` via: -// -// GetMlflowExperimentTagArgs{...} -type GetMlflowExperimentTagInput interface { - pulumi.Input +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOutput { + return o +} - ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput - ToGetMlflowExperimentTagOutputWithContext(context.Context) GetMlflowExperimentTagOutput +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) Ai21labsConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig { + return v.Ai21labsConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput) } -type GetMlflowExperimentTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) AmazonBedrockConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig { + return v.AmazonBedrockConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput) } -func (GetMlflowExperimentTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowExperimentTag)(nil)).Elem() +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) AnthropicConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig { + return v.AnthropicConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput) } -func (i GetMlflowExperimentTagArgs) ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput { - return i.ToGetMlflowExperimentTagOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) CohereConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig { + return v.CohereConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput) } -func (i GetMlflowExperimentTagArgs) ToGetMlflowExperimentTagOutputWithContext(ctx context.Context) GetMlflowExperimentTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowExperimentTagOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) DatabricksModelServingConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig { + return v.DatabricksModelServingConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput) } -// GetMlflowExperimentTagArrayInput is an input type that accepts GetMlflowExperimentTagArray and GetMlflowExperimentTagArrayOutput values. -// You can construct a concrete instance of `GetMlflowExperimentTagArrayInput` via: -// -// GetMlflowExperimentTagArray{ GetMlflowExperimentTagArgs{...} } -type GetMlflowExperimentTagArrayInput interface { - pulumi.Input +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) GoogleCloudVertexAiConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + return v.GoogleCloudVertexAiConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput) +} - ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput - ToGetMlflowExperimentTagArrayOutputWithContext(context.Context) GetMlflowExperimentTagArrayOutput +// The name of the model serving endpoint. +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) string { return v.Name }).(pulumi.StringOutput) } -type GetMlflowExperimentTagArray []GetMlflowExperimentTagInput +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) OpenaiConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig { + return v.OpenaiConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput) +} -func (GetMlflowExperimentTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowExperimentTag)(nil)).Elem() +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) PalmConfigs() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) []GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig { + return v.PalmConfigs + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput) } -func (i GetMlflowExperimentTagArray) ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput { - return i.ToGetMlflowExperimentTagArrayOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) string { return v.Provider }).(pulumi.StringOutput) } -func (i GetMlflowExperimentTagArray) ToGetMlflowExperimentTagArrayOutputWithContext(ctx context.Context) GetMlflowExperimentTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowExperimentTagArrayOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) Task() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModel) string { return v.Task }).(pulumi.StringOutput) } -type GetMlflowExperimentTagOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput struct{ *pulumi.OutputState } -func (GetMlflowExperimentTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowExperimentTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModel)(nil)).Elem() } -func (o GetMlflowExperimentTagOutput) ToGetMlflowExperimentTagOutput() GetMlflowExperimentTagOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput { return o } -func (o GetMlflowExperimentTagOutput) ToGetMlflowExperimentTagOutputWithContext(ctx context.Context) GetMlflowExperimentTagOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput { return o } -func (o GetMlflowExperimentTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowExperimentTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModel { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModel)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelOutput) } -func (o GetMlflowExperimentTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowExperimentTag) *string { return v.Value }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig struct { + Ai21labsApiKey *string `pulumi:"ai21labsApiKey"` + Ai21labsApiKeyPlaintext *string `pulumi:"ai21labsApiKeyPlaintext"` } -type GetMlflowExperimentTagArrayOutput struct{ *pulumi.OutputState } +// GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInput interface { + pulumi.Input -func (GetMlflowExperimentTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowExperimentTag)(nil)).Elem() + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput } -func (o GetMlflowExperimentTagArrayOutput) ToGetMlflowExperimentTagArrayOutput() GetMlflowExperimentTagArrayOutput { - return o +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs struct { + Ai21labsApiKey pulumi.StringPtrInput `pulumi:"ai21labsApiKey"` + Ai21labsApiKeyPlaintext pulumi.StringPtrInput `pulumi:"ai21labsApiKeyPlaintext"` } -func (o GetMlflowExperimentTagArrayOutput) ToGetMlflowExperimentTagArrayOutputWithContext(ctx context.Context) GetMlflowExperimentTagArrayOutput { - return o +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (o GetMlflowExperimentTagArrayOutput) Index(i pulumi.IntInput) GetMlflowExperimentTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowExperimentTag { - return vs[0].([]GetMlflowExperimentTag)[vs[1].(int)] - }).(GetMlflowExperimentTagOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutputWithContext(context.Background()) } -type GetMlflowModelLatestVersion struct { - CreationTimestamp *int `pulumi:"creationTimestamp"` - CurrentStage *string `pulumi:"currentStage"` - // User-specified description for the object. - Description *string `pulumi:"description"` - LastUpdatedTimestamp *int `pulumi:"lastUpdatedTimestamp"` - // Name of the registered model. - Name *string `pulumi:"name"` - RunId *string `pulumi:"runId"` - RunLink *string `pulumi:"runLink"` - Source *string `pulumi:"source"` - Status *string `pulumi:"status"` - StatusMessage *string `pulumi:"statusMessage"` - // Array of tags associated with the model. - Tags []GetMlflowModelLatestVersionTag `pulumi:"tags"` - // The username of the user that created the object. - UserId *string `pulumi:"userId"` - Version *string `pulumi:"version"` +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) } -// GetMlflowModelLatestVersionInput is an input type that accepts GetMlflowModelLatestVersionArgs and GetMlflowModelLatestVersionOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayInput` via: // -// GetMlflowModelLatestVersionArgs{...} -type GetMlflowModelLatestVersionInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayInput interface { pulumi.Input - - ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput - ToGetMlflowModelLatestVersionOutputWithContext(context.Context) GetMlflowModelLatestVersionOutput -} - -type GetMlflowModelLatestVersionArgs struct { - CreationTimestamp pulumi.IntPtrInput `pulumi:"creationTimestamp"` - CurrentStage pulumi.StringPtrInput `pulumi:"currentStage"` - // User-specified description for the object. - Description pulumi.StringPtrInput `pulumi:"description"` - LastUpdatedTimestamp pulumi.IntPtrInput `pulumi:"lastUpdatedTimestamp"` - // Name of the registered model. - Name pulumi.StringPtrInput `pulumi:"name"` - RunId pulumi.StringPtrInput `pulumi:"runId"` - RunLink pulumi.StringPtrInput `pulumi:"runLink"` - Source pulumi.StringPtrInput `pulumi:"source"` - Status pulumi.StringPtrInput `pulumi:"status"` - StatusMessage pulumi.StringPtrInput `pulumi:"statusMessage"` - // Array of tags associated with the model. - Tags GetMlflowModelLatestVersionTagArrayInput `pulumi:"tags"` - // The username of the user that created the object. - UserId pulumi.StringPtrInput `pulumi:"userId"` - Version pulumi.StringPtrInput `pulumi:"version"` + + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput } -func (GetMlflowModelLatestVersionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInput + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { - return i.ToGetMlflowModelLatestVersionOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutputWithContext(context.Background()) } -func (i GetMlflowModelLatestVersionArgs) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput) } -// GetMlflowModelLatestVersionArrayInput is an input type that accepts GetMlflowModelLatestVersionArray and GetMlflowModelLatestVersionArrayOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionArrayInput` via: -// -// GetMlflowModelLatestVersionArray{ GetMlflowModelLatestVersionArgs{...} } -type GetMlflowModelLatestVersionArrayInput interface { - pulumi.Input +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput struct{ *pulumi.OutputState } - ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput - ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionArrayOutput +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -type GetMlflowModelLatestVersionArray []GetMlflowModelLatestVersionInput +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput { + return o +} -func (GetMlflowModelLatestVersionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput { + return o } -func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { - return i.ToGetMlflowModelLatestVersionArrayOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig) *string { + return v.Ai21labsApiKey + }).(pulumi.StringPtrOutput) } -func (i GetMlflowModelLatestVersionArray) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionArrayOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) Ai21labsApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig) *string { + return v.Ai21labsApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -type GetMlflowModelLatestVersionOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput struct{ *pulumi.OutputState } -func (GetMlflowModelLatestVersionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersion)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutput() GetMlflowModelLatestVersionOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput { return o } -func (o GetMlflowModelLatestVersionOutput) ToGetMlflowModelLatestVersionOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput { return o } -func (o GetMlflowModelLatestVersionOutput) CreationTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.CreationTimestamp }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput) } -func (o GetMlflowModelLatestVersionOutput) CurrentStage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.CurrentStage }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig struct { + AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` + AwsAccessKeyIdPlaintext *string `pulumi:"awsAccessKeyIdPlaintext"` + AwsRegion string `pulumi:"awsRegion"` + AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` + AwsSecretAccessKeyPlaintext *string `pulumi:"awsSecretAccessKeyPlaintext"` + BedrockProvider string `pulumi:"bedrockProvider"` } -// User-specified description for the object. -func (o GetMlflowModelLatestVersionOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Description }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput } -func (o GetMlflowModelLatestVersionOutput) LastUpdatedTimestamp() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *int { return v.LastUpdatedTimestamp }).(pulumi.IntPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs struct { + AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` + AwsAccessKeyIdPlaintext pulumi.StringPtrInput `pulumi:"awsAccessKeyIdPlaintext"` + AwsRegion pulumi.StringInput `pulumi:"awsRegion"` + AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` + AwsSecretAccessKeyPlaintext pulumi.StringPtrInput `pulumi:"awsSecretAccessKeyPlaintext"` + BedrockProvider pulumi.StringInput `pulumi:"bedrockProvider"` } -// Name of the registered model. -func (o GetMlflowModelLatestVersionOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Name }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) RunId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunId }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(context.Background()) } -func (o GetMlflowModelLatestVersionOutput) RunLink() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.RunLink }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) } -func (o GetMlflowModelLatestVersionOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Source }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayInput` via: +// +// GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput } -func (o GetMlflowModelLatestVersionOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Status }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInput + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) StatusMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.StatusMessage }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutputWithContext(context.Background()) } -// Array of tags associated with the model. -func (o GetMlflowModelLatestVersionOutput) Tags() GetMlflowModelLatestVersionTagArrayOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) []GetMlflowModelLatestVersionTag { return v.Tags }).(GetMlflowModelLatestVersionTagArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput) } -// The username of the user that created the object. -func (o GetMlflowModelLatestVersionOutput) UserId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.UserId }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() } -func (o GetMlflowModelLatestVersionOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersion) *string { return v.Version }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return o } -type GetMlflowModelLatestVersionArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return o +} -func (GetMlflowModelLatestVersionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersion)(nil)).Elem() +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsAccessKeyId + }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutput() GetMlflowModelLatestVersionArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsAccessKeyIdPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsAccessKeyIdPlaintext + }).(pulumi.StringPtrOutput) +} + +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig) string { + return v.AwsRegion + }).(pulumi.StringOutput) +} + +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) +} + +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) AwsSecretAccessKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig) *string { + return v.AwsSecretAccessKeyPlaintext + }).(pulumi.StringPtrOutput) +} + +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) BedrockProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig) string { + return v.BedrockProvider + }).(pulumi.StringOutput) +} + +type GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig)(nil)).Elem() +} + +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput { return o } -func (o GetMlflowModelLatestVersionArrayOutput) ToGetMlflowModelLatestVersionArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput { return o } -func (o GetMlflowModelLatestVersionArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersion { - return vs[0].([]GetMlflowModelLatestVersion)[vs[1].(int)] - }).(GetMlflowModelLatestVersionOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput) } -type GetMlflowModelLatestVersionTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig struct { + AnthropicApiKey *string `pulumi:"anthropicApiKey"` + AnthropicApiKeyPlaintext *string `pulumi:"anthropicApiKeyPlaintext"` } -// GetMlflowModelLatestVersionTagInput is an input type that accepts GetMlflowModelLatestVersionTagArgs and GetMlflowModelLatestVersionTagOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionTagInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInput` via: // -// GetMlflowModelLatestVersionTagArgs{...} -type GetMlflowModelLatestVersionTagInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInput interface { pulumi.Input - ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput - ToGetMlflowModelLatestVersionTagOutputWithContext(context.Context) GetMlflowModelLatestVersionTagOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput } -type GetMlflowModelLatestVersionTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs struct { + AnthropicApiKey pulumi.StringPtrInput `pulumi:"anthropicApiKey"` + AnthropicApiKeyPlaintext pulumi.StringPtrInput `pulumi:"anthropicApiKeyPlaintext"` } -func (GetMlflowModelLatestVersionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { - return i.ToGetMlflowModelLatestVersionTagOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutputWithContext(context.Background()) } -func (i GetMlflowModelLatestVersionTagArgs) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) } -// GetMlflowModelLatestVersionTagArrayInput is an input type that accepts GetMlflowModelLatestVersionTagArray and GetMlflowModelLatestVersionTagArrayOutput values. -// You can construct a concrete instance of `GetMlflowModelLatestVersionTagArrayInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayInput` via: // -// GetMlflowModelLatestVersionTagArray{ GetMlflowModelLatestVersionTagArgs{...} } -type GetMlflowModelLatestVersionTagArrayInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayInput interface { pulumi.Input - ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput - ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Context) GetMlflowModelLatestVersionTagArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput } -type GetMlflowModelLatestVersionTagArray []GetMlflowModelLatestVersionTagInput +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInput -func (GetMlflowModelLatestVersionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { - return i.ToGetMlflowModelLatestVersionTagArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutputWithContext(context.Background()) } -func (i GetMlflowModelLatestVersionTagArray) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelLatestVersionTagArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput) } -type GetMlflowModelLatestVersionTagOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput struct{ *pulumi.OutputState } -func (GetMlflowModelLatestVersionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelLatestVersionTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutput() GetMlflowModelLatestVersionTagOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput { return o } -func (o GetMlflowModelLatestVersionTagOutput) ToGetMlflowModelLatestVersionTagOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput { return o } -func (o GetMlflowModelLatestVersionTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig) *string { + return v.AnthropicApiKey + }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelLatestVersionTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelLatestVersionTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) AnthropicApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig) *string { + return v.AnthropicApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -type GetMlflowModelLatestVersionTagArrayOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput struct{ *pulumi.OutputState } -func (GetMlflowModelLatestVersionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelLatestVersionTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig)(nil)).Elem() } -func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutput() GetMlflowModelLatestVersionTagArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput { return o } -func (o GetMlflowModelLatestVersionTagArrayOutput) ToGetMlflowModelLatestVersionTagArrayOutputWithContext(ctx context.Context) GetMlflowModelLatestVersionTagArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput { return o } -func (o GetMlflowModelLatestVersionTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelLatestVersionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelLatestVersionTag { - return vs[0].([]GetMlflowModelLatestVersionTag)[vs[1].(int)] - }).(GetMlflowModelLatestVersionTagOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput) } -type GetMlflowModelTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig struct { + CohereApiBase *string `pulumi:"cohereApiBase"` + CohereApiKey *string `pulumi:"cohereApiKey"` + CohereApiKeyPlaintext *string `pulumi:"cohereApiKeyPlaintext"` } -// GetMlflowModelTagInput is an input type that accepts GetMlflowModelTagArgs and GetMlflowModelTagOutput values. -// You can construct a concrete instance of `GetMlflowModelTagInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInput` via: // -// GetMlflowModelTagArgs{...} -type GetMlflowModelTagInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInput interface { pulumi.Input - ToGetMlflowModelTagOutput() GetMlflowModelTagOutput - ToGetMlflowModelTagOutputWithContext(context.Context) GetMlflowModelTagOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput } -type GetMlflowModelTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs struct { + CohereApiBase pulumi.StringPtrInput `pulumi:"cohereApiBase"` + CohereApiKey pulumi.StringPtrInput `pulumi:"cohereApiKey"` + CohereApiKeyPlaintext pulumi.StringPtrInput `pulumi:"cohereApiKeyPlaintext"` } -func (GetMlflowModelTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { - return i.ToGetMlflowModelTagOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutputWithContext(context.Background()) } -func (i GetMlflowModelTagArgs) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) } -// GetMlflowModelTagArrayInput is an input type that accepts GetMlflowModelTagArray and GetMlflowModelTagArrayOutput values. -// You can construct a concrete instance of `GetMlflowModelTagArrayInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayInput` via: // -// GetMlflowModelTagArray{ GetMlflowModelTagArgs{...} } -type GetMlflowModelTagArrayInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayInput interface { pulumi.Input - ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput - ToGetMlflowModelTagArrayOutputWithContext(context.Context) GetMlflowModelTagArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput } -type GetMlflowModelTagArray []GetMlflowModelTagInput +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInput -func (GetMlflowModelTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { - return i.ToGetMlflowModelTagArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutputWithContext(context.Background()) } -func (i GetMlflowModelTagArray) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMlflowModelTagArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput) } -type GetMlflowModelTagOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput struct{ *pulumi.OutputState } -func (GetMlflowModelTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMlflowModelTag)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutput() GetMlflowModelTagOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput { return o } -func (o GetMlflowModelTagOutput) ToGetMlflowModelTagOutputWithContext(ctx context.Context) GetMlflowModelTagOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput { return o } -func (o GetMlflowModelTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) CohereApiBase() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig) *string { + return v.CohereApiBase + }).(pulumi.StringPtrOutput) } -func (o GetMlflowModelTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMlflowModelTag) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) CohereApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig) *string { + return v.CohereApiKey + }).(pulumi.StringPtrOutput) } -type GetMlflowModelTagArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) CohereApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig) *string { + return v.CohereApiKeyPlaintext + }).(pulumi.StringPtrOutput) +} -func (GetMlflowModelTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMlflowModelTag)(nil)).Elem() +type GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig)(nil)).Elem() } -func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutput() GetMlflowModelTagArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput { return o } -func (o GetMlflowModelTagArrayOutput) ToGetMlflowModelTagArrayOutputWithContext(ctx context.Context) GetMlflowModelTagArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput { return o } -func (o GetMlflowModelTagArrayOutput) Index(i pulumi.IntInput) GetMlflowModelTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMlflowModelTag { - return vs[0].([]GetMlflowModelTag)[vs[1].(int)] - }).(GetMlflowModelTagOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput) } -type GetNotebookPathsNotebookPathList struct { - Language *string `pulumi:"language"` - // Path to workspace directory - Path *string `pulumi:"path"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig struct { + DatabricksApiToken *string `pulumi:"databricksApiToken"` + DatabricksApiTokenPlaintext *string `pulumi:"databricksApiTokenPlaintext"` + DatabricksWorkspaceUrl string `pulumi:"databricksWorkspaceUrl"` } -// GetNotebookPathsNotebookPathListInput is an input type that accepts GetNotebookPathsNotebookPathListArgs and GetNotebookPathsNotebookPathListOutput values. -// You can construct a concrete instance of `GetNotebookPathsNotebookPathListInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInput` via: // -// GetNotebookPathsNotebookPathListArgs{...} -type GetNotebookPathsNotebookPathListInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInput interface { pulumi.Input - ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput - ToGetNotebookPathsNotebookPathListOutputWithContext(context.Context) GetNotebookPathsNotebookPathListOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput } -type GetNotebookPathsNotebookPathListArgs struct { - Language pulumi.StringPtrInput `pulumi:"language"` - // Path to workspace directory - Path pulumi.StringPtrInput `pulumi:"path"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs struct { + DatabricksApiToken pulumi.StringPtrInput `pulumi:"databricksApiToken"` + DatabricksApiTokenPlaintext pulumi.StringPtrInput `pulumi:"databricksApiTokenPlaintext"` + DatabricksWorkspaceUrl pulumi.StringInput `pulumi:"databricksWorkspaceUrl"` } -func (GetNotebookPathsNotebookPathListArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { - return i.ToGetNotebookPathsNotebookPathListOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(context.Background()) } -func (i GetNotebookPathsNotebookPathListArgs) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) } -// GetNotebookPathsNotebookPathListArrayInput is an input type that accepts GetNotebookPathsNotebookPathListArray and GetNotebookPathsNotebookPathListArrayOutput values. -// You can construct a concrete instance of `GetNotebookPathsNotebookPathListArrayInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayInput` via: // -// GetNotebookPathsNotebookPathListArray{ GetNotebookPathsNotebookPathListArgs{...} } -type GetNotebookPathsNotebookPathListArrayInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayInput interface { pulumi.Input - ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput - ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Context) GetNotebookPathsNotebookPathListArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput } -type GetNotebookPathsNotebookPathListArray []GetNotebookPathsNotebookPathListInput +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInput -func (GetNotebookPathsNotebookPathListArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { - return i.ToGetNotebookPathsNotebookPathListArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutputWithContext(context.Background()) } -func (i GetNotebookPathsNotebookPathListArray) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotebookPathsNotebookPathListArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput) } -type GetNotebookPathsNotebookPathListOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput struct{ *pulumi.OutputState } -func (GetNotebookPathsNotebookPathListOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotebookPathsNotebookPathList)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutput() GetNotebookPathsNotebookPathListOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput { return o } -func (o GetNotebookPathsNotebookPathListOutput) ToGetNotebookPathsNotebookPathListOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput { return o } -func (o GetNotebookPathsNotebookPathListOutput) Language() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Language }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksApiToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig) *string { + return v.DatabricksApiToken + }).(pulumi.StringPtrOutput) } -// Path to workspace directory -func (o GetNotebookPathsNotebookPathListOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotebookPathsNotebookPathList) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksApiTokenPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig) *string { + return v.DatabricksApiTokenPlaintext + }).(pulumi.StringPtrOutput) } -type GetNotebookPathsNotebookPathListArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) DatabricksWorkspaceUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig) string { + return v.DatabricksWorkspaceUrl + }).(pulumi.StringOutput) +} -func (GetNotebookPathsNotebookPathListArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNotebookPathsNotebookPathList)(nil)).Elem() +type GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig)(nil)).Elem() } -func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutput() GetNotebookPathsNotebookPathListArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput { return o } -func (o GetNotebookPathsNotebookPathListArrayOutput) ToGetNotebookPathsNotebookPathListArrayOutputWithContext(ctx context.Context) GetNotebookPathsNotebookPathListArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput { return o } -func (o GetNotebookPathsNotebookPathListArrayOutput) Index(i pulumi.IntInput) GetNotebookPathsNotebookPathListOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNotebookPathsNotebookPathList { - return vs[0].([]GetNotebookPathsNotebookPathList)[vs[1].(int)] - }).(GetNotebookPathsNotebookPathListOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput) } -type GetNotificationDestinationsNotificationDestination struct { - // The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - DestinationType *string `pulumi:"destinationType"` - // The display name of the Notification Destination. - DisplayName *string `pulumi:"displayName"` - // The unique ID of the Notification Destination. - Id *string `pulumi:"id"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig struct { + PrivateKey *string `pulumi:"privateKey"` + PrivateKeyPlaintext *string `pulumi:"privateKeyPlaintext"` + ProjectId *string `pulumi:"projectId"` + Region *string `pulumi:"region"` } -// GetNotificationDestinationsNotificationDestinationInput is an input type that accepts GetNotificationDestinationsNotificationDestinationArgs and GetNotificationDestinationsNotificationDestinationOutput values. -// You can construct a concrete instance of `GetNotificationDestinationsNotificationDestinationInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput` via: // -// GetNotificationDestinationsNotificationDestinationArgs{...} -type GetNotificationDestinationsNotificationDestinationInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput interface { pulumi.Input - ToGetNotificationDestinationsNotificationDestinationOutput() GetNotificationDestinationsNotificationDestinationOutput - ToGetNotificationDestinationsNotificationDestinationOutputWithContext(context.Context) GetNotificationDestinationsNotificationDestinationOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput } -type GetNotificationDestinationsNotificationDestinationArgs struct { - // The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - DestinationType pulumi.StringPtrInput `pulumi:"destinationType"` - // The display name of the Notification Destination. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - // The unique ID of the Notification Destination. - Id pulumi.StringPtrInput `pulumi:"id"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs struct { + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + PrivateKeyPlaintext pulumi.StringPtrInput `pulumi:"privateKeyPlaintext"` + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + Region pulumi.StringPtrInput `pulumi:"region"` } -func (GetNotificationDestinationsNotificationDestinationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotificationDestinationsNotificationDestination)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (i GetNotificationDestinationsNotificationDestinationArgs) ToGetNotificationDestinationsNotificationDestinationOutput() GetNotificationDestinationsNotificationDestinationOutput { - return i.ToGetNotificationDestinationsNotificationDestinationOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(context.Background()) } -func (i GetNotificationDestinationsNotificationDestinationArgs) ToGetNotificationDestinationsNotificationDestinationOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotificationDestinationsNotificationDestinationOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) } -// GetNotificationDestinationsNotificationDestinationArrayInput is an input type that accepts GetNotificationDestinationsNotificationDestinationArray and GetNotificationDestinationsNotificationDestinationArrayOutput values. -// You can construct a concrete instance of `GetNotificationDestinationsNotificationDestinationArrayInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayInput` via: // -// GetNotificationDestinationsNotificationDestinationArray{ GetNotificationDestinationsNotificationDestinationArgs{...} } -type GetNotificationDestinationsNotificationDestinationArrayInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayInput interface { pulumi.Input - ToGetNotificationDestinationsNotificationDestinationArrayOutput() GetNotificationDestinationsNotificationDestinationArrayOutput - ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(context.Context) GetNotificationDestinationsNotificationDestinationArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput } -type GetNotificationDestinationsNotificationDestinationArray []GetNotificationDestinationsNotificationDestinationInput +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput -func (GetNotificationDestinationsNotificationDestinationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNotificationDestinationsNotificationDestination)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (i GetNotificationDestinationsNotificationDestinationArray) ToGetNotificationDestinationsNotificationDestinationArrayOutput() GetNotificationDestinationsNotificationDestinationArrayOutput { - return i.ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutputWithContext(context.Background()) } -func (i GetNotificationDestinationsNotificationDestinationArray) ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotificationDestinationsNotificationDestinationArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput) } -type GetNotificationDestinationsNotificationDestinationOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput struct{ *pulumi.OutputState } -func (GetNotificationDestinationsNotificationDestinationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotificationDestinationsNotificationDestination)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (o GetNotificationDestinationsNotificationDestinationOutput) ToGetNotificationDestinationsNotificationDestinationOutput() GetNotificationDestinationsNotificationDestinationOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { return o } -func (o GetNotificationDestinationsNotificationDestinationOutput) ToGetNotificationDestinationsNotificationDestinationOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { return o } -// The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. -func (o GetNotificationDestinationsNotificationDestinationOutput) DestinationType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotificationDestinationsNotificationDestination) *string { return v.DestinationType }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.PrivateKey + }).(pulumi.StringPtrOutput) } -// The display name of the Notification Destination. -func (o GetNotificationDestinationsNotificationDestinationOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotificationDestinationsNotificationDestination) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) PrivateKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.PrivateKeyPlaintext + }).(pulumi.StringPtrOutput) } -// The unique ID of the Notification Destination. -func (o GetNotificationDestinationsNotificationDestinationOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotificationDestinationsNotificationDestination) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.ProjectId + }).(pulumi.StringPtrOutput) } -type GetNotificationDestinationsNotificationDestinationArrayOutput struct{ *pulumi.OutputState } +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig) *string { + return v.Region + }).(pulumi.StringPtrOutput) +} -func (GetNotificationDestinationsNotificationDestinationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNotificationDestinationsNotificationDestination)(nil)).Elem() +type GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig)(nil)).Elem() } -func (o GetNotificationDestinationsNotificationDestinationArrayOutput) ToGetNotificationDestinationsNotificationDestinationArrayOutput() GetNotificationDestinationsNotificationDestinationArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput { return o } -func (o GetNotificationDestinationsNotificationDestinationArrayOutput) ToGetNotificationDestinationsNotificationDestinationArrayOutputWithContext(ctx context.Context) GetNotificationDestinationsNotificationDestinationArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput { return o } -func (o GetNotificationDestinationsNotificationDestinationArrayOutput) Index(i pulumi.IntInput) GetNotificationDestinationsNotificationDestinationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNotificationDestinationsNotificationDestination { - return vs[0].([]GetNotificationDestinationsNotificationDestination)[vs[1].(int)] - }).(GetNotificationDestinationsNotificationDestinationOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput) } -type GetRegisteredModelModelInfo struct { - // the list of aliases associated with this model. Each item is object consisting of following attributes: - Aliases []GetRegisteredModelModelInfoAlias `pulumi:"aliases"` - BrowseOnly *bool `pulumi:"browseOnly"` - // The name of the catalog where the schema and the registered model reside. - CatalogName *string `pulumi:"catalogName"` - // The comment attached to the registered model. - Comment *string `pulumi:"comment"` - // the Unix timestamp at the model's creation - CreatedAt *int `pulumi:"createdAt"` - // the identifier of the user who created the model - CreatedBy *string `pulumi:"createdBy"` - // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - FullName *string `pulumi:"fullName"` - // the unique identifier of the metastore - MetastoreId *string `pulumi:"metastoreId"` - // The name of the registered model. - Name *string `pulumi:"name"` - // Name of the registered model owner. - Owner *string `pulumi:"owner"` - // The name of the schema where the registered model resides. - SchemaName *string `pulumi:"schemaName"` - // The storage location under which model version data files are stored. - StorageLocation *string `pulumi:"storageLocation"` - // the timestamp of the last time changes were made to the model - UpdatedAt *int `pulumi:"updatedAt"` - // the identifier of the user who updated the model last time - UpdatedBy *string `pulumi:"updatedBy"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig struct { + MicrosoftEntraClientId *string `pulumi:"microsoftEntraClientId"` + MicrosoftEntraClientSecret *string `pulumi:"microsoftEntraClientSecret"` + MicrosoftEntraClientSecretPlaintext *string `pulumi:"microsoftEntraClientSecretPlaintext"` + MicrosoftEntraTenantId *string `pulumi:"microsoftEntraTenantId"` + OpenaiApiBase *string `pulumi:"openaiApiBase"` + OpenaiApiKey *string `pulumi:"openaiApiKey"` + OpenaiApiKeyPlaintext *string `pulumi:"openaiApiKeyPlaintext"` + OpenaiApiType *string `pulumi:"openaiApiType"` + OpenaiApiVersion *string `pulumi:"openaiApiVersion"` + OpenaiDeploymentName *string `pulumi:"openaiDeploymentName"` + OpenaiOrganization *string `pulumi:"openaiOrganization"` } -// GetRegisteredModelModelInfoInput is an input type that accepts GetRegisteredModelModelInfoArgs and GetRegisteredModelModelInfoOutput values. -// You can construct a concrete instance of `GetRegisteredModelModelInfoInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInput` via: // -// GetRegisteredModelModelInfoArgs{...} -type GetRegisteredModelModelInfoInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInput interface { pulumi.Input - ToGetRegisteredModelModelInfoOutput() GetRegisteredModelModelInfoOutput - ToGetRegisteredModelModelInfoOutputWithContext(context.Context) GetRegisteredModelModelInfoOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput } -type GetRegisteredModelModelInfoArgs struct { - // the list of aliases associated with this model. Each item is object consisting of following attributes: - Aliases GetRegisteredModelModelInfoAliasArrayInput `pulumi:"aliases"` - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // The name of the catalog where the schema and the registered model reside. - CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` - // The comment attached to the registered model. - Comment pulumi.StringPtrInput `pulumi:"comment"` - // the Unix timestamp at the model's creation - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // the identifier of the user who created the model - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - FullName pulumi.StringPtrInput `pulumi:"fullName"` - // the unique identifier of the metastore - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // The name of the registered model. - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the registered model owner. - Owner pulumi.StringPtrInput `pulumi:"owner"` - // The name of the schema where the registered model resides. - SchemaName pulumi.StringPtrInput `pulumi:"schemaName"` - // The storage location under which model version data files are stored. - StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` - // the timestamp of the last time changes were made to the model - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // the identifier of the user who updated the model last time - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs struct { + MicrosoftEntraClientId pulumi.StringPtrInput `pulumi:"microsoftEntraClientId"` + MicrosoftEntraClientSecret pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecret"` + MicrosoftEntraClientSecretPlaintext pulumi.StringPtrInput `pulumi:"microsoftEntraClientSecretPlaintext"` + MicrosoftEntraTenantId pulumi.StringPtrInput `pulumi:"microsoftEntraTenantId"` + OpenaiApiBase pulumi.StringPtrInput `pulumi:"openaiApiBase"` + OpenaiApiKey pulumi.StringPtrInput `pulumi:"openaiApiKey"` + OpenaiApiKeyPlaintext pulumi.StringPtrInput `pulumi:"openaiApiKeyPlaintext"` + OpenaiApiType pulumi.StringPtrInput `pulumi:"openaiApiType"` + OpenaiApiVersion pulumi.StringPtrInput `pulumi:"openaiApiVersion"` + OpenaiDeploymentName pulumi.StringPtrInput `pulumi:"openaiDeploymentName"` + OpenaiOrganization pulumi.StringPtrInput `pulumi:"openaiOrganization"` } -func (GetRegisteredModelModelInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegisteredModelModelInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (i GetRegisteredModelModelInfoArgs) ToGetRegisteredModelModelInfoOutput() GetRegisteredModelModelInfoOutput { - return i.ToGetRegisteredModelModelInfoOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutputWithContext(context.Background()) } -func (i GetRegisteredModelModelInfoArgs) ToGetRegisteredModelModelInfoOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) } -// GetRegisteredModelModelInfoArrayInput is an input type that accepts GetRegisteredModelModelInfoArray and GetRegisteredModelModelInfoArrayOutput values. -// You can construct a concrete instance of `GetRegisteredModelModelInfoArrayInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayInput` via: // -// GetRegisteredModelModelInfoArray{ GetRegisteredModelModelInfoArgs{...} } -type GetRegisteredModelModelInfoArrayInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayInput interface { pulumi.Input - ToGetRegisteredModelModelInfoArrayOutput() GetRegisteredModelModelInfoArrayOutput - ToGetRegisteredModelModelInfoArrayOutputWithContext(context.Context) GetRegisteredModelModelInfoArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput } -type GetRegisteredModelModelInfoArray []GetRegisteredModelModelInfoInput +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInput -func (GetRegisteredModelModelInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegisteredModelModelInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (i GetRegisteredModelModelInfoArray) ToGetRegisteredModelModelInfoArrayOutput() GetRegisteredModelModelInfoArrayOutput { - return i.ToGetRegisteredModelModelInfoArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutputWithContext(context.Background()) } -func (i GetRegisteredModelModelInfoArray) ToGetRegisteredModelModelInfoArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput) } -type GetRegisteredModelModelInfoOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput struct{ *pulumi.OutputState } -func (GetRegisteredModelModelInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegisteredModelModelInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (o GetRegisteredModelModelInfoOutput) ToGetRegisteredModelModelInfoOutput() GetRegisteredModelModelInfoOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput { return o } -func (o GetRegisteredModelModelInfoOutput) ToGetRegisteredModelModelInfoOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput { return o } -// the list of aliases associated with this model. Each item is object consisting of following attributes: -func (o GetRegisteredModelModelInfoOutput) Aliases() GetRegisteredModelModelInfoAliasArrayOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) []GetRegisteredModelModelInfoAlias { return v.Aliases }).(GetRegisteredModelModelInfoAliasArrayOutput) -} - -func (o GetRegisteredModelModelInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) -} - -// The name of the catalog where the schema and the registered model reside. -func (o GetRegisteredModelModelInfoOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.CatalogName }).(pulumi.StringPtrOutput) -} - -// The comment attached to the registered model. -func (o GetRegisteredModelModelInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientId + }).(pulumi.StringPtrOutput) } -// the Unix timestamp at the model's creation -func (o GetRegisteredModelModelInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientSecret + }).(pulumi.StringPtrOutput) } -// the identifier of the user who created the model -func (o GetRegisteredModelModelInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraClientSecretPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraClientSecretPlaintext + }).(pulumi.StringPtrOutput) } -// The fully-qualified name of the registered model (`catalog_name.schema_name.name`). -func (o GetRegisteredModelModelInfoOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) MicrosoftEntraTenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.MicrosoftEntraTenantId + }).(pulumi.StringPtrOutput) } -// the unique identifier of the metastore -func (o GetRegisteredModelModelInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiBase() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiApiBase + }).(pulumi.StringPtrOutput) } -// The name of the registered model. -func (o GetRegisteredModelModelInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiApiKey + }).(pulumi.StringPtrOutput) } -// Name of the registered model owner. -func (o GetRegisteredModelModelInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -// The name of the schema where the registered model resides. -func (o GetRegisteredModelModelInfoOutput) SchemaName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.SchemaName }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiApiType + }).(pulumi.StringPtrOutput) } -// The storage location under which model version data files are stored. -func (o GetRegisteredModelModelInfoOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiApiVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiApiVersion + }).(pulumi.StringPtrOutput) } -// the timestamp of the last time changes were made to the model -func (o GetRegisteredModelModelInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiDeploymentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiDeploymentName + }).(pulumi.StringPtrOutput) } -// the identifier of the user who updated the model last time -func (o GetRegisteredModelModelInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) OpenaiOrganization() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig) *string { + return v.OpenaiOrganization + }).(pulumi.StringPtrOutput) } -type GetRegisteredModelModelInfoArrayOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput struct{ *pulumi.OutputState } -func (GetRegisteredModelModelInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegisteredModelModelInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig)(nil)).Elem() } -func (o GetRegisteredModelModelInfoArrayOutput) ToGetRegisteredModelModelInfoArrayOutput() GetRegisteredModelModelInfoArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput { return o } -func (o GetRegisteredModelModelInfoArrayOutput) ToGetRegisteredModelModelInfoArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput { return o } -func (o GetRegisteredModelModelInfoArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelModelInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelModelInfo { - return vs[0].([]GetRegisteredModelModelInfo)[vs[1].(int)] - }).(GetRegisteredModelModelInfoOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput) } -type GetRegisteredModelModelInfoAlias struct { - // string with the name of alias - AliasName *string `pulumi:"aliasName"` - // associated model version - VersionNum *int `pulumi:"versionNum"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig struct { + PalmApiKey *string `pulumi:"palmApiKey"` + PalmApiKeyPlaintext *string `pulumi:"palmApiKeyPlaintext"` } -// GetRegisteredModelModelInfoAliasInput is an input type that accepts GetRegisteredModelModelInfoAliasArgs and GetRegisteredModelModelInfoAliasOutput values. -// You can construct a concrete instance of `GetRegisteredModelModelInfoAliasInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs and GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInput` via: // -// GetRegisteredModelModelInfoAliasArgs{...} -type GetRegisteredModelModelInfoAliasInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs{...} +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInput interface { pulumi.Input - ToGetRegisteredModelModelInfoAliasOutput() GetRegisteredModelModelInfoAliasOutput - ToGetRegisteredModelModelInfoAliasOutputWithContext(context.Context) GetRegisteredModelModelInfoAliasOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput } -type GetRegisteredModelModelInfoAliasArgs struct { - // string with the name of alias - AliasName pulumi.StringPtrInput `pulumi:"aliasName"` - // associated model version - VersionNum pulumi.IntPtrInput `pulumi:"versionNum"` +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs struct { + PalmApiKey pulumi.StringPtrInput `pulumi:"palmApiKey"` + PalmApiKeyPlaintext pulumi.StringPtrInput `pulumi:"palmApiKeyPlaintext"` } -func (GetRegisteredModelModelInfoAliasArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegisteredModelModelInfoAlias)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (i GetRegisteredModelModelInfoAliasArgs) ToGetRegisteredModelModelInfoAliasOutput() GetRegisteredModelModelInfoAliasOutput { - return i.ToGetRegisteredModelModelInfoAliasOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutputWithContext(context.Background()) } -func (i GetRegisteredModelModelInfoAliasArgs) ToGetRegisteredModelModelInfoAliasOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoAliasOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) } -// GetRegisteredModelModelInfoAliasArrayInput is an input type that accepts GetRegisteredModelModelInfoAliasArray and GetRegisteredModelModelInfoAliasArrayOutput values. -// You can construct a concrete instance of `GetRegisteredModelModelInfoAliasArrayInput` via: +// GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray and GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayInput` via: // -// GetRegisteredModelModelInfoAliasArray{ GetRegisteredModelModelInfoAliasArgs{...} } -type GetRegisteredModelModelInfoAliasArrayInput interface { +// GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray{ GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayInput interface { pulumi.Input - ToGetRegisteredModelModelInfoAliasArrayOutput() GetRegisteredModelModelInfoAliasArrayOutput - ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(context.Context) GetRegisteredModelModelInfoAliasArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput } -type GetRegisteredModelModelInfoAliasArray []GetRegisteredModelModelInfoAliasInput +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray []GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInput -func (GetRegisteredModelModelInfoAliasArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegisteredModelModelInfoAlias)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (i GetRegisteredModelModelInfoAliasArray) ToGetRegisteredModelModelInfoAliasArrayOutput() GetRegisteredModelModelInfoAliasArrayOutput { - return i.ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutputWithContext(context.Background()) } -func (i GetRegisteredModelModelInfoAliasArray) ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegisteredModelModelInfoAliasArrayOutput) +func (i GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput) } -type GetRegisteredModelModelInfoAliasOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput struct{ *pulumi.OutputState } -func (GetRegisteredModelModelInfoAliasOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegisteredModelModelInfoAlias)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (o GetRegisteredModelModelInfoAliasOutput) ToGetRegisteredModelModelInfoAliasOutput() GetRegisteredModelModelInfoAliasOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput { return o } -func (o GetRegisteredModelModelInfoAliasOutput) ToGetRegisteredModelModelInfoAliasOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput { return o } -// string with the name of alias -func (o GetRegisteredModelModelInfoAliasOutput) AliasName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfoAlias) *string { return v.AliasName }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) PalmApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig) *string { + return v.PalmApiKey + }).(pulumi.StringPtrOutput) } -// associated model version -func (o GetRegisteredModelModelInfoAliasOutput) VersionNum() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetRegisteredModelModelInfoAlias) *int { return v.VersionNum }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) PalmApiKeyPlaintext() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig) *string { + return v.PalmApiKeyPlaintext + }).(pulumi.StringPtrOutput) } -type GetRegisteredModelModelInfoAliasArrayOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput struct{ *pulumi.OutputState } -func (GetRegisteredModelModelInfoAliasArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegisteredModelModelInfoAlias)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig)(nil)).Elem() } -func (o GetRegisteredModelModelInfoAliasArrayOutput) ToGetRegisteredModelModelInfoAliasArrayOutput() GetRegisteredModelModelInfoAliasArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput() GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput { return o } -func (o GetRegisteredModelModelInfoAliasArrayOutput) ToGetRegisteredModelModelInfoAliasArrayOutputWithContext(ctx context.Context) GetRegisteredModelModelInfoAliasArrayOutput { +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput { return o } -func (o GetRegisteredModelModelInfoAliasArrayOutput) Index(i pulumi.IntInput) GetRegisteredModelModelInfoAliasOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegisteredModelModelInfoAlias { - return vs[0].([]GetRegisteredModelModelInfoAlias)[vs[1].(int)] - }).(GetRegisteredModelModelInfoAliasOutput) +func (o GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput) } -type GetSchemaSchemaInfo struct { - // indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - BrowseOnly *bool `pulumi:"browseOnly"` - // the name of the catalog where the schema is. - CatalogName *string `pulumi:"catalogName"` - // the type of the parent catalog. - CatalogType *string `pulumi:"catalogType"` - // the comment attached to the volume - Comment *string `pulumi:"comment"` - // time at which this schema was created, in epoch milliseconds. - CreatedAt *int `pulumi:"createdAt"` - // username of schema creator. - CreatedBy *string `pulumi:"createdBy"` - // information about actual state of predictive optimization. - EffectivePredictiveOptimizationFlag *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag `pulumi:"effectivePredictiveOptimizationFlag"` - // whether predictive optimization should be enabled for this object and objects under it. - EnablePredictiveOptimization *string `pulumi:"enablePredictiveOptimization"` - // the two-level (fully qualified) name of the schema - FullName *string `pulumi:"fullName"` - // the unique identifier of the metastore - MetastoreId *string `pulumi:"metastoreId"` - // a fully qualified name of databricks_schema: *`catalog`.`schema`* +type GetServingEndpointsEndpointConfigServedEntityFoundationModel struct { + Description *string `pulumi:"description"` + DisplayName *string `pulumi:"displayName"` + Docs *string `pulumi:"docs"` + // The name of the model serving endpoint. Name *string `pulumi:"name"` - // the identifier of the user who owns the schema - Owner *string `pulumi:"owner"` - // map of properties set on the schema - Properties map[string]string `pulumi:"properties"` - // the unique identifier of the volume - SchemaId *string `pulumi:"schemaId"` - // the storage location on the cloud. - StorageLocation *string `pulumi:"storageLocation"` - // storage root URL for managed tables within schema. - StorageRoot *string `pulumi:"storageRoot"` - // the timestamp of the last time changes were made to the schema - UpdatedAt *int `pulumi:"updatedAt"` - // the identifier of the user who updated the schema last time - UpdatedBy *string `pulumi:"updatedBy"` } -// GetSchemaSchemaInfoInput is an input type that accepts GetSchemaSchemaInfoArgs and GetSchemaSchemaInfoOutput values. -// You can construct a concrete instance of `GetSchemaSchemaInfoInput` via: +// GetServingEndpointsEndpointConfigServedEntityFoundationModelInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs and GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityFoundationModelInput` via: // -// GetSchemaSchemaInfoArgs{...} -type GetSchemaSchemaInfoInput interface { +// GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs{...} +type GetServingEndpointsEndpointConfigServedEntityFoundationModelInput interface { pulumi.Input - ToGetSchemaSchemaInfoOutput() GetSchemaSchemaInfoOutput - ToGetSchemaSchemaInfoOutputWithContext(context.Context) GetSchemaSchemaInfoOutput + ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutput() GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput + ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput } -type GetSchemaSchemaInfoArgs struct { - // indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - BrowseOnly pulumi.BoolPtrInput `pulumi:"browseOnly"` - // the name of the catalog where the schema is. - CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` - // the type of the parent catalog. - CatalogType pulumi.StringPtrInput `pulumi:"catalogType"` - // the comment attached to the volume - Comment pulumi.StringPtrInput `pulumi:"comment"` - // time at which this schema was created, in epoch milliseconds. - CreatedAt pulumi.IntPtrInput `pulumi:"createdAt"` - // username of schema creator. - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - // information about actual state of predictive optimization. - EffectivePredictiveOptimizationFlag GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput `pulumi:"effectivePredictiveOptimizationFlag"` - // whether predictive optimization should be enabled for this object and objects under it. - EnablePredictiveOptimization pulumi.StringPtrInput `pulumi:"enablePredictiveOptimization"` - // the two-level (fully qualified) name of the schema - FullName pulumi.StringPtrInput `pulumi:"fullName"` - // the unique identifier of the metastore - MetastoreId pulumi.StringPtrInput `pulumi:"metastoreId"` - // a fully qualified name of databricks_schema: *`catalog`.`schema`* +type GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs struct { + Description pulumi.StringPtrInput `pulumi:"description"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Docs pulumi.StringPtrInput `pulumi:"docs"` + // The name of the model serving endpoint. Name pulumi.StringPtrInput `pulumi:"name"` - // the identifier of the user who owns the schema - Owner pulumi.StringPtrInput `pulumi:"owner"` - // map of properties set on the schema - Properties pulumi.StringMapInput `pulumi:"properties"` - // the unique identifier of the volume - SchemaId pulumi.StringPtrInput `pulumi:"schemaId"` - // the storage location on the cloud. - StorageLocation pulumi.StringPtrInput `pulumi:"storageLocation"` - // storage root URL for managed tables within schema. - StorageRoot pulumi.StringPtrInput `pulumi:"storageRoot"` - // the timestamp of the last time changes were made to the schema - UpdatedAt pulumi.IntPtrInput `pulumi:"updatedAt"` - // the identifier of the user who updated the schema last time - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` -} - -func (GetSchemaSchemaInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaSchemaInfo)(nil)).Elem() -} - -func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoOutput() GetSchemaSchemaInfoOutput { - return i.ToGetSchemaSchemaInfoOutputWithContext(context.Background()) } -func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoOutputWithContext(ctx context.Context) GetSchemaSchemaInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoOutput) +func (GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityFoundationModel)(nil)).Elem() } -func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { - return i.ToGetSchemaSchemaInfoPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutput() GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutputWithContext(context.Background()) } -func (i GetSchemaSchemaInfoArgs) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoOutput).ToGetSchemaSchemaInfoPtrOutputWithContext(ctx) +func (i GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) } -// GetSchemaSchemaInfoPtrInput is an input type that accepts GetSchemaSchemaInfoArgs, GetSchemaSchemaInfoPtr and GetSchemaSchemaInfoPtrOutput values. -// You can construct a concrete instance of `GetSchemaSchemaInfoPtrInput` via: -// -// GetSchemaSchemaInfoArgs{...} -// -// or: +// GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedEntityFoundationModelArray and GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayInput` via: // -// nil -type GetSchemaSchemaInfoPtrInput interface { +// GetServingEndpointsEndpointConfigServedEntityFoundationModelArray{ GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs{...} } +type GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayInput interface { pulumi.Input - ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput - ToGetSchemaSchemaInfoPtrOutputWithContext(context.Context) GetSchemaSchemaInfoPtrOutput + ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput() GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput + ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput } -type getSchemaSchemaInfoPtrType GetSchemaSchemaInfoArgs - -func GetSchemaSchemaInfoPtr(v *GetSchemaSchemaInfoArgs) GetSchemaSchemaInfoPtrInput { - return (*getSchemaSchemaInfoPtrType)(v) -} +type GetServingEndpointsEndpointConfigServedEntityFoundationModelArray []GetServingEndpointsEndpointConfigServedEntityFoundationModelInput -func (*getSchemaSchemaInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSchemaSchemaInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityFoundationModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityFoundationModel)(nil)).Elem() } -func (i *getSchemaSchemaInfoPtrType) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { - return i.ToGetSchemaSchemaInfoPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointConfigServedEntityFoundationModelArray) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput() GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutputWithContext(context.Background()) } -func (i *getSchemaSchemaInfoPtrType) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoPtrOutput) +func (i GetServingEndpointsEndpointConfigServedEntityFoundationModelArray) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput) } -type GetSchemaSchemaInfoOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput struct{ *pulumi.OutputState } -func (GetSchemaSchemaInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaSchemaInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityFoundationModel)(nil)).Elem() } -func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoOutput() GetSchemaSchemaInfoOutput { +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutput() GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput { return o } -func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoOutputWithContext(ctx context.Context) GetSchemaSchemaInfoOutput { +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput { return o } -func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { - return o.ToGetSchemaSchemaInfoPtrOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityFoundationModel) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetSchemaSchemaInfoOutput) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaSchemaInfo) *GetSchemaSchemaInfo { - return &v - }).(GetSchemaSchemaInfoPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityFoundationModel) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } -// indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. -func (o GetSchemaSchemaInfoOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *bool { return v.BrowseOnly }).(pulumi.BoolPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) Docs() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityFoundationModel) *string { return v.Docs }).(pulumi.StringPtrOutput) } -// the name of the catalog where the schema is. -func (o GetSchemaSchemaInfoOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +// The name of the model serving endpoint. +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedEntityFoundationModel) *string { return v.Name }).(pulumi.StringPtrOutput) } -// the type of the parent catalog. -func (o GetSchemaSchemaInfoOutput) CatalogType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.CatalogType }).(pulumi.StringPtrOutput) -} +type GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput struct{ *pulumi.OutputState } -// the comment attached to the volume -func (o GetSchemaSchemaInfoOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.Comment }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedEntityFoundationModel)(nil)).Elem() } -// time at which this schema was created, in epoch milliseconds. -func (o GetSchemaSchemaInfoOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *int { return v.CreatedAt }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput() GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput { + return o } -// username of schema creator. -func (o GetSchemaSchemaInfoOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput) ToGetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput { + return o } -// information about actual state of predictive optimization. -func (o GetSchemaSchemaInfoOutput) EffectivePredictiveOptimizationFlag() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { - return v.EffectivePredictiveOptimizationFlag - }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (o GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedEntityFoundationModel { + return vs[0].([]GetServingEndpointsEndpointConfigServedEntityFoundationModel)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput) } -// whether predictive optimization should be enabled for this object and objects under it. -func (o GetSchemaSchemaInfoOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.EnablePredictiveOptimization }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedModel struct { + ModelName *string `pulumi:"modelName"` + ModelVersion *string `pulumi:"modelVersion"` + // The name of the model serving endpoint. + Name *string `pulumi:"name"` } -// the two-level (fully qualified) name of the schema -func (o GetSchemaSchemaInfoOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.FullName }).(pulumi.StringPtrOutput) -} +// GetServingEndpointsEndpointConfigServedModelInput is an input type that accepts GetServingEndpointsEndpointConfigServedModelArgs and GetServingEndpointsEndpointConfigServedModelOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedModelInput` via: +// +// GetServingEndpointsEndpointConfigServedModelArgs{...} +type GetServingEndpointsEndpointConfigServedModelInput interface { + pulumi.Input -// the unique identifier of the metastore -func (o GetSchemaSchemaInfoOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.MetastoreId }).(pulumi.StringPtrOutput) + ToGetServingEndpointsEndpointConfigServedModelOutput() GetServingEndpointsEndpointConfigServedModelOutput + ToGetServingEndpointsEndpointConfigServedModelOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedModelOutput } -// a fully qualified name of databricks_schema: *`catalog`.`schema`* -func (o GetSchemaSchemaInfoOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.Name }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedModelArgs struct { + ModelName pulumi.StringPtrInput `pulumi:"modelName"` + ModelVersion pulumi.StringPtrInput `pulumi:"modelVersion"` + // The name of the model serving endpoint. + Name pulumi.StringPtrInput `pulumi:"name"` } -// the identifier of the user who owns the schema -func (o GetSchemaSchemaInfoOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.Owner }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedModel)(nil)).Elem() } -// map of properties set on the schema -func (o GetSchemaSchemaInfoOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) map[string]string { return v.Properties }).(pulumi.StringMapOutput) +func (i GetServingEndpointsEndpointConfigServedModelArgs) ToGetServingEndpointsEndpointConfigServedModelOutput() GetServingEndpointsEndpointConfigServedModelOutput { + return i.ToGetServingEndpointsEndpointConfigServedModelOutputWithContext(context.Background()) } -// the unique identifier of the volume -func (o GetSchemaSchemaInfoOutput) SchemaId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.SchemaId }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedModelArgs) ToGetServingEndpointsEndpointConfigServedModelOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedModelOutput) } -// the storage location on the cloud. -func (o GetSchemaSchemaInfoOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.StorageLocation }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointConfigServedModelArrayInput is an input type that accepts GetServingEndpointsEndpointConfigServedModelArray and GetServingEndpointsEndpointConfigServedModelArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointConfigServedModelArrayInput` via: +// +// GetServingEndpointsEndpointConfigServedModelArray{ GetServingEndpointsEndpointConfigServedModelArgs{...} } +type GetServingEndpointsEndpointConfigServedModelArrayInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointConfigServedModelArrayOutput() GetServingEndpointsEndpointConfigServedModelArrayOutput + ToGetServingEndpointsEndpointConfigServedModelArrayOutputWithContext(context.Context) GetServingEndpointsEndpointConfigServedModelArrayOutput } -// storage root URL for managed tables within schema. -func (o GetSchemaSchemaInfoOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.StorageRoot }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointConfigServedModelArray []GetServingEndpointsEndpointConfigServedModelInput + +func (GetServingEndpointsEndpointConfigServedModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedModel)(nil)).Elem() } -// the timestamp of the last time changes were made to the schema -func (o GetSchemaSchemaInfoOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *int { return v.UpdatedAt }).(pulumi.IntPtrOutput) +func (i GetServingEndpointsEndpointConfigServedModelArray) ToGetServingEndpointsEndpointConfigServedModelArrayOutput() GetServingEndpointsEndpointConfigServedModelArrayOutput { + return i.ToGetServingEndpointsEndpointConfigServedModelArrayOutputWithContext(context.Background()) } -// the identifier of the user who updated the schema last time -func (o GetSchemaSchemaInfoOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfo) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointConfigServedModelArray) ToGetServingEndpointsEndpointConfigServedModelArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointConfigServedModelArrayOutput) } -type GetSchemaSchemaInfoPtrOutput struct{ *pulumi.OutputState } +type GetServingEndpointsEndpointConfigServedModelOutput struct{ *pulumi.OutputState } -func (GetSchemaSchemaInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSchemaSchemaInfo)(nil)).Elem() +func (GetServingEndpointsEndpointConfigServedModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointConfigServedModel)(nil)).Elem() } -func (o GetSchemaSchemaInfoPtrOutput) ToGetSchemaSchemaInfoPtrOutput() GetSchemaSchemaInfoPtrOutput { +func (o GetServingEndpointsEndpointConfigServedModelOutput) ToGetServingEndpointsEndpointConfigServedModelOutput() GetServingEndpointsEndpointConfigServedModelOutput { return o } -func (o GetSchemaSchemaInfoPtrOutput) ToGetSchemaSchemaInfoPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoPtrOutput { +func (o GetServingEndpointsEndpointConfigServedModelOutput) ToGetServingEndpointsEndpointConfigServedModelOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedModelOutput { return o } -func (o GetSchemaSchemaInfoPtrOutput) Elem() GetSchemaSchemaInfoOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) GetSchemaSchemaInfo { - if v != nil { - return *v - } - var ret GetSchemaSchemaInfo - return ret - }).(GetSchemaSchemaInfoOutput) +func (o GetServingEndpointsEndpointConfigServedModelOutput) ModelName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedModel) *string { return v.ModelName }).(pulumi.StringPtrOutput) } -// indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. -func (o GetSchemaSchemaInfoPtrOutput) BrowseOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *bool { - if v == nil { - return nil - } - return v.BrowseOnly - }).(pulumi.BoolPtrOutput) +func (o GetServingEndpointsEndpointConfigServedModelOutput) ModelVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedModel) *string { return v.ModelVersion }).(pulumi.StringPtrOutput) } -// the name of the catalog where the schema is. -func (o GetSchemaSchemaInfoPtrOutput) CatalogName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.CatalogName - }).(pulumi.StringPtrOutput) +// The name of the model serving endpoint. +func (o GetServingEndpointsEndpointConfigServedModelOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointConfigServedModel) *string { return v.Name }).(pulumi.StringPtrOutput) } -// the type of the parent catalog. -func (o GetSchemaSchemaInfoPtrOutput) CatalogType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.CatalogType - }).(pulumi.StringPtrOutput) -} +type GetServingEndpointsEndpointConfigServedModelArrayOutput struct{ *pulumi.OutputState } -// the comment attached to the volume -func (o GetSchemaSchemaInfoPtrOutput) Comment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.Comment - }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointConfigServedModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointConfigServedModel)(nil)).Elem() } -// time at which this schema was created, in epoch milliseconds. -func (o GetSchemaSchemaInfoPtrOutput) CreatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *int { - if v == nil { - return nil - } - return v.CreatedAt - }).(pulumi.IntPtrOutput) +func (o GetServingEndpointsEndpointConfigServedModelArrayOutput) ToGetServingEndpointsEndpointConfigServedModelArrayOutput() GetServingEndpointsEndpointConfigServedModelArrayOutput { + return o } -// username of schema creator. -func (o GetSchemaSchemaInfoPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointConfigServedModelArrayOutput) ToGetServingEndpointsEndpointConfigServedModelArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointConfigServedModelArrayOutput { + return o } -// information about actual state of predictive optimization. -func (o GetSchemaSchemaInfoPtrOutput) EffectivePredictiveOptimizationFlag() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { - if v == nil { - return nil - } - return v.EffectivePredictiveOptimizationFlag - }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (o GetServingEndpointsEndpointConfigServedModelArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointConfigServedModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointConfigServedModel { + return vs[0].([]GetServingEndpointsEndpointConfigServedModel)[vs[1].(int)] + }).(GetServingEndpointsEndpointConfigServedModelOutput) } -// whether predictive optimization should be enabled for this object and objects under it. -func (o GetSchemaSchemaInfoPtrOutput) EnablePredictiveOptimization() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.EnablePredictiveOptimization - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointState struct { + ConfigUpdate *string `pulumi:"configUpdate"` + Ready *string `pulumi:"ready"` } -// the two-level (fully qualified) name of the schema -func (o GetSchemaSchemaInfoPtrOutput) FullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.FullName - }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointStateInput is an input type that accepts GetServingEndpointsEndpointStateArgs and GetServingEndpointsEndpointStateOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointStateInput` via: +// +// GetServingEndpointsEndpointStateArgs{...} +type GetServingEndpointsEndpointStateInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointStateOutput() GetServingEndpointsEndpointStateOutput + ToGetServingEndpointsEndpointStateOutputWithContext(context.Context) GetServingEndpointsEndpointStateOutput } -// the unique identifier of the metastore -func (o GetSchemaSchemaInfoPtrOutput) MetastoreId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.MetastoreId - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointStateArgs struct { + ConfigUpdate pulumi.StringPtrInput `pulumi:"configUpdate"` + Ready pulumi.StringPtrInput `pulumi:"ready"` } -// a fully qualified name of databricks_schema: *`catalog`.`schema`* -func (o GetSchemaSchemaInfoPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointStateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointState)(nil)).Elem() } -// the identifier of the user who owns the schema -func (o GetSchemaSchemaInfoPtrOutput) Owner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.Owner - }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointStateArgs) ToGetServingEndpointsEndpointStateOutput() GetServingEndpointsEndpointStateOutput { + return i.ToGetServingEndpointsEndpointStateOutputWithContext(context.Background()) } -// map of properties set on the schema -func (o GetSchemaSchemaInfoPtrOutput) Properties() pulumi.StringMapOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) map[string]string { - if v == nil { - return nil - } - return v.Properties - }).(pulumi.StringMapOutput) +func (i GetServingEndpointsEndpointStateArgs) ToGetServingEndpointsEndpointStateOutputWithContext(ctx context.Context) GetServingEndpointsEndpointStateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointStateOutput) } -// the unique identifier of the volume -func (o GetSchemaSchemaInfoPtrOutput) SchemaId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.SchemaId - }).(pulumi.StringPtrOutput) +// GetServingEndpointsEndpointStateArrayInput is an input type that accepts GetServingEndpointsEndpointStateArray and GetServingEndpointsEndpointStateArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointStateArrayInput` via: +// +// GetServingEndpointsEndpointStateArray{ GetServingEndpointsEndpointStateArgs{...} } +type GetServingEndpointsEndpointStateArrayInput interface { + pulumi.Input + + ToGetServingEndpointsEndpointStateArrayOutput() GetServingEndpointsEndpointStateArrayOutput + ToGetServingEndpointsEndpointStateArrayOutputWithContext(context.Context) GetServingEndpointsEndpointStateArrayOutput } -// the storage location on the cloud. -func (o GetSchemaSchemaInfoPtrOutput) StorageLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.StorageLocation - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointStateArray []GetServingEndpointsEndpointStateInput + +func (GetServingEndpointsEndpointStateArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointState)(nil)).Elem() } -// storage root URL for managed tables within schema. -func (o GetSchemaSchemaInfoPtrOutput) StorageRoot() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.StorageRoot - }).(pulumi.StringPtrOutput) +func (i GetServingEndpointsEndpointStateArray) ToGetServingEndpointsEndpointStateArrayOutput() GetServingEndpointsEndpointStateArrayOutput { + return i.ToGetServingEndpointsEndpointStateArrayOutputWithContext(context.Background()) } -// the timestamp of the last time changes were made to the schema -func (o GetSchemaSchemaInfoPtrOutput) UpdatedAt() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *int { - if v == nil { - return nil - } - return v.UpdatedAt - }).(pulumi.IntPtrOutput) +func (i GetServingEndpointsEndpointStateArray) ToGetServingEndpointsEndpointStateArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointStateArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointStateArrayOutput) } -// the identifier of the user who updated the schema last time -func (o GetSchemaSchemaInfoPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfo) *string { - if v == nil { - return nil - } - return v.UpdatedBy - }).(pulumi.StringPtrOutput) +type GetServingEndpointsEndpointStateOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointStateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointState)(nil)).Elem() } -type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag struct { - InheritedFromName *string `pulumi:"inheritedFromName"` - InheritedFromType *string `pulumi:"inheritedFromType"` - Value string `pulumi:"value"` +func (o GetServingEndpointsEndpointStateOutput) ToGetServingEndpointsEndpointStateOutput() GetServingEndpointsEndpointStateOutput { + return o } -// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput is an input type that accepts GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs and GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput values. -// You can construct a concrete instance of `GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput` via: -// -// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs{...} -type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput interface { - pulumi.Input +func (o GetServingEndpointsEndpointStateOutput) ToGetServingEndpointsEndpointStateOutputWithContext(ctx context.Context) GetServingEndpointsEndpointStateOutput { + return o +} - ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput - ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput +func (o GetServingEndpointsEndpointStateOutput) ConfigUpdate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointState) *string { return v.ConfigUpdate }).(pulumi.StringPtrOutput) } -type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs struct { - InheritedFromName pulumi.StringPtrInput `pulumi:"inheritedFromName"` - InheritedFromType pulumi.StringPtrInput `pulumi:"inheritedFromType"` - Value pulumi.StringInput `pulumi:"value"` +func (o GetServingEndpointsEndpointStateOutput) Ready() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointState) *string { return v.Ready }).(pulumi.StringPtrOutput) } -func (GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +type GetServingEndpointsEndpointStateArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointStateArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointState)(nil)).Elem() } -func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { - return i.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointStateArrayOutput) ToGetServingEndpointsEndpointStateArrayOutput() GetServingEndpointsEndpointStateArrayOutput { + return o } -func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) +func (o GetServingEndpointsEndpointStateArrayOutput) ToGetServingEndpointsEndpointStateArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointStateArrayOutput { + return o } -func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return i.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (o GetServingEndpointsEndpointStateArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointStateOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointState { + return vs[0].([]GetServingEndpointsEndpointState)[vs[1].(int)] + }).(GetServingEndpointsEndpointStateOutput) } -func (i GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput).ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx) +type GetServingEndpointsEndpointTag struct { + Key string `pulumi:"key"` + Value *string `pulumi:"value"` } -// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput is an input type that accepts GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs, GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtr and GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput values. -// You can construct a concrete instance of `GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput` via: -// -// GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs{...} -// -// or: +// GetServingEndpointsEndpointTagInput is an input type that accepts GetServingEndpointsEndpointTagArgs and GetServingEndpointsEndpointTagOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointTagInput` via: // -// nil -type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput interface { +// GetServingEndpointsEndpointTagArgs{...} +type GetServingEndpointsEndpointTagInput interface { pulumi.Input - ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput - ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput + ToGetServingEndpointsEndpointTagOutput() GetServingEndpointsEndpointTagOutput + ToGetServingEndpointsEndpointTagOutputWithContext(context.Context) GetServingEndpointsEndpointTagOutput } -type getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs - -func GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtr(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput { - return (*getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType)(v) +type GetServingEndpointsEndpointTagArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (*getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (GetServingEndpointsEndpointTagArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointTag)(nil)).Elem() } -func (i *getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return i.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointTagArgs) ToGetServingEndpointsEndpointTagOutput() GetServingEndpointsEndpointTagOutput { + return i.ToGetServingEndpointsEndpointTagOutputWithContext(context.Background()) } -func (i *getSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrType) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (i GetServingEndpointsEndpointTagArgs) ToGetServingEndpointsEndpointTagOutputWithContext(ctx context.Context) GetServingEndpointsEndpointTagOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointTagOutput) } -type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput struct{ *pulumi.OutputState } +// GetServingEndpointsEndpointTagArrayInput is an input type that accepts GetServingEndpointsEndpointTagArray and GetServingEndpointsEndpointTagArrayOutput values. +// You can construct a concrete instance of `GetServingEndpointsEndpointTagArrayInput` via: +// +// GetServingEndpointsEndpointTagArray{ GetServingEndpointsEndpointTagArgs{...} } +type GetServingEndpointsEndpointTagArrayInput interface { + pulumi.Input -func (GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() + ToGetServingEndpointsEndpointTagArrayOutput() GetServingEndpointsEndpointTagArrayOutput + ToGetServingEndpointsEndpointTagArrayOutputWithContext(context.Context) GetServingEndpointsEndpointTagArrayOutput } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { - return o -} +type GetServingEndpointsEndpointTagArray []GetServingEndpointsEndpointTagInput -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { - return o +func (GetServingEndpointsEndpointTagArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointTag)(nil)).Elem() } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(context.Background()) +func (i GetServingEndpointsEndpointTagArray) ToGetServingEndpointsEndpointTagArrayOutput() GetServingEndpointsEndpointTagArrayOutput { + return i.ToGetServingEndpointsEndpointTagArrayOutputWithContext(context.Background()) } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { - return &v - }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) +func (i GetServingEndpointsEndpointTagArray) ToGetServingEndpointsEndpointTagArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointTagArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServingEndpointsEndpointTagArrayOutput) } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromName }).(pulumi.StringPtrOutput) -} +type GetServingEndpointsEndpointTagOutput struct{ *pulumi.OutputState } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) InheritedFromType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { return v.InheritedFromType }).(pulumi.StringPtrOutput) +func (GetServingEndpointsEndpointTagOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServingEndpointsEndpointTag)(nil)).Elem() } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) string { return v.Value }).(pulumi.StringOutput) +func (o GetServingEndpointsEndpointTagOutput) ToGetServingEndpointsEndpointTagOutput() GetServingEndpointsEndpointTagOutput { + return o } -type GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput struct{ *pulumi.OutputState } - -func (GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag)(nil)).Elem() +func (o GetServingEndpointsEndpointTagOutput) ToGetServingEndpointsEndpointTagOutputWithContext(ctx context.Context) GetServingEndpointsEndpointTagOutput { + return o } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o +func (o GetServingEndpointsEndpointTagOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointTag) string { return v.Key }).(pulumi.StringOutput) } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) ToGetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutputWithContext(ctx context.Context) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput { - return o +func (o GetServingEndpointsEndpointTagOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServingEndpointsEndpointTag) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) Elem() GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { - if v != nil { - return *v - } - var ret GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag - return ret - }).(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput) +type GetServingEndpointsEndpointTagArrayOutput struct{ *pulumi.OutputState } + +func (GetServingEndpointsEndpointTagArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServingEndpointsEndpointTag)(nil)).Elem() } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { - if v == nil { - return nil - } - return v.InheritedFromName - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointTagArrayOutput) ToGetServingEndpointsEndpointTagArrayOutput() GetServingEndpointsEndpointTagArrayOutput { + return o } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) InheritedFromType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { - if v == nil { - return nil - } - return v.InheritedFromType - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointTagArrayOutput) ToGetServingEndpointsEndpointTagArrayOutputWithContext(ctx context.Context) GetServingEndpointsEndpointTagArrayOutput { + return o } -func (o GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag) *string { - if v == nil { - return nil - } - return &v.Value - }).(pulumi.StringPtrOutput) +func (o GetServingEndpointsEndpointTagArrayOutput) Index(i pulumi.IntInput) GetServingEndpointsEndpointTagOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServingEndpointsEndpointTag { + return vs[0].([]GetServingEndpointsEndpointTag)[vs[1].(int)] + }).(GetServingEndpointsEndpointTagOutput) } type GetShareObject struct { @@ -50827,6 +62691,83 @@ func (o GetVolumeVolumeInfoEncryptionDetailsSseEncryptionDetailsPtrOutput) AwsKm } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppInput)(nil)).Elem(), GetAppAppArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppActiveDeploymentInput)(nil)).Elem(), GetAppAppActiveDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppActiveDeploymentDeploymentArtifactsInput)(nil)).Elem(), GetAppAppActiveDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppActiveDeploymentStatusInput)(nil)).Elem(), GetAppAppActiveDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppAppStatusInput)(nil)).Elem(), GetAppAppAppStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppComputeStatusInput)(nil)).Elem(), GetAppAppComputeStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppPendingDeploymentInput)(nil)).Elem(), GetAppAppPendingDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppPendingDeploymentDeploymentArtifactsInput)(nil)).Elem(), GetAppAppPendingDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppPendingDeploymentStatusInput)(nil)).Elem(), GetAppAppPendingDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceInput)(nil)).Elem(), GetAppAppResourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceArrayInput)(nil)).Elem(), GetAppAppResourceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceJobInput)(nil)).Elem(), GetAppAppResourceJobArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceJobPtrInput)(nil)).Elem(), GetAppAppResourceJobArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceSecretInput)(nil)).Elem(), GetAppAppResourceSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceSecretPtrInput)(nil)).Elem(), GetAppAppResourceSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceServingEndpointInput)(nil)).Elem(), GetAppAppResourceServingEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceServingEndpointPtrInput)(nil)).Elem(), GetAppAppResourceServingEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceSqlWarehouseInput)(nil)).Elem(), GetAppAppResourceSqlWarehouseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppAppResourceSqlWarehousePtrInput)(nil)).Elem(), GetAppAppResourceSqlWarehouseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppInput)(nil)).Elem(), GetAppsAppArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppArrayInput)(nil)).Elem(), GetAppsAppArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppActiveDeploymentInput)(nil)).Elem(), GetAppsAppActiveDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppActiveDeploymentDeploymentArtifactsInput)(nil)).Elem(), GetAppsAppActiveDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppActiveDeploymentStatusInput)(nil)).Elem(), GetAppsAppActiveDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppAppStatusInput)(nil)).Elem(), GetAppsAppAppStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppComputeStatusInput)(nil)).Elem(), GetAppsAppComputeStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppPendingDeploymentInput)(nil)).Elem(), GetAppsAppPendingDeploymentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppPendingDeploymentDeploymentArtifactsInput)(nil)).Elem(), GetAppsAppPendingDeploymentDeploymentArtifactsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppPendingDeploymentStatusInput)(nil)).Elem(), GetAppsAppPendingDeploymentStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceInput)(nil)).Elem(), GetAppsAppResourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceArrayInput)(nil)).Elem(), GetAppsAppResourceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceJobInput)(nil)).Elem(), GetAppsAppResourceJobArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceJobPtrInput)(nil)).Elem(), GetAppsAppResourceJobArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceSecretInput)(nil)).Elem(), GetAppsAppResourceSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceSecretPtrInput)(nil)).Elem(), GetAppsAppResourceSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceServingEndpointInput)(nil)).Elem(), GetAppsAppResourceServingEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceServingEndpointPtrInput)(nil)).Elem(), GetAppsAppResourceServingEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceSqlWarehouseInput)(nil)).Elem(), GetAppsAppResourceSqlWarehouseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppResourceSqlWarehousePtrInput)(nil)).Elem(), GetAppsAppResourceSqlWarehouseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoInput)(nil)).Elem(), GetCatalogCatalogInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoPtrInput)(nil)).Elem(), GetCatalogCatalogInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagInput)(nil)).Elem(), GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrInput)(nil)).Elem(), GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfoInput)(nil)).Elem(), GetCatalogCatalogInfoProvisioningInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCatalogCatalogInfoProvisioningInfoPtrInput)(nil)).Elem(), GetCatalogCatalogInfoProvisioningInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoPtrInput)(nil)).Elem(), GetClusterClusterInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAutoscaleInput)(nil)).Elem(), GetClusterClusterInfoAutoscaleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAutoscalePtrInput)(nil)).Elem(), GetClusterClusterInfoAutoscaleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAwsAttributesInput)(nil)).Elem(), GetClusterClusterInfoAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAwsAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfoInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrInput)(nil)).Elem(), GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfPtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfsInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfDbfsPtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfDbfsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3Input)(nil)).Elem(), GetClusterClusterInfoClusterLogConfS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogConfS3PtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogConfS3Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogStatusInput)(nil)).Elem(), GetClusterClusterInfoClusterLogStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoClusterLogStatusPtrInput)(nil)).Elem(), GetClusterClusterInfoClusterLogStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImageInput)(nil)).Elem(), GetClusterClusterInfoDockerImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImagePtrInput)(nil)).Elem(), GetClusterClusterInfoDockerImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuthInput)(nil)).Elem(), GetClusterClusterInfoDockerImageBasicAuthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDockerImageBasicAuthPtrInput)(nil)).Elem(), GetClusterClusterInfoDockerImageBasicAuthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverInput)(nil)).Elem(), GetClusterClusterInfoDriverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverPtrInput)(nil)).Elem(), GetClusterClusterInfoDriverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributesInput)(nil)).Elem(), GetClusterClusterInfoDriverNodeAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoDriverNodeAwsAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoDriverNodeAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorInput)(nil)).Elem(), GetClusterClusterInfoExecutorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorArrayInput)(nil)).Elem(), GetClusterClusterInfoExecutorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributesInput)(nil)).Elem(), GetClusterClusterInfoExecutorNodeAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoExecutorNodeAwsAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoExecutorNodeAwsAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoGcpAttributesInput)(nil)).Elem(), GetClusterClusterInfoGcpAttributesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoGcpAttributesPtrInput)(nil)).Elem(), GetClusterClusterInfoGcpAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoInitScriptInput)(nil)).Elem(), GetClusterClusterInfoInitScriptArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoInitScriptArrayInput)(nil)).Elem(), GetClusterClusterInfoInitScriptArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterClusterInfoInitScriptAbfssInput)(nil)).Elem(), GetClusterClusterInfoInitScriptAbfssArgs{}) @@ -50916,22 +62857,22 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrInput)(nil)).Elem(), GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInput)(nil)).Elem(), GetFunctionsFunctionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionArrayInput)(nil)).Elem(), GetFunctionsFunctionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamsInput)(nil)).Elem(), GetFunctionsFunctionInputParamsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamsPtrInput)(nil)).Elem(), GetFunctionsFunctionInputParamsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamsParameterInput)(nil)).Elem(), GetFunctionsFunctionInputParamsParameterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamsParameterArrayInput)(nil)).Elem(), GetFunctionsFunctionInputParamsParameterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamsInput)(nil)).Elem(), GetFunctionsFunctionReturnParamsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamsPtrInput)(nil)).Elem(), GetFunctionsFunctionReturnParamsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamsParameterInput)(nil)).Elem(), GetFunctionsFunctionReturnParamsParameterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamsParameterArrayInput)(nil)).Elem(), GetFunctionsFunctionReturnParamsParameterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesPtrInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesDependencyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyArrayInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesDependencyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyFunctionInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyTableInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesDependencyTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependenciesDependencyTablePtrInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependenciesDependencyTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamInput)(nil)).Elem(), GetFunctionsFunctionInputParamArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamArrayInput)(nil)).Elem(), GetFunctionsFunctionInputParamArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamParameterInput)(nil)).Elem(), GetFunctionsFunctionInputParamParameterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionInputParamParameterArrayInput)(nil)).Elem(), GetFunctionsFunctionInputParamParameterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamInput)(nil)).Elem(), GetFunctionsFunctionReturnParamArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamArrayInput)(nil)).Elem(), GetFunctionsFunctionReturnParamArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamParameterInput)(nil)).Elem(), GetFunctionsFunctionReturnParamParameterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionReturnParamParameterArrayInput)(nil)).Elem(), GetFunctionsFunctionReturnParamParameterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyArrayInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyDependencyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyArrayInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyDependencyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyFunctionInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyDependencyFunctionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyTableInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyDependencyTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetFunctionsFunctionRoutineDependencyDependencyTableArrayInput)(nil)).Elem(), GetFunctionsFunctionRoutineDependencyDependencyTableArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInstancePoolPoolInfoInput)(nil)).Elem(), GetInstancePoolPoolInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInstancePoolPoolInfoPtrInput)(nil)).Elem(), GetInstancePoolPoolInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInstancePoolPoolInfoAwsAttributesInput)(nil)).Elem(), GetInstancePoolPoolInfoAwsAttributesArgs{}) @@ -51349,6 +63290,18 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowModelLatestVersionTagArrayInput)(nil)).Elem(), GetMlflowModelLatestVersionTagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowModelTagInput)(nil)).Elem(), GetMlflowModelTagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMlflowModelTagArrayInput)(nil)).Elem(), GetMlflowModelTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigPtrInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRulesInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayInput)(nil)).Elem(), GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNotebookPathsNotebookPathListInput)(nil)).Elem(), GetNotebookPathsNotebookPathListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNotebookPathsNotebookPathListArrayInput)(nil)).Elem(), GetNotebookPathsNotebookPathListArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNotificationDestinationsNotificationDestinationInput)(nil)).Elem(), GetNotificationDestinationsNotificationDestinationArgs{}) @@ -51357,10 +63310,72 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelModelInfoArrayInput)(nil)).Elem(), GetRegisteredModelModelInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelModelInfoAliasInput)(nil)).Elem(), GetRegisteredModelModelInfoAliasArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelModelInfoAliasArrayInput)(nil)).Elem(), GetRegisteredModelModelInfoAliasArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionArrayInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionAliasInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionAliasArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionAliasArrayInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionAliasArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayInput)(nil)).Elem(), GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaInfoInput)(nil)).Elem(), GetSchemaSchemaInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaInfoPtrInput)(nil)).Elem(), GetSchemaSchemaInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagInput)(nil)).Elem(), GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrInput)(nil)).Elem(), GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointInput)(nil)).Elem(), GetServingEndpointsEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointArrayInput)(nil)).Elem(), GetServingEndpointsEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayInferenceTableConfigInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayInferenceTableConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayRateLimitInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayRateLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayRateLimitArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayRateLimitArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayUsageTrackingConfigInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityFoundationModelInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedEntityFoundationModelArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedModelInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointConfigServedModelArrayInput)(nil)).Elem(), GetServingEndpointsEndpointConfigServedModelArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointStateInput)(nil)).Elem(), GetServingEndpointsEndpointStateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointStateArrayInput)(nil)).Elem(), GetServingEndpointsEndpointStateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointTagInput)(nil)).Elem(), GetServingEndpointsEndpointTagArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServingEndpointsEndpointTagArrayInput)(nil)).Elem(), GetServingEndpointsEndpointTagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetShareObjectInput)(nil)).Elem(), GetShareObjectArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetShareObjectArrayInput)(nil)).Elem(), GetShareObjectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetShareObjectPartitionInput)(nil)).Elem(), GetShareObjectPartitionArgs{}) @@ -51429,6 +63444,83 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeVolumeInfoEncryptionDetailsPtrInput)(nil)).Elem(), GetVolumeVolumeInfoEncryptionDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeVolumeInfoEncryptionDetailsSseEncryptionDetailsInput)(nil)).Elem(), GetVolumeVolumeInfoEncryptionDetailsSseEncryptionDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeVolumeInfoEncryptionDetailsSseEncryptionDetailsPtrInput)(nil)).Elem(), GetVolumeVolumeInfoEncryptionDetailsSseEncryptionDetailsArgs{}) + pulumi.RegisterOutputType(GetAppAppOutput{}) + pulumi.RegisterOutputType(GetAppAppActiveDeploymentOutput{}) + pulumi.RegisterOutputType(GetAppAppActiveDeploymentDeploymentArtifactsOutput{}) + pulumi.RegisterOutputType(GetAppAppActiveDeploymentStatusOutput{}) + pulumi.RegisterOutputType(GetAppAppAppStatusOutput{}) + pulumi.RegisterOutputType(GetAppAppComputeStatusOutput{}) + pulumi.RegisterOutputType(GetAppAppPendingDeploymentOutput{}) + pulumi.RegisterOutputType(GetAppAppPendingDeploymentDeploymentArtifactsOutput{}) + pulumi.RegisterOutputType(GetAppAppPendingDeploymentStatusOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceArrayOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceJobOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceJobPtrOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceSecretOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceSecretPtrOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceServingEndpointOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceServingEndpointPtrOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceSqlWarehouseOutput{}) + pulumi.RegisterOutputType(GetAppAppResourceSqlWarehousePtrOutput{}) + pulumi.RegisterOutputType(GetAppsAppOutput{}) + pulumi.RegisterOutputType(GetAppsAppArrayOutput{}) + pulumi.RegisterOutputType(GetAppsAppActiveDeploymentOutput{}) + pulumi.RegisterOutputType(GetAppsAppActiveDeploymentDeploymentArtifactsOutput{}) + pulumi.RegisterOutputType(GetAppsAppActiveDeploymentStatusOutput{}) + pulumi.RegisterOutputType(GetAppsAppAppStatusOutput{}) + pulumi.RegisterOutputType(GetAppsAppComputeStatusOutput{}) + pulumi.RegisterOutputType(GetAppsAppPendingDeploymentOutput{}) + pulumi.RegisterOutputType(GetAppsAppPendingDeploymentDeploymentArtifactsOutput{}) + pulumi.RegisterOutputType(GetAppsAppPendingDeploymentStatusOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceArrayOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceJobOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceJobPtrOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceSecretOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceSecretPtrOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceServingEndpointOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceServingEndpointPtrOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceSqlWarehouseOutput{}) + pulumi.RegisterOutputType(GetAppsAppResourceSqlWarehousePtrOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoPtrOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagPtrOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoProvisioningInfoOutput{}) + pulumi.RegisterOutputType(GetCatalogCatalogInfoProvisioningInfoPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAutoscaleOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAutoscalePtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAwsAttributesOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAwsAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoAzureAttributesLogAnalyticsInfoPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfDbfsOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfDbfsPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfS3Output{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogConfS3PtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogStatusOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoClusterLogStatusPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDockerImageOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDockerImagePtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDockerImageBasicAuthOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDockerImageBasicAuthPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDriverOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDriverPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDriverNodeAwsAttributesOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoDriverNodeAwsAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoExecutorOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoExecutorArrayOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoExecutorNodeAwsAttributesOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoExecutorNodeAwsAttributesPtrOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoGcpAttributesOutput{}) + pulumi.RegisterOutputType(GetClusterClusterInfoGcpAttributesPtrOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoInitScriptOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoInitScriptArrayOutput{}) pulumi.RegisterOutputType(GetClusterClusterInfoInitScriptAbfssOutput{}) @@ -51518,22 +63610,22 @@ func init() { pulumi.RegisterOutputType(GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsPtrOutput{}) pulumi.RegisterOutputType(GetFunctionsFunctionOutput{}) pulumi.RegisterOutputType(GetFunctionsFunctionArrayOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionInputParamsOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionInputParamsPtrOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionInputParamsParameterOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionInputParamsParameterArrayOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamsOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamsPtrOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamsParameterOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamsParameterArrayOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesPtrOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesDependencyOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesDependencyArrayOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesDependencyFunctionOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesDependencyFunctionPtrOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesDependencyTableOutput{}) - pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependenciesDependencyTablePtrOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionInputParamOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionInputParamArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionInputParamParameterOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionInputParamParameterArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamParameterOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionReturnParamParameterArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyDependencyOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyDependencyArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyDependencyFunctionOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyDependencyFunctionArrayOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyDependencyTableOutput{}) + pulumi.RegisterOutputType(GetFunctionsFunctionRoutineDependencyDependencyTableArrayOutput{}) pulumi.RegisterOutputType(GetInstancePoolPoolInfoOutput{}) pulumi.RegisterOutputType(GetInstancePoolPoolInfoPtrOutput{}) pulumi.RegisterOutputType(GetInstancePoolPoolInfoAwsAttributesOutput{}) @@ -51951,6 +64043,18 @@ func init() { pulumi.RegisterOutputType(GetMlflowModelLatestVersionTagArrayOutput{}) pulumi.RegisterOutputType(GetMlflowModelTagOutput{}) pulumi.RegisterOutputType(GetMlflowModelTagArrayOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigPtrOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesPtrOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRulePtrOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRulePtrOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesPtrOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleOutput{}) + pulumi.RegisterOutputType(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArrayOutput{}) pulumi.RegisterOutputType(GetNotebookPathsNotebookPathListOutput{}) pulumi.RegisterOutputType(GetNotebookPathsNotebookPathListArrayOutput{}) pulumi.RegisterOutputType(GetNotificationDestinationsNotificationDestinationOutput{}) @@ -51959,10 +64063,72 @@ func init() { pulumi.RegisterOutputType(GetRegisteredModelModelInfoArrayOutput{}) pulumi.RegisterOutputType(GetRegisteredModelModelInfoAliasOutput{}) pulumi.RegisterOutputType(GetRegisteredModelModelInfoAliasArrayOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionArrayOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionAliasOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionAliasArrayOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyArrayOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArrayOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArrayOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableOutput{}) + pulumi.RegisterOutputType(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArrayOutput{}) pulumi.RegisterOutputType(GetSchemaSchemaInfoOutput{}) pulumi.RegisterOutputType(GetSchemaSchemaInfoPtrOutput{}) pulumi.RegisterOutputType(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagOutput{}) pulumi.RegisterOutputType(GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagPtrOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailOutputTypeArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayInferenceTableConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayRateLimitOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayRateLimitArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityFoundationModelOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedEntityFoundationModelArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedModelOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointConfigServedModelArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointStateOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointStateArrayOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointTagOutput{}) + pulumi.RegisterOutputType(GetServingEndpointsEndpointTagArrayOutput{}) pulumi.RegisterOutputType(GetShareObjectOutput{}) pulumi.RegisterOutputType(GetShareObjectArrayOutput{}) pulumi.RegisterOutputType(GetShareObjectPartitionOutput{}) diff --git a/sdk/go/databricks/query.go b/sdk/go/databricks/query.go index 3ad81842..89701c65 100644 --- a/sdk/go/databricks/query.go +++ b/sdk/go/databricks/query.go @@ -46,7 +46,7 @@ type Query struct { ParentPath pulumi.StringPtrOutput `pulumi:"parentPath"` // Text of SQL query. QueryText pulumi.StringOutput `pulumi:"queryText"` - // Sets the "Run as" role for the object. + // Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. RunAsMode pulumi.StringPtrOutput `pulumi:"runAsMode"` // Name of the schema where this query will be executed. Schema pulumi.StringPtrOutput `pulumi:"schema"` @@ -119,7 +119,7 @@ type queryState struct { ParentPath *string `pulumi:"parentPath"` // Text of SQL query. QueryText *string `pulumi:"queryText"` - // Sets the "Run as" role for the object. + // Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. RunAsMode *string `pulumi:"runAsMode"` // Name of the schema where this query will be executed. Schema *string `pulumi:"schema"` @@ -154,7 +154,7 @@ type QueryState struct { ParentPath pulumi.StringPtrInput // Text of SQL query. QueryText pulumi.StringPtrInput - // Sets the "Run as" role for the object. + // Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. RunAsMode pulumi.StringPtrInput // Name of the schema where this query will be executed. Schema pulumi.StringPtrInput @@ -187,7 +187,7 @@ type queryArgs struct { ParentPath *string `pulumi:"parentPath"` // Text of SQL query. QueryText string `pulumi:"queryText"` - // Sets the "Run as" role for the object. + // Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. RunAsMode *string `pulumi:"runAsMode"` // Name of the schema where this query will be executed. Schema *string `pulumi:"schema"` @@ -215,7 +215,7 @@ type QueryArgs struct { ParentPath pulumi.StringPtrInput // Text of SQL query. QueryText pulumi.StringInput - // Sets the "Run as" role for the object. + // Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. RunAsMode pulumi.StringPtrInput // Name of the schema where this query will be executed. Schema pulumi.StringPtrInput @@ -367,7 +367,7 @@ func (o QueryOutput) QueryText() pulumi.StringOutput { return o.ApplyT(func(v *Query) pulumi.StringOutput { return v.QueryText }).(pulumi.StringOutput) } -// Sets the "Run as" role for the object. +// Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. func (o QueryOutput) RunAsMode() pulumi.StringPtrOutput { return o.ApplyT(func(v *Query) pulumi.StringPtrOutput { return v.RunAsMode }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/storageCredential.go b/sdk/go/databricks/storageCredential.go index 8894d965..cf6cac03 100644 --- a/sdk/go/databricks/storageCredential.go +++ b/sdk/go/databricks/storageCredential.go @@ -18,6 +18,8 @@ import ( // - `StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential. // - ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location. // +// On AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. +// // ## Example Usage // // # For AWS @@ -78,7 +80,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := databricks.NewStorageCredential(ctx, "external_mi", &databricks.StorageCredentialArgs{ +// externalMi, err := databricks.NewStorageCredential(ctx, "external_mi", &databricks.StorageCredentialArgs{ // Name: pulumi.String("mi_credential"), // AzureManagedIdentity: &databricks.StorageCredentialAzureManagedIdentityArgs{ // AccessConnectorId: pulumi.Any(example.Id), @@ -89,7 +91,7 @@ import ( // return err // } // _, err = databricks.NewGrants(ctx, "external_creds", &databricks.GrantsArgs{ -// StorageCredential: pulumi.Any(external.Id), +// StorageCredential: externalMi.ID(), // Grants: databricks.GrantsGrantArray{ // &databricks.GrantsGrantArgs{ // Principal: pulumi.String("Data Engineers"), diff --git a/sdk/go/databricks/workspaceBinding.go b/sdk/go/databricks/workspaceBinding.go index 97d1db39..31b81a87 100644 --- a/sdk/go/databricks/workspaceBinding.go +++ b/sdk/go/databricks/workspaceBinding.go @@ -17,7 +17,7 @@ import ( // // By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource. // -// > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for ExternalLocation or databricks_storage_credential) for the `isolationMode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). +// > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolationMode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). // // > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from. // @@ -71,7 +71,7 @@ type WorkspaceBinding struct { CatalogName pulumi.StringPtrOutput `pulumi:"catalogName"` // Name of securable. Change forces creation of a new resource. SecurableName pulumi.StringOutput `pulumi:"securableName"` - // Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + // Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. SecurableType pulumi.StringPtrOutput `pulumi:"securableType"` // ID of the workspace. Change forces creation of a new resource. WorkspaceId pulumi.StringPtrOutput `pulumi:"workspaceId"` @@ -113,7 +113,7 @@ type workspaceBindingState struct { CatalogName *string `pulumi:"catalogName"` // Name of securable. Change forces creation of a new resource. SecurableName *string `pulumi:"securableName"` - // Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + // Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. SecurableType *string `pulumi:"securableType"` // ID of the workspace. Change forces creation of a new resource. WorkspaceId *string `pulumi:"workspaceId"` @@ -126,7 +126,7 @@ type WorkspaceBindingState struct { CatalogName pulumi.StringPtrInput // Name of securable. Change forces creation of a new resource. SecurableName pulumi.StringPtrInput - // Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + // Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. SecurableType pulumi.StringPtrInput // ID of the workspace. Change forces creation of a new resource. WorkspaceId pulumi.StringPtrInput @@ -143,7 +143,7 @@ type workspaceBindingArgs struct { CatalogName *string `pulumi:"catalogName"` // Name of securable. Change forces creation of a new resource. SecurableName *string `pulumi:"securableName"` - // Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + // Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. SecurableType *string `pulumi:"securableType"` // ID of the workspace. Change forces creation of a new resource. WorkspaceId *string `pulumi:"workspaceId"` @@ -157,7 +157,7 @@ type WorkspaceBindingArgs struct { CatalogName pulumi.StringPtrInput // Name of securable. Change forces creation of a new resource. SecurableName pulumi.StringPtrInput - // Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + // Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. SecurableType pulumi.StringPtrInput // ID of the workspace. Change forces creation of a new resource. WorkspaceId pulumi.StringPtrInput @@ -265,7 +265,7 @@ func (o WorkspaceBindingOutput) SecurableName() pulumi.StringOutput { return o.ApplyT(func(v *WorkspaceBinding) pulumi.StringOutput { return v.SecurableName }).(pulumi.StringOutput) } -// Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. +// Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. func (o WorkspaceBindingOutput) SecurableType() pulumi.StringPtrOutput { return o.ApplyT(func(v *WorkspaceBinding) pulumi.StringPtrOutput { return v.SecurableType }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/workspaceConf.go b/sdk/go/databricks/workspaceConf.go index 34e44f30..ebb7e561 100644 --- a/sdk/go/databricks/workspaceConf.go +++ b/sdk/go/databricks/workspaceConf.go @@ -22,7 +22,7 @@ import ( // Allows specification of custom configuration properties for expert usage: // // - `enableIpAccessLists` - enables the use of IpAccessList resources -// - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. +// - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. // - `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace. // - `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace. // - `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace. diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 2a0a8aff..1bf0f6c2 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -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.20.0") + implementation("com.pulumi:pulumi:0.21.0") } task sourcesJar(type: Jar) { @@ -65,11 +65,13 @@ def genPulumiResources = tasks.register('genPulumiResources') { def outDir = file("$resourcesDir/$subDir") outDir.mkdirs() new File(outDir, "version.txt").text = resolvedVersion - def info = new Object() - info.metaClass.resource = true - info.metaClass.name = "databricks" - info.metaClass.version = resolvedVersion - def infoJson = new groovy.json.JsonBuilder(info).toPrettyString() + def builder = new groovy.json.JsonBuilder() + builder { + resource true + name "databricks" + version resolvedVersion + } + def infoJson = builder.toPrettyString() new File(outDir, "plugin.json").text = infoJson } } @@ -150,4 +152,4 @@ if (signingKey) { useInMemoryPgpKeys(signingKey, signingPassword) sign publishing.publications.mainPublication } -} +} \ No newline at end of file diff --git a/sdk/java/src/main/java/com/pulumi/databricks/App.java b/sdk/java/src/main/java/com/pulumi/databricks/App.java new file mode 100644 index 00000000..0b53c6f1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/App.java @@ -0,0 +1,373 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.databricks.AppArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.AppState; +import com.pulumi.databricks.outputs.AppActiveDeployment; +import com.pulumi.databricks.outputs.AppAppStatus; +import com.pulumi.databricks.outputs.AppComputeStatus; +import com.pulumi.databricks.outputs.AppPendingDeployment; +import com.pulumi.databricks.outputs.AppResource; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.App;
+ * import com.pulumi.databricks.AppArgs;
+ * import com.pulumi.databricks.inputs.AppResourceArgs;
+ * import com.pulumi.databricks.inputs.AppResourceJobArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var this_ = new App("this", AppArgs.builder()
+ *             .name("my-custom-app")
+ *             .description("My app")
+ *             .resources(            
+ *                 AppResourceArgs.builder()
+ *                     .name("sql-warehouse")
+ *                     .sql_warehouse(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
+ *                     .build(),
+ *                 AppResourceArgs.builder()
+ *                     .name("serving-endpoint")
+ *                     .serving_endpoint(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
+ *                     .build(),
+ *                 AppResourceArgs.builder()
+ *                     .name("job")
+ *                     .job(AppResourceJobArgs.builder()
+ *                         .id("1234")
+ *                         .permission("CAN_MANAGE")
+ *                         .build())
+ *                     .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + * + * ## Import + * + * This resource can be imported by name: + * + * hcl + * + * import { + * + * to = databricks_app.this + * + * id = "<app_name>" + * + * } + * + * or using the `terraform` CLI: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/app:App this <app_name> + * ``` + * + */ +@ResourceType(type="databricks:index/app:App") +public class App extends com.pulumi.resources.CustomResource { + @Export(name="activeDeployment", refs={AppActiveDeployment.class}, tree="[0]") + private Output activeDeployment; + + public Output activeDeployment() { + return this.activeDeployment; + } + /** + * attribute + * + */ + @Export(name="appStatus", refs={AppAppStatus.class}, tree="[0]") + private Output appStatus; + + /** + * @return attribute + * + */ + public Output appStatus() { + return this.appStatus; + } + /** + * attribute + * + */ + @Export(name="computeStatus", refs={AppComputeStatus.class}, tree="[0]") + private Output computeStatus; + + /** + * @return attribute + * + */ + public Output computeStatus() { + return this.computeStatus; + } + /** + * The creation time of the app. + * + */ + @Export(name="createTime", refs={String.class}, tree="[0]") + private Output createTime; + + /** + * @return The creation time of the app. + * + */ + public Output createTime() { + return this.createTime; + } + /** + * The email of the user that created the app. + * + */ + @Export(name="creator", refs={String.class}, tree="[0]") + private Output creator; + + /** + * @return The email of the user that created the app. + * + */ + public Output creator() { + return this.creator; + } + /** + * The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + @Export(name="defaultSourceCodePath", refs={String.class}, tree="[0]") + private Output defaultSourceCodePath; + + /** + * @return The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + public Output defaultSourceCodePath() { + return this.defaultSourceCodePath; + } + /** + * The description of the app. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return The description of the app. + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + */ + public Output name() { + return this.name; + } + @Export(name="pendingDeployment", refs={AppPendingDeployment.class}, tree="[0]") + private Output pendingDeployment; + + public Output pendingDeployment() { + return this.pendingDeployment; + } + /** + * A list of resources that the app have access to. + * + */ + @Export(name="resources", refs={List.class,AppResource.class}, tree="[0,1]") + private Output> resources; + + /** + * @return A list of resources that the app have access to. + * + */ + public Output>> resources() { + return Codegen.optional(this.resources); + } + @Export(name="servicePrincipalClientId", refs={String.class}, tree="[0]") + private Output servicePrincipalClientId; + + public Output servicePrincipalClientId() { + return this.servicePrincipalClientId; + } + /** + * id of the app service principal + * + */ + @Export(name="servicePrincipalId", refs={Integer.class}, tree="[0]") + private Output servicePrincipalId; + + /** + * @return id of the app service principal + * + */ + public Output servicePrincipalId() { + return this.servicePrincipalId; + } + /** + * name of the app service principal + * + */ + @Export(name="servicePrincipalName", refs={String.class}, tree="[0]") + private Output servicePrincipalName; + + /** + * @return name of the app service principal + * + */ + public Output servicePrincipalName() { + return this.servicePrincipalName; + } + /** + * The update time of the app. + * + */ + @Export(name="updateTime", refs={String.class}, tree="[0]") + private Output updateTime; + + /** + * @return The update time of the app. + * + */ + public Output updateTime() { + return this.updateTime; + } + /** + * The email of the user that last updated the app. + * + */ + @Export(name="updater", refs={String.class}, tree="[0]") + private Output updater; + + /** + * @return The email of the user that last updated the app. + * + */ + public Output updater() { + return this.updater; + } + /** + * The URL of the app once it is deployed. + * + */ + @Export(name="url", refs={String.class}, tree="[0]") + private Output url; + + /** + * @return The URL of the app once it is deployed. + * + */ + public Output url() { + return this.url; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public App(java.lang.String name) { + this(name, AppArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public App(java.lang.String name, @Nullable AppArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public App(java.lang.String name, @Nullable AppArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/app:App", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private App(java.lang.String name, Output id, @Nullable AppState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/app:App", name, state, makeResourceOptions(options, id), false); + } + + private static AppArgs makeArgs(@Nullable AppArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? AppArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static App get(java.lang.String name, Output id, @Nullable AppState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new App(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/AppArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/AppArgs.java new file mode 100644 index 00000000..8cd23766 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/AppArgs.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AppResourceArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppArgs Empty = new AppArgs(); + + /** + * The description of the app. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the app. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * A list of resources that the app have access to. + * + */ + @Import(name="resources") + private @Nullable Output> resources; + + /** + * @return A list of resources that the app have access to. + * + */ + public Optional>> resources() { + return Optional.ofNullable(this.resources); + } + + private AppArgs() {} + + private AppArgs(AppArgs $) { + this.description = $.description; + this.name = $.name; + this.resources = $.resources; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppArgs $; + + public Builder() { + $ = new AppArgs(); + } + + public Builder(AppArgs defaults) { + $ = new AppArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description The description of the app. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the app. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param resources A list of resources that the app have access to. + * + * @return builder + * + */ + public Builder resources(@Nullable Output> resources) { + $.resources = resources; + return this; + } + + /** + * @param resources A list of resources that the app have access to. + * + * @return builder + * + */ + public Builder resources(List resources) { + return resources(Output.of(resources)); + } + + /** + * @param resources A list of resources that the app have access to. + * + * @return builder + * + */ + public Builder resources(AppResourceArgs... resources) { + return resources(List.of(resources)); + } + + public AppArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java b/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java index 3a4f28c4..fe33e158 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java @@ -364,6 +364,18 @@ public Output> instancePoolId() { public Output> isPinned() { return Codegen.optional(this.isPinned); } + @Export(name="isSingleNode", refs={Boolean.class}, tree="[0]") + private Output isSingleNode; + + public Output> isSingleNode() { + return Codegen.optional(this.isSingleNode); + } + @Export(name="kind", refs={String.class}, tree="[0]") + private Output kind; + + public Output> kind() { + return Codegen.optional(this.kind); + } @Export(name="libraries", refs={List.class,ClusterLibrary.class}, tree="[0,1]") private Output> libraries; @@ -652,6 +664,12 @@ public Output state() { public Output url() { return this.url; } + @Export(name="useMlRuntime", refs={Boolean.class}, tree="[0]") + private Output useMlRuntime; + + public Output> useMlRuntime() { + return Codegen.optional(this.useMlRuntime); + } @Export(name="workloadType", refs={ClusterWorkloadType.class}, tree="[0]") private Output workloadType; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java index 2c77ac1c..ba515f85 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java @@ -352,6 +352,20 @@ public Optional> isPinned() { return Optional.ofNullable(this.isPinned); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + @Import(name="libraries") private @Nullable Output> libraries; @@ -631,6 +645,13 @@ public Optional>> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + @Import(name="workloadType") private @Nullable Output workloadType; @@ -661,6 +682,8 @@ private ClusterArgs(ClusterArgs $) { this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; this.isPinned = $.isPinned; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.noWait = $.noWait; this.nodeTypeId = $.nodeTypeId; @@ -672,6 +695,7 @@ private ClusterArgs(ClusterArgs $) { this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -1111,6 +1135,24 @@ public Builder isPinned(Boolean isPinned) { return isPinned(Output.of(isPinned)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + public Builder libraries(@Nullable Output> libraries) { $.libraries = libraries; return this; @@ -1466,6 +1508,15 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + public Builder workloadType(@Nullable Output workloadType) { $.workloadType = workloadType; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Credential.java b/sdk/java/src/main/java/com/pulumi/databricks/Credential.java new file mode 100644 index 00000000..f93688e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/Credential.java @@ -0,0 +1,462 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.databricks.CredentialArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.CredentialState; +import com.pulumi.databricks.outputs.CredentialAwsIamRole; +import com.pulumi.databricks.outputs.CredentialAzureManagedIdentity; +import com.pulumi.databricks.outputs.CredentialAzureServicePrincipal; +import com.pulumi.databricks.outputs.CredentialDatabricksGcpServiceAccount; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > This resource can only be used with a workspace-level provider. + * + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential. + * + * The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`. + * The caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it + * + * On AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. + * + * ## Example Usage + * + * For AWS + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.Credential;
+ * import com.pulumi.databricks.CredentialArgs;
+ * import com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs;
+ * import com.pulumi.databricks.Grants;
+ * import com.pulumi.databricks.GrantsArgs;
+ * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var external = new Credential("external", CredentialArgs.builder()
+ *             .name(externalDataAccess.name())
+ *             .awsIamRole(CredentialAwsIamRoleArgs.builder()
+ *                 .roleArn(externalDataAccess.arn())
+ *                 .build())
+ *             .purpose("SERVICE")
+ *             .comment("Managed by TF")
+ *             .build());
+ * 
+ *         var externalCreds = new Grants("externalCreds", GrantsArgs.builder()
+ *             .credential(external.id())
+ *             .grants(GrantsGrantArgs.builder()
+ *                 .principal("Data Engineers")
+ *                 .privileges("ACCESS")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * For Azure + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.Credential;
+ * import com.pulumi.databricks.CredentialArgs;
+ * import com.pulumi.databricks.inputs.CredentialAzureManagedIdentityArgs;
+ * import com.pulumi.databricks.Grants;
+ * import com.pulumi.databricks.GrantsArgs;
+ * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var externalMi = new Credential("externalMi", CredentialArgs.builder()
+ *             .name("mi_credential")
+ *             .azureManagedIdentity(CredentialAzureManagedIdentityArgs.builder()
+ *                 .accessConnectorId(example.id())
+ *                 .build())
+ *             .purpose("SERVICE")
+ *             .comment("Managed identity credential managed by TF")
+ *             .build());
+ * 
+ *         var externalCreds = new Grants("externalCreds", GrantsArgs.builder()
+ *             .credential(externalMi.id())
+ *             .grants(GrantsGrantArgs.builder()
+ *                 .principal("Data Engineers")
+ *                 .privileges("ACCESS")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * For GCP (only applicable when purpose is `STORAGE`) + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.Credential;
+ * import com.pulumi.databricks.CredentialArgs;
+ * import com.pulumi.databricks.inputs.CredentialDatabricksGcpServiceAccountArgs;
+ * import com.pulumi.databricks.Grants;
+ * import com.pulumi.databricks.GrantsArgs;
+ * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var externalGcpSa = new Credential("externalGcpSa", CredentialArgs.builder()
+ *             .name("gcp_sa_credential")
+ *             .databricksGcpServiceAccount()
+ *             .purpose("STORAGE")
+ *             .comment("GCP SA credential managed by TF")
+ *             .build());
+ * 
+ *         var externalCreds = new Grants("externalCreds", GrantsArgs.builder()
+ *             .credential(externalGcpSa.id())
+ *             .grants(GrantsGrantArgs.builder()
+ *                 .principal("Data Engineers")
+ *                 .privileges("ACCESS")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * This resource can be imported by name: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/credential:Credential this <name> + * ``` + * + */ +@ResourceType(type="databricks:index/credential:Credential") +public class Credential extends com.pulumi.resources.CustomResource { + @Export(name="awsIamRole", refs={CredentialAwsIamRole.class}, tree="[0]") + private Output awsIamRole; + + public Output> awsIamRole() { + return Codegen.optional(this.awsIamRole); + } + @Export(name="azureManagedIdentity", refs={CredentialAzureManagedIdentity.class}, tree="[0]") + private Output azureManagedIdentity; + + public Output> azureManagedIdentity() { + return Codegen.optional(this.azureManagedIdentity); + } + @Export(name="azureServicePrincipal", refs={CredentialAzureServicePrincipal.class}, tree="[0]") + private Output azureServicePrincipal; + + public Output> azureServicePrincipal() { + return Codegen.optional(this.azureServicePrincipal); + } + @Export(name="comment", refs={String.class}, tree="[0]") + private Output comment; + + public Output> comment() { + return Codegen.optional(this.comment); + } + @Export(name="createdAt", refs={Integer.class}, tree="[0]") + private Output createdAt; + + public Output createdAt() { + return this.createdAt; + } + @Export(name="createdBy", refs={String.class}, tree="[0]") + private Output createdBy; + + public Output createdBy() { + return this.createdBy; + } + /** + * Unique ID of the credential. + * + */ + @Export(name="credentialId", refs={String.class}, tree="[0]") + private Output credentialId; + + /** + * @return Unique ID of the credential. + * + */ + public Output credentialId() { + return this.credentialId; + } + @Export(name="databricksGcpServiceAccount", refs={CredentialDatabricksGcpServiceAccount.class}, tree="[0]") + private Output databricksGcpServiceAccount; + + public Output databricksGcpServiceAccount() { + return this.databricksGcpServiceAccount; + } + /** + * Delete credential regardless of its dependencies. + * + */ + @Export(name="forceDestroy", refs={Boolean.class}, tree="[0]") + private Output forceDestroy; + + /** + * @return Delete credential regardless of its dependencies. + * + */ + public Output> forceDestroy() { + return Codegen.optional(this.forceDestroy); + } + /** + * Update credential regardless of its dependents. + * + */ + @Export(name="forceUpdate", refs={Boolean.class}, tree="[0]") + private Output forceUpdate; + + /** + * @return Update credential regardless of its dependents. + * + */ + public Output> forceUpdate() { + return Codegen.optional(this.forceUpdate); + } + @Export(name="fullName", refs={String.class}, tree="[0]") + private Output fullName; + + public Output fullName() { + return this.fullName; + } + /** + * Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + */ + @Export(name="isolationMode", refs={String.class}, tree="[0]") + private Output isolationMode; + + /** + * @return Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + */ + public Output isolationMode() { + return this.isolationMode; + } + @Export(name="metastoreId", refs={String.class}, tree="[0]") + private Output metastoreId; + + public Output metastoreId() { + return this.metastoreId; + } + /** + * Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + */ + public Output name() { + return this.name; + } + /** + * Username/groupname/sp application_id of the credential owner. + * + */ + @Export(name="owner", refs={String.class}, tree="[0]") + private Output owner; + + /** + * @return Username/groupname/sp application_id of the credential owner. + * + */ + public Output owner() { + return this.owner; + } + /** + * Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + */ + @Export(name="purpose", refs={String.class}, tree="[0]") + private Output purpose; + + /** + * @return Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + */ + public Output purpose() { + return this.purpose; + } + /** + * Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + */ + @Export(name="readOnly", refs={Boolean.class}, tree="[0]") + private Output readOnly; + + /** + * @return Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + */ + public Output> readOnly() { + return Codegen.optional(this.readOnly); + } + /** + * Suppress validation errors if any & force save the credential. + * + */ + @Export(name="skipValidation", refs={Boolean.class}, tree="[0]") + private Output skipValidation; + + /** + * @return Suppress validation errors if any & force save the credential. + * + */ + public Output> skipValidation() { + return Codegen.optional(this.skipValidation); + } + @Export(name="updatedAt", refs={Integer.class}, tree="[0]") + private Output updatedAt; + + public Output updatedAt() { + return this.updatedAt; + } + @Export(name="updatedBy", refs={String.class}, tree="[0]") + private Output updatedBy; + + public Output updatedBy() { + return this.updatedBy; + } + @Export(name="usedForManagedStorage", refs={Boolean.class}, tree="[0]") + private Output usedForManagedStorage; + + public Output usedForManagedStorage() { + return this.usedForManagedStorage; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Credential(java.lang.String name) { + this(name, CredentialArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Credential(java.lang.String name, CredentialArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public Credential(java.lang.String name, CredentialArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/credential:Credential", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private Credential(java.lang.String name, Output id, @Nullable CredentialState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/credential:Credential", name, state, makeResourceOptions(options, id), false); + } + + private static CredentialArgs makeArgs(CredentialArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? CredentialArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static Credential get(java.lang.String name, Output id, @Nullable CredentialState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Credential(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/CredentialArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/CredentialArgs.java new file mode 100644 index 00000000..bf44f134 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/CredentialArgs.java @@ -0,0 +1,564 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs; +import com.pulumi.databricks.inputs.CredentialAzureManagedIdentityArgs; +import com.pulumi.databricks.inputs.CredentialAzureServicePrincipalArgs; +import com.pulumi.databricks.inputs.CredentialDatabricksGcpServiceAccountArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CredentialArgs extends com.pulumi.resources.ResourceArgs { + + public static final CredentialArgs Empty = new CredentialArgs(); + + @Import(name="awsIamRole") + private @Nullable Output awsIamRole; + + public Optional> awsIamRole() { + return Optional.ofNullable(this.awsIamRole); + } + + @Import(name="azureManagedIdentity") + private @Nullable Output azureManagedIdentity; + + public Optional> azureManagedIdentity() { + return Optional.ofNullable(this.azureManagedIdentity); + } + + @Import(name="azureServicePrincipal") + private @Nullable Output azureServicePrincipal; + + public Optional> azureServicePrincipal() { + return Optional.ofNullable(this.azureServicePrincipal); + } + + @Import(name="comment") + private @Nullable Output comment; + + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + @Import(name="createdAt") + private @Nullable Output createdAt; + + public Optional> createdAt() { + return Optional.ofNullable(this.createdAt); + } + + @Import(name="createdBy") + private @Nullable Output createdBy; + + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + @Import(name="databricksGcpServiceAccount") + private @Nullable Output databricksGcpServiceAccount; + + public Optional> databricksGcpServiceAccount() { + return Optional.ofNullable(this.databricksGcpServiceAccount); + } + + /** + * Delete credential regardless of its dependencies. + * + */ + @Import(name="forceDestroy") + private @Nullable Output forceDestroy; + + /** + * @return Delete credential regardless of its dependencies. + * + */ + public Optional> forceDestroy() { + return Optional.ofNullable(this.forceDestroy); + } + + /** + * Update credential regardless of its dependents. + * + */ + @Import(name="forceUpdate") + private @Nullable Output forceUpdate; + + /** + * @return Update credential regardless of its dependents. + * + */ + public Optional> forceUpdate() { + return Optional.ofNullable(this.forceUpdate); + } + + @Import(name="fullName") + private @Nullable Output fullName; + + public Optional> fullName() { + return Optional.ofNullable(this.fullName); + } + + /** + * Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + */ + @Import(name="isolationMode") + private @Nullable Output isolationMode; + + /** + * @return Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + */ + public Optional> isolationMode() { + return Optional.ofNullable(this.isolationMode); + } + + @Import(name="metastoreId") + private @Nullable Output metastoreId; + + public Optional> metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Username/groupname/sp application_id of the credential owner. + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Username/groupname/sp application_id of the credential owner. + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + + /** + * Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + */ + @Import(name="purpose", required=true) + private Output purpose; + + /** + * @return Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + */ + public Output purpose() { + return this.purpose; + } + + /** + * Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + */ + @Import(name="readOnly") + private @Nullable Output readOnly; + + /** + * @return Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + */ + public Optional> readOnly() { + return Optional.ofNullable(this.readOnly); + } + + /** + * Suppress validation errors if any & force save the credential. + * + */ + @Import(name="skipValidation") + private @Nullable Output skipValidation; + + /** + * @return Suppress validation errors if any & force save the credential. + * + */ + public Optional> skipValidation() { + return Optional.ofNullable(this.skipValidation); + } + + @Import(name="updatedAt") + private @Nullable Output updatedAt; + + public Optional> updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + + @Import(name="updatedBy") + private @Nullable Output updatedBy; + + public Optional> updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + @Import(name="usedForManagedStorage") + private @Nullable Output usedForManagedStorage; + + public Optional> usedForManagedStorage() { + return Optional.ofNullable(this.usedForManagedStorage); + } + + private CredentialArgs() {} + + private CredentialArgs(CredentialArgs $) { + this.awsIamRole = $.awsIamRole; + this.azureManagedIdentity = $.azureManagedIdentity; + this.azureServicePrincipal = $.azureServicePrincipal; + this.comment = $.comment; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.databricksGcpServiceAccount = $.databricksGcpServiceAccount; + this.forceDestroy = $.forceDestroy; + this.forceUpdate = $.forceUpdate; + this.fullName = $.fullName; + this.isolationMode = $.isolationMode; + this.metastoreId = $.metastoreId; + this.name = $.name; + this.owner = $.owner; + this.purpose = $.purpose; + this.readOnly = $.readOnly; + this.skipValidation = $.skipValidation; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + this.usedForManagedStorage = $.usedForManagedStorage; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CredentialArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CredentialArgs $; + + public Builder() { + $ = new CredentialArgs(); + } + + public Builder(CredentialArgs defaults) { + $ = new CredentialArgs(Objects.requireNonNull(defaults)); + } + + public Builder awsIamRole(@Nullable Output awsIamRole) { + $.awsIamRole = awsIamRole; + return this; + } + + public Builder awsIamRole(CredentialAwsIamRoleArgs awsIamRole) { + return awsIamRole(Output.of(awsIamRole)); + } + + public Builder azureManagedIdentity(@Nullable Output azureManagedIdentity) { + $.azureManagedIdentity = azureManagedIdentity; + return this; + } + + public Builder azureManagedIdentity(CredentialAzureManagedIdentityArgs azureManagedIdentity) { + return azureManagedIdentity(Output.of(azureManagedIdentity)); + } + + public Builder azureServicePrincipal(@Nullable Output azureServicePrincipal) { + $.azureServicePrincipal = azureServicePrincipal; + return this; + } + + public Builder azureServicePrincipal(CredentialAzureServicePrincipalArgs azureServicePrincipal) { + return azureServicePrincipal(Output.of(azureServicePrincipal)); + } + + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + public Builder createdAt(@Nullable Output createdAt) { + $.createdAt = createdAt; + return this; + } + + public Builder createdAt(Integer createdAt) { + return createdAt(Output.of(createdAt)); + } + + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + public Builder databricksGcpServiceAccount(@Nullable Output databricksGcpServiceAccount) { + $.databricksGcpServiceAccount = databricksGcpServiceAccount; + return this; + } + + public Builder databricksGcpServiceAccount(CredentialDatabricksGcpServiceAccountArgs databricksGcpServiceAccount) { + return databricksGcpServiceAccount(Output.of(databricksGcpServiceAccount)); + } + + /** + * @param forceDestroy Delete credential regardless of its dependencies. + * + * @return builder + * + */ + public Builder forceDestroy(@Nullable Output forceDestroy) { + $.forceDestroy = forceDestroy; + return this; + } + + /** + * @param forceDestroy Delete credential regardless of its dependencies. + * + * @return builder + * + */ + public Builder forceDestroy(Boolean forceDestroy) { + return forceDestroy(Output.of(forceDestroy)); + } + + /** + * @param forceUpdate Update credential regardless of its dependents. + * + * @return builder + * + */ + public Builder forceUpdate(@Nullable Output forceUpdate) { + $.forceUpdate = forceUpdate; + return this; + } + + /** + * @param forceUpdate Update credential regardless of its dependents. + * + * @return builder + * + */ + public Builder forceUpdate(Boolean forceUpdate) { + return forceUpdate(Output.of(forceUpdate)); + } + + public Builder fullName(@Nullable Output fullName) { + $.fullName = fullName; + return this; + } + + public Builder fullName(String fullName) { + return fullName(Output.of(fullName)); + } + + /** + * @param isolationMode Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + * @return builder + * + */ + public Builder isolationMode(@Nullable Output isolationMode) { + $.isolationMode = isolationMode; + return this; + } + + /** + * @param isolationMode Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + * @return builder + * + */ + public Builder isolationMode(String isolationMode) { + return isolationMode(Output.of(isolationMode)); + } + + public Builder metastoreId(@Nullable Output metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + public Builder metastoreId(String metastoreId) { + return metastoreId(Output.of(metastoreId)); + } + + /** + * @param name Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param owner Username/groupname/sp application_id of the credential owner. + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Username/groupname/sp application_id of the credential owner. + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + + /** + * @param purpose Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + * @return builder + * + */ + public Builder purpose(Output purpose) { + $.purpose = purpose; + return this; + } + + /** + * @param purpose Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + * @return builder + * + */ + public Builder purpose(String purpose) { + return purpose(Output.of(purpose)); + } + + /** + * @param readOnly Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + * @return builder + * + */ + public Builder readOnly(@Nullable Output readOnly) { + $.readOnly = readOnly; + return this; + } + + /** + * @param readOnly Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + * @return builder + * + */ + public Builder readOnly(Boolean readOnly) { + return readOnly(Output.of(readOnly)); + } + + /** + * @param skipValidation Suppress validation errors if any & force save the credential. + * + * @return builder + * + */ + public Builder skipValidation(@Nullable Output skipValidation) { + $.skipValidation = skipValidation; + return this; + } + + /** + * @param skipValidation Suppress validation errors if any & force save the credential. + * + * @return builder + * + */ + public Builder skipValidation(Boolean skipValidation) { + return skipValidation(Output.of(skipValidation)); + } + + public Builder updatedAt(@Nullable Output updatedAt) { + $.updatedAt = updatedAt; + return this; + } + + public Builder updatedAt(Integer updatedAt) { + return updatedAt(Output.of(updatedAt)); + } + + public Builder updatedBy(@Nullable Output updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + public Builder updatedBy(String updatedBy) { + return updatedBy(Output.of(updatedBy)); + } + + public Builder usedForManagedStorage(@Nullable Output usedForManagedStorage) { + $.usedForManagedStorage = usedForManagedStorage; + return this; + } + + public Builder usedForManagedStorage(Boolean usedForManagedStorage) { + return usedForManagedStorage(Output.of(usedForManagedStorage)); + } + + public CredentialArgs build() { + if ($.purpose == null) { + throw new MissingRequiredPropertyException("CredentialArgs", "purpose"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java b/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java index 2f7c3b36..140a40b8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/DatabricksFunctions.java @@ -6,6 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.TypeShape; import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.GetAppArgs; +import com.pulumi.databricks.inputs.GetAppPlainArgs; import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs; import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyPlainArgs; import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; @@ -64,6 +66,10 @@ import com.pulumi.databricks.inputs.GetMlflowModelsPlainArgs; import com.pulumi.databricks.inputs.GetMwsCredentialsArgs; import com.pulumi.databricks.inputs.GetMwsCredentialsPlainArgs; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigPlainArgs; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsPlainArgs; import com.pulumi.databricks.inputs.GetMwsWorkspacesArgs; import com.pulumi.databricks.inputs.GetMwsWorkspacesPlainArgs; import com.pulumi.databricks.inputs.GetNodeTypeArgs; @@ -78,6 +84,8 @@ import com.pulumi.databricks.inputs.GetPipelinesPlainArgs; import com.pulumi.databricks.inputs.GetRegisteredModelArgs; import com.pulumi.databricks.inputs.GetRegisteredModelPlainArgs; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsPlainArgs; import com.pulumi.databricks.inputs.GetSchemaArgs; import com.pulumi.databricks.inputs.GetSchemaPlainArgs; import com.pulumi.databricks.inputs.GetSchemasArgs; @@ -86,6 +94,8 @@ import com.pulumi.databricks.inputs.GetServicePrincipalPlainArgs; import com.pulumi.databricks.inputs.GetServicePrincipalsArgs; import com.pulumi.databricks.inputs.GetServicePrincipalsPlainArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsPlainArgs; import com.pulumi.databricks.inputs.GetShareArgs; import com.pulumi.databricks.inputs.GetSharePlainArgs; import com.pulumi.databricks.inputs.GetSharesArgs; @@ -114,6 +124,8 @@ import com.pulumi.databricks.inputs.GetVolumesPlainArgs; import com.pulumi.databricks.inputs.GetZonesArgs; import com.pulumi.databricks.inputs.GetZonesPlainArgs; +import com.pulumi.databricks.outputs.GetAppResult; +import com.pulumi.databricks.outputs.GetAppsResult; import com.pulumi.databricks.outputs.GetAwsAssumeRolePolicyResult; import com.pulumi.databricks.outputs.GetAwsBucketPolicyResult; import com.pulumi.databricks.outputs.GetAwsCrossAccountPolicyResult; @@ -144,6 +156,8 @@ import com.pulumi.databricks.outputs.GetMlflowModelResult; import com.pulumi.databricks.outputs.GetMlflowModelsResult; import com.pulumi.databricks.outputs.GetMwsCredentialsResult; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigResult; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigsResult; import com.pulumi.databricks.outputs.GetMwsWorkspacesResult; import com.pulumi.databricks.outputs.GetNodeTypeResult; import com.pulumi.databricks.outputs.GetNotebookPathsResult; @@ -151,10 +165,12 @@ import com.pulumi.databricks.outputs.GetNotificationDestinationsResult; import com.pulumi.databricks.outputs.GetPipelinesResult; import com.pulumi.databricks.outputs.GetRegisteredModelResult; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsResult; import com.pulumi.databricks.outputs.GetSchemaResult; import com.pulumi.databricks.outputs.GetSchemasResult; import com.pulumi.databricks.outputs.GetServicePrincipalResult; import com.pulumi.databricks.outputs.GetServicePrincipalsResult; +import com.pulumi.databricks.outputs.GetServingEndpointsResult; import com.pulumi.databricks.outputs.GetShareResult; import com.pulumi.databricks.outputs.GetSharesResult; import com.pulumi.databricks.outputs.GetSparkVersionResult; @@ -177,11 +193,13 @@ public final class DatabricksFunctions { /** - * This data source constructs necessary AWS STS assume role policy for you. + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). * - * ## Example Usage + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. * - * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role: + * This data source allows you to fetch information about a Databricks App. + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -192,16 +210,7 @@ public final class DatabricksFunctions {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
-     * import com.pulumi.aws.iam.RolePolicyAttachment;
-     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
-     * import com.pulumi.databricks.MwsCredentials;
-     * import com.pulumi.databricks.MwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -215,35 +224,8 @@ public final class DatabricksFunctions {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var config = ctx.config();
-     *         final var databricksAccountId = config.get("databricksAccountId");
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
-     * 
-     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
-     *             .externalId(databricksAccountId)
-     *             .build());
-     * 
-     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-role", prefix))
-     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
-     *             .description("Grants Databricks full access to VPC resources")
-     *             .build());
-     * 
-     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
-     *             .policyArn(crossAccountPolicy.arn())
-     *             .role(crossAccount.name())
-     *             .build());
-     * 
-     *         // required only in case of multi-workspace setup
-     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
-     *             .accountId(databricksAccountId)
-     *             .credentialsName(String.format("%s-creds", prefix))
-     *             .roleArn(crossAccount.arn())
+     *         final var this = DatabricksFunctions.getApp(GetAppArgs.builder()
+     *             .name("my-custom-app")
      *             .build());
      * 
      *     }
@@ -256,20 +238,24 @@ public final class DatabricksFunctions {
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * 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).
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static Output getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args) {
-        return getAwsAssumeRolePolicy(args, InvokeOptions.Empty);
+    public static Output getApp(GetAppArgs args) {
+        return getApp(args, InvokeOptions.Empty);
     }
     /**
-     * This data source constructs necessary AWS STS assume role policy for you.
+     * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
      * 
-     * ## Example Usage
+     * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
      * 
-     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
+     * This data source allows you to fetch information about a Databricks App.
+     * 
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -280,16 +266,7 @@ public static Output getAwsAssumeRolePolicy(GetAws
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
-     * import com.pulumi.aws.iam.RolePolicyAttachment;
-     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
-     * import com.pulumi.databricks.MwsCredentials;
-     * import com.pulumi.databricks.MwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -303,35 +280,8 @@ public static Output getAwsAssumeRolePolicy(GetAws
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var config = ctx.config();
-     *         final var databricksAccountId = config.get("databricksAccountId");
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
-     * 
-     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
-     *             .externalId(databricksAccountId)
-     *             .build());
-     * 
-     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-role", prefix))
-     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
-     *             .description("Grants Databricks full access to VPC resources")
-     *             .build());
-     * 
-     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
-     *             .policyArn(crossAccountPolicy.arn())
-     *             .role(crossAccount.name())
-     *             .build());
-     * 
-     *         // required only in case of multi-workspace setup
-     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
-     *             .accountId(databricksAccountId)
-     *             .credentialsName(String.format("%s-creds", prefix))
-     *             .roleArn(crossAccount.arn())
+     *         final var this = DatabricksFunctions.getApp(GetAppArgs.builder()
+     *             .name("my-custom-app")
      *             .build());
      * 
      *     }
@@ -344,20 +294,24 @@ public static Output getAwsAssumeRolePolicy(GetAws
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * 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).
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static CompletableFuture getAwsAssumeRolePolicyPlain(GetAwsAssumeRolePolicyPlainArgs args) {
-        return getAwsAssumeRolePolicyPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getAppPlain(GetAppPlainArgs args) {
+        return getAppPlain(args, InvokeOptions.Empty);
     }
     /**
-     * This data source constructs necessary AWS STS assume role policy for you.
+     * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
      * 
-     * ## Example Usage
+     * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
      * 
-     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
+     * This data source allows you to fetch information about a Databricks App.
+     * 
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -368,16 +322,7 @@ public static CompletableFuture getAwsAssumeRolePo
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
-     * import com.pulumi.aws.iam.RolePolicyAttachment;
-     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
-     * import com.pulumi.databricks.MwsCredentials;
-     * import com.pulumi.databricks.MwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -391,35 +336,8 @@ public static CompletableFuture getAwsAssumeRolePo
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var config = ctx.config();
-     *         final var databricksAccountId = config.get("databricksAccountId");
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
-     * 
-     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
-     *             .externalId(databricksAccountId)
-     *             .build());
-     * 
-     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-role", prefix))
-     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
-     *             .description("Grants Databricks full access to VPC resources")
-     *             .build());
-     * 
-     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
-     *             .policyArn(crossAccountPolicy.arn())
-     *             .role(crossAccount.name())
-     *             .build());
-     * 
-     *         // required only in case of multi-workspace setup
-     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
-     *             .accountId(databricksAccountId)
-     *             .credentialsName(String.format("%s-creds", prefix))
-     *             .roleArn(crossAccount.arn())
+     *         final var this = DatabricksFunctions.getApp(GetAppArgs.builder()
+     *             .name("my-custom-app")
      *             .build());
      * 
      *     }
@@ -432,20 +350,24 @@ public static CompletableFuture getAwsAssumeRolePo
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * 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).
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static Output getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", TypeShape.of(GetAwsAssumeRolePolicyResult.class), args, Utilities.withVersion(options));
+    public static Output getApp(GetAppArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getApp:getApp", TypeShape.of(GetAppResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source constructs necessary AWS STS assume role policy for you.
+     * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
      * 
-     * ## Example Usage
+     * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
      * 
-     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
+     * This data source allows you to fetch information about a Databricks App.
+     * 
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -456,16 +378,7 @@ public static Output getAwsAssumeRolePolicy(GetAws
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
-     * import com.pulumi.aws.iam.RolePolicyAttachment;
-     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
-     * import com.pulumi.databricks.MwsCredentials;
-     * import com.pulumi.databricks.MwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -479,35 +392,8 @@ public static Output getAwsAssumeRolePolicy(GetAws
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var config = ctx.config();
-     *         final var databricksAccountId = config.get("databricksAccountId");
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
-     * 
-     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
-     *             .externalId(databricksAccountId)
-     *             .build());
-     * 
-     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-role", prefix))
-     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
-     *             .description("Grants Databricks full access to VPC resources")
-     *             .build());
-     * 
-     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
-     *             .policyArn(crossAccountPolicy.arn())
-     *             .role(crossAccount.name())
-     *             .build());
-     * 
-     *         // required only in case of multi-workspace setup
-     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
-     *             .accountId(databricksAccountId)
-     *             .credentialsName(String.format("%s-creds", prefix))
-     *             .roleArn(crossAccount.arn())
+     *         final var this = DatabricksFunctions.getApp(GetAppArgs.builder()
+     *             .name("my-custom-app")
      *             .build());
      * 
      *     }
@@ -520,20 +406,24 @@ public static Output getAwsAssumeRolePolicy(GetAws
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * 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).
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static Output getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", TypeShape.of(GetAwsAssumeRolePolicyResult.class), args, Utilities.withVersion(options));
+    public static Output getApp(GetAppArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getApp:getApp", TypeShape.of(GetAppResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This data source constructs necessary AWS STS assume role policy for you.
+     * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
      * 
-     * ## Example Usage
+     * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
      * 
-     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
+     * This data source allows you to fetch information about a Databricks App.
+     * 
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -544,16 +434,7 @@ public static Output getAwsAssumeRolePolicy(GetAws
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
-     * import com.pulumi.aws.iam.RolePolicyAttachment;
-     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
-     * import com.pulumi.databricks.MwsCredentials;
-     * import com.pulumi.databricks.MwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetAppArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -567,35 +448,8 @@ public static Output getAwsAssumeRolePolicy(GetAws
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var config = ctx.config();
-     *         final var databricksAccountId = config.get("databricksAccountId");
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
-     * 
-     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
-     *             .externalId(databricksAccountId)
-     *             .build());
-     * 
-     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
-     *             .name(String.format("%s-crossaccount-iam-role", prefix))
-     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
-     *             .description("Grants Databricks full access to VPC resources")
-     *             .build());
-     * 
-     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
-     *             .policyArn(crossAccountPolicy.arn())
-     *             .role(crossAccount.name())
-     *             .build());
-     * 
-     *         // required only in case of multi-workspace setup
-     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
-     *             .accountId(databricksAccountId)
-     *             .credentialsName(String.format("%s-creds", prefix))
-     *             .roleArn(crossAccount.arn())
+     *         final var this = DatabricksFunctions.getApp(GetAppArgs.builder()
+     *             .name("my-custom-app")
      *             .build());
      * 
      *     }
@@ -608,16 +462,22 @@ public static Output getAwsAssumeRolePolicy(GetAws
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * 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).
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static CompletableFuture getAwsAssumeRolePolicyPlain(GetAwsAssumeRolePolicyPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", TypeShape.of(GetAwsAssumeRolePolicyResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getAppPlain(GetAppPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getApp:getApp", TypeShape.of(GetAppResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
+     * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
+     * 
+     * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
+     * 
+     * This data source allows you to fetch information about all Databricks Apps within a workspace.
      * 
      * ## Example Usage
      * 
@@ -629,12 +489,7 @@ public static CompletableFuture getAwsAssumeRolePo
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs;
-     * import com.pulumi.aws.s3.BucketPolicy;
-     * import com.pulumi.aws.s3.BucketPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -648,19 +503,7 @@ public static CompletableFuture getAwsAssumeRolePo
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder()
-     *             .bucket("")
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder()
-     *             .bucket(thisBucketV2.bucket())
-     *             .build());
-     * 
-     *         var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder()
-     *             .bucket(thisBucketV2.id())
-     *             .policy(this_.applyValue(this_ -> this_.json()))
-     *             .build());
+     *         final var allApps = DatabricksFunctions.getApps();
      * 
      *     }
      * }
@@ -668,14 +511,26 @@ public static CompletableFuture getAwsAssumeRolePo
      * 
* <!--End PulumiCodeChooser --> * - * Bucket policy with full access: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. * */ - public static Output getAwsBucketPolicy(GetAwsBucketPolicyArgs args) { - return getAwsBucketPolicy(args, InvokeOptions.Empty); + public static Output getApps() { + return getApps(InvokeArgs.Empty, InvokeOptions.Empty); } /** - * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about all Databricks Apps within a workspace. * * ## Example Usage * @@ -687,12 +542,7 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.aws.s3.BucketV2; - * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; - * import com.pulumi.aws.s3.BucketPolicy; - * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -706,19 +556,7 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo * } * * public static void stack(Context ctx) { - * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() - * .bucket("") - * .forceDestroy(true) - * .build()); - * - * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() - * .bucket(thisBucketV2.bucket()) - * .build()); - * - * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() - * .bucket(thisBucketV2.id()) - * .policy(this_.applyValue(this_ -> this_.json())) - * .build()); + * final var allApps = DatabricksFunctions.getApps(); * * } * } @@ -726,14 +564,26 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo *
* <!--End PulumiCodeChooser --> * - * Bucket policy with full access: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. * */ - public static CompletableFuture getAwsBucketPolicyPlain(GetAwsBucketPolicyPlainArgs args) { - return getAwsBucketPolicyPlain(args, InvokeOptions.Empty); + public static CompletableFuture getAppsPlain() { + return getAppsPlain(InvokeArgs.Empty, InvokeOptions.Empty); } /** - * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about all Databricks Apps within a workspace. * * ## Example Usage * @@ -745,12 +595,7 @@ public static CompletableFuture getAwsBucketPolicyPlai * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.aws.s3.BucketV2; - * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; - * import com.pulumi.aws.s3.BucketPolicy; - * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -764,19 +609,7 @@ public static CompletableFuture getAwsBucketPolicyPlai * } * * public static void stack(Context ctx) { - * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() - * .bucket("") - * .forceDestroy(true) - * .build()); - * - * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() - * .bucket(thisBucketV2.bucket()) - * .build()); - * - * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() - * .bucket(thisBucketV2.id()) - * .policy(this_.applyValue(this_ -> this_.json())) - * .build()); + * final var allApps = DatabricksFunctions.getApps(); * * } * } @@ -784,14 +617,26 @@ public static CompletableFuture getAwsBucketPolicyPlai *
* <!--End PulumiCodeChooser --> * - * Bucket policy with full access: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. * */ - public static Output getAwsBucketPolicy(GetAwsBucketPolicyArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", TypeShape.of(GetAwsBucketPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getApps(InvokeArgs args) { + return getApps(args, InvokeOptions.Empty); } /** - * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about all Databricks Apps within a workspace. * * ## Example Usage * @@ -803,12 +648,7 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.aws.s3.BucketV2; - * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; - * import com.pulumi.aws.s3.BucketPolicy; - * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -822,19 +662,7 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo * } * * public static void stack(Context ctx) { - * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() - * .bucket("") - * .forceDestroy(true) - * .build()); - * - * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() - * .bucket(thisBucketV2.bucket()) - * .build()); - * - * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() - * .bucket(thisBucketV2.id()) - * .policy(this_.applyValue(this_ -> this_.json())) - * .build()); + * final var allApps = DatabricksFunctions.getApps(); * * } * } @@ -842,14 +670,26 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo *
* <!--End PulumiCodeChooser --> * - * Bucket policy with full access: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. * */ - public static Output getAwsBucketPolicy(GetAwsBucketPolicyArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", TypeShape.of(GetAwsBucketPolicyResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAppsPlain(InvokeArgs args) { + return getAppsPlain(args, InvokeOptions.Empty); } /** - * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about all Databricks Apps within a workspace. * * ## Example Usage * @@ -861,12 +701,7 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.aws.s3.BucketV2; - * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; - * import com.pulumi.aws.s3.BucketPolicy; - * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -880,19 +715,7 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo * } * * public static void stack(Context ctx) { - * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() - * .bucket("") - * .forceDestroy(true) - * .build()); - * - * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() - * .bucket(thisBucketV2.bucket()) - * .build()); - * - * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() - * .bucket(thisBucketV2.id()) - * .policy(this_.applyValue(this_ -> this_.json())) - * .build()); + * final var allApps = DatabricksFunctions.getApps(); * * } * } @@ -900,20 +723,28 @@ public static Output getAwsBucketPolicy(GetAwsBucketPo *
* <!--End PulumiCodeChooser --> * - * Bucket policy with full access: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. * */ - public static CompletableFuture getAwsBucketPolicyPlain(GetAwsBucketPolicyPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", TypeShape.of(GetAwsBucketPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getApps(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getApps:getApps", TypeShape.of(GetAppsResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). * - * This data source constructs 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). + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. * - * ## Example Usage + * This data source allows you to fetch information about all Databricks Apps within a workspace. * - * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -924,7 +755,6 @@ public static CompletableFuture getAwsBucketPolicyPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -938,7 +768,7 @@ public static CompletableFuture getAwsBucketPolicyPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
+     *         final var allApps = DatabricksFunctions.getApps();
      * 
      *     }
      * }
@@ -950,23 +780,24 @@ public static CompletableFuture getAwsBucketPolicyPlai
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
-     * * 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.
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static Output getAwsCrossAccountPolicy() {
-        return getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs.Empty, InvokeOptions.Empty);
+    public static Output getApps(InvokeArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getApps:getApps", TypeShape.of(GetAppsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with an account-level provider!
+     * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
      * 
-     * This data source constructs 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).
+     * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
      * 
-     * ## Example Usage
+     * This data source allows you to fetch information about all Databricks Apps within a workspace.
      * 
-     * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages.
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -977,7 +808,6 @@ public static Output getAwsCrossAccountPolicy()
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -991,7 +821,7 @@ public static Output getAwsCrossAccountPolicy()
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
+     *         final var allApps = DatabricksFunctions.getApps();
      * 
      *     }
      * }
@@ -1003,23 +833,22 @@ public static Output getAwsCrossAccountPolicy()
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
-     * * 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.
+     * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
+     * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
+     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
+     * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
+     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
      * 
      */
-    public static CompletableFuture getAwsCrossAccountPolicyPlain() {
-        return getAwsCrossAccountPolicyPlain(GetAwsCrossAccountPolicyPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getAppsPlain(InvokeArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getApps:getApps", TypeShape.of(GetAppsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with an account-level provider!
-     * 
-     * This data source constructs 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).
+     * This data source constructs necessary AWS STS assume role policy for you.
      * 
      * ## Example Usage
      * 
-     * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages.
+     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -1031,6 +860,15 @@ public static CompletableFuture getAwsCrossAccou
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
      * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.aws.iam.RolePolicyAttachment;
+     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
+     * import com.pulumi.databricks.MwsCredentials;
+     * import com.pulumi.databricks.MwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1044,8 +882,37 @@ public static CompletableFuture getAwsCrossAccou
      *     }
      * 
      *     public static void stack(Context ctx) {
+     *         final var config = ctx.config();
+     *         final var databricksAccountId = config.get("databricksAccountId");
      *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
+     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
+     *             .externalId(databricksAccountId)
+     *             .build());
+     * 
+     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-role", prefix))
+     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
+     *             .description("Grants Databricks full access to VPC resources")
+     *             .build());
+     * 
+     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
+     *             .policyArn(crossAccountPolicy.arn())
+     *             .role(crossAccount.name())
+     *             .build());
+     * 
+     *         // required only in case of multi-workspace setup
+     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
+     *             .accountId(databricksAccountId)
+     *             .credentialsName(String.format("%s-creds", prefix))
+     *             .roleArn(crossAccount.arn())
+     *             .build());
+     * 
      *     }
      * }
      * }
@@ -1057,22 +924,19 @@ public static CompletableFuture getAwsCrossAccou
      * The following resources are used in the same context:
      * 
      * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
      * * 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.
+     * * 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).
      * 
      */
-    public static Output getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs args) {
-        return getAwsCrossAccountPolicy(args, InvokeOptions.Empty);
+    public static Output getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args) {
+        return getAwsAssumeRolePolicy(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** This data source can only be used with an account-level provider!
-     * 
-     * This data source constructs 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).
+     * This data source constructs necessary AWS STS assume role policy for you.
      * 
      * ## Example Usage
      * 
-     * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages.
+     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -1084,6 +948,15 @@ public static Output getAwsCrossAccountPolicy(Ge
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
      * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.aws.iam.RolePolicyAttachment;
+     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
+     * import com.pulumi.databricks.MwsCredentials;
+     * import com.pulumi.databricks.MwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1097,35 +970,61 @@ public static Output getAwsCrossAccountPolicy(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
+     *         final var config = ctx.config();
+     *         final var databricksAccountId = config.get("databricksAccountId");
      *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> + * var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder() + * .name(String.format("%s-crossaccount-iam-policy", prefix)) + * .policy(this_.json()) + * .build()); * - * ## Related Resources + * final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder() + * .externalId(databricksAccountId) + * .build()); * - * The following resources are used in the same context: + * var crossAccount = new Role("crossAccount", RoleArgs.builder() + * .name(String.format("%s-crossaccount-iam-role", prefix)) + * .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json())) + * .description("Grants Databricks full access to VPC resources") + * .build()); * - * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide - * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy. + * var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder() + * .policyArn(crossAccountPolicy.arn()) + * .role(crossAccount.name()) + * .build()); + * + * // required only in case of multi-workspace setup + * var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder() + * .accountId(databricksAccountId) + * .credentialsName(String.format("%s-creds", prefix)) + * .roleArn(crossAccount.arn()) + * .build()); + * + * } + * } + * } + *
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide * * 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. + * * 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). * */ - public static CompletableFuture getAwsCrossAccountPolicyPlain(GetAwsCrossAccountPolicyPlainArgs args) { - return getAwsCrossAccountPolicyPlain(args, InvokeOptions.Empty); + public static CompletableFuture getAwsAssumeRolePolicyPlain(GetAwsAssumeRolePolicyPlainArgs args) { + return getAwsAssumeRolePolicyPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * This data source constructs 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). + * This data source constructs necessary AWS STS assume role policy for you. * * ## Example Usage * - * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role: * * <!--Start PulumiCodeChooser --> *
@@ -1137,6 +1036,15 @@ public static CompletableFuture getAwsCrossAccou
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
      * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.aws.iam.RolePolicyAttachment;
+     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
+     * import com.pulumi.databricks.MwsCredentials;
+     * import com.pulumi.databricks.MwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1150,8 +1058,37 @@ public static CompletableFuture getAwsCrossAccou
      *     }
      * 
      *     public static void stack(Context ctx) {
+     *         final var config = ctx.config();
+     *         final var databricksAccountId = config.get("databricksAccountId");
      *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
+     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
+     *             .externalId(databricksAccountId)
+     *             .build());
+     * 
+     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-role", prefix))
+     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
+     *             .description("Grants Databricks full access to VPC resources")
+     *             .build());
+     * 
+     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
+     *             .policyArn(crossAccountPolicy.arn())
+     *             .role(crossAccount.name())
+     *             .build());
+     * 
+     *         // required only in case of multi-workspace setup
+     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
+     *             .accountId(databricksAccountId)
+     *             .credentialsName(String.format("%s-creds", prefix))
+     *             .roleArn(crossAccount.arn())
+     *             .build());
+     * 
      *     }
      * }
      * }
@@ -1163,22 +1100,19 @@ public static CompletableFuture getAwsCrossAccou
      * The following resources are used in the same context:
      * 
      * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
      * * 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.
+     * * 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).
      * 
      */
-    public static Output getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", TypeShape.of(GetAwsCrossAccountPolicyResult.class), args, Utilities.withVersion(options));
+    public static Output getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", TypeShape.of(GetAwsAssumeRolePolicyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with an account-level provider!
-     * 
-     * This data source constructs 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).
+     * This data source constructs necessary AWS STS assume role policy for you.
      * 
      * ## Example Usage
      * 
-     * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages.
+     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -1190,6 +1124,15 @@ public static Output getAwsCrossAccountPolicy(Ge
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
      * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.aws.iam.RolePolicyAttachment;
+     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
+     * import com.pulumi.databricks.MwsCredentials;
+     * import com.pulumi.databricks.MwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1203,8 +1146,37 @@ public static Output getAwsCrossAccountPolicy(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
+     *         final var config = ctx.config();
+     *         final var databricksAccountId = config.get("databricksAccountId");
      *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
+     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
+     *             .externalId(databricksAccountId)
+     *             .build());
+     * 
+     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-role", prefix))
+     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
+     *             .description("Grants Databricks full access to VPC resources")
+     *             .build());
+     * 
+     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
+     *             .policyArn(crossAccountPolicy.arn())
+     *             .role(crossAccount.name())
+     *             .build());
+     * 
+     *         // required only in case of multi-workspace setup
+     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
+     *             .accountId(databricksAccountId)
+     *             .credentialsName(String.format("%s-creds", prefix))
+     *             .roleArn(crossAccount.arn())
+     *             .build());
+     * 
      *     }
      * }
      * }
@@ -1216,22 +1188,19 @@ public static Output getAwsCrossAccountPolicy(Ge
      * The following resources are used in the same context:
      * 
      * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
      * * 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.
+     * * 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).
      * 
      */
-    public static Output getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", TypeShape.of(GetAwsCrossAccountPolicyResult.class), args, Utilities.withVersion(options));
+    public static Output getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", TypeShape.of(GetAwsAssumeRolePolicyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with an account-level provider!
-     * 
-     * This data source constructs 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).
+     * This data source constructs necessary AWS STS assume role policy for you.
      * 
      * ## Example Usage
      * 
-     * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages.
+     * End-to-end example of provisioning Cross-account IAM role with databricks.MwsCredentials and aws_iam_role:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -1243,6 +1212,15 @@ public static Output getAwsCrossAccountPolicy(Ge
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
      * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.aws.iam.RolePolicyAttachment;
+     * import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
+     * import com.pulumi.databricks.MwsCredentials;
+     * import com.pulumi.databricks.MwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1256,8 +1234,37 @@ public static Output getAwsCrossAccountPolicy(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
+     *         final var config = ctx.config();
+     *         final var databricksAccountId = config.get("databricksAccountId");
      *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
+     *         var crossAccountPolicy = new Policy("crossAccountPolicy", PolicyArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         final var thisGetAwsAssumeRolePolicy = DatabricksFunctions.getAwsAssumeRolePolicy(GetAwsAssumeRolePolicyArgs.builder()
+     *             .externalId(databricksAccountId)
+     *             .build());
+     * 
+     *         var crossAccount = new Role("crossAccount", RoleArgs.builder()
+     *             .name(String.format("%s-crossaccount-iam-role", prefix))
+     *             .assumeRolePolicy(thisGetAwsAssumeRolePolicy.applyValue(getAwsAssumeRolePolicyResult -> getAwsAssumeRolePolicyResult.json()))
+     *             .description("Grants Databricks full access to VPC resources")
+     *             .build());
+     * 
+     *         var crossAccountRolePolicyAttachment = new RolePolicyAttachment("crossAccountRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
+     *             .policyArn(crossAccountPolicy.arn())
+     *             .role(crossAccount.name())
+     *             .build());
+     * 
+     *         // required only in case of multi-workspace setup
+     *         var thisMwsCredentials = new MwsCredentials("thisMwsCredentials", MwsCredentialsArgs.builder()
+     *             .accountId(databricksAccountId)
+     *             .credentialsName(String.format("%s-creds", prefix))
+     *             .roleArn(crossAccount.arn())
+     *             .build());
+     * 
      *     }
      * }
      * }
@@ -1269,18 +1276,15 @@ public static Output getAwsCrossAccountPolicy(Ge
      * The following resources are used in the same context:
      * 
      * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
-     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
      * * 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.
+     * * 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).
      * 
      */
-    public static CompletableFuture getAwsCrossAccountPolicyPlain(GetAwsCrossAccountPolicyPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", TypeShape.of(GetAwsCrossAccountPolicyResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getAwsAssumeRolePolicyPlain(GetAwsAssumeRolePolicyPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", TypeShape.of(GetAwsAssumeRolePolicyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **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.
-     * 
-     * This data source constructs the necessary AWS Unity Catalog assume role policy for you.
+     * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
      * 
      * ## Example Usage
      * 
@@ -1292,13 +1296,12 @@ public static CompletableFuture getAwsCrossAccou
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs;
+     * import com.pulumi.aws.s3.BucketPolicy;
+     * import com.pulumi.aws.s3.BucketPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1312,28 +1315,18 @@ public static CompletableFuture getAwsCrossAccou
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .bucketName("databricks-bucket")
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
-     *             .build());
-     * 
-     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .externalId("12345")
+     *         var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder()
+     *             .bucket("")
+     *             .forceDestroy(true)
      *             .build());
      * 
-     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
-     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
-     *             .policy(this_.json())
+     *         final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder()
+     *             .bucket(thisBucketV2.bucket())
      *             .build());
      * 
-     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
-     *             .name(String.format("%s-uc-access", prefix))
-     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
-     *             .managedPolicyArns(unityMetastore.arn())
+     *         var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder()
+     *             .bucket(thisBucketV2.id())
+     *             .policy(this_.applyValue(this_ -> this_.json()))
      *             .build());
      * 
      *     }
@@ -1342,14 +1335,14 @@ public static CompletableFuture getAwsCrossAccou
      * 
* <!--End PulumiCodeChooser --> * + * Bucket policy with full access: + * */ - public static Output getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs args) { - return getAwsUnityCatalogAssumeRolePolicy(args, InvokeOptions.Empty); + public static Output getAwsBucketPolicy(GetAwsBucketPolicyArgs args) { + return getAwsBucketPolicy(args, InvokeOptions.Empty); } /** - * > **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. - * - * This data source constructs the necessary AWS Unity Catalog assume role policy for you. + * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. * * ## Example Usage * @@ -1361,13 +1354,12 @@ public static Output getAwsUnityCatalo * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; + * import com.pulumi.aws.s3.BucketV2; + * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs; - * import com.pulumi.aws.iam.Policy; - * import com.pulumi.aws.iam.PolicyArgs; - * import com.pulumi.aws.iam.Role; - * import com.pulumi.aws.iam.RoleArgs; + * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; + * import com.pulumi.aws.s3.BucketPolicy; + * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1381,28 +1373,18 @@ public static Output getAwsUnityCatalo * } * * public static void stack(Context ctx) { - * final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .bucketName("databricks-bucket") - * .roleName(String.format("%s-uc-access", prefix)) - * .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms") + * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() + * .bucket("") + * .forceDestroy(true) * .build()); * - * final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .roleName(String.format("%s-uc-access", prefix)) - * .externalId("12345") - * .build()); - * - * var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder() - * .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix)) - * .policy(this_.json()) + * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() + * .bucket(thisBucketV2.bucket()) * .build()); * - * var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder() - * .name(String.format("%s-uc-access", prefix)) - * .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json())) - * .managedPolicyArns(unityMetastore.arn()) + * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() + * .bucket(thisBucketV2.id()) + * .policy(this_.applyValue(this_ -> this_.json())) * .build()); * * } @@ -1411,14 +1393,14 @@ public static Output getAwsUnityCatalo *
* <!--End PulumiCodeChooser --> * + * Bucket policy with full access: + * */ - public static CompletableFuture getAwsUnityCatalogAssumeRolePolicyPlain(GetAwsUnityCatalogAssumeRolePolicyPlainArgs args) { - return getAwsUnityCatalogAssumeRolePolicyPlain(args, InvokeOptions.Empty); + public static CompletableFuture getAwsBucketPolicyPlain(GetAwsBucketPolicyPlainArgs args) { + return getAwsBucketPolicyPlain(args, InvokeOptions.Empty); } /** - * > **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. - * - * This data source constructs the necessary AWS Unity Catalog assume role policy for you. + * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. * * ## Example Usage * @@ -1430,13 +1412,12 @@ public static CompletableFuture getAws * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; + * import com.pulumi.aws.s3.BucketV2; + * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs; - * import com.pulumi.aws.iam.Policy; - * import com.pulumi.aws.iam.PolicyArgs; - * import com.pulumi.aws.iam.Role; - * import com.pulumi.aws.iam.RoleArgs; + * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; + * import com.pulumi.aws.s3.BucketPolicy; + * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1450,28 +1431,18 @@ public static CompletableFuture getAws * } * * public static void stack(Context ctx) { - * final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .bucketName("databricks-bucket") - * .roleName(String.format("%s-uc-access", prefix)) - * .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms") - * .build()); - * - * final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .roleName(String.format("%s-uc-access", prefix)) - * .externalId("12345") + * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() + * .bucket("") + * .forceDestroy(true) * .build()); * - * var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder() - * .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix)) - * .policy(this_.json()) + * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() + * .bucket(thisBucketV2.bucket()) * .build()); * - * var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder() - * .name(String.format("%s-uc-access", prefix)) - * .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json())) - * .managedPolicyArns(unityMetastore.arn()) + * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() + * .bucket(thisBucketV2.id()) + * .policy(this_.applyValue(this_ -> this_.json())) * .build()); * * } @@ -1480,14 +1451,14 @@ public static CompletableFuture getAws *
* <!--End PulumiCodeChooser --> * + * Bucket policy with full access: + * */ - public static Output getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", TypeShape.of(GetAwsUnityCatalogAssumeRolePolicyResult.class), args, Utilities.withVersion(options)); + public static Output getAwsBucketPolicy(GetAwsBucketPolicyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", TypeShape.of(GetAwsBucketPolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **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. - * - * This data source constructs the necessary AWS Unity Catalog assume role policy for you. + * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. * * ## Example Usage * @@ -1499,13 +1470,12 @@ public static Output getAwsUnityCatalo * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; + * import com.pulumi.aws.s3.BucketV2; + * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs; - * import com.pulumi.aws.iam.Policy; - * import com.pulumi.aws.iam.PolicyArgs; - * import com.pulumi.aws.iam.Role; - * import com.pulumi.aws.iam.RoleArgs; + * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; + * import com.pulumi.aws.s3.BucketPolicy; + * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1519,28 +1489,18 @@ public static Output getAwsUnityCatalo * } * * public static void stack(Context ctx) { - * final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .bucketName("databricks-bucket") - * .roleName(String.format("%s-uc-access", prefix)) - * .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms") - * .build()); - * - * final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .roleName(String.format("%s-uc-access", prefix)) - * .externalId("12345") + * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() + * .bucket("") + * .forceDestroy(true) * .build()); * - * var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder() - * .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix)) - * .policy(this_.json()) + * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() + * .bucket(thisBucketV2.bucket()) * .build()); * - * var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder() - * .name(String.format("%s-uc-access", prefix)) - * .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json())) - * .managedPolicyArns(unityMetastore.arn()) + * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() + * .bucket(thisBucketV2.id()) + * .policy(this_.applyValue(this_ -> this_.json())) * .build()); * * } @@ -1549,14 +1509,14 @@ public static Output getAwsUnityCatalo *
* <!--End PulumiCodeChooser --> * + * Bucket policy with full access: + * */ - public static Output getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", TypeShape.of(GetAwsUnityCatalogAssumeRolePolicyResult.class), args, Utilities.withVersion(options)); + public static Output getAwsBucketPolicy(GetAwsBucketPolicyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", TypeShape.of(GetAwsBucketPolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **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. - * - * This data source constructs the necessary AWS Unity Catalog assume role policy for you. + * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. * * ## Example Usage * @@ -1568,13 +1528,12 @@ public static Output getAwsUnityCatalo * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; + * import com.pulumi.aws.s3.BucketV2; + * import com.pulumi.aws.s3.BucketV2Args; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs; - * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs; - * import com.pulumi.aws.iam.Policy; - * import com.pulumi.aws.iam.PolicyArgs; - * import com.pulumi.aws.iam.Role; - * import com.pulumi.aws.iam.RoleArgs; + * import com.pulumi.databricks.inputs.GetAwsBucketPolicyArgs; + * import com.pulumi.aws.s3.BucketPolicy; + * import com.pulumi.aws.s3.BucketPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -1588,28 +1547,18 @@ public static Output getAwsUnityCatalo * } * * public static void stack(Context ctx) { - * final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .bucketName("databricks-bucket") - * .roleName(String.format("%s-uc-access", prefix)) - * .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms") - * .build()); - * - * final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder() - * .awsAccountId(awsAccountId) - * .roleName(String.format("%s-uc-access", prefix)) - * .externalId("12345") + * var thisBucketV2 = new BucketV2("thisBucketV2", BucketV2Args.builder() + * .bucket("") + * .forceDestroy(true) * .build()); * - * var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder() - * .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix)) - * .policy(this_.json()) + * final var this = DatabricksFunctions.getAwsBucketPolicy(GetAwsBucketPolicyArgs.builder() + * .bucket(thisBucketV2.bucket()) * .build()); * - * var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder() - * .name(String.format("%s-uc-access", prefix)) - * .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json())) - * .managedPolicyArns(unityMetastore.arn()) + * var thisBucketPolicy = new BucketPolicy("thisBucketPolicy", BucketPolicyArgs.builder() + * .bucket(thisBucketV2.id()) + * .policy(this_.applyValue(this_ -> this_.json())) * .build()); * * } @@ -1618,17 +1567,21 @@ public static Output getAwsUnityCatalo *
* <!--End PulumiCodeChooser --> * + * Bucket policy with full access: + * */ - public static CompletableFuture getAwsUnityCatalogAssumeRolePolicyPlain(GetAwsUnityCatalogAssumeRolePolicyPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", TypeShape.of(GetAwsUnityCatalogAssumeRolePolicyResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAwsBucketPolicyPlain(GetAwsBucketPolicyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", TypeShape.of(GetAwsBucketPolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **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. + * > **Note** This data source can only be used with an account-level provider! * - * This data source constructs the necessary AWS Unity Catalog policy for you. + * This data source constructs 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). * * ## Example Usage * + * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -1638,12 +1591,7 @@ public static CompletableFuture getAws
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1657,29 +1605,7 @@ public static CompletableFuture getAws
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .bucketName("databricks-bucket")
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
-     *             .build());
-     * 
-     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .externalId("12345")
-     *             .build());
-     * 
-     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
-     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
-     *             .name(String.format("%s-uc-access", prefix))
-     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
-     *             .managedPolicyArns(unityMetastore.arn())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -1687,17 +1613,28 @@ public static CompletableFuture getAws
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide + * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy. + * * 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. + * */ - public static Output getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs args) { - return getAwsUnityCatalogPolicy(args, InvokeOptions.Empty); + public static Output getAwsCrossAccountPolicy() { + return getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs.Empty, InvokeOptions.Empty); } /** - * > **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. + * > **Note** This data source can only be used with an account-level provider! * - * This data source constructs the necessary AWS Unity Catalog policy for you. + * This data source constructs 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). * * ## Example Usage * + * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -1707,12 +1644,7 @@ public static Output getAwsUnityCatalogPolicy(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1726,29 +1658,7 @@ public static Output getAwsUnityCatalogPolicy(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .bucketName("databricks-bucket")
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
-     *             .build());
-     * 
-     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .externalId("12345")
-     *             .build());
-     * 
-     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
-     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
-     *             .name(String.format("%s-uc-access", prefix))
-     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
-     *             .managedPolicyArns(unityMetastore.arn())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -1756,17 +1666,28 @@ public static Output getAwsUnityCatalogPolicy(Ge
      * 
* <!--End PulumiCodeChooser --> * - */ - public static CompletableFuture getAwsUnityCatalogPolicyPlain(GetAwsUnityCatalogPolicyPlainArgs args) { - return getAwsUnityCatalogPolicyPlain(args, InvokeOptions.Empty); - } - /** - * > **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. + * ## Related Resources * - * This data source constructs the necessary AWS Unity Catalog policy for you. + * The following resources are used in the same context: + * + * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide + * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy. + * * 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. + * + */ + public static CompletableFuture getAwsCrossAccountPolicyPlain() { + return getAwsCrossAccountPolicyPlain(GetAwsCrossAccountPolicyPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * This data source constructs 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). * * ## Example Usage * + * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -1776,12 +1697,7 @@ public static CompletableFuture getAwsUnityCatal
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1795,29 +1711,7 @@ public static CompletableFuture getAwsUnityCatal
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .bucketName("databricks-bucket")
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
-     *             .build());
-     * 
-     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .externalId("12345")
-     *             .build());
-     * 
-     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
-     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
-     *             .name(String.format("%s-uc-access", prefix))
-     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
-     *             .managedPolicyArns(unityMetastore.arn())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -1825,17 +1719,28 @@ public static CompletableFuture getAwsUnityCatal
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide + * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy. + * * 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. + * */ - public static Output getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs args) { + return getAwsCrossAccountPolicy(args, InvokeOptions.Empty); } /** - * > **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. + * > **Note** This data source can only be used with an account-level provider! * - * This data source constructs the necessary AWS Unity Catalog policy for you. + * This data source constructs 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). * * ## Example Usage * + * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -1845,12 +1750,7 @@ public static Output getAwsUnityCatalogPolicy(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1864,29 +1764,7 @@ public static Output getAwsUnityCatalogPolicy(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .bucketName("databricks-bucket")
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
-     *             .build());
-     * 
-     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .externalId("12345")
-     *             .build());
-     * 
-     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
-     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
-     *             .name(String.format("%s-uc-access", prefix))
-     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
-     *             .managedPolicyArns(unityMetastore.arn())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -1894,17 +1772,28 @@ public static Output getAwsUnityCatalogPolicy(Ge
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide + * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy. + * * 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. + * */ - public static Output getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAwsCrossAccountPolicyPlain(GetAwsCrossAccountPolicyPlainArgs args) { + return getAwsCrossAccountPolicyPlain(args, InvokeOptions.Empty); } /** - * > **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. + * > **Note** This data source can only be used with an account-level provider! * - * This data source constructs the necessary AWS Unity Catalog policy for you. + * This data source constructs 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). * * ## Example Usage * + * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -1914,12 +1803,7 @@ public static Output getAwsUnityCatalogPolicy(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
-     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
-     * import com.pulumi.aws.iam.Policy;
-     * import com.pulumi.aws.iam.PolicyArgs;
-     * import com.pulumi.aws.iam.Role;
-     * import com.pulumi.aws.iam.RoleArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -1933,29 +1817,7 @@ public static Output getAwsUnityCatalogPolicy(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .bucketName("databricks-bucket")
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
-     *             .build());
-     * 
-     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
-     *             .awsAccountId(awsAccountId)
-     *             .roleName(String.format("%s-uc-access", prefix))
-     *             .externalId("12345")
-     *             .build());
-     * 
-     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
-     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
-     *             .policy(this_.json())
-     *             .build());
-     * 
-     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
-     *             .name(String.format("%s-uc-access", prefix))
-     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
-     *             .managedPolicyArns(unityMetastore.arn())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -1963,20 +1825,27 @@ public static Output getAwsUnityCatalogPolicy(Ge
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide + * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy. + * * 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. + * */ - public static CompletableFuture getAwsUnityCatalogPolicyPlain(GetAwsUnityCatalogPolicyPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", TypeShape.of(GetAwsCrossAccountPolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * This data source constructs 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). * * ## Example Usage * - * Read on a specific catalog `test`: + * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages. * * <!--Start PulumiCodeChooser --> *
@@ -1987,10 +1856,7 @@ public static CompletableFuture getAwsUnityCatal
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogArgs;
-     * import com.pulumi.databricks.Grants;
-     * import com.pulumi.databricks.GrantsArgs;
-     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2004,17 +1870,7 @@ public static CompletableFuture getAwsUnityCatal
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
-     *             .name("test")
-     *             .build());
-     * 
-     *         var things = new Grants("things", GrantsArgs.builder()
-     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
-     *             .grants(GrantsGrantArgs.builder()
-     *                 .principal("sensitive")
-     *                 .privileges("USE_CATALOG")
-     *                 .build())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -2026,23 +1882,23 @@ public static CompletableFuture getAwsUnityCatal
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Grant to manage grants within Unity Catalog.
-     * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore.
+     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
+     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
+     * * 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.
      * 
      */
-    public static Output getCatalog(GetCatalogArgs args) {
-        return getCatalog(args, InvokeOptions.Empty);
+    public static Output getAwsCrossAccountPolicy(GetAwsCrossAccountPolicyArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", TypeShape.of(GetAwsCrossAccountPolicyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with a workspace-level provider!
-     * 
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog
+     * This data source constructs 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).
      * 
      * ## Example Usage
      * 
-     * Read  on a specific catalog `test`:
+     * For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricks_aws_s3_mount pages.
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -2053,10 +1909,7 @@ public static Output getCatalog(GetCatalogArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogArgs;
-     * import com.pulumi.databricks.Grants;
-     * import com.pulumi.databricks.GrantsArgs;
-     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import com.pulumi.databricks.inputs.GetAwsCrossAccountPolicyArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2070,17 +1923,7 @@ public static Output getCatalog(GetCatalogArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
-     *             .name("test")
-     *             .build());
-     * 
-     *         var things = new Grants("things", GrantsArgs.builder()
-     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
-     *             .grants(GrantsGrantArgs.builder()
-     *                 .principal("sensitive")
-     *                 .privileges("USE_CATALOG")
-     *                 .build())
-     *             .build());
+     *         final var this = DatabricksFunctions.getAwsCrossAccountPolicy();
      * 
      *     }
      * }
@@ -2092,24 +1935,22 @@ public static Output getCatalog(GetCatalogArgs args) {
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Grant to manage grants within Unity Catalog.
-     * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore.
+     * * Provisioning AWS Databricks workspaces with a Hub & Spoke firewall for data exfiltration protection guide
+     * * databricks.getAwsAssumeRolePolicy data to construct the necessary AWS STS assume role policy.
+     * * 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.
      * 
      */
-    public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args) {
-        return getCatalogPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getAwsCrossAccountPolicyPlain(GetAwsCrossAccountPolicyPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", TypeShape.of(GetAwsCrossAccountPolicyResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with a workspace-level provider!
-     * 
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **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.
      * 
-     * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog
+     * This data source constructs the necessary AWS Unity Catalog assume role policy for you.
      * 
      * ## Example Usage
      * 
-     * Read  on a specific catalog `test`:
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -2119,10 +1960,12 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogArgs;
-     * import com.pulumi.databricks.Grants;
-     * import com.pulumi.databricks.GrantsArgs;
-     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2136,16 +1979,28 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
-     *             .name("test")
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
      *             .build());
      * 
-     *         var things = new Grants("things", GrantsArgs.builder()
-     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
-     *             .grants(GrantsGrantArgs.builder()
-     *                 .principal("sensitive")
-     *                 .privileges("USE_CATALOG")
-     *                 .build())
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
      *             .build());
      * 
      *     }
@@ -2154,28 +2009,17 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Grant to manage grants within Unity Catalog. - * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. - * */ - public static Output getCatalog(GetCatalogArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + public static Output getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs args) { + return getAwsUnityCatalogAssumeRolePolicy(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * This data source constructs the necessary AWS Unity Catalog assume role policy for you. * * ## Example Usage * - * Read on a specific catalog `test`: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2185,10 +2029,12 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOpt
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogArgs;
-     * import com.pulumi.databricks.Grants;
-     * import com.pulumi.databricks.GrantsArgs;
-     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2202,16 +2048,28 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOpt
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
-     *             .name("test")
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
      *             .build());
      * 
-     *         var things = new Grants("things", GrantsArgs.builder()
-     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
-     *             .grants(GrantsGrantArgs.builder()
-     *                 .principal("sensitive")
-     *                 .privileges("USE_CATALOG")
-     *                 .build())
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
      *             .build());
      * 
      *     }
@@ -2220,28 +2078,17 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOpt
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Grant to manage grants within Unity Catalog. - * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. - * */ - public static Output getCatalog(GetCatalogArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAwsUnityCatalogAssumeRolePolicyPlain(GetAwsUnityCatalogAssumeRolePolicyPlainArgs args) { + return getAwsUnityCatalogAssumeRolePolicyPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * This data source constructs the necessary AWS Unity Catalog assume role policy for you. * * ## Example Usage * - * Read on a specific catalog `test`: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2251,10 +2098,12 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOut
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogArgs;
-     * import com.pulumi.databricks.Grants;
-     * import com.pulumi.databricks.GrantsArgs;
-     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2268,16 +2117,28 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOut
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
-     *             .name("test")
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
      *             .build());
      * 
-     *         var things = new Grants("things", GrantsArgs.builder()
-     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
-     *             .grants(GrantsGrantArgs.builder()
-     *                 .principal("sensitive")
-     *                 .privileges("USE_CATALOG")
-     *                 .build())
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
      *             .build());
      * 
      *     }
@@ -2286,28 +2147,17 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOut
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Grant to manage grants within Unity Catalog. - * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. - * */ - public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + public static Output getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", TypeShape.of(GetAwsUnityCatalogAssumeRolePolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog assume role policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2317,7 +2167,12 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2331,37 +2186,47 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getCatalogs() { - return getCatalogs(GetCatalogsArgs.Empty, InvokeOptions.Empty); + public static Output getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", TypeShape.of(GetAwsUnityCatalogAssumeRolePolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog assume role policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2371,7 +2236,12 @@ public static Output getCatalogs() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2385,37 +2255,47 @@ public static Output getCatalogs() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getCatalogsPlain() { - return getCatalogsPlain(GetCatalogsPlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getAwsUnityCatalogAssumeRolePolicyPlain(GetAwsUnityCatalogAssumeRolePolicyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", TypeShape.of(GetAwsUnityCatalogAssumeRolePolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2425,7 +2305,12 @@ public static CompletableFuture getCatalogsPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2439,37 +2324,47 @@ public static CompletableFuture getCatalogsPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getCatalogs(GetCatalogsArgs args) { - return getCatalogs(args, InvokeOptions.Empty); + public static Output getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs args) { + return getAwsUnityCatalogPolicy(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2479,7 +2374,12 @@ public static Output getCatalogs(GetCatalogsArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2493,37 +2393,47 @@ public static Output getCatalogs(GetCatalogsArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getCatalogsPlain(GetCatalogsPlainArgs args) { - return getCatalogsPlain(args, InvokeOptions.Empty); + public static CompletableFuture getAwsUnityCatalogPolicyPlain(GetAwsUnityCatalogPolicyPlainArgs args) { + return getAwsUnityCatalogPolicyPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2533,7 +2443,12 @@ public static CompletableFuture getCatalogsPlain(GetCatalogsP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2547,37 +2462,47 @@ public static CompletableFuture getCatalogsPlain(GetCatalogsP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getCatalogs(GetCatalogsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCatalogs:getCatalogs", TypeShape.of(GetCatalogsResult.class), args, Utilities.withVersion(options)); + public static Output getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2587,7 +2512,12 @@ public static Output getCatalogs(GetCatalogsArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2601,37 +2531,47 @@ public static Output getCatalogs(GetCatalogsArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getCatalogs(GetCatalogsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCatalogs:getCatalogs", TypeShape.of(GetCatalogsResult.class), args, Utilities.withVersion(options)); + public static Output getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **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. * - * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * This data source constructs the necessary AWS Unity Catalog policy for you. * * ## Example Usage * - * Listing all catalogs: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -2641,7 +2581,12 @@ public static Output getCatalogs(GetCatalogsArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogPolicyArgs;
+     * import com.pulumi.databricks.inputs.GetAwsUnityCatalogAssumeRolePolicyArgs;
+     * import com.pulumi.aws.iam.Policy;
+     * import com.pulumi.aws.iam.PolicyArgs;
+     * import com.pulumi.aws.iam.Role;
+     * import com.pulumi.aws.iam.RoleArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2655,69 +2600,1386 @@ public static Output getCatalogs(GetCatalogsArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getCatalogs();
+     *         final var this = DatabricksFunctions.getAwsUnityCatalogPolicy(GetAwsUnityCatalogPolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .bucketName("databricks-bucket")
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .kmsName("arn:aws:kms:us-west-2:111122223333:key/databricks-kms")
+     *             .build());
+     * 
+     *         final var thisGetAwsUnityCatalogAssumeRolePolicy = DatabricksFunctions.getAwsUnityCatalogAssumeRolePolicy(GetAwsUnityCatalogAssumeRolePolicyArgs.builder()
+     *             .awsAccountId(awsAccountId)
+     *             .roleName(String.format("%s-uc-access", prefix))
+     *             .externalId("12345")
+     *             .build());
+     * 
+     *         var unityMetastore = new Policy("unityMetastore", PolicyArgs.builder()
+     *             .name(String.format("%s-unity-catalog-metastore-access-iam-policy", prefix))
+     *             .policy(this_.json())
+     *             .build());
+     * 
+     *         var metastoreDataAccess = new Role("metastoreDataAccess", RoleArgs.builder()
+     *             .name(String.format("%s-uc-access", prefix))
+     *             .assumeRolePolicy(thisGetAwsUnityCatalogAssumeRolePolicy.applyValue(getAwsUnityCatalogAssumeRolePolicyResult -> getAwsUnityCatalogAssumeRolePolicyResult.json()))
+     *             .managedPolicyArns(unityMetastore.arn())
+     *             .build());
      * 
-     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to manage schemas within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getCatalogsPlain(GetCatalogsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getCatalogs:getCatalogs", TypeShape.of(GetCatalogsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAwsUnityCatalogPolicyPlain(GetAwsUnityCatalogPolicyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", TypeShape.of(GetAwsUnityCatalogPolicyResult.class), args, Utilities.withVersion(options)); } /** + * > **Note** This data source can only be used with a workspace-level provider! + * * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog * * ## Example Usage * - * Retrieve attributes of each SQL warehouses in a workspace + * Read on a specific catalog `test`: * * <!--Start PulumiCodeChooser --> - * <!--End PulumiCodeChooser --> - * - * ## Related Resources + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static Output getCatalog(GetCatalogArgs args) { + return getCatalog(args, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args) { + return getCatalogPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static Output getCatalog(GetCatalogArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static Output getCatalog(GetCatalogArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog + * + * ## Example Usage + * + * Read on a specific catalog `test`: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogArgs;
+     * import com.pulumi.databricks.Grants;
+     * import com.pulumi.databricks.GrantsArgs;
+     * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = DatabricksFunctions.getCatalog(GetCatalogArgs.builder()
+     *             .name("test")
+     *             .build());
+     * 
+     *         var things = new Grants("things", GrantsArgs.builder()
+     *             .catalog(test.applyValue(getCatalogResult -> getCatalogResult.name()))
+     *             .grants(GrantsGrantArgs.builder()
+     *                 .principal("sensitive")
+     *                 .privileges("USE_CATALOG")
+     *                 .build())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Grant to manage grants within Unity Catalog. + * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. + * + */ + public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCatalog:getCatalog", TypeShape.of(GetCatalogResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getCatalogs() { + return getCatalogs(GetCatalogsArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getCatalogsPlain() { + return getCatalogsPlain(GetCatalogsPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getCatalogs(GetCatalogsArgs args) { + return getCatalogs(args, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getCatalogsPlain(GetCatalogsPlainArgs args) { + return getCatalogsPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getCatalogs(GetCatalogsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCatalogs:getCatalogs", TypeShape.of(GetCatalogsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getCatalogs(GetCatalogsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCatalogs:getCatalogs", TypeShape.of(GetCatalogsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with a workspace-level provider! + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * ## Example Usage + * + * Listing all catalogs: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetCatalogsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getCatalogs();
+     * 
+     *         ctx.export("allCatalogs", all.applyValue(getCatalogsResult -> getCatalogsResult));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to manage schemas within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getCatalogsPlain(GetCatalogsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCatalogs:getCatalogs", TypeShape.of(GetCatalogsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static Output getCluster() { + return getCluster(GetClusterArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static CompletableFuture getClusterPlain() { + return getClusterPlain(GetClusterPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static Output getCluster(GetClusterArgs args) { + return getCluster(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static CompletableFuture getClusterPlain(GetClusterPlainArgs args) { + return getClusterPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static Output getCluster(GetClusterArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static Output getCluster(GetClusterArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * + * ## Example Usage + * + * Retrieve attributes of each SQL warehouses in a workspace + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static CompletableFuture getClusterPlain(GetClusterPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * + * ## Example Usage + * + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterPolicy() { + return getClusterPolicy(GetClusterPolicyArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * + * ## Example Usage + * + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterPolicyPlain() { + return getClusterPolicyPlain(GetClusterPolicyPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * + * ## Example Usage + * + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getClusterPolicy(GetClusterPolicyArgs args) { + return getClusterPolicy(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * + * ## Example Usage + * + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterPolicyPlain(GetClusterPolicyPlainArgs args) { + return getClusterPolicyPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * + * ## Example Usage + * + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * - * The following resources are often used in the same context: + */ + public static Output getClusterPolicy(GetClusterPolicyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getClusterPolicy:getClusterPolicy", TypeShape.of(GetClusterPolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * * End to end workspace management guide. - * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). - * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. - * * 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. - * * 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). + * Retrieves information about databricks_cluster_policy. + * + * ## Example Usage + * + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * */ - public static Output getCluster() { - return getCluster(GetClusterArgs.Empty, InvokeOptions.Empty); + public static Output getClusterPolicy(GetClusterPolicyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getClusterPolicy:getClusterPolicy", TypeShape.of(GetClusterPolicyResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieves information about databricks_cluster_policy. * * ## Example Usage * - * Retrieve attributes of each SQL warehouses in a workspace + * Referring to a cluster policy by name: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
+     *             .name("Personal Compute")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getClusterPolicyPlain(GetClusterPolicyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getClusterPolicy:getClusterPolicy", TypeShape.of(GetClusterPolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. + * + * ## Example Usage + * + * Retrieve cluster IDs for all clusters: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getClusters();
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Related Resources * - * The following resources are often used in the same context: + * The following resources are used in the same context: * * * End to end workspace management guide. * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). @@ -2728,24 +3990,87 @@ public static Output getCluster() { * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). * */ - public static CompletableFuture getClusterPlain() { - return getClusterPlain(GetClusterPlainArgs.Empty, InvokeOptions.Empty); + public static Output getClusters() { + return getClusters(GetClustersArgs.Empty, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. * * ## Example Usage * - * Retrieve attributes of each SQL warehouses in a workspace + * Retrieve cluster IDs for all clusters: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getClusters();
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Related Resources * - * The following resources are often used in the same context: + * The following resources are used in the same context: * * * End to end workspace management guide. * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). @@ -2756,52 +4081,87 @@ public static CompletableFuture getClusterPlain() { * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). * */ - public static Output getCluster(GetClusterArgs args) { - return getCluster(args, InvokeOptions.Empty); + public static CompletableFuture getClustersPlain() { + return getClustersPlain(GetClustersPlainArgs.Empty, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. * * ## Example Usage * - * Retrieve attributes of each SQL warehouses in a workspace + * Retrieve cluster IDs for all clusters: * * <!--Start PulumiCodeChooser --> - * <!--End PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
      * 
-     * ## Related Resources
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
      * 
-     * The following resources are often used in the same context:
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getClusters();
      * 
-     */
-    public static CompletableFuture getClusterPlain(GetClusterPlainArgs args) {
-        return getClusterPlain(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * - * Retrieves information about a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * - * ## Example Usage + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
      * 
-     * Retrieve attributes of each SQL warehouses in a workspace
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
      * 
-     * <!--Start PulumiCodeChooser -->
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Related Resources * - * The following resources are often used in the same context: + * The following resources are used in the same context: * * * End to end workspace management guide. * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). @@ -2812,24 +4172,87 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). * */ - public static Output getCluster(GetClusterArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + public static Output getClusters(GetClustersArgs args) { + return getClusters(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. * * ## Example Usage * - * Retrieve attributes of each SQL warehouses in a workspace + * Retrieve cluster IDs for all clusters: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getClusters();
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Related Resources * - * The following resources are often used in the same context: + * The following resources are used in the same context: * * * End to end workspace management guide. * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). @@ -2840,24 +4263,87 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). * */ - public static Output getCluster(GetClusterArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getClustersPlain(GetClustersPlainArgs args) { + return getClustersPlain(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source. + * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. * * ## Example Usage * - * Retrieve attributes of each SQL warehouses in a workspace + * Retrieve cluster IDs for all clusters: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getClusters();
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
* <!--End PulumiCodeChooser --> * * ## Related Resources * - * The following resources are often used in the same context: + * The following resources are used in the same context: * * * End to end workspace management guide. * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). @@ -2868,17 +4354,17 @@ public static Output getCluster(GetClusterArgs args, InvokeOut * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). * */ - public static CompletableFuture getClusterPlain(GetClusterPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); + public static Output getClusters(GetClustersArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getClusters:getClusters", TypeShape.of(GetClustersResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. * * ## Example Usage * - * Referring to a cluster policy by name: + * Retrieve cluster IDs for all clusters: * * <!--Start PulumiCodeChooser --> *
@@ -2889,9 +4375,7 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2904,33 +4388,16 @@ public static CompletableFuture getClusterPlain(GetClusterPlai
      *         Pulumi.run(App::stack);
      *     }
      * 
-     *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
-     *             .build());
-     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getClusters();
+     * 
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getClusterPolicy() { - return getClusterPolicy(GetClusterPolicyArgs.Empty, InvokeOptions.Empty); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. - * - * ## Example Usage - * - * Referring to a cluster policy by name: + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * * <!--Start PulumiCodeChooser --> *
@@ -2941,9 +4408,7 @@ public static Output getClusterPolicy() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -2957,12 +4422,8 @@ public static Output getClusterPolicy() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
      *             .build());
      * 
      *     }
@@ -2971,18 +4432,30 @@ public static Output getClusterPolicy() {
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * */ - public static CompletableFuture getClusterPolicyPlain() { - return getClusterPolicyPlain(GetClusterPolicyPlainArgs.Empty, InvokeOptions.Empty); + public static Output getClusters(GetClustersArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getClusters:getClusters", TypeShape.of(GetClustersResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. * * ## Example Usage * - * Referring to a cluster policy by name: + * Retrieve cluster IDs for all clusters: * * <!--Start PulumiCodeChooser --> *
@@ -2993,9 +4466,7 @@ public static CompletableFuture getClusterPolicyPlain()
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3009,13 +4480,7 @@ public static CompletableFuture getClusterPolicyPlain()
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
-     *             .build());
+     *         final var all = DatabricksFunctions.getClusters();
      * 
      *     }
      * }
@@ -3023,18 +4488,7 @@ public static CompletableFuture getClusterPolicyPlain()
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getClusterPolicy(GetClusterPolicyArgs args) { - return getClusterPolicy(args, InvokeOptions.Empty); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. - * - * ## Example Usage - * - * Referring to a cluster policy by name: + * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: * * <!--Start PulumiCodeChooser --> *
@@ -3045,9 +4499,7 @@ public static Output getClusterPolicy(GetClusterPolicyAr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetClustersArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3061,12 +4513,8 @@ public static Output getClusterPolicy(GetClusterPolicyAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
+     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
+     *             .clusterNameContains("shared")
      *             .build());
      * 
      *     }
@@ -3075,122 +4523,263 @@ public static Output getClusterPolicy(GetClusterPolicyAr
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules. + * * 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. + * * 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). + * + */ + public static CompletableFuture getClustersPlain(GetClustersPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getClusters:getClusters", TypeShape.of(GetClustersResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * + * ## Example Usage + * + * Create cloud-specific databricks_storage_credential: + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Exported attributes + * + * Data source exposes the following attributes: + * + * * `is_account` - Whether the provider is configured at account-level + * * `account_id` - Account Id if provider is configured at account-level + * * `host` - Host of the Databricks workspace or account console + * * `cloud_type` - Cloud type specified in the provider + * * `auth_type` - Auth type used by the provider + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). + * + */ + public static Output getCurrentConfig() { + return getCurrentConfig(GetCurrentConfigArgs.Empty, InvokeOptions.Empty); + } + /** + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * + * ## Example Usage + * + * Create cloud-specific databricks_storage_credential: + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Exported attributes + * + * Data source exposes the following attributes: + * + * * `is_account` - Whether the provider is configured at account-level + * * `account_id` - Account Id if provider is configured at account-level + * * `host` - Host of the Databricks workspace or account console + * * `cloud_type` - Cloud type specified in the provider + * * `auth_type` - Auth type used by the provider + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). + * + */ + public static CompletableFuture getCurrentConfigPlain() { + return getCurrentConfigPlain(GetCurrentConfigPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * + * ## Example Usage + * + * Create cloud-specific databricks_storage_credential: + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Exported attributes + * + * Data source exposes the following attributes: + * + * * `is_account` - Whether the provider is configured at account-level + * * `account_id` - Account Id if provider is configured at account-level + * * `host` - Host of the Databricks workspace or account console + * * `cloud_type` - Cloud type specified in the provider + * * `auth_type` - Auth type used by the provider + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). + * + */ + public static Output getCurrentConfig(GetCurrentConfigArgs args) { + return getCurrentConfig(args, InvokeOptions.Empty); + } + /** + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * + * ## Example Usage + * + * Create cloud-specific databricks_storage_credential: + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Exported attributes + * + * Data source exposes the following attributes: + * + * * `is_account` - Whether the provider is configured at account-level + * * `account_id` - Account Id if provider is configured at account-level + * * `host` - Host of the Databricks workspace or account console + * * `cloud_type` - Cloud type specified in the provider + * * `auth_type` - Auth type used by the provider + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). + * + */ + public static CompletableFuture getCurrentConfigPlain(GetCurrentConfigPlainArgs args) { + return getCurrentConfigPlain(args, InvokeOptions.Empty); + } + /** + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * + * ## Example Usage + * + * Create cloud-specific databricks_storage_credential: + * + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * + * ## Exported attributes + * + * Data source exposes the following attributes: + * + * * `is_account` - Whether the provider is configured at account-level + * * `account_id` - Account Id if provider is configured at account-level + * * `host` - Host of the Databricks workspace or account console + * * `cloud_type` - Cloud type specified in the provider + * * `auth_type` - Auth type used by the provider + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). + * */ - public static CompletableFuture getClusterPolicyPlain(GetClusterPolicyPlainArgs args) { - return getClusterPolicyPlain(args, InvokeOptions.Empty); + public static Output getCurrentConfig(GetCurrentConfigArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCurrentConfig:getCurrentConfig", TypeShape.of(GetCurrentConfigResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. * * ## Example Usage * - * Referring to a cluster policy by name: + * Create cloud-specific databricks_storage_credential: * * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
+     * <!--End PulumiCodeChooser -->
      * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
-     * import java.util.List;
-     * import java.util.ArrayList;
-     * import java.util.Map;
-     * import java.io.File;
-     * import java.nio.file.Files;
-     * import java.nio.file.Paths;
+     * ## Exported attributes
      * 
-     * public class App {
-     *     public static void main(String[] args) {
-     *         Pulumi.run(App::stack);
-     *     }
+     * Data source exposes the following attributes:
      * 
-     *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
+     * * `is_account` - Whether the provider is configured at account-level
+     * * `account_id` - Account Id if provider is configured at account-level
+     * * `host` - Host of the Databricks workspace or account console
+     * * `cloud_type` - Cloud type specified in the provider
+     * * `auth_type` - Auth type used by the provider
      * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
-     *             .build());
+     * ## Related Resources
      * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). * */ - public static Output getClusterPolicy(GetClusterPolicyArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getClusterPolicy:getClusterPolicy", TypeShape.of(GetClusterPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getCurrentConfig(GetCurrentConfigArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCurrentConfig:getCurrentConfig", TypeShape.of(GetCurrentConfigResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_cluster_policy. + * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. * * ## Example Usage * - * Referring to a cluster policy by name: + * Create cloud-specific databricks_storage_credential: * * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
+     * <!--End PulumiCodeChooser -->
      * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
-     * import java.util.List;
-     * import java.util.ArrayList;
-     * import java.util.Map;
-     * import java.io.File;
-     * import java.nio.file.Files;
-     * import java.nio.file.Paths;
+     * ## Exported attributes
      * 
-     * public class App {
-     *     public static void main(String[] args) {
-     *         Pulumi.run(App::stack);
-     *     }
+     * Data source exposes the following attributes:
      * 
-     *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
+     * * `is_account` - Whether the provider is configured at account-level
+     * * `account_id` - Account Id if provider is configured at account-level
+     * * `host` - Host of the Databricks workspace or account console
+     * * `cloud_type` - Cloud type specified in the provider
+     * * `auth_type` - Auth type used by the provider
      * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
-     *             .build());
+     * ## Related Resources
      * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * 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). * */ - public static Output getClusterPolicy(GetClusterPolicyArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getClusterPolicy:getClusterPolicy", TypeShape.of(GetClusterPolicyResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getCurrentConfigPlain(GetCurrentConfigPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCurrentConfig:getCurrentConfig", TypeShape.of(GetCurrentConfigResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 metastore attached to a given workspace. * - * Retrieves information about databricks_cluster_policy. + * > **Note** This is the workspace-level data source. + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. * * ## Example Usage * - * Referring to a cluster policy by name: + * MetastoreSummary response for a metastore attached to the current workspace. * * <!--Start PulumiCodeChooser --> *
@@ -3201,9 +4790,7 @@ public static Output getClusterPolicy(GetClusterPolicyAr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClusterPolicyArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3217,65 +4804,38 @@ public static Output getClusterPolicy(GetClusterPolicyAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var personal = DatabricksFunctions.getClusterPolicy(GetClusterPolicyArgs.builder()
-     *             .name("Personal Compute")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .policyId(personal.applyValue(getClusterPolicyResult -> getClusterPolicyResult.id()))
-     *             .build());
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static CompletableFuture getClusterPolicyPlain(GetClusterPolicyPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getClusterPolicy:getClusterPolicy", TypeShape.of(GetClusterPolicyResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy. - * - * ## Example Usage + * ## Related Resources * - * Retrieve cluster IDs for all clusters: + * The following resources are used in the same context: * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
+     * * databricks.Metastore to get information for a metastore with a given ID.
+     * * databricks.getMetastores to get a mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
-     * import java.util.List;
-     * import java.util.ArrayList;
-     * import java.util.Map;
-     * import java.io.File;
-     * import java.nio.file.Files;
-     * import java.nio.file.Paths;
+     */
+    public static Output getCurrentMetastore() {
+        return getCurrentMetastore(GetCurrentMetastoreArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * Retrieves information about metastore attached to a given workspace.
      * 
-     * public class App {
-     *     public static void main(String[] args) {
-     *         Pulumi.run(App::stack);
-     *     }
+     * > **Note** This is the workspace-level data source.
      * 
-     *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors.
      * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> + * ## Example Usage * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * MetastoreSummary response for a metastore attached to the current workspace. * * <!--Start PulumiCodeChooser --> *
@@ -3286,7 +4846,7 @@ public static CompletableFuture getClusterPolicyPlain(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3300,10 +4860,9 @@ public static CompletableFuture getClusterPolicyPlain(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
-     *             .build());
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
@@ -3314,26 +4873,25 @@ public static CompletableFuture getClusterPolicyPlain(Ge
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     * * databricks.Metastore to get information for a metastore with a given ID.
+     * * databricks.getMetastores to get a mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getClusters() {
-        return getClusters(GetClustersArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getCurrentMetastorePlain() {
+        return getCurrentMetastorePlain(GetCurrentMetastorePlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 metastore attached to a given workspace.
      * 
-     * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
+     * > **Note** This is the workspace-level data source.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Retrieve cluster IDs for all clusters:
+     * MetastoreSummary response for a metastore attached to the current workspace.
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -3344,7 +4902,7 @@ public static Output getClusters() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3358,15 +4916,38 @@ public static Output getClusters() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Metastore to get information for a metastore with a given ID. + * * databricks.getMetastores to get a mapping of name to id of all metastores. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getCurrentMetastore(GetCurrentMetastoreArgs args) { + return getCurrentMetastore(args, InvokeOptions.Empty); + } + /** + * Retrieves information about metastore attached to a given workspace. + * + * > **Note** This is the workspace-level data source. + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * + * ## Example Usage + * + * MetastoreSummary response for a metastore attached to the current workspace. * * <!--Start PulumiCodeChooser --> *
@@ -3377,7 +4958,7 @@ public static Output getClusters() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3391,10 +4972,9 @@ public static Output getClusters() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
-     *             .build());
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
@@ -3405,26 +4985,25 @@ public static Output getClusters() {
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     * * databricks.Metastore to get information for a metastore with a given ID.
+     * * databricks.getMetastores to get a mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getClustersPlain() {
-        return getClustersPlain(GetClustersPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getCurrentMetastorePlain(GetCurrentMetastorePlainArgs args) {
+        return getCurrentMetastorePlain(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 metastore attached to a given workspace.
      * 
-     * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
+     * > **Note** This is the workspace-level data source.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Retrieve cluster IDs for all clusters:
+     * MetastoreSummary response for a metastore attached to the current workspace.
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -3435,7 +5014,7 @@ public static CompletableFuture getClustersPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3449,15 +5028,38 @@ public static CompletableFuture getClustersPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Metastore to get information for a metastore with a given ID. + * * databricks.getMetastores to get a mapping of name to id of all metastores. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getCurrentMetastore(GetCurrentMetastoreArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCurrentMetastore:getCurrentMetastore", TypeShape.of(GetCurrentMetastoreResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves information about metastore attached to a given workspace. + * + * > **Note** This is the workspace-level data source. + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * + * ## Example Usage + * + * MetastoreSummary response for a metastore attached to the current workspace. * * <!--Start PulumiCodeChooser --> *
@@ -3468,7 +5070,7 @@ public static CompletableFuture getClustersPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3482,10 +5084,9 @@ public static CompletableFuture getClustersPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
-     *             .build());
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
@@ -3496,26 +5097,25 @@ public static CompletableFuture getClustersPlain() {
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     * * databricks.Metastore to get information for a metastore with a given ID.
+     * * databricks.getMetastores to get a mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getClusters(GetClustersArgs args) {
-        return getClusters(args, InvokeOptions.Empty);
+    public static Output getCurrentMetastore(GetCurrentMetastoreArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getCurrentMetastore:getCurrentMetastore", TypeShape.of(GetCurrentMetastoreResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 metastore attached to a given workspace.
      * 
-     * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
+     * > **Note** This is the workspace-level data source.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Retrieve cluster IDs for all clusters:
+     * MetastoreSummary response for a metastore attached to the current workspace.
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -3526,7 +5126,7 @@ public static Output getClusters(GetClustersArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3540,15 +5140,97 @@ public static Output getClusters(GetClustersArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     *         final var this = DatabricksFunctions.getCurrentMetastore();
      * 
+     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Metastore to get information for a metastore with a given ID. + * * databricks.getMetastores to get a mapping of name to id of all metastores. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getCurrentMetastorePlain(GetCurrentMetastorePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCurrentMetastore:getCurrentMetastore", TypeShape.of(GetCurrentMetastoreResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static Output getCurrentUser() { + return getCurrentUser(InvokeArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static CompletableFuture getCurrentUserPlain() { + return getCurrentUserPlain(InvokeArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static Output getCurrentUser(InvokeArgs args) { + return getCurrentUser(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static CompletableFuture getCurrentUserPlain(InvokeArgs args) { + return getCurrentUserPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static Output getCurrentUser(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCurrentUser:getCurrentUser", TypeShape.of(GetCurrentUserResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static Output getCurrentUser(InvokeArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getCurrentUser:getCurrentUser", TypeShape.of(GetCurrentUserResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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. + * + */ + public static CompletableFuture getCurrentUserPlain(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getCurrentUser:getCurrentUser", TypeShape.of(GetCurrentUserResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -3559,7 +5241,7 @@ public static Output getClusters(GetClustersArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3573,8 +5255,9 @@ public static Output getClusters(GetClustersArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
+     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
+     *             .path("dbfs:/reports/some.csv")
+     *             .limitFileSize("true")
      *             .build());
      * 
      *     }
@@ -3588,26 +5271,21 @@ public static Output getClusters(GetClustersArgs args) {
      * The following resources are used in the same context:
      * 
      * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * * 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`.
      * 
      */
-    public static CompletableFuture getClustersPlain(GetClustersPlainArgs args) {
-        return getClustersPlain(args, InvokeOptions.Empty);
+    public static Output getDbfsFile(GetDbfsFileArgs args) {
+        return getDbfsFile(args, InvokeOptions.Empty);
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
+     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
      * 
      * ## Example Usage
      * 
-     * Retrieve cluster IDs for all clusters:
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -3617,7 +5295,7 @@ public static CompletableFuture getClustersPlain(GetClustersP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3631,7 +5309,10 @@ public static CompletableFuture getClustersPlain(GetClustersP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
+     *             .path("dbfs:/reports/some.csv")
+     *             .limitFileSize("true")
+     *             .build());
      * 
      *     }
      * }
@@ -3639,7 +5320,25 @@ public static CompletableFuture getClustersPlain(GetClustersP
      * 
* <!--End PulumiCodeChooser --> * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * 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`. + * + */ + public static CompletableFuture getDbfsFilePlain(GetDbfsFilePlainArgs args) { + return getDbfsFilePlain(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -3650,7 +5349,7 @@ public static CompletableFuture getClustersPlain(GetClustersP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3664,8 +5363,9 @@ public static CompletableFuture getClustersPlain(GetClustersP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
+     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
+     *             .path("dbfs:/reports/some.csv")
+     *             .limitFileSize("true")
      *             .build());
      * 
      *     }
@@ -3679,26 +5379,21 @@ public static CompletableFuture getClustersPlain(GetClustersP
      * The following resources are used in the same context:
      * 
      * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * * 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`.
      * 
      */
-    public static Output getClusters(GetClustersArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getClusters:getClusters", TypeShape.of(GetClustersResult.class), args, Utilities.withVersion(options));
+    public static Output getDbfsFile(GetDbfsFileArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getDbfsFile:getDbfsFile", TypeShape.of(GetDbfsFileResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
+     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
      * 
      * ## Example Usage
      * 
-     * Retrieve cluster IDs for all clusters:
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -3708,7 +5403,7 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3722,7 +5417,10 @@ public static Output getClusters(GetClustersArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
+     *             .path("dbfs:/reports/some.csv")
+     *             .limitFileSize("true")
+     *             .build());
      * 
      *     }
      * }
@@ -3730,7 +5428,25 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * 
* <!--End PulumiCodeChooser --> * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * 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`. + * + */ + public static Output getDbfsFile(GetDbfsFileArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getDbfsFile:getDbfsFile", TypeShape.of(GetDbfsFileResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -3741,7 +5457,7 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3755,8 +5471,9 @@ public static Output getClusters(GetClustersArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
+     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
+     *             .path("dbfs:/reports/some.csv")
+     *             .limitFileSize("true")
      *             .build());
      * 
      *     }
@@ -3770,26 +5487,21 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * The following resources are used in the same context:
      * 
      * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
-     * * 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).
+     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * * 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`.
      * 
      */
-    public static Output getClusters(GetClustersArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getClusters:getClusters", TypeShape.of(GetClustersResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getDbfsFilePlain(GetDbfsFilePlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getDbfsFile:getDbfsFile", TypeShape.of(GetDbfsFileResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
+     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
      * 
      * ## Example Usage
      * 
-     * Retrieve cluster IDs for all clusters:
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -3799,7 +5511,7 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3813,7 +5525,10 @@ public static Output getClusters(GetClustersArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getClusters();
+     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
+     *             .path("dbfs:/user/hive/default.db/table")
+     *             .recursive(false)
+     *             .build());
      * 
      *     }
      * }
@@ -3821,7 +5536,27 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * 
* <!--End PulumiCodeChooser --> * - * Retrieve cluster IDs for all clusters having "Shared" in the cluster name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * 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`. + * + */ + public static Output getDbfsFilePaths(GetDbfsFilePathsArgs args) { + return getDbfsFilePaths(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -3832,7 +5567,7 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetClustersArgs;
+     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -3846,8 +5581,9 @@ public static Output getClusters(GetClustersArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var allShared = DatabricksFunctions.getClusters(GetClustersArgs.builder()
-     *             .clusterNameContains("shared")
+     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
+     *             .path("dbfs:/user/hive/default.db/table")
+     *             .recursive(false)
      *             .build());
      * 
      *     }
@@ -3861,259 +5597,191 @@ public static Output getClusters(GetClustersArgs args, Invoke
      * The following resources are used in the same context:
      * 
      * * End to end workspace management guide.
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
-     * * 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.
+     * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
      * * 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).
-     * 
-     */
-    public static CompletableFuture getClustersPlain(GetClustersPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getClusters:getClusters", TypeShape.of(GetClustersResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
-     * 
-     * ## Example Usage
-     * 
-     * Create cloud-specific databricks_storage_credential:
-     * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
-     * 
-     * ## Exported attributes
-     * 
-     * Data source exposes the following attributes:
-     * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
-     * 
-     * ## Related Resources
-     * 
-     * The following resources are used in the same context:
-     * 
-     * * End to end workspace management guide
-     * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
-     * * 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).
-     * 
-     */
-    public static Output getCurrentConfig() {
-        return getCurrentConfig(GetCurrentConfigArgs.Empty, InvokeOptions.Empty);
-    }
-    /**
-     * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
-     * 
-     * ## Example Usage
-     * 
-     * Create cloud-specific databricks_storage_credential:
-     * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
-     * 
-     * ## Exported attributes
-     * 
-     * Data source exposes the following attributes:
-     * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
-     * 
-     * ## Related Resources
-     * 
-     * The following resources are used in the same context:
-     * 
-     * * End to end workspace management guide
-     * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
-     * * 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).
+     * * 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`.
      * 
      */
-    public static CompletableFuture getCurrentConfigPlain() {
-        return getCurrentConfigPlain(GetCurrentConfigPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getDbfsFilePathsPlain(GetDbfsFilePathsPlainArgs args) {
+        return getDbfsFilePathsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
-     * 
-     * ## Example Usage
-     * 
-     * Create cloud-specific databricks_storage_credential:
-     * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
-     * 
-     * ## Exported attributes
-     * 
-     * Data source exposes the following attributes:
-     * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
-     * 
-     * ## Related Resources
-     * 
-     * The following resources are used in the same context:
-     * 
-     * * End to end workspace management guide
-     * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
-     * * 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).
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
      * 
-     */
-    public static Output getCurrentConfig(GetCurrentConfigArgs args) {
-        return getCurrentConfig(args, InvokeOptions.Empty);
-    }
-    /**
-     * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
+     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
      * 
      * ## Example Usage
      * 
-     * Create cloud-specific databricks_storage_credential:
-     * 
      * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
-     * 
-     * ## Exported attributes
-     * 
-     * Data source exposes the following attributes:
-     * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
-     * 
-     * ## Related Resources
-     * 
-     * The following resources are used in the same context:
-     * 
-     * * End to end workspace management guide
-     * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
-     * * 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).
-     * 
-     */
-    public static CompletableFuture getCurrentConfigPlain(GetCurrentConfigPlainArgs args) {
-        return getCurrentConfigPlain(args, InvokeOptions.Empty);
-    }
-    /**
-     * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
-     * 
-     * ## Example Usage
-     * 
-     * Create cloud-specific databricks_storage_credential:
+     * 
+     * {@code
+     * package generated_program;
      * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
      * 
-     * ## Exported attributes
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     * Data source exposes the following attributes:
+     *     public static void stack(Context ctx) {
+     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
+     *             .path("dbfs:/user/hive/default.db/table")
+     *             .recursive(false)
+     *             .build());
      * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * * ## Related Resources * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * 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). + * * End to end workspace management guide. + * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * 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`. * */ - public static Output getCurrentConfig(GetCurrentConfigArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCurrentConfig:getCurrentConfig", TypeShape.of(GetCurrentConfigResult.class), args, Utilities.withVersion(options)); + public static Output getDbfsFilePaths(GetDbfsFilePathsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getDbfsFilePaths:getDbfsFilePaths", TypeShape.of(GetDbfsFilePathsResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * ## Example Usage + * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). * - * Create cloud-specific databricks_storage_credential: + * ## Example Usage * * <!--Start PulumiCodeChooser --> - * <!--End PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
      * 
-     * ## Exported attributes
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
      * 
-     * Data source exposes the following attributes:
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
+     *     public static void stack(Context ctx) {
+     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
+     *             .path("dbfs:/user/hive/default.db/table")
+     *             .recursive(false)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * * ## Related Resources * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * 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). + * * End to end workspace management guide. + * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * 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`. * */ - public static Output getCurrentConfig(GetCurrentConfigArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getCurrentConfig:getCurrentConfig", TypeShape.of(GetCurrentConfigResult.class), args, Utilities.withVersion(options)); + public static Output getDbfsFilePaths(GetDbfsFilePathsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getDbfsFilePaths:getDbfsFilePaths", TypeShape.of(GetDbfsFilePathsResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * ## Example Usage + * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). * - * Create cloud-specific databricks_storage_credential: + * ## Example Usage * * <!--Start PulumiCodeChooser --> - * <!--End PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
      * 
-     * ## Exported attributes
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
      * 
-     * Data source exposes the following attributes:
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     * * `is_account` - Whether the provider is configured at account-level
-     * * `account_id` - Account Id if provider is configured at account-level
-     * * `host` - Host of the Databricks workspace or account console
-     * * `cloud_type` - Cloud type specified in the provider
-     * * `auth_type` - Auth type used by the provider
+     *     public static void stack(Context ctx) {
+     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
+     *             .path("dbfs:/user/hive/default.db/table")
+     *             .recursive(false)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * * ## Related Resources * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * 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). + * * End to end workspace management guide. + * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). + * * 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`. * */ - public static CompletableFuture getCurrentConfigPlain(GetCurrentConfigPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getCurrentConfig:getCurrentConfig", TypeShape.of(GetCurrentConfigResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getDbfsFilePathsPlain(GetDbfsFilePathsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getDbfsFilePaths:getDbfsFilePaths", TypeShape.of(GetDbfsFilePathsResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves information about metastore attached to a given workspace. - * - * > **Note** This is the workspace-level data source. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * This data source allows to get information about a directory in a Databricks Workspace. * * ## Example Usage * - * MetastoreSummary response for a metastore attached to the current workspace. - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -4123,7 +5791,7 @@ public static CompletableFuture getCurrentConfigPlain(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4137,39 +5805,27 @@ public static CompletableFuture getCurrentConfigPlain(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
+     *             .path("/Production")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information for a metastore with a given ID. - * * databricks.getMetastores to get a mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getCurrentMetastore() { - return getCurrentMetastore(GetCurrentMetastoreArgs.Empty, InvokeOptions.Empty); + public static Output getDirectory(GetDirectoryArgs args) { + return getDirectory(args, InvokeOptions.Empty); } /** - * Retrieves information about metastore attached to a given workspace. - * - * > **Note** This is the workspace-level data source. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * This data source allows to get information about a directory in a Databricks Workspace. * * ## Example Usage * - * MetastoreSummary response for a metastore attached to the current workspace. - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -4179,7 +5835,7 @@ public static Output getCurrentMetastore() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4193,39 +5849,27 @@ public static Output getCurrentMetastore() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
+     *             .path("/Production")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information for a metastore with a given ID. - * * databricks.getMetastores to get a mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getCurrentMetastorePlain() { - return getCurrentMetastorePlain(GetCurrentMetastorePlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getDirectoryPlain(GetDirectoryPlainArgs args) { + return getDirectoryPlain(args, InvokeOptions.Empty); } /** - * Retrieves information about metastore attached to a given workspace. - * - * > **Note** This is the workspace-level data source. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * This data source allows to get information about a directory in a Databricks Workspace. * * ## Example Usage * - * MetastoreSummary response for a metastore attached to the current workspace. - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -4235,7 +5879,7 @@ public static CompletableFuture getCurrentMetastorePl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4249,39 +5893,71 @@ public static CompletableFuture getCurrentMetastorePl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
+     *             .path("/Production")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources + */ + public static Output getDirectory(GetDirectoryArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getDirectory:getDirectory", TypeShape.of(GetDirectoryResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * The following resources are used in the same context: + * This data source allows to get information about a directory in a Databricks Workspace. * - * * databricks.Metastore to get information for a metastore with a given ID. - * * databricks.getMetastores to get a mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
+     *             .path("/Production")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * */ - public static Output getCurrentMetastore(GetCurrentMetastoreArgs args) { - return getCurrentMetastore(args, InvokeOptions.Empty); + public static Output getDirectory(GetDirectoryArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getDirectory:getDirectory", TypeShape.of(GetDirectoryResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves information about metastore attached to a given workspace. - * - * > **Note** This is the workspace-level data source. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * This data source allows to get information about a directory in a Databricks Workspace. * * ## Example Usage * - * MetastoreSummary response for a metastore attached to the current workspace. - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -4291,7 +5967,7 @@ public static Output getCurrentMetastore(GetCurrentMe
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4305,38 +5981,28 @@ public static Output getCurrentMetastore(GetCurrentMe
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
+     *             .path("/Production")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information for a metastore with a given ID. - * * databricks.getMetastores to get a mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getCurrentMetastorePlain(GetCurrentMetastorePlainArgs args) { - return getCurrentMetastorePlain(args, InvokeOptions.Empty); + public static CompletableFuture getDirectoryPlain(GetDirectoryPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getDirectory:getDirectory", TypeShape.of(GetDirectoryResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves information about metastore attached to a given workspace. - * - * > **Note** This is the workspace-level data source. + * > **Note** This data source can only be used with a workspace-level provider! * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors. + * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually. * * ## Example Usage * - * MetastoreSummary response for a metastore attached to the current workspace. + * Getting details of an existing external location in the metastore * * <!--Start PulumiCodeChooser --> *
@@ -4347,7 +6013,7 @@ public static CompletableFuture getCurrentMetastorePl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4361,9 +6027,11 @@ public static CompletableFuture getCurrentMetastorePl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
      *     }
      * }
      * }
@@ -4374,25 +6042,21 @@ public static CompletableFuture getCurrentMetastorePl
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Metastore to get information for a metastore with a given ID.
-     * * databricks.getMetastores to get a mapping of name to id of all metastores.
-     * * databricks.Metastore to manage Metastores within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
+     * * databricks.getExternalLocations to get names of all external locations
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getCurrentMetastore(GetCurrentMetastoreArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getCurrentMetastore:getCurrentMetastore", TypeShape.of(GetCurrentMetastoreResult.class), args, Utilities.withVersion(options));
+    public static Output getExternalLocation(GetExternalLocationArgs args) {
+        return getExternalLocation(args, InvokeOptions.Empty);
     }
     /**
-     * Retrieves information about metastore attached to a given workspace.
-     * 
-     * > **Note** This is the workspace-level data source.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors.
+     * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
      * 
      * ## Example Usage
      * 
-     * MetastoreSummary response for a metastore attached to the current workspace.
+     * Getting details of an existing external location in the metastore
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -4403,7 +6067,7 @@ public static Output getCurrentMetastore(GetCurrentMe
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4417,9 +6081,11 @@ public static Output getCurrentMetastore(GetCurrentMe
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
      *     }
      * }
      * }
@@ -4430,25 +6096,21 @@ public static Output getCurrentMetastore(GetCurrentMe
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Metastore to get information for a metastore with a given ID.
-     * * databricks.getMetastores to get a mapping of name to id of all metastores.
-     * * databricks.Metastore to manage Metastores within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
+     * * databricks.getExternalLocations to get names of all external locations
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getCurrentMetastore(GetCurrentMetastoreArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getCurrentMetastore:getCurrentMetastore", TypeShape.of(GetCurrentMetastoreResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getExternalLocationPlain(GetExternalLocationPlainArgs args) {
+        return getExternalLocationPlain(args, InvokeOptions.Empty);
     }
     /**
-     * Retrieves information about metastore attached to a given workspace.
-     * 
-     * > **Note** This is the workspace-level data source.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute to prevent _authentication is not configured for provider_ errors.
+     * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
      * 
      * ## Example Usage
      * 
-     * MetastoreSummary response for a metastore attached to the current workspace.
+     * Getting details of an existing external location in the metastore
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -4459,7 +6121,7 @@ public static Output getCurrentMetastore(GetCurrentMe
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetCurrentMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4473,9 +6135,11 @@ public static Output getCurrentMetastore(GetCurrentMe
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getCurrentMetastore();
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
+     *             .build());
      * 
-     *         ctx.export("someMetastore", this_.metastoreInfo());
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
      *     }
      * }
      * }
@@ -4486,85 +6150,22 @@ public static Output getCurrentMetastore(GetCurrentMe
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Metastore to get information for a metastore with a given ID.
-     * * databricks.getMetastores to get a mapping of name to id of all metastores.
-     * * databricks.Metastore to manage Metastores within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
-     * 
-     */
-    public static CompletableFuture getCurrentMetastorePlain(GetCurrentMetastorePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getCurrentMetastore:getCurrentMetastore", TypeShape.of(GetCurrentMetastoreResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
-     * 
-     */
-    public static Output getCurrentUser() {
-        return getCurrentUser(InvokeArgs.Empty, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
-     * 
-     */
-    public static CompletableFuture getCurrentUserPlain() {
-        return getCurrentUserPlain(InvokeArgs.Empty, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
-     * 
-     */
-    public static Output getCurrentUser(InvokeArgs args) {
-        return getCurrentUser(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
-     * 
-     */
-    public static CompletableFuture getCurrentUserPlain(InvokeArgs args) {
-        return getCurrentUserPlain(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
-     * 
-     */
-    public static Output getCurrentUser(InvokeArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getCurrentUser:getCurrentUser", TypeShape.of(GetCurrentUserResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
-     * 
-     */
-    public static Output getCurrentUser(InvokeArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getCurrentUser:getCurrentUser", TypeShape.of(GetCurrentUserResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 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.
+     * * databricks.getExternalLocations to get names of all external locations
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static CompletableFuture getCurrentUserPlain(InvokeArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getCurrentUser:getCurrentUser", TypeShape.of(GetCurrentUserResult.class), args, Utilities.withVersion(options));
+    public static Output getExternalLocation(GetExternalLocationArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
      * 
      * ## Example Usage
      * 
+     * Getting details of an existing external location in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4574,7 +6175,7 @@ public static CompletableFuture getCurrentUserPlain(Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4588,11 +6189,11 @@ public static CompletableFuture getCurrentUserPlain(Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
-     *             .path("dbfs:/reports/some.csv")
-     *             .limitFileSize("true")
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
      *             .build());
      * 
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
      *     }
      * }
      * }
@@ -4603,22 +6204,22 @@ public static CompletableFuture getCurrentUserPlain(Invoke
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.getExternalLocations to get names of all external locations
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getDbfsFile(GetDbfsFileArgs args) {
-        return getDbfsFile(args, InvokeOptions.Empty);
+    public static Output getExternalLocation(GetExternalLocationArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
      * 
      * ## Example Usage
      * 
+     * Getting details of an existing external location in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4628,7 +6229,7 @@ public static Output getDbfsFile(GetDbfsFileArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4642,11 +6243,11 @@ public static Output getDbfsFile(GetDbfsFileArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
-     *             .path("dbfs:/reports/some.csv")
-     *             .limitFileSize("true")
+     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
+     *             .name("this")
      *             .build());
      * 
+     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
      *     }
      * }
      * }
@@ -4657,22 +6258,22 @@ public static Output getDbfsFile(GetDbfsFileArgs args) {
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.getExternalLocations to get names of all external locations
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static CompletableFuture getDbfsFilePlain(GetDbfsFilePlainArgs args) {
-        return getDbfsFilePlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getExternalLocationPlain(GetExternalLocationPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4682,7 +6283,7 @@ public static CompletableFuture getDbfsFilePlain(GetDbfsFileP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4696,11 +6297,9 @@ public static CompletableFuture getDbfsFilePlain(GetDbfsFileP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
-     *             .path("dbfs:/reports/some.csv")
-     *             .limitFileSize("true")
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -4711,22 +6310,22 @@ public static CompletableFuture getDbfsFilePlain(GetDbfsFileP
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getDbfsFile(GetDbfsFileArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getDbfsFile:getDbfsFile", TypeShape.of(GetDbfsFileResult.class), args, Utilities.withVersion(options));
+    public static Output getExternalLocations() {
+        return getExternalLocations(GetExternalLocationsArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4736,7 +6335,7 @@ public static Output getDbfsFile(GetDbfsFileArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4750,11 +6349,9 @@ public static Output getDbfsFile(GetDbfsFileArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
-     *             .path("dbfs:/reports/some.csv")
-     *             .limitFileSize("true")
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -4765,22 +6362,22 @@ public static Output getDbfsFile(GetDbfsFileArgs args, Invoke
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getDbfsFile(GetDbfsFileArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getDbfsFile:getDbfsFile", TypeShape.of(GetDbfsFileResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getExternalLocationsPlain() {
+        return getExternalLocationsPlain(GetExternalLocationsPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4790,7 +6387,7 @@ public static Output getDbfsFile(GetDbfsFileArgs args, Invoke
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFileArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4804,11 +6401,9 @@ public static Output getDbfsFile(GetDbfsFileArgs args, Invoke
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var report = DatabricksFunctions.getDbfsFile(GetDbfsFileArgs.builder()
-     *             .path("dbfs:/reports/some.csv")
-     *             .limitFileSize("true")
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -4819,22 +6414,22 @@ public static Output getDbfsFile(GetDbfsFileArgs args, Invoke
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static CompletableFuture getDbfsFilePlain(GetDbfsFilePlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getDbfsFile:getDbfsFile", TypeShape.of(GetDbfsFileResult.class), args, Utilities.withVersion(options));
+    public static Output getExternalLocations(GetExternalLocationsArgs args) {
+        return getExternalLocations(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4844,7 +6439,7 @@ public static CompletableFuture getDbfsFilePlain(GetDbfsFileP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4858,11 +6453,9 @@ public static CompletableFuture getDbfsFilePlain(GetDbfsFileP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
-     *             .path("dbfs:/user/hive/default.db/table")
-     *             .recursive(false)
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -4873,24 +6466,22 @@ public static CompletableFuture getDbfsFilePlain(GetDbfsFileP
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getDbfsFilePaths(GetDbfsFilePathsArgs args) {
-        return getDbfsFilePaths(args, InvokeOptions.Empty);
+    public static CompletableFuture getExternalLocationsPlain(GetExternalLocationsPlainArgs args) {
+        return getExternalLocationsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4900,7 +6491,7 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4914,11 +6505,9 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
-     *             .path("dbfs:/user/hive/default.db/table")
-     *             .recursive(false)
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -4929,24 +6518,22 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static CompletableFuture getDbfsFilePathsPlain(GetDbfsFilePathsPlainArgs args) {
-        return getDbfsFilePathsPlain(args, InvokeOptions.Empty);
+    public static Output getExternalLocations(GetExternalLocationsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getExternalLocations:getExternalLocations", TypeShape.of(GetExternalLocationsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -4956,7 +6543,7 @@ public static CompletableFuture getDbfsFilePathsPlain(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -4970,11 +6557,9 @@ public static CompletableFuture getDbfsFilePathsPlain(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
-     *             .path("dbfs:/user/hive/default.db/table")
-     *             .recursive(false)
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -4985,24 +6570,22 @@ public static CompletableFuture getDbfsFilePathsPlain(Ge
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getDbfsFilePaths(GetDbfsFilePathsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getDbfsFilePaths:getDbfsFilePaths", TypeShape.of(GetDbfsFilePathsResult.class), args, Utilities.withVersion(options));
+    public static Output getExternalLocations(GetExternalLocationsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getExternalLocations:getExternalLocations", TypeShape.of(GetExternalLocationsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
      * ## Example Usage
      * 
+     * List all external locations in the metastore
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -5012,7 +6595,7 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5026,11 +6609,9 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
-     *             .path("dbfs:/user/hive/default.db/table")
-     *             .recursive(false)
-     *             .build());
+     *         final var all = DatabricksFunctions.getExternalLocations();
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
@@ -5041,24 +6622,22 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.ExternalLocation to get information about a single external location
+     * * databricks.ExternalLocation to manage external locations within Unity Catalog.
      * 
      */
-    public static Output getDbfsFilePaths(GetDbfsFilePathsArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getDbfsFilePaths:getDbfsFilePaths", TypeShape.of(GetDbfsFilePathsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getExternalLocationsPlain(GetExternalLocationsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getExternalLocations:getExternalLocations", TypeShape.of(GetExternalLocationsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
+     * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html).
      * 
      * ## Example Usage
      * 
+     * List all functions defined in a specific schema (`main.default` in this example):
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -5068,7 +6647,7 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDbfsFilePathsArgs;
+     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5082,11 +6661,12 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var partitions = DatabricksFunctions.getDbfsFilePaths(GetDbfsFilePathsArgs.builder()
-     *             .path("dbfs:/user/hive/default.db/table")
-     *             .recursive(false)
+     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
+     *             .catalogName("main")
+     *             .schemaName("default")
      *             .build());
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
      *     }
      * }
      * }
@@ -5097,24 +6677,21 @@ public static Output getDbfsFilePaths(GetDbfsFilePathsAr
      * 
      * The following resources are used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.getDbfsFilePaths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
-     * * 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`.
+     * * databricks.Schema to get information about a single schema
      * 
      */
-    public static CompletableFuture getDbfsFilePathsPlain(GetDbfsFilePathsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getDbfsFilePaths:getDbfsFilePaths", TypeShape.of(GetDbfsFilePathsResult.class), args, Utilities.withVersion(options));
+    public static Output getFunctions(GetFunctionsArgs args) {
+        return getFunctions(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This data source can only be used with a workspace-level provider!
      * 
-     * This data source allows to get information about a directory in a Databricks Workspace.
+     * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html).
      * 
      * ## Example Usage
      * 
+     * List all functions defined in a specific schema (`main.default` in this example):
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -5124,7 +6701,7 @@ public static CompletableFuture getDbfsFilePathsPlain(Ge
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
+     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5138,27 +6715,37 @@ public static CompletableFuture getDbfsFilePathsPlain(Ge
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .path("/Production")
+     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
+     *             .catalogName("main")
+     *             .schemaName("default")
      *             .build());
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to get information about a single schema + * */ - public static Output getDirectory(GetDirectoryArgs args) { - return getDirectory(args, InvokeOptions.Empty); + public static CompletableFuture getFunctionsPlain(GetFunctionsPlainArgs args) { + return getFunctionsPlain(args, InvokeOptions.Empty); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > This data source can only be used with a workspace-level provider! * - * This data source allows to get information about a directory in a Databricks Workspace. + * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). * * ## Example Usage * + * List all functions defined in a specific schema (`main.default` in this example): + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -5168,7 +6755,7 @@ public static Output getDirectory(GetDirectoryArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
+     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5182,27 +6769,37 @@ public static Output getDirectory(GetDirectoryArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .path("/Production")
+     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
+     *             .catalogName("main")
+     *             .schemaName("default")
      *             .build());
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to get information about a single schema + * */ - public static CompletableFuture getDirectoryPlain(GetDirectoryPlainArgs args) { - return getDirectoryPlain(args, InvokeOptions.Empty); + public static Output getFunctions(GetFunctionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getFunctions:getFunctions", TypeShape.of(GetFunctionsResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > This data source can only be used with a workspace-level provider! * - * This data source allows to get information about a directory in a Databricks Workspace. + * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). * * ## Example Usage * + * List all functions defined in a specific schema (`main.default` in this example): + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -5212,7 +6809,7 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
+     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5226,27 +6823,37 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .path("/Production")
+     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
+     *             .catalogName("main")
+     *             .schemaName("default")
      *             .build());
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to get information about a single schema + * */ - public static Output getDirectory(GetDirectoryArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getDirectory:getDirectory", TypeShape.of(GetDirectoryResult.class), args, Utilities.withVersion(options)); + public static Output getFunctions(GetFunctionsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getFunctions:getFunctions", TypeShape.of(GetFunctionsResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > This data source can only be used with a workspace-level provider! * - * This data source allows to get information about a directory in a Databricks Workspace. + * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). * * ## Example Usage * + * List all functions defined in a specific schema (`main.default` in this example): + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -5256,7 +6863,7 @@ public static Output getDirectory(GetDirectoryArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
+     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5270,27 +6877,37 @@ public static Output getDirectory(GetDirectoryArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .path("/Production")
+     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
+     *             .catalogName("main")
+     *             .schemaName("default")
      *             .build());
      * 
+     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Schema to get information about a single schema + * */ - public static Output getDirectory(GetDirectoryArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getDirectory:getDirectory", TypeShape.of(GetDirectoryResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFunctionsPlain(GetFunctionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getFunctions:getFunctions", TypeShape.of(GetFunctionsResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * This data source allows to get information about a directory in a Databricks Workspace. + * Retrieves information about databricks.Group members, entitlements and instance profiles. * * ## Example Usage * + * Adding user to administrative group + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -5300,7 +6917,11 @@ public static Output getDirectory(GetDirectoryArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetDirectoryArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.User;
+     * import com.pulumi.databricks.UserArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5308,34 +6929,54 @@ public static Output getDirectory(GetDirectoryArgs args, Inv
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App {
-     *     public static void main(String[] args) {
+     * public class App }{{@code
+     *     public static void main(String[] args) }{{@code
      *         Pulumi.run(App::stack);
-     *     }
+     *     }}{@code
      * 
-     *     public static void stack(Context ctx) {
-     *         final var prod = DatabricksFunctions.getDirectory(GetDirectoryArgs.builder()
-     *             .path("/Production")
+     *     public static void stack(Context ctx) }{{@code
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
      *             .build());
      * 
-     *     }
-     * }
+     *         var me = new User("me", UserArgs.builder()
+     *             .userName("me}{@literal @}{@code example.com")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(me.id())
+     *             .build());
+     * 
+     *     }}{@code
+     * }}{@code
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * databricks.GroupMember to attach users and groups as group members. + * * 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. + * */ - public static CompletableFuture getDirectoryPlain(GetDirectoryPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getDirectory:getDirectory", TypeShape.of(GetDirectoryResult.class), args, Utilities.withVersion(options)); + public static Output getGroup(GetGroupArgs args) { + return getGroup(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details about a databricks.ExternalLocation that were created by Pulumi or manually. + * Retrieves information about databricks.Group members, entitlements and instance profiles. * * ## Example Usage * - * Getting details of an existing external location in the metastore + * Adding user to administrative group * * <!--Start PulumiCodeChooser --> *
@@ -5346,7 +6987,11 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.User;
+     * import com.pulumi.databricks.UserArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5354,19 +6999,27 @@ public static CompletableFuture getDirectoryPlain(GetDirecto
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App {
-     *     public static void main(String[] args) {
+     * public class App }{{@code
+     *     public static void main(String[] args) }{{@code
      *         Pulumi.run(App::stack);
-     *     }
+     *     }}{@code
      * 
-     *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
-     *             .name("this")
+     *     public static void stack(Context ctx) }{{@code
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
      *             .build());
      * 
-     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
-     *     }
-     * }
+     *         var me = new User("me", UserArgs.builder()
+     *             .userName("me}{@literal @}{@code example.com")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(me.id())
+     *             .build());
+     * 
+     *     }}{@code
+     * }}{@code
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -5375,21 +7028,25 @@ public static CompletableFuture getDirectoryPlain(GetDirecto * * The following resources are used in the same context: * - * * databricks.getExternalLocations to get names of all external locations - * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * * End to end workspace management guide + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * databricks.GroupMember to attach users and groups as group members. + * * 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. * */ - public static Output getExternalLocation(GetExternalLocationArgs args) { - return getExternalLocation(args, InvokeOptions.Empty); + public static CompletableFuture getGroupPlain(GetGroupPlainArgs args) { + return getGroupPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details about a databricks.ExternalLocation that were created by Pulumi or manually. + * Retrieves information about databricks.Group members, entitlements and instance profiles. * * ## Example Usage * - * Getting details of an existing external location in the metastore + * Adding user to administrative group * * <!--Start PulumiCodeChooser --> *
@@ -5400,7 +7057,11 @@ public static Output getExternalLocation(GetExternalL
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.User;
+     * import com.pulumi.databricks.UserArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5408,19 +7069,27 @@ public static Output getExternalLocation(GetExternalL
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App {
-     *     public static void main(String[] args) {
+     * public class App }{{@code
+     *     public static void main(String[] args) }{{@code
      *         Pulumi.run(App::stack);
-     *     }
+     *     }}{@code
      * 
-     *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
-     *             .name("this")
+     *     public static void stack(Context ctx) }{{@code
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
      *             .build());
      * 
-     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
-     *     }
-     * }
+     *         var me = new User("me", UserArgs.builder()
+     *             .userName("me}{@literal @}{@code example.com")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(me.id())
+     *             .build());
+     * 
+     *     }}{@code
+     * }}{@code
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -5429,21 +7098,25 @@ public static Output getExternalLocation(GetExternalL * * The following resources are used in the same context: * - * * databricks.getExternalLocations to get names of all external locations - * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * * End to end workspace management guide + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * databricks.GroupMember to attach users and groups as group members. + * * 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. * */ - public static CompletableFuture getExternalLocationPlain(GetExternalLocationPlainArgs args) { - return getExternalLocationPlain(args, InvokeOptions.Empty); + public static Output getGroup(GetGroupArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details about a databricks.ExternalLocation that were created by Pulumi or manually. + * Retrieves information about databricks.Group members, entitlements and instance profiles. * * ## Example Usage * - * Getting details of an existing external location in the metastore + * Adding user to administrative group * * <!--Start PulumiCodeChooser --> *
@@ -5454,7 +7127,11 @@ public static CompletableFuture getExternalLocationPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.User;
+     * import com.pulumi.databricks.UserArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5462,19 +7139,27 @@ public static CompletableFuture getExternalLocationPl
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App {
-     *     public static void main(String[] args) {
+     * public class App }{{@code
+     *     public static void main(String[] args) }{{@code
      *         Pulumi.run(App::stack);
-     *     }
+     *     }}{@code
      * 
-     *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
-     *             .name("this")
+     *     public static void stack(Context ctx) }{{@code
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
      *             .build());
      * 
-     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
-     *     }
-     * }
+     *         var me = new User("me", UserArgs.builder()
+     *             .userName("me}{@literal @}{@code example.com")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(me.id())
+     *             .build());
+     * 
+     *     }}{@code
+     * }}{@code
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -5483,21 +7168,25 @@ public static CompletableFuture getExternalLocationPl * * The following resources are used in the same context: * - * * databricks.getExternalLocations to get names of all external locations - * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * * End to end workspace management guide + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * databricks.GroupMember to attach users and groups as group members. + * * 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. * */ - public static Output getExternalLocation(GetExternalLocationArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options)); + public static Output getGroup(GetGroupArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details about a databricks.ExternalLocation that were created by Pulumi or manually. + * Retrieves information about databricks.Group members, entitlements and instance profiles. * * ## Example Usage * - * Getting details of an existing external location in the metastore + * Adding user to administrative group * * <!--Start PulumiCodeChooser --> *
@@ -5508,7 +7197,11 @@ public static Output getExternalLocation(GetExternalL
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.User;
+     * import com.pulumi.databricks.UserArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5516,19 +7209,27 @@ public static Output getExternalLocation(GetExternalL
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App {
-     *     public static void main(String[] args) {
+     * public class App }{{@code
+     *     public static void main(String[] args) }{{@code
      *         Pulumi.run(App::stack);
-     *     }
+     *     }}{@code
      * 
-     *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
-     *             .name("this")
+     *     public static void stack(Context ctx) }{{@code
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
      *             .build());
      * 
-     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
-     *     }
-     * }
+     *         var me = new User("me", UserArgs.builder()
+     *             .userName("me}{@literal @}{@code example.com")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(me.id())
+     *             .build());
+     * 
+     *     }}{@code
+     * }}{@code
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -5537,21 +7238,25 @@ public static Output getExternalLocation(GetExternalL * * The following resources are used in the same context: * - * * databricks.getExternalLocations to get names of all external locations - * * databricks.ExternalLocation to manage external locations within Unity Catalog. + * * End to end workspace management guide + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). + * * databricks.GroupMember to attach users and groups as group members. + * * 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. * */ - public static Output getExternalLocation(GetExternalLocationArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getGroupPlain(GetGroupPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 details about a databricks.ExternalLocation that were created by Pulumi or manually. + * Retrieves information about databricks_instance_pool. * * ## Example Usage * - * Getting details of an existing external location in the metastore + * Referring to an instance pool by name: * * <!--Start PulumiCodeChooser --> *
@@ -5562,7 +7267,9 @@ public static Output getExternalLocation(GetExternalL
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationArgs;
+     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5576,36 +7283,32 @@ public static Output getExternalLocation(GetExternalL
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getExternalLocation(GetExternalLocationArgs.builder()
-     *             .name("this")
+     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
+     *             .name("All spot")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
      *             .build());
      * 
-     *         ctx.export("createdBy", this_.externalLocationInfo().createdBy());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getExternalLocations to get names of all external locations - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static CompletableFuture getExternalLocationPlain(GetExternalLocationPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getExternalLocation:getExternalLocation", TypeShape.of(GetExternalLocationResult.class), args, Utilities.withVersion(options)); + public static Output getInstancePool(GetInstancePoolArgs args) { + return getInstancePool(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Retrieves information about databricks_instance_pool. * * ## Example Usage * - * List all external locations in the metastore + * Referring to an instance pool by name: * * <!--Start PulumiCodeChooser --> *
@@ -5616,7 +7319,9 @@ public static CompletableFuture getExternalLocationPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5630,34 +7335,32 @@ public static CompletableFuture getExternalLocationPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
+     *             .name("All spot")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *             .build());
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static Output getExternalLocations() { - return getExternalLocations(GetExternalLocationsArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getInstancePoolPlain(GetInstancePoolPlainArgs args) { + return getInstancePoolPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Retrieves information about databricks_instance_pool. * * ## Example Usage * - * List all external locations in the metastore + * Referring to an instance pool by name: * * <!--Start PulumiCodeChooser --> *
@@ -5668,7 +7371,9 @@ public static Output getExternalLocations() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5682,34 +7387,32 @@ public static Output getExternalLocations() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
+     *             .name("All spot")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *             .build());
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static CompletableFuture getExternalLocationsPlain() { - return getExternalLocationsPlain(GetExternalLocationsPlainArgs.Empty, InvokeOptions.Empty); + public static Output getInstancePool(GetInstancePoolArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getInstancePool:getInstancePool", TypeShape.of(GetInstancePoolResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Retrieves information about databricks_instance_pool. * * ## Example Usage * - * List all external locations in the metastore + * Referring to an instance pool by name: * * <!--Start PulumiCodeChooser --> *
@@ -5720,7 +7423,9 @@ public static CompletableFuture getExternalLocations
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5734,34 +7439,32 @@ public static CompletableFuture getExternalLocations
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
+     *             .name("All spot")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *             .build());
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static Output getExternalLocations(GetExternalLocationsArgs args) { - return getExternalLocations(args, InvokeOptions.Empty); + public static Output getInstancePool(GetInstancePoolArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getInstancePool:getInstancePool", TypeShape.of(GetInstancePoolResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Retrieves information about databricks_instance_pool. * * ## Example Usage * - * List all external locations in the metastore + * Referring to an instance pool by name: * * <!--Start PulumiCodeChooser --> *
@@ -5772,7 +7475,9 @@ public static Output getExternalLocations(GetExterna
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
+     * import com.pulumi.databricks.Cluster;
+     * import com.pulumi.databricks.ClusterArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5786,34 +7491,30 @@ public static Output getExternalLocations(GetExterna
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
+     *             .name("All spot")
+     *             .build());
+     * 
+     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
+     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *             .build());
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static CompletableFuture getExternalLocationsPlain(GetExternalLocationsPlainArgs args) { - return getExternalLocationsPlain(args, InvokeOptions.Empty); + public static CompletableFuture getInstancePoolPlain(GetInstancePoolPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getInstancePool:getInstancePool", TypeShape.of(GetInstancePoolResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all external locations in the metastore + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -5824,7 +7525,7 @@ public static CompletableFuture getExternalLocations
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5838,34 +7539,25 @@ public static CompletableFuture getExternalLocations
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static Output getExternalLocations(GetExternalLocationsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getExternalLocations:getExternalLocations", TypeShape.of(GetExternalLocationsResult.class), args, Utilities.withVersion(options)); + public static Output getInstanceProfiles() { + return getInstanceProfiles(GetInstanceProfilesArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all external locations in the metastore + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -5876,7 +7568,7 @@ public static Output getExternalLocations(GetExterna
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5890,34 +7582,25 @@ public static Output getExternalLocations(GetExterna
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static Output getExternalLocations(GetExternalLocationsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getExternalLocations:getExternalLocations", TypeShape.of(GetExternalLocationsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getInstanceProfilesPlain() { + return getInstanceProfilesPlain(GetInstanceProfilesPlainArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with a workspace-level provider! - * - * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all external locations in the metastore + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -5928,7 +7611,7 @@ public static Output getExternalLocations(GetExterna
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetExternalLocationsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5942,34 +7625,25 @@ public static Output getExternalLocations(GetExterna
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getExternalLocations();
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getExternalLocationsResult -> getExternalLocationsResult.names()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.ExternalLocation to get information about a single external location - * * databricks.ExternalLocation to manage external locations within Unity Catalog. - * */ - public static CompletableFuture getExternalLocationsPlain(GetExternalLocationsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getExternalLocations:getExternalLocations", TypeShape.of(GetExternalLocationsResult.class), args, Utilities.withVersion(options)); + public static Output getInstanceProfiles(GetInstanceProfilesArgs args) { + return getInstanceProfiles(args, InvokeOptions.Empty); } /** - * > This data source can only be used with a workspace-level provider! - * - * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all functions defined in a specific schema (`main.default` in this example): + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -5980,7 +7654,7 @@ public static CompletableFuture getExternalLocations
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -5994,36 +7668,25 @@ public static CompletableFuture getExternalLocations
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
-     *             .catalogName("main")
-     *             .schemaName("default")
-     *             .build());
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to get information about a single schema - * */ - public static Output getFunctions(GetFunctionsArgs args) { - return getFunctions(args, InvokeOptions.Empty); + public static CompletableFuture getInstanceProfilesPlain(GetInstanceProfilesPlainArgs args) { + return getInstanceProfilesPlain(args, InvokeOptions.Empty); } /** - * > This data source can only be used with a workspace-level provider! - * - * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all functions defined in a specific schema (`main.default` in this example): + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -6034,7 +7697,7 @@ public static Output getFunctions(GetFunctionsArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6048,36 +7711,25 @@ public static Output getFunctions(GetFunctionsArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
-     *             .catalogName("main")
-     *             .schemaName("default")
-     *             .build());
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to get information about a single schema - * */ - public static CompletableFuture getFunctionsPlain(GetFunctionsPlainArgs args) { - return getFunctionsPlain(args, InvokeOptions.Empty); + public static Output getInstanceProfiles(GetInstanceProfilesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getInstanceProfiles:getInstanceProfiles", TypeShape.of(GetInstanceProfilesResult.class), args, Utilities.withVersion(options)); } /** - * > This data source can only be used with a workspace-level provider! - * - * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all functions defined in a specific schema (`main.default` in this example): + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -6088,7 +7740,7 @@ public static CompletableFuture getFunctionsPlain(GetFunctio
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6102,36 +7754,25 @@ public static CompletableFuture getFunctionsPlain(GetFunctio
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
-     *             .catalogName("main")
-     *             .schemaName("default")
-     *             .build());
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to get information about a single schema - * */ - public static Output getFunctions(GetFunctionsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getFunctions:getFunctions", TypeShape.of(GetFunctionsResult.class), args, Utilities.withVersion(options)); + public static Output getInstanceProfiles(GetInstanceProfilesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getInstanceProfiles:getInstanceProfiles", TypeShape.of(GetInstanceProfilesResult.class), args, Utilities.withVersion(options)); } /** - * > This data source can only be used with a workspace-level provider! - * - * Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). + * Lists all available databricks_instance_profiles. * * ## Example Usage * - * List all functions defined in a specific schema (`main.default` in this example): + * Get all instance profiles: * * <!--Start PulumiCodeChooser --> *
@@ -6142,7 +7783,7 @@ public static Output getFunctions(GetFunctionsArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
+     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6156,36 +7797,27 @@ public static Output getFunctions(GetFunctionsArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
-     *             .catalogName("main")
-     *             .schemaName("default")
-     *             .build());
+     *         final var all = DatabricksFunctions.getInstanceProfiles();
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
+     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Schema to get information about a single schema - * */ - public static Output getFunctions(GetFunctionsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getFunctions:getFunctions", TypeShape.of(GetFunctionsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getInstanceProfilesPlain(GetInstanceProfilesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getInstanceProfiles:getInstanceProfiles", TypeShape.of(GetInstanceProfilesResult.class), args, Utilities.withVersion(options)); } /** - * > This data source can only be used with a workspace-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html). + * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. * * ## Example Usage * - * List all functions defined in a specific schema (`main.default` in this example): + * Getting the existing cluster id of specific databricks.Job by name or by id: * * <!--Start PulumiCodeChooser --> *
@@ -6196,7 +7828,7 @@ public static Output getFunctions(GetFunctionsArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetFunctionsArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6210,12 +7842,11 @@ public static Output getFunctions(GetFunctionsArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getFunctions(GetFunctionsArgs.builder()
-     *             .catalogName("main")
-     *             .schemaName("default")
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
-     *         ctx.export("allExternalLocations", all.applyValue(getFunctionsResult -> getFunctionsResult.functions()));
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
      *     }
      * }
      * }
@@ -6226,20 +7857,21 @@ public static Output getFunctions(GetFunctionsArgs args, Inv
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Schema to get information about a single schema
+     * * 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.
      * 
      */
-    public static CompletableFuture getFunctionsPlain(GetFunctionsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getFunctions:getFunctions", TypeShape.of(GetFunctionsResult.class), args, Utilities.withVersion(options));
+    public static Output getJob() {
+        return getJob(GetJobArgs.Empty, InvokeOptions.Empty);
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks.Group members, entitlements and instance profiles.
+     * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
      * 
      * ## Example Usage
      * 
-     * Adding user to administrative group
+     * Getting the existing cluster id of specific databricks.Job by name or by id:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -6250,11 +7882,7 @@ public static CompletableFuture getFunctionsPlain(GetFunctio
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.User;
-     * import com.pulumi.databricks.UserArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6262,27 +7890,19 @@ public static CompletableFuture getFunctionsPlain(GetFunctio
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
+     * public class App {
+     *     public static void main(String[] args) {
      *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         var me = new User("me", UserArgs.builder()
-     *             .userName("me}{@literal @}{@code example.com")
-     *             .build());
+     *     }
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(me.id())
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -6291,25 +7911,21 @@ public static CompletableFuture getFunctionsPlain(GetFunctio * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.GroupMember to attach users and groups as group members. - * * 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. + * * 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. * */ - public static Output getGroup(GetGroupArgs args) { - return getGroup(args, InvokeOptions.Empty); + public static CompletableFuture getJobPlain() { + return getJobPlain(GetJobPlainArgs.Empty, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks.Group members, entitlements and instance profiles. + * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. * * ## Example Usage * - * Adding user to administrative group + * Getting the existing cluster id of specific databricks.Job by name or by id: * * <!--Start PulumiCodeChooser --> *
@@ -6320,11 +7936,7 @@ public static Output getGroup(GetGroupArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.User;
-     * import com.pulumi.databricks.UserArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6332,27 +7944,19 @@ public static Output getGroup(GetGroupArgs args) {
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
+     * public class App {
+     *     public static void main(String[] args) {
      *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         var me = new User("me", UserArgs.builder()
-     *             .userName("me}{@literal @}{@code example.com")
-     *             .build());
+     *     }
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(me.id())
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -6361,25 +7965,21 @@ public static Output getGroup(GetGroupArgs args) { * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.GroupMember to attach users and groups as group members. - * * 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. + * * 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. * */ - public static CompletableFuture getGroupPlain(GetGroupPlainArgs args) { - return getGroupPlain(args, InvokeOptions.Empty); + public static Output getJob(GetJobArgs args) { + return getJob(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks.Group members, entitlements and instance profiles. + * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. * * ## Example Usage * - * Adding user to administrative group + * Getting the existing cluster id of specific databricks.Job by name or by id: * * <!--Start PulumiCodeChooser --> *
@@ -6390,11 +7990,7 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.User;
-     * import com.pulumi.databricks.UserArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6402,27 +7998,19 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
+     * public class App {
+     *     public static void main(String[] args) {
      *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         var me = new User("me", UserArgs.builder()
-     *             .userName("me}{@literal @}{@code example.com")
-     *             .build());
+     *     }
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(me.id())
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -6431,25 +8019,21 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.GroupMember to attach users and groups as group members. - * * 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. + * * 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. * */ - public static Output getGroup(GetGroupArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getJobPlain(GetJobPlainArgs args) { + return getJobPlain(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks.Group members, entitlements and instance profiles. + * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. * * ## Example Usage * - * Adding user to administrative group + * Getting the existing cluster id of specific databricks.Job by name or by id: * * <!--Start PulumiCodeChooser --> *
@@ -6460,11 +8044,7 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.User;
-     * import com.pulumi.databricks.UserArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6472,27 +8052,19 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
-     *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         var me = new User("me", UserArgs.builder()
-     *             .userName("me}{@literal @}{@code example.com")
-     *             .build());
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(me.id())
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -6501,25 +8073,21 @@ public static Output getGroup(GetGroupArgs args, InvokeOptions o * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.GroupMember to attach users and groups as group members. - * * 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. + * * 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. * */ - public static Output getGroup(GetGroupArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); + public static Output getJob(GetJobArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getJob:getJob", TypeShape.of(GetJobResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks.Group members, entitlements and instance profiles. + * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. * * ## Example Usage * - * Adding user to administrative group + * Getting the existing cluster id of specific databricks.Job by name or by id: * * <!--Start PulumiCodeChooser --> *
@@ -6530,11 +8098,7 @@ public static Output getGroup(GetGroupArgs args, InvokeOutputOpt
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.User;
-     * import com.pulumi.databricks.UserArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6542,27 +8106,19 @@ public static Output getGroup(GetGroupArgs args, InvokeOutputOpt
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
+     * public class App {
+     *     public static void main(String[] args) {
      *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         var me = new User("me", UserArgs.builder()
-     *             .userName("me}{@literal @}{@code example.com")
-     *             .build());
+     *     }
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(me.id())
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> @@ -6571,25 +8127,21 @@ public static Output getGroup(GetGroupArgs args, InvokeOutputOpt * * The following resources are used in the same context: * - * * End to end workspace management guide - * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). - * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.GroupMember to attach users and groups as group members. - * * 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. + * * 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. * */ - public static CompletableFuture getGroupPlain(GetGroupPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); + public static Output getJob(GetJobArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getJob:getJob", TypeShape.of(GetJobResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_instance_pool. + * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. * * ## Example Usage * - * Referring to an instance pool by name: + * Getting the existing cluster id of specific databricks.Job by name or by id: * * <!--Start PulumiCodeChooser --> *
@@ -6600,9 +8152,7 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetJobArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6616,32 +8166,38 @@ public static CompletableFuture getGroupPlain(GetGroupPlainArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
-     *             .name("All spot")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
+     *             .jobName("My job")
      *             .build());
      * 
+     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * 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. + * */ - public static Output getInstancePool(GetInstancePoolArgs args) { - return getInstancePool(args, InvokeOptions.Empty); + public static CompletableFuture getJobPlain(GetJobPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getJob:getJob", TypeShape.of(GetJobResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_instance_pool. + * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** Data resource will error in case of jobs with duplicate names. * * ## Example Usage * - * Referring to an instance pool by name: + * Granting view databricks.Permissions to all databricks.Job within the workspace: * * <!--Start PulumiCodeChooser --> *
@@ -6652,9 +8208,11 @@ public static Output getInstancePool(GetInstancePoolArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6668,32 +8226,36 @@ public static Output getInstancePool(GetInstancePoolArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
-     *             .name("All spot")
-     *             .build());
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
      *             .build());
      * 
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
+     * 
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static CompletableFuture getInstancePoolPlain(GetInstancePoolPlainArgs args) { - return getInstancePoolPlain(args, InvokeOptions.Empty); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_instance_pool. - * - * ## Example Usage - * - * Referring to an instance pool by name: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -6704,9 +8266,7 @@ public static CompletableFuture getInstancePoolPlain(GetI
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6720,32 +8280,35 @@ public static CompletableFuture getInstancePoolPlain(GetI
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
-     *             .name("All spot")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
-     *             .build());
+     *         final var this = DatabricksFunctions.getJobs();
      * 
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. + * */ - public static Output getInstancePool(GetInstancePoolArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getInstancePool:getInstancePool", TypeShape.of(GetInstancePoolResult.class), args, Utilities.withVersion(options)); + public static Output getJobs() { + return getJobs(GetJobsArgs.Empty, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_instance_pool. + * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** Data resource will error in case of jobs with duplicate names. * * ## Example Usage * - * Referring to an instance pool by name: + * Granting view databricks.Permissions to all databricks.Job within the workspace: * * <!--Start PulumiCodeChooser --> *
@@ -6756,9 +8319,11 @@ public static Output getInstancePool(GetInstancePoolArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6772,32 +8337,36 @@ public static Output getInstancePool(GetInstancePoolArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
-     *             .name("All spot")
-     *             .build());
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
      *             .build());
      * 
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
+     * 
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getInstancePool(GetInstancePoolArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getInstancePool:getInstancePool", TypeShape.of(GetInstancePoolResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_instance_pool. - * - * ## Example Usage - * - * Referring to an instance pool by name: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -6808,9 +8377,7 @@ public static Output getInstancePool(GetInstancePoolArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstancePoolArgs;
-     * import com.pulumi.databricks.Cluster;
-     * import com.pulumi.databricks.ClusterArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6824,30 +8391,35 @@ public static Output getInstancePool(GetInstancePoolArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var pool = DatabricksFunctions.getInstancePool(GetInstancePoolArgs.builder()
-     *             .name("All spot")
-     *             .build());
-     * 
-     *         var myCluster = new Cluster("myCluster", ClusterArgs.builder()
-     *             .instancePoolId(pool.applyValue(getInstancePoolResult -> getInstancePoolResult.id()))
-     *             .build());
+     *         final var this = DatabricksFunctions.getJobs();
      * 
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. + * */ - public static CompletableFuture getInstancePoolPlain(GetInstancePoolPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getInstancePool:getInstancePool", TypeShape.of(GetInstancePoolResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getJobsPlain() { + return getJobsPlain(GetJobsPlainArgs.Empty, InvokeOptions.Empty); } /** - * Lists all available databricks_instance_profiles. + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** Data resource will error in case of jobs with duplicate names. * * ## Example Usage * - * Get all instance profiles: + * Granting view databricks.Permissions to all databricks.Job within the workspace: * * <!--Start PulumiCodeChooser --> *
@@ -6858,7 +8430,11 @@ public static CompletableFuture getInstancePoolPlain(GetI
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6872,25 +8448,36 @@ public static CompletableFuture getInstancePoolPlain(GetI
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
+     * 
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
+     *             .build());
+     * 
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getInstanceProfiles() { - return getInstanceProfiles(GetInstanceProfilesArgs.Empty, InvokeOptions.Empty); - } - /** - * Lists all available databricks_instance_profiles. - * - * ## Example Usage - * - * Get all instance profiles: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -6901,7 +8488,7 @@ public static Output getInstanceProfiles() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6915,25 +8502,35 @@ public static Output getInstanceProfiles() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. + * */ - public static CompletableFuture getInstanceProfilesPlain() { - return getInstanceProfilesPlain(GetInstanceProfilesPlainArgs.Empty, InvokeOptions.Empty); + public static Output getJobs(GetJobsArgs args) { + return getJobs(args, InvokeOptions.Empty); } /** - * Lists all available databricks_instance_profiles. + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** Data resource will error in case of jobs with duplicate names. * * ## Example Usage * - * Get all instance profiles: + * Granting view databricks.Permissions to all databricks.Job within the workspace: * * <!--Start PulumiCodeChooser --> *
@@ -6944,7 +8541,11 @@ public static CompletableFuture getInstanceProfilesPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -6958,25 +8559,36 @@ public static CompletableFuture getInstanceProfilesPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
+     * 
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
+     *             .build());
+     * 
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getInstanceProfiles(GetInstanceProfilesArgs args) { - return getInstanceProfiles(args, InvokeOptions.Empty); - } - /** - * Lists all available databricks_instance_profiles. - * - * ## Example Usage - * - * Get all instance profiles: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -6987,7 +8599,7 @@ public static Output getInstanceProfiles(GetInstanceP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7001,25 +8613,35 @@ public static Output getInstanceProfiles(GetInstanceP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. + * */ - public static CompletableFuture getInstanceProfilesPlain(GetInstanceProfilesPlainArgs args) { - return getInstanceProfilesPlain(args, InvokeOptions.Empty); + public static CompletableFuture getJobsPlain(GetJobsPlainArgs args) { + return getJobsPlain(args, InvokeOptions.Empty); } /** - * Lists all available databricks_instance_profiles. + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** Data resource will error in case of jobs with duplicate names. * * ## Example Usage * - * Get all instance profiles: + * Granting view databricks.Permissions to all databricks.Job within the workspace: * * <!--Start PulumiCodeChooser --> *
@@ -7030,7 +8652,11 @@ public static CompletableFuture getInstanceProfilesPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7044,25 +8670,36 @@ public static CompletableFuture getInstanceProfilesPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
+     * 
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
+     *             .build());
+     * 
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getInstanceProfiles(GetInstanceProfilesArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getInstanceProfiles:getInstanceProfiles", TypeShape.of(GetInstanceProfilesResult.class), args, Utilities.withVersion(options)); - } - /** - * Lists all available databricks_instance_profiles. - * - * ## Example Usage - * - * Get all instance profiles: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -7073,7 +8710,7 @@ public static Output getInstanceProfiles(GetInstanceP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7087,25 +8724,35 @@ public static Output getInstanceProfiles(GetInstanceP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. + * */ - public static Output getInstanceProfiles(GetInstanceProfilesArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getInstanceProfiles:getInstanceProfiles", TypeShape.of(GetInstanceProfilesResult.class), args, Utilities.withVersion(options)); + public static Output getJobs(GetJobsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getJobs:getJobs", TypeShape.of(GetJobsResult.class), args, Utilities.withVersion(options)); } /** - * Lists all available databricks_instance_profiles. + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** Data resource will error in case of jobs with duplicate names. * * ## Example Usage * - * Get all instance profiles: + * Granting view databricks.Permissions to all databricks.Job within the workspace: * * <!--Start PulumiCodeChooser --> *
@@ -7116,7 +8763,11 @@ public static Output getInstanceProfiles(GetInstanceP
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetInstanceProfilesArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7130,27 +8781,36 @@ public static Output getInstanceProfiles(GetInstanceP
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getInstanceProfiles();
+     *         final var this = DatabricksFunctions.getJobs();
+     * 
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
+     *             .build());
+     * 
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
      * 
-     *         ctx.export("allInstanceProfiles", all.applyValue(getInstanceProfilesResult -> getInstanceProfilesResult.instanceProfiles()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static CompletableFuture getInstanceProfilesPlain(GetInstanceProfilesPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getInstanceProfiles:getInstanceProfiles", TypeShape.of(GetInstanceProfilesResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. - * - * ## Example Usage - * - * Getting the existing cluster id of specific databricks.Job by name or by id: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -7161,7 +8821,7 @@ public static CompletableFuture getInstanceProfilesPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7175,11 +8835,9 @@ public static CompletableFuture getInstanceProfilesPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
-     *             .build());
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
@@ -7190,21 +8848,22 @@ public static CompletableFuture getInstanceProfilesPl
      * 
      * The following resources are used in the same context:
      * 
-     * * 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.
      * 
      */
-    public static Output getJob() {
-        return getJob(GetJobArgs.Empty, InvokeOptions.Empty);
+    public static Output getJobs(GetJobsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getJobs:getJobs", TypeShape.of(GetJobsResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
+     * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * 
+     * > **Note** Data resource will error in case of jobs with duplicate names.
      * 
      * ## Example Usage
      * 
-     * Getting the existing cluster id of specific databricks.Job by name or by id:
+     * Granting view databricks.Permissions to all databricks.Job within the workspace:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7215,7 +8874,11 @@ public static Output getJob() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7229,36 +8892,36 @@ public static Output getJob() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
+     *         final var this = DatabricksFunctions.getJobs();
+     * 
+     *         final var tests = DatabricksFunctions.getJobs(GetJobsArgs.builder()
+     *             .jobNameContains("test")
      *             .build());
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
+     *             final var resources = new ArrayList();
+     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
+     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
+     *                     .jobId(range.value())
+     *                     .accessControls(PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build())
+     *                     .build());
+     * 
+     *                 resources.add(resource);
+     *             }
+     * 
+     *             return resources;
+     *         });
+     * 
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * 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. - * - */ - public static CompletableFuture getJobPlain() { - return getJobPlain(GetJobPlainArgs.Empty, InvokeOptions.Empty); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source. - * - * ## Example Usage - * - * Getting the existing cluster id of specific databricks.Job by name or by id: + * Getting ID of specific databricks.Job by name: * * <!--Start PulumiCodeChooser --> *
@@ -7269,7 +8932,7 @@ public static CompletableFuture getJobPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetJobsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7283,11 +8946,9 @@ public static CompletableFuture getJobPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
-     *             .build());
+     *         final var this = DatabricksFunctions.getJobs();
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
@@ -7298,21 +8959,22 @@ public static CompletableFuture getJobPlain() {
      * 
      * The following resources are used in the same context:
      * 
-     * * 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.
      * 
      */
-    public static Output getJob(GetJobArgs args) {
-        return getJob(args, InvokeOptions.Empty);
+    public static CompletableFuture getJobsPlain(GetJobsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getJobs:getJobs", TypeShape.of(GetJobsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
+     * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Getting the existing cluster id of specific databricks.Job by name or by id:
+     * MetastoreInfo response for a given metastore id
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7322,8 +8984,12 @@ public static Output getJob(GetJobArgs args) {
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7337,11 +9003,23 @@ public static Output getJob(GetJobArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
      *             .build());
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
+     * 
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
+     * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
@@ -7352,21 +9030,24 @@ public static Output getJob(GetJobArgs args) {
      * 
      * The following resources are used in the same context:
      * 
-     * * 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.
+     * * databricks.getMetastores to get mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getJobPlain(GetJobPlainArgs args) {
-        return getJobPlain(args, InvokeOptions.Empty);
+    public static Output getMetastore() {
+        return getMetastore(GetMetastoreArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
+     * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Getting the existing cluster id of specific databricks.Job by name or by id:
+     * MetastoreInfo response for a given metastore id
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7376,8 +9057,12 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args)
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7391,11 +9076,23 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
      *             .build());
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
+     * 
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
+     * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
@@ -7406,21 +9103,24 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args)
      * 
      * The following resources are used in the same context:
      * 
-     * * 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.
+     * * databricks.getMetastores to get mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getJob(GetJobArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getJob:getJob", TypeShape.of(GetJobResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getMetastorePlain() {
+        return getMetastorePlain(GetMetastorePlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
+     * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Getting the existing cluster id of specific databricks.Job by name or by id:
+     * MetastoreInfo response for a given metastore id
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7430,8 +9130,12 @@ public static Output getJob(GetJobArgs args, InvokeOptions options
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7445,11 +9149,23 @@ public static Output getJob(GetJobArgs args, InvokeOptions options
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
      *             .build());
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
+     * 
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
+     * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
@@ -7460,21 +9176,24 @@ public static Output getJob(GetJobArgs args, InvokeOptions options
      * 
      * The following resources are used in the same context:
      * 
-     * * 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.
+     * * databricks.getMetastores to get mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getJob(GetJobArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getJob:getJob", TypeShape.of(GetJobResult.class), args, Utilities.withVersion(options));
+    public static Output getMetastore(GetMetastoreArgs args) {
+        return getMetastore(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
+     * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
+     * 
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Getting the existing cluster id of specific databricks.Job by name or by id:
+     * MetastoreInfo response for a given metastore id
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7484,8 +9203,12 @@ public static Output getJob(GetJobArgs args, InvokeOutputOptions o
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7499,11 +9222,23 @@ public static Output getJob(GetJobArgs args, InvokeOutputOptions o
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJob(GetJobArgs.builder()
-     *             .jobName("My job")
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
      *             .build());
      * 
-     *         ctx.export("jobNumWorkers", this_.jobSettings().settings().newCluster().numWorkers());
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
+     * 
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
+     * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
@@ -7514,23 +9249,24 @@ public static Output getJob(GetJobArgs args, InvokeOutputOptions o
      * 
      * The following resources are used in the same context:
      * 
-     * * 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.
+     * * databricks.getMetastores to get mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getJobPlain(GetJobPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getJob:getJob", TypeShape.of(GetJobResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getMetastorePlain(GetMetastorePlainArgs args) {
+        return getMetastorePlain(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
      * 
-     * > **Note** Data resource will error in case of jobs with duplicate names.
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Granting view databricks.Permissions to all databricks.Job within the workspace:
+     * MetastoreInfo response for a given metastore id
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7540,12 +9276,12 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args,
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7559,32 +9295,51 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
+     *             .build());
      * 
-     *                 resources.add(resource);
-     *             }
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
      * 
-     *             return resources;
-     *         });
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
      * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMetastores to get mapping of name to id of all metastores. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getMetastore(GetMetastoreArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMetastore:getMetastore", TypeShape.of(GetMetastoreResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * + * ## Example Usage + * + * MetastoreInfo response for a given metastore id * * <!--Start PulumiCodeChooser --> *
@@ -7594,8 +9349,12 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args,
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7609,9 +9368,23 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
+     *             .build());
      * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
+     * 
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
+     * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
@@ -7622,22 +9395,24 @@ public static CompletableFuture getJobPlain(GetJobPlainArgs args,
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
+     * * databricks.getMetastores to get mapping of name to id of all metastores.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getJobs() {
-        return getJobs(GetJobsArgs.Empty, InvokeOptions.Empty);
+    public static Output getMetastore(GetMetastoreArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getMetastore:getMetastore", TypeShape.of(GetMetastoreResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
      * 
-     * > **Note** Data resource will error in case of jobs with duplicate names.
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
      * 
      * ## Example Usage
      * 
-     * Granting view databricks.Permissions to all databricks.Job within the workspace:
+     * MetastoreInfo response for a given metastore id
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7647,12 +9422,12 @@ public static Output getJobs() {
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.aws.s3.BucketV2;
+     * import com.pulumi.aws.s3.BucketV2Args;
+     * import com.pulumi.databricks.Metastore;
+     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7666,32 +9441,51 @@ public static Output getJobs() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
+     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
+     *             .bucket(String.format("%s-metastore", prefix))
+     *             .forceDestroy(true)
+     *             .build());
      * 
-     *                 resources.add(resource);
-     *             }
+     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
+     *             .name("primary")
+     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
+     *             .owner(unityAdminGroup)
+     *             .forceDestroy(true)
+     *             .build());
      * 
-     *             return resources;
-     *         });
+     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
+     *             .metastoreId(thisMetastore.id())
+     *             .build());
      * 
+     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMetastores to get mapping of name to id of all metastores. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getMetastorePlain(GetMetastorePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getMetastore:getMetastore", TypeShape.of(GetMetastoreResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * + * ## Example Usage + * + * Mapping of name to id of all metastores: * * <!--Start PulumiCodeChooser --> *
@@ -7702,7 +9496,7 @@ public static Output getJobs() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7716,9 +9510,9 @@ public static Output getJobs() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
+     *         final var all = DatabricksFunctions.getMetastores();
      * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
@@ -7729,22 +9523,24 @@ public static Output getJobs() {
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
+     * * databricks.Metastore to get information about a single metastore.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getJobsPlain() {
-        return getJobsPlain(GetJobsPlainArgs.Empty, InvokeOptions.Empty);
+    public static Output getMetastores() {
+        return getMetastores(GetMetastoresArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
-     * > **Note** Data resource will error in case of jobs with duplicate names.
+     * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
      * 
      * ## Example Usage
      * 
-     * Granting view databricks.Permissions to all databricks.Job within the workspace:
+     * Mapping of name to id of all metastores:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7755,11 +9551,7 @@ public static CompletableFuture getJobsPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7773,32 +9565,37 @@ public static CompletableFuture getJobsPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
-     * 
-     *                 resources.add(resource);
-     *             }
-     * 
-     *             return resources;
-     *         });
+     *         final var all = DatabricksFunctions.getMetastores();
      * 
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Metastore to get information about a single metastore. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getMetastoresPlain() { + return getMetastoresPlain(GetMetastoresPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * + * ## Example Usage + * + * Mapping of name to id of all metastores: * * <!--Start PulumiCodeChooser --> *
@@ -7809,7 +9606,7 @@ public static CompletableFuture getJobsPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7823,9 +9620,9 @@ public static CompletableFuture getJobsPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
+     *         final var all = DatabricksFunctions.getMetastores();
      * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
@@ -7836,22 +9633,24 @@ public static CompletableFuture getJobsPlain() {
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
+     * * databricks.Metastore to get information about a single metastore.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getJobs(GetJobsArgs args) {
-        return getJobs(args, InvokeOptions.Empty);
+    public static Output getMetastores(GetMetastoresArgs args) {
+        return getMetastores(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
-     * > **Note** Data resource will error in case of jobs with duplicate names.
+     * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
      * 
      * ## Example Usage
      * 
-     * Granting view databricks.Permissions to all databricks.Job within the workspace:
+     * Mapping of name to id of all metastores:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7862,11 +9661,7 @@ public static Output getJobs(GetJobsArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7879,33 +9674,38 @@ public static Output getJobs(GetJobsArgs args) {
      *         Pulumi.run(App::stack);
      *     }
      * 
-     *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
-     * 
-     *                 resources.add(resource);
-     *             }
-     * 
-     *             return resources;
-     *         });
-     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getMetastores();
+     * 
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Metastore to get information about a single metastore. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static CompletableFuture getMetastoresPlain(GetMetastoresPlainArgs args) { + return getMetastoresPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * + * ## Example Usage + * + * Mapping of name to id of all metastores: * * <!--Start PulumiCodeChooser --> *
@@ -7916,7 +9716,7 @@ public static Output getJobs(GetJobsArgs args) {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7930,9 +9730,9 @@ public static Output getJobs(GetJobsArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
+     *         final var all = DatabricksFunctions.getMetastores();
      * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
@@ -7943,22 +9743,24 @@ public static Output getJobs(GetJobsArgs args) {
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
+     * * databricks.Metastore to get information about a single metastore.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getJobsPlain(GetJobsPlainArgs args) {
-        return getJobsPlain(args, InvokeOptions.Empty);
+    public static Output getMetastores(GetMetastoresArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
      * 
-     * > **Note** Data resource will error in case of jobs with duplicate names.
+     * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
      * 
      * ## Example Usage
      * 
-     * Granting view databricks.Permissions to all databricks.Job within the workspace:
+     * Mapping of name to id of all metastores:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -7969,11 +9771,7 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -7987,32 +9785,37 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
-     * 
-     *                 resources.add(resource);
-     *             }
-     * 
-     *             return resources;
-     *         });
+     *         final var all = DatabricksFunctions.getMetastores();
      * 
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.Metastore to get information about a single metastore. + * * databricks.Metastore to manage Metastores within Unity Catalog. + * * databricks.Catalog to manage catalogs within Unity Catalog. + * + */ + public static Output getMetastores(GetMetastoresArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * + * ## Example Usage + * + * Mapping of name to id of all metastores: * * <!--Start PulumiCodeChooser --> *
@@ -8023,7 +9826,7 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8037,9 +9840,9 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
+     *         final var all = DatabricksFunctions.getMetastores();
      * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
+     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
      *     }
      * }
      * }
@@ -8050,22 +9853,83 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
+     * * databricks.Metastore to get information about a single metastore.
+     * * databricks.Metastore to manage Metastores within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getJobs(GetJobsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getJobs:getJobs", TypeShape.of(GetJobsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getMetastoresPlain(GetMetastoresPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves the settings of databricks.MlflowExperiment by id or name.
      * 
-     * > **Note** Data resource will error in case of jobs with duplicate names.
+     */
+    public static Output getMlflowExperiment() {
+        return getMlflowExperiment(GetMlflowExperimentArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
      * 
-     * ## Example Usage
+     * Retrieves the settings of databricks.MlflowExperiment by id or name.
      * 
-     * Granting view databricks.Permissions to all databricks.Job within the workspace:
+     */
+    public static CompletableFuture getMlflowExperimentPlain() {
+        return getMlflowExperimentPlain(GetMlflowExperimentPlainArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
+     * 
+     */
+    public static Output getMlflowExperiment(GetMlflowExperimentArgs args) {
+        return getMlflowExperiment(args, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
+     * 
+     */
+    public static CompletableFuture getMlflowExperimentPlain(GetMlflowExperimentPlainArgs args) {
+        return getMlflowExperimentPlain(args, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
+     * 
+     */
+    public static Output getMlflowExperiment(GetMlflowExperimentArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
+     * 
+     */
+    public static Output getMlflowExperiment(GetMlflowExperimentArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
+     * 
+     */
+    public static CompletableFuture getMlflowExperimentPlain(GetMlflowExperimentPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowModel by name.
+     * 
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -8075,12 +9939,11 @@ public static Output getJobs(GetJobsArgs args, InvokeOptions opti
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.MlflowModel;
+     * import com.pulumi.databricks.MlflowModelArgs;
+     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8094,33 +9957,31 @@ public static Output getJobs(GetJobsArgs args, InvokeOptions opti
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
-     * 
-     *                 resources.add(resource);
-     *             }
+     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .description("My MLflow model description")
+     *             .tags(            
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key1")
+     *                     .value("value1")
+     *                     .build(),
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key2")
+     *                     .value("value2")
+     *                     .build())
+     *             .build());
      * 
-     *             return resources;
-     *         });
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .build());
      * 
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8130,7 +9991,10 @@ public static Output getJobs(GetJobsArgs args, InvokeOptions opti
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.ModelServing;
+     * import com.pulumi.databricks.ModelServingArgs;
+     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8144,36 +10008,40 @@ public static Output getJobs(GetJobsArgs args, InvokeOptions opti
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - * ## Related Resources + * final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder() + * .name("My MLflow Model with multiple versions") + * .build()); * - * The following resources are used in the same context: + * var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder() + * .name("model-serving-endpoint") + * .config(ModelServingConfigArgs.builder() + * .servedModels(ModelServingConfigServedModelArgs.builder() + * .name("model_serving_prod") + * .modelName(this_.name()) + * .modelVersion(this_.latestVersions()[0].version()) + * .workloadSize("Small") + * .scaleToZeroEnabled(true) + * .build()) + * .build()) + * .build()); * - * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. + * } + * } + * } + *
+ * <!--End PulumiCodeChooser --> * */ - public static Output getJobs(GetJobsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getJobs:getJobs", TypeShape.of(GetJobsResult.class), args, Utilities.withVersion(options)); + public static Output getMlflowModel(GetMlflowModelArgs args) { + return getMlflowModel(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied. - * - * > **Note** Data resource will error in case of jobs with duplicate names. + * Retrieves the settings of databricks.MlflowModel by name. * * ## Example Usage * - * Granting view databricks.Permissions to all databricks.Job within the workspace: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8182,12 +10050,11 @@ public static Output getJobs(GetJobsArgs args, InvokeOutputOption
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.MlflowModel;
+     * import com.pulumi.databricks.MlflowModelArgs;
+     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
-     * import com.pulumi.databricks.Permissions;
-     * import com.pulumi.databricks.PermissionsArgs;
-     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
-     * import com.pulumi.codegen.internal.KeyedValue;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8201,33 +10068,31 @@ public static Output getJobs(GetJobsArgs args, InvokeOutputOption
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
-     * 
-     *         final var everyoneCanViewAllJobs = this.applyValue(getJobsResult -> {
-     *             final var resources = new ArrayList();
-     *             for (var range : KeyedValue.of(getJobsResult.ids()) {
-     *                 var resource = new Permissions("everyoneCanViewAllJobs-" + range.key(), PermissionsArgs.builder()
-     *                     .jobId(range.value())
-     *                     .accessControls(PermissionsAccessControlArgs.builder()
-     *                         .groupName("users")
-     *                         .permissionLevel("CAN_VIEW")
-     *                         .build())
-     *                     .build());
-     * 
-     *                 resources.add(resource);
-     *             }
+     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .description("My MLflow model description")
+     *             .tags(            
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key1")
+     *                     .value("value1")
+     *                     .build(),
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key2")
+     *                     .value("value2")
+     *                     .build())
+     *             .build());
      * 
-     *             return resources;
-     *         });
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .build());
      * 
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Getting ID of specific databricks.Job by name: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8237,7 +10102,10 @@ public static Output getJobs(GetJobsArgs args, InvokeOutputOption
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetJobsArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.ModelServing;
+     * import com.pulumi.databricks.ModelServingArgs;
+     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8251,36 +10119,40 @@ public static Output getJobs(GetJobsArgs args, InvokeOutputOption
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getJobs();
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model with multiple versions")
+     *             .build());
+     * 
+     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
+     *             .name("model-serving-endpoint")
+     *             .config(ModelServingConfigArgs.builder()
+     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
+     *                     .name("model_serving_prod")
+     *                     .modelName(this_.name())
+     *                     .modelVersion(this_.latestVersions()[0].version())
+     *                     .workloadSize("Small")
+     *                     .scaleToZeroEnabled(true)
+     *                     .build())
+     *                 .build())
+     *             .build());
      * 
-     *         ctx.export("x", String.format("ID of `x` job is %s", this_.ids().x()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. - * */ - public static CompletableFuture getJobsPlain(GetJobsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getJobs:getJobs", TypeShape.of(GetJobsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getMlflowModelPlain(GetMlflowModelPlainArgs args) { + return getMlflowModelPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * Retrieves the settings of databricks.MlflowModel by name. * * ## Example Usage * - * MetastoreInfo response for a given metastore id - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8289,12 +10161,11 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
+     * import com.pulumi.databricks.MlflowModel;
+     * import com.pulumi.databricks.MlflowModelArgs;
+     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8308,52 +10179,31 @@ public static CompletableFuture getJobsPlain(GetJobsPlainArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
+     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .description("My MLflow model description")
+     *             .tags(            
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key1")
+     *                     .value("value1")
+     *                     .build(),
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key2")
+     *                     .value("value2")
+     *                     .build())
      *             .build());
      * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model")
      *             .build());
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * - */ - public static Output getMetastore() { - return getMetastore(GetMetastoreArgs.Empty, InvokeOptions.Empty); - } - /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. - * - * ## Example Usage - * - * MetastoreInfo response for a given metastore id - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8362,12 +10212,11 @@ public static Output getMetastore() {
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.ModelServing;
+     * import com.pulumi.databricks.ModelServingArgs;
+     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8381,51 +10230,90 @@ public static Output getMetastore() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model with multiple versions")
      *             .build());
      * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
+     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
+     *             .name("model-serving-endpoint")
+     *             .config(ModelServingConfigArgs.builder()
+     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
+     *                     .name("model_serving_prod")
+     *                     .modelName(this_.name())
+     *                     .modelVersion(this_.latestVersions()[0].version())
+     *                     .workloadSize("Small")
+     *                     .scaleToZeroEnabled(true)
+     *                     .build())
+     *                 .build())
      *             .build());
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getMetastorePlain() { - return getMetastorePlain(GetMetastorePlainArgs.Empty, InvokeOptions.Empty); + public static Output getMlflowModel(GetMlflowModelArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMlflowModel:getMlflowModel", TypeShape.of(GetMlflowModelResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * Retrieves the settings of databricks.MlflowModel by name. * * ## Example Usage * - * MetastoreInfo response for a given metastore id + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.MlflowModel;
+     * import com.pulumi.databricks.MlflowModelArgs;
+     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .description("My MLflow model description")
+     *             .tags(            
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key1")
+     *                     .value("value1")
+     *                     .build(),
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key2")
+     *                     .value("value2")
+     *                     .build())
+     *             .build());
+     * 
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .build());
+     * 
+     *         ctx.export("model", this_);
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * * <!--Start PulumiCodeChooser --> *
@@ -8435,12 +10323,11 @@ public static CompletableFuture getMetastorePlain() {
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.ModelServing;
+     * import com.pulumi.databricks.ModelServingArgs;
+     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8454,52 +10341,40 @@ public static CompletableFuture getMetastorePlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model with multiple versions")
      *             .build());
      * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
+     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
+     *             .name("model-serving-endpoint")
+     *             .config(ModelServingConfigArgs.builder()
+     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
+     *                     .name("model_serving_prod")
+     *                     .modelName(this_.name())
+     *                     .modelVersion(this_.latestVersions()[0].version())
+     *                     .workloadSize("Small")
+     *                     .scaleToZeroEnabled(true)
+     *                     .build())
+     *                 .build())
      *             .build());
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getMetastore(GetMetastoreArgs args) { - return getMetastore(args, InvokeOptions.Empty); + public static Output getMlflowModel(GetMlflowModelArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMlflowModel:getMlflowModel", TypeShape.of(GetMlflowModelResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * Retrieves the settings of databricks.MlflowModel by name. * * ## Example Usage * - * MetastoreInfo response for a given metastore id - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8508,12 +10383,11 @@ public static Output getMetastore(GetMetastoreArgs args) {
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
+     * import com.pulumi.databricks.MlflowModel;
+     * import com.pulumi.databricks.MlflowModelArgs;
+     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8527,52 +10401,31 @@ public static Output getMetastore(GetMetastoreArgs args) {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
+     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
+     *             .name("My MLflow Model")
+     *             .description("My MLflow model description")
+     *             .tags(            
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key1")
+     *                     .value("value1")
+     *                     .build(),
+     *                 MlflowModelTagArgs.builder()
+     *                     .key("key2")
+     *                     .value("value2")
+     *                     .build())
      *             .build());
      * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model")
      *             .build());
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * - */ - public static CompletableFuture getMetastorePlain(GetMetastorePlainArgs args) { - return getMetastorePlain(args, InvokeOptions.Empty); - } - /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. - * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. - * - * ## Example Usage - * - * MetastoreInfo response for a given metastore id - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8581,12 +10434,11 @@ public static CompletableFuture getMetastorePlain(GetMetasto
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.ModelServing;
+     * import com.pulumi.databricks.ModelServingArgs;
+     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8600,52 +10452,40 @@ public static CompletableFuture getMetastorePlain(GetMetasto
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
+     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
+     *             .name("My MLflow Model with multiple versions")
      *             .build());
      * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
+     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
+     *             .name("model-serving-endpoint")
+     *             .config(ModelServingConfigArgs.builder()
+     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
+     *                     .name("model_serving_prod")
+     *                     .modelName(this_.name())
+     *                     .modelVersion(this_.latestVersions()[0].version())
+     *                     .workloadSize("Small")
+     *                     .scaleToZeroEnabled(true)
+     *                     .build())
+     *                 .build())
      *             .build());
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getMetastore(GetMetastoreArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMetastore:getMetastore", TypeShape.of(GetMetastoreResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getMlflowModelPlain(GetMlflowModelPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getMlflowModel:getMlflowModel", TypeShape.of(GetMlflowModelResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * MetastoreInfo response for a given metastore id - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8654,12 +10494,8 @@ public static Output getMetastore(GetMetastoreArgs args, Inv
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8673,52 +10509,26 @@ public static Output getMetastore(GetMetastoreArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
-     *             .build());
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getMetastore(GetMetastoreArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMetastore:getMetastore", TypeShape.of(GetMetastoreResult.class), args, Utilities.withVersion(options)); + public static Output getMlflowModels() { + return getMlflowModels(GetMlflowModelsArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * MetastoreInfo response for a given metastore id - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8727,12 +10537,8 @@ public static Output getMetastore(GetMetastoreArgs args, Inv
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.aws.s3.BucketV2;
-     * import com.pulumi.aws.s3.BucketV2Args;
-     * import com.pulumi.databricks.Metastore;
-     * import com.pulumi.databricks.MetastoreArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoreArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8746,52 +10552,26 @@ public static Output getMetastore(GetMetastoreArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var metastore = new BucketV2("metastore", BucketV2Args.builder()
-     *             .bucket(String.format("%s-metastore", prefix))
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         var thisMetastore = new Metastore("thisMetastore", MetastoreArgs.builder()
-     *             .name("primary")
-     *             .storageRoot(metastore.id().applyValue(id -> String.format("s3://%s/metastore", id)))
-     *             .owner(unityAdminGroup)
-     *             .forceDestroy(true)
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMetastore(GetMetastoreArgs.builder()
-     *             .metastoreId(thisMetastore.id())
-     *             .build());
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("someMetastore", this_.applyValue(this_ -> this_.metastoreInfo()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
- * <!--End PulumiCodeChooser --> - * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.getMetastores to get mapping of name to id of all metastores. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. + * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getMetastorePlain(GetMetastorePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getMetastore:getMetastore", TypeShape.of(GetMetastoreResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getMlflowModelsPlain() { + return getMlflowModelsPlain(GetMlflowModelsPlainArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * Mapping of name to id of all metastores: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8801,7 +10581,7 @@ public static CompletableFuture getMetastorePlain(GetMetasto
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8815,38 +10595,26 @@ public static CompletableFuture getMetastorePlain(GetMetasto
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information about a single metastore. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getMetastores() { - return getMetastores(GetMetastoresArgs.Empty, InvokeOptions.Empty); + public static Output getMlflowModels(GetMlflowModelsArgs args) { + return getMlflowModels(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * Mapping of name to id of all metastores: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8856,7 +10624,7 @@ public static Output getMetastores() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8870,38 +10638,26 @@ public static Output getMetastores() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information about a single metastore. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getMetastoresPlain() { - return getMetastoresPlain(GetMetastoresPlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getMlflowModelsPlain(GetMlflowModelsPlainArgs args) { + return getMlflowModelsPlain(args, InvokeOptions.Empty); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * Mapping of name to id of all metastores: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8911,7 +10667,7 @@ public static CompletableFuture getMetastoresPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8925,38 +10681,26 @@ public static CompletableFuture getMetastoresPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information about a single metastore. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getMetastores(GetMetastoresArgs args) { - return getMetastores(args, InvokeOptions.Empty); + public static Output getMlflowModels(GetMlflowModelsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMlflowModels:getMlflowModels", TypeShape.of(GetMlflowModelsResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * Mapping of name to id of all metastores: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -8966,7 +10710,7 @@ public static Output getMetastores(GetMetastoresArgs args)
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -8980,38 +10724,26 @@ public static Output getMetastores(GetMetastoresArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information about a single metastore. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static CompletableFuture getMetastoresPlain(GetMetastoresPlainArgs args) { - return getMetastoresPlain(args, InvokeOptions.Empty); + public static Output getMlflowModels(GetMlflowModelsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMlflowModels:getMlflowModels", TypeShape.of(GetMlflowModelsResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! - * - * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * > **Note** This data source could be only used with workspace-level provider! * - * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. * * ## Example Usage * - * Mapping of name to id of all metastores: - * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9021,7 +10753,7 @@ public static CompletableFuture getMetastoresPlain(GetMetas
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9035,37 +10767,29 @@ public static CompletableFuture getMetastoresPlain(GetMetas
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var this = DatabricksFunctions.getMlflowModels();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("model", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * databricks.Metastore to get information about a single metastore. - * * databricks.Metastore to manage Metastores within Unity Catalog. - * * databricks.Catalog to manage catalogs within Unity Catalog. - * */ - public static Output getMetastores(GetMetastoresArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getMlflowModelsPlain(GetMlflowModelsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getMlflowModels:getMlflowModels", TypeShape.of(GetMlflowModelsResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source can only be used with an account-level provider! + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all databricks.MwsCredentials in Databricks Account. * - * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status + * > **Note** `account_id` provider configuration property is required for this resource to work. * * ## Example Usage * - * Mapping of name to id of all metastores: + * Listing all credentials in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -9076,7 +10800,7 @@ public static Output getMetastores(GetMetastoresArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9090,9 +10814,9 @@ public static Output getMetastores(GetMetastoresArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
@@ -9103,24 +10827,27 @@ public static Output getMetastores(GetMetastoresArgs args,
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Metastore to get information about a single metastore.
-     * * databricks.Metastore to manage Metastores within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
+     * * Provisioning Databricks on AWS guide.
+     * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
+     * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
+     * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
+     * * 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).
      * 
      */
-    public static Output getMetastores(GetMetastoresArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options));
+    public static Output getMwsCredentials() {
+        return getMwsCredentials(GetMwsCredentialsArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** This data source can only be used with an account-level provider!
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
+     * Lists all databricks.MwsCredentials in Databricks Account.
      * 
-     * > **Note** `account_id` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
+     * > **Note** `account_id` provider configuration property is required for this resource to work.
      * 
      * ## Example Usage
      * 
-     * Mapping of name to id of all metastores:
+     * Listing all credentials in Databricks Account
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -9131,7 +10858,7 @@ public static Output getMetastores(GetMetastoresArgs args,
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMetastoresArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9145,9 +10872,9 @@ public static Output getMetastores(GetMetastoresArgs args,
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMetastores();
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
-     *         ctx.export("allMetastores", all.applyValue(getMetastoresResult -> getMetastoresResult.ids()));
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
@@ -9158,84 +10885,28 @@ public static Output getMetastores(GetMetastoresArgs args,
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Metastore to get information about a single metastore.
-     * * databricks.Metastore to manage Metastores within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
-     * 
-     */
-    public static CompletableFuture getMetastoresPlain(GetMetastoresPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getMetastores:getMetastores", TypeShape.of(GetMetastoresResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
-     * 
-     */
-    public static Output getMlflowExperiment() {
-        return getMlflowExperiment(GetMlflowExperimentArgs.Empty, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
-     * 
-     */
-    public static CompletableFuture getMlflowExperimentPlain() {
-        return getMlflowExperimentPlain(GetMlflowExperimentPlainArgs.Empty, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
-     * 
-     */
-    public static Output getMlflowExperiment(GetMlflowExperimentArgs args) {
-        return getMlflowExperiment(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
-     * 
-     */
-    public static CompletableFuture getMlflowExperimentPlain(GetMlflowExperimentPlainArgs args) {
-        return getMlflowExperimentPlain(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
-     * 
-     */
-    public static Output getMlflowExperiment(GetMlflowExperimentArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
+     * * Provisioning Databricks on AWS guide.
+     * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
+     * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
+     * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
+     * * 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).
      * 
      */
-    public static Output getMlflowExperiment(GetMlflowExperimentArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getMwsCredentialsPlain() {
+        return getMwsCredentialsPlain(GetMwsCredentialsPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowExperiment by id or name.
-     * 
-     */
-    public static CompletableFuture getMlflowExperimentPlain(GetMlflowExperimentPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getMlflowExperiment:getMlflowExperiment", TypeShape.of(GetMlflowExperimentResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * Lists all databricks.MwsCredentials in Databricks Account.
      * 
-     * Retrieves the settings of databricks.MlflowModel by name.
+     * > **Note** `account_id` provider configuration property is required for this resource to work.
      * 
      * ## Example Usage
      * 
+     * Listing all credentials in Databricks Account
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -9244,11 +10915,8 @@ public static CompletableFuture getMlflowExperimentPl
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.MlflowModel;
-     * import com.pulumi.databricks.MlflowModelArgs;
-     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9262,31 +10930,41 @@ public static CompletableFuture getMlflowExperimentPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .description("My MLflow model description")
-     *             .tags(            
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key1")
-     *                     .value("value1")
-     *                     .build(),
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key2")
-     *                     .value("value2")
-     *                     .build())
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .build());
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning Databricks on AWS guide. + * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. + * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). + * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. + * * 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). + * + */ + public static Output getMwsCredentials(GetMwsCredentialsArgs args) { + return getMwsCredentials(args, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Lists all databricks.MwsCredentials in Databricks Account. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. + * + * ## Example Usage + * + * Listing all credentials in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9296,10 +10974,7 @@ public static CompletableFuture getMlflowExperimentPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
-     * import com.pulumi.databricks.ModelServing;
-     * import com.pulumi.databricks.ModelServingArgs;
-     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9313,40 +10988,41 @@ public static CompletableFuture getMlflowExperimentPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model with multiple versions")
-     *             .build());
-     * 
-     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
-     *             .name("model-serving-endpoint")
-     *             .config(ModelServingConfigArgs.builder()
-     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
-     *                     .name("model_serving_prod")
-     *                     .modelName(this_.name())
-     *                     .modelVersion(this_.latestVersions()[0].version())
-     *                     .workloadSize("Small")
-     *                     .scaleToZeroEnabled(true)
-     *                     .build())
-     *                 .build())
-     *             .build());
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning Databricks on AWS guide. + * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. + * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). + * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. + * * 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). + * */ - public static Output getMlflowModel(GetMlflowModelArgs args) { - return getMlflowModel(args, InvokeOptions.Empty); + public static CompletableFuture getMwsCredentialsPlain(GetMwsCredentialsPlainArgs args) { + return getMwsCredentialsPlain(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowModel by name. + * Lists all databricks.MwsCredentials in Databricks Account. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. * * ## Example Usage * + * Listing all credentials in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9355,11 +11031,8 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.MlflowModel;
-     * import com.pulumi.databricks.MlflowModelArgs;
-     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9373,31 +11046,41 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .description("My MLflow model description")
-     *             .tags(            
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key1")
-     *                     .value("value1")
-     *                     .build(),
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key2")
-     *                     .value("value2")
-     *                     .build())
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .build());
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning Databricks on AWS guide. + * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. + * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). + * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. + * * 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). + * + */ + public static Output getMwsCredentials(GetMwsCredentialsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMwsCredentials:getMwsCredentials", TypeShape.of(GetMwsCredentialsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * Lists all databricks.MwsCredentials in Databricks Account. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. + * + * ## Example Usage + * + * Listing all credentials in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9407,10 +11090,7 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
-     * import com.pulumi.databricks.ModelServing;
-     * import com.pulumi.databricks.ModelServingArgs;
-     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9424,40 +11104,41 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model with multiple versions")
-     *             .build());
-     * 
-     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
-     *             .name("model-serving-endpoint")
-     *             .config(ModelServingConfigArgs.builder()
-     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
-     *                     .name("model_serving_prod")
-     *                     .modelName(this_.name())
-     *                     .modelVersion(this_.latestVersions()[0].version())
-     *                     .workloadSize("Small")
-     *                     .scaleToZeroEnabled(true)
-     *                     .build())
-     *                 .build())
-     *             .build());
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning Databricks on AWS guide. + * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. + * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). + * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. + * * 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). + * */ - public static CompletableFuture getMlflowModelPlain(GetMlflowModelPlainArgs args) { - return getMlflowModelPlain(args, InvokeOptions.Empty); + public static Output getMwsCredentials(GetMwsCredentialsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMwsCredentials:getMwsCredentials", TypeShape.of(GetMwsCredentialsResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 the settings of databricks.MlflowModel by name. + * Lists all databricks.MwsCredentials in Databricks Account. + * + * > **Note** `account_id` provider configuration property is required for this resource to work. * * ## Example Usage * + * Listing all credentials in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9466,11 +11147,8 @@ public static CompletableFuture getMlflowModelPlain(GetMlf
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.MlflowModel;
-     * import com.pulumi.databricks.MlflowModelArgs;
-     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9484,31 +11162,39 @@ public static CompletableFuture getMlflowModelPlain(GetMlf
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .description("My MLflow model description")
-     *             .tags(            
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key1")
-     *                     .value("value1")
-     *                     .build(),
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key2")
-     *                     .value("value2")
-     *                     .build())
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .build());
+     *         final var all = DatabricksFunctions.getMwsCredentials();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * Provisioning Databricks on AWS guide. + * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. + * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). + * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. + * * 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). + * + */ + public static CompletableFuture getMwsCredentialsPlain(GetMwsCredentialsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getMwsCredentials:getMwsCredentials", TypeShape.of(GetMwsCredentialsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * Fetching information about a network connectivity configuration in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9518,10 +11204,7 @@ public static CompletableFuture getMlflowModelPlain(GetMlf
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
-     * import com.pulumi.databricks.ModelServing;
-     * import com.pulumi.databricks.ModelServingArgs;
-     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9535,40 +11218,37 @@ public static CompletableFuture getMlflowModelPlain(GetMlf
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model with multiple versions")
-     *             .build());
-     * 
-     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
-     *             .name("model-serving-endpoint")
-     *             .config(ModelServingConfigArgs.builder()
-     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
-     *                     .name("model_serving_prod")
-     *                     .modelName(this_.name())
-     *                     .modelVersion(this_.latestVersions()[0].version())
-     *                     .workloadSize("Small")
-     *                     .scaleToZeroEnabled(true)
-     *                     .build())
-     *                 .build())
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()
+     *             .name("ncc")
      *             .build());
      * 
+     *         ctx.export("config", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * */ - public static Output getMlflowModel(GetMlflowModelArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMlflowModel:getMlflowModel", TypeShape.of(GetMlflowModelResult.class), args, Utilities.withVersion(options)); + public static Output getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs args) { + return getMwsNetworkConnectivityConfig(args, InvokeOptions.Empty); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves the settings of databricks.MlflowModel by name. + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * + * Fetching information about a network connectivity configuration in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9577,11 +11257,8 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.MlflowModel;
-     * import com.pulumi.databricks.MlflowModelArgs;
-     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9595,31 +11272,37 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .description("My MLflow model description")
-     *             .tags(            
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key1")
-     *                     .value("value1")
-     *                     .build(),
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key2")
-     *                     .value("value2")
-     *                     .build())
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model")
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()
+     *             .name("ncc")
      *             .build());
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("config", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * + */ + public static CompletableFuture getMwsNetworkConnectivityConfigPlain(GetMwsNetworkConnectivityConfigPlainArgs args) { + return getMwsNetworkConnectivityConfigPlain(args, InvokeOptions.Empty); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * Fetching information about a network connectivity configuration in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9629,10 +11312,7 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
-     * import com.pulumi.databricks.ModelServing;
-     * import com.pulumi.databricks.ModelServingArgs;
-     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9646,40 +11326,37 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model with multiple versions")
-     *             .build());
-     * 
-     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
-     *             .name("model-serving-endpoint")
-     *             .config(ModelServingConfigArgs.builder()
-     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
-     *                     .name("model_serving_prod")
-     *                     .modelName(this_.name())
-     *                     .modelVersion(this_.latestVersions()[0].version())
-     *                     .workloadSize("Small")
-     *                     .scaleToZeroEnabled(true)
-     *                     .build())
-     *                 .build())
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()
+     *             .name("ncc")
      *             .build());
      * 
+     *         ctx.export("config", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * */ - public static Output getMlflowModel(GetMlflowModelArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMlflowModel:getMlflowModel", TypeShape.of(GetMlflowModelResult.class), args, Utilities.withVersion(options)); + public static Output getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", TypeShape.of(GetMwsNetworkConnectivityConfigResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves the settings of databricks.MlflowModel by name. + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * + * Fetching information about a network connectivity configuration in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9688,11 +11365,8 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.MlflowModel;
-     * import com.pulumi.databricks.MlflowModelArgs;
-     * import com.pulumi.databricks.inputs.MlflowModelTagArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9706,31 +11380,37 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         var thisMlflowModel = new MlflowModel("thisMlflowModel", MlflowModelArgs.builder()
-     *             .name("My MLflow Model")
-     *             .description("My MLflow model description")
-     *             .tags(            
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key1")
-     *                     .value("value1")
-     *                     .build(),
-     *                 MlflowModelTagArgs.builder()
-     *                     .key("key2")
-     *                     .value("value2")
-     *                     .build())
-     *             .build());
-     * 
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model")
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()
+     *             .name("ncc")
      *             .build());
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("config", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * + */ + public static Output getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", TypeShape.of(GetMwsNetworkConnectivityConfigResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * Fetching information about a network connectivity configuration in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9740,10 +11420,7 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelArgs;
-     * import com.pulumi.databricks.ModelServing;
-     * import com.pulumi.databricks.ModelServingArgs;
-     * import com.pulumi.databricks.inputs.ModelServingConfigArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9757,40 +11434,37 @@ public static Output getMlflowModel(GetMlflowModelArgs arg
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModel(GetMlflowModelArgs.builder()
-     *             .name("My MLflow Model with multiple versions")
-     *             .build());
-     * 
-     *         var thisModelServing = new ModelServing("thisModelServing", ModelServingArgs.builder()
-     *             .name("model-serving-endpoint")
-     *             .config(ModelServingConfigArgs.builder()
-     *                 .servedModels(ModelServingConfigServedModelArgs.builder()
-     *                     .name("model_serving_prod")
-     *                     .modelName(this_.name())
-     *                     .modelVersion(this_.latestVersions()[0].version())
-     *                     .workloadSize("Small")
-     *                     .scaleToZeroEnabled(true)
-     *                     .build())
-     *                 .build())
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()
+     *             .name("ncc")
      *             .build());
      * 
+     *         ctx.export("config", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * */ - public static CompletableFuture getMlflowModelPlain(GetMlflowModelPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getMlflowModel:getMlflowModel", TypeShape.of(GetMlflowModelResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getMwsNetworkConnectivityConfigPlain(GetMwsNetworkConnectivityConfigPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", TypeShape.of(GetMwsNetworkConnectivityConfigResult.class), args, Utilities.withVersion(options)); } /** - * > **Note** This data source could be only used with workspace-level provider! + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * + * List all network connectivity configurations in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9800,7 +11474,7 @@ public static CompletableFuture getMlflowModelPlain(GetMlf
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9814,25 +11488,16 @@ public static CompletableFuture getMlflowModelPlain(GetMlf
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getMlflowModels() { - return getMlflowModels(GetMlflowModelsArgs.Empty, InvokeOptions.Empty); - } - /** - * > **Note** This data source could be only used with workspace-level provider! - * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. - * - * ## Example Usage + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -9843,7 +11508,7 @@ public static Output getMlflowModels() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9857,26 +11522,37 @@ public static Output getMlflowModels() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * */ - public static CompletableFuture getMlflowModelsPlain() { - return getMlflowModelsPlain(GetMlflowModelsPlainArgs.Empty, InvokeOptions.Empty); + public static Output getMwsNetworkConnectivityConfigs() { + return getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** This data source could be only used with workspace-level provider! + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * + * List all network connectivity configurations in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9886,7 +11562,7 @@ public static CompletableFuture getMlflowModelsPlain() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9900,25 +11576,16 @@ public static CompletableFuture getMlflowModelsPlain() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getMlflowModels(GetMlflowModelsArgs args) { - return getMlflowModels(args, InvokeOptions.Empty); - } - /** - * > **Note** This data source could be only used with workspace-level provider! - * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. - * - * ## Example Usage + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -9929,7 +11596,7 @@ public static Output getMlflowModels(GetMlflowModelsArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9943,26 +11610,37 @@ public static Output getMlflowModels(GetMlflowModelsArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * */ - public static CompletableFuture getMlflowModelsPlain(GetMlflowModelsPlainArgs args) { - return getMlflowModelsPlain(args, InvokeOptions.Empty); + public static CompletableFuture getMwsNetworkConnectivityConfigsPlain() { + return getMwsNetworkConnectivityConfigsPlain(GetMwsNetworkConnectivityConfigsPlainArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** This data source could be only used with workspace-level provider! + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * + * List all network connectivity configurations in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -9972,7 +11650,7 @@ public static CompletableFuture getMlflowModelsPlain(GetM
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -9986,25 +11664,16 @@ public static CompletableFuture getMlflowModelsPlain(GetM
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getMlflowModels(GetMlflowModelsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMlflowModels:getMlflowModels", TypeShape.of(GetMlflowModelsResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** This data source could be only used with workspace-level provider! - * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. - * - * ## Example Usage + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -10015,7 +11684,7 @@ public static Output getMlflowModels(GetMlflowModelsArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10029,26 +11698,37 @@ public static Output getMlflowModels(GetMlflowModelsArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + * */ - public static Output getMlflowModels(GetMlflowModelsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMlflowModels:getMlflowModels", TypeShape.of(GetMlflowModelsResult.class), args, Utilities.withVersion(options)); + public static Output getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs args) { + return getMwsNetworkConnectivityConfigs(args, InvokeOptions.Empty); } /** - * > **Note** This data source could be only used with workspace-level provider! + * > **Note** This data source can only be used with an account-level provider! * - * Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied. + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * + * List all network connectivity configurations in Databricks Account + * * <!--Start PulumiCodeChooser --> *
      * {@code
@@ -10058,7 +11738,7 @@ public static Output getMlflowModels(GetMlflowModelsArgs
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMlflowModelsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10072,29 +11752,16 @@ public static Output getMlflowModels(GetMlflowModelsArgs
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getMlflowModels();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("model", this_);
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static CompletableFuture getMlflowModelsPlain(GetMlflowModelsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getMlflowModels:getMlflowModels", TypeShape.of(GetMlflowModelsResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. - * - * Lists all databricks.MwsCredentials in Databricks Account. - * - * > **Note** `account_id` provider configuration property is required for this resource to work. - * - * ## Example Usage - * - * Listing all credentials in Databricks Account + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -10105,7 +11772,7 @@ public static CompletableFuture getMlflowModelsPlain(GetM
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10119,40 +11786,36 @@ public static CompletableFuture getMlflowModelsPlain(GetM
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * Provisioning Databricks on AWS guide. - * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. - * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). - * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. - * * 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). + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. * */ - public static Output getMwsCredentials() { - return getMwsCredentials(GetMwsCredentialsArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getMwsNetworkConnectivityConfigsPlain(GetMwsNetworkConnectivityConfigsPlainArgs args) { + return getMwsNetworkConnectivityConfigsPlain(args, InvokeOptions.Empty); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. - * - * Lists all databricks.MwsCredentials in Databricks Account. + * > **Note** This data source can only be used with an account-level provider! * - * > **Note** `account_id` provider configuration property is required for this resource to work. + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. * * ## Example Usage * - * Listing all credentials in Databricks Account + * List all network connectivity configurations in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -10163,7 +11826,7 @@ public static Output getMwsCredentials() {
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10177,40 +11840,16 @@ public static Output getMwsCredentials() {
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * Provisioning Databricks on AWS guide. - * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. - * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). - * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. - * * 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). - * - */ - public static CompletableFuture getMwsCredentialsPlain() { - return getMwsCredentialsPlain(GetMwsCredentialsPlainArgs.Empty, InvokeOptions.Empty); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. - * - * Lists all databricks.MwsCredentials in Databricks Account. - * - * > **Note** `account_id` provider configuration property is required for this resource to work. - * - * ## Example Usage - * - * Listing all credentials in Databricks Account + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -10221,7 +11860,7 @@ public static CompletableFuture getMwsCredentialsPlain(
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10235,9 +11874,11 @@ public static CompletableFuture getMwsCredentialsPlain(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
@@ -10248,27 +11889,21 @@ public static CompletableFuture getMwsCredentialsPlain(
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning Databricks on AWS guide.
-     * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
-     * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
-     * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
-     * * 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).
+     * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration.
+     * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.
      * 
      */
-    public static Output getMwsCredentials(GetMwsCredentialsArgs args) {
-        return getMwsCredentials(args, InvokeOptions.Empty);
+    public static Output getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", TypeShape.of(GetMwsNetworkConnectivityConfigsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
-     * 
-     * Lists all databricks.MwsCredentials in Databricks Account.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * > **Note** `account_id` provider configuration property is required for this resource to work.
+     * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account.
      * 
      * ## Example Usage
      * 
-     * Listing all credentials in Databricks Account
+     * List all network connectivity configurations in Databricks Account
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -10279,7 +11914,7 @@ public static Output getMwsCredentials(GetMwsCredential
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10293,40 +11928,16 @@ public static Output getMwsCredentials(GetMwsCredential
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * Provisioning Databricks on AWS guide. - * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. - * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). - * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. - * * 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). - * - */ - public static CompletableFuture getMwsCredentialsPlain(GetMwsCredentialsPlainArgs args) { - return getMwsCredentialsPlain(args, InvokeOptions.Empty); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. - * - * Lists all databricks.MwsCredentials in Databricks Account. - * - * > **Note** `account_id` provider configuration property is required for this resource to work. - * - * ## Example Usage - * - * Listing all credentials in Databricks Account + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -10337,7 +11948,7 @@ public static CompletableFuture getMwsCredentialsPlain(
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10351,9 +11962,11 @@ public static CompletableFuture getMwsCredentialsPlain(
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
@@ -10364,27 +11977,21 @@ public static CompletableFuture getMwsCredentialsPlain(
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning Databricks on AWS guide.
-     * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
-     * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
-     * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
-     * * 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).
+     * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration.
+     * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.
      * 
      */
-    public static Output getMwsCredentials(GetMwsCredentialsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getMwsCredentials:getMwsCredentials", TypeShape.of(GetMwsCredentialsResult.class), args, Utilities.withVersion(options));
+    public static Output getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", TypeShape.of(GetMwsNetworkConnectivityConfigsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
-     * 
-     * Lists all databricks.MwsCredentials in Databricks Account.
+     * > **Note** This data source can only be used with an account-level provider!
      * 
-     * > **Note** `account_id` provider configuration property is required for this resource to work.
+     * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account.
      * 
      * ## Example Usage
      * 
-     * Listing all credentials in Databricks Account
+     * List all network connectivity configurations in Databricks Account
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -10395,7 +12002,7 @@ public static Output getMwsCredentials(GetMwsCredential
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10409,40 +12016,16 @@ public static Output getMwsCredentials(GetMwsCredential
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs();
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("all", this_);
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * ## Related Resources - * - * The following resources are used in the same context: - * - * * Provisioning Databricks on AWS guide. - * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. - * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). - * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. - * * 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). - * - */ - public static Output getMwsCredentials(GetMwsCredentialsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getMwsCredentials:getMwsCredentials", TypeShape.of(GetMwsCredentialsResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. - * - * Lists all databricks.MwsCredentials in Databricks Account. - * - * > **Note** `account_id` provider configuration property is required for this resource to work. - * - * ## Example Usage - * - * Listing all credentials in Databricks Account + * List network connectivity configurations from a specific region in Databricks Account * * <!--Start PulumiCodeChooser --> *
@@ -10453,7 +12036,7 @@ public static Output getMwsCredentials(GetMwsCredential
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetMwsCredentialsArgs;
+     * import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -10467,9 +12050,11 @@ public static Output getMwsCredentials(GetMwsCredential
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getMwsCredentials();
+     *         final var this = DatabricksFunctions.getMwsNetworkConnectivityConfigs(GetMwsNetworkConnectivityConfigsArgs.builder()
+     *             .region("us-east-1")
+     *             .build());
      * 
-     *         ctx.export("allMwsCredentials", all.applyValue(getMwsCredentialsResult -> getMwsCredentialsResult.ids()));
+     *         ctx.export("filtered", this_);
      *     }
      * }
      * }
@@ -10480,16 +12065,12 @@ public static Output getMwsCredentials(GetMwsCredential
      * 
      * The following resources are used in the same context:
      * 
-     * * Provisioning Databricks on AWS guide.
-     * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
-     * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
-     * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
-     * * 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).
+     * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration.
+     * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.
      * 
      */
-    public static CompletableFuture getMwsCredentialsPlain(GetMwsCredentialsPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getMwsCredentials:getMwsCredentials", TypeShape.of(GetMwsCredentialsResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getMwsNetworkConnectivityConfigsPlain(GetMwsNetworkConnectivityConfigsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", TypeShape.of(GetMwsNetworkConnectivityConfigsResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
@@ -11811,26 +13392,139 @@ public static Output getNotebookPaths(GetNotebookPathsAr
      *         Pulumi.run(App::stack);
      *     }
      * 
-     *     public static void stack(Context ctx) {
-     *         final var prod = DatabricksFunctions.getNotebookPaths(GetNotebookPathsArgs.builder()
-     *             .path("/Production")
-     *             .recursive(true)
+     *     public static void stack(Context ctx) {
+     *         final var prod = DatabricksFunctions.getNotebookPaths(GetNotebookPathsArgs.builder()
+     *             .path("/Production")
+     *             .recursive(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getNotebookPaths(GetNotebookPathsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getNotebookPaths:getNotebookPaths", TypeShape.of(GetNotebookPathsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * + * This data source allows to list notebooks in the Databricks Workspace. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetNotebookPathsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var prod = DatabricksFunctions.getNotebookPaths(GetNotebookPathsArgs.builder()
+     *             .path("/Production")
+     *             .recursive(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getNotebookPathsPlain(GetNotebookPathsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getNotebookPaths:getNotebookPaths", TypeShape.of(GetNotebookPathsResult.class), args, Utilities.withVersion(options)); + } + /** + * 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. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.NotificationDestination;
+     * import com.pulumi.databricks.NotificationDestinationArgs;
+     * import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
+     * import com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs;
+     * import com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetNotificationDestinationsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App }{{@code
+     *     public static void main(String[] args) }{{@code
+     *         Pulumi.run(App::stack);
+     *     }}{@code
+     * 
+     *     public static void stack(Context ctx) }{{@code
+     *         var email = new NotificationDestination("email", NotificationDestinationArgs.builder()
+     *             .displayName("Email Destination")
+     *             .config(NotificationDestinationConfigArgs.builder()
+     *                 .email(NotificationDestinationConfigEmailArgs.builder()
+     *                     .addresses("abc}{@literal @}{@code gmail.com")
+     *                     .build())
+     *                 .build())
+     *             .build());
+     * 
+     *         var slack = new NotificationDestination("slack", NotificationDestinationArgs.builder()
+     *             .displayName("Slack Destination")
+     *             .config(NotificationDestinationConfigArgs.builder()
+     *                 .slack(NotificationDestinationConfigSlackArgs.builder()
+     *                     .url("https://hooks.slack.com/services/...")
+     *                     .build())
+     *                 .build())
+     *             .build());
+     * 
+     *         // Lists all notification desitnations
+     *         final var this = DatabricksFunctions.getNotificationDestinations();
+     * 
+     *         // List destinations of specific type and name
+     *         final var filteredNotification = DatabricksFunctions.getNotificationDestinations(GetNotificationDestinationsArgs.builder()
+     *             .displayNameContains("Destination")
+     *             .type("EMAIL")
      *             .build());
      * 
-     *     }
-     * }
+     *     }}{@code
+     * }}{@code
      * }
      * 
* <!--End PulumiCodeChooser --> * */ - public static Output getNotebookPaths(GetNotebookPathsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getNotebookPaths:getNotebookPaths", TypeShape.of(GetNotebookPathsResult.class), args, Utilities.withVersion(options)); + public static Output getNotificationDestinations() { + return getNotificationDestinations(GetNotificationDestinationsArgs.Empty, InvokeOptions.Empty); } /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. - * - * This data source allows to list notebooks in the Databricks Workspace. + * 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. * * ## Example Usage * @@ -11842,8 +13536,13 @@ public static Output getNotebookPaths(GetNotebookPathsAr * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; + * import com.pulumi.databricks.NotificationDestination; + * import com.pulumi.databricks.NotificationDestinationArgs; + * import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs; + * import com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs; + * import com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs; * import com.pulumi.databricks.DatabricksFunctions; - * import com.pulumi.databricks.inputs.GetNotebookPathsArgs; + * import com.pulumi.databricks.inputs.GetNotificationDestinationsArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -11851,26 +13550,48 @@ public static Output getNotebookPaths(GetNotebookPathsAr * import java.nio.file.Files; * import java.nio.file.Paths; * - * public class App { - * public static void main(String[] args) { + * public class App }{{@code + * public static void main(String[] args) }{{@code * Pulumi.run(App::stack); - * } + * }}{@code * - * public static void stack(Context ctx) { - * final var prod = DatabricksFunctions.getNotebookPaths(GetNotebookPathsArgs.builder() - * .path("/Production") - * .recursive(true) + * public static void stack(Context ctx) }{{@code + * var email = new NotificationDestination("email", NotificationDestinationArgs.builder() + * .displayName("Email Destination") + * .config(NotificationDestinationConfigArgs.builder() + * .email(NotificationDestinationConfigEmailArgs.builder() + * .addresses("abc}{@literal @}{@code gmail.com") + * .build()) + * .build()) * .build()); * - * } - * } + * var slack = new NotificationDestination("slack", NotificationDestinationArgs.builder() + * .displayName("Slack Destination") + * .config(NotificationDestinationConfigArgs.builder() + * .slack(NotificationDestinationConfigSlackArgs.builder() + * .url("https://hooks.slack.com/services/...") + * .build()) + * .build()) + * .build()); + * + * // Lists all notification desitnations + * final var this = DatabricksFunctions.getNotificationDestinations(); + * + * // List destinations of specific type and name + * final var filteredNotification = DatabricksFunctions.getNotificationDestinations(GetNotificationDestinationsArgs.builder() + * .displayNameContains("Destination") + * .type("EMAIL") + * .build()); + * + * }}{@code + * }}{@code * } *
* <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getNotebookPathsPlain(GetNotebookPathsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getNotebookPaths:getNotebookPaths", TypeShape.of(GetNotebookPathsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getNotificationDestinationsPlain() { + return getNotificationDestinationsPlain(GetNotificationDestinationsPlainArgs.Empty, InvokeOptions.Empty); } /** * 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. @@ -11939,8 +13660,8 @@ public static CompletableFuture getNotebookPathsPlain(Ge * <!--End PulumiCodeChooser --> * */ - public static Output getNotificationDestinations() { - return getNotificationDestinations(GetNotificationDestinationsArgs.Empty, InvokeOptions.Empty); + public static Output getNotificationDestinations(GetNotificationDestinationsArgs args) { + return getNotificationDestinations(args, InvokeOptions.Empty); } /** * 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. @@ -12009,8 +13730,8 @@ public static Output getNotificationDestinati * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getNotificationDestinationsPlain() { - return getNotificationDestinationsPlain(GetNotificationDestinationsPlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getNotificationDestinationsPlain(GetNotificationDestinationsPlainArgs args) { + return getNotificationDestinationsPlain(args, InvokeOptions.Empty); } /** * 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. @@ -12079,8 +13800,8 @@ public static CompletableFuture getNotificati * <!--End PulumiCodeChooser --> * */ - public static Output getNotificationDestinations(GetNotificationDestinationsArgs args) { - return getNotificationDestinations(args, InvokeOptions.Empty); + public static Output getNotificationDestinations(GetNotificationDestinationsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getNotificationDestinations:getNotificationDestinations", TypeShape.of(GetNotificationDestinationsResult.class), args, Utilities.withVersion(options)); } /** * 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. @@ -12149,8 +13870,8 @@ public static Output getNotificationDestinati * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getNotificationDestinationsPlain(GetNotificationDestinationsPlainArgs args) { - return getNotificationDestinationsPlain(args, InvokeOptions.Empty); + public static Output getNotificationDestinations(GetNotificationDestinationsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getNotificationDestinations:getNotificationDestinations", TypeShape.of(GetNotificationDestinationsResult.class), args, Utilities.withVersion(options)); } /** * 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. @@ -12203,29 +13924,194 @@ public static CompletableFuture getNotificati * .build()) * .build()); * - * // Lists all notification desitnations - * final var this = DatabricksFunctions.getNotificationDestinations(); + * // Lists all notification desitnations + * final var this = DatabricksFunctions.getNotificationDestinations(); + * + * // List destinations of specific type and name + * final var filteredNotification = DatabricksFunctions.getNotificationDestinations(GetNotificationDestinationsArgs.builder() + * .displayNameContains("Destination") + * .type("EMAIL") + * .build()); + * + * }}{@code + * }}{@code + * } + *
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getNotificationDestinationsPlain(GetNotificationDestinationsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getNotificationDestinations:getNotificationDestinations", TypeShape.of(GetNotificationDestinationsResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * + * Retrieves a list of all databricks.Pipeline ([Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html)) ids deployed in a workspace, or those matching the provided search term. Maximum 100 results. + * + * ## Example Usage + * + * Get all Delta Live Tables pipelines: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getPipelines();
+     * 
+     *         ctx.export("allPipelines", all.applyValue(getPipelinesResult -> getPipelinesResult.ids()));
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * Filter Delta Live Tables pipelines by name (exact match): + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
+     *             .pipelineName("my_pipeline")
+     *             .build());
+     * 
+     *         ctx.export("myPipeline", this_.ids());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * Filter Delta Live Tables pipelines by name (wildcard search): + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
+     *             .pipelineName("%pipeline%")
+     *             .build());
+     * 
+     *         ctx.export("wildcardPipelines", this_.ids());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * 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). + * + */ + public static Output getPipelines() { + return getPipelines(GetPipelinesArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. + * + * Retrieves a list of all databricks.Pipeline ([Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html)) ids deployed in a workspace, or those matching the provided search term. Maximum 100 results. + * + * ## Example Usage + * + * Get all Delta Live Tables pipelines: + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     *         // List destinations of specific type and name
-     *         final var filteredNotification = DatabricksFunctions.getNotificationDestinations(GetNotificationDestinationsArgs.builder()
-     *             .displayNameContains("Destination")
-     *             .type("EMAIL")
-     *             .build());
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getPipelines();
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("allPipelines", all.applyValue(getPipelinesResult -> getPipelinesResult.ids()));
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getNotificationDestinations(GetNotificationDestinationsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("databricks:index/getNotificationDestinations:getNotificationDestinations", TypeShape.of(GetNotificationDestinationsResult.class), args, Utilities.withVersion(options)); - } - /** - * 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. - * - * ## Example Usage + * Filter Delta Live Tables pipelines by name (exact match): * * <!--Start PulumiCodeChooser --> *
@@ -12235,13 +14121,8 @@ public static Output getNotificationDestinati
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.NotificationDestination;
-     * import com.pulumi.databricks.NotificationDestinationArgs;
-     * import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
-     * import com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs;
-     * import com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetNotificationDestinationsArgs;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -12249,53 +14130,24 @@ public static Output getNotificationDestinati
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
+     * public class App {
+     *     public static void main(String[] args) {
      *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         var email = new NotificationDestination("email", NotificationDestinationArgs.builder()
-     *             .displayName("Email Destination")
-     *             .config(NotificationDestinationConfigArgs.builder()
-     *                 .email(NotificationDestinationConfigEmailArgs.builder()
-     *                     .addresses("abc}{@literal @}{@code gmail.com")
-     *                     .build())
-     *                 .build())
-     *             .build());
-     * 
-     *         var slack = new NotificationDestination("slack", NotificationDestinationArgs.builder()
-     *             .displayName("Slack Destination")
-     *             .config(NotificationDestinationConfigArgs.builder()
-     *                 .slack(NotificationDestinationConfigSlackArgs.builder()
-     *                     .url("https://hooks.slack.com/services/...")
-     *                     .build())
-     *                 .build())
-     *             .build());
-     * 
-     *         // Lists all notification desitnations
-     *         final var this = DatabricksFunctions.getNotificationDestinations();
+     *     }
      * 
-     *         // List destinations of specific type and name
-     *         final var filteredNotification = DatabricksFunctions.getNotificationDestinations(GetNotificationDestinationsArgs.builder()
-     *             .displayNameContains("Destination")
-     *             .type("EMAIL")
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
+     *             .pipelineName("my_pipeline")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("myPipeline", this_.ids());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - */ - public static Output getNotificationDestinations(GetNotificationDestinationsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getNotificationDestinations:getNotificationDestinations", TypeShape.of(GetNotificationDestinationsResult.class), args, Utilities.withVersion(options)); - } - /** - * 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. - * - * ## Example Usage + * Filter Delta Live Tables pipelines by name (wildcard search): * * <!--Start PulumiCodeChooser --> *
@@ -12305,13 +14157,8 @@ public static Output getNotificationDestinati
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
-     * import com.pulumi.databricks.NotificationDestination;
-     * import com.pulumi.databricks.NotificationDestinationArgs;
-     * import com.pulumi.databricks.inputs.NotificationDestinationConfigArgs;
-     * import com.pulumi.databricks.inputs.NotificationDestinationConfigEmailArgs;
-     * import com.pulumi.databricks.inputs.NotificationDestinationConfigSlackArgs;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetNotificationDestinationsArgs;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -12319,48 +14166,36 @@ public static Output getNotificationDestinati
      * import java.nio.file.Files;
      * import java.nio.file.Paths;
      * 
-     * public class App }{{@code
-     *     public static void main(String[] args) }{{@code
+     * public class App {
+     *     public static void main(String[] args) {
      *         Pulumi.run(App::stack);
-     *     }}{@code
-     * 
-     *     public static void stack(Context ctx) }{{@code
-     *         var email = new NotificationDestination("email", NotificationDestinationArgs.builder()
-     *             .displayName("Email Destination")
-     *             .config(NotificationDestinationConfigArgs.builder()
-     *                 .email(NotificationDestinationConfigEmailArgs.builder()
-     *                     .addresses("abc}{@literal @}{@code gmail.com")
-     *                     .build())
-     *                 .build())
-     *             .build());
-     * 
-     *         var slack = new NotificationDestination("slack", NotificationDestinationArgs.builder()
-     *             .displayName("Slack Destination")
-     *             .config(NotificationDestinationConfigArgs.builder()
-     *                 .slack(NotificationDestinationConfigSlackArgs.builder()
-     *                     .url("https://hooks.slack.com/services/...")
-     *                     .build())
-     *                 .build())
-     *             .build());
-     * 
-     *         // Lists all notification desitnations
-     *         final var this = DatabricksFunctions.getNotificationDestinations();
+     *     }
      * 
-     *         // List destinations of specific type and name
-     *         final var filteredNotification = DatabricksFunctions.getNotificationDestinations(GetNotificationDestinationsArgs.builder()
-     *             .displayNameContains("Destination")
-     *             .type("EMAIL")
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
+     *             .pipelineName("%pipeline%")
      *             .build());
      * 
-     *     }}{@code
-     * }}{@code
+     *         ctx.export("wildcardPipelines", this_.ids());
+     *     }
+     * }
      * }
      * 
* <!--End PulumiCodeChooser --> * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * 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). + * */ - public static CompletableFuture getNotificationDestinationsPlain(GetNotificationDestinationsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getNotificationDestinations:getNotificationDestinations", TypeShape.of(GetNotificationDestinationsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getPipelinesPlain() { + return getPipelinesPlain(GetPipelinesPlainArgs.Empty, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. @@ -12486,8 +14321,8 @@ public static CompletableFuture getNotificati * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * */ - public static Output getPipelines() { - return getPipelines(GetPipelinesArgs.Empty, InvokeOptions.Empty); + public static Output getPipelines(GetPipelinesArgs args) { + return getPipelines(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. @@ -12613,8 +14448,8 @@ public static Output getPipelines() { * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * */ - public static CompletableFuture getPipelinesPlain() { - return getPipelinesPlain(GetPipelinesPlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getPipelinesPlain(GetPipelinesPlainArgs args) { + return getPipelinesPlain(args, InvokeOptions.Empty); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. @@ -12740,8 +14575,8 @@ public static CompletableFuture getPipelinesPlain() { * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * */ - public static Output getPipelines(GetPipelinesArgs args) { - return getPipelines(args, InvokeOptions.Empty); + public static Output getPipelines(GetPipelinesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. @@ -12867,8 +14702,8 @@ public static Output getPipelines(GetPipelinesArgs args) { * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * */ - public static CompletableFuture getPipelinesPlain(GetPipelinesPlainArgs args) { - return getPipelinesPlain(args, InvokeOptions.Empty); + public static Output getPipelines(GetPipelinesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options)); } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. @@ -12947,7 +14782,114 @@ public static CompletableFuture getPipelinesPlain(GetPipelin *
* <!--End PulumiCodeChooser --> * - * Filter Delta Live Tables pipelines by name (wildcard search): + * Filter Delta Live Tables pipelines by name (wildcard search): + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
+     *             .pipelineName("%pipeline%")
+     *             .build());
+     * 
+     *         ctx.export("wildcardPipelines", this_.ids());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * End to end workspace management guide. + * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). + * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html). + * * 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). + * + */ + public static CompletableFuture getPipelinesPlain(GetPipelinesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options)); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *             .fullName("main.default.my_model")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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. + * + */ + public static Output getRegisteredModel(GetRegisteredModelArgs args) { + return getRegisteredModel(args, InvokeOptions.Empty); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -12958,7 +14900,7 @@ public static CompletableFuture getPipelinesPlain(GetPipelin
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -12972,11 +14914,10 @@ public static CompletableFuture getPipelinesPlain(GetPipelin
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
-     *             .pipelineName("%pipeline%")
+     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *             .fullName("main.default.my_model")
      *             .build());
      * 
-     *         ctx.export("wildcardPipelines", this_.ids());
      *     }
      * }
      * }
@@ -12985,27 +14926,23 @@ public static CompletableFuture getPipelinesPlain(GetPipelin
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * 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).
+     * * databricks.RegisteredModel resource to manage models within Unity Catalog.
+     * * 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.
      * 
      */
-    public static Output getPipelines(GetPipelinesArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getRegisteredModelPlain(GetRegisteredModelPlainArgs args) {
+        return getRegisteredModelPlain(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves a list of all databricks.Pipeline ([Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html)) ids deployed in a workspace, or those matching the provided search term. Maximum 100 results.
+     * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
      * 
      * ## Example Usage
      * 
-     * Get all Delta Live Tables pipelines:
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -13015,7 +14952,7 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13029,16 +14966,34 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getPipelines();
+     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *             .fullName("main.default.my_model")
+     *             .build());
      * 
-     *         ctx.export("allPipelines", all.applyValue(getPipelinesResult -> getPipelinesResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Filter Delta Live Tables pipelines by name (exact match): + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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. + * + */ + public static Output getRegisteredModel(GetRegisteredModelArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("databricks:index/getRegisteredModel:getRegisteredModel", TypeShape.of(GetRegisteredModelResult.class), args, Utilities.withVersion(options)); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -13049,7 +15004,7 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13063,18 +15018,34 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
-     *             .pipelineName("my_pipeline")
+     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *             .fullName("main.default.my_model")
      *             .build());
      * 
-     *         ctx.export("myPipeline", this_.ids());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Filter Delta Live Tables pipelines by name (wildcard search): + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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. + * + */ + public static Output getRegisteredModel(GetRegisteredModelArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("databricks:index/getRegisteredModel:getRegisteredModel", TypeShape.of(GetRegisteredModelResult.class), args, Utilities.withVersion(options)); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -13085,7 +15056,7 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13099,11 +15070,10 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
-     *             .pipelineName("%pipeline%")
+     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *             .fullName("main.default.my_model")
      *             .build());
      * 
-     *         ctx.export("wildcardPipelines", this_.ids());
      *     }
      * }
      * }
@@ -13112,27 +15082,23 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * 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).
+     * * databricks.RegisteredModel resource to manage models within Unity Catalog.
+     * * 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.
      * 
      */
-    public static Output getPipelines(GetPipelinesArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getRegisteredModelPlain(GetRegisteredModelPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getRegisteredModel:getRegisteredModel", TypeShape.of(GetRegisteredModelResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves a list of all databricks.Pipeline ([Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html)) ids deployed in a workspace, or those matching the provided search term. Maximum 100 results.
+     * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html).
      * 
      * ## Example Usage
      * 
-     * Get all Delta Live Tables pipelines:
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -13142,7 +15108,7 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13156,16 +15122,35 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var all = DatabricksFunctions.getPipelines();
+     *         final var this = DatabricksFunctions.getRegisteredModelVersions(GetRegisteredModelVersionsArgs.builder()
+     *             .fullName("main.default.my_model")
+     *             .build());
      * 
-     *         ctx.export("allPipelines", all.applyValue(getPipelinesResult -> getPipelinesResult.ids()));
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Filter Delta Live Tables pipelines by name (exact match): + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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. + * + */ + public static Output getRegisteredModelVersions(GetRegisteredModelVersionsArgs args) { + return getRegisteredModelVersions(args, InvokeOptions.Empty); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -13176,7 +15161,7 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13190,18 +15175,35 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
-     *             .pipelineName("my_pipeline")
+     *         final var this = DatabricksFunctions.getRegisteredModelVersions(GetRegisteredModelVersionsArgs.builder()
+     *             .fullName("main.default.my_model")
      *             .build());
      * 
-     *         ctx.export("myPipeline", this_.ids());
      *     }
      * }
      * }
      * 
* <!--End PulumiCodeChooser --> * - * Filter Delta Live Tables pipelines by name (wildcard search): + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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. + * + */ + public static CompletableFuture getRegisteredModelVersionsPlain(GetRegisteredModelVersionsPlainArgs args) { + return getRegisteredModelVersionsPlain(args, InvokeOptions.Empty); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + * + * ## Example Usage * * <!--Start PulumiCodeChooser --> *
@@ -13212,7 +15214,7 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetPipelinesArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13226,11 +15228,10 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getPipelines(GetPipelinesArgs.builder()
-     *             .pipelineName("%pipeline%")
+     *         final var this = DatabricksFunctions.getRegisteredModelVersions(GetRegisteredModelVersionsArgs.builder()
+     *             .fullName("main.default.my_model")
      *             .build());
      * 
-     *         ctx.export("wildcardPipelines", this_.ids());
      *     }
      * }
      * }
@@ -13239,22 +15240,21 @@ public static Output getPipelines(GetPipelinesArgs args, Inv
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * * End to end workspace management guide.
-     * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
-     * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
-     * * 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).
+     * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog.
+     * * databricks.RegisteredModel resource to manage models within Unity Catalog.
+     * * 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.
      * 
      */
-    public static CompletableFuture getPipelinesPlain(GetPipelinesPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options));
+    public static Output getRegisteredModelVersions(GetRegisteredModelVersionsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", TypeShape.of(GetRegisteredModelVersionsResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > This resource can only be used with a workspace-level provider!
      * 
-     * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
+     * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html).
      * 
      * ## Example Usage
      * 
@@ -13267,7 +15267,7 @@ public static CompletableFuture getPipelinesPlain(GetPipelin
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13281,7 +15281,7 @@ public static CompletableFuture getPipelinesPlain(GetPipelin
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *         final var this = DatabricksFunctions.getRegisteredModelVersions(GetRegisteredModelVersionsArgs.builder()
      *             .fullName("main.default.my_model")
      *             .build());
      * 
@@ -13295,18 +15295,19 @@ public static CompletableFuture getPipelinesPlain(GetPipelin
      * 
      * The following resources are often used in the same context:
      * 
+     * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog.
      * * databricks.RegisteredModel resource to manage models within Unity Catalog.
      * * 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.
      * 
      */
-    public static Output getRegisteredModel(GetRegisteredModelArgs args) {
-        return getRegisteredModel(args, InvokeOptions.Empty);
+    public static Output getRegisteredModelVersions(GetRegisteredModelVersionsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", TypeShape.of(GetRegisteredModelVersionsResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > This resource can only be used with a workspace-level provider!
      * 
-     * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
+     * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html).
      * 
      * ## Example Usage
      * 
@@ -13319,7 +15320,7 @@ public static Output getRegisteredModel(GetRegisteredM
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
+     * import com.pulumi.databricks.inputs.GetRegisteredModelVersionsArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13333,7 +15334,7 @@ public static Output getRegisteredModel(GetRegisteredM
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
+     *         final var this = DatabricksFunctions.getRegisteredModelVersions(GetRegisteredModelVersionsArgs.builder()
      *             .fullName("main.default.my_model")
      *             .build());
      * 
@@ -13347,21 +15348,28 @@ public static Output getRegisteredModel(GetRegisteredM
      * 
      * The following resources are often used in the same context:
      * 
+     * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog.
      * * databricks.RegisteredModel resource to manage models within Unity Catalog.
      * * 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.
      * 
      */
-    public static CompletableFuture getRegisteredModelPlain(GetRegisteredModelPlainArgs args) {
-        return getRegisteredModelPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getRegisteredModelVersionsPlain(GetRegisteredModelVersionsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", TypeShape.of(GetRegisteredModelVersionsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > This resource can only be used with a workspace-level provider!
-     * 
-     * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
+     * Retrieves details about databricks.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 databricks.getSchemas data source.
      * 
      * ## Example Usage
      * 
+     * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * <!--End PulumiCodeChooser -->
+     * 
+     * * Search for a specific schema by its fully qualified name:
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -13371,7 +15379,7 @@ public static CompletableFuture getRegisteredModelPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
+     * import com.pulumi.databricks.inputs.GetSchemaArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13385,8 +15393,8 @@ public static CompletableFuture getRegisteredModelPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
-     *             .fullName("main.default.my_model")
+     *         final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
+     *             .name("catalog.schema")
      *             .build());
      * 
      *     }
@@ -13397,23 +15405,28 @@ public static CompletableFuture getRegisteredModelPlai
      * 
      * ## Related Resources
      * 
-     * The following resources are often used in the same context:
+     * The following resources are used in the same context:
      * 
-     * * databricks.RegisteredModel resource to manage models within Unity Catalog.
-     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
-     * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
+     * * databricks.Schema to manage schemas within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getRegisteredModel(GetRegisteredModelArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getRegisteredModel:getRegisteredModel", TypeShape.of(GetRegisteredModelResult.class), args, Utilities.withVersion(options));
+    public static Output getSchema(GetSchemaArgs args) {
+        return getSchema(args, InvokeOptions.Empty);
     }
     /**
-     * > This resource can only be used with a workspace-level provider!
-     * 
-     * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
+     * Retrieves details about databricks.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 databricks.getSchemas data source.
      * 
      * ## Example Usage
      * 
+     * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * <!--End PulumiCodeChooser -->
+     * 
+     * * Search for a specific schema by its fully qualified name:
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -13423,7 +15436,7 @@ public static Output getRegisteredModel(GetRegisteredM
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
+     * import com.pulumi.databricks.inputs.GetSchemaArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13437,8 +15450,8 @@ public static Output getRegisteredModel(GetRegisteredM
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
-     *             .fullName("main.default.my_model")
+     *         final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
+     *             .name("catalog.schema")
      *             .build());
      * 
      *     }
@@ -13449,23 +15462,28 @@ public static Output getRegisteredModel(GetRegisteredM
      * 
      * ## Related Resources
      * 
-     * The following resources are often used in the same context:
+     * The following resources are used in the same context:
      * 
-     * * databricks.RegisteredModel resource to manage models within Unity Catalog.
-     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
-     * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
+     * * databricks.Schema to manage schemas within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getRegisteredModel(GetRegisteredModelArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getRegisteredModel:getRegisteredModel", TypeShape.of(GetRegisteredModelResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getSchemaPlain(GetSchemaPlainArgs args) {
+        return getSchemaPlain(args, InvokeOptions.Empty);
     }
     /**
-     * > This resource can only be used with a workspace-level provider!
-     * 
-     * This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
+     * Retrieves details about databricks.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 databricks.getSchemas data source.
      * 
      * ## Example Usage
      * 
+     * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * <!--End PulumiCodeChooser -->
+     * 
+     * * Search for a specific schema by its fully qualified name:
+     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -13475,7 +15493,7 @@ public static Output getRegisteredModel(GetRegisteredM
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetRegisteredModelArgs;
+     * import com.pulumi.databricks.inputs.GetSchemaArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13489,8 +15507,8 @@ public static Output getRegisteredModel(GetRegisteredM
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getRegisteredModel(GetRegisteredModelArgs.builder()
-     *             .fullName("main.default.my_model")
+     *         final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
+     *             .name("catalog.schema")
      *             .build());
      * 
      *     }
@@ -13501,15 +15519,14 @@ public static Output getRegisteredModel(GetRegisteredM
      * 
      * ## Related Resources
      * 
-     * The following resources are often used in the same context:
+     * The following resources are used in the same context:
      * 
-     * * databricks.RegisteredModel resource to manage models within Unity Catalog.
-     * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
-     * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
+     * * databricks.Schema to manage schemas within Unity Catalog.
+     * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getRegisteredModelPlain(GetRegisteredModelPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getRegisteredModel:getRegisteredModel", TypeShape.of(GetRegisteredModelResult.class), args, Utilities.withVersion(options));
+    public static Output getSchema(GetSchemaArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Retrieves details about databricks.Schema that was created by Pulumi or manually.
@@ -13565,8 +15582,8 @@ public static CompletableFuture getRegisteredModelPlai
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getSchema(GetSchemaArgs args) {
-        return getSchema(args, InvokeOptions.Empty);
+    public static Output getSchema(GetSchemaArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options));
     }
     /**
      * Retrieves details about databricks.Schema that was created by Pulumi or manually.
@@ -13622,21 +15639,19 @@ public static Output getSchema(GetSchemaArgs args) {
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getSchemaPlain(GetSchemaPlainArgs args) {
-        return getSchemaPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getSchemaPlain(GetSchemaPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * Retrieves details about databricks.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 databricks.getSchemas data source.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * ## Example Usage
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
      * 
-     * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
+     * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
      * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
+     * ## Example Usage
      * 
-     * * Search for a specific schema by its fully qualified name:
+     * Listing all schemas in a _sandbox_ databricks_catalog:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -13647,7 +15662,7 @@ public static CompletableFuture getSchemaPlain(GetSchemaPlainAr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetSchemaArgs;
+     * import com.pulumi.databricks.inputs.GetSchemasArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13661,10 +15676,11 @@ public static CompletableFuture getSchemaPlain(GetSchemaPlainAr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
-     *             .name("catalog.schema")
+     *         final var sandbox = DatabricksFunctions.getSchemas(GetSchemasArgs.builder()
+     *             .catalogName("sandbox")
      *             .build());
      * 
+     *         ctx.export("allSandboxSchemas", sandbox.applyValue(getSchemasResult -> getSchemasResult));
      *     }
      * }
      * }
@@ -13679,21 +15695,19 @@ public static CompletableFuture getSchemaPlain(GetSchemaPlainAr
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getSchema(GetSchemaArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options));
+    public static Output getSchemas(GetSchemasArgs args) {
+        return getSchemas(args, InvokeOptions.Empty);
     }
     /**
-     * Retrieves details about databricks.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 databricks.getSchemas data source.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * ## Example Usage
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
      * 
-     * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
+     * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
      * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
+     * ## Example Usage
      * 
-     * * Search for a specific schema by its fully qualified name:
+     * Listing all schemas in a _sandbox_ databricks_catalog:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -13704,7 +15718,7 @@ public static Output getSchema(GetSchemaArgs args, InvokeOption
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetSchemaArgs;
+     * import com.pulumi.databricks.inputs.GetSchemasArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13718,10 +15732,11 @@ public static Output getSchema(GetSchemaArgs args, InvokeOption
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
-     *             .name("catalog.schema")
+     *         final var sandbox = DatabricksFunctions.getSchemas(GetSchemasArgs.builder()
+     *             .catalogName("sandbox")
      *             .build());
      * 
+     *         ctx.export("allSandboxSchemas", sandbox.applyValue(getSchemasResult -> getSchemasResult));
      *     }
      * }
      * }
@@ -13736,21 +15751,19 @@ public static Output getSchema(GetSchemaArgs args, InvokeOption
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getSchema(GetSchemaArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getSchemasPlain(GetSchemasPlainArgs args) {
+        return getSchemasPlain(args, InvokeOptions.Empty);
     }
     /**
-     * Retrieves details about databricks.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 databricks.getSchemas data source.
+     * > **Note** This data source can only be used with a workspace-level provider!
      * 
-     * ## Example Usage
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
      * 
-     * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
+     * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
      * 
-     * <!--Start PulumiCodeChooser -->
-     * <!--End PulumiCodeChooser -->
+     * ## Example Usage
      * 
-     * * Search for a specific schema by its fully qualified name:
+     * Listing all schemas in a _sandbox_ databricks_catalog:
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -13761,7 +15774,7 @@ public static Output getSchema(GetSchemaArgs args, InvokeOutput
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetSchemaArgs;
+     * import com.pulumi.databricks.inputs.GetSchemasArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13775,10 +15788,11 @@ public static Output getSchema(GetSchemaArgs args, InvokeOutput
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
-     *             .name("catalog.schema")
+     *         final var sandbox = DatabricksFunctions.getSchemas(GetSchemasArgs.builder()
+     *             .catalogName("sandbox")
      *             .build());
      * 
+     *         ctx.export("allSandboxSchemas", sandbox.applyValue(getSchemasResult -> getSchemasResult));
      *     }
      * }
      * }
@@ -13793,8 +15807,8 @@ public static Output getSchema(GetSchemaArgs args, InvokeOutput
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getSchemaPlain(GetSchemaPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getSchema:getSchema", TypeShape.of(GetSchemaResult.class), args, Utilities.withVersion(options));
+    public static Output getSchemas(GetSchemasArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getSchemas:getSchemas", TypeShape.of(GetSchemasResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** This data source can only be used with a workspace-level provider!
@@ -13849,8 +15863,8 @@ public static CompletableFuture getSchemaPlain(GetSchemaPlainAr
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static Output getSchemas(GetSchemasArgs args) {
-        return getSchemas(args, InvokeOptions.Empty);
+    public static Output getSchemas(GetSchemasArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getSchemas:getSchemas", TypeShape.of(GetSchemasResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** This data source can only be used with a workspace-level provider!
@@ -13905,19 +15919,88 @@ public static Output getSchemas(GetSchemasArgs args) {
      * * databricks.Catalog to manage catalogs within Unity Catalog.
      * 
      */
-    public static CompletableFuture getSchemasPlain(GetSchemasPlainArgs args) {
-        return getSchemasPlain(args, InvokeOptions.Empty);
+    public static CompletableFuture getSchemasPlain(GetSchemasPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getSchemas:getSchemas", TypeShape.of(GetSchemasResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** This data source can only be used with a workspace-level provider!
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_service_principal.
+     * 
+     * ## Example Usage
+     * 
+     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
+     * 
+     * <!--Start PulumiCodeChooser -->
+     * 
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
+     *             .build());
+     * 
+     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
+     *             .applicationId("11111111-2222-3333-4444-555666777888")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * - End to end workspace management guide. + * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API. + * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments). + * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles. + * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group. + * - databricks.GroupMember to attach users and groups as group members. + * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. + * - databricks_service principal to manage service principals * + */ + public static Output getServicePrincipal() { + return getServicePrincipal(GetServicePrincipalArgs.Empty, InvokeOptions.Empty); + } + /** * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied. + * Retrieves information about databricks_service_principal. * * ## Example Usage * - * Listing all schemas in a _sandbox_ databricks_catalog: + * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group * * <!--Start PulumiCodeChooser --> *
@@ -13928,7 +16011,81 @@ public static CompletableFuture getSchemasPlain(GetSchemasPlai
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetSchemasArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
+     *             .build());
+     * 
+     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
+     *             .applicationId("11111111-2222-3333-4444-555666777888")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * - End to end workspace management guide. + * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API. + * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments). + * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles. + * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group. + * - databricks.GroupMember to attach users and groups as group members. + * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. + * - databricks_service principal to manage service principals + * + */ + public static CompletableFuture getServicePrincipalPlain() { + return getServicePrincipalPlain(GetServicePrincipalPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_service_principal. + * + * ## Example Usage + * + * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13942,11 +16099,19 @@ public static CompletableFuture getSchemasPlain(GetSchemasPlai
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var sandbox = DatabricksFunctions.getSchemas(GetSchemasArgs.builder()
-     *             .catalogName("sandbox")
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
+     *             .build());
+     * 
+     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
+     *             .applicationId("11111111-2222-3333-4444-555666777888")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
      *             .build());
      * 
-     *         ctx.export("allSandboxSchemas", sandbox.applyValue(getSchemasResult -> getSchemasResult));
      *     }
      * }
      * }
@@ -13957,23 +16122,27 @@ public static CompletableFuture getSchemasPlain(GetSchemasPlai
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Schema to manage schemas within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
+     * - End to end workspace management guide.
+     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
+     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
+     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
+     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
+     * - databricks.GroupMember to attach users and groups as group members.
+     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
+     * - databricks_service principal to manage service principals
      * 
      */
-    public static Output getSchemas(GetSchemasArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getSchemas:getSchemas", TypeShape.of(GetSchemasResult.class), args, Utilities.withVersion(options));
+    public static Output getServicePrincipal(GetServicePrincipalArgs args) {
+        return getServicePrincipal(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** This data source can only be used with a workspace-level provider!
-     * 
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves information about databricks_service_principal.
      * 
      * ## Example Usage
      * 
-     * Listing all schemas in a _sandbox_ databricks_catalog:
+     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -13984,7 +16153,10 @@ public static Output getSchemas(GetSchemasArgs args, InvokeOpt
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetSchemasArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -13998,11 +16170,19 @@ public static Output getSchemas(GetSchemasArgs args, InvokeOpt
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var sandbox = DatabricksFunctions.getSchemas(GetSchemasArgs.builder()
-     *             .catalogName("sandbox")
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
+     *             .build());
+     * 
+     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
+     *             .applicationId("11111111-2222-3333-4444-555666777888")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
      *             .build());
      * 
-     *         ctx.export("allSandboxSchemas", sandbox.applyValue(getSchemasResult -> getSchemasResult));
      *     }
      * }
      * }
@@ -14013,23 +16193,27 @@ public static Output getSchemas(GetSchemasArgs args, InvokeOpt
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Schema to manage schemas within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
+     * - End to end workspace management guide.
+     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
+     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
+     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
+     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
+     * - databricks.GroupMember to attach users and groups as group members.
+     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
+     * - databricks_service principal to manage service principals
      * 
      */
-    public static Output getSchemas(GetSchemasArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getSchemas:getSchemas", TypeShape.of(GetSchemasResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getServicePrincipalPlain(GetServicePrincipalPlainArgs args) {
+        return getServicePrincipalPlain(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** This data source can only be used with a workspace-level provider!
-     * 
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
+     * Retrieves information about databricks_service_principal.
      * 
      * ## Example Usage
      * 
-     * Listing all schemas in a _sandbox_ databricks_catalog:
+     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -14040,7 +16224,10 @@ public static Output getSchemas(GetSchemasArgs args, InvokeOut
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetSchemasArgs;
+     * import com.pulumi.databricks.inputs.GetGroupArgs;
+     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
+     * import com.pulumi.databricks.GroupMember;
+     * import com.pulumi.databricks.GroupMemberArgs;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -14054,11 +16241,19 @@ public static Output getSchemas(GetSchemasArgs args, InvokeOut
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var sandbox = DatabricksFunctions.getSchemas(GetSchemasArgs.builder()
-     *             .catalogName("sandbox")
+     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
+     *             .displayName("admins")
+     *             .build());
+     * 
+     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
+     *             .applicationId("11111111-2222-3333-4444-555666777888")
+     *             .build());
+     * 
+     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
+     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
+     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
      *             .build());
      * 
-     *         ctx.export("allSandboxSchemas", sandbox.applyValue(getSchemasResult -> getSchemasResult));
      *     }
      * }
      * }
@@ -14069,12 +16264,18 @@ public static Output getSchemas(GetSchemasArgs args, InvokeOut
      * 
      * The following resources are used in the same context:
      * 
-     * * databricks.Schema to manage schemas within Unity Catalog.
-     * * databricks.Catalog to manage catalogs within Unity Catalog.
+     * - End to end workspace management guide.
+     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
+     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
+     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
+     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
+     * - databricks.GroupMember to attach users and groups as group members.
+     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
+     * - databricks_service principal to manage service principals
      * 
      */
-    public static CompletableFuture getSchemasPlain(GetSchemasPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getSchemas:getSchemas", TypeShape.of(GetSchemasResult.class), args, Utilities.withVersion(options));
+    public static Output getServicePrincipal(GetServicePrincipalArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getServicePrincipal:getServicePrincipal", TypeShape.of(GetServicePrincipalResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
@@ -14144,8 +16345,8 @@ public static CompletableFuture getSchemasPlain(GetSchemasPlai
      * - databricks_service principal to manage service principals
      * 
      */
-    public static Output getServicePrincipal() {
-        return getServicePrincipal(GetServicePrincipalArgs.Empty, InvokeOptions.Empty);
+    public static Output getServicePrincipal(GetServicePrincipalArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getServicePrincipal:getServicePrincipal", TypeShape.of(GetServicePrincipalResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
@@ -14215,17 +16416,78 @@ public static Output getServicePrincipal() {
      * - databricks_service principal to manage service principals
      * 
      */
-    public static CompletableFuture getServicePrincipalPlain() {
-        return getServicePrincipalPlain(GetServicePrincipalPlainArgs.Empty, InvokeOptions.Empty);
+    public static CompletableFuture getServicePrincipalPlain(GetServicePrincipalPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getServicePrincipal:getServicePrincipal", TypeShape.of(GetServicePrincipalResult.class), args, Utilities.withVersion(options));
     }
     /**
      * > **Note** If you have a fully automated setup with workspaces created by databricks.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 databricks_service_principal.
+     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
      * 
-     * ## Example Usage
+     */
+    public static Output getServicePrincipals() {
+        return getServicePrincipals(GetServicePrincipalsArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
      * 
-     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
+     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * 
+     */
+    public static CompletableFuture getServicePrincipalsPlain() {
+        return getServicePrincipalsPlain(GetServicePrincipalsPlainArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * 
+     */
+    public static Output getServicePrincipals(GetServicePrincipalsArgs args) {
+        return getServicePrincipals(args, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * 
+     */
+    public static CompletableFuture getServicePrincipalsPlain(GetServicePrincipalsPlainArgs args) {
+        return getServicePrincipalsPlain(args, InvokeOptions.Empty);
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * 
+     */
+    public static Output getServicePrincipals(GetServicePrincipalsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getServicePrincipals:getServicePrincipals", TypeShape.of(GetServicePrincipalsResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * 
+     */
+    public static Output getServicePrincipals(GetServicePrincipalsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getServicePrincipals:getServicePrincipals", TypeShape.of(GetServicePrincipalsResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * > **Note** If you have a fully automated setup with workspaces created by databricks.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 `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * 
+     */
+    public static CompletableFuture getServicePrincipalsPlain(GetServicePrincipalsPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("databricks:index/getServicePrincipals:getServicePrincipals", TypeShape.of(GetServicePrincipalsResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * > This resource can only be used with a workspace-level provider!
+     * 
+     * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
+     * 
+     * ## Example Usage
      * 
      * <!--Start PulumiCodeChooser -->
      * 
@@ -14236,10 +16498,11 @@ public static CompletableFuture getServicePrincipalPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -14253,19 +16516,100 @@ public static CompletableFuture getServicePrincipalPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
+     *         final var all = DatabricksFunctions.getServingEndpoints();
      * 
-     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
-     *             .applicationId("11111111-2222-3333-4444-555666777888")
-     *             .build());
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
-     *             .build());
+     *         
+     * }
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + * + */ + public static Output getServingEndpoints() { + return getServingEndpoints(GetServingEndpointsArgs.Empty, InvokeOptions.Empty); + } + /** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + * + * ## Example Usage * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getServingEndpoints();
+     * 
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
+     * 
+     *         
+     * }
      *     }
      * }
      * }
@@ -14274,30 +16618,21 @@ public static CompletableFuture getServicePrincipalPl
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * - End to end workspace management guide.
-     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
-     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
-     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
-     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
-     * - databricks.GroupMember to attach users and groups as group members.
-     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
-     * - databricks_service principal to manage service principals
+     * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
      * 
      */
-    public static Output getServicePrincipal(GetServicePrincipalArgs args) {
-        return getServicePrincipal(args, InvokeOptions.Empty);
+    public static CompletableFuture getServingEndpointsPlain() {
+        return getServingEndpointsPlain(GetServingEndpointsPlainArgs.Empty, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves information about databricks_service_principal.
+     * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
      * 
      * ## Example Usage
      * 
-     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -14307,10 +16642,11 @@ public static Output getServicePrincipal(GetServicePr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -14324,19 +16660,28 @@ public static Output getServicePrincipal(GetServicePr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
-     *             .applicationId("11111111-2222-3333-4444-555666777888")
-     *             .build());
+     *         final var all = DatabricksFunctions.getServingEndpoints();
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
-     *             .build());
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
      * 
+     *         
+     * }
      *     }
      * }
      * }
@@ -14345,30 +16690,21 @@ public static Output getServicePrincipal(GetServicePr
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * - End to end workspace management guide.
-     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
-     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
-     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
-     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
-     * - databricks.GroupMember to attach users and groups as group members.
-     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
-     * - databricks_service principal to manage service principals
+     * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
      * 
      */
-    public static CompletableFuture getServicePrincipalPlain(GetServicePrincipalPlainArgs args) {
-        return getServicePrincipalPlain(args, InvokeOptions.Empty);
+    public static Output getServingEndpoints(GetServingEndpointsArgs args) {
+        return getServingEndpoints(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves information about databricks_service_principal.
+     * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
      * 
      * ## Example Usage
      * 
-     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -14378,10 +16714,11 @@ public static CompletableFuture getServicePrincipalPl
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -14395,19 +16732,28 @@ public static CompletableFuture getServicePrincipalPl
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
-     *             .applicationId("11111111-2222-3333-4444-555666777888")
-     *             .build());
+     *         final var all = DatabricksFunctions.getServingEndpoints();
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
-     *             .build());
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
      * 
+     *         
+     * }
      *     }
      * }
      * }
@@ -14416,30 +16762,21 @@ public static CompletableFuture getServicePrincipalPl
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * - End to end workspace management guide.
-     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
-     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
-     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
-     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
-     * - databricks.GroupMember to attach users and groups as group members.
-     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
-     * - databricks_service principal to manage service principals
+     * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
      * 
      */
-    public static Output getServicePrincipal(GetServicePrincipalArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getServicePrincipal:getServicePrincipal", TypeShape.of(GetServicePrincipalResult.class), args, Utilities.withVersion(options));
+    public static CompletableFuture getServingEndpointsPlain(GetServingEndpointsPlainArgs args) {
+        return getServingEndpointsPlain(args, InvokeOptions.Empty);
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves information about databricks_service_principal.
+     * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
      * 
      * ## Example Usage
      * 
-     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -14449,10 +16786,11 @@ public static Output getServicePrincipal(GetServicePr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -14466,19 +16804,28 @@ public static Output getServicePrincipal(GetServicePr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
-     *             .applicationId("11111111-2222-3333-4444-555666777888")
-     *             .build());
+     *         final var all = DatabricksFunctions.getServingEndpoints();
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
-     *             .build());
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
      * 
+     *         
+     * }
      *     }
      * }
      * }
@@ -14487,30 +16834,21 @@ public static Output getServicePrincipal(GetServicePr
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
+     * The following resources are often used in the same context:
      * 
-     * - End to end workspace management guide.
-     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
-     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
-     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
-     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
-     * - databricks.GroupMember to attach users and groups as group members.
-     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
-     * - databricks_service principal to manage service principals
+     * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
      * 
      */
-    public static Output getServicePrincipal(GetServicePrincipalArgs args, InvokeOutputOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getServicePrincipal:getServicePrincipal", TypeShape.of(GetServicePrincipalResult.class), args, Utilities.withVersion(options));
+    public static Output getServingEndpoints(GetServingEndpointsArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getServingEndpoints:getServingEndpoints", TypeShape.of(GetServingEndpointsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves information about databricks_service_principal.
+     * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
      * 
      * ## Example Usage
      * 
-     * Adding service principal `11111111-2222-3333-4444-555666777888` to administrative group
-     * 
      * <!--Start PulumiCodeChooser -->
      * 
      * {@code
@@ -14520,10 +16858,11 @@ public static Output getServicePrincipal(GetServicePr
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.databricks.DatabricksFunctions;
-     * import com.pulumi.databricks.inputs.GetGroupArgs;
-     * import com.pulumi.databricks.inputs.GetServicePrincipalArgs;
-     * import com.pulumi.databricks.GroupMember;
-     * import com.pulumi.databricks.GroupMemberArgs;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
      * import java.util.List;
      * import java.util.ArrayList;
      * import java.util.Map;
@@ -14537,19 +16876,28 @@ public static Output getServicePrincipal(GetServicePr
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var admins = DatabricksFunctions.getGroup(GetGroupArgs.builder()
-     *             .displayName("admins")
-     *             .build());
-     * 
-     *         final var spn = DatabricksFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
-     *             .applicationId("11111111-2222-3333-4444-555666777888")
-     *             .build());
+     *         final var all = DatabricksFunctions.getServingEndpoints();
      * 
-     *         var myMemberA = new GroupMember("myMemberA", GroupMemberArgs.builder()
-     *             .groupId(admins.applyValue(getGroupResult -> getGroupResult.id()))
-     *             .memberId(spn.applyValue(getServicePrincipalResult -> getServicePrincipalResult.id()))
-     *             .build());
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
      * 
+     *         
+     * }
      *     }
      * }
      * }
@@ -14558,83 +16906,85 @@ public static Output getServicePrincipal(GetServicePr
      * 
      * ## Related Resources
      * 
-     * The following resources are used in the same context:
-     * 
-     * - End to end workspace management guide.
-     * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
-     * - databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
-     * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
-     * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
-     * - databricks.GroupMember to attach users and groups as group members.
-     * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
-     * - databricks_service principal to manage service principals
-     * 
-     */
-    public static CompletableFuture getServicePrincipalPlain(GetServicePrincipalPlainArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invokeAsync("databricks:index/getServicePrincipal:getServicePrincipal", TypeShape.of(GetServicePrincipalResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * The following resources are often used in the same context:
      * 
-     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
      * 
      */
-    public static Output getServicePrincipals() {
-        return getServicePrincipals(GetServicePrincipalsArgs.Empty, InvokeOptions.Empty);
+    public static Output getServingEndpoints(GetServingEndpointsArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("databricks:index/getServingEndpoints:getServingEndpoints", TypeShape.of(GetServingEndpointsResult.class), args, Utilities.withVersion(options));
     }
     /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * > This resource can only be used with a workspace-level provider!
      * 
-     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
      * 
-     */
-    public static CompletableFuture getServicePrincipalsPlain() {
-        return getServicePrincipalsPlain(GetServicePrincipalsPlainArgs.Empty, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * ## Example Usage
      * 
-     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * <!--Start PulumiCodeChooser -->
+     * 
+     * {@code
+     * package generated_program;
      * 
-     */
-    public static Output getServicePrincipals(GetServicePrincipalsArgs args) {
-        return getServicePrincipals(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.databricks.DatabricksFunctions;
+     * import com.pulumi.databricks.inputs.GetServingEndpointsArgs;
+     * import com.pulumi.databricks.Permissions;
+     * import com.pulumi.databricks.PermissionsArgs;
+     * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+     * import com.pulumi.codegen.internal.KeyedValue;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
      * 
-     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
      * 
-     */
-    public static CompletableFuture getServicePrincipalsPlain(GetServicePrincipalsPlainArgs args) {
-        return getServicePrincipalsPlain(args, InvokeOptions.Empty);
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     *     public static void stack(Context ctx) {
+     *         final var all = DatabricksFunctions.getServingEndpoints();
      * 
-     * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name`
+     *         for (var i = 0; i < allDatabricksServingEndpoints.endpoints(); i++) {
+     *             new Permissions("mlServingUsage-" + i, PermissionsArgs.builder()
+     *                 .servingEndpointId(range.value().id())
+     *                 .accessControls(                
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName("users")
+     *                         .permissionLevel("CAN_VIEW")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(auto.displayName())
+     *                         .permissionLevel("CAN_MANAGE")
+     *                         .build(),
+     *                     PermissionsAccessControlArgs.builder()
+     *                         .groupName(eng.displayName())
+     *                         .permissionLevel("CAN_QUERY")
+     *                         .build())
+     *                 .build());
      * 
-     */
-    public static Output getServicePrincipals(GetServicePrincipalsArgs args, InvokeOptions options) {
-        return Deployment.getInstance().invoke("databricks:index/getServicePrincipals:getServicePrincipals", TypeShape.of(GetServicePrincipalsResult.class), args, Utilities.withVersion(options));
-    }
-    /**
-     * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors.
+     *         
+     * }
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> * - * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name` + * ## Related Resources * - */ - public static Output getServicePrincipals(GetServicePrincipalsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("databricks:index/getServicePrincipals:getServicePrincipals", TypeShape.of(GetServicePrincipalsResult.class), args, Utilities.withVersion(options)); - } - /** - * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. + * The following resources are often used in the same context: * - * Retrieves `application_ids` of all databricks.ServicePrincipal based on their `display_name` + * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. * */ - public static CompletableFuture getServicePrincipalsPlain(GetServicePrincipalsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("databricks:index/getServicePrincipals:getServicePrincipals", TypeShape.of(GetServicePrincipalsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getServingEndpointsPlain(GetServingEndpointsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("databricks:index/getServingEndpoints:getServingEndpoints", TypeShape.of(GetServingEndpointsResult.class), args, Utilities.withVersion(options)); } /** * Retrieves details about a databricks.Share that were created by Pulumi or manually. diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Grant.java b/sdk/java/src/main/java/com/pulumi/databricks/Grant.java index 4cc26e96..f2e1713a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Grant.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Grant.java @@ -545,6 +545,57 @@ *
* <!--End PulumiCodeChooser --> * + * ## Service credential grants + * + * See databricks.Grants Service credential grants for the list of privileges that apply to Service credentials. + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.Credential;
+ * import com.pulumi.databricks.CredentialArgs;
+ * import com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs;
+ * import com.pulumi.databricks.Grant;
+ * import com.pulumi.databricks.GrantArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var external = new Credential("external", CredentialArgs.builder()
+ *             .name(externalDataAccess.name())
+ *             .awsIamRole(CredentialAwsIamRoleArgs.builder()
+ *                 .roleArn(externalDataAccess.arn())
+ *                 .build())
+ *             .purpose("SERVICE")
+ *             .comment("Managed by TF")
+ *             .build());
+ * 
+ *         var externalCreds = new Grant("externalCreds", GrantArgs.builder()
+ *             .credential(external.id())
+ *             .principal("Data Engineers")
+ *             .privileges("ACCESS")
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * * ## Storage credential grants * * See databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials. @@ -799,6 +850,12 @@ public class Grant extends com.pulumi.resources.CustomResource { public Output> catalog() { return Codegen.optional(this.catalog); } + @Export(name="credential", refs={String.class}, tree="[0]") + private Output credential; + + public Output> credential() { + return Codegen.optional(this.credential); + } @Export(name="externalLocation", refs={String.class}, tree="[0]") private Output externalLocation; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/GrantArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/GrantArgs.java index 1998c232..e89324cc 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/GrantArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/GrantArgs.java @@ -24,6 +24,13 @@ public Optional> catalog() { return Optional.ofNullable(this.catalog); } + @Import(name="credential") + private @Nullable Output credential; + + public Optional> credential() { + return Optional.ofNullable(this.credential); + } + @Import(name="externalLocation") private @Nullable Output externalLocation; @@ -126,6 +133,7 @@ private GrantArgs() {} private GrantArgs(GrantArgs $) { this.catalog = $.catalog; + this.credential = $.credential; this.externalLocation = $.externalLocation; this.foreignConnection = $.foreignConnection; this.function = $.function; @@ -169,6 +177,15 @@ public Builder catalog(String catalog) { return catalog(Output.of(catalog)); } + public Builder credential(@Nullable Output credential) { + $.credential = credential; + return this; + } + + public Builder credential(String credential) { + return credential(Output.of(credential)); + } + public Builder externalLocation(@Nullable Output externalLocation) { $.externalLocation = externalLocation; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Grants.java b/sdk/java/src/main/java/com/pulumi/databricks/Grants.java index e2c1f26e..7ffc2ea1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Grants.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Grants.java @@ -43,7 +43,7 @@ * * ## Metastore grants * - * You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace. + * You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace. * * <!--Start PulumiCodeChooser --> *
@@ -574,6 +574,60 @@
  * 
* <!--End PulumiCodeChooser --> * + * ## Service credential grants + * + * You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to databricks.Credential id specified in `credential` attribute: + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.Credential;
+ * import com.pulumi.databricks.CredentialArgs;
+ * import com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs;
+ * import com.pulumi.databricks.Grants;
+ * import com.pulumi.databricks.GrantsArgs;
+ * import com.pulumi.databricks.inputs.GrantsGrantArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var external = new Credential("external", CredentialArgs.builder()
+ *             .name(externalDataAccess.name())
+ *             .awsIamRole(CredentialAwsIamRoleArgs.builder()
+ *                 .roleArn(externalDataAccess.arn())
+ *                 .build())
+ *             .purpose("SERVICE")
+ *             .comment("Managed by TF")
+ *             .build());
+ * 
+ *         var externalCreds = new Grants("externalCreds", GrantsArgs.builder()
+ *             .credential(external.id())
+ *             .grants(GrantsGrantArgs.builder()
+ *                 .principal("Data Engineers")
+ *                 .privileges("CREATE_CONNECTION")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * * ## Storage credential grants * * You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storage_credential` attribute: @@ -835,6 +889,12 @@ public class Grants extends com.pulumi.resources.CustomResource { public Output> catalog() { return Codegen.optional(this.catalog); } + @Export(name="credential", refs={String.class}, tree="[0]") + private Output credential; + + public Output> credential() { + return Codegen.optional(this.credential); + } @Export(name="externalLocation", refs={String.class}, tree="[0]") private Output externalLocation; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java index 067f3f1e..5f1591a9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java @@ -25,6 +25,13 @@ public Optional> catalog() { return Optional.ofNullable(this.catalog); } + @Import(name="credential") + private @Nullable Output credential; + + public Optional> credential() { + return Optional.ofNullable(this.credential); + } + @Import(name="externalLocation") private @Nullable Output externalLocation; @@ -120,6 +127,7 @@ private GrantsArgs() {} private GrantsArgs(GrantsArgs $) { this.catalog = $.catalog; + this.credential = $.credential; this.externalLocation = $.externalLocation; this.foreignConnection = $.foreignConnection; this.function = $.function; @@ -162,6 +170,15 @@ public Builder catalog(String catalog) { return catalog(Output.of(catalog)); } + public Builder credential(@Nullable Output credential) { + $.credential = credential; + return this; + } + + public Builder credential(String credential) { + return credential(Output.of(credential)); + } + public Builder externalLocation(@Nullable Output externalLocation) { $.externalLocation = externalLocation; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsCustomerManagedKeys.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsCustomerManagedKeys.java index 27a3c21f..4fbd185d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsCustomerManagedKeys.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsCustomerManagedKeys.java @@ -347,7 +347,17 @@ * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and customer managed key ID. + * + * ```sh + * $ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '<account_id>/<customer_managed_key_id>' + * ``` + * + * ~> This resource does not support updates. If your configuration does not match the existing resource, + * + * the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + * + * verify that the configuration matches the existing resource by running `pulumi preview`. * */ @ResourceType(type="databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys") diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRule.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRule.java index 06115310..8958a683 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRule.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRule.java @@ -169,14 +169,14 @@ public Output endpointName() { return this.endpointName; } /** - * The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * */ @Export(name="groupId", refs={String.class}, tree="[0]") private Output groupId; /** - * @return The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @return The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * */ public Output groupId() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRuleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRuleArgs.java index 60903d56..cd8d0af9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRuleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsNccPrivateEndpointRuleArgs.java @@ -104,14 +104,14 @@ public Optional> endpointName() { } /** - * The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * */ @Import(name="groupId", required=true) private Output groupId; /** - * @return The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @return The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * */ public Output groupId() { @@ -327,7 +327,7 @@ public Builder endpointName(String endpointName) { } /** - * @param groupId The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @param groupId The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * * @return builder * @@ -338,7 +338,7 @@ public Builder groupId(Output groupId) { } /** - * @param groupId The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @param groupId The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsNetworks.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsNetworks.java index 5d13e7b1..88dc9ccd 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsNetworks.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsNetworks.java @@ -181,7 +181,17 @@ * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and network ID. + * + * ```sh + * $ pulumi import databricks:index/mwsNetworks:MwsNetworks this '<account_id>/<network_id>' + * ``` + * + * ~> This resource does not support updates. If your configuration does not match the existing resource, + * + * the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + * + * verify that the configuration matches the existing resource by running `pulumi preview`. * */ @ResourceType(type="databricks:index/mwsNetworks:MwsNetworks") diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsPrivateAccessSettings.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsPrivateAccessSettings.java index 9b2419bf..dd0ec366 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsPrivateAccessSettings.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsPrivateAccessSettings.java @@ -175,7 +175,11 @@ * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and private access settings ID. + * + * ```sh + * $ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '<account_id>/<private_access_settings_id>' + * ``` * */ @ResourceType(type="databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings") diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsStorageConfigurations.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsStorageConfigurations.java index 98352063..79ee271b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsStorageConfigurations.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsStorageConfigurations.java @@ -86,7 +86,17 @@ * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and storage configuration ID. + * + * ```sh + * $ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '<account_id>/<storage_configuration_id>' + * ``` + * + * ~> This resource does not support updates. If your configuration does not match the existing resource, + * + * the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + * + * verify that the configuration matches the existing resource by running `pulumi preview`. * */ @ResourceType(type="databricks:index/mwsStorageConfigurations:MwsStorageConfigurations") diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MwsWorkspaces.java b/sdk/java/src/main/java/com/pulumi/databricks/MwsWorkspaces.java index b3b05498..b4def9b8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MwsWorkspaces.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MwsWorkspaces.java @@ -34,7 +34,7 @@ * * * databricks.MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace. * * databricks.MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace. - * * databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces. + * * databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces. * * databricks.MwsCustomerManagedKeys - You can share a customer-managed key across workspaces. * * <!--Start PulumiCodeChooser --> @@ -352,6 +352,26 @@ * * In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks. * + * ## Import + * + * This resource can be imported by Databricks account ID and workspace ID. + * + * ```sh + * $ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '<account_id>/<workspace_id>' + * ``` + * + * ~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. + * + * If the configuration for these immutable fields does not match the existing workspace, the workspace will + * + * be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration + * + * matches the existing resource by running `pulumi preview`. The only fields that can be updated are + * + * `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, + * + * `managed_services_customer_managed_key_id`, and `custom_tags`. + * */ @ResourceType(type="databricks:index/mwsWorkspaces:MwsWorkspaces") public class MwsWorkspaces extends com.pulumi.resources.CustomResource { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/NotificationDestination.java b/sdk/java/src/main/java/com/pulumi/databricks/NotificationDestination.java index 786e3922..2fc8a8e3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/NotificationDestination.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/NotificationDestination.java @@ -228,6 +228,16 @@ *
* <!--End PulumiCodeChooser --> * + * ## Import + * + * This resource can be imported by notification ID: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/notificationDestination:NotificationDestination this <notification-id> + * ``` + * */ @ResourceType(type="databricks:index/notificationDestination:NotificationDestination") public class NotificationDestination extends com.pulumi.resources.CustomResource { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Permissions.java b/sdk/java/src/main/java/com/pulumi/databricks/Permissions.java index e8ced47c..9a265a06 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Permissions.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Permissions.java @@ -1031,6 +1031,68 @@ *
* <!--End PulumiCodeChooser --> * + * ## Mosaic AI Vector Search usage + * + * Valid permission levels for databricks.VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`. + * + * > You need to use the `endpoint_id` attribute of `databricks.VectorSearchEndpoint` as value for `vector_search_endpoint_id`, not the `id`! + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.databricks.VectorSearchEndpoint;
+ * import com.pulumi.databricks.VectorSearchEndpointArgs;
+ * import com.pulumi.databricks.Group;
+ * import com.pulumi.databricks.GroupArgs;
+ * import com.pulumi.databricks.Permissions;
+ * import com.pulumi.databricks.PermissionsArgs;
+ * import com.pulumi.databricks.inputs.PermissionsAccessControlArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var this_ = new VectorSearchEndpoint("this", VectorSearchEndpointArgs.builder()
+ *             .name("vector-search-test")
+ *             .endpointType("STANDARD")
+ *             .build());
+ * 
+ *         var eng = new Group("eng", GroupArgs.builder()
+ *             .displayName("Engineering")
+ *             .build());
+ * 
+ *         var vectorSearchEndpointUsage = new Permissions("vectorSearchEndpointUsage", PermissionsArgs.builder()
+ *             .vectorSearchEndpointId(this_.endpointId())
+ *             .accessControls(            
+ *                 PermissionsAccessControlArgs.builder()
+ *                     .groupName("users")
+ *                     .permissionLevel("CAN_USE")
+ *                     .build(),
+ *                 PermissionsAccessControlArgs.builder()
+ *                     .groupName(eng.displayName())
+ *                     .permissionLevel("CAN_MANAGE")
+ *                     .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * * ## Passwords usage * * By default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control. @@ -1488,6 +1550,12 @@ public class Permissions extends com.pulumi.resources.CustomResource { public Output> accessControls() { return this.accessControls; } + @Export(name="appName", refs={String.class}, tree="[0]") + private Output appName; + + public Output> appName() { + return Codegen.optional(this.appName); + } @Export(name="authorization", refs={String.class}, tree="[0]") private Output authorization; @@ -1622,6 +1690,12 @@ public Output> sqlEndpointId() { public Output> sqlQueryId() { return Codegen.optional(this.sqlQueryId); } + @Export(name="vectorSearchEndpointId", refs={String.class}, tree="[0]") + private Output vectorSearchEndpointId; + + public Output> vectorSearchEndpointId() { + return Codegen.optional(this.vectorSearchEndpointId); + } @Export(name="workspaceFileId", refs={String.class}, tree="[0]") private Output workspaceFileId; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/PermissionsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/PermissionsArgs.java index 9d4a29fe..a94ec41b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/PermissionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/PermissionsArgs.java @@ -25,6 +25,13 @@ public Output> accessControls() { return this.accessControls; } + @Import(name="appName") + private @Nullable Output appName; + + public Optional> appName() { + return Optional.ofNullable(this.appName); + } + @Import(name="authorization") private @Nullable Output authorization; @@ -180,6 +187,13 @@ public Optional> sqlQueryId() { return Optional.ofNullable(this.sqlQueryId); } + @Import(name="vectorSearchEndpointId") + private @Nullable Output vectorSearchEndpointId; + + public Optional> vectorSearchEndpointId() { + return Optional.ofNullable(this.vectorSearchEndpointId); + } + @Import(name="workspaceFileId") private @Nullable Output workspaceFileId; @@ -198,6 +212,7 @@ private PermissionsArgs() {} private PermissionsArgs(PermissionsArgs $) { this.accessControls = $.accessControls; + this.appName = $.appName; this.authorization = $.authorization; this.clusterId = $.clusterId; this.clusterPolicyId = $.clusterPolicyId; @@ -219,6 +234,7 @@ private PermissionsArgs(PermissionsArgs $) { this.sqlDashboardId = $.sqlDashboardId; this.sqlEndpointId = $.sqlEndpointId; this.sqlQueryId = $.sqlQueryId; + this.vectorSearchEndpointId = $.vectorSearchEndpointId; this.workspaceFileId = $.workspaceFileId; this.workspaceFilePath = $.workspaceFilePath; } @@ -254,6 +270,15 @@ public Builder accessControls(PermissionsAccessControlArgs... accessControls) { return accessControls(List.of(accessControls)); } + public Builder appName(@Nullable Output appName) { + $.appName = appName; + return this; + } + + public Builder appName(String appName) { + return appName(Output.of(appName)); + } + public Builder authorization(@Nullable Output authorization) { $.authorization = authorization; return this; @@ -455,6 +480,15 @@ public Builder sqlQueryId(String sqlQueryId) { return sqlQueryId(Output.of(sqlQueryId)); } + public Builder vectorSearchEndpointId(@Nullable Output vectorSearchEndpointId) { + $.vectorSearchEndpointId = vectorSearchEndpointId; + return this; + } + + public Builder vectorSearchEndpointId(String vectorSearchEndpointId) { + return vectorSearchEndpointId(Output.of(vectorSearchEndpointId)); + } + public Builder workspaceFileId(@Nullable Output workspaceFileId) { $.workspaceFileId = workspaceFileId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Query.java b/sdk/java/src/main/java/com/pulumi/databricks/Query.java index 9abdefe5..9cf37ac1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Query.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Query.java @@ -186,14 +186,14 @@ public Output queryText() { return this.queryText; } /** - * Sets the "Run as" role for the object. + * Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * */ @Export(name="runAsMode", refs={String.class}, tree="[0]") private Output runAsMode; /** - * @return Sets the "Run as" role for the object. + * @return Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * */ public Output> runAsMode() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/QueryArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/QueryArgs.java index 94fac4bf..6556b0d6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/QueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/QueryArgs.java @@ -140,14 +140,14 @@ public Output queryText() { } /** - * Sets the "Run as" role for the object. + * Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * */ @Import(name="runAsMode") private @Nullable Output runAsMode; /** - * @return Sets the "Run as" role for the object. + * @return Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * */ public Optional> runAsMode() { @@ -413,7 +413,7 @@ public Builder queryText(String queryText) { } /** - * @param runAsMode Sets the "Run as" role for the object. + * @param runAsMode Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * * @return builder * @@ -424,7 +424,7 @@ public Builder runAsMode(@Nullable Output runAsMode) { } /** - * @param runAsMode Sets the "Run as" role for the object. + * @param runAsMode Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/StorageCredential.java b/sdk/java/src/main/java/com/pulumi/databricks/StorageCredential.java index 2da94be9..28801fea 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/StorageCredential.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/StorageCredential.java @@ -29,6 +29,8 @@ * - `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential. * - databricks.ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location. * + * On AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. + * * ## Example Usage * * For AWS @@ -120,7 +122,7 @@ * .build()); * * var externalCreds = new Grants("externalCreds", GrantsArgs.builder() - * .storageCredential(external.id()) + * .storageCredential(externalMi.id()) * .grants(GrantsGrantArgs.builder() * .principal("Data Engineers") * .privileges("CREATE_EXTERNAL_TABLE") diff --git a/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBinding.java b/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBinding.java index 6ab31f66..4c052959 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBinding.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBinding.java @@ -21,7 +21,7 @@ * * By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `databricks.WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource. * - * > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks.ExternalLocation or databricks_storage_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). + * > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, databricks.StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). * * > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from. * @@ -120,14 +120,14 @@ public Output securableName() { return this.securableName; } /** - * Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * */ @Export(name="securableType", refs={String.class}, tree="[0]") private Output securableType; /** - * @return Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @return Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * */ public Output> securableType() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBindingArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBindingArgs.java index 80964288..f4312a98 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBindingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceBindingArgs.java @@ -65,14 +65,14 @@ public Optional> securableName() { } /** - * Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * */ @Import(name="securableType") private @Nullable Output securableType; /** - * @return Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @return Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * */ public Optional> securableType() { @@ -190,7 +190,7 @@ public Builder securableName(String securableName) { } /** - * @param securableType Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @param securableType Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * * @return builder * @@ -201,7 +201,7 @@ public Builder securableType(@Nullable Output securableType) { } /** - * @param securableType Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @param securableType Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceConf.java b/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceConf.java index c939bfb9..ab927d5e 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceConf.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/WorkspaceConf.java @@ -27,7 +27,7 @@ * Allows specification of custom configuration properties for expert usage: * * - `enableIpAccessLists` - enables the use of databricks.IpAccessList resources - * - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. + * - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. * - `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace. * - `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace. * - `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace. diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentArgs.java new file mode 100644 index 00000000..7506547a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentArgs.java @@ -0,0 +1,244 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AppActiveDeploymentDeploymentArtifactsArgs; +import com.pulumi.databricks.inputs.AppActiveDeploymentStatusArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppActiveDeploymentArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppActiveDeploymentArgs Empty = new AppActiveDeploymentArgs(); + + /** + * The creation time of the app. + * + */ + @Import(name="createTime") + private @Nullable Output createTime; + + /** + * @return The creation time of the app. + * + */ + public Optional> createTime() { + return Optional.ofNullable(this.createTime); + } + + /** + * The email of the user that created the app. + * + */ + @Import(name="creator") + private @Nullable Output creator; + + /** + * @return The email of the user that created the app. + * + */ + public Optional> creator() { + return Optional.ofNullable(this.creator); + } + + @Import(name="deploymentArtifacts") + private @Nullable Output deploymentArtifacts; + + public Optional> deploymentArtifacts() { + return Optional.ofNullable(this.deploymentArtifacts); + } + + @Import(name="deploymentId") + private @Nullable Output deploymentId; + + public Optional> deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + + @Import(name="mode") + private @Nullable Output mode; + + public Optional> mode() { + return Optional.ofNullable(this.mode); + } + + @Import(name="sourceCodePath") + private @Nullable Output sourceCodePath; + + public Optional> sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + @Import(name="status") + private @Nullable Output status; + + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * The update time of the app. + * + */ + @Import(name="updateTime") + private @Nullable Output updateTime; + + /** + * @return The update time of the app. + * + */ + public Optional> updateTime() { + return Optional.ofNullable(this.updateTime); + } + + private AppActiveDeploymentArgs() {} + + private AppActiveDeploymentArgs(AppActiveDeploymentArgs $) { + this.createTime = $.createTime; + this.creator = $.creator; + this.deploymentArtifacts = $.deploymentArtifacts; + this.deploymentId = $.deploymentId; + this.mode = $.mode; + this.sourceCodePath = $.sourceCodePath; + this.status = $.status; + this.updateTime = $.updateTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppActiveDeploymentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppActiveDeploymentArgs $; + + public Builder() { + $ = new AppActiveDeploymentArgs(); + } + + public Builder(AppActiveDeploymentArgs defaults) { + $ = new AppActiveDeploymentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param createTime The creation time of the app. + * + * @return builder + * + */ + public Builder createTime(@Nullable Output createTime) { + $.createTime = createTime; + return this; + } + + /** + * @param createTime The creation time of the app. + * + * @return builder + * + */ + public Builder createTime(String createTime) { + return createTime(Output.of(createTime)); + } + + /** + * @param creator The email of the user that created the app. + * + * @return builder + * + */ + public Builder creator(@Nullable Output creator) { + $.creator = creator; + return this; + } + + /** + * @param creator The email of the user that created the app. + * + * @return builder + * + */ + public Builder creator(String creator) { + return creator(Output.of(creator)); + } + + public Builder deploymentArtifacts(@Nullable Output deploymentArtifacts) { + $.deploymentArtifacts = deploymentArtifacts; + return this; + } + + public Builder deploymentArtifacts(AppActiveDeploymentDeploymentArtifactsArgs deploymentArtifacts) { + return deploymentArtifacts(Output.of(deploymentArtifacts)); + } + + public Builder deploymentId(@Nullable Output deploymentId) { + $.deploymentId = deploymentId; + return this; + } + + public Builder deploymentId(String deploymentId) { + return deploymentId(Output.of(deploymentId)); + } + + public Builder mode(@Nullable Output mode) { + $.mode = mode; + return this; + } + + public Builder mode(String mode) { + return mode(Output.of(mode)); + } + + public Builder sourceCodePath(@Nullable Output sourceCodePath) { + $.sourceCodePath = sourceCodePath; + return this; + } + + public Builder sourceCodePath(String sourceCodePath) { + return sourceCodePath(Output.of(sourceCodePath)); + } + + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + public Builder status(AppActiveDeploymentStatusArgs status) { + return status(Output.of(status)); + } + + /** + * @param updateTime The update time of the app. + * + * @return builder + * + */ + public Builder updateTime(@Nullable Output updateTime) { + $.updateTime = updateTime; + return this; + } + + /** + * @param updateTime The update time of the app. + * + * @return builder + * + */ + public Builder updateTime(String updateTime) { + return updateTime(Output.of(updateTime)); + } + + public AppActiveDeploymentArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentDeploymentArtifactsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentDeploymentArtifactsArgs.java new file mode 100644 index 00000000..b7afe970 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentDeploymentArtifactsArgs.java @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppActiveDeploymentDeploymentArtifactsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppActiveDeploymentDeploymentArtifactsArgs Empty = new AppActiveDeploymentDeploymentArtifactsArgs(); + + @Import(name="sourceCodePath") + private @Nullable Output sourceCodePath; + + public Optional> sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + private AppActiveDeploymentDeploymentArtifactsArgs() {} + + private AppActiveDeploymentDeploymentArtifactsArgs(AppActiveDeploymentDeploymentArtifactsArgs $) { + this.sourceCodePath = $.sourceCodePath; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppActiveDeploymentDeploymentArtifactsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppActiveDeploymentDeploymentArtifactsArgs $; + + public Builder() { + $ = new AppActiveDeploymentDeploymentArtifactsArgs(); + } + + public Builder(AppActiveDeploymentDeploymentArtifactsArgs defaults) { + $ = new AppActiveDeploymentDeploymentArtifactsArgs(Objects.requireNonNull(defaults)); + } + + public Builder sourceCodePath(@Nullable Output sourceCodePath) { + $.sourceCodePath = sourceCodePath; + return this; + } + + public Builder sourceCodePath(String sourceCodePath) { + return sourceCodePath(Output.of(sourceCodePath)); + } + + public AppActiveDeploymentDeploymentArtifactsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentStatusArgs.java new file mode 100644 index 00000000..fb6b9872 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppActiveDeploymentStatusArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppActiveDeploymentStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppActiveDeploymentStatusArgs Empty = new AppActiveDeploymentStatusArgs(); + + /** + * Application status message + * + */ + @Import(name="message") + private @Nullable Output message; + + /** + * @return Application status message + * + */ + public Optional> message() { + return Optional.ofNullable(this.message); + } + + /** + * State of the application. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return State of the application. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AppActiveDeploymentStatusArgs() {} + + private AppActiveDeploymentStatusArgs(AppActiveDeploymentStatusArgs $) { + this.message = $.message; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppActiveDeploymentStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppActiveDeploymentStatusArgs $; + + public Builder() { + $ = new AppActiveDeploymentStatusArgs(); + } + + public Builder(AppActiveDeploymentStatusArgs defaults) { + $ = new AppActiveDeploymentStatusArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(@Nullable Output message) { + $.message = message; + return this; + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(String message) { + return message(Output.of(message)); + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AppActiveDeploymentStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppAppStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppAppStatusArgs.java new file mode 100644 index 00000000..5ec0667a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppAppStatusArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppAppStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppAppStatusArgs Empty = new AppAppStatusArgs(); + + /** + * Application status message + * + */ + @Import(name="message") + private @Nullable Output message; + + /** + * @return Application status message + * + */ + public Optional> message() { + return Optional.ofNullable(this.message); + } + + /** + * State of the application. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return State of the application. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AppAppStatusArgs() {} + + private AppAppStatusArgs(AppAppStatusArgs $) { + this.message = $.message; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppAppStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppAppStatusArgs $; + + public Builder() { + $ = new AppAppStatusArgs(); + } + + public Builder(AppAppStatusArgs defaults) { + $ = new AppAppStatusArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(@Nullable Output message) { + $.message = message; + return this; + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(String message) { + return message(Output.of(message)); + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AppAppStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppComputeStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppComputeStatusArgs.java new file mode 100644 index 00000000..b9941ace --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppComputeStatusArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppComputeStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppComputeStatusArgs Empty = new AppComputeStatusArgs(); + + /** + * Application status message + * + */ + @Import(name="message") + private @Nullable Output message; + + /** + * @return Application status message + * + */ + public Optional> message() { + return Optional.ofNullable(this.message); + } + + /** + * State of the application. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return State of the application. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AppComputeStatusArgs() {} + + private AppComputeStatusArgs(AppComputeStatusArgs $) { + this.message = $.message; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppComputeStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppComputeStatusArgs $; + + public Builder() { + $ = new AppComputeStatusArgs(); + } + + public Builder(AppComputeStatusArgs defaults) { + $ = new AppComputeStatusArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(@Nullable Output message) { + $.message = message; + return this; + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(String message) { + return message(Output.of(message)); + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AppComputeStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentArgs.java new file mode 100644 index 00000000..5d7ea230 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentArgs.java @@ -0,0 +1,244 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AppPendingDeploymentDeploymentArtifactsArgs; +import com.pulumi.databricks.inputs.AppPendingDeploymentStatusArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppPendingDeploymentArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppPendingDeploymentArgs Empty = new AppPendingDeploymentArgs(); + + /** + * The creation time of the app. + * + */ + @Import(name="createTime") + private @Nullable Output createTime; + + /** + * @return The creation time of the app. + * + */ + public Optional> createTime() { + return Optional.ofNullable(this.createTime); + } + + /** + * The email of the user that created the app. + * + */ + @Import(name="creator") + private @Nullable Output creator; + + /** + * @return The email of the user that created the app. + * + */ + public Optional> creator() { + return Optional.ofNullable(this.creator); + } + + @Import(name="deploymentArtifacts") + private @Nullable Output deploymentArtifacts; + + public Optional> deploymentArtifacts() { + return Optional.ofNullable(this.deploymentArtifacts); + } + + @Import(name="deploymentId") + private @Nullable Output deploymentId; + + public Optional> deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + + @Import(name="mode") + private @Nullable Output mode; + + public Optional> mode() { + return Optional.ofNullable(this.mode); + } + + @Import(name="sourceCodePath") + private @Nullable Output sourceCodePath; + + public Optional> sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + @Import(name="status") + private @Nullable Output status; + + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * The update time of the app. + * + */ + @Import(name="updateTime") + private @Nullable Output updateTime; + + /** + * @return The update time of the app. + * + */ + public Optional> updateTime() { + return Optional.ofNullable(this.updateTime); + } + + private AppPendingDeploymentArgs() {} + + private AppPendingDeploymentArgs(AppPendingDeploymentArgs $) { + this.createTime = $.createTime; + this.creator = $.creator; + this.deploymentArtifacts = $.deploymentArtifacts; + this.deploymentId = $.deploymentId; + this.mode = $.mode; + this.sourceCodePath = $.sourceCodePath; + this.status = $.status; + this.updateTime = $.updateTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppPendingDeploymentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppPendingDeploymentArgs $; + + public Builder() { + $ = new AppPendingDeploymentArgs(); + } + + public Builder(AppPendingDeploymentArgs defaults) { + $ = new AppPendingDeploymentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param createTime The creation time of the app. + * + * @return builder + * + */ + public Builder createTime(@Nullable Output createTime) { + $.createTime = createTime; + return this; + } + + /** + * @param createTime The creation time of the app. + * + * @return builder + * + */ + public Builder createTime(String createTime) { + return createTime(Output.of(createTime)); + } + + /** + * @param creator The email of the user that created the app. + * + * @return builder + * + */ + public Builder creator(@Nullable Output creator) { + $.creator = creator; + return this; + } + + /** + * @param creator The email of the user that created the app. + * + * @return builder + * + */ + public Builder creator(String creator) { + return creator(Output.of(creator)); + } + + public Builder deploymentArtifacts(@Nullable Output deploymentArtifacts) { + $.deploymentArtifacts = deploymentArtifacts; + return this; + } + + public Builder deploymentArtifacts(AppPendingDeploymentDeploymentArtifactsArgs deploymentArtifacts) { + return deploymentArtifacts(Output.of(deploymentArtifacts)); + } + + public Builder deploymentId(@Nullable Output deploymentId) { + $.deploymentId = deploymentId; + return this; + } + + public Builder deploymentId(String deploymentId) { + return deploymentId(Output.of(deploymentId)); + } + + public Builder mode(@Nullable Output mode) { + $.mode = mode; + return this; + } + + public Builder mode(String mode) { + return mode(Output.of(mode)); + } + + public Builder sourceCodePath(@Nullable Output sourceCodePath) { + $.sourceCodePath = sourceCodePath; + return this; + } + + public Builder sourceCodePath(String sourceCodePath) { + return sourceCodePath(Output.of(sourceCodePath)); + } + + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + public Builder status(AppPendingDeploymentStatusArgs status) { + return status(Output.of(status)); + } + + /** + * @param updateTime The update time of the app. + * + * @return builder + * + */ + public Builder updateTime(@Nullable Output updateTime) { + $.updateTime = updateTime; + return this; + } + + /** + * @param updateTime The update time of the app. + * + * @return builder + * + */ + public Builder updateTime(String updateTime) { + return updateTime(Output.of(updateTime)); + } + + public AppPendingDeploymentArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentDeploymentArtifactsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentDeploymentArtifactsArgs.java new file mode 100644 index 00000000..6384fee2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentDeploymentArtifactsArgs.java @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppPendingDeploymentDeploymentArtifactsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppPendingDeploymentDeploymentArtifactsArgs Empty = new AppPendingDeploymentDeploymentArtifactsArgs(); + + @Import(name="sourceCodePath") + private @Nullable Output sourceCodePath; + + public Optional> sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + private AppPendingDeploymentDeploymentArtifactsArgs() {} + + private AppPendingDeploymentDeploymentArtifactsArgs(AppPendingDeploymentDeploymentArtifactsArgs $) { + this.sourceCodePath = $.sourceCodePath; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppPendingDeploymentDeploymentArtifactsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppPendingDeploymentDeploymentArtifactsArgs $; + + public Builder() { + $ = new AppPendingDeploymentDeploymentArtifactsArgs(); + } + + public Builder(AppPendingDeploymentDeploymentArtifactsArgs defaults) { + $ = new AppPendingDeploymentDeploymentArtifactsArgs(Objects.requireNonNull(defaults)); + } + + public Builder sourceCodePath(@Nullable Output sourceCodePath) { + $.sourceCodePath = sourceCodePath; + return this; + } + + public Builder sourceCodePath(String sourceCodePath) { + return sourceCodePath(Output.of(sourceCodePath)); + } + + public AppPendingDeploymentDeploymentArtifactsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentStatusArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentStatusArgs.java new file mode 100644 index 00000000..6a463301 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppPendingDeploymentStatusArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppPendingDeploymentStatusArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppPendingDeploymentStatusArgs Empty = new AppPendingDeploymentStatusArgs(); + + /** + * Application status message + * + */ + @Import(name="message") + private @Nullable Output message; + + /** + * @return Application status message + * + */ + public Optional> message() { + return Optional.ofNullable(this.message); + } + + /** + * State of the application. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return State of the application. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private AppPendingDeploymentStatusArgs() {} + + private AppPendingDeploymentStatusArgs(AppPendingDeploymentStatusArgs $) { + this.message = $.message; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppPendingDeploymentStatusArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppPendingDeploymentStatusArgs $; + + public Builder() { + $ = new AppPendingDeploymentStatusArgs(); + } + + public Builder(AppPendingDeploymentStatusArgs defaults) { + $ = new AppPendingDeploymentStatusArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(@Nullable Output message) { + $.message = message; + return this; + } + + /** + * @param message Application status message + * + * @return builder + * + */ + public Builder message(String message) { + return message(Output.of(message)); + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state State of the application. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public AppPendingDeploymentStatusArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceArgs.java new file mode 100644 index 00000000..f499511e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceArgs.java @@ -0,0 +1,284 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AppResourceJobArgs; +import com.pulumi.databricks.inputs.AppResourceSecretArgs; +import com.pulumi.databricks.inputs.AppResourceServingEndpointArgs; +import com.pulumi.databricks.inputs.AppResourceSqlWarehouseArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppResourceArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppResourceArgs Empty = new AppResourceArgs(); + + /** + * The description of the resource. + * + * Exactly one of the following attributes must be provided: + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the resource. + * + * Exactly one of the following attributes must be provided: + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * attribute + * + */ + @Import(name="job") + private @Nullable Output job; + + /** + * @return attribute + * + */ + public Optional> job() { + return Optional.ofNullable(this.job); + } + + /** + * The name of the resource. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the resource. + * + */ + public Output name() { + return this.name; + } + + /** + * attribute + * + */ + @Import(name="secret") + private @Nullable Output secret; + + /** + * @return attribute + * + */ + public Optional> secret() { + return Optional.ofNullable(this.secret); + } + + /** + * attribute + * + */ + @Import(name="servingEndpoint") + private @Nullable Output servingEndpoint; + + /** + * @return attribute + * + */ + public Optional> servingEndpoint() { + return Optional.ofNullable(this.servingEndpoint); + } + + /** + * attribute + * + */ + @Import(name="sqlWarehouse") + private @Nullable Output sqlWarehouse; + + /** + * @return attribute + * + */ + public Optional> sqlWarehouse() { + return Optional.ofNullable(this.sqlWarehouse); + } + + private AppResourceArgs() {} + + private AppResourceArgs(AppResourceArgs $) { + this.description = $.description; + this.job = $.job; + this.name = $.name; + this.secret = $.secret; + this.servingEndpoint = $.servingEndpoint; + this.sqlWarehouse = $.sqlWarehouse; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppResourceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppResourceArgs $; + + public Builder() { + $ = new AppResourceArgs(); + } + + public Builder(AppResourceArgs defaults) { + $ = new AppResourceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description The description of the resource. + * + * Exactly one of the following attributes must be provided: + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the resource. + * + * Exactly one of the following attributes must be provided: + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param job attribute + * + * @return builder + * + */ + public Builder job(@Nullable Output job) { + $.job = job; + return this; + } + + /** + * @param job attribute + * + * @return builder + * + */ + public Builder job(AppResourceJobArgs job) { + return job(Output.of(job)); + } + + /** + * @param name The name of the resource. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the resource. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param secret attribute + * + * @return builder + * + */ + public Builder secret(@Nullable Output secret) { + $.secret = secret; + return this; + } + + /** + * @param secret attribute + * + * @return builder + * + */ + public Builder secret(AppResourceSecretArgs secret) { + return secret(Output.of(secret)); + } + + /** + * @param servingEndpoint attribute + * + * @return builder + * + */ + public Builder servingEndpoint(@Nullable Output servingEndpoint) { + $.servingEndpoint = servingEndpoint; + return this; + } + + /** + * @param servingEndpoint attribute + * + * @return builder + * + */ + public Builder servingEndpoint(AppResourceServingEndpointArgs servingEndpoint) { + return servingEndpoint(Output.of(servingEndpoint)); + } + + /** + * @param sqlWarehouse attribute + * + * @return builder + * + */ + public Builder sqlWarehouse(@Nullable Output sqlWarehouse) { + $.sqlWarehouse = sqlWarehouse; + return this; + } + + /** + * @param sqlWarehouse attribute + * + * @return builder + * + */ + public Builder sqlWarehouse(AppResourceSqlWarehouseArgs sqlWarehouse) { + return sqlWarehouse(Output.of(sqlWarehouse)); + } + + public AppResourceArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("AppResourceArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceJobArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceJobArgs.java new file mode 100644 index 00000000..af56220f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceJobArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class AppResourceJobArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppResourceJobArgs Empty = new AppResourceJobArgs(); + + /** + * Id of the job to grant permission on. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return Id of the job to grant permission on. + * + */ + public Output id() { + return this.id; + } + + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + @Import(name="permission", required=true) + private Output permission; + + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public Output permission() { + return this.permission; + } + + private AppResourceJobArgs() {} + + private AppResourceJobArgs(AppResourceJobArgs $) { + this.id = $.id; + this.permission = $.permission; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppResourceJobArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppResourceJobArgs $; + + public Builder() { + $ = new AppResourceJobArgs(); + } + + public Builder(AppResourceJobArgs defaults) { + $ = new AppResourceJobArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id Id of the job to grant permission on. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id Id of the job to grant permission on. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param permission Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + * @return builder + * + */ + public Builder permission(Output permission) { + $.permission = permission; + return this; + } + + /** + * @param permission Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + * @return builder + * + */ + public Builder permission(String permission) { + return permission(Output.of(permission)); + } + + public AppResourceJobArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("AppResourceJobArgs", "id"); + } + if ($.permission == null) { + throw new MissingRequiredPropertyException("AppResourceJobArgs", "permission"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceSecretArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceSecretArgs.java new file mode 100644 index 00000000..9bfa054d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceSecretArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class AppResourceSecretArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppResourceSecretArgs Empty = new AppResourceSecretArgs(); + + /** + * Key of the secret to grant permission on. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return Key of the secret to grant permission on. + * + */ + public Output key() { + return this.key; + } + + /** + * Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + * + */ + @Import(name="permission", required=true) + private Output permission; + + /** + * @return Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + * + */ + public Output permission() { + return this.permission; + } + + /** + * Scope of the secret to grant permission on. + * + */ + @Import(name="scope", required=true) + private Output scope; + + /** + * @return Scope of the secret to grant permission on. + * + */ + public Output scope() { + return this.scope; + } + + private AppResourceSecretArgs() {} + + private AppResourceSecretArgs(AppResourceSecretArgs $) { + this.key = $.key; + this.permission = $.permission; + this.scope = $.scope; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppResourceSecretArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppResourceSecretArgs $; + + public Builder() { + $ = new AppResourceSecretArgs(); + } + + public Builder(AppResourceSecretArgs defaults) { + $ = new AppResourceSecretArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key Key of the secret to grant permission on. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key Key of the secret to grant permission on. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param permission Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + * + * @return builder + * + */ + public Builder permission(Output permission) { + $.permission = permission; + return this; + } + + /** + * @param permission Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + * + * @return builder + * + */ + public Builder permission(String permission) { + return permission(Output.of(permission)); + } + + /** + * @param scope Scope of the secret to grant permission on. + * + * @return builder + * + */ + public Builder scope(Output scope) { + $.scope = scope; + return this; + } + + /** + * @param scope Scope of the secret to grant permission on. + * + * @return builder + * + */ + public Builder scope(String scope) { + return scope(Output.of(scope)); + } + + public AppResourceSecretArgs build() { + if ($.key == null) { + throw new MissingRequiredPropertyException("AppResourceSecretArgs", "key"); + } + if ($.permission == null) { + throw new MissingRequiredPropertyException("AppResourceSecretArgs", "permission"); + } + if ($.scope == null) { + throw new MissingRequiredPropertyException("AppResourceSecretArgs", "scope"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceServingEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceServingEndpointArgs.java new file mode 100644 index 00000000..d048bdc5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceServingEndpointArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class AppResourceServingEndpointArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppResourceServingEndpointArgs Empty = new AppResourceServingEndpointArgs(); + + /** + * Name of the serving endpoint to grant permission on. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + public Output name() { + return this.name; + } + + /** + * Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + * + */ + @Import(name="permission", required=true) + private Output permission; + + /** + * @return Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + * + */ + public Output permission() { + return this.permission; + } + + private AppResourceServingEndpointArgs() {} + + private AppResourceServingEndpointArgs(AppResourceServingEndpointArgs $) { + this.name = $.name; + this.permission = $.permission; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppResourceServingEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppResourceServingEndpointArgs $; + + public Builder() { + $ = new AppResourceServingEndpointArgs(); + } + + public Builder(AppResourceServingEndpointArgs defaults) { + $ = new AppResourceServingEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the serving endpoint to grant permission on. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the serving endpoint to grant permission on. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param permission Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + * + * @return builder + * + */ + public Builder permission(Output permission) { + $.permission = permission; + return this; + } + + /** + * @param permission Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + * + * @return builder + * + */ + public Builder permission(String permission) { + return permission(Output.of(permission)); + } + + public AppResourceServingEndpointArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("AppResourceServingEndpointArgs", "name"); + } + if ($.permission == null) { + throw new MissingRequiredPropertyException("AppResourceServingEndpointArgs", "permission"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceSqlWarehouseArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceSqlWarehouseArgs.java new file mode 100644 index 00000000..4b386843 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppResourceSqlWarehouseArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class AppResourceSqlWarehouseArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppResourceSqlWarehouseArgs Empty = new AppResourceSqlWarehouseArgs(); + + /** + * Id of the SQL warehouse to grant permission on. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return Id of the SQL warehouse to grant permission on. + * + */ + public Output id() { + return this.id; + } + + /** + * Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + * + */ + @Import(name="permission", required=true) + private Output permission; + + /** + * @return Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + * + */ + public Output permission() { + return this.permission; + } + + private AppResourceSqlWarehouseArgs() {} + + private AppResourceSqlWarehouseArgs(AppResourceSqlWarehouseArgs $) { + this.id = $.id; + this.permission = $.permission; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppResourceSqlWarehouseArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppResourceSqlWarehouseArgs $; + + public Builder() { + $ = new AppResourceSqlWarehouseArgs(); + } + + public Builder(AppResourceSqlWarehouseArgs defaults) { + $ = new AppResourceSqlWarehouseArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id Id of the SQL warehouse to grant permission on. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id Id of the SQL warehouse to grant permission on. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param permission Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + * + * @return builder + * + */ + public Builder permission(Output permission) { + $.permission = permission; + return this; + } + + /** + * @param permission Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + * + * @return builder + * + */ + public Builder permission(String permission) { + return permission(Output.of(permission)); + } + + public AppResourceSqlWarehouseArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("AppResourceSqlWarehouseArgs", "id"); + } + if ($.permission == null) { + throw new MissingRequiredPropertyException("AppResourceSqlWarehouseArgs", "permission"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppState.java new file mode 100644 index 00000000..8f192ed6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/AppState.java @@ -0,0 +1,595 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.AppActiveDeploymentArgs; +import com.pulumi.databricks.inputs.AppAppStatusArgs; +import com.pulumi.databricks.inputs.AppComputeStatusArgs; +import com.pulumi.databricks.inputs.AppPendingDeploymentArgs; +import com.pulumi.databricks.inputs.AppResourceArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppState extends com.pulumi.resources.ResourceArgs { + + public static final AppState Empty = new AppState(); + + @Import(name="activeDeployment") + private @Nullable Output activeDeployment; + + public Optional> activeDeployment() { + return Optional.ofNullable(this.activeDeployment); + } + + /** + * attribute + * + */ + @Import(name="appStatus") + private @Nullable Output appStatus; + + /** + * @return attribute + * + */ + public Optional> appStatus() { + return Optional.ofNullable(this.appStatus); + } + + /** + * attribute + * + */ + @Import(name="computeStatus") + private @Nullable Output computeStatus; + + /** + * @return attribute + * + */ + public Optional> computeStatus() { + return Optional.ofNullable(this.computeStatus); + } + + /** + * The creation time of the app. + * + */ + @Import(name="createTime") + private @Nullable Output createTime; + + /** + * @return The creation time of the app. + * + */ + public Optional> createTime() { + return Optional.ofNullable(this.createTime); + } + + /** + * The email of the user that created the app. + * + */ + @Import(name="creator") + private @Nullable Output creator; + + /** + * @return The email of the user that created the app. + * + */ + public Optional> creator() { + return Optional.ofNullable(this.creator); + } + + /** + * The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + @Import(name="defaultSourceCodePath") + private @Nullable Output defaultSourceCodePath; + + /** + * @return The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + public Optional> defaultSourceCodePath() { + return Optional.ofNullable(this.defaultSourceCodePath); + } + + /** + * The description of the app. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return The description of the app. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="pendingDeployment") + private @Nullable Output pendingDeployment; + + public Optional> pendingDeployment() { + return Optional.ofNullable(this.pendingDeployment); + } + + /** + * A list of resources that the app have access to. + * + */ + @Import(name="resources") + private @Nullable Output> resources; + + /** + * @return A list of resources that the app have access to. + * + */ + public Optional>> resources() { + return Optional.ofNullable(this.resources); + } + + @Import(name="servicePrincipalClientId") + private @Nullable Output servicePrincipalClientId; + + public Optional> servicePrincipalClientId() { + return Optional.ofNullable(this.servicePrincipalClientId); + } + + /** + * id of the app service principal + * + */ + @Import(name="servicePrincipalId") + private @Nullable Output servicePrincipalId; + + /** + * @return id of the app service principal + * + */ + public Optional> servicePrincipalId() { + return Optional.ofNullable(this.servicePrincipalId); + } + + /** + * name of the app service principal + * + */ + @Import(name="servicePrincipalName") + private @Nullable Output servicePrincipalName; + + /** + * @return name of the app service principal + * + */ + public Optional> servicePrincipalName() { + return Optional.ofNullable(this.servicePrincipalName); + } + + /** + * The update time of the app. + * + */ + @Import(name="updateTime") + private @Nullable Output updateTime; + + /** + * @return The update time of the app. + * + */ + public Optional> updateTime() { + return Optional.ofNullable(this.updateTime); + } + + /** + * The email of the user that last updated the app. + * + */ + @Import(name="updater") + private @Nullable Output updater; + + /** + * @return The email of the user that last updated the app. + * + */ + public Optional> updater() { + return Optional.ofNullable(this.updater); + } + + /** + * The URL of the app once it is deployed. + * + */ + @Import(name="url") + private @Nullable Output url; + + /** + * @return The URL of the app once it is deployed. + * + */ + public Optional> url() { + return Optional.ofNullable(this.url); + } + + private AppState() {} + + private AppState(AppState $) { + this.activeDeployment = $.activeDeployment; + this.appStatus = $.appStatus; + this.computeStatus = $.computeStatus; + this.createTime = $.createTime; + this.creator = $.creator; + this.defaultSourceCodePath = $.defaultSourceCodePath; + this.description = $.description; + this.name = $.name; + this.pendingDeployment = $.pendingDeployment; + this.resources = $.resources; + this.servicePrincipalClientId = $.servicePrincipalClientId; + this.servicePrincipalId = $.servicePrincipalId; + this.servicePrincipalName = $.servicePrincipalName; + this.updateTime = $.updateTime; + this.updater = $.updater; + this.url = $.url; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppState $; + + public Builder() { + $ = new AppState(); + } + + public Builder(AppState defaults) { + $ = new AppState(Objects.requireNonNull(defaults)); + } + + public Builder activeDeployment(@Nullable Output activeDeployment) { + $.activeDeployment = activeDeployment; + return this; + } + + public Builder activeDeployment(AppActiveDeploymentArgs activeDeployment) { + return activeDeployment(Output.of(activeDeployment)); + } + + /** + * @param appStatus attribute + * + * @return builder + * + */ + public Builder appStatus(@Nullable Output appStatus) { + $.appStatus = appStatus; + return this; + } + + /** + * @param appStatus attribute + * + * @return builder + * + */ + public Builder appStatus(AppAppStatusArgs appStatus) { + return appStatus(Output.of(appStatus)); + } + + /** + * @param computeStatus attribute + * + * @return builder + * + */ + public Builder computeStatus(@Nullable Output computeStatus) { + $.computeStatus = computeStatus; + return this; + } + + /** + * @param computeStatus attribute + * + * @return builder + * + */ + public Builder computeStatus(AppComputeStatusArgs computeStatus) { + return computeStatus(Output.of(computeStatus)); + } + + /** + * @param createTime The creation time of the app. + * + * @return builder + * + */ + public Builder createTime(@Nullable Output createTime) { + $.createTime = createTime; + return this; + } + + /** + * @param createTime The creation time of the app. + * + * @return builder + * + */ + public Builder createTime(String createTime) { + return createTime(Output.of(createTime)); + } + + /** + * @param creator The email of the user that created the app. + * + * @return builder + * + */ + public Builder creator(@Nullable Output creator) { + $.creator = creator; + return this; + } + + /** + * @param creator The email of the user that created the app. + * + * @return builder + * + */ + public Builder creator(String creator) { + return creator(Output.of(creator)); + } + + /** + * @param defaultSourceCodePath The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + * @return builder + * + */ + public Builder defaultSourceCodePath(@Nullable Output defaultSourceCodePath) { + $.defaultSourceCodePath = defaultSourceCodePath; + return this; + } + + /** + * @param defaultSourceCodePath The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + * @return builder + * + */ + public Builder defaultSourceCodePath(String defaultSourceCodePath) { + return defaultSourceCodePath(Output.of(defaultSourceCodePath)); + } + + /** + * @param description The description of the app. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description The description of the app. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder pendingDeployment(@Nullable Output pendingDeployment) { + $.pendingDeployment = pendingDeployment; + return this; + } + + public Builder pendingDeployment(AppPendingDeploymentArgs pendingDeployment) { + return pendingDeployment(Output.of(pendingDeployment)); + } + + /** + * @param resources A list of resources that the app have access to. + * + * @return builder + * + */ + public Builder resources(@Nullable Output> resources) { + $.resources = resources; + return this; + } + + /** + * @param resources A list of resources that the app have access to. + * + * @return builder + * + */ + public Builder resources(List resources) { + return resources(Output.of(resources)); + } + + /** + * @param resources A list of resources that the app have access to. + * + * @return builder + * + */ + public Builder resources(AppResourceArgs... resources) { + return resources(List.of(resources)); + } + + public Builder servicePrincipalClientId(@Nullable Output servicePrincipalClientId) { + $.servicePrincipalClientId = servicePrincipalClientId; + return this; + } + + public Builder servicePrincipalClientId(String servicePrincipalClientId) { + return servicePrincipalClientId(Output.of(servicePrincipalClientId)); + } + + /** + * @param servicePrincipalId id of the app service principal + * + * @return builder + * + */ + public Builder servicePrincipalId(@Nullable Output servicePrincipalId) { + $.servicePrincipalId = servicePrincipalId; + return this; + } + + /** + * @param servicePrincipalId id of the app service principal + * + * @return builder + * + */ + public Builder servicePrincipalId(Integer servicePrincipalId) { + return servicePrincipalId(Output.of(servicePrincipalId)); + } + + /** + * @param servicePrincipalName name of the app service principal + * + * @return builder + * + */ + public Builder servicePrincipalName(@Nullable Output servicePrincipalName) { + $.servicePrincipalName = servicePrincipalName; + return this; + } + + /** + * @param servicePrincipalName name of the app service principal + * + * @return builder + * + */ + public Builder servicePrincipalName(String servicePrincipalName) { + return servicePrincipalName(Output.of(servicePrincipalName)); + } + + /** + * @param updateTime The update time of the app. + * + * @return builder + * + */ + public Builder updateTime(@Nullable Output updateTime) { + $.updateTime = updateTime; + return this; + } + + /** + * @param updateTime The update time of the app. + * + * @return builder + * + */ + public Builder updateTime(String updateTime) { + return updateTime(Output.of(updateTime)); + } + + /** + * @param updater The email of the user that last updated the app. + * + * @return builder + * + */ + public Builder updater(@Nullable Output updater) { + $.updater = updater; + return this; + } + + /** + * @param updater The email of the user that last updated the app. + * + * @return builder + * + */ + public Builder updater(String updater) { + return updater(Output.of(updater)); + } + + /** + * @param url The URL of the app once it is deployed. + * + * @return builder + * + */ + public Builder url(@Nullable Output url) { + $.url = url; + return this; + } + + /** + * @param url The URL of the app once it is deployed. + * + * @return builder + * + */ + public Builder url(String url) { + return url(Output.of(url)); + } + + public AppState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java index bb79dfad..50d46cc2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java @@ -373,6 +373,20 @@ public Optional> isPinned() { return Optional.ofNullable(this.isPinned); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + @Import(name="libraries") private @Nullable Output> libraries; @@ -674,6 +688,13 @@ public Optional> url() { return Optional.ofNullable(this.url); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + @Import(name="workloadType") private @Nullable Output workloadType; @@ -706,6 +727,8 @@ private ClusterState(ClusterState $) { this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; this.isPinned = $.isPinned; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.noWait = $.noWait; this.nodeTypeId = $.nodeTypeId; @@ -719,6 +742,7 @@ private ClusterState(ClusterState $) { this.sshPublicKeys = $.sshPublicKeys; this.state = $.state; this.url = $.url; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -1188,6 +1212,24 @@ public Builder isPinned(Boolean isPinned) { return isPinned(Output.of(isPinned)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + public Builder libraries(@Nullable Output> libraries) { $.libraries = libraries; return this; @@ -1573,6 +1615,15 @@ public Builder url(String url) { return url(Output.of(url)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + public Builder workloadType(@Nullable Output workloadType) { $.workloadType = workloadType; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAwsIamRoleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAwsIamRoleArgs.java new file mode 100644 index 00000000..4e808235 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAwsIamRoleArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CredentialAwsIamRoleArgs extends com.pulumi.resources.ResourceArgs { + + public static final CredentialAwsIamRoleArgs Empty = new CredentialAwsIamRoleArgs(); + + @Import(name="externalId") + private @Nullable Output externalId; + + public Optional> externalId() { + return Optional.ofNullable(this.externalId); + } + + /** + * The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + * + */ + @Import(name="roleArn") + private @Nullable Output roleArn; + + /** + * @return The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + * + */ + public Optional> roleArn() { + return Optional.ofNullable(this.roleArn); + } + + @Import(name="unityCatalogIamArn") + private @Nullable Output unityCatalogIamArn; + + public Optional> unityCatalogIamArn() { + return Optional.ofNullable(this.unityCatalogIamArn); + } + + private CredentialAwsIamRoleArgs() {} + + private CredentialAwsIamRoleArgs(CredentialAwsIamRoleArgs $) { + this.externalId = $.externalId; + this.roleArn = $.roleArn; + this.unityCatalogIamArn = $.unityCatalogIamArn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CredentialAwsIamRoleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CredentialAwsIamRoleArgs $; + + public Builder() { + $ = new CredentialAwsIamRoleArgs(); + } + + public Builder(CredentialAwsIamRoleArgs defaults) { + $ = new CredentialAwsIamRoleArgs(Objects.requireNonNull(defaults)); + } + + public Builder externalId(@Nullable Output externalId) { + $.externalId = externalId; + return this; + } + + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + /** + * @param roleArn The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + * + * @return builder + * + */ + public Builder roleArn(@Nullable Output roleArn) { + $.roleArn = roleArn; + return this; + } + + /** + * @param roleArn The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + * + * @return builder + * + */ + public Builder roleArn(String roleArn) { + return roleArn(Output.of(roleArn)); + } + + public Builder unityCatalogIamArn(@Nullable Output unityCatalogIamArn) { + $.unityCatalogIamArn = unityCatalogIamArn; + return this; + } + + public Builder unityCatalogIamArn(String unityCatalogIamArn) { + return unityCatalogIamArn(Output.of(unityCatalogIamArn)); + } + + public CredentialAwsIamRoleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAzureManagedIdentityArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAzureManagedIdentityArgs.java new file mode 100644 index 00000000..17377eb0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAzureManagedIdentityArgs.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CredentialAzureManagedIdentityArgs extends com.pulumi.resources.ResourceArgs { + + public static final CredentialAzureManagedIdentityArgs Empty = new CredentialAzureManagedIdentityArgs(); + + /** + * The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + * + */ + @Import(name="accessConnectorId", required=true) + private Output accessConnectorId; + + /** + * @return The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + * + */ + public Output accessConnectorId() { + return this.accessConnectorId; + } + + /** + * Unique ID of the credential. + * + */ + @Import(name="credentialId") + private @Nullable Output credentialId; + + /** + * @return Unique ID of the credential. + * + */ + public Optional> credentialId() { + return Optional.ofNullable(this.credentialId); + } + + /** + * The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + * + */ + @Import(name="managedIdentityId") + private @Nullable Output managedIdentityId; + + /** + * @return The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + * + */ + public Optional> managedIdentityId() { + return Optional.ofNullable(this.managedIdentityId); + } + + private CredentialAzureManagedIdentityArgs() {} + + private CredentialAzureManagedIdentityArgs(CredentialAzureManagedIdentityArgs $) { + this.accessConnectorId = $.accessConnectorId; + this.credentialId = $.credentialId; + this.managedIdentityId = $.managedIdentityId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CredentialAzureManagedIdentityArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CredentialAzureManagedIdentityArgs $; + + public Builder() { + $ = new CredentialAzureManagedIdentityArgs(); + } + + public Builder(CredentialAzureManagedIdentityArgs defaults) { + $ = new CredentialAzureManagedIdentityArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessConnectorId The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + * + * @return builder + * + */ + public Builder accessConnectorId(Output accessConnectorId) { + $.accessConnectorId = accessConnectorId; + return this; + } + + /** + * @param accessConnectorId The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + * + * @return builder + * + */ + public Builder accessConnectorId(String accessConnectorId) { + return accessConnectorId(Output.of(accessConnectorId)); + } + + /** + * @param credentialId Unique ID of the credential. + * + * @return builder + * + */ + public Builder credentialId(@Nullable Output credentialId) { + $.credentialId = credentialId; + return this; + } + + /** + * @param credentialId Unique ID of the credential. + * + * @return builder + * + */ + public Builder credentialId(String credentialId) { + return credentialId(Output.of(credentialId)); + } + + /** + * @param managedIdentityId The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + * + * @return builder + * + */ + public Builder managedIdentityId(@Nullable Output managedIdentityId) { + $.managedIdentityId = managedIdentityId; + return this; + } + + /** + * @param managedIdentityId The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + * + * @return builder + * + */ + public Builder managedIdentityId(String managedIdentityId) { + return managedIdentityId(Output.of(managedIdentityId)); + } + + public CredentialAzureManagedIdentityArgs build() { + if ($.accessConnectorId == null) { + throw new MissingRequiredPropertyException("CredentialAzureManagedIdentityArgs", "accessConnectorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAzureServicePrincipalArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAzureServicePrincipalArgs.java new file mode 100644 index 00000000..bc960068 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialAzureServicePrincipalArgs.java @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class CredentialAzureServicePrincipalArgs extends com.pulumi.resources.ResourceArgs { + + public static final CredentialAzureServicePrincipalArgs Empty = new CredentialAzureServicePrincipalArgs(); + + /** + * The application ID of the application registration within the referenced AAD tenant + * + */ + @Import(name="applicationId", required=true) + private Output applicationId; + + /** + * @return The application ID of the application registration within the referenced AAD tenant + * + */ + public Output applicationId() { + return this.applicationId; + } + + /** + * The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + * + */ + @Import(name="clientSecret", required=true) + private Output clientSecret; + + /** + * @return The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + * + */ + public Output clientSecret() { + return this.clientSecret; + } + + /** + * The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + * + */ + @Import(name="directoryId", required=true) + private Output directoryId; + + /** + * @return The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + * + */ + public Output directoryId() { + return this.directoryId; + } + + private CredentialAzureServicePrincipalArgs() {} + + private CredentialAzureServicePrincipalArgs(CredentialAzureServicePrincipalArgs $) { + this.applicationId = $.applicationId; + this.clientSecret = $.clientSecret; + this.directoryId = $.directoryId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CredentialAzureServicePrincipalArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CredentialAzureServicePrincipalArgs $; + + public Builder() { + $ = new CredentialAzureServicePrincipalArgs(); + } + + public Builder(CredentialAzureServicePrincipalArgs defaults) { + $ = new CredentialAzureServicePrincipalArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param applicationId The application ID of the application registration within the referenced AAD tenant + * + * @return builder + * + */ + public Builder applicationId(Output applicationId) { + $.applicationId = applicationId; + return this; + } + + /** + * @param applicationId The application ID of the application registration within the referenced AAD tenant + * + * @return builder + * + */ + public Builder applicationId(String applicationId) { + return applicationId(Output.of(applicationId)); + } + + /** + * @param clientSecret The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + * + * @return builder + * + */ + public Builder clientSecret(Output clientSecret) { + $.clientSecret = clientSecret; + return this; + } + + /** + * @param clientSecret The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + * + * @return builder + * + */ + public Builder clientSecret(String clientSecret) { + return clientSecret(Output.of(clientSecret)); + } + + /** + * @param directoryId The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + * + * @return builder + * + */ + public Builder directoryId(Output directoryId) { + $.directoryId = directoryId; + return this; + } + + /** + * @param directoryId The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + * + * @return builder + * + */ + public Builder directoryId(String directoryId) { + return directoryId(Output.of(directoryId)); + } + + public CredentialAzureServicePrincipalArgs build() { + if ($.applicationId == null) { + throw new MissingRequiredPropertyException("CredentialAzureServicePrincipalArgs", "applicationId"); + } + if ($.clientSecret == null) { + throw new MissingRequiredPropertyException("CredentialAzureServicePrincipalArgs", "clientSecret"); + } + if ($.directoryId == null) { + throw new MissingRequiredPropertyException("CredentialAzureServicePrincipalArgs", "directoryId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialDatabricksGcpServiceAccountArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialDatabricksGcpServiceAccountArgs.java new file mode 100644 index 00000000..c48a1932 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialDatabricksGcpServiceAccountArgs.java @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CredentialDatabricksGcpServiceAccountArgs extends com.pulumi.resources.ResourceArgs { + + public static final CredentialDatabricksGcpServiceAccountArgs Empty = new CredentialDatabricksGcpServiceAccountArgs(); + + /** + * Unique ID of the credential. + * + */ + @Import(name="credentialId") + private @Nullable Output credentialId; + + /** + * @return Unique ID of the credential. + * + */ + public Optional> credentialId() { + return Optional.ofNullable(this.credentialId); + } + + /** + * The email of the GCP service account created, to be granted access to relevant buckets. + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return The email of the GCP service account created, to be granted access to relevant buckets. + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + @Import(name="privateKeyId") + private @Nullable Output privateKeyId; + + public Optional> privateKeyId() { + return Optional.ofNullable(this.privateKeyId); + } + + private CredentialDatabricksGcpServiceAccountArgs() {} + + private CredentialDatabricksGcpServiceAccountArgs(CredentialDatabricksGcpServiceAccountArgs $) { + this.credentialId = $.credentialId; + this.email = $.email; + this.privateKeyId = $.privateKeyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CredentialDatabricksGcpServiceAccountArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CredentialDatabricksGcpServiceAccountArgs $; + + public Builder() { + $ = new CredentialDatabricksGcpServiceAccountArgs(); + } + + public Builder(CredentialDatabricksGcpServiceAccountArgs defaults) { + $ = new CredentialDatabricksGcpServiceAccountArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param credentialId Unique ID of the credential. + * + * @return builder + * + */ + public Builder credentialId(@Nullable Output credentialId) { + $.credentialId = credentialId; + return this; + } + + /** + * @param credentialId Unique ID of the credential. + * + * @return builder + * + */ + public Builder credentialId(String credentialId) { + return credentialId(Output.of(credentialId)); + } + + /** + * @param email The email of the GCP service account created, to be granted access to relevant buckets. + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email The email of the GCP service account created, to be granted access to relevant buckets. + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + public Builder privateKeyId(@Nullable Output privateKeyId) { + $.privateKeyId = privateKeyId; + return this; + } + + public Builder privateKeyId(String privateKeyId) { + return privateKeyId(Output.of(privateKeyId)); + } + + public CredentialDatabricksGcpServiceAccountArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialState.java new file mode 100644 index 00000000..1c24aa18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/CredentialState.java @@ -0,0 +1,597 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.CredentialAwsIamRoleArgs; +import com.pulumi.databricks.inputs.CredentialAzureManagedIdentityArgs; +import com.pulumi.databricks.inputs.CredentialAzureServicePrincipalArgs; +import com.pulumi.databricks.inputs.CredentialDatabricksGcpServiceAccountArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CredentialState extends com.pulumi.resources.ResourceArgs { + + public static final CredentialState Empty = new CredentialState(); + + @Import(name="awsIamRole") + private @Nullable Output awsIamRole; + + public Optional> awsIamRole() { + return Optional.ofNullable(this.awsIamRole); + } + + @Import(name="azureManagedIdentity") + private @Nullable Output azureManagedIdentity; + + public Optional> azureManagedIdentity() { + return Optional.ofNullable(this.azureManagedIdentity); + } + + @Import(name="azureServicePrincipal") + private @Nullable Output azureServicePrincipal; + + public Optional> azureServicePrincipal() { + return Optional.ofNullable(this.azureServicePrincipal); + } + + @Import(name="comment") + private @Nullable Output comment; + + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + @Import(name="createdAt") + private @Nullable Output createdAt; + + public Optional> createdAt() { + return Optional.ofNullable(this.createdAt); + } + + @Import(name="createdBy") + private @Nullable Output createdBy; + + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * Unique ID of the credential. + * + */ + @Import(name="credentialId") + private @Nullable Output credentialId; + + /** + * @return Unique ID of the credential. + * + */ + public Optional> credentialId() { + return Optional.ofNullable(this.credentialId); + } + + @Import(name="databricksGcpServiceAccount") + private @Nullable Output databricksGcpServiceAccount; + + public Optional> databricksGcpServiceAccount() { + return Optional.ofNullable(this.databricksGcpServiceAccount); + } + + /** + * Delete credential regardless of its dependencies. + * + */ + @Import(name="forceDestroy") + private @Nullable Output forceDestroy; + + /** + * @return Delete credential regardless of its dependencies. + * + */ + public Optional> forceDestroy() { + return Optional.ofNullable(this.forceDestroy); + } + + /** + * Update credential regardless of its dependents. + * + */ + @Import(name="forceUpdate") + private @Nullable Output forceUpdate; + + /** + * @return Update credential regardless of its dependents. + * + */ + public Optional> forceUpdate() { + return Optional.ofNullable(this.forceUpdate); + } + + @Import(name="fullName") + private @Nullable Output fullName; + + public Optional> fullName() { + return Optional.ofNullable(this.fullName); + } + + /** + * Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + */ + @Import(name="isolationMode") + private @Nullable Output isolationMode; + + /** + * @return Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + */ + public Optional> isolationMode() { + return Optional.ofNullable(this.isolationMode); + } + + @Import(name="metastoreId") + private @Nullable Output metastoreId; + + public Optional> metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Username/groupname/sp application_id of the credential owner. + * + */ + @Import(name="owner") + private @Nullable Output owner; + + /** + * @return Username/groupname/sp application_id of the credential owner. + * + */ + public Optional> owner() { + return Optional.ofNullable(this.owner); + } + + /** + * Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + */ + @Import(name="purpose") + private @Nullable Output purpose; + + /** + * @return Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + */ + public Optional> purpose() { + return Optional.ofNullable(this.purpose); + } + + /** + * Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + */ + @Import(name="readOnly") + private @Nullable Output readOnly; + + /** + * @return Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + */ + public Optional> readOnly() { + return Optional.ofNullable(this.readOnly); + } + + /** + * Suppress validation errors if any & force save the credential. + * + */ + @Import(name="skipValidation") + private @Nullable Output skipValidation; + + /** + * @return Suppress validation errors if any & force save the credential. + * + */ + public Optional> skipValidation() { + return Optional.ofNullable(this.skipValidation); + } + + @Import(name="updatedAt") + private @Nullable Output updatedAt; + + public Optional> updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + + @Import(name="updatedBy") + private @Nullable Output updatedBy; + + public Optional> updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + @Import(name="usedForManagedStorage") + private @Nullable Output usedForManagedStorage; + + public Optional> usedForManagedStorage() { + return Optional.ofNullable(this.usedForManagedStorage); + } + + private CredentialState() {} + + private CredentialState(CredentialState $) { + this.awsIamRole = $.awsIamRole; + this.azureManagedIdentity = $.azureManagedIdentity; + this.azureServicePrincipal = $.azureServicePrincipal; + this.comment = $.comment; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.credentialId = $.credentialId; + this.databricksGcpServiceAccount = $.databricksGcpServiceAccount; + this.forceDestroy = $.forceDestroy; + this.forceUpdate = $.forceUpdate; + this.fullName = $.fullName; + this.isolationMode = $.isolationMode; + this.metastoreId = $.metastoreId; + this.name = $.name; + this.owner = $.owner; + this.purpose = $.purpose; + this.readOnly = $.readOnly; + this.skipValidation = $.skipValidation; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + this.usedForManagedStorage = $.usedForManagedStorage; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CredentialState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CredentialState $; + + public Builder() { + $ = new CredentialState(); + } + + public Builder(CredentialState defaults) { + $ = new CredentialState(Objects.requireNonNull(defaults)); + } + + public Builder awsIamRole(@Nullable Output awsIamRole) { + $.awsIamRole = awsIamRole; + return this; + } + + public Builder awsIamRole(CredentialAwsIamRoleArgs awsIamRole) { + return awsIamRole(Output.of(awsIamRole)); + } + + public Builder azureManagedIdentity(@Nullable Output azureManagedIdentity) { + $.azureManagedIdentity = azureManagedIdentity; + return this; + } + + public Builder azureManagedIdentity(CredentialAzureManagedIdentityArgs azureManagedIdentity) { + return azureManagedIdentity(Output.of(azureManagedIdentity)); + } + + public Builder azureServicePrincipal(@Nullable Output azureServicePrincipal) { + $.azureServicePrincipal = azureServicePrincipal; + return this; + } + + public Builder azureServicePrincipal(CredentialAzureServicePrincipalArgs azureServicePrincipal) { + return azureServicePrincipal(Output.of(azureServicePrincipal)); + } + + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + public Builder createdAt(@Nullable Output createdAt) { + $.createdAt = createdAt; + return this; + } + + public Builder createdAt(Integer createdAt) { + return createdAt(Output.of(createdAt)); + } + + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + /** + * @param credentialId Unique ID of the credential. + * + * @return builder + * + */ + public Builder credentialId(@Nullable Output credentialId) { + $.credentialId = credentialId; + return this; + } + + /** + * @param credentialId Unique ID of the credential. + * + * @return builder + * + */ + public Builder credentialId(String credentialId) { + return credentialId(Output.of(credentialId)); + } + + public Builder databricksGcpServiceAccount(@Nullable Output databricksGcpServiceAccount) { + $.databricksGcpServiceAccount = databricksGcpServiceAccount; + return this; + } + + public Builder databricksGcpServiceAccount(CredentialDatabricksGcpServiceAccountArgs databricksGcpServiceAccount) { + return databricksGcpServiceAccount(Output.of(databricksGcpServiceAccount)); + } + + /** + * @param forceDestroy Delete credential regardless of its dependencies. + * + * @return builder + * + */ + public Builder forceDestroy(@Nullable Output forceDestroy) { + $.forceDestroy = forceDestroy; + return this; + } + + /** + * @param forceDestroy Delete credential regardless of its dependencies. + * + * @return builder + * + */ + public Builder forceDestroy(Boolean forceDestroy) { + return forceDestroy(Output.of(forceDestroy)); + } + + /** + * @param forceUpdate Update credential regardless of its dependents. + * + * @return builder + * + */ + public Builder forceUpdate(@Nullable Output forceUpdate) { + $.forceUpdate = forceUpdate; + return this; + } + + /** + * @param forceUpdate Update credential regardless of its dependents. + * + * @return builder + * + */ + public Builder forceUpdate(Boolean forceUpdate) { + return forceUpdate(Output.of(forceUpdate)); + } + + public Builder fullName(@Nullable Output fullName) { + $.fullName = fullName; + return this; + } + + public Builder fullName(String fullName) { + return fullName(Output.of(fullName)); + } + + /** + * @param isolationMode Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + * @return builder + * + */ + public Builder isolationMode(@Nullable Output isolationMode) { + $.isolationMode = isolationMode; + return this; + } + + /** + * @param isolationMode Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `aws_iam_role` optional configuration block for credential details for AWS: + * + * @return builder + * + */ + public Builder isolationMode(String isolationMode) { + return isolationMode(Output.of(isolationMode)); + } + + public Builder metastoreId(@Nullable Output metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + public Builder metastoreId(String metastoreId) { + return metastoreId(Output.of(metastoreId)); + } + + /** + * @param name Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param owner Username/groupname/sp application_id of the credential owner. + * + * @return builder + * + */ + public Builder owner(@Nullable Output owner) { + $.owner = owner; + return this; + } + + /** + * @param owner Username/groupname/sp application_id of the credential owner. + * + * @return builder + * + */ + public Builder owner(String owner) { + return owner(Output.of(owner)); + } + + /** + * @param purpose Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + * @return builder + * + */ + public Builder purpose(@Nullable Output purpose) { + $.purpose = purpose; + return this; + } + + /** + * @param purpose Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + * + * @return builder + * + */ + public Builder purpose(String purpose) { + return purpose(Output.of(purpose)); + } + + /** + * @param readOnly Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + * @return builder + * + */ + public Builder readOnly(@Nullable Output readOnly) { + $.readOnly = readOnly; + return this; + } + + /** + * @param readOnly Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + * + * @return builder + * + */ + public Builder readOnly(Boolean readOnly) { + return readOnly(Output.of(readOnly)); + } + + /** + * @param skipValidation Suppress validation errors if any & force save the credential. + * + * @return builder + * + */ + public Builder skipValidation(@Nullable Output skipValidation) { + $.skipValidation = skipValidation; + return this; + } + + /** + * @param skipValidation Suppress validation errors if any & force save the credential. + * + * @return builder + * + */ + public Builder skipValidation(Boolean skipValidation) { + return skipValidation(Output.of(skipValidation)); + } + + public Builder updatedAt(@Nullable Output updatedAt) { + $.updatedAt = updatedAt; + return this; + } + + public Builder updatedAt(Integer updatedAt) { + return updatedAt(Output.of(updatedAt)); + } + + public Builder updatedBy(@Nullable Output updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + public Builder updatedBy(String updatedBy) { + return updatedBy(Output.of(updatedBy)); + } + + public Builder usedForManagedStorage(@Nullable Output usedForManagedStorage) { + $.usedForManagedStorage = usedForManagedStorage; + return this; + } + + public Builder usedForManagedStorage(Boolean usedForManagedStorage) { + return usedForManagedStorage(Output.of(usedForManagedStorage)); + } + + public CredentialState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAppArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAppArgs.java new file mode 100644 index 00000000..98dd46b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAppArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAppArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAppArgs Empty = new GetAppArgs(); + + /** + * The name of the app. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the app. + * + */ + public Output name() { + return this.name; + } + + private GetAppArgs() {} + + private GetAppArgs(GetAppArgs $) { + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAppArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAppArgs $; + + public Builder() { + $ = new GetAppArgs(); + } + + public Builder(GetAppArgs defaults) { + $ = new GetAppArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the app. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the app. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAppArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAppArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAppPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAppPlainArgs.java new file mode 100644 index 00000000..0cf203b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAppPlainArgs.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAppPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAppPlainArgs Empty = new GetAppPlainArgs(); + + /** + * The name of the app. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return The name of the app. + * + */ + public String name() { + return this.name; + } + + private GetAppPlainArgs() {} + + private GetAppPlainArgs(GetAppPlainArgs $) { + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAppPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAppPlainArgs $; + + public Builder() { + $ = new GetAppPlainArgs(); + } + + public Builder(GetAppPlainArgs defaults) { + $ = new GetAppPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the app. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public GetAppPlainArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAppPlainArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyArgs.java index e796fab1..ff603017 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyArgs.java @@ -17,9 +17,36 @@ public final class GetAwsAssumeRolePolicyArgs extends com.pulumi.resources.Invok public static final GetAwsAssumeRolePolicyArgs Empty = new GetAwsAssumeRolePolicyArgs(); + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable Output awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional> awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ @Import(name="databricksAccountId") private @Nullable Output databricksAccountId; + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Optional> databricksAccountId() { return Optional.ofNullable(this.databricksAccountId); } @@ -57,6 +84,7 @@ public Optional> forLogDelivery() { private GetAwsAssumeRolePolicyArgs() {} private GetAwsAssumeRolePolicyArgs(GetAwsAssumeRolePolicyArgs $) { + this.awsPartition = $.awsPartition; this.databricksAccountId = $.databricksAccountId; this.externalId = $.externalId; this.forLogDelivery = $.forLogDelivery; @@ -80,11 +108,48 @@ public Builder(GetAwsAssumeRolePolicyArgs defaults) { $ = new GetAwsAssumeRolePolicyArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable Output awsPartition) { + $.awsPartition = awsPartition; + return this; + } + + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(String awsPartition) { + return awsPartition(Output.of(awsPartition)); + } + + /** + * @return builder + * + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Builder databricksAccountId(@Nullable Output databricksAccountId) { $.databricksAccountId = databricksAccountId; return this; } + /** + * @return builder + * + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Builder databricksAccountId(String databricksAccountId) { return databricksAccountId(Output.of(databricksAccountId)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyPlainArgs.java index 66aaf7d0..efe5e859 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsAssumeRolePolicyPlainArgs.java @@ -16,9 +16,36 @@ public final class GetAwsAssumeRolePolicyPlainArgs extends com.pulumi.resources. public static final GetAwsAssumeRolePolicyPlainArgs Empty = new GetAwsAssumeRolePolicyPlainArgs(); + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable String awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ @Import(name="databricksAccountId") private @Nullable String databricksAccountId; + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Optional databricksAccountId() { return Optional.ofNullable(this.databricksAccountId); } @@ -56,6 +83,7 @@ public Optional forLogDelivery() { private GetAwsAssumeRolePolicyPlainArgs() {} private GetAwsAssumeRolePolicyPlainArgs(GetAwsAssumeRolePolicyPlainArgs $) { + this.awsPartition = $.awsPartition; this.databricksAccountId = $.databricksAccountId; this.externalId = $.externalId; this.forLogDelivery = $.forLogDelivery; @@ -79,6 +107,25 @@ public Builder(GetAwsAssumeRolePolicyPlainArgs defaults) { $ = new GetAwsAssumeRolePolicyPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable String awsPartition) { + $.awsPartition = awsPartition; + return this; + } + + /** + * @return builder + * + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Builder databricksAccountId(@Nullable String databricksAccountId) { $.databricksAccountId = databricksAccountId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyArgs.java index fa0b2b02..b3fe4066 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyArgs.java @@ -16,6 +16,21 @@ public final class GetAwsBucketPolicyArgs extends com.pulumi.resources.InvokeArg public static final GetAwsBucketPolicyArgs Empty = new GetAwsBucketPolicyArgs(); + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable Output awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional> awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * AWS S3 Bucket name for which to generate the policy document. * @@ -31,9 +46,21 @@ public Output bucket() { return this.bucket; } + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ @Import(name="databricksAccountId") private @Nullable Output databricksAccountId; + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Optional> databricksAccountId() { return Optional.ofNullable(this.databricksAccountId); } @@ -71,6 +98,7 @@ public Optional> fullAccessRole() { private GetAwsBucketPolicyArgs() {} private GetAwsBucketPolicyArgs(GetAwsBucketPolicyArgs $) { + this.awsPartition = $.awsPartition; this.bucket = $.bucket; this.databricksAccountId = $.databricksAccountId; this.databricksE2AccountId = $.databricksE2AccountId; @@ -95,6 +123,27 @@ public Builder(GetAwsBucketPolicyArgs defaults) { $ = new GetAwsBucketPolicyArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable Output awsPartition) { + $.awsPartition = awsPartition; + return this; + } + + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(String awsPartition) { + return awsPartition(Output.of(awsPartition)); + } + /** * @param bucket AWS S3 Bucket name for which to generate the policy document. * @@ -116,11 +165,27 @@ public Builder bucket(String bucket) { return bucket(Output.of(bucket)); } + /** + * @return builder + * + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Builder databricksAccountId(@Nullable Output databricksAccountId) { $.databricksAccountId = databricksAccountId; return this; } + /** + * @return builder + * + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Builder databricksAccountId(String databricksAccountId) { return databricksAccountId(Output.of(databricksAccountId)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyPlainArgs.java index 6f63eef5..61fb57b6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsBucketPolicyPlainArgs.java @@ -15,6 +15,21 @@ public final class GetAwsBucketPolicyPlainArgs extends com.pulumi.resources.Invo public static final GetAwsBucketPolicyPlainArgs Empty = new GetAwsBucketPolicyPlainArgs(); + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable String awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * AWS S3 Bucket name for which to generate the policy document. * @@ -30,9 +45,21 @@ public String bucket() { return this.bucket; } + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ @Import(name="databricksAccountId") private @Nullable String databricksAccountId; + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Optional databricksAccountId() { return Optional.ofNullable(this.databricksAccountId); } @@ -70,6 +97,7 @@ public Optional fullAccessRole() { private GetAwsBucketPolicyPlainArgs() {} private GetAwsBucketPolicyPlainArgs(GetAwsBucketPolicyPlainArgs $) { + this.awsPartition = $.awsPartition; this.bucket = $.bucket; this.databricksAccountId = $.databricksAccountId; this.databricksE2AccountId = $.databricksE2AccountId; @@ -94,6 +122,17 @@ public Builder(GetAwsBucketPolicyPlainArgs defaults) { $ = new GetAwsBucketPolicyPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable String awsPartition) { + $.awsPartition = awsPartition; + return this; + } + /** * @param bucket AWS S3 Bucket name for which to generate the policy document. * @@ -105,6 +144,14 @@ public Builder bucket(String bucket) { return this; } + /** + * @return builder + * + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Builder databricksAccountId(@Nullable String databricksAccountId) { $.databricksAccountId = databricksAccountId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyArgs.java index 96577237..82e79832 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyArgs.java @@ -31,6 +31,21 @@ public Optional> awsAccountId() { return Optional.ofNullable(this.awsAccountId); } + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable Output awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional> awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. * The below arguments are only valid for `restricted` policy type @@ -112,6 +127,7 @@ private GetAwsCrossAccountPolicyArgs() {} private GetAwsCrossAccountPolicyArgs(GetAwsCrossAccountPolicyArgs $) { this.awsAccountId = $.awsAccountId; + this.awsPartition = $.awsPartition; this.passRoles = $.passRoles; this.policyType = $.policyType; this.region = $.region; @@ -158,6 +174,27 @@ public Builder awsAccountId(String awsAccountId) { return awsAccountId(Output.of(awsAccountId)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable Output awsPartition) { + $.awsPartition = awsPartition; + return this; + } + + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(String awsPartition) { + return awsPartition(Output.of(awsPartition)); + } + /** * @param passRoles List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. * The below arguments are only valid for `restricted` policy type diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyPlainArgs.java index acb23481..804b4257 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsCrossAccountPolicyPlainArgs.java @@ -30,6 +30,21 @@ public Optional awsAccountId() { return Optional.ofNullable(this.awsAccountId); } + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable String awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. * The below arguments are only valid for `restricted` policy type @@ -111,6 +126,7 @@ private GetAwsCrossAccountPolicyPlainArgs() {} private GetAwsCrossAccountPolicyPlainArgs(GetAwsCrossAccountPolicyPlainArgs $) { this.awsAccountId = $.awsAccountId; + this.awsPartition = $.awsPartition; this.passRoles = $.passRoles; this.policyType = $.policyType; this.region = $.region; @@ -147,6 +163,17 @@ public Builder awsAccountId(@Nullable String awsAccountId) { return this; } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable String awsPartition) { + $.awsPartition = awsPartition; + return this; + } + /** * @param passRoles List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. * The below arguments are only valid for `restricted` policy type diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyArgs.java index 04eb7af6..781a9343 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyArgs.java @@ -31,6 +31,21 @@ public Output awsAccountId() { return this.awsAccountId; } + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable Output awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional> awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * The storage credential external id. * @@ -62,14 +77,14 @@ public Output roleName() { } /** - * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * */ @Import(name="unityCatalogIamArn") private @Nullable Output unityCatalogIamArn; /** - * @return The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * @return The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * */ public Optional> unityCatalogIamArn() { @@ -80,6 +95,7 @@ private GetAwsUnityCatalogAssumeRolePolicyArgs() {} private GetAwsUnityCatalogAssumeRolePolicyArgs(GetAwsUnityCatalogAssumeRolePolicyArgs $) { this.awsAccountId = $.awsAccountId; + this.awsPartition = $.awsPartition; this.externalId = $.externalId; this.roleName = $.roleName; this.unityCatalogIamArn = $.unityCatalogIamArn; @@ -124,6 +140,27 @@ public Builder awsAccountId(String awsAccountId) { return awsAccountId(Output.of(awsAccountId)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable Output awsPartition) { + $.awsPartition = awsPartition; + return this; + } + + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(String awsPartition) { + return awsPartition(Output.of(awsPartition)); + } + /** * @param externalId The storage credential external id. * @@ -167,7 +204,7 @@ public Builder roleName(String roleName) { } /** - * @param unityCatalogIamArn The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * @param unityCatalogIamArn The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * * @return builder * @@ -178,7 +215,7 @@ public Builder unityCatalogIamArn(@Nullable Output unityCatalogIamArn) { } /** - * @param unityCatalogIamArn The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * @param unityCatalogIamArn The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyPlainArgs.java index f87b249f..76f07e33 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogAssumeRolePolicyPlainArgs.java @@ -30,6 +30,21 @@ public String awsAccountId() { return this.awsAccountId; } + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable String awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * The storage credential external id. * @@ -61,14 +76,14 @@ public String roleName() { } /** - * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * */ @Import(name="unityCatalogIamArn") private @Nullable String unityCatalogIamArn; /** - * @return The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * @return The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * */ public Optional unityCatalogIamArn() { @@ -79,6 +94,7 @@ private GetAwsUnityCatalogAssumeRolePolicyPlainArgs() {} private GetAwsUnityCatalogAssumeRolePolicyPlainArgs(GetAwsUnityCatalogAssumeRolePolicyPlainArgs $) { this.awsAccountId = $.awsAccountId; + this.awsPartition = $.awsPartition; this.externalId = $.externalId; this.roleName = $.roleName; this.unityCatalogIamArn = $.unityCatalogIamArn; @@ -113,6 +129,17 @@ public Builder awsAccountId(String awsAccountId) { return this; } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable String awsPartition) { + $.awsPartition = awsPartition; + return this; + } + /** * @param externalId The storage credential external id. * @@ -136,7 +163,7 @@ public Builder roleName(String roleName) { } /** - * @param unityCatalogIamArn The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * @param unityCatalogIamArn The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyArgs.java index 6846db8a..15737e11 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyArgs.java @@ -31,6 +31,21 @@ public Output awsAccountId() { return this.awsAccountId; } + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable Output awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional> awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. * @@ -80,6 +95,7 @@ private GetAwsUnityCatalogPolicyArgs() {} private GetAwsUnityCatalogPolicyArgs(GetAwsUnityCatalogPolicyArgs $) { this.awsAccountId = $.awsAccountId; + this.awsPartition = $.awsPartition; this.bucketName = $.bucketName; this.kmsName = $.kmsName; this.roleName = $.roleName; @@ -124,6 +140,27 @@ public Builder awsAccountId(String awsAccountId) { return awsAccountId(Output.of(awsAccountId)); } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable Output awsPartition) { + $.awsPartition = awsPartition; + return this; + } + + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(String awsPartition) { + return awsPartition(Output.of(awsPartition)); + } + /** * @param bucketName The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyPlainArgs.java index 4bf67798..350454b1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetAwsUnityCatalogPolicyPlainArgs.java @@ -30,6 +30,21 @@ public String awsAccountId() { return this.awsAccountId; } + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + @Import(name="awsPartition") + private @Nullable String awsPartition; + + /** + * @return AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + */ + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** * The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. * @@ -79,6 +94,7 @@ private GetAwsUnityCatalogPolicyPlainArgs() {} private GetAwsUnityCatalogPolicyPlainArgs(GetAwsUnityCatalogPolicyPlainArgs $) { this.awsAccountId = $.awsAccountId; + this.awsPartition = $.awsPartition; this.bucketName = $.bucketName; this.kmsName = $.kmsName; this.roleName = $.roleName; @@ -113,6 +129,17 @@ public Builder awsAccountId(String awsAccountId) { return this; } + /** + * @param awsPartition AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + * + * @return builder + * + */ + public Builder awsPartition(@Nullable String awsPartition) { + $.awsPartition = awsPartition; + return this; + } + /** * @param bucketName The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfo.java index 12d9bc58..86d23f41 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfo.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfo.java @@ -287,6 +287,13 @@ public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Boolean isSingleNode; + + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + @Import(name="jdbcPort") private @Nullable Integer jdbcPort; @@ -294,6 +301,13 @@ public Optional jdbcPort() { return Optional.ofNullable(this.jdbcPort); } + @Import(name="kind") + private @Nullable String kind; + + public Optional kind() { + return Optional.ofNullable(this.kind); + } + @Import(name="lastRestartedTime") private @Nullable Integer lastRestartedTime; @@ -484,6 +498,13 @@ public Optional terminationReason() { return Optional.ofNullable(this.terminationReason); } + @Import(name="useMlRuntime") + private @Nullable Boolean useMlRuntime; + + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + @Import(name="workloadType") private @Nullable GetClusterClusterInfoWorkloadType workloadType; @@ -519,7 +540,9 @@ private GetClusterClusterInfo(GetClusterClusterInfo $) { this.gcpAttributes = $.gcpAttributes; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; this.jdbcPort = $.jdbcPort; + this.kind = $.kind; this.lastRestartedTime = $.lastRestartedTime; this.lastStateLossTime = $.lastStateLossTime; this.nodeTypeId = $.nodeTypeId; @@ -538,6 +561,7 @@ private GetClusterClusterInfo(GetClusterClusterInfo $) { this.stateMessage = $.stateMessage; this.terminatedTime = $.terminatedTime; this.terminationReason = $.terminationReason; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -752,11 +776,21 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + public Builder jdbcPort(@Nullable Integer jdbcPort) { $.jdbcPort = jdbcPort; return this; } + public Builder kind(@Nullable String kind) { + $.kind = kind; + return this; + } + public Builder lastRestartedTime(@Nullable Integer lastRestartedTime) { $.lastRestartedTime = lastRestartedTime; return this; @@ -905,6 +939,11 @@ public Builder terminationReason(@Nullable GetClusterClusterInfoTerminationReaso return this; } + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + public Builder workloadType(@Nullable GetClusterClusterInfoWorkloadType workloadType) { $.workloadType = workloadType; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoArgs.java index f7b5552d..b08eca52 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoArgs.java @@ -288,6 +288,13 @@ public Optional> instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + @Import(name="jdbcPort") private @Nullable Output jdbcPort; @@ -295,6 +302,13 @@ public Optional> jdbcPort() { return Optional.ofNullable(this.jdbcPort); } + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + @Import(name="lastRestartedTime") private @Nullable Output lastRestartedTime; @@ -485,6 +499,13 @@ public Optional> terminationR return Optional.ofNullable(this.terminationReason); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + @Import(name="workloadType") private @Nullable Output workloadType; @@ -520,7 +541,9 @@ private GetClusterClusterInfoArgs(GetClusterClusterInfoArgs $) { this.gcpAttributes = $.gcpAttributes; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; this.jdbcPort = $.jdbcPort; + this.kind = $.kind; this.lastRestartedTime = $.lastRestartedTime; this.lastStateLossTime = $.lastStateLossTime; this.nodeTypeId = $.nodeTypeId; @@ -539,6 +562,7 @@ private GetClusterClusterInfoArgs(GetClusterClusterInfoArgs $) { this.stateMessage = $.stateMessage; this.terminatedTime = $.terminatedTime; this.terminationReason = $.terminationReason; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -913,6 +937,15 @@ public Builder instancePoolId(String instancePoolId) { return instancePoolId(Output.of(instancePoolId)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + public Builder jdbcPort(@Nullable Output jdbcPort) { $.jdbcPort = jdbcPort; return this; @@ -922,6 +955,15 @@ public Builder jdbcPort(Integer jdbcPort) { return jdbcPort(Output.of(jdbcPort)); } + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + public Builder lastRestartedTime(@Nullable Output lastRestartedTime) { $.lastRestartedTime = lastRestartedTime; return this; @@ -1190,6 +1232,15 @@ public Builder terminationReason(GetClusterClusterInfoTerminationReasonArgs term return terminationReason(Output.of(terminationReason)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + public Builder workloadType(@Nullable Output workloadType) { $.workloadType = workloadType; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpec.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpec.java index 6730d8ea..673c2e9f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpec.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpec.java @@ -242,6 +242,20 @@ public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Boolean isSingleNode; + + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable String kind; + + public Optional kind() { + return Optional.ofNullable(this.kind); + } + @Import(name="libraries") private @Nullable List libraries; @@ -376,6 +390,13 @@ public Optional> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Boolean useMlRuntime; + + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + @Import(name="workloadType") private @Nullable GetClusterClusterInfoSpecWorkloadType workloadType; @@ -405,6 +426,8 @@ private GetClusterClusterInfoSpec(GetClusterClusterInfoSpec $) { this.idempotencyToken = $.idempotencyToken; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.nodeTypeId = $.nodeTypeId; this.numWorkers = $.numWorkers; @@ -415,6 +438,7 @@ private GetClusterClusterInfoSpec(GetClusterClusterInfoSpec $) { this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -599,6 +623,16 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder kind(@Nullable String kind) { + $.kind = kind; + return this; + } + public Builder libraries(@Nullable List libraries) { $.libraries = libraries; return this; @@ -711,6 +745,11 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + public Builder workloadType(@Nullable GetClusterClusterInfoSpecWorkloadType workloadType) { $.workloadType = workloadType; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpecArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpecArgs.java index 9b0879ca..0086e4ff 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpecArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetClusterClusterInfoSpecArgs.java @@ -243,6 +243,20 @@ public Optional> instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + @Import(name="libraries") private @Nullable Output> libraries; @@ -377,6 +391,13 @@ public Optional>> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + @Import(name="workloadType") private @Nullable Output workloadType; @@ -406,6 +427,8 @@ private GetClusterClusterInfoSpecArgs(GetClusterClusterInfoSpecArgs $) { this.idempotencyToken = $.idempotencyToken; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.nodeTypeId = $.nodeTypeId; this.numWorkers = $.numWorkers; @@ -416,6 +439,7 @@ private GetClusterClusterInfoSpecArgs(GetClusterClusterInfoSpecArgs $) { this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -736,6 +760,24 @@ public Builder instancePoolId(String instancePoolId) { return instancePoolId(Output.of(instancePoolId)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + public Builder libraries(@Nullable Output> libraries) { $.libraries = libraries; return this; @@ -936,6 +978,15 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + public Builder workloadType(@Nullable Output workloadType) { $.workloadType = workloadType; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunction.java index c3f0bf6a..6465beed 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunction.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunction.java @@ -4,12 +4,13 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionInputParams; -import com.pulumi.databricks.inputs.GetFunctionsFunctionReturnParams; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencies; +import com.pulumi.databricks.inputs.GetFunctionsFunctionInputParam; +import com.pulumi.databricks.inputs.GetFunctionsFunctionReturnParam; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependency; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -189,13 +190,13 @@ public Optional functionId() { * */ @Import(name="inputParams") - private @Nullable GetFunctionsFunctionInputParams inputParams; + private @Nullable List inputParams; /** * @return object describing input parameters. Consists of the single attribute: * */ - public Optional inputParams() { + public Optional> inputParams() { return Optional.ofNullable(this.inputParams); } @@ -309,13 +310,13 @@ public Optional properties() { * */ @Import(name="returnParams") - private @Nullable GetFunctionsFunctionReturnParams returnParams; + private @Nullable List returnParams; /** * @return Table function return parameters. See `input_params` for description. * */ - public Optional returnParams() { + public Optional> returnParams() { return Optional.ofNullable(this.returnParams); } @@ -354,13 +355,13 @@ public Optional routineDefinition() { * */ @Import(name="routineDependencies") - private @Nullable GetFunctionsFunctionRoutineDependencies routineDependencies; + private @Nullable List routineDependencies; /** * @return Function dependencies. * */ - public Optional routineDependencies() { + public Optional> routineDependencies() { return Optional.ofNullable(this.routineDependencies); } @@ -649,11 +650,21 @@ public Builder functionId(@Nullable String functionId) { * @return builder * */ - public Builder inputParams(@Nullable GetFunctionsFunctionInputParams inputParams) { + public Builder inputParams(@Nullable List inputParams) { $.inputParams = inputParams; return this; } + /** + * @param inputParams object describing input parameters. Consists of the single attribute: + * + * @return builder + * + */ + public Builder inputParams(GetFunctionsFunctionInputParam... inputParams) { + return inputParams(List.of(inputParams)); + } + /** * @param isDeterministic Boolean flag specifying whether the function is deterministic. * @@ -737,11 +748,21 @@ public Builder properties(@Nullable String properties) { * @return builder * */ - public Builder returnParams(@Nullable GetFunctionsFunctionReturnParams returnParams) { + public Builder returnParams(@Nullable List returnParams) { $.returnParams = returnParams; return this; } + /** + * @param returnParams Table function return parameters. See `input_params` for description. + * + * @return builder + * + */ + public Builder returnParams(GetFunctionsFunctionReturnParam... returnParams) { + return returnParams(List.of(returnParams)); + } + /** * @param routineBody Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. * @@ -770,11 +791,21 @@ public Builder routineDefinition(@Nullable String routineDefinition) { * @return builder * */ - public Builder routineDependencies(@Nullable GetFunctionsFunctionRoutineDependencies routineDependencies) { + public Builder routineDependencies(@Nullable List routineDependencies) { $.routineDependencies = routineDependencies; return this; } + /** + * @param routineDependencies Function dependencies. + * + * @return builder + * + */ + public Builder routineDependencies(GetFunctionsFunctionRoutineDependency... routineDependencies) { + return routineDependencies(List.of(routineDependencies)); + } + /** * @param schemaName Name of databricks_schema. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionArgs.java index 733eec65..083b48aa 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionArgs.java @@ -5,12 +5,13 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionInputParamsArgs; -import com.pulumi.databricks.inputs.GetFunctionsFunctionReturnParamsArgs; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesArgs; +import com.pulumi.databricks.inputs.GetFunctionsFunctionInputParamArgs; +import com.pulumi.databricks.inputs.GetFunctionsFunctionReturnParamArgs; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyArgs; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -190,13 +191,13 @@ public Optional> functionId() { * */ @Import(name="inputParams") - private @Nullable Output inputParams; + private @Nullable Output> inputParams; /** * @return object describing input parameters. Consists of the single attribute: * */ - public Optional> inputParams() { + public Optional>> inputParams() { return Optional.ofNullable(this.inputParams); } @@ -310,13 +311,13 @@ public Optional> properties() { * */ @Import(name="returnParams") - private @Nullable Output returnParams; + private @Nullable Output> returnParams; /** * @return Table function return parameters. See `input_params` for description. * */ - public Optional> returnParams() { + public Optional>> returnParams() { return Optional.ofNullable(this.returnParams); } @@ -355,13 +356,13 @@ public Optional> routineDefinition() { * */ @Import(name="routineDependencies") - private @Nullable Output routineDependencies; + private @Nullable Output> routineDependencies; /** * @return Function dependencies. * */ - public Optional> routineDependencies() { + public Optional>> routineDependencies() { return Optional.ofNullable(this.routineDependencies); } @@ -760,7 +761,7 @@ public Builder functionId(String functionId) { * @return builder * */ - public Builder inputParams(@Nullable Output inputParams) { + public Builder inputParams(@Nullable Output> inputParams) { $.inputParams = inputParams; return this; } @@ -771,10 +772,20 @@ public Builder inputParams(@Nullable Output * @return builder * */ - public Builder inputParams(GetFunctionsFunctionInputParamsArgs inputParams) { + public Builder inputParams(List inputParams) { return inputParams(Output.of(inputParams)); } + /** + * @param inputParams object describing input parameters. Consists of the single attribute: + * + * @return builder + * + */ + public Builder inputParams(GetFunctionsFunctionInputParamArgs... inputParams) { + return inputParams(List.of(inputParams)); + } + /** * @param isDeterministic Boolean flag specifying whether the function is deterministic. * @@ -928,7 +939,7 @@ public Builder properties(String properties) { * @return builder * */ - public Builder returnParams(@Nullable Output returnParams) { + public Builder returnParams(@Nullable Output> returnParams) { $.returnParams = returnParams; return this; } @@ -939,10 +950,20 @@ public Builder returnParams(@Nullable Output returnParams) { return returnParams(Output.of(returnParams)); } + /** + * @param returnParams Table function return parameters. See `input_params` for description. + * + * @return builder + * + */ + public Builder returnParams(GetFunctionsFunctionReturnParamArgs... returnParams) { + return returnParams(List.of(returnParams)); + } + /** * @param routineBody Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. * @@ -991,7 +1012,7 @@ public Builder routineDefinition(String routineDefinition) { * @return builder * */ - public Builder routineDependencies(@Nullable Output routineDependencies) { + public Builder routineDependencies(@Nullable Output> routineDependencies) { $.routineDependencies = routineDependencies; return this; } @@ -1002,10 +1023,20 @@ public Builder routineDependencies(@Nullable Output routineDependencies) { return routineDependencies(Output.of(routineDependencies)); } + /** + * @param routineDependencies Function dependencies. + * + * @return builder + * + */ + public Builder routineDependencies(GetFunctionsFunctionRoutineDependencyArgs... routineDependencies) { + return routineDependencies(List.of(routineDependencies)); + } + /** * @param schemaName Name of databricks_schema. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParams.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParam.java similarity index 64% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParams.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParam.java index 27826d62..c689c8a8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParams.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParam.java @@ -4,54 +4,54 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionInputParamsParameter; +import com.pulumi.databricks.inputs.GetFunctionsFunctionInputParamParameter; import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; -public final class GetFunctionsFunctionInputParams extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionInputParam extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionInputParams Empty = new GetFunctionsFunctionInputParams(); + public static final GetFunctionsFunctionInputParam Empty = new GetFunctionsFunctionInputParam(); /** * The array of definitions of the function's parameters: * */ @Import(name="parameters") - private @Nullable List parameters; + private @Nullable List parameters; /** * @return The array of definitions of the function's parameters: * */ - public Optional> parameters() { + public Optional> parameters() { return Optional.ofNullable(this.parameters); } - private GetFunctionsFunctionInputParams() {} + private GetFunctionsFunctionInputParam() {} - private GetFunctionsFunctionInputParams(GetFunctionsFunctionInputParams $) { + private GetFunctionsFunctionInputParam(GetFunctionsFunctionInputParam $) { this.parameters = $.parameters; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionInputParams defaults) { + public static Builder builder(GetFunctionsFunctionInputParam defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionInputParams $; + private GetFunctionsFunctionInputParam $; public Builder() { - $ = new GetFunctionsFunctionInputParams(); + $ = new GetFunctionsFunctionInputParam(); } - public Builder(GetFunctionsFunctionInputParams defaults) { - $ = new GetFunctionsFunctionInputParams(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionInputParam defaults) { + $ = new GetFunctionsFunctionInputParam(Objects.requireNonNull(defaults)); } /** @@ -60,7 +60,7 @@ public Builder(GetFunctionsFunctionInputParams defaults) { * @return builder * */ - public Builder parameters(@Nullable List parameters) { + public Builder parameters(@Nullable List parameters) { $.parameters = parameters; return this; } @@ -71,11 +71,11 @@ public Builder parameters(@Nullable List> parameters; + private @Nullable Output> parameters; /** * @return The array of definitions of the function's parameters: * */ - public Optional>> parameters() { + public Optional>> parameters() { return Optional.ofNullable(this.parameters); } - private GetFunctionsFunctionInputParamsArgs() {} + private GetFunctionsFunctionInputParamArgs() {} - private GetFunctionsFunctionInputParamsArgs(GetFunctionsFunctionInputParamsArgs $) { + private GetFunctionsFunctionInputParamArgs(GetFunctionsFunctionInputParamArgs $) { this.parameters = $.parameters; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionInputParamsArgs defaults) { + public static Builder builder(GetFunctionsFunctionInputParamArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionInputParamsArgs $; + private GetFunctionsFunctionInputParamArgs $; public Builder() { - $ = new GetFunctionsFunctionInputParamsArgs(); + $ = new GetFunctionsFunctionInputParamArgs(); } - public Builder(GetFunctionsFunctionInputParamsArgs defaults) { - $ = new GetFunctionsFunctionInputParamsArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionInputParamArgs defaults) { + $ = new GetFunctionsFunctionInputParamArgs(Objects.requireNonNull(defaults)); } /** @@ -61,7 +61,7 @@ public Builder(GetFunctionsFunctionInputParamsArgs defaults) { * @return builder * */ - public Builder parameters(@Nullable Output> parameters) { + public Builder parameters(@Nullable Output> parameters) { $.parameters = parameters; return this; } @@ -72,7 +72,7 @@ public Builder parameters(@Nullable Output parameters) { + public Builder parameters(List parameters) { return parameters(Output.of(parameters)); } @@ -82,11 +82,11 @@ public Builder parameters(List par * @return builder * */ - public Builder parameters(GetFunctionsFunctionInputParamsParameterArgs... parameters) { + public Builder parameters(GetFunctionsFunctionInputParamParameterArgs... parameters) { return parameters(List.of(parameters)); } - public GetFunctionsFunctionInputParamsArgs build() { + public GetFunctionsFunctionInputParamArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamsParameter.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamParameter.java similarity index 89% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamsParameter.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamParameter.java index 78eec7ec..84070670 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamsParameter.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamParameter.java @@ -12,9 +12,9 @@ import javax.annotation.Nullable; -public final class GetFunctionsFunctionReturnParamsParameter extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionInputParamParameter extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionReturnParamsParameter Empty = new GetFunctionsFunctionReturnParamsParameter(); + public static final GetFunctionsFunctionInputParamParameter Empty = new GetFunctionsFunctionInputParamParameter(); /** * User-provided free-form text description. @@ -196,9 +196,9 @@ public String typeText() { return this.typeText; } - private GetFunctionsFunctionReturnParamsParameter() {} + private GetFunctionsFunctionInputParamParameter() {} - private GetFunctionsFunctionReturnParamsParameter(GetFunctionsFunctionReturnParamsParameter $) { + private GetFunctionsFunctionInputParamParameter(GetFunctionsFunctionInputParamParameter $) { this.comment = $.comment; this.name = $.name; this.parameterDefault = $.parameterDefault; @@ -216,19 +216,19 @@ private GetFunctionsFunctionReturnParamsParameter(GetFunctionsFunctionReturnPara public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionReturnParamsParameter defaults) { + public static Builder builder(GetFunctionsFunctionInputParamParameter defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionReturnParamsParameter $; + private GetFunctionsFunctionInputParamParameter $; public Builder() { - $ = new GetFunctionsFunctionReturnParamsParameter(); + $ = new GetFunctionsFunctionInputParamParameter(); } - public Builder(GetFunctionsFunctionReturnParamsParameter defaults) { - $ = new GetFunctionsFunctionReturnParamsParameter(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionInputParamParameter defaults) { + $ = new GetFunctionsFunctionInputParamParameter(Objects.requireNonNull(defaults)); } /** @@ -363,18 +363,18 @@ public Builder typeText(String typeText) { return this; } - public GetFunctionsFunctionReturnParamsParameter build() { + public GetFunctionsFunctionInputParamParameter build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "name"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "name"); } if ($.position == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "position"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "position"); } if ($.typeName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "typeName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "typeName"); } if ($.typeText == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "typeText"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "typeText"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamsParameterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamParameterArgs.java similarity index 91% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamsParameterArgs.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamParameterArgs.java index 0ad32321..3256d737 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamsParameterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamParameterArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class GetFunctionsFunctionReturnParamsParameterArgs extends com.pulumi.resources.ResourceArgs { +public final class GetFunctionsFunctionInputParamParameterArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFunctionsFunctionReturnParamsParameterArgs Empty = new GetFunctionsFunctionReturnParamsParameterArgs(); + public static final GetFunctionsFunctionInputParamParameterArgs Empty = new GetFunctionsFunctionInputParamParameterArgs(); /** * User-provided free-form text description. @@ -197,9 +197,9 @@ public Output typeText() { return this.typeText; } - private GetFunctionsFunctionReturnParamsParameterArgs() {} + private GetFunctionsFunctionInputParamParameterArgs() {} - private GetFunctionsFunctionReturnParamsParameterArgs(GetFunctionsFunctionReturnParamsParameterArgs $) { + private GetFunctionsFunctionInputParamParameterArgs(GetFunctionsFunctionInputParamParameterArgs $) { this.comment = $.comment; this.name = $.name; this.parameterDefault = $.parameterDefault; @@ -217,19 +217,19 @@ private GetFunctionsFunctionReturnParamsParameterArgs(GetFunctionsFunctionReturn public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionReturnParamsParameterArgs defaults) { + public static Builder builder(GetFunctionsFunctionInputParamParameterArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionReturnParamsParameterArgs $; + private GetFunctionsFunctionInputParamParameterArgs $; public Builder() { - $ = new GetFunctionsFunctionReturnParamsParameterArgs(); + $ = new GetFunctionsFunctionInputParamParameterArgs(); } - public Builder(GetFunctionsFunctionReturnParamsParameterArgs defaults) { - $ = new GetFunctionsFunctionReturnParamsParameterArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionInputParamParameterArgs defaults) { + $ = new GetFunctionsFunctionInputParamParameterArgs(Objects.requireNonNull(defaults)); } /** @@ -484,18 +484,18 @@ public Builder typeText(String typeText) { return typeText(Output.of(typeText)); } - public GetFunctionsFunctionReturnParamsParameterArgs build() { + public GetFunctionsFunctionInputParamParameterArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameterArgs", "name"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameterArgs", "name"); } if ($.position == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameterArgs", "position"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameterArgs", "position"); } if ($.typeName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameterArgs", "typeName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameterArgs", "typeName"); } if ($.typeText == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameterArgs", "typeText"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameterArgs", "typeText"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParams.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParam.java similarity index 64% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParams.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParam.java index cfc667dc..9cd9518f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParams.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParam.java @@ -4,54 +4,54 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionReturnParamsParameter; +import com.pulumi.databricks.inputs.GetFunctionsFunctionReturnParamParameter; import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; -public final class GetFunctionsFunctionReturnParams extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionReturnParam extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionReturnParams Empty = new GetFunctionsFunctionReturnParams(); + public static final GetFunctionsFunctionReturnParam Empty = new GetFunctionsFunctionReturnParam(); /** * The array of definitions of the function's parameters: * */ @Import(name="parameters") - private @Nullable List parameters; + private @Nullable List parameters; /** * @return The array of definitions of the function's parameters: * */ - public Optional> parameters() { + public Optional> parameters() { return Optional.ofNullable(this.parameters); } - private GetFunctionsFunctionReturnParams() {} + private GetFunctionsFunctionReturnParam() {} - private GetFunctionsFunctionReturnParams(GetFunctionsFunctionReturnParams $) { + private GetFunctionsFunctionReturnParam(GetFunctionsFunctionReturnParam $) { this.parameters = $.parameters; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionReturnParams defaults) { + public static Builder builder(GetFunctionsFunctionReturnParam defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionReturnParams $; + private GetFunctionsFunctionReturnParam $; public Builder() { - $ = new GetFunctionsFunctionReturnParams(); + $ = new GetFunctionsFunctionReturnParam(); } - public Builder(GetFunctionsFunctionReturnParams defaults) { - $ = new GetFunctionsFunctionReturnParams(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionReturnParam defaults) { + $ = new GetFunctionsFunctionReturnParam(Objects.requireNonNull(defaults)); } /** @@ -60,7 +60,7 @@ public Builder(GetFunctionsFunctionReturnParams defaults) { * @return builder * */ - public Builder parameters(@Nullable List parameters) { + public Builder parameters(@Nullable List parameters) { $.parameters = parameters; return this; } @@ -71,11 +71,11 @@ public Builder parameters(@Nullable List> parameters; + private @Nullable Output> parameters; /** * @return The array of definitions of the function's parameters: * */ - public Optional>> parameters() { + public Optional>> parameters() { return Optional.ofNullable(this.parameters); } - private GetFunctionsFunctionReturnParamsArgs() {} + private GetFunctionsFunctionReturnParamArgs() {} - private GetFunctionsFunctionReturnParamsArgs(GetFunctionsFunctionReturnParamsArgs $) { + private GetFunctionsFunctionReturnParamArgs(GetFunctionsFunctionReturnParamArgs $) { this.parameters = $.parameters; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionReturnParamsArgs defaults) { + public static Builder builder(GetFunctionsFunctionReturnParamArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionReturnParamsArgs $; + private GetFunctionsFunctionReturnParamArgs $; public Builder() { - $ = new GetFunctionsFunctionReturnParamsArgs(); + $ = new GetFunctionsFunctionReturnParamArgs(); } - public Builder(GetFunctionsFunctionReturnParamsArgs defaults) { - $ = new GetFunctionsFunctionReturnParamsArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionReturnParamArgs defaults) { + $ = new GetFunctionsFunctionReturnParamArgs(Objects.requireNonNull(defaults)); } /** @@ -61,7 +61,7 @@ public Builder(GetFunctionsFunctionReturnParamsArgs defaults) { * @return builder * */ - public Builder parameters(@Nullable Output> parameters) { + public Builder parameters(@Nullable Output> parameters) { $.parameters = parameters; return this; } @@ -72,7 +72,7 @@ public Builder parameters(@Nullable Output parameters) { + public Builder parameters(List parameters) { return parameters(Output.of(parameters)); } @@ -82,11 +82,11 @@ public Builder parameters(List pa * @return builder * */ - public Builder parameters(GetFunctionsFunctionReturnParamsParameterArgs... parameters) { + public Builder parameters(GetFunctionsFunctionReturnParamParameterArgs... parameters) { return parameters(List.of(parameters)); } - public GetFunctionsFunctionReturnParamsArgs build() { + public GetFunctionsFunctionReturnParamArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamsParameter.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamParameter.java similarity index 90% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamsParameter.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamParameter.java index 6e363cd5..effe55ce 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamsParameter.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamParameter.java @@ -12,9 +12,9 @@ import javax.annotation.Nullable; -public final class GetFunctionsFunctionInputParamsParameter extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionReturnParamParameter extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionInputParamsParameter Empty = new GetFunctionsFunctionInputParamsParameter(); + public static final GetFunctionsFunctionReturnParamParameter Empty = new GetFunctionsFunctionReturnParamParameter(); /** * User-provided free-form text description. @@ -196,9 +196,9 @@ public String typeText() { return this.typeText; } - private GetFunctionsFunctionInputParamsParameter() {} + private GetFunctionsFunctionReturnParamParameter() {} - private GetFunctionsFunctionInputParamsParameter(GetFunctionsFunctionInputParamsParameter $) { + private GetFunctionsFunctionReturnParamParameter(GetFunctionsFunctionReturnParamParameter $) { this.comment = $.comment; this.name = $.name; this.parameterDefault = $.parameterDefault; @@ -216,19 +216,19 @@ private GetFunctionsFunctionInputParamsParameter(GetFunctionsFunctionInputParams public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionInputParamsParameter defaults) { + public static Builder builder(GetFunctionsFunctionReturnParamParameter defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionInputParamsParameter $; + private GetFunctionsFunctionReturnParamParameter $; public Builder() { - $ = new GetFunctionsFunctionInputParamsParameter(); + $ = new GetFunctionsFunctionReturnParamParameter(); } - public Builder(GetFunctionsFunctionInputParamsParameter defaults) { - $ = new GetFunctionsFunctionInputParamsParameter(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionReturnParamParameter defaults) { + $ = new GetFunctionsFunctionReturnParamParameter(Objects.requireNonNull(defaults)); } /** @@ -363,18 +363,18 @@ public Builder typeText(String typeText) { return this; } - public GetFunctionsFunctionInputParamsParameter build() { + public GetFunctionsFunctionReturnParamParameter build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "name"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "name"); } if ($.position == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "position"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "position"); } if ($.typeName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "typeName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "typeName"); } if ($.typeText == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "typeText"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "typeText"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamsParameterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamParameterArgs.java similarity index 92% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamsParameterArgs.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamParameterArgs.java index 1a01c625..ec1884da 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionInputParamsParameterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionReturnParamParameterArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class GetFunctionsFunctionInputParamsParameterArgs extends com.pulumi.resources.ResourceArgs { +public final class GetFunctionsFunctionReturnParamParameterArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFunctionsFunctionInputParamsParameterArgs Empty = new GetFunctionsFunctionInputParamsParameterArgs(); + public static final GetFunctionsFunctionReturnParamParameterArgs Empty = new GetFunctionsFunctionReturnParamParameterArgs(); /** * User-provided free-form text description. @@ -197,9 +197,9 @@ public Output typeText() { return this.typeText; } - private GetFunctionsFunctionInputParamsParameterArgs() {} + private GetFunctionsFunctionReturnParamParameterArgs() {} - private GetFunctionsFunctionInputParamsParameterArgs(GetFunctionsFunctionInputParamsParameterArgs $) { + private GetFunctionsFunctionReturnParamParameterArgs(GetFunctionsFunctionReturnParamParameterArgs $) { this.comment = $.comment; this.name = $.name; this.parameterDefault = $.parameterDefault; @@ -217,19 +217,19 @@ private GetFunctionsFunctionInputParamsParameterArgs(GetFunctionsFunctionInputPa public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionInputParamsParameterArgs defaults) { + public static Builder builder(GetFunctionsFunctionReturnParamParameterArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionInputParamsParameterArgs $; + private GetFunctionsFunctionReturnParamParameterArgs $; public Builder() { - $ = new GetFunctionsFunctionInputParamsParameterArgs(); + $ = new GetFunctionsFunctionReturnParamParameterArgs(); } - public Builder(GetFunctionsFunctionInputParamsParameterArgs defaults) { - $ = new GetFunctionsFunctionInputParamsParameterArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionReturnParamParameterArgs defaults) { + $ = new GetFunctionsFunctionReturnParamParameterArgs(Objects.requireNonNull(defaults)); } /** @@ -484,18 +484,18 @@ public Builder typeText(String typeText) { return typeText(Output.of(typeText)); } - public GetFunctionsFunctionInputParamsParameterArgs build() { + public GetFunctionsFunctionReturnParamParameterArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameterArgs", "name"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameterArgs", "name"); } if ($.position == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameterArgs", "position"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameterArgs", "position"); } if ($.typeName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameterArgs", "typeName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameterArgs", "typeName"); } if ($.typeText == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameterArgs", "typeText"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameterArgs", "typeText"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependency.java deleted file mode 100644 index 88a68a72..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependency.java +++ /dev/null @@ -1,72 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesDependencyFunction; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesDependencyTable; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetFunctionsFunctionRoutineDependenciesDependency extends com.pulumi.resources.InvokeArgs { - - public static final GetFunctionsFunctionRoutineDependenciesDependency Empty = new GetFunctionsFunctionRoutineDependenciesDependency(); - - @Import(name="function") - private @Nullable GetFunctionsFunctionRoutineDependenciesDependencyFunction function; - - public Optional function() { - return Optional.ofNullable(this.function); - } - - @Import(name="table") - private @Nullable GetFunctionsFunctionRoutineDependenciesDependencyTable table; - - public Optional table() { - return Optional.ofNullable(this.table); - } - - private GetFunctionsFunctionRoutineDependenciesDependency() {} - - private GetFunctionsFunctionRoutineDependenciesDependency(GetFunctionsFunctionRoutineDependenciesDependency $) { - this.function = $.function; - this.table = $.table; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependency defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesDependency $; - - public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesDependency(); - } - - public Builder(GetFunctionsFunctionRoutineDependenciesDependency defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesDependency(Objects.requireNonNull(defaults)); - } - - public Builder function(@Nullable GetFunctionsFunctionRoutineDependenciesDependencyFunction function) { - $.function = function; - return this; - } - - public Builder table(@Nullable GetFunctionsFunctionRoutineDependenciesDependencyTable table) { - $.table = table; - return this; - } - - public GetFunctionsFunctionRoutineDependenciesDependency build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyArgs.java deleted file mode 100644 index a91dcce7..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyArgs.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesDependencyTableArgs; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetFunctionsFunctionRoutineDependenciesDependencyArgs extends com.pulumi.resources.ResourceArgs { - - public static final GetFunctionsFunctionRoutineDependenciesDependencyArgs Empty = new GetFunctionsFunctionRoutineDependenciesDependencyArgs(); - - @Import(name="function") - private @Nullable Output function; - - public Optional> function() { - return Optional.ofNullable(this.function); - } - - @Import(name="table") - private @Nullable Output table; - - public Optional> table() { - return Optional.ofNullable(this.table); - } - - private GetFunctionsFunctionRoutineDependenciesDependencyArgs() {} - - private GetFunctionsFunctionRoutineDependenciesDependencyArgs(GetFunctionsFunctionRoutineDependenciesDependencyArgs $) { - this.function = $.function; - this.table = $.table; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesDependencyArgs $; - - public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyArgs(); - } - - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyArgs defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyArgs(Objects.requireNonNull(defaults)); - } - - public Builder function(@Nullable Output function) { - $.function = function; - return this; - } - - public Builder function(GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs function) { - return function(Output.of(function)); - } - - public Builder table(@Nullable Output table) { - $.table = table; - return this; - } - - public Builder table(GetFunctionsFunctionRoutineDependenciesDependencyTableArgs table) { - return table(Output.of(table)); - } - - public GetFunctionsFunctionRoutineDependenciesDependencyArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencies.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependency.java similarity index 51% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencies.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependency.java index a0acfdd3..7e326ddb 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencies.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependency.java @@ -4,58 +4,58 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesDependency; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyDependency; import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; -public final class GetFunctionsFunctionRoutineDependencies extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionRoutineDependency extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionRoutineDependencies Empty = new GetFunctionsFunctionRoutineDependencies(); + public static final GetFunctionsFunctionRoutineDependency Empty = new GetFunctionsFunctionRoutineDependency(); @Import(name="dependencies") - private @Nullable List dependencies; + private @Nullable List dependencies; - public Optional> dependencies() { + public Optional> dependencies() { return Optional.ofNullable(this.dependencies); } - private GetFunctionsFunctionRoutineDependencies() {} + private GetFunctionsFunctionRoutineDependency() {} - private GetFunctionsFunctionRoutineDependencies(GetFunctionsFunctionRoutineDependencies $) { + private GetFunctionsFunctionRoutineDependency(GetFunctionsFunctionRoutineDependency $) { this.dependencies = $.dependencies; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependencies defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependency defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionRoutineDependencies $; + private GetFunctionsFunctionRoutineDependency $; public Builder() { - $ = new GetFunctionsFunctionRoutineDependencies(); + $ = new GetFunctionsFunctionRoutineDependency(); } - public Builder(GetFunctionsFunctionRoutineDependencies defaults) { - $ = new GetFunctionsFunctionRoutineDependencies(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionRoutineDependency defaults) { + $ = new GetFunctionsFunctionRoutineDependency(Objects.requireNonNull(defaults)); } - public Builder dependencies(@Nullable List dependencies) { + public Builder dependencies(@Nullable List dependencies) { $.dependencies = dependencies; return this; } - public Builder dependencies(GetFunctionsFunctionRoutineDependenciesDependency... dependencies) { + public Builder dependencies(GetFunctionsFunctionRoutineDependencyDependency... dependencies) { return dependencies(List.of(dependencies)); } - public GetFunctionsFunctionRoutineDependencies build() { + public GetFunctionsFunctionRoutineDependency build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyArgs.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesArgs.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyArgs.java index d90ff0a4..2a941708 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyArgs.java @@ -5,62 +5,62 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependenciesDependencyArgs; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyDependencyArgs; import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; -public final class GetFunctionsFunctionRoutineDependenciesArgs extends com.pulumi.resources.ResourceArgs { +public final class GetFunctionsFunctionRoutineDependencyArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFunctionsFunctionRoutineDependenciesArgs Empty = new GetFunctionsFunctionRoutineDependenciesArgs(); + public static final GetFunctionsFunctionRoutineDependencyArgs Empty = new GetFunctionsFunctionRoutineDependencyArgs(); @Import(name="dependencies") - private @Nullable Output> dependencies; + private @Nullable Output> dependencies; - public Optional>> dependencies() { + public Optional>> dependencies() { return Optional.ofNullable(this.dependencies); } - private GetFunctionsFunctionRoutineDependenciesArgs() {} + private GetFunctionsFunctionRoutineDependencyArgs() {} - private GetFunctionsFunctionRoutineDependenciesArgs(GetFunctionsFunctionRoutineDependenciesArgs $) { + private GetFunctionsFunctionRoutineDependencyArgs(GetFunctionsFunctionRoutineDependencyArgs $) { this.dependencies = $.dependencies; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesArgs defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesArgs $; + private GetFunctionsFunctionRoutineDependencyArgs $; public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesArgs(); + $ = new GetFunctionsFunctionRoutineDependencyArgs(); } - public Builder(GetFunctionsFunctionRoutineDependenciesArgs defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionRoutineDependencyArgs defaults) { + $ = new GetFunctionsFunctionRoutineDependencyArgs(Objects.requireNonNull(defaults)); } - public Builder dependencies(@Nullable Output> dependencies) { + public Builder dependencies(@Nullable Output> dependencies) { $.dependencies = dependencies; return this; } - public Builder dependencies(List dependencies) { + public Builder dependencies(List dependencies) { return dependencies(Output.of(dependencies)); } - public Builder dependencies(GetFunctionsFunctionRoutineDependenciesDependencyArgs... dependencies) { + public Builder dependencies(GetFunctionsFunctionRoutineDependencyDependencyArgs... dependencies) { return dependencies(List.of(dependencies)); } - public GetFunctionsFunctionRoutineDependenciesArgs build() { + public GetFunctionsFunctionRoutineDependencyArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependency.java new file mode 100644 index 00000000..4c266458 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependency.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyDependencyFunction; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyDependencyTable; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetFunctionsFunctionRoutineDependencyDependency extends com.pulumi.resources.InvokeArgs { + + public static final GetFunctionsFunctionRoutineDependencyDependency Empty = new GetFunctionsFunctionRoutineDependencyDependency(); + + @Import(name="functions") + private @Nullable List functions; + + public Optional> functions() { + return Optional.ofNullable(this.functions); + } + + @Import(name="tables") + private @Nullable List tables; + + public Optional> tables() { + return Optional.ofNullable(this.tables); + } + + private GetFunctionsFunctionRoutineDependencyDependency() {} + + private GetFunctionsFunctionRoutineDependencyDependency(GetFunctionsFunctionRoutineDependencyDependency $) { + this.functions = $.functions; + this.tables = $.tables; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependency defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetFunctionsFunctionRoutineDependencyDependency $; + + public Builder() { + $ = new GetFunctionsFunctionRoutineDependencyDependency(); + } + + public Builder(GetFunctionsFunctionRoutineDependencyDependency defaults) { + $ = new GetFunctionsFunctionRoutineDependencyDependency(Objects.requireNonNull(defaults)); + } + + public Builder functions(@Nullable List functions) { + $.functions = functions; + return this; + } + + public Builder functions(GetFunctionsFunctionRoutineDependencyDependencyFunction... functions) { + return functions(List.of(functions)); + } + + public Builder tables(@Nullable List tables) { + $.tables = tables; + return this; + } + + public Builder tables(GetFunctionsFunctionRoutineDependencyDependencyTable... tables) { + return tables(List.of(tables)); + } + + public GetFunctionsFunctionRoutineDependencyDependency build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyArgs.java new file mode 100644 index 00000000..fb246e67 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs; +import com.pulumi.databricks.inputs.GetFunctionsFunctionRoutineDependencyDependencyTableArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetFunctionsFunctionRoutineDependencyDependencyArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetFunctionsFunctionRoutineDependencyDependencyArgs Empty = new GetFunctionsFunctionRoutineDependencyDependencyArgs(); + + @Import(name="functions") + private @Nullable Output> functions; + + public Optional>> functions() { + return Optional.ofNullable(this.functions); + } + + @Import(name="tables") + private @Nullable Output> tables; + + public Optional>> tables() { + return Optional.ofNullable(this.tables); + } + + private GetFunctionsFunctionRoutineDependencyDependencyArgs() {} + + private GetFunctionsFunctionRoutineDependencyDependencyArgs(GetFunctionsFunctionRoutineDependencyDependencyArgs $) { + this.functions = $.functions; + this.tables = $.tables; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetFunctionsFunctionRoutineDependencyDependencyArgs $; + + public Builder() { + $ = new GetFunctionsFunctionRoutineDependencyDependencyArgs(); + } + + public Builder(GetFunctionsFunctionRoutineDependencyDependencyArgs defaults) { + $ = new GetFunctionsFunctionRoutineDependencyDependencyArgs(Objects.requireNonNull(defaults)); + } + + public Builder functions(@Nullable Output> functions) { + $.functions = functions; + return this; + } + + public Builder functions(List functions) { + return functions(Output.of(functions)); + } + + public Builder functions(GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs... functions) { + return functions(List.of(functions)); + } + + public Builder tables(@Nullable Output> tables) { + $.tables = tables; + return this; + } + + public Builder tables(List tables) { + return tables(Output.of(tables)); + } + + public Builder tables(GetFunctionsFunctionRoutineDependencyDependencyTableArgs... tables) { + return tables(List.of(tables)); + } + + public GetFunctionsFunctionRoutineDependencyDependencyArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.java index 36f3e749..ed78e75c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.java @@ -9,9 +9,9 @@ import java.util.Objects; -public final class GetFunctionsFunctionRoutineDependenciesDependencyFunction extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionRoutineDependencyDependencyFunction extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionRoutineDependenciesDependencyFunction Empty = new GetFunctionsFunctionRoutineDependenciesDependencyFunction(); + public static final GetFunctionsFunctionRoutineDependencyDependencyFunction Empty = new GetFunctionsFunctionRoutineDependencyDependencyFunction(); @Import(name="functionFullName", required=true) private String functionFullName; @@ -20,28 +20,28 @@ public String functionFullName() { return this.functionFullName; } - private GetFunctionsFunctionRoutineDependenciesDependencyFunction() {} + private GetFunctionsFunctionRoutineDependencyDependencyFunction() {} - private GetFunctionsFunctionRoutineDependenciesDependencyFunction(GetFunctionsFunctionRoutineDependenciesDependencyFunction $) { + private GetFunctionsFunctionRoutineDependencyDependencyFunction(GetFunctionsFunctionRoutineDependencyDependencyFunction $) { this.functionFullName = $.functionFullName; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyFunction defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyFunction defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesDependencyFunction $; + private GetFunctionsFunctionRoutineDependencyDependencyFunction $; public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyFunction(); + $ = new GetFunctionsFunctionRoutineDependencyDependencyFunction(); } - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyFunction defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyFunction(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionRoutineDependencyDependencyFunction defaults) { + $ = new GetFunctionsFunctionRoutineDependencyDependencyFunction(Objects.requireNonNull(defaults)); } public Builder functionFullName(String functionFullName) { @@ -49,9 +49,9 @@ public Builder functionFullName(String functionFullName) { return this; } - public GetFunctionsFunctionRoutineDependenciesDependencyFunction build() { + public GetFunctionsFunctionRoutineDependencyDependencyFunction build() { if ($.functionFullName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependenciesDependencyFunction", "functionFullName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependencyDependencyFunction", "functionFullName"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs.java index d49c34b5..05613d84 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs extends com.pulumi.resources.ResourceArgs { +public final class GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs Empty = new GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs(); + public static final GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs Empty = new GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs(); @Import(name="functionFullName", required=true) private Output functionFullName; @@ -21,28 +21,28 @@ public Output functionFullName() { return this.functionFullName; } - private GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs() {} + private GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs() {} - private GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs(GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs $) { + private GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs(GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs $) { this.functionFullName = $.functionFullName; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs $; + private GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs $; public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs(); + $ = new GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs(); } - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs defaults) { + $ = new GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs(Objects.requireNonNull(defaults)); } public Builder functionFullName(Output functionFullName) { @@ -54,9 +54,9 @@ public Builder functionFullName(String functionFullName) { return functionFullName(Output.of(functionFullName)); } - public GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs build() { + public GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs build() { if ($.functionFullName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs", "functionFullName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs", "functionFullName"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyTable.java similarity index 53% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyTable.java index 8101ac37..cb57bce3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyTable.java @@ -9,9 +9,9 @@ import java.util.Objects; -public final class GetFunctionsFunctionRoutineDependenciesDependencyTable extends com.pulumi.resources.InvokeArgs { +public final class GetFunctionsFunctionRoutineDependencyDependencyTable extends com.pulumi.resources.InvokeArgs { - public static final GetFunctionsFunctionRoutineDependenciesDependencyTable Empty = new GetFunctionsFunctionRoutineDependenciesDependencyTable(); + public static final GetFunctionsFunctionRoutineDependencyDependencyTable Empty = new GetFunctionsFunctionRoutineDependencyDependencyTable(); @Import(name="tableFullName", required=true) private String tableFullName; @@ -20,28 +20,28 @@ public String tableFullName() { return this.tableFullName; } - private GetFunctionsFunctionRoutineDependenciesDependencyTable() {} + private GetFunctionsFunctionRoutineDependencyDependencyTable() {} - private GetFunctionsFunctionRoutineDependenciesDependencyTable(GetFunctionsFunctionRoutineDependenciesDependencyTable $) { + private GetFunctionsFunctionRoutineDependencyDependencyTable(GetFunctionsFunctionRoutineDependencyDependencyTable $) { this.tableFullName = $.tableFullName; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyTable defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyTable defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesDependencyTable $; + private GetFunctionsFunctionRoutineDependencyDependencyTable $; public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyTable(); + $ = new GetFunctionsFunctionRoutineDependencyDependencyTable(); } - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyTable defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyTable(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionRoutineDependencyDependencyTable defaults) { + $ = new GetFunctionsFunctionRoutineDependencyDependencyTable(Objects.requireNonNull(defaults)); } public Builder tableFullName(String tableFullName) { @@ -49,9 +49,9 @@ public Builder tableFullName(String tableFullName) { return this; } - public GetFunctionsFunctionRoutineDependenciesDependencyTable build() { + public GetFunctionsFunctionRoutineDependencyDependencyTable build() { if ($.tableFullName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependenciesDependencyTable", "tableFullName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependencyDependencyTable", "tableFullName"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyTableArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyTableArgs.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyTableArgs.java rename to sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyTableArgs.java index 6ab9771f..aa0e163c 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependenciesDependencyTableArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetFunctionsFunctionRoutineDependencyDependencyTableArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class GetFunctionsFunctionRoutineDependenciesDependencyTableArgs extends com.pulumi.resources.ResourceArgs { +public final class GetFunctionsFunctionRoutineDependencyDependencyTableArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFunctionsFunctionRoutineDependenciesDependencyTableArgs Empty = new GetFunctionsFunctionRoutineDependenciesDependencyTableArgs(); + public static final GetFunctionsFunctionRoutineDependencyDependencyTableArgs Empty = new GetFunctionsFunctionRoutineDependencyDependencyTableArgs(); @Import(name="tableFullName", required=true) private Output tableFullName; @@ -21,28 +21,28 @@ public Output tableFullName() { return this.tableFullName; } - private GetFunctionsFunctionRoutineDependenciesDependencyTableArgs() {} + private GetFunctionsFunctionRoutineDependencyDependencyTableArgs() {} - private GetFunctionsFunctionRoutineDependenciesDependencyTableArgs(GetFunctionsFunctionRoutineDependenciesDependencyTableArgs $) { + private GetFunctionsFunctionRoutineDependencyDependencyTableArgs(GetFunctionsFunctionRoutineDependencyDependencyTableArgs $) { this.tableFullName = $.tableFullName; } public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyTableArgs defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyTableArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFunctionsFunctionRoutineDependenciesDependencyTableArgs $; + private GetFunctionsFunctionRoutineDependencyDependencyTableArgs $; public Builder() { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyTableArgs(); + $ = new GetFunctionsFunctionRoutineDependencyDependencyTableArgs(); } - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyTableArgs defaults) { - $ = new GetFunctionsFunctionRoutineDependenciesDependencyTableArgs(Objects.requireNonNull(defaults)); + public Builder(GetFunctionsFunctionRoutineDependencyDependencyTableArgs defaults) { + $ = new GetFunctionsFunctionRoutineDependencyDependencyTableArgs(Objects.requireNonNull(defaults)); } public Builder tableFullName(Output tableFullName) { @@ -54,9 +54,9 @@ public Builder tableFullName(String tableFullName) { return tableFullName(Output.of(tableFullName)); } - public GetFunctionsFunctionRoutineDependenciesDependencyTableArgs build() { + public GetFunctionsFunctionRoutineDependencyDependencyTableArgs build() { if ($.tableFullName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependenciesDependencyTableArgs", "tableFullName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependencyDependencyTableArgs", "tableFullName"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsArgs.java index cf196b6a..0168ad54 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsArgs.java @@ -31,10 +31,26 @@ public Optional>> ids() { return Optional.ofNullable(this.ids); } + /** + * Only return databricks.Job ids that match the given name string (case-insensitive). + * + */ + @Import(name="jobNameContains") + private @Nullable Output jobNameContains; + + /** + * @return Only return databricks.Job ids that match the given name string (case-insensitive). + * + */ + public Optional> jobNameContains() { + return Optional.ofNullable(this.jobNameContains); + } + private GetJobsArgs() {} private GetJobsArgs(GetJobsArgs $) { this.ids = $.ids; + this.jobNameContains = $.jobNameContains; } public static Builder builder() { @@ -76,6 +92,27 @@ public Builder ids(Map ids) { return ids(Output.of(ids)); } + /** + * @param jobNameContains Only return databricks.Job ids that match the given name string (case-insensitive). + * + * @return builder + * + */ + public Builder jobNameContains(@Nullable Output jobNameContains) { + $.jobNameContains = jobNameContains; + return this; + } + + /** + * @param jobNameContains Only return databricks.Job ids that match the given name string (case-insensitive). + * + * @return builder + * + */ + public Builder jobNameContains(String jobNameContains) { + return jobNameContains(Output.of(jobNameContains)); + } + public GetJobsArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsPlainArgs.java index 3f70e62c..8b2ac086 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobsPlainArgs.java @@ -30,10 +30,26 @@ public Optional> ids() { return Optional.ofNullable(this.ids); } + /** + * Only return databricks.Job ids that match the given name string (case-insensitive). + * + */ + @Import(name="jobNameContains") + private @Nullable String jobNameContains; + + /** + * @return Only return databricks.Job ids that match the given name string (case-insensitive). + * + */ + public Optional jobNameContains() { + return Optional.ofNullable(this.jobNameContains); + } + private GetJobsPlainArgs() {} private GetJobsPlainArgs(GetJobsPlainArgs $) { this.ids = $.ids; + this.jobNameContains = $.jobNameContains; } public static Builder builder() { @@ -65,6 +81,17 @@ public Builder ids(@Nullable Map ids) { return this; } + /** + * @param jobNameContains Only return databricks.Job ids that match the given name string (case-insensitive). + * + * @return builder + * + */ + public Builder jobNameContains(@Nullable String jobNameContains) { + $.jobNameContains = jobNameContains; + return this; + } + public GetJobsPlainArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigArgs.java new file mode 100644 index 00000000..02de73fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigArgs.java @@ -0,0 +1,311 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigArgs Empty = new GetMwsNetworkConnectivityConfigArgs(); + + /** + * The Databricks account ID associated with this network configuration. + * + */ + @Import(name="accountId") + private @Nullable Output accountId; + + /** + * @return The Databricks account ID associated with this network configuration. + * + */ + public Optional> accountId() { + return Optional.ofNullable(this.accountId); + } + + /** + * Time in epoch milliseconds when this object was created. + * + */ + @Import(name="creationTime") + private @Nullable Output creationTime; + + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + public Optional> creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * Array of egress configuration objects. + * + */ + @Import(name="egressConfig") + private @Nullable Output egressConfig; + + /** + * @return Array of egress configuration objects. + * + */ + public Optional> egressConfig() { + return Optional.ofNullable(this.egressConfig); + } + + /** + * Name of the network connectivity configuration. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the network connectivity configuration. + * + */ + public Output name() { + return this.name; + } + + /** + * The Databricks network connectivity configuration ID. + * + */ + @Import(name="networkConnectivityConfigId") + private @Nullable Output networkConnectivityConfigId; + + /** + * @return The Databricks network connectivity configuration ID. + * + */ + public Optional> networkConnectivityConfigId() { + return Optional.ofNullable(this.networkConnectivityConfigId); + } + + /** + * The region of the network connectivity configuration. + * + */ + @Import(name="region") + private @Nullable Output region; + + /** + * @return The region of the network connectivity configuration. + * + */ + public Optional> region() { + return Optional.ofNullable(this.region); + } + + /** + * Time in epoch milliseconds when the network was updated. + * + */ + @Import(name="updatedTime") + private @Nullable Output updatedTime; + + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + public Optional> updatedTime() { + return Optional.ofNullable(this.updatedTime); + } + + private GetMwsNetworkConnectivityConfigArgs() {} + + private GetMwsNetworkConnectivityConfigArgs(GetMwsNetworkConnectivityConfigArgs $) { + this.accountId = $.accountId; + this.creationTime = $.creationTime; + this.egressConfig = $.egressConfig; + this.name = $.name; + this.networkConnectivityConfigId = $.networkConnectivityConfigId; + this.region = $.region; + this.updatedTime = $.updatedTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accountId The Databricks account ID associated with this network configuration. + * + * @return builder + * + */ + public Builder accountId(@Nullable Output accountId) { + $.accountId = accountId; + return this; + } + + /** + * @param accountId The Databricks account ID associated with this network configuration. + * + * @return builder + * + */ + public Builder accountId(String accountId) { + return accountId(Output.of(accountId)); + } + + /** + * @param creationTime Time in epoch milliseconds when this object was created. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Output creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param creationTime Time in epoch milliseconds when this object was created. + * + * @return builder + * + */ + public Builder creationTime(Integer creationTime) { + return creationTime(Output.of(creationTime)); + } + + /** + * @param egressConfig Array of egress configuration objects. + * + * @return builder + * + */ + public Builder egressConfig(@Nullable Output egressConfig) { + $.egressConfig = egressConfig; + return this; + } + + /** + * @param egressConfig Array of egress configuration objects. + * + * @return builder + * + */ + public Builder egressConfig(GetMwsNetworkConnectivityConfigEgressConfigArgs egressConfig) { + return egressConfig(Output.of(egressConfig)); + } + + /** + * @param name Name of the network connectivity configuration. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the network connectivity configuration. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param networkConnectivityConfigId The Databricks network connectivity configuration ID. + * + * @return builder + * + */ + public Builder networkConnectivityConfigId(@Nullable Output networkConnectivityConfigId) { + $.networkConnectivityConfigId = networkConnectivityConfigId; + return this; + } + + /** + * @param networkConnectivityConfigId The Databricks network connectivity configuration ID. + * + * @return builder + * + */ + public Builder networkConnectivityConfigId(String networkConnectivityConfigId) { + return networkConnectivityConfigId(Output.of(networkConnectivityConfigId)); + } + + /** + * @param region The region of the network connectivity configuration. + * + * @return builder + * + */ + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + /** + * @param region The region of the network connectivity configuration. + * + * @return builder + * + */ + public Builder region(String region) { + return region(Output.of(region)); + } + + /** + * @param updatedTime Time in epoch milliseconds when the network was updated. + * + * @return builder + * + */ + public Builder updatedTime(@Nullable Output updatedTime) { + $.updatedTime = updatedTime; + return this; + } + + /** + * @param updatedTime Time in epoch milliseconds when the network was updated. + * + * @return builder + * + */ + public Builder updatedTime(Integer updatedTime) { + return updatedTime(Output.of(updatedTime)); + } + + public GetMwsNetworkConnectivityConfigArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfig.java new file mode 100644 index 00000000..1f368821 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfig.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRules; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRules; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfig Empty = new GetMwsNetworkConnectivityConfigEgressConfig(); + + /** + * Array of default rules. + * + */ + @Import(name="defaultRules") + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaultRules; + + /** + * @return Array of default rules. + * + */ + public Optional defaultRules() { + return Optional.ofNullable(this.defaultRules); + } + + /** + * Array of target rules. + * + */ + @Import(name="targetRules") + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigTargetRules targetRules; + + /** + * @return Array of target rules. + * + */ + public Optional targetRules() { + return Optional.ofNullable(this.targetRules); + } + + private GetMwsNetworkConnectivityConfigEgressConfig() {} + + private GetMwsNetworkConnectivityConfigEgressConfig(GetMwsNetworkConnectivityConfigEgressConfig $) { + this.defaultRules = $.defaultRules; + this.targetRules = $.targetRules; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfig $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfig(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfig defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfig(Objects.requireNonNull(defaults)); + } + + /** + * @param defaultRules Array of default rules. + * + * @return builder + * + */ + public Builder defaultRules(@Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaultRules) { + $.defaultRules = defaultRules; + return this; + } + + /** + * @param targetRules Array of target rules. + * + * @return builder + * + */ + public Builder targetRules(@Nullable GetMwsNetworkConnectivityConfigEgressConfigTargetRules targetRules) { + $.targetRules = targetRules; + return this; + } + + public GetMwsNetworkConnectivityConfigEgressConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigArgs.java new file mode 100644 index 00000000..d560df8e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigArgs Empty = new GetMwsNetworkConnectivityConfigEgressConfigArgs(); + + /** + * Array of default rules. + * + */ + @Import(name="defaultRules") + private @Nullable Output defaultRules; + + /** + * @return Array of default rules. + * + */ + public Optional> defaultRules() { + return Optional.ofNullable(this.defaultRules); + } + + /** + * Array of target rules. + * + */ + @Import(name="targetRules") + private @Nullable Output targetRules; + + /** + * @return Array of target rules. + * + */ + public Optional> targetRules() { + return Optional.ofNullable(this.targetRules); + } + + private GetMwsNetworkConnectivityConfigEgressConfigArgs() {} + + private GetMwsNetworkConnectivityConfigEgressConfigArgs(GetMwsNetworkConnectivityConfigEgressConfigArgs $) { + this.defaultRules = $.defaultRules; + this.targetRules = $.targetRules; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param defaultRules Array of default rules. + * + * @return builder + * + */ + public Builder defaultRules(@Nullable Output defaultRules) { + $.defaultRules = defaultRules; + return this; + } + + /** + * @param defaultRules Array of default rules. + * + * @return builder + * + */ + public Builder defaultRules(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs defaultRules) { + return defaultRules(Output.of(defaultRules)); + } + + /** + * @param targetRules Array of target rules. + * + * @return builder + * + */ + public Builder targetRules(@Nullable Output targetRules) { + $.targetRules = targetRules; + return this; + } + + /** + * @param targetRules Array of target rules. + * + * @return builder + * + */ + public Builder targetRules(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs targetRules) { + return targetRules(Output.of(targetRules)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.java new file mode 100644 index 00000000..ccebf286 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRules extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigDefaultRules Empty = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRules(); + + /** + * The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + */ + @Import(name="awsStableIpRule") + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule awsStableIpRule; + + /** + * @return The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + */ + public Optional awsStableIpRule() { + return Optional.ofNullable(this.awsStableIpRule); + } + + /** + * Array of Azure service endpoint rules. + * + */ + @Import(name="azureServiceEndpointRule") + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule azureServiceEndpointRule; + + /** + * @return Array of Azure service endpoint rules. + * + */ + public Optional azureServiceEndpointRule() { + return Optional.ofNullable(this.azureServiceEndpointRule); + } + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRules() {} + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRules(GetMwsNetworkConnectivityConfigEgressConfigDefaultRules $) { + this.awsStableIpRule = $.awsStableIpRule; + this.azureServiceEndpointRule = $.azureServiceEndpointRule; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRules $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRules(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRules(Objects.requireNonNull(defaults)); + } + + /** + * @param awsStableIpRule The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + * @return builder + * + */ + public Builder awsStableIpRule(@Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule awsStableIpRule) { + $.awsStableIpRule = awsStableIpRule; + return this; + } + + /** + * @param azureServiceEndpointRule Array of Azure service endpoint rules. + * + * @return builder + * + */ + public Builder azureServiceEndpointRule(@Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule azureServiceEndpointRule) { + $.azureServiceEndpointRule = azureServiceEndpointRule; + return this; + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRules build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.java new file mode 100644 index 00000000..a69e6bd1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs Empty = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs(); + + /** + * The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + */ + @Import(name="awsStableIpRule") + private @Nullable Output awsStableIpRule; + + /** + * @return The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + */ + public Optional> awsStableIpRule() { + return Optional.ofNullable(this.awsStableIpRule); + } + + /** + * Array of Azure service endpoint rules. + * + */ + @Import(name="azureServiceEndpointRule") + private @Nullable Output azureServiceEndpointRule; + + /** + * @return Array of Azure service endpoint rules. + * + */ + public Optional> azureServiceEndpointRule() { + return Optional.ofNullable(this.azureServiceEndpointRule); + } + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs() {} + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs $) { + this.awsStableIpRule = $.awsStableIpRule; + this.azureServiceEndpointRule = $.azureServiceEndpointRule; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param awsStableIpRule The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + * @return builder + * + */ + public Builder awsStableIpRule(@Nullable Output awsStableIpRule) { + $.awsStableIpRule = awsStableIpRule; + return this; + } + + /** + * @param awsStableIpRule The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + * @return builder + * + */ + public Builder awsStableIpRule(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs awsStableIpRule) { + return awsStableIpRule(Output.of(awsStableIpRule)); + } + + /** + * @param azureServiceEndpointRule Array of Azure service endpoint rules. + * + * @return builder + * + */ + public Builder azureServiceEndpointRule(@Nullable Output azureServiceEndpointRule) { + $.azureServiceEndpointRule = azureServiceEndpointRule; + return this; + } + + /** + * @param azureServiceEndpointRule Array of Azure service endpoint rules. + * + * @return builder + * + */ + public Builder azureServiceEndpointRule(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs azureServiceEndpointRule) { + return azureServiceEndpointRule(Output.of(azureServiceEndpointRule)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.java new file mode 100644 index 00000000..cbb21acf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule Empty = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule(); + + /** + * The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + */ + @Import(name="cidrBlocks") + private @Nullable List cidrBlocks; + + /** + * @return The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + */ + public Optional> cidrBlocks() { + return Optional.ofNullable(this.cidrBlocks); + } + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule() {} + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule $) { + this.cidrBlocks = $.cidrBlocks; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule(Objects.requireNonNull(defaults)); + } + + /** + * @param cidrBlocks The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + * @return builder + * + */ + public Builder cidrBlocks(@Nullable List cidrBlocks) { + $.cidrBlocks = cidrBlocks; + return this; + } + + /** + * @param cidrBlocks The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + * @return builder + * + */ + public Builder cidrBlocks(String... cidrBlocks) { + return cidrBlocks(List.of(cidrBlocks)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.java new file mode 100644 index 00000000..1beb0cd5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs Empty = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs(); + + /** + * The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + */ + @Import(name="cidrBlocks") + private @Nullable Output> cidrBlocks; + + /** + * @return The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + */ + public Optional>> cidrBlocks() { + return Optional.ofNullable(this.cidrBlocks); + } + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs() {} + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs $) { + this.cidrBlocks = $.cidrBlocks; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cidrBlocks The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + * @return builder + * + */ + public Builder cidrBlocks(@Nullable Output> cidrBlocks) { + $.cidrBlocks = cidrBlocks; + return this; + } + + /** + * @param cidrBlocks The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + * @return builder + * + */ + public Builder cidrBlocks(List cidrBlocks) { + return cidrBlocks(Output.of(cidrBlocks)); + } + + /** + * @param cidrBlocks The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + * @return builder + * + */ + public Builder cidrBlocks(String... cidrBlocks) { + return cidrBlocks(List.of(cidrBlocks)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.java new file mode 100644 index 00000000..a335c242 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.java @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule Empty = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule(); + + /** + * Array of strings representing the subnet IDs. + * + */ + @Import(name="subnets") + private @Nullable List subnets; + + /** + * @return Array of strings representing the subnet IDs. + * + */ + public Optional> subnets() { + return Optional.ofNullable(this.subnets); + } + + /** + * The target region for the service endpoint. + * + */ + @Import(name="targetRegion") + private @Nullable String targetRegion; + + /** + * @return The target region for the service endpoint. + * + */ + public Optional targetRegion() { + return Optional.ofNullable(this.targetRegion); + } + + /** + * Array of target services. + * + */ + @Import(name="targetServices") + private @Nullable List targetServices; + + /** + * @return Array of target services. + * + */ + public Optional> targetServices() { + return Optional.ofNullable(this.targetServices); + } + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule() {} + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule $) { + this.subnets = $.subnets; + this.targetRegion = $.targetRegion; + this.targetServices = $.targetServices; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule(Objects.requireNonNull(defaults)); + } + + /** + * @param subnets Array of strings representing the subnet IDs. + * + * @return builder + * + */ + public Builder subnets(@Nullable List subnets) { + $.subnets = subnets; + return this; + } + + /** + * @param subnets Array of strings representing the subnet IDs. + * + * @return builder + * + */ + public Builder subnets(String... subnets) { + return subnets(List.of(subnets)); + } + + /** + * @param targetRegion The target region for the service endpoint. + * + * @return builder + * + */ + public Builder targetRegion(@Nullable String targetRegion) { + $.targetRegion = targetRegion; + return this; + } + + /** + * @param targetServices Array of target services. + * + * @return builder + * + */ + public Builder targetServices(@Nullable List targetServices) { + $.targetServices = targetServices; + return this; + } + + /** + * @param targetServices Array of target services. + * + * @return builder + * + */ + public Builder targetServices(String... targetServices) { + return targetServices(List.of(targetServices)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.java new file mode 100644 index 00000000..550a0d88 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.java @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs Empty = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs(); + + /** + * Array of strings representing the subnet IDs. + * + */ + @Import(name="subnets") + private @Nullable Output> subnets; + + /** + * @return Array of strings representing the subnet IDs. + * + */ + public Optional>> subnets() { + return Optional.ofNullable(this.subnets); + } + + /** + * The target region for the service endpoint. + * + */ + @Import(name="targetRegion") + private @Nullable Output targetRegion; + + /** + * @return The target region for the service endpoint. + * + */ + public Optional> targetRegion() { + return Optional.ofNullable(this.targetRegion); + } + + /** + * Array of target services. + * + */ + @Import(name="targetServices") + private @Nullable Output> targetServices; + + /** + * @return Array of target services. + * + */ + public Optional>> targetServices() { + return Optional.ofNullable(this.targetServices); + } + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs() {} + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs $) { + this.subnets = $.subnets; + this.targetRegion = $.targetRegion; + this.targetServices = $.targetServices; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param subnets Array of strings representing the subnet IDs. + * + * @return builder + * + */ + public Builder subnets(@Nullable Output> subnets) { + $.subnets = subnets; + return this; + } + + /** + * @param subnets Array of strings representing the subnet IDs. + * + * @return builder + * + */ + public Builder subnets(List subnets) { + return subnets(Output.of(subnets)); + } + + /** + * @param subnets Array of strings representing the subnet IDs. + * + * @return builder + * + */ + public Builder subnets(String... subnets) { + return subnets(List.of(subnets)); + } + + /** + * @param targetRegion The target region for the service endpoint. + * + * @return builder + * + */ + public Builder targetRegion(@Nullable Output targetRegion) { + $.targetRegion = targetRegion; + return this; + } + + /** + * @param targetRegion The target region for the service endpoint. + * + * @return builder + * + */ + public Builder targetRegion(String targetRegion) { + return targetRegion(Output.of(targetRegion)); + } + + /** + * @param targetServices Array of target services. + * + * @return builder + * + */ + public Builder targetServices(@Nullable Output> targetServices) { + $.targetServices = targetServices; + return this; + } + + /** + * @param targetServices Array of target services. + * + * @return builder + * + */ + public Builder targetServices(List targetServices) { + return targetServices(Output.of(targetServices)); + } + + /** + * @param targetServices Array of target services. + * + * @return builder + * + */ + public Builder targetServices(String... targetServices) { + return targetServices(List.of(targetServices)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.java new file mode 100644 index 00000000..065243ff --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigTargetRules extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigTargetRules Empty = new GetMwsNetworkConnectivityConfigEgressConfigTargetRules(); + + /** + * Array of private endpoint rule objects. + * + */ + @Import(name="azurePrivateEndpointRules") + private @Nullable List azurePrivateEndpointRules; + + /** + * @return Array of private endpoint rule objects. + * + */ + public Optional> azurePrivateEndpointRules() { + return Optional.ofNullable(this.azurePrivateEndpointRules); + } + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRules() {} + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRules(GetMwsNetworkConnectivityConfigEgressConfigTargetRules $) { + this.azurePrivateEndpointRules = $.azurePrivateEndpointRules; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRules defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigTargetRules $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRules(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRules defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRules(Objects.requireNonNull(defaults)); + } + + /** + * @param azurePrivateEndpointRules Array of private endpoint rule objects. + * + * @return builder + * + */ + public Builder azurePrivateEndpointRules(@Nullable List azurePrivateEndpointRules) { + $.azurePrivateEndpointRules = azurePrivateEndpointRules; + return this; + } + + /** + * @param azurePrivateEndpointRules Array of private endpoint rule objects. + * + * @return builder + * + */ + public Builder azurePrivateEndpointRules(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule... azurePrivateEndpointRules) { + return azurePrivateEndpointRules(List.of(azurePrivateEndpointRules)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRules build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.java new file mode 100644 index 00000000..07c2baa6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs Empty = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs(); + + /** + * Array of private endpoint rule objects. + * + */ + @Import(name="azurePrivateEndpointRules") + private @Nullable Output> azurePrivateEndpointRules; + + /** + * @return Array of private endpoint rule objects. + * + */ + public Optional>> azurePrivateEndpointRules() { + return Optional.ofNullable(this.azurePrivateEndpointRules); + } + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs() {} + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs $) { + this.azurePrivateEndpointRules = $.azurePrivateEndpointRules; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param azurePrivateEndpointRules Array of private endpoint rule objects. + * + * @return builder + * + */ + public Builder azurePrivateEndpointRules(@Nullable Output> azurePrivateEndpointRules) { + $.azurePrivateEndpointRules = azurePrivateEndpointRules; + return this; + } + + /** + * @param azurePrivateEndpointRules Array of private endpoint rule objects. + * + * @return builder + * + */ + public Builder azurePrivateEndpointRules(List azurePrivateEndpointRules) { + return azurePrivateEndpointRules(Output.of(azurePrivateEndpointRules)); + } + + /** + * @param azurePrivateEndpointRules Array of private endpoint rule objects. + * + * @return builder + * + */ + public Builder azurePrivateEndpointRules(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs... azurePrivateEndpointRules) { + return azurePrivateEndpointRules(List.of(azurePrivateEndpointRules)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.java new file mode 100644 index 00000000..71e7b889 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.java @@ -0,0 +1,317 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule Empty = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule(); + + /** + * The current status of this private endpoint. + * + */ + @Import(name="connectionState") + private @Nullable String connectionState; + + /** + * @return The current status of this private endpoint. + * + */ + public Optional connectionState() { + return Optional.ofNullable(this.connectionState); + } + + /** + * Time in epoch milliseconds when this object was created. + * + */ + @Import(name="creationTime") + private @Nullable Integer creationTime; + + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + public Optional creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * Whether this private endpoint is deactivated. + * + */ + @Import(name="deactivated") + private @Nullable Boolean deactivated; + + /** + * @return Whether this private endpoint is deactivated. + * + */ + public Optional deactivated() { + return Optional.ofNullable(this.deactivated); + } + + /** + * Time in epoch milliseconds when this object was deactivated. + * + */ + @Import(name="deactivatedAt") + private @Nullable Integer deactivatedAt; + + /** + * @return Time in epoch milliseconds when this object was deactivated. + * + */ + public Optional deactivatedAt() { + return Optional.ofNullable(this.deactivatedAt); + } + + /** + * The name of the Azure private endpoint resource. + * + */ + @Import(name="endpointName") + private @Nullable String endpointName; + + /** + * @return The name of the Azure private endpoint resource. + * + */ + public Optional endpointName() { + return Optional.ofNullable(this.endpointName); + } + + /** + * The sub-resource type (group ID) of the target resource. + * + */ + @Import(name="groupId") + private @Nullable String groupId; + + /** + * @return The sub-resource type (group ID) of the target resource. + * + */ + public Optional groupId() { + return Optional.ofNullable(this.groupId); + } + + /** + * The Databricks network connectivity configuration ID. + * + */ + @Import(name="networkConnectivityConfigId") + private @Nullable String networkConnectivityConfigId; + + /** + * @return The Databricks network connectivity configuration ID. + * + */ + public Optional networkConnectivityConfigId() { + return Optional.ofNullable(this.networkConnectivityConfigId); + } + + /** + * The Azure resource ID of the target resource. + * + */ + @Import(name="resourceId") + private @Nullable String resourceId; + + /** + * @return The Azure resource ID of the target resource. + * + */ + public Optional resourceId() { + return Optional.ofNullable(this.resourceId); + } + + /** + * The ID of a private endpoint rule. + * + */ + @Import(name="ruleId") + private @Nullable String ruleId; + + /** + * @return The ID of a private endpoint rule. + * + */ + public Optional ruleId() { + return Optional.ofNullable(this.ruleId); + } + + /** + * Time in epoch milliseconds when the network was updated. + * + */ + @Import(name="updatedTime") + private @Nullable Integer updatedTime; + + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + public Optional updatedTime() { + return Optional.ofNullable(this.updatedTime); + } + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule() {} + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule $) { + this.connectionState = $.connectionState; + this.creationTime = $.creationTime; + this.deactivated = $.deactivated; + this.deactivatedAt = $.deactivatedAt; + this.endpointName = $.endpointName; + this.groupId = $.groupId; + this.networkConnectivityConfigId = $.networkConnectivityConfigId; + this.resourceId = $.resourceId; + this.ruleId = $.ruleId; + this.updatedTime = $.updatedTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule(Objects.requireNonNull(defaults)); + } + + /** + * @param connectionState The current status of this private endpoint. + * + * @return builder + * + */ + public Builder connectionState(@Nullable String connectionState) { + $.connectionState = connectionState; + return this; + } + + /** + * @param creationTime Time in epoch milliseconds when this object was created. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Integer creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param deactivated Whether this private endpoint is deactivated. + * + * @return builder + * + */ + public Builder deactivated(@Nullable Boolean deactivated) { + $.deactivated = deactivated; + return this; + } + + /** + * @param deactivatedAt Time in epoch milliseconds when this object was deactivated. + * + * @return builder + * + */ + public Builder deactivatedAt(@Nullable Integer deactivatedAt) { + $.deactivatedAt = deactivatedAt; + return this; + } + + /** + * @param endpointName The name of the Azure private endpoint resource. + * + * @return builder + * + */ + public Builder endpointName(@Nullable String endpointName) { + $.endpointName = endpointName; + return this; + } + + /** + * @param groupId The sub-resource type (group ID) of the target resource. + * + * @return builder + * + */ + public Builder groupId(@Nullable String groupId) { + $.groupId = groupId; + return this; + } + + /** + * @param networkConnectivityConfigId The Databricks network connectivity configuration ID. + * + * @return builder + * + */ + public Builder networkConnectivityConfigId(@Nullable String networkConnectivityConfigId) { + $.networkConnectivityConfigId = networkConnectivityConfigId; + return this; + } + + /** + * @param resourceId The Azure resource ID of the target resource. + * + * @return builder + * + */ + public Builder resourceId(@Nullable String resourceId) { + $.resourceId = resourceId; + return this; + } + + /** + * @param ruleId The ID of a private endpoint rule. + * + * @return builder + * + */ + public Builder ruleId(@Nullable String ruleId) { + $.ruleId = ruleId; + return this; + } + + /** + * @param updatedTime Time in epoch milliseconds when the network was updated. + * + * @return builder + * + */ + public Builder updatedTime(@Nullable Integer updatedTime) { + $.updatedTime = updatedTime; + return this; + } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.java new file mode 100644 index 00000000..f43c97a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.java @@ -0,0 +1,418 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs Empty = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs(); + + /** + * The current status of this private endpoint. + * + */ + @Import(name="connectionState") + private @Nullable Output connectionState; + + /** + * @return The current status of this private endpoint. + * + */ + public Optional> connectionState() { + return Optional.ofNullable(this.connectionState); + } + + /** + * Time in epoch milliseconds when this object was created. + * + */ + @Import(name="creationTime") + private @Nullable Output creationTime; + + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + public Optional> creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * Whether this private endpoint is deactivated. + * + */ + @Import(name="deactivated") + private @Nullable Output deactivated; + + /** + * @return Whether this private endpoint is deactivated. + * + */ + public Optional> deactivated() { + return Optional.ofNullable(this.deactivated); + } + + /** + * Time in epoch milliseconds when this object was deactivated. + * + */ + @Import(name="deactivatedAt") + private @Nullable Output deactivatedAt; + + /** + * @return Time in epoch milliseconds when this object was deactivated. + * + */ + public Optional> deactivatedAt() { + return Optional.ofNullable(this.deactivatedAt); + } + + /** + * The name of the Azure private endpoint resource. + * + */ + @Import(name="endpointName") + private @Nullable Output endpointName; + + /** + * @return The name of the Azure private endpoint resource. + * + */ + public Optional> endpointName() { + return Optional.ofNullable(this.endpointName); + } + + /** + * The sub-resource type (group ID) of the target resource. + * + */ + @Import(name="groupId") + private @Nullable Output groupId; + + /** + * @return The sub-resource type (group ID) of the target resource. + * + */ + public Optional> groupId() { + return Optional.ofNullable(this.groupId); + } + + /** + * The Databricks network connectivity configuration ID. + * + */ + @Import(name="networkConnectivityConfigId") + private @Nullable Output networkConnectivityConfigId; + + /** + * @return The Databricks network connectivity configuration ID. + * + */ + public Optional> networkConnectivityConfigId() { + return Optional.ofNullable(this.networkConnectivityConfigId); + } + + /** + * The Azure resource ID of the target resource. + * + */ + @Import(name="resourceId") + private @Nullable Output resourceId; + + /** + * @return The Azure resource ID of the target resource. + * + */ + public Optional> resourceId() { + return Optional.ofNullable(this.resourceId); + } + + /** + * The ID of a private endpoint rule. + * + */ + @Import(name="ruleId") + private @Nullable Output ruleId; + + /** + * @return The ID of a private endpoint rule. + * + */ + public Optional> ruleId() { + return Optional.ofNullable(this.ruleId); + } + + /** + * Time in epoch milliseconds when the network was updated. + * + */ + @Import(name="updatedTime") + private @Nullable Output updatedTime; + + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + public Optional> updatedTime() { + return Optional.ofNullable(this.updatedTime); + } + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs() {} + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs $) { + this.connectionState = $.connectionState; + this.creationTime = $.creationTime; + this.deactivated = $.deactivated; + this.deactivatedAt = $.deactivatedAt; + this.endpointName = $.endpointName; + this.groupId = $.groupId; + this.networkConnectivityConfigId = $.networkConnectivityConfigId; + this.resourceId = $.resourceId; + this.ruleId = $.ruleId; + this.updatedTime = $.updatedTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectionState The current status of this private endpoint. + * + * @return builder + * + */ + public Builder connectionState(@Nullable Output connectionState) { + $.connectionState = connectionState; + return this; + } + + /** + * @param connectionState The current status of this private endpoint. + * + * @return builder + * + */ + public Builder connectionState(String connectionState) { + return connectionState(Output.of(connectionState)); + } + + /** + * @param creationTime Time in epoch milliseconds when this object was created. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Output creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param creationTime Time in epoch milliseconds when this object was created. + * + * @return builder + * + */ + public Builder creationTime(Integer creationTime) { + return creationTime(Output.of(creationTime)); + } + + /** + * @param deactivated Whether this private endpoint is deactivated. + * + * @return builder + * + */ + public Builder deactivated(@Nullable Output deactivated) { + $.deactivated = deactivated; + return this; + } + + /** + * @param deactivated Whether this private endpoint is deactivated. + * + * @return builder + * + */ + public Builder deactivated(Boolean deactivated) { + return deactivated(Output.of(deactivated)); + } + + /** + * @param deactivatedAt Time in epoch milliseconds when this object was deactivated. + * + * @return builder + * + */ + public Builder deactivatedAt(@Nullable Output deactivatedAt) { + $.deactivatedAt = deactivatedAt; + return this; + } + + /** + * @param deactivatedAt Time in epoch milliseconds when this object was deactivated. + * + * @return builder + * + */ + public Builder deactivatedAt(Integer deactivatedAt) { + return deactivatedAt(Output.of(deactivatedAt)); + } + + /** + * @param endpointName The name of the Azure private endpoint resource. + * + * @return builder + * + */ + public Builder endpointName(@Nullable Output endpointName) { + $.endpointName = endpointName; + return this; + } + + /** + * @param endpointName The name of the Azure private endpoint resource. + * + * @return builder + * + */ + public Builder endpointName(String endpointName) { + return endpointName(Output.of(endpointName)); + } + + /** + * @param groupId The sub-resource type (group ID) of the target resource. + * + * @return builder + * + */ + public Builder groupId(@Nullable Output groupId) { + $.groupId = groupId; + return this; + } + + /** + * @param groupId The sub-resource type (group ID) of the target resource. + * + * @return builder + * + */ + public Builder groupId(String groupId) { + return groupId(Output.of(groupId)); + } + + /** + * @param networkConnectivityConfigId The Databricks network connectivity configuration ID. + * + * @return builder + * + */ + public Builder networkConnectivityConfigId(@Nullable Output networkConnectivityConfigId) { + $.networkConnectivityConfigId = networkConnectivityConfigId; + return this; + } + + /** + * @param networkConnectivityConfigId The Databricks network connectivity configuration ID. + * + * @return builder + * + */ + public Builder networkConnectivityConfigId(String networkConnectivityConfigId) { + return networkConnectivityConfigId(Output.of(networkConnectivityConfigId)); + } + + /** + * @param resourceId The Azure resource ID of the target resource. + * + * @return builder + * + */ + public Builder resourceId(@Nullable Output resourceId) { + $.resourceId = resourceId; + return this; + } + + /** + * @param resourceId The Azure resource ID of the target resource. + * + * @return builder + * + */ + public Builder resourceId(String resourceId) { + return resourceId(Output.of(resourceId)); + } + + /** + * @param ruleId The ID of a private endpoint rule. + * + * @return builder + * + */ + public Builder ruleId(@Nullable Output ruleId) { + $.ruleId = ruleId; + return this; + } + + /** + * @param ruleId The ID of a private endpoint rule. + * + * @return builder + * + */ + public Builder ruleId(String ruleId) { + return ruleId(Output.of(ruleId)); + } + + /** + * @param updatedTime Time in epoch milliseconds when the network was updated. + * + * @return builder + * + */ + public Builder updatedTime(@Nullable Output updatedTime) { + $.updatedTime = updatedTime; + return this; + } + + /** + * @param updatedTime Time in epoch milliseconds when the network was updated. + * + * @return builder + * + */ + public Builder updatedTime(Integer updatedTime) { + return updatedTime(Output.of(updatedTime)); + } + + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigPlainArgs.java new file mode 100644 index 00000000..fa1a48bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigPlainArgs.java @@ -0,0 +1,240 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigEgressConfig; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigPlainArgs Empty = new GetMwsNetworkConnectivityConfigPlainArgs(); + + /** + * The Databricks account ID associated with this network configuration. + * + */ + @Import(name="accountId") + private @Nullable String accountId; + + /** + * @return The Databricks account ID associated with this network configuration. + * + */ + public Optional accountId() { + return Optional.ofNullable(this.accountId); + } + + /** + * Time in epoch milliseconds when this object was created. + * + */ + @Import(name="creationTime") + private @Nullable Integer creationTime; + + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + public Optional creationTime() { + return Optional.ofNullable(this.creationTime); + } + + /** + * Array of egress configuration objects. + * + */ + @Import(name="egressConfig") + private @Nullable GetMwsNetworkConnectivityConfigEgressConfig egressConfig; + + /** + * @return Array of egress configuration objects. + * + */ + public Optional egressConfig() { + return Optional.ofNullable(this.egressConfig); + } + + /** + * Name of the network connectivity configuration. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Name of the network connectivity configuration. + * + */ + public String name() { + return this.name; + } + + /** + * The Databricks network connectivity configuration ID. + * + */ + @Import(name="networkConnectivityConfigId") + private @Nullable String networkConnectivityConfigId; + + /** + * @return The Databricks network connectivity configuration ID. + * + */ + public Optional networkConnectivityConfigId() { + return Optional.ofNullable(this.networkConnectivityConfigId); + } + + /** + * The region of the network connectivity configuration. + * + */ + @Import(name="region") + private @Nullable String region; + + /** + * @return The region of the network connectivity configuration. + * + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + /** + * Time in epoch milliseconds when the network was updated. + * + */ + @Import(name="updatedTime") + private @Nullable Integer updatedTime; + + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + public Optional updatedTime() { + return Optional.ofNullable(this.updatedTime); + } + + private GetMwsNetworkConnectivityConfigPlainArgs() {} + + private GetMwsNetworkConnectivityConfigPlainArgs(GetMwsNetworkConnectivityConfigPlainArgs $) { + this.accountId = $.accountId; + this.creationTime = $.creationTime; + this.egressConfig = $.egressConfig; + this.name = $.name; + this.networkConnectivityConfigId = $.networkConnectivityConfigId; + this.region = $.region; + this.updatedTime = $.updatedTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigPlainArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigPlainArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigPlainArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accountId The Databricks account ID associated with this network configuration. + * + * @return builder + * + */ + public Builder accountId(@Nullable String accountId) { + $.accountId = accountId; + return this; + } + + /** + * @param creationTime Time in epoch milliseconds when this object was created. + * + * @return builder + * + */ + public Builder creationTime(@Nullable Integer creationTime) { + $.creationTime = creationTime; + return this; + } + + /** + * @param egressConfig Array of egress configuration objects. + * + * @return builder + * + */ + public Builder egressConfig(@Nullable GetMwsNetworkConnectivityConfigEgressConfig egressConfig) { + $.egressConfig = egressConfig; + return this; + } + + /** + * @param name Name of the network connectivity configuration. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + /** + * @param networkConnectivityConfigId The Databricks network connectivity configuration ID. + * + * @return builder + * + */ + public Builder networkConnectivityConfigId(@Nullable String networkConnectivityConfigId) { + $.networkConnectivityConfigId = networkConnectivityConfigId; + return this; + } + + /** + * @param region The region of the network connectivity configuration. + * + * @return builder + * + */ + public Builder region(@Nullable String region) { + $.region = region; + return this; + } + + /** + * @param updatedTime Time in epoch milliseconds when the network was updated. + * + * @return builder + * + */ + public Builder updatedTime(@Nullable Integer updatedTime) { + $.updatedTime = updatedTime; + return this; + } + + public GetMwsNetworkConnectivityConfigPlainArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigPlainArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigsArgs.java new file mode 100644 index 00000000..c7912af9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigsArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigsArgs Empty = new GetMwsNetworkConnectivityConfigsArgs(); + + /** + * List of names of databricks_mws_network_connectivity_config + * + */ + @Import(name="names") + private @Nullable Output> names; + + /** + * @return List of names of databricks_mws_network_connectivity_config + * + */ + public Optional>> names() { + return Optional.ofNullable(this.names); + } + + /** + * Filter network connectivity configurations by region. + * + */ + @Import(name="region") + private @Nullable Output region; + + /** + * @return Filter network connectivity configurations by region. + * + */ + public Optional> region() { + return Optional.ofNullable(this.region); + } + + private GetMwsNetworkConnectivityConfigsArgs() {} + + private GetMwsNetworkConnectivityConfigsArgs(GetMwsNetworkConnectivityConfigsArgs $) { + this.names = $.names; + this.region = $.region; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigsArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigsArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigsArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param names List of names of databricks_mws_network_connectivity_config + * + * @return builder + * + */ + public Builder names(@Nullable Output> names) { + $.names = names; + return this; + } + + /** + * @param names List of names of databricks_mws_network_connectivity_config + * + * @return builder + * + */ + public Builder names(List names) { + return names(Output.of(names)); + } + + /** + * @param names List of names of databricks_mws_network_connectivity_config + * + * @return builder + * + */ + public Builder names(String... names) { + return names(List.of(names)); + } + + /** + * @param region Filter network connectivity configurations by region. + * + * @return builder + * + */ + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + /** + * @param region Filter network connectivity configurations by region. + * + * @return builder + * + */ + public Builder region(String region) { + return region(Output.of(region)); + } + + public GetMwsNetworkConnectivityConfigsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigsPlainArgs.java new file mode 100644 index 00000000..06a8a26d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetMwsNetworkConnectivityConfigsPlainArgs.java @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetMwsNetworkConnectivityConfigsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMwsNetworkConnectivityConfigsPlainArgs Empty = new GetMwsNetworkConnectivityConfigsPlainArgs(); + + /** + * List of names of databricks_mws_network_connectivity_config + * + */ + @Import(name="names") + private @Nullable List names; + + /** + * @return List of names of databricks_mws_network_connectivity_config + * + */ + public Optional> names() { + return Optional.ofNullable(this.names); + } + + /** + * Filter network connectivity configurations by region. + * + */ + @Import(name="region") + private @Nullable String region; + + /** + * @return Filter network connectivity configurations by region. + * + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + private GetMwsNetworkConnectivityConfigsPlainArgs() {} + + private GetMwsNetworkConnectivityConfigsPlainArgs(GetMwsNetworkConnectivityConfigsPlainArgs $) { + this.names = $.names; + this.region = $.region; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMwsNetworkConnectivityConfigsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMwsNetworkConnectivityConfigsPlainArgs $; + + public Builder() { + $ = new GetMwsNetworkConnectivityConfigsPlainArgs(); + } + + public Builder(GetMwsNetworkConnectivityConfigsPlainArgs defaults) { + $ = new GetMwsNetworkConnectivityConfigsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param names List of names of databricks_mws_network_connectivity_config + * + * @return builder + * + */ + public Builder names(@Nullable List names) { + $.names = names; + return this; + } + + /** + * @param names List of names of databricks_mws_network_connectivity_config + * + * @return builder + * + */ + public Builder names(String... names) { + return names(List.of(names)); + } + + /** + * @param region Filter network connectivity configurations by region. + * + * @return builder + * + */ + public Builder region(@Nullable String region) { + $.region = region; + return this; + } + + public GetMwsNetworkConnectivityConfigsPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsArgs.java index 57b6d289..3e87624a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsArgs.java @@ -5,9 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetNotificationDestinationsNotificationDestinationArgs; import java.lang.String; -import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -32,21 +30,6 @@ public Optional> displayNameContains() { return Optional.ofNullable(this.displayNameContains); } - /** - * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - */ - @Import(name="notificationDestinations") - private @Nullable Output> notificationDestinations; - - /** - * @return A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - */ - public Optional>> notificationDestinations() { - return Optional.ofNullable(this.notificationDestinations); - } - /** * The type of the Notification Destination to filter by. Valid values are: * * `EMAIL` - Filters Notification Destinations of type Email. @@ -76,7 +59,6 @@ private GetNotificationDestinationsArgs() {} private GetNotificationDestinationsArgs(GetNotificationDestinationsArgs $) { this.displayNameContains = $.displayNameContains; - this.notificationDestinations = $.notificationDestinations; this.type = $.type; } @@ -119,37 +101,6 @@ public Builder displayNameContains(String displayNameContains) { return displayNameContains(Output.of(displayNameContains)); } - /** - * @param notificationDestinations A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - * @return builder - * - */ - public Builder notificationDestinations(@Nullable Output> notificationDestinations) { - $.notificationDestinations = notificationDestinations; - return this; - } - - /** - * @param notificationDestinations A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - * @return builder - * - */ - public Builder notificationDestinations(List notificationDestinations) { - return notificationDestinations(Output.of(notificationDestinations)); - } - - /** - * @param notificationDestinations A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - * @return builder - * - */ - public Builder notificationDestinations(GetNotificationDestinationsNotificationDestinationArgs... notificationDestinations) { - return notificationDestinations(List.of(notificationDestinations)); - } - /** * @param type The type of the Notification Destination to filter by. Valid values are: * * `EMAIL` - Filters Notification Destinations of type Email. diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsNotificationDestination.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsNotificationDestination.java deleted file mode 100644 index 30d1c4d2..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsNotificationDestination.java +++ /dev/null @@ -1,126 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.annotations.Import; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetNotificationDestinationsNotificationDestination extends com.pulumi.resources.InvokeArgs { - - public static final GetNotificationDestinationsNotificationDestination Empty = new GetNotificationDestinationsNotificationDestination(); - - /** - * The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - */ - @Import(name="destinationType") - private @Nullable String destinationType; - - /** - * @return The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - */ - public Optional destinationType() { - return Optional.ofNullable(this.destinationType); - } - - /** - * The display name of the Notification Destination. - * - */ - @Import(name="displayName") - private @Nullable String displayName; - - /** - * @return The display name of the Notification Destination. - * - */ - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - - /** - * The unique ID of the Notification Destination. - * - */ - @Import(name="id") - private @Nullable String id; - - /** - * @return The unique ID of the Notification Destination. - * - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - private GetNotificationDestinationsNotificationDestination() {} - - private GetNotificationDestinationsNotificationDestination(GetNotificationDestinationsNotificationDestination $) { - this.destinationType = $.destinationType; - this.displayName = $.displayName; - this.id = $.id; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetNotificationDestinationsNotificationDestination defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetNotificationDestinationsNotificationDestination $; - - public Builder() { - $ = new GetNotificationDestinationsNotificationDestination(); - } - - public Builder(GetNotificationDestinationsNotificationDestination defaults) { - $ = new GetNotificationDestinationsNotificationDestination(Objects.requireNonNull(defaults)); - } - - /** - * @param destinationType The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - * @return builder - * - */ - public Builder destinationType(@Nullable String destinationType) { - $.destinationType = destinationType; - return this; - } - - /** - * @param displayName The display name of the Notification Destination. - * - * @return builder - * - */ - public Builder displayName(@Nullable String displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param id The unique ID of the Notification Destination. - * - * @return builder - * - */ - public Builder id(@Nullable String id) { - $.id = id; - return this; - } - - public GetNotificationDestinationsNotificationDestination build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsNotificationDestinationArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsNotificationDestinationArgs.java deleted file mode 100644 index d9b2d54f..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsNotificationDestinationArgs.java +++ /dev/null @@ -1,157 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetNotificationDestinationsNotificationDestinationArgs extends com.pulumi.resources.ResourceArgs { - - public static final GetNotificationDestinationsNotificationDestinationArgs Empty = new GetNotificationDestinationsNotificationDestinationArgs(); - - /** - * The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - */ - @Import(name="destinationType") - private @Nullable Output destinationType; - - /** - * @return The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - */ - public Optional> destinationType() { - return Optional.ofNullable(this.destinationType); - } - - /** - * The display name of the Notification Destination. - * - */ - @Import(name="displayName") - private @Nullable Output displayName; - - /** - * @return The display name of the Notification Destination. - * - */ - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - /** - * The unique ID of the Notification Destination. - * - */ - @Import(name="id") - private @Nullable Output id; - - /** - * @return The unique ID of the Notification Destination. - * - */ - public Optional> id() { - return Optional.ofNullable(this.id); - } - - private GetNotificationDestinationsNotificationDestinationArgs() {} - - private GetNotificationDestinationsNotificationDestinationArgs(GetNotificationDestinationsNotificationDestinationArgs $) { - this.destinationType = $.destinationType; - this.displayName = $.displayName; - this.id = $.id; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetNotificationDestinationsNotificationDestinationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetNotificationDestinationsNotificationDestinationArgs $; - - public Builder() { - $ = new GetNotificationDestinationsNotificationDestinationArgs(); - } - - public Builder(GetNotificationDestinationsNotificationDestinationArgs defaults) { - $ = new GetNotificationDestinationsNotificationDestinationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param destinationType The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - * @return builder - * - */ - public Builder destinationType(@Nullable Output destinationType) { - $.destinationType = destinationType; - return this; - } - - /** - * @param destinationType The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - * - * @return builder - * - */ - public Builder destinationType(String destinationType) { - return destinationType(Output.of(destinationType)); - } - - /** - * @param displayName The display name of the Notification Destination. - * - * @return builder - * - */ - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param displayName The display name of the Notification Destination. - * - * @return builder - * - */ - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - /** - * @param id The unique ID of the Notification Destination. - * - * @return builder - * - */ - public Builder id(@Nullable Output id) { - $.id = id; - return this; - } - - /** - * @param id The unique ID of the Notification Destination. - * - * @return builder - * - */ - public Builder id(String id) { - return id(Output.of(id)); - } - - public GetNotificationDestinationsNotificationDestinationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsPlainArgs.java index 979e6efc..f124e30a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetNotificationDestinationsPlainArgs.java @@ -4,9 +4,7 @@ package com.pulumi.databricks.inputs; import com.pulumi.core.annotations.Import; -import com.pulumi.databricks.inputs.GetNotificationDestinationsNotificationDestination; import java.lang.String; -import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -31,21 +29,6 @@ public Optional displayNameContains() { return Optional.ofNullable(this.displayNameContains); } - /** - * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - */ - @Import(name="notificationDestinations") - private @Nullable List notificationDestinations; - - /** - * @return A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - */ - public Optional> notificationDestinations() { - return Optional.ofNullable(this.notificationDestinations); - } - /** * The type of the Notification Destination to filter by. Valid values are: * * `EMAIL` - Filters Notification Destinations of type Email. @@ -75,7 +58,6 @@ private GetNotificationDestinationsPlainArgs() {} private GetNotificationDestinationsPlainArgs(GetNotificationDestinationsPlainArgs $) { this.displayNameContains = $.displayNameContains; - this.notificationDestinations = $.notificationDestinations; this.type = $.type; } @@ -108,27 +90,6 @@ public Builder displayNameContains(@Nullable String displayNameContains) { return this; } - /** - * @param notificationDestinations A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - * @return builder - * - */ - public Builder notificationDestinations(@Nullable List notificationDestinations) { - $.notificationDestinations = notificationDestinations; - return this; - } - - /** - * @param notificationDestinations A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - * - * @return builder - * - */ - public Builder notificationDestinations(GetNotificationDestinationsNotificationDestination... notificationDestinations) { - return notificationDestinations(List.of(notificationDestinations)); - } - /** * @param type The type of the Notification Destination to filter by. Valid values are: * * `EMAIL` - Filters Notification Destinations of type Email. diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsArgs.java new file mode 100644 index 00000000..26fec307 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsArgs.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsArgs Empty = new GetRegisteredModelVersionsArgs(); + + /** + * The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + */ + @Import(name="fullName", required=true) + private Output fullName; + + /** + * @return The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + */ + public Output fullName() { + return this.fullName; + } + + /** + * list of objects describing the model versions. Each object consists of following attributes: + * + */ + @Import(name="modelVersions") + private @Nullable Output> modelVersions; + + /** + * @return list of objects describing the model versions. Each object consists of following attributes: + * + */ + public Optional>> modelVersions() { + return Optional.ofNullable(this.modelVersions); + } + + private GetRegisteredModelVersionsArgs() {} + + private GetRegisteredModelVersionsArgs(GetRegisteredModelVersionsArgs $) { + this.fullName = $.fullName; + this.modelVersions = $.modelVersions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsArgs(); + } + + public Builder(GetRegisteredModelVersionsArgs defaults) { + $ = new GetRegisteredModelVersionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param fullName The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + * @return builder + * + */ + public Builder fullName(Output fullName) { + $.fullName = fullName; + return this; + } + + /** + * @param fullName The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + * @return builder + * + */ + public Builder fullName(String fullName) { + return fullName(Output.of(fullName)); + } + + /** + * @param modelVersions list of objects describing the model versions. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersions(@Nullable Output> modelVersions) { + $.modelVersions = modelVersions; + return this; + } + + /** + * @param modelVersions list of objects describing the model versions. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersions(List modelVersions) { + return modelVersions(Output.of(modelVersions)); + } + + /** + * @param modelVersions list of objects describing the model versions. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersions(GetRegisteredModelVersionsModelVersionArgs... modelVersions) { + return modelVersions(List.of(modelVersions)); + } + + public GetRegisteredModelVersionsArgs build() { + if ($.fullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsArgs", "fullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersion.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersion.java new file mode 100644 index 00000000..62f95b5d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersion.java @@ -0,0 +1,555 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionAlias; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependency; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersion extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsModelVersion Empty = new GetRegisteredModelVersionsModelVersion(); + + /** + * the list of aliases associated with this model. Each item is object consisting of following attributes: + * + */ + @Import(name="aliases") + private @Nullable List aliases; + + /** + * @return the list of aliases associated with this model. Each item is object consisting of following attributes: + * + */ + public Optional> aliases() { + return Optional.ofNullable(this.aliases); + } + + @Import(name="browseOnly") + private @Nullable Boolean browseOnly; + + public Optional browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + + /** + * The name of the catalog where the schema and the registered model reside. + * + */ + @Import(name="catalogName") + private @Nullable String catalogName; + + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + public Optional catalogName() { + return Optional.ofNullable(this.catalogName); + } + + /** + * The comment attached to the registered model. + * + */ + @Import(name="comment") + private @Nullable String comment; + + /** + * @return The comment attached to the registered model. + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + + /** + * the Unix timestamp at the model's creation + * + */ + @Import(name="createdAt") + private @Nullable Integer createdAt; + + /** + * @return the Unix timestamp at the model's creation + * + */ + public Optional createdAt() { + return Optional.ofNullable(this.createdAt); + } + + /** + * the identifier of the user who created the model + * + */ + @Import(name="createdBy") + private @Nullable String createdBy; + + /** + * @return the identifier of the user who created the model + * + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The unique identifier of the model version + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The unique identifier of the model version + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * the unique identifier of the metastore + * + */ + @Import(name="metastoreId") + private @Nullable String metastoreId; + + /** + * @return the unique identifier of the metastore + * + */ + public Optional metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + @Import(name="modelName") + private @Nullable String modelName; + + public Optional modelName() { + return Optional.ofNullable(this.modelName); + } + + /** + * block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + */ + @Import(name="modelVersionDependencies") + private @Nullable List modelVersionDependencies; + + /** + * @return block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + */ + public Optional> modelVersionDependencies() { + return Optional.ofNullable(this.modelVersionDependencies); + } + + /** + * MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + */ + @Import(name="runId") + private @Nullable String runId; + + /** + * @return MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + */ + public Optional runId() { + return Optional.ofNullable(this.runId); + } + + /** + * ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + */ + @Import(name="runWorkspaceId") + private @Nullable Integer runWorkspaceId; + + /** + * @return ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + */ + public Optional runWorkspaceId() { + return Optional.ofNullable(this.runWorkspaceId); + } + + /** + * The name of the schema where the registered model resides. + * + */ + @Import(name="schemaName") + private @Nullable String schemaName; + + /** + * @return The name of the schema where the registered model resides. + * + */ + public Optional schemaName() { + return Optional.ofNullable(this.schemaName); + } + + /** + * URI indicating the location of the source artifacts (files) for the model version. + * + */ + @Import(name="source") + private @Nullable String source; + + /** + * @return URI indicating the location of the source artifacts (files) for the model version. + * + */ + public Optional source() { + return Optional.ofNullable(this.source); + } + + /** + * Current status of the model version. + * + */ + @Import(name="status") + private @Nullable String status; + + /** + * @return Current status of the model version. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + + /** + * The storage location under which model version data files are stored. + * + */ + @Import(name="storageLocation") + private @Nullable String storageLocation; + + /** + * @return The storage location under which model version data files are stored. + * + */ + public Optional storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + /** + * the timestamp of the last time changes were made to the model + * + */ + @Import(name="updatedAt") + private @Nullable Integer updatedAt; + + /** + * @return the timestamp of the last time changes were made to the model + * + */ + public Optional updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + + /** + * the identifier of the user who updated the model last time + * + */ + @Import(name="updatedBy") + private @Nullable String updatedBy; + + /** + * @return the identifier of the user who updated the model last time + * + */ + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + /** + * Integer model version number, used to reference the model version in API requests. + * + */ + @Import(name="version") + private @Nullable Integer version; + + /** + * @return Integer model version number, used to reference the model version in API requests. + * + */ + public Optional version() { + return Optional.ofNullable(this.version); + } + + private GetRegisteredModelVersionsModelVersion() {} + + private GetRegisteredModelVersionsModelVersion(GetRegisteredModelVersionsModelVersion $) { + this.aliases = $.aliases; + this.browseOnly = $.browseOnly; + this.catalogName = $.catalogName; + this.comment = $.comment; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.id = $.id; + this.metastoreId = $.metastoreId; + this.modelName = $.modelName; + this.modelVersionDependencies = $.modelVersionDependencies; + this.runId = $.runId; + this.runWorkspaceId = $.runWorkspaceId; + this.schemaName = $.schemaName; + this.source = $.source; + this.status = $.status; + this.storageLocation = $.storageLocation; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersion defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersion $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersion(); + } + + public Builder(GetRegisteredModelVersionsModelVersion defaults) { + $ = new GetRegisteredModelVersionsModelVersion(Objects.requireNonNull(defaults)); + } + + /** + * @param aliases the list of aliases associated with this model. Each item is object consisting of following attributes: + * + * @return builder + * + */ + public Builder aliases(@Nullable List aliases) { + $.aliases = aliases; + return this; + } + + /** + * @param aliases the list of aliases associated with this model. Each item is object consisting of following attributes: + * + * @return builder + * + */ + public Builder aliases(GetRegisteredModelVersionsModelVersionAlias... aliases) { + return aliases(List.of(aliases)); + } + + public Builder browseOnly(@Nullable Boolean browseOnly) { + $.browseOnly = browseOnly; + return this; + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(@Nullable String catalogName) { + $.catalogName = catalogName; + return this; + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(@Nullable String comment) { + $.comment = comment; + return this; + } + + /** + * @param createdAt the Unix timestamp at the model's creation + * + * @return builder + * + */ + public Builder createdAt(@Nullable Integer createdAt) { + $.createdAt = createdAt; + return this; + } + + /** + * @param createdBy the identifier of the user who created the model + * + * @return builder + * + */ + public Builder createdBy(@Nullable String createdBy) { + $.createdBy = createdBy; + return this; + } + + /** + * @param id The unique identifier of the model version + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param metastoreId the unique identifier of the metastore + * + * @return builder + * + */ + public Builder metastoreId(@Nullable String metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + public Builder modelName(@Nullable String modelName) { + $.modelName = modelName; + return this; + } + + /** + * @param modelVersionDependencies block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersionDependencies(@Nullable List modelVersionDependencies) { + $.modelVersionDependencies = modelVersionDependencies; + return this; + } + + /** + * @param modelVersionDependencies block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersionDependencies(GetRegisteredModelVersionsModelVersionModelVersionDependency... modelVersionDependencies) { + return modelVersionDependencies(List.of(modelVersionDependencies)); + } + + /** + * @param runId MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + * @return builder + * + */ + public Builder runId(@Nullable String runId) { + $.runId = runId; + return this; + } + + /** + * @param runWorkspaceId ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + * @return builder + * + */ + public Builder runWorkspaceId(@Nullable Integer runWorkspaceId) { + $.runWorkspaceId = runWorkspaceId; + return this; + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(@Nullable String schemaName) { + $.schemaName = schemaName; + return this; + } + + /** + * @param source URI indicating the location of the source artifacts (files) for the model version. + * + * @return builder + * + */ + public Builder source(@Nullable String source) { + $.source = source; + return this; + } + + /** + * @param status Current status of the model version. + * + * @return builder + * + */ + public Builder status(@Nullable String status) { + $.status = status; + return this; + } + + /** + * @param storageLocation The storage location under which model version data files are stored. + * + * @return builder + * + */ + public Builder storageLocation(@Nullable String storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + /** + * @param updatedAt the timestamp of the last time changes were made to the model + * + * @return builder + * + */ + public Builder updatedAt(@Nullable Integer updatedAt) { + $.updatedAt = updatedAt; + return this; + } + + /** + * @param updatedBy the identifier of the user who updated the model last time + * + * @return builder + * + */ + public Builder updatedBy(@Nullable String updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + /** + * @param version Integer model version number, used to reference the model version in API requests. + * + * @return builder + * + */ + public Builder version(@Nullable Integer version) { + $.version = version; + return this; + } + + public GetRegisteredModelVersionsModelVersion build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionAlias.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionAlias.java new file mode 100644 index 00000000..3113f4b9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionAlias.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionAlias extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsModelVersionAlias Empty = new GetRegisteredModelVersionsModelVersionAlias(); + + /** + * string with the name of alias + * + */ + @Import(name="aliasName") + private @Nullable String aliasName; + + /** + * @return string with the name of alias + * + */ + public Optional aliasName() { + return Optional.ofNullable(this.aliasName); + } + + /** + * associated model version + * + */ + @Import(name="versionNum") + private @Nullable Integer versionNum; + + /** + * @return associated model version + * + */ + public Optional versionNum() { + return Optional.ofNullable(this.versionNum); + } + + private GetRegisteredModelVersionsModelVersionAlias() {} + + private GetRegisteredModelVersionsModelVersionAlias(GetRegisteredModelVersionsModelVersionAlias $) { + this.aliasName = $.aliasName; + this.versionNum = $.versionNum; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionAlias defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionAlias $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionAlias(); + } + + public Builder(GetRegisteredModelVersionsModelVersionAlias defaults) { + $ = new GetRegisteredModelVersionsModelVersionAlias(Objects.requireNonNull(defaults)); + } + + /** + * @param aliasName string with the name of alias + * + * @return builder + * + */ + public Builder aliasName(@Nullable String aliasName) { + $.aliasName = aliasName; + return this; + } + + /** + * @param versionNum associated model version + * + * @return builder + * + */ + public Builder versionNum(@Nullable Integer versionNum) { + $.versionNum = versionNum; + return this; + } + + public GetRegisteredModelVersionsModelVersionAlias build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionAliasArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionAliasArgs.java new file mode 100644 index 00000000..89b40050 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionAliasArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionAliasArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRegisteredModelVersionsModelVersionAliasArgs Empty = new GetRegisteredModelVersionsModelVersionAliasArgs(); + + /** + * string with the name of alias + * + */ + @Import(name="aliasName") + private @Nullable Output aliasName; + + /** + * @return string with the name of alias + * + */ + public Optional> aliasName() { + return Optional.ofNullable(this.aliasName); + } + + /** + * associated model version + * + */ + @Import(name="versionNum") + private @Nullable Output versionNum; + + /** + * @return associated model version + * + */ + public Optional> versionNum() { + return Optional.ofNullable(this.versionNum); + } + + private GetRegisteredModelVersionsModelVersionAliasArgs() {} + + private GetRegisteredModelVersionsModelVersionAliasArgs(GetRegisteredModelVersionsModelVersionAliasArgs $) { + this.aliasName = $.aliasName; + this.versionNum = $.versionNum; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionAliasArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionAliasArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionAliasArgs(); + } + + public Builder(GetRegisteredModelVersionsModelVersionAliasArgs defaults) { + $ = new GetRegisteredModelVersionsModelVersionAliasArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aliasName string with the name of alias + * + * @return builder + * + */ + public Builder aliasName(@Nullable Output aliasName) { + $.aliasName = aliasName; + return this; + } + + /** + * @param aliasName string with the name of alias + * + * @return builder + * + */ + public Builder aliasName(String aliasName) { + return aliasName(Output.of(aliasName)); + } + + /** + * @param versionNum associated model version + * + * @return builder + * + */ + public Builder versionNum(@Nullable Output versionNum) { + $.versionNum = versionNum; + return this; + } + + /** + * @param versionNum associated model version + * + * @return builder + * + */ + public Builder versionNum(Integer versionNum) { + return versionNum(Output.of(versionNum)); + } + + public GetRegisteredModelVersionsModelVersionAliasArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionArgs.java new file mode 100644 index 00000000..956d892f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionArgs.java @@ -0,0 +1,734 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionAliasArgs; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRegisteredModelVersionsModelVersionArgs Empty = new GetRegisteredModelVersionsModelVersionArgs(); + + /** + * the list of aliases associated with this model. Each item is object consisting of following attributes: + * + */ + @Import(name="aliases") + private @Nullable Output> aliases; + + /** + * @return the list of aliases associated with this model. Each item is object consisting of following attributes: + * + */ + public Optional>> aliases() { + return Optional.ofNullable(this.aliases); + } + + @Import(name="browseOnly") + private @Nullable Output browseOnly; + + public Optional> browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + + /** + * The name of the catalog where the schema and the registered model reside. + * + */ + @Import(name="catalogName") + private @Nullable Output catalogName; + + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + public Optional> catalogName() { + return Optional.ofNullable(this.catalogName); + } + + /** + * The comment attached to the registered model. + * + */ + @Import(name="comment") + private @Nullable Output comment; + + /** + * @return The comment attached to the registered model. + * + */ + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + /** + * the Unix timestamp at the model's creation + * + */ + @Import(name="createdAt") + private @Nullable Output createdAt; + + /** + * @return the Unix timestamp at the model's creation + * + */ + public Optional> createdAt() { + return Optional.ofNullable(this.createdAt); + } + + /** + * the identifier of the user who created the model + * + */ + @Import(name="createdBy") + private @Nullable Output createdBy; + + /** + * @return the identifier of the user who created the model + * + */ + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The unique identifier of the model version + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The unique identifier of the model version + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * the unique identifier of the metastore + * + */ + @Import(name="metastoreId") + private @Nullable Output metastoreId; + + /** + * @return the unique identifier of the metastore + * + */ + public Optional> metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + @Import(name="modelName") + private @Nullable Output modelName; + + public Optional> modelName() { + return Optional.ofNullable(this.modelName); + } + + /** + * block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + */ + @Import(name="modelVersionDependencies") + private @Nullable Output> modelVersionDependencies; + + /** + * @return block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + */ + public Optional>> modelVersionDependencies() { + return Optional.ofNullable(this.modelVersionDependencies); + } + + /** + * MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + */ + @Import(name="runId") + private @Nullable Output runId; + + /** + * @return MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + */ + public Optional> runId() { + return Optional.ofNullable(this.runId); + } + + /** + * ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + */ + @Import(name="runWorkspaceId") + private @Nullable Output runWorkspaceId; + + /** + * @return ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + */ + public Optional> runWorkspaceId() { + return Optional.ofNullable(this.runWorkspaceId); + } + + /** + * The name of the schema where the registered model resides. + * + */ + @Import(name="schemaName") + private @Nullable Output schemaName; + + /** + * @return The name of the schema where the registered model resides. + * + */ + public Optional> schemaName() { + return Optional.ofNullable(this.schemaName); + } + + /** + * URI indicating the location of the source artifacts (files) for the model version. + * + */ + @Import(name="source") + private @Nullable Output source; + + /** + * @return URI indicating the location of the source artifacts (files) for the model version. + * + */ + public Optional> source() { + return Optional.ofNullable(this.source); + } + + /** + * Current status of the model version. + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return Current status of the model version. + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * The storage location under which model version data files are stored. + * + */ + @Import(name="storageLocation") + private @Nullable Output storageLocation; + + /** + * @return The storage location under which model version data files are stored. + * + */ + public Optional> storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + /** + * the timestamp of the last time changes were made to the model + * + */ + @Import(name="updatedAt") + private @Nullable Output updatedAt; + + /** + * @return the timestamp of the last time changes were made to the model + * + */ + public Optional> updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + + /** + * the identifier of the user who updated the model last time + * + */ + @Import(name="updatedBy") + private @Nullable Output updatedBy; + + /** + * @return the identifier of the user who updated the model last time + * + */ + public Optional> updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + /** + * Integer model version number, used to reference the model version in API requests. + * + */ + @Import(name="version") + private @Nullable Output version; + + /** + * @return Integer model version number, used to reference the model version in API requests. + * + */ + public Optional> version() { + return Optional.ofNullable(this.version); + } + + private GetRegisteredModelVersionsModelVersionArgs() {} + + private GetRegisteredModelVersionsModelVersionArgs(GetRegisteredModelVersionsModelVersionArgs $) { + this.aliases = $.aliases; + this.browseOnly = $.browseOnly; + this.catalogName = $.catalogName; + this.comment = $.comment; + this.createdAt = $.createdAt; + this.createdBy = $.createdBy; + this.id = $.id; + this.metastoreId = $.metastoreId; + this.modelName = $.modelName; + this.modelVersionDependencies = $.modelVersionDependencies; + this.runId = $.runId; + this.runWorkspaceId = $.runWorkspaceId; + this.schemaName = $.schemaName; + this.source = $.source; + this.status = $.status; + this.storageLocation = $.storageLocation; + this.updatedAt = $.updatedAt; + this.updatedBy = $.updatedBy; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionArgs(); + } + + public Builder(GetRegisteredModelVersionsModelVersionArgs defaults) { + $ = new GetRegisteredModelVersionsModelVersionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aliases the list of aliases associated with this model. Each item is object consisting of following attributes: + * + * @return builder + * + */ + public Builder aliases(@Nullable Output> aliases) { + $.aliases = aliases; + return this; + } + + /** + * @param aliases the list of aliases associated with this model. Each item is object consisting of following attributes: + * + * @return builder + * + */ + public Builder aliases(List aliases) { + return aliases(Output.of(aliases)); + } + + /** + * @param aliases the list of aliases associated with this model. Each item is object consisting of following attributes: + * + * @return builder + * + */ + public Builder aliases(GetRegisteredModelVersionsModelVersionAliasArgs... aliases) { + return aliases(List.of(aliases)); + } + + public Builder browseOnly(@Nullable Output browseOnly) { + $.browseOnly = browseOnly; + return this; + } + + public Builder browseOnly(Boolean browseOnly) { + return browseOnly(Output.of(browseOnly)); + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(@Nullable Output catalogName) { + $.catalogName = catalogName; + return this; + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(String catalogName) { + return catalogName(Output.of(catalogName)); + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + /** + * @param createdAt the Unix timestamp at the model's creation + * + * @return builder + * + */ + public Builder createdAt(@Nullable Output createdAt) { + $.createdAt = createdAt; + return this; + } + + /** + * @param createdAt the Unix timestamp at the model's creation + * + * @return builder + * + */ + public Builder createdAt(Integer createdAt) { + return createdAt(Output.of(createdAt)); + } + + /** + * @param createdBy the identifier of the user who created the model + * + * @return builder + * + */ + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + /** + * @param createdBy the identifier of the user who created the model + * + * @return builder + * + */ + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + /** + * @param id The unique identifier of the model version + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The unique identifier of the model version + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param metastoreId the unique identifier of the metastore + * + * @return builder + * + */ + public Builder metastoreId(@Nullable Output metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + /** + * @param metastoreId the unique identifier of the metastore + * + * @return builder + * + */ + public Builder metastoreId(String metastoreId) { + return metastoreId(Output.of(metastoreId)); + } + + public Builder modelName(@Nullable Output modelName) { + $.modelName = modelName; + return this; + } + + public Builder modelName(String modelName) { + return modelName(Output.of(modelName)); + } + + /** + * @param modelVersionDependencies block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersionDependencies(@Nullable Output> modelVersionDependencies) { + $.modelVersionDependencies = modelVersionDependencies; + return this; + } + + /** + * @param modelVersionDependencies block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersionDependencies(List modelVersionDependencies) { + return modelVersionDependencies(Output.of(modelVersionDependencies)); + } + + /** + * @param modelVersionDependencies block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersionDependencies(GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs... modelVersionDependencies) { + return modelVersionDependencies(List.of(modelVersionDependencies)); + } + + /** + * @param runId MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + * @return builder + * + */ + public Builder runId(@Nullable Output runId) { + $.runId = runId; + return this; + } + + /** + * @param runId MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + * @return builder + * + */ + public Builder runId(String runId) { + return runId(Output.of(runId)); + } + + /** + * @param runWorkspaceId ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + * @return builder + * + */ + public Builder runWorkspaceId(@Nullable Output runWorkspaceId) { + $.runWorkspaceId = runWorkspaceId; + return this; + } + + /** + * @param runWorkspaceId ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + * @return builder + * + */ + public Builder runWorkspaceId(Integer runWorkspaceId) { + return runWorkspaceId(Output.of(runWorkspaceId)); + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(@Nullable Output schemaName) { + $.schemaName = schemaName; + return this; + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(String schemaName) { + return schemaName(Output.of(schemaName)); + } + + /** + * @param source URI indicating the location of the source artifacts (files) for the model version. + * + * @return builder + * + */ + public Builder source(@Nullable Output source) { + $.source = source; + return this; + } + + /** + * @param source URI indicating the location of the source artifacts (files) for the model version. + * + * @return builder + * + */ + public Builder source(String source) { + return source(Output.of(source)); + } + + /** + * @param status Current status of the model version. + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status Current status of the model version. + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + /** + * @param storageLocation The storage location under which model version data files are stored. + * + * @return builder + * + */ + public Builder storageLocation(@Nullable Output storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + /** + * @param storageLocation The storage location under which model version data files are stored. + * + * @return builder + * + */ + public Builder storageLocation(String storageLocation) { + return storageLocation(Output.of(storageLocation)); + } + + /** + * @param updatedAt the timestamp of the last time changes were made to the model + * + * @return builder + * + */ + public Builder updatedAt(@Nullable Output updatedAt) { + $.updatedAt = updatedAt; + return this; + } + + /** + * @param updatedAt the timestamp of the last time changes were made to the model + * + * @return builder + * + */ + public Builder updatedAt(Integer updatedAt) { + return updatedAt(Output.of(updatedAt)); + } + + /** + * @param updatedBy the identifier of the user who updated the model last time + * + * @return builder + * + */ + public Builder updatedBy(@Nullable Output updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + /** + * @param updatedBy the identifier of the user who updated the model last time + * + * @return builder + * + */ + public Builder updatedBy(String updatedBy) { + return updatedBy(Output.of(updatedBy)); + } + + /** + * @param version Integer model version number, used to reference the model version in API requests. + * + * @return builder + * + */ + public Builder version(@Nullable Output version) { + $.version = version; + return this; + } + + /** + * @param version Integer model version number, used to reference the model version in API requests. + * + * @return builder + * + */ + public Builder version(Integer version) { + return version(Output.of(version)); + } + + public GetRegisteredModelVersionsModelVersionArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.java new file mode 100644 index 00000000..5d5fb968 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependency extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependency Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependency(); + + /** + * list of dependencies consisting of following attributes: + * + */ + @Import(name="dependencies") + private @Nullable List dependencies; + + /** + * @return list of dependencies consisting of following attributes: + * + */ + public Optional> dependencies() { + return Optional.ofNullable(this.dependencies); + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependency() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependency(GetRegisteredModelVersionsModelVersionModelVersionDependency $) { + this.dependencies = $.dependencies; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependency defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependency $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependency(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependency defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependency(Objects.requireNonNull(defaults)); + } + + /** + * @param dependencies list of dependencies consisting of following attributes: + * + * @return builder + * + */ + public Builder dependencies(@Nullable List dependencies) { + $.dependencies = dependencies; + return this; + } + + /** + * @param dependencies list of dependencies consisting of following attributes: + * + * @return builder + * + */ + public Builder dependencies(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency... dependencies) { + return dependencies(List.of(dependencies)); + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependency build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs.java new file mode 100644 index 00000000..5ab23749 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs(); + + /** + * list of dependencies consisting of following attributes: + * + */ + @Import(name="dependencies") + private @Nullable Output> dependencies; + + /** + * @return list of dependencies consisting of following attributes: + * + */ + public Optional>> dependencies() { + return Optional.ofNullable(this.dependencies); + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs(GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs $) { + this.dependencies = $.dependencies; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param dependencies list of dependencies consisting of following attributes: + * + * @return builder + * + */ + public Builder dependencies(@Nullable Output> dependencies) { + $.dependencies = dependencies; + return this; + } + + /** + * @param dependencies list of dependencies consisting of following attributes: + * + * @return builder + * + */ + public Builder dependencies(List dependencies) { + return dependencies(Output.of(dependencies)); + } + + /** + * @param dependencies list of dependencies consisting of following attributes: + * + * @return builder + * + */ + public Builder dependencies(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs... dependencies) { + return dependencies(List.of(dependencies)); + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.java new file mode 100644 index 00000000..77d6bf12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency(); + + /** + * A function that is dependent on a SQL object: + * + */ + @Import(name="functions") + private @Nullable List functions; + + /** + * @return A function that is dependent on a SQL object: + * + */ + public Optional> functions() { + return Optional.ofNullable(this.functions); + } + + /** + * A table that is dependent on a SQL object + * + */ + @Import(name="tables") + private @Nullable List tables; + + /** + * @return A table that is dependent on a SQL object + * + */ + public Optional> tables() { + return Optional.ofNullable(this.tables); + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency $) { + this.functions = $.functions; + this.tables = $.tables; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency(Objects.requireNonNull(defaults)); + } + + /** + * @param functions A function that is dependent on a SQL object: + * + * @return builder + * + */ + public Builder functions(@Nullable List functions) { + $.functions = functions; + return this; + } + + /** + * @param functions A function that is dependent on a SQL object: + * + * @return builder + * + */ + public Builder functions(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction... functions) { + return functions(List.of(functions)); + } + + /** + * @param tables A table that is dependent on a SQL object + * + * @return builder + * + */ + public Builder tables(@Nullable List tables) { + $.tables = tables; + return this; + } + + /** + * @param tables A table that is dependent on a SQL object + * + * @return builder + * + */ + public Builder tables(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable... tables) { + return tables(List.of(tables)); + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs.java new file mode 100644 index 00000000..4268a790 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs.java @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs(); + + /** + * A function that is dependent on a SQL object: + * + */ + @Import(name="functions") + private @Nullable Output> functions; + + /** + * @return A function that is dependent on a SQL object: + * + */ + public Optional>> functions() { + return Optional.ofNullable(this.functions); + } + + /** + * A table that is dependent on a SQL object + * + */ + @Import(name="tables") + private @Nullable Output> tables; + + /** + * @return A table that is dependent on a SQL object + * + */ + public Optional>> tables() { + return Optional.ofNullable(this.tables); + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs $) { + this.functions = $.functions; + this.tables = $.tables; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param functions A function that is dependent on a SQL object: + * + * @return builder + * + */ + public Builder functions(@Nullable Output> functions) { + $.functions = functions; + return this; + } + + /** + * @param functions A function that is dependent on a SQL object: + * + * @return builder + * + */ + public Builder functions(List functions) { + return functions(Output.of(functions)); + } + + /** + * @param functions A function that is dependent on a SQL object: + * + * @return builder + * + */ + public Builder functions(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs... functions) { + return functions(List.of(functions)); + } + + /** + * @param tables A table that is dependent on a SQL object + * + * @return builder + * + */ + public Builder tables(@Nullable Output> tables) { + $.tables = tables; + return this; + } + + /** + * @param tables A table that is dependent on a SQL object + * + * @return builder + * + */ + public Builder tables(List tables) { + return tables(Output.of(tables)); + } + + /** + * @param tables A table that is dependent on a SQL object + * + * @return builder + * + */ + public Builder tables(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs... tables) { + return tables(List.of(tables)); + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.java new file mode 100644 index 00000000..724c52e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction(); + + /** + * Full name of the dependent function + * + */ + @Import(name="functionFullName", required=true) + private String functionFullName; + + /** + * @return Full name of the dependent function + * + */ + public String functionFullName() { + return this.functionFullName; + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction $) { + this.functionFullName = $.functionFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction(Objects.requireNonNull(defaults)); + } + + /** + * @param functionFullName Full name of the dependent function + * + * @return builder + * + */ + public Builder functionFullName(String functionFullName) { + $.functionFullName = functionFullName; + return this; + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction build() { + if ($.functionFullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction", "functionFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs.java new file mode 100644 index 00000000..75ef0542 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs(); + + /** + * Full name of the dependent function + * + */ + @Import(name="functionFullName", required=true) + private Output functionFullName; + + /** + * @return Full name of the dependent function + * + */ + public Output functionFullName() { + return this.functionFullName; + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs $) { + this.functionFullName = $.functionFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param functionFullName Full name of the dependent function + * + * @return builder + * + */ + public Builder functionFullName(Output functionFullName) { + $.functionFullName = functionFullName; + return this; + } + + /** + * @param functionFullName Full name of the dependent function + * + * @return builder + * + */ + public Builder functionFullName(String functionFullName) { + return functionFullName(Output.of(functionFullName)); + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs build() { + if ($.functionFullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs", "functionFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.java new file mode 100644 index 00000000..b2d62e73 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable(); + + /** + * Full name of the dependent table + * + */ + @Import(name="tableFullName", required=true) + private String tableFullName; + + /** + * @return Full name of the dependent table + * + */ + public String tableFullName() { + return this.tableFullName; + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable $) { + this.tableFullName = $.tableFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable(Objects.requireNonNull(defaults)); + } + + /** + * @param tableFullName Full name of the dependent table + * + * @return builder + * + */ + public Builder tableFullName(String tableFullName) { + $.tableFullName = tableFullName; + return this; + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable build() { + if ($.tableFullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable", "tableFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs.java new file mode 100644 index 00000000..ac401cca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs Empty = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs(); + + /** + * Full name of the dependent table + * + */ + @Import(name="tableFullName", required=true) + private Output tableFullName; + + /** + * @return Full name of the dependent table + * + */ + public Output tableFullName() { + return this.tableFullName; + } + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs() {} + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs $) { + this.tableFullName = $.tableFullName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs(); + } + + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs defaults) { + $ = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param tableFullName Full name of the dependent table + * + * @return builder + * + */ + public Builder tableFullName(Output tableFullName) { + $.tableFullName = tableFullName; + return this; + } + + /** + * @param tableFullName Full name of the dependent table + * + * @return builder + * + */ + public Builder tableFullName(String tableFullName) { + return tableFullName(Output.of(tableFullName)); + } + + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs build() { + if ($.tableFullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs", "tableFullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsPlainArgs.java new file mode 100644 index 00000000..40afe464 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetRegisteredModelVersionsPlainArgs.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetRegisteredModelVersionsModelVersion; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRegisteredModelVersionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRegisteredModelVersionsPlainArgs Empty = new GetRegisteredModelVersionsPlainArgs(); + + /** + * The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + */ + @Import(name="fullName", required=true) + private String fullName; + + /** + * @return The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + */ + public String fullName() { + return this.fullName; + } + + /** + * list of objects describing the model versions. Each object consists of following attributes: + * + */ + @Import(name="modelVersions") + private @Nullable List modelVersions; + + /** + * @return list of objects describing the model versions. Each object consists of following attributes: + * + */ + public Optional> modelVersions() { + return Optional.ofNullable(this.modelVersions); + } + + private GetRegisteredModelVersionsPlainArgs() {} + + private GetRegisteredModelVersionsPlainArgs(GetRegisteredModelVersionsPlainArgs $) { + this.fullName = $.fullName; + this.modelVersions = $.modelVersions; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRegisteredModelVersionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRegisteredModelVersionsPlainArgs $; + + public Builder() { + $ = new GetRegisteredModelVersionsPlainArgs(); + } + + public Builder(GetRegisteredModelVersionsPlainArgs defaults) { + $ = new GetRegisteredModelVersionsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param fullName The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + * @return builder + * + */ + public Builder fullName(String fullName) { + $.fullName = fullName; + return this; + } + + /** + * @param modelVersions list of objects describing the model versions. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersions(@Nullable List modelVersions) { + $.modelVersions = modelVersions; + return this; + } + + /** + * @param modelVersions list of objects describing the model versions. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder modelVersions(GetRegisteredModelVersionsModelVersion... modelVersions) { + return modelVersions(List.of(modelVersions)); + } + + public GetRegisteredModelVersionsPlainArgs build() { + if ($.fullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsPlainArgs", "fullName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsArgs.java new file mode 100644 index 00000000..812f3db5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsArgs Empty = new GetServingEndpointsArgs(); + + /** + * List of objects describing the serving endpoints. Each object consists of following attributes: + * + */ + @Import(name="endpoints") + private @Nullable Output> endpoints; + + /** + * @return List of objects describing the serving endpoints. Each object consists of following attributes: + * + */ + public Optional>> endpoints() { + return Optional.ofNullable(this.endpoints); + } + + private GetServingEndpointsArgs() {} + + private GetServingEndpointsArgs(GetServingEndpointsArgs $) { + this.endpoints = $.endpoints; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsArgs $; + + public Builder() { + $ = new GetServingEndpointsArgs(); + } + + public Builder(GetServingEndpointsArgs defaults) { + $ = new GetServingEndpointsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param endpoints List of objects describing the serving endpoints. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder endpoints(@Nullable Output> endpoints) { + $.endpoints = endpoints; + return this; + } + + /** + * @param endpoints List of objects describing the serving endpoints. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder endpoints(List endpoints) { + return endpoints(Output.of(endpoints)); + } + + /** + * @param endpoints List of objects describing the serving endpoints. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder endpoints(GetServingEndpointsEndpointArgs... endpoints) { + return endpoints(List.of(endpoints)); + } + + public GetServingEndpointsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpoint.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpoint.java new file mode 100644 index 00000000..6b852843 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpoint.java @@ -0,0 +1,271 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGateway; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointState; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointTag; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpoint extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpoint Empty = new GetServingEndpointsEndpoint(); + + /** + * A block with AI Gateway configuration for the serving endpoint. + * + */ + @Import(name="aiGateways") + private @Nullable List aiGateways; + + /** + * @return A block with AI Gateway configuration for the serving endpoint. + * + */ + public Optional> aiGateways() { + return Optional.ofNullable(this.aiGateways); + } + + /** + * The model serving endpoint configuration. + * + */ + @Import(name="configs") + private @Nullable List configs; + + /** + * @return The model serving endpoint configuration. + * + */ + public Optional> configs() { + return Optional.ofNullable(this.configs); + } + + @Import(name="creationTimestamp") + private @Nullable Integer creationTimestamp; + + public Optional creationTimestamp() { + return Optional.ofNullable(this.creationTimestamp); + } + + @Import(name="creator") + private @Nullable String creator; + + public Optional creator() { + return Optional.ofNullable(this.creator); + } + + @Import(name="id") + private @Nullable String id; + + public Optional id() { + return Optional.ofNullable(this.id); + } + + @Import(name="lastUpdatedTimestamp") + private @Nullable Integer lastUpdatedTimestamp; + + public Optional lastUpdatedTimestamp() { + return Optional.ofNullable(this.lastUpdatedTimestamp); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + @Import(name="states") + private @Nullable List states; + + public Optional> states() { + return Optional.ofNullable(this.states); + } + + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ + @Import(name="tags") + private @Nullable List tags; + + /** + * @return Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ + public Optional> tags() { + return Optional.ofNullable(this.tags); + } + + @Import(name="task") + private @Nullable String task; + + public Optional task() { + return Optional.ofNullable(this.task); + } + + private GetServingEndpointsEndpoint() {} + + private GetServingEndpointsEndpoint(GetServingEndpointsEndpoint $) { + this.aiGateways = $.aiGateways; + this.configs = $.configs; + this.creationTimestamp = $.creationTimestamp; + this.creator = $.creator; + this.id = $.id; + this.lastUpdatedTimestamp = $.lastUpdatedTimestamp; + this.name = $.name; + this.states = $.states; + this.tags = $.tags; + this.task = $.task; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpoint defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpoint $; + + public Builder() { + $ = new GetServingEndpointsEndpoint(); + } + + public Builder(GetServingEndpointsEndpoint defaults) { + $ = new GetServingEndpointsEndpoint(Objects.requireNonNull(defaults)); + } + + /** + * @param aiGateways A block with AI Gateway configuration for the serving endpoint. + * + * @return builder + * + */ + public Builder aiGateways(@Nullable List aiGateways) { + $.aiGateways = aiGateways; + return this; + } + + /** + * @param aiGateways A block with AI Gateway configuration for the serving endpoint. + * + * @return builder + * + */ + public Builder aiGateways(GetServingEndpointsEndpointAiGateway... aiGateways) { + return aiGateways(List.of(aiGateways)); + } + + /** + * @param configs The model serving endpoint configuration. + * + * @return builder + * + */ + public Builder configs(@Nullable List configs) { + $.configs = configs; + return this; + } + + /** + * @param configs The model serving endpoint configuration. + * + * @return builder + * + */ + public Builder configs(GetServingEndpointsEndpointConfig... configs) { + return configs(List.of(configs)); + } + + public Builder creationTimestamp(@Nullable Integer creationTimestamp) { + $.creationTimestamp = creationTimestamp; + return this; + } + + public Builder creator(@Nullable String creator) { + $.creator = creator; + return this; + } + + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + public Builder lastUpdatedTimestamp(@Nullable Integer lastUpdatedTimestamp) { + $.lastUpdatedTimestamp = lastUpdatedTimestamp; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public Builder states(@Nullable List states) { + $.states = states; + return this; + } + + public Builder states(GetServingEndpointsEndpointState... states) { + return states(List.of(states)); + } + + /** + * @param tags Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + * @return builder + * + */ + public Builder tags(@Nullable List tags) { + $.tags = tags; + return this; + } + + /** + * @param tags Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + * @return builder + * + */ + public Builder tags(GetServingEndpointsEndpointTag... tags) { + return tags(List.of(tags)); + } + + public Builder task(@Nullable String task) { + $.task = task; + return this; + } + + public GetServingEndpointsEndpoint build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGateway.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGateway.java new file mode 100644 index 00000000..886da3c1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGateway.java @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrail; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayRateLimit; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfig; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGateway extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGateway Empty = new GetServingEndpointsEndpointAiGateway(); + + @Import(name="guardrails") + private @Nullable List guardrails; + + public Optional> guardrails() { + return Optional.ofNullable(this.guardrails); + } + + @Import(name="inferenceTableConfigs") + private @Nullable List inferenceTableConfigs; + + public Optional> inferenceTableConfigs() { + return Optional.ofNullable(this.inferenceTableConfigs); + } + + /** + * A list of rate limit blocks to be applied to the serving endpoint. + * + */ + @Import(name="rateLimits") + private @Nullable List rateLimits; + + /** + * @return A list of rate limit blocks to be applied to the serving endpoint. + * + */ + public Optional> rateLimits() { + return Optional.ofNullable(this.rateLimits); + } + + @Import(name="usageTrackingConfigs") + private @Nullable List usageTrackingConfigs; + + public Optional> usageTrackingConfigs() { + return Optional.ofNullable(this.usageTrackingConfigs); + } + + private GetServingEndpointsEndpointAiGateway() {} + + private GetServingEndpointsEndpointAiGateway(GetServingEndpointsEndpointAiGateway $) { + this.guardrails = $.guardrails; + this.inferenceTableConfigs = $.inferenceTableConfigs; + this.rateLimits = $.rateLimits; + this.usageTrackingConfigs = $.usageTrackingConfigs; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGateway defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGateway $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGateway(); + } + + public Builder(GetServingEndpointsEndpointAiGateway defaults) { + $ = new GetServingEndpointsEndpointAiGateway(Objects.requireNonNull(defaults)); + } + + public Builder guardrails(@Nullable List guardrails) { + $.guardrails = guardrails; + return this; + } + + public Builder guardrails(GetServingEndpointsEndpointAiGatewayGuardrail... guardrails) { + return guardrails(List.of(guardrails)); + } + + public Builder inferenceTableConfigs(@Nullable List inferenceTableConfigs) { + $.inferenceTableConfigs = inferenceTableConfigs; + return this; + } + + public Builder inferenceTableConfigs(GetServingEndpointsEndpointAiGatewayInferenceTableConfig... inferenceTableConfigs) { + return inferenceTableConfigs(List.of(inferenceTableConfigs)); + } + + /** + * @param rateLimits A list of rate limit blocks to be applied to the serving endpoint. + * + * @return builder + * + */ + public Builder rateLimits(@Nullable List rateLimits) { + $.rateLimits = rateLimits; + return this; + } + + /** + * @param rateLimits A list of rate limit blocks to be applied to the serving endpoint. + * + * @return builder + * + */ + public Builder rateLimits(GetServingEndpointsEndpointAiGatewayRateLimit... rateLimits) { + return rateLimits(List.of(rateLimits)); + } + + public Builder usageTrackingConfigs(@Nullable List usageTrackingConfigs) { + $.usageTrackingConfigs = usageTrackingConfigs; + return this; + } + + public Builder usageTrackingConfigs(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig... usageTrackingConfigs) { + return usageTrackingConfigs(List.of(usageTrackingConfigs)); + } + + public GetServingEndpointsEndpointAiGateway build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayArgs.java new file mode 100644 index 00000000..42c20149 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayArgs.java @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayRateLimitArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayArgs Empty = new GetServingEndpointsEndpointAiGatewayArgs(); + + @Import(name="guardrails") + private @Nullable Output> guardrails; + + public Optional>> guardrails() { + return Optional.ofNullable(this.guardrails); + } + + @Import(name="inferenceTableConfigs") + private @Nullable Output> inferenceTableConfigs; + + public Optional>> inferenceTableConfigs() { + return Optional.ofNullable(this.inferenceTableConfigs); + } + + /** + * A list of rate limit blocks to be applied to the serving endpoint. + * + */ + @Import(name="rateLimits") + private @Nullable Output> rateLimits; + + /** + * @return A list of rate limit blocks to be applied to the serving endpoint. + * + */ + public Optional>> rateLimits() { + return Optional.ofNullable(this.rateLimits); + } + + @Import(name="usageTrackingConfigs") + private @Nullable Output> usageTrackingConfigs; + + public Optional>> usageTrackingConfigs() { + return Optional.ofNullable(this.usageTrackingConfigs); + } + + private GetServingEndpointsEndpointAiGatewayArgs() {} + + private GetServingEndpointsEndpointAiGatewayArgs(GetServingEndpointsEndpointAiGatewayArgs $) { + this.guardrails = $.guardrails; + this.inferenceTableConfigs = $.inferenceTableConfigs; + this.rateLimits = $.rateLimits; + this.usageTrackingConfigs = $.usageTrackingConfigs; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayArgs(Objects.requireNonNull(defaults)); + } + + public Builder guardrails(@Nullable Output> guardrails) { + $.guardrails = guardrails; + return this; + } + + public Builder guardrails(List guardrails) { + return guardrails(Output.of(guardrails)); + } + + public Builder guardrails(GetServingEndpointsEndpointAiGatewayGuardrailArgs... guardrails) { + return guardrails(List.of(guardrails)); + } + + public Builder inferenceTableConfigs(@Nullable Output> inferenceTableConfigs) { + $.inferenceTableConfigs = inferenceTableConfigs; + return this; + } + + public Builder inferenceTableConfigs(List inferenceTableConfigs) { + return inferenceTableConfigs(Output.of(inferenceTableConfigs)); + } + + public Builder inferenceTableConfigs(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs... inferenceTableConfigs) { + return inferenceTableConfigs(List.of(inferenceTableConfigs)); + } + + /** + * @param rateLimits A list of rate limit blocks to be applied to the serving endpoint. + * + * @return builder + * + */ + public Builder rateLimits(@Nullable Output> rateLimits) { + $.rateLimits = rateLimits; + return this; + } + + /** + * @param rateLimits A list of rate limit blocks to be applied to the serving endpoint. + * + * @return builder + * + */ + public Builder rateLimits(List rateLimits) { + return rateLimits(Output.of(rateLimits)); + } + + /** + * @param rateLimits A list of rate limit blocks to be applied to the serving endpoint. + * + * @return builder + * + */ + public Builder rateLimits(GetServingEndpointsEndpointAiGatewayRateLimitArgs... rateLimits) { + return rateLimits(List.of(rateLimits)); + } + + public Builder usageTrackingConfigs(@Nullable Output> usageTrackingConfigs) { + $.usageTrackingConfigs = usageTrackingConfigs; + return this; + } + + public Builder usageTrackingConfigs(List usageTrackingConfigs) { + return usageTrackingConfigs(Output.of(usageTrackingConfigs)); + } + + public Builder usageTrackingConfigs(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs... usageTrackingConfigs) { + return usageTrackingConfigs(List.of(usageTrackingConfigs)); + } + + public GetServingEndpointsEndpointAiGatewayArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrail.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrail.java new file mode 100644 index 00000000..73efa0b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrail.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailInputProperty; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailOutput; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrail extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrail Empty = new GetServingEndpointsEndpointAiGatewayGuardrail(); + + @Import(name="inputProperties") + private @Nullable List inputProperties; + + public Optional> inputProperties() { + return Optional.ofNullable(this.inputProperties); + } + + @Import(name="outputs") + private @Nullable List outputs; + + public Optional> outputs() { + return Optional.ofNullable(this.outputs); + } + + private GetServingEndpointsEndpointAiGatewayGuardrail() {} + + private GetServingEndpointsEndpointAiGatewayGuardrail(GetServingEndpointsEndpointAiGatewayGuardrail $) { + this.inputProperties = $.inputProperties; + this.outputs = $.outputs; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrail defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrail $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrail(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrail defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrail(Objects.requireNonNull(defaults)); + } + + public Builder inputProperties(@Nullable List inputProperties) { + $.inputProperties = inputProperties; + return this; + } + + public Builder inputProperties(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty... inputProperties) { + return inputProperties(List.of(inputProperties)); + } + + public Builder outputs(@Nullable List outputs) { + $.outputs = outputs; + return this; + } + + public Builder outputs(GetServingEndpointsEndpointAiGatewayGuardrailOutput... outputs) { + return outputs(List.of(outputs)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrail build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailArgs.java new file mode 100644 index 00000000..4549851b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailArgs Empty = new GetServingEndpointsEndpointAiGatewayGuardrailArgs(); + + @Import(name="inputProperties") + private @Nullable Output> inputProperties; + + public Optional>> inputProperties() { + return Optional.ofNullable(this.inputProperties); + } + + @Import(name="outputs") + private @Nullable Output> outputs; + + public Optional>> outputs() { + return Optional.ofNullable(this.outputs); + } + + private GetServingEndpointsEndpointAiGatewayGuardrailArgs() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailArgs(GetServingEndpointsEndpointAiGatewayGuardrailArgs $) { + this.inputProperties = $.inputProperties; + this.outputs = $.outputs; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailArgs(Objects.requireNonNull(defaults)); + } + + public Builder inputProperties(@Nullable Output> inputProperties) { + $.inputProperties = inputProperties; + return this; + } + + public Builder inputProperties(List inputProperties) { + return inputProperties(Output.of(inputProperties)); + } + + public Builder inputProperties(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs... inputProperties) { + return inputProperties(List.of(inputProperties)); + } + + public Builder outputs(@Nullable Output> outputs) { + $.outputs = outputs; + return this; + } + + public Builder outputs(List outputs) { + return outputs(Output.of(outputs)); + } + + public Builder outputs(GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs... outputs) { + return outputs(List.of(outputs)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.java new file mode 100644 index 00000000..4fb3aeb2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.java @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailInputProperty extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailInputProperty Empty = new GetServingEndpointsEndpointAiGatewayGuardrailInputProperty(); + + @Import(name="invalidKeywords") + private @Nullable List invalidKeywords; + + public Optional> invalidKeywords() { + return Optional.ofNullable(this.invalidKeywords); + } + + @Import(name="piis") + private @Nullable List piis; + + public Optional> piis() { + return Optional.ofNullable(this.piis); + } + + @Import(name="safety") + private @Nullable Boolean safety; + + public Optional safety() { + return Optional.ofNullable(this.safety); + } + + @Import(name="validTopics") + private @Nullable List validTopics; + + public Optional> validTopics() { + return Optional.ofNullable(this.validTopics); + } + + private GetServingEndpointsEndpointAiGatewayGuardrailInputProperty() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailInputProperty(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty $) { + this.invalidKeywords = $.invalidKeywords; + this.piis = $.piis; + this.safety = $.safety; + this.validTopics = $.validTopics; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailInputProperty $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputProperty(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputProperty(Objects.requireNonNull(defaults)); + } + + public Builder invalidKeywords(@Nullable List invalidKeywords) { + $.invalidKeywords = invalidKeywords; + return this; + } + + public Builder invalidKeywords(String... invalidKeywords) { + return invalidKeywords(List.of(invalidKeywords)); + } + + public Builder piis(@Nullable List piis) { + $.piis = piis; + return this; + } + + public Builder piis(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii... piis) { + return piis(List.of(piis)); + } + + public Builder safety(@Nullable Boolean safety) { + $.safety = safety; + return this; + } + + public Builder validTopics(@Nullable List validTopics) { + $.validTopics = validTopics; + return this; + } + + public Builder validTopics(String... validTopics) { + return validTopics(List.of(validTopics)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputProperty build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs.java new file mode 100644 index 00000000..b7ca9178 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs.java @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs Empty = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs(); + + @Import(name="invalidKeywords") + private @Nullable Output> invalidKeywords; + + public Optional>> invalidKeywords() { + return Optional.ofNullable(this.invalidKeywords); + } + + @Import(name="piis") + private @Nullable Output> piis; + + public Optional>> piis() { + return Optional.ofNullable(this.piis); + } + + @Import(name="safety") + private @Nullable Output safety; + + public Optional> safety() { + return Optional.ofNullable(this.safety); + } + + @Import(name="validTopics") + private @Nullable Output> validTopics; + + public Optional>> validTopics() { + return Optional.ofNullable(this.validTopics); + } + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs $) { + this.invalidKeywords = $.invalidKeywords; + this.piis = $.piis; + this.safety = $.safety; + this.validTopics = $.validTopics; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs(Objects.requireNonNull(defaults)); + } + + public Builder invalidKeywords(@Nullable Output> invalidKeywords) { + $.invalidKeywords = invalidKeywords; + return this; + } + + public Builder invalidKeywords(List invalidKeywords) { + return invalidKeywords(Output.of(invalidKeywords)); + } + + public Builder invalidKeywords(String... invalidKeywords) { + return invalidKeywords(List.of(invalidKeywords)); + } + + public Builder piis(@Nullable Output> piis) { + $.piis = piis; + return this; + } + + public Builder piis(List piis) { + return piis(Output.of(piis)); + } + + public Builder piis(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs... piis) { + return piis(List.of(piis)); + } + + public Builder safety(@Nullable Output safety) { + $.safety = safety; + return this; + } + + public Builder safety(Boolean safety) { + return safety(Output.of(safety)); + } + + public Builder validTopics(@Nullable Output> validTopics) { + $.validTopics = validTopics; + return this; + } + + public Builder validTopics(List validTopics) { + return validTopics(Output.of(validTopics)); + } + + public Builder validTopics(String... validTopics) { + return validTopics(List.of(validTopics)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.java new file mode 100644 index 00000000..73dc620e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii Empty = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii(); + + @Import(name="behavior", required=true) + private String behavior; + + public String behavior() { + return this.behavior; + } + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii $) { + this.behavior = $.behavior; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii(Objects.requireNonNull(defaults)); + } + + public Builder behavior(String behavior) { + $.behavior = behavior; + return this; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii build() { + if ($.behavior == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii", "behavior"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs.java new file mode 100644 index 00000000..15c514fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs.java @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs Empty = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs(); + + @Import(name="behavior", required=true) + private Output behavior; + + public Output behavior() { + return this.behavior; + } + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs $) { + this.behavior = $.behavior; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs(Objects.requireNonNull(defaults)); + } + + public Builder behavior(Output behavior) { + $.behavior = behavior; + return this; + } + + public Builder behavior(String behavior) { + return behavior(Output.of(behavior)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs build() { + if ($.behavior == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs", "behavior"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.java new file mode 100644 index 00000000..4dcde357 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.java @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPii; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailOutput extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailOutput Empty = new GetServingEndpointsEndpointAiGatewayGuardrailOutput(); + + @Import(name="invalidKeywords") + private @Nullable List invalidKeywords; + + public Optional> invalidKeywords() { + return Optional.ofNullable(this.invalidKeywords); + } + + @Import(name="piis") + private @Nullable List piis; + + public Optional> piis() { + return Optional.ofNullable(this.piis); + } + + @Import(name="safety") + private @Nullable Boolean safety; + + public Optional safety() { + return Optional.ofNullable(this.safety); + } + + @Import(name="validTopics") + private @Nullable List validTopics; + + public Optional> validTopics() { + return Optional.ofNullable(this.validTopics); + } + + private GetServingEndpointsEndpointAiGatewayGuardrailOutput() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailOutput(GetServingEndpointsEndpointAiGatewayGuardrailOutput $) { + this.invalidKeywords = $.invalidKeywords; + this.piis = $.piis; + this.safety = $.safety; + this.validTopics = $.validTopics; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailOutput defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailOutput $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutput(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailOutput defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutput(Objects.requireNonNull(defaults)); + } + + public Builder invalidKeywords(@Nullable List invalidKeywords) { + $.invalidKeywords = invalidKeywords; + return this; + } + + public Builder invalidKeywords(String... invalidKeywords) { + return invalidKeywords(List.of(invalidKeywords)); + } + + public Builder piis(@Nullable List piis) { + $.piis = piis; + return this; + } + + public Builder piis(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii... piis) { + return piis(List.of(piis)); + } + + public Builder safety(@Nullable Boolean safety) { + $.safety = safety; + return this; + } + + public Builder validTopics(@Nullable List validTopics) { + $.validTopics = validTopics; + return this; + } + + public Builder validTopics(String... validTopics) { + return validTopics(List.of(validTopics)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailOutput build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs.java new file mode 100644 index 00000000..4ce4d158 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs.java @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs Empty = new GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs(); + + @Import(name="invalidKeywords") + private @Nullable Output> invalidKeywords; + + public Optional>> invalidKeywords() { + return Optional.ofNullable(this.invalidKeywords); + } + + @Import(name="piis") + private @Nullable Output> piis; + + public Optional>> piis() { + return Optional.ofNullable(this.piis); + } + + @Import(name="safety") + private @Nullable Output safety; + + public Optional> safety() { + return Optional.ofNullable(this.safety); + } + + @Import(name="validTopics") + private @Nullable Output> validTopics; + + public Optional>> validTopics() { + return Optional.ofNullable(this.validTopics); + } + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs(GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs $) { + this.invalidKeywords = $.invalidKeywords; + this.piis = $.piis; + this.safety = $.safety; + this.validTopics = $.validTopics; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs(Objects.requireNonNull(defaults)); + } + + public Builder invalidKeywords(@Nullable Output> invalidKeywords) { + $.invalidKeywords = invalidKeywords; + return this; + } + + public Builder invalidKeywords(List invalidKeywords) { + return invalidKeywords(Output.of(invalidKeywords)); + } + + public Builder invalidKeywords(String... invalidKeywords) { + return invalidKeywords(List.of(invalidKeywords)); + } + + public Builder piis(@Nullable Output> piis) { + $.piis = piis; + return this; + } + + public Builder piis(List piis) { + return piis(Output.of(piis)); + } + + public Builder piis(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs... piis) { + return piis(List.of(piis)); + } + + public Builder safety(@Nullable Output safety) { + $.safety = safety; + return this; + } + + public Builder safety(Boolean safety) { + return safety(Output.of(safety)); + } + + public Builder validTopics(@Nullable Output> validTopics) { + $.validTopics = validTopics; + return this; + } + + public Builder validTopics(List validTopics) { + return validTopics(Output.of(validTopics)); + } + + public Builder validTopics(String... validTopics) { + return validTopics(List.of(validTopics)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.java new file mode 100644 index 00000000..82ce882e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailOutputPii extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailOutputPii Empty = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPii(); + + @Import(name="behavior", required=true) + private String behavior; + + public String behavior() { + return this.behavior; + } + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPii() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPii(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii $) { + this.behavior = $.behavior; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPii $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPii(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPii(Objects.requireNonNull(defaults)); + } + + public Builder behavior(String behavior) { + $.behavior = behavior; + return this; + } + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputPii build() { + if ($.behavior == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayGuardrailOutputPii", "behavior"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs.java new file mode 100644 index 00000000..fad94aa0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs.java @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs Empty = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs(); + + @Import(name="behavior", required=true) + private Output behavior; + + public Output behavior() { + return this.behavior; + } + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs() {} + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs $) { + this.behavior = $.behavior; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs(Objects.requireNonNull(defaults)); + } + + public Builder behavior(Output behavior) { + $.behavior = behavior; + return this; + } + + public Builder behavior(String behavior) { + return behavior(Output.of(behavior)); + } + + public GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs build() { + if ($.behavior == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs", "behavior"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.java new file mode 100644 index 00000000..7166fdbd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayInferenceTableConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayInferenceTableConfig Empty = new GetServingEndpointsEndpointAiGatewayInferenceTableConfig(); + + @Import(name="catalogName") + private @Nullable String catalogName; + + public Optional catalogName() { + return Optional.ofNullable(this.catalogName); + } + + @Import(name="enabled") + private @Nullable Boolean enabled; + + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + @Import(name="schemaName") + private @Nullable String schemaName; + + public Optional schemaName() { + return Optional.ofNullable(this.schemaName); + } + + @Import(name="tableNamePrefix") + private @Nullable String tableNamePrefix; + + public Optional tableNamePrefix() { + return Optional.ofNullable(this.tableNamePrefix); + } + + private GetServingEndpointsEndpointAiGatewayInferenceTableConfig() {} + + private GetServingEndpointsEndpointAiGatewayInferenceTableConfig(GetServingEndpointsEndpointAiGatewayInferenceTableConfig $) { + this.catalogName = $.catalogName; + this.enabled = $.enabled; + this.schemaName = $.schemaName; + this.tableNamePrefix = $.tableNamePrefix; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayInferenceTableConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayInferenceTableConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayInferenceTableConfig(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayInferenceTableConfig defaults) { + $ = new GetServingEndpointsEndpointAiGatewayInferenceTableConfig(Objects.requireNonNull(defaults)); + } + + public Builder catalogName(@Nullable String catalogName) { + $.catalogName = catalogName; + return this; + } + + public Builder enabled(@Nullable Boolean enabled) { + $.enabled = enabled; + return this; + } + + public Builder schemaName(@Nullable String schemaName) { + $.schemaName = schemaName; + return this; + } + + public Builder tableNamePrefix(@Nullable String tableNamePrefix) { + $.tableNamePrefix = tableNamePrefix; + return this; + } + + public GetServingEndpointsEndpointAiGatewayInferenceTableConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs.java new file mode 100644 index 00000000..c9b42599 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs Empty = new GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs(); + + @Import(name="catalogName") + private @Nullable Output catalogName; + + public Optional> catalogName() { + return Optional.ofNullable(this.catalogName); + } + + @Import(name="enabled") + private @Nullable Output enabled; + + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + @Import(name="schemaName") + private @Nullable Output schemaName; + + public Optional> schemaName() { + return Optional.ofNullable(this.schemaName); + } + + @Import(name="tableNamePrefix") + private @Nullable Output tableNamePrefix; + + public Optional> tableNamePrefix() { + return Optional.ofNullable(this.tableNamePrefix); + } + + private GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs() {} + + private GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs $) { + this.catalogName = $.catalogName; + this.enabled = $.enabled; + this.schemaName = $.schemaName; + this.tableNamePrefix = $.tableNamePrefix; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder catalogName(@Nullable Output catalogName) { + $.catalogName = catalogName; + return this; + } + + public Builder catalogName(String catalogName) { + return catalogName(Output.of(catalogName)); + } + + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public Builder schemaName(@Nullable Output schemaName) { + $.schemaName = schemaName; + return this; + } + + public Builder schemaName(String schemaName) { + return schemaName(Output.of(schemaName)); + } + + public Builder tableNamePrefix(@Nullable Output tableNamePrefix) { + $.tableNamePrefix = tableNamePrefix; + return this; + } + + public Builder tableNamePrefix(String tableNamePrefix) { + return tableNamePrefix(Output.of(tableNamePrefix)); + } + + public GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayRateLimit.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayRateLimit.java new file mode 100644 index 00000000..2ce26ff2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayRateLimit.java @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayRateLimit extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayRateLimit Empty = new GetServingEndpointsEndpointAiGatewayRateLimit(); + + @Import(name="calls", required=true) + private Integer calls; + + public Integer calls() { + return this.calls; + } + + @Import(name="key") + private @Nullable String key; + + public Optional key() { + return Optional.ofNullable(this.key); + } + + @Import(name="renewalPeriod", required=true) + private String renewalPeriod; + + public String renewalPeriod() { + return this.renewalPeriod; + } + + private GetServingEndpointsEndpointAiGatewayRateLimit() {} + + private GetServingEndpointsEndpointAiGatewayRateLimit(GetServingEndpointsEndpointAiGatewayRateLimit $) { + this.calls = $.calls; + this.key = $.key; + this.renewalPeriod = $.renewalPeriod; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayRateLimit defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayRateLimit $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayRateLimit(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayRateLimit defaults) { + $ = new GetServingEndpointsEndpointAiGatewayRateLimit(Objects.requireNonNull(defaults)); + } + + public Builder calls(Integer calls) { + $.calls = calls; + return this; + } + + public Builder key(@Nullable String key) { + $.key = key; + return this; + } + + public Builder renewalPeriod(String renewalPeriod) { + $.renewalPeriod = renewalPeriod; + return this; + } + + public GetServingEndpointsEndpointAiGatewayRateLimit build() { + if ($.calls == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayRateLimit", "calls"); + } + if ($.renewalPeriod == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayRateLimit", "renewalPeriod"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayRateLimitArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayRateLimitArgs.java new file mode 100644 index 00000000..c2ca142d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayRateLimitArgs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayRateLimitArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayRateLimitArgs Empty = new GetServingEndpointsEndpointAiGatewayRateLimitArgs(); + + @Import(name="calls", required=true) + private Output calls; + + public Output calls() { + return this.calls; + } + + @Import(name="key") + private @Nullable Output key; + + public Optional> key() { + return Optional.ofNullable(this.key); + } + + @Import(name="renewalPeriod", required=true) + private Output renewalPeriod; + + public Output renewalPeriod() { + return this.renewalPeriod; + } + + private GetServingEndpointsEndpointAiGatewayRateLimitArgs() {} + + private GetServingEndpointsEndpointAiGatewayRateLimitArgs(GetServingEndpointsEndpointAiGatewayRateLimitArgs $) { + this.calls = $.calls; + this.key = $.key; + this.renewalPeriod = $.renewalPeriod; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayRateLimitArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayRateLimitArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayRateLimitArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayRateLimitArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayRateLimitArgs(Objects.requireNonNull(defaults)); + } + + public Builder calls(Output calls) { + $.calls = calls; + return this; + } + + public Builder calls(Integer calls) { + return calls(Output.of(calls)); + } + + public Builder key(@Nullable Output key) { + $.key = key; + return this; + } + + public Builder key(String key) { + return key(Output.of(key)); + } + + public Builder renewalPeriod(Output renewalPeriod) { + $.renewalPeriod = renewalPeriod; + return this; + } + + public Builder renewalPeriod(String renewalPeriod) { + return renewalPeriod(Output.of(renewalPeriod)); + } + + public GetServingEndpointsEndpointAiGatewayRateLimitArgs build() { + if ($.calls == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayRateLimitArgs", "calls"); + } + if ($.renewalPeriod == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayRateLimitArgs", "renewalPeriod"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.java new file mode 100644 index 00000000..f8975aa7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayUsageTrackingConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointAiGatewayUsageTrackingConfig Empty = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfig(); + + @Import(name="enabled") + private @Nullable Boolean enabled; + + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfig() {} + + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfig(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig $) { + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfig(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig defaults) { + $ = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfig(Objects.requireNonNull(defaults)); + } + + public Builder enabled(@Nullable Boolean enabled) { + $.enabled = enabled; + return this; + } + + public GetServingEndpointsEndpointAiGatewayUsageTrackingConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs.java new file mode 100644 index 00000000..a1e930ba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs.java @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs Empty = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs(); + + @Import(name="enabled") + private @Nullable Output enabled; + + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs() {} + + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs $) { + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs defaults) { + $ = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointArgs.java new file mode 100644 index 00000000..a82ee44d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointArgs.java @@ -0,0 +1,336 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointAiGatewayArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointStateArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointTagArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointArgs Empty = new GetServingEndpointsEndpointArgs(); + + /** + * A block with AI Gateway configuration for the serving endpoint. + * + */ + @Import(name="aiGateways") + private @Nullable Output> aiGateways; + + /** + * @return A block with AI Gateway configuration for the serving endpoint. + * + */ + public Optional>> aiGateways() { + return Optional.ofNullable(this.aiGateways); + } + + /** + * The model serving endpoint configuration. + * + */ + @Import(name="configs") + private @Nullable Output> configs; + + /** + * @return The model serving endpoint configuration. + * + */ + public Optional>> configs() { + return Optional.ofNullable(this.configs); + } + + @Import(name="creationTimestamp") + private @Nullable Output creationTimestamp; + + public Optional> creationTimestamp() { + return Optional.ofNullable(this.creationTimestamp); + } + + @Import(name="creator") + private @Nullable Output creator; + + public Optional> creator() { + return Optional.ofNullable(this.creator); + } + + @Import(name="id") + private @Nullable Output id; + + public Optional> id() { + return Optional.ofNullable(this.id); + } + + @Import(name="lastUpdatedTimestamp") + private @Nullable Output lastUpdatedTimestamp; + + public Optional> lastUpdatedTimestamp() { + return Optional.ofNullable(this.lastUpdatedTimestamp); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="states") + private @Nullable Output> states; + + public Optional>> states() { + return Optional.ofNullable(this.states); + } + + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + @Import(name="task") + private @Nullable Output task; + + public Optional> task() { + return Optional.ofNullable(this.task); + } + + private GetServingEndpointsEndpointArgs() {} + + private GetServingEndpointsEndpointArgs(GetServingEndpointsEndpointArgs $) { + this.aiGateways = $.aiGateways; + this.configs = $.configs; + this.creationTimestamp = $.creationTimestamp; + this.creator = $.creator; + this.id = $.id; + this.lastUpdatedTimestamp = $.lastUpdatedTimestamp; + this.name = $.name; + this.states = $.states; + this.tags = $.tags; + this.task = $.task; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointArgs(); + } + + public Builder(GetServingEndpointsEndpointArgs defaults) { + $ = new GetServingEndpointsEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aiGateways A block with AI Gateway configuration for the serving endpoint. + * + * @return builder + * + */ + public Builder aiGateways(@Nullable Output> aiGateways) { + $.aiGateways = aiGateways; + return this; + } + + /** + * @param aiGateways A block with AI Gateway configuration for the serving endpoint. + * + * @return builder + * + */ + public Builder aiGateways(List aiGateways) { + return aiGateways(Output.of(aiGateways)); + } + + /** + * @param aiGateways A block with AI Gateway configuration for the serving endpoint. + * + * @return builder + * + */ + public Builder aiGateways(GetServingEndpointsEndpointAiGatewayArgs... aiGateways) { + return aiGateways(List.of(aiGateways)); + } + + /** + * @param configs The model serving endpoint configuration. + * + * @return builder + * + */ + public Builder configs(@Nullable Output> configs) { + $.configs = configs; + return this; + } + + /** + * @param configs The model serving endpoint configuration. + * + * @return builder + * + */ + public Builder configs(List configs) { + return configs(Output.of(configs)); + } + + /** + * @param configs The model serving endpoint configuration. + * + * @return builder + * + */ + public Builder configs(GetServingEndpointsEndpointConfigArgs... configs) { + return configs(List.of(configs)); + } + + public Builder creationTimestamp(@Nullable Output creationTimestamp) { + $.creationTimestamp = creationTimestamp; + return this; + } + + public Builder creationTimestamp(Integer creationTimestamp) { + return creationTimestamp(Output.of(creationTimestamp)); + } + + public Builder creator(@Nullable Output creator) { + $.creator = creator; + return this; + } + + public Builder creator(String creator) { + return creator(Output.of(creator)); + } + + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + public Builder id(String id) { + return id(Output.of(id)); + } + + public Builder lastUpdatedTimestamp(@Nullable Output lastUpdatedTimestamp) { + $.lastUpdatedTimestamp = lastUpdatedTimestamp; + return this; + } + + public Builder lastUpdatedTimestamp(Integer lastUpdatedTimestamp) { + return lastUpdatedTimestamp(Output.of(lastUpdatedTimestamp)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder states(@Nullable Output> states) { + $.states = states; + return this; + } + + public Builder states(List states) { + return states(Output.of(states)); + } + + public Builder states(GetServingEndpointsEndpointStateArgs... states) { + return states(List.of(states)); + } + + /** + * @param tags Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + * @return builder + * + */ + public Builder tags(List tags) { + return tags(Output.of(tags)); + } + + /** + * @param tags Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + * @return builder + * + */ + public Builder tags(GetServingEndpointsEndpointTagArgs... tags) { + return tags(List.of(tags)); + } + + public Builder task(@Nullable Output task) { + $.task = task; + return this; + } + + public Builder task(String task) { + return task(Output.of(task)); + } + + public GetServingEndpointsEndpointArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfig.java new file mode 100644 index 00000000..3a556b96 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfig.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntity; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedModel; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfig Empty = new GetServingEndpointsEndpointConfig(); + + @Import(name="servedEntities") + private @Nullable List servedEntities; + + public Optional> servedEntities() { + return Optional.ofNullable(this.servedEntities); + } + + @Import(name="servedModels") + private @Nullable List servedModels; + + public Optional> servedModels() { + return Optional.ofNullable(this.servedModels); + } + + private GetServingEndpointsEndpointConfig() {} + + private GetServingEndpointsEndpointConfig(GetServingEndpointsEndpointConfig $) { + this.servedEntities = $.servedEntities; + this.servedModels = $.servedModels; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfig(); + } + + public Builder(GetServingEndpointsEndpointConfig defaults) { + $ = new GetServingEndpointsEndpointConfig(Objects.requireNonNull(defaults)); + } + + public Builder servedEntities(@Nullable List servedEntities) { + $.servedEntities = servedEntities; + return this; + } + + public Builder servedEntities(GetServingEndpointsEndpointConfigServedEntity... servedEntities) { + return servedEntities(List.of(servedEntities)); + } + + public Builder servedModels(@Nullable List servedModels) { + $.servedModels = servedModels; + return this; + } + + public Builder servedModels(GetServingEndpointsEndpointConfigServedModel... servedModels) { + return servedModels(List.of(servedModels)); + } + + public GetServingEndpointsEndpointConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigArgs.java new file mode 100644 index 00000000..6bf71b52 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedModelArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigArgs Empty = new GetServingEndpointsEndpointConfigArgs(); + + @Import(name="servedEntities") + private @Nullable Output> servedEntities; + + public Optional>> servedEntities() { + return Optional.ofNullable(this.servedEntities); + } + + @Import(name="servedModels") + private @Nullable Output> servedModels; + + public Optional>> servedModels() { + return Optional.ofNullable(this.servedModels); + } + + private GetServingEndpointsEndpointConfigArgs() {} + + private GetServingEndpointsEndpointConfigArgs(GetServingEndpointsEndpointConfigArgs $) { + this.servedEntities = $.servedEntities; + this.servedModels = $.servedModels; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder servedEntities(@Nullable Output> servedEntities) { + $.servedEntities = servedEntities; + return this; + } + + public Builder servedEntities(List servedEntities) { + return servedEntities(Output.of(servedEntities)); + } + + public Builder servedEntities(GetServingEndpointsEndpointConfigServedEntityArgs... servedEntities) { + return servedEntities(List.of(servedEntities)); + } + + public Builder servedModels(@Nullable Output> servedModels) { + $.servedModels = servedModels; + return this; + } + + public Builder servedModels(List servedModels) { + return servedModels(Output.of(servedModels)); + } + + public Builder servedModels(GetServingEndpointsEndpointConfigServedModelArgs... servedModels) { + return servedModels(List.of(servedModels)); + } + + public GetServingEndpointsEndpointConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntity.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntity.java new file mode 100644 index 00000000..4709d896 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntity.java @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModel; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityFoundationModel; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntity extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntity Empty = new GetServingEndpointsEndpointConfigServedEntity(); + + @Import(name="entityName") + private @Nullable String entityName; + + public Optional entityName() { + return Optional.ofNullable(this.entityName); + } + + @Import(name="entityVersion") + private @Nullable String entityVersion; + + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + + @Import(name="externalModels") + private @Nullable List externalModels; + + public Optional> externalModels() { + return Optional.ofNullable(this.externalModels); + } + + @Import(name="foundationModels") + private @Nullable List foundationModels; + + public Optional> foundationModels() { + return Optional.ofNullable(this.foundationModels); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetServingEndpointsEndpointConfigServedEntity() {} + + private GetServingEndpointsEndpointConfigServedEntity(GetServingEndpointsEndpointConfigServedEntity $) { + this.entityName = $.entityName; + this.entityVersion = $.entityVersion; + this.externalModels = $.externalModels; + this.foundationModels = $.foundationModels; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntity defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntity $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntity(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntity defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntity(Objects.requireNonNull(defaults)); + } + + public Builder entityName(@Nullable String entityName) { + $.entityName = entityName; + return this; + } + + public Builder entityVersion(@Nullable String entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + public Builder externalModels(@Nullable List externalModels) { + $.externalModels = externalModels; + return this; + } + + public Builder externalModels(GetServingEndpointsEndpointConfigServedEntityExternalModel... externalModels) { + return externalModels(List.of(externalModels)); + } + + public Builder foundationModels(@Nullable List foundationModels) { + $.foundationModels = foundationModels; + return this; + } + + public Builder foundationModels(GetServingEndpointsEndpointConfigServedEntityFoundationModel... foundationModels) { + return foundationModels(List.of(foundationModels)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntity build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityArgs.java new file mode 100644 index 00000000..d1e1330d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityArgs.java @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityArgs Empty = new GetServingEndpointsEndpointConfigServedEntityArgs(); + + @Import(name="entityName") + private @Nullable Output entityName; + + public Optional> entityName() { + return Optional.ofNullable(this.entityName); + } + + @Import(name="entityVersion") + private @Nullable Output entityVersion; + + public Optional> entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + + @Import(name="externalModels") + private @Nullable Output> externalModels; + + public Optional>> externalModels() { + return Optional.ofNullable(this.externalModels); + } + + @Import(name="foundationModels") + private @Nullable Output> foundationModels; + + public Optional>> foundationModels() { + return Optional.ofNullable(this.foundationModels); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetServingEndpointsEndpointConfigServedEntityArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityArgs(GetServingEndpointsEndpointConfigServedEntityArgs $) { + this.entityName = $.entityName; + this.entityVersion = $.entityVersion; + this.externalModels = $.externalModels; + this.foundationModels = $.foundationModels; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityArgs(Objects.requireNonNull(defaults)); + } + + public Builder entityName(@Nullable Output entityName) { + $.entityName = entityName; + return this; + } + + public Builder entityName(String entityName) { + return entityName(Output.of(entityName)); + } + + public Builder entityVersion(@Nullable Output entityVersion) { + $.entityVersion = entityVersion; + return this; + } + + public Builder entityVersion(String entityVersion) { + return entityVersion(Output.of(entityVersion)); + } + + public Builder externalModels(@Nullable Output> externalModels) { + $.externalModels = externalModels; + return this; + } + + public Builder externalModels(List externalModels) { + return externalModels(Output.of(externalModels)); + } + + public Builder externalModels(GetServingEndpointsEndpointConfigServedEntityExternalModelArgs... externalModels) { + return externalModels(List.of(externalModels)); + } + + public Builder foundationModels(@Nullable Output> foundationModels) { + $.foundationModels = foundationModels; + return this; + } + + public Builder foundationModels(List foundationModels) { + return foundationModels(Output.of(foundationModels)); + } + + public Builder foundationModels(GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs... foundationModels) { + return foundationModels(List.of(foundationModels)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetServingEndpointsEndpointConfigServedEntityArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.java new file mode 100644 index 00000000..a423e8cf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.java @@ -0,0 +1,253 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModel extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModel Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModel(); + + @Import(name="ai21labsConfigs") + private @Nullable List ai21labsConfigs; + + public Optional> ai21labsConfigs() { + return Optional.ofNullable(this.ai21labsConfigs); + } + + @Import(name="amazonBedrockConfigs") + private @Nullable List amazonBedrockConfigs; + + public Optional> amazonBedrockConfigs() { + return Optional.ofNullable(this.amazonBedrockConfigs); + } + + @Import(name="anthropicConfigs") + private @Nullable List anthropicConfigs; + + public Optional> anthropicConfigs() { + return Optional.ofNullable(this.anthropicConfigs); + } + + @Import(name="cohereConfigs") + private @Nullable List cohereConfigs; + + public Optional> cohereConfigs() { + return Optional.ofNullable(this.cohereConfigs); + } + + @Import(name="databricksModelServingConfigs") + private @Nullable List databricksModelServingConfigs; + + public Optional> databricksModelServingConfigs() { + return Optional.ofNullable(this.databricksModelServingConfigs); + } + + @Import(name="googleCloudVertexAiConfigs") + private @Nullable List googleCloudVertexAiConfigs; + + public Optional> googleCloudVertexAiConfigs() { + return Optional.ofNullable(this.googleCloudVertexAiConfigs); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return The name of the model serving endpoint. + * + */ + public String name() { + return this.name; + } + + @Import(name="openaiConfigs") + private @Nullable List openaiConfigs; + + public Optional> openaiConfigs() { + return Optional.ofNullable(this.openaiConfigs); + } + + @Import(name="palmConfigs") + private @Nullable List palmConfigs; + + public Optional> palmConfigs() { + return Optional.ofNullable(this.palmConfigs); + } + + @Import(name="provider", required=true) + private String provider; + + public String provider() { + return this.provider; + } + + @Import(name="task", required=true) + private String task; + + public String task() { + return this.task; + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModel() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModel(GetServingEndpointsEndpointConfigServedEntityExternalModel $) { + this.ai21labsConfigs = $.ai21labsConfigs; + this.amazonBedrockConfigs = $.amazonBedrockConfigs; + this.anthropicConfigs = $.anthropicConfigs; + this.cohereConfigs = $.cohereConfigs; + this.databricksModelServingConfigs = $.databricksModelServingConfigs; + this.googleCloudVertexAiConfigs = $.googleCloudVertexAiConfigs; + this.name = $.name; + this.openaiConfigs = $.openaiConfigs; + this.palmConfigs = $.palmConfigs; + this.provider = $.provider; + this.task = $.task; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModel defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModel $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModel(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModel defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModel(Objects.requireNonNull(defaults)); + } + + public Builder ai21labsConfigs(@Nullable List ai21labsConfigs) { + $.ai21labsConfigs = ai21labsConfigs; + return this; + } + + public Builder ai21labsConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig... ai21labsConfigs) { + return ai21labsConfigs(List.of(ai21labsConfigs)); + } + + public Builder amazonBedrockConfigs(@Nullable List amazonBedrockConfigs) { + $.amazonBedrockConfigs = amazonBedrockConfigs; + return this; + } + + public Builder amazonBedrockConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig... amazonBedrockConfigs) { + return amazonBedrockConfigs(List.of(amazonBedrockConfigs)); + } + + public Builder anthropicConfigs(@Nullable List anthropicConfigs) { + $.anthropicConfigs = anthropicConfigs; + return this; + } + + public Builder anthropicConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig... anthropicConfigs) { + return anthropicConfigs(List.of(anthropicConfigs)); + } + + public Builder cohereConfigs(@Nullable List cohereConfigs) { + $.cohereConfigs = cohereConfigs; + return this; + } + + public Builder cohereConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig... cohereConfigs) { + return cohereConfigs(List.of(cohereConfigs)); + } + + public Builder databricksModelServingConfigs(@Nullable List databricksModelServingConfigs) { + $.databricksModelServingConfigs = databricksModelServingConfigs; + return this; + } + + public Builder databricksModelServingConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig... databricksModelServingConfigs) { + return databricksModelServingConfigs(List.of(databricksModelServingConfigs)); + } + + public Builder googleCloudVertexAiConfigs(@Nullable List googleCloudVertexAiConfigs) { + $.googleCloudVertexAiConfigs = googleCloudVertexAiConfigs; + return this; + } + + public Builder googleCloudVertexAiConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig... googleCloudVertexAiConfigs) { + return googleCloudVertexAiConfigs(List.of(googleCloudVertexAiConfigs)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public Builder openaiConfigs(@Nullable List openaiConfigs) { + $.openaiConfigs = openaiConfigs; + return this; + } + + public Builder openaiConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig... openaiConfigs) { + return openaiConfigs(List.of(openaiConfigs)); + } + + public Builder palmConfigs(@Nullable List palmConfigs) { + $.palmConfigs = palmConfigs; + return this; + } + + public Builder palmConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig... palmConfigs) { + return palmConfigs(List.of(palmConfigs)); + } + + public Builder provider(String provider) { + $.provider = provider; + return this; + } + + public Builder task(String task) { + $.task = task; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModel build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModel", "name"); + } + if ($.provider == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModel", "provider"); + } + if ($.task == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModel", "task"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.java new file mode 100644 index 00000000..979b8b28 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig(); + + @Import(name="ai21labsApiKey") + private @Nullable String ai21labsApiKey; + + public Optional ai21labsApiKey() { + return Optional.ofNullable(this.ai21labsApiKey); + } + + @Import(name="ai21labsApiKeyPlaintext") + private @Nullable String ai21labsApiKeyPlaintext; + + public Optional ai21labsApiKeyPlaintext() { + return Optional.ofNullable(this.ai21labsApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig $) { + this.ai21labsApiKey = $.ai21labsApiKey; + this.ai21labsApiKeyPlaintext = $.ai21labsApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig(Objects.requireNonNull(defaults)); + } + + public Builder ai21labsApiKey(@Nullable String ai21labsApiKey) { + $.ai21labsApiKey = ai21labsApiKey; + return this; + } + + public Builder ai21labsApiKeyPlaintext(@Nullable String ai21labsApiKeyPlaintext) { + $.ai21labsApiKeyPlaintext = ai21labsApiKeyPlaintext; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs.java new file mode 100644 index 00000000..6eac9f3d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs(); + + @Import(name="ai21labsApiKey") + private @Nullable Output ai21labsApiKey; + + public Optional> ai21labsApiKey() { + return Optional.ofNullable(this.ai21labsApiKey); + } + + @Import(name="ai21labsApiKeyPlaintext") + private @Nullable Output ai21labsApiKeyPlaintext; + + public Optional> ai21labsApiKeyPlaintext() { + return Optional.ofNullable(this.ai21labsApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs $) { + this.ai21labsApiKey = $.ai21labsApiKey; + this.ai21labsApiKeyPlaintext = $.ai21labsApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder ai21labsApiKey(@Nullable Output ai21labsApiKey) { + $.ai21labsApiKey = ai21labsApiKey; + return this; + } + + public Builder ai21labsApiKey(String ai21labsApiKey) { + return ai21labsApiKey(Output.of(ai21labsApiKey)); + } + + public Builder ai21labsApiKeyPlaintext(@Nullable Output ai21labsApiKeyPlaintext) { + $.ai21labsApiKeyPlaintext = ai21labsApiKeyPlaintext; + return this; + } + + public Builder ai21labsApiKeyPlaintext(String ai21labsApiKeyPlaintext) { + return ai21labsApiKeyPlaintext(Output.of(ai21labsApiKeyPlaintext)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.java new file mode 100644 index 00000000..62c0b606 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.java @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig(); + + @Import(name="awsAccessKeyId") + private @Nullable String awsAccessKeyId; + + public Optional awsAccessKeyId() { + return Optional.ofNullable(this.awsAccessKeyId); + } + + @Import(name="awsAccessKeyIdPlaintext") + private @Nullable String awsAccessKeyIdPlaintext; + + public Optional awsAccessKeyIdPlaintext() { + return Optional.ofNullable(this.awsAccessKeyIdPlaintext); + } + + @Import(name="awsRegion", required=true) + private String awsRegion; + + public String awsRegion() { + return this.awsRegion; + } + + @Import(name="awsSecretAccessKey") + private @Nullable String awsSecretAccessKey; + + public Optional awsSecretAccessKey() { + return Optional.ofNullable(this.awsSecretAccessKey); + } + + @Import(name="awsSecretAccessKeyPlaintext") + private @Nullable String awsSecretAccessKeyPlaintext; + + public Optional awsSecretAccessKeyPlaintext() { + return Optional.ofNullable(this.awsSecretAccessKeyPlaintext); + } + + @Import(name="bedrockProvider", required=true) + private String bedrockProvider; + + public String bedrockProvider() { + return this.bedrockProvider; + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig $) { + this.awsAccessKeyId = $.awsAccessKeyId; + this.awsAccessKeyIdPlaintext = $.awsAccessKeyIdPlaintext; + this.awsRegion = $.awsRegion; + this.awsSecretAccessKey = $.awsSecretAccessKey; + this.awsSecretAccessKeyPlaintext = $.awsSecretAccessKeyPlaintext; + this.bedrockProvider = $.bedrockProvider; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig(Objects.requireNonNull(defaults)); + } + + public Builder awsAccessKeyId(@Nullable String awsAccessKeyId) { + $.awsAccessKeyId = awsAccessKeyId; + return this; + } + + public Builder awsAccessKeyIdPlaintext(@Nullable String awsAccessKeyIdPlaintext) { + $.awsAccessKeyIdPlaintext = awsAccessKeyIdPlaintext; + return this; + } + + public Builder awsRegion(String awsRegion) { + $.awsRegion = awsRegion; + return this; + } + + public Builder awsSecretAccessKey(@Nullable String awsSecretAccessKey) { + $.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + public Builder awsSecretAccessKeyPlaintext(@Nullable String awsSecretAccessKeyPlaintext) { + $.awsSecretAccessKeyPlaintext = awsSecretAccessKeyPlaintext; + return this; + } + + public Builder bedrockProvider(String bedrockProvider) { + $.bedrockProvider = bedrockProvider; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig build() { + if ($.awsRegion == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig", "awsRegion"); + } + if ($.bedrockProvider == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig", "bedrockProvider"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs.java new file mode 100644 index 00000000..83f9f9dc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs.java @@ -0,0 +1,155 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs(); + + @Import(name="awsAccessKeyId") + private @Nullable Output awsAccessKeyId; + + public Optional> awsAccessKeyId() { + return Optional.ofNullable(this.awsAccessKeyId); + } + + @Import(name="awsAccessKeyIdPlaintext") + private @Nullable Output awsAccessKeyIdPlaintext; + + public Optional> awsAccessKeyIdPlaintext() { + return Optional.ofNullable(this.awsAccessKeyIdPlaintext); + } + + @Import(name="awsRegion", required=true) + private Output awsRegion; + + public Output awsRegion() { + return this.awsRegion; + } + + @Import(name="awsSecretAccessKey") + private @Nullable Output awsSecretAccessKey; + + public Optional> awsSecretAccessKey() { + return Optional.ofNullable(this.awsSecretAccessKey); + } + + @Import(name="awsSecretAccessKeyPlaintext") + private @Nullable Output awsSecretAccessKeyPlaintext; + + public Optional> awsSecretAccessKeyPlaintext() { + return Optional.ofNullable(this.awsSecretAccessKeyPlaintext); + } + + @Import(name="bedrockProvider", required=true) + private Output bedrockProvider; + + public Output bedrockProvider() { + return this.bedrockProvider; + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs $) { + this.awsAccessKeyId = $.awsAccessKeyId; + this.awsAccessKeyIdPlaintext = $.awsAccessKeyIdPlaintext; + this.awsRegion = $.awsRegion; + this.awsSecretAccessKey = $.awsSecretAccessKey; + this.awsSecretAccessKeyPlaintext = $.awsSecretAccessKeyPlaintext; + this.bedrockProvider = $.bedrockProvider; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder awsAccessKeyId(@Nullable Output awsAccessKeyId) { + $.awsAccessKeyId = awsAccessKeyId; + return this; + } + + public Builder awsAccessKeyId(String awsAccessKeyId) { + return awsAccessKeyId(Output.of(awsAccessKeyId)); + } + + public Builder awsAccessKeyIdPlaintext(@Nullable Output awsAccessKeyIdPlaintext) { + $.awsAccessKeyIdPlaintext = awsAccessKeyIdPlaintext; + return this; + } + + public Builder awsAccessKeyIdPlaintext(String awsAccessKeyIdPlaintext) { + return awsAccessKeyIdPlaintext(Output.of(awsAccessKeyIdPlaintext)); + } + + public Builder awsRegion(Output awsRegion) { + $.awsRegion = awsRegion; + return this; + } + + public Builder awsRegion(String awsRegion) { + return awsRegion(Output.of(awsRegion)); + } + + public Builder awsSecretAccessKey(@Nullable Output awsSecretAccessKey) { + $.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + public Builder awsSecretAccessKey(String awsSecretAccessKey) { + return awsSecretAccessKey(Output.of(awsSecretAccessKey)); + } + + public Builder awsSecretAccessKeyPlaintext(@Nullable Output awsSecretAccessKeyPlaintext) { + $.awsSecretAccessKeyPlaintext = awsSecretAccessKeyPlaintext; + return this; + } + + public Builder awsSecretAccessKeyPlaintext(String awsSecretAccessKeyPlaintext) { + return awsSecretAccessKeyPlaintext(Output.of(awsSecretAccessKeyPlaintext)); + } + + public Builder bedrockProvider(Output bedrockProvider) { + $.bedrockProvider = bedrockProvider; + return this; + } + + public Builder bedrockProvider(String bedrockProvider) { + return bedrockProvider(Output.of(bedrockProvider)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs build() { + if ($.awsRegion == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs", "awsRegion"); + } + if ($.bedrockProvider == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs", "bedrockProvider"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.java new file mode 100644 index 00000000..fe8ae19e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig(); + + @Import(name="anthropicApiKey") + private @Nullable String anthropicApiKey; + + public Optional anthropicApiKey() { + return Optional.ofNullable(this.anthropicApiKey); + } + + @Import(name="anthropicApiKeyPlaintext") + private @Nullable String anthropicApiKeyPlaintext; + + public Optional anthropicApiKeyPlaintext() { + return Optional.ofNullable(this.anthropicApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig $) { + this.anthropicApiKey = $.anthropicApiKey; + this.anthropicApiKeyPlaintext = $.anthropicApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig(Objects.requireNonNull(defaults)); + } + + public Builder anthropicApiKey(@Nullable String anthropicApiKey) { + $.anthropicApiKey = anthropicApiKey; + return this; + } + + public Builder anthropicApiKeyPlaintext(@Nullable String anthropicApiKeyPlaintext) { + $.anthropicApiKeyPlaintext = anthropicApiKeyPlaintext; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs.java new file mode 100644 index 00000000..7a9eb70c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs(); + + @Import(name="anthropicApiKey") + private @Nullable Output anthropicApiKey; + + public Optional> anthropicApiKey() { + return Optional.ofNullable(this.anthropicApiKey); + } + + @Import(name="anthropicApiKeyPlaintext") + private @Nullable Output anthropicApiKeyPlaintext; + + public Optional> anthropicApiKeyPlaintext() { + return Optional.ofNullable(this.anthropicApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs $) { + this.anthropicApiKey = $.anthropicApiKey; + this.anthropicApiKeyPlaintext = $.anthropicApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder anthropicApiKey(@Nullable Output anthropicApiKey) { + $.anthropicApiKey = anthropicApiKey; + return this; + } + + public Builder anthropicApiKey(String anthropicApiKey) { + return anthropicApiKey(Output.of(anthropicApiKey)); + } + + public Builder anthropicApiKeyPlaintext(@Nullable Output anthropicApiKeyPlaintext) { + $.anthropicApiKeyPlaintext = anthropicApiKeyPlaintext; + return this; + } + + public Builder anthropicApiKeyPlaintext(String anthropicApiKeyPlaintext) { + return anthropicApiKeyPlaintext(Output.of(anthropicApiKeyPlaintext)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelArgs.java new file mode 100644 index 00000000..2399c9bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelArgs.java @@ -0,0 +1,304 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelArgs(); + + @Import(name="ai21labsConfigs") + private @Nullable Output> ai21labsConfigs; + + public Optional>> ai21labsConfigs() { + return Optional.ofNullable(this.ai21labsConfigs); + } + + @Import(name="amazonBedrockConfigs") + private @Nullable Output> amazonBedrockConfigs; + + public Optional>> amazonBedrockConfigs() { + return Optional.ofNullable(this.amazonBedrockConfigs); + } + + @Import(name="anthropicConfigs") + private @Nullable Output> anthropicConfigs; + + public Optional>> anthropicConfigs() { + return Optional.ofNullable(this.anthropicConfigs); + } + + @Import(name="cohereConfigs") + private @Nullable Output> cohereConfigs; + + public Optional>> cohereConfigs() { + return Optional.ofNullable(this.cohereConfigs); + } + + @Import(name="databricksModelServingConfigs") + private @Nullable Output> databricksModelServingConfigs; + + public Optional>> databricksModelServingConfigs() { + return Optional.ofNullable(this.databricksModelServingConfigs); + } + + @Import(name="googleCloudVertexAiConfigs") + private @Nullable Output> googleCloudVertexAiConfigs; + + public Optional>> googleCloudVertexAiConfigs() { + return Optional.ofNullable(this.googleCloudVertexAiConfigs); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Output name() { + return this.name; + } + + @Import(name="openaiConfigs") + private @Nullable Output> openaiConfigs; + + public Optional>> openaiConfigs() { + return Optional.ofNullable(this.openaiConfigs); + } + + @Import(name="palmConfigs") + private @Nullable Output> palmConfigs; + + public Optional>> palmConfigs() { + return Optional.ofNullable(this.palmConfigs); + } + + @Import(name="provider", required=true) + private Output provider; + + public Output provider() { + return this.provider; + } + + @Import(name="task", required=true) + private Output task; + + public Output task() { + return this.task; + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelArgs $) { + this.ai21labsConfigs = $.ai21labsConfigs; + this.amazonBedrockConfigs = $.amazonBedrockConfigs; + this.anthropicConfigs = $.anthropicConfigs; + this.cohereConfigs = $.cohereConfigs; + this.databricksModelServingConfigs = $.databricksModelServingConfigs; + this.googleCloudVertexAiConfigs = $.googleCloudVertexAiConfigs; + this.name = $.name; + this.openaiConfigs = $.openaiConfigs; + this.palmConfigs = $.palmConfigs; + this.provider = $.provider; + this.task = $.task; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelArgs(Objects.requireNonNull(defaults)); + } + + public Builder ai21labsConfigs(@Nullable Output> ai21labsConfigs) { + $.ai21labsConfigs = ai21labsConfigs; + return this; + } + + public Builder ai21labsConfigs(List ai21labsConfigs) { + return ai21labsConfigs(Output.of(ai21labsConfigs)); + } + + public Builder ai21labsConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs... ai21labsConfigs) { + return ai21labsConfigs(List.of(ai21labsConfigs)); + } + + public Builder amazonBedrockConfigs(@Nullable Output> amazonBedrockConfigs) { + $.amazonBedrockConfigs = amazonBedrockConfigs; + return this; + } + + public Builder amazonBedrockConfigs(List amazonBedrockConfigs) { + return amazonBedrockConfigs(Output.of(amazonBedrockConfigs)); + } + + public Builder amazonBedrockConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs... amazonBedrockConfigs) { + return amazonBedrockConfigs(List.of(amazonBedrockConfigs)); + } + + public Builder anthropicConfigs(@Nullable Output> anthropicConfigs) { + $.anthropicConfigs = anthropicConfigs; + return this; + } + + public Builder anthropicConfigs(List anthropicConfigs) { + return anthropicConfigs(Output.of(anthropicConfigs)); + } + + public Builder anthropicConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs... anthropicConfigs) { + return anthropicConfigs(List.of(anthropicConfigs)); + } + + public Builder cohereConfigs(@Nullable Output> cohereConfigs) { + $.cohereConfigs = cohereConfigs; + return this; + } + + public Builder cohereConfigs(List cohereConfigs) { + return cohereConfigs(Output.of(cohereConfigs)); + } + + public Builder cohereConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs... cohereConfigs) { + return cohereConfigs(List.of(cohereConfigs)); + } + + public Builder databricksModelServingConfigs(@Nullable Output> databricksModelServingConfigs) { + $.databricksModelServingConfigs = databricksModelServingConfigs; + return this; + } + + public Builder databricksModelServingConfigs(List databricksModelServingConfigs) { + return databricksModelServingConfigs(Output.of(databricksModelServingConfigs)); + } + + public Builder databricksModelServingConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs... databricksModelServingConfigs) { + return databricksModelServingConfigs(List.of(databricksModelServingConfigs)); + } + + public Builder googleCloudVertexAiConfigs(@Nullable Output> googleCloudVertexAiConfigs) { + $.googleCloudVertexAiConfigs = googleCloudVertexAiConfigs; + return this; + } + + public Builder googleCloudVertexAiConfigs(List googleCloudVertexAiConfigs) { + return googleCloudVertexAiConfigs(Output.of(googleCloudVertexAiConfigs)); + } + + public Builder googleCloudVertexAiConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs... googleCloudVertexAiConfigs) { + return googleCloudVertexAiConfigs(List.of(googleCloudVertexAiConfigs)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder openaiConfigs(@Nullable Output> openaiConfigs) { + $.openaiConfigs = openaiConfigs; + return this; + } + + public Builder openaiConfigs(List openaiConfigs) { + return openaiConfigs(Output.of(openaiConfigs)); + } + + public Builder openaiConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs... openaiConfigs) { + return openaiConfigs(List.of(openaiConfigs)); + } + + public Builder palmConfigs(@Nullable Output> palmConfigs) { + $.palmConfigs = palmConfigs; + return this; + } + + public Builder palmConfigs(List palmConfigs) { + return palmConfigs(Output.of(palmConfigs)); + } + + public Builder palmConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs... palmConfigs) { + return palmConfigs(List.of(palmConfigs)); + } + + public Builder provider(Output provider) { + $.provider = provider; + return this; + } + + public Builder provider(String provider) { + return provider(Output.of(provider)); + } + + public Builder task(Output task) { + $.task = task; + return this; + } + + public Builder task(String task) { + return task(Output.of(task)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelArgs", "name"); + } + if ($.provider == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelArgs", "provider"); + } + if ($.task == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelArgs", "task"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.java new file mode 100644 index 00000000..b7c3056e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.java @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig(); + + @Import(name="cohereApiBase") + private @Nullable String cohereApiBase; + + public Optional cohereApiBase() { + return Optional.ofNullable(this.cohereApiBase); + } + + @Import(name="cohereApiKey") + private @Nullable String cohereApiKey; + + public Optional cohereApiKey() { + return Optional.ofNullable(this.cohereApiKey); + } + + @Import(name="cohereApiKeyPlaintext") + private @Nullable String cohereApiKeyPlaintext; + + public Optional cohereApiKeyPlaintext() { + return Optional.ofNullable(this.cohereApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig $) { + this.cohereApiBase = $.cohereApiBase; + this.cohereApiKey = $.cohereApiKey; + this.cohereApiKeyPlaintext = $.cohereApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig(Objects.requireNonNull(defaults)); + } + + public Builder cohereApiBase(@Nullable String cohereApiBase) { + $.cohereApiBase = cohereApiBase; + return this; + } + + public Builder cohereApiKey(@Nullable String cohereApiKey) { + $.cohereApiKey = cohereApiKey; + return this; + } + + public Builder cohereApiKeyPlaintext(@Nullable String cohereApiKeyPlaintext) { + $.cohereApiKeyPlaintext = cohereApiKeyPlaintext; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs.java new file mode 100644 index 00000000..d8e0c35e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs.java @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs(); + + @Import(name="cohereApiBase") + private @Nullable Output cohereApiBase; + + public Optional> cohereApiBase() { + return Optional.ofNullable(this.cohereApiBase); + } + + @Import(name="cohereApiKey") + private @Nullable Output cohereApiKey; + + public Optional> cohereApiKey() { + return Optional.ofNullable(this.cohereApiKey); + } + + @Import(name="cohereApiKeyPlaintext") + private @Nullable Output cohereApiKeyPlaintext; + + public Optional> cohereApiKeyPlaintext() { + return Optional.ofNullable(this.cohereApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs $) { + this.cohereApiBase = $.cohereApiBase; + this.cohereApiKey = $.cohereApiKey; + this.cohereApiKeyPlaintext = $.cohereApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder cohereApiBase(@Nullable Output cohereApiBase) { + $.cohereApiBase = cohereApiBase; + return this; + } + + public Builder cohereApiBase(String cohereApiBase) { + return cohereApiBase(Output.of(cohereApiBase)); + } + + public Builder cohereApiKey(@Nullable Output cohereApiKey) { + $.cohereApiKey = cohereApiKey; + return this; + } + + public Builder cohereApiKey(String cohereApiKey) { + return cohereApiKey(Output.of(cohereApiKey)); + } + + public Builder cohereApiKeyPlaintext(@Nullable Output cohereApiKeyPlaintext) { + $.cohereApiKeyPlaintext = cohereApiKeyPlaintext; + return this; + } + + public Builder cohereApiKeyPlaintext(String cohereApiKeyPlaintext) { + return cohereApiKeyPlaintext(Output.of(cohereApiKeyPlaintext)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.java new file mode 100644 index 00000000..4e0845a1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig(); + + @Import(name="databricksApiToken") + private @Nullable String databricksApiToken; + + public Optional databricksApiToken() { + return Optional.ofNullable(this.databricksApiToken); + } + + @Import(name="databricksApiTokenPlaintext") + private @Nullable String databricksApiTokenPlaintext; + + public Optional databricksApiTokenPlaintext() { + return Optional.ofNullable(this.databricksApiTokenPlaintext); + } + + @Import(name="databricksWorkspaceUrl", required=true) + private String databricksWorkspaceUrl; + + public String databricksWorkspaceUrl() { + return this.databricksWorkspaceUrl; + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig $) { + this.databricksApiToken = $.databricksApiToken; + this.databricksApiTokenPlaintext = $.databricksApiTokenPlaintext; + this.databricksWorkspaceUrl = $.databricksWorkspaceUrl; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig(Objects.requireNonNull(defaults)); + } + + public Builder databricksApiToken(@Nullable String databricksApiToken) { + $.databricksApiToken = databricksApiToken; + return this; + } + + public Builder databricksApiTokenPlaintext(@Nullable String databricksApiTokenPlaintext) { + $.databricksApiTokenPlaintext = databricksApiTokenPlaintext; + return this; + } + + public Builder databricksWorkspaceUrl(String databricksWorkspaceUrl) { + $.databricksWorkspaceUrl = databricksWorkspaceUrl; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig build() { + if ($.databricksWorkspaceUrl == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig", "databricksWorkspaceUrl"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs.java new file mode 100644 index 00000000..a8afe18a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs.java @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs(); + + @Import(name="databricksApiToken") + private @Nullable Output databricksApiToken; + + public Optional> databricksApiToken() { + return Optional.ofNullable(this.databricksApiToken); + } + + @Import(name="databricksApiTokenPlaintext") + private @Nullable Output databricksApiTokenPlaintext; + + public Optional> databricksApiTokenPlaintext() { + return Optional.ofNullable(this.databricksApiTokenPlaintext); + } + + @Import(name="databricksWorkspaceUrl", required=true) + private Output databricksWorkspaceUrl; + + public Output databricksWorkspaceUrl() { + return this.databricksWorkspaceUrl; + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs $) { + this.databricksApiToken = $.databricksApiToken; + this.databricksApiTokenPlaintext = $.databricksApiTokenPlaintext; + this.databricksWorkspaceUrl = $.databricksWorkspaceUrl; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder databricksApiToken(@Nullable Output databricksApiToken) { + $.databricksApiToken = databricksApiToken; + return this; + } + + public Builder databricksApiToken(String databricksApiToken) { + return databricksApiToken(Output.of(databricksApiToken)); + } + + public Builder databricksApiTokenPlaintext(@Nullable Output databricksApiTokenPlaintext) { + $.databricksApiTokenPlaintext = databricksApiTokenPlaintext; + return this; + } + + public Builder databricksApiTokenPlaintext(String databricksApiTokenPlaintext) { + return databricksApiTokenPlaintext(Output.of(databricksApiTokenPlaintext)); + } + + public Builder databricksWorkspaceUrl(Output databricksWorkspaceUrl) { + $.databricksWorkspaceUrl = databricksWorkspaceUrl; + return this; + } + + public Builder databricksWorkspaceUrl(String databricksWorkspaceUrl) { + return databricksWorkspaceUrl(Output.of(databricksWorkspaceUrl)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs build() { + if ($.databricksWorkspaceUrl == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs", "databricksWorkspaceUrl"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.java new file mode 100644 index 00000000..2028b880 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.java @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig(); + + @Import(name="privateKey") + private @Nullable String privateKey; + + public Optional privateKey() { + return Optional.ofNullable(this.privateKey); + } + + @Import(name="privateKeyPlaintext") + private @Nullable String privateKeyPlaintext; + + public Optional privateKeyPlaintext() { + return Optional.ofNullable(this.privateKeyPlaintext); + } + + @Import(name="projectId") + private @Nullable String projectId; + + public Optional projectId() { + return Optional.ofNullable(this.projectId); + } + + @Import(name="region") + private @Nullable String region; + + public Optional region() { + return Optional.ofNullable(this.region); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig $) { + this.privateKey = $.privateKey; + this.privateKeyPlaintext = $.privateKeyPlaintext; + this.projectId = $.projectId; + this.region = $.region; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig(Objects.requireNonNull(defaults)); + } + + public Builder privateKey(@Nullable String privateKey) { + $.privateKey = privateKey; + return this; + } + + public Builder privateKeyPlaintext(@Nullable String privateKeyPlaintext) { + $.privateKeyPlaintext = privateKeyPlaintext; + return this; + } + + public Builder projectId(@Nullable String projectId) { + $.projectId = projectId; + return this; + } + + public Builder region(@Nullable String region) { + $.region = region; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs.java new file mode 100644 index 00000000..dd58d359 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs.java @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs(); + + @Import(name="privateKey") + private @Nullable Output privateKey; + + public Optional> privateKey() { + return Optional.ofNullable(this.privateKey); + } + + @Import(name="privateKeyPlaintext") + private @Nullable Output privateKeyPlaintext; + + public Optional> privateKeyPlaintext() { + return Optional.ofNullable(this.privateKeyPlaintext); + } + + @Import(name="projectId") + private @Nullable Output projectId; + + public Optional> projectId() { + return Optional.ofNullable(this.projectId); + } + + @Import(name="region") + private @Nullable Output region; + + public Optional> region() { + return Optional.ofNullable(this.region); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs $) { + this.privateKey = $.privateKey; + this.privateKeyPlaintext = $.privateKeyPlaintext; + this.projectId = $.projectId; + this.region = $.region; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder privateKey(@Nullable Output privateKey) { + $.privateKey = privateKey; + return this; + } + + public Builder privateKey(String privateKey) { + return privateKey(Output.of(privateKey)); + } + + public Builder privateKeyPlaintext(@Nullable Output privateKeyPlaintext) { + $.privateKeyPlaintext = privateKeyPlaintext; + return this; + } + + public Builder privateKeyPlaintext(String privateKeyPlaintext) { + return privateKeyPlaintext(Output.of(privateKeyPlaintext)); + } + + public Builder projectId(@Nullable Output projectId) { + $.projectId = projectId; + return this; + } + + public Builder projectId(String projectId) { + return projectId(Output.of(projectId)); + } + + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + public Builder region(String region) { + return region(Output.of(region)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.java new file mode 100644 index 00000000..30df1de8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.java @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig(); + + @Import(name="microsoftEntraClientId") + private @Nullable String microsoftEntraClientId; + + public Optional microsoftEntraClientId() { + return Optional.ofNullable(this.microsoftEntraClientId); + } + + @Import(name="microsoftEntraClientSecret") + private @Nullable String microsoftEntraClientSecret; + + public Optional microsoftEntraClientSecret() { + return Optional.ofNullable(this.microsoftEntraClientSecret); + } + + @Import(name="microsoftEntraClientSecretPlaintext") + private @Nullable String microsoftEntraClientSecretPlaintext; + + public Optional microsoftEntraClientSecretPlaintext() { + return Optional.ofNullable(this.microsoftEntraClientSecretPlaintext); + } + + @Import(name="microsoftEntraTenantId") + private @Nullable String microsoftEntraTenantId; + + public Optional microsoftEntraTenantId() { + return Optional.ofNullable(this.microsoftEntraTenantId); + } + + @Import(name="openaiApiBase") + private @Nullable String openaiApiBase; + + public Optional openaiApiBase() { + return Optional.ofNullable(this.openaiApiBase); + } + + @Import(name="openaiApiKey") + private @Nullable String openaiApiKey; + + public Optional openaiApiKey() { + return Optional.ofNullable(this.openaiApiKey); + } + + @Import(name="openaiApiKeyPlaintext") + private @Nullable String openaiApiKeyPlaintext; + + public Optional openaiApiKeyPlaintext() { + return Optional.ofNullable(this.openaiApiKeyPlaintext); + } + + @Import(name="openaiApiType") + private @Nullable String openaiApiType; + + public Optional openaiApiType() { + return Optional.ofNullable(this.openaiApiType); + } + + @Import(name="openaiApiVersion") + private @Nullable String openaiApiVersion; + + public Optional openaiApiVersion() { + return Optional.ofNullable(this.openaiApiVersion); + } + + @Import(name="openaiDeploymentName") + private @Nullable String openaiDeploymentName; + + public Optional openaiDeploymentName() { + return Optional.ofNullable(this.openaiDeploymentName); + } + + @Import(name="openaiOrganization") + private @Nullable String openaiOrganization; + + public Optional openaiOrganization() { + return Optional.ofNullable(this.openaiOrganization); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig $) { + this.microsoftEntraClientId = $.microsoftEntraClientId; + this.microsoftEntraClientSecret = $.microsoftEntraClientSecret; + this.microsoftEntraClientSecretPlaintext = $.microsoftEntraClientSecretPlaintext; + this.microsoftEntraTenantId = $.microsoftEntraTenantId; + this.openaiApiBase = $.openaiApiBase; + this.openaiApiKey = $.openaiApiKey; + this.openaiApiKeyPlaintext = $.openaiApiKeyPlaintext; + this.openaiApiType = $.openaiApiType; + this.openaiApiVersion = $.openaiApiVersion; + this.openaiDeploymentName = $.openaiDeploymentName; + this.openaiOrganization = $.openaiOrganization; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig(Objects.requireNonNull(defaults)); + } + + public Builder microsoftEntraClientId(@Nullable String microsoftEntraClientId) { + $.microsoftEntraClientId = microsoftEntraClientId; + return this; + } + + public Builder microsoftEntraClientSecret(@Nullable String microsoftEntraClientSecret) { + $.microsoftEntraClientSecret = microsoftEntraClientSecret; + return this; + } + + public Builder microsoftEntraClientSecretPlaintext(@Nullable String microsoftEntraClientSecretPlaintext) { + $.microsoftEntraClientSecretPlaintext = microsoftEntraClientSecretPlaintext; + return this; + } + + public Builder microsoftEntraTenantId(@Nullable String microsoftEntraTenantId) { + $.microsoftEntraTenantId = microsoftEntraTenantId; + return this; + } + + public Builder openaiApiBase(@Nullable String openaiApiBase) { + $.openaiApiBase = openaiApiBase; + return this; + } + + public Builder openaiApiKey(@Nullable String openaiApiKey) { + $.openaiApiKey = openaiApiKey; + return this; + } + + public Builder openaiApiKeyPlaintext(@Nullable String openaiApiKeyPlaintext) { + $.openaiApiKeyPlaintext = openaiApiKeyPlaintext; + return this; + } + + public Builder openaiApiType(@Nullable String openaiApiType) { + $.openaiApiType = openaiApiType; + return this; + } + + public Builder openaiApiVersion(@Nullable String openaiApiVersion) { + $.openaiApiVersion = openaiApiVersion; + return this; + } + + public Builder openaiDeploymentName(@Nullable String openaiDeploymentName) { + $.openaiDeploymentName = openaiDeploymentName; + return this; + } + + public Builder openaiOrganization(@Nullable String openaiOrganization) { + $.openaiOrganization = openaiOrganization; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs.java new file mode 100644 index 00000000..cdc6631a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs.java @@ -0,0 +1,233 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs(); + + @Import(name="microsoftEntraClientId") + private @Nullable Output microsoftEntraClientId; + + public Optional> microsoftEntraClientId() { + return Optional.ofNullable(this.microsoftEntraClientId); + } + + @Import(name="microsoftEntraClientSecret") + private @Nullable Output microsoftEntraClientSecret; + + public Optional> microsoftEntraClientSecret() { + return Optional.ofNullable(this.microsoftEntraClientSecret); + } + + @Import(name="microsoftEntraClientSecretPlaintext") + private @Nullable Output microsoftEntraClientSecretPlaintext; + + public Optional> microsoftEntraClientSecretPlaintext() { + return Optional.ofNullable(this.microsoftEntraClientSecretPlaintext); + } + + @Import(name="microsoftEntraTenantId") + private @Nullable Output microsoftEntraTenantId; + + public Optional> microsoftEntraTenantId() { + return Optional.ofNullable(this.microsoftEntraTenantId); + } + + @Import(name="openaiApiBase") + private @Nullable Output openaiApiBase; + + public Optional> openaiApiBase() { + return Optional.ofNullable(this.openaiApiBase); + } + + @Import(name="openaiApiKey") + private @Nullable Output openaiApiKey; + + public Optional> openaiApiKey() { + return Optional.ofNullable(this.openaiApiKey); + } + + @Import(name="openaiApiKeyPlaintext") + private @Nullable Output openaiApiKeyPlaintext; + + public Optional> openaiApiKeyPlaintext() { + return Optional.ofNullable(this.openaiApiKeyPlaintext); + } + + @Import(name="openaiApiType") + private @Nullable Output openaiApiType; + + public Optional> openaiApiType() { + return Optional.ofNullable(this.openaiApiType); + } + + @Import(name="openaiApiVersion") + private @Nullable Output openaiApiVersion; + + public Optional> openaiApiVersion() { + return Optional.ofNullable(this.openaiApiVersion); + } + + @Import(name="openaiDeploymentName") + private @Nullable Output openaiDeploymentName; + + public Optional> openaiDeploymentName() { + return Optional.ofNullable(this.openaiDeploymentName); + } + + @Import(name="openaiOrganization") + private @Nullable Output openaiOrganization; + + public Optional> openaiOrganization() { + return Optional.ofNullable(this.openaiOrganization); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs $) { + this.microsoftEntraClientId = $.microsoftEntraClientId; + this.microsoftEntraClientSecret = $.microsoftEntraClientSecret; + this.microsoftEntraClientSecretPlaintext = $.microsoftEntraClientSecretPlaintext; + this.microsoftEntraTenantId = $.microsoftEntraTenantId; + this.openaiApiBase = $.openaiApiBase; + this.openaiApiKey = $.openaiApiKey; + this.openaiApiKeyPlaintext = $.openaiApiKeyPlaintext; + this.openaiApiType = $.openaiApiType; + this.openaiApiVersion = $.openaiApiVersion; + this.openaiDeploymentName = $.openaiDeploymentName; + this.openaiOrganization = $.openaiOrganization; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder microsoftEntraClientId(@Nullable Output microsoftEntraClientId) { + $.microsoftEntraClientId = microsoftEntraClientId; + return this; + } + + public Builder microsoftEntraClientId(String microsoftEntraClientId) { + return microsoftEntraClientId(Output.of(microsoftEntraClientId)); + } + + public Builder microsoftEntraClientSecret(@Nullable Output microsoftEntraClientSecret) { + $.microsoftEntraClientSecret = microsoftEntraClientSecret; + return this; + } + + public Builder microsoftEntraClientSecret(String microsoftEntraClientSecret) { + return microsoftEntraClientSecret(Output.of(microsoftEntraClientSecret)); + } + + public Builder microsoftEntraClientSecretPlaintext(@Nullable Output microsoftEntraClientSecretPlaintext) { + $.microsoftEntraClientSecretPlaintext = microsoftEntraClientSecretPlaintext; + return this; + } + + public Builder microsoftEntraClientSecretPlaintext(String microsoftEntraClientSecretPlaintext) { + return microsoftEntraClientSecretPlaintext(Output.of(microsoftEntraClientSecretPlaintext)); + } + + public Builder microsoftEntraTenantId(@Nullable Output microsoftEntraTenantId) { + $.microsoftEntraTenantId = microsoftEntraTenantId; + return this; + } + + public Builder microsoftEntraTenantId(String microsoftEntraTenantId) { + return microsoftEntraTenantId(Output.of(microsoftEntraTenantId)); + } + + public Builder openaiApiBase(@Nullable Output openaiApiBase) { + $.openaiApiBase = openaiApiBase; + return this; + } + + public Builder openaiApiBase(String openaiApiBase) { + return openaiApiBase(Output.of(openaiApiBase)); + } + + public Builder openaiApiKey(@Nullable Output openaiApiKey) { + $.openaiApiKey = openaiApiKey; + return this; + } + + public Builder openaiApiKey(String openaiApiKey) { + return openaiApiKey(Output.of(openaiApiKey)); + } + + public Builder openaiApiKeyPlaintext(@Nullable Output openaiApiKeyPlaintext) { + $.openaiApiKeyPlaintext = openaiApiKeyPlaintext; + return this; + } + + public Builder openaiApiKeyPlaintext(String openaiApiKeyPlaintext) { + return openaiApiKeyPlaintext(Output.of(openaiApiKeyPlaintext)); + } + + public Builder openaiApiType(@Nullable Output openaiApiType) { + $.openaiApiType = openaiApiType; + return this; + } + + public Builder openaiApiType(String openaiApiType) { + return openaiApiType(Output.of(openaiApiType)); + } + + public Builder openaiApiVersion(@Nullable Output openaiApiVersion) { + $.openaiApiVersion = openaiApiVersion; + return this; + } + + public Builder openaiApiVersion(String openaiApiVersion) { + return openaiApiVersion(Output.of(openaiApiVersion)); + } + + public Builder openaiDeploymentName(@Nullable Output openaiDeploymentName) { + $.openaiDeploymentName = openaiDeploymentName; + return this; + } + + public Builder openaiDeploymentName(String openaiDeploymentName) { + return openaiDeploymentName(Output.of(openaiDeploymentName)); + } + + public Builder openaiOrganization(@Nullable Output openaiOrganization) { + $.openaiOrganization = openaiOrganization; + return this; + } + + public Builder openaiOrganization(String openaiOrganization) { + return openaiOrganization(Output.of(openaiOrganization)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.java new file mode 100644 index 00000000..9464b2f0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig(); + + @Import(name="palmApiKey") + private @Nullable String palmApiKey; + + public Optional palmApiKey() { + return Optional.ofNullable(this.palmApiKey); + } + + @Import(name="palmApiKeyPlaintext") + private @Nullable String palmApiKeyPlaintext; + + public Optional palmApiKeyPlaintext() { + return Optional.ofNullable(this.palmApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig $) { + this.palmApiKey = $.palmApiKey; + this.palmApiKeyPlaintext = $.palmApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig(Objects.requireNonNull(defaults)); + } + + public Builder palmApiKey(@Nullable String palmApiKey) { + $.palmApiKey = palmApiKey; + return this; + } + + public Builder palmApiKeyPlaintext(@Nullable String palmApiKeyPlaintext) { + $.palmApiKeyPlaintext = palmApiKeyPlaintext; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs.java new file mode 100644 index 00000000..b8c34b8f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs Empty = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs(); + + @Import(name="palmApiKey") + private @Nullable Output palmApiKey; + + public Optional> palmApiKey() { + return Optional.ofNullable(this.palmApiKey); + } + + @Import(name="palmApiKeyPlaintext") + private @Nullable Output palmApiKeyPlaintext; + + public Optional> palmApiKeyPlaintext() { + return Optional.ofNullable(this.palmApiKeyPlaintext); + } + + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs $) { + this.palmApiKey = $.palmApiKey; + this.palmApiKeyPlaintext = $.palmApiKeyPlaintext; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs(Objects.requireNonNull(defaults)); + } + + public Builder palmApiKey(@Nullable Output palmApiKey) { + $.palmApiKey = palmApiKey; + return this; + } + + public Builder palmApiKey(String palmApiKey) { + return palmApiKey(Output.of(palmApiKey)); + } + + public Builder palmApiKeyPlaintext(@Nullable Output palmApiKeyPlaintext) { + $.palmApiKeyPlaintext = palmApiKeyPlaintext; + return this; + } + + public Builder palmApiKeyPlaintext(String palmApiKeyPlaintext) { + return palmApiKeyPlaintext(Output.of(palmApiKeyPlaintext)); + } + + public GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.java new file mode 100644 index 00000000..ca68e25a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityFoundationModel extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityFoundationModel Empty = new GetServingEndpointsEndpointConfigServedEntityFoundationModel(); + + @Import(name="description") + private @Nullable String description; + + public Optional description() { + return Optional.ofNullable(this.description); + } + + @Import(name="displayName") + private @Nullable String displayName; + + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="docs") + private @Nullable String docs; + + public Optional docs() { + return Optional.ofNullable(this.docs); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetServingEndpointsEndpointConfigServedEntityFoundationModel() {} + + private GetServingEndpointsEndpointConfigServedEntityFoundationModel(GetServingEndpointsEndpointConfigServedEntityFoundationModel $) { + this.description = $.description; + this.displayName = $.displayName; + this.docs = $.docs; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityFoundationModel defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityFoundationModel $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityFoundationModel(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityFoundationModel defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityFoundationModel(Objects.requireNonNull(defaults)); + } + + public Builder description(@Nullable String description) { + $.description = description; + return this; + } + + public Builder displayName(@Nullable String displayName) { + $.displayName = displayName; + return this; + } + + public Builder docs(@Nullable String docs) { + $.docs = docs; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetServingEndpointsEndpointConfigServedEntityFoundationModel build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs.java new file mode 100644 index 00000000..e316d291 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs Empty = new GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs(); + + @Import(name="description") + private @Nullable Output description; + + public Optional> description() { + return Optional.ofNullable(this.description); + } + + @Import(name="displayName") + private @Nullable Output displayName; + + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="docs") + private @Nullable Output docs; + + public Optional> docs() { + return Optional.ofNullable(this.docs); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs() {} + + private GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs(GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs $) { + this.description = $.description; + this.displayName = $.displayName; + this.docs = $.docs; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs(Objects.requireNonNull(defaults)); + } + + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + public Builder description(String description) { + return description(Output.of(description)); + } + + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public Builder docs(@Nullable Output docs) { + $.docs = docs; + return this; + } + + public Builder docs(String docs) { + return docs(Output.of(docs)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedModel.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedModel.java new file mode 100644 index 00000000..222cebf5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedModel.java @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedModel extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointConfigServedModel Empty = new GetServingEndpointsEndpointConfigServedModel(); + + @Import(name="modelName") + private @Nullable String modelName; + + public Optional modelName() { + return Optional.ofNullable(this.modelName); + } + + @Import(name="modelVersion") + private @Nullable String modelVersion; + + public Optional modelVersion() { + return Optional.ofNullable(this.modelVersion); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + private GetServingEndpointsEndpointConfigServedModel() {} + + private GetServingEndpointsEndpointConfigServedModel(GetServingEndpointsEndpointConfigServedModel $) { + this.modelName = $.modelName; + this.modelVersion = $.modelVersion; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedModel defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedModel $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedModel(); + } + + public Builder(GetServingEndpointsEndpointConfigServedModel defaults) { + $ = new GetServingEndpointsEndpointConfigServedModel(Objects.requireNonNull(defaults)); + } + + public Builder modelName(@Nullable String modelName) { + $.modelName = modelName; + return this; + } + + public Builder modelVersion(@Nullable String modelVersion) { + $.modelVersion = modelVersion; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public GetServingEndpointsEndpointConfigServedModel build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedModelArgs.java new file mode 100644 index 00000000..f535c4a3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointConfigServedModelArgs.java @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointConfigServedModelArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointConfigServedModelArgs Empty = new GetServingEndpointsEndpointConfigServedModelArgs(); + + @Import(name="modelName") + private @Nullable Output modelName; + + public Optional> modelName() { + return Optional.ofNullable(this.modelName); + } + + @Import(name="modelVersion") + private @Nullable Output modelVersion; + + public Optional> modelVersion() { + return Optional.ofNullable(this.modelVersion); + } + + /** + * The name of the model serving endpoint. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the model serving endpoint. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private GetServingEndpointsEndpointConfigServedModelArgs() {} + + private GetServingEndpointsEndpointConfigServedModelArgs(GetServingEndpointsEndpointConfigServedModelArgs $) { + this.modelName = $.modelName; + this.modelVersion = $.modelVersion; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointConfigServedModelArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointConfigServedModelArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointConfigServedModelArgs(); + } + + public Builder(GetServingEndpointsEndpointConfigServedModelArgs defaults) { + $ = new GetServingEndpointsEndpointConfigServedModelArgs(Objects.requireNonNull(defaults)); + } + + public Builder modelName(@Nullable Output modelName) { + $.modelName = modelName; + return this; + } + + public Builder modelName(String modelName) { + return modelName(Output.of(modelName)); + } + + public Builder modelVersion(@Nullable Output modelVersion) { + $.modelVersion = modelVersion; + return this; + } + + public Builder modelVersion(String modelVersion) { + return modelVersion(Output.of(modelVersion)); + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the model serving endpoint. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetServingEndpointsEndpointConfigServedModelArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointState.java new file mode 100644 index 00000000..64c1eb92 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointState.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointState extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointState Empty = new GetServingEndpointsEndpointState(); + + @Import(name="configUpdate") + private @Nullable String configUpdate; + + public Optional configUpdate() { + return Optional.ofNullable(this.configUpdate); + } + + @Import(name="ready") + private @Nullable String ready; + + public Optional ready() { + return Optional.ofNullable(this.ready); + } + + private GetServingEndpointsEndpointState() {} + + private GetServingEndpointsEndpointState(GetServingEndpointsEndpointState $) { + this.configUpdate = $.configUpdate; + this.ready = $.ready; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointState $; + + public Builder() { + $ = new GetServingEndpointsEndpointState(); + } + + public Builder(GetServingEndpointsEndpointState defaults) { + $ = new GetServingEndpointsEndpointState(Objects.requireNonNull(defaults)); + } + + public Builder configUpdate(@Nullable String configUpdate) { + $.configUpdate = configUpdate; + return this; + } + + public Builder ready(@Nullable String ready) { + $.ready = ready; + return this; + } + + public GetServingEndpointsEndpointState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointStateArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointStateArgs.java new file mode 100644 index 00000000..839482ba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointStateArgs.java @@ -0,0 +1,80 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointStateArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointStateArgs Empty = new GetServingEndpointsEndpointStateArgs(); + + @Import(name="configUpdate") + private @Nullable Output configUpdate; + + public Optional> configUpdate() { + return Optional.ofNullable(this.configUpdate); + } + + @Import(name="ready") + private @Nullable Output ready; + + public Optional> ready() { + return Optional.ofNullable(this.ready); + } + + private GetServingEndpointsEndpointStateArgs() {} + + private GetServingEndpointsEndpointStateArgs(GetServingEndpointsEndpointStateArgs $) { + this.configUpdate = $.configUpdate; + this.ready = $.ready; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointStateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointStateArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointStateArgs(); + } + + public Builder(GetServingEndpointsEndpointStateArgs defaults) { + $ = new GetServingEndpointsEndpointStateArgs(Objects.requireNonNull(defaults)); + } + + public Builder configUpdate(@Nullable Output configUpdate) { + $.configUpdate = configUpdate; + return this; + } + + public Builder configUpdate(String configUpdate) { + return configUpdate(Output.of(configUpdate)); + } + + public Builder ready(@Nullable Output ready) { + $.ready = ready; + return this; + } + + public Builder ready(String ready) { + return ready(Output.of(ready)); + } + + public GetServingEndpointsEndpointStateArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointTag.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointTag.java new file mode 100644 index 00000000..0b084247 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointTag.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointTag extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsEndpointTag Empty = new GetServingEndpointsEndpointTag(); + + @Import(name="key", required=true) + private String key; + + public String key() { + return this.key; + } + + @Import(name="value") + private @Nullable String value; + + public Optional value() { + return Optional.ofNullable(this.value); + } + + private GetServingEndpointsEndpointTag() {} + + private GetServingEndpointsEndpointTag(GetServingEndpointsEndpointTag $) { + this.key = $.key; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointTag defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointTag $; + + public Builder() { + $ = new GetServingEndpointsEndpointTag(); + } + + public Builder(GetServingEndpointsEndpointTag defaults) { + $ = new GetServingEndpointsEndpointTag(Objects.requireNonNull(defaults)); + } + + public Builder key(String key) { + $.key = key; + return this; + } + + public Builder value(@Nullable String value) { + $.value = value; + return this; + } + + public GetServingEndpointsEndpointTag build() { + if ($.key == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointTag", "key"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointTagArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointTagArgs.java new file mode 100644 index 00000000..86b5b154 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsEndpointTagArgs.java @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsEndpointTagArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServingEndpointsEndpointTagArgs Empty = new GetServingEndpointsEndpointTagArgs(); + + @Import(name="key", required=true) + private Output key; + + public Output key() { + return this.key; + } + + @Import(name="value") + private @Nullable Output value; + + public Optional> value() { + return Optional.ofNullable(this.value); + } + + private GetServingEndpointsEndpointTagArgs() {} + + private GetServingEndpointsEndpointTagArgs(GetServingEndpointsEndpointTagArgs $) { + this.key = $.key; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsEndpointTagArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsEndpointTagArgs $; + + public Builder() { + $ = new GetServingEndpointsEndpointTagArgs(); + } + + public Builder(GetServingEndpointsEndpointTagArgs defaults) { + $ = new GetServingEndpointsEndpointTagArgs(Objects.requireNonNull(defaults)); + } + + public Builder key(Output key) { + $.key = key; + return this; + } + + public Builder key(String key) { + return key(Output.of(key)); + } + + public Builder value(@Nullable Output value) { + $.value = value; + return this; + } + + public Builder value(String value) { + return value(Output.of(value)); + } + + public GetServingEndpointsEndpointTagArgs build() { + if ($.key == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointTagArgs", "key"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsPlainArgs.java new file mode 100644 index 00000000..630f7bae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetServingEndpointsPlainArgs.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.GetServingEndpointsEndpoint; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServingEndpointsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServingEndpointsPlainArgs Empty = new GetServingEndpointsPlainArgs(); + + /** + * List of objects describing the serving endpoints. Each object consists of following attributes: + * + */ + @Import(name="endpoints") + private @Nullable List endpoints; + + /** + * @return List of objects describing the serving endpoints. Each object consists of following attributes: + * + */ + public Optional> endpoints() { + return Optional.ofNullable(this.endpoints); + } + + private GetServingEndpointsPlainArgs() {} + + private GetServingEndpointsPlainArgs(GetServingEndpointsPlainArgs $) { + this.endpoints = $.endpoints; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServingEndpointsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServingEndpointsPlainArgs $; + + public Builder() { + $ = new GetServingEndpointsPlainArgs(); + } + + public Builder(GetServingEndpointsPlainArgs defaults) { + $ = new GetServingEndpointsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param endpoints List of objects describing the serving endpoints. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder endpoints(@Nullable List endpoints) { + $.endpoints = endpoints; + return this; + } + + /** + * @param endpoints List of objects describing the serving endpoints. Each object consists of following attributes: + * + * @return builder + * + */ + public Builder endpoints(GetServingEndpointsEndpoint... endpoints) { + return endpoints(List.of(endpoints)); + } + + public GetServingEndpointsPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantState.java index ed252fc3..10021200 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantState.java @@ -23,6 +23,13 @@ public Optional> catalog() { return Optional.ofNullable(this.catalog); } + @Import(name="credential") + private @Nullable Output credential; + + public Optional> credential() { + return Optional.ofNullable(this.credential); + } + @Import(name="externalLocation") private @Nullable Output externalLocation; @@ -125,6 +132,7 @@ private GrantState() {} private GrantState(GrantState $) { this.catalog = $.catalog; + this.credential = $.credential; this.externalLocation = $.externalLocation; this.foreignConnection = $.foreignConnection; this.function = $.function; @@ -168,6 +176,15 @@ public Builder catalog(String catalog) { return catalog(Output.of(catalog)); } + public Builder credential(@Nullable Output credential) { + $.credential = credential; + return this; + } + + public Builder credential(String credential) { + return credential(Output.of(credential)); + } + public Builder externalLocation(@Nullable Output externalLocation) { $.externalLocation = externalLocation; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java index 3bd3ea42..e98f9ca1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java @@ -24,6 +24,13 @@ public Optional> catalog() { return Optional.ofNullable(this.catalog); } + @Import(name="credential") + private @Nullable Output credential; + + public Optional> credential() { + return Optional.ofNullable(this.credential); + } + @Import(name="externalLocation") private @Nullable Output externalLocation; @@ -119,6 +126,7 @@ private GrantsState() {} private GrantsState(GrantsState $) { this.catalog = $.catalog; + this.credential = $.credential; this.externalLocation = $.externalLocation; this.foreignConnection = $.foreignConnection; this.function = $.function; @@ -161,6 +169,15 @@ public Builder catalog(String catalog) { return catalog(Output.of(catalog)); } + public Builder credential(@Nullable Output credential) { + $.credential = credential; + return this; + } + + public Builder credential(String credential) { + return credential(Output.of(credential)); + } + public Builder externalLocation(@Nullable Output externalLocation) { $.externalLocation = externalLocation; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java index 1a78dc14..27fd687f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobJobClusterNewClusterArgs.java @@ -163,6 +163,20 @@ public Optional> instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -241,6 +255,13 @@ public Optional>> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + /** * isn't supported * @@ -278,6 +299,8 @@ private JobJobClusterNewClusterArgs(JobJobClusterNewClusterArgs $) { this.idempotencyToken = $.idempotencyToken; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.nodeTypeId = $.nodeTypeId; this.numWorkers = $.numWorkers; @@ -288,6 +311,7 @@ private JobJobClusterNewClusterArgs(JobJobClusterNewClusterArgs $) { this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -488,6 +512,24 @@ public Builder instancePoolId(String instancePoolId) { return instancePoolId(Output.of(instancePoolId)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + /** * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -604,6 +646,15 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + /** * @param workloadType isn't supported * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java index 382ad877..cb85ea44 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobNewClusterArgs.java @@ -163,6 +163,20 @@ public Optional> instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -241,6 +255,13 @@ public Optional>> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + /** * isn't supported * @@ -278,6 +299,8 @@ private JobNewClusterArgs(JobNewClusterArgs $) { this.idempotencyToken = $.idempotencyToken; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.nodeTypeId = $.nodeTypeId; this.numWorkers = $.numWorkers; @@ -288,6 +311,7 @@ private JobNewClusterArgs(JobNewClusterArgs $) { this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -488,6 +512,24 @@ public Builder instancePoolId(String instancePoolId) { return instancePoolId(Output.of(instancePoolId)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + /** * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -604,6 +646,15 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + /** * @param workloadType isn't supported * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskArgs.java index 03d6d1c9..e224817f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.JobTaskCleanRoomsNotebookTaskArgs; import com.pulumi.databricks.inputs.JobTaskConditionTaskArgs; import com.pulumi.databricks.inputs.JobTaskDbtTaskArgs; import com.pulumi.databricks.inputs.JobTaskDependsOnArgs; @@ -37,6 +38,13 @@ public final class JobTaskArgs extends com.pulumi.resources.ResourceArgs { public static final JobTaskArgs Empty = new JobTaskArgs(); + @Import(name="cleanRoomsNotebookTask") + private @Nullable Output cleanRoomsNotebookTask; + + public Optional> cleanRoomsNotebookTask() { + return Optional.ofNullable(this.cleanRoomsNotebookTask); + } + @Import(name="conditionTask") private @Nullable Output conditionTask; @@ -393,6 +401,7 @@ public Optional> webhookNotifications() private JobTaskArgs() {} private JobTaskArgs(JobTaskArgs $) { + this.cleanRoomsNotebookTask = $.cleanRoomsNotebookTask; this.conditionTask = $.conditionTask; this.dbtTask = $.dbtTask; this.dependsOns = $.dependsOns; @@ -442,6 +451,15 @@ public Builder(JobTaskArgs defaults) { $ = new JobTaskArgs(Objects.requireNonNull(defaults)); } + public Builder cleanRoomsNotebookTask(@Nullable Output cleanRoomsNotebookTask) { + $.cleanRoomsNotebookTask = cleanRoomsNotebookTask; + return this; + } + + public Builder cleanRoomsNotebookTask(JobTaskCleanRoomsNotebookTaskArgs cleanRoomsNotebookTask) { + return cleanRoomsNotebookTask(Output.of(cleanRoomsNotebookTask)); + } + public Builder conditionTask(@Nullable Output conditionTask) { $.conditionTask = conditionTask; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskCleanRoomsNotebookTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskCleanRoomsNotebookTaskArgs.java new file mode 100644 index 00000000..55231d61 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskCleanRoomsNotebookTaskArgs.java @@ -0,0 +1,122 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class JobTaskCleanRoomsNotebookTaskArgs extends com.pulumi.resources.ResourceArgs { + + public static final JobTaskCleanRoomsNotebookTaskArgs Empty = new JobTaskCleanRoomsNotebookTaskArgs(); + + @Import(name="cleanRoomName", required=true) + private Output cleanRoomName; + + public Output cleanRoomName() { + return this.cleanRoomName; + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="notebookBaseParameters") + private @Nullable Output> notebookBaseParameters; + + public Optional>> notebookBaseParameters() { + return Optional.ofNullable(this.notebookBaseParameters); + } + + @Import(name="notebookName", required=true) + private Output notebookName; + + public Output notebookName() { + return this.notebookName; + } + + private JobTaskCleanRoomsNotebookTaskArgs() {} + + private JobTaskCleanRoomsNotebookTaskArgs(JobTaskCleanRoomsNotebookTaskArgs $) { + this.cleanRoomName = $.cleanRoomName; + this.etag = $.etag; + this.notebookBaseParameters = $.notebookBaseParameters; + this.notebookName = $.notebookName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(JobTaskCleanRoomsNotebookTaskArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private JobTaskCleanRoomsNotebookTaskArgs $; + + public Builder() { + $ = new JobTaskCleanRoomsNotebookTaskArgs(); + } + + public Builder(JobTaskCleanRoomsNotebookTaskArgs defaults) { + $ = new JobTaskCleanRoomsNotebookTaskArgs(Objects.requireNonNull(defaults)); + } + + public Builder cleanRoomName(Output cleanRoomName) { + $.cleanRoomName = cleanRoomName; + return this; + } + + public Builder cleanRoomName(String cleanRoomName) { + return cleanRoomName(Output.of(cleanRoomName)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder notebookBaseParameters(@Nullable Output> notebookBaseParameters) { + $.notebookBaseParameters = notebookBaseParameters; + return this; + } + + public Builder notebookBaseParameters(Map notebookBaseParameters) { + return notebookBaseParameters(Output.of(notebookBaseParameters)); + } + + public Builder notebookName(Output notebookName) { + $.notebookName = notebookName; + return this; + } + + public Builder notebookName(String notebookName) { + return notebookName(Output.of(notebookName)); + } + + public JobTaskCleanRoomsNotebookTaskArgs build() { + if ($.cleanRoomName == null) { + throw new MissingRequiredPropertyException("JobTaskCleanRoomsNotebookTaskArgs", "cleanRoomName"); + } + if ($.notebookName == null) { + throw new MissingRequiredPropertyException("JobTaskCleanRoomsNotebookTaskArgs", "notebookName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskArgs.java index a2f37dc4..038c4733 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskConditionTaskArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskDbtTaskArgs; import com.pulumi.databricks.inputs.JobTaskForEachTaskTaskDependsOnArgs; @@ -36,6 +37,13 @@ public final class JobTaskForEachTaskTaskArgs extends com.pulumi.resources.Resou public static final JobTaskForEachTaskTaskArgs Empty = new JobTaskForEachTaskTaskArgs(); + @Import(name="cleanRoomsNotebookTask") + private @Nullable Output cleanRoomsNotebookTask; + + public Optional> cleanRoomsNotebookTask() { + return Optional.ofNullable(this.cleanRoomsNotebookTask); + } + @Import(name="conditionTask") private @Nullable Output conditionTask; @@ -385,6 +393,7 @@ public Optional> webhookN private JobTaskForEachTaskTaskArgs() {} private JobTaskForEachTaskTaskArgs(JobTaskForEachTaskTaskArgs $) { + this.cleanRoomsNotebookTask = $.cleanRoomsNotebookTask; this.conditionTask = $.conditionTask; this.dbtTask = $.dbtTask; this.dependsOns = $.dependsOns; @@ -433,6 +442,15 @@ public Builder(JobTaskForEachTaskTaskArgs defaults) { $ = new JobTaskForEachTaskTaskArgs(Objects.requireNonNull(defaults)); } + public Builder cleanRoomsNotebookTask(@Nullable Output cleanRoomsNotebookTask) { + $.cleanRoomsNotebookTask = cleanRoomsNotebookTask; + return this; + } + + public Builder cleanRoomsNotebookTask(JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs cleanRoomsNotebookTask) { + return cleanRoomsNotebookTask(Output.of(cleanRoomsNotebookTask)); + } + public Builder conditionTask(@Nullable Output conditionTask) { $.conditionTask = conditionTask; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs.java new file mode 100644 index 00000000..c6de2d26 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs.java @@ -0,0 +1,122 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs extends com.pulumi.resources.ResourceArgs { + + public static final JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs Empty = new JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs(); + + @Import(name="cleanRoomName", required=true) + private Output cleanRoomName; + + public Output cleanRoomName() { + return this.cleanRoomName; + } + + @Import(name="etag") + private @Nullable Output etag; + + public Optional> etag() { + return Optional.ofNullable(this.etag); + } + + @Import(name="notebookBaseParameters") + private @Nullable Output> notebookBaseParameters; + + public Optional>> notebookBaseParameters() { + return Optional.ofNullable(this.notebookBaseParameters); + } + + @Import(name="notebookName", required=true) + private Output notebookName; + + public Output notebookName() { + return this.notebookName; + } + + private JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs() {} + + private JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs(JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs $) { + this.cleanRoomName = $.cleanRoomName; + this.etag = $.etag; + this.notebookBaseParameters = $.notebookBaseParameters; + this.notebookName = $.notebookName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs $; + + public Builder() { + $ = new JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs(); + } + + public Builder(JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs defaults) { + $ = new JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs(Objects.requireNonNull(defaults)); + } + + public Builder cleanRoomName(Output cleanRoomName) { + $.cleanRoomName = cleanRoomName; + return this; + } + + public Builder cleanRoomName(String cleanRoomName) { + return cleanRoomName(Output.of(cleanRoomName)); + } + + public Builder etag(@Nullable Output etag) { + $.etag = etag; + return this; + } + + public Builder etag(String etag) { + return etag(Output.of(etag)); + } + + public Builder notebookBaseParameters(@Nullable Output> notebookBaseParameters) { + $.notebookBaseParameters = notebookBaseParameters; + return this; + } + + public Builder notebookBaseParameters(Map notebookBaseParameters) { + return notebookBaseParameters(Output.of(notebookBaseParameters)); + } + + public Builder notebookName(Output notebookName) { + $.notebookName = notebookName; + return this; + } + + public Builder notebookName(String notebookName) { + return notebookName(Output.of(notebookName)); + } + + public JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs build() { + if ($.cleanRoomName == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs", "cleanRoomName"); + } + if ($.notebookName == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs", "notebookName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java index 1173bb2c..f0b62e68 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskForEachTaskTaskNewClusterArgs.java @@ -163,6 +163,20 @@ public Optional> instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -241,6 +255,13 @@ public Optional>> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + /** * isn't supported * @@ -278,6 +299,8 @@ private JobTaskForEachTaskTaskNewClusterArgs(JobTaskForEachTaskTaskNewClusterArg this.idempotencyToken = $.idempotencyToken; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.nodeTypeId = $.nodeTypeId; this.numWorkers = $.numWorkers; @@ -288,6 +311,7 @@ private JobTaskForEachTaskTaskNewClusterArgs(JobTaskForEachTaskTaskNewClusterArg this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -488,6 +512,24 @@ public Builder instancePoolId(String instancePoolId) { return instancePoolId(Output.of(instancePoolId)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + /** * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -604,6 +646,15 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + /** * @param workloadType isn't supported * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java index 8f604175..0c6778fb 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobTaskNewClusterArgs.java @@ -163,6 +163,20 @@ public Optional> instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + @Import(name="isSingleNode") + private @Nullable Output isSingleNode; + + public Optional> isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + + @Import(name="kind") + private @Nullable Output kind; + + public Optional> kind() { + return Optional.ofNullable(this.kind); + } + /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -241,6 +255,13 @@ public Optional>> sshPublicKeys() { return Optional.ofNullable(this.sshPublicKeys); } + @Import(name="useMlRuntime") + private @Nullable Output useMlRuntime; + + public Optional> useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } + /** * isn't supported * @@ -278,6 +299,8 @@ private JobTaskNewClusterArgs(JobTaskNewClusterArgs $) { this.idempotencyToken = $.idempotencyToken; this.initScripts = $.initScripts; this.instancePoolId = $.instancePoolId; + this.isSingleNode = $.isSingleNode; + this.kind = $.kind; this.libraries = $.libraries; this.nodeTypeId = $.nodeTypeId; this.numWorkers = $.numWorkers; @@ -288,6 +311,7 @@ private JobTaskNewClusterArgs(JobTaskNewClusterArgs $) { this.sparkEnvVars = $.sparkEnvVars; this.sparkVersion = $.sparkVersion; this.sshPublicKeys = $.sshPublicKeys; + this.useMlRuntime = $.useMlRuntime; this.workloadType = $.workloadType; } @@ -488,6 +512,24 @@ public Builder instancePoolId(String instancePoolId) { return instancePoolId(Output.of(instancePoolId)); } + public Builder isSingleNode(@Nullable Output isSingleNode) { + $.isSingleNode = isSingleNode; + return this; + } + + public Builder isSingleNode(Boolean isSingleNode) { + return isSingleNode(Output.of(isSingleNode)); + } + + public Builder kind(@Nullable Output kind) { + $.kind = kind; + return this; + } + + public Builder kind(String kind) { + return kind(Output.of(kind)); + } + /** * @param libraries (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -604,6 +646,15 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } + public Builder useMlRuntime(@Nullable Output useMlRuntime) { + $.useMlRuntime = useMlRuntime; + return this; + } + + public Builder useMlRuntime(Boolean useMlRuntime) { + return useMlRuntime(Output.of(useMlRuntime)); + } + /** * @param workloadType isn't supported * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/MwsNccPrivateEndpointRuleState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/MwsNccPrivateEndpointRuleState.java index 59a41d1c..bb0cb97b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/MwsNccPrivateEndpointRuleState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/MwsNccPrivateEndpointRuleState.java @@ -103,14 +103,14 @@ public Optional> endpointName() { } /** - * The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * */ @Import(name="groupId") private @Nullable Output groupId; /** - * @return The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @return The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * */ public Optional> groupId() { @@ -326,7 +326,7 @@ public Builder endpointName(String endpointName) { } /** - * @param groupId The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @param groupId The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * * @return builder * @@ -337,7 +337,7 @@ public Builder groupId(@Nullable Output groupId) { } /** - * @param groupId The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * @param groupId The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/PermissionsState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/PermissionsState.java index b7b4b495..f8d519ee 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/PermissionsState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/PermissionsState.java @@ -24,6 +24,13 @@ public Optional>> accessControls() { return Optional.ofNullable(this.accessControls); } + @Import(name="appName") + private @Nullable Output appName; + + public Optional> appName() { + return Optional.ofNullable(this.appName); + } + @Import(name="authorization") private @Nullable Output authorization; @@ -179,6 +186,13 @@ public Optional> sqlQueryId() { return Optional.ofNullable(this.sqlQueryId); } + @Import(name="vectorSearchEndpointId") + private @Nullable Output vectorSearchEndpointId; + + public Optional> vectorSearchEndpointId() { + return Optional.ofNullable(this.vectorSearchEndpointId); + } + @Import(name="workspaceFileId") private @Nullable Output workspaceFileId; @@ -197,6 +211,7 @@ private PermissionsState() {} private PermissionsState(PermissionsState $) { this.accessControls = $.accessControls; + this.appName = $.appName; this.authorization = $.authorization; this.clusterId = $.clusterId; this.clusterPolicyId = $.clusterPolicyId; @@ -218,6 +233,7 @@ private PermissionsState(PermissionsState $) { this.sqlDashboardId = $.sqlDashboardId; this.sqlEndpointId = $.sqlEndpointId; this.sqlQueryId = $.sqlQueryId; + this.vectorSearchEndpointId = $.vectorSearchEndpointId; this.workspaceFileId = $.workspaceFileId; this.workspaceFilePath = $.workspaceFilePath; } @@ -253,6 +269,15 @@ public Builder accessControls(PermissionsAccessControlArgs... accessControls) { return accessControls(List.of(accessControls)); } + public Builder appName(@Nullable Output appName) { + $.appName = appName; + return this; + } + + public Builder appName(String appName) { + return appName(Output.of(appName)); + } + public Builder authorization(@Nullable Output authorization) { $.authorization = authorization; return this; @@ -454,6 +479,15 @@ public Builder sqlQueryId(String sqlQueryId) { return sqlQueryId(Output.of(sqlQueryId)); } + public Builder vectorSearchEndpointId(@Nullable Output vectorSearchEndpointId) { + $.vectorSearchEndpointId = vectorSearchEndpointId; + return this; + } + + public Builder vectorSearchEndpointId(String vectorSearchEndpointId) { + return vectorSearchEndpointId(Output.of(vectorSearchEndpointId)); + } + public Builder workspaceFileId(@Nullable Output workspaceFileId) { $.workspaceFileId = workspaceFileId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/PipelineRestartWindowArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/PipelineRestartWindowArgs.java index 8b760e4d..fffda954 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/PipelineRestartWindowArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/PipelineRestartWindowArgs.java @@ -8,6 +8,7 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -17,11 +18,11 @@ public final class PipelineRestartWindowArgs extends com.pulumi.resources.Resour public static final PipelineRestartWindowArgs Empty = new PipelineRestartWindowArgs(); - @Import(name="daysOfWeek") - private @Nullable Output daysOfWeek; + @Import(name="daysOfWeeks") + private @Nullable Output> daysOfWeeks; - public Optional> daysOfWeek() { - return Optional.ofNullable(this.daysOfWeek); + public Optional>> daysOfWeeks() { + return Optional.ofNullable(this.daysOfWeeks); } @Import(name="startHour", required=true) @@ -41,7 +42,7 @@ public Optional> timeZoneId() { private PipelineRestartWindowArgs() {} private PipelineRestartWindowArgs(PipelineRestartWindowArgs $) { - this.daysOfWeek = $.daysOfWeek; + this.daysOfWeeks = $.daysOfWeeks; this.startHour = $.startHour; this.timeZoneId = $.timeZoneId; } @@ -64,13 +65,17 @@ public Builder(PipelineRestartWindowArgs defaults) { $ = new PipelineRestartWindowArgs(Objects.requireNonNull(defaults)); } - public Builder daysOfWeek(@Nullable Output daysOfWeek) { - $.daysOfWeek = daysOfWeek; + public Builder daysOfWeeks(@Nullable Output> daysOfWeeks) { + $.daysOfWeeks = daysOfWeeks; return this; } - public Builder daysOfWeek(String daysOfWeek) { - return daysOfWeek(Output.of(daysOfWeek)); + public Builder daysOfWeeks(List daysOfWeeks) { + return daysOfWeeks(Output.of(daysOfWeeks)); + } + + public Builder daysOfWeeks(String... daysOfWeeks) { + return daysOfWeeks(List.of(daysOfWeeks)); } public Builder startHour(Output startHour) { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QueryState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QueryState.java index fc771b90..16c5687b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/QueryState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/QueryState.java @@ -184,14 +184,14 @@ public Optional> queryText() { } /** - * Sets the "Run as" role for the object. + * Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * */ @Import(name="runAsMode") private @Nullable Output runAsMode; /** - * @return Sets the "Run as" role for the object. + * @return Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * */ public Optional> runAsMode() { @@ -539,7 +539,7 @@ public Builder queryText(String queryText) { } /** - * @param runAsMode Sets the "Run as" role for the object. + * @param runAsMode Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * * @return builder * @@ -550,7 +550,7 @@ public Builder runAsMode(@Nullable Output runAsMode) { } /** - * @param runAsMode Sets the "Run as" role for the object. + * @param runAsMode Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/WorkspaceBindingState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/WorkspaceBindingState.java index 0ef39c10..8a24f77b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/WorkspaceBindingState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/WorkspaceBindingState.java @@ -65,14 +65,14 @@ public Optional> securableName() { } /** - * Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * */ @Import(name="securableType") private @Nullable Output securableType; /** - * @return Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @return Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * */ public Optional> securableType() { @@ -190,7 +190,7 @@ public Builder securableName(String securableName) { } /** - * @param securableType Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @param securableType Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * * @return builder * @@ -201,7 +201,7 @@ public Builder securableType(@Nullable Output securableType) { } /** - * @param securableType Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * @param securableType Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeployment.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeployment.java new file mode 100644 index 00000000..0c1bfbf9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeployment.java @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.AppActiveDeploymentDeploymentArtifacts; +import com.pulumi.databricks.outputs.AppActiveDeploymentStatus; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppActiveDeployment { + /** + * @return The creation time of the app. + * + */ + private @Nullable String createTime; + /** + * @return The email of the user that created the app. + * + */ + private @Nullable String creator; + private @Nullable AppActiveDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private @Nullable AppActiveDeploymentStatus status; + /** + * @return The update time of the app. + * + */ + private @Nullable String updateTime; + + private AppActiveDeployment() {} + /** + * @return The creation time of the app. + * + */ + public Optional createTime() { + return Optional.ofNullable(this.createTime); + } + /** + * @return The email of the user that created the app. + * + */ + public Optional creator() { + return Optional.ofNullable(this.creator); + } + public Optional deploymentArtifacts() { + return Optional.ofNullable(this.deploymentArtifacts); + } + public Optional deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + public Optional mode() { + return Optional.ofNullable(this.mode); + } + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + public Optional status() { + return Optional.ofNullable(this.status); + } + /** + * @return The update time of the app. + * + */ + public Optional updateTime() { + return Optional.ofNullable(this.updateTime); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppActiveDeployment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String createTime; + private @Nullable String creator; + private @Nullable AppActiveDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private @Nullable AppActiveDeploymentStatus status; + private @Nullable String updateTime; + public Builder() {} + public Builder(AppActiveDeployment defaults) { + Objects.requireNonNull(defaults); + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.deploymentArtifacts = defaults.deploymentArtifacts; + this.deploymentId = defaults.deploymentId; + this.mode = defaults.mode; + this.sourceCodePath = defaults.sourceCodePath; + this.status = defaults.status; + this.updateTime = defaults.updateTime; + } + + @CustomType.Setter + public Builder createTime(@Nullable String createTime) { + + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(@Nullable String creator) { + + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder deploymentArtifacts(@Nullable AppActiveDeploymentDeploymentArtifacts deploymentArtifacts) { + + this.deploymentArtifacts = deploymentArtifacts; + return this; + } + @CustomType.Setter + public Builder deploymentId(@Nullable String deploymentId) { + + this.deploymentId = deploymentId; + return this; + } + @CustomType.Setter + public Builder mode(@Nullable String mode) { + + this.mode = mode; + return this; + } + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + @CustomType.Setter + public Builder status(@Nullable AppActiveDeploymentStatus status) { + + this.status = status; + return this; + } + @CustomType.Setter + public Builder updateTime(@Nullable String updateTime) { + + this.updateTime = updateTime; + return this; + } + public AppActiveDeployment build() { + final var _resultValue = new AppActiveDeployment(); + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.deploymentArtifacts = deploymentArtifacts; + _resultValue.deploymentId = deploymentId; + _resultValue.mode = mode; + _resultValue.sourceCodePath = sourceCodePath; + _resultValue.status = status; + _resultValue.updateTime = updateTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeploymentDeploymentArtifacts.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeploymentDeploymentArtifacts.java new file mode 100644 index 00000000..28df99d1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeploymentDeploymentArtifacts.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppActiveDeploymentDeploymentArtifacts { + private @Nullable String sourceCodePath; + + private AppActiveDeploymentDeploymentArtifacts() {} + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppActiveDeploymentDeploymentArtifacts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String sourceCodePath; + public Builder() {} + public Builder(AppActiveDeploymentDeploymentArtifacts defaults) { + Objects.requireNonNull(defaults); + this.sourceCodePath = defaults.sourceCodePath; + } + + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + public AppActiveDeploymentDeploymentArtifacts build() { + final var _resultValue = new AppActiveDeploymentDeploymentArtifacts(); + _resultValue.sourceCodePath = sourceCodePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeploymentStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeploymentStatus.java new file mode 100644 index 00000000..5e11c130 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppActiveDeploymentStatus.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppActiveDeploymentStatus { + /** + * @return Application status message + * + */ + private @Nullable String message; + /** + * @return State of the application. + * + */ + private @Nullable String state; + + private AppActiveDeploymentStatus() {} + /** + * @return Application status message + * + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + /** + * @return State of the application. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppActiveDeploymentStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String message; + private @Nullable String state; + public Builder() {} + public Builder(AppActiveDeploymentStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(@Nullable String message) { + + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public AppActiveDeploymentStatus build() { + final var _resultValue = new AppActiveDeploymentStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppAppStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppAppStatus.java new file mode 100644 index 00000000..c4705033 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppAppStatus.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppAppStatus { + /** + * @return Application status message + * + */ + private @Nullable String message; + /** + * @return State of the application. + * + */ + private @Nullable String state; + + private AppAppStatus() {} + /** + * @return Application status message + * + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + /** + * @return State of the application. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppAppStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String message; + private @Nullable String state; + public Builder() {} + public Builder(AppAppStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(@Nullable String message) { + + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public AppAppStatus build() { + final var _resultValue = new AppAppStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppComputeStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppComputeStatus.java new file mode 100644 index 00000000..d00f9fef --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppComputeStatus.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppComputeStatus { + /** + * @return Application status message + * + */ + private @Nullable String message; + /** + * @return State of the application. + * + */ + private @Nullable String state; + + private AppComputeStatus() {} + /** + * @return Application status message + * + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + /** + * @return State of the application. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppComputeStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String message; + private @Nullable String state; + public Builder() {} + public Builder(AppComputeStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(@Nullable String message) { + + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public AppComputeStatus build() { + final var _resultValue = new AppComputeStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeployment.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeployment.java new file mode 100644 index 00000000..1e91f6e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeployment.java @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.AppPendingDeploymentDeploymentArtifacts; +import com.pulumi.databricks.outputs.AppPendingDeploymentStatus; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppPendingDeployment { + /** + * @return The creation time of the app. + * + */ + private @Nullable String createTime; + /** + * @return The email of the user that created the app. + * + */ + private @Nullable String creator; + private @Nullable AppPendingDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private @Nullable AppPendingDeploymentStatus status; + /** + * @return The update time of the app. + * + */ + private @Nullable String updateTime; + + private AppPendingDeployment() {} + /** + * @return The creation time of the app. + * + */ + public Optional createTime() { + return Optional.ofNullable(this.createTime); + } + /** + * @return The email of the user that created the app. + * + */ + public Optional creator() { + return Optional.ofNullable(this.creator); + } + public Optional deploymentArtifacts() { + return Optional.ofNullable(this.deploymentArtifacts); + } + public Optional deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + public Optional mode() { + return Optional.ofNullable(this.mode); + } + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + public Optional status() { + return Optional.ofNullable(this.status); + } + /** + * @return The update time of the app. + * + */ + public Optional updateTime() { + return Optional.ofNullable(this.updateTime); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppPendingDeployment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String createTime; + private @Nullable String creator; + private @Nullable AppPendingDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private @Nullable AppPendingDeploymentStatus status; + private @Nullable String updateTime; + public Builder() {} + public Builder(AppPendingDeployment defaults) { + Objects.requireNonNull(defaults); + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.deploymentArtifacts = defaults.deploymentArtifacts; + this.deploymentId = defaults.deploymentId; + this.mode = defaults.mode; + this.sourceCodePath = defaults.sourceCodePath; + this.status = defaults.status; + this.updateTime = defaults.updateTime; + } + + @CustomType.Setter + public Builder createTime(@Nullable String createTime) { + + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(@Nullable String creator) { + + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder deploymentArtifacts(@Nullable AppPendingDeploymentDeploymentArtifacts deploymentArtifacts) { + + this.deploymentArtifacts = deploymentArtifacts; + return this; + } + @CustomType.Setter + public Builder deploymentId(@Nullable String deploymentId) { + + this.deploymentId = deploymentId; + return this; + } + @CustomType.Setter + public Builder mode(@Nullable String mode) { + + this.mode = mode; + return this; + } + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + @CustomType.Setter + public Builder status(@Nullable AppPendingDeploymentStatus status) { + + this.status = status; + return this; + } + @CustomType.Setter + public Builder updateTime(@Nullable String updateTime) { + + this.updateTime = updateTime; + return this; + } + public AppPendingDeployment build() { + final var _resultValue = new AppPendingDeployment(); + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.deploymentArtifacts = deploymentArtifacts; + _resultValue.deploymentId = deploymentId; + _resultValue.mode = mode; + _resultValue.sourceCodePath = sourceCodePath; + _resultValue.status = status; + _resultValue.updateTime = updateTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeploymentDeploymentArtifacts.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeploymentDeploymentArtifacts.java new file mode 100644 index 00000000..46997523 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeploymentDeploymentArtifacts.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppPendingDeploymentDeploymentArtifacts { + private @Nullable String sourceCodePath; + + private AppPendingDeploymentDeploymentArtifacts() {} + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppPendingDeploymentDeploymentArtifacts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String sourceCodePath; + public Builder() {} + public Builder(AppPendingDeploymentDeploymentArtifacts defaults) { + Objects.requireNonNull(defaults); + this.sourceCodePath = defaults.sourceCodePath; + } + + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + public AppPendingDeploymentDeploymentArtifacts build() { + final var _resultValue = new AppPendingDeploymentDeploymentArtifacts(); + _resultValue.sourceCodePath = sourceCodePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeploymentStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeploymentStatus.java new file mode 100644 index 00000000..9f903ed8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppPendingDeploymentStatus.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppPendingDeploymentStatus { + /** + * @return Application status message + * + */ + private @Nullable String message; + /** + * @return State of the application. + * + */ + private @Nullable String state; + + private AppPendingDeploymentStatus() {} + /** + * @return Application status message + * + */ + public Optional message() { + return Optional.ofNullable(this.message); + } + /** + * @return State of the application. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppPendingDeploymentStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String message; + private @Nullable String state; + public Builder() {} + public Builder(AppPendingDeploymentStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(@Nullable String message) { + + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public AppPendingDeploymentStatus build() { + final var _resultValue = new AppPendingDeploymentStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResource.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResource.java new file mode 100644 index 00000000..b024a444 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResource.java @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.AppResourceJob; +import com.pulumi.databricks.outputs.AppResourceSecret; +import com.pulumi.databricks.outputs.AppResourceServingEndpoint; +import com.pulumi.databricks.outputs.AppResourceSqlWarehouse; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppResource { + /** + * @return The description of the resource. + * + * Exactly one of the following attributes must be provided: + * + */ + private @Nullable String description; + /** + * @return attribute + * + */ + private @Nullable AppResourceJob job; + /** + * @return The name of the resource. + * + */ + private String name; + /** + * @return attribute + * + */ + private @Nullable AppResourceSecret secret; + /** + * @return attribute + * + */ + private @Nullable AppResourceServingEndpoint servingEndpoint; + /** + * @return attribute + * + */ + private @Nullable AppResourceSqlWarehouse sqlWarehouse; + + private AppResource() {} + /** + * @return The description of the resource. + * + * Exactly one of the following attributes must be provided: + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return attribute + * + */ + public Optional job() { + return Optional.ofNullable(this.job); + } + /** + * @return The name of the resource. + * + */ + public String name() { + return this.name; + } + /** + * @return attribute + * + */ + public Optional secret() { + return Optional.ofNullable(this.secret); + } + /** + * @return attribute + * + */ + public Optional servingEndpoint() { + return Optional.ofNullable(this.servingEndpoint); + } + /** + * @return attribute + * + */ + public Optional sqlWarehouse() { + return Optional.ofNullable(this.sqlWarehouse); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppResource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable AppResourceJob job; + private String name; + private @Nullable AppResourceSecret secret; + private @Nullable AppResourceServingEndpoint servingEndpoint; + private @Nullable AppResourceSqlWarehouse sqlWarehouse; + public Builder() {} + public Builder(AppResource defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.job = defaults.job; + this.name = defaults.name; + this.secret = defaults.secret; + this.servingEndpoint = defaults.servingEndpoint; + this.sqlWarehouse = defaults.sqlWarehouse; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder job(@Nullable AppResourceJob job) { + + this.job = job; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("AppResource", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder secret(@Nullable AppResourceSecret secret) { + + this.secret = secret; + return this; + } + @CustomType.Setter + public Builder servingEndpoint(@Nullable AppResourceServingEndpoint servingEndpoint) { + + this.servingEndpoint = servingEndpoint; + return this; + } + @CustomType.Setter + public Builder sqlWarehouse(@Nullable AppResourceSqlWarehouse sqlWarehouse) { + + this.sqlWarehouse = sqlWarehouse; + return this; + } + public AppResource build() { + final var _resultValue = new AppResource(); + _resultValue.description = description; + _resultValue.job = job; + _resultValue.name = name; + _resultValue.secret = secret; + _resultValue.servingEndpoint = servingEndpoint; + _resultValue.sqlWarehouse = sqlWarehouse; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceJob.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceJob.java new file mode 100644 index 00000000..55413740 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceJob.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class AppResourceJob { + /** + * @return Id of the job to grant permission on. + * + */ + private String id; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private AppResourceJob() {} + /** + * @return Id of the job to grant permission on. + * + */ + public String id() { + return this.id; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppResourceJob defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String permission; + public Builder() {} + public Builder(AppResourceJob defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("AppResourceJob", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("AppResourceJob", "permission"); + } + this.permission = permission; + return this; + } + public AppResourceJob build() { + final var _resultValue = new AppResourceJob(); + _resultValue.id = id; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceSecret.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceSecret.java new file mode 100644 index 00000000..5e8baa44 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceSecret.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class AppResourceSecret { + /** + * @return Key of the secret to grant permission on. + * + */ + private String key; + /** + * @return Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + * + */ + private String permission; + /** + * @return Scope of the secret to grant permission on. + * + */ + private String scope; + + private AppResourceSecret() {} + /** + * @return Key of the secret to grant permission on. + * + */ + public String key() { + return this.key; + } + /** + * @return Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + * + */ + public String permission() { + return this.permission; + } + /** + * @return Scope of the secret to grant permission on. + * + */ + public String scope() { + return this.scope; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppResourceSecret defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String permission; + private String scope; + public Builder() {} + public Builder(AppResourceSecret defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.permission = defaults.permission; + this.scope = defaults.scope; + } + + @CustomType.Setter + public Builder key(String key) { + if (key == null) { + throw new MissingRequiredPropertyException("AppResourceSecret", "key"); + } + this.key = key; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("AppResourceSecret", "permission"); + } + this.permission = permission; + return this; + } + @CustomType.Setter + public Builder scope(String scope) { + if (scope == null) { + throw new MissingRequiredPropertyException("AppResourceSecret", "scope"); + } + this.scope = scope; + return this; + } + public AppResourceSecret build() { + final var _resultValue = new AppResourceSecret(); + _resultValue.key = key; + _resultValue.permission = permission; + _resultValue.scope = scope; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceServingEndpoint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceServingEndpoint.java new file mode 100644 index 00000000..6131d2d8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceServingEndpoint.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class AppResourceServingEndpoint { + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + private String name; + /** + * @return Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + * + */ + private String permission; + + private AppResourceServingEndpoint() {} + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + public String name() { + return this.name; + } + /** + * @return Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppResourceServingEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String permission; + public Builder() {} + public Builder(AppResourceServingEndpoint defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("AppResourceServingEndpoint", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("AppResourceServingEndpoint", "permission"); + } + this.permission = permission; + return this; + } + public AppResourceServingEndpoint build() { + final var _resultValue = new AppResourceServingEndpoint(); + _resultValue.name = name; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceSqlWarehouse.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceSqlWarehouse.java new file mode 100644 index 00000000..030ccd2e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/AppResourceSqlWarehouse.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class AppResourceSqlWarehouse { + /** + * @return Id of the SQL warehouse to grant permission on. + * + */ + private String id; + /** + * @return Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + * + */ + private String permission; + + private AppResourceSqlWarehouse() {} + /** + * @return Id of the SQL warehouse to grant permission on. + * + */ + public String id() { + return this.id; + } + /** + * @return Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppResourceSqlWarehouse defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String permission; + public Builder() {} + public Builder(AppResourceSqlWarehouse defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("AppResourceSqlWarehouse", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("AppResourceSqlWarehouse", "permission"); + } + this.permission = permission; + return this; + } + public AppResourceSqlWarehouse build() { + final var _resultValue = new AppResourceSqlWarehouse(); + _resultValue.id = id; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAwsIamRole.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAwsIamRole.java new file mode 100644 index 00000000..15cd5eda --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAwsIamRole.java @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CredentialAwsIamRole { + private @Nullable String externalId; + /** + * @return The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + * + */ + private @Nullable String roleArn; + private @Nullable String unityCatalogIamArn; + + private CredentialAwsIamRole() {} + public Optional externalId() { + return Optional.ofNullable(this.externalId); + } + /** + * @return The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + * + */ + public Optional roleArn() { + return Optional.ofNullable(this.roleArn); + } + public Optional unityCatalogIamArn() { + return Optional.ofNullable(this.unityCatalogIamArn); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CredentialAwsIamRole defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalId; + private @Nullable String roleArn; + private @Nullable String unityCatalogIamArn; + public Builder() {} + public Builder(CredentialAwsIamRole defaults) { + Objects.requireNonNull(defaults); + this.externalId = defaults.externalId; + this.roleArn = defaults.roleArn; + this.unityCatalogIamArn = defaults.unityCatalogIamArn; + } + + @CustomType.Setter + public Builder externalId(@Nullable String externalId) { + + this.externalId = externalId; + return this; + } + @CustomType.Setter + public Builder roleArn(@Nullable String roleArn) { + + this.roleArn = roleArn; + return this; + } + @CustomType.Setter + public Builder unityCatalogIamArn(@Nullable String unityCatalogIamArn) { + + this.unityCatalogIamArn = unityCatalogIamArn; + return this; + } + public CredentialAwsIamRole build() { + final var _resultValue = new CredentialAwsIamRole(); + _resultValue.externalId = externalId; + _resultValue.roleArn = roleArn; + _resultValue.unityCatalogIamArn = unityCatalogIamArn; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAzureManagedIdentity.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAzureManagedIdentity.java new file mode 100644 index 00000000..834e04cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAzureManagedIdentity.java @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CredentialAzureManagedIdentity { + /** + * @return The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + * + */ + private String accessConnectorId; + /** + * @return Unique ID of the credential. + * + */ + private @Nullable String credentialId; + /** + * @return The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + * + */ + private @Nullable String managedIdentityId; + + private CredentialAzureManagedIdentity() {} + /** + * @return The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + * + */ + public String accessConnectorId() { + return this.accessConnectorId; + } + /** + * @return Unique ID of the credential. + * + */ + public Optional credentialId() { + return Optional.ofNullable(this.credentialId); + } + /** + * @return The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + * + */ + public Optional managedIdentityId() { + return Optional.ofNullable(this.managedIdentityId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CredentialAzureManagedIdentity defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessConnectorId; + private @Nullable String credentialId; + private @Nullable String managedIdentityId; + public Builder() {} + public Builder(CredentialAzureManagedIdentity defaults) { + Objects.requireNonNull(defaults); + this.accessConnectorId = defaults.accessConnectorId; + this.credentialId = defaults.credentialId; + this.managedIdentityId = defaults.managedIdentityId; + } + + @CustomType.Setter + public Builder accessConnectorId(String accessConnectorId) { + if (accessConnectorId == null) { + throw new MissingRequiredPropertyException("CredentialAzureManagedIdentity", "accessConnectorId"); + } + this.accessConnectorId = accessConnectorId; + return this; + } + @CustomType.Setter + public Builder credentialId(@Nullable String credentialId) { + + this.credentialId = credentialId; + return this; + } + @CustomType.Setter + public Builder managedIdentityId(@Nullable String managedIdentityId) { + + this.managedIdentityId = managedIdentityId; + return this; + } + public CredentialAzureManagedIdentity build() { + final var _resultValue = new CredentialAzureManagedIdentity(); + _resultValue.accessConnectorId = accessConnectorId; + _resultValue.credentialId = credentialId; + _resultValue.managedIdentityId = managedIdentityId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAzureServicePrincipal.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAzureServicePrincipal.java new file mode 100644 index 00000000..67dbe6cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialAzureServicePrincipal.java @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class CredentialAzureServicePrincipal { + /** + * @return The application ID of the application registration within the referenced AAD tenant + * + */ + private String applicationId; + /** + * @return The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + * + */ + private String clientSecret; + /** + * @return The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + * + */ + private String directoryId; + + private CredentialAzureServicePrincipal() {} + /** + * @return The application ID of the application registration within the referenced AAD tenant + * + */ + public String applicationId() { + return this.applicationId; + } + /** + * @return The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + * + */ + public String clientSecret() { + return this.clientSecret; + } + /** + * @return The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + * + */ + public String directoryId() { + return this.directoryId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CredentialAzureServicePrincipal defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String applicationId; + private String clientSecret; + private String directoryId; + public Builder() {} + public Builder(CredentialAzureServicePrincipal defaults) { + Objects.requireNonNull(defaults); + this.applicationId = defaults.applicationId; + this.clientSecret = defaults.clientSecret; + this.directoryId = defaults.directoryId; + } + + @CustomType.Setter + public Builder applicationId(String applicationId) { + if (applicationId == null) { + throw new MissingRequiredPropertyException("CredentialAzureServicePrincipal", "applicationId"); + } + this.applicationId = applicationId; + return this; + } + @CustomType.Setter + public Builder clientSecret(String clientSecret) { + if (clientSecret == null) { + throw new MissingRequiredPropertyException("CredentialAzureServicePrincipal", "clientSecret"); + } + this.clientSecret = clientSecret; + return this; + } + @CustomType.Setter + public Builder directoryId(String directoryId) { + if (directoryId == null) { + throw new MissingRequiredPropertyException("CredentialAzureServicePrincipal", "directoryId"); + } + this.directoryId = directoryId; + return this; + } + public CredentialAzureServicePrincipal build() { + final var _resultValue = new CredentialAzureServicePrincipal(); + _resultValue.applicationId = applicationId; + _resultValue.clientSecret = clientSecret; + _resultValue.directoryId = directoryId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialDatabricksGcpServiceAccount.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialDatabricksGcpServiceAccount.java new file mode 100644 index 00000000..807f8645 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/CredentialDatabricksGcpServiceAccount.java @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CredentialDatabricksGcpServiceAccount { + /** + * @return Unique ID of the credential. + * + */ + private @Nullable String credentialId; + /** + * @return The email of the GCP service account created, to be granted access to relevant buckets. + * + */ + private @Nullable String email; + private @Nullable String privateKeyId; + + private CredentialDatabricksGcpServiceAccount() {} + /** + * @return Unique ID of the credential. + * + */ + public Optional credentialId() { + return Optional.ofNullable(this.credentialId); + } + /** + * @return The email of the GCP service account created, to be granted access to relevant buckets. + * + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + public Optional privateKeyId() { + return Optional.ofNullable(this.privateKeyId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CredentialDatabricksGcpServiceAccount defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String credentialId; + private @Nullable String email; + private @Nullable String privateKeyId; + public Builder() {} + public Builder(CredentialDatabricksGcpServiceAccount defaults) { + Objects.requireNonNull(defaults); + this.credentialId = defaults.credentialId; + this.email = defaults.email; + this.privateKeyId = defaults.privateKeyId; + } + + @CustomType.Setter + public Builder credentialId(@Nullable String credentialId) { + + this.credentialId = credentialId; + return this; + } + @CustomType.Setter + public Builder email(@Nullable String email) { + + this.email = email; + return this; + } + @CustomType.Setter + public Builder privateKeyId(@Nullable String privateKeyId) { + + this.privateKeyId = privateKeyId; + return this; + } + public CredentialDatabricksGcpServiceAccount build() { + final var _resultValue = new CredentialDatabricksGcpServiceAccount(); + _resultValue.credentialId = credentialId; + _resultValue.email = email; + _resultValue.privateKeyId = privateKeyId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppApp.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppApp.java new file mode 100644 index 00000000..acb604c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppApp.java @@ -0,0 +1,387 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppAppActiveDeployment; +import com.pulumi.databricks.outputs.GetAppAppAppStatus; +import com.pulumi.databricks.outputs.GetAppAppComputeStatus; +import com.pulumi.databricks.outputs.GetAppAppPendingDeployment; +import com.pulumi.databricks.outputs.GetAppAppResource; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppApp { + private GetAppAppActiveDeployment activeDeployment; + /** + * @return attribute + * + */ + private GetAppAppAppStatus appStatus; + /** + * @return attribute + * + */ + private GetAppAppComputeStatus computeStatus; + /** + * @return The creation time of the app. + * + */ + private String createTime; + /** + * @return The email of the user that created the app. + * + */ + private String creator; + /** + * @return The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + private String defaultSourceCodePath; + /** + * @return The description of the resource. + * + */ + private @Nullable String description; + /** + * @return The name of the app. + * + */ + private String name; + private GetAppAppPendingDeployment pendingDeployment; + /** + * @return A list of resources that the app have access to. + * + */ + private @Nullable List resources; + private String servicePrincipalClientId; + /** + * @return id of the app service principal + * + */ + private Integer servicePrincipalId; + /** + * @return name of the app service principal + * + */ + private String servicePrincipalName; + /** + * @return The update time of the app. + * + */ + private String updateTime; + /** + * @return The email of the user that last updated the app. + * + */ + private String updater; + /** + * @return The URL of the app once it is deployed. + * + */ + private String url; + + private GetAppApp() {} + public GetAppAppActiveDeployment activeDeployment() { + return this.activeDeployment; + } + /** + * @return attribute + * + */ + public GetAppAppAppStatus appStatus() { + return this.appStatus; + } + /** + * @return attribute + * + */ + public GetAppAppComputeStatus computeStatus() { + return this.computeStatus; + } + /** + * @return The creation time of the app. + * + */ + public String createTime() { + return this.createTime; + } + /** + * @return The email of the user that created the app. + * + */ + public String creator() { + return this.creator; + } + /** + * @return The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + public String defaultSourceCodePath() { + return this.defaultSourceCodePath; + } + /** + * @return The description of the resource. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return The name of the app. + * + */ + public String name() { + return this.name; + } + public GetAppAppPendingDeployment pendingDeployment() { + return this.pendingDeployment; + } + /** + * @return A list of resources that the app have access to. + * + */ + public List resources() { + return this.resources == null ? List.of() : this.resources; + } + public String servicePrincipalClientId() { + return this.servicePrincipalClientId; + } + /** + * @return id of the app service principal + * + */ + public Integer servicePrincipalId() { + return this.servicePrincipalId; + } + /** + * @return name of the app service principal + * + */ + public String servicePrincipalName() { + return this.servicePrincipalName; + } + /** + * @return The update time of the app. + * + */ + public String updateTime() { + return this.updateTime; + } + /** + * @return The email of the user that last updated the app. + * + */ + public String updater() { + return this.updater; + } + /** + * @return The URL of the app once it is deployed. + * + */ + public String url() { + return this.url; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppApp defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetAppAppActiveDeployment activeDeployment; + private GetAppAppAppStatus appStatus; + private GetAppAppComputeStatus computeStatus; + private String createTime; + private String creator; + private String defaultSourceCodePath; + private @Nullable String description; + private String name; + private GetAppAppPendingDeployment pendingDeployment; + private @Nullable List resources; + private String servicePrincipalClientId; + private Integer servicePrincipalId; + private String servicePrincipalName; + private String updateTime; + private String updater; + private String url; + public Builder() {} + public Builder(GetAppApp defaults) { + Objects.requireNonNull(defaults); + this.activeDeployment = defaults.activeDeployment; + this.appStatus = defaults.appStatus; + this.computeStatus = defaults.computeStatus; + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.defaultSourceCodePath = defaults.defaultSourceCodePath; + this.description = defaults.description; + this.name = defaults.name; + this.pendingDeployment = defaults.pendingDeployment; + this.resources = defaults.resources; + this.servicePrincipalClientId = defaults.servicePrincipalClientId; + this.servicePrincipalId = defaults.servicePrincipalId; + this.servicePrincipalName = defaults.servicePrincipalName; + this.updateTime = defaults.updateTime; + this.updater = defaults.updater; + this.url = defaults.url; + } + + @CustomType.Setter + public Builder activeDeployment(GetAppAppActiveDeployment activeDeployment) { + if (activeDeployment == null) { + throw new MissingRequiredPropertyException("GetAppApp", "activeDeployment"); + } + this.activeDeployment = activeDeployment; + return this; + } + @CustomType.Setter + public Builder appStatus(GetAppAppAppStatus appStatus) { + if (appStatus == null) { + throw new MissingRequiredPropertyException("GetAppApp", "appStatus"); + } + this.appStatus = appStatus; + return this; + } + @CustomType.Setter + public Builder computeStatus(GetAppAppComputeStatus computeStatus) { + if (computeStatus == null) { + throw new MissingRequiredPropertyException("GetAppApp", "computeStatus"); + } + this.computeStatus = computeStatus; + return this; + } + @CustomType.Setter + public Builder createTime(String createTime) { + if (createTime == null) { + throw new MissingRequiredPropertyException("GetAppApp", "createTime"); + } + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(String creator) { + if (creator == null) { + throw new MissingRequiredPropertyException("GetAppApp", "creator"); + } + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder defaultSourceCodePath(String defaultSourceCodePath) { + if (defaultSourceCodePath == null) { + throw new MissingRequiredPropertyException("GetAppApp", "defaultSourceCodePath"); + } + this.defaultSourceCodePath = defaultSourceCodePath; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppApp", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder pendingDeployment(GetAppAppPendingDeployment pendingDeployment) { + if (pendingDeployment == null) { + throw new MissingRequiredPropertyException("GetAppApp", "pendingDeployment"); + } + this.pendingDeployment = pendingDeployment; + return this; + } + @CustomType.Setter + public Builder resources(@Nullable List resources) { + + this.resources = resources; + return this; + } + public Builder resources(GetAppAppResource... resources) { + return resources(List.of(resources)); + } + @CustomType.Setter + public Builder servicePrincipalClientId(String servicePrincipalClientId) { + if (servicePrincipalClientId == null) { + throw new MissingRequiredPropertyException("GetAppApp", "servicePrincipalClientId"); + } + this.servicePrincipalClientId = servicePrincipalClientId; + return this; + } + @CustomType.Setter + public Builder servicePrincipalId(Integer servicePrincipalId) { + if (servicePrincipalId == null) { + throw new MissingRequiredPropertyException("GetAppApp", "servicePrincipalId"); + } + this.servicePrincipalId = servicePrincipalId; + return this; + } + @CustomType.Setter + public Builder servicePrincipalName(String servicePrincipalName) { + if (servicePrincipalName == null) { + throw new MissingRequiredPropertyException("GetAppApp", "servicePrincipalName"); + } + this.servicePrincipalName = servicePrincipalName; + return this; + } + @CustomType.Setter + public Builder updateTime(String updateTime) { + if (updateTime == null) { + throw new MissingRequiredPropertyException("GetAppApp", "updateTime"); + } + this.updateTime = updateTime; + return this; + } + @CustomType.Setter + public Builder updater(String updater) { + if (updater == null) { + throw new MissingRequiredPropertyException("GetAppApp", "updater"); + } + this.updater = updater; + return this; + } + @CustomType.Setter + public Builder url(String url) { + if (url == null) { + throw new MissingRequiredPropertyException("GetAppApp", "url"); + } + this.url = url; + return this; + } + public GetAppApp build() { + final var _resultValue = new GetAppApp(); + _resultValue.activeDeployment = activeDeployment; + _resultValue.appStatus = appStatus; + _resultValue.computeStatus = computeStatus; + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.defaultSourceCodePath = defaultSourceCodePath; + _resultValue.description = description; + _resultValue.name = name; + _resultValue.pendingDeployment = pendingDeployment; + _resultValue.resources = resources; + _resultValue.servicePrincipalClientId = servicePrincipalClientId; + _resultValue.servicePrincipalId = servicePrincipalId; + _resultValue.servicePrincipalName = servicePrincipalName; + _resultValue.updateTime = updateTime; + _resultValue.updater = updater; + _resultValue.url = url; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeployment.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeployment.java new file mode 100644 index 00000000..772b3f50 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeployment.java @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppAppActiveDeploymentDeploymentArtifacts; +import com.pulumi.databricks.outputs.GetAppAppActiveDeploymentStatus; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppAppActiveDeployment { + /** + * @return The creation time of the app. + * + */ + private String createTime; + /** + * @return The email of the user that created the app. + * + */ + private String creator; + private GetAppAppActiveDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppAppActiveDeploymentStatus status; + /** + * @return The update time of the app. + * + */ + private String updateTime; + + private GetAppAppActiveDeployment() {} + /** + * @return The creation time of the app. + * + */ + public String createTime() { + return this.createTime; + } + /** + * @return The email of the user that created the app. + * + */ + public String creator() { + return this.creator; + } + public GetAppAppActiveDeploymentDeploymentArtifacts deploymentArtifacts() { + return this.deploymentArtifacts; + } + public Optional deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + public Optional mode() { + return Optional.ofNullable(this.mode); + } + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + public GetAppAppActiveDeploymentStatus status() { + return this.status; + } + /** + * @return The update time of the app. + * + */ + public String updateTime() { + return this.updateTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppActiveDeployment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String createTime; + private String creator; + private GetAppAppActiveDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppAppActiveDeploymentStatus status; + private String updateTime; + public Builder() {} + public Builder(GetAppAppActiveDeployment defaults) { + Objects.requireNonNull(defaults); + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.deploymentArtifacts = defaults.deploymentArtifacts; + this.deploymentId = defaults.deploymentId; + this.mode = defaults.mode; + this.sourceCodePath = defaults.sourceCodePath; + this.status = defaults.status; + this.updateTime = defaults.updateTime; + } + + @CustomType.Setter + public Builder createTime(String createTime) { + if (createTime == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeployment", "createTime"); + } + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(String creator) { + if (creator == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeployment", "creator"); + } + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder deploymentArtifacts(GetAppAppActiveDeploymentDeploymentArtifacts deploymentArtifacts) { + if (deploymentArtifacts == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeployment", "deploymentArtifacts"); + } + this.deploymentArtifacts = deploymentArtifacts; + return this; + } + @CustomType.Setter + public Builder deploymentId(@Nullable String deploymentId) { + + this.deploymentId = deploymentId; + return this; + } + @CustomType.Setter + public Builder mode(@Nullable String mode) { + + this.mode = mode; + return this; + } + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + @CustomType.Setter + public Builder status(GetAppAppActiveDeploymentStatus status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeployment", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder updateTime(String updateTime) { + if (updateTime == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeployment", "updateTime"); + } + this.updateTime = updateTime; + return this; + } + public GetAppAppActiveDeployment build() { + final var _resultValue = new GetAppAppActiveDeployment(); + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.deploymentArtifacts = deploymentArtifacts; + _resultValue.deploymentId = deploymentId; + _resultValue.mode = mode; + _resultValue.sourceCodePath = sourceCodePath; + _resultValue.status = status; + _resultValue.updateTime = updateTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeploymentDeploymentArtifacts.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeploymentDeploymentArtifacts.java new file mode 100644 index 00000000..38763d12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeploymentDeploymentArtifacts.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppAppActiveDeploymentDeploymentArtifacts { + private @Nullable String sourceCodePath; + + private GetAppAppActiveDeploymentDeploymentArtifacts() {} + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppActiveDeploymentDeploymentArtifacts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String sourceCodePath; + public Builder() {} + public Builder(GetAppAppActiveDeploymentDeploymentArtifacts defaults) { + Objects.requireNonNull(defaults); + this.sourceCodePath = defaults.sourceCodePath; + } + + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + public GetAppAppActiveDeploymentDeploymentArtifacts build() { + final var _resultValue = new GetAppAppActiveDeploymentDeploymentArtifacts(); + _resultValue.sourceCodePath = sourceCodePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeploymentStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeploymentStatus.java new file mode 100644 index 00000000..e72e1cf0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppActiveDeploymentStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppActiveDeploymentStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppAppActiveDeploymentStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppActiveDeploymentStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppAppActiveDeploymentStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeploymentStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppAppActiveDeploymentStatus", "state"); + } + this.state = state; + return this; + } + public GetAppAppActiveDeploymentStatus build() { + final var _resultValue = new GetAppAppActiveDeploymentStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppAppStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppAppStatus.java new file mode 100644 index 00000000..45edd2ca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppAppStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppAppStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppAppAppStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppAppStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppAppAppStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppAppAppStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppAppAppStatus", "state"); + } + this.state = state; + return this; + } + public GetAppAppAppStatus build() { + final var _resultValue = new GetAppAppAppStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppComputeStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppComputeStatus.java new file mode 100644 index 00000000..6b4fa74d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppComputeStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppComputeStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppAppComputeStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppComputeStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppAppComputeStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppAppComputeStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppAppComputeStatus", "state"); + } + this.state = state; + return this; + } + public GetAppAppComputeStatus build() { + final var _resultValue = new GetAppAppComputeStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeployment.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeployment.java new file mode 100644 index 00000000..c49fa388 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeployment.java @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppAppPendingDeploymentDeploymentArtifacts; +import com.pulumi.databricks.outputs.GetAppAppPendingDeploymentStatus; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppAppPendingDeployment { + /** + * @return The creation time of the app. + * + */ + private String createTime; + /** + * @return The email of the user that created the app. + * + */ + private String creator; + private GetAppAppPendingDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppAppPendingDeploymentStatus status; + /** + * @return The update time of the app. + * + */ + private String updateTime; + + private GetAppAppPendingDeployment() {} + /** + * @return The creation time of the app. + * + */ + public String createTime() { + return this.createTime; + } + /** + * @return The email of the user that created the app. + * + */ + public String creator() { + return this.creator; + } + public GetAppAppPendingDeploymentDeploymentArtifacts deploymentArtifacts() { + return this.deploymentArtifacts; + } + public Optional deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + public Optional mode() { + return Optional.ofNullable(this.mode); + } + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + public GetAppAppPendingDeploymentStatus status() { + return this.status; + } + /** + * @return The update time of the app. + * + */ + public String updateTime() { + return this.updateTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppPendingDeployment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String createTime; + private String creator; + private GetAppAppPendingDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppAppPendingDeploymentStatus status; + private String updateTime; + public Builder() {} + public Builder(GetAppAppPendingDeployment defaults) { + Objects.requireNonNull(defaults); + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.deploymentArtifacts = defaults.deploymentArtifacts; + this.deploymentId = defaults.deploymentId; + this.mode = defaults.mode; + this.sourceCodePath = defaults.sourceCodePath; + this.status = defaults.status; + this.updateTime = defaults.updateTime; + } + + @CustomType.Setter + public Builder createTime(String createTime) { + if (createTime == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeployment", "createTime"); + } + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(String creator) { + if (creator == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeployment", "creator"); + } + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder deploymentArtifacts(GetAppAppPendingDeploymentDeploymentArtifacts deploymentArtifacts) { + if (deploymentArtifacts == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeployment", "deploymentArtifacts"); + } + this.deploymentArtifacts = deploymentArtifacts; + return this; + } + @CustomType.Setter + public Builder deploymentId(@Nullable String deploymentId) { + + this.deploymentId = deploymentId; + return this; + } + @CustomType.Setter + public Builder mode(@Nullable String mode) { + + this.mode = mode; + return this; + } + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + @CustomType.Setter + public Builder status(GetAppAppPendingDeploymentStatus status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeployment", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder updateTime(String updateTime) { + if (updateTime == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeployment", "updateTime"); + } + this.updateTime = updateTime; + return this; + } + public GetAppAppPendingDeployment build() { + final var _resultValue = new GetAppAppPendingDeployment(); + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.deploymentArtifacts = deploymentArtifacts; + _resultValue.deploymentId = deploymentId; + _resultValue.mode = mode; + _resultValue.sourceCodePath = sourceCodePath; + _resultValue.status = status; + _resultValue.updateTime = updateTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeploymentDeploymentArtifacts.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeploymentDeploymentArtifacts.java new file mode 100644 index 00000000..c7b07a58 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeploymentDeploymentArtifacts.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppAppPendingDeploymentDeploymentArtifacts { + private @Nullable String sourceCodePath; + + private GetAppAppPendingDeploymentDeploymentArtifacts() {} + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppPendingDeploymentDeploymentArtifacts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String sourceCodePath; + public Builder() {} + public Builder(GetAppAppPendingDeploymentDeploymentArtifacts defaults) { + Objects.requireNonNull(defaults); + this.sourceCodePath = defaults.sourceCodePath; + } + + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + public GetAppAppPendingDeploymentDeploymentArtifacts build() { + final var _resultValue = new GetAppAppPendingDeploymentDeploymentArtifacts(); + _resultValue.sourceCodePath = sourceCodePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeploymentStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeploymentStatus.java new file mode 100644 index 00000000..4fef2ae8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppPendingDeploymentStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppPendingDeploymentStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppAppPendingDeploymentStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppPendingDeploymentStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppAppPendingDeploymentStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeploymentStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppAppPendingDeploymentStatus", "state"); + } + this.state = state; + return this; + } + public GetAppAppPendingDeploymentStatus build() { + final var _resultValue = new GetAppAppPendingDeploymentStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResource.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResource.java new file mode 100644 index 00000000..f2ab8076 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResource.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppAppResourceJob; +import com.pulumi.databricks.outputs.GetAppAppResourceSecret; +import com.pulumi.databricks.outputs.GetAppAppResourceServingEndpoint; +import com.pulumi.databricks.outputs.GetAppAppResourceSqlWarehouse; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppAppResource { + /** + * @return The description of the resource. + * + */ + private @Nullable String description; + /** + * @return attribute + * + */ + private @Nullable GetAppAppResourceJob job; + /** + * @return The name of the app. + * + */ + private String name; + /** + * @return attribute + * + */ + private @Nullable GetAppAppResourceSecret secret; + /** + * @return attribute + * + */ + private @Nullable GetAppAppResourceServingEndpoint servingEndpoint; + /** + * @return attribute + * + */ + private @Nullable GetAppAppResourceSqlWarehouse sqlWarehouse; + + private GetAppAppResource() {} + /** + * @return The description of the resource. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return attribute + * + */ + public Optional job() { + return Optional.ofNullable(this.job); + } + /** + * @return The name of the app. + * + */ + public String name() { + return this.name; + } + /** + * @return attribute + * + */ + public Optional secret() { + return Optional.ofNullable(this.secret); + } + /** + * @return attribute + * + */ + public Optional servingEndpoint() { + return Optional.ofNullable(this.servingEndpoint); + } + /** + * @return attribute + * + */ + public Optional sqlWarehouse() { + return Optional.ofNullable(this.sqlWarehouse); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppResource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable GetAppAppResourceJob job; + private String name; + private @Nullable GetAppAppResourceSecret secret; + private @Nullable GetAppAppResourceServingEndpoint servingEndpoint; + private @Nullable GetAppAppResourceSqlWarehouse sqlWarehouse; + public Builder() {} + public Builder(GetAppAppResource defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.job = defaults.job; + this.name = defaults.name; + this.secret = defaults.secret; + this.servingEndpoint = defaults.servingEndpoint; + this.sqlWarehouse = defaults.sqlWarehouse; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder job(@Nullable GetAppAppResourceJob job) { + + this.job = job; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppAppResource", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder secret(@Nullable GetAppAppResourceSecret secret) { + + this.secret = secret; + return this; + } + @CustomType.Setter + public Builder servingEndpoint(@Nullable GetAppAppResourceServingEndpoint servingEndpoint) { + + this.servingEndpoint = servingEndpoint; + return this; + } + @CustomType.Setter + public Builder sqlWarehouse(@Nullable GetAppAppResourceSqlWarehouse sqlWarehouse) { + + this.sqlWarehouse = sqlWarehouse; + return this; + } + public GetAppAppResource build() { + final var _resultValue = new GetAppAppResource(); + _resultValue.description = description; + _resultValue.job = job; + _resultValue.name = name; + _resultValue.secret = secret; + _resultValue.servingEndpoint = servingEndpoint; + _resultValue.sqlWarehouse = sqlWarehouse; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceJob.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceJob.java new file mode 100644 index 00000000..8927d708 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceJob.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppResourceJob { + /** + * @return Id of the job to grant permission on. + * + */ + private String id; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private GetAppAppResourceJob() {} + /** + * @return Id of the job to grant permission on. + * + */ + public String id() { + return this.id; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppResourceJob defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String permission; + public Builder() {} + public Builder(GetAppAppResourceJob defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceJob", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceJob", "permission"); + } + this.permission = permission; + return this; + } + public GetAppAppResourceJob build() { + final var _resultValue = new GetAppAppResourceJob(); + _resultValue.id = id; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceSecret.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceSecret.java new file mode 100644 index 00000000..fb7847d5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceSecret.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppResourceSecret { + /** + * @return Key of the secret to grant permission on. + * + */ + private String key; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + /** + * @return Scope of the secret to grant permission on. + * + */ + private String scope; + + private GetAppAppResourceSecret() {} + /** + * @return Key of the secret to grant permission on. + * + */ + public String key() { + return this.key; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + /** + * @return Scope of the secret to grant permission on. + * + */ + public String scope() { + return this.scope; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppResourceSecret defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String permission; + private String scope; + public Builder() {} + public Builder(GetAppAppResourceSecret defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.permission = defaults.permission; + this.scope = defaults.scope; + } + + @CustomType.Setter + public Builder key(String key) { + if (key == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceSecret", "key"); + } + this.key = key; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceSecret", "permission"); + } + this.permission = permission; + return this; + } + @CustomType.Setter + public Builder scope(String scope) { + if (scope == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceSecret", "scope"); + } + this.scope = scope; + return this; + } + public GetAppAppResourceSecret build() { + final var _resultValue = new GetAppAppResourceSecret(); + _resultValue.key = key; + _resultValue.permission = permission; + _resultValue.scope = scope; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceServingEndpoint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceServingEndpoint.java new file mode 100644 index 00000000..6a3eaf35 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceServingEndpoint.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppResourceServingEndpoint { + /** + * @return The name of the app. + * + */ + private String name; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private GetAppAppResourceServingEndpoint() {} + /** + * @return The name of the app. + * + */ + public String name() { + return this.name; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppResourceServingEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String permission; + public Builder() {} + public Builder(GetAppAppResourceServingEndpoint defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceServingEndpoint", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceServingEndpoint", "permission"); + } + this.permission = permission; + return this; + } + public GetAppAppResourceServingEndpoint build() { + final var _resultValue = new GetAppAppResourceServingEndpoint(); + _resultValue.name = name; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceSqlWarehouse.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceSqlWarehouse.java new file mode 100644 index 00000000..8e590e7a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppAppResourceSqlWarehouse.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppAppResourceSqlWarehouse { + /** + * @return Id of the job to grant permission on. + * + */ + private String id; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private GetAppAppResourceSqlWarehouse() {} + /** + * @return Id of the job to grant permission on. + * + */ + public String id() { + return this.id; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppAppResourceSqlWarehouse defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String permission; + public Builder() {} + public Builder(GetAppAppResourceSqlWarehouse defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceSqlWarehouse", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppAppResourceSqlWarehouse", "permission"); + } + this.permission = permission; + return this; + } + public GetAppAppResourceSqlWarehouse build() { + final var _resultValue = new GetAppAppResourceSqlWarehouse(); + _resultValue.id = id; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppResult.java new file mode 100644 index 00000000..cbea9c9e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppResult.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppApp; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppResult { + /** + * @return attribute + * + */ + private GetAppApp app; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + private String name; + + private GetAppResult() {} + /** + * @return attribute + * + */ + public GetAppApp app() { + return this.app; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetAppApp app; + private String id; + private String name; + public Builder() {} + public Builder(GetAppResult defaults) { + Objects.requireNonNull(defaults); + this.app = defaults.app; + this.id = defaults.id; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder app(GetAppApp app) { + if (app == null) { + throw new MissingRequiredPropertyException("GetAppResult", "app"); + } + this.app = app; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAppResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppResult", "name"); + } + this.name = name; + return this; + } + public GetAppResult build() { + final var _resultValue = new GetAppResult(); + _resultValue.app = app; + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsApp.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsApp.java new file mode 100644 index 00000000..ae53b59f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsApp.java @@ -0,0 +1,387 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppsAppActiveDeployment; +import com.pulumi.databricks.outputs.GetAppsAppAppStatus; +import com.pulumi.databricks.outputs.GetAppsAppComputeStatus; +import com.pulumi.databricks.outputs.GetAppsAppPendingDeployment; +import com.pulumi.databricks.outputs.GetAppsAppResource; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppsApp { + private GetAppsAppActiveDeployment activeDeployment; + /** + * @return attribute + * + */ + private GetAppsAppAppStatus appStatus; + /** + * @return attribute + * + */ + private GetAppsAppComputeStatus computeStatus; + /** + * @return The creation time of the app. + * + */ + private String createTime; + /** + * @return The email of the user that created the app. + * + */ + private String creator; + /** + * @return The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + private String defaultSourceCodePath; + /** + * @return The description of the resource. + * + */ + private @Nullable String description; + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + private String name; + private GetAppsAppPendingDeployment pendingDeployment; + /** + * @return A list of resources that the app have access to. + * + */ + private @Nullable List resources; + private String servicePrincipalClientId; + /** + * @return id of the app service principal + * + */ + private Integer servicePrincipalId; + /** + * @return name of the app service principal + * + */ + private String servicePrincipalName; + /** + * @return The update time of the app. + * + */ + private String updateTime; + /** + * @return The email of the user that last updated the app. + * + */ + private String updater; + /** + * @return The URL of the app once it is deployed. + * + */ + private String url; + + private GetAppsApp() {} + public GetAppsAppActiveDeployment activeDeployment() { + return this.activeDeployment; + } + /** + * @return attribute + * + */ + public GetAppsAppAppStatus appStatus() { + return this.appStatus; + } + /** + * @return attribute + * + */ + public GetAppsAppComputeStatus computeStatus() { + return this.computeStatus; + } + /** + * @return The creation time of the app. + * + */ + public String createTime() { + return this.createTime; + } + /** + * @return The email of the user that created the app. + * + */ + public String creator() { + return this.creator; + } + /** + * @return The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + * + */ + public String defaultSourceCodePath() { + return this.defaultSourceCodePath; + } + /** + * @return The description of the resource. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + public String name() { + return this.name; + } + public GetAppsAppPendingDeployment pendingDeployment() { + return this.pendingDeployment; + } + /** + * @return A list of resources that the app have access to. + * + */ + public List resources() { + return this.resources == null ? List.of() : this.resources; + } + public String servicePrincipalClientId() { + return this.servicePrincipalClientId; + } + /** + * @return id of the app service principal + * + */ + public Integer servicePrincipalId() { + return this.servicePrincipalId; + } + /** + * @return name of the app service principal + * + */ + public String servicePrincipalName() { + return this.servicePrincipalName; + } + /** + * @return The update time of the app. + * + */ + public String updateTime() { + return this.updateTime; + } + /** + * @return The email of the user that last updated the app. + * + */ + public String updater() { + return this.updater; + } + /** + * @return The URL of the app once it is deployed. + * + */ + public String url() { + return this.url; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsApp defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetAppsAppActiveDeployment activeDeployment; + private GetAppsAppAppStatus appStatus; + private GetAppsAppComputeStatus computeStatus; + private String createTime; + private String creator; + private String defaultSourceCodePath; + private @Nullable String description; + private String name; + private GetAppsAppPendingDeployment pendingDeployment; + private @Nullable List resources; + private String servicePrincipalClientId; + private Integer servicePrincipalId; + private String servicePrincipalName; + private String updateTime; + private String updater; + private String url; + public Builder() {} + public Builder(GetAppsApp defaults) { + Objects.requireNonNull(defaults); + this.activeDeployment = defaults.activeDeployment; + this.appStatus = defaults.appStatus; + this.computeStatus = defaults.computeStatus; + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.defaultSourceCodePath = defaults.defaultSourceCodePath; + this.description = defaults.description; + this.name = defaults.name; + this.pendingDeployment = defaults.pendingDeployment; + this.resources = defaults.resources; + this.servicePrincipalClientId = defaults.servicePrincipalClientId; + this.servicePrincipalId = defaults.servicePrincipalId; + this.servicePrincipalName = defaults.servicePrincipalName; + this.updateTime = defaults.updateTime; + this.updater = defaults.updater; + this.url = defaults.url; + } + + @CustomType.Setter + public Builder activeDeployment(GetAppsAppActiveDeployment activeDeployment) { + if (activeDeployment == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "activeDeployment"); + } + this.activeDeployment = activeDeployment; + return this; + } + @CustomType.Setter + public Builder appStatus(GetAppsAppAppStatus appStatus) { + if (appStatus == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "appStatus"); + } + this.appStatus = appStatus; + return this; + } + @CustomType.Setter + public Builder computeStatus(GetAppsAppComputeStatus computeStatus) { + if (computeStatus == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "computeStatus"); + } + this.computeStatus = computeStatus; + return this; + } + @CustomType.Setter + public Builder createTime(String createTime) { + if (createTime == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "createTime"); + } + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(String creator) { + if (creator == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "creator"); + } + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder defaultSourceCodePath(String defaultSourceCodePath) { + if (defaultSourceCodePath == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "defaultSourceCodePath"); + } + this.defaultSourceCodePath = defaultSourceCodePath; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder pendingDeployment(GetAppsAppPendingDeployment pendingDeployment) { + if (pendingDeployment == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "pendingDeployment"); + } + this.pendingDeployment = pendingDeployment; + return this; + } + @CustomType.Setter + public Builder resources(@Nullable List resources) { + + this.resources = resources; + return this; + } + public Builder resources(GetAppsAppResource... resources) { + return resources(List.of(resources)); + } + @CustomType.Setter + public Builder servicePrincipalClientId(String servicePrincipalClientId) { + if (servicePrincipalClientId == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "servicePrincipalClientId"); + } + this.servicePrincipalClientId = servicePrincipalClientId; + return this; + } + @CustomType.Setter + public Builder servicePrincipalId(Integer servicePrincipalId) { + if (servicePrincipalId == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "servicePrincipalId"); + } + this.servicePrincipalId = servicePrincipalId; + return this; + } + @CustomType.Setter + public Builder servicePrincipalName(String servicePrincipalName) { + if (servicePrincipalName == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "servicePrincipalName"); + } + this.servicePrincipalName = servicePrincipalName; + return this; + } + @CustomType.Setter + public Builder updateTime(String updateTime) { + if (updateTime == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "updateTime"); + } + this.updateTime = updateTime; + return this; + } + @CustomType.Setter + public Builder updater(String updater) { + if (updater == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "updater"); + } + this.updater = updater; + return this; + } + @CustomType.Setter + public Builder url(String url) { + if (url == null) { + throw new MissingRequiredPropertyException("GetAppsApp", "url"); + } + this.url = url; + return this; + } + public GetAppsApp build() { + final var _resultValue = new GetAppsApp(); + _resultValue.activeDeployment = activeDeployment; + _resultValue.appStatus = appStatus; + _resultValue.computeStatus = computeStatus; + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.defaultSourceCodePath = defaultSourceCodePath; + _resultValue.description = description; + _resultValue.name = name; + _resultValue.pendingDeployment = pendingDeployment; + _resultValue.resources = resources; + _resultValue.servicePrincipalClientId = servicePrincipalClientId; + _resultValue.servicePrincipalId = servicePrincipalId; + _resultValue.servicePrincipalName = servicePrincipalName; + _resultValue.updateTime = updateTime; + _resultValue.updater = updater; + _resultValue.url = url; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeployment.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeployment.java new file mode 100644 index 00000000..cb93b63b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeployment.java @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppsAppActiveDeploymentDeploymentArtifacts; +import com.pulumi.databricks.outputs.GetAppsAppActiveDeploymentStatus; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppsAppActiveDeployment { + /** + * @return The creation time of the app. + * + */ + private String createTime; + /** + * @return The email of the user that created the app. + * + */ + private String creator; + private GetAppsAppActiveDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppsAppActiveDeploymentStatus status; + /** + * @return The update time of the app. + * + */ + private String updateTime; + + private GetAppsAppActiveDeployment() {} + /** + * @return The creation time of the app. + * + */ + public String createTime() { + return this.createTime; + } + /** + * @return The email of the user that created the app. + * + */ + public String creator() { + return this.creator; + } + public GetAppsAppActiveDeploymentDeploymentArtifacts deploymentArtifacts() { + return this.deploymentArtifacts; + } + public Optional deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + public Optional mode() { + return Optional.ofNullable(this.mode); + } + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + public GetAppsAppActiveDeploymentStatus status() { + return this.status; + } + /** + * @return The update time of the app. + * + */ + public String updateTime() { + return this.updateTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppActiveDeployment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String createTime; + private String creator; + private GetAppsAppActiveDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppsAppActiveDeploymentStatus status; + private String updateTime; + public Builder() {} + public Builder(GetAppsAppActiveDeployment defaults) { + Objects.requireNonNull(defaults); + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.deploymentArtifacts = defaults.deploymentArtifacts; + this.deploymentId = defaults.deploymentId; + this.mode = defaults.mode; + this.sourceCodePath = defaults.sourceCodePath; + this.status = defaults.status; + this.updateTime = defaults.updateTime; + } + + @CustomType.Setter + public Builder createTime(String createTime) { + if (createTime == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeployment", "createTime"); + } + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(String creator) { + if (creator == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeployment", "creator"); + } + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder deploymentArtifacts(GetAppsAppActiveDeploymentDeploymentArtifacts deploymentArtifacts) { + if (deploymentArtifacts == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeployment", "deploymentArtifacts"); + } + this.deploymentArtifacts = deploymentArtifacts; + return this; + } + @CustomType.Setter + public Builder deploymentId(@Nullable String deploymentId) { + + this.deploymentId = deploymentId; + return this; + } + @CustomType.Setter + public Builder mode(@Nullable String mode) { + + this.mode = mode; + return this; + } + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + @CustomType.Setter + public Builder status(GetAppsAppActiveDeploymentStatus status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeployment", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder updateTime(String updateTime) { + if (updateTime == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeployment", "updateTime"); + } + this.updateTime = updateTime; + return this; + } + public GetAppsAppActiveDeployment build() { + final var _resultValue = new GetAppsAppActiveDeployment(); + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.deploymentArtifacts = deploymentArtifacts; + _resultValue.deploymentId = deploymentId; + _resultValue.mode = mode; + _resultValue.sourceCodePath = sourceCodePath; + _resultValue.status = status; + _resultValue.updateTime = updateTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeploymentDeploymentArtifacts.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeploymentDeploymentArtifacts.java new file mode 100644 index 00000000..59b97d37 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeploymentDeploymentArtifacts.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppsAppActiveDeploymentDeploymentArtifacts { + private @Nullable String sourceCodePath; + + private GetAppsAppActiveDeploymentDeploymentArtifacts() {} + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppActiveDeploymentDeploymentArtifacts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String sourceCodePath; + public Builder() {} + public Builder(GetAppsAppActiveDeploymentDeploymentArtifacts defaults) { + Objects.requireNonNull(defaults); + this.sourceCodePath = defaults.sourceCodePath; + } + + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + public GetAppsAppActiveDeploymentDeploymentArtifacts build() { + final var _resultValue = new GetAppsAppActiveDeploymentDeploymentArtifacts(); + _resultValue.sourceCodePath = sourceCodePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeploymentStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeploymentStatus.java new file mode 100644 index 00000000..2d898833 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppActiveDeploymentStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppActiveDeploymentStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppsAppActiveDeploymentStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppActiveDeploymentStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppsAppActiveDeploymentStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeploymentStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppsAppActiveDeploymentStatus", "state"); + } + this.state = state; + return this; + } + public GetAppsAppActiveDeploymentStatus build() { + final var _resultValue = new GetAppsAppActiveDeploymentStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppAppStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppAppStatus.java new file mode 100644 index 00000000..f73e408e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppAppStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppAppStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppsAppAppStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppAppStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppsAppAppStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppsAppAppStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppsAppAppStatus", "state"); + } + this.state = state; + return this; + } + public GetAppsAppAppStatus build() { + final var _resultValue = new GetAppsAppAppStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppComputeStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppComputeStatus.java new file mode 100644 index 00000000..ca13a795 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppComputeStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppComputeStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppsAppComputeStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppComputeStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppsAppComputeStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppsAppComputeStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppsAppComputeStatus", "state"); + } + this.state = state; + return this; + } + public GetAppsAppComputeStatus build() { + final var _resultValue = new GetAppsAppComputeStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeployment.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeployment.java new file mode 100644 index 00000000..d93067e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeployment.java @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppsAppPendingDeploymentDeploymentArtifacts; +import com.pulumi.databricks.outputs.GetAppsAppPendingDeploymentStatus; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppsAppPendingDeployment { + /** + * @return The creation time of the app. + * + */ + private String createTime; + /** + * @return The email of the user that created the app. + * + */ + private String creator; + private GetAppsAppPendingDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppsAppPendingDeploymentStatus status; + /** + * @return The update time of the app. + * + */ + private String updateTime; + + private GetAppsAppPendingDeployment() {} + /** + * @return The creation time of the app. + * + */ + public String createTime() { + return this.createTime; + } + /** + * @return The email of the user that created the app. + * + */ + public String creator() { + return this.creator; + } + public GetAppsAppPendingDeploymentDeploymentArtifacts deploymentArtifacts() { + return this.deploymentArtifacts; + } + public Optional deploymentId() { + return Optional.ofNullable(this.deploymentId); + } + public Optional mode() { + return Optional.ofNullable(this.mode); + } + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + public GetAppsAppPendingDeploymentStatus status() { + return this.status; + } + /** + * @return The update time of the app. + * + */ + public String updateTime() { + return this.updateTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppPendingDeployment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String createTime; + private String creator; + private GetAppsAppPendingDeploymentDeploymentArtifacts deploymentArtifacts; + private @Nullable String deploymentId; + private @Nullable String mode; + private @Nullable String sourceCodePath; + private GetAppsAppPendingDeploymentStatus status; + private String updateTime; + public Builder() {} + public Builder(GetAppsAppPendingDeployment defaults) { + Objects.requireNonNull(defaults); + this.createTime = defaults.createTime; + this.creator = defaults.creator; + this.deploymentArtifacts = defaults.deploymentArtifacts; + this.deploymentId = defaults.deploymentId; + this.mode = defaults.mode; + this.sourceCodePath = defaults.sourceCodePath; + this.status = defaults.status; + this.updateTime = defaults.updateTime; + } + + @CustomType.Setter + public Builder createTime(String createTime) { + if (createTime == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeployment", "createTime"); + } + this.createTime = createTime; + return this; + } + @CustomType.Setter + public Builder creator(String creator) { + if (creator == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeployment", "creator"); + } + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder deploymentArtifacts(GetAppsAppPendingDeploymentDeploymentArtifacts deploymentArtifacts) { + if (deploymentArtifacts == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeployment", "deploymentArtifacts"); + } + this.deploymentArtifacts = deploymentArtifacts; + return this; + } + @CustomType.Setter + public Builder deploymentId(@Nullable String deploymentId) { + + this.deploymentId = deploymentId; + return this; + } + @CustomType.Setter + public Builder mode(@Nullable String mode) { + + this.mode = mode; + return this; + } + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + @CustomType.Setter + public Builder status(GetAppsAppPendingDeploymentStatus status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeployment", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder updateTime(String updateTime) { + if (updateTime == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeployment", "updateTime"); + } + this.updateTime = updateTime; + return this; + } + public GetAppsAppPendingDeployment build() { + final var _resultValue = new GetAppsAppPendingDeployment(); + _resultValue.createTime = createTime; + _resultValue.creator = creator; + _resultValue.deploymentArtifacts = deploymentArtifacts; + _resultValue.deploymentId = deploymentId; + _resultValue.mode = mode; + _resultValue.sourceCodePath = sourceCodePath; + _resultValue.status = status; + _resultValue.updateTime = updateTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeploymentDeploymentArtifacts.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeploymentDeploymentArtifacts.java new file mode 100644 index 00000000..4cd85b6a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeploymentDeploymentArtifacts.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppsAppPendingDeploymentDeploymentArtifacts { + private @Nullable String sourceCodePath; + + private GetAppsAppPendingDeploymentDeploymentArtifacts() {} + public Optional sourceCodePath() { + return Optional.ofNullable(this.sourceCodePath); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppPendingDeploymentDeploymentArtifacts defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String sourceCodePath; + public Builder() {} + public Builder(GetAppsAppPendingDeploymentDeploymentArtifacts defaults) { + Objects.requireNonNull(defaults); + this.sourceCodePath = defaults.sourceCodePath; + } + + @CustomType.Setter + public Builder sourceCodePath(@Nullable String sourceCodePath) { + + this.sourceCodePath = sourceCodePath; + return this; + } + public GetAppsAppPendingDeploymentDeploymentArtifacts build() { + final var _resultValue = new GetAppsAppPendingDeploymentDeploymentArtifacts(); + _resultValue.sourceCodePath = sourceCodePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeploymentStatus.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeploymentStatus.java new file mode 100644 index 00000000..fdecb57d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppPendingDeploymentStatus.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppPendingDeploymentStatus { + /** + * @return Application status message + * + */ + private String message; + /** + * @return State of the application. + * + */ + private String state; + + private GetAppsAppPendingDeploymentStatus() {} + /** + * @return Application status message + * + */ + public String message() { + return this.message; + } + /** + * @return State of the application. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppPendingDeploymentStatus defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String message; + private String state; + public Builder() {} + public Builder(GetAppsAppPendingDeploymentStatus defaults) { + Objects.requireNonNull(defaults); + this.message = defaults.message; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder message(String message) { + if (message == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeploymentStatus", "message"); + } + this.message = message; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetAppsAppPendingDeploymentStatus", "state"); + } + this.state = state; + return this; + } + public GetAppsAppPendingDeploymentStatus build() { + final var _resultValue = new GetAppsAppPendingDeploymentStatus(); + _resultValue.message = message; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResource.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResource.java new file mode 100644 index 00000000..1829bce1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResource.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppsAppResourceJob; +import com.pulumi.databricks.outputs.GetAppsAppResourceSecret; +import com.pulumi.databricks.outputs.GetAppsAppResourceServingEndpoint; +import com.pulumi.databricks.outputs.GetAppsAppResourceSqlWarehouse; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAppsAppResource { + /** + * @return The description of the resource. + * + */ + private @Nullable String description; + /** + * @return attribute + * + */ + private @Nullable GetAppsAppResourceJob job; + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + private String name; + /** + * @return attribute + * + */ + private @Nullable GetAppsAppResourceSecret secret; + /** + * @return attribute + * + */ + private @Nullable GetAppsAppResourceServingEndpoint servingEndpoint; + /** + * @return attribute + * + */ + private @Nullable GetAppsAppResourceSqlWarehouse sqlWarehouse; + + private GetAppsAppResource() {} + /** + * @return The description of the resource. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return attribute + * + */ + public Optional job() { + return Optional.ofNullable(this.job); + } + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + public String name() { + return this.name; + } + /** + * @return attribute + * + */ + public Optional secret() { + return Optional.ofNullable(this.secret); + } + /** + * @return attribute + * + */ + public Optional servingEndpoint() { + return Optional.ofNullable(this.servingEndpoint); + } + /** + * @return attribute + * + */ + public Optional sqlWarehouse() { + return Optional.ofNullable(this.sqlWarehouse); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppResource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable GetAppsAppResourceJob job; + private String name; + private @Nullable GetAppsAppResourceSecret secret; + private @Nullable GetAppsAppResourceServingEndpoint servingEndpoint; + private @Nullable GetAppsAppResourceSqlWarehouse sqlWarehouse; + public Builder() {} + public Builder(GetAppsAppResource defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.job = defaults.job; + this.name = defaults.name; + this.secret = defaults.secret; + this.servingEndpoint = defaults.servingEndpoint; + this.sqlWarehouse = defaults.sqlWarehouse; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder job(@Nullable GetAppsAppResourceJob job) { + + this.job = job; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppsAppResource", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder secret(@Nullable GetAppsAppResourceSecret secret) { + + this.secret = secret; + return this; + } + @CustomType.Setter + public Builder servingEndpoint(@Nullable GetAppsAppResourceServingEndpoint servingEndpoint) { + + this.servingEndpoint = servingEndpoint; + return this; + } + @CustomType.Setter + public Builder sqlWarehouse(@Nullable GetAppsAppResourceSqlWarehouse sqlWarehouse) { + + this.sqlWarehouse = sqlWarehouse; + return this; + } + public GetAppsAppResource build() { + final var _resultValue = new GetAppsAppResource(); + _resultValue.description = description; + _resultValue.job = job; + _resultValue.name = name; + _resultValue.secret = secret; + _resultValue.servingEndpoint = servingEndpoint; + _resultValue.sqlWarehouse = sqlWarehouse; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceJob.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceJob.java new file mode 100644 index 00000000..1cb6c87f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceJob.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppResourceJob { + /** + * @return Id of the job to grant permission on. + * + */ + private String id; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private GetAppsAppResourceJob() {} + /** + * @return Id of the job to grant permission on. + * + */ + public String id() { + return this.id; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppResourceJob defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String permission; + public Builder() {} + public Builder(GetAppsAppResourceJob defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceJob", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceJob", "permission"); + } + this.permission = permission; + return this; + } + public GetAppsAppResourceJob build() { + final var _resultValue = new GetAppsAppResourceJob(); + _resultValue.id = id; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceSecret.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceSecret.java new file mode 100644 index 00000000..966a50bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceSecret.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppResourceSecret { + /** + * @return Key of the secret to grant permission on. + * + */ + private String key; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + /** + * @return Scope of the secret to grant permission on. + * + */ + private String scope; + + private GetAppsAppResourceSecret() {} + /** + * @return Key of the secret to grant permission on. + * + */ + public String key() { + return this.key; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + /** + * @return Scope of the secret to grant permission on. + * + */ + public String scope() { + return this.scope; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppResourceSecret defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String permission; + private String scope; + public Builder() {} + public Builder(GetAppsAppResourceSecret defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.permission = defaults.permission; + this.scope = defaults.scope; + } + + @CustomType.Setter + public Builder key(String key) { + if (key == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceSecret", "key"); + } + this.key = key; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceSecret", "permission"); + } + this.permission = permission; + return this; + } + @CustomType.Setter + public Builder scope(String scope) { + if (scope == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceSecret", "scope"); + } + this.scope = scope; + return this; + } + public GetAppsAppResourceSecret build() { + final var _resultValue = new GetAppsAppResourceSecret(); + _resultValue.key = key; + _resultValue.permission = permission; + _resultValue.scope = scope; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceServingEndpoint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceServingEndpoint.java new file mode 100644 index 00000000..de855505 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceServingEndpoint.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppResourceServingEndpoint { + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + private String name; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private GetAppsAppResourceServingEndpoint() {} + /** + * @return Name of the serving endpoint to grant permission on. + * + */ + public String name() { + return this.name; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppResourceServingEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String permission; + public Builder() {} + public Builder(GetAppsAppResourceServingEndpoint defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceServingEndpoint", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceServingEndpoint", "permission"); + } + this.permission = permission; + return this; + } + public GetAppsAppResourceServingEndpoint build() { + final var _resultValue = new GetAppsAppResourceServingEndpoint(); + _resultValue.name = name; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceSqlWarehouse.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceSqlWarehouse.java new file mode 100644 index 00000000..b668d98c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsAppResourceSqlWarehouse.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAppsAppResourceSqlWarehouse { + /** + * @return Id of the job to grant permission on. + * + */ + private String id; + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + private String permission; + + private GetAppsAppResourceSqlWarehouse() {} + /** + * @return Id of the job to grant permission on. + * + */ + public String id() { + return this.id; + } + /** + * @return Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + * + */ + public String permission() { + return this.permission; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsAppResourceSqlWarehouse defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String permission; + public Builder() {} + public Builder(GetAppsAppResourceSqlWarehouse defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.permission = defaults.permission; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceSqlWarehouse", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder permission(String permission) { + if (permission == null) { + throw new MissingRequiredPropertyException("GetAppsAppResourceSqlWarehouse", "permission"); + } + this.permission = permission; + return this; + } + public GetAppsAppResourceSqlWarehouse build() { + final var _resultValue = new GetAppsAppResourceSqlWarehouse(); + _resultValue.id = id; + _resultValue.permission = permission; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsResult.java new file mode 100644 index 00000000..d88adfb5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAppsResult.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetAppsApp; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAppsResult { + private List apps; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + + private GetAppsResult() {} + public List apps() { + return this.apps; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAppsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List apps; + private String id; + public Builder() {} + public Builder(GetAppsResult defaults) { + Objects.requireNonNull(defaults); + this.apps = defaults.apps; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder apps(List apps) { + if (apps == null) { + throw new MissingRequiredPropertyException("GetAppsResult", "apps"); + } + this.apps = apps; + return this; + } + public Builder apps(GetAppsApp... apps) { + return apps(List.of(apps)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAppsResult", "id"); + } + this.id = id; + return this; + } + public GetAppsResult build() { + final var _resultValue = new GetAppsResult(); + _resultValue.apps = apps; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsAssumeRolePolicyResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsAssumeRolePolicyResult.java index 6500b9ad..663d2a4a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsAssumeRolePolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsAssumeRolePolicyResult.java @@ -13,6 +13,13 @@ @CustomType public final class GetAwsAssumeRolePolicyResult { + private @Nullable String awsPartition; + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ private @Nullable String databricksAccountId; private String externalId; private @Nullable Boolean forLogDelivery; @@ -28,6 +35,15 @@ public final class GetAwsAssumeRolePolicyResult { private String json; private GetAwsAssumeRolePolicyResult() {} + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Optional databricksAccountId() { return Optional.ofNullable(this.databricksAccountId); } @@ -61,6 +77,7 @@ public static Builder builder(GetAwsAssumeRolePolicyResult defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String awsPartition; private @Nullable String databricksAccountId; private String externalId; private @Nullable Boolean forLogDelivery; @@ -69,6 +86,7 @@ public static final class Builder { public Builder() {} public Builder(GetAwsAssumeRolePolicyResult defaults) { Objects.requireNonNull(defaults); + this.awsPartition = defaults.awsPartition; this.databricksAccountId = defaults.databricksAccountId; this.externalId = defaults.externalId; this.forLogDelivery = defaults.forLogDelivery; @@ -76,6 +94,12 @@ public Builder(GetAwsAssumeRolePolicyResult defaults) { this.json = defaults.json; } + @CustomType.Setter + public Builder awsPartition(@Nullable String awsPartition) { + + this.awsPartition = awsPartition; + return this; + } @CustomType.Setter public Builder databricksAccountId(@Nullable String databricksAccountId) { @@ -114,6 +138,7 @@ public Builder json(String json) { } public GetAwsAssumeRolePolicyResult build() { final var _resultValue = new GetAwsAssumeRolePolicyResult(); + _resultValue.awsPartition = awsPartition; _resultValue.databricksAccountId = databricksAccountId; _resultValue.externalId = externalId; _resultValue.forLogDelivery = forLogDelivery; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsBucketPolicyResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsBucketPolicyResult.java index 21fb8d36..ec68dee1 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsBucketPolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsBucketPolicyResult.java @@ -12,7 +12,14 @@ @CustomType public final class GetAwsBucketPolicyResult { + private @Nullable String awsPartition; private String bucket; + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ private @Nullable String databricksAccountId; private @Nullable String databricksE2AccountId; private @Nullable String fullAccessRole; @@ -28,9 +35,18 @@ public final class GetAwsBucketPolicyResult { private String json; private GetAwsBucketPolicyResult() {} + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } public String bucket() { return this.bucket; } + /** + * @deprecated + * databricks_account_id will be will be removed in the next major release. + * + */ + @Deprecated /* databricks_account_id will be will be removed in the next major release. */ public Optional databricksAccountId() { return Optional.ofNullable(this.databricksAccountId); } @@ -64,6 +80,7 @@ public static Builder builder(GetAwsBucketPolicyResult defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String awsPartition; private String bucket; private @Nullable String databricksAccountId; private @Nullable String databricksE2AccountId; @@ -73,6 +90,7 @@ public static final class Builder { public Builder() {} public Builder(GetAwsBucketPolicyResult defaults) { Objects.requireNonNull(defaults); + this.awsPartition = defaults.awsPartition; this.bucket = defaults.bucket; this.databricksAccountId = defaults.databricksAccountId; this.databricksE2AccountId = defaults.databricksE2AccountId; @@ -81,6 +99,12 @@ public Builder(GetAwsBucketPolicyResult defaults) { this.json = defaults.json; } + @CustomType.Setter + public Builder awsPartition(@Nullable String awsPartition) { + + this.awsPartition = awsPartition; + return this; + } @CustomType.Setter public Builder bucket(String bucket) { if (bucket == null) { @@ -125,6 +149,7 @@ public Builder json(String json) { } public GetAwsBucketPolicyResult build() { final var _resultValue = new GetAwsBucketPolicyResult(); + _resultValue.awsPartition = awsPartition; _resultValue.bucket = bucket; _resultValue.databricksAccountId = databricksAccountId; _resultValue.databricksE2AccountId = databricksE2AccountId; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsCrossAccountPolicyResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsCrossAccountPolicyResult.java index 6e1a562f..3276efc3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsCrossAccountPolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsCrossAccountPolicyResult.java @@ -14,6 +14,7 @@ @CustomType public final class GetAwsCrossAccountPolicyResult { private @Nullable String awsAccountId; + private @Nullable String awsPartition; /** * @return The provider-assigned unique ID for this managed resource. * @@ -34,6 +35,9 @@ private GetAwsCrossAccountPolicyResult() {} public Optional awsAccountId() { return Optional.ofNullable(this.awsAccountId); } + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } /** * @return The provider-assigned unique ID for this managed resource. * @@ -74,6 +78,7 @@ public static Builder builder(GetAwsCrossAccountPolicyResult defaults) { @CustomType.Builder public static final class Builder { private @Nullable String awsAccountId; + private @Nullable String awsPartition; private String id; private String json; private @Nullable List passRoles; @@ -85,6 +90,7 @@ public Builder() {} public Builder(GetAwsCrossAccountPolicyResult defaults) { Objects.requireNonNull(defaults); this.awsAccountId = defaults.awsAccountId; + this.awsPartition = defaults.awsPartition; this.id = defaults.id; this.json = defaults.json; this.passRoles = defaults.passRoles; @@ -101,6 +107,12 @@ public Builder awsAccountId(@Nullable String awsAccountId) { return this; } @CustomType.Setter + public Builder awsPartition(@Nullable String awsPartition) { + + this.awsPartition = awsPartition; + return this; + } + @CustomType.Setter public Builder id(String id) { if (id == null) { throw new MissingRequiredPropertyException("GetAwsCrossAccountPolicyResult", "id"); @@ -152,6 +164,7 @@ public Builder vpcId(@Nullable String vpcId) { public GetAwsCrossAccountPolicyResult build() { final var _resultValue = new GetAwsCrossAccountPolicyResult(); _resultValue.awsAccountId = awsAccountId; + _resultValue.awsPartition = awsPartition; _resultValue.id = id; _resultValue.json = json; _resultValue.passRoles = passRoles; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogAssumeRolePolicyResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogAssumeRolePolicyResult.java index a5691a0a..b7c32856 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogAssumeRolePolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogAssumeRolePolicyResult.java @@ -7,10 +7,13 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class GetAwsUnityCatalogAssumeRolePolicyResult { private String awsAccountId; + private @Nullable String awsPartition; private String externalId; private String id; /** @@ -25,6 +28,9 @@ private GetAwsUnityCatalogAssumeRolePolicyResult() {} public String awsAccountId() { return this.awsAccountId; } + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } public String externalId() { return this.externalId; } @@ -55,6 +61,7 @@ public static Builder builder(GetAwsUnityCatalogAssumeRolePolicyResult defaults) @CustomType.Builder public static final class Builder { private String awsAccountId; + private @Nullable String awsPartition; private String externalId; private String id; private String json; @@ -64,6 +71,7 @@ public Builder() {} public Builder(GetAwsUnityCatalogAssumeRolePolicyResult defaults) { Objects.requireNonNull(defaults); this.awsAccountId = defaults.awsAccountId; + this.awsPartition = defaults.awsPartition; this.externalId = defaults.externalId; this.id = defaults.id; this.json = defaults.json; @@ -80,6 +88,12 @@ public Builder awsAccountId(String awsAccountId) { return this; } @CustomType.Setter + public Builder awsPartition(@Nullable String awsPartition) { + + this.awsPartition = awsPartition; + return this; + } + @CustomType.Setter public Builder externalId(String externalId) { if (externalId == null) { throw new MissingRequiredPropertyException("GetAwsUnityCatalogAssumeRolePolicyResult", "externalId"); @@ -122,6 +136,7 @@ public Builder unityCatalogIamArn(String unityCatalogIamArn) { public GetAwsUnityCatalogAssumeRolePolicyResult build() { final var _resultValue = new GetAwsUnityCatalogAssumeRolePolicyResult(); _resultValue.awsAccountId = awsAccountId; + _resultValue.awsPartition = awsPartition; _resultValue.externalId = externalId; _resultValue.id = id; _resultValue.json = json; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogPolicyResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogPolicyResult.java index 586783c2..66b4ee14 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogPolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetAwsUnityCatalogPolicyResult.java @@ -13,6 +13,7 @@ @CustomType public final class GetAwsUnityCatalogPolicyResult { private String awsAccountId; + private @Nullable String awsPartition; private String bucketName; /** * @return The provider-assigned unique ID for this managed resource. @@ -31,6 +32,9 @@ private GetAwsUnityCatalogPolicyResult() {} public String awsAccountId() { return this.awsAccountId; } + public Optional awsPartition() { + return Optional.ofNullable(this.awsPartition); + } public String bucketName() { return this.bucketName; } @@ -65,6 +69,7 @@ public static Builder builder(GetAwsUnityCatalogPolicyResult defaults) { @CustomType.Builder public static final class Builder { private String awsAccountId; + private @Nullable String awsPartition; private String bucketName; private String id; private String json; @@ -74,6 +79,7 @@ public Builder() {} public Builder(GetAwsUnityCatalogPolicyResult defaults) { Objects.requireNonNull(defaults); this.awsAccountId = defaults.awsAccountId; + this.awsPartition = defaults.awsPartition; this.bucketName = defaults.bucketName; this.id = defaults.id; this.json = defaults.json; @@ -90,6 +96,12 @@ public Builder awsAccountId(String awsAccountId) { return this; } @CustomType.Setter + public Builder awsPartition(@Nullable String awsPartition) { + + this.awsPartition = awsPartition; + return this; + } + @CustomType.Setter public Builder bucketName(String bucketName) { if (bucketName == null) { throw new MissingRequiredPropertyException("GetAwsUnityCatalogPolicyResult", "bucketName"); @@ -130,6 +142,7 @@ public Builder roleName(String roleName) { public GetAwsUnityCatalogPolicyResult build() { final var _resultValue = new GetAwsUnityCatalogPolicyResult(); _resultValue.awsAccountId = awsAccountId; + _resultValue.awsPartition = awsPartition; _resultValue.bucketName = bucketName; _resultValue.id = id; _resultValue.json = json; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfo.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfo.java index d0e1fce5..514ef053 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfo.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfo.java @@ -94,7 +94,9 @@ public final class GetClusterClusterInfo { * */ private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; private @Nullable Integer jdbcPort; + private @Nullable String kind; private @Nullable Integer lastRestartedTime; private @Nullable Integer lastStateLossTime; /** @@ -145,6 +147,7 @@ public final class GetClusterClusterInfo { private @Nullable String stateMessage; private @Nullable Integer terminatedTime; private @Nullable GetClusterClusterInfoTerminationReason terminationReason; + private @Nullable Boolean useMlRuntime; private @Nullable GetClusterClusterInfoWorkloadType workloadType; private GetClusterClusterInfo() {} @@ -263,9 +266,15 @@ public List initScripts() { public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } public Optional jdbcPort() { return Optional.ofNullable(this.jdbcPort); } + public Optional kind() { + return Optional.ofNullable(this.kind); + } public Optional lastRestartedTime() { return Optional.ofNullable(this.lastRestartedTime); } @@ -352,6 +361,9 @@ public Optional terminatedTime() { public Optional terminationReason() { return Optional.ofNullable(this.terminationReason); } + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } public Optional workloadType() { return Optional.ofNullable(this.workloadType); } @@ -390,7 +402,9 @@ public static final class Builder { private @Nullable GetClusterClusterInfoGcpAttributes gcpAttributes; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; private @Nullable Integer jdbcPort; + private @Nullable String kind; private @Nullable Integer lastRestartedTime; private @Nullable Integer lastStateLossTime; private @Nullable String nodeTypeId; @@ -409,6 +423,7 @@ public static final class Builder { private @Nullable String stateMessage; private @Nullable Integer terminatedTime; private @Nullable GetClusterClusterInfoTerminationReason terminationReason; + private @Nullable Boolean useMlRuntime; private @Nullable GetClusterClusterInfoWorkloadType workloadType; public Builder() {} public Builder(GetClusterClusterInfo defaults) { @@ -438,7 +453,9 @@ public Builder(GetClusterClusterInfo defaults) { this.gcpAttributes = defaults.gcpAttributes; this.initScripts = defaults.initScripts; this.instancePoolId = defaults.instancePoolId; + this.isSingleNode = defaults.isSingleNode; this.jdbcPort = defaults.jdbcPort; + this.kind = defaults.kind; this.lastRestartedTime = defaults.lastRestartedTime; this.lastStateLossTime = defaults.lastStateLossTime; this.nodeTypeId = defaults.nodeTypeId; @@ -457,6 +474,7 @@ public Builder(GetClusterClusterInfo defaults) { this.stateMessage = defaults.stateMessage; this.terminatedTime = defaults.terminatedTime; this.terminationReason = defaults.terminationReason; + this.useMlRuntime = defaults.useMlRuntime; this.workloadType = defaults.workloadType; } @@ -617,12 +635,24 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } @CustomType.Setter + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + + this.isSingleNode = isSingleNode; + return this; + } + @CustomType.Setter public Builder jdbcPort(@Nullable Integer jdbcPort) { this.jdbcPort = jdbcPort; return this; } @CustomType.Setter + public Builder kind(@Nullable String kind) { + + this.kind = kind; + return this; + } + @CustomType.Setter public Builder lastRestartedTime(@Nullable Integer lastRestartedTime) { this.lastRestartedTime = lastRestartedTime; @@ -734,6 +764,12 @@ public Builder terminationReason(@Nullable GetClusterClusterInfoTerminationReaso return this; } @CustomType.Setter + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + + this.useMlRuntime = useMlRuntime; + return this; + } + @CustomType.Setter public Builder workloadType(@Nullable GetClusterClusterInfoWorkloadType workloadType) { this.workloadType = workloadType; @@ -766,7 +802,9 @@ public GetClusterClusterInfo build() { _resultValue.gcpAttributes = gcpAttributes; _resultValue.initScripts = initScripts; _resultValue.instancePoolId = instancePoolId; + _resultValue.isSingleNode = isSingleNode; _resultValue.jdbcPort = jdbcPort; + _resultValue.kind = kind; _resultValue.lastRestartedTime = lastRestartedTime; _resultValue.lastStateLossTime = lastStateLossTime; _resultValue.nodeTypeId = nodeTypeId; @@ -785,6 +823,7 @@ public GetClusterClusterInfo build() { _resultValue.stateMessage = stateMessage; _resultValue.terminatedTime = terminatedTime; _resultValue.terminationReason = terminationReason; + _resultValue.useMlRuntime = useMlRuntime; _resultValue.workloadType = workloadType; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfoSpec.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfoSpec.java index 6c07eb73..ed5bb21d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfoSpec.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetClusterClusterInfoSpec.java @@ -85,6 +85,8 @@ public final class GetClusterClusterInfoSpec { * */ private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; private @Nullable List libraries; /** * @return Any supported databricks.getNodeType id. @@ -127,6 +129,7 @@ public final class GetClusterClusterInfoSpec { * */ private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; private @Nullable GetClusterClusterInfoSpecWorkloadType workloadType; private GetClusterClusterInfoSpec() {} @@ -227,6 +230,12 @@ public List initScripts() { public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + public Optional kind() { + return Optional.ofNullable(this.kind); + } public List libraries() { return this.libraries == null ? List.of() : this.libraries; } @@ -289,6 +298,9 @@ public String sparkVersion() { public List sshPublicKeys() { return this.sshPublicKeys == null ? List.of() : this.sshPublicKeys; } + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } public Optional workloadType() { return Optional.ofNullable(this.workloadType); } @@ -321,6 +333,8 @@ public static final class Builder { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; private @Nullable List libraries; private String nodeTypeId; private @Nullable Integer numWorkers; @@ -331,6 +345,7 @@ public static final class Builder { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; private @Nullable GetClusterClusterInfoSpecWorkloadType workloadType; public Builder() {} public Builder(GetClusterClusterInfoSpec defaults) { @@ -354,6 +369,8 @@ public Builder(GetClusterClusterInfoSpec defaults) { this.idempotencyToken = defaults.idempotencyToken; this.initScripts = defaults.initScripts; this.instancePoolId = defaults.instancePoolId; + this.isSingleNode = defaults.isSingleNode; + this.kind = defaults.kind; this.libraries = defaults.libraries; this.nodeTypeId = defaults.nodeTypeId; this.numWorkers = defaults.numWorkers; @@ -364,6 +381,7 @@ public Builder(GetClusterClusterInfoSpec defaults) { this.sparkEnvVars = defaults.sparkEnvVars; this.sparkVersion = defaults.sparkVersion; this.sshPublicKeys = defaults.sshPublicKeys; + this.useMlRuntime = defaults.useMlRuntime; this.workloadType = defaults.workloadType; } @@ -498,6 +516,18 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } @CustomType.Setter + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + + this.isSingleNode = isSingleNode; + return this; + } + @CustomType.Setter + public Builder kind(@Nullable String kind) { + + this.kind = kind; + return this; + } + @CustomType.Setter public Builder libraries(@Nullable List libraries) { this.libraries = libraries; @@ -568,6 +598,12 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } @CustomType.Setter + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + + this.useMlRuntime = useMlRuntime; + return this; + } + @CustomType.Setter public Builder workloadType(@Nullable GetClusterClusterInfoSpecWorkloadType workloadType) { this.workloadType = workloadType; @@ -594,6 +630,8 @@ public GetClusterClusterInfoSpec build() { _resultValue.idempotencyToken = idempotencyToken; _resultValue.initScripts = initScripts; _resultValue.instancePoolId = instancePoolId; + _resultValue.isSingleNode = isSingleNode; + _resultValue.kind = kind; _resultValue.libraries = libraries; _resultValue.nodeTypeId = nodeTypeId; _resultValue.numWorkers = numWorkers; @@ -604,6 +642,7 @@ public GetClusterClusterInfoSpec build() { _resultValue.sparkEnvVars = sparkEnvVars; _resultValue.sparkVersion = sparkVersion; _resultValue.sshPublicKeys = sshPublicKeys; + _resultValue.useMlRuntime = useMlRuntime; _resultValue.workloadType = workloadType; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunction.java index d794e720..88b0e562 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunction.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunction.java @@ -4,12 +4,13 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; -import com.pulumi.databricks.outputs.GetFunctionsFunctionInputParams; -import com.pulumi.databricks.outputs.GetFunctionsFunctionReturnParams; -import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependencies; +import com.pulumi.databricks.outputs.GetFunctionsFunctionInputParam; +import com.pulumi.databricks.outputs.GetFunctionsFunctionReturnParam; +import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependency; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -75,7 +76,7 @@ public final class GetFunctionsFunction { * @return object describing input parameters. Consists of the single attribute: * */ - private @Nullable GetFunctionsFunctionInputParams inputParams; + private @Nullable List inputParams; /** * @return Boolean flag specifying whether the function is deterministic. * @@ -115,7 +116,7 @@ public final class GetFunctionsFunction { * @return Table function return parameters. See `input_params` for description. * */ - private @Nullable GetFunctionsFunctionReturnParams returnParams; + private @Nullable List returnParams; /** * @return Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. * @@ -130,7 +131,7 @@ public final class GetFunctionsFunction { * @return Function dependencies. * */ - private @Nullable GetFunctionsFunctionRoutineDependencies routineDependencies; + private @Nullable List routineDependencies; /** * @return Name of databricks_schema. * @@ -249,8 +250,8 @@ public Optional functionId() { * @return object describing input parameters. Consists of the single attribute: * */ - public Optional inputParams() { - return Optional.ofNullable(this.inputParams); + public List inputParams() { + return this.inputParams == null ? List.of() : this.inputParams; } /** * @return Boolean flag specifying whether the function is deterministic. @@ -305,8 +306,8 @@ public Optional properties() { * @return Table function return parameters. See `input_params` for description. * */ - public Optional returnParams() { - return Optional.ofNullable(this.returnParams); + public List returnParams() { + return this.returnParams == null ? List.of() : this.returnParams; } /** * @return Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. @@ -326,8 +327,8 @@ public Optional routineDefinition() { * @return Function dependencies. * */ - public Optional routineDependencies() { - return Optional.ofNullable(this.routineDependencies); + public List routineDependencies() { + return this.routineDependencies == null ? List.of() : this.routineDependencies; } /** * @return Name of databricks_schema. @@ -399,7 +400,7 @@ public static final class Builder { private @Nullable String fullDataType; private @Nullable String fullName; private @Nullable String functionId; - private @Nullable GetFunctionsFunctionInputParams inputParams; + private @Nullable List inputParams; private @Nullable Boolean isDeterministic; private @Nullable Boolean isNullCall; private @Nullable String metastoreId; @@ -407,10 +408,10 @@ public static final class Builder { private @Nullable String owner; private @Nullable String parameterStyle; private @Nullable String properties; - private @Nullable GetFunctionsFunctionReturnParams returnParams; + private @Nullable List returnParams; private @Nullable String routineBody; private @Nullable String routineDefinition; - private @Nullable GetFunctionsFunctionRoutineDependencies routineDependencies; + private @Nullable List routineDependencies; private @Nullable String schemaName; private @Nullable String securityType; private @Nullable String specificName; @@ -520,11 +521,14 @@ public Builder functionId(@Nullable String functionId) { return this; } @CustomType.Setter - public Builder inputParams(@Nullable GetFunctionsFunctionInputParams inputParams) { + public Builder inputParams(@Nullable List inputParams) { this.inputParams = inputParams; return this; } + public Builder inputParams(GetFunctionsFunctionInputParam... inputParams) { + return inputParams(List.of(inputParams)); + } @CustomType.Setter public Builder isDeterministic(@Nullable Boolean isDeterministic) { @@ -568,11 +572,14 @@ public Builder properties(@Nullable String properties) { return this; } @CustomType.Setter - public Builder returnParams(@Nullable GetFunctionsFunctionReturnParams returnParams) { + public Builder returnParams(@Nullable List returnParams) { this.returnParams = returnParams; return this; } + public Builder returnParams(GetFunctionsFunctionReturnParam... returnParams) { + return returnParams(List.of(returnParams)); + } @CustomType.Setter public Builder routineBody(@Nullable String routineBody) { @@ -586,11 +593,14 @@ public Builder routineDefinition(@Nullable String routineDefinition) { return this; } @CustomType.Setter - public Builder routineDependencies(@Nullable GetFunctionsFunctionRoutineDependencies routineDependencies) { + public Builder routineDependencies(@Nullable List routineDependencies) { this.routineDependencies = routineDependencies; return this; } + public Builder routineDependencies(GetFunctionsFunctionRoutineDependency... routineDependencies) { + return routineDependencies(List.of(routineDependencies)); + } @CustomType.Setter public Builder schemaName(@Nullable String schemaName) { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParams.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParam.java similarity index 72% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParams.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParam.java index 4846fdf1..2eee40e0 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParams.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParam.java @@ -4,25 +4,25 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; -import com.pulumi.databricks.outputs.GetFunctionsFunctionInputParamsParameter; +import com.pulumi.databricks.outputs.GetFunctionsFunctionInputParamParameter; import java.util.List; import java.util.Objects; import javax.annotation.Nullable; @CustomType -public final class GetFunctionsFunctionInputParams { +public final class GetFunctionsFunctionInputParam { /** * @return The array of definitions of the function's parameters: * */ - private @Nullable List parameters; + private @Nullable List parameters; - private GetFunctionsFunctionInputParams() {} + private GetFunctionsFunctionInputParam() {} /** * @return The array of definitions of the function's parameters: * */ - public List parameters() { + public List parameters() { return this.parameters == null ? List.of() : this.parameters; } @@ -30,29 +30,29 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionInputParams defaults) { + public static Builder builder(GetFunctionsFunctionInputParam defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List parameters; + private @Nullable List parameters; public Builder() {} - public Builder(GetFunctionsFunctionInputParams defaults) { + public Builder(GetFunctionsFunctionInputParam defaults) { Objects.requireNonNull(defaults); this.parameters = defaults.parameters; } @CustomType.Setter - public Builder parameters(@Nullable List parameters) { + public Builder parameters(@Nullable List parameters) { this.parameters = parameters; return this; } - public Builder parameters(GetFunctionsFunctionInputParamsParameter... parameters) { + public Builder parameters(GetFunctionsFunctionInputParamParameter... parameters) { return parameters(List.of(parameters)); } - public GetFunctionsFunctionInputParams build() { - final var _resultValue = new GetFunctionsFunctionInputParams(); + public GetFunctionsFunctionInputParam build() { + final var _resultValue = new GetFunctionsFunctionInputParam(); _resultValue.parameters = parameters; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParamsParameter.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParamParameter.java similarity index 94% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParamsParameter.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParamParameter.java index 89e1792b..c11adfc8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParamsParameter.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionInputParamParameter.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class GetFunctionsFunctionInputParamsParameter { +public final class GetFunctionsFunctionInputParamParameter { /** * @return User-provided free-form text description. * @@ -74,7 +74,7 @@ public final class GetFunctionsFunctionInputParamsParameter { */ private String typeText; - private GetFunctionsFunctionInputParamsParameter() {} + private GetFunctionsFunctionInputParamParameter() {} /** * @return User-provided free-form text description. * @@ -164,7 +164,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionInputParamsParameter defaults) { + public static Builder builder(GetFunctionsFunctionInputParamParameter defaults) { return new Builder(defaults); } @CustomType.Builder @@ -182,7 +182,7 @@ public static final class Builder { private @Nullable Integer typeScale; private String typeText; public Builder() {} - public Builder(GetFunctionsFunctionInputParamsParameter defaults) { + public Builder(GetFunctionsFunctionInputParamParameter defaults) { Objects.requireNonNull(defaults); this.comment = defaults.comment; this.name = defaults.name; @@ -207,7 +207,7 @@ public Builder comment(@Nullable String comment) { @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "name"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "name"); } this.name = name; return this; @@ -233,7 +233,7 @@ public Builder parameterType(@Nullable String parameterType) { @CustomType.Setter public Builder position(Integer position) { if (position == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "position"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "position"); } this.position = position; return this; @@ -253,7 +253,7 @@ public Builder typeJson(@Nullable String typeJson) { @CustomType.Setter public Builder typeName(String typeName) { if (typeName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "typeName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "typeName"); } this.typeName = typeName; return this; @@ -273,13 +273,13 @@ public Builder typeScale(@Nullable Integer typeScale) { @CustomType.Setter public Builder typeText(String typeText) { if (typeText == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamsParameter", "typeText"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionInputParamParameter", "typeText"); } this.typeText = typeText; return this; } - public GetFunctionsFunctionInputParamsParameter build() { - final var _resultValue = new GetFunctionsFunctionInputParamsParameter(); + public GetFunctionsFunctionInputParamParameter build() { + final var _resultValue = new GetFunctionsFunctionInputParamParameter(); _resultValue.comment = comment; _resultValue.name = name; _resultValue.parameterDefault = parameterDefault; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParams.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParam.java similarity index 71% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParams.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParam.java index a0711041..c652b0bd 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParams.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParam.java @@ -4,25 +4,25 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; -import com.pulumi.databricks.outputs.GetFunctionsFunctionReturnParamsParameter; +import com.pulumi.databricks.outputs.GetFunctionsFunctionReturnParamParameter; import java.util.List; import java.util.Objects; import javax.annotation.Nullable; @CustomType -public final class GetFunctionsFunctionReturnParams { +public final class GetFunctionsFunctionReturnParam { /** * @return The array of definitions of the function's parameters: * */ - private @Nullable List parameters; + private @Nullable List parameters; - private GetFunctionsFunctionReturnParams() {} + private GetFunctionsFunctionReturnParam() {} /** * @return The array of definitions of the function's parameters: * */ - public List parameters() { + public List parameters() { return this.parameters == null ? List.of() : this.parameters; } @@ -30,29 +30,29 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionReturnParams defaults) { + public static Builder builder(GetFunctionsFunctionReturnParam defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List parameters; + private @Nullable List parameters; public Builder() {} - public Builder(GetFunctionsFunctionReturnParams defaults) { + public Builder(GetFunctionsFunctionReturnParam defaults) { Objects.requireNonNull(defaults); this.parameters = defaults.parameters; } @CustomType.Setter - public Builder parameters(@Nullable List parameters) { + public Builder parameters(@Nullable List parameters) { this.parameters = parameters; return this; } - public Builder parameters(GetFunctionsFunctionReturnParamsParameter... parameters) { + public Builder parameters(GetFunctionsFunctionReturnParamParameter... parameters) { return parameters(List.of(parameters)); } - public GetFunctionsFunctionReturnParams build() { - final var _resultValue = new GetFunctionsFunctionReturnParams(); + public GetFunctionsFunctionReturnParam build() { + final var _resultValue = new GetFunctionsFunctionReturnParam(); _resultValue.parameters = parameters; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParamsParameter.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParamParameter.java similarity index 94% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParamsParameter.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParamParameter.java index 4e2a9eb4..445b2096 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParamsParameter.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionReturnParamParameter.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class GetFunctionsFunctionReturnParamsParameter { +public final class GetFunctionsFunctionReturnParamParameter { /** * @return User-provided free-form text description. * @@ -74,7 +74,7 @@ public final class GetFunctionsFunctionReturnParamsParameter { */ private String typeText; - private GetFunctionsFunctionReturnParamsParameter() {} + private GetFunctionsFunctionReturnParamParameter() {} /** * @return User-provided free-form text description. * @@ -164,7 +164,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionReturnParamsParameter defaults) { + public static Builder builder(GetFunctionsFunctionReturnParamParameter defaults) { return new Builder(defaults); } @CustomType.Builder @@ -182,7 +182,7 @@ public static final class Builder { private @Nullable Integer typeScale; private String typeText; public Builder() {} - public Builder(GetFunctionsFunctionReturnParamsParameter defaults) { + public Builder(GetFunctionsFunctionReturnParamParameter defaults) { Objects.requireNonNull(defaults); this.comment = defaults.comment; this.name = defaults.name; @@ -207,7 +207,7 @@ public Builder comment(@Nullable String comment) { @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "name"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "name"); } this.name = name; return this; @@ -233,7 +233,7 @@ public Builder parameterType(@Nullable String parameterType) { @CustomType.Setter public Builder position(Integer position) { if (position == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "position"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "position"); } this.position = position; return this; @@ -253,7 +253,7 @@ public Builder typeJson(@Nullable String typeJson) { @CustomType.Setter public Builder typeName(String typeName) { if (typeName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "typeName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "typeName"); } this.typeName = typeName; return this; @@ -273,13 +273,13 @@ public Builder typeScale(@Nullable Integer typeScale) { @CustomType.Setter public Builder typeText(String typeText) { if (typeText == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamsParameter", "typeText"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionReturnParamParameter", "typeText"); } this.typeText = typeText; return this; } - public GetFunctionsFunctionReturnParamsParameter build() { - final var _resultValue = new GetFunctionsFunctionReturnParamsParameter(); + public GetFunctionsFunctionReturnParamParameter build() { + final var _resultValue = new GetFunctionsFunctionReturnParamParameter(); _resultValue.comment = comment; _resultValue.name = name; _resultValue.parameterDefault = parameterDefault; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependency.java deleted file mode 100644 index ce92f62e..00000000 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependency.java +++ /dev/null @@ -1,63 +0,0 @@ -// *** WARNING: this file was generated by pulumi-java-gen. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package com.pulumi.databricks.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependenciesDependencyFunction; -import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependenciesDependencyTable; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class GetFunctionsFunctionRoutineDependenciesDependency { - private @Nullable GetFunctionsFunctionRoutineDependenciesDependencyFunction function; - private @Nullable GetFunctionsFunctionRoutineDependenciesDependencyTable table; - - private GetFunctionsFunctionRoutineDependenciesDependency() {} - public Optional function() { - return Optional.ofNullable(this.function); - } - public Optional table() { - return Optional.ofNullable(this.table); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependency defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable GetFunctionsFunctionRoutineDependenciesDependencyFunction function; - private @Nullable GetFunctionsFunctionRoutineDependenciesDependencyTable table; - public Builder() {} - public Builder(GetFunctionsFunctionRoutineDependenciesDependency defaults) { - Objects.requireNonNull(defaults); - this.function = defaults.function; - this.table = defaults.table; - } - - @CustomType.Setter - public Builder function(@Nullable GetFunctionsFunctionRoutineDependenciesDependencyFunction function) { - - this.function = function; - return this; - } - @CustomType.Setter - public Builder table(@Nullable GetFunctionsFunctionRoutineDependenciesDependencyTable table) { - - this.table = table; - return this; - } - public GetFunctionsFunctionRoutineDependenciesDependency build() { - final var _resultValue = new GetFunctionsFunctionRoutineDependenciesDependency(); - _resultValue.function = function; - _resultValue.table = table; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencies.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependency.java similarity index 69% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencies.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependency.java index 7ecc49b4..78e9c787 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencies.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependency.java @@ -4,17 +4,17 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; -import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependenciesDependency; +import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependencyDependency; import java.util.List; import java.util.Objects; import javax.annotation.Nullable; @CustomType -public final class GetFunctionsFunctionRoutineDependencies { - private @Nullable List dependencies; +public final class GetFunctionsFunctionRoutineDependency { + private @Nullable List dependencies; - private GetFunctionsFunctionRoutineDependencies() {} - public List dependencies() { + private GetFunctionsFunctionRoutineDependency() {} + public List dependencies() { return this.dependencies == null ? List.of() : this.dependencies; } @@ -22,29 +22,29 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependencies defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependency defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List dependencies; + private @Nullable List dependencies; public Builder() {} - public Builder(GetFunctionsFunctionRoutineDependencies defaults) { + public Builder(GetFunctionsFunctionRoutineDependency defaults) { Objects.requireNonNull(defaults); this.dependencies = defaults.dependencies; } @CustomType.Setter - public Builder dependencies(@Nullable List dependencies) { + public Builder dependencies(@Nullable List dependencies) { this.dependencies = dependencies; return this; } - public Builder dependencies(GetFunctionsFunctionRoutineDependenciesDependency... dependencies) { + public Builder dependencies(GetFunctionsFunctionRoutineDependencyDependency... dependencies) { return dependencies(List.of(dependencies)); } - public GetFunctionsFunctionRoutineDependencies build() { - final var _resultValue = new GetFunctionsFunctionRoutineDependencies(); + public GetFunctionsFunctionRoutineDependency build() { + final var _resultValue = new GetFunctionsFunctionRoutineDependency(); _resultValue.dependencies = dependencies; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependency.java new file mode 100644 index 00000000..cbf4d61a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependency.java @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependencyDependencyFunction; +import com.pulumi.databricks.outputs.GetFunctionsFunctionRoutineDependencyDependencyTable; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetFunctionsFunctionRoutineDependencyDependency { + private @Nullable List functions; + private @Nullable List tables; + + private GetFunctionsFunctionRoutineDependencyDependency() {} + public List functions() { + return this.functions == null ? List.of() : this.functions; + } + public List tables() { + return this.tables == null ? List.of() : this.tables; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependency defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List functions; + private @Nullable List tables; + public Builder() {} + public Builder(GetFunctionsFunctionRoutineDependencyDependency defaults) { + Objects.requireNonNull(defaults); + this.functions = defaults.functions; + this.tables = defaults.tables; + } + + @CustomType.Setter + public Builder functions(@Nullable List functions) { + + this.functions = functions; + return this; + } + public Builder functions(GetFunctionsFunctionRoutineDependencyDependencyFunction... functions) { + return functions(List.of(functions)); + } + @CustomType.Setter + public Builder tables(@Nullable List tables) { + + this.tables = tables; + return this; + } + public Builder tables(GetFunctionsFunctionRoutineDependencyDependencyTable... tables) { + return tables(List.of(tables)); + } + public GetFunctionsFunctionRoutineDependencyDependency build() { + final var _resultValue = new GetFunctionsFunctionRoutineDependencyDependency(); + _resultValue.functions = functions; + _resultValue.tables = tables; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.java similarity index 74% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.java index ca9f6586..608e3843 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependencyFunction.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependencyFunction.java @@ -9,10 +9,10 @@ import java.util.Objects; @CustomType -public final class GetFunctionsFunctionRoutineDependenciesDependencyFunction { +public final class GetFunctionsFunctionRoutineDependencyDependencyFunction { private String functionFullName; - private GetFunctionsFunctionRoutineDependenciesDependencyFunction() {} + private GetFunctionsFunctionRoutineDependencyDependencyFunction() {} public String functionFullName() { return this.functionFullName; } @@ -21,14 +21,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyFunction defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyFunction defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String functionFullName; public Builder() {} - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyFunction defaults) { + public Builder(GetFunctionsFunctionRoutineDependencyDependencyFunction defaults) { Objects.requireNonNull(defaults); this.functionFullName = defaults.functionFullName; } @@ -36,13 +36,13 @@ public Builder(GetFunctionsFunctionRoutineDependenciesDependencyFunction default @CustomType.Setter public Builder functionFullName(String functionFullName) { if (functionFullName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependenciesDependencyFunction", "functionFullName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependencyDependencyFunction", "functionFullName"); } this.functionFullName = functionFullName; return this; } - public GetFunctionsFunctionRoutineDependenciesDependencyFunction build() { - final var _resultValue = new GetFunctionsFunctionRoutineDependenciesDependencyFunction(); + public GetFunctionsFunctionRoutineDependencyDependencyFunction build() { + final var _resultValue = new GetFunctionsFunctionRoutineDependencyDependencyFunction(); _resultValue.functionFullName = functionFullName; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependencyTable.java similarity index 74% rename from sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.java rename to sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependencyTable.java index 037f7084..581df278 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependenciesDependencyTable.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsFunctionRoutineDependencyDependencyTable.java @@ -9,10 +9,10 @@ import java.util.Objects; @CustomType -public final class GetFunctionsFunctionRoutineDependenciesDependencyTable { +public final class GetFunctionsFunctionRoutineDependencyDependencyTable { private String tableFullName; - private GetFunctionsFunctionRoutineDependenciesDependencyTable() {} + private GetFunctionsFunctionRoutineDependencyDependencyTable() {} public String tableFullName() { return this.tableFullName; } @@ -21,14 +21,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFunctionsFunctionRoutineDependenciesDependencyTable defaults) { + public static Builder builder(GetFunctionsFunctionRoutineDependencyDependencyTable defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String tableFullName; public Builder() {} - public Builder(GetFunctionsFunctionRoutineDependenciesDependencyTable defaults) { + public Builder(GetFunctionsFunctionRoutineDependencyDependencyTable defaults) { Objects.requireNonNull(defaults); this.tableFullName = defaults.tableFullName; } @@ -36,13 +36,13 @@ public Builder(GetFunctionsFunctionRoutineDependenciesDependencyTable defaults) @CustomType.Setter public Builder tableFullName(String tableFullName) { if (tableFullName == null) { - throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependenciesDependencyTable", "tableFullName"); + throw new MissingRequiredPropertyException("GetFunctionsFunctionRoutineDependencyDependencyTable", "tableFullName"); } this.tableFullName = tableFullName; return this; } - public GetFunctionsFunctionRoutineDependenciesDependencyTable build() { - final var _resultValue = new GetFunctionsFunctionRoutineDependenciesDependencyTable(); + public GetFunctionsFunctionRoutineDependencyDependencyTable build() { + final var _resultValue = new GetFunctionsFunctionRoutineDependencyDependencyTable(); _resultValue.tableFullName = tableFullName; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsResult.java index 6a9f27ae..43e2f90f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetFunctionsResult.java @@ -24,7 +24,7 @@ public final class GetFunctionsResult { * @return list of objects describing individual UDF. Each object consists of the following attributes (refer to [REST API documentation](https://docs.databricks.com/api/workspace/functions/list#functions) for up-to-date list of attributes. Default type is String): * */ - private @Nullable List functions; + private List functions; /** * @return The provider-assigned unique ID for this managed resource. * @@ -50,7 +50,7 @@ public String catalogName() { * */ public List functions() { - return this.functions == null ? List.of() : this.functions; + return this.functions; } /** * @return The provider-assigned unique ID for this managed resource. @@ -80,7 +80,7 @@ public static Builder builder(GetFunctionsResult defaults) { @CustomType.Builder public static final class Builder { private String catalogName; - private @Nullable List functions; + private List functions; private String id; private @Nullable Boolean includeBrowse; private String schemaName; @@ -103,8 +103,10 @@ public Builder catalogName(String catalogName) { return this; } @CustomType.Setter - public Builder functions(@Nullable List functions) { - + public Builder functions(List functions) { + if (functions == null) { + throw new MissingRequiredPropertyException("GetFunctionsResult", "functions"); + } this.functions = functions; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobsResult.java index da53d75a..74f5c9aa 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobsResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobsResult.java @@ -8,6 +8,8 @@ import java.lang.String; import java.util.Map; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class GetJobsResult { @@ -21,6 +23,7 @@ public final class GetJobsResult { * */ private Map ids; + private @Nullable String jobNameContains; private GetJobsResult() {} /** @@ -37,6 +40,9 @@ public String id() { public Map ids() { return this.ids; } + public Optional jobNameContains() { + return Optional.ofNullable(this.jobNameContains); + } public static Builder builder() { return new Builder(); @@ -49,11 +55,13 @@ public static Builder builder(GetJobsResult defaults) { public static final class Builder { private String id; private Map ids; + private @Nullable String jobNameContains; public Builder() {} public Builder(GetJobsResult defaults) { Objects.requireNonNull(defaults); this.id = defaults.id; this.ids = defaults.ids; + this.jobNameContains = defaults.jobNameContains; } @CustomType.Setter @@ -72,10 +80,17 @@ public Builder ids(Map ids) { this.ids = ids; return this; } + @CustomType.Setter + public Builder jobNameContains(@Nullable String jobNameContains) { + + this.jobNameContains = jobNameContains; + return this; + } public GetJobsResult build() { final var _resultValue = new GetJobsResult(); _resultValue.id = id; _resultValue.ids = ids; + _resultValue.jobNameContains = jobNameContains; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfig.java new file mode 100644 index 00000000..f8b25e75 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfig.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRules; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRules; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigEgressConfig { + /** + * @return Array of default rules. + * + */ + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaultRules; + /** + * @return Array of target rules. + * + */ + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigTargetRules targetRules; + + private GetMwsNetworkConnectivityConfigEgressConfig() {} + /** + * @return Array of default rules. + * + */ + public Optional defaultRules() { + return Optional.ofNullable(this.defaultRules); + } + /** + * @return Array of target rules. + * + */ + public Optional targetRules() { + return Optional.ofNullable(this.targetRules); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaultRules; + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigTargetRules targetRules; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigEgressConfig defaults) { + Objects.requireNonNull(defaults); + this.defaultRules = defaults.defaultRules; + this.targetRules = defaults.targetRules; + } + + @CustomType.Setter + public Builder defaultRules(@Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaultRules) { + + this.defaultRules = defaultRules; + return this; + } + @CustomType.Setter + public Builder targetRules(@Nullable GetMwsNetworkConnectivityConfigEgressConfigTargetRules targetRules) { + + this.targetRules = targetRules; + return this; + } + public GetMwsNetworkConnectivityConfigEgressConfig build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigEgressConfig(); + _resultValue.defaultRules = defaultRules; + _resultValue.targetRules = targetRules; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.java new file mode 100644 index 00000000..36f2089d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRules.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { + /** + * @return The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + */ + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule awsStableIpRule; + /** + * @return Array of Azure service endpoint rules. + * + */ + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule azureServiceEndpointRule; + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRules() {} + /** + * @return The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + * + */ + public Optional awsStableIpRule() { + return Optional.ofNullable(this.awsStableIpRule); + } + /** + * @return Array of Azure service endpoint rules. + * + */ + public Optional azureServiceEndpointRule() { + return Optional.ofNullable(this.azureServiceEndpointRule); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule awsStableIpRule; + private @Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule azureServiceEndpointRule; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRules defaults) { + Objects.requireNonNull(defaults); + this.awsStableIpRule = defaults.awsStableIpRule; + this.azureServiceEndpointRule = defaults.azureServiceEndpointRule; + } + + @CustomType.Setter + public Builder awsStableIpRule(@Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule awsStableIpRule) { + + this.awsStableIpRule = awsStableIpRule; + return this; + } + @CustomType.Setter + public Builder azureServiceEndpointRule(@Nullable GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule azureServiceEndpointRule) { + + this.azureServiceEndpointRule = azureServiceEndpointRule; + return this; + } + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRules build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRules(); + _resultValue.awsStableIpRule = awsStableIpRule; + _resultValue.azureServiceEndpointRule = azureServiceEndpointRule; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.java new file mode 100644 index 00000000..8a0e7d05 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { + /** + * @return The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + */ + private @Nullable List cidrBlocks; + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule() {} + /** + * @return The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + * + */ + public List cidrBlocks() { + return this.cidrBlocks == null ? List.of() : this.cidrBlocks; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List cidrBlocks; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule defaults) { + Objects.requireNonNull(defaults); + this.cidrBlocks = defaults.cidrBlocks; + } + + @CustomType.Setter + public Builder cidrBlocks(@Nullable List cidrBlocks) { + + this.cidrBlocks = cidrBlocks; + return this; + } + public Builder cidrBlocks(String... cidrBlocks) { + return cidrBlocks(List.of(cidrBlocks)); + } + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule(); + _resultValue.cidrBlocks = cidrBlocks; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.java new file mode 100644 index 00000000..6c43280c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule.java @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { + /** + * @return Array of strings representing the subnet IDs. + * + */ + private @Nullable List subnets; + /** + * @return The target region for the service endpoint. + * + */ + private @Nullable String targetRegion; + /** + * @return Array of target services. + * + */ + private @Nullable List targetServices; + + private GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule() {} + /** + * @return Array of strings representing the subnet IDs. + * + */ + public List subnets() { + return this.subnets == null ? List.of() : this.subnets; + } + /** + * @return The target region for the service endpoint. + * + */ + public Optional targetRegion() { + return Optional.ofNullable(this.targetRegion); + } + /** + * @return Array of target services. + * + */ + public List targetServices() { + return this.targetServices == null ? List.of() : this.targetServices; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List subnets; + private @Nullable String targetRegion; + private @Nullable List targetServices; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule defaults) { + Objects.requireNonNull(defaults); + this.subnets = defaults.subnets; + this.targetRegion = defaults.targetRegion; + this.targetServices = defaults.targetServices; + } + + @CustomType.Setter + public Builder subnets(@Nullable List subnets) { + + this.subnets = subnets; + return this; + } + public Builder subnets(String... subnets) { + return subnets(List.of(subnets)); + } + @CustomType.Setter + public Builder targetRegion(@Nullable String targetRegion) { + + this.targetRegion = targetRegion; + return this; + } + @CustomType.Setter + public Builder targetServices(@Nullable List targetServices) { + + this.targetServices = targetServices; + return this; + } + public Builder targetServices(String... targetServices) { + return targetServices(List.of(targetServices)); + } + public GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule(); + _resultValue.subnets = subnets; + _resultValue.targetRegion = targetRegion; + _resultValue.targetServices = targetServices; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.java new file mode 100644 index 00000000..d269c47d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRules.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigEgressConfigTargetRules { + /** + * @return Array of private endpoint rule objects. + * + */ + private @Nullable List azurePrivateEndpointRules; + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRules() {} + /** + * @return Array of private endpoint rule objects. + * + */ + public List azurePrivateEndpointRules() { + return this.azurePrivateEndpointRules == null ? List.of() : this.azurePrivateEndpointRules; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRules defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List azurePrivateEndpointRules; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRules defaults) { + Objects.requireNonNull(defaults); + this.azurePrivateEndpointRules = defaults.azurePrivateEndpointRules; + } + + @CustomType.Setter + public Builder azurePrivateEndpointRules(@Nullable List azurePrivateEndpointRules) { + + this.azurePrivateEndpointRules = azurePrivateEndpointRules; + return this; + } + public Builder azurePrivateEndpointRules(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule... azurePrivateEndpointRules) { + return azurePrivateEndpointRules(List.of(azurePrivateEndpointRules)); + } + public GetMwsNetworkConnectivityConfigEgressConfigTargetRules build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigEgressConfigTargetRules(); + _resultValue.azurePrivateEndpointRules = azurePrivateEndpointRules; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.java new file mode 100644 index 00000000..bab7f544 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule.java @@ -0,0 +1,248 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + /** + * @return The current status of this private endpoint. + * + */ + private @Nullable String connectionState; + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + private @Nullable Integer creationTime; + /** + * @return Whether this private endpoint is deactivated. + * + */ + private @Nullable Boolean deactivated; + /** + * @return Time in epoch milliseconds when this object was deactivated. + * + */ + private @Nullable Integer deactivatedAt; + /** + * @return The name of the Azure private endpoint resource. + * + */ + private @Nullable String endpointName; + /** + * @return The sub-resource type (group ID) of the target resource. + * + */ + private @Nullable String groupId; + /** + * @return The Databricks network connectivity configuration ID. + * + */ + private @Nullable String networkConnectivityConfigId; + /** + * @return The Azure resource ID of the target resource. + * + */ + private @Nullable String resourceId; + /** + * @return The ID of a private endpoint rule. + * + */ + private @Nullable String ruleId; + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + private @Nullable Integer updatedTime; + + private GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule() {} + /** + * @return The current status of this private endpoint. + * + */ + public Optional connectionState() { + return Optional.ofNullable(this.connectionState); + } + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + public Optional creationTime() { + return Optional.ofNullable(this.creationTime); + } + /** + * @return Whether this private endpoint is deactivated. + * + */ + public Optional deactivated() { + return Optional.ofNullable(this.deactivated); + } + /** + * @return Time in epoch milliseconds when this object was deactivated. + * + */ + public Optional deactivatedAt() { + return Optional.ofNullable(this.deactivatedAt); + } + /** + * @return The name of the Azure private endpoint resource. + * + */ + public Optional endpointName() { + return Optional.ofNullable(this.endpointName); + } + /** + * @return The sub-resource type (group ID) of the target resource. + * + */ + public Optional groupId() { + return Optional.ofNullable(this.groupId); + } + /** + * @return The Databricks network connectivity configuration ID. + * + */ + public Optional networkConnectivityConfigId() { + return Optional.ofNullable(this.networkConnectivityConfigId); + } + /** + * @return The Azure resource ID of the target resource. + * + */ + public Optional resourceId() { + return Optional.ofNullable(this.resourceId); + } + /** + * @return The ID of a private endpoint rule. + * + */ + public Optional ruleId() { + return Optional.ofNullable(this.ruleId); + } + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + public Optional updatedTime() { + return Optional.ofNullable(this.updatedTime); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String connectionState; + private @Nullable Integer creationTime; + private @Nullable Boolean deactivated; + private @Nullable Integer deactivatedAt; + private @Nullable String endpointName; + private @Nullable String groupId; + private @Nullable String networkConnectivityConfigId; + private @Nullable String resourceId; + private @Nullable String ruleId; + private @Nullable Integer updatedTime; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule defaults) { + Objects.requireNonNull(defaults); + this.connectionState = defaults.connectionState; + this.creationTime = defaults.creationTime; + this.deactivated = defaults.deactivated; + this.deactivatedAt = defaults.deactivatedAt; + this.endpointName = defaults.endpointName; + this.groupId = defaults.groupId; + this.networkConnectivityConfigId = defaults.networkConnectivityConfigId; + this.resourceId = defaults.resourceId; + this.ruleId = defaults.ruleId; + this.updatedTime = defaults.updatedTime; + } + + @CustomType.Setter + public Builder connectionState(@Nullable String connectionState) { + + this.connectionState = connectionState; + return this; + } + @CustomType.Setter + public Builder creationTime(@Nullable Integer creationTime) { + + this.creationTime = creationTime; + return this; + } + @CustomType.Setter + public Builder deactivated(@Nullable Boolean deactivated) { + + this.deactivated = deactivated; + return this; + } + @CustomType.Setter + public Builder deactivatedAt(@Nullable Integer deactivatedAt) { + + this.deactivatedAt = deactivatedAt; + return this; + } + @CustomType.Setter + public Builder endpointName(@Nullable String endpointName) { + + this.endpointName = endpointName; + return this; + } + @CustomType.Setter + public Builder groupId(@Nullable String groupId) { + + this.groupId = groupId; + return this; + } + @CustomType.Setter + public Builder networkConnectivityConfigId(@Nullable String networkConnectivityConfigId) { + + this.networkConnectivityConfigId = networkConnectivityConfigId; + return this; + } + @CustomType.Setter + public Builder resourceId(@Nullable String resourceId) { + + this.resourceId = resourceId; + return this; + } + @CustomType.Setter + public Builder ruleId(@Nullable String ruleId) { + + this.ruleId = ruleId; + return this; + } + @CustomType.Setter + public Builder updatedTime(@Nullable Integer updatedTime) { + + this.updatedTime = updatedTime; + return this; + } + public GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule(); + _resultValue.connectionState = connectionState; + _resultValue.creationTime = creationTime; + _resultValue.deactivated = deactivated; + _resultValue.deactivatedAt = deactivatedAt; + _resultValue.endpointName = endpointName; + _resultValue.groupId = groupId; + _resultValue.networkConnectivityConfigId = networkConnectivityConfigId; + _resultValue.resourceId = resourceId; + _resultValue.ruleId = ruleId; + _resultValue.updatedTime = updatedTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigResult.java new file mode 100644 index 00000000..7cfb0d41 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigResult.java @@ -0,0 +1,221 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetMwsNetworkConnectivityConfigEgressConfig; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMwsNetworkConnectivityConfigResult { + /** + * @return The Databricks account ID associated with this network configuration. + * + */ + private String accountId; + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + private Integer creationTime; + /** + * @return Array of egress configuration objects. + * + */ + private GetMwsNetworkConnectivityConfigEgressConfig egressConfig; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The name of the network connectivity configuration. + * + */ + private String name; + /** + * @return The Databricks network connectivity configuration ID. + * + */ + private String networkConnectivityConfigId; + /** + * @return The region of the network connectivity configuration. + * + */ + private String region; + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + private Integer updatedTime; + + private GetMwsNetworkConnectivityConfigResult() {} + /** + * @return The Databricks account ID associated with this network configuration. + * + */ + public String accountId() { + return this.accountId; + } + /** + * @return Time in epoch milliseconds when this object was created. + * + */ + public Integer creationTime() { + return this.creationTime; + } + /** + * @return Array of egress configuration objects. + * + */ + public GetMwsNetworkConnectivityConfigEgressConfig egressConfig() { + return this.egressConfig; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the network connectivity configuration. + * + */ + public String name() { + return this.name; + } + /** + * @return The Databricks network connectivity configuration ID. + * + */ + public String networkConnectivityConfigId() { + return this.networkConnectivityConfigId; + } + /** + * @return The region of the network connectivity configuration. + * + */ + public String region() { + return this.region; + } + /** + * @return Time in epoch milliseconds when the network was updated. + * + */ + public Integer updatedTime() { + return this.updatedTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accountId; + private Integer creationTime; + private GetMwsNetworkConnectivityConfigEgressConfig egressConfig; + private String id; + private String name; + private String networkConnectivityConfigId; + private String region; + private Integer updatedTime; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigResult defaults) { + Objects.requireNonNull(defaults); + this.accountId = defaults.accountId; + this.creationTime = defaults.creationTime; + this.egressConfig = defaults.egressConfig; + this.id = defaults.id; + this.name = defaults.name; + this.networkConnectivityConfigId = defaults.networkConnectivityConfigId; + this.region = defaults.region; + this.updatedTime = defaults.updatedTime; + } + + @CustomType.Setter + public Builder accountId(String accountId) { + if (accountId == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "accountId"); + } + this.accountId = accountId; + return this; + } + @CustomType.Setter + public Builder creationTime(Integer creationTime) { + if (creationTime == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "creationTime"); + } + this.creationTime = creationTime; + return this; + } + @CustomType.Setter + public Builder egressConfig(GetMwsNetworkConnectivityConfigEgressConfig egressConfig) { + if (egressConfig == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "egressConfig"); + } + this.egressConfig = egressConfig; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder networkConnectivityConfigId(String networkConnectivityConfigId) { + if (networkConnectivityConfigId == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "networkConnectivityConfigId"); + } + this.networkConnectivityConfigId = networkConnectivityConfigId; + return this; + } + @CustomType.Setter + public Builder region(String region) { + if (region == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "region"); + } + this.region = region; + return this; + } + @CustomType.Setter + public Builder updatedTime(Integer updatedTime) { + if (updatedTime == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigResult", "updatedTime"); + } + this.updatedTime = updatedTime; + return this; + } + public GetMwsNetworkConnectivityConfigResult build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigResult(); + _resultValue.accountId = accountId; + _resultValue.creationTime = creationTime; + _resultValue.egressConfig = egressConfig; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.networkConnectivityConfigId = networkConnectivityConfigId; + _resultValue.region = region; + _resultValue.updatedTime = updatedTime; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigsResult.java new file mode 100644 index 00000000..083f24aa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetMwsNetworkConnectivityConfigsResult.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetMwsNetworkConnectivityConfigsResult { + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return List of names of databricks_mws_network_connectivity_config + * + */ + private List names; + private @Nullable String region; + + private GetMwsNetworkConnectivityConfigsResult() {} + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return List of names of databricks_mws_network_connectivity_config + * + */ + public List names() { + return this.names; + } + public Optional region() { + return Optional.ofNullable(this.region); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMwsNetworkConnectivityConfigsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private List names; + private @Nullable String region; + public Builder() {} + public Builder(GetMwsNetworkConnectivityConfigsResult defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.names = defaults.names; + this.region = defaults.region; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder names(List names) { + if (names == null) { + throw new MissingRequiredPropertyException("GetMwsNetworkConnectivityConfigsResult", "names"); + } + this.names = names; + return this; + } + public Builder names(String... names) { + return names(List.of(names)); + } + @CustomType.Setter + public Builder region(@Nullable String region) { + + this.region = region; + return this; + } + public GetMwsNetworkConnectivityConfigsResult build() { + final var _resultValue = new GetMwsNetworkConnectivityConfigsResult(); + _resultValue.id = id; + _resultValue.names = names; + _resultValue.region = region; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetNotificationDestinationsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetNotificationDestinationsResult.java index 14e334e7..7557aab9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetNotificationDestinationsResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetNotificationDestinationsResult.java @@ -24,7 +24,7 @@ public final class GetNotificationDestinationsResult { * @return A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: * */ - private @Nullable List notificationDestinations; + private List notificationDestinations; private @Nullable String type; private GetNotificationDestinationsResult() {} @@ -43,7 +43,7 @@ public String id() { * */ public List notificationDestinations() { - return this.notificationDestinations == null ? List.of() : this.notificationDestinations; + return this.notificationDestinations; } public Optional type() { return Optional.ofNullable(this.type); @@ -60,7 +60,7 @@ public static Builder builder(GetNotificationDestinationsResult defaults) { public static final class Builder { private @Nullable String displayNameContains; private String id; - private @Nullable List notificationDestinations; + private List notificationDestinations; private @Nullable String type; public Builder() {} public Builder(GetNotificationDestinationsResult defaults) { @@ -86,8 +86,10 @@ public Builder id(String id) { return this; } @CustomType.Setter - public Builder notificationDestinations(@Nullable List notificationDestinations) { - + public Builder notificationDestinations(List notificationDestinations) { + if (notificationDestinations == null) { + throw new MissingRequiredPropertyException("GetNotificationDestinationsResult", "notificationDestinations"); + } this.notificationDestinations = notificationDestinations; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelResult.java index 60eb2cb8..f4a20076 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelResult.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelResult.java @@ -31,7 +31,7 @@ public final class GetRegisteredModelResult { * @return block with information about the model in Unity Catalog: * */ - private @Nullable List modelInfos; + private List modelInfos; private GetRegisteredModelResult() {} /** @@ -59,7 +59,7 @@ public Optional includeBrowse() { * */ public List modelInfos() { - return this.modelInfos == null ? List.of() : this.modelInfos; + return this.modelInfos; } public static Builder builder() { @@ -75,7 +75,7 @@ public static final class Builder { private String id; private @Nullable Boolean includeAliases; private @Nullable Boolean includeBrowse; - private @Nullable List modelInfos; + private List modelInfos; public Builder() {} public Builder(GetRegisteredModelResult defaults) { Objects.requireNonNull(defaults); @@ -115,8 +115,10 @@ public Builder includeBrowse(@Nullable Boolean includeBrowse) { return this; } @CustomType.Setter - public Builder modelInfos(@Nullable List modelInfos) { - + public Builder modelInfos(List modelInfos) { + if (modelInfos == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelResult", "modelInfos"); + } this.modelInfos = modelInfos; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersion.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersion.java new file mode 100644 index 00000000..fcfd9756 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersion.java @@ -0,0 +1,430 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsModelVersionAlias; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsModelVersionModelVersionDependency; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRegisteredModelVersionsModelVersion { + /** + * @return the list of aliases associated with this model. Each item is object consisting of following attributes: + * + */ + private @Nullable List aliases; + private @Nullable Boolean browseOnly; + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + private @Nullable String catalogName; + /** + * @return The comment attached to the registered model. + * + */ + private @Nullable String comment; + /** + * @return the Unix timestamp at the model's creation + * + */ + private @Nullable Integer createdAt; + /** + * @return the identifier of the user who created the model + * + */ + private @Nullable String createdBy; + /** + * @return The unique identifier of the model version + * + */ + private @Nullable String id; + /** + * @return the unique identifier of the metastore + * + */ + private @Nullable String metastoreId; + private @Nullable String modelName; + /** + * @return block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + */ + private @Nullable List modelVersionDependencies; + /** + * @return MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + */ + private @Nullable String runId; + /** + * @return ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + */ + private @Nullable Integer runWorkspaceId; + /** + * @return The name of the schema where the registered model resides. + * + */ + private @Nullable String schemaName; + /** + * @return URI indicating the location of the source artifacts (files) for the model version. + * + */ + private @Nullable String source; + /** + * @return Current status of the model version. + * + */ + private @Nullable String status; + /** + * @return The storage location under which model version data files are stored. + * + */ + private @Nullable String storageLocation; + /** + * @return the timestamp of the last time changes were made to the model + * + */ + private @Nullable Integer updatedAt; + /** + * @return the identifier of the user who updated the model last time + * + */ + private @Nullable String updatedBy; + /** + * @return Integer model version number, used to reference the model version in API requests. + * + */ + private @Nullable Integer version; + + private GetRegisteredModelVersionsModelVersion() {} + /** + * @return the list of aliases associated with this model. Each item is object consisting of following attributes: + * + */ + public List aliases() { + return this.aliases == null ? List.of() : this.aliases; + } + public Optional browseOnly() { + return Optional.ofNullable(this.browseOnly); + } + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + public Optional catalogName() { + return Optional.ofNullable(this.catalogName); + } + /** + * @return The comment attached to the registered model. + * + */ + public Optional comment() { + return Optional.ofNullable(this.comment); + } + /** + * @return the Unix timestamp at the model's creation + * + */ + public Optional createdAt() { + return Optional.ofNullable(this.createdAt); + } + /** + * @return the identifier of the user who created the model + * + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + /** + * @return The unique identifier of the model version + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return the unique identifier of the metastore + * + */ + public Optional metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + public Optional modelName() { + return Optional.ofNullable(this.modelName); + } + /** + * @return block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + * + */ + public List modelVersionDependencies() { + return this.modelVersionDependencies == null ? List.of() : this.modelVersionDependencies; + } + /** + * @return MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + * + */ + public Optional runId() { + return Optional.ofNullable(this.runId); + } + /** + * @return ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + * + */ + public Optional runWorkspaceId() { + return Optional.ofNullable(this.runWorkspaceId); + } + /** + * @return The name of the schema where the registered model resides. + * + */ + public Optional schemaName() { + return Optional.ofNullable(this.schemaName); + } + /** + * @return URI indicating the location of the source artifacts (files) for the model version. + * + */ + public Optional source() { + return Optional.ofNullable(this.source); + } + /** + * @return Current status of the model version. + * + */ + public Optional status() { + return Optional.ofNullable(this.status); + } + /** + * @return The storage location under which model version data files are stored. + * + */ + public Optional storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + /** + * @return the timestamp of the last time changes were made to the model + * + */ + public Optional updatedAt() { + return Optional.ofNullable(this.updatedAt); + } + /** + * @return the identifier of the user who updated the model last time + * + */ + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + /** + * @return Integer model version number, used to reference the model version in API requests. + * + */ + public Optional version() { + return Optional.ofNullable(this.version); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsModelVersion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List aliases; + private @Nullable Boolean browseOnly; + private @Nullable String catalogName; + private @Nullable String comment; + private @Nullable Integer createdAt; + private @Nullable String createdBy; + private @Nullable String id; + private @Nullable String metastoreId; + private @Nullable String modelName; + private @Nullable List modelVersionDependencies; + private @Nullable String runId; + private @Nullable Integer runWorkspaceId; + private @Nullable String schemaName; + private @Nullable String source; + private @Nullable String status; + private @Nullable String storageLocation; + private @Nullable Integer updatedAt; + private @Nullable String updatedBy; + private @Nullable Integer version; + public Builder() {} + public Builder(GetRegisteredModelVersionsModelVersion defaults) { + Objects.requireNonNull(defaults); + this.aliases = defaults.aliases; + this.browseOnly = defaults.browseOnly; + this.catalogName = defaults.catalogName; + this.comment = defaults.comment; + this.createdAt = defaults.createdAt; + this.createdBy = defaults.createdBy; + this.id = defaults.id; + this.metastoreId = defaults.metastoreId; + this.modelName = defaults.modelName; + this.modelVersionDependencies = defaults.modelVersionDependencies; + this.runId = defaults.runId; + this.runWorkspaceId = defaults.runWorkspaceId; + this.schemaName = defaults.schemaName; + this.source = defaults.source; + this.status = defaults.status; + this.storageLocation = defaults.storageLocation; + this.updatedAt = defaults.updatedAt; + this.updatedBy = defaults.updatedBy; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder aliases(@Nullable List aliases) { + + this.aliases = aliases; + return this; + } + public Builder aliases(GetRegisteredModelVersionsModelVersionAlias... aliases) { + return aliases(List.of(aliases)); + } + @CustomType.Setter + public Builder browseOnly(@Nullable Boolean browseOnly) { + + this.browseOnly = browseOnly; + return this; + } + @CustomType.Setter + public Builder catalogName(@Nullable String catalogName) { + + this.catalogName = catalogName; + return this; + } + @CustomType.Setter + public Builder comment(@Nullable String comment) { + + this.comment = comment; + return this; + } + @CustomType.Setter + public Builder createdAt(@Nullable Integer createdAt) { + + this.createdAt = createdAt; + return this; + } + @CustomType.Setter + public Builder createdBy(@Nullable String createdBy) { + + this.createdBy = createdBy; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder metastoreId(@Nullable String metastoreId) { + + this.metastoreId = metastoreId; + return this; + } + @CustomType.Setter + public Builder modelName(@Nullable String modelName) { + + this.modelName = modelName; + return this; + } + @CustomType.Setter + public Builder modelVersionDependencies(@Nullable List modelVersionDependencies) { + + this.modelVersionDependencies = modelVersionDependencies; + return this; + } + public Builder modelVersionDependencies(GetRegisteredModelVersionsModelVersionModelVersionDependency... modelVersionDependencies) { + return modelVersionDependencies(List.of(modelVersionDependencies)); + } + @CustomType.Setter + public Builder runId(@Nullable String runId) { + + this.runId = runId; + return this; + } + @CustomType.Setter + public Builder runWorkspaceId(@Nullable Integer runWorkspaceId) { + + this.runWorkspaceId = runWorkspaceId; + return this; + } + @CustomType.Setter + public Builder schemaName(@Nullable String schemaName) { + + this.schemaName = schemaName; + return this; + } + @CustomType.Setter + public Builder source(@Nullable String source) { + + this.source = source; + return this; + } + @CustomType.Setter + public Builder status(@Nullable String status) { + + this.status = status; + return this; + } + @CustomType.Setter + public Builder storageLocation(@Nullable String storageLocation) { + + this.storageLocation = storageLocation; + return this; + } + @CustomType.Setter + public Builder updatedAt(@Nullable Integer updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + @CustomType.Setter + public Builder updatedBy(@Nullable String updatedBy) { + + this.updatedBy = updatedBy; + return this; + } + @CustomType.Setter + public Builder version(@Nullable Integer version) { + + this.version = version; + return this; + } + public GetRegisteredModelVersionsModelVersion build() { + final var _resultValue = new GetRegisteredModelVersionsModelVersion(); + _resultValue.aliases = aliases; + _resultValue.browseOnly = browseOnly; + _resultValue.catalogName = catalogName; + _resultValue.comment = comment; + _resultValue.createdAt = createdAt; + _resultValue.createdBy = createdBy; + _resultValue.id = id; + _resultValue.metastoreId = metastoreId; + _resultValue.modelName = modelName; + _resultValue.modelVersionDependencies = modelVersionDependencies; + _resultValue.runId = runId; + _resultValue.runWorkspaceId = runWorkspaceId; + _resultValue.schemaName = schemaName; + _resultValue.source = source; + _resultValue.status = status; + _resultValue.storageLocation = storageLocation; + _resultValue.updatedAt = updatedAt; + _resultValue.updatedBy = updatedBy; + _resultValue.version = version; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionAlias.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionAlias.java new file mode 100644 index 00000000..0f2dcb08 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionAlias.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRegisteredModelVersionsModelVersionAlias { + /** + * @return string with the name of alias + * + */ + private @Nullable String aliasName; + /** + * @return associated model version + * + */ + private @Nullable Integer versionNum; + + private GetRegisteredModelVersionsModelVersionAlias() {} + /** + * @return string with the name of alias + * + */ + public Optional aliasName() { + return Optional.ofNullable(this.aliasName); + } + /** + * @return associated model version + * + */ + public Optional versionNum() { + return Optional.ofNullable(this.versionNum); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsModelVersionAlias defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String aliasName; + private @Nullable Integer versionNum; + public Builder() {} + public Builder(GetRegisteredModelVersionsModelVersionAlias defaults) { + Objects.requireNonNull(defaults); + this.aliasName = defaults.aliasName; + this.versionNum = defaults.versionNum; + } + + @CustomType.Setter + public Builder aliasName(@Nullable String aliasName) { + + this.aliasName = aliasName; + return this; + } + @CustomType.Setter + public Builder versionNum(@Nullable Integer versionNum) { + + this.versionNum = versionNum; + return this; + } + public GetRegisteredModelVersionsModelVersionAlias build() { + final var _resultValue = new GetRegisteredModelVersionsModelVersionAlias(); + _resultValue.aliasName = aliasName; + _resultValue.versionNum = versionNum; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.java new file mode 100644 index 00000000..3a215d3b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependency.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetRegisteredModelVersionsModelVersionModelVersionDependency { + /** + * @return list of dependencies consisting of following attributes: + * + */ + private @Nullable List dependencies; + + private GetRegisteredModelVersionsModelVersionModelVersionDependency() {} + /** + * @return list of dependencies consisting of following attributes: + * + */ + public List dependencies() { + return this.dependencies == null ? List.of() : this.dependencies; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependency defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List dependencies; + public Builder() {} + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependency defaults) { + Objects.requireNonNull(defaults); + this.dependencies = defaults.dependencies; + } + + @CustomType.Setter + public Builder dependencies(@Nullable List dependencies) { + + this.dependencies = dependencies; + return this; + } + public Builder dependencies(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency... dependencies) { + return dependencies(List.of(dependencies)); + } + public GetRegisteredModelVersionsModelVersionModelVersionDependency build() { + final var _resultValue = new GetRegisteredModelVersionsModelVersionModelVersionDependency(); + _resultValue.dependencies = dependencies; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.java new file mode 100644 index 00000000..eb95b375 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency { + /** + * @return A function that is dependent on a SQL object: + * + */ + private @Nullable List functions; + /** + * @return A table that is dependent on a SQL object + * + */ + private @Nullable List tables; + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency() {} + /** + * @return A function that is dependent on a SQL object: + * + */ + public List functions() { + return this.functions == null ? List.of() : this.functions; + } + /** + * @return A table that is dependent on a SQL object + * + */ + public List tables() { + return this.tables == null ? List.of() : this.tables; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List functions; + private @Nullable List tables; + public Builder() {} + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency defaults) { + Objects.requireNonNull(defaults); + this.functions = defaults.functions; + this.tables = defaults.tables; + } + + @CustomType.Setter + public Builder functions(@Nullable List functions) { + + this.functions = functions; + return this; + } + public Builder functions(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction... functions) { + return functions(List.of(functions)); + } + @CustomType.Setter + public Builder tables(@Nullable List tables) { + + this.tables = tables; + return this; + } + public Builder tables(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable... tables) { + return tables(List.of(tables)); + } + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency build() { + final var _resultValue = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency(); + _resultValue.functions = functions; + _resultValue.tables = tables; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.java new file mode 100644 index 00000000..fe0722c4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction { + /** + * @return Full name of the dependent function + * + */ + private String functionFullName; + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction() {} + /** + * @return Full name of the dependent function + * + */ + public String functionFullName() { + return this.functionFullName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String functionFullName; + public Builder() {} + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction defaults) { + Objects.requireNonNull(defaults); + this.functionFullName = defaults.functionFullName; + } + + @CustomType.Setter + public Builder functionFullName(String functionFullName) { + if (functionFullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction", "functionFullName"); + } + this.functionFullName = functionFullName; + return this; + } + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction build() { + final var _resultValue = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction(); + _resultValue.functionFullName = functionFullName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.java new file mode 100644 index 00000000..b4b84eda --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable { + /** + * @return Full name of the dependent table + * + */ + private String tableFullName; + + private GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable() {} + /** + * @return Full name of the dependent table + * + */ + public String tableFullName() { + return this.tableFullName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String tableFullName; + public Builder() {} + public Builder(GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable defaults) { + Objects.requireNonNull(defaults); + this.tableFullName = defaults.tableFullName; + } + + @CustomType.Setter + public Builder tableFullName(String tableFullName) { + if (tableFullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable", "tableFullName"); + } + this.tableFullName = tableFullName; + return this; + } + public GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable build() { + final var _resultValue = new GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable(); + _resultValue.tableFullName = tableFullName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsResult.java new file mode 100644 index 00000000..29d3ff67 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetRegisteredModelVersionsResult.java @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetRegisteredModelVersionsModelVersion; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetRegisteredModelVersionsResult { + /** + * @return The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + */ + private String fullName; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return list of objects describing the model versions. Each object consists of following attributes: + * + */ + private List modelVersions; + + private GetRegisteredModelVersionsResult() {} + /** + * @return The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + * + */ + public String fullName() { + return this.fullName; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return list of objects describing the model versions. Each object consists of following attributes: + * + */ + public List modelVersions() { + return this.modelVersions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRegisteredModelVersionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String fullName; + private String id; + private List modelVersions; + public Builder() {} + public Builder(GetRegisteredModelVersionsResult defaults) { + Objects.requireNonNull(defaults); + this.fullName = defaults.fullName; + this.id = defaults.id; + this.modelVersions = defaults.modelVersions; + } + + @CustomType.Setter + public Builder fullName(String fullName) { + if (fullName == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsResult", "fullName"); + } + this.fullName = fullName; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder modelVersions(List modelVersions) { + if (modelVersions == null) { + throw new MissingRequiredPropertyException("GetRegisteredModelVersionsResult", "modelVersions"); + } + this.modelVersions = modelVersions; + return this; + } + public Builder modelVersions(GetRegisteredModelVersionsModelVersion... modelVersions) { + return modelVersions(List.of(modelVersions)); + } + public GetRegisteredModelVersionsResult build() { + final var _resultValue = new GetRegisteredModelVersionsResult(); + _resultValue.fullName = fullName; + _resultValue.id = id; + _resultValue.modelVersions = modelVersions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpoint.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpoint.java new file mode 100644 index 00000000..9df367b3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpoint.java @@ -0,0 +1,216 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGateway; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointState; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointTag; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpoint { + /** + * @return A block with AI Gateway configuration for the serving endpoint. + * + */ + private @Nullable List aiGateways; + /** + * @return The model serving endpoint configuration. + * + */ + private @Nullable List configs; + private @Nullable Integer creationTimestamp; + private @Nullable String creator; + private @Nullable String id; + private @Nullable Integer lastUpdatedTimestamp; + /** + * @return The name of the model serving endpoint. + * + */ + private @Nullable String name; + private @Nullable List states; + /** + * @return Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ + private @Nullable List tags; + private @Nullable String task; + + private GetServingEndpointsEndpoint() {} + /** + * @return A block with AI Gateway configuration for the serving endpoint. + * + */ + public List aiGateways() { + return this.aiGateways == null ? List.of() : this.aiGateways; + } + /** + * @return The model serving endpoint configuration. + * + */ + public List configs() { + return this.configs == null ? List.of() : this.configs; + } + public Optional creationTimestamp() { + return Optional.ofNullable(this.creationTimestamp); + } + public Optional creator() { + return Optional.ofNullable(this.creator); + } + public Optional id() { + return Optional.ofNullable(this.id); + } + public Optional lastUpdatedTimestamp() { + return Optional.ofNullable(this.lastUpdatedTimestamp); + } + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + public List states() { + return this.states == null ? List.of() : this.states; + } + /** + * @return Tags to be attached to the serving endpoint and automatically propagated to billing logs. + * + */ + public List tags() { + return this.tags == null ? List.of() : this.tags; + } + public Optional task() { + return Optional.ofNullable(this.task); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List aiGateways; + private @Nullable List configs; + private @Nullable Integer creationTimestamp; + private @Nullable String creator; + private @Nullable String id; + private @Nullable Integer lastUpdatedTimestamp; + private @Nullable String name; + private @Nullable List states; + private @Nullable List tags; + private @Nullable String task; + public Builder() {} + public Builder(GetServingEndpointsEndpoint defaults) { + Objects.requireNonNull(defaults); + this.aiGateways = defaults.aiGateways; + this.configs = defaults.configs; + this.creationTimestamp = defaults.creationTimestamp; + this.creator = defaults.creator; + this.id = defaults.id; + this.lastUpdatedTimestamp = defaults.lastUpdatedTimestamp; + this.name = defaults.name; + this.states = defaults.states; + this.tags = defaults.tags; + this.task = defaults.task; + } + + @CustomType.Setter + public Builder aiGateways(@Nullable List aiGateways) { + + this.aiGateways = aiGateways; + return this; + } + public Builder aiGateways(GetServingEndpointsEndpointAiGateway... aiGateways) { + return aiGateways(List.of(aiGateways)); + } + @CustomType.Setter + public Builder configs(@Nullable List configs) { + + this.configs = configs; + return this; + } + public Builder configs(GetServingEndpointsEndpointConfig... configs) { + return configs(List.of(configs)); + } + @CustomType.Setter + public Builder creationTimestamp(@Nullable Integer creationTimestamp) { + + this.creationTimestamp = creationTimestamp; + return this; + } + @CustomType.Setter + public Builder creator(@Nullable String creator) { + + this.creator = creator; + return this; + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder lastUpdatedTimestamp(@Nullable Integer lastUpdatedTimestamp) { + + this.lastUpdatedTimestamp = lastUpdatedTimestamp; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder states(@Nullable List states) { + + this.states = states; + return this; + } + public Builder states(GetServingEndpointsEndpointState... states) { + return states(List.of(states)); + } + @CustomType.Setter + public Builder tags(@Nullable List tags) { + + this.tags = tags; + return this; + } + public Builder tags(GetServingEndpointsEndpointTag... tags) { + return tags(List.of(tags)); + } + @CustomType.Setter + public Builder task(@Nullable String task) { + + this.task = task; + return this; + } + public GetServingEndpointsEndpoint build() { + final var _resultValue = new GetServingEndpointsEndpoint(); + _resultValue.aiGateways = aiGateways; + _resultValue.configs = configs; + _resultValue.creationTimestamp = creationTimestamp; + _resultValue.creator = creator; + _resultValue.id = id; + _resultValue.lastUpdatedTimestamp = lastUpdatedTimestamp; + _resultValue.name = name; + _resultValue.states = states; + _resultValue.tags = tags; + _resultValue.task = task; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGateway.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGateway.java new file mode 100644 index 00000000..01c8772c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGateway.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayGuardrail; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayRateLimit; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfig; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGateway { + private @Nullable List guardrails; + private @Nullable List inferenceTableConfigs; + /** + * @return A list of rate limit blocks to be applied to the serving endpoint. + * + */ + private @Nullable List rateLimits; + private @Nullable List usageTrackingConfigs; + + private GetServingEndpointsEndpointAiGateway() {} + public List guardrails() { + return this.guardrails == null ? List.of() : this.guardrails; + } + public List inferenceTableConfigs() { + return this.inferenceTableConfigs == null ? List.of() : this.inferenceTableConfigs; + } + /** + * @return A list of rate limit blocks to be applied to the serving endpoint. + * + */ + public List rateLimits() { + return this.rateLimits == null ? List.of() : this.rateLimits; + } + public List usageTrackingConfigs() { + return this.usageTrackingConfigs == null ? List.of() : this.usageTrackingConfigs; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGateway defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List guardrails; + private @Nullable List inferenceTableConfigs; + private @Nullable List rateLimits; + private @Nullable List usageTrackingConfigs; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGateway defaults) { + Objects.requireNonNull(defaults); + this.guardrails = defaults.guardrails; + this.inferenceTableConfigs = defaults.inferenceTableConfigs; + this.rateLimits = defaults.rateLimits; + this.usageTrackingConfigs = defaults.usageTrackingConfigs; + } + + @CustomType.Setter + public Builder guardrails(@Nullable List guardrails) { + + this.guardrails = guardrails; + return this; + } + public Builder guardrails(GetServingEndpointsEndpointAiGatewayGuardrail... guardrails) { + return guardrails(List.of(guardrails)); + } + @CustomType.Setter + public Builder inferenceTableConfigs(@Nullable List inferenceTableConfigs) { + + this.inferenceTableConfigs = inferenceTableConfigs; + return this; + } + public Builder inferenceTableConfigs(GetServingEndpointsEndpointAiGatewayInferenceTableConfig... inferenceTableConfigs) { + return inferenceTableConfigs(List.of(inferenceTableConfigs)); + } + @CustomType.Setter + public Builder rateLimits(@Nullable List rateLimits) { + + this.rateLimits = rateLimits; + return this; + } + public Builder rateLimits(GetServingEndpointsEndpointAiGatewayRateLimit... rateLimits) { + return rateLimits(List.of(rateLimits)); + } + @CustomType.Setter + public Builder usageTrackingConfigs(@Nullable List usageTrackingConfigs) { + + this.usageTrackingConfigs = usageTrackingConfigs; + return this; + } + public Builder usageTrackingConfigs(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig... usageTrackingConfigs) { + return usageTrackingConfigs(List.of(usageTrackingConfigs)); + } + public GetServingEndpointsEndpointAiGateway build() { + final var _resultValue = new GetServingEndpointsEndpointAiGateway(); + _resultValue.guardrails = guardrails; + _resultValue.inferenceTableConfigs = inferenceTableConfigs; + _resultValue.rateLimits = rateLimits; + _resultValue.usageTrackingConfigs = usageTrackingConfigs; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrail.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrail.java new file mode 100644 index 00000000..9bb042ec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrail.java @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputProperty; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutput; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayGuardrail { + private @Nullable List inputProperties; + private @Nullable List outputs; + + private GetServingEndpointsEndpointAiGatewayGuardrail() {} + public List inputProperties() { + return this.inputProperties == null ? List.of() : this.inputProperties; + } + public List outputs() { + return this.outputs == null ? List.of() : this.outputs; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List inputProperties; + private @Nullable List outputs; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayGuardrail defaults) { + Objects.requireNonNull(defaults); + this.inputProperties = defaults.inputProperties; + this.outputs = defaults.outputs; + } + + @CustomType.Setter + public Builder inputProperties(@Nullable List inputProperties) { + + this.inputProperties = inputProperties; + return this; + } + public Builder inputProperties(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty... inputProperties) { + return inputProperties(List.of(inputProperties)); + } + @CustomType.Setter + public Builder outputs(@Nullable List outputs) { + + this.outputs = outputs; + return this; + } + public Builder outputs(GetServingEndpointsEndpointAiGatewayGuardrailOutput... outputs) { + return outputs(List.of(outputs)); + } + public GetServingEndpointsEndpointAiGatewayGuardrail build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayGuardrail(); + _resultValue.inputProperties = inputProperties; + _resultValue.outputs = outputs; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.java new file mode 100644 index 00000000..0408f75d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputProperty.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayGuardrailInputProperty { + private @Nullable List invalidKeywords; + private @Nullable List piis; + private @Nullable Boolean safety; + private @Nullable List validTopics; + + private GetServingEndpointsEndpointAiGatewayGuardrailInputProperty() {} + public List invalidKeywords() { + return this.invalidKeywords == null ? List.of() : this.invalidKeywords; + } + public List piis() { + return this.piis == null ? List.of() : this.piis; + } + public Optional safety() { + return Optional.ofNullable(this.safety); + } + public List validTopics() { + return this.validTopics == null ? List.of() : this.validTopics; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List invalidKeywords; + private @Nullable List piis; + private @Nullable Boolean safety; + private @Nullable List validTopics; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailInputProperty defaults) { + Objects.requireNonNull(defaults); + this.invalidKeywords = defaults.invalidKeywords; + this.piis = defaults.piis; + this.safety = defaults.safety; + this.validTopics = defaults.validTopics; + } + + @CustomType.Setter + public Builder invalidKeywords(@Nullable List invalidKeywords) { + + this.invalidKeywords = invalidKeywords; + return this; + } + public Builder invalidKeywords(String... invalidKeywords) { + return invalidKeywords(List.of(invalidKeywords)); + } + @CustomType.Setter + public Builder piis(@Nullable List piis) { + + this.piis = piis; + return this; + } + public Builder piis(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii... piis) { + return piis(List.of(piis)); + } + @CustomType.Setter + public Builder safety(@Nullable Boolean safety) { + + this.safety = safety; + return this; + } + @CustomType.Setter + public Builder validTopics(@Nullable List validTopics) { + + this.validTopics = validTopics; + return this; + } + public Builder validTopics(String... validTopics) { + return validTopics(List.of(validTopics)); + } + public GetServingEndpointsEndpointAiGatewayGuardrailInputProperty build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayGuardrailInputProperty(); + _resultValue.invalidKeywords = invalidKeywords; + _resultValue.piis = piis; + _resultValue.safety = safety; + _resultValue.validTopics = validTopics; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.java new file mode 100644 index 00000000..bcd737f6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii { + private String behavior; + + private GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii() {} + public String behavior() { + return this.behavior; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String behavior; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii defaults) { + Objects.requireNonNull(defaults); + this.behavior = defaults.behavior; + } + + @CustomType.Setter + public Builder behavior(String behavior) { + if (behavior == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii", "behavior"); + } + this.behavior = behavior; + return this; + } + public GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii(); + _resultValue.behavior = behavior; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.java new file mode 100644 index 00000000..7d58f96c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutput.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPii; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayGuardrailOutput { + private @Nullable List invalidKeywords; + private @Nullable List piis; + private @Nullable Boolean safety; + private @Nullable List validTopics; + + private GetServingEndpointsEndpointAiGatewayGuardrailOutput() {} + public List invalidKeywords() { + return this.invalidKeywords == null ? List.of() : this.invalidKeywords; + } + public List piis() { + return this.piis == null ? List.of() : this.piis; + } + public Optional safety() { + return Optional.ofNullable(this.safety); + } + public List validTopics() { + return this.validTopics == null ? List.of() : this.validTopics; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailOutput defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List invalidKeywords; + private @Nullable List piis; + private @Nullable Boolean safety; + private @Nullable List validTopics; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailOutput defaults) { + Objects.requireNonNull(defaults); + this.invalidKeywords = defaults.invalidKeywords; + this.piis = defaults.piis; + this.safety = defaults.safety; + this.validTopics = defaults.validTopics; + } + + @CustomType.Setter + public Builder invalidKeywords(@Nullable List invalidKeywords) { + + this.invalidKeywords = invalidKeywords; + return this; + } + public Builder invalidKeywords(String... invalidKeywords) { + return invalidKeywords(List.of(invalidKeywords)); + } + @CustomType.Setter + public Builder piis(@Nullable List piis) { + + this.piis = piis; + return this; + } + public Builder piis(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii... piis) { + return piis(List.of(piis)); + } + @CustomType.Setter + public Builder safety(@Nullable Boolean safety) { + + this.safety = safety; + return this; + } + @CustomType.Setter + public Builder validTopics(@Nullable List validTopics) { + + this.validTopics = validTopics; + return this; + } + public Builder validTopics(String... validTopics) { + return validTopics(List.of(validTopics)); + } + public GetServingEndpointsEndpointAiGatewayGuardrailOutput build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayGuardrailOutput(); + _resultValue.invalidKeywords = invalidKeywords; + _resultValue.piis = piis; + _resultValue.safety = safety; + _resultValue.validTopics = validTopics; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.java new file mode 100644 index 00000000..bd952076 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayGuardrailOutputPii.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayGuardrailOutputPii { + private String behavior; + + private GetServingEndpointsEndpointAiGatewayGuardrailOutputPii() {} + public String behavior() { + return this.behavior; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String behavior; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayGuardrailOutputPii defaults) { + Objects.requireNonNull(defaults); + this.behavior = defaults.behavior; + } + + @CustomType.Setter + public Builder behavior(String behavior) { + if (behavior == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayGuardrailOutputPii", "behavior"); + } + this.behavior = behavior; + return this; + } + public GetServingEndpointsEndpointAiGatewayGuardrailOutputPii build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayGuardrailOutputPii(); + _resultValue.behavior = behavior; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.java new file mode 100644 index 00000000..8489228b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayInferenceTableConfig.java @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayInferenceTableConfig { + private @Nullable String catalogName; + private @Nullable Boolean enabled; + private @Nullable String schemaName; + private @Nullable String tableNamePrefix; + + private GetServingEndpointsEndpointAiGatewayInferenceTableConfig() {} + public Optional catalogName() { + return Optional.ofNullable(this.catalogName); + } + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + public Optional schemaName() { + return Optional.ofNullable(this.schemaName); + } + public Optional tableNamePrefix() { + return Optional.ofNullable(this.tableNamePrefix); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayInferenceTableConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String catalogName; + private @Nullable Boolean enabled; + private @Nullable String schemaName; + private @Nullable String tableNamePrefix; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayInferenceTableConfig defaults) { + Objects.requireNonNull(defaults); + this.catalogName = defaults.catalogName; + this.enabled = defaults.enabled; + this.schemaName = defaults.schemaName; + this.tableNamePrefix = defaults.tableNamePrefix; + } + + @CustomType.Setter + public Builder catalogName(@Nullable String catalogName) { + + this.catalogName = catalogName; + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder schemaName(@Nullable String schemaName) { + + this.schemaName = schemaName; + return this; + } + @CustomType.Setter + public Builder tableNamePrefix(@Nullable String tableNamePrefix) { + + this.tableNamePrefix = tableNamePrefix; + return this; + } + public GetServingEndpointsEndpointAiGatewayInferenceTableConfig build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayInferenceTableConfig(); + _resultValue.catalogName = catalogName; + _resultValue.enabled = enabled; + _resultValue.schemaName = schemaName; + _resultValue.tableNamePrefix = tableNamePrefix; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayRateLimit.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayRateLimit.java new file mode 100644 index 00000000..b0a175bd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayRateLimit.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayRateLimit { + private Integer calls; + private @Nullable String key; + private String renewalPeriod; + + private GetServingEndpointsEndpointAiGatewayRateLimit() {} + public Integer calls() { + return this.calls; + } + public Optional key() { + return Optional.ofNullable(this.key); + } + public String renewalPeriod() { + return this.renewalPeriod; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayRateLimit defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer calls; + private @Nullable String key; + private String renewalPeriod; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayRateLimit defaults) { + Objects.requireNonNull(defaults); + this.calls = defaults.calls; + this.key = defaults.key; + this.renewalPeriod = defaults.renewalPeriod; + } + + @CustomType.Setter + public Builder calls(Integer calls) { + if (calls == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayRateLimit", "calls"); + } + this.calls = calls; + return this; + } + @CustomType.Setter + public Builder key(@Nullable String key) { + + this.key = key; + return this; + } + @CustomType.Setter + public Builder renewalPeriod(String renewalPeriod) { + if (renewalPeriod == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointAiGatewayRateLimit", "renewalPeriod"); + } + this.renewalPeriod = renewalPeriod; + return this; + } + public GetServingEndpointsEndpointAiGatewayRateLimit build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayRateLimit(); + _resultValue.calls = calls; + _resultValue.key = key; + _resultValue.renewalPeriod = renewalPeriod; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.java new file mode 100644 index 00000000..175e967f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointAiGatewayUsageTrackingConfig.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointAiGatewayUsageTrackingConfig { + private @Nullable Boolean enabled; + + private GetServingEndpointsEndpointAiGatewayUsageTrackingConfig() {} + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean enabled; + public Builder() {} + public Builder(GetServingEndpointsEndpointAiGatewayUsageTrackingConfig defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + public GetServingEndpointsEndpointAiGatewayUsageTrackingConfig build() { + final var _resultValue = new GetServingEndpointsEndpointAiGatewayUsageTrackingConfig(); + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfig.java new file mode 100644 index 00000000..97364ec0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfig.java @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntity; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedModel; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfig { + private @Nullable List servedEntities; + private @Nullable List servedModels; + + private GetServingEndpointsEndpointConfig() {} + public List servedEntities() { + return this.servedEntities == null ? List.of() : this.servedEntities; + } + public List servedModels() { + return this.servedModels == null ? List.of() : this.servedModels; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List servedEntities; + private @Nullable List servedModels; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfig defaults) { + Objects.requireNonNull(defaults); + this.servedEntities = defaults.servedEntities; + this.servedModels = defaults.servedModels; + } + + @CustomType.Setter + public Builder servedEntities(@Nullable List servedEntities) { + + this.servedEntities = servedEntities; + return this; + } + public Builder servedEntities(GetServingEndpointsEndpointConfigServedEntity... servedEntities) { + return servedEntities(List.of(servedEntities)); + } + @CustomType.Setter + public Builder servedModels(@Nullable List servedModels) { + + this.servedModels = servedModels; + return this; + } + public Builder servedModels(GetServingEndpointsEndpointConfigServedModel... servedModels) { + return servedModels(List.of(servedModels)); + } + public GetServingEndpointsEndpointConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfig(); + _resultValue.servedEntities = servedEntities; + _resultValue.servedModels = servedModels; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntity.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntity.java new file mode 100644 index 00000000..7f0062bd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntity.java @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModel; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityFoundationModel; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntity { + private @Nullable String entityName; + private @Nullable String entityVersion; + private @Nullable List externalModels; + private @Nullable List foundationModels; + /** + * @return The name of the model serving endpoint. + * + */ + private @Nullable String name; + + private GetServingEndpointsEndpointConfigServedEntity() {} + public Optional entityName() { + return Optional.ofNullable(this.entityName); + } + public Optional entityVersion() { + return Optional.ofNullable(this.entityVersion); + } + public List externalModels() { + return this.externalModels == null ? List.of() : this.externalModels; + } + public List foundationModels() { + return this.foundationModels == null ? List.of() : this.foundationModels; + } + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntity defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String entityName; + private @Nullable String entityVersion; + private @Nullable List externalModels; + private @Nullable List foundationModels; + private @Nullable String name; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntity defaults) { + Objects.requireNonNull(defaults); + this.entityName = defaults.entityName; + this.entityVersion = defaults.entityVersion; + this.externalModels = defaults.externalModels; + this.foundationModels = defaults.foundationModels; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder entityName(@Nullable String entityName) { + + this.entityName = entityName; + return this; + } + @CustomType.Setter + public Builder entityVersion(@Nullable String entityVersion) { + + this.entityVersion = entityVersion; + return this; + } + @CustomType.Setter + public Builder externalModels(@Nullable List externalModels) { + + this.externalModels = externalModels; + return this; + } + public Builder externalModels(GetServingEndpointsEndpointConfigServedEntityExternalModel... externalModels) { + return externalModels(List.of(externalModels)); + } + @CustomType.Setter + public Builder foundationModels(@Nullable List foundationModels) { + + this.foundationModels = foundationModels; + return this; + } + public Builder foundationModels(GetServingEndpointsEndpointConfigServedEntityFoundationModel... foundationModels) { + return foundationModels(List.of(foundationModels)); + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public GetServingEndpointsEndpointConfigServedEntity build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntity(); + _resultValue.entityName = entityName; + _resultValue.entityVersion = entityVersion; + _resultValue.externalModels = externalModels; + _resultValue.foundationModels = foundationModels; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.java new file mode 100644 index 00000000..836e5aab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModel.java @@ -0,0 +1,226 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModel { + private @Nullable List ai21labsConfigs; + private @Nullable List amazonBedrockConfigs; + private @Nullable List anthropicConfigs; + private @Nullable List cohereConfigs; + private @Nullable List databricksModelServingConfigs; + private @Nullable List googleCloudVertexAiConfigs; + /** + * @return The name of the model serving endpoint. + * + */ + private String name; + private @Nullable List openaiConfigs; + private @Nullable List palmConfigs; + private String provider; + private String task; + + private GetServingEndpointsEndpointConfigServedEntityExternalModel() {} + public List ai21labsConfigs() { + return this.ai21labsConfigs == null ? List.of() : this.ai21labsConfigs; + } + public List amazonBedrockConfigs() { + return this.amazonBedrockConfigs == null ? List.of() : this.amazonBedrockConfigs; + } + public List anthropicConfigs() { + return this.anthropicConfigs == null ? List.of() : this.anthropicConfigs; + } + public List cohereConfigs() { + return this.cohereConfigs == null ? List.of() : this.cohereConfigs; + } + public List databricksModelServingConfigs() { + return this.databricksModelServingConfigs == null ? List.of() : this.databricksModelServingConfigs; + } + public List googleCloudVertexAiConfigs() { + return this.googleCloudVertexAiConfigs == null ? List.of() : this.googleCloudVertexAiConfigs; + } + /** + * @return The name of the model serving endpoint. + * + */ + public String name() { + return this.name; + } + public List openaiConfigs() { + return this.openaiConfigs == null ? List.of() : this.openaiConfigs; + } + public List palmConfigs() { + return this.palmConfigs == null ? List.of() : this.palmConfigs; + } + public String provider() { + return this.provider; + } + public String task() { + return this.task; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModel defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List ai21labsConfigs; + private @Nullable List amazonBedrockConfigs; + private @Nullable List anthropicConfigs; + private @Nullable List cohereConfigs; + private @Nullable List databricksModelServingConfigs; + private @Nullable List googleCloudVertexAiConfigs; + private String name; + private @Nullable List openaiConfigs; + private @Nullable List palmConfigs; + private String provider; + private String task; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModel defaults) { + Objects.requireNonNull(defaults); + this.ai21labsConfigs = defaults.ai21labsConfigs; + this.amazonBedrockConfigs = defaults.amazonBedrockConfigs; + this.anthropicConfigs = defaults.anthropicConfigs; + this.cohereConfigs = defaults.cohereConfigs; + this.databricksModelServingConfigs = defaults.databricksModelServingConfigs; + this.googleCloudVertexAiConfigs = defaults.googleCloudVertexAiConfigs; + this.name = defaults.name; + this.openaiConfigs = defaults.openaiConfigs; + this.palmConfigs = defaults.palmConfigs; + this.provider = defaults.provider; + this.task = defaults.task; + } + + @CustomType.Setter + public Builder ai21labsConfigs(@Nullable List ai21labsConfigs) { + + this.ai21labsConfigs = ai21labsConfigs; + return this; + } + public Builder ai21labsConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig... ai21labsConfigs) { + return ai21labsConfigs(List.of(ai21labsConfigs)); + } + @CustomType.Setter + public Builder amazonBedrockConfigs(@Nullable List amazonBedrockConfigs) { + + this.amazonBedrockConfigs = amazonBedrockConfigs; + return this; + } + public Builder amazonBedrockConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig... amazonBedrockConfigs) { + return amazonBedrockConfigs(List.of(amazonBedrockConfigs)); + } + @CustomType.Setter + public Builder anthropicConfigs(@Nullable List anthropicConfigs) { + + this.anthropicConfigs = anthropicConfigs; + return this; + } + public Builder anthropicConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig... anthropicConfigs) { + return anthropicConfigs(List.of(anthropicConfigs)); + } + @CustomType.Setter + public Builder cohereConfigs(@Nullable List cohereConfigs) { + + this.cohereConfigs = cohereConfigs; + return this; + } + public Builder cohereConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig... cohereConfigs) { + return cohereConfigs(List.of(cohereConfigs)); + } + @CustomType.Setter + public Builder databricksModelServingConfigs(@Nullable List databricksModelServingConfigs) { + + this.databricksModelServingConfigs = databricksModelServingConfigs; + return this; + } + public Builder databricksModelServingConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig... databricksModelServingConfigs) { + return databricksModelServingConfigs(List.of(databricksModelServingConfigs)); + } + @CustomType.Setter + public Builder googleCloudVertexAiConfigs(@Nullable List googleCloudVertexAiConfigs) { + + this.googleCloudVertexAiConfigs = googleCloudVertexAiConfigs; + return this; + } + public Builder googleCloudVertexAiConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig... googleCloudVertexAiConfigs) { + return googleCloudVertexAiConfigs(List.of(googleCloudVertexAiConfigs)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModel", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder openaiConfigs(@Nullable List openaiConfigs) { + + this.openaiConfigs = openaiConfigs; + return this; + } + public Builder openaiConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig... openaiConfigs) { + return openaiConfigs(List.of(openaiConfigs)); + } + @CustomType.Setter + public Builder palmConfigs(@Nullable List palmConfigs) { + + this.palmConfigs = palmConfigs; + return this; + } + public Builder palmConfigs(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig... palmConfigs) { + return palmConfigs(List.of(palmConfigs)); + } + @CustomType.Setter + public Builder provider(String provider) { + if (provider == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModel", "provider"); + } + this.provider = provider; + return this; + } + @CustomType.Setter + public Builder task(String task) { + if (task == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModel", "task"); + } + this.task = task; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModel build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModel(); + _resultValue.ai21labsConfigs = ai21labsConfigs; + _resultValue.amazonBedrockConfigs = amazonBedrockConfigs; + _resultValue.anthropicConfigs = anthropicConfigs; + _resultValue.cohereConfigs = cohereConfigs; + _resultValue.databricksModelServingConfigs = databricksModelServingConfigs; + _resultValue.googleCloudVertexAiConfigs = googleCloudVertexAiConfigs; + _resultValue.name = name; + _resultValue.openaiConfigs = openaiConfigs; + _resultValue.palmConfigs = palmConfigs; + _resultValue.provider = provider; + _resultValue.task = task; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.java new file mode 100644 index 00000000..340c4dac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig { + private @Nullable String ai21labsApiKey; + private @Nullable String ai21labsApiKeyPlaintext; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig() {} + public Optional ai21labsApiKey() { + return Optional.ofNullable(this.ai21labsApiKey); + } + public Optional ai21labsApiKeyPlaintext() { + return Optional.ofNullable(this.ai21labsApiKeyPlaintext); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String ai21labsApiKey; + private @Nullable String ai21labsApiKeyPlaintext; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig defaults) { + Objects.requireNonNull(defaults); + this.ai21labsApiKey = defaults.ai21labsApiKey; + this.ai21labsApiKeyPlaintext = defaults.ai21labsApiKeyPlaintext; + } + + @CustomType.Setter + public Builder ai21labsApiKey(@Nullable String ai21labsApiKey) { + + this.ai21labsApiKey = ai21labsApiKey; + return this; + } + @CustomType.Setter + public Builder ai21labsApiKeyPlaintext(@Nullable String ai21labsApiKeyPlaintext) { + + this.ai21labsApiKeyPlaintext = ai21labsApiKeyPlaintext; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig(); + _resultValue.ai21labsApiKey = ai21labsApiKey; + _resultValue.ai21labsApiKeyPlaintext = ai21labsApiKeyPlaintext; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.java new file mode 100644 index 00000000..bfc681f4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig.java @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig { + private @Nullable String awsAccessKeyId; + private @Nullable String awsAccessKeyIdPlaintext; + private String awsRegion; + private @Nullable String awsSecretAccessKey; + private @Nullable String awsSecretAccessKeyPlaintext; + private String bedrockProvider; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig() {} + public Optional awsAccessKeyId() { + return Optional.ofNullable(this.awsAccessKeyId); + } + public Optional awsAccessKeyIdPlaintext() { + return Optional.ofNullable(this.awsAccessKeyIdPlaintext); + } + public String awsRegion() { + return this.awsRegion; + } + public Optional awsSecretAccessKey() { + return Optional.ofNullable(this.awsSecretAccessKey); + } + public Optional awsSecretAccessKeyPlaintext() { + return Optional.ofNullable(this.awsSecretAccessKeyPlaintext); + } + public String bedrockProvider() { + return this.bedrockProvider; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String awsAccessKeyId; + private @Nullable String awsAccessKeyIdPlaintext; + private String awsRegion; + private @Nullable String awsSecretAccessKey; + private @Nullable String awsSecretAccessKeyPlaintext; + private String bedrockProvider; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig defaults) { + Objects.requireNonNull(defaults); + this.awsAccessKeyId = defaults.awsAccessKeyId; + this.awsAccessKeyIdPlaintext = defaults.awsAccessKeyIdPlaintext; + this.awsRegion = defaults.awsRegion; + this.awsSecretAccessKey = defaults.awsSecretAccessKey; + this.awsSecretAccessKeyPlaintext = defaults.awsSecretAccessKeyPlaintext; + this.bedrockProvider = defaults.bedrockProvider; + } + + @CustomType.Setter + public Builder awsAccessKeyId(@Nullable String awsAccessKeyId) { + + this.awsAccessKeyId = awsAccessKeyId; + return this; + } + @CustomType.Setter + public Builder awsAccessKeyIdPlaintext(@Nullable String awsAccessKeyIdPlaintext) { + + this.awsAccessKeyIdPlaintext = awsAccessKeyIdPlaintext; + return this; + } + @CustomType.Setter + public Builder awsRegion(String awsRegion) { + if (awsRegion == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig", "awsRegion"); + } + this.awsRegion = awsRegion; + return this; + } + @CustomType.Setter + public Builder awsSecretAccessKey(@Nullable String awsSecretAccessKey) { + + this.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + @CustomType.Setter + public Builder awsSecretAccessKeyPlaintext(@Nullable String awsSecretAccessKeyPlaintext) { + + this.awsSecretAccessKeyPlaintext = awsSecretAccessKeyPlaintext; + return this; + } + @CustomType.Setter + public Builder bedrockProvider(String bedrockProvider) { + if (bedrockProvider == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig", "bedrockProvider"); + } + this.bedrockProvider = bedrockProvider; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig(); + _resultValue.awsAccessKeyId = awsAccessKeyId; + _resultValue.awsAccessKeyIdPlaintext = awsAccessKeyIdPlaintext; + _resultValue.awsRegion = awsRegion; + _resultValue.awsSecretAccessKey = awsSecretAccessKey; + _resultValue.awsSecretAccessKeyPlaintext = awsSecretAccessKeyPlaintext; + _resultValue.bedrockProvider = bedrockProvider; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.java new file mode 100644 index 00000000..1c931f41 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig { + private @Nullable String anthropicApiKey; + private @Nullable String anthropicApiKeyPlaintext; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig() {} + public Optional anthropicApiKey() { + return Optional.ofNullable(this.anthropicApiKey); + } + public Optional anthropicApiKeyPlaintext() { + return Optional.ofNullable(this.anthropicApiKeyPlaintext); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String anthropicApiKey; + private @Nullable String anthropicApiKeyPlaintext; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig defaults) { + Objects.requireNonNull(defaults); + this.anthropicApiKey = defaults.anthropicApiKey; + this.anthropicApiKeyPlaintext = defaults.anthropicApiKeyPlaintext; + } + + @CustomType.Setter + public Builder anthropicApiKey(@Nullable String anthropicApiKey) { + + this.anthropicApiKey = anthropicApiKey; + return this; + } + @CustomType.Setter + public Builder anthropicApiKeyPlaintext(@Nullable String anthropicApiKeyPlaintext) { + + this.anthropicApiKeyPlaintext = anthropicApiKeyPlaintext; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig(); + _resultValue.anthropicApiKey = anthropicApiKey; + _resultValue.anthropicApiKeyPlaintext = anthropicApiKeyPlaintext; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.java new file mode 100644 index 00000000..c317fa68 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig { + private @Nullable String cohereApiBase; + private @Nullable String cohereApiKey; + private @Nullable String cohereApiKeyPlaintext; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig() {} + public Optional cohereApiBase() { + return Optional.ofNullable(this.cohereApiBase); + } + public Optional cohereApiKey() { + return Optional.ofNullable(this.cohereApiKey); + } + public Optional cohereApiKeyPlaintext() { + return Optional.ofNullable(this.cohereApiKeyPlaintext); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String cohereApiBase; + private @Nullable String cohereApiKey; + private @Nullable String cohereApiKeyPlaintext; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig defaults) { + Objects.requireNonNull(defaults); + this.cohereApiBase = defaults.cohereApiBase; + this.cohereApiKey = defaults.cohereApiKey; + this.cohereApiKeyPlaintext = defaults.cohereApiKeyPlaintext; + } + + @CustomType.Setter + public Builder cohereApiBase(@Nullable String cohereApiBase) { + + this.cohereApiBase = cohereApiBase; + return this; + } + @CustomType.Setter + public Builder cohereApiKey(@Nullable String cohereApiKey) { + + this.cohereApiKey = cohereApiKey; + return this; + } + @CustomType.Setter + public Builder cohereApiKeyPlaintext(@Nullable String cohereApiKeyPlaintext) { + + this.cohereApiKeyPlaintext = cohereApiKeyPlaintext; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig(); + _resultValue.cohereApiBase = cohereApiBase; + _resultValue.cohereApiKey = cohereApiKey; + _resultValue.cohereApiKeyPlaintext = cohereApiKeyPlaintext; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.java new file mode 100644 index 00000000..70744cfc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig { + private @Nullable String databricksApiToken; + private @Nullable String databricksApiTokenPlaintext; + private String databricksWorkspaceUrl; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig() {} + public Optional databricksApiToken() { + return Optional.ofNullable(this.databricksApiToken); + } + public Optional databricksApiTokenPlaintext() { + return Optional.ofNullable(this.databricksApiTokenPlaintext); + } + public String databricksWorkspaceUrl() { + return this.databricksWorkspaceUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String databricksApiToken; + private @Nullable String databricksApiTokenPlaintext; + private String databricksWorkspaceUrl; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig defaults) { + Objects.requireNonNull(defaults); + this.databricksApiToken = defaults.databricksApiToken; + this.databricksApiTokenPlaintext = defaults.databricksApiTokenPlaintext; + this.databricksWorkspaceUrl = defaults.databricksWorkspaceUrl; + } + + @CustomType.Setter + public Builder databricksApiToken(@Nullable String databricksApiToken) { + + this.databricksApiToken = databricksApiToken; + return this; + } + @CustomType.Setter + public Builder databricksApiTokenPlaintext(@Nullable String databricksApiTokenPlaintext) { + + this.databricksApiTokenPlaintext = databricksApiTokenPlaintext; + return this; + } + @CustomType.Setter + public Builder databricksWorkspaceUrl(String databricksWorkspaceUrl) { + if (databricksWorkspaceUrl == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig", "databricksWorkspaceUrl"); + } + this.databricksWorkspaceUrl = databricksWorkspaceUrl; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig(); + _resultValue.databricksApiToken = databricksApiToken; + _resultValue.databricksApiTokenPlaintext = databricksApiTokenPlaintext; + _resultValue.databricksWorkspaceUrl = databricksWorkspaceUrl; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.java new file mode 100644 index 00000000..8f6781c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + private @Nullable String privateKey; + private @Nullable String privateKeyPlaintext; + private @Nullable String projectId; + private @Nullable String region; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig() {} + public Optional privateKey() { + return Optional.ofNullable(this.privateKey); + } + public Optional privateKeyPlaintext() { + return Optional.ofNullable(this.privateKeyPlaintext); + } + public Optional projectId() { + return Optional.ofNullable(this.projectId); + } + public Optional region() { + return Optional.ofNullable(this.region); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String privateKey; + private @Nullable String privateKeyPlaintext; + private @Nullable String projectId; + private @Nullable String region; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig defaults) { + Objects.requireNonNull(defaults); + this.privateKey = defaults.privateKey; + this.privateKeyPlaintext = defaults.privateKeyPlaintext; + this.projectId = defaults.projectId; + this.region = defaults.region; + } + + @CustomType.Setter + public Builder privateKey(@Nullable String privateKey) { + + this.privateKey = privateKey; + return this; + } + @CustomType.Setter + public Builder privateKeyPlaintext(@Nullable String privateKeyPlaintext) { + + this.privateKeyPlaintext = privateKeyPlaintext; + return this; + } + @CustomType.Setter + public Builder projectId(@Nullable String projectId) { + + this.projectId = projectId; + return this; + } + @CustomType.Setter + public Builder region(@Nullable String region) { + + this.region = region; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig(); + _resultValue.privateKey = privateKey; + _resultValue.privateKeyPlaintext = privateKeyPlaintext; + _resultValue.projectId = projectId; + _resultValue.region = region; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.java new file mode 100644 index 00000000..adafd488 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig.java @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig { + private @Nullable String microsoftEntraClientId; + private @Nullable String microsoftEntraClientSecret; + private @Nullable String microsoftEntraClientSecretPlaintext; + private @Nullable String microsoftEntraTenantId; + private @Nullable String openaiApiBase; + private @Nullable String openaiApiKey; + private @Nullable String openaiApiKeyPlaintext; + private @Nullable String openaiApiType; + private @Nullable String openaiApiVersion; + private @Nullable String openaiDeploymentName; + private @Nullable String openaiOrganization; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig() {} + public Optional microsoftEntraClientId() { + return Optional.ofNullable(this.microsoftEntraClientId); + } + public Optional microsoftEntraClientSecret() { + return Optional.ofNullable(this.microsoftEntraClientSecret); + } + public Optional microsoftEntraClientSecretPlaintext() { + return Optional.ofNullable(this.microsoftEntraClientSecretPlaintext); + } + public Optional microsoftEntraTenantId() { + return Optional.ofNullable(this.microsoftEntraTenantId); + } + public Optional openaiApiBase() { + return Optional.ofNullable(this.openaiApiBase); + } + public Optional openaiApiKey() { + return Optional.ofNullable(this.openaiApiKey); + } + public Optional openaiApiKeyPlaintext() { + return Optional.ofNullable(this.openaiApiKeyPlaintext); + } + public Optional openaiApiType() { + return Optional.ofNullable(this.openaiApiType); + } + public Optional openaiApiVersion() { + return Optional.ofNullable(this.openaiApiVersion); + } + public Optional openaiDeploymentName() { + return Optional.ofNullable(this.openaiDeploymentName); + } + public Optional openaiOrganization() { + return Optional.ofNullable(this.openaiOrganization); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String microsoftEntraClientId; + private @Nullable String microsoftEntraClientSecret; + private @Nullable String microsoftEntraClientSecretPlaintext; + private @Nullable String microsoftEntraTenantId; + private @Nullable String openaiApiBase; + private @Nullable String openaiApiKey; + private @Nullable String openaiApiKeyPlaintext; + private @Nullable String openaiApiType; + private @Nullable String openaiApiVersion; + private @Nullable String openaiDeploymentName; + private @Nullable String openaiOrganization; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig defaults) { + Objects.requireNonNull(defaults); + this.microsoftEntraClientId = defaults.microsoftEntraClientId; + this.microsoftEntraClientSecret = defaults.microsoftEntraClientSecret; + this.microsoftEntraClientSecretPlaintext = defaults.microsoftEntraClientSecretPlaintext; + this.microsoftEntraTenantId = defaults.microsoftEntraTenantId; + this.openaiApiBase = defaults.openaiApiBase; + this.openaiApiKey = defaults.openaiApiKey; + this.openaiApiKeyPlaintext = defaults.openaiApiKeyPlaintext; + this.openaiApiType = defaults.openaiApiType; + this.openaiApiVersion = defaults.openaiApiVersion; + this.openaiDeploymentName = defaults.openaiDeploymentName; + this.openaiOrganization = defaults.openaiOrganization; + } + + @CustomType.Setter + public Builder microsoftEntraClientId(@Nullable String microsoftEntraClientId) { + + this.microsoftEntraClientId = microsoftEntraClientId; + return this; + } + @CustomType.Setter + public Builder microsoftEntraClientSecret(@Nullable String microsoftEntraClientSecret) { + + this.microsoftEntraClientSecret = microsoftEntraClientSecret; + return this; + } + @CustomType.Setter + public Builder microsoftEntraClientSecretPlaintext(@Nullable String microsoftEntraClientSecretPlaintext) { + + this.microsoftEntraClientSecretPlaintext = microsoftEntraClientSecretPlaintext; + return this; + } + @CustomType.Setter + public Builder microsoftEntraTenantId(@Nullable String microsoftEntraTenantId) { + + this.microsoftEntraTenantId = microsoftEntraTenantId; + return this; + } + @CustomType.Setter + public Builder openaiApiBase(@Nullable String openaiApiBase) { + + this.openaiApiBase = openaiApiBase; + return this; + } + @CustomType.Setter + public Builder openaiApiKey(@Nullable String openaiApiKey) { + + this.openaiApiKey = openaiApiKey; + return this; + } + @CustomType.Setter + public Builder openaiApiKeyPlaintext(@Nullable String openaiApiKeyPlaintext) { + + this.openaiApiKeyPlaintext = openaiApiKeyPlaintext; + return this; + } + @CustomType.Setter + public Builder openaiApiType(@Nullable String openaiApiType) { + + this.openaiApiType = openaiApiType; + return this; + } + @CustomType.Setter + public Builder openaiApiVersion(@Nullable String openaiApiVersion) { + + this.openaiApiVersion = openaiApiVersion; + return this; + } + @CustomType.Setter + public Builder openaiDeploymentName(@Nullable String openaiDeploymentName) { + + this.openaiDeploymentName = openaiDeploymentName; + return this; + } + @CustomType.Setter + public Builder openaiOrganization(@Nullable String openaiOrganization) { + + this.openaiOrganization = openaiOrganization; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig(); + _resultValue.microsoftEntraClientId = microsoftEntraClientId; + _resultValue.microsoftEntraClientSecret = microsoftEntraClientSecret; + _resultValue.microsoftEntraClientSecretPlaintext = microsoftEntraClientSecretPlaintext; + _resultValue.microsoftEntraTenantId = microsoftEntraTenantId; + _resultValue.openaiApiBase = openaiApiBase; + _resultValue.openaiApiKey = openaiApiKey; + _resultValue.openaiApiKeyPlaintext = openaiApiKeyPlaintext; + _resultValue.openaiApiType = openaiApiType; + _resultValue.openaiApiVersion = openaiApiVersion; + _resultValue.openaiDeploymentName = openaiDeploymentName; + _resultValue.openaiOrganization = openaiOrganization; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.java new file mode 100644 index 00000000..117437c4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig { + private @Nullable String palmApiKey; + private @Nullable String palmApiKeyPlaintext; + + private GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig() {} + public Optional palmApiKey() { + return Optional.ofNullable(this.palmApiKey); + } + public Optional palmApiKeyPlaintext() { + return Optional.ofNullable(this.palmApiKeyPlaintext); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String palmApiKey; + private @Nullable String palmApiKeyPlaintext; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig defaults) { + Objects.requireNonNull(defaults); + this.palmApiKey = defaults.palmApiKey; + this.palmApiKeyPlaintext = defaults.palmApiKeyPlaintext; + } + + @CustomType.Setter + public Builder palmApiKey(@Nullable String palmApiKey) { + + this.palmApiKey = palmApiKey; + return this; + } + @CustomType.Setter + public Builder palmApiKeyPlaintext(@Nullable String palmApiKeyPlaintext) { + + this.palmApiKeyPlaintext = palmApiKeyPlaintext; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig(); + _resultValue.palmApiKey = palmApiKey; + _resultValue.palmApiKeyPlaintext = palmApiKeyPlaintext; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.java new file mode 100644 index 00000000..d96396fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedEntityFoundationModel.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedEntityFoundationModel { + private @Nullable String description; + private @Nullable String displayName; + private @Nullable String docs; + /** + * @return The name of the model serving endpoint. + * + */ + private @Nullable String name; + + private GetServingEndpointsEndpointConfigServedEntityFoundationModel() {} + public Optional description() { + return Optional.ofNullable(this.description); + } + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public Optional docs() { + return Optional.ofNullable(this.docs); + } + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedEntityFoundationModel defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable String displayName; + private @Nullable String docs; + private @Nullable String name; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedEntityFoundationModel defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.displayName = defaults.displayName; + this.docs = defaults.docs; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(@Nullable String displayName) { + + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder docs(@Nullable String docs) { + + this.docs = docs; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public GetServingEndpointsEndpointConfigServedEntityFoundationModel build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedEntityFoundationModel(); + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.docs = docs; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedModel.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedModel.java new file mode 100644 index 00000000..34746cf1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointConfigServedModel.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointConfigServedModel { + private @Nullable String modelName; + private @Nullable String modelVersion; + /** + * @return The name of the model serving endpoint. + * + */ + private @Nullable String name; + + private GetServingEndpointsEndpointConfigServedModel() {} + public Optional modelName() { + return Optional.ofNullable(this.modelName); + } + public Optional modelVersion() { + return Optional.ofNullable(this.modelVersion); + } + /** + * @return The name of the model serving endpoint. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointConfigServedModel defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String modelName; + private @Nullable String modelVersion; + private @Nullable String name; + public Builder() {} + public Builder(GetServingEndpointsEndpointConfigServedModel defaults) { + Objects.requireNonNull(defaults); + this.modelName = defaults.modelName; + this.modelVersion = defaults.modelVersion; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder modelName(@Nullable String modelName) { + + this.modelName = modelName; + return this; + } + @CustomType.Setter + public Builder modelVersion(@Nullable String modelVersion) { + + this.modelVersion = modelVersion; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + public GetServingEndpointsEndpointConfigServedModel build() { + final var _resultValue = new GetServingEndpointsEndpointConfigServedModel(); + _resultValue.modelName = modelName; + _resultValue.modelVersion = modelVersion; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointState.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointState.java new file mode 100644 index 00000000..b8295327 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointState.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointState { + private @Nullable String configUpdate; + private @Nullable String ready; + + private GetServingEndpointsEndpointState() {} + public Optional configUpdate() { + return Optional.ofNullable(this.configUpdate); + } + public Optional ready() { + return Optional.ofNullable(this.ready); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointState defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String configUpdate; + private @Nullable String ready; + public Builder() {} + public Builder(GetServingEndpointsEndpointState defaults) { + Objects.requireNonNull(defaults); + this.configUpdate = defaults.configUpdate; + this.ready = defaults.ready; + } + + @CustomType.Setter + public Builder configUpdate(@Nullable String configUpdate) { + + this.configUpdate = configUpdate; + return this; + } + @CustomType.Setter + public Builder ready(@Nullable String ready) { + + this.ready = ready; + return this; + } + public GetServingEndpointsEndpointState build() { + final var _resultValue = new GetServingEndpointsEndpointState(); + _resultValue.configUpdate = configUpdate; + _resultValue.ready = ready; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointTag.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointTag.java new file mode 100644 index 00000000..e2f3cbd5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsEndpointTag.java @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServingEndpointsEndpointTag { + private String key; + private @Nullable String value; + + private GetServingEndpointsEndpointTag() {} + public String key() { + return this.key; + } + public Optional value() { + return Optional.ofNullable(this.value); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsEndpointTag defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private @Nullable String value; + public Builder() {} + public Builder(GetServingEndpointsEndpointTag defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder key(String key) { + if (key == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsEndpointTag", "key"); + } + this.key = key; + return this; + } + @CustomType.Setter + public Builder value(@Nullable String value) { + + this.value = value; + return this; + } + public GetServingEndpointsEndpointTag build() { + final var _resultValue = new GetServingEndpointsEndpointTag(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsResult.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsResult.java new file mode 100644 index 00000000..2fab0de7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetServingEndpointsResult.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.GetServingEndpointsEndpoint; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServingEndpointsResult { + /** + * @return List of objects describing the serving endpoints. Each object consists of following attributes: + * + */ + private List endpoints; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + + private GetServingEndpointsResult() {} + /** + * @return List of objects describing the serving endpoints. Each object consists of following attributes: + * + */ + public List endpoints() { + return this.endpoints; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServingEndpointsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List endpoints; + private String id; + public Builder() {} + public Builder(GetServingEndpointsResult defaults) { + Objects.requireNonNull(defaults); + this.endpoints = defaults.endpoints; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder endpoints(List endpoints) { + if (endpoints == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsResult", "endpoints"); + } + this.endpoints = endpoints; + return this; + } + public Builder endpoints(GetServingEndpointsEndpoint... endpoints) { + return endpoints(List.of(endpoints)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServingEndpointsResult", "id"); + } + this.id = id; + return this; + } + public GetServingEndpointsResult build() { + final var _resultValue = new GetServingEndpointsResult(); + _resultValue.endpoints = endpoints; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java index 4172739d..53aa083b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobJobClusterNewCluster.java @@ -45,6 +45,8 @@ public final class JobJobClusterNewCluster { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -59,6 +61,7 @@ public final class JobJobClusterNewCluster { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; /** * @return isn't supported * @@ -123,6 +126,12 @@ public List initScripts() { public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + public Optional kind() { + return Optional.ofNullable(this.kind); + } /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -157,6 +166,9 @@ public String sparkVersion() { public List sshPublicKeys() { return this.sshPublicKeys == null ? List.of() : this.sshPublicKeys; } + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } /** * @return isn't supported * @@ -193,6 +205,8 @@ public static final class Builder { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; private @Nullable List libraries; private @Nullable String nodeTypeId; private @Nullable Integer numWorkers; @@ -203,6 +217,7 @@ public static final class Builder { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; private @Nullable JobJobClusterNewClusterWorkloadType workloadType; public Builder() {} public Builder(JobJobClusterNewCluster defaults) { @@ -226,6 +241,8 @@ public Builder(JobJobClusterNewCluster defaults) { this.idempotencyToken = defaults.idempotencyToken; this.initScripts = defaults.initScripts; this.instancePoolId = defaults.instancePoolId; + this.isSingleNode = defaults.isSingleNode; + this.kind = defaults.kind; this.libraries = defaults.libraries; this.nodeTypeId = defaults.nodeTypeId; this.numWorkers = defaults.numWorkers; @@ -236,6 +253,7 @@ public Builder(JobJobClusterNewCluster defaults) { this.sparkEnvVars = defaults.sparkEnvVars; this.sparkVersion = defaults.sparkVersion; this.sshPublicKeys = defaults.sshPublicKeys; + this.useMlRuntime = defaults.useMlRuntime; this.workloadType = defaults.workloadType; } @@ -360,6 +378,18 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } @CustomType.Setter + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + + this.isSingleNode = isSingleNode; + return this; + } + @CustomType.Setter + public Builder kind(@Nullable String kind) { + + this.kind = kind; + return this; + } + @CustomType.Setter public Builder libraries(@Nullable List libraries) { this.libraries = libraries; @@ -428,6 +458,12 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } @CustomType.Setter + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + + this.useMlRuntime = useMlRuntime; + return this; + } + @CustomType.Setter public Builder workloadType(@Nullable JobJobClusterNewClusterWorkloadType workloadType) { this.workloadType = workloadType; @@ -454,6 +490,8 @@ public JobJobClusterNewCluster build() { _resultValue.idempotencyToken = idempotencyToken; _resultValue.initScripts = initScripts; _resultValue.instancePoolId = instancePoolId; + _resultValue.isSingleNode = isSingleNode; + _resultValue.kind = kind; _resultValue.libraries = libraries; _resultValue.nodeTypeId = nodeTypeId; _resultValue.numWorkers = numWorkers; @@ -464,6 +502,7 @@ public JobJobClusterNewCluster build() { _resultValue.sparkEnvVars = sparkEnvVars; _resultValue.sparkVersion = sparkVersion; _resultValue.sshPublicKeys = sshPublicKeys; + _resultValue.useMlRuntime = useMlRuntime; _resultValue.workloadType = workloadType; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java index 0bce6260..5f7b8064 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobNewCluster.java @@ -45,6 +45,8 @@ public final class JobNewCluster { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -59,6 +61,7 @@ public final class JobNewCluster { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; /** * @return isn't supported * @@ -123,6 +126,12 @@ public List initScripts() { public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + public Optional kind() { + return Optional.ofNullable(this.kind); + } /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -157,6 +166,9 @@ public String sparkVersion() { public List sshPublicKeys() { return this.sshPublicKeys == null ? List.of() : this.sshPublicKeys; } + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } /** * @return isn't supported * @@ -193,6 +205,8 @@ public static final class Builder { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; private @Nullable List libraries; private @Nullable String nodeTypeId; private @Nullable Integer numWorkers; @@ -203,6 +217,7 @@ public static final class Builder { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; private @Nullable JobNewClusterWorkloadType workloadType; public Builder() {} public Builder(JobNewCluster defaults) { @@ -226,6 +241,8 @@ public Builder(JobNewCluster defaults) { this.idempotencyToken = defaults.idempotencyToken; this.initScripts = defaults.initScripts; this.instancePoolId = defaults.instancePoolId; + this.isSingleNode = defaults.isSingleNode; + this.kind = defaults.kind; this.libraries = defaults.libraries; this.nodeTypeId = defaults.nodeTypeId; this.numWorkers = defaults.numWorkers; @@ -236,6 +253,7 @@ public Builder(JobNewCluster defaults) { this.sparkEnvVars = defaults.sparkEnvVars; this.sparkVersion = defaults.sparkVersion; this.sshPublicKeys = defaults.sshPublicKeys; + this.useMlRuntime = defaults.useMlRuntime; this.workloadType = defaults.workloadType; } @@ -360,6 +378,18 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } @CustomType.Setter + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + + this.isSingleNode = isSingleNode; + return this; + } + @CustomType.Setter + public Builder kind(@Nullable String kind) { + + this.kind = kind; + return this; + } + @CustomType.Setter public Builder libraries(@Nullable List libraries) { this.libraries = libraries; @@ -428,6 +458,12 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } @CustomType.Setter + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + + this.useMlRuntime = useMlRuntime; + return this; + } + @CustomType.Setter public Builder workloadType(@Nullable JobNewClusterWorkloadType workloadType) { this.workloadType = workloadType; @@ -454,6 +490,8 @@ public JobNewCluster build() { _resultValue.idempotencyToken = idempotencyToken; _resultValue.initScripts = initScripts; _resultValue.instancePoolId = instancePoolId; + _resultValue.isSingleNode = isSingleNode; + _resultValue.kind = kind; _resultValue.libraries = libraries; _resultValue.nodeTypeId = nodeTypeId; _resultValue.numWorkers = numWorkers; @@ -464,6 +502,7 @@ public JobNewCluster build() { _resultValue.sparkEnvVars = sparkEnvVars; _resultValue.sparkVersion = sparkVersion; _resultValue.sshPublicKeys = sshPublicKeys; + _resultValue.useMlRuntime = useMlRuntime; _resultValue.workloadType = workloadType; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTask.java index 73f58851..a87c8dc4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTask.java @@ -4,6 +4,7 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.JobTaskCleanRoomsNotebookTask; import com.pulumi.databricks.outputs.JobTaskConditionTask; import com.pulumi.databricks.outputs.JobTaskDbtTask; import com.pulumi.databricks.outputs.JobTaskDependsOn; @@ -33,6 +34,7 @@ @CustomType public final class JobTask { + private @Nullable JobTaskCleanRoomsNotebookTask cleanRoomsNotebookTask; private @Nullable JobTaskConditionTask conditionTask; private @Nullable JobTaskDbtTask dbtTask; /** @@ -139,6 +141,9 @@ public final class JobTask { private @Nullable JobTaskWebhookNotifications webhookNotifications; private JobTask() {} + public Optional cleanRoomsNotebookTask() { + return Optional.ofNullable(this.cleanRoomsNotebookTask); + } public Optional conditionTask() { return Optional.ofNullable(this.conditionTask); } @@ -311,6 +316,7 @@ public static Builder builder(JobTask defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable JobTaskCleanRoomsNotebookTask cleanRoomsNotebookTask; private @Nullable JobTaskConditionTask conditionTask; private @Nullable JobTaskDbtTask dbtTask; private @Nullable List dependsOns; @@ -343,6 +349,7 @@ public static final class Builder { public Builder() {} public Builder(JobTask defaults) { Objects.requireNonNull(defaults); + this.cleanRoomsNotebookTask = defaults.cleanRoomsNotebookTask; this.conditionTask = defaults.conditionTask; this.dbtTask = defaults.dbtTask; this.dependsOns = defaults.dependsOns; @@ -374,6 +381,12 @@ public Builder(JobTask defaults) { this.webhookNotifications = defaults.webhookNotifications; } + @CustomType.Setter + public Builder cleanRoomsNotebookTask(@Nullable JobTaskCleanRoomsNotebookTask cleanRoomsNotebookTask) { + + this.cleanRoomsNotebookTask = cleanRoomsNotebookTask; + return this; + } @CustomType.Setter public Builder conditionTask(@Nullable JobTaskConditionTask conditionTask) { @@ -558,6 +571,7 @@ public Builder webhookNotifications(@Nullable JobTaskWebhookNotifications webhoo } public JobTask build() { final var _resultValue = new JobTask(); + _resultValue.cleanRoomsNotebookTask = cleanRoomsNotebookTask; _resultValue.conditionTask = conditionTask; _resultValue.dbtTask = dbtTask; _resultValue.dependsOns = dependsOns; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskCleanRoomsNotebookTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskCleanRoomsNotebookTask.java new file mode 100644 index 00000000..94b06e73 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskCleanRoomsNotebookTask.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class JobTaskCleanRoomsNotebookTask { + private String cleanRoomName; + private @Nullable String etag; + private @Nullable Map notebookBaseParameters; + private String notebookName; + + private JobTaskCleanRoomsNotebookTask() {} + public String cleanRoomName() { + return this.cleanRoomName; + } + public Optional etag() { + return Optional.ofNullable(this.etag); + } + public Map notebookBaseParameters() { + return this.notebookBaseParameters == null ? Map.of() : this.notebookBaseParameters; + } + public String notebookName() { + return this.notebookName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(JobTaskCleanRoomsNotebookTask defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cleanRoomName; + private @Nullable String etag; + private @Nullable Map notebookBaseParameters; + private String notebookName; + public Builder() {} + public Builder(JobTaskCleanRoomsNotebookTask defaults) { + Objects.requireNonNull(defaults); + this.cleanRoomName = defaults.cleanRoomName; + this.etag = defaults.etag; + this.notebookBaseParameters = defaults.notebookBaseParameters; + this.notebookName = defaults.notebookName; + } + + @CustomType.Setter + public Builder cleanRoomName(String cleanRoomName) { + if (cleanRoomName == null) { + throw new MissingRequiredPropertyException("JobTaskCleanRoomsNotebookTask", "cleanRoomName"); + } + this.cleanRoomName = cleanRoomName; + return this; + } + @CustomType.Setter + public Builder etag(@Nullable String etag) { + + this.etag = etag; + return this; + } + @CustomType.Setter + public Builder notebookBaseParameters(@Nullable Map notebookBaseParameters) { + + this.notebookBaseParameters = notebookBaseParameters; + return this; + } + @CustomType.Setter + public Builder notebookName(String notebookName) { + if (notebookName == null) { + throw new MissingRequiredPropertyException("JobTaskCleanRoomsNotebookTask", "notebookName"); + } + this.notebookName = notebookName; + return this; + } + public JobTaskCleanRoomsNotebookTask build() { + final var _resultValue = new JobTaskCleanRoomsNotebookTask(); + _resultValue.cleanRoomName = cleanRoomName; + _resultValue.etag = etag; + _resultValue.notebookBaseParameters = notebookBaseParameters; + _resultValue.notebookName = notebookName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTask.java index 6b1f943b..140a7af9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTask.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTask.java @@ -4,6 +4,7 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskConditionTask; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskDbtTask; import com.pulumi.databricks.outputs.JobTaskForEachTaskTaskDependsOn; @@ -32,6 +33,7 @@ @CustomType public final class JobTaskForEachTaskTask { + private @Nullable JobTaskForEachTaskTaskCleanRoomsNotebookTask cleanRoomsNotebookTask; private @Nullable JobTaskForEachTaskTaskConditionTask conditionTask; private @Nullable JobTaskForEachTaskTaskDbtTask dbtTask; /** @@ -137,6 +139,9 @@ public final class JobTaskForEachTaskTask { private @Nullable JobTaskForEachTaskTaskWebhookNotifications webhookNotifications; private JobTaskForEachTaskTask() {} + public Optional cleanRoomsNotebookTask() { + return Optional.ofNullable(this.cleanRoomsNotebookTask); + } public Optional conditionTask() { return Optional.ofNullable(this.conditionTask); } @@ -306,6 +311,7 @@ public static Builder builder(JobTaskForEachTaskTask defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable JobTaskForEachTaskTaskCleanRoomsNotebookTask cleanRoomsNotebookTask; private @Nullable JobTaskForEachTaskTaskConditionTask conditionTask; private @Nullable JobTaskForEachTaskTaskDbtTask dbtTask; private @Nullable List dependsOns; @@ -337,6 +343,7 @@ public static final class Builder { public Builder() {} public Builder(JobTaskForEachTaskTask defaults) { Objects.requireNonNull(defaults); + this.cleanRoomsNotebookTask = defaults.cleanRoomsNotebookTask; this.conditionTask = defaults.conditionTask; this.dbtTask = defaults.dbtTask; this.dependsOns = defaults.dependsOns; @@ -367,6 +374,12 @@ public Builder(JobTaskForEachTaskTask defaults) { this.webhookNotifications = defaults.webhookNotifications; } + @CustomType.Setter + public Builder cleanRoomsNotebookTask(@Nullable JobTaskForEachTaskTaskCleanRoomsNotebookTask cleanRoomsNotebookTask) { + + this.cleanRoomsNotebookTask = cleanRoomsNotebookTask; + return this; + } @CustomType.Setter public Builder conditionTask(@Nullable JobTaskForEachTaskTaskConditionTask conditionTask) { @@ -545,6 +558,7 @@ public Builder webhookNotifications(@Nullable JobTaskForEachTaskTaskWebhookNotif } public JobTaskForEachTaskTask build() { final var _resultValue = new JobTaskForEachTaskTask(); + _resultValue.cleanRoomsNotebookTask = cleanRoomsNotebookTask; _resultValue.conditionTask = conditionTask; _resultValue.dbtTask = dbtTask; _resultValue.dependsOns = dependsOns; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskCleanRoomsNotebookTask.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskCleanRoomsNotebookTask.java new file mode 100644 index 00000000..cac74d5e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskCleanRoomsNotebookTask.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class JobTaskForEachTaskTaskCleanRoomsNotebookTask { + private String cleanRoomName; + private @Nullable String etag; + private @Nullable Map notebookBaseParameters; + private String notebookName; + + private JobTaskForEachTaskTaskCleanRoomsNotebookTask() {} + public String cleanRoomName() { + return this.cleanRoomName; + } + public Optional etag() { + return Optional.ofNullable(this.etag); + } + public Map notebookBaseParameters() { + return this.notebookBaseParameters == null ? Map.of() : this.notebookBaseParameters; + } + public String notebookName() { + return this.notebookName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(JobTaskForEachTaskTaskCleanRoomsNotebookTask defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cleanRoomName; + private @Nullable String etag; + private @Nullable Map notebookBaseParameters; + private String notebookName; + public Builder() {} + public Builder(JobTaskForEachTaskTaskCleanRoomsNotebookTask defaults) { + Objects.requireNonNull(defaults); + this.cleanRoomName = defaults.cleanRoomName; + this.etag = defaults.etag; + this.notebookBaseParameters = defaults.notebookBaseParameters; + this.notebookName = defaults.notebookName; + } + + @CustomType.Setter + public Builder cleanRoomName(String cleanRoomName) { + if (cleanRoomName == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskCleanRoomsNotebookTask", "cleanRoomName"); + } + this.cleanRoomName = cleanRoomName; + return this; + } + @CustomType.Setter + public Builder etag(@Nullable String etag) { + + this.etag = etag; + return this; + } + @CustomType.Setter + public Builder notebookBaseParameters(@Nullable Map notebookBaseParameters) { + + this.notebookBaseParameters = notebookBaseParameters; + return this; + } + @CustomType.Setter + public Builder notebookName(String notebookName) { + if (notebookName == null) { + throw new MissingRequiredPropertyException("JobTaskForEachTaskTaskCleanRoomsNotebookTask", "notebookName"); + } + this.notebookName = notebookName; + return this; + } + public JobTaskForEachTaskTaskCleanRoomsNotebookTask build() { + final var _resultValue = new JobTaskForEachTaskTaskCleanRoomsNotebookTask(); + _resultValue.cleanRoomName = cleanRoomName; + _resultValue.etag = etag; + _resultValue.notebookBaseParameters = notebookBaseParameters; + _resultValue.notebookName = notebookName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java index 9519acd1..bd2af335 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskForEachTaskTaskNewCluster.java @@ -45,6 +45,8 @@ public final class JobTaskForEachTaskTaskNewCluster { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -59,6 +61,7 @@ public final class JobTaskForEachTaskTaskNewCluster { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; /** * @return isn't supported * @@ -123,6 +126,12 @@ public List initScripts() { public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + public Optional kind() { + return Optional.ofNullable(this.kind); + } /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -157,6 +166,9 @@ public String sparkVersion() { public List sshPublicKeys() { return this.sshPublicKeys == null ? List.of() : this.sshPublicKeys; } + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } /** * @return isn't supported * @@ -193,6 +205,8 @@ public static final class Builder { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; private @Nullable List libraries; private @Nullable String nodeTypeId; private @Nullable Integer numWorkers; @@ -203,6 +217,7 @@ public static final class Builder { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; private @Nullable JobTaskForEachTaskTaskNewClusterWorkloadType workloadType; public Builder() {} public Builder(JobTaskForEachTaskTaskNewCluster defaults) { @@ -226,6 +241,8 @@ public Builder(JobTaskForEachTaskTaskNewCluster defaults) { this.idempotencyToken = defaults.idempotencyToken; this.initScripts = defaults.initScripts; this.instancePoolId = defaults.instancePoolId; + this.isSingleNode = defaults.isSingleNode; + this.kind = defaults.kind; this.libraries = defaults.libraries; this.nodeTypeId = defaults.nodeTypeId; this.numWorkers = defaults.numWorkers; @@ -236,6 +253,7 @@ public Builder(JobTaskForEachTaskTaskNewCluster defaults) { this.sparkEnvVars = defaults.sparkEnvVars; this.sparkVersion = defaults.sparkVersion; this.sshPublicKeys = defaults.sshPublicKeys; + this.useMlRuntime = defaults.useMlRuntime; this.workloadType = defaults.workloadType; } @@ -360,6 +378,18 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } @CustomType.Setter + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + + this.isSingleNode = isSingleNode; + return this; + } + @CustomType.Setter + public Builder kind(@Nullable String kind) { + + this.kind = kind; + return this; + } + @CustomType.Setter public Builder libraries(@Nullable List libraries) { this.libraries = libraries; @@ -428,6 +458,12 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } @CustomType.Setter + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + + this.useMlRuntime = useMlRuntime; + return this; + } + @CustomType.Setter public Builder workloadType(@Nullable JobTaskForEachTaskTaskNewClusterWorkloadType workloadType) { this.workloadType = workloadType; @@ -454,6 +490,8 @@ public JobTaskForEachTaskTaskNewCluster build() { _resultValue.idempotencyToken = idempotencyToken; _resultValue.initScripts = initScripts; _resultValue.instancePoolId = instancePoolId; + _resultValue.isSingleNode = isSingleNode; + _resultValue.kind = kind; _resultValue.libraries = libraries; _resultValue.nodeTypeId = nodeTypeId; _resultValue.numWorkers = numWorkers; @@ -464,6 +502,7 @@ public JobTaskForEachTaskTaskNewCluster build() { _resultValue.sparkEnvVars = sparkEnvVars; _resultValue.sparkVersion = sparkVersion; _resultValue.sshPublicKeys = sshPublicKeys; + _resultValue.useMlRuntime = useMlRuntime; _resultValue.workloadType = workloadType; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java index c2ea1e11..584234b4 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobTaskNewCluster.java @@ -45,6 +45,8 @@ public final class JobTaskNewCluster { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -59,6 +61,7 @@ public final class JobTaskNewCluster { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; /** * @return isn't supported * @@ -123,6 +126,12 @@ public List initScripts() { public Optional instancePoolId() { return Optional.ofNullable(this.instancePoolId); } + public Optional isSingleNode() { + return Optional.ofNullable(this.isSingleNode); + } + public Optional kind() { + return Optional.ofNullable(this.kind); + } /** * @return (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. * @@ -157,6 +166,9 @@ public String sparkVersion() { public List sshPublicKeys() { return this.sshPublicKeys == null ? List.of() : this.sshPublicKeys; } + public Optional useMlRuntime() { + return Optional.ofNullable(this.useMlRuntime); + } /** * @return isn't supported * @@ -193,6 +205,8 @@ public static final class Builder { private @Nullable String idempotencyToken; private @Nullable List initScripts; private @Nullable String instancePoolId; + private @Nullable Boolean isSingleNode; + private @Nullable String kind; private @Nullable List libraries; private @Nullable String nodeTypeId; private @Nullable Integer numWorkers; @@ -203,6 +217,7 @@ public static final class Builder { private @Nullable Map sparkEnvVars; private String sparkVersion; private @Nullable List sshPublicKeys; + private @Nullable Boolean useMlRuntime; private @Nullable JobTaskNewClusterWorkloadType workloadType; public Builder() {} public Builder(JobTaskNewCluster defaults) { @@ -226,6 +241,8 @@ public Builder(JobTaskNewCluster defaults) { this.idempotencyToken = defaults.idempotencyToken; this.initScripts = defaults.initScripts; this.instancePoolId = defaults.instancePoolId; + this.isSingleNode = defaults.isSingleNode; + this.kind = defaults.kind; this.libraries = defaults.libraries; this.nodeTypeId = defaults.nodeTypeId; this.numWorkers = defaults.numWorkers; @@ -236,6 +253,7 @@ public Builder(JobTaskNewCluster defaults) { this.sparkEnvVars = defaults.sparkEnvVars; this.sparkVersion = defaults.sparkVersion; this.sshPublicKeys = defaults.sshPublicKeys; + this.useMlRuntime = defaults.useMlRuntime; this.workloadType = defaults.workloadType; } @@ -360,6 +378,18 @@ public Builder instancePoolId(@Nullable String instancePoolId) { return this; } @CustomType.Setter + public Builder isSingleNode(@Nullable Boolean isSingleNode) { + + this.isSingleNode = isSingleNode; + return this; + } + @CustomType.Setter + public Builder kind(@Nullable String kind) { + + this.kind = kind; + return this; + } + @CustomType.Setter public Builder libraries(@Nullable List libraries) { this.libraries = libraries; @@ -428,6 +458,12 @@ public Builder sshPublicKeys(String... sshPublicKeys) { return sshPublicKeys(List.of(sshPublicKeys)); } @CustomType.Setter + public Builder useMlRuntime(@Nullable Boolean useMlRuntime) { + + this.useMlRuntime = useMlRuntime; + return this; + } + @CustomType.Setter public Builder workloadType(@Nullable JobTaskNewClusterWorkloadType workloadType) { this.workloadType = workloadType; @@ -454,6 +490,8 @@ public JobTaskNewCluster build() { _resultValue.idempotencyToken = idempotencyToken; _resultValue.initScripts = initScripts; _resultValue.instancePoolId = instancePoolId; + _resultValue.isSingleNode = isSingleNode; + _resultValue.kind = kind; _resultValue.libraries = libraries; _resultValue.nodeTypeId = nodeTypeId; _resultValue.numWorkers = numWorkers; @@ -464,6 +502,7 @@ public JobTaskNewCluster build() { _resultValue.sparkEnvVars = sparkEnvVars; _resultValue.sparkVersion = sparkVersion; _resultValue.sshPublicKeys = sshPublicKeys; + _resultValue.useMlRuntime = useMlRuntime; _resultValue.workloadType = workloadType; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/PipelineRestartWindow.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/PipelineRestartWindow.java index dddc0d30..ca4bd415 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/PipelineRestartWindow.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/PipelineRestartWindow.java @@ -7,19 +7,20 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @CustomType public final class PipelineRestartWindow { - private @Nullable String daysOfWeek; + private @Nullable List daysOfWeeks; private Integer startHour; private @Nullable String timeZoneId; private PipelineRestartWindow() {} - public Optional daysOfWeek() { - return Optional.ofNullable(this.daysOfWeek); + public List daysOfWeeks() { + return this.daysOfWeeks == null ? List.of() : this.daysOfWeeks; } public Integer startHour() { return this.startHour; @@ -37,23 +38,26 @@ public static Builder builder(PipelineRestartWindow defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable String daysOfWeek; + private @Nullable List daysOfWeeks; private Integer startHour; private @Nullable String timeZoneId; public Builder() {} public Builder(PipelineRestartWindow defaults) { Objects.requireNonNull(defaults); - this.daysOfWeek = defaults.daysOfWeek; + this.daysOfWeeks = defaults.daysOfWeeks; this.startHour = defaults.startHour; this.timeZoneId = defaults.timeZoneId; } @CustomType.Setter - public Builder daysOfWeek(@Nullable String daysOfWeek) { + public Builder daysOfWeeks(@Nullable List daysOfWeeks) { - this.daysOfWeek = daysOfWeek; + this.daysOfWeeks = daysOfWeeks; return this; } + public Builder daysOfWeeks(String... daysOfWeeks) { + return daysOfWeeks(List.of(daysOfWeeks)); + } @CustomType.Setter public Builder startHour(Integer startHour) { if (startHour == null) { @@ -70,7 +74,7 @@ public Builder timeZoneId(@Nullable String timeZoneId) { } public PipelineRestartWindow build() { final var _resultValue = new PipelineRestartWindow(); - _resultValue.daysOfWeek = daysOfWeek; + _resultValue.daysOfWeeks = daysOfWeeks; _resultValue.startHour = startHour; _resultValue.timeZoneId = timeZoneId; return _resultValue; diff --git a/sdk/nodejs/app.ts b/sdk/nodejs/app.ts new file mode 100644 index 00000000..c5422c52 --- /dev/null +++ b/sdk/nodejs/app.ts @@ -0,0 +1,250 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * ## Import + * + * This resource can be imported by name: + * + * hcl + * + * import { + * + * to = databricks_app.this + * + * id = "" + * + * } + * + * or using the `terraform` CLI: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/app:App this + * ``` + */ +export class App extends pulumi.CustomResource { + /** + * Get an existing App resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: AppState, opts?: pulumi.CustomResourceOptions): App { + return new App(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/app:App'; + + /** + * Returns true if the given object is an instance of App. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is App { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === App.__pulumiType; + } + + public /*out*/ readonly activeDeployment!: pulumi.Output; + /** + * attribute + */ + public /*out*/ readonly appStatus!: pulumi.Output; + /** + * attribute + */ + public /*out*/ readonly computeStatus!: pulumi.Output; + /** + * The creation time of the app. + */ + public /*out*/ readonly createTime!: pulumi.Output; + /** + * The email of the user that created the app. + */ + public /*out*/ readonly creator!: pulumi.Output; + /** + * The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + */ + public /*out*/ readonly defaultSourceCodePath!: pulumi.Output; + /** + * The description of the app. + */ + public readonly description!: pulumi.Output; + /** + * The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + */ + public readonly name!: pulumi.Output; + public /*out*/ readonly pendingDeployment!: pulumi.Output; + /** + * A list of resources that the app have access to. + */ + public readonly resources!: pulumi.Output; + public /*out*/ readonly servicePrincipalClientId!: pulumi.Output; + /** + * id of the app service principal + */ + public /*out*/ readonly servicePrincipalId!: pulumi.Output; + /** + * name of the app service principal + */ + public /*out*/ readonly servicePrincipalName!: pulumi.Output; + /** + * The update time of the app. + */ + public /*out*/ readonly updateTime!: pulumi.Output; + /** + * The email of the user that last updated the app. + */ + public /*out*/ readonly updater!: pulumi.Output; + /** + * The URL of the app once it is deployed. + */ + public /*out*/ readonly url!: pulumi.Output; + + /** + * Create a App resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: AppArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AppArgs | AppState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AppState | undefined; + resourceInputs["activeDeployment"] = state ? state.activeDeployment : undefined; + resourceInputs["appStatus"] = state ? state.appStatus : undefined; + resourceInputs["computeStatus"] = state ? state.computeStatus : undefined; + resourceInputs["createTime"] = state ? state.createTime : undefined; + resourceInputs["creator"] = state ? state.creator : undefined; + resourceInputs["defaultSourceCodePath"] = state ? state.defaultSourceCodePath : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["pendingDeployment"] = state ? state.pendingDeployment : undefined; + resourceInputs["resources"] = state ? state.resources : undefined; + resourceInputs["servicePrincipalClientId"] = state ? state.servicePrincipalClientId : undefined; + resourceInputs["servicePrincipalId"] = state ? state.servicePrincipalId : undefined; + resourceInputs["servicePrincipalName"] = state ? state.servicePrincipalName : undefined; + resourceInputs["updateTime"] = state ? state.updateTime : undefined; + resourceInputs["updater"] = state ? state.updater : undefined; + resourceInputs["url"] = state ? state.url : undefined; + } else { + const args = argsOrState as AppArgs | undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["resources"] = args ? args.resources : undefined; + resourceInputs["activeDeployment"] = undefined /*out*/; + resourceInputs["appStatus"] = undefined /*out*/; + resourceInputs["computeStatus"] = undefined /*out*/; + resourceInputs["createTime"] = undefined /*out*/; + resourceInputs["creator"] = undefined /*out*/; + resourceInputs["defaultSourceCodePath"] = undefined /*out*/; + resourceInputs["pendingDeployment"] = undefined /*out*/; + resourceInputs["servicePrincipalClientId"] = undefined /*out*/; + resourceInputs["servicePrincipalId"] = undefined /*out*/; + resourceInputs["servicePrincipalName"] = undefined /*out*/; + resourceInputs["updateTime"] = undefined /*out*/; + resourceInputs["updater"] = undefined /*out*/; + resourceInputs["url"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(App.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering App resources. + */ +export interface AppState { + activeDeployment?: pulumi.Input; + /** + * attribute + */ + appStatus?: pulumi.Input; + /** + * attribute + */ + computeStatus?: pulumi.Input; + /** + * The creation time of the app. + */ + createTime?: pulumi.Input; + /** + * The email of the user that created the app. + */ + creator?: pulumi.Input; + /** + * The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + */ + defaultSourceCodePath?: pulumi.Input; + /** + * The description of the app. + */ + description?: pulumi.Input; + /** + * The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + */ + name?: pulumi.Input; + pendingDeployment?: pulumi.Input; + /** + * A list of resources that the app have access to. + */ + resources?: pulumi.Input[]>; + servicePrincipalClientId?: pulumi.Input; + /** + * id of the app service principal + */ + servicePrincipalId?: pulumi.Input; + /** + * name of the app service principal + */ + servicePrincipalName?: pulumi.Input; + /** + * The update time of the app. + */ + updateTime?: pulumi.Input; + /** + * The email of the user that last updated the app. + */ + updater?: pulumi.Input; + /** + * The URL of the app once it is deployed. + */ + url?: pulumi.Input; +} + +/** + * The set of arguments for constructing a App resource. + */ +export interface AppArgs { + /** + * The description of the app. + */ + description?: pulumi.Input; + /** + * The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + */ + name?: pulumi.Input; + /** + * A list of resources that the app have access to. + */ + resources?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/cluster.ts b/sdk/nodejs/cluster.ts index 3023c2e8..570f1af9 100644 --- a/sdk/nodejs/cluster.ts +++ b/sdk/nodejs/cluster.ts @@ -127,6 +127,8 @@ export class Cluster extends pulumi.CustomResource { * boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). */ public readonly isPinned!: pulumi.Output; + public readonly isSingleNode!: pulumi.Output; + public readonly kind!: pulumi.Output; public readonly libraries!: pulumi.Output; /** * If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). @@ -204,6 +206,7 @@ export class Cluster extends pulumi.CustomResource { */ public /*out*/ readonly state!: pulumi.Output; public /*out*/ readonly url!: pulumi.Output; + public readonly useMlRuntime!: pulumi.Output; public readonly workloadType!: pulumi.Output; /** @@ -241,6 +244,8 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["initScripts"] = state ? state.initScripts : undefined; resourceInputs["instancePoolId"] = state ? state.instancePoolId : undefined; resourceInputs["isPinned"] = state ? state.isPinned : undefined; + resourceInputs["isSingleNode"] = state ? state.isSingleNode : undefined; + resourceInputs["kind"] = state ? state.kind : undefined; resourceInputs["libraries"] = state ? state.libraries : undefined; resourceInputs["noWait"] = state ? state.noWait : undefined; resourceInputs["nodeTypeId"] = state ? state.nodeTypeId : undefined; @@ -254,6 +259,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["sshPublicKeys"] = state ? state.sshPublicKeys : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["url"] = state ? state.url : undefined; + resourceInputs["useMlRuntime"] = state ? state.useMlRuntime : undefined; resourceInputs["workloadType"] = state ? state.workloadType : undefined; } else { const args = argsOrState as ClusterArgs | undefined; @@ -280,6 +286,8 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["initScripts"] = args ? args.initScripts : undefined; resourceInputs["instancePoolId"] = args ? args.instancePoolId : undefined; resourceInputs["isPinned"] = args ? args.isPinned : undefined; + resourceInputs["isSingleNode"] = args ? args.isSingleNode : undefined; + resourceInputs["kind"] = args ? args.kind : undefined; resourceInputs["libraries"] = args ? args.libraries : undefined; resourceInputs["noWait"] = args ? args.noWait : undefined; resourceInputs["nodeTypeId"] = args ? args.nodeTypeId : undefined; @@ -291,6 +299,7 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["sparkEnvVars"] = args ? args.sparkEnvVars : undefined; resourceInputs["sparkVersion"] = args ? args.sparkVersion : undefined; resourceInputs["sshPublicKeys"] = args ? args.sshPublicKeys : undefined; + resourceInputs["useMlRuntime"] = args ? args.useMlRuntime : undefined; resourceInputs["workloadType"] = args ? args.workloadType : undefined; resourceInputs["clusterId"] = undefined /*out*/; resourceInputs["defaultTags"] = undefined /*out*/; @@ -388,6 +397,8 @@ export interface ClusterState { * boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). */ isPinned?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; libraries?: pulumi.Input[]>; /** * If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). @@ -465,6 +476,7 @@ export interface ClusterState { */ state?: pulumi.Input; url?: pulumi.Input; + useMlRuntime?: pulumi.Input; workloadType?: pulumi.Input; } @@ -549,6 +561,8 @@ export interface ClusterArgs { * boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number). */ isPinned?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; libraries?: pulumi.Input[]>; /** * If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed). @@ -621,5 +635,6 @@ export interface ClusterArgs { * SSH public key contents that will be added to each Spark node in this cluster. The corresponding private keys can be used to login with the user name ubuntu on port 2200. You can specify up to 10 keys. */ sshPublicKeys?: pulumi.Input[]>; + useMlRuntime?: pulumi.Input; workloadType?: pulumi.Input; } diff --git a/sdk/nodejs/credential.ts b/sdk/nodejs/credential.ts new file mode 100644 index 00000000..98aa830c --- /dev/null +++ b/sdk/nodejs/credential.ts @@ -0,0 +1,351 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > This resource can only be used with a workspace-level provider. + * + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential. + * + * The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`. + * The caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it + * + * On AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. + * + * ## Example Usage + * + * For AWS + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const external = new databricks.Credential("external", { + * name: externalDataAccess.name, + * awsIamRole: { + * roleArn: externalDataAccess.arn, + * }, + * purpose: "SERVICE", + * comment: "Managed by TF", + * }); + * const externalCreds = new databricks.Grants("external_creds", { + * credential: external.id, + * grants: [{ + * principal: "Data Engineers", + * privileges: ["ACCESS"], + * }], + * }); + * ``` + * + * For Azure + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const externalMi = new databricks.Credential("external_mi", { + * name: "mi_credential", + * azureManagedIdentity: { + * accessConnectorId: example.id, + * }, + * purpose: "SERVICE", + * comment: "Managed identity credential managed by TF", + * }); + * const externalCreds = new databricks.Grants("external_creds", { + * credential: externalMi.id, + * grants: [{ + * principal: "Data Engineers", + * privileges: ["ACCESS"], + * }], + * }); + * ``` + * + * For GCP (only applicable when purpose is `STORAGE`) + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const externalGcpSa = new databricks.Credential("external_gcp_sa", { + * name: "gcp_sa_credential", + * databricksGcpServiceAccount: {}, + * purpose: "STORAGE", + * comment: "GCP SA credential managed by TF", + * }); + * const externalCreds = new databricks.Grants("external_creds", { + * credential: externalGcpSa.id, + * grants: [{ + * principal: "Data Engineers", + * privileges: ["ACCESS"], + * }], + * }); + * ``` + * + * ## Import + * + * This resource can be imported by name: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/credential:Credential this + * ``` + */ +export class Credential extends pulumi.CustomResource { + /** + * Get an existing Credential resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: CredentialState, opts?: pulumi.CustomResourceOptions): Credential { + return new Credential(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/credential:Credential'; + + /** + * Returns true if the given object is an instance of Credential. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Credential { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Credential.__pulumiType; + } + + public readonly awsIamRole!: pulumi.Output; + public readonly azureManagedIdentity!: pulumi.Output; + public readonly azureServicePrincipal!: pulumi.Output; + public readonly comment!: pulumi.Output; + public readonly createdAt!: pulumi.Output; + public readonly createdBy!: pulumi.Output; + /** + * Unique ID of the credential. + */ + public /*out*/ readonly credentialId!: pulumi.Output; + public readonly databricksGcpServiceAccount!: pulumi.Output; + /** + * Delete credential regardless of its dependencies. + */ + public readonly forceDestroy!: pulumi.Output; + /** + * Update credential regardless of its dependents. + */ + public readonly forceUpdate!: pulumi.Output; + public readonly fullName!: pulumi.Output; + /** + * Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `awsIamRole` optional configuration block for credential details for AWS: + */ + public readonly isolationMode!: pulumi.Output; + public readonly metastoreId!: pulumi.Output; + /** + * Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + */ + public readonly name!: pulumi.Output; + /** + * Username/groupname/sp applicationId of the credential owner. + */ + public readonly owner!: pulumi.Output; + /** + * Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + */ + public readonly purpose!: pulumi.Output; + /** + * Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + */ + public readonly readOnly!: pulumi.Output; + /** + * Suppress validation errors if any & force save the credential. + */ + public readonly skipValidation!: pulumi.Output; + public readonly updatedAt!: pulumi.Output; + public readonly updatedBy!: pulumi.Output; + public readonly usedForManagedStorage!: pulumi.Output; + + /** + * Create a Credential resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: CredentialArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: CredentialArgs | CredentialState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as CredentialState | undefined; + resourceInputs["awsIamRole"] = state ? state.awsIamRole : undefined; + resourceInputs["azureManagedIdentity"] = state ? state.azureManagedIdentity : undefined; + resourceInputs["azureServicePrincipal"] = state ? state.azureServicePrincipal : undefined; + resourceInputs["comment"] = state ? state.comment : undefined; + resourceInputs["createdAt"] = state ? state.createdAt : undefined; + resourceInputs["createdBy"] = state ? state.createdBy : undefined; + resourceInputs["credentialId"] = state ? state.credentialId : undefined; + resourceInputs["databricksGcpServiceAccount"] = state ? state.databricksGcpServiceAccount : undefined; + resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined; + resourceInputs["forceUpdate"] = state ? state.forceUpdate : undefined; + resourceInputs["fullName"] = state ? state.fullName : undefined; + resourceInputs["isolationMode"] = state ? state.isolationMode : undefined; + resourceInputs["metastoreId"] = state ? state.metastoreId : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["owner"] = state ? state.owner : undefined; + resourceInputs["purpose"] = state ? state.purpose : undefined; + resourceInputs["readOnly"] = state ? state.readOnly : undefined; + resourceInputs["skipValidation"] = state ? state.skipValidation : undefined; + resourceInputs["updatedAt"] = state ? state.updatedAt : undefined; + resourceInputs["updatedBy"] = state ? state.updatedBy : undefined; + resourceInputs["usedForManagedStorage"] = state ? state.usedForManagedStorage : undefined; + } else { + const args = argsOrState as CredentialArgs | undefined; + if ((!args || args.purpose === undefined) && !opts.urn) { + throw new Error("Missing required property 'purpose'"); + } + resourceInputs["awsIamRole"] = args ? args.awsIamRole : undefined; + resourceInputs["azureManagedIdentity"] = args ? args.azureManagedIdentity : undefined; + resourceInputs["azureServicePrincipal"] = args ? args.azureServicePrincipal : undefined; + resourceInputs["comment"] = args ? args.comment : undefined; + resourceInputs["createdAt"] = args ? args.createdAt : undefined; + resourceInputs["createdBy"] = args ? args.createdBy : undefined; + resourceInputs["databricksGcpServiceAccount"] = args ? args.databricksGcpServiceAccount : undefined; + resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined; + resourceInputs["forceUpdate"] = args ? args.forceUpdate : undefined; + resourceInputs["fullName"] = args ? args.fullName : undefined; + resourceInputs["isolationMode"] = args ? args.isolationMode : undefined; + resourceInputs["metastoreId"] = args ? args.metastoreId : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["owner"] = args ? args.owner : undefined; + resourceInputs["purpose"] = args ? args.purpose : undefined; + resourceInputs["readOnly"] = args ? args.readOnly : undefined; + resourceInputs["skipValidation"] = args ? args.skipValidation : undefined; + resourceInputs["updatedAt"] = args ? args.updatedAt : undefined; + resourceInputs["updatedBy"] = args ? args.updatedBy : undefined; + resourceInputs["usedForManagedStorage"] = args ? args.usedForManagedStorage : undefined; + resourceInputs["credentialId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Credential.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Credential resources. + */ +export interface CredentialState { + awsIamRole?: pulumi.Input; + azureManagedIdentity?: pulumi.Input; + azureServicePrincipal?: pulumi.Input; + comment?: pulumi.Input; + createdAt?: pulumi.Input; + createdBy?: pulumi.Input; + /** + * Unique ID of the credential. + */ + credentialId?: pulumi.Input; + databricksGcpServiceAccount?: pulumi.Input; + /** + * Delete credential regardless of its dependencies. + */ + forceDestroy?: pulumi.Input; + /** + * Update credential regardless of its dependents. + */ + forceUpdate?: pulumi.Input; + fullName?: pulumi.Input; + /** + * Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `awsIamRole` optional configuration block for credential details for AWS: + */ + isolationMode?: pulumi.Input; + metastoreId?: pulumi.Input; + /** + * Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + */ + name?: pulumi.Input; + /** + * Username/groupname/sp applicationId of the credential owner. + */ + owner?: pulumi.Input; + /** + * Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + */ + purpose?: pulumi.Input; + /** + * Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + */ + readOnly?: pulumi.Input; + /** + * Suppress validation errors if any & force save the credential. + */ + skipValidation?: pulumi.Input; + updatedAt?: pulumi.Input; + updatedBy?: pulumi.Input; + usedForManagedStorage?: pulumi.Input; +} + +/** + * The set of arguments for constructing a Credential resource. + */ +export interface CredentialArgs { + awsIamRole?: pulumi.Input; + azureManagedIdentity?: pulumi.Input; + azureServicePrincipal?: pulumi.Input; + comment?: pulumi.Input; + createdAt?: pulumi.Input; + createdBy?: pulumi.Input; + databricksGcpServiceAccount?: pulumi.Input; + /** + * Delete credential regardless of its dependencies. + */ + forceDestroy?: pulumi.Input; + /** + * Update credential regardless of its dependents. + */ + forceUpdate?: pulumi.Input; + fullName?: pulumi.Input; + /** + * Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + * + * `awsIamRole` optional configuration block for credential details for AWS: + */ + isolationMode?: pulumi.Input; + metastoreId?: pulumi.Input; + /** + * Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + */ + name?: pulumi.Input; + /** + * Username/groupname/sp applicationId of the credential owner. + */ + owner?: pulumi.Input; + /** + * Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + */ + purpose: pulumi.Input; + /** + * Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + */ + readOnly?: pulumi.Input; + /** + * Suppress validation errors if any & force save the credential. + */ + skipValidation?: pulumi.Input; + updatedAt?: pulumi.Input; + updatedBy?: pulumi.Input; + usedForManagedStorage?: pulumi.Input; +} diff --git a/sdk/nodejs/getApp.ts b/sdk/nodejs/getApp.ts new file mode 100644 index 00000000..a040ecba --- /dev/null +++ b/sdk/nodejs/getApp.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about a Databricks App. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getApp({ + * name: "my-custom-app", + * }); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + */ +export function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getApp:getApp", { + "name": args.name, + }, opts); +} + +/** + * A collection of arguments for invoking getApp. + */ +export interface GetAppArgs { + /** + * The name of the app. + */ + name: string; +} + +/** + * A collection of values returned by getApp. + */ +export interface GetAppResult { + /** + * attribute + */ + readonly app: outputs.GetAppApp; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Name of the serving endpoint to grant permission on. + */ + readonly name: string; +} +/** + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about a Databricks App. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getApp({ + * name: "my-custom-app", + * }); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + */ +export function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("databricks:index/getApp:getApp", { + "name": args.name, + }, opts); +} + +/** + * A collection of arguments for invoking getApp. + */ +export interface GetAppOutputArgs { + /** + * The name of the app. + */ + name: pulumi.Input; +} diff --git a/sdk/nodejs/getApps.ts b/sdk/nodejs/getApps.ts new file mode 100644 index 00000000..ed914daf --- /dev/null +++ b/sdk/nodejs/getApps.ts @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about all Databricks Apps within a workspace. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const allApps = databricks.getApps({}); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + */ +export function getApps(opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getApps:getApps", { + }, opts); +} + +/** + * A collection of values returned by getApps. + */ +export interface GetAppsResult { + readonly apps: outputs.GetAppsApp[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + * + * This data source allows you to fetch information about all Databricks Apps within a workspace. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const allApps = databricks.getApps({}); + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + */ +export function getAppsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("databricks:index/getApps:getApps", { + }, opts); +} diff --git a/sdk/nodejs/getAwsAssumeRolePolicy.ts b/sdk/nodejs/getAwsAssumeRolePolicy.ts index 846f85c1..2b689320 100644 --- a/sdk/nodejs/getAwsAssumeRolePolicy.ts +++ b/sdk/nodejs/getAwsAssumeRolePolicy.ts @@ -55,6 +55,7 @@ import * as utilities from "./utilities"; export function getAwsAssumeRolePolicy(args: GetAwsAssumeRolePolicyArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", { + "awsPartition": args.awsPartition, "databricksAccountId": args.databricksAccountId, "externalId": args.externalId, "forLogDelivery": args.forLogDelivery, @@ -65,6 +66,13 @@ export function getAwsAssumeRolePolicy(args: GetAwsAssumeRolePolicyArgs, opts?: * A collection of arguments for invoking getAwsAssumeRolePolicy. */ export interface GetAwsAssumeRolePolicyArgs { + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: string; + /** + * @deprecated databricks_account_id will be will be removed in the next major release. + */ databricksAccountId?: string; /** * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). @@ -80,6 +88,10 @@ export interface GetAwsAssumeRolePolicyArgs { * A collection of values returned by getAwsAssumeRolePolicy. */ export interface GetAwsAssumeRolePolicyResult { + readonly awsPartition?: string; + /** + * @deprecated databricks_account_id will be will be removed in the next major release. + */ readonly databricksAccountId?: string; readonly externalId: string; readonly forLogDelivery?: boolean; @@ -143,6 +155,7 @@ export interface GetAwsAssumeRolePolicyResult { export function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", { + "awsPartition": args.awsPartition, "databricksAccountId": args.databricksAccountId, "externalId": args.externalId, "forLogDelivery": args.forLogDelivery, @@ -153,6 +166,13 @@ export function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolicyOutputA * A collection of arguments for invoking getAwsAssumeRolePolicy. */ export interface GetAwsAssumeRolePolicyOutputArgs { + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: pulumi.Input; + /** + * @deprecated databricks_account_id will be will be removed in the next major release. + */ databricksAccountId?: pulumi.Input; /** * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). diff --git a/sdk/nodejs/getAwsBucketPolicy.ts b/sdk/nodejs/getAwsBucketPolicy.ts index 36d55a40..12a7f685 100644 --- a/sdk/nodejs/getAwsBucketPolicy.ts +++ b/sdk/nodejs/getAwsBucketPolicy.ts @@ -32,6 +32,7 @@ import * as utilities from "./utilities"; export function getAwsBucketPolicy(args: GetAwsBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", { + "awsPartition": args.awsPartition, "bucket": args.bucket, "databricksAccountId": args.databricksAccountId, "databricksE2AccountId": args.databricksE2AccountId, @@ -43,10 +44,17 @@ export function getAwsBucketPolicy(args: GetAwsBucketPolicyArgs, opts?: pulumi.I * A collection of arguments for invoking getAwsBucketPolicy. */ export interface GetAwsBucketPolicyArgs { + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: string; /** * AWS S3 Bucket name for which to generate the policy document. */ bucket: string; + /** + * @deprecated databricks_account_id will be will be removed in the next major release. + */ databricksAccountId?: string; /** * Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket @@ -62,7 +70,11 @@ export interface GetAwsBucketPolicyArgs { * A collection of values returned by getAwsBucketPolicy. */ export interface GetAwsBucketPolicyResult { + readonly awsPartition?: string; readonly bucket: string; + /** + * @deprecated databricks_account_id will be will be removed in the next major release. + */ readonly databricksAccountId?: string; readonly databricksE2AccountId?: string; readonly fullAccessRole?: string; @@ -103,6 +115,7 @@ export interface GetAwsBucketPolicyResult { export function getAwsBucketPolicyOutput(args: GetAwsBucketPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", { + "awsPartition": args.awsPartition, "bucket": args.bucket, "databricksAccountId": args.databricksAccountId, "databricksE2AccountId": args.databricksE2AccountId, @@ -114,10 +127,17 @@ export function getAwsBucketPolicyOutput(args: GetAwsBucketPolicyOutputArgs, opt * A collection of arguments for invoking getAwsBucketPolicy. */ export interface GetAwsBucketPolicyOutputArgs { + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: pulumi.Input; /** * AWS S3 Bucket name for which to generate the policy document. */ bucket: pulumi.Input; + /** + * @deprecated databricks_account_id will be will be removed in the next major release. + */ databricksAccountId?: pulumi.Input; /** * Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket diff --git a/sdk/nodejs/getAwsCrossAccountPolicy.ts b/sdk/nodejs/getAwsCrossAccountPolicy.ts index 31c555de..cfa19a9a 100644 --- a/sdk/nodejs/getAwsCrossAccountPolicy.ts +++ b/sdk/nodejs/getAwsCrossAccountPolicy.ts @@ -34,6 +34,7 @@ export function getAwsCrossAccountPolicy(args?: GetAwsCrossAccountPolicyArgs, op opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", { "awsAccountId": args.awsAccountId, + "awsPartition": args.awsPartition, "passRoles": args.passRoles, "policyType": args.policyType, "region": args.region, @@ -50,6 +51,10 @@ export interface GetAwsCrossAccountPolicyArgs { * — Your AWS account ID, which is a number. */ awsAccountId?: string; + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: string; /** * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. * The below arguments are only valid for `restricted` policy type @@ -78,6 +83,7 @@ export interface GetAwsCrossAccountPolicyArgs { */ export interface GetAwsCrossAccountPolicyResult { readonly awsAccountId?: string; + readonly awsPartition?: string; /** * The provider-assigned unique ID for this managed resource. */ @@ -122,6 +128,7 @@ export function getAwsCrossAccountPolicyOutput(args?: GetAwsCrossAccountPolicyOu opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", { "awsAccountId": args.awsAccountId, + "awsPartition": args.awsPartition, "passRoles": args.passRoles, "policyType": args.policyType, "region": args.region, @@ -138,6 +145,10 @@ export interface GetAwsCrossAccountPolicyOutputArgs { * — Your AWS account ID, which is a number. */ awsAccountId?: pulumi.Input; + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: pulumi.Input; /** * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. * The below arguments are only valid for `restricted` policy type diff --git a/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts b/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts index 2a6f61fa..0f9ceb1e 100644 --- a/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts +++ b/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts @@ -42,6 +42,7 @@ export function getAwsUnityCatalogAssumeRolePolicy(args: GetAwsUnityCatalogAssum opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", { "awsAccountId": args.awsAccountId, + "awsPartition": args.awsPartition, "externalId": args.externalId, "roleName": args.roleName, "unityCatalogIamArn": args.unityCatalogIamArn, @@ -56,6 +57,10 @@ export interface GetAwsUnityCatalogAssumeRolePolicyArgs { * The Account ID of the current AWS account (not your Databricks account). */ awsAccountId: string; + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: string; /** * The storage credential external id. */ @@ -65,7 +70,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyArgs { */ roleName: string; /** - * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection */ unityCatalogIamArn?: string; } @@ -75,6 +80,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyArgs { */ export interface GetAwsUnityCatalogAssumeRolePolicyResult { readonly awsAccountId: string; + readonly awsPartition?: string; readonly externalId: string; readonly id: string; /** @@ -122,6 +128,7 @@ export function getAwsUnityCatalogAssumeRolePolicyOutput(args: GetAwsUnityCatalo opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", { "awsAccountId": args.awsAccountId, + "awsPartition": args.awsPartition, "externalId": args.externalId, "roleName": args.roleName, "unityCatalogIamArn": args.unityCatalogIamArn, @@ -136,6 +143,10 @@ export interface GetAwsUnityCatalogAssumeRolePolicyOutputArgs { * The Account ID of the current AWS account (not your Databricks account). */ awsAccountId: pulumi.Input; + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: pulumi.Input; /** * The storage credential external id. */ @@ -145,7 +156,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyOutputArgs { */ roleName: pulumi.Input; /** - * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection */ unityCatalogIamArn?: pulumi.Input; } diff --git a/sdk/nodejs/getAwsUnityCatalogPolicy.ts b/sdk/nodejs/getAwsUnityCatalogPolicy.ts index 3f33da96..67bf6728 100644 --- a/sdk/nodejs/getAwsUnityCatalogPolicy.ts +++ b/sdk/nodejs/getAwsUnityCatalogPolicy.ts @@ -42,6 +42,7 @@ export function getAwsUnityCatalogPolicy(args: GetAwsUnityCatalogPolicyArgs, opt opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", { "awsAccountId": args.awsAccountId, + "awsPartition": args.awsPartition, "bucketName": args.bucketName, "kmsName": args.kmsName, "roleName": args.roleName, @@ -56,6 +57,10 @@ export interface GetAwsUnityCatalogPolicyArgs { * The Account ID of the current AWS account (not your Databricks account). */ awsAccountId: string; + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: string; /** * The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. */ @@ -75,6 +80,7 @@ export interface GetAwsUnityCatalogPolicyArgs { */ export interface GetAwsUnityCatalogPolicyResult { readonly awsAccountId: string; + readonly awsPartition?: string; readonly bucketName: string; /** * The provider-assigned unique ID for this managed resource. @@ -125,6 +131,7 @@ export function getAwsUnityCatalogPolicyOutput(args: GetAwsUnityCatalogPolicyOut opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", { "awsAccountId": args.awsAccountId, + "awsPartition": args.awsPartition, "bucketName": args.bucketName, "kmsName": args.kmsName, "roleName": args.roleName, @@ -139,6 +146,10 @@ export interface GetAwsUnityCatalogPolicyOutputArgs { * The Account ID of the current AWS account (not your Databricks account). */ awsAccountId: pulumi.Input; + /** + * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` + */ + awsPartition?: pulumi.Input; /** * The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. */ diff --git a/sdk/nodejs/getFunctions.ts b/sdk/nodejs/getFunctions.ts index c4c3d972..0df71768 100644 --- a/sdk/nodejs/getFunctions.ts +++ b/sdk/nodejs/getFunctions.ts @@ -75,7 +75,7 @@ export interface GetFunctionsResult { /** * list of objects describing individual UDF. Each object consists of the following attributes (refer to [REST API documentation](https://docs.databricks.com/api/workspace/functions/list#functions) for up-to-date list of attributes. Default type is String): */ - readonly functions?: outputs.GetFunctionsFunction[]; + readonly functions: outputs.GetFunctionsFunction[]; /** * The provider-assigned unique ID for this managed resource. */ diff --git a/sdk/nodejs/getJobs.ts b/sdk/nodejs/getJobs.ts index 3becfc1f..bdf4caaf 100644 --- a/sdk/nodejs/getJobs.ts +++ b/sdk/nodejs/getJobs.ts @@ -21,6 +21,9 @@ import * as utilities from "./utilities"; * * export = async () => { * const this = await databricks.getJobs({}); + * const tests = await databricks.getJobs({ + * jobNameContains: "test", + * }); * const everyoneCanViewAllJobs: databricks.Permissions[] = []; * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) { * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, { @@ -55,6 +58,7 @@ export function getJobs(args?: GetJobsArgs, opts?: pulumi.InvokeOptions): Promis opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getJobs:getJobs", { "ids": args.ids, + "jobNameContains": args.jobNameContains, }, opts); } @@ -66,6 +70,10 @@ export interface GetJobsArgs { * map of databricks.Job names to ids */ ids?: {[key: string]: string}; + /** + * Only return databricks.Job ids that match the given name string (case-insensitive). + */ + jobNameContains?: string; } /** @@ -80,6 +88,7 @@ export interface GetJobsResult { * map of databricks.Job names to ids */ readonly ids: {[key: string]: string}; + readonly jobNameContains?: string; } /** * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -98,6 +107,9 @@ export interface GetJobsResult { * * export = async () => { * const this = await databricks.getJobs({}); + * const tests = await databricks.getJobs({ + * jobNameContains: "test", + * }); * const everyoneCanViewAllJobs: databricks.Permissions[] = []; * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) { * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, { @@ -132,6 +144,7 @@ export function getJobsOutput(args?: GetJobsOutputArgs, opts?: pulumi.InvokeOutp opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getJobs:getJobs", { "ids": args.ids, + "jobNameContains": args.jobNameContains, }, opts); } @@ -143,4 +156,8 @@ export interface GetJobsOutputArgs { * map of databricks.Job names to ids */ ids?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Only return databricks.Job ids that match the given name string (case-insensitive). + */ + jobNameContains?: pulumi.Input; } diff --git a/sdk/nodejs/getMwsNetworkConnectivityConfig.ts b/sdk/nodejs/getMwsNetworkConnectivityConfig.ts new file mode 100644 index 00000000..b0476d1e --- /dev/null +++ b/sdk/nodejs/getMwsNetworkConnectivityConfig.ts @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * Fetching information about a network connectivity configuration in Databricks Account + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getMwsNetworkConnectivityConfig({ + * name: "ncc", + * }); + * export const config = _this; + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + */ +export function getMwsNetworkConnectivityConfig(args: GetMwsNetworkConnectivityConfigArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", { + "accountId": args.accountId, + "creationTime": args.creationTime, + "egressConfig": args.egressConfig, + "name": args.name, + "networkConnectivityConfigId": args.networkConnectivityConfigId, + "region": args.region, + "updatedTime": args.updatedTime, + }, opts); +} + +/** + * A collection of arguments for invoking getMwsNetworkConnectivityConfig. + */ +export interface GetMwsNetworkConnectivityConfigArgs { + /** + * The Databricks account ID associated with this network configuration. + */ + accountId?: string; + /** + * Time in epoch milliseconds when this object was created. + */ + creationTime?: number; + /** + * Array of egress configuration objects. + */ + egressConfig?: inputs.GetMwsNetworkConnectivityConfigEgressConfig; + /** + * Name of the network connectivity configuration. + */ + name: string; + /** + * The Databricks network connectivity configuration ID. + */ + networkConnectivityConfigId?: string; + /** + * The region of the network connectivity configuration. + */ + region?: string; + /** + * Time in epoch milliseconds when the network was updated. + */ + updatedTime?: number; +} + +/** + * A collection of values returned by getMwsNetworkConnectivityConfig. + */ +export interface GetMwsNetworkConnectivityConfigResult { + /** + * The Databricks account ID associated with this network configuration. + */ + readonly accountId: string; + /** + * Time in epoch milliseconds when this object was created. + */ + readonly creationTime: number; + /** + * Array of egress configuration objects. + */ + readonly egressConfig: outputs.GetMwsNetworkConnectivityConfigEgressConfig; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The name of the network connectivity configuration. + */ + readonly name: string; + /** + * The Databricks network connectivity configuration ID. + */ + readonly networkConnectivityConfigId: string; + /** + * The region of the network connectivity configuration. + */ + readonly region: string; + /** + * Time in epoch milliseconds when the network was updated. + */ + readonly updatedTime: number; +} +/** + * > **Note** This data source can only be used with an account-level provider! + * + * Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * Fetching information about a network connectivity configuration in Databricks Account + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getMwsNetworkConnectivityConfig({ + * name: "ncc", + * }); + * export const config = _this; + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + */ +export function getMwsNetworkConnectivityConfigOutput(args: GetMwsNetworkConnectivityConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig", { + "accountId": args.accountId, + "creationTime": args.creationTime, + "egressConfig": args.egressConfig, + "name": args.name, + "networkConnectivityConfigId": args.networkConnectivityConfigId, + "region": args.region, + "updatedTime": args.updatedTime, + }, opts); +} + +/** + * A collection of arguments for invoking getMwsNetworkConnectivityConfig. + */ +export interface GetMwsNetworkConnectivityConfigOutputArgs { + /** + * The Databricks account ID associated with this network configuration. + */ + accountId?: pulumi.Input; + /** + * Time in epoch milliseconds when this object was created. + */ + creationTime?: pulumi.Input; + /** + * Array of egress configuration objects. + */ + egressConfig?: pulumi.Input; + /** + * Name of the network connectivity configuration. + */ + name: pulumi.Input; + /** + * The Databricks network connectivity configuration ID. + */ + networkConnectivityConfigId?: pulumi.Input; + /** + * The region of the network connectivity configuration. + */ + region?: pulumi.Input; + /** + * Time in epoch milliseconds when the network was updated. + */ + updatedTime?: pulumi.Input; +} diff --git a/sdk/nodejs/getMwsNetworkConnectivityConfigs.ts b/sdk/nodejs/getMwsNetworkConnectivityConfigs.ts new file mode 100644 index 00000000..17d4145f --- /dev/null +++ b/sdk/nodejs/getMwsNetworkConnectivityConfigs.ts @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * > **Note** This data source can only be used with an account-level provider! + * + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * List all network connectivity configurations in Databricks Account + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getMwsNetworkConnectivityConfigs({}); + * export const all = _this; + * ``` + * + * List network connectivity configurations from a specific region in Databricks Account + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getMwsNetworkConnectivityConfigs({ + * region: "us-east-1", + * }); + * export const filtered = _this; + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + */ +export function getMwsNetworkConnectivityConfigs(args?: GetMwsNetworkConnectivityConfigsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", { + "names": args.names, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getMwsNetworkConnectivityConfigs. + */ +export interface GetMwsNetworkConnectivityConfigsArgs { + /** + * List of names of databricks_mws_network_connectivity_config + */ + names?: string[]; + /** + * Filter network connectivity configurations by region. + */ + region?: string; +} + +/** + * A collection of values returned by getMwsNetworkConnectivityConfigs. + */ +export interface GetMwsNetworkConnectivityConfigsResult { + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * List of names of databricks_mws_network_connectivity_config + */ + readonly names: string[]; + readonly region?: string; +} +/** + * > **Note** This data source can only be used with an account-level provider! + * + * Lists all databricks.MwsNetworkConnectivityConfig in Databricks Account. + * + * ## Example Usage + * + * List all network connectivity configurations in Databricks Account + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getMwsNetworkConnectivityConfigs({}); + * export const all = _this; + * ``` + * + * List network connectivity configurations from a specific region in Databricks Account + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getMwsNetworkConnectivityConfigs({ + * region: "us-east-1", + * }); + * export const filtered = _this; + * ``` + * + * ## Related Resources + * + * The following resources are used in the same context: + * + * * databricks.MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * * databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration. + */ +export function getMwsNetworkConnectivityConfigsOutput(args?: GetMwsNetworkConnectivityConfigsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs", { + "names": args.names, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getMwsNetworkConnectivityConfigs. + */ +export interface GetMwsNetworkConnectivityConfigsOutputArgs { + /** + * List of names of databricks_mws_network_connectivity_config + */ + names?: pulumi.Input[]>; + /** + * Filter network connectivity configurations by region. + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/getNotificationDestinations.ts b/sdk/nodejs/getNotificationDestinations.ts index 1c917576..db91ea36 100644 --- a/sdk/nodejs/getNotificationDestinations.ts +++ b/sdk/nodejs/getNotificationDestinations.ts @@ -45,7 +45,6 @@ export function getNotificationDestinations(args?: GetNotificationDestinationsAr opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getNotificationDestinations:getNotificationDestinations", { "displayNameContains": args.displayNameContains, - "notificationDestinations": args.notificationDestinations, "type": args.type, }, opts); } @@ -58,10 +57,6 @@ export interface GetNotificationDestinationsArgs { * A **case-insensitive** substring to filter Notification Destinations by their display name. */ displayNameContains?: string; - /** - * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - */ - notificationDestinations?: inputs.GetNotificationDestinationsNotificationDestination[]; /** * The type of the Notification Destination to filter by. Valid values are: * * `EMAIL` - Filters Notification Destinations of type Email. @@ -85,7 +80,7 @@ export interface GetNotificationDestinationsResult { /** * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: */ - readonly notificationDestinations?: outputs.GetNotificationDestinationsNotificationDestination[]; + readonly notificationDestinations: outputs.GetNotificationDestinationsNotificationDestination[]; readonly type?: string; } /** @@ -127,7 +122,6 @@ export function getNotificationDestinationsOutput(args?: GetNotificationDestinat opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getNotificationDestinations:getNotificationDestinations", { "displayNameContains": args.displayNameContains, - "notificationDestinations": args.notificationDestinations, "type": args.type, }, opts); } @@ -140,10 +134,6 @@ export interface GetNotificationDestinationsOutputArgs { * A **case-insensitive** substring to filter Notification Destinations by their display name. */ displayNameContains?: pulumi.Input; - /** - * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: - */ - notificationDestinations?: pulumi.Input[]>; /** * The type of the Notification Destination to filter by. Valid values are: * * `EMAIL` - Filters Notification Destinations of type Email. diff --git a/sdk/nodejs/getRegisteredModel.ts b/sdk/nodejs/getRegisteredModel.ts index d4a5d234..02606d0b 100644 --- a/sdk/nodejs/getRegisteredModel.ts +++ b/sdk/nodejs/getRegisteredModel.ts @@ -79,7 +79,7 @@ export interface GetRegisteredModelResult { /** * block with information about the model in Unity Catalog: */ - readonly modelInfos?: outputs.GetRegisteredModelModelInfo[]; + readonly modelInfos: outputs.GetRegisteredModelModelInfo[]; } /** * > This resource can only be used with a workspace-level provider! diff --git a/sdk/nodejs/getRegisteredModelVersions.ts b/sdk/nodejs/getRegisteredModelVersions.ts new file mode 100644 index 00000000..d5e69836 --- /dev/null +++ b/sdk/nodejs/getRegisteredModelVersions.ts @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getRegisteredModelVersions({ + * fullName: "main.default.my_model", + * }); + * ``` + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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 getRegisteredModelVersions(args: GetRegisteredModelVersionsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", { + "fullName": args.fullName, + "modelVersions": args.modelVersions, + }, opts); +} + +/** + * A collection of arguments for invoking getRegisteredModelVersions. + */ +export interface GetRegisteredModelVersionsArgs { + /** + * The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + */ + fullName: string; + /** + * list of objects describing the model versions. Each object consists of following attributes: + */ + modelVersions?: inputs.GetRegisteredModelVersionsModelVersion[]; +} + +/** + * A collection of values returned by getRegisteredModelVersions. + */ +export interface GetRegisteredModelVersionsResult { + /** + * The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + */ + readonly fullName: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * list of objects describing the model versions. Each object consists of following attributes: + */ + readonly modelVersions: outputs.GetRegisteredModelVersionsModelVersion[]; +} +/** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const this = databricks.getRegisteredModelVersions({ + * fullName: "main.default.my_model", + * }); + * ``` + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog. + * * databricks.RegisteredModel resource to manage models within Unity Catalog. + * * 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 getRegisteredModelVersionsOutput(args: GetRegisteredModelVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", { + "fullName": args.fullName, + "modelVersions": args.modelVersions, + }, opts); +} + +/** + * A collection of arguments for invoking getRegisteredModelVersions. + */ +export interface GetRegisteredModelVersionsOutputArgs { + /** + * The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + */ + fullName: pulumi.Input; + /** + * list of objects describing the model versions. Each object consists of following attributes: + */ + modelVersions?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/getServingEndpoints.ts b/sdk/nodejs/getServingEndpoints.ts new file mode 100644 index 00000000..f9924f5e --- /dev/null +++ b/sdk/nodejs/getServingEndpoints.ts @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const all = databricks.getServingEndpoints({}); + * const mlServingUsage: databricks.Permissions[] = []; + * for (const range = {value: 0}; range.value < allDatabricksServingEndpoints.endpoints; range.value++) { + * mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, { + * servingEndpointId: range.value.id, + * accessControls: [ + * { + * groupName: "users", + * permissionLevel: "CAN_VIEW", + * }, + * { + * groupName: auto.displayName, + * permissionLevel: "CAN_MANAGE", + * }, + * { + * groupName: eng.displayName, + * permissionLevel: "CAN_QUERY", + * }, + * ], + * })); + * } + * ``` + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + */ +export function getServingEndpoints(args?: GetServingEndpointsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("databricks:index/getServingEndpoints:getServingEndpoints", { + "endpoints": args.endpoints, + }, opts); +} + +/** + * A collection of arguments for invoking getServingEndpoints. + */ +export interface GetServingEndpointsArgs { + /** + * List of objects describing the serving endpoints. Each object consists of following attributes: + */ + endpoints?: inputs.GetServingEndpointsEndpoint[]; +} + +/** + * A collection of values returned by getServingEndpoints. + */ +export interface GetServingEndpointsResult { + /** + * List of objects describing the serving endpoints. Each object consists of following attributes: + */ + readonly endpoints: outputs.GetServingEndpointsEndpoint[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * > This resource can only be used with a workspace-level provider! + * + * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const all = databricks.getServingEndpoints({}); + * const mlServingUsage: databricks.Permissions[] = []; + * for (const range = {value: 0}; range.value < allDatabricksServingEndpoints.endpoints; range.value++) { + * mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, { + * servingEndpointId: range.value.id, + * accessControls: [ + * { + * groupName: "users", + * permissionLevel: "CAN_VIEW", + * }, + * { + * groupName: auto.displayName, + * permissionLevel: "CAN_MANAGE", + * }, + * { + * groupName: eng.displayName, + * permissionLevel: "CAN_QUERY", + * }, + * ], + * })); + * } + * ``` + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + */ +export function getServingEndpointsOutput(args?: GetServingEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("databricks:index/getServingEndpoints:getServingEndpoints", { + "endpoints": args.endpoints, + }, opts); +} + +/** + * A collection of arguments for invoking getServingEndpoints. + */ +export interface GetServingEndpointsOutputArgs { + /** + * List of objects describing the serving endpoints. Each object consists of following attributes: + */ + endpoints?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/grant.ts b/sdk/nodejs/grant.ts index 55cf4451..f31f8b60 100644 --- a/sdk/nodejs/grant.ts +++ b/sdk/nodejs/grant.ts @@ -277,6 +277,29 @@ import * as utilities from "./utilities"; * }); * ``` * + * ## Service credential grants + * + * See databricks.Grants Service credential grants for the list of privileges that apply to Service credentials. + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const external = new databricks.Credential("external", { + * name: externalDataAccess.name, + * awsIamRole: { + * roleArn: externalDataAccess.arn, + * }, + * purpose: "SERVICE", + * comment: "Managed by TF", + * }); + * const externalCreds = new databricks.Grant("external_creds", { + * credential: external.id, + * principal: "Data Engineers", + * privileges: ["ACCESS"], + * }); + * ``` + * * ## Storage credential grants * * See databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials. @@ -439,6 +462,7 @@ export class Grant extends pulumi.CustomResource { } public readonly catalog!: pulumi.Output; + public readonly credential!: pulumi.Output; public readonly externalLocation!: pulumi.Output; public readonly foreignConnection!: pulumi.Output; public readonly function!: pulumi.Output; @@ -468,6 +492,7 @@ export class Grant extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as GrantState | undefined; resourceInputs["catalog"] = state ? state.catalog : undefined; + resourceInputs["credential"] = state ? state.credential : undefined; resourceInputs["externalLocation"] = state ? state.externalLocation : undefined; resourceInputs["foreignConnection"] = state ? state.foreignConnection : undefined; resourceInputs["function"] = state ? state.function : undefined; @@ -491,6 +516,7 @@ export class Grant extends pulumi.CustomResource { throw new Error("Missing required property 'privileges'"); } resourceInputs["catalog"] = args ? args.catalog : undefined; + resourceInputs["credential"] = args ? args.credential : undefined; resourceInputs["externalLocation"] = args ? args.externalLocation : undefined; resourceInputs["foreignConnection"] = args ? args.foreignConnection : undefined; resourceInputs["function"] = args ? args.function : undefined; @@ -516,6 +542,7 @@ export class Grant extends pulumi.CustomResource { */ export interface GrantState { catalog?: pulumi.Input; + credential?: pulumi.Input; externalLocation?: pulumi.Input; foreignConnection?: pulumi.Input; function?: pulumi.Input; @@ -537,6 +564,7 @@ export interface GrantState { */ export interface GrantArgs { catalog?: pulumi.Input; + credential?: pulumi.Input; externalLocation?: pulumi.Input; foreignConnection?: pulumi.Input; function?: pulumi.Input; diff --git a/sdk/nodejs/grants.ts b/sdk/nodejs/grants.ts index 94fe80d8..daeeb068 100644 --- a/sdk/nodejs/grants.ts +++ b/sdk/nodejs/grants.ts @@ -33,7 +33,7 @@ import * as utilities from "./utilities"; * * ## Metastore grants * - * You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace. + * You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -308,6 +308,31 @@ import * as utilities from "./utilities"; * }); * ``` * + * ## Service credential grants + * + * You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to databricks.Credential id specified in `credential` attribute: + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const external = new databricks.Credential("external", { + * name: externalDataAccess.name, + * awsIamRole: { + * roleArn: externalDataAccess.arn, + * }, + * purpose: "SERVICE", + * comment: "Managed by TF", + * }); + * const externalCreds = new databricks.Grants("external_creds", { + * credential: external.id, + * grants: [{ + * principal: "Data Engineers", + * privileges: ["CREATE_CONNECTION"], + * }], + * }); + * ``` + * * ## Storage credential grants * * You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute: @@ -477,6 +502,7 @@ export class Grants extends pulumi.CustomResource { } public readonly catalog!: pulumi.Output; + public readonly credential!: pulumi.Output; public readonly externalLocation!: pulumi.Output; public readonly foreignConnection!: pulumi.Output; public readonly function!: pulumi.Output; @@ -505,6 +531,7 @@ export class Grants extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as GrantsState | undefined; resourceInputs["catalog"] = state ? state.catalog : undefined; + resourceInputs["credential"] = state ? state.credential : undefined; resourceInputs["externalLocation"] = state ? state.externalLocation : undefined; resourceInputs["foreignConnection"] = state ? state.foreignConnection : undefined; resourceInputs["function"] = state ? state.function : undefined; @@ -524,6 +551,7 @@ export class Grants extends pulumi.CustomResource { throw new Error("Missing required property 'grants'"); } resourceInputs["catalog"] = args ? args.catalog : undefined; + resourceInputs["credential"] = args ? args.credential : undefined; resourceInputs["externalLocation"] = args ? args.externalLocation : undefined; resourceInputs["foreignConnection"] = args ? args.foreignConnection : undefined; resourceInputs["function"] = args ? args.function : undefined; @@ -548,6 +576,7 @@ export class Grants extends pulumi.CustomResource { */ export interface GrantsState { catalog?: pulumi.Input; + credential?: pulumi.Input; externalLocation?: pulumi.Input; foreignConnection?: pulumi.Input; function?: pulumi.Input; @@ -568,6 +597,7 @@ export interface GrantsState { */ export interface GrantsArgs { catalog?: pulumi.Input; + credential?: pulumi.Input; externalLocation?: pulumi.Input; foreignConnection?: pulumi.Input; function?: pulumi.Input; diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index c82c28cf..67a266ca 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -15,6 +15,11 @@ export type Alert = import("./alert").Alert; export const Alert: typeof import("./alert").Alert = null as any; utilities.lazyLoad(exports, ["Alert"], () => require("./alert")); +export { AppArgs, AppState } from "./app"; +export type App = import("./app").App; +export const App: typeof import("./app").App = null as any; +utilities.lazyLoad(exports, ["App"], () => require("./app")); + export { ArtifactAllowlistArgs, ArtifactAllowlistState } from "./artifactAllowlist"; export type ArtifactAllowlist = import("./artifactAllowlist").ArtifactAllowlist; export const ArtifactAllowlist: typeof import("./artifactAllowlist").ArtifactAllowlist = null as any; @@ -60,6 +65,11 @@ export type Connection = import("./connection").Connection; export const Connection: typeof import("./connection").Connection = null as any; utilities.lazyLoad(exports, ["Connection"], () => require("./connection")); +export { CredentialArgs, CredentialState } from "./credential"; +export type Credential = import("./credential").Credential; +export const Credential: typeof import("./credential").Credential = null as any; +utilities.lazyLoad(exports, ["Credential"], () => require("./credential")); + export { CustomAppIntegrationArgs, CustomAppIntegrationState } from "./customAppIntegration"; export type CustomAppIntegration = import("./customAppIntegration").CustomAppIntegration; export const CustomAppIntegration: typeof import("./customAppIntegration").CustomAppIntegration = null as any; @@ -105,6 +115,16 @@ export type File = import("./file").File; export const File: typeof import("./file").File = null as any; utilities.lazyLoad(exports, ["File"], () => require("./file")); +export { GetAppArgs, GetAppResult, GetAppOutputArgs } from "./getApp"; +export const getApp: typeof import("./getApp").getApp = null as any; +export const getAppOutput: typeof import("./getApp").getAppOutput = null as any; +utilities.lazyLoad(exports, ["getApp","getAppOutput"], () => require("./getApp")); + +export { GetAppsResult } from "./getApps"; +export const getApps: typeof import("./getApps").getApps = null as any; +export const getAppsOutput: typeof import("./getApps").getAppsOutput = null as any; +utilities.lazyLoad(exports, ["getApps","getAppsOutput"], () => require("./getApps")); + export { GetAwsAssumeRolePolicyArgs, GetAwsAssumeRolePolicyResult, GetAwsAssumeRolePolicyOutputArgs } from "./getAwsAssumeRolePolicy"; export const getAwsAssumeRolePolicy: typeof import("./getAwsAssumeRolePolicy").getAwsAssumeRolePolicy = null as any; export const getAwsAssumeRolePolicyOutput: typeof import("./getAwsAssumeRolePolicy").getAwsAssumeRolePolicyOutput = null as any; @@ -255,6 +275,16 @@ export const getMwsCredentials: typeof import("./getMwsCredentials").getMwsCrede export const getMwsCredentialsOutput: typeof import("./getMwsCredentials").getMwsCredentialsOutput = null as any; utilities.lazyLoad(exports, ["getMwsCredentials","getMwsCredentialsOutput"], () => require("./getMwsCredentials")); +export { GetMwsNetworkConnectivityConfigArgs, GetMwsNetworkConnectivityConfigResult, GetMwsNetworkConnectivityConfigOutputArgs } from "./getMwsNetworkConnectivityConfig"; +export const getMwsNetworkConnectivityConfig: typeof import("./getMwsNetworkConnectivityConfig").getMwsNetworkConnectivityConfig = null as any; +export const getMwsNetworkConnectivityConfigOutput: typeof import("./getMwsNetworkConnectivityConfig").getMwsNetworkConnectivityConfigOutput = null as any; +utilities.lazyLoad(exports, ["getMwsNetworkConnectivityConfig","getMwsNetworkConnectivityConfigOutput"], () => require("./getMwsNetworkConnectivityConfig")); + +export { GetMwsNetworkConnectivityConfigsArgs, GetMwsNetworkConnectivityConfigsResult, GetMwsNetworkConnectivityConfigsOutputArgs } from "./getMwsNetworkConnectivityConfigs"; +export const getMwsNetworkConnectivityConfigs: typeof import("./getMwsNetworkConnectivityConfigs").getMwsNetworkConnectivityConfigs = null as any; +export const getMwsNetworkConnectivityConfigsOutput: typeof import("./getMwsNetworkConnectivityConfigs").getMwsNetworkConnectivityConfigsOutput = null as any; +utilities.lazyLoad(exports, ["getMwsNetworkConnectivityConfigs","getMwsNetworkConnectivityConfigsOutput"], () => require("./getMwsNetworkConnectivityConfigs")); + export { GetMwsWorkspacesArgs, GetMwsWorkspacesResult, GetMwsWorkspacesOutputArgs } from "./getMwsWorkspaces"; export const getMwsWorkspaces: typeof import("./getMwsWorkspaces").getMwsWorkspaces = null as any; export const getMwsWorkspacesOutput: typeof import("./getMwsWorkspaces").getMwsWorkspacesOutput = null as any; @@ -290,6 +320,11 @@ export const getRegisteredModel: typeof import("./getRegisteredModel").getRegist export const getRegisteredModelOutput: typeof import("./getRegisteredModel").getRegisteredModelOutput = null as any; utilities.lazyLoad(exports, ["getRegisteredModel","getRegisteredModelOutput"], () => require("./getRegisteredModel")); +export { GetRegisteredModelVersionsArgs, GetRegisteredModelVersionsResult, GetRegisteredModelVersionsOutputArgs } from "./getRegisteredModelVersions"; +export const getRegisteredModelVersions: typeof import("./getRegisteredModelVersions").getRegisteredModelVersions = null as any; +export const getRegisteredModelVersionsOutput: typeof import("./getRegisteredModelVersions").getRegisteredModelVersionsOutput = null as any; +utilities.lazyLoad(exports, ["getRegisteredModelVersions","getRegisteredModelVersionsOutput"], () => require("./getRegisteredModelVersions")); + export { GetSchemaArgs, GetSchemaResult, GetSchemaOutputArgs } from "./getSchema"; export const getSchema: typeof import("./getSchema").getSchema = null as any; export const getSchemaOutput: typeof import("./getSchema").getSchemaOutput = null as any; @@ -310,6 +345,11 @@ export const getServicePrincipals: typeof import("./getServicePrincipals").getSe export const getServicePrincipalsOutput: typeof import("./getServicePrincipals").getServicePrincipalsOutput = null as any; utilities.lazyLoad(exports, ["getServicePrincipals","getServicePrincipalsOutput"], () => require("./getServicePrincipals")); +export { GetServingEndpointsArgs, GetServingEndpointsResult, GetServingEndpointsOutputArgs } from "./getServingEndpoints"; +export const getServingEndpoints: typeof import("./getServingEndpoints").getServingEndpoints = null as any; +export const getServingEndpointsOutput: typeof import("./getServingEndpoints").getServingEndpointsOutput = null as any; +utilities.lazyLoad(exports, ["getServingEndpoints","getServingEndpointsOutput"], () => require("./getServingEndpoints")); + export { GetShareArgs, GetShareResult, GetShareOutputArgs } from "./getShare"; export const getShare: typeof import("./getShare").getShare = null as any; export const getShareOutput: typeof import("./getShare").getShareOutput = null as any; @@ -793,6 +833,8 @@ const _module = { return new AccessControlRuleSet(name, undefined, { urn }) case "databricks:index/alert:Alert": return new Alert(name, undefined, { urn }) + case "databricks:index/app:App": + return new App(name, undefined, { urn }) case "databricks:index/artifactAllowlist:ArtifactAllowlist": return new ArtifactAllowlist(name, undefined, { urn }) case "databricks:index/automaticClusterUpdateWorkspaceSetting:AutomaticClusterUpdateWorkspaceSetting": @@ -811,6 +853,8 @@ const _module = { return new ComplianceSecurityProfileWorkspaceSetting(name, undefined, { urn }) case "databricks:index/connection:Connection": return new Connection(name, undefined, { urn }) + case "databricks:index/credential:Credential": + return new Credential(name, undefined, { urn }) case "databricks:index/customAppIntegration:CustomAppIntegration": return new CustomAppIntegration(name, undefined, { urn }) case "databricks:index/dashboard:Dashboard": @@ -992,6 +1036,7 @@ const _module = { }; pulumi.runtime.registerResourceModule("databricks", "index/accessControlRuleSet", _module) pulumi.runtime.registerResourceModule("databricks", "index/alert", _module) +pulumi.runtime.registerResourceModule("databricks", "index/app", _module) pulumi.runtime.registerResourceModule("databricks", "index/artifactAllowlist", _module) pulumi.runtime.registerResourceModule("databricks", "index/automaticClusterUpdateWorkspaceSetting", _module) pulumi.runtime.registerResourceModule("databricks", "index/budget", _module) @@ -1001,6 +1046,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/cluster", _module) pulumi.runtime.registerResourceModule("databricks", "index/clusterPolicy", _module) pulumi.runtime.registerResourceModule("databricks", "index/complianceSecurityProfileWorkspaceSetting", _module) pulumi.runtime.registerResourceModule("databricks", "index/connection", _module) +pulumi.runtime.registerResourceModule("databricks", "index/credential", _module) pulumi.runtime.registerResourceModule("databricks", "index/customAppIntegration", _module) pulumi.runtime.registerResourceModule("databricks", "index/dashboard", _module) pulumi.runtime.registerResourceModule("databricks", "index/dbfsFile", _module) diff --git a/sdk/nodejs/mwsCustomerManagedKeys.ts b/sdk/nodejs/mwsCustomerManagedKeys.ts index c82a209b..bbceb5eb 100644 --- a/sdk/nodejs/mwsCustomerManagedKeys.ts +++ b/sdk/nodejs/mwsCustomerManagedKeys.ts @@ -222,7 +222,17 @@ import * as utilities from "./utilities"; * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and customer managed key ID. + * + * ```sh + * $ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '/' + * ``` + * + * ~> This resource does not support updates. If your configuration does not match the existing resource, + * + * the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + * + * verify that the configuration matches the existing resource by running `pulumi preview`. */ export class MwsCustomerManagedKeys extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/mwsNccPrivateEndpointRule.ts b/sdk/nodejs/mwsNccPrivateEndpointRule.ts index 0054e4af..735bf947 100644 --- a/sdk/nodejs/mwsNccPrivateEndpointRule.ts +++ b/sdk/nodejs/mwsNccPrivateEndpointRule.ts @@ -100,7 +100,7 @@ export class MwsNccPrivateEndpointRule extends pulumi.CustomResource { */ public readonly endpointName!: pulumi.Output; /** - * The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. */ public readonly groupId!: pulumi.Output; /** @@ -200,7 +200,7 @@ export interface MwsNccPrivateEndpointRuleState { */ endpointName?: pulumi.Input; /** - * The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. */ groupId?: pulumi.Input; /** @@ -251,7 +251,7 @@ export interface MwsNccPrivateEndpointRuleArgs { */ endpointName?: pulumi.Input; /** - * The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + * The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. */ groupId: pulumi.Input; /** diff --git a/sdk/nodejs/mwsNetworks.ts b/sdk/nodejs/mwsNetworks.ts index a00b0f98..b055a64a 100644 --- a/sdk/nodejs/mwsNetworks.ts +++ b/sdk/nodejs/mwsNetworks.ts @@ -114,7 +114,17 @@ import * as utilities from "./utilities"; * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and network ID. + * + * ```sh + * $ pulumi import databricks:index/mwsNetworks:MwsNetworks this '/' + * ``` + * + * ~> This resource does not support updates. If your configuration does not match the existing resource, + * + * the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + * + * verify that the configuration matches the existing resource by running `pulumi preview`. */ export class MwsNetworks extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/mwsPrivateAccessSettings.ts b/sdk/nodejs/mwsPrivateAccessSettings.ts index 18aefe72..8ce8eb5d 100644 --- a/sdk/nodejs/mwsPrivateAccessSettings.ts +++ b/sdk/nodejs/mwsPrivateAccessSettings.ts @@ -86,7 +86,11 @@ import * as utilities from "./utilities"; * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and private access settings ID. + * + * ```sh + * $ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '/' + * ``` */ export class MwsPrivateAccessSettings extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/mwsStorageConfigurations.ts b/sdk/nodejs/mwsStorageConfigurations.ts index 6ee15018..42bfe399 100644 --- a/sdk/nodejs/mwsStorageConfigurations.ts +++ b/sdk/nodejs/mwsStorageConfigurations.ts @@ -46,7 +46,17 @@ import * as utilities from "./utilities"; * * ## Import * - * !> Importing this resource is not currently supported. + * This resource can be imported by Databricks account ID and storage configuration ID. + * + * ```sh + * $ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '/' + * ``` + * + * ~> This resource does not support updates. If your configuration does not match the existing resource, + * + * the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + * + * verify that the configuration matches the existing resource by running `pulumi preview`. */ export class MwsStorageConfigurations extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/mwsWorkspaces.ts b/sdk/nodejs/mwsWorkspaces.ts index 9d8601e7..df558a98 100644 --- a/sdk/nodejs/mwsWorkspaces.ts +++ b/sdk/nodejs/mwsWorkspaces.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * * databricks.MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace. * * databricks.MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace. - * * databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces. + * * databricks.MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks databricks.MwsNetworks encapsulates this information, you cannot reuse it across workspaces. * * databricks.MwsCustomerManagedKeys - You can share a customer-managed key across workspaces. * * ```typescript @@ -208,6 +208,26 @@ import * as utilities from "./utilities"; * ``` * * In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mwsPrivateAccessSettings and mws_networks. + * + * ## Import + * + * This resource can be imported by Databricks account ID and workspace ID. + * + * ```sh + * $ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '/' + * ``` + * + * ~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. + * + * If the configuration for these immutable fields does not match the existing workspace, the workspace will + * + * be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration + * + * matches the existing resource by running `pulumi preview`. The only fields that can be updated are + * + * `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, + * + * `managed_services_customer_managed_key_id`, and `custom_tags`. */ export class MwsWorkspaces extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/notificationDestination.ts b/sdk/nodejs/notificationDestination.ts index 3fb9de66..39e0973b 100644 --- a/sdk/nodejs/notificationDestination.ts +++ b/sdk/nodejs/notificationDestination.ts @@ -88,6 +88,16 @@ import * as utilities from "./utilities"; * }, * }); * ``` + * + * ## Import + * + * This resource can be imported by notification ID: + * + * bash + * + * ```sh + * $ pulumi import databricks:index/notificationDestination:NotificationDestination this + * ``` */ export class NotificationDestination extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/permissions.ts b/sdk/nodejs/permissions.ts index d0e9c748..934e74c1 100644 --- a/sdk/nodejs/permissions.ts +++ b/sdk/nodejs/permissions.ts @@ -562,6 +562,36 @@ import * as utilities from "./utilities"; * }); * ``` * + * ## Mosaic AI Vector Search usage + * + * Valid permission levels for databricks.VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`. + * + * > You need to use the `endpointId` attribute of `databricks.VectorSearchEndpoint` as value for `vectorSearchEndpointId`, not the `id`! + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const _this = new databricks.VectorSearchEndpoint("this", { + * name: "vector-search-test", + * endpointType: "STANDARD", + * }); + * const eng = new databricks.Group("eng", {displayName: "Engineering"}); + * const vectorSearchEndpointUsage = new databricks.Permissions("vector_search_endpoint_usage", { + * vectorSearchEndpointId: _this.endpointId, + * accessControls: [ + * { + * groupName: "users", + * permissionLevel: "CAN_USE", + * }, + * { + * groupName: eng.displayName, + * permissionLevel: "CAN_MANAGE", + * }, + * ], + * }); + * ``` + * * ## Passwords usage * * By default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control. @@ -806,6 +836,7 @@ export class Permissions extends pulumi.CustomResource { } public readonly accessControls!: pulumi.Output; + public readonly appName!: pulumi.Output; public readonly authorization!: pulumi.Output; public readonly clusterId!: pulumi.Output; public readonly clusterPolicyId!: pulumi.Output; @@ -830,6 +861,7 @@ export class Permissions extends pulumi.CustomResource { public readonly sqlDashboardId!: pulumi.Output; public readonly sqlEndpointId!: pulumi.Output; public readonly sqlQueryId!: pulumi.Output; + public readonly vectorSearchEndpointId!: pulumi.Output; public readonly workspaceFileId!: pulumi.Output; public readonly workspaceFilePath!: pulumi.Output; @@ -847,6 +879,7 @@ export class Permissions extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as PermissionsState | undefined; resourceInputs["accessControls"] = state ? state.accessControls : undefined; + resourceInputs["appName"] = state ? state.appName : undefined; resourceInputs["authorization"] = state ? state.authorization : undefined; resourceInputs["clusterId"] = state ? state.clusterId : undefined; resourceInputs["clusterPolicyId"] = state ? state.clusterPolicyId : undefined; @@ -868,6 +901,7 @@ export class Permissions extends pulumi.CustomResource { resourceInputs["sqlDashboardId"] = state ? state.sqlDashboardId : undefined; resourceInputs["sqlEndpointId"] = state ? state.sqlEndpointId : undefined; resourceInputs["sqlQueryId"] = state ? state.sqlQueryId : undefined; + resourceInputs["vectorSearchEndpointId"] = state ? state.vectorSearchEndpointId : undefined; resourceInputs["workspaceFileId"] = state ? state.workspaceFileId : undefined; resourceInputs["workspaceFilePath"] = state ? state.workspaceFilePath : undefined; } else { @@ -876,6 +910,7 @@ export class Permissions extends pulumi.CustomResource { throw new Error("Missing required property 'accessControls'"); } resourceInputs["accessControls"] = args ? args.accessControls : undefined; + resourceInputs["appName"] = args ? args.appName : undefined; resourceInputs["authorization"] = args ? args.authorization : undefined; resourceInputs["clusterId"] = args ? args.clusterId : undefined; resourceInputs["clusterPolicyId"] = args ? args.clusterPolicyId : undefined; @@ -897,6 +932,7 @@ export class Permissions extends pulumi.CustomResource { resourceInputs["sqlDashboardId"] = args ? args.sqlDashboardId : undefined; resourceInputs["sqlEndpointId"] = args ? args.sqlEndpointId : undefined; resourceInputs["sqlQueryId"] = args ? args.sqlQueryId : undefined; + resourceInputs["vectorSearchEndpointId"] = args ? args.vectorSearchEndpointId : undefined; resourceInputs["workspaceFileId"] = args ? args.workspaceFileId : undefined; resourceInputs["workspaceFilePath"] = args ? args.workspaceFilePath : undefined; } @@ -910,6 +946,7 @@ export class Permissions extends pulumi.CustomResource { */ export interface PermissionsState { accessControls?: pulumi.Input[]>; + appName?: pulumi.Input; authorization?: pulumi.Input; clusterId?: pulumi.Input; clusterPolicyId?: pulumi.Input; @@ -934,6 +971,7 @@ export interface PermissionsState { sqlDashboardId?: pulumi.Input; sqlEndpointId?: pulumi.Input; sqlQueryId?: pulumi.Input; + vectorSearchEndpointId?: pulumi.Input; workspaceFileId?: pulumi.Input; workspaceFilePath?: pulumi.Input; } @@ -943,6 +981,7 @@ export interface PermissionsState { */ export interface PermissionsArgs { accessControls: pulumi.Input[]>; + appName?: pulumi.Input; authorization?: pulumi.Input; clusterId?: pulumi.Input; clusterPolicyId?: pulumi.Input; @@ -967,6 +1006,7 @@ export interface PermissionsArgs { sqlDashboardId?: pulumi.Input; sqlEndpointId?: pulumi.Input; sqlQueryId?: pulumi.Input; + vectorSearchEndpointId?: pulumi.Input; workspaceFileId?: pulumi.Input; workspaceFilePath?: pulumi.Input; } diff --git a/sdk/nodejs/query.ts b/sdk/nodejs/query.ts index e0d8a3da..4ab7916a 100644 --- a/sdk/nodejs/query.ts +++ b/sdk/nodejs/query.ts @@ -90,7 +90,7 @@ export class Query extends pulumi.CustomResource { */ public readonly queryText!: pulumi.Output; /** - * Sets the "Run as" role for the object. + * Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. */ public readonly runAsMode!: pulumi.Output; /** @@ -221,7 +221,7 @@ export interface QueryState { */ queryText?: pulumi.Input; /** - * Sets the "Run as" role for the object. + * Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. */ runAsMode?: pulumi.Input; /** @@ -279,7 +279,7 @@ export interface QueryArgs { */ queryText: pulumi.Input; /** - * Sets the "Run as" role for the object. + * Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. */ runAsMode?: pulumi.Input; /** diff --git a/sdk/nodejs/storageCredential.ts b/sdk/nodejs/storageCredential.ts index 9d8d243e..d64399c6 100644 --- a/sdk/nodejs/storageCredential.ts +++ b/sdk/nodejs/storageCredential.ts @@ -14,6 +14,8 @@ import * as utilities from "./utilities"; * - `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential. * - databricks.ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location. * + * On AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source databricks.getAwsUnityCatalogAssumeRolePolicy can be used to create the necessary AWS Unity Catalog assume role policy. + * * ## Example Usage * * For AWS @@ -52,7 +54,7 @@ import * as utilities from "./utilities"; * comment: "Managed identity credential managed by TF", * }); * const externalCreds = new databricks.Grants("external_creds", { - * storageCredential: external.id, + * storageCredential: externalMi.id, * grants: [{ * principal: "Data Engineers", * privileges: ["CREATE_EXTERNAL_TABLE"], diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index e817b46c..4c38673a 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -15,6 +15,7 @@ "files": [ "accessControlRuleSet.ts", "alert.ts", + "app.ts", "artifactAllowlist.ts", "automaticClusterUpdateWorkspaceSetting.ts", "budget.ts", @@ -26,6 +27,7 @@ "config/index.ts", "config/vars.ts", "connection.ts", + "credential.ts", "customAppIntegration.ts", "dashboard.ts", "dbfsFile.ts", @@ -35,6 +37,8 @@ "entitlements.ts", "externalLocation.ts", "file.ts", + "getApp.ts", + "getApps.ts", "getAwsAssumeRolePolicy.ts", "getAwsBucketPolicy.ts", "getAwsCrossAccountPolicy.ts", @@ -65,6 +69,8 @@ "getMlflowModel.ts", "getMlflowModels.ts", "getMwsCredentials.ts", + "getMwsNetworkConnectivityConfig.ts", + "getMwsNetworkConnectivityConfigs.ts", "getMwsWorkspaces.ts", "getNodeType.ts", "getNotebook.ts", @@ -72,10 +78,12 @@ "getNotificationDestinations.ts", "getPipelines.ts", "getRegisteredModel.ts", + "getRegisteredModelVersions.ts", "getSchema.ts", "getSchemas.ts", "getServicePrincipal.ts", "getServicePrincipals.ts", + "getServingEndpoints.ts", "getShare.ts", "getShares.ts", "getSparkVersion.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 3a28c5b6..1664f4d0 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -78,6 +78,175 @@ export interface AlertConditionThresholdValue { stringValue?: pulumi.Input; } +export interface AppActiveDeployment { + /** + * The creation time of the app. + */ + createTime?: pulumi.Input; + /** + * The email of the user that created the app. + */ + creator?: pulumi.Input; + deploymentArtifacts?: pulumi.Input; + deploymentId?: pulumi.Input; + mode?: pulumi.Input; + sourceCodePath?: pulumi.Input; + status?: pulumi.Input; + /** + * The update time of the app. + */ + updateTime?: pulumi.Input; +} + +export interface AppActiveDeploymentDeploymentArtifacts { + sourceCodePath?: pulumi.Input; +} + +export interface AppActiveDeploymentStatus { + /** + * Application status message + */ + message?: pulumi.Input; + /** + * State of the application. + */ + state?: pulumi.Input; +} + +export interface AppAppStatus { + /** + * Application status message + */ + message?: pulumi.Input; + /** + * State of the application. + */ + state?: pulumi.Input; +} + +export interface AppComputeStatus { + /** + * Application status message + */ + message?: pulumi.Input; + /** + * State of the application. + */ + state?: pulumi.Input; +} + +export interface AppPendingDeployment { + /** + * The creation time of the app. + */ + createTime?: pulumi.Input; + /** + * The email of the user that created the app. + */ + creator?: pulumi.Input; + deploymentArtifacts?: pulumi.Input; + deploymentId?: pulumi.Input; + mode?: pulumi.Input; + sourceCodePath?: pulumi.Input; + status?: pulumi.Input; + /** + * The update time of the app. + */ + updateTime?: pulumi.Input; +} + +export interface AppPendingDeploymentDeploymentArtifacts { + sourceCodePath?: pulumi.Input; +} + +export interface AppPendingDeploymentStatus { + /** + * Application status message + */ + message?: pulumi.Input; + /** + * State of the application. + */ + state?: pulumi.Input; +} + +export interface AppResource { + /** + * The description of the resource. + * + * Exactly one of the following attributes must be provided: + */ + description?: pulumi.Input; + /** + * attribute + */ + job?: pulumi.Input; + /** + * The name of the resource. + */ + name: pulumi.Input; + /** + * attribute + */ + secret?: pulumi.Input; + /** + * attribute + */ + servingEndpoint?: pulumi.Input; + /** + * attribute + */ + sqlWarehouse?: pulumi.Input; +} + +export interface AppResourceJob { + /** + * Id of the job to grant permission on. + */ + id: pulumi.Input; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: pulumi.Input; +} + +export interface AppResourceSecret { + /** + * Key of the secret to grant permission on. + */ + key: pulumi.Input; + /** + * Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + */ + permission: pulumi.Input; + /** + * Scope of the secret to grant permission on. + */ + scope: pulumi.Input; +} + +export interface AppResourceServingEndpoint { + /** + * Name of the serving endpoint to grant permission on. + */ + name: pulumi.Input; + /** + * Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + */ + permission: pulumi.Input; +} + +export interface AppResourceSqlWarehouse { + /** + * Id of the SQL warehouse to grant permission on. + */ + id: pulumi.Input; + /** + * Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + */ + permission: pulumi.Input; +} + export interface ArtifactAllowlistArtifactMatcher { /** * The artifact path or maven coordinate. @@ -626,6 +795,63 @@ export interface ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProf isEnabled: pulumi.Input; } +export interface CredentialAwsIamRole { + externalId?: pulumi.Input; + /** + * The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over `azureServicePrincipal`): + */ + roleArn?: pulumi.Input; + unityCatalogIamArn?: pulumi.Input; +} + +export interface CredentialAzureManagedIdentity { + /** + * The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + */ + accessConnectorId: pulumi.Input; + /** + * Unique ID of the credential. + */ + credentialId?: pulumi.Input; + /** + * The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + */ + managedIdentityId?: pulumi.Input; +} + +export interface CredentialAzureServicePrincipal { + /** + * The application ID of the application registration within the referenced AAD tenant + */ + applicationId: pulumi.Input; + /** + * The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + */ + clientSecret: pulumi.Input; + /** + * The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + */ + directoryId: pulumi.Input; +} + +export interface CredentialDatabricksGcpServiceAccount { + /** + * Unique ID of the credential. + */ + credentialId?: pulumi.Input; + /** + * The email of the GCP service account created, to be granted access to relevant buckets. + */ + email?: pulumi.Input; + privateKeyId?: pulumi.Input; +} + export interface CustomAppIntegrationTokenAccessPolicy { /** * access token time to live (TTL) in minutes. @@ -919,7 +1145,9 @@ export interface GetClusterClusterInfo { * The pool of idle instances the cluster is attached to. */ instancePoolId?: string; + isSingleNode?: boolean; jdbcPort?: number; + kind?: string; lastRestartedTime?: number; lastStateLossTime?: number; /** @@ -962,6 +1190,7 @@ export interface GetClusterClusterInfo { stateMessage?: string; terminatedTime?: number; terminationReason?: inputs.GetClusterClusterInfoTerminationReason; + useMlRuntime?: boolean; workloadType?: inputs.GetClusterClusterInfoWorkloadType; } @@ -1021,7 +1250,9 @@ export interface GetClusterClusterInfoArgs { * The pool of idle instances the cluster is attached to. */ instancePoolId?: pulumi.Input; + isSingleNode?: pulumi.Input; jdbcPort?: pulumi.Input; + kind?: pulumi.Input; lastRestartedTime?: pulumi.Input; lastStateLossTime?: pulumi.Input; /** @@ -1064,6 +1295,7 @@ export interface GetClusterClusterInfoArgs { stateMessage?: pulumi.Input; terminatedTime?: pulumi.Input; terminationReason?: pulumi.Input; + useMlRuntime?: pulumi.Input; workloadType?: pulumi.Input; } @@ -1407,6 +1639,8 @@ export interface GetClusterClusterInfoSpec { * The pool of idle instances the cluster is attached to. */ instancePoolId?: string; + isSingleNode?: boolean; + kind?: string; libraries?: inputs.GetClusterClusterInfoSpecLibrary[]; /** * Any supported databricks.getNodeType id. @@ -1441,6 +1675,7 @@ export interface GetClusterClusterInfoSpec { * SSH public key contents that will be added to each Spark node in this cluster. */ sshPublicKeys?: string[]; + useMlRuntime?: boolean; workloadType?: inputs.GetClusterClusterInfoSpecWorkloadType; } @@ -1494,6 +1729,8 @@ export interface GetClusterClusterInfoSpecArgs { * The pool of idle instances the cluster is attached to. */ instancePoolId?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; libraries?: pulumi.Input[]>; /** * Any supported databricks.getNodeType id. @@ -1528,6 +1765,7 @@ export interface GetClusterClusterInfoSpecArgs { * SSH public key contents that will be added to each Spark node in this cluster. */ sshPublicKeys?: pulumi.Input[]>; + useMlRuntime?: pulumi.Input; workloadType?: pulumi.Input; } @@ -2257,7 +2495,7 @@ export interface GetFunctionsFunction { /** * object describing input parameters. Consists of the single attribute: */ - inputParams?: inputs.GetFunctionsFunctionInputParams; + inputParams?: inputs.GetFunctionsFunctionInputParam[]; /** * Boolean flag specifying whether the function is deterministic. */ @@ -2289,7 +2527,7 @@ export interface GetFunctionsFunction { /** * Table function return parameters. See `inputParams` for description. */ - returnParams?: inputs.GetFunctionsFunctionReturnParams; + returnParams?: inputs.GetFunctionsFunctionReturnParam[]; /** * Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. */ @@ -2301,7 +2539,7 @@ export interface GetFunctionsFunction { /** * Function dependencies. */ - routineDependencies?: inputs.GetFunctionsFunctionRoutineDependencies; + routineDependencies?: inputs.GetFunctionsFunctionRoutineDependency[]; /** * Name of databricks_schema. */ @@ -2380,7 +2618,7 @@ export interface GetFunctionsFunctionArgs { /** * object describing input parameters. Consists of the single attribute: */ - inputParams?: pulumi.Input; + inputParams?: pulumi.Input[]>; /** * Boolean flag specifying whether the function is deterministic. */ @@ -2412,7 +2650,7 @@ export interface GetFunctionsFunctionArgs { /** * Table function return parameters. See `inputParams` for description. */ - returnParams?: pulumi.Input; + returnParams?: pulumi.Input[]>; /** * Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. */ @@ -2424,7 +2662,7 @@ export interface GetFunctionsFunctionArgs { /** * Function dependencies. */ - routineDependencies?: pulumi.Input; + routineDependencies?: pulumi.Input[]>; /** * Name of databricks_schema. */ @@ -2455,21 +2693,21 @@ export interface GetFunctionsFunctionArgs { updatedBy?: pulumi.Input; } -export interface GetFunctionsFunctionInputParams { +export interface GetFunctionsFunctionInputParam { /** * The array of definitions of the function's parameters: */ - parameters?: inputs.GetFunctionsFunctionInputParamsParameter[]; + parameters?: inputs.GetFunctionsFunctionInputParamParameter[]; } -export interface GetFunctionsFunctionInputParamsArgs { +export interface GetFunctionsFunctionInputParamArgs { /** * The array of definitions of the function's parameters: */ - parameters?: pulumi.Input[]>; + parameters?: pulumi.Input[]>; } -export interface GetFunctionsFunctionInputParamsParameter { +export interface GetFunctionsFunctionInputParamParameter { /** * User-provided free-form text description. */ @@ -2520,7 +2758,7 @@ export interface GetFunctionsFunctionInputParamsParameter { typeText: string; } -export interface GetFunctionsFunctionInputParamsParameterArgs { +export interface GetFunctionsFunctionInputParamParameterArgs { /** * User-provided free-form text description. */ @@ -2571,21 +2809,21 @@ export interface GetFunctionsFunctionInputParamsParameterArgs { typeText: pulumi.Input; } -export interface GetFunctionsFunctionReturnParams { +export interface GetFunctionsFunctionReturnParam { /** * The array of definitions of the function's parameters: */ - parameters?: inputs.GetFunctionsFunctionReturnParamsParameter[]; + parameters?: inputs.GetFunctionsFunctionReturnParamParameter[]; } -export interface GetFunctionsFunctionReturnParamsArgs { +export interface GetFunctionsFunctionReturnParamArgs { /** * The array of definitions of the function's parameters: */ - parameters?: pulumi.Input[]>; + parameters?: pulumi.Input[]>; } -export interface GetFunctionsFunctionReturnParamsParameter { +export interface GetFunctionsFunctionReturnParamParameter { /** * User-provided free-form text description. */ @@ -2636,7 +2874,7 @@ export interface GetFunctionsFunctionReturnParamsParameter { typeText: string; } -export interface GetFunctionsFunctionReturnParamsParameterArgs { +export interface GetFunctionsFunctionReturnParamParameterArgs { /** * User-provided free-form text description. */ @@ -2687,37 +2925,37 @@ export interface GetFunctionsFunctionReturnParamsParameterArgs { typeText: pulumi.Input; } -export interface GetFunctionsFunctionRoutineDependencies { - dependencies?: inputs.GetFunctionsFunctionRoutineDependenciesDependency[]; +export interface GetFunctionsFunctionRoutineDependency { + dependencies?: inputs.GetFunctionsFunctionRoutineDependencyDependency[]; } -export interface GetFunctionsFunctionRoutineDependenciesArgs { - dependencies?: pulumi.Input[]>; +export interface GetFunctionsFunctionRoutineDependencyArgs { + dependencies?: pulumi.Input[]>; } -export interface GetFunctionsFunctionRoutineDependenciesDependency { - function?: inputs.GetFunctionsFunctionRoutineDependenciesDependencyFunction; - table?: inputs.GetFunctionsFunctionRoutineDependenciesDependencyTable; +export interface GetFunctionsFunctionRoutineDependencyDependency { + functions?: inputs.GetFunctionsFunctionRoutineDependencyDependencyFunction[]; + tables?: inputs.GetFunctionsFunctionRoutineDependencyDependencyTable[]; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyArgs { - function?: pulumi.Input; - table?: pulumi.Input; +export interface GetFunctionsFunctionRoutineDependencyDependencyArgs { + functions?: pulumi.Input[]>; + tables?: pulumi.Input[]>; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyFunction { +export interface GetFunctionsFunctionRoutineDependencyDependencyFunction { functionFullName: string; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs { +export interface GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs { functionFullName: pulumi.Input; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyTable { +export interface GetFunctionsFunctionRoutineDependencyDependencyTable { tableFullName: string; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyTableArgs { +export interface GetFunctionsFunctionRoutineDependencyDependencyTableArgs { tableFullName: pulumi.Input; } @@ -5845,34 +6083,192 @@ export interface GetMlflowModelTagArgs { value?: pulumi.Input; } -export interface GetNotificationDestinationsNotificationDestination { +export interface GetMwsNetworkConnectivityConfigEgressConfig { /** - * The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. + * Array of default rules. */ - destinationType?: string; + defaultRules?: inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRules; /** - * The display name of the Notification Destination. + * Array of target rules. */ - displayName?: string; + targetRules?: inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRules; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigArgs { /** - * The unique ID of the Notification Destination. + * Array of default rules. */ - id?: string; + defaultRules?: pulumi.Input; + /** + * Array of target rules. + */ + targetRules?: pulumi.Input; } -export interface GetNotificationDestinationsNotificationDestinationArgs { +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { /** - * The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. + * The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. */ - destinationType?: pulumi.Input; + awsStableIpRule?: inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule; /** - * The display name of the Notification Destination. + * Array of Azure service endpoint rules. */ - displayName?: pulumi.Input; + azureServiceEndpointRule?: inputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs { /** - * The unique ID of the Notification Destination. + * The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. */ - id?: pulumi.Input; + awsStableIpRule?: pulumi.Input; + /** + * Array of Azure service endpoint rules. + */ + azureServiceEndpointRule?: pulumi.Input; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { + /** + * The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + */ + cidrBlocks?: string[]; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs { + /** + * The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + */ + cidrBlocks?: pulumi.Input[]>; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { + /** + * Array of strings representing the subnet IDs. + */ + subnets?: string[]; + /** + * The target region for the service endpoint. + */ + targetRegion?: string; + /** + * Array of target services. + */ + targetServices?: string[]; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs { + /** + * Array of strings representing the subnet IDs. + */ + subnets?: pulumi.Input[]>; + /** + * The target region for the service endpoint. + */ + targetRegion?: pulumi.Input; + /** + * Array of target services. + */ + targetServices?: pulumi.Input[]>; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigTargetRules { + /** + * Array of private endpoint rule objects. + */ + azurePrivateEndpointRules?: inputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule[]; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs { + /** + * Array of private endpoint rule objects. + */ + azurePrivateEndpointRules?: pulumi.Input[]>; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + /** + * The current status of this private endpoint. + */ + connectionState?: string; + /** + * Time in epoch milliseconds when this object was created. + */ + creationTime?: number; + /** + * Whether this private endpoint is deactivated. + */ + deactivated?: boolean; + /** + * Time in epoch milliseconds when this object was deactivated. + */ + deactivatedAt?: number; + /** + * The name of the Azure private endpoint resource. + */ + endpointName?: string; + /** + * The sub-resource type (group ID) of the target resource. + */ + groupId?: string; + /** + * The Databricks network connectivity configuration ID. + */ + networkConnectivityConfigId?: string; + /** + * The Azure resource ID of the target resource. + */ + resourceId?: string; + /** + * The ID of a private endpoint rule. + */ + ruleId?: string; + /** + * Time in epoch milliseconds when the network was updated. + */ + updatedTime?: number; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs { + /** + * The current status of this private endpoint. + */ + connectionState?: pulumi.Input; + /** + * Time in epoch milliseconds when this object was created. + */ + creationTime?: pulumi.Input; + /** + * Whether this private endpoint is deactivated. + */ + deactivated?: pulumi.Input; + /** + * Time in epoch milliseconds when this object was deactivated. + */ + deactivatedAt?: pulumi.Input; + /** + * The name of the Azure private endpoint resource. + */ + endpointName?: pulumi.Input; + /** + * The sub-resource type (group ID) of the target resource. + */ + groupId?: pulumi.Input; + /** + * The Databricks network connectivity configuration ID. + */ + networkConnectivityConfigId?: pulumi.Input; + /** + * The Azure resource ID of the target resource. + */ + resourceId?: pulumi.Input; + /** + * The ID of a private endpoint rule. + */ + ruleId?: pulumi.Input; + /** + * Time in epoch milliseconds when the network was updated. + */ + updatedTime?: pulumi.Input; } export interface GetRegisteredModelModelInfo { @@ -6009,13 +6405,245 @@ export interface GetRegisteredModelModelInfoAliasArgs { versionNum?: pulumi.Input; } -export interface GetSchemaSchemaInfo { +export interface GetRegisteredModelVersionsModelVersion { /** - * indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + * the list of aliases associated with this model. Each item is object consisting of following attributes: */ + aliases?: inputs.GetRegisteredModelVersionsModelVersionAlias[]; browseOnly?: boolean; /** - * the name of the catalog where the schema is. + * The name of the catalog where the schema and the registered model reside. + */ + catalogName?: string; + /** + * The comment attached to the registered model. + */ + comment?: string; + /** + * the Unix timestamp at the model's creation + */ + createdAt?: number; + /** + * the identifier of the user who created the model + */ + createdBy?: string; + /** + * The unique identifier of the model version + */ + id?: string; + /** + * the unique identifier of the metastore + */ + metastoreId?: string; + modelName?: string; + /** + * block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + */ + modelVersionDependencies?: inputs.GetRegisteredModelVersionsModelVersionModelVersionDependency[]; + /** + * MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + */ + runId?: string; + /** + * ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + */ + runWorkspaceId?: number; + /** + * The name of the schema where the registered model resides. + */ + schemaName?: string; + /** + * URI indicating the location of the source artifacts (files) for the model version. + */ + source?: string; + /** + * Current status of the model version. + */ + status?: string; + /** + * The storage location under which model version data files are stored. + */ + storageLocation?: string; + /** + * the timestamp of the last time changes were made to the model + */ + updatedAt?: number; + /** + * the identifier of the user who updated the model last time + */ + updatedBy?: string; + /** + * Integer model version number, used to reference the model version in API requests. + */ + version?: number; +} + +export interface GetRegisteredModelVersionsModelVersionArgs { + /** + * the list of aliases associated with this model. Each item is object consisting of following attributes: + */ + aliases?: pulumi.Input[]>; + browseOnly?: pulumi.Input; + /** + * The name of the catalog where the schema and the registered model reside. + */ + catalogName?: pulumi.Input; + /** + * The comment attached to the registered model. + */ + comment?: pulumi.Input; + /** + * the Unix timestamp at the model's creation + */ + createdAt?: pulumi.Input; + /** + * the identifier of the user who created the model + */ + createdBy?: pulumi.Input; + /** + * The unique identifier of the model version + */ + id?: pulumi.Input; + /** + * the unique identifier of the metastore + */ + metastoreId?: pulumi.Input; + modelName?: pulumi.Input; + /** + * block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + */ + modelVersionDependencies?: pulumi.Input[]>; + /** + * MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + */ + runId?: pulumi.Input; + /** + * ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + */ + runWorkspaceId?: pulumi.Input; + /** + * The name of the schema where the registered model resides. + */ + schemaName?: pulumi.Input; + /** + * URI indicating the location of the source artifacts (files) for the model version. + */ + source?: pulumi.Input; + /** + * Current status of the model version. + */ + status?: pulumi.Input; + /** + * The storage location under which model version data files are stored. + */ + storageLocation?: pulumi.Input; + /** + * the timestamp of the last time changes were made to the model + */ + updatedAt?: pulumi.Input; + /** + * the identifier of the user who updated the model last time + */ + updatedBy?: pulumi.Input; + /** + * Integer model version number, used to reference the model version in API requests. + */ + version?: pulumi.Input; +} + +export interface GetRegisteredModelVersionsModelVersionAlias { + /** + * string with the name of alias + */ + aliasName?: string; + /** + * associated model version + */ + versionNum?: number; +} + +export interface GetRegisteredModelVersionsModelVersionAliasArgs { + /** + * string with the name of alias + */ + aliasName?: pulumi.Input; + /** + * associated model version + */ + versionNum?: pulumi.Input; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependency { + /** + * list of dependencies consisting of following attributes: + */ + dependencies?: inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency[]; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs { + /** + * list of dependencies consisting of following attributes: + */ + dependencies?: pulumi.Input[]>; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency { + /** + * A function that is dependent on a SQL object: + */ + functions?: inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction[]; + /** + * A table that is dependent on a SQL object + */ + tables?: inputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable[]; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs { + /** + * A function that is dependent on a SQL object: + */ + functions?: pulumi.Input[]>; + /** + * A table that is dependent on a SQL object + */ + tables?: pulumi.Input[]>; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction { + /** + * Full name of the dependent function + */ + functionFullName: string; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs { + /** + * Full name of the dependent function + */ + functionFullName: pulumi.Input; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable { + /** + * Full name of the dependent table + */ + tableFullName: string; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs { + /** + * Full name of the dependent table + */ + tableFullName: pulumi.Input; +} + +export interface GetSchemaSchemaInfo { + /** + * indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + */ + browseOnly?: boolean; + /** + * the name of the catalog where the schema is. */ catalogName?: string; /** @@ -6171,6 +6799,402 @@ export interface GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs { value: pulumi.Input; } +export interface GetServingEndpointsEndpoint { + /** + * A block with AI Gateway configuration for the serving endpoint. + */ + aiGateways?: inputs.GetServingEndpointsEndpointAiGateway[]; + /** + * The model serving endpoint configuration. + */ + configs?: inputs.GetServingEndpointsEndpointConfig[]; + creationTimestamp?: number; + creator?: string; + id?: string; + lastUpdatedTimestamp?: number; + /** + * The name of the model serving endpoint. + */ + name?: string; + states?: inputs.GetServingEndpointsEndpointState[]; + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + */ + tags?: inputs.GetServingEndpointsEndpointTag[]; + task?: string; +} + +export interface GetServingEndpointsEndpointArgs { + /** + * A block with AI Gateway configuration for the serving endpoint. + */ + aiGateways?: pulumi.Input[]>; + /** + * The model serving endpoint configuration. + */ + configs?: pulumi.Input[]>; + creationTimestamp?: pulumi.Input; + creator?: pulumi.Input; + id?: pulumi.Input; + lastUpdatedTimestamp?: pulumi.Input; + /** + * The name of the model serving endpoint. + */ + name?: pulumi.Input; + states?: pulumi.Input[]>; + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + */ + tags?: pulumi.Input[]>; + task?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointAiGateway { + guardrails?: inputs.GetServingEndpointsEndpointAiGatewayGuardrail[]; + inferenceTableConfigs?: inputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfig[]; + /** + * A list of rate limit blocks to be applied to the serving endpoint. + */ + rateLimits?: inputs.GetServingEndpointsEndpointAiGatewayRateLimit[]; + usageTrackingConfigs?: inputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfig[]; +} + +export interface GetServingEndpointsEndpointAiGatewayArgs { + guardrails?: pulumi.Input[]>; + inferenceTableConfigs?: pulumi.Input[]>; + /** + * A list of rate limit blocks to be applied to the serving endpoint. + */ + rateLimits?: pulumi.Input[]>; + usageTrackingConfigs?: pulumi.Input[]>; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrail { + inputProperties?: inputs.GetServingEndpointsEndpointAiGatewayGuardrailInputProperty[]; + outputs?: inputs.GetServingEndpointsEndpointAiGatewayGuardrailOutput[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailArgs { + inputProperties?: pulumi.Input[]>; + outputs?: pulumi.Input[]>; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailInputProperty { + invalidKeywords?: string[]; + piis?: inputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii[]; + safety?: boolean; + validTopics?: string[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs { + invalidKeywords?: pulumi.Input[]>; + piis?: pulumi.Input[]>; + safety?: pulumi.Input; + validTopics?: pulumi.Input[]>; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii { + behavior: string; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs { + behavior: pulumi.Input; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailOutput { + invalidKeywords?: string[]; + piis?: inputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPii[]; + safety?: boolean; + validTopics?: string[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs { + invalidKeywords?: pulumi.Input[]>; + piis?: pulumi.Input[]>; + safety?: pulumi.Input; + validTopics?: pulumi.Input[]>; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailOutputPii { + behavior: string; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs { + behavior: pulumi.Input; +} + +export interface GetServingEndpointsEndpointAiGatewayInferenceTableConfig { + catalogName?: string; + enabled?: boolean; + schemaName?: string; + tableNamePrefix?: string; +} + +export interface GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs { + catalogName?: pulumi.Input; + enabled?: pulumi.Input; + schemaName?: pulumi.Input; + tableNamePrefix?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointAiGatewayRateLimit { + calls: number; + key?: string; + renewalPeriod: string; +} + +export interface GetServingEndpointsEndpointAiGatewayRateLimitArgs { + calls: pulumi.Input; + key?: pulumi.Input; + renewalPeriod: pulumi.Input; +} + +export interface GetServingEndpointsEndpointAiGatewayUsageTrackingConfig { + enabled?: boolean; +} + +export interface GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs { + enabled?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfig { + servedEntities?: inputs.GetServingEndpointsEndpointConfigServedEntity[]; + servedModels?: inputs.GetServingEndpointsEndpointConfigServedModel[]; +} + +export interface GetServingEndpointsEndpointConfigArgs { + servedEntities?: pulumi.Input[]>; + servedModels?: pulumi.Input[]>; +} + +export interface GetServingEndpointsEndpointConfigServedEntity { + entityName?: string; + entityVersion?: string; + externalModels?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModel[]; + foundationModels?: inputs.GetServingEndpointsEndpointConfigServedEntityFoundationModel[]; + /** + * The name of the model serving endpoint. + */ + name?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityArgs { + entityName?: pulumi.Input; + entityVersion?: pulumi.Input; + externalModels?: pulumi.Input[]>; + foundationModels?: pulumi.Input[]>; + /** + * The name of the model serving endpoint. + */ + name?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModel { + ai21labsConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig[]; + amazonBedrockConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig[]; + anthropicConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig[]; + cohereConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig[]; + databricksModelServingConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig[]; + googleCloudVertexAiConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig[]; + /** + * The name of the model serving endpoint. + */ + name: string; + openaiConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig[]; + palmConfigs?: inputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig[]; + provider: string; + task: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelArgs { + ai21labsConfigs?: pulumi.Input[]>; + amazonBedrockConfigs?: pulumi.Input[]>; + anthropicConfigs?: pulumi.Input[]>; + cohereConfigs?: pulumi.Input[]>; + databricksModelServingConfigs?: pulumi.Input[]>; + googleCloudVertexAiConfigs?: pulumi.Input[]>; + /** + * The name of the model serving endpoint. + */ + name: pulumi.Input; + openaiConfigs?: pulumi.Input[]>; + palmConfigs?: pulumi.Input[]>; + provider: pulumi.Input; + task: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig { + ai21labsApiKey?: string; + ai21labsApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs { + ai21labsApiKey?: pulumi.Input; + ai21labsApiKeyPlaintext?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig { + awsAccessKeyId?: string; + awsAccessKeyIdPlaintext?: string; + awsRegion: string; + awsSecretAccessKey?: string; + awsSecretAccessKeyPlaintext?: string; + bedrockProvider: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs { + awsAccessKeyId?: pulumi.Input; + awsAccessKeyIdPlaintext?: pulumi.Input; + awsRegion: pulumi.Input; + awsSecretAccessKey?: pulumi.Input; + awsSecretAccessKeyPlaintext?: pulumi.Input; + bedrockProvider: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig { + anthropicApiKey?: string; + anthropicApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs { + anthropicApiKey?: pulumi.Input; + anthropicApiKeyPlaintext?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig { + cohereApiBase?: string; + cohereApiKey?: string; + cohereApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs { + cohereApiBase?: pulumi.Input; + cohereApiKey?: pulumi.Input; + cohereApiKeyPlaintext?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig { + databricksApiToken?: string; + databricksApiTokenPlaintext?: string; + databricksWorkspaceUrl: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs { + databricksApiToken?: pulumi.Input; + databricksApiTokenPlaintext?: pulumi.Input; + databricksWorkspaceUrl: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + privateKey?: string; + privateKeyPlaintext?: string; + projectId?: string; + region?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs { + privateKey?: pulumi.Input; + privateKeyPlaintext?: pulumi.Input; + projectId?: pulumi.Input; + region?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig { + microsoftEntraClientId?: string; + microsoftEntraClientSecret?: string; + microsoftEntraClientSecretPlaintext?: string; + microsoftEntraTenantId?: string; + openaiApiBase?: string; + openaiApiKey?: string; + openaiApiKeyPlaintext?: string; + openaiApiType?: string; + openaiApiVersion?: string; + openaiDeploymentName?: string; + openaiOrganization?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs { + microsoftEntraClientId?: pulumi.Input; + microsoftEntraClientSecret?: pulumi.Input; + microsoftEntraClientSecretPlaintext?: pulumi.Input; + microsoftEntraTenantId?: pulumi.Input; + openaiApiBase?: pulumi.Input; + openaiApiKey?: pulumi.Input; + openaiApiKeyPlaintext?: pulumi.Input; + openaiApiType?: pulumi.Input; + openaiApiVersion?: pulumi.Input; + openaiDeploymentName?: pulumi.Input; + openaiOrganization?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig { + palmApiKey?: string; + palmApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs { + palmApiKey?: pulumi.Input; + palmApiKeyPlaintext?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedEntityFoundationModel { + description?: string; + displayName?: string; + docs?: string; + /** + * The name of the model serving endpoint. + */ + name?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs { + description?: pulumi.Input; + displayName?: pulumi.Input; + docs?: pulumi.Input; + /** + * The name of the model serving endpoint. + */ + name?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointConfigServedModel { + modelName?: string; + modelVersion?: string; + /** + * The name of the model serving endpoint. + */ + name?: string; +} + +export interface GetServingEndpointsEndpointConfigServedModelArgs { + modelName?: pulumi.Input; + modelVersion?: pulumi.Input; + /** + * The name of the model serving endpoint. + */ + name?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointState { + configUpdate?: string; + ready?: string; +} + +export interface GetServingEndpointsEndpointStateArgs { + configUpdate?: pulumi.Input; + ready?: pulumi.Input; +} + +export interface GetServingEndpointsEndpointTag { + key: string; + value?: string; +} + +export interface GetServingEndpointsEndpointTagArgs { + key: pulumi.Input; + value?: pulumi.Input; +} + export interface GetShareObject { addedAt?: number; addedBy?: string; @@ -7340,6 +8364,8 @@ export interface JobJobClusterNewCluster { idempotencyToken?: pulumi.Input; initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -7353,6 +8379,7 @@ export interface JobJobClusterNewCluster { sparkEnvVars?: pulumi.Input<{[key: string]: pulumi.Input}>; sparkVersion: pulumi.Input; sshPublicKeys?: pulumi.Input[]>; + useMlRuntime?: pulumi.Input; /** * isn't supported */ @@ -7572,6 +8599,8 @@ export interface JobNewCluster { idempotencyToken?: pulumi.Input; initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -7585,6 +8614,7 @@ export interface JobNewCluster { sparkEnvVars?: pulumi.Input<{[key: string]: pulumi.Input}>; sparkVersion: pulumi.Input; sshPublicKeys?: pulumi.Input[]>; + useMlRuntime?: pulumi.Input; /** * isn't supported */ @@ -7925,6 +8955,7 @@ export interface JobSparkSubmitTask { } export interface JobTask { + cleanRoomsNotebookTask?: pulumi.Input; conditionTask?: pulumi.Input; dbtTask?: pulumi.Input; /** @@ -8013,6 +9044,13 @@ export interface JobTask { webhookNotifications?: pulumi.Input; } +export interface JobTaskCleanRoomsNotebookTask { + cleanRoomName: pulumi.Input; + etag?: pulumi.Input; + notebookBaseParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; + notebookName: pulumi.Input; +} + export interface JobTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. @@ -8120,6 +9158,7 @@ export interface JobTaskForEachTask { } export interface JobTaskForEachTaskTask { + cleanRoomsNotebookTask?: pulumi.Input; conditionTask?: pulumi.Input; dbtTask?: pulumi.Input; /** @@ -8207,6 +9246,13 @@ export interface JobTaskForEachTaskTask { webhookNotifications?: pulumi.Input; } +export interface JobTaskForEachTaskTaskCleanRoomsNotebookTask { + cleanRoomName: pulumi.Input; + etag?: pulumi.Input; + notebookBaseParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; + notebookName: pulumi.Input; +} + export interface JobTaskForEachTaskTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. @@ -8366,6 +9412,8 @@ export interface JobTaskForEachTaskTaskNewCluster { idempotencyToken?: pulumi.Input; initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -8379,6 +9427,7 @@ export interface JobTaskForEachTaskTaskNewCluster { sparkEnvVars?: pulumi.Input<{[key: string]: pulumi.Input}>; sparkVersion: pulumi.Input; sshPublicKeys?: pulumi.Input[]>; + useMlRuntime?: pulumi.Input; /** * isn't supported */ @@ -8947,6 +9996,8 @@ export interface JobTaskNewCluster { idempotencyToken?: pulumi.Input; initScripts?: pulumi.Input[]>; instancePoolId?: pulumi.Input; + isSingleNode?: pulumi.Input; + kind?: pulumi.Input; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -8960,6 +10011,7 @@ export interface JobTaskNewCluster { sparkEnvVars?: pulumi.Input<{[key: string]: pulumi.Input}>; sparkVersion: pulumi.Input; sshPublicKeys?: pulumi.Input[]>; + useMlRuntime?: pulumi.Input; /** * isn't supported */ @@ -10991,7 +12043,7 @@ export interface PipelineNotification { } export interface PipelineRestartWindow { - daysOfWeek?: pulumi.Input; + daysOfWeeks?: pulumi.Input[]>; startHour: pulumi.Input; timeZoneId?: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 3ad52f5f..6b912814 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -78,6 +78,175 @@ export interface AlertConditionThresholdValue { stringValue?: string; } +export interface AppActiveDeployment { + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + deploymentArtifacts: outputs.AppActiveDeploymentDeploymentArtifacts; + deploymentId?: string; + mode?: string; + sourceCodePath?: string; + status: outputs.AppActiveDeploymentStatus; + /** + * The update time of the app. + */ + updateTime: string; +} + +export interface AppActiveDeploymentDeploymentArtifacts { + sourceCodePath?: string; +} + +export interface AppActiveDeploymentStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface AppAppStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface AppComputeStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface AppPendingDeployment { + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + deploymentArtifacts: outputs.AppPendingDeploymentDeploymentArtifacts; + deploymentId?: string; + mode?: string; + sourceCodePath?: string; + status: outputs.AppPendingDeploymentStatus; + /** + * The update time of the app. + */ + updateTime: string; +} + +export interface AppPendingDeploymentDeploymentArtifacts { + sourceCodePath?: string; +} + +export interface AppPendingDeploymentStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface AppResource { + /** + * The description of the resource. + * + * Exactly one of the following attributes must be provided: + */ + description?: string; + /** + * attribute + */ + job?: outputs.AppResourceJob; + /** + * The name of the resource. + */ + name: string; + /** + * attribute + */ + secret?: outputs.AppResourceSecret; + /** + * attribute + */ + servingEndpoint?: outputs.AppResourceServingEndpoint; + /** + * attribute + */ + sqlWarehouse?: outputs.AppResourceSqlWarehouse; +} + +export interface AppResourceJob { + /** + * Id of the job to grant permission on. + */ + id: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + +export interface AppResourceSecret { + /** + * Key of the secret to grant permission on. + */ + key: string; + /** + * Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + */ + permission: string; + /** + * Scope of the secret to grant permission on. + */ + scope: string; +} + +export interface AppResourceServingEndpoint { + /** + * Name of the serving endpoint to grant permission on. + */ + name: string; + /** + * Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + */ + permission: string; +} + +export interface AppResourceSqlWarehouse { + /** + * Id of the SQL warehouse to grant permission on. + */ + id: string; + /** + * Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + */ + permission: string; +} + export interface ArtifactAllowlistArtifactMatcher { /** * The artifact path or maven coordinate. @@ -626,6 +795,63 @@ export interface ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProf isEnabled: boolean; } +export interface CredentialAwsIamRole { + externalId: string; + /** + * The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + * + * `azureManagedIdentity` optional configuration block for using managed identity as credential details for Azure (recommended over `azureServicePrincipal`): + */ + roleArn?: string; + unityCatalogIamArn: string; +} + +export interface CredentialAzureManagedIdentity { + /** + * The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + */ + accessConnectorId: string; + /** + * Unique ID of the credential. + */ + credentialId: string; + /** + * The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + * + * `azureServicePrincipal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + */ + managedIdentityId?: string; +} + +export interface CredentialAzureServicePrincipal { + /** + * The application ID of the application registration within the referenced AAD tenant + */ + applicationId: string; + /** + * The client secret generated for the above app ID in AAD. **This field is redacted on output** + * + * `databricksGcpServiceAccount` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + */ + clientSecret: string; + /** + * The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + */ + directoryId: string; +} + +export interface CredentialDatabricksGcpServiceAccount { + /** + * Unique ID of the credential. + */ + credentialId: string; + /** + * The email of the GCP service account created, to be granted access to relevant buckets. + */ + email: string; + privateKeyId: string; +} + export interface CustomAppIntegrationTokenAccessPolicy { /** * access token time to live (TTL) in minutes. @@ -657,6 +883,456 @@ export interface ExternalLocationEncryptionDetailsSseEncryptionDetails { awsKmsKeyArn?: string; } +export interface GetAppApp { + activeDeployment: outputs.GetAppAppActiveDeployment; + /** + * attribute + */ + appStatus: outputs.GetAppAppAppStatus; + /** + * attribute + */ + computeStatus: outputs.GetAppAppComputeStatus; + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + /** + * The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + */ + defaultSourceCodePath: string; + /** + * The description of the resource. + */ + description?: string; + /** + * The name of the app. + */ + name: string; + pendingDeployment: outputs.GetAppAppPendingDeployment; + /** + * A list of resources that the app have access to. + */ + resources?: outputs.GetAppAppResource[]; + servicePrincipalClientId: string; + /** + * id of the app service principal + */ + servicePrincipalId: number; + /** + * name of the app service principal + */ + servicePrincipalName: string; + /** + * The update time of the app. + */ + updateTime: string; + /** + * The email of the user that last updated the app. + */ + updater: string; + /** + * The URL of the app once it is deployed. + */ + url: string; +} + +export interface GetAppAppActiveDeployment { + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + deploymentArtifacts: outputs.GetAppAppActiveDeploymentDeploymentArtifacts; + deploymentId?: string; + mode?: string; + sourceCodePath?: string; + status: outputs.GetAppAppActiveDeploymentStatus; + /** + * The update time of the app. + */ + updateTime: string; +} + +export interface GetAppAppActiveDeploymentDeploymentArtifacts { + sourceCodePath?: string; +} + +export interface GetAppAppActiveDeploymentStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppAppAppStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppAppComputeStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppAppPendingDeployment { + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + deploymentArtifacts: outputs.GetAppAppPendingDeploymentDeploymentArtifacts; + deploymentId?: string; + mode?: string; + sourceCodePath?: string; + status: outputs.GetAppAppPendingDeploymentStatus; + /** + * The update time of the app. + */ + updateTime: string; +} + +export interface GetAppAppPendingDeploymentDeploymentArtifacts { + sourceCodePath?: string; +} + +export interface GetAppAppPendingDeploymentStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppAppResource { + /** + * The description of the resource. + */ + description?: string; + /** + * attribute + */ + job?: outputs.GetAppAppResourceJob; + /** + * The name of the app. + */ + name: string; + /** + * attribute + */ + secret?: outputs.GetAppAppResourceSecret; + /** + * attribute + */ + servingEndpoint?: outputs.GetAppAppResourceServingEndpoint; + /** + * attribute + */ + sqlWarehouse?: outputs.GetAppAppResourceSqlWarehouse; +} + +export interface GetAppAppResourceJob { + /** + * Id of the job to grant permission on. + */ + id: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + +export interface GetAppAppResourceSecret { + /** + * Key of the secret to grant permission on. + */ + key: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; + /** + * Scope of the secret to grant permission on. + */ + scope: string; +} + +export interface GetAppAppResourceServingEndpoint { + /** + * The name of the app. + */ + name: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + +export interface GetAppAppResourceSqlWarehouse { + /** + * Id of the job to grant permission on. + */ + id: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + +export interface GetAppsApp { + activeDeployment: outputs.GetAppsAppActiveDeployment; + /** + * attribute + */ + appStatus: outputs.GetAppsAppAppStatus; + /** + * attribute + */ + computeStatus: outputs.GetAppsAppComputeStatus; + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + /** + * The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + */ + defaultSourceCodePath: string; + /** + * The description of the resource. + */ + description?: string; + /** + * Name of the serving endpoint to grant permission on. + */ + name: string; + pendingDeployment: outputs.GetAppsAppPendingDeployment; + /** + * A list of resources that the app have access to. + */ + resources?: outputs.GetAppsAppResource[]; + servicePrincipalClientId: string; + /** + * id of the app service principal + */ + servicePrincipalId: number; + /** + * name of the app service principal + */ + servicePrincipalName: string; + /** + * The update time of the app. + */ + updateTime: string; + /** + * The email of the user that last updated the app. + */ + updater: string; + /** + * The URL of the app once it is deployed. + */ + url: string; +} + +export interface GetAppsAppActiveDeployment { + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + deploymentArtifacts: outputs.GetAppsAppActiveDeploymentDeploymentArtifacts; + deploymentId?: string; + mode?: string; + sourceCodePath?: string; + status: outputs.GetAppsAppActiveDeploymentStatus; + /** + * The update time of the app. + */ + updateTime: string; +} + +export interface GetAppsAppActiveDeploymentDeploymentArtifacts { + sourceCodePath?: string; +} + +export interface GetAppsAppActiveDeploymentStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppsAppAppStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppsAppComputeStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppsAppPendingDeployment { + /** + * The creation time of the app. + */ + createTime: string; + /** + * The email of the user that created the app. + */ + creator: string; + deploymentArtifacts: outputs.GetAppsAppPendingDeploymentDeploymentArtifacts; + deploymentId?: string; + mode?: string; + sourceCodePath?: string; + status: outputs.GetAppsAppPendingDeploymentStatus; + /** + * The update time of the app. + */ + updateTime: string; +} + +export interface GetAppsAppPendingDeploymentDeploymentArtifacts { + sourceCodePath?: string; +} + +export interface GetAppsAppPendingDeploymentStatus { + /** + * Application status message + */ + message: string; + /** + * State of the application. + */ + state: string; +} + +export interface GetAppsAppResource { + /** + * The description of the resource. + */ + description?: string; + /** + * attribute + */ + job?: outputs.GetAppsAppResourceJob; + /** + * Name of the serving endpoint to grant permission on. + */ + name: string; + /** + * attribute + */ + secret?: outputs.GetAppsAppResourceSecret; + /** + * attribute + */ + servingEndpoint?: outputs.GetAppsAppResourceServingEndpoint; + /** + * attribute + */ + sqlWarehouse?: outputs.GetAppsAppResourceSqlWarehouse; +} + +export interface GetAppsAppResourceJob { + /** + * Id of the job to grant permission on. + */ + id: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + +export interface GetAppsAppResourceSecret { + /** + * Key of the secret to grant permission on. + */ + key: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; + /** + * Scope of the secret to grant permission on. + */ + scope: string; +} + +export interface GetAppsAppResourceServingEndpoint { + /** + * Name of the serving endpoint to grant permission on. + */ + name: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + +export interface GetAppsAppResourceSqlWarehouse { + /** + * Id of the job to grant permission on. + */ + id: string; + /** + * Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + */ + permission: string; +} + export interface GetCatalogCatalogInfo { browseOnly?: boolean; /** @@ -816,7 +1492,9 @@ export interface GetClusterClusterInfo { * The pool of idle instances the cluster is attached to. */ instancePoolId?: string; + isSingleNode?: boolean; jdbcPort?: number; + kind?: string; lastRestartedTime?: number; lastStateLossTime?: number; /** @@ -859,6 +1537,7 @@ export interface GetClusterClusterInfo { stateMessage?: string; terminatedTime?: number; terminationReason?: outputs.GetClusterClusterInfoTerminationReason; + useMlRuntime?: boolean; workloadType?: outputs.GetClusterClusterInfoWorkloadType; } @@ -1057,6 +1736,8 @@ export interface GetClusterClusterInfoSpec { * The pool of idle instances the cluster is attached to. */ instancePoolId?: string; + isSingleNode?: boolean; + kind?: string; libraries?: outputs.GetClusterClusterInfoSpecLibrary[]; /** * Any supported databricks.getNodeType id. @@ -1091,6 +1772,7 @@ export interface GetClusterClusterInfoSpec { * SSH public key contents that will be added to each Spark node in this cluster. */ sshPublicKeys?: string[]; + useMlRuntime?: boolean; workloadType?: outputs.GetClusterClusterInfoSpecWorkloadType; } @@ -1489,7 +2171,7 @@ export interface GetFunctionsFunction { /** * object describing input parameters. Consists of the single attribute: */ - inputParams?: outputs.GetFunctionsFunctionInputParams; + inputParams?: outputs.GetFunctionsFunctionInputParam[]; /** * Boolean flag specifying whether the function is deterministic. */ @@ -1521,7 +2203,7 @@ export interface GetFunctionsFunction { /** * Table function return parameters. See `inputParams` for description. */ - returnParams?: outputs.GetFunctionsFunctionReturnParams; + returnParams?: outputs.GetFunctionsFunctionReturnParam[]; /** * Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `externalLanguage` field, and the `returnParams` of the function cannot be used (as `TABLE` return type is not supported), and the `sqlDataAccess` field must be `NO_SQL`. */ @@ -1533,7 +2215,7 @@ export interface GetFunctionsFunction { /** * Function dependencies. */ - routineDependencies?: outputs.GetFunctionsFunctionRoutineDependencies; + routineDependencies?: outputs.GetFunctionsFunctionRoutineDependency[]; /** * Name of databricks_schema. */ @@ -1564,14 +2246,14 @@ export interface GetFunctionsFunction { updatedBy?: string; } -export interface GetFunctionsFunctionInputParams { +export interface GetFunctionsFunctionInputParam { /** * The array of definitions of the function's parameters: */ - parameters?: outputs.GetFunctionsFunctionInputParamsParameter[]; + parameters?: outputs.GetFunctionsFunctionInputParamParameter[]; } -export interface GetFunctionsFunctionInputParamsParameter { +export interface GetFunctionsFunctionInputParamParameter { /** * User-provided free-form text description. */ @@ -1622,14 +2304,14 @@ export interface GetFunctionsFunctionInputParamsParameter { typeText: string; } -export interface GetFunctionsFunctionReturnParams { +export interface GetFunctionsFunctionReturnParam { /** * The array of definitions of the function's parameters: */ - parameters?: outputs.GetFunctionsFunctionReturnParamsParameter[]; + parameters?: outputs.GetFunctionsFunctionReturnParamParameter[]; } -export interface GetFunctionsFunctionReturnParamsParameter { +export interface GetFunctionsFunctionReturnParamParameter { /** * User-provided free-form text description. */ @@ -1680,20 +2362,20 @@ export interface GetFunctionsFunctionReturnParamsParameter { typeText: string; } -export interface GetFunctionsFunctionRoutineDependencies { - dependencies?: outputs.GetFunctionsFunctionRoutineDependenciesDependency[]; +export interface GetFunctionsFunctionRoutineDependency { + dependencies?: outputs.GetFunctionsFunctionRoutineDependencyDependency[]; } -export interface GetFunctionsFunctionRoutineDependenciesDependency { - function?: outputs.GetFunctionsFunctionRoutineDependenciesDependencyFunction; - table?: outputs.GetFunctionsFunctionRoutineDependenciesDependencyTable; +export interface GetFunctionsFunctionRoutineDependencyDependency { + functions?: outputs.GetFunctionsFunctionRoutineDependencyDependencyFunction[]; + tables?: outputs.GetFunctionsFunctionRoutineDependencyDependencyTable[]; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyFunction { +export interface GetFunctionsFunctionRoutineDependencyDependencyFunction { functionFullName: string; } -export interface GetFunctionsFunctionRoutineDependenciesDependencyTable { +export interface GetFunctionsFunctionRoutineDependencyDependencyTable { tableFullName: string; } @@ -3230,33 +3912,127 @@ export interface GetMlflowModelLatestVersion { description?: string; lastUpdatedTimestamp?: number; /** - * Name of the registered model. + * Name of the registered model. + */ + name?: string; + runId?: string; + runLink?: string; + source?: string; + status?: string; + statusMessage?: string; + /** + * Array of tags associated with the model. + */ + tags?: outputs.GetMlflowModelLatestVersionTag[]; + /** + * The username of the user that created the object. + */ + userId?: string; + version?: string; +} + +export interface GetMlflowModelLatestVersionTag { + key?: string; + value?: string; +} + +export interface GetMlflowModelTag { + key?: string; + value?: string; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfig { + /** + * Array of default rules. + */ + defaultRules?: outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRules; + /** + * Array of target rules. + */ + targetRules?: outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRules; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRules { + /** + * The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + */ + awsStableIpRule?: outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule; + /** + * Array of Azure service endpoint rules. + */ + azureServiceEndpointRule?: outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule { + /** + * The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + */ + cidrBlocks?: string[]; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule { + /** + * Array of strings representing the subnet IDs. + */ + subnets?: string[]; + /** + * The target region for the service endpoint. + */ + targetRegion?: string; + /** + * Array of target services. + */ + targetServices?: string[]; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigTargetRules { + /** + * Array of private endpoint rule objects. + */ + azurePrivateEndpointRules?: outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule[]; +} + +export interface GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule { + /** + * The current status of this private endpoint. + */ + connectionState?: string; + /** + * Time in epoch milliseconds when this object was created. + */ + creationTime?: number; + /** + * Whether this private endpoint is deactivated. + */ + deactivated?: boolean; + /** + * Time in epoch milliseconds when this object was deactivated. + */ + deactivatedAt?: number; + /** + * The name of the Azure private endpoint resource. + */ + endpointName?: string; + /** + * The sub-resource type (group ID) of the target resource. + */ + groupId?: string; + /** + * The Databricks network connectivity configuration ID. + */ + networkConnectivityConfigId?: string; + /** + * The Azure resource ID of the target resource. */ - name?: string; - runId?: string; - runLink?: string; - source?: string; - status?: string; - statusMessage?: string; + resourceId?: string; /** - * Array of tags associated with the model. + * The ID of a private endpoint rule. */ - tags?: outputs.GetMlflowModelLatestVersionTag[]; + ruleId?: string; /** - * The username of the user that created the object. + * Time in epoch milliseconds when the network was updated. */ - userId?: string; - version?: string; -} - -export interface GetMlflowModelLatestVersionTag { - key?: string; - value?: string; -} - -export interface GetMlflowModelTag { - key?: string; - value?: string; + updatedTime?: number; } export interface GetNotebookPathsNotebookPathList { @@ -3349,6 +4125,122 @@ export interface GetRegisteredModelModelInfoAlias { versionNum?: number; } +export interface GetRegisteredModelVersionsModelVersion { + /** + * the list of aliases associated with this model. Each item is object consisting of following attributes: + */ + aliases?: outputs.GetRegisteredModelVersionsModelVersionAlias[]; + browseOnly?: boolean; + /** + * The name of the catalog where the schema and the registered model reside. + */ + catalogName?: string; + /** + * The comment attached to the registered model. + */ + comment?: string; + /** + * the Unix timestamp at the model's creation + */ + createdAt?: number; + /** + * the identifier of the user who created the model + */ + createdBy?: string; + /** + * The unique identifier of the model version + */ + id?: string; + /** + * the unique identifier of the metastore + */ + metastoreId?: string; + modelName?: string; + /** + * block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + */ + modelVersionDependencies?: outputs.GetRegisteredModelVersionsModelVersionModelVersionDependency[]; + /** + * MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + */ + runId?: string; + /** + * ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + */ + runWorkspaceId?: number; + /** + * The name of the schema where the registered model resides. + */ + schemaName?: string; + /** + * URI indicating the location of the source artifacts (files) for the model version. + */ + source?: string; + /** + * Current status of the model version. + */ + status?: string; + /** + * The storage location under which model version data files are stored. + */ + storageLocation?: string; + /** + * the timestamp of the last time changes were made to the model + */ + updatedAt?: number; + /** + * the identifier of the user who updated the model last time + */ + updatedBy?: string; + /** + * Integer model version number, used to reference the model version in API requests. + */ + version?: number; +} + +export interface GetRegisteredModelVersionsModelVersionAlias { + /** + * string with the name of alias + */ + aliasName?: string; + /** + * associated model version + */ + versionNum?: number; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependency { + /** + * list of dependencies consisting of following attributes: + */ + dependencies?: outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency[]; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependency { + /** + * A function that is dependent on a SQL object: + */ + functions?: outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction[]; + /** + * A table that is dependent on a SQL object + */ + tables?: outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable[]; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunction { + /** + * Full name of the dependent function + */ + functionFullName: string; +} + +export interface GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTable { + /** + * Full name of the dependent table + */ + tableFullName: string; +} + export interface GetSchemaSchemaInfo { /** * indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. @@ -3430,6 +4322,204 @@ export interface GetSchemaSchemaInfoEffectivePredictiveOptimizationFlag { value: string; } +export interface GetServingEndpointsEndpoint { + /** + * A block with AI Gateway configuration for the serving endpoint. + */ + aiGateways?: outputs.GetServingEndpointsEndpointAiGateway[]; + /** + * The model serving endpoint configuration. + */ + configs?: outputs.GetServingEndpointsEndpointConfig[]; + creationTimestamp?: number; + creator?: string; + id?: string; + lastUpdatedTimestamp?: number; + /** + * The name of the model serving endpoint. + */ + name?: string; + states?: outputs.GetServingEndpointsEndpointState[]; + /** + * Tags to be attached to the serving endpoint and automatically propagated to billing logs. + */ + tags?: outputs.GetServingEndpointsEndpointTag[]; + task?: string; +} + +export interface GetServingEndpointsEndpointAiGateway { + guardrails?: outputs.GetServingEndpointsEndpointAiGatewayGuardrail[]; + inferenceTableConfigs?: outputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfig[]; + /** + * A list of rate limit blocks to be applied to the serving endpoint. + */ + rateLimits?: outputs.GetServingEndpointsEndpointAiGatewayRateLimit[]; + usageTrackingConfigs?: outputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfig[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrail { + inputProperties?: outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputProperty[]; + outputs?: outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutput[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailInputProperty { + invalidKeywords?: string[]; + piis?: outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii[]; + safety?: boolean; + validTopics?: string[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPii { + behavior: string; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailOutput { + invalidKeywords?: string[]; + piis?: outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPii[]; + safety?: boolean; + validTopics?: string[]; +} + +export interface GetServingEndpointsEndpointAiGatewayGuardrailOutputPii { + behavior: string; +} + +export interface GetServingEndpointsEndpointAiGatewayInferenceTableConfig { + catalogName?: string; + enabled?: boolean; + schemaName?: string; + tableNamePrefix?: string; +} + +export interface GetServingEndpointsEndpointAiGatewayRateLimit { + calls: number; + key?: string; + renewalPeriod: string; +} + +export interface GetServingEndpointsEndpointAiGatewayUsageTrackingConfig { + enabled?: boolean; +} + +export interface GetServingEndpointsEndpointConfig { + servedEntities?: outputs.GetServingEndpointsEndpointConfigServedEntity[]; + servedModels?: outputs.GetServingEndpointsEndpointConfigServedModel[]; +} + +export interface GetServingEndpointsEndpointConfigServedEntity { + entityName?: string; + entityVersion?: string; + externalModels?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModel[]; + foundationModels?: outputs.GetServingEndpointsEndpointConfigServedEntityFoundationModel[]; + /** + * The name of the model serving endpoint. + */ + name?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModel { + ai21labsConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig[]; + amazonBedrockConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig[]; + anthropicConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig[]; + cohereConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig[]; + databricksModelServingConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig[]; + googleCloudVertexAiConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig[]; + /** + * The name of the model serving endpoint. + */ + name: string; + openaiConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig[]; + palmConfigs?: outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig[]; + provider: string; + task: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfig { + ai21labsApiKey?: string; + ai21labsApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfig { + awsAccessKeyId?: string; + awsAccessKeyIdPlaintext?: string; + awsRegion: string; + awsSecretAccessKey?: string; + awsSecretAccessKeyPlaintext?: string; + bedrockProvider: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfig { + anthropicApiKey?: string; + anthropicApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfig { + cohereApiBase?: string; + cohereApiKey?: string; + cohereApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfig { + databricksApiToken?: string; + databricksApiTokenPlaintext?: string; + databricksWorkspaceUrl: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfig { + privateKey?: string; + privateKeyPlaintext?: string; + projectId?: string; + region?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfig { + microsoftEntraClientId?: string; + microsoftEntraClientSecret?: string; + microsoftEntraClientSecretPlaintext?: string; + microsoftEntraTenantId?: string; + openaiApiBase?: string; + openaiApiKey?: string; + openaiApiKeyPlaintext?: string; + openaiApiType?: string; + openaiApiVersion?: string; + openaiDeploymentName?: string; + openaiOrganization?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfig { + palmApiKey?: string; + palmApiKeyPlaintext?: string; +} + +export interface GetServingEndpointsEndpointConfigServedEntityFoundationModel { + description?: string; + displayName?: string; + docs?: string; + /** + * The name of the model serving endpoint. + */ + name?: string; +} + +export interface GetServingEndpointsEndpointConfigServedModel { + modelName?: string; + modelVersion?: string; + /** + * The name of the model serving endpoint. + */ + name?: string; +} + +export interface GetServingEndpointsEndpointState { + configUpdate?: string; + ready?: string; +} + +export interface GetServingEndpointsEndpointTag { + key: string; + value?: string; +} + export interface GetShareObject { addedAt: number; addedBy: string; @@ -4166,6 +5256,8 @@ export interface JobJobClusterNewCluster { idempotencyToken?: string; initScripts?: outputs.JobJobClusterNewClusterInitScript[]; instancePoolId?: string; + isSingleNode?: boolean; + kind?: string; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -4179,6 +5271,7 @@ export interface JobJobClusterNewCluster { sparkEnvVars?: {[key: string]: string}; sparkVersion: string; sshPublicKeys?: string[]; + useMlRuntime?: boolean; /** * isn't supported */ @@ -4398,6 +5491,8 @@ export interface JobNewCluster { idempotencyToken?: string; initScripts?: outputs.JobNewClusterInitScript[]; instancePoolId?: string; + isSingleNode?: boolean; + kind?: string; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -4411,6 +5506,7 @@ export interface JobNewCluster { sparkEnvVars?: {[key: string]: string}; sparkVersion: string; sshPublicKeys?: string[]; + useMlRuntime?: boolean; /** * isn't supported */ @@ -4751,6 +5847,7 @@ export interface JobSparkSubmitTask { } export interface JobTask { + cleanRoomsNotebookTask?: outputs.JobTaskCleanRoomsNotebookTask; conditionTask?: outputs.JobTaskConditionTask; dbtTask?: outputs.JobTaskDbtTask; /** @@ -4839,6 +5936,13 @@ export interface JobTask { webhookNotifications?: outputs.JobTaskWebhookNotifications; } +export interface JobTaskCleanRoomsNotebookTask { + cleanRoomName: string; + etag?: string; + notebookBaseParameters?: {[key: string]: string}; + notebookName: string; +} + export interface JobTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. @@ -4946,6 +6050,7 @@ export interface JobTaskForEachTask { } export interface JobTaskForEachTaskTask { + cleanRoomsNotebookTask?: outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask; conditionTask?: outputs.JobTaskForEachTaskTaskConditionTask; dbtTask?: outputs.JobTaskForEachTaskTaskDbtTask; /** @@ -5033,6 +6138,13 @@ export interface JobTaskForEachTaskTask { webhookNotifications?: outputs.JobTaskForEachTaskTaskWebhookNotifications; } +export interface JobTaskForEachTaskTaskCleanRoomsNotebookTask { + cleanRoomName: string; + etag?: string; + notebookBaseParameters?: {[key: string]: string}; + notebookName: string; +} + export interface JobTaskForEachTaskTaskConditionTask { /** * The left operand of the condition task. It could be a string value, job state, or a parameter reference. @@ -5192,6 +6304,8 @@ export interface JobTaskForEachTaskTaskNewCluster { idempotencyToken?: string; initScripts?: outputs.JobTaskForEachTaskTaskNewClusterInitScript[]; instancePoolId?: string; + isSingleNode?: boolean; + kind?: string; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -5205,6 +6319,7 @@ export interface JobTaskForEachTaskTaskNewCluster { sparkEnvVars?: {[key: string]: string}; sparkVersion: string; sshPublicKeys?: string[]; + useMlRuntime?: boolean; /** * isn't supported */ @@ -5773,6 +6888,8 @@ export interface JobTaskNewCluster { idempotencyToken?: string; initScripts?: outputs.JobTaskNewClusterInitScript[]; instancePoolId?: string; + isSingleNode?: boolean; + kind?: string; /** * (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. */ @@ -5786,6 +6903,7 @@ export interface JobTaskNewCluster { sparkEnvVars?: {[key: string]: string}; sparkVersion: string; sshPublicKeys?: string[]; + useMlRuntime?: boolean; /** * isn't supported */ @@ -7817,7 +8935,7 @@ export interface PipelineNotification { } export interface PipelineRestartWindow { - daysOfWeek?: string; + daysOfWeeks?: string[]; startHour: number; timeZoneId?: string; } diff --git a/sdk/nodejs/workspaceBinding.ts b/sdk/nodejs/workspaceBinding.ts index c57db2c2..0da4344a 100644 --- a/sdk/nodejs/workspaceBinding.ts +++ b/sdk/nodejs/workspaceBinding.ts @@ -11,7 +11,7 @@ import * as utilities from "./utilities"; * * By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `databricks.WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource. * - * > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks.ExternalLocation or databricks_storage_credential) for the `isolationMode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). + * > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, databricks.StorageCredential or databricks_credential) for the `isolationMode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). * * > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from. * @@ -80,7 +80,7 @@ export class WorkspaceBinding extends pulumi.CustomResource { */ public readonly securableName!: pulumi.Output; /** - * Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. */ public readonly securableType!: pulumi.Output; /** @@ -136,7 +136,7 @@ export interface WorkspaceBindingState { */ securableName?: pulumi.Input; /** - * Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. */ securableType?: pulumi.Input; /** @@ -162,7 +162,7 @@ export interface WorkspaceBindingArgs { */ securableName?: pulumi.Input; /** - * Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + * Type of securable. Can be `catalog`, `externalLocation`, `storageCredential` or `credential`. Default to `catalog`. Change forces creation of a new resource. */ securableType?: pulumi.Input; /** diff --git a/sdk/nodejs/workspaceConf.ts b/sdk/nodejs/workspaceConf.ts index b1c2a347..fa70db3f 100644 --- a/sdk/nodejs/workspaceConf.ts +++ b/sdk/nodejs/workspaceConf.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * Allows specification of custom configuration properties for expert usage: * * - `enableIpAccessLists` - enables the use of databricks.IpAccessList resources - * - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. + * - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. * - `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace. * - `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace. * - `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace. diff --git a/sdk/python/pulumi_databricks/__init__.py b/sdk/python/pulumi_databricks/__init__.py index 3b6c257f..79e71e25 100644 --- a/sdk/python/pulumi_databricks/__init__.py +++ b/sdk/python/pulumi_databricks/__init__.py @@ -7,6 +7,7 @@ # Export this package's modules as members: from .access_control_rule_set import * from .alert import * +from .app import * from .artifact_allowlist import * from .automatic_cluster_update_workspace_setting import * from .budget import * @@ -16,6 +17,7 @@ from .cluster_policy import * from .compliance_security_profile_workspace_setting import * from .connection import * +from .credential import * from .custom_app_integration import * from .dashboard import * from .dbfs_file import * @@ -25,6 +27,8 @@ from .entitlements import * from .external_location import * from .file import * +from .get_app import * +from .get_apps import * from .get_aws_assume_role_policy import * from .get_aws_bucket_policy import * from .get_aws_cross_account_policy import * @@ -55,6 +59,8 @@ from .get_mlflow_model import * from .get_mlflow_models import * from .get_mws_credentials import * +from .get_mws_network_connectivity_config import * +from .get_mws_network_connectivity_configs import * from .get_mws_workspaces import * from .get_node_type import * from .get_notebook import * @@ -62,10 +68,12 @@ from .get_notification_destinations import * from .get_pipelines import * from .get_registered_model import * +from .get_registered_model_versions import * from .get_schema import * from .get_schemas import * from .get_service_principal import * from .get_service_principals import * +from .get_serving_endpoints import * from .get_share import * from .get_shares import * from .get_spark_version import * @@ -188,6 +196,14 @@ "databricks:index/alert:Alert": "Alert" } }, + { + "pkg": "databricks", + "mod": "index/app", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/app:App": "App" + } + }, { "pkg": "databricks", "mod": "index/artifactAllowlist", @@ -260,6 +276,14 @@ "databricks:index/connection:Connection": "Connection" } }, + { + "pkg": "databricks", + "mod": "index/credential", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/credential:Credential": "Credential" + } + }, { "pkg": "databricks", "mod": "index/customAppIntegration", diff --git a/sdk/python/pulumi_databricks/_inputs.py b/sdk/python/pulumi_databricks/_inputs.py index 781cb4c2..36203f8e 100644 --- a/sdk/python/pulumi_databricks/_inputs.py +++ b/sdk/python/pulumi_databricks/_inputs.py @@ -27,6 +27,32 @@ 'AlertConditionThresholdArgsDict', 'AlertConditionThresholdValueArgs', 'AlertConditionThresholdValueArgsDict', + 'AppActiveDeploymentArgs', + 'AppActiveDeploymentArgsDict', + 'AppActiveDeploymentDeploymentArtifactsArgs', + 'AppActiveDeploymentDeploymentArtifactsArgsDict', + 'AppActiveDeploymentStatusArgs', + 'AppActiveDeploymentStatusArgsDict', + 'AppAppStatusArgs', + 'AppAppStatusArgsDict', + 'AppComputeStatusArgs', + 'AppComputeStatusArgsDict', + 'AppPendingDeploymentArgs', + 'AppPendingDeploymentArgsDict', + 'AppPendingDeploymentDeploymentArtifactsArgs', + 'AppPendingDeploymentDeploymentArtifactsArgsDict', + 'AppPendingDeploymentStatusArgs', + 'AppPendingDeploymentStatusArgsDict', + 'AppResourceArgs', + 'AppResourceArgsDict', + 'AppResourceJobArgs', + 'AppResourceJobArgsDict', + 'AppResourceSecretArgs', + 'AppResourceSecretArgsDict', + 'AppResourceServingEndpointArgs', + 'AppResourceServingEndpointArgsDict', + 'AppResourceSqlWarehouseArgs', + 'AppResourceSqlWarehouseArgsDict', 'ArtifactAllowlistArtifactMatcherArgs', 'ArtifactAllowlistArtifactMatcherArgsDict', 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs', @@ -113,6 +139,14 @@ 'ClusterWorkloadTypeClientsArgsDict', 'ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs', 'ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgsDict', + 'CredentialAwsIamRoleArgs', + 'CredentialAwsIamRoleArgsDict', + 'CredentialAzureManagedIdentityArgs', + 'CredentialAzureManagedIdentityArgsDict', + 'CredentialAzureServicePrincipalArgs', + 'CredentialAzureServicePrincipalArgsDict', + 'CredentialDatabricksGcpServiceAccountArgs', + 'CredentialDatabricksGcpServiceAccountArgsDict', 'CustomAppIntegrationTokenAccessPolicyArgs', 'CustomAppIntegrationTokenAccessPolicyArgsDict', 'DefaultNamespaceSettingNamespaceArgs', @@ -313,6 +347,8 @@ 'JobSparkSubmitTaskArgsDict', 'JobTaskArgs', 'JobTaskArgsDict', + 'JobTaskCleanRoomsNotebookTaskArgs', + 'JobTaskCleanRoomsNotebookTaskArgsDict', 'JobTaskConditionTaskArgs', 'JobTaskConditionTaskArgsDict', 'JobTaskDbtTaskArgs', @@ -325,6 +361,8 @@ 'JobTaskForEachTaskArgsDict', 'JobTaskForEachTaskTaskArgs', 'JobTaskForEachTaskTaskArgsDict', + 'JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs', + 'JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgsDict', 'JobTaskForEachTaskTaskConditionTaskArgs', 'JobTaskForEachTaskTaskConditionTaskArgsDict', 'JobTaskForEachTaskTaskDbtTaskArgs', @@ -1103,22 +1141,22 @@ 'GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict', 'GetFunctionsFunctionArgs', 'GetFunctionsFunctionArgsDict', - 'GetFunctionsFunctionInputParamsArgs', - 'GetFunctionsFunctionInputParamsArgsDict', - 'GetFunctionsFunctionInputParamsParameterArgs', - 'GetFunctionsFunctionInputParamsParameterArgsDict', - 'GetFunctionsFunctionReturnParamsArgs', - 'GetFunctionsFunctionReturnParamsArgsDict', - 'GetFunctionsFunctionReturnParamsParameterArgs', - 'GetFunctionsFunctionReturnParamsParameterArgsDict', - 'GetFunctionsFunctionRoutineDependenciesArgs', - 'GetFunctionsFunctionRoutineDependenciesArgsDict', - 'GetFunctionsFunctionRoutineDependenciesDependencyArgs', - 'GetFunctionsFunctionRoutineDependenciesDependencyArgsDict', - 'GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs', - 'GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgsDict', - 'GetFunctionsFunctionRoutineDependenciesDependencyTableArgs', - 'GetFunctionsFunctionRoutineDependenciesDependencyTableArgsDict', + 'GetFunctionsFunctionInputParamArgs', + 'GetFunctionsFunctionInputParamArgsDict', + 'GetFunctionsFunctionInputParamParameterArgs', + 'GetFunctionsFunctionInputParamParameterArgsDict', + 'GetFunctionsFunctionReturnParamArgs', + 'GetFunctionsFunctionReturnParamArgsDict', + 'GetFunctionsFunctionReturnParamParameterArgs', + 'GetFunctionsFunctionReturnParamParameterArgsDict', + 'GetFunctionsFunctionRoutineDependencyArgs', + 'GetFunctionsFunctionRoutineDependencyArgsDict', + 'GetFunctionsFunctionRoutineDependencyDependencyArgs', + 'GetFunctionsFunctionRoutineDependencyDependencyArgsDict', + 'GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs', + 'GetFunctionsFunctionRoutineDependencyDependencyFunctionArgsDict', + 'GetFunctionsFunctionRoutineDependencyDependencyTableArgs', + 'GetFunctionsFunctionRoutineDependencyDependencyTableArgsDict', 'GetInstancePoolPoolInfoArgs', 'GetInstancePoolPoolInfoArgsDict', 'GetInstancePoolPoolInfoAwsAttributesArgs', @@ -1541,16 +1579,88 @@ 'GetMlflowModelLatestVersionTagArgsDict', 'GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict', - 'GetNotificationDestinationsNotificationDestinationArgs', - 'GetNotificationDestinationsNotificationDestinationArgsDict', + 'GetMwsNetworkConnectivityConfigEgressConfigArgs', + 'GetMwsNetworkConnectivityConfigEgressConfigArgsDict', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict', + 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs', + 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict', + 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs', + 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict', 'GetRegisteredModelModelInfoArgs', 'GetRegisteredModelModelInfoArgsDict', 'GetRegisteredModelModelInfoAliasArgs', 'GetRegisteredModelModelInfoAliasArgsDict', + 'GetRegisteredModelVersionsModelVersionArgs', + 'GetRegisteredModelVersionsModelVersionArgsDict', + 'GetRegisteredModelVersionsModelVersionAliasArgs', + 'GetRegisteredModelVersionsModelVersionAliasArgsDict', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyArgsDict', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgsDict', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgsDict', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgsDict', 'GetSchemaSchemaInfoArgs', 'GetSchemaSchemaInfoArgsDict', 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs', 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict', + 'GetServingEndpointsEndpointArgs', + 'GetServingEndpointsEndpointArgsDict', + 'GetServingEndpointsEndpointAiGatewayArgs', + 'GetServingEndpointsEndpointAiGatewayArgsDict', + 'GetServingEndpointsEndpointAiGatewayGuardrailArgs', + 'GetServingEndpointsEndpointAiGatewayGuardrailArgsDict', + 'GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs', + 'GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgsDict', + 'GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs', + 'GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgsDict', + 'GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs', + 'GetServingEndpointsEndpointAiGatewayGuardrailOutputArgsDict', + 'GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs', + 'GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgsDict', + 'GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs', + 'GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgsDict', + 'GetServingEndpointsEndpointAiGatewayRateLimitArgs', + 'GetServingEndpointsEndpointAiGatewayRateLimitArgsDict', + 'GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs', + 'GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgsDict', + 'GetServingEndpointsEndpointConfigArgs', + 'GetServingEndpointsEndpointConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityArgs', + 'GetServingEndpointsEndpointConfigServedEntityArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgsDict', + 'GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs', + 'GetServingEndpointsEndpointConfigServedEntityFoundationModelArgsDict', + 'GetServingEndpointsEndpointConfigServedModelArgs', + 'GetServingEndpointsEndpointConfigServedModelArgsDict', + 'GetServingEndpointsEndpointStateArgs', + 'GetServingEndpointsEndpointStateArgsDict', + 'GetServingEndpointsEndpointTagArgs', + 'GetServingEndpointsEndpointTagArgsDict', 'GetShareObjectArgs', 'GetShareObjectArgsDict', 'GetShareObjectPartitionArgs', @@ -1951,2029 +2061,2075 @@ def string_value(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class ArtifactAllowlistArtifactMatcherArgsDict(TypedDict): - artifact: pulumi.Input[str] + class AppActiveDeploymentArgsDict(TypedDict): + create_time: NotRequired[pulumi.Input[str]] """ - The artifact path or maven coordinate. + The creation time of the app. """ - match_type: pulumi.Input[str] + creator: NotRequired[pulumi.Input[str]] """ - The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. + The email of the user that created the app. + """ + deployment_artifacts: NotRequired[pulumi.Input['AppActiveDeploymentDeploymentArtifactsArgsDict']] + deployment_id: NotRequired[pulumi.Input[str]] + mode: NotRequired[pulumi.Input[str]] + source_code_path: NotRequired[pulumi.Input[str]] + status: NotRequired[pulumi.Input['AppActiveDeploymentStatusArgsDict']] + update_time: NotRequired[pulumi.Input[str]] + """ + The update time of the app. """ elif False: - ArtifactAllowlistArtifactMatcherArgsDict: TypeAlias = Mapping[str, Any] + AppActiveDeploymentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ArtifactAllowlistArtifactMatcherArgs: +class AppActiveDeploymentArgs: def __init__(__self__, *, - artifact: pulumi.Input[str], - match_type: pulumi.Input[str]): + create_time: Optional[pulumi.Input[str]] = None, + creator: Optional[pulumi.Input[str]] = None, + deployment_artifacts: Optional[pulumi.Input['AppActiveDeploymentDeploymentArtifactsArgs']] = None, + deployment_id: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + source_code_path: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input['AppActiveDeploymentStatusArgs']] = None, + update_time: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] artifact: The artifact path or maven coordinate. - :param pulumi.Input[str] match_type: The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. + :param pulumi.Input[str] create_time: The creation time of the app. + :param pulumi.Input[str] creator: The email of the user that created the app. + :param pulumi.Input[str] update_time: The update time of the app. """ - pulumi.set(__self__, "artifact", artifact) - pulumi.set(__self__, "match_type", match_type) + if create_time is not None: + pulumi.set(__self__, "create_time", create_time) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if deployment_artifacts is not None: + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + if status is not None: + pulumi.set(__self__, "status", status) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) @property - @pulumi.getter - def artifact(self) -> pulumi.Input[str]: + @pulumi.getter(name="createTime") + def create_time(self) -> Optional[pulumi.Input[str]]: """ - The artifact path or maven coordinate. + The creation time of the app. """ - return pulumi.get(self, "artifact") + return pulumi.get(self, "create_time") - @artifact.setter - def artifact(self, value: pulumi.Input[str]): - pulumi.set(self, "artifact", value) + @create_time.setter + def create_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "create_time", value) @property - @pulumi.getter(name="matchType") - def match_type(self) -> pulumi.Input[str]: + @pulumi.getter + def creator(self) -> Optional[pulumi.Input[str]]: """ - The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. + The email of the user that created the app. """ - return pulumi.get(self, "match_type") - - @match_type.setter - def match_type(self, value: pulumi.Input[str]): - pulumi.set(self, "match_type", value) + return pulumi.get(self, "creator") + @creator.setter + def creator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creator", value) -if not MYPY: - class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgsDict(TypedDict): - enabled: pulumi.Input[bool] - can_toggle: NotRequired[pulumi.Input[bool]] - enablement_details: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgsDict']] - maintenance_window: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgsDict']] - restart_even_if_no_updates_available: NotRequired[pulumi.Input[bool]] -elif False: - AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> Optional[pulumi.Input['AppActiveDeploymentDeploymentArtifactsArgs']]: + return pulumi.get(self, "deployment_artifacts") -@pulumi.input_type -class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs: - def __init__(__self__, *, - enabled: pulumi.Input[bool], - can_toggle: Optional[pulumi.Input[bool]] = None, - enablement_details: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']] = None, - maintenance_window: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']] = None, - restart_even_if_no_updates_available: Optional[pulumi.Input[bool]] = None): - pulumi.set(__self__, "enabled", enabled) - if can_toggle is not None: - pulumi.set(__self__, "can_toggle", can_toggle) - if enablement_details is not None: - pulumi.set(__self__, "enablement_details", enablement_details) - if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) - if restart_even_if_no_updates_available is not None: - pulumi.set(__self__, "restart_even_if_no_updates_available", restart_even_if_no_updates_available) + @deployment_artifacts.setter + def deployment_artifacts(self, value: Optional[pulumi.Input['AppActiveDeploymentDeploymentArtifactsArgs']]): + pulumi.set(self, "deployment_artifacts", value) @property - @pulumi.getter - def enabled(self) -> pulumi.Input[bool]: - return pulumi.get(self, "enabled") + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deployment_id") - @enabled.setter - def enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "enabled", value) + @deployment_id.setter + def deployment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deployment_id", value) @property - @pulumi.getter(name="canToggle") - def can_toggle(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "can_toggle") + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") - @can_toggle.setter - def can_toggle(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "can_toggle", value) + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) @property - @pulumi.getter(name="enablementDetails") - def enablement_details(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']]: - return pulumi.get(self, "enablement_details") + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_code_path") - @enablement_details.setter - def enablement_details(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']]): - pulumi.set(self, "enablement_details", value) + @source_code_path.setter + def source_code_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_code_path", value) @property - @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']]: - return pulumi.get(self, "maintenance_window") + @pulumi.getter + def status(self) -> Optional[pulumi.Input['AppActiveDeploymentStatusArgs']]: + return pulumi.get(self, "status") - @maintenance_window.setter - def maintenance_window(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']]): - pulumi.set(self, "maintenance_window", value) + @status.setter + def status(self, value: Optional[pulumi.Input['AppActiveDeploymentStatusArgs']]): + pulumi.set(self, "status", value) @property - @pulumi.getter(name="restartEvenIfNoUpdatesAvailable") - def restart_even_if_no_updates_available(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "restart_even_if_no_updates_available") + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[pulumi.Input[str]]: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") - @restart_even_if_no_updates_available.setter - def restart_even_if_no_updates_available(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "restart_even_if_no_updates_available", value) + @update_time.setter + def update_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_time", value) if not MYPY: - class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgsDict(TypedDict): - forced_for_compliance_mode: NotRequired[pulumi.Input[bool]] - unavailable_for_disabled_entitlement: NotRequired[pulumi.Input[bool]] - unavailable_for_non_enterprise_tier: NotRequired[pulumi.Input[bool]] + class AppActiveDeploymentDeploymentArtifactsArgsDict(TypedDict): + source_code_path: NotRequired[pulumi.Input[str]] elif False: - AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgsDict: TypeAlias = Mapping[str, Any] + AppActiveDeploymentDeploymentArtifactsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs: +class AppActiveDeploymentDeploymentArtifactsArgs: def __init__(__self__, *, - forced_for_compliance_mode: Optional[pulumi.Input[bool]] = None, - unavailable_for_disabled_entitlement: Optional[pulumi.Input[bool]] = None, - unavailable_for_non_enterprise_tier: Optional[pulumi.Input[bool]] = None): - if forced_for_compliance_mode is not None: - pulumi.set(__self__, "forced_for_compliance_mode", forced_for_compliance_mode) - if unavailable_for_disabled_entitlement is not None: - pulumi.set(__self__, "unavailable_for_disabled_entitlement", unavailable_for_disabled_entitlement) - if unavailable_for_non_enterprise_tier is not None: - pulumi.set(__self__, "unavailable_for_non_enterprise_tier", unavailable_for_non_enterprise_tier) - - @property - @pulumi.getter(name="forcedForComplianceMode") - def forced_for_compliance_mode(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "forced_for_compliance_mode") - - @forced_for_compliance_mode.setter - def forced_for_compliance_mode(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "forced_for_compliance_mode", value) - - @property - @pulumi.getter(name="unavailableForDisabledEntitlement") - def unavailable_for_disabled_entitlement(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "unavailable_for_disabled_entitlement") - - @unavailable_for_disabled_entitlement.setter - def unavailable_for_disabled_entitlement(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "unavailable_for_disabled_entitlement", value) + source_code_path: Optional[pulumi.Input[str]] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) @property - @pulumi.getter(name="unavailableForNonEnterpriseTier") - def unavailable_for_non_enterprise_tier(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "unavailable_for_non_enterprise_tier") + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_code_path") - @unavailable_for_non_enterprise_tier.setter - def unavailable_for_non_enterprise_tier(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "unavailable_for_non_enterprise_tier", value) + @source_code_path.setter + def source_code_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_code_path", value) if not MYPY: - class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgsDict(TypedDict): - week_day_based_schedule: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgsDict']] + class AppActiveDeploymentStatusArgsDict(TypedDict): + message: NotRequired[pulumi.Input[str]] + """ + Application status message + """ + state: NotRequired[pulumi.Input[str]] + """ + State of the application. + """ elif False: - AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgsDict: TypeAlias = Mapping[str, Any] + AppActiveDeploymentStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs: +class AppActiveDeploymentStatusArgs: def __init__(__self__, *, - week_day_based_schedule: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']] = None): - if week_day_based_schedule is not None: - pulumi.set(__self__, "week_day_based_schedule", week_day_based_schedule) + message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] message: Application status message + :param pulumi.Input[str] state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="weekDayBasedSchedule") - def week_day_based_schedule(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']]: - return pulumi.get(self, "week_day_based_schedule") + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + Application status message + """ + return pulumi.get(self, "message") - @week_day_based_schedule.setter - def week_day_based_schedule(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']]): - pulumi.set(self, "week_day_based_schedule", value) + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + State of the application. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) if not MYPY: - class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgsDict(TypedDict): - day_of_week: pulumi.Input[str] - frequency: pulumi.Input[str] - window_start_time: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgsDict']] + class AppAppStatusArgsDict(TypedDict): + message: NotRequired[pulumi.Input[str]] + """ + Application status message + """ + state: NotRequired[pulumi.Input[str]] + """ + State of the application. + """ elif False: - AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgsDict: TypeAlias = Mapping[str, Any] + AppAppStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs: +class AppAppStatusArgs: def __init__(__self__, *, - day_of_week: pulumi.Input[str], - frequency: pulumi.Input[str], - window_start_time: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']] = None): - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "frequency", frequency) - if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) - - @property - @pulumi.getter(name="dayOfWeek") - def day_of_week(self) -> pulumi.Input[str]: - return pulumi.get(self, "day_of_week") - - @day_of_week.setter - def day_of_week(self, value: pulumi.Input[str]): - pulumi.set(self, "day_of_week", value) + message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] message: Application status message + :param pulumi.Input[str] state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) @property @pulumi.getter - def frequency(self) -> pulumi.Input[str]: - return pulumi.get(self, "frequency") + def message(self) -> Optional[pulumi.Input[str]]: + """ + Application status message + """ + return pulumi.get(self, "message") - @frequency.setter - def frequency(self, value: pulumi.Input[str]): - pulumi.set(self, "frequency", value) + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) @property - @pulumi.getter(name="windowStartTime") - def window_start_time(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']]: - return pulumi.get(self, "window_start_time") + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + State of the application. + """ + return pulumi.get(self, "state") - @window_start_time.setter - def window_start_time(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']]): - pulumi.set(self, "window_start_time", value) + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) if not MYPY: - class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgsDict(TypedDict): - hours: pulumi.Input[int] - minutes: pulumi.Input[int] + class AppComputeStatusArgsDict(TypedDict): + message: NotRequired[pulumi.Input[str]] + """ + Application status message + """ + state: NotRequired[pulumi.Input[str]] + """ + State of the application. + """ elif False: - AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgsDict: TypeAlias = Mapping[str, Any] + AppComputeStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs: +class AppComputeStatusArgs: def __init__(__self__, *, - hours: pulumi.Input[int], - minutes: pulumi.Input[int]): - pulumi.set(__self__, "hours", hours) - pulumi.set(__self__, "minutes", minutes) + message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] message: Application status message + :param pulumi.Input[str] state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) @property @pulumi.getter - def hours(self) -> pulumi.Input[int]: - return pulumi.get(self, "hours") + def message(self) -> Optional[pulumi.Input[str]]: + """ + Application status message + """ + return pulumi.get(self, "message") - @hours.setter - def hours(self, value: pulumi.Input[int]): - pulumi.set(self, "hours", value) + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) @property @pulumi.getter - def minutes(self) -> pulumi.Input[int]: - return pulumi.get(self, "minutes") + def state(self) -> Optional[pulumi.Input[str]]: + """ + State of the application. + """ + return pulumi.get(self, "state") - @minutes.setter - def minutes(self, value: pulumi.Input[int]): - pulumi.set(self, "minutes", value) + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) if not MYPY: - class BudgetAlertConfigurationArgsDict(TypedDict): - action_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgsDict']]]] - """ - List of action configurations to take when the budget alert is triggered. Consists of the following fields: - """ - alert_configuration_id: NotRequired[pulumi.Input[str]] - quantity_threshold: NotRequired[pulumi.Input[str]] - """ - The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantity_type`. + class AppPendingDeploymentArgsDict(TypedDict): + create_time: NotRequired[pulumi.Input[str]] """ - quantity_type: NotRequired[pulumi.Input[str]] - """ - The way to calculate cost for this budget alert. This is what quantity_threshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) + The creation time of the app. """ - time_period: NotRequired[pulumi.Input[str]] + creator: NotRequired[pulumi.Input[str]] """ - The time window of usage data for the budget. (Enum: `MONTH`) + The email of the user that created the app. """ - trigger_type: NotRequired[pulumi.Input[str]] + deployment_artifacts: NotRequired[pulumi.Input['AppPendingDeploymentDeploymentArtifactsArgsDict']] + deployment_id: NotRequired[pulumi.Input[str]] + mode: NotRequired[pulumi.Input[str]] + source_code_path: NotRequired[pulumi.Input[str]] + status: NotRequired[pulumi.Input['AppPendingDeploymentStatusArgsDict']] + update_time: NotRequired[pulumi.Input[str]] """ - The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) + The update time of the app. """ elif False: - BudgetAlertConfigurationArgsDict: TypeAlias = Mapping[str, Any] + AppPendingDeploymentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class BudgetAlertConfigurationArgs: +class AppPendingDeploymentArgs: def __init__(__self__, *, - action_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]]] = None, - alert_configuration_id: Optional[pulumi.Input[str]] = None, - quantity_threshold: Optional[pulumi.Input[str]] = None, - quantity_type: Optional[pulumi.Input[str]] = None, - time_period: Optional[pulumi.Input[str]] = None, - trigger_type: Optional[pulumi.Input[str]] = None): + create_time: Optional[pulumi.Input[str]] = None, + creator: Optional[pulumi.Input[str]] = None, + deployment_artifacts: Optional[pulumi.Input['AppPendingDeploymentDeploymentArtifactsArgs']] = None, + deployment_id: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + source_code_path: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input['AppPendingDeploymentStatusArgs']] = None, + update_time: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]] action_configurations: List of action configurations to take when the budget alert is triggered. Consists of the following fields: - :param pulumi.Input[str] quantity_threshold: The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantity_type`. - :param pulumi.Input[str] quantity_type: The way to calculate cost for this budget alert. This is what quantity_threshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) - :param pulumi.Input[str] time_period: The time window of usage data for the budget. (Enum: `MONTH`) - :param pulumi.Input[str] trigger_type: The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) + :param pulumi.Input[str] create_time: The creation time of the app. + :param pulumi.Input[str] creator: The email of the user that created the app. + :param pulumi.Input[str] update_time: The update time of the app. """ - if action_configurations is not None: - pulumi.set(__self__, "action_configurations", action_configurations) - if alert_configuration_id is not None: - pulumi.set(__self__, "alert_configuration_id", alert_configuration_id) - if quantity_threshold is not None: - pulumi.set(__self__, "quantity_threshold", quantity_threshold) - if quantity_type is not None: - pulumi.set(__self__, "quantity_type", quantity_type) - if time_period is not None: - pulumi.set(__self__, "time_period", time_period) - if trigger_type is not None: - pulumi.set(__self__, "trigger_type", trigger_type) + if create_time is not None: + pulumi.set(__self__, "create_time", create_time) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if deployment_artifacts is not None: + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + if status is not None: + pulumi.set(__self__, "status", status) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) @property - @pulumi.getter(name="actionConfigurations") - def action_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]]]: + @pulumi.getter(name="createTime") + def create_time(self) -> Optional[pulumi.Input[str]]: """ - List of action configurations to take when the budget alert is triggered. Consists of the following fields: + The creation time of the app. """ - return pulumi.get(self, "action_configurations") + return pulumi.get(self, "create_time") - @action_configurations.setter - def action_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]]]): - pulumi.set(self, "action_configurations", value) + @create_time.setter + def create_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "create_time", value) @property - @pulumi.getter(name="alertConfigurationId") - def alert_configuration_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "alert_configuration_id") + @pulumi.getter + def creator(self) -> Optional[pulumi.Input[str]]: + """ + The email of the user that created the app. + """ + return pulumi.get(self, "creator") - @alert_configuration_id.setter - def alert_configuration_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "alert_configuration_id", value) + @creator.setter + def creator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creator", value) @property - @pulumi.getter(name="quantityThreshold") - def quantity_threshold(self) -> Optional[pulumi.Input[str]]: - """ - The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantity_type`. - """ - return pulumi.get(self, "quantity_threshold") + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> Optional[pulumi.Input['AppPendingDeploymentDeploymentArtifactsArgs']]: + return pulumi.get(self, "deployment_artifacts") - @quantity_threshold.setter - def quantity_threshold(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "quantity_threshold", value) + @deployment_artifacts.setter + def deployment_artifacts(self, value: Optional[pulumi.Input['AppPendingDeploymentDeploymentArtifactsArgs']]): + pulumi.set(self, "deployment_artifacts", value) @property - @pulumi.getter(name="quantityType") - def quantity_type(self) -> Optional[pulumi.Input[str]]: - """ - The way to calculate cost for this budget alert. This is what quantity_threshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) - """ - return pulumi.get(self, "quantity_type") + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deployment_id") - @quantity_type.setter - def quantity_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "quantity_type", value) + @deployment_id.setter + def deployment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deployment_id", value) @property - @pulumi.getter(name="timePeriod") - def time_period(self) -> Optional[pulumi.Input[str]]: - """ - The time window of usage data for the budget. (Enum: `MONTH`) - """ - return pulumi.get(self, "time_period") + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") - @time_period.setter - def time_period(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_period", value) + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) @property - @pulumi.getter(name="triggerType") - def trigger_type(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_code_path") + + @source_code_path.setter + def source_code_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_code_path", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input['AppPendingDeploymentStatusArgs']]: + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input['AppPendingDeploymentStatusArgs']]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[pulumi.Input[str]]: """ - The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) + The update time of the app. """ - return pulumi.get(self, "trigger_type") + return pulumi.get(self, "update_time") - @trigger_type.setter - def trigger_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "trigger_type", value) + @update_time.setter + def update_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_time", value) if not MYPY: - class BudgetAlertConfigurationActionConfigurationArgsDict(TypedDict): - action_configuration_id: NotRequired[pulumi.Input[str]] - action_type: NotRequired[pulumi.Input[str]] + class AppPendingDeploymentDeploymentArtifactsArgsDict(TypedDict): + source_code_path: NotRequired[pulumi.Input[str]] +elif False: + AppPendingDeploymentDeploymentArtifactsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AppPendingDeploymentDeploymentArtifactsArgs: + def __init__(__self__, *, + source_code_path: Optional[pulumi.Input[str]] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_code_path") + + @source_code_path.setter + def source_code_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_code_path", value) + + +if not MYPY: + class AppPendingDeploymentStatusArgsDict(TypedDict): + message: NotRequired[pulumi.Input[str]] """ - The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) + Application status message """ - target: NotRequired[pulumi.Input[str]] + state: NotRequired[pulumi.Input[str]] """ - The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. + State of the application. """ elif False: - BudgetAlertConfigurationActionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + AppPendingDeploymentStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class BudgetAlertConfigurationActionConfigurationArgs: +class AppPendingDeploymentStatusArgs: def __init__(__self__, *, - action_configuration_id: Optional[pulumi.Input[str]] = None, - action_type: Optional[pulumi.Input[str]] = None, - target: Optional[pulumi.Input[str]] = None): + message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] action_type: The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) - :param pulumi.Input[str] target: The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. + :param pulumi.Input[str] message: Application status message + :param pulumi.Input[str] state: State of the application. """ - if action_configuration_id is not None: - pulumi.set(__self__, "action_configuration_id", action_configuration_id) - if action_type is not None: - pulumi.set(__self__, "action_type", action_type) - if target is not None: - pulumi.set(__self__, "target", target) - - @property - @pulumi.getter(name="actionConfigurationId") - def action_configuration_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "action_configuration_id") - - @action_configuration_id.setter - def action_configuration_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "action_configuration_id", value) + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="actionType") - def action_type(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: """ - The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) + Application status message """ - return pulumi.get(self, "action_type") + return pulumi.get(self, "message") - @action_type.setter - def action_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "action_type", value) + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) @property @pulumi.getter - def target(self) -> Optional[pulumi.Input[str]]: + def state(self) -> Optional[pulumi.Input[str]]: """ - The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. + State of the application. """ - return pulumi.get(self, "target") + return pulumi.get(self, "state") - @target.setter - def target(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "target", value) + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) if not MYPY: - class BudgetFilterArgsDict(TypedDict): - tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgsDict']]]] + class AppResourceArgsDict(TypedDict): + name: pulumi.Input[str] """ - List of tags to filter by. Consists of the following fields: + The name of the resource. """ - workspace_id: NotRequired[pulumi.Input['BudgetFilterWorkspaceIdArgsDict']] + description: NotRequired[pulumi.Input[str]] """ - Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: + The description of the resource. + + Exactly one of the following attributes must be provided: + """ + job: NotRequired[pulumi.Input['AppResourceJobArgsDict']] + """ + attribute + """ + secret: NotRequired[pulumi.Input['AppResourceSecretArgsDict']] + """ + attribute + """ + serving_endpoint: NotRequired[pulumi.Input['AppResourceServingEndpointArgsDict']] + """ + attribute + """ + sql_warehouse: NotRequired[pulumi.Input['AppResourceSqlWarehouseArgsDict']] + """ + attribute """ elif False: - BudgetFilterArgsDict: TypeAlias = Mapping[str, Any] + AppResourceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class BudgetFilterArgs: +class AppResourceArgs: def __init__(__self__, *, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]]] = None, - workspace_id: Optional[pulumi.Input['BudgetFilterWorkspaceIdArgs']] = None): + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + job: Optional[pulumi.Input['AppResourceJobArgs']] = None, + secret: Optional[pulumi.Input['AppResourceSecretArgs']] = None, + serving_endpoint: Optional[pulumi.Input['AppResourceServingEndpointArgs']] = None, + sql_warehouse: Optional[pulumi.Input['AppResourceSqlWarehouseArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]] tags: List of tags to filter by. Consists of the following fields: - :param pulumi.Input['BudgetFilterWorkspaceIdArgs'] workspace_id: Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: + :param pulumi.Input[str] name: The name of the resource. + :param pulumi.Input[str] description: The description of the resource. + + Exactly one of the following attributes must be provided: + :param pulumi.Input['AppResourceJobArgs'] job: attribute + :param pulumi.Input['AppResourceSecretArgs'] secret: attribute + :param pulumi.Input['AppResourceServingEndpointArgs'] serving_endpoint: attribute + :param pulumi.Input['AppResourceSqlWarehouseArgs'] sql_warehouse: attribute """ - if tags is not None: - pulumi.set(__self__, "tags", tags) - if workspace_id is not None: - pulumi.set(__self__, "workspace_id", workspace_id) - - @property + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if job is not None: + pulumi.set(__self__, "job", job) + if secret is not None: + pulumi.set(__self__, "secret", secret) + if serving_endpoint is not None: + pulumi.set(__self__, "serving_endpoint", serving_endpoint) + if sql_warehouse is not None: + pulumi.set(__self__, "sql_warehouse", sql_warehouse) + + @property @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]]]: + def name(self) -> pulumi.Input[str]: """ - List of tags to filter by. Consists of the following fields: + The name of the resource. """ - return pulumi.get(self, "tags") + return pulumi.get(self, "name") - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]]]): - pulumi.set(self, "tags", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="workspaceId") - def workspace_id(self) -> Optional[pulumi.Input['BudgetFilterWorkspaceIdArgs']]: - """ - Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: """ - return pulumi.get(self, "workspace_id") + The description of the resource. - @workspace_id.setter - def workspace_id(self, value: Optional[pulumi.Input['BudgetFilterWorkspaceIdArgs']]): - pulumi.set(self, "workspace_id", value) + Exactly one of the following attributes must be provided: + """ + return pulumi.get(self, "description") + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) -if not MYPY: - class BudgetFilterTagArgsDict(TypedDict): - key: NotRequired[pulumi.Input[str]] - """ - The key of the tag. - """ - value: NotRequired[pulumi.Input['BudgetFilterTagValueArgsDict']] + @property + @pulumi.getter + def job(self) -> Optional[pulumi.Input['AppResourceJobArgs']]: """ - Consists of the following fields: + attribute """ -elif False: - BudgetFilterTagArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "job") -@pulumi.input_type -class BudgetFilterTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input['BudgetFilterTagValueArgs']] = None): + @job.setter + def job(self, value: Optional[pulumi.Input['AppResourceJobArgs']]): + pulumi.set(self, "job", value) + + @property + @pulumi.getter + def secret(self) -> Optional[pulumi.Input['AppResourceSecretArgs']]: """ - :param pulumi.Input[str] key: The key of the tag. - :param pulumi.Input['BudgetFilterTagValueArgs'] value: Consists of the following fields: + attribute """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + return pulumi.get(self, "secret") + + @secret.setter + def secret(self, value: Optional[pulumi.Input['AppResourceSecretArgs']]): + pulumi.set(self, "secret", value) @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="servingEndpoint") + def serving_endpoint(self) -> Optional[pulumi.Input['AppResourceServingEndpointArgs']]: """ - The key of the tag. + attribute """ - return pulumi.get(self, "key") + return pulumi.get(self, "serving_endpoint") - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) + @serving_endpoint.setter + def serving_endpoint(self, value: Optional[pulumi.Input['AppResourceServingEndpointArgs']]): + pulumi.set(self, "serving_endpoint", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input['BudgetFilterTagValueArgs']]: + @pulumi.getter(name="sqlWarehouse") + def sql_warehouse(self) -> Optional[pulumi.Input['AppResourceSqlWarehouseArgs']]: """ - Consists of the following fields: + attribute """ - return pulumi.get(self, "value") + return pulumi.get(self, "sql_warehouse") - @value.setter - def value(self, value: Optional[pulumi.Input['BudgetFilterTagValueArgs']]): - pulumi.set(self, "value", value) + @sql_warehouse.setter + def sql_warehouse(self, value: Optional[pulumi.Input['AppResourceSqlWarehouseArgs']]): + pulumi.set(self, "sql_warehouse", value) if not MYPY: - class BudgetFilterTagValueArgsDict(TypedDict): - operator: NotRequired[pulumi.Input[str]] + class AppResourceJobArgsDict(TypedDict): + id: pulumi.Input[str] """ - The operator to use for the filter. (Enum: `IN`) + Id of the job to grant permission on. """ - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + permission: pulumi.Input[str] """ - The values to filter by. + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. """ elif False: - BudgetFilterTagValueArgsDict: TypeAlias = Mapping[str, Any] + AppResourceJobArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class BudgetFilterTagValueArgs: +class AppResourceJobArgs: def __init__(__self__, *, - operator: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + id: pulumi.Input[str], + permission: pulumi.Input[str]): """ - :param pulumi.Input[str] operator: The operator to use for the filter. (Enum: `IN`) - :param pulumi.Input[Sequence[pulumi.Input[str]]] values: The values to filter by. + :param pulumi.Input[str] id: Id of the job to grant permission on. + :param pulumi.Input[str] permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. """ - if operator is not None: - pulumi.set(__self__, "operator", operator) - if values is not None: - pulumi.set(__self__, "values", values) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) @property @pulumi.getter - def operator(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ - The operator to use for the filter. (Enum: `IN`) + Id of the job to grant permission on. """ - return pulumi.get(self, "operator") + return pulumi.get(self, "id") - @operator.setter - def operator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "operator", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def permission(self) -> pulumi.Input[str]: """ - The values to filter by. + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. """ - return pulumi.get(self, "values") + return pulumi.get(self, "permission") - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "values", value) + @permission.setter + def permission(self, value: pulumi.Input[str]): + pulumi.set(self, "permission", value) if not MYPY: - class BudgetFilterWorkspaceIdArgsDict(TypedDict): - operator: NotRequired[pulumi.Input[str]] + class AppResourceSecretArgsDict(TypedDict): + key: pulumi.Input[str] """ - The operator to use for the filter. (Enum: `IN`) + Key of the secret to grant permission on. """ - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + permission: pulumi.Input[str] """ - The values to filter by. + Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + """ + scope: pulumi.Input[str] + """ + Scope of the secret to grant permission on. """ elif False: - BudgetFilterWorkspaceIdArgsDict: TypeAlias = Mapping[str, Any] + AppResourceSecretArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class BudgetFilterWorkspaceIdArgs: +class AppResourceSecretArgs: def __init__(__self__, *, - operator: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None): + key: pulumi.Input[str], + permission: pulumi.Input[str], + scope: pulumi.Input[str]): """ - :param pulumi.Input[str] operator: The operator to use for the filter. (Enum: `IN`) - :param pulumi.Input[Sequence[pulumi.Input[int]]] values: The values to filter by. + :param pulumi.Input[str] key: Key of the secret to grant permission on. + :param pulumi.Input[str] permission: Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + :param pulumi.Input[str] scope: Scope of the secret to grant permission on. """ - if operator is not None: - pulumi.set(__self__, "operator", operator) - if values is not None: - pulumi.set(__self__, "values", values) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "permission", permission) + pulumi.set(__self__, "scope", scope) @property @pulumi.getter - def operator(self) -> Optional[pulumi.Input[str]]: + def key(self) -> pulumi.Input[str]: """ - The operator to use for the filter. (Enum: `IN`) + Key of the secret to grant permission on. """ - return pulumi.get(self, "operator") + return pulumi.get(self, "key") - @operator.setter - def operator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "operator", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]: + def permission(self) -> pulumi.Input[str]: """ - The values to filter by. + Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. """ - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]): - pulumi.set(self, "values", value) + return pulumi.get(self, "permission") + @permission.setter + def permission(self, value: pulumi.Input[str]): + pulumi.set(self, "permission", value) -if not MYPY: - class ClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[pulumi.Input[int]] + @property + @pulumi.getter + def scope(self) -> pulumi.Input[str]: """ - The maximum number of workers to which the cluster can scale up when overloaded. max_workers must be strictly greater than min_workers. - - When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `num_workers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `num_workers` is `0`, provider checks for presence of the required Spark configurations: - - * `spark.master` must have prefix `local`, like `local[*]` - * `spark.databricks.cluster.profile` must have value `singleNode` - - and also `custom_tag` entry: - - * `"ResourceClass" = "SingleNode"` + Scope of the secret to grant permission on. + """ + return pulumi.get(self, "scope") - The following example demonstrates how to create an single node cluster: + @scope.setter + def scope(self, value: pulumi.Input[str]): + pulumi.set(self, "scope", value) - ```python - import pulumi - import pulumi_databricks as databricks - smallest = databricks.get_node_type(local_disk=True) - latest_lts = databricks.get_spark_version(long_term_support=True) - single_node = databricks.Cluster("single_node", - cluster_name="Single Node", - spark_version=latest_lts.id, - node_type_id=smallest.id, - autotermination_minutes=20, - spark_conf={ - "spark.databricks.cluster.profile": "singleNode", - "spark.master": "local[*]", - }, - custom_tags={ - "ResourceClass": "SingleNode", - }) - ``` +if not MYPY: + class AppResourceServingEndpointArgsDict(TypedDict): + name: pulumi.Input[str] """ - min_workers: NotRequired[pulumi.Input[int]] + Name of the serving endpoint to grant permission on. """ - The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + permission: pulumi.Input[str] + """ + Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. """ elif False: - ClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + AppResourceServingEndpointArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterAutoscaleArgs: +class AppResourceServingEndpointArgs: def __init__(__self__, *, - max_workers: Optional[pulumi.Input[int]] = None, - min_workers: Optional[pulumi.Input[int]] = None): + name: pulumi.Input[str], + permission: pulumi.Input[str]): """ - :param pulumi.Input[int] max_workers: The maximum number of workers to which the cluster can scale up when overloaded. max_workers must be strictly greater than min_workers. - - When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `num_workers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `num_workers` is `0`, provider checks for presence of the required Spark configurations: - - * `spark.master` must have prefix `local`, like `local[*]` - * `spark.databricks.cluster.profile` must have value `singleNode` - - and also `custom_tag` entry: - - * `"ResourceClass" = "SingleNode"` - - The following example demonstrates how to create an single node cluster: - - ```python - import pulumi - import pulumi_databricks as databricks - - smallest = databricks.get_node_type(local_disk=True) - latest_lts = databricks.get_spark_version(long_term_support=True) - single_node = databricks.Cluster("single_node", - cluster_name="Single Node", - spark_version=latest_lts.id, - node_type_id=smallest.id, - autotermination_minutes=20, - spark_conf={ - "spark.databricks.cluster.profile": "singleNode", - "spark.master": "local[*]", - }, - custom_tags={ - "ResourceClass": "SingleNode", - }) - ``` - :param pulumi.Input[int] min_workers: The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + :param pulumi.Input[str] name: Name of the serving endpoint to grant permission on. + :param pulumi.Input[str] permission: Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. """ - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "permission", permission) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def name(self) -> pulumi.Input[str]: """ - The maximum number of workers to which the cluster can scale up when overloaded. max_workers must be strictly greater than min_workers. - - When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `num_workers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `num_workers` is `0`, provider checks for presence of the required Spark configurations: - - * `spark.master` must have prefix `local`, like `local[*]` - * `spark.databricks.cluster.profile` must have value `singleNode` - - and also `custom_tag` entry: - - * `"ResourceClass" = "SingleNode"` - - The following example demonstrates how to create an single node cluster: - - ```python - import pulumi - import pulumi_databricks as databricks - - smallest = databricks.get_node_type(local_disk=True) - latest_lts = databricks.get_spark_version(long_term_support=True) - single_node = databricks.Cluster("single_node", - cluster_name="Single Node", - spark_version=latest_lts.id, - node_type_id=smallest.id, - autotermination_minutes=20, - spark_conf={ - "spark.databricks.cluster.profile": "singleNode", - "spark.master": "local[*]", - }, - custom_tags={ - "ResourceClass": "SingleNode", - }) - ``` + Name of the serving endpoint to grant permission on. """ - return pulumi.get(self, "max_workers") + return pulumi.get(self, "name") - @max_workers.setter - def max_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_workers", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def permission(self) -> pulumi.Input[str]: """ - The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. """ - return pulumi.get(self, "min_workers") + return pulumi.get(self, "permission") - @min_workers.setter - def min_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_workers", value) + @permission.setter + def permission(self, value: pulumi.Input[str]): + pulumi.set(self, "permission", value) if not MYPY: - class ClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - """ - Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future - """ - ebs_volume_count: NotRequired[pulumi.Input[int]] + class AppResourceSqlWarehouseArgsDict(TypedDict): + id: pulumi.Input[str] """ - The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + Id of the SQL warehouse to grant permission on. """ - ebs_volume_iops: NotRequired[pulumi.Input[int]] - ebs_volume_size: NotRequired[pulumi.Input[int]] + permission: pulumi.Input[str] """ - The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). + Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. """ - ebs_volume_throughput: NotRequired[pulumi.Input[int]] - ebs_volume_type: NotRequired[pulumi.Input[str]] +elif False: + AppResourceSqlWarehouseArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AppResourceSqlWarehouseArgs: + def __init__(__self__, *, + id: pulumi.Input[str], + permission: pulumi.Input[str]): """ - The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. + :param pulumi.Input[str] id: Id of the SQL warehouse to grant permission on. + :param pulumi.Input[str] permission: Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. """ - first_on_demand: NotRequired[pulumi.Input[int]] + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future + Id of the SQL warehouse to grant permission on. """ - instance_profile_arn: NotRequired[pulumi.Input[str]] + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def permission(self) -> pulumi.Input[str]: """ - Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. + Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. """ - spot_bid_price_percent: NotRequired[pulumi.Input[int]] + return pulumi.get(self, "permission") + + @permission.setter + def permission(self, value: pulumi.Input[str]): + pulumi.set(self, "permission", value) + + +if not MYPY: + class ArtifactAllowlistArtifactMatcherArgsDict(TypedDict): + artifact: pulumi.Input[str] """ - The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. + The artifact path or maven coordinate. """ - zone_id: NotRequired[pulumi.Input[str]] + match_type: pulumi.Input[str] """ - Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. """ elif False: - ClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + ArtifactAllowlistArtifactMatcherArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterAwsAttributesArgs: +class ArtifactAllowlistArtifactMatcherArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - ebs_volume_count: Optional[pulumi.Input[int]] = None, - ebs_volume_iops: Optional[pulumi.Input[int]] = None, - ebs_volume_size: Optional[pulumi.Input[int]] = None, - ebs_volume_throughput: Optional[pulumi.Input[int]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): + artifact: pulumi.Input[str], + match_type: pulumi.Input[str]): """ - :param pulumi.Input[str] availability: Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future - :param pulumi.Input[int] ebs_volume_count: The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. - :param pulumi.Input[int] ebs_volume_size: The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). - :param pulumi.Input[str] ebs_volume_type: The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. - :param pulumi.Input[int] first_on_demand: The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future - :param pulumi.Input[str] instance_profile_arn: Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. - :param pulumi.Input[int] spot_bid_price_percent: The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. - :param pulumi.Input[str] zone_id: Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + :param pulumi.Input[str] artifact: The artifact path or maven coordinate. + :param pulumi.Input[str] match_type: The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. """ - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + pulumi.set(__self__, "artifact", artifact) + pulumi.set(__self__, "match_type", match_type) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: + def artifact(self) -> pulumi.Input[str]: """ - Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future + The artifact path or maven coordinate. """ - return pulumi.get(self, "availability") + return pulumi.get(self, "artifact") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @artifact.setter + def artifact(self, value: pulumi.Input[str]): + pulumi.set(self, "artifact", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="matchType") + def match_type(self) -> pulumi.Input[str]: """ - The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + The pattern matching type of the artifact. Only `PREFIX_MATCH` is supported. """ - return pulumi.get(self, "ebs_volume_count") + return pulumi.get(self, "match_type") - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_count", value) + @match_type.setter + def match_type(self, value: pulumi.Input[str]): + pulumi.set(self, "match_type", value) - @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_iops") - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_iops", value) +if not MYPY: + class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgsDict(TypedDict): + enabled: pulumi.Input[bool] + can_toggle: NotRequired[pulumi.Input[bool]] + enablement_details: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgsDict']] + maintenance_window: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgsDict']] + restart_even_if_no_updates_available: NotRequired[pulumi.Input[bool]] +elif False: + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + can_toggle: Optional[pulumi.Input[bool]] = None, + enablement_details: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']] = None, + maintenance_window: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']] = None, + restart_even_if_no_updates_available: Optional[pulumi.Input[bool]] = None): + pulumi.set(__self__, "enabled", enabled) + if can_toggle is not None: + pulumi.set(__self__, "can_toggle", can_toggle) + if enablement_details is not None: + pulumi.set(__self__, "enablement_details", enablement_details) + if maintenance_window is not None: + pulumi.set(__self__, "maintenance_window", maintenance_window) + if restart_even_if_no_updates_available is not None: + pulumi.set(__self__, "restart_even_if_no_updates_available", restart_even_if_no_updates_available) @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: - """ - The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). - """ - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + return pulumi.get(self, "enabled") - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_size", value) + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_throughput") + @pulumi.getter(name="canToggle") + def can_toggle(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "can_toggle") - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_throughput", value) + @can_toggle.setter + def can_toggle(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "can_toggle", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. - """ - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="enablementDetails") + def enablement_details(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']]: + return pulumi.get(self, "enablement_details") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) + @enablement_details.setter + def enablement_details(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs']]): + pulumi.set(self, "enablement_details", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - """ - The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future - """ - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="maintenanceWindow") + def maintenance_window(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']]: + return pulumi.get(self, "maintenance_window") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @maintenance_window.setter + def maintenance_window(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs']]): + pulumi.set(self, "maintenance_window", value) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - """ - Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. - """ - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter(name="restartEvenIfNoUpdatesAvailable") + def restart_even_if_no_updates_available(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "restart_even_if_no_updates_available") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) - - @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: - """ - The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. - """ - return pulumi.get(self, "spot_bid_price_percent") - - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) - - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. - """ - return pulumi.get(self, "zone_id") - - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @restart_even_if_no_updates_available.setter + def restart_even_if_no_updates_available(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "restart_even_if_no_updates_available", value) if not MYPY: - class ClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - """ - Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. - """ - first_on_demand: NotRequired[pulumi.Input[int]] - """ - The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. - """ - log_analytics_info: NotRequired[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgsDict']] - spot_bid_max_price: NotRequired[pulumi.Input[float]] - """ - The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - """ + class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgsDict(TypedDict): + forced_for_compliance_mode: NotRequired[pulumi.Input[bool]] + unavailable_for_disabled_entitlement: NotRequired[pulumi.Input[bool]] + unavailable_for_non_enterprise_tier: NotRequired[pulumi.Input[bool]] elif False: - ClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterAzureAttributesArgs: +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetailsArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - log_analytics_info: Optional[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgs']] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): - """ - :param pulumi.Input[str] availability: Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. - :param pulumi.Input[int] first_on_demand: The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. - :param pulumi.Input[float] spot_bid_max_price: The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - """ - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) - - @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - """ - Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. - """ - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + forced_for_compliance_mode: Optional[pulumi.Input[bool]] = None, + unavailable_for_disabled_entitlement: Optional[pulumi.Input[bool]] = None, + unavailable_for_non_enterprise_tier: Optional[pulumi.Input[bool]] = None): + if forced_for_compliance_mode is not None: + pulumi.set(__self__, "forced_for_compliance_mode", forced_for_compliance_mode) + if unavailable_for_disabled_entitlement is not None: + pulumi.set(__self__, "unavailable_for_disabled_entitlement", unavailable_for_disabled_entitlement) + if unavailable_for_non_enterprise_tier is not None: + pulumi.set(__self__, "unavailable_for_non_enterprise_tier", unavailable_for_non_enterprise_tier) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - """ - The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. - """ - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="forcedForComplianceMode") + def forced_for_compliance_mode(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "forced_for_compliance_mode") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @forced_for_compliance_mode.setter + def forced_for_compliance_mode(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "forced_for_compliance_mode", value) @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgs']]: - return pulumi.get(self, "log_analytics_info") + @pulumi.getter(name="unavailableForDisabledEntitlement") + def unavailable_for_disabled_entitlement(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unavailable_for_disabled_entitlement") - @log_analytics_info.setter - def log_analytics_info(self, value: Optional[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgs']]): - pulumi.set(self, "log_analytics_info", value) + @unavailable_for_disabled_entitlement.setter + def unavailable_for_disabled_entitlement(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unavailable_for_disabled_entitlement", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: - """ - The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. - """ - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter(name="unavailableForNonEnterpriseTier") + def unavailable_for_non_enterprise_tier(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "unavailable_for_non_enterprise_tier") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) + @unavailable_for_non_enterprise_tier.setter + def unavailable_for_non_enterprise_tier(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "unavailable_for_non_enterprise_tier", value) if not MYPY: - class ClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[pulumi.Input[str]] - log_analytics_workspace_id: NotRequired[pulumi.Input[str]] + class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgsDict(TypedDict): + week_day_based_schedule: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgsDict']] elif False: - ClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterAzureAttributesLogAnalyticsInfoArgs: +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowArgs: def __init__(__self__, *, - log_analytics_primary_key: Optional[pulumi.Input[str]] = None, - log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) - - @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_primary_key") - - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_primary_key", value) + week_day_based_schedule: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']] = None): + if week_day_based_schedule is not None: + pulumi.set(__self__, "week_day_based_schedule", week_day_based_schedule) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter(name="weekDayBasedSchedule") + def week_day_based_schedule(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']]: + return pulumi.get(self, "week_day_based_schedule") - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_workspace_id", value) + @week_day_based_schedule.setter + def week_day_based_schedule(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs']]): + pulumi.set(self, "week_day_based_schedule", value) if not MYPY: - class ClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired[pulumi.Input['ClusterClusterLogConfDbfsArgsDict']] - s3: NotRequired[pulumi.Input['ClusterClusterLogConfS3ArgsDict']] + class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgsDict(TypedDict): + day_of_week: pulumi.Input[str] + frequency: pulumi.Input[str] + window_start_time: NotRequired[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgsDict']] elif False: - ClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterClusterLogConfArgs: +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleArgs: def __init__(__self__, *, - dbfs: Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']] = None, - s3: Optional[pulumi.Input['ClusterClusterLogConfS3Args']] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + day_of_week: pulumi.Input[str], + frequency: pulumi.Input[str], + window_start_time: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']] = None): + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "frequency", frequency) + if window_start_time is not None: + pulumi.set(__self__, "window_start_time", window_start_time) @property - @pulumi.getter - def dbfs(self) -> Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']]: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> pulumi.Input[str]: + return pulumi.get(self, "day_of_week") - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']]): - pulumi.set(self, "dbfs", value) + @day_of_week.setter + def day_of_week(self, value: pulumi.Input[str]): + pulumi.set(self, "day_of_week", value) @property @pulumi.getter - def s3(self) -> Optional[pulumi.Input['ClusterClusterLogConfS3Args']]: - return pulumi.get(self, "s3") + def frequency(self) -> pulumi.Input[str]: + return pulumi.get(self, "frequency") - @s3.setter - def s3(self, value: Optional[pulumi.Input['ClusterClusterLogConfS3Args']]): - pulumi.set(self, "s3", value) + @frequency.setter + def frequency(self, value: pulumi.Input[str]): + pulumi.set(self, "frequency", value) + + @property + @pulumi.getter(name="windowStartTime") + def window_start_time(self) -> Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']]: + return pulumi.get(self, "window_start_time") + + @window_start_time.setter + def window_start_time(self, value: Optional[pulumi.Input['AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs']]): + pulumi.set(self, "window_start_time", value) if not MYPY: - class ClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] - """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ + class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgsDict(TypedDict): + hours: pulumi.Input[int] + minutes: pulumi.Input[int] elif False: - ClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterClusterLogConfDbfsArgs: +class AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ - pulumi.set(__self__, "destination", destination) + hours: pulumi.Input[int], + minutes: pulumi.Input[int]): + pulumi.set(__self__, "hours", hours) + pulumi.set(__self__, "minutes", minutes) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ - return pulumi.get(self, "destination") + def hours(self) -> pulumi.Input[int]: + return pulumi.get(self, "hours") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @hours.setter + def hours(self, value: pulumi.Input[int]): + pulumi.set(self, "hours", value) + + @property + @pulumi.getter + def minutes(self) -> pulumi.Input[int]: + return pulumi.get(self, "minutes") + + @minutes.setter + def minutes(self, value: pulumi.Input[int]): + pulumi.set(self, "minutes", value) if not MYPY: - class ClusterClusterLogConfS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ - canned_acl: NotRequired[pulumi.Input[str]] - """ - Set canned access control list, e.g. `bucket-owner-full-control`. If `canned_cal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. - """ - enable_encryption: NotRequired[pulumi.Input[bool]] + class BudgetAlertConfigurationArgsDict(TypedDict): + action_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgsDict']]]] """ - Enable server-side encryption, false by default. + List of action configurations to take when the budget alert is triggered. Consists of the following fields: """ - encryption_type: NotRequired[pulumi.Input[str]] + alert_configuration_id: NotRequired[pulumi.Input[str]] + quantity_threshold: NotRequired[pulumi.Input[str]] """ - The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantity_type`. """ - endpoint: NotRequired[pulumi.Input[str]] + quantity_type: NotRequired[pulumi.Input[str]] """ - S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + The way to calculate cost for this budget alert. This is what quantity_threshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) """ - kms_key: NotRequired[pulumi.Input[str]] + time_period: NotRequired[pulumi.Input[str]] """ - KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + The time window of usage data for the budget. (Enum: `MONTH`) """ - region: NotRequired[pulumi.Input[str]] + trigger_type: NotRequired[pulumi.Input[str]] """ - S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) """ elif False: - ClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + BudgetAlertConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterClusterLogConfS3Args: +class BudgetAlertConfigurationArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - :param pulumi.Input[str] canned_acl: Set canned access control list, e.g. `bucket-owner-full-control`. If `canned_cal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. - :param pulumi.Input[bool] enable_encryption: Enable server-side encryption, false by default. - :param pulumi.Input[str] encryption_type: The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. - :param pulumi.Input[str] endpoint: S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. - :param pulumi.Input[str] kms_key: KMS key used if encryption is enabled and encryption type is set to `sse-kms`. - :param pulumi.Input[str] region: S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. - """ - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: + action_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]]] = None, + alert_configuration_id: Optional[pulumi.Input[str]] = None, + quantity_threshold: Optional[pulumi.Input[str]] = None, + quantity_type: Optional[pulumi.Input[str]] = None, + time_period: Optional[pulumi.Input[str]] = None, + trigger_type: Optional[pulumi.Input[str]] = None): """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + :param pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]] action_configurations: List of action configurations to take when the budget alert is triggered. Consists of the following fields: + :param pulumi.Input[str] quantity_threshold: The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantity_type`. + :param pulumi.Input[str] quantity_type: The way to calculate cost for this budget alert. This is what quantity_threshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) + :param pulumi.Input[str] time_period: The time window of usage data for the budget. (Enum: `MONTH`) + :param pulumi.Input[str] trigger_type: The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) """ - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + if action_configurations is not None: + pulumi.set(__self__, "action_configurations", action_configurations) + if alert_configuration_id is not None: + pulumi.set(__self__, "alert_configuration_id", alert_configuration_id) + if quantity_threshold is not None: + pulumi.set(__self__, "quantity_threshold", quantity_threshold) + if quantity_type is not None: + pulumi.set(__self__, "quantity_type", quantity_type) + if time_period is not None: + pulumi.set(__self__, "time_period", time_period) + if trigger_type is not None: + pulumi.set(__self__, "trigger_type", trigger_type) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="actionConfigurations") + def action_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]]]: """ - Set canned access control list, e.g. `bucket-owner-full-control`. If `canned_cal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + List of action configurations to take when the budget alert is triggered. Consists of the following fields: """ - return pulumi.get(self, "canned_acl") + return pulumi.get(self, "action_configurations") - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @action_configurations.setter + def action_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetAlertConfigurationActionConfigurationArgs']]]]): + pulumi.set(self, "action_configurations", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - """ - Enable server-side encryption, false by default. - """ - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="alertConfigurationId") + def alert_configuration_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "alert_configuration_id") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @alert_configuration_id.setter + def alert_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "alert_configuration_id", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="quantityThreshold") + def quantity_threshold(self) -> Optional[pulumi.Input[str]]: """ - The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + The threshold for the budget alert to determine if it is in a triggered state. The number is evaluated based on `quantity_type`. """ - return pulumi.get(self, "encryption_type") + return pulumi.get(self, "quantity_threshold") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @quantity_threshold.setter + def quantity_threshold(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "quantity_threshold", value) @property - @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="quantityType") + def quantity_type(self) -> Optional[pulumi.Input[str]]: """ - S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + The way to calculate cost for this budget alert. This is what quantity_threshold is measured in. (Enum: `LIST_PRICE_DOLLARS_USD`) """ - return pulumi.get(self, "endpoint") + return pulumi.get(self, "quantity_type") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @quantity_type.setter + def quantity_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "quantity_type", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="timePeriod") + def time_period(self) -> Optional[pulumi.Input[str]]: """ - KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + The time window of usage data for the budget. (Enum: `MONTH`) """ - return pulumi.get(self, "kms_key") + return pulumi.get(self, "time_period") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @time_period.setter + def time_period(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_period", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="triggerType") + def trigger_type(self) -> Optional[pulumi.Input[str]]: """ - S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + The evaluation method to determine when this budget alert is in a triggered state. (Enum: `CUMULATIVE_SPENDING_EXCEEDED`) """ - return pulumi.get(self, "region") + return pulumi.get(self, "trigger_type") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @trigger_type.setter + def trigger_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trigger_type", value) if not MYPY: - class ClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: pulumi.Input[str] - """ - path inside the Spark container. - - For example, you can mount Azure Data Lake Storage container using the following code: - - ```python - import pulumi - import pulumi_databricks as databricks - - storage_account = "ewfw3ggwegwg" - storage_container = "test" - with_nfs = databricks.Cluster("with_nfs", cluster_mount_infos=[{ - "network_filesystem_info": { - "server_address": f"{storage_account}.blob.core.windows.net", - "mount_options": "sec=sys,vers=3,nolock,proto=tcp", - }, - "remote_mount_dir_path": f"{storage_account}/{storage_container}", - "local_mount_dir_path": "/mnt/nfs-test", - }]) - ``` - """ - network_filesystem_info: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] + class BudgetAlertConfigurationActionConfigurationArgsDict(TypedDict): + action_configuration_id: NotRequired[pulumi.Input[str]] + action_type: NotRequired[pulumi.Input[str]] """ - block specifying connection. It consists of: + The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) """ - remote_mount_dir_path: NotRequired[pulumi.Input[str]] + target: NotRequired[pulumi.Input[str]] """ - string specifying path to mount on the remote service. + The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. """ elif False: - ClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + BudgetAlertConfigurationActionConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterClusterMountInfoArgs: +class BudgetAlertConfigurationActionConfigurationArgs: def __init__(__self__, *, - local_mount_dir_path: pulumi.Input[str], - network_filesystem_info: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs'], - remote_mount_dir_path: Optional[pulumi.Input[str]] = None): + action_configuration_id: Optional[pulumi.Input[str]] = None, + action_type: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] local_mount_dir_path: path inside the Spark container. - - For example, you can mount Azure Data Lake Storage container using the following code: - - ```python - import pulumi - import pulumi_databricks as databricks - - storage_account = "ewfw3ggwegwg" - storage_container = "test" - with_nfs = databricks.Cluster("with_nfs", cluster_mount_infos=[{ - "network_filesystem_info": { - "server_address": f"{storage_account}.blob.core.windows.net", - "mount_options": "sec=sys,vers=3,nolock,proto=tcp", - }, - "remote_mount_dir_path": f"{storage_account}/{storage_container}", - "local_mount_dir_path": "/mnt/nfs-test", - }]) - ``` - :param pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs'] network_filesystem_info: block specifying connection. It consists of: - :param pulumi.Input[str] remote_mount_dir_path: string specifying path to mount on the remote service. + :param pulumi.Input[str] action_type: The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) + :param pulumi.Input[str] target: The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. """ - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + if action_configuration_id is not None: + pulumi.set(__self__, "action_configuration_id", action_configuration_id) + if action_type is not None: + pulumi.set(__self__, "action_type", action_type) + if target is not None: + pulumi.set(__self__, "target", target) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> pulumi.Input[str]: - """ - path inside the Spark container. - - For example, you can mount Azure Data Lake Storage container using the following code: - - ```python - import pulumi - import pulumi_databricks as databricks - - storage_account = "ewfw3ggwegwg" - storage_container = "test" - with_nfs = databricks.Cluster("with_nfs", cluster_mount_infos=[{ - "network_filesystem_info": { - "server_address": f"{storage_account}.blob.core.windows.net", - "mount_options": "sec=sys,vers=3,nolock,proto=tcp", - }, - "remote_mount_dir_path": f"{storage_account}/{storage_container}", - "local_mount_dir_path": "/mnt/nfs-test", - }]) - ``` - """ - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter(name="actionConfigurationId") + def action_configuration_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "action_configuration_id") - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: pulumi.Input[str]): - pulumi.set(self, "local_mount_dir_path", value) + @action_configuration_id.setter + def action_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_configuration_id", value) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs']: + @pulumi.getter(name="actionType") + def action_type(self) -> Optional[pulumi.Input[str]]: """ - block specifying connection. It consists of: + The type of action to take when the budget alert is triggered. (Enum: `EMAIL_NOTIFICATION`) """ - return pulumi.get(self, "network_filesystem_info") + return pulumi.get(self, "action_type") - @network_filesystem_info.setter - def network_filesystem_info(self, value: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs']): - pulumi.set(self, "network_filesystem_info", value) + @action_type.setter + def action_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action_type", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def target(self) -> Optional[pulumi.Input[str]]: """ - string specifying path to mount on the remote service. + The target of the action. For `EMAIL_NOTIFICATION`, this is the email address to send the notification to. """ - return pulumi.get(self, "remote_mount_dir_path") + return pulumi.get(self, "target") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "remote_mount_dir_path", value) + @target.setter + def target(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target", value) if not MYPY: - class ClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: pulumi.Input[str] + class BudgetFilterArgsDict(TypedDict): + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgsDict']]]] """ - host name. + List of tags to filter by. Consists of the following fields: """ - mount_options: NotRequired[pulumi.Input[str]] + workspace_id: NotRequired[pulumi.Input['BudgetFilterWorkspaceIdArgsDict']] """ - string that will be passed as options passed to the `mount` command. + Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: """ elif False: - ClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + BudgetFilterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterClusterMountInfoNetworkFilesystemInfoArgs: +class BudgetFilterArgs: def __init__(__self__, *, - server_address: pulumi.Input[str], - mount_options: Optional[pulumi.Input[str]] = None): + tags: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]]] = None, + workspace_id: Optional[pulumi.Input['BudgetFilterWorkspaceIdArgs']] = None): """ - :param pulumi.Input[str] server_address: host name. - :param pulumi.Input[str] mount_options: string that will be passed as options passed to the `mount` command. + :param pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]] tags: List of tags to filter by. Consists of the following fields: + :param pulumi.Input['BudgetFilterWorkspaceIdArgs'] workspace_id: Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: """ - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if workspace_id is not None: + pulumi.set(__self__, "workspace_id", workspace_id) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> pulumi.Input[str]: + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]]]: """ - host name. + List of tags to filter by. Consists of the following fields: """ - return pulumi.get(self, "server_address") + return pulumi.get(self, "tags") - @server_address.setter - def server_address(self, value: pulumi.Input[str]): - pulumi.set(self, "server_address", value) + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetFilterTagArgs']]]]): + pulumi.set(self, "tags", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> Optional[pulumi.Input['BudgetFilterWorkspaceIdArgs']]: """ - string that will be passed as options passed to the `mount` command. + Filter by workspace ID (if empty, include usage all usage for this account). Consists of the following fields: """ - return pulumi.get(self, "mount_options") + return pulumi.get(self, "workspace_id") - @mount_options.setter - def mount_options(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mount_options", value) + @workspace_id.setter + def workspace_id(self, value: Optional[pulumi.Input['BudgetFilterWorkspaceIdArgs']]): + pulumi.set(self, "workspace_id", value) if not MYPY: - class ClusterDockerImageArgsDict(TypedDict): - url: pulumi.Input[str] + class BudgetFilterTagArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] """ - URL for the Docker image + The key of the tag. """ - basic_auth: NotRequired[pulumi.Input['ClusterDockerImageBasicAuthArgsDict']] + value: NotRequired[pulumi.Input['BudgetFilterTagValueArgsDict']] """ - `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - - Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: - - ```python - import pulumi - import pulumi_databricks as databricks - import pulumi_docker as docker - - this = docker.index.RegistryImage("this", - build=[{}], - name=f{this_azurerm_container_registry.login_server}/sample:latest) - this_cluster = databricks.Cluster("this", docker_image={ - "url": this["name"], - "basic_auth": { - "username": this_azurerm_container_registry["adminUsername"], - "password": this_azurerm_container_registry["adminPassword"], - }, - }) - ``` + Consists of the following fields: """ elif False: - ClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + BudgetFilterTagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterDockerImageArgs: +class BudgetFilterTagArgs: def __init__(__self__, *, - url: pulumi.Input[str], - basic_auth: Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']] = None): + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input['BudgetFilterTagValueArgs']] = None): """ - :param pulumi.Input[str] url: URL for the Docker image - :param pulumi.Input['ClusterDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - - Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: - - ```python - import pulumi - import pulumi_databricks as databricks - import pulumi_docker as docker - - this = docker.index.RegistryImage("this", - build=[{}], - name=f{this_azurerm_container_registry.login_server}/sample:latest) - this_cluster = databricks.Cluster("this", docker_image={ - "url": this["name"], - "basic_auth": { - "username": this_azurerm_container_registry["adminUsername"], - "password": this_azurerm_container_registry["adminPassword"], - }, - }) - ``` + :param pulumi.Input[str] key: The key of the tag. + :param pulumi.Input['BudgetFilterTagValueArgs'] value: Consists of the following fields: """ - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: + def key(self) -> Optional[pulumi.Input[str]]: """ - URL for the Docker image + The key of the tag. """ - return pulumi.get(self, "url") + return pulumi.get(self, "key") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']]: + @pulumi.getter + def value(self) -> Optional[pulumi.Input['BudgetFilterTagValueArgs']]: """ - `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - - Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: - - ```python - import pulumi - import pulumi_databricks as databricks - import pulumi_docker as docker - - this = docker.index.RegistryImage("this", - build=[{}], - name=f{this_azurerm_container_registry.login_server}/sample:latest) - this_cluster = databricks.Cluster("this", docker_image={ - "url": this["name"], - "basic_auth": { - "username": this_azurerm_container_registry["adminUsername"], - "password": this_azurerm_container_registry["adminPassword"], - }, - }) - ``` + Consists of the following fields: """ - return pulumi.get(self, "basic_auth") + return pulumi.get(self, "value") - @basic_auth.setter - def basic_auth(self, value: Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']]): - pulumi.set(self, "basic_auth", value) + @value.setter + def value(self, value: Optional[pulumi.Input['BudgetFilterTagValueArgs']]): + pulumi.set(self, "value", value) if not MYPY: - class ClusterDockerImageBasicAuthArgsDict(TypedDict): - password: pulumi.Input[str] - username: pulumi.Input[str] + class BudgetFilterTagValueArgsDict(TypedDict): + operator: NotRequired[pulumi.Input[str]] + """ + The operator to use for the filter. (Enum: `IN`) + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values to filter by. + """ elif False: - ClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + BudgetFilterTagValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterDockerImageBasicAuthArgs: +class BudgetFilterTagValueArgs: def __init__(__self__, *, - password: pulumi.Input[str], - username: pulumi.Input[str]): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + operator: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] operator: The operator to use for the filter. (Enum: `IN`) + :param pulumi.Input[Sequence[pulumi.Input[str]]] values: The values to filter by. + """ + if operator is not None: + pulumi.set(__self__, "operator", operator) + if values is not None: + pulumi.set(__self__, "values", values) @property @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + def operator(self) -> Optional[pulumi.Input[str]]: + """ + The operator to use for the filter. (Enum: `IN`) + """ + return pulumi.get(self, "operator") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The values to filter by. + """ + return pulumi.get(self, "values") - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "values", value) if not MYPY: - class ClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - """ - Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - """ - boot_disk_size: NotRequired[pulumi.Input[int]] - """ - Boot disk size in GB - """ - google_service_account: NotRequired[pulumi.Input[str]] - """ - Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. - """ - local_ssd_count: NotRequired[pulumi.Input[int]] - """ - Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - """ - use_preemptible_executors: NotRequired[pulumi.Input[bool]] + class BudgetFilterWorkspaceIdArgsDict(TypedDict): + operator: NotRequired[pulumi.Input[str]] """ - if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* + The operator to use for the filter. (Enum: `IN`) """ - zone_id: NotRequired[pulumi.Input[str]] + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] """ - Identifier for the availability zone in which the cluster resides. This can be one of the following: - * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. - * `AUTO`: Databricks picks an availability zone to schedule the cluster on. - * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). + The values to filter by. """ elif False: - ClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + BudgetFilterWorkspaceIdArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterGcpAttributesArgs: +class BudgetFilterWorkspaceIdArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - boot_disk_size: Optional[pulumi.Input[int]] = None, - google_service_account: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - use_preemptible_executors: Optional[pulumi.Input[bool]] = None, - zone_id: Optional[pulumi.Input[str]] = None): + operator: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None): """ - :param pulumi.Input[str] availability: Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - :param pulumi.Input[int] boot_disk_size: Boot disk size in GB - :param pulumi.Input[str] google_service_account: Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. - :param pulumi.Input[int] local_ssd_count: Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - :param pulumi.Input[bool] use_preemptible_executors: if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* - :param pulumi.Input[str] zone_id: Identifier for the availability zone in which the cluster resides. This can be one of the following: - * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. - * `AUTO`: Databricks picks an availability zone to schedule the cluster on. - * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). + :param pulumi.Input[str] operator: The operator to use for the filter. (Enum: `IN`) + :param pulumi.Input[Sequence[pulumi.Input[int]]] values: The values to filter by. """ - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if values is not None: + pulumi.set(__self__, "values", values) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: + def operator(self) -> Optional[pulumi.Input[str]]: """ - Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + The operator to use for the filter. (Enum: `IN`) """ - return pulumi.get(self, "availability") + return pulumi.get(self, "operator") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]: """ - Boot disk size in GB + The values to filter by. """ - return pulumi.get(self, "boot_disk_size") - - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "boot_disk_size", value) + return pulumi.get(self, "values") - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[pulumi.Input[str]]: - """ - Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. - """ - return pulumi.get(self, "google_service_account") + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]): + pulumi.set(self, "values", value) - @google_service_account.setter - def google_service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "google_service_account", value) - @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - """ - Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. +if not MYPY: + class ClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[pulumi.Input[int]] """ - return pulumi.get(self, "local_ssd_count") + The maximum number of workers to which the cluster can scale up when overloaded. max_workers must be strictly greater than min_workers. - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) + When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `num_workers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `num_workers` is `0`, provider checks for presence of the required Spark configurations: - @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: - """ - if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* - """ - return pulumi.get(self, "use_preemptible_executors") + * `spark.master` must have prefix `local`, like `local[*]` + * `spark.databricks.cluster.profile` must have value `singleNode` - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_preemptible_executors", value) + and also `custom_tag` entry: - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier for the availability zone in which the cluster resides. This can be one of the following: - * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. - * `AUTO`: Databricks picks an availability zone to schedule the cluster on. - * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). - """ - return pulumi.get(self, "zone_id") + * `"ResourceClass" = "SingleNode"` - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + The following example demonstrates how to create an single node cluster: + ```python + import pulumi + import pulumi_databricks as databricks -if not MYPY: - class ClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired[pulumi.Input['ClusterInitScriptAbfssArgsDict']] - dbfs: NotRequired[pulumi.Input['ClusterInitScriptDbfsArgsDict']] - file: NotRequired[pulumi.Input['ClusterInitScriptFileArgsDict']] - gcs: NotRequired[pulumi.Input['ClusterInitScriptGcsArgsDict']] - s3: NotRequired[pulumi.Input['ClusterInitScriptS3ArgsDict']] - volumes: NotRequired[pulumi.Input['ClusterInitScriptVolumesArgsDict']] - workspace: NotRequired[pulumi.Input['ClusterInitScriptWorkspaceArgsDict']] + smallest = databricks.get_node_type(local_disk=True) + latest_lts = databricks.get_spark_version(long_term_support=True) + single_node = databricks.Cluster("single_node", + cluster_name="Single Node", + spark_version=latest_lts.id, + node_type_id=smallest.id, + autotermination_minutes=20, + spark_conf={ + "spark.databricks.cluster.profile": "singleNode", + "spark.master": "local[*]", + }, + custom_tags={ + "ResourceClass": "SingleNode", + }) + ``` + """ + min_workers: NotRequired[pulumi.Input[int]] + """ + The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + """ elif False: - ClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + ClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterInitScriptArgs: +class ClusterAutoscaleArgs: def __init__(__self__, *, - abfss: Optional[pulumi.Input['ClusterInitScriptAbfssArgs']] = None, - dbfs: Optional[pulumi.Input['ClusterInitScriptDbfsArgs']] = None, - file: Optional[pulumi.Input['ClusterInitScriptFileArgs']] = None, - gcs: Optional[pulumi.Input['ClusterInitScriptGcsArgs']] = None, - s3: Optional[pulumi.Input['ClusterInitScriptS3Args']] = None, - volumes: Optional[pulumi.Input['ClusterInitScriptVolumesArgs']] = None, - workspace: Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) - - @property - @pulumi.getter - def abfss(self) -> Optional[pulumi.Input['ClusterInitScriptAbfssArgs']]: - return pulumi.get(self, "abfss") - - @abfss.setter - def abfss(self, value: Optional[pulumi.Input['ClusterInitScriptAbfssArgs']]): - pulumi.set(self, "abfss", value) - + max_workers: Optional[pulumi.Input[int]] = None, + min_workers: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[int] max_workers: The maximum number of workers to which the cluster can scale up when overloaded. max_workers must be strictly greater than min_workers. + + When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `num_workers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `num_workers` is `0`, provider checks for presence of the required Spark configurations: + + * `spark.master` must have prefix `local`, like `local[*]` + * `spark.databricks.cluster.profile` must have value `singleNode` + + and also `custom_tag` entry: + + * `"ResourceClass" = "SingleNode"` + + The following example demonstrates how to create an single node cluster: + + ```python + import pulumi + import pulumi_databricks as databricks + + smallest = databricks.get_node_type(local_disk=True) + latest_lts = databricks.get_spark_version(long_term_support=True) + single_node = databricks.Cluster("single_node", + cluster_name="Single Node", + spark_version=latest_lts.id, + node_type_id=smallest.id, + autotermination_minutes=20, + spark_conf={ + "spark.databricks.cluster.profile": "singleNode", + "spark.master": "local[*]", + }, + custom_tags={ + "ResourceClass": "SingleNode", + }) + ``` + :param pulumi.Input[int] min_workers: The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + """ + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) + @property - @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional[pulumi.Input['ClusterInitScriptDbfsArgs']]: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of workers to which the cluster can scale up when overloaded. max_workers must be strictly greater than min_workers. - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['ClusterInitScriptDbfsArgs']]): - pulumi.set(self, "dbfs", value) + When using a [Single Node cluster](https://docs.databricks.com/clusters/single-node.html), `num_workers` needs to be `0`. It can be set to `0` explicitly, or simply not specified, as it defaults to `0`. When `num_workers` is `0`, provider checks for presence of the required Spark configurations: + + * `spark.master` must have prefix `local`, like `local[*]` + * `spark.databricks.cluster.profile` must have value `singleNode` + + and also `custom_tag` entry: + + * `"ResourceClass" = "SingleNode"` + + The following example demonstrates how to create an single node cluster: + + ```python + import pulumi + import pulumi_databricks as databricks + + smallest = databricks.get_node_type(local_disk=True) + latest_lts = databricks.get_spark_version(long_term_support=True) + single_node = databricks.Cluster("single_node", + cluster_name="Single Node", + spark_version=latest_lts.id, + node_type_id=smallest.id, + autotermination_minutes=20, + spark_conf={ + "spark.databricks.cluster.profile": "singleNode", + "spark.master": "local[*]", + }, + custom_tags={ + "ResourceClass": "SingleNode", + }) + ``` + """ + return pulumi.get(self, "max_workers") + + @max_workers.setter + def max_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['ClusterInitScriptFileArgs']]: - return pulumi.get(self, "file") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[pulumi.Input[int]]: + """ + The minimum number of workers to which the cluster can scale down when underutilized. It is also the initial number of workers the cluster will have after creation. + """ + return pulumi.get(self, "min_workers") - @file.setter - def file(self, value: Optional[pulumi.Input['ClusterInitScriptFileArgs']]): - pulumi.set(self, "file", value) + @min_workers.setter + def min_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_workers", value) + + +if not MYPY: + class ClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + """ + Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future + """ + ebs_volume_count: NotRequired[pulumi.Input[int]] + """ + The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + """ + ebs_volume_iops: NotRequired[pulumi.Input[int]] + ebs_volume_size: NotRequired[pulumi.Input[int]] + """ + The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). + """ + ebs_volume_throughput: NotRequired[pulumi.Input[int]] + ebs_volume_type: NotRequired[pulumi.Input[str]] + """ + The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. + """ + first_on_demand: NotRequired[pulumi.Input[int]] + """ + The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future + """ + instance_profile_arn: NotRequired[pulumi.Input[str]] + """ + Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. + """ + spot_bid_price_percent: NotRequired[pulumi.Input[int]] + """ + The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. + """ + zone_id: NotRequired[pulumi.Input[str]] + """ + Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + """ +elif False: + ClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ClusterAwsAttributesArgs: + def __init__(__self__, *, + availability: Optional[pulumi.Input[str]] = None, + ebs_volume_count: Optional[pulumi.Input[int]] = None, + ebs_volume_iops: Optional[pulumi.Input[int]] = None, + ebs_volume_size: Optional[pulumi.Input[int]] = None, + ebs_volume_throughput: Optional[pulumi.Input[int]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] availability: Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future + :param pulumi.Input[int] ebs_volume_count: The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + :param pulumi.Input[int] ebs_volume_size: The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). + :param pulumi.Input[str] ebs_volume_type: The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. + :param pulumi.Input[int] first_on_demand: The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future + :param pulumi.Input[str] instance_profile_arn: Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. + :param pulumi.Input[int] spot_bid_price_percent: The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. + :param pulumi.Input[str] zone_id: Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + """ + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def gcs(self) -> Optional[pulumi.Input['ClusterInitScriptGcsArgs']]: - return pulumi.get(self, "gcs") + def availability(self) -> Optional[pulumi.Input[str]]: + """ + Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT`, `SPOT_WITH_FALLBACK` and `ON_DEMAND`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. Backend default value is `SPOT_WITH_FALLBACK` and could change in the future + """ + return pulumi.get(self, "availability") - @gcs.setter - def gcs(self, value: Optional[pulumi.Input['ClusterInitScriptGcsArgs']]): - pulumi.set(self, "gcs", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['ClusterInitScriptS3Args']]: - return pulumi.get(self, "s3") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of volumes launched for each instance. You can choose up to 10 volumes. This feature is only enabled for supported node types. Legacy node types cannot specify custom EBS volumes. For node types with no instance store, at least one EBS volume needs to be specified; otherwise, cluster creation will fail. These EBS volumes will be mounted at /ebs0, /ebs1, and etc. Instance store volumes will be mounted at /local_disk0, /local_disk1, and etc. If EBS volumes are attached, Databricks will configure Spark to use only the EBS volumes for scratch storage because heterogeneously sized scratch devices can lead to inefficient disk utilization. If no EBS volumes are attached, Databricks will configure Spark to use instance store volumes. If EBS volumes are specified, then the Spark configuration spark.local.dir will be overridden. + """ + return pulumi.get(self, "ebs_volume_count") - @s3.setter - def s3(self, value: Optional[pulumi.Input['ClusterInitScriptS3Args']]): - pulumi.set(self, "s3", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_count", value) @property - @pulumi.getter - def volumes(self) -> Optional[pulumi.Input['ClusterInitScriptVolumesArgs']]: - return pulumi.get(self, "volumes") + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_iops") - @volumes.setter - def volumes(self, value: Optional[pulumi.Input['ClusterInitScriptVolumesArgs']]): - pulumi.set(self, "volumes", value) + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_iops", value) @property - @pulumi.getter - def workspace(self) -> Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']]: - return pulumi.get(self, "workspace") + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: + """ + The size of each EBS volume (in GiB) launched for each instance. For general purpose SSD, this value must be within the range 100 - 4096. For throughput optimized HDD, this value must be within the range 500 - 4096. Custom EBS volumes cannot be specified for the legacy node types (memory-optimized and compute-optimized). + """ + return pulumi.get(self, "ebs_volume_size") - @workspace.setter - def workspace(self, value: Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']]): - pulumi.set(self, "workspace", value) + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_size", value) + @property + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_throughput") -if not MYPY: - class ClusterInitScriptAbfssArgsDict(TypedDict): - destination: pulumi.Input[str] + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_throughput", value) + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + The type of EBS volumes that will be launched with this cluster. Valid values are `GENERAL_PURPOSE_SSD` or `THROUGHPUT_OPTIMIZED_HDD`. Use this option only if you're not picking *Delta Optimized `i3.*`* node types. """ -elif False: - ClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "ebs_volume_type") -@pulumi.input_type -class ClusterInitScriptAbfssArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. Backend default value is `1` and could change in the future """ - pulumi.set(__self__, "destination", destination) + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Nodes for this cluster will only be placed on AWS instances with this instance profile. Please see InstanceProfile resource documentation for extended examples on adding a valid instance profile using Pulumi. """ - return pulumi.get(self, "destination") + return pulumi.get(self, "instance_profile_arn") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + """ + The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the cluster needs a new `i3.xlarge` spot instance, then the max price is half of the price of on-demand `i3.xlarge` instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand `i3.xlarge` instances. If not specified, the default value is `100`. When spot instances are requested for this cluster, only spot instances whose max price percentage matches this field will be considered. For safety, we enforce this field to be no more than `10000`. + """ + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + """ + Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-west-2a`. The provided availability zone must be in the same region as the Databricks deployment. For example, `us-west-2a` is not a valid zone ID if the Databricks deployment resides in the `us-east-1` region. Enable automatic availability zone selection ("Auto-AZ"), by setting the value `auto`. Databricks selects the AZ based on available IPs in the workspace subnets and retries in other availability zones if AWS returns insufficient capacity errors. + """ + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class ClusterInitScriptDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] + class ClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. + """ + first_on_demand: NotRequired[pulumi.Input[int]] + """ + The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. + """ + log_analytics_info: NotRequired[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgsDict']] + spot_bid_max_price: NotRequired[pulumi.Input[float]] + """ + The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. """ elif False: - ClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + ClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterInitScriptDbfsArgs: +class ClusterAzureAttributesArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): + availability: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + log_analytics_info: Optional[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgs']] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + :param pulumi.Input[str] availability: Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. + :param pulumi.Input[int] first_on_demand: The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. + :param pulumi.Input[float] spot_bid_max_price: The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. """ - pulumi.set(__self__, "destination", destination) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: + def availability(self) -> Optional[pulumi.Input[str]]: """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + Availability type used for all subsequent nodes past the `first_on_demand` ones. Valid values are `SPOT_AZURE`, `SPOT_WITH_FALLBACK_AZURE`, and `ON_DEMAND_AZURE`. Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster. """ - return pulumi.get(self, "destination") + return pulumi.get(self, "availability") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + """ + The first `first_on_demand` nodes of the cluster will be placed on on-demand instances. If this value is greater than 0, the cluster driver node will be placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, `first_on_demand` nodes will be placed on on-demand instances, and the remainder will be placed on availability instances. This value does not affect cluster size and cannot be mutated over the lifetime of a cluster. + """ + return pulumi.get(self, "first_on_demand") -if not MYPY: - class ClusterInitScriptFileArgsDict(TypedDict): - destination: pulumi.Input[str] + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgs']]: + return pulumi.get(self, "log_analytics_info") + + @log_analytics_info.setter + def log_analytics_info(self, value: Optional[pulumi.Input['ClusterAzureAttributesLogAnalyticsInfoArgs']]): + pulumi.set(self, "log_analytics_info", value) + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. """ + return pulumi.get(self, "spot_bid_max_price") + + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) + + +if not MYPY: + class ClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[pulumi.Input[str]] + log_analytics_workspace_id: NotRequired[pulumi.Input[str]] elif False: - ClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + ClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterInitScriptFileArgs: +class ClusterAzureAttributesLogAnalyticsInfoArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ - pulumi.set(__self__, "destination", destination) + log_analytics_primary_key: Optional[pulumi.Input[str]] = None, + log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + + @property + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_primary_key") + + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_primary_key", value) + + @property + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_workspace_id") + + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_id", value) + + +if not MYPY: + class ClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired[pulumi.Input['ClusterClusterLogConfDbfsArgsDict']] + s3: NotRequired[pulumi.Input['ClusterClusterLogConfS3ArgsDict']] +elif False: + ClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ClusterClusterLogConfArgs: + def __init__(__self__, *, + dbfs: Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']] = None, + s3: Optional[pulumi.Input['ClusterClusterLogConfS3Args']] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ - return pulumi.get(self, "destination") + def dbfs(self) -> Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']]: + return pulumi.get(self, "dbfs") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']]): + pulumi.set(self, "dbfs", value) + + @property + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['ClusterClusterLogConfS3Args']]: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional[pulumi.Input['ClusterClusterLogConfS3Args']]): + pulumi.set(self, "s3", value) if not MYPY: - class ClusterInitScriptGcsArgsDict(TypedDict): + class ClusterClusterLogConfDbfsArgsDict(TypedDict): destination: pulumi.Input[str] """ S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ elif False: - ClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + ClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterInitScriptGcsArgs: +class ClusterClusterLogConfDbfsArgs: def __init__(__self__, *, destination: pulumi.Input[str]): """ @@ -3995,7 +4151,7 @@ def destination(self, value: pulumi.Input[str]): if not MYPY: - class ClusterInitScriptS3ArgsDict(TypedDict): + class ClusterClusterLogConfS3ArgsDict(TypedDict): destination: pulumi.Input[str] """ S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. @@ -4025,10 +4181,10 @@ class ClusterInitScriptS3ArgsDict(TypedDict): S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. """ elif False: - ClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + ClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterInitScriptS3Args: +class ClusterClusterLogConfS3Args: def __init__(__self__, *, destination: pulumi.Input[str], canned_acl: Optional[pulumi.Input[str]] = None, @@ -4146,3215 +4302,3084 @@ def region(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class ClusterInitScriptVolumesArgsDict(TypedDict): - destination: pulumi.Input[str] - """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + class ClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: pulumi.Input[str] """ -elif False: - ClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + path inside the Spark container. -@pulumi.input_type -class ClusterInitScriptVolumesArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. - """ - pulumi.set(__self__, "destination", destination) + For example, you can mount Azure Data Lake Storage container using the following code: - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: + ```python + import pulumi + import pulumi_databricks as databricks + + storage_account = "ewfw3ggwegwg" + storage_container = "test" + with_nfs = databricks.Cluster("with_nfs", cluster_mount_infos=[{ + "network_filesystem_info": { + "server_address": f"{storage_account}.blob.core.windows.net", + "mount_options": "sec=sys,vers=3,nolock,proto=tcp", + }, + "remote_mount_dir_path": f"{storage_account}/{storage_container}", + "local_mount_dir_path": "/mnt/nfs-test", + }]) + ``` """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + network_filesystem_info: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] """ - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class ClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: pulumi.Input[str] + block specifying connection. It consists of: """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + remote_mount_dir_path: NotRequired[pulumi.Input[str]] + """ + string specifying path to mount on the remote service. """ elif False: - ClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + ClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterInitScriptWorkspaceArgs: +class ClusterClusterMountInfoArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): + local_mount_dir_path: pulumi.Input[str], + network_filesystem_info: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs'], + remote_mount_dir_path: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + :param pulumi.Input[str] local_mount_dir_path: path inside the Spark container. + + For example, you can mount Azure Data Lake Storage container using the following code: + + ```python + import pulumi + import pulumi_databricks as databricks + + storage_account = "ewfw3ggwegwg" + storage_container = "test" + with_nfs = databricks.Cluster("with_nfs", cluster_mount_infos=[{ + "network_filesystem_info": { + "server_address": f"{storage_account}.blob.core.windows.net", + "mount_options": "sec=sys,vers=3,nolock,proto=tcp", + }, + "remote_mount_dir_path": f"{storage_account}/{storage_container}", + "local_mount_dir_path": "/mnt/nfs-test", + }]) + ``` + :param pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs'] network_filesystem_info: block specifying connection. It consists of: + :param pulumi.Input[str] remote_mount_dir_path: string specifying path to mount on the remote service. """ - pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - """ - S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> pulumi.Input[str]: """ - return pulumi.get(self, "destination") + path inside the Spark container. - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + For example, you can mount Azure Data Lake Storage container using the following code: + ```python + import pulumi + import pulumi_databricks as databricks -if not MYPY: - class ClusterLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['ClusterLibraryCranArgsDict']] - egg: NotRequired[pulumi.Input[str]] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['ClusterLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['ClusterLibraryPypiArgsDict']] - requirements: NotRequired[pulumi.Input[str]] - whl: NotRequired[pulumi.Input[str]] -elif False: - ClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] + storage_account = "ewfw3ggwegwg" + storage_container = "test" + with_nfs = databricks.Cluster("with_nfs", cluster_mount_infos=[{ + "network_filesystem_info": { + "server_address": f"{storage_account}.blob.core.windows.net", + "mount_options": "sec=sys,vers=3,nolock,proto=tcp", + }, + "remote_mount_dir_path": f"{storage_account}/{storage_container}", + "local_mount_dir_path": "/mnt/nfs-test", + }]) + ``` + """ + return pulumi.get(self, "local_mount_dir_path") -@pulumi.input_type -class ClusterLibraryArgs: - def __init__(__self__, *, - cran: Optional[pulumi.Input['ClusterLibraryCranArgs']] = None, - egg: Optional[pulumi.Input[str]] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['ClusterLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['ClusterLibraryPypiArgs']] = None, - requirements: Optional[pulumi.Input[str]] = None, - whl: Optional[pulumi.Input[str]] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: pulumi.Input[str]): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter - def cran(self) -> Optional[pulumi.Input['ClusterLibraryCranArgs']]: - return pulumi.get(self, "cran") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs']: + """ + block specifying connection. It consists of: + """ + return pulumi.get(self, "network_filesystem_info") - @cran.setter - def cran(self, value: Optional[pulumi.Input['ClusterLibraryCranArgs']]): - pulumi.set(self, "cran", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs']): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter - def egg(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "egg") - - @egg.setter - def egg(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "egg", value) + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: + """ + string specifying path to mount on the remote service. + """ + return pulumi.get(self, "remote_mount_dir_path") - @property - @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "remote_mount_dir_path", value) - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) - @property - @pulumi.getter - def maven(self) -> Optional[pulumi.Input['ClusterLibraryMavenArgs']]: - return pulumi.get(self, "maven") +if not MYPY: + class ClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: pulumi.Input[str] + """ + host name. + """ + mount_options: NotRequired[pulumi.Input[str]] + """ + string that will be passed as options passed to the `mount` command. + """ +elif False: + ClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] - @maven.setter - def maven(self, value: Optional[pulumi.Input['ClusterLibraryMavenArgs']]): - pulumi.set(self, "maven", value) +@pulumi.input_type +class ClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: pulumi.Input[str], + mount_options: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] server_address: host name. + :param pulumi.Input[str] mount_options: string that will be passed as options passed to the `mount` command. + """ + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['ClusterLibraryPypiArgs']]: - return pulumi.get(self, "pypi") + @pulumi.getter(name="serverAddress") + def server_address(self) -> pulumi.Input[str]: + """ + host name. + """ + return pulumi.get(self, "server_address") - @pypi.setter - def pypi(self, value: Optional[pulumi.Input['ClusterLibraryPypiArgs']]): - pulumi.set(self, "pypi", value) + @server_address.setter + def server_address(self, value: pulumi.Input[str]): + pulumi.set(self, "server_address", value) @property - @pulumi.getter - def requirements(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "requirements") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[pulumi.Input[str]]: + """ + string that will be passed as options passed to the `mount` command. + """ + return pulumi.get(self, "mount_options") - @requirements.setter - def requirements(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requirements", value) + @mount_options.setter + def mount_options(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mount_options", value) - @property - @pulumi.getter - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) +if not MYPY: + class ClusterDockerImageArgsDict(TypedDict): + url: pulumi.Input[str] + """ + URL for the Docker image + """ + basic_auth: NotRequired[pulumi.Input['ClusterDockerImageBasicAuthArgsDict']] + """ + `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: -if not MYPY: - class ClusterLibraryCranArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + ```python + import pulumi + import pulumi_databricks as databricks + import pulumi_docker as docker + + this = docker.index.RegistryImage("this", + build=[{}], + name=f{this_azurerm_container_registry.login_server}/sample:latest) + this_cluster = databricks.Cluster("this", docker_image={ + "url": this["name"], + "basic_auth": { + "username": this_azurerm_container_registry["adminUsername"], + "password": this_azurerm_container_registry["adminPassword"], + }, + }) + ``` + """ elif False: - ClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + ClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterLibraryCranArgs: +class ClusterDockerImageArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + url: pulumi.Input[str], + basic_auth: Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']] = None): + """ + :param pulumi.Input[str] url: URL for the Docker image + :param pulumi.Input['ClusterDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + + Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + + ```python + import pulumi + import pulumi_databricks as databricks + import pulumi_docker as docker + + this = docker.index.RegistryImage("this", + build=[{}], + name=f{this_azurerm_container_registry.login_server}/sample:latest) + this_cluster = databricks.Cluster("this", docker_image={ + "url": this["name"], + "basic_auth": { + "username": this_azurerm_container_registry["adminUsername"], + "password": this_azurerm_container_registry["adminPassword"], + }, + }) + ``` + """ + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def url(self) -> pulumi.Input[str]: + """ + URL for the Docker image + """ + return pulumi.get(self, "url") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']]: + """ + `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + + ```python + import pulumi + import pulumi_databricks as databricks + import pulumi_docker as docker + + this = docker.index.RegistryImage("this", + build=[{}], + name=f{this_azurerm_container_registry.login_server}/sample:latest) + this_cluster = databricks.Cluster("this", docker_image={ + "url": this["name"], + "basic_auth": { + "username": this_azurerm_container_registry["adminUsername"], + "password": this_azurerm_container_registry["adminPassword"], + }, + }) + ``` + """ + return pulumi.get(self, "basic_auth") + + @basic_auth.setter + def basic_auth(self, value: Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']]): + pulumi.set(self, "basic_auth", value) if not MYPY: - class ClusterLibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] + class ClusterDockerImageBasicAuthArgsDict(TypedDict): + password: pulumi.Input[str] + username: pulumi.Input[str] elif False: - ClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + ClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterLibraryMavenArgs: +class ClusterDockerImageBasicAuthArgs: def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") - - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + password: pulumi.Input[str], + username: pulumi.Input[str]): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) if not MYPY: - class ClusterLibraryPypiArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class ClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + """ + Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + """ + boot_disk_size: NotRequired[pulumi.Input[int]] + """ + Boot disk size in GB + """ + google_service_account: NotRequired[pulumi.Input[str]] + """ + Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. + """ + local_ssd_count: NotRequired[pulumi.Input[int]] + """ + Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + """ + use_preemptible_executors: NotRequired[pulumi.Input[bool]] + """ + if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* + """ + zone_id: NotRequired[pulumi.Input[str]] + """ + Identifier for the availability zone in which the cluster resides. This can be one of the following: + * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. + * `AUTO`: Databricks picks an availability zone to schedule the cluster on. + * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). + """ elif False: - ClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + ClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterLibraryPypiArgs: +class ClusterGcpAttributesArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + availability: Optional[pulumi.Input[str]] = None, + boot_disk_size: Optional[pulumi.Input[int]] = None, + google_service_account: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + use_preemptible_executors: Optional[pulumi.Input[bool]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] availability: Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + :param pulumi.Input[int] boot_disk_size: Boot disk size in GB + :param pulumi.Input[str] google_service_account: Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. + :param pulumi.Input[int] local_ssd_count: Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + :param pulumi.Input[bool] use_preemptible_executors: if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* + :param pulumi.Input[str] zone_id: Identifier for the availability zone in which the cluster resides. This can be one of the following: + * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. + * `AUTO`: Databricks picks an availability zone to schedule the cluster on. + * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). + """ + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def availability(self) -> Optional[pulumi.Input[str]]: + """ + Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + """ + return pulumi.get(self, "availability") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[pulumi.Input[int]]: + """ + Boot disk size in GB + """ + return pulumi.get(self, "boot_disk_size") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "boot_disk_size", value) + @property + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[pulumi.Input[str]]: + """ + Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources. + """ + return pulumi.get(self, "google_service_account") -if not MYPY: - class ClusterPolicyLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['ClusterPolicyLibraryCranArgsDict']] - egg: NotRequired[pulumi.Input[str]] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['ClusterPolicyLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['ClusterPolicyLibraryPypiArgsDict']] - requirements: NotRequired[pulumi.Input[str]] - whl: NotRequired[pulumi.Input[str]] -elif False: - ClusterPolicyLibraryArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class ClusterPolicyLibraryArgs: - def __init__(__self__, *, - cran: Optional[pulumi.Input['ClusterPolicyLibraryCranArgs']] = None, - egg: Optional[pulumi.Input[str]] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['ClusterPolicyLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['ClusterPolicyLibraryPypiArgs']] = None, - requirements: Optional[pulumi.Input[str]] = None, - whl: Optional[pulumi.Input[str]] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) - - @property - @pulumi.getter - def cran(self) -> Optional[pulumi.Input['ClusterPolicyLibraryCranArgs']]: - return pulumi.get(self, "cran") - - @cran.setter - def cran(self, value: Optional[pulumi.Input['ClusterPolicyLibraryCranArgs']]): - pulumi.set(self, "cran", value) - - @property - @pulumi.getter - def egg(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "egg") - - @egg.setter - def egg(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "egg", value) - - @property - @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") - - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) - - @property - @pulumi.getter - def maven(self) -> Optional[pulumi.Input['ClusterPolicyLibraryMavenArgs']]: - return pulumi.get(self, "maven") - - @maven.setter - def maven(self, value: Optional[pulumi.Input['ClusterPolicyLibraryMavenArgs']]): - pulumi.set(self, "maven", value) + @google_service_account.setter + def google_service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['ClusterPolicyLibraryPypiArgs']]: - return pulumi.get(self, "pypi") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + """ + Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + """ + return pulumi.get(self, "local_ssd_count") - @pypi.setter - def pypi(self, value: Optional[pulumi.Input['ClusterPolicyLibraryPypiArgs']]): - pulumi.set(self, "pypi", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter - def requirements(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "requirements") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: + """ + if we should use preemptible executors ([GCP documentation](https://cloud.google.com/compute/docs/instances/preemptible)). *Warning: this field is deprecated in favor of `availability`, and will be removed soon.* + """ + return pulumi.get(self, "use_preemptible_executors") - @requirements.setter - def requirements(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requirements", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + """ + Identifier for the availability zone in which the cluster resides. This can be one of the following: + * `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region. + * `AUTO`: Databricks picks an availability zone to schedule the cluster on. + * name of a GCP availability zone: pick one of the available zones from the [list of available availability zones](https://cloud.google.com/compute/docs/regions-zones#available). + """ + return pulumi.get(self, "zone_id") - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class ClusterPolicyLibraryCranArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class ClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired[pulumi.Input['ClusterInitScriptAbfssArgsDict']] + dbfs: NotRequired[pulumi.Input['ClusterInitScriptDbfsArgsDict']] + file: NotRequired[pulumi.Input['ClusterInitScriptFileArgsDict']] + gcs: NotRequired[pulumi.Input['ClusterInitScriptGcsArgsDict']] + s3: NotRequired[pulumi.Input['ClusterInitScriptS3ArgsDict']] + volumes: NotRequired[pulumi.Input['ClusterInitScriptVolumesArgsDict']] + workspace: NotRequired[pulumi.Input['ClusterInitScriptWorkspaceArgsDict']] elif False: - ClusterPolicyLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterPolicyLibraryCranArgs: +class ClusterInitScriptArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + abfss: Optional[pulumi.Input['ClusterInitScriptAbfssArgs']] = None, + dbfs: Optional[pulumi.Input['ClusterInitScriptDbfsArgs']] = None, + file: Optional[pulumi.Input['ClusterInitScriptFileArgs']] = None, + gcs: Optional[pulumi.Input['ClusterInitScriptGcsArgs']] = None, + s3: Optional[pulumi.Input['ClusterInitScriptS3Args']] = None, + volumes: Optional[pulumi.Input['ClusterInitScriptVolumesArgs']] = None, + workspace: Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def abfss(self) -> Optional[pulumi.Input['ClusterInitScriptAbfssArgs']]: + return pulumi.get(self, "abfss") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @abfss.setter + def abfss(self, value: Optional[pulumi.Input['ClusterInitScriptAbfssArgs']]): + pulumi.set(self, "abfss", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) - - -if not MYPY: - class ClusterPolicyLibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] -elif False: - ClusterPolicyLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional[pulumi.Input['ClusterInitScriptDbfsArgs']]: + return pulumi.get(self, "dbfs") -@pulumi.input_type -class ClusterPolicyLibraryMavenArgs: - def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['ClusterInitScriptDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + def file(self) -> Optional[pulumi.Input['ClusterInitScriptFileArgs']]: + return pulumi.get(self, "file") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @file.setter + def file(self, value: Optional[pulumi.Input['ClusterInitScriptFileArgs']]): + pulumi.set(self, "file", value) @property @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + def gcs(self) -> Optional[pulumi.Input['ClusterInitScriptGcsArgs']]: + return pulumi.get(self, "gcs") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @gcs.setter + def gcs(self, value: Optional[pulumi.Input['ClusterInitScriptGcsArgs']]): + pulumi.set(self, "gcs", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) - - -if not MYPY: - class ClusterPolicyLibraryPypiArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] -elif False: - ClusterPolicyLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + def s3(self) -> Optional[pulumi.Input['ClusterInitScriptS3Args']]: + return pulumi.get(self, "s3") -@pulumi.input_type -class ClusterPolicyLibraryPypiArgs: - def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @s3.setter + def s3(self, value: Optional[pulumi.Input['ClusterInitScriptS3Args']]): + pulumi.set(self, "s3", value) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def volumes(self) -> Optional[pulumi.Input['ClusterInitScriptVolumesArgs']]: + return pulumi.get(self, "volumes") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @volumes.setter + def volumes(self, value: Optional[pulumi.Input['ClusterInitScriptVolumesArgs']]): + pulumi.set(self, "volumes", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def workspace(self) -> Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']]: + return pulumi.get(self, "workspace") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @workspace.setter + def workspace(self, value: Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']]): + pulumi.set(self, "workspace", value) if not MYPY: - class ClusterWorkloadTypeArgsDict(TypedDict): - clients: pulumi.Input['ClusterWorkloadTypeClientsArgsDict'] + class ClusterInitScriptAbfssArgsDict(TypedDict): + destination: pulumi.Input[str] + """ + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + """ elif False: - ClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterWorkloadTypeArgs: +class ClusterInitScriptAbfssArgs: def __init__(__self__, *, - clients: pulumi.Input['ClusterWorkloadTypeClientsArgs']): - pulumi.set(__self__, "clients", clients) + destination: pulumi.Input[str]): + """ + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + """ + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def clients(self) -> pulumi.Input['ClusterWorkloadTypeClientsArgs']: - return pulumi.get(self, "clients") + def destination(self) -> pulumi.Input[str]: + """ + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + """ + return pulumi.get(self, "destination") - @clients.setter - def clients(self, value: pulumi.Input['ClusterWorkloadTypeClientsArgs']): - pulumi.set(self, "clients", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class ClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[pulumi.Input[bool]] - """ - boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - - ```python - import pulumi - import pulumi_databricks as databricks - - with_nfs = databricks.Cluster("with_nfs", workload_type={ - "clients": { - "jobs": False, - "notebooks": True, - }, - }) - ``` - """ - notebooks: NotRequired[pulumi.Input[bool]] + class ClusterInitScriptDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] """ - boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ elif False: - ClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ClusterWorkloadTypeClientsArgs: +class ClusterInitScriptDbfsArgs: def __init__(__self__, *, - jobs: Optional[pulumi.Input[bool]] = None, - notebooks: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[bool] jobs: boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - - ```python - import pulumi - import pulumi_databricks as databricks - - with_nfs = databricks.Cluster("with_nfs", workload_type={ - "clients": { - "jobs": False, - "notebooks": True, - }, - }) - ``` - :param pulumi.Input[bool] notebooks: boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. - """ - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) - - @property - @pulumi.getter - def jobs(self) -> Optional[pulumi.Input[bool]]: + destination: pulumi.Input[str]): """ - boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - - ```python - import pulumi - import pulumi_databricks as databricks - - with_nfs = databricks.Cluster("with_nfs", workload_type={ - "clients": { - "jobs": False, - "notebooks": True, - }, - }) - ``` + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "jobs") - - @jobs.setter - def jobs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "jobs", value) + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def notebooks(self) -> Optional[pulumi.Input[bool]]: + def destination(self) -> pulumi.Input[str]: """ - boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "notebooks") - - @notebooks.setter - def notebooks(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "notebooks", value) - - -if not MYPY: - class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgsDict(TypedDict): - compliance_standards: pulumi.Input[Sequence[pulumi.Input[str]]] - is_enabled: pulumi.Input[bool] -elif False: - ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs: - def __init__(__self__, *, - compliance_standards: pulumi.Input[Sequence[pulumi.Input[str]]], - is_enabled: pulumi.Input[bool]): - pulumi.set(__self__, "compliance_standards", compliance_standards) - pulumi.set(__self__, "is_enabled", is_enabled) - - @property - @pulumi.getter(name="complianceStandards") - def compliance_standards(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "compliance_standards") - - @compliance_standards.setter - def compliance_standards(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "compliance_standards", value) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> pulumi.Input[bool]: - return pulumi.get(self, "is_enabled") + return pulumi.get(self, "destination") - @is_enabled.setter - def is_enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "is_enabled", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class CustomAppIntegrationTokenAccessPolicyArgsDict(TypedDict): - access_token_ttl_in_minutes: NotRequired[pulumi.Input[int]] - """ - access token time to live (TTL) in minutes. - """ - refresh_token_ttl_in_minutes: NotRequired[pulumi.Input[int]] + class ClusterInitScriptFileArgsDict(TypedDict): + destination: pulumi.Input[str] """ - refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ elif False: - CustomAppIntegrationTokenAccessPolicyArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class CustomAppIntegrationTokenAccessPolicyArgs: +class ClusterInitScriptFileArgs: def __init__(__self__, *, - access_token_ttl_in_minutes: Optional[pulumi.Input[int]] = None, - refresh_token_ttl_in_minutes: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] access_token_ttl_in_minutes: access token time to live (TTL) in minutes. - :param pulumi.Input[int] refresh_token_ttl_in_minutes: refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. - """ - if access_token_ttl_in_minutes is not None: - pulumi.set(__self__, "access_token_ttl_in_minutes", access_token_ttl_in_minutes) - if refresh_token_ttl_in_minutes is not None: - pulumi.set(__self__, "refresh_token_ttl_in_minutes", refresh_token_ttl_in_minutes) - - @property - @pulumi.getter(name="accessTokenTtlInMinutes") - def access_token_ttl_in_minutes(self) -> Optional[pulumi.Input[int]]: + destination: pulumi.Input[str]): """ - access token time to live (TTL) in minutes. + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "access_token_ttl_in_minutes") - - @access_token_ttl_in_minutes.setter - def access_token_ttl_in_minutes(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "access_token_ttl_in_minutes", value) + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="refreshTokenTtlInMinutes") - def refresh_token_ttl_in_minutes(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def destination(self) -> pulumi.Input[str]: """ - refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "refresh_token_ttl_in_minutes") + return pulumi.get(self, "destination") - @refresh_token_ttl_in_minutes.setter - def refresh_token_ttl_in_minutes(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "refresh_token_ttl_in_minutes", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class DefaultNamespaceSettingNamespaceArgsDict(TypedDict): - value: NotRequired[pulumi.Input[str]] + class ClusterInitScriptGcsArgsDict(TypedDict): + destination: pulumi.Input[str] """ - The value for the setting. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ elif False: - DefaultNamespaceSettingNamespaceArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class DefaultNamespaceSettingNamespaceArgs: +class ClusterInitScriptGcsArgs: def __init__(__self__, *, - value: Optional[pulumi.Input[str]] = None): + destination: pulumi.Input[str]): """ - :param pulumi.Input[str] value: The value for the setting. + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - if value is not None: - pulumi.set(__self__, "value", value) + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + def destination(self) -> pulumi.Input[str]: """ - The value for the setting. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "value") + return pulumi.get(self, "destination") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgsDict(TypedDict): - is_enabled: pulumi.Input[bool] -elif False: - EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs: - def __init__(__self__, *, - is_enabled: pulumi.Input[bool]): - pulumi.set(__self__, "is_enabled", is_enabled) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> pulumi.Input[bool]: - return pulumi.get(self, "is_enabled") - - @is_enabled.setter - def is_enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "is_enabled", value) - - -if not MYPY: - class ExternalLocationEncryptionDetailsArgsDict(TypedDict): - sse_encryption_details: NotRequired[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgsDict']] -elif False: - ExternalLocationEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class ExternalLocationEncryptionDetailsArgs: - def __init__(__self__, *, - sse_encryption_details: Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']] = None): - if sse_encryption_details is not None: - pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) - - @property - @pulumi.getter(name="sseEncryptionDetails") - def sse_encryption_details(self) -> Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']]: - return pulumi.get(self, "sse_encryption_details") - - @sse_encryption_details.setter - def sse_encryption_details(self, value: Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']]): - pulumi.set(self, "sse_encryption_details", value) - - -if not MYPY: - class ExternalLocationEncryptionDetailsSseEncryptionDetailsArgsDict(TypedDict): - algorithm: NotRequired[pulumi.Input[str]] - aws_kms_key_arn: NotRequired[pulumi.Input[str]] + class ClusterInitScriptS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + """ + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + """ + canned_acl: NotRequired[pulumi.Input[str]] + """ + Set canned access control list, e.g. `bucket-owner-full-control`. If `canned_cal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + """ + enable_encryption: NotRequired[pulumi.Input[bool]] + """ + Enable server-side encryption, false by default. + """ + encryption_type: NotRequired[pulumi.Input[str]] + """ + The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + """ + endpoint: NotRequired[pulumi.Input[str]] + """ + S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + """ + kms_key: NotRequired[pulumi.Input[str]] + """ + KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + """ + region: NotRequired[pulumi.Input[str]] + """ + S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + """ elif False: - ExternalLocationEncryptionDetailsSseEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs: +class ClusterInitScriptS3Args: def __init__(__self__, *, - algorithm: Optional[pulumi.Input[str]] = None, - aws_kms_key_arn: Optional[pulumi.Input[str]] = None): - if algorithm is not None: - pulumi.set(__self__, "algorithm", algorithm) - if aws_kms_key_arn is not None: - pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + :param pulumi.Input[str] canned_acl: Set canned access control list, e.g. `bucket-owner-full-control`. If `canned_cal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + :param pulumi.Input[bool] enable_encryption: Enable server-side encryption, false by default. + :param pulumi.Input[str] encryption_type: The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. + :param pulumi.Input[str] endpoint: S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. + :param pulumi.Input[str] kms_key: KMS key used if encryption is enabled and encryption type is set to `sse-kms`. + :param pulumi.Input[str] region: S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. + """ + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def algorithm(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "algorithm") + def destination(self) -> pulumi.Input[str]: + """ + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. + """ + return pulumi.get(self, "destination") - @algorithm.setter - def algorithm(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "algorithm", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="awsKmsKeyArn") - def aws_kms_key_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "aws_kms_key_arn") - - @aws_kms_key_arn.setter - def aws_kms_key_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_kms_key_arn", value) - - -if not MYPY: - class GrantsGrantArgsDict(TypedDict): - principal: pulumi.Input[str] - privileges: pulumi.Input[Sequence[pulumi.Input[str]]] -elif False: - GrantsGrantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + """ + Set canned access control list, e.g. `bucket-owner-full-control`. If `canned_cal` is set, the cluster instance profile must have `s3:PutObjectAcl` permission on the destination bucket and prefix. The full list of possible canned ACLs can be found [here](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). By default, only the object owner gets full control. If you are using a cross-account role for writing data, you may want to set `bucket-owner-full-control` to make bucket owners able to read the logs. + """ + return pulumi.get(self, "canned_acl") -@pulumi.input_type -class GrantsGrantArgs: - def __init__(__self__, *, - principal: pulumi.Input[str], - privileges: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(__self__, "principal", principal) - pulumi.set(__self__, "privileges", privileges) + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter - def principal(self) -> pulumi.Input[str]: - return pulumi.get(self, "principal") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + """ + Enable server-side encryption, false by default. + """ + return pulumi.get(self, "enable_encryption") - @principal.setter - def principal(self, value: pulumi.Input[str]): - pulumi.set(self, "principal", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter - def privileges(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "privileges") - - @privileges.setter - def privileges(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "privileges", value) - - -if not MYPY: - class InstancePoolAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - """ - (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. - """ - spot_bid_price_percent: NotRequired[pulumi.Input[int]] - """ - (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* - """ - zone_id: NotRequired[pulumi.Input[str]] + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: """ - (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). + The encryption type, it could be `sse-s3` or `sse-kms`. It is used only when encryption is enabled, and the default type is `sse-s3`. """ -elif False: - InstancePoolAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "encryption_type") -@pulumi.input_type -class InstancePoolAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] availability: (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. - :param pulumi.Input[int] spot_bid_price_percent: (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* - :param pulumi.Input[str] zone_id: (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). - """ - if availability is not None: - pulumi.set(__self__, "availability", availability) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: + def endpoint(self) -> Optional[pulumi.Input[str]]: """ - (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. + S3 endpoint, e.g. . Either `region` or `endpoint` needs to be set. If both are set, the endpoint is used. """ - return pulumi.get(self, "availability") + return pulumi.get(self, "endpoint") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: """ - (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* + KMS key used if encryption is enabled and encryption type is set to `sse-kms`. """ - return pulumi.get(self, "spot_bid_price_percent") + return pulumi.get(self, "kms_key") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: """ - (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). + S3 region, e.g. `us-west-2`. Either `region` or `endpoint` must be set. If both are set, the endpoint is used. """ - return pulumi.get(self, "zone_id") + return pulumi.get(self, "region") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class InstancePoolAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - """ - Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. - """ - spot_bid_max_price: NotRequired[pulumi.Input[float]] + class ClusterInitScriptVolumesArgsDict(TypedDict): + destination: pulumi.Input[str] """ - The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ elif False: - InstancePoolAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolAzureAttributesArgs: +class ClusterInitScriptVolumesArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): + destination: pulumi.Input[str]): """ - :param pulumi.Input[str] availability: Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. - :param pulumi.Input[float] spot_bid_max_price: The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - if availability is not None: - pulumi.set(__self__, "availability", availability) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - """ - Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. - """ - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: + def destination(self) -> pulumi.Input[str]: """ - The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "spot_bid_max_price") + return pulumi.get(self, "destination") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class InstancePoolDiskSpecArgsDict(TypedDict): - disk_count: NotRequired[pulumi.Input[int]] - """ - (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. - """ - disk_size: NotRequired[pulumi.Input[int]] + class ClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: pulumi.Input[str] """ - (Integer) The size of each disk (in GiB) to attach. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - disk_type: NotRequired[pulumi.Input['InstancePoolDiskSpecDiskTypeArgsDict']] elif False: - InstancePoolDiskSpecArgsDict: TypeAlias = Mapping[str, Any] + ClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolDiskSpecArgs: +class ClusterInitScriptWorkspaceArgs: def __init__(__self__, *, - disk_count: Optional[pulumi.Input[int]] = None, - disk_size: Optional[pulumi.Input[int]] = None, - disk_type: Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']] = None): - """ - :param pulumi.Input[int] disk_count: (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. - :param pulumi.Input[int] disk_size: (Integer) The size of each disk (in GiB) to attach. - """ - if disk_count is not None: - pulumi.set(__self__, "disk_count", disk_count) - if disk_size is not None: - pulumi.set(__self__, "disk_size", disk_size) - if disk_type is not None: - pulumi.set(__self__, "disk_type", disk_type) - - @property - @pulumi.getter(name="diskCount") - def disk_count(self) -> Optional[pulumi.Input[int]]: + destination: pulumi.Input[str]): """ - (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. + :param pulumi.Input[str] destination: S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "disk_count") - - @disk_count.setter - def disk_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "disk_count", value) + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="diskSize") - def disk_size(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def destination(self) -> pulumi.Input[str]: """ - (Integer) The size of each disk (in GiB) to attach. + S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys. """ - return pulumi.get(self, "disk_size") - - @disk_size.setter - def disk_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "disk_size", value) - - @property - @pulumi.getter(name="diskType") - def disk_type(self) -> Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']]: - return pulumi.get(self, "disk_type") + return pulumi.get(self, "destination") - @disk_type.setter - def disk_type(self, value: Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']]): - pulumi.set(self, "disk_type", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class InstancePoolDiskSpecDiskTypeArgsDict(TypedDict): - azure_disk_volume_type: NotRequired[pulumi.Input[str]] - ebs_volume_type: NotRequired[pulumi.Input[str]] + class ClusterLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['ClusterLibraryCranArgsDict']] + egg: NotRequired[pulumi.Input[str]] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['ClusterLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['ClusterLibraryPypiArgsDict']] + requirements: NotRequired[pulumi.Input[str]] + whl: NotRequired[pulumi.Input[str]] elif False: - InstancePoolDiskSpecDiskTypeArgsDict: TypeAlias = Mapping[str, Any] + ClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolDiskSpecDiskTypeArgs: +class ClusterLibraryArgs: def __init__(__self__, *, - azure_disk_volume_type: Optional[pulumi.Input[str]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None): - if azure_disk_volume_type is not None: - pulumi.set(__self__, "azure_disk_volume_type", azure_disk_volume_type) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + cran: Optional[pulumi.Input['ClusterLibraryCranArgs']] = None, + egg: Optional[pulumi.Input[str]] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['ClusterLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['ClusterLibraryPypiArgs']] = None, + requirements: Optional[pulumi.Input[str]] = None, + whl: Optional[pulumi.Input[str]] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property - @pulumi.getter(name="azureDiskVolumeType") - def azure_disk_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "azure_disk_volume_type") + @pulumi.getter + def cran(self) -> Optional[pulumi.Input['ClusterLibraryCranArgs']]: + return pulumi.get(self, "cran") - @azure_disk_volume_type.setter - def azure_disk_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "azure_disk_volume_type", value) + @cran.setter + def cran(self, value: Optional[pulumi.Input['ClusterLibraryCranArgs']]): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter + def egg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "egg") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) + @egg.setter + def egg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "egg", value) + @property + @pulumi.getter + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") -if not MYPY: - class InstancePoolGcpAttributesArgsDict(TypedDict): - gcp_availability: NotRequired[pulumi.Input[str]] - """ - Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - """ - local_ssd_count: NotRequired[pulumi.Input[int]] - """ - Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - """ - zone_id: NotRequired[pulumi.Input[str]] - """ - Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. - """ -elif False: - InstancePoolGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) -@pulumi.input_type -class InstancePoolGcpAttributesArgs: - def __init__(__self__, *, - gcp_availability: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] gcp_availability: Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - :param pulumi.Input[int] local_ssd_count: Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - :param pulumi.Input[str] zone_id: Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. - """ - if gcp_availability is not None: - pulumi.set(__self__, "gcp_availability", gcp_availability) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @property + @pulumi.getter + def maven(self) -> Optional[pulumi.Input['ClusterLibraryMavenArgs']]: + return pulumi.get(self, "maven") + + @maven.setter + def maven(self, value: Optional[pulumi.Input['ClusterLibraryMavenArgs']]): + pulumi.set(self, "maven", value) @property - @pulumi.getter(name="gcpAvailability") - def gcp_availability(self) -> Optional[pulumi.Input[str]]: - """ - Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. - """ - return pulumi.get(self, "gcp_availability") + @pulumi.getter + def pypi(self) -> Optional[pulumi.Input['ClusterLibraryPypiArgs']]: + return pulumi.get(self, "pypi") - @gcp_availability.setter - def gcp_availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gcp_availability", value) + @pypi.setter + def pypi(self, value: Optional[pulumi.Input['ClusterLibraryPypiArgs']]): + pulumi.set(self, "pypi", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - """ - Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. - """ - return pulumi.get(self, "local_ssd_count") + @pulumi.getter + def requirements(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "requirements") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) + @requirements.setter + def requirements(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. - """ - return pulumi.get(self, "zone_id") + @pulumi.getter + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) if not MYPY: - class InstancePoolInstancePoolFleetAttributesArgsDict(TypedDict): - launch_template_overrides: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgsDict']]] - fleet_on_demand_option: NotRequired[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgsDict']] - fleet_spot_option: NotRequired[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgsDict']] + class ClusterLibraryCranArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - InstancePoolInstancePoolFleetAttributesArgsDict: TypeAlias = Mapping[str, Any] + ClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolInstancePoolFleetAttributesArgs: +class ClusterLibraryCranArgs: def __init__(__self__, *, - launch_template_overrides: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]], - fleet_on_demand_option: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']] = None, - fleet_spot_option: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']] = None): - pulumi.set(__self__, "launch_template_overrides", launch_template_overrides) - if fleet_on_demand_option is not None: - pulumi.set(__self__, "fleet_on_demand_option", fleet_on_demand_option) - if fleet_spot_option is not None: - pulumi.set(__self__, "fleet_spot_option", fleet_spot_option) - - @property - @pulumi.getter(name="launchTemplateOverrides") - def launch_template_overrides(self) -> pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]]: - return pulumi.get(self, "launch_template_overrides") - - @launch_template_overrides.setter - def launch_template_overrides(self, value: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]]): - pulumi.set(self, "launch_template_overrides", value) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="fleetOnDemandOption") - def fleet_on_demand_option(self) -> Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']]: - return pulumi.get(self, "fleet_on_demand_option") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @fleet_on_demand_option.setter - def fleet_on_demand_option(self, value: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']]): - pulumi.set(self, "fleet_on_demand_option", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="fleetSpotOption") - def fleet_spot_option(self) -> Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']]: - return pulumi.get(self, "fleet_spot_option") + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @fleet_spot_option.setter - def fleet_spot_option(self, value: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']]): - pulumi.set(self, "fleet_spot_option", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgsDict(TypedDict): - allocation_strategy: pulumi.Input[str] - instance_pools_to_use_count: NotRequired[pulumi.Input[int]] + class ClusterLibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] elif False: - InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgsDict: TypeAlias = Mapping[str, Any] + ClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs: +class ClusterLibraryMavenArgs: def __init__(__self__, *, - allocation_strategy: pulumi.Input[str], - instance_pools_to_use_count: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "allocation_strategy", allocation_strategy) - if instance_pools_to_use_count is not None: - pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="allocationStrategy") - def allocation_strategy(self) -> pulumi.Input[str]: - return pulumi.get(self, "allocation_strategy") + @pulumi.getter + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") - @allocation_strategy.setter - def allocation_strategy(self, value: pulumi.Input[str]): - pulumi.set(self, "allocation_strategy", value) + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) @property - @pulumi.getter(name="instancePoolsToUseCount") - def instance_pools_to_use_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "instance_pools_to_use_count") + @pulumi.getter + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") - @instance_pools_to_use_count.setter - def instance_pools_to_use_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "instance_pools_to_use_count", value) + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) + + @property + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") + + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgsDict(TypedDict): - allocation_strategy: pulumi.Input[str] - instance_pools_to_use_count: NotRequired[pulumi.Input[int]] + class ClusterLibraryPypiArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgsDict: TypeAlias = Mapping[str, Any] + ClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs: +class ClusterLibraryPypiArgs: def __init__(__self__, *, - allocation_strategy: pulumi.Input[str], - instance_pools_to_use_count: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "allocation_strategy", allocation_strategy) - if instance_pools_to_use_count is not None: - pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="allocationStrategy") - def allocation_strategy(self) -> pulumi.Input[str]: - return pulumi.get(self, "allocation_strategy") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @allocation_strategy.setter - def allocation_strategy(self, value: pulumi.Input[str]): - pulumi.set(self, "allocation_strategy", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="instancePoolsToUseCount") - def instance_pools_to_use_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "instance_pools_to_use_count") + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @instance_pools_to_use_count.setter - def instance_pools_to_use_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "instance_pools_to_use_count", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgsDict(TypedDict): - availability_zone: pulumi.Input[str] - instance_type: pulumi.Input[str] + class ClusterPolicyLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['ClusterPolicyLibraryCranArgsDict']] + egg: NotRequired[pulumi.Input[str]] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['ClusterPolicyLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['ClusterPolicyLibraryPypiArgsDict']] + requirements: NotRequired[pulumi.Input[str]] + whl: NotRequired[pulumi.Input[str]] elif False: - InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgsDict: TypeAlias = Mapping[str, Any] + ClusterPolicyLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs: +class ClusterPolicyLibraryArgs: def __init__(__self__, *, - availability_zone: pulumi.Input[str], - instance_type: pulumi.Input[str]): - pulumi.set(__self__, "availability_zone", availability_zone) - pulumi.set(__self__, "instance_type", instance_type) + cran: Optional[pulumi.Input['ClusterPolicyLibraryCranArgs']] = None, + egg: Optional[pulumi.Input[str]] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['ClusterPolicyLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['ClusterPolicyLibraryPypiArgs']] = None, + requirements: Optional[pulumi.Input[str]] = None, + whl: Optional[pulumi.Input[str]] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property - @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> pulumi.Input[str]: - return pulumi.get(self, "availability_zone") + @pulumi.getter + def cran(self) -> Optional[pulumi.Input['ClusterPolicyLibraryCranArgs']]: + return pulumi.get(self, "cran") - @availability_zone.setter - def availability_zone(self, value: pulumi.Input[str]): - pulumi.set(self, "availability_zone", value) + @cran.setter + def cran(self, value: Optional[pulumi.Input['ClusterPolicyLibraryCranArgs']]): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="instanceType") - def instance_type(self) -> pulumi.Input[str]: - return pulumi.get(self, "instance_type") + @pulumi.getter + def egg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "egg") - @instance_type.setter - def instance_type(self, value: pulumi.Input[str]): - pulumi.set(self, "instance_type", value) + @egg.setter + def egg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "egg", value) + @property + @pulumi.getter + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") -if not MYPY: - class InstancePoolPreloadedDockerImageArgsDict(TypedDict): - url: pulumi.Input[str] - """ - URL for the Docker image - """ - basic_auth: NotRequired[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgsDict']] - """ - `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) - Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + @property + @pulumi.getter + def maven(self) -> Optional[pulumi.Input['ClusterPolicyLibraryMavenArgs']]: + return pulumi.get(self, "maven") - ```python - import pulumi - import pulumi_databricks as databricks - import pulumi_docker as docker + @maven.setter + def maven(self, value: Optional[pulumi.Input['ClusterPolicyLibraryMavenArgs']]): + pulumi.set(self, "maven", value) - this = docker.index.RegistryImage("this", - build=[{}], - name=f{this_azurerm_container_registry.login_server}/sample:latest) - this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{ - "url": this["name"], - "basic_auth": { - "username": this_azurerm_container_registry["adminUsername"], - "password": this_azurerm_container_registry["adminPassword"], - }, - }]) - ``` - """ + @property + @pulumi.getter + def pypi(self) -> Optional[pulumi.Input['ClusterPolicyLibraryPypiArgs']]: + return pulumi.get(self, "pypi") + + @pypi.setter + def pypi(self, value: Optional[pulumi.Input['ClusterPolicyLibraryPypiArgs']]): + pulumi.set(self, "pypi", value) + + @property + @pulumi.getter + def requirements(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "requirements") + + @requirements.setter + def requirements(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements", value) + + @property + @pulumi.getter + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") + + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) + + +if not MYPY: + class ClusterPolicyLibraryCranArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - InstancePoolPreloadedDockerImageArgsDict: TypeAlias = Mapping[str, Any] + ClusterPolicyLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolPreloadedDockerImageArgs: +class ClusterPolicyLibraryCranArgs: def __init__(__self__, *, - url: pulumi.Input[str], - basic_auth: Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']] = None): - """ - :param pulumi.Input[str] url: URL for the Docker image - :param pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - - Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: - - ```python - import pulumi - import pulumi_databricks as databricks - import pulumi_docker as docker - - this = docker.index.RegistryImage("this", - build=[{}], - name=f{this_azurerm_container_registry.login_server}/sample:latest) - this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{ - "url": this["name"], - "basic_auth": { - "username": this_azurerm_container_registry["adminUsername"], - "password": this_azurerm_container_registry["adminPassword"], - }, - }]) - ``` - """ - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: - """ - URL for the Docker image - """ - return pulumi.get(self, "url") + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']]: - """ - `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - ```python - import pulumi - import pulumi_databricks as databricks - import pulumi_docker as docker - this = docker.index.RegistryImage("this", - build=[{}], - name=f{this_azurerm_container_registry.login_server}/sample:latest) - this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{ - "url": this["name"], - "basic_auth": { - "username": this_azurerm_container_registry["adminUsername"], - "password": this_azurerm_container_registry["adminPassword"], - }, - }]) - ``` - """ - return pulumi.get(self, "basic_auth") +if not MYPY: + class ClusterPolicyLibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] +elif False: + ClusterPolicyLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] - @basic_auth.setter - def basic_auth(self, value: Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']]): - pulumi.set(self, "basic_auth", value) +@pulumi.input_type +class ClusterPolicyLibraryMavenArgs: + def __init__(__self__, *, + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) + + @property + @pulumi.getter + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") + + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) + + @property + @pulumi.getter + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") + + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) + + @property + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") + + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class InstancePoolPreloadedDockerImageBasicAuthArgsDict(TypedDict): - password: pulumi.Input[str] - username: pulumi.Input[str] + class ClusterPolicyLibraryPypiArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - InstancePoolPreloadedDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + ClusterPolicyLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class InstancePoolPreloadedDockerImageBasicAuthArgs: +class ClusterPolicyLibraryPypiArgs: def __init__(__self__, *, - password: pulumi.Input[str], - username: pulumi.Input[str]): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class JobContinuousArgsDict(TypedDict): - pause_status: NotRequired[pulumi.Input[str]] - """ - Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ + class ClusterWorkloadTypeArgsDict(TypedDict): + clients: pulumi.Input['ClusterWorkloadTypeClientsArgsDict'] elif False: - JobContinuousArgsDict: TypeAlias = Mapping[str, Any] + ClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobContinuousArgs: +class ClusterWorkloadTypeArgs: def __init__(__self__, *, - pause_status: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] pause_status: Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) + clients: pulumi.Input['ClusterWorkloadTypeClientsArgs']): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[pulumi.Input[str]]: - """ - Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ - return pulumi.get(self, "pause_status") + @pulumi.getter + def clients(self) -> pulumi.Input['ClusterWorkloadTypeClientsArgs']: + return pulumi.get(self, "clients") - @pause_status.setter - def pause_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pause_status", value) + @clients.setter + def clients(self, value: pulumi.Input['ClusterWorkloadTypeClientsArgs']): + pulumi.set(self, "clients", value) if not MYPY: - class JobDbtTaskArgsDict(TypedDict): - commands: pulumi.Input[Sequence[pulumi.Input[str]]] + class ClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[pulumi.Input[bool]] """ - (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - """ - catalog: NotRequired[pulumi.Input[str]] - """ - The name of the catalog to use inside Unity Catalog. - """ - profiles_directory: NotRequired[pulumi.Input[str]] - """ - The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - """ - project_directory: NotRequired[pulumi.Input[str]] - """ - The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - """ - schema: NotRequired[pulumi.Input[str]] - """ - The name of the schema dbt should run in. Defaults to `default`. - """ - source: NotRequired[pulumi.Input[str]] - """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. + + ```python + import pulumi + import pulumi_databricks as databricks + + with_nfs = databricks.Cluster("with_nfs", workload_type={ + "clients": { + "jobs": False, + "notebooks": True, + }, + }) + ``` """ - warehouse_id: NotRequired[pulumi.Input[str]] + notebooks: NotRequired[pulumi.Input[bool]] """ - The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. + boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. """ elif False: - JobDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + ClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobDbtTaskArgs: +class ClusterWorkloadTypeClientsArgs: def __init__(__self__, *, - commands: pulumi.Input[Sequence[pulumi.Input[str]]], - catalog: Optional[pulumi.Input[str]] = None, - profiles_directory: Optional[pulumi.Input[str]] = None, - project_directory: Optional[pulumi.Input[str]] = None, - schema: Optional[pulumi.Input[str]] = None, - source: Optional[pulumi.Input[str]] = None, - warehouse_id: Optional[pulumi.Input[str]] = None): + jobs: Optional[pulumi.Input[bool]] = None, + notebooks: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] commands: (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - :param pulumi.Input[str] catalog: The name of the catalog to use inside Unity Catalog. - :param pulumi.Input[str] profiles_directory: The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - :param pulumi.Input[str] project_directory: The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - :param pulumi.Input[str] schema: The name of the schema dbt should run in. Defaults to `default`. - :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. - :param pulumi.Input[str] warehouse_id: The ID of the SQL warehouse that dbt should execute against. + :param pulumi.Input[bool] jobs: boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - You also need to include a `git_source` block to configure the repository that contains the dbt project. + ```python + import pulumi + import pulumi_databricks as databricks + + with_nfs = databricks.Cluster("with_nfs", workload_type={ + "clients": { + "jobs": False, + "notebooks": True, + }, + }) + ``` + :param pulumi.Input[bool] notebooks: boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. """ - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def commands(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + def jobs(self) -> Optional[pulumi.Input[bool]]: """ - return pulumi.get(self, "commands") + boolean flag defining if it's possible to run Databricks Jobs on this cluster. Default: `true`. - @commands.setter - def commands(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "commands", value) + ```python + import pulumi + import pulumi_databricks as databricks - @property - @pulumi.getter - def catalog(self) -> Optional[pulumi.Input[str]]: - """ - The name of the catalog to use inside Unity Catalog. + with_nfs = databricks.Cluster("with_nfs", workload_type={ + "clients": { + "jobs": False, + "notebooks": True, + }, + }) + ``` """ - return pulumi.get(self, "catalog") + return pulumi.get(self, "jobs") - @catalog.setter - def catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "catalog", value) + @jobs.setter + def jobs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "jobs", value) @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def notebooks(self) -> Optional[pulumi.Input[bool]]: """ - The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + boolean flag defining if it's possible to run notebooks on this cluster. Default: `true`. """ - return pulumi.get(self, "profiles_directory") - - @profiles_directory.setter - def profiles_directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "profiles_directory", value) + return pulumi.get(self, "notebooks") - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[pulumi.Input[str]]: - """ - The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - """ - return pulumi.get(self, "project_directory") + @notebooks.setter + def notebooks(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "notebooks", value) - @project_directory.setter - def project_directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "project_directory", value) - @property - @pulumi.getter - def schema(self) -> Optional[pulumi.Input[str]]: - """ - The name of the schema dbt should run in. Defaults to `default`. - """ - return pulumi.get(self, "schema") +if not MYPY: + class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgsDict(TypedDict): + compliance_standards: pulumi.Input[Sequence[pulumi.Input[str]]] + is_enabled: pulumi.Input[bool] +elif False: + ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgsDict: TypeAlias = Mapping[str, Any] - @schema.setter - def schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema", value) +@pulumi.input_type +class ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspaceArgs: + def __init__(__self__, *, + compliance_standards: pulumi.Input[Sequence[pulumi.Input[str]]], + is_enabled: pulumi.Input[bool]): + pulumi.set(__self__, "compliance_standards", compliance_standards) + pulumi.set(__self__, "is_enabled", is_enabled) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="complianceStandards") + def compliance_standards(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "compliance_standards") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @compliance_standards.setter + def compliance_standards(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "compliance_standards", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. - """ - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Input[bool]: + return pulumi.get(self, "is_enabled") - @warehouse_id.setter - def warehouse_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "warehouse_id", value) + @is_enabled.setter + def is_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_enabled", value) if not MYPY: - class JobDeploymentArgsDict(TypedDict): - kind: pulumi.Input[str] - metadata_file_path: NotRequired[pulumi.Input[str]] + class CredentialAwsIamRoleArgsDict(TypedDict): + external_id: NotRequired[pulumi.Input[str]] + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + """ + unity_catalog_iam_arn: NotRequired[pulumi.Input[str]] elif False: - JobDeploymentArgsDict: TypeAlias = Mapping[str, Any] + CredentialAwsIamRoleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobDeploymentArgs: +class CredentialAwsIamRoleArgs: def __init__(__self__, *, - kind: pulumi.Input[str], - metadata_file_path: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "kind", kind) - if metadata_file_path is not None: - pulumi.set(__self__, "metadata_file_path", metadata_file_path) + external_id: Optional[pulumi.Input[str]] = None, + role_arn: Optional[pulumi.Input[str]] = None, + unity_catalog_iam_arn: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] role_arn: The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if role_arn is not None: + pulumi.set(__self__, "role_arn", role_arn) + if unity_catalog_iam_arn is not None: + pulumi.set(__self__, "unity_catalog_iam_arn", unity_catalog_iam_arn) @property - @pulumi.getter - def kind(self) -> pulumi.Input[str]: - return pulumi.get(self, "kind") + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "external_id") - @kind.setter - def kind(self, value: pulumi.Input[str]): - pulumi.set(self, "kind", value) + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) @property - @pulumi.getter(name="metadataFilePath") - def metadata_file_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "metadata_file_path") + @pulumi.getter(name="roleArn") + def role_arn(self) -> Optional[pulumi.Input[str]]: + """ + The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - @metadata_file_path.setter - def metadata_file_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metadata_file_path", value) + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + """ + return pulumi.get(self, "role_arn") + + @role_arn.setter + def role_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_arn", value) + @property + @pulumi.getter(name="unityCatalogIamArn") + def unity_catalog_iam_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "unity_catalog_iam_arn") -if not MYPY: - class JobEmailNotificationsArgsDict(TypedDict): - no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). - """ - on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @unity_catalog_iam_arn.setter + def unity_catalog_iam_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "unity_catalog_iam_arn", value) - The following parameter is only available for the job level configuration. - """ - on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + +if not MYPY: + class CredentialAzureManagedIdentityArgsDict(TypedDict): + access_connector_id: pulumi.Input[str] """ - (List) list of emails to notify when the run fails. + The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. """ - on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + credential_id: NotRequired[pulumi.Input[str]] """ - (List) list of emails to notify when the run starts. + Unique ID of the credential. """ - on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + managed_identity_id: NotRequired[pulumi.Input[str]] """ - (List) list of emails to notify when the run completes successfully. + The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): """ elif False: - JobEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + CredentialAzureManagedIdentityArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobEmailNotificationsArgs: +class CredentialAzureManagedIdentityArgs: def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, - on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + access_connector_id: pulumi.Input[str], + credential_id: Optional[pulumi.Input[str]] = None, + managed_identity_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_duration_warning_threshold_exceededs: (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + :param pulumi.Input[str] access_connector_id: The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + :param pulumi.Input[str] credential_id: Unique ID of the credential. + :param pulumi.Input[str] managed_identity_id: The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. - The following parameter is only available for the job level configuration. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_failures: (List) list of emails to notify when the run fails. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_starts: (List) list of emails to notify when the run starts. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_successes: (List) list of emails to notify when the run completes successfully. + `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): """ - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + pulumi.set(__self__, "access_connector_id", access_connector_id) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if managed_identity_id is not None: + pulumi.set(__self__, "managed_identity_id", managed_identity_id) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="accessConnectorId") + def access_connector_id(self) -> pulumi.Input[str]: """ - (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. """ - return pulumi.get(self, "no_alert_for_skipped_runs") + return pulumi.get(self, "access_connector_id") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @access_connector_id.setter + def access_connector_id(self, value: pulumi.Input[str]): + pulumi.set(self, "access_connector_id", value) @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: """ - (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - - The following parameter is only available for the job level configuration. + Unique ID of the credential. """ - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + return pulumi.get(self, "credential_id") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) list of emails to notify when the run fails. + @pulumi.getter(name="managedIdentityId") + def managed_identity_id(self) -> Optional[pulumi.Input[str]]: """ - return pulumi.get(self, "on_failures") - - @on_failures.setter - def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_failures", value) + The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. - @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) list of emails to notify when the run starts. + `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): """ - return pulumi.get(self, "on_starts") - - @on_starts.setter - def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_starts", value) + return pulumi.get(self, "managed_identity_id") - @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @managed_identity_id.setter + def managed_identity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_identity_id", value) - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) - @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: +if not MYPY: + class CredentialAzureServicePrincipalArgsDict(TypedDict): + application_id: pulumi.Input[str] """ - (List) list of emails to notify when the run completes successfully. + The application ID of the application registration within the referenced AAD tenant """ - return pulumi.get(self, "on_successes") - - @on_successes.setter - def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_successes", value) - - -if not MYPY: - class JobEnvironmentArgsDict(TypedDict): - environment_key: pulumi.Input[str] + client_secret: pulumi.Input[str] """ - an unique identifier of the Environment. It will be referenced from `environment_key` attribute of corresponding task. + The client secret generated for the above app ID in AAD. **This field is redacted on output** + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: """ - spec: NotRequired[pulumi.Input['JobEnvironmentSpecArgsDict']] + directory_id: pulumi.Input[str] """ - block describing the Environment. Consists of following attributes: + The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application """ elif False: - JobEnvironmentArgsDict: TypeAlias = Mapping[str, Any] + CredentialAzureServicePrincipalArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobEnvironmentArgs: +class CredentialAzureServicePrincipalArgs: def __init__(__self__, *, - environment_key: pulumi.Input[str], - spec: Optional[pulumi.Input['JobEnvironmentSpecArgs']] = None): + application_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + directory_id: pulumi.Input[str]): """ - :param pulumi.Input[str] environment_key: an unique identifier of the Environment. It will be referenced from `environment_key` attribute of corresponding task. - :param pulumi.Input['JobEnvironmentSpecArgs'] spec: block describing the Environment. Consists of following attributes: + :param pulumi.Input[str] application_id: The application ID of the application registration within the referenced AAD tenant + :param pulumi.Input[str] client_secret: The client secret generated for the above app ID in AAD. **This field is redacted on output** + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + :param pulumi.Input[str] directory_id: The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application """ - pulumi.set(__self__, "environment_key", environment_key) - if spec is not None: - pulumi.set(__self__, "spec", spec) + pulumi.set(__self__, "application_id", application_id) + pulumi.set(__self__, "client_secret", client_secret) + pulumi.set(__self__, "directory_id", directory_id) @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> pulumi.Input[str]: + @pulumi.getter(name="applicationId") + def application_id(self) -> pulumi.Input[str]: """ - an unique identifier of the Environment. It will be referenced from `environment_key` attribute of corresponding task. + The application ID of the application registration within the referenced AAD tenant """ - return pulumi.get(self, "environment_key") + return pulumi.get(self, "application_id") - @environment_key.setter - def environment_key(self, value: pulumi.Input[str]): - pulumi.set(self, "environment_key", value) + @application_id.setter + def application_id(self, value: pulumi.Input[str]): + pulumi.set(self, "application_id", value) @property - @pulumi.getter - def spec(self) -> Optional[pulumi.Input['JobEnvironmentSpecArgs']]: + @pulumi.getter(name="clientSecret") + def client_secret(self) -> pulumi.Input[str]: """ - block describing the Environment. Consists of following attributes: + The client secret generated for the above app ID in AAD. **This field is redacted on output** + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: """ - return pulumi.get(self, "spec") + return pulumi.get(self, "client_secret") - @spec.setter - def spec(self, value: Optional[pulumi.Input['JobEnvironmentSpecArgs']]): - pulumi.set(self, "spec", value) + @client_secret.setter + def client_secret(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret", value) + + @property + @pulumi.getter(name="directoryId") + def directory_id(self) -> pulumi.Input[str]: + """ + The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + """ + return pulumi.get(self, "directory_id") + + @directory_id.setter + def directory_id(self, value: pulumi.Input[str]): + pulumi.set(self, "directory_id", value) if not MYPY: - class JobEnvironmentSpecArgsDict(TypedDict): - client: pulumi.Input[str] + class CredentialDatabricksGcpServiceAccountArgsDict(TypedDict): + credential_id: NotRequired[pulumi.Input[str]] """ - client version used by the environment. + Unique ID of the credential. """ - dependencies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + email: NotRequired[pulumi.Input[str]] """ - List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + The email of the GCP service account created, to be granted access to relevant buckets. """ + private_key_id: NotRequired[pulumi.Input[str]] elif False: - JobEnvironmentSpecArgsDict: TypeAlias = Mapping[str, Any] + CredentialDatabricksGcpServiceAccountArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobEnvironmentSpecArgs: +class CredentialDatabricksGcpServiceAccountArgs: def __init__(__self__, *, - client: pulumi.Input[str], - dependencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + credential_id: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + private_key_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] client: client version used by the environment. - :param pulumi.Input[Sequence[pulumi.Input[str]]] dependencies: List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + :param pulumi.Input[str] credential_id: Unique ID of the credential. + :param pulumi.Input[str] email: The email of the GCP service account created, to be granted access to relevant buckets. """ - pulumi.set(__self__, "client", client) - if dependencies is not None: - pulumi.set(__self__, "dependencies", dependencies) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if email is not None: + pulumi.set(__self__, "email", email) + if private_key_id is not None: + pulumi.set(__self__, "private_key_id", private_key_id) @property - @pulumi.getter - def client(self) -> pulumi.Input[str]: + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: """ - client version used by the environment. + Unique ID of the credential. """ - return pulumi.get(self, "client") + return pulumi.get(self, "credential_id") - @client.setter - def client(self, value: pulumi.Input[str]): - pulumi.set(self, "client", value) + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) @property @pulumi.getter - def dependencies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def email(self) -> Optional[pulumi.Input[str]]: """ - List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + The email of the GCP service account created, to be granted access to relevant buckets. """ - return pulumi.get(self, "dependencies") + return pulumi.get(self, "email") - @dependencies.setter - def dependencies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "dependencies", value) + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "private_key_id") + + @private_key_id.setter + def private_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key_id", value) if not MYPY: - class JobGitSourceArgsDict(TypedDict): - url: pulumi.Input[str] - """ - URL of the Git repository to use. - """ - branch: NotRequired[pulumi.Input[str]] - """ - name of the Git branch to use. Conflicts with `tag` and `commit`. - """ - commit: NotRequired[pulumi.Input[str]] - """ - hash of Git commit to use. Conflicts with `branch` and `tag`. - """ - git_snapshot: NotRequired[pulumi.Input['JobGitSourceGitSnapshotArgsDict']] - job_source: NotRequired[pulumi.Input['JobGitSourceJobSourceArgsDict']] - provider: NotRequired[pulumi.Input[str]] + class CustomAppIntegrationTokenAccessPolicyArgsDict(TypedDict): + access_token_ttl_in_minutes: NotRequired[pulumi.Input[int]] """ - case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + access token time to live (TTL) in minutes. """ - tag: NotRequired[pulumi.Input[str]] + refresh_token_ttl_in_minutes: NotRequired[pulumi.Input[int]] """ - name of the Git branch to use. Conflicts with `branch` and `commit`. + refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. """ elif False: - JobGitSourceArgsDict: TypeAlias = Mapping[str, Any] + CustomAppIntegrationTokenAccessPolicyArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobGitSourceArgs: +class CustomAppIntegrationTokenAccessPolicyArgs: def __init__(__self__, *, - url: pulumi.Input[str], - branch: Optional[pulumi.Input[str]] = None, - commit: Optional[pulumi.Input[str]] = None, - git_snapshot: Optional[pulumi.Input['JobGitSourceGitSnapshotArgs']] = None, - job_source: Optional[pulumi.Input['JobGitSourceJobSourceArgs']] = None, - provider: Optional[pulumi.Input[str]] = None, - tag: Optional[pulumi.Input[str]] = None): + access_token_ttl_in_minutes: Optional[pulumi.Input[int]] = None, + refresh_token_ttl_in_minutes: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[str] url: URL of the Git repository to use. - :param pulumi.Input[str] branch: name of the Git branch to use. Conflicts with `tag` and `commit`. - :param pulumi.Input[str] commit: hash of Git commit to use. Conflicts with `branch` and `tag`. - :param pulumi.Input[str] provider: case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. - :param pulumi.Input[str] tag: name of the Git branch to use. Conflicts with `branch` and `commit`. + :param pulumi.Input[int] access_token_ttl_in_minutes: access token time to live (TTL) in minutes. + :param pulumi.Input[int] refresh_token_ttl_in_minutes: refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. """ - pulumi.set(__self__, "url", url) - if branch is not None: - pulumi.set(__self__, "branch", branch) - if commit is not None: - pulumi.set(__self__, "commit", commit) - if git_snapshot is not None: - pulumi.set(__self__, "git_snapshot", git_snapshot) - if job_source is not None: - pulumi.set(__self__, "job_source", job_source) - if provider is not None: - pulumi.set(__self__, "provider", provider) - if tag is not None: - pulumi.set(__self__, "tag", tag) + if access_token_ttl_in_minutes is not None: + pulumi.set(__self__, "access_token_ttl_in_minutes", access_token_ttl_in_minutes) + if refresh_token_ttl_in_minutes is not None: + pulumi.set(__self__, "refresh_token_ttl_in_minutes", refresh_token_ttl_in_minutes) @property - @pulumi.getter - def url(self) -> pulumi.Input[str]: + @pulumi.getter(name="accessTokenTtlInMinutes") + def access_token_ttl_in_minutes(self) -> Optional[pulumi.Input[int]]: """ - URL of the Git repository to use. + access token time to live (TTL) in minutes. """ - return pulumi.get(self, "url") + return pulumi.get(self, "access_token_ttl_in_minutes") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @access_token_ttl_in_minutes.setter + def access_token_ttl_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "access_token_ttl_in_minutes", value) @property - @pulumi.getter - def branch(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="refreshTokenTtlInMinutes") + def refresh_token_ttl_in_minutes(self) -> Optional[pulumi.Input[int]]: """ - name of the Git branch to use. Conflicts with `tag` and `commit`. + refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token. """ - return pulumi.get(self, "branch") + return pulumi.get(self, "refresh_token_ttl_in_minutes") - @branch.setter - def branch(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "branch", value) + @refresh_token_ttl_in_minutes.setter + def refresh_token_ttl_in_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "refresh_token_ttl_in_minutes", value) - @property - @pulumi.getter - def commit(self) -> Optional[pulumi.Input[str]]: + +if not MYPY: + class DefaultNamespaceSettingNamespaceArgsDict(TypedDict): + value: NotRequired[pulumi.Input[str]] """ - hash of Git commit to use. Conflicts with `branch` and `tag`. + The value for the setting. """ - return pulumi.get(self, "commit") - - @commit.setter - def commit(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "commit", value) - - @property - @pulumi.getter(name="gitSnapshot") - def git_snapshot(self) -> Optional[pulumi.Input['JobGitSourceGitSnapshotArgs']]: - return pulumi.get(self, "git_snapshot") - - @git_snapshot.setter - def git_snapshot(self, value: Optional[pulumi.Input['JobGitSourceGitSnapshotArgs']]): - pulumi.set(self, "git_snapshot", value) - - @property - @pulumi.getter(name="jobSource") - def job_source(self) -> Optional[pulumi.Input['JobGitSourceJobSourceArgs']]: - return pulumi.get(self, "job_source") - - @job_source.setter - def job_source(self, value: Optional[pulumi.Input['JobGitSourceJobSourceArgs']]): - pulumi.set(self, "job_source", value) +elif False: + DefaultNamespaceSettingNamespaceArgsDict: TypeAlias = Mapping[str, Any] - @property - @pulumi.getter - def provider(self) -> Optional[pulumi.Input[str]]: +@pulumi.input_type +class DefaultNamespaceSettingNamespaceArgs: + def __init__(__self__, *, + value: Optional[pulumi.Input[str]] = None): """ - case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + :param pulumi.Input[str] value: The value for the setting. """ - return pulumi.get(self, "provider") - - @provider.setter - def provider(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "provider", value) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def tag(self) -> Optional[pulumi.Input[str]]: + def value(self) -> Optional[pulumi.Input[str]]: """ - name of the Git branch to use. Conflicts with `branch` and `commit`. + The value for the setting. """ - return pulumi.get(self, "tag") + return pulumi.get(self, "value") - @tag.setter - def tag(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tag", value) + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) if not MYPY: - class JobGitSourceGitSnapshotArgsDict(TypedDict): - used_commit: NotRequired[pulumi.Input[str]] + class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgsDict(TypedDict): + is_enabled: pulumi.Input[bool] elif False: - JobGitSourceGitSnapshotArgsDict: TypeAlias = Mapping[str, Any] + EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobGitSourceGitSnapshotArgs: +class EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspaceArgs: def __init__(__self__, *, - used_commit: Optional[pulumi.Input[str]] = None): - if used_commit is not None: - pulumi.set(__self__, "used_commit", used_commit) + is_enabled: pulumi.Input[bool]): + pulumi.set(__self__, "is_enabled", is_enabled) @property - @pulumi.getter(name="usedCommit") - def used_commit(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "used_commit") + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> pulumi.Input[bool]: + return pulumi.get(self, "is_enabled") - @used_commit.setter - def used_commit(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "used_commit", value) + @is_enabled.setter + def is_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_enabled", value) if not MYPY: - class JobGitSourceJobSourceArgsDict(TypedDict): - import_from_git_branch: pulumi.Input[str] - job_config_path: pulumi.Input[str] - dirty_state: NotRequired[pulumi.Input[str]] + class ExternalLocationEncryptionDetailsArgsDict(TypedDict): + sse_encryption_details: NotRequired[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgsDict']] elif False: - JobGitSourceJobSourceArgsDict: TypeAlias = Mapping[str, Any] + ExternalLocationEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobGitSourceJobSourceArgs: +class ExternalLocationEncryptionDetailsArgs: def __init__(__self__, *, - import_from_git_branch: pulumi.Input[str], - job_config_path: pulumi.Input[str], - dirty_state: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "import_from_git_branch", import_from_git_branch) - pulumi.set(__self__, "job_config_path", job_config_path) - if dirty_state is not None: - pulumi.set(__self__, "dirty_state", dirty_state) + sse_encryption_details: Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']] = None): + if sse_encryption_details is not None: + pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) @property - @pulumi.getter(name="importFromGitBranch") - def import_from_git_branch(self) -> pulumi.Input[str]: - return pulumi.get(self, "import_from_git_branch") + @pulumi.getter(name="sseEncryptionDetails") + def sse_encryption_details(self) -> Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']]: + return pulumi.get(self, "sse_encryption_details") - @import_from_git_branch.setter - def import_from_git_branch(self, value: pulumi.Input[str]): - pulumi.set(self, "import_from_git_branch", value) + @sse_encryption_details.setter + def sse_encryption_details(self, value: Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']]): + pulumi.set(self, "sse_encryption_details", value) + + +if not MYPY: + class ExternalLocationEncryptionDetailsSseEncryptionDetailsArgsDict(TypedDict): + algorithm: NotRequired[pulumi.Input[str]] + aws_kms_key_arn: NotRequired[pulumi.Input[str]] +elif False: + ExternalLocationEncryptionDetailsSseEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs: + def __init__(__self__, *, + algorithm: Optional[pulumi.Input[str]] = None, + aws_kms_key_arn: Optional[pulumi.Input[str]] = None): + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if aws_kms_key_arn is not None: + pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) @property - @pulumi.getter(name="jobConfigPath") - def job_config_path(self) -> pulumi.Input[str]: - return pulumi.get(self, "job_config_path") + @pulumi.getter + def algorithm(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "algorithm") - @job_config_path.setter - def job_config_path(self, value: pulumi.Input[str]): - pulumi.set(self, "job_config_path", value) + @algorithm.setter + def algorithm(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "algorithm", value) @property - @pulumi.getter(name="dirtyState") - def dirty_state(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dirty_state") + @pulumi.getter(name="awsKmsKeyArn") + def aws_kms_key_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aws_kms_key_arn") - @dirty_state.setter - def dirty_state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dirty_state", value) + @aws_kms_key_arn.setter + def aws_kms_key_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_kms_key_arn", value) if not MYPY: - class JobHealthArgsDict(TypedDict): - rules: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgsDict']]] - """ - list of rules that are represented as objects with the following attributes: - """ + class GrantsGrantArgsDict(TypedDict): + principal: pulumi.Input[str] + privileges: pulumi.Input[Sequence[pulumi.Input[str]]] elif False: - JobHealthArgsDict: TypeAlias = Mapping[str, Any] + GrantsGrantArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobHealthArgs: +class GrantsGrantArgs: def __init__(__self__, *, - rules: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]]): - """ - :param pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]] rules: list of rules that are represented as objects with the following attributes: - """ - pulumi.set(__self__, "rules", rules) + principal: pulumi.Input[str], + privileges: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(__self__, "principal", principal) + pulumi.set(__self__, "privileges", privileges) @property @pulumi.getter - def rules(self) -> pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]]: - """ - list of rules that are represented as objects with the following attributes: - """ - return pulumi.get(self, "rules") + def principal(self) -> pulumi.Input[str]: + return pulumi.get(self, "principal") - @rules.setter - def rules(self, value: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]]): - pulumi.set(self, "rules", value) + @principal.setter + def principal(self, value: pulumi.Input[str]): + pulumi.set(self, "principal", value) + + @property + @pulumi.getter + def privileges(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "privileges") + + @privileges.setter + def privileges(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "privileges", value) if not MYPY: - class JobHealthRuleArgsDict(TypedDict): - metric: pulumi.Input[str] + class InstancePoolAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] """ - string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. """ - op: pulumi.Input[str] + spot_bid_price_percent: NotRequired[pulumi.Input[int]] """ - string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* """ - value: pulumi.Input[int] + zone_id: NotRequired[pulumi.Input[str]] """ - integer value used to compare to the given metric. + (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). """ elif False: - JobHealthRuleArgsDict: TypeAlias = Mapping[str, Any] + InstancePoolAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobHealthRuleArgs: +class InstancePoolAwsAttributesArgs: def __init__(__self__, *, - metric: pulumi.Input[str], - op: pulumi.Input[str], - value: pulumi.Input[int]): + availability: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] metric: string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - :param pulumi.Input[str] op: string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - :param pulumi.Input[int] value: integer value used to compare to the given metric. + :param pulumi.Input[str] availability: (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. + :param pulumi.Input[int] spot_bid_price_percent: (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* + :param pulumi.Input[str] zone_id: (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). """ - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def metric(self) -> pulumi.Input[str]: + def availability(self) -> Optional[pulumi.Input[str]]: """ - string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + (String) Availability type used for all instances in the pool. Only `ON_DEMAND` and `SPOT` are supported. """ - return pulumi.get(self, "metric") + return pulumi.get(self, "availability") - @metric.setter - def metric(self, value: pulumi.Input[str]): - pulumi.set(self, "metric", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def op(self) -> pulumi.Input[str]: + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: """ - string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + (Integer) The max price for AWS spot instances, as a percentage of the corresponding instance type’s on-demand price. For example, if this field is set to 50, and the instance pool needs a new i3.xlarge spot instance, then the max price is half of the price of on-demand i3.xlarge instances. Similarly, if this field is set to 200, the max price is twice the price of on-demand i3.xlarge instances. If not specified, the *default value is 100*. When spot instances are requested for this instance pool, only spot instances whose max price percentage matches this field are considered. *For safety, this field cannot be greater than 10000.* """ - return pulumi.get(self, "op") + return pulumi.get(self, "spot_bid_price_percent") - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) @property - @pulumi.getter - def value(self) -> pulumi.Input[int]: + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: """ - integer value used to compare to the given metric. + (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones). """ - return pulumi.get(self, "value") + return pulumi.get(self, "zone_id") - @value.setter - def value(self, value: pulumi.Input[int]): - pulumi.set(self, "value", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobJobClusterArgsDict(TypedDict): - job_cluster_key: pulumi.Input[str] + class InstancePoolAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] """ - Identifier that can be referenced in `task` block, so that cluster is shared between tasks + Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. """ - new_cluster: pulumi.Input['JobJobClusterNewClusterArgsDict'] + spot_bid_max_price: NotRequired[pulumi.Input[float]] """ - Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. """ elif False: - JobJobClusterArgsDict: TypeAlias = Mapping[str, Any] + InstancePoolAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterArgs: +class InstancePoolAzureAttributesArgs: def __init__(__self__, *, - job_cluster_key: pulumi.Input[str], - new_cluster: pulumi.Input['JobJobClusterNewClusterArgs']): + availability: Optional[pulumi.Input[str]] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): """ - :param pulumi.Input[str] job_cluster_key: Identifier that can be referenced in `task` block, so that cluster is shared between tasks - :param pulumi.Input['JobJobClusterNewClusterArgs'] new_cluster: Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + :param pulumi.Input[str] availability: Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. + :param pulumi.Input[float] spot_bid_max_price: The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. """ - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - pulumi.set(__self__, "new_cluster", new_cluster) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> pulumi.Input[str]: + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: """ - Identifier that can be referenced in `task` block, so that cluster is shared between tasks + Availability type used for all nodes. Valid values are `SPOT_AZURE` and `ON_DEMAND_AZURE`. """ - return pulumi.get(self, "job_cluster_key") + return pulumi.get(self, "availability") - @job_cluster_key.setter - def job_cluster_key(self, value: pulumi.Input[str]): - pulumi.set(self, "job_cluster_key", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> pulumi.Input['JobJobClusterNewClusterArgs']: + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: """ - Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + The max bid price used for Azure spot instances. You can set this to greater than or equal to the current spot price. You can also set this to `-1`, which specifies that the instance cannot be evicted on the basis of price. The price for the instance will be the current price for spot instances or the price for a standard instance. """ - return pulumi.get(self, "new_cluster") + return pulumi.get(self, "spot_bid_max_price") - @new_cluster.setter - def new_cluster(self, value: pulumi.Input['JobJobClusterNewClusterArgs']): - pulumi.set(self, "new_cluster", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class JobJobClusterNewClusterArgsDict(TypedDict): - spark_version: pulumi.Input[str] - apply_policy_default_values: NotRequired[pulumi.Input[bool]] - autoscale: NotRequired[pulumi.Input['JobJobClusterNewClusterAutoscaleArgsDict']] - aws_attributes: NotRequired[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgsDict']] - azure_attributes: NotRequired[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgsDict']] - cluster_id: NotRequired[pulumi.Input[str]] - cluster_log_conf: NotRequired[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgsDict']] - cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgsDict']]]] - cluster_name: NotRequired[pulumi.Input[str]] - custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - data_security_mode: NotRequired[pulumi.Input[str]] - docker_image: NotRequired[pulumi.Input['JobJobClusterNewClusterDockerImageArgsDict']] - driver_instance_pool_id: NotRequired[pulumi.Input[str]] - driver_node_type_id: NotRequired[pulumi.Input[str]] - enable_elastic_disk: NotRequired[pulumi.Input[bool]] - enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] - gcp_attributes: NotRequired[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgsDict']] - idempotency_token: NotRequired[pulumi.Input[str]] - init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgsDict']]]] - instance_pool_id: NotRequired[pulumi.Input[str]] - libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgsDict']]]] + class InstancePoolDiskSpecArgsDict(TypedDict): + disk_count: NotRequired[pulumi.Input[int]] """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. """ - node_type_id: NotRequired[pulumi.Input[str]] - num_workers: NotRequired[pulumi.Input[int]] - policy_id: NotRequired[pulumi.Input[str]] - runtime_engine: NotRequired[pulumi.Input[str]] - single_user_name: NotRequired[pulumi.Input[str]] - spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - workload_type: NotRequired[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgsDict']] + disk_size: NotRequired[pulumi.Input[int]] """ - isn't supported + (Integer) The size of each disk (in GiB) to attach. """ + disk_type: NotRequired[pulumi.Input['InstancePoolDiskSpecDiskTypeArgsDict']] elif False: - JobJobClusterNewClusterArgsDict: TypeAlias = Mapping[str, Any] + InstancePoolDiskSpecArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterArgs: +class InstancePoolDiskSpecArgs: def __init__(__self__, *, - spark_version: pulumi.Input[str], - apply_policy_default_values: Optional[pulumi.Input[bool]] = None, - autoscale: Optional[pulumi.Input['JobJobClusterNewClusterAutoscaleArgs']] = None, - aws_attributes: Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']] = None, - azure_attributes: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']] = None, - cluster_id: Optional[pulumi.Input[str]] = None, - cluster_log_conf: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']] = None, - cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]] = None, - cluster_name: Optional[pulumi.Input[str]] = None, - custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - data_security_mode: Optional[pulumi.Input[str]] = None, - docker_image: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageArgs']] = None, - driver_instance_pool_id: Optional[pulumi.Input[str]] = None, - driver_node_type_id: Optional[pulumi.Input[str]] = None, - enable_elastic_disk: Optional[pulumi.Input[bool]] = None, - enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, - gcp_attributes: Optional[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgs']] = None, - idempotency_token: Optional[pulumi.Input[str]] = None, - init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgs']]]] = None, - instance_pool_id: Optional[pulumi.Input[str]] = None, - libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]] = None, - node_type_id: Optional[pulumi.Input[str]] = None, - num_workers: Optional[pulumi.Input[int]] = None, - policy_id: Optional[pulumi.Input[str]] = None, - runtime_engine: Optional[pulumi.Input[str]] = None, - single_user_name: Optional[pulumi.Input[str]] = None, - spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - workload_type: Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']] = None): + disk_count: Optional[pulumi.Input[int]] = None, + disk_size: Optional[pulumi.Input[int]] = None, + disk_type: Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - :param pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs'] workload_type: isn't supported + :param pulumi.Input[int] disk_count: (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. + :param pulumi.Input[int] disk_size: (Integer) The size of each disk (in GiB) to attach. """ - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + if disk_count is not None: + pulumi.set(__self__, "disk_count", disk_count) + if disk_size is not None: + pulumi.set(__self__, "disk_size", disk_size) + if disk_type is not None: + pulumi.set(__self__, "disk_type", disk_type) @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> pulumi.Input[str]: - return pulumi.get(self, "spark_version") + @pulumi.getter(name="diskCount") + def disk_count(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) The number of disks to attach to each instance. This feature is only enabled for supported node types. Users can choose up to the limit of the disks supported by the node type. For node types with no local disk, at least one disk needs to be specified. + """ + return pulumi.get(self, "disk_count") - @spark_version.setter - def spark_version(self, value: pulumi.Input[str]): - pulumi.set(self, "spark_version", value) + @disk_count.setter + def disk_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "disk_count", value) @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "apply_policy_default_values") + @pulumi.getter(name="diskSize") + def disk_size(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) The size of each disk (in GiB) to attach. + """ + return pulumi.get(self, "disk_size") - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "apply_policy_default_values", value) + @disk_size.setter + def disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "disk_size", value) @property - @pulumi.getter - def autoscale(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAutoscaleArgs']]: - return pulumi.get(self, "autoscale") - - @autoscale.setter - def autoscale(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAutoscaleArgs']]): - pulumi.set(self, "autoscale", value) + @pulumi.getter(name="diskType") + def disk_type(self) -> Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']]: + return pulumi.get(self, "disk_type") - @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']]: - return pulumi.get(self, "aws_attributes") + @disk_type.setter + def disk_type(self, value: Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']]): + pulumi.set(self, "disk_type", value) - @aws_attributes.setter - def aws_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']]): - pulumi.set(self, "aws_attributes", value) - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']]: - return pulumi.get(self, "azure_attributes") +if not MYPY: + class InstancePoolDiskSpecDiskTypeArgsDict(TypedDict): + azure_disk_volume_type: NotRequired[pulumi.Input[str]] + ebs_volume_type: NotRequired[pulumi.Input[str]] +elif False: + InstancePoolDiskSpecDiskTypeArgsDict: TypeAlias = Mapping[str, Any] - @azure_attributes.setter - def azure_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']]): - pulumi.set(self, "azure_attributes", value) +@pulumi.input_type +class InstancePoolDiskSpecDiskTypeArgs: + def __init__(__self__, *, + azure_disk_volume_type: Optional[pulumi.Input[str]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None): + if azure_disk_volume_type is not None: + pulumi.set(__self__, "azure_disk_volume_type", azure_disk_volume_type) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_id") + @pulumi.getter(name="azureDiskVolumeType") + def azure_disk_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "azure_disk_volume_type") - @cluster_id.setter - def cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_id", value) + @azure_disk_volume_type.setter + def azure_disk_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "azure_disk_volume_type", value) @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']]: - return pulumi.get(self, "cluster_log_conf") - - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']]): - pulumi.set(self, "cluster_log_conf", value) + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ebs_volume_type") - @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]]: - return pulumi.get(self, "cluster_mount_infos") + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]]): - pulumi.set(self, "cluster_mount_infos", value) - @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_name") +if not MYPY: + class InstancePoolGcpAttributesArgsDict(TypedDict): + gcp_availability: NotRequired[pulumi.Input[str]] + """ + Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + """ + local_ssd_count: NotRequired[pulumi.Input[int]] + """ + Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + """ + zone_id: NotRequired[pulumi.Input[str]] + """ + Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. + """ +elif False: + InstancePoolGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] - @cluster_name.setter - def cluster_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_name", value) +@pulumi.input_type +class InstancePoolGcpAttributesArgs: + def __init__(__self__, *, + gcp_availability: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] gcp_availability: Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + :param pulumi.Input[int] local_ssd_count: Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + :param pulumi.Input[str] zone_id: Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. + """ + if gcp_availability is not None: + pulumi.set(__self__, "gcp_availability", gcp_availability) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="gcpAvailability") + def gcp_availability(self) -> Optional[pulumi.Input[str]]: + """ + Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`. + """ + return pulumi.get(self, "gcp_availability") - @custom_tags.setter - def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "custom_tags", value) + @gcp_availability.setter + def gcp_availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gcp_availability", value) @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "data_security_mode") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + """ + Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster. + """ + return pulumi.get(self, "local_ssd_count") - @data_security_mode.setter - def data_security_mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "data_security_mode", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional[pulumi.Input['JobJobClusterNewClusterDockerImageArgs']]: - return pulumi.get(self, "docker_image") - - @docker_image.setter - def docker_image(self, value: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageArgs']]): - pulumi.set(self, "docker_image", value) + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + """ + Identifier for the availability zone/datacenter in which the cluster resides. This string will be of a form like `us-central1-a`. The provided availability zone must be in the same region as the Databricks workspace. + """ + return pulumi.get(self, "zone_id") - @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_instance_pool_id") + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_instance_pool_id", value) - @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_node_type_id") +if not MYPY: + class InstancePoolInstancePoolFleetAttributesArgsDict(TypedDict): + launch_template_overrides: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgsDict']]] + fleet_on_demand_option: NotRequired[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgsDict']] + fleet_spot_option: NotRequired[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgsDict']] +elif False: + InstancePoolInstancePoolFleetAttributesArgsDict: TypeAlias = Mapping[str, Any] - @driver_node_type_id.setter - def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_node_type_id", value) +@pulumi.input_type +class InstancePoolInstancePoolFleetAttributesArgs: + def __init__(__self__, *, + launch_template_overrides: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]], + fleet_on_demand_option: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']] = None, + fleet_spot_option: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']] = None): + pulumi.set(__self__, "launch_template_overrides", launch_template_overrides) + if fleet_on_demand_option is not None: + pulumi.set(__self__, "fleet_on_demand_option", fleet_on_demand_option) + if fleet_spot_option is not None: + pulumi.set(__self__, "fleet_spot_option", fleet_spot_option) @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="launchTemplateOverrides") + def launch_template_overrides(self) -> pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]]: + return pulumi.get(self, "launch_template_overrides") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_elastic_disk", value) + @launch_template_overrides.setter + def launch_template_overrides(self, value: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]]): + pulumi.set(self, "launch_template_overrides", value) @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_local_disk_encryption") + @pulumi.getter(name="fleetOnDemandOption") + def fleet_on_demand_option(self) -> Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']]: + return pulumi.get(self, "fleet_on_demand_option") - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_local_disk_encryption", value) + @fleet_on_demand_option.setter + def fleet_on_demand_option(self, value: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']]): + pulumi.set(self, "fleet_on_demand_option", value) @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgs']]: - return pulumi.get(self, "gcp_attributes") - - @gcp_attributes.setter - def gcp_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgs']]): - pulumi.set(self, "gcp_attributes", value) + @pulumi.getter(name="fleetSpotOption") + def fleet_spot_option(self) -> Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']]: + return pulumi.get(self, "fleet_spot_option") - @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "idempotency_token") + @fleet_spot_option.setter + def fleet_spot_option(self, value: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']]): + pulumi.set(self, "fleet_spot_option", value) - @idempotency_token.setter - def idempotency_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "idempotency_token", value) - @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgs']]]]: - return pulumi.get(self, "init_scripts") +if not MYPY: + class InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgsDict(TypedDict): + allocation_strategy: pulumi.Input[str] + instance_pools_to_use_count: NotRequired[pulumi.Input[int]] +elif False: + InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgsDict: TypeAlias = Mapping[str, Any] - @init_scripts.setter - def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgs']]]]): - pulumi.set(self, "init_scripts", value) +@pulumi.input_type +class InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs: + def __init__(__self__, *, + allocation_strategy: pulumi.Input[str], + instance_pools_to_use_count: Optional[pulumi.Input[int]] = None): + pulumi.set(__self__, "allocation_strategy", allocation_strategy) + if instance_pools_to_use_count is not None: + pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter(name="allocationStrategy") + def allocation_strategy(self) -> pulumi.Input[str]: + return pulumi.get(self, "allocation_strategy") - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_pool_id", value) + @allocation_strategy.setter + def allocation_strategy(self, value: pulumi.Input[str]): + pulumi.set(self, "allocation_strategy", value) @property - @pulumi.getter - def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]]: - """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - """ - return pulumi.get(self, "libraries") - - @libraries.setter - def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]]): - pulumi.set(self, "libraries", value) + @pulumi.getter(name="instancePoolsToUseCount") + def instance_pools_to_use_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "instance_pools_to_use_count") - @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "node_type_id") + @instance_pools_to_use_count.setter + def instance_pools_to_use_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_pools_to_use_count", value) - @node_type_id.setter - def node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_type_id", value) - @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "num_workers") +if not MYPY: + class InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgsDict(TypedDict): + allocation_strategy: pulumi.Input[str] + instance_pools_to_use_count: NotRequired[pulumi.Input[int]] +elif False: + InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgsDict: TypeAlias = Mapping[str, Any] - @num_workers.setter - def num_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "num_workers", value) +@pulumi.input_type +class InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs: + def __init__(__self__, *, + allocation_strategy: pulumi.Input[str], + instance_pools_to_use_count: Optional[pulumi.Input[int]] = None): + pulumi.set(__self__, "allocation_strategy", allocation_strategy) + if instance_pools_to_use_count is not None: + pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "policy_id") + @pulumi.getter(name="allocationStrategy") + def allocation_strategy(self) -> pulumi.Input[str]: + return pulumi.get(self, "allocation_strategy") - @policy_id.setter - def policy_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_id", value) + @allocation_strategy.setter + def allocation_strategy(self, value: pulumi.Input[str]): + pulumi.set(self, "allocation_strategy", value) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "runtime_engine") - - @runtime_engine.setter - def runtime_engine(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "runtime_engine", value) + @pulumi.getter(name="instancePoolsToUseCount") + def instance_pools_to_use_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "instance_pools_to_use_count") - @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "single_user_name") + @instance_pools_to_use_count.setter + def instance_pools_to_use_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_pools_to_use_count", value) - @single_user_name.setter - def single_user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "single_user_name", value) - @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_conf") +if not MYPY: + class InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgsDict(TypedDict): + availability_zone: pulumi.Input[str] + instance_type: pulumi.Input[str] +elif False: + InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgsDict: TypeAlias = Mapping[str, Any] - @spark_conf.setter - def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_conf", value) +@pulumi.input_type +class InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs: + def __init__(__self__, *, + availability_zone: pulumi.Input[str], + instance_type: pulumi.Input[str]): + pulumi.set(__self__, "availability_zone", availability_zone) + pulumi.set(__self__, "instance_type", instance_type) @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_env_vars") + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> pulumi.Input[str]: + return pulumi.get(self, "availability_zone") - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_env_vars", value) + @availability_zone.setter + def availability_zone(self, value: pulumi.Input[str]): + pulumi.set(self, "availability_zone", value) @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter(name="instanceType") + def instance_type(self) -> pulumi.Input[str]: + return pulumi.get(self, "instance_type") - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ssh_public_keys", value) + @instance_type.setter + def instance_type(self, value: pulumi.Input[str]): + pulumi.set(self, "instance_type", value) - @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']]: + +if not MYPY: + class InstancePoolPreloadedDockerImageArgsDict(TypedDict): + url: pulumi.Input[str] """ - isn't supported + URL for the Docker image """ - return pulumi.get(self, "workload_type") + basic_auth: NotRequired[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgsDict']] + """ + `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - @workload_type.setter - def workload_type(self, value: Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']]): - pulumi.set(self, "workload_type", value) + Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + ```python + import pulumi + import pulumi_databricks as databricks + import pulumi_docker as docker -if not MYPY: - class JobJobClusterNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[pulumi.Input[int]] - min_workers: NotRequired[pulumi.Input[int]] + this = docker.index.RegistryImage("this", + build=[{}], + name=f{this_azurerm_container_registry.login_server}/sample:latest) + this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{ + "url": this["name"], + "basic_auth": { + "username": this_azurerm_container_registry["adminUsername"], + "password": this_azurerm_container_registry["adminPassword"], + }, + }]) + ``` + """ elif False: - JobJobClusterNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + InstancePoolPreloadedDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterAutoscaleArgs: +class InstancePoolPreloadedDockerImageArgs: def __init__(__self__, *, - max_workers: Optional[pulumi.Input[int]] = None, - min_workers: Optional[pulumi.Input[int]] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + url: pulumi.Input[str], + basic_auth: Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']] = None): + """ + :param pulumi.Input[str] url: URL for the Docker image + :param pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. + + Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + + ```python + import pulumi + import pulumi_databricks as databricks + import pulumi_docker as docker + + this = docker.index.RegistryImage("this", + build=[{}], + name=f{this_azurerm_container_registry.login_server}/sample:latest) + this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{ + "url": this["name"], + "basic_auth": { + "username": this_azurerm_container_registry["adminUsername"], + "password": this_azurerm_container_registry["adminPassword"], + }, + }]) + ``` + """ + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_workers") + @pulumi.getter + def url(self) -> pulumi.Input[str]: + """ + URL for the Docker image + """ + return pulumi.get(self, "url") - @max_workers.setter - def max_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_workers", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "min_workers") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']]: + """ + `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. However, other authenticated and authorized API users of this workspace can access the username and password. - @min_workers.setter - def min_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_workers", value) + Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case: + + ```python + import pulumi + import pulumi_databricks as databricks + import pulumi_docker as docker + + this = docker.index.RegistryImage("this", + build=[{}], + name=f{this_azurerm_container_registry.login_server}/sample:latest) + this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{ + "url": this["name"], + "basic_auth": { + "username": this_azurerm_container_registry["adminUsername"], + "password": this_azurerm_container_registry["adminPassword"], + }, + }]) + ``` + """ + return pulumi.get(self, "basic_auth") + + @basic_auth.setter + def basic_auth(self, value: Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']]): + pulumi.set(self, "basic_auth", value) if not MYPY: - class JobJobClusterNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - ebs_volume_count: NotRequired[pulumi.Input[int]] - ebs_volume_iops: NotRequired[pulumi.Input[int]] - ebs_volume_size: NotRequired[pulumi.Input[int]] - ebs_volume_throughput: NotRequired[pulumi.Input[int]] - ebs_volume_type: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - instance_profile_arn: NotRequired[pulumi.Input[str]] - spot_bid_price_percent: NotRequired[pulumi.Input[int]] - zone_id: NotRequired[pulumi.Input[str]] + class InstancePoolPreloadedDockerImageBasicAuthArgsDict(TypedDict): + password: pulumi.Input[str] + username: pulumi.Input[str] elif False: - JobJobClusterNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + InstancePoolPreloadedDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterAwsAttributesArgs: +class InstancePoolPreloadedDockerImageBasicAuthArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - ebs_volume_count: Optional[pulumi.Input[int]] = None, - ebs_volume_iops: Optional[pulumi.Input[int]] = None, - ebs_volume_size: Optional[pulumi.Input[int]] = None, - ebs_volume_throughput: Optional[pulumi.Input[int]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + password: pulumi.Input[str], + username: pulumi.Input[str]): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_count") - - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_count", value) + @pulumi.getter + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") - @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_iops") + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_iops", value) - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_size") +if not MYPY: + class JobContinuousArgsDict(TypedDict): + pause_status: NotRequired[pulumi.Input[str]] + """ + Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. + """ +elif False: + JobContinuousArgsDict: TypeAlias = Mapping[str, Any] - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_size", value) +@pulumi.input_type +class JobContinuousArgs: + def __init__(__self__, *, + pause_status: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] pause_status: Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. + """ + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_throughput") + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[pulumi.Input[str]]: + """ + Indicate whether this continuous job is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. + """ + return pulumi.get(self, "pause_status") - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_throughput", value) + @pause_status.setter + def pause_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pause_status", value) - @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ebs_volume_type") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) +if not MYPY: + class JobDbtTaskArgsDict(TypedDict): + commands: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + """ + catalog: NotRequired[pulumi.Input[str]] + """ + The name of the catalog to use inside Unity Catalog. + """ + profiles_directory: NotRequired[pulumi.Input[str]] + """ + The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + """ + project_directory: NotRequired[pulumi.Input[str]] + """ + The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + """ + schema: NotRequired[pulumi.Input[str]] + """ + The name of the schema dbt should run in. Defaults to `default`. + """ + source: NotRequired[pulumi.Input[str]] + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + """ + warehouse_id: NotRequired[pulumi.Input[str]] + """ + The ID of the SQL warehouse that dbt should execute against. - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ +elif False: + JobDbtTaskArgsDict: TypeAlias = Mapping[str, Any] - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) +@pulumi.input_type +class JobDbtTaskArgs: + def __init__(__self__, *, + commands: pulumi.Input[Sequence[pulumi.Input[str]]], + catalog: Optional[pulumi.Input[str]] = None, + profiles_directory: Optional[pulumi.Input[str]] = None, + project_directory: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] commands: (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + :param pulumi.Input[str] catalog: The name of the catalog to use inside Unity Catalog. + :param pulumi.Input[str] profiles_directory: The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + :param pulumi.Input[str] project_directory: The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + :param pulumi.Input[str] schema: The name of the schema dbt should run in. Defaults to `default`. + :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + :param pulumi.Input[str] warehouse_id: The ID of the SQL warehouse that dbt should execute against. + + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter + def commands(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + """ + return pulumi.get(self, "commands") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) + @commands.setter + def commands(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "commands", value) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter + def catalog(self) -> Optional[pulumi.Input[str]]: + """ + The name of the catalog to use inside Unity Catalog. + """ + return pulumi.get(self, "catalog") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) + @catalog.setter + def catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") - - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[pulumi.Input[str]]: + """ + The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + """ + return pulumi.get(self, "profiles_directory") + @profiles_directory.setter + def profiles_directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "profiles_directory", value) -if not MYPY: - class JobJobClusterNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - log_analytics_info: NotRequired[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] - spot_bid_max_price: NotRequired[pulumi.Input[float]] -elif False: - JobJobClusterNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[pulumi.Input[str]]: + """ + The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + """ + return pulumi.get(self, "project_directory") -@pulumi.input_type -class JobJobClusterNewClusterAzureAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - log_analytics_info: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + @project_directory.setter + def project_directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_directory", value) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + def schema(self) -> Optional[pulumi.Input[str]]: + """ + The name of the schema dbt should run in. Defaults to `default`. + """ + return pulumi.get(self, "schema") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @schema.setter + def schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + """ + return pulumi.get(self, "source") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs']]: - return pulumi.get(self, "log_analytics_info") - - @log_analytics_info.setter - def log_analytics_info(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs']]): - pulumi.set(self, "log_analytics_info", value) + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the SQL warehouse that dbt should execute against. - @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "spot_bid_max_price") + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ + return pulumi.get(self, "warehouse_id") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[pulumi.Input[str]] - log_analytics_workspace_id: NotRequired[pulumi.Input[str]] + class JobDeploymentArgsDict(TypedDict): + kind: pulumi.Input[str] + metadata_file_path: NotRequired[pulumi.Input[str]] elif False: - JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + JobDeploymentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs: +class JobDeploymentArgs: def __init__(__self__, *, - log_analytics_primary_key: Optional[pulumi.Input[str]] = None, - log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + kind: pulumi.Input[str], + metadata_file_path: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "kind", kind) + if metadata_file_path is not None: + pulumi.set(__self__, "metadata_file_path", metadata_file_path) @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_primary_key") + @pulumi.getter + def kind(self) -> pulumi.Input[str]: + return pulumi.get(self, "kind") - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_primary_key", value) + @kind.setter + def kind(self, value: pulumi.Input[str]): + pulumi.set(self, "kind", value) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter(name="metadataFilePath") + def metadata_file_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metadata_file_path") - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_workspace_id", value) + @metadata_file_path.setter + def metadata_file_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metadata_file_path", value) if not MYPY: - class JobJobClusterNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgsDict']] - s3: NotRequired[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3ArgsDict']] -elif False: - JobJobClusterNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + class JobEmailNotificationsArgsDict(TypedDict): + no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + """ + on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. -@pulumi.input_type -class JobJobClusterNewClusterClusterLogConfArgs: - def __init__(__self__, *, - dbfs: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']] = None, - s3: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - - @property - @pulumi.getter - def dbfs(self) -> Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']]: - return pulumi.get(self, "dbfs") - - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']]): - pulumi.set(self, "dbfs", value) - - @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']]: - return pulumi.get(self, "s3") - - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']]): - pulumi.set(self, "s3", value) - - -if not MYPY: - class JobJobClusterNewClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobJobClusterNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobJobClusterNewClusterClusterLogConfDbfsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class JobJobClusterNewClusterClusterLogConfS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] + The following parameter is only available for the job level configuration. + """ + on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run fails. + """ + on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run starts. + """ + on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run completes successfully. + """ elif False: - JobJobClusterNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + JobEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterClusterLogConfS3Args: +class JobEmailNotificationsArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, + on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_duration_warning_threshold_exceededs: (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + The following parameter is only available for the job level configuration. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_failures: (List) list of emails to notify when the run fails. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_starts: (List) list of emails to notify when the run starts. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_successes: (List) list of emails to notify when the run completes successfully. + """ + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + """ + return pulumi.get(self, "no_alert_for_skipped_runs") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_skipped_runs", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") - - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + The following parameter is only available for the job level configuration. + """ + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run fails. + """ + return pulumi.get(self, "on_failures") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @on_failures.setter + def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run starts. + """ + return pulumi.get(self, "on_starts") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @on_starts.setter + def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run completes successfully. + """ + return pulumi.get(self, "on_successes") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @on_successes.setter + def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class JobJobClusterNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: pulumi.Input[str] - network_filesystem_info: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] - remote_mount_dir_path: NotRequired[pulumi.Input[str]] + class JobEnvironmentArgsDict(TypedDict): + environment_key: pulumi.Input[str] + """ + an unique identifier of the Environment. It will be referenced from `environment_key` attribute of corresponding task. + """ + spec: NotRequired[pulumi.Input['JobEnvironmentSpecArgsDict']] + """ + block describing the Environment. Consists of following attributes: + """ elif False: - JobJobClusterNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + JobEnvironmentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterClusterMountInfoArgs: +class JobEnvironmentArgs: def __init__(__self__, *, - local_mount_dir_path: pulumi.Input[str], - network_filesystem_info: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], - remote_mount_dir_path: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> pulumi.Input[str]: - return pulumi.get(self, "local_mount_dir_path") - - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: pulumi.Input[str]): - pulumi.set(self, "local_mount_dir_path", value) + environment_key: pulumi.Input[str], + spec: Optional[pulumi.Input['JobEnvironmentSpecArgs']] = None): + """ + :param pulumi.Input[str] environment_key: an unique identifier of the Environment. It will be referenced from `environment_key` attribute of corresponding task. + :param pulumi.Input['JobEnvironmentSpecArgs'] spec: block describing the Environment. Consists of following attributes: + """ + pulumi.set(__self__, "environment_key", environment_key) + if spec is not None: + pulumi.set(__self__, "spec", spec) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="environmentKey") + def environment_key(self) -> pulumi.Input[str]: + """ + an unique identifier of the Environment. It will be referenced from `environment_key` attribute of corresponding task. + """ + return pulumi.get(self, "environment_key") - @network_filesystem_info.setter - def network_filesystem_info(self, value: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): - pulumi.set(self, "network_filesystem_info", value) + @environment_key.setter + def environment_key(self, value: pulumi.Input[str]): + pulumi.set(self, "environment_key", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def spec(self) -> Optional[pulumi.Input['JobEnvironmentSpecArgs']]: + """ + block describing the Environment. Consists of following attributes: + """ + return pulumi.get(self, "spec") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "remote_mount_dir_path", value) + @spec.setter + def spec(self, value: Optional[pulumi.Input['JobEnvironmentSpecArgs']]): + pulumi.set(self, "spec", value) if not MYPY: - class JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: pulumi.Input[str] - mount_options: NotRequired[pulumi.Input[str]] + class JobEnvironmentSpecArgsDict(TypedDict): + client: pulumi.Input[str] + """ + client version used by the environment. + """ + dependencies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + """ elif False: - JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + JobEnvironmentSpecArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class JobEnvironmentSpecArgs: def __init__(__self__, *, - server_address: pulumi.Input[str], - mount_options: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + client: pulumi.Input[str], + dependencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] client: client version used by the environment. + :param pulumi.Input[Sequence[pulumi.Input[str]]] dependencies: List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + """ + pulumi.set(__self__, "client", client) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> pulumi.Input[str]: - return pulumi.get(self, "server_address") + @pulumi.getter + def client(self) -> pulumi.Input[str]: + """ + client version used by the environment. + """ + return pulumi.get(self, "client") - @server_address.setter - def server_address(self, value: pulumi.Input[str]): - pulumi.set(self, "server_address", value) + @client.setter + def client(self, value: pulumi.Input[str]): + pulumi.set(self, "client", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "mount_options") + @pulumi.getter + def dependencies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information. + """ + return pulumi.get(self, "dependencies") - @mount_options.setter - def mount_options(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mount_options", value) + @dependencies.setter + def dependencies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dependencies", value) if not MYPY: - class JobJobClusterNewClusterDockerImageArgsDict(TypedDict): + class JobGitSourceArgsDict(TypedDict): url: pulumi.Input[str] """ - URL of the job on the given workspace + URL of the Git repository to use. + """ + branch: NotRequired[pulumi.Input[str]] + """ + name of the Git branch to use. Conflicts with `tag` and `commit`. + """ + commit: NotRequired[pulumi.Input[str]] + """ + hash of Git commit to use. Conflicts with `branch` and `tag`. + """ + git_snapshot: NotRequired[pulumi.Input['JobGitSourceGitSnapshotArgsDict']] + job_source: NotRequired[pulumi.Input['JobGitSourceJobSourceArgsDict']] + provider: NotRequired[pulumi.Input[str]] + """ + case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + """ + tag: NotRequired[pulumi.Input[str]] + """ + name of the Git branch to use. Conflicts with `branch` and `commit`. """ - basic_auth: NotRequired[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgsDict']] elif False: - JobJobClusterNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + JobGitSourceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterDockerImageArgs: +class JobGitSourceArgs: def __init__(__self__, *, url: pulumi.Input[str], - basic_auth: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']] = None): + branch: Optional[pulumi.Input[str]] = None, + commit: Optional[pulumi.Input[str]] = None, + git_snapshot: Optional[pulumi.Input['JobGitSourceGitSnapshotArgs']] = None, + job_source: Optional[pulumi.Input['JobGitSourceJobSourceArgs']] = None, + provider: Optional[pulumi.Input[str]] = None, + tag: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] url: URL of the job on the given workspace + :param pulumi.Input[str] url: URL of the Git repository to use. + :param pulumi.Input[str] branch: name of the Git branch to use. Conflicts with `tag` and `commit`. + :param pulumi.Input[str] commit: hash of Git commit to use. Conflicts with `branch` and `tag`. + :param pulumi.Input[str] provider: case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + :param pulumi.Input[str] tag: name of the Git branch to use. Conflicts with `branch` and `commit`. """ pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + if branch is not None: + pulumi.set(__self__, "branch", branch) + if commit is not None: + pulumi.set(__self__, "commit", commit) + if git_snapshot is not None: + pulumi.set(__self__, "git_snapshot", git_snapshot) + if job_source is not None: + pulumi.set(__self__, "job_source", job_source) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if tag is not None: + pulumi.set(__self__, "tag", tag) @property @pulumi.getter def url(self) -> pulumi.Input[str]: """ - URL of the job on the given workspace + URL of the Git repository to use. """ return pulumi.get(self, "url") @@ -7363,1712 +7388,1614 @@ def url(self, value: pulumi.Input[str]): pulumi.set(self, "url", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']]: - return pulumi.get(self, "basic_auth") + @pulumi.getter + def branch(self) -> Optional[pulumi.Input[str]]: + """ + name of the Git branch to use. Conflicts with `tag` and `commit`. + """ + return pulumi.get(self, "branch") - @basic_auth.setter - def basic_auth(self, value: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']]): - pulumi.set(self, "basic_auth", value) + @branch.setter + def branch(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "branch", value) + @property + @pulumi.getter + def commit(self) -> Optional[pulumi.Input[str]]: + """ + hash of Git commit to use. Conflicts with `branch` and `tag`. + """ + return pulumi.get(self, "commit") -if not MYPY: - class JobJobClusterNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: pulumi.Input[str] - username: pulumi.Input[str] -elif False: - JobJobClusterNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + @commit.setter + def commit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "commit", value) -@pulumi.input_type -class JobJobClusterNewClusterDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: pulumi.Input[str], - username: pulumi.Input[str]): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @property + @pulumi.getter(name="gitSnapshot") + def git_snapshot(self) -> Optional[pulumi.Input['JobGitSourceGitSnapshotArgs']]: + return pulumi.get(self, "git_snapshot") + + @git_snapshot.setter + def git_snapshot(self, value: Optional[pulumi.Input['JobGitSourceGitSnapshotArgs']]): + pulumi.set(self, "git_snapshot", value) + + @property + @pulumi.getter(name="jobSource") + def job_source(self) -> Optional[pulumi.Input['JobGitSourceJobSourceArgs']]: + return pulumi.get(self, "job_source") + + @job_source.setter + def job_source(self, value: Optional[pulumi.Input['JobGitSourceJobSourceArgs']]): + pulumi.set(self, "job_source", value) @property @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + def provider(self) -> Optional[pulumi.Input[str]]: + """ + case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`. + """ + return pulumi.get(self, "provider") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @provider.setter + def provider(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provider", value) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") + def tag(self) -> Optional[pulumi.Input[str]]: + """ + name of the Git branch to use. Conflicts with `branch` and `commit`. + """ + return pulumi.get(self, "tag") - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) + @tag.setter + def tag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tag", value) if not MYPY: - class JobJobClusterNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - boot_disk_size: NotRequired[pulumi.Input[int]] - google_service_account: NotRequired[pulumi.Input[str]] - local_ssd_count: NotRequired[pulumi.Input[int]] - use_preemptible_executors: NotRequired[pulumi.Input[bool]] - zone_id: NotRequired[pulumi.Input[str]] + class JobGitSourceGitSnapshotArgsDict(TypedDict): + used_commit: NotRequired[pulumi.Input[str]] elif False: - JobJobClusterNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + JobGitSourceGitSnapshotArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterGcpAttributesArgs: +class JobGitSourceGitSnapshotArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - boot_disk_size: Optional[pulumi.Input[int]] = None, - google_service_account: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - use_preemptible_executors: Optional[pulumi.Input[bool]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + used_commit: Optional[pulumi.Input[str]] = None): + if used_commit is not None: + pulumi.set(__self__, "used_commit", used_commit) @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @pulumi.getter(name="usedCommit") + def used_commit(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "used_commit") - @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "boot_disk_size") + @used_commit.setter + def used_commit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "used_commit", value) - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "boot_disk_size", value) - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "google_service_account") +if not MYPY: + class JobGitSourceJobSourceArgsDict(TypedDict): + import_from_git_branch: pulumi.Input[str] + job_config_path: pulumi.Input[str] + dirty_state: NotRequired[pulumi.Input[str]] +elif False: + JobGitSourceJobSourceArgsDict: TypeAlias = Mapping[str, Any] - @google_service_account.setter - def google_service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "google_service_account", value) +@pulumi.input_type +class JobGitSourceJobSourceArgs: + def __init__(__self__, *, + import_from_git_branch: pulumi.Input[str], + job_config_path: pulumi.Input[str], + dirty_state: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "import_from_git_branch", import_from_git_branch) + pulumi.set(__self__, "job_config_path", job_config_path) + if dirty_state is not None: + pulumi.set(__self__, "dirty_state", dirty_state) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="importFromGitBranch") + def import_from_git_branch(self) -> pulumi.Input[str]: + return pulumi.get(self, "import_from_git_branch") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) + @import_from_git_branch.setter + def import_from_git_branch(self, value: pulumi.Input[str]): + pulumi.set(self, "import_from_git_branch", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter(name="jobConfigPath") + def job_config_path(self) -> pulumi.Input[str]: + return pulumi.get(self, "job_config_path") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_preemptible_executors", value) + @job_config_path.setter + def job_config_path(self, value: pulumi.Input[str]): + pulumi.set(self, "job_config_path", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="dirtyState") + def dirty_state(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "dirty_state") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @dirty_state.setter + def dirty_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dirty_state", value) if not MYPY: - class JobJobClusterNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgsDict']] - dbfs: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgsDict']] - file: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgsDict']] + class JobHealthArgsDict(TypedDict): + rules: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgsDict']]] """ - block consisting of single string fields: + list of rules that are represented as objects with the following attributes: """ - gcs: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgsDict']] - s3: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptS3ArgsDict']] - volumes: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgsDict']] - workspace: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgsDict']] elif False: - JobJobClusterNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + JobHealthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterInitScriptArgs: +class JobHealthArgs: def __init__(__self__, *, - abfss: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgs']] = None, - dbfs: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgs']] = None, - file: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs']] = None, - gcs: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgs']] = None, - s3: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']] = None, - volumes: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']] = None, - workspace: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']] = None): + rules: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]]): """ - :param pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs'] file: block consisting of single string fields: + :param pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]] rules: list of rules that are represented as objects with the following attributes: """ - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def abfss(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgs']]: - return pulumi.get(self, "abfss") - - @abfss.setter - def abfss(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgs']]): - pulumi.set(self, "abfss", value) + def rules(self) -> pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]]: + """ + list of rules that are represented as objects with the following attributes: + """ + return pulumi.get(self, "rules") - @property - @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgs']]: - return pulumi.get(self, "dbfs") + @rules.setter + def rules(self, value: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]]): + pulumi.set(self, "rules", value) - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgs']]): - pulumi.set(self, "dbfs", value) - @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs']]: +if not MYPY: + class JobHealthRuleArgsDict(TypedDict): + metric: pulumi.Input[str] """ - block consisting of single string fields: + string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). """ - return pulumi.get(self, "file") - - @file.setter - def file(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs']]): - pulumi.set(self, "file", value) - - @property - @pulumi.getter - def gcs(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgs']]: - return pulumi.get(self, "gcs") + op: pulumi.Input[str] + """ + string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + """ + value: pulumi.Input[int] + """ + integer value used to compare to the given metric. + """ +elif False: + JobHealthRuleArgsDict: TypeAlias = Mapping[str, Any] - @gcs.setter - def gcs(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgs']]): - pulumi.set(self, "gcs", value) +@pulumi.input_type +class JobHealthRuleArgs: + def __init__(__self__, *, + metric: pulumi.Input[str], + op: pulumi.Input[str], + value: pulumi.Input[int]): + """ + :param pulumi.Input[str] metric: string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + :param pulumi.Input[str] op: string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + :param pulumi.Input[int] value: integer value used to compare to the given metric. + """ + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) @property @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']]: - return pulumi.get(self, "s3") + def metric(self) -> pulumi.Input[str]: + """ + string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + """ + return pulumi.get(self, "metric") - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']]): - pulumi.set(self, "s3", value) + @metric.setter + def metric(self, value: pulumi.Input[str]): + pulumi.set(self, "metric", value) @property @pulumi.getter - def volumes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']]: - return pulumi.get(self, "volumes") + def op(self) -> pulumi.Input[str]: + """ + string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + """ + return pulumi.get(self, "op") - @volumes.setter - def volumes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']]): - pulumi.set(self, "volumes", value) + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) @property @pulumi.getter - def workspace(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']]: - return pulumi.get(self, "workspace") + def value(self) -> pulumi.Input[int]: + """ + integer value used to compare to the given metric. + """ + return pulumi.get(self, "value") - @workspace.setter - def workspace(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']]): - pulumi.set(self, "workspace", value) + @value.setter + def value(self, value: pulumi.Input[int]): + pulumi.set(self, "value", value) if not MYPY: - class JobJobClusterNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobJobClusterArgsDict(TypedDict): + job_cluster_key: pulumi.Input[str] + """ + Identifier that can be referenced in `task` block, so that cluster is shared between tasks + """ + new_cluster: pulumi.Input['JobJobClusterNewClusterArgsDict'] + """ + Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + """ elif False: - JobJobClusterNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterInitScriptAbfssArgs: +class JobJobClusterArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + job_cluster_key: pulumi.Input[str], + new_cluster: pulumi.Input['JobJobClusterNewClusterArgs']): + """ + :param pulumi.Input[str] job_cluster_key: Identifier that can be referenced in `task` block, so that cluster is shared between tasks + :param pulumi.Input['JobJobClusterNewClusterArgs'] new_cluster: Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + """ + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + pulumi.set(__self__, "new_cluster", new_cluster) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> pulumi.Input[str]: + """ + Identifier that can be referenced in `task` block, so that cluster is shared between tasks + """ + return pulumi.get(self, "job_cluster_key") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @job_cluster_key.setter + def job_cluster_key(self, value: pulumi.Input[str]): + pulumi.set(self, "job_cluster_key", value) + + @property + @pulumi.getter(name="newCluster") + def new_cluster(self) -> pulumi.Input['JobJobClusterNewClusterArgs']: + """ + Block with almost the same set of parameters as for Cluster resource, except following (check the [REST API documentation for full list of supported parameters](https://docs.databricks.com/api/workspace/jobs/create#job_clusters-new_cluster)): + """ + return pulumi.get(self, "new_cluster") + + @new_cluster.setter + def new_cluster(self, value: pulumi.Input['JobJobClusterNewClusterArgs']): + pulumi.set(self, "new_cluster", value) if not MYPY: - class JobJobClusterNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobJobClusterNewClusterArgsDict(TypedDict): + spark_version: pulumi.Input[str] + apply_policy_default_values: NotRequired[pulumi.Input[bool]] + autoscale: NotRequired[pulumi.Input['JobJobClusterNewClusterAutoscaleArgsDict']] + aws_attributes: NotRequired[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgsDict']] + azure_attributes: NotRequired[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgsDict']] + cluster_id: NotRequired[pulumi.Input[str]] + cluster_log_conf: NotRequired[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgsDict']] + cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgsDict']]]] + cluster_name: NotRequired[pulumi.Input[str]] + custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + data_security_mode: NotRequired[pulumi.Input[str]] + docker_image: NotRequired[pulumi.Input['JobJobClusterNewClusterDockerImageArgsDict']] + driver_instance_pool_id: NotRequired[pulumi.Input[str]] + driver_node_type_id: NotRequired[pulumi.Input[str]] + enable_elastic_disk: NotRequired[pulumi.Input[bool]] + enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] + gcp_attributes: NotRequired[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgsDict']] + idempotency_token: NotRequired[pulumi.Input[str]] + init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgsDict']]]] + instance_pool_id: NotRequired[pulumi.Input[str]] + is_single_node: NotRequired[pulumi.Input[bool]] + kind: NotRequired[pulumi.Input[str]] + libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgsDict']]]] + """ + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + """ + node_type_id: NotRequired[pulumi.Input[str]] + num_workers: NotRequired[pulumi.Input[int]] + policy_id: NotRequired[pulumi.Input[str]] + runtime_engine: NotRequired[pulumi.Input[str]] + single_user_name: NotRequired[pulumi.Input[str]] + spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + use_ml_runtime: NotRequired[pulumi.Input[bool]] + workload_type: NotRequired[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgsDict']] + """ + isn't supported + """ elif False: - JobJobClusterNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterInitScriptDbfsArgs: +class JobJobClusterNewClusterArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + spark_version: pulumi.Input[str], + apply_policy_default_values: Optional[pulumi.Input[bool]] = None, + autoscale: Optional[pulumi.Input['JobJobClusterNewClusterAutoscaleArgs']] = None, + aws_attributes: Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']] = None, + azure_attributes: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + cluster_log_conf: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']] = None, + cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + data_security_mode: Optional[pulumi.Input[str]] = None, + docker_image: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageArgs']] = None, + driver_instance_pool_id: Optional[pulumi.Input[str]] = None, + driver_node_type_id: Optional[pulumi.Input[str]] = None, + enable_elastic_disk: Optional[pulumi.Input[bool]] = None, + enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, + gcp_attributes: Optional[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgs']] = None, + idempotency_token: Optional[pulumi.Input[str]] = None, + init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgs']]]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]] = None, + node_type_id: Optional[pulumi.Input[str]] = None, + num_workers: Optional[pulumi.Input[int]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + runtime_engine: Optional[pulumi.Input[str]] = None, + single_user_name: Optional[pulumi.Input[str]] = None, + spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, + workload_type: Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + :param pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs'] workload_type: isn't supported + """ + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> pulumi.Input[str]: + return pulumi.get(self, "spark_version") + @spark_version.setter + def spark_version(self, value: pulumi.Input[str]): + pulumi.set(self, "spark_version", value) -if not MYPY: - class JobJobClusterNewClusterInitScriptFileArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobJobClusterNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "apply_policy_default_values") -@pulumi.input_type -class JobJobClusterNewClusterInitScriptFileArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "apply_policy_default_values", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def autoscale(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAutoscaleArgs']]: + return pulumi.get(self, "autoscale") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAutoscaleArgs']]): + pulumi.set(self, "autoscale", value) + @property + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']]: + return pulumi.get(self, "aws_attributes") -if not MYPY: - class JobJobClusterNewClusterInitScriptGcsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobJobClusterNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + @aws_attributes.setter + def aws_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAwsAttributesArgs']]): + pulumi.set(self, "aws_attributes", value) -@pulumi.input_type -class JobJobClusterNewClusterInitScriptGcsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']]: + return pulumi.get(self, "azure_attributes") + + @azure_attributes.setter + def azure_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesArgs']]): + pulumi.set(self, "azure_attributes", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_id") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @cluster_id.setter + def cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_id", value) + @property + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']]: + return pulumi.get(self, "cluster_log_conf") -if not MYPY: - class JobJobClusterNewClusterInitScriptS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] -elif False: - JobJobClusterNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobJobClusterNewClusterInitScriptS3Args: - def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfArgs']]): + pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]]: + return pulumi.get(self, "cluster_mount_infos") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterClusterMountInfoArgs']]]]): + pulumi.set(self, "cluster_mount_infos", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_name") - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_tags") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @custom_tags.setter + def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_tags", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "data_security_mode") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @data_security_mode.setter + def data_security_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_security_mode", value) @property - @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional[pulumi.Input['JobJobClusterNewClusterDockerImageArgs']]: + return pulumi.get(self, "docker_image") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @docker_image.setter + def docker_image(self, value: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageArgs']]): + pulumi.set(self, "docker_image", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_instance_pool_id") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_instance_pool_id", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_node_type_id") + @driver_node_type_id.setter + def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_node_type_id", value) -if not MYPY: - class JobJobClusterNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobJobClusterNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_elastic_disk") -@pulumi.input_type -class JobJobClusterNewClusterInitScriptVolumesArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_elastic_disk", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_local_disk_encryption") + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_local_disk_encryption", value) -if not MYPY: - class JobJobClusterNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobJobClusterNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgs']]: + return pulumi.get(self, "gcp_attributes") -@pulumi.input_type -class JobJobClusterNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterGcpAttributesArgs']]): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "idempotency_token") + @idempotency_token.setter + def idempotency_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "idempotency_token", value) -if not MYPY: - class JobJobClusterNewClusterLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobJobClusterNewClusterLibraryCranArgsDict']] - egg: NotRequired[pulumi.Input[str]] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgsDict']] - requirements: NotRequired[pulumi.Input[str]] - whl: NotRequired[pulumi.Input[str]] -elif False: - JobJobClusterNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgs']]]]: + return pulumi.get(self, "init_scripts") -@pulumi.input_type -class JobJobClusterNewClusterLibraryArgs: - def __init__(__self__, *, - cran: Optional[pulumi.Input['JobJobClusterNewClusterLibraryCranArgs']] = None, - egg: Optional[pulumi.Input[str]] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgs']] = None, - requirements: Optional[pulumi.Input[str]] = None, - whl: Optional[pulumi.Input[str]] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + @init_scripts.setter + def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterInitScriptArgs']]]]): + pulumi.set(self, "init_scripts", value) @property - @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobJobClusterNewClusterLibraryCranArgs']]: - return pulumi.get(self, "cran") + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_pool_id") - @cran.setter - def cran(self, value: Optional[pulumi.Input['JobJobClusterNewClusterLibraryCranArgs']]): - pulumi.set(self, "cran", value) + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_pool_id", value) @property - @pulumi.getter - def egg(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "egg") + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_single_node") - @egg.setter - def egg(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "egg", value) + @is_single_node.setter + def is_single_node(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_single_node", value) @property @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") + def kind(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kind") - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) @property @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgs']]: - return pulumi.get(self, "maven") + def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]]: + """ + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + """ + return pulumi.get(self, "libraries") - @maven.setter - def maven(self, value: Optional[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgs']]): - pulumi.set(self, "maven", value) + @libraries.setter + def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterNewClusterLibraryArgs']]]]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgs']]: - return pulumi.get(self, "pypi") + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "node_type_id") - @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgs']]): - pulumi.set(self, "pypi", value) + @node_type_id.setter + def node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter - def requirements(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "requirements") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "num_workers") - @requirements.setter - def requirements(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requirements", value) + @num_workers.setter + def num_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_workers", value) @property - @pulumi.getter - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") - - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "policy_id") + @policy_id.setter + def policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy_id", value) -if not MYPY: - class JobJobClusterNewClusterLibraryCranArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] -elif False: - JobJobClusterNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "runtime_engine") -@pulumi.input_type -class JobJobClusterNewClusterLibraryCranArgs: - def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @runtime_engine.setter + def runtime_engine(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "runtime_engine", value) @property - @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "single_user_name") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @single_user_name.setter + def single_user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "single_user_name", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_conf") + @spark_conf.setter + def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_conf", value) -if not MYPY: - class JobJobClusterNewClusterLibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] -elif False: - JobJobClusterNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_env_vars") -@pulumi.input_type -class JobJobClusterNewClusterLibraryMavenArgs: - def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "ssh_public_keys") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ssh_public_keys", value) @property - @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_ml_runtime") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_ml_runtime", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']]: + """ + isn't supported + """ + return pulumi.get(self, "workload_type") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']]): + pulumi.set(self, "workload_type", value) if not MYPY: - class JobJobClusterNewClusterLibraryPypiArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[pulumi.Input[int]] + min_workers: NotRequired[pulumi.Input[int]] elif False: - JobJobClusterNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterLibraryPypiArgs: +class JobJobClusterNewClusterAutoscaleArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + max_workers: Optional[pulumi.Input[int]] = None, + min_workers: Optional[pulumi.Input[int]] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_workers") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @max_workers.setter + def max_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min_workers") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @min_workers.setter + def min_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_workers", value) if not MYPY: - class JobJobClusterNewClusterWorkloadTypeArgsDict(TypedDict): - clients: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgsDict'] + class JobJobClusterNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + ebs_volume_count: NotRequired[pulumi.Input[int]] + ebs_volume_iops: NotRequired[pulumi.Input[int]] + ebs_volume_size: NotRequired[pulumi.Input[int]] + ebs_volume_throughput: NotRequired[pulumi.Input[int]] + ebs_volume_type: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + instance_profile_arn: NotRequired[pulumi.Input[str]] + spot_bid_price_percent: NotRequired[pulumi.Input[int]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - JobJobClusterNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterWorkloadTypeArgs: +class JobJobClusterNewClusterAwsAttributesArgs: def __init__(__self__, *, - clients: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs']): - pulumi.set(__self__, "clients", clients) + availability: Optional[pulumi.Input[str]] = None, + ebs_volume_count: Optional[pulumi.Input[int]] = None, + ebs_volume_iops: Optional[pulumi.Input[int]] = None, + ebs_volume_size: Optional[pulumi.Input[int]] = None, + ebs_volume_throughput: Optional[pulumi.Input[int]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def clients(self) -> pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs']: - return pulumi.get(self, "clients") - - @clients.setter - def clients(self, value: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs']): - pulumi.set(self, "clients", value) + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_count") + + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_count", value) + + @property + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_iops") + + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_iops", value) + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_size") + + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_size", value) + + @property + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_throughput") + + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_throughput", value) + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ebs_volume_type") + + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_profile_arn") + + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobJobClusterNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[pulumi.Input[bool]] - notebooks: NotRequired[pulumi.Input[bool]] + class JobJobClusterNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + log_analytics_info: NotRequired[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] + spot_bid_max_price: NotRequired[pulumi.Input[float]] elif False: - JobJobClusterNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobJobClusterNewClusterWorkloadTypeClientsArgs: +class JobJobClusterNewClusterAzureAttributesArgs: def __init__(__self__, *, - jobs: Optional[pulumi.Input[bool]] = None, - notebooks: Optional[pulumi.Input[bool]] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + availability: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + log_analytics_info: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def jobs(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "jobs") + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @jobs.setter - def jobs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "jobs", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def notebooks(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @notebooks.setter - def notebooks(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "notebooks", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs']]: + return pulumi.get(self, "log_analytics_info") + + @log_analytics_info.setter + def log_analytics_info(self, value: Optional[pulumi.Input['JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs']]): + pulumi.set(self, "log_analytics_info", value) + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "spot_bid_max_price") + + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class JobLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobLibraryCranArgsDict']] - egg: NotRequired[pulumi.Input[str]] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobLibraryPypiArgsDict']] - requirements: NotRequired[pulumi.Input[str]] - whl: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[pulumi.Input[str]] + log_analytics_workspace_id: NotRequired[pulumi.Input[str]] elif False: - JobLibraryArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobLibraryArgs: +class JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs: def __init__(__self__, *, - cran: Optional[pulumi.Input['JobLibraryCranArgs']] = None, - egg: Optional[pulumi.Input[str]] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobLibraryPypiArgs']] = None, - requirements: Optional[pulumi.Input[str]] = None, - whl: Optional[pulumi.Input[str]] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + log_analytics_primary_key: Optional[pulumi.Input[str]] = None, + log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) @property - @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobLibraryCranArgs']]: - return pulumi.get(self, "cran") + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_primary_key") - @cran.setter - def cran(self, value: Optional[pulumi.Input['JobLibraryCranArgs']]): - pulumi.set(self, "cran", value) + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_primary_key", value) @property - @pulumi.getter - def egg(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "egg") + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_workspace_id") - @egg.setter - def egg(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "egg", value) + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_id", value) - @property - @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) +if not MYPY: + class JobJobClusterNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgsDict']] + s3: NotRequired[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3ArgsDict']] +elif False: + JobJobClusterNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobJobClusterNewClusterClusterLogConfArgs: + def __init__(__self__, *, + dbfs: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']] = None, + s3: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobLibraryMavenArgs']]: - return pulumi.get(self, "maven") + def dbfs(self) -> Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']]: + return pulumi.get(self, "dbfs") - @maven.setter - def maven(self, value: Optional[pulumi.Input['JobLibraryMavenArgs']]): - pulumi.set(self, "maven", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobLibraryPypiArgs']]: - return pulumi.get(self, "pypi") + def s3(self) -> Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']]: + return pulumi.get(self, "s3") - @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobLibraryPypiArgs']]): - pulumi.set(self, "pypi", value) + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']]): + pulumi.set(self, "s3", value) - @property - @pulumi.getter - def requirements(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "requirements") - @requirements.setter - def requirements(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requirements", value) +if not MYPY: + class JobJobClusterNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobJobClusterNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobJobClusterNewClusterClusterLogConfDbfsArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobLibraryCranArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - JobLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobLibraryCranArgs: +class JobJobClusterNewClusterClusterLogConfS3Args: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") + + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) + + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") + + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class JobLibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: pulumi.Input[str] + network_filesystem_info: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] + remote_mount_dir_path: NotRequired[pulumi.Input[str]] elif False: - JobLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobLibraryMavenArgs: +class JobJobClusterNewClusterClusterMountInfoArgs: def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + local_mount_dir_path: pulumi.Input[str], + network_filesystem_info: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], + remote_mount_dir_path: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> pulumi.Input[str]: + return pulumi.get(self, "local_mount_dir_path") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: pulumi.Input[str]): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: + return pulumi.get(self, "network_filesystem_info") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "remote_mount_dir_path") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "remote_mount_dir_path", value) if not MYPY: - class JobLibraryPypiArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: pulumi.Input[str] + mount_options: NotRequired[pulumi.Input[str]] elif False: - JobLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobLibraryPypiArgs: +class JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + server_address: pulumi.Input[str], + mount_options: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + @pulumi.getter(name="serverAddress") + def server_address(self) -> pulumi.Input[str]: + return pulumi.get(self, "server_address") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @server_address.setter + def server_address(self, value: pulumi.Input[str]): + pulumi.set(self, "server_address", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mount_options") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @mount_options.setter + def mount_options(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mount_options", value) if not MYPY: - class JobNewClusterArgsDict(TypedDict): - spark_version: pulumi.Input[str] - apply_policy_default_values: NotRequired[pulumi.Input[bool]] - autoscale: NotRequired[pulumi.Input['JobNewClusterAutoscaleArgsDict']] - aws_attributes: NotRequired[pulumi.Input['JobNewClusterAwsAttributesArgsDict']] - azure_attributes: NotRequired[pulumi.Input['JobNewClusterAzureAttributesArgsDict']] - cluster_id: NotRequired[pulumi.Input[str]] - cluster_log_conf: NotRequired[pulumi.Input['JobNewClusterClusterLogConfArgsDict']] - cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgsDict']]]] - cluster_name: NotRequired[pulumi.Input[str]] - custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - data_security_mode: NotRequired[pulumi.Input[str]] - docker_image: NotRequired[pulumi.Input['JobNewClusterDockerImageArgsDict']] - driver_instance_pool_id: NotRequired[pulumi.Input[str]] - driver_node_type_id: NotRequired[pulumi.Input[str]] - enable_elastic_disk: NotRequired[pulumi.Input[bool]] - enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] - gcp_attributes: NotRequired[pulumi.Input['JobNewClusterGcpAttributesArgsDict']] - idempotency_token: NotRequired[pulumi.Input[str]] - init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgsDict']]]] - instance_pool_id: NotRequired[pulumi.Input[str]] - libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgsDict']]]] - """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - """ - node_type_id: NotRequired[pulumi.Input[str]] - num_workers: NotRequired[pulumi.Input[int]] - policy_id: NotRequired[pulumi.Input[str]] - runtime_engine: NotRequired[pulumi.Input[str]] - single_user_name: NotRequired[pulumi.Input[str]] - spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - workload_type: NotRequired[pulumi.Input['JobNewClusterWorkloadTypeArgsDict']] + class JobJobClusterNewClusterDockerImageArgsDict(TypedDict): + url: pulumi.Input[str] """ - isn't supported + URL of the job on the given workspace """ + basic_auth: NotRequired[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgsDict']] elif False: - JobNewClusterArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterArgs: +class JobJobClusterNewClusterDockerImageArgs: def __init__(__self__, *, - spark_version: pulumi.Input[str], - apply_policy_default_values: Optional[pulumi.Input[bool]] = None, - autoscale: Optional[pulumi.Input['JobNewClusterAutoscaleArgs']] = None, - aws_attributes: Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']] = None, - azure_attributes: Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']] = None, - cluster_id: Optional[pulumi.Input[str]] = None, - cluster_log_conf: Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']] = None, - cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]] = None, - cluster_name: Optional[pulumi.Input[str]] = None, - custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - data_security_mode: Optional[pulumi.Input[str]] = None, - docker_image: Optional[pulumi.Input['JobNewClusterDockerImageArgs']] = None, - driver_instance_pool_id: Optional[pulumi.Input[str]] = None, - driver_node_type_id: Optional[pulumi.Input[str]] = None, - enable_elastic_disk: Optional[pulumi.Input[bool]] = None, - enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, - gcp_attributes: Optional[pulumi.Input['JobNewClusterGcpAttributesArgs']] = None, - idempotency_token: Optional[pulumi.Input[str]] = None, - init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgs']]]] = None, - instance_pool_id: Optional[pulumi.Input[str]] = None, - libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]] = None, - node_type_id: Optional[pulumi.Input[str]] = None, - num_workers: Optional[pulumi.Input[int]] = None, - policy_id: Optional[pulumi.Input[str]] = None, - runtime_engine: Optional[pulumi.Input[str]] = None, - single_user_name: Optional[pulumi.Input[str]] = None, - spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - workload_type: Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']] = None): + url: pulumi.Input[str], + basic_auth: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - :param pulumi.Input['JobNewClusterWorkloadTypeArgs'] workload_type: isn't supported + :param pulumi.Input[str] url: URL of the job on the given workspace """ - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) - - @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> pulumi.Input[str]: - return pulumi.get(self, "spark_version") - - @spark_version.setter - def spark_version(self, value: pulumi.Input[str]): - pulumi.set(self, "spark_version", value) - - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "apply_policy_default_values") - - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "apply_policy_default_values", value) + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def autoscale(self) -> Optional[pulumi.Input['JobNewClusterAutoscaleArgs']]: - return pulumi.get(self, "autoscale") + def url(self) -> pulumi.Input[str]: + """ + URL of the job on the given workspace + """ + return pulumi.get(self, "url") - @autoscale.setter - def autoscale(self, value: Optional[pulumi.Input['JobNewClusterAutoscaleArgs']]): - pulumi.set(self, "autoscale", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']]: - return pulumi.get(self, "aws_attributes") - - @aws_attributes.setter - def aws_attributes(self, value: Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']]): - pulumi.set(self, "aws_attributes", value) + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']]: + return pulumi.get(self, "basic_auth") - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']]: - return pulumi.get(self, "azure_attributes") + @basic_auth.setter + def basic_auth(self, value: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']]): + pulumi.set(self, "basic_auth", value) - @azure_attributes.setter - def azure_attributes(self, value: Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']]): - pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_id") +if not MYPY: + class JobJobClusterNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: pulumi.Input[str] + username: pulumi.Input[str] +elif False: + JobJobClusterNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] - @cluster_id.setter - def cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_id", value) +@pulumi.input_type +class JobJobClusterNewClusterDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: pulumi.Input[str], + username: pulumi.Input[str]): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']]: - return pulumi.get(self, "cluster_log_conf") + @pulumi.getter + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']]): - pulumi.set(self, "cluster_log_conf", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]]: - return pulumi.get(self, "cluster_mount_infos") - - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]]): - pulumi.set(self, "cluster_mount_infos", value) + @pulumi.getter + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") - @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_name") + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) - @cluster_name.setter - def cluster_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_name", value) - @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "custom_tags") +if not MYPY: + class JobJobClusterNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + boot_disk_size: NotRequired[pulumi.Input[int]] + google_service_account: NotRequired[pulumi.Input[str]] + local_ssd_count: NotRequired[pulumi.Input[int]] + use_preemptible_executors: NotRequired[pulumi.Input[bool]] + zone_id: NotRequired[pulumi.Input[str]] +elif False: + JobJobClusterNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] - @custom_tags.setter - def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "custom_tags", value) +@pulumi.input_type +class JobJobClusterNewClusterGcpAttributesArgs: + def __init__(__self__, *, + availability: Optional[pulumi.Input[str]] = None, + boot_disk_size: Optional[pulumi.Input[int]] = None, + google_service_account: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + use_preemptible_executors: Optional[pulumi.Input[bool]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "data_security_mode") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @data_security_mode.setter - def data_security_mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "data_security_mode", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional[pulumi.Input['JobNewClusterDockerImageArgs']]: - return pulumi.get(self, "docker_image") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "boot_disk_size") - @docker_image.setter - def docker_image(self, value: Optional[pulumi.Input['JobNewClusterDockerImageArgs']]): - pulumi.set(self, "docker_image", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "google_service_account") - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_instance_pool_id", value) + @google_service_account.setter + def google_service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_node_type_id") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "local_ssd_count") - @driver_node_type_id.setter - def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_node_type_id", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_preemptible_executors") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_elastic_disk", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_local_disk_encryption") - - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_local_disk_encryption", value) + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional[pulumi.Input['JobNewClusterGcpAttributesArgs']]: - return pulumi.get(self, "gcp_attributes") + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) - @gcp_attributes.setter - def gcp_attributes(self, value: Optional[pulumi.Input['JobNewClusterGcpAttributesArgs']]): - pulumi.set(self, "gcp_attributes", value) - @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "idempotency_token") +if not MYPY: + class JobJobClusterNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgsDict']] + dbfs: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgsDict']] + file: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgsDict']] + """ + block consisting of single string fields: + """ + gcs: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgsDict']] + s3: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptS3ArgsDict']] + volumes: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgsDict']] + workspace: NotRequired[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgsDict']] +elif False: + JobJobClusterNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] - @idempotency_token.setter - def idempotency_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "idempotency_token", value) +@pulumi.input_type +class JobJobClusterNewClusterInitScriptArgs: + def __init__(__self__, *, + abfss: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgs']] = None, + dbfs: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgs']] = None, + file: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs']] = None, + gcs: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgs']] = None, + s3: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']] = None, + volumes: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']] = None, + workspace: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']] = None): + """ + :param pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs'] file: block consisting of single string fields: + """ + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgs']]]]: - return pulumi.get(self, "init_scripts") + @pulumi.getter + def abfss(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgs']]: + return pulumi.get(self, "abfss") - @init_scripts.setter - def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgs']]]]): - pulumi.set(self, "init_scripts", value) + @abfss.setter + def abfss(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptAbfssArgs']]): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgs']]: + return pulumi.get(self, "dbfs") - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_pool_id", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]]: + def file(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs']]: """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + block consisting of single string fields: """ - return pulumi.get(self, "libraries") + return pulumi.get(self, "file") - @libraries.setter - def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]]): - pulumi.set(self, "libraries", value) + @file.setter + def file(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptFileArgs']]): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "node_type_id") + @pulumi.getter + def gcs(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgs']]: + return pulumi.get(self, "gcs") - @node_type_id.setter - def node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_type_id", value) + @gcs.setter + def gcs(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptGcsArgs']]): + pulumi.set(self, "gcs", value) @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "num_workers") + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']]: + return pulumi.get(self, "s3") - @num_workers.setter - def num_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "num_workers", value) + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']]): + pulumi.set(self, "s3", value) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "policy_id") + @pulumi.getter + def volumes(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']]: + return pulumi.get(self, "volumes") - @policy_id.setter - def policy_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_id", value) + @volumes.setter + def volumes(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']]): + pulumi.set(self, "volumes", value) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "runtime_engine") - - @runtime_engine.setter - def runtime_engine(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "runtime_engine", value) + @pulumi.getter + def workspace(self) -> Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']]: + return pulumi.get(self, "workspace") - @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "single_user_name") + @workspace.setter + def workspace(self, value: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']]): + pulumi.set(self, "workspace", value) - @single_user_name.setter - def single_user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "single_user_name", value) - @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_conf") +if not MYPY: + class JobJobClusterNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobJobClusterNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] - @spark_conf.setter - def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_conf", value) - - @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_env_vars") - - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_env_vars", value) - - @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "ssh_public_keys") - - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ssh_public_keys", value) - - @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']]: - """ - isn't supported - """ - return pulumi.get(self, "workload_type") - - @workload_type.setter - def workload_type(self, value: Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']]): - pulumi.set(self, "workload_type", value) - - -if not MYPY: - class JobNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[pulumi.Input[int]] - min_workers: NotRequired[pulumi.Input[int]] -elif False: - JobNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterAutoscaleArgs: - def __init__(__self__, *, - max_workers: Optional[pulumi.Input[int]] = None, - min_workers: Optional[pulumi.Input[int]] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) - - @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_workers") - - @max_workers.setter - def max_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_workers", value) - - @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "min_workers") - - @min_workers.setter - def min_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_workers", value) - - -if not MYPY: - class JobNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - ebs_volume_count: NotRequired[pulumi.Input[int]] - ebs_volume_iops: NotRequired[pulumi.Input[int]] - ebs_volume_size: NotRequired[pulumi.Input[int]] - ebs_volume_throughput: NotRequired[pulumi.Input[int]] - ebs_volume_type: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - instance_profile_arn: NotRequired[pulumi.Input[str]] - spot_bid_price_percent: NotRequired[pulumi.Input[int]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - JobNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - ebs_volume_count: Optional[pulumi.Input[int]] = None, - ebs_volume_iops: Optional[pulumi.Input[int]] = None, - ebs_volume_size: Optional[pulumi.Input[int]] = None, - ebs_volume_throughput: Optional[pulumi.Input[int]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) +@pulumi.input_type +class JobJobClusterNewClusterInitScriptAbfssArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_count") - - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_count", value) - - @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_iops") - - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_iops", value) - - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_size") - - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_size", value) - - @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_throughput") - - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_throughput", value) - - @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ebs_volume_type") - - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) - - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") - - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) - - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_profile_arn") - - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) - - @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "spot_bid_price_percent") - - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) - - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - log_analytics_info: NotRequired[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] - spot_bid_max_price: NotRequired[pulumi.Input[float]] + class JobJobClusterNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterAzureAttributesArgs: +class JobJobClusterNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - log_analytics_info: Optional[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") - - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) - - @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgs']]: - return pulumi.get(self, "log_analytics_info") - - @log_analytics_info.setter - def log_analytics_info(self, value: Optional[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgs']]): - pulumi.set(self, "log_analytics_info", value) - - @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "spot_bid_max_price") - - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) - - -if not MYPY: - class JobNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[pulumi.Input[str]] - log_analytics_workspace_id: NotRequired[pulumi.Input[str]] -elif False: - JobNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterAzureAttributesLogAnalyticsInfoArgs: - def __init__(__self__, *, - log_analytics_primary_key: Optional[pulumi.Input[str]] = None, - log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) - - @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_primary_key") - - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_primary_key", value) - - @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_workspace_id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_workspace_id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired[pulumi.Input['JobNewClusterClusterLogConfDbfsArgsDict']] - s3: NotRequired[pulumi.Input['JobNewClusterClusterLogConfS3ArgsDict']] + class JobJobClusterNewClusterInitScriptFileArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterClusterLogConfArgs: +class JobJobClusterNewClusterInitScriptFileArgs: def __init__(__self__, *, - dbfs: Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']] = None, - s3: Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - - @property - @pulumi.getter - def dbfs(self) -> Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']]: - return pulumi.get(self, "dbfs") - - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']]): - pulumi.set(self, "dbfs", value) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']]: - return pulumi.get(self, "s3") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']]): - pulumi.set(self, "s3", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobNewClusterClusterLogConfDbfsArgsDict(TypedDict): + class JobJobClusterNewClusterInitScriptGcsArgsDict(TypedDict): destination: pulumi.Input[str] elif False: - JobNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterClusterLogConfDbfsArgs: +class JobJobClusterNewClusterInitScriptGcsArgs: def __init__(__self__, *, destination: pulumi.Input[str]): pulumi.set(__self__, "destination", destination) @@ -9084,7 +9011,7 @@ def destination(self, value: pulumi.Input[str]): if not MYPY: - class JobNewClusterClusterLogConfS3ArgsDict(TypedDict): + class JobJobClusterNewClusterInitScriptS3ArgsDict(TypedDict): destination: pulumi.Input[str] canned_acl: NotRequired[pulumi.Input[str]] enable_encryption: NotRequired[pulumi.Input[bool]] @@ -9093,10 +9020,10 @@ class JobNewClusterClusterLogConfS3ArgsDict(TypedDict): kms_key: NotRequired[pulumi.Input[str]] region: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterClusterLogConfS3Args: +class JobJobClusterNewClusterInitScriptS3Args: def __init__(__self__, *, destination: pulumi.Input[str], canned_acl: Optional[pulumi.Input[str]] = None, @@ -9184,709 +9111,436 @@ def region(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: pulumi.Input[str] - network_filesystem_info: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] - remote_mount_dir_path: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterClusterMountInfoArgs: +class JobJobClusterNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - local_mount_dir_path: pulumi.Input[str], - network_filesystem_info: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], - remote_mount_dir_path: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> pulumi.Input[str]: - return pulumi.get(self, "local_mount_dir_path") - - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: pulumi.Input[str]): - pulumi.set(self, "local_mount_dir_path", value) - - @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: - return pulumi.get(self, "network_filesystem_info") - - @network_filesystem_info.setter - def network_filesystem_info(self, value: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): - pulumi.set(self, "network_filesystem_info", value) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "remote_mount_dir_path", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: pulumi.Input[str] - mount_options: NotRequired[pulumi.Input[str]] + class JobJobClusterNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class JobJobClusterNewClusterInitScriptWorkspaceArgs: def __init__(__self__, *, - server_address: pulumi.Input[str], - mount_options: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) - - @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> pulumi.Input[str]: - return pulumi.get(self, "server_address") - - @server_address.setter - def server_address(self, value: pulumi.Input[str]): - pulumi.set(self, "server_address", value) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "mount_options") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @mount_options.setter - def mount_options(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mount_options", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobNewClusterDockerImageArgsDict(TypedDict): - url: pulumi.Input[str] - """ - URL of the job on the given workspace - """ - basic_auth: NotRequired[pulumi.Input['JobNewClusterDockerImageBasicAuthArgsDict']] + class JobJobClusterNewClusterLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobJobClusterNewClusterLibraryCranArgsDict']] + egg: NotRequired[pulumi.Input[str]] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgsDict']] + requirements: NotRequired[pulumi.Input[str]] + whl: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterDockerImageArgs: +class JobJobClusterNewClusterLibraryArgs: def __init__(__self__, *, - url: pulumi.Input[str], - basic_auth: Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']] = None): - """ - :param pulumi.Input[str] url: URL of the job on the given workspace - """ - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + cran: Optional[pulumi.Input['JobJobClusterNewClusterLibraryCranArgs']] = None, + egg: Optional[pulumi.Input[str]] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgs']] = None, + requirements: Optional[pulumi.Input[str]] = None, + whl: Optional[pulumi.Input[str]] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: - """ - URL of the job on the given workspace - """ - return pulumi.get(self, "url") + def cran(self) -> Optional[pulumi.Input['JobJobClusterNewClusterLibraryCranArgs']]: + return pulumi.get(self, "cran") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @cran.setter + def cran(self, value: Optional[pulumi.Input['JobJobClusterNewClusterLibraryCranArgs']]): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']]: - return pulumi.get(self, "basic_auth") - - @basic_auth.setter - def basic_auth(self, value: Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']]): - pulumi.set(self, "basic_auth", value) + @pulumi.getter + def egg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "egg") - -if not MYPY: - class JobNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: pulumi.Input[str] - username: pulumi.Input[str] -elif False: - JobNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: pulumi.Input[str], - username: pulumi.Input[str]): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @egg.setter + def egg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "egg", value) @property @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") - - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) - - -if not MYPY: - class JobNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - boot_disk_size: NotRequired[pulumi.Input[int]] - google_service_account: NotRequired[pulumi.Input[str]] - local_ssd_count: NotRequired[pulumi.Input[int]] - use_preemptible_executors: NotRequired[pulumi.Input[bool]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - JobNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + def maven(self) -> Optional[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgs']]: + return pulumi.get(self, "maven") -@pulumi.input_type -class JobNewClusterGcpAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - boot_disk_size: Optional[pulumi.Input[int]] = None, - google_service_account: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - use_preemptible_executors: Optional[pulumi.Input[bool]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @maven.setter + def maven(self, value: Optional[pulumi.Input['JobJobClusterNewClusterLibraryMavenArgs']]): + pulumi.set(self, "maven", value) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "boot_disk_size") - - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "boot_disk_size", value) - - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "google_service_account") - - @google_service_account.setter - def google_service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "google_service_account", value) - - @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "local_ssd_count") + def pypi(self) -> Optional[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgs']]: + return pulumi.get(self, "pypi") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) + @pypi.setter + def pypi(self, value: Optional[pulumi.Input['JobJobClusterNewClusterLibraryPypiArgs']]): + pulumi.set(self, "pypi", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter + def requirements(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "requirements") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_preemptible_executors", value) + @requirements.setter + def requirements(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) if not MYPY: - class JobNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired[pulumi.Input['JobNewClusterInitScriptAbfssArgsDict']] - dbfs: NotRequired[pulumi.Input['JobNewClusterInitScriptDbfsArgsDict']] - file: NotRequired[pulumi.Input['JobNewClusterInitScriptFileArgsDict']] - """ - block consisting of single string fields: - """ - gcs: NotRequired[pulumi.Input['JobNewClusterInitScriptGcsArgsDict']] - s3: NotRequired[pulumi.Input['JobNewClusterInitScriptS3ArgsDict']] - volumes: NotRequired[pulumi.Input['JobNewClusterInitScriptVolumesArgsDict']] - workspace: NotRequired[pulumi.Input['JobNewClusterInitScriptWorkspaceArgsDict']] + class JobJobClusterNewClusterLibraryCranArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterInitScriptArgs: +class JobJobClusterNewClusterLibraryCranArgs: def __init__(__self__, *, - abfss: Optional[pulumi.Input['JobNewClusterInitScriptAbfssArgs']] = None, - dbfs: Optional[pulumi.Input['JobNewClusterInitScriptDbfsArgs']] = None, - file: Optional[pulumi.Input['JobNewClusterInitScriptFileArgs']] = None, - gcs: Optional[pulumi.Input['JobNewClusterInitScriptGcsArgs']] = None, - s3: Optional[pulumi.Input['JobNewClusterInitScriptS3Args']] = None, - volumes: Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']] = None, - workspace: Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']] = None): - """ - :param pulumi.Input['JobNewClusterInitScriptFileArgs'] file: block consisting of single string fields: - """ - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def abfss(self) -> Optional[pulumi.Input['JobNewClusterInitScriptAbfssArgs']]: - return pulumi.get(self, "abfss") + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @abfss.setter - def abfss(self, value: Optional[pulumi.Input['JobNewClusterInitScriptAbfssArgs']]): - pulumi.set(self, "abfss", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional[pulumi.Input['JobNewClusterInitScriptDbfsArgs']]: - return pulumi.get(self, "dbfs") - - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobNewClusterInitScriptDbfsArgs']]): - pulumi.set(self, "dbfs", value) + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['JobNewClusterInitScriptFileArgs']]: - """ - block consisting of single string fields: - """ - return pulumi.get(self, "file") + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - @file.setter - def file(self, value: Optional[pulumi.Input['JobNewClusterInitScriptFileArgs']]): - pulumi.set(self, "file", value) - @property - @pulumi.getter - def gcs(self) -> Optional[pulumi.Input['JobNewClusterInitScriptGcsArgs']]: - return pulumi.get(self, "gcs") +if not MYPY: + class JobJobClusterNewClusterLibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] +elif False: + JobJobClusterNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] - @gcs.setter - def gcs(self, value: Optional[pulumi.Input['JobNewClusterInitScriptGcsArgs']]): - pulumi.set(self, "gcs", value) +@pulumi.input_type +class JobJobClusterNewClusterLibraryMavenArgs: + def __init__(__self__, *, + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobNewClusterInitScriptS3Args']]: - return pulumi.get(self, "s3") + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobNewClusterInitScriptS3Args']]): - pulumi.set(self, "s3", value) + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) @property @pulumi.getter - def volumes(self) -> Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']]: - return pulumi.get(self, "volumes") + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") - @volumes.setter - def volumes(self, value: Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']]): - pulumi.set(self, "volumes", value) + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) @property @pulumi.getter - def workspace(self) -> Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']]: - return pulumi.get(self, "workspace") + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @workspace.setter - def workspace(self, value: Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']]): - pulumi.set(self, "workspace", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class JobNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobJobClusterNewClusterLibraryPypiArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterInitScriptAbfssArgs: +class JobJobClusterNewClusterLibraryPypiArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class JobNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") -@pulumi.input_type -class JobNewClusterInitScriptDbfsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class JobNewClusterInitScriptFileArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobJobClusterNewClusterWorkloadTypeArgsDict(TypedDict): + clients: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgsDict'] elif False: - JobNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterInitScriptFileArgs: +class JobJobClusterNewClusterWorkloadTypeArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + clients: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs']): + pulumi.set(__self__, "clients", clients) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def clients(self) -> pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs']: + return pulumi.get(self, "clients") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @clients.setter + def clients(self, value: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs']): + pulumi.set(self, "clients", value) if not MYPY: - class JobNewClusterInitScriptGcsArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobJobClusterNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[pulumi.Input[bool]] + notebooks: NotRequired[pulumi.Input[bool]] elif False: - JobNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + JobJobClusterNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterInitScriptGcsArgs: +class JobJobClusterNewClusterWorkloadTypeClientsArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + jobs: Optional[pulumi.Input[bool]] = None, + notebooks: Optional[pulumi.Input[bool]] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def jobs(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "jobs") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @jobs.setter + def jobs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "jobs", value) + + @property + @pulumi.getter + def notebooks(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "notebooks") + + @notebooks.setter + def notebooks(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "notebooks", value) if not MYPY: - class JobNewClusterInitScriptS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] + class JobLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobLibraryCranArgsDict']] + egg: NotRequired[pulumi.Input[str]] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['JobLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobLibraryPypiArgsDict']] + requirements: NotRequired[pulumi.Input[str]] + whl: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + JobLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterInitScriptS3Args: +class JobLibraryArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + cran: Optional[pulumi.Input['JobLibraryCranArgs']] = None, + egg: Optional[pulumi.Input[str]] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['JobLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobLibraryPypiArgs']] = None, + requirements: Optional[pulumi.Input[str]] = None, + whl: Optional[pulumi.Input[str]] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def cran(self) -> Optional[pulumi.Input['JobLibraryCranArgs']]: + return pulumi.get(self, "cran") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @cran.setter + def cran(self, value: Optional[pulumi.Input['JobLibraryCranArgs']]): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") + @pulumi.getter + def egg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "egg") - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @egg.setter + def egg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "egg", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter + def maven(self) -> Optional[pulumi.Input['JobLibraryMavenArgs']]: + return pulumi.get(self, "maven") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @maven.setter + def maven(self, value: Optional[pulumi.Input['JobLibraryMavenArgs']]): + pulumi.set(self, "maven", value) @property @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + def pypi(self) -> Optional[pulumi.Input['JobLibraryPypiArgs']]: + return pulumi.get(self, "pypi") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @pypi.setter + def pypi(self, value: Optional[pulumi.Input['JobLibraryPypiArgs']]): + pulumi.set(self, "pypi", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def requirements(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "requirements") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @requirements.setter + def requirements(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements", value) @property @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) if not MYPY: - class JobNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterInitScriptVolumesArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class JobNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class JobNewClusterLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobNewClusterLibraryCranArgsDict']] - egg: NotRequired[pulumi.Input[str]] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobNewClusterLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobNewClusterLibraryPypiArgsDict']] - requirements: NotRequired[pulumi.Input[str]] - whl: NotRequired[pulumi.Input[str]] -elif False: - JobNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobNewClusterLibraryArgs: - def __init__(__self__, *, - cran: Optional[pulumi.Input['JobNewClusterLibraryCranArgs']] = None, - egg: Optional[pulumi.Input[str]] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobNewClusterLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobNewClusterLibraryPypiArgs']] = None, - requirements: Optional[pulumi.Input[str]] = None, - whl: Optional[pulumi.Input[str]] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) - - @property - @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobNewClusterLibraryCranArgs']]: - return pulumi.get(self, "cran") - - @cran.setter - def cran(self, value: Optional[pulumi.Input['JobNewClusterLibraryCranArgs']]): - pulumi.set(self, "cran", value) - - @property - @pulumi.getter - def egg(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "egg") - - @egg.setter - def egg(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "egg", value) - - @property - @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") - - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) - - @property - @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobNewClusterLibraryMavenArgs']]: - return pulumi.get(self, "maven") - - @maven.setter - def maven(self, value: Optional[pulumi.Input['JobNewClusterLibraryMavenArgs']]): - pulumi.set(self, "maven", value) - - @property - @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobNewClusterLibraryPypiArgs']]: - return pulumi.get(self, "pypi") - - @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobNewClusterLibraryPypiArgs']]): - pulumi.set(self, "pypi", value) - - @property - @pulumi.getter - def requirements(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "requirements") - - @requirements.setter - def requirements(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requirements", value) - - @property - @pulumi.getter - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") - - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) - - -if not MYPY: - class JobNewClusterLibraryCranArgsDict(TypedDict): + class JobLibraryCranArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + JobLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterLibraryCranArgs: +class JobLibraryCranArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -9914,15 +9568,15 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobNewClusterLibraryMavenArgsDict(TypedDict): + class JobLibraryMavenArgsDict(TypedDict): coordinates: pulumi.Input[str] exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] repo: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterLibraryMavenArgs: +class JobLibraryMavenArgs: def __init__(__self__, *, coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -9962,14 +9616,14 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobNewClusterLibraryPypiArgsDict(TypedDict): + class JobLibraryPypiArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterLibraryPypiArgs: +class JobLibraryPypiArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -9997,2567 +9651,1833 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobNewClusterWorkloadTypeArgsDict(TypedDict): - clients: pulumi.Input['JobNewClusterWorkloadTypeClientsArgsDict'] + class JobNewClusterArgsDict(TypedDict): + spark_version: pulumi.Input[str] + apply_policy_default_values: NotRequired[pulumi.Input[bool]] + autoscale: NotRequired[pulumi.Input['JobNewClusterAutoscaleArgsDict']] + aws_attributes: NotRequired[pulumi.Input['JobNewClusterAwsAttributesArgsDict']] + azure_attributes: NotRequired[pulumi.Input['JobNewClusterAzureAttributesArgsDict']] + cluster_id: NotRequired[pulumi.Input[str]] + cluster_log_conf: NotRequired[pulumi.Input['JobNewClusterClusterLogConfArgsDict']] + cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgsDict']]]] + cluster_name: NotRequired[pulumi.Input[str]] + custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + data_security_mode: NotRequired[pulumi.Input[str]] + docker_image: NotRequired[pulumi.Input['JobNewClusterDockerImageArgsDict']] + driver_instance_pool_id: NotRequired[pulumi.Input[str]] + driver_node_type_id: NotRequired[pulumi.Input[str]] + enable_elastic_disk: NotRequired[pulumi.Input[bool]] + enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] + gcp_attributes: NotRequired[pulumi.Input['JobNewClusterGcpAttributesArgsDict']] + idempotency_token: NotRequired[pulumi.Input[str]] + init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgsDict']]]] + instance_pool_id: NotRequired[pulumi.Input[str]] + is_single_node: NotRequired[pulumi.Input[bool]] + kind: NotRequired[pulumi.Input[str]] + libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgsDict']]]] + """ + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + """ + node_type_id: NotRequired[pulumi.Input[str]] + num_workers: NotRequired[pulumi.Input[int]] + policy_id: NotRequired[pulumi.Input[str]] + runtime_engine: NotRequired[pulumi.Input[str]] + single_user_name: NotRequired[pulumi.Input[str]] + spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + use_ml_runtime: NotRequired[pulumi.Input[bool]] + workload_type: NotRequired[pulumi.Input['JobNewClusterWorkloadTypeArgsDict']] + """ + isn't supported + """ elif False: - JobNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobNewClusterWorkloadTypeArgs: +class JobNewClusterArgs: def __init__(__self__, *, - clients: pulumi.Input['JobNewClusterWorkloadTypeClientsArgs']): - pulumi.set(__self__, "clients", clients) + spark_version: pulumi.Input[str], + apply_policy_default_values: Optional[pulumi.Input[bool]] = None, + autoscale: Optional[pulumi.Input['JobNewClusterAutoscaleArgs']] = None, + aws_attributes: Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']] = None, + azure_attributes: Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + cluster_log_conf: Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']] = None, + cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + data_security_mode: Optional[pulumi.Input[str]] = None, + docker_image: Optional[pulumi.Input['JobNewClusterDockerImageArgs']] = None, + driver_instance_pool_id: Optional[pulumi.Input[str]] = None, + driver_node_type_id: Optional[pulumi.Input[str]] = None, + enable_elastic_disk: Optional[pulumi.Input[bool]] = None, + enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, + gcp_attributes: Optional[pulumi.Input['JobNewClusterGcpAttributesArgs']] = None, + idempotency_token: Optional[pulumi.Input[str]] = None, + init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgs']]]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]] = None, + node_type_id: Optional[pulumi.Input[str]] = None, + num_workers: Optional[pulumi.Input[int]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + runtime_engine: Optional[pulumi.Input[str]] = None, + single_user_name: Optional[pulumi.Input[str]] = None, + spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, + workload_type: Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + :param pulumi.Input['JobNewClusterWorkloadTypeArgs'] workload_type: isn't supported + """ + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def clients(self) -> pulumi.Input['JobNewClusterWorkloadTypeClientsArgs']: - return pulumi.get(self, "clients") - - @clients.setter - def clients(self, value: pulumi.Input['JobNewClusterWorkloadTypeClientsArgs']): - pulumi.set(self, "clients", value) + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> pulumi.Input[str]: + return pulumi.get(self, "spark_version") + @spark_version.setter + def spark_version(self, value: pulumi.Input[str]): + pulumi.set(self, "spark_version", value) -if not MYPY: - class JobNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[pulumi.Input[bool]] - notebooks: NotRequired[pulumi.Input[bool]] -elif False: - JobNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "apply_policy_default_values") -@pulumi.input_type -class JobNewClusterWorkloadTypeClientsArgs: - def __init__(__self__, *, - jobs: Optional[pulumi.Input[bool]] = None, - notebooks: Optional[pulumi.Input[bool]] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "apply_policy_default_values", value) @property @pulumi.getter - def jobs(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "jobs") + def autoscale(self) -> Optional[pulumi.Input['JobNewClusterAutoscaleArgs']]: + return pulumi.get(self, "autoscale") - @jobs.setter - def jobs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "jobs", value) + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input['JobNewClusterAutoscaleArgs']]): + pulumi.set(self, "autoscale", value) @property - @pulumi.getter - def notebooks(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "notebooks") - - @notebooks.setter - def notebooks(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "notebooks", value) + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']]: + return pulumi.get(self, "aws_attributes") + @aws_attributes.setter + def aws_attributes(self, value: Optional[pulumi.Input['JobNewClusterAwsAttributesArgs']]): + pulumi.set(self, "aws_attributes", value) -if not MYPY: - class JobNotebookTaskArgsDict(TypedDict): - notebook_path: pulumi.Input[str] - """ - The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - """ - base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - """ - source: NotRequired[pulumi.Input[str]] - """ - Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - """ - warehouse_id: NotRequired[pulumi.Input[str]] - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ -elif False: - JobNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']]: + return pulumi.get(self, "azure_attributes") -@pulumi.input_type -class JobNotebookTaskArgs: - def __init__(__self__, *, - notebook_path: pulumi.Input[str], - base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - source: Optional[pulumi.Input[str]] = None, - warehouse_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] notebook_path: The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] base_parameters: (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - :param pulumi.Input[str] source: Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + @azure_attributes.setter + def azure_attributes(self, value: Optional[pulumi.Input['JobNewClusterAzureAttributesArgs']]): + pulumi.set(self, "azure_attributes", value) @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> pulumi.Input[str]: - """ - The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - """ - return pulumi.get(self, "notebook_path") + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_id") - @notebook_path.setter - def notebook_path(self, value: pulumi.Input[str]): - pulumi.set(self, "notebook_path", value) + @cluster_id.setter + def cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_id", value) @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - """ - return pulumi.get(self, "base_parameters") + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']]: + return pulumi.get(self, "cluster_log_conf") - @base_parameters.setter - def base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "base_parameters", value) + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional[pulumi.Input['JobNewClusterClusterLogConfArgs']]): + pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]]: + return pulumi.get(self, "cluster_mount_infos") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterClusterMountInfoArgs']]]]): + pulumi.set(self, "cluster_mount_infos", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[pulumi.Input[str]]: - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_name") - @warehouse_id.setter - def warehouse_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "warehouse_id", value) + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_tags") -if not MYPY: - class JobNotificationSettingsArgsDict(TypedDict): - no_alert_for_canceled_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for cancelled runs. + @custom_tags.setter + def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_tags", value) - The following parameter is only available on task level. - """ - no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for skipped runs. - """ -elif False: - JobNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "data_security_mode") -@pulumi.input_type -class JobNotificationSettingsArgs: - def __init__(__self__, *, - no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, - no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[bool] no_alert_for_canceled_runs: (Bool) don't send alert for cancelled runs. - - The following parameter is only available on task level. - :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. - """ - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + @data_security_mode.setter + def data_security_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_security_mode", value) @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for cancelled runs. - - The following parameter is only available on task level. - """ - return pulumi.get(self, "no_alert_for_canceled_runs") + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional[pulumi.Input['JobNewClusterDockerImageArgs']]: + return pulumi.get(self, "docker_image") - @no_alert_for_canceled_runs.setter - def no_alert_for_canceled_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_canceled_runs", value) + @docker_image.setter + def docker_image(self, value: Optional[pulumi.Input['JobNewClusterDockerImageArgs']]): + pulumi.set(self, "docker_image", value) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for skipped runs. - """ - return pulumi.get(self, "no_alert_for_skipped_runs") - - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_skipped_runs", value) - - -if not MYPY: - class JobParameterArgsDict(TypedDict): - default: pulumi.Input[str] - """ - Default value of the parameter. - - *You can use this block only together with `task` blocks, not with the legacy tasks specification!* - """ - name: pulumi.Input[str] - """ - The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. - """ -elif False: - JobParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_instance_pool_id") -@pulumi.input_type -class JobParameterArgs: - def __init__(__self__, *, - default: pulumi.Input[str], - name: pulumi.Input[str]): - """ - :param pulumi.Input[str] default: Default value of the parameter. - - *You can use this block only together with `task` blocks, not with the legacy tasks specification!* - :param pulumi.Input[str] name: The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. - """ - pulumi.set(__self__, "default", default) - pulumi.set(__self__, "name", name) + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_instance_pool_id", value) @property - @pulumi.getter - def default(self) -> pulumi.Input[str]: - """ - Default value of the parameter. - - *You can use this block only together with `task` blocks, not with the legacy tasks specification!* - """ - return pulumi.get(self, "default") + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_node_type_id") - @default.setter - def default(self, value: pulumi.Input[str]): - pulumi.set(self, "default", value) + @driver_node_type_id.setter + def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_node_type_id", value) @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_elastic_disk") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_elastic_disk", value) + @property + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_local_disk_encryption") -if not MYPY: - class JobPipelineTaskArgsDict(TypedDict): - pipeline_id: pulumi.Input[str] - """ - The pipeline's unique ID. - """ - full_refresh: NotRequired[pulumi.Input[bool]] - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_local_disk_encryption", value) - > The following configuration blocks are only supported inside a `task` block - """ -elif False: - JobPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional[pulumi.Input['JobNewClusterGcpAttributesArgs']]: + return pulumi.get(self, "gcp_attributes") -@pulumi.input_type -class JobPipelineTaskArgs: - def __init__(__self__, *, - pipeline_id: pulumi.Input[str], - full_refresh: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] pipeline_id: The pipeline's unique ID. - :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional[pulumi.Input['JobNewClusterGcpAttributesArgs']]): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> pulumi.Input[str]: - """ - The pipeline's unique ID. - """ - return pulumi.get(self, "pipeline_id") + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "idempotency_token") - @pipeline_id.setter - def pipeline_id(self, value: pulumi.Input[str]): - pulumi.set(self, "pipeline_id", value) + @idempotency_token.setter + def idempotency_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "idempotency_token", value) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgs']]]]: + return pulumi.get(self, "init_scripts") - > The following configuration blocks are only supported inside a `task` block - """ - return pulumi.get(self, "full_refresh") + @init_scripts.setter + def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterInitScriptArgs']]]]): + pulumi.set(self, "init_scripts", value) - @full_refresh.setter - def full_refresh(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "full_refresh", value) + @property + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_pool_id") + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_pool_id", value) -if not MYPY: - class JobPythonWheelTaskArgsDict(TypedDict): - entry_point: NotRequired[pulumi.Input[str]] - """ - Python function as entry point for the task - """ - named_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - Named parameters for the task - """ - package_name: NotRequired[pulumi.Input[str]] - """ - Name of Python package - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - Parameters for the task - """ -elif False: - JobPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_single_node") -@pulumi.input_type -class JobPythonWheelTaskArgs: - def __init__(__self__, *, - entry_point: Optional[pulumi.Input[str]] = None, - named_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - package_name: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] entry_point: Python function as entry point for the task - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] named_parameters: Named parameters for the task - :param pulumi.Input[str] package_name: Name of Python package - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: Parameters for the task - """ - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @is_single_node.setter + def is_single_node(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_single_node", value) @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[pulumi.Input[str]]: - """ - Python function as entry point for the task - """ - return pulumi.get(self, "entry_point") + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kind") - @entry_point.setter - def entry_point(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "entry_point", value) + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + @pulumi.getter + def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]]: """ - Named parameters for the task + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ - return pulumi.get(self, "named_parameters") + return pulumi.get(self, "libraries") - @named_parameters.setter - def named_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "named_parameters", value) + @libraries.setter + def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobNewClusterLibraryArgs']]]]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of Python package - """ - return pulumi.get(self, "package_name") + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "node_type_id") - @package_name.setter - def package_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_name", value) + @node_type_id.setter + def node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Parameters for the task - """ - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "num_workers") + @num_workers.setter + def num_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_workers", value) -if not MYPY: - class JobQueueArgsDict(TypedDict): - enabled: pulumi.Input[bool] - """ - If true, enable queueing for the job. - """ -elif False: - JobQueueArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "policy_id") -@pulumi.input_type -class JobQueueArgs: - def __init__(__self__, *, - enabled: pulumi.Input[bool]): - """ - :param pulumi.Input[bool] enabled: If true, enable queueing for the job. - """ - pulumi.set(__self__, "enabled", enabled) + @policy_id.setter + def policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy_id", value) @property - @pulumi.getter - def enabled(self) -> pulumi.Input[bool]: - """ - If true, enable queueing for the job. - """ - return pulumi.get(self, "enabled") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "runtime_engine") - @enabled.setter - def enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "enabled", value) + @runtime_engine.setter + def runtime_engine(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "runtime_engine", value) + @property + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "single_user_name") -if not MYPY: - class JobRunAsArgsDict(TypedDict): - service_principal_name: NotRequired[pulumi.Input[str]] - """ - The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. + @single_user_name.setter + def single_user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "single_user_name", value) - Example: + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_conf") - ```python - import pulumi - import pulumi_databricks as databricks + @spark_conf.setter + def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_conf", value) - this = databricks.Job("this", run_as={ - "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", - }) - ``` - """ - user_name: NotRequired[pulumi.Input[str]] - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ -elif False: - JobRunAsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_env_vars") -@pulumi.input_type -class JobRunAsArgs: - def __init__(__self__, *, - service_principal_name: Optional[pulumi.Input[str]] = None, - user_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] service_principal_name: The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - - Example: - - ```python - import pulumi - import pulumi_databricks as databricks - - this = databricks.Job("this", run_as={ - "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", - }) - ``` - :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - if service_principal_name is not None: - pulumi.set(__self__, "service_principal_name", service_principal_name) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter(name="servicePrincipalName") - def service_principal_name(self) -> Optional[pulumi.Input[str]]: - """ - The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - - Example: + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "ssh_public_keys") - ```python - import pulumi - import pulumi_databricks as databricks + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ssh_public_keys", value) - this = databricks.Job("this", run_as={ - "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", - }) - ``` - """ - return pulumi.get(self, "service_principal_name") + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_ml_runtime") - @service_principal_name.setter - def service_principal_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_principal_name", value) + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_ml_runtime", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']]: """ - The email of an active workspace user. Non-admin users can only set this field to their own email. + isn't supported """ - return pulumi.get(self, "user_name") + return pulumi.get(self, "workload_type") - @user_name.setter - def user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_name", value) + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']]): + pulumi.set(self, "workload_type", value) if not MYPY: - class JobRunJobTaskArgsDict(TypedDict): - job_id: pulumi.Input[int] - """ - (String) ID of the job - """ - job_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) Job parameters for the task - """ + class JobNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[pulumi.Input[int]] + min_workers: NotRequired[pulumi.Input[int]] elif False: - JobRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobRunJobTaskArgs: +class JobNewClusterAutoscaleArgs: def __init__(__self__, *, - job_id: pulumi.Input[int], - job_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[int] job_id: (String) ID of the job - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] job_parameters: (Map) Job parameters for the task - """ - pulumi.set(__self__, "job_id", job_id) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) + max_workers: Optional[pulumi.Input[int]] = None, + min_workers: Optional[pulumi.Input[int]] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter(name="jobId") - def job_id(self) -> pulumi.Input[int]: - """ - (String) ID of the job - """ - return pulumi.get(self, "job_id") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_workers") - @job_id.setter - def job_id(self, value: pulumi.Input[int]): - pulumi.set(self, "job_id", value) + @max_workers.setter + def max_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) Job parameters for the task - """ - return pulumi.get(self, "job_parameters") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min_workers") - @job_parameters.setter - def job_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "job_parameters", value) + @min_workers.setter + def min_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_workers", value) if not MYPY: - class JobScheduleArgsDict(TypedDict): - quartz_cron_expression: pulumi.Input[str] - """ - A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. - """ - timezone_id: pulumi.Input[str] - """ - A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. - """ - pause_status: NotRequired[pulumi.Input[str]] - """ - Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ + class JobNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + ebs_volume_count: NotRequired[pulumi.Input[int]] + ebs_volume_iops: NotRequired[pulumi.Input[int]] + ebs_volume_size: NotRequired[pulumi.Input[int]] + ebs_volume_throughput: NotRequired[pulumi.Input[int]] + ebs_volume_type: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + instance_profile_arn: NotRequired[pulumi.Input[str]] + spot_bid_price_percent: NotRequired[pulumi.Input[int]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - JobScheduleArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobScheduleArgs: +class JobNewClusterAwsAttributesArgs: def __init__(__self__, *, - quartz_cron_expression: pulumi.Input[str], - timezone_id: pulumi.Input[str], - pause_status: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] quartz_cron_expression: A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. - :param pulumi.Input[str] timezone_id: A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. - :param pulumi.Input[str] pause_status: Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ - pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) - pulumi.set(__self__, "timezone_id", timezone_id) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) + availability: Optional[pulumi.Input[str]] = None, + ebs_volume_count: Optional[pulumi.Input[int]] = None, + ebs_volume_iops: Optional[pulumi.Input[int]] = None, + ebs_volume_size: Optional[pulumi.Input[int]] = None, + ebs_volume_throughput: Optional[pulumi.Input[int]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="quartzCronExpression") - def quartz_cron_expression(self) -> pulumi.Input[str]: - """ - A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. - """ - return pulumi.get(self, "quartz_cron_expression") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @quartz_cron_expression.setter - def quartz_cron_expression(self, value: pulumi.Input[str]): - pulumi.set(self, "quartz_cron_expression", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="timezoneId") - def timezone_id(self) -> pulumi.Input[str]: - """ - A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. - """ - return pulumi.get(self, "timezone_id") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_count") - @timezone_id.setter - def timezone_id(self, value: pulumi.Input[str]): - pulumi.set(self, "timezone_id", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_count", value) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[pulumi.Input[str]]: - """ - Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ - return pulumi.get(self, "pause_status") + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_iops") - @pause_status.setter - def pause_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pause_status", value) + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_iops", value) + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_size") + + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_size", value) + + @property + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_throughput") + + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_throughput", value) + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ebs_volume_type") + + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_profile_arn") + + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobSparkJarTaskArgsDict(TypedDict): - jar_uri: NotRequired[pulumi.Input[str]] - main_class_name: NotRequired[pulumi.Input[str]] - """ - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Parameters passed to the main method. - """ + class JobNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + log_analytics_info: NotRequired[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] + spot_bid_max_price: NotRequired[pulumi.Input[float]] elif False: - JobSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobSparkJarTaskArgs: +class JobNewClusterAzureAttributesArgs: def __init__(__self__, *, - jar_uri: Optional[pulumi.Input[str]] = None, - main_class_name: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] main_class_name: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Parameters passed to the main method. - """ - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + availability: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + log_analytics_info: Optional[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar_uri") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @jar_uri.setter - def jar_uri(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar_uri", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[pulumi.Input[str]]: - """ - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - """ - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @main_class_name.setter - def main_class_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "main_class_name", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Parameters passed to the main method. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgs']]: + return pulumi.get(self, "log_analytics_info") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @log_analytics_info.setter + def log_analytics_info(self, value: Optional[pulumi.Input['JobNewClusterAzureAttributesLogAnalyticsInfoArgs']]): + pulumi.set(self, "log_analytics_info", value) + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "spot_bid_max_price") + + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class JobSparkPythonTaskArgsDict(TypedDict): - python_file: pulumi.Input[str] - """ - The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Command line parameters passed to the Python file. - """ - source: NotRequired[pulumi.Input[str]] - """ - Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ + class JobNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[pulumi.Input[str]] + log_analytics_workspace_id: NotRequired[pulumi.Input[str]] elif False: - JobSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobSparkPythonTaskArgs: +class JobNewClusterAzureAttributesLogAnalyticsInfoArgs: def __init__(__self__, *, - python_file: pulumi.Input[str], - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] python_file: The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command line parameters passed to the Python file. - :param pulumi.Input[str] source: Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) + log_analytics_primary_key: Optional[pulumi.Input[str]] = None, + log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> pulumi.Input[str]: - """ - The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - """ - return pulumi.get(self, "python_file") + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_primary_key") - @python_file.setter - def python_file(self, value: pulumi.Input[str]): - pulumi.set(self, "python_file", value) + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_primary_key", value) + + @property + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_workspace_id") + + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_id", value) + + +if not MYPY: + class JobNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired[pulumi.Input['JobNewClusterClusterLogConfDbfsArgsDict']] + s3: NotRequired[pulumi.Input['JobNewClusterClusterLogConfS3ArgsDict']] +elif False: + JobNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterClusterLogConfArgs: + def __init__(__self__, *, + dbfs: Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']] = None, + s3: Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Command line parameters passed to the Python file. - """ - return pulumi.get(self, "parameters") + def dbfs(self) -> Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']]: + return pulumi.get(self, "dbfs") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ - return pulumi.get(self, "source") + def s3(self) -> Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']]: + return pulumi.get(self, "s3") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']]): + pulumi.set(self, "s3", value) if not MYPY: - class JobSparkSubmitTaskArgsDict(TypedDict): - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Command-line parameters passed to spark submit. - """ + class JobNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobSparkSubmitTaskArgs: +class JobNewClusterClusterLogConfDbfsArgs: def __init__(__self__, *, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command-line parameters passed to spark submit. - """ - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Command-line parameters passed to spark submit. - """ - return pulumi.get(self, "parameters") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskArgsDict(TypedDict): - task_key: pulumi.Input[str] - """ - string specifying an unique key for a given task. - * `*_task` - (Required) one of the specific task blocks described below: - """ - condition_task: NotRequired[pulumi.Input['JobTaskConditionTaskArgsDict']] - dbt_task: NotRequired[pulumi.Input['JobTaskDbtTaskArgsDict']] - depends_ons: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgsDict']]]] - """ - block specifying dependency(-ies) for a given task. - """ - description: NotRequired[pulumi.Input[str]] - """ - description for this task. - """ - disable_auto_optimization: NotRequired[pulumi.Input[bool]] - """ - A flag to disable auto optimization in serverless tasks. - """ - email_notifications: NotRequired[pulumi.Input['JobTaskEmailNotificationsArgsDict']] - """ - An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - """ - environment_key: NotRequired[pulumi.Input[str]] - """ - identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. - """ - existing_cluster_id: NotRequired[pulumi.Input[str]] - """ - Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - """ - for_each_task: NotRequired[pulumi.Input['JobTaskForEachTaskArgsDict']] - health: NotRequired[pulumi.Input['JobTaskHealthArgsDict']] - """ - block described below that specifies health conditions for a given task. - """ - job_cluster_key: NotRequired[pulumi.Input[str]] - """ - Identifier of the Job cluster specified in the `job_cluster` block. - """ - libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgsDict']]]] - """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. - """ - max_retries: NotRequired[pulumi.Input[int]] - """ - (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - """ - min_retry_interval_millis: NotRequired[pulumi.Input[int]] - """ - (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - """ - new_cluster: NotRequired[pulumi.Input['JobTaskNewClusterArgsDict']] - """ - Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* - """ - notebook_task: NotRequired[pulumi.Input['JobTaskNotebookTaskArgsDict']] - notification_settings: NotRequired[pulumi.Input['JobTaskNotificationSettingsArgsDict']] - """ - An optional block controlling the notification settings on the job level documented below. - """ - pipeline_task: NotRequired[pulumi.Input['JobTaskPipelineTaskArgsDict']] - python_wheel_task: NotRequired[pulumi.Input['JobTaskPythonWheelTaskArgsDict']] - retry_on_timeout: NotRequired[pulumi.Input[bool]] - """ - (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - """ - run_if: NotRequired[pulumi.Input[str]] - """ - An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - """ - run_job_task: NotRequired[pulumi.Input['JobTaskRunJobTaskArgsDict']] - spark_jar_task: NotRequired[pulumi.Input['JobTaskSparkJarTaskArgsDict']] - spark_python_task: NotRequired[pulumi.Input['JobTaskSparkPythonTaskArgsDict']] - spark_submit_task: NotRequired[pulumi.Input['JobTaskSparkSubmitTaskArgsDict']] - sql_task: NotRequired[pulumi.Input['JobTaskSqlTaskArgsDict']] - timeout_seconds: NotRequired[pulumi.Input[int]] - """ - (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - """ - webhook_notifications: NotRequired[pulumi.Input['JobTaskWebhookNotificationsArgsDict']] - """ - (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - - > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. - """ + class JobNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - JobTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskArgs: +class JobNewClusterClusterLogConfS3Args: def __init__(__self__, *, - task_key: pulumi.Input[str], - condition_task: Optional[pulumi.Input['JobTaskConditionTaskArgs']] = None, - dbt_task: Optional[pulumi.Input['JobTaskDbtTaskArgs']] = None, - depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]]] = None, - description: Optional[pulumi.Input[str]] = None, - disable_auto_optimization: Optional[pulumi.Input[bool]] = None, - email_notifications: Optional[pulumi.Input['JobTaskEmailNotificationsArgs']] = None, - environment_key: Optional[pulumi.Input[str]] = None, - existing_cluster_id: Optional[pulumi.Input[str]] = None, - for_each_task: Optional[pulumi.Input['JobTaskForEachTaskArgs']] = None, - health: Optional[pulumi.Input['JobTaskHealthArgs']] = None, - job_cluster_key: Optional[pulumi.Input[str]] = None, - libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]]] = None, - max_retries: Optional[pulumi.Input[int]] = None, - min_retry_interval_millis: Optional[pulumi.Input[int]] = None, - new_cluster: Optional[pulumi.Input['JobTaskNewClusterArgs']] = None, - notebook_task: Optional[pulumi.Input['JobTaskNotebookTaskArgs']] = None, - notification_settings: Optional[pulumi.Input['JobTaskNotificationSettingsArgs']] = None, - pipeline_task: Optional[pulumi.Input['JobTaskPipelineTaskArgs']] = None, - python_wheel_task: Optional[pulumi.Input['JobTaskPythonWheelTaskArgs']] = None, - retry_on_timeout: Optional[pulumi.Input[bool]] = None, - run_if: Optional[pulumi.Input[str]] = None, - run_job_task: Optional[pulumi.Input['JobTaskRunJobTaskArgs']] = None, - spark_jar_task: Optional[pulumi.Input['JobTaskSparkJarTaskArgs']] = None, - spark_python_task: Optional[pulumi.Input['JobTaskSparkPythonTaskArgs']] = None, - spark_submit_task: Optional[pulumi.Input['JobTaskSparkSubmitTaskArgs']] = None, - sql_task: Optional[pulumi.Input['JobTaskSqlTaskArgs']] = None, - timeout_seconds: Optional[pulumi.Input[int]] = None, - webhook_notifications: Optional[pulumi.Input['JobTaskWebhookNotificationsArgs']] = None): - """ - :param pulumi.Input[str] task_key: string specifying an unique key for a given task. - * `*_task` - (Required) one of the specific task blocks described below: - :param pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]] depends_ons: block specifying dependency(-ies) for a given task. - :param pulumi.Input[str] description: description for this task. - :param pulumi.Input[bool] disable_auto_optimization: A flag to disable auto optimization in serverless tasks. - :param pulumi.Input['JobTaskEmailNotificationsArgs'] email_notifications: An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - :param pulumi.Input[str] environment_key: identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. - :param pulumi.Input[str] existing_cluster_id: Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - :param pulumi.Input['JobTaskHealthArgs'] health: block described below that specifies health conditions for a given task. - :param pulumi.Input[str] job_cluster_key: Identifier of the Job cluster specified in the `job_cluster` block. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. - :param pulumi.Input[int] max_retries: (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - :param pulumi.Input['JobTaskNewClusterArgs'] new_cluster: Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* - :param pulumi.Input['JobTaskNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below. - :param pulumi.Input[bool] retry_on_timeout: (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - :param pulumi.Input[str] run_if: An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - :param pulumi.Input[int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - :param pulumi.Input['JobTaskWebhookNotificationsArgs'] webhook_notifications: (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - - > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. - """ - pulumi.set(__self__, "task_key", task_key) - if condition_task is not None: - pulumi.set(__self__, "condition_task", condition_task) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) - if description is not None: - pulumi.set(__self__, "description", description) - if disable_auto_optimization is not None: - pulumi.set(__self__, "disable_auto_optimization", disable_auto_optimization) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environment_key is not None: - pulumi.set(__self__, "environment_key", environment_key) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if for_each_task is not None: - pulumi.set(__self__, "for_each_task", for_each_task) - if health is not None: - pulumi.set(__self__, "health", health) - if job_cluster_key is not None: - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if retry_on_timeout is not None: - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - if run_if is not None: - pulumi.set(__self__, "run_if", run_if) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if sql_task is not None: - pulumi.set(__self__, "sql_task", sql_task) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="taskKey") - def task_key(self) -> pulumi.Input[str]: - """ - string specifying an unique key for a given task. - * `*_task` - (Required) one of the specific task blocks described below: - """ - return pulumi.get(self, "task_key") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @task_key.setter - def task_key(self, value: pulumi.Input[str]): - pulumi.set(self, "task_key", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="conditionTask") - def condition_task(self) -> Optional[pulumi.Input['JobTaskConditionTaskArgs']]: - return pulumi.get(self, "condition_task") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") - @condition_task.setter - def condition_task(self, value: Optional[pulumi.Input['JobTaskConditionTaskArgs']]): - pulumi.set(self, "condition_task", value) + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional[pulumi.Input['JobTaskDbtTaskArgs']]: - return pulumi.get(self, "dbt_task") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") - @dbt_task.setter - def dbt_task(self, value: Optional[pulumi.Input['JobTaskDbtTaskArgs']]): - pulumi.set(self, "dbt_task", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="dependsOns") - def depends_ons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]]]: - """ - block specifying dependency(-ies) for a given task. - """ - return pulumi.get(self, "depends_ons") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") - @depends_ons.setter - def depends_ons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]]]): - pulumi.set(self, "depends_ons", value) + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - description for this task. - """ - return pulumi.get(self, "description") + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="disableAutoOptimization") - def disable_auto_optimization(self) -> Optional[pulumi.Input[bool]]: - """ - A flag to disable auto optimization in serverless tasks. - """ - return pulumi.get(self, "disable_auto_optimization") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") - @disable_auto_optimization.setter - def disable_auto_optimization(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "disable_auto_optimization", value) + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional[pulumi.Input['JobTaskEmailNotificationsArgs']]: - """ - An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - """ - return pulumi.get(self, "email_notifications") + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @email_notifications.setter - def email_notifications(self, value: Optional[pulumi.Input['JobTaskEmailNotificationsArgs']]): - pulumi.set(self, "email_notifications", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) - @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> Optional[pulumi.Input[str]]: - """ - identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. - """ - return pulumi.get(self, "environment_key") - @environment_key.setter - def environment_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "environment_key", value) +if not MYPY: + class JobNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: pulumi.Input[str] + network_filesystem_info: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] + remote_mount_dir_path: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterClusterMountInfoArgs: + def __init__(__self__, *, + local_mount_dir_path: pulumi.Input[str], + network_filesystem_info: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], + remote_mount_dir_path: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - """ - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> pulumi.Input[str]: + return pulumi.get(self, "local_mount_dir_path") - @existing_cluster_id.setter - def existing_cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "existing_cluster_id", value) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: pulumi.Input[str]): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter(name="forEachTask") - def for_each_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskArgs']]: - return pulumi.get(self, "for_each_task") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: + return pulumi.get(self, "network_filesystem_info") - @for_each_task.setter - def for_each_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskArgs']]): - pulumi.set(self, "for_each_task", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter - def health(self) -> Optional[pulumi.Input['JobTaskHealthArgs']]: - """ - block described below that specifies health conditions for a given task. - """ - return pulumi.get(self, "health") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "remote_mount_dir_path") - @health.setter - def health(self, value: Optional[pulumi.Input['JobTaskHealthArgs']]): - pulumi.set(self, "health", value) + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "remote_mount_dir_path", value) - @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the Job cluster specified in the `job_cluster` block. - """ - return pulumi.get(self, "job_cluster_key") - @job_cluster_key.setter - def job_cluster_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "job_cluster_key", value) +if not MYPY: + class JobNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: pulumi.Input[str] + mount_options: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: pulumi.Input[str], + mount_options: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter - def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]]]: - """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. - """ - return pulumi.get(self, "libraries") + @pulumi.getter(name="serverAddress") + def server_address(self) -> pulumi.Input[str]: + return pulumi.get(self, "server_address") - @libraries.setter - def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]]]): - pulumi.set(self, "libraries", value) + @server_address.setter + def server_address(self, value: pulumi.Input[str]): + pulumi.set(self, "server_address", value) @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[pulumi.Input[int]]: - """ - (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - """ - return pulumi.get(self, "max_retries") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mount_options") - @max_retries.setter - def max_retries(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_retries", value) + @mount_options.setter + def mount_options(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mount_options", value) - @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[pulumi.Input[int]]: + +if not MYPY: + class JobNewClusterDockerImageArgsDict(TypedDict): + url: pulumi.Input[str] """ - (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + URL of the job on the given workspace """ - return pulumi.get(self, "min_retry_interval_millis") + basic_auth: NotRequired[pulumi.Input['JobNewClusterDockerImageBasicAuthArgsDict']] +elif False: + JobNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] - @min_retry_interval_millis.setter - def min_retry_interval_millis(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_retry_interval_millis", value) +@pulumi.input_type +class JobNewClusterDockerImageArgs: + def __init__(__self__, *, + url: pulumi.Input[str], + basic_auth: Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']] = None): + """ + :param pulumi.Input[str] url: URL of the job on the given workspace + """ + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional[pulumi.Input['JobTaskNewClusterArgs']]: + @pulumi.getter + def url(self) -> pulumi.Input[str]: """ - Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + URL of the job on the given workspace """ - return pulumi.get(self, "new_cluster") + return pulumi.get(self, "url") - @new_cluster.setter - def new_cluster(self, value: Optional[pulumi.Input['JobTaskNewClusterArgs']]): - pulumi.set(self, "new_cluster", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional[pulumi.Input['JobTaskNotebookTaskArgs']]: - return pulumi.get(self, "notebook_task") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']]: + return pulumi.get(self, "basic_auth") - @notebook_task.setter - def notebook_task(self, value: Optional[pulumi.Input['JobTaskNotebookTaskArgs']]): - pulumi.set(self, "notebook_task", value) + @basic_auth.setter + def basic_auth(self, value: Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']]): + pulumi.set(self, "basic_auth", value) - @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional[pulumi.Input['JobTaskNotificationSettingsArgs']]: - """ - An optional block controlling the notification settings on the job level documented below. - """ - return pulumi.get(self, "notification_settings") - @notification_settings.setter - def notification_settings(self, value: Optional[pulumi.Input['JobTaskNotificationSettingsArgs']]): - pulumi.set(self, "notification_settings", value) +if not MYPY: + class JobNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: pulumi.Input[str] + username: pulumi.Input[str] +elif False: + JobNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: pulumi.Input[str], + username: pulumi.Input[str]): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional[pulumi.Input['JobTaskPipelineTaskArgs']]: - return pulumi.get(self, "pipeline_task") + @pulumi.getter + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @pipeline_task.setter - def pipeline_task(self, value: Optional[pulumi.Input['JobTaskPipelineTaskArgs']]): - pulumi.set(self, "pipeline_task", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional[pulumi.Input['JobTaskPythonWheelTaskArgs']]: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") - @python_wheel_task.setter - def python_wheel_task(self, value: Optional[pulumi.Input['JobTaskPythonWheelTaskArgs']]): - pulumi.set(self, "python_wheel_task", value) + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) - @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - """ - return pulumi.get(self, "retry_on_timeout") - @retry_on_timeout.setter - def retry_on_timeout(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "retry_on_timeout", value) +if not MYPY: + class JobNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + boot_disk_size: NotRequired[pulumi.Input[int]] + google_service_account: NotRequired[pulumi.Input[str]] + local_ssd_count: NotRequired[pulumi.Input[int]] + use_preemptible_executors: NotRequired[pulumi.Input[bool]] + zone_id: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterGcpAttributesArgs: + def __init__(__self__, *, + availability: Optional[pulumi.Input[str]] = None, + boot_disk_size: Optional[pulumi.Input[int]] = None, + google_service_account: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + use_preemptible_executors: Optional[pulumi.Input[bool]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="runIf") - def run_if(self) -> Optional[pulumi.Input[str]]: - """ - An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - """ - return pulumi.get(self, "run_if") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @run_if.setter - def run_if(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "run_if", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional[pulumi.Input['JobTaskRunJobTaskArgs']]: - return pulumi.get(self, "run_job_task") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "boot_disk_size") - @run_job_task.setter - def run_job_task(self, value: Optional[pulumi.Input['JobTaskRunJobTaskArgs']]): - pulumi.set(self, "run_job_task", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional[pulumi.Input['JobTaskSparkJarTaskArgs']]: - return pulumi.get(self, "spark_jar_task") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "google_service_account") - @spark_jar_task.setter - def spark_jar_task(self, value: Optional[pulumi.Input['JobTaskSparkJarTaskArgs']]): - pulumi.set(self, "spark_jar_task", value) + @google_service_account.setter + def google_service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional[pulumi.Input['JobTaskSparkPythonTaskArgs']]: - return pulumi.get(self, "spark_python_task") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "local_ssd_count") - @spark_python_task.setter - def spark_python_task(self, value: Optional[pulumi.Input['JobTaskSparkPythonTaskArgs']]): - pulumi.set(self, "spark_python_task", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional[pulumi.Input['JobTaskSparkSubmitTaskArgs']]: - return pulumi.get(self, "spark_submit_task") - - @spark_submit_task.setter - def spark_submit_task(self, value: Optional[pulumi.Input['JobTaskSparkSubmitTaskArgs']]): - pulumi.set(self, "spark_submit_task", value) - - @property - @pulumi.getter(name="sqlTask") - def sql_task(self) -> Optional[pulumi.Input['JobTaskSqlTaskArgs']]: - return pulumi.get(self, "sql_task") - - @sql_task.setter - def sql_task(self, value: Optional[pulumi.Input['JobTaskSqlTaskArgs']]): - pulumi.set(self, "sql_task", value) - - @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[pulumi.Input[int]]: - """ - (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - """ - return pulumi.get(self, "timeout_seconds") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_preemptible_executors") - @timeout_seconds.setter - def timeout_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout_seconds", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional[pulumi.Input['JobTaskWebhookNotificationsArgs']]: - """ - (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - - > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. - """ - return pulumi.get(self, "webhook_notifications") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") - @webhook_notifications.setter - def webhook_notifications(self, value: Optional[pulumi.Input['JobTaskWebhookNotificationsArgs']]): - pulumi.set(self, "webhook_notifications", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobTaskConditionTaskArgsDict(TypedDict): - left: pulumi.Input[str] - """ - The left operand of the condition task. It could be a string value, job state, or a parameter reference. - """ - op: pulumi.Input[str] - """ - The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - - This task does not require a cluster to execute and does not support retries or notifications. - """ - right: pulumi.Input[str] + class JobNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired[pulumi.Input['JobNewClusterInitScriptAbfssArgsDict']] + dbfs: NotRequired[pulumi.Input['JobNewClusterInitScriptDbfsArgsDict']] + file: NotRequired[pulumi.Input['JobNewClusterInitScriptFileArgsDict']] """ - The right operand of the condition task. It could be a string value, job state, or parameter reference. + block consisting of single string fields: """ + gcs: NotRequired[pulumi.Input['JobNewClusterInitScriptGcsArgsDict']] + s3: NotRequired[pulumi.Input['JobNewClusterInitScriptS3ArgsDict']] + volumes: NotRequired[pulumi.Input['JobNewClusterInitScriptVolumesArgsDict']] + workspace: NotRequired[pulumi.Input['JobNewClusterInitScriptWorkspaceArgsDict']] elif False: - JobTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskConditionTaskArgs: +class JobNewClusterInitScriptArgs: def __init__(__self__, *, - left: pulumi.Input[str], - op: pulumi.Input[str], - right: pulumi.Input[str]): + abfss: Optional[pulumi.Input['JobNewClusterInitScriptAbfssArgs']] = None, + dbfs: Optional[pulumi.Input['JobNewClusterInitScriptDbfsArgs']] = None, + file: Optional[pulumi.Input['JobNewClusterInitScriptFileArgs']] = None, + gcs: Optional[pulumi.Input['JobNewClusterInitScriptGcsArgs']] = None, + s3: Optional[pulumi.Input['JobNewClusterInitScriptS3Args']] = None, + volumes: Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']] = None, + workspace: Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']] = None): """ - :param pulumi.Input[str] left: The left operand of the condition task. It could be a string value, job state, or a parameter reference. - :param pulumi.Input[str] op: The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - - This task does not require a cluster to execute and does not support retries or notifications. - :param pulumi.Input[str] right: The right operand of the condition task. It could be a string value, job state, or parameter reference. + :param pulumi.Input['JobNewClusterInitScriptFileArgs'] file: block consisting of single string fields: """ - pulumi.set(__self__, "left", left) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "right", right) + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def left(self) -> pulumi.Input[str]: - """ - The left operand of the condition task. It could be a string value, job state, or a parameter reference. - """ - return pulumi.get(self, "left") + def abfss(self) -> Optional[pulumi.Input['JobNewClusterInitScriptAbfssArgs']]: + return pulumi.get(self, "abfss") - @left.setter - def left(self, value: pulumi.Input[str]): - pulumi.set(self, "left", value) + @abfss.setter + def abfss(self, value: Optional[pulumi.Input['JobNewClusterInitScriptAbfssArgs']]): + pulumi.set(self, "abfss", value) @property @pulumi.getter - def op(self) -> pulumi.Input[str]: - """ - The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - - This task does not require a cluster to execute and does not support retries or notifications. - """ - return pulumi.get(self, "op") + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional[pulumi.Input['JobNewClusterInitScriptDbfsArgs']]: + return pulumi.get(self, "dbfs") - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobNewClusterInitScriptDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def right(self) -> pulumi.Input[str]: - """ - The right operand of the condition task. It could be a string value, job state, or parameter reference. - """ - return pulumi.get(self, "right") - - @right.setter - def right(self, value: pulumi.Input[str]): - pulumi.set(self, "right", value) - - -if not MYPY: - class JobTaskDbtTaskArgsDict(TypedDict): - commands: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - """ - catalog: NotRequired[pulumi.Input[str]] - """ - The name of the catalog to use inside Unity Catalog. - """ - profiles_directory: NotRequired[pulumi.Input[str]] - """ - The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - """ - project_directory: NotRequired[pulumi.Input[str]] - """ - The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - """ - schema: NotRequired[pulumi.Input[str]] - """ - The name of the schema dbt should run in. Defaults to `default`. - """ - source: NotRequired[pulumi.Input[str]] - """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. - """ - warehouse_id: NotRequired[pulumi.Input[str]] + def file(self) -> Optional[pulumi.Input['JobNewClusterInitScriptFileArgs']]: """ - The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. + block consisting of single string fields: """ -elif False: - JobTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "file") -@pulumi.input_type -class JobTaskDbtTaskArgs: - def __init__(__self__, *, - commands: pulumi.Input[Sequence[pulumi.Input[str]]], - catalog: Optional[pulumi.Input[str]] = None, - profiles_directory: Optional[pulumi.Input[str]] = None, - project_directory: Optional[pulumi.Input[str]] = None, - schema: Optional[pulumi.Input[str]] = None, - source: Optional[pulumi.Input[str]] = None, - warehouse_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] commands: (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - :param pulumi.Input[str] catalog: The name of the catalog to use inside Unity Catalog. - :param pulumi.Input[str] profiles_directory: The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - :param pulumi.Input[str] project_directory: The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - :param pulumi.Input[str] schema: The name of the schema dbt should run in. Defaults to `default`. - :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. - :param pulumi.Input[str] warehouse_id: The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. - """ - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + @file.setter + def file(self, value: Optional[pulumi.Input['JobNewClusterInitScriptFileArgs']]): + pulumi.set(self, "file", value) @property @pulumi.getter - def commands(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - """ - return pulumi.get(self, "commands") + def gcs(self) -> Optional[pulumi.Input['JobNewClusterInitScriptGcsArgs']]: + return pulumi.get(self, "gcs") - @commands.setter - def commands(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "commands", value) + @gcs.setter + def gcs(self, value: Optional[pulumi.Input['JobNewClusterInitScriptGcsArgs']]): + pulumi.set(self, "gcs", value) @property @pulumi.getter - def catalog(self) -> Optional[pulumi.Input[str]]: - """ - The name of the catalog to use inside Unity Catalog. - """ - return pulumi.get(self, "catalog") - - @catalog.setter - def catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "catalog", value) - - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[pulumi.Input[str]]: - """ - The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - """ - return pulumi.get(self, "profiles_directory") + def s3(self) -> Optional[pulumi.Input['JobNewClusterInitScriptS3Args']]: + return pulumi.get(self, "s3") - @profiles_directory.setter - def profiles_directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "profiles_directory", value) + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobNewClusterInitScriptS3Args']]): + pulumi.set(self, "s3", value) @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[pulumi.Input[str]]: - """ - The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - """ - return pulumi.get(self, "project_directory") + @pulumi.getter + def volumes(self) -> Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']]: + return pulumi.get(self, "volumes") - @project_directory.setter - def project_directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "project_directory", value) + @volumes.setter + def volumes(self, value: Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']]): + pulumi.set(self, "volumes", value) @property @pulumi.getter - def schema(self) -> Optional[pulumi.Input[str]]: - """ - The name of the schema dbt should run in. Defaults to `default`. - """ - return pulumi.get(self, "schema") + def workspace(self) -> Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']]: + return pulumi.get(self, "workspace") - @schema.setter - def schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema", value) + @workspace.setter + def workspace(self, value: Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']]): + pulumi.set(self, "workspace", value) - @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. - """ - return pulumi.get(self, "source") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) +if not MYPY: + class JobNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the SQL warehouse that dbt should execute against. +@pulumi.input_type +class JobNewClusterInitScriptAbfssArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) - You also need to include a `git_source` block to configure the repository that contains the dbt project. - """ - return pulumi.get(self, "warehouse_id") + @property + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @warehouse_id.setter - def warehouse_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "warehouse_id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskDependsOnArgsDict(TypedDict): - task_key: pulumi.Input[str] - """ - The name of the task this task depends on. - """ - outcome: NotRequired[pulumi.Input[str]] - """ - Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - - > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. - """ + class JobNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskDependsOnArgs: +class JobNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - task_key: pulumi.Input[str], - outcome: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] task_key: The name of the task this task depends on. - :param pulumi.Input[str] outcome: Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - - > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. - """ - pulumi.set(__self__, "task_key", task_key) - if outcome is not None: - pulumi.set(__self__, "outcome", outcome) - - @property - @pulumi.getter(name="taskKey") - def task_key(self) -> pulumi.Input[str]: - """ - The name of the task this task depends on. - """ - return pulumi.get(self, "task_key") - - @task_key.setter - def task_key(self, value: pulumi.Input[str]): - pulumi.set(self, "task_key", value) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def outcome(self) -> Optional[pulumi.Input[str]]: - """ - Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - - > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. - """ - return pulumi.get(self, "outcome") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @outcome.setter - def outcome(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "outcome", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskEmailNotificationsArgsDict(TypedDict): - no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). - """ - on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - - The following parameter is only available for the job level configuration. - """ - on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) list of emails to notify when the run fails. - """ - on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) list of emails to notify when the run starts. - """ - on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) list of emails to notify when the run completes successfully. - """ + class JobNewClusterInitScriptFileArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskEmailNotificationsArgs: +class JobNewClusterInitScriptFileArgs: def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, - on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_duration_warning_threshold_exceededs: (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - - The following parameter is only available for the job level configuration. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_failures: (List) list of emails to notify when the run fails. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_starts: (List) list of emails to notify when the run starts. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_successes: (List) list of emails to notify when the run completes successfully. - """ - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). - """ - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - The following parameter is only available for the job level configuration. - """ - return pulumi.get(self, "on_duration_warning_threshold_exceededs") +if not MYPY: + class JobNewClusterInitScriptGcsArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) +@pulumi.input_type +class JobNewClusterInitScriptGcsArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) list of emails to notify when the run fails. - """ - return pulumi.get(self, "on_failures") - - @on_failures.setter - def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_failures", value) + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) list of emails to notify when the run starts. - """ - return pulumi.get(self, "on_starts") + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @on_starts.setter - def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_starts", value) - @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") +if not MYPY: + class JobNewClusterInitScriptS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) +@pulumi.input_type +class JobNewClusterInitScriptS3Args: + def __init__(__self__, *, + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) list of emails to notify when the run completes successfully. - """ - return pulumi.get(self, "on_successes") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @on_successes.setter - def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_successes", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") -if not MYPY: - class JobTaskForEachTaskArgsDict(TypedDict): - inputs: pulumi.Input[str] - """ - (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. - """ - task: pulumi.Input['JobTaskForEachTaskTaskArgsDict'] - """ - Task to run against the `inputs` list. - """ - concurrency: NotRequired[pulumi.Input[int]] - """ - Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. - """ -elif False: - JobTaskForEachTaskArgsDict: TypeAlias = Mapping[str, Any] + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) -@pulumi.input_type -class JobTaskForEachTaskArgs: - def __init__(__self__, *, - inputs: pulumi.Input[str], - task: pulumi.Input['JobTaskForEachTaskTaskArgs'], - concurrency: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] inputs: (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. - :param pulumi.Input['JobTaskForEachTaskTaskArgs'] task: Task to run against the `inputs` list. - :param pulumi.Input[int] concurrency: Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. - """ - pulumi.set(__self__, "inputs", inputs) - pulumi.set(__self__, "task", task) - if concurrency is not None: - pulumi.set(__self__, "concurrency", concurrency) + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") + + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter - def inputs(self) -> pulumi.Input[str]: - """ - (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. - """ - return pulumi.get(self, "inputs") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") - @inputs.setter - def inputs(self, value: pulumi.Input[str]): - pulumi.set(self, "inputs", value) + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def task(self) -> pulumi.Input['JobTaskForEachTaskTaskArgs']: - """ - Task to run against the `inputs` list. - """ - return pulumi.get(self, "task") + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @task.setter - def task(self, value: pulumi.Input['JobTaskForEachTaskTaskArgs']): - pulumi.set(self, "task", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property @pulumi.getter - def concurrency(self) -> Optional[pulumi.Input[int]]: - """ - Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. - """ - return pulumi.get(self, "concurrency") + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @concurrency.setter - def concurrency(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "concurrency", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class JobTaskForEachTaskTaskArgsDict(TypedDict): - task_key: pulumi.Input[str] - """ - string specifying an unique key for a given task. - * `*_task` - (Required) one of the specific task blocks described below: - """ - condition_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgsDict']] - dbt_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgsDict']] - depends_ons: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgsDict']]]] - """ - block specifying dependency(-ies) for a given task. - """ - description: NotRequired[pulumi.Input[str]] - """ - description for this task. - """ - disable_auto_optimization: NotRequired[pulumi.Input[bool]] - """ - A flag to disable auto optimization in serverless tasks. - """ - email_notifications: NotRequired[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgsDict']] - """ - An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - """ - environment_key: NotRequired[pulumi.Input[str]] - """ - identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. - """ - existing_cluster_id: NotRequired[pulumi.Input[str]] - """ - Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - """ - health: NotRequired[pulumi.Input['JobTaskForEachTaskTaskHealthArgsDict']] - """ - block described below that specifies health conditions for a given task. - """ - job_cluster_key: NotRequired[pulumi.Input[str]] - """ - Identifier of the Job cluster specified in the `job_cluster` block. - """ - libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgsDict']]]] - """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. - """ - max_retries: NotRequired[pulumi.Input[int]] - """ - (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - """ - min_retry_interval_millis: NotRequired[pulumi.Input[int]] - """ - (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - """ - new_cluster: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgsDict']] - """ - Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* - """ - notebook_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgsDict']] - notification_settings: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgsDict']] - """ - An optional block controlling the notification settings on the job level documented below. - """ - pipeline_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgsDict']] - python_wheel_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgsDict']] - retry_on_timeout: NotRequired[pulumi.Input[bool]] - """ - (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - """ - run_if: NotRequired[pulumi.Input[str]] - """ - An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - """ - run_job_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgsDict']] - spark_jar_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgsDict']] - spark_python_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgsDict']] - spark_submit_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgsDict']] - sql_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgsDict']] - timeout_seconds: NotRequired[pulumi.Input[int]] - """ - (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - """ - webhook_notifications: NotRequired[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgsDict']] - """ - (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - - > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. - """ + class JobNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskForEachTaskTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskArgs: +class JobNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - task_key: pulumi.Input[str], - condition_task: Optional[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgs']] = None, - dbt_task: Optional[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgs']] = None, - depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]]] = None, - description: Optional[pulumi.Input[str]] = None, - disable_auto_optimization: Optional[pulumi.Input[bool]] = None, - email_notifications: Optional[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs']] = None, - environment_key: Optional[pulumi.Input[str]] = None, - existing_cluster_id: Optional[pulumi.Input[str]] = None, - health: Optional[pulumi.Input['JobTaskForEachTaskTaskHealthArgs']] = None, - job_cluster_key: Optional[pulumi.Input[str]] = None, - libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]]] = None, - max_retries: Optional[pulumi.Input[int]] = None, - min_retry_interval_millis: Optional[pulumi.Input[int]] = None, - new_cluster: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs']] = None, - notebook_task: Optional[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgs']] = None, - notification_settings: Optional[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs']] = None, - pipeline_task: Optional[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgs']] = None, - python_wheel_task: Optional[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgs']] = None, - retry_on_timeout: Optional[pulumi.Input[bool]] = None, - run_if: Optional[pulumi.Input[str]] = None, - run_job_task: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgs']] = None, - spark_jar_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgs']] = None, - spark_python_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgs']] = None, - spark_submit_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgs']] = None, - sql_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgs']] = None, - timeout_seconds: Optional[pulumi.Input[int]] = None, - webhook_notifications: Optional[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs']] = None): - """ - :param pulumi.Input[str] task_key: string specifying an unique key for a given task. - * `*_task` - (Required) one of the specific task blocks described below: - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]] depends_ons: block specifying dependency(-ies) for a given task. - :param pulumi.Input[str] description: description for this task. - :param pulumi.Input[bool] disable_auto_optimization: A flag to disable auto optimization in serverless tasks. - :param pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs'] email_notifications: An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - :param pulumi.Input[str] environment_key: identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. - :param pulumi.Input[str] existing_cluster_id: Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - :param pulumi.Input['JobTaskForEachTaskTaskHealthArgs'] health: block described below that specifies health conditions for a given task. - :param pulumi.Input[str] job_cluster_key: Identifier of the Job cluster specified in the `job_cluster` block. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. - :param pulumi.Input[int] max_retries: (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - :param pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs'] new_cluster: Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* - :param pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below. - :param pulumi.Input[bool] retry_on_timeout: (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - :param pulumi.Input[str] run_if: An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - :param pulumi.Input[int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - :param pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs'] webhook_notifications: (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - - > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. - """ - pulumi.set(__self__, "task_key", task_key) - if condition_task is not None: - pulumi.set(__self__, "condition_task", condition_task) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) - if description is not None: - pulumi.set(__self__, "description", description) - if disable_auto_optimization is not None: - pulumi.set(__self__, "disable_auto_optimization", disable_auto_optimization) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environment_key is not None: - pulumi.set(__self__, "environment_key", environment_key) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if health is not None: - pulumi.set(__self__, "health", health) - if job_cluster_key is not None: - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if retry_on_timeout is not None: - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - if run_if is not None: - pulumi.set(__self__, "run_if", run_if) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if sql_task is not None: - pulumi.set(__self__, "sql_task", sql_task) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="taskKey") - def task_key(self) -> pulumi.Input[str]: - """ - string specifying an unique key for a given task. - * `*_task` - (Required) one of the specific task blocks described below: - """ - return pulumi.get(self, "task_key") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @task_key.setter - def task_key(self, value: pulumi.Input[str]): - pulumi.set(self, "task_key", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="conditionTask") - def condition_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgs']]: - return pulumi.get(self, "condition_task") - @condition_task.setter - def condition_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgs']]): - pulumi.set(self, "condition_task", value) +if not MYPY: + class JobNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterInitScriptWorkspaceArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgs']]: - return pulumi.get(self, "dbt_task") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @dbt_task.setter - def dbt_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgs']]): - pulumi.set(self, "dbt_task", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="dependsOns") - def depends_ons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]]]: - """ - block specifying dependency(-ies) for a given task. - """ - return pulumi.get(self, "depends_ons") - @depends_ons.setter - def depends_ons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]]]): - pulumi.set(self, "depends_ons", value) +if not MYPY: + class JobNewClusterLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobNewClusterLibraryCranArgsDict']] + egg: NotRequired[pulumi.Input[str]] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['JobNewClusterLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobNewClusterLibraryPypiArgsDict']] + requirements: NotRequired[pulumi.Input[str]] + whl: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobNewClusterLibraryArgs: + def __init__(__self__, *, + cran: Optional[pulumi.Input['JobNewClusterLibraryCranArgs']] = None, + egg: Optional[pulumi.Input[str]] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['JobNewClusterLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobNewClusterLibraryPypiArgs']] = None, + requirements: Optional[pulumi.Input[str]] = None, + whl: Optional[pulumi.Input[str]] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - description for this task. - """ - return pulumi.get(self, "description") + def cran(self) -> Optional[pulumi.Input['JobNewClusterLibraryCranArgs']]: + return pulumi.get(self, "cran") - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) + @cran.setter + def cran(self, value: Optional[pulumi.Input['JobNewClusterLibraryCranArgs']]): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="disableAutoOptimization") - def disable_auto_optimization(self) -> Optional[pulumi.Input[bool]]: - """ - A flag to disable auto optimization in serverless tasks. - """ - return pulumi.get(self, "disable_auto_optimization") + @pulumi.getter + def egg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "egg") - @disable_auto_optimization.setter - def disable_auto_optimization(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "disable_auto_optimization", value) + @egg.setter + def egg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "egg", value) @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs']]: - """ - An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. - """ - return pulumi.get(self, "email_notifications") + @pulumi.getter + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") - @email_notifications.setter - def email_notifications(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs']]): - pulumi.set(self, "email_notifications", value) + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> Optional[pulumi.Input[str]]: - """ - identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. - """ - return pulumi.get(self, "environment_key") + @pulumi.getter + def maven(self) -> Optional[pulumi.Input['JobNewClusterLibraryMavenArgs']]: + return pulumi.get(self, "maven") - @environment_key.setter - def environment_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "environment_key", value) + @maven.setter + def maven(self, value: Optional[pulumi.Input['JobNewClusterLibraryMavenArgs']]): + pulumi.set(self, "maven", value) @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* - """ - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter + def pypi(self) -> Optional[pulumi.Input['JobNewClusterLibraryPypiArgs']]: + return pulumi.get(self, "pypi") - @existing_cluster_id.setter - def existing_cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "existing_cluster_id", value) + @pypi.setter + def pypi(self, value: Optional[pulumi.Input['JobNewClusterLibraryPypiArgs']]): + pulumi.set(self, "pypi", value) @property @pulumi.getter - def health(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskHealthArgs']]: - """ - block described below that specifies health conditions for a given task. - """ - return pulumi.get(self, "health") - - @health.setter - def health(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskHealthArgs']]): - pulumi.set(self, "health", value) - - @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the Job cluster specified in the `job_cluster` block. - """ - return pulumi.get(self, "job_cluster_key") + def requirements(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "requirements") - @job_cluster_key.setter - def job_cluster_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "job_cluster_key", value) + @requirements.setter + def requirements(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements", value) @property @pulumi.getter - def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]]]: - """ - (Set) An optional list of libraries to be installed on the cluster that will execute the job. - """ - return pulumi.get(self, "libraries") - - @libraries.setter - def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]]]): - pulumi.set(self, "libraries", value) + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") - @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[pulumi.Input[int]]: - """ - (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. - """ - return pulumi.get(self, "max_retries") + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) - @max_retries.setter - def max_retries(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_retries", value) - @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[pulumi.Input[int]]: - """ - (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. - """ - return pulumi.get(self, "min_retry_interval_millis") +if not MYPY: + class JobNewClusterLibraryCranArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] - @min_retry_interval_millis.setter - def min_retry_interval_millis(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_retry_interval_millis", value) +@pulumi.input_type +class JobNewClusterLibraryCranArgs: + def __init__(__self__, *, + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs']]: - """ - Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* - """ - return pulumi.get(self, "new_cluster") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @new_cluster.setter - def new_cluster(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs']]): - pulumi.set(self, "new_cluster", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgs']]: - return pulumi.get(self, "notebook_task") - - @notebook_task.setter - def notebook_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgs']]): - pulumi.set(self, "notebook_task", value) + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs']]: - """ - An optional block controlling the notification settings on the job level documented below. - """ - return pulumi.get(self, "notification_settings") + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - @notification_settings.setter - def notification_settings(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs']]): - pulumi.set(self, "notification_settings", value) - @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgs']]: - return pulumi.get(self, "pipeline_task") +if not MYPY: + class JobNewClusterLibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] - @pipeline_task.setter - def pipeline_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgs']]): - pulumi.set(self, "pipeline_task", value) +@pulumi.input_type +class JobNewClusterLibraryMavenArgs: + def __init__(__self__, *, + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgs']]: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") - @python_wheel_task.setter - def python_wheel_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgs']]): - pulumi.set(self, "python_wheel_task", value) + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. - """ - return pulumi.get(self, "retry_on_timeout") + @pulumi.getter + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") - @retry_on_timeout.setter - def retry_on_timeout(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "retry_on_timeout", value) + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) @property - @pulumi.getter(name="runIf") - def run_if(self) -> Optional[pulumi.Input[str]]: - """ - An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. - """ - return pulumi.get(self, "run_if") - - @run_if.setter - def run_if(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "run_if", value) + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgs']]: - return pulumi.get(self, "run_job_task") + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - @run_job_task.setter - def run_job_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgs']]): - pulumi.set(self, "run_job_task", value) - @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgs']]: - return pulumi.get(self, "spark_jar_task") +if not MYPY: + class JobNewClusterLibraryPypiArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] +elif False: + JobNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] - @spark_jar_task.setter - def spark_jar_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgs']]): - pulumi.set(self, "spark_jar_task", value) +@pulumi.input_type +class JobNewClusterLibraryPypiArgs: + def __init__(__self__, *, + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgs']]: - return pulumi.get(self, "spark_python_task") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @spark_python_task.setter - def spark_python_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgs']]): - pulumi.set(self, "spark_python_task", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgs']]: - return pulumi.get(self, "spark_submit_task") - - @spark_submit_task.setter - def spark_submit_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgs']]): - pulumi.set(self, "spark_submit_task", value) + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @property - @pulumi.getter(name="sqlTask") - def sql_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgs']]: - return pulumi.get(self, "sql_task") + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - @sql_task.setter - def sql_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgs']]): - pulumi.set(self, "sql_task", value) - @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[pulumi.Input[int]]: - """ - (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. - """ - return pulumi.get(self, "timeout_seconds") +if not MYPY: + class JobNewClusterWorkloadTypeArgsDict(TypedDict): + clients: pulumi.Input['JobNewClusterWorkloadTypeClientsArgsDict'] +elif False: + JobNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] - @timeout_seconds.setter - def timeout_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout_seconds", value) +@pulumi.input_type +class JobNewClusterWorkloadTypeArgs: + def __init__(__self__, *, + clients: pulumi.Input['JobNewClusterWorkloadTypeClientsArgs']): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs']]: - """ - (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - - > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. - """ - return pulumi.get(self, "webhook_notifications") + @pulumi.getter + def clients(self) -> pulumi.Input['JobNewClusterWorkloadTypeClientsArgs']: + return pulumi.get(self, "clients") - @webhook_notifications.setter - def webhook_notifications(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs']]): - pulumi.set(self, "webhook_notifications", value) + @clients.setter + def clients(self, value: pulumi.Input['JobNewClusterWorkloadTypeClientsArgs']): + pulumi.set(self, "clients", value) if not MYPY: - class JobTaskForEachTaskTaskConditionTaskArgsDict(TypedDict): - left: pulumi.Input[str] - """ - The left operand of the condition task. It could be a string value, job state, or a parameter reference. - """ - op: pulumi.Input[str] - """ - The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - - This task does not require a cluster to execute and does not support retries or notifications. - """ - right: pulumi.Input[str] - """ - The right operand of the condition task. It could be a string value, job state, or parameter reference. - """ + class JobNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[pulumi.Input[bool]] + notebooks: NotRequired[pulumi.Input[bool]] elif False: - JobTaskForEachTaskTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskConditionTaskArgs: +class JobNewClusterWorkloadTypeClientsArgs: def __init__(__self__, *, - left: pulumi.Input[str], - op: pulumi.Input[str], - right: pulumi.Input[str]): - """ - :param pulumi.Input[str] left: The left operand of the condition task. It could be a string value, job state, or a parameter reference. - :param pulumi.Input[str] op: The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - - This task does not require a cluster to execute and does not support retries or notifications. - :param pulumi.Input[str] right: The right operand of the condition task. It could be a string value, job state, or parameter reference. - """ - pulumi.set(__self__, "left", left) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "right", right) - - @property - @pulumi.getter - def left(self) -> pulumi.Input[str]: - """ - The left operand of the condition task. It could be a string value, job state, or a parameter reference. - """ - return pulumi.get(self, "left") - - @left.setter - def left(self, value: pulumi.Input[str]): - pulumi.set(self, "left", value) + jobs: Optional[pulumi.Input[bool]] = None, + notebooks: Optional[pulumi.Input[bool]] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def op(self) -> pulumi.Input[str]: - """ - The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - - This task does not require a cluster to execute and does not support retries or notifications. - """ - return pulumi.get(self, "op") + def jobs(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "jobs") - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) + @jobs.setter + def jobs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "jobs", value) @property @pulumi.getter - def right(self) -> pulumi.Input[str]: - """ - The right operand of the condition task. It could be a string value, job state, or parameter reference. - """ - return pulumi.get(self, "right") + def notebooks(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "notebooks") - @right.setter - def right(self, value: pulumi.Input[str]): - pulumi.set(self, "right", value) + @notebooks.setter + def notebooks(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "notebooks", value) if not MYPY: - class JobTaskForEachTaskTaskDbtTaskArgsDict(TypedDict): - commands: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - """ - catalog: NotRequired[pulumi.Input[str]] - """ - The name of the catalog to use inside Unity Catalog. - """ - profiles_directory: NotRequired[pulumi.Input[str]] - """ - The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - """ - project_directory: NotRequired[pulumi.Input[str]] + class JobNotebookTaskArgsDict(TypedDict): + notebook_path: pulumi.Input[str] """ - The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. """ - schema: NotRequired[pulumi.Input[str]] + base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] """ - The name of the schema dbt should run in. Defaults to `default`. + (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. """ source: NotRequired[pulumi.Input[str]] """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. """ warehouse_id: NotRequired[pulumi.Input[str]] """ - The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. + ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. """ elif False: - JobTaskForEachTaskTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + JobNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskDbtTaskArgs: +class JobNotebookTaskArgs: def __init__(__self__, *, - commands: pulumi.Input[Sequence[pulumi.Input[str]]], - catalog: Optional[pulumi.Input[str]] = None, - profiles_directory: Optional[pulumi.Input[str]] = None, - project_directory: Optional[pulumi.Input[str]] = None, - schema: Optional[pulumi.Input[str]] = None, + notebook_path: pulumi.Input[str], + base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, source: Optional[pulumi.Input[str]] = None, warehouse_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] commands: (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - :param pulumi.Input[str] catalog: The name of the catalog to use inside Unity Catalog. - :param pulumi.Input[str] profiles_directory: The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - :param pulumi.Input[str] project_directory: The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. - :param pulumi.Input[str] schema: The name of the schema dbt should run in. Defaults to `default`. - :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. - :param pulumi.Input[str] warehouse_id: The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. + :param pulumi.Input[str] notebook_path: The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] base_parameters: (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + :param pulumi.Input[str] source: Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. + :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. """ - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) if source is not None: pulumi.set(__self__, "source", source) if warehouse_id is not None: pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter - def commands(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". - """ - return pulumi.get(self, "commands") - - @commands.setter - def commands(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "commands", value) - - @property - @pulumi.getter - def catalog(self) -> Optional[pulumi.Input[str]]: - """ - The name of the catalog to use inside Unity Catalog. - """ - return pulumi.get(self, "catalog") - - @catalog.setter - def catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "catalog", value) - - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[pulumi.Input[str]]: - """ - The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. - """ - return pulumi.get(self, "profiles_directory") - - @profiles_directory.setter - def profiles_directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "profiles_directory", value) - - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> pulumi.Input[str]: """ - The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. - * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. - * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. """ - return pulumi.get(self, "project_directory") + return pulumi.get(self, "notebook_path") - @project_directory.setter - def project_directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "project_directory", value) + @notebook_path.setter + def notebook_path(self, value: pulumi.Input[str]): + pulumi.set(self, "notebook_path", value) @property - @pulumi.getter - def schema(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - The name of the schema dbt should run in. Defaults to `default`. + (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. """ - return pulumi.get(self, "schema") + return pulumi.get(self, "base_parameters") - @schema.setter - def schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema", value) + @base_parameters.setter + def base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "base_parameters", value) @property @pulumi.getter def source(self) -> Optional[pulumi.Input[str]]: """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. """ return pulumi.get(self, "source") @@ -12569,9 +11489,7 @@ def source(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="warehouseId") def warehouse_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of the SQL warehouse that dbt should execute against. - - You also need to include a `git_source` block to configure the repository that contains the dbt project. + ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. """ return pulumi.get(self, "warehouse_id") @@ -12581,1973 +11499,2894 @@ def warehouse_id(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskForEachTaskTaskDependsOnArgsDict(TypedDict): - task_key: pulumi.Input[str] + class JobNotificationSettingsArgsDict(TypedDict): + no_alert_for_canceled_runs: NotRequired[pulumi.Input[bool]] """ - The name of the task this task depends on. + (Bool) don't send alert for cancelled runs. + + The following parameter is only available on task level. """ - outcome: NotRequired[pulumi.Input[str]] + no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] """ - Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - - > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + (Bool) don't send alert for skipped runs. """ elif False: - JobTaskForEachTaskTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] + JobNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskDependsOnArgs: +class JobNotificationSettingsArgs: def __init__(__self__, *, - task_key: pulumi.Input[str], - outcome: Optional[pulumi.Input[str]] = None): + no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, + no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[str] task_key: The name of the task this task depends on. - :param pulumi.Input[str] outcome: Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + :param pulumi.Input[bool] no_alert_for_canceled_runs: (Bool) don't send alert for cancelled runs. - > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + The following parameter is only available on task level. + :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. """ - pulumi.set(__self__, "task_key", task_key) - if outcome is not None: - pulumi.set(__self__, "outcome", outcome) + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) @property - @pulumi.getter(name="taskKey") - def task_key(self) -> pulumi.Input[str]: + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[pulumi.Input[bool]]: """ - The name of the task this task depends on. + (Bool) don't send alert for cancelled runs. + + The following parameter is only available on task level. """ - return pulumi.get(self, "task_key") + return pulumi.get(self, "no_alert_for_canceled_runs") - @task_key.setter - def task_key(self, value: pulumi.Input[str]): - pulumi.set(self, "task_key", value) + @no_alert_for_canceled_runs.setter + def no_alert_for_canceled_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_canceled_runs", value) @property - @pulumi.getter - def outcome(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: """ - Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - - > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + (Bool) don't send alert for skipped runs. """ - return pulumi.get(self, "outcome") + return pulumi.get(self, "no_alert_for_skipped_runs") - @outcome.setter - def outcome(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "outcome", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_skipped_runs", value) if not MYPY: - class JobTaskForEachTaskTaskEmailNotificationsArgsDict(TypedDict): - no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] + class JobParameterArgsDict(TypedDict): + default: pulumi.Input[str] """ - (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + Default value of the parameter. + + *You can use this block only together with `task` blocks, not with the legacy tasks specification!* """ - on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + name: pulumi.Input[str] """ - (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. + """ +elif False: + JobParameterArgsDict: TypeAlias = Mapping[str, Any] - The following parameter is only available for the job level configuration. +@pulumi.input_type +class JobParameterArgs: + def __init__(__self__, *, + default: pulumi.Input[str], + name: pulumi.Input[str]): """ - on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + :param pulumi.Input[str] default: Default value of the parameter. + + *You can use this block only together with `task` blocks, not with the legacy tasks specification!* + :param pulumi.Input[str] name: The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. """ - (List) list of emails to notify when the run fails. + pulumi.set(__self__, "default", default) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def default(self) -> pulumi.Input[str]: """ - on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + Default value of the parameter. + + *You can use this block only together with `task` blocks, not with the legacy tasks specification!* """ - (List) list of emails to notify when the run starts. + return pulumi.get(self, "default") + + @default.setter + def default(self, value: pulumi.Input[str]): + pulumi.set(self, "default", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: """ - on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + The name of the defined parameter. May only contain alphanumeric characters, `_`, `-`, and `.`. """ - (List) list of emails to notify when the run completes successfully. + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + +if not MYPY: + class JobPipelineTaskArgsDict(TypedDict): + pipeline_id: pulumi.Input[str] + """ + The pipeline's unique ID. + """ + full_refresh: NotRequired[pulumi.Input[bool]] + """ + (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block """ elif False: - JobTaskForEachTaskTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + JobPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskEmailNotificationsArgs: +class JobPipelineTaskArgs: def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, - on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + pipeline_id: pulumi.Input[str], + full_refresh: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_duration_warning_threshold_exceededs: (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + :param pulumi.Input[str] pipeline_id: The pipeline's unique ID. + :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. - The following parameter is only available for the job level configuration. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_failures: (List) list of emails to notify when the run fails. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_starts: (List) list of emails to notify when the run starts. - :param pulumi.Input[Sequence[pulumi.Input[str]]] on_successes: (List) list of emails to notify when the run completes successfully. + > The following configuration blocks are only supported inside a `task` block """ - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> pulumi.Input[str]: """ - (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + The pipeline's unique ID. """ - return pulumi.get(self, "no_alert_for_skipped_runs") + return pulumi.get(self, "pipeline_id") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @pipeline_id.setter + def pipeline_id(self, value: pulumi.Input[str]): + pulumi.set(self, "pipeline_id", value) @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[pulumi.Input[bool]]: """ - (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + (Bool) Specifies if there should be full refresh of the pipeline. - The following parameter is only available for the job level configuration. + > The following configuration blocks are only supported inside a `task` block """ - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + return pulumi.get(self, "full_refresh") + + @full_refresh.setter + def full_refresh(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "full_refresh", value) - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + +if not MYPY: + class JobPythonWheelTaskArgsDict(TypedDict): + entry_point: NotRequired[pulumi.Input[str]] + """ + Python function as entry point for the task + """ + named_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Named parameters for the task + """ + package_name: NotRequired[pulumi.Input[str]] + """ + Name of Python package + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Parameters for the task + """ +elif False: + JobPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobPythonWheelTaskArgs: + def __init__(__self__, *, + entry_point: Optional[pulumi.Input[str]] = None, + named_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + package_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] entry_point: Python function as entry point for the task + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] named_parameters: Named parameters for the task + :param pulumi.Input[str] package_name: Name of Python package + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: Parameters for the task + """ + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[pulumi.Input[str]]: """ - (List) list of emails to notify when the run fails. + Python function as entry point for the task """ - return pulumi.get(self, "on_failures") + return pulumi.get(self, "entry_point") - @on_failures.setter - def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_failures", value) + @entry_point.setter + def entry_point(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entry_point", value) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - (List) list of emails to notify when the run starts. + Named parameters for the task """ - return pulumi.get(self, "on_starts") + return pulumi.get(self, "named_parameters") - @on_starts.setter - def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_starts", value) + @named_parameters.setter + def named_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "named_parameters", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of Python package + """ + return pulumi.get(self, "package_name") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @package_name.setter + def package_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_name", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - (List) list of emails to notify when the run completes successfully. + Parameters for the task """ - return pulumi.get(self, "on_successes") + return pulumi.get(self, "parameters") - @on_successes.setter - def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "on_successes", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class JobTaskForEachTaskTaskHealthArgsDict(TypedDict): - rules: pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgsDict']]] + class JobQueueArgsDict(TypedDict): + enabled: pulumi.Input[bool] """ - list of rules that are represented as objects with the following attributes: + If true, enable queueing for the job. """ elif False: - JobTaskForEachTaskTaskHealthArgsDict: TypeAlias = Mapping[str, Any] + JobQueueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskHealthArgs: +class JobQueueArgs: def __init__(__self__, *, - rules: pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]]): + enabled: pulumi.Input[bool]): """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]] rules: list of rules that are represented as objects with the following attributes: + :param pulumi.Input[bool] enabled: If true, enable queueing for the job. """ - pulumi.set(__self__, "rules", rules) + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter - def rules(self) -> pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]]: + def enabled(self) -> pulumi.Input[bool]: """ - list of rules that are represented as objects with the following attributes: + If true, enable queueing for the job. """ - return pulumi.get(self, "rules") + return pulumi.get(self, "enabled") - @rules.setter - def rules(self, value: pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]]): - pulumi.set(self, "rules", value) + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) if not MYPY: - class JobTaskForEachTaskTaskHealthRuleArgsDict(TypedDict): - metric: pulumi.Input[str] - """ - string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - """ - op: pulumi.Input[str] + class JobRunAsArgsDict(TypedDict): + service_principal_name: NotRequired[pulumi.Input[str]] """ - string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. + + Example: + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.Job("this", run_as={ + "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", + }) + ``` """ - value: pulumi.Input[int] + user_name: NotRequired[pulumi.Input[str]] """ - integer value used to compare to the given metric. + The email of an active workspace user. Non-admin users can only set this field to their own email. """ elif False: - JobTaskForEachTaskTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] + JobRunAsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskHealthRuleArgs: +class JobRunAsArgs: def __init__(__self__, *, - metric: pulumi.Input[str], - op: pulumi.Input[str], - value: pulumi.Input[int]): + service_principal_name: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] metric: string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - :param pulumi.Input[str] op: string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - :param pulumi.Input[int] value: integer value used to compare to the given metric. + :param pulumi.Input[str] service_principal_name: The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. + + Example: + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.Job("this", run_as={ + "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", + }) + ``` + :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. """ - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) + if service_principal_name is not None: + pulumi.set(__self__, "service_principal_name", service_principal_name) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def metric(self) -> pulumi.Input[str]: - """ - string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> Optional[pulumi.Input[str]]: """ - return pulumi.get(self, "metric") + The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - @metric.setter - def metric(self, value: pulumi.Input[str]): - pulumi.set(self, "metric", value) + Example: - @property - @pulumi.getter - def op(self) -> pulumi.Input[str]: - """ - string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.Job("this", run_as={ + "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", + }) + ``` """ - return pulumi.get(self, "op") + return pulumi.get(self, "service_principal_name") - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) + @service_principal_name.setter + def service_principal_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_principal_name", value) @property - @pulumi.getter - def value(self) -> pulumi.Input[int]: + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: """ - integer value used to compare to the given metric. + The email of an active workspace user. Non-admin users can only set this field to their own email. """ - return pulumi.get(self, "value") + return pulumi.get(self, "user_name") - @value.setter - def value(self, value: pulumi.Input[int]): - pulumi.set(self, "value", value) + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) if not MYPY: - class JobTaskForEachTaskTaskLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgsDict']] - egg: NotRequired[pulumi.Input[str]] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgsDict']] - requirements: NotRequired[pulumi.Input[str]] - whl: NotRequired[pulumi.Input[str]] + class JobRunJobTaskArgsDict(TypedDict): + job_id: pulumi.Input[int] + """ + (String) ID of the job + """ + job_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + (Map) Job parameters for the task + """ elif False: - JobTaskForEachTaskTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] + JobRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskLibraryArgs: +class JobRunJobTaskArgs: def __init__(__self__, *, - cran: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgs']] = None, - egg: Optional[pulumi.Input[str]] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgs']] = None, - requirements: Optional[pulumi.Input[str]] = None, - whl: Optional[pulumi.Input[str]] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + job_id: pulumi.Input[int], + job_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[int] job_id: (String) ID of the job + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] job_parameters: (Map) Job parameters for the task + """ + pulumi.set(__self__, "job_id", job_id) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) @property - @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgs']]: - return pulumi.get(self, "cran") + @pulumi.getter(name="jobId") + def job_id(self) -> pulumi.Input[int]: + """ + (String) ID of the job + """ + return pulumi.get(self, "job_id") - @cran.setter - def cran(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgs']]): - pulumi.set(self, "cran", value) + @job_id.setter + def job_id(self, value: pulumi.Input[int]): + pulumi.set(self, "job_id", value) @property - @pulumi.getter - def egg(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "egg") + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (Map) Job parameters for the task + """ + return pulumi.get(self, "job_parameters") - @egg.setter - def egg(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "egg", value) + @job_parameters.setter + def job_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "job_parameters", value) - @property - @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) - - @property - @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgs']]: - return pulumi.get(self, "maven") +if not MYPY: + class JobScheduleArgsDict(TypedDict): + quartz_cron_expression: pulumi.Input[str] + """ + A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. + """ + timezone_id: pulumi.Input[str] + """ + A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. + """ + pause_status: NotRequired[pulumi.Input[str]] + """ + Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pause_status`. + """ +elif False: + JobScheduleArgsDict: TypeAlias = Mapping[str, Any] - @maven.setter - def maven(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgs']]): - pulumi.set(self, "maven", value) +@pulumi.input_type +class JobScheduleArgs: + def __init__(__self__, *, + quartz_cron_expression: pulumi.Input[str], + timezone_id: pulumi.Input[str], + pause_status: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] quartz_cron_expression: A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. + :param pulumi.Input[str] timezone_id: A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. + :param pulumi.Input[str] pause_status: Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pause_status`. + """ + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) @property - @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgs']]: - return pulumi.get(self, "pypi") + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> pulumi.Input[str]: + """ + A [Cron expression using Quartz syntax](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) that describes the schedule for a job. This field is required. + """ + return pulumi.get(self, "quartz_cron_expression") - @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgs']]): - pulumi.set(self, "pypi", value) + @quartz_cron_expression.setter + def quartz_cron_expression(self, value: pulumi.Input[str]): + pulumi.set(self, "quartz_cron_expression", value) @property - @pulumi.getter - def requirements(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "requirements") + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> pulumi.Input[str]: + """ + A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required. + """ + return pulumi.get(self, "timezone_id") - @requirements.setter - def requirements(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requirements", value) + @timezone_id.setter + def timezone_id(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone_id", value) @property - @pulumi.getter - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[pulumi.Input[str]]: + """ + Indicate whether this schedule is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted and a schedule is provided, the server will default to using `UNPAUSED` as a value for `pause_status`. + """ + return pulumi.get(self, "pause_status") - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) + @pause_status.setter + def pause_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pause_status", value) if not MYPY: - class JobTaskForEachTaskTaskLibraryCranArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class JobSparkJarTaskArgsDict(TypedDict): + jar_uri: NotRequired[pulumi.Input[str]] + main_class_name: NotRequired[pulumi.Input[str]] + """ + The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Parameters passed to the main method. + """ elif False: - JobTaskForEachTaskTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + JobSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskLibraryCranArgs: +class JobSparkJarTaskArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + jar_uri: Optional[pulumi.Input[str]] = None, + main_class_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] main_class_name: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Parameters passed to the main method. + """ + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar_uri") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @jar_uri.setter + def jar_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar_uri", value) + + @property + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[pulumi.Input[str]]: + """ + The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + """ + return pulumi.get(self, "main_class_name") + + @main_class_name.setter + def main_class_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "main_class_name", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Parameters passed to the main method. + """ + return pulumi.get(self, "parameters") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class JobTaskForEachTaskTaskLibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] + class JobSparkPythonTaskArgsDict(TypedDict): + python_file: pulumi.Input[str] + """ + The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Command line parameters passed to the Python file. + """ + source: NotRequired[pulumi.Input[str]] + """ + Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. + """ elif False: - JobTaskForEachTaskTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskLibraryMavenArgs: +class JobSparkPythonTaskArgs: def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + python_file: pulumi.Input[str], + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] python_file: The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command line parameters passed to the Python file. + :param pulumi.Input[str] source: Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. + """ + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + @pulumi.getter(name="pythonFile") + def python_file(self) -> pulumi.Input[str]: + """ + The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + """ + return pulumi.get(self, "python_file") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @python_file.setter + def python_file(self, value: pulumi.Input[str]): + pulumi.set(self, "python_file", value) @property @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Command line parameters passed to the Python file. + """ + return pulumi.get(self, "parameters") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def source(self) -> Optional[pulumi.Input[str]]: + """ + Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. + """ + return pulumi.get(self, "source") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) if not MYPY: - class JobTaskForEachTaskTaskLibraryPypiArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class JobSparkSubmitTaskArgsDict(TypedDict): + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Command-line parameters passed to spark submit. + """ elif False: - JobTaskForEachTaskTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskLibraryPypiArgs: +class JobSparkSubmitTaskArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") - - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command-line parameters passed to spark submit. + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Command-line parameters passed to spark submit. + """ + return pulumi.get(self, "parameters") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterArgsDict(TypedDict): - spark_version: pulumi.Input[str] - apply_policy_default_values: NotRequired[pulumi.Input[bool]] - autoscale: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgsDict']] - aws_attributes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgsDict']] - azure_attributes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgsDict']] - cluster_id: NotRequired[pulumi.Input[str]] - cluster_log_conf: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgsDict']] - cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict']]]] - cluster_name: NotRequired[pulumi.Input[str]] - custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - data_security_mode: NotRequired[pulumi.Input[str]] - docker_image: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgsDict']] - driver_instance_pool_id: NotRequired[pulumi.Input[str]] - driver_node_type_id: NotRequired[pulumi.Input[str]] - enable_elastic_disk: NotRequired[pulumi.Input[bool]] - enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] - gcp_attributes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgsDict']] - idempotency_token: NotRequired[pulumi.Input[str]] - init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgsDict']]]] - instance_pool_id: NotRequired[pulumi.Input[str]] - libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgsDict']]]] + class JobTaskArgsDict(TypedDict): + task_key: pulumi.Input[str] """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + string specifying an unique key for a given task. + * `*_task` - (Required) one of the specific task blocks described below: """ - node_type_id: NotRequired[pulumi.Input[str]] - num_workers: NotRequired[pulumi.Input[int]] - policy_id: NotRequired[pulumi.Input[str]] - runtime_engine: NotRequired[pulumi.Input[str]] - single_user_name: NotRequired[pulumi.Input[str]] - spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - workload_type: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict']] + clean_rooms_notebook_task: NotRequired[pulumi.Input['JobTaskCleanRoomsNotebookTaskArgsDict']] + condition_task: NotRequired[pulumi.Input['JobTaskConditionTaskArgsDict']] + dbt_task: NotRequired[pulumi.Input['JobTaskDbtTaskArgsDict']] + depends_ons: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgsDict']]]] """ - isn't supported + block specifying dependency(-ies) for a given task. + """ + description: NotRequired[pulumi.Input[str]] + """ + description for this task. + """ + disable_auto_optimization: NotRequired[pulumi.Input[bool]] + """ + A flag to disable auto optimization in serverless tasks. + """ + email_notifications: NotRequired[pulumi.Input['JobTaskEmailNotificationsArgsDict']] + """ + An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + """ + environment_key: NotRequired[pulumi.Input[str]] + """ + identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. + """ + existing_cluster_id: NotRequired[pulumi.Input[str]] + """ + Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + """ + for_each_task: NotRequired[pulumi.Input['JobTaskForEachTaskArgsDict']] + health: NotRequired[pulumi.Input['JobTaskHealthArgsDict']] + """ + block described below that specifies health conditions for a given task. + """ + job_cluster_key: NotRequired[pulumi.Input[str]] + """ + Identifier of the Job cluster specified in the `job_cluster` block. + """ + libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgsDict']]]] + """ + (Set) An optional list of libraries to be installed on the cluster that will execute the job. + """ + max_retries: NotRequired[pulumi.Input[int]] + """ + (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + """ + min_retry_interval_millis: NotRequired[pulumi.Input[int]] + """ + (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + """ + new_cluster: NotRequired[pulumi.Input['JobTaskNewClusterArgsDict']] + """ + Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + """ + notebook_task: NotRequired[pulumi.Input['JobTaskNotebookTaskArgsDict']] + notification_settings: NotRequired[pulumi.Input['JobTaskNotificationSettingsArgsDict']] + """ + An optional block controlling the notification settings on the job level documented below. + """ + pipeline_task: NotRequired[pulumi.Input['JobTaskPipelineTaskArgsDict']] + python_wheel_task: NotRequired[pulumi.Input['JobTaskPythonWheelTaskArgsDict']] + retry_on_timeout: NotRequired[pulumi.Input[bool]] + """ + (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + """ + run_if: NotRequired[pulumi.Input[str]] + """ + An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + """ + run_job_task: NotRequired[pulumi.Input['JobTaskRunJobTaskArgsDict']] + spark_jar_task: NotRequired[pulumi.Input['JobTaskSparkJarTaskArgsDict']] + spark_python_task: NotRequired[pulumi.Input['JobTaskSparkPythonTaskArgsDict']] + spark_submit_task: NotRequired[pulumi.Input['JobTaskSparkSubmitTaskArgsDict']] + sql_task: NotRequired[pulumi.Input['JobTaskSqlTaskArgsDict']] + timeout_seconds: NotRequired[pulumi.Input[int]] + """ + (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + """ + webhook_notifications: NotRequired[pulumi.Input['JobTaskWebhookNotificationsArgsDict']] + """ + (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + + > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. """ elif False: - JobTaskForEachTaskTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] + JobTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterArgs: +class JobTaskArgs: def __init__(__self__, *, - spark_version: pulumi.Input[str], - apply_policy_default_values: Optional[pulumi.Input[bool]] = None, - autoscale: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgs']] = None, - aws_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']] = None, - azure_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']] = None, - cluster_id: Optional[pulumi.Input[str]] = None, - cluster_log_conf: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']] = None, - cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]] = None, - cluster_name: Optional[pulumi.Input[str]] = None, - custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - data_security_mode: Optional[pulumi.Input[str]] = None, - docker_image: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgs']] = None, - driver_instance_pool_id: Optional[pulumi.Input[str]] = None, - driver_node_type_id: Optional[pulumi.Input[str]] = None, - enable_elastic_disk: Optional[pulumi.Input[bool]] = None, - enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, - gcp_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgs']] = None, - idempotency_token: Optional[pulumi.Input[str]] = None, - init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgs']]]] = None, - instance_pool_id: Optional[pulumi.Input[str]] = None, - libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]] = None, - node_type_id: Optional[pulumi.Input[str]] = None, - num_workers: Optional[pulumi.Input[int]] = None, - policy_id: Optional[pulumi.Input[str]] = None, - runtime_engine: Optional[pulumi.Input[str]] = None, - single_user_name: Optional[pulumi.Input[str]] = None, - spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - workload_type: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']] = None): + task_key: pulumi.Input[str], + clean_rooms_notebook_task: Optional[pulumi.Input['JobTaskCleanRoomsNotebookTaskArgs']] = None, + condition_task: Optional[pulumi.Input['JobTaskConditionTaskArgs']] = None, + dbt_task: Optional[pulumi.Input['JobTaskDbtTaskArgs']] = None, + depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + disable_auto_optimization: Optional[pulumi.Input[bool]] = None, + email_notifications: Optional[pulumi.Input['JobTaskEmailNotificationsArgs']] = None, + environment_key: Optional[pulumi.Input[str]] = None, + existing_cluster_id: Optional[pulumi.Input[str]] = None, + for_each_task: Optional[pulumi.Input['JobTaskForEachTaskArgs']] = None, + health: Optional[pulumi.Input['JobTaskHealthArgs']] = None, + job_cluster_key: Optional[pulumi.Input[str]] = None, + libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]]] = None, + max_retries: Optional[pulumi.Input[int]] = None, + min_retry_interval_millis: Optional[pulumi.Input[int]] = None, + new_cluster: Optional[pulumi.Input['JobTaskNewClusterArgs']] = None, + notebook_task: Optional[pulumi.Input['JobTaskNotebookTaskArgs']] = None, + notification_settings: Optional[pulumi.Input['JobTaskNotificationSettingsArgs']] = None, + pipeline_task: Optional[pulumi.Input['JobTaskPipelineTaskArgs']] = None, + python_wheel_task: Optional[pulumi.Input['JobTaskPythonWheelTaskArgs']] = None, + retry_on_timeout: Optional[pulumi.Input[bool]] = None, + run_if: Optional[pulumi.Input[str]] = None, + run_job_task: Optional[pulumi.Input['JobTaskRunJobTaskArgs']] = None, + spark_jar_task: Optional[pulumi.Input['JobTaskSparkJarTaskArgs']] = None, + spark_python_task: Optional[pulumi.Input['JobTaskSparkPythonTaskArgs']] = None, + spark_submit_task: Optional[pulumi.Input['JobTaskSparkSubmitTaskArgs']] = None, + sql_task: Optional[pulumi.Input['JobTaskSqlTaskArgs']] = None, + timeout_seconds: Optional[pulumi.Input[int]] = None, + webhook_notifications: Optional[pulumi.Input['JobTaskWebhookNotificationsArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - :param pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs'] workload_type: isn't supported + :param pulumi.Input[str] task_key: string specifying an unique key for a given task. + * `*_task` - (Required) one of the specific task blocks described below: + :param pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]] depends_ons: block specifying dependency(-ies) for a given task. + :param pulumi.Input[str] description: description for this task. + :param pulumi.Input[bool] disable_auto_optimization: A flag to disable auto optimization in serverless tasks. + :param pulumi.Input['JobTaskEmailNotificationsArgs'] email_notifications: An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + :param pulumi.Input[str] environment_key: identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. + :param pulumi.Input[str] existing_cluster_id: Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + :param pulumi.Input['JobTaskHealthArgs'] health: block described below that specifies health conditions for a given task. + :param pulumi.Input[str] job_cluster_key: Identifier of the Job cluster specified in the `job_cluster` block. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. + :param pulumi.Input[int] max_retries: (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + :param pulumi.Input['JobTaskNewClusterArgs'] new_cluster: Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + :param pulumi.Input['JobTaskNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below. + :param pulumi.Input[bool] retry_on_timeout: (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + :param pulumi.Input[str] run_if: An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + :param pulumi.Input[int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + :param pulumi.Input['JobTaskWebhookNotificationsArgs'] webhook_notifications: (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + + > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. """ - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + pulumi.set(__self__, "task_key", task_key) + if clean_rooms_notebook_task is not None: + pulumi.set(__self__, "clean_rooms_notebook_task", clean_rooms_notebook_task) + if condition_task is not None: + pulumi.set(__self__, "condition_task", condition_task) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if depends_ons is not None: + pulumi.set(__self__, "depends_ons", depends_ons) + if description is not None: + pulumi.set(__self__, "description", description) + if disable_auto_optimization is not None: + pulumi.set(__self__, "disable_auto_optimization", disable_auto_optimization) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environment_key is not None: + pulumi.set(__self__, "environment_key", environment_key) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if for_each_task is not None: + pulumi.set(__self__, "for_each_task", for_each_task) + if health is not None: + pulumi.set(__self__, "health", health) + if job_cluster_key is not None: + pulumi.set(__self__, "job_cluster_key", job_cluster_key) if libraries is not None: pulumi.set(__self__, "libraries", libraries) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if retry_on_timeout is not None: + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + if run_if is not None: + pulumi.set(__self__, "run_if", run_if) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if sql_task is not None: + pulumi.set(__self__, "sql_task", sql_task) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> pulumi.Input[str]: - return pulumi.get(self, "spark_version") + @pulumi.getter(name="taskKey") + def task_key(self) -> pulumi.Input[str]: + """ + string specifying an unique key for a given task. + * `*_task` - (Required) one of the specific task blocks described below: + """ + return pulumi.get(self, "task_key") - @spark_version.setter - def spark_version(self, value: pulumi.Input[str]): - pulumi.set(self, "spark_version", value) + @task_key.setter + def task_key(self, value: pulumi.Input[str]): + pulumi.set(self, "task_key", value) @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "apply_policy_default_values") + @pulumi.getter(name="cleanRoomsNotebookTask") + def clean_rooms_notebook_task(self) -> Optional[pulumi.Input['JobTaskCleanRoomsNotebookTaskArgs']]: + return pulumi.get(self, "clean_rooms_notebook_task") - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "apply_policy_default_values", value) + @clean_rooms_notebook_task.setter + def clean_rooms_notebook_task(self, value: Optional[pulumi.Input['JobTaskCleanRoomsNotebookTaskArgs']]): + pulumi.set(self, "clean_rooms_notebook_task", value) @property - @pulumi.getter - def autoscale(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgs']]: - return pulumi.get(self, "autoscale") + @pulumi.getter(name="conditionTask") + def condition_task(self) -> Optional[pulumi.Input['JobTaskConditionTaskArgs']]: + return pulumi.get(self, "condition_task") - @autoscale.setter - def autoscale(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgs']]): - pulumi.set(self, "autoscale", value) + @condition_task.setter + def condition_task(self, value: Optional[pulumi.Input['JobTaskConditionTaskArgs']]): + pulumi.set(self, "condition_task", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']]: - return pulumi.get(self, "aws_attributes") + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional[pulumi.Input['JobTaskDbtTaskArgs']]: + return pulumi.get(self, "dbt_task") - @aws_attributes.setter - def aws_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']]): - pulumi.set(self, "aws_attributes", value) + @dbt_task.setter + def dbt_task(self, value: Optional[pulumi.Input['JobTaskDbtTaskArgs']]): + pulumi.set(self, "dbt_task", value) @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']]: - return pulumi.get(self, "azure_attributes") + @pulumi.getter(name="dependsOns") + def depends_ons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]]]: + """ + block specifying dependency(-ies) for a given task. + """ + return pulumi.get(self, "depends_ons") - @azure_attributes.setter - def azure_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']]): - pulumi.set(self, "azure_attributes", value) + @depends_ons.setter + def depends_ons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskDependsOnArgs']]]]): + pulumi.set(self, "depends_ons", value) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_id") + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + description for this task. + """ + return pulumi.get(self, "description") - @cluster_id.setter - def cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_id", value) + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']]: - return pulumi.get(self, "cluster_log_conf") + @pulumi.getter(name="disableAutoOptimization") + def disable_auto_optimization(self) -> Optional[pulumi.Input[bool]]: + """ + A flag to disable auto optimization in serverless tasks. + """ + return pulumi.get(self, "disable_auto_optimization") - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']]): - pulumi.set(self, "cluster_log_conf", value) + @disable_auto_optimization.setter + def disable_auto_optimization(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_auto_optimization", value) @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]]: - return pulumi.get(self, "cluster_mount_infos") + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional[pulumi.Input['JobTaskEmailNotificationsArgs']]: + """ + An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + """ + return pulumi.get(self, "email_notifications") - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]]): - pulumi.set(self, "cluster_mount_infos", value) + @email_notifications.setter + def email_notifications(self, value: Optional[pulumi.Input['JobTaskEmailNotificationsArgs']]): + pulumi.set(self, "email_notifications", value) @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_name") + @pulumi.getter(name="environmentKey") + def environment_key(self) -> Optional[pulumi.Input[str]]: + """ + identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. + """ + return pulumi.get(self, "environment_key") - @cluster_name.setter - def cluster_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_name", value) + @environment_key.setter + def environment_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "environment_key", value) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[pulumi.Input[str]]: + """ + Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + """ + return pulumi.get(self, "existing_cluster_id") - @custom_tags.setter - def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "custom_tags", value) + @existing_cluster_id.setter + def existing_cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "existing_cluster_id", value) @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "data_security_mode") + @pulumi.getter(name="forEachTask") + def for_each_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskArgs']]: + return pulumi.get(self, "for_each_task") - @data_security_mode.setter - def data_security_mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "data_security_mode", value) + @for_each_task.setter + def for_each_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskArgs']]): + pulumi.set(self, "for_each_task", value) @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgs']]: - return pulumi.get(self, "docker_image") + @pulumi.getter + def health(self) -> Optional[pulumi.Input['JobTaskHealthArgs']]: + """ + block described below that specifies health conditions for a given task. + """ + return pulumi.get(self, "health") - @docker_image.setter - def docker_image(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgs']]): - pulumi.set(self, "docker_image", value) + @health.setter + def health(self, value: Optional[pulumi.Input['JobTaskHealthArgs']]): + pulumi.set(self, "health", value) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> Optional[pulumi.Input[str]]: + """ + Identifier of the Job cluster specified in the `job_cluster` block. + """ + return pulumi.get(self, "job_cluster_key") - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_instance_pool_id", value) + @job_cluster_key.setter + def job_cluster_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "job_cluster_key", value) @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_node_type_id") + @pulumi.getter + def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]]]: + """ + (Set) An optional list of libraries to be installed on the cluster that will execute the job. + """ + return pulumi.get(self, "libraries") - @driver_node_type_id.setter - def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_node_type_id", value) + @libraries.setter + def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskLibraryArgs']]]]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + """ + return pulumi.get(self, "max_retries") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_elastic_disk", value) + @max_retries.setter + def max_retries(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_retries", value) @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_local_disk_encryption") + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + """ + return pulumi.get(self, "min_retry_interval_millis") - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_local_disk_encryption", value) + @min_retry_interval_millis.setter + def min_retry_interval_millis(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_retry_interval_millis", value) @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgs']]: - return pulumi.get(self, "gcp_attributes") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional[pulumi.Input['JobTaskNewClusterArgs']]: + """ + Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + """ + return pulumi.get(self, "new_cluster") - @gcp_attributes.setter - def gcp_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgs']]): - pulumi.set(self, "gcp_attributes", value) + @new_cluster.setter + def new_cluster(self, value: Optional[pulumi.Input['JobTaskNewClusterArgs']]): + pulumi.set(self, "new_cluster", value) @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "idempotency_token") + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional[pulumi.Input['JobTaskNotebookTaskArgs']]: + return pulumi.get(self, "notebook_task") - @idempotency_token.setter - def idempotency_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "idempotency_token", value) + @notebook_task.setter + def notebook_task(self, value: Optional[pulumi.Input['JobTaskNotebookTaskArgs']]): + pulumi.set(self, "notebook_task", value) @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgs']]]]: - return pulumi.get(self, "init_scripts") + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional[pulumi.Input['JobTaskNotificationSettingsArgs']]: + """ + An optional block controlling the notification settings on the job level documented below. + """ + return pulumi.get(self, "notification_settings") - @init_scripts.setter - def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgs']]]]): - pulumi.set(self, "init_scripts", value) + @notification_settings.setter + def notification_settings(self, value: Optional[pulumi.Input['JobTaskNotificationSettingsArgs']]): + pulumi.set(self, "notification_settings", value) @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional[pulumi.Input['JobTaskPipelineTaskArgs']]: + return pulumi.get(self, "pipeline_task") - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_pool_id", value) + @pipeline_task.setter + def pipeline_task(self, value: Optional[pulumi.Input['JobTaskPipelineTaskArgs']]): + pulumi.set(self, "pipeline_task", value) @property - @pulumi.getter - def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]]: - """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - """ - return pulumi.get(self, "libraries") + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional[pulumi.Input['JobTaskPythonWheelTaskArgs']]: + return pulumi.get(self, "python_wheel_task") - @libraries.setter - def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]]): - pulumi.set(self, "libraries", value) + @python_wheel_task.setter + def python_wheel_task(self, value: Optional[pulumi.Input['JobTaskPythonWheelTaskArgs']]): + pulumi.set(self, "python_wheel_task", value) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "node_type_id") + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + """ + return pulumi.get(self, "retry_on_timeout") - @node_type_id.setter - def node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_type_id", value) + @retry_on_timeout.setter + def retry_on_timeout(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "retry_on_timeout", value) @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "num_workers") + @pulumi.getter(name="runIf") + def run_if(self) -> Optional[pulumi.Input[str]]: + """ + An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + """ + return pulumi.get(self, "run_if") - @num_workers.setter - def num_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "num_workers", value) + @run_if.setter + def run_if(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "run_if", value) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "policy_id") + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional[pulumi.Input['JobTaskRunJobTaskArgs']]: + return pulumi.get(self, "run_job_task") - @policy_id.setter - def policy_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_id", value) + @run_job_task.setter + def run_job_task(self, value: Optional[pulumi.Input['JobTaskRunJobTaskArgs']]): + pulumi.set(self, "run_job_task", value) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "runtime_engine") + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional[pulumi.Input['JobTaskSparkJarTaskArgs']]: + return pulumi.get(self, "spark_jar_task") - @runtime_engine.setter - def runtime_engine(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "runtime_engine", value) + @spark_jar_task.setter + def spark_jar_task(self, value: Optional[pulumi.Input['JobTaskSparkJarTaskArgs']]): + pulumi.set(self, "spark_jar_task", value) @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "single_user_name") + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional[pulumi.Input['JobTaskSparkPythonTaskArgs']]: + return pulumi.get(self, "spark_python_task") - @single_user_name.setter - def single_user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "single_user_name", value) + @spark_python_task.setter + def spark_python_task(self, value: Optional[pulumi.Input['JobTaskSparkPythonTaskArgs']]): + pulumi.set(self, "spark_python_task", value) @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_conf") + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional[pulumi.Input['JobTaskSparkSubmitTaskArgs']]: + return pulumi.get(self, "spark_submit_task") - @spark_conf.setter - def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_conf", value) + @spark_submit_task.setter + def spark_submit_task(self, value: Optional[pulumi.Input['JobTaskSparkSubmitTaskArgs']]): + pulumi.set(self, "spark_submit_task", value) @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_env_vars") + @pulumi.getter(name="sqlTask") + def sql_task(self) -> Optional[pulumi.Input['JobTaskSqlTaskArgs']]: + return pulumi.get(self, "sql_task") - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_env_vars", value) + @sql_task.setter + def sql_task(self, value: Optional[pulumi.Input['JobTaskSqlTaskArgs']]): + pulumi.set(self, "sql_task", value) @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + """ + return pulumi.get(self, "timeout_seconds") - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ssh_public_keys", value) + @timeout_seconds.setter + def timeout_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "timeout_seconds", value) @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']]: + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional[pulumi.Input['JobTaskWebhookNotificationsArgs']]: """ - isn't supported + (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + + > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. """ - return pulumi.get(self, "workload_type") + return pulumi.get(self, "webhook_notifications") - @workload_type.setter - def workload_type(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']]): - pulumi.set(self, "workload_type", value) + @webhook_notifications.setter + def webhook_notifications(self, value: Optional[pulumi.Input['JobTaskWebhookNotificationsArgs']]): + pulumi.set(self, "webhook_notifications", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[pulumi.Input[int]] - min_workers: NotRequired[pulumi.Input[int]] + class JobTaskCleanRoomsNotebookTaskArgsDict(TypedDict): + clean_room_name: pulumi.Input[str] + notebook_name: pulumi.Input[str] + etag: NotRequired[pulumi.Input[str]] + notebook_base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] elif False: - JobTaskForEachTaskTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + JobTaskCleanRoomsNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterAutoscaleArgs: +class JobTaskCleanRoomsNotebookTaskArgs: def __init__(__self__, *, - max_workers: Optional[pulumi.Input[int]] = None, - min_workers: Optional[pulumi.Input[int]] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + clean_room_name: pulumi.Input[str], + notebook_name: pulumi.Input[str], + etag: Optional[pulumi.Input[str]] = None, + notebook_base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + pulumi.set(__self__, "clean_room_name", clean_room_name) + pulumi.set(__self__, "notebook_name", notebook_name) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if notebook_base_parameters is not None: + pulumi.set(__self__, "notebook_base_parameters", notebook_base_parameters) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_workers") + @pulumi.getter(name="cleanRoomName") + def clean_room_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "clean_room_name") - @max_workers.setter - def max_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_workers", value) + @clean_room_name.setter + def clean_room_name(self, value: pulumi.Input[str]): + pulumi.set(self, "clean_room_name", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "min_workers") - - @min_workers.setter - def min_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_workers", value) - - -if not MYPY: - class JobTaskForEachTaskTaskNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - ebs_volume_count: NotRequired[pulumi.Input[int]] - ebs_volume_iops: NotRequired[pulumi.Input[int]] - ebs_volume_size: NotRequired[pulumi.Input[int]] - ebs_volume_throughput: NotRequired[pulumi.Input[int]] - ebs_volume_type: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - instance_profile_arn: NotRequired[pulumi.Input[str]] - spot_bid_price_percent: NotRequired[pulumi.Input[int]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - JobTaskForEachTaskTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="notebookName") + def notebook_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "notebook_name") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - ebs_volume_count: Optional[pulumi.Input[int]] = None, - ebs_volume_iops: Optional[pulumi.Input[int]] = None, - ebs_volume_size: Optional[pulumi.Input[int]] = None, - ebs_volume_throughput: Optional[pulumi.Input[int]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @notebook_name.setter + def notebook_name(self, value: pulumi.Input[str]): + pulumi.set(self, "notebook_name", value) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_count") - - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_count", value) - - @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_iops") + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_iops", value) + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter(name="notebookBaseParameters") + def notebook_base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "notebook_base_parameters") - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_size", value) + @notebook_base_parameters.setter + def notebook_base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "notebook_base_parameters", value) - @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_throughput") - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_throughput", value) +if not MYPY: + class JobTaskConditionTaskArgsDict(TypedDict): + left: pulumi.Input[str] + """ + The left operand of the condition task. It could be a string value, job state, or a parameter reference. + """ + op: pulumi.Input[str] + """ + The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ebs_volume_type") + This task does not require a cluster to execute and does not support retries or notifications. + """ + right: pulumi.Input[str] + """ + The right operand of the condition task. It could be a string value, job state, or parameter reference. + """ +elif False: + JobTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) +@pulumi.input_type +class JobTaskConditionTaskArgs: + def __init__(__self__, *, + left: pulumi.Input[str], + op: pulumi.Input[str], + right: pulumi.Input[str]): + """ + :param pulumi.Input[str] left: The left operand of the condition task. It could be a string value, job state, or a parameter reference. + :param pulumi.Input[str] op: The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + + This task does not require a cluster to execute and does not support retries or notifications. + :param pulumi.Input[str] right: The right operand of the condition task. It could be a string value, job state, or parameter reference. + """ + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter + def left(self) -> pulumi.Input[str]: + """ + The left operand of the condition task. It could be a string value, job state, or a parameter reference. + """ + return pulumi.get(self, "left") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @left.setter + def left(self, value: pulumi.Input[str]): + pulumi.set(self, "left", value) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_profile_arn") - - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) + @pulumi.getter + def op(self) -> pulumi.Input[str]: + """ + The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "spot_bid_price_percent") + This task does not require a cluster to execute and does not support retries or notifications. + """ + return pulumi.get(self, "op") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def right(self) -> pulumi.Input[str]: + """ + The right operand of the condition task. It could be a string value, job state, or parameter reference. + """ + return pulumi.get(self, "right") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @right.setter + def right(self, value: pulumi.Input[str]): + pulumi.set(self, "right", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - log_analytics_info: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] - spot_bid_max_price: NotRequired[pulumi.Input[float]] + class JobTaskDbtTaskArgsDict(TypedDict): + commands: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + """ + catalog: NotRequired[pulumi.Input[str]] + """ + The name of the catalog to use inside Unity Catalog. + """ + profiles_directory: NotRequired[pulumi.Input[str]] + """ + The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + """ + project_directory: NotRequired[pulumi.Input[str]] + """ + The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + """ + schema: NotRequired[pulumi.Input[str]] + """ + The name of the schema dbt should run in. Defaults to `default`. + """ + source: NotRequired[pulumi.Input[str]] + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + """ + warehouse_id: NotRequired[pulumi.Input[str]] + """ + The ID of the SQL warehouse that dbt should execute against. + + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ elif False: - JobTaskForEachTaskTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + JobTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterAzureAttributesArgs: +class JobTaskDbtTaskArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - log_analytics_info: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + commands: pulumi.Input[Sequence[pulumi.Input[str]]], + catalog: Optional[pulumi.Input[str]] = None, + profiles_directory: Optional[pulumi.Input[str]] = None, + project_directory: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] commands: (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + :param pulumi.Input[str] catalog: The name of the catalog to use inside Unity Catalog. + :param pulumi.Input[str] profiles_directory: The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + :param pulumi.Input[str] project_directory: The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + :param pulumi.Input[str] schema: The name of the schema dbt should run in. Defaults to `default`. + :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + :param pulumi.Input[str] warehouse_id: The ID of the SQL warehouse that dbt should execute against. + + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + def commands(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + """ + return pulumi.get(self, "commands") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @commands.setter + def commands(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "commands", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter + def catalog(self) -> Optional[pulumi.Input[str]]: + """ + The name of the catalog to use inside Unity Catalog. + """ + return pulumi.get(self, "catalog") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @catalog.setter + def catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog", value) @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]: - return pulumi.get(self, "log_analytics_info") + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[pulumi.Input[str]]: + """ + The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + """ + return pulumi.get(self, "profiles_directory") - @log_analytics_info.setter - def log_analytics_info(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]): - pulumi.set(self, "log_analytics_info", value) + @profiles_directory.setter + def profiles_directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "profiles_directory", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "spot_bid_max_price") - - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[pulumi.Input[str]]: + """ + The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + """ + return pulumi.get(self, "project_directory") + @project_directory.setter + def project_directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_directory", value) -if not MYPY: - class JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[pulumi.Input[str]] - log_analytics_workspace_id: NotRequired[pulumi.Input[str]] -elif False: - JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input[str]]: + """ + The name of the schema dbt should run in. Defaults to `default`. + """ + return pulumi.get(self, "schema") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs: - def __init__(__self__, *, - log_analytics_primary_key: Optional[pulumi.Input[str]] = None, - log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + @schema.setter + def schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema", value) @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_primary_key") + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + """ + return pulumi.get(self, "source") - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_primary_key", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the SQL warehouse that dbt should execute against. - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_workspace_id", value) + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ + return pulumi.get(self, "warehouse_id") + + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict']] - s3: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict']] + class JobTaskDependsOnArgsDict(TypedDict): + task_key: pulumi.Input[str] + """ + The name of the task this task depends on. + """ + outcome: NotRequired[pulumi.Input[str]] + """ + Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + + > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + """ elif False: - JobTaskForEachTaskTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + JobTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterClusterLogConfArgs: +class JobTaskDependsOnArgs: def __init__(__self__, *, - dbfs: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']] = None, - s3: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args']] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + task_key: pulumi.Input[str], + outcome: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] task_key: The name of the task this task depends on. + :param pulumi.Input[str] outcome: Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + + > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + """ + pulumi.set(__self__, "task_key", task_key) + if outcome is not None: + pulumi.set(__self__, "outcome", outcome) @property - @pulumi.getter - def dbfs(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']]: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="taskKey") + def task_key(self) -> pulumi.Input[str]: + """ + The name of the task this task depends on. + """ + return pulumi.get(self, "task_key") - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']]): - pulumi.set(self, "dbfs", value) + @task_key.setter + def task_key(self, value: pulumi.Input[str]): + pulumi.set(self, "task_key", value) @property @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args']]: - return pulumi.get(self, "s3") + def outcome(self) -> Optional[pulumi.Input[str]]: + """ + Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args']]): - pulumi.set(self, "s3", value) + > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + """ + return pulumi.get(self, "outcome") + + @outcome.setter + def outcome(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "outcome", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskEmailNotificationsArgsDict(TypedDict): + no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + """ + on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + The following parameter is only available for the job level configuration. + """ + on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run fails. + """ + on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run starts. + """ + on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run completes successfully. + """ elif False: - JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs: +class JobTaskEmailNotificationsArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class JobTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] -elif False: - JobTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args: - def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, + on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_duration_warning_threshold_exceededs: (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + The following parameter is only available for the job level configuration. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_failures: (List) list of emails to notify when the run fails. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_starts: (List) list of emails to notify when the run starts. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_successes: (List) list of emails to notify when the run completes successfully. + """ + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + """ + return pulumi.get(self, "no_alert_for_skipped_runs") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_skipped_runs", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") - - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + The following parameter is only available for the job level configuration. + """ + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run fails. + """ + return pulumi.get(self, "on_failures") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @on_failures.setter + def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run starts. + """ + return pulumi.get(self, "on_starts") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @on_starts.setter + def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run completes successfully. + """ + return pulumi.get(self, "on_successes") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @on_successes.setter + def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: pulumi.Input[str] - network_filesystem_info: pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] - remote_mount_dir_path: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskArgsDict(TypedDict): + inputs: pulumi.Input[str] + """ + (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. + """ + task: pulumi.Input['JobTaskForEachTaskTaskArgsDict'] + """ + Task to run against the `inputs` list. + """ + concurrency: NotRequired[pulumi.Input[int]] + """ + Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. + """ elif False: - JobTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs: +class JobTaskForEachTaskArgs: def __init__(__self__, *, - local_mount_dir_path: pulumi.Input[str], - network_filesystem_info: pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], - remote_mount_dir_path: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + inputs: pulumi.Input[str], + task: pulumi.Input['JobTaskForEachTaskTaskArgs'], + concurrency: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[str] inputs: (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. + :param pulumi.Input['JobTaskForEachTaskTaskArgs'] task: Task to run against the `inputs` list. + :param pulumi.Input[int] concurrency: Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. + """ + pulumi.set(__self__, "inputs", inputs) + pulumi.set(__self__, "task", task) + if concurrency is not None: + pulumi.set(__self__, "concurrency", concurrency) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> pulumi.Input[str]: - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter + def inputs(self) -> pulumi.Input[str]: + """ + (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter. + """ + return pulumi.get(self, "inputs") - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: pulumi.Input[str]): - pulumi.set(self, "local_mount_dir_path", value) + @inputs.setter + def inputs(self, value: pulumi.Input[str]): + pulumi.set(self, "inputs", value) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter + def task(self) -> pulumi.Input['JobTaskForEachTaskTaskArgs']: + """ + Task to run against the `inputs` list. + """ + return pulumi.get(self, "task") - @network_filesystem_info.setter - def network_filesystem_info(self, value: pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): - pulumi.set(self, "network_filesystem_info", value) + @task.setter + def task(self, value: pulumi.Input['JobTaskForEachTaskTaskArgs']): + pulumi.set(self, "task", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def concurrency(self) -> Optional[pulumi.Input[int]]: + """ + Controls the number of active iteration task runs. Default is 20, maximum allowed is 100. + """ + return pulumi.get(self, "concurrency") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "remote_mount_dir_path", value) + @concurrency.setter + def concurrency(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "concurrency", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: pulumi.Input[str] - mount_options: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskTaskArgsDict(TypedDict): + task_key: pulumi.Input[str] + """ + string specifying an unique key for a given task. + * `*_task` - (Required) one of the specific task blocks described below: + """ + clean_rooms_notebook_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgsDict']] + condition_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgsDict']] + dbt_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgsDict']] + depends_ons: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgsDict']]]] + """ + block specifying dependency(-ies) for a given task. + """ + description: NotRequired[pulumi.Input[str]] + """ + description for this task. + """ + disable_auto_optimization: NotRequired[pulumi.Input[bool]] + """ + A flag to disable auto optimization in serverless tasks. + """ + email_notifications: NotRequired[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgsDict']] + """ + An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + """ + environment_key: NotRequired[pulumi.Input[str]] + """ + identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. + """ + existing_cluster_id: NotRequired[pulumi.Input[str]] + """ + Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + """ + health: NotRequired[pulumi.Input['JobTaskForEachTaskTaskHealthArgsDict']] + """ + block described below that specifies health conditions for a given task. + """ + job_cluster_key: NotRequired[pulumi.Input[str]] + """ + Identifier of the Job cluster specified in the `job_cluster` block. + """ + libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgsDict']]]] + """ + (Set) An optional list of libraries to be installed on the cluster that will execute the job. + """ + max_retries: NotRequired[pulumi.Input[int]] + """ + (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + """ + min_retry_interval_millis: NotRequired[pulumi.Input[int]] + """ + (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + """ + new_cluster: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgsDict']] + """ + Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + """ + notebook_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgsDict']] + notification_settings: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgsDict']] + """ + An optional block controlling the notification settings on the job level documented below. + """ + pipeline_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgsDict']] + python_wheel_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgsDict']] + retry_on_timeout: NotRequired[pulumi.Input[bool]] + """ + (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + """ + run_if: NotRequired[pulumi.Input[str]] + """ + An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + """ + run_job_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgsDict']] + spark_jar_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgsDict']] + spark_python_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgsDict']] + spark_submit_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgsDict']] + sql_task: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgsDict']] + timeout_seconds: NotRequired[pulumi.Input[int]] + """ + (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + """ + webhook_notifications: NotRequired[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgsDict']] + """ + (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + + > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. + """ elif False: - JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class JobTaskForEachTaskTaskArgs: def __init__(__self__, *, - server_address: pulumi.Input[str], - mount_options: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + task_key: pulumi.Input[str], + clean_rooms_notebook_task: Optional[pulumi.Input['JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs']] = None, + condition_task: Optional[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgs']] = None, + dbt_task: Optional[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgs']] = None, + depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + disable_auto_optimization: Optional[pulumi.Input[bool]] = None, + email_notifications: Optional[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs']] = None, + environment_key: Optional[pulumi.Input[str]] = None, + existing_cluster_id: Optional[pulumi.Input[str]] = None, + health: Optional[pulumi.Input['JobTaskForEachTaskTaskHealthArgs']] = None, + job_cluster_key: Optional[pulumi.Input[str]] = None, + libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]]] = None, + max_retries: Optional[pulumi.Input[int]] = None, + min_retry_interval_millis: Optional[pulumi.Input[int]] = None, + new_cluster: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs']] = None, + notebook_task: Optional[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgs']] = None, + notification_settings: Optional[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs']] = None, + pipeline_task: Optional[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgs']] = None, + python_wheel_task: Optional[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgs']] = None, + retry_on_timeout: Optional[pulumi.Input[bool]] = None, + run_if: Optional[pulumi.Input[str]] = None, + run_job_task: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgs']] = None, + spark_jar_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgs']] = None, + spark_python_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgs']] = None, + spark_submit_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgs']] = None, + sql_task: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgs']] = None, + timeout_seconds: Optional[pulumi.Input[int]] = None, + webhook_notifications: Optional[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs']] = None): + """ + :param pulumi.Input[str] task_key: string specifying an unique key for a given task. + * `*_task` - (Required) one of the specific task blocks described below: + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]] depends_ons: block specifying dependency(-ies) for a given task. + :param pulumi.Input[str] description: description for this task. + :param pulumi.Input[bool] disable_auto_optimization: A flag to disable auto optimization in serverless tasks. + :param pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs'] email_notifications: An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + :param pulumi.Input[str] environment_key: identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. + :param pulumi.Input[str] existing_cluster_id: Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + :param pulumi.Input['JobTaskForEachTaskTaskHealthArgs'] health: block described below that specifies health conditions for a given task. + :param pulumi.Input[str] job_cluster_key: Identifier of the Job cluster specified in the `job_cluster` block. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]] libraries: (Set) An optional list of libraries to be installed on the cluster that will execute the job. + :param pulumi.Input[int] max_retries: (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + :param pulumi.Input[int] min_retry_interval_millis: (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + :param pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs'] new_cluster: Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + :param pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below. + :param pulumi.Input[bool] retry_on_timeout: (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. + :param pulumi.Input[str] run_if: An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. + :param pulumi.Input[int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + :param pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs'] webhook_notifications: (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. + + > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. + """ + pulumi.set(__self__, "task_key", task_key) + if clean_rooms_notebook_task is not None: + pulumi.set(__self__, "clean_rooms_notebook_task", clean_rooms_notebook_task) + if condition_task is not None: + pulumi.set(__self__, "condition_task", condition_task) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if depends_ons is not None: + pulumi.set(__self__, "depends_ons", depends_ons) + if description is not None: + pulumi.set(__self__, "description", description) + if disable_auto_optimization is not None: + pulumi.set(__self__, "disable_auto_optimization", disable_auto_optimization) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environment_key is not None: + pulumi.set(__self__, "environment_key", environment_key) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if health is not None: + pulumi.set(__self__, "health", health) + if job_cluster_key is not None: + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if retry_on_timeout is not None: + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + if run_if is not None: + pulumi.set(__self__, "run_if", run_if) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if sql_task is not None: + pulumi.set(__self__, "sql_task", sql_task) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> pulumi.Input[str]: - return pulumi.get(self, "server_address") + @pulumi.getter(name="taskKey") + def task_key(self) -> pulumi.Input[str]: + """ + string specifying an unique key for a given task. + * `*_task` - (Required) one of the specific task blocks described below: + """ + return pulumi.get(self, "task_key") - @server_address.setter - def server_address(self, value: pulumi.Input[str]): - pulumi.set(self, "server_address", value) + @task_key.setter + def task_key(self, value: pulumi.Input[str]): + pulumi.set(self, "task_key", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "mount_options") + @pulumi.getter(name="cleanRoomsNotebookTask") + def clean_rooms_notebook_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs']]: + return pulumi.get(self, "clean_rooms_notebook_task") - @mount_options.setter - def mount_options(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mount_options", value) + @clean_rooms_notebook_task.setter + def clean_rooms_notebook_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs']]): + pulumi.set(self, "clean_rooms_notebook_task", value) + @property + @pulumi.getter(name="conditionTask") + def condition_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgs']]: + return pulumi.get(self, "condition_task") -if not MYPY: - class JobTaskForEachTaskTaskNewClusterDockerImageArgsDict(TypedDict): - url: pulumi.Input[str] - """ - URL of the job on the given workspace - """ - basic_auth: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict']] -elif False: - JobTaskForEachTaskTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + @condition_task.setter + def condition_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskConditionTaskArgs']]): + pulumi.set(self, "condition_task", value) -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterDockerImageArgs: - def __init__(__self__, *, - url: pulumi.Input[str], - basic_auth: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']] = None): + @property + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgs']]: + return pulumi.get(self, "dbt_task") + + @dbt_task.setter + def dbt_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskDbtTaskArgs']]): + pulumi.set(self, "dbt_task", value) + + @property + @pulumi.getter(name="dependsOns") + def depends_ons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]]]: """ - :param pulumi.Input[str] url: URL of the job on the given workspace + block specifying dependency(-ies) for a given task. """ - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + return pulumi.get(self, "depends_ons") + + @depends_ons.setter + def depends_ons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskDependsOnArgs']]]]): + pulumi.set(self, "depends_ons", value) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: + def description(self) -> Optional[pulumi.Input[str]]: """ - URL of the job on the given workspace + description for this task. """ - return pulumi.get(self, "url") + return pulumi.get(self, "description") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']]: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="disableAutoOptimization") + def disable_auto_optimization(self) -> Optional[pulumi.Input[bool]]: + """ + A flag to disable auto optimization in serverless tasks. + """ + return pulumi.get(self, "disable_auto_optimization") - @basic_auth.setter - def basic_auth(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']]): - pulumi.set(self, "basic_auth", value) + @disable_auto_optimization.setter + def disable_auto_optimization(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_auto_optimization", value) + @property + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs']]: + """ + An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below. + """ + return pulumi.get(self, "email_notifications") -if not MYPY: - class JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: pulumi.Input[str] - username: pulumi.Input[str] -elif False: - JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + @email_notifications.setter + def email_notifications(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskEmailNotificationsArgs']]): + pulumi.set(self, "email_notifications", value) -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: pulumi.Input[str], - username: pulumi.Input[str]): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @property + @pulumi.getter(name="environmentKey") + def environment_key(self) -> Optional[pulumi.Input[str]]: + """ + identifier of an `environment` block that is used to specify libraries. Required for some tasks (`spark_python_task`, `python_wheel_task`, ...) running on serverless compute. + """ + return pulumi.get(self, "environment_key") + + @environment_key.setter + def environment_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "environment_key", value) @property - @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[pulumi.Input[str]]: + """ + Identifier of the interactive cluster to run job on. *Note: running tasks on interactive clusters may lead to increased costs!* + """ + return pulumi.get(self, "existing_cluster_id") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @existing_cluster_id.setter + def existing_cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "existing_cluster_id", value) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") - - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) + def health(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskHealthArgs']]: + """ + block described below that specifies health conditions for a given task. + """ + return pulumi.get(self, "health") + @health.setter + def health(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskHealthArgs']]): + pulumi.set(self, "health", value) -if not MYPY: - class JobTaskForEachTaskTaskNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - boot_disk_size: NotRequired[pulumi.Input[int]] - google_service_account: NotRequired[pulumi.Input[str]] - local_ssd_count: NotRequired[pulumi.Input[int]] - use_preemptible_executors: NotRequired[pulumi.Input[bool]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - JobTaskForEachTaskTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> Optional[pulumi.Input[str]]: + """ + Identifier of the Job cluster specified in the `job_cluster` block. + """ + return pulumi.get(self, "job_cluster_key") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterGcpAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - boot_disk_size: Optional[pulumi.Input[int]] = None, - google_service_account: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - use_preemptible_executors: Optional[pulumi.Input[bool]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @job_cluster_key.setter + def job_cluster_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "job_cluster_key", value) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]]]: + """ + (Set) An optional list of libraries to be installed on the cluster that will execute the job. + """ + return pulumi.get(self, "libraries") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @libraries.setter + def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskLibraryArgs']]]]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a `FAILED` or `INTERNAL_ERROR` lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED` or `INTERNAL_ERROR`. + """ + return pulumi.get(self, "max_retries") - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "boot_disk_size", value) + @max_retries.setter + def max_retries(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_retries", value) @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "google_service_account") + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried. + """ + return pulumi.get(self, "min_retry_interval_millis") - @google_service_account.setter - def google_service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "google_service_account", value) + @min_retry_interval_millis.setter + def min_retry_interval_millis(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_retry_interval_millis", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs']]: + """ + Task will run on a dedicated cluster. See Cluster documentation for specification. *Some parameters, such as `autotermination_minutes`, `is_pinned`, `workload_type` aren't supported!* + """ + return pulumi.get(self, "new_cluster") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) + @new_cluster.setter + def new_cluster(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterArgs']]): + pulumi.set(self, "new_cluster", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgs']]: + return pulumi.get(self, "notebook_task") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_preemptible_executors", value) + @notebook_task.setter + def notebook_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNotebookTaskArgs']]): + pulumi.set(self, "notebook_task", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs']]: + """ + An optional block controlling the notification settings on the job level documented below. + """ + return pulumi.get(self, "notification_settings") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @notification_settings.setter + def notification_settings(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNotificationSettingsArgs']]): + pulumi.set(self, "notification_settings", value) + + @property + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgs']]: + return pulumi.get(self, "pipeline_task") + @pipeline_task.setter + def pipeline_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskPipelineTaskArgs']]): + pulumi.set(self, "pipeline_task", value) -if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict']] - dbfs: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict']] - file: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgsDict']] + @property + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgs']]: + return pulumi.get(self, "python_wheel_task") + + @python_wheel_task.setter + def python_wheel_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskPythonWheelTaskArgs']]): + pulumi.set(self, "python_wheel_task", value) + + @property + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> Optional[pulumi.Input[bool]]: """ - block consisting of single string fields: + (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout. """ - gcs: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict']] - s3: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict']] - volumes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict']] - workspace: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict']] -elif False: - JobTaskForEachTaskTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "retry_on_timeout") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptArgs: - def __init__(__self__, *, - abfss: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']] = None, - dbfs: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']] = None, - file: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs']] = None, - gcs: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs']] = None, - s3: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3Args']] = None, - volumes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']] = None, - workspace: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']] = None): + @retry_on_timeout.setter + def retry_on_timeout(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "retry_on_timeout", value) + + @property + @pulumi.getter(name="runIf") + def run_if(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs'] file: block consisting of single string fields: + An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of `ALL_SUCCESS`, `AT_LEAST_ONE_SUCCESS`, `NONE_FAILED`, `ALL_DONE`, `AT_LEAST_ONE_FAILED` or `ALL_FAILED`. When omitted, defaults to `ALL_SUCCESS`. """ - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + return pulumi.get(self, "run_if") + + @run_if.setter + def run_if(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "run_if", value) @property - @pulumi.getter - def abfss(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']]: - return pulumi.get(self, "abfss") + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgs']]: + return pulumi.get(self, "run_job_task") - @abfss.setter - def abfss(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']]): - pulumi.set(self, "abfss", value) + @run_job_task.setter + def run_job_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskArgs']]): + pulumi.set(self, "run_job_task", value) @property - @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']]: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgs']]: + return pulumi.get(self, "spark_jar_task") - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']]): - pulumi.set(self, "dbfs", value) + @spark_jar_task.setter + def spark_jar_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkJarTaskArgs']]): + pulumi.set(self, "spark_jar_task", value) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs']]: - """ - block consisting of single string fields: - """ - return pulumi.get(self, "file") + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgs']]: + return pulumi.get(self, "spark_python_task") - @file.setter - def file(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs']]): - pulumi.set(self, "file", value) + @spark_python_task.setter + def spark_python_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkPythonTaskArgs']]): + pulumi.set(self, "spark_python_task", value) @property - @pulumi.getter - def gcs(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs']]: - return pulumi.get(self, "gcs") + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgs']]: + return pulumi.get(self, "spark_submit_task") - @gcs.setter - def gcs(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs']]): - pulumi.set(self, "gcs", value) + @spark_submit_task.setter + def spark_submit_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSparkSubmitTaskArgs']]): + pulumi.set(self, "spark_submit_task", value) @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3Args']]: - return pulumi.get(self, "s3") + @pulumi.getter(name="sqlTask") + def sql_task(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgs']]: + return pulumi.get(self, "sql_task") - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3Args']]): - pulumi.set(self, "s3", value) + @sql_task.setter + def sql_task(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskArgs']]): + pulumi.set(self, "sql_task", value) @property - @pulumi.getter - def volumes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']]: - return pulumi.get(self, "volumes") + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[pulumi.Input[int]]: + """ + (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout. + """ + return pulumi.get(self, "timeout_seconds") - @volumes.setter - def volumes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']]): - pulumi.set(self, "volumes", value) + @timeout_seconds.setter + def timeout_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "timeout_seconds", value) @property - @pulumi.getter - def workspace(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']]: - return pulumi.get(self, "workspace") + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs']]: + """ + (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below. - @workspace.setter - def workspace(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']]): - pulumi.set(self, "workspace", value) + > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. + """ + return pulumi.get(self, "webhook_notifications") + + @webhook_notifications.setter + def webhook_notifications(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsArgs']]): + pulumi.set(self, "webhook_notifications", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgsDict(TypedDict): + clean_room_name: pulumi.Input[str] + notebook_name: pulumi.Input[str] + etag: NotRequired[pulumi.Input[str]] + notebook_base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] elif False: - JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs: +class JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + clean_room_name: pulumi.Input[str], + notebook_name: pulumi.Input[str], + etag: Optional[pulumi.Input[str]] = None, + notebook_base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + pulumi.set(__self__, "clean_room_name", clean_room_name) + pulumi.set(__self__, "notebook_name", notebook_name) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if notebook_base_parameters is not None: + pulumi.set(__self__, "notebook_base_parameters", notebook_base_parameters) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @pulumi.getter(name="cleanRoomName") + def clean_room_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "clean_room_name") + @clean_room_name.setter + def clean_room_name(self, value: pulumi.Input[str]): + pulumi.set(self, "clean_room_name", value) -if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="notebookName") + def notebook_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "notebook_name") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @notebook_name.setter + def notebook_name(self, value: pulumi.Input[str]): + pulumi.set(self, "notebook_name", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def etag(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "etag") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @etag.setter + def etag(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "etag", value) + + @property + @pulumi.getter(name="notebookBaseParameters") + def notebook_base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "notebook_base_parameters") + + @notebook_base_parameters.setter + def notebook_base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "notebook_base_parameters", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptFileArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskConditionTaskArgsDict(TypedDict): + left: pulumi.Input[str] + """ + The left operand of the condition task. It could be a string value, job state, or a parameter reference. + """ + op: pulumi.Input[str] + """ + The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + + This task does not require a cluster to execute and does not support retries or notifications. + """ + right: pulumi.Input[str] + """ + The right operand of the condition task. It could be a string value, job state, or parameter reference. + """ elif False: - JobTaskForEachTaskTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptFileArgs: +class JobTaskForEachTaskTaskConditionTaskArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + left: pulumi.Input[str], + op: pulumi.Input[str], + right: pulumi.Input[str]): + """ + :param pulumi.Input[str] left: The left operand of the condition task. It could be a string value, job state, or a parameter reference. + :param pulumi.Input[str] op: The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + + This task does not require a cluster to execute and does not support retries or notifications. + :param pulumi.Input[str] right: The right operand of the condition task. It could be a string value, job state, or parameter reference. + """ + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def left(self) -> pulumi.Input[str]: + """ + The left operand of the condition task. It could be a string value, job state, or a parameter reference. + """ + return pulumi.get(self, "left") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @left.setter + def left(self, value: pulumi.Input[str]): + pulumi.set(self, "left", value) + @property + @pulumi.getter + def op(self) -> pulumi.Input[str]: + """ + The string specifying the operation used to compare operands. Currently, following operators are supported: `EQUAL_TO`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `NOT_EQUAL`. (Check the [API docs](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). -if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + This task does not require a cluster to execute and does not support retries or notifications. + """ + return pulumi.get(self, "op") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def right(self) -> pulumi.Input[str]: + """ + The right operand of the condition task. It could be a string value, job state, or parameter reference. + """ + return pulumi.get(self, "right") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @right.setter + def right(self, value: pulumi.Input[str]): + pulumi.set(self, "right", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] -elif False: - JobTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptS3Args: - def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + class JobTaskForEachTaskTaskDbtTaskArgsDict(TypedDict): + commands: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + """ + catalog: NotRequired[pulumi.Input[str]] + """ + The name of the catalog to use inside Unity Catalog. + """ + profiles_directory: NotRequired[pulumi.Input[str]] + """ + The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + """ + project_directory: NotRequired[pulumi.Input[str]] + """ + The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + """ + schema: NotRequired[pulumi.Input[str]] + """ + The name of the schema dbt should run in. Defaults to `default`. + """ + source: NotRequired[pulumi.Input[str]] + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + """ + warehouse_id: NotRequired[pulumi.Input[str]] + """ + The ID of the SQL warehouse that dbt should execute against. + + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ +elif False: + JobTaskForEachTaskTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskDbtTaskArgs: + def __init__(__self__, *, + commands: pulumi.Input[Sequence[pulumi.Input[str]]], + catalog: Optional[pulumi.Input[str]] = None, + profiles_directory: Optional[pulumi.Input[str]] = None, + project_directory: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] commands: (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + :param pulumi.Input[str] catalog: The name of the catalog to use inside Unity Catalog. + :param pulumi.Input[str] profiles_directory: The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + :param pulumi.Input[str] project_directory: The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + :param pulumi.Input[str] schema: The name of the schema dbt should run in. Defaults to `default`. + :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + :param pulumi.Input[str] warehouse_id: The ID of the SQL warehouse that dbt should execute against. + + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def commands(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt". + """ + return pulumi.get(self, "commands") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @commands.setter + def commands(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "commands", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") + @pulumi.getter + def catalog(self) -> Optional[pulumi.Input[str]]: + """ + The name of the catalog to use inside Unity Catalog. + """ + return pulumi.get(self, "catalog") - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @catalog.setter + def catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[pulumi.Input[str]]: + """ + The relative path to the directory in the repository specified by `git_source` where dbt should look in for the `profiles.yml` file. If not specified, defaults to the repository's root directory. Equivalent to passing `--profile-dir` to a dbt command. + """ + return pulumi.get(self, "profiles_directory") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @profiles_directory.setter + def profiles_directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "profiles_directory", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[pulumi.Input[str]]: + """ + The path where dbt should look for `dbt_project.yml`. Equivalent to passing `--project-dir` to the dbt CLI. + * If `source` is `GIT`: Relative path to the directory in the repository specified in the `git_source` block. Defaults to the repository's root directory when not specified. + * If `source` is `WORKSPACE`: Absolute path to the folder in the workspace. + """ + return pulumi.get(self, "project_directory") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @project_directory.setter + def project_directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_directory", value) @property @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + def schema(self) -> Optional[pulumi.Input[str]]: + """ + The name of the schema dbt should run in. Defaults to `default`. + """ + return pulumi.get(self, "schema") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @schema.setter + def schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. Defaults to `GIT` if a `git_source` block is present in the job definition. + """ + return pulumi.get(self, "source") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the SQL warehouse that dbt should execute against. + + You also need to include a `git_source` block to configure the repository that contains the dbt project. + """ + return pulumi.get(self, "warehouse_id") + + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) + + +if not MYPY: + class JobTaskForEachTaskTaskDependsOnArgsDict(TypedDict): + task_key: pulumi.Input[str] + """ + The name of the task this task depends on. + """ + outcome: NotRequired[pulumi.Input[str]] + """ + Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + + > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + """ +elif False: + JobTaskForEachTaskTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskDependsOnArgs: + def __init__(__self__, *, + task_key: pulumi.Input[str], + outcome: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] task_key: The name of the task this task depends on. + :param pulumi.Input[str] outcome: Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. + + > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + """ + pulumi.set(__self__, "task_key", task_key) + if outcome is not None: + pulumi.set(__self__, "outcome", outcome) + + @property + @pulumi.getter(name="taskKey") + def task_key(self) -> pulumi.Input[str]: + """ + The name of the task this task depends on. + """ + return pulumi.get(self, "task_key") + + @task_key.setter + def task_key(self, value: pulumi.Input[str]): + pulumi.set(self, "task_key", value) @property @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + def outcome(self) -> Optional[pulumi.Input[str]]: + """ + Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are `"true"` or `"false"`. - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + > Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to task_key in order to get consistent Pulumi diffs. + """ + return pulumi.get(self, "outcome") + + @outcome.setter + def outcome(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "outcome", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskEmailNotificationsArgsDict(TypedDict): + no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + """ + on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + The following parameter is only available for the job level configuration. + """ + on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run fails. + """ + on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run starts. + """ + on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) list of emails to notify when the run completes successfully. + """ elif False: - JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs: +class JobTaskForEachTaskTaskEmailNotificationsArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, + on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_duration_warning_threshold_exceededs: (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + The following parameter is only available for the job level configuration. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_failures: (List) list of emails to notify when the run fails. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_starts: (List) list of emails to notify when the run starts. + :param pulumi.Input[Sequence[pulumi.Input[str]]] on_successes: (List) list of emails to notify when the run completes successfully. + """ + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) + + @property + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block). + """ + return pulumi.get(self, "no_alert_for_skipped_runs") + + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_skipped_runs", value) + + @property + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + The following parameter is only available for the job level configuration. + """ + return pulumi.get(self, "on_duration_warning_threshold_exceededs") + + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + + @property + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run fails. + """ + return pulumi.get(self, "on_failures") + + @on_failures.setter + def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_failures", value) + + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run starts. + """ + return pulumi.get(self, "on_starts") + + @on_starts.setter + def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_starts", value) + + @property + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") + + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) + + @property + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) list of emails to notify when the run completes successfully. + """ + return pulumi.get(self, "on_successes") + + @on_successes.setter + def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "on_successes", value) + + +if not MYPY: + class JobTaskForEachTaskTaskHealthArgsDict(TypedDict): + rules: pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgsDict']]] + """ + list of rules that are represented as objects with the following attributes: + """ +elif False: + JobTaskForEachTaskTaskHealthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskHealthArgs: + def __init__(__self__, *, + rules: pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]]): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]] rules: list of rules that are represented as objects with the following attributes: + """ + pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def rules(self) -> pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]]: + """ + list of rules that are represented as objects with the following attributes: + """ + return pulumi.get(self, "rules") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @rules.setter + def rules(self, value: pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskHealthRuleArgs']]]): + pulumi.set(self, "rules", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskHealthRuleArgsDict(TypedDict): + metric: pulumi.Input[str] + """ + string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + """ + op: pulumi.Input[str] + """ + string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + """ + value: pulumi.Input[int] + """ + integer value used to compare to the given metric. + """ elif False: - JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs: +class JobTaskForEachTaskTaskHealthRuleArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + metric: pulumi.Input[str], + op: pulumi.Input[str], + value: pulumi.Input[int]): + """ + :param pulumi.Input[str] metric: string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + :param pulumi.Input[str] op: string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + :param pulumi.Input[int] value: integer value used to compare to the given metric. + """ + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def metric(self) -> pulumi.Input[str]: + """ + string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + """ + return pulumi.get(self, "metric") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @metric.setter + def metric(self, value: pulumi.Input[str]): + pulumi.set(self, "metric", value) + + @property + @pulumi.getter + def op(self) -> pulumi.Input[str]: + """ + string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + """ + return pulumi.get(self, "op") + + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[int]: + """ + integer value used to compare to the given metric. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[int]): + pulumi.set(self, "value", value) if not MYPY: - class JobTaskForEachTaskTaskNewClusterLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgsDict']] + class JobTaskForEachTaskTaskLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgsDict']] egg: NotRequired[pulumi.Input[str]] jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgsDict']] + maven: NotRequired[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgsDict']] requirements: NotRequired[pulumi.Input[str]] whl: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterLibraryArgs: +class JobTaskForEachTaskTaskLibraryArgs: def __init__(__self__, *, - cran: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgs']] = None, + cran: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgs']] = None, egg: Optional[pulumi.Input[str]] = None, jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgs']] = None, + maven: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgs']] = None, requirements: Optional[pulumi.Input[str]] = None, whl: Optional[pulumi.Input[str]] = None): if cran is not None: @@ -14567,11 +14406,11 @@ def __init__(__self__, *, @property @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgs']]: + def cran(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgs']]: return pulumi.get(self, "cran") @cran.setter - def cran(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgs']]): + def cran(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryCranArgs']]): pulumi.set(self, "cran", value) @property @@ -14594,20 +14433,20 @@ def jar(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgs']]: + def maven(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgs']]: return pulumi.get(self, "maven") @maven.setter - def maven(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgs']]): + def maven(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryMavenArgs']]): pulumi.set(self, "maven", value) @property @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgs']]: + def pypi(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgs']]: return pulumi.get(self, "pypi") @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgs']]): + def pypi(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskLibraryPypiArgs']]): pulumi.set(self, "pypi", value) @property @@ -14630,14 +14469,14 @@ def whl(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskForEachTaskTaskNewClusterLibraryCranArgsDict(TypedDict): + class JobTaskForEachTaskTaskLibraryCranArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterLibraryCranArgs: +class JobTaskForEachTaskTaskLibraryCranArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -14665,15 +14504,15 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskForEachTaskTaskNewClusterLibraryMavenArgsDict(TypedDict): + class JobTaskForEachTaskTaskLibraryMavenArgsDict(TypedDict): coordinates: pulumi.Input[str] exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterLibraryMavenArgs: +class JobTaskForEachTaskTaskLibraryMavenArgs: def __init__(__self__, *, coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -14713,14 +14552,14 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskForEachTaskTaskNewClusterLibraryPypiArgsDict(TypedDict): + class JobTaskForEachTaskTaskLibraryPypiArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterLibraryPypiArgs: +class JobTaskForEachTaskTaskLibraryPypiArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -14748,1725 +14587,1505 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict(TypedDict): - clients: pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict'] + class JobTaskForEachTaskTaskNewClusterArgsDict(TypedDict): + spark_version: pulumi.Input[str] + apply_policy_default_values: NotRequired[pulumi.Input[bool]] + autoscale: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgsDict']] + aws_attributes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgsDict']] + azure_attributes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgsDict']] + cluster_id: NotRequired[pulumi.Input[str]] + cluster_log_conf: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgsDict']] + cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict']]]] + cluster_name: NotRequired[pulumi.Input[str]] + custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + data_security_mode: NotRequired[pulumi.Input[str]] + docker_image: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgsDict']] + driver_instance_pool_id: NotRequired[pulumi.Input[str]] + driver_node_type_id: NotRequired[pulumi.Input[str]] + enable_elastic_disk: NotRequired[pulumi.Input[bool]] + enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] + gcp_attributes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgsDict']] + idempotency_token: NotRequired[pulumi.Input[str]] + init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgsDict']]]] + instance_pool_id: NotRequired[pulumi.Input[str]] + is_single_node: NotRequired[pulumi.Input[bool]] + kind: NotRequired[pulumi.Input[str]] + libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgsDict']]]] + """ + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + """ + node_type_id: NotRequired[pulumi.Input[str]] + num_workers: NotRequired[pulumi.Input[int]] + policy_id: NotRequired[pulumi.Input[str]] + runtime_engine: NotRequired[pulumi.Input[str]] + single_user_name: NotRequired[pulumi.Input[str]] + spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + use_ml_runtime: NotRequired[pulumi.Input[bool]] + workload_type: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict']] + """ + isn't supported + """ elif False: - JobTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs: +class JobTaskForEachTaskTaskNewClusterArgs: def __init__(__self__, *, - clients: pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs']): - pulumi.set(__self__, "clients", clients) + spark_version: pulumi.Input[str], + apply_policy_default_values: Optional[pulumi.Input[bool]] = None, + autoscale: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgs']] = None, + aws_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']] = None, + azure_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + cluster_log_conf: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']] = None, + cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + data_security_mode: Optional[pulumi.Input[str]] = None, + docker_image: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgs']] = None, + driver_instance_pool_id: Optional[pulumi.Input[str]] = None, + driver_node_type_id: Optional[pulumi.Input[str]] = None, + enable_elastic_disk: Optional[pulumi.Input[bool]] = None, + enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, + gcp_attributes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgs']] = None, + idempotency_token: Optional[pulumi.Input[str]] = None, + init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgs']]]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]] = None, + node_type_id: Optional[pulumi.Input[str]] = None, + num_workers: Optional[pulumi.Input[int]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + runtime_engine: Optional[pulumi.Input[str]] = None, + single_user_name: Optional[pulumi.Input[str]] = None, + spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, + workload_type: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + :param pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs'] workload_type: isn't supported + """ + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def clients(self) -> pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs']: - return pulumi.get(self, "clients") - - @clients.setter - def clients(self, value: pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs']): - pulumi.set(self, "clients", value) + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> pulumi.Input[str]: + return pulumi.get(self, "spark_version") + @spark_version.setter + def spark_version(self, value: pulumi.Input[str]): + pulumi.set(self, "spark_version", value) -if not MYPY: - class JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[pulumi.Input[bool]] - notebooks: NotRequired[pulumi.Input[bool]] -elif False: - JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "apply_policy_default_values") -@pulumi.input_type -class JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs: - def __init__(__self__, *, - jobs: Optional[pulumi.Input[bool]] = None, - notebooks: Optional[pulumi.Input[bool]] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "apply_policy_default_values", value) @property @pulumi.getter - def jobs(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "jobs") + def autoscale(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgs']]: + return pulumi.get(self, "autoscale") - @jobs.setter - def jobs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "jobs", value) + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAutoscaleArgs']]): + pulumi.set(self, "autoscale", value) @property - @pulumi.getter - def notebooks(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']]: + return pulumi.get(self, "aws_attributes") - @notebooks.setter - def notebooks(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "notebooks", value) + @aws_attributes.setter + def aws_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAwsAttributesArgs']]): + pulumi.set(self, "aws_attributes", value) + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']]: + return pulumi.get(self, "azure_attributes") -if not MYPY: - class JobTaskForEachTaskTaskNotebookTaskArgsDict(TypedDict): - notebook_path: pulumi.Input[str] - """ - The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - """ - base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - """ - source: NotRequired[pulumi.Input[str]] - """ - Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - """ - warehouse_id: NotRequired[pulumi.Input[str]] - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ -elif False: - JobTaskForEachTaskTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + @azure_attributes.setter + def azure_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesArgs']]): + pulumi.set(self, "azure_attributes", value) -@pulumi.input_type -class JobTaskForEachTaskTaskNotebookTaskArgs: - def __init__(__self__, *, - notebook_path: pulumi.Input[str], - base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - source: Optional[pulumi.Input[str]] = None, - warehouse_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] notebook_path: The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] base_parameters: (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - :param pulumi.Input[str] source: Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_id") + + @cluster_id.setter + def cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_id", value) @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> pulumi.Input[str]: - """ - The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - """ - return pulumi.get(self, "notebook_path") + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']]: + return pulumi.get(self, "cluster_log_conf") - @notebook_path.setter - def notebook_path(self, value: pulumi.Input[str]): - pulumi.set(self, "notebook_path", value) + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfArgs']]): + pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - """ - return pulumi.get(self, "base_parameters") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]]: + return pulumi.get(self, "cluster_mount_infos") - @base_parameters.setter - def base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "base_parameters", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]]]): + pulumi.set(self, "cluster_mount_infos", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_name") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[pulumi.Input[str]]: - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_tags") - @warehouse_id.setter - def warehouse_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "warehouse_id", value) + @custom_tags.setter + def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_tags", value) + @property + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "data_security_mode") -if not MYPY: - class JobTaskForEachTaskTaskNotificationSettingsArgsDict(TypedDict): - alert_on_last_attempt: NotRequired[pulumi.Input[bool]] - """ - (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. - """ - no_alert_for_canceled_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for cancelled runs. + @data_security_mode.setter + def data_security_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_security_mode", value) - The following parameter is only available on task level. - """ - no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for skipped runs. - """ -elif False: - JobTaskForEachTaskTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgs']]: + return pulumi.get(self, "docker_image") -@pulumi.input_type -class JobTaskForEachTaskTaskNotificationSettingsArgs: - def __init__(__self__, *, - alert_on_last_attempt: Optional[pulumi.Input[bool]] = None, - no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, - no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[bool] alert_on_last_attempt: (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. - :param pulumi.Input[bool] no_alert_for_canceled_runs: (Bool) don't send alert for cancelled runs. - - The following parameter is only available on task level. - :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. - """ - if alert_on_last_attempt is not None: - pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + @docker_image.setter + def docker_image(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageArgs']]): + pulumi.set(self, "docker_image", value) @property - @pulumi.getter(name="alertOnLastAttempt") - def alert_on_last_attempt(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. - """ - return pulumi.get(self, "alert_on_last_attempt") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_instance_pool_id") - @alert_on_last_attempt.setter - def alert_on_last_attempt(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "alert_on_last_attempt", value) + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_instance_pool_id", value) @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for cancelled runs. + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_node_type_id") - The following parameter is only available on task level. - """ - return pulumi.get(self, "no_alert_for_canceled_runs") + @driver_node_type_id.setter + def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_node_type_id", value) - @no_alert_for_canceled_runs.setter - def no_alert_for_canceled_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_canceled_runs", value) + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_elastic_disk") + + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_elastic_disk", value) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for skipped runs. - """ - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_local_disk_encryption") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_local_disk_encryption", value) + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgs']]: + return pulumi.get(self, "gcp_attributes") -if not MYPY: - class JobTaskForEachTaskTaskPipelineTaskArgsDict(TypedDict): - pipeline_id: pulumi.Input[str] - """ - The pipeline's unique ID. - """ - full_refresh: NotRequired[pulumi.Input[bool]] - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @gcp_attributes.setter + def gcp_attributes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterGcpAttributesArgs']]): + pulumi.set(self, "gcp_attributes", value) - > The following configuration blocks are only supported inside a `task` block - """ -elif False: - JobTaskForEachTaskTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "idempotency_token") -@pulumi.input_type -class JobTaskForEachTaskTaskPipelineTaskArgs: - def __init__(__self__, *, - pipeline_id: pulumi.Input[str], - full_refresh: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] pipeline_id: The pipeline's unique ID. - :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + @idempotency_token.setter + def idempotency_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "idempotency_token", value) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> pulumi.Input[str]: - """ - The pipeline's unique ID. - """ - return pulumi.get(self, "pipeline_id") + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgs']]]]: + return pulumi.get(self, "init_scripts") - @pipeline_id.setter - def pipeline_id(self, value: pulumi.Input[str]): - pulumi.set(self, "pipeline_id", value) + @init_scripts.setter + def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptArgs']]]]): + pulumi.set(self, "init_scripts", value) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_pool_id") - > The following configuration blocks are only supported inside a `task` block - """ - return pulumi.get(self, "full_refresh") + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_pool_id", value) - @full_refresh.setter - def full_refresh(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "full_refresh", value) + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_single_node") - -if not MYPY: - class JobTaskForEachTaskTaskPythonWheelTaskArgsDict(TypedDict): - entry_point: NotRequired[pulumi.Input[str]] - """ - Python function as entry point for the task - """ - named_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - Named parameters for the task - """ - package_name: NotRequired[pulumi.Input[str]] - """ - Name of Python package - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - Parameters for the task - """ -elif False: - JobTaskForEachTaskTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobTaskForEachTaskTaskPythonWheelTaskArgs: - def __init__(__self__, *, - entry_point: Optional[pulumi.Input[str]] = None, - named_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - package_name: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] entry_point: Python function as entry point for the task - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] named_parameters: Named parameters for the task - :param pulumi.Input[str] package_name: Name of Python package - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: Parameters for the task - """ - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - - @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[pulumi.Input[str]]: - """ - Python function as entry point for the task - """ - return pulumi.get(self, "entry_point") - - @entry_point.setter - def entry_point(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "entry_point", value) + @is_single_node.setter + def is_single_node(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_single_node", value) @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Named parameters for the task - """ - return pulumi.get(self, "named_parameters") - - @named_parameters.setter - def named_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "named_parameters", value) - - @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of Python package - """ - return pulumi.get(self, "package_name") + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kind") - @package_name.setter - def package_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_name", value) + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) @property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Parameters for the task - """ - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) - - -if not MYPY: - class JobTaskForEachTaskTaskRunJobTaskArgsDict(TypedDict): - job_id: pulumi.Input[int] - """ - (String) ID of the job - """ - dbt_commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - jar_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - job_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]]: """ - (Map) Job parameters for the task + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ - notebook_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - pipeline_params: NotRequired[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgsDict']] - python_named_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - python_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - spark_submit_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - sql_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] -elif False: - JobTaskForEachTaskTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "libraries") -@pulumi.input_type -class JobTaskForEachTaskTaskRunJobTaskArgs: - def __init__(__self__, *, - job_id: pulumi.Input[int], - dbt_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - jar_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - job_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - notebook_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - pipeline_params: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs']] = None, - python_named_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - python_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - spark_submit_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - sql_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[int] job_id: (String) ID of the job - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] job_parameters: (Map) Job parameters for the task - """ - pulumi.set(__self__, "job_id", job_id) - if dbt_commands is not None: - pulumi.set(__self__, "dbt_commands", dbt_commands) - if jar_params is not None: - pulumi.set(__self__, "jar_params", jar_params) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) - if notebook_params is not None: - pulumi.set(__self__, "notebook_params", notebook_params) - if pipeline_params is not None: - pulumi.set(__self__, "pipeline_params", pipeline_params) - if python_named_params is not None: - pulumi.set(__self__, "python_named_params", python_named_params) - if python_params is not None: - pulumi.set(__self__, "python_params", python_params) - if spark_submit_params is not None: - pulumi.set(__self__, "spark_submit_params", spark_submit_params) - if sql_params is not None: - pulumi.set(__self__, "sql_params", sql_params) + @libraries.setter + def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryArgs']]]]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter(name="jobId") - def job_id(self) -> pulumi.Input[int]: - """ - (String) ID of the job - """ - return pulumi.get(self, "job_id") + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "node_type_id") - @job_id.setter - def job_id(self, value: pulumi.Input[int]): - pulumi.set(self, "job_id", value) + @node_type_id.setter + def node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter(name="dbtCommands") - def dbt_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "dbt_commands") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "num_workers") - @dbt_commands.setter - def dbt_commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "dbt_commands", value) + @num_workers.setter + def num_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_workers", value) @property - @pulumi.getter(name="jarParams") - def jar_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "jar_params") + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "policy_id") - @jar_params.setter - def jar_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "jar_params", value) + @policy_id.setter + def policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy_id", value) @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) Job parameters for the task - """ - return pulumi.get(self, "job_parameters") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "runtime_engine") - @job_parameters.setter - def job_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "job_parameters", value) + @runtime_engine.setter + def runtime_engine(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "runtime_engine", value) @property - @pulumi.getter(name="notebookParams") - def notebook_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "notebook_params") + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "single_user_name") - @notebook_params.setter - def notebook_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "notebook_params", value) + @single_user_name.setter + def single_user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "single_user_name", value) @property - @pulumi.getter(name="pipelineParams") - def pipeline_params(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs']]: - return pulumi.get(self, "pipeline_params") + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_conf") - @pipeline_params.setter - def pipeline_params(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs']]): - pulumi.set(self, "pipeline_params", value) + @spark_conf.setter + def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_conf", value) @property - @pulumi.getter(name="pythonNamedParams") - def python_named_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "python_named_params") + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_env_vars") - @python_named_params.setter - def python_named_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "python_named_params", value) + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter(name="pythonParams") - def python_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "python_params") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "ssh_public_keys") - @python_params.setter - def python_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "python_params", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ssh_public_keys", value) @property - @pulumi.getter(name="sparkSubmitParams") - def spark_submit_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "spark_submit_params") + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_ml_runtime") - @spark_submit_params.setter - def spark_submit_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "spark_submit_params", value) + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_ml_runtime", value) @property - @pulumi.getter(name="sqlParams") - def sql_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "sql_params") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']]: + """ + isn't supported + """ + return pulumi.get(self, "workload_type") - @sql_params.setter - def sql_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "sql_params", value) + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs']]): + pulumi.set(self, "workload_type", value) if not MYPY: - class JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgsDict(TypedDict): - full_refresh: NotRequired[pulumi.Input[bool]] - """ - (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ + class JobTaskForEachTaskTaskNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[pulumi.Input[int]] + min_workers: NotRequired[pulumi.Input[int]] elif False: - JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs: +class JobTaskForEachTaskTaskNewClusterAutoscaleArgs: def __init__(__self__, *, - full_refresh: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + max_workers: Optional[pulumi.Input[int]] = None, + min_workers: Optional[pulumi.Input[int]] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_workers") - > The following configuration blocks are only supported inside a `task` block - """ - return pulumi.get(self, "full_refresh") + @max_workers.setter + def max_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_workers", value) - @full_refresh.setter - def full_refresh(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "full_refresh", value) + @property + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min_workers") + + @min_workers.setter + def min_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_workers", value) if not MYPY: - class JobTaskForEachTaskTaskSparkJarTaskArgsDict(TypedDict): - jar_uri: NotRequired[pulumi.Input[str]] - main_class_name: NotRequired[pulumi.Input[str]] - """ - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Parameters passed to the main method. - """ + class JobTaskForEachTaskTaskNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + ebs_volume_count: NotRequired[pulumi.Input[int]] + ebs_volume_iops: NotRequired[pulumi.Input[int]] + ebs_volume_size: NotRequired[pulumi.Input[int]] + ebs_volume_throughput: NotRequired[pulumi.Input[int]] + ebs_volume_type: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + instance_profile_arn: NotRequired[pulumi.Input[str]] + spot_bid_price_percent: NotRequired[pulumi.Input[int]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSparkJarTaskArgs: +class JobTaskForEachTaskTaskNewClusterAwsAttributesArgs: def __init__(__self__, *, - jar_uri: Optional[pulumi.Input[str]] = None, - main_class_name: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] main_class_name: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Parameters passed to the main method. - """ - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + availability: Optional[pulumi.Input[str]] = None, + ebs_volume_count: Optional[pulumi.Input[int]] = None, + ebs_volume_iops: Optional[pulumi.Input[int]] = None, + ebs_volume_size: Optional[pulumi.Input[int]] = None, + ebs_volume_throughput: Optional[pulumi.Input[int]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar_uri") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @jar_uri.setter - def jar_uri(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar_uri", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[pulumi.Input[str]]: - """ - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - """ - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_count") - @main_class_name.setter - def main_class_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "main_class_name", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_count", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Parameters passed to the main method. - """ - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_iops") + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_iops", value) -if not MYPY: - class JobTaskForEachTaskTaskSparkPythonTaskArgsDict(TypedDict): - python_file: pulumi.Input[str] - """ - The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Command line parameters passed to the Python file. - """ - source: NotRequired[pulumi.Input[str]] - """ - Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ -elif False: - JobTaskForEachTaskTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_size") -@pulumi.input_type -class JobTaskForEachTaskTaskSparkPythonTaskArgs: - def __init__(__self__, *, - python_file: pulumi.Input[str], - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] python_file: The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command line parameters passed to the Python file. - :param pulumi.Input[str] source: Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_size", value) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> pulumi.Input[str]: - """ - The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - """ - return pulumi.get(self, "python_file") + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_throughput") - @python_file.setter - def python_file(self, value: pulumi.Input[str]): - pulumi.set(self, "python_file", value) + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_throughput", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Command line parameters passed to the Python file. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ebs_volume_type") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_profile_arn") -if not MYPY: - class JobTaskForEachTaskTaskSparkSubmitTaskArgsDict(TypedDict): - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Command-line parameters passed to spark submit. - """ -elif False: - JobTaskForEachTaskTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) -@pulumi.input_type -class JobTaskForEachTaskTaskSparkSubmitTaskArgs: - def __init__(__self__, *, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command-line parameters passed to spark submit. - """ - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Command-line parameters passed to spark submit. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobTaskForEachTaskTaskSqlTaskArgsDict(TypedDict): - warehouse_id: pulumi.Input[str] - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - """ - alert: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgsDict']] - """ - block consisting of following fields: - """ - dashboard: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgsDict']] - """ - block consisting of following fields: - """ - file: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgsDict']] - """ - block consisting of single string fields: - """ - parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - """ - query: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgsDict']] - """ - block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). - """ + class JobTaskForEachTaskTaskNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + log_analytics_info: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] + spot_bid_max_price: NotRequired[pulumi.Input[float]] elif False: - JobTaskForEachTaskTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskArgs: +class JobTaskForEachTaskTaskNewClusterAzureAttributesArgs: def __init__(__self__, *, - warehouse_id: pulumi.Input[str], - alert: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs']] = None, - dashboard: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs']] = None, - file: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs']] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - query: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs']] = None): - """ - :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs'] alert: block consisting of following fields: - :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs'] dashboard: block consisting of following fields: - :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs'] file: block consisting of single string fields: - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs'] query: block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). - """ - pulumi.set(__self__, "warehouse_id", warehouse_id) - if alert is not None: - pulumi.set(__self__, "alert", alert) - if dashboard is not None: - pulumi.set(__self__, "dashboard", dashboard) - if file is not None: - pulumi.set(__self__, "file", file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if query is not None: - pulumi.set(__self__, "query", query) + availability: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + log_analytics_info: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> pulumi.Input[str]: - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - """ - return pulumi.get(self, "warehouse_id") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @warehouse_id.setter - def warehouse_id(self, value: pulumi.Input[str]): - pulumi.set(self, "warehouse_id", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def alert(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs']]: - """ - block consisting of following fields: - """ - return pulumi.get(self, "alert") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @alert.setter - def alert(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs']]): - pulumi.set(self, "alert", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter - def dashboard(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs']]: - """ - block consisting of following fields: - """ - return pulumi.get(self, "dashboard") + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]: + return pulumi.get(self, "log_analytics_info") - @dashboard.setter - def dashboard(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs']]): - pulumi.set(self, "dashboard", value) + @log_analytics_info.setter + def log_analytics_info(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]): + pulumi.set(self, "log_analytics_info", value) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs']]: - """ - block consisting of single string fields: - """ - return pulumi.get(self, "file") + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "spot_bid_max_price") - @file.setter - def file(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs']]): - pulumi.set(self, "file", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) + + +if not MYPY: + class JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[pulumi.Input[str]] + log_analytics_workspace_id: NotRequired[pulumi.Input[str]] +elif False: + JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs: + def __init__(__self__, *, + log_analytics_primary_key: Optional[pulumi.Input[str]] = None, + log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_primary_key") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_primary_key", value) @property - @pulumi.getter - def query(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs']]: - """ - block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). - """ - return pulumi.get(self, "query") + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_workspace_id") - @query.setter - def query(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs']]): - pulumi.set(self, "query", value) + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_id", value) if not MYPY: - class JobTaskForEachTaskTaskSqlTaskAlertArgsDict(TypedDict): - alert_id: pulumi.Input[str] - """ - (String) identifier of the Databricks Alert (databricks_alert). - """ - pause_subscriptions: NotRequired[pulumi.Input[bool]] - """ - flag that specifies if subscriptions are paused or not. - """ - subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict']]]] - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ + class JobTaskForEachTaskTaskNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict']] + s3: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict']] elif False: - JobTaskForEachTaskTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskAlertArgs: +class JobTaskForEachTaskTaskNewClusterClusterLogConfArgs: def __init__(__self__, *, - alert_id: pulumi.Input[str], - pause_subscriptions: Optional[pulumi.Input[bool]] = None, - subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]]] = None): - """ - :param pulumi.Input[str] alert_id: (String) identifier of the Databricks Alert (databricks_alert). - :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - pulumi.set(__self__, "alert_id", alert_id) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) + dbfs: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']] = None, + s3: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args']] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property - @pulumi.getter(name="alertId") - def alert_id(self) -> pulumi.Input[str]: - """ - (String) identifier of the Databricks Alert (databricks_alert). - """ - return pulumi.get(self, "alert_id") + @pulumi.getter + def dbfs(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']]: + return pulumi.get(self, "dbfs") - @alert_id.setter - def alert_id(self, value: pulumi.Input[str]): - pulumi.set(self, "alert_id", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: - """ - flag that specifies if subscriptions are paused or not. - """ - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args']]: + return pulumi.get(self, "s3") - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "pause_subscriptions", value) + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args']]): + pulumi.set(self, "s3", value) + + +if not MYPY: + class JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]]]: - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - return pulumi.get(self, "subscriptions") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @subscriptions.setter - def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]]]): - pulumi.set(self, "subscriptions", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[pulumi.Input[str]] - user_name: NotRequired[pulumi.Input[str]] - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ + class JobTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs: +class JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args: def __init__(__self__, *, - destination_id: Optional[pulumi.Input[str]] = None, - user_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_id") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @destination_id.setter - def destination_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[pulumi.Input[str]]: - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - return pulumi.get(self, "user_name") - - @user_name.setter - def user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_name", value) + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) -if not MYPY: - class JobTaskForEachTaskTaskSqlTaskDashboardArgsDict(TypedDict): - dashboard_id: pulumi.Input[str] - """ - (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - """ - custom_subject: NotRequired[pulumi.Input[str]] - """ - string specifying a custom subject of email sent. - """ - pause_subscriptions: NotRequired[pulumi.Input[bool]] - """ - flag that specifies if subscriptions are paused or not. - """ - subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict']]]] - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ -elif False: - JobTaskForEachTaskTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") -@pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskDashboardArgs: - def __init__(__self__, *, - dashboard_id: pulumi.Input[str], - custom_subject: Optional[pulumi.Input[str]] = None, - pause_subscriptions: Optional[pulumi.Input[bool]] = None, - subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]]] = None): - """ - :param pulumi.Input[str] dashboard_id: (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - :param pulumi.Input[str] custom_subject: string specifying a custom subject of email sent. - :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - pulumi.set(__self__, "dashboard_id", dashboard_id) - if custom_subject is not None: - pulumi.set(__self__, "custom_subject", custom_subject) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="dashboardId") - def dashboard_id(self) -> pulumi.Input[str]: - """ - (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - """ - return pulumi.get(self, "dashboard_id") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") - @dashboard_id.setter - def dashboard_id(self, value: pulumi.Input[str]): - pulumi.set(self, "dashboard_id", value) + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property - @pulumi.getter(name="customSubject") - def custom_subject(self) -> Optional[pulumi.Input[str]]: - """ - string specifying a custom subject of email sent. - """ - return pulumi.get(self, "custom_subject") + @pulumi.getter + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @custom_subject.setter - def custom_subject(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_subject", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: - """ - flag that specifies if subscriptions are paused or not. - """ - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "pause_subscriptions", value) + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property @pulumi.getter - def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]]]: - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - return pulumi.get(self, "subscriptions") + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @subscriptions.setter - def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]]]): - pulumi.set(self, "subscriptions", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[pulumi.Input[str]] - user_name: NotRequired[pulumi.Input[str]] - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ -elif False: - JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + class JobTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: pulumi.Input[str] + network_filesystem_info: pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] + remote_mount_dir_path: NotRequired[pulumi.Input[str]] +elif False: + JobTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs: +class JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs: def __init__(__self__, *, - destination_id: Optional[pulumi.Input[str]] = None, - user_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + local_mount_dir_path: pulumi.Input[str], + network_filesystem_info: pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], + remote_mount_dir_path: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_id") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> pulumi.Input[str]: + return pulumi.get(self, "local_mount_dir_path") - @destination_id.setter - def destination_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_id", value) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: pulumi.Input[str]): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[pulumi.Input[str]]: - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - return pulumi.get(self, "user_name") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: + return pulumi.get(self, "network_filesystem_info") - @user_name.setter - def user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_name", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: pulumi.Input['JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): + pulumi.set(self, "network_filesystem_info", value) + + @property + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "remote_mount_dir_path") + + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "remote_mount_dir_path", value) if not MYPY: - class JobTaskForEachTaskTaskSqlTaskFileArgsDict(TypedDict): - path: pulumi.Input[str] - """ - If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + class JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: pulumi.Input[str] + mount_options: NotRequired[pulumi.Input[str]] +elif False: + JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] - Example +@pulumi.input_type +class JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: pulumi.Input[str], + mount_options: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) - ```python - import pulumi - import pulumi_databricks as databricks + @property + @pulumi.getter(name="serverAddress") + def server_address(self) -> pulumi.Input[str]: + return pulumi.get(self, "server_address") - sql_aggregation_job = databricks.Job("sql_aggregation_job", - name="Example SQL Job", - tasks=[ - { - "task_key": "run_agg_query", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "query": { - "query_id": agg_query["id"], - }, - }, - }, - { - "task_key": "run_dashboard", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "dashboard": { - "dashboard_id": dash["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - { - "task_key": "run_alert", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "alert": { - "alert_id": alert["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - ]) - ``` - """ - source: NotRequired[pulumi.Input[str]] + @server_address.setter + def server_address(self, value: pulumi.Input[str]): + pulumi.set(self, "server_address", value) + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mount_options") + + @mount_options.setter + def mount_options(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mount_options", value) + + +if not MYPY: + class JobTaskForEachTaskTaskNewClusterDockerImageArgsDict(TypedDict): + url: pulumi.Input[str] """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. + URL of the job on the given workspace """ + basic_auth: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict']] elif False: - JobTaskForEachTaskTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskFileArgs: +class JobTaskForEachTaskTaskNewClusterDockerImageArgs: def __init__(__self__, *, - path: pulumi.Input[str], - source: Optional[pulumi.Input[str]] = None): + url: pulumi.Input[str], + basic_auth: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']] = None): """ - :param pulumi.Input[str] path: If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - - Example - - ```python - import pulumi - import pulumi_databricks as databricks - - sql_aggregation_job = databricks.Job("sql_aggregation_job", - name="Example SQL Job", - tasks=[ - { - "task_key": "run_agg_query", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "query": { - "query_id": agg_query["id"], - }, - }, - }, - { - "task_key": "run_dashboard", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "dashboard": { - "dashboard_id": dash["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - { - "task_key": "run_alert", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "alert": { - "alert_id": alert["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - ]) - ``` - :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. + :param pulumi.Input[str] url: URL of the job on the given workspace """ - pulumi.set(__self__, "path", path) - if source is not None: - pulumi.set(__self__, "source", source) + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def path(self) -> pulumi.Input[str]: + def url(self) -> pulumi.Input[str]: """ - If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - - Example - - ```python - import pulumi - import pulumi_databricks as databricks - - sql_aggregation_job = databricks.Job("sql_aggregation_job", - name="Example SQL Job", - tasks=[ - { - "task_key": "run_agg_query", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "query": { - "query_id": agg_query["id"], - }, - }, - }, - { - "task_key": "run_dashboard", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "dashboard": { - "dashboard_id": dash["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - { - "task_key": "run_alert", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "alert": { - "alert_id": alert["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - ]) - ``` + URL of the job on the given workspace """ - return pulumi.get(self, "path") + return pulumi.get(self, "url") - @path.setter - def path(self, value: pulumi.Input[str]): - pulumi.set(self, "path", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']]: + return pulumi.get(self, "basic_auth") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @basic_auth.setter + def basic_auth(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']]): + pulumi.set(self, "basic_auth", value) if not MYPY: - class JobTaskForEachTaskTaskSqlTaskQueryArgsDict(TypedDict): - query_id: pulumi.Input[str] + class JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: pulumi.Input[str] + username: pulumi.Input[str] elif False: - JobTaskForEachTaskTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskSqlTaskQueryArgs: +class JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs: def __init__(__self__, *, - query_id: pulumi.Input[str]): - pulumi.set(__self__, "query_id", query_id) + password: pulumi.Input[str], + username: pulumi.Input[str]): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="queryId") - def query_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "query_id") + @pulumi.getter + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @query_id.setter - def query_id(self, value: pulumi.Input[str]): - pulumi.set(self, "query_id", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) + @property + @pulumi.getter + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") -if not MYPY: - class JobTaskForEachTaskTaskWebhookNotificationsArgsDict(TypedDict): - on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']]]] - """ - (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - Example - """ - on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict']]]] - """ - (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - """ - on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict']]]] - """ - (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - """ - on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']]]] - on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict']]]] - """ - (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ +if not MYPY: + class JobTaskForEachTaskTaskNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + boot_disk_size: NotRequired[pulumi.Input[int]] + google_service_account: NotRequired[pulumi.Input[str]] + local_ssd_count: NotRequired[pulumi.Input[int]] + use_preemptible_executors: NotRequired[pulumi.Input[bool]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - JobTaskForEachTaskTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskWebhookNotificationsArgs: +class JobTaskForEachTaskTaskNewClusterGcpAttributesArgs: def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]] = None, - on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]]] = None, - on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]]] = None, - on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]] = None, - on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]] on_duration_warning_threshold_exceededs: (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - - Example - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]] on_failures: (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]] on_starts: (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]] on_successes: (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + availability: Optional[pulumi.Input[str]] = None, + boot_disk_size: Optional[pulumi.Input[int]] = None, + google_service_account: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + use_preemptible_executors: Optional[pulumi.Input[bool]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]: - """ - (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) - Example - """ - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + @property + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "boot_disk_size") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]]]: - """ - (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_failures") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "google_service_account") - @on_failures.setter - def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]]]): - pulumi.set(self, "on_failures", value) + @google_service_account.setter + def google_service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]]]: - """ - (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_starts") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "local_ssd_count") - @on_starts.setter - def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]]]): - pulumi.set(self, "on_starts", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_preemptible_executors") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]]]: - """ - (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_successes") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") - @on_successes.setter - def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]]]): - pulumi.set(self, "on_successes", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): - id: pulumi.Input[str] + class JobTaskForEachTaskTaskNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict']] + dbfs: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict']] + file: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgsDict']] """ - ID of the job + block consisting of single string fields: """ + gcs: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict']] + s3: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict']] + volumes: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict']] + workspace: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict']] elif False: - JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter - def id(self) -> pulumi.Input[str]: + abfss: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']] = None, + dbfs: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']] = None, + file: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs']] = None, + gcs: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs']] = None, + s3: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3Args']] = None, + volumes: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']] = None, + workspace: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']] = None): """ - ID of the job + :param pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs'] file: block consisting of single string fields: """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) - - -if not MYPY: - class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict(TypedDict): - id: pulumi.Input[str] + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) + + @property + @pulumi.getter + def abfss(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']]: + return pulumi.get(self, "abfss") + + @abfss.setter + def abfss(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']]): + pulumi.set(self, "abfss", value) + + @property + @pulumi.getter + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']]: + return pulumi.get(self, "dbfs") + + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']]): + pulumi.set(self, "dbfs", value) + + @property + @pulumi.getter + def file(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs']]: """ - ID of the job + block consisting of single string fields: """ + return pulumi.get(self, "file") + + @file.setter + def file(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptFileArgs']]): + pulumi.set(self, "file", value) + + @property + @pulumi.getter + def gcs(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs']]: + return pulumi.get(self, "gcs") + + @gcs.setter + def gcs(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs']]): + pulumi.set(self, "gcs", value) + + @property + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3Args']]: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptS3Args']]): + pulumi.set(self, "s3", value) + + @property + @pulumi.getter + def volumes(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']]: + return pulumi.get(self, "volumes") + + @volumes.setter + def volumes(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']]): + pulumi.set(self, "volumes", value) + + @property + @pulumi.getter + def workspace(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']]: + return pulumi.get(self, "workspace") + + @workspace.setter + def workspace(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']]): + pulumi.set(self, "workspace", value) + + +if not MYPY: + class JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ + class JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ + class JobTaskForEachTaskTaskNewClusterInitScriptFileArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptFileArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ + class JobTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskHealthArgsDict(TypedDict): - rules: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgsDict']]] - """ - list of rules that are represented as objects with the following attributes: - """ + class JobTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - JobTaskHealthArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskHealthArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptS3Args: def __init__(__self__, *, - rules: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]]): - """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]] rules: list of rules that are represented as objects with the following attributes: - """ - pulumi.set(__self__, "rules", rules) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def rules(self) -> pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]]: - """ - list of rules that are represented as objects with the following attributes: - """ - return pulumi.get(self, "rules") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @rules.setter - def rules(self, value: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]]): - pulumi.set(self, "rules", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") + + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) + + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") + + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) + + @property + @pulumi.getter + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") + + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class JobTaskHealthRuleArgsDict(TypedDict): - metric: pulumi.Input[str] - """ - string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - """ - op: pulumi.Input[str] - """ - string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - """ - value: pulumi.Input[int] - """ - integer value used to compare to the given metric. - """ + class JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskHealthRuleArgs: +class JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - metric: pulumi.Input[str], - op: pulumi.Input[str], - value: pulumi.Input[int]): - """ - :param pulumi.Input[str] metric: string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - :param pulumi.Input[str] op: string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - :param pulumi.Input[int] value: integer value used to compare to the given metric. - """ - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def metric(self) -> pulumi.Input[str]: - """ - string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). - """ - return pulumi.get(self, "metric") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @metric.setter - def metric(self, value: pulumi.Input[str]): - pulumi.set(self, "metric", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter - def op(self) -> pulumi.Input[str]: - """ - string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. - """ - return pulumi.get(self, "op") - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) +if not MYPY: + class JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def value(self) -> pulumi.Input[int]: - """ - integer value used to compare to the given metric. - """ - return pulumi.get(self, "value") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @value.setter - def value(self, value: pulumi.Input[int]): - pulumi.set(self, "value", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobTaskLibraryCranArgsDict']] + class JobTaskForEachTaskTaskNewClusterLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgsDict']] egg: NotRequired[pulumi.Input[str]] jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobTaskLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobTaskLibraryPypiArgsDict']] + maven: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgsDict']] requirements: NotRequired[pulumi.Input[str]] whl: NotRequired[pulumi.Input[str]] elif False: - JobTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskLibraryArgs: +class JobTaskForEachTaskTaskNewClusterLibraryArgs: def __init__(__self__, *, - cran: Optional[pulumi.Input['JobTaskLibraryCranArgs']] = None, + cran: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgs']] = None, egg: Optional[pulumi.Input[str]] = None, jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobTaskLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobTaskLibraryPypiArgs']] = None, + maven: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgs']] = None, requirements: Optional[pulumi.Input[str]] = None, whl: Optional[pulumi.Input[str]] = None): if cran is not None: @@ -16486,11 +16105,11 @@ def __init__(__self__, *, @property @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobTaskLibraryCranArgs']]: + def cran(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgs']]: return pulumi.get(self, "cran") @cran.setter - def cran(self, value: Optional[pulumi.Input['JobTaskLibraryCranArgs']]): + def cran(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryCranArgs']]): pulumi.set(self, "cran", value) @property @@ -16513,20 +16132,20 @@ def jar(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobTaskLibraryMavenArgs']]: + def maven(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgs']]: return pulumi.get(self, "maven") @maven.setter - def maven(self, value: Optional[pulumi.Input['JobTaskLibraryMavenArgs']]): + def maven(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryMavenArgs']]): pulumi.set(self, "maven", value) @property @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobTaskLibraryPypiArgs']]: + def pypi(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgs']]: return pulumi.get(self, "pypi") @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobTaskLibraryPypiArgs']]): + def pypi(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskNewClusterLibraryPypiArgs']]): pulumi.set(self, "pypi", value) @property @@ -16549,14 +16168,14 @@ def whl(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskLibraryCranArgsDict(TypedDict): + class JobTaskForEachTaskTaskNewClusterLibraryCranArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskLibraryCranArgs: +class JobTaskForEachTaskTaskNewClusterLibraryCranArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -16584,15 +16203,15 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskLibraryMavenArgsDict(TypedDict): + class JobTaskForEachTaskTaskNewClusterLibraryMavenArgsDict(TypedDict): coordinates: pulumi.Input[str] exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskLibraryMavenArgs: +class JobTaskForEachTaskTaskNewClusterLibraryMavenArgs: def __init__(__self__, *, coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -16632,14 +16251,14 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskLibraryPypiArgsDict(TypedDict): + class JobTaskForEachTaskTaskNewClusterLibraryPypiArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskLibraryPypiArgs: +class JobTaskForEachTaskTaskNewClusterLibraryPypiArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -16667,1466 +16286,1725 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskNewClusterArgsDict(TypedDict): - spark_version: pulumi.Input[str] - apply_policy_default_values: NotRequired[pulumi.Input[bool]] - autoscale: NotRequired[pulumi.Input['JobTaskNewClusterAutoscaleArgsDict']] - aws_attributes: NotRequired[pulumi.Input['JobTaskNewClusterAwsAttributesArgsDict']] - azure_attributes: NotRequired[pulumi.Input['JobTaskNewClusterAzureAttributesArgsDict']] - cluster_id: NotRequired[pulumi.Input[str]] - cluster_log_conf: NotRequired[pulumi.Input['JobTaskNewClusterClusterLogConfArgsDict']] - cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgsDict']]]] - cluster_name: NotRequired[pulumi.Input[str]] - custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - data_security_mode: NotRequired[pulumi.Input[str]] - docker_image: NotRequired[pulumi.Input['JobTaskNewClusterDockerImageArgsDict']] - driver_instance_pool_id: NotRequired[pulumi.Input[str]] - driver_node_type_id: NotRequired[pulumi.Input[str]] - enable_elastic_disk: NotRequired[pulumi.Input[bool]] - enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] - gcp_attributes: NotRequired[pulumi.Input['JobTaskNewClusterGcpAttributesArgsDict']] - idempotency_token: NotRequired[pulumi.Input[str]] - init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgsDict']]]] - instance_pool_id: NotRequired[pulumi.Input[str]] - libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgsDict']]]] - """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - """ - node_type_id: NotRequired[pulumi.Input[str]] - num_workers: NotRequired[pulumi.Input[int]] - policy_id: NotRequired[pulumi.Input[str]] - runtime_engine: NotRequired[pulumi.Input[str]] - single_user_name: NotRequired[pulumi.Input[str]] - spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - workload_type: NotRequired[pulumi.Input['JobTaskNewClusterWorkloadTypeArgsDict']] - """ - isn't supported - """ + class JobTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict(TypedDict): + clients: pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict'] elif False: - JobTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterArgs: +class JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs: def __init__(__self__, *, - spark_version: pulumi.Input[str], - apply_policy_default_values: Optional[pulumi.Input[bool]] = None, - autoscale: Optional[pulumi.Input['JobTaskNewClusterAutoscaleArgs']] = None, - aws_attributes: Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']] = None, - azure_attributes: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']] = None, - cluster_id: Optional[pulumi.Input[str]] = None, - cluster_log_conf: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']] = None, - cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]] = None, - cluster_name: Optional[pulumi.Input[str]] = None, - custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - data_security_mode: Optional[pulumi.Input[str]] = None, - docker_image: Optional[pulumi.Input['JobTaskNewClusterDockerImageArgs']] = None, - driver_instance_pool_id: Optional[pulumi.Input[str]] = None, - driver_node_type_id: Optional[pulumi.Input[str]] = None, - enable_elastic_disk: Optional[pulumi.Input[bool]] = None, - enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, - gcp_attributes: Optional[pulumi.Input['JobTaskNewClusterGcpAttributesArgs']] = None, - idempotency_token: Optional[pulumi.Input[str]] = None, - init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgs']]]] = None, - instance_pool_id: Optional[pulumi.Input[str]] = None, - libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]] = None, - node_type_id: Optional[pulumi.Input[str]] = None, - num_workers: Optional[pulumi.Input[int]] = None, - policy_id: Optional[pulumi.Input[str]] = None, - runtime_engine: Optional[pulumi.Input[str]] = None, - single_user_name: Optional[pulumi.Input[str]] = None, - spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - workload_type: Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. - :param pulumi.Input['JobTaskNewClusterWorkloadTypeArgs'] workload_type: isn't supported - """ - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + clients: pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs']): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> pulumi.Input[str]: - return pulumi.get(self, "spark_version") + @pulumi.getter + def clients(self) -> pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs']: + return pulumi.get(self, "clients") - @spark_version.setter - def spark_version(self, value: pulumi.Input[str]): - pulumi.set(self, "spark_version", value) + @clients.setter + def clients(self, value: pulumi.Input['JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs']): + pulumi.set(self, "clients", value) - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "apply_policy_default_values") - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "apply_policy_default_values", value) +if not MYPY: + class JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[pulumi.Input[bool]] + notebooks: NotRequired[pulumi.Input[bool]] +elif False: + JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs: + def __init__(__self__, *, + jobs: Optional[pulumi.Input[bool]] = None, + notebooks: Optional[pulumi.Input[bool]] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def autoscale(self) -> Optional[pulumi.Input['JobTaskNewClusterAutoscaleArgs']]: - return pulumi.get(self, "autoscale") + def jobs(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "jobs") - @autoscale.setter - def autoscale(self, value: Optional[pulumi.Input['JobTaskNewClusterAutoscaleArgs']]): - pulumi.set(self, "autoscale", value) + @jobs.setter + def jobs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "jobs", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']]: - return pulumi.get(self, "aws_attributes") - - @aws_attributes.setter - def aws_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']]): - pulumi.set(self, "aws_attributes", value) + @pulumi.getter + def notebooks(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "notebooks") - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']]: - return pulumi.get(self, "azure_attributes") + @notebooks.setter + def notebooks(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "notebooks", value) - @azure_attributes.setter - def azure_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']]): - pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_id") +if not MYPY: + class JobTaskForEachTaskTaskNotebookTaskArgsDict(TypedDict): + notebook_path: pulumi.Input[str] + """ + The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + """ + base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + """ + source: NotRequired[pulumi.Input[str]] + """ + Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. + """ + warehouse_id: NotRequired[pulumi.Input[str]] + """ + ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + """ +elif False: + JobTaskForEachTaskTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] - @cluster_id.setter - def cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_id", value) +@pulumi.input_type +class JobTaskForEachTaskTaskNotebookTaskArgs: + def __init__(__self__, *, + notebook_path: pulumi.Input[str], + base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] notebook_path: The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] base_parameters: (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + :param pulumi.Input[str] source: Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. + :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + """ + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']]: - return pulumi.get(self, "cluster_log_conf") + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> pulumi.Input[str]: + """ + The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + """ + return pulumi.get(self, "notebook_path") - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']]): - pulumi.set(self, "cluster_log_conf", value) + @notebook_path.setter + def notebook_path(self, value: pulumi.Input[str]): + pulumi.set(self, "notebook_path", value) @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]]: - return pulumi.get(self, "cluster_mount_infos") + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + """ + return pulumi.get(self, "base_parameters") - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]]): - pulumi.set(self, "cluster_mount_infos", value) + @base_parameters.setter + def base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "base_parameters", value) @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cluster_name") + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. + """ + return pulumi.get(self, "source") - @cluster_name.setter - def cluster_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_name", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: + """ + ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. + """ + return pulumi.get(self, "warehouse_id") - @custom_tags.setter - def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "custom_tags", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) - @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "data_security_mode") - @data_security_mode.setter - def data_security_mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "data_security_mode", value) +if not MYPY: + class JobTaskForEachTaskTaskNotificationSettingsArgsDict(TypedDict): + alert_on_last_attempt: NotRequired[pulumi.Input[bool]] + """ + (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. + """ + no_alert_for_canceled_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for cancelled runs. - @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional[pulumi.Input['JobTaskNewClusterDockerImageArgs']]: - return pulumi.get(self, "docker_image") + The following parameter is only available on task level. + """ + no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for skipped runs. + """ +elif False: + JobTaskForEachTaskTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] - @docker_image.setter - def docker_image(self, value: Optional[pulumi.Input['JobTaskNewClusterDockerImageArgs']]): - pulumi.set(self, "docker_image", value) +@pulumi.input_type +class JobTaskForEachTaskTaskNotificationSettingsArgs: + def __init__(__self__, *, + alert_on_last_attempt: Optional[pulumi.Input[bool]] = None, + no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, + no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input[bool] alert_on_last_attempt: (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. + :param pulumi.Input[bool] no_alert_for_canceled_runs: (Bool) don't send alert for cancelled runs. + + The following parameter is only available on task level. + :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. + """ + if alert_on_last_attempt is not None: + pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter(name="alertOnLastAttempt") + def alert_on_last_attempt(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. + """ + return pulumi.get(self, "alert_on_last_attempt") - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_instance_pool_id", value) + @alert_on_last_attempt.setter + def alert_on_last_attempt(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "alert_on_last_attempt", value) @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_node_type_id") + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) don't send alert for cancelled runs. - @driver_node_type_id.setter - def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_node_type_id", value) + The following parameter is only available on task level. + """ + return pulumi.get(self, "no_alert_for_canceled_runs") + + @no_alert_for_canceled_runs.setter + def no_alert_for_canceled_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_canceled_runs", value) @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) don't send alert for skipped runs. + """ + return pulumi.get(self, "no_alert_for_skipped_runs") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_elastic_disk", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_skipped_runs", value) - @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_local_disk_encryption") - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_local_disk_encryption", value) +if not MYPY: + class JobTaskForEachTaskTaskPipelineTaskArgsDict(TypedDict): + pipeline_id: pulumi.Input[str] + """ + The pipeline's unique ID. + """ + full_refresh: NotRequired[pulumi.Input[bool]] + """ + (Bool) Specifies if there should be full refresh of the pipeline. - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterGcpAttributesArgs']]: - return pulumi.get(self, "gcp_attributes") + > The following configuration blocks are only supported inside a `task` block + """ +elif False: + JobTaskForEachTaskTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] - @gcp_attributes.setter - def gcp_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterGcpAttributesArgs']]): - pulumi.set(self, "gcp_attributes", value) +@pulumi.input_type +class JobTaskForEachTaskTaskPipelineTaskArgs: + def __init__(__self__, *, + pipeline_id: pulumi.Input[str], + full_refresh: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input[str] pipeline_id: The pipeline's unique ID. + :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block + """ + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "idempotency_token") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> pulumi.Input[str]: + """ + The pipeline's unique ID. + """ + return pulumi.get(self, "pipeline_id") - @idempotency_token.setter - def idempotency_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "idempotency_token", value) + @pipeline_id.setter + def pipeline_id(self, value: pulumi.Input[str]): + pulumi.set(self, "pipeline_id", value) @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgs']]]]: - return pulumi.get(self, "init_scripts") + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) Specifies if there should be full refresh of the pipeline. - @init_scripts.setter - def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgs']]]]): - pulumi.set(self, "init_scripts", value) + > The following configuration blocks are only supported inside a `task` block + """ + return pulumi.get(self, "full_refresh") - @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_pool_id") + @full_refresh.setter + def full_refresh(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "full_refresh", value) - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_pool_id", value) - @property - @pulumi.getter - def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]]: +if not MYPY: + class JobTaskForEachTaskTaskPythonWheelTaskArgsDict(TypedDict): + entry_point: NotRequired[pulumi.Input[str]] """ - (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + Python function as entry point for the task """ - return pulumi.get(self, "libraries") + named_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Named parameters for the task + """ + package_name: NotRequired[pulumi.Input[str]] + """ + Name of Python package + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Parameters for the task + """ +elif False: + JobTaskForEachTaskTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] - @libraries.setter - def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]]): - pulumi.set(self, "libraries", value) +@pulumi.input_type +class JobTaskForEachTaskTaskPythonWheelTaskArgs: + def __init__(__self__, *, + entry_point: Optional[pulumi.Input[str]] = None, + named_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + package_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] entry_point: Python function as entry point for the task + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] named_parameters: Named parameters for the task + :param pulumi.Input[str] package_name: Name of Python package + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: Parameters for the task + """ + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "node_type_id") + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[pulumi.Input[str]]: + """ + Python function as entry point for the task + """ + return pulumi.get(self, "entry_point") - @node_type_id.setter - def node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_type_id", value) + @entry_point.setter + def entry_point(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entry_point", value) @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "num_workers") + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Named parameters for the task + """ + return pulumi.get(self, "named_parameters") - @num_workers.setter - def num_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "num_workers", value) + @named_parameters.setter + def named_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "named_parameters", value) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "policy_id") + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of Python package + """ + return pulumi.get(self, "package_name") - @policy_id.setter - def policy_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_id", value) + @package_name.setter + def package_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_name", value) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "runtime_engine") - - @runtime_engine.setter - def runtime_engine(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "runtime_engine", value) - - @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "single_user_name") - - @single_user_name.setter - def single_user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "single_user_name", value) - - @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_conf") - - @spark_conf.setter - def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_conf", value) - - @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_env_vars") - - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_env_vars", value) - - @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "ssh_public_keys") - - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ssh_public_keys", value) - - @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']]: + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - isn't supported + Parameters for the task """ - return pulumi.get(self, "workload_type") + return pulumi.get(self, "parameters") - @workload_type.setter - def workload_type(self, value: Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']]): - pulumi.set(self, "workload_type", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class JobTaskNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[pulumi.Input[int]] - min_workers: NotRequired[pulumi.Input[int]] + class JobTaskForEachTaskTaskRunJobTaskArgsDict(TypedDict): + job_id: pulumi.Input[int] + """ + (String) ID of the job + """ + dbt_commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + jar_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + job_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + (Map) Job parameters for the task + """ + notebook_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + pipeline_params: NotRequired[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgsDict']] + python_named_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + python_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + spark_submit_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + sql_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] elif False: - JobTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterAutoscaleArgs: +class JobTaskForEachTaskTaskRunJobTaskArgs: def __init__(__self__, *, - max_workers: Optional[pulumi.Input[int]] = None, - min_workers: Optional[pulumi.Input[int]] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + job_id: pulumi.Input[int], + dbt_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + jar_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + job_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + notebook_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + pipeline_params: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs']] = None, + python_named_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + python_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + spark_submit_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sql_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[int] job_id: (String) ID of the job + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] job_parameters: (Map) Job parameters for the task + """ + pulumi.set(__self__, "job_id", job_id) + if dbt_commands is not None: + pulumi.set(__self__, "dbt_commands", dbt_commands) + if jar_params is not None: + pulumi.set(__self__, "jar_params", jar_params) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) + if notebook_params is not None: + pulumi.set(__self__, "notebook_params", notebook_params) + if pipeline_params is not None: + pulumi.set(__self__, "pipeline_params", pipeline_params) + if python_named_params is not None: + pulumi.set(__self__, "python_named_params", python_named_params) + if python_params is not None: + pulumi.set(__self__, "python_params", python_params) + if spark_submit_params is not None: + pulumi.set(__self__, "spark_submit_params", spark_submit_params) + if sql_params is not None: + pulumi.set(__self__, "sql_params", sql_params) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_workers") + @pulumi.getter(name="jobId") + def job_id(self) -> pulumi.Input[int]: + """ + (String) ID of the job + """ + return pulumi.get(self, "job_id") - @max_workers.setter - def max_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_workers", value) + @job_id.setter + def job_id(self, value: pulumi.Input[int]): + pulumi.set(self, "job_id", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "min_workers") - - @min_workers.setter - def min_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_workers", value) + @pulumi.getter(name="dbtCommands") + def dbt_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "dbt_commands") + @dbt_commands.setter + def dbt_commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dbt_commands", value) -if not MYPY: - class JobTaskNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - ebs_volume_count: NotRequired[pulumi.Input[int]] - ebs_volume_iops: NotRequired[pulumi.Input[int]] - ebs_volume_size: NotRequired[pulumi.Input[int]] - ebs_volume_throughput: NotRequired[pulumi.Input[int]] - ebs_volume_type: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - instance_profile_arn: NotRequired[pulumi.Input[str]] - spot_bid_price_percent: NotRequired[pulumi.Input[int]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - JobTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="jarParams") + def jar_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "jar_params") -@pulumi.input_type -class JobTaskNewClusterAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - ebs_volume_count: Optional[pulumi.Input[int]] = None, - ebs_volume_iops: Optional[pulumi.Input[int]] = None, - ebs_volume_size: Optional[pulumi.Input[int]] = None, - ebs_volume_throughput: Optional[pulumi.Input[int]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @jar_params.setter + def jar_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "jar_params", value) @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (Map) Job parameters for the task + """ + return pulumi.get(self, "job_parameters") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @job_parameters.setter + def job_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "job_parameters", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_count") + @pulumi.getter(name="notebookParams") + def notebook_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "notebook_params") - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_count", value) + @notebook_params.setter + def notebook_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "notebook_params", value) @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_iops") + @pulumi.getter(name="pipelineParams") + def pipeline_params(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs']]: + return pulumi.get(self, "pipeline_params") - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_iops", value) + @pipeline_params.setter + def pipeline_params(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs']]): + pulumi.set(self, "pipeline_params", value) @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter(name="pythonNamedParams") + def python_named_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "python_named_params") - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_size", value) + @python_named_params.setter + def python_named_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "python_named_params", value) @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_throughput") + @pulumi.getter(name="pythonParams") + def python_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "python_params") - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_throughput", value) + @python_params.setter + def python_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "python_params", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="sparkSubmitParams") + def spark_submit_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "spark_submit_params") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) + @spark_submit_params.setter + def spark_submit_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "spark_submit_params", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="sqlParams") + def sql_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "sql_params") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @sql_params.setter + def sql_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "sql_params", value) - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_profile_arn") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) +if not MYPY: + class JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgsDict(TypedDict): + full_refresh: NotRequired[pulumi.Input[bool]] + """ + (Bool) Specifies if there should be full refresh of the pipeline. - @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "spot_bid_price_percent") + > The following configuration blocks are only supported inside a `task` block + """ +elif False: + JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgsDict: TypeAlias = Mapping[str, Any] - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) +@pulumi.input_type +class JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs: + def __init__(__self__, *, + full_refresh: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block + """ + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[pulumi.Input[bool]]: + """ + (Bool) Specifies if there should be full refresh of the pipeline. - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + > The following configuration blocks are only supported inside a `task` block + """ + return pulumi.get(self, "full_refresh") + + @full_refresh.setter + def full_refresh(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "full_refresh", value) if not MYPY: - class JobTaskNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - log_analytics_info: NotRequired[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] - spot_bid_max_price: NotRequired[pulumi.Input[float]] + class JobTaskForEachTaskTaskSparkJarTaskArgsDict(TypedDict): + jar_uri: NotRequired[pulumi.Input[str]] + main_class_name: NotRequired[pulumi.Input[str]] + """ + The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Parameters passed to the main method. + """ elif False: - JobTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterAzureAttributesArgs: +class JobTaskForEachTaskTaskSparkJarTaskArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - log_analytics_info: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) - - @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + jar_uri: Optional[pulumi.Input[str]] = None, + main_class_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] main_class_name: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Parameters passed to the main method. + """ + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar_uri") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @jar_uri.setter + def jar_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar_uri", value) @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]: - return pulumi.get(self, "log_analytics_info") + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[pulumi.Input[str]]: + """ + The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + """ + return pulumi.get(self, "main_class_name") - @log_analytics_info.setter - def log_analytics_info(self, value: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]): - pulumi.set(self, "log_analytics_info", value) + @main_class_name.setter + def main_class_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "main_class_name", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Parameters passed to the main method. + """ + return pulumi.get(self, "parameters") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[pulumi.Input[str]] - log_analytics_workspace_id: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskTaskSparkPythonTaskArgsDict(TypedDict): + python_file: pulumi.Input[str] + """ + The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Command line parameters passed to the Python file. + """ + source: NotRequired[pulumi.Input[str]] + """ + Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. + """ elif False: - JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs: +class JobTaskForEachTaskTaskSparkPythonTaskArgs: def __init__(__self__, *, - log_analytics_primary_key: Optional[pulumi.Input[str]] = None, - log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + python_file: pulumi.Input[str], + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] python_file: The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command line parameters passed to the Python file. + :param pulumi.Input[str] source: Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. + """ + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_primary_key") + @pulumi.getter(name="pythonFile") + def python_file(self) -> pulumi.Input[str]: + """ + The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + """ + return pulumi.get(self, "python_file") - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_primary_key", value) + @python_file.setter + def python_file(self, value: pulumi.Input[str]): + pulumi.set(self, "python_file", value) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Command line parameters passed to the Python file. + """ + return pulumi.get(self, "parameters") - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_workspace_id", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. + """ + return pulumi.get(self, "source") -if not MYPY: - class JobTaskNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgsDict']] - s3: NotRequired[pulumi.Input['JobTaskNewClusterClusterLogConfS3ArgsDict']] -elif False: - JobTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class JobTaskNewClusterClusterLogConfArgs: - def __init__(__self__, *, - dbfs: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']] = None, - s3: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - - @property - @pulumi.getter - def dbfs(self) -> Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']]: - return pulumi.get(self, "dbfs") - - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']]): - pulumi.set(self, "dbfs", value) - - @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']]: - return pulumi.get(self, "s3") - - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']]): - pulumi.set(self, "s3", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) if not MYPY: - class JobTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskSparkSubmitTaskArgsDict(TypedDict): + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Command-line parameters passed to spark submit. + """ elif False: - JobTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterClusterLogConfDbfsArgs: +class JobTaskForEachTaskTaskSparkSubmitTaskArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command-line parameters passed to spark submit. + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Command-line parameters passed to spark submit. + """ + return pulumi.get(self, "parameters") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class JobTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskTaskSqlTaskArgsDict(TypedDict): + warehouse_id: pulumi.Input[str] + """ + ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + """ + alert: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgsDict']] + """ + block consisting of following fields: + """ + dashboard: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgsDict']] + """ + block consisting of following fields: + """ + file: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgsDict']] + """ + block consisting of single string fields: + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + """ + query: NotRequired[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgsDict']] + """ + block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). + """ elif False: - JobTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterClusterLogConfS3Args: +class JobTaskForEachTaskTaskSqlTaskArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + warehouse_id: pulumi.Input[str], + alert: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs']] = None, + dashboard: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs']] = None, + file: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs']] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + query: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs']] = None): + """ + :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs'] alert: block consisting of following fields: + :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs'] dashboard: block consisting of following fields: + :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs'] file: block consisting of single string fields: + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + :param pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs'] query: block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). + """ + pulumi.set(__self__, "warehouse_id", warehouse_id) + if alert is not None: + pulumi.set(__self__, "alert", alert) + if dashboard is not None: + pulumi.set(__self__, "dashboard", dashboard) + if file is not None: + pulumi.set(__self__, "file", file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if query is not None: + pulumi.set(__self__, "query", query) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> pulumi.Input[str]: + """ + ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + """ + return pulumi.get(self, "warehouse_id") - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @warehouse_id.setter + def warehouse_id(self, value: pulumi.Input[str]): + pulumi.set(self, "warehouse_id", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def alert(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs']]: + """ + block consisting of following fields: + """ + return pulumi.get(self, "alert") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @alert.setter + def alert(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertArgs']]): + pulumi.set(self, "alert", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter + def dashboard(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs']]: + """ + block consisting of following fields: + """ + return pulumi.get(self, "dashboard") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @dashboard.setter + def dashboard(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardArgs']]): + pulumi.set(self, "dashboard", value) @property @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + def file(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs']]: + """ + block consisting of single string fields: + """ + return pulumi.get(self, "file") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @file.setter + def file(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskFileArgs']]): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + """ + return pulumi.get(self, "parameters") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) @property @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + def query(self) -> Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs']]: + """ + block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). + """ + return pulumi.get(self, "query") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @query.setter + def query(self, value: Optional[pulumi.Input['JobTaskForEachTaskTaskSqlTaskQueryArgs']]): + pulumi.set(self, "query", value) if not MYPY: - class JobTaskNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: pulumi.Input[str] - network_filesystem_info: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] - remote_mount_dir_path: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskTaskSqlTaskAlertArgsDict(TypedDict): + alert_id: pulumi.Input[str] + """ + (String) identifier of the Databricks Alert (databricks_alert). + """ + pause_subscriptions: NotRequired[pulumi.Input[bool]] + """ + flag that specifies if subscriptions are paused or not. + """ + subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict']]]] + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ elif False: - JobTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterClusterMountInfoArgs: +class JobTaskForEachTaskTaskSqlTaskAlertArgs: def __init__(__self__, *, - local_mount_dir_path: pulumi.Input[str], - network_filesystem_info: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], - remote_mount_dir_path: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + alert_id: pulumi.Input[str], + pause_subscriptions: Optional[pulumi.Input[bool]] = None, + subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]]] = None): + """ + :param pulumi.Input[str] alert_id: (String) identifier of the Databricks Alert (databricks_alert). + :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + pulumi.set(__self__, "alert_id", alert_id) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> pulumi.Input[str]: - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter(name="alertId") + def alert_id(self) -> pulumi.Input[str]: + """ + (String) identifier of the Databricks Alert (databricks_alert). + """ + return pulumi.get(self, "alert_id") - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: pulumi.Input[str]): - pulumi.set(self, "local_mount_dir_path", value) + @alert_id.setter + def alert_id(self, value: pulumi.Input[str]): + pulumi.set(self, "alert_id", value) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: + """ + flag that specifies if subscriptions are paused or not. + """ + return pulumi.get(self, "pause_subscriptions") - @network_filesystem_info.setter - def network_filesystem_info(self, value: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): - pulumi.set(self, "network_filesystem_info", value) + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "pause_subscriptions", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]]]: + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + return pulumi.get(self, "subscriptions") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "remote_mount_dir_path", value) + @subscriptions.setter + def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]]]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: pulumi.Input[str] - mount_options: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[pulumi.Input[str]] + user_name: NotRequired[pulumi.Input[str]] + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ elif False: - JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs: def __init__(__self__, *, - server_address: pulumi.Input[str], - mount_options: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + destination_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> pulumi.Input[str]: - return pulumi.get(self, "server_address") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_id") - @server_address.setter - def server_address(self, value: pulumi.Input[str]): - pulumi.set(self, "server_address", value) + @destination_id.setter + def destination_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "mount_options") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + return pulumi.get(self, "user_name") - @mount_options.setter - def mount_options(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mount_options", value) + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) if not MYPY: - class JobTaskNewClusterDockerImageArgsDict(TypedDict): - url: pulumi.Input[str] + class JobTaskForEachTaskTaskSqlTaskDashboardArgsDict(TypedDict): + dashboard_id: pulumi.Input[str] """ - URL of the job on the given workspace + (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + """ + custom_subject: NotRequired[pulumi.Input[str]] + """ + string specifying a custom subject of email sent. + """ + pause_subscriptions: NotRequired[pulumi.Input[bool]] + """ + flag that specifies if subscriptions are paused or not. + """ + subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict']]]] + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. """ - basic_auth: NotRequired[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgsDict']] elif False: - JobTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterDockerImageArgs: +class JobTaskForEachTaskTaskSqlTaskDashboardArgs: def __init__(__self__, *, - url: pulumi.Input[str], - basic_auth: Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']] = None): + dashboard_id: pulumi.Input[str], + custom_subject: Optional[pulumi.Input[str]] = None, + pause_subscriptions: Optional[pulumi.Input[bool]] = None, + subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]]] = None): """ - :param pulumi.Input[str] url: URL of the job on the given workspace + :param pulumi.Input[str] dashboard_id: (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + :param pulumi.Input[str] custom_subject: string specifying a custom subject of email sent. + :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. """ - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + pulumi.set(__self__, "dashboard_id", dashboard_id) + if custom_subject is not None: + pulumi.set(__self__, "custom_subject", custom_subject) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter - def url(self) -> pulumi.Input[str]: + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> pulumi.Input[str]: """ - URL of the job on the given workspace + (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. """ - return pulumi.get(self, "url") + return pulumi.get(self, "dashboard_id") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @dashboard_id.setter + def dashboard_id(self, value: pulumi.Input[str]): + pulumi.set(self, "dashboard_id", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']]: - return pulumi.get(self, "basic_auth") - - @basic_auth.setter - def basic_auth(self, value: Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']]): - pulumi.set(self, "basic_auth", value) - - -if not MYPY: - class JobTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: pulumi.Input[str] - username: pulumi.Input[str] -elif False: - JobTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="customSubject") + def custom_subject(self) -> Optional[pulumi.Input[str]]: + """ + string specifying a custom subject of email sent. + """ + return pulumi.get(self, "custom_subject") -@pulumi.input_type -class JobTaskNewClusterDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: pulumi.Input[str], - username: pulumi.Input[str]): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @custom_subject.setter + def custom_subject(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_subject", value) @property - @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: + """ + flag that specifies if subscriptions are paused or not. + """ + return pulumi.get(self, "pause_subscriptions") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "pause_subscriptions", value) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") + def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]]]: + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + return pulumi.get(self, "subscriptions") - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) + @subscriptions.setter + def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]]]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class JobTaskNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - boot_disk_size: NotRequired[pulumi.Input[int]] - google_service_account: NotRequired[pulumi.Input[str]] - local_ssd_count: NotRequired[pulumi.Input[int]] - use_preemptible_executors: NotRequired[pulumi.Input[bool]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - JobTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] - + class JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[pulumi.Input[str]] + user_name: NotRequired[pulumi.Input[str]] + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ +elif False: + JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type -class JobTaskNewClusterGcpAttributesArgs: +class JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - boot_disk_size: Optional[pulumi.Input[int]] = None, - google_service_account: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - use_preemptible_executors: Optional[pulumi.Input[bool]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + destination_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_id") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @destination_id.setter + def destination_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + return pulumi.get(self, "user_name") - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "boot_disk_size", value) + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "google_service_account") - @google_service_account.setter - def google_service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "google_service_account", value) +if not MYPY: + class JobTaskForEachTaskTaskSqlTaskFileArgsDict(TypedDict): + path: pulumi.Input[str] + """ + If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + + Example + + ```python + import pulumi + import pulumi_databricks as databricks + + sql_aggregation_job = databricks.Job("sql_aggregation_job", + name="Example SQL Job", + tasks=[ + { + "task_key": "run_agg_query", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "query": { + "query_id": agg_query["id"], + }, + }, + }, + { + "task_key": "run_dashboard", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "dashboard": { + "dashboard_id": dash["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + { + "task_key": "run_alert", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "alert": { + "alert_id": alert["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + ]) + ``` + """ + source: NotRequired[pulumi.Input[str]] + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. + """ +elif False: + JobTaskForEachTaskTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskSqlTaskFileArgs: + def __init__(__self__, *, + path: pulumi.Input[str], + source: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] path: If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + + Example + + ```python + import pulumi + import pulumi_databricks as databricks + + sql_aggregation_job = databricks.Job("sql_aggregation_job", + name="Example SQL Job", + tasks=[ + { + "task_key": "run_agg_query", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "query": { + "query_id": agg_query["id"], + }, + }, + }, + { + "task_key": "run_dashboard", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "dashboard": { + "dashboard_id": dash["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + { + "task_key": "run_alert", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "alert": { + "alert_id": alert["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + ]) + ``` + :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. + """ + pulumi.set(__self__, "path", path) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter + def path(self) -> pulumi.Input[str]: + """ + If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) + Example + + ```python + import pulumi + import pulumi_databricks as databricks + + sql_aggregation_job = databricks.Job("sql_aggregation_job", + name="Example SQL Job", + tasks=[ + { + "task_key": "run_agg_query", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "query": { + "query_id": agg_query["id"], + }, + }, + }, + { + "task_key": "run_dashboard", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "dashboard": { + "dashboard_id": dash["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + { + "task_key": "run_alert", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "alert": { + "alert_id": alert["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + ]) + ``` + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: pulumi.Input[str]): + pulumi.set(self, "path", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. + """ + return pulumi.get(self, "source") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_preemptible_executors", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) + + +if not MYPY: + class JobTaskForEachTaskTaskSqlTaskQueryArgsDict(TypedDict): + query_id: pulumi.Input[str] +elif False: + JobTaskForEachTaskTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskForEachTaskTaskSqlTaskQueryArgs: + def __init__(__self__, *, + query_id: pulumi.Input[str]): + pulumi.set(__self__, "query_id", query_id) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="queryId") + def query_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "query_id") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @query_id.setter + def query_id(self, value: pulumi.Input[str]): + pulumi.set(self, "query_id", value) if not MYPY: - class JobTaskNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgsDict']] - dbfs: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgsDict']] - file: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptFileArgsDict']] + class JobTaskForEachTaskTaskWebhookNotificationsArgsDict(TypedDict): + on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']]]] """ - block consisting of single string fields: + (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + + Example + """ + on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict']]]] + """ + (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + """ + on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict']]]] + """ + (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + """ + on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']]]] + on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict']]]] + """ + (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. """ - gcs: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptGcsArgsDict']] - s3: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptS3ArgsDict']] - volumes: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgsDict']] - workspace: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgsDict']] elif False: - JobTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptArgs: +class JobTaskForEachTaskTaskWebhookNotificationsArgs: def __init__(__self__, *, - abfss: Optional[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgs']] = None, - dbfs: Optional[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgs']] = None, - file: Optional[pulumi.Input['JobTaskNewClusterInitScriptFileArgs']] = None, - gcs: Optional[pulumi.Input['JobTaskNewClusterInitScriptGcsArgs']] = None, - s3: Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']] = None, - volumes: Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']] = None, - workspace: Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']] = None): + on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]] = None, + on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]]] = None, + on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]]] = None, + on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]] = None, + on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]]] = None): """ - :param pulumi.Input['JobTaskNewClusterInitScriptFileArgs'] file: block consisting of single string fields: + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]] on_duration_warning_threshold_exceededs: (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + + Example + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]] on_failures: (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]] on_starts: (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]] on_successes: (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. """ - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def abfss(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgs']]: - return pulumi.get(self, "abfss") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]: + """ + (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - @abfss.setter - def abfss(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgs']]): - pulumi.set(self, "abfss", value) + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - @property - @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgs']]: - return pulumi.get(self, "dbfs") + Example + """ + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgs']]): - pulumi.set(self, "dbfs", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptFileArgs']]: + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]]]: """ - block consisting of single string fields: + (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. """ - return pulumi.get(self, "file") - - @file.setter - def file(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptFileArgs']]): - pulumi.set(self, "file", value) - - @property - @pulumi.getter - def gcs(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptGcsArgs']]: - return pulumi.get(self, "gcs") + return pulumi.get(self, "on_failures") - @gcs.setter - def gcs(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptGcsArgs']]): - pulumi.set(self, "gcs", value) + @on_failures.setter + def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]]]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']]: - return pulumi.get(self, "s3") + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]]]: + """ + (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + """ + return pulumi.get(self, "on_starts") - @s3.setter - def s3(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']]): - pulumi.set(self, "s3", value) + @on_starts.setter + def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter - def volumes(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']]: - return pulumi.get(self, "volumes") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @volumes.setter - def volumes(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']]): - pulumi.set(self, "volumes", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter - def workspace(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']]: - return pulumi.get(self, "workspace") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]]]: + """ + (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + """ + return pulumi.get(self, "on_successes") - @workspace.setter - def workspace(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']]): - pulumi.set(self, "workspace", value) + @on_successes.setter + def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class JobTaskNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): + id: pulumi.Input[str] + """ + ID of the job + """ elif False: - JobTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptAbfssArgs: +class JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: ID of the job + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def id(self) -> pulumi.Input[str]: + """ + ID of the job + """ + return pulumi.get(self, "id") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class JobTaskNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict(TypedDict): + id: pulumi.Input[str] + """ + ID of the job + """ elif False: - JobTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptDbfsArgs: +class JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: ID of the job + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + def id(self) -> pulumi.Input[str]: + """ + ID of the job + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class JobTaskNewClusterInitScriptFileArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict(TypedDict): + id: pulumi.Input[str] + """ + ID of the job + """ elif False: - JobTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptFileArgs: +class JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: ID of the job + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def id(self) -> pulumi.Input[str]: + """ + ID of the job + """ + return pulumi.get(self, "id") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class JobTaskNewClusterInitScriptGcsArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): + id: pulumi.Input[str] + """ + ID of the job + """ elif False: - JobTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptGcsArgs: +class JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: ID of the job + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def id(self) -> pulumi.Input[str]: + """ + ID of the job + """ + return pulumi.get(self, "id") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class JobTaskNewClusterInitScriptS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] + class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): + id: pulumi.Input[str] + """ + ID of the job + """ elif False: - JobTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptS3Args: +class JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + id: pulumi.Input[str]): + """ + :param pulumi.Input[str] id: ID of the job + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") - - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) - - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") - - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) - - @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") - - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + def id(self) -> pulumi.Input[str]: + """ + ID of the job + """ + return pulumi.get(self, "id") - @property - @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) - @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") +if not MYPY: + class JobTaskHealthArgsDict(TypedDict): + rules: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgsDict']]] + """ + list of rules that are represented as objects with the following attributes: + """ +elif False: + JobTaskHealthArgsDict: TypeAlias = Mapping[str, Any] - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) +@pulumi.input_type +class JobTaskHealthArgs: + def __init__(__self__, *, + rules: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]]): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]] rules: list of rules that are represented as objects with the following attributes: + """ + pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + def rules(self) -> pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]]: + """ + list of rules that are represented as objects with the following attributes: + """ + return pulumi.get(self, "rules") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @rules.setter + def rules(self, value: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]]): + pulumi.set(self, "rules", value) if not MYPY: - class JobTaskNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: pulumi.Input[str] + class JobTaskHealthRuleArgsDict(TypedDict): + metric: pulumi.Input[str] + """ + string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + """ + op: pulumi.Input[str] + """ + string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + """ + value: pulumi.Input[int] + """ + integer value used to compare to the given metric. + """ elif False: - JobTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + JobTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterInitScriptVolumesArgs: +class JobTaskHealthRuleArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + metric: pulumi.Input[str], + op: pulumi.Input[str], + value: pulumi.Input[int]): + """ + :param pulumi.Input[str] metric: string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + :param pulumi.Input[str] op: string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + :param pulumi.Input[int] value: integer value used to compare to the given metric. + """ + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + def metric(self) -> pulumi.Input[str]: + """ + string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information). + """ + return pulumi.get(self, "metric") + @metric.setter + def metric(self, value: pulumi.Input[str]): + pulumi.set(self, "metric", value) -if not MYPY: - class JobTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - JobTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter + def op(self) -> pulumi.Input[str]: + """ + string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`. + """ + return pulumi.get(self, "op") -@pulumi.input_type -class JobTaskNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def value(self) -> pulumi.Input[int]: + """ + integer value used to compare to the given metric. + """ + return pulumi.get(self, "value") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @value.setter + def value(self, value: pulumi.Input[int]): + pulumi.set(self, "value", value) if not MYPY: - class JobTaskNewClusterLibraryArgsDict(TypedDict): - cran: NotRequired[pulumi.Input['JobTaskNewClusterLibraryCranArgsDict']] + class JobTaskLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobTaskLibraryCranArgsDict']] egg: NotRequired[pulumi.Input[str]] jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['JobTaskNewClusterLibraryMavenArgsDict']] - pypi: NotRequired[pulumi.Input['JobTaskNewClusterLibraryPypiArgsDict']] + maven: NotRequired[pulumi.Input['JobTaskLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobTaskLibraryPypiArgsDict']] requirements: NotRequired[pulumi.Input[str]] whl: NotRequired[pulumi.Input[str]] elif False: - JobTaskNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] + JobTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterLibraryArgs: +class JobTaskLibraryArgs: def __init__(__self__, *, - cran: Optional[pulumi.Input['JobTaskNewClusterLibraryCranArgs']] = None, + cran: Optional[pulumi.Input['JobTaskLibraryCranArgs']] = None, egg: Optional[pulumi.Input[str]] = None, jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['JobTaskNewClusterLibraryMavenArgs']] = None, - pypi: Optional[pulumi.Input['JobTaskNewClusterLibraryPypiArgs']] = None, + maven: Optional[pulumi.Input['JobTaskLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobTaskLibraryPypiArgs']] = None, requirements: Optional[pulumi.Input[str]] = None, whl: Optional[pulumi.Input[str]] = None): if cran is not None: @@ -18146,11 +18024,11 @@ def __init__(__self__, *, @property @pulumi.getter - def cran(self) -> Optional[pulumi.Input['JobTaskNewClusterLibraryCranArgs']]: + def cran(self) -> Optional[pulumi.Input['JobTaskLibraryCranArgs']]: return pulumi.get(self, "cran") @cran.setter - def cran(self, value: Optional[pulumi.Input['JobTaskNewClusterLibraryCranArgs']]): + def cran(self, value: Optional[pulumi.Input['JobTaskLibraryCranArgs']]): pulumi.set(self, "cran", value) @property @@ -18173,20 +18051,20 @@ def jar(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def maven(self) -> Optional[pulumi.Input['JobTaskNewClusterLibraryMavenArgs']]: + def maven(self) -> Optional[pulumi.Input['JobTaskLibraryMavenArgs']]: return pulumi.get(self, "maven") @maven.setter - def maven(self, value: Optional[pulumi.Input['JobTaskNewClusterLibraryMavenArgs']]): + def maven(self, value: Optional[pulumi.Input['JobTaskLibraryMavenArgs']]): pulumi.set(self, "maven", value) @property @pulumi.getter - def pypi(self) -> Optional[pulumi.Input['JobTaskNewClusterLibraryPypiArgs']]: + def pypi(self) -> Optional[pulumi.Input['JobTaskLibraryPypiArgs']]: return pulumi.get(self, "pypi") @pypi.setter - def pypi(self, value: Optional[pulumi.Input['JobTaskNewClusterLibraryPypiArgs']]): + def pypi(self, value: Optional[pulumi.Input['JobTaskLibraryPypiArgs']]): pulumi.set(self, "pypi", value) @property @@ -18209,14 +18087,14 @@ def whl(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskNewClusterLibraryCranArgsDict(TypedDict): + class JobTaskLibraryCranArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + JobTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterLibraryCranArgs: +class JobTaskLibraryCranArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -18244,15 +18122,15 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskNewClusterLibraryMavenArgsDict(TypedDict): + class JobTaskLibraryMavenArgsDict(TypedDict): coordinates: pulumi.Input[str] exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterLibraryMavenArgs: +class JobTaskLibraryMavenArgs: def __init__(__self__, *, coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -18292,14 +18170,14 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskNewClusterLibraryPypiArgsDict(TypedDict): + class JobTaskLibraryPypiArgsDict(TypedDict): package: pulumi.Input[str] repo: NotRequired[pulumi.Input[str]] elif False: - JobTaskNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterLibraryPypiArgs: +class JobTaskLibraryPypiArgs: def __init__(__self__, *, package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None): @@ -18327,12926 +18205,12153 @@ def repo(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class JobTaskNewClusterWorkloadTypeArgsDict(TypedDict): - clients: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgsDict'] + class JobTaskNewClusterArgsDict(TypedDict): + spark_version: pulumi.Input[str] + apply_policy_default_values: NotRequired[pulumi.Input[bool]] + autoscale: NotRequired[pulumi.Input['JobTaskNewClusterAutoscaleArgsDict']] + aws_attributes: NotRequired[pulumi.Input['JobTaskNewClusterAwsAttributesArgsDict']] + azure_attributes: NotRequired[pulumi.Input['JobTaskNewClusterAzureAttributesArgsDict']] + cluster_id: NotRequired[pulumi.Input[str]] + cluster_log_conf: NotRequired[pulumi.Input['JobTaskNewClusterClusterLogConfArgsDict']] + cluster_mount_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgsDict']]]] + cluster_name: NotRequired[pulumi.Input[str]] + custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + data_security_mode: NotRequired[pulumi.Input[str]] + docker_image: NotRequired[pulumi.Input['JobTaskNewClusterDockerImageArgsDict']] + driver_instance_pool_id: NotRequired[pulumi.Input[str]] + driver_node_type_id: NotRequired[pulumi.Input[str]] + enable_elastic_disk: NotRequired[pulumi.Input[bool]] + enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] + gcp_attributes: NotRequired[pulumi.Input['JobTaskNewClusterGcpAttributesArgsDict']] + idempotency_token: NotRequired[pulumi.Input[str]] + init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgsDict']]]] + instance_pool_id: NotRequired[pulumi.Input[str]] + is_single_node: NotRequired[pulumi.Input[bool]] + kind: NotRequired[pulumi.Input[str]] + libraries: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgsDict']]]] + """ + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + """ + node_type_id: NotRequired[pulumi.Input[str]] + num_workers: NotRequired[pulumi.Input[int]] + policy_id: NotRequired[pulumi.Input[str]] + runtime_engine: NotRequired[pulumi.Input[str]] + single_user_name: NotRequired[pulumi.Input[str]] + spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + use_ml_runtime: NotRequired[pulumi.Input[bool]] + workload_type: NotRequired[pulumi.Input['JobTaskNewClusterWorkloadTypeArgsDict']] + """ + isn't supported + """ elif False: - JobTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskNewClusterWorkloadTypeArgs: +class JobTaskNewClusterArgs: def __init__(__self__, *, - clients: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs']): - pulumi.set(__self__, "clients", clients) + spark_version: pulumi.Input[str], + apply_policy_default_values: Optional[pulumi.Input[bool]] = None, + autoscale: Optional[pulumi.Input['JobTaskNewClusterAutoscaleArgs']] = None, + aws_attributes: Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']] = None, + azure_attributes: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + cluster_log_conf: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']] = None, + cluster_mount_infos: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + data_security_mode: Optional[pulumi.Input[str]] = None, + docker_image: Optional[pulumi.Input['JobTaskNewClusterDockerImageArgs']] = None, + driver_instance_pool_id: Optional[pulumi.Input[str]] = None, + driver_node_type_id: Optional[pulumi.Input[str]] = None, + enable_elastic_disk: Optional[pulumi.Input[bool]] = None, + enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, + gcp_attributes: Optional[pulumi.Input['JobTaskNewClusterGcpAttributesArgs']] = None, + idempotency_token: Optional[pulumi.Input[str]] = None, + init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgs']]]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, + libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]] = None, + node_type_id: Optional[pulumi.Input[str]] = None, + num_workers: Optional[pulumi.Input[int]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + runtime_engine: Optional[pulumi.Input[str]] = None, + single_user_name: Optional[pulumi.Input[str]] = None, + spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, + workload_type: Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. + :param pulumi.Input['JobTaskNewClusterWorkloadTypeArgs'] workload_type: isn't supported + """ + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def clients(self) -> pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs']: - return pulumi.get(self, "clients") - - @clients.setter - def clients(self, value: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs']): - pulumi.set(self, "clients", value) + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> pulumi.Input[str]: + return pulumi.get(self, "spark_version") + @spark_version.setter + def spark_version(self, value: pulumi.Input[str]): + pulumi.set(self, "spark_version", value) -if not MYPY: - class JobTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[pulumi.Input[bool]] - notebooks: NotRequired[pulumi.Input[bool]] -elif False: - JobTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "apply_policy_default_values") -@pulumi.input_type -class JobTaskNewClusterWorkloadTypeClientsArgs: - def __init__(__self__, *, - jobs: Optional[pulumi.Input[bool]] = None, - notebooks: Optional[pulumi.Input[bool]] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "apply_policy_default_values", value) @property @pulumi.getter - def jobs(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "jobs") + def autoscale(self) -> Optional[pulumi.Input['JobTaskNewClusterAutoscaleArgs']]: + return pulumi.get(self, "autoscale") - @jobs.setter - def jobs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "jobs", value) + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input['JobTaskNewClusterAutoscaleArgs']]): + pulumi.set(self, "autoscale", value) @property - @pulumi.getter - def notebooks(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "notebooks") - - @notebooks.setter - def notebooks(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "notebooks", value) - - -if not MYPY: - class JobTaskNotebookTaskArgsDict(TypedDict): - notebook_path: pulumi.Input[str] - """ - The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - """ - base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - """ - source: NotRequired[pulumi.Input[str]] - """ - Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - """ - warehouse_id: NotRequired[pulumi.Input[str]] - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ -elif False: - JobTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']]: + return pulumi.get(self, "aws_attributes") -@pulumi.input_type -class JobTaskNotebookTaskArgs: - def __init__(__self__, *, - notebook_path: pulumi.Input[str], - base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - source: Optional[pulumi.Input[str]] = None, - warehouse_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] notebook_path: The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] base_parameters: (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - :param pulumi.Input[str] source: Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + @aws_attributes.setter + def aws_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterAwsAttributesArgs']]): + pulumi.set(self, "aws_attributes", value) @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> pulumi.Input[str]: - """ - The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. - """ - return pulumi.get(self, "notebook_path") + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']]: + return pulumi.get(self, "azure_attributes") - @notebook_path.setter - def notebook_path(self, value: pulumi.Input[str]): - pulumi.set(self, "notebook_path", value) + @azure_attributes.setter + def azure_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesArgs']]): + pulumi.set(self, "azure_attributes", value) @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. - """ - return pulumi.get(self, "base_parameters") + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_id") - @base_parameters.setter - def base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "base_parameters", value) + @cluster_id.setter + def cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_id", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']]: + return pulumi.get(self, "cluster_log_conf") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfArgs']]): + pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[pulumi.Input[str]]: - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. - """ - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]]: + return pulumi.get(self, "cluster_mount_infos") - @warehouse_id.setter - def warehouse_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "warehouse_id", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterClusterMountInfoArgs']]]]): + pulumi.set(self, "cluster_mount_infos", value) + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cluster_name") -if not MYPY: - class JobTaskNotificationSettingsArgsDict(TypedDict): - alert_on_last_attempt: NotRequired[pulumi.Input[bool]] - """ - (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. - """ - no_alert_for_canceled_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for cancelled runs. + @cluster_name.setter + def cluster_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_name", value) - The following parameter is only available on task level. - """ - no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] - """ - (Bool) don't send alert for skipped runs. - """ -elif False: - JobTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_tags") -@pulumi.input_type -class JobTaskNotificationSettingsArgs: - def __init__(__self__, *, - alert_on_last_attempt: Optional[pulumi.Input[bool]] = None, - no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, - no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[bool] alert_on_last_attempt: (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. - :param pulumi.Input[bool] no_alert_for_canceled_runs: (Bool) don't send alert for cancelled runs. - - The following parameter is only available on task level. - :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. - """ - if alert_on_last_attempt is not None: - pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + @custom_tags.setter + def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_tags", value) @property - @pulumi.getter(name="alertOnLastAttempt") - def alert_on_last_attempt(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. - """ - return pulumi.get(self, "alert_on_last_attempt") + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "data_security_mode") - @alert_on_last_attempt.setter - def alert_on_last_attempt(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "alert_on_last_attempt", value) + @data_security_mode.setter + def data_security_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_security_mode", value) @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for cancelled runs. - - The following parameter is only available on task level. - """ - return pulumi.get(self, "no_alert_for_canceled_runs") + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional[pulumi.Input['JobTaskNewClusterDockerImageArgs']]: + return pulumi.get(self, "docker_image") - @no_alert_for_canceled_runs.setter - def no_alert_for_canceled_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_canceled_runs", value) + @docker_image.setter + def docker_image(self, value: Optional[pulumi.Input['JobTaskNewClusterDockerImageArgs']]): + pulumi.set(self, "docker_image", value) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) don't send alert for skipped runs. - """ - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_instance_pool_id") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_instance_pool_id", value) + @property + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_node_type_id") -if not MYPY: - class JobTaskPipelineTaskArgsDict(TypedDict): - pipeline_id: pulumi.Input[str] - """ - The pipeline's unique ID. - """ - full_refresh: NotRequired[pulumi.Input[bool]] - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @driver_node_type_id.setter + def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_node_type_id", value) - > The following configuration blocks are only supported inside a `task` block - """ -elif False: - JobTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_elastic_disk") -@pulumi.input_type -class JobTaskPipelineTaskArgs: - def __init__(__self__, *, - pipeline_id: pulumi.Input[str], - full_refresh: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] pipeline_id: The pipeline's unique ID. - :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_elastic_disk", value) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> pulumi.Input[str]: - """ - The pipeline's unique ID. - """ - return pulumi.get(self, "pipeline_id") + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_local_disk_encryption") - @pipeline_id.setter - def pipeline_id(self, value: pulumi.Input[str]): - pulumi.set(self, "pipeline_id", value) + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_local_disk_encryption", value) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional[pulumi.Input['JobTaskNewClusterGcpAttributesArgs']]: + return pulumi.get(self, "gcp_attributes") - > The following configuration blocks are only supported inside a `task` block - """ - return pulumi.get(self, "full_refresh") + @gcp_attributes.setter + def gcp_attributes(self, value: Optional[pulumi.Input['JobTaskNewClusterGcpAttributesArgs']]): + pulumi.set(self, "gcp_attributes", value) - @full_refresh.setter - def full_refresh(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "full_refresh", value) + @property + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "idempotency_token") + @idempotency_token.setter + def idempotency_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "idempotency_token", value) -if not MYPY: - class JobTaskPythonWheelTaskArgsDict(TypedDict): - entry_point: NotRequired[pulumi.Input[str]] - """ - Python function as entry point for the task - """ - named_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - Named parameters for the task - """ - package_name: NotRequired[pulumi.Input[str]] - """ - Name of Python package - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - Parameters for the task - """ -elif False: - JobTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgs']]]]: + return pulumi.get(self, "init_scripts") -@pulumi.input_type -class JobTaskPythonWheelTaskArgs: - def __init__(__self__, *, - entry_point: Optional[pulumi.Input[str]] = None, - named_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - package_name: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] entry_point: Python function as entry point for the task - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] named_parameters: Named parameters for the task - :param pulumi.Input[str] package_name: Name of Python package - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: Parameters for the task - """ - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @init_scripts.setter + def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterInitScriptArgs']]]]): + pulumi.set(self, "init_scripts", value) @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[pulumi.Input[str]]: - """ - Python function as entry point for the task - """ - return pulumi.get(self, "entry_point") + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_pool_id") - @entry_point.setter - def entry_point(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "entry_point", value) + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_pool_id", value) @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Named parameters for the task - """ - return pulumi.get(self, "named_parameters") + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_single_node") - @named_parameters.setter - def named_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "named_parameters", value) + @is_single_node.setter + def is_single_node(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_single_node", value) @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[pulumi.Input[str]]: - """ - Name of Python package - """ - return pulumi.get(self, "package_name") + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kind") - @package_name.setter - def package_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_name", value) + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) @property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]]: """ - Parameters for the task + (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. """ - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + return pulumi.get(self, "libraries") + @libraries.setter + def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskNewClusterLibraryArgs']]]]): + pulumi.set(self, "libraries", value) -if not MYPY: - class JobTaskRunJobTaskArgsDict(TypedDict): - job_id: pulumi.Input[int] - """ - (String) ID of the job - """ - dbt_commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - jar_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - job_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) Job parameters for the task - """ - notebook_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - pipeline_params: NotRequired[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgsDict']] - python_named_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - python_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - spark_submit_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - sql_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] -elif False: - JobTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "node_type_id") -@pulumi.input_type -class JobTaskRunJobTaskArgs: - def __init__(__self__, *, - job_id: pulumi.Input[int], - dbt_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - jar_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - job_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - notebook_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - pipeline_params: Optional[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgs']] = None, - python_named_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - python_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - spark_submit_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - sql_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[int] job_id: (String) ID of the job - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] job_parameters: (Map) Job parameters for the task - """ - pulumi.set(__self__, "job_id", job_id) - if dbt_commands is not None: - pulumi.set(__self__, "dbt_commands", dbt_commands) - if jar_params is not None: - pulumi.set(__self__, "jar_params", jar_params) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) - if notebook_params is not None: - pulumi.set(__self__, "notebook_params", notebook_params) - if pipeline_params is not None: - pulumi.set(__self__, "pipeline_params", pipeline_params) - if python_named_params is not None: - pulumi.set(__self__, "python_named_params", python_named_params) - if python_params is not None: - pulumi.set(__self__, "python_params", python_params) - if spark_submit_params is not None: - pulumi.set(__self__, "spark_submit_params", spark_submit_params) - if sql_params is not None: - pulumi.set(__self__, "sql_params", sql_params) + @node_type_id.setter + def node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter(name="jobId") - def job_id(self) -> pulumi.Input[int]: - """ - (String) ID of the job - """ - return pulumi.get(self, "job_id") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "num_workers") - @job_id.setter - def job_id(self, value: pulumi.Input[int]): - pulumi.set(self, "job_id", value) + @num_workers.setter + def num_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_workers", value) @property - @pulumi.getter(name="dbtCommands") - def dbt_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "dbt_commands") + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "policy_id") - @dbt_commands.setter - def dbt_commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "dbt_commands", value) + @policy_id.setter + def policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy_id", value) @property - @pulumi.getter(name="jarParams") - def jar_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "jar_params") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "runtime_engine") - @jar_params.setter - def jar_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "jar_params", value) + @runtime_engine.setter + def runtime_engine(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "runtime_engine", value) @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) Job parameters for the task - """ - return pulumi.get(self, "job_parameters") + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "single_user_name") - @job_parameters.setter - def job_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "job_parameters", value) + @single_user_name.setter + def single_user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "single_user_name", value) @property - @pulumi.getter(name="notebookParams") - def notebook_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "notebook_params") - - @notebook_params.setter - def notebook_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "notebook_params", value) - - @property - @pulumi.getter(name="pipelineParams") - def pipeline_params(self) -> Optional[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgs']]: - return pulumi.get(self, "pipeline_params") + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_conf") - @pipeline_params.setter - def pipeline_params(self, value: Optional[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgs']]): - pulumi.set(self, "pipeline_params", value) + @spark_conf.setter + def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_conf", value) @property - @pulumi.getter(name="pythonNamedParams") - def python_named_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "python_named_params") + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_env_vars") - @python_named_params.setter - def python_named_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "python_named_params", value) + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter(name="pythonParams") - def python_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "python_params") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "ssh_public_keys") - @python_params.setter - def python_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "python_params", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ssh_public_keys", value) @property - @pulumi.getter(name="sparkSubmitParams") - def spark_submit_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "spark_submit_params") + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_ml_runtime") - @spark_submit_params.setter - def spark_submit_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "spark_submit_params", value) + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_ml_runtime", value) @property - @pulumi.getter(name="sqlParams") - def sql_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "sql_params") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']]: + """ + isn't supported + """ + return pulumi.get(self, "workload_type") - @sql_params.setter - def sql_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "sql_params", value) + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']]): + pulumi.set(self, "workload_type", value) if not MYPY: - class JobTaskRunJobTaskPipelineParamsArgsDict(TypedDict): - full_refresh: NotRequired[pulumi.Input[bool]] - """ - (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ + class JobTaskNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[pulumi.Input[int]] + min_workers: NotRequired[pulumi.Input[int]] elif False: - JobTaskRunJobTaskPipelineParamsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskRunJobTaskPipelineParamsArgs: +class JobTaskNewClusterAutoscaleArgs: def __init__(__self__, *, - full_refresh: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. - - > The following configuration blocks are only supported inside a `task` block - """ - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + max_workers: Optional[pulumi.Input[int]] = None, + min_workers: Optional[pulumi.Input[int]] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[pulumi.Input[bool]]: - """ - (Bool) Specifies if there should be full refresh of the pipeline. + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_workers") - > The following configuration blocks are only supported inside a `task` block - """ - return pulumi.get(self, "full_refresh") + @max_workers.setter + def max_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_workers", value) - @full_refresh.setter - def full_refresh(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "full_refresh", value) + @property + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min_workers") + + @min_workers.setter + def min_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_workers", value) if not MYPY: - class JobTaskSparkJarTaskArgsDict(TypedDict): - jar_uri: NotRequired[pulumi.Input[str]] - main_class_name: NotRequired[pulumi.Input[str]] - """ - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Parameters passed to the main method. - """ + class JobTaskNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + ebs_volume_count: NotRequired[pulumi.Input[int]] + ebs_volume_iops: NotRequired[pulumi.Input[int]] + ebs_volume_size: NotRequired[pulumi.Input[int]] + ebs_volume_throughput: NotRequired[pulumi.Input[int]] + ebs_volume_type: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + instance_profile_arn: NotRequired[pulumi.Input[str]] + spot_bid_price_percent: NotRequired[pulumi.Input[int]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - JobTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSparkJarTaskArgs: +class JobTaskNewClusterAwsAttributesArgs: def __init__(__self__, *, - jar_uri: Optional[pulumi.Input[str]] = None, - main_class_name: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] main_class_name: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Parameters passed to the main method. - """ - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + availability: Optional[pulumi.Input[str]] = None, + ebs_volume_count: Optional[pulumi.Input[int]] = None, + ebs_volume_iops: Optional[pulumi.Input[int]] = None, + ebs_volume_size: Optional[pulumi.Input[int]] = None, + ebs_volume_throughput: Optional[pulumi.Input[int]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar_uri") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @jar_uri.setter - def jar_uri(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar_uri", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[pulumi.Input[str]]: - """ - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. - """ - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_count") - @main_class_name.setter - def main_class_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "main_class_name", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_count", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Parameters passed to the main method. - """ - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_iops") + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_iops", value) -if not MYPY: - class JobTaskSparkPythonTaskArgsDict(TypedDict): - python_file: pulumi.Input[str] - """ - The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - """ - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Command line parameters passed to the Python file. - """ - source: NotRequired[pulumi.Input[str]] - """ - Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ -elif False: - JobTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_size") -@pulumi.input_type -class JobTaskSparkPythonTaskArgs: - def __init__(__self__, *, - python_file: pulumi.Input[str], - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] python_file: The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command line parameters passed to the Python file. - :param pulumi.Input[str] source: Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_size", value) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> pulumi.Input[str]: - """ - The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. - """ - return pulumi.get(self, "python_file") + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_throughput") - @python_file.setter - def python_file(self, value: pulumi.Input[str]): - pulumi.set(self, "python_file", value) + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_throughput", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Command line parameters passed to the Python file. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ebs_volume_type") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_profile_arn") -if not MYPY: - class JobTaskSparkSubmitTaskArgsDict(TypedDict): - parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - (List) Command-line parameters passed to spark submit. - """ -elif False: - JobTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) -@pulumi.input_type -class JobTaskSparkSubmitTaskArgs: - def __init__(__self__, *, - parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command-line parameters passed to spark submit. - """ - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (List) Command-line parameters passed to spark submit. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobTaskSqlTaskArgsDict(TypedDict): - warehouse_id: pulumi.Input[str] - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - """ - alert: NotRequired[pulumi.Input['JobTaskSqlTaskAlertArgsDict']] - """ - block consisting of following fields: - """ - dashboard: NotRequired[pulumi.Input['JobTaskSqlTaskDashboardArgsDict']] - """ - block consisting of following fields: - """ - file: NotRequired[pulumi.Input['JobTaskSqlTaskFileArgsDict']] - """ - block consisting of single string fields: - """ - parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - """ - query: NotRequired[pulumi.Input['JobTaskSqlTaskQueryArgsDict']] - """ - block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). - """ + class JobTaskNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + log_analytics_info: NotRequired[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict']] + spot_bid_max_price: NotRequired[pulumi.Input[float]] elif False: - JobTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskArgs: +class JobTaskNewClusterAzureAttributesArgs: def __init__(__self__, *, - warehouse_id: pulumi.Input[str], - alert: Optional[pulumi.Input['JobTaskSqlTaskAlertArgs']] = None, - dashboard: Optional[pulumi.Input['JobTaskSqlTaskDashboardArgs']] = None, - file: Optional[pulumi.Input['JobTaskSqlTaskFileArgs']] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - query: Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']] = None): - """ - :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - :param pulumi.Input['JobTaskSqlTaskAlertArgs'] alert: block consisting of following fields: - :param pulumi.Input['JobTaskSqlTaskDashboardArgs'] dashboard: block consisting of following fields: - :param pulumi.Input['JobTaskSqlTaskFileArgs'] file: block consisting of single string fields: - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - :param pulumi.Input['JobTaskSqlTaskQueryArgs'] query: block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). - """ - pulumi.set(__self__, "warehouse_id", warehouse_id) - if alert is not None: - pulumi.set(__self__, "alert", alert) - if dashboard is not None: - pulumi.set(__self__, "dashboard", dashboard) - if file is not None: - pulumi.set(__self__, "file", file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if query is not None: - pulumi.set(__self__, "query", query) - - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> pulumi.Input[str]: - """ - ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. - """ - return pulumi.get(self, "warehouse_id") - - @warehouse_id.setter - def warehouse_id(self, value: pulumi.Input[str]): - pulumi.set(self, "warehouse_id", value) - - @property - @pulumi.getter - def alert(self) -> Optional[pulumi.Input['JobTaskSqlTaskAlertArgs']]: - """ - block consisting of following fields: - """ - return pulumi.get(self, "alert") - - @alert.setter - def alert(self, value: Optional[pulumi.Input['JobTaskSqlTaskAlertArgs']]): - pulumi.set(self, "alert", value) + availability: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + log_analytics_info: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def dashboard(self) -> Optional[pulumi.Input['JobTaskSqlTaskDashboardArgs']]: - """ - block consisting of following fields: - """ - return pulumi.get(self, "dashboard") + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @dashboard.setter - def dashboard(self, value: Optional[pulumi.Input['JobTaskSqlTaskDashboardArgs']]): - pulumi.set(self, "dashboard", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['JobTaskSqlTaskFileArgs']]: - """ - block consisting of single string fields: - """ - return pulumi.get(self, "file") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @file.setter - def file(self, value: Optional[pulumi.Input['JobTaskSqlTaskFileArgs']]): - pulumi.set(self, "file", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. - """ - return pulumi.get(self, "parameters") + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]: + return pulumi.get(self, "log_analytics_info") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @log_analytics_info.setter + def log_analytics_info(self, value: Optional[pulumi.Input['JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs']]): + pulumi.set(self, "log_analytics_info", value) @property - @pulumi.getter - def query(self) -> Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']]: - """ - block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). - """ - return pulumi.get(self, "query") + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "spot_bid_max_price") - @query.setter - def query(self, value: Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']]): - pulumi.set(self, "query", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class JobTaskSqlTaskAlertArgsDict(TypedDict): - alert_id: pulumi.Input[str] - """ - (String) identifier of the Databricks Alert (databricks_alert). - """ - pause_subscriptions: NotRequired[pulumi.Input[bool]] - """ - flag that specifies if subscriptions are paused or not. - """ - subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgsDict']]]] - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ + class JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[pulumi.Input[str]] + log_analytics_workspace_id: NotRequired[pulumi.Input[str]] elif False: - JobTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskAlertArgs: +class JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs: def __init__(__self__, *, - alert_id: pulumi.Input[str], - pause_subscriptions: Optional[pulumi.Input[bool]] = None, - subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]]] = None): - """ - :param pulumi.Input[str] alert_id: (String) identifier of the Databricks Alert (databricks_alert). - :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - pulumi.set(__self__, "alert_id", alert_id) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) + log_analytics_primary_key: Optional[pulumi.Input[str]] = None, + log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) @property - @pulumi.getter(name="alertId") - def alert_id(self) -> pulumi.Input[str]: - """ - (String) identifier of the Databricks Alert (databricks_alert). - """ - return pulumi.get(self, "alert_id") + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_primary_key") - @alert_id.setter - def alert_id(self, value: pulumi.Input[str]): - pulumi.set(self, "alert_id", value) + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_primary_key", value) @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: - """ - flag that specifies if subscriptions are paused or not. - """ - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_workspace_id") - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "pause_subscriptions", value) + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_id", value) + + +if not MYPY: + class JobTaskNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgsDict']] + s3: NotRequired[pulumi.Input['JobTaskNewClusterClusterLogConfS3ArgsDict']] +elif False: + JobTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskNewClusterClusterLogConfArgs: + def __init__(__self__, *, + dbfs: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']] = None, + s3: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]]]: - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - return pulumi.get(self, "subscriptions") + def dbfs(self) -> Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']]: + return pulumi.get(self, "dbfs") - @subscriptions.setter - def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]]]): - pulumi.set(self, "subscriptions", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']]): + pulumi.set(self, "dbfs", value) + + @property + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']]: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']]): + pulumi.set(self, "s3", value) if not MYPY: - class JobTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[pulumi.Input[str]] - user_name: NotRequired[pulumi.Input[str]] - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ + class JobTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskAlertSubscriptionArgs: +class JobTaskNewClusterClusterLogConfDbfsArgs: def __init__(__self__, *, - destination_id: Optional[pulumi.Input[str]] = None, - user_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) - - @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_id") - - @destination_id.setter - def destination_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_id", value) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[pulumi.Input[str]]: - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - return pulumi.get(self, "user_name") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @user_name.setter - def user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_name", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskSqlTaskDashboardArgsDict(TypedDict): - dashboard_id: pulumi.Input[str] - """ - (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - """ - custom_subject: NotRequired[pulumi.Input[str]] - """ - string specifying a custom subject of email sent. - """ - pause_subscriptions: NotRequired[pulumi.Input[bool]] - """ - flag that specifies if subscriptions are paused or not. - """ - subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgsDict']]]] - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ + class JobTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - JobTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskDashboardArgs: +class JobTaskNewClusterClusterLogConfS3Args: def __init__(__self__, *, - dashboard_id: pulumi.Input[str], - custom_subject: Optional[pulumi.Input[str]] = None, - pause_subscriptions: Optional[pulumi.Input[bool]] = None, - subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]] = None): - """ - :param pulumi.Input[str] dashboard_id: (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - :param pulumi.Input[str] custom_subject: string specifying a custom subject of email sent. - :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - pulumi.set(__self__, "dashboard_id", dashboard_id) - if custom_subject is not None: - pulumi.set(__self__, "custom_subject", custom_subject) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="dashboardId") - def dashboard_id(self) -> pulumi.Input[str]: - """ - (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. - """ - return pulumi.get(self, "dashboard_id") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @dashboard_id.setter - def dashboard_id(self, value: pulumi.Input[str]): - pulumi.set(self, "dashboard_id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="customSubject") - def custom_subject(self) -> Optional[pulumi.Input[str]]: - """ - string specifying a custom subject of email sent. - """ - return pulumi.get(self, "custom_subject") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") - @custom_subject.setter - def custom_subject(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_subject", value) + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: - """ - flag that specifies if subscriptions are paused or not. - """ - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "pause_subscriptions", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]]: - """ - a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. - """ - return pulumi.get(self, "subscriptions") + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @subscriptions.setter - def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]]): - pulumi.set(self, "subscriptions", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class JobTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[pulumi.Input[str]] - user_name: NotRequired[pulumi.Input[str]] - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ + class JobTaskNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: pulumi.Input[str] + network_filesystem_info: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict'] + remote_mount_dir_path: NotRequired[pulumi.Input[str]] elif False: - JobTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskDashboardSubscriptionArgs: +class JobTaskNewClusterClusterMountInfoArgs: def __init__(__self__, *, - destination_id: Optional[pulumi.Input[str]] = None, - user_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + local_mount_dir_path: pulumi.Input[str], + network_filesystem_info: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], + remote_mount_dir_path: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_id") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> pulumi.Input[str]: + return pulumi.get(self, "local_mount_dir_path") - @destination_id.setter - def destination_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_id", value) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: pulumi.Input[str]): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[pulumi.Input[str]]: - """ - The email of an active workspace user. Non-admin users can only set this field to their own email. - """ - return pulumi.get(self, "user_name") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']: + return pulumi.get(self, "network_filesystem_info") - @user_name.setter - def user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_name", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs']): + pulumi.set(self, "network_filesystem_info", value) + + @property + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "remote_mount_dir_path") + + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "remote_mount_dir_path", value) if not MYPY: - class JobTaskSqlTaskFileArgsDict(TypedDict): - path: pulumi.Input[str] - """ - If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + class JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: pulumi.Input[str] + mount_options: NotRequired[pulumi.Input[str]] +elif False: + JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] - Example +@pulumi.input_type +class JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: pulumi.Input[str], + mount_options: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) - ```python - import pulumi - import pulumi_databricks as databricks + @property + @pulumi.getter(name="serverAddress") + def server_address(self) -> pulumi.Input[str]: + return pulumi.get(self, "server_address") - sql_aggregation_job = databricks.Job("sql_aggregation_job", - name="Example SQL Job", - tasks=[ - { - "task_key": "run_agg_query", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "query": { - "query_id": agg_query["id"], - }, - }, - }, - { - "task_key": "run_dashboard", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "dashboard": { - "dashboard_id": dash["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - { - "task_key": "run_alert", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "alert": { - "alert_id": alert["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - ]) - ``` - """ - source: NotRequired[pulumi.Input[str]] + @server_address.setter + def server_address(self, value: pulumi.Input[str]): + pulumi.set(self, "server_address", value) + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mount_options") + + @mount_options.setter + def mount_options(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mount_options", value) + + +if not MYPY: + class JobTaskNewClusterDockerImageArgsDict(TypedDict): + url: pulumi.Input[str] """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. + URL of the job on the given workspace """ + basic_auth: NotRequired[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgsDict']] elif False: - JobTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskFileArgs: +class JobTaskNewClusterDockerImageArgs: def __init__(__self__, *, - path: pulumi.Input[str], - source: Optional[pulumi.Input[str]] = None): + url: pulumi.Input[str], + basic_auth: Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']] = None): """ - :param pulumi.Input[str] path: If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - - Example - - ```python - import pulumi - import pulumi_databricks as databricks - - sql_aggregation_job = databricks.Job("sql_aggregation_job", - name="Example SQL Job", - tasks=[ - { - "task_key": "run_agg_query", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "query": { - "query_id": agg_query["id"], - }, - }, - }, - { - "task_key": "run_dashboard", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "dashboard": { - "dashboard_id": dash["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - { - "task_key": "run_alert", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "alert": { - "alert_id": alert["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - ]) - ``` - :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. + :param pulumi.Input[str] url: URL of the job on the given workspace """ - pulumi.set(__self__, "path", path) - if source is not None: - pulumi.set(__self__, "source", source) + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def path(self) -> pulumi.Input[str]: + def url(self) -> pulumi.Input[str]: """ - If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - - Example - - ```python - import pulumi - import pulumi_databricks as databricks - - sql_aggregation_job = databricks.Job("sql_aggregation_job", - name="Example SQL Job", - tasks=[ - { - "task_key": "run_agg_query", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "query": { - "query_id": agg_query["id"], - }, - }, - }, - { - "task_key": "run_dashboard", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "dashboard": { - "dashboard_id": dash["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - { - "task_key": "run_alert", - "sql_task": { - "warehouse_id": sql_job_warehouse["id"], - "alert": { - "alert_id": alert["id"], - "subscriptions": [{ - "user_name": "user@domain.com", - }], - }, - }, - }, - ]) - ``` + URL of the job on the given workspace """ - return pulumi.get(self, "path") + return pulumi.get(self, "url") - @path.setter - def path(self, value: pulumi.Input[str]): - pulumi.set(self, "path", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter - def source(self) -> Optional[pulumi.Input[str]]: - """ - The source of the project. Possible values are `WORKSPACE` and `GIT`. - """ - return pulumi.get(self, "source") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']]: + return pulumi.get(self, "basic_auth") - @source.setter - def source(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source", value) + @basic_auth.setter + def basic_auth(self, value: Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']]): + pulumi.set(self, "basic_auth", value) if not MYPY: - class JobTaskSqlTaskQueryArgsDict(TypedDict): - query_id: pulumi.Input[str] + class JobTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: pulumi.Input[str] + username: pulumi.Input[str] elif False: - JobTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskSqlTaskQueryArgs: +class JobTaskNewClusterDockerImageBasicAuthArgs: def __init__(__self__, *, - query_id: pulumi.Input[str]): - pulumi.set(__self__, "query_id", query_id) + password: pulumi.Input[str], + username: pulumi.Input[str]): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="queryId") - def query_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "query_id") + @pulumi.getter + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @query_id.setter - def query_id(self, value: pulumi.Input[str]): - pulumi.set(self, "query_id", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) + @property + @pulumi.getter + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") -if not MYPY: - class JobTaskWebhookNotificationsArgsDict(TypedDict): - on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']]]] - """ - (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - Example - """ - on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgsDict']]]] - """ - (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - """ - on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgsDict']]]] - """ - (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - """ - on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']]]] - on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgsDict']]]] - """ - (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ +if not MYPY: + class JobTaskNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + boot_disk_size: NotRequired[pulumi.Input[int]] + google_service_account: NotRequired[pulumi.Input[str]] + local_ssd_count: NotRequired[pulumi.Input[int]] + use_preemptible_executors: NotRequired[pulumi.Input[bool]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - JobTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskWebhookNotificationsArgs: +class JobTaskNewClusterGcpAttributesArgs: def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]] = None, - on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]]] = None, - on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]]] = None, - on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]] = None, - on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]] on_duration_warning_threshold_exceededs: (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - - Example - :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]] on_failures: (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]] on_starts: (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]] on_successes: (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + availability: Optional[pulumi.Input[str]] = None, + boot_disk_size: Optional[pulumi.Input[int]] = None, + google_service_account: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + use_preemptible_executors: Optional[pulumi.Input[bool]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]: - """ - (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) - Example - """ - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + @property + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "boot_disk_size") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]]]: - """ - (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_failures") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "google_service_account") - @on_failures.setter - def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]]]): - pulumi.set(self, "on_failures", value) + @google_service_account.setter + def google_service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]]]: - """ - (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_starts") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "local_ssd_count") - @on_starts.setter - def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]]]): - pulumi.set(self, "on_starts", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_preemptible_executors") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]]]: - """ - (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_successes") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") - @on_successes.setter - def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]]]): - pulumi.set(self, "on_successes", value) + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): - id: pulumi.Input[str] + class JobTaskNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgsDict']] + dbfs: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgsDict']] + file: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptFileArgsDict']] """ - ID of the job + block consisting of single string fields: """ + gcs: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptGcsArgsDict']] + s3: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptS3ArgsDict']] + volumes: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgsDict']] + workspace: NotRequired[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgsDict']] elif False: - JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: +class JobTaskNewClusterInitScriptArgs: def __init__(__self__, *, - id: pulumi.Input[str]): + abfss: Optional[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgs']] = None, + dbfs: Optional[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgs']] = None, + file: Optional[pulumi.Input['JobTaskNewClusterInitScriptFileArgs']] = None, + gcs: Optional[pulumi.Input['JobTaskNewClusterInitScriptGcsArgs']] = None, + s3: Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']] = None, + volumes: Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']] = None, + workspace: Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']] = None): """ - :param pulumi.Input[str] id: ID of the job + :param pulumi.Input['JobTaskNewClusterInitScriptFileArgs'] file: block consisting of single string fields: """ - pulumi.set(__self__, "id", id) + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def abfss(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgs']]: + return pulumi.get(self, "abfss") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @abfss.setter + def abfss(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptAbfssArgs']]): + pulumi.set(self, "abfss", value) + @property + @pulumi.getter + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgs']]: + return pulumi.get(self, "dbfs") -if not MYPY: - class JobTaskWebhookNotificationsOnFailureArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ -elif False: - JobTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptDbfsArgs']]): + pulumi.set(self, "dbfs", value) -@pulumi.input_type -class JobTaskWebhookNotificationsOnFailureArgs: - def __init__(__self__, *, - id: pulumi.Input[str]): + @property + @pulumi.getter + def file(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptFileArgs']]: """ - :param pulumi.Input[str] id: ID of the job + block consisting of single string fields: """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "file") + + @file.setter + def file(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptFileArgs']]): + pulumi.set(self, "file", value) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def gcs(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptGcsArgs']]: + return pulumi.get(self, "gcs") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @gcs.setter + def gcs(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptGcsArgs']]): + pulumi.set(self, "gcs", value) + + @property + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']]: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']]): + pulumi.set(self, "s3", value) + + @property + @pulumi.getter + def volumes(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']]: + return pulumi.get(self, "volumes") + + @volumes.setter + def volumes(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']]): + pulumi.set(self, "volumes", value) + + @property + @pulumi.getter + def workspace(self) -> Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']]: + return pulumi.get(self, "workspace") + + @workspace.setter + def workspace(self, value: Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']]): + pulumi.set(self, "workspace", value) if not MYPY: - class JobTaskWebhookNotificationsOnStartArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ + class JobTaskNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskWebhookNotificationsOnStartArgs: +class JobTaskNewClusterInitScriptAbfssArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ + class JobTaskNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs: +class JobTaskNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job - """ + class JobTaskNewClusterInitScriptFileArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTaskWebhookNotificationsOnSuccessArgs: +class JobTaskNewClusterInitScriptFileArgs: def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job - """ - pulumi.set(__self__, "id", id) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def id(self) -> pulumi.Input[str]: - """ - ID of the job - """ - return pulumi.get(self, "id") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTriggerArgsDict(TypedDict): - file_arrival: NotRequired[pulumi.Input['JobTriggerFileArrivalArgsDict']] - """ - configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: - """ - pause_status: NotRequired[pulumi.Input[str]] - """ - Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ - periodic: NotRequired[pulumi.Input['JobTriggerPeriodicArgsDict']] - """ - configuration block to define a trigger for Periodic Triggers consisting of the following attributes: - """ - table: NotRequired[pulumi.Input['JobTriggerTableArgsDict']] - table_update: NotRequired[pulumi.Input['JobTriggerTableUpdateArgsDict']] + class JobTaskNewClusterInitScriptGcsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTriggerArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTriggerArgs: +class JobTaskNewClusterInitScriptGcsArgs: def __init__(__self__, *, - file_arrival: Optional[pulumi.Input['JobTriggerFileArrivalArgs']] = None, - pause_status: Optional[pulumi.Input[str]] = None, - periodic: Optional[pulumi.Input['JobTriggerPeriodicArgs']] = None, - table: Optional[pulumi.Input['JobTriggerTableArgs']] = None, - table_update: Optional[pulumi.Input['JobTriggerTableUpdateArgs']] = None): - """ - :param pulumi.Input['JobTriggerFileArrivalArgs'] file_arrival: configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: - :param pulumi.Input[str] pause_status: Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. - :param pulumi.Input['JobTriggerPeriodicArgs'] periodic: configuration block to define a trigger for Periodic Triggers consisting of the following attributes: - """ - if file_arrival is not None: - pulumi.set(__self__, "file_arrival", file_arrival) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) - if periodic is not None: - pulumi.set(__self__, "periodic", periodic) - if table is not None: - pulumi.set(__self__, "table", table) - if table_update is not None: - pulumi.set(__self__, "table_update", table_update) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="fileArrival") - def file_arrival(self) -> Optional[pulumi.Input['JobTriggerFileArrivalArgs']]: - """ - configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: - """ - return pulumi.get(self, "file_arrival") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @file_arrival.setter - def file_arrival(self, value: Optional[pulumi.Input['JobTriggerFileArrivalArgs']]): - pulumi.set(self, "file_arrival", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[pulumi.Input[str]]: - """ - Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. - """ - return pulumi.get(self, "pause_status") - @pause_status.setter - def pause_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pause_status", value) +if not MYPY: + class JobTaskNewClusterInitScriptS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] +elif False: + JobTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskNewClusterInitScriptS3Args: + def __init__(__self__, *, + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def periodic(self) -> Optional[pulumi.Input['JobTriggerPeriodicArgs']]: - """ - configuration block to define a trigger for Periodic Triggers consisting of the following attributes: - """ - return pulumi.get(self, "periodic") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @periodic.setter - def periodic(self, value: Optional[pulumi.Input['JobTriggerPeriodicArgs']]): - pulumi.set(self, "periodic", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter - def table(self) -> Optional[pulumi.Input['JobTriggerTableArgs']]: - return pulumi.get(self, "table") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") - @table.setter - def table(self, value: Optional[pulumi.Input['JobTriggerTableArgs']]): - pulumi.set(self, "table", value) + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter(name="tableUpdate") - def table_update(self) -> Optional[pulumi.Input['JobTriggerTableUpdateArgs']]: - return pulumi.get(self, "table_update") - - @table_update.setter - def table_update(self, value: Optional[pulumi.Input['JobTriggerTableUpdateArgs']]): - pulumi.set(self, "table_update", value) + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) -if not MYPY: - class JobTriggerFileArrivalArgsDict(TypedDict): - url: pulumi.Input[str] - """ - URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). - """ - min_time_between_triggers_seconds: NotRequired[pulumi.Input[int]] - """ - If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - """ - wait_after_last_change_seconds: NotRequired[pulumi.Input[int]] - """ - If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ -elif False: - JobTriggerFileArrivalArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") -@pulumi.input_type -class JobTriggerFileArrivalArgs: - def __init__(__self__, *, - url: pulumi.Input[str], - min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, - wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] url: URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). - :param pulumi.Input[int] min_time_between_triggers_seconds: If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - :param pulumi.Input[int] wait_after_last_change_seconds: If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ - pulumi.set(__self__, "url", url) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: - """ - URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). - """ - return pulumi.get(self, "url") + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[pulumi.Input[int]]: - """ - If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - """ - return pulumi.get(self, "min_time_between_triggers_seconds") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") - @min_time_between_triggers_seconds.setter - def min_time_between_triggers_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_time_between_triggers_seconds", value) + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[pulumi.Input[int]]: - """ - If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ - return pulumi.get(self, "wait_after_last_change_seconds") + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @wait_after_last_change_seconds.setter - def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "wait_after_last_change_seconds", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class JobTriggerPeriodicArgsDict(TypedDict): - interval: pulumi.Input[int] - """ - Specifies the interval at which the job should run. This value is required. - """ - unit: pulumi.Input[str] - """ - Options are {"DAYS", "HOURS", "WEEKS"}. - """ + class JobTaskNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - JobTriggerPeriodicArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTriggerPeriodicArgs: +class JobTaskNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - interval: pulumi.Input[int], - unit: pulumi.Input[str]): - """ - :param pulumi.Input[int] interval: Specifies the interval at which the job should run. This value is required. - :param pulumi.Input[str] unit: Options are {"DAYS", "HOURS", "WEEKS"}. - """ - pulumi.set(__self__, "interval", interval) - pulumi.set(__self__, "unit", unit) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def interval(self) -> pulumi.Input[int]: - """ - Specifies the interval at which the job should run. This value is required. - """ - return pulumi.get(self, "interval") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @interval.setter - def interval(self, value: pulumi.Input[int]): - pulumi.set(self, "interval", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) + + +if not MYPY: + class JobTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + JobTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskNewClusterInitScriptWorkspaceArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def unit(self) -> pulumi.Input[str]: - """ - Options are {"DAYS", "HOURS", "WEEKS"}. - """ - return pulumi.get(self, "unit") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @unit.setter - def unit(self, value: pulumi.Input[str]): - pulumi.set(self, "unit", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class JobTriggerTableArgsDict(TypedDict): - condition: NotRequired[pulumi.Input[str]] - min_time_between_triggers_seconds: NotRequired[pulumi.Input[int]] - """ - If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - """ - table_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - wait_after_last_change_seconds: NotRequired[pulumi.Input[int]] - """ - If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ + class JobTaskNewClusterLibraryArgsDict(TypedDict): + cran: NotRequired[pulumi.Input['JobTaskNewClusterLibraryCranArgsDict']] + egg: NotRequired[pulumi.Input[str]] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['JobTaskNewClusterLibraryMavenArgsDict']] + pypi: NotRequired[pulumi.Input['JobTaskNewClusterLibraryPypiArgsDict']] + requirements: NotRequired[pulumi.Input[str]] + whl: NotRequired[pulumi.Input[str]] elif False: - JobTriggerTableArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTriggerTableArgs: +class JobTaskNewClusterLibraryArgs: def __init__(__self__, *, - condition: Optional[pulumi.Input[str]] = None, - min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, - table_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] min_time_between_triggers_seconds: If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - :param pulumi.Input[int] wait_after_last_change_seconds: If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ - if condition is not None: - pulumi.set(__self__, "condition", condition) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if table_names is not None: - pulumi.set(__self__, "table_names", table_names) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + cran: Optional[pulumi.Input['JobTaskNewClusterLibraryCranArgs']] = None, + egg: Optional[pulumi.Input[str]] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['JobTaskNewClusterLibraryMavenArgs']] = None, + pypi: Optional[pulumi.Input['JobTaskNewClusterLibraryPypiArgs']] = None, + requirements: Optional[pulumi.Input[str]] = None, + whl: Optional[pulumi.Input[str]] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def condition(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "condition") + def cran(self) -> Optional[pulumi.Input['JobTaskNewClusterLibraryCranArgs']]: + return pulumi.get(self, "cran") - @condition.setter - def condition(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "condition", value) + @cran.setter + def cran(self, value: Optional[pulumi.Input['JobTaskNewClusterLibraryCranArgs']]): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[pulumi.Input[int]]: - """ - If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - """ - return pulumi.get(self, "min_time_between_triggers_seconds") + @pulumi.getter + def egg(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "egg") - @min_time_between_triggers_seconds.setter - def min_time_between_triggers_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_time_between_triggers_seconds", value) + @egg.setter + def egg(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "egg", value) @property - @pulumi.getter(name="tableNames") - def table_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "table_names") + @pulumi.getter + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") - @table_names.setter - def table_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "table_names", value) + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[pulumi.Input[int]]: - """ - If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ - return pulumi.get(self, "wait_after_last_change_seconds") + @pulumi.getter + def maven(self) -> Optional[pulumi.Input['JobTaskNewClusterLibraryMavenArgs']]: + return pulumi.get(self, "maven") - @wait_after_last_change_seconds.setter - def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "wait_after_last_change_seconds", value) + @maven.setter + def maven(self, value: Optional[pulumi.Input['JobTaskNewClusterLibraryMavenArgs']]): + pulumi.set(self, "maven", value) + + @property + @pulumi.getter + def pypi(self) -> Optional[pulumi.Input['JobTaskNewClusterLibraryPypiArgs']]: + return pulumi.get(self, "pypi") + + @pypi.setter + def pypi(self, value: Optional[pulumi.Input['JobTaskNewClusterLibraryPypiArgs']]): + pulumi.set(self, "pypi", value) + + @property + @pulumi.getter + def requirements(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "requirements") + + @requirements.setter + def requirements(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requirements", value) + + @property + @pulumi.getter + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") + + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) if not MYPY: - class JobTriggerTableUpdateArgsDict(TypedDict): - table_names: pulumi.Input[Sequence[pulumi.Input[str]]] - condition: NotRequired[pulumi.Input[str]] - min_time_between_triggers_seconds: NotRequired[pulumi.Input[int]] - """ - If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - """ - wait_after_last_change_seconds: NotRequired[pulumi.Input[int]] - """ - If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ + class JobTaskNewClusterLibraryCranArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - JobTriggerTableUpdateArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobTriggerTableUpdateArgs: +class JobTaskNewClusterLibraryCranArgs: def __init__(__self__, *, - table_names: pulumi.Input[Sequence[pulumi.Input[str]]], - condition: Optional[pulumi.Input[str]] = None, - min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, - wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] min_time_between_triggers_seconds: If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - :param pulumi.Input[int] wait_after_last_change_seconds: If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ - pulumi.set(__self__, "table_names", table_names) - if condition is not None: - pulumi.set(__self__, "condition", condition) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="tableNames") - def table_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "table_names") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @table_names.setter - def table_names(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "table_names", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property @pulumi.getter - def condition(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "condition") + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @condition.setter - def condition(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "condition", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[pulumi.Input[int]]: - """ - If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. - """ - return pulumi.get(self, "min_time_between_triggers_seconds") - @min_time_between_triggers_seconds.setter - def min_time_between_triggers_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_time_between_triggers_seconds", value) +if not MYPY: + class JobTaskNewClusterLibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] +elif False: + JobTaskNewClusterLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskNewClusterLibraryMavenArgs: + def __init__(__self__, *, + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[pulumi.Input[int]]: - """ - If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. - """ - return pulumi.get(self, "wait_after_last_change_seconds") + @pulumi.getter + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") - @wait_after_last_change_seconds.setter - def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "wait_after_last_change_seconds", value) + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) + @property + @pulumi.getter + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") -if not MYPY: - class JobWebhookNotificationsArgsDict(TypedDict): - on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']]]] - """ - (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + @property + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - Example - """ - on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgsDict']]]] - """ - (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - """ - on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgsDict']]]] - """ - (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - """ - on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgsDict']]]] - on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgsDict']]]] - """ - (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) + + +if not MYPY: + class JobTaskNewClusterLibraryPypiArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - JobWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNewClusterLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobWebhookNotificationsArgs: +class JobTaskNewClusterLibraryPypiArgs: def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]] = None, - on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]] = None, - on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]] = None, - on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgs']]]] = None, - on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]] on_duration_warning_threshold_exceededs: (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - - Example - :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]] on_failures: (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]] on_starts: (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]] on_successes: (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]: - """ - (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) - Example - """ - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + @property + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]]: - """ - (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_failures") - @on_failures.setter - def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]]): - pulumi.set(self, "on_failures", value) +if not MYPY: + class JobTaskNewClusterWorkloadTypeArgsDict(TypedDict): + clients: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgsDict'] +elif False: + JobTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskNewClusterWorkloadTypeArgs: + def __init__(__self__, *, + clients: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs']): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]]: - """ - (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_starts") + @pulumi.getter + def clients(self) -> pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs']: + return pulumi.get(self, "clients") - @on_starts.setter - def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]]): - pulumi.set(self, "on_starts", value) + @clients.setter + def clients(self, value: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs']): + pulumi.set(self, "clients", value) + + +if not MYPY: + class JobTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[pulumi.Input[bool]] + notebooks: NotRequired[pulumi.Input[bool]] +elif False: + JobTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobTaskNewClusterWorkloadTypeClientsArgs: + def __init__(__self__, *, + jobs: Optional[pulumi.Input[bool]] = None, + notebooks: Optional[pulumi.Input[bool]] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgs']]]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter + def jobs(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "jobs") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgs']]]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @jobs.setter + def jobs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "jobs", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]]: - """ - (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. - """ - return pulumi.get(self, "on_successes") + @pulumi.getter + def notebooks(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "notebooks") - @on_successes.setter - def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]]): - pulumi.set(self, "on_successes", value) + @notebooks.setter + def notebooks(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "notebooks", value) if not MYPY: - class JobWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): - id: pulumi.Input[str] + class JobTaskNotebookTaskArgsDict(TypedDict): + notebook_path: pulumi.Input[str] """ - ID of the job + The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + """ + base_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + """ + source: NotRequired[pulumi.Input[str]] + """ + Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. + """ + warehouse_id: NotRequired[pulumi.Input[str]] + """ + ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. """ elif False: - JobWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobWebhookNotificationsOnDurationWarningThresholdExceededArgs: +class JobTaskNotebookTaskArgs: def __init__(__self__, *, - id: pulumi.Input[str]): + notebook_path: pulumi.Input[str], + base_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None, + warehouse_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] id: ID of the job + :param pulumi.Input[str] notebook_path: The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] base_parameters: (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. + :param pulumi.Input[str] source: Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. + :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter - def id(self) -> pulumi.Input[str]: + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> pulumi.Input[str]: """ - ID of the job + The path of the Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required. """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + return pulumi.get(self, "notebook_path") + @notebook_path.setter + def notebook_path(self, value: pulumi.Input[str]): + pulumi.set(self, "notebook_path", value) -if not MYPY: - class JobWebhookNotificationsOnFailureArgsDict(TypedDict): - id: pulumi.Input[str] + @property + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - ID of the job + (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in base_parameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job’s base_parameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using `dbutils.widgets.get`. """ -elif False: - JobWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "base_parameters") -@pulumi.input_type -class JobWebhookNotificationsOnFailureArgs: - def __init__(__self__, *, - id: pulumi.Input[str]): + @base_parameters.setter + def base_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "base_parameters", value) + + @property + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] id: ID of the job + Location type of the notebook, can only be `WORKSPACE` or `GIT`. When set to `WORKSPACE`, the notebook will be retrieved from the local Databricks workspace. When set to `GIT`, the notebook will be retrieved from a Git repository defined in `git_source`. If the value is empty, the task will use `GIT` if `git_source` is defined and `WORKSPACE` otherwise. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) @property - @pulumi.getter - def id(self) -> pulumi.Input[str]: + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the job + ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook. """ - return pulumi.get(self, "id") + return pulumi.get(self, "warehouse_id") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class JobWebhookNotificationsOnStartArgsDict(TypedDict): - id: pulumi.Input[str] + class JobTaskNotificationSettingsArgsDict(TypedDict): + alert_on_last_attempt: NotRequired[pulumi.Input[bool]] """ - ID of the job + (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. + """ + no_alert_for_canceled_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for cancelled runs. + + The following parameter is only available on task level. + """ + no_alert_for_skipped_runs: NotRequired[pulumi.Input[bool]] + """ + (Bool) don't send alert for skipped runs. """ elif False: - JobWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + JobTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobWebhookNotificationsOnStartArgs: +class JobTaskNotificationSettingsArgs: def __init__(__self__, *, - id: pulumi.Input[str]): + alert_on_last_attempt: Optional[pulumi.Input[bool]] = None, + no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, + no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[str] id: ID of the job + :param pulumi.Input[bool] alert_on_last_attempt: (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. + :param pulumi.Input[bool] no_alert_for_canceled_runs: (Bool) don't send alert for cancelled runs. + + The following parameter is only available on task level. + :param pulumi.Input[bool] no_alert_for_skipped_runs: (Bool) don't send alert for skipped runs. """ - pulumi.set(__self__, "id", id) + if alert_on_last_attempt is not None: + pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) @property - @pulumi.getter - def id(self) -> pulumi.Input[str]: + @pulumi.getter(name="alertOnLastAttempt") + def alert_on_last_attempt(self) -> Optional[pulumi.Input[bool]]: """ - ID of the job + (Bool) do not send notifications to recipients specified in `on_start` for the retried runs and do not send notifications to recipients specified in `on_failure` until the last retry of the run. """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + return pulumi.get(self, "alert_on_last_attempt") + @alert_on_last_attempt.setter + def alert_on_last_attempt(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "alert_on_last_attempt", value) -if not MYPY: - class JobWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): - id: pulumi.Input[str] - """ - ID of the job + @property + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[pulumi.Input[bool]]: """ -elif False: - JobWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + (Bool) don't send alert for cancelled runs. -@pulumi.input_type -class JobWebhookNotificationsOnStreamingBacklogExceededArgs: - def __init__(__self__, *, - id: pulumi.Input[str]): - """ - :param pulumi.Input[str] id: ID of the job + The following parameter is only available on task level. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "no_alert_for_canceled_runs") + + @no_alert_for_canceled_runs.setter + def no_alert_for_canceled_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_canceled_runs", value) @property - @pulumi.getter - def id(self) -> pulumi.Input[str]: + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[pulumi.Input[bool]]: """ - ID of the job + (Bool) don't send alert for skipped runs. """ - return pulumi.get(self, "id") + return pulumi.get(self, "no_alert_for_skipped_runs") - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "no_alert_for_skipped_runs", value) if not MYPY: - class JobWebhookNotificationsOnSuccessArgsDict(TypedDict): - id: pulumi.Input[str] + class JobTaskPipelineTaskArgsDict(TypedDict): + pipeline_id: pulumi.Input[str] """ - ID of the job + The pipeline's unique ID. + """ + full_refresh: NotRequired[pulumi.Input[bool]] + """ + (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block """ elif False: - JobWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + JobTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class JobWebhookNotificationsOnSuccessArgs: +class JobTaskPipelineTaskArgs: def __init__(__self__, *, - id: pulumi.Input[str]): + pipeline_id: pulumi.Input[str], + full_refresh: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[str] id: ID of the job + :param pulumi.Input[str] pipeline_id: The pipeline's unique ID. + :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter - def id(self) -> pulumi.Input[str]: + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> pulumi.Input[str]: """ - ID of the job + The pipeline's unique ID. """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: pulumi.Input[str]): - pulumi.set(self, "id", value) + return pulumi.get(self, "pipeline_id") + @pipeline_id.setter + def pipeline_id(self, value: pulumi.Input[str]): + pulumi.set(self, "pipeline_id", value) -if not MYPY: - class LakehouseMonitorCustomMetricArgsDict(TypedDict): - definition: pulumi.Input[str] + @property + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[pulumi.Input[bool]]: """ - [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block """ - input_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + return pulumi.get(self, "full_refresh") + + @full_refresh.setter + def full_refresh(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "full_refresh", value) + + +if not MYPY: + class JobTaskPythonWheelTaskArgsDict(TypedDict): + entry_point: NotRequired[pulumi.Input[str]] """ - Columns on the monitored table to apply the custom metrics to. + Python function as entry point for the task """ - name: pulumi.Input[str] + named_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] """ - Name of the custom metric. + Named parameters for the task """ - output_data_type: pulumi.Input[str] + package_name: NotRequired[pulumi.Input[str]] """ - The output type of the custom metric. + Name of Python package """ - type: pulumi.Input[str] + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - The type of the custom metric. + Parameters for the task """ elif False: - LakehouseMonitorCustomMetricArgsDict: TypeAlias = Mapping[str, Any] + JobTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorCustomMetricArgs: +class JobTaskPythonWheelTaskArgs: def __init__(__self__, *, - definition: pulumi.Input[str], - input_columns: pulumi.Input[Sequence[pulumi.Input[str]]], - name: pulumi.Input[str], - output_data_type: pulumi.Input[str], - type: pulumi.Input[str]): + entry_point: Optional[pulumi.Input[str]] = None, + named_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + package_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[str] definition: [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - :param pulumi.Input[Sequence[pulumi.Input[str]]] input_columns: Columns on the monitored table to apply the custom metrics to. - :param pulumi.Input[str] name: Name of the custom metric. - :param pulumi.Input[str] output_data_type: The output type of the custom metric. - :param pulumi.Input[str] type: The type of the custom metric. + :param pulumi.Input[str] entry_point: Python function as entry point for the task + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] named_parameters: Named parameters for the task + :param pulumi.Input[str] package_name: Name of Python package + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: Parameters for the task """ - pulumi.set(__self__, "definition", definition) - pulumi.set(__self__, "input_columns", input_columns) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "output_data_type", output_data_type) - pulumi.set(__self__, "type", type) + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def definition(self) -> pulumi.Input[str]: + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[pulumi.Input[str]]: """ - [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + Python function as entry point for the task """ - return pulumi.get(self, "definition") + return pulumi.get(self, "entry_point") - @definition.setter - def definition(self, value: pulumi.Input[str]): - pulumi.set(self, "definition", value) + @entry_point.setter + def entry_point(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entry_point", value) @property - @pulumi.getter(name="inputColumns") - def input_columns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Columns on the monitored table to apply the custom metrics to. + Named parameters for the task """ - return pulumi.get(self, "input_columns") + return pulumi.get(self, "named_parameters") - @input_columns.setter - def input_columns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "input_columns", value) + @named_parameters.setter + def named_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "named_parameters", value) @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[pulumi.Input[str]]: """ - Name of the custom metric. + Name of Python package """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter(name="outputDataType") - def output_data_type(self) -> pulumi.Input[str]: - """ - The output type of the custom metric. - """ - return pulumi.get(self, "output_data_type") + return pulumi.get(self, "package_name") - @output_data_type.setter - def output_data_type(self, value: pulumi.Input[str]): - pulumi.set(self, "output_data_type", value) + @package_name.setter + def package_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "package_name", value) @property @pulumi.getter - def type(self) -> pulumi.Input[str]: + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The type of the custom metric. + Parameters for the task """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - -if not MYPY: - class LakehouseMonitorDataClassificationConfigArgsDict(TypedDict): - enabled: NotRequired[pulumi.Input[bool]] -elif False: - LakehouseMonitorDataClassificationConfigArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class LakehouseMonitorDataClassificationConfigArgs: - def __init__(__self__, *, - enabled: Optional[pulumi.Input[bool]] = None): - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enabled") + return pulumi.get(self, "parameters") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class LakehouseMonitorInferenceLogArgsDict(TypedDict): - granularities: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - List of granularities to use when aggregating data into time windows based on their timestamp. - """ - model_id_col: pulumi.Input[str] - """ - Column of the model id or version - """ - prediction_col: pulumi.Input[str] - """ - Column of the model prediction - """ - problem_type: pulumi.Input[str] - """ - Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - """ - timestamp_col: pulumi.Input[str] - """ - Column of the timestamp of predictions - """ - label_col: NotRequired[pulumi.Input[str]] + class JobTaskRunJobTaskArgsDict(TypedDict): + job_id: pulumi.Input[int] """ - Column of the model label + (String) ID of the job """ - prediction_proba_col: NotRequired[pulumi.Input[str]] + dbt_commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + jar_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + job_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] """ - Column of the model prediction probabilities + (Map) Job parameters for the task """ + notebook_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + pipeline_params: NotRequired[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgsDict']] + python_named_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + python_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + spark_submit_params: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + sql_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] elif False: - LakehouseMonitorInferenceLogArgsDict: TypeAlias = Mapping[str, Any] + JobTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorInferenceLogArgs: +class JobTaskRunJobTaskArgs: def __init__(__self__, *, - granularities: pulumi.Input[Sequence[pulumi.Input[str]]], - model_id_col: pulumi.Input[str], - prediction_col: pulumi.Input[str], - problem_type: pulumi.Input[str], - timestamp_col: pulumi.Input[str], - label_col: Optional[pulumi.Input[str]] = None, - prediction_proba_col: Optional[pulumi.Input[str]] = None): + job_id: pulumi.Input[int], + dbt_commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + jar_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + job_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + notebook_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + pipeline_params: Optional[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgs']] = None, + python_named_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + python_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + spark_submit_params: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sql_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. - :param pulumi.Input[str] model_id_col: Column of the model id or version - :param pulumi.Input[str] prediction_col: Column of the model prediction - :param pulumi.Input[str] problem_type: Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions - :param pulumi.Input[str] label_col: Column of the model label - :param pulumi.Input[str] prediction_proba_col: Column of the model prediction probabilities + :param pulumi.Input[int] job_id: (String) ID of the job + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] job_parameters: (Map) Job parameters for the task """ - pulumi.set(__self__, "granularities", granularities) - pulumi.set(__self__, "model_id_col", model_id_col) - pulumi.set(__self__, "prediction_col", prediction_col) - pulumi.set(__self__, "problem_type", problem_type) - pulumi.set(__self__, "timestamp_col", timestamp_col) - if label_col is not None: - pulumi.set(__self__, "label_col", label_col) - if prediction_proba_col is not None: - pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) + pulumi.set(__self__, "job_id", job_id) + if dbt_commands is not None: + pulumi.set(__self__, "dbt_commands", dbt_commands) + if jar_params is not None: + pulumi.set(__self__, "jar_params", jar_params) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) + if notebook_params is not None: + pulumi.set(__self__, "notebook_params", notebook_params) + if pipeline_params is not None: + pulumi.set(__self__, "pipeline_params", pipeline_params) + if python_named_params is not None: + pulumi.set(__self__, "python_named_params", python_named_params) + if python_params is not None: + pulumi.set(__self__, "python_params", python_params) + if spark_submit_params is not None: + pulumi.set(__self__, "spark_submit_params", spark_submit_params) + if sql_params is not None: + pulumi.set(__self__, "sql_params", sql_params) @property - @pulumi.getter - def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + @pulumi.getter(name="jobId") + def job_id(self) -> pulumi.Input[int]: """ - List of granularities to use when aggregating data into time windows based on their timestamp. + (String) ID of the job """ - return pulumi.get(self, "granularities") + return pulumi.get(self, "job_id") - @granularities.setter - def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "granularities", value) + @job_id.setter + def job_id(self, value: pulumi.Input[int]): + pulumi.set(self, "job_id", value) @property - @pulumi.getter(name="modelIdCol") - def model_id_col(self) -> pulumi.Input[str]: - """ - Column of the model id or version - """ - return pulumi.get(self, "model_id_col") + @pulumi.getter(name="dbtCommands") + def dbt_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "dbt_commands") - @model_id_col.setter - def model_id_col(self, value: pulumi.Input[str]): - pulumi.set(self, "model_id_col", value) + @dbt_commands.setter + def dbt_commands(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dbt_commands", value) @property - @pulumi.getter(name="predictionCol") - def prediction_col(self) -> pulumi.Input[str]: - """ - Column of the model prediction - """ - return pulumi.get(self, "prediction_col") + @pulumi.getter(name="jarParams") + def jar_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "jar_params") - @prediction_col.setter - def prediction_col(self, value: pulumi.Input[str]): - pulumi.set(self, "prediction_col", value) + @jar_params.setter + def jar_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "jar_params", value) @property - @pulumi.getter(name="problemType") - def problem_type(self) -> pulumi.Input[str]: + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + (Map) Job parameters for the task """ - return pulumi.get(self, "problem_type") + return pulumi.get(self, "job_parameters") - @problem_type.setter - def problem_type(self, value: pulumi.Input[str]): - pulumi.set(self, "problem_type", value) + @job_parameters.setter + def job_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "job_parameters", value) @property - @pulumi.getter(name="timestampCol") - def timestamp_col(self) -> pulumi.Input[str]: - """ - Column of the timestamp of predictions - """ - return pulumi.get(self, "timestamp_col") + @pulumi.getter(name="notebookParams") + def notebook_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "notebook_params") - @timestamp_col.setter - def timestamp_col(self, value: pulumi.Input[str]): - pulumi.set(self, "timestamp_col", value) + @notebook_params.setter + def notebook_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "notebook_params", value) @property - @pulumi.getter(name="labelCol") - def label_col(self) -> Optional[pulumi.Input[str]]: - """ - Column of the model label - """ - return pulumi.get(self, "label_col") + @pulumi.getter(name="pipelineParams") + def pipeline_params(self) -> Optional[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgs']]: + return pulumi.get(self, "pipeline_params") - @label_col.setter - def label_col(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "label_col", value) + @pipeline_params.setter + def pipeline_params(self, value: Optional[pulumi.Input['JobTaskRunJobTaskPipelineParamsArgs']]): + pulumi.set(self, "pipeline_params", value) @property - @pulumi.getter(name="predictionProbaCol") - def prediction_proba_col(self) -> Optional[pulumi.Input[str]]: - """ - Column of the model prediction probabilities - """ - return pulumi.get(self, "prediction_proba_col") + @pulumi.getter(name="pythonNamedParams") + def python_named_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "python_named_params") - @prediction_proba_col.setter - def prediction_proba_col(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prediction_proba_col", value) + @python_named_params.setter + def python_named_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "python_named_params", value) + + @property + @pulumi.getter(name="pythonParams") + def python_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "python_params") + + @python_params.setter + def python_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "python_params", value) + + @property + @pulumi.getter(name="sparkSubmitParams") + def spark_submit_params(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "spark_submit_params") + + @spark_submit_params.setter + def spark_submit_params(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "spark_submit_params", value) + + @property + @pulumi.getter(name="sqlParams") + def sql_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "sql_params") + + @sql_params.setter + def sql_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "sql_params", value) if not MYPY: - class LakehouseMonitorNotificationsArgsDict(TypedDict): - on_failure: NotRequired[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgsDict']] - """ - who to send notifications to on monitor failure. - """ - on_new_classification_tag_detected: NotRequired[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgsDict']] + class JobTaskRunJobTaskPipelineParamsArgsDict(TypedDict): + full_refresh: NotRequired[pulumi.Input[bool]] """ - Who to send notifications to when new data classification tags are detected. + (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block """ elif False: - LakehouseMonitorNotificationsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskRunJobTaskPipelineParamsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorNotificationsArgs: +class JobTaskRunJobTaskPipelineParamsArgs: def __init__(__self__, *, - on_failure: Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']] = None, - on_new_classification_tag_detected: Optional[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs']] = None): + full_refresh: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs'] on_failure: who to send notifications to on monitor failure. - :param pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs'] on_new_classification_tag_detected: Who to send notifications to when new data classification tags are detected. + :param pulumi.Input[bool] full_refresh: (Bool) Specifies if there should be full refresh of the pipeline. + + > The following configuration blocks are only supported inside a `task` block """ - if on_failure is not None: - pulumi.set(__self__, "on_failure", on_failure) - if on_new_classification_tag_detected is not None: - pulumi.set(__self__, "on_new_classification_tag_detected", on_new_classification_tag_detected) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter(name="onFailure") - def on_failure(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']]: - """ - who to send notifications to on monitor failure. + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[pulumi.Input[bool]]: """ - return pulumi.get(self, "on_failure") - - @on_failure.setter - def on_failure(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']]): - pulumi.set(self, "on_failure", value) + (Bool) Specifies if there should be full refresh of the pipeline. - @property - @pulumi.getter(name="onNewClassificationTagDetected") - def on_new_classification_tag_detected(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs']]: - """ - Who to send notifications to when new data classification tags are detected. + > The following configuration blocks are only supported inside a `task` block """ - return pulumi.get(self, "on_new_classification_tag_detected") + return pulumi.get(self, "full_refresh") - @on_new_classification_tag_detected.setter - def on_new_classification_tag_detected(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs']]): - pulumi.set(self, "on_new_classification_tag_detected", value) + @full_refresh.setter + def full_refresh(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "full_refresh", value) if not MYPY: - class LakehouseMonitorNotificationsOnFailureArgsDict(TypedDict): - email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class JobTaskSparkJarTaskArgsDict(TypedDict): + jar_uri: NotRequired[pulumi.Input[str]] + main_class_name: NotRequired[pulumi.Input[str]] + """ + The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Parameters passed to the main method. + """ elif False: - LakehouseMonitorNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorNotificationsOnFailureArgs: +class JobTaskSparkJarTaskArgs: def __init__(__self__, *, - email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if email_addresses is not None: - pulumi.set(__self__, "email_addresses", email_addresses) + jar_uri: Optional[pulumi.Input[str]] = None, + main_class_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] main_class_name: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Parameters passed to the main method. + """ + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="emailAddresses") - def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "email_addresses") - - @email_addresses.setter - def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "email_addresses", value) + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar_uri") + @jar_uri.setter + def jar_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar_uri", value) -if not MYPY: - class LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgsDict(TypedDict): - email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] -elif False: - LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[pulumi.Input[str]]: + """ + The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use `SparkContext.getOrCreate` to obtain a Spark context; otherwise, runs of the job will fail. + """ + return pulumi.get(self, "main_class_name") -@pulumi.input_type -class LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs: - def __init__(__self__, *, - email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if email_addresses is not None: - pulumi.set(__self__, "email_addresses", email_addresses) + @main_class_name.setter + def main_class_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "main_class_name", value) @property - @pulumi.getter(name="emailAddresses") - def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "email_addresses") + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Parameters passed to the main method. + """ + return pulumi.get(self, "parameters") - @email_addresses.setter - def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "email_addresses", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) if not MYPY: - class LakehouseMonitorScheduleArgsDict(TypedDict): - quartz_cron_expression: pulumi.Input[str] + class JobTaskSparkPythonTaskArgsDict(TypedDict): + python_file: pulumi.Input[str] """ - string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. """ - timezone_id: pulumi.Input[str] + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + (List) Command line parameters passed to the Python file. """ - pause_status: NotRequired[pulumi.Input[str]] + source: NotRequired[pulumi.Input[str]] """ - optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. """ elif False: - LakehouseMonitorScheduleArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorScheduleArgs: +class JobTaskSparkPythonTaskArgs: def __init__(__self__, *, - quartz_cron_expression: pulumi.Input[str], - timezone_id: pulumi.Input[str], - pause_status: Optional[pulumi.Input[str]] = None): + python_file: pulumi.Input[str], + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] quartz_cron_expression: string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - :param pulumi.Input[str] timezone_id: string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - :param pulumi.Input[str] pause_status: optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + :param pulumi.Input[str] python_file: The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command line parameters passed to the Python file. + :param pulumi.Input[str] source: Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. """ - pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) - pulumi.set(__self__, "timezone_id", timezone_id) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="quartzCronExpression") - def quartz_cron_expression(self) -> pulumi.Input[str]: + @pulumi.getter(name="pythonFile") + def python_file(self) -> pulumi.Input[str]: """ - string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + The URI of the Python file to be executed. databricks_dbfs_file, cloud file URIs (e.g. `s3:/`, `abfss:/`, `gs:/`), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with `/Repos`. For files stored in a remote repository, the path must be relative. This field is required. """ - return pulumi.get(self, "quartz_cron_expression") + return pulumi.get(self, "python_file") - @quartz_cron_expression.setter - def quartz_cron_expression(self, value: pulumi.Input[str]): - pulumi.set(self, "quartz_cron_expression", value) + @python_file.setter + def python_file(self, value: pulumi.Input[str]): + pulumi.set(self, "python_file", value) @property - @pulumi.getter(name="timezoneId") - def timezone_id(self) -> pulumi.Input[str]: + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + (List) Command line parameters passed to the Python file. """ - return pulumi.get(self, "timezone_id") + return pulumi.get(self, "parameters") - @timezone_id.setter - def timezone_id(self, value: pulumi.Input[str]): - pulumi.set(self, "timezone_id", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: """ - optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). + Location type of the Python file, can only be `GIT`. When set to `GIT`, the Python file will be retrieved from a Git repository defined in `git_source`. """ - return pulumi.get(self, "pause_status") + return pulumi.get(self, "source") - @pause_status.setter - def pause_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pause_status", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) if not MYPY: - class LakehouseMonitorSnapshotArgsDict(TypedDict): - pass + class JobTaskSparkSubmitTaskArgsDict(TypedDict): + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (List) Command-line parameters passed to spark submit. + """ elif False: - LakehouseMonitorSnapshotArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorSnapshotArgs: - def __init__(__self__): - pass - - +class JobTaskSparkSubmitTaskArgs: + def __init__(__self__, *, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] parameters: (List) Command-line parameters passed to spark submit. + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (List) Command-line parameters passed to spark submit. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) + + if not MYPY: - class LakehouseMonitorTimeSeriesArgsDict(TypedDict): - granularities: pulumi.Input[Sequence[pulumi.Input[str]]] + class JobTaskSqlTaskArgsDict(TypedDict): + warehouse_id: pulumi.Input[str] """ - List of granularities to use when aggregating data into time windows based on their timestamp. + ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. """ - timestamp_col: pulumi.Input[str] + alert: NotRequired[pulumi.Input['JobTaskSqlTaskAlertArgsDict']] """ - Column of the timestamp of predictions + block consisting of following fields: + """ + dashboard: NotRequired[pulumi.Input['JobTaskSqlTaskDashboardArgsDict']] + """ + block consisting of following fields: + """ + file: NotRequired[pulumi.Input['JobTaskSqlTaskFileArgsDict']] + """ + block consisting of single string fields: + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + """ + query: NotRequired[pulumi.Input['JobTaskSqlTaskQueryArgsDict']] + """ + block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). """ elif False: - LakehouseMonitorTimeSeriesArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LakehouseMonitorTimeSeriesArgs: +class JobTaskSqlTaskArgs: def __init__(__self__, *, - granularities: pulumi.Input[Sequence[pulumi.Input[str]]], - timestamp_col: pulumi.Input[str]): + warehouse_id: pulumi.Input[str], + alert: Optional[pulumi.Input['JobTaskSqlTaskAlertArgs']] = None, + dashboard: Optional[pulumi.Input['JobTaskSqlTaskDashboardArgs']] = None, + file: Optional[pulumi.Input['JobTaskSqlTaskFileArgs']] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + query: Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. - :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions + :param pulumi.Input[str] warehouse_id: ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. + :param pulumi.Input['JobTaskSqlTaskAlertArgs'] alert: block consisting of following fields: + :param pulumi.Input['JobTaskSqlTaskDashboardArgs'] dashboard: block consisting of following fields: + :param pulumi.Input['JobTaskSqlTaskFileArgs'] file: block consisting of single string fields: + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + :param pulumi.Input['JobTaskSqlTaskQueryArgs'] query: block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). """ - pulumi.set(__self__, "granularities", granularities) - pulumi.set(__self__, "timestamp_col", timestamp_col) + pulumi.set(__self__, "warehouse_id", warehouse_id) + if alert is not None: + pulumi.set(__self__, "alert", alert) + if dashboard is not None: + pulumi.set(__self__, "dashboard", dashboard) + if file is not None: + pulumi.set(__self__, "file", file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if query is not None: + pulumi.set(__self__, "query", query) @property - @pulumi.getter - def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> pulumi.Input[str]: """ - List of granularities to use when aggregating data into time windows based on their timestamp. + ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now. """ - return pulumi.get(self, "granularities") + return pulumi.get(self, "warehouse_id") - @granularities.setter - def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "granularities", value) + @warehouse_id.setter + def warehouse_id(self, value: pulumi.Input[str]): + pulumi.set(self, "warehouse_id", value) @property - @pulumi.getter(name="timestampCol") - def timestamp_col(self) -> pulumi.Input[str]: + @pulumi.getter + def alert(self) -> Optional[pulumi.Input['JobTaskSqlTaskAlertArgs']]: """ - Column of the timestamp of predictions + block consisting of following fields: """ - return pulumi.get(self, "timestamp_col") + return pulumi.get(self, "alert") - @timestamp_col.setter - def timestamp_col(self, value: pulumi.Input[str]): - pulumi.set(self, "timestamp_col", value) + @alert.setter + def alert(self, value: Optional[pulumi.Input['JobTaskSqlTaskAlertArgs']]): + pulumi.set(self, "alert", value) + @property + @pulumi.getter + def dashboard(self) -> Optional[pulumi.Input['JobTaskSqlTaskDashboardArgs']]: + """ + block consisting of following fields: + """ + return pulumi.get(self, "dashboard") -if not MYPY: - class LibraryCranArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] -elif False: - LibraryCranArgsDict: TypeAlias = Mapping[str, Any] + @dashboard.setter + def dashboard(self, value: Optional[pulumi.Input['JobTaskSqlTaskDashboardArgs']]): + pulumi.set(self, "dashboard", value) -@pulumi.input_type -class LibraryCranArgs: - def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @property + @pulumi.getter + def file(self) -> Optional[pulumi.Input['JobTaskSqlTaskFileArgs']]: + """ + block consisting of single string fields: + """ + return pulumi.get(self, "file") + + @file.setter + def file(self, value: Optional[pulumi.Input['JobTaskSqlTaskFileArgs']]): + pulumi.set(self, "file", value) @property @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters. + """ + return pulumi.get(self, "parameters") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def query(self) -> Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']]: + """ + block consisting of single string field: `query_id` - identifier of the Databricks Query (databricks_query). + """ + return pulumi.get(self, "query") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @query.setter + def query(self, value: Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']]): + pulumi.set(self, "query", value) if not MYPY: - class LibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] + class JobTaskSqlTaskAlertArgsDict(TypedDict): + alert_id: pulumi.Input[str] + """ + (String) identifier of the Databricks Alert (databricks_alert). + """ + pause_subscriptions: NotRequired[pulumi.Input[bool]] + """ + flag that specifies if subscriptions are paused or not. + """ + subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgsDict']]]] + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ elif False: - LibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LibraryMavenArgs: +class JobTaskSqlTaskAlertArgs: def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + alert_id: pulumi.Input[str], + pause_subscriptions: Optional[pulumi.Input[bool]] = None, + subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]]] = None): + """ + :param pulumi.Input[str] alert_id: (String) identifier of the Databricks Alert (databricks_alert). + :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + pulumi.set(__self__, "alert_id", alert_id) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + @pulumi.getter(name="alertId") + def alert_id(self) -> pulumi.Input[str]: + """ + (String) identifier of the Databricks Alert (databricks_alert). + """ + return pulumi.get(self, "alert_id") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @alert_id.setter + def alert_id(self, value: pulumi.Input[str]): + pulumi.set(self, "alert_id", value) @property - @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: + """ + flag that specifies if subscriptions are paused or not. + """ + return pulumi.get(self, "pause_subscriptions") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "pause_subscriptions", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]]]: + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + return pulumi.get(self, "subscriptions") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @subscriptions.setter + def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]]]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class LibraryPypiArgsDict(TypedDict): - package: pulumi.Input[str] - repo: NotRequired[pulumi.Input[str]] + class JobTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[pulumi.Input[str]] + user_name: NotRequired[pulumi.Input[str]] + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ elif False: - LibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class LibraryPypiArgs: +class JobTaskSqlTaskAlertSubscriptionArgs: def __init__(__self__, *, - package: pulumi.Input[str], - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + destination_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def package(self) -> pulumi.Input[str]: - return pulumi.get(self, "package") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_id") - @package.setter - def package(self, value: pulumi.Input[str]): - pulumi.set(self, "package", value) + @destination_id.setter + def destination_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + return pulumi.get(self, "user_name") - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) if not MYPY: - class MetastoreDataAccessAwsIamRoleArgsDict(TypedDict): - role_arn: pulumi.Input[str] - external_id: NotRequired[pulumi.Input[str]] - unity_catalog_iam_arn: NotRequired[pulumi.Input[str]] + class JobTaskSqlTaskDashboardArgsDict(TypedDict): + dashboard_id: pulumi.Input[str] + """ + (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + """ + custom_subject: NotRequired[pulumi.Input[str]] + """ + string specifying a custom subject of email sent. + """ + pause_subscriptions: NotRequired[pulumi.Input[bool]] + """ + flag that specifies if subscriptions are paused or not. + """ + subscriptions: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgsDict']]]] + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ elif False: - MetastoreDataAccessAwsIamRoleArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MetastoreDataAccessAwsIamRoleArgs: +class JobTaskSqlTaskDashboardArgs: def __init__(__self__, *, - role_arn: pulumi.Input[str], - external_id: Optional[pulumi.Input[str]] = None, - unity_catalog_iam_arn: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "role_arn", role_arn) - if external_id is not None: - pulumi.set(__self__, "external_id", external_id) - if unity_catalog_iam_arn is not None: - pulumi.set(__self__, "unity_catalog_iam_arn", unity_catalog_iam_arn) + dashboard_id: pulumi.Input[str], + custom_subject: Optional[pulumi.Input[str]] = None, + pause_subscriptions: Optional[pulumi.Input[bool]] = None, + subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]] = None): + """ + :param pulumi.Input[str] dashboard_id: (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + :param pulumi.Input[str] custom_subject: string specifying a custom subject of email sent. + :param pulumi.Input[bool] pause_subscriptions: flag that specifies if subscriptions are paused or not. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]] subscriptions: a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + pulumi.set(__self__, "dashboard_id", dashboard_id) + if custom_subject is not None: + pulumi.set(__self__, "custom_subject", custom_subject) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter(name="roleArn") - def role_arn(self) -> pulumi.Input[str]: - return pulumi.get(self, "role_arn") + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> pulumi.Input[str]: + """ + (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard. + """ + return pulumi.get(self, "dashboard_id") - @role_arn.setter - def role_arn(self, value: pulumi.Input[str]): - pulumi.set(self, "role_arn", value) + @dashboard_id.setter + def dashboard_id(self, value: pulumi.Input[str]): + pulumi.set(self, "dashboard_id", value) @property - @pulumi.getter(name="externalId") - def external_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "external_id") + @pulumi.getter(name="customSubject") + def custom_subject(self) -> Optional[pulumi.Input[str]]: + """ + string specifying a custom subject of email sent. + """ + return pulumi.get(self, "custom_subject") - @external_id.setter - def external_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "external_id", value) + @custom_subject.setter + def custom_subject(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_subject", value) @property - @pulumi.getter(name="unityCatalogIamArn") - def unity_catalog_iam_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "unity_catalog_iam_arn") + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[pulumi.Input[bool]]: + """ + flag that specifies if subscriptions are paused or not. + """ + return pulumi.get(self, "pause_subscriptions") - @unity_catalog_iam_arn.setter - def unity_catalog_iam_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "unity_catalog_iam_arn", value) + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "pause_subscriptions", value) + + @property + @pulumi.getter + def subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]]: + """ + a list of subscription blocks consisting out of one of the required fields: `user_name` for user emails or `destination_id` - for Alert destination's identifier. + """ + return pulumi.get(self, "subscriptions") + + @subscriptions.setter + def subscriptions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class MetastoreDataAccessAzureManagedIdentityArgsDict(TypedDict): - access_connector_id: pulumi.Input[str] - credential_id: NotRequired[pulumi.Input[str]] - managed_identity_id: NotRequired[pulumi.Input[str]] + class JobTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[pulumi.Input[str]] + user_name: NotRequired[pulumi.Input[str]] + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ elif False: - MetastoreDataAccessAzureManagedIdentityArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MetastoreDataAccessAzureManagedIdentityArgs: +class JobTaskSqlTaskDashboardSubscriptionArgs: def __init__(__self__, *, - access_connector_id: pulumi.Input[str], - credential_id: Optional[pulumi.Input[str]] = None, - managed_identity_id: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "access_connector_id", access_connector_id) - if credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if managed_identity_id is not None: - pulumi.set(__self__, "managed_identity_id", managed_identity_id) - - @property - @pulumi.getter(name="accessConnectorId") - def access_connector_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "access_connector_id") - - @access_connector_id.setter - def access_connector_id(self, value: pulumi.Input[str]): - pulumi.set(self, "access_connector_id", value) + destination_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] user_name: The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "credential_id") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_id") - @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "credential_id", value) + @destination_id.setter + def destination_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter(name="managedIdentityId") - def managed_identity_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "managed_identity_id") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The email of an active workspace user. Non-admin users can only set this field to their own email. + """ + return pulumi.get(self, "user_name") - @managed_identity_id.setter - def managed_identity_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "managed_identity_id", value) + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) if not MYPY: - class MetastoreDataAccessAzureServicePrincipalArgsDict(TypedDict): - application_id: pulumi.Input[str] - client_secret: pulumi.Input[str] - directory_id: pulumi.Input[str] -elif False: - MetastoreDataAccessAzureServicePrincipalArgsDict: TypeAlias = Mapping[str, Any] + class JobTaskSqlTaskFileArgsDict(TypedDict): + path: pulumi.Input[str] + """ + If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. -@pulumi.input_type -class MetastoreDataAccessAzureServicePrincipalArgs: - def __init__(__self__, *, - application_id: pulumi.Input[str], - client_secret: pulumi.Input[str], - directory_id: pulumi.Input[str]): - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "directory_id", directory_id) + Example - @property - @pulumi.getter(name="applicationId") - def application_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "application_id") + ```python + import pulumi + import pulumi_databricks as databricks - @application_id.setter - def application_id(self, value: pulumi.Input[str]): - pulumi.set(self, "application_id", value) - - @property - @pulumi.getter(name="clientSecret") - def client_secret(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_secret") - - @client_secret.setter - def client_secret(self, value: pulumi.Input[str]): - pulumi.set(self, "client_secret", value) - - @property - @pulumi.getter(name="directoryId") - def directory_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "directory_id") - - @directory_id.setter - def directory_id(self, value: pulumi.Input[str]): - pulumi.set(self, "directory_id", value) - - -if not MYPY: - class MetastoreDataAccessCloudflareApiTokenArgsDict(TypedDict): - access_key_id: pulumi.Input[str] - account_id: pulumi.Input[str] - secret_access_key: pulumi.Input[str] + sql_aggregation_job = databricks.Job("sql_aggregation_job", + name="Example SQL Job", + tasks=[ + { + "task_key": "run_agg_query", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "query": { + "query_id": agg_query["id"], + }, + }, + }, + { + "task_key": "run_dashboard", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "dashboard": { + "dashboard_id": dash["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + { + "task_key": "run_alert", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "alert": { + "alert_id": alert["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + ]) + ``` + """ + source: NotRequired[pulumi.Input[str]] + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. + """ elif False: - MetastoreDataAccessCloudflareApiTokenArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MetastoreDataAccessCloudflareApiTokenArgs: +class JobTaskSqlTaskFileArgs: def __init__(__self__, *, - access_key_id: pulumi.Input[str], - account_id: pulumi.Input[str], - secret_access_key: pulumi.Input[str]): - pulumi.set(__self__, "access_key_id", access_key_id) - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "secret_access_key", secret_access_key) + path: pulumi.Input[str], + source: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] path: If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. + + Example + + ```python + import pulumi + import pulumi_databricks as databricks + + sql_aggregation_job = databricks.Job("sql_aggregation_job", + name="Example SQL Job", + tasks=[ + { + "task_key": "run_agg_query", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "query": { + "query_id": agg_query["id"], + }, + }, + }, + { + "task_key": "run_dashboard", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "dashboard": { + "dashboard_id": dash["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + { + "task_key": "run_alert", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "alert": { + "alert_id": alert["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + ]) + ``` + :param pulumi.Input[str] source: The source of the project. Possible values are `WORKSPACE` and `GIT`. + """ + pulumi.set(__self__, "path", path) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "access_key_id") + @pulumi.getter + def path(self) -> pulumi.Input[str]: + """ + If `source` is `GIT`: Relative path to the file in the repository specified in the `git_source` block with SQL commands to execute. If `source` is `WORKSPACE`: Absolute path to the file in the workspace with SQL commands to execute. - @access_key_id.setter - def access_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "access_key_id", value) + Example - @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "account_id") + ```python + import pulumi + import pulumi_databricks as databricks - @account_id.setter - def account_id(self, value: pulumi.Input[str]): - pulumi.set(self, "account_id", value) + sql_aggregation_job = databricks.Job("sql_aggregation_job", + name="Example SQL Job", + tasks=[ + { + "task_key": "run_agg_query", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "query": { + "query_id": agg_query["id"], + }, + }, + }, + { + "task_key": "run_dashboard", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "dashboard": { + "dashboard_id": dash["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + { + "task_key": "run_alert", + "sql_task": { + "warehouse_id": sql_job_warehouse["id"], + "alert": { + "alert_id": alert["id"], + "subscriptions": [{ + "user_name": "user@domain.com", + }], + }, + }, + }, + ]) + ``` + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: pulumi.Input[str]): + pulumi.set(self, "path", value) @property - @pulumi.getter(name="secretAccessKey") - def secret_access_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "secret_access_key") + @pulumi.getter + def source(self) -> Optional[pulumi.Input[str]]: + """ + The source of the project. Possible values are `WORKSPACE` and `GIT`. + """ + return pulumi.get(self, "source") - @secret_access_key.setter - def secret_access_key(self, value: pulumi.Input[str]): - pulumi.set(self, "secret_access_key", value) + @source.setter + def source(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source", value) if not MYPY: - class MetastoreDataAccessDatabricksGcpServiceAccountArgsDict(TypedDict): - credential_id: NotRequired[pulumi.Input[str]] - email: NotRequired[pulumi.Input[str]] + class JobTaskSqlTaskQueryArgsDict(TypedDict): + query_id: pulumi.Input[str] elif False: - MetastoreDataAccessDatabricksGcpServiceAccountArgsDict: TypeAlias = Mapping[str, Any] + JobTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MetastoreDataAccessDatabricksGcpServiceAccountArgs: +class JobTaskSqlTaskQueryArgs: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[str]] = None, - email: Optional[pulumi.Input[str]] = None): - if credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if email is not None: - pulumi.set(__self__, "email", email) + query_id: pulumi.Input[str]): + pulumi.set(__self__, "query_id", query_id) @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "credential_id") + @pulumi.getter(name="queryId") + def query_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "query_id") - @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "credential_id", value) + @query_id.setter + def query_id(self, value: pulumi.Input[str]): + pulumi.set(self, "query_id", value) - @property - @pulumi.getter - def email(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "email") - @email.setter - def email(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "email", value) +if not MYPY: + class JobTaskWebhookNotificationsArgsDict(TypedDict): + on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']]]] + """ + (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -if not MYPY: - class MetastoreDataAccessGcpServiceAccountKeyArgsDict(TypedDict): - email: pulumi.Input[str] - private_key: pulumi.Input[str] - private_key_id: pulumi.Input[str] + Example + """ + on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgsDict']]]] + """ + (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + """ + on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgsDict']]]] + """ + (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + """ + on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']]]] + on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgsDict']]]] + """ + (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + """ elif False: - MetastoreDataAccessGcpServiceAccountKeyArgsDict: TypeAlias = Mapping[str, Any] + JobTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MetastoreDataAccessGcpServiceAccountKeyArgs: +class JobTaskWebhookNotificationsArgs: def __init__(__self__, *, - email: pulumi.Input[str], - private_key: pulumi.Input[str], - private_key_id: pulumi.Input[str]): - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "private_key", private_key) - pulumi.set(__self__, "private_key_id", private_key_id) + on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]] = None, + on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]]] = None, + on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]]] = None, + on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]] = None, + on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]] on_duration_warning_threshold_exceededs: (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + + Example + :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]] on_failures: (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]] on_starts: (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + :param pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]] on_successes: (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + """ + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def email(self) -> pulumi.Input[str]: - return pulumi.get(self, "email") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]: + """ + (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. - @email.setter - def email(self, value: pulumi.Input[str]): - pulumi.set(self, "email", value) + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "private_key") + Example + """ + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @private_key.setter - def private_key(self, value: pulumi.Input[str]): - pulumi.set(self, "private_key", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="privateKeyId") - def private_key_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "private_key_id") - - @private_key_id.setter - def private_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "private_key_id", value) + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]]]: + """ + (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + """ + return pulumi.get(self, "on_failures") + @on_failures.setter + def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnFailureArgs']]]]): + pulumi.set(self, "on_failures", value) -if not MYPY: - class MlflowModelTagArgsDict(TypedDict): - key: NotRequired[pulumi.Input[str]] - value: NotRequired[pulumi.Input[str]] -elif False: - MlflowModelTagArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]]]: + """ + (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + """ + return pulumi.get(self, "on_starts") -@pulumi.input_type -class MlflowModelTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + @on_starts.setter + def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStartArgs']]]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "key") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "value") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]]]: + """ + (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. + """ + return pulumi.get(self, "on_successes") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @on_successes.setter + def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskWebhookNotificationsOnSuccessArgs']]]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class MlflowWebhookHttpUrlSpecArgsDict(TypedDict): - url: pulumi.Input[str] - """ - External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. - """ - authorization: NotRequired[pulumi.Input[str]] - """ - Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. - """ - enable_ssl_verification: NotRequired[pulumi.Input[bool]] - """ - Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. - """ - secret: NotRequired[pulumi.Input[str]] + class JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): + id: pulumi.Input[str] """ - Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`. + ID of the job """ elif False: - MlflowWebhookHttpUrlSpecArgsDict: TypeAlias = Mapping[str, Any] + JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MlflowWebhookHttpUrlSpecArgs: +class JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - url: pulumi.Input[str], - authorization: Optional[pulumi.Input[str]] = None, - enable_ssl_verification: Optional[pulumi.Input[bool]] = None, - secret: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ - :param pulumi.Input[str] url: External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. - :param pulumi.Input[str] authorization: Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. - :param pulumi.Input[bool] enable_ssl_verification: Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. - :param pulumi.Input[str] secret: Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`. + :param pulumi.Input[str] id: ID of the job """ - pulumi.set(__self__, "url", url) - if authorization is not None: - pulumi.set(__self__, "authorization", authorization) - if enable_ssl_verification is not None: - pulumi.set(__self__, "enable_ssl_verification", enable_ssl_verification) - if secret is not None: - pulumi.set(__self__, "secret", secret) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: + def id(self) -> pulumi.Input[str]: """ - External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. + ID of the job """ - return pulumi.get(self, "url") + return pulumi.get(self, "id") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) - @property - @pulumi.getter - def authorization(self) -> Optional[pulumi.Input[str]]: + +if not MYPY: + class JobTaskWebhookNotificationsOnFailureArgsDict(TypedDict): + id: pulumi.Input[str] """ - Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. + ID of the job """ - return pulumi.get(self, "authorization") - - @authorization.setter - def authorization(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "authorization", value) +elif False: + JobTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] - @property - @pulumi.getter(name="enableSslVerification") - def enable_ssl_verification(self) -> Optional[pulumi.Input[bool]]: +@pulumi.input_type +class JobTaskWebhookNotificationsOnFailureArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): """ - Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. + :param pulumi.Input[str] id: ID of the job """ - return pulumi.get(self, "enable_ssl_verification") - - @enable_ssl_verification.setter - def enable_ssl_verification(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_ssl_verification", value) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def secret(self) -> Optional[pulumi.Input[str]]: + def id(self) -> pulumi.Input[str]: """ - Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`. + ID of the job """ - return pulumi.get(self, "secret") + return pulumi.get(self, "id") - @secret.setter - def secret(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "secret", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class MlflowWebhookJobSpecArgsDict(TypedDict): - access_token: pulumi.Input[str] - """ - The personal access token used to authorize webhook's job runs. - """ - job_id: pulumi.Input[str] - """ - ID of the Databricks job that the webhook runs. - """ - workspace_url: NotRequired[pulumi.Input[str]] + class JobTaskWebhookNotificationsOnStartArgsDict(TypedDict): + id: pulumi.Input[str] """ - URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. + ID of the job """ elif False: - MlflowWebhookJobSpecArgsDict: TypeAlias = Mapping[str, Any] + JobTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MlflowWebhookJobSpecArgs: +class JobTaskWebhookNotificationsOnStartArgs: def __init__(__self__, *, - access_token: pulumi.Input[str], - job_id: pulumi.Input[str], - workspace_url: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] access_token: The personal access token used to authorize webhook's job runs. - :param pulumi.Input[str] job_id: ID of the Databricks job that the webhook runs. - :param pulumi.Input[str] workspace_url: URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. - """ - pulumi.set(__self__, "access_token", access_token) - pulumi.set(__self__, "job_id", job_id) - if workspace_url is not None: - pulumi.set(__self__, "workspace_url", workspace_url) - - @property - @pulumi.getter(name="accessToken") - def access_token(self) -> pulumi.Input[str]: - """ - The personal access token used to authorize webhook's job runs. - """ - return pulumi.get(self, "access_token") - - @access_token.setter - def access_token(self, value: pulumi.Input[str]): - pulumi.set(self, "access_token", value) - - @property - @pulumi.getter(name="jobId") - def job_id(self) -> pulumi.Input[str]: + id: pulumi.Input[str]): """ - ID of the Databricks job that the webhook runs. + :param pulumi.Input[str] id: ID of the job """ - return pulumi.get(self, "job_id") - - @job_id.setter - def job_id(self, value: pulumi.Input[str]): - pulumi.set(self, "job_id", value) + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="workspaceUrl") - def workspace_url(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. + ID of the job """ - return pulumi.get(self, "workspace_url") + return pulumi.get(self, "id") - @workspace_url.setter - def workspace_url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "workspace_url", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class ModelServingAiGatewayArgsDict(TypedDict): - guardrails: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsArgsDict']] - """ - Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: - """ - inference_table_config: NotRequired[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgsDict']] - """ - Block describing the configuration of usage tracking. Consists of the following attributes: - """ - rate_limits: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgsDict']]]] - """ - Block describing rate limits for AI gateway. For details see the description of `rate_limits` block above. - """ - usage_tracking_config: NotRequired[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgsDict']] + class JobTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): + id: pulumi.Input[str] """ - Block with configuration for payload logging using inference tables. For details see the description of `auto_capture_config` block above. + ID of the job """ elif False: - ModelServingAiGatewayArgsDict: TypeAlias = Mapping[str, Any] + JobTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayArgs: +class JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs: def __init__(__self__, *, - guardrails: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsArgs']] = None, - inference_table_config: Optional[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs']] = None, - rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]]] = None, - usage_tracking_config: Optional[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs']] = None): + id: pulumi.Input[str]): """ - :param pulumi.Input['ModelServingAiGatewayGuardrailsArgs'] guardrails: Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: - :param pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs'] inference_table_config: Block describing the configuration of usage tracking. Consists of the following attributes: - :param pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]] rate_limits: Block describing rate limits for AI gateway. For details see the description of `rate_limits` block above. - :param pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs'] usage_tracking_config: Block with configuration for payload logging using inference tables. For details see the description of `auto_capture_config` block above. + :param pulumi.Input[str] id: ID of the job """ - if guardrails is not None: - pulumi.set(__self__, "guardrails", guardrails) - if inference_table_config is not None: - pulumi.set(__self__, "inference_table_config", inference_table_config) - if rate_limits is not None: - pulumi.set(__self__, "rate_limits", rate_limits) - if usage_tracking_config is not None: - pulumi.set(__self__, "usage_tracking_config", usage_tracking_config) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def guardrails(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsArgs']]: - """ - Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: - """ - return pulumi.get(self, "guardrails") - - @guardrails.setter - def guardrails(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsArgs']]): - pulumi.set(self, "guardrails", value) - - @property - @pulumi.getter(name="inferenceTableConfig") - def inference_table_config(self) -> Optional[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs']]: - """ - Block describing the configuration of usage tracking. Consists of the following attributes: - """ - return pulumi.get(self, "inference_table_config") - - @inference_table_config.setter - def inference_table_config(self, value: Optional[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs']]): - pulumi.set(self, "inference_table_config", value) - - @property - @pulumi.getter(name="rateLimits") - def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]]]: - """ - Block describing rate limits for AI gateway. For details see the description of `rate_limits` block above. - """ - return pulumi.get(self, "rate_limits") - - @rate_limits.setter - def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]]]): - pulumi.set(self, "rate_limits", value) - - @property - @pulumi.getter(name="usageTrackingConfig") - def usage_tracking_config(self) -> Optional[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs']]: + def id(self) -> pulumi.Input[str]: """ - Block with configuration for payload logging using inference tables. For details see the description of `auto_capture_config` block above. + ID of the job """ - return pulumi.get(self, "usage_tracking_config") + return pulumi.get(self, "id") - @usage_tracking_config.setter - def usage_tracking_config(self, value: Optional[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs']]): - pulumi.set(self, "usage_tracking_config", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class ModelServingAiGatewayGuardrailsArgsDict(TypedDict): - input: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgsDict']] - """ - A block with configuration for input guardrail filters: - """ - output: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgsDict']] + class JobTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): + id: pulumi.Input[str] """ - A block with configuration for output guardrail filters. Has the same structure as `input` block. + ID of the job """ elif False: - ModelServingAiGatewayGuardrailsArgsDict: TypeAlias = Mapping[str, Any] + JobTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayGuardrailsArgs: +class JobTaskWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - input: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs']] = None, - output: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs']] = None): - """ - :param pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs'] input: A block with configuration for input guardrail filters: - :param pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs'] output: A block with configuration for output guardrail filters. Has the same structure as `input` block. - """ - if input is not None: - pulumi.set(__self__, "input", input) - if output is not None: - pulumi.set(__self__, "output", output) - - @property - @pulumi.getter - def input(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs']]: + id: pulumi.Input[str]): """ - A block with configuration for input guardrail filters: + :param pulumi.Input[str] id: ID of the job """ - return pulumi.get(self, "input") - - @input.setter - def input(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs']]): - pulumi.set(self, "input", value) + pulumi.set(__self__, "id", id) @property @pulumi.getter - def output(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs']]: + def id(self) -> pulumi.Input[str]: """ - A block with configuration for output guardrail filters. Has the same structure as `input` block. + ID of the job """ - return pulumi.get(self, "output") + return pulumi.get(self, "id") - @output.setter - def output(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs']]): - pulumi.set(self, "output", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class ModelServingAiGatewayGuardrailsInputArgsDict(TypedDict): - invalid_keywords: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - """ - pii: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgsDict']] + class JobTriggerArgsDict(TypedDict): + file_arrival: NotRequired[pulumi.Input['JobTriggerFileArrivalArgsDict']] """ - Block with configuration for guardrail PII filter: + configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: """ - safety: NotRequired[pulumi.Input[bool]] + pause_status: NotRequired[pulumi.Input[str]] """ - the boolean flag that indicates whether the safety filter is enabled. + Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. """ - valid_topics: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + periodic: NotRequired[pulumi.Input['JobTriggerPeriodicArgsDict']] """ - The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + configuration block to define a trigger for Periodic Triggers consisting of the following attributes: """ + table: NotRequired[pulumi.Input['JobTriggerTableArgsDict']] + table_update: NotRequired[pulumi.Input['JobTriggerTableUpdateArgsDict']] elif False: - ModelServingAiGatewayGuardrailsInputArgsDict: TypeAlias = Mapping[str, Any] + JobTriggerArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayGuardrailsInputArgs: +class JobTriggerArgs: def __init__(__self__, *, - invalid_keywords: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - pii: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs']] = None, - safety: Optional[pulumi.Input[bool]] = None, - valid_topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + file_arrival: Optional[pulumi.Input['JobTriggerFileArrivalArgs']] = None, + pause_status: Optional[pulumi.Input[str]] = None, + periodic: Optional[pulumi.Input['JobTriggerPeriodicArgs']] = None, + table: Optional[pulumi.Input['JobTriggerTableArgs']] = None, + table_update: Optional[pulumi.Input['JobTriggerTableUpdateArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] invalid_keywords: List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - :param pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs'] pii: Block with configuration for guardrail PII filter: - :param pulumi.Input[bool] safety: the boolean flag that indicates whether the safety filter is enabled. - :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_topics: The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + :param pulumi.Input['JobTriggerFileArrivalArgs'] file_arrival: configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: + :param pulumi.Input[str] pause_status: Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. + :param pulumi.Input['JobTriggerPeriodicArgs'] periodic: configuration block to define a trigger for Periodic Triggers consisting of the following attributes: """ - if invalid_keywords is not None: - pulumi.set(__self__, "invalid_keywords", invalid_keywords) - if pii is not None: - pulumi.set(__self__, "pii", pii) - if safety is not None: - pulumi.set(__self__, "safety", safety) - if valid_topics is not None: - pulumi.set(__self__, "valid_topics", valid_topics) + if file_arrival is not None: + pulumi.set(__self__, "file_arrival", file_arrival) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + if periodic is not None: + pulumi.set(__self__, "periodic", periodic) + if table is not None: + pulumi.set(__self__, "table", table) + if table_update is not None: + pulumi.set(__self__, "table_update", table_update) @property - @pulumi.getter(name="invalidKeywords") - def invalid_keywords(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="fileArrival") + def file_arrival(self) -> Optional[pulumi.Input['JobTriggerFileArrivalArgs']]: """ - List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + configuration block to define a trigger for [File Arrival events](https://learn.microsoft.com/en-us/azure/databricks/workflows/jobs/file-arrival-triggers) consisting of following attributes: """ - return pulumi.get(self, "invalid_keywords") + return pulumi.get(self, "file_arrival") - @invalid_keywords.setter - def invalid_keywords(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "invalid_keywords", value) + @file_arrival.setter + def file_arrival(self, value: Optional[pulumi.Input['JobTriggerFileArrivalArgs']]): + pulumi.set(self, "file_arrival", value) @property - @pulumi.getter - def pii(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs']]: + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[pulumi.Input[str]]: """ - Block with configuration for guardrail PII filter: + Indicate whether this trigger is paused or not. Either `PAUSED` or `UNPAUSED`. When the `pause_status` field is omitted in the block, the server will default to using `UNPAUSED` as a value for `pause_status`. """ - return pulumi.get(self, "pii") + return pulumi.get(self, "pause_status") - @pii.setter - def pii(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs']]): - pulumi.set(self, "pii", value) + @pause_status.setter + def pause_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pause_status", value) @property @pulumi.getter - def safety(self) -> Optional[pulumi.Input[bool]]: + def periodic(self) -> Optional[pulumi.Input['JobTriggerPeriodicArgs']]: """ - the boolean flag that indicates whether the safety filter is enabled. + configuration block to define a trigger for Periodic Triggers consisting of the following attributes: """ - return pulumi.get(self, "safety") + return pulumi.get(self, "periodic") - @safety.setter - def safety(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "safety", value) + @periodic.setter + def periodic(self, value: Optional[pulumi.Input['JobTriggerPeriodicArgs']]): + pulumi.set(self, "periodic", value) @property - @pulumi.getter(name="validTopics") - def valid_topics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. - """ - return pulumi.get(self, "valid_topics") - - @valid_topics.setter - def valid_topics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "valid_topics", value) - - -if not MYPY: - class ModelServingAiGatewayGuardrailsInputPiiArgsDict(TypedDict): - behavior: pulumi.Input[str] - """ - a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - """ -elif False: - ModelServingAiGatewayGuardrailsInputPiiArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter + def table(self) -> Optional[pulumi.Input['JobTriggerTableArgs']]: + return pulumi.get(self, "table") -@pulumi.input_type -class ModelServingAiGatewayGuardrailsInputPiiArgs: - def __init__(__self__, *, - behavior: pulumi.Input[str]): - """ - :param pulumi.Input[str] behavior: a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - """ - pulumi.set(__self__, "behavior", behavior) + @table.setter + def table(self, value: Optional[pulumi.Input['JobTriggerTableArgs']]): + pulumi.set(self, "table", value) @property - @pulumi.getter - def behavior(self) -> pulumi.Input[str]: - """ - a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. - """ - return pulumi.get(self, "behavior") + @pulumi.getter(name="tableUpdate") + def table_update(self) -> Optional[pulumi.Input['JobTriggerTableUpdateArgs']]: + return pulumi.get(self, "table_update") - @behavior.setter - def behavior(self, value: pulumi.Input[str]): - pulumi.set(self, "behavior", value) + @table_update.setter + def table_update(self, value: Optional[pulumi.Input['JobTriggerTableUpdateArgs']]): + pulumi.set(self, "table_update", value) if not MYPY: - class ModelServingAiGatewayGuardrailsOutputArgsDict(TypedDict): - invalid_keywords: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - """ - pii: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgsDict']] + class JobTriggerFileArrivalArgsDict(TypedDict): + url: pulumi.Input[str] """ - Block with configuration for guardrail PII filter: + URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). """ - safety: NotRequired[pulumi.Input[bool]] + min_time_between_triggers_seconds: NotRequired[pulumi.Input[int]] """ - the boolean flag that indicates whether the safety filter is enabled. + If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. """ - valid_topics: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + wait_after_last_change_seconds: NotRequired[pulumi.Input[int]] """ - The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ elif False: - ModelServingAiGatewayGuardrailsOutputArgsDict: TypeAlias = Mapping[str, Any] + JobTriggerFileArrivalArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayGuardrailsOutputArgs: +class JobTriggerFileArrivalArgs: def __init__(__self__, *, - invalid_keywords: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - pii: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs']] = None, - safety: Optional[pulumi.Input[bool]] = None, - valid_topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] invalid_keywords: List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. - :param pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs'] pii: Block with configuration for guardrail PII filter: - :param pulumi.Input[bool] safety: the boolean flag that indicates whether the safety filter is enabled. - :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_topics: The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. - """ - if invalid_keywords is not None: - pulumi.set(__self__, "invalid_keywords", invalid_keywords) - if pii is not None: - pulumi.set(__self__, "pii", pii) - if safety is not None: - pulumi.set(__self__, "safety", safety) - if valid_topics is not None: - pulumi.set(__self__, "valid_topics", valid_topics) - - @property - @pulumi.getter(name="invalidKeywords") - def invalid_keywords(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + url: pulumi.Input[str], + min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, + wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None): """ - List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + :param pulumi.Input[str] url: URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). + :param pulumi.Input[int] min_time_between_triggers_seconds: If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + :param pulumi.Input[int] wait_after_last_change_seconds: If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "invalid_keywords") - - @invalid_keywords.setter - def invalid_keywords(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "invalid_keywords", value) + pulumi.set(__self__, "url", url) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) @property @pulumi.getter - def pii(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs']]: + def url(self) -> pulumi.Input[str]: """ - Block with configuration for guardrail PII filter: + URL to be monitored for file arrivals. The path must point to the root or a subpath of the external location. Please note that the URL must have a trailing slash character (`/`). """ - return pulumi.get(self, "pii") + return pulumi.get(self, "url") - @pii.setter - def pii(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs']]): - pulumi.set(self, "pii", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter - def safety(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[pulumi.Input[int]]: """ - the boolean flag that indicates whether the safety filter is enabled. + If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "safety") + return pulumi.get(self, "min_time_between_triggers_seconds") - @safety.setter - def safety(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "safety", value) + @min_time_between_triggers_seconds.setter + def min_time_between_triggers_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_time_between_triggers_seconds", value) @property - @pulumi.getter(name="validTopics") - def valid_topics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[pulumi.Input[int]]: """ - The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "valid_topics") + return pulumi.get(self, "wait_after_last_change_seconds") - @valid_topics.setter - def valid_topics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "valid_topics", value) + @wait_after_last_change_seconds.setter + def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "wait_after_last_change_seconds", value) if not MYPY: - class ModelServingAiGatewayGuardrailsOutputPiiArgsDict(TypedDict): - behavior: pulumi.Input[str] + class JobTriggerPeriodicArgsDict(TypedDict): + interval: pulumi.Input[int] """ - a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + Specifies the interval at which the job should run. This value is required. + """ + unit: pulumi.Input[str] + """ + Options are {"DAYS", "HOURS", "WEEKS"}. """ elif False: - ModelServingAiGatewayGuardrailsOutputPiiArgsDict: TypeAlias = Mapping[str, Any] + JobTriggerPeriodicArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayGuardrailsOutputPiiArgs: +class JobTriggerPeriodicArgs: def __init__(__self__, *, - behavior: pulumi.Input[str]): + interval: pulumi.Input[int], + unit: pulumi.Input[str]): """ - :param pulumi.Input[str] behavior: a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + :param pulumi.Input[int] interval: Specifies the interval at which the job should run. This value is required. + :param pulumi.Input[str] unit: Options are {"DAYS", "HOURS", "WEEKS"}. """ - pulumi.set(__self__, "behavior", behavior) + pulumi.set(__self__, "interval", interval) + pulumi.set(__self__, "unit", unit) @property @pulumi.getter - def behavior(self) -> pulumi.Input[str]: + def interval(self) -> pulumi.Input[int]: """ - a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + Specifies the interval at which the job should run. This value is required. """ - return pulumi.get(self, "behavior") - - @behavior.setter - def behavior(self, value: pulumi.Input[str]): - pulumi.set(self, "behavior", value) + return pulumi.get(self, "interval") + @interval.setter + def interval(self, value: pulumi.Input[int]): + pulumi.set(self, "interval", value) -if not MYPY: - class ModelServingAiGatewayInferenceTableConfigArgsDict(TypedDict): - catalog_name: NotRequired[pulumi.Input[str]] - """ - The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - """ - enabled: NotRequired[pulumi.Input[bool]] + @property + @pulumi.getter + def unit(self) -> pulumi.Input[str]: """ - boolean flag specifying if usage tracking is enabled. + Options are {"DAYS", "HOURS", "WEEKS"}. """ - schema_name: NotRequired[pulumi.Input[str]] + return pulumi.get(self, "unit") + + @unit.setter + def unit(self, value: pulumi.Input[str]): + pulumi.set(self, "unit", value) + + +if not MYPY: + class JobTriggerTableArgsDict(TypedDict): + condition: NotRequired[pulumi.Input[str]] + min_time_between_triggers_seconds: NotRequired[pulumi.Input[int]] """ - The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. """ - table_name_prefix: NotRequired[pulumi.Input[str]] + table_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + wait_after_last_change_seconds: NotRequired[pulumi.Input[int]] """ - The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ elif False: - ModelServingAiGatewayInferenceTableConfigArgsDict: TypeAlias = Mapping[str, Any] + JobTriggerTableArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayInferenceTableConfigArgs: +class JobTriggerTableArgs: def __init__(__self__, *, - catalog_name: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - schema_name: Optional[pulumi.Input[str]] = None, - table_name_prefix: Optional[pulumi.Input[str]] = None): + condition: Optional[pulumi.Input[str]] = None, + min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, + table_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[str] catalog_name: The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - :param pulumi.Input[bool] enabled: boolean flag specifying if usage tracking is enabled. - :param pulumi.Input[str] schema_name: The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - :param pulumi.Input[str] table_name_prefix: The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + :param pulumi.Input[int] min_time_between_triggers_seconds: If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + :param pulumi.Input[int] wait_after_last_change_seconds: If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) - if table_name_prefix is not None: - pulumi.set(__self__, "table_name_prefix", table_name_prefix) + if condition is not None: + pulumi.set(__self__, "condition", condition) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if table_names is not None: + pulumi.set(__self__, "table_names", table_names) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - """ - return pulumi.get(self, "catalog_name") + @pulumi.getter + def condition(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "condition") - @catalog_name.setter - def catalog_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "catalog_name", value) + @condition.setter + def condition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[pulumi.Input[int]]: """ - boolean flag specifying if usage tracking is enabled. + If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "enabled") + return pulumi.get(self, "min_time_between_triggers_seconds") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @min_time_between_triggers_seconds.setter + def min_time_between_triggers_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_time_between_triggers_seconds", value) @property - @pulumi.getter(name="schemaName") - def schema_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - """ - return pulumi.get(self, "schema_name") + @pulumi.getter(name="tableNames") + def table_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "table_names") - @schema_name.setter - def schema_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema_name", value) + @table_names.setter + def table_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "table_names", value) @property - @pulumi.getter(name="tableNamePrefix") - def table_name_prefix(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[pulumi.Input[int]]: """ - The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "table_name_prefix") + return pulumi.get(self, "wait_after_last_change_seconds") - @table_name_prefix.setter - def table_name_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "table_name_prefix", value) + @wait_after_last_change_seconds.setter + def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "wait_after_last_change_seconds", value) if not MYPY: - class ModelServingAiGatewayRateLimitArgsDict(TypedDict): - calls: pulumi.Input[int] - """ - Used to specify how many calls are allowed for a key within the renewal_period. - """ - renewal_period: pulumi.Input[str] + class JobTriggerTableUpdateArgsDict(TypedDict): + table_names: pulumi.Input[Sequence[pulumi.Input[str]]] + condition: NotRequired[pulumi.Input[str]] + min_time_between_triggers_seconds: NotRequired[pulumi.Input[int]] """ - Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. """ - key: NotRequired[pulumi.Input[str]] + wait_after_last_change_seconds: NotRequired[pulumi.Input[int]] """ - Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ elif False: - ModelServingAiGatewayRateLimitArgsDict: TypeAlias = Mapping[str, Any] + JobTriggerTableUpdateArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingAiGatewayRateLimitArgs: +class JobTriggerTableUpdateArgs: def __init__(__self__, *, - calls: pulumi.Input[int], - renewal_period: pulumi.Input[str], - key: Optional[pulumi.Input[str]] = None): + table_names: pulumi.Input[Sequence[pulumi.Input[str]]], + condition: Optional[pulumi.Input[str]] = None, + min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, + wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[int] calls: Used to specify how many calls are allowed for a key within the renewal_period. - :param pulumi.Input[str] renewal_period: Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. - :param pulumi.Input[str] key: Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + :param pulumi.Input[int] min_time_between_triggers_seconds: If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. + :param pulumi.Input[int] wait_after_last_change_seconds: If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ - pulumi.set(__self__, "calls", calls) - pulumi.set(__self__, "renewal_period", renewal_period) - if key is not None: - pulumi.set(__self__, "key", key) + pulumi.set(__self__, "table_names", table_names) + if condition is not None: + pulumi.set(__self__, "condition", condition) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + + @property + @pulumi.getter(name="tableNames") + def table_names(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "table_names") + + @table_names.setter + def table_names(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "table_names", value) @property @pulumi.getter - def calls(self) -> pulumi.Input[int]: - """ - Used to specify how many calls are allowed for a key within the renewal_period. - """ - return pulumi.get(self, "calls") + def condition(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "condition") - @calls.setter - def calls(self, value: pulumi.Input[int]): - pulumi.set(self, "calls", value) + @condition.setter + def condition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition", value) @property - @pulumi.getter(name="renewalPeriod") - def renewal_period(self) -> pulumi.Input[str]: + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[pulumi.Input[int]]: """ - Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + If set, the trigger starts a run only after the specified amount of time passed since the last time the trigger fired. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "renewal_period") + return pulumi.get(self, "min_time_between_triggers_seconds") - @renewal_period.setter - def renewal_period(self, value: pulumi.Input[str]): - pulumi.set(self, "renewal_period", value) + @min_time_between_triggers_seconds.setter + def min_time_between_triggers_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_time_between_triggers_seconds", value) @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[pulumi.Input[int]]: """ - Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + If set, the trigger starts a run only after no file activity has occurred for the specified amount of time. This makes it possible to wait for a batch of incoming files to arrive before triggering a run. The minimum allowed value is 60 seconds. """ - return pulumi.get(self, "key") + return pulumi.get(self, "wait_after_last_change_seconds") - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) + @wait_after_last_change_seconds.setter + def wait_after_last_change_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "wait_after_last_change_seconds", value) if not MYPY: - class ModelServingAiGatewayUsageTrackingConfigArgsDict(TypedDict): - enabled: NotRequired[pulumi.Input[bool]] -elif False: - ModelServingAiGatewayUsageTrackingConfigArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class ModelServingAiGatewayUsageTrackingConfigArgs: - def __init__(__self__, *, - enabled: Optional[pulumi.Input[bool]] = None): - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + class JobWebhookNotificationsArgsDict(TypedDict): + on_duration_warning_threshold_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']]]] + """ + (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` -if not MYPY: - class ModelServingConfigArgsDict(TypedDict): - auto_capture_config: NotRequired[pulumi.Input['ModelServingConfigAutoCaptureConfigArgsDict']] - """ - Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + Example """ - served_entities: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgsDict']]]] + on_failures: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgsDict']]]] """ - A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. """ - served_models: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgsDict']]]] + on_starts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgsDict']]]] """ - Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. + (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. """ - traffic_config: NotRequired[pulumi.Input['ModelServingConfigTrafficConfigArgsDict']] + on_streaming_backlog_exceededs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgsDict']]]] + on_successes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgsDict']]]] """ - A single block represents the traffic split configuration amongst the served models. + (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. """ elif False: - ModelServingConfigArgsDict: TypeAlias = Mapping[str, Any] + JobWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigArgs: +class JobWebhookNotificationsArgs: def __init__(__self__, *, - auto_capture_config: Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']] = None, - served_entities: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]] = None, - served_models: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]] = None, - traffic_config: Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']] = None): + on_duration_warning_threshold_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]] = None, + on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]] = None, + on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]] = None, + on_streaming_backlog_exceededs: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgs']]]] = None, + on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]] = None): """ - :param pulumi.Input['ModelServingConfigAutoCaptureConfigArgs'] auto_capture_config: Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. - :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]] served_entities: A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. - :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]] served_models: Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. - :param pulumi.Input['ModelServingConfigTrafficConfigArgs'] traffic_config: A single block represents the traffic split configuration amongst the served models. + :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]] on_duration_warning_threshold_exceededs: (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + + Example + :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]] on_failures: (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. + :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]] on_starts: (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. + :param pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]] on_successes: (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. """ - if auto_capture_config is not None: - pulumi.set(__self__, "auto_capture_config", auto_capture_config) - if served_entities is not None: - pulumi.set(__self__, "served_entities", served_entities) - if served_models is not None: - warnings.warn("""Please use 'config.served_entities' instead of 'config.served_models'.""", DeprecationWarning) - pulumi.log.warn("""served_models is deprecated: Please use 'config.served_entities' instead of 'config.served_models'.""") - if served_models is not None: - pulumi.set(__self__, "served_models", served_models) - if traffic_config is not None: - pulumi.set(__self__, "traffic_config", traffic_config) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter(name="autoCaptureConfig") - def auto_capture_config(self) -> Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']]: + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]: """ - Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the `RUN_DURATION_SECONDS` metric in the `health` block. + + Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https:///sql/destinations/?o=` + + Example """ - return pulumi.get(self, "auto_capture_config") + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @auto_capture_config.setter - def auto_capture_config(self, value: Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']]): - pulumi.set(self, "auto_capture_config", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnDurationWarningThresholdExceededArgs']]]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="servedEntities") - def served_entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]]: + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]]: """ - A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified. """ - return pulumi.get(self, "served_entities") + return pulumi.get(self, "on_failures") - @served_entities.setter - def served_entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]]): - pulumi.set(self, "served_entities", value) + @on_failures.setter + def on_failures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter(name="servedModels") - @_utilities.deprecated("""Please use 'config.served_entities' instead of 'config.served_models'.""") - def served_models(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]]: + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]]: """ - Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. + (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified. """ - return pulumi.get(self, "served_models") + return pulumi.get(self, "on_starts") - @served_models.setter - def served_models(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]]): - pulumi.set(self, "served_models", value) + @on_starts.setter + def on_starts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter(name="trafficConfig") - def traffic_config(self) -> Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']]: + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgs']]]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") + + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStreamingBacklogExceededArgs']]]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) + + @property + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]]: """ - A single block represents the traffic split configuration amongst the served models. + (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified. """ - return pulumi.get(self, "traffic_config") + return pulumi.get(self, "on_successes") - @traffic_config.setter - def traffic_config(self, value: Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']]): - pulumi.set(self, "traffic_config", value) + @on_successes.setter + def on_successes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class ModelServingConfigAutoCaptureConfigArgsDict(TypedDict): - catalog_name: NotRequired[pulumi.Input[str]] + class JobWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): + id: pulumi.Input[str] """ - The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + ID of the job """ - enabled: NotRequired[pulumi.Input[bool]] +elif False: + JobWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobWebhookNotificationsOnDurationWarningThresholdExceededArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): """ - If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. + :param pulumi.Input[str] id: ID of the job """ - schema_name: NotRequired[pulumi.Input[str]] + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + ID of the job """ - table_name_prefix: NotRequired[pulumi.Input[str]] + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +if not MYPY: + class JobWebhookNotificationsOnFailureArgsDict(TypedDict): + id: pulumi.Input[str] """ - The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + ID of the job """ elif False: - ModelServingConfigAutoCaptureConfigArgsDict: TypeAlias = Mapping[str, Any] + JobWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigAutoCaptureConfigArgs: +class JobWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - catalog_name: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - schema_name: Optional[pulumi.Input[str]] = None, - table_name_prefix: Optional[pulumi.Input[str]] = None): + id: pulumi.Input[str]): """ - :param pulumi.Input[str] catalog_name: The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. - :param pulumi.Input[bool] enabled: If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. - :param pulumi.Input[str] schema_name: The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. - :param pulumi.Input[str] table_name_prefix: The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + :param pulumi.Input[str] id: ID of the job """ - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) - if table_name_prefix is not None: - pulumi.set(__self__, "table_name_prefix", table_name_prefix) + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + ID of the job """ - return pulumi.get(self, "catalog_name") + return pulumi.get(self, "id") - @catalog_name.setter - def catalog_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "catalog_name", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + +if not MYPY: + class JobWebhookNotificationsOnStartArgsDict(TypedDict): + id: pulumi.Input[str] """ - If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. + ID of the job """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) +elif False: + JobWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] - @property - @pulumi.getter(name="schemaName") - def schema_name(self) -> Optional[pulumi.Input[str]]: +@pulumi.input_type +class JobWebhookNotificationsOnStartArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): """ - The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + :param pulumi.Input[str] id: ID of the job """ - return pulumi.get(self, "schema_name") - - @schema_name.setter - def schema_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema_name", value) + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="tableNamePrefix") - def table_name_prefix(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. + ID of the job """ - return pulumi.get(self, "table_name_prefix") + return pulumi.get(self, "id") - @table_name_prefix.setter - def table_name_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "table_name_prefix", value) + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) if not MYPY: - class ModelServingConfigServedEntityArgsDict(TypedDict): - entity_name: NotRequired[pulumi.Input[str]] + class JobWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): + id: pulumi.Input[str] """ - The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. + ID of the job """ - entity_version: NotRequired[pulumi.Input[str]] +elif False: + JobWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobWebhookNotificationsOnStreamingBacklogExceededArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): """ - The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + :param pulumi.Input[str] id: ID of the job """ - environment_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` + ID of the job """ - external_model: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelArgsDict']] + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +if not MYPY: + class JobWebhookNotificationsOnSuccessArgsDict(TypedDict): + id: pulumi.Input[str] """ - The external model to be served. NOTE: Only one of `external_model` and (`entity_name`, `entity_version`, `workload_size`, `workload_type`, and `scale_to_zero_enabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `external_model` is present, the served entities list can only have one `served_entity` object. An existing endpoint with `external_model` can not be updated to an endpoint without `external_model`. If the endpoint is created without `external_model`, users cannot update it to add `external_model` later. + ID of the job """ - instance_profile_arn: NotRequired[pulumi.Input[str]] +elif False: + JobWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobWebhookNotificationsOnSuccessArgs: + def __init__(__self__, *, + id: pulumi.Input[str]): """ - ARN of the instance profile that the served entity uses to access AWS resources. + :param pulumi.Input[str] id: ID of the job """ - max_provisioned_throughput: NotRequired[pulumi.Input[int]] + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> pulumi.Input[str]: """ - The maximum tokens per second that the endpoint can scale up to. + ID of the job """ - min_provisioned_throughput: NotRequired[pulumi.Input[int]] + return pulumi.get(self, "id") + + @id.setter + def id(self, value: pulumi.Input[str]): + pulumi.set(self, "id", value) + + +if not MYPY: + class LakehouseMonitorCustomMetricArgsDict(TypedDict): + definition: pulumi.Input[str] """ - The minimum tokens per second that the endpoint can scale down to. + [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) """ - name: NotRequired[pulumi.Input[str]] + input_columns: pulumi.Input[Sequence[pulumi.Input[str]]] """ - The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + Columns on the monitored table to apply the custom metrics to. """ - scale_to_zero_enabled: NotRequired[pulumi.Input[bool]] + name: pulumi.Input[str] """ - Whether the compute resources for the served entity should scale down to zero. + Name of the custom metric. """ - workload_size: NotRequired[pulumi.Input[str]] + output_data_type: pulumi.Input[str] """ - The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + The output type of the custom metric. """ - workload_type: NotRequired[pulumi.Input[str]] + type: pulumi.Input[str] """ - The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). + The type of the custom metric. """ elif False: - ModelServingConfigServedEntityArgsDict: TypeAlias = Mapping[str, Any] + LakehouseMonitorCustomMetricArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityArgs: +class LakehouseMonitorCustomMetricArgs: def __init__(__self__, *, - entity_name: Optional[pulumi.Input[str]] = None, - entity_version: Optional[pulumi.Input[str]] = None, - environment_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - external_model: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelArgs']] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - max_provisioned_throughput: Optional[pulumi.Input[int]] = None, - min_provisioned_throughput: Optional[pulumi.Input[int]] = None, - name: Optional[pulumi.Input[str]] = None, - scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None, - workload_size: Optional[pulumi.Input[str]] = None, - workload_type: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] entity_name: The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. - :param pulumi.Input[str] entity_version: The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_vars: An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` - :param pulumi.Input['ModelServingConfigServedEntityExternalModelArgs'] external_model: The external model to be served. NOTE: Only one of `external_model` and (`entity_name`, `entity_version`, `workload_size`, `workload_type`, and `scale_to_zero_enabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `external_model` is present, the served entities list can only have one `served_entity` object. An existing endpoint with `external_model` can not be updated to an endpoint without `external_model`. If the endpoint is created without `external_model`, users cannot update it to add `external_model` later. - :param pulumi.Input[str] instance_profile_arn: ARN of the instance profile that the served entity uses to access AWS resources. - :param pulumi.Input[int] max_provisioned_throughput: The maximum tokens per second that the endpoint can scale up to. - :param pulumi.Input[int] min_provisioned_throughput: The minimum tokens per second that the endpoint can scale down to. - :param pulumi.Input[str] name: The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. - :param pulumi.Input[bool] scale_to_zero_enabled: Whether the compute resources for the served entity should scale down to zero. - :param pulumi.Input[str] workload_size: The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. - :param pulumi.Input[str] workload_type: The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). - """ - if entity_name is not None: - pulumi.set(__self__, "entity_name", entity_name) - if entity_version is not None: - pulumi.set(__self__, "entity_version", entity_version) - if environment_vars is not None: - pulumi.set(__self__, "environment_vars", environment_vars) - if external_model is not None: - pulumi.set(__self__, "external_model", external_model) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if max_provisioned_throughput is not None: - pulumi.set(__self__, "max_provisioned_throughput", max_provisioned_throughput) - if min_provisioned_throughput is not None: - pulumi.set(__self__, "min_provisioned_throughput", min_provisioned_throughput) - if name is not None: - pulumi.set(__self__, "name", name) - if scale_to_zero_enabled is not None: - pulumi.set(__self__, "scale_to_zero_enabled", scale_to_zero_enabled) - if workload_size is not None: - pulumi.set(__self__, "workload_size", workload_size) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) - - @property - @pulumi.getter(name="entityName") - def entity_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. - """ - return pulumi.get(self, "entity_name") - - @entity_name.setter - def entity_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "entity_name", value) - - @property - @pulumi.getter(name="entityVersion") - def entity_version(self) -> Optional[pulumi.Input[str]]: - """ - The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. - """ - return pulumi.get(self, "entity_version") - - @entity_version.setter - def entity_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "entity_version", value) - - @property - @pulumi.getter(name="environmentVars") - def environment_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` - """ - return pulumi.get(self, "environment_vars") - - @environment_vars.setter - def environment_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "environment_vars", value) - - @property - @pulumi.getter(name="externalModel") - def external_model(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelArgs']]: - """ - The external model to be served. NOTE: Only one of `external_model` and (`entity_name`, `entity_version`, `workload_size`, `workload_type`, and `scale_to_zero_enabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `external_model` is present, the served entities list can only have one `served_entity` object. An existing endpoint with `external_model` can not be updated to an endpoint without `external_model`. If the endpoint is created without `external_model`, users cannot update it to add `external_model` later. - """ - return pulumi.get(self, "external_model") - - @external_model.setter - def external_model(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelArgs']]): - pulumi.set(self, "external_model", value) - - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + definition: pulumi.Input[str], + input_columns: pulumi.Input[Sequence[pulumi.Input[str]]], + name: pulumi.Input[str], + output_data_type: pulumi.Input[str], + type: pulumi.Input[str]): """ - ARN of the instance profile that the served entity uses to access AWS resources. + :param pulumi.Input[str] definition: [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + :param pulumi.Input[Sequence[pulumi.Input[str]]] input_columns: Columns on the monitored table to apply the custom metrics to. + :param pulumi.Input[str] name: Name of the custom metric. + :param pulumi.Input[str] output_data_type: The output type of the custom metric. + :param pulumi.Input[str] type: The type of the custom metric. """ - return pulumi.get(self, "instance_profile_arn") - - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) + pulumi.set(__self__, "definition", definition) + pulumi.set(__self__, "input_columns", input_columns) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "output_data_type", output_data_type) + pulumi.set(__self__, "type", type) @property - @pulumi.getter(name="maxProvisionedThroughput") - def max_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def definition(self) -> pulumi.Input[str]: """ - The maximum tokens per second that the endpoint can scale up to. + [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) """ - return pulumi.get(self, "max_provisioned_throughput") + return pulumi.get(self, "definition") - @max_provisioned_throughput.setter - def max_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_provisioned_throughput", value) + @definition.setter + def definition(self, value: pulumi.Input[str]): + pulumi.set(self, "definition", value) @property - @pulumi.getter(name="minProvisionedThroughput") - def min_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="inputColumns") + def input_columns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - The minimum tokens per second that the endpoint can scale down to. + Columns on the monitored table to apply the custom metrics to. """ - return pulumi.get(self, "min_provisioned_throughput") + return pulumi.get(self, "input_columns") - @min_provisioned_throughput.setter - def min_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_provisioned_throughput", value) + @input_columns.setter + def input_columns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "input_columns", value) @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + def name(self) -> pulumi.Input[str]: """ - The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + Name of the custom metric. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[str]]): + def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) @property - @pulumi.getter(name="scaleToZeroEnabled") - def scale_to_zero_enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="outputDataType") + def output_data_type(self) -> pulumi.Input[str]: """ - Whether the compute resources for the served entity should scale down to zero. + The output type of the custom metric. """ - return pulumi.get(self, "scale_to_zero_enabled") + return pulumi.get(self, "output_data_type") - @scale_to_zero_enabled.setter - def scale_to_zero_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "scale_to_zero_enabled", value) + @output_data_type.setter + def output_data_type(self, value: pulumi.Input[str]): + pulumi.set(self, "output_data_type", value) @property - @pulumi.getter(name="workloadSize") - def workload_size(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def type(self) -> pulumi.Input[str]: """ - The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + The type of the custom metric. """ - return pulumi.get(self, "workload_size") + return pulumi.get(self, "type") - @workload_size.setter - def workload_size(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "workload_size", value) + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +if not MYPY: + class LakehouseMonitorDataClassificationConfigArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] +elif False: + LakehouseMonitorDataClassificationConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LakehouseMonitorDataClassificationConfigArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional[pulumi.Input[str]]: - """ - The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). - """ - return pulumi.get(self, "workload_type") + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") - @workload_type.setter - def workload_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "workload_type", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelArgsDict(TypedDict): - name: pulumi.Input[str] - """ - The name of the external model. - """ - provider: pulumi.Input[str] - """ - The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. - """ - task: pulumi.Input[str] - """ - The task type of the external model. - """ - ai21labs_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgsDict']] - """ - AI21Labs Config - """ - amazon_bedrock_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgsDict']] + class LakehouseMonitorInferenceLogArgsDict(TypedDict): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]] """ - Amazon Bedrock Config + List of granularities to use when aggregating data into time windows based on their timestamp. """ - anthropic_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgsDict']] + model_id_col: pulumi.Input[str] """ - Anthropic Config + Column of the model id or version """ - cohere_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgsDict']] + prediction_col: pulumi.Input[str] """ - Cohere Config + Column of the model prediction """ - databricks_model_serving_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict']] + problem_type: pulumi.Input[str] """ - Databricks Model Serving Config + Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` """ - google_cloud_vertex_ai_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict']] + timestamp_col: pulumi.Input[str] """ - Google Cloud Vertex AI Config. + Column of the timestamp of predictions """ - openai_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgsDict']] + label_col: NotRequired[pulumi.Input[str]] """ - OpenAI Config + Column of the model label """ - palm_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgsDict']] + prediction_proba_col: NotRequired[pulumi.Input[str]] """ - PaLM Config + Column of the model prediction probabilities """ elif False: - ModelServingConfigServedEntityExternalModelArgsDict: TypeAlias = Mapping[str, Any] + LakehouseMonitorInferenceLogArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelArgs: +class LakehouseMonitorInferenceLogArgs: def __init__(__self__, *, - name: pulumi.Input[str], - provider: pulumi.Input[str], - task: pulumi.Input[str], - ai21labs_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']] = None, - amazon_bedrock_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']] = None, - anthropic_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']] = None, - cohere_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']] = None, - databricks_model_serving_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs']] = None, - google_cloud_vertex_ai_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']] = None, - openai_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']] = None, - palm_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']] = None): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]], + model_id_col: pulumi.Input[str], + prediction_col: pulumi.Input[str], + problem_type: pulumi.Input[str], + timestamp_col: pulumi.Input[str], + label_col: Optional[pulumi.Input[str]] = None, + prediction_proba_col: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] name: The name of the external model. - :param pulumi.Input[str] provider: The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. - :param pulumi.Input[str] task: The task type of the external model. - :param pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs'] ai21labs_config: AI21Labs Config - :param pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs'] amazon_bedrock_config: Amazon Bedrock Config - :param pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs'] anthropic_config: Anthropic Config - :param pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs'] cohere_config: Cohere Config - :param pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs'] databricks_model_serving_config: Databricks Model Serving Config - :param pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs'] google_cloud_vertex_ai_config: Google Cloud Vertex AI Config. - :param pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs'] openai_config: OpenAI Config - :param pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs'] palm_config: PaLM Config + :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param pulumi.Input[str] model_id_col: Column of the model id or version + :param pulumi.Input[str] prediction_col: Column of the model prediction + :param pulumi.Input[str] problem_type: Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions + :param pulumi.Input[str] label_col: Column of the model label + :param pulumi.Input[str] prediction_proba_col: Column of the model prediction probabilities """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "provider", provider) - pulumi.set(__self__, "task", task) - if ai21labs_config is not None: - pulumi.set(__self__, "ai21labs_config", ai21labs_config) - if amazon_bedrock_config is not None: - pulumi.set(__self__, "amazon_bedrock_config", amazon_bedrock_config) - if anthropic_config is not None: - pulumi.set(__self__, "anthropic_config", anthropic_config) - if cohere_config is not None: - pulumi.set(__self__, "cohere_config", cohere_config) - if databricks_model_serving_config is not None: - pulumi.set(__self__, "databricks_model_serving_config", databricks_model_serving_config) - if google_cloud_vertex_ai_config is not None: - pulumi.set(__self__, "google_cloud_vertex_ai_config", google_cloud_vertex_ai_config) - if openai_config is not None: - pulumi.set(__self__, "openai_config", openai_config) - if palm_config is not None: - pulumi.set(__self__, "palm_config", palm_config) + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "model_id_col", model_id_col) + pulumi.set(__self__, "prediction_col", prediction_col) + pulumi.set(__self__, "problem_type", problem_type) + pulumi.set(__self__, "timestamp_col", timestamp_col) + if label_col is not None: + pulumi.set(__self__, "label_col", label_col) + if prediction_proba_col is not None: + pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: + def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - The name of the external model. + List of granularities to use when aggregating data into time windows based on their timestamp. """ - return pulumi.get(self, "name") + return pulumi.get(self, "granularities") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @granularities.setter + def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "granularities", value) @property - @pulumi.getter - def provider(self) -> pulumi.Input[str]: + @pulumi.getter(name="modelIdCol") + def model_id_col(self) -> pulumi.Input[str]: """ - The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. + Column of the model id or version """ - return pulumi.get(self, "provider") + return pulumi.get(self, "model_id_col") - @provider.setter - def provider(self, value: pulumi.Input[str]): - pulumi.set(self, "provider", value) + @model_id_col.setter + def model_id_col(self, value: pulumi.Input[str]): + pulumi.set(self, "model_id_col", value) @property - @pulumi.getter - def task(self) -> pulumi.Input[str]: + @pulumi.getter(name="predictionCol") + def prediction_col(self) -> pulumi.Input[str]: """ - The task type of the external model. + Column of the model prediction """ - return pulumi.get(self, "task") + return pulumi.get(self, "prediction_col") - @task.setter - def task(self, value: pulumi.Input[str]): - pulumi.set(self, "task", value) + @prediction_col.setter + def prediction_col(self, value: pulumi.Input[str]): + pulumi.set(self, "prediction_col", value) @property - @pulumi.getter(name="ai21labsConfig") - def ai21labs_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']]: + @pulumi.getter(name="problemType") + def problem_type(self) -> pulumi.Input[str]: """ - AI21Labs Config + Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` """ - return pulumi.get(self, "ai21labs_config") + return pulumi.get(self, "problem_type") - @ai21labs_config.setter - def ai21labs_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']]): - pulumi.set(self, "ai21labs_config", value) + @problem_type.setter + def problem_type(self, value: pulumi.Input[str]): + pulumi.set(self, "problem_type", value) @property - @pulumi.getter(name="amazonBedrockConfig") - def amazon_bedrock_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']]: + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> pulumi.Input[str]: """ - Amazon Bedrock Config + Column of the timestamp of predictions """ - return pulumi.get(self, "amazon_bedrock_config") + return pulumi.get(self, "timestamp_col") - @amazon_bedrock_config.setter - def amazon_bedrock_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']]): - pulumi.set(self, "amazon_bedrock_config", value) + @timestamp_col.setter + def timestamp_col(self, value: pulumi.Input[str]): + pulumi.set(self, "timestamp_col", value) @property - @pulumi.getter(name="anthropicConfig") - def anthropic_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']]: + @pulumi.getter(name="labelCol") + def label_col(self) -> Optional[pulumi.Input[str]]: """ - Anthropic Config + Column of the model label """ - return pulumi.get(self, "anthropic_config") + return pulumi.get(self, "label_col") - @anthropic_config.setter - def anthropic_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']]): - pulumi.set(self, "anthropic_config", value) + @label_col.setter + def label_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label_col", value) @property - @pulumi.getter(name="cohereConfig") - def cohere_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']]: + @pulumi.getter(name="predictionProbaCol") + def prediction_proba_col(self) -> Optional[pulumi.Input[str]]: """ - Cohere Config + Column of the model prediction probabilities """ - return pulumi.get(self, "cohere_config") + return pulumi.get(self, "prediction_proba_col") - @cohere_config.setter - def cohere_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']]): - pulumi.set(self, "cohere_config", value) + @prediction_proba_col.setter + def prediction_proba_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prediction_proba_col", value) - @property - @pulumi.getter(name="databricksModelServingConfig") - def databricks_model_serving_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs']]: + +if not MYPY: + class LakehouseMonitorNotificationsArgsDict(TypedDict): + on_failure: NotRequired[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgsDict']] """ - Databricks Model Serving Config + who to send notifications to on monitor failure. """ - return pulumi.get(self, "databricks_model_serving_config") + on_new_classification_tag_detected: NotRequired[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgsDict']] + """ + Who to send notifications to when new data classification tags are detected. + """ +elif False: + LakehouseMonitorNotificationsArgsDict: TypeAlias = Mapping[str, Any] - @databricks_model_serving_config.setter - def databricks_model_serving_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs']]): - pulumi.set(self, "databricks_model_serving_config", value) +@pulumi.input_type +class LakehouseMonitorNotificationsArgs: + def __init__(__self__, *, + on_failure: Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']] = None, + on_new_classification_tag_detected: Optional[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs']] = None): + """ + :param pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs'] on_failure: who to send notifications to on monitor failure. + :param pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs'] on_new_classification_tag_detected: Who to send notifications to when new data classification tags are detected. + """ + if on_failure is not None: + pulumi.set(__self__, "on_failure", on_failure) + if on_new_classification_tag_detected is not None: + pulumi.set(__self__, "on_new_classification_tag_detected", on_new_classification_tag_detected) @property - @pulumi.getter(name="googleCloudVertexAiConfig") - def google_cloud_vertex_ai_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']]: + @pulumi.getter(name="onFailure") + def on_failure(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']]: """ - Google Cloud Vertex AI Config. + who to send notifications to on monitor failure. """ - return pulumi.get(self, "google_cloud_vertex_ai_config") + return pulumi.get(self, "on_failure") - @google_cloud_vertex_ai_config.setter - def google_cloud_vertex_ai_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']]): - pulumi.set(self, "google_cloud_vertex_ai_config", value) + @on_failure.setter + def on_failure(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsOnFailureArgs']]): + pulumi.set(self, "on_failure", value) @property - @pulumi.getter(name="openaiConfig") - def openai_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']]: + @pulumi.getter(name="onNewClassificationTagDetected") + def on_new_classification_tag_detected(self) -> Optional[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs']]: """ - OpenAI Config + Who to send notifications to when new data classification tags are detected. """ - return pulumi.get(self, "openai_config") + return pulumi.get(self, "on_new_classification_tag_detected") - @openai_config.setter - def openai_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']]): - pulumi.set(self, "openai_config", value) - - @property - @pulumi.getter(name="palmConfig") - def palm_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']]: - """ - PaLM Config - """ - return pulumi.get(self, "palm_config") - - @palm_config.setter - def palm_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']]): - pulumi.set(self, "palm_config", value) + @on_new_classification_tag_detected.setter + def on_new_classification_tag_detected(self, value: Optional[pulumi.Input['LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs']]): + pulumi.set(self, "on_new_classification_tag_detected", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelAi21labsConfigArgsDict(TypedDict): - ai21labs_api_key: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for an AI21Labs API key. - """ - ai21labs_api_key_plaintext: NotRequired[pulumi.Input[str]] - """ - An AI21 Labs API key provided as a plaintext string. - """ + class LakehouseMonitorNotificationsOnFailureArgsDict(TypedDict): + email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - ModelServingConfigServedEntityExternalModelAi21labsConfigArgsDict: TypeAlias = Mapping[str, Any] + LakehouseMonitorNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelAi21labsConfigArgs: +class LakehouseMonitorNotificationsOnFailureArgs: def __init__(__self__, *, - ai21labs_api_key: Optional[pulumi.Input[str]] = None, - ai21labs_api_key_plaintext: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] ai21labs_api_key: The Databricks secret key reference for an AI21Labs API key. - :param pulumi.Input[str] ai21labs_api_key_plaintext: An AI21 Labs API key provided as a plaintext string. - """ - if ai21labs_api_key is not None: - pulumi.set(__self__, "ai21labs_api_key", ai21labs_api_key) - if ai21labs_api_key_plaintext is not None: - pulumi.set(__self__, "ai21labs_api_key_plaintext", ai21labs_api_key_plaintext) + email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) @property - @pulumi.getter(name="ai21labsApiKey") - def ai21labs_api_key(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for an AI21Labs API key. - """ - return pulumi.get(self, "ai21labs_api_key") + @pulumi.getter(name="emailAddresses") + def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "email_addresses") - @ai21labs_api_key.setter - def ai21labs_api_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ai21labs_api_key", value) + @email_addresses.setter + def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "email_addresses", value) + + +if not MYPY: + class LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgsDict(TypedDict): + email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LakehouseMonitorNotificationsOnNewClassificationTagDetectedArgs: + def __init__(__self__, *, + email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) @property - @pulumi.getter(name="ai21labsApiKeyPlaintext") - def ai21labs_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - An AI21 Labs API key provided as a plaintext string. - """ - return pulumi.get(self, "ai21labs_api_key_plaintext") + @pulumi.getter(name="emailAddresses") + def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "email_addresses") - @ai21labs_api_key_plaintext.setter - def ai21labs_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ai21labs_api_key_plaintext", value) + @email_addresses.setter + def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "email_addresses", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgsDict(TypedDict): - aws_region: pulumi.Input[str] - """ - The AWS region to use. Bedrock has to be enabled there. - """ - bedrock_provider: pulumi.Input[str] - """ - The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. - """ - aws_access_key_id: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. - """ - aws_access_key_id_plaintext: NotRequired[pulumi.Input[str]] + class LakehouseMonitorScheduleArgsDict(TypedDict): + quartz_cron_expression: pulumi.Input[str] """ - An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. """ - aws_secret_access_key: NotRequired[pulumi.Input[str]] + timezone_id: pulumi.Input[str] """ - The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. """ - aws_secret_access_key_plaintext: NotRequired[pulumi.Input[str]] + pause_status: NotRequired[pulumi.Input[str]] """ - An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. + optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). """ elif False: - ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgsDict: TypeAlias = Mapping[str, Any] + LakehouseMonitorScheduleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs: +class LakehouseMonitorScheduleArgs: def __init__(__self__, *, - aws_region: pulumi.Input[str], - bedrock_provider: pulumi.Input[str], - aws_access_key_id: Optional[pulumi.Input[str]] = None, - aws_access_key_id_plaintext: Optional[pulumi.Input[str]] = None, - aws_secret_access_key: Optional[pulumi.Input[str]] = None, - aws_secret_access_key_plaintext: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aws_region: The AWS region to use. Bedrock has to be enabled there. - :param pulumi.Input[str] bedrock_provider: The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. - :param pulumi.Input[str] aws_access_key_id: The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. - :param pulumi.Input[str] aws_access_key_id_plaintext: An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. - :param pulumi.Input[str] aws_secret_access_key: The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. - :param pulumi.Input[str] aws_secret_access_key_plaintext: An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. - """ - pulumi.set(__self__, "aws_region", aws_region) - pulumi.set(__self__, "bedrock_provider", bedrock_provider) - if aws_access_key_id is not None: - pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) - if aws_access_key_id_plaintext is not None: - pulumi.set(__self__, "aws_access_key_id_plaintext", aws_access_key_id_plaintext) - if aws_secret_access_key is not None: - pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) - if aws_secret_access_key_plaintext is not None: - pulumi.set(__self__, "aws_secret_access_key_plaintext", aws_secret_access_key_plaintext) - - @property - @pulumi.getter(name="awsRegion") - def aws_region(self) -> pulumi.Input[str]: + quartz_cron_expression: pulumi.Input[str], + timezone_id: pulumi.Input[str], + pause_status: Optional[pulumi.Input[str]] = None): """ - The AWS region to use. Bedrock has to be enabled there. + :param pulumi.Input[str] quartz_cron_expression: string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + :param pulumi.Input[str] timezone_id: string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + :param pulumi.Input[str] pause_status: optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). """ - return pulumi.get(self, "aws_region") - - @aws_region.setter - def aws_region(self, value: pulumi.Input[str]): - pulumi.set(self, "aws_region", value) + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) @property - @pulumi.getter(name="bedrockProvider") - def bedrock_provider(self) -> pulumi.Input[str]: + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> pulumi.Input[str]: """ - The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. """ - return pulumi.get(self, "bedrock_provider") + return pulumi.get(self, "quartz_cron_expression") - @bedrock_provider.setter - def bedrock_provider(self, value: pulumi.Input[str]): - pulumi.set(self, "bedrock_provider", value) + @quartz_cron_expression.setter + def quartz_cron_expression(self, value: pulumi.Input[str]): + pulumi.set(self, "quartz_cron_expression", value) @property - @pulumi.getter(name="awsAccessKeyId") - def aws_access_key_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> pulumi.Input[str]: """ - The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. """ - return pulumi.get(self, "aws_access_key_id") + return pulumi.get(self, "timezone_id") - @aws_access_key_id.setter - def aws_access_key_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_access_key_id", value) + @timezone_id.setter + def timezone_id(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone_id", value) @property - @pulumi.getter(name="awsAccessKeyIdPlaintext") - def aws_access_key_id_plaintext(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[pulumi.Input[str]]: """ - An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + optional string field that indicates whether a schedule is paused (`PAUSED`) or not (`UNPAUSED`). """ - return pulumi.get(self, "aws_access_key_id_plaintext") - - @aws_access_key_id_plaintext.setter - def aws_access_key_id_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_access_key_id_plaintext", value) + return pulumi.get(self, "pause_status") - @property - @pulumi.getter(name="awsSecretAccessKey") - def aws_secret_access_key(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. - """ - return pulumi.get(self, "aws_secret_access_key") + @pause_status.setter + def pause_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pause_status", value) - @aws_secret_access_key.setter - def aws_secret_access_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_secret_access_key", value) - @property - @pulumi.getter(name="awsSecretAccessKeyPlaintext") - def aws_secret_access_key_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. - """ - return pulumi.get(self, "aws_secret_access_key_plaintext") +if not MYPY: + class LakehouseMonitorSnapshotArgsDict(TypedDict): + pass +elif False: + LakehouseMonitorSnapshotArgsDict: TypeAlias = Mapping[str, Any] - @aws_secret_access_key_plaintext.setter - def aws_secret_access_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_secret_access_key_plaintext", value) +@pulumi.input_type +class LakehouseMonitorSnapshotArgs: + def __init__(__self__): + pass if not MYPY: - class ModelServingConfigServedEntityExternalModelAnthropicConfigArgsDict(TypedDict): - anthropic_api_key: NotRequired[pulumi.Input[str]] + class LakehouseMonitorTimeSeriesArgsDict(TypedDict): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]] """ - The Databricks secret key reference for an Anthropic API key. + List of granularities to use when aggregating data into time windows based on their timestamp. """ - anthropic_api_key_plaintext: NotRequired[pulumi.Input[str]] + timestamp_col: pulumi.Input[str] """ - The Anthropic API key provided as a plaintext string. + Column of the timestamp of predictions """ elif False: - ModelServingConfigServedEntityExternalModelAnthropicConfigArgsDict: TypeAlias = Mapping[str, Any] + LakehouseMonitorTimeSeriesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelAnthropicConfigArgs: +class LakehouseMonitorTimeSeriesArgs: def __init__(__self__, *, - anthropic_api_key: Optional[pulumi.Input[str]] = None, - anthropic_api_key_plaintext: Optional[pulumi.Input[str]] = None): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]], + timestamp_col: pulumi.Input[str]): """ - :param pulumi.Input[str] anthropic_api_key: The Databricks secret key reference for an Anthropic API key. - :param pulumi.Input[str] anthropic_api_key_plaintext: The Anthropic API key provided as a plaintext string. + :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions """ - if anthropic_api_key is not None: - pulumi.set(__self__, "anthropic_api_key", anthropic_api_key) - if anthropic_api_key_plaintext is not None: - pulumi.set(__self__, "anthropic_api_key_plaintext", anthropic_api_key_plaintext) + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "timestamp_col", timestamp_col) @property - @pulumi.getter(name="anthropicApiKey") - def anthropic_api_key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - The Databricks secret key reference for an Anthropic API key. + List of granularities to use when aggregating data into time windows based on their timestamp. """ - return pulumi.get(self, "anthropic_api_key") + return pulumi.get(self, "granularities") - @anthropic_api_key.setter - def anthropic_api_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "anthropic_api_key", value) + @granularities.setter + def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "granularities", value) @property - @pulumi.getter(name="anthropicApiKeyPlaintext") - def anthropic_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> pulumi.Input[str]: """ - The Anthropic API key provided as a plaintext string. + Column of the timestamp of predictions """ - return pulumi.get(self, "anthropic_api_key_plaintext") + return pulumi.get(self, "timestamp_col") - @anthropic_api_key_plaintext.setter - def anthropic_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "anthropic_api_key_plaintext", value) + @timestamp_col.setter + def timestamp_col(self, value: pulumi.Input[str]): + pulumi.set(self, "timestamp_col", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelCohereConfigArgsDict(TypedDict): - cohere_api_base: NotRequired[pulumi.Input[str]] - cohere_api_key: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for a Cohere API key. - """ - cohere_api_key_plaintext: NotRequired[pulumi.Input[str]] - """ - The Cohere API key provided as a plaintext string. - """ + class LibraryCranArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - ModelServingConfigServedEntityExternalModelCohereConfigArgsDict: TypeAlias = Mapping[str, Any] + LibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelCohereConfigArgs: +class LibraryCranArgs: def __init__(__self__, *, - cohere_api_base: Optional[pulumi.Input[str]] = None, - cohere_api_key: Optional[pulumi.Input[str]] = None, - cohere_api_key_plaintext: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] cohere_api_key: The Databricks secret key reference for a Cohere API key. - :param pulumi.Input[str] cohere_api_key_plaintext: The Cohere API key provided as a plaintext string. - """ - if cohere_api_base is not None: - pulumi.set(__self__, "cohere_api_base", cohere_api_base) - if cohere_api_key is not None: - pulumi.set(__self__, "cohere_api_key", cohere_api_key) - if cohere_api_key_plaintext is not None: - pulumi.set(__self__, "cohere_api_key_plaintext", cohere_api_key_plaintext) - - @property - @pulumi.getter(name="cohereApiBase") - def cohere_api_base(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cohere_api_base") - - @cohere_api_base.setter - def cohere_api_base(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cohere_api_base", value) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="cohereApiKey") - def cohere_api_key(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for a Cohere API key. - """ - return pulumi.get(self, "cohere_api_key") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @cohere_api_key.setter - def cohere_api_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cohere_api_key", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="cohereApiKeyPlaintext") - def cohere_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - The Cohere API key provided as a plaintext string. - """ - return pulumi.get(self, "cohere_api_key_plaintext") + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @cohere_api_key_plaintext.setter - def cohere_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cohere_api_key_plaintext", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict(TypedDict): - databricks_workspace_url: pulumi.Input[str] - """ - The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. - """ - databricks_api_token: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. - """ - databricks_api_token_plaintext: NotRequired[pulumi.Input[str]] - """ - The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. - """ + class LibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] elif False: - ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict: TypeAlias = Mapping[str, Any] + LibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs: +class LibraryMavenArgs: def __init__(__self__, *, - databricks_workspace_url: pulumi.Input[str], - databricks_api_token: Optional[pulumi.Input[str]] = None, - databricks_api_token_plaintext: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] databricks_workspace_url: The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. - :param pulumi.Input[str] databricks_api_token: The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. - :param pulumi.Input[str] databricks_api_token_plaintext: The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. - """ - pulumi.set(__self__, "databricks_workspace_url", databricks_workspace_url) - if databricks_api_token is not None: - pulumi.set(__self__, "databricks_api_token", databricks_api_token) - if databricks_api_token_plaintext is not None: - pulumi.set(__self__, "databricks_api_token_plaintext", databricks_api_token_plaintext) + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="databricksWorkspaceUrl") - def databricks_workspace_url(self) -> pulumi.Input[str]: - """ - The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. - """ - return pulumi.get(self, "databricks_workspace_url") + @pulumi.getter + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") - @databricks_workspace_url.setter - def databricks_workspace_url(self, value: pulumi.Input[str]): - pulumi.set(self, "databricks_workspace_url", value) + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) @property - @pulumi.getter(name="databricksApiToken") - def databricks_api_token(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. - """ - return pulumi.get(self, "databricks_api_token") + @pulumi.getter + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") - @databricks_api_token.setter - def databricks_api_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "databricks_api_token", value) + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) @property - @pulumi.getter(name="databricksApiTokenPlaintext") - def databricks_api_token_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. - """ - return pulumi.get(self, "databricks_api_token_plaintext") + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @databricks_api_token_plaintext.setter - def databricks_api_token_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "databricks_api_token_plaintext", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict(TypedDict): - private_key: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. - """ - private_key_plaintext: NotRequired[pulumi.Input[str]] - """ - The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. - """ - project_id: NotRequired[pulumi.Input[str]] - """ - This is the Google Cloud project id that the service account is associated with. - """ - region: NotRequired[pulumi.Input[str]] - """ - This is the region for the Google Cloud Vertex AI Service. - """ + class LibraryPypiArgsDict(TypedDict): + package: pulumi.Input[str] + repo: NotRequired[pulumi.Input[str]] elif False: - ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict: TypeAlias = Mapping[str, Any] + LibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs: +class LibraryPypiArgs: def __init__(__self__, *, - private_key: Optional[pulumi.Input[str]] = None, - private_key_plaintext: Optional[pulumi.Input[str]] = None, - project_id: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] private_key: The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. - :param pulumi.Input[str] private_key_plaintext: The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. - :param pulumi.Input[str] project_id: This is the Google Cloud project id that the service account is associated with. - :param pulumi.Input[str] region: This is the region for the Google Cloud Vertex AI Service. - """ - if private_key is not None: - pulumi.set(__self__, "private_key", private_key) - if private_key_plaintext is not None: - pulumi.set(__self__, "private_key_plaintext", private_key_plaintext) - if project_id is not None: - pulumi.set(__self__, "project_id", project_id) - if region is not None: - pulumi.set(__self__, "region", region) + package: pulumi.Input[str], + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. - """ - return pulumi.get(self, "private_key") + @pulumi.getter + def package(self) -> pulumi.Input[str]: + return pulumi.get(self, "package") - @private_key.setter - def private_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_key", value) + @package.setter + def package(self, value: pulumi.Input[str]): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="privateKeyPlaintext") - def private_key_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. - """ - return pulumi.get(self, "private_key_plaintext") + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") - @private_key_plaintext.setter - def private_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_key_plaintext", value) + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) + + +if not MYPY: + class MetastoreDataAccessAwsIamRoleArgsDict(TypedDict): + role_arn: pulumi.Input[str] + external_id: NotRequired[pulumi.Input[str]] + unity_catalog_iam_arn: NotRequired[pulumi.Input[str]] +elif False: + MetastoreDataAccessAwsIamRoleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MetastoreDataAccessAwsIamRoleArgs: + def __init__(__self__, *, + role_arn: pulumi.Input[str], + external_id: Optional[pulumi.Input[str]] = None, + unity_catalog_iam_arn: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "role_arn", role_arn) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if unity_catalog_iam_arn is not None: + pulumi.set(__self__, "unity_catalog_iam_arn", unity_catalog_iam_arn) @property - @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[str]]: - """ - This is the Google Cloud project id that the service account is associated with. - """ - return pulumi.get(self, "project_id") + @pulumi.getter(name="roleArn") + def role_arn(self) -> pulumi.Input[str]: + return pulumi.get(self, "role_arn") - @project_id.setter - def project_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "project_id", value) + @role_arn.setter + def role_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "role_arn", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - """ - This is the region for the Google Cloud Vertex AI Service. - """ - return pulumi.get(self, "region") + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "external_id") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter(name="unityCatalogIamArn") + def unity_catalog_iam_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "unity_catalog_iam_arn") + + @unity_catalog_iam_arn.setter + def unity_catalog_iam_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "unity_catalog_iam_arn", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelOpenaiConfigArgsDict(TypedDict): - microsoft_entra_client_id: NotRequired[pulumi.Input[str]] - """ - This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. - """ - microsoft_entra_client_secret: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. - """ - microsoft_entra_client_secret_plaintext: NotRequired[pulumi.Input[str]] - """ - The client secret used for Microsoft Entra ID authentication provided as a plaintext string. - """ - microsoft_entra_tenant_id: NotRequired[pulumi.Input[str]] - """ - This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. - """ - openai_api_base: NotRequired[pulumi.Input[str]] - """ - This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. - """ - openai_api_key: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for an OpenAI or Azure OpenAI API key. - """ - openai_api_key_plaintext: NotRequired[pulumi.Input[str]] - """ - The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. - """ - openai_api_type: NotRequired[pulumi.Input[str]] - """ - This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. - """ - openai_api_version: NotRequired[pulumi.Input[str]] - """ - This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. - """ - openai_deployment_name: NotRequired[pulumi.Input[str]] - """ - This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. - """ - openai_organization: NotRequired[pulumi.Input[str]] - """ - This is an optional field to specify the organization in OpenAI or Azure OpenAI. - """ + class MetastoreDataAccessAzureManagedIdentityArgsDict(TypedDict): + access_connector_id: pulumi.Input[str] + credential_id: NotRequired[pulumi.Input[str]] + managed_identity_id: NotRequired[pulumi.Input[str]] elif False: - ModelServingConfigServedEntityExternalModelOpenaiConfigArgsDict: TypeAlias = Mapping[str, Any] + MetastoreDataAccessAzureManagedIdentityArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelOpenaiConfigArgs: +class MetastoreDataAccessAzureManagedIdentityArgs: def __init__(__self__, *, - microsoft_entra_client_id: Optional[pulumi.Input[str]] = None, - microsoft_entra_client_secret: Optional[pulumi.Input[str]] = None, - microsoft_entra_client_secret_plaintext: Optional[pulumi.Input[str]] = None, - microsoft_entra_tenant_id: Optional[pulumi.Input[str]] = None, - openai_api_base: Optional[pulumi.Input[str]] = None, - openai_api_key: Optional[pulumi.Input[str]] = None, - openai_api_key_plaintext: Optional[pulumi.Input[str]] = None, - openai_api_type: Optional[pulumi.Input[str]] = None, - openai_api_version: Optional[pulumi.Input[str]] = None, - openai_deployment_name: Optional[pulumi.Input[str]] = None, - openai_organization: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] microsoft_entra_client_id: This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. - :param pulumi.Input[str] microsoft_entra_client_secret: The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. - :param pulumi.Input[str] microsoft_entra_client_secret_plaintext: The client secret used for Microsoft Entra ID authentication provided as a plaintext string. - :param pulumi.Input[str] microsoft_entra_tenant_id: This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. - :param pulumi.Input[str] openai_api_base: This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. - :param pulumi.Input[str] openai_api_key: The Databricks secret key reference for an OpenAI or Azure OpenAI API key. - :param pulumi.Input[str] openai_api_key_plaintext: The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. - :param pulumi.Input[str] openai_api_type: This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. - :param pulumi.Input[str] openai_api_version: This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. - :param pulumi.Input[str] openai_deployment_name: This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. - :param pulumi.Input[str] openai_organization: This is an optional field to specify the organization in OpenAI or Azure OpenAI. - """ - if microsoft_entra_client_id is not None: - pulumi.set(__self__, "microsoft_entra_client_id", microsoft_entra_client_id) - if microsoft_entra_client_secret is not None: - pulumi.set(__self__, "microsoft_entra_client_secret", microsoft_entra_client_secret) - if microsoft_entra_client_secret_plaintext is not None: - pulumi.set(__self__, "microsoft_entra_client_secret_plaintext", microsoft_entra_client_secret_plaintext) - if microsoft_entra_tenant_id is not None: - pulumi.set(__self__, "microsoft_entra_tenant_id", microsoft_entra_tenant_id) - if openai_api_base is not None: - pulumi.set(__self__, "openai_api_base", openai_api_base) - if openai_api_key is not None: - pulumi.set(__self__, "openai_api_key", openai_api_key) - if openai_api_key_plaintext is not None: - pulumi.set(__self__, "openai_api_key_plaintext", openai_api_key_plaintext) - if openai_api_type is not None: - pulumi.set(__self__, "openai_api_type", openai_api_type) - if openai_api_version is not None: - pulumi.set(__self__, "openai_api_version", openai_api_version) - if openai_deployment_name is not None: - pulumi.set(__self__, "openai_deployment_name", openai_deployment_name) - if openai_organization is not None: - pulumi.set(__self__, "openai_organization", openai_organization) + access_connector_id: pulumi.Input[str], + credential_id: Optional[pulumi.Input[str]] = None, + managed_identity_id: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "access_connector_id", access_connector_id) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if managed_identity_id is not None: + pulumi.set(__self__, "managed_identity_id", managed_identity_id) @property - @pulumi.getter(name="microsoftEntraClientId") - def microsoft_entra_client_id(self) -> Optional[pulumi.Input[str]]: - """ - This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. - """ - return pulumi.get(self, "microsoft_entra_client_id") + @pulumi.getter(name="accessConnectorId") + def access_connector_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "access_connector_id") - @microsoft_entra_client_id.setter - def microsoft_entra_client_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "microsoft_entra_client_id", value) + @access_connector_id.setter + def access_connector_id(self, value: pulumi.Input[str]): + pulumi.set(self, "access_connector_id", value) @property - @pulumi.getter(name="microsoftEntraClientSecret") - def microsoft_entra_client_secret(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. - """ - return pulumi.get(self, "microsoft_entra_client_secret") + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential_id") - @microsoft_entra_client_secret.setter - def microsoft_entra_client_secret(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "microsoft_entra_client_secret", value) + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) @property - @pulumi.getter(name="microsoftEntraClientSecretPlaintext") - def microsoft_entra_client_secret_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - The client secret used for Microsoft Entra ID authentication provided as a plaintext string. - """ - return pulumi.get(self, "microsoft_entra_client_secret_plaintext") + @pulumi.getter(name="managedIdentityId") + def managed_identity_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "managed_identity_id") - @microsoft_entra_client_secret_plaintext.setter - def microsoft_entra_client_secret_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "microsoft_entra_client_secret_plaintext", value) + @managed_identity_id.setter + def managed_identity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_identity_id", value) - @property - @pulumi.getter(name="microsoftEntraTenantId") - def microsoft_entra_tenant_id(self) -> Optional[pulumi.Input[str]]: - """ - This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. - """ - return pulumi.get(self, "microsoft_entra_tenant_id") - @microsoft_entra_tenant_id.setter - def microsoft_entra_tenant_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "microsoft_entra_tenant_id", value) +if not MYPY: + class MetastoreDataAccessAzureServicePrincipalArgsDict(TypedDict): + application_id: pulumi.Input[str] + client_secret: pulumi.Input[str] + directory_id: pulumi.Input[str] +elif False: + MetastoreDataAccessAzureServicePrincipalArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MetastoreDataAccessAzureServicePrincipalArgs: + def __init__(__self__, *, + application_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + directory_id: pulumi.Input[str]): + pulumi.set(__self__, "application_id", application_id) + pulumi.set(__self__, "client_secret", client_secret) + pulumi.set(__self__, "directory_id", directory_id) @property - @pulumi.getter(name="openaiApiBase") - def openai_api_base(self) -> Optional[pulumi.Input[str]]: - """ - This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. - """ - return pulumi.get(self, "openai_api_base") + @pulumi.getter(name="applicationId") + def application_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "application_id") - @openai_api_base.setter - def openai_api_base(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_api_base", value) + @application_id.setter + def application_id(self, value: pulumi.Input[str]): + pulumi.set(self, "application_id", value) @property - @pulumi.getter(name="openaiApiKey") - def openai_api_key(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for an OpenAI or Azure OpenAI API key. - """ - return pulumi.get(self, "openai_api_key") + @pulumi.getter(name="clientSecret") + def client_secret(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_secret") - @openai_api_key.setter - def openai_api_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_api_key", value) + @client_secret.setter + def client_secret(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret", value) @property - @pulumi.getter(name="openaiApiKeyPlaintext") - def openai_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. - """ - return pulumi.get(self, "openai_api_key_plaintext") + @pulumi.getter(name="directoryId") + def directory_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "directory_id") - @openai_api_key_plaintext.setter - def openai_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_api_key_plaintext", value) + @directory_id.setter + def directory_id(self, value: pulumi.Input[str]): + pulumi.set(self, "directory_id", value) - @property - @pulumi.getter(name="openaiApiType") - def openai_api_type(self) -> Optional[pulumi.Input[str]]: - """ - This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. - """ - return pulumi.get(self, "openai_api_type") - @openai_api_type.setter - def openai_api_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_api_type", value) +if not MYPY: + class MetastoreDataAccessCloudflareApiTokenArgsDict(TypedDict): + access_key_id: pulumi.Input[str] + account_id: pulumi.Input[str] + secret_access_key: pulumi.Input[str] +elif False: + MetastoreDataAccessCloudflareApiTokenArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MetastoreDataAccessCloudflareApiTokenArgs: + def __init__(__self__, *, + access_key_id: pulumi.Input[str], + account_id: pulumi.Input[str], + secret_access_key: pulumi.Input[str]): + pulumi.set(__self__, "access_key_id", access_key_id) + pulumi.set(__self__, "account_id", account_id) + pulumi.set(__self__, "secret_access_key", secret_access_key) @property - @pulumi.getter(name="openaiApiVersion") - def openai_api_version(self) -> Optional[pulumi.Input[str]]: - """ - This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. - """ - return pulumi.get(self, "openai_api_version") + @pulumi.getter(name="accessKeyId") + def access_key_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "access_key_id") - @openai_api_version.setter - def openai_api_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_api_version", value) + @access_key_id.setter + def access_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "access_key_id", value) @property - @pulumi.getter(name="openaiDeploymentName") - def openai_deployment_name(self) -> Optional[pulumi.Input[str]]: - """ - This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. - """ - return pulumi.get(self, "openai_deployment_name") + @pulumi.getter(name="accountId") + def account_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "account_id") - @openai_deployment_name.setter - def openai_deployment_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_deployment_name", value) + @account_id.setter + def account_id(self, value: pulumi.Input[str]): + pulumi.set(self, "account_id", value) @property - @pulumi.getter(name="openaiOrganization") - def openai_organization(self) -> Optional[pulumi.Input[str]]: - """ - This is an optional field to specify the organization in OpenAI or Azure OpenAI. - """ - return pulumi.get(self, "openai_organization") + @pulumi.getter(name="secretAccessKey") + def secret_access_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "secret_access_key") - @openai_organization.setter - def openai_organization(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "openai_organization", value) + @secret_access_key.setter + def secret_access_key(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_access_key", value) if not MYPY: - class ModelServingConfigServedEntityExternalModelPalmConfigArgsDict(TypedDict): - palm_api_key: NotRequired[pulumi.Input[str]] - """ - The Databricks secret key reference for a PaLM API key. - """ - palm_api_key_plaintext: NotRequired[pulumi.Input[str]] - """ - The PaLM API key provided as a plaintext string. - """ + class MetastoreDataAccessDatabricksGcpServiceAccountArgsDict(TypedDict): + credential_id: NotRequired[pulumi.Input[str]] + email: NotRequired[pulumi.Input[str]] elif False: - ModelServingConfigServedEntityExternalModelPalmConfigArgsDict: TypeAlias = Mapping[str, Any] + MetastoreDataAccessDatabricksGcpServiceAccountArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedEntityExternalModelPalmConfigArgs: +class MetastoreDataAccessDatabricksGcpServiceAccountArgs: def __init__(__self__, *, - palm_api_key: Optional[pulumi.Input[str]] = None, - palm_api_key_plaintext: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] palm_api_key: The Databricks secret key reference for a PaLM API key. - :param pulumi.Input[str] palm_api_key_plaintext: The PaLM API key provided as a plaintext string. - """ - if palm_api_key is not None: - pulumi.set(__self__, "palm_api_key", palm_api_key) - if palm_api_key_plaintext is not None: - pulumi.set(__self__, "palm_api_key_plaintext", palm_api_key_plaintext) + credential_id: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None): + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if email is not None: + pulumi.set(__self__, "email", email) @property - @pulumi.getter(name="palmApiKey") - def palm_api_key(self) -> Optional[pulumi.Input[str]]: - """ - The Databricks secret key reference for a PaLM API key. - """ - return pulumi.get(self, "palm_api_key") + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential_id") - @palm_api_key.setter - def palm_api_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "palm_api_key", value) + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) @property - @pulumi.getter(name="palmApiKeyPlaintext") - def palm_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: - """ - The PaLM API key provided as a plaintext string. - """ - return pulumi.get(self, "palm_api_key_plaintext") + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "email") - @palm_api_key_plaintext.setter - def palm_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "palm_api_key_plaintext", value) + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) if not MYPY: - class ModelServingConfigServedModelArgsDict(TypedDict): - model_name: pulumi.Input[str] - """ - The name of the model in Databricks Model Registry to be served. - """ - model_version: pulumi.Input[str] - """ - The version of the model in Databricks Model Registry to be served. - """ - environment_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - """ - a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. - """ - instance_profile_arn: NotRequired[pulumi.Input[str]] - """ - ARN of the instance profile that the served model will use to access AWS resources. - """ - max_provisioned_throughput: NotRequired[pulumi.Input[int]] - """ - The maximum tokens per second that the endpoint can scale up to. - """ - min_provisioned_throughput: NotRequired[pulumi.Input[int]] - """ - The minimum tokens per second that the endpoint can scale down to. - """ - name: NotRequired[pulumi.Input[str]] - """ - The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. - """ - scale_to_zero_enabled: NotRequired[pulumi.Input[bool]] - """ - Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. - """ - workload_size: NotRequired[pulumi.Input[str]] - """ - The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). - """ - workload_type: NotRequired[pulumi.Input[str]] - """ - The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. - """ + class MetastoreDataAccessGcpServiceAccountKeyArgsDict(TypedDict): + email: pulumi.Input[str] + private_key: pulumi.Input[str] + private_key_id: pulumi.Input[str] elif False: - ModelServingConfigServedModelArgsDict: TypeAlias = Mapping[str, Any] + MetastoreDataAccessGcpServiceAccountKeyArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigServedModelArgs: +class MetastoreDataAccessGcpServiceAccountKeyArgs: def __init__(__self__, *, - model_name: pulumi.Input[str], - model_version: pulumi.Input[str], - environment_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - max_provisioned_throughput: Optional[pulumi.Input[int]] = None, - min_provisioned_throughput: Optional[pulumi.Input[int]] = None, - name: Optional[pulumi.Input[str]] = None, - scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None, - workload_size: Optional[pulumi.Input[str]] = None, - workload_type: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] model_name: The name of the model in Databricks Model Registry to be served. - :param pulumi.Input[str] model_version: The version of the model in Databricks Model Registry to be served. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_vars: a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. - :param pulumi.Input[str] instance_profile_arn: ARN of the instance profile that the served model will use to access AWS resources. - :param pulumi.Input[int] max_provisioned_throughput: The maximum tokens per second that the endpoint can scale up to. - :param pulumi.Input[int] min_provisioned_throughput: The minimum tokens per second that the endpoint can scale down to. - :param pulumi.Input[str] name: The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. - :param pulumi.Input[bool] scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. - :param pulumi.Input[str] workload_size: The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). - :param pulumi.Input[str] workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. - """ - pulumi.set(__self__, "model_name", model_name) - pulumi.set(__self__, "model_version", model_version) - if environment_vars is not None: - pulumi.set(__self__, "environment_vars", environment_vars) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if max_provisioned_throughput is not None: - pulumi.set(__self__, "max_provisioned_throughput", max_provisioned_throughput) - if min_provisioned_throughput is not None: - pulumi.set(__self__, "min_provisioned_throughput", min_provisioned_throughput) - if name is not None: - pulumi.set(__self__, "name", name) - if scale_to_zero_enabled is not None: - pulumi.set(__self__, "scale_to_zero_enabled", scale_to_zero_enabled) - if workload_size is not None: - pulumi.set(__self__, "workload_size", workload_size) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + email: pulumi.Input[str], + private_key: pulumi.Input[str], + private_key_id: pulumi.Input[str]): + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "private_key", private_key) + pulumi.set(__self__, "private_key_id", private_key_id) @property - @pulumi.getter(name="modelName") - def model_name(self) -> pulumi.Input[str]: - """ - The name of the model in Databricks Model Registry to be served. - """ - return pulumi.get(self, "model_name") + @pulumi.getter + def email(self) -> pulumi.Input[str]: + return pulumi.get(self, "email") - @model_name.setter - def model_name(self, value: pulumi.Input[str]): - pulumi.set(self, "model_name", value) + @email.setter + def email(self, value: pulumi.Input[str]): + pulumi.set(self, "email", value) @property - @pulumi.getter(name="modelVersion") - def model_version(self) -> pulumi.Input[str]: - """ - The version of the model in Databricks Model Registry to be served. - """ - return pulumi.get(self, "model_version") + @pulumi.getter(name="privateKey") + def private_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "private_key") - @model_version.setter - def model_version(self, value: pulumi.Input[str]): - pulumi.set(self, "model_version", value) + @private_key.setter + def private_key(self, value: pulumi.Input[str]): + pulumi.set(self, "private_key", value) @property - @pulumi.getter(name="environmentVars") - def environment_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. - """ - return pulumi.get(self, "environment_vars") + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "private_key_id") - @environment_vars.setter - def environment_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "environment_vars", value) + @private_key_id.setter + def private_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "private_key_id", value) - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - """ - ARN of the instance profile that the served model will use to access AWS resources. - """ - return pulumi.get(self, "instance_profile_arn") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) +if not MYPY: + class MlflowModelTagArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + value: NotRequired[pulumi.Input[str]] +elif False: + MlflowModelTagArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MlflowModelTagArgs: + def __init__(__self__, *, + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="maxProvisionedThroughput") - def max_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: - """ - The maximum tokens per second that the endpoint can scale up to. - """ - return pulumi.get(self, "max_provisioned_throughput") + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "key") - @max_provisioned_throughput.setter - def max_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_provisioned_throughput", value) + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) @property - @pulumi.getter(name="minProvisionedThroughput") - def min_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +if not MYPY: + class MlflowWebhookHttpUrlSpecArgsDict(TypedDict): + url: pulumi.Input[str] """ - The minimum tokens per second that the endpoint can scale down to. + External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. """ - return pulumi.get(self, "min_provisioned_throughput") + authorization: NotRequired[pulumi.Input[str]] + """ + Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. + """ + enable_ssl_verification: NotRequired[pulumi.Input[bool]] + """ + Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. + """ + secret: NotRequired[pulumi.Input[str]] + """ + Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`. + """ +elif False: + MlflowWebhookHttpUrlSpecArgsDict: TypeAlias = Mapping[str, Any] - @min_provisioned_throughput.setter - def min_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min_provisioned_throughput", value) +@pulumi.input_type +class MlflowWebhookHttpUrlSpecArgs: + def __init__(__self__, *, + url: pulumi.Input[str], + authorization: Optional[pulumi.Input[str]] = None, + enable_ssl_verification: Optional[pulumi.Input[bool]] = None, + secret: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] url: External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. + :param pulumi.Input[str] authorization: Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. + :param pulumi.Input[bool] enable_ssl_verification: Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. + :param pulumi.Input[str] secret: Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`. + """ + pulumi.set(__self__, "url", url) + if authorization is not None: + pulumi.set(__self__, "authorization", authorization) + if enable_ssl_verification is not None: + pulumi.set(__self__, "enable_ssl_verification", enable_ssl_verification) + if secret is not None: + pulumi.set(__self__, "secret", secret) @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + def url(self) -> pulumi.Input[str]: """ - The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. + External HTTPS URL called on event trigger (by using a POST request). Structure of payload depends on the event type, refer to [documentation](https://docs.databricks.com/applications/mlflow/model-registry-webhooks.html) for more details. """ - return pulumi.get(self, "name") + return pulumi.get(self, "url") - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="scaleToZeroEnabled") - def scale_to_zero_enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter + def authorization(self) -> Optional[pulumi.Input[str]]: """ - Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + Value of the authorization header that should be sent in the request sent by the wehbook. It should be of the form ` `, e.g. `Bearer `. If set to an empty string, no authorization header will be included in the request. """ - return pulumi.get(self, "scale_to_zero_enabled") + return pulumi.get(self, "authorization") - @scale_to_zero_enabled.setter - def scale_to_zero_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "scale_to_zero_enabled", value) + @authorization.setter + def authorization(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authorization", value) @property - @pulumi.getter(name="workloadSize") - def workload_size(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="enableSslVerification") + def enable_ssl_verification(self) -> Optional[pulumi.Input[bool]]: """ - The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). + Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host. """ - return pulumi.get(self, "workload_size") + return pulumi.get(self, "enable_ssl_verification") - @workload_size.setter - def workload_size(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "workload_size", value) + @enable_ssl_verification.setter + def enable_ssl_verification(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_ssl_verification", value) @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def secret(self) -> Optional[pulumi.Input[str]]: """ - The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. + Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`. """ - return pulumi.get(self, "workload_type") + return pulumi.get(self, "secret") - @workload_type.setter - def workload_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "workload_type", value) + @secret.setter + def secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret", value) if not MYPY: - class ModelServingConfigTrafficConfigArgsDict(TypedDict): - routes: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgsDict']]]] + class MlflowWebhookJobSpecArgsDict(TypedDict): + access_token: pulumi.Input[str] """ - Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. + The personal access token used to authorize webhook's job runs. + """ + job_id: pulumi.Input[str] + """ + ID of the Databricks job that the webhook runs. + """ + workspace_url: NotRequired[pulumi.Input[str]] + """ + URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. """ elif False: - ModelServingConfigTrafficConfigArgsDict: TypeAlias = Mapping[str, Any] + MlflowWebhookJobSpecArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingConfigTrafficConfigArgs: +class MlflowWebhookJobSpecArgs: def __init__(__self__, *, - routes: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]] = None): + access_token: pulumi.Input[str], + job_id: pulumi.Input[str], + workspace_url: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]] routes: Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. + :param pulumi.Input[str] access_token: The personal access token used to authorize webhook's job runs. + :param pulumi.Input[str] job_id: ID of the Databricks job that the webhook runs. + :param pulumi.Input[str] workspace_url: URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. """ - if routes is not None: - pulumi.set(__self__, "routes", routes) + pulumi.set(__self__, "access_token", access_token) + pulumi.set(__self__, "job_id", job_id) + if workspace_url is not None: + pulumi.set(__self__, "workspace_url", workspace_url) @property - @pulumi.getter - def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]]: + @pulumi.getter(name="accessToken") + def access_token(self) -> pulumi.Input[str]: """ - Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. + The personal access token used to authorize webhook's job runs. """ - return pulumi.get(self, "routes") - - @routes.setter - def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]]): - pulumi.set(self, "routes", value) - + return pulumi.get(self, "access_token") -if not MYPY: - class ModelServingConfigTrafficConfigRouteArgsDict(TypedDict): - served_model_name: pulumi.Input[str] - traffic_percentage: pulumi.Input[int] - """ - The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. - """ -elif False: - ModelServingConfigTrafficConfigRouteArgsDict: TypeAlias = Mapping[str, Any] + @access_token.setter + def access_token(self, value: pulumi.Input[str]): + pulumi.set(self, "access_token", value) -@pulumi.input_type -class ModelServingConfigTrafficConfigRouteArgs: - def __init__(__self__, *, - served_model_name: pulumi.Input[str], - traffic_percentage: pulumi.Input[int]): + @property + @pulumi.getter(name="jobId") + def job_id(self) -> pulumi.Input[str]: """ - :param pulumi.Input[int] traffic_percentage: The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + ID of the Databricks job that the webhook runs. """ - pulumi.set(__self__, "served_model_name", served_model_name) - pulumi.set(__self__, "traffic_percentage", traffic_percentage) - - @property - @pulumi.getter(name="servedModelName") - def served_model_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "served_model_name") + return pulumi.get(self, "job_id") - @served_model_name.setter - def served_model_name(self, value: pulumi.Input[str]): - pulumi.set(self, "served_model_name", value) + @job_id.setter + def job_id(self, value: pulumi.Input[str]): + pulumi.set(self, "job_id", value) @property - @pulumi.getter(name="trafficPercentage") - def traffic_percentage(self) -> pulumi.Input[int]: + @pulumi.getter(name="workspaceUrl") + def workspace_url(self) -> Optional[pulumi.Input[str]]: """ - The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + URL of the workspace containing the job that this webhook runs. If not specified, the job’s workspace URL is assumed to be the same as the workspace where the webhook is created. """ - return pulumi.get(self, "traffic_percentage") + return pulumi.get(self, "workspace_url") - @traffic_percentage.setter - def traffic_percentage(self, value: pulumi.Input[int]): - pulumi.set(self, "traffic_percentage", value) + @workspace_url.setter + def workspace_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_url", value) if not MYPY: - class ModelServingRateLimitArgsDict(TypedDict): - calls: pulumi.Input[int] + class ModelServingAiGatewayArgsDict(TypedDict): + guardrails: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsArgsDict']] """ - Used to specify how many calls are allowed for a key within the renewal_period. + Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: """ - renewal_period: pulumi.Input[str] + inference_table_config: NotRequired[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgsDict']] """ - Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + Block describing the configuration of usage tracking. Consists of the following attributes: """ - key: NotRequired[pulumi.Input[str]] + rate_limits: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgsDict']]]] """ - Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + Block describing rate limits for AI gateway. For details see the description of `rate_limits` block above. + """ + usage_tracking_config: NotRequired[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgsDict']] + """ + Block with configuration for payload logging using inference tables. For details see the description of `auto_capture_config` block above. """ elif False: - ModelServingRateLimitArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingRateLimitArgs: +class ModelServingAiGatewayArgs: def __init__(__self__, *, - calls: pulumi.Input[int], - renewal_period: pulumi.Input[str], - key: Optional[pulumi.Input[str]] = None): + guardrails: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsArgs']] = None, + inference_table_config: Optional[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs']] = None, + rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]]] = None, + usage_tracking_config: Optional[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs']] = None): """ - :param pulumi.Input[int] calls: Used to specify how many calls are allowed for a key within the renewal_period. - :param pulumi.Input[str] renewal_period: Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. - :param pulumi.Input[str] key: Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + :param pulumi.Input['ModelServingAiGatewayGuardrailsArgs'] guardrails: Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: + :param pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs'] inference_table_config: Block describing the configuration of usage tracking. Consists of the following attributes: + :param pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]] rate_limits: Block describing rate limits for AI gateway. For details see the description of `rate_limits` block above. + :param pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs'] usage_tracking_config: Block with configuration for payload logging using inference tables. For details see the description of `auto_capture_config` block above. """ - pulumi.set(__self__, "calls", calls) - pulumi.set(__self__, "renewal_period", renewal_period) - if key is not None: - pulumi.set(__self__, "key", key) + if guardrails is not None: + pulumi.set(__self__, "guardrails", guardrails) + if inference_table_config is not None: + pulumi.set(__self__, "inference_table_config", inference_table_config) + if rate_limits is not None: + pulumi.set(__self__, "rate_limits", rate_limits) + if usage_tracking_config is not None: + pulumi.set(__self__, "usage_tracking_config", usage_tracking_config) @property @pulumi.getter - def calls(self) -> pulumi.Input[int]: + def guardrails(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsArgs']]: """ - Used to specify how many calls are allowed for a key within the renewal_period. + Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes: """ - return pulumi.get(self, "calls") + return pulumi.get(self, "guardrails") - @calls.setter - def calls(self, value: pulumi.Input[int]): - pulumi.set(self, "calls", value) + @guardrails.setter + def guardrails(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsArgs']]): + pulumi.set(self, "guardrails", value) @property - @pulumi.getter(name="renewalPeriod") - def renewal_period(self) -> pulumi.Input[str]: + @pulumi.getter(name="inferenceTableConfig") + def inference_table_config(self) -> Optional[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs']]: """ - Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + Block describing the configuration of usage tracking. Consists of the following attributes: """ - return pulumi.get(self, "renewal_period") + return pulumi.get(self, "inference_table_config") - @renewal_period.setter - def renewal_period(self, value: pulumi.Input[str]): - pulumi.set(self, "renewal_period", value) + @inference_table_config.setter + def inference_table_config(self, value: Optional[pulumi.Input['ModelServingAiGatewayInferenceTableConfigArgs']]): + pulumi.set(self, "inference_table_config", value) @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="rateLimits") + def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]]]: """ - Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + Block describing rate limits for AI gateway. For details see the description of `rate_limits` block above. """ - return pulumi.get(self, "key") + return pulumi.get(self, "rate_limits") - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) + @rate_limits.setter + def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingAiGatewayRateLimitArgs']]]]): + pulumi.set(self, "rate_limits", value) + + @property + @pulumi.getter(name="usageTrackingConfig") + def usage_tracking_config(self) -> Optional[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs']]: + """ + Block with configuration for payload logging using inference tables. For details see the description of `auto_capture_config` block above. + """ + return pulumi.get(self, "usage_tracking_config") + + @usage_tracking_config.setter + def usage_tracking_config(self, value: Optional[pulumi.Input['ModelServingAiGatewayUsageTrackingConfigArgs']]): + pulumi.set(self, "usage_tracking_config", value) if not MYPY: - class ModelServingTagArgsDict(TypedDict): - key: pulumi.Input[str] + class ModelServingAiGatewayGuardrailsArgsDict(TypedDict): + input: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgsDict']] """ - The key field for a tag. + A block with configuration for input guardrail filters: """ - value: NotRequired[pulumi.Input[str]] + output: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgsDict']] """ - The value field for a tag. + A block with configuration for output guardrail filters. Has the same structure as `input` block. """ elif False: - ModelServingTagArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayGuardrailsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ModelServingTagArgs: +class ModelServingAiGatewayGuardrailsArgs: def __init__(__self__, *, - key: pulumi.Input[str], - value: Optional[pulumi.Input[str]] = None): + input: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs']] = None, + output: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs']] = None): """ - :param pulumi.Input[str] key: The key field for a tag. - :param pulumi.Input[str] value: The value field for a tag. + :param pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs'] input: A block with configuration for input guardrail filters: + :param pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs'] output: A block with configuration for output guardrail filters. Has the same structure as `input` block. """ - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + if input is not None: + pulumi.set(__self__, "input", input) + if output is not None: + pulumi.set(__self__, "output", output) @property @pulumi.getter - def key(self) -> pulumi.Input[str]: + def input(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs']]: """ - The key field for a tag. + A block with configuration for input guardrail filters: """ - return pulumi.get(self, "key") + return pulumi.get(self, "input") - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) + @input.setter + def input(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputArgs']]): + pulumi.set(self, "input", value) @property @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + def output(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs']]: """ - The value field for a tag. + A block with configuration for output guardrail filters. Has the same structure as `input` block. """ - return pulumi.get(self, "value") + return pulumi.get(self, "output") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @output.setter + def output(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputArgs']]): + pulumi.set(self, "output", value) if not MYPY: - class MountAbfsArgsDict(TypedDict): - client_id: pulumi.Input[str] - client_secret_key: pulumi.Input[str] - client_secret_scope: pulumi.Input[str] - initialize_file_system: pulumi.Input[bool] - container_name: NotRequired[pulumi.Input[str]] - directory: NotRequired[pulumi.Input[str]] - storage_account_name: NotRequired[pulumi.Input[str]] - tenant_id: NotRequired[pulumi.Input[str]] + class ModelServingAiGatewayGuardrailsInputArgsDict(TypedDict): + invalid_keywords: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + """ + pii: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgsDict']] + """ + Block with configuration for guardrail PII filter: + """ + safety: NotRequired[pulumi.Input[bool]] + """ + the boolean flag that indicates whether the safety filter is enabled. + """ + valid_topics: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + """ elif False: - MountAbfsArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayGuardrailsInputArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MountAbfsArgs: +class ModelServingAiGatewayGuardrailsInputArgs: def __init__(__self__, *, - client_id: pulumi.Input[str], - client_secret_key: pulumi.Input[str], - client_secret_scope: pulumi.Input[str], - initialize_file_system: pulumi.Input[bool], - container_name: Optional[pulumi.Input[str]] = None, - directory: Optional[pulumi.Input[str]] = None, - storage_account_name: Optional[pulumi.Input[str]] = None, - tenant_id: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_key", client_secret_key) - pulumi.set(__self__, "client_secret_scope", client_secret_scope) - pulumi.set(__self__, "initialize_file_system", initialize_file_system) - if container_name is not None: - pulumi.set(__self__, "container_name", container_name) - if directory is not None: - pulumi.set(__self__, "directory", directory) - if storage_account_name is not None: - pulumi.set(__self__, "storage_account_name", storage_account_name) - if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) - - @property - @pulumi.getter(name="clientId") - def client_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_id") - - @client_id.setter - def client_id(self, value: pulumi.Input[str]): - pulumi.set(self, "client_id", value) - - @property - @pulumi.getter(name="clientSecretKey") - def client_secret_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_secret_key") - - @client_secret_key.setter - def client_secret_key(self, value: pulumi.Input[str]): - pulumi.set(self, "client_secret_key", value) - - @property - @pulumi.getter(name="clientSecretScope") - def client_secret_scope(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_secret_scope") - - @client_secret_scope.setter - def client_secret_scope(self, value: pulumi.Input[str]): - pulumi.set(self, "client_secret_scope", value) - - @property - @pulumi.getter(name="initializeFileSystem") - def initialize_file_system(self) -> pulumi.Input[bool]: - return pulumi.get(self, "initialize_file_system") - - @initialize_file_system.setter - def initialize_file_system(self, value: pulumi.Input[bool]): - pulumi.set(self, "initialize_file_system", value) + invalid_keywords: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + pii: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs']] = None, + safety: Optional[pulumi.Input[bool]] = None, + valid_topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] invalid_keywords: List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + :param pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs'] pii: Block with configuration for guardrail PII filter: + :param pulumi.Input[bool] safety: the boolean flag that indicates whether the safety filter is enabled. + :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_topics: The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + """ + if invalid_keywords is not None: + pulumi.set(__self__, "invalid_keywords", invalid_keywords) + if pii is not None: + pulumi.set(__self__, "pii", pii) + if safety is not None: + pulumi.set(__self__, "safety", safety) + if valid_topics is not None: + pulumi.set(__self__, "valid_topics", valid_topics) @property - @pulumi.getter(name="containerName") - def container_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "container_name") + @pulumi.getter(name="invalidKeywords") + def invalid_keywords(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + """ + return pulumi.get(self, "invalid_keywords") - @container_name.setter - def container_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "container_name", value) + @invalid_keywords.setter + def invalid_keywords(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "invalid_keywords", value) @property @pulumi.getter - def directory(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "directory") + def pii(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs']]: + """ + Block with configuration for guardrail PII filter: + """ + return pulumi.get(self, "pii") - @directory.setter - def directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "directory", value) + @pii.setter + def pii(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsInputPiiArgs']]): + pulumi.set(self, "pii", value) @property - @pulumi.getter(name="storageAccountName") - def storage_account_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "storage_account_name") + @pulumi.getter + def safety(self) -> Optional[pulumi.Input[bool]]: + """ + the boolean flag that indicates whether the safety filter is enabled. + """ + return pulumi.get(self, "safety") - @storage_account_name.setter - def storage_account_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "storage_account_name", value) + @safety.setter + def safety(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "safety", value) @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "tenant_id") + @pulumi.getter(name="validTopics") + def valid_topics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + """ + return pulumi.get(self, "valid_topics") - @tenant_id.setter - def tenant_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenant_id", value) + @valid_topics.setter + def valid_topics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "valid_topics", value) if not MYPY: - class MountAdlArgsDict(TypedDict): - client_id: pulumi.Input[str] - client_secret_key: pulumi.Input[str] - client_secret_scope: pulumi.Input[str] - directory: NotRequired[pulumi.Input[str]] - spark_conf_prefix: NotRequired[pulumi.Input[str]] - storage_resource_name: NotRequired[pulumi.Input[str]] - tenant_id: NotRequired[pulumi.Input[str]] + class ModelServingAiGatewayGuardrailsInputPiiArgsDict(TypedDict): + behavior: pulumi.Input[str] + """ + a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + """ elif False: - MountAdlArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayGuardrailsInputPiiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MountAdlArgs: +class ModelServingAiGatewayGuardrailsInputPiiArgs: def __init__(__self__, *, - client_id: pulumi.Input[str], - client_secret_key: pulumi.Input[str], - client_secret_scope: pulumi.Input[str], - directory: Optional[pulumi.Input[str]] = None, - spark_conf_prefix: Optional[pulumi.Input[str]] = None, - storage_resource_name: Optional[pulumi.Input[str]] = None, - tenant_id: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_key", client_secret_key) - pulumi.set(__self__, "client_secret_scope", client_secret_scope) - if directory is not None: - pulumi.set(__self__, "directory", directory) - if spark_conf_prefix is not None: - pulumi.set(__self__, "spark_conf_prefix", spark_conf_prefix) - if storage_resource_name is not None: - pulumi.set(__self__, "storage_resource_name", storage_resource_name) - if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) - - @property - @pulumi.getter(name="clientId") - def client_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_id") - - @client_id.setter - def client_id(self, value: pulumi.Input[str]): - pulumi.set(self, "client_id", value) - - @property - @pulumi.getter(name="clientSecretKey") - def client_secret_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_secret_key") - - @client_secret_key.setter - def client_secret_key(self, value: pulumi.Input[str]): - pulumi.set(self, "client_secret_key", value) - - @property - @pulumi.getter(name="clientSecretScope") - def client_secret_scope(self) -> pulumi.Input[str]: - return pulumi.get(self, "client_secret_scope") - - @client_secret_scope.setter - def client_secret_scope(self, value: pulumi.Input[str]): - pulumi.set(self, "client_secret_scope", value) + behavior: pulumi.Input[str]): + """ + :param pulumi.Input[str] behavior: a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + """ + pulumi.set(__self__, "behavior", behavior) @property @pulumi.getter - def directory(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "directory") - - @directory.setter - def directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "directory", value) - - @property - @pulumi.getter(name="sparkConfPrefix") - def spark_conf_prefix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "spark_conf_prefix") - - @spark_conf_prefix.setter - def spark_conf_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "spark_conf_prefix", value) - - @property - @pulumi.getter(name="storageResourceName") - def storage_resource_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "storage_resource_name") - - @storage_resource_name.setter - def storage_resource_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "storage_resource_name", value) - - @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "tenant_id") + def behavior(self) -> pulumi.Input[str]: + """ + a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + """ + return pulumi.get(self, "behavior") - @tenant_id.setter - def tenant_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenant_id", value) + @behavior.setter + def behavior(self, value: pulumi.Input[str]): + pulumi.set(self, "behavior", value) if not MYPY: - class MountGsArgsDict(TypedDict): - bucket_name: pulumi.Input[str] - service_account: NotRequired[pulumi.Input[str]] + class ModelServingAiGatewayGuardrailsOutputArgsDict(TypedDict): + invalid_keywords: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + """ + pii: NotRequired[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgsDict']] + """ + Block with configuration for guardrail PII filter: + """ + safety: NotRequired[pulumi.Input[bool]] + """ + the boolean flag that indicates whether the safety filter is enabled. + """ + valid_topics: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + """ elif False: - MountGsArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayGuardrailsOutputArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MountGsArgs: +class ModelServingAiGatewayGuardrailsOutputArgs: def __init__(__self__, *, - bucket_name: pulumi.Input[str], - service_account: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "bucket_name", bucket_name) - if service_account is not None: - pulumi.set(__self__, "service_account", service_account) + invalid_keywords: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + pii: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs']] = None, + safety: Optional[pulumi.Input[bool]] = None, + valid_topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] invalid_keywords: List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + :param pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs'] pii: Block with configuration for guardrail PII filter: + :param pulumi.Input[bool] safety: the boolean flag that indicates whether the safety filter is enabled. + :param pulumi.Input[Sequence[pulumi.Input[str]]] valid_topics: The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + """ + if invalid_keywords is not None: + pulumi.set(__self__, "invalid_keywords", invalid_keywords) + if pii is not None: + pulumi.set(__self__, "pii", pii) + if safety is not None: + pulumi.set(__self__, "safety", safety) + if valid_topics is not None: + pulumi.set(__self__, "valid_topics", valid_topics) @property - @pulumi.getter(name="bucketName") - def bucket_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "bucket_name") + @pulumi.getter(name="invalidKeywords") + def invalid_keywords(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content. + """ + return pulumi.get(self, "invalid_keywords") - @bucket_name.setter - def bucket_name(self, value: pulumi.Input[str]): - pulumi.set(self, "bucket_name", value) + @invalid_keywords.setter + def invalid_keywords(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "invalid_keywords", value) @property - @pulumi.getter(name="serviceAccount") - def service_account(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "service_account") - - @service_account.setter - def service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_account", value) - - -if not MYPY: - class MountS3ArgsDict(TypedDict): - bucket_name: pulumi.Input[str] - instance_profile: NotRequired[pulumi.Input[str]] -elif False: - MountS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter + def pii(self) -> Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs']]: + """ + Block with configuration for guardrail PII filter: + """ + return pulumi.get(self, "pii") -@pulumi.input_type -class MountS3Args: - def __init__(__self__, *, - bucket_name: pulumi.Input[str], - instance_profile: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "bucket_name", bucket_name) - if instance_profile is not None: - pulumi.set(__self__, "instance_profile", instance_profile) + @pii.setter + def pii(self, value: Optional[pulumi.Input['ModelServingAiGatewayGuardrailsOutputPiiArgs']]): + pulumi.set(self, "pii", value) @property - @pulumi.getter(name="bucketName") - def bucket_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "bucket_name") + @pulumi.getter + def safety(self) -> Optional[pulumi.Input[bool]]: + """ + the boolean flag that indicates whether the safety filter is enabled. + """ + return pulumi.get(self, "safety") - @bucket_name.setter - def bucket_name(self, value: pulumi.Input[str]): - pulumi.set(self, "bucket_name", value) + @safety.setter + def safety(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "safety", value) @property - @pulumi.getter(name="instanceProfile") - def instance_profile(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_profile") + @pulumi.getter(name="validTopics") + def valid_topics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics. + """ + return pulumi.get(self, "valid_topics") - @instance_profile.setter - def instance_profile(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile", value) + @valid_topics.setter + def valid_topics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "valid_topics", value) if not MYPY: - class MountWasbArgsDict(TypedDict): - auth_type: pulumi.Input[str] - token_secret_key: pulumi.Input[str] - token_secret_scope: pulumi.Input[str] - container_name: NotRequired[pulumi.Input[str]] - directory: NotRequired[pulumi.Input[str]] - storage_account_name: NotRequired[pulumi.Input[str]] + class ModelServingAiGatewayGuardrailsOutputPiiArgsDict(TypedDict): + behavior: pulumi.Input[str] + """ + a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + """ elif False: - MountWasbArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayGuardrailsOutputPiiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MountWasbArgs: +class ModelServingAiGatewayGuardrailsOutputPiiArgs: def __init__(__self__, *, - auth_type: pulumi.Input[str], - token_secret_key: pulumi.Input[str], - token_secret_scope: pulumi.Input[str], - container_name: Optional[pulumi.Input[str]] = None, - directory: Optional[pulumi.Input[str]] = None, - storage_account_name: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "auth_type", auth_type) - pulumi.set(__self__, "token_secret_key", token_secret_key) - pulumi.set(__self__, "token_secret_scope", token_secret_scope) - if container_name is not None: - pulumi.set(__self__, "container_name", container_name) - if directory is not None: - pulumi.set(__self__, "directory", directory) - if storage_account_name is not None: - pulumi.set(__self__, "storage_account_name", storage_account_name) - - @property - @pulumi.getter(name="authType") - def auth_type(self) -> pulumi.Input[str]: - return pulumi.get(self, "auth_type") - - @auth_type.setter - def auth_type(self, value: pulumi.Input[str]): - pulumi.set(self, "auth_type", value) - - @property - @pulumi.getter(name="tokenSecretKey") - def token_secret_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "token_secret_key") - - @token_secret_key.setter - def token_secret_key(self, value: pulumi.Input[str]): - pulumi.set(self, "token_secret_key", value) - - @property - @pulumi.getter(name="tokenSecretScope") - def token_secret_scope(self) -> pulumi.Input[str]: - return pulumi.get(self, "token_secret_scope") - - @token_secret_scope.setter - def token_secret_scope(self, value: pulumi.Input[str]): - pulumi.set(self, "token_secret_scope", value) - - @property - @pulumi.getter(name="containerName") - def container_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "container_name") - - @container_name.setter - def container_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "container_name", value) + behavior: pulumi.Input[str]): + """ + :param pulumi.Input[str] behavior: a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + """ + pulumi.set(__self__, "behavior", behavior) @property @pulumi.getter - def directory(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "directory") - - @directory.setter - def directory(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "directory", value) - - @property - @pulumi.getter(name="storageAccountName") - def storage_account_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "storage_account_name") + def behavior(self) -> pulumi.Input[str]: + """ + a string that describes the behavior for PII filter. Currently only `BLOCK` value is supported. + """ + return pulumi.get(self, "behavior") - @storage_account_name.setter - def storage_account_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "storage_account_name", value) + @behavior.setter + def behavior(self, value: pulumi.Input[str]): + pulumi.set(self, "behavior", value) if not MYPY: - class MwsCustomerManagedKeysAwsKeyInfoArgsDict(TypedDict): - key_arn: pulumi.Input[str] + class ModelServingAiGatewayInferenceTableConfigArgsDict(TypedDict): + catalog_name: NotRequired[pulumi.Input[str]] """ - The AWS KMS key's Amazon Resource Name (ARN). + The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. """ - key_alias: NotRequired[pulumi.Input[str]] + enabled: NotRequired[pulumi.Input[bool]] """ - The AWS KMS key alias. + boolean flag specifying if usage tracking is enabled. """ - key_region: NotRequired[pulumi.Input[str]] + schema_name: NotRequired[pulumi.Input[str]] """ - (Computed) The AWS region in which KMS key is deployed to. This is not required. + The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + """ + table_name_prefix: NotRequired[pulumi.Input[str]] + """ + The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. """ elif False: - MwsCustomerManagedKeysAwsKeyInfoArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayInferenceTableConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsCustomerManagedKeysAwsKeyInfoArgs: +class ModelServingAiGatewayInferenceTableConfigArgs: def __init__(__self__, *, - key_arn: pulumi.Input[str], - key_alias: Optional[pulumi.Input[str]] = None, - key_region: Optional[pulumi.Input[str]] = None): + catalog_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + table_name_prefix: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] key_arn: The AWS KMS key's Amazon Resource Name (ARN). - :param pulumi.Input[str] key_alias: The AWS KMS key alias. - :param pulumi.Input[str] key_region: (Computed) The AWS region in which KMS key is deployed to. This is not required. + :param pulumi.Input[str] catalog_name: The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + :param pulumi.Input[bool] enabled: boolean flag specifying if usage tracking is enabled. + :param pulumi.Input[str] schema_name: The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + :param pulumi.Input[str] table_name_prefix: The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. """ - pulumi.set(__self__, "key_arn", key_arn) - if key_alias is not None: - pulumi.set(__self__, "key_alias", key_alias) - if key_region is not None: - pulumi.set(__self__, "key_region", key_region) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if table_name_prefix is not None: + pulumi.set(__self__, "table_name_prefix", table_name_prefix) @property - @pulumi.getter(name="keyArn") - def key_arn(self) -> pulumi.Input[str]: + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[pulumi.Input[str]]: """ - The AWS KMS key's Amazon Resource Name (ARN). + The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. """ - return pulumi.get(self, "key_arn") + return pulumi.get(self, "catalog_name") - @key_arn.setter - def key_arn(self, value: pulumi.Input[str]): - pulumi.set(self, "key_arn", value) + @catalog_name.setter + def catalog_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog_name", value) @property - @pulumi.getter(name="keyAlias") - def key_alias(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - The AWS KMS key alias. + boolean flag specifying if usage tracking is enabled. """ - return pulumi.get(self, "key_alias") + return pulumi.get(self, "enabled") - @key_alias.setter - def key_alias(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key_alias", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) @property - @pulumi.getter(name="keyRegion") - def key_region(self) -> Optional[pulumi.Input[str]]: - """ - (Computed) The AWS region in which KMS key is deployed to. This is not required. - """ - return pulumi.get(self, "key_region") - - @key_region.setter - def key_region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key_region", value) - - -if not MYPY: - class MwsCustomerManagedKeysGcpKeyInfoArgsDict(TypedDict): - kms_key_id: pulumi.Input[str] + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[pulumi.Input[str]]: """ - The GCP KMS key's resource name. + The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. """ -elif False: - MwsCustomerManagedKeysGcpKeyInfoArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "schema_name") -@pulumi.input_type -class MwsCustomerManagedKeysGcpKeyInfoArgs: - def __init__(__self__, *, - kms_key_id: pulumi.Input[str]): - """ - :param pulumi.Input[str] kms_key_id: The GCP KMS key's resource name. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + @schema_name.setter + def schema_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_name", value) @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="tableNamePrefix") + def table_name_prefix(self) -> Optional[pulumi.Input[str]]: """ - The GCP KMS key's resource name. + The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. """ - return pulumi.get(self, "kms_key_id") + return pulumi.get(self, "table_name_prefix") - @kms_key_id.setter - def kms_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "kms_key_id", value) + @table_name_prefix.setter + def table_name_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name_prefix", value) if not MYPY: - class MwsNetworkConnectivityConfigEgressConfigArgsDict(TypedDict): - default_rules: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict']] + class ModelServingAiGatewayRateLimitArgsDict(TypedDict): + calls: pulumi.Input[int] """ - block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + Used to specify how many calls are allowed for a key within the renewal_period. """ - target_rules: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict']] + renewal_period: pulumi.Input[str] """ - block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + """ + key: NotRequired[pulumi.Input[str]] + """ + Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. """ elif False: - MwsNetworkConnectivityConfigEgressConfigArgsDict: TypeAlias = Mapping[str, Any] + ModelServingAiGatewayRateLimitArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsNetworkConnectivityConfigEgressConfigArgs: +class ModelServingAiGatewayRateLimitArgs: def __init__(__self__, *, - default_rules: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']] = None, - target_rules: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']] = None): + calls: pulumi.Input[int], + renewal_period: pulumi.Input[str], + key: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs'] default_rules: block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: - :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs'] target_rules: block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + :param pulumi.Input[int] calls: Used to specify how many calls are allowed for a key within the renewal_period. + :param pulumi.Input[str] renewal_period: Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + :param pulumi.Input[str] key: Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. """ - if default_rules is not None: - pulumi.set(__self__, "default_rules", default_rules) - if target_rules is not None: - pulumi.set(__self__, "target_rules", target_rules) + pulumi.set(__self__, "calls", calls) + pulumi.set(__self__, "renewal_period", renewal_period) + if key is not None: + pulumi.set(__self__, "key", key) @property - @pulumi.getter(name="defaultRules") - def default_rules(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']]: + @pulumi.getter + def calls(self) -> pulumi.Input[int]: """ - block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + Used to specify how many calls are allowed for a key within the renewal_period. """ - return pulumi.get(self, "default_rules") + return pulumi.get(self, "calls") - @default_rules.setter - def default_rules(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']]): - pulumi.set(self, "default_rules", value) + @calls.setter + def calls(self, value: pulumi.Input[int]): + pulumi.set(self, "calls", value) @property - @pulumi.getter(name="targetRules") - def target_rules(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']]: + @pulumi.getter(name="renewalPeriod") + def renewal_period(self) -> pulumi.Input[str]: """ - block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. """ - return pulumi.get(self, "target_rules") + return pulumi.get(self, "renewal_period") - @target_rules.setter - def target_rules(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']]): - pulumi.set(self, "target_rules", value) + @renewal_period.setter + def renewal_period(self, value: pulumi.Input[str]): + pulumi.set(self, "renewal_period", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) if not MYPY: - class MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict(TypedDict): - aws_stable_ip_rule: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict']] + class ModelServingAiGatewayUsageTrackingConfigArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] +elif False: + ModelServingAiGatewayUsageTrackingConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ModelServingAiGatewayUsageTrackingConfigArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +if not MYPY: + class ModelServingConfigArgsDict(TypedDict): + auto_capture_config: NotRequired[pulumi.Input['ModelServingConfigAutoCaptureConfigArgsDict']] """ - (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. """ - azure_service_endpoint_rule: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict']] + served_entities: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgsDict']]]] """ - (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + """ + served_models: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgsDict']]]] + """ + Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. + """ + traffic_config: NotRequired[pulumi.Input['ModelServingConfigTrafficConfigArgsDict']] + """ + A single block represents the traffic split configuration amongst the served models. """ elif False: - MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs: +class ModelServingConfigArgs: def __init__(__self__, *, - aws_stable_ip_rule: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']] = None, - azure_service_endpoint_rule: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']] = None): + auto_capture_config: Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']] = None, + served_entities: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]] = None, + served_models: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]] = None, + traffic_config: Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']] = None): """ - :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs'] aws_stable_ip_rule: (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: - :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs'] azure_service_endpoint_rule: (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + :param pulumi.Input['ModelServingConfigAutoCaptureConfigArgs'] auto_capture_config: Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]] served_entities: A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]] served_models: Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. + :param pulumi.Input['ModelServingConfigTrafficConfigArgs'] traffic_config: A single block represents the traffic split configuration amongst the served models. """ - if aws_stable_ip_rule is not None: - pulumi.set(__self__, "aws_stable_ip_rule", aws_stable_ip_rule) - if azure_service_endpoint_rule is not None: - pulumi.set(__self__, "azure_service_endpoint_rule", azure_service_endpoint_rule) + if auto_capture_config is not None: + pulumi.set(__self__, "auto_capture_config", auto_capture_config) + if served_entities is not None: + pulumi.set(__self__, "served_entities", served_entities) + if served_models is not None: + warnings.warn("""Please use 'config.served_entities' instead of 'config.served_models'.""", DeprecationWarning) + pulumi.log.warn("""served_models is deprecated: Please use 'config.served_entities' instead of 'config.served_models'.""") + if served_models is not None: + pulumi.set(__self__, "served_models", served_models) + if traffic_config is not None: + pulumi.set(__self__, "traffic_config", traffic_config) @property - @pulumi.getter(name="awsStableIpRule") - def aws_stable_ip_rule(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']]: + @pulumi.getter(name="autoCaptureConfig") + def auto_capture_config(self) -> Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']]: """ - (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + Configuration for Inference Tables which automatically logs requests and responses to Unity Catalog. """ - return pulumi.get(self, "aws_stable_ip_rule") + return pulumi.get(self, "auto_capture_config") - @aws_stable_ip_rule.setter - def aws_stable_ip_rule(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']]): - pulumi.set(self, "aws_stable_ip_rule", value) + @auto_capture_config.setter + def auto_capture_config(self, value: Optional[pulumi.Input['ModelServingConfigAutoCaptureConfigArgs']]): + pulumi.set(self, "auto_capture_config", value) @property - @pulumi.getter(name="azureServiceEndpointRule") - def azure_service_endpoint_rule(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']]: + @pulumi.getter(name="servedEntities") + def served_entities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]]: """ - (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + A list of served entities for the endpoint to serve. A serving endpoint can have up to 10 served entities. """ - return pulumi.get(self, "azure_service_endpoint_rule") - - @azure_service_endpoint_rule.setter - def azure_service_endpoint_rule(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']]): - pulumi.set(self, "azure_service_endpoint_rule", value) + return pulumi.get(self, "served_entities") + @served_entities.setter + def served_entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedEntityArgs']]]]): + pulumi.set(self, "served_entities", value) -if not MYPY: - class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict(TypedDict): - cidr_blocks: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + @property + @pulumi.getter(name="servedModels") + @_utilities.deprecated("""Please use 'config.served_entities' instead of 'config.served_models'.""") + def served_models(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]]: """ - list of IP CIDR blocks. + Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models. """ -elif False: - MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "served_models") -@pulumi.input_type -class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs: - def __init__(__self__, *, - cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] cidr_blocks: list of IP CIDR blocks. - """ - if cidr_blocks is not None: - pulumi.set(__self__, "cidr_blocks", cidr_blocks) + @served_models.setter + def served_models(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]]]): + pulumi.set(self, "served_models", value) @property - @pulumi.getter(name="cidrBlocks") - def cidr_blocks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="trafficConfig") + def traffic_config(self) -> Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']]: """ - list of IP CIDR blocks. + A single block represents the traffic split configuration amongst the served models. """ - return pulumi.get(self, "cidr_blocks") + return pulumi.get(self, "traffic_config") - @cidr_blocks.setter - def cidr_blocks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "cidr_blocks", value) + @traffic_config.setter + def traffic_config(self, value: Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']]): + pulumi.set(self, "traffic_config", value) if not MYPY: - class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict(TypedDict): - subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class ModelServingConfigAutoCaptureConfigArgsDict(TypedDict): + catalog_name: NotRequired[pulumi.Input[str]] """ - list of subnets from which Databricks network traffic originates when accessing your Azure resources. + The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. """ - target_region: NotRequired[pulumi.Input[str]] + enabled: NotRequired[pulumi.Input[bool]] """ - the Azure region in which this service endpoint rule applies. + If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. """ - target_services: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + schema_name: NotRequired[pulumi.Input[str]] """ - the Azure services to which this service endpoint rule applies to. + The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + """ + table_name_prefix: NotRequired[pulumi.Input[str]] + """ + The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. """ elif False: - MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigAutoCaptureConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs: +class ModelServingConfigAutoCaptureConfigArgs: def __init__(__self__, *, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - target_region: Optional[pulumi.Input[str]] = None, - target_services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + catalog_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + table_name_prefix: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: list of subnets from which Databricks network traffic originates when accessing your Azure resources. - :param pulumi.Input[str] target_region: the Azure region in which this service endpoint rule applies. - :param pulumi.Input[Sequence[pulumi.Input[str]]] target_services: the Azure services to which this service endpoint rule applies to. + :param pulumi.Input[str] catalog_name: The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + :param pulumi.Input[bool] enabled: If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. + :param pulumi.Input[str] schema_name: The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. + :param pulumi.Input[str] table_name_prefix: The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. """ - if subnets is not None: - pulumi.set(__self__, "subnets", subnets) - if target_region is not None: - pulumi.set(__self__, "target_region", target_region) - if target_services is not None: - pulumi.set(__self__, "target_services", target_services) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if table_name_prefix is not None: + pulumi.set(__self__, "table_name_prefix", table_name_prefix) + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the catalog in Unity Catalog. NOTE: On update, you cannot change the catalog name if it was already set. + """ + return pulumi.get(self, "catalog_name") + + @catalog_name.setter + def catalog_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog_name", value) @property @pulumi.getter - def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - list of subnets from which Databricks network traffic originates when accessing your Azure resources. + If inference tables are enabled or not. NOTE: If you have already disabled payload logging once, you cannot enable it again. """ - return pulumi.get(self, "subnets") + return pulumi.get(self, "enabled") - @subnets.setter - def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subnets", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) @property - @pulumi.getter(name="targetRegion") - def target_region(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[pulumi.Input[str]]: """ - the Azure region in which this service endpoint rule applies. + The name of the schema in Unity Catalog. NOTE: On update, you cannot change the schema name if it was already set. """ - return pulumi.get(self, "target_region") + return pulumi.get(self, "schema_name") - @target_region.setter - def target_region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "target_region", value) + @schema_name.setter + def schema_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_name", value) @property - @pulumi.getter(name="targetServices") - def target_services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="tableNamePrefix") + def table_name_prefix(self) -> Optional[pulumi.Input[str]]: """ - the Azure services to which this service endpoint rule applies to. + The prefix of the table in Unity Catalog. NOTE: On update, you cannot change the prefix name if it was already set. """ - return pulumi.get(self, "target_services") + return pulumi.get(self, "table_name_prefix") - @target_services.setter - def target_services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "target_services", value) + @table_name_prefix.setter + def table_name_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "table_name_prefix", value) if not MYPY: - class MwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict(TypedDict): - azure_private_endpoint_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict']]]] + class ModelServingConfigServedEntityArgsDict(TypedDict): + entity_name: NotRequired[pulumi.Input[str]] """ - (Azure only) - list containing information about configure Azure Private Endpoints. + The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. + """ + entity_version: NotRequired[pulumi.Input[str]] + """ + The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + """ + environment_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` + """ + external_model: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelArgsDict']] + """ + The external model to be served. NOTE: Only one of `external_model` and (`entity_name`, `entity_version`, `workload_size`, `workload_type`, and `scale_to_zero_enabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `external_model` is present, the served entities list can only have one `served_entity` object. An existing endpoint with `external_model` can not be updated to an endpoint without `external_model`. If the endpoint is created without `external_model`, users cannot update it to add `external_model` later. + """ + instance_profile_arn: NotRequired[pulumi.Input[str]] + """ + ARN of the instance profile that the served entity uses to access AWS resources. + """ + max_provisioned_throughput: NotRequired[pulumi.Input[int]] + """ + The maximum tokens per second that the endpoint can scale up to. + """ + min_provisioned_throughput: NotRequired[pulumi.Input[int]] + """ + The minimum tokens per second that the endpoint can scale down to. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + """ + scale_to_zero_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether the compute resources for the served entity should scale down to zero. + """ + workload_size: NotRequired[pulumi.Input[str]] + """ + The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + """ + workload_type: NotRequired[pulumi.Input[str]] + """ + The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). """ elif False: - MwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs: +class ModelServingConfigServedEntityArgs: def __init__(__self__, *, - azure_private_endpoint_rules: Optional[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]]] = None): + entity_name: Optional[pulumi.Input[str]] = None, + entity_version: Optional[pulumi.Input[str]] = None, + environment_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + external_model: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelArgs']] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + max_provisioned_throughput: Optional[pulumi.Input[int]] = None, + min_provisioned_throughput: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None, + workload_size: Optional[pulumi.Input[str]] = None, + workload_type: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]] azure_private_endpoint_rules: (Azure only) - list containing information about configure Azure Private Endpoints. + :param pulumi.Input[str] entity_name: The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. + :param pulumi.Input[str] entity_version: The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_vars: An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` + :param pulumi.Input['ModelServingConfigServedEntityExternalModelArgs'] external_model: The external model to be served. NOTE: Only one of `external_model` and (`entity_name`, `entity_version`, `workload_size`, `workload_type`, and `scale_to_zero_enabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `external_model` is present, the served entities list can only have one `served_entity` object. An existing endpoint with `external_model` can not be updated to an endpoint without `external_model`. If the endpoint is created without `external_model`, users cannot update it to add `external_model` later. + :param pulumi.Input[str] instance_profile_arn: ARN of the instance profile that the served entity uses to access AWS resources. + :param pulumi.Input[int] max_provisioned_throughput: The maximum tokens per second that the endpoint can scale up to. + :param pulumi.Input[int] min_provisioned_throughput: The minimum tokens per second that the endpoint can scale down to. + :param pulumi.Input[str] name: The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + :param pulumi.Input[bool] scale_to_zero_enabled: Whether the compute resources for the served entity should scale down to zero. + :param pulumi.Input[str] workload_size: The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + :param pulumi.Input[str] workload_type: The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). """ - if azure_private_endpoint_rules is not None: - pulumi.set(__self__, "azure_private_endpoint_rules", azure_private_endpoint_rules) + if entity_name is not None: + pulumi.set(__self__, "entity_name", entity_name) + if entity_version is not None: + pulumi.set(__self__, "entity_version", entity_version) + if environment_vars is not None: + pulumi.set(__self__, "environment_vars", environment_vars) + if external_model is not None: + pulumi.set(__self__, "external_model", external_model) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if max_provisioned_throughput is not None: + pulumi.set(__self__, "max_provisioned_throughput", max_provisioned_throughput) + if min_provisioned_throughput is not None: + pulumi.set(__self__, "min_provisioned_throughput", min_provisioned_throughput) + if name is not None: + pulumi.set(__self__, "name", name) + if scale_to_zero_enabled is not None: + pulumi.set(__self__, "scale_to_zero_enabled", scale_to_zero_enabled) + if workload_size is not None: + pulumi.set(__self__, "workload_size", workload_size) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter(name="azurePrivateEndpointRules") - def azure_private_endpoint_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]]]: + @pulumi.getter(name="entityName") + def entity_name(self) -> Optional[pulumi.Input[str]]: """ - (Azure only) - list containing information about configure Azure Private Endpoints. + The name of the entity to be served. The entity may be a model in the Databricks Model Registry, a model in the Unity Catalog (UC), or a function of type `FEATURE_SPEC` in the UC. If it is a UC object, the full name of the object should be given in the form of `catalog_name.schema_name.model_name`. """ - return pulumi.get(self, "azure_private_endpoint_rules") + return pulumi.get(self, "entity_name") - @azure_private_endpoint_rules.setter - def azure_private_endpoint_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]]]): - pulumi.set(self, "azure_private_endpoint_rules", value) + @entity_name.setter + def entity_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_name", value) + + @property + @pulumi.getter(name="entityVersion") + def entity_version(self) -> Optional[pulumi.Input[str]]: + """ + The version of the model in Databricks Model Registry to be served or empty if the entity is a `FEATURE_SPEC`. + """ + return pulumi.get(self, "entity_version") + @entity_version.setter + def entity_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "entity_version", value) -if not MYPY: - class MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict(TypedDict): - connection_state: NotRequired[pulumi.Input[str]] - creation_time: NotRequired[pulumi.Input[int]] - deactivated: NotRequired[pulumi.Input[bool]] - deactivated_at: NotRequired[pulumi.Input[int]] - endpoint_name: NotRequired[pulumi.Input[str]] - group_id: NotRequired[pulumi.Input[str]] - network_connectivity_config_id: NotRequired[pulumi.Input[str]] + @property + @pulumi.getter(name="environmentVars") + def environment_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Canonical unique identifier of Network Connectivity Config in Databricks Account + An object containing a set of optional, user-specified environment variable key-value pairs used for serving this entity. Note: this is an experimental feature and is subject to change. Example entity environment variables that refer to Databricks secrets: ```{"OPENAI_API_KEY": "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": "{{secrets/my_scope2/my_key2}}"}``` """ - resource_id: NotRequired[pulumi.Input[str]] - rule_id: NotRequired[pulumi.Input[str]] - updated_time: NotRequired[pulumi.Input[int]] -elif False: - MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "environment_vars") -@pulumi.input_type -class MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs: - def __init__(__self__, *, - connection_state: Optional[pulumi.Input[str]] = None, - creation_time: Optional[pulumi.Input[int]] = None, - deactivated: Optional[pulumi.Input[bool]] = None, - deactivated_at: Optional[pulumi.Input[int]] = None, - endpoint_name: Optional[pulumi.Input[str]] = None, - group_id: Optional[pulumi.Input[str]] = None, - network_connectivity_config_id: Optional[pulumi.Input[str]] = None, - resource_id: Optional[pulumi.Input[str]] = None, - rule_id: Optional[pulumi.Input[str]] = None, - updated_time: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] network_connectivity_config_id: Canonical unique identifier of Network Connectivity Config in Databricks Account - """ - if connection_state is not None: - pulumi.set(__self__, "connection_state", connection_state) - if creation_time is not None: - pulumi.set(__self__, "creation_time", creation_time) - if deactivated is not None: - pulumi.set(__self__, "deactivated", deactivated) - if deactivated_at is not None: - pulumi.set(__self__, "deactivated_at", deactivated_at) - if endpoint_name is not None: - pulumi.set(__self__, "endpoint_name", endpoint_name) - if group_id is not None: - pulumi.set(__self__, "group_id", group_id) - if network_connectivity_config_id is not None: - pulumi.set(__self__, "network_connectivity_config_id", network_connectivity_config_id) - if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) - if rule_id is not None: - pulumi.set(__self__, "rule_id", rule_id) - if updated_time is not None: - pulumi.set(__self__, "updated_time", updated_time) - - @property - @pulumi.getter(name="connectionState") - def connection_state(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "connection_state") - - @connection_state.setter - def connection_state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_state", value) - - @property - @pulumi.getter(name="creationTime") - def creation_time(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "creation_time") - - @creation_time.setter - def creation_time(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "creation_time", value) - - @property - @pulumi.getter - def deactivated(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "deactivated") - - @deactivated.setter - def deactivated(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "deactivated", value) - - @property - @pulumi.getter(name="deactivatedAt") - def deactivated_at(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "deactivated_at") - - @deactivated_at.setter - def deactivated_at(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "deactivated_at", value) + @environment_vars.setter + def environment_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "environment_vars", value) @property - @pulumi.getter(name="endpointName") - def endpoint_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint_name") + @pulumi.getter(name="externalModel") + def external_model(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelArgs']]: + """ + The external model to be served. NOTE: Only one of `external_model` and (`entity_name`, `entity_version`, `workload_size`, `workload_type`, and `scale_to_zero_enabled`) can be specified with the latter set being used for custom model serving for a Databricks registered model. When an `external_model` is present, the served entities list can only have one `served_entity` object. An existing endpoint with `external_model` can not be updated to an endpoint without `external_model`. If the endpoint is created without `external_model`, users cannot update it to add `external_model` later. + """ + return pulumi.get(self, "external_model") - @endpoint_name.setter - def endpoint_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint_name", value) + @external_model.setter + def external_model(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelArgs']]): + pulumi.set(self, "external_model", value) @property - @pulumi.getter(name="groupId") - def group_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "group_id") + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + """ + ARN of the instance profile that the served entity uses to access AWS resources. + """ + return pulumi.get(self, "instance_profile_arn") - @group_id.setter - def group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "group_id", value) + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) @property - @pulumi.getter(name="networkConnectivityConfigId") - def network_connectivity_config_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="maxProvisionedThroughput") + def max_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: """ - Canonical unique identifier of Network Connectivity Config in Databricks Account + The maximum tokens per second that the endpoint can scale up to. """ - return pulumi.get(self, "network_connectivity_config_id") + return pulumi.get(self, "max_provisioned_throughput") - @network_connectivity_config_id.setter - def network_connectivity_config_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "network_connectivity_config_id", value) + @max_provisioned_throughput.setter + def max_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_provisioned_throughput", value) @property - @pulumi.getter(name="resourceId") - def resource_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "resource_id") + @pulumi.getter(name="minProvisionedThroughput") + def min_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: + """ + The minimum tokens per second that the endpoint can scale down to. + """ + return pulumi.get(self, "min_provisioned_throughput") - @resource_id.setter - def resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resource_id", value) + @min_provisioned_throughput.setter + def min_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_provisioned_throughput", value) @property - @pulumi.getter(name="ruleId") - def rule_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "rule_id") + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of a served entity. It must be unique across an endpoint. A served entity name can consist of alphanumeric characters, dashes, and underscores. If not specified for an external model, this field defaults to `external_model.name`, with '.' and ':' replaced with '-', and if not specified for other entities, it defaults to -. + """ + return pulumi.get(self, "name") - @rule_id.setter - def rule_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "rule_id", value) + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="updatedTime") - def updated_time(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "updated_time") - - @updated_time.setter - def updated_time(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "updated_time", value) - - -if not MYPY: - class MwsNetworksErrorMessageArgsDict(TypedDict): - error_message: NotRequired[pulumi.Input[str]] - error_type: NotRequired[pulumi.Input[str]] -elif False: - MwsNetworksErrorMessageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="scaleToZeroEnabled") + def scale_to_zero_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the compute resources for the served entity should scale down to zero. + """ + return pulumi.get(self, "scale_to_zero_enabled") -@pulumi.input_type -class MwsNetworksErrorMessageArgs: - def __init__(__self__, *, - error_message: Optional[pulumi.Input[str]] = None, - error_type: Optional[pulumi.Input[str]] = None): - if error_message is not None: - pulumi.set(__self__, "error_message", error_message) - if error_type is not None: - pulumi.set(__self__, "error_type", error_type) + @scale_to_zero_enabled.setter + def scale_to_zero_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "scale_to_zero_enabled", value) @property - @pulumi.getter(name="errorMessage") - def error_message(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "error_message") + @pulumi.getter(name="workloadSize") + def workload_size(self) -> Optional[pulumi.Input[str]]: + """ + The workload size of the served entity. The workload size corresponds to a range of provisioned concurrency that the compute autoscales between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size is 0. + """ + return pulumi.get(self, "workload_size") - @error_message.setter - def error_message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "error_message", value) + @workload_size.setter + def workload_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_size", value) @property - @pulumi.getter(name="errorType") - def error_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "error_type") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input[str]]: + """ + The workload type of the served entity. The workload type selects which type of compute to use in the endpoint. The default value for this parameter is `CPU`. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the available [GPU types](https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types). + """ + return pulumi.get(self, "workload_type") - @error_type.setter - def error_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "error_type", value) + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_type", value) if not MYPY: - class MwsNetworksGcpNetworkInfoArgsDict(TypedDict): - network_project_id: pulumi.Input[str] + class ModelServingConfigServedEntityExternalModelArgsDict(TypedDict): + name: pulumi.Input[str] """ - The Google Cloud project ID of the VPC network. + The name of the external model. """ - pod_ip_range_name: pulumi.Input[str] + provider: pulumi.Input[str] """ - The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. """ - service_ip_range_name: pulumi.Input[str] + task: pulumi.Input[str] """ - The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + The task type of the external model. """ - subnet_id: pulumi.Input[str] + ai21labs_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgsDict']] """ - The ID of the subnet associated with this network. + AI21Labs Config """ - subnet_region: pulumi.Input[str] + amazon_bedrock_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgsDict']] """ - The Google Cloud region of the workspace data plane. For example, `us-east4`. + Amazon Bedrock Config """ - vpc_id: pulumi.Input[str] + anthropic_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgsDict']] """ - The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + Anthropic Config + """ + cohere_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgsDict']] + """ + Cohere Config + """ + databricks_model_serving_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict']] + """ + Databricks Model Serving Config + """ + google_cloud_vertex_ai_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict']] + """ + Google Cloud Vertex AI Config. + """ + openai_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgsDict']] + """ + OpenAI Config + """ + palm_config: NotRequired[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgsDict']] + """ + PaLM Config """ elif False: - MwsNetworksGcpNetworkInfoArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsNetworksGcpNetworkInfoArgs: +class ModelServingConfigServedEntityExternalModelArgs: def __init__(__self__, *, - network_project_id: pulumi.Input[str], - pod_ip_range_name: pulumi.Input[str], - service_ip_range_name: pulumi.Input[str], - subnet_id: pulumi.Input[str], - subnet_region: pulumi.Input[str], - vpc_id: pulumi.Input[str]): + name: pulumi.Input[str], + provider: pulumi.Input[str], + task: pulumi.Input[str], + ai21labs_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']] = None, + amazon_bedrock_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']] = None, + anthropic_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']] = None, + cohere_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']] = None, + databricks_model_serving_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs']] = None, + google_cloud_vertex_ai_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']] = None, + openai_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']] = None, + palm_config: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']] = None): """ - :param pulumi.Input[str] network_project_id: The Google Cloud project ID of the VPC network. - :param pulumi.Input[str] pod_ip_range_name: The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. - :param pulumi.Input[str] service_ip_range_name: The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. - :param pulumi.Input[str] subnet_id: The ID of the subnet associated with this network. - :param pulumi.Input[str] subnet_region: The Google Cloud region of the workspace data plane. For example, `us-east4`. - :param pulumi.Input[str] vpc_id: The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + :param pulumi.Input[str] name: The name of the external model. + :param pulumi.Input[str] provider: The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. + :param pulumi.Input[str] task: The task type of the external model. + :param pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs'] ai21labs_config: AI21Labs Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs'] amazon_bedrock_config: Amazon Bedrock Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs'] anthropic_config: Anthropic Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs'] cohere_config: Cohere Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs'] databricks_model_serving_config: Databricks Model Serving Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs'] google_cloud_vertex_ai_config: Google Cloud Vertex AI Config. + :param pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs'] openai_config: OpenAI Config + :param pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs'] palm_config: PaLM Config """ - pulumi.set(__self__, "network_project_id", network_project_id) - pulumi.set(__self__, "pod_ip_range_name", pod_ip_range_name) - pulumi.set(__self__, "service_ip_range_name", service_ip_range_name) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "subnet_region", subnet_region) - pulumi.set(__self__, "vpc_id", vpc_id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "provider", provider) + pulumi.set(__self__, "task", task) + if ai21labs_config is not None: + pulumi.set(__self__, "ai21labs_config", ai21labs_config) + if amazon_bedrock_config is not None: + pulumi.set(__self__, "amazon_bedrock_config", amazon_bedrock_config) + if anthropic_config is not None: + pulumi.set(__self__, "anthropic_config", anthropic_config) + if cohere_config is not None: + pulumi.set(__self__, "cohere_config", cohere_config) + if databricks_model_serving_config is not None: + pulumi.set(__self__, "databricks_model_serving_config", databricks_model_serving_config) + if google_cloud_vertex_ai_config is not None: + pulumi.set(__self__, "google_cloud_vertex_ai_config", google_cloud_vertex_ai_config) + if openai_config is not None: + pulumi.set(__self__, "openai_config", openai_config) + if palm_config is not None: + pulumi.set(__self__, "palm_config", palm_config) @property - @pulumi.getter(name="networkProjectId") - def network_project_id(self) -> pulumi.Input[str]: + @pulumi.getter + def name(self) -> pulumi.Input[str]: """ - The Google Cloud project ID of the VPC network. + The name of the external model. """ - return pulumi.get(self, "network_project_id") + return pulumi.get(self, "name") - @network_project_id.setter - def network_project_id(self, value: pulumi.Input[str]): - pulumi.set(self, "network_project_id", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="podIpRangeName") - def pod_ip_range_name(self) -> pulumi.Input[str]: + @pulumi.getter + def provider(self) -> pulumi.Input[str]: """ - The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + The name of the provider for the external model. Currently, the supported providers are `ai21labs`, `anthropic`, `amazon-bedrock`, `cohere`, `databricks-model-serving`, `google-cloud-vertex-ai`, `openai`, and `palm`. """ - return pulumi.get(self, "pod_ip_range_name") + return pulumi.get(self, "provider") - @pod_ip_range_name.setter - def pod_ip_range_name(self, value: pulumi.Input[str]): - pulumi.set(self, "pod_ip_range_name", value) + @provider.setter + def provider(self, value: pulumi.Input[str]): + pulumi.set(self, "provider", value) @property - @pulumi.getter(name="serviceIpRangeName") - def service_ip_range_name(self) -> pulumi.Input[str]: + @pulumi.getter + def task(self) -> pulumi.Input[str]: """ - The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + The task type of the external model. """ - return pulumi.get(self, "service_ip_range_name") + return pulumi.get(self, "task") - @service_ip_range_name.setter - def service_ip_range_name(self, value: pulumi.Input[str]): - pulumi.set(self, "service_ip_range_name", value) + @task.setter + def task(self, value: pulumi.Input[str]): + pulumi.set(self, "task", value) @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="ai21labsConfig") + def ai21labs_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']]: """ - The ID of the subnet associated with this network. + AI21Labs Config """ - return pulumi.get(self, "subnet_id") + return pulumi.get(self, "ai21labs_config") - @subnet_id.setter - def subnet_id(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_id", value) + @ai21labs_config.setter + def ai21labs_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAi21labsConfigArgs']]): + pulumi.set(self, "ai21labs_config", value) @property - @pulumi.getter(name="subnetRegion") - def subnet_region(self) -> pulumi.Input[str]: + @pulumi.getter(name="amazonBedrockConfig") + def amazon_bedrock_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']]: """ - The Google Cloud region of the workspace data plane. For example, `us-east4`. + Amazon Bedrock Config """ - return pulumi.get(self, "subnet_region") + return pulumi.get(self, "amazon_bedrock_config") - @subnet_region.setter - def subnet_region(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_region", value) + @amazon_bedrock_config.setter + def amazon_bedrock_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs']]): + pulumi.set(self, "amazon_bedrock_config", value) @property - @pulumi.getter(name="vpcId") - def vpc_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="anthropicConfig") + def anthropic_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']]: """ - The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + Anthropic Config """ - return pulumi.get(self, "vpc_id") - - @vpc_id.setter - def vpc_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vpc_id", value) - - -if not MYPY: - class MwsNetworksVpcEndpointsArgsDict(TypedDict): - dataplane_relays: pulumi.Input[Sequence[pulumi.Input[str]]] - rest_apis: pulumi.Input[Sequence[pulumi.Input[str]]] -elif False: - MwsNetworksVpcEndpointsArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "anthropic_config") -@pulumi.input_type -class MwsNetworksVpcEndpointsArgs: - def __init__(__self__, *, - dataplane_relays: pulumi.Input[Sequence[pulumi.Input[str]]], - rest_apis: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(__self__, "dataplane_relays", dataplane_relays) - pulumi.set(__self__, "rest_apis", rest_apis) + @anthropic_config.setter + def anthropic_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelAnthropicConfigArgs']]): + pulumi.set(self, "anthropic_config", value) @property - @pulumi.getter(name="dataplaneRelays") - def dataplane_relays(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "dataplane_relays") + @pulumi.getter(name="cohereConfig") + def cohere_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']]: + """ + Cohere Config + """ + return pulumi.get(self, "cohere_config") - @dataplane_relays.setter - def dataplane_relays(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "dataplane_relays", value) + @cohere_config.setter + def cohere_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelCohereConfigArgs']]): + pulumi.set(self, "cohere_config", value) @property - @pulumi.getter(name="restApis") - def rest_apis(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "rest_apis") - - @rest_apis.setter - def rest_apis(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "rest_apis", value) + @pulumi.getter(name="databricksModelServingConfig") + def databricks_model_serving_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs']]: + """ + Databricks Model Serving Config + """ + return pulumi.get(self, "databricks_model_serving_config") + @databricks_model_serving_config.setter + def databricks_model_serving_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs']]): + pulumi.set(self, "databricks_model_serving_config", value) -if not MYPY: - class MwsVpcEndpointGcpVpcEndpointInfoArgsDict(TypedDict): - endpoint_region: pulumi.Input[str] + @property + @pulumi.getter(name="googleCloudVertexAiConfig") + def google_cloud_vertex_ai_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']]: """ - Region of the PSC endpoint. + Google Cloud Vertex AI Config. """ - project_id: pulumi.Input[str] + return pulumi.get(self, "google_cloud_vertex_ai_config") + + @google_cloud_vertex_ai_config.setter + def google_cloud_vertex_ai_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']]): + pulumi.set(self, "google_cloud_vertex_ai_config", value) + + @property + @pulumi.getter(name="openaiConfig") + def openai_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']]: """ - The Google Cloud project ID of the VPC network where the PSC connection resides. + OpenAI Config """ - psc_endpoint_name: pulumi.Input[str] + return pulumi.get(self, "openai_config") + + @openai_config.setter + def openai_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelOpenaiConfigArgs']]): + pulumi.set(self, "openai_config", value) + + @property + @pulumi.getter(name="palmConfig") + def palm_config(self) -> Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']]: """ - The name of the PSC endpoint in the Google Cloud project. + PaLM Config """ - psc_connection_id: NotRequired[pulumi.Input[str]] + return pulumi.get(self, "palm_config") + + @palm_config.setter + def palm_config(self, value: Optional[pulumi.Input['ModelServingConfigServedEntityExternalModelPalmConfigArgs']]): + pulumi.set(self, "palm_config", value) + + +if not MYPY: + class ModelServingConfigServedEntityExternalModelAi21labsConfigArgsDict(TypedDict): + ai21labs_api_key: NotRequired[pulumi.Input[str]] """ - The unique ID of this PSC connection. + The Databricks secret key reference for an AI21Labs API key. """ - service_attachment_id: NotRequired[pulumi.Input[str]] + ai21labs_api_key_plaintext: NotRequired[pulumi.Input[str]] """ - The service attachment this PSC connection connects to. + An AI21 Labs API key provided as a plaintext string. """ elif False: - MwsVpcEndpointGcpVpcEndpointInfoArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelAi21labsConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsVpcEndpointGcpVpcEndpointInfoArgs: +class ModelServingConfigServedEntityExternalModelAi21labsConfigArgs: def __init__(__self__, *, - endpoint_region: pulumi.Input[str], - project_id: pulumi.Input[str], - psc_endpoint_name: pulumi.Input[str], - psc_connection_id: Optional[pulumi.Input[str]] = None, - service_attachment_id: Optional[pulumi.Input[str]] = None): + ai21labs_api_key: Optional[pulumi.Input[str]] = None, + ai21labs_api_key_plaintext: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] endpoint_region: Region of the PSC endpoint. - :param pulumi.Input[str] project_id: The Google Cloud project ID of the VPC network where the PSC connection resides. - :param pulumi.Input[str] psc_endpoint_name: The name of the PSC endpoint in the Google Cloud project. - :param pulumi.Input[str] psc_connection_id: The unique ID of this PSC connection. - :param pulumi.Input[str] service_attachment_id: The service attachment this PSC connection connects to. + :param pulumi.Input[str] ai21labs_api_key: The Databricks secret key reference for an AI21Labs API key. + :param pulumi.Input[str] ai21labs_api_key_plaintext: An AI21 Labs API key provided as a plaintext string. """ - pulumi.set(__self__, "endpoint_region", endpoint_region) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "psc_endpoint_name", psc_endpoint_name) - if psc_connection_id is not None: - pulumi.set(__self__, "psc_connection_id", psc_connection_id) - if service_attachment_id is not None: - pulumi.set(__self__, "service_attachment_id", service_attachment_id) + if ai21labs_api_key is not None: + pulumi.set(__self__, "ai21labs_api_key", ai21labs_api_key) + if ai21labs_api_key_plaintext is not None: + pulumi.set(__self__, "ai21labs_api_key_plaintext", ai21labs_api_key_plaintext) @property - @pulumi.getter(name="endpointRegion") - def endpoint_region(self) -> pulumi.Input[str]: + @pulumi.getter(name="ai21labsApiKey") + def ai21labs_api_key(self) -> Optional[pulumi.Input[str]]: """ - Region of the PSC endpoint. + The Databricks secret key reference for an AI21Labs API key. """ - return pulumi.get(self, "endpoint_region") + return pulumi.get(self, "ai21labs_api_key") - @endpoint_region.setter - def endpoint_region(self, value: pulumi.Input[str]): - pulumi.set(self, "endpoint_region", value) + @ai21labs_api_key.setter + def ai21labs_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ai21labs_api_key", value) @property - @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="ai21labsApiKeyPlaintext") + def ai21labs_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: """ - The Google Cloud project ID of the VPC network where the PSC connection resides. + An AI21 Labs API key provided as a plaintext string. """ - return pulumi.get(self, "project_id") + return pulumi.get(self, "ai21labs_api_key_plaintext") - @project_id.setter - def project_id(self, value: pulumi.Input[str]): - pulumi.set(self, "project_id", value) + @ai21labs_api_key_plaintext.setter + def ai21labs_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ai21labs_api_key_plaintext", value) - @property - @pulumi.getter(name="pscEndpointName") - def psc_endpoint_name(self) -> pulumi.Input[str]: + +if not MYPY: + class ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgsDict(TypedDict): + aws_region: pulumi.Input[str] """ - The name of the PSC endpoint in the Google Cloud project. + The AWS region to use. Bedrock has to be enabled there. """ - return pulumi.get(self, "psc_endpoint_name") - - @psc_endpoint_name.setter - def psc_endpoint_name(self, value: pulumi.Input[str]): - pulumi.set(self, "psc_endpoint_name", value) - - @property - @pulumi.getter(name="pscConnectionId") - def psc_connection_id(self) -> Optional[pulumi.Input[str]]: + bedrock_provider: pulumi.Input[str] """ - The unique ID of this PSC connection. + The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. """ - return pulumi.get(self, "psc_connection_id") - - @psc_connection_id.setter - def psc_connection_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "psc_connection_id", value) - - @property - @pulumi.getter(name="serviceAttachmentId") - def service_attachment_id(self) -> Optional[pulumi.Input[str]]: + aws_access_key_id: NotRequired[pulumi.Input[str]] """ - The service attachment this PSC connection connects to. + The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. """ - return pulumi.get(self, "service_attachment_id") - - @service_attachment_id.setter - def service_attachment_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_attachment_id", value) - - -if not MYPY: - class MwsWorkspacesCloudResourceContainerArgsDict(TypedDict): - gcp: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgsDict'] + aws_access_key_id_plaintext: NotRequired[pulumi.Input[str]] """ - A block that consists of the following field: + An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + """ + aws_secret_access_key: NotRequired[pulumi.Input[str]] + """ + The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + """ + aws_secret_access_key_plaintext: NotRequired[pulumi.Input[str]] + """ + An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. """ elif False: - MwsWorkspacesCloudResourceContainerArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsWorkspacesCloudResourceContainerArgs: +class ModelServingConfigServedEntityExternalModelAmazonBedrockConfigArgs: def __init__(__self__, *, - gcp: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs']): + aws_region: pulumi.Input[str], + bedrock_provider: pulumi.Input[str], + aws_access_key_id: Optional[pulumi.Input[str]] = None, + aws_access_key_id_plaintext: Optional[pulumi.Input[str]] = None, + aws_secret_access_key: Optional[pulumi.Input[str]] = None, + aws_secret_access_key_plaintext: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs'] gcp: A block that consists of the following field: + :param pulumi.Input[str] aws_region: The AWS region to use. Bedrock has to be enabled there. + :param pulumi.Input[str] bedrock_provider: The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. + :param pulumi.Input[str] aws_access_key_id: The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. + :param pulumi.Input[str] aws_access_key_id_plaintext: An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + :param pulumi.Input[str] aws_secret_access_key: The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + :param pulumi.Input[str] aws_secret_access_key_plaintext: An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. """ - pulumi.set(__self__, "gcp", gcp) + pulumi.set(__self__, "aws_region", aws_region) + pulumi.set(__self__, "bedrock_provider", bedrock_provider) + if aws_access_key_id is not None: + pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) + if aws_access_key_id_plaintext is not None: + pulumi.set(__self__, "aws_access_key_id_plaintext", aws_access_key_id_plaintext) + if aws_secret_access_key is not None: + pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) + if aws_secret_access_key_plaintext is not None: + pulumi.set(__self__, "aws_secret_access_key_plaintext", aws_secret_access_key_plaintext) @property - @pulumi.getter - def gcp(self) -> pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs']: + @pulumi.getter(name="awsRegion") + def aws_region(self) -> pulumi.Input[str]: """ - A block that consists of the following field: + The AWS region to use. Bedrock has to be enabled there. """ - return pulumi.get(self, "gcp") - - @gcp.setter - def gcp(self, value: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs']): - pulumi.set(self, "gcp", value) + return pulumi.get(self, "aws_region") + @aws_region.setter + def aws_region(self, value: pulumi.Input[str]): + pulumi.set(self, "aws_region", value) -if not MYPY: - class MwsWorkspacesCloudResourceContainerGcpArgsDict(TypedDict): - project_id: pulumi.Input[str] + @property + @pulumi.getter(name="bedrockProvider") + def bedrock_provider(self) -> pulumi.Input[str]: """ - The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + The underlying provider in Amazon Bedrock. Supported values (case insensitive) include: `Anthropic`, `Cohere`, `AI21Labs`, `Amazon`. """ -elif False: - MwsWorkspacesCloudResourceContainerGcpArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "bedrock_provider") -@pulumi.input_type -class MwsWorkspacesCloudResourceContainerGcpArgs: - def __init__(__self__, *, - project_id: pulumi.Input[str]): - """ - :param pulumi.Input[str] project_id: The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. - """ - pulumi.set(__self__, "project_id", project_id) + @bedrock_provider.setter + def bedrock_provider(self, value: pulumi.Input[str]): + pulumi.set(self, "bedrock_provider", value) @property - @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="awsAccessKeyId") + def aws_access_key_id(self) -> Optional[pulumi.Input[str]]: """ - The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + The Databricks secret key reference for an AWS Access Key ID with permissions to interact with Bedrock services. """ - return pulumi.get(self, "project_id") - - @project_id.setter - def project_id(self, value: pulumi.Input[str]): - pulumi.set(self, "project_id", value) - - -if not MYPY: - class MwsWorkspacesExternalCustomerInfoArgsDict(TypedDict): - authoritative_user_email: pulumi.Input[str] - authoritative_user_full_name: pulumi.Input[str] - customer_name: pulumi.Input[str] -elif False: - MwsWorkspacesExternalCustomerInfoArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "aws_access_key_id") -@pulumi.input_type -class MwsWorkspacesExternalCustomerInfoArgs: - def __init__(__self__, *, - authoritative_user_email: pulumi.Input[str], - authoritative_user_full_name: pulumi.Input[str], - customer_name: pulumi.Input[str]): - pulumi.set(__self__, "authoritative_user_email", authoritative_user_email) - pulumi.set(__self__, "authoritative_user_full_name", authoritative_user_full_name) - pulumi.set(__self__, "customer_name", customer_name) + @aws_access_key_id.setter + def aws_access_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_access_key_id", value) @property - @pulumi.getter(name="authoritativeUserEmail") - def authoritative_user_email(self) -> pulumi.Input[str]: - return pulumi.get(self, "authoritative_user_email") + @pulumi.getter(name="awsAccessKeyIdPlaintext") + def aws_access_key_id_plaintext(self) -> Optional[pulumi.Input[str]]: + """ + An AWS access key ID with permissions to interact with Bedrock services provided as a plaintext string. + """ + return pulumi.get(self, "aws_access_key_id_plaintext") - @authoritative_user_email.setter - def authoritative_user_email(self, value: pulumi.Input[str]): - pulumi.set(self, "authoritative_user_email", value) + @aws_access_key_id_plaintext.setter + def aws_access_key_id_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_access_key_id_plaintext", value) @property - @pulumi.getter(name="authoritativeUserFullName") - def authoritative_user_full_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "authoritative_user_full_name") + @pulumi.getter(name="awsSecretAccessKey") + def aws_secret_access_key(self) -> Optional[pulumi.Input[str]]: + """ + The Databricks secret key reference for an AWS Secret Access Key paired with the access key ID, with permissions to interact with Bedrock services. + """ + return pulumi.get(self, "aws_secret_access_key") - @authoritative_user_full_name.setter - def authoritative_user_full_name(self, value: pulumi.Input[str]): - pulumi.set(self, "authoritative_user_full_name", value) + @aws_secret_access_key.setter + def aws_secret_access_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_secret_access_key", value) @property - @pulumi.getter(name="customerName") - def customer_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "customer_name") + @pulumi.getter(name="awsSecretAccessKeyPlaintext") + def aws_secret_access_key_plaintext(self) -> Optional[pulumi.Input[str]]: + """ + An AWS secret access key paired with the access key ID, with permissions to interact with Bedrock services provided as a plaintext string. + """ + return pulumi.get(self, "aws_secret_access_key_plaintext") - @customer_name.setter - def customer_name(self, value: pulumi.Input[str]): - pulumi.set(self, "customer_name", value) + @aws_secret_access_key_plaintext.setter + def aws_secret_access_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_secret_access_key_plaintext", value) if not MYPY: - class MwsWorkspacesGcpManagedNetworkConfigArgsDict(TypedDict): - gke_cluster_pod_ip_range: pulumi.Input[str] - gke_cluster_service_ip_range: pulumi.Input[str] - subnet_cidr: pulumi.Input[str] + class ModelServingConfigServedEntityExternalModelAnthropicConfigArgsDict(TypedDict): + anthropic_api_key: NotRequired[pulumi.Input[str]] + """ + The Databricks secret key reference for an Anthropic API key. + """ + anthropic_api_key_plaintext: NotRequired[pulumi.Input[str]] + """ + The Anthropic API key provided as a plaintext string. + """ elif False: - MwsWorkspacesGcpManagedNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelAnthropicConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsWorkspacesGcpManagedNetworkConfigArgs: +class ModelServingConfigServedEntityExternalModelAnthropicConfigArgs: def __init__(__self__, *, - gke_cluster_pod_ip_range: pulumi.Input[str], - gke_cluster_service_ip_range: pulumi.Input[str], - subnet_cidr: pulumi.Input[str]): - pulumi.set(__self__, "gke_cluster_pod_ip_range", gke_cluster_pod_ip_range) - pulumi.set(__self__, "gke_cluster_service_ip_range", gke_cluster_service_ip_range) - pulumi.set(__self__, "subnet_cidr", subnet_cidr) - - @property - @pulumi.getter(name="gkeClusterPodIpRange") - def gke_cluster_pod_ip_range(self) -> pulumi.Input[str]: - return pulumi.get(self, "gke_cluster_pod_ip_range") - - @gke_cluster_pod_ip_range.setter - def gke_cluster_pod_ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "gke_cluster_pod_ip_range", value) + anthropic_api_key: Optional[pulumi.Input[str]] = None, + anthropic_api_key_plaintext: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] anthropic_api_key: The Databricks secret key reference for an Anthropic API key. + :param pulumi.Input[str] anthropic_api_key_plaintext: The Anthropic API key provided as a plaintext string. + """ + if anthropic_api_key is not None: + pulumi.set(__self__, "anthropic_api_key", anthropic_api_key) + if anthropic_api_key_plaintext is not None: + pulumi.set(__self__, "anthropic_api_key_plaintext", anthropic_api_key_plaintext) @property - @pulumi.getter(name="gkeClusterServiceIpRange") - def gke_cluster_service_ip_range(self) -> pulumi.Input[str]: - return pulumi.get(self, "gke_cluster_service_ip_range") + @pulumi.getter(name="anthropicApiKey") + def anthropic_api_key(self) -> Optional[pulumi.Input[str]]: + """ + The Databricks secret key reference for an Anthropic API key. + """ + return pulumi.get(self, "anthropic_api_key") - @gke_cluster_service_ip_range.setter - def gke_cluster_service_ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "gke_cluster_service_ip_range", value) + @anthropic_api_key.setter + def anthropic_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "anthropic_api_key", value) @property - @pulumi.getter(name="subnetCidr") - def subnet_cidr(self) -> pulumi.Input[str]: - return pulumi.get(self, "subnet_cidr") + @pulumi.getter(name="anthropicApiKeyPlaintext") + def anthropic_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: + """ + The Anthropic API key provided as a plaintext string. + """ + return pulumi.get(self, "anthropic_api_key_plaintext") - @subnet_cidr.setter - def subnet_cidr(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_cidr", value) + @anthropic_api_key_plaintext.setter + def anthropic_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "anthropic_api_key_plaintext", value) if not MYPY: - class MwsWorkspacesGkeConfigArgsDict(TypedDict): - connectivity_type: pulumi.Input[str] + class ModelServingConfigServedEntityExternalModelCohereConfigArgsDict(TypedDict): + cohere_api_base: NotRequired[pulumi.Input[str]] + cohere_api_key: NotRequired[pulumi.Input[str]] """ - Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + The Databricks secret key reference for a Cohere API key. """ - master_ip_range: pulumi.Input[str] + cohere_api_key_plaintext: NotRequired[pulumi.Input[str]] """ - The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + The Cohere API key provided as a plaintext string. """ elif False: - MwsWorkspacesGkeConfigArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelCohereConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsWorkspacesGkeConfigArgs: +class ModelServingConfigServedEntityExternalModelCohereConfigArgs: def __init__(__self__, *, - connectivity_type: pulumi.Input[str], - master_ip_range: pulumi.Input[str]): + cohere_api_base: Optional[pulumi.Input[str]] = None, + cohere_api_key: Optional[pulumi.Input[str]] = None, + cohere_api_key_plaintext: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] connectivity_type: Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. - :param pulumi.Input[str] master_ip_range: The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + :param pulumi.Input[str] cohere_api_key: The Databricks secret key reference for a Cohere API key. + :param pulumi.Input[str] cohere_api_key_plaintext: The Cohere API key provided as a plaintext string. """ - pulumi.set(__self__, "connectivity_type", connectivity_type) - pulumi.set(__self__, "master_ip_range", master_ip_range) + if cohere_api_base is not None: + pulumi.set(__self__, "cohere_api_base", cohere_api_base) + if cohere_api_key is not None: + pulumi.set(__self__, "cohere_api_key", cohere_api_key) + if cohere_api_key_plaintext is not None: + pulumi.set(__self__, "cohere_api_key_plaintext", cohere_api_key_plaintext) @property - @pulumi.getter(name="connectivityType") - def connectivity_type(self) -> pulumi.Input[str]: + @pulumi.getter(name="cohereApiBase") + def cohere_api_base(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cohere_api_base") + + @cohere_api_base.setter + def cohere_api_base(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cohere_api_base", value) + + @property + @pulumi.getter(name="cohereApiKey") + def cohere_api_key(self) -> Optional[pulumi.Input[str]]: """ - Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + The Databricks secret key reference for a Cohere API key. """ - return pulumi.get(self, "connectivity_type") + return pulumi.get(self, "cohere_api_key") - @connectivity_type.setter - def connectivity_type(self, value: pulumi.Input[str]): - pulumi.set(self, "connectivity_type", value) + @cohere_api_key.setter + def cohere_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cohere_api_key", value) @property - @pulumi.getter(name="masterIpRange") - def master_ip_range(self) -> pulumi.Input[str]: + @pulumi.getter(name="cohereApiKeyPlaintext") + def cohere_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: """ - The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + The Cohere API key provided as a plaintext string. """ - return pulumi.get(self, "master_ip_range") + return pulumi.get(self, "cohere_api_key_plaintext") - @master_ip_range.setter - def master_ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "master_ip_range", value) + @cohere_api_key_plaintext.setter + def cohere_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cohere_api_key_plaintext", value) if not MYPY: - class MwsWorkspacesTokenArgsDict(TypedDict): - comment: NotRequired[pulumi.Input[str]] + class ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict(TypedDict): + databricks_workspace_url: pulumi.Input[str] """ - Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. """ - lifetime_seconds: NotRequired[pulumi.Input[int]] + databricks_api_token: NotRequired[pulumi.Input[str]] """ - Token expiry lifetime. By default its 2592000 (30 days). + The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. + """ + databricks_api_token_plaintext: NotRequired[pulumi.Input[str]] + """ + The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. """ - token_id: NotRequired[pulumi.Input[str]] - token_value: NotRequired[pulumi.Input[str]] elif False: - MwsWorkspacesTokenArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class MwsWorkspacesTokenArgs: +class ModelServingConfigServedEntityExternalModelDatabricksModelServingConfigArgs: def __init__(__self__, *, - comment: Optional[pulumi.Input[str]] = None, - lifetime_seconds: Optional[pulumi.Input[int]] = None, - token_id: Optional[pulumi.Input[str]] = None, - token_value: Optional[pulumi.Input[str]] = None): + databricks_workspace_url: pulumi.Input[str], + databricks_api_token: Optional[pulumi.Input[str]] = None, + databricks_api_token_plaintext: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] comment: Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". - :param pulumi.Input[int] lifetime_seconds: Token expiry lifetime. By default its 2592000 (30 days). + :param pulumi.Input[str] databricks_workspace_url: The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. + :param pulumi.Input[str] databricks_api_token: The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. + :param pulumi.Input[str] databricks_api_token_plaintext: The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. """ - if comment is not None: - pulumi.set(__self__, "comment", comment) - if lifetime_seconds is not None: - pulumi.set(__self__, "lifetime_seconds", lifetime_seconds) - if token_id is not None: - pulumi.set(__self__, "token_id", token_id) - if token_value is not None: - pulumi.set(__self__, "token_value", token_value) + pulumi.set(__self__, "databricks_workspace_url", databricks_workspace_url) + if databricks_api_token is not None: + pulumi.set(__self__, "databricks_api_token", databricks_api_token) + if databricks_api_token_plaintext is not None: + pulumi.set(__self__, "databricks_api_token_plaintext", databricks_api_token_plaintext) @property - @pulumi.getter - def comment(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="databricksWorkspaceUrl") + def databricks_workspace_url(self) -> pulumi.Input[str]: """ - Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + The URL of the Databricks workspace containing the model serving endpoint pointed to by this external model. """ - return pulumi.get(self, "comment") + return pulumi.get(self, "databricks_workspace_url") - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) + @databricks_workspace_url.setter + def databricks_workspace_url(self, value: pulumi.Input[str]): + pulumi.set(self, "databricks_workspace_url", value) @property - @pulumi.getter(name="lifetimeSeconds") - def lifetime_seconds(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="databricksApiToken") + def databricks_api_token(self) -> Optional[pulumi.Input[str]]: """ - Token expiry lifetime. By default its 2592000 (30 days). + The Databricks secret key reference for a Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model. """ - return pulumi.get(self, "lifetime_seconds") - - @lifetime_seconds.setter - def lifetime_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "lifetime_seconds", value) - - @property - @pulumi.getter(name="tokenId") - def token_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "token_id") + return pulumi.get(self, "databricks_api_token") - @token_id.setter - def token_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "token_id", value) + @databricks_api_token.setter + def databricks_api_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "databricks_api_token", value) @property - @pulumi.getter(name="tokenValue") - def token_value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "token_value") + @pulumi.getter(name="databricksApiTokenPlaintext") + def databricks_api_token_plaintext(self) -> Optional[pulumi.Input[str]]: + """ + The Databricks API token that corresponds to a user or service principal with Can Query access to the model serving endpoint pointed to by this external model provided as a plaintext string. + """ + return pulumi.get(self, "databricks_api_token_plaintext") - @token_value.setter - def token_value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "token_value", value) + @databricks_api_token_plaintext.setter + def databricks_api_token_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "databricks_api_token_plaintext", value) if not MYPY: - class NotificationDestinationConfigArgsDict(TypedDict): - email: NotRequired[pulumi.Input['NotificationDestinationConfigEmailArgsDict']] - """ - The email configuration of the Notification Destination. It must contain the following: - """ - generic_webhook: NotRequired[pulumi.Input['NotificationDestinationConfigGenericWebhookArgsDict']] + class ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict(TypedDict): + private_key: NotRequired[pulumi.Input[str]] """ - The Generic Webhook configuration of the Notification Destination. It must contain the following: + The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. """ - microsoft_teams: NotRequired[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgsDict']] + private_key_plaintext: NotRequired[pulumi.Input[str]] """ - The Microsoft Teams configuration of the Notification Destination. It must contain the following: + The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. """ - pagerduty: NotRequired[pulumi.Input['NotificationDestinationConfigPagerdutyArgsDict']] + project_id: NotRequired[pulumi.Input[str]] """ - The PagerDuty configuration of the Notification Destination. It must contain the following: + This is the Google Cloud project id that the service account is associated with. """ - slack: NotRequired[pulumi.Input['NotificationDestinationConfigSlackArgsDict']] + region: NotRequired[pulumi.Input[str]] """ - The Slack configuration of the Notification Destination. It must contain the following: + This is the region for the Google Cloud Vertex AI Service. """ elif False: - NotificationDestinationConfigArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class NotificationDestinationConfigArgs: +class ModelServingConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs: def __init__(__self__, *, - email: Optional[pulumi.Input['NotificationDestinationConfigEmailArgs']] = None, - generic_webhook: Optional[pulumi.Input['NotificationDestinationConfigGenericWebhookArgs']] = None, - microsoft_teams: Optional[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs']] = None, - pagerduty: Optional[pulumi.Input['NotificationDestinationConfigPagerdutyArgs']] = None, - slack: Optional[pulumi.Input['NotificationDestinationConfigSlackArgs']] = None): + private_key: Optional[pulumi.Input[str]] = None, + private_key_plaintext: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input['NotificationDestinationConfigEmailArgs'] email: The email configuration of the Notification Destination. It must contain the following: - :param pulumi.Input['NotificationDestinationConfigGenericWebhookArgs'] generic_webhook: The Generic Webhook configuration of the Notification Destination. It must contain the following: - :param pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs'] microsoft_teams: The Microsoft Teams configuration of the Notification Destination. It must contain the following: - :param pulumi.Input['NotificationDestinationConfigPagerdutyArgs'] pagerduty: The PagerDuty configuration of the Notification Destination. It must contain the following: - :param pulumi.Input['NotificationDestinationConfigSlackArgs'] slack: The Slack configuration of the Notification Destination. It must contain the following: - """ - if email is not None: - pulumi.set(__self__, "email", email) - if generic_webhook is not None: - pulumi.set(__self__, "generic_webhook", generic_webhook) - if microsoft_teams is not None: - pulumi.set(__self__, "microsoft_teams", microsoft_teams) - if pagerduty is not None: - pulumi.set(__self__, "pagerduty", pagerduty) - if slack is not None: - pulumi.set(__self__, "slack", slack) - - @property - @pulumi.getter - def email(self) -> Optional[pulumi.Input['NotificationDestinationConfigEmailArgs']]: - """ - The email configuration of the Notification Destination. It must contain the following: + :param pulumi.Input[str] private_key: The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. + :param pulumi.Input[str] private_key_plaintext: The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. + :param pulumi.Input[str] project_id: This is the Google Cloud project id that the service account is associated with. + :param pulumi.Input[str] region: This is the region for the Google Cloud Vertex AI Service. """ - return pulumi.get(self, "email") - - @email.setter - def email(self, value: Optional[pulumi.Input['NotificationDestinationConfigEmailArgs']]): - pulumi.set(self, "email", value) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if private_key_plaintext is not None: + pulumi.set(__self__, "private_key_plaintext", private_key_plaintext) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="genericWebhook") - def generic_webhook(self) -> Optional[pulumi.Input['NotificationDestinationConfigGenericWebhookArgs']]: + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[str]]: """ - The Generic Webhook configuration of the Notification Destination. It must contain the following: + The Databricks secret key reference for a private key for the service account that has access to the Google Cloud Vertex AI Service. """ - return pulumi.get(self, "generic_webhook") + return pulumi.get(self, "private_key") - @generic_webhook.setter - def generic_webhook(self, value: Optional[pulumi.Input['NotificationDestinationConfigGenericWebhookArgs']]): - pulumi.set(self, "generic_webhook", value) + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key", value) @property - @pulumi.getter(name="microsoftTeams") - def microsoft_teams(self) -> Optional[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs']]: + @pulumi.getter(name="privateKeyPlaintext") + def private_key_plaintext(self) -> Optional[pulumi.Input[str]]: """ - The Microsoft Teams configuration of the Notification Destination. It must contain the following: + The private key for the service account that has access to the Google Cloud Vertex AI Service is provided as a plaintext secret. """ - return pulumi.get(self, "microsoft_teams") + return pulumi.get(self, "private_key_plaintext") - @microsoft_teams.setter - def microsoft_teams(self, value: Optional[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs']]): - pulumi.set(self, "microsoft_teams", value) + @private_key_plaintext.setter + def private_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_key_plaintext", value) @property - @pulumi.getter - def pagerduty(self) -> Optional[pulumi.Input['NotificationDestinationConfigPagerdutyArgs']]: + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[pulumi.Input[str]]: """ - The PagerDuty configuration of the Notification Destination. It must contain the following: + This is the Google Cloud project id that the service account is associated with. """ - return pulumi.get(self, "pagerduty") + return pulumi.get(self, "project_id") - @pagerduty.setter - def pagerduty(self, value: Optional[pulumi.Input['NotificationDestinationConfigPagerdutyArgs']]): - pulumi.set(self, "pagerduty", value) + @project_id.setter + def project_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_id", value) @property @pulumi.getter - def slack(self) -> Optional[pulumi.Input['NotificationDestinationConfigSlackArgs']]: + def region(self) -> Optional[pulumi.Input[str]]: """ - The Slack configuration of the Notification Destination. It must contain the following: + This is the region for the Google Cloud Vertex AI Service. """ - return pulumi.get(self, "slack") + return pulumi.get(self, "region") - @slack.setter - def slack(self, value: Optional[pulumi.Input['NotificationDestinationConfigSlackArgs']]): - pulumi.set(self, "slack", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class NotificationDestinationConfigEmailArgsDict(TypedDict): - addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class ModelServingConfigServedEntityExternalModelOpenaiConfigArgsDict(TypedDict): + microsoft_entra_client_id: NotRequired[pulumi.Input[str]] """ - The list of email addresses to send notifications to. + This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. """ -elif False: - NotificationDestinationConfigEmailArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class NotificationDestinationConfigEmailArgs: - def __init__(__self__, *, - addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + microsoft_entra_client_secret: NotRequired[pulumi.Input[str]] """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] addresses: The list of email addresses to send notifications to. + The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. """ - if addresses is not None: - pulumi.set(__self__, "addresses", addresses) - - @property - @pulumi.getter - def addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + microsoft_entra_client_secret_plaintext: NotRequired[pulumi.Input[str]] """ - The list of email addresses to send notifications to. + The client secret used for Microsoft Entra ID authentication provided as a plaintext string. """ - return pulumi.get(self, "addresses") - - @addresses.setter - def addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "addresses", value) - - -if not MYPY: - class NotificationDestinationConfigGenericWebhookArgsDict(TypedDict): - password: NotRequired[pulumi.Input[str]] + microsoft_entra_tenant_id: NotRequired[pulumi.Input[str]] """ - The password for basic authentication. - - > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. + This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. """ - password_set: NotRequired[pulumi.Input[bool]] - url: NotRequired[pulumi.Input[str]] + openai_api_base: NotRequired[pulumi.Input[str]] """ - The Generic Webhook URL. + This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. """ - url_set: NotRequired[pulumi.Input[bool]] - username: NotRequired[pulumi.Input[str]] + openai_api_key: NotRequired[pulumi.Input[str]] """ - The username for basic authentication. + The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + """ + openai_api_key_plaintext: NotRequired[pulumi.Input[str]] + """ + The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. + """ + openai_api_type: NotRequired[pulumi.Input[str]] + """ + This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. + """ + openai_api_version: NotRequired[pulumi.Input[str]] + """ + This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. + """ + openai_deployment_name: NotRequired[pulumi.Input[str]] + """ + This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + """ + openai_organization: NotRequired[pulumi.Input[str]] + """ + This is an optional field to specify the organization in OpenAI or Azure OpenAI. """ - username_set: NotRequired[pulumi.Input[bool]] elif False: - NotificationDestinationConfigGenericWebhookArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelOpenaiConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class NotificationDestinationConfigGenericWebhookArgs: +class ModelServingConfigServedEntityExternalModelOpenaiConfigArgs: def __init__(__self__, *, - password: Optional[pulumi.Input[str]] = None, - password_set: Optional[pulumi.Input[bool]] = None, - url: Optional[pulumi.Input[str]] = None, - url_set: Optional[pulumi.Input[bool]] = None, - username: Optional[pulumi.Input[str]] = None, - username_set: Optional[pulumi.Input[bool]] = None): + microsoft_entra_client_id: Optional[pulumi.Input[str]] = None, + microsoft_entra_client_secret: Optional[pulumi.Input[str]] = None, + microsoft_entra_client_secret_plaintext: Optional[pulumi.Input[str]] = None, + microsoft_entra_tenant_id: Optional[pulumi.Input[str]] = None, + openai_api_base: Optional[pulumi.Input[str]] = None, + openai_api_key: Optional[pulumi.Input[str]] = None, + openai_api_key_plaintext: Optional[pulumi.Input[str]] = None, + openai_api_type: Optional[pulumi.Input[str]] = None, + openai_api_version: Optional[pulumi.Input[str]] = None, + openai_deployment_name: Optional[pulumi.Input[str]] = None, + openai_organization: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] password: The password for basic authentication. - - > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. - :param pulumi.Input[str] url: The Generic Webhook URL. - :param pulumi.Input[str] username: The username for basic authentication. + :param pulumi.Input[str] microsoft_entra_client_id: This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. + :param pulumi.Input[str] microsoft_entra_client_secret: The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. + :param pulumi.Input[str] microsoft_entra_client_secret_plaintext: The client secret used for Microsoft Entra ID authentication provided as a plaintext string. + :param pulumi.Input[str] microsoft_entra_tenant_id: This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. + :param pulumi.Input[str] openai_api_base: This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. + :param pulumi.Input[str] openai_api_key: The Databricks secret key reference for an OpenAI or Azure OpenAI API key. + :param pulumi.Input[str] openai_api_key_plaintext: The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. + :param pulumi.Input[str] openai_api_type: This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. + :param pulumi.Input[str] openai_api_version: This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. + :param pulumi.Input[str] openai_deployment_name: This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. + :param pulumi.Input[str] openai_organization: This is an optional field to specify the organization in OpenAI or Azure OpenAI. """ - if password is not None: - pulumi.set(__self__, "password", password) - if password_set is not None: - pulumi.set(__self__, "password_set", password_set) - if url is not None: - pulumi.set(__self__, "url", url) - if url_set is not None: - pulumi.set(__self__, "url_set", url_set) - if username is not None: - pulumi.set(__self__, "username", username) - if username_set is not None: - pulumi.set(__self__, "username_set", username_set) + if microsoft_entra_client_id is not None: + pulumi.set(__self__, "microsoft_entra_client_id", microsoft_entra_client_id) + if microsoft_entra_client_secret is not None: + pulumi.set(__self__, "microsoft_entra_client_secret", microsoft_entra_client_secret) + if microsoft_entra_client_secret_plaintext is not None: + pulumi.set(__self__, "microsoft_entra_client_secret_plaintext", microsoft_entra_client_secret_plaintext) + if microsoft_entra_tenant_id is not None: + pulumi.set(__self__, "microsoft_entra_tenant_id", microsoft_entra_tenant_id) + if openai_api_base is not None: + pulumi.set(__self__, "openai_api_base", openai_api_base) + if openai_api_key is not None: + pulumi.set(__self__, "openai_api_key", openai_api_key) + if openai_api_key_plaintext is not None: + pulumi.set(__self__, "openai_api_key_plaintext", openai_api_key_plaintext) + if openai_api_type is not None: + pulumi.set(__self__, "openai_api_type", openai_api_type) + if openai_api_version is not None: + pulumi.set(__self__, "openai_api_version", openai_api_version) + if openai_deployment_name is not None: + pulumi.set(__self__, "openai_deployment_name", openai_deployment_name) + if openai_organization is not None: + pulumi.set(__self__, "openai_organization", openai_organization) @property - @pulumi.getter - def password(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="microsoftEntraClientId") + def microsoft_entra_client_id(self) -> Optional[pulumi.Input[str]]: """ - The password for basic authentication. - - > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. + This field is only required for Azure AD OpenAI and is the Microsoft Entra Client ID. """ - return pulumi.get(self, "password") + return pulumi.get(self, "microsoft_entra_client_id") - @password.setter - def password(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "password", value) + @microsoft_entra_client_id.setter + def microsoft_entra_client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_client_id", value) @property - @pulumi.getter(name="passwordSet") - def password_set(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "password_set") + @pulumi.getter(name="microsoftEntraClientSecret") + def microsoft_entra_client_secret(self) -> Optional[pulumi.Input[str]]: + """ + The Databricks secret key reference for a client secret used for Microsoft Entra ID authentication. + """ + return pulumi.get(self, "microsoft_entra_client_secret") - @password_set.setter - def password_set(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "password_set", value) + @microsoft_entra_client_secret.setter + def microsoft_entra_client_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_client_secret", value) @property - @pulumi.getter - def url(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="microsoftEntraClientSecretPlaintext") + def microsoft_entra_client_secret_plaintext(self) -> Optional[pulumi.Input[str]]: """ - The Generic Webhook URL. + The client secret used for Microsoft Entra ID authentication provided as a plaintext string. """ - return pulumi.get(self, "url") + return pulumi.get(self, "microsoft_entra_client_secret_plaintext") - @url.setter - def url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "url", value) + @microsoft_entra_client_secret_plaintext.setter + def microsoft_entra_client_secret_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_client_secret_plaintext", value) @property - @pulumi.getter(name="urlSet") - def url_set(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "url_set") + @pulumi.getter(name="microsoftEntraTenantId") + def microsoft_entra_tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + This field is only required for Azure AD OpenAI and is the Microsoft Entra Tenant ID. + """ + return pulumi.get(self, "microsoft_entra_tenant_id") - @url_set.setter - def url_set(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "url_set", value) + @microsoft_entra_tenant_id.setter + def microsoft_entra_tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "microsoft_entra_tenant_id", value) @property - @pulumi.getter - def username(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="openaiApiBase") + def openai_api_base(self) -> Optional[pulumi.Input[str]]: """ - The username for basic authentication. + This is the base URL for the OpenAI API (default: "https://api.openai.com/v1"). For Azure OpenAI, this field is required and is the base URL for the Azure OpenAI API service provided by Azure. """ - return pulumi.get(self, "username") + return pulumi.get(self, "openai_api_base") - @username.setter - def username(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "username", value) + @openai_api_base.setter + def openai_api_base(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_base", value) @property - @pulumi.getter(name="usernameSet") - def username_set(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "username_set") - - @username_set.setter - def username_set(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "username_set", value) - - -if not MYPY: - class NotificationDestinationConfigMicrosoftTeamsArgsDict(TypedDict): - url: NotRequired[pulumi.Input[str]] + @pulumi.getter(name="openaiApiKey") + def openai_api_key(self) -> Optional[pulumi.Input[str]]: """ - The Microsoft Teams webhook URL. + The Databricks secret key reference for an OpenAI or Azure OpenAI API key. """ - url_set: NotRequired[pulumi.Input[bool]] -elif False: - NotificationDestinationConfigMicrosoftTeamsArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "openai_api_key") -@pulumi.input_type -class NotificationDestinationConfigMicrosoftTeamsArgs: - def __init__(__self__, *, - url: Optional[pulumi.Input[str]] = None, - url_set: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] url: The Microsoft Teams webhook URL. - """ - if url is not None: - pulumi.set(__self__, "url", url) - if url_set is not None: - pulumi.set(__self__, "url_set", url_set) + @openai_api_key.setter + def openai_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_key", value) @property - @pulumi.getter - def url(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="openaiApiKeyPlaintext") + def openai_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: """ - The Microsoft Teams webhook URL. + The OpenAI API key using the OpenAI or Azure service provided as a plaintext string. """ - return pulumi.get(self, "url") + return pulumi.get(self, "openai_api_key_plaintext") - @url.setter - def url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "url", value) + @openai_api_key_plaintext.setter + def openai_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_key_plaintext", value) @property - @pulumi.getter(name="urlSet") - def url_set(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "url_set") - - @url_set.setter - def url_set(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "url_set", value) - - -if not MYPY: - class NotificationDestinationConfigPagerdutyArgsDict(TypedDict): - integration_key: NotRequired[pulumi.Input[str]] + @pulumi.getter(name="openaiApiType") + def openai_api_type(self) -> Optional[pulumi.Input[str]]: """ - The PagerDuty integration key. + This is an optional field to specify the type of OpenAI API to use. For Azure OpenAI, this field is required, and this parameter represents the preferred security access validation protocol. For access token validation, use `azure`. For authentication using Azure Active Directory (Azure AD) use, `azuread`. """ - integration_key_set: NotRequired[pulumi.Input[bool]] -elif False: - NotificationDestinationConfigPagerdutyArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "openai_api_type") -@pulumi.input_type -class NotificationDestinationConfigPagerdutyArgs: - def __init__(__self__, *, - integration_key: Optional[pulumi.Input[str]] = None, - integration_key_set: Optional[pulumi.Input[bool]] = None): + @openai_api_type.setter + def openai_api_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_type", value) + + @property + @pulumi.getter(name="openaiApiVersion") + def openai_api_version(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] integration_key: The PagerDuty integration key. + This is an optional field to specify the OpenAI API version. For Azure OpenAI, this field is required and is the version of the Azure OpenAI service to utilize, specified by a date. """ - if integration_key is not None: - pulumi.set(__self__, "integration_key", integration_key) - if integration_key_set is not None: - pulumi.set(__self__, "integration_key_set", integration_key_set) + return pulumi.get(self, "openai_api_version") + + @openai_api_version.setter + def openai_api_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_api_version", value) @property - @pulumi.getter(name="integrationKey") - def integration_key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="openaiDeploymentName") + def openai_deployment_name(self) -> Optional[pulumi.Input[str]]: """ - The PagerDuty integration key. + This field is only required for Azure OpenAI and is the name of the deployment resource for the Azure OpenAI service. """ - return pulumi.get(self, "integration_key") + return pulumi.get(self, "openai_deployment_name") - @integration_key.setter - def integration_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "integration_key", value) + @openai_deployment_name.setter + def openai_deployment_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_deployment_name", value) @property - @pulumi.getter(name="integrationKeySet") - def integration_key_set(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "integration_key_set") + @pulumi.getter(name="openaiOrganization") + def openai_organization(self) -> Optional[pulumi.Input[str]]: + """ + This is an optional field to specify the organization in OpenAI or Azure OpenAI. + """ + return pulumi.get(self, "openai_organization") - @integration_key_set.setter - def integration_key_set(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "integration_key_set", value) + @openai_organization.setter + def openai_organization(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "openai_organization", value) if not MYPY: - class NotificationDestinationConfigSlackArgsDict(TypedDict): - url: NotRequired[pulumi.Input[str]] + class ModelServingConfigServedEntityExternalModelPalmConfigArgsDict(TypedDict): + palm_api_key: NotRequired[pulumi.Input[str]] """ - The Slack webhook URL. + The Databricks secret key reference for a PaLM API key. + """ + palm_api_key_plaintext: NotRequired[pulumi.Input[str]] + """ + The PaLM API key provided as a plaintext string. """ - url_set: NotRequired[pulumi.Input[bool]] elif False: - NotificationDestinationConfigSlackArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedEntityExternalModelPalmConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class NotificationDestinationConfigSlackArgs: +class ModelServingConfigServedEntityExternalModelPalmConfigArgs: def __init__(__self__, *, - url: Optional[pulumi.Input[str]] = None, - url_set: Optional[pulumi.Input[bool]] = None): + palm_api_key: Optional[pulumi.Input[str]] = None, + palm_api_key_plaintext: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] url: The Slack webhook URL. + :param pulumi.Input[str] palm_api_key: The Databricks secret key reference for a PaLM API key. + :param pulumi.Input[str] palm_api_key_plaintext: The PaLM API key provided as a plaintext string. """ - if url is not None: - pulumi.set(__self__, "url", url) - if url_set is not None: - pulumi.set(__self__, "url_set", url_set) + if palm_api_key is not None: + pulumi.set(__self__, "palm_api_key", palm_api_key) + if palm_api_key_plaintext is not None: + pulumi.set(__self__, "palm_api_key_plaintext", palm_api_key_plaintext) @property - @pulumi.getter - def url(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="palmApiKey") + def palm_api_key(self) -> Optional[pulumi.Input[str]]: """ - The Slack webhook URL. + The Databricks secret key reference for a PaLM API key. """ - return pulumi.get(self, "url") + return pulumi.get(self, "palm_api_key") - @url.setter - def url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "url", value) + @palm_api_key.setter + def palm_api_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "palm_api_key", value) @property - @pulumi.getter(name="urlSet") - def url_set(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "url_set") + @pulumi.getter(name="palmApiKeyPlaintext") + def palm_api_key_plaintext(self) -> Optional[pulumi.Input[str]]: + """ + The PaLM API key provided as a plaintext string. + """ + return pulumi.get(self, "palm_api_key_plaintext") - @url_set.setter - def url_set(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "url_set", value) + @palm_api_key_plaintext.setter + def palm_api_key_plaintext(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "palm_api_key_plaintext", value) if not MYPY: - class OnlineTableSpecArgsDict(TypedDict): - perform_full_copy: NotRequired[pulumi.Input[bool]] + class ModelServingConfigServedModelArgsDict(TypedDict): + model_name: pulumi.Input[str] """ - Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + The name of the model in Databricks Model Registry to be served. """ - pipeline_id: NotRequired[pulumi.Input[str]] + model_version: pulumi.Input[str] """ - ID of the associated Delta Live Table pipeline. + The version of the model in Databricks Model Registry to be served. """ - primary_key_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + environment_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] """ - list of the columns comprising the primary key. + a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. """ - run_continuously: NotRequired[pulumi.Input['OnlineTableSpecRunContinuouslyArgsDict']] + instance_profile_arn: NotRequired[pulumi.Input[str]] """ - empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + ARN of the instance profile that the served model will use to access AWS resources. """ - run_triggered: NotRequired[pulumi.Input['OnlineTableSpecRunTriggeredArgsDict']] + max_provisioned_throughput: NotRequired[pulumi.Input[int]] """ - empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). + The maximum tokens per second that the endpoint can scale up to. """ - source_table_full_name: NotRequired[pulumi.Input[str]] + min_provisioned_throughput: NotRequired[pulumi.Input[int]] """ - full name of the source table. + The minimum tokens per second that the endpoint can scale down to. """ - timeseries_key: NotRequired[pulumi.Input[str]] + name: NotRequired[pulumi.Input[str]] """ - Time series key to deduplicate (tie-break) rows with the same primary key. + The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. + """ + scale_to_zero_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + """ + workload_size: NotRequired[pulumi.Input[str]] + """ + The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). + """ + workload_type: NotRequired[pulumi.Input[str]] + """ + The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. """ elif False: - OnlineTableSpecArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigServedModelArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableSpecArgs: +class ModelServingConfigServedModelArgs: def __init__(__self__, *, - perform_full_copy: Optional[pulumi.Input[bool]] = None, - pipeline_id: Optional[pulumi.Input[str]] = None, - primary_key_columns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - run_continuously: Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']] = None, - run_triggered: Optional[pulumi.Input['OnlineTableSpecRunTriggeredArgs']] = None, - source_table_full_name: Optional[pulumi.Input[str]] = None, - timeseries_key: Optional[pulumi.Input[str]] = None): + model_name: pulumi.Input[str], + model_version: pulumi.Input[str], + environment_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + max_provisioned_throughput: Optional[pulumi.Input[int]] = None, + min_provisioned_throughput: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None, + workload_size: Optional[pulumi.Input[str]] = None, + workload_type: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[bool] perform_full_copy: Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. - :param pulumi.Input[str] pipeline_id: ID of the associated Delta Live Table pipeline. - :param pulumi.Input[Sequence[pulumi.Input[str]]] primary_key_columns: list of the columns comprising the primary key. - :param pulumi.Input['OnlineTableSpecRunContinuouslyArgs'] run_continuously: empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. - :param pulumi.Input['OnlineTableSpecRunTriggeredArgs'] run_triggered: empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). - :param pulumi.Input[str] source_table_full_name: full name of the source table. - :param pulumi.Input[str] timeseries_key: Time series key to deduplicate (tie-break) rows with the same primary key. + :param pulumi.Input[str] model_name: The name of the model in Databricks Model Registry to be served. + :param pulumi.Input[str] model_version: The version of the model in Databricks Model Registry to be served. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_vars: a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. + :param pulumi.Input[str] instance_profile_arn: ARN of the instance profile that the served model will use to access AWS resources. + :param pulumi.Input[int] max_provisioned_throughput: The maximum tokens per second that the endpoint can scale up to. + :param pulumi.Input[int] min_provisioned_throughput: The minimum tokens per second that the endpoint can scale down to. + :param pulumi.Input[str] name: The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. + :param pulumi.Input[bool] scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + :param pulumi.Input[str] workload_size: The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). + :param pulumi.Input[str] workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. """ - if perform_full_copy is not None: - pulumi.set(__self__, "perform_full_copy", perform_full_copy) - if pipeline_id is not None: - pulumi.set(__self__, "pipeline_id", pipeline_id) - if primary_key_columns is not None: - pulumi.set(__self__, "primary_key_columns", primary_key_columns) - if run_continuously is not None: - pulumi.set(__self__, "run_continuously", run_continuously) - if run_triggered is not None: - pulumi.set(__self__, "run_triggered", run_triggered) - if source_table_full_name is not None: - pulumi.set(__self__, "source_table_full_name", source_table_full_name) - if timeseries_key is not None: - pulumi.set(__self__, "timeseries_key", timeseries_key) + pulumi.set(__self__, "model_name", model_name) + pulumi.set(__self__, "model_version", model_version) + if environment_vars is not None: + pulumi.set(__self__, "environment_vars", environment_vars) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if max_provisioned_throughput is not None: + pulumi.set(__self__, "max_provisioned_throughput", max_provisioned_throughput) + if min_provisioned_throughput is not None: + pulumi.set(__self__, "min_provisioned_throughput", min_provisioned_throughput) + if name is not None: + pulumi.set(__self__, "name", name) + if scale_to_zero_enabled is not None: + pulumi.set(__self__, "scale_to_zero_enabled", scale_to_zero_enabled) + if workload_size is not None: + pulumi.set(__self__, "workload_size", workload_size) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter(name="performFullCopy") - def perform_full_copy(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="modelName") + def model_name(self) -> pulumi.Input[str]: """ - Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + The name of the model in Databricks Model Registry to be served. """ - return pulumi.get(self, "perform_full_copy") + return pulumi.get(self, "model_name") - @perform_full_copy.setter - def perform_full_copy(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "perform_full_copy", value) + @model_name.setter + def model_name(self, value: pulumi.Input[str]): + pulumi.set(self, "model_name", value) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="modelVersion") + def model_version(self) -> pulumi.Input[str]: """ - ID of the associated Delta Live Table pipeline. + The version of the model in Databricks Model Registry to be served. """ - return pulumi.get(self, "pipeline_id") + return pulumi.get(self, "model_version") - @pipeline_id.setter - def pipeline_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pipeline_id", value) + @model_version.setter + def model_version(self, value: pulumi.Input[str]): + pulumi.set(self, "model_version", value) @property - @pulumi.getter(name="primaryKeyColumns") - def primary_key_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="environmentVars") + def environment_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - list of the columns comprising the primary key. + a map of environment variable names/values that will be used for serving this model. Environment variables may refer to Databricks secrets using the standard syntax: `{{secrets/secret_scope/secret_key}}`. """ - return pulumi.get(self, "primary_key_columns") + return pulumi.get(self, "environment_vars") - @primary_key_columns.setter - def primary_key_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "primary_key_columns", value) + @environment_vars.setter + def environment_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "environment_vars", value) @property - @pulumi.getter(name="runContinuously") - def run_continuously(self) -> Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']]: + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: """ - empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + ARN of the instance profile that the served model will use to access AWS resources. """ - return pulumi.get(self, "run_continuously") + return pulumi.get(self, "instance_profile_arn") - @run_continuously.setter - def run_continuously(self, value: Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']]): - pulumi.set(self, "run_continuously", value) + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) @property - @pulumi.getter(name="runTriggered") - def run_triggered(self) -> Optional[pulumi.Input['OnlineTableSpecRunTriggeredArgs']]: + @pulumi.getter(name="maxProvisionedThroughput") + def max_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: """ - empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). + The maximum tokens per second that the endpoint can scale up to. """ - return pulumi.get(self, "run_triggered") + return pulumi.get(self, "max_provisioned_throughput") - @run_triggered.setter - def run_triggered(self, value: Optional[pulumi.Input['OnlineTableSpecRunTriggeredArgs']]): - pulumi.set(self, "run_triggered", value) + @max_provisioned_throughput.setter + def max_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_provisioned_throughput", value) @property - @pulumi.getter(name="sourceTableFullName") - def source_table_full_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="minProvisionedThroughput") + def min_provisioned_throughput(self) -> Optional[pulumi.Input[int]]: """ - full name of the source table. + The minimum tokens per second that the endpoint can scale down to. """ - return pulumi.get(self, "source_table_full_name") + return pulumi.get(self, "min_provisioned_throughput") - @source_table_full_name.setter - def source_table_full_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_table_full_name", value) + @min_provisioned_throughput.setter + def min_provisioned_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min_provisioned_throughput", value) @property - @pulumi.getter(name="timeseriesKey") - def timeseries_key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: """ - Time series key to deduplicate (tie-break) rows with the same primary key. + The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. """ - return pulumi.get(self, "timeseries_key") + return pulumi.get(self, "name") - @timeseries_key.setter - def timeseries_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "timeseries_key", value) + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + @property + @pulumi.getter(name="scaleToZeroEnabled") + def scale_to_zero_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the compute resources for the served model should scale down to zero. If `scale-to-zero` is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + """ + return pulumi.get(self, "scale_to_zero_enabled") -if not MYPY: - class OnlineTableSpecRunContinuouslyArgsDict(TypedDict): - pass -elif False: - OnlineTableSpecRunContinuouslyArgsDict: TypeAlias = Mapping[str, Any] + @scale_to_zero_enabled.setter + def scale_to_zero_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "scale_to_zero_enabled", value) -@pulumi.input_type -class OnlineTableSpecRunContinuouslyArgs: - def __init__(__self__): - pass + @property + @pulumi.getter(name="workloadSize") + def workload_size(self) -> Optional[pulumi.Input[str]]: + """ + The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are `Small` (4 - 4 provisioned concurrency), `Medium` (8 - 16 provisioned concurrency), and `Large` (16 - 64 provisioned concurrency). + """ + return pulumi.get(self, "workload_size") + @workload_size.setter + def workload_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_size", value) -if not MYPY: - class OnlineTableSpecRunTriggeredArgsDict(TypedDict): - pass -elif False: - OnlineTableSpecRunTriggeredArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input[str]]: + """ + The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See the documentation for all options. The default value is `CPU`. + """ + return pulumi.get(self, "workload_type") -@pulumi.input_type -class OnlineTableSpecRunTriggeredArgs: - def __init__(__self__): - pass + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_type", value) if not MYPY: - class OnlineTableStatusArgsDict(TypedDict): - continuous_update_status: NotRequired[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgsDict']] - detailed_state: NotRequired[pulumi.Input[str]] - """ - The state of the online table. - """ - failed_status: NotRequired[pulumi.Input['OnlineTableStatusFailedStatusArgsDict']] - message: NotRequired[pulumi.Input[str]] + class ModelServingConfigTrafficConfigArgsDict(TypedDict): + routes: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgsDict']]]] """ - A text description of the current state of the online table. + Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. """ - provisioning_status: NotRequired[pulumi.Input['OnlineTableStatusProvisioningStatusArgsDict']] - triggered_update_status: NotRequired[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgsDict']] elif False: - OnlineTableStatusArgsDict: TypeAlias = Mapping[str, Any] + ModelServingConfigTrafficConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableStatusArgs: +class ModelServingConfigTrafficConfigArgs: def __init__(__self__, *, - continuous_update_status: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgs']] = None, - detailed_state: Optional[pulumi.Input[str]] = None, - failed_status: Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']] = None, - message: Optional[pulumi.Input[str]] = None, - provisioning_status: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']] = None, - triggered_update_status: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgs']] = None): + routes: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]] = None): """ - :param pulumi.Input[str] detailed_state: The state of the online table. - :param pulumi.Input[str] message: A text description of the current state of the online table. + :param pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]] routes: Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. """ - if continuous_update_status is not None: - pulumi.set(__self__, "continuous_update_status", continuous_update_status) - if detailed_state is not None: - pulumi.set(__self__, "detailed_state", detailed_state) - if failed_status is not None: - pulumi.set(__self__, "failed_status", failed_status) - if message is not None: - pulumi.set(__self__, "message", message) - if provisioning_status is not None: - pulumi.set(__self__, "provisioning_status", provisioning_status) - if triggered_update_status is not None: - pulumi.set(__self__, "triggered_update_status", triggered_update_status) - - @property - @pulumi.getter(name="continuousUpdateStatus") - def continuous_update_status(self) -> Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgs']]: - return pulumi.get(self, "continuous_update_status") - - @continuous_update_status.setter - def continuous_update_status(self, value: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgs']]): - pulumi.set(self, "continuous_update_status", value) + if routes is not None: + pulumi.set(__self__, "routes", routes) @property - @pulumi.getter(name="detailedState") - def detailed_state(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]]: """ - The state of the online table. + Each block represents a route that defines traffic to each served entity. Each `served_entity` block needs to have a corresponding `routes` block. """ - return pulumi.get(self, "detailed_state") - - @detailed_state.setter - def detailed_state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "detailed_state", value) + return pulumi.get(self, "routes") - @property - @pulumi.getter(name="failedStatus") - def failed_status(self) -> Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']]: - return pulumi.get(self, "failed_status") + @routes.setter + def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]]): + pulumi.set(self, "routes", value) - @failed_status.setter - def failed_status(self, value: Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']]): - pulumi.set(self, "failed_status", value) - @property - @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: +if not MYPY: + class ModelServingConfigTrafficConfigRouteArgsDict(TypedDict): + served_model_name: pulumi.Input[str] + traffic_percentage: pulumi.Input[int] """ - A text description of the current state of the online table. + The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. """ - return pulumi.get(self, "message") +elif False: + ModelServingConfigTrafficConfigRouteArgsDict: TypeAlias = Mapping[str, Any] - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) +@pulumi.input_type +class ModelServingConfigTrafficConfigRouteArgs: + def __init__(__self__, *, + served_model_name: pulumi.Input[str], + traffic_percentage: pulumi.Input[int]): + """ + :param pulumi.Input[int] traffic_percentage: The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + """ + pulumi.set(__self__, "served_model_name", served_model_name) + pulumi.set(__self__, "traffic_percentage", traffic_percentage) @property - @pulumi.getter(name="provisioningStatus") - def provisioning_status(self) -> Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']]: - return pulumi.get(self, "provisioning_status") + @pulumi.getter(name="servedModelName") + def served_model_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "served_model_name") - @provisioning_status.setter - def provisioning_status(self, value: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']]): - pulumi.set(self, "provisioning_status", value) + @served_model_name.setter + def served_model_name(self, value: pulumi.Input[str]): + pulumi.set(self, "served_model_name", value) @property - @pulumi.getter(name="triggeredUpdateStatus") - def triggered_update_status(self) -> Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgs']]: - return pulumi.get(self, "triggered_update_status") + @pulumi.getter(name="trafficPercentage") + def traffic_percentage(self) -> pulumi.Input[int]: + """ + The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive. + """ + return pulumi.get(self, "traffic_percentage") - @triggered_update_status.setter - def triggered_update_status(self, value: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgs']]): - pulumi.set(self, "triggered_update_status", value) + @traffic_percentage.setter + def traffic_percentage(self, value: pulumi.Input[int]): + pulumi.set(self, "traffic_percentage", value) if not MYPY: - class OnlineTableStatusContinuousUpdateStatusArgsDict(TypedDict): - initial_pipeline_sync_progress: NotRequired[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgsDict']] - last_processed_commit_version: NotRequired[pulumi.Input[int]] - timestamp: NotRequired[pulumi.Input[str]] + class ModelServingRateLimitArgsDict(TypedDict): + calls: pulumi.Input[int] + """ + Used to specify how many calls are allowed for a key within the renewal_period. + """ + renewal_period: pulumi.Input[str] + """ + Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + """ + key: NotRequired[pulumi.Input[str]] + """ + Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + """ elif False: - OnlineTableStatusContinuousUpdateStatusArgsDict: TypeAlias = Mapping[str, Any] + ModelServingRateLimitArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableStatusContinuousUpdateStatusArgs: +class ModelServingRateLimitArgs: def __init__(__self__, *, - initial_pipeline_sync_progress: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']] = None, - last_processed_commit_version: Optional[pulumi.Input[int]] = None, - timestamp: Optional[pulumi.Input[str]] = None): - if initial_pipeline_sync_progress is not None: - pulumi.set(__self__, "initial_pipeline_sync_progress", initial_pipeline_sync_progress) - if last_processed_commit_version is not None: - pulumi.set(__self__, "last_processed_commit_version", last_processed_commit_version) - if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + calls: pulumi.Input[int], + renewal_period: pulumi.Input[str], + key: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] calls: Used to specify how many calls are allowed for a key within the renewal_period. + :param pulumi.Input[str] renewal_period: Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + :param pulumi.Input[str] key: Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + """ + pulumi.set(__self__, "calls", calls) + pulumi.set(__self__, "renewal_period", renewal_period) + if key is not None: + pulumi.set(__self__, "key", key) @property - @pulumi.getter(name="initialPipelineSyncProgress") - def initial_pipeline_sync_progress(self) -> Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']]: - return pulumi.get(self, "initial_pipeline_sync_progress") + @pulumi.getter + def calls(self) -> pulumi.Input[int]: + """ + Used to specify how many calls are allowed for a key within the renewal_period. + """ + return pulumi.get(self, "calls") - @initial_pipeline_sync_progress.setter - def initial_pipeline_sync_progress(self, value: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']]): - pulumi.set(self, "initial_pipeline_sync_progress", value) + @calls.setter + def calls(self, value: pulumi.Input[int]): + pulumi.set(self, "calls", value) @property - @pulumi.getter(name="lastProcessedCommitVersion") - def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "last_processed_commit_version") + @pulumi.getter(name="renewalPeriod") + def renewal_period(self) -> pulumi.Input[str]: + """ + Renewal period field for a serving endpoint rate limit. Currently, only `minute` is supported. + """ + return pulumi.get(self, "renewal_period") - @last_processed_commit_version.setter - def last_processed_commit_version(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "last_processed_commit_version", value) + @renewal_period.setter + def renewal_period(self, value: pulumi.Input[str]): + pulumi.set(self, "renewal_period", value) @property @pulumi.getter - def timestamp(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "timestamp") + def key(self) -> Optional[pulumi.Input[str]]: + """ + Key field for a serving endpoint rate limit. Currently, only `user` and `endpoint` are supported, with `endpoint` being the default if not specified. + """ + return pulumi.get(self, "key") - @timestamp.setter - def timestamp(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "timestamp", value) + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) if not MYPY: - class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgsDict(TypedDict): - estimated_completion_time_seconds: NotRequired[pulumi.Input[float]] - latest_version_currently_processing: NotRequired[pulumi.Input[int]] - sync_progress_completion: NotRequired[pulumi.Input[float]] - synced_row_count: NotRequired[pulumi.Input[int]] - total_row_count: NotRequired[pulumi.Input[int]] + class ModelServingTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key field for a tag. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value field for a tag. + """ elif False: - OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgsDict: TypeAlias = Mapping[str, Any] + ModelServingTagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs: +class ModelServingTagArgs: def __init__(__self__, *, - estimated_completion_time_seconds: Optional[pulumi.Input[float]] = None, - latest_version_currently_processing: Optional[pulumi.Input[int]] = None, - sync_progress_completion: Optional[pulumi.Input[float]] = None, - synced_row_count: Optional[pulumi.Input[int]] = None, - total_row_count: Optional[pulumi.Input[int]] = None): - if estimated_completion_time_seconds is not None: - pulumi.set(__self__, "estimated_completion_time_seconds", estimated_completion_time_seconds) - if latest_version_currently_processing is not None: - pulumi.set(__self__, "latest_version_currently_processing", latest_version_currently_processing) - if sync_progress_completion is not None: - pulumi.set(__self__, "sync_progress_completion", sync_progress_completion) - if synced_row_count is not None: - pulumi.set(__self__, "synced_row_count", synced_row_count) - if total_row_count is not None: - pulumi.set(__self__, "total_row_count", total_row_count) + key: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] key: The key field for a tag. + :param pulumi.Input[str] value: The value field for a tag. + """ + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="estimatedCompletionTimeSeconds") - def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "estimated_completion_time_seconds") + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + The key field for a tag. + """ + return pulumi.get(self, "key") - @estimated_completion_time_seconds.setter - def estimated_completion_time_seconds(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "estimated_completion_time_seconds", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) @property - @pulumi.getter(name="latestVersionCurrentlyProcessing") - def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "latest_version_currently_processing") + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The value field for a tag. + """ + return pulumi.get(self, "value") - @latest_version_currently_processing.setter - def latest_version_currently_processing(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "latest_version_currently_processing", value) + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) - @property - @pulumi.getter(name="syncProgressCompletion") - def sync_progress_completion(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "sync_progress_completion") - @sync_progress_completion.setter - def sync_progress_completion(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "sync_progress_completion", value) +if not MYPY: + class MountAbfsArgsDict(TypedDict): + client_id: pulumi.Input[str] + client_secret_key: pulumi.Input[str] + client_secret_scope: pulumi.Input[str] + initialize_file_system: pulumi.Input[bool] + container_name: NotRequired[pulumi.Input[str]] + directory: NotRequired[pulumi.Input[str]] + storage_account_name: NotRequired[pulumi.Input[str]] + tenant_id: NotRequired[pulumi.Input[str]] +elif False: + MountAbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MountAbfsArgs: + def __init__(__self__, *, + client_id: pulumi.Input[str], + client_secret_key: pulumi.Input[str], + client_secret_scope: pulumi.Input[str], + initialize_file_system: pulumi.Input[bool], + container_name: Optional[pulumi.Input[str]] = None, + directory: Optional[pulumi.Input[str]] = None, + storage_account_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "client_secret_key", client_secret_key) + pulumi.set(__self__, "client_secret_scope", client_secret_scope) + pulumi.set(__self__, "initialize_file_system", initialize_file_system) + if container_name is not None: + pulumi.set(__self__, "container_name", container_name) + if directory is not None: + pulumi.set(__self__, "directory", directory) + if storage_account_name is not None: + pulumi.set(__self__, "storage_account_name", storage_account_name) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) @property - @pulumi.getter(name="syncedRowCount") - def synced_row_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "synced_row_count") + @pulumi.getter(name="clientId") + def client_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_id") - @synced_row_count.setter - def synced_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "synced_row_count", value) + @client_id.setter + def client_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_id", value) @property - @pulumi.getter(name="totalRowCount") - def total_row_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "total_row_count") + @pulumi.getter(name="clientSecretKey") + def client_secret_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_secret_key") - @total_row_count.setter - def total_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "total_row_count", value) + @client_secret_key.setter + def client_secret_key(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret_key", value) + @property + @pulumi.getter(name="clientSecretScope") + def client_secret_scope(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_secret_scope") -if not MYPY: - class OnlineTableStatusFailedStatusArgsDict(TypedDict): - last_processed_commit_version: NotRequired[pulumi.Input[int]] - timestamp: NotRequired[pulumi.Input[str]] -elif False: - OnlineTableStatusFailedStatusArgsDict: TypeAlias = Mapping[str, Any] + @client_secret_scope.setter + def client_secret_scope(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret_scope", value) -@pulumi.input_type -class OnlineTableStatusFailedStatusArgs: - def __init__(__self__, *, - last_processed_commit_version: Optional[pulumi.Input[int]] = None, - timestamp: Optional[pulumi.Input[str]] = None): - if last_processed_commit_version is not None: - pulumi.set(__self__, "last_processed_commit_version", last_processed_commit_version) - if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + @property + @pulumi.getter(name="initializeFileSystem") + def initialize_file_system(self) -> pulumi.Input[bool]: + return pulumi.get(self, "initialize_file_system") + + @initialize_file_system.setter + def initialize_file_system(self, value: pulumi.Input[bool]): + pulumi.set(self, "initialize_file_system", value) @property - @pulumi.getter(name="lastProcessedCommitVersion") - def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "last_processed_commit_version") + @pulumi.getter(name="containerName") + def container_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "container_name") - @last_processed_commit_version.setter - def last_processed_commit_version(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "last_processed_commit_version", value) + @container_name.setter + def container_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_name", value) @property @pulumi.getter - def timestamp(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "timestamp") - - @timestamp.setter - def timestamp(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "timestamp", value) + def directory(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "directory") + @directory.setter + def directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "directory", value) -if not MYPY: - class OnlineTableStatusProvisioningStatusArgsDict(TypedDict): - initial_pipeline_sync_progress: NotRequired[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgsDict']] -elif False: - OnlineTableStatusProvisioningStatusArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="storageAccountName") + def storage_account_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "storage_account_name") -@pulumi.input_type -class OnlineTableStatusProvisioningStatusArgs: - def __init__(__self__, *, - initial_pipeline_sync_progress: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']] = None): - if initial_pipeline_sync_progress is not None: - pulumi.set(__self__, "initial_pipeline_sync_progress", initial_pipeline_sync_progress) + @storage_account_name.setter + def storage_account_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_account_name", value) @property - @pulumi.getter(name="initialPipelineSyncProgress") - def initial_pipeline_sync_progress(self) -> Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']]: - return pulumi.get(self, "initial_pipeline_sync_progress") + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "tenant_id") - @initial_pipeline_sync_progress.setter - def initial_pipeline_sync_progress(self, value: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']]): - pulumi.set(self, "initial_pipeline_sync_progress", value) + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) if not MYPY: - class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgsDict(TypedDict): - estimated_completion_time_seconds: NotRequired[pulumi.Input[float]] - latest_version_currently_processing: NotRequired[pulumi.Input[int]] - sync_progress_completion: NotRequired[pulumi.Input[float]] - synced_row_count: NotRequired[pulumi.Input[int]] - total_row_count: NotRequired[pulumi.Input[int]] + class MountAdlArgsDict(TypedDict): + client_id: pulumi.Input[str] + client_secret_key: pulumi.Input[str] + client_secret_scope: pulumi.Input[str] + directory: NotRequired[pulumi.Input[str]] + spark_conf_prefix: NotRequired[pulumi.Input[str]] + storage_resource_name: NotRequired[pulumi.Input[str]] + tenant_id: NotRequired[pulumi.Input[str]] elif False: - OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgsDict: TypeAlias = Mapping[str, Any] + MountAdlArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs: +class MountAdlArgs: def __init__(__self__, *, - estimated_completion_time_seconds: Optional[pulumi.Input[float]] = None, - latest_version_currently_processing: Optional[pulumi.Input[int]] = None, - sync_progress_completion: Optional[pulumi.Input[float]] = None, - synced_row_count: Optional[pulumi.Input[int]] = None, - total_row_count: Optional[pulumi.Input[int]] = None): - if estimated_completion_time_seconds is not None: - pulumi.set(__self__, "estimated_completion_time_seconds", estimated_completion_time_seconds) - if latest_version_currently_processing is not None: - pulumi.set(__self__, "latest_version_currently_processing", latest_version_currently_processing) - if sync_progress_completion is not None: - pulumi.set(__self__, "sync_progress_completion", sync_progress_completion) - if synced_row_count is not None: - pulumi.set(__self__, "synced_row_count", synced_row_count) - if total_row_count is not None: - pulumi.set(__self__, "total_row_count", total_row_count) + client_id: pulumi.Input[str], + client_secret_key: pulumi.Input[str], + client_secret_scope: pulumi.Input[str], + directory: Optional[pulumi.Input[str]] = None, + spark_conf_prefix: Optional[pulumi.Input[str]] = None, + storage_resource_name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "client_secret_key", client_secret_key) + pulumi.set(__self__, "client_secret_scope", client_secret_scope) + if directory is not None: + pulumi.set(__self__, "directory", directory) + if spark_conf_prefix is not None: + pulumi.set(__self__, "spark_conf_prefix", spark_conf_prefix) + if storage_resource_name is not None: + pulumi.set(__self__, "storage_resource_name", storage_resource_name) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) @property - @pulumi.getter(name="estimatedCompletionTimeSeconds") - def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "estimated_completion_time_seconds") + @pulumi.getter(name="clientId") + def client_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_id") - @estimated_completion_time_seconds.setter - def estimated_completion_time_seconds(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "estimated_completion_time_seconds", value) + @client_id.setter + def client_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_id", value) @property - @pulumi.getter(name="latestVersionCurrentlyProcessing") - def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "latest_version_currently_processing") + @pulumi.getter(name="clientSecretKey") + def client_secret_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_secret_key") - @latest_version_currently_processing.setter - def latest_version_currently_processing(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "latest_version_currently_processing", value) + @client_secret_key.setter + def client_secret_key(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret_key", value) @property - @pulumi.getter(name="syncProgressCompletion") - def sync_progress_completion(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "sync_progress_completion") + @pulumi.getter(name="clientSecretScope") + def client_secret_scope(self) -> pulumi.Input[str]: + return pulumi.get(self, "client_secret_scope") - @sync_progress_completion.setter - def sync_progress_completion(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "sync_progress_completion", value) + @client_secret_scope.setter + def client_secret_scope(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret_scope", value) @property - @pulumi.getter(name="syncedRowCount") - def synced_row_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "synced_row_count") + @pulumi.getter + def directory(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "directory") - @synced_row_count.setter - def synced_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "synced_row_count", value) + @directory.setter + def directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "directory", value) @property - @pulumi.getter(name="totalRowCount") - def total_row_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "total_row_count") + @pulumi.getter(name="sparkConfPrefix") + def spark_conf_prefix(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "spark_conf_prefix") - @total_row_count.setter - def total_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "total_row_count", value) + @spark_conf_prefix.setter + def spark_conf_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "spark_conf_prefix", value) + + @property + @pulumi.getter(name="storageResourceName") + def storage_resource_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "storage_resource_name") + + @storage_resource_name.setter + def storage_resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_resource_name", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) if not MYPY: - class OnlineTableStatusTriggeredUpdateStatusArgsDict(TypedDict): - last_processed_commit_version: NotRequired[pulumi.Input[int]] - timestamp: NotRequired[pulumi.Input[str]] - triggered_update_progress: NotRequired[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict']] + class MountGsArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + service_account: NotRequired[pulumi.Input[str]] elif False: - OnlineTableStatusTriggeredUpdateStatusArgsDict: TypeAlias = Mapping[str, Any] + MountGsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableStatusTriggeredUpdateStatusArgs: +class MountGsArgs: def __init__(__self__, *, - last_processed_commit_version: Optional[pulumi.Input[int]] = None, - timestamp: Optional[pulumi.Input[str]] = None, - triggered_update_progress: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']] = None): - if last_processed_commit_version is not None: - pulumi.set(__self__, "last_processed_commit_version", last_processed_commit_version) - if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) - if triggered_update_progress is not None: - pulumi.set(__self__, "triggered_update_progress", triggered_update_progress) + bucket_name: pulumi.Input[str], + service_account: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "bucket_name", bucket_name) + if service_account is not None: + pulumi.set(__self__, "service_account", service_account) @property - @pulumi.getter(name="lastProcessedCommitVersion") - def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "last_processed_commit_version") + @pulumi.getter(name="bucketName") + def bucket_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "bucket_name") - @last_processed_commit_version.setter - def last_processed_commit_version(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "last_processed_commit_version", value) + @bucket_name.setter + def bucket_name(self, value: pulumi.Input[str]): + pulumi.set(self, "bucket_name", value) @property - @pulumi.getter - def timestamp(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "timestamp") + @pulumi.getter(name="serviceAccount") + def service_account(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "service_account") - @timestamp.setter - def timestamp(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "timestamp", value) + @service_account.setter + def service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_account", value) + + +if not MYPY: + class MountS3ArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + instance_profile: NotRequired[pulumi.Input[str]] +elif False: + MountS3ArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MountS3Args: + def __init__(__self__, *, + bucket_name: pulumi.Input[str], + instance_profile: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "bucket_name", bucket_name) + if instance_profile is not None: + pulumi.set(__self__, "instance_profile", instance_profile) @property - @pulumi.getter(name="triggeredUpdateProgress") - def triggered_update_progress(self) -> Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']]: - return pulumi.get(self, "triggered_update_progress") + @pulumi.getter(name="bucketName") + def bucket_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "bucket_name") - @triggered_update_progress.setter - def triggered_update_progress(self, value: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']]): - pulumi.set(self, "triggered_update_progress", value) + @bucket_name.setter + def bucket_name(self, value: pulumi.Input[str]): + pulumi.set(self, "bucket_name", value) + + @property + @pulumi.getter(name="instanceProfile") + def instance_profile(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_profile") + + @instance_profile.setter + def instance_profile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile", value) if not MYPY: - class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict(TypedDict): - estimated_completion_time_seconds: NotRequired[pulumi.Input[float]] - latest_version_currently_processing: NotRequired[pulumi.Input[int]] - sync_progress_completion: NotRequired[pulumi.Input[float]] - synced_row_count: NotRequired[pulumi.Input[int]] - total_row_count: NotRequired[pulumi.Input[int]] + class MountWasbArgsDict(TypedDict): + auth_type: pulumi.Input[str] + token_secret_key: pulumi.Input[str] + token_secret_scope: pulumi.Input[str] + container_name: NotRequired[pulumi.Input[str]] + directory: NotRequired[pulumi.Input[str]] + storage_account_name: NotRequired[pulumi.Input[str]] elif False: - OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict: TypeAlias = Mapping[str, Any] + MountWasbArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs: +class MountWasbArgs: def __init__(__self__, *, - estimated_completion_time_seconds: Optional[pulumi.Input[float]] = None, - latest_version_currently_processing: Optional[pulumi.Input[int]] = None, - sync_progress_completion: Optional[pulumi.Input[float]] = None, - synced_row_count: Optional[pulumi.Input[int]] = None, - total_row_count: Optional[pulumi.Input[int]] = None): - if estimated_completion_time_seconds is not None: - pulumi.set(__self__, "estimated_completion_time_seconds", estimated_completion_time_seconds) - if latest_version_currently_processing is not None: - pulumi.set(__self__, "latest_version_currently_processing", latest_version_currently_processing) - if sync_progress_completion is not None: - pulumi.set(__self__, "sync_progress_completion", sync_progress_completion) - if synced_row_count is not None: - pulumi.set(__self__, "synced_row_count", synced_row_count) - if total_row_count is not None: - pulumi.set(__self__, "total_row_count", total_row_count) + auth_type: pulumi.Input[str], + token_secret_key: pulumi.Input[str], + token_secret_scope: pulumi.Input[str], + container_name: Optional[pulumi.Input[str]] = None, + directory: Optional[pulumi.Input[str]] = None, + storage_account_name: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "auth_type", auth_type) + pulumi.set(__self__, "token_secret_key", token_secret_key) + pulumi.set(__self__, "token_secret_scope", token_secret_scope) + if container_name is not None: + pulumi.set(__self__, "container_name", container_name) + if directory is not None: + pulumi.set(__self__, "directory", directory) + if storage_account_name is not None: + pulumi.set(__self__, "storage_account_name", storage_account_name) @property - @pulumi.getter(name="estimatedCompletionTimeSeconds") - def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "estimated_completion_time_seconds") + @pulumi.getter(name="authType") + def auth_type(self) -> pulumi.Input[str]: + return pulumi.get(self, "auth_type") - @estimated_completion_time_seconds.setter - def estimated_completion_time_seconds(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "estimated_completion_time_seconds", value) + @auth_type.setter + def auth_type(self, value: pulumi.Input[str]): + pulumi.set(self, "auth_type", value) @property - @pulumi.getter(name="latestVersionCurrentlyProcessing") - def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "latest_version_currently_processing") + @pulumi.getter(name="tokenSecretKey") + def token_secret_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "token_secret_key") - @latest_version_currently_processing.setter - def latest_version_currently_processing(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "latest_version_currently_processing", value) + @token_secret_key.setter + def token_secret_key(self, value: pulumi.Input[str]): + pulumi.set(self, "token_secret_key", value) @property - @pulumi.getter(name="syncProgressCompletion") - def sync_progress_completion(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "sync_progress_completion") + @pulumi.getter(name="tokenSecretScope") + def token_secret_scope(self) -> pulumi.Input[str]: + return pulumi.get(self, "token_secret_scope") - @sync_progress_completion.setter - def sync_progress_completion(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "sync_progress_completion", value) + @token_secret_scope.setter + def token_secret_scope(self, value: pulumi.Input[str]): + pulumi.set(self, "token_secret_scope", value) @property - @pulumi.getter(name="syncedRowCount") - def synced_row_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "synced_row_count") + @pulumi.getter(name="containerName") + def container_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "container_name") - @synced_row_count.setter - def synced_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "synced_row_count", value) + @container_name.setter + def container_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_name", value) @property - @pulumi.getter(name="totalRowCount") - def total_row_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "total_row_count") + @pulumi.getter + def directory(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "directory") - @total_row_count.setter - def total_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "total_row_count", value) + @directory.setter + def directory(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "directory", value) + + @property + @pulumi.getter(name="storageAccountName") + def storage_account_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "storage_account_name") + + @storage_account_name.setter + def storage_account_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_account_name", value) if not MYPY: - class PermissionsAccessControlArgsDict(TypedDict): - group_name: NotRequired[pulumi.Input[str]] - """ - name of the group. We recommend setting permissions on groups. - """ - permission_level: NotRequired[pulumi.Input[str]] + class MwsCustomerManagedKeysAwsKeyInfoArgsDict(TypedDict): + key_arn: pulumi.Input[str] """ - permission level according to specific resource. See examples above for the reference. - - Exactly one of the below arguments is required: + The AWS KMS key's Amazon Resource Name (ARN). """ - service_principal_name: NotRequired[pulumi.Input[str]] + key_alias: NotRequired[pulumi.Input[str]] """ - Application ID of the service_principal. + The AWS KMS key alias. """ - user_name: NotRequired[pulumi.Input[str]] + key_region: NotRequired[pulumi.Input[str]] """ - name of the user. + (Computed) The AWS region in which KMS key is deployed to. This is not required. """ elif False: - PermissionsAccessControlArgsDict: TypeAlias = Mapping[str, Any] + MwsCustomerManagedKeysAwsKeyInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PermissionsAccessControlArgs: +class MwsCustomerManagedKeysAwsKeyInfoArgs: def __init__(__self__, *, - group_name: Optional[pulumi.Input[str]] = None, - permission_level: Optional[pulumi.Input[str]] = None, - service_principal_name: Optional[pulumi.Input[str]] = None, - user_name: Optional[pulumi.Input[str]] = None): + key_arn: pulumi.Input[str], + key_alias: Optional[pulumi.Input[str]] = None, + key_region: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] group_name: name of the group. We recommend setting permissions on groups. - :param pulumi.Input[str] permission_level: permission level according to specific resource. See examples above for the reference. - - Exactly one of the below arguments is required: - :param pulumi.Input[str] service_principal_name: Application ID of the service_principal. - :param pulumi.Input[str] user_name: name of the user. + :param pulumi.Input[str] key_arn: The AWS KMS key's Amazon Resource Name (ARN). + :param pulumi.Input[str] key_alias: The AWS KMS key alias. + :param pulumi.Input[str] key_region: (Computed) The AWS region in which KMS key is deployed to. This is not required. """ - if group_name is not None: - pulumi.set(__self__, "group_name", group_name) - if permission_level is not None: - pulumi.set(__self__, "permission_level", permission_level) - if service_principal_name is not None: - pulumi.set(__self__, "service_principal_name", service_principal_name) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + pulumi.set(__self__, "key_arn", key_arn) + if key_alias is not None: + pulumi.set(__self__, "key_alias", key_alias) + if key_region is not None: + pulumi.set(__self__, "key_region", key_region) @property - @pulumi.getter(name="groupName") - def group_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="keyArn") + def key_arn(self) -> pulumi.Input[str]: """ - name of the group. We recommend setting permissions on groups. + The AWS KMS key's Amazon Resource Name (ARN). """ - return pulumi.get(self, "group_name") + return pulumi.get(self, "key_arn") - @group_name.setter - def group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "group_name", value) + @key_arn.setter + def key_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "key_arn", value) @property - @pulumi.getter(name="permissionLevel") - def permission_level(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="keyAlias") + def key_alias(self) -> Optional[pulumi.Input[str]]: """ - permission level according to specific resource. See examples above for the reference. - - Exactly one of the below arguments is required: + The AWS KMS key alias. """ - return pulumi.get(self, "permission_level") + return pulumi.get(self, "key_alias") - @permission_level.setter - def permission_level(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "permission_level", value) + @key_alias.setter + def key_alias(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_alias", value) @property - @pulumi.getter(name="servicePrincipalName") - def service_principal_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="keyRegion") + def key_region(self) -> Optional[pulumi.Input[str]]: """ - Application ID of the service_principal. + (Computed) The AWS region in which KMS key is deployed to. This is not required. """ - return pulumi.get(self, "service_principal_name") + return pulumi.get(self, "key_region") - @service_principal_name.setter - def service_principal_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_principal_name", value) + @key_region.setter + def key_region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_region", value) + + +if not MYPY: + class MwsCustomerManagedKeysGcpKeyInfoArgsDict(TypedDict): + kms_key_id: pulumi.Input[str] + """ + The GCP KMS key's resource name. + """ +elif False: + MwsCustomerManagedKeysGcpKeyInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MwsCustomerManagedKeysGcpKeyInfoArgs: + def __init__(__self__, *, + kms_key_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] kms_key_id: The GCP KMS key's resource name. + """ + pulumi.set(__self__, "kms_key_id", kms_key_id) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="kmsKeyId") + def kms_key_id(self) -> pulumi.Input[str]: """ - name of the user. + The GCP KMS key's resource name. """ - return pulumi.get(self, "user_name") + return pulumi.get(self, "kms_key_id") - @user_name.setter - def user_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_name", value) + @kms_key_id.setter + def kms_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "kms_key_id", value) if not MYPY: - class PipelineClusterArgsDict(TypedDict): - apply_policy_default_values: NotRequired[pulumi.Input[bool]] - autoscale: NotRequired[pulumi.Input['PipelineClusterAutoscaleArgsDict']] - aws_attributes: NotRequired[pulumi.Input['PipelineClusterAwsAttributesArgsDict']] - azure_attributes: NotRequired[pulumi.Input['PipelineClusterAzureAttributesArgsDict']] - cluster_log_conf: NotRequired[pulumi.Input['PipelineClusterClusterLogConfArgsDict']] - custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - driver_instance_pool_id: NotRequired[pulumi.Input[str]] - driver_node_type_id: NotRequired[pulumi.Input[str]] - enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] - gcp_attributes: NotRequired[pulumi.Input['PipelineClusterGcpAttributesArgsDict']] - init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgsDict']]]] - instance_pool_id: NotRequired[pulumi.Input[str]] - label: NotRequired[pulumi.Input[str]] - node_type_id: NotRequired[pulumi.Input[str]] - num_workers: NotRequired[pulumi.Input[int]] - policy_id: NotRequired[pulumi.Input[str]] - spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class MwsNetworkConnectivityConfigEgressConfigArgsDict(TypedDict): + default_rules: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict']] + """ + block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + """ + target_rules: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict']] + """ + block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + """ elif False: - PipelineClusterArgsDict: TypeAlias = Mapping[str, Any] + MwsNetworkConnectivityConfigEgressConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterArgs: +class MwsNetworkConnectivityConfigEgressConfigArgs: def __init__(__self__, *, - apply_policy_default_values: Optional[pulumi.Input[bool]] = None, - autoscale: Optional[pulumi.Input['PipelineClusterAutoscaleArgs']] = None, - aws_attributes: Optional[pulumi.Input['PipelineClusterAwsAttributesArgs']] = None, - azure_attributes: Optional[pulumi.Input['PipelineClusterAzureAttributesArgs']] = None, - cluster_log_conf: Optional[pulumi.Input['PipelineClusterClusterLogConfArgs']] = None, - custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - driver_instance_pool_id: Optional[pulumi.Input[str]] = None, - driver_node_type_id: Optional[pulumi.Input[str]] = None, - enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, - gcp_attributes: Optional[pulumi.Input['PipelineClusterGcpAttributesArgs']] = None, - init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgs']]]] = None, - instance_pool_id: Optional[pulumi.Input[str]] = None, - label: Optional[pulumi.Input[str]] = None, - node_type_id: Optional[pulumi.Input[str]] = None, - num_workers: Optional[pulumi.Input[int]] = None, - policy_id: Optional[pulumi.Input[str]] = None, - spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if label is not None: - pulumi.set(__self__, "label", label) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "apply_policy_default_values") - - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "apply_policy_default_values", value) + default_rules: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']] = None, + target_rules: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']] = None): + """ + :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs'] default_rules: block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs'] target_rules: block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + """ + if default_rules is not None: + pulumi.set(__self__, "default_rules", default_rules) + if target_rules is not None: + pulumi.set(__self__, "target_rules", target_rules) @property - @pulumi.getter - def autoscale(self) -> Optional[pulumi.Input['PipelineClusterAutoscaleArgs']]: - return pulumi.get(self, "autoscale") + @pulumi.getter(name="defaultRules") + def default_rules(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']]: + """ + block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: + """ + return pulumi.get(self, "default_rules") - @autoscale.setter - def autoscale(self, value: Optional[pulumi.Input['PipelineClusterAutoscaleArgs']]): - pulumi.set(self, "autoscale", value) + @default_rules.setter + def default_rules(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']]): + pulumi.set(self, "default_rules", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional[pulumi.Input['PipelineClusterAwsAttributesArgs']]: - return pulumi.get(self, "aws_attributes") - - @aws_attributes.setter - def aws_attributes(self, value: Optional[pulumi.Input['PipelineClusterAwsAttributesArgs']]): - pulumi.set(self, "aws_attributes", value) + @pulumi.getter(name="targetRules") + def target_rules(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']]: + """ + block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: + """ + return pulumi.get(self, "target_rules") - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional[pulumi.Input['PipelineClusterAzureAttributesArgs']]: - return pulumi.get(self, "azure_attributes") + @target_rules.setter + def target_rules(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']]): + pulumi.set(self, "target_rules", value) - @azure_attributes.setter - def azure_attributes(self, value: Optional[pulumi.Input['PipelineClusterAzureAttributesArgs']]): - pulumi.set(self, "azure_attributes", value) - @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional[pulumi.Input['PipelineClusterClusterLogConfArgs']]: - return pulumi.get(self, "cluster_log_conf") +if not MYPY: + class MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict(TypedDict): + aws_stable_ip_rule: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict']] + """ + (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + """ + azure_service_endpoint_rule: NotRequired[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict']] + """ + (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + """ +elif False: + MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict: TypeAlias = Mapping[str, Any] - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional[pulumi.Input['PipelineClusterClusterLogConfArgs']]): - pulumi.set(self, "cluster_log_conf", value) +@pulumi.input_type +class MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs: + def __init__(__self__, *, + aws_stable_ip_rule: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']] = None, + azure_service_endpoint_rule: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']] = None): + """ + :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs'] aws_stable_ip_rule: (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + :param pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs'] azure_service_endpoint_rule: (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + """ + if aws_stable_ip_rule is not None: + pulumi.set(__self__, "aws_stable_ip_rule", aws_stable_ip_rule) + if azure_service_endpoint_rule is not None: + pulumi.set(__self__, "azure_service_endpoint_rule", azure_service_endpoint_rule) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="awsStableIpRule") + def aws_stable_ip_rule(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']]: + """ + (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields: + """ + return pulumi.get(self, "aws_stable_ip_rule") - @custom_tags.setter - def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "custom_tags", value) + @aws_stable_ip_rule.setter + def aws_stable_ip_rule(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']]): + pulumi.set(self, "aws_stable_ip_rule", value) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_instance_pool_id") - - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_instance_pool_id", value) + @pulumi.getter(name="azureServiceEndpointRule") + def azure_service_endpoint_rule(self) -> Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']]: + """ + (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields: + """ + return pulumi.get(self, "azure_service_endpoint_rule") - @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "driver_node_type_id") + @azure_service_endpoint_rule.setter + def azure_service_endpoint_rule(self, value: Optional[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']]): + pulumi.set(self, "azure_service_endpoint_rule", value) - @driver_node_type_id.setter - def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "driver_node_type_id", value) - @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_local_disk_encryption") +if not MYPY: + class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict(TypedDict): + cidr_blocks: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + list of IP CIDR blocks. + """ +elif False: + MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict: TypeAlias = Mapping[str, Any] - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_local_disk_encryption", value) +@pulumi.input_type +class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs: + def __init__(__self__, *, + cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] cidr_blocks: list of IP CIDR blocks. + """ + if cidr_blocks is not None: + pulumi.set(__self__, "cidr_blocks", cidr_blocks) @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional[pulumi.Input['PipelineClusterGcpAttributesArgs']]: - return pulumi.get(self, "gcp_attributes") - - @gcp_attributes.setter - def gcp_attributes(self, value: Optional[pulumi.Input['PipelineClusterGcpAttributesArgs']]): - pulumi.set(self, "gcp_attributes", value) + @pulumi.getter(name="cidrBlocks") + def cidr_blocks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + list of IP CIDR blocks. + """ + return pulumi.get(self, "cidr_blocks") - @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgs']]]]: - return pulumi.get(self, "init_scripts") + @cidr_blocks.setter + def cidr_blocks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "cidr_blocks", value) - @init_scripts.setter - def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgs']]]]): - pulumi.set(self, "init_scripts", value) - @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_pool_id") +if not MYPY: + class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict(TypedDict): + subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + list of subnets from which Databricks network traffic originates when accessing your Azure resources. + """ + target_region: NotRequired[pulumi.Input[str]] + """ + the Azure region in which this service endpoint rule applies. + """ + target_services: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + the Azure services to which this service endpoint rule applies to. + """ +elif False: + MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict: TypeAlias = Mapping[str, Any] - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_pool_id", value) +@pulumi.input_type +class MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs: + def __init__(__self__, *, + subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target_region: Optional[pulumi.Input[str]] = None, + target_services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: list of subnets from which Databricks network traffic originates when accessing your Azure resources. + :param pulumi.Input[str] target_region: the Azure region in which this service endpoint rule applies. + :param pulumi.Input[Sequence[pulumi.Input[str]]] target_services: the Azure services to which this service endpoint rule applies to. + """ + if subnets is not None: + pulumi.set(__self__, "subnets", subnets) + if target_region is not None: + pulumi.set(__self__, "target_region", target_region) + if target_services is not None: + pulumi.set(__self__, "target_services", target_services) @property @pulumi.getter - def label(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "label") - - @label.setter - def label(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "label", value) - - @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "node_type_id") + def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + list of subnets from which Databricks network traffic originates when accessing your Azure resources. + """ + return pulumi.get(self, "subnets") - @node_type_id.setter - def node_type_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_type_id", value) + @subnets.setter + def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "subnets", value) @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "num_workers") + @pulumi.getter(name="targetRegion") + def target_region(self) -> Optional[pulumi.Input[str]]: + """ + the Azure region in which this service endpoint rule applies. + """ + return pulumi.get(self, "target_region") - @num_workers.setter - def num_workers(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "num_workers", value) + @target_region.setter + def target_region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_region", value) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "policy_id") - - @policy_id.setter - def policy_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_id", value) + @pulumi.getter(name="targetServices") + def target_services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + the Azure services to which this service endpoint rule applies to. + """ + return pulumi.get(self, "target_services") - @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_conf") + @target_services.setter + def target_services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "target_services", value) - @spark_conf.setter - def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_conf", value) - @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "spark_env_vars") +if not MYPY: + class MwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict(TypedDict): + azure_private_endpoint_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict']]]] + """ + (Azure only) - list containing information about configure Azure Private Endpoints. + """ +elif False: + MwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict: TypeAlias = Mapping[str, Any] - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "spark_env_vars", value) +@pulumi.input_type +class MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs: + def __init__(__self__, *, + azure_private_endpoint_rules: Optional[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]] azure_private_endpoint_rules: (Azure only) - list containing information about configure Azure Private Endpoints. + """ + if azure_private_endpoint_rules is not None: + pulumi.set(__self__, "azure_private_endpoint_rules", azure_private_endpoint_rules) @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter(name="azurePrivateEndpointRules") + def azure_private_endpoint_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]]]: + """ + (Azure only) - list containing information about configure Azure Private Endpoints. + """ + return pulumi.get(self, "azure_private_endpoint_rules") - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ssh_public_keys", value) + @azure_private_endpoint_rules.setter + def azure_private_endpoint_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]]]): + pulumi.set(self, "azure_private_endpoint_rules", value) if not MYPY: - class PipelineClusterAutoscaleArgsDict(TypedDict): - max_workers: pulumi.Input[int] - min_workers: pulumi.Input[int] - mode: NotRequired[pulumi.Input[str]] -elif False: - PipelineClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + class MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict(TypedDict): + connection_state: NotRequired[pulumi.Input[str]] + creation_time: NotRequired[pulumi.Input[int]] + deactivated: NotRequired[pulumi.Input[bool]] + deactivated_at: NotRequired[pulumi.Input[int]] + endpoint_name: NotRequired[pulumi.Input[str]] + group_id: NotRequired[pulumi.Input[str]] + network_connectivity_config_id: NotRequired[pulumi.Input[str]] + """ + Canonical unique identifier of Network Connectivity Config in Databricks Account + """ + resource_id: NotRequired[pulumi.Input[str]] + rule_id: NotRequired[pulumi.Input[str]] + updated_time: NotRequired[pulumi.Input[int]] +elif False: + MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterAutoscaleArgs: +class MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs: def __init__(__self__, *, - max_workers: pulumi.Input[int], - min_workers: pulumi.Input[int], - mode: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "max_workers", max_workers) - pulumi.set(__self__, "min_workers", min_workers) - if mode is not None: - pulumi.set(__self__, "mode", mode) + connection_state: Optional[pulumi.Input[str]] = None, + creation_time: Optional[pulumi.Input[int]] = None, + deactivated: Optional[pulumi.Input[bool]] = None, + deactivated_at: Optional[pulumi.Input[int]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + network_connectivity_config_id: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + updated_time: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[str] network_connectivity_config_id: Canonical unique identifier of Network Connectivity Config in Databricks Account + """ + if connection_state is not None: + pulumi.set(__self__, "connection_state", connection_state) + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) + if deactivated is not None: + pulumi.set(__self__, "deactivated", deactivated) + if deactivated_at is not None: + pulumi.set(__self__, "deactivated_at", deactivated_at) + if endpoint_name is not None: + pulumi.set(__self__, "endpoint_name", endpoint_name) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if network_connectivity_config_id is not None: + pulumi.set(__self__, "network_connectivity_config_id", network_connectivity_config_id) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if updated_time is not None: + pulumi.set(__self__, "updated_time", updated_time) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> pulumi.Input[int]: - return pulumi.get(self, "max_workers") + @pulumi.getter(name="connectionState") + def connection_state(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "connection_state") - @max_workers.setter - def max_workers(self, value: pulumi.Input[int]): - pulumi.set(self, "max_workers", value) + @connection_state.setter + def connection_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_state", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> pulumi.Input[int]: - return pulumi.get(self, "min_workers") + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "creation_time") - @min_workers.setter - def min_workers(self, value: pulumi.Input[int]): - pulumi.set(self, "min_workers", value) + @creation_time.setter + def creation_time(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "creation_time", value) @property @pulumi.getter - def mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "mode") - - @mode.setter - def mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mode", value) - - -if not MYPY: - class PipelineClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - ebs_volume_count: NotRequired[pulumi.Input[int]] - ebs_volume_iops: NotRequired[pulumi.Input[int]] - ebs_volume_size: NotRequired[pulumi.Input[int]] - ebs_volume_throughput: NotRequired[pulumi.Input[int]] - ebs_volume_type: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - instance_profile_arn: NotRequired[pulumi.Input[str]] - spot_bid_price_percent: NotRequired[pulumi.Input[int]] - zone_id: NotRequired[pulumi.Input[str]] -elif False: - PipelineClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + def deactivated(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "deactivated") -@pulumi.input_type -class PipelineClusterAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - ebs_volume_count: Optional[pulumi.Input[int]] = None, - ebs_volume_iops: Optional[pulumi.Input[int]] = None, - ebs_volume_size: Optional[pulumi.Input[int]] = None, - ebs_volume_throughput: Optional[pulumi.Input[int]] = None, - ebs_volume_type: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - instance_profile_arn: Optional[pulumi.Input[str]] = None, - spot_bid_price_percent: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @deactivated.setter + def deactivated(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "deactivated", value) @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + @pulumi.getter(name="deactivatedAt") + def deactivated_at(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "deactivated_at") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @deactivated_at.setter + def deactivated_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "deactivated_at", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_count") + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint_name") - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_count", value) + @endpoint_name.setter + def endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint_name", value) @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_iops") + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "group_id") - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_iops", value) + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter(name="networkConnectivityConfigId") + def network_connectivity_config_id(self) -> Optional[pulumi.Input[str]]: + """ + Canonical unique identifier of Network Connectivity Config in Databricks Account + """ + return pulumi.get(self, "network_connectivity_config_id") - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_size", value) + @network_connectivity_config_id.setter + def network_connectivity_config_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_connectivity_config_id", value) @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "ebs_volume_throughput") + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resource_id") - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ebs_volume_throughput", value) + @resource_id.setter + def resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_id", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "rule_id") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ebs_volume_type", value) + @rule_id.setter + def rule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "rule_id", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="updatedTime") + def updated_time(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "updated_time") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @updated_time.setter + def updated_time(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "updated_time", value) - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "instance_profile_arn") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "instance_profile_arn", value) +if not MYPY: + class MwsNetworksErrorMessageArgsDict(TypedDict): + error_message: NotRequired[pulumi.Input[str]] + error_type: NotRequired[pulumi.Input[str]] +elif False: + MwsNetworksErrorMessageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MwsNetworksErrorMessageArgs: + def __init__(__self__, *, + error_message: Optional[pulumi.Input[str]] = None, + error_type: Optional[pulumi.Input[str]] = None): + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if error_type is not None: + pulumi.set(__self__, "error_type", error_type) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "error_message") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "spot_bid_price_percent", value) + @error_message.setter + def error_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "error_message", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="errorType") + def error_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "error_type") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @error_type.setter + def error_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "error_type", value) if not MYPY: - class PipelineClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - first_on_demand: NotRequired[pulumi.Input[int]] - log_analytics_info: NotRequired[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgsDict']] - spot_bid_max_price: NotRequired[pulumi.Input[float]] + class MwsNetworksGcpNetworkInfoArgsDict(TypedDict): + network_project_id: pulumi.Input[str] + """ + The Google Cloud project ID of the VPC network. + """ + pod_ip_range_name: pulumi.Input[str] + """ + The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + """ + service_ip_range_name: pulumi.Input[str] + """ + The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + """ + subnet_id: pulumi.Input[str] + """ + The ID of the subnet associated with this network. + """ + subnet_region: pulumi.Input[str] + """ + The Google Cloud region of the workspace data plane. For example, `us-east4`. + """ + vpc_id: pulumi.Input[str] + """ + The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + """ elif False: - PipelineClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + MwsNetworksGcpNetworkInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterAzureAttributesArgs: +class MwsNetworksGcpNetworkInfoArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - first_on_demand: Optional[pulumi.Input[int]] = None, - log_analytics_info: Optional[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgs']] = None, - spot_bid_max_price: Optional[pulumi.Input[float]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + network_project_id: pulumi.Input[str], + pod_ip_range_name: pulumi.Input[str], + service_ip_range_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + subnet_region: pulumi.Input[str], + vpc_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] network_project_id: The Google Cloud project ID of the VPC network. + :param pulumi.Input[str] pod_ip_range_name: The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + :param pulumi.Input[str] service_ip_range_name: The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + :param pulumi.Input[str] subnet_id: The ID of the subnet associated with this network. + :param pulumi.Input[str] subnet_region: The Google Cloud region of the workspace data plane. For example, `us-east4`. + :param pulumi.Input[str] vpc_id: The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + """ + pulumi.set(__self__, "network_project_id", network_project_id) + pulumi.set(__self__, "pod_ip_range_name", pod_ip_range_name) + pulumi.set(__self__, "service_ip_range_name", service_ip_range_name) + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "subnet_region", subnet_region) + pulumi.set(__self__, "vpc_id", vpc_id) @property - @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") + @pulumi.getter(name="networkProjectId") + def network_project_id(self) -> pulumi.Input[str]: + """ + The Google Cloud project ID of the VPC network. + """ + return pulumi.get(self, "network_project_id") - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + @network_project_id.setter + def network_project_id(self, value: pulumi.Input[str]): + pulumi.set(self, "network_project_id", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="podIpRangeName") + def pod_ip_range_name(self) -> pulumi.Input[str]: + """ + The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace. + """ + return pulumi.get(self, "pod_ip_range_name") - @first_on_demand.setter - def first_on_demand(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "first_on_demand", value) + @pod_ip_range_name.setter + def pod_ip_range_name(self, value: pulumi.Input[str]): + pulumi.set(self, "pod_ip_range_name", value) @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgs']]: - return pulumi.get(self, "log_analytics_info") + @pulumi.getter(name="serviceIpRangeName") + def service_ip_range_name(self) -> pulumi.Input[str]: + """ + The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace. + """ + return pulumi.get(self, "service_ip_range_name") - @log_analytics_info.setter - def log_analytics_info(self, value: Optional[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgs']]): - pulumi.set(self, "log_analytics_info", value) + @service_ip_range_name.setter + def service_ip_range_name(self, value: pulumi.Input[str]): + pulumi.set(self, "service_ip_range_name", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "spot_bid_max_price") - - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "spot_bid_max_price", value) - - -if not MYPY: - class PipelineClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[pulumi.Input[str]] - log_analytics_workspace_id: NotRequired[pulumi.Input[str]] -elif False: - PipelineClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The ID of the subnet associated with this network. + """ + return pulumi.get(self, "subnet_id") -@pulumi.input_type -class PipelineClusterAzureAttributesLogAnalyticsInfoArgs: - def __init__(__self__, *, - log_analytics_primary_key: Optional[pulumi.Input[str]] = None, - log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_primary_key") + @pulumi.getter(name="subnetRegion") + def subnet_region(self) -> pulumi.Input[str]: + """ + The Google Cloud region of the workspace data plane. For example, `us-east4`. + """ + return pulumi.get(self, "subnet_region") - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_primary_key", value) + @subnet_region.setter + def subnet_region(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_region", value) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter(name="vpcId") + def vpc_id(self) -> pulumi.Input[str]: + """ + The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations. + """ + return pulumi.get(self, "vpc_id") - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_analytics_workspace_id", value) + @vpc_id.setter + def vpc_id(self, value: pulumi.Input[str]): + pulumi.set(self, "vpc_id", value) if not MYPY: - class PipelineClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired[pulumi.Input['PipelineClusterClusterLogConfDbfsArgsDict']] - s3: NotRequired[pulumi.Input['PipelineClusterClusterLogConfS3ArgsDict']] + class MwsNetworksVpcEndpointsArgsDict(TypedDict): + dataplane_relays: pulumi.Input[Sequence[pulumi.Input[str]]] + rest_apis: pulumi.Input[Sequence[pulumi.Input[str]]] elif False: - PipelineClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + MwsNetworksVpcEndpointsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterClusterLogConfArgs: +class MwsNetworksVpcEndpointsArgs: def __init__(__self__, *, - dbfs: Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']] = None, - s3: Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + dataplane_relays: pulumi.Input[Sequence[pulumi.Input[str]]], + rest_apis: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(__self__, "dataplane_relays", dataplane_relays) + pulumi.set(__self__, "rest_apis", rest_apis) @property - @pulumi.getter - def dbfs(self) -> Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']]: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="dataplaneRelays") + def dataplane_relays(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "dataplane_relays") - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']]): - pulumi.set(self, "dbfs", value) + @dataplane_relays.setter + def dataplane_relays(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "dataplane_relays", value) @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']]: - return pulumi.get(self, "s3") + @pulumi.getter(name="restApis") + def rest_apis(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "rest_apis") - @s3.setter - def s3(self, value: Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']]): - pulumi.set(self, "s3", value) + @rest_apis.setter + def rest_apis(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "rest_apis", value) if not MYPY: - class PipelineClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - PipelineClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class PipelineClusterClusterLogConfDbfsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class PipelineClusterClusterLogConfS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] + class MwsVpcEndpointGcpVpcEndpointInfoArgsDict(TypedDict): + endpoint_region: pulumi.Input[str] + """ + Region of the PSC endpoint. + """ + project_id: pulumi.Input[str] + """ + The Google Cloud project ID of the VPC network where the PSC connection resides. + """ + psc_endpoint_name: pulumi.Input[str] + """ + The name of the PSC endpoint in the Google Cloud project. + """ + psc_connection_id: NotRequired[pulumi.Input[str]] + """ + The unique ID of this PSC connection. + """ + service_attachment_id: NotRequired[pulumi.Input[str]] + """ + The service attachment this PSC connection connects to. + """ elif False: - PipelineClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + MwsVpcEndpointGcpVpcEndpointInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterClusterLogConfS3Args: +class MwsVpcEndpointGcpVpcEndpointInfoArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") - - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + endpoint_region: pulumi.Input[str], + project_id: pulumi.Input[str], + psc_endpoint_name: pulumi.Input[str], + psc_connection_id: Optional[pulumi.Input[str]] = None, + service_attachment_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] endpoint_region: Region of the PSC endpoint. + :param pulumi.Input[str] project_id: The Google Cloud project ID of the VPC network where the PSC connection resides. + :param pulumi.Input[str] psc_endpoint_name: The name of the PSC endpoint in the Google Cloud project. + :param pulumi.Input[str] psc_connection_id: The unique ID of this PSC connection. + :param pulumi.Input[str] service_attachment_id: The service attachment this PSC connection connects to. + """ + pulumi.set(__self__, "endpoint_region", endpoint_region) + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "psc_endpoint_name", psc_endpoint_name) + if psc_connection_id is not None: + pulumi.set(__self__, "psc_connection_id", psc_connection_id) + if service_attachment_id is not None: + pulumi.set(__self__, "service_attachment_id", service_attachment_id) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="endpointRegion") + def endpoint_region(self) -> pulumi.Input[str]: + """ + Region of the PSC endpoint. + """ + return pulumi.get(self, "endpoint_region") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @endpoint_region.setter + def endpoint_region(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint_region", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[str]: + """ + The Google Cloud project ID of the VPC network where the PSC connection resides. + """ + return pulumi.get(self, "project_id") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @project_id.setter + def project_id(self, value: pulumi.Input[str]): + pulumi.set(self, "project_id", value) @property - @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="pscEndpointName") + def psc_endpoint_name(self) -> pulumi.Input[str]: + """ + The name of the PSC endpoint in the Google Cloud project. + """ + return pulumi.get(self, "psc_endpoint_name") - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) + @psc_endpoint_name.setter + def psc_endpoint_name(self, value: pulumi.Input[str]): + pulumi.set(self, "psc_endpoint_name", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="pscConnectionId") + def psc_connection_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique ID of this PSC connection. + """ + return pulumi.get(self, "psc_connection_id") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @psc_connection_id.setter + def psc_connection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "psc_connection_id", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + @pulumi.getter(name="serviceAttachmentId") + def service_attachment_id(self) -> Optional[pulumi.Input[str]]: + """ + The service attachment this PSC connection connects to. + """ + return pulumi.get(self, "service_attachment_id") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @service_attachment_id.setter + def service_attachment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_attachment_id", value) if not MYPY: - class PipelineClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[pulumi.Input[str]] - google_service_account: NotRequired[pulumi.Input[str]] - local_ssd_count: NotRequired[pulumi.Input[int]] - zone_id: NotRequired[pulumi.Input[str]] + class MwsWorkspacesCloudResourceContainerArgsDict(TypedDict): + gcp: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgsDict'] + """ + A block that consists of the following field: + """ elif False: - PipelineClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + MwsWorkspacesCloudResourceContainerArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterGcpAttributesArgs: +class MwsWorkspacesCloudResourceContainerArgs: def __init__(__self__, *, - availability: Optional[pulumi.Input[str]] = None, - google_service_account: Optional[pulumi.Input[str]] = None, - local_ssd_count: Optional[pulumi.Input[int]] = None, - zone_id: Optional[pulumi.Input[str]] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + gcp: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs']): + """ + :param pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs'] gcp: A block that consists of the following field: + """ + pulumi.set(__self__, "gcp", gcp) @property @pulumi.getter - def availability(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "availability", value) + def gcp(self) -> pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs']: + """ + A block that consists of the following field: + """ + return pulumi.get(self, "gcp") - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "google_service_account") + @gcp.setter + def gcp(self, value: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs']): + pulumi.set(self, "gcp", value) - @google_service_account.setter - def google_service_account(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "google_service_account", value) - @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "local_ssd_count") +if not MYPY: + class MwsWorkspacesCloudResourceContainerGcpArgsDict(TypedDict): + project_id: pulumi.Input[str] + """ + The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + """ +elif False: + MwsWorkspacesCloudResourceContainerGcpArgsDict: TypeAlias = Mapping[str, Any] - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "local_ssd_count", value) +@pulumi.input_type +class MwsWorkspacesCloudResourceContainerGcpArgs: + def __init__(__self__, *, + project_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] project_id: The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + """ + pulumi.set(__self__, "project_id", project_id) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[str]: + """ + The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace. + """ + return pulumi.get(self, "project_id") - @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "zone_id", value) + @project_id.setter + def project_id(self, value: pulumi.Input[str]): + pulumi.set(self, "project_id", value) if not MYPY: - class PipelineClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired[pulumi.Input['PipelineClusterInitScriptAbfssArgsDict']] - dbfs: NotRequired[pulumi.Input['PipelineClusterInitScriptDbfsArgsDict']] - file: NotRequired[pulumi.Input['PipelineClusterInitScriptFileArgsDict']] - gcs: NotRequired[pulumi.Input['PipelineClusterInitScriptGcsArgsDict']] - s3: NotRequired[pulumi.Input['PipelineClusterInitScriptS3ArgsDict']] - volumes: NotRequired[pulumi.Input['PipelineClusterInitScriptVolumesArgsDict']] - workspace: NotRequired[pulumi.Input['PipelineClusterInitScriptWorkspaceArgsDict']] + class MwsWorkspacesExternalCustomerInfoArgsDict(TypedDict): + authoritative_user_email: pulumi.Input[str] + authoritative_user_full_name: pulumi.Input[str] + customer_name: pulumi.Input[str] elif False: - PipelineClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + MwsWorkspacesExternalCustomerInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterInitScriptArgs: +class MwsWorkspacesExternalCustomerInfoArgs: def __init__(__self__, *, - abfss: Optional[pulumi.Input['PipelineClusterInitScriptAbfssArgs']] = None, - dbfs: Optional[pulumi.Input['PipelineClusterInitScriptDbfsArgs']] = None, - file: Optional[pulumi.Input['PipelineClusterInitScriptFileArgs']] = None, - gcs: Optional[pulumi.Input['PipelineClusterInitScriptGcsArgs']] = None, - s3: Optional[pulumi.Input['PipelineClusterInitScriptS3Args']] = None, - volumes: Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']] = None, - workspace: Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + authoritative_user_email: pulumi.Input[str], + authoritative_user_full_name: pulumi.Input[str], + customer_name: pulumi.Input[str]): + pulumi.set(__self__, "authoritative_user_email", authoritative_user_email) + pulumi.set(__self__, "authoritative_user_full_name", authoritative_user_full_name) + pulumi.set(__self__, "customer_name", customer_name) @property - @pulumi.getter - def abfss(self) -> Optional[pulumi.Input['PipelineClusterInitScriptAbfssArgs']]: - return pulumi.get(self, "abfss") + @pulumi.getter(name="authoritativeUserEmail") + def authoritative_user_email(self) -> pulumi.Input[str]: + return pulumi.get(self, "authoritative_user_email") - @abfss.setter - def abfss(self, value: Optional[pulumi.Input['PipelineClusterInitScriptAbfssArgs']]): - pulumi.set(self, "abfss", value) + @authoritative_user_email.setter + def authoritative_user_email(self, value: pulumi.Input[str]): + pulumi.set(self, "authoritative_user_email", value) @property - @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional[pulumi.Input['PipelineClusterInitScriptDbfsArgs']]: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="authoritativeUserFullName") + def authoritative_user_full_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "authoritative_user_full_name") - @dbfs.setter - def dbfs(self, value: Optional[pulumi.Input['PipelineClusterInitScriptDbfsArgs']]): - pulumi.set(self, "dbfs", value) + @authoritative_user_full_name.setter + def authoritative_user_full_name(self, value: pulumi.Input[str]): + pulumi.set(self, "authoritative_user_full_name", value) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['PipelineClusterInitScriptFileArgs']]: - return pulumi.get(self, "file") + @pulumi.getter(name="customerName") + def customer_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "customer_name") - @file.setter - def file(self, value: Optional[pulumi.Input['PipelineClusterInitScriptFileArgs']]): - pulumi.set(self, "file", value) + @customer_name.setter + def customer_name(self, value: pulumi.Input[str]): + pulumi.set(self, "customer_name", value) - @property - @pulumi.getter - def gcs(self) -> Optional[pulumi.Input['PipelineClusterInitScriptGcsArgs']]: - return pulumi.get(self, "gcs") - @gcs.setter - def gcs(self, value: Optional[pulumi.Input['PipelineClusterInitScriptGcsArgs']]): - pulumi.set(self, "gcs", value) +if not MYPY: + class MwsWorkspacesGcpManagedNetworkConfigArgsDict(TypedDict): + gke_cluster_pod_ip_range: pulumi.Input[str] + gke_cluster_service_ip_range: pulumi.Input[str] + subnet_cidr: pulumi.Input[str] +elif False: + MwsWorkspacesGcpManagedNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MwsWorkspacesGcpManagedNetworkConfigArgs: + def __init__(__self__, *, + gke_cluster_pod_ip_range: pulumi.Input[str], + gke_cluster_service_ip_range: pulumi.Input[str], + subnet_cidr: pulumi.Input[str]): + pulumi.set(__self__, "gke_cluster_pod_ip_range", gke_cluster_pod_ip_range) + pulumi.set(__self__, "gke_cluster_service_ip_range", gke_cluster_service_ip_range) + pulumi.set(__self__, "subnet_cidr", subnet_cidr) @property - @pulumi.getter - def s3(self) -> Optional[pulumi.Input['PipelineClusterInitScriptS3Args']]: - return pulumi.get(self, "s3") + @pulumi.getter(name="gkeClusterPodIpRange") + def gke_cluster_pod_ip_range(self) -> pulumi.Input[str]: + return pulumi.get(self, "gke_cluster_pod_ip_range") - @s3.setter - def s3(self, value: Optional[pulumi.Input['PipelineClusterInitScriptS3Args']]): - pulumi.set(self, "s3", value) + @gke_cluster_pod_ip_range.setter + def gke_cluster_pod_ip_range(self, value: pulumi.Input[str]): + pulumi.set(self, "gke_cluster_pod_ip_range", value) @property - @pulumi.getter - def volumes(self) -> Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']]: - return pulumi.get(self, "volumes") + @pulumi.getter(name="gkeClusterServiceIpRange") + def gke_cluster_service_ip_range(self) -> pulumi.Input[str]: + return pulumi.get(self, "gke_cluster_service_ip_range") - @volumes.setter - def volumes(self, value: Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']]): - pulumi.set(self, "volumes", value) + @gke_cluster_service_ip_range.setter + def gke_cluster_service_ip_range(self, value: pulumi.Input[str]): + pulumi.set(self, "gke_cluster_service_ip_range", value) @property - @pulumi.getter - def workspace(self) -> Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']]: - return pulumi.get(self, "workspace") + @pulumi.getter(name="subnetCidr") + def subnet_cidr(self) -> pulumi.Input[str]: + return pulumi.get(self, "subnet_cidr") - @workspace.setter - def workspace(self, value: Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']]): - pulumi.set(self, "workspace", value) + @subnet_cidr.setter + def subnet_cidr(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_cidr", value) if not MYPY: - class PipelineClusterInitScriptAbfssArgsDict(TypedDict): - destination: pulumi.Input[str] + class MwsWorkspacesGkeConfigArgsDict(TypedDict): + connectivity_type: pulumi.Input[str] + """ + Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + """ + master_ip_range: pulumi.Input[str] + """ + The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + """ elif False: - PipelineClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + MwsWorkspacesGkeConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterInitScriptAbfssArgs: +class MwsWorkspacesGkeConfigArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + connectivity_type: pulumi.Input[str], + master_ip_range: pulumi.Input[str]): + """ + :param pulumi.Input[str] connectivity_type: Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + :param pulumi.Input[str] master_ip_range: The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + """ + pulumi.set(__self__, "connectivity_type", connectivity_type) + pulumi.set(__self__, "master_ip_range", master_ip_range) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - -if not MYPY: - class PipelineClusterInitScriptDbfsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - PipelineClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="connectivityType") + def connectivity_type(self) -> pulumi.Input[str]: + """ + Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`. + """ + return pulumi.get(self, "connectivity_type") -@pulumi.input_type -class PipelineClusterInitScriptDbfsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @connectivity_type.setter + def connectivity_type(self, value: pulumi.Input[str]): + pulumi.set(self, "connectivity_type", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="masterIpRange") + def master_ip_range(self) -> pulumi.Input[str]: + """ + The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`. + """ + return pulumi.get(self, "master_ip_range") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @master_ip_range.setter + def master_ip_range(self, value: pulumi.Input[str]): + pulumi.set(self, "master_ip_range", value) if not MYPY: - class PipelineClusterInitScriptFileArgsDict(TypedDict): - destination: pulumi.Input[str] + class MwsWorkspacesTokenArgsDict(TypedDict): + comment: NotRequired[pulumi.Input[str]] + """ + Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + """ + lifetime_seconds: NotRequired[pulumi.Input[int]] + """ + Token expiry lifetime. By default its 2592000 (30 days). + """ + token_id: NotRequired[pulumi.Input[str]] + token_value: NotRequired[pulumi.Input[str]] elif False: - PipelineClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + MwsWorkspacesTokenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterInitScriptFileArgs: +class MwsWorkspacesTokenArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + comment: Optional[pulumi.Input[str]] = None, + lifetime_seconds: Optional[pulumi.Input[int]] = None, + token_id: Optional[pulumi.Input[str]] = None, + token_value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] comment: Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + :param pulumi.Input[int] lifetime_seconds: Token expiry lifetime. By default its 2592000 (30 days). + """ + if comment is not None: + pulumi.set(__self__, "comment", comment) + if lifetime_seconds is not None: + pulumi.set(__self__, "lifetime_seconds", lifetime_seconds) + if token_id is not None: + pulumi.set(__self__, "token_id", token_id) + if token_value is not None: + pulumi.set(__self__, "token_value", token_value) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + def comment(self) -> Optional[pulumi.Input[str]]: + """ + Comment, that will appear in "User Settings / Access Tokens" page on Workspace UI. By default it's "Pulumi PAT". + """ + return pulumi.get(self, "comment") + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) -if not MYPY: - class PipelineClusterInitScriptGcsArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - PipelineClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="lifetimeSeconds") + def lifetime_seconds(self) -> Optional[pulumi.Input[int]]: + """ + Token expiry lifetime. By default its 2592000 (30 days). + """ + return pulumi.get(self, "lifetime_seconds") -@pulumi.input_type -class PipelineClusterInitScriptGcsArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + @lifetime_seconds.setter + def lifetime_seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "lifetime_seconds", value) @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + @pulumi.getter(name="tokenId") + def token_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "token_id") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @token_id.setter + def token_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token_id", value) + + @property + @pulumi.getter(name="tokenValue") + def token_value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "token_value") + + @token_value.setter + def token_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token_value", value) if not MYPY: - class PipelineClusterInitScriptS3ArgsDict(TypedDict): - destination: pulumi.Input[str] - canned_acl: NotRequired[pulumi.Input[str]] - enable_encryption: NotRequired[pulumi.Input[bool]] - encryption_type: NotRequired[pulumi.Input[str]] - endpoint: NotRequired[pulumi.Input[str]] - kms_key: NotRequired[pulumi.Input[str]] - region: NotRequired[pulumi.Input[str]] + class NotificationDestinationConfigArgsDict(TypedDict): + email: NotRequired[pulumi.Input['NotificationDestinationConfigEmailArgsDict']] + """ + The email configuration of the Notification Destination. It must contain the following: + """ + generic_webhook: NotRequired[pulumi.Input['NotificationDestinationConfigGenericWebhookArgsDict']] + """ + The Generic Webhook configuration of the Notification Destination. It must contain the following: + """ + microsoft_teams: NotRequired[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgsDict']] + """ + The Microsoft Teams configuration of the Notification Destination. It must contain the following: + """ + pagerduty: NotRequired[pulumi.Input['NotificationDestinationConfigPagerdutyArgsDict']] + """ + The PagerDuty configuration of the Notification Destination. It must contain the following: + """ + slack: NotRequired[pulumi.Input['NotificationDestinationConfigSlackArgsDict']] + """ + The Slack configuration of the Notification Destination. It must contain the following: + """ elif False: - PipelineClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + NotificationDestinationConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterInitScriptS3Args: +class NotificationDestinationConfigArgs: def __init__(__self__, *, - destination: pulumi.Input[str], - canned_acl: Optional[pulumi.Input[str]] = None, - enable_encryption: Optional[pulumi.Input[bool]] = None, - encryption_type: Optional[pulumi.Input[str]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - kms_key: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + email: Optional[pulumi.Input['NotificationDestinationConfigEmailArgs']] = None, + generic_webhook: Optional[pulumi.Input['NotificationDestinationConfigGenericWebhookArgs']] = None, + microsoft_teams: Optional[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs']] = None, + pagerduty: Optional[pulumi.Input['NotificationDestinationConfigPagerdutyArgs']] = None, + slack: Optional[pulumi.Input['NotificationDestinationConfigSlackArgs']] = None): + """ + :param pulumi.Input['NotificationDestinationConfigEmailArgs'] email: The email configuration of the Notification Destination. It must contain the following: + :param pulumi.Input['NotificationDestinationConfigGenericWebhookArgs'] generic_webhook: The Generic Webhook configuration of the Notification Destination. It must contain the following: + :param pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs'] microsoft_teams: The Microsoft Teams configuration of the Notification Destination. It must contain the following: + :param pulumi.Input['NotificationDestinationConfigPagerdutyArgs'] pagerduty: The PagerDuty configuration of the Notification Destination. It must contain the following: + :param pulumi.Input['NotificationDestinationConfigSlackArgs'] slack: The Slack configuration of the Notification Destination. It must contain the following: + """ + if email is not None: + pulumi.set(__self__, "email", email) + if generic_webhook is not None: + pulumi.set(__self__, "generic_webhook", generic_webhook) + if microsoft_teams is not None: + pulumi.set(__self__, "microsoft_teams", microsoft_teams) + if pagerduty is not None: + pulumi.set(__self__, "pagerduty", pagerduty) + if slack is not None: + pulumi.set(__self__, "slack", slack) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "canned_acl") + def email(self) -> Optional[pulumi.Input['NotificationDestinationConfigEmailArgs']]: + """ + The email configuration of the Notification Destination. It must contain the following: + """ + return pulumi.get(self, "email") - @canned_acl.setter - def canned_acl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "canned_acl", value) + @email.setter + def email(self, value: Optional[pulumi.Input['NotificationDestinationConfigEmailArgs']]): + pulumi.set(self, "email", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="genericWebhook") + def generic_webhook(self) -> Optional[pulumi.Input['NotificationDestinationConfigGenericWebhookArgs']]: + """ + The Generic Webhook configuration of the Notification Destination. It must contain the following: + """ + return pulumi.get(self, "generic_webhook") - @enable_encryption.setter - def enable_encryption(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_encryption", value) + @generic_webhook.setter + def generic_webhook(self, value: Optional[pulumi.Input['NotificationDestinationConfigGenericWebhookArgs']]): + pulumi.set(self, "generic_webhook", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="microsoftTeams") + def microsoft_teams(self) -> Optional[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs']]: + """ + The Microsoft Teams configuration of the Notification Destination. It must contain the following: + """ + return pulumi.get(self, "microsoft_teams") - @encryption_type.setter - def encryption_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "encryption_type", value) + @microsoft_teams.setter + def microsoft_teams(self, value: Optional[pulumi.Input['NotificationDestinationConfigMicrosoftTeamsArgs']]): + pulumi.set(self, "microsoft_teams", value) @property @pulumi.getter - def endpoint(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "endpoint") - - @endpoint.setter - def endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "endpoint", value) - - @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "kms_key") + def pagerduty(self) -> Optional[pulumi.Input['NotificationDestinationConfigPagerdutyArgs']]: + """ + The PagerDuty configuration of the Notification Destination. It must contain the following: + """ + return pulumi.get(self, "pagerduty") - @kms_key.setter - def kms_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key", value) + @pagerduty.setter + def pagerduty(self, value: Optional[pulumi.Input['NotificationDestinationConfigPagerdutyArgs']]): + pulumi.set(self, "pagerduty", value) @property @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + def slack(self) -> Optional[pulumi.Input['NotificationDestinationConfigSlackArgs']]: + """ + The Slack configuration of the Notification Destination. It must contain the following: + """ + return pulumi.get(self, "slack") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @slack.setter + def slack(self, value: Optional[pulumi.Input['NotificationDestinationConfigSlackArgs']]): + pulumi.set(self, "slack", value) if not MYPY: - class PipelineClusterInitScriptVolumesArgsDict(TypedDict): - destination: pulumi.Input[str] + class NotificationDestinationConfigEmailArgsDict(TypedDict): + addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of email addresses to send notifications to. + """ elif False: - PipelineClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + NotificationDestinationConfigEmailArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineClusterInitScriptVolumesArgs: +class NotificationDestinationConfigEmailArgs: def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) + addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] addresses: The list of email addresses to send notifications to. + """ + if addresses is not None: + pulumi.set(__self__, "addresses", addresses) @property @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") + def addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of email addresses to send notifications to. + """ + return pulumi.get(self, "addresses") - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) + @addresses.setter + def addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "addresses", value) if not MYPY: - class PipelineClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: pulumi.Input[str] -elif False: - PipelineClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class PipelineClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: pulumi.Input[str]): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> pulumi.Input[str]: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: pulumi.Input[str]): - pulumi.set(self, "destination", value) - + class NotificationDestinationConfigGenericWebhookArgsDict(TypedDict): + password: NotRequired[pulumi.Input[str]] + """ + The password for basic authentication. -if not MYPY: - class PipelineDeploymentArgsDict(TypedDict): - kind: NotRequired[pulumi.Input[str]] + > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. """ - The deployment method that manages the pipeline. + password_set: NotRequired[pulumi.Input[bool]] + url: NotRequired[pulumi.Input[str]] """ - metadata_file_path: NotRequired[pulumi.Input[str]] + The Generic Webhook URL. """ - The path to the file containing metadata about the deployment. + url_set: NotRequired[pulumi.Input[bool]] + username: NotRequired[pulumi.Input[str]] + """ + The username for basic authentication. """ + username_set: NotRequired[pulumi.Input[bool]] elif False: - PipelineDeploymentArgsDict: TypeAlias = Mapping[str, Any] + NotificationDestinationConfigGenericWebhookArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineDeploymentArgs: +class NotificationDestinationConfigGenericWebhookArgs: def __init__(__self__, *, - kind: Optional[pulumi.Input[str]] = None, - metadata_file_path: Optional[pulumi.Input[str]] = None): + password: Optional[pulumi.Input[str]] = None, + password_set: Optional[pulumi.Input[bool]] = None, + url: Optional[pulumi.Input[str]] = None, + url_set: Optional[pulumi.Input[bool]] = None, + username: Optional[pulumi.Input[str]] = None, + username_set: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[str] kind: The deployment method that manages the pipeline. - :param pulumi.Input[str] metadata_file_path: The path to the file containing metadata about the deployment. + :param pulumi.Input[str] password: The password for basic authentication. + + > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. + :param pulumi.Input[str] url: The Generic Webhook URL. + :param pulumi.Input[str] username: The username for basic authentication. """ - if kind is not None: - pulumi.set(__self__, "kind", kind) - if metadata_file_path is not None: - pulumi.set(__self__, "metadata_file_path", metadata_file_path) + if password is not None: + pulumi.set(__self__, "password", password) + if password_set is not None: + pulumi.set(__self__, "password_set", password_set) + if url is not None: + pulumi.set(__self__, "url", url) + if url_set is not None: + pulumi.set(__self__, "url_set", url_set) + if username is not None: + pulumi.set(__self__, "username", username) + if username_set is not None: + pulumi.set(__self__, "username_set", username_set) @property @pulumi.getter - def kind(self) -> Optional[pulumi.Input[str]]: + def password(self) -> Optional[pulumi.Input[str]]: """ - The deployment method that manages the pipeline. + The password for basic authentication. + + > **NOTE** If the type of notification destination is changed, the existing notification destination will be deleted and a new notification destination will be created with the new type. """ - return pulumi.get(self, "kind") + return pulumi.get(self, "password") - @kind.setter - def kind(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kind", value) + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="metadataFilePath") - def metadata_file_path(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="passwordSet") + def password_set(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "password_set") + + @password_set.setter + def password_set(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "password_set", value) + + @property + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: """ - The path to the file containing metadata about the deployment. + The Generic Webhook URL. """ - return pulumi.get(self, "metadata_file_path") + return pulumi.get(self, "url") - @metadata_file_path.setter - def metadata_file_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metadata_file_path", value) + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) + @property + @pulumi.getter(name="urlSet") + def url_set(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "url_set") -if not MYPY: - class PipelineFiltersArgsDict(TypedDict): - excludes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + @url_set.setter + def url_set(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "url_set", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: """ - Paths to exclude. + The username for basic authentication. """ - includes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + @property + @pulumi.getter(name="usernameSet") + def username_set(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "username_set") + + @username_set.setter + def username_set(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "username_set", value) + + +if not MYPY: + class NotificationDestinationConfigMicrosoftTeamsArgsDict(TypedDict): + url: NotRequired[pulumi.Input[str]] """ - Paths to include. + The Microsoft Teams webhook URL. """ + url_set: NotRequired[pulumi.Input[bool]] elif False: - PipelineFiltersArgsDict: TypeAlias = Mapping[str, Any] + NotificationDestinationConfigMicrosoftTeamsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineFiltersArgs: +class NotificationDestinationConfigMicrosoftTeamsArgs: def __init__(__self__, *, - excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + url: Optional[pulumi.Input[str]] = None, + url_set: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] excludes: Paths to exclude. - :param pulumi.Input[Sequence[pulumi.Input[str]]] includes: Paths to include. + :param pulumi.Input[str] url: The Microsoft Teams webhook URL. """ - if excludes is not None: - pulumi.set(__self__, "excludes", excludes) - if includes is not None: - pulumi.set(__self__, "includes", includes) + if url is not None: + pulumi.set(__self__, "url", url) + if url_set is not None: + pulumi.set(__self__, "url_set", url_set) @property @pulumi.getter - def excludes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def url(self) -> Optional[pulumi.Input[str]]: """ - Paths to exclude. + The Microsoft Teams webhook URL. """ - return pulumi.get(self, "excludes") + return pulumi.get(self, "url") - @excludes.setter - def excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "excludes", value) + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) @property - @pulumi.getter - def includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Paths to include. - """ - return pulumi.get(self, "includes") + @pulumi.getter(name="urlSet") + def url_set(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "url_set") - @includes.setter - def includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "includes", value) + @url_set.setter + def url_set(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "url_set", value) if not MYPY: - class PipelineGatewayDefinitionArgsDict(TypedDict): - connection_id: NotRequired[pulumi.Input[str]] - """ - Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. - """ - connection_name: NotRequired[pulumi.Input[str]] - gateway_storage_catalog: NotRequired[pulumi.Input[str]] - """ - Required, Immutable. The name of the catalog for the gateway pipeline's storage location. - """ - gateway_storage_name: NotRequired[pulumi.Input[str]] - """ - Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. - """ - gateway_storage_schema: NotRequired[pulumi.Input[str]] + class NotificationDestinationConfigPagerdutyArgsDict(TypedDict): + integration_key: NotRequired[pulumi.Input[str]] """ - Required, Immutable. The name of the schema for the gateway pipelines's storage location. + The PagerDuty integration key. """ + integration_key_set: NotRequired[pulumi.Input[bool]] elif False: - PipelineGatewayDefinitionArgsDict: TypeAlias = Mapping[str, Any] + NotificationDestinationConfigPagerdutyArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineGatewayDefinitionArgs: +class NotificationDestinationConfigPagerdutyArgs: def __init__(__self__, *, - connection_id: Optional[pulumi.Input[str]] = None, - connection_name: Optional[pulumi.Input[str]] = None, - gateway_storage_catalog: Optional[pulumi.Input[str]] = None, - gateway_storage_name: Optional[pulumi.Input[str]] = None, - gateway_storage_schema: Optional[pulumi.Input[str]] = None): + integration_key: Optional[pulumi.Input[str]] = None, + integration_key_set: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[str] connection_id: Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. - :param pulumi.Input[str] gateway_storage_catalog: Required, Immutable. The name of the catalog for the gateway pipeline's storage location. - :param pulumi.Input[str] gateway_storage_name: Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. - :param pulumi.Input[str] gateway_storage_schema: Required, Immutable. The name of the schema for the gateway pipelines's storage location. + :param pulumi.Input[str] integration_key: The PagerDuty integration key. """ - if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) - if connection_name is not None: - pulumi.set(__self__, "connection_name", connection_name) - if gateway_storage_catalog is not None: - pulumi.set(__self__, "gateway_storage_catalog", gateway_storage_catalog) - if gateway_storage_name is not None: - pulumi.set(__self__, "gateway_storage_name", gateway_storage_name) - if gateway_storage_schema is not None: - pulumi.set(__self__, "gateway_storage_schema", gateway_storage_schema) + if integration_key is not None: + pulumi.set(__self__, "integration_key", integration_key) + if integration_key_set is not None: + pulumi.set(__self__, "integration_key_set", integration_key_set) @property - @pulumi.getter(name="connectionId") - def connection_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="integrationKey") + def integration_key(self) -> Optional[pulumi.Input[str]]: """ - Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. + The PagerDuty integration key. """ - return pulumi.get(self, "connection_id") + return pulumi.get(self, "integration_key") - @connection_id.setter - def connection_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_id", value) + @integration_key.setter + def integration_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "integration_key", value) @property - @pulumi.getter(name="connectionName") - def connection_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "connection_name") + @pulumi.getter(name="integrationKeySet") + def integration_key_set(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "integration_key_set") - @connection_name.setter - def connection_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_name", value) + @integration_key_set.setter + def integration_key_set(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "integration_key_set", value) - @property - @pulumi.getter(name="gatewayStorageCatalog") - def gateway_storage_catalog(self) -> Optional[pulumi.Input[str]]: + +if not MYPY: + class NotificationDestinationConfigSlackArgsDict(TypedDict): + url: NotRequired[pulumi.Input[str]] """ - Required, Immutable. The name of the catalog for the gateway pipeline's storage location. + The Slack webhook URL. """ - return pulumi.get(self, "gateway_storage_catalog") + url_set: NotRequired[pulumi.Input[bool]] +elif False: + NotificationDestinationConfigSlackArgsDict: TypeAlias = Mapping[str, Any] - @gateway_storage_catalog.setter - def gateway_storage_catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gateway_storage_catalog", value) +@pulumi.input_type +class NotificationDestinationConfigSlackArgs: + def __init__(__self__, *, + url: Optional[pulumi.Input[str]] = None, + url_set: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input[str] url: The Slack webhook URL. + """ + if url is not None: + pulumi.set(__self__, "url", url) + if url_set is not None: + pulumi.set(__self__, "url_set", url_set) @property - @pulumi.getter(name="gatewayStorageName") - def gateway_storage_name(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: """ - Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. + The Slack webhook URL. """ - return pulumi.get(self, "gateway_storage_name") + return pulumi.get(self, "url") - @gateway_storage_name.setter - def gateway_storage_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gateway_storage_name", value) + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="gatewayStorageSchema") - def gateway_storage_schema(self) -> Optional[pulumi.Input[str]]: - """ - Required, Immutable. The name of the schema for the gateway pipelines's storage location. - """ - return pulumi.get(self, "gateway_storage_schema") + @pulumi.getter(name="urlSet") + def url_set(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "url_set") - @gateway_storage_schema.setter - def gateway_storage_schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gateway_storage_schema", value) + @url_set.setter + def url_set(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "url_set", value) if not MYPY: - class PipelineIngestionDefinitionArgsDict(TypedDict): - connection_name: NotRequired[pulumi.Input[str]] - ingestion_gateway_id: NotRequired[pulumi.Input[str]] - objects: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgsDict']]]] - table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgsDict']] + class OnlineTableSpecArgsDict(TypedDict): + perform_full_copy: NotRequired[pulumi.Input[bool]] + """ + Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + """ + pipeline_id: NotRequired[pulumi.Input[str]] + """ + ID of the associated Delta Live Table pipeline. + """ + primary_key_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + list of the columns comprising the primary key. + """ + run_continuously: NotRequired[pulumi.Input['OnlineTableSpecRunContinuouslyArgsDict']] + """ + empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + """ + run_triggered: NotRequired[pulumi.Input['OnlineTableSpecRunTriggeredArgsDict']] + """ + empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). + """ + source_table_full_name: NotRequired[pulumi.Input[str]] + """ + full name of the source table. + """ + timeseries_key: NotRequired[pulumi.Input[str]] + """ + Time series key to deduplicate (tie-break) rows with the same primary key. + """ elif False: - PipelineIngestionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableSpecArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionArgs: +class OnlineTableSpecArgs: def __init__(__self__, *, - connection_name: Optional[pulumi.Input[str]] = None, - ingestion_gateway_id: Optional[pulumi.Input[str]] = None, - objects: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgs']]]] = None, - table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgs']] = None): - if connection_name is not None: - pulumi.set(__self__, "connection_name", connection_name) - if ingestion_gateway_id is not None: - pulumi.set(__self__, "ingestion_gateway_id", ingestion_gateway_id) - if objects is not None: - pulumi.set(__self__, "objects", objects) - if table_configuration is not None: - pulumi.set(__self__, "table_configuration", table_configuration) + perform_full_copy: Optional[pulumi.Input[bool]] = None, + pipeline_id: Optional[pulumi.Input[str]] = None, + primary_key_columns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + run_continuously: Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']] = None, + run_triggered: Optional[pulumi.Input['OnlineTableSpecRunTriggeredArgs']] = None, + source_table_full_name: Optional[pulumi.Input[str]] = None, + timeseries_key: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] perform_full_copy: Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + :param pulumi.Input[str] pipeline_id: ID of the associated Delta Live Table pipeline. + :param pulumi.Input[Sequence[pulumi.Input[str]]] primary_key_columns: list of the columns comprising the primary key. + :param pulumi.Input['OnlineTableSpecRunContinuouslyArgs'] run_continuously: empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. + :param pulumi.Input['OnlineTableSpecRunTriggeredArgs'] run_triggered: empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). + :param pulumi.Input[str] source_table_full_name: full name of the source table. + :param pulumi.Input[str] timeseries_key: Time series key to deduplicate (tie-break) rows with the same primary key. + """ + if perform_full_copy is not None: + pulumi.set(__self__, "perform_full_copy", perform_full_copy) + if pipeline_id is not None: + pulumi.set(__self__, "pipeline_id", pipeline_id) + if primary_key_columns is not None: + pulumi.set(__self__, "primary_key_columns", primary_key_columns) + if run_continuously is not None: + pulumi.set(__self__, "run_continuously", run_continuously) + if run_triggered is not None: + pulumi.set(__self__, "run_triggered", run_triggered) + if source_table_full_name is not None: + pulumi.set(__self__, "source_table_full_name", source_table_full_name) + if timeseries_key is not None: + pulumi.set(__self__, "timeseries_key", timeseries_key) @property - @pulumi.getter(name="connectionName") - def connection_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "connection_name") + @pulumi.getter(name="performFullCopy") + def perform_full_copy(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to create a full-copy pipeline -- a pipeline that stops after creates a full copy of the source table upon initialization and does not process any change data feeds (CDFs) afterwards. The pipeline can still be manually triggered afterwards, but it always perform a full copy of the source table and there are no incremental updates. This mode is useful for syncing views or tables without CDFs to online tables. Note that the full-copy pipeline only supports "triggered" scheduling policy. + """ + return pulumi.get(self, "perform_full_copy") - @connection_name.setter - def connection_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_name", value) + @perform_full_copy.setter + def perform_full_copy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "perform_full_copy", value) @property - @pulumi.getter(name="ingestionGatewayId") - def ingestion_gateway_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ingestion_gateway_id") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> Optional[pulumi.Input[str]]: + """ + ID of the associated Delta Live Table pipeline. + """ + return pulumi.get(self, "pipeline_id") - @ingestion_gateway_id.setter - def ingestion_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ingestion_gateway_id", value) + @pipeline_id.setter + def pipeline_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pipeline_id", value) @property - @pulumi.getter - def objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgs']]]]: - return pulumi.get(self, "objects") + @pulumi.getter(name="primaryKeyColumns") + def primary_key_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + list of the columns comprising the primary key. + """ + return pulumi.get(self, "primary_key_columns") - @objects.setter - def objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgs']]]]): - pulumi.set(self, "objects", value) + @primary_key_columns.setter + def primary_key_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "primary_key_columns", value) @property - @pulumi.getter(name="tableConfiguration") - def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgs']]: - return pulumi.get(self, "table_configuration") - - @table_configuration.setter - def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgs']]): - pulumi.set(self, "table_configuration", value) - - -if not MYPY: - class PipelineIngestionDefinitionObjectArgsDict(TypedDict): - report: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectReportArgsDict']] - schema: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgsDict']] + @pulumi.getter(name="runContinuously") + def run_continuously(self) -> Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']]: """ - The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. + empty block that specifies that pipeline runs continuously after generating the initial data. Conflicts with `run_triggered`. """ - table: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectTableArgsDict']] -elif False: - PipelineIngestionDefinitionObjectArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "run_continuously") -@pulumi.input_type -class PipelineIngestionDefinitionObjectArgs: - def __init__(__self__, *, - report: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportArgs']] = None, - schema: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs']] = None, - table: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableArgs']] = None): + @run_continuously.setter + def run_continuously(self, value: Optional[pulumi.Input['OnlineTableSpecRunContinuouslyArgs']]): + pulumi.set(self, "run_continuously", value) + + @property + @pulumi.getter(name="runTriggered") + def run_triggered(self) -> Optional[pulumi.Input['OnlineTableSpecRunTriggeredArgs']]: """ - :param pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs'] schema: The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. + empty block that specifies that pipeline stops after generating the initial data and can be triggered later (manually, through a cron job or through data triggers). """ - if report is not None: - pulumi.set(__self__, "report", report) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if table is not None: - pulumi.set(__self__, "table", table) + return pulumi.get(self, "run_triggered") + + @run_triggered.setter + def run_triggered(self, value: Optional[pulumi.Input['OnlineTableSpecRunTriggeredArgs']]): + pulumi.set(self, "run_triggered", value) @property - @pulumi.getter - def report(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportArgs']]: - return pulumi.get(self, "report") + @pulumi.getter(name="sourceTableFullName") + def source_table_full_name(self) -> Optional[pulumi.Input[str]]: + """ + full name of the source table. + """ + return pulumi.get(self, "source_table_full_name") - @report.setter - def report(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportArgs']]): - pulumi.set(self, "report", value) + @source_table_full_name.setter + def source_table_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_table_full_name", value) @property - @pulumi.getter - def schema(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs']]: + @pulumi.getter(name="timeseriesKey") + def timeseries_key(self) -> Optional[pulumi.Input[str]]: """ - The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. + Time series key to deduplicate (tie-break) rows with the same primary key. """ - return pulumi.get(self, "schema") + return pulumi.get(self, "timeseries_key") - @schema.setter - def schema(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs']]): - pulumi.set(self, "schema", value) + @timeseries_key.setter + def timeseries_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timeseries_key", value) - @property - @pulumi.getter - def table(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableArgs']]: - return pulumi.get(self, "table") - @table.setter - def table(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableArgs']]): - pulumi.set(self, "table", value) +if not MYPY: + class OnlineTableSpecRunContinuouslyArgsDict(TypedDict): + pass +elif False: + OnlineTableSpecRunContinuouslyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class OnlineTableSpecRunContinuouslyArgs: + def __init__(__self__): + pass if not MYPY: - class PipelineIngestionDefinitionObjectReportArgsDict(TypedDict): - destination_catalog: NotRequired[pulumi.Input[str]] - destination_schema: NotRequired[pulumi.Input[str]] - destination_table: NotRequired[pulumi.Input[str]] - source_url: NotRequired[pulumi.Input[str]] - table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgsDict']] + class OnlineTableSpecRunTriggeredArgsDict(TypedDict): + pass elif False: - PipelineIngestionDefinitionObjectReportArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableSpecRunTriggeredArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionObjectReportArgs: +class OnlineTableSpecRunTriggeredArgs: + def __init__(__self__): + pass + + +if not MYPY: + class OnlineTableStatusArgsDict(TypedDict): + continuous_update_status: NotRequired[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgsDict']] + detailed_state: NotRequired[pulumi.Input[str]] + """ + The state of the online table. + """ + failed_status: NotRequired[pulumi.Input['OnlineTableStatusFailedStatusArgsDict']] + message: NotRequired[pulumi.Input[str]] + """ + A text description of the current state of the online table. + """ + provisioning_status: NotRequired[pulumi.Input['OnlineTableStatusProvisioningStatusArgsDict']] + triggered_update_status: NotRequired[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgsDict']] +elif False: + OnlineTableStatusArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class OnlineTableStatusArgs: def __init__(__self__, *, - destination_catalog: Optional[pulumi.Input[str]] = None, - destination_schema: Optional[pulumi.Input[str]] = None, - destination_table: Optional[pulumi.Input[str]] = None, - source_url: Optional[pulumi.Input[str]] = None, - table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgs']] = None): - if destination_catalog is not None: - pulumi.set(__self__, "destination_catalog", destination_catalog) - if destination_schema is not None: - pulumi.set(__self__, "destination_schema", destination_schema) - if destination_table is not None: - pulumi.set(__self__, "destination_table", destination_table) - if source_url is not None: - pulumi.set(__self__, "source_url", source_url) - if table_configuration is not None: - pulumi.set(__self__, "table_configuration", table_configuration) + continuous_update_status: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgs']] = None, + detailed_state: Optional[pulumi.Input[str]] = None, + failed_status: Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']] = None, + message: Optional[pulumi.Input[str]] = None, + provisioning_status: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']] = None, + triggered_update_status: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgs']] = None): + """ + :param pulumi.Input[str] detailed_state: The state of the online table. + :param pulumi.Input[str] message: A text description of the current state of the online table. + """ + if continuous_update_status is not None: + pulumi.set(__self__, "continuous_update_status", continuous_update_status) + if detailed_state is not None: + pulumi.set(__self__, "detailed_state", detailed_state) + if failed_status is not None: + pulumi.set(__self__, "failed_status", failed_status) + if message is not None: + pulumi.set(__self__, "message", message) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + if triggered_update_status is not None: + pulumi.set(__self__, "triggered_update_status", triggered_update_status) @property - @pulumi.getter(name="destinationCatalog") - def destination_catalog(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_catalog") + @pulumi.getter(name="continuousUpdateStatus") + def continuous_update_status(self) -> Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgs']]: + return pulumi.get(self, "continuous_update_status") - @destination_catalog.setter - def destination_catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_catalog", value) + @continuous_update_status.setter + def continuous_update_status(self, value: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusArgs']]): + pulumi.set(self, "continuous_update_status", value) @property - @pulumi.getter(name="destinationSchema") - def destination_schema(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_schema") + @pulumi.getter(name="detailedState") + def detailed_state(self) -> Optional[pulumi.Input[str]]: + """ + The state of the online table. + """ + return pulumi.get(self, "detailed_state") - @destination_schema.setter - def destination_schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_schema", value) + @detailed_state.setter + def detailed_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "detailed_state", value) @property - @pulumi.getter(name="destinationTable") - def destination_table(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_table") + @pulumi.getter(name="failedStatus") + def failed_status(self) -> Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']]: + return pulumi.get(self, "failed_status") - @destination_table.setter - def destination_table(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_table", value) + @failed_status.setter + def failed_status(self, value: Optional[pulumi.Input['OnlineTableStatusFailedStatusArgs']]): + pulumi.set(self, "failed_status", value) @property - @pulumi.getter(name="sourceUrl") - def source_url(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_url") + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + A text description of the current state of the online table. + """ + return pulumi.get(self, "message") - @source_url.setter - def source_url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_url", value) + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) @property - @pulumi.getter(name="tableConfiguration") - def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgs']]: - return pulumi.get(self, "table_configuration") + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']]: + return pulumi.get(self, "provisioning_status") - @table_configuration.setter - def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgs']]): - pulumi.set(self, "table_configuration", value) + @provisioning_status.setter + def provisioning_status(self, value: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusArgs']]): + pulumi.set(self, "provisioning_status", value) + + @property + @pulumi.getter(name="triggeredUpdateStatus") + def triggered_update_status(self) -> Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgs']]: + return pulumi.get(self, "triggered_update_status") + + @triggered_update_status.setter + def triggered_update_status(self, value: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusArgs']]): + pulumi.set(self, "triggered_update_status", value) if not MYPY: - class PipelineIngestionDefinitionObjectReportTableConfigurationArgsDict(TypedDict): - primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] - scd_type: NotRequired[pulumi.Input[str]] - sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class OnlineTableStatusContinuousUpdateStatusArgsDict(TypedDict): + initial_pipeline_sync_progress: NotRequired[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgsDict']] + last_processed_commit_version: NotRequired[pulumi.Input[int]] + timestamp: NotRequired[pulumi.Input[str]] elif False: - PipelineIngestionDefinitionObjectReportTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableStatusContinuousUpdateStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionObjectReportTableConfigurationArgs: +class OnlineTableStatusContinuousUpdateStatusArgs: def __init__(__self__, *, - primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, - scd_type: Optional[pulumi.Input[str]] = None, - sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if primary_keys is not None: - pulumi.set(__self__, "primary_keys", primary_keys) - if salesforce_include_formula_fields is not None: - pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) - if scd_type is not None: - pulumi.set(__self__, "scd_type", scd_type) - if sequence_bies is not None: - pulumi.set(__self__, "sequence_bies", sequence_bies) - - @property - @pulumi.getter(name="primaryKeys") - def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "primary_keys") - - @primary_keys.setter - def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "primary_keys", value) + initial_pipeline_sync_progress: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']] = None, + last_processed_commit_version: Optional[pulumi.Input[int]] = None, + timestamp: Optional[pulumi.Input[str]] = None): + if initial_pipeline_sync_progress is not None: + pulumi.set(__self__, "initial_pipeline_sync_progress", initial_pipeline_sync_progress) + if last_processed_commit_version is not None: + pulumi.set(__self__, "last_processed_commit_version", last_processed_commit_version) + if timestamp is not None: + pulumi.set(__self__, "timestamp", timestamp) @property - @pulumi.getter(name="salesforceIncludeFormulaFields") - def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "salesforce_include_formula_fields") + @pulumi.getter(name="initialPipelineSyncProgress") + def initial_pipeline_sync_progress(self) -> Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']]: + return pulumi.get(self, "initial_pipeline_sync_progress") - @salesforce_include_formula_fields.setter - def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "salesforce_include_formula_fields", value) + @initial_pipeline_sync_progress.setter + def initial_pipeline_sync_progress(self, value: Optional[pulumi.Input['OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs']]): + pulumi.set(self, "initial_pipeline_sync_progress", value) @property - @pulumi.getter(name="scdType") - def scd_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "scd_type") + @pulumi.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "last_processed_commit_version") - @scd_type.setter - def scd_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "scd_type", value) + @last_processed_commit_version.setter + def last_processed_commit_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "last_processed_commit_version", value) @property - @pulumi.getter(name="sequenceBies") - def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "sequence_bies") + @pulumi.getter + def timestamp(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "timestamp") - @sequence_bies.setter - def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "sequence_bies", value) + @timestamp.setter + def timestamp(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timestamp", value) if not MYPY: - class PipelineIngestionDefinitionObjectSchemaArgsDict(TypedDict): - destination_catalog: NotRequired[pulumi.Input[str]] - destination_schema: NotRequired[pulumi.Input[str]] - source_catalog: NotRequired[pulumi.Input[str]] - source_schema: NotRequired[pulumi.Input[str]] - table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgsDict']] -elif False: - PipelineIngestionDefinitionObjectSchemaArgsDict: TypeAlias = Mapping[str, Any] + class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgsDict(TypedDict): + estimated_completion_time_seconds: NotRequired[pulumi.Input[float]] + latest_version_currently_processing: NotRequired[pulumi.Input[int]] + sync_progress_completion: NotRequired[pulumi.Input[float]] + synced_row_count: NotRequired[pulumi.Input[int]] + total_row_count: NotRequired[pulumi.Input[int]] +elif False: + OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionObjectSchemaArgs: +class OnlineTableStatusContinuousUpdateStatusInitialPipelineSyncProgressArgs: def __init__(__self__, *, - destination_catalog: Optional[pulumi.Input[str]] = None, - destination_schema: Optional[pulumi.Input[str]] = None, - source_catalog: Optional[pulumi.Input[str]] = None, - source_schema: Optional[pulumi.Input[str]] = None, - table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs']] = None): - if destination_catalog is not None: - pulumi.set(__self__, "destination_catalog", destination_catalog) - if destination_schema is not None: - pulumi.set(__self__, "destination_schema", destination_schema) - if source_catalog is not None: - pulumi.set(__self__, "source_catalog", source_catalog) - if source_schema is not None: - pulumi.set(__self__, "source_schema", source_schema) - if table_configuration is not None: - pulumi.set(__self__, "table_configuration", table_configuration) + estimated_completion_time_seconds: Optional[pulumi.Input[float]] = None, + latest_version_currently_processing: Optional[pulumi.Input[int]] = None, + sync_progress_completion: Optional[pulumi.Input[float]] = None, + synced_row_count: Optional[pulumi.Input[int]] = None, + total_row_count: Optional[pulumi.Input[int]] = None): + if estimated_completion_time_seconds is not None: + pulumi.set(__self__, "estimated_completion_time_seconds", estimated_completion_time_seconds) + if latest_version_currently_processing is not None: + pulumi.set(__self__, "latest_version_currently_processing", latest_version_currently_processing) + if sync_progress_completion is not None: + pulumi.set(__self__, "sync_progress_completion", sync_progress_completion) + if synced_row_count is not None: + pulumi.set(__self__, "synced_row_count", synced_row_count) + if total_row_count is not None: + pulumi.set(__self__, "total_row_count", total_row_count) @property - @pulumi.getter(name="destinationCatalog") - def destination_catalog(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_catalog") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "estimated_completion_time_seconds") - @destination_catalog.setter - def destination_catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_catalog", value) + @estimated_completion_time_seconds.setter + def estimated_completion_time_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "estimated_completion_time_seconds", value) @property - @pulumi.getter(name="destinationSchema") - def destination_schema(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_schema") + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_version_currently_processing") - @destination_schema.setter - def destination_schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_schema", value) + @latest_version_currently_processing.setter + def latest_version_currently_processing(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_version_currently_processing", value) @property - @pulumi.getter(name="sourceCatalog") - def source_catalog(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_catalog") + @pulumi.getter(name="syncProgressCompletion") + def sync_progress_completion(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "sync_progress_completion") - @source_catalog.setter - def source_catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_catalog", value) + @sync_progress_completion.setter + def sync_progress_completion(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "sync_progress_completion", value) @property - @pulumi.getter(name="sourceSchema") - def source_schema(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_schema") + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "synced_row_count") - @source_schema.setter - def source_schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_schema", value) + @synced_row_count.setter + def synced_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "synced_row_count", value) @property - @pulumi.getter(name="tableConfiguration") - def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs']]: - return pulumi.get(self, "table_configuration") + @pulumi.getter(name="totalRowCount") + def total_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "total_row_count") - @table_configuration.setter - def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs']]): - pulumi.set(self, "table_configuration", value) + @total_row_count.setter + def total_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_row_count", value) if not MYPY: - class PipelineIngestionDefinitionObjectSchemaTableConfigurationArgsDict(TypedDict): - primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] - scd_type: NotRequired[pulumi.Input[str]] - sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class OnlineTableStatusFailedStatusArgsDict(TypedDict): + last_processed_commit_version: NotRequired[pulumi.Input[int]] + timestamp: NotRequired[pulumi.Input[str]] elif False: - PipelineIngestionDefinitionObjectSchemaTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableStatusFailedStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs: +class OnlineTableStatusFailedStatusArgs: def __init__(__self__, *, - primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, - scd_type: Optional[pulumi.Input[str]] = None, - sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if primary_keys is not None: - pulumi.set(__self__, "primary_keys", primary_keys) - if salesforce_include_formula_fields is not None: - pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) - if scd_type is not None: - pulumi.set(__self__, "scd_type", scd_type) - if sequence_bies is not None: - pulumi.set(__self__, "sequence_bies", sequence_bies) - - @property - @pulumi.getter(name="primaryKeys") - def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "primary_keys") - - @primary_keys.setter - def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "primary_keys", value) - - @property - @pulumi.getter(name="salesforceIncludeFormulaFields") - def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "salesforce_include_formula_fields") - - @salesforce_include_formula_fields.setter - def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "salesforce_include_formula_fields", value) + last_processed_commit_version: Optional[pulumi.Input[int]] = None, + timestamp: Optional[pulumi.Input[str]] = None): + if last_processed_commit_version is not None: + pulumi.set(__self__, "last_processed_commit_version", last_processed_commit_version) + if timestamp is not None: + pulumi.set(__self__, "timestamp", timestamp) @property - @pulumi.getter(name="scdType") - def scd_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "scd_type") + @pulumi.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "last_processed_commit_version") - @scd_type.setter - def scd_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "scd_type", value) + @last_processed_commit_version.setter + def last_processed_commit_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "last_processed_commit_version", value) @property - @pulumi.getter(name="sequenceBies") - def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "sequence_bies") + @pulumi.getter + def timestamp(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "timestamp") - @sequence_bies.setter - def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "sequence_bies", value) + @timestamp.setter + def timestamp(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timestamp", value) if not MYPY: - class PipelineIngestionDefinitionObjectTableArgsDict(TypedDict): - destination_catalog: NotRequired[pulumi.Input[str]] - destination_schema: NotRequired[pulumi.Input[str]] - destination_table: NotRequired[pulumi.Input[str]] - source_catalog: NotRequired[pulumi.Input[str]] - source_schema: NotRequired[pulumi.Input[str]] - source_table: NotRequired[pulumi.Input[str]] - table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgsDict']] + class OnlineTableStatusProvisioningStatusArgsDict(TypedDict): + initial_pipeline_sync_progress: NotRequired[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgsDict']] elif False: - PipelineIngestionDefinitionObjectTableArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableStatusProvisioningStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionObjectTableArgs: +class OnlineTableStatusProvisioningStatusArgs: def __init__(__self__, *, - destination_catalog: Optional[pulumi.Input[str]] = None, - destination_schema: Optional[pulumi.Input[str]] = None, - destination_table: Optional[pulumi.Input[str]] = None, - source_catalog: Optional[pulumi.Input[str]] = None, - source_schema: Optional[pulumi.Input[str]] = None, - source_table: Optional[pulumi.Input[str]] = None, - table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgs']] = None): - if destination_catalog is not None: - pulumi.set(__self__, "destination_catalog", destination_catalog) - if destination_schema is not None: - pulumi.set(__self__, "destination_schema", destination_schema) - if destination_table is not None: - pulumi.set(__self__, "destination_table", destination_table) - if source_catalog is not None: - pulumi.set(__self__, "source_catalog", source_catalog) - if source_schema is not None: - pulumi.set(__self__, "source_schema", source_schema) - if source_table is not None: - pulumi.set(__self__, "source_table", source_table) - if table_configuration is not None: - pulumi.set(__self__, "table_configuration", table_configuration) + initial_pipeline_sync_progress: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']] = None): + if initial_pipeline_sync_progress is not None: + pulumi.set(__self__, "initial_pipeline_sync_progress", initial_pipeline_sync_progress) @property - @pulumi.getter(name="destinationCatalog") - def destination_catalog(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_catalog") + @pulumi.getter(name="initialPipelineSyncProgress") + def initial_pipeline_sync_progress(self) -> Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']]: + return pulumi.get(self, "initial_pipeline_sync_progress") - @destination_catalog.setter - def destination_catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_catalog", value) + @initial_pipeline_sync_progress.setter + def initial_pipeline_sync_progress(self, value: Optional[pulumi.Input['OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs']]): + pulumi.set(self, "initial_pipeline_sync_progress", value) - @property - @pulumi.getter(name="destinationSchema") - def destination_schema(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_schema") - @destination_schema.setter - def destination_schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_schema", value) +if not MYPY: + class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgsDict(TypedDict): + estimated_completion_time_seconds: NotRequired[pulumi.Input[float]] + latest_version_currently_processing: NotRequired[pulumi.Input[int]] + sync_progress_completion: NotRequired[pulumi.Input[float]] + synced_row_count: NotRequired[pulumi.Input[int]] + total_row_count: NotRequired[pulumi.Input[int]] +elif False: + OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class OnlineTableStatusProvisioningStatusInitialPipelineSyncProgressArgs: + def __init__(__self__, *, + estimated_completion_time_seconds: Optional[pulumi.Input[float]] = None, + latest_version_currently_processing: Optional[pulumi.Input[int]] = None, + sync_progress_completion: Optional[pulumi.Input[float]] = None, + synced_row_count: Optional[pulumi.Input[int]] = None, + total_row_count: Optional[pulumi.Input[int]] = None): + if estimated_completion_time_seconds is not None: + pulumi.set(__self__, "estimated_completion_time_seconds", estimated_completion_time_seconds) + if latest_version_currently_processing is not None: + pulumi.set(__self__, "latest_version_currently_processing", latest_version_currently_processing) + if sync_progress_completion is not None: + pulumi.set(__self__, "sync_progress_completion", sync_progress_completion) + if synced_row_count is not None: + pulumi.set(__self__, "synced_row_count", synced_row_count) + if total_row_count is not None: + pulumi.set(__self__, "total_row_count", total_row_count) @property - @pulumi.getter(name="destinationTable") - def destination_table(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "destination_table") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "estimated_completion_time_seconds") - @destination_table.setter - def destination_table(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_table", value) + @estimated_completion_time_seconds.setter + def estimated_completion_time_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "estimated_completion_time_seconds", value) @property - @pulumi.getter(name="sourceCatalog") - def source_catalog(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_catalog") + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_version_currently_processing") - @source_catalog.setter - def source_catalog(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_catalog", value) + @latest_version_currently_processing.setter + def latest_version_currently_processing(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_version_currently_processing", value) @property - @pulumi.getter(name="sourceSchema") - def source_schema(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_schema") + @pulumi.getter(name="syncProgressCompletion") + def sync_progress_completion(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "sync_progress_completion") - @source_schema.setter - def source_schema(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_schema", value) + @sync_progress_completion.setter + def sync_progress_completion(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "sync_progress_completion", value) @property - @pulumi.getter(name="sourceTable") - def source_table(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_table") + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "synced_row_count") - @source_table.setter - def source_table(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_table", value) + @synced_row_count.setter + def synced_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "synced_row_count", value) @property - @pulumi.getter(name="tableConfiguration") - def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgs']]: - return pulumi.get(self, "table_configuration") + @pulumi.getter(name="totalRowCount") + def total_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "total_row_count") - @table_configuration.setter - def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgs']]): - pulumi.set(self, "table_configuration", value) + @total_row_count.setter + def total_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_row_count", value) if not MYPY: - class PipelineIngestionDefinitionObjectTableTableConfigurationArgsDict(TypedDict): - primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] - scd_type: NotRequired[pulumi.Input[str]] - sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class OnlineTableStatusTriggeredUpdateStatusArgsDict(TypedDict): + last_processed_commit_version: NotRequired[pulumi.Input[int]] + timestamp: NotRequired[pulumi.Input[str]] + triggered_update_progress: NotRequired[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict']] elif False: - PipelineIngestionDefinitionObjectTableTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableStatusTriggeredUpdateStatusArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionObjectTableTableConfigurationArgs: +class OnlineTableStatusTriggeredUpdateStatusArgs: def __init__(__self__, *, - primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, - scd_type: Optional[pulumi.Input[str]] = None, - sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if primary_keys is not None: - pulumi.set(__self__, "primary_keys", primary_keys) - if salesforce_include_formula_fields is not None: - pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) - if scd_type is not None: - pulumi.set(__self__, "scd_type", scd_type) - if sequence_bies is not None: - pulumi.set(__self__, "sequence_bies", sequence_bies) - - @property - @pulumi.getter(name="primaryKeys") - def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "primary_keys") - - @primary_keys.setter - def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "primary_keys", value) + last_processed_commit_version: Optional[pulumi.Input[int]] = None, + timestamp: Optional[pulumi.Input[str]] = None, + triggered_update_progress: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']] = None): + if last_processed_commit_version is not None: + pulumi.set(__self__, "last_processed_commit_version", last_processed_commit_version) + if timestamp is not None: + pulumi.set(__self__, "timestamp", timestamp) + if triggered_update_progress is not None: + pulumi.set(__self__, "triggered_update_progress", triggered_update_progress) @property - @pulumi.getter(name="salesforceIncludeFormulaFields") - def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "salesforce_include_formula_fields") + @pulumi.getter(name="lastProcessedCommitVersion") + def last_processed_commit_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "last_processed_commit_version") - @salesforce_include_formula_fields.setter - def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "salesforce_include_formula_fields", value) + @last_processed_commit_version.setter + def last_processed_commit_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "last_processed_commit_version", value) @property - @pulumi.getter(name="scdType") - def scd_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "scd_type") + @pulumi.getter + def timestamp(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "timestamp") - @scd_type.setter - def scd_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "scd_type", value) + @timestamp.setter + def timestamp(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timestamp", value) @property - @pulumi.getter(name="sequenceBies") - def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "sequence_bies") + @pulumi.getter(name="triggeredUpdateProgress") + def triggered_update_progress(self) -> Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']]: + return pulumi.get(self, "triggered_update_progress") - @sequence_bies.setter - def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "sequence_bies", value) + @triggered_update_progress.setter + def triggered_update_progress(self, value: Optional[pulumi.Input['OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs']]): + pulumi.set(self, "triggered_update_progress", value) if not MYPY: - class PipelineIngestionDefinitionTableConfigurationArgsDict(TypedDict): - primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] - scd_type: NotRequired[pulumi.Input[str]] - sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict(TypedDict): + estimated_completion_time_seconds: NotRequired[pulumi.Input[float]] + latest_version_currently_processing: NotRequired[pulumi.Input[int]] + sync_progress_completion: NotRequired[pulumi.Input[float]] + synced_row_count: NotRequired[pulumi.Input[int]] + total_row_count: NotRequired[pulumi.Input[int]] elif False: - PipelineIngestionDefinitionTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineIngestionDefinitionTableConfigurationArgs: +class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs: def __init__(__self__, *, - primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, - scd_type: Optional[pulumi.Input[str]] = None, - sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if primary_keys is not None: - pulumi.set(__self__, "primary_keys", primary_keys) - if salesforce_include_formula_fields is not None: - pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) - if scd_type is not None: - pulumi.set(__self__, "scd_type", scd_type) - if sequence_bies is not None: - pulumi.set(__self__, "sequence_bies", sequence_bies) + estimated_completion_time_seconds: Optional[pulumi.Input[float]] = None, + latest_version_currently_processing: Optional[pulumi.Input[int]] = None, + sync_progress_completion: Optional[pulumi.Input[float]] = None, + synced_row_count: Optional[pulumi.Input[int]] = None, + total_row_count: Optional[pulumi.Input[int]] = None): + if estimated_completion_time_seconds is not None: + pulumi.set(__self__, "estimated_completion_time_seconds", estimated_completion_time_seconds) + if latest_version_currently_processing is not None: + pulumi.set(__self__, "latest_version_currently_processing", latest_version_currently_processing) + if sync_progress_completion is not None: + pulumi.set(__self__, "sync_progress_completion", sync_progress_completion) + if synced_row_count is not None: + pulumi.set(__self__, "synced_row_count", synced_row_count) + if total_row_count is not None: + pulumi.set(__self__, "total_row_count", total_row_count) @property - @pulumi.getter(name="primaryKeys") - def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "primary_keys") + @pulumi.getter(name="estimatedCompletionTimeSeconds") + def estimated_completion_time_seconds(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "estimated_completion_time_seconds") - @primary_keys.setter - def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "primary_keys", value) + @estimated_completion_time_seconds.setter + def estimated_completion_time_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "estimated_completion_time_seconds", value) @property - @pulumi.getter(name="salesforceIncludeFormulaFields") - def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "salesforce_include_formula_fields") + @pulumi.getter(name="latestVersionCurrentlyProcessing") + def latest_version_currently_processing(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_version_currently_processing") - @salesforce_include_formula_fields.setter - def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "salesforce_include_formula_fields", value) + @latest_version_currently_processing.setter + def latest_version_currently_processing(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_version_currently_processing", value) @property - @pulumi.getter(name="scdType") - def scd_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "scd_type") + @pulumi.getter(name="syncProgressCompletion") + def sync_progress_completion(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "sync_progress_completion") - @scd_type.setter - def scd_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "scd_type", value) + @sync_progress_completion.setter + def sync_progress_completion(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "sync_progress_completion", value) @property - @pulumi.getter(name="sequenceBies") - def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "sequence_bies") + @pulumi.getter(name="syncedRowCount") + def synced_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "synced_row_count") - @sequence_bies.setter - def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "sequence_bies", value) + @synced_row_count.setter + def synced_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "synced_row_count", value) + @property + @pulumi.getter(name="totalRowCount") + def total_row_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "total_row_count") -if not MYPY: - class PipelineLatestUpdateArgsDict(TypedDict): - creation_time: NotRequired[pulumi.Input[str]] - state: NotRequired[pulumi.Input[str]] - update_id: NotRequired[pulumi.Input[str]] -elif False: - PipelineLatestUpdateArgsDict: TypeAlias = Mapping[str, Any] + @total_row_count.setter + def total_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "total_row_count", value) -@pulumi.input_type -class PipelineLatestUpdateArgs: - def __init__(__self__, *, - creation_time: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - update_id: Optional[pulumi.Input[str]] = None): - if creation_time is not None: - pulumi.set(__self__, "creation_time", creation_time) - if state is not None: - pulumi.set(__self__, "state", state) - if update_id is not None: - pulumi.set(__self__, "update_id", update_id) + +if not MYPY: + class PermissionsAccessControlArgsDict(TypedDict): + group_name: NotRequired[pulumi.Input[str]] + """ + name of the group. We recommend setting permissions on groups. + """ + permission_level: NotRequired[pulumi.Input[str]] + """ + permission level according to specific resource. See examples above for the reference. + + Exactly one of the below arguments is required: + """ + service_principal_name: NotRequired[pulumi.Input[str]] + """ + Application ID of the service_principal. + """ + user_name: NotRequired[pulumi.Input[str]] + """ + name of the user. + """ +elif False: + PermissionsAccessControlArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PermissionsAccessControlArgs: + def __init__(__self__, *, + group_name: Optional[pulumi.Input[str]] = None, + permission_level: Optional[pulumi.Input[str]] = None, + service_principal_name: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] group_name: name of the group. We recommend setting permissions on groups. + :param pulumi.Input[str] permission_level: permission level according to specific resource. See examples above for the reference. + + Exactly one of the below arguments is required: + :param pulumi.Input[str] service_principal_name: Application ID of the service_principal. + :param pulumi.Input[str] user_name: name of the user. + """ + if group_name is not None: + pulumi.set(__self__, "group_name", group_name) + if permission_level is not None: + pulumi.set(__self__, "permission_level", permission_level) + if service_principal_name is not None: + pulumi.set(__self__, "service_principal_name", service_principal_name) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter(name="creationTime") - def creation_time(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "creation_time") + @pulumi.getter(name="groupName") + def group_name(self) -> Optional[pulumi.Input[str]]: + """ + name of the group. We recommend setting permissions on groups. + """ + return pulumi.get(self, "group_name") - @creation_time.setter - def creation_time(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_time", value) + @group_name.setter + def group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_name", value) @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "state") + @pulumi.getter(name="permissionLevel") + def permission_level(self) -> Optional[pulumi.Input[str]]: + """ + permission level according to specific resource. See examples above for the reference. - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) + Exactly one of the below arguments is required: + """ + return pulumi.get(self, "permission_level") + + @permission_level.setter + def permission_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "permission_level", value) @property - @pulumi.getter(name="updateId") - def update_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "update_id") + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> Optional[pulumi.Input[str]]: + """ + Application ID of the service_principal. + """ + return pulumi.get(self, "service_principal_name") - @update_id.setter - def update_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "update_id", value) + @service_principal_name.setter + def service_principal_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_principal_name", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + name of the user. + """ + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) if not MYPY: - class PipelineLibraryArgsDict(TypedDict): - file: NotRequired[pulumi.Input['PipelineLibraryFileArgsDict']] - jar: NotRequired[pulumi.Input[str]] - maven: NotRequired[pulumi.Input['PipelineLibraryMavenArgsDict']] - notebook: NotRequired[pulumi.Input['PipelineLibraryNotebookArgsDict']] - whl: NotRequired[pulumi.Input[str]] + class PipelineClusterArgsDict(TypedDict): + apply_policy_default_values: NotRequired[pulumi.Input[bool]] + autoscale: NotRequired[pulumi.Input['PipelineClusterAutoscaleArgsDict']] + aws_attributes: NotRequired[pulumi.Input['PipelineClusterAwsAttributesArgsDict']] + azure_attributes: NotRequired[pulumi.Input['PipelineClusterAzureAttributesArgsDict']] + cluster_log_conf: NotRequired[pulumi.Input['PipelineClusterClusterLogConfArgsDict']] + custom_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + driver_instance_pool_id: NotRequired[pulumi.Input[str]] + driver_node_type_id: NotRequired[pulumi.Input[str]] + enable_local_disk_encryption: NotRequired[pulumi.Input[bool]] + gcp_attributes: NotRequired[pulumi.Input['PipelineClusterGcpAttributesArgsDict']] + init_scripts: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgsDict']]]] + instance_pool_id: NotRequired[pulumi.Input[str]] + label: NotRequired[pulumi.Input[str]] + node_type_id: NotRequired[pulumi.Input[str]] + num_workers: NotRequired[pulumi.Input[int]] + policy_id: NotRequired[pulumi.Input[str]] + spark_conf: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + spark_env_vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + ssh_public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - PipelineLibraryArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineLibraryArgs: +class PipelineClusterArgs: def __init__(__self__, *, - file: Optional[pulumi.Input['PipelineLibraryFileArgs']] = None, - jar: Optional[pulumi.Input[str]] = None, - maven: Optional[pulumi.Input['PipelineLibraryMavenArgs']] = None, - notebook: Optional[pulumi.Input['PipelineLibraryNotebookArgs']] = None, - whl: Optional[pulumi.Input[str]] = None): - if file is not None: - pulumi.set(__self__, "file", file) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if notebook is not None: - pulumi.set(__self__, "notebook", notebook) - if whl is not None: - warnings.warn("""The 'whl' field is deprecated""", DeprecationWarning) - pulumi.log.warn("""whl is deprecated: The 'whl' field is deprecated""") - if whl is not None: - pulumi.set(__self__, "whl", whl) + apply_policy_default_values: Optional[pulumi.Input[bool]] = None, + autoscale: Optional[pulumi.Input['PipelineClusterAutoscaleArgs']] = None, + aws_attributes: Optional[pulumi.Input['PipelineClusterAwsAttributesArgs']] = None, + azure_attributes: Optional[pulumi.Input['PipelineClusterAzureAttributesArgs']] = None, + cluster_log_conf: Optional[pulumi.Input['PipelineClusterClusterLogConfArgs']] = None, + custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + driver_instance_pool_id: Optional[pulumi.Input[str]] = None, + driver_node_type_id: Optional[pulumi.Input[str]] = None, + enable_local_disk_encryption: Optional[pulumi.Input[bool]] = None, + gcp_attributes: Optional[pulumi.Input['PipelineClusterGcpAttributesArgs']] = None, + init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgs']]]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + node_type_id: Optional[pulumi.Input[str]] = None, + num_workers: Optional[pulumi.Input[int]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if label is not None: + pulumi.set(__self__, "label", label) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) @property - @pulumi.getter - def file(self) -> Optional[pulumi.Input['PipelineLibraryFileArgs']]: - return pulumi.get(self, "file") + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "apply_policy_default_values") - @file.setter - def file(self, value: Optional[pulumi.Input['PipelineLibraryFileArgs']]): - pulumi.set(self, "file", value) + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "apply_policy_default_values", value) @property @pulumi.getter - def jar(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "jar") + def autoscale(self) -> Optional[pulumi.Input['PipelineClusterAutoscaleArgs']]: + return pulumi.get(self, "autoscale") - @jar.setter - def jar(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "jar", value) + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input['PipelineClusterAutoscaleArgs']]): + pulumi.set(self, "autoscale", value) @property - @pulumi.getter - def maven(self) -> Optional[pulumi.Input['PipelineLibraryMavenArgs']]: - return pulumi.get(self, "maven") + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional[pulumi.Input['PipelineClusterAwsAttributesArgs']]: + return pulumi.get(self, "aws_attributes") - @maven.setter - def maven(self, value: Optional[pulumi.Input['PipelineLibraryMavenArgs']]): - pulumi.set(self, "maven", value) + @aws_attributes.setter + def aws_attributes(self, value: Optional[pulumi.Input['PipelineClusterAwsAttributesArgs']]): + pulumi.set(self, "aws_attributes", value) @property - @pulumi.getter - def notebook(self) -> Optional[pulumi.Input['PipelineLibraryNotebookArgs']]: - return pulumi.get(self, "notebook") + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional[pulumi.Input['PipelineClusterAzureAttributesArgs']]: + return pulumi.get(self, "azure_attributes") - @notebook.setter - def notebook(self, value: Optional[pulumi.Input['PipelineLibraryNotebookArgs']]): - pulumi.set(self, "notebook", value) + @azure_attributes.setter + def azure_attributes(self, value: Optional[pulumi.Input['PipelineClusterAzureAttributesArgs']]): + pulumi.set(self, "azure_attributes", value) @property - @pulumi.getter - @_utilities.deprecated("""The 'whl' field is deprecated""") - def whl(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "whl") + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional[pulumi.Input['PipelineClusterClusterLogConfArgs']]: + return pulumi.get(self, "cluster_log_conf") - @whl.setter - def whl(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "whl", value) + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional[pulumi.Input['PipelineClusterClusterLogConfArgs']]): + pulumi.set(self, "cluster_log_conf", value) + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "custom_tags") -if not MYPY: - class PipelineLibraryFileArgsDict(TypedDict): - path: NotRequired[pulumi.Input[str]] -elif False: - PipelineLibraryFileArgsDict: TypeAlias = Mapping[str, Any] + @custom_tags.setter + def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "custom_tags", value) -@pulumi.input_type -class PipelineLibraryFileArgs: - def __init__(__self__, *, - path: Optional[pulumi.Input[str]] = None): - if path is not None: - pulumi.set(__self__, "path", path) + @property + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_instance_pool_id") + + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_instance_pool_id", value) @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "path") + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "driver_node_type_id") - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) + @driver_node_type_id.setter + def driver_node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "driver_node_type_id", value) + @property + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_local_disk_encryption") -if not MYPY: - class PipelineLibraryMavenArgsDict(TypedDict): - coordinates: pulumi.Input[str] - exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - repo: NotRequired[pulumi.Input[str]] -elif False: - PipelineLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_local_disk_encryption", value) -@pulumi.input_type -class PipelineLibraryMavenArgs: - def __init__(__self__, *, - coordinates: pulumi.Input[str], - exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - repo: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional[pulumi.Input['PipelineClusterGcpAttributesArgs']]: + return pulumi.get(self, "gcp_attributes") + + @gcp_attributes.setter + def gcp_attributes(self, value: Optional[pulumi.Input['PipelineClusterGcpAttributesArgs']]): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter - def coordinates(self) -> pulumi.Input[str]: - return pulumi.get(self, "coordinates") + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgs']]]]: + return pulumi.get(self, "init_scripts") - @coordinates.setter - def coordinates(self, value: pulumi.Input[str]): - pulumi.set(self, "coordinates", value) + @init_scripts.setter + def init_scripts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineClusterInitScriptArgs']]]]): + pulumi.set(self, "init_scripts", value) @property - @pulumi.getter - def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_pool_id") - @exclusions.setter - def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "exclusions", value) + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_pool_id", value) @property @pulumi.getter - def repo(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "repo", value) + def label(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "label") + @label.setter + def label(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label", value) -if not MYPY: - class PipelineLibraryNotebookArgsDict(TypedDict): - path: NotRequired[pulumi.Input[str]] -elif False: - PipelineLibraryNotebookArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "node_type_id") -@pulumi.input_type -class PipelineLibraryNotebookArgs: - def __init__(__self__, *, - path: Optional[pulumi.Input[str]] = None): - if path is not None: - pulumi.set(__self__, "path", path) + @node_type_id.setter + def node_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "path") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "num_workers") - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) + @num_workers.setter + def num_workers(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_workers", value) + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "policy_id") -if not MYPY: - class PipelineNotificationArgsDict(TypedDict): - alerts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list - * `on-update-success` - a pipeline update completes successfully. - * `on-update-failure` - a pipeline update fails with a retryable error. - * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. - * `on-flow-failure` - a single data flow fails. - """ - email_recipients: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - non-empty list of emails to notify. - """ -elif False: - PipelineNotificationArgsDict: TypeAlias = Mapping[str, Any] + @policy_id.setter + def policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy_id", value) -@pulumi.input_type -class PipelineNotificationArgs: - def __init__(__self__, *, - alerts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - email_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] alerts: non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list - * `on-update-success` - a pipeline update completes successfully. - * `on-update-failure` - a pipeline update fails with a retryable error. - * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. - * `on-flow-failure` - a single data flow fails. - :param pulumi.Input[Sequence[pulumi.Input[str]]] email_recipients: non-empty list of emails to notify. - """ - if alerts is not None: - pulumi.set(__self__, "alerts", alerts) - if email_recipients is not None: - pulumi.set(__self__, "email_recipients", email_recipients) + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_conf") + + @spark_conf.setter + def spark_conf(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_conf", value) @property - @pulumi.getter - def alerts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list - * `on-update-success` - a pipeline update completes successfully. - * `on-update-failure` - a pipeline update fails with a retryable error. - * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. - * `on-flow-failure` - a single data flow fails. - """ - return pulumi.get(self, "alerts") + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "spark_env_vars") - @alerts.setter - def alerts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "alerts", value) + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter(name="emailRecipients") - def email_recipients(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - non-empty list of emails to notify. - """ - return pulumi.get(self, "email_recipients") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "ssh_public_keys") - @email_recipients.setter - def email_recipients(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "email_recipients", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "ssh_public_keys", value) if not MYPY: - class PipelineRestartWindowArgsDict(TypedDict): - start_hour: pulumi.Input[int] - days_of_week: NotRequired[pulumi.Input[str]] - time_zone_id: NotRequired[pulumi.Input[str]] + class PipelineClusterAutoscaleArgsDict(TypedDict): + max_workers: pulumi.Input[int] + min_workers: pulumi.Input[int] + mode: NotRequired[pulumi.Input[str]] elif False: - PipelineRestartWindowArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineRestartWindowArgs: +class PipelineClusterAutoscaleArgs: def __init__(__self__, *, - start_hour: pulumi.Input[int], - days_of_week: Optional[pulumi.Input[str]] = None, - time_zone_id: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "start_hour", start_hour) - if days_of_week is not None: - pulumi.set(__self__, "days_of_week", days_of_week) - if time_zone_id is not None: - pulumi.set(__self__, "time_zone_id", time_zone_id) + max_workers: pulumi.Input[int], + min_workers: pulumi.Input[int], + mode: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "max_workers", max_workers) + pulumi.set(__self__, "min_workers", min_workers) + if mode is not None: + pulumi.set(__self__, "mode", mode) @property - @pulumi.getter(name="startHour") - def start_hour(self) -> pulumi.Input[int]: - return pulumi.get(self, "start_hour") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> pulumi.Input[int]: + return pulumi.get(self, "max_workers") - @start_hour.setter - def start_hour(self, value: pulumi.Input[int]): - pulumi.set(self, "start_hour", value) + @max_workers.setter + def max_workers(self, value: pulumi.Input[int]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter(name="daysOfWeek") - def days_of_week(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "days_of_week") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> pulumi.Input[int]: + return pulumi.get(self, "min_workers") - @days_of_week.setter - def days_of_week(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "days_of_week", value) + @min_workers.setter + def min_workers(self, value: pulumi.Input[int]): + pulumi.set(self, "min_workers", value) @property - @pulumi.getter(name="timeZoneId") - def time_zone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "time_zone_id") + @pulumi.getter + def mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mode") - @time_zone_id.setter - def time_zone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_zone_id", value) + @mode.setter + def mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mode", value) if not MYPY: - class PipelineTriggerArgsDict(TypedDict): - cron: NotRequired[pulumi.Input['PipelineTriggerCronArgsDict']] - manual: NotRequired[pulumi.Input['PipelineTriggerManualArgsDict']] + class PipelineClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + ebs_volume_count: NotRequired[pulumi.Input[int]] + ebs_volume_iops: NotRequired[pulumi.Input[int]] + ebs_volume_size: NotRequired[pulumi.Input[int]] + ebs_volume_throughput: NotRequired[pulumi.Input[int]] + ebs_volume_type: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + instance_profile_arn: NotRequired[pulumi.Input[str]] + spot_bid_price_percent: NotRequired[pulumi.Input[int]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - PipelineTriggerArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class PipelineTriggerArgs: +class PipelineClusterAwsAttributesArgs: def __init__(__self__, *, - cron: Optional[pulumi.Input['PipelineTriggerCronArgs']] = None, - manual: Optional[pulumi.Input['PipelineTriggerManualArgs']] = None): - if cron is not None: - pulumi.set(__self__, "cron", cron) - if manual is not None: - pulumi.set(__self__, "manual", manual) + availability: Optional[pulumi.Input[str]] = None, + ebs_volume_count: Optional[pulumi.Input[int]] = None, + ebs_volume_iops: Optional[pulumi.Input[int]] = None, + ebs_volume_size: Optional[pulumi.Input[int]] = None, + ebs_volume_throughput: Optional[pulumi.Input[int]] = None, + ebs_volume_type: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + instance_profile_arn: Optional[pulumi.Input[str]] = None, + spot_bid_price_percent: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def cron(self) -> Optional[pulumi.Input['PipelineTriggerCronArgs']]: - return pulumi.get(self, "cron") + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @cron.setter - def cron(self, value: Optional[pulumi.Input['PipelineTriggerCronArgs']]): - pulumi.set(self, "cron", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def manual(self) -> Optional[pulumi.Input['PipelineTriggerManualArgs']]: - return pulumi.get(self, "manual") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_count") - @manual.setter - def manual(self, value: Optional[pulumi.Input['PipelineTriggerManualArgs']]): - pulumi.set(self, "manual", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_count", value) + @property + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_iops") -if not MYPY: - class PipelineTriggerCronArgsDict(TypedDict): - quartz_cron_schedule: NotRequired[pulumi.Input[str]] - timezone_id: NotRequired[pulumi.Input[str]] -elif False: - PipelineTriggerCronArgsDict: TypeAlias = Mapping[str, Any] + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_iops", value) -@pulumi.input_type -class PipelineTriggerCronArgs: - def __init__(__self__, *, - quartz_cron_schedule: Optional[pulumi.Input[str]] = None, - timezone_id: Optional[pulumi.Input[str]] = None): - if quartz_cron_schedule is not None: - pulumi.set(__self__, "quartz_cron_schedule", quartz_cron_schedule) - if timezone_id is not None: - pulumi.set(__self__, "timezone_id", timezone_id) + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_size") + + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_size", value) @property - @pulumi.getter(name="quartzCronSchedule") - def quartz_cron_schedule(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "quartz_cron_schedule") + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "ebs_volume_throughput") - @quartz_cron_schedule.setter - def quartz_cron_schedule(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "quartz_cron_schedule", value) + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ebs_volume_throughput", value) @property - @pulumi.getter(name="timezoneId") - def timezone_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "timezone_id") + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ebs_volume_type") - @timezone_id.setter - def timezone_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "timezone_id", value) + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ebs_volume_type", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) -if not MYPY: - class PipelineTriggerManualArgsDict(TypedDict): - pass -elif False: - PipelineTriggerManualArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "instance_profile_arn") -@pulumi.input_type -class PipelineTriggerManualArgs: - def __init__(__self__): - pass + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "spot_bid_price_percent", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class QualityMonitorCustomMetricArgsDict(TypedDict): - definition: pulumi.Input[str] - """ - [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - """ - input_columns: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - Columns on the monitored table to apply the custom metrics to. - """ - name: pulumi.Input[str] - """ - Name of the custom metric. - """ - output_data_type: pulumi.Input[str] - """ - The output type of the custom metric. - """ - type: pulumi.Input[str] - """ - The type of the custom metric. - """ + class PipelineClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + first_on_demand: NotRequired[pulumi.Input[int]] + log_analytics_info: NotRequired[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgsDict']] + spot_bid_max_price: NotRequired[pulumi.Input[float]] elif False: - QualityMonitorCustomMetricArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QualityMonitorCustomMetricArgs: +class PipelineClusterAzureAttributesArgs: def __init__(__self__, *, - definition: pulumi.Input[str], - input_columns: pulumi.Input[Sequence[pulumi.Input[str]]], - name: pulumi.Input[str], - output_data_type: pulumi.Input[str], - type: pulumi.Input[str]): - """ - :param pulumi.Input[str] definition: [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - :param pulumi.Input[Sequence[pulumi.Input[str]]] input_columns: Columns on the monitored table to apply the custom metrics to. - :param pulumi.Input[str] name: Name of the custom metric. - :param pulumi.Input[str] output_data_type: The output type of the custom metric. - :param pulumi.Input[str] type: The type of the custom metric. - """ - pulumi.set(__self__, "definition", definition) - pulumi.set(__self__, "input_columns", input_columns) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "output_data_type", output_data_type) - pulumi.set(__self__, "type", type) + availability: Optional[pulumi.Input[str]] = None, + first_on_demand: Optional[pulumi.Input[int]] = None, + log_analytics_info: Optional[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgs']] = None, + spot_bid_max_price: Optional[pulumi.Input[float]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def definition(self) -> pulumi.Input[str]: - """ - [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) - """ - return pulumi.get(self, "definition") - - @definition.setter - def definition(self, value: pulumi.Input[str]): - pulumi.set(self, "definition", value) - - @property - @pulumi.getter(name="inputColumns") - def input_columns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - Columns on the monitored table to apply the custom metrics to. - """ - return pulumi.get(self, "input_columns") + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @input_columns.setter - def input_columns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "input_columns", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - Name of the custom metric. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "first_on_demand") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter(name="outputDataType") - def output_data_type(self) -> pulumi.Input[str]: - """ - The output type of the custom metric. - """ - return pulumi.get(self, "output_data_type") + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgs']]: + return pulumi.get(self, "log_analytics_info") - @output_data_type.setter - def output_data_type(self, value: pulumi.Input[str]): - pulumi.set(self, "output_data_type", value) + @log_analytics_info.setter + def log_analytics_info(self, value: Optional[pulumi.Input['PipelineClusterAzureAttributesLogAnalyticsInfoArgs']]): + pulumi.set(self, "log_analytics_info", value) @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - """ - The type of the custom metric. - """ - return pulumi.get(self, "type") + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "spot_bid_max_price") - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class QualityMonitorDataClassificationConfigArgsDict(TypedDict): - enabled: NotRequired[pulumi.Input[bool]] + class PipelineClusterAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[pulumi.Input[str]] + log_analytics_workspace_id: NotRequired[pulumi.Input[str]] elif False: - QualityMonitorDataClassificationConfigArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QualityMonitorDataClassificationConfigArgs: +class PipelineClusterAzureAttributesLogAnalyticsInfoArgs: def __init__(__self__, *, - enabled: Optional[pulumi.Input[bool]] = None): - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + log_analytics_primary_key: Optional[pulumi.Input[str]] = None, + log_analytics_workspace_id: Optional[pulumi.Input[str]] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "enabled") + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_primary_key") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_primary_key", value) + + @property + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "log_analytics_workspace_id") + + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "log_analytics_workspace_id", value) if not MYPY: - class QualityMonitorInferenceLogArgsDict(TypedDict): - granularities: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - List of granularities to use when aggregating data into time windows based on their timestamp. - """ - model_id_col: pulumi.Input[str] - """ - Column of the model id or version - """ - prediction_col: pulumi.Input[str] - """ - Column of the model prediction - """ - problem_type: pulumi.Input[str] - """ - Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - """ - timestamp_col: pulumi.Input[str] - """ - Column of the timestamp of predictions - """ - label_col: NotRequired[pulumi.Input[str]] - """ - Column of the model label - """ - prediction_proba_col: NotRequired[pulumi.Input[str]] - """ - Column of the model prediction probabilities - """ + class PipelineClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired[pulumi.Input['PipelineClusterClusterLogConfDbfsArgsDict']] + s3: NotRequired[pulumi.Input['PipelineClusterClusterLogConfS3ArgsDict']] elif False: - QualityMonitorInferenceLogArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QualityMonitorInferenceLogArgs: +class PipelineClusterClusterLogConfArgs: def __init__(__self__, *, - granularities: pulumi.Input[Sequence[pulumi.Input[str]]], - model_id_col: pulumi.Input[str], - prediction_col: pulumi.Input[str], - problem_type: pulumi.Input[str], - timestamp_col: pulumi.Input[str], - label_col: Optional[pulumi.Input[str]] = None, - prediction_proba_col: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. - :param pulumi.Input[str] model_id_col: Column of the model id or version - :param pulumi.Input[str] prediction_col: Column of the model prediction - :param pulumi.Input[str] problem_type: Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions - :param pulumi.Input[str] label_col: Column of the model label - :param pulumi.Input[str] prediction_proba_col: Column of the model prediction probabilities - """ - pulumi.set(__self__, "granularities", granularities) - pulumi.set(__self__, "model_id_col", model_id_col) - pulumi.set(__self__, "prediction_col", prediction_col) - pulumi.set(__self__, "problem_type", problem_type) - pulumi.set(__self__, "timestamp_col", timestamp_col) - if label_col is not None: - pulumi.set(__self__, "label_col", label_col) - if prediction_proba_col is not None: - pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) + dbfs: Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']] = None, + s3: Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - List of granularities to use when aggregating data into time windows based on their timestamp. - """ - return pulumi.get(self, "granularities") + def dbfs(self) -> Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']]: + return pulumi.get(self, "dbfs") - @granularities.setter - def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "granularities", value) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="modelIdCol") - def model_id_col(self) -> pulumi.Input[str]: - """ - Column of the model id or version - """ - return pulumi.get(self, "model_id_col") - - @model_id_col.setter - def model_id_col(self, value: pulumi.Input[str]): - pulumi.set(self, "model_id_col", value) + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']]: + return pulumi.get(self, "s3") - @property - @pulumi.getter(name="predictionCol") - def prediction_col(self) -> pulumi.Input[str]: - """ - Column of the model prediction - """ - return pulumi.get(self, "prediction_col") + @s3.setter + def s3(self, value: Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']]): + pulumi.set(self, "s3", value) - @prediction_col.setter - def prediction_col(self, value: pulumi.Input[str]): - pulumi.set(self, "prediction_col", value) - @property - @pulumi.getter(name="problemType") - def problem_type(self) -> pulumi.Input[str]: - """ - Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` - """ - return pulumi.get(self, "problem_type") +if not MYPY: + class PipelineClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + PipelineClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] - @problem_type.setter - def problem_type(self, value: pulumi.Input[str]): - pulumi.set(self, "problem_type", value) +@pulumi.input_type +class PipelineClusterClusterLogConfDbfsArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="timestampCol") - def timestamp_col(self) -> pulumi.Input[str]: - """ - Column of the timestamp of predictions - """ - return pulumi.get(self, "timestamp_col") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @timestamp_col.setter - def timestamp_col(self, value: pulumi.Input[str]): - pulumi.set(self, "timestamp_col", value) - - @property - @pulumi.getter(name="labelCol") - def label_col(self) -> Optional[pulumi.Input[str]]: - """ - Column of the model label - """ - return pulumi.get(self, "label_col") - - @label_col.setter - def label_col(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "label_col", value) - - @property - @pulumi.getter(name="predictionProbaCol") - def prediction_proba_col(self) -> Optional[pulumi.Input[str]]: - """ - Column of the model prediction probabilities - """ - return pulumi.get(self, "prediction_proba_col") - - @prediction_proba_col.setter - def prediction_proba_col(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prediction_proba_col", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class QualityMonitorNotificationsArgsDict(TypedDict): - on_failure: NotRequired[pulumi.Input['QualityMonitorNotificationsOnFailureArgsDict']] - """ - who to send notifications to on monitor failure. - """ - on_new_classification_tag_detected: NotRequired[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgsDict']] - """ - Who to send notifications to when new data classification tags are detected. - """ + class PipelineClusterClusterLogConfS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - QualityMonitorNotificationsArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QualityMonitorNotificationsArgs: +class PipelineClusterClusterLogConfS3Args: def __init__(__self__, *, - on_failure: Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']] = None, - on_new_classification_tag_detected: Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']] = None): - """ - :param pulumi.Input['QualityMonitorNotificationsOnFailureArgs'] on_failure: who to send notifications to on monitor failure. - :param pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs'] on_new_classification_tag_detected: Who to send notifications to when new data classification tags are detected. - """ - if on_failure is not None: - pulumi.set(__self__, "on_failure", on_failure) - if on_new_classification_tag_detected is not None: - pulumi.set(__self__, "on_new_classification_tag_detected", on_new_classification_tag_detected) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="onFailure") - def on_failure(self) -> Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']]: - """ - who to send notifications to on monitor failure. - """ - return pulumi.get(self, "on_failure") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @on_failure.setter - def on_failure(self, value: Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']]): - pulumi.set(self, "on_failure", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="onNewClassificationTagDetected") - def on_new_classification_tag_detected(self) -> Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']]: - """ - Who to send notifications to when new data classification tags are detected. - """ - return pulumi.get(self, "on_new_classification_tag_detected") - - @on_new_classification_tag_detected.setter - def on_new_classification_tag_detected(self, value: Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']]): - pulumi.set(self, "on_new_classification_tag_detected", value) + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) -if not MYPY: - class QualityMonitorNotificationsOnFailureArgsDict(TypedDict): - email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] -elif False: - QualityMonitorNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") -@pulumi.input_type -class QualityMonitorNotificationsOnFailureArgs: - def __init__(__self__, *, - email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if email_addresses is not None: - pulumi.set(__self__, "email_addresses", email_addresses) + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="emailAddresses") - def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "email_addresses") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") - @email_addresses.setter - def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "email_addresses", value) + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) + @property + @pulumi.getter + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") -if not MYPY: - class QualityMonitorNotificationsOnNewClassificationTagDetectedArgsDict(TypedDict): - email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] -elif False: - QualityMonitorNotificationsOnNewClassificationTagDetectedArgsDict: TypeAlias = Mapping[str, Any] + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) -@pulumi.input_type -class QualityMonitorNotificationsOnNewClassificationTagDetectedArgs: - def __init__(__self__, *, - email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if email_addresses is not None: - pulumi.set(__self__, "email_addresses", email_addresses) + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="emailAddresses") - def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "email_addresses") + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @email_addresses.setter - def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "email_addresses", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class QualityMonitorScheduleArgsDict(TypedDict): - quartz_cron_expression: pulumi.Input[str] - """ - string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - """ - timezone_id: pulumi.Input[str] - """ - string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - """ - pause_status: NotRequired[pulumi.Input[str]] + class PipelineClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[pulumi.Input[str]] + google_service_account: NotRequired[pulumi.Input[str]] + local_ssd_count: NotRequired[pulumi.Input[int]] + zone_id: NotRequired[pulumi.Input[str]] elif False: - QualityMonitorScheduleArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QualityMonitorScheduleArgs: +class PipelineClusterGcpAttributesArgs: def __init__(__self__, *, - quartz_cron_expression: pulumi.Input[str], - timezone_id: pulumi.Input[str], - pause_status: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] quartz_cron_expression: string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - :param pulumi.Input[str] timezone_id: string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - """ - pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) - pulumi.set(__self__, "timezone_id", timezone_id) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) + availability: Optional[pulumi.Input[str]] = None, + google_service_account: Optional[pulumi.Input[str]] = None, + local_ssd_count: Optional[pulumi.Input[int]] = None, + zone_id: Optional[pulumi.Input[str]] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="quartzCronExpression") - def quartz_cron_expression(self) -> pulumi.Input[str]: - """ - string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. - """ - return pulumi.get(self, "quartz_cron_expression") + @pulumi.getter + def availability(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "availability") - @quartz_cron_expression.setter - def quartz_cron_expression(self, value: pulumi.Input[str]): - pulumi.set(self, "quartz_cron_expression", value) + @availability.setter + def availability(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="timezoneId") - def timezone_id(self) -> pulumi.Input[str]: - """ - string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. - """ - return pulumi.get(self, "timezone_id") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "google_service_account") - @timezone_id.setter - def timezone_id(self, value: pulumi.Input[str]): - pulumi.set(self, "timezone_id", value) + @google_service_account.setter + def google_service_account(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "pause_status") - - @pause_status.setter - def pause_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pause_status", value) + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "local_ssd_count") + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "local_ssd_count", value) -if not MYPY: - class QualityMonitorSnapshotArgsDict(TypedDict): - pass -elif False: - QualityMonitorSnapshotArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "zone_id") -@pulumi.input_type -class QualityMonitorSnapshotArgs: - def __init__(__self__): - pass + @zone_id.setter + def zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zone_id", value) if not MYPY: - class QualityMonitorTimeSeriesArgsDict(TypedDict): - granularities: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - List of granularities to use when aggregating data into time windows based on their timestamp. - """ - timestamp_col: pulumi.Input[str] - """ - Column of the timestamp of predictions - """ + class PipelineClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired[pulumi.Input['PipelineClusterInitScriptAbfssArgsDict']] + dbfs: NotRequired[pulumi.Input['PipelineClusterInitScriptDbfsArgsDict']] + file: NotRequired[pulumi.Input['PipelineClusterInitScriptFileArgsDict']] + gcs: NotRequired[pulumi.Input['PipelineClusterInitScriptGcsArgsDict']] + s3: NotRequired[pulumi.Input['PipelineClusterInitScriptS3ArgsDict']] + volumes: NotRequired[pulumi.Input['PipelineClusterInitScriptVolumesArgsDict']] + workspace: NotRequired[pulumi.Input['PipelineClusterInitScriptWorkspaceArgsDict']] elif False: - QualityMonitorTimeSeriesArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QualityMonitorTimeSeriesArgs: +class PipelineClusterInitScriptArgs: def __init__(__self__, *, - granularities: pulumi.Input[Sequence[pulumi.Input[str]]], - timestamp_col: pulumi.Input[str]): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. - :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions - """ - pulumi.set(__self__, "granularities", granularities) - pulumi.set(__self__, "timestamp_col", timestamp_col) + abfss: Optional[pulumi.Input['PipelineClusterInitScriptAbfssArgs']] = None, + dbfs: Optional[pulumi.Input['PipelineClusterInitScriptDbfsArgs']] = None, + file: Optional[pulumi.Input['PipelineClusterInitScriptFileArgs']] = None, + gcs: Optional[pulumi.Input['PipelineClusterInitScriptGcsArgs']] = None, + s3: Optional[pulumi.Input['PipelineClusterInitScriptS3Args']] = None, + volumes: Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']] = None, + workspace: Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - List of granularities to use when aggregating data into time windows based on their timestamp. - """ - return pulumi.get(self, "granularities") + def abfss(self) -> Optional[pulumi.Input['PipelineClusterInitScriptAbfssArgs']]: + return pulumi.get(self, "abfss") - @granularities.setter - def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "granularities", value) + @abfss.setter + def abfss(self, value: Optional[pulumi.Input['PipelineClusterInitScriptAbfssArgs']]): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="timestampCol") - def timestamp_col(self) -> pulumi.Input[str]: - """ - Column of the timestamp of predictions - """ - return pulumi.get(self, "timestamp_col") - - @timestamp_col.setter - def timestamp_col(self, value: pulumi.Input[str]): - pulumi.set(self, "timestamp_col", value) - - -if not MYPY: - class QueryParameterArgsDict(TypedDict): - name: pulumi.Input[str] - """ - Literal parameter marker that appears between double curly braces in the query text. - """ - date_range_value: NotRequired[pulumi.Input['QueryParameterDateRangeValueArgsDict']] - """ - Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_range_value` or `date_range_value`): - """ - date_value: NotRequired[pulumi.Input['QueryParameterDateValueArgsDict']] - """ - Date query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_value` or `date_value`): - """ - enum_value: NotRequired[pulumi.Input['QueryParameterEnumValueArgsDict']] - """ - Dropdown parameter value. Consists of following attributes: - """ - numeric_value: NotRequired[pulumi.Input['QueryParameterNumericValueArgsDict']] - """ - Numeric parameter value. Consists of following attributes: - """ - query_backed_value: NotRequired[pulumi.Input['QueryParameterQueryBackedValueArgsDict']] - """ - Query-based dropdown parameter value. Consists of following attributes: - """ - text_value: NotRequired[pulumi.Input['QueryParameterTextValueArgsDict']] - """ - Text parameter value. Consists of following attributes: - """ - title: NotRequired[pulumi.Input[str]] - """ - Text displayed in the user-facing parameter widget in the UI. - """ -elif False: - QueryParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional[pulumi.Input['PipelineClusterInitScriptDbfsArgs']]: + return pulumi.get(self, "dbfs") -@pulumi.input_type -class QueryParameterArgs: - def __init__(__self__, *, - name: pulumi.Input[str], - date_range_value: Optional[pulumi.Input['QueryParameterDateRangeValueArgs']] = None, - date_value: Optional[pulumi.Input['QueryParameterDateValueArgs']] = None, - enum_value: Optional[pulumi.Input['QueryParameterEnumValueArgs']] = None, - numeric_value: Optional[pulumi.Input['QueryParameterNumericValueArgs']] = None, - query_backed_value: Optional[pulumi.Input['QueryParameterQueryBackedValueArgs']] = None, - text_value: Optional[pulumi.Input['QueryParameterTextValueArgs']] = None, - title: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] name: Literal parameter marker that appears between double curly braces in the query text. - :param pulumi.Input['QueryParameterDateRangeValueArgs'] date_range_value: Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_range_value` or `date_range_value`): - :param pulumi.Input['QueryParameterDateValueArgs'] date_value: Date query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_value` or `date_value`): - :param pulumi.Input['QueryParameterEnumValueArgs'] enum_value: Dropdown parameter value. Consists of following attributes: - :param pulumi.Input['QueryParameterNumericValueArgs'] numeric_value: Numeric parameter value. Consists of following attributes: - :param pulumi.Input['QueryParameterQueryBackedValueArgs'] query_backed_value: Query-based dropdown parameter value. Consists of following attributes: - :param pulumi.Input['QueryParameterTextValueArgs'] text_value: Text parameter value. Consists of following attributes: - :param pulumi.Input[str] title: Text displayed in the user-facing parameter widget in the UI. - """ - pulumi.set(__self__, "name", name) - if date_range_value is not None: - pulumi.set(__self__, "date_range_value", date_range_value) - if date_value is not None: - pulumi.set(__self__, "date_value", date_value) - if enum_value is not None: - pulumi.set(__self__, "enum_value", enum_value) - if numeric_value is not None: - pulumi.set(__self__, "numeric_value", numeric_value) - if query_backed_value is not None: - pulumi.set(__self__, "query_backed_value", query_backed_value) - if text_value is not None: - pulumi.set(__self__, "text_value", text_value) - if title is not None: - pulumi.set(__self__, "title", title) + @dbfs.setter + def dbfs(self, value: Optional[pulumi.Input['PipelineClusterInitScriptDbfsArgs']]): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - Literal parameter marker that appears between double curly braces in the query text. - """ - return pulumi.get(self, "name") + def file(self) -> Optional[pulumi.Input['PipelineClusterInitScriptFileArgs']]: + return pulumi.get(self, "file") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @file.setter + def file(self, value: Optional[pulumi.Input['PipelineClusterInitScriptFileArgs']]): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="dateRangeValue") - def date_range_value(self) -> Optional[pulumi.Input['QueryParameterDateRangeValueArgs']]: - """ - Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_range_value` or `date_range_value`): - """ - return pulumi.get(self, "date_range_value") + @pulumi.getter + def gcs(self) -> Optional[pulumi.Input['PipelineClusterInitScriptGcsArgs']]: + return pulumi.get(self, "gcs") - @date_range_value.setter - def date_range_value(self, value: Optional[pulumi.Input['QueryParameterDateRangeValueArgs']]): - pulumi.set(self, "date_range_value", value) + @gcs.setter + def gcs(self, value: Optional[pulumi.Input['PipelineClusterInitScriptGcsArgs']]): + pulumi.set(self, "gcs", value) @property - @pulumi.getter(name="dateValue") - def date_value(self) -> Optional[pulumi.Input['QueryParameterDateValueArgs']]: - """ - Date query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_value` or `date_value`): - """ - return pulumi.get(self, "date_value") + @pulumi.getter + def s3(self) -> Optional[pulumi.Input['PipelineClusterInitScriptS3Args']]: + return pulumi.get(self, "s3") - @date_value.setter - def date_value(self, value: Optional[pulumi.Input['QueryParameterDateValueArgs']]): - pulumi.set(self, "date_value", value) + @s3.setter + def s3(self, value: Optional[pulumi.Input['PipelineClusterInitScriptS3Args']]): + pulumi.set(self, "s3", value) @property - @pulumi.getter(name="enumValue") - def enum_value(self) -> Optional[pulumi.Input['QueryParameterEnumValueArgs']]: - """ - Dropdown parameter value. Consists of following attributes: - """ - return pulumi.get(self, "enum_value") + @pulumi.getter + def volumes(self) -> Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']]: + return pulumi.get(self, "volumes") - @enum_value.setter - def enum_value(self, value: Optional[pulumi.Input['QueryParameterEnumValueArgs']]): - pulumi.set(self, "enum_value", value) + @volumes.setter + def volumes(self, value: Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']]): + pulumi.set(self, "volumes", value) @property - @pulumi.getter(name="numericValue") - def numeric_value(self) -> Optional[pulumi.Input['QueryParameterNumericValueArgs']]: - """ - Numeric parameter value. Consists of following attributes: - """ - return pulumi.get(self, "numeric_value") + @pulumi.getter + def workspace(self) -> Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']]: + return pulumi.get(self, "workspace") - @numeric_value.setter - def numeric_value(self, value: Optional[pulumi.Input['QueryParameterNumericValueArgs']]): - pulumi.set(self, "numeric_value", value) + @workspace.setter + def workspace(self, value: Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']]): + pulumi.set(self, "workspace", value) - @property - @pulumi.getter(name="queryBackedValue") - def query_backed_value(self) -> Optional[pulumi.Input['QueryParameterQueryBackedValueArgs']]: - """ - Query-based dropdown parameter value. Consists of following attributes: - """ - return pulumi.get(self, "query_backed_value") - @query_backed_value.setter - def query_backed_value(self, value: Optional[pulumi.Input['QueryParameterQueryBackedValueArgs']]): - pulumi.set(self, "query_backed_value", value) - - @property - @pulumi.getter(name="textValue") - def text_value(self) -> Optional[pulumi.Input['QueryParameterTextValueArgs']]: - """ - Text parameter value. Consists of following attributes: - """ - return pulumi.get(self, "text_value") +if not MYPY: + class PipelineClusterInitScriptAbfssArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + PipelineClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] - @text_value.setter - def text_value(self, value: Optional[pulumi.Input['QueryParameterTextValueArgs']]): - pulumi.set(self, "text_value", value) +@pulumi.input_type +class PipelineClusterInitScriptAbfssArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def title(self) -> Optional[pulumi.Input[str]]: - """ - Text displayed in the user-facing parameter widget in the UI. - """ - return pulumi.get(self, "title") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @title.setter - def title(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "title", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class QueryParameterDateRangeValueArgsDict(TypedDict): - date_range_value: NotRequired[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgsDict']] - """ - Manually specified date-time range value. Consists of the following attributes: - """ - dynamic_date_range_value: NotRequired[pulumi.Input[str]] - """ - Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. - """ - precision: NotRequired[pulumi.Input[str]] - """ - Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - """ - start_day_of_week: NotRequired[pulumi.Input[int]] - """ - Specify what day that starts the week. - """ + class PipelineClusterInitScriptDbfsArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - QueryParameterDateRangeValueArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterDateRangeValueArgs: +class PipelineClusterInitScriptDbfsArgs: def __init__(__self__, *, - date_range_value: Optional[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs']] = None, - dynamic_date_range_value: Optional[pulumi.Input[str]] = None, - precision: Optional[pulumi.Input[str]] = None, - start_day_of_week: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs'] date_range_value: Manually specified date-time range value. Consists of the following attributes: - :param pulumi.Input[str] dynamic_date_range_value: Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. - :param pulumi.Input[str] precision: Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - :param pulumi.Input[int] start_day_of_week: Specify what day that starts the week. - """ - if date_range_value is not None: - pulumi.set(__self__, "date_range_value", date_range_value) - if dynamic_date_range_value is not None: - pulumi.set(__self__, "dynamic_date_range_value", dynamic_date_range_value) - if precision is not None: - pulumi.set(__self__, "precision", precision) - if start_day_of_week is not None: - pulumi.set(__self__, "start_day_of_week", start_day_of_week) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="dateRangeValue") - def date_range_value(self) -> Optional[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs']]: - """ - Manually specified date-time range value. Consists of the following attributes: - """ - return pulumi.get(self, "date_range_value") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @date_range_value.setter - def date_range_value(self, value: Optional[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs']]): - pulumi.set(self, "date_range_value", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="dynamicDateRangeValue") - def dynamic_date_range_value(self) -> Optional[pulumi.Input[str]]: - """ - Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. - """ - return pulumi.get(self, "dynamic_date_range_value") - @dynamic_date_range_value.setter - def dynamic_date_range_value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dynamic_date_range_value", value) +if not MYPY: + class PipelineClusterInitScriptFileArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + PipelineClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipelineClusterInitScriptFileArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def precision(self) -> Optional[pulumi.Input[str]]: - """ - Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - """ - return pulumi.get(self, "precision") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @precision.setter - def precision(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "precision", value) + +if not MYPY: + class PipelineClusterInitScriptGcsArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + PipelineClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipelineClusterInitScriptGcsArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="startDayOfWeek") - def start_day_of_week(self) -> Optional[pulumi.Input[int]]: - """ - Specify what day that starts the week. - """ - return pulumi.get(self, "start_day_of_week") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @start_day_of_week.setter - def start_day_of_week(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "start_day_of_week", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class QueryParameterDateRangeValueDateRangeValueArgsDict(TypedDict): - end: pulumi.Input[str] - """ - end of the date range. - """ - start: pulumi.Input[str] - """ - begin of the date range. - """ + class PipelineClusterInitScriptS3ArgsDict(TypedDict): + destination: pulumi.Input[str] + canned_acl: NotRequired[pulumi.Input[str]] + enable_encryption: NotRequired[pulumi.Input[bool]] + encryption_type: NotRequired[pulumi.Input[str]] + endpoint: NotRequired[pulumi.Input[str]] + kms_key: NotRequired[pulumi.Input[str]] + region: NotRequired[pulumi.Input[str]] elif False: - QueryParameterDateRangeValueDateRangeValueArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterDateRangeValueDateRangeValueArgs: +class PipelineClusterInitScriptS3Args: def __init__(__self__, *, - end: pulumi.Input[str], - start: pulumi.Input[str]): - """ - :param pulumi.Input[str] end: end of the date range. - :param pulumi.Input[str] start: begin of the date range. - """ - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) + destination: pulumi.Input[str], + canned_acl: Optional[pulumi.Input[str]] = None, + enable_encryption: Optional[pulumi.Input[bool]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + kms_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def end(self) -> pulumi.Input[str]: - """ - end of the date range. - """ - return pulumi.get(self, "end") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @end.setter - def end(self, value: pulumi.Input[str]): - pulumi.set(self, "end", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) @property - @pulumi.getter - def start(self) -> pulumi.Input[str]: - """ - begin of the date range. - """ - return pulumi.get(self, "start") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "canned_acl") - @start.setter - def start(self, value: pulumi.Input[str]): - pulumi.set(self, "start", value) + @canned_acl.setter + def canned_acl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "canned_acl", value) + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enable_encryption") -if not MYPY: - class QueryParameterDateValueArgsDict(TypedDict): - date_value: NotRequired[pulumi.Input[str]] - """ - Manually specified date-time value - """ - dynamic_date_value: NotRequired[pulumi.Input[str]] - """ - Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. - """ - precision: NotRequired[pulumi.Input[str]] - """ - Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - """ -elif False: - QueryParameterDateValueArgsDict: TypeAlias = Mapping[str, Any] + @enable_encryption.setter + def enable_encryption(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_encryption", value) -@pulumi.input_type -class QueryParameterDateValueArgs: - def __init__(__self__, *, - date_value: Optional[pulumi.Input[str]] = None, - dynamic_date_value: Optional[pulumi.Input[str]] = None, - precision: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] date_value: Manually specified date-time value - :param pulumi.Input[str] dynamic_date_value: Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. - :param pulumi.Input[str] precision: Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - """ - if date_value is not None: - pulumi.set(__self__, "date_value", date_value) - if dynamic_date_value is not None: - pulumi.set(__self__, "dynamic_date_value", dynamic_date_value) - if precision is not None: - pulumi.set(__self__, "precision", precision) + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encryption_type", value) @property - @pulumi.getter(name="dateValue") - def date_value(self) -> Optional[pulumi.Input[str]]: - """ - Manually specified date-time value - """ - return pulumi.get(self, "date_value") + @pulumi.getter + def endpoint(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "endpoint") - @date_value.setter - def date_value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "date_value", value) + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="dynamicDateValue") - def dynamic_date_value(self) -> Optional[pulumi.Input[str]]: - """ - Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. - """ - return pulumi.get(self, "dynamic_date_value") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kms_key") - @dynamic_date_value.setter - def dynamic_date_value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dynamic_date_value", value) + @kms_key.setter + def kms_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kms_key", value) @property @pulumi.getter - def precision(self) -> Optional[pulumi.Input[str]]: - """ - Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). - """ - return pulumi.get(self, "precision") + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @precision.setter - def precision(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "precision", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) if not MYPY: - class QueryParameterEnumValueArgsDict(TypedDict): - enum_options: NotRequired[pulumi.Input[str]] - """ - List of valid query parameter values, newline delimited. - """ - multi_values_options: NotRequired[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgsDict']] - """ - If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - """ - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] - """ - List of selected query parameter values. - """ + class PipelineClusterInitScriptVolumesArgsDict(TypedDict): + destination: pulumi.Input[str] elif False: - QueryParameterEnumValueArgsDict: TypeAlias = Mapping[str, Any] + PipelineClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterEnumValueArgs: +class PipelineClusterInitScriptVolumesArgs: def __init__(__self__, *, - enum_options: Optional[pulumi.Input[str]] = None, - multi_values_options: Optional[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs']] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[str] enum_options: List of valid query parameter values, newline delimited. - :param pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs'] multi_values_options: If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - :param pulumi.Input[Sequence[pulumi.Input[str]]] values: List of selected query parameter values. - """ - if enum_options is not None: - pulumi.set(__self__, "enum_options", enum_options) - if multi_values_options is not None: - pulumi.set(__self__, "multi_values_options", multi_values_options) - if values is not None: - pulumi.set(__self__, "values", values) + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="enumOptions") - def enum_options(self) -> Optional[pulumi.Input[str]]: - """ - List of valid query parameter values, newline delimited. - """ - return pulumi.get(self, "enum_options") + @pulumi.getter + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @enum_options.setter - def enum_options(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "enum_options", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="multiValuesOptions") - def multi_values_options(self) -> Optional[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs']]: - """ - If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - """ - return pulumi.get(self, "multi_values_options") - @multi_values_options.setter - def multi_values_options(self, value: Optional[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs']]): - pulumi.set(self, "multi_values_options", value) +if not MYPY: + class PipelineClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: pulumi.Input[str] +elif False: + PipelineClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipelineClusterInitScriptWorkspaceArgs: + def __init__(__self__, *, + destination: pulumi.Input[str]): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - List of selected query parameter values. - """ - return pulumi.get(self, "values") + def destination(self) -> pulumi.Input[str]: + return pulumi.get(self, "destination") - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "values", value) + @destination.setter + def destination(self, value: pulumi.Input[str]): + pulumi.set(self, "destination", value) if not MYPY: - class QueryParameterEnumValueMultiValuesOptionsArgsDict(TypedDict): - prefix: NotRequired[pulumi.Input[str]] - """ - Character that prefixes each selected parameter value. - """ - separator: NotRequired[pulumi.Input[str]] + class PipelineDeploymentArgsDict(TypedDict): + kind: NotRequired[pulumi.Input[str]] """ - Character that separates each selected parameter value. Defaults to a comma. + The deployment method that manages the pipeline. """ - suffix: NotRequired[pulumi.Input[str]] + metadata_file_path: NotRequired[pulumi.Input[str]] """ - Character that suffixes each selected parameter value. + The path to the file containing metadata about the deployment. """ elif False: - QueryParameterEnumValueMultiValuesOptionsArgsDict: TypeAlias = Mapping[str, Any] + PipelineDeploymentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterEnumValueMultiValuesOptionsArgs: +class PipelineDeploymentArgs: def __init__(__self__, *, - prefix: Optional[pulumi.Input[str]] = None, - separator: Optional[pulumi.Input[str]] = None, - suffix: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] prefix: Character that prefixes each selected parameter value. - :param pulumi.Input[str] separator: Character that separates each selected parameter value. Defaults to a comma. - :param pulumi.Input[str] suffix: Character that suffixes each selected parameter value. - """ - if prefix is not None: - pulumi.set(__self__, "prefix", prefix) - if separator is not None: - pulumi.set(__self__, "separator", separator) - if suffix is not None: - pulumi.set(__self__, "suffix", suffix) - - @property - @pulumi.getter - def prefix(self) -> Optional[pulumi.Input[str]]: + kind: Optional[pulumi.Input[str]] = None, + metadata_file_path: Optional[pulumi.Input[str]] = None): """ - Character that prefixes each selected parameter value. + :param pulumi.Input[str] kind: The deployment method that manages the pipeline. + :param pulumi.Input[str] metadata_file_path: The path to the file containing metadata about the deployment. """ - return pulumi.get(self, "prefix") - - @prefix.setter - def prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prefix", value) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if metadata_file_path is not None: + pulumi.set(__self__, "metadata_file_path", metadata_file_path) @property @pulumi.getter - def separator(self) -> Optional[pulumi.Input[str]]: + def kind(self) -> Optional[pulumi.Input[str]]: """ - Character that separates each selected parameter value. Defaults to a comma. + The deployment method that manages the pipeline. """ - return pulumi.get(self, "separator") + return pulumi.get(self, "kind") - @separator.setter - def separator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "separator", value) + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) @property - @pulumi.getter - def suffix(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="metadataFilePath") + def metadata_file_path(self) -> Optional[pulumi.Input[str]]: """ - Character that suffixes each selected parameter value. + The path to the file containing metadata about the deployment. """ - return pulumi.get(self, "suffix") + return pulumi.get(self, "metadata_file_path") - @suffix.setter - def suffix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "suffix", value) + @metadata_file_path.setter + def metadata_file_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metadata_file_path", value) if not MYPY: - class QueryParameterNumericValueArgsDict(TypedDict): - value: pulumi.Input[float] + class PipelineFiltersArgsDict(TypedDict): + excludes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - actual numeric value. + Paths to exclude. + """ + includes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Paths to include. """ elif False: - QueryParameterNumericValueArgsDict: TypeAlias = Mapping[str, Any] + PipelineFiltersArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterNumericValueArgs: +class PipelineFiltersArgs: def __init__(__self__, *, - value: pulumi.Input[float]): + excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[float] value: actual numeric value. + :param pulumi.Input[Sequence[pulumi.Input[str]]] excludes: Paths to exclude. + :param pulumi.Input[Sequence[pulumi.Input[str]]] includes: Paths to include. """ - pulumi.set(__self__, "value", value) + if excludes is not None: + pulumi.set(__self__, "excludes", excludes) + if includes is not None: + pulumi.set(__self__, "includes", includes) @property @pulumi.getter - def value(self) -> pulumi.Input[float]: + def excludes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - actual numeric value. + Paths to exclude. """ - return pulumi.get(self, "value") + return pulumi.get(self, "excludes") - @value.setter - def value(self, value: pulumi.Input[float]): - pulumi.set(self, "value", value) + @excludes.setter + def excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "excludes", value) + + @property + @pulumi.getter + def includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Paths to include. + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "includes", value) if not MYPY: - class QueryParameterQueryBackedValueArgsDict(TypedDict): - query_id: pulumi.Input[str] + class PipelineGatewayDefinitionArgsDict(TypedDict): + connection_id: NotRequired[pulumi.Input[str]] """ - ID of the query that provides the parameter values. + Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. """ - multi_values_options: NotRequired[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgsDict']] + connection_name: NotRequired[pulumi.Input[str]] + gateway_storage_catalog: NotRequired[pulumi.Input[str]] """ - If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + Required, Immutable. The name of the catalog for the gateway pipeline's storage location. """ - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + gateway_storage_name: NotRequired[pulumi.Input[str]] """ - List of selected query parameter values. + Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. + """ + gateway_storage_schema: NotRequired[pulumi.Input[str]] + """ + Required, Immutable. The name of the schema for the gateway pipelines's storage location. """ elif False: - QueryParameterQueryBackedValueArgsDict: TypeAlias = Mapping[str, Any] + PipelineGatewayDefinitionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterQueryBackedValueArgs: +class PipelineGatewayDefinitionArgs: def __init__(__self__, *, - query_id: pulumi.Input[str], - multi_values_options: Optional[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs']] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + connection_id: Optional[pulumi.Input[str]] = None, + connection_name: Optional[pulumi.Input[str]] = None, + gateway_storage_catalog: Optional[pulumi.Input[str]] = None, + gateway_storage_name: Optional[pulumi.Input[str]] = None, + gateway_storage_schema: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] query_id: ID of the query that provides the parameter values. - :param pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs'] multi_values_options: If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - :param pulumi.Input[Sequence[pulumi.Input[str]]] values: List of selected query parameter values. + :param pulumi.Input[str] connection_id: Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. + :param pulumi.Input[str] gateway_storage_catalog: Required, Immutable. The name of the catalog for the gateway pipeline's storage location. + :param pulumi.Input[str] gateway_storage_name: Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. + :param pulumi.Input[str] gateway_storage_schema: Required, Immutable. The name of the schema for the gateway pipelines's storage location. """ - pulumi.set(__self__, "query_id", query_id) - if multi_values_options is not None: - pulumi.set(__self__, "multi_values_options", multi_values_options) - if values is not None: - pulumi.set(__self__, "values", values) + if connection_id is not None: + pulumi.set(__self__, "connection_id", connection_id) + if connection_name is not None: + pulumi.set(__self__, "connection_name", connection_name) + if gateway_storage_catalog is not None: + pulumi.set(__self__, "gateway_storage_catalog", gateway_storage_catalog) + if gateway_storage_name is not None: + pulumi.set(__self__, "gateway_storage_name", gateway_storage_name) + if gateway_storage_schema is not None: + pulumi.set(__self__, "gateway_storage_schema", gateway_storage_schema) @property - @pulumi.getter(name="queryId") - def query_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="connectionId") + def connection_id(self) -> Optional[pulumi.Input[str]]: """ - ID of the query that provides the parameter values. + Immutable. The Unity Catalog connection this gateway pipeline uses to communicate with the source. """ - return pulumi.get(self, "query_id") + return pulumi.get(self, "connection_id") - @query_id.setter - def query_id(self, value: pulumi.Input[str]): - pulumi.set(self, "query_id", value) + @connection_id.setter + def connection_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_id", value) @property - @pulumi.getter(name="multiValuesOptions") - def multi_values_options(self) -> Optional[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs']]: - """ - If specified, allows multiple values to be selected for this parameter. Consists of following attributes: - """ - return pulumi.get(self, "multi_values_options") + @pulumi.getter(name="connectionName") + def connection_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "connection_name") - @multi_values_options.setter - def multi_values_options(self, value: Optional[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs']]): - pulumi.set(self, "multi_values_options", value) + @connection_name.setter + def connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_name", value) @property - @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="gatewayStorageCatalog") + def gateway_storage_catalog(self) -> Optional[pulumi.Input[str]]: """ - List of selected query parameter values. + Required, Immutable. The name of the catalog for the gateway pipeline's storage location. """ - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "values", value) + return pulumi.get(self, "gateway_storage_catalog") + @gateway_storage_catalog.setter + def gateway_storage_catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gateway_storage_catalog", value) -if not MYPY: - class QueryParameterQueryBackedValueMultiValuesOptionsArgsDict(TypedDict): - prefix: NotRequired[pulumi.Input[str]] - """ - Character that prefixes each selected parameter value. - """ - separator: NotRequired[pulumi.Input[str]] + @property + @pulumi.getter(name="gatewayStorageName") + def gateway_storage_name(self) -> Optional[pulumi.Input[str]]: """ - Character that separates each selected parameter value. Defaults to a comma. + Required. The Unity Catalog-compatible naming for the gateway storage location. This is the destination to use for the data that is extracted by the gateway. Delta Live Tables system will automatically create the storage location under the catalog and schema. """ - suffix: NotRequired[pulumi.Input[str]] + return pulumi.get(self, "gateway_storage_name") + + @gateway_storage_name.setter + def gateway_storage_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gateway_storage_name", value) + + @property + @pulumi.getter(name="gatewayStorageSchema") + def gateway_storage_schema(self) -> Optional[pulumi.Input[str]]: """ - Character that suffixes each selected parameter value. + Required, Immutable. The name of the schema for the gateway pipelines's storage location. """ + return pulumi.get(self, "gateway_storage_schema") + + @gateway_storage_schema.setter + def gateway_storage_schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gateway_storage_schema", value) + + +if not MYPY: + class PipelineIngestionDefinitionArgsDict(TypedDict): + connection_name: NotRequired[pulumi.Input[str]] + ingestion_gateway_id: NotRequired[pulumi.Input[str]] + objects: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgsDict']]]] + table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgsDict']] elif False: - QueryParameterQueryBackedValueMultiValuesOptionsArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class QueryParameterQueryBackedValueMultiValuesOptionsArgs: +class PipelineIngestionDefinitionArgs: def __init__(__self__, *, - prefix: Optional[pulumi.Input[str]] = None, - separator: Optional[pulumi.Input[str]] = None, - suffix: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] prefix: Character that prefixes each selected parameter value. - :param pulumi.Input[str] separator: Character that separates each selected parameter value. Defaults to a comma. - :param pulumi.Input[str] suffix: Character that suffixes each selected parameter value. - """ - if prefix is not None: - pulumi.set(__self__, "prefix", prefix) - if separator is not None: - pulumi.set(__self__, "separator", separator) - if suffix is not None: - pulumi.set(__self__, "suffix", suffix) + connection_name: Optional[pulumi.Input[str]] = None, + ingestion_gateway_id: Optional[pulumi.Input[str]] = None, + objects: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgs']]]] = None, + table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgs']] = None): + if connection_name is not None: + pulumi.set(__self__, "connection_name", connection_name) + if ingestion_gateway_id is not None: + pulumi.set(__self__, "ingestion_gateway_id", ingestion_gateway_id) + if objects is not None: + pulumi.set(__self__, "objects", objects) + if table_configuration is not None: + pulumi.set(__self__, "table_configuration", table_configuration) @property - @pulumi.getter - def prefix(self) -> Optional[pulumi.Input[str]]: - """ - Character that prefixes each selected parameter value. - """ - return pulumi.get(self, "prefix") + @pulumi.getter(name="connectionName") + def connection_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "connection_name") - @prefix.setter - def prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prefix", value) + @connection_name.setter + def connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_name", value) @property - @pulumi.getter - def separator(self) -> Optional[pulumi.Input[str]]: - """ - Character that separates each selected parameter value. Defaults to a comma. - """ - return pulumi.get(self, "separator") + @pulumi.getter(name="ingestionGatewayId") + def ingestion_gateway_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ingestion_gateway_id") - @separator.setter - def separator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "separator", value) + @ingestion_gateway_id.setter + def ingestion_gateway_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ingestion_gateway_id", value) @property @pulumi.getter - def suffix(self) -> Optional[pulumi.Input[str]]: - """ - Character that suffixes each selected parameter value. - """ - return pulumi.get(self, "suffix") - - @suffix.setter - def suffix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "suffix", value) - - -if not MYPY: - class QueryParameterTextValueArgsDict(TypedDict): - value: pulumi.Input[str] - """ - actual text value. - """ -elif False: - QueryParameterTextValueArgsDict: TypeAlias = Mapping[str, Any] + def objects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgs']]]]: + return pulumi.get(self, "objects") -@pulumi.input_type -class QueryParameterTextValueArgs: - def __init__(__self__, *, - value: pulumi.Input[str]): - """ - :param pulumi.Input[str] value: actual text value. - """ - pulumi.set(__self__, "value", value) + @objects.setter + def objects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineIngestionDefinitionObjectArgs']]]]): + pulumi.set(self, "objects", value) @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: - """ - actual text value. - """ - return pulumi.get(self, "value") + @pulumi.getter(name="tableConfiguration") + def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgs']]: + return pulumi.get(self, "table_configuration") - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) + @table_configuration.setter + def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionTableConfigurationArgs']]): + pulumi.set(self, "table_configuration", value) if not MYPY: - class RecipientIpAccessListArgsDict(TypedDict): - allowed_ip_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class PipelineIngestionDefinitionObjectArgsDict(TypedDict): + report: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectReportArgsDict']] + schema: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgsDict']] """ - Allowed IP Addresses in CIDR notation. Limit of 100. + The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. """ + table: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectTableArgsDict']] elif False: - RecipientIpAccessListArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionObjectArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class RecipientIpAccessListArgs: +class PipelineIngestionDefinitionObjectArgs: def __init__(__self__, *, - allowed_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + report: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportArgs']] = None, + schema: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs']] = None, + table: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableArgs']] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_addresses: Allowed IP Addresses in CIDR notation. Limit of 100. + :param pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs'] schema: The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. """ - if allowed_ip_addresses is not None: - pulumi.set(__self__, "allowed_ip_addresses", allowed_ip_addresses) + if report is not None: + pulumi.set(__self__, "report", report) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if table is not None: + pulumi.set(__self__, "table", table) @property - @pulumi.getter(name="allowedIpAddresses") - def allowed_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Allowed IP Addresses in CIDR notation. Limit of 100. - """ - return pulumi.get(self, "allowed_ip_addresses") - - @allowed_ip_addresses.setter - def allowed_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "allowed_ip_addresses", value) + @pulumi.getter + def report(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportArgs']]: + return pulumi.get(self, "report") + @report.setter + def report(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportArgs']]): + pulumi.set(self, "report", value) -if not MYPY: - class RecipientPropertiesKvpairsArgsDict(TypedDict): - properties: pulumi.Input[Mapping[str, pulumi.Input[str]]] + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs']]: """ - a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. + The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode. """ -elif False: - RecipientPropertiesKvpairsArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "schema") -@pulumi.input_type -class RecipientPropertiesKvpairsArgs: - def __init__(__self__, *, - properties: pulumi.Input[Mapping[str, pulumi.Input[str]]]): - """ - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. - """ - pulumi.set(__self__, "properties", properties) + @schema.setter + def schema(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaArgs']]): + pulumi.set(self, "schema", value) @property @pulumi.getter - def properties(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: - """ - a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. - """ - return pulumi.get(self, "properties") + def table(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableArgs']]: + return pulumi.get(self, "table") - @properties.setter - def properties(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): - pulumi.set(self, "properties", value) + @table.setter + def table(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableArgs']]): + pulumi.set(self, "table", value) if not MYPY: - class RecipientTokenArgsDict(TypedDict): - activation_url: NotRequired[pulumi.Input[str]] - """ - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - """ - created_at: NotRequired[pulumi.Input[int]] - """ - Time at which this recipient was created, in epoch milliseconds. - """ - created_by: NotRequired[pulumi.Input[str]] - """ - Username of recipient creator. - """ - expiration_time: NotRequired[pulumi.Input[int]] - """ - Expiration timestamp of the token in epoch milliseconds. - """ - id: NotRequired[pulumi.Input[str]] - """ - Unique ID of the recipient token. - """ - updated_at: NotRequired[pulumi.Input[int]] - """ - Time at which this recipient was updated, in epoch milliseconds. - """ - updated_by: NotRequired[pulumi.Input[str]] - """ - Username of recipient Token updater. - """ + class PipelineIngestionDefinitionObjectReportArgsDict(TypedDict): + destination_catalog: NotRequired[pulumi.Input[str]] + destination_schema: NotRequired[pulumi.Input[str]] + destination_table: NotRequired[pulumi.Input[str]] + source_url: NotRequired[pulumi.Input[str]] + table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgsDict']] elif False: - RecipientTokenArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionObjectReportArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class RecipientTokenArgs: +class PipelineIngestionDefinitionObjectReportArgs: def __init__(__self__, *, - activation_url: Optional[pulumi.Input[str]] = None, - created_at: Optional[pulumi.Input[int]] = None, - created_by: Optional[pulumi.Input[str]] = None, - expiration_time: Optional[pulumi.Input[int]] = None, - id: Optional[pulumi.Input[str]] = None, - updated_at: Optional[pulumi.Input[int]] = None, - updated_by: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] activation_url: Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - :param pulumi.Input[int] created_at: Time at which this recipient was created, in epoch milliseconds. - :param pulumi.Input[str] created_by: Username of recipient creator. - :param pulumi.Input[int] expiration_time: Expiration timestamp of the token in epoch milliseconds. - :param pulumi.Input[str] id: Unique ID of the recipient token. - :param pulumi.Input[int] updated_at: Time at which this recipient was updated, in epoch milliseconds. - :param pulumi.Input[str] updated_by: Username of recipient Token updater. - """ - if activation_url is not None: - pulumi.set(__self__, "activation_url", activation_url) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if expiration_time is not None: - pulumi.set(__self__, "expiration_time", expiration_time) - if id is not None: - pulumi.set(__self__, "id", id) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + destination_catalog: Optional[pulumi.Input[str]] = None, + destination_schema: Optional[pulumi.Input[str]] = None, + destination_table: Optional[pulumi.Input[str]] = None, + source_url: Optional[pulumi.Input[str]] = None, + table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgs']] = None): + if destination_catalog is not None: + pulumi.set(__self__, "destination_catalog", destination_catalog) + if destination_schema is not None: + pulumi.set(__self__, "destination_schema", destination_schema) + if destination_table is not None: + pulumi.set(__self__, "destination_table", destination_table) + if source_url is not None: + pulumi.set(__self__, "source_url", source_url) + if table_configuration is not None: + pulumi.set(__self__, "table_configuration", table_configuration) @property - @pulumi.getter(name="activationUrl") - def activation_url(self) -> Optional[pulumi.Input[str]]: - """ - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. - """ - return pulumi.get(self, "activation_url") + @pulumi.getter(name="destinationCatalog") + def destination_catalog(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_catalog") - @activation_url.setter - def activation_url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "activation_url", value) + @destination_catalog.setter + def destination_catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_catalog", value) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[pulumi.Input[int]]: - """ - Time at which this recipient was created, in epoch milliseconds. - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="destinationSchema") + def destination_schema(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_schema") - @created_at.setter - def created_at(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "created_at", value) + @destination_schema.setter + def destination_schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_schema", value) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[pulumi.Input[str]]: - """ - Username of recipient creator. - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="destinationTable") + def destination_table(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_table") - @created_by.setter - def created_by(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "created_by", value) + @destination_table.setter + def destination_table(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_table", value) @property - @pulumi.getter(name="expirationTime") - def expiration_time(self) -> Optional[pulumi.Input[int]]: - """ - Expiration timestamp of the token in epoch milliseconds. - """ - return pulumi.get(self, "expiration_time") + @pulumi.getter(name="sourceUrl") + def source_url(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_url") - @expiration_time.setter - def expiration_time(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "expiration_time", value) + @source_url.setter + def source_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_url", value) @property - @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: - """ - Unique ID of the recipient token. - """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "id", value) + @pulumi.getter(name="tableConfiguration") + def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgs']]: + return pulumi.get(self, "table_configuration") - @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[pulumi.Input[int]]: - """ - Time at which this recipient was updated, in epoch milliseconds. - """ - return pulumi.get(self, "updated_at") - - @updated_at.setter - def updated_at(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "updated_at", value) - - @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[pulumi.Input[str]]: - """ - Username of recipient Token updater. - """ - return pulumi.get(self, "updated_by") - - @updated_by.setter - def updated_by(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "updated_by", value) + @table_configuration.setter + def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectReportTableConfigurationArgs']]): + pulumi.set(self, "table_configuration", value) if not MYPY: - class RepoSparseCheckoutArgsDict(TypedDict): - patterns: pulumi.Input[Sequence[pulumi.Input[str]]] - """ - array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - - Addition or removal of the `sparse_checkout` configuration block will lead to recreation of the Git folder. - """ + class PipelineIngestionDefinitionObjectReportTableConfigurationArgsDict(TypedDict): + primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] + scd_type: NotRequired[pulumi.Input[str]] + sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - RepoSparseCheckoutArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionObjectReportTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class RepoSparseCheckoutArgs: +class PipelineIngestionDefinitionObjectReportTableConfigurationArgs: def __init__(__self__, *, - patterns: pulumi.Input[Sequence[pulumi.Input[str]]]): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] patterns: array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - - Addition or removal of the `sparse_checkout` configuration block will lead to recreation of the Git folder. - """ - pulumi.set(__self__, "patterns", patterns) + primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, + scd_type: Optional[pulumi.Input[str]] = None, + sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if primary_keys is not None: + pulumi.set(__self__, "primary_keys", primary_keys) + if salesforce_include_formula_fields is not None: + pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) + if scd_type is not None: + pulumi.set(__self__, "scd_type", scd_type) + if sequence_bies is not None: + pulumi.set(__self__, "sequence_bies", sequence_bies) @property - @pulumi.getter - def patterns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. + @pulumi.getter(name="primaryKeys") + def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "primary_keys") - Addition or removal of the `sparse_checkout` configuration block will lead to recreation of the Git folder. - """ - return pulumi.get(self, "patterns") + @primary_keys.setter + def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "primary_keys", value) - @patterns.setter - def patterns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "patterns", value) + @property + @pulumi.getter(name="salesforceIncludeFormulaFields") + def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "salesforce_include_formula_fields") + @salesforce_include_formula_fields.setter + def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "salesforce_include_formula_fields", value) -if not MYPY: - class RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgsDict(TypedDict): - status: pulumi.Input[str] - """ - The restrict workspace admins status for the workspace. - """ -elif False: - RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="scdType") + def scd_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "scd_type") -@pulumi.input_type -class RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs: - def __init__(__self__, *, - status: pulumi.Input[str]): - """ - :param pulumi.Input[str] status: The restrict workspace admins status for the workspace. - """ - pulumi.set(__self__, "status", status) + @scd_type.setter + def scd_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scd_type", value) @property - @pulumi.getter - def status(self) -> pulumi.Input[str]: - """ - The restrict workspace admins status for the workspace. - """ - return pulumi.get(self, "status") + @pulumi.getter(name="sequenceBies") + def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "sequence_bies") - @status.setter - def status(self, value: pulumi.Input[str]): - pulumi.set(self, "status", value) + @sequence_bies.setter + def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "sequence_bies", value) if not MYPY: - class SecretScopeKeyvaultMetadataArgsDict(TypedDict): - dns_name: pulumi.Input[str] - resource_id: pulumi.Input[str] + class PipelineIngestionDefinitionObjectSchemaArgsDict(TypedDict): + destination_catalog: NotRequired[pulumi.Input[str]] + destination_schema: NotRequired[pulumi.Input[str]] + source_catalog: NotRequired[pulumi.Input[str]] + source_schema: NotRequired[pulumi.Input[str]] + table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgsDict']] elif False: - SecretScopeKeyvaultMetadataArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionObjectSchemaArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SecretScopeKeyvaultMetadataArgs: +class PipelineIngestionDefinitionObjectSchemaArgs: def __init__(__self__, *, - dns_name: pulumi.Input[str], - resource_id: pulumi.Input[str]): - pulumi.set(__self__, "dns_name", dns_name) - pulumi.set(__self__, "resource_id", resource_id) + destination_catalog: Optional[pulumi.Input[str]] = None, + destination_schema: Optional[pulumi.Input[str]] = None, + source_catalog: Optional[pulumi.Input[str]] = None, + source_schema: Optional[pulumi.Input[str]] = None, + table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs']] = None): + if destination_catalog is not None: + pulumi.set(__self__, "destination_catalog", destination_catalog) + if destination_schema is not None: + pulumi.set(__self__, "destination_schema", destination_schema) + if source_catalog is not None: + pulumi.set(__self__, "source_catalog", source_catalog) + if source_schema is not None: + pulumi.set(__self__, "source_schema", source_schema) + if table_configuration is not None: + pulumi.set(__self__, "table_configuration", table_configuration) @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "dns_name") + @pulumi.getter(name="destinationCatalog") + def destination_catalog(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_catalog") - @dns_name.setter - def dns_name(self, value: pulumi.Input[str]): - pulumi.set(self, "dns_name", value) + @destination_catalog.setter + def destination_catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_catalog", value) @property - @pulumi.getter(name="resourceId") - def resource_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "resource_id") + @pulumi.getter(name="destinationSchema") + def destination_schema(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_schema") - @resource_id.setter - def resource_id(self, value: pulumi.Input[str]): - pulumi.set(self, "resource_id", value) + @destination_schema.setter + def destination_schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_schema", value) + @property + @pulumi.getter(name="sourceCatalog") + def source_catalog(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_catalog") -if not MYPY: - class ShareObjectArgsDict(TypedDict): - data_object_type: pulumi.Input[str] - """ - Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. - """ - name: pulumi.Input[str] - """ - Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. - """ - added_at: NotRequired[pulumi.Input[int]] - added_by: NotRequired[pulumi.Input[str]] - cdf_enabled: NotRequired[pulumi.Input[bool]] - """ - Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `history_data_sharing_status` can not be set. - """ - comment: NotRequired[pulumi.Input[str]] - """ - Description about the object. - """ - content: NotRequired[pulumi.Input[str]] - history_data_sharing_status: NotRequired[pulumi.Input[str]] - """ - Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The start_version should be less than or equal the current version of the object. When this field is set, field `cdf_enabled` can not be set. + @source_catalog.setter + def source_catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_catalog", value) - To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. - """ - partitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgsDict']]]] - shared_as: NotRequired[pulumi.Input[str]] - """ - A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `shared_as` name. The `shared_as` name must be unique within a Share. Change forces creation of a new resource. - """ - start_version: NotRequired[pulumi.Input[int]] - """ - The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. - """ - status: NotRequired[pulumi.Input[str]] - """ - Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. - """ - string_shared_as: NotRequired[pulumi.Input[str]] + @property + @pulumi.getter(name="sourceSchema") + def source_schema(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_schema") + + @source_schema.setter + def source_schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_schema", value) + + @property + @pulumi.getter(name="tableConfiguration") + def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs']]: + return pulumi.get(self, "table_configuration") + + @table_configuration.setter + def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs']]): + pulumi.set(self, "table_configuration", value) + + +if not MYPY: + class PipelineIngestionDefinitionObjectSchemaTableConfigurationArgsDict(TypedDict): + primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] + scd_type: NotRequired[pulumi.Input[str]] + sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - ShareObjectArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionObjectSchemaTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ShareObjectArgs: +class PipelineIngestionDefinitionObjectSchemaTableConfigurationArgs: def __init__(__self__, *, - data_object_type: pulumi.Input[str], - name: pulumi.Input[str], - added_at: Optional[pulumi.Input[int]] = None, - added_by: Optional[pulumi.Input[str]] = None, - cdf_enabled: Optional[pulumi.Input[bool]] = None, - comment: Optional[pulumi.Input[str]] = None, - content: Optional[pulumi.Input[str]] = None, - history_data_sharing_status: Optional[pulumi.Input[str]] = None, - partitions: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgs']]]] = None, - shared_as: Optional[pulumi.Input[str]] = None, - start_version: Optional[pulumi.Input[int]] = None, - status: Optional[pulumi.Input[str]] = None, - string_shared_as: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] data_object_type: Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. - :param pulumi.Input[str] name: Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. - :param pulumi.Input[bool] cdf_enabled: Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `history_data_sharing_status` can not be set. - :param pulumi.Input[str] comment: Description about the object. - :param pulumi.Input[str] history_data_sharing_status: Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The start_version should be less than or equal the current version of the object. When this field is set, field `cdf_enabled` can not be set. - - To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. - :param pulumi.Input[str] shared_as: A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `shared_as` name. The `shared_as` name must be unique within a Share. Change forces creation of a new resource. - :param pulumi.Input[int] start_version: The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. - :param pulumi.Input[str] status: Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. - """ - pulumi.set(__self__, "data_object_type", data_object_type) - pulumi.set(__self__, "name", name) - if added_at is not None: - pulumi.set(__self__, "added_at", added_at) - if added_by is not None: - pulumi.set(__self__, "added_by", added_by) - if cdf_enabled is not None: - pulumi.set(__self__, "cdf_enabled", cdf_enabled) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if content is not None: - pulumi.set(__self__, "content", content) - if history_data_sharing_status is not None: - pulumi.set(__self__, "history_data_sharing_status", history_data_sharing_status) - if partitions is not None: - pulumi.set(__self__, "partitions", partitions) - if shared_as is not None: - pulumi.set(__self__, "shared_as", shared_as) - if start_version is not None: - pulumi.set(__self__, "start_version", start_version) - if status is not None: - pulumi.set(__self__, "status", status) - if string_shared_as is not None: - pulumi.set(__self__, "string_shared_as", string_shared_as) + primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, + scd_type: Optional[pulumi.Input[str]] = None, + sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if primary_keys is not None: + pulumi.set(__self__, "primary_keys", primary_keys) + if salesforce_include_formula_fields is not None: + pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) + if scd_type is not None: + pulumi.set(__self__, "scd_type", scd_type) + if sequence_bies is not None: + pulumi.set(__self__, "sequence_bies", sequence_bies) @property - @pulumi.getter(name="dataObjectType") - def data_object_type(self) -> pulumi.Input[str]: - """ - Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. - """ - return pulumi.get(self, "data_object_type") + @pulumi.getter(name="primaryKeys") + def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "primary_keys") - @data_object_type.setter - def data_object_type(self, value: pulumi.Input[str]): - pulumi.set(self, "data_object_type", value) + @primary_keys.setter + def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "primary_keys", value) @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="salesforceIncludeFormulaFields") + def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "salesforce_include_formula_fields") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @salesforce_include_formula_fields.setter + def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "salesforce_include_formula_fields", value) @property - @pulumi.getter(name="addedAt") - def added_at(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "added_at") + @pulumi.getter(name="scdType") + def scd_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "scd_type") - @added_at.setter - def added_at(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "added_at", value) + @scd_type.setter + def scd_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scd_type", value) @property - @pulumi.getter(name="addedBy") - def added_by(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "added_by") - - @added_by.setter - def added_by(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "added_by", value) + @pulumi.getter(name="sequenceBies") + def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "sequence_bies") - @property - @pulumi.getter(name="cdfEnabled") - def cdf_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `history_data_sharing_status` can not be set. - """ - return pulumi.get(self, "cdf_enabled") + @sequence_bies.setter + def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "sequence_bies", value) - @cdf_enabled.setter - def cdf_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "cdf_enabled", value) - @property - @pulumi.getter - def comment(self) -> Optional[pulumi.Input[str]]: - """ - Description about the object. - """ - return pulumi.get(self, "comment") +if not MYPY: + class PipelineIngestionDefinitionObjectTableArgsDict(TypedDict): + destination_catalog: NotRequired[pulumi.Input[str]] + destination_schema: NotRequired[pulumi.Input[str]] + destination_table: NotRequired[pulumi.Input[str]] + source_catalog: NotRequired[pulumi.Input[str]] + source_schema: NotRequired[pulumi.Input[str]] + source_table: NotRequired[pulumi.Input[str]] + table_configuration: NotRequired[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgsDict']] +elif False: + PipelineIngestionDefinitionObjectTableArgsDict: TypeAlias = Mapping[str, Any] - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) +@pulumi.input_type +class PipelineIngestionDefinitionObjectTableArgs: + def __init__(__self__, *, + destination_catalog: Optional[pulumi.Input[str]] = None, + destination_schema: Optional[pulumi.Input[str]] = None, + destination_table: Optional[pulumi.Input[str]] = None, + source_catalog: Optional[pulumi.Input[str]] = None, + source_schema: Optional[pulumi.Input[str]] = None, + source_table: Optional[pulumi.Input[str]] = None, + table_configuration: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgs']] = None): + if destination_catalog is not None: + pulumi.set(__self__, "destination_catalog", destination_catalog) + if destination_schema is not None: + pulumi.set(__self__, "destination_schema", destination_schema) + if destination_table is not None: + pulumi.set(__self__, "destination_table", destination_table) + if source_catalog is not None: + pulumi.set(__self__, "source_catalog", source_catalog) + if source_schema is not None: + pulumi.set(__self__, "source_schema", source_schema) + if source_table is not None: + pulumi.set(__self__, "source_table", source_table) + if table_configuration is not None: + pulumi.set(__self__, "table_configuration", table_configuration) @property - @pulumi.getter - def content(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "content") + @pulumi.getter(name="destinationCatalog") + def destination_catalog(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_catalog") - @content.setter - def content(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "content", value) + @destination_catalog.setter + def destination_catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_catalog", value) @property - @pulumi.getter(name="historyDataSharingStatus") - def history_data_sharing_status(self) -> Optional[pulumi.Input[str]]: - """ - Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The start_version should be less than or equal the current version of the object. When this field is set, field `cdf_enabled` can not be set. - - To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. - """ - return pulumi.get(self, "history_data_sharing_status") + @pulumi.getter(name="destinationSchema") + def destination_schema(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_schema") - @history_data_sharing_status.setter - def history_data_sharing_status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "history_data_sharing_status", value) + @destination_schema.setter + def destination_schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_schema", value) @property - @pulumi.getter - def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgs']]]]: - return pulumi.get(self, "partitions") + @pulumi.getter(name="destinationTable") + def destination_table(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "destination_table") - @partitions.setter - def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgs']]]]): - pulumi.set(self, "partitions", value) + @destination_table.setter + def destination_table(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "destination_table", value) @property - @pulumi.getter(name="sharedAs") - def shared_as(self) -> Optional[pulumi.Input[str]]: - """ - A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `shared_as` name. The `shared_as` name must be unique within a Share. Change forces creation of a new resource. - """ - return pulumi.get(self, "shared_as") + @pulumi.getter(name="sourceCatalog") + def source_catalog(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_catalog") - @shared_as.setter - def shared_as(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "shared_as", value) + @source_catalog.setter + def source_catalog(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_catalog", value) @property - @pulumi.getter(name="startVersion") - def start_version(self) -> Optional[pulumi.Input[int]]: - """ - The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. - """ - return pulumi.get(self, "start_version") + @pulumi.getter(name="sourceSchema") + def source_schema(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_schema") - @start_version.setter - def start_version(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "start_version", value) + @source_schema.setter + def source_schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_schema", value) @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input[str]]: - """ - Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. - """ - return pulumi.get(self, "status") + @pulumi.getter(name="sourceTable") + def source_table(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "source_table") - @status.setter - def status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "status", value) + @source_table.setter + def source_table(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_table", value) @property - @pulumi.getter(name="stringSharedAs") - def string_shared_as(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "string_shared_as") + @pulumi.getter(name="tableConfiguration") + def table_configuration(self) -> Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgs']]: + return pulumi.get(self, "table_configuration") - @string_shared_as.setter - def string_shared_as(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "string_shared_as", value) + @table_configuration.setter + def table_configuration(self, value: Optional[pulumi.Input['PipelineIngestionDefinitionObjectTableTableConfigurationArgs']]): + pulumi.set(self, "table_configuration", value) if not MYPY: - class ShareObjectPartitionArgsDict(TypedDict): - values: NotRequired[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgsDict']]]] - """ - The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. - """ -elif False: - ShareObjectPartitionArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class ShareObjectPartitionArgs: - def __init__(__self__, *, - values: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]] values: The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. - """ - if values is not None: - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]]]: - """ - The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. - """ - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]]]): - pulumi.set(self, "values", value) - - -if not MYPY: - class ShareObjectPartitionValueArgsDict(TypedDict): - name: pulumi.Input[str] - """ - The name of the partition column. - """ - op: pulumi.Input[str] - """ - The operator to apply for the value, one of: `EQUAL`, `LIKE` - """ - recipient_property_key: NotRequired[pulumi.Input[str]] - """ - The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. - """ - value: NotRequired[pulumi.Input[str]] - """ - The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. - """ + class PipelineIngestionDefinitionObjectTableTableConfigurationArgsDict(TypedDict): + primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] + scd_type: NotRequired[pulumi.Input[str]] + sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - ShareObjectPartitionValueArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionObjectTableTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class ShareObjectPartitionValueArgs: +class PipelineIngestionDefinitionObjectTableTableConfigurationArgs: def __init__(__self__, *, - name: pulumi.Input[str], - op: pulumi.Input[str], - recipient_property_key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] name: The name of the partition column. - :param pulumi.Input[str] op: The operator to apply for the value, one of: `EQUAL`, `LIKE` - :param pulumi.Input[str] recipient_property_key: The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. - :param pulumi.Input[str] value: The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "op", op) - if recipient_property_key is not None: - pulumi.set(__self__, "recipient_property_key", recipient_property_key) - if value is not None: - pulumi.set(__self__, "value", value) + primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, + scd_type: Optional[pulumi.Input[str]] = None, + sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if primary_keys is not None: + pulumi.set(__self__, "primary_keys", primary_keys) + if salesforce_include_formula_fields is not None: + pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) + if scd_type is not None: + pulumi.set(__self__, "scd_type", scd_type) + if sequence_bies is not None: + pulumi.set(__self__, "sequence_bies", sequence_bies) @property - @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - The name of the partition column. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="primaryKeys") + def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "primary_keys") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @primary_keys.setter + def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "primary_keys", value) @property - @pulumi.getter - def op(self) -> pulumi.Input[str]: - """ - The operator to apply for the value, one of: `EQUAL`, `LIKE` - """ - return pulumi.get(self, "op") + @pulumi.getter(name="salesforceIncludeFormulaFields") + def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "salesforce_include_formula_fields") - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) + @salesforce_include_formula_fields.setter + def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "salesforce_include_formula_fields", value) @property - @pulumi.getter(name="recipientPropertyKey") - def recipient_property_key(self) -> Optional[pulumi.Input[str]]: - """ - The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. - """ - return pulumi.get(self, "recipient_property_key") + @pulumi.getter(name="scdType") + def scd_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "scd_type") - @recipient_property_key.setter - def recipient_property_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "recipient_property_key", value) + @scd_type.setter + def scd_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scd_type", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. - """ - return pulumi.get(self, "value") + @pulumi.getter(name="sequenceBies") + def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "sequence_bies") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @sequence_bies.setter + def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "sequence_bies", value) if not MYPY: - class SqlAlertOptionsArgsDict(TypedDict): - column: pulumi.Input[str] - """ - Name of column in the query result to compare in alert evaluation. - """ - op: pulumi.Input[str] - """ - Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) - """ - value: pulumi.Input[str] - """ - Value used to compare in alert evaluation. - """ - custom_body: NotRequired[pulumi.Input[str]] - """ - Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - """ - custom_subject: NotRequired[pulumi.Input[str]] - """ - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - """ - empty_result_state: NotRequired[pulumi.Input[str]] - """ - State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. - """ - muted: NotRequired[pulumi.Input[bool]] - """ - Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. - """ + class PipelineIngestionDefinitionTableConfigurationArgsDict(TypedDict): + primary_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + salesforce_include_formula_fields: NotRequired[pulumi.Input[bool]] + scd_type: NotRequired[pulumi.Input[str]] + sequence_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - SqlAlertOptionsArgsDict: TypeAlias = Mapping[str, Any] + PipelineIngestionDefinitionTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlAlertOptionsArgs: +class PipelineIngestionDefinitionTableConfigurationArgs: def __init__(__self__, *, - column: pulumi.Input[str], - op: pulumi.Input[str], - value: pulumi.Input[str], - custom_body: Optional[pulumi.Input[str]] = None, - custom_subject: Optional[pulumi.Input[str]] = None, - empty_result_state: Optional[pulumi.Input[str]] = None, - muted: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] column: Name of column in the query result to compare in alert evaluation. - :param pulumi.Input[str] op: Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) - :param pulumi.Input[str] value: Value used to compare in alert evaluation. - :param pulumi.Input[str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - :param pulumi.Input[str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - :param pulumi.Input[str] empty_result_state: State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. - :param pulumi.Input[bool] muted: Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. - """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) - if custom_body is not None: - pulumi.set(__self__, "custom_body", custom_body) - if custom_subject is not None: - pulumi.set(__self__, "custom_subject", custom_subject) - if empty_result_state is not None: - pulumi.set(__self__, "empty_result_state", empty_result_state) - if muted is not None: - pulumi.set(__self__, "muted", muted) - - @property - @pulumi.getter - def column(self) -> pulumi.Input[str]: - """ - Name of column in the query result to compare in alert evaluation. - """ - return pulumi.get(self, "column") - - @column.setter - def column(self, value: pulumi.Input[str]): - pulumi.set(self, "column", value) - - @property - @pulumi.getter - def op(self) -> pulumi.Input[str]: - """ - Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) - """ - return pulumi.get(self, "op") - - @op.setter - def op(self, value: pulumi.Input[str]): - pulumi.set(self, "op", value) - - @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: - """ - Value used to compare in alert evaluation. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) + primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + salesforce_include_formula_fields: Optional[pulumi.Input[bool]] = None, + scd_type: Optional[pulumi.Input[str]] = None, + sequence_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if primary_keys is not None: + pulumi.set(__self__, "primary_keys", primary_keys) + if salesforce_include_formula_fields is not None: + pulumi.set(__self__, "salesforce_include_formula_fields", salesforce_include_formula_fields) + if scd_type is not None: + pulumi.set(__self__, "scd_type", scd_type) + if sequence_bies is not None: + pulumi.set(__self__, "sequence_bies", sequence_bies) @property - @pulumi.getter(name="customBody") - def custom_body(self) -> Optional[pulumi.Input[str]]: - """ - Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - """ - return pulumi.get(self, "custom_body") + @pulumi.getter(name="primaryKeys") + def primary_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "primary_keys") - @custom_body.setter - def custom_body(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_body", value) + @primary_keys.setter + def primary_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "primary_keys", value) @property - @pulumi.getter(name="customSubject") - def custom_subject(self) -> Optional[pulumi.Input[str]]: - """ - Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. - """ - return pulumi.get(self, "custom_subject") + @pulumi.getter(name="salesforceIncludeFormulaFields") + def salesforce_include_formula_fields(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "salesforce_include_formula_fields") - @custom_subject.setter - def custom_subject(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_subject", value) + @salesforce_include_formula_fields.setter + def salesforce_include_formula_fields(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "salesforce_include_formula_fields", value) @property - @pulumi.getter(name="emptyResultState") - def empty_result_state(self) -> Optional[pulumi.Input[str]]: - """ - State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. - """ - return pulumi.get(self, "empty_result_state") + @pulumi.getter(name="scdType") + def scd_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "scd_type") - @empty_result_state.setter - def empty_result_state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "empty_result_state", value) + @scd_type.setter + def scd_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scd_type", value) @property - @pulumi.getter - def muted(self) -> Optional[pulumi.Input[bool]]: - """ - Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. - """ - return pulumi.get(self, "muted") + @pulumi.getter(name="sequenceBies") + def sequence_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "sequence_bies") - @muted.setter - def muted(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "muted", value) + @sequence_bies.setter + def sequence_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "sequence_bies", value) if not MYPY: - class SqlEndpointChannelArgsDict(TypedDict): - dbsql_version: NotRequired[pulumi.Input[str]] - name: NotRequired[pulumi.Input[str]] - """ - Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. - """ + class PipelineLatestUpdateArgsDict(TypedDict): + creation_time: NotRequired[pulumi.Input[str]] + state: NotRequired[pulumi.Input[str]] + update_id: NotRequired[pulumi.Input[str]] elif False: - SqlEndpointChannelArgsDict: TypeAlias = Mapping[str, Any] + PipelineLatestUpdateArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlEndpointChannelArgs: +class PipelineLatestUpdateArgs: def __init__(__self__, *, - dbsql_version: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] name: Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. - """ - if dbsql_version is not None: - pulumi.set(__self__, "dbsql_version", dbsql_version) - if name is not None: - pulumi.set(__self__, "name", name) + creation_time: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + update_id: Optional[pulumi.Input[str]] = None): + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) + if state is not None: + pulumi.set(__self__, "state", state) + if update_id is not None: + pulumi.set(__self__, "update_id", update_id) @property - @pulumi.getter(name="dbsqlVersion") - def dbsql_version(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dbsql_version") + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "creation_time") - @dbsql_version.setter - def dbsql_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dbsql_version", value) + @creation_time.setter + def creation_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creation_time", value) @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. - """ - return pulumi.get(self, "name") + def state(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "state") - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="updateId") + def update_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "update_id") + + @update_id.setter + def update_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_id", value) if not MYPY: - class SqlEndpointHealthArgsDict(TypedDict): - details: NotRequired[pulumi.Input[str]] - failure_reason: NotRequired[pulumi.Input['SqlEndpointHealthFailureReasonArgsDict']] - message: NotRequired[pulumi.Input[str]] - status: NotRequired[pulumi.Input[str]] - summary: NotRequired[pulumi.Input[str]] + class PipelineLibraryArgsDict(TypedDict): + file: NotRequired[pulumi.Input['PipelineLibraryFileArgsDict']] + jar: NotRequired[pulumi.Input[str]] + maven: NotRequired[pulumi.Input['PipelineLibraryMavenArgsDict']] + notebook: NotRequired[pulumi.Input['PipelineLibraryNotebookArgsDict']] + whl: NotRequired[pulumi.Input[str]] elif False: - SqlEndpointHealthArgsDict: TypeAlias = Mapping[str, Any] + PipelineLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlEndpointHealthArgs: +class PipelineLibraryArgs: def __init__(__self__, *, - details: Optional[pulumi.Input[str]] = None, - failure_reason: Optional[pulumi.Input['SqlEndpointHealthFailureReasonArgs']] = None, - message: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input[str]] = None, - summary: Optional[pulumi.Input[str]] = None): - if details is not None: - pulumi.set(__self__, "details", details) - if failure_reason is not None: - pulumi.set(__self__, "failure_reason", failure_reason) - if message is not None: - pulumi.set(__self__, "message", message) - if status is not None: - pulumi.set(__self__, "status", status) - if summary is not None: - pulumi.set(__self__, "summary", summary) + file: Optional[pulumi.Input['PipelineLibraryFileArgs']] = None, + jar: Optional[pulumi.Input[str]] = None, + maven: Optional[pulumi.Input['PipelineLibraryMavenArgs']] = None, + notebook: Optional[pulumi.Input['PipelineLibraryNotebookArgs']] = None, + whl: Optional[pulumi.Input[str]] = None): + if file is not None: + pulumi.set(__self__, "file", file) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if notebook is not None: + pulumi.set(__self__, "notebook", notebook) + if whl is not None: + warnings.warn("""The 'whl' field is deprecated""", DeprecationWarning) + pulumi.log.warn("""whl is deprecated: The 'whl' field is deprecated""") + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def details(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "details") + def file(self) -> Optional[pulumi.Input['PipelineLibraryFileArgs']]: + return pulumi.get(self, "file") - @details.setter - def details(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "details", value) + @file.setter + def file(self, value: Optional[pulumi.Input['PipelineLibraryFileArgs']]): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="failureReason") - def failure_reason(self) -> Optional[pulumi.Input['SqlEndpointHealthFailureReasonArgs']]: - return pulumi.get(self, "failure_reason") + @pulumi.getter + def jar(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "jar") - @failure_reason.setter - def failure_reason(self, value: Optional[pulumi.Input['SqlEndpointHealthFailureReasonArgs']]): - pulumi.set(self, "failure_reason", value) + @jar.setter + def jar(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "jar", value) @property @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "message") + def maven(self) -> Optional[pulumi.Input['PipelineLibraryMavenArgs']]: + return pulumi.get(self, "maven") - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) + @maven.setter + def maven(self, value: Optional[pulumi.Input['PipelineLibraryMavenArgs']]): + pulumi.set(self, "maven", value) @property @pulumi.getter - def status(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "status") + def notebook(self) -> Optional[pulumi.Input['PipelineLibraryNotebookArgs']]: + return pulumi.get(self, "notebook") - @status.setter - def status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "status", value) + @notebook.setter + def notebook(self, value: Optional[pulumi.Input['PipelineLibraryNotebookArgs']]): + pulumi.set(self, "notebook", value) @property @pulumi.getter - def summary(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "summary") + @_utilities.deprecated("""The 'whl' field is deprecated""") + def whl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "whl") - @summary.setter - def summary(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "summary", value) + @whl.setter + def whl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "whl", value) if not MYPY: - class SqlEndpointHealthFailureReasonArgsDict(TypedDict): - code: NotRequired[pulumi.Input[str]] - parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] - type: NotRequired[pulumi.Input[str]] + class PipelineLibraryFileArgsDict(TypedDict): + path: NotRequired[pulumi.Input[str]] elif False: - SqlEndpointHealthFailureReasonArgsDict: TypeAlias = Mapping[str, Any] + PipelineLibraryFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlEndpointHealthFailureReasonArgs: +class PipelineLibraryFileArgs: def __init__(__self__, *, - code: Optional[pulumi.Input[str]] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - type: Optional[pulumi.Input[str]] = None): - if code is not None: - pulumi.set(__self__, "code", code) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if type is not None: - pulumi.set(__self__, "type", type) + path: Optional[pulumi.Input[str]] = None): + if path is not None: + pulumi.set(__self__, "path", path) @property @pulumi.getter - def code(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "code") - - @code.setter - def code(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "code", value) + def path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "path") - @property + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +if not MYPY: + class PipelineLibraryMavenArgsDict(TypedDict): + coordinates: pulumi.Input[str] + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + repo: NotRequired[pulumi.Input[str]] +elif False: + PipelineLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipelineLibraryMavenArgs: + def __init__(__self__, *, + coordinates: pulumi.Input[str], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + repo: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) + + @property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "parameters") + def coordinates(self) -> pulumi.Input[str]: + return pulumi.get(self, "coordinates") - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "parameters", value) + @coordinates.setter + def coordinates(self, value: pulumi.Input[str]): + pulumi.set(self, "coordinates", value) @property @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type") + def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "exclusions") - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) + @exclusions.setter + def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "exclusions", value) + + @property + @pulumi.getter + def repo(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "repo") + + @repo.setter + def repo(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "repo", value) if not MYPY: - class SqlEndpointOdbcParamsArgsDict(TypedDict): - hostname: NotRequired[pulumi.Input[str]] + class PipelineLibraryNotebookArgsDict(TypedDict): path: NotRequired[pulumi.Input[str]] - port: NotRequired[pulumi.Input[int]] - protocol: NotRequired[pulumi.Input[str]] elif False: - SqlEndpointOdbcParamsArgsDict: TypeAlias = Mapping[str, Any] + PipelineLibraryNotebookArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlEndpointOdbcParamsArgs: +class PipelineLibraryNotebookArgs: def __init__(__self__, *, - hostname: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - protocol: Optional[pulumi.Input[str]] = None): - if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + path: Optional[pulumi.Input[str]] = None): if path is not None: pulumi.set(__self__, "path", path) - if port is not None: - pulumi.set(__self__, "port", port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - - @property - @pulumi.getter - def hostname(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "hostname") - - @hostname.setter - def hostname(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "hostname", value) @property @pulumi.getter @@ -31257,1864 +30362,1869 @@ def path(self) -> Optional[pulumi.Input[str]]: def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) + +if not MYPY: + class PipelineNotificationArgsDict(TypedDict): + alerts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list + * `on-update-success` - a pipeline update completes successfully. + * `on-update-failure` - a pipeline update fails with a retryable error. + * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. + * `on-flow-failure` - a single data flow fails. + """ + email_recipients: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + non-empty list of emails to notify. + """ +elif False: + PipelineNotificationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipelineNotificationArgs: + def __init__(__self__, *, + alerts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + email_recipients: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] alerts: non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list + * `on-update-success` - a pipeline update completes successfully. + * `on-update-failure` - a pipeline update fails with a retryable error. + * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. + * `on-flow-failure` - a single data flow fails. + :param pulumi.Input[Sequence[pulumi.Input[str]]] email_recipients: non-empty list of emails to notify. + """ + if alerts is not None: + pulumi.set(__self__, "alerts", alerts) + if email_recipients is not None: + pulumi.set(__self__, "email_recipients", email_recipients) + @property @pulumi.getter - def port(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "port") + def alerts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + non-empty list of alert types. Right now following alert types are supported, consult documentation for actual list + * `on-update-success` - a pipeline update completes successfully. + * `on-update-failure` - a pipeline update fails with a retryable error. + * `on-update-fatal-failure` - a pipeline update fails with a non-retryable (fatal) error. + * `on-flow-failure` - a single data flow fails. + """ + return pulumi.get(self, "alerts") - @port.setter - def port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "port", value) + @alerts.setter + def alerts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "alerts", value) @property - @pulumi.getter - def protocol(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "protocol") + @pulumi.getter(name="emailRecipients") + def email_recipients(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + non-empty list of emails to notify. + """ + return pulumi.get(self, "email_recipients") - @protocol.setter - def protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "protocol", value) + @email_recipients.setter + def email_recipients(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "email_recipients", value) if not MYPY: - class SqlEndpointTagsArgsDict(TypedDict): - custom_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgsDict']]]] + class PipelineRestartWindowArgsDict(TypedDict): + start_hour: pulumi.Input[int] + days_of_weeks: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + time_zone_id: NotRequired[pulumi.Input[str]] elif False: - SqlEndpointTagsArgsDict: TypeAlias = Mapping[str, Any] + PipelineRestartWindowArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlEndpointTagsArgs: +class PipelineRestartWindowArgs: def __init__(__self__, *, - custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]]] = None): - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) + start_hour: pulumi.Input[int], + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_zone_id: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "start_hour", start_hour) + if days_of_weeks is not None: + pulumi.set(__self__, "days_of_weeks", days_of_weeks) + if time_zone_id is not None: + pulumi.set(__self__, "time_zone_id", time_zone_id) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="startHour") + def start_hour(self) -> pulumi.Input[int]: + return pulumi.get(self, "start_hour") - @custom_tags.setter - def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]]]): - pulumi.set(self, "custom_tags", value) + @start_hour.setter + def start_hour(self, value: pulumi.Input[int]): + pulumi.set(self, "start_hour", value) + + @property + @pulumi.getter(name="daysOfWeeks") + def days_of_weeks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "days_of_weeks") + + @days_of_weeks.setter + def days_of_weeks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "days_of_weeks", value) + + @property + @pulumi.getter(name="timeZoneId") + def time_zone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "time_zone_id") + + @time_zone_id.setter + def time_zone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_zone_id", value) if not MYPY: - class SqlEndpointTagsCustomTagArgsDict(TypedDict): - key: pulumi.Input[str] - value: pulumi.Input[str] + class PipelineTriggerArgsDict(TypedDict): + cron: NotRequired[pulumi.Input['PipelineTriggerCronArgsDict']] + manual: NotRequired[pulumi.Input['PipelineTriggerManualArgsDict']] elif False: - SqlEndpointTagsCustomTagArgsDict: TypeAlias = Mapping[str, Any] + PipelineTriggerArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlEndpointTagsCustomTagArgs: +class PipelineTriggerArgs: def __init__(__self__, *, - key: pulumi.Input[str], - value: pulumi.Input[str]): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + cron: Optional[pulumi.Input['PipelineTriggerCronArgs']] = None, + manual: Optional[pulumi.Input['PipelineTriggerManualArgs']] = None): + if cron is not None: + pulumi.set(__self__, "cron", cron) + if manual is not None: + pulumi.set(__self__, "manual", manual) @property @pulumi.getter - def key(self) -> pulumi.Input[str]: - return pulumi.get(self, "key") + def cron(self) -> Optional[pulumi.Input['PipelineTriggerCronArgs']]: + return pulumi.get(self, "cron") - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) + @cron.setter + def cron(self, value: Optional[pulumi.Input['PipelineTriggerCronArgs']]): + pulumi.set(self, "cron", value) @property @pulumi.getter - def value(self) -> pulumi.Input[str]: - return pulumi.get(self, "value") + def manual(self) -> Optional[pulumi.Input['PipelineTriggerManualArgs']]: + return pulumi.get(self, "manual") - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) + @manual.setter + def manual(self, value: Optional[pulumi.Input['PipelineTriggerManualArgs']]): + pulumi.set(self, "manual", value) if not MYPY: - class SqlPermissionsPrivilegeAssignmentArgsDict(TypedDict): - principal: pulumi.Input[str] - """ - `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. - """ - privileges: pulumi.Input[Sequence[pulumi.Input[str]]] + class PipelineTriggerCronArgsDict(TypedDict): + quartz_cron_schedule: NotRequired[pulumi.Input[str]] + timezone_id: NotRequired[pulumi.Input[str]] elif False: - SqlPermissionsPrivilegeAssignmentArgsDict: TypeAlias = Mapping[str, Any] + PipelineTriggerCronArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlPermissionsPrivilegeAssignmentArgs: +class PipelineTriggerCronArgs: def __init__(__self__, *, - principal: pulumi.Input[str], - privileges: pulumi.Input[Sequence[pulumi.Input[str]]]): - """ - :param pulumi.Input[str] principal: `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. - """ - pulumi.set(__self__, "principal", principal) - pulumi.set(__self__, "privileges", privileges) + quartz_cron_schedule: Optional[pulumi.Input[str]] = None, + timezone_id: Optional[pulumi.Input[str]] = None): + if quartz_cron_schedule is not None: + pulumi.set(__self__, "quartz_cron_schedule", quartz_cron_schedule) + if timezone_id is not None: + pulumi.set(__self__, "timezone_id", timezone_id) @property - @pulumi.getter - def principal(self) -> pulumi.Input[str]: - """ - `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. - """ - return pulumi.get(self, "principal") + @pulumi.getter(name="quartzCronSchedule") + def quartz_cron_schedule(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "quartz_cron_schedule") - @principal.setter - def principal(self, value: pulumi.Input[str]): - pulumi.set(self, "principal", value) + @quartz_cron_schedule.setter + def quartz_cron_schedule(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "quartz_cron_schedule", value) @property - @pulumi.getter - def privileges(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "privileges") + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "timezone_id") - @privileges.setter - def privileges(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "privileges", value) + @timezone_id.setter + def timezone_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "timezone_id", value) if not MYPY: - class SqlQueryParameterArgsDict(TypedDict): + class PipelineTriggerManualArgsDict(TypedDict): + pass +elif False: + PipelineTriggerManualArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipelineTriggerManualArgs: + def __init__(__self__): + pass + + +if not MYPY: + class QualityMonitorCustomMetricArgsDict(TypedDict): + definition: pulumi.Input[str] + """ + [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + """ + input_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Columns on the monitored table to apply the custom metrics to. + """ name: pulumi.Input[str] """ - The literal parameter marker that appears between double curly braces in the query text. - Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. - - For `text`, `number`, `date`, `datetime`, `datetimesec` block + Name of the custom metric. """ - date: NotRequired[pulumi.Input['SqlQueryParameterDateArgsDict']] - date_range: NotRequired[pulumi.Input['SqlQueryParameterDateRangeArgsDict']] - datetime: NotRequired[pulumi.Input['SqlQueryParameterDatetimeArgsDict']] - datetime_range: NotRequired[pulumi.Input['SqlQueryParameterDatetimeRangeArgsDict']] - datetimesec: NotRequired[pulumi.Input['SqlQueryParameterDatetimesecArgsDict']] - datetimesec_range: NotRequired[pulumi.Input['SqlQueryParameterDatetimesecRangeArgsDict']] - enum: NotRequired[pulumi.Input['SqlQueryParameterEnumArgsDict']] - number: NotRequired[pulumi.Input['SqlQueryParameterNumberArgsDict']] - query: NotRequired[pulumi.Input['SqlQueryParameterQueryArgsDict']] + output_data_type: pulumi.Input[str] """ - The text of the query to be run. + The output type of the custom metric. """ - text: NotRequired[pulumi.Input['SqlQueryParameterTextArgsDict']] - title: NotRequired[pulumi.Input[str]] + type: pulumi.Input[str] """ - The text displayed in a parameter picking widget. + The type of the custom metric. """ elif False: - SqlQueryParameterArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorCustomMetricArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterArgs: +class QualityMonitorCustomMetricArgs: def __init__(__self__, *, + definition: pulumi.Input[str], + input_columns: pulumi.Input[Sequence[pulumi.Input[str]]], name: pulumi.Input[str], - date: Optional[pulumi.Input['SqlQueryParameterDateArgs']] = None, - date_range: Optional[pulumi.Input['SqlQueryParameterDateRangeArgs']] = None, - datetime: Optional[pulumi.Input['SqlQueryParameterDatetimeArgs']] = None, - datetime_range: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeArgs']] = None, - datetimesec: Optional[pulumi.Input['SqlQueryParameterDatetimesecArgs']] = None, - datetimesec_range: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeArgs']] = None, - enum: Optional[pulumi.Input['SqlQueryParameterEnumArgs']] = None, - number: Optional[pulumi.Input['SqlQueryParameterNumberArgs']] = None, - query: Optional[pulumi.Input['SqlQueryParameterQueryArgs']] = None, - text: Optional[pulumi.Input['SqlQueryParameterTextArgs']] = None, - title: Optional[pulumi.Input[str]] = None): + output_data_type: pulumi.Input[str], + type: pulumi.Input[str]): """ - :param pulumi.Input[str] name: The literal parameter marker that appears between double curly braces in the query text. - Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. - - For `text`, `number`, `date`, `datetime`, `datetimesec` block - :param pulumi.Input['SqlQueryParameterQueryArgs'] query: The text of the query to be run. - :param pulumi.Input[str] title: The text displayed in a parameter picking widget. + :param pulumi.Input[str] definition: [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) + :param pulumi.Input[Sequence[pulumi.Input[str]]] input_columns: Columns on the monitored table to apply the custom metrics to. + :param pulumi.Input[str] name: Name of the custom metric. + :param pulumi.Input[str] output_data_type: The output type of the custom metric. + :param pulumi.Input[str] type: The type of the custom metric. """ + pulumi.set(__self__, "definition", definition) + pulumi.set(__self__, "input_columns", input_columns) pulumi.set(__self__, "name", name) - if date is not None: - pulumi.set(__self__, "date", date) - if date_range is not None: - pulumi.set(__self__, "date_range", date_range) - if datetime is not None: - pulumi.set(__self__, "datetime", datetime) - if datetime_range is not None: - pulumi.set(__self__, "datetime_range", datetime_range) - if datetimesec is not None: - pulumi.set(__self__, "datetimesec", datetimesec) - if datetimesec_range is not None: - pulumi.set(__self__, "datetimesec_range", datetimesec_range) - if enum is not None: - pulumi.set(__self__, "enum", enum) - if number is not None: - pulumi.set(__self__, "number", number) - if query is not None: - pulumi.set(__self__, "query", query) - if text is not None: - pulumi.set(__self__, "text", text) - if title is not None: - pulumi.set(__self__, "title", title) + pulumi.set(__self__, "output_data_type", output_data_type) + pulumi.set(__self__, "type", type) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: + def definition(self) -> pulumi.Input[str]: """ - The literal parameter marker that appears between double curly braces in the query text. - Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. - - For `text`, `number`, `date`, `datetime`, `datetimesec` block + [create metric definition](https://docs.databricks.com/en/lakehouse-monitoring/custom-metrics.html#create-definition) """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def date(self) -> Optional[pulumi.Input['SqlQueryParameterDateArgs']]: - return pulumi.get(self, "date") + return pulumi.get(self, "definition") - @date.setter - def date(self, value: Optional[pulumi.Input['SqlQueryParameterDateArgs']]): - pulumi.set(self, "date", value) + @definition.setter + def definition(self, value: pulumi.Input[str]): + pulumi.set(self, "definition", value) @property - @pulumi.getter(name="dateRange") - def date_range(self) -> Optional[pulumi.Input['SqlQueryParameterDateRangeArgs']]: - return pulumi.get(self, "date_range") + @pulumi.getter(name="inputColumns") + def input_columns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Columns on the monitored table to apply the custom metrics to. + """ + return pulumi.get(self, "input_columns") - @date_range.setter - def date_range(self, value: Optional[pulumi.Input['SqlQueryParameterDateRangeArgs']]): - pulumi.set(self, "date_range", value) + @input_columns.setter + def input_columns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "input_columns", value) @property @pulumi.getter - def datetime(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimeArgs']]: - return pulumi.get(self, "datetime") + def name(self) -> pulumi.Input[str]: + """ + Name of the custom metric. + """ + return pulumi.get(self, "name") - @datetime.setter - def datetime(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeArgs']]): - pulumi.set(self, "datetime", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="datetimeRange") - def datetime_range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimeRangeArgs']]: - return pulumi.get(self, "datetime_range") + @pulumi.getter(name="outputDataType") + def output_data_type(self) -> pulumi.Input[str]: + """ + The output type of the custom metric. + """ + return pulumi.get(self, "output_data_type") - @datetime_range.setter - def datetime_range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeArgs']]): - pulumi.set(self, "datetime_range", value) + @output_data_type.setter + def output_data_type(self, value: pulumi.Input[str]): + pulumi.set(self, "output_data_type", value) @property @pulumi.getter - def datetimesec(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimesecArgs']]: - return pulumi.get(self, "datetimesec") - - @datetimesec.setter - def datetimesec(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecArgs']]): - pulumi.set(self, "datetimesec", value) + def type(self) -> pulumi.Input[str]: + """ + The type of the custom metric. + """ + return pulumi.get(self, "type") - @property - @pulumi.getter(name="datetimesecRange") - def datetimesec_range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeArgs']]: - return pulumi.get(self, "datetimesec_range") + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) - @datetimesec_range.setter - def datetimesec_range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeArgs']]): - pulumi.set(self, "datetimesec_range", value) - @property - @pulumi.getter - def enum(self) -> Optional[pulumi.Input['SqlQueryParameterEnumArgs']]: - return pulumi.get(self, "enum") +if not MYPY: + class QualityMonitorDataClassificationConfigArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] +elif False: + QualityMonitorDataClassificationConfigArgsDict: TypeAlias = Mapping[str, Any] - @enum.setter - def enum(self, value: Optional[pulumi.Input['SqlQueryParameterEnumArgs']]): - pulumi.set(self, "enum", value) +@pulumi.input_type +class QualityMonitorDataClassificationConfigArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter - def number(self) -> Optional[pulumi.Input['SqlQueryParameterNumberArgs']]: - return pulumi.get(self, "number") + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") - @number.setter - def number(self, value: Optional[pulumi.Input['SqlQueryParameterNumberArgs']]): - pulumi.set(self, "number", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) - @property - @pulumi.getter - def query(self) -> Optional[pulumi.Input['SqlQueryParameterQueryArgs']]: + +if not MYPY: + class QualityMonitorInferenceLogArgsDict(TypedDict): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]] """ - The text of the query to be run. + List of granularities to use when aggregating data into time windows based on their timestamp. """ - return pulumi.get(self, "query") - - @query.setter - def query(self, value: Optional[pulumi.Input['SqlQueryParameterQueryArgs']]): - pulumi.set(self, "query", value) - - @property - @pulumi.getter - def text(self) -> Optional[pulumi.Input['SqlQueryParameterTextArgs']]: - return pulumi.get(self, "text") - - @text.setter - def text(self, value: Optional[pulumi.Input['SqlQueryParameterTextArgs']]): - pulumi.set(self, "text", value) - - @property - @pulumi.getter - def title(self) -> Optional[pulumi.Input[str]]: + model_id_col: pulumi.Input[str] """ - The text displayed in a parameter picking widget. + Column of the model id or version """ - return pulumi.get(self, "title") - - @title.setter - def title(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "title", value) - - -if not MYPY: - class SqlQueryParameterDateArgsDict(TypedDict): - value: pulumi.Input[str] + prediction_col: pulumi.Input[str] """ - The default value for this parameter. + Column of the model prediction """ -elif False: - SqlQueryParameterDateArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class SqlQueryParameterDateArgs: - def __init__(__self__, *, - value: pulumi.Input[str]): + problem_type: pulumi.Input[str] """ - :param pulumi.Input[str] value: The default value for this parameter. + Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` """ - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: + timestamp_col: pulumi.Input[str] """ - The default value for this parameter. + Column of the timestamp of predictions """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) - - -if not MYPY: - class SqlQueryParameterDateRangeArgsDict(TypedDict): - range: NotRequired[pulumi.Input['SqlQueryParameterDateRangeRangeArgsDict']] - value: NotRequired[pulumi.Input[str]] + label_col: NotRequired[pulumi.Input[str]] """ - The default value for this parameter. + Column of the model label + """ + prediction_proba_col: NotRequired[pulumi.Input[str]] + """ + Column of the model prediction probabilities """ elif False: - SqlQueryParameterDateRangeArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorInferenceLogArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterDateRangeArgs: +class QualityMonitorInferenceLogArgs: def __init__(__self__, *, - range: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']] = None, - value: Optional[pulumi.Input[str]] = None): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]], + model_id_col: pulumi.Input[str], + prediction_col: pulumi.Input[str], + problem_type: pulumi.Input[str], + timestamp_col: pulumi.Input[str], + label_col: Optional[pulumi.Input[str]] = None, + prediction_proba_col: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] value: The default value for this parameter. + :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param pulumi.Input[str] model_id_col: Column of the model id or version + :param pulumi.Input[str] prediction_col: Column of the model prediction + :param pulumi.Input[str] problem_type: Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions + :param pulumi.Input[str] label_col: Column of the model label + :param pulumi.Input[str] prediction_proba_col: Column of the model prediction probabilities """ - if range is not None: - pulumi.set(__self__, "range", range) - if value is not None: - pulumi.set(__self__, "value", value) + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "model_id_col", model_id_col) + pulumi.set(__self__, "prediction_col", prediction_col) + pulumi.set(__self__, "problem_type", problem_type) + pulumi.set(__self__, "timestamp_col", timestamp_col) + if label_col is not None: + pulumi.set(__self__, "label_col", label_col) + if prediction_proba_col is not None: + pulumi.set(__self__, "prediction_proba_col", prediction_proba_col) @property @pulumi.getter - def range(self) -> Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']]: - return pulumi.get(self, "range") + def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + return pulumi.get(self, "granularities") - @range.setter - def range(self, value: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']]): - pulumi.set(self, "range", value) + @granularities.setter + def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "granularities", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="modelIdCol") + def model_id_col(self) -> pulumi.Input[str]: """ - The default value for this parameter. + Column of the model id or version """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -if not MYPY: - class SqlQueryParameterDateRangeRangeArgsDict(TypedDict): - end: pulumi.Input[str] - start: pulumi.Input[str] -elif False: - SqlQueryParameterDateRangeRangeArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "model_id_col") -@pulumi.input_type -class SqlQueryParameterDateRangeRangeArgs: - def __init__(__self__, *, - end: pulumi.Input[str], - start: pulumi.Input[str]): - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) + @model_id_col.setter + def model_id_col(self, value: pulumi.Input[str]): + pulumi.set(self, "model_id_col", value) @property - @pulumi.getter - def end(self) -> pulumi.Input[str]: - return pulumi.get(self, "end") + @pulumi.getter(name="predictionCol") + def prediction_col(self) -> pulumi.Input[str]: + """ + Column of the model prediction + """ + return pulumi.get(self, "prediction_col") - @end.setter - def end(self, value: pulumi.Input[str]): - pulumi.set(self, "end", value) + @prediction_col.setter + def prediction_col(self, value: pulumi.Input[str]): + pulumi.set(self, "prediction_col", value) @property - @pulumi.getter - def start(self) -> pulumi.Input[str]: - return pulumi.get(self, "start") - - @start.setter - def start(self, value: pulumi.Input[str]): - pulumi.set(self, "start", value) + @pulumi.getter(name="problemType") + def problem_type(self) -> pulumi.Input[str]: + """ + Problem type the model aims to solve. Either `PROBLEM_TYPE_CLASSIFICATION` or `PROBLEM_TYPE_REGRESSION` + """ + return pulumi.get(self, "problem_type") + @problem_type.setter + def problem_type(self, value: pulumi.Input[str]): + pulumi.set(self, "problem_type", value) -if not MYPY: - class SqlQueryParameterDatetimeArgsDict(TypedDict): - value: pulumi.Input[str] + @property + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> pulumi.Input[str]: """ - The default value for this parameter. + Column of the timestamp of predictions """ -elif False: - SqlQueryParameterDatetimeArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "timestamp_col") -@pulumi.input_type -class SqlQueryParameterDatetimeArgs: - def __init__(__self__, *, - value: pulumi.Input[str]): + @timestamp_col.setter + def timestamp_col(self, value: pulumi.Input[str]): + pulumi.set(self, "timestamp_col", value) + + @property + @pulumi.getter(name="labelCol") + def label_col(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] value: The default value for this parameter. + Column of the model label """ - pulumi.set(__self__, "value", value) + return pulumi.get(self, "label_col") + + @label_col.setter + def label_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "label_col", value) @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: + @pulumi.getter(name="predictionProbaCol") + def prediction_proba_col(self) -> Optional[pulumi.Input[str]]: """ - The default value for this parameter. + Column of the model prediction probabilities """ - return pulumi.get(self, "value") + return pulumi.get(self, "prediction_proba_col") - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) + @prediction_proba_col.setter + def prediction_proba_col(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prediction_proba_col", value) if not MYPY: - class SqlQueryParameterDatetimeRangeArgsDict(TypedDict): - range: NotRequired[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgsDict']] - value: NotRequired[pulumi.Input[str]] + class QualityMonitorNotificationsArgsDict(TypedDict): + on_failure: NotRequired[pulumi.Input['QualityMonitorNotificationsOnFailureArgsDict']] """ - The default value for this parameter. + who to send notifications to on monitor failure. + """ + on_new_classification_tag_detected: NotRequired[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgsDict']] + """ + Who to send notifications to when new data classification tags are detected. """ elif False: - SqlQueryParameterDatetimeRangeArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterDatetimeRangeArgs: +class QualityMonitorNotificationsArgs: def __init__(__self__, *, - range: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']] = None, - value: Optional[pulumi.Input[str]] = None): + on_failure: Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']] = None, + on_new_classification_tag_detected: Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']] = None): """ - :param pulumi.Input[str] value: The default value for this parameter. + :param pulumi.Input['QualityMonitorNotificationsOnFailureArgs'] on_failure: who to send notifications to on monitor failure. + :param pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs'] on_new_classification_tag_detected: Who to send notifications to when new data classification tags are detected. """ - if range is not None: - pulumi.set(__self__, "range", range) - if value is not None: - pulumi.set(__self__, "value", value) + if on_failure is not None: + pulumi.set(__self__, "on_failure", on_failure) + if on_new_classification_tag_detected is not None: + pulumi.set(__self__, "on_new_classification_tag_detected", on_new_classification_tag_detected) @property - @pulumi.getter - def range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']]: - return pulumi.get(self, "range") + @pulumi.getter(name="onFailure") + def on_failure(self) -> Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']]: + """ + who to send notifications to on monitor failure. + """ + return pulumi.get(self, "on_failure") - @range.setter - def range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']]): - pulumi.set(self, "range", value) + @on_failure.setter + def on_failure(self, value: Optional[pulumi.Input['QualityMonitorNotificationsOnFailureArgs']]): + pulumi.set(self, "on_failure", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="onNewClassificationTagDetected") + def on_new_classification_tag_detected(self) -> Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']]: """ - The default value for this parameter. + Who to send notifications to when new data classification tags are detected. """ - return pulumi.get(self, "value") + return pulumi.get(self, "on_new_classification_tag_detected") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @on_new_classification_tag_detected.setter + def on_new_classification_tag_detected(self, value: Optional[pulumi.Input['QualityMonitorNotificationsOnNewClassificationTagDetectedArgs']]): + pulumi.set(self, "on_new_classification_tag_detected", value) if not MYPY: - class SqlQueryParameterDatetimeRangeRangeArgsDict(TypedDict): - end: pulumi.Input[str] - start: pulumi.Input[str] + class QualityMonitorNotificationsOnFailureArgsDict(TypedDict): + email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - SqlQueryParameterDatetimeRangeRangeArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterDatetimeRangeRangeArgs: +class QualityMonitorNotificationsOnFailureArgs: def __init__(__self__, *, - end: pulumi.Input[str], - start: pulumi.Input[str]): - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) - - @property - @pulumi.getter - def end(self) -> pulumi.Input[str]: - return pulumi.get(self, "end") - - @end.setter - def end(self, value: pulumi.Input[str]): - pulumi.set(self, "end", value) + email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) @property - @pulumi.getter - def start(self) -> pulumi.Input[str]: - return pulumi.get(self, "start") + @pulumi.getter(name="emailAddresses") + def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "email_addresses") - @start.setter - def start(self, value: pulumi.Input[str]): - pulumi.set(self, "start", value) + @email_addresses.setter + def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "email_addresses", value) if not MYPY: - class SqlQueryParameterDatetimesecArgsDict(TypedDict): - value: pulumi.Input[str] - """ - The default value for this parameter. - """ + class QualityMonitorNotificationsOnNewClassificationTagDetectedArgsDict(TypedDict): + email_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - SqlQueryParameterDatetimesecArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorNotificationsOnNewClassificationTagDetectedArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterDatetimesecArgs: +class QualityMonitorNotificationsOnNewClassificationTagDetectedArgs: def __init__(__self__, *, - value: pulumi.Input[str]): - """ - :param pulumi.Input[str] value: The default value for this parameter. - """ - pulumi.set(__self__, "value", value) + email_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if email_addresses is not None: + pulumi.set(__self__, "email_addresses", email_addresses) @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: - """ - The default value for this parameter. - """ - return pulumi.get(self, "value") + @pulumi.getter(name="emailAddresses") + def email_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "email_addresses") - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) + @email_addresses.setter + def email_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "email_addresses", value) if not MYPY: - class SqlQueryParameterDatetimesecRangeArgsDict(TypedDict): - range: NotRequired[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgsDict']] - value: NotRequired[pulumi.Input[str]] + class QualityMonitorScheduleArgsDict(TypedDict): + quartz_cron_expression: pulumi.Input[str] """ - The default value for this parameter. + string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + """ + timezone_id: pulumi.Input[str] """ + string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. + """ + pause_status: NotRequired[pulumi.Input[str]] elif False: - SqlQueryParameterDatetimesecRangeArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorScheduleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterDatetimesecRangeArgs: +class QualityMonitorScheduleArgs: def __init__(__self__, *, - range: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']] = None, - value: Optional[pulumi.Input[str]] = None): + quartz_cron_expression: pulumi.Input[str], + timezone_id: pulumi.Input[str], + pause_status: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] value: The default value for this parameter. + :param pulumi.Input[str] quartz_cron_expression: string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + :param pulumi.Input[str] timezone_id: string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. """ - if range is not None: - pulumi.set(__self__, "range", range) - if value is not None: - pulumi.set(__self__, "value", value) + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) @property - @pulumi.getter - def range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']]: - return pulumi.get(self, "range") + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> pulumi.Input[str]: + """ + string expression that determines when to run the monitor. See [Quartz documentation](https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html) for examples. + """ + return pulumi.get(self, "quartz_cron_expression") - @range.setter - def range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']]): - pulumi.set(self, "range", value) + @quartz_cron_expression.setter + def quartz_cron_expression(self, value: pulumi.Input[str]): + pulumi.set(self, "quartz_cron_expression", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> pulumi.Input[str]: """ - The default value for this parameter. + string with timezone id (e.g., `PST`) in which to evaluate the Quartz expression. """ - return pulumi.get(self, "value") + return pulumi.get(self, "timezone_id") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @timezone_id.setter + def timezone_id(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone_id", value) + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "pause_status") + + @pause_status.setter + def pause_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pause_status", value) if not MYPY: - class SqlQueryParameterDatetimesecRangeRangeArgsDict(TypedDict): - end: pulumi.Input[str] - start: pulumi.Input[str] + class QualityMonitorSnapshotArgsDict(TypedDict): + pass elif False: - SqlQueryParameterDatetimesecRangeRangeArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorSnapshotArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterDatetimesecRangeRangeArgs: - def __init__(__self__, *, - end: pulumi.Input[str], - start: pulumi.Input[str]): - pulumi.set(__self__, "end", end) - pulumi.set(__self__, "start", start) - - @property - @pulumi.getter - def end(self) -> pulumi.Input[str]: - return pulumi.get(self, "end") - - @end.setter - def end(self, value: pulumi.Input[str]): - pulumi.set(self, "end", value) - - @property - @pulumi.getter - def start(self) -> pulumi.Input[str]: - return pulumi.get(self, "start") - - @start.setter - def start(self, value: pulumi.Input[str]): - pulumi.set(self, "start", value) +class QualityMonitorSnapshotArgs: + def __init__(__self__): + pass if not MYPY: - class SqlQueryParameterEnumArgsDict(TypedDict): - options: pulumi.Input[Sequence[pulumi.Input[str]]] - multiple: NotRequired[pulumi.Input['SqlQueryParameterEnumMultipleArgsDict']] - value: NotRequired[pulumi.Input[str]] + class QualityMonitorTimeSeriesArgsDict(TypedDict): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]] """ - The default value for this parameter. + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + timestamp_col: pulumi.Input[str] + """ + Column of the timestamp of predictions """ - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - SqlQueryParameterEnumArgsDict: TypeAlias = Mapping[str, Any] + QualityMonitorTimeSeriesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterEnumArgs: +class QualityMonitorTimeSeriesArgs: def __init__(__self__, *, - options: pulumi.Input[Sequence[pulumi.Input[str]]], - multiple: Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']] = None, - value: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + granularities: pulumi.Input[Sequence[pulumi.Input[str]]], + timestamp_col: pulumi.Input[str]): """ - :param pulumi.Input[str] value: The default value for this parameter. + :param pulumi.Input[Sequence[pulumi.Input[str]]] granularities: List of granularities to use when aggregating data into time windows based on their timestamp. + :param pulumi.Input[str] timestamp_col: Column of the timestamp of predictions """ - pulumi.set(__self__, "options", options) - if multiple is not None: - pulumi.set(__self__, "multiple", multiple) - if value is not None: - pulumi.set(__self__, "value", value) - if values is not None: - pulumi.set(__self__, "values", values) + pulumi.set(__self__, "granularities", granularities) + pulumi.set(__self__, "timestamp_col", timestamp_col) @property @pulumi.getter - def options(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "options") + def granularities(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of granularities to use when aggregating data into time windows based on their timestamp. + """ + return pulumi.get(self, "granularities") - @options.setter - def options(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "options", value) + @granularities.setter + def granularities(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "granularities", value) @property - @pulumi.getter - def multiple(self) -> Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']]: - return pulumi.get(self, "multiple") + @pulumi.getter(name="timestampCol") + def timestamp_col(self) -> pulumi.Input[str]: + """ + Column of the timestamp of predictions + """ + return pulumi.get(self, "timestamp_col") - @multiple.setter - def multiple(self, value: Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']]): - pulumi.set(self, "multiple", value) + @timestamp_col.setter + def timestamp_col(self, value: pulumi.Input[str]): + pulumi.set(self, "timestamp_col", value) - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + +if not MYPY: + class QueryParameterArgsDict(TypedDict): + name: pulumi.Input[str] """ - The default value for this parameter. + Literal parameter marker that appears between double curly braces in the query text. """ - return pulumi.get(self, "value") + date_range_value: NotRequired[pulumi.Input['QueryParameterDateRangeValueArgsDict']] + """ + Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_range_value` or `date_range_value`): + """ + date_value: NotRequired[pulumi.Input['QueryParameterDateValueArgsDict']] + """ + Date query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_value` or `date_value`): + """ + enum_value: NotRequired[pulumi.Input['QueryParameterEnumValueArgsDict']] + """ + Dropdown parameter value. Consists of following attributes: + """ + numeric_value: NotRequired[pulumi.Input['QueryParameterNumericValueArgsDict']] + """ + Numeric parameter value. Consists of following attributes: + """ + query_backed_value: NotRequired[pulumi.Input['QueryParameterQueryBackedValueArgsDict']] + """ + Query-based dropdown parameter value. Consists of following attributes: + """ + text_value: NotRequired[pulumi.Input['QueryParameterTextValueArgsDict']] + """ + Text parameter value. Consists of following attributes: + """ + title: NotRequired[pulumi.Input[str]] + """ + Text displayed in the user-facing parameter widget in the UI. + """ +elif False: + QueryParameterArgsDict: TypeAlias = Mapping[str, Any] - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) +@pulumi.input_type +class QueryParameterArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + date_range_value: Optional[pulumi.Input['QueryParameterDateRangeValueArgs']] = None, + date_value: Optional[pulumi.Input['QueryParameterDateValueArgs']] = None, + enum_value: Optional[pulumi.Input['QueryParameterEnumValueArgs']] = None, + numeric_value: Optional[pulumi.Input['QueryParameterNumericValueArgs']] = None, + query_backed_value: Optional[pulumi.Input['QueryParameterQueryBackedValueArgs']] = None, + text_value: Optional[pulumi.Input['QueryParameterTextValueArgs']] = None, + title: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: Literal parameter marker that appears between double curly braces in the query text. + :param pulumi.Input['QueryParameterDateRangeValueArgs'] date_range_value: Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_range_value` or `date_range_value`): + :param pulumi.Input['QueryParameterDateValueArgs'] date_value: Date query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_value` or `date_value`): + :param pulumi.Input['QueryParameterEnumValueArgs'] enum_value: Dropdown parameter value. Consists of following attributes: + :param pulumi.Input['QueryParameterNumericValueArgs'] numeric_value: Numeric parameter value. Consists of following attributes: + :param pulumi.Input['QueryParameterQueryBackedValueArgs'] query_backed_value: Query-based dropdown parameter value. Consists of following attributes: + :param pulumi.Input['QueryParameterTextValueArgs'] text_value: Text parameter value. Consists of following attributes: + :param pulumi.Input[str] title: Text displayed in the user-facing parameter widget in the UI. + """ + pulumi.set(__self__, "name", name) + if date_range_value is not None: + pulumi.set(__self__, "date_range_value", date_range_value) + if date_value is not None: + pulumi.set(__self__, "date_value", date_value) + if enum_value is not None: + pulumi.set(__self__, "enum_value", enum_value) + if numeric_value is not None: + pulumi.set(__self__, "numeric_value", numeric_value) + if query_backed_value is not None: + pulumi.set(__self__, "query_backed_value", query_backed_value) + if text_value is not None: + pulumi.set(__self__, "text_value", text_value) + if title is not None: + pulumi.set(__self__, "title", title) @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "values", value) + def name(self) -> pulumi.Input[str]: + """ + Literal parameter marker that appears between double curly braces in the query text. + """ + return pulumi.get(self, "name") + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) -if not MYPY: - class SqlQueryParameterEnumMultipleArgsDict(TypedDict): - separator: pulumi.Input[str] - prefix: NotRequired[pulumi.Input[str]] - suffix: NotRequired[pulumi.Input[str]] -elif False: - SqlQueryParameterEnumMultipleArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="dateRangeValue") + def date_range_value(self) -> Optional[pulumi.Input['QueryParameterDateRangeValueArgs']]: + """ + Date-range query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_range_value` or `date_range_value`): + """ + return pulumi.get(self, "date_range_value") -@pulumi.input_type -class SqlQueryParameterEnumMultipleArgs: - def __init__(__self__, *, - separator: pulumi.Input[str], - prefix: Optional[pulumi.Input[str]] = None, - suffix: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "separator", separator) - if prefix is not None: - pulumi.set(__self__, "prefix", prefix) - if suffix is not None: - pulumi.set(__self__, "suffix", suffix) + @date_range_value.setter + def date_range_value(self, value: Optional[pulumi.Input['QueryParameterDateRangeValueArgs']]): + pulumi.set(self, "date_range_value", value) @property - @pulumi.getter - def separator(self) -> pulumi.Input[str]: - return pulumi.get(self, "separator") + @pulumi.getter(name="dateValue") + def date_value(self) -> Optional[pulumi.Input['QueryParameterDateValueArgs']]: + """ + Date query parameter value. Consists of following attributes (Can only specify one of `dynamic_date_value` or `date_value`): + """ + return pulumi.get(self, "date_value") - @separator.setter - def separator(self, value: pulumi.Input[str]): - pulumi.set(self, "separator", value) + @date_value.setter + def date_value(self, value: Optional[pulumi.Input['QueryParameterDateValueArgs']]): + pulumi.set(self, "date_value", value) @property - @pulumi.getter - def prefix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "prefix") + @pulumi.getter(name="enumValue") + def enum_value(self) -> Optional[pulumi.Input['QueryParameterEnumValueArgs']]: + """ + Dropdown parameter value. Consists of following attributes: + """ + return pulumi.get(self, "enum_value") - @prefix.setter - def prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prefix", value) + @enum_value.setter + def enum_value(self, value: Optional[pulumi.Input['QueryParameterEnumValueArgs']]): + pulumi.set(self, "enum_value", value) @property - @pulumi.getter - def suffix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "suffix") - - @suffix.setter - def suffix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "suffix", value) + @pulumi.getter(name="numericValue") + def numeric_value(self) -> Optional[pulumi.Input['QueryParameterNumericValueArgs']]: + """ + Numeric parameter value. Consists of following attributes: + """ + return pulumi.get(self, "numeric_value") + @numeric_value.setter + def numeric_value(self, value: Optional[pulumi.Input['QueryParameterNumericValueArgs']]): + pulumi.set(self, "numeric_value", value) -if not MYPY: - class SqlQueryParameterNumberArgsDict(TypedDict): - value: pulumi.Input[float] + @property + @pulumi.getter(name="queryBackedValue") + def query_backed_value(self) -> Optional[pulumi.Input['QueryParameterQueryBackedValueArgs']]: """ - The default value for this parameter. + Query-based dropdown parameter value. Consists of following attributes: """ -elif False: - SqlQueryParameterNumberArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "query_backed_value") -@pulumi.input_type -class SqlQueryParameterNumberArgs: - def __init__(__self__, *, - value: pulumi.Input[float]): + @query_backed_value.setter + def query_backed_value(self, value: Optional[pulumi.Input['QueryParameterQueryBackedValueArgs']]): + pulumi.set(self, "query_backed_value", value) + + @property + @pulumi.getter(name="textValue") + def text_value(self) -> Optional[pulumi.Input['QueryParameterTextValueArgs']]: """ - :param pulumi.Input[float] value: The default value for this parameter. + Text parameter value. Consists of following attributes: """ - pulumi.set(__self__, "value", value) + return pulumi.get(self, "text_value") + + @text_value.setter + def text_value(self, value: Optional[pulumi.Input['QueryParameterTextValueArgs']]): + pulumi.set(self, "text_value", value) @property @pulumi.getter - def value(self) -> pulumi.Input[float]: + def title(self) -> Optional[pulumi.Input[str]]: """ - The default value for this parameter. + Text displayed in the user-facing parameter widget in the UI. """ - return pulumi.get(self, "value") + return pulumi.get(self, "title") - @value.setter - def value(self, value: pulumi.Input[float]): - pulumi.set(self, "value", value) + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) if not MYPY: - class SqlQueryParameterQueryArgsDict(TypedDict): - query_id: pulumi.Input[str] - multiple: NotRequired[pulumi.Input['SqlQueryParameterQueryMultipleArgsDict']] - value: NotRequired[pulumi.Input[str]] + class QueryParameterDateRangeValueArgsDict(TypedDict): + date_range_value: NotRequired[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgsDict']] """ - The default value for this parameter. + Manually specified date-time range value. Consists of the following attributes: + """ + dynamic_date_range_value: NotRequired[pulumi.Input[str]] + """ + Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. + """ + precision: NotRequired[pulumi.Input[str]] + """ + Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + """ + start_day_of_week: NotRequired[pulumi.Input[int]] + """ + Specify what day that starts the week. """ - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] elif False: - SqlQueryParameterQueryArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterDateRangeValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterQueryArgs: +class QueryParameterDateRangeValueArgs: def __init__(__self__, *, - query_id: pulumi.Input[str], - multiple: Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']] = None, - value: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + date_range_value: Optional[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs']] = None, + dynamic_date_range_value: Optional[pulumi.Input[str]] = None, + precision: Optional[pulumi.Input[str]] = None, + start_day_of_week: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[str] value: The default value for this parameter. + :param pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs'] date_range_value: Manually specified date-time range value. Consists of the following attributes: + :param pulumi.Input[str] dynamic_date_range_value: Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. + :param pulumi.Input[str] precision: Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + :param pulumi.Input[int] start_day_of_week: Specify what day that starts the week. """ - pulumi.set(__self__, "query_id", query_id) - if multiple is not None: - pulumi.set(__self__, "multiple", multiple) - if value is not None: - pulumi.set(__self__, "value", value) - if values is not None: - pulumi.set(__self__, "values", values) + if date_range_value is not None: + pulumi.set(__self__, "date_range_value", date_range_value) + if dynamic_date_range_value is not None: + pulumi.set(__self__, "dynamic_date_range_value", dynamic_date_range_value) + if precision is not None: + pulumi.set(__self__, "precision", precision) + if start_day_of_week is not None: + pulumi.set(__self__, "start_day_of_week", start_day_of_week) @property - @pulumi.getter(name="queryId") - def query_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "query_id") + @pulumi.getter(name="dateRangeValue") + def date_range_value(self) -> Optional[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs']]: + """ + Manually specified date-time range value. Consists of the following attributes: + """ + return pulumi.get(self, "date_range_value") - @query_id.setter - def query_id(self, value: pulumi.Input[str]): - pulumi.set(self, "query_id", value) + @date_range_value.setter + def date_range_value(self, value: Optional[pulumi.Input['QueryParameterDateRangeValueDateRangeValueArgs']]): + pulumi.set(self, "date_range_value", value) @property - @pulumi.getter - def multiple(self) -> Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']]: - return pulumi.get(self, "multiple") + @pulumi.getter(name="dynamicDateRangeValue") + def dynamic_date_range_value(self) -> Optional[pulumi.Input[str]]: + """ + Dynamic date-time range value based on current date-time. Possible values are `TODAY`, `YESTERDAY`, `THIS_WEEK`, `THIS_MONTH`, `THIS_YEAR`, `LAST_WEEK`, `LAST_MONTH`, `LAST_YEAR`, `LAST_HOUR`, `LAST_8_HOURS`, `LAST_24_HOURS`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_60_DAYS`, `LAST_90_DAYS`, `LAST_12_MONTHS`. + """ + return pulumi.get(self, "dynamic_date_range_value") - @multiple.setter - def multiple(self, value: Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']]): - pulumi.set(self, "multiple", value) + @dynamic_date_range_value.setter + def dynamic_date_range_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dynamic_date_range_value", value) @property @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + def precision(self) -> Optional[pulumi.Input[str]]: """ - The default value for this parameter. + Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). """ - return pulumi.get(self, "value") + return pulumi.get(self, "precision") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @precision.setter + def precision(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "precision", value) @property - @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "values") + @pulumi.getter(name="startDayOfWeek") + def start_day_of_week(self) -> Optional[pulumi.Input[int]]: + """ + Specify what day that starts the week. + """ + return pulumi.get(self, "start_day_of_week") - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "values", value) + @start_day_of_week.setter + def start_day_of_week(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "start_day_of_week", value) if not MYPY: - class SqlQueryParameterQueryMultipleArgsDict(TypedDict): - separator: pulumi.Input[str] - prefix: NotRequired[pulumi.Input[str]] - suffix: NotRequired[pulumi.Input[str]] + class QueryParameterDateRangeValueDateRangeValueArgsDict(TypedDict): + end: pulumi.Input[str] + """ + end of the date range. + """ + start: pulumi.Input[str] + """ + begin of the date range. + """ elif False: - SqlQueryParameterQueryMultipleArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterDateRangeValueDateRangeValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryParameterQueryMultipleArgs: +class QueryParameterDateRangeValueDateRangeValueArgs: def __init__(__self__, *, - separator: pulumi.Input[str], - prefix: Optional[pulumi.Input[str]] = None, - suffix: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "separator", separator) - if prefix is not None: - pulumi.set(__self__, "prefix", prefix) - if suffix is not None: - pulumi.set(__self__, "suffix", suffix) - - @property - @pulumi.getter - def separator(self) -> pulumi.Input[str]: - return pulumi.get(self, "separator") - - @separator.setter - def separator(self, value: pulumi.Input[str]): - pulumi.set(self, "separator", value) + end: pulumi.Input[str], + start: pulumi.Input[str]): + """ + :param pulumi.Input[str] end: end of the date range. + :param pulumi.Input[str] start: begin of the date range. + """ + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) @property @pulumi.getter - def prefix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "prefix") + def end(self) -> pulumi.Input[str]: + """ + end of the date range. + """ + return pulumi.get(self, "end") - @prefix.setter - def prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prefix", value) + @end.setter + def end(self, value: pulumi.Input[str]): + pulumi.set(self, "end", value) @property @pulumi.getter - def suffix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "suffix") + def start(self) -> pulumi.Input[str]: + """ + begin of the date range. + """ + return pulumi.get(self, "start") - @suffix.setter - def suffix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "suffix", value) + @start.setter + def start(self, value: pulumi.Input[str]): + pulumi.set(self, "start", value) if not MYPY: - class SqlQueryParameterTextArgsDict(TypedDict): - value: pulumi.Input[str] + class QueryParameterDateValueArgsDict(TypedDict): + date_value: NotRequired[pulumi.Input[str]] """ - The default value for this parameter. + Manually specified date-time value """ -elif False: - SqlQueryParameterTextArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class SqlQueryParameterTextArgs: - def __init__(__self__, *, - value: pulumi.Input[str]): + dynamic_date_value: NotRequired[pulumi.Input[str]] """ - :param pulumi.Input[str] value: The default value for this parameter. + Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. """ - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: + precision: NotRequired[pulumi.Input[str]] """ - The default value for this parameter. + Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) - - -if not MYPY: - class SqlQueryScheduleArgsDict(TypedDict): - continuous: NotRequired[pulumi.Input['SqlQueryScheduleContinuousArgsDict']] - daily: NotRequired[pulumi.Input['SqlQueryScheduleDailyArgsDict']] - weekly: NotRequired[pulumi.Input['SqlQueryScheduleWeeklyArgsDict']] elif False: - SqlQueryScheduleArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterDateValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryScheduleArgs: +class QueryParameterDateValueArgs: def __init__(__self__, *, - continuous: Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']] = None, - daily: Optional[pulumi.Input['SqlQueryScheduleDailyArgs']] = None, - weekly: Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']] = None): - if continuous is not None: - pulumi.set(__self__, "continuous", continuous) - if daily is not None: - pulumi.set(__self__, "daily", daily) - if weekly is not None: - pulumi.set(__self__, "weekly", weekly) + date_value: Optional[pulumi.Input[str]] = None, + dynamic_date_value: Optional[pulumi.Input[str]] = None, + precision: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] date_value: Manually specified date-time value + :param pulumi.Input[str] dynamic_date_value: Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. + :param pulumi.Input[str] precision: Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + """ + if date_value is not None: + pulumi.set(__self__, "date_value", date_value) + if dynamic_date_value is not None: + pulumi.set(__self__, "dynamic_date_value", dynamic_date_value) + if precision is not None: + pulumi.set(__self__, "precision", precision) @property - @pulumi.getter - def continuous(self) -> Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']]: - return pulumi.get(self, "continuous") + @pulumi.getter(name="dateValue") + def date_value(self) -> Optional[pulumi.Input[str]]: + """ + Manually specified date-time value + """ + return pulumi.get(self, "date_value") - @continuous.setter - def continuous(self, value: Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']]): - pulumi.set(self, "continuous", value) + @date_value.setter + def date_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "date_value", value) @property - @pulumi.getter - def daily(self) -> Optional[pulumi.Input['SqlQueryScheduleDailyArgs']]: - return pulumi.get(self, "daily") + @pulumi.getter(name="dynamicDateValue") + def dynamic_date_value(self) -> Optional[pulumi.Input[str]]: + """ + Dynamic date-time value based on current date-time. Possible values are `NOW`, `YESTERDAY`. + """ + return pulumi.get(self, "dynamic_date_value") - @daily.setter - def daily(self, value: Optional[pulumi.Input['SqlQueryScheduleDailyArgs']]): - pulumi.set(self, "daily", value) + @dynamic_date_value.setter + def dynamic_date_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dynamic_date_value", value) @property @pulumi.getter - def weekly(self) -> Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']]: - return pulumi.get(self, "weekly") + def precision(self) -> Optional[pulumi.Input[str]]: + """ + Date-time precision to format the value into when the query is run. Possible values are `DAY_PRECISION`, `MINUTE_PRECISION`, `SECOND_PRECISION`. Defaults to `DAY_PRECISION` (`YYYY-MM-DD`). + """ + return pulumi.get(self, "precision") - @weekly.setter - def weekly(self, value: Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']]): - pulumi.set(self, "weekly", value) + @precision.setter + def precision(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "precision", value) if not MYPY: - class SqlQueryScheduleContinuousArgsDict(TypedDict): - interval_seconds: pulumi.Input[int] - until_date: NotRequired[pulumi.Input[str]] -elif False: - SqlQueryScheduleContinuousArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class SqlQueryScheduleContinuousArgs: - def __init__(__self__, *, - interval_seconds: pulumi.Input[int], - until_date: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "interval_seconds", interval_seconds) - if until_date is not None: - pulumi.set(__self__, "until_date", until_date) - - @property - @pulumi.getter(name="intervalSeconds") - def interval_seconds(self) -> pulumi.Input[int]: - return pulumi.get(self, "interval_seconds") - - @interval_seconds.setter - def interval_seconds(self, value: pulumi.Input[int]): - pulumi.set(self, "interval_seconds", value) - - @property - @pulumi.getter(name="untilDate") - def until_date(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "until_date") - - @until_date.setter - def until_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "until_date", value) - - -if not MYPY: - class SqlQueryScheduleDailyArgsDict(TypedDict): - interval_days: pulumi.Input[int] - time_of_day: pulumi.Input[str] - until_date: NotRequired[pulumi.Input[str]] + class QueryParameterEnumValueArgsDict(TypedDict): + enum_options: NotRequired[pulumi.Input[str]] + """ + List of valid query parameter values, newline delimited. + """ + multi_values_options: NotRequired[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgsDict']] + """ + If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of selected query parameter values. + """ elif False: - SqlQueryScheduleDailyArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterEnumValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryScheduleDailyArgs: +class QueryParameterEnumValueArgs: def __init__(__self__, *, - interval_days: pulumi.Input[int], - time_of_day: pulumi.Input[str], - until_date: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "interval_days", interval_days) - pulumi.set(__self__, "time_of_day", time_of_day) - if until_date is not None: - pulumi.set(__self__, "until_date", until_date) + enum_options: Optional[pulumi.Input[str]] = None, + multi_values_options: Optional[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs']] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] enum_options: List of valid query parameter values, newline delimited. + :param pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs'] multi_values_options: If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + :param pulumi.Input[Sequence[pulumi.Input[str]]] values: List of selected query parameter values. + """ + if enum_options is not None: + pulumi.set(__self__, "enum_options", enum_options) + if multi_values_options is not None: + pulumi.set(__self__, "multi_values_options", multi_values_options) + if values is not None: + pulumi.set(__self__, "values", values) @property - @pulumi.getter(name="intervalDays") - def interval_days(self) -> pulumi.Input[int]: - return pulumi.get(self, "interval_days") + @pulumi.getter(name="enumOptions") + def enum_options(self) -> Optional[pulumi.Input[str]]: + """ + List of valid query parameter values, newline delimited. + """ + return pulumi.get(self, "enum_options") - @interval_days.setter - def interval_days(self, value: pulumi.Input[int]): - pulumi.set(self, "interval_days", value) + @enum_options.setter + def enum_options(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "enum_options", value) @property - @pulumi.getter(name="timeOfDay") - def time_of_day(self) -> pulumi.Input[str]: - return pulumi.get(self, "time_of_day") + @pulumi.getter(name="multiValuesOptions") + def multi_values_options(self) -> Optional[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs']]: + """ + If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + """ + return pulumi.get(self, "multi_values_options") - @time_of_day.setter - def time_of_day(self, value: pulumi.Input[str]): - pulumi.set(self, "time_of_day", value) + @multi_values_options.setter + def multi_values_options(self, value: Optional[pulumi.Input['QueryParameterEnumValueMultiValuesOptionsArgs']]): + pulumi.set(self, "multi_values_options", value) @property - @pulumi.getter(name="untilDate") - def until_date(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "until_date") + @pulumi.getter + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of selected query parameter values. + """ + return pulumi.get(self, "values") - @until_date.setter - def until_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "until_date", value) + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "values", value) if not MYPY: - class SqlQueryScheduleWeeklyArgsDict(TypedDict): - day_of_week: pulumi.Input[str] - interval_weeks: pulumi.Input[int] - time_of_day: pulumi.Input[str] - until_date: NotRequired[pulumi.Input[str]] + class QueryParameterEnumValueMultiValuesOptionsArgsDict(TypedDict): + prefix: NotRequired[pulumi.Input[str]] + """ + Character that prefixes each selected parameter value. + """ + separator: NotRequired[pulumi.Input[str]] + """ + Character that separates each selected parameter value. Defaults to a comma. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Character that suffixes each selected parameter value. + """ elif False: - SqlQueryScheduleWeeklyArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterEnumValueMultiValuesOptionsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlQueryScheduleWeeklyArgs: +class QueryParameterEnumValueMultiValuesOptionsArgs: def __init__(__self__, *, - day_of_week: pulumi.Input[str], - interval_weeks: pulumi.Input[int], - time_of_day: pulumi.Input[str], - until_date: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "interval_weeks", interval_weeks) - pulumi.set(__self__, "time_of_day", time_of_day) - if until_date is not None: - pulumi.set(__self__, "until_date", until_date) - - @property - @pulumi.getter(name="dayOfWeek") - def day_of_week(self) -> pulumi.Input[str]: - return pulumi.get(self, "day_of_week") - - @day_of_week.setter - def day_of_week(self, value: pulumi.Input[str]): - pulumi.set(self, "day_of_week", value) + prefix: Optional[pulumi.Input[str]] = None, + separator: Optional[pulumi.Input[str]] = None, + suffix: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] prefix: Character that prefixes each selected parameter value. + :param pulumi.Input[str] separator: Character that separates each selected parameter value. Defaults to a comma. + :param pulumi.Input[str] suffix: Character that suffixes each selected parameter value. + """ + if prefix is not None: + pulumi.set(__self__, "prefix", prefix) + if separator is not None: + pulumi.set(__self__, "separator", separator) + if suffix is not None: + pulumi.set(__self__, "suffix", suffix) @property - @pulumi.getter(name="intervalWeeks") - def interval_weeks(self) -> pulumi.Input[int]: - return pulumi.get(self, "interval_weeks") + @pulumi.getter + def prefix(self) -> Optional[pulumi.Input[str]]: + """ + Character that prefixes each selected parameter value. + """ + return pulumi.get(self, "prefix") - @interval_weeks.setter - def interval_weeks(self, value: pulumi.Input[int]): - pulumi.set(self, "interval_weeks", value) + @prefix.setter + def prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prefix", value) @property - @pulumi.getter(name="timeOfDay") - def time_of_day(self) -> pulumi.Input[str]: - return pulumi.get(self, "time_of_day") + @pulumi.getter + def separator(self) -> Optional[pulumi.Input[str]]: + """ + Character that separates each selected parameter value. Defaults to a comma. + """ + return pulumi.get(self, "separator") - @time_of_day.setter - def time_of_day(self, value: pulumi.Input[str]): - pulumi.set(self, "time_of_day", value) + @separator.setter + def separator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "separator", value) @property - @pulumi.getter(name="untilDate") - def until_date(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "until_date") + @pulumi.getter + def suffix(self) -> Optional[pulumi.Input[str]]: + """ + Character that suffixes each selected parameter value. + """ + return pulumi.get(self, "suffix") - @until_date.setter - def until_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "until_date", value) + @suffix.setter + def suffix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "suffix", value) if not MYPY: - class SqlTableColumnArgsDict(TypedDict): - name: pulumi.Input[str] - """ - User-visible name of column - """ - comment: NotRequired[pulumi.Input[str]] - """ - User-supplied free-form text. - """ - identity: NotRequired[pulumi.Input[str]] - """ - Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. - """ - nullable: NotRequired[pulumi.Input[bool]] - """ - Whether field is nullable (Default: `true`) - """ - type: NotRequired[pulumi.Input[str]] + class QueryParameterNumericValueArgsDict(TypedDict): + value: pulumi.Input[float] """ - Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + actual numeric value. """ - type_json: NotRequired[pulumi.Input[str]] elif False: - SqlTableColumnArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterNumericValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlTableColumnArgs: +class QueryParameterNumericValueArgs: def __init__(__self__, *, - name: pulumi.Input[str], - comment: Optional[pulumi.Input[str]] = None, - identity: Optional[pulumi.Input[str]] = None, - nullable: Optional[pulumi.Input[bool]] = None, - type: Optional[pulumi.Input[str]] = None, - type_json: Optional[pulumi.Input[str]] = None): + value: pulumi.Input[float]): """ - :param pulumi.Input[str] name: User-visible name of column - :param pulumi.Input[str] comment: User-supplied free-form text. - :param pulumi.Input[str] identity: Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. - :param pulumi.Input[bool] nullable: Whether field is nullable (Default: `true`) - :param pulumi.Input[str] type: Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + :param pulumi.Input[float] value: actual numeric value. """ - pulumi.set(__self__, "name", name) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if identity is not None: - pulumi.set(__self__, "identity", identity) - if nullable is not None: - pulumi.set(__self__, "nullable", nullable) - if type is not None: - pulumi.set(__self__, "type", type) - if type_json is not None: - pulumi.set(__self__, "type_json", type_json) + pulumi.set(__self__, "value", value) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: + def value(self) -> pulumi.Input[float]: """ - User-visible name of column + actual numeric value. """ - return pulumi.get(self, "name") + return pulumi.get(self, "value") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @value.setter + def value(self, value: pulumi.Input[float]): + pulumi.set(self, "value", value) - @property - @pulumi.getter - def comment(self) -> Optional[pulumi.Input[str]]: + +if not MYPY: + class QueryParameterQueryBackedValueArgsDict(TypedDict): + query_id: pulumi.Input[str] """ - User-supplied free-form text. + ID of the query that provides the parameter values. """ - return pulumi.get(self, "comment") + multi_values_options: NotRequired[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgsDict']] + """ + If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of selected query parameter values. + """ +elif False: + QueryParameterQueryBackedValueArgsDict: TypeAlias = Mapping[str, Any] - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) +@pulumi.input_type +class QueryParameterQueryBackedValueArgs: + def __init__(__self__, *, + query_id: pulumi.Input[str], + multi_values_options: Optional[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs']] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] query_id: ID of the query that provides the parameter values. + :param pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs'] multi_values_options: If specified, allows multiple values to be selected for this parameter. Consists of following attributes: + :param pulumi.Input[Sequence[pulumi.Input[str]]] values: List of selected query parameter values. + """ + pulumi.set(__self__, "query_id", query_id) + if multi_values_options is not None: + pulumi.set(__self__, "multi_values_options", multi_values_options) + if values is not None: + pulumi.set(__self__, "values", values) @property - @pulumi.getter - def identity(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="queryId") + def query_id(self) -> pulumi.Input[str]: """ - Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. + ID of the query that provides the parameter values. """ - return pulumi.get(self, "identity") + return pulumi.get(self, "query_id") - @identity.setter - def identity(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "identity", value) + @query_id.setter + def query_id(self, value: pulumi.Input[str]): + pulumi.set(self, "query_id", value) @property - @pulumi.getter - def nullable(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="multiValuesOptions") + def multi_values_options(self) -> Optional[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs']]: """ - Whether field is nullable (Default: `true`) + If specified, allows multiple values to be selected for this parameter. Consists of following attributes: """ - return pulumi.get(self, "nullable") + return pulumi.get(self, "multi_values_options") - @nullable.setter - def nullable(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "nullable", value) + @multi_values_options.setter + def multi_values_options(self, value: Optional[pulumi.Input['QueryParameterQueryBackedValueMultiValuesOptionsArgs']]): + pulumi.set(self, "multi_values_options", value) @property @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + List of selected query parameter values. """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type_json") + return pulumi.get(self, "values") - @type_json.setter - def type_json(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_json", value) + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "values", value) if not MYPY: - class SqlWidgetParameterArgsDict(TypedDict): - name: pulumi.Input[str] - type: pulumi.Input[str] - map_to: NotRequired[pulumi.Input[str]] - title: NotRequired[pulumi.Input[str]] - value: NotRequired[pulumi.Input[str]] - values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + class QueryParameterQueryBackedValueMultiValuesOptionsArgsDict(TypedDict): + prefix: NotRequired[pulumi.Input[str]] + """ + Character that prefixes each selected parameter value. + """ + separator: NotRequired[pulumi.Input[str]] + """ + Character that separates each selected parameter value. Defaults to a comma. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Character that suffixes each selected parameter value. + """ elif False: - SqlWidgetParameterArgsDict: TypeAlias = Mapping[str, Any] + QueryParameterQueryBackedValueMultiValuesOptionsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlWidgetParameterArgs: +class QueryParameterQueryBackedValueMultiValuesOptionsArgs: def __init__(__self__, *, - name: pulumi.Input[str], - type: pulumi.Input[str], - map_to: Optional[pulumi.Input[str]] = None, - title: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - if map_to is not None: - pulumi.set(__self__, "map_to", map_to) - if title is not None: - pulumi.set(__self__, "title", title) - if value is not None: - pulumi.set(__self__, "value", value) - if values is not None: - pulumi.set(__self__, "values", values) + prefix: Optional[pulumi.Input[str]] = None, + separator: Optional[pulumi.Input[str]] = None, + suffix: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] prefix: Character that prefixes each selected parameter value. + :param pulumi.Input[str] separator: Character that separates each selected parameter value. Defaults to a comma. + :param pulumi.Input[str] suffix: Character that suffixes each selected parameter value. + """ + if prefix is not None: + pulumi.set(__self__, "prefix", prefix) + if separator is not None: + pulumi.set(__self__, "separator", separator) + if suffix is not None: + pulumi.set(__self__, "suffix", suffix) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: - return pulumi.get(self, "name") + def prefix(self) -> Optional[pulumi.Input[str]]: + """ + Character that prefixes each selected parameter value. + """ + return pulumi.get(self, "prefix") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @prefix.setter + def prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prefix", value) @property @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") + def separator(self) -> Optional[pulumi.Input[str]]: + """ + Character that separates each selected parameter value. Defaults to a comma. + """ + return pulumi.get(self, "separator") - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) + @separator.setter + def separator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "separator", value) @property - @pulumi.getter(name="mapTo") - def map_to(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "map_to") + @pulumi.getter + def suffix(self) -> Optional[pulumi.Input[str]]: + """ + Character that suffixes each selected parameter value. + """ + return pulumi.get(self, "suffix") - @map_to.setter - def map_to(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "map_to", value) + @suffix.setter + def suffix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "suffix", value) - @property - @pulumi.getter - def title(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "title") - @title.setter - def title(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "title", value) +if not MYPY: + class QueryParameterTextValueArgsDict(TypedDict): + value: pulumi.Input[str] + """ + actual text value. + """ +elif False: + QueryParameterTextValueArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class QueryParameterTextValueArgs: + def __init__(__self__, *, + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: actual text value. + """ + pulumi.set(__self__, "value", value) @property @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + def value(self) -> pulumi.Input[str]: + """ + actual text value. + """ return pulumi.get(self, "value") @value.setter - def value(self, value: Optional[pulumi.Input[str]]): + def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) - @property - @pulumi.getter - def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "values", value) - if not MYPY: - class SqlWidgetPositionArgsDict(TypedDict): - size_x: pulumi.Input[int] - size_y: pulumi.Input[int] - auto_height: NotRequired[pulumi.Input[bool]] - pos_x: NotRequired[pulumi.Input[int]] - pos_y: NotRequired[pulumi.Input[int]] + class RecipientIpAccessListArgsDict(TypedDict): + allowed_ip_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Allowed IP Addresses in CIDR notation. Limit of 100. + """ elif False: - SqlWidgetPositionArgsDict: TypeAlias = Mapping[str, Any] + RecipientIpAccessListArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class SqlWidgetPositionArgs: +class RecipientIpAccessListArgs: def __init__(__self__, *, - size_x: pulumi.Input[int], - size_y: pulumi.Input[int], - auto_height: Optional[pulumi.Input[bool]] = None, - pos_x: Optional[pulumi.Input[int]] = None, - pos_y: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "size_x", size_x) - pulumi.set(__self__, "size_y", size_y) - if auto_height is not None: - pulumi.set(__self__, "auto_height", auto_height) - if pos_x is not None: - pulumi.set(__self__, "pos_x", pos_x) - if pos_y is not None: - pulumi.set(__self__, "pos_y", pos_y) - - @property - @pulumi.getter(name="sizeX") - def size_x(self) -> pulumi.Input[int]: - return pulumi.get(self, "size_x") - - @size_x.setter - def size_x(self, value: pulumi.Input[int]): - pulumi.set(self, "size_x", value) - - @property - @pulumi.getter(name="sizeY") - def size_y(self) -> pulumi.Input[int]: - return pulumi.get(self, "size_y") - - @size_y.setter - def size_y(self, value: pulumi.Input[int]): - pulumi.set(self, "size_y", value) - - @property - @pulumi.getter(name="autoHeight") - def auto_height(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "auto_height") - - @auto_height.setter - def auto_height(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "auto_height", value) - - @property - @pulumi.getter(name="posX") - def pos_x(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "pos_x") - - @pos_x.setter - def pos_x(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "pos_x", value) + allowed_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_ip_addresses: Allowed IP Addresses in CIDR notation. Limit of 100. + """ + if allowed_ip_addresses is not None: + pulumi.set(__self__, "allowed_ip_addresses", allowed_ip_addresses) @property - @pulumi.getter(name="posY") - def pos_y(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "pos_y") + @pulumi.getter(name="allowedIpAddresses") + def allowed_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Allowed IP Addresses in CIDR notation. Limit of 100. + """ + return pulumi.get(self, "allowed_ip_addresses") - @pos_y.setter - def pos_y(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "pos_y", value) + @allowed_ip_addresses.setter + def allowed_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "allowed_ip_addresses", value) if not MYPY: - class StorageCredentialAwsIamRoleArgsDict(TypedDict): - role_arn: pulumi.Input[str] + class RecipientPropertiesKvpairsArgsDict(TypedDict): + properties: pulumi.Input[Mapping[str, pulumi.Input[str]]] """ - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - - `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. """ - external_id: NotRequired[pulumi.Input[str]] - unity_catalog_iam_arn: NotRequired[pulumi.Input[str]] elif False: - StorageCredentialAwsIamRoleArgsDict: TypeAlias = Mapping[str, Any] + RecipientPropertiesKvpairsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class StorageCredentialAwsIamRoleArgs: +class RecipientPropertiesKvpairsArgs: def __init__(__self__, *, - role_arn: pulumi.Input[str], - external_id: Optional[pulumi.Input[str]] = None, - unity_catalog_iam_arn: Optional[pulumi.Input[str]] = None): + properties: pulumi.Input[Mapping[str, pulumi.Input[str]]]): """ - :param pulumi.Input[str] role_arn: The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - - `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. """ - pulumi.set(__self__, "role_arn", role_arn) - if external_id is not None: - pulumi.set(__self__, "external_id", external_id) - if unity_catalog_iam_arn is not None: - pulumi.set(__self__, "unity_catalog_iam_arn", unity_catalog_iam_arn) + pulumi.set(__self__, "properties", properties) @property - @pulumi.getter(name="roleArn") - def role_arn(self) -> pulumi.Input[str]: + @pulumi.getter + def properties(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: """ - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` - - `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + a map of string key-value pairs with recipient's properties. Properties with name starting with `databricks.` are reserved. """ - return pulumi.get(self, "role_arn") - - @role_arn.setter - def role_arn(self, value: pulumi.Input[str]): - pulumi.set(self, "role_arn", value) - - @property - @pulumi.getter(name="externalId") - def external_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "external_id") - - @external_id.setter - def external_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "external_id", value) - - @property - @pulumi.getter(name="unityCatalogIamArn") - def unity_catalog_iam_arn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "unity_catalog_iam_arn") + return pulumi.get(self, "properties") - @unity_catalog_iam_arn.setter - def unity_catalog_iam_arn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "unity_catalog_iam_arn", value) + @properties.setter + def properties(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): + pulumi.set(self, "properties", value) if not MYPY: - class StorageCredentialAzureManagedIdentityArgsDict(TypedDict): - access_connector_id: pulumi.Input[str] - """ - The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. - """ - credential_id: NotRequired[pulumi.Input[str]] - managed_identity_id: NotRequired[pulumi.Input[str]] + class RecipientTokenArgsDict(TypedDict): + activation_url: NotRequired[pulumi.Input[str]] """ - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. - - `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. """ -elif False: - StorageCredentialAzureManagedIdentityArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class StorageCredentialAzureManagedIdentityArgs: - def __init__(__self__, *, - access_connector_id: pulumi.Input[str], - credential_id: Optional[pulumi.Input[str]] = None, - managed_identity_id: Optional[pulumi.Input[str]] = None): + created_at: NotRequired[pulumi.Input[int]] """ - :param pulumi.Input[str] access_connector_id: The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. - :param pulumi.Input[str] managed_identity_id: The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. - - `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + Time at which this recipient was created, in epoch milliseconds. """ - pulumi.set(__self__, "access_connector_id", access_connector_id) - if credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if managed_identity_id is not None: - pulumi.set(__self__, "managed_identity_id", managed_identity_id) - - @property - @pulumi.getter(name="accessConnectorId") - def access_connector_id(self) -> pulumi.Input[str]: + created_by: NotRequired[pulumi.Input[str]] """ - The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + Username of recipient creator. """ - return pulumi.get(self, "access_connector_id") - - @access_connector_id.setter - def access_connector_id(self, value: pulumi.Input[str]): - pulumi.set(self, "access_connector_id", value) - - @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "credential_id") - - @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "credential_id", value) - - @property - @pulumi.getter(name="managedIdentityId") - def managed_identity_id(self) -> Optional[pulumi.Input[str]]: + expiration_time: NotRequired[pulumi.Input[int]] """ - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. - - `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + Expiration timestamp of the token in epoch milliseconds. """ - return pulumi.get(self, "managed_identity_id") - - @managed_identity_id.setter - def managed_identity_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "managed_identity_id", value) - - -if not MYPY: - class StorageCredentialAzureServicePrincipalArgsDict(TypedDict): - application_id: pulumi.Input[str] + id: NotRequired[pulumi.Input[str]] """ - The application ID of the application registration within the referenced AAD tenant + Unique ID of the recipient token. """ - client_secret: pulumi.Input[str] + updated_at: NotRequired[pulumi.Input[int]] """ - The client secret generated for the above app ID in AAD. **This field is redacted on output** + Time at which this recipient was updated, in epoch milliseconds. """ - directory_id: pulumi.Input[str] + updated_by: NotRequired[pulumi.Input[str]] """ - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + Username of recipient Token updater. """ elif False: - StorageCredentialAzureServicePrincipalArgsDict: TypeAlias = Mapping[str, Any] + RecipientTokenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class StorageCredentialAzureServicePrincipalArgs: +class RecipientTokenArgs: def __init__(__self__, *, - application_id: pulumi.Input[str], - client_secret: pulumi.Input[str], - directory_id: pulumi.Input[str]): + activation_url: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + created_by: Optional[pulumi.Input[str]] = None, + expiration_time: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + updated_by: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] application_id: The application ID of the application registration within the referenced AAD tenant - :param pulumi.Input[str] client_secret: The client secret generated for the above app ID in AAD. **This field is redacted on output** - :param pulumi.Input[str] directory_id: The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + :param pulumi.Input[str] activation_url: Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. + :param pulumi.Input[int] created_at: Time at which this recipient was created, in epoch milliseconds. + :param pulumi.Input[str] created_by: Username of recipient creator. + :param pulumi.Input[int] expiration_time: Expiration timestamp of the token in epoch milliseconds. + :param pulumi.Input[str] id: Unique ID of the recipient token. + :param pulumi.Input[int] updated_at: Time at which this recipient was updated, in epoch milliseconds. + :param pulumi.Input[str] updated_by: Username of recipient Token updater. """ - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "directory_id", directory_id) + if activation_url is not None: + pulumi.set(__self__, "activation_url", activation_url) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if expiration_time is not None: + pulumi.set(__self__, "expiration_time", expiration_time) + if id is not None: + pulumi.set(__self__, "id", id) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="applicationId") - def application_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="activationUrl") + def activation_url(self) -> Optional[pulumi.Input[str]]: """ - The application ID of the application registration within the referenced AAD tenant + Full activation URL to retrieve the access token. It will be empty if the token is already retrieved. """ - return pulumi.get(self, "application_id") + return pulumi.get(self, "activation_url") - @application_id.setter - def application_id(self, value: pulumi.Input[str]): - pulumi.set(self, "application_id", value) + @activation_url.setter + def activation_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "activation_url", value) @property - @pulumi.getter(name="clientSecret") - def client_secret(self) -> pulumi.Input[str]: + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[int]]: """ - The client secret generated for the above app ID in AAD. **This field is redacted on output** + Time at which this recipient was created, in epoch milliseconds. """ - return pulumi.get(self, "client_secret") + return pulumi.get(self, "created_at") - @client_secret.setter - def client_secret(self, value: pulumi.Input[str]): - pulumi.set(self, "client_secret", value) + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter(name="directoryId") - def directory_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input[str]]: """ - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + Username of recipient creator. """ - return pulumi.get(self, "directory_id") - - @directory_id.setter - def directory_id(self, value: pulumi.Input[str]): - pulumi.set(self, "directory_id", value) + return pulumi.get(self, "created_by") + @created_by.setter + def created_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by", value) -if not MYPY: - class StorageCredentialCloudflareApiTokenArgsDict(TypedDict): - access_key_id: pulumi.Input[str] - """ - R2 API token access key ID - """ - account_id: pulumi.Input[str] - """ - R2 account ID - """ - secret_access_key: pulumi.Input[str] + @property + @pulumi.getter(name="expirationTime") + def expiration_time(self) -> Optional[pulumi.Input[int]]: """ - R2 API token secret access key - - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + Expiration timestamp of the token in epoch milliseconds. """ -elif False: - StorageCredentialCloudflareApiTokenArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "expiration_time") -@pulumi.input_type -class StorageCredentialCloudflareApiTokenArgs: - def __init__(__self__, *, - access_key_id: pulumi.Input[str], - account_id: pulumi.Input[str], - secret_access_key: pulumi.Input[str]): - """ - :param pulumi.Input[str] access_key_id: R2 API token access key ID - :param pulumi.Input[str] account_id: R2 account ID - :param pulumi.Input[str] secret_access_key: R2 API token secret access key - - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): - """ - pulumi.set(__self__, "access_key_id", access_key_id) - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "secret_access_key", secret_access_key) + @expiration_time.setter + def expiration_time(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "expiration_time", value) @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> pulumi.Input[str]: + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: """ - R2 API token access key ID + Unique ID of the recipient token. """ - return pulumi.get(self, "access_key_id") + return pulumi.get(self, "id") - @access_key_id.setter - def access_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "access_key_id", value) + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[int]]: """ - R2 account ID + Time at which this recipient was updated, in epoch milliseconds. """ - return pulumi.get(self, "account_id") + return pulumi.get(self, "updated_at") - @account_id.setter - def account_id(self, value: pulumi.Input[str]): - pulumi.set(self, "account_id", value) + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter(name="secretAccessKey") - def secret_access_key(self) -> pulumi.Input[str]: + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input[str]]: """ - R2 API token secret access key - - `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + Username of recipient Token updater. """ - return pulumi.get(self, "secret_access_key") + return pulumi.get(self, "updated_by") - @secret_access_key.setter - def secret_access_key(self, value: pulumi.Input[str]): - pulumi.set(self, "secret_access_key", value) + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by", value) if not MYPY: - class StorageCredentialDatabricksGcpServiceAccountArgsDict(TypedDict): - credential_id: NotRequired[pulumi.Input[str]] - email: NotRequired[pulumi.Input[str]] + class RepoSparseCheckoutArgsDict(TypedDict): + patterns: pulumi.Input[Sequence[pulumi.Input[str]]] """ - The email of the GCP service account created, to be granted access to relevant buckets. + array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Addition or removal of the `sparse_checkout` configuration block will lead to recreation of the Git folder. """ elif False: - StorageCredentialDatabricksGcpServiceAccountArgsDict: TypeAlias = Mapping[str, Any] + RepoSparseCheckoutArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class StorageCredentialDatabricksGcpServiceAccountArgs: +class RepoSparseCheckoutArgs: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[str]] = None, - email: Optional[pulumi.Input[str]] = None): + patterns: pulumi.Input[Sequence[pulumi.Input[str]]]): """ - :param pulumi.Input[str] email: The email of the GCP service account created, to be granted access to relevant buckets. + :param pulumi.Input[Sequence[pulumi.Input[str]]] patterns: array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Addition or removal of the `sparse_checkout` configuration block will lead to recreation of the Git folder. """ - if credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if email is not None: - pulumi.set(__self__, "email", email) - - @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "credential_id") - - @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "credential_id", value) + pulumi.set(__self__, "patterns", patterns) @property @pulumi.getter - def email(self) -> Optional[pulumi.Input[str]]: + def patterns(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - The email of the GCP service account created, to be granted access to relevant buckets. + array of paths (directories) that will be used for sparse checkout. List of patterns could be updated in-place. - `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + Addition or removal of the `sparse_checkout` configuration block will lead to recreation of the Git folder. """ - return pulumi.get(self, "email") + return pulumi.get(self, "patterns") - @email.setter - def email(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "email", value) + @patterns.setter + def patterns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "patterns", value) if not MYPY: - class StorageCredentialGcpServiceAccountKeyArgsDict(TypedDict): - email: pulumi.Input[str] + class RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgsDict(TypedDict): + status: pulumi.Input[str] """ - The email of the GCP service account created, to be granted access to relevant buckets. - - `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + The restrict workspace admins status for the workspace. """ - private_key: pulumi.Input[str] - private_key_id: pulumi.Input[str] elif False: - StorageCredentialGcpServiceAccountKeyArgsDict: TypeAlias = Mapping[str, Any] + RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class StorageCredentialGcpServiceAccountKeyArgs: +class RestrictWorkspaceAdminsSettingRestrictWorkspaceAdminsArgs: def __init__(__self__, *, - email: pulumi.Input[str], - private_key: pulumi.Input[str], - private_key_id: pulumi.Input[str]): + status: pulumi.Input[str]): """ - :param pulumi.Input[str] email: The email of the GCP service account created, to be granted access to relevant buckets. - - `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + :param pulumi.Input[str] status: The restrict workspace admins status for the workspace. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "private_key", private_key) - pulumi.set(__self__, "private_key_id", private_key_id) + pulumi.set(__self__, "status", status) @property @pulumi.getter - def email(self) -> pulumi.Input[str]: + def status(self) -> pulumi.Input[str]: """ - The email of the GCP service account created, to be granted access to relevant buckets. - - `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + The restrict workspace admins status for the workspace. """ - return pulumi.get(self, "email") + return pulumi.get(self, "status") - @email.setter - def email(self, value: pulumi.Input[str]): - pulumi.set(self, "email", value) + @status.setter + def status(self, value: pulumi.Input[str]): + pulumi.set(self, "status", value) + + +if not MYPY: + class SecretScopeKeyvaultMetadataArgsDict(TypedDict): + dns_name: pulumi.Input[str] + resource_id: pulumi.Input[str] +elif False: + SecretScopeKeyvaultMetadataArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SecretScopeKeyvaultMetadataArgs: + def __init__(__self__, *, + dns_name: pulumi.Input[str], + resource_id: pulumi.Input[str]): + pulumi.set(__self__, "dns_name", dns_name) + pulumi.set(__self__, "resource_id", resource_id) @property - @pulumi.getter(name="privateKey") - def private_key(self) -> pulumi.Input[str]: - return pulumi.get(self, "private_key") + @pulumi.getter(name="dnsName") + def dns_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "dns_name") - @private_key.setter - def private_key(self, value: pulumi.Input[str]): - pulumi.set(self, "private_key", value) + @dns_name.setter + def dns_name(self, value: pulumi.Input[str]): + pulumi.set(self, "dns_name", value) @property - @pulumi.getter(name="privateKeyId") - def private_key_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "private_key_id") + @pulumi.getter(name="resourceId") + def resource_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "resource_id") - @private_key_id.setter - def private_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "private_key_id", value) + @resource_id.setter + def resource_id(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_id", value) if not MYPY: - class TableColumnArgsDict(TypedDict): - name: pulumi.Input[str] - position: pulumi.Input[int] - type_name: pulumi.Input[str] - type_text: pulumi.Input[str] + class ShareObjectArgsDict(TypedDict): + data_object_type: pulumi.Input[str] + """ + Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. + """ + name: pulumi.Input[str] + """ + Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. + """ + added_at: NotRequired[pulumi.Input[int]] + added_by: NotRequired[pulumi.Input[str]] + cdf_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `history_data_sharing_status` can not be set. + """ comment: NotRequired[pulumi.Input[str]] - nullable: NotRequired[pulumi.Input[bool]] - partition_index: NotRequired[pulumi.Input[int]] - type_interval_type: NotRequired[pulumi.Input[str]] - type_json: NotRequired[pulumi.Input[str]] - type_precision: NotRequired[pulumi.Input[int]] - type_scale: NotRequired[pulumi.Input[int]] + """ + Description about the object. + """ + content: NotRequired[pulumi.Input[str]] + history_data_sharing_status: NotRequired[pulumi.Input[str]] + """ + Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The start_version should be less than or equal the current version of the object. When this field is set, field `cdf_enabled` can not be set. + + To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. + """ + partitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgsDict']]]] + shared_as: NotRequired[pulumi.Input[str]] + """ + A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `shared_as` name. The `shared_as` name must be unique within a Share. Change forces creation of a new resource. + """ + start_version: NotRequired[pulumi.Input[int]] + """ + The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. + """ + status: NotRequired[pulumi.Input[str]] + """ + Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. + """ + string_shared_as: NotRequired[pulumi.Input[str]] elif False: - TableColumnArgsDict: TypeAlias = Mapping[str, Any] + ShareObjectArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class TableColumnArgs: +class ShareObjectArgs: def __init__(__self__, *, + data_object_type: pulumi.Input[str], name: pulumi.Input[str], - position: pulumi.Input[int], - type_name: pulumi.Input[str], - type_text: pulumi.Input[str], + added_at: Optional[pulumi.Input[int]] = None, + added_by: Optional[pulumi.Input[str]] = None, + cdf_enabled: Optional[pulumi.Input[bool]] = None, comment: Optional[pulumi.Input[str]] = None, - nullable: Optional[pulumi.Input[bool]] = None, - partition_index: Optional[pulumi.Input[int]] = None, - type_interval_type: Optional[pulumi.Input[str]] = None, - type_json: Optional[pulumi.Input[str]] = None, - type_precision: Optional[pulumi.Input[int]] = None, - type_scale: Optional[pulumi.Input[int]] = None): + content: Optional[pulumi.Input[str]] = None, + history_data_sharing_status: Optional[pulumi.Input[str]] = None, + partitions: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgs']]]] = None, + shared_as: Optional[pulumi.Input[str]] = None, + start_version: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + string_shared_as: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] data_object_type: Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. + :param pulumi.Input[str] name: Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. + :param pulumi.Input[bool] cdf_enabled: Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `history_data_sharing_status` can not be set. + :param pulumi.Input[str] comment: Description about the object. + :param pulumi.Input[str] history_data_sharing_status: Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The start_version should be less than or equal the current version of the object. When this field is set, field `cdf_enabled` can not be set. + + To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. + :param pulumi.Input[str] shared_as: A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `shared_as` name. The `shared_as` name must be unique within a Share. Change forces creation of a new resource. + :param pulumi.Input[int] start_version: The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. + :param pulumi.Input[str] status: Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. + """ + pulumi.set(__self__, "data_object_type", data_object_type) pulumi.set(__self__, "name", name) - pulumi.set(__self__, "position", position) - pulumi.set(__self__, "type_name", type_name) - pulumi.set(__self__, "type_text", type_text) + if added_at is not None: + pulumi.set(__self__, "added_at", added_at) + if added_by is not None: + pulumi.set(__self__, "added_by", added_by) + if cdf_enabled is not None: + pulumi.set(__self__, "cdf_enabled", cdf_enabled) if comment is not None: pulumi.set(__self__, "comment", comment) - if nullable is not None: - pulumi.set(__self__, "nullable", nullable) - if partition_index is not None: - pulumi.set(__self__, "partition_index", partition_index) - if type_interval_type is not None: - pulumi.set(__self__, "type_interval_type", type_interval_type) - if type_json is not None: - pulumi.set(__self__, "type_json", type_json) - if type_precision is not None: - pulumi.set(__self__, "type_precision", type_precision) - if type_scale is not None: - pulumi.set(__self__, "type_scale", type_scale) + if content is not None: + pulumi.set(__self__, "content", content) + if history_data_sharing_status is not None: + pulumi.set(__self__, "history_data_sharing_status", history_data_sharing_status) + if partitions is not None: + pulumi.set(__self__, "partitions", partitions) + if shared_as is not None: + pulumi.set(__self__, "shared_as", shared_as) + if start_version is not None: + pulumi.set(__self__, "start_version", start_version) + if status is not None: + pulumi.set(__self__, "status", status) + if string_shared_as is not None: + pulumi.set(__self__, "string_shared_as", string_shared_as) + + @property + @pulumi.getter(name="dataObjectType") + def data_object_type(self) -> pulumi.Input[str]: + """ + Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported. + """ + return pulumi.get(self, "data_object_type") + + @data_object_type.setter + def data_object_type(self, value: pulumi.Input[str]): + pulumi.set(self, "data_object_type", value) @property @pulumi.getter def name(self) -> pulumi.Input[str]: + """ + Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas. + """ return pulumi.get(self, "name") @name.setter @@ -33122,35 +32232,41 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) @property - @pulumi.getter - def position(self) -> pulumi.Input[int]: - return pulumi.get(self, "position") + @pulumi.getter(name="addedAt") + def added_at(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "added_at") - @position.setter - def position(self, value: pulumi.Input[int]): - pulumi.set(self, "position", value) + @added_at.setter + def added_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "added_at", value) @property - @pulumi.getter(name="typeName") - def type_name(self) -> pulumi.Input[str]: - return pulumi.get(self, "type_name") + @pulumi.getter(name="addedBy") + def added_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "added_by") - @type_name.setter - def type_name(self, value: pulumi.Input[str]): - pulumi.set(self, "type_name", value) + @added_by.setter + def added_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "added_by", value) @property - @pulumi.getter(name="typeText") - def type_text(self) -> pulumi.Input[str]: - return pulumi.get(self, "type_text") + @pulumi.getter(name="cdfEnabled") + def cdf_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field `history_data_sharing_status` can not be set. + """ + return pulumi.get(self, "cdf_enabled") - @type_text.setter - def type_text(self, value: pulumi.Input[str]): - pulumi.set(self, "type_text", value) + @cdf_enabled.setter + def cdf_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "cdf_enabled", value) @property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: + """ + Description about the object. + """ return pulumi.get(self, "comment") @comment.setter @@ -33159,472 +32275,390 @@ def comment(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def nullable(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "nullable") + def content(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "content") - @nullable.setter - def nullable(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "nullable", value) + @content.setter + def content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content", value) @property - @pulumi.getter(name="partitionIndex") - def partition_index(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "partition_index") + @pulumi.getter(name="historyDataSharingStatus") + def history_data_sharing_status(self) -> Optional[pulumi.Input[str]]: + """ + Whether to enable history sharing, one of: `ENABLED`, `DISABLED`. When a table has history sharing enabled, recipients can query table data by version, starting from the current table version. If not specified, clients can only query starting from the version of the object at the time it was added to the share. *NOTE*: The start_version should be less than or equal the current version of the object. When this field is set, field `cdf_enabled` can not be set. - @partition_index.setter - def partition_index(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "partition_index", value) + To share only part of a table when you add the table to a share, you can provide partition specifications. This is specified by a number of `partition` blocks. Each entry in `partition` block takes a list of `value` blocks. The field is documented below. + """ + return pulumi.get(self, "history_data_sharing_status") + + @history_data_sharing_status.setter + def history_data_sharing_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "history_data_sharing_status", value) @property - @pulumi.getter(name="typeIntervalType") - def type_interval_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type_interval_type") + @pulumi.getter + def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgs']]]]: + return pulumi.get(self, "partitions") - @type_interval_type.setter - def type_interval_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_interval_type", value) + @partitions.setter + def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionArgs']]]]): + pulumi.set(self, "partitions", value) @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type_json") + @pulumi.getter(name="sharedAs") + def shared_as(self) -> Optional[pulumi.Input[str]]: + """ + A user-provided new name for the data object within the share. If this new name is not provided, the object's original name will be used as the `shared_as` name. The `shared_as` name must be unique within a Share. Change forces creation of a new resource. + """ + return pulumi.get(self, "shared_as") - @type_json.setter - def type_json(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type_json", value) + @shared_as.setter + def shared_as(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "shared_as", value) @property - @pulumi.getter(name="typePrecision") - def type_precision(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "type_precision") + @pulumi.getter(name="startVersion") + def start_version(self) -> Optional[pulumi.Input[int]]: + """ + The start version associated with the object for cdf. This allows data providers to control the lowest object version that is accessible by clients. + """ + return pulumi.get(self, "start_version") - @type_precision.setter - def type_precision(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "type_precision", value) + @start_version.setter + def start_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "start_version", value) @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "type_scale") + @pulumi.getter + def status(self) -> Optional[pulumi.Input[str]]: + """ + Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`. + """ + return pulumi.get(self, "status") - @type_scale.setter - def type_scale(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "type_scale", value) + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter(name="stringSharedAs") + def string_shared_as(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "string_shared_as") + + @string_shared_as.setter + def string_shared_as(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "string_shared_as", value) if not MYPY: - class VectorSearchEndpointEndpointStatusArgsDict(TypedDict): - message: NotRequired[pulumi.Input[str]] - """ - Additional status message. - """ - state: NotRequired[pulumi.Input[str]] + class ShareObjectPartitionArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgsDict']]]] """ - Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. """ elif False: - VectorSearchEndpointEndpointStatusArgsDict: TypeAlias = Mapping[str, Any] + ShareObjectPartitionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class VectorSearchEndpointEndpointStatusArgs: +class ShareObjectPartitionArgs: def __init__(__self__, *, - message: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] message: Additional status message. - :param pulumi.Input[str] state: Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. - """ - if message is not None: - pulumi.set(__self__, "message", message) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: + values: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]]] = None): """ - Additional status message. + :param pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]] values: The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. """ - return pulumi.get(self, "message") - - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) + if values is not None: + pulumi.set(__self__, "values", values) @property @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]]]: """ - Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. """ - return pulumi.get(self, "state") + return pulumi.get(self, "values") - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]]]): + pulumi.set(self, "values", value) if not MYPY: - class VectorSearchIndexDeltaSyncIndexSpecArgsDict(TypedDict): - embedding_source_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgsDict']]]] + class ShareObjectPartitionValueArgsDict(TypedDict): + name: pulumi.Input[str] """ - array of objects representing columns that contain the embedding source. Each entry consists of: + The name of the partition column. """ - embedding_vector_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgsDict']]]] - embedding_writeback_table: NotRequired[pulumi.Input[str]] - pipeline_id: NotRequired[pulumi.Input[str]] + op: pulumi.Input[str] """ - ID of the associated Delta Live Table pipeline. + The operator to apply for the value, one of: `EQUAL`, `LIKE` """ - pipeline_type: NotRequired[pulumi.Input[str]] + recipient_property_key: NotRequired[pulumi.Input[str]] """ - Pipeline execution mode. Possible values are: - * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. - * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. """ - source_table: NotRequired[pulumi.Input[str]] + value: NotRequired[pulumi.Input[str]] """ - The name of the source table. + The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. """ elif False: - VectorSearchIndexDeltaSyncIndexSpecArgsDict: TypeAlias = Mapping[str, Any] + ShareObjectPartitionValueArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class VectorSearchIndexDeltaSyncIndexSpecArgs: +class ShareObjectPartitionValueArgs: def __init__(__self__, *, - embedding_source_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]] = None, - embedding_vector_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]] = None, - embedding_writeback_table: Optional[pulumi.Input[str]] = None, - pipeline_id: Optional[pulumi.Input[str]] = None, - pipeline_type: Optional[pulumi.Input[str]] = None, - source_table: Optional[pulumi.Input[str]] = None): + name: pulumi.Input[str], + op: pulumi.Input[str], + recipient_property_key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]] embedding_source_columns: array of objects representing columns that contain the embedding source. Each entry consists of: - :param pulumi.Input[str] pipeline_id: ID of the associated Delta Live Table pipeline. - :param pulumi.Input[str] pipeline_type: Pipeline execution mode. Possible values are: - * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. - * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. - :param pulumi.Input[str] source_table: The name of the source table. + :param pulumi.Input[str] name: The name of the partition column. + :param pulumi.Input[str] op: The operator to apply for the value, one of: `EQUAL`, `LIKE` + :param pulumi.Input[str] recipient_property_key: The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. + :param pulumi.Input[str] value: The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. """ - if embedding_source_columns is not None: - pulumi.set(__self__, "embedding_source_columns", embedding_source_columns) - if embedding_vector_columns is not None: - pulumi.set(__self__, "embedding_vector_columns", embedding_vector_columns) - if embedding_writeback_table is not None: - pulumi.set(__self__, "embedding_writeback_table", embedding_writeback_table) - if pipeline_id is not None: - pulumi.set(__self__, "pipeline_id", pipeline_id) - if pipeline_type is not None: - pulumi.set(__self__, "pipeline_type", pipeline_type) - if source_table is not None: - pulumi.set(__self__, "source_table", source_table) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "op", op) + if recipient_property_key is not None: + pulumi.set(__self__, "recipient_property_key", recipient_property_key) + if value is not None: + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="embeddingSourceColumns") - def embedding_source_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]]: + @pulumi.getter + def name(self) -> pulumi.Input[str]: """ - array of objects representing columns that contain the embedding source. Each entry consists of: + The name of the partition column. """ - return pulumi.get(self, "embedding_source_columns") - - @embedding_source_columns.setter - def embedding_source_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]]): - pulumi.set(self, "embedding_source_columns", value) - - @property - @pulumi.getter(name="embeddingVectorColumns") - def embedding_vector_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]]: - return pulumi.get(self, "embedding_vector_columns") - - @embedding_vector_columns.setter - def embedding_vector_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]]): - pulumi.set(self, "embedding_vector_columns", value) - - @property - @pulumi.getter(name="embeddingWritebackTable") - def embedding_writeback_table(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "embedding_writeback_table") + return pulumi.get(self, "name") - @embedding_writeback_table.setter - def embedding_writeback_table(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "embedding_writeback_table", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def op(self) -> pulumi.Input[str]: """ - ID of the associated Delta Live Table pipeline. + The operator to apply for the value, one of: `EQUAL`, `LIKE` """ - return pulumi.get(self, "pipeline_id") + return pulumi.get(self, "op") - @pipeline_id.setter - def pipeline_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pipeline_id", value) + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) @property - @pulumi.getter(name="pipelineType") - def pipeline_type(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="recipientPropertyKey") + def recipient_property_key(self) -> Optional[pulumi.Input[str]]: """ - Pipeline execution mode. Possible values are: - * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. - * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + The key of a Delta Sharing recipient's property. For example `databricks-account-id`. When this field is set, field `value` can not be set. """ - return pulumi.get(self, "pipeline_type") + return pulumi.get(self, "recipient_property_key") - @pipeline_type.setter - def pipeline_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "pipeline_type", value) + @recipient_property_key.setter + def recipient_property_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "recipient_property_key", value) @property - @pulumi.getter(name="sourceTable") - def source_table(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: """ - The name of the source table. + The value of the partition column. When this value is not set, it means null value. When this field is set, field `recipient_property_key` can not be set. """ - return pulumi.get(self, "source_table") + return pulumi.get(self, "value") - @source_table.setter - def source_table(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_table", value) + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) if not MYPY: - class VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgsDict(TypedDict): - embedding_model_endpoint_name: NotRequired[pulumi.Input[str]] - name: NotRequired[pulumi.Input[str]] + class SqlAlertOptionsArgsDict(TypedDict): + column: pulumi.Input[str] """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name of column in the query result to compare in alert evaluation. """ -elif False: - VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs: - def __init__(__self__, *, - embedding_model_endpoint_name: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): + op: pulumi.Input[str] """ - :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) """ - if embedding_model_endpoint_name is not None: - pulumi.set(__self__, "embedding_model_endpoint_name", embedding_model_endpoint_name) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter(name="embeddingModelEndpointName") - def embedding_model_endpoint_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "embedding_model_endpoint_name") - - @embedding_model_endpoint_name.setter - def embedding_model_endpoint_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "embedding_model_endpoint_name", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + value: pulumi.Input[str] """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Value used to compare in alert evaluation. """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -if not MYPY: - class VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgsDict(TypedDict): - embedding_dimension: NotRequired[pulumi.Input[int]] - name: NotRequired[pulumi.Input[str]] + custom_body: NotRequired[pulumi.Input[str]] """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. """ -elif False: - VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs: - def __init__(__self__, *, - embedding_dimension: Optional[pulumi.Input[int]] = None, - name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). - """ - if embedding_dimension is not None: - pulumi.set(__self__, "embedding_dimension", embedding_dimension) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter(name="embeddingDimension") - def embedding_dimension(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "embedding_dimension") - - @embedding_dimension.setter - def embedding_dimension(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "embedding_dimension", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + custom_subject: NotRequired[pulumi.Input[str]] """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -if not MYPY: - class VectorSearchIndexDirectAccessIndexSpecArgsDict(TypedDict): - embedding_source_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgsDict']]]] + empty_result_state: NotRequired[pulumi.Input[str]] """ - array of objects representing columns that contain the embedding source. Each entry consists of: + State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. """ - embedding_vector_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgsDict']]]] - schema_json: NotRequired[pulumi.Input[str]] + muted: NotRequired[pulumi.Input[bool]] """ - The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. """ elif False: - VectorSearchIndexDirectAccessIndexSpecArgsDict: TypeAlias = Mapping[str, Any] + SqlAlertOptionsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class VectorSearchIndexDirectAccessIndexSpecArgs: +class SqlAlertOptionsArgs: def __init__(__self__, *, - embedding_source_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]]] = None, - embedding_vector_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]] = None, - schema_json: Optional[pulumi.Input[str]] = None): + column: pulumi.Input[str], + op: pulumi.Input[str], + value: pulumi.Input[str], + custom_body: Optional[pulumi.Input[str]] = None, + custom_subject: Optional[pulumi.Input[str]] = None, + empty_result_state: Optional[pulumi.Input[str]] = None, + muted: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]] embedding_source_columns: array of objects representing columns that contain the embedding source. Each entry consists of: - :param pulumi.Input[str] schema_json: The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + :param pulumi.Input[str] column: Name of column in the query result to compare in alert evaluation. + :param pulumi.Input[str] op: Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) + :param pulumi.Input[str] value: Value used to compare in alert evaluation. + :param pulumi.Input[str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + :param pulumi.Input[str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + :param pulumi.Input[str] empty_result_state: State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + :param pulumi.Input[bool] muted: Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. """ - if embedding_source_columns is not None: - pulumi.set(__self__, "embedding_source_columns", embedding_source_columns) - if embedding_vector_columns is not None: - pulumi.set(__self__, "embedding_vector_columns", embedding_vector_columns) - if schema_json is not None: - pulumi.set(__self__, "schema_json", schema_json) + pulumi.set(__self__, "column", column) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) + if custom_body is not None: + pulumi.set(__self__, "custom_body", custom_body) + if custom_subject is not None: + pulumi.set(__self__, "custom_subject", custom_subject) + if empty_result_state is not None: + pulumi.set(__self__, "empty_result_state", empty_result_state) + if muted is not None: + pulumi.set(__self__, "muted", muted) @property - @pulumi.getter(name="embeddingSourceColumns") - def embedding_source_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]]]: + @pulumi.getter + def column(self) -> pulumi.Input[str]: """ - array of objects representing columns that contain the embedding source. Each entry consists of: + Name of column in the query result to compare in alert evaluation. """ - return pulumi.get(self, "embedding_source_columns") + return pulumi.get(self, "column") - @embedding_source_columns.setter - def embedding_source_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]]]): - pulumi.set(self, "embedding_source_columns", value) + @column.setter + def column(self, value: pulumi.Input[str]): + pulumi.set(self, "column", value) @property - @pulumi.getter(name="embeddingVectorColumns") - def embedding_vector_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]]: - return pulumi.get(self, "embedding_vector_columns") + @pulumi.getter + def op(self) -> pulumi.Input[str]: + """ + Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) + """ + return pulumi.get(self, "op") - @embedding_vector_columns.setter - def embedding_vector_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]]): - pulumi.set(self, "embedding_vector_columns", value) + @op.setter + def op(self, value: pulumi.Input[str]): + pulumi.set(self, "op", value) @property - @pulumi.getter(name="schemaJson") - def schema_json(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def value(self) -> pulumi.Input[str]: """ - The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + Value used to compare in alert evaluation. """ - return pulumi.get(self, "schema_json") - - @schema_json.setter - def schema_json(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "schema_json", value) + return pulumi.get(self, "value") + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) -if not MYPY: - class VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgsDict(TypedDict): - embedding_model_endpoint_name: NotRequired[pulumi.Input[str]] - name: NotRequired[pulumi.Input[str]] + @property + @pulumi.getter(name="customBody") + def custom_body(self) -> Optional[pulumi.Input[str]]: """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. """ -elif False: - VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "custom_body") -@pulumi.input_type -class VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs: - def __init__(__self__, *, - embedding_model_endpoint_name: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): + @custom_body.setter + def custom_body(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_body", value) + + @property + @pulumi.getter(name="customSubject") + def custom_subject(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. """ - if embedding_model_endpoint_name is not None: - pulumi.set(__self__, "embedding_model_endpoint_name", embedding_model_endpoint_name) - if name is not None: - pulumi.set(__self__, "name", name) + return pulumi.get(self, "custom_subject") + + @custom_subject.setter + def custom_subject(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_subject", value) @property - @pulumi.getter(name="embeddingModelEndpointName") - def embedding_model_endpoint_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "embedding_model_endpoint_name") + @pulumi.getter(name="emptyResultState") + def empty_result_state(self) -> Optional[pulumi.Input[str]]: + """ + State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + """ + return pulumi.get(self, "empty_result_state") - @embedding_model_endpoint_name.setter - def embedding_model_endpoint_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "embedding_model_endpoint_name", value) + @empty_result_state.setter + def empty_result_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "empty_result_state", value) @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + def muted(self) -> Optional[pulumi.Input[bool]]: """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. """ - return pulumi.get(self, "name") + return pulumi.get(self, "muted") - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) + @muted.setter + def muted(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "muted", value) if not MYPY: - class VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgsDict(TypedDict): - embedding_dimension: NotRequired[pulumi.Input[int]] + class SqlEndpointChannelArgsDict(TypedDict): + dbsql_version: NotRequired[pulumi.Input[str]] name: NotRequired[pulumi.Input[str]] """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. """ elif False: - VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgsDict: TypeAlias = Mapping[str, Any] + SqlEndpointChannelArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs: +class SqlEndpointChannelArgs: def __init__(__self__, *, - embedding_dimension: Optional[pulumi.Input[int]] = None, + dbsql_version: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + :param pulumi.Input[str] name: Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. """ - if embedding_dimension is not None: - pulumi.set(__self__, "embedding_dimension", embedding_dimension) + if dbsql_version is not None: + pulumi.set(__self__, "dbsql_version", dbsql_version) if name is not None: pulumi.set(__self__, "name", name) @property - @pulumi.getter(name="embeddingDimension") - def embedding_dimension(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "embedding_dimension") + @pulumi.getter(name="dbsqlVersion") + def dbsql_version(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "dbsql_version") - @embedding_dimension.setter - def embedding_dimension(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "embedding_dimension", value) + @dbsql_version.setter + def dbsql_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dbsql_version", value) @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`. """ return pulumi.get(self, "name") @@ -33634,78 +32668,55 @@ def name(self, value: Optional[pulumi.Input[str]]): if not MYPY: - class VectorSearchIndexStatusArgsDict(TypedDict): - index_url: NotRequired[pulumi.Input[str]] - """ - Index API Url to be used to perform operations on the index - """ - indexed_row_count: NotRequired[pulumi.Input[int]] - """ - Number of rows indexed - """ + class SqlEndpointHealthArgsDict(TypedDict): + details: NotRequired[pulumi.Input[str]] + failure_reason: NotRequired[pulumi.Input['SqlEndpointHealthFailureReasonArgsDict']] message: NotRequired[pulumi.Input[str]] - """ - Message associated with the index status - """ - ready: NotRequired[pulumi.Input[bool]] - """ - Whether the index is ready for search - """ + status: NotRequired[pulumi.Input[str]] + summary: NotRequired[pulumi.Input[str]] elif False: - VectorSearchIndexStatusArgsDict: TypeAlias = Mapping[str, Any] + SqlEndpointHealthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class VectorSearchIndexStatusArgs: +class SqlEndpointHealthArgs: def __init__(__self__, *, - index_url: Optional[pulumi.Input[str]] = None, - indexed_row_count: Optional[pulumi.Input[int]] = None, + details: Optional[pulumi.Input[str]] = None, + failure_reason: Optional[pulumi.Input['SqlEndpointHealthFailureReasonArgs']] = None, message: Optional[pulumi.Input[str]] = None, - ready: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] index_url: Index API Url to be used to perform operations on the index - :param pulumi.Input[int] indexed_row_count: Number of rows indexed - :param pulumi.Input[str] message: Message associated with the index status - :param pulumi.Input[bool] ready: Whether the index is ready for search - """ - if index_url is not None: - pulumi.set(__self__, "index_url", index_url) - if indexed_row_count is not None: - pulumi.set(__self__, "indexed_row_count", indexed_row_count) + status: Optional[pulumi.Input[str]] = None, + summary: Optional[pulumi.Input[str]] = None): + if details is not None: + pulumi.set(__self__, "details", details) + if failure_reason is not None: + pulumi.set(__self__, "failure_reason", failure_reason) if message is not None: pulumi.set(__self__, "message", message) - if ready is not None: - pulumi.set(__self__, "ready", ready) + if status is not None: + pulumi.set(__self__, "status", status) + if summary is not None: + pulumi.set(__self__, "summary", summary) @property - @pulumi.getter(name="indexUrl") - def index_url(self) -> Optional[pulumi.Input[str]]: - """ - Index API Url to be used to perform operations on the index - """ - return pulumi.get(self, "index_url") + @pulumi.getter + def details(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "details") - @index_url.setter - def index_url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "index_url", value) + @details.setter + def details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "details", value) @property - @pulumi.getter(name="indexedRowCount") - def indexed_row_count(self) -> Optional[pulumi.Input[int]]: - """ - Number of rows indexed - """ - return pulumi.get(self, "indexed_row_count") + @pulumi.getter(name="failureReason") + def failure_reason(self) -> Optional[pulumi.Input['SqlEndpointHealthFailureReasonArgs']]: + return pulumi.get(self, "failure_reason") - @indexed_row_count.setter - def indexed_row_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "indexed_row_count", value) + @failure_reason.setter + def failure_reason(self, value: Optional[pulumi.Input['SqlEndpointHealthFailureReasonArgs']]): + pulumi.set(self, "failure_reason", value) @property @pulumi.getter def message(self) -> Optional[pulumi.Input[str]]: - """ - Message associated with the index status - """ return pulumi.get(self, "message") @message.setter @@ -33714,630 +32725,5165 @@ def message(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def ready(self) -> Optional[pulumi.Input[bool]]: - """ - Whether the index is ready for search - """ - return pulumi.get(self, "ready") + def status(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "status") - @ready.setter - def ready(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "ready", value) + @status.setter + def status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "status", value) + + @property + @pulumi.getter + def summary(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "summary") + + @summary.setter + def summary(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "summary", value) if not MYPY: - class GetCatalogCatalogInfoArgsDict(TypedDict): - browse_only: NotRequired[bool] - catalog_type: NotRequired[str] - """ - Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - """ - comment: NotRequired[str] - """ - Free-form text description - """ - connection_name: NotRequired[str] - """ - The name of the connection to an external data source. - """ - created_at: NotRequired[int] - """ - Time at which this catalog was created, in epoch milliseconds. - """ - created_by: NotRequired[str] - """ - Username of catalog creator. - """ - effective_predictive_optimization_flag: NotRequired['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgsDict'] - """ - object describing applied predictive optimization flag. - """ - enable_predictive_optimization: NotRequired[str] - """ - Whether predictive optimization should be enabled for this object and objects under it. - """ - full_name: NotRequired[str] - """ - The full name of the catalog. Corresponds with the name field. - """ - isolation_mode: NotRequired[str] - """ - Whether the current securable is accessible from all workspaces or a specific set of workspaces. - """ - metastore_id: NotRequired[str] - """ - Unique identifier of parent metastore. - """ - name: NotRequired[str] - """ - name of the catalog - """ - options: NotRequired[Mapping[str, str]] - """ - A map of key-value properties attached to the securable. - """ - owner: NotRequired[str] - """ - Current owner of the catalog - """ - properties: NotRequired[Mapping[str, str]] - """ - A map of key-value properties attached to the securable. - """ - provider_name: NotRequired[str] - """ - The name of delta sharing provider. - """ - provisioning_info: NotRequired['GetCatalogCatalogInfoProvisioningInfoArgsDict'] - securable_kind: NotRequired[str] - """ - Kind of catalog securable. - """ - securable_type: NotRequired[str] - """ - Securable type. - """ - share_name: NotRequired[str] - """ - The name of the share under the share provider. - """ - storage_location: NotRequired[str] - """ - Storage Location URL (full path) for managed tables within catalog. - """ - storage_root: NotRequired[str] - """ - Storage root URL for managed tables within catalog. - """ - updated_at: NotRequired[int] - """ - Time at which this catalog was last modified, in epoch milliseconds. - """ - updated_by: NotRequired[str] - """ - Username of user who last modified catalog. - """ + class SqlEndpointHealthFailureReasonArgsDict(TypedDict): + code: NotRequired[pulumi.Input[str]] + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + type: NotRequired[pulumi.Input[str]] elif False: - GetCatalogCatalogInfoArgsDict: TypeAlias = Mapping[str, Any] + SqlEndpointHealthFailureReasonArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetCatalogCatalogInfoArgs: +class SqlEndpointHealthFailureReasonArgs: def __init__(__self__, *, - browse_only: Optional[bool] = None, - catalog_type: Optional[str] = None, - comment: Optional[str] = None, - connection_name: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - effective_predictive_optimization_flag: Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs'] = None, - enable_predictive_optimization: Optional[str] = None, - full_name: Optional[str] = None, - isolation_mode: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - options: Optional[Mapping[str, str]] = None, - owner: Optional[str] = None, - properties: Optional[Mapping[str, str]] = None, - provider_name: Optional[str] = None, - provisioning_info: Optional['GetCatalogCatalogInfoProvisioningInfoArgs'] = None, - securable_kind: Optional[str] = None, - securable_type: Optional[str] = None, - share_name: Optional[str] = None, - storage_location: Optional[str] = None, - storage_root: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param str catalog_type: Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - :param str comment: Free-form text description - :param str connection_name: The name of the connection to an external data source. - :param int created_at: Time at which this catalog was created, in epoch milliseconds. - :param str created_by: Username of catalog creator. - :param 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: object describing applied predictive optimization flag. - :param str enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. - :param str full_name: The full name of the catalog. Corresponds with the name field. - :param str isolation_mode: Whether the current securable is accessible from all workspaces or a specific set of workspaces. - :param str metastore_id: Unique identifier of parent metastore. - :param str name: name of the catalog - :param Mapping[str, str] options: A map of key-value properties attached to the securable. - :param str owner: Current owner of the catalog - :param Mapping[str, str] properties: A map of key-value properties attached to the securable. - :param str provider_name: The name of delta sharing provider. - :param str securable_kind: Kind of catalog securable. - :param str securable_type: Securable type. - :param str share_name: The name of the share under the share provider. - :param str storage_location: Storage Location URL (full path) for managed tables within catalog. - :param str storage_root: Storage root URL for managed tables within catalog. - :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. - :param str updated_by: Username of user who last modified catalog. - """ - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_type is not None: - pulumi.set(__self__, "catalog_type", catalog_type) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if connection_name is not None: - pulumi.set(__self__, "connection_name", connection_name) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if effective_predictive_optimization_flag is not None: - pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) - if enable_predictive_optimization is not None: - pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if isolation_mode is not None: - pulumi.set(__self__, "isolation_mode", isolation_mode) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if options is not None: - pulumi.set(__self__, "options", options) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if properties is not None: - pulumi.set(__self__, "properties", properties) - if provider_name is not None: - pulumi.set(__self__, "provider_name", provider_name) - if provisioning_info is not None: - pulumi.set(__self__, "provisioning_info", provisioning_info) - if securable_kind is not None: - pulumi.set(__self__, "securable_kind", securable_kind) - if securable_type is not None: - pulumi.set(__self__, "securable_type", securable_type) - if share_name is not None: - pulumi.set(__self__, "share_name", share_name) - if storage_location is not None: - pulumi.set(__self__, "storage_location", storage_location) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + code: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None): + if code is not None: + pulumi.set(__self__, "code", code) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if type is not None: + pulumi.set(__self__, "type", type) @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - return pulumi.get(self, "browse_only") + @pulumi.getter + def code(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "code") - @browse_only.setter - def browse_only(self, value: Optional[bool]): - pulumi.set(self, "browse_only", value) + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) @property - @pulumi.getter(name="catalogType") - def catalog_type(self) -> Optional[str]: + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "parameters", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +if not MYPY: + class SqlEndpointOdbcParamsArgsDict(TypedDict): + hostname: NotRequired[pulumi.Input[str]] + path: NotRequired[pulumi.Input[str]] + port: NotRequired[pulumi.Input[int]] + protocol: NotRequired[pulumi.Input[str]] +elif False: + SqlEndpointOdbcParamsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlEndpointOdbcParamsArgs: + def __init__(__self__, *, + hostname: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None): + if hostname is not None: + pulumi.set(__self__, "hostname", hostname) + if path is not None: + pulumi.set(__self__, "path", path) + if port is not None: + pulumi.set(__self__, "port", port) + if protocol is not None: + pulumi.set(__self__, "protocol", protocol) + + @property + @pulumi.getter + def hostname(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "hostname") + + @hostname.setter + def hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hostname", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + @property + @pulumi.getter + def protocol(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "protocol") + + @protocol.setter + def protocol(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "protocol", value) + + +if not MYPY: + class SqlEndpointTagsArgsDict(TypedDict): + custom_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgsDict']]]] +elif False: + SqlEndpointTagsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlEndpointTagsArgs: + def __init__(__self__, *, + custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]]] = None): + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]]]: + return pulumi.get(self, "custom_tags") + + @custom_tags.setter + def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]]]): + pulumi.set(self, "custom_tags", value) + + +if not MYPY: + class SqlEndpointTagsCustomTagArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + SqlEndpointTagsCustomTagArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlEndpointTagsCustomTagArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + value: pulumi.Input[str]): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlPermissionsPrivilegeAssignmentArgsDict(TypedDict): + principal: pulumi.Input[str] """ - Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. """ - return pulumi.get(self, "catalog_type") + privileges: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + SqlPermissionsPrivilegeAssignmentArgsDict: TypeAlias = Mapping[str, Any] - @catalog_type.setter - def catalog_type(self, value: Optional[str]): - pulumi.set(self, "catalog_type", value) +@pulumi.input_type +class SqlPermissionsPrivilegeAssignmentArgs: + def __init__(__self__, *, + principal: pulumi.Input[str], + privileges: pulumi.Input[Sequence[pulumi.Input[str]]]): + """ + :param pulumi.Input[str] principal: `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. + """ + pulumi.set(__self__, "principal", principal) + pulumi.set(__self__, "privileges", privileges) @property @pulumi.getter - def comment(self) -> Optional[str]: + def principal(self) -> pulumi.Input[str]: """ - Free-form text description + `display_name` for a Group or databricks_user, `application_id` for a databricks_service_principal. """ - return pulumi.get(self, "comment") + return pulumi.get(self, "principal") - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) + @principal.setter + def principal(self, value: pulumi.Input[str]): + pulumi.set(self, "principal", value) @property - @pulumi.getter(name="connectionName") - def connection_name(self) -> Optional[str]: + @pulumi.getter + def privileges(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "privileges") + + @privileges.setter + def privileges(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "privileges", value) + + +if not MYPY: + class SqlQueryParameterArgsDict(TypedDict): + name: pulumi.Input[str] """ - The name of the connection to an external data source. + The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block """ - return pulumi.get(self, "connection_name") + date: NotRequired[pulumi.Input['SqlQueryParameterDateArgsDict']] + date_range: NotRequired[pulumi.Input['SqlQueryParameterDateRangeArgsDict']] + datetime: NotRequired[pulumi.Input['SqlQueryParameterDatetimeArgsDict']] + datetime_range: NotRequired[pulumi.Input['SqlQueryParameterDatetimeRangeArgsDict']] + datetimesec: NotRequired[pulumi.Input['SqlQueryParameterDatetimesecArgsDict']] + datetimesec_range: NotRequired[pulumi.Input['SqlQueryParameterDatetimesecRangeArgsDict']] + enum: NotRequired[pulumi.Input['SqlQueryParameterEnumArgsDict']] + number: NotRequired[pulumi.Input['SqlQueryParameterNumberArgsDict']] + query: NotRequired[pulumi.Input['SqlQueryParameterQueryArgsDict']] + """ + The text of the query to be run. + """ + text: NotRequired[pulumi.Input['SqlQueryParameterTextArgsDict']] + title: NotRequired[pulumi.Input[str]] + """ + The text displayed in a parameter picking widget. + """ +elif False: + SqlQueryParameterArgsDict: TypeAlias = Mapping[str, Any] - @connection_name.setter - def connection_name(self, value: Optional[str]): - pulumi.set(self, "connection_name", value) +@pulumi.input_type +class SqlQueryParameterArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + date: Optional[pulumi.Input['SqlQueryParameterDateArgs']] = None, + date_range: Optional[pulumi.Input['SqlQueryParameterDateRangeArgs']] = None, + datetime: Optional[pulumi.Input['SqlQueryParameterDatetimeArgs']] = None, + datetime_range: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeArgs']] = None, + datetimesec: Optional[pulumi.Input['SqlQueryParameterDatetimesecArgs']] = None, + datetimesec_range: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeArgs']] = None, + enum: Optional[pulumi.Input['SqlQueryParameterEnumArgs']] = None, + number: Optional[pulumi.Input['SqlQueryParameterNumberArgs']] = None, + query: Optional[pulumi.Input['SqlQueryParameterQueryArgs']] = None, + text: Optional[pulumi.Input['SqlQueryParameterTextArgs']] = None, + title: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + :param pulumi.Input['SqlQueryParameterQueryArgs'] query: The text of the query to be run. + :param pulumi.Input[str] title: The text displayed in a parameter picking widget. + """ + pulumi.set(__self__, "name", name) + if date is not None: + pulumi.set(__self__, "date", date) + if date_range is not None: + pulumi.set(__self__, "date_range", date_range) + if datetime is not None: + pulumi.set(__self__, "datetime", datetime) + if datetime_range is not None: + pulumi.set(__self__, "datetime_range", datetime_range) + if datetimesec is not None: + pulumi.set(__self__, "datetimesec", datetimesec) + if datetimesec_range is not None: + pulumi.set(__self__, "datetimesec_range", datetimesec_range) + if enum is not None: + pulumi.set(__self__, "enum", enum) + if number is not None: + pulumi.set(__self__, "number", number) + if query is not None: + pulumi.set(__self__, "query", query) + if text is not None: + pulumi.set(__self__, "text", text) + if title is not None: + pulumi.set(__self__, "title", title) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: + @pulumi.getter + def name(self) -> pulumi.Input[str]: """ - Time at which this catalog was created, in epoch milliseconds. + The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block """ - return pulumi.get(self, "created_at") + return pulumi.get(self, "name") - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: + @pulumi.getter + def date(self) -> Optional[pulumi.Input['SqlQueryParameterDateArgs']]: + return pulumi.get(self, "date") + + @date.setter + def date(self, value: Optional[pulumi.Input['SqlQueryParameterDateArgs']]): + pulumi.set(self, "date", value) + + @property + @pulumi.getter(name="dateRange") + def date_range(self) -> Optional[pulumi.Input['SqlQueryParameterDateRangeArgs']]: + return pulumi.get(self, "date_range") + + @date_range.setter + def date_range(self, value: Optional[pulumi.Input['SqlQueryParameterDateRangeArgs']]): + pulumi.set(self, "date_range", value) + + @property + @pulumi.getter + def datetime(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimeArgs']]: + return pulumi.get(self, "datetime") + + @datetime.setter + def datetime(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeArgs']]): + pulumi.set(self, "datetime", value) + + @property + @pulumi.getter(name="datetimeRange") + def datetime_range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimeRangeArgs']]: + return pulumi.get(self, "datetime_range") + + @datetime_range.setter + def datetime_range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeArgs']]): + pulumi.set(self, "datetime_range", value) + + @property + @pulumi.getter + def datetimesec(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimesecArgs']]: + return pulumi.get(self, "datetimesec") + + @datetimesec.setter + def datetimesec(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecArgs']]): + pulumi.set(self, "datetimesec", value) + + @property + @pulumi.getter(name="datetimesecRange") + def datetimesec_range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeArgs']]: + return pulumi.get(self, "datetimesec_range") + + @datetimesec_range.setter + def datetimesec_range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeArgs']]): + pulumi.set(self, "datetimesec_range", value) + + @property + @pulumi.getter + def enum(self) -> Optional[pulumi.Input['SqlQueryParameterEnumArgs']]: + return pulumi.get(self, "enum") + + @enum.setter + def enum(self, value: Optional[pulumi.Input['SqlQueryParameterEnumArgs']]): + pulumi.set(self, "enum", value) + + @property + @pulumi.getter + def number(self) -> Optional[pulumi.Input['SqlQueryParameterNumberArgs']]: + return pulumi.get(self, "number") + + @number.setter + def number(self, value: Optional[pulumi.Input['SqlQueryParameterNumberArgs']]): + pulumi.set(self, "number", value) + + @property + @pulumi.getter + def query(self) -> Optional[pulumi.Input['SqlQueryParameterQueryArgs']]: """ - Username of catalog creator. + The text of the query to be run. """ - return pulumi.get(self, "created_by") + return pulumi.get(self, "query") - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) + @query.setter + def query(self, value: Optional[pulumi.Input['SqlQueryParameterQueryArgs']]): + pulumi.set(self, "query", value) @property - @pulumi.getter(name="effectivePredictiveOptimizationFlag") - def effective_predictive_optimization_flag(self) -> Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs']: + @pulumi.getter + def text(self) -> Optional[pulumi.Input['SqlQueryParameterTextArgs']]: + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input['SqlQueryParameterTextArgs']]): + pulumi.set(self, "text", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: """ - object describing applied predictive optimization flag. + The text displayed in a parameter picking widget. """ - return pulumi.get(self, "effective_predictive_optimization_flag") + return pulumi.get(self, "title") - @effective_predictive_optimization_flag.setter - def effective_predictive_optimization_flag(self, value: Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs']): - pulumi.set(self, "effective_predictive_optimization_flag", value) + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + +if not MYPY: + class SqlQueryParameterDateArgsDict(TypedDict): + value: pulumi.Input[str] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterDateArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDateArgs: + def __init__(__self__, *, + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterDateRangeArgsDict(TypedDict): + range: NotRequired[pulumi.Input['SqlQueryParameterDateRangeRangeArgsDict']] + value: NotRequired[pulumi.Input[str]] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterDateRangeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDateRangeArgs: + def __init__(__self__, *, + range: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']] = None, + value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + if range is not None: + pulumi.set(__self__, "range", range) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def range(self) -> Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']]: + return pulumi.get(self, "range") + + @range.setter + def range(self, value: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']]): + pulumi.set(self, "range", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterDateRangeRangeArgsDict(TypedDict): + end: pulumi.Input[str] + start: pulumi.Input[str] +elif False: + SqlQueryParameterDateRangeRangeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDateRangeRangeArgs: + def __init__(__self__, *, + end: pulumi.Input[str], + start: pulumi.Input[str]): + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> pulumi.Input[str]: + return pulumi.get(self, "end") + + @end.setter + def end(self, value: pulumi.Input[str]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter + def start(self) -> pulumi.Input[str]: + return pulumi.get(self, "start") + + @start.setter + def start(self, value: pulumi.Input[str]): + pulumi.set(self, "start", value) + + +if not MYPY: + class SqlQueryParameterDatetimeArgsDict(TypedDict): + value: pulumi.Input[str] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterDatetimeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDatetimeArgs: + def __init__(__self__, *, + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterDatetimeRangeArgsDict(TypedDict): + range: NotRequired[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgsDict']] + value: NotRequired[pulumi.Input[str]] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterDatetimeRangeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDatetimeRangeArgs: + def __init__(__self__, *, + range: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']] = None, + value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + if range is not None: + pulumi.set(__self__, "range", range) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']]: + return pulumi.get(self, "range") + + @range.setter + def range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']]): + pulumi.set(self, "range", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterDatetimeRangeRangeArgsDict(TypedDict): + end: pulumi.Input[str] + start: pulumi.Input[str] +elif False: + SqlQueryParameterDatetimeRangeRangeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDatetimeRangeRangeArgs: + def __init__(__self__, *, + end: pulumi.Input[str], + start: pulumi.Input[str]): + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> pulumi.Input[str]: + return pulumi.get(self, "end") + + @end.setter + def end(self, value: pulumi.Input[str]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter + def start(self) -> pulumi.Input[str]: + return pulumi.get(self, "start") + + @start.setter + def start(self, value: pulumi.Input[str]): + pulumi.set(self, "start", value) + + +if not MYPY: + class SqlQueryParameterDatetimesecArgsDict(TypedDict): + value: pulumi.Input[str] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterDatetimesecArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDatetimesecArgs: + def __init__(__self__, *, + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterDatetimesecRangeArgsDict(TypedDict): + range: NotRequired[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgsDict']] + value: NotRequired[pulumi.Input[str]] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterDatetimesecRangeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDatetimesecRangeArgs: + def __init__(__self__, *, + range: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']] = None, + value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + if range is not None: + pulumi.set(__self__, "range", range) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def range(self) -> Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']]: + return pulumi.get(self, "range") + + @range.setter + def range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']]): + pulumi.set(self, "range", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterDatetimesecRangeRangeArgsDict(TypedDict): + end: pulumi.Input[str] + start: pulumi.Input[str] +elif False: + SqlQueryParameterDatetimesecRangeRangeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterDatetimesecRangeRangeArgs: + def __init__(__self__, *, + end: pulumi.Input[str], + start: pulumi.Input[str]): + pulumi.set(__self__, "end", end) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> pulumi.Input[str]: + return pulumi.get(self, "end") + + @end.setter + def end(self, value: pulumi.Input[str]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter + def start(self) -> pulumi.Input[str]: + return pulumi.get(self, "start") + + @start.setter + def start(self, value: pulumi.Input[str]): + pulumi.set(self, "start", value) + + +if not MYPY: + class SqlQueryParameterEnumArgsDict(TypedDict): + options: pulumi.Input[Sequence[pulumi.Input[str]]] + multiple: NotRequired[pulumi.Input['SqlQueryParameterEnumMultipleArgsDict']] + value: NotRequired[pulumi.Input[str]] + """ + The default value for this parameter. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + SqlQueryParameterEnumArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterEnumArgs: + def __init__(__self__, *, + options: pulumi.Input[Sequence[pulumi.Input[str]]], + multiple: Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + pulumi.set(__self__, "options", options) + if multiple is not None: + pulumi.set(__self__, "multiple", multiple) + if value is not None: + pulumi.set(__self__, "value", value) + if values is not None: + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def options(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "options") + + @options.setter + def options(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def multiple(self) -> Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']]: + return pulumi.get(self, "multiple") + + @multiple.setter + def multiple(self, value: Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']]): + pulumi.set(self, "multiple", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "values", value) + + +if not MYPY: + class SqlQueryParameterEnumMultipleArgsDict(TypedDict): + separator: pulumi.Input[str] + prefix: NotRequired[pulumi.Input[str]] + suffix: NotRequired[pulumi.Input[str]] +elif False: + SqlQueryParameterEnumMultipleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterEnumMultipleArgs: + def __init__(__self__, *, + separator: pulumi.Input[str], + prefix: Optional[pulumi.Input[str]] = None, + suffix: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "separator", separator) + if prefix is not None: + pulumi.set(__self__, "prefix", prefix) + if suffix is not None: + pulumi.set(__self__, "suffix", suffix) + + @property + @pulumi.getter + def separator(self) -> pulumi.Input[str]: + return pulumi.get(self, "separator") + + @separator.setter + def separator(self, value: pulumi.Input[str]): + pulumi.set(self, "separator", value) + + @property + @pulumi.getter + def prefix(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "prefix") + + @prefix.setter + def prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prefix", value) + + @property + @pulumi.getter + def suffix(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "suffix") + + @suffix.setter + def suffix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "suffix", value) + + +if not MYPY: + class SqlQueryParameterNumberArgsDict(TypedDict): + value: pulumi.Input[float] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterNumberArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterNumberArgs: + def __init__(__self__, *, + value: pulumi.Input[float]): + """ + :param pulumi.Input[float] value: The default value for this parameter. + """ + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[float]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[float]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryParameterQueryArgsDict(TypedDict): + query_id: pulumi.Input[str] + multiple: NotRequired[pulumi.Input['SqlQueryParameterQueryMultipleArgsDict']] + value: NotRequired[pulumi.Input[str]] + """ + The default value for this parameter. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + SqlQueryParameterQueryArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterQueryArgs: + def __init__(__self__, *, + query_id: pulumi.Input[str], + multiple: Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + pulumi.set(__self__, "query_id", query_id) + if multiple is not None: + pulumi.set(__self__, "multiple", multiple) + if value is not None: + pulumi.set(__self__, "value", value) + if values is not None: + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter(name="queryId") + def query_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "query_id") + + @query_id.setter + def query_id(self, value: pulumi.Input[str]): + pulumi.set(self, "query_id", value) + + @property + @pulumi.getter + def multiple(self) -> Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']]: + return pulumi.get(self, "multiple") + + @multiple.setter + def multiple(self, value: Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']]): + pulumi.set(self, "multiple", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "values", value) + + +if not MYPY: + class SqlQueryParameterQueryMultipleArgsDict(TypedDict): + separator: pulumi.Input[str] + prefix: NotRequired[pulumi.Input[str]] + suffix: NotRequired[pulumi.Input[str]] +elif False: + SqlQueryParameterQueryMultipleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterQueryMultipleArgs: + def __init__(__self__, *, + separator: pulumi.Input[str], + prefix: Optional[pulumi.Input[str]] = None, + suffix: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "separator", separator) + if prefix is not None: + pulumi.set(__self__, "prefix", prefix) + if suffix is not None: + pulumi.set(__self__, "suffix", suffix) + + @property + @pulumi.getter + def separator(self) -> pulumi.Input[str]: + return pulumi.get(self, "separator") + + @separator.setter + def separator(self, value: pulumi.Input[str]): + pulumi.set(self, "separator", value) + + @property + @pulumi.getter + def prefix(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "prefix") + + @prefix.setter + def prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prefix", value) + + @property + @pulumi.getter + def suffix(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "suffix") + + @suffix.setter + def suffix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "suffix", value) + + +if not MYPY: + class SqlQueryParameterTextArgsDict(TypedDict): + value: pulumi.Input[str] + """ + The default value for this parameter. + """ +elif False: + SqlQueryParameterTextArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryParameterTextArgs: + def __init__(__self__, *, + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class SqlQueryScheduleArgsDict(TypedDict): + continuous: NotRequired[pulumi.Input['SqlQueryScheduleContinuousArgsDict']] + daily: NotRequired[pulumi.Input['SqlQueryScheduleDailyArgsDict']] + weekly: NotRequired[pulumi.Input['SqlQueryScheduleWeeklyArgsDict']] +elif False: + SqlQueryScheduleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryScheduleArgs: + def __init__(__self__, *, + continuous: Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']] = None, + daily: Optional[pulumi.Input['SqlQueryScheduleDailyArgs']] = None, + weekly: Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']] = None): + if continuous is not None: + pulumi.set(__self__, "continuous", continuous) + if daily is not None: + pulumi.set(__self__, "daily", daily) + if weekly is not None: + pulumi.set(__self__, "weekly", weekly) + + @property + @pulumi.getter + def continuous(self) -> Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']]: + return pulumi.get(self, "continuous") + + @continuous.setter + def continuous(self, value: Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']]): + pulumi.set(self, "continuous", value) + + @property + @pulumi.getter + def daily(self) -> Optional[pulumi.Input['SqlQueryScheduleDailyArgs']]: + return pulumi.get(self, "daily") + + @daily.setter + def daily(self, value: Optional[pulumi.Input['SqlQueryScheduleDailyArgs']]): + pulumi.set(self, "daily", value) + + @property + @pulumi.getter + def weekly(self) -> Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']]: + return pulumi.get(self, "weekly") + + @weekly.setter + def weekly(self, value: Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']]): + pulumi.set(self, "weekly", value) + + +if not MYPY: + class SqlQueryScheduleContinuousArgsDict(TypedDict): + interval_seconds: pulumi.Input[int] + until_date: NotRequired[pulumi.Input[str]] +elif False: + SqlQueryScheduleContinuousArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryScheduleContinuousArgs: + def __init__(__self__, *, + interval_seconds: pulumi.Input[int], + until_date: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "interval_seconds", interval_seconds) + if until_date is not None: + pulumi.set(__self__, "until_date", until_date) + + @property + @pulumi.getter(name="intervalSeconds") + def interval_seconds(self) -> pulumi.Input[int]: + return pulumi.get(self, "interval_seconds") + + @interval_seconds.setter + def interval_seconds(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_seconds", value) + + @property + @pulumi.getter(name="untilDate") + def until_date(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "until_date") + + @until_date.setter + def until_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "until_date", value) + + +if not MYPY: + class SqlQueryScheduleDailyArgsDict(TypedDict): + interval_days: pulumi.Input[int] + time_of_day: pulumi.Input[str] + until_date: NotRequired[pulumi.Input[str]] +elif False: + SqlQueryScheduleDailyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryScheduleDailyArgs: + def __init__(__self__, *, + interval_days: pulumi.Input[int], + time_of_day: pulumi.Input[str], + until_date: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "interval_days", interval_days) + pulumi.set(__self__, "time_of_day", time_of_day) + if until_date is not None: + pulumi.set(__self__, "until_date", until_date) + + @property + @pulumi.getter(name="intervalDays") + def interval_days(self) -> pulumi.Input[int]: + return pulumi.get(self, "interval_days") + + @interval_days.setter + def interval_days(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_days", value) + + @property + @pulumi.getter(name="timeOfDay") + def time_of_day(self) -> pulumi.Input[str]: + return pulumi.get(self, "time_of_day") + + @time_of_day.setter + def time_of_day(self, value: pulumi.Input[str]): + pulumi.set(self, "time_of_day", value) + + @property + @pulumi.getter(name="untilDate") + def until_date(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "until_date") + + @until_date.setter + def until_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "until_date", value) + + +if not MYPY: + class SqlQueryScheduleWeeklyArgsDict(TypedDict): + day_of_week: pulumi.Input[str] + interval_weeks: pulumi.Input[int] + time_of_day: pulumi.Input[str] + until_date: NotRequired[pulumi.Input[str]] +elif False: + SqlQueryScheduleWeeklyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlQueryScheduleWeeklyArgs: + def __init__(__self__, *, + day_of_week: pulumi.Input[str], + interval_weeks: pulumi.Input[int], + time_of_day: pulumi.Input[str], + until_date: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "interval_weeks", interval_weeks) + pulumi.set(__self__, "time_of_day", time_of_day) + if until_date is not None: + pulumi.set(__self__, "until_date", until_date) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> pulumi.Input[str]: + return pulumi.get(self, "day_of_week") + + @day_of_week.setter + def day_of_week(self, value: pulumi.Input[str]): + pulumi.set(self, "day_of_week", value) + + @property + @pulumi.getter(name="intervalWeeks") + def interval_weeks(self) -> pulumi.Input[int]: + return pulumi.get(self, "interval_weeks") + + @interval_weeks.setter + def interval_weeks(self, value: pulumi.Input[int]): + pulumi.set(self, "interval_weeks", value) + + @property + @pulumi.getter(name="timeOfDay") + def time_of_day(self) -> pulumi.Input[str]: + return pulumi.get(self, "time_of_day") + + @time_of_day.setter + def time_of_day(self, value: pulumi.Input[str]): + pulumi.set(self, "time_of_day", value) + + @property + @pulumi.getter(name="untilDate") + def until_date(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "until_date") + + @until_date.setter + def until_date(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "until_date", value) + + +if not MYPY: + class SqlTableColumnArgsDict(TypedDict): + name: pulumi.Input[str] + """ + User-visible name of column + """ + comment: NotRequired[pulumi.Input[str]] + """ + User-supplied free-form text. + """ + identity: NotRequired[pulumi.Input[str]] + """ + Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. + """ + nullable: NotRequired[pulumi.Input[bool]] + """ + Whether field is nullable (Default: `true`) + """ + type: NotRequired[pulumi.Input[str]] + """ + Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + """ + type_json: NotRequired[pulumi.Input[str]] +elif False: + SqlTableColumnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlTableColumnArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + comment: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[str]] = None, + nullable: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + type_json: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: User-visible name of column + :param pulumi.Input[str] comment: User-supplied free-form text. + :param pulumi.Input[str] identity: Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. + :param pulumi.Input[bool] nullable: Whether field is nullable (Default: `true`) + :param pulumi.Input[str] type: Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + """ + pulumi.set(__self__, "name", name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if nullable is not None: + pulumi.set(__self__, "nullable", nullable) + if type is not None: + pulumi.set(__self__, "type", type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + User-visible name of column + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def comment(self) -> Optional[pulumi.Input[str]]: + """ + User-supplied free-form text. + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input[str]]: + """ + Whether field is an identity column. Can be `default`, `always` or unset. It is unset by default. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def nullable(self) -> Optional[pulumi.Input[bool]]: + """ + Whether field is nullable (Default: `true`) + """ + return pulumi.get(self, "nullable") + + @nullable.setter + def nullable(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "nullable", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Column type spec (with metadata) as SQL text. Not supported for `VIEW` table_type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "type_json") + + @type_json.setter + def type_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type_json", value) + + +if not MYPY: + class SqlWidgetParameterArgsDict(TypedDict): + name: pulumi.Input[str] + type: pulumi.Input[str] + map_to: NotRequired[pulumi.Input[str]] + title: NotRequired[pulumi.Input[str]] + value: NotRequired[pulumi.Input[str]] + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + SqlWidgetParameterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlWidgetParameterArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + type: pulumi.Input[str], + map_to: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + if map_to is not None: + pulumi.set(__self__, "map_to", map_to) + if title is not None: + pulumi.set(__self__, "title", title) + if value is not None: + pulumi.set(__self__, "value", value) + if values is not None: + pulumi.set(__self__, "values", values) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="mapTo") + def map_to(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "map_to") + + @map_to.setter + def map_to(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "map_to", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "values", value) + + +if not MYPY: + class SqlWidgetPositionArgsDict(TypedDict): + size_x: pulumi.Input[int] + size_y: pulumi.Input[int] + auto_height: NotRequired[pulumi.Input[bool]] + pos_x: NotRequired[pulumi.Input[int]] + pos_y: NotRequired[pulumi.Input[int]] +elif False: + SqlWidgetPositionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SqlWidgetPositionArgs: + def __init__(__self__, *, + size_x: pulumi.Input[int], + size_y: pulumi.Input[int], + auto_height: Optional[pulumi.Input[bool]] = None, + pos_x: Optional[pulumi.Input[int]] = None, + pos_y: Optional[pulumi.Input[int]] = None): + pulumi.set(__self__, "size_x", size_x) + pulumi.set(__self__, "size_y", size_y) + if auto_height is not None: + pulumi.set(__self__, "auto_height", auto_height) + if pos_x is not None: + pulumi.set(__self__, "pos_x", pos_x) + if pos_y is not None: + pulumi.set(__self__, "pos_y", pos_y) + + @property + @pulumi.getter(name="sizeX") + def size_x(self) -> pulumi.Input[int]: + return pulumi.get(self, "size_x") + + @size_x.setter + def size_x(self, value: pulumi.Input[int]): + pulumi.set(self, "size_x", value) + + @property + @pulumi.getter(name="sizeY") + def size_y(self) -> pulumi.Input[int]: + return pulumi.get(self, "size_y") + + @size_y.setter + def size_y(self, value: pulumi.Input[int]): + pulumi.set(self, "size_y", value) + + @property + @pulumi.getter(name="autoHeight") + def auto_height(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "auto_height") + + @auto_height.setter + def auto_height(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "auto_height", value) + + @property + @pulumi.getter(name="posX") + def pos_x(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "pos_x") + + @pos_x.setter + def pos_x(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "pos_x", value) + + @property + @pulumi.getter(name="posY") + def pos_y(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "pos_y") + + @pos_y.setter + def pos_y(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "pos_y", value) + + +if not MYPY: + class StorageCredentialAwsIamRoleArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + """ + external_id: NotRequired[pulumi.Input[str]] + unity_catalog_iam_arn: NotRequired[pulumi.Input[str]] +elif False: + StorageCredentialAwsIamRoleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class StorageCredentialAwsIamRoleArgs: + def __init__(__self__, *, + role_arn: pulumi.Input[str], + external_id: Optional[pulumi.Input[str]] = None, + unity_catalog_iam_arn: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] role_arn: The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + """ + pulumi.set(__self__, "role_arn", role_arn) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if unity_catalog_iam_arn is not None: + pulumi.set(__self__, "unity_catalog_iam_arn", unity_catalog_iam_arn) + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> pulumi.Input[str]: + """ + The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over service principal): + """ + return pulumi.get(self, "role_arn") + + @role_arn.setter + def role_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "role_arn", value) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter(name="unityCatalogIamArn") + def unity_catalog_iam_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "unity_catalog_iam_arn") + + @unity_catalog_iam_arn.setter + def unity_catalog_iam_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "unity_catalog_iam_arn", value) + + +if not MYPY: + class StorageCredentialAzureManagedIdentityArgsDict(TypedDict): + access_connector_id: pulumi.Input[str] + """ + The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + """ + credential_id: NotRequired[pulumi.Input[str]] + managed_identity_id: NotRequired[pulumi.Input[str]] + """ + The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + """ +elif False: + StorageCredentialAzureManagedIdentityArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class StorageCredentialAzureManagedIdentityArgs: + def __init__(__self__, *, + access_connector_id: pulumi.Input[str], + credential_id: Optional[pulumi.Input[str]] = None, + managed_identity_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] access_connector_id: The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + :param pulumi.Input[str] managed_identity_id: The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + """ + pulumi.set(__self__, "access_connector_id", access_connector_id) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if managed_identity_id is not None: + pulumi.set(__self__, "managed_identity_id", managed_identity_id) + + @property + @pulumi.getter(name="accessConnectorId") + def access_connector_id(self) -> pulumi.Input[str]: + """ + The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + """ + return pulumi.get(self, "access_connector_id") + + @access_connector_id.setter + def access_connector_id(self, value: pulumi.Input[str]): + pulumi.set(self, "access_connector_id", value) + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential_id") + + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) + + @property + @pulumi.getter(name="managedIdentityId") + def managed_identity_id(self) -> Optional[pulumi.Input[str]]: + """ + The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account: + """ + return pulumi.get(self, "managed_identity_id") + + @managed_identity_id.setter + def managed_identity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "managed_identity_id", value) + + +if not MYPY: + class StorageCredentialAzureServicePrincipalArgsDict(TypedDict): + application_id: pulumi.Input[str] + """ + The application ID of the application registration within the referenced AAD tenant + """ + client_secret: pulumi.Input[str] + """ + The client secret generated for the above app ID in AAD. **This field is redacted on output** + """ + directory_id: pulumi.Input[str] + """ + The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + """ +elif False: + StorageCredentialAzureServicePrincipalArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class StorageCredentialAzureServicePrincipalArgs: + def __init__(__self__, *, + application_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + directory_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] application_id: The application ID of the application registration within the referenced AAD tenant + :param pulumi.Input[str] client_secret: The client secret generated for the above app ID in AAD. **This field is redacted on output** + :param pulumi.Input[str] directory_id: The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + """ + pulumi.set(__self__, "application_id", application_id) + pulumi.set(__self__, "client_secret", client_secret) + pulumi.set(__self__, "directory_id", directory_id) + + @property + @pulumi.getter(name="applicationId") + def application_id(self) -> pulumi.Input[str]: + """ + The application ID of the application registration within the referenced AAD tenant + """ + return pulumi.get(self, "application_id") + + @application_id.setter + def application_id(self, value: pulumi.Input[str]): + pulumi.set(self, "application_id", value) + + @property + @pulumi.getter(name="clientSecret") + def client_secret(self) -> pulumi.Input[str]: + """ + The client secret generated for the above app ID in AAD. **This field is redacted on output** + """ + return pulumi.get(self, "client_secret") + + @client_secret.setter + def client_secret(self, value: pulumi.Input[str]): + pulumi.set(self, "client_secret", value) + + @property + @pulumi.getter(name="directoryId") + def directory_id(self) -> pulumi.Input[str]: + """ + The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + """ + return pulumi.get(self, "directory_id") + + @directory_id.setter + def directory_id(self, value: pulumi.Input[str]): + pulumi.set(self, "directory_id", value) + + +if not MYPY: + class StorageCredentialCloudflareApiTokenArgsDict(TypedDict): + access_key_id: pulumi.Input[str] + """ + R2 API token access key ID + """ + account_id: pulumi.Input[str] + """ + R2 account ID + """ + secret_access_key: pulumi.Input[str] + """ + R2 API token secret access key + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + """ +elif False: + StorageCredentialCloudflareApiTokenArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class StorageCredentialCloudflareApiTokenArgs: + def __init__(__self__, *, + access_key_id: pulumi.Input[str], + account_id: pulumi.Input[str], + secret_access_key: pulumi.Input[str]): + """ + :param pulumi.Input[str] access_key_id: R2 API token access key ID + :param pulumi.Input[str] account_id: R2 account ID + :param pulumi.Input[str] secret_access_key: R2 API token secret access key + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + """ + pulumi.set(__self__, "access_key_id", access_key_id) + pulumi.set(__self__, "account_id", account_id) + pulumi.set(__self__, "secret_access_key", secret_access_key) + + @property + @pulumi.getter(name="accessKeyId") + def access_key_id(self) -> pulumi.Input[str]: + """ + R2 API token access key ID + """ + return pulumi.get(self, "access_key_id") + + @access_key_id.setter + def access_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "access_key_id", value) + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> pulumi.Input[str]: + """ + R2 account ID + """ + return pulumi.get(self, "account_id") + + @account_id.setter + def account_id(self, value: pulumi.Input[str]): + pulumi.set(self, "account_id", value) + + @property + @pulumi.getter(name="secretAccessKey") + def secret_access_key(self) -> pulumi.Input[str]: + """ + R2 API token secret access key + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure (Legacy): + """ + return pulumi.get(self, "secret_access_key") + + @secret_access_key.setter + def secret_access_key(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_access_key", value) + + +if not MYPY: + class StorageCredentialDatabricksGcpServiceAccountArgsDict(TypedDict): + credential_id: NotRequired[pulumi.Input[str]] + email: NotRequired[pulumi.Input[str]] + """ + The email of the GCP service account created, to be granted access to relevant buckets. + + `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + """ +elif False: + StorageCredentialDatabricksGcpServiceAccountArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class StorageCredentialDatabricksGcpServiceAccountArgs: + def __init__(__self__, *, + credential_id: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] email: The email of the GCP service account created, to be granted access to relevant buckets. + + `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + """ + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if email is not None: + pulumi.set(__self__, "email", email) + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential_id") + + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + """ + The email of the GCP service account created, to be granted access to relevant buckets. + + `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + +if not MYPY: + class StorageCredentialGcpServiceAccountKeyArgsDict(TypedDict): + email: pulumi.Input[str] + """ + The email of the GCP service account created, to be granted access to relevant buckets. + + `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + """ + private_key: pulumi.Input[str] + private_key_id: pulumi.Input[str] +elif False: + StorageCredentialGcpServiceAccountKeyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class StorageCredentialGcpServiceAccountKeyArgs: + def __init__(__self__, *, + email: pulumi.Input[str], + private_key: pulumi.Input[str], + private_key_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] email: The email of the GCP service account created, to be granted access to relevant buckets. + + `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + """ + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "private_key", private_key) + pulumi.set(__self__, "private_key_id", private_key_id) + + @property + @pulumi.getter + def email(self) -> pulumi.Input[str]: + """ + The email of the GCP service account created, to be granted access to relevant buckets. + + `cloudflare_api_token` optional configuration block for using a Cloudflare API Token as credential details. This requires account admin access: + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: pulumi.Input[str]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter(name="privateKey") + def private_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: pulumi.Input[str]): + pulumi.set(self, "private_key", value) + + @property + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "private_key_id") + + @private_key_id.setter + def private_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "private_key_id", value) + + +if not MYPY: + class TableColumnArgsDict(TypedDict): + name: pulumi.Input[str] + position: pulumi.Input[int] + type_name: pulumi.Input[str] + type_text: pulumi.Input[str] + comment: NotRequired[pulumi.Input[str]] + nullable: NotRequired[pulumi.Input[bool]] + partition_index: NotRequired[pulumi.Input[int]] + type_interval_type: NotRequired[pulumi.Input[str]] + type_json: NotRequired[pulumi.Input[str]] + type_precision: NotRequired[pulumi.Input[int]] + type_scale: NotRequired[pulumi.Input[int]] +elif False: + TableColumnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class TableColumnArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + position: pulumi.Input[int], + type_name: pulumi.Input[str], + type_text: pulumi.Input[str], + comment: Optional[pulumi.Input[str]] = None, + nullable: Optional[pulumi.Input[bool]] = None, + partition_index: Optional[pulumi.Input[int]] = None, + type_interval_type: Optional[pulumi.Input[str]] = None, + type_json: Optional[pulumi.Input[str]] = None, + type_precision: Optional[pulumi.Input[int]] = None, + type_scale: Optional[pulumi.Input[int]] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "position", position) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "type_text", type_text) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if nullable is not None: + pulumi.set(__self__, "nullable", nullable) + if partition_index is not None: + pulumi.set(__self__, "partition_index", partition_index) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def position(self) -> pulumi.Input[int]: + return pulumi.get(self, "position") + + @position.setter + def position(self, value: pulumi.Input[int]): + pulumi.set(self, "position", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: pulumi.Input[str]): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="typeText") + def type_text(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_text") + + @type_text.setter + def type_text(self, value: pulumi.Input[str]): + pulumi.set(self, "type_text", value) + + @property + @pulumi.getter + def comment(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter + def nullable(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "nullable") + + @nullable.setter + def nullable(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "nullable", value) + + @property + @pulumi.getter(name="partitionIndex") + def partition_index(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "partition_index") + + @partition_index.setter + def partition_index(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "partition_index", value) + + @property + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "type_interval_type") + + @type_interval_type.setter + def type_interval_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type_interval_type", value) + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "type_json") + + @type_json.setter + def type_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type_json", value) + + @property + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "type_precision") + + @type_precision.setter + def type_precision(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "type_precision", value) + + @property + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "type_scale") + + @type_scale.setter + def type_scale(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "type_scale", value) + + +if not MYPY: + class VectorSearchEndpointEndpointStatusArgsDict(TypedDict): + message: NotRequired[pulumi.Input[str]] + """ + Additional status message. + """ + state: NotRequired[pulumi.Input[str]] + """ + Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + """ +elif False: + VectorSearchEndpointEndpointStatusArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchEndpointEndpointStatusArgs: + def __init__(__self__, *, + message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] message: Additional status message. + :param pulumi.Input[str] state: Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + Additional status message. + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + Current state of the endpoint. Currently following values are supported: `PROVISIONING`, `ONLINE`, and `OFFLINE`. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + +if not MYPY: + class VectorSearchIndexDeltaSyncIndexSpecArgsDict(TypedDict): + embedding_source_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgsDict']]]] + """ + array of objects representing columns that contain the embedding source. Each entry consists of: + """ + embedding_vector_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgsDict']]]] + embedding_writeback_table: NotRequired[pulumi.Input[str]] + pipeline_id: NotRequired[pulumi.Input[str]] + """ + ID of the associated Delta Live Table pipeline. + """ + pipeline_type: NotRequired[pulumi.Input[str]] + """ + Pipeline execution mode. Possible values are: + * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. + * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + """ + source_table: NotRequired[pulumi.Input[str]] + """ + The name of the source table. + """ +elif False: + VectorSearchIndexDeltaSyncIndexSpecArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexDeltaSyncIndexSpecArgs: + def __init__(__self__, *, + embedding_source_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]] = None, + embedding_vector_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]] = None, + embedding_writeback_table: Optional[pulumi.Input[str]] = None, + pipeline_id: Optional[pulumi.Input[str]] = None, + pipeline_type: Optional[pulumi.Input[str]] = None, + source_table: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]] embedding_source_columns: array of objects representing columns that contain the embedding source. Each entry consists of: + :param pulumi.Input[str] pipeline_id: ID of the associated Delta Live Table pipeline. + :param pulumi.Input[str] pipeline_type: Pipeline execution mode. Possible values are: + * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. + * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + :param pulumi.Input[str] source_table: The name of the source table. + """ + if embedding_source_columns is not None: + pulumi.set(__self__, "embedding_source_columns", embedding_source_columns) + if embedding_vector_columns is not None: + pulumi.set(__self__, "embedding_vector_columns", embedding_vector_columns) + if embedding_writeback_table is not None: + pulumi.set(__self__, "embedding_writeback_table", embedding_writeback_table) + if pipeline_id is not None: + pulumi.set(__self__, "pipeline_id", pipeline_id) + if pipeline_type is not None: + pulumi.set(__self__, "pipeline_type", pipeline_type) + if source_table is not None: + pulumi.set(__self__, "source_table", source_table) + + @property + @pulumi.getter(name="embeddingSourceColumns") + def embedding_source_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]]: + """ + array of objects representing columns that contain the embedding source. Each entry consists of: + """ + return pulumi.get(self, "embedding_source_columns") + + @embedding_source_columns.setter + def embedding_source_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs']]]]): + pulumi.set(self, "embedding_source_columns", value) + + @property + @pulumi.getter(name="embeddingVectorColumns") + def embedding_vector_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]]: + return pulumi.get(self, "embedding_vector_columns") + + @embedding_vector_columns.setter + def embedding_vector_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs']]]]): + pulumi.set(self, "embedding_vector_columns", value) + + @property + @pulumi.getter(name="embeddingWritebackTable") + def embedding_writeback_table(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "embedding_writeback_table") + + @embedding_writeback_table.setter + def embedding_writeback_table(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "embedding_writeback_table", value) + + @property + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> Optional[pulumi.Input[str]]: + """ + ID of the associated Delta Live Table pipeline. + """ + return pulumi.get(self, "pipeline_id") + + @pipeline_id.setter + def pipeline_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pipeline_id", value) + + @property + @pulumi.getter(name="pipelineType") + def pipeline_type(self) -> Optional[pulumi.Input[str]]: + """ + Pipeline execution mode. Possible values are: + * `TRIGGERED`: If the pipeline uses the triggered execution mode, the system stops processing after successfully refreshing the source table in the pipeline once, ensuring the table is updated based on the data available when the update started. + * `CONTINUOUS`: If the pipeline uses continuous execution, the pipeline processes new data as it arrives in the source table to keep the vector index fresh. + """ + return pulumi.get(self, "pipeline_type") + + @pipeline_type.setter + def pipeline_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pipeline_type", value) + + @property + @pulumi.getter(name="sourceTable") + def source_table(self) -> Optional[pulumi.Input[str]]: + """ + The name of the source table. + """ + return pulumi.get(self, "source_table") + + @source_table.setter + def source_table(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_table", value) + + +if not MYPY: + class VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgsDict(TypedDict): + embedding_model_endpoint_name: NotRequired[pulumi.Input[str]] + name: NotRequired[pulumi.Input[str]] + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ +elif False: + VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumnArgs: + def __init__(__self__, *, + embedding_model_endpoint_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + if embedding_model_endpoint_name is not None: + pulumi.set(__self__, "embedding_model_endpoint_name", embedding_model_endpoint_name) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="embeddingModelEndpointName") + def embedding_model_endpoint_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "embedding_model_endpoint_name") + + @embedding_model_endpoint_name.setter + def embedding_model_endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "embedding_model_endpoint_name", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +if not MYPY: + class VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgsDict(TypedDict): + embedding_dimension: NotRequired[pulumi.Input[int]] + name: NotRequired[pulumi.Input[str]] + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ +elif False: + VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumnArgs: + def __init__(__self__, *, + embedding_dimension: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + if embedding_dimension is not None: + pulumi.set(__self__, "embedding_dimension", embedding_dimension) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="embeddingDimension") + def embedding_dimension(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "embedding_dimension") + + @embedding_dimension.setter + def embedding_dimension(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "embedding_dimension", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +if not MYPY: + class VectorSearchIndexDirectAccessIndexSpecArgsDict(TypedDict): + embedding_source_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgsDict']]]] + """ + array of objects representing columns that contain the embedding source. Each entry consists of: + """ + embedding_vector_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgsDict']]]] + schema_json: NotRequired[pulumi.Input[str]] + """ + The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + """ +elif False: + VectorSearchIndexDirectAccessIndexSpecArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexDirectAccessIndexSpecArgs: + def __init__(__self__, *, + embedding_source_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]]] = None, + embedding_vector_columns: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]] = None, + schema_json: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]] embedding_source_columns: array of objects representing columns that contain the embedding source. Each entry consists of: + :param pulumi.Input[str] schema_json: The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + """ + if embedding_source_columns is not None: + pulumi.set(__self__, "embedding_source_columns", embedding_source_columns) + if embedding_vector_columns is not None: + pulumi.set(__self__, "embedding_vector_columns", embedding_vector_columns) + if schema_json is not None: + pulumi.set(__self__, "schema_json", schema_json) + + @property + @pulumi.getter(name="embeddingSourceColumns") + def embedding_source_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]]]: + """ + array of objects representing columns that contain the embedding source. Each entry consists of: + """ + return pulumi.get(self, "embedding_source_columns") + + @embedding_source_columns.setter + def embedding_source_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs']]]]): + pulumi.set(self, "embedding_source_columns", value) + + @property + @pulumi.getter(name="embeddingVectorColumns") + def embedding_vector_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]]: + return pulumi.get(self, "embedding_vector_columns") + + @embedding_vector_columns.setter + def embedding_vector_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs']]]]): + pulumi.set(self, "embedding_vector_columns", value) + + @property + @pulumi.getter(name="schemaJson") + def schema_json(self) -> Optional[pulumi.Input[str]]: + """ + The schema of the index in JSON format. Check the [API documentation](https://docs.databricks.com/api/workspace/vectorsearchindexes/createindex#direct_access_index_spec-schema_json) for a list of supported data types. + """ + return pulumi.get(self, "schema_json") + + @schema_json.setter + def schema_json(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_json", value) + + +if not MYPY: + class VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgsDict(TypedDict): + embedding_model_endpoint_name: NotRequired[pulumi.Input[str]] + name: NotRequired[pulumi.Input[str]] + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ +elif False: + VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumnArgs: + def __init__(__self__, *, + embedding_model_endpoint_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + if embedding_model_endpoint_name is not None: + pulumi.set(__self__, "embedding_model_endpoint_name", embedding_model_endpoint_name) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="embeddingModelEndpointName") + def embedding_model_endpoint_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "embedding_model_endpoint_name") + + @embedding_model_endpoint_name.setter + def embedding_model_endpoint_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "embedding_model_endpoint_name", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +if not MYPY: + class VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgsDict(TypedDict): + embedding_dimension: NotRequired[pulumi.Input[int]] + name: NotRequired[pulumi.Input[str]] + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ +elif False: + VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumnArgs: + def __init__(__self__, *, + embedding_dimension: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + if embedding_dimension is not None: + pulumi.set(__self__, "embedding_dimension", embedding_dimension) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="embeddingDimension") + def embedding_dimension(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "embedding_dimension") + + @embedding_dimension.setter + def embedding_dimension(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "embedding_dimension", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Three-level name of the Mosaic AI Vector Search Index to create (`catalog.schema.index_name`). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +if not MYPY: + class VectorSearchIndexStatusArgsDict(TypedDict): + index_url: NotRequired[pulumi.Input[str]] + """ + Index API Url to be used to perform operations on the index + """ + indexed_row_count: NotRequired[pulumi.Input[int]] + """ + Number of rows indexed + """ + message: NotRequired[pulumi.Input[str]] + """ + Message associated with the index status + """ + ready: NotRequired[pulumi.Input[bool]] + """ + Whether the index is ready for search + """ +elif False: + VectorSearchIndexStatusArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VectorSearchIndexStatusArgs: + def __init__(__self__, *, + index_url: Optional[pulumi.Input[str]] = None, + indexed_row_count: Optional[pulumi.Input[int]] = None, + message: Optional[pulumi.Input[str]] = None, + ready: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input[str] index_url: Index API Url to be used to perform operations on the index + :param pulumi.Input[int] indexed_row_count: Number of rows indexed + :param pulumi.Input[str] message: Message associated with the index status + :param pulumi.Input[bool] ready: Whether the index is ready for search + """ + if index_url is not None: + pulumi.set(__self__, "index_url", index_url) + if indexed_row_count is not None: + pulumi.set(__self__, "indexed_row_count", indexed_row_count) + if message is not None: + pulumi.set(__self__, "message", message) + if ready is not None: + pulumi.set(__self__, "ready", ready) + + @property + @pulumi.getter(name="indexUrl") + def index_url(self) -> Optional[pulumi.Input[str]]: + """ + Index API Url to be used to perform operations on the index + """ + return pulumi.get(self, "index_url") + + @index_url.setter + def index_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "index_url", value) + + @property + @pulumi.getter(name="indexedRowCount") + def indexed_row_count(self) -> Optional[pulumi.Input[int]]: + """ + Number of rows indexed + """ + return pulumi.get(self, "indexed_row_count") + + @indexed_row_count.setter + def indexed_row_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "indexed_row_count", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + """ + Message associated with the index status + """ + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + @property + @pulumi.getter + def ready(self) -> Optional[pulumi.Input[bool]]: + """ + Whether the index is ready for search + """ + return pulumi.get(self, "ready") + + @ready.setter + def ready(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ready", value) + + +if not MYPY: + class GetCatalogCatalogInfoArgsDict(TypedDict): + browse_only: NotRequired[bool] + catalog_type: NotRequired[str] + """ + Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + """ + comment: NotRequired[str] + """ + Free-form text description + """ + connection_name: NotRequired[str] + """ + The name of the connection to an external data source. + """ + created_at: NotRequired[int] + """ + Time at which this catalog was created, in epoch milliseconds. + """ + created_by: NotRequired[str] + """ + Username of catalog creator. + """ + effective_predictive_optimization_flag: NotRequired['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgsDict'] + """ + object describing applied predictive optimization flag. + """ + enable_predictive_optimization: NotRequired[str] + """ + Whether predictive optimization should be enabled for this object and objects under it. + """ + full_name: NotRequired[str] + """ + The full name of the catalog. Corresponds with the name field. + """ + isolation_mode: NotRequired[str] + """ + Whether the current securable is accessible from all workspaces or a specific set of workspaces. + """ + metastore_id: NotRequired[str] + """ + Unique identifier of parent metastore. + """ + name: NotRequired[str] + """ + name of the catalog + """ + options: NotRequired[Mapping[str, str]] + """ + A map of key-value properties attached to the securable. + """ + owner: NotRequired[str] + """ + Current owner of the catalog + """ + properties: NotRequired[Mapping[str, str]] + """ + A map of key-value properties attached to the securable. + """ + provider_name: NotRequired[str] + """ + The name of delta sharing provider. + """ + provisioning_info: NotRequired['GetCatalogCatalogInfoProvisioningInfoArgsDict'] + securable_kind: NotRequired[str] + """ + Kind of catalog securable. + """ + securable_type: NotRequired[str] + """ + Securable type. + """ + share_name: NotRequired[str] + """ + The name of the share under the share provider. + """ + storage_location: NotRequired[str] + """ + Storage Location URL (full path) for managed tables within catalog. + """ + storage_root: NotRequired[str] + """ + Storage root URL for managed tables within catalog. + """ + updated_at: NotRequired[int] + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + updated_by: NotRequired[str] + """ + Username of user who last modified catalog. + """ +elif False: + GetCatalogCatalogInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetCatalogCatalogInfoArgs: + def __init__(__self__, *, + browse_only: Optional[bool] = None, + catalog_type: Optional[str] = None, + comment: Optional[str] = None, + connection_name: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + effective_predictive_optimization_flag: Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs'] = None, + enable_predictive_optimization: Optional[str] = None, + full_name: Optional[str] = None, + isolation_mode: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + options: Optional[Mapping[str, str]] = None, + owner: Optional[str] = None, + properties: Optional[Mapping[str, str]] = None, + provider_name: Optional[str] = None, + provisioning_info: Optional['GetCatalogCatalogInfoProvisioningInfoArgs'] = None, + securable_kind: Optional[str] = None, + securable_type: Optional[str] = None, + share_name: Optional[str] = None, + storage_location: Optional[str] = None, + storage_root: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param str catalog_type: Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + :param str comment: Free-form text description + :param str connection_name: The name of the connection to an external data source. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: object describing applied predictive optimization flag. + :param str enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. + :param str full_name: The full name of the catalog. Corresponds with the name field. + :param str isolation_mode: Whether the current securable is accessible from all workspaces or a specific set of workspaces. + :param str metastore_id: Unique identifier of parent metastore. + :param str name: name of the catalog + :param Mapping[str, str] options: A map of key-value properties attached to the securable. + :param str owner: Current owner of the catalog + :param Mapping[str, str] properties: A map of key-value properties attached to the securable. + :param str provider_name: The name of delta sharing provider. + :param str securable_kind: Kind of catalog securable. + :param str securable_type: Securable type. + :param str share_name: The name of the share under the share provider. + :param str storage_location: Storage Location URL (full path) for managed tables within catalog. + :param str storage_root: Storage root URL for managed tables within catalog. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_type is not None: + pulumi.set(__self__, "catalog_type", catalog_type) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if connection_name is not None: + pulumi.set(__self__, "connection_name", connection_name) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if options is not None: + pulumi.set(__self__, "options", options) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if provider_name is not None: + pulumi.set(__self__, "provider_name", provider_name) + if provisioning_info is not None: + pulumi.set(__self__, "provisioning_info", provisioning_info) + if securable_kind is not None: + pulumi.set(__self__, "securable_kind", securable_kind) + if securable_type is not None: + pulumi.set(__self__, "securable_type", securable_type) + if share_name is not None: + pulumi.set(__self__, "share_name", share_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) + + @property + @pulumi.getter(name="catalogType") + def catalog_type(self) -> Optional[str]: + """ + Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + """ + return pulumi.get(self, "catalog_type") + + @catalog_type.setter + def catalog_type(self, value: Optional[str]): + pulumi.set(self, "catalog_type", value) + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter(name="connectionName") + def connection_name(self) -> Optional[str]: + """ + The name of the connection to an external data source. + """ + return pulumi.get(self, "connection_name") + + @connection_name.setter + def connection_name(self, value: Optional[str]): + pulumi.set(self, "connection_name", value) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs']: + """ + object describing applied predictive optimization flag. + """ + return pulumi.get(self, "effective_predictive_optimization_flag") + + @effective_predictive_optimization_flag.setter + def effective_predictive_optimization_flag(self, value: Optional['GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs']): + pulumi.set(self, "effective_predictive_optimization_flag", value) + + @property + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + """ + Whether predictive optimization should be enabled for this object and objects under it. + """ + return pulumi.get(self, "enable_predictive_optimization") + + @enable_predictive_optimization.setter + def enable_predictive_optimization(self, value: Optional[str]): + pulumi.set(self, "enable_predictive_optimization", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The full name of the catalog. Corresponds with the name field. + """ + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[str]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[str]: + """ + Whether the current securable is accessible from all workspaces or a specific set of workspaces. + """ + return pulumi.get(self, "isolation_mode") + + @isolation_mode.setter + def isolation_mode(self, value: Optional[str]): + pulumi.set(self, "isolation_mode", value) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of parent metastore. + """ + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + name of the catalog + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def options(self) -> Optional[Mapping[str, str]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Current owner of the catalog + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, str]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="providerName") + def provider_name(self) -> Optional[str]: + """ + The name of delta sharing provider. + """ + return pulumi.get(self, "provider_name") + + @provider_name.setter + def provider_name(self, value: Optional[str]): + pulumi.set(self, "provider_name", value) + + @property + @pulumi.getter(name="provisioningInfo") + def provisioning_info(self) -> Optional['GetCatalogCatalogInfoProvisioningInfoArgs']: + return pulumi.get(self, "provisioning_info") + + @provisioning_info.setter + def provisioning_info(self, value: Optional['GetCatalogCatalogInfoProvisioningInfoArgs']): + pulumi.set(self, "provisioning_info", value) + + @property + @pulumi.getter(name="securableKind") + def securable_kind(self) -> Optional[str]: + """ + Kind of catalog securable. + """ + return pulumi.get(self, "securable_kind") + + @securable_kind.setter + def securable_kind(self, value: Optional[str]): + pulumi.set(self, "securable_kind", value) + + @property + @pulumi.getter(name="securableType") + def securable_type(self) -> Optional[str]: + """ + Securable type. + """ + return pulumi.get(self, "securable_type") + + @securable_type.setter + def securable_type(self, value: Optional[str]): + pulumi.set(self, "securable_type", value) + + @property + @pulumi.getter(name="shareName") + def share_name(self) -> Optional[str]: + """ + The name of the share under the share provider. + """ + return pulumi.get(self, "share_name") + + @share_name.setter + def share_name(self, value: Optional[str]): + pulumi.set(self, "share_name", value) + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + Storage Location URL (full path) for managed tables within catalog. + """ + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[str]): + pulumi.set(self, "storage_location", value) + + @property + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Storage root URL for managed tables within catalog. + """ + return pulumi.get(self, "storage_root") + + @storage_root.setter + def storage_root(self, value: Optional[str]): + pulumi.set(self, "storage_root", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) + + +if not MYPY: + class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgsDict(TypedDict): + value: str + inherited_from_name: NotRequired[str] + inherited_from_type: NotRequired[str] +elif False: + GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs: + def __init__(__self__, *, + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: str): + pulumi.set(self, "value", value) + + @property + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") + + @inherited_from_name.setter + def inherited_from_name(self, value: Optional[str]): + pulumi.set(self, "inherited_from_name", value) + + @property + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") + + @inherited_from_type.setter + def inherited_from_type(self, value: Optional[str]): + pulumi.set(self, "inherited_from_type", value) + + +if not MYPY: + class GetCatalogCatalogInfoProvisioningInfoArgsDict(TypedDict): + state: NotRequired[str] +elif False: + GetCatalogCatalogInfoProvisioningInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetCatalogCatalogInfoProvisioningInfoArgs: + def __init__(__self__, *, + state: Optional[str] = None): + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[str]): + pulumi.set(self, "state", value) + + +if not MYPY: + class GetClusterClusterInfoArgsDict(TypedDict): + autoscale: NotRequired['GetClusterClusterInfoAutoscaleArgsDict'] + autotermination_minutes: NotRequired[int] + """ + Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + """ + aws_attributes: NotRequired['GetClusterClusterInfoAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetClusterClusterInfoAzureAttributesArgsDict'] + cluster_cores: NotRequired[float] + cluster_id: NotRequired[str] + """ + The id of the cluster + """ + cluster_log_conf: NotRequired['GetClusterClusterInfoClusterLogConfArgsDict'] + cluster_log_status: NotRequired['GetClusterClusterInfoClusterLogStatusArgsDict'] + cluster_memory_mb: NotRequired[int] + cluster_name: NotRequired[str] + """ + The exact name of the cluster to search + """ + cluster_source: NotRequired[str] + creator_user_name: NotRequired[str] + custom_tags: NotRequired[Mapping[str, str]] + """ + Additional tags for cluster resources. + """ + data_security_mode: NotRequired[str] + """ + Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + """ + default_tags: NotRequired[Mapping[str, str]] + docker_image: NotRequired['GetClusterClusterInfoDockerImageArgsDict'] + driver: NotRequired['GetClusterClusterInfoDriverArgsDict'] + driver_instance_pool_id: NotRequired[str] + """ + similar to `instance_pool_id`, but for driver node. + """ + driver_node_type_id: NotRequired[str] + """ + The node type of the Spark driver. + """ + enable_elastic_disk: NotRequired[bool] + """ + Use autoscaling local storage. + """ + enable_local_disk_encryption: NotRequired[bool] + """ + Enable local disk encryption. + """ + executors: NotRequired[Sequence['GetClusterClusterInfoExecutorArgsDict']] + gcp_attributes: NotRequired['GetClusterClusterInfoGcpAttributesArgsDict'] + init_scripts: NotRequired[Sequence['GetClusterClusterInfoInitScriptArgsDict']] + instance_pool_id: NotRequired[str] + """ + The pool of idle instances the cluster is attached to. + """ + is_single_node: NotRequired[bool] + jdbc_port: NotRequired[int] + kind: NotRequired[str] + last_restarted_time: NotRequired[int] + last_state_loss_time: NotRequired[int] + node_type_id: NotRequired[str] + """ + Any supported get_node_type id. + """ + num_workers: NotRequired[int] + policy_id: NotRequired[str] + """ + Identifier of Cluster Policy to validate cluster and preset certain defaults. + """ + runtime_engine: NotRequired[str] + """ + The type of runtime of the cluster + """ + single_user_name: NotRequired[str] + """ + The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + """ + spark_conf: NotRequired[Mapping[str, str]] + """ + Map with key-value pairs to fine-tune Spark clusters. + """ + spark_context_id: NotRequired[int] + spark_env_vars: NotRequired[Mapping[str, str]] + """ + Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + """ + spark_version: NotRequired[str] + """ + [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + """ + spec: NotRequired['GetClusterClusterInfoSpecArgsDict'] + ssh_public_keys: NotRequired[Sequence[str]] + """ + SSH public key contents that will be added to each Spark node in this cluster. + """ + start_time: NotRequired[int] + state: NotRequired[str] + state_message: NotRequired[str] + terminated_time: NotRequired[int] + termination_reason: NotRequired['GetClusterClusterInfoTerminationReasonArgsDict'] + use_ml_runtime: NotRequired[bool] + workload_type: NotRequired['GetClusterClusterInfoWorkloadTypeArgsDict'] +elif False: + GetClusterClusterInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoArgs: + def __init__(__self__, *, + autoscale: Optional['GetClusterClusterInfoAutoscaleArgs'] = None, + autotermination_minutes: Optional[int] = None, + aws_attributes: Optional['GetClusterClusterInfoAwsAttributesArgs'] = None, + azure_attributes: Optional['GetClusterClusterInfoAzureAttributesArgs'] = None, + cluster_cores: Optional[float] = None, + cluster_id: Optional[str] = None, + cluster_log_conf: Optional['GetClusterClusterInfoClusterLogConfArgs'] = None, + cluster_log_status: Optional['GetClusterClusterInfoClusterLogStatusArgs'] = None, + cluster_memory_mb: Optional[int] = None, + cluster_name: Optional[str] = None, + cluster_source: Optional[str] = None, + creator_user_name: Optional[str] = None, + custom_tags: Optional[Mapping[str, str]] = None, + data_security_mode: Optional[str] = None, + default_tags: Optional[Mapping[str, str]] = None, + docker_image: Optional['GetClusterClusterInfoDockerImageArgs'] = None, + driver: Optional['GetClusterClusterInfoDriverArgs'] = None, + driver_instance_pool_id: Optional[str] = None, + driver_node_type_id: Optional[str] = None, + enable_elastic_disk: Optional[bool] = None, + enable_local_disk_encryption: Optional[bool] = None, + executors: Optional[Sequence['GetClusterClusterInfoExecutorArgs']] = None, + gcp_attributes: Optional['GetClusterClusterInfoGcpAttributesArgs'] = None, + init_scripts: Optional[Sequence['GetClusterClusterInfoInitScriptArgs']] = None, + instance_pool_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + jdbc_port: Optional[int] = None, + kind: Optional[str] = None, + last_restarted_time: Optional[int] = None, + last_state_loss_time: Optional[int] = None, + node_type_id: Optional[str] = None, + num_workers: Optional[int] = None, + policy_id: Optional[str] = None, + runtime_engine: Optional[str] = None, + single_user_name: Optional[str] = None, + spark_conf: Optional[Mapping[str, str]] = None, + spark_context_id: Optional[int] = None, + spark_env_vars: Optional[Mapping[str, str]] = None, + spark_version: Optional[str] = None, + spec: Optional['GetClusterClusterInfoSpecArgs'] = None, + ssh_public_keys: Optional[Sequence[str]] = None, + start_time: Optional[int] = None, + state: Optional[str] = None, + state_message: Optional[str] = None, + terminated_time: Optional[int] = None, + termination_reason: Optional['GetClusterClusterInfoTerminationReasonArgs'] = None, + use_ml_runtime: Optional[bool] = None, + workload_type: Optional['GetClusterClusterInfoWorkloadTypeArgs'] = None): + """ + :param int autotermination_minutes: Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + :param str cluster_id: The id of the cluster + :param str cluster_name: The exact name of the cluster to search + :param Mapping[str, str] custom_tags: Additional tags for cluster resources. + :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + :param str driver_instance_pool_id: similar to `instance_pool_id`, but for driver node. + :param str driver_node_type_id: The node type of the Spark driver. + :param bool enable_elastic_disk: Use autoscaling local storage. + :param bool enable_local_disk_encryption: Enable local disk encryption. + :param str instance_pool_id: The pool of idle instances the cluster is attached to. + :param str node_type_id: Any supported get_node_type id. + :param str policy_id: Identifier of Cluster Policy to validate cluster and preset certain defaults. + :param str runtime_engine: The type of runtime of the cluster + :param str single_user_name: The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + :param Mapping[str, str] spark_conf: Map with key-value pairs to fine-tune Spark clusters. + :param Mapping[str, str] spark_env_vars: Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + :param Sequence[str] ssh_public_keys: SSH public key contents that will be added to each Spark node in this cluster. + """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if autotermination_minutes is not None: + pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_cores is not None: + pulumi.set(__self__, "cluster_cores", cluster_cores) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_log_status is not None: + pulumi.set(__self__, "cluster_log_status", cluster_log_status) + if cluster_memory_mb is not None: + pulumi.set(__self__, "cluster_memory_mb", cluster_memory_mb) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if cluster_source is not None: + pulumi.set(__self__, "cluster_source", cluster_source) + if creator_user_name is not None: + pulumi.set(__self__, "creator_user_name", creator_user_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if default_tags is not None: + pulumi.set(__self__, "default_tags", default_tags) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if driver is not None: + pulumi.set(__self__, "driver", driver) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if executors is not None: + pulumi.set(__self__, "executors", executors) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if jdbc_port is not None: + pulumi.set(__self__, "jdbc_port", jdbc_port) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if last_restarted_time is not None: + pulumi.set(__self__, "last_restarted_time", last_restarted_time) + if last_state_loss_time is not None: + pulumi.set(__self__, "last_state_loss_time", last_state_loss_time) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_context_id is not None: + pulumi.set(__self__, "spark_context_id", spark_context_id) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if spark_version is not None: + pulumi.set(__self__, "spark_version", spark_version) + if spec is not None: + pulumi.set(__self__, "spec", spec) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + if state is not None: + pulumi.set(__self__, "state", state) + if state_message is not None: + pulumi.set(__self__, "state_message", state_message) + if terminated_time is not None: + pulumi.set(__self__, "terminated_time", terminated_time) + if termination_reason is not None: + pulumi.set(__self__, "termination_reason", termination_reason) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) + + @property + @pulumi.getter + def autoscale(self) -> Optional['GetClusterClusterInfoAutoscaleArgs']: + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional['GetClusterClusterInfoAutoscaleArgs']): + pulumi.set(self, "autoscale", value) + + @property + @pulumi.getter(name="autoterminationMinutes") + def autotermination_minutes(self) -> Optional[int]: + """ + Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + """ + return pulumi.get(self, "autotermination_minutes") + + @autotermination_minutes.setter + def autotermination_minutes(self, value: Optional[int]): + pulumi.set(self, "autotermination_minutes", value) + + @property + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['GetClusterClusterInfoAwsAttributesArgs']: + return pulumi.get(self, "aws_attributes") + + @aws_attributes.setter + def aws_attributes(self, value: Optional['GetClusterClusterInfoAwsAttributesArgs']): + pulumi.set(self, "aws_attributes", value) + + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['GetClusterClusterInfoAzureAttributesArgs']: + return pulumi.get(self, "azure_attributes") + + @azure_attributes.setter + def azure_attributes(self, value: Optional['GetClusterClusterInfoAzureAttributesArgs']): + pulumi.set(self, "azure_attributes", value) + + @property + @pulumi.getter(name="clusterCores") + def cluster_cores(self) -> Optional[float]: + return pulumi.get(self, "cluster_cores") + + @cluster_cores.setter + def cluster_cores(self, value: Optional[float]): + pulumi.set(self, "cluster_cores", value) + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: + """ + The id of the cluster + """ + return pulumi.get(self, "cluster_id") + + @cluster_id.setter + def cluster_id(self, value: Optional[str]): + pulumi.set(self, "cluster_id", value) + + @property + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional['GetClusterClusterInfoClusterLogConfArgs']: + return pulumi.get(self, "cluster_log_conf") + + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional['GetClusterClusterInfoClusterLogConfArgs']): + pulumi.set(self, "cluster_log_conf", value) + + @property + @pulumi.getter(name="clusterLogStatus") + def cluster_log_status(self) -> Optional['GetClusterClusterInfoClusterLogStatusArgs']: + return pulumi.get(self, "cluster_log_status") + + @cluster_log_status.setter + def cluster_log_status(self, value: Optional['GetClusterClusterInfoClusterLogStatusArgs']): + pulumi.set(self, "cluster_log_status", value) + + @property + @pulumi.getter(name="clusterMemoryMb") + def cluster_memory_mb(self) -> Optional[int]: + return pulumi.get(self, "cluster_memory_mb") + + @cluster_memory_mb.setter + def cluster_memory_mb(self, value: Optional[int]): + pulumi.set(self, "cluster_memory_mb", value) + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: + """ + The exact name of the cluster to search + """ + return pulumi.get(self, "cluster_name") + + @cluster_name.setter + def cluster_name(self, value: Optional[str]): + pulumi.set(self, "cluster_name", value) + + @property + @pulumi.getter(name="clusterSource") + def cluster_source(self) -> Optional[str]: + return pulumi.get(self, "cluster_source") + + @cluster_source.setter + def cluster_source(self, value: Optional[str]): + pulumi.set(self, "cluster_source", value) + + @property + @pulumi.getter(name="creatorUserName") + def creator_user_name(self) -> Optional[str]: + return pulumi.get(self, "creator_user_name") + + @creator_user_name.setter + def creator_user_name(self, value: Optional[str]): + pulumi.set(self, "creator_user_name", value) + + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + """ + Additional tags for cluster resources. + """ + return pulumi.get(self, "custom_tags") + + @custom_tags.setter + def custom_tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "custom_tags", value) + + @property + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: + """ + Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + """ + return pulumi.get(self, "data_security_mode") + + @data_security_mode.setter + def data_security_mode(self, value: Optional[str]): + pulumi.set(self, "data_security_mode", value) + + @property + @pulumi.getter(name="defaultTags") + def default_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "default_tags") + + @default_tags.setter + def default_tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "default_tags", value) + + @property + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['GetClusterClusterInfoDockerImageArgs']: + return pulumi.get(self, "docker_image") + + @docker_image.setter + def docker_image(self, value: Optional['GetClusterClusterInfoDockerImageArgs']): + pulumi.set(self, "docker_image", value) + + @property + @pulumi.getter + def driver(self) -> Optional['GetClusterClusterInfoDriverArgs']: + return pulumi.get(self, "driver") + + @driver.setter + def driver(self, value: Optional['GetClusterClusterInfoDriverArgs']): + pulumi.set(self, "driver", value) + + @property + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[str]: + """ + similar to `instance_pool_id`, but for driver node. + """ + return pulumi.get(self, "driver_instance_pool_id") + + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: Optional[str]): + pulumi.set(self, "driver_instance_pool_id", value) + + @property + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[str]: + """ + The node type of the Spark driver. + """ + return pulumi.get(self, "driver_node_type_id") + + @driver_node_type_id.setter + def driver_node_type_id(self, value: Optional[str]): + pulumi.set(self, "driver_node_type_id", value) + + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[bool]: + """ + Use autoscaling local storage. + """ + return pulumi.get(self, "enable_elastic_disk") + + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: Optional[bool]): + pulumi.set(self, "enable_elastic_disk", value) + + @property + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[bool]: + """ + Enable local disk encryption. + """ + return pulumi.get(self, "enable_local_disk_encryption") + + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_local_disk_encryption", value) + + @property + @pulumi.getter + def executors(self) -> Optional[Sequence['GetClusterClusterInfoExecutorArgs']]: + return pulumi.get(self, "executors") + + @executors.setter + def executors(self, value: Optional[Sequence['GetClusterClusterInfoExecutorArgs']]): + pulumi.set(self, "executors", value) + + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['GetClusterClusterInfoGcpAttributesArgs']: + return pulumi.get(self, "gcp_attributes") + + @gcp_attributes.setter + def gcp_attributes(self, value: Optional['GetClusterClusterInfoGcpAttributesArgs']): + pulumi.set(self, "gcp_attributes", value) + + @property + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['GetClusterClusterInfoInitScriptArgs']]: + return pulumi.get(self, "init_scripts") + + @init_scripts.setter + def init_scripts(self, value: Optional[Sequence['GetClusterClusterInfoInitScriptArgs']]): + pulumi.set(self, "init_scripts", value) + + @property + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: + """ + The pool of idle instances the cluster is attached to. + """ + return pulumi.get(self, "instance_pool_id") + + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[str]): + pulumi.set(self, "instance_pool_id", value) + + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") + + @is_single_node.setter + def is_single_node(self, value: Optional[bool]): + pulumi.set(self, "is_single_node", value) + + @property + @pulumi.getter(name="jdbcPort") + def jdbc_port(self) -> Optional[int]: + return pulumi.get(self, "jdbc_port") + + @jdbc_port.setter + def jdbc_port(self, value: Optional[int]): + pulumi.set(self, "jdbc_port", value) + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[str]): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="lastRestartedTime") + def last_restarted_time(self) -> Optional[int]: + return pulumi.get(self, "last_restarted_time") + + @last_restarted_time.setter + def last_restarted_time(self, value: Optional[int]): + pulumi.set(self, "last_restarted_time", value) + + @property + @pulumi.getter(name="lastStateLossTime") + def last_state_loss_time(self) -> Optional[int]: + return pulumi.get(self, "last_state_loss_time") + + @last_state_loss_time.setter + def last_state_loss_time(self, value: Optional[int]): + pulumi.set(self, "last_state_loss_time", value) + + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[str]: + """ + Any supported get_node_type id. + """ + return pulumi.get(self, "node_type_id") + + @node_type_id.setter + def node_type_id(self, value: Optional[str]): + pulumi.set(self, "node_type_id", value) + + @property + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[int]: + return pulumi.get(self, "num_workers") + + @num_workers.setter + def num_workers(self, value: Optional[int]): + pulumi.set(self, "num_workers", value) + + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + """ + Identifier of Cluster Policy to validate cluster and preset certain defaults. + """ + return pulumi.get(self, "policy_id") + + @policy_id.setter + def policy_id(self, value: Optional[str]): + pulumi.set(self, "policy_id", value) + + @property + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: + """ + The type of runtime of the cluster + """ + return pulumi.get(self, "runtime_engine") + + @runtime_engine.setter + def runtime_engine(self, value: Optional[str]): + pulumi.set(self, "runtime_engine", value) + + @property + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: + """ + The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + """ + return pulumi.get(self, "single_user_name") + + @single_user_name.setter + def single_user_name(self, value: Optional[str]): + pulumi.set(self, "single_user_name", value) + + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: + """ + Map with key-value pairs to fine-tune Spark clusters. + """ + return pulumi.get(self, "spark_conf") + + @spark_conf.setter + def spark_conf(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_conf", value) + + @property + @pulumi.getter(name="sparkContextId") + def spark_context_id(self) -> Optional[int]: + return pulumi.get(self, "spark_context_id") + + @spark_context_id.setter + def spark_context_id(self, value: Optional[int]): + pulumi.set(self, "spark_context_id", value) + + @property + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: + """ + Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + """ + return pulumi.get(self, "spark_env_vars") + + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_env_vars", value) + + @property + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> Optional[str]: + """ + [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + """ + return pulumi.get(self, "spark_version") + + @spark_version.setter + def spark_version(self, value: Optional[str]): + pulumi.set(self, "spark_version", value) + + @property + @pulumi.getter + def spec(self) -> Optional['GetClusterClusterInfoSpecArgs']: + return pulumi.get(self, "spec") + + @spec.setter + def spec(self, value: Optional['GetClusterClusterInfoSpecArgs']): + pulumi.set(self, "spec", value) + + @property + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: + """ + SSH public key contents that will be added to each Spark node in this cluster. + """ + return pulumi.get(self, "ssh_public_keys") + + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[Sequence[str]]): + pulumi.set(self, "ssh_public_keys", value) + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[int]: + return pulumi.get(self, "start_time") + + @start_time.setter + def start_time(self, value: Optional[int]): + pulumi.set(self, "start_time", value) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[str]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="stateMessage") + def state_message(self) -> Optional[str]: + return pulumi.get(self, "state_message") + + @state_message.setter + def state_message(self, value: Optional[str]): + pulumi.set(self, "state_message", value) + + @property + @pulumi.getter(name="terminatedTime") + def terminated_time(self) -> Optional[int]: + return pulumi.get(self, "terminated_time") + + @terminated_time.setter + def terminated_time(self, value: Optional[int]): + pulumi.set(self, "terminated_time", value) + + @property + @pulumi.getter(name="terminationReason") + def termination_reason(self) -> Optional['GetClusterClusterInfoTerminationReasonArgs']: + return pulumi.get(self, "termination_reason") + + @termination_reason.setter + def termination_reason(self, value: Optional['GetClusterClusterInfoTerminationReasonArgs']): + pulumi.set(self, "termination_reason", value) + + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") + + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[bool]): + pulumi.set(self, "use_ml_runtime", value) + + @property + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['GetClusterClusterInfoWorkloadTypeArgs']: + return pulumi.get(self, "workload_type") + + @workload_type.setter + def workload_type(self, value: Optional['GetClusterClusterInfoWorkloadTypeArgs']): + pulumi.set(self, "workload_type", value) + + +if not MYPY: + class GetClusterClusterInfoAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[int] + min_workers: NotRequired[int] +elif False: + GetClusterClusterInfoAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoAutoscaleArgs: + def __init__(__self__, *, + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) + + @property + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") + + @max_workers.setter + def max_workers(self, value: Optional[int]): + pulumi.set(self, "max_workers", value) + + @property + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") + + @min_workers.setter + def min_workers(self, value: Optional[int]): + pulumi.set(self, "min_workers", value) + + +if not MYPY: + class GetClusterClusterInfoAwsAttributesArgsDict(TypedDict): + availability: NotRequired[str] + ebs_volume_count: NotRequired[int] + ebs_volume_iops: NotRequired[int] + ebs_volume_size: NotRequired[int] + ebs_volume_throughput: NotRequired[int] + ebs_volume_type: NotRequired[str] + first_on_demand: NotRequired[int] + instance_profile_arn: NotRequired[str] + spot_bid_price_percent: NotRequired[int] + zone_id: NotRequired[str] +elif False: + GetClusterClusterInfoAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoAwsAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_iops: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_throughput: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") + + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_count", value) + + @property + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_iops") + + @ebs_volume_iops.setter + def ebs_volume_iops(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_iops", value) + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") + + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_size", value) + + @property + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_throughput") + + @ebs_volume_throughput.setter + def ebs_volume_throughput(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_throughput", value) + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[str]): + pulumi.set(self, "ebs_volume_type", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[str]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[int]): + pulumi.set(self, "spot_bid_price_percent", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) + + +if not MYPY: + class GetClusterClusterInfoAzureAttributesArgsDict(TypedDict): + availability: NotRequired[str] + first_on_demand: NotRequired[int] + log_analytics_info: NotRequired['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgsDict'] + spot_bid_max_price: NotRequired[float] +elif False: + GetClusterClusterInfoAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoAzureAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + log_analytics_info: Optional['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs'] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs']: + return pulumi.get(self, "log_analytics_info") + + @log_analytics_info.setter + def log_analytics_info(self, value: Optional['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs']): + pulumi.set(self, "log_analytics_info", value) + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") + + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[float]): + pulumi.set(self, "spot_bid_max_price", value) + + +if not MYPY: + class GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + log_analytics_primary_key: NotRequired[str] + log_analytics_workspace_id: NotRequired[str] +elif False: + GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs: + def __init__(__self__, *, + log_analytics_primary_key: Optional[str] = None, + log_analytics_workspace_id: Optional[str] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + + @property + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[str]: + return pulumi.get(self, "log_analytics_primary_key") + + @log_analytics_primary_key.setter + def log_analytics_primary_key(self, value: Optional[str]): + pulumi.set(self, "log_analytics_primary_key", value) + + @property + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[str]: + return pulumi.get(self, "log_analytics_workspace_id") + + @log_analytics_workspace_id.setter + def log_analytics_workspace_id(self, value: Optional[str]): + pulumi.set(self, "log_analytics_workspace_id", value) + + +if not MYPY: + class GetClusterClusterInfoClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired['GetClusterClusterInfoClusterLogConfDbfsArgsDict'] + s3: NotRequired['GetClusterClusterInfoClusterLogConfS3ArgsDict'] +elif False: + GetClusterClusterInfoClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoClusterLogConfArgs: + def __init__(__self__, *, + dbfs: Optional['GetClusterClusterInfoClusterLogConfDbfsArgs'] = None, + s3: Optional['GetClusterClusterInfoClusterLogConfS3Args'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + + @property + @pulumi.getter + def dbfs(self) -> Optional['GetClusterClusterInfoClusterLogConfDbfsArgs']: + return pulumi.get(self, "dbfs") + + @dbfs.setter + def dbfs(self, value: Optional['GetClusterClusterInfoClusterLogConfDbfsArgs']): + pulumi.set(self, "dbfs", value) + + @property + @pulumi.getter + def s3(self) -> Optional['GetClusterClusterInfoClusterLogConfS3Args']: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional['GetClusterClusterInfoClusterLogConfS3Args']): + pulumi.set(self, "s3", value) + + +if not MYPY: + class GetClusterClusterInfoClusterLogConfDbfsArgsDict(TypedDict): + destination: str +elif False: + GetClusterClusterInfoClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoClusterLogConfDbfsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetClusterClusterInfoClusterLogConfS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] +elif False: + GetClusterClusterInfoClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoClusterLogConfS3Args: + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") + + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) + + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") + + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) + + @property + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") + + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) + + +if not MYPY: + class GetClusterClusterInfoClusterLogStatusArgsDict(TypedDict): + last_attempted: NotRequired[int] + last_exception: NotRequired[str] +elif False: + GetClusterClusterInfoClusterLogStatusArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoClusterLogStatusArgs: + def __init__(__self__, *, + last_attempted: Optional[int] = None, + last_exception: Optional[str] = None): + if last_attempted is not None: + pulumi.set(__self__, "last_attempted", last_attempted) + if last_exception is not None: + pulumi.set(__self__, "last_exception", last_exception) + + @property + @pulumi.getter(name="lastAttempted") + def last_attempted(self) -> Optional[int]: + return pulumi.get(self, "last_attempted") + + @last_attempted.setter + def last_attempted(self, value: Optional[int]): + pulumi.set(self, "last_attempted", value) + + @property + @pulumi.getter(name="lastException") + def last_exception(self) -> Optional[str]: + return pulumi.get(self, "last_exception") + + @last_exception.setter + def last_exception(self, value: Optional[str]): + pulumi.set(self, "last_exception", value) + + +if not MYPY: + class GetClusterClusterInfoDockerImageArgsDict(TypedDict): + basic_auth: NotRequired['GetClusterClusterInfoDockerImageBasicAuthArgsDict'] + url: NotRequired[str] +elif False: + GetClusterClusterInfoDockerImageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoDockerImageArgs: + def __init__(__self__, *, + basic_auth: Optional['GetClusterClusterInfoDockerImageBasicAuthArgs'] = None, + url: Optional[str] = None): + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetClusterClusterInfoDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") + + @basic_auth.setter + def basic_auth(self, value: Optional['GetClusterClusterInfoDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) + + @property + @pulumi.getter + def url(self) -> Optional[str]: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: Optional[str]): + pulumi.set(self, "url", value) + + +if not MYPY: + class GetClusterClusterInfoDockerImageBasicAuthArgsDict(TypedDict): + password: NotRequired[str] + username: NotRequired[str] +elif False: + GetClusterClusterInfoDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: Optional[str] = None, + username: Optional[str] = None): + if password is not None: + pulumi.set(__self__, "password", password) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> Optional[str]: + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[str]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[str]): + pulumi.set(self, "username", value) + + +if not MYPY: + class GetClusterClusterInfoDriverArgsDict(TypedDict): + host_private_ip: NotRequired[str] + instance_id: NotRequired[str] + node_aws_attributes: NotRequired['GetClusterClusterInfoDriverNodeAwsAttributesArgsDict'] + node_id: NotRequired[str] + private_ip: NotRequired[str] + public_dns: NotRequired[str] + start_timestamp: NotRequired[int] +elif False: + GetClusterClusterInfoDriverArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoDriverArgs: + def __init__(__self__, *, + host_private_ip: Optional[str] = None, + instance_id: Optional[str] = None, + node_aws_attributes: Optional['GetClusterClusterInfoDriverNodeAwsAttributesArgs'] = None, + node_id: Optional[str] = None, + private_ip: Optional[str] = None, + public_dns: Optional[str] = None, + start_timestamp: Optional[int] = None): + if host_private_ip is not None: + pulumi.set(__self__, "host_private_ip", host_private_ip) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + if node_aws_attributes is not None: + pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) + if node_id is not None: + pulumi.set(__self__, "node_id", node_id) + if private_ip is not None: + pulumi.set(__self__, "private_ip", private_ip) + if public_dns is not None: + pulumi.set(__self__, "public_dns", public_dns) + if start_timestamp is not None: + pulumi.set(__self__, "start_timestamp", start_timestamp) + + @property + @pulumi.getter(name="hostPrivateIp") + def host_private_ip(self) -> Optional[str]: + return pulumi.get(self, "host_private_ip") + + @host_private_ip.setter + def host_private_ip(self, value: Optional[str]): + pulumi.set(self, "host_private_ip", value) + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[str]: + return pulumi.get(self, "instance_id") + + @instance_id.setter + def instance_id(self, value: Optional[str]): + pulumi.set(self, "instance_id", value) + + @property + @pulumi.getter(name="nodeAwsAttributes") + def node_aws_attributes(self) -> Optional['GetClusterClusterInfoDriverNodeAwsAttributesArgs']: + return pulumi.get(self, "node_aws_attributes") + + @node_aws_attributes.setter + def node_aws_attributes(self, value: Optional['GetClusterClusterInfoDriverNodeAwsAttributesArgs']): + pulumi.set(self, "node_aws_attributes", value) + + @property + @pulumi.getter(name="nodeId") + def node_id(self) -> Optional[str]: + return pulumi.get(self, "node_id") + + @node_id.setter + def node_id(self, value: Optional[str]): + pulumi.set(self, "node_id", value) + + @property + @pulumi.getter(name="privateIp") + def private_ip(self) -> Optional[str]: + return pulumi.get(self, "private_ip") + + @private_ip.setter + def private_ip(self, value: Optional[str]): + pulumi.set(self, "private_ip", value) + + @property + @pulumi.getter(name="publicDns") + def public_dns(self) -> Optional[str]: + return pulumi.get(self, "public_dns") + + @public_dns.setter + def public_dns(self, value: Optional[str]): + pulumi.set(self, "public_dns", value) + + @property + @pulumi.getter(name="startTimestamp") + def start_timestamp(self) -> Optional[int]: + return pulumi.get(self, "start_timestamp") + + @start_timestamp.setter + def start_timestamp(self, value: Optional[int]): + pulumi.set(self, "start_timestamp", value) + + +if not MYPY: + class GetClusterClusterInfoDriverNodeAwsAttributesArgsDict(TypedDict): + is_spot: NotRequired[bool] +elif False: + GetClusterClusterInfoDriverNodeAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoDriverNodeAwsAttributesArgs: + def __init__(__self__, *, + is_spot: Optional[bool] = None): + if is_spot is not None: + pulumi.set(__self__, "is_spot", is_spot) + + @property + @pulumi.getter(name="isSpot") + def is_spot(self) -> Optional[bool]: + return pulumi.get(self, "is_spot") + + @is_spot.setter + def is_spot(self, value: Optional[bool]): + pulumi.set(self, "is_spot", value) + + +if not MYPY: + class GetClusterClusterInfoExecutorArgsDict(TypedDict): + host_private_ip: NotRequired[str] + instance_id: NotRequired[str] + node_aws_attributes: NotRequired['GetClusterClusterInfoExecutorNodeAwsAttributesArgsDict'] + node_id: NotRequired[str] + private_ip: NotRequired[str] + public_dns: NotRequired[str] + start_timestamp: NotRequired[int] +elif False: + GetClusterClusterInfoExecutorArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoExecutorArgs: + def __init__(__self__, *, + host_private_ip: Optional[str] = None, + instance_id: Optional[str] = None, + node_aws_attributes: Optional['GetClusterClusterInfoExecutorNodeAwsAttributesArgs'] = None, + node_id: Optional[str] = None, + private_ip: Optional[str] = None, + public_dns: Optional[str] = None, + start_timestamp: Optional[int] = None): + if host_private_ip is not None: + pulumi.set(__self__, "host_private_ip", host_private_ip) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + if node_aws_attributes is not None: + pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) + if node_id is not None: + pulumi.set(__self__, "node_id", node_id) + if private_ip is not None: + pulumi.set(__self__, "private_ip", private_ip) + if public_dns is not None: + pulumi.set(__self__, "public_dns", public_dns) + if start_timestamp is not None: + pulumi.set(__self__, "start_timestamp", start_timestamp) + + @property + @pulumi.getter(name="hostPrivateIp") + def host_private_ip(self) -> Optional[str]: + return pulumi.get(self, "host_private_ip") + + @host_private_ip.setter + def host_private_ip(self, value: Optional[str]): + pulumi.set(self, "host_private_ip", value) + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[str]: + return pulumi.get(self, "instance_id") + + @instance_id.setter + def instance_id(self, value: Optional[str]): + pulumi.set(self, "instance_id", value) + + @property + @pulumi.getter(name="nodeAwsAttributes") + def node_aws_attributes(self) -> Optional['GetClusterClusterInfoExecutorNodeAwsAttributesArgs']: + return pulumi.get(self, "node_aws_attributes") + + @node_aws_attributes.setter + def node_aws_attributes(self, value: Optional['GetClusterClusterInfoExecutorNodeAwsAttributesArgs']): + pulumi.set(self, "node_aws_attributes", value) + + @property + @pulumi.getter(name="nodeId") + def node_id(self) -> Optional[str]: + return pulumi.get(self, "node_id") + + @node_id.setter + def node_id(self, value: Optional[str]): + pulumi.set(self, "node_id", value) + + @property + @pulumi.getter(name="privateIp") + def private_ip(self) -> Optional[str]: + return pulumi.get(self, "private_ip") + + @private_ip.setter + def private_ip(self, value: Optional[str]): + pulumi.set(self, "private_ip", value) + + @property + @pulumi.getter(name="publicDns") + def public_dns(self) -> Optional[str]: + return pulumi.get(self, "public_dns") + + @public_dns.setter + def public_dns(self, value: Optional[str]): + pulumi.set(self, "public_dns", value) + + @property + @pulumi.getter(name="startTimestamp") + def start_timestamp(self) -> Optional[int]: + return pulumi.get(self, "start_timestamp") + + @start_timestamp.setter + def start_timestamp(self, value: Optional[int]): + pulumi.set(self, "start_timestamp", value) + + +if not MYPY: + class GetClusterClusterInfoExecutorNodeAwsAttributesArgsDict(TypedDict): + is_spot: NotRequired[bool] +elif False: + GetClusterClusterInfoExecutorNodeAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoExecutorNodeAwsAttributesArgs: + def __init__(__self__, *, + is_spot: Optional[bool] = None): + if is_spot is not None: + pulumi.set(__self__, "is_spot", is_spot) + + @property + @pulumi.getter(name="isSpot") + def is_spot(self) -> Optional[bool]: + return pulumi.get(self, "is_spot") + + @is_spot.setter + def is_spot(self, value: Optional[bool]): + pulumi.set(self, "is_spot", value) + + +if not MYPY: + class GetClusterClusterInfoGcpAttributesArgsDict(TypedDict): + availability: NotRequired[str] + boot_disk_size: NotRequired[int] + google_service_account: NotRequired[str] + local_ssd_count: NotRequired[int] + use_preemptible_executors: NotRequired[bool] + zone_id: NotRequired[str] +elif False: + GetClusterClusterInfoGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoGcpAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") + + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[int]): + pulumi.set(self, "boot_disk_size", value) + + @property + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") + + @google_service_account.setter + def google_service_account(self, value: Optional[str]): + pulumi.set(self, "google_service_account", value) + + @property + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") + + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[int]): + pulumi.set(self, "local_ssd_count", value) + + @property + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") + + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[bool]): + pulumi.set(self, "use_preemptible_executors", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) + + +if not MYPY: + class GetClusterClusterInfoInitScriptArgsDict(TypedDict): + abfss: NotRequired['GetClusterClusterInfoInitScriptAbfssArgsDict'] + dbfs: NotRequired['GetClusterClusterInfoInitScriptDbfsArgsDict'] + file: NotRequired['GetClusterClusterInfoInitScriptFileArgsDict'] + gcs: NotRequired['GetClusterClusterInfoInitScriptGcsArgsDict'] + s3: NotRequired['GetClusterClusterInfoInitScriptS3ArgsDict'] + volumes: NotRequired['GetClusterClusterInfoInitScriptVolumesArgsDict'] + workspace: NotRequired['GetClusterClusterInfoInitScriptWorkspaceArgsDict'] +elif False: + GetClusterClusterInfoInitScriptArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoInitScriptArgs: + def __init__(__self__, *, + abfss: Optional['GetClusterClusterInfoInitScriptAbfssArgs'] = None, + dbfs: Optional['GetClusterClusterInfoInitScriptDbfsArgs'] = None, + file: Optional['GetClusterClusterInfoInitScriptFileArgs'] = None, + gcs: Optional['GetClusterClusterInfoInitScriptGcsArgs'] = None, + s3: Optional['GetClusterClusterInfoInitScriptS3Args'] = None, + volumes: Optional['GetClusterClusterInfoInitScriptVolumesArgs'] = None, + workspace: Optional['GetClusterClusterInfoInitScriptWorkspaceArgs'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) + + @property + @pulumi.getter + def abfss(self) -> Optional['GetClusterClusterInfoInitScriptAbfssArgs']: + return pulumi.get(self, "abfss") + + @abfss.setter + def abfss(self, value: Optional['GetClusterClusterInfoInitScriptAbfssArgs']): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="enablePredictiveOptimization") - def enable_predictive_optimization(self) -> Optional[str]: - """ - Whether predictive optimization should be enabled for this object and objects under it. - """ - return pulumi.get(self, "enable_predictive_optimization") + @pulumi.getter + def dbfs(self) -> Optional['GetClusterClusterInfoInitScriptDbfsArgs']: + return pulumi.get(self, "dbfs") - @enable_predictive_optimization.setter - def enable_predictive_optimization(self, value: Optional[str]): - pulumi.set(self, "enable_predictive_optimization", value) + @dbfs.setter + def dbfs(self, value: Optional['GetClusterClusterInfoInitScriptDbfsArgs']): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - The full name of the catalog. Corresponds with the name field. - """ - return pulumi.get(self, "full_name") + @pulumi.getter + def file(self) -> Optional['GetClusterClusterInfoInitScriptFileArgs']: + return pulumi.get(self, "file") - @full_name.setter - def full_name(self, value: Optional[str]): - pulumi.set(self, "full_name", value) + @file.setter + def file(self, value: Optional['GetClusterClusterInfoInitScriptFileArgs']): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="isolationMode") - def isolation_mode(self) -> Optional[str]: - """ - Whether the current securable is accessible from all workspaces or a specific set of workspaces. - """ - return pulumi.get(self, "isolation_mode") + @pulumi.getter + def gcs(self) -> Optional['GetClusterClusterInfoInitScriptGcsArgs']: + return pulumi.get(self, "gcs") - @isolation_mode.setter - def isolation_mode(self, value: Optional[str]): - pulumi.set(self, "isolation_mode", value) + @gcs.setter + def gcs(self, value: Optional['GetClusterClusterInfoInitScriptGcsArgs']): + pulumi.set(self, "gcs", value) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - Unique identifier of parent metastore. - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter + def s3(self) -> Optional['GetClusterClusterInfoInitScriptS3Args']: + return pulumi.get(self, "s3") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) + @s3.setter + def s3(self, value: Optional['GetClusterClusterInfoInitScriptS3Args']): + pulumi.set(self, "s3", value) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - name of the catalog - """ - return pulumi.get(self, "name") + def volumes(self) -> Optional['GetClusterClusterInfoInitScriptVolumesArgs']: + return pulumi.get(self, "volumes") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @volumes.setter + def volumes(self, value: Optional['GetClusterClusterInfoInitScriptVolumesArgs']): + pulumi.set(self, "volumes", value) @property @pulumi.getter - def options(self) -> Optional[Mapping[str, str]]: - """ - A map of key-value properties attached to the securable. - """ - return pulumi.get(self, "options") + def workspace(self) -> Optional['GetClusterClusterInfoInitScriptWorkspaceArgs']: + return pulumi.get(self, "workspace") - @options.setter - def options(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "options", value) + @workspace.setter + def workspace(self, value: Optional['GetClusterClusterInfoInitScriptWorkspaceArgs']): + pulumi.set(self, "workspace", value) + + +if not MYPY: + class GetClusterClusterInfoInitScriptAbfssArgsDict(TypedDict): + destination: str +elif False: + GetClusterClusterInfoInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoInitScriptAbfssArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Current owner of the catalog - """ - return pulumi.get(self, "owner") + def destination(self) -> str: + return pulumi.get(self, "destination") - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetClusterClusterInfoInitScriptDbfsArgsDict(TypedDict): + destination: str +elif False: + GetClusterClusterInfoInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoInitScriptDbfsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def properties(self) -> Optional[Mapping[str, str]]: - """ - A map of key-value properties attached to the securable. - """ - return pulumi.get(self, "properties") + def destination(self) -> str: + return pulumi.get(self, "destination") - @properties.setter - def properties(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "properties", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetClusterClusterInfoInitScriptFileArgsDict(TypedDict): + destination: str +elif False: + GetClusterClusterInfoInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoInitScriptFileArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="providerName") - def provider_name(self) -> Optional[str]: - """ - The name of delta sharing provider. - """ - return pulumi.get(self, "provider_name") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @provider_name.setter - def provider_name(self, value: Optional[str]): - pulumi.set(self, "provider_name", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetClusterClusterInfoInitScriptGcsArgsDict(TypedDict): + destination: str +elif False: + GetClusterClusterInfoInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoInitScriptGcsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="provisioningInfo") - def provisioning_info(self) -> Optional['GetCatalogCatalogInfoProvisioningInfoArgs']: - return pulumi.get(self, "provisioning_info") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @provisioning_info.setter - def provisioning_info(self, value: Optional['GetCatalogCatalogInfoProvisioningInfoArgs']): - pulumi.set(self, "provisioning_info", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetClusterClusterInfoInitScriptS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] +elif False: + GetClusterClusterInfoInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoInitScriptS3Args: + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="securableKind") - def securable_kind(self) -> Optional[str]: - """ - Kind of catalog securable. - """ - return pulumi.get(self, "securable_kind") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @securable_kind.setter - def securable_kind(self, value: Optional[str]): - pulumi.set(self, "securable_kind", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="securableType") - def securable_type(self) -> Optional[str]: - """ - Securable type. - """ - return pulumi.get(self, "securable_type") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") - @securable_type.setter - def securable_type(self, value: Optional[str]): - pulumi.set(self, "securable_type", value) + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter(name="shareName") - def share_name(self) -> Optional[str]: - """ - The name of the share under the share provider. - """ - return pulumi.get(self, "share_name") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") - @share_name.setter - def share_name(self, value: Optional[str]): - pulumi.set(self, "share_name", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="storageLocation") - def storage_location(self) -> Optional[str]: - """ - Storage Location URL (full path) for managed tables within catalog. - """ - return pulumi.get(self, "storage_location") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") - @storage_location.setter - def storage_location(self, value: Optional[str]): - pulumi.set(self, "storage_location", value) + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - Storage root URL for managed tables within catalog. - """ - return pulumi.get(self, "storage_root") + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") - @storage_root.setter - def storage_root(self, value: Optional[str]): - pulumi.set(self, "storage_root", value) + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Time at which this catalog was last modified, in epoch milliseconds. - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - Username of user who last modified catalog. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) if not MYPY: - class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgsDict(TypedDict): - value: str - inherited_from_name: NotRequired[str] - inherited_from_type: NotRequired[str] + class GetClusterClusterInfoInitScriptVolumesArgsDict(TypedDict): + destination: str elif False: - GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs: +class GetClusterClusterInfoInitScriptVolumesArgs: def __init__(__self__, *, - value: str, - inherited_from_name: Optional[str] = None, - inherited_from_type: Optional[str] = None): - pulumi.set(__self__, "value", value) - if inherited_from_name is not None: - pulumi.set(__self__, "inherited_from_name", inherited_from_name) - if inherited_from_type is not None: - pulumi.set(__self__, "inherited_from_type", inherited_from_type) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - @value.setter - def value(self, value: str): - pulumi.set(self, "value", value) - - @property - @pulumi.getter(name="inheritedFromName") - def inherited_from_name(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_name") - - @inherited_from_name.setter - def inherited_from_name(self, value: Optional[str]): - pulumi.set(self, "inherited_from_name", value) - - @property - @pulumi.getter(name="inheritedFromType") - def inherited_from_type(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_type") + def destination(self) -> str: + return pulumi.get(self, "destination") - @inherited_from_type.setter - def inherited_from_type(self, value: Optional[str]): - pulumi.set(self, "inherited_from_type", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetCatalogCatalogInfoProvisioningInfoArgsDict(TypedDict): - state: NotRequired[str] + class GetClusterClusterInfoInitScriptWorkspaceArgsDict(TypedDict): + destination: str elif False: - GetCatalogCatalogInfoProvisioningInfoArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetCatalogCatalogInfoProvisioningInfoArgs: +class GetClusterClusterInfoInitScriptWorkspaceArgs: def __init__(__self__, *, - state: Optional[str] = None): - if state is not None: - pulumi.set(__self__, "state", state) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def state(self) -> Optional[str]: - return pulumi.get(self, "state") + def destination(self) -> str: + return pulumi.get(self, "destination") - @state.setter - def state(self, value: Optional[str]): - pulumi.set(self, "state", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetClusterClusterInfoArgsDict(TypedDict): - autoscale: NotRequired['GetClusterClusterInfoAutoscaleArgsDict'] - autotermination_minutes: NotRequired[int] + class GetClusterClusterInfoSpecArgsDict(TypedDict): + cluster_id: str """ - Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + The id of the cluster """ - aws_attributes: NotRequired['GetClusterClusterInfoAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetClusterClusterInfoAzureAttributesArgsDict'] - cluster_cores: NotRequired[float] - cluster_id: NotRequired[str] + driver_instance_pool_id: str """ - The id of the cluster + similar to `instance_pool_id`, but for driver node. """ - cluster_log_conf: NotRequired['GetClusterClusterInfoClusterLogConfArgsDict'] - cluster_log_status: NotRequired['GetClusterClusterInfoClusterLogStatusArgsDict'] - cluster_memory_mb: NotRequired[int] - cluster_name: NotRequired[str] + driver_node_type_id: str """ - The exact name of the cluster to search + The node type of the Spark driver. """ - cluster_source: NotRequired[str] - creator_user_name: NotRequired[str] - custom_tags: NotRequired[Mapping[str, str]] + enable_elastic_disk: bool """ - Additional tags for cluster resources. + Use autoscaling local storage. """ - data_security_mode: NotRequired[str] + enable_local_disk_encryption: bool """ - Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + Enable local disk encryption. """ - default_tags: NotRequired[Mapping[str, str]] - docker_image: NotRequired['GetClusterClusterInfoDockerImageArgsDict'] - driver: NotRequired['GetClusterClusterInfoDriverArgsDict'] - driver_instance_pool_id: NotRequired[str] + node_type_id: str """ - similar to `instance_pool_id`, but for driver node. + Any supported get_node_type id. """ - driver_node_type_id: NotRequired[str] + spark_version: str """ - The node type of the Spark driver. + [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. """ - enable_elastic_disk: NotRequired[bool] + apply_policy_default_values: NotRequired[bool] + autoscale: NotRequired['GetClusterClusterInfoSpecAutoscaleArgsDict'] + aws_attributes: NotRequired['GetClusterClusterInfoSpecAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetClusterClusterInfoSpecAzureAttributesArgsDict'] + cluster_log_conf: NotRequired['GetClusterClusterInfoSpecClusterLogConfArgsDict'] + cluster_mount_infos: NotRequired[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgsDict']] + cluster_name: NotRequired[str] """ - Use autoscaling local storage. + The exact name of the cluster to search """ - enable_local_disk_encryption: NotRequired[bool] + custom_tags: NotRequired[Mapping[str, str]] """ - Enable local disk encryption. + Additional tags for cluster resources. """ - executors: NotRequired[Sequence['GetClusterClusterInfoExecutorArgsDict']] - gcp_attributes: NotRequired['GetClusterClusterInfoGcpAttributesArgsDict'] - init_scripts: NotRequired[Sequence['GetClusterClusterInfoInitScriptArgsDict']] - instance_pool_id: NotRequired[str] + data_security_mode: NotRequired[str] """ - The pool of idle instances the cluster is attached to. + Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. """ - jdbc_port: NotRequired[int] - last_restarted_time: NotRequired[int] - last_state_loss_time: NotRequired[int] - node_type_id: NotRequired[str] + docker_image: NotRequired['GetClusterClusterInfoSpecDockerImageArgsDict'] + gcp_attributes: NotRequired['GetClusterClusterInfoSpecGcpAttributesArgsDict'] + idempotency_token: NotRequired[str] """ - Any supported get_node_type id. + An optional token to guarantee the idempotency of cluster creation requests. + """ + init_scripts: NotRequired[Sequence['GetClusterClusterInfoSpecInitScriptArgsDict']] + instance_pool_id: NotRequired[str] """ + The pool of idle instances the cluster is attached to. + """ + is_single_node: NotRequired[bool] + kind: NotRequired[str] + libraries: NotRequired[Sequence['GetClusterClusterInfoSpecLibraryArgsDict']] num_workers: NotRequired[int] policy_id: NotRequired[str] """ @@ -34355,155 +37901,116 @@ class GetClusterClusterInfoArgsDict(TypedDict): """ Map with key-value pairs to fine-tune Spark clusters. """ - spark_context_id: NotRequired[int] spark_env_vars: NotRequired[Mapping[str, str]] """ Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. """ - spark_version: NotRequired[str] - """ - [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - """ - spec: NotRequired['GetClusterClusterInfoSpecArgsDict'] ssh_public_keys: NotRequired[Sequence[str]] """ SSH public key contents that will be added to each Spark node in this cluster. """ - start_time: NotRequired[int] - state: NotRequired[str] - state_message: NotRequired[str] - terminated_time: NotRequired[int] - termination_reason: NotRequired['GetClusterClusterInfoTerminationReasonArgsDict'] - workload_type: NotRequired['GetClusterClusterInfoWorkloadTypeArgsDict'] + use_ml_runtime: NotRequired[bool] + workload_type: NotRequired['GetClusterClusterInfoSpecWorkloadTypeArgsDict'] elif False: - GetClusterClusterInfoArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoArgs: +class GetClusterClusterInfoSpecArgs: def __init__(__self__, *, - autoscale: Optional['GetClusterClusterInfoAutoscaleArgs'] = None, - autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['GetClusterClusterInfoAwsAttributesArgs'] = None, - azure_attributes: Optional['GetClusterClusterInfoAzureAttributesArgs'] = None, - cluster_cores: Optional[float] = None, - cluster_id: Optional[str] = None, - cluster_log_conf: Optional['GetClusterClusterInfoClusterLogConfArgs'] = None, - cluster_log_status: Optional['GetClusterClusterInfoClusterLogStatusArgs'] = None, - cluster_memory_mb: Optional[int] = None, + cluster_id: str, + driver_instance_pool_id: str, + driver_node_type_id: str, + enable_elastic_disk: bool, + enable_local_disk_encryption: bool, + node_type_id: str, + spark_version: str, + apply_policy_default_values: Optional[bool] = None, + autoscale: Optional['GetClusterClusterInfoSpecAutoscaleArgs'] = None, + aws_attributes: Optional['GetClusterClusterInfoSpecAwsAttributesArgs'] = None, + azure_attributes: Optional['GetClusterClusterInfoSpecAzureAttributesArgs'] = None, + cluster_log_conf: Optional['GetClusterClusterInfoSpecClusterLogConfArgs'] = None, + cluster_mount_infos: Optional[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgs']] = None, cluster_name: Optional[str] = None, - cluster_source: Optional[str] = None, - creator_user_name: Optional[str] = None, custom_tags: Optional[Mapping[str, str]] = None, data_security_mode: Optional[str] = None, - default_tags: Optional[Mapping[str, str]] = None, - docker_image: Optional['GetClusterClusterInfoDockerImageArgs'] = None, - driver: Optional['GetClusterClusterInfoDriverArgs'] = None, - driver_instance_pool_id: Optional[str] = None, - driver_node_type_id: Optional[str] = None, - enable_elastic_disk: Optional[bool] = None, - enable_local_disk_encryption: Optional[bool] = None, - executors: Optional[Sequence['GetClusterClusterInfoExecutorArgs']] = None, - gcp_attributes: Optional['GetClusterClusterInfoGcpAttributesArgs'] = None, - init_scripts: Optional[Sequence['GetClusterClusterInfoInitScriptArgs']] = None, + docker_image: Optional['GetClusterClusterInfoSpecDockerImageArgs'] = None, + gcp_attributes: Optional['GetClusterClusterInfoSpecGcpAttributesArgs'] = None, + idempotency_token: Optional[str] = None, + init_scripts: Optional[Sequence['GetClusterClusterInfoSpecInitScriptArgs']] = None, instance_pool_id: Optional[str] = None, - jdbc_port: Optional[int] = None, - last_restarted_time: Optional[int] = None, - last_state_loss_time: Optional[int] = None, - node_type_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + kind: Optional[str] = None, + libraries: Optional[Sequence['GetClusterClusterInfoSpecLibraryArgs']] = None, num_workers: Optional[int] = None, policy_id: Optional[str] = None, runtime_engine: Optional[str] = None, single_user_name: Optional[str] = None, spark_conf: Optional[Mapping[str, str]] = None, - spark_context_id: Optional[int] = None, spark_env_vars: Optional[Mapping[str, str]] = None, - spark_version: Optional[str] = None, - spec: Optional['GetClusterClusterInfoSpecArgs'] = None, ssh_public_keys: Optional[Sequence[str]] = None, - start_time: Optional[int] = None, - state: Optional[str] = None, - state_message: Optional[str] = None, - terminated_time: Optional[int] = None, - termination_reason: Optional['GetClusterClusterInfoTerminationReasonArgs'] = None, - workload_type: Optional['GetClusterClusterInfoWorkloadTypeArgs'] = None): + use_ml_runtime: Optional[bool] = None, + workload_type: Optional['GetClusterClusterInfoSpecWorkloadTypeArgs'] = None): """ - :param int autotermination_minutes: Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. :param str cluster_id: The id of the cluster - :param str cluster_name: The exact name of the cluster to search - :param Mapping[str, str] custom_tags: Additional tags for cluster resources. - :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. :param str driver_instance_pool_id: similar to `instance_pool_id`, but for driver node. :param str driver_node_type_id: The node type of the Spark driver. :param bool enable_elastic_disk: Use autoscaling local storage. :param bool enable_local_disk_encryption: Enable local disk encryption. - :param str instance_pool_id: The pool of idle instances the cluster is attached to. :param str node_type_id: Any supported get_node_type id. + :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + :param str cluster_name: The exact name of the cluster to search + :param Mapping[str, str] custom_tags: Additional tags for cluster resources. + :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + :param str idempotency_token: An optional token to guarantee the idempotency of cluster creation requests. + :param str instance_pool_id: The pool of idle instances the cluster is attached to. :param str policy_id: Identifier of Cluster Policy to validate cluster and preset certain defaults. :param str runtime_engine: The type of runtime of the cluster :param str single_user_name: The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). :param Mapping[str, str] spark_conf: Map with key-value pairs to fine-tune Spark clusters. :param Mapping[str, str] spark_env_vars: Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. :param Sequence[str] ssh_public_keys: SSH public key contents that will be added to each Spark node in this cluster. """ + pulumi.set(__self__, "cluster_id", cluster_id) + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + pulumi.set(__self__, "node_type_id", node_type_id) + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) if autoscale is not None: pulumi.set(__self__, "autoscale", autoscale) - if autotermination_minutes is not None: - pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) if aws_attributes is not None: pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_cores is not None: - pulumi.set(__self__, "cluster_cores", cluster_cores) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_log_status is not None: - pulumi.set(__self__, "cluster_log_status", cluster_log_status) - if cluster_memory_mb is not None: - pulumi.set(__self__, "cluster_memory_mb", cluster_memory_mb) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) if cluster_name is not None: pulumi.set(__self__, "cluster_name", cluster_name) - if cluster_source is not None: - pulumi.set(__self__, "cluster_source", cluster_source) - if creator_user_name is not None: - pulumi.set(__self__, "creator_user_name", creator_user_name) if custom_tags is not None: pulumi.set(__self__, "custom_tags", custom_tags) if data_security_mode is not None: pulumi.set(__self__, "data_security_mode", data_security_mode) - if default_tags is not None: - pulumi.set(__self__, "default_tags", default_tags) if docker_image is not None: pulumi.set(__self__, "docker_image", docker_image) - if driver is not None: - pulumi.set(__self__, "driver", driver) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if executors is not None: - pulumi.set(__self__, "executors", executors) if gcp_attributes is not None: pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) if init_scripts is not None: pulumi.set(__self__, "init_scripts", init_scripts) if instance_pool_id is not None: pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if jdbc_port is not None: - pulumi.set(__self__, "jdbc_port", jdbc_port) - if last_restarted_time is not None: - pulumi.set(__self__, "last_restarted_time", last_restarted_time) - if last_state_loss_time is not None: - pulumi.set(__self__, "last_state_loss_time", last_state_loss_time) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) if num_workers is not None: pulumi.set(__self__, "num_workers", num_workers) if policy_id is not None: @@ -34514,115 +38021,152 @@ def __init__(__self__, *, pulumi.set(__self__, "single_user_name", single_user_name) if spark_conf is not None: pulumi.set(__self__, "spark_conf", spark_conf) - if spark_context_id is not None: - pulumi.set(__self__, "spark_context_id", spark_context_id) if spark_env_vars is not None: pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if spark_version is not None: - pulumi.set(__self__, "spark_version", spark_version) - if spec is not None: - pulumi.set(__self__, "spec", spec) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if start_time is not None: - pulumi.set(__self__, "start_time", start_time) - if state is not None: - pulumi.set(__self__, "state", state) - if state_message is not None: - pulumi.set(__self__, "state_message", state_message) - if terminated_time is not None: - pulumi.set(__self__, "terminated_time", terminated_time) - if termination_reason is not None: - pulumi.set(__self__, "termination_reason", termination_reason) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def autoscale(self) -> Optional['GetClusterClusterInfoAutoscaleArgs']: - return pulumi.get(self, "autoscale") + @pulumi.getter(name="clusterId") + def cluster_id(self) -> str: + """ + The id of the cluster + """ + return pulumi.get(self, "cluster_id") - @autoscale.setter - def autoscale(self, value: Optional['GetClusterClusterInfoAutoscaleArgs']): - pulumi.set(self, "autoscale", value) + @cluster_id.setter + def cluster_id(self, value: str): + pulumi.set(self, "cluster_id", value) @property - @pulumi.getter(name="autoterminationMinutes") - def autotermination_minutes(self) -> Optional[int]: + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> str: """ - Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + similar to `instance_pool_id`, but for driver node. """ - return pulumi.get(self, "autotermination_minutes") + return pulumi.get(self, "driver_instance_pool_id") - @autotermination_minutes.setter - def autotermination_minutes(self, value: Optional[int]): - pulumi.set(self, "autotermination_minutes", value) + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: str): + pulumi.set(self, "driver_instance_pool_id", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetClusterClusterInfoAwsAttributesArgs']: - return pulumi.get(self, "aws_attributes") + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> str: + """ + The node type of the Spark driver. + """ + return pulumi.get(self, "driver_node_type_id") - @aws_attributes.setter - def aws_attributes(self, value: Optional['GetClusterClusterInfoAwsAttributesArgs']): - pulumi.set(self, "aws_attributes", value) + @driver_node_type_id.setter + def driver_node_type_id(self, value: str): + pulumi.set(self, "driver_node_type_id", value) @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetClusterClusterInfoAzureAttributesArgs']: - return pulumi.get(self, "azure_attributes") + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> bool: + """ + Use autoscaling local storage. + """ + return pulumi.get(self, "enable_elastic_disk") - @azure_attributes.setter - def azure_attributes(self, value: Optional['GetClusterClusterInfoAzureAttributesArgs']): - pulumi.set(self, "azure_attributes", value) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: bool): + pulumi.set(self, "enable_elastic_disk", value) @property - @pulumi.getter(name="clusterCores") - def cluster_cores(self) -> Optional[float]: - return pulumi.get(self, "cluster_cores") + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> bool: + """ + Enable local disk encryption. + """ + return pulumi.get(self, "enable_local_disk_encryption") - @cluster_cores.setter - def cluster_cores(self, value: Optional[float]): - pulumi.set(self, "cluster_cores", value) + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: bool): + pulumi.set(self, "enable_local_disk_encryption", value) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[str]: + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> str: """ - The id of the cluster + Any supported get_node_type id. """ - return pulumi.get(self, "cluster_id") + return pulumi.get(self, "node_type_id") - @cluster_id.setter - def cluster_id(self, value: Optional[str]): - pulumi.set(self, "cluster_id", value) + @node_type_id.setter + def node_type_id(self, value: str): + pulumi.set(self, "node_type_id", value) + + @property + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> str: + """ + [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + """ + return pulumi.get(self, "spark_version") + + @spark_version.setter + def spark_version(self, value: str): + pulumi.set(self, "spark_version", value) + + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[bool]: + return pulumi.get(self, "apply_policy_default_values") + + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[bool]): + pulumi.set(self, "apply_policy_default_values", value) + + @property + @pulumi.getter + def autoscale(self) -> Optional['GetClusterClusterInfoSpecAutoscaleArgs']: + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional['GetClusterClusterInfoSpecAutoscaleArgs']): + pulumi.set(self, "autoscale", value) + + @property + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['GetClusterClusterInfoSpecAwsAttributesArgs']: + return pulumi.get(self, "aws_attributes") + + @aws_attributes.setter + def aws_attributes(self, value: Optional['GetClusterClusterInfoSpecAwsAttributesArgs']): + pulumi.set(self, "aws_attributes", value) + + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['GetClusterClusterInfoSpecAzureAttributesArgs']: + return pulumi.get(self, "azure_attributes") + + @azure_attributes.setter + def azure_attributes(self, value: Optional['GetClusterClusterInfoSpecAzureAttributesArgs']): + pulumi.set(self, "azure_attributes", value) @property @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['GetClusterClusterInfoClusterLogConfArgs']: + def cluster_log_conf(self) -> Optional['GetClusterClusterInfoSpecClusterLogConfArgs']: return pulumi.get(self, "cluster_log_conf") @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional['GetClusterClusterInfoClusterLogConfArgs']): + def cluster_log_conf(self, value: Optional['GetClusterClusterInfoSpecClusterLogConfArgs']): pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter(name="clusterLogStatus") - def cluster_log_status(self) -> Optional['GetClusterClusterInfoClusterLogStatusArgs']: - return pulumi.get(self, "cluster_log_status") - - @cluster_log_status.setter - def cluster_log_status(self, value: Optional['GetClusterClusterInfoClusterLogStatusArgs']): - pulumi.set(self, "cluster_log_status", value) - - @property - @pulumi.getter(name="clusterMemoryMb") - def cluster_memory_mb(self) -> Optional[int]: - return pulumi.get(self, "cluster_memory_mb") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgs']]: + return pulumi.get(self, "cluster_mount_infos") - @cluster_memory_mb.setter - def cluster_memory_mb(self, value: Optional[int]): - pulumi.set(self, "cluster_memory_mb", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgs']]): + pulumi.set(self, "cluster_mount_infos", value) @property @pulumi.getter(name="clusterName") @@ -34636,24 +38180,6 @@ def cluster_name(self) -> Optional[str]: def cluster_name(self, value: Optional[str]): pulumi.set(self, "cluster_name", value) - @property - @pulumi.getter(name="clusterSource") - def cluster_source(self) -> Optional[str]: - return pulumi.get(self, "cluster_source") - - @cluster_source.setter - def cluster_source(self, value: Optional[str]): - pulumi.set(self, "cluster_source", value) - - @property - @pulumi.getter(name="creatorUserName") - def creator_user_name(self) -> Optional[str]: - return pulumi.get(self, "creator_user_name") - - @creator_user_name.setter - def creator_user_name(self, value: Optional[str]): - pulumi.set(self, "creator_user_name", value) - @property @pulumi.getter(name="customTags") def custom_tags(self) -> Optional[Mapping[str, str]]: @@ -34678,106 +38204,43 @@ def data_security_mode(self) -> Optional[str]: def data_security_mode(self, value: Optional[str]): pulumi.set(self, "data_security_mode", value) - @property - @pulumi.getter(name="defaultTags") - def default_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "default_tags") - - @default_tags.setter - def default_tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "default_tags", value) - @property @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['GetClusterClusterInfoDockerImageArgs']: + def docker_image(self) -> Optional['GetClusterClusterInfoSpecDockerImageArgs']: return pulumi.get(self, "docker_image") @docker_image.setter - def docker_image(self, value: Optional['GetClusterClusterInfoDockerImageArgs']): + def docker_image(self, value: Optional['GetClusterClusterInfoSpecDockerImageArgs']): pulumi.set(self, "docker_image", value) @property - @pulumi.getter - def driver(self) -> Optional['GetClusterClusterInfoDriverArgs']: - return pulumi.get(self, "driver") - - @driver.setter - def driver(self, value: Optional['GetClusterClusterInfoDriverArgs']): - pulumi.set(self, "driver", value) - - @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[str]: - """ - similar to `instance_pool_id`, but for driver node. - """ - return pulumi.get(self, "driver_instance_pool_id") - - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: Optional[str]): - pulumi.set(self, "driver_instance_pool_id", value) - - @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[str]: - """ - The node type of the Spark driver. - """ - return pulumi.get(self, "driver_node_type_id") - - @driver_node_type_id.setter - def driver_node_type_id(self, value: Optional[str]): - pulumi.set(self, "driver_node_type_id", value) - - @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[bool]: - """ - Use autoscaling local storage. - """ - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['GetClusterClusterInfoSpecGcpAttributesArgs']: + return pulumi.get(self, "gcp_attributes") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: Optional[bool]): - pulumi.set(self, "enable_elastic_disk", value) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional['GetClusterClusterInfoSpecGcpAttributesArgs']): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[bool]: + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: """ - Enable local disk encryption. + An optional token to guarantee the idempotency of cluster creation requests. """ - return pulumi.get(self, "enable_local_disk_encryption") - - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_local_disk_encryption", value) - - @property - @pulumi.getter - def executors(self) -> Optional[Sequence['GetClusterClusterInfoExecutorArgs']]: - return pulumi.get(self, "executors") - - @executors.setter - def executors(self, value: Optional[Sequence['GetClusterClusterInfoExecutorArgs']]): - pulumi.set(self, "executors", value) - - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetClusterClusterInfoGcpAttributesArgs']: - return pulumi.get(self, "gcp_attributes") + return pulumi.get(self, "idempotency_token") - @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetClusterClusterInfoGcpAttributesArgs']): - pulumi.set(self, "gcp_attributes", value) + @idempotency_token.setter + def idempotency_token(self, value: Optional[str]): + pulumi.set(self, "idempotency_token", value) @property @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['GetClusterClusterInfoInitScriptArgs']]: + def init_scripts(self) -> Optional[Sequence['GetClusterClusterInfoSpecInitScriptArgs']]: return pulumi.get(self, "init_scripts") @init_scripts.setter - def init_scripts(self, value: Optional[Sequence['GetClusterClusterInfoInitScriptArgs']]): + def init_scripts(self, value: Optional[Sequence['GetClusterClusterInfoSpecInitScriptArgs']]): pulumi.set(self, "init_scripts", value) @property @@ -34793,43 +38256,31 @@ def instance_pool_id(self, value: Optional[str]): pulumi.set(self, "instance_pool_id", value) @property - @pulumi.getter(name="jdbcPort") - def jdbc_port(self) -> Optional[int]: - return pulumi.get(self, "jdbc_port") - - @jdbc_port.setter - def jdbc_port(self, value: Optional[int]): - pulumi.set(self, "jdbc_port", value) - - @property - @pulumi.getter(name="lastRestartedTime") - def last_restarted_time(self) -> Optional[int]: - return pulumi.get(self, "last_restarted_time") + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") - @last_restarted_time.setter - def last_restarted_time(self, value: Optional[int]): - pulumi.set(self, "last_restarted_time", value) + @is_single_node.setter + def is_single_node(self, value: Optional[bool]): + pulumi.set(self, "is_single_node", value) @property - @pulumi.getter(name="lastStateLossTime") - def last_state_loss_time(self) -> Optional[int]: - return pulumi.get(self, "last_state_loss_time") + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") - @last_state_loss_time.setter - def last_state_loss_time(self, value: Optional[int]): - pulumi.set(self, "last_state_loss_time", value) + @kind.setter + def kind(self, value: Optional[str]): + pulumi.set(self, "kind", value) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[str]: - """ - Any supported get_node_type id. - """ - return pulumi.get(self, "node_type_id") + @pulumi.getter + def libraries(self) -> Optional[Sequence['GetClusterClusterInfoSpecLibraryArgs']]: + return pulumi.get(self, "libraries") - @node_type_id.setter - def node_type_id(self, value: Optional[str]): - pulumi.set(self, "node_type_id", value) + @libraries.setter + def libraries(self, value: Optional[Sequence['GetClusterClusterInfoSpecLibraryArgs']]): + pulumi.set(self, "libraries", value) @property @pulumi.getter(name="numWorkers") @@ -34888,15 +38339,6 @@ def spark_conf(self) -> Optional[Mapping[str, str]]: def spark_conf(self, value: Optional[Mapping[str, str]]): pulumi.set(self, "spark_conf", value) - @property - @pulumi.getter(name="sparkContextId") - def spark_context_id(self) -> Optional[int]: - return pulumi.get(self, "spark_context_id") - - @spark_context_id.setter - def spark_context_id(self, value: Optional[int]): - pulumi.set(self, "spark_context_id", value) - @property @pulumi.getter(name="sparkEnvVars") def spark_env_vars(self) -> Optional[Mapping[str, str]]: @@ -34909,27 +38351,6 @@ def spark_env_vars(self) -> Optional[Mapping[str, str]]: def spark_env_vars(self, value: Optional[Mapping[str, str]]): pulumi.set(self, "spark_env_vars", value) - @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> Optional[str]: - """ - [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - """ - return pulumi.get(self, "spark_version") - - @spark_version.setter - def spark_version(self, value: Optional[str]): - pulumi.set(self, "spark_version", value) - - @property - @pulumi.getter - def spec(self) -> Optional['GetClusterClusterInfoSpecArgs']: - return pulumi.get(self, "spec") - - @spec.setter - def spec(self, value: Optional['GetClusterClusterInfoSpecArgs']): - pulumi.set(self, "spec", value) - @property @pulumi.getter(name="sshPublicKeys") def ssh_public_keys(self) -> Optional[Sequence[str]]: @@ -34943,69 +38364,33 @@ def ssh_public_keys(self, value: Optional[Sequence[str]]): pulumi.set(self, "ssh_public_keys", value) @property - @pulumi.getter(name="startTime") - def start_time(self) -> Optional[int]: - return pulumi.get(self, "start_time") - - @start_time.setter - def start_time(self, value: Optional[int]): - pulumi.set(self, "start_time", value) - - @property - @pulumi.getter - def state(self) -> Optional[str]: - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[str]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="stateMessage") - def state_message(self) -> Optional[str]: - return pulumi.get(self, "state_message") - - @state_message.setter - def state_message(self, value: Optional[str]): - pulumi.set(self, "state_message", value) - - @property - @pulumi.getter(name="terminatedTime") - def terminated_time(self) -> Optional[int]: - return pulumi.get(self, "terminated_time") - - @terminated_time.setter - def terminated_time(self, value: Optional[int]): - pulumi.set(self, "terminated_time", value) - - @property - @pulumi.getter(name="terminationReason") - def termination_reason(self) -> Optional['GetClusterClusterInfoTerminationReasonArgs']: - return pulumi.get(self, "termination_reason") + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") - @termination_reason.setter - def termination_reason(self, value: Optional['GetClusterClusterInfoTerminationReasonArgs']): - pulumi.set(self, "termination_reason", value) + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[bool]): + pulumi.set(self, "use_ml_runtime", value) @property @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['GetClusterClusterInfoWorkloadTypeArgs']: + def workload_type(self) -> Optional['GetClusterClusterInfoSpecWorkloadTypeArgs']: return pulumi.get(self, "workload_type") @workload_type.setter - def workload_type(self, value: Optional['GetClusterClusterInfoWorkloadTypeArgs']): + def workload_type(self, value: Optional['GetClusterClusterInfoSpecWorkloadTypeArgs']): pulumi.set(self, "workload_type", value) if not MYPY: - class GetClusterClusterInfoAutoscaleArgsDict(TypedDict): + class GetClusterClusterInfoSpecAutoscaleArgsDict(TypedDict): max_workers: NotRequired[int] min_workers: NotRequired[int] elif False: - GetClusterClusterInfoAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoAutoscaleArgs: +class GetClusterClusterInfoSpecAutoscaleArgs: def __init__(__self__, *, max_workers: Optional[int] = None, min_workers: Optional[int] = None): @@ -35034,7 +38419,7 @@ def min_workers(self, value: Optional[int]): if not MYPY: - class GetClusterClusterInfoAwsAttributesArgsDict(TypedDict): + class GetClusterClusterInfoSpecAwsAttributesArgsDict(TypedDict): availability: NotRequired[str] ebs_volume_count: NotRequired[int] ebs_volume_iops: NotRequired[int] @@ -35046,10 +38431,10 @@ class GetClusterClusterInfoAwsAttributesArgsDict(TypedDict): spot_bid_price_percent: NotRequired[int] zone_id: NotRequired[str] elif False: - GetClusterClusterInfoAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoAwsAttributesArgs: +class GetClusterClusterInfoSpecAwsAttributesArgs: def __init__(__self__, *, availability: Optional[str] = None, ebs_volume_count: Optional[int] = None, @@ -35174,20 +38559,20 @@ def zone_id(self, value: Optional[str]): if not MYPY: - class GetClusterClusterInfoAzureAttributesArgsDict(TypedDict): + class GetClusterClusterInfoSpecAzureAttributesArgsDict(TypedDict): availability: NotRequired[str] first_on_demand: NotRequired[int] - log_analytics_info: NotRequired['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgsDict'] + log_analytics_info: NotRequired['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgsDict'] spot_bid_max_price: NotRequired[float] elif False: - GetClusterClusterInfoAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoAzureAttributesArgs: +class GetClusterClusterInfoSpecAzureAttributesArgs: def __init__(__self__, *, availability: Optional[str] = None, first_on_demand: Optional[int] = None, - log_analytics_info: Optional['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs'] = None, + log_analytics_info: Optional['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs'] = None, spot_bid_max_price: Optional[float] = None): if availability is not None: pulumi.set(__self__, "availability", availability) @@ -35218,11 +38603,11 @@ def first_on_demand(self, value: Optional[int]): @property @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs']: + def log_analytics_info(self) -> Optional['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs']: return pulumi.get(self, "log_analytics_info") @log_analytics_info.setter - def log_analytics_info(self, value: Optional['GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs']): + def log_analytics_info(self, value: Optional['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs']): pulumi.set(self, "log_analytics_info", value) @property @@ -35236,14 +38621,14 @@ def spot_bid_max_price(self, value: Optional[float]): if not MYPY: - class GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): + class GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): log_analytics_primary_key: NotRequired[str] log_analytics_workspace_id: NotRequired[str] elif False: - GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs: +class GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs: def __init__(__self__, *, log_analytics_primary_key: Optional[str] = None, log_analytics_workspace_id: Optional[str] = None): @@ -35272,17 +38657,17 @@ def log_analytics_workspace_id(self, value: Optional[str]): if not MYPY: - class GetClusterClusterInfoClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired['GetClusterClusterInfoClusterLogConfDbfsArgsDict'] - s3: NotRequired['GetClusterClusterInfoClusterLogConfS3ArgsDict'] + class GetClusterClusterInfoSpecClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired['GetClusterClusterInfoSpecClusterLogConfDbfsArgsDict'] + s3: NotRequired['GetClusterClusterInfoSpecClusterLogConfS3ArgsDict'] elif False: - GetClusterClusterInfoClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoClusterLogConfArgs: +class GetClusterClusterInfoSpecClusterLogConfArgs: def __init__(__self__, *, - dbfs: Optional['GetClusterClusterInfoClusterLogConfDbfsArgs'] = None, - s3: Optional['GetClusterClusterInfoClusterLogConfS3Args'] = None): + dbfs: Optional['GetClusterClusterInfoSpecClusterLogConfDbfsArgs'] = None, + s3: Optional['GetClusterClusterInfoSpecClusterLogConfS3Args'] = None): if dbfs is not None: pulumi.set(__self__, "dbfs", dbfs) if s3 is not None: @@ -35290,31 +38675,31 @@ def __init__(__self__, *, @property @pulumi.getter - def dbfs(self) -> Optional['GetClusterClusterInfoClusterLogConfDbfsArgs']: + def dbfs(self) -> Optional['GetClusterClusterInfoSpecClusterLogConfDbfsArgs']: return pulumi.get(self, "dbfs") @dbfs.setter - def dbfs(self, value: Optional['GetClusterClusterInfoClusterLogConfDbfsArgs']): + def dbfs(self, value: Optional['GetClusterClusterInfoSpecClusterLogConfDbfsArgs']): pulumi.set(self, "dbfs", value) @property @pulumi.getter - def s3(self) -> Optional['GetClusterClusterInfoClusterLogConfS3Args']: + def s3(self) -> Optional['GetClusterClusterInfoSpecClusterLogConfS3Args']: return pulumi.get(self, "s3") @s3.setter - def s3(self, value: Optional['GetClusterClusterInfoClusterLogConfS3Args']): + def s3(self, value: Optional['GetClusterClusterInfoSpecClusterLogConfS3Args']): pulumi.set(self, "s3", value) if not MYPY: - class GetClusterClusterInfoClusterLogConfDbfsArgsDict(TypedDict): + class GetClusterClusterInfoSpecClusterLogConfDbfsArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoClusterLogConfDbfsArgs: +class GetClusterClusterInfoSpecClusterLogConfDbfsArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -35330,7 +38715,7 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoClusterLogConfS3ArgsDict(TypedDict): + class GetClusterClusterInfoSpecClusterLogConfS3ArgsDict(TypedDict): destination: str canned_acl: NotRequired[str] enable_encryption: NotRequired[bool] @@ -35339,10 +38724,10 @@ class GetClusterClusterInfoClusterLogConfS3ArgsDict(TypedDict): kms_key: NotRequired[str] region: NotRequired[str] elif False: - GetClusterClusterInfoClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoClusterLogConfS3Args: +class GetClusterClusterInfoSpecClusterLogConfS3Args: def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -35430,363 +38815,158 @@ def region(self, value: Optional[str]): if not MYPY: - class GetClusterClusterInfoClusterLogStatusArgsDict(TypedDict): - last_attempted: NotRequired[int] - last_exception: NotRequired[str] + class GetClusterClusterInfoSpecClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: str + network_filesystem_info: 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgsDict' + remote_mount_dir_path: NotRequired[str] elif False: - GetClusterClusterInfoClusterLogStatusArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoClusterLogStatusArgs: +class GetClusterClusterInfoSpecClusterMountInfoArgs: def __init__(__self__, *, - last_attempted: Optional[int] = None, - last_exception: Optional[str] = None): - if last_attempted is not None: - pulumi.set(__self__, "last_attempted", last_attempted) - if last_exception is not None: - pulumi.set(__self__, "last_exception", last_exception) - - @property - @pulumi.getter(name="lastAttempted") - def last_attempted(self) -> Optional[int]: - return pulumi.get(self, "last_attempted") - - @last_attempted.setter - def last_attempted(self, value: Optional[int]): - pulumi.set(self, "last_attempted", value) + local_mount_dir_path: str, + network_filesystem_info: 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="lastException") - def last_exception(self) -> Optional[str]: - return pulumi.get(self, "last_exception") - - @last_exception.setter - def last_exception(self, value: Optional[str]): - pulumi.set(self, "last_exception", value) - - -if not MYPY: - class GetClusterClusterInfoDockerImageArgsDict(TypedDict): - basic_auth: NotRequired['GetClusterClusterInfoDockerImageBasicAuthArgsDict'] - url: NotRequired[str] -elif False: - GetClusterClusterInfoDockerImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") -@pulumi.input_type -class GetClusterClusterInfoDockerImageArgs: - def __init__(__self__, *, - basic_auth: Optional['GetClusterClusterInfoDockerImageBasicAuthArgs'] = None, - url: Optional[str] = None): - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) - if url is not None: - pulumi.set(__self__, "url", url) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: str): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetClusterClusterInfoDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs': + return pulumi.get(self, "network_filesystem_info") - @basic_auth.setter - def basic_auth(self, value: Optional['GetClusterClusterInfoDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs'): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter - def url(self) -> Optional[str]: - return pulumi.get(self, "url") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") - @url.setter - def url(self, value: Optional[str]): - pulumi.set(self, "url", value) + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[str]): + pulumi.set(self, "remote_mount_dir_path", value) if not MYPY: - class GetClusterClusterInfoDockerImageBasicAuthArgsDict(TypedDict): - password: NotRequired[str] - username: NotRequired[str] + class GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: str + mount_options: NotRequired[str] elif False: - GetClusterClusterInfoDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoDockerImageBasicAuthArgs: +class GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs: def __init__(__self__, *, - password: Optional[str] = None, - username: Optional[str] = None): - if password is not None: - pulumi.set(__self__, "password", password) - if username is not None: - pulumi.set(__self__, "username", username) + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter - def password(self) -> Optional[str]: - return pulumi.get(self, "password") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") - @password.setter - def password(self, value: Optional[str]): - pulumi.set(self, "password", value) + @server_address.setter + def server_address(self, value: str): + pulumi.set(self, "server_address", value) @property - @pulumi.getter - def username(self) -> Optional[str]: - return pulumi.get(self, "username") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") - @username.setter - def username(self, value: Optional[str]): - pulumi.set(self, "username", value) + @mount_options.setter + def mount_options(self, value: Optional[str]): + pulumi.set(self, "mount_options", value) if not MYPY: - class GetClusterClusterInfoDriverArgsDict(TypedDict): - host_private_ip: NotRequired[str] - instance_id: NotRequired[str] - node_aws_attributes: NotRequired['GetClusterClusterInfoDriverNodeAwsAttributesArgsDict'] - node_id: NotRequired[str] - private_ip: NotRequired[str] - public_dns: NotRequired[str] - start_timestamp: NotRequired[int] + class GetClusterClusterInfoSpecDockerImageArgsDict(TypedDict): + url: str + basic_auth: NotRequired['GetClusterClusterInfoSpecDockerImageBasicAuthArgsDict'] elif False: - GetClusterClusterInfoDriverArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoDriverArgs: +class GetClusterClusterInfoSpecDockerImageArgs: def __init__(__self__, *, - host_private_ip: Optional[str] = None, - instance_id: Optional[str] = None, - node_aws_attributes: Optional['GetClusterClusterInfoDriverNodeAwsAttributesArgs'] = None, - node_id: Optional[str] = None, - private_ip: Optional[str] = None, - public_dns: Optional[str] = None, - start_timestamp: Optional[int] = None): - if host_private_ip is not None: - pulumi.set(__self__, "host_private_ip", host_private_ip) - if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) - if node_aws_attributes is not None: - pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) - if node_id is not None: - pulumi.set(__self__, "node_id", node_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_dns is not None: - pulumi.set(__self__, "public_dns", public_dns) - if start_timestamp is not None: - pulumi.set(__self__, "start_timestamp", start_timestamp) - - @property - @pulumi.getter(name="hostPrivateIp") - def host_private_ip(self) -> Optional[str]: - return pulumi.get(self, "host_private_ip") - - @host_private_ip.setter - def host_private_ip(self, value: Optional[str]): - pulumi.set(self, "host_private_ip", value) - - @property - @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[str]: - return pulumi.get(self, "instance_id") - - @instance_id.setter - def instance_id(self, value: Optional[str]): - pulumi.set(self, "instance_id", value) - - @property - @pulumi.getter(name="nodeAwsAttributes") - def node_aws_attributes(self) -> Optional['GetClusterClusterInfoDriverNodeAwsAttributesArgs']: - return pulumi.get(self, "node_aws_attributes") - - @node_aws_attributes.setter - def node_aws_attributes(self, value: Optional['GetClusterClusterInfoDriverNodeAwsAttributesArgs']): - pulumi.set(self, "node_aws_attributes", value) - - @property - @pulumi.getter(name="nodeId") - def node_id(self) -> Optional[str]: - return pulumi.get(self, "node_id") - - @node_id.setter - def node_id(self, value: Optional[str]): - pulumi.set(self, "node_id", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[str]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="publicDns") - def public_dns(self) -> Optional[str]: - return pulumi.get(self, "public_dns") - - @public_dns.setter - def public_dns(self, value: Optional[str]): - pulumi.set(self, "public_dns", value) + url: str, + basic_auth: Optional['GetClusterClusterInfoSpecDockerImageBasicAuthArgs'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property - @pulumi.getter(name="startTimestamp") - def start_timestamp(self) -> Optional[int]: - return pulumi.get(self, "start_timestamp") - - @start_timestamp.setter - def start_timestamp(self, value: Optional[int]): - pulumi.set(self, "start_timestamp", value) - - -if not MYPY: - class GetClusterClusterInfoDriverNodeAwsAttributesArgsDict(TypedDict): - is_spot: NotRequired[bool] -elif False: - GetClusterClusterInfoDriverNodeAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") -@pulumi.input_type -class GetClusterClusterInfoDriverNodeAwsAttributesArgs: - def __init__(__self__, *, - is_spot: Optional[bool] = None): - if is_spot is not None: - pulumi.set(__self__, "is_spot", is_spot) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="isSpot") - def is_spot(self) -> Optional[bool]: - return pulumi.get(self, "is_spot") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetClusterClusterInfoSpecDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") - @is_spot.setter - def is_spot(self, value: Optional[bool]): - pulumi.set(self, "is_spot", value) + @basic_auth.setter + def basic_auth(self, value: Optional['GetClusterClusterInfoSpecDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) if not MYPY: - class GetClusterClusterInfoExecutorArgsDict(TypedDict): - host_private_ip: NotRequired[str] - instance_id: NotRequired[str] - node_aws_attributes: NotRequired['GetClusterClusterInfoExecutorNodeAwsAttributesArgsDict'] - node_id: NotRequired[str] - private_ip: NotRequired[str] - public_dns: NotRequired[str] - start_timestamp: NotRequired[int] + class GetClusterClusterInfoSpecDockerImageBasicAuthArgsDict(TypedDict): + password: str + username: str elif False: - GetClusterClusterInfoExecutorArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoExecutorArgs: +class GetClusterClusterInfoSpecDockerImageBasicAuthArgs: def __init__(__self__, *, - host_private_ip: Optional[str] = None, - instance_id: Optional[str] = None, - node_aws_attributes: Optional['GetClusterClusterInfoExecutorNodeAwsAttributesArgs'] = None, - node_id: Optional[str] = None, - private_ip: Optional[str] = None, - public_dns: Optional[str] = None, - start_timestamp: Optional[int] = None): - if host_private_ip is not None: - pulumi.set(__self__, "host_private_ip", host_private_ip) - if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) - if node_aws_attributes is not None: - pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) - if node_id is not None: - pulumi.set(__self__, "node_id", node_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_dns is not None: - pulumi.set(__self__, "public_dns", public_dns) - if start_timestamp is not None: - pulumi.set(__self__, "start_timestamp", start_timestamp) - - @property - @pulumi.getter(name="hostPrivateIp") - def host_private_ip(self) -> Optional[str]: - return pulumi.get(self, "host_private_ip") - - @host_private_ip.setter - def host_private_ip(self, value: Optional[str]): - pulumi.set(self, "host_private_ip", value) - - @property - @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[str]: - return pulumi.get(self, "instance_id") - - @instance_id.setter - def instance_id(self, value: Optional[str]): - pulumi.set(self, "instance_id", value) - - @property - @pulumi.getter(name="nodeAwsAttributes") - def node_aws_attributes(self) -> Optional['GetClusterClusterInfoExecutorNodeAwsAttributesArgs']: - return pulumi.get(self, "node_aws_attributes") - - @node_aws_attributes.setter - def node_aws_attributes(self, value: Optional['GetClusterClusterInfoExecutorNodeAwsAttributesArgs']): - pulumi.set(self, "node_aws_attributes", value) - - @property - @pulumi.getter(name="nodeId") - def node_id(self) -> Optional[str]: - return pulumi.get(self, "node_id") - - @node_id.setter - def node_id(self, value: Optional[str]): - pulumi.set(self, "node_id", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[str]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="publicDns") - def public_dns(self) -> Optional[str]: - return pulumi.get(self, "public_dns") - - @public_dns.setter - def public_dns(self, value: Optional[str]): - pulumi.set(self, "public_dns", value) + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="startTimestamp") - def start_timestamp(self) -> Optional[int]: - return pulumi.get(self, "start_timestamp") - - @start_timestamp.setter - def start_timestamp(self, value: Optional[int]): - pulumi.set(self, "start_timestamp", value) - - -if not MYPY: - class GetClusterClusterInfoExecutorNodeAwsAttributesArgsDict(TypedDict): - is_spot: NotRequired[bool] -elif False: - GetClusterClusterInfoExecutorNodeAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter + def password(self) -> str: + return pulumi.get(self, "password") -@pulumi.input_type -class GetClusterClusterInfoExecutorNodeAwsAttributesArgs: - def __init__(__self__, *, - is_spot: Optional[bool] = None): - if is_spot is not None: - pulumi.set(__self__, "is_spot", is_spot) + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="isSpot") - def is_spot(self) -> Optional[bool]: - return pulumi.get(self, "is_spot") + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") - @is_spot.setter - def is_spot(self, value: Optional[bool]): - pulumi.set(self, "is_spot", value) + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) if not MYPY: - class GetClusterClusterInfoGcpAttributesArgsDict(TypedDict): + class GetClusterClusterInfoSpecGcpAttributesArgsDict(TypedDict): availability: NotRequired[str] boot_disk_size: NotRequired[int] google_service_account: NotRequired[str] @@ -35794,10 +38974,10 @@ class GetClusterClusterInfoGcpAttributesArgsDict(TypedDict): use_preemptible_executors: NotRequired[bool] zone_id: NotRequired[str] elif False: - GetClusterClusterInfoGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoGcpAttributesArgs: +class GetClusterClusterInfoSpecGcpAttributesArgs: def __init__(__self__, *, availability: Optional[str] = None, boot_disk_size: Optional[int] = None, @@ -35874,29 +39054,32 @@ def zone_id(self, value: Optional[str]): if not MYPY: - class GetClusterClusterInfoInitScriptArgsDict(TypedDict): - abfss: NotRequired['GetClusterClusterInfoInitScriptAbfssArgsDict'] - dbfs: NotRequired['GetClusterClusterInfoInitScriptDbfsArgsDict'] - file: NotRequired['GetClusterClusterInfoInitScriptFileArgsDict'] - gcs: NotRequired['GetClusterClusterInfoInitScriptGcsArgsDict'] - s3: NotRequired['GetClusterClusterInfoInitScriptS3ArgsDict'] - volumes: NotRequired['GetClusterClusterInfoInitScriptVolumesArgsDict'] - workspace: NotRequired['GetClusterClusterInfoInitScriptWorkspaceArgsDict'] + class GetClusterClusterInfoSpecInitScriptArgsDict(TypedDict): + abfss: NotRequired['GetClusterClusterInfoSpecInitScriptAbfssArgsDict'] + dbfs: NotRequired['GetClusterClusterInfoSpecInitScriptDbfsArgsDict'] + file: NotRequired['GetClusterClusterInfoSpecInitScriptFileArgsDict'] + gcs: NotRequired['GetClusterClusterInfoSpecInitScriptGcsArgsDict'] + s3: NotRequired['GetClusterClusterInfoSpecInitScriptS3ArgsDict'] + volumes: NotRequired['GetClusterClusterInfoSpecInitScriptVolumesArgsDict'] + workspace: NotRequired['GetClusterClusterInfoSpecInitScriptWorkspaceArgsDict'] elif False: - GetClusterClusterInfoInitScriptArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptArgs: +class GetClusterClusterInfoSpecInitScriptArgs: def __init__(__self__, *, - abfss: Optional['GetClusterClusterInfoInitScriptAbfssArgs'] = None, - dbfs: Optional['GetClusterClusterInfoInitScriptDbfsArgs'] = None, - file: Optional['GetClusterClusterInfoInitScriptFileArgs'] = None, - gcs: Optional['GetClusterClusterInfoInitScriptGcsArgs'] = None, - s3: Optional['GetClusterClusterInfoInitScriptS3Args'] = None, - volumes: Optional['GetClusterClusterInfoInitScriptVolumesArgs'] = None, - workspace: Optional['GetClusterClusterInfoInitScriptWorkspaceArgs'] = None): + abfss: Optional['GetClusterClusterInfoSpecInitScriptAbfssArgs'] = None, + dbfs: Optional['GetClusterClusterInfoSpecInitScriptDbfsArgs'] = None, + file: Optional['GetClusterClusterInfoSpecInitScriptFileArgs'] = None, + gcs: Optional['GetClusterClusterInfoSpecInitScriptGcsArgs'] = None, + s3: Optional['GetClusterClusterInfoSpecInitScriptS3Args'] = None, + volumes: Optional['GetClusterClusterInfoSpecInitScriptVolumesArgs'] = None, + workspace: Optional['GetClusterClusterInfoSpecInitScriptWorkspaceArgs'] = None): if abfss is not None: pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) + pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") if dbfs is not None: pulumi.set(__self__, "dbfs", dbfs) if file is not None: @@ -35912,76 +39095,77 @@ def __init__(__self__, *, @property @pulumi.getter - def abfss(self) -> Optional['GetClusterClusterInfoInitScriptAbfssArgs']: + def abfss(self) -> Optional['GetClusterClusterInfoSpecInitScriptAbfssArgs']: return pulumi.get(self, "abfss") @abfss.setter - def abfss(self, value: Optional['GetClusterClusterInfoInitScriptAbfssArgs']): + def abfss(self, value: Optional['GetClusterClusterInfoSpecInitScriptAbfssArgs']): pulumi.set(self, "abfss", value) @property @pulumi.getter - def dbfs(self) -> Optional['GetClusterClusterInfoInitScriptDbfsArgs']: + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional['GetClusterClusterInfoSpecInitScriptDbfsArgs']: return pulumi.get(self, "dbfs") @dbfs.setter - def dbfs(self, value: Optional['GetClusterClusterInfoInitScriptDbfsArgs']): + def dbfs(self, value: Optional['GetClusterClusterInfoSpecInitScriptDbfsArgs']): pulumi.set(self, "dbfs", value) @property @pulumi.getter - def file(self) -> Optional['GetClusterClusterInfoInitScriptFileArgs']: + def file(self) -> Optional['GetClusterClusterInfoSpecInitScriptFileArgs']: return pulumi.get(self, "file") @file.setter - def file(self, value: Optional['GetClusterClusterInfoInitScriptFileArgs']): + def file(self, value: Optional['GetClusterClusterInfoSpecInitScriptFileArgs']): pulumi.set(self, "file", value) @property @pulumi.getter - def gcs(self) -> Optional['GetClusterClusterInfoInitScriptGcsArgs']: + def gcs(self) -> Optional['GetClusterClusterInfoSpecInitScriptGcsArgs']: return pulumi.get(self, "gcs") @gcs.setter - def gcs(self, value: Optional['GetClusterClusterInfoInitScriptGcsArgs']): + def gcs(self, value: Optional['GetClusterClusterInfoSpecInitScriptGcsArgs']): pulumi.set(self, "gcs", value) @property @pulumi.getter - def s3(self) -> Optional['GetClusterClusterInfoInitScriptS3Args']: + def s3(self) -> Optional['GetClusterClusterInfoSpecInitScriptS3Args']: return pulumi.get(self, "s3") @s3.setter - def s3(self, value: Optional['GetClusterClusterInfoInitScriptS3Args']): + def s3(self, value: Optional['GetClusterClusterInfoSpecInitScriptS3Args']): pulumi.set(self, "s3", value) @property @pulumi.getter - def volumes(self) -> Optional['GetClusterClusterInfoInitScriptVolumesArgs']: + def volumes(self) -> Optional['GetClusterClusterInfoSpecInitScriptVolumesArgs']: return pulumi.get(self, "volumes") @volumes.setter - def volumes(self, value: Optional['GetClusterClusterInfoInitScriptVolumesArgs']): + def volumes(self, value: Optional['GetClusterClusterInfoSpecInitScriptVolumesArgs']): pulumi.set(self, "volumes", value) @property @pulumi.getter - def workspace(self) -> Optional['GetClusterClusterInfoInitScriptWorkspaceArgs']: + def workspace(self) -> Optional['GetClusterClusterInfoSpecInitScriptWorkspaceArgs']: return pulumi.get(self, "workspace") @workspace.setter - def workspace(self, value: Optional['GetClusterClusterInfoInitScriptWorkspaceArgs']): + def workspace(self, value: Optional['GetClusterClusterInfoSpecInitScriptWorkspaceArgs']): pulumi.set(self, "workspace", value) if not MYPY: - class GetClusterClusterInfoInitScriptAbfssArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptAbfssArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptAbfssArgs: +class GetClusterClusterInfoSpecInitScriptAbfssArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -35997,13 +39181,13 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoInitScriptDbfsArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptDbfsArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptDbfsArgs: +class GetClusterClusterInfoSpecInitScriptDbfsArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -36019,13 +39203,13 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoInitScriptFileArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptFileArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptFileArgs: +class GetClusterClusterInfoSpecInitScriptFileArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -36041,13 +39225,13 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoInitScriptGcsArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptGcsArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptGcsArgs: +class GetClusterClusterInfoSpecInitScriptGcsArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -36063,7 +39247,7 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoInitScriptS3ArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptS3ArgsDict(TypedDict): destination: str canned_acl: NotRequired[str] enable_encryption: NotRequired[bool] @@ -36072,10 +39256,10 @@ class GetClusterClusterInfoInitScriptS3ArgsDict(TypedDict): kms_key: NotRequired[str] region: NotRequired[str] elif False: - GetClusterClusterInfoInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptS3Args: +class GetClusterClusterInfoSpecInitScriptS3Args: def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -36163,13 +39347,13 @@ def region(self, value: Optional[str]): if not MYPY: - class GetClusterClusterInfoInitScriptVolumesArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptVolumesArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptVolumesArgs: +class GetClusterClusterInfoSpecInitScriptVolumesArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -36185,13 +39369,13 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoInitScriptWorkspaceArgsDict(TypedDict): + class GetClusterClusterInfoSpecInitScriptWorkspaceArgsDict(TypedDict): destination: str elif False: - GetClusterClusterInfoInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoInitScriptWorkspaceArgs: +class GetClusterClusterInfoSpecInitScriptWorkspaceArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -36207,5993 +39391,6063 @@ def destination(self, value: str): if not MYPY: - class GetClusterClusterInfoSpecArgsDict(TypedDict): - cluster_id: str - """ - The id of the cluster - """ - driver_instance_pool_id: str - """ - similar to `instance_pool_id`, but for driver node. - """ - driver_node_type_id: str - """ - The node type of the Spark driver. - """ - enable_elastic_disk: bool - """ - Use autoscaling local storage. - """ - enable_local_disk_encryption: bool - """ - Enable local disk encryption. - """ - node_type_id: str - """ - Any supported get_node_type id. - """ - spark_version: str - """ - [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - """ - apply_policy_default_values: NotRequired[bool] - autoscale: NotRequired['GetClusterClusterInfoSpecAutoscaleArgsDict'] - aws_attributes: NotRequired['GetClusterClusterInfoSpecAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetClusterClusterInfoSpecAzureAttributesArgsDict'] - cluster_log_conf: NotRequired['GetClusterClusterInfoSpecClusterLogConfArgsDict'] - cluster_mount_infos: NotRequired[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgsDict']] - cluster_name: NotRequired[str] - """ - The exact name of the cluster to search - """ - custom_tags: NotRequired[Mapping[str, str]] - """ - Additional tags for cluster resources. - """ - data_security_mode: NotRequired[str] - """ - Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - """ - docker_image: NotRequired['GetClusterClusterInfoSpecDockerImageArgsDict'] - gcp_attributes: NotRequired['GetClusterClusterInfoSpecGcpAttributesArgsDict'] - idempotency_token: NotRequired[str] - """ - An optional token to guarantee the idempotency of cluster creation requests. - """ - init_scripts: NotRequired[Sequence['GetClusterClusterInfoSpecInitScriptArgsDict']] - instance_pool_id: NotRequired[str] - """ - The pool of idle instances the cluster is attached to. - """ - libraries: NotRequired[Sequence['GetClusterClusterInfoSpecLibraryArgsDict']] - num_workers: NotRequired[int] - policy_id: NotRequired[str] - """ - Identifier of Cluster Policy to validate cluster and preset certain defaults. - """ - runtime_engine: NotRequired[str] - """ - The type of runtime of the cluster - """ - single_user_name: NotRequired[str] - """ - The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - """ - spark_conf: NotRequired[Mapping[str, str]] - """ - Map with key-value pairs to fine-tune Spark clusters. - """ - spark_env_vars: NotRequired[Mapping[str, str]] - """ - Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - """ - ssh_public_keys: NotRequired[Sequence[str]] - """ - SSH public key contents that will be added to each Spark node in this cluster. - """ - workload_type: NotRequired['GetClusterClusterInfoSpecWorkloadTypeArgsDict'] + class GetClusterClusterInfoSpecLibraryArgsDict(TypedDict): + cran: NotRequired['GetClusterClusterInfoSpecLibraryCranArgsDict'] + egg: NotRequired[str] + jar: NotRequired[str] + maven: NotRequired['GetClusterClusterInfoSpecLibraryMavenArgsDict'] + pypi: NotRequired['GetClusterClusterInfoSpecLibraryPypiArgsDict'] + requirements: NotRequired[str] + whl: NotRequired[str] elif False: - GetClusterClusterInfoSpecArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecArgs: +class GetClusterClusterInfoSpecLibraryArgs: def __init__(__self__, *, - cluster_id: str, - driver_instance_pool_id: str, - driver_node_type_id: str, - enable_elastic_disk: bool, - enable_local_disk_encryption: bool, - node_type_id: str, - spark_version: str, - apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['GetClusterClusterInfoSpecAutoscaleArgs'] = None, - aws_attributes: Optional['GetClusterClusterInfoSpecAwsAttributesArgs'] = None, - azure_attributes: Optional['GetClusterClusterInfoSpecAzureAttributesArgs'] = None, - cluster_log_conf: Optional['GetClusterClusterInfoSpecClusterLogConfArgs'] = None, - cluster_mount_infos: Optional[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgs']] = None, - cluster_name: Optional[str] = None, - custom_tags: Optional[Mapping[str, str]] = None, - data_security_mode: Optional[str] = None, - docker_image: Optional['GetClusterClusterInfoSpecDockerImageArgs'] = None, - gcp_attributes: Optional['GetClusterClusterInfoSpecGcpAttributesArgs'] = None, - idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['GetClusterClusterInfoSpecInitScriptArgs']] = None, - instance_pool_id: Optional[str] = None, - libraries: Optional[Sequence['GetClusterClusterInfoSpecLibraryArgs']] = None, - num_workers: Optional[int] = None, - policy_id: Optional[str] = None, - runtime_engine: Optional[str] = None, - single_user_name: Optional[str] = None, - spark_conf: Optional[Mapping[str, str]] = None, - spark_env_vars: Optional[Mapping[str, str]] = None, - ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['GetClusterClusterInfoSpecWorkloadTypeArgs'] = None): - """ - :param str cluster_id: The id of the cluster - :param str driver_instance_pool_id: similar to `instance_pool_id`, but for driver node. - :param str driver_node_type_id: The node type of the Spark driver. - :param bool enable_elastic_disk: Use autoscaling local storage. - :param bool enable_local_disk_encryption: Enable local disk encryption. - :param str node_type_id: Any supported get_node_type id. - :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - :param str cluster_name: The exact name of the cluster to search - :param Mapping[str, str] custom_tags: Additional tags for cluster resources. - :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - :param str idempotency_token: An optional token to guarantee the idempotency of cluster creation requests. - :param str instance_pool_id: The pool of idle instances the cluster is attached to. - :param str policy_id: Identifier of Cluster Policy to validate cluster and preset certain defaults. - :param str runtime_engine: The type of runtime of the cluster - :param str single_user_name: The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - :param Mapping[str, str] spark_conf: Map with key-value pairs to fine-tune Spark clusters. - :param Mapping[str, str] spark_env_vars: Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - :param Sequence[str] ssh_public_keys: SSH public key contents that will be added to each Spark node in this cluster. - """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - pulumi.set(__self__, "node_type_id", node_type_id) - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) - - @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: - """ - The id of the cluster - """ - return pulumi.get(self, "cluster_id") - - @cluster_id.setter - def cluster_id(self, value: str): - pulumi.set(self, "cluster_id", value) - - @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> str: - """ - similar to `instance_pool_id`, but for driver node. - """ - return pulumi.get(self, "driver_instance_pool_id") - - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: str): - pulumi.set(self, "driver_instance_pool_id", value) - - @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> str: - """ - The node type of the Spark driver. - """ - return pulumi.get(self, "driver_node_type_id") - - @driver_node_type_id.setter - def driver_node_type_id(self, value: str): - pulumi.set(self, "driver_node_type_id", value) - - @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> bool: - """ - Use autoscaling local storage. - """ - return pulumi.get(self, "enable_elastic_disk") - - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: bool): - pulumi.set(self, "enable_elastic_disk", value) - - @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> bool: - """ - Enable local disk encryption. - """ - return pulumi.get(self, "enable_local_disk_encryption") - - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: bool): - pulumi.set(self, "enable_local_disk_encryption", value) - - @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> str: - """ - Any supported get_node_type id. - """ - return pulumi.get(self, "node_type_id") - - @node_type_id.setter - def node_type_id(self, value: str): - pulumi.set(self, "node_type_id", value) - - @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> str: - """ - [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - """ - return pulumi.get(self, "spark_version") - - @spark_version.setter - def spark_version(self, value: str): - pulumi.set(self, "spark_version", value) - - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[bool]: - return pulumi.get(self, "apply_policy_default_values") - - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[bool]): - pulumi.set(self, "apply_policy_default_values", value) - - @property - @pulumi.getter - def autoscale(self) -> Optional['GetClusterClusterInfoSpecAutoscaleArgs']: - return pulumi.get(self, "autoscale") - - @autoscale.setter - def autoscale(self, value: Optional['GetClusterClusterInfoSpecAutoscaleArgs']): - pulumi.set(self, "autoscale", value) - - @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetClusterClusterInfoSpecAwsAttributesArgs']: - return pulumi.get(self, "aws_attributes") - - @aws_attributes.setter - def aws_attributes(self, value: Optional['GetClusterClusterInfoSpecAwsAttributesArgs']): - pulumi.set(self, "aws_attributes", value) - - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetClusterClusterInfoSpecAzureAttributesArgs']: - return pulumi.get(self, "azure_attributes") - - @azure_attributes.setter - def azure_attributes(self, value: Optional['GetClusterClusterInfoSpecAzureAttributesArgs']): - pulumi.set(self, "azure_attributes", value) - - @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['GetClusterClusterInfoSpecClusterLogConfArgs']: - return pulumi.get(self, "cluster_log_conf") - - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional['GetClusterClusterInfoSpecClusterLogConfArgs']): - pulumi.set(self, "cluster_log_conf", value) - - @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgs']]: - return pulumi.get(self, "cluster_mount_infos") - - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[Sequence['GetClusterClusterInfoSpecClusterMountInfoArgs']]): - pulumi.set(self, "cluster_mount_infos", value) - - @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: - """ - The exact name of the cluster to search - """ - return pulumi.get(self, "cluster_name") - - @cluster_name.setter - def cluster_name(self, value: Optional[str]): - pulumi.set(self, "cluster_name", value) - - @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - """ - Additional tags for cluster resources. - """ - return pulumi.get(self, "custom_tags") - - @custom_tags.setter - def custom_tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "custom_tags", value) - - @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: - """ - Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - """ - return pulumi.get(self, "data_security_mode") - - @data_security_mode.setter - def data_security_mode(self, value: Optional[str]): - pulumi.set(self, "data_security_mode", value) - - @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['GetClusterClusterInfoSpecDockerImageArgs']: - return pulumi.get(self, "docker_image") - - @docker_image.setter - def docker_image(self, value: Optional['GetClusterClusterInfoSpecDockerImageArgs']): - pulumi.set(self, "docker_image", value) - - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetClusterClusterInfoSpecGcpAttributesArgs']: - return pulumi.get(self, "gcp_attributes") - - @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetClusterClusterInfoSpecGcpAttributesArgs']): - pulumi.set(self, "gcp_attributes", value) - - @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: - """ - An optional token to guarantee the idempotency of cluster creation requests. - """ - return pulumi.get(self, "idempotency_token") - - @idempotency_token.setter - def idempotency_token(self, value: Optional[str]): - pulumi.set(self, "idempotency_token", value) - - @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['GetClusterClusterInfoSpecInitScriptArgs']]: - return pulumi.get(self, "init_scripts") - - @init_scripts.setter - def init_scripts(self, value: Optional[Sequence['GetClusterClusterInfoSpecInitScriptArgs']]): - pulumi.set(self, "init_scripts", value) - - @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: - """ - The pool of idle instances the cluster is attached to. - """ - return pulumi.get(self, "instance_pool_id") - - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[str]): - pulumi.set(self, "instance_pool_id", value) + cran: Optional['GetClusterClusterInfoSpecLibraryCranArgs'] = None, + egg: Optional[str] = None, + jar: Optional[str] = None, + maven: Optional['GetClusterClusterInfoSpecLibraryMavenArgs'] = None, + pypi: Optional['GetClusterClusterInfoSpecLibraryPypiArgs'] = None, + requirements: Optional[str] = None, + whl: Optional[str] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def libraries(self) -> Optional[Sequence['GetClusterClusterInfoSpecLibraryArgs']]: - return pulumi.get(self, "libraries") - - @libraries.setter - def libraries(self, value: Optional[Sequence['GetClusterClusterInfoSpecLibraryArgs']]): - pulumi.set(self, "libraries", value) - - @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[int]: - return pulumi.get(self, "num_workers") - - @num_workers.setter - def num_workers(self, value: Optional[int]): - pulumi.set(self, "num_workers", value) - - @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: - """ - Identifier of Cluster Policy to validate cluster and preset certain defaults. - """ - return pulumi.get(self, "policy_id") + def cran(self) -> Optional['GetClusterClusterInfoSpecLibraryCranArgs']: + return pulumi.get(self, "cran") - @policy_id.setter - def policy_id(self, value: Optional[str]): - pulumi.set(self, "policy_id", value) + @cran.setter + def cran(self, value: Optional['GetClusterClusterInfoSpecLibraryCranArgs']): + pulumi.set(self, "cran", value) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: - """ - The type of runtime of the cluster - """ - return pulumi.get(self, "runtime_engine") + @pulumi.getter + def egg(self) -> Optional[str]: + return pulumi.get(self, "egg") - @runtime_engine.setter - def runtime_engine(self, value: Optional[str]): - pulumi.set(self, "runtime_engine", value) + @egg.setter + def egg(self, value: Optional[str]): + pulumi.set(self, "egg", value) @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: - """ - The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - """ - return pulumi.get(self, "single_user_name") + @pulumi.getter + def jar(self) -> Optional[str]: + return pulumi.get(self, "jar") - @single_user_name.setter - def single_user_name(self, value: Optional[str]): - pulumi.set(self, "single_user_name", value) + @jar.setter + def jar(self, value: Optional[str]): + pulumi.set(self, "jar", value) @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: - """ - Map with key-value pairs to fine-tune Spark clusters. - """ - return pulumi.get(self, "spark_conf") + @pulumi.getter + def maven(self) -> Optional['GetClusterClusterInfoSpecLibraryMavenArgs']: + return pulumi.get(self, "maven") - @spark_conf.setter - def spark_conf(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_conf", value) + @maven.setter + def maven(self, value: Optional['GetClusterClusterInfoSpecLibraryMavenArgs']): + pulumi.set(self, "maven", value) @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: - """ - Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - """ - return pulumi.get(self, "spark_env_vars") + @pulumi.getter + def pypi(self) -> Optional['GetClusterClusterInfoSpecLibraryPypiArgs']: + return pulumi.get(self, "pypi") - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_env_vars", value) + @pypi.setter + def pypi(self, value: Optional['GetClusterClusterInfoSpecLibraryPypiArgs']): + pulumi.set(self, "pypi", value) @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: - """ - SSH public key contents that will be added to each Spark node in this cluster. - """ - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter + def requirements(self) -> Optional[str]: + return pulumi.get(self, "requirements") - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[Sequence[str]]): - pulumi.set(self, "ssh_public_keys", value) + @requirements.setter + def requirements(self, value: Optional[str]): + pulumi.set(self, "requirements", value) @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['GetClusterClusterInfoSpecWorkloadTypeArgs']: - return pulumi.get(self, "workload_type") + @pulumi.getter + def whl(self) -> Optional[str]: + return pulumi.get(self, "whl") - @workload_type.setter - def workload_type(self, value: Optional['GetClusterClusterInfoSpecWorkloadTypeArgs']): - pulumi.set(self, "workload_type", value) + @whl.setter + def whl(self, value: Optional[str]): + pulumi.set(self, "whl", value) if not MYPY: - class GetClusterClusterInfoSpecAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[int] - min_workers: NotRequired[int] + class GetClusterClusterInfoSpecLibraryCranArgsDict(TypedDict): + package: str + repo: NotRequired[str] elif False: - GetClusterClusterInfoSpecAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecAutoscaleArgs: +class GetClusterClusterInfoSpecLibraryCranArgs: def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") + @pulumi.getter + def package(self) -> str: + return pulumi.get(self, "package") - @max_workers.setter - def max_workers(self, value: Optional[int]): - pulumi.set(self, "max_workers", value) + @package.setter + def package(self, value: str): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @min_workers.setter - def min_workers(self, value: Optional[int]): - pulumi.set(self, "min_workers", value) + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetClusterClusterInfoSpecAwsAttributesArgsDict(TypedDict): - availability: NotRequired[str] - ebs_volume_count: NotRequired[int] - ebs_volume_iops: NotRequired[int] - ebs_volume_size: NotRequired[int] - ebs_volume_throughput: NotRequired[int] - ebs_volume_type: NotRequired[str] - first_on_demand: NotRequired[int] - instance_profile_arn: NotRequired[str] - spot_bid_price_percent: NotRequired[int] - zone_id: NotRequired[str] + class GetClusterClusterInfoSpecLibraryMavenArgsDict(TypedDict): + coordinates: str + exclusions: NotRequired[Sequence[str]] + repo: NotRequired[str] elif False: - GetClusterClusterInfoSpecAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoSpecLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecAwsAttributesArgs: +class GetClusterClusterInfoSpecLibraryMavenArgs: def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_iops: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_throughput: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + coordinates: str, + exclusions: Optional[Sequence[str]] = None, + repo: Optional[str] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def coordinates(self) -> str: + return pulumi.get(self, "coordinates") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @coordinates.setter + def coordinates(self, value: str): + pulumi.set(self, "coordinates", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") + @pulumi.getter + def exclusions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "exclusions") - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_count", value) + @exclusions.setter + def exclusions(self, value: Optional[Sequence[str]]): + pulumi.set(self, "exclusions", value) @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_iops") + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @ebs_volume_iops.setter - def ebs_volume_iops(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_iops", value) + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_size", value) +if not MYPY: + class GetClusterClusterInfoSpecLibraryPypiArgsDict(TypedDict): + package: str + repo: NotRequired[str] +elif False: + GetClusterClusterInfoSpecLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoSpecLibraryPypiArgs: + def __init__(__self__, *, + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_throughput") + @pulumi.getter + def package(self) -> str: + return pulumi.get(self, "package") - @ebs_volume_throughput.setter - def ebs_volume_throughput(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_throughput", value) + @package.setter + def package(self, value: str): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[str]): - pulumi.set(self, "ebs_volume_type", value) + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) +if not MYPY: + class GetClusterClusterInfoSpecWorkloadTypeArgsDict(TypedDict): + clients: 'GetClusterClusterInfoSpecWorkloadTypeClientsArgsDict' +elif False: + GetClusterClusterInfoSpecWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoSpecWorkloadTypeArgs: + def __init__(__self__, *, + clients: 'GetClusterClusterInfoSpecWorkloadTypeClientsArgs'): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter + def clients(self) -> 'GetClusterClusterInfoSpecWorkloadTypeClientsArgs': + return pulumi.get(self, "clients") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[str]): - pulumi.set(self, "instance_profile_arn", value) + @clients.setter + def clients(self, value: 'GetClusterClusterInfoSpecWorkloadTypeClientsArgs'): + pulumi.set(self, "clients", value) + + +if not MYPY: + class GetClusterClusterInfoSpecWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[bool] + notebooks: NotRequired[bool] +elif False: + GetClusterClusterInfoSpecWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetClusterClusterInfoSpecWorkloadTypeClientsArgs: + def __init__(__self__, *, + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[int]): - pulumi.set(self, "spot_bid_price_percent", value) + @jobs.setter + def jobs(self, value: Optional[bool]): + pulumi.set(self, "jobs", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) + @notebooks.setter + def notebooks(self, value: Optional[bool]): + pulumi.set(self, "notebooks", value) if not MYPY: - class GetClusterClusterInfoSpecAzureAttributesArgsDict(TypedDict): - availability: NotRequired[str] - first_on_demand: NotRequired[int] - log_analytics_info: NotRequired['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgsDict'] - spot_bid_max_price: NotRequired[float] + class GetClusterClusterInfoTerminationReasonArgsDict(TypedDict): + code: NotRequired[str] + parameters: NotRequired[Mapping[str, str]] + type: NotRequired[str] elif False: - GetClusterClusterInfoSpecAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoTerminationReasonArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecAzureAttributesArgs: +class GetClusterClusterInfoTerminationReasonArgs: def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - log_analytics_info: Optional['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs'] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + code: Optional[str] = None, + parameters: Optional[Mapping[str, str]] = None, + type: Optional[str] = None): + if code is not None: + pulumi.set(__self__, "code", code) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if type is not None: + pulumi.set(__self__, "type", type) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + def code(self) -> Optional[str]: + return pulumi.get(self, "code") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @code.setter + def code(self, value: Optional[str]): + pulumi.set(self, "code", value) @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs']: - return pulumi.get(self, "log_analytics_info") + @pulumi.getter + def parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "parameters") - @log_analytics_info.setter - def log_analytics_info(self, value: Optional['GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs']): - pulumi.set(self, "log_analytics_info", value) + @parameters.setter + def parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "parameters", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter + def type(self) -> Optional[str]: + return pulumi.get(self, "type") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[float]): - pulumi.set(self, "spot_bid_max_price", value) + @type.setter + def type(self, value: Optional[str]): + pulumi.set(self, "type", value) if not MYPY: - class GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgsDict(TypedDict): - log_analytics_primary_key: NotRequired[str] - log_analytics_workspace_id: NotRequired[str] + class GetClusterClusterInfoWorkloadTypeArgsDict(TypedDict): + clients: 'GetClusterClusterInfoWorkloadTypeClientsArgsDict' elif False: - GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs: +class GetClusterClusterInfoWorkloadTypeArgs: def __init__(__self__, *, - log_analytics_primary_key: Optional[str] = None, - log_analytics_workspace_id: Optional[str] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) - - @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[str]: - return pulumi.get(self, "log_analytics_primary_key") - - @log_analytics_primary_key.setter - def log_analytics_primary_key(self, value: Optional[str]): - pulumi.set(self, "log_analytics_primary_key", value) + clients: 'GetClusterClusterInfoWorkloadTypeClientsArgs'): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[str]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter + def clients(self) -> 'GetClusterClusterInfoWorkloadTypeClientsArgs': + return pulumi.get(self, "clients") - @log_analytics_workspace_id.setter - def log_analytics_workspace_id(self, value: Optional[str]): - pulumi.set(self, "log_analytics_workspace_id", value) + @clients.setter + def clients(self, value: 'GetClusterClusterInfoWorkloadTypeClientsArgs'): + pulumi.set(self, "clients", value) if not MYPY: - class GetClusterClusterInfoSpecClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired['GetClusterClusterInfoSpecClusterLogConfDbfsArgsDict'] - s3: NotRequired['GetClusterClusterInfoSpecClusterLogConfS3ArgsDict'] + class GetClusterClusterInfoWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[bool] + notebooks: NotRequired[bool] elif False: - GetClusterClusterInfoSpecClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + GetClusterClusterInfoWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecClusterLogConfArgs: +class GetClusterClusterInfoWorkloadTypeClientsArgs: def __init__(__self__, *, - dbfs: Optional['GetClusterClusterInfoSpecClusterLogConfDbfsArgs'] = None, - s3: Optional['GetClusterClusterInfoSpecClusterLogConfS3Args'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def dbfs(self) -> Optional['GetClusterClusterInfoSpecClusterLogConfDbfsArgs']: - return pulumi.get(self, "dbfs") + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") - @dbfs.setter - def dbfs(self, value: Optional['GetClusterClusterInfoSpecClusterLogConfDbfsArgs']): - pulumi.set(self, "dbfs", value) + @jobs.setter + def jobs(self, value: Optional[bool]): + pulumi.set(self, "jobs", value) @property @pulumi.getter - def s3(self) -> Optional['GetClusterClusterInfoSpecClusterLogConfS3Args']: - return pulumi.get(self, "s3") + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") - @s3.setter - def s3(self, value: Optional['GetClusterClusterInfoSpecClusterLogConfS3Args']): - pulumi.set(self, "s3", value) + @notebooks.setter + def notebooks(self, value: Optional[bool]): + pulumi.set(self, "notebooks", value) if not MYPY: - class GetClusterClusterInfoSpecClusterLogConfDbfsArgsDict(TypedDict): - destination: str + class GetClustersFilterByArgsDict(TypedDict): + cluster_sources: NotRequired[Sequence[str]] + """ + List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + """ + cluster_states: NotRequired[Sequence[str]] + """ + List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + """ + is_pinned: NotRequired[bool] + """ + Whether to filter by pinned clusters. + """ + policy_id: NotRequired[str] + """ + Filter by ClusterPolicy id. + """ elif False: - GetClusterClusterInfoSpecClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetClustersFilterByArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecClusterLogConfDbfsArgs: +class GetClustersFilterByArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + cluster_sources: Optional[Sequence[str]] = None, + cluster_states: Optional[Sequence[str]] = None, + is_pinned: Optional[bool] = None, + policy_id: Optional[str] = None): + """ + :param Sequence[str] cluster_sources: List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + :param Sequence[str] cluster_states: List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + :param bool is_pinned: Whether to filter by pinned clusters. + :param str policy_id: Filter by ClusterPolicy id. + """ + if cluster_sources is not None: + pulumi.set(__self__, "cluster_sources", cluster_sources) + if cluster_states is not None: + pulumi.set(__self__, "cluster_states", cluster_states) + if is_pinned is not None: + pulumi.set(__self__, "is_pinned", is_pinned) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="clusterSources") + def cluster_sources(self) -> Optional[Sequence[str]]: + """ + List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + """ + return pulumi.get(self, "cluster_sources") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @cluster_sources.setter + def cluster_sources(self, value: Optional[Sequence[str]]): + pulumi.set(self, "cluster_sources", value) + + @property + @pulumi.getter(name="clusterStates") + def cluster_states(self) -> Optional[Sequence[str]]: + """ + List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + """ + return pulumi.get(self, "cluster_states") + + @cluster_states.setter + def cluster_states(self, value: Optional[Sequence[str]]): + pulumi.set(self, "cluster_states", value) + + @property + @pulumi.getter(name="isPinned") + def is_pinned(self) -> Optional[bool]: + """ + Whether to filter by pinned clusters. + """ + return pulumi.get(self, "is_pinned") + + @is_pinned.setter + def is_pinned(self, value: Optional[bool]): + pulumi.set(self, "is_pinned", value) + + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + """ + Filter by ClusterPolicy id. + """ + return pulumi.get(self, "policy_id") + + @policy_id.setter + def policy_id(self, value: Optional[str]): + pulumi.set(self, "policy_id", value) if not MYPY: - class GetClusterClusterInfoSpecClusterLogConfS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] + class GetCurrentMetastoreMetastoreInfoArgsDict(TypedDict): + cloud: NotRequired[str] + created_at: NotRequired[int] + """ + Timestamp (in milliseconds) when the current metastore was created. + """ + created_by: NotRequired[str] + """ + the ID of the identity that created the current metastore. + """ + default_data_access_config_id: NotRequired[str] + """ + the ID of the default data access configuration. + """ + delta_sharing_organization_name: NotRequired[str] + """ + The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + """ + delta_sharing_recipient_token_lifetime_in_seconds: NotRequired[int] + """ + the expiration duration in seconds on recipient data access tokens. + """ + delta_sharing_scope: NotRequired[str] + """ + Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + """ + external_access_enabled: NotRequired[bool] + global_metastore_id: NotRequired[str] + """ + Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + """ + metastore_id: NotRequired[str] + """ + Metastore ID. + """ + name: NotRequired[str] + """ + Name of metastore. + """ + owner: NotRequired[str] + """ + Username/group name/sp application_id of the metastore owner. + """ + privilege_model_version: NotRequired[str] + """ + the version of the privilege model used by the metastore. + """ region: NotRequired[str] + """ + (Mandatory for account-level) The region of the metastore. + """ + storage_root: NotRequired[str] + """ + Path on cloud storage account, where managed `Table` are stored. + """ + storage_root_credential_id: NotRequired[str] + """ + ID of a storage credential used for the `storage_root`. + """ + storage_root_credential_name: NotRequired[str] + """ + Name of a storage credential used for the `storage_root`. + """ + updated_at: NotRequired[int] + """ + Timestamp (in milliseconds) when the current metastore was updated. + """ + updated_by: NotRequired[str] + """ + the ID of the identity that updated the current metastore. + """ elif False: - GetClusterClusterInfoSpecClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + GetCurrentMetastoreMetastoreInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecClusterLogConfS3Args: +class GetCurrentMetastoreMetastoreInfoArgs: def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) + cloud: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + default_data_access_config_id: Optional[str] = None, + delta_sharing_organization_name: Optional[str] = None, + delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, + delta_sharing_scope: Optional[str] = None, + external_access_enabled: Optional[bool] = None, + global_metastore_id: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + privilege_model_version: Optional[str] = None, + region: Optional[str] = None, + storage_root: Optional[str] = None, + storage_root_credential_id: Optional[str] = None, + storage_root_credential_name: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param int created_at: Timestamp (in milliseconds) when the current metastore was created. + :param str created_by: the ID of the identity that created the current metastore. + :param str default_data_access_config_id: the ID of the default data access configuration. + :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + :param int delta_sharing_recipient_token_lifetime_in_seconds: the expiration duration in seconds on recipient data access tokens. + :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + :param str global_metastore_id: Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + :param str metastore_id: Metastore ID. + :param str name: Name of metastore. + :param str owner: Username/group name/sp application_id of the metastore owner. + :param str privilege_model_version: the version of the privilege model used by the metastore. + :param str region: (Mandatory for account-level) The region of the metastore. + :param str storage_root: Path on cloud storage account, where managed `Table` are stored. + :param str storage_root_credential_id: ID of a storage credential used for the `storage_root`. + :param str storage_root_credential_name: Name of a storage credential used for the `storage_root`. + :param int updated_at: Timestamp (in milliseconds) when the current metastore was updated. + :param str updated_by: the ID of the identity that updated the current metastore. + """ + if cloud is not None: + pulumi.set(__self__, "cloud", cloud) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if default_data_access_config_id is not None: + pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) + if delta_sharing_organization_name is not None: + pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) + if delta_sharing_recipient_token_lifetime_in_seconds is not None: + pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) + if delta_sharing_scope is not None: + pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) + if external_access_enabled is not None: + pulumi.set(__self__, "external_access_enabled", external_access_enabled) + if global_metastore_id is not None: + pulumi.set(__self__, "global_metastore_id", global_metastore_id) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if privilege_model_version is not None: + pulumi.set(__self__, "privilege_model_version", privilege_model_version) if region is not None: pulumi.set(__self__, "region", region) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if storage_root_credential_id is not None: + pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) + if storage_root_credential_name is not None: + pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def cloud(self) -> Optional[str]: + return pulumi.get(self, "cloud") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @cloud.setter + def cloud(self, value: Optional[str]): + pulumi.set(self, "cloud", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Timestamp (in milliseconds) when the current metastore was created. + """ + return pulumi.get(self, "created_at") - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + the ID of the identity that created the current metastore. + """ + return pulumi.get(self, "created_by") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="defaultDataAccessConfigId") + def default_data_access_config_id(self) -> Optional[str]: + """ + the ID of the default data access configuration. + """ + return pulumi.get(self, "default_data_access_config_id") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @default_data_access_config_id.setter + def default_data_access_config_id(self, value: Optional[str]): + pulumi.set(self, "default_data_access_config_id", value) @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="deltaSharingOrganizationName") + def delta_sharing_organization_name(self) -> Optional[str]: + """ + The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + """ + return pulumi.get(self, "delta_sharing_organization_name") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @delta_sharing_organization_name.setter + def delta_sharing_organization_name(self, value: Optional[str]): + pulumi.set(self, "delta_sharing_organization_name", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") + def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: + """ + the expiration duration in seconds on recipient data access tokens. + """ + return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @delta_sharing_recipient_token_lifetime_in_seconds.setter + def delta_sharing_recipient_token_lifetime_in_seconds(self, value: Optional[int]): + pulumi.set(self, "delta_sharing_recipient_token_lifetime_in_seconds", value) @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) - - -if not MYPY: - class GetClusterClusterInfoSpecClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: str - network_filesystem_info: 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgsDict' - remote_mount_dir_path: NotRequired[str] -elif False: - GetClusterClusterInfoSpecClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="deltaSharingScope") + def delta_sharing_scope(self) -> Optional[str]: + """ + Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + """ + return pulumi.get(self, "delta_sharing_scope") -@pulumi.input_type -class GetClusterClusterInfoSpecClusterMountInfoArgs: - def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + @delta_sharing_scope.setter + def delta_sharing_scope(self, value: Optional[str]): + pulumi.set(self, "delta_sharing_scope", value) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter(name="externalAccessEnabled") + def external_access_enabled(self) -> Optional[bool]: + return pulumi.get(self, "external_access_enabled") - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: str): - pulumi.set(self, "local_mount_dir_path", value) + @external_access_enabled.setter + def external_access_enabled(self, value: Optional[bool]): + pulumi.set(self, "external_access_enabled", value) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="globalMetastoreId") + def global_metastore_id(self) -> Optional[str]: + """ + Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + """ + return pulumi.get(self, "global_metastore_id") - @network_filesystem_info.setter - def network_filesystem_info(self, value: 'GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs'): - pulumi.set(self, "network_filesystem_info", value) + @global_metastore_id.setter + def global_metastore_id(self, value: Optional[str]): + pulumi.set(self, "global_metastore_id", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") - - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[str]): - pulumi.set(self, "remote_mount_dir_path", value) - - -if not MYPY: - class GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: str - mount_options: NotRequired[str] -elif False: - GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Metastore ID. + """ + return pulumi.get(self, "metastore_id") -@pulumi.input_type -class GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoArgs: - def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of metastore. + """ + return pulumi.get(self, "name") - @server_address.setter - def server_address(self, value: str): - pulumi.set(self, "server_address", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") - - @mount_options.setter - def mount_options(self, value: Optional[str]): - pulumi.set(self, "mount_options", value) - + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Username/group name/sp application_id of the metastore owner. + """ + return pulumi.get(self, "owner") -if not MYPY: - class GetClusterClusterInfoSpecDockerImageArgsDict(TypedDict): - url: str - basic_auth: NotRequired['GetClusterClusterInfoSpecDockerImageBasicAuthArgsDict'] -elif False: - GetClusterClusterInfoSpecDockerImageArgsDict: TypeAlias = Mapping[str, Any] + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) -@pulumi.input_type -class GetClusterClusterInfoSpecDockerImageArgs: - def __init__(__self__, *, - url: str, - basic_auth: Optional['GetClusterClusterInfoSpecDockerImageBasicAuthArgs'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + @property + @pulumi.getter(name="privilegeModelVersion") + def privilege_model_version(self) -> Optional[str]: + """ + the version of the privilege model used by the metastore. + """ + return pulumi.get(self, "privilege_model_version") + + @privilege_model_version.setter + def privilege_model_version(self, value: Optional[str]): + pulumi.set(self, "privilege_model_version", value) @property @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + def region(self) -> Optional[str]: + """ + (Mandatory for account-level) The region of the metastore. + """ + return pulumi.get(self, "region") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetClusterClusterInfoSpecDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Path on cloud storage account, where managed `Table` are stored. + """ + return pulumi.get(self, "storage_root") - @basic_auth.setter - def basic_auth(self, value: Optional['GetClusterClusterInfoSpecDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) + @storage_root.setter + def storage_root(self, value: Optional[str]): + pulumi.set(self, "storage_root", value) + @property + @pulumi.getter(name="storageRootCredentialId") + def storage_root_credential_id(self) -> Optional[str]: + """ + ID of a storage credential used for the `storage_root`. + """ + return pulumi.get(self, "storage_root_credential_id") -if not MYPY: - class GetClusterClusterInfoSpecDockerImageBasicAuthArgsDict(TypedDict): - password: str - username: str -elif False: - GetClusterClusterInfoSpecDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + @storage_root_credential_id.setter + def storage_root_credential_id(self, value: Optional[str]): + pulumi.set(self, "storage_root_credential_id", value) -@pulumi.input_type -class GetClusterClusterInfoSpecDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @property + @pulumi.getter(name="storageRootCredentialName") + def storage_root_credential_name(self) -> Optional[str]: + """ + Name of a storage credential used for the `storage_root`. + """ + return pulumi.get(self, "storage_root_credential_name") + + @storage_root_credential_name.setter + def storage_root_credential_name(self, value: Optional[str]): + pulumi.set(self, "storage_root_credential_name", value) @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Timestamp (in milliseconds) when the current metastore was updated. + """ + return pulumi.get(self, "updated_at") - @password.setter - def password(self, value: str): - pulumi.set(self, "password", value) + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the ID of the identity that updated the current metastore. + """ + return pulumi.get(self, "updated_by") - @username.setter - def username(self, value: str): - pulumi.set(self, "username", value) + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) if not MYPY: - class GetClusterClusterInfoSpecGcpAttributesArgsDict(TypedDict): - availability: NotRequired[str] - boot_disk_size: NotRequired[int] - google_service_account: NotRequired[str] - local_ssd_count: NotRequired[int] - use_preemptible_executors: NotRequired[bool] - zone_id: NotRequired[str] + class GetExternalLocationExternalLocationInfoArgsDict(TypedDict): + access_point: NotRequired[str] + """ + The ARN of the s3 access point to use with the external location (AWS). + """ + browse_only: NotRequired[bool] + comment: NotRequired[str] + """ + User-supplied comment. + """ + created_at: NotRequired[int] + """ + Time at which this catalog was created, in epoch milliseconds. + """ + created_by: NotRequired[str] + """ + Username of catalog creator. + """ + credential_id: NotRequired[str] + """ + Unique ID of storage credential. + """ + credential_name: NotRequired[str] + """ + Name of the StorageCredential to use with this external location. + """ + encryption_details: NotRequired['GetExternalLocationExternalLocationInfoEncryptionDetailsArgsDict'] + """ + The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + """ + fallback: NotRequired[bool] + isolation_mode: NotRequired[str] + metastore_id: NotRequired[str] + """ + Unique identifier of the parent Metastore. + """ + name: NotRequired[str] + """ + The name of the external location + """ + owner: NotRequired[str] + """ + Username/groupname/sp application_id of the external location owner. + """ + read_only: NotRequired[bool] + """ + Indicates whether the external location is read-only. + """ + updated_at: NotRequired[int] + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + updated_by: NotRequired[str] + """ + Username of user who last modified catalog. + """ + url: NotRequired[str] + """ + Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + """ elif False: - GetClusterClusterInfoSpecGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetExternalLocationExternalLocationInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecGcpAttributesArgs: +class GetExternalLocationExternalLocationInfoArgs: def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + access_point: Optional[str] = None, + browse_only: Optional[bool] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + credential_id: Optional[str] = None, + credential_name: Optional[str] = None, + encryption_details: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsArgs'] = None, + fallback: Optional[bool] = None, + isolation_mode: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + read_only: Optional[bool] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None, + url: Optional[str] = None): + """ + :param str access_point: The ARN of the s3 access point to use with the external location (AWS). + :param str comment: User-supplied comment. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param str credential_id: Unique ID of storage credential. + :param str credential_name: Name of the StorageCredential to use with this external location. + :param 'GetExternalLocationExternalLocationInfoEncryptionDetailsArgs' encryption_details: The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + :param str metastore_id: Unique identifier of the parent Metastore. + :param str name: The name of the external location + :param str owner: Username/groupname/sp application_id of the external location owner. + :param bool read_only: Indicates whether the external location is read-only. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. + :param str url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + """ + if access_point is not None: + pulumi.set(__self__, "access_point", access_point) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if credential_name is not None: + pulumi.set(__self__, "credential_name", credential_name) + if encryption_details is not None: + pulumi.set(__self__, "encryption_details", encryption_details) + if fallback is not None: + pulumi.set(__self__, "fallback", fallback) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if read_only is not None: + pulumi.set(__self__, "read_only", read_only) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if url is not None: + pulumi.set(__self__, "url", url) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="accessPoint") + def access_point(self) -> Optional[str]: + """ + The ARN of the s3 access point to use with the external location (AWS). + """ + return pulumi.get(self, "access_point") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @access_point.setter + def access_point(self, value: Optional[str]): + pulumi.set(self, "access_point", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[int]): - pulumi.set(self, "boot_disk_size", value) + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") + @pulumi.getter + def comment(self) -> Optional[str]: + """ + User-supplied comment. + """ + return pulumi.get(self, "comment") - @google_service_account.setter - def google_service_account(self, value: Optional[str]): - pulumi.set(self, "google_service_account", value) + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[int]): - pulumi.set(self, "local_ssd_count", value) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ + return pulumi.get(self, "created_by") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[bool]): - pulumi.set(self, "use_preemptible_executors", value) + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[str]: + """ + Unique ID of storage credential. + """ + return pulumi.get(self, "credential_id") + @credential_id.setter + def credential_id(self, value: Optional[str]): + pulumi.set(self, "credential_id", value) -if not MYPY: - class GetClusterClusterInfoSpecInitScriptArgsDict(TypedDict): - abfss: NotRequired['GetClusterClusterInfoSpecInitScriptAbfssArgsDict'] - dbfs: NotRequired['GetClusterClusterInfoSpecInitScriptDbfsArgsDict'] - file: NotRequired['GetClusterClusterInfoSpecInitScriptFileArgsDict'] - gcs: NotRequired['GetClusterClusterInfoSpecInitScriptGcsArgsDict'] - s3: NotRequired['GetClusterClusterInfoSpecInitScriptS3ArgsDict'] - volumes: NotRequired['GetClusterClusterInfoSpecInitScriptVolumesArgsDict'] - workspace: NotRequired['GetClusterClusterInfoSpecInitScriptWorkspaceArgsDict'] -elif False: - GetClusterClusterInfoSpecInitScriptArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> Optional[str]: + """ + Name of the StorageCredential to use with this external location. + """ + return pulumi.get(self, "credential_name") -@pulumi.input_type -class GetClusterClusterInfoSpecInitScriptArgs: - def __init__(__self__, *, - abfss: Optional['GetClusterClusterInfoSpecInitScriptAbfssArgs'] = None, - dbfs: Optional['GetClusterClusterInfoSpecInitScriptDbfsArgs'] = None, - file: Optional['GetClusterClusterInfoSpecInitScriptFileArgs'] = None, - gcs: Optional['GetClusterClusterInfoSpecInitScriptGcsArgs'] = None, - s3: Optional['GetClusterClusterInfoSpecInitScriptS3Args'] = None, - volumes: Optional['GetClusterClusterInfoSpecInitScriptVolumesArgs'] = None, - workspace: Optional['GetClusterClusterInfoSpecInitScriptWorkspaceArgs'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - warnings.warn("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""", DeprecationWarning) - pulumi.log.warn("""dbfs is deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + @credential_name.setter + def credential_name(self, value: Optional[str]): + pulumi.set(self, "credential_name", value) @property - @pulumi.getter - def abfss(self) -> Optional['GetClusterClusterInfoSpecInitScriptAbfssArgs']: - return pulumi.get(self, "abfss") + @pulumi.getter(name="encryptionDetails") + def encryption_details(self) -> Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsArgs']: + """ + The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + """ + return pulumi.get(self, "encryption_details") - @abfss.setter - def abfss(self, value: Optional['GetClusterClusterInfoSpecInitScriptAbfssArgs']): - pulumi.set(self, "abfss", value) + @encryption_details.setter + def encryption_details(self, value: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsArgs']): + pulumi.set(self, "encryption_details", value) @property @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional['GetClusterClusterInfoSpecInitScriptDbfsArgs']: - return pulumi.get(self, "dbfs") + def fallback(self) -> Optional[bool]: + return pulumi.get(self, "fallback") - @dbfs.setter - def dbfs(self, value: Optional['GetClusterClusterInfoSpecInitScriptDbfsArgs']): - pulumi.set(self, "dbfs", value) + @fallback.setter + def fallback(self, value: Optional[bool]): + pulumi.set(self, "fallback", value) @property - @pulumi.getter - def file(self) -> Optional['GetClusterClusterInfoSpecInitScriptFileArgs']: - return pulumi.get(self, "file") + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[str]: + return pulumi.get(self, "isolation_mode") - @file.setter - def file(self, value: Optional['GetClusterClusterInfoSpecInitScriptFileArgs']): - pulumi.set(self, "file", value) + @isolation_mode.setter + def isolation_mode(self, value: Optional[str]): + pulumi.set(self, "isolation_mode", value) @property - @pulumi.getter - def gcs(self) -> Optional['GetClusterClusterInfoSpecInitScriptGcsArgs']: - return pulumi.get(self, "gcs") + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of the parent Metastore. + """ + return pulumi.get(self, "metastore_id") - @gcs.setter - def gcs(self, value: Optional['GetClusterClusterInfoSpecInitScriptGcsArgs']): - pulumi.set(self, "gcs", value) + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property @pulumi.getter - def s3(self) -> Optional['GetClusterClusterInfoSpecInitScriptS3Args']: - return pulumi.get(self, "s3") + def name(self) -> Optional[str]: + """ + The name of the external location + """ + return pulumi.get(self, "name") - @s3.setter - def s3(self, value: Optional['GetClusterClusterInfoSpecInitScriptS3Args']): - pulumi.set(self, "s3", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property @pulumi.getter - def volumes(self) -> Optional['GetClusterClusterInfoSpecInitScriptVolumesArgs']: - return pulumi.get(self, "volumes") + def owner(self) -> Optional[str]: + """ + Username/groupname/sp application_id of the external location owner. + """ + return pulumi.get(self, "owner") - @volumes.setter - def volumes(self, value: Optional['GetClusterClusterInfoSpecInitScriptVolumesArgs']): - pulumi.set(self, "volumes", value) + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) @property - @pulumi.getter - def workspace(self) -> Optional['GetClusterClusterInfoSpecInitScriptWorkspaceArgs']: - return pulumi.get(self, "workspace") + @pulumi.getter(name="readOnly") + def read_only(self) -> Optional[bool]: + """ + Indicates whether the external location is read-only. + """ + return pulumi.get(self, "read_only") - @workspace.setter - def workspace(self, value: Optional['GetClusterClusterInfoSpecInitScriptWorkspaceArgs']): - pulumi.set(self, "workspace", value) + @read_only.setter + def read_only(self, value: Optional[bool]): + pulumi.set(self, "read_only", value) + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") -if not MYPY: - class GetClusterClusterInfoSpecInitScriptAbfssArgsDict(TypedDict): - destination: str -elif False: - GetClusterClusterInfoSpecInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) -@pulumi.input_type -class GetClusterClusterInfoSpecInitScriptAbfssArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def url(self) -> Optional[str]: + """ + Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + """ + return pulumi.get(self, "url") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @url.setter + def url(self, value: Optional[str]): + pulumi.set(self, "url", value) if not MYPY: - class GetClusterClusterInfoSpecInitScriptDbfsArgsDict(TypedDict): - destination: str + class GetExternalLocationExternalLocationInfoEncryptionDetailsArgsDict(TypedDict): + sse_encryption_details: NotRequired['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict'] elif False: - GetClusterClusterInfoSpecInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetExternalLocationExternalLocationInfoEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecInitScriptDbfsArgs: +class GetExternalLocationExternalLocationInfoEncryptionDetailsArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + sse_encryption_details: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs'] = None): + if sse_encryption_details is not None: + pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="sseEncryptionDetails") + def sse_encryption_details(self) -> Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs']: + return pulumi.get(self, "sse_encryption_details") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @sse_encryption_details.setter + def sse_encryption_details(self, value: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs']): + pulumi.set(self, "sse_encryption_details", value) if not MYPY: - class GetClusterClusterInfoSpecInitScriptFileArgsDict(TypedDict): - destination: str + class GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict(TypedDict): + algorithm: NotRequired[str] + aws_kms_key_arn: NotRequired[str] elif False: - GetClusterClusterInfoSpecInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecInitScriptFileArgs: +class GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + algorithm: Optional[str] = None, + aws_kms_key_arn: Optional[str] = None): + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if aws_kms_key_arn is not None: + pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - -if not MYPY: - class GetClusterClusterInfoSpecInitScriptGcsArgsDict(TypedDict): - destination: str -elif False: - GetClusterClusterInfoSpecInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + def algorithm(self) -> Optional[str]: + return pulumi.get(self, "algorithm") -@pulumi.input_type -class GetClusterClusterInfoSpecInitScriptGcsArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @algorithm.setter + def algorithm(self, value: Optional[str]): + pulumi.set(self, "algorithm", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="awsKmsKeyArn") + def aws_kms_key_arn(self) -> Optional[str]: + return pulumi.get(self, "aws_kms_key_arn") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @aws_kms_key_arn.setter + def aws_kms_key_arn(self, value: Optional[str]): + pulumi.set(self, "aws_kms_key_arn", value) if not MYPY: - class GetClusterClusterInfoSpecInitScriptS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] + class GetFunctionsFunctionArgsDict(TypedDict): + browse_only: NotRequired[bool] + """ + Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. + """ + catalog_name: NotRequired[str] + """ + Name of databricks_catalog. + """ + comment: NotRequired[str] + """ + User-provided free-form text description. + """ + created_at: NotRequired[int] + """ + Time at which this function was created, in epoch milliseconds. + """ + created_by: NotRequired[str] + """ + Username of function creator. + """ + data_type: NotRequired[str] + """ + Scalar function return data type. + """ + external_language: NotRequired[str] + """ + External function language. + """ + external_name: NotRequired[str] + """ + External function name. + """ + full_data_type: NotRequired[str] + """ + Pretty printed function data type. + """ + full_name: NotRequired[str] + """ + Full name of function, in form of catalog_name.schema_name.function__name + """ + function_id: NotRequired[str] + """ + Id of Function, relative to parent schema. + """ + input_params: NotRequired[Sequence['GetFunctionsFunctionInputParamArgsDict']] + """ + object describing input parameters. Consists of the single attribute: + """ + is_deterministic: NotRequired[bool] + """ + Boolean flag specifying whether the function is deterministic. + """ + is_null_call: NotRequired[bool] + """ + Boolean flag whether function null call. + """ + metastore_id: NotRequired[str] + """ + Unique identifier of parent metastore. + """ + name: NotRequired[str] + """ + Name of parameter. + """ + owner: NotRequired[str] + """ + Username of current owner of function. + """ + parameter_style: NotRequired[str] + """ + Function parameter style. `S` is the value for SQL. + """ + properties: NotRequired[str] + """ + JSON-serialized key-value pair map, encoded (escaped) as a string. + """ + return_params: NotRequired[Sequence['GetFunctionsFunctionReturnParamArgsDict']] + """ + Table function return parameters. See `input_params` for description. + """ + routine_body: NotRequired[str] + """ + Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. + """ + routine_definition: NotRequired[str] + """ + Function body. + """ + routine_dependencies: NotRequired[Sequence['GetFunctionsFunctionRoutineDependencyArgsDict']] + """ + Function dependencies. + """ + schema_name: NotRequired[str] + """ + Name of databricks_schema. + """ + security_type: NotRequired[str] + """ + Function security type. (Enum: `DEFINER`). + """ + specific_name: NotRequired[str] + """ + Specific name of the function; Reserved for future use. + """ + sql_data_access: NotRequired[str] + """ + Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). + """ + sql_path: NotRequired[str] + """ + List of schemes whose objects can be referenced without qualification. + """ + updated_at: NotRequired[int] + """ + Time at which this function was created, in epoch milliseconds. + """ + updated_by: NotRequired[str] + """ + Username of user who last modified function. + """ elif False: - GetClusterClusterInfoSpecInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + GetFunctionsFunctionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecInitScriptS3Args: +class GetFunctionsFunctionArgs: def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + data_type: Optional[str] = None, + external_language: Optional[str] = None, + external_name: Optional[str] = None, + full_data_type: Optional[str] = None, + full_name: Optional[str] = None, + function_id: Optional[str] = None, + input_params: Optional[Sequence['GetFunctionsFunctionInputParamArgs']] = None, + is_deterministic: Optional[bool] = None, + is_null_call: Optional[bool] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + parameter_style: Optional[str] = None, + properties: Optional[str] = None, + return_params: Optional[Sequence['GetFunctionsFunctionReturnParamArgs']] = None, + routine_body: Optional[str] = None, + routine_definition: Optional[str] = None, + routine_dependencies: Optional[Sequence['GetFunctionsFunctionRoutineDependencyArgs']] = None, + schema_name: Optional[str] = None, + security_type: Optional[str] = None, + specific_name: Optional[str] = None, + sql_data_access: Optional[str] = None, + sql_path: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param bool browse_only: Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. + :param str catalog_name: Name of databricks_catalog. + :param str comment: User-provided free-form text description. + :param int created_at: Time at which this function was created, in epoch milliseconds. + :param str created_by: Username of function creator. + :param str data_type: Scalar function return data type. + :param str external_language: External function language. + :param str external_name: External function name. + :param str full_data_type: Pretty printed function data type. + :param str full_name: Full name of function, in form of catalog_name.schema_name.function__name + :param str function_id: Id of Function, relative to parent schema. + :param Sequence['GetFunctionsFunctionInputParamArgs'] input_params: object describing input parameters. Consists of the single attribute: + :param bool is_deterministic: Boolean flag specifying whether the function is deterministic. + :param bool is_null_call: Boolean flag whether function null call. + :param str metastore_id: Unique identifier of parent metastore. + :param str name: Name of parameter. + :param str owner: Username of current owner of function. + :param str parameter_style: Function parameter style. `S` is the value for SQL. + :param str properties: JSON-serialized key-value pair map, encoded (escaped) as a string. + :param Sequence['GetFunctionsFunctionReturnParamArgs'] return_params: Table function return parameters. See `input_params` for description. + :param str routine_body: Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. + :param str routine_definition: Function body. + :param Sequence['GetFunctionsFunctionRoutineDependencyArgs'] routine_dependencies: Function dependencies. + :param str schema_name: Name of databricks_schema. + :param str security_type: Function security type. (Enum: `DEFINER`). + :param str specific_name: Specific name of the function; Reserved for future use. + :param str sql_data_access: Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). + :param str sql_path: List of schemes whose objects can be referenced without qualification. + :param int updated_at: Time at which this function was created, in epoch milliseconds. + :param str updated_by: Username of user who last modified function. + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if external_language is not None: + pulumi.set(__self__, "external_language", external_language) + if external_name is not None: + pulumi.set(__self__, "external_name", external_name) + if full_data_type is not None: + pulumi.set(__self__, "full_data_type", full_data_type) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if function_id is not None: + pulumi.set(__self__, "function_id", function_id) + if input_params is not None: + pulumi.set(__self__, "input_params", input_params) + if is_deterministic is not None: + pulumi.set(__self__, "is_deterministic", is_deterministic) + if is_null_call is not None: + pulumi.set(__self__, "is_null_call", is_null_call) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if parameter_style is not None: + pulumi.set(__self__, "parameter_style", parameter_style) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if return_params is not None: + pulumi.set(__self__, "return_params", return_params) + if routine_body is not None: + pulumi.set(__self__, "routine_body", routine_body) + if routine_definition is not None: + pulumi.set(__self__, "routine_definition", routine_definition) + if routine_dependencies is not None: + pulumi.set(__self__, "routine_dependencies", routine_dependencies) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if security_type is not None: + pulumi.set(__self__, "security_type", security_type) + if specific_name is not None: + pulumi.set(__self__, "specific_name", specific_name) + if sql_data_access is not None: + pulumi.set(__self__, "sql_data_access", sql_data_access) + if sql_path is not None: + pulumi.set(__self__, "sql_path", sql_path) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + """ + Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. + """ + return pulumi.get(self, "browse_only") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + Name of databricks_catalog. + """ + return pulumi.get(self, "catalog_name") - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + @catalog_name.setter + def catalog_name(self, value: Optional[str]): + pulumi.set(self, "catalog_name", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def comment(self) -> Optional[str]: + """ + User-provided free-form text description. + """ + return pulumi.get(self, "comment") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this function was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of function creator. + """ + return pulumi.get(self, "created_by") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[str]: + """ + Scalar function return data type. + """ + return pulumi.get(self, "data_type") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @data_type.setter + def data_type(self, value: Optional[str]): + pulumi.set(self, "data_type", value) @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) - - -if not MYPY: - class GetClusterClusterInfoSpecInitScriptVolumesArgsDict(TypedDict): - destination: str -elif False: - GetClusterClusterInfoSpecInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="externalLanguage") + def external_language(self) -> Optional[str]: + """ + External function language. + """ + return pulumi.get(self, "external_language") -@pulumi.input_type -class GetClusterClusterInfoSpecInitScriptVolumesArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @external_language.setter + def external_language(self, value: Optional[str]): + pulumi.set(self, "external_language", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - -if not MYPY: - class GetClusterClusterInfoSpecInitScriptWorkspaceArgsDict(TypedDict): - destination: str -elif False: - GetClusterClusterInfoSpecInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetClusterClusterInfoSpecInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @pulumi.getter(name="externalName") + def external_name(self) -> Optional[str]: + """ + External function name. + """ + return pulumi.get(self, "external_name") - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @external_name.setter + def external_name(self, value: Optional[str]): + pulumi.set(self, "external_name", value) - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @property + @pulumi.getter(name="fullDataType") + def full_data_type(self) -> Optional[str]: + """ + Pretty printed function data type. + """ + return pulumi.get(self, "full_data_type") + @full_data_type.setter + def full_data_type(self, value: Optional[str]): + pulumi.set(self, "full_data_type", value) -if not MYPY: - class GetClusterClusterInfoSpecLibraryArgsDict(TypedDict): - cran: NotRequired['GetClusterClusterInfoSpecLibraryCranArgsDict'] - egg: NotRequired[str] - jar: NotRequired[str] - maven: NotRequired['GetClusterClusterInfoSpecLibraryMavenArgsDict'] - pypi: NotRequired['GetClusterClusterInfoSpecLibraryPypiArgsDict'] - requirements: NotRequired[str] - whl: NotRequired[str] -elif False: - GetClusterClusterInfoSpecLibraryArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + Full name of function, in form of catalog_name.schema_name.function__name + """ + return pulumi.get(self, "full_name") -@pulumi.input_type -class GetClusterClusterInfoSpecLibraryArgs: - def __init__(__self__, *, - cran: Optional['GetClusterClusterInfoSpecLibraryCranArgs'] = None, - egg: Optional[str] = None, - jar: Optional[str] = None, - maven: Optional['GetClusterClusterInfoSpecLibraryMavenArgs'] = None, - pypi: Optional['GetClusterClusterInfoSpecLibraryPypiArgs'] = None, - requirements: Optional[str] = None, - whl: Optional[str] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + @full_name.setter + def full_name(self, value: Optional[str]): + pulumi.set(self, "full_name", value) @property - @pulumi.getter - def cran(self) -> Optional['GetClusterClusterInfoSpecLibraryCranArgs']: - return pulumi.get(self, "cran") + @pulumi.getter(name="functionId") + def function_id(self) -> Optional[str]: + """ + Id of Function, relative to parent schema. + """ + return pulumi.get(self, "function_id") - @cran.setter - def cran(self, value: Optional['GetClusterClusterInfoSpecLibraryCranArgs']): - pulumi.set(self, "cran", value) + @function_id.setter + def function_id(self, value: Optional[str]): + pulumi.set(self, "function_id", value) @property - @pulumi.getter - def egg(self) -> Optional[str]: - return pulumi.get(self, "egg") + @pulumi.getter(name="inputParams") + def input_params(self) -> Optional[Sequence['GetFunctionsFunctionInputParamArgs']]: + """ + object describing input parameters. Consists of the single attribute: + """ + return pulumi.get(self, "input_params") - @egg.setter - def egg(self, value: Optional[str]): - pulumi.set(self, "egg", value) + @input_params.setter + def input_params(self, value: Optional[Sequence['GetFunctionsFunctionInputParamArgs']]): + pulumi.set(self, "input_params", value) @property - @pulumi.getter - def jar(self) -> Optional[str]: - return pulumi.get(self, "jar") + @pulumi.getter(name="isDeterministic") + def is_deterministic(self) -> Optional[bool]: + """ + Boolean flag specifying whether the function is deterministic. + """ + return pulumi.get(self, "is_deterministic") - @jar.setter - def jar(self, value: Optional[str]): - pulumi.set(self, "jar", value) + @is_deterministic.setter + def is_deterministic(self, value: Optional[bool]): + pulumi.set(self, "is_deterministic", value) @property - @pulumi.getter - def maven(self) -> Optional['GetClusterClusterInfoSpecLibraryMavenArgs']: - return pulumi.get(self, "maven") + @pulumi.getter(name="isNullCall") + def is_null_call(self) -> Optional[bool]: + """ + Boolean flag whether function null call. + """ + return pulumi.get(self, "is_null_call") - @maven.setter - def maven(self, value: Optional['GetClusterClusterInfoSpecLibraryMavenArgs']): - pulumi.set(self, "maven", value) + @is_null_call.setter + def is_null_call(self, value: Optional[bool]): + pulumi.set(self, "is_null_call", value) @property - @pulumi.getter - def pypi(self) -> Optional['GetClusterClusterInfoSpecLibraryPypiArgs']: - return pulumi.get(self, "pypi") + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of parent metastore. + """ + return pulumi.get(self, "metastore_id") - @pypi.setter - def pypi(self, value: Optional['GetClusterClusterInfoSpecLibraryPypiArgs']): - pulumi.set(self, "pypi", value) + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property @pulumi.getter - def requirements(self) -> Optional[str]: - return pulumi.get(self, "requirements") + def name(self) -> Optional[str]: + """ + Name of parameter. + """ + return pulumi.get(self, "name") - @requirements.setter - def requirements(self, value: Optional[str]): - pulumi.set(self, "requirements", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property @pulumi.getter - def whl(self) -> Optional[str]: - return pulumi.get(self, "whl") - - @whl.setter - def whl(self, value: Optional[str]): - pulumi.set(self, "whl", value) + def owner(self) -> Optional[str]: + """ + Username of current owner of function. + """ + return pulumi.get(self, "owner") + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) -if not MYPY: - class GetClusterClusterInfoSpecLibraryCranArgsDict(TypedDict): - package: str - repo: NotRequired[str] -elif False: - GetClusterClusterInfoSpecLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="parameterStyle") + def parameter_style(self) -> Optional[str]: + """ + Function parameter style. `S` is the value for SQL. + """ + return pulumi.get(self, "parameter_style") -@pulumi.input_type -class GetClusterClusterInfoSpecLibraryCranArgs: - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @parameter_style.setter + def parameter_style(self, value: Optional[str]): + pulumi.set(self, "parameter_style", value) @property @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + def properties(self) -> Optional[str]: + """ + JSON-serialized key-value pair map, encoded (escaped) as a string. + """ + return pulumi.get(self, "properties") - @package.setter - def package(self, value: str): - pulumi.set(self, "package", value) + @properties.setter + def properties(self, value: Optional[str]): + pulumi.set(self, "properties", value) @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @pulumi.getter(name="returnParams") + def return_params(self) -> Optional[Sequence['GetFunctionsFunctionReturnParamArgs']]: + """ + Table function return parameters. See `input_params` for description. + """ + return pulumi.get(self, "return_params") + @return_params.setter + def return_params(self, value: Optional[Sequence['GetFunctionsFunctionReturnParamArgs']]): + pulumi.set(self, "return_params", value) -if not MYPY: - class GetClusterClusterInfoSpecLibraryMavenArgsDict(TypedDict): - coordinates: str - exclusions: NotRequired[Sequence[str]] - repo: NotRequired[str] -elif False: - GetClusterClusterInfoSpecLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="routineBody") + def routine_body(self) -> Optional[str]: + """ + Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. + """ + return pulumi.get(self, "routine_body") -@pulumi.input_type -class GetClusterClusterInfoSpecLibraryMavenArgs: - def __init__(__self__, *, - coordinates: str, - exclusions: Optional[Sequence[str]] = None, - repo: Optional[str] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @routine_body.setter + def routine_body(self, value: Optional[str]): + pulumi.set(self, "routine_body", value) @property - @pulumi.getter - def coordinates(self) -> str: - return pulumi.get(self, "coordinates") + @pulumi.getter(name="routineDefinition") + def routine_definition(self) -> Optional[str]: + """ + Function body. + """ + return pulumi.get(self, "routine_definition") - @coordinates.setter - def coordinates(self, value: str): - pulumi.set(self, "coordinates", value) + @routine_definition.setter + def routine_definition(self, value: Optional[str]): + pulumi.set(self, "routine_definition", value) @property - @pulumi.getter - def exclusions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="routineDependencies") + def routine_dependencies(self) -> Optional[Sequence['GetFunctionsFunctionRoutineDependencyArgs']]: + """ + Function dependencies. + """ + return pulumi.get(self, "routine_dependencies") - @exclusions.setter - def exclusions(self, value: Optional[Sequence[str]]): - pulumi.set(self, "exclusions", value) + @routine_dependencies.setter + def routine_dependencies(self, value: Optional[Sequence['GetFunctionsFunctionRoutineDependencyArgs']]): + pulumi.set(self, "routine_dependencies", value) @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + Name of databricks_schema. + """ + return pulumi.get(self, "schema_name") + @schema_name.setter + def schema_name(self, value: Optional[str]): + pulumi.set(self, "schema_name", value) -if not MYPY: - class GetClusterClusterInfoSpecLibraryPypiArgsDict(TypedDict): - package: str - repo: NotRequired[str] -elif False: - GetClusterClusterInfoSpecLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="securityType") + def security_type(self) -> Optional[str]: + """ + Function security type. (Enum: `DEFINER`). + """ + return pulumi.get(self, "security_type") -@pulumi.input_type -class GetClusterClusterInfoSpecLibraryPypiArgs: - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @security_type.setter + def security_type(self, value: Optional[str]): + pulumi.set(self, "security_type", value) @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + @pulumi.getter(name="specificName") + def specific_name(self) -> Optional[str]: + """ + Specific name of the function; Reserved for future use. + """ + return pulumi.get(self, "specific_name") - @package.setter - def package(self, value: str): - pulumi.set(self, "package", value) + @specific_name.setter + def specific_name(self, value: Optional[str]): + pulumi.set(self, "specific_name", value) @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + @pulumi.getter(name="sqlDataAccess") + def sql_data_access(self) -> Optional[str]: + """ + Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). + """ + return pulumi.get(self, "sql_data_access") - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @sql_data_access.setter + def sql_data_access(self, value: Optional[str]): + pulumi.set(self, "sql_data_access", value) + @property + @pulumi.getter(name="sqlPath") + def sql_path(self) -> Optional[str]: + """ + List of schemes whose objects can be referenced without qualification. + """ + return pulumi.get(self, "sql_path") -if not MYPY: - class GetClusterClusterInfoSpecWorkloadTypeArgsDict(TypedDict): - clients: 'GetClusterClusterInfoSpecWorkloadTypeClientsArgsDict' -elif False: - GetClusterClusterInfoSpecWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + @sql_path.setter + def sql_path(self, value: Optional[str]): + pulumi.set(self, "sql_path", value) -@pulumi.input_type -class GetClusterClusterInfoSpecWorkloadTypeArgs: - def __init__(__self__, *, - clients: 'GetClusterClusterInfoSpecWorkloadTypeClientsArgs'): - pulumi.set(__self__, "clients", clients) + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this function was created, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter - def clients(self) -> 'GetClusterClusterInfoSpecWorkloadTypeClientsArgs': - return pulumi.get(self, "clients") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified function. + """ + return pulumi.get(self, "updated_by") - @clients.setter - def clients(self, value: 'GetClusterClusterInfoSpecWorkloadTypeClientsArgs'): - pulumi.set(self, "clients", value) + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) if not MYPY: - class GetClusterClusterInfoSpecWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[bool] - notebooks: NotRequired[bool] + class GetFunctionsFunctionInputParamArgsDict(TypedDict): + parameters: NotRequired[Sequence['GetFunctionsFunctionInputParamParameterArgsDict']] + """ + The array of definitions of the function's parameters: + """ elif False: - GetClusterClusterInfoSpecWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + GetFunctionsFunctionInputParamArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoSpecWorkloadTypeClientsArgs: +class GetFunctionsFunctionInputParamArgs: def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) - - @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") - - @jobs.setter - def jobs(self, value: Optional[bool]): - pulumi.set(self, "jobs", value) + parameters: Optional[Sequence['GetFunctionsFunctionInputParamParameterArgs']] = None): + """ + :param Sequence['GetFunctionsFunctionInputParamParameterArgs'] parameters: The array of definitions of the function's parameters: + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + def parameters(self) -> Optional[Sequence['GetFunctionsFunctionInputParamParameterArgs']]: + """ + The array of definitions of the function's parameters: + """ + return pulumi.get(self, "parameters") - @notebooks.setter - def notebooks(self, value: Optional[bool]): - pulumi.set(self, "notebooks", value) + @parameters.setter + def parameters(self, value: Optional[Sequence['GetFunctionsFunctionInputParamParameterArgs']]): + pulumi.set(self, "parameters", value) if not MYPY: - class GetClusterClusterInfoTerminationReasonArgsDict(TypedDict): - code: NotRequired[str] - parameters: NotRequired[Mapping[str, str]] - type: NotRequired[str] + class GetFunctionsFunctionInputParamParameterArgsDict(TypedDict): + name: str + """ + Name of parameter. + """ + position: int + """ + Ordinal position of column (starting at position 0). + """ + type_name: str + """ + Name of type (INT, STRUCT, MAP, etc.). + """ + type_text: str + """ + Full data type spec, SQL/catalogString text. + """ + comment: NotRequired[str] + """ + User-provided free-form text description. + """ + parameter_default: NotRequired[str] + """ + Default value of the parameter. + """ + parameter_mode: NotRequired[str] + """ + The mode of the function parameter. + """ + parameter_type: NotRequired[str] + """ + The type of function parameter (`PARAM` or `COLUMN`). + """ + type_interval_type: NotRequired[str] + """ + Format of IntervalType. + """ + type_json: NotRequired[str] + """ + Full data type spec, JSON-serialized. + """ + type_precision: NotRequired[int] + """ + Digits of precision; required on Create for DecimalTypes. + """ + type_scale: NotRequired[int] + """ + Digits to right of decimal; Required on Create for DecimalTypes. + """ elif False: - GetClusterClusterInfoTerminationReasonArgsDict: TypeAlias = Mapping[str, Any] + GetFunctionsFunctionInputParamParameterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetClusterClusterInfoTerminationReasonArgs: +class GetFunctionsFunctionInputParamParameterArgs: def __init__(__self__, *, - code: Optional[str] = None, - parameters: Optional[Mapping[str, str]] = None, - type: Optional[str] = None): - if code is not None: - pulumi.set(__self__, "code", code) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if type is not None: - pulumi.set(__self__, "type", type) + name: str, + position: int, + type_name: str, + type_text: str, + comment: Optional[str] = None, + parameter_default: Optional[str] = None, + parameter_mode: Optional[str] = None, + parameter_type: Optional[str] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = None): + """ + :param str name: Name of parameter. + :param int position: Ordinal position of column (starting at position 0). + :param str type_name: Name of type (INT, STRUCT, MAP, etc.). + :param str type_text: Full data type spec, SQL/catalogString text. + :param str comment: User-provided free-form text description. + :param str parameter_default: Default value of the parameter. + :param str parameter_mode: The mode of the function parameter. + :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). + :param str type_interval_type: Format of IntervalType. + :param str type_json: Full data type spec, JSON-serialized. + :param int type_precision: Digits of precision; required on Create for DecimalTypes. + :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "position", position) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "type_text", type_text) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if parameter_default is not None: + pulumi.set(__self__, "parameter_default", parameter_default) + if parameter_mode is not None: + pulumi.set(__self__, "parameter_mode", parameter_mode) + if parameter_type is not None: + pulumi.set(__self__, "parameter_type", parameter_type) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) @property @pulumi.getter - def code(self) -> Optional[str]: - return pulumi.get(self, "code") + def name(self) -> str: + """ + Name of parameter. + """ + return pulumi.get(self, "name") - @code.setter - def code(self, value: Optional[str]): - pulumi.set(self, "code", value) + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) @property @pulumi.getter - def parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "parameters") + def position(self) -> int: + """ + Ordinal position of column (starting at position 0). + """ + return pulumi.get(self, "position") - @parameters.setter - def parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "parameters", value) + @position.setter + def position(self, value: int): + pulumi.set(self, "position", value) @property - @pulumi.getter - def type(self) -> Optional[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[str]): - pulumi.set(self, "type", value) - - -if not MYPY: - class GetClusterClusterInfoWorkloadTypeArgsDict(TypedDict): - clients: 'GetClusterClusterInfoWorkloadTypeClientsArgsDict' -elif False: - GetClusterClusterInfoWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="typeName") + def type_name(self) -> str: + """ + Name of type (INT, STRUCT, MAP, etc.). + """ + return pulumi.get(self, "type_name") -@pulumi.input_type -class GetClusterClusterInfoWorkloadTypeArgs: - def __init__(__self__, *, - clients: 'GetClusterClusterInfoWorkloadTypeClientsArgs'): - pulumi.set(__self__, "clients", clients) + @type_name.setter + def type_name(self, value: str): + pulumi.set(self, "type_name", value) @property - @pulumi.getter - def clients(self) -> 'GetClusterClusterInfoWorkloadTypeClientsArgs': - return pulumi.get(self, "clients") - - @clients.setter - def clients(self, value: 'GetClusterClusterInfoWorkloadTypeClientsArgs'): - pulumi.set(self, "clients", value) - - -if not MYPY: - class GetClusterClusterInfoWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[bool] - notebooks: NotRequired[bool] -elif False: - GetClusterClusterInfoWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="typeText") + def type_text(self) -> str: + """ + Full data type spec, SQL/catalogString text. + """ + return pulumi.get(self, "type_text") -@pulumi.input_type -class GetClusterClusterInfoWorkloadTypeClientsArgs: - def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @type_text.setter + def type_text(self, value: str): + pulumi.set(self, "type_text", value) @property @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + def comment(self) -> Optional[str]: + """ + User-provided free-form text description. + """ + return pulumi.get(self, "comment") - @jobs.setter - def jobs(self, value: Optional[bool]): - pulumi.set(self, "jobs", value) + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") - - @notebooks.setter - def notebooks(self, value: Optional[bool]): - pulumi.set(self, "notebooks", value) - - -if not MYPY: - class GetClustersFilterByArgsDict(TypedDict): - cluster_sources: NotRequired[Sequence[str]] + @pulumi.getter(name="parameterDefault") + def parameter_default(self) -> Optional[str]: """ - List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + Default value of the parameter. """ - cluster_states: NotRequired[Sequence[str]] + return pulumi.get(self, "parameter_default") + + @parameter_default.setter + def parameter_default(self, value: Optional[str]): + pulumi.set(self, "parameter_default", value) + + @property + @pulumi.getter(name="parameterMode") + def parameter_mode(self) -> Optional[str]: """ - List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + The mode of the function parameter. """ - is_pinned: NotRequired[bool] + return pulumi.get(self, "parameter_mode") + + @parameter_mode.setter + def parameter_mode(self, value: Optional[str]): + pulumi.set(self, "parameter_mode", value) + + @property + @pulumi.getter(name="parameterType") + def parameter_type(self) -> Optional[str]: """ - Whether to filter by pinned clusters. + The type of function parameter (`PARAM` or `COLUMN`). """ - policy_id: NotRequired[str] + return pulumi.get(self, "parameter_type") + + @parameter_type.setter + def parameter_type(self, value: Optional[str]): + pulumi.set(self, "parameter_type", value) + + @property + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: """ - Filter by ClusterPolicy id. + Format of IntervalType. """ -elif False: - GetClustersFilterByArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "type_interval_type") -@pulumi.input_type -class GetClustersFilterByArgs: - def __init__(__self__, *, - cluster_sources: Optional[Sequence[str]] = None, - cluster_states: Optional[Sequence[str]] = None, - is_pinned: Optional[bool] = None, - policy_id: Optional[str] = None): + @type_interval_type.setter + def type_interval_type(self, value: Optional[str]): + pulumi.set(self, "type_interval_type", value) + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: """ - :param Sequence[str] cluster_sources: List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. - :param Sequence[str] cluster_states: List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. - :param bool is_pinned: Whether to filter by pinned clusters. - :param str policy_id: Filter by ClusterPolicy id. + Full data type spec, JSON-serialized. """ - if cluster_sources is not None: - pulumi.set(__self__, "cluster_sources", cluster_sources) - if cluster_states is not None: - pulumi.set(__self__, "cluster_states", cluster_states) - if is_pinned is not None: - pulumi.set(__self__, "is_pinned", is_pinned) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + return pulumi.get(self, "type_json") + + @type_json.setter + def type_json(self, value: Optional[str]): + pulumi.set(self, "type_json", value) @property - @pulumi.getter(name="clusterSources") - def cluster_sources(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: """ - List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + Digits of precision; required on Create for DecimalTypes. """ - return pulumi.get(self, "cluster_sources") + return pulumi.get(self, "type_precision") - @cluster_sources.setter - def cluster_sources(self, value: Optional[Sequence[str]]): - pulumi.set(self, "cluster_sources", value) + @type_precision.setter + def type_precision(self, value: Optional[int]): + pulumi.set(self, "type_precision", value) @property - @pulumi.getter(name="clusterStates") - def cluster_states(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: """ - List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + Digits to right of decimal; Required on Create for DecimalTypes. """ - return pulumi.get(self, "cluster_states") + return pulumi.get(self, "type_scale") - @cluster_states.setter - def cluster_states(self, value: Optional[Sequence[str]]): - pulumi.set(self, "cluster_states", value) + @type_scale.setter + def type_scale(self, value: Optional[int]): + pulumi.set(self, "type_scale", value) - @property - @pulumi.getter(name="isPinned") - def is_pinned(self) -> Optional[bool]: + +if not MYPY: + class GetFunctionsFunctionReturnParamArgsDict(TypedDict): + parameters: NotRequired[Sequence['GetFunctionsFunctionReturnParamParameterArgsDict']] """ - Whether to filter by pinned clusters. + The array of definitions of the function's parameters: """ - return pulumi.get(self, "is_pinned") +elif False: + GetFunctionsFunctionReturnParamArgsDict: TypeAlias = Mapping[str, Any] - @is_pinned.setter - def is_pinned(self, value: Optional[bool]): - pulumi.set(self, "is_pinned", value) +@pulumi.input_type +class GetFunctionsFunctionReturnParamArgs: + def __init__(__self__, *, + parameters: Optional[Sequence['GetFunctionsFunctionReturnParamParameterArgs']] = None): + """ + :param Sequence['GetFunctionsFunctionReturnParamParameterArgs'] parameters: The array of definitions of the function's parameters: + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: + @pulumi.getter + def parameters(self) -> Optional[Sequence['GetFunctionsFunctionReturnParamParameterArgs']]: """ - Filter by ClusterPolicy id. + The array of definitions of the function's parameters: """ - return pulumi.get(self, "policy_id") + return pulumi.get(self, "parameters") - @policy_id.setter - def policy_id(self, value: Optional[str]): - pulumi.set(self, "policy_id", value) + @parameters.setter + def parameters(self, value: Optional[Sequence['GetFunctionsFunctionReturnParamParameterArgs']]): + pulumi.set(self, "parameters", value) if not MYPY: - class GetCurrentMetastoreMetastoreInfoArgsDict(TypedDict): - cloud: NotRequired[str] - created_at: NotRequired[int] + class GetFunctionsFunctionReturnParamParameterArgsDict(TypedDict): + name: str """ - Timestamp (in milliseconds) when the current metastore was created. + Name of parameter. """ - created_by: NotRequired[str] + position: int """ - the ID of the identity that created the current metastore. + Ordinal position of column (starting at position 0). """ - default_data_access_config_id: NotRequired[str] + type_name: str """ - the ID of the default data access configuration. + Name of type (INT, STRUCT, MAP, etc.). """ - delta_sharing_organization_name: NotRequired[str] + type_text: str """ - The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + Full data type spec, SQL/catalogString text. """ - delta_sharing_recipient_token_lifetime_in_seconds: NotRequired[int] + comment: NotRequired[str] """ - the expiration duration in seconds on recipient data access tokens. + User-provided free-form text description. """ - delta_sharing_scope: NotRequired[str] + parameter_default: NotRequired[str] """ - Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + Default value of the parameter. """ - external_access_enabled: NotRequired[bool] - global_metastore_id: NotRequired[str] + parameter_mode: NotRequired[str] """ - Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + The mode of the function parameter. """ - metastore_id: NotRequired[str] + parameter_type: NotRequired[str] """ - Metastore ID. + The type of function parameter (`PARAM` or `COLUMN`). """ - name: NotRequired[str] + type_interval_type: NotRequired[str] """ - Name of metastore. + Format of IntervalType. """ - owner: NotRequired[str] + type_json: NotRequired[str] """ - Username/group name/sp application_id of the metastore owner. + Full data type spec, JSON-serialized. """ - privilege_model_version: NotRequired[str] + type_precision: NotRequired[int] """ - the version of the privilege model used by the metastore. + Digits of precision; required on Create for DecimalTypes. """ - region: NotRequired[str] + type_scale: NotRequired[int] """ - (Mandatory for account-level) The region of the metastore. + Digits to right of decimal; Required on Create for DecimalTypes. """ - storage_root: NotRequired[str] +elif False: + GetFunctionsFunctionReturnParamParameterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFunctionsFunctionReturnParamParameterArgs: + def __init__(__self__, *, + name: str, + position: int, + type_name: str, + type_text: str, + comment: Optional[str] = None, + parameter_default: Optional[str] = None, + parameter_mode: Optional[str] = None, + parameter_type: Optional[str] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = None): """ - Path on cloud storage account, where managed `Table` are stored. + :param str name: Name of parameter. + :param int position: Ordinal position of column (starting at position 0). + :param str type_name: Name of type (INT, STRUCT, MAP, etc.). + :param str type_text: Full data type spec, SQL/catalogString text. + :param str comment: User-provided free-form text description. + :param str parameter_default: Default value of the parameter. + :param str parameter_mode: The mode of the function parameter. + :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). + :param str type_interval_type: Format of IntervalType. + :param str type_json: Full data type spec, JSON-serialized. + :param int type_precision: Digits of precision; required on Create for DecimalTypes. + :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. """ - storage_root_credential_id: NotRequired[str] + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "position", position) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "type_text", type_text) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if parameter_default is not None: + pulumi.set(__self__, "parameter_default", parameter_default) + if parameter_mode is not None: + pulumi.set(__self__, "parameter_mode", parameter_mode) + if parameter_type is not None: + pulumi.set(__self__, "parameter_type", parameter_type) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) + + @property + @pulumi.getter + def name(self) -> str: """ - ID of a storage credential used for the `storage_root`. + Name of parameter. """ - storage_root_credential_name: NotRequired[str] + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def position(self) -> int: """ - Name of a storage credential used for the `storage_root`. + Ordinal position of column (starting at position 0). """ - updated_at: NotRequired[int] + return pulumi.get(self, "position") + + @position.setter + def position(self, value: int): + pulumi.set(self, "position", value) + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: """ - Timestamp (in milliseconds) when the current metastore was updated. + Name of type (INT, STRUCT, MAP, etc.). """ - updated_by: NotRequired[str] + return pulumi.get(self, "type_name") + + @type_name.setter + def type_name(self, value: str): + pulumi.set(self, "type_name", value) + + @property + @pulumi.getter(name="typeText") + def type_text(self) -> str: """ - the ID of the identity that updated the current metastore. + Full data type spec, SQL/catalogString text. """ -elif False: - GetCurrentMetastoreMetastoreInfoArgsDict: TypeAlias = Mapping[str, Any] + return pulumi.get(self, "type_text") -@pulumi.input_type -class GetCurrentMetastoreMetastoreInfoArgs: - def __init__(__self__, *, - cloud: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - default_data_access_config_id: Optional[str] = None, - delta_sharing_organization_name: Optional[str] = None, - delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, - delta_sharing_scope: Optional[str] = None, - external_access_enabled: Optional[bool] = None, - global_metastore_id: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - privilege_model_version: Optional[str] = None, - region: Optional[str] = None, - storage_root: Optional[str] = None, - storage_root_credential_id: Optional[str] = None, - storage_root_credential_name: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): + @type_text.setter + def type_text(self, value: str): + pulumi.set(self, "type_text", value) + + @property + @pulumi.getter + def comment(self) -> Optional[str]: """ - :param int created_at: Timestamp (in milliseconds) when the current metastore was created. - :param str created_by: the ID of the identity that created the current metastore. - :param str default_data_access_config_id: the ID of the default data access configuration. - :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - :param int delta_sharing_recipient_token_lifetime_in_seconds: the expiration duration in seconds on recipient data access tokens. - :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - :param str global_metastore_id: Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. - :param str metastore_id: Metastore ID. - :param str name: Name of metastore. - :param str owner: Username/group name/sp application_id of the metastore owner. - :param str privilege_model_version: the version of the privilege model used by the metastore. - :param str region: (Mandatory for account-level) The region of the metastore. - :param str storage_root: Path on cloud storage account, where managed `Table` are stored. - :param str storage_root_credential_id: ID of a storage credential used for the `storage_root`. - :param str storage_root_credential_name: Name of a storage credential used for the `storage_root`. - :param int updated_at: Timestamp (in milliseconds) when the current metastore was updated. - :param str updated_by: the ID of the identity that updated the current metastore. + User-provided free-form text description. """ - if cloud is not None: - pulumi.set(__self__, "cloud", cloud) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if default_data_access_config_id is not None: - pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) - if delta_sharing_organization_name is not None: - pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) - if delta_sharing_recipient_token_lifetime_in_seconds is not None: - pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) - if delta_sharing_scope is not None: - pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) - if external_access_enabled is not None: - pulumi.set(__self__, "external_access_enabled", external_access_enabled) - if global_metastore_id is not None: - pulumi.set(__self__, "global_metastore_id", global_metastore_id) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if privilege_model_version is not None: - pulumi.set(__self__, "privilege_model_version", privilege_model_version) - if region is not None: - pulumi.set(__self__, "region", region) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if storage_root_credential_id is not None: - pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) - if storage_root_credential_name is not None: - pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) @property - @pulumi.getter - def cloud(self) -> Optional[str]: - return pulumi.get(self, "cloud") + @pulumi.getter(name="parameterDefault") + def parameter_default(self) -> Optional[str]: + """ + Default value of the parameter. + """ + return pulumi.get(self, "parameter_default") - @cloud.setter - def cloud(self, value: Optional[str]): - pulumi.set(self, "cloud", value) + @parameter_default.setter + def parameter_default(self, value: Optional[str]): + pulumi.set(self, "parameter_default", value) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: + @pulumi.getter(name="parameterMode") + def parameter_mode(self) -> Optional[str]: """ - Timestamp (in milliseconds) when the current metastore was created. + The mode of the function parameter. """ - return pulumi.get(self, "created_at") + return pulumi.get(self, "parameter_mode") - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) + @parameter_mode.setter + def parameter_mode(self, value: Optional[str]): + pulumi.set(self, "parameter_mode", value) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: + @pulumi.getter(name="parameterType") + def parameter_type(self) -> Optional[str]: """ - the ID of the identity that created the current metastore. + The type of function parameter (`PARAM` or `COLUMN`). """ - return pulumi.get(self, "created_by") + return pulumi.get(self, "parameter_type") - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) + @parameter_type.setter + def parameter_type(self, value: Optional[str]): + pulumi.set(self, "parameter_type", value) @property - @pulumi.getter(name="defaultDataAccessConfigId") - def default_data_access_config_id(self) -> Optional[str]: + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: """ - the ID of the default data access configuration. + Format of IntervalType. """ - return pulumi.get(self, "default_data_access_config_id") + return pulumi.get(self, "type_interval_type") - @default_data_access_config_id.setter - def default_data_access_config_id(self, value: Optional[str]): - pulumi.set(self, "default_data_access_config_id", value) + @type_interval_type.setter + def type_interval_type(self, value: Optional[str]): + pulumi.set(self, "type_interval_type", value) @property - @pulumi.getter(name="deltaSharingOrganizationName") - def delta_sharing_organization_name(self) -> Optional[str]: + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: """ - The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + Full data type spec, JSON-serialized. """ - return pulumi.get(self, "delta_sharing_organization_name") + return pulumi.get(self, "type_json") - @delta_sharing_organization_name.setter - def delta_sharing_organization_name(self, value: Optional[str]): - pulumi.set(self, "delta_sharing_organization_name", value) + @type_json.setter + def type_json(self, value: Optional[str]): + pulumi.set(self, "type_json", value) @property - @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") - def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: """ - the expiration duration in seconds on recipient data access tokens. + Digits of precision; required on Create for DecimalTypes. """ - return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") + return pulumi.get(self, "type_precision") - @delta_sharing_recipient_token_lifetime_in_seconds.setter - def delta_sharing_recipient_token_lifetime_in_seconds(self, value: Optional[int]): - pulumi.set(self, "delta_sharing_recipient_token_lifetime_in_seconds", value) + @type_precision.setter + def type_precision(self, value: Optional[int]): + pulumi.set(self, "type_precision", value) @property - @pulumi.getter(name="deltaSharingScope") - def delta_sharing_scope(self) -> Optional[str]: + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: """ - Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + Digits to right of decimal; Required on Create for DecimalTypes. """ - return pulumi.get(self, "delta_sharing_scope") + return pulumi.get(self, "type_scale") - @delta_sharing_scope.setter - def delta_sharing_scope(self, value: Optional[str]): - pulumi.set(self, "delta_sharing_scope", value) + @type_scale.setter + def type_scale(self, value: Optional[int]): + pulumi.set(self, "type_scale", value) - @property - @pulumi.getter(name="externalAccessEnabled") - def external_access_enabled(self) -> Optional[bool]: - return pulumi.get(self, "external_access_enabled") - @external_access_enabled.setter - def external_access_enabled(self, value: Optional[bool]): - pulumi.set(self, "external_access_enabled", value) +if not MYPY: + class GetFunctionsFunctionRoutineDependencyArgsDict(TypedDict): + dependencies: NotRequired[Sequence['GetFunctionsFunctionRoutineDependencyDependencyArgsDict']] +elif False: + GetFunctionsFunctionRoutineDependencyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFunctionsFunctionRoutineDependencyArgs: + def __init__(__self__, *, + dependencies: Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyArgs']] = None): + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) @property - @pulumi.getter(name="globalMetastoreId") - def global_metastore_id(self) -> Optional[str]: - """ - Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. - """ - return pulumi.get(self, "global_metastore_id") + @pulumi.getter + def dependencies(self) -> Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyArgs']]: + return pulumi.get(self, "dependencies") - @global_metastore_id.setter - def global_metastore_id(self, value: Optional[str]): - pulumi.set(self, "global_metastore_id", value) + @dependencies.setter + def dependencies(self, value: Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyArgs']]): + pulumi.set(self, "dependencies", value) - @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - Metastore ID. - """ - return pulumi.get(self, "metastore_id") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) +if not MYPY: + class GetFunctionsFunctionRoutineDependencyDependencyArgsDict(TypedDict): + functions: NotRequired[Sequence['GetFunctionsFunctionRoutineDependencyDependencyFunctionArgsDict']] + tables: NotRequired[Sequence['GetFunctionsFunctionRoutineDependencyDependencyTableArgsDict']] +elif False: + GetFunctionsFunctionRoutineDependencyDependencyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFunctionsFunctionRoutineDependencyDependencyArgs: + def __init__(__self__, *, + functions: Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs']] = None, + tables: Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyTableArgs']] = None): + if functions is not None: + pulumi.set(__self__, "functions", functions) + if tables is not None: + pulumi.set(__self__, "tables", tables) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of metastore. - """ - return pulumi.get(self, "name") + def functions(self) -> Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs']]: + return pulumi.get(self, "functions") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @functions.setter + def functions(self, value: Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs']]): + pulumi.set(self, "functions", value) @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username/group name/sp application_id of the metastore owner. - """ - return pulumi.get(self, "owner") + def tables(self) -> Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyTableArgs']]: + return pulumi.get(self, "tables") - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) + @tables.setter + def tables(self, value: Optional[Sequence['GetFunctionsFunctionRoutineDependencyDependencyTableArgs']]): + pulumi.set(self, "tables", value) + + +if not MYPY: + class GetFunctionsFunctionRoutineDependencyDependencyFunctionArgsDict(TypedDict): + function_full_name: str +elif False: + GetFunctionsFunctionRoutineDependencyDependencyFunctionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFunctionsFunctionRoutineDependencyDependencyFunctionArgs: + def __init__(__self__, *, + function_full_name: str): + pulumi.set(__self__, "function_full_name", function_full_name) @property - @pulumi.getter(name="privilegeModelVersion") - def privilege_model_version(self) -> Optional[str]: - """ - the version of the privilege model used by the metastore. - """ - return pulumi.get(self, "privilege_model_version") + @pulumi.getter(name="functionFullName") + def function_full_name(self) -> str: + return pulumi.get(self, "function_full_name") - @privilege_model_version.setter - def privilege_model_version(self, value: Optional[str]): - pulumi.set(self, "privilege_model_version", value) + @function_full_name.setter + def function_full_name(self, value: str): + pulumi.set(self, "function_full_name", value) + + +if not MYPY: + class GetFunctionsFunctionRoutineDependencyDependencyTableArgsDict(TypedDict): + table_full_name: str +elif False: + GetFunctionsFunctionRoutineDependencyDependencyTableArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetFunctionsFunctionRoutineDependencyDependencyTableArgs: + def __init__(__self__, *, + table_full_name: str): + pulumi.set(__self__, "table_full_name", table_full_name) @property - @pulumi.getter - def region(self) -> Optional[str]: - """ - (Mandatory for account-level) The region of the metastore. - """ - return pulumi.get(self, "region") + @pulumi.getter(name="tableFullName") + def table_full_name(self) -> str: + return pulumi.get(self, "table_full_name") - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @table_full_name.setter + def table_full_name(self, value: str): + pulumi.set(self, "table_full_name", value) + + +if not MYPY: + class GetInstancePoolPoolInfoArgsDict(TypedDict): + default_tags: Mapping[str, str] + idle_instance_autotermination_minutes: int + instance_pool_id: str + instance_pool_name: str + aws_attributes: NotRequired['GetInstancePoolPoolInfoAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetInstancePoolPoolInfoAzureAttributesArgsDict'] + custom_tags: NotRequired[Mapping[str, str]] + disk_spec: NotRequired['GetInstancePoolPoolInfoDiskSpecArgsDict'] + enable_elastic_disk: NotRequired[bool] + gcp_attributes: NotRequired['GetInstancePoolPoolInfoGcpAttributesArgsDict'] + instance_pool_fleet_attributes: NotRequired[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgsDict']] + max_capacity: NotRequired[int] + min_idle_instances: NotRequired[int] + node_type_id: NotRequired[str] + preloaded_docker_images: NotRequired[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgsDict']] + preloaded_spark_versions: NotRequired[Sequence[str]] + state: NotRequired[str] + stats: NotRequired['GetInstancePoolPoolInfoStatsArgsDict'] +elif False: + GetInstancePoolPoolInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoArgs: + def __init__(__self__, *, + default_tags: Mapping[str, str], + idle_instance_autotermination_minutes: int, + instance_pool_id: str, + instance_pool_name: str, + aws_attributes: Optional['GetInstancePoolPoolInfoAwsAttributesArgs'] = None, + azure_attributes: Optional['GetInstancePoolPoolInfoAzureAttributesArgs'] = None, + custom_tags: Optional[Mapping[str, str]] = None, + disk_spec: Optional['GetInstancePoolPoolInfoDiskSpecArgs'] = None, + enable_elastic_disk: Optional[bool] = None, + gcp_attributes: Optional['GetInstancePoolPoolInfoGcpAttributesArgs'] = None, + instance_pool_fleet_attributes: Optional[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs']] = None, + max_capacity: Optional[int] = None, + min_idle_instances: Optional[int] = None, + node_type_id: Optional[str] = None, + preloaded_docker_images: Optional[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgs']] = None, + preloaded_spark_versions: Optional[Sequence[str]] = None, + state: Optional[str] = None, + stats: Optional['GetInstancePoolPoolInfoStatsArgs'] = None): + pulumi.set(__self__, "default_tags", default_tags) + pulumi.set(__self__, "idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + pulumi.set(__self__, "instance_pool_name", instance_pool_name) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if disk_spec is not None: + pulumi.set(__self__, "disk_spec", disk_spec) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if instance_pool_fleet_attributes is not None: + pulumi.set(__self__, "instance_pool_fleet_attributes", instance_pool_fleet_attributes) + if max_capacity is not None: + pulumi.set(__self__, "max_capacity", max_capacity) + if min_idle_instances is not None: + pulumi.set(__self__, "min_idle_instances", min_idle_instances) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if preloaded_docker_images is not None: + pulumi.set(__self__, "preloaded_docker_images", preloaded_docker_images) + if preloaded_spark_versions is not None: + pulumi.set(__self__, "preloaded_spark_versions", preloaded_spark_versions) + if state is not None: + pulumi.set(__self__, "state", state) + if stats is not None: + pulumi.set(__self__, "stats", stats) @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - Path on cloud storage account, where managed `Table` are stored. - """ - return pulumi.get(self, "storage_root") + @pulumi.getter(name="defaultTags") + def default_tags(self) -> Mapping[str, str]: + return pulumi.get(self, "default_tags") - @storage_root.setter - def storage_root(self, value: Optional[str]): - pulumi.set(self, "storage_root", value) + @default_tags.setter + def default_tags(self, value: Mapping[str, str]): + pulumi.set(self, "default_tags", value) @property - @pulumi.getter(name="storageRootCredentialId") - def storage_root_credential_id(self) -> Optional[str]: - """ - ID of a storage credential used for the `storage_root`. - """ - return pulumi.get(self, "storage_root_credential_id") + @pulumi.getter(name="idleInstanceAutoterminationMinutes") + def idle_instance_autotermination_minutes(self) -> int: + return pulumi.get(self, "idle_instance_autotermination_minutes") - @storage_root_credential_id.setter - def storage_root_credential_id(self, value: Optional[str]): - pulumi.set(self, "storage_root_credential_id", value) + @idle_instance_autotermination_minutes.setter + def idle_instance_autotermination_minutes(self, value: int): + pulumi.set(self, "idle_instance_autotermination_minutes", value) @property - @pulumi.getter(name="storageRootCredentialName") - def storage_root_credential_name(self) -> Optional[str]: - """ - Name of a storage credential used for the `storage_root`. - """ - return pulumi.get(self, "storage_root_credential_name") + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> str: + return pulumi.get(self, "instance_pool_id") - @storage_root_credential_name.setter - def storage_root_credential_name(self, value: Optional[str]): - pulumi.set(self, "storage_root_credential_name", value) + @instance_pool_id.setter + def instance_pool_id(self, value: str): + pulumi.set(self, "instance_pool_id", value) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Timestamp (in milliseconds) when the current metastore was updated. - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="instancePoolName") + def instance_pool_name(self) -> str: + return pulumi.get(self, "instance_pool_name") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @instance_pool_name.setter + def instance_pool_name(self, value: str): + pulumi.set(self, "instance_pool_name", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - the ID of the identity that updated the current metastore. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['GetInstancePoolPoolInfoAwsAttributesArgs']: + return pulumi.get(self, "aws_attributes") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @aws_attributes.setter + def aws_attributes(self, value: Optional['GetInstancePoolPoolInfoAwsAttributesArgs']): + pulumi.set(self, "aws_attributes", value) + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['GetInstancePoolPoolInfoAzureAttributesArgs']: + return pulumi.get(self, "azure_attributes") -if not MYPY: - class GetExternalLocationExternalLocationInfoArgsDict(TypedDict): - access_point: NotRequired[str] - """ - The ARN of the s3 access point to use with the external location (AWS). - """ - browse_only: NotRequired[bool] - comment: NotRequired[str] - """ - User-supplied comment. - """ - created_at: NotRequired[int] - """ - Time at which this catalog was created, in epoch milliseconds. - """ - created_by: NotRequired[str] - """ - Username of catalog creator. - """ - credential_id: NotRequired[str] - """ - Unique ID of storage credential. - """ - credential_name: NotRequired[str] - """ - Name of the StorageCredential to use with this external location. - """ - encryption_details: NotRequired['GetExternalLocationExternalLocationInfoEncryptionDetailsArgsDict'] - """ - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - """ - fallback: NotRequired[bool] - isolation_mode: NotRequired[str] - metastore_id: NotRequired[str] - """ - Unique identifier of the parent Metastore. - """ - name: NotRequired[str] - """ - The name of the external location - """ - owner: NotRequired[str] - """ - Username/groupname/sp application_id of the external location owner. - """ - read_only: NotRequired[bool] - """ - Indicates whether the external location is read-only. - """ - updated_at: NotRequired[int] - """ - Time at which this catalog was last modified, in epoch milliseconds. - """ - updated_by: NotRequired[str] - """ - Username of user who last modified catalog. - """ - url: NotRequired[str] - """ - Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - """ -elif False: - GetExternalLocationExternalLocationInfoArgsDict: TypeAlias = Mapping[str, Any] + @azure_attributes.setter + def azure_attributes(self, value: Optional['GetInstancePoolPoolInfoAzureAttributesArgs']): + pulumi.set(self, "azure_attributes", value) -@pulumi.input_type -class GetExternalLocationExternalLocationInfoArgs: - def __init__(__self__, *, - access_point: Optional[str] = None, - browse_only: Optional[bool] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - credential_id: Optional[str] = None, - credential_name: Optional[str] = None, - encryption_details: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsArgs'] = None, - fallback: Optional[bool] = None, - isolation_mode: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - read_only: Optional[bool] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None, - url: Optional[str] = None): - """ - :param str access_point: The ARN of the s3 access point to use with the external location (AWS). - :param str comment: User-supplied comment. - :param int created_at: Time at which this catalog was created, in epoch milliseconds. - :param str created_by: Username of catalog creator. - :param str credential_id: Unique ID of storage credential. - :param str credential_name: Name of the StorageCredential to use with this external location. - :param 'GetExternalLocationExternalLocationInfoEncryptionDetailsArgs' encryption_details: The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - :param str metastore_id: Unique identifier of the parent Metastore. - :param str name: The name of the external location - :param str owner: Username/groupname/sp application_id of the external location owner. - :param bool read_only: Indicates whether the external location is read-only. - :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. - :param str updated_by: Username of user who last modified catalog. - :param str url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - """ - if access_point is not None: - pulumi.set(__self__, "access_point", access_point) - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) - if encryption_details is not None: - pulumi.set(__self__, "encryption_details", encryption_details) - if fallback is not None: - pulumi.set(__self__, "fallback", fallback) - if isolation_mode is not None: - pulumi.set(__self__, "isolation_mode", isolation_mode) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if read_only is not None: - pulumi.set(__self__, "read_only", read_only) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) - if url is not None: - pulumi.set(__self__, "url", url) + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") + + @custom_tags.setter + def custom_tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "custom_tags", value) @property - @pulumi.getter(name="accessPoint") - def access_point(self) -> Optional[str]: - """ - The ARN of the s3 access point to use with the external location (AWS). - """ - return pulumi.get(self, "access_point") + @pulumi.getter(name="diskSpec") + def disk_spec(self) -> Optional['GetInstancePoolPoolInfoDiskSpecArgs']: + return pulumi.get(self, "disk_spec") + + @disk_spec.setter + def disk_spec(self, value: Optional['GetInstancePoolPoolInfoDiskSpecArgs']): + pulumi.set(self, "disk_spec", value) + + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[bool]: + return pulumi.get(self, "enable_elastic_disk") - @access_point.setter - def access_point(self, value: Optional[str]): - pulumi.set(self, "access_point", value) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: Optional[bool]): + pulumi.set(self, "enable_elastic_disk", value) @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - return pulumi.get(self, "browse_only") + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['GetInstancePoolPoolInfoGcpAttributesArgs']: + return pulumi.get(self, "gcp_attributes") - @browse_only.setter - def browse_only(self, value: Optional[bool]): - pulumi.set(self, "browse_only", value) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional['GetInstancePoolPoolInfoGcpAttributesArgs']): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-supplied comment. - """ - return pulumi.get(self, "comment") + @pulumi.getter(name="instancePoolFleetAttributes") + def instance_pool_fleet_attributes(self) -> Optional[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs']]: + return pulumi.get(self, "instance_pool_fleet_attributes") - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) + @instance_pool_fleet_attributes.setter + def instance_pool_fleet_attributes(self, value: Optional[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs']]): + pulumi.set(self, "instance_pool_fleet_attributes", value) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - Time at which this catalog was created, in epoch milliseconds. - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="maxCapacity") + def max_capacity(self) -> Optional[int]: + return pulumi.get(self, "max_capacity") - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) + @max_capacity.setter + def max_capacity(self, value: Optional[int]): + pulumi.set(self, "max_capacity", value) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - Username of catalog creator. - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="minIdleInstances") + def min_idle_instances(self) -> Optional[int]: + return pulumi.get(self, "min_idle_instances") - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) + @min_idle_instances.setter + def min_idle_instances(self, value: Optional[int]): + pulumi.set(self, "min_idle_instances", value) @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[str]: - """ - Unique ID of storage credential. - """ - return pulumi.get(self, "credential_id") + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[str]: + return pulumi.get(self, "node_type_id") - @credential_id.setter - def credential_id(self, value: Optional[str]): - pulumi.set(self, "credential_id", value) + @node_type_id.setter + def node_type_id(self, value: Optional[str]): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter(name="credentialName") - def credential_name(self) -> Optional[str]: - """ - Name of the StorageCredential to use with this external location. - """ - return pulumi.get(self, "credential_name") + @pulumi.getter(name="preloadedDockerImages") + def preloaded_docker_images(self) -> Optional[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgs']]: + return pulumi.get(self, "preloaded_docker_images") - @credential_name.setter - def credential_name(self, value: Optional[str]): - pulumi.set(self, "credential_name", value) + @preloaded_docker_images.setter + def preloaded_docker_images(self, value: Optional[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgs']]): + pulumi.set(self, "preloaded_docker_images", value) @property - @pulumi.getter(name="encryptionDetails") - def encryption_details(self) -> Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsArgs']: - """ - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - """ - return pulumi.get(self, "encryption_details") + @pulumi.getter(name="preloadedSparkVersions") + def preloaded_spark_versions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "preloaded_spark_versions") - @encryption_details.setter - def encryption_details(self, value: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsArgs']): - pulumi.set(self, "encryption_details", value) + @preloaded_spark_versions.setter + def preloaded_spark_versions(self, value: Optional[Sequence[str]]): + pulumi.set(self, "preloaded_spark_versions", value) @property @pulumi.getter - def fallback(self) -> Optional[bool]: - return pulumi.get(self, "fallback") + def state(self) -> Optional[str]: + return pulumi.get(self, "state") - @fallback.setter - def fallback(self, value: Optional[bool]): - pulumi.set(self, "fallback", value) + @state.setter + def state(self, value: Optional[str]): + pulumi.set(self, "state", value) @property - @pulumi.getter(name="isolationMode") - def isolation_mode(self) -> Optional[str]: - return pulumi.get(self, "isolation_mode") + @pulumi.getter + def stats(self) -> Optional['GetInstancePoolPoolInfoStatsArgs']: + return pulumi.get(self, "stats") - @isolation_mode.setter - def isolation_mode(self, value: Optional[str]): - pulumi.set(self, "isolation_mode", value) + @stats.setter + def stats(self, value: Optional['GetInstancePoolPoolInfoStatsArgs']): + pulumi.set(self, "stats", value) + + +if not MYPY: + class GetInstancePoolPoolInfoAwsAttributesArgsDict(TypedDict): + zone_id: str + availability: NotRequired[str] + spot_bid_price_percent: NotRequired[int] +elif False: + GetInstancePoolPoolInfoAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoAwsAttributesArgs: + def __init__(__self__, *, + zone_id: str, + availability: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None): + pulumi.set(__self__, "zone_id", zone_id) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - Unique identifier of the parent Metastore. - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + return pulumi.get(self, "zone_id") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) + @zone_id.setter + def zone_id(self, value: str): + pulumi.set(self, "zone_id", value) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - The name of the external location - """ - return pulumi.get(self, "name") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[int]): + pulumi.set(self, "spot_bid_price_percent", value) + + +if not MYPY: + class GetInstancePoolPoolInfoAzureAttributesArgsDict(TypedDict): + availability: NotRequired[str] + spot_bid_max_price: NotRequired[float] +elif False: + GetInstancePoolPoolInfoAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoAzureAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username/groupname/sp application_id of the external location owner. - """ - return pulumi.get(self, "owner") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="readOnly") - def read_only(self) -> Optional[bool]: - """ - Indicates whether the external location is read-only. - """ - return pulumi.get(self, "read_only") + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") - @read_only.setter - def read_only(self, value: Optional[bool]): - pulumi.set(self, "read_only", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[float]): + pulumi.set(self, "spot_bid_max_price", value) + + +if not MYPY: + class GetInstancePoolPoolInfoDiskSpecArgsDict(TypedDict): + disk_count: NotRequired[int] + disk_size: NotRequired[int] + disk_type: NotRequired['GetInstancePoolPoolInfoDiskSpecDiskTypeArgsDict'] +elif False: + GetInstancePoolPoolInfoDiskSpecArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoDiskSpecArgs: + def __init__(__self__, *, + disk_count: Optional[int] = None, + disk_size: Optional[int] = None, + disk_type: Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs'] = None): + if disk_count is not None: + pulumi.set(__self__, "disk_count", disk_count) + if disk_size is not None: + pulumi.set(__self__, "disk_size", disk_size) + if disk_type is not None: + pulumi.set(__self__, "disk_type", disk_type) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Time at which this catalog was last modified, in epoch milliseconds. - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="diskCount") + def disk_count(self) -> Optional[int]: + return pulumi.get(self, "disk_count") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @disk_count.setter + def disk_count(self, value: Optional[int]): + pulumi.set(self, "disk_count", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - Username of user who last modified catalog. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter(name="diskSize") + def disk_size(self) -> Optional[int]: + return pulumi.get(self, "disk_size") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @disk_size.setter + def disk_size(self, value: Optional[int]): + pulumi.set(self, "disk_size", value) @property - @pulumi.getter - def url(self) -> Optional[str]: - """ - Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - """ - return pulumi.get(self, "url") + @pulumi.getter(name="diskType") + def disk_type(self) -> Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs']: + return pulumi.get(self, "disk_type") - @url.setter - def url(self, value: Optional[str]): - pulumi.set(self, "url", value) + @disk_type.setter + def disk_type(self, value: Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs']): + pulumi.set(self, "disk_type", value) if not MYPY: - class GetExternalLocationExternalLocationInfoEncryptionDetailsArgsDict(TypedDict): - sse_encryption_details: NotRequired['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict'] + class GetInstancePoolPoolInfoDiskSpecDiskTypeArgsDict(TypedDict): + azure_disk_volume_type: NotRequired[str] + ebs_volume_type: NotRequired[str] elif False: - GetExternalLocationExternalLocationInfoEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] + GetInstancePoolPoolInfoDiskSpecDiskTypeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetExternalLocationExternalLocationInfoEncryptionDetailsArgs: +class GetInstancePoolPoolInfoDiskSpecDiskTypeArgs: def __init__(__self__, *, - sse_encryption_details: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs'] = None): - if sse_encryption_details is not None: - pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) + azure_disk_volume_type: Optional[str] = None, + ebs_volume_type: Optional[str] = None): + if azure_disk_volume_type is not None: + pulumi.set(__self__, "azure_disk_volume_type", azure_disk_volume_type) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) @property - @pulumi.getter(name="sseEncryptionDetails") - def sse_encryption_details(self) -> Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs']: - return pulumi.get(self, "sse_encryption_details") + @pulumi.getter(name="azureDiskVolumeType") + def azure_disk_volume_type(self) -> Optional[str]: + return pulumi.get(self, "azure_disk_volume_type") - @sse_encryption_details.setter - def sse_encryption_details(self, value: Optional['GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs']): - pulumi.set(self, "sse_encryption_details", value) + @azure_disk_volume_type.setter + def azure_disk_volume_type(self, value: Optional[str]): + pulumi.set(self, "azure_disk_volume_type", value) + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[str]): + pulumi.set(self, "ebs_volume_type", value) if not MYPY: - class GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict(TypedDict): - algorithm: NotRequired[str] - aws_kms_key_arn: NotRequired[str] + class GetInstancePoolPoolInfoGcpAttributesArgsDict(TypedDict): + local_ssd_count: int + zone_id: str + gcp_availability: NotRequired[str] elif False: - GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgsDict: TypeAlias = Mapping[str, Any] + GetInstancePoolPoolInfoGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsArgs: +class GetInstancePoolPoolInfoGcpAttributesArgs: def __init__(__self__, *, - algorithm: Optional[str] = None, - aws_kms_key_arn: Optional[str] = None): - if algorithm is not None: - pulumi.set(__self__, "algorithm", algorithm) - if aws_kms_key_arn is not None: - pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) + local_ssd_count: int, + zone_id: str, + gcp_availability: Optional[str] = None): + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + pulumi.set(__self__, "zone_id", zone_id) + if gcp_availability is not None: + pulumi.set(__self__, "gcp_availability", gcp_availability) @property - @pulumi.getter - def algorithm(self) -> Optional[str]: - return pulumi.get(self, "algorithm") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> int: + return pulumi.get(self, "local_ssd_count") - @algorithm.setter - def algorithm(self, value: Optional[str]): - pulumi.set(self, "algorithm", value) + @local_ssd_count.setter + def local_ssd_count(self, value: int): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="awsKmsKeyArn") - def aws_kms_key_arn(self) -> Optional[str]: - return pulumi.get(self, "aws_kms_key_arn") + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + return pulumi.get(self, "zone_id") - @aws_kms_key_arn.setter - def aws_kms_key_arn(self, value: Optional[str]): - pulumi.set(self, "aws_kms_key_arn", value) + @zone_id.setter + def zone_id(self, value: str): + pulumi.set(self, "zone_id", value) + @property + @pulumi.getter(name="gcpAvailability") + def gcp_availability(self) -> Optional[str]: + return pulumi.get(self, "gcp_availability") -if not MYPY: - class GetFunctionsFunctionArgsDict(TypedDict): - browse_only: NotRequired[bool] - """ - Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. - """ - catalog_name: NotRequired[str] - """ - Name of databricks_catalog. - """ - comment: NotRequired[str] - """ - User-provided free-form text description. - """ - created_at: NotRequired[int] - """ - Time at which this function was created, in epoch milliseconds. - """ - created_by: NotRequired[str] - """ - Username of function creator. - """ - data_type: NotRequired[str] - """ - Scalar function return data type. - """ - external_language: NotRequired[str] - """ - External function language. - """ - external_name: NotRequired[str] - """ - External function name. - """ - full_data_type: NotRequired[str] - """ - Pretty printed function data type. - """ - full_name: NotRequired[str] - """ - Full name of function, in form of catalog_name.schema_name.function__name - """ - function_id: NotRequired[str] - """ - Id of Function, relative to parent schema. - """ - input_params: NotRequired['GetFunctionsFunctionInputParamsArgsDict'] - """ - object describing input parameters. Consists of the single attribute: - """ - is_deterministic: NotRequired[bool] - """ - Boolean flag specifying whether the function is deterministic. - """ - is_null_call: NotRequired[bool] - """ - Boolean flag whether function null call. - """ - metastore_id: NotRequired[str] - """ - Unique identifier of parent metastore. - """ - name: NotRequired[str] - """ - Name of parameter. - """ - owner: NotRequired[str] - """ - Username of current owner of function. - """ - parameter_style: NotRequired[str] - """ - Function parameter style. `S` is the value for SQL. - """ - properties: NotRequired[str] - """ - JSON-serialized key-value pair map, encoded (escaped) as a string. - """ - return_params: NotRequired['GetFunctionsFunctionReturnParamsArgsDict'] - """ - Table function return parameters. See `input_params` for description. - """ - routine_body: NotRequired[str] - """ - Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. - """ - routine_definition: NotRequired[str] - """ - Function body. - """ - routine_dependencies: NotRequired['GetFunctionsFunctionRoutineDependenciesArgsDict'] - """ - Function dependencies. - """ - schema_name: NotRequired[str] - """ - Name of databricks_schema. - """ - security_type: NotRequired[str] - """ - Function security type. (Enum: `DEFINER`). - """ - specific_name: NotRequired[str] - """ - Specific name of the function; Reserved for future use. - """ - sql_data_access: NotRequired[str] - """ - Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). - """ - sql_path: NotRequired[str] - """ - List of schemes whose objects can be referenced without qualification. - """ - updated_at: NotRequired[int] - """ - Time at which this function was created, in epoch milliseconds. - """ - updated_by: NotRequired[str] - """ - Username of user who last modified function. - """ + @gcp_availability.setter + def gcp_availability(self, value: Optional[str]): + pulumi.set(self, "gcp_availability", value) + + +if not MYPY: + class GetInstancePoolPoolInfoInstancePoolFleetAttributeArgsDict(TypedDict): + launch_template_overrides: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgsDict'] + fleet_on_demand_option: NotRequired['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgsDict'] + fleet_spot_option: NotRequired['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgsDict'] elif False: - GetFunctionsFunctionArgsDict: TypeAlias = Mapping[str, Any] + GetInstancePoolPoolInfoInstancePoolFleetAttributeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetFunctionsFunctionArgs: +class GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs: def __init__(__self__, *, - browse_only: Optional[bool] = None, - catalog_name: Optional[str] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - data_type: Optional[str] = None, - external_language: Optional[str] = None, - external_name: Optional[str] = None, - full_data_type: Optional[str] = None, - full_name: Optional[str] = None, - function_id: Optional[str] = None, - input_params: Optional['GetFunctionsFunctionInputParamsArgs'] = None, - is_deterministic: Optional[bool] = None, - is_null_call: Optional[bool] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - parameter_style: Optional[str] = None, - properties: Optional[str] = None, - return_params: Optional['GetFunctionsFunctionReturnParamsArgs'] = None, - routine_body: Optional[str] = None, - routine_definition: Optional[str] = None, - routine_dependencies: Optional['GetFunctionsFunctionRoutineDependenciesArgs'] = None, - schema_name: Optional[str] = None, - security_type: Optional[str] = None, - specific_name: Optional[str] = None, - sql_data_access: Optional[str] = None, - sql_path: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param bool browse_only: Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. - :param str catalog_name: Name of databricks_catalog. - :param str comment: User-provided free-form text description. - :param int created_at: Time at which this function was created, in epoch milliseconds. - :param str created_by: Username of function creator. - :param str data_type: Scalar function return data type. - :param str external_language: External function language. - :param str external_name: External function name. - :param str full_data_type: Pretty printed function data type. - :param str full_name: Full name of function, in form of catalog_name.schema_name.function__name - :param str function_id: Id of Function, relative to parent schema. - :param 'GetFunctionsFunctionInputParamsArgs' input_params: object describing input parameters. Consists of the single attribute: - :param bool is_deterministic: Boolean flag specifying whether the function is deterministic. - :param bool is_null_call: Boolean flag whether function null call. - :param str metastore_id: Unique identifier of parent metastore. - :param str name: Name of parameter. - :param str owner: Username of current owner of function. - :param str parameter_style: Function parameter style. `S` is the value for SQL. - :param str properties: JSON-serialized key-value pair map, encoded (escaped) as a string. - :param 'GetFunctionsFunctionReturnParamsArgs' return_params: Table function return parameters. See `input_params` for description. - :param str routine_body: Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. - :param str routine_definition: Function body. - :param 'GetFunctionsFunctionRoutineDependenciesArgs' routine_dependencies: Function dependencies. - :param str schema_name: Name of databricks_schema. - :param str security_type: Function security type. (Enum: `DEFINER`). - :param str specific_name: Specific name of the function; Reserved for future use. - :param str sql_data_access: Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). - :param str sql_path: List of schemes whose objects can be referenced without qualification. - :param int updated_at: Time at which this function was created, in epoch milliseconds. - :param str updated_by: Username of user who last modified function. - """ - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if data_type is not None: - pulumi.set(__self__, "data_type", data_type) - if external_language is not None: - pulumi.set(__self__, "external_language", external_language) - if external_name is not None: - pulumi.set(__self__, "external_name", external_name) - if full_data_type is not None: - pulumi.set(__self__, "full_data_type", full_data_type) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if function_id is not None: - pulumi.set(__self__, "function_id", function_id) - if input_params is not None: - pulumi.set(__self__, "input_params", input_params) - if is_deterministic is not None: - pulumi.set(__self__, "is_deterministic", is_deterministic) - if is_null_call is not None: - pulumi.set(__self__, "is_null_call", is_null_call) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if parameter_style is not None: - pulumi.set(__self__, "parameter_style", parameter_style) - if properties is not None: - pulumi.set(__self__, "properties", properties) - if return_params is not None: - pulumi.set(__self__, "return_params", return_params) - if routine_body is not None: - pulumi.set(__self__, "routine_body", routine_body) - if routine_definition is not None: - pulumi.set(__self__, "routine_definition", routine_definition) - if routine_dependencies is not None: - pulumi.set(__self__, "routine_dependencies", routine_dependencies) - if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) - if security_type is not None: - pulumi.set(__self__, "security_type", security_type) - if specific_name is not None: - pulumi.set(__self__, "specific_name", specific_name) - if sql_data_access is not None: - pulumi.set(__self__, "sql_data_access", sql_data_access) - if sql_path is not None: - pulumi.set(__self__, "sql_path", sql_path) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + launch_template_overrides: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs'], + fleet_on_demand_option: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs'] = None, + fleet_spot_option: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs'] = None): + pulumi.set(__self__, "launch_template_overrides", launch_template_overrides) + if fleet_on_demand_option is not None: + pulumi.set(__self__, "fleet_on_demand_option", fleet_on_demand_option) + if fleet_spot_option is not None: + pulumi.set(__self__, "fleet_spot_option", fleet_spot_option) @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - """ - Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. - """ - return pulumi.get(self, "browse_only") + @pulumi.getter(name="launchTemplateOverrides") + def launch_template_overrides(self) -> Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs']: + return pulumi.get(self, "launch_template_overrides") - @browse_only.setter - def browse_only(self, value: Optional[bool]): - pulumi.set(self, "browse_only", value) + @launch_template_overrides.setter + def launch_template_overrides(self, value: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs']): + pulumi.set(self, "launch_template_overrides", value) @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[str]: - """ - Name of databricks_catalog. - """ - return pulumi.get(self, "catalog_name") + @pulumi.getter(name="fleetOnDemandOption") + def fleet_on_demand_option(self) -> Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs']: + return pulumi.get(self, "fleet_on_demand_option") - @catalog_name.setter - def catalog_name(self, value: Optional[str]): - pulumi.set(self, "catalog_name", value) + @fleet_on_demand_option.setter + def fleet_on_demand_option(self, value: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs']): + pulumi.set(self, "fleet_on_demand_option", value) @property - @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-provided free-form text description. - """ - return pulumi.get(self, "comment") + @pulumi.getter(name="fleetSpotOption") + def fleet_spot_option(self) -> Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs']: + return pulumi.get(self, "fleet_spot_option") - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) + @fleet_spot_option.setter + def fleet_spot_option(self, value: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs']): + pulumi.set(self, "fleet_spot_option", value) - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - Time at which this function was created, in epoch milliseconds. - """ - return pulumi.get(self, "created_at") - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) +if not MYPY: + class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgsDict(TypedDict): + allocation_strategy: str + instance_pools_to_use_count: NotRequired[int] +elif False: + GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs: + def __init__(__self__, *, + allocation_strategy: str, + instance_pools_to_use_count: Optional[int] = None): + pulumi.set(__self__, "allocation_strategy", allocation_strategy) + if instance_pools_to_use_count is not None: + pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - Username of function creator. - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="allocationStrategy") + def allocation_strategy(self) -> str: + return pulumi.get(self, "allocation_strategy") - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) + @allocation_strategy.setter + def allocation_strategy(self, value: str): + pulumi.set(self, "allocation_strategy", value) @property - @pulumi.getter(name="dataType") - def data_type(self) -> Optional[str]: - """ - Scalar function return data type. - """ - return pulumi.get(self, "data_type") + @pulumi.getter(name="instancePoolsToUseCount") + def instance_pools_to_use_count(self) -> Optional[int]: + return pulumi.get(self, "instance_pools_to_use_count") - @data_type.setter - def data_type(self, value: Optional[str]): - pulumi.set(self, "data_type", value) + @instance_pools_to_use_count.setter + def instance_pools_to_use_count(self, value: Optional[int]): + pulumi.set(self, "instance_pools_to_use_count", value) + + +if not MYPY: + class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgsDict(TypedDict): + allocation_strategy: str + instance_pools_to_use_count: NotRequired[int] +elif False: + GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs: + def __init__(__self__, *, + allocation_strategy: str, + instance_pools_to_use_count: Optional[int] = None): + pulumi.set(__self__, "allocation_strategy", allocation_strategy) + if instance_pools_to_use_count is not None: + pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) @property - @pulumi.getter(name="externalLanguage") - def external_language(self) -> Optional[str]: - """ - External function language. - """ - return pulumi.get(self, "external_language") + @pulumi.getter(name="allocationStrategy") + def allocation_strategy(self) -> str: + return pulumi.get(self, "allocation_strategy") - @external_language.setter - def external_language(self, value: Optional[str]): - pulumi.set(self, "external_language", value) + @allocation_strategy.setter + def allocation_strategy(self, value: str): + pulumi.set(self, "allocation_strategy", value) @property - @pulumi.getter(name="externalName") - def external_name(self) -> Optional[str]: - """ - External function name. - """ - return pulumi.get(self, "external_name") + @pulumi.getter(name="instancePoolsToUseCount") + def instance_pools_to_use_count(self) -> Optional[int]: + return pulumi.get(self, "instance_pools_to_use_count") - @external_name.setter - def external_name(self, value: Optional[str]): - pulumi.set(self, "external_name", value) + @instance_pools_to_use_count.setter + def instance_pools_to_use_count(self, value: Optional[int]): + pulumi.set(self, "instance_pools_to_use_count", value) + + +if not MYPY: + class GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgsDict(TypedDict): + availability_zone: str + instance_type: str +elif False: + GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs: + def __init__(__self__, *, + availability_zone: str, + instance_type: str): + pulumi.set(__self__, "availability_zone", availability_zone) + pulumi.set(__self__, "instance_type", instance_type) @property - @pulumi.getter(name="fullDataType") - def full_data_type(self) -> Optional[str]: - """ - Pretty printed function data type. - """ - return pulumi.get(self, "full_data_type") + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> str: + return pulumi.get(self, "availability_zone") - @full_data_type.setter - def full_data_type(self, value: Optional[str]): - pulumi.set(self, "full_data_type", value) + @availability_zone.setter + def availability_zone(self, value: str): + pulumi.set(self, "availability_zone", value) @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - Full name of function, in form of catalog_name.schema_name.function__name - """ - return pulumi.get(self, "full_name") + @pulumi.getter(name="instanceType") + def instance_type(self) -> str: + return pulumi.get(self, "instance_type") - @full_name.setter - def full_name(self, value: Optional[str]): - pulumi.set(self, "full_name", value) + @instance_type.setter + def instance_type(self, value: str): + pulumi.set(self, "instance_type", value) + + +if not MYPY: + class GetInstancePoolPoolInfoPreloadedDockerImageArgsDict(TypedDict): + url: str + basic_auth: NotRequired['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgsDict'] +elif False: + GetInstancePoolPoolInfoPreloadedDockerImageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoPreloadedDockerImageArgs: + def __init__(__self__, *, + url: str, + basic_auth: Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property - @pulumi.getter(name="functionId") - def function_id(self) -> Optional[str]: - """ - Id of Function, relative to parent schema. - """ - return pulumi.get(self, "function_id") + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") - @function_id.setter - def function_id(self, value: Optional[str]): - pulumi.set(self, "function_id", value) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="inputParams") - def input_params(self) -> Optional['GetFunctionsFunctionInputParamsArgs']: - """ - object describing input parameters. Consists of the single attribute: - """ - return pulumi.get(self, "input_params") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") - @input_params.setter - def input_params(self, value: Optional['GetFunctionsFunctionInputParamsArgs']): - pulumi.set(self, "input_params", value) + @basic_auth.setter + def basic_auth(self, value: Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) + + +if not MYPY: + class GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgsDict(TypedDict): + password: str + username: str +elif False: + GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="isDeterministic") - def is_deterministic(self) -> Optional[bool]: - """ - Boolean flag specifying whether the function is deterministic. - """ - return pulumi.get(self, "is_deterministic") + @pulumi.getter + def password(self) -> str: + return pulumi.get(self, "password") - @is_deterministic.setter - def is_deterministic(self, value: Optional[bool]): - pulumi.set(self, "is_deterministic", value) + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="isNullCall") - def is_null_call(self) -> Optional[bool]: - """ - Boolean flag whether function null call. - """ - return pulumi.get(self, "is_null_call") + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") - @is_null_call.setter - def is_null_call(self, value: Optional[bool]): - pulumi.set(self, "is_null_call", value) + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) + + +if not MYPY: + class GetInstancePoolPoolInfoStatsArgsDict(TypedDict): + idle_count: NotRequired[int] + pending_idle_count: NotRequired[int] + pending_used_count: NotRequired[int] + used_count: NotRequired[int] +elif False: + GetInstancePoolPoolInfoStatsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetInstancePoolPoolInfoStatsArgs: + def __init__(__self__, *, + idle_count: Optional[int] = None, + pending_idle_count: Optional[int] = None, + pending_used_count: Optional[int] = None, + used_count: Optional[int] = None): + if idle_count is not None: + pulumi.set(__self__, "idle_count", idle_count) + if pending_idle_count is not None: + pulumi.set(__self__, "pending_idle_count", pending_idle_count) + if pending_used_count is not None: + pulumi.set(__self__, "pending_used_count", pending_used_count) + if used_count is not None: + pulumi.set(__self__, "used_count", used_count) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - Unique identifier of parent metastore. - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="idleCount") + def idle_count(self) -> Optional[int]: + return pulumi.get(self, "idle_count") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) + @idle_count.setter + def idle_count(self, value: Optional[int]): + pulumi.set(self, "idle_count", value) @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of parameter. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="pendingIdleCount") + def pending_idle_count(self) -> Optional[int]: + return pulumi.get(self, "pending_idle_count") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @pending_idle_count.setter + def pending_idle_count(self, value: Optional[int]): + pulumi.set(self, "pending_idle_count", value) @property - @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username of current owner of function. - """ - return pulumi.get(self, "owner") + @pulumi.getter(name="pendingUsedCount") + def pending_used_count(self) -> Optional[int]: + return pulumi.get(self, "pending_used_count") - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) + @pending_used_count.setter + def pending_used_count(self, value: Optional[int]): + pulumi.set(self, "pending_used_count", value) @property - @pulumi.getter(name="parameterStyle") - def parameter_style(self) -> Optional[str]: + @pulumi.getter(name="usedCount") + def used_count(self) -> Optional[int]: + return pulumi.get(self, "used_count") + + @used_count.setter + def used_count(self, value: Optional[int]): + pulumi.set(self, "used_count", value) + + +if not MYPY: + class GetInstanceProfilesInstanceProfileArgsDict(TypedDict): + arn: str + """ + ARN of the instance profile. + """ + is_meta: bool + """ + Whether the instance profile is a meta instance profile or not. """ - Function parameter style. `S` is the value for SQL. + name: str """ - return pulumi.get(self, "parameter_style") - - @parameter_style.setter - def parameter_style(self, value: Optional[str]): - pulumi.set(self, "parameter_style", value) - - @property - @pulumi.getter - def properties(self) -> Optional[str]: + Name of the instance profile. """ - JSON-serialized key-value pair map, encoded (escaped) as a string. + role_arn: str """ - return pulumi.get(self, "properties") - - @properties.setter - def properties(self, value: Optional[str]): - pulumi.set(self, "properties", value) + ARN of the role attached to the instance profile. + """ +elif False: + GetInstanceProfilesInstanceProfileArgsDict: TypeAlias = Mapping[str, Any] - @property - @pulumi.getter(name="returnParams") - def return_params(self) -> Optional['GetFunctionsFunctionReturnParamsArgs']: +@pulumi.input_type +class GetInstanceProfilesInstanceProfileArgs: + def __init__(__self__, *, + arn: str, + is_meta: bool, + name: str, + role_arn: str): """ - Table function return parameters. See `input_params` for description. + :param str arn: ARN of the instance profile. + :param bool is_meta: Whether the instance profile is a meta instance profile or not. + :param str name: Name of the instance profile. + :param str role_arn: ARN of the role attached to the instance profile. """ - return pulumi.get(self, "return_params") - - @return_params.setter - def return_params(self, value: Optional['GetFunctionsFunctionReturnParamsArgs']): - pulumi.set(self, "return_params", value) + pulumi.set(__self__, "arn", arn) + pulumi.set(__self__, "is_meta", is_meta) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "role_arn", role_arn) @property - @pulumi.getter(name="routineBody") - def routine_body(self) -> Optional[str]: + @pulumi.getter + def arn(self) -> str: """ - Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. + ARN of the instance profile. """ - return pulumi.get(self, "routine_body") + return pulumi.get(self, "arn") - @routine_body.setter - def routine_body(self, value: Optional[str]): - pulumi.set(self, "routine_body", value) + @arn.setter + def arn(self, value: str): + pulumi.set(self, "arn", value) @property - @pulumi.getter(name="routineDefinition") - def routine_definition(self) -> Optional[str]: + @pulumi.getter(name="isMeta") + def is_meta(self) -> bool: """ - Function body. + Whether the instance profile is a meta instance profile or not. """ - return pulumi.get(self, "routine_definition") + return pulumi.get(self, "is_meta") - @routine_definition.setter - def routine_definition(self, value: Optional[str]): - pulumi.set(self, "routine_definition", value) + @is_meta.setter + def is_meta(self, value: bool): + pulumi.set(self, "is_meta", value) @property - @pulumi.getter(name="routineDependencies") - def routine_dependencies(self) -> Optional['GetFunctionsFunctionRoutineDependenciesArgs']: + @pulumi.getter + def name(self) -> str: """ - Function dependencies. + Name of the instance profile. """ - return pulumi.get(self, "routine_dependencies") + return pulumi.get(self, "name") - @routine_dependencies.setter - def routine_dependencies(self, value: Optional['GetFunctionsFunctionRoutineDependenciesArgs']): - pulumi.set(self, "routine_dependencies", value) + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="schemaName") - def schema_name(self) -> Optional[str]: + @pulumi.getter(name="roleArn") + def role_arn(self) -> str: """ - Name of databricks_schema. + ARN of the role attached to the instance profile. """ - return pulumi.get(self, "schema_name") + return pulumi.get(self, "role_arn") - @schema_name.setter - def schema_name(self, value: Optional[str]): - pulumi.set(self, "schema_name", value) + @role_arn.setter + def role_arn(self, value: str): + pulumi.set(self, "role_arn", value) - @property - @pulumi.getter(name="securityType") - def security_type(self) -> Optional[str]: - """ - Function security type. (Enum: `DEFINER`). - """ - return pulumi.get(self, "security_type") - @security_type.setter - def security_type(self, value: Optional[str]): - pulumi.set(self, "security_type", value) +if not MYPY: + class GetJobJobSettingsArgsDict(TypedDict): + run_as_user_name: str + created_time: NotRequired[int] + creator_user_name: NotRequired[str] + job_id: NotRequired[int] + settings: NotRequired['GetJobJobSettingsSettingsArgsDict'] +elif False: + GetJobJobSettingsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsArgs: + def __init__(__self__, *, + run_as_user_name: str, + created_time: Optional[int] = None, + creator_user_name: Optional[str] = None, + job_id: Optional[int] = None, + settings: Optional['GetJobJobSettingsSettingsArgs'] = None): + pulumi.set(__self__, "run_as_user_name", run_as_user_name) + if created_time is not None: + pulumi.set(__self__, "created_time", created_time) + if creator_user_name is not None: + pulumi.set(__self__, "creator_user_name", creator_user_name) + if job_id is not None: + pulumi.set(__self__, "job_id", job_id) + if settings is not None: + pulumi.set(__self__, "settings", settings) @property - @pulumi.getter(name="specificName") - def specific_name(self) -> Optional[str]: - """ - Specific name of the function; Reserved for future use. - """ - return pulumi.get(self, "specific_name") + @pulumi.getter(name="runAsUserName") + def run_as_user_name(self) -> str: + return pulumi.get(self, "run_as_user_name") - @specific_name.setter - def specific_name(self, value: Optional[str]): - pulumi.set(self, "specific_name", value) + @run_as_user_name.setter + def run_as_user_name(self, value: str): + pulumi.set(self, "run_as_user_name", value) @property - @pulumi.getter(name="sqlDataAccess") - def sql_data_access(self) -> Optional[str]: - """ - Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). - """ - return pulumi.get(self, "sql_data_access") + @pulumi.getter(name="createdTime") + def created_time(self) -> Optional[int]: + return pulumi.get(self, "created_time") - @sql_data_access.setter - def sql_data_access(self, value: Optional[str]): - pulumi.set(self, "sql_data_access", value) + @created_time.setter + def created_time(self, value: Optional[int]): + pulumi.set(self, "created_time", value) @property - @pulumi.getter(name="sqlPath") - def sql_path(self) -> Optional[str]: - """ - List of schemes whose objects can be referenced without qualification. - """ - return pulumi.get(self, "sql_path") + @pulumi.getter(name="creatorUserName") + def creator_user_name(self) -> Optional[str]: + return pulumi.get(self, "creator_user_name") - @sql_path.setter - def sql_path(self, value: Optional[str]): - pulumi.set(self, "sql_path", value) + @creator_user_name.setter + def creator_user_name(self, value: Optional[str]): + pulumi.set(self, "creator_user_name", value) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Time at which this function was created, in epoch milliseconds. - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="jobId") + def job_id(self) -> Optional[int]: + return pulumi.get(self, "job_id") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @job_id.setter + def job_id(self, value: Optional[int]): + pulumi.set(self, "job_id", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - Username of user who last modified function. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter + def settings(self) -> Optional['GetJobJobSettingsSettingsArgs']: + return pulumi.get(self, "settings") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @settings.setter + def settings(self, value: Optional['GetJobJobSettingsSettingsArgs']): + pulumi.set(self, "settings", value) if not MYPY: - class GetFunctionsFunctionInputParamsArgsDict(TypedDict): - parameters: NotRequired[Sequence['GetFunctionsFunctionInputParamsParameterArgsDict']] + class GetJobJobSettingsSettingsArgsDict(TypedDict): + format: str + run_as: 'GetJobJobSettingsSettingsRunAsArgsDict' + continuous: NotRequired['GetJobJobSettingsSettingsContinuousArgsDict'] + dbt_task: NotRequired['GetJobJobSettingsSettingsDbtTaskArgsDict'] + deployment: NotRequired['GetJobJobSettingsSettingsDeploymentArgsDict'] + description: NotRequired[str] + edit_mode: NotRequired[str] + email_notifications: NotRequired['GetJobJobSettingsSettingsEmailNotificationsArgsDict'] + environments: NotRequired[Sequence['GetJobJobSettingsSettingsEnvironmentArgsDict']] + existing_cluster_id: NotRequired[str] + git_source: NotRequired['GetJobJobSettingsSettingsGitSourceArgsDict'] + health: NotRequired['GetJobJobSettingsSettingsHealthArgsDict'] + job_clusters: NotRequired[Sequence['GetJobJobSettingsSettingsJobClusterArgsDict']] + libraries: NotRequired[Sequence['GetJobJobSettingsSettingsLibraryArgsDict']] + max_concurrent_runs: NotRequired[int] + max_retries: NotRequired[int] + min_retry_interval_millis: NotRequired[int] + name: NotRequired[str] """ - The array of definitions of the function's parameters: + the job name of Job if the resource was matched by id. """ + new_cluster: NotRequired['GetJobJobSettingsSettingsNewClusterArgsDict'] + notebook_task: NotRequired['GetJobJobSettingsSettingsNotebookTaskArgsDict'] + notification_settings: NotRequired['GetJobJobSettingsSettingsNotificationSettingsArgsDict'] + parameters: NotRequired[Sequence['GetJobJobSettingsSettingsParameterArgsDict']] + pipeline_task: NotRequired['GetJobJobSettingsSettingsPipelineTaskArgsDict'] + python_wheel_task: NotRequired['GetJobJobSettingsSettingsPythonWheelTaskArgsDict'] + queue: NotRequired['GetJobJobSettingsSettingsQueueArgsDict'] + retry_on_timeout: NotRequired[bool] + run_job_task: NotRequired['GetJobJobSettingsSettingsRunJobTaskArgsDict'] + schedule: NotRequired['GetJobJobSettingsSettingsScheduleArgsDict'] + spark_jar_task: NotRequired['GetJobJobSettingsSettingsSparkJarTaskArgsDict'] + spark_python_task: NotRequired['GetJobJobSettingsSettingsSparkPythonTaskArgsDict'] + spark_submit_task: NotRequired['GetJobJobSettingsSettingsSparkSubmitTaskArgsDict'] + tags: NotRequired[Mapping[str, str]] + tasks: NotRequired[Sequence['GetJobJobSettingsSettingsTaskArgsDict']] + timeout_seconds: NotRequired[int] + trigger: NotRequired['GetJobJobSettingsSettingsTriggerArgsDict'] + webhook_notifications: NotRequired['GetJobJobSettingsSettingsWebhookNotificationsArgsDict'] elif False: - GetFunctionsFunctionInputParamsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetFunctionsFunctionInputParamsArgs: +class GetJobJobSettingsSettingsArgs: def __init__(__self__, *, - parameters: Optional[Sequence['GetFunctionsFunctionInputParamsParameterArgs']] = None): + format: str, + run_as: 'GetJobJobSettingsSettingsRunAsArgs', + continuous: Optional['GetJobJobSettingsSettingsContinuousArgs'] = None, + dbt_task: Optional['GetJobJobSettingsSettingsDbtTaskArgs'] = None, + deployment: Optional['GetJobJobSettingsSettingsDeploymentArgs'] = None, + description: Optional[str] = None, + edit_mode: Optional[str] = None, + email_notifications: Optional['GetJobJobSettingsSettingsEmailNotificationsArgs'] = None, + environments: Optional[Sequence['GetJobJobSettingsSettingsEnvironmentArgs']] = None, + existing_cluster_id: Optional[str] = None, + git_source: Optional['GetJobJobSettingsSettingsGitSourceArgs'] = None, + health: Optional['GetJobJobSettingsSettingsHealthArgs'] = None, + job_clusters: Optional[Sequence['GetJobJobSettingsSettingsJobClusterArgs']] = None, + libraries: Optional[Sequence['GetJobJobSettingsSettingsLibraryArgs']] = None, + max_concurrent_runs: Optional[int] = None, + max_retries: Optional[int] = None, + min_retry_interval_millis: Optional[int] = None, + name: Optional[str] = None, + new_cluster: Optional['GetJobJobSettingsSettingsNewClusterArgs'] = None, + notebook_task: Optional['GetJobJobSettingsSettingsNotebookTaskArgs'] = None, + notification_settings: Optional['GetJobJobSettingsSettingsNotificationSettingsArgs'] = None, + parameters: Optional[Sequence['GetJobJobSettingsSettingsParameterArgs']] = None, + pipeline_task: Optional['GetJobJobSettingsSettingsPipelineTaskArgs'] = None, + python_wheel_task: Optional['GetJobJobSettingsSettingsPythonWheelTaskArgs'] = None, + queue: Optional['GetJobJobSettingsSettingsQueueArgs'] = None, + retry_on_timeout: Optional[bool] = None, + run_job_task: Optional['GetJobJobSettingsSettingsRunJobTaskArgs'] = None, + schedule: Optional['GetJobJobSettingsSettingsScheduleArgs'] = None, + spark_jar_task: Optional['GetJobJobSettingsSettingsSparkJarTaskArgs'] = None, + spark_python_task: Optional['GetJobJobSettingsSettingsSparkPythonTaskArgs'] = None, + spark_submit_task: Optional['GetJobJobSettingsSettingsSparkSubmitTaskArgs'] = None, + tags: Optional[Mapping[str, str]] = None, + tasks: Optional[Sequence['GetJobJobSettingsSettingsTaskArgs']] = None, + timeout_seconds: Optional[int] = None, + trigger: Optional['GetJobJobSettingsSettingsTriggerArgs'] = None, + webhook_notifications: Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs'] = None): """ - :param Sequence['GetFunctionsFunctionInputParamsParameterArgs'] parameters: The array of definitions of the function's parameters: + :param str name: the job name of Job if the resource was matched by id. """ + pulumi.set(__self__, "format", format) + pulumi.set(__self__, "run_as", run_as) + if continuous is not None: + pulumi.set(__self__, "continuous", continuous) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if deployment is not None: + pulumi.set(__self__, "deployment", deployment) + if description is not None: + pulumi.set(__self__, "description", description) + if edit_mode is not None: + pulumi.set(__self__, "edit_mode", edit_mode) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environments is not None: + pulumi.set(__self__, "environments", environments) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if git_source is not None: + pulumi.set(__self__, "git_source", git_source) + if health is not None: + pulumi.set(__self__, "health", health) + if job_clusters is not None: + pulumi.set(__self__, "job_clusters", job_clusters) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_concurrent_runs is not None: + pulumi.set(__self__, "max_concurrent_runs", max_concurrent_runs) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if name is not None: + pulumi.set(__self__, "name", name) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) if parameters is not None: pulumi.set(__self__, "parameters", parameters) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if queue is not None: + pulumi.set(__self__, "queue", queue) + if retry_on_timeout is not None: + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if schedule is not None: + pulumi.set(__self__, "schedule", schedule) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if tasks is not None: + pulumi.set(__self__, "tasks", tasks) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if trigger is not None: + pulumi.set(__self__, "trigger", trigger) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property @pulumi.getter - def parameters(self) -> Optional[Sequence['GetFunctionsFunctionInputParamsParameterArgs']]: - """ - The array of definitions of the function's parameters: - """ - return pulumi.get(self, "parameters") + def format(self) -> str: + return pulumi.get(self, "format") - @parameters.setter - def parameters(self, value: Optional[Sequence['GetFunctionsFunctionInputParamsParameterArgs']]): - pulumi.set(self, "parameters", value) + @format.setter + def format(self, value: str): + pulumi.set(self, "format", value) + @property + @pulumi.getter(name="runAs") + def run_as(self) -> 'GetJobJobSettingsSettingsRunAsArgs': + return pulumi.get(self, "run_as") -if not MYPY: - class GetFunctionsFunctionInputParamsParameterArgsDict(TypedDict): - name: str - """ - Name of parameter. - """ - position: int - """ - Ordinal position of column (starting at position 0). - """ - type_name: str - """ - Name of type (INT, STRUCT, MAP, etc.). - """ - type_text: str - """ - Full data type spec, SQL/catalogString text. - """ - comment: NotRequired[str] - """ - User-provided free-form text description. - """ - parameter_default: NotRequired[str] - """ - Default value of the parameter. - """ - parameter_mode: NotRequired[str] - """ - The mode of the function parameter. - """ - parameter_type: NotRequired[str] - """ - The type of function parameter (`PARAM` or `COLUMN`). - """ - type_interval_type: NotRequired[str] - """ - Format of IntervalType. - """ - type_json: NotRequired[str] - """ - Full data type spec, JSON-serialized. - """ - type_precision: NotRequired[int] - """ - Digits of precision; required on Create for DecimalTypes. - """ - type_scale: NotRequired[int] - """ - Digits to right of decimal; Required on Create for DecimalTypes. - """ -elif False: - GetFunctionsFunctionInputParamsParameterArgsDict: TypeAlias = Mapping[str, Any] + @run_as.setter + def run_as(self, value: 'GetJobJobSettingsSettingsRunAsArgs'): + pulumi.set(self, "run_as", value) -@pulumi.input_type -class GetFunctionsFunctionInputParamsParameterArgs: - def __init__(__self__, *, - name: str, - position: int, - type_name: str, - type_text: str, - comment: Optional[str] = None, - parameter_default: Optional[str] = None, - parameter_mode: Optional[str] = None, - parameter_type: Optional[str] = None, - type_interval_type: Optional[str] = None, - type_json: Optional[str] = None, - type_precision: Optional[int] = None, - type_scale: Optional[int] = None): - """ - :param str name: Name of parameter. - :param int position: Ordinal position of column (starting at position 0). - :param str type_name: Name of type (INT, STRUCT, MAP, etc.). - :param str type_text: Full data type spec, SQL/catalogString text. - :param str comment: User-provided free-form text description. - :param str parameter_default: Default value of the parameter. - :param str parameter_mode: The mode of the function parameter. - :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). - :param str type_interval_type: Format of IntervalType. - :param str type_json: Full data type spec, JSON-serialized. - :param int type_precision: Digits of precision; required on Create for DecimalTypes. - :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "position", position) - pulumi.set(__self__, "type_name", type_name) - pulumi.set(__self__, "type_text", type_text) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if parameter_default is not None: - pulumi.set(__self__, "parameter_default", parameter_default) - if parameter_mode is not None: - pulumi.set(__self__, "parameter_mode", parameter_mode) - if parameter_type is not None: - pulumi.set(__self__, "parameter_type", parameter_type) - if type_interval_type is not None: - pulumi.set(__self__, "type_interval_type", type_interval_type) - if type_json is not None: - pulumi.set(__self__, "type_json", type_json) - if type_precision is not None: - pulumi.set(__self__, "type_precision", type_precision) - if type_scale is not None: - pulumi.set(__self__, "type_scale", type_scale) + @property + @pulumi.getter + def continuous(self) -> Optional['GetJobJobSettingsSettingsContinuousArgs']: + return pulumi.get(self, "continuous") + + @continuous.setter + def continuous(self, value: Optional['GetJobJobSettingsSettingsContinuousArgs']): + pulumi.set(self, "continuous", value) + + @property + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional['GetJobJobSettingsSettingsDbtTaskArgs']: + return pulumi.get(self, "dbt_task") + + @dbt_task.setter + def dbt_task(self, value: Optional['GetJobJobSettingsSettingsDbtTaskArgs']): + pulumi.set(self, "dbt_task", value) + + @property + @pulumi.getter + def deployment(self) -> Optional['GetJobJobSettingsSettingsDeploymentArgs']: + return pulumi.get(self, "deployment") + + @deployment.setter + def deployment(self, value: Optional['GetJobJobSettingsSettingsDeploymentArgs']): + pulumi.set(self, "deployment", value) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="editMode") + def edit_mode(self) -> Optional[str]: + return pulumi.get(self, "edit_mode") + + @edit_mode.setter + def edit_mode(self, value: Optional[str]): + pulumi.set(self, "edit_mode", value) @property - @pulumi.getter - def name(self) -> str: - """ - Name of parameter. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional['GetJobJobSettingsSettingsEmailNotificationsArgs']: + return pulumi.get(self, "email_notifications") - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) + @email_notifications.setter + def email_notifications(self, value: Optional['GetJobJobSettingsSettingsEmailNotificationsArgs']): + pulumi.set(self, "email_notifications", value) @property @pulumi.getter - def position(self) -> int: - """ - Ordinal position of column (starting at position 0). - """ - return pulumi.get(self, "position") + def environments(self) -> Optional[Sequence['GetJobJobSettingsSettingsEnvironmentArgs']]: + return pulumi.get(self, "environments") - @position.setter - def position(self, value: int): - pulumi.set(self, "position", value) + @environments.setter + def environments(self, value: Optional[Sequence['GetJobJobSettingsSettingsEnvironmentArgs']]): + pulumi.set(self, "environments", value) @property - @pulumi.getter(name="typeName") - def type_name(self) -> str: - """ - Name of type (INT, STRUCT, MAP, etc.). - """ - return pulumi.get(self, "type_name") + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[str]: + return pulumi.get(self, "existing_cluster_id") - @type_name.setter - def type_name(self, value: str): - pulumi.set(self, "type_name", value) + @existing_cluster_id.setter + def existing_cluster_id(self, value: Optional[str]): + pulumi.set(self, "existing_cluster_id", value) @property - @pulumi.getter(name="typeText") - def type_text(self) -> str: - """ - Full data type spec, SQL/catalogString text. - """ - return pulumi.get(self, "type_text") + @pulumi.getter(name="gitSource") + def git_source(self) -> Optional['GetJobJobSettingsSettingsGitSourceArgs']: + return pulumi.get(self, "git_source") - @type_text.setter - def type_text(self, value: str): - pulumi.set(self, "type_text", value) + @git_source.setter + def git_source(self, value: Optional['GetJobJobSettingsSettingsGitSourceArgs']): + pulumi.set(self, "git_source", value) @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-provided free-form text description. - """ - return pulumi.get(self, "comment") + def health(self) -> Optional['GetJobJobSettingsSettingsHealthArgs']: + return pulumi.get(self, "health") - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) + @health.setter + def health(self, value: Optional['GetJobJobSettingsSettingsHealthArgs']): + pulumi.set(self, "health", value) @property - @pulumi.getter(name="parameterDefault") - def parameter_default(self) -> Optional[str]: - """ - Default value of the parameter. - """ - return pulumi.get(self, "parameter_default") + @pulumi.getter(name="jobClusters") + def job_clusters(self) -> Optional[Sequence['GetJobJobSettingsSettingsJobClusterArgs']]: + return pulumi.get(self, "job_clusters") - @parameter_default.setter - def parameter_default(self, value: Optional[str]): - pulumi.set(self, "parameter_default", value) + @job_clusters.setter + def job_clusters(self, value: Optional[Sequence['GetJobJobSettingsSettingsJobClusterArgs']]): + pulumi.set(self, "job_clusters", value) @property - @pulumi.getter(name="parameterMode") - def parameter_mode(self) -> Optional[str]: - """ - The mode of the function parameter. - """ - return pulumi.get(self, "parameter_mode") + @pulumi.getter + def libraries(self) -> Optional[Sequence['GetJobJobSettingsSettingsLibraryArgs']]: + return pulumi.get(self, "libraries") - @parameter_mode.setter - def parameter_mode(self, value: Optional[str]): - pulumi.set(self, "parameter_mode", value) + @libraries.setter + def libraries(self, value: Optional[Sequence['GetJobJobSettingsSettingsLibraryArgs']]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter(name="parameterType") - def parameter_type(self) -> Optional[str]: - """ - The type of function parameter (`PARAM` or `COLUMN`). - """ - return pulumi.get(self, "parameter_type") + @pulumi.getter(name="maxConcurrentRuns") + def max_concurrent_runs(self) -> Optional[int]: + return pulumi.get(self, "max_concurrent_runs") - @parameter_type.setter - def parameter_type(self, value: Optional[str]): - pulumi.set(self, "parameter_type", value) + @max_concurrent_runs.setter + def max_concurrent_runs(self, value: Optional[int]): + pulumi.set(self, "max_concurrent_runs", value) @property - @pulumi.getter(name="typeIntervalType") - def type_interval_type(self) -> Optional[str]: - """ - Format of IntervalType. - """ - return pulumi.get(self, "type_interval_type") + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[int]: + return pulumi.get(self, "max_retries") - @type_interval_type.setter - def type_interval_type(self, value: Optional[str]): - pulumi.set(self, "type_interval_type", value) + @max_retries.setter + def max_retries(self, value: Optional[int]): + pulumi.set(self, "max_retries", value) @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[str]: - """ - Full data type spec, JSON-serialized. - """ - return pulumi.get(self, "type_json") + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[int]: + return pulumi.get(self, "min_retry_interval_millis") - @type_json.setter - def type_json(self, value: Optional[str]): - pulumi.set(self, "type_json", value) + @min_retry_interval_millis.setter + def min_retry_interval_millis(self, value: Optional[int]): + pulumi.set(self, "min_retry_interval_millis", value) @property - @pulumi.getter(name="typePrecision") - def type_precision(self) -> Optional[int]: + @pulumi.getter + def name(self) -> Optional[str]: """ - Digits of precision; required on Create for DecimalTypes. + the job name of Job if the resource was matched by id. """ - return pulumi.get(self, "type_precision") + return pulumi.get(self, "name") - @type_precision.setter - def type_precision(self, value: Optional[int]): - pulumi.set(self, "type_precision", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[int]: - """ - Digits to right of decimal; Required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_scale") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional['GetJobJobSettingsSettingsNewClusterArgs']: + return pulumi.get(self, "new_cluster") - @type_scale.setter - def type_scale(self, value: Optional[int]): - pulumi.set(self, "type_scale", value) + @new_cluster.setter + def new_cluster(self, value: Optional['GetJobJobSettingsSettingsNewClusterArgs']): + pulumi.set(self, "new_cluster", value) + @property + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional['GetJobJobSettingsSettingsNotebookTaskArgs']: + return pulumi.get(self, "notebook_task") -if not MYPY: - class GetFunctionsFunctionReturnParamsArgsDict(TypedDict): - parameters: NotRequired[Sequence['GetFunctionsFunctionReturnParamsParameterArgsDict']] - """ - The array of definitions of the function's parameters: - """ -elif False: - GetFunctionsFunctionReturnParamsArgsDict: TypeAlias = Mapping[str, Any] + @notebook_task.setter + def notebook_task(self, value: Optional['GetJobJobSettingsSettingsNotebookTaskArgs']): + pulumi.set(self, "notebook_task", value) -@pulumi.input_type -class GetFunctionsFunctionReturnParamsArgs: - def __init__(__self__, *, - parameters: Optional[Sequence['GetFunctionsFunctionReturnParamsParameterArgs']] = None): - """ - :param Sequence['GetFunctionsFunctionReturnParamsParameterArgs'] parameters: The array of definitions of the function's parameters: - """ - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @property + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional['GetJobJobSettingsSettingsNotificationSettingsArgs']: + return pulumi.get(self, "notification_settings") + + @notification_settings.setter + def notification_settings(self, value: Optional['GetJobJobSettingsSettingsNotificationSettingsArgs']): + pulumi.set(self, "notification_settings", value) @property @pulumi.getter - def parameters(self) -> Optional[Sequence['GetFunctionsFunctionReturnParamsParameterArgs']]: - """ - The array of definitions of the function's parameters: - """ + def parameters(self) -> Optional[Sequence['GetJobJobSettingsSettingsParameterArgs']]: return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[Sequence['GetFunctionsFunctionReturnParamsParameterArgs']]): + def parameters(self, value: Optional[Sequence['GetJobJobSettingsSettingsParameterArgs']]): pulumi.set(self, "parameters", value) + @property + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional['GetJobJobSettingsSettingsPipelineTaskArgs']: + return pulumi.get(self, "pipeline_task") -if not MYPY: - class GetFunctionsFunctionReturnParamsParameterArgsDict(TypedDict): - name: str - """ - Name of parameter. - """ - position: int - """ - Ordinal position of column (starting at position 0). - """ - type_name: str - """ - Name of type (INT, STRUCT, MAP, etc.). - """ - type_text: str - """ - Full data type spec, SQL/catalogString text. - """ - comment: NotRequired[str] - """ - User-provided free-form text description. - """ - parameter_default: NotRequired[str] - """ - Default value of the parameter. - """ - parameter_mode: NotRequired[str] - """ - The mode of the function parameter. - """ - parameter_type: NotRequired[str] - """ - The type of function parameter (`PARAM` or `COLUMN`). - """ - type_interval_type: NotRequired[str] - """ - Format of IntervalType. - """ - type_json: NotRequired[str] - """ - Full data type spec, JSON-serialized. - """ - type_precision: NotRequired[int] - """ - Digits of precision; required on Create for DecimalTypes. - """ - type_scale: NotRequired[int] - """ - Digits to right of decimal; Required on Create for DecimalTypes. - """ -elif False: - GetFunctionsFunctionReturnParamsParameterArgsDict: TypeAlias = Mapping[str, Any] + @pipeline_task.setter + def pipeline_task(self, value: Optional['GetJobJobSettingsSettingsPipelineTaskArgs']): + pulumi.set(self, "pipeline_task", value) -@pulumi.input_type -class GetFunctionsFunctionReturnParamsParameterArgs: - def __init__(__self__, *, - name: str, - position: int, - type_name: str, - type_text: str, - comment: Optional[str] = None, - parameter_default: Optional[str] = None, - parameter_mode: Optional[str] = None, - parameter_type: Optional[str] = None, - type_interval_type: Optional[str] = None, - type_json: Optional[str] = None, - type_precision: Optional[int] = None, - type_scale: Optional[int] = None): - """ - :param str name: Name of parameter. - :param int position: Ordinal position of column (starting at position 0). - :param str type_name: Name of type (INT, STRUCT, MAP, etc.). - :param str type_text: Full data type spec, SQL/catalogString text. - :param str comment: User-provided free-form text description. - :param str parameter_default: Default value of the parameter. - :param str parameter_mode: The mode of the function parameter. - :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). - :param str type_interval_type: Format of IntervalType. - :param str type_json: Full data type spec, JSON-serialized. - :param int type_precision: Digits of precision; required on Create for DecimalTypes. - :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "position", position) - pulumi.set(__self__, "type_name", type_name) - pulumi.set(__self__, "type_text", type_text) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if parameter_default is not None: - pulumi.set(__self__, "parameter_default", parameter_default) - if parameter_mode is not None: - pulumi.set(__self__, "parameter_mode", parameter_mode) - if parameter_type is not None: - pulumi.set(__self__, "parameter_type", parameter_type) - if type_interval_type is not None: - pulumi.set(__self__, "type_interval_type", type_interval_type) - if type_json is not None: - pulumi.set(__self__, "type_json", type_json) - if type_precision is not None: - pulumi.set(__self__, "type_precision", type_precision) - if type_scale is not None: - pulumi.set(__self__, "type_scale", type_scale) + @property + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional['GetJobJobSettingsSettingsPythonWheelTaskArgs']: + return pulumi.get(self, "python_wheel_task") + + @python_wheel_task.setter + def python_wheel_task(self, value: Optional['GetJobJobSettingsSettingsPythonWheelTaskArgs']): + pulumi.set(self, "python_wheel_task", value) @property @pulumi.getter - def name(self) -> str: - """ - Name of parameter. - """ - return pulumi.get(self, "name") + def queue(self) -> Optional['GetJobJobSettingsSettingsQueueArgs']: + return pulumi.get(self, "queue") - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) + @queue.setter + def queue(self, value: Optional['GetJobJobSettingsSettingsQueueArgs']): + pulumi.set(self, "queue", value) + + @property + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> Optional[bool]: + return pulumi.get(self, "retry_on_timeout") + + @retry_on_timeout.setter + def retry_on_timeout(self, value: Optional[bool]): + pulumi.set(self, "retry_on_timeout", value) + + @property + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional['GetJobJobSettingsSettingsRunJobTaskArgs']: + return pulumi.get(self, "run_job_task") + + @run_job_task.setter + def run_job_task(self, value: Optional['GetJobJobSettingsSettingsRunJobTaskArgs']): + pulumi.set(self, "run_job_task", value) @property @pulumi.getter - def position(self) -> int: - """ - Ordinal position of column (starting at position 0). - """ - return pulumi.get(self, "position") + def schedule(self) -> Optional['GetJobJobSettingsSettingsScheduleArgs']: + return pulumi.get(self, "schedule") - @position.setter - def position(self, value: int): - pulumi.set(self, "position", value) + @schedule.setter + def schedule(self, value: Optional['GetJobJobSettingsSettingsScheduleArgs']): + pulumi.set(self, "schedule", value) @property - @pulumi.getter(name="typeName") - def type_name(self) -> str: - """ - Name of type (INT, STRUCT, MAP, etc.). - """ - return pulumi.get(self, "type_name") + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional['GetJobJobSettingsSettingsSparkJarTaskArgs']: + return pulumi.get(self, "spark_jar_task") - @type_name.setter - def type_name(self, value: str): - pulumi.set(self, "type_name", value) + @spark_jar_task.setter + def spark_jar_task(self, value: Optional['GetJobJobSettingsSettingsSparkJarTaskArgs']): + pulumi.set(self, "spark_jar_task", value) @property - @pulumi.getter(name="typeText") - def type_text(self) -> str: - """ - Full data type spec, SQL/catalogString text. - """ - return pulumi.get(self, "type_text") + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional['GetJobJobSettingsSettingsSparkPythonTaskArgs']: + return pulumi.get(self, "spark_python_task") - @type_text.setter - def type_text(self, value: str): - pulumi.set(self, "type_text", value) + @spark_python_task.setter + def spark_python_task(self, value: Optional['GetJobJobSettingsSettingsSparkPythonTaskArgs']): + pulumi.set(self, "spark_python_task", value) + + @property + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional['GetJobJobSettingsSettingsSparkSubmitTaskArgs']: + return pulumi.get(self, "spark_submit_task") + + @spark_submit_task.setter + def spark_submit_task(self, value: Optional['GetJobJobSettingsSettingsSparkSubmitTaskArgs']): + pulumi.set(self, "spark_submit_task", value) + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter + def tasks(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskArgs']]: + return pulumi.get(self, "tasks") + + @tasks.setter + def tasks(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskArgs']]): + pulumi.set(self, "tasks", value) + + @property + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[int]: + return pulumi.get(self, "timeout_seconds") + + @timeout_seconds.setter + def timeout_seconds(self, value: Optional[int]): + pulumi.set(self, "timeout_seconds", value) + + @property + @pulumi.getter + def trigger(self) -> Optional['GetJobJobSettingsSettingsTriggerArgs']: + return pulumi.get(self, "trigger") + + @trigger.setter + def trigger(self, value: Optional['GetJobJobSettingsSettingsTriggerArgs']): + pulumi.set(self, "trigger", value) + + @property + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs']: + return pulumi.get(self, "webhook_notifications") + + @webhook_notifications.setter + def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs']): + pulumi.set(self, "webhook_notifications", value) + + +if not MYPY: + class GetJobJobSettingsSettingsContinuousArgsDict(TypedDict): + pause_status: NotRequired[str] +elif False: + GetJobJobSettingsSettingsContinuousArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsContinuousArgs: + def __init__(__self__, *, + pause_status: Optional[str] = None): + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") + + @pause_status.setter + def pause_status(self, value: Optional[str]): + pulumi.set(self, "pause_status", value) + + +if not MYPY: + class GetJobJobSettingsSettingsDbtTaskArgsDict(TypedDict): + commands: Sequence[str] + catalog: NotRequired[str] + profiles_directory: NotRequired[str] + project_directory: NotRequired[str] + schema: NotRequired[str] + source: NotRequired[str] + warehouse_id: NotRequired[str] +elif False: + GetJobJobSettingsSettingsDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsDbtTaskArgs: + def __init__(__self__, *, + commands: Sequence[str], + catalog: Optional[str] = None, + profiles_directory: Optional[str] = None, + project_directory: Optional[str] = None, + schema: Optional[str] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-provided free-form text description. - """ - return pulumi.get(self, "comment") - - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) - - @property - @pulumi.getter(name="parameterDefault") - def parameter_default(self) -> Optional[str]: - """ - Default value of the parameter. - """ - return pulumi.get(self, "parameter_default") + def commands(self) -> Sequence[str]: + return pulumi.get(self, "commands") - @parameter_default.setter - def parameter_default(self, value: Optional[str]): - pulumi.set(self, "parameter_default", value) + @commands.setter + def commands(self, value: Sequence[str]): + pulumi.set(self, "commands", value) @property - @pulumi.getter(name="parameterMode") - def parameter_mode(self) -> Optional[str]: - """ - The mode of the function parameter. - """ - return pulumi.get(self, "parameter_mode") + @pulumi.getter + def catalog(self) -> Optional[str]: + return pulumi.get(self, "catalog") - @parameter_mode.setter - def parameter_mode(self, value: Optional[str]): - pulumi.set(self, "parameter_mode", value) + @catalog.setter + def catalog(self, value: Optional[str]): + pulumi.set(self, "catalog", value) @property - @pulumi.getter(name="parameterType") - def parameter_type(self) -> Optional[str]: - """ - The type of function parameter (`PARAM` or `COLUMN`). - """ - return pulumi.get(self, "parameter_type") + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[str]: + return pulumi.get(self, "profiles_directory") - @parameter_type.setter - def parameter_type(self, value: Optional[str]): - pulumi.set(self, "parameter_type", value) + @profiles_directory.setter + def profiles_directory(self, value: Optional[str]): + pulumi.set(self, "profiles_directory", value) @property - @pulumi.getter(name="typeIntervalType") - def type_interval_type(self) -> Optional[str]: - """ - Format of IntervalType. - """ - return pulumi.get(self, "type_interval_type") + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[str]: + return pulumi.get(self, "project_directory") - @type_interval_type.setter - def type_interval_type(self, value: Optional[str]): - pulumi.set(self, "type_interval_type", value) + @project_directory.setter + def project_directory(self, value: Optional[str]): + pulumi.set(self, "project_directory", value) @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[str]: - """ - Full data type spec, JSON-serialized. - """ - return pulumi.get(self, "type_json") + @pulumi.getter + def schema(self) -> Optional[str]: + return pulumi.get(self, "schema") - @type_json.setter - def type_json(self, value: Optional[str]): - pulumi.set(self, "type_json", value) + @schema.setter + def schema(self, value: Optional[str]): + pulumi.set(self, "schema", value) @property - @pulumi.getter(name="typePrecision") - def type_precision(self) -> Optional[int]: - """ - Digits of precision; required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_precision") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @type_precision.setter - def type_precision(self, value: Optional[int]): - pulumi.set(self, "type_precision", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[int]: - """ - Digits to right of decimal; Required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_scale") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") - @type_scale.setter - def type_scale(self, value: Optional[int]): - pulumi.set(self, "type_scale", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[str]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class GetFunctionsFunctionRoutineDependenciesArgsDict(TypedDict): - dependencies: NotRequired[Sequence['GetFunctionsFunctionRoutineDependenciesDependencyArgsDict']] + class GetJobJobSettingsSettingsDeploymentArgsDict(TypedDict): + kind: str + metadata_file_path: NotRequired[str] elif False: - GetFunctionsFunctionRoutineDependenciesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsDeploymentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetFunctionsFunctionRoutineDependenciesArgs: +class GetJobJobSettingsSettingsDeploymentArgs: def __init__(__self__, *, - dependencies: Optional[Sequence['GetFunctionsFunctionRoutineDependenciesDependencyArgs']] = None): - if dependencies is not None: - pulumi.set(__self__, "dependencies", dependencies) + kind: str, + metadata_file_path: Optional[str] = None): + pulumi.set(__self__, "kind", kind) + if metadata_file_path is not None: + pulumi.set(__self__, "metadata_file_path", metadata_file_path) @property @pulumi.getter - def dependencies(self) -> Optional[Sequence['GetFunctionsFunctionRoutineDependenciesDependencyArgs']]: - return pulumi.get(self, "dependencies") + def kind(self) -> str: + return pulumi.get(self, "kind") - @dependencies.setter - def dependencies(self, value: Optional[Sequence['GetFunctionsFunctionRoutineDependenciesDependencyArgs']]): - pulumi.set(self, "dependencies", value) + @kind.setter + def kind(self, value: str): + pulumi.set(self, "kind", value) + + @property + @pulumi.getter(name="metadataFilePath") + def metadata_file_path(self) -> Optional[str]: + return pulumi.get(self, "metadata_file_path") + + @metadata_file_path.setter + def metadata_file_path(self, value: Optional[str]): + pulumi.set(self, "metadata_file_path", value) if not MYPY: - class GetFunctionsFunctionRoutineDependenciesDependencyArgsDict(TypedDict): - function: NotRequired['GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgsDict'] - table: NotRequired['GetFunctionsFunctionRoutineDependenciesDependencyTableArgsDict'] + class GetJobJobSettingsSettingsEmailNotificationsArgsDict(TypedDict): + no_alert_for_skipped_runs: NotRequired[bool] + on_duration_warning_threshold_exceededs: NotRequired[Sequence[str]] + on_failures: NotRequired[Sequence[str]] + on_starts: NotRequired[Sequence[str]] + on_streaming_backlog_exceededs: NotRequired[Sequence[str]] + on_successes: NotRequired[Sequence[str]] elif False: - GetFunctionsFunctionRoutineDependenciesDependencyArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetFunctionsFunctionRoutineDependenciesDependencyArgs: +class GetJobJobSettingsSettingsEmailNotificationsArgs: def __init__(__self__, *, - function: Optional['GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs'] = None, - table: Optional['GetFunctionsFunctionRoutineDependenciesDependencyTableArgs'] = None): - if function is not None: - pulumi.set(__self__, "function", function) - if table is not None: - pulumi.set(__self__, "table", table) + no_alert_for_skipped_runs: Optional[bool] = None, + on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, + on_failures: Optional[Sequence[str]] = None, + on_starts: Optional[Sequence[str]] = None, + on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, + on_successes: Optional[Sequence[str]] = None): + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def function(self) -> Optional['GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs']: - return pulumi.get(self, "function") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") - @function.setter - def function(self, value: Optional['GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs']): - pulumi.set(self, "function", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_skipped_runs", value) @property - @pulumi.getter - def table(self) -> Optional['GetFunctionsFunctionRoutineDependenciesDependencyTableArgs']: - return pulumi.get(self, "table") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @table.setter - def table(self, value: Optional['GetFunctionsFunctionRoutineDependenciesDependencyTableArgs']): - pulumi.set(self, "table", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @property + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_failures") -if not MYPY: - class GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgsDict(TypedDict): - function_full_name: str -elif False: - GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgsDict: TypeAlias = Mapping[str, Any] + @on_failures.setter + def on_failures(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_failures", value) -@pulumi.input_type -class GetFunctionsFunctionRoutineDependenciesDependencyFunctionArgs: - def __init__(__self__, *, - function_full_name: str): - pulumi.set(__self__, "function_full_name", function_full_name) + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_starts") + + @on_starts.setter + def on_starts(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter(name="functionFullName") - def function_full_name(self) -> str: - return pulumi.get(self, "function_full_name") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @function_full_name.setter - def function_full_name(self, value: str): - pulumi.set(self, "function_full_name", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) + + @property + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_successes") + + @on_successes.setter + def on_successes(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class GetFunctionsFunctionRoutineDependenciesDependencyTableArgsDict(TypedDict): - table_full_name: str + class GetJobJobSettingsSettingsEnvironmentArgsDict(TypedDict): + environment_key: str + spec: NotRequired['GetJobJobSettingsSettingsEnvironmentSpecArgsDict'] elif False: - GetFunctionsFunctionRoutineDependenciesDependencyTableArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsEnvironmentArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetFunctionsFunctionRoutineDependenciesDependencyTableArgs: +class GetJobJobSettingsSettingsEnvironmentArgs: def __init__(__self__, *, - table_full_name: str): - pulumi.set(__self__, "table_full_name", table_full_name) + environment_key: str, + spec: Optional['GetJobJobSettingsSettingsEnvironmentSpecArgs'] = None): + pulumi.set(__self__, "environment_key", environment_key) + if spec is not None: + pulumi.set(__self__, "spec", spec) @property - @pulumi.getter(name="tableFullName") - def table_full_name(self) -> str: - return pulumi.get(self, "table_full_name") + @pulumi.getter(name="environmentKey") + def environment_key(self) -> str: + return pulumi.get(self, "environment_key") - @table_full_name.setter - def table_full_name(self, value: str): - pulumi.set(self, "table_full_name", value) + @environment_key.setter + def environment_key(self, value: str): + pulumi.set(self, "environment_key", value) + + @property + @pulumi.getter + def spec(self) -> Optional['GetJobJobSettingsSettingsEnvironmentSpecArgs']: + return pulumi.get(self, "spec") + + @spec.setter + def spec(self, value: Optional['GetJobJobSettingsSettingsEnvironmentSpecArgs']): + pulumi.set(self, "spec", value) if not MYPY: - class GetInstancePoolPoolInfoArgsDict(TypedDict): - default_tags: Mapping[str, str] - idle_instance_autotermination_minutes: int - instance_pool_id: str - instance_pool_name: str - aws_attributes: NotRequired['GetInstancePoolPoolInfoAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetInstancePoolPoolInfoAzureAttributesArgsDict'] - custom_tags: NotRequired[Mapping[str, str]] - disk_spec: NotRequired['GetInstancePoolPoolInfoDiskSpecArgsDict'] - enable_elastic_disk: NotRequired[bool] - gcp_attributes: NotRequired['GetInstancePoolPoolInfoGcpAttributesArgsDict'] - instance_pool_fleet_attributes: NotRequired[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgsDict']] - max_capacity: NotRequired[int] - min_idle_instances: NotRequired[int] - node_type_id: NotRequired[str] - preloaded_docker_images: NotRequired[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgsDict']] - preloaded_spark_versions: NotRequired[Sequence[str]] - state: NotRequired[str] - stats: NotRequired['GetInstancePoolPoolInfoStatsArgsDict'] + class GetJobJobSettingsSettingsEnvironmentSpecArgsDict(TypedDict): + client: str + dependencies: NotRequired[Sequence[str]] elif False: - GetInstancePoolPoolInfoArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsEnvironmentSpecArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstancePoolPoolInfoArgs: +class GetJobJobSettingsSettingsEnvironmentSpecArgs: def __init__(__self__, *, - default_tags: Mapping[str, str], - idle_instance_autotermination_minutes: int, - instance_pool_id: str, - instance_pool_name: str, - aws_attributes: Optional['GetInstancePoolPoolInfoAwsAttributesArgs'] = None, - azure_attributes: Optional['GetInstancePoolPoolInfoAzureAttributesArgs'] = None, - custom_tags: Optional[Mapping[str, str]] = None, - disk_spec: Optional['GetInstancePoolPoolInfoDiskSpecArgs'] = None, - enable_elastic_disk: Optional[bool] = None, - gcp_attributes: Optional['GetInstancePoolPoolInfoGcpAttributesArgs'] = None, - instance_pool_fleet_attributes: Optional[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs']] = None, - max_capacity: Optional[int] = None, - min_idle_instances: Optional[int] = None, - node_type_id: Optional[str] = None, - preloaded_docker_images: Optional[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgs']] = None, - preloaded_spark_versions: Optional[Sequence[str]] = None, - state: Optional[str] = None, - stats: Optional['GetInstancePoolPoolInfoStatsArgs'] = None): - pulumi.set(__self__, "default_tags", default_tags) - pulumi.set(__self__, "idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "instance_pool_name", instance_pool_name) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if disk_spec is not None: - pulumi.set(__self__, "disk_spec", disk_spec) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if instance_pool_fleet_attributes is not None: - pulumi.set(__self__, "instance_pool_fleet_attributes", instance_pool_fleet_attributes) - if max_capacity is not None: - pulumi.set(__self__, "max_capacity", max_capacity) - if min_idle_instances is not None: - pulumi.set(__self__, "min_idle_instances", min_idle_instances) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if preloaded_docker_images is not None: - pulumi.set(__self__, "preloaded_docker_images", preloaded_docker_images) - if preloaded_spark_versions is not None: - pulumi.set(__self__, "preloaded_spark_versions", preloaded_spark_versions) - if state is not None: - pulumi.set(__self__, "state", state) - if stats is not None: - pulumi.set(__self__, "stats", stats) + client: str, + dependencies: Optional[Sequence[str]] = None): + pulumi.set(__self__, "client", client) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) @property - @pulumi.getter(name="defaultTags") - def default_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "default_tags") + @pulumi.getter + def client(self) -> str: + return pulumi.get(self, "client") - @default_tags.setter - def default_tags(self, value: Mapping[str, str]): - pulumi.set(self, "default_tags", value) + @client.setter + def client(self, value: str): + pulumi.set(self, "client", value) @property - @pulumi.getter(name="idleInstanceAutoterminationMinutes") - def idle_instance_autotermination_minutes(self) -> int: - return pulumi.get(self, "idle_instance_autotermination_minutes") - - @idle_instance_autotermination_minutes.setter - def idle_instance_autotermination_minutes(self, value: int): - pulumi.set(self, "idle_instance_autotermination_minutes", value) + @pulumi.getter + def dependencies(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "dependencies") - @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> str: - return pulumi.get(self, "instance_pool_id") + @dependencies.setter + def dependencies(self, value: Optional[Sequence[str]]): + pulumi.set(self, "dependencies", value) - @instance_pool_id.setter - def instance_pool_id(self, value: str): - pulumi.set(self, "instance_pool_id", value) - @property - @pulumi.getter(name="instancePoolName") - def instance_pool_name(self) -> str: - return pulumi.get(self, "instance_pool_name") +if not MYPY: + class GetJobJobSettingsSettingsGitSourceArgsDict(TypedDict): + url: str + branch: NotRequired[str] + commit: NotRequired[str] + job_source: NotRequired['GetJobJobSettingsSettingsGitSourceJobSourceArgsDict'] + provider: NotRequired[str] + tag: NotRequired[str] +elif False: + GetJobJobSettingsSettingsGitSourceArgsDict: TypeAlias = Mapping[str, Any] - @instance_pool_name.setter - def instance_pool_name(self, value: str): - pulumi.set(self, "instance_pool_name", value) +@pulumi.input_type +class GetJobJobSettingsSettingsGitSourceArgs: + def __init__(__self__, *, + url: str, + branch: Optional[str] = None, + commit: Optional[str] = None, + job_source: Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs'] = None, + provider: Optional[str] = None, + tag: Optional[str] = None): + pulumi.set(__self__, "url", url) + if branch is not None: + pulumi.set(__self__, "branch", branch) + if commit is not None: + pulumi.set(__self__, "commit", commit) + if job_source is not None: + pulumi.set(__self__, "job_source", job_source) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if tag is not None: + pulumi.set(__self__, "tag", tag) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetInstancePoolPoolInfoAwsAttributesArgs']: - return pulumi.get(self, "aws_attributes") + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") - @aws_attributes.setter - def aws_attributes(self, value: Optional['GetInstancePoolPoolInfoAwsAttributesArgs']): - pulumi.set(self, "aws_attributes", value) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetInstancePoolPoolInfoAzureAttributesArgs']: - return pulumi.get(self, "azure_attributes") + @pulumi.getter + def branch(self) -> Optional[str]: + return pulumi.get(self, "branch") - @azure_attributes.setter - def azure_attributes(self, value: Optional['GetInstancePoolPoolInfoAzureAttributesArgs']): - pulumi.set(self, "azure_attributes", value) + @branch.setter + def branch(self, value: Optional[str]): + pulumi.set(self, "branch", value) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter + def commit(self) -> Optional[str]: + return pulumi.get(self, "commit") - @custom_tags.setter - def custom_tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "custom_tags", value) + @commit.setter + def commit(self, value: Optional[str]): + pulumi.set(self, "commit", value) @property - @pulumi.getter(name="diskSpec") - def disk_spec(self) -> Optional['GetInstancePoolPoolInfoDiskSpecArgs']: - return pulumi.get(self, "disk_spec") + @pulumi.getter(name="jobSource") + def job_source(self) -> Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs']: + return pulumi.get(self, "job_source") - @disk_spec.setter - def disk_spec(self, value: Optional['GetInstancePoolPoolInfoDiskSpecArgs']): - pulumi.set(self, "disk_spec", value) + @job_source.setter + def job_source(self, value: Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs']): + pulumi.set(self, "job_source", value) @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[bool]: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter + def provider(self) -> Optional[str]: + return pulumi.get(self, "provider") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: Optional[bool]): - pulumi.set(self, "enable_elastic_disk", value) + @provider.setter + def provider(self, value: Optional[str]): + pulumi.set(self, "provider", value) @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetInstancePoolPoolInfoGcpAttributesArgs']: - return pulumi.get(self, "gcp_attributes") - - @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetInstancePoolPoolInfoGcpAttributesArgs']): - pulumi.set(self, "gcp_attributes", value) + @pulumi.getter + def tag(self) -> Optional[str]: + return pulumi.get(self, "tag") - @property - @pulumi.getter(name="instancePoolFleetAttributes") - def instance_pool_fleet_attributes(self) -> Optional[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs']]: - return pulumi.get(self, "instance_pool_fleet_attributes") + @tag.setter + def tag(self, value: Optional[str]): + pulumi.set(self, "tag", value) - @instance_pool_fleet_attributes.setter - def instance_pool_fleet_attributes(self, value: Optional[Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs']]): - pulumi.set(self, "instance_pool_fleet_attributes", value) - @property - @pulumi.getter(name="maxCapacity") - def max_capacity(self) -> Optional[int]: - return pulumi.get(self, "max_capacity") +if not MYPY: + class GetJobJobSettingsSettingsGitSourceJobSourceArgsDict(TypedDict): + import_from_git_branch: str + job_config_path: str + dirty_state: NotRequired[str] +elif False: + GetJobJobSettingsSettingsGitSourceJobSourceArgsDict: TypeAlias = Mapping[str, Any] - @max_capacity.setter - def max_capacity(self, value: Optional[int]): - pulumi.set(self, "max_capacity", value) +@pulumi.input_type +class GetJobJobSettingsSettingsGitSourceJobSourceArgs: + def __init__(__self__, *, + import_from_git_branch: str, + job_config_path: str, + dirty_state: Optional[str] = None): + pulumi.set(__self__, "import_from_git_branch", import_from_git_branch) + pulumi.set(__self__, "job_config_path", job_config_path) + if dirty_state is not None: + pulumi.set(__self__, "dirty_state", dirty_state) @property - @pulumi.getter(name="minIdleInstances") - def min_idle_instances(self) -> Optional[int]: - return pulumi.get(self, "min_idle_instances") + @pulumi.getter(name="importFromGitBranch") + def import_from_git_branch(self) -> str: + return pulumi.get(self, "import_from_git_branch") - @min_idle_instances.setter - def min_idle_instances(self, value: Optional[int]): - pulumi.set(self, "min_idle_instances", value) + @import_from_git_branch.setter + def import_from_git_branch(self, value: str): + pulumi.set(self, "import_from_git_branch", value) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[str]: - return pulumi.get(self, "node_type_id") + @pulumi.getter(name="jobConfigPath") + def job_config_path(self) -> str: + return pulumi.get(self, "job_config_path") - @node_type_id.setter - def node_type_id(self, value: Optional[str]): - pulumi.set(self, "node_type_id", value) + @job_config_path.setter + def job_config_path(self, value: str): + pulumi.set(self, "job_config_path", value) @property - @pulumi.getter(name="preloadedDockerImages") - def preloaded_docker_images(self) -> Optional[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgs']]: - return pulumi.get(self, "preloaded_docker_images") - - @preloaded_docker_images.setter - def preloaded_docker_images(self, value: Optional[Sequence['GetInstancePoolPoolInfoPreloadedDockerImageArgs']]): - pulumi.set(self, "preloaded_docker_images", value) + @pulumi.getter(name="dirtyState") + def dirty_state(self) -> Optional[str]: + return pulumi.get(self, "dirty_state") - @property - @pulumi.getter(name="preloadedSparkVersions") - def preloaded_spark_versions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "preloaded_spark_versions") + @dirty_state.setter + def dirty_state(self, value: Optional[str]): + pulumi.set(self, "dirty_state", value) - @preloaded_spark_versions.setter - def preloaded_spark_versions(self, value: Optional[Sequence[str]]): - pulumi.set(self, "preloaded_spark_versions", value) - @property - @pulumi.getter - def state(self) -> Optional[str]: - return pulumi.get(self, "state") +if not MYPY: + class GetJobJobSettingsSettingsHealthArgsDict(TypedDict): + rules: Sequence['GetJobJobSettingsSettingsHealthRuleArgsDict'] +elif False: + GetJobJobSettingsSettingsHealthArgsDict: TypeAlias = Mapping[str, Any] - @state.setter - def state(self, value: Optional[str]): - pulumi.set(self, "state", value) +@pulumi.input_type +class GetJobJobSettingsSettingsHealthArgs: + def __init__(__self__, *, + rules: Sequence['GetJobJobSettingsSettingsHealthRuleArgs']): + pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def stats(self) -> Optional['GetInstancePoolPoolInfoStatsArgs']: - return pulumi.get(self, "stats") + def rules(self) -> Sequence['GetJobJobSettingsSettingsHealthRuleArgs']: + return pulumi.get(self, "rules") - @stats.setter - def stats(self, value: Optional['GetInstancePoolPoolInfoStatsArgs']): - pulumi.set(self, "stats", value) + @rules.setter + def rules(self, value: Sequence['GetJobJobSettingsSettingsHealthRuleArgs']): + pulumi.set(self, "rules", value) if not MYPY: - class GetInstancePoolPoolInfoAwsAttributesArgsDict(TypedDict): - zone_id: str - availability: NotRequired[str] - spot_bid_price_percent: NotRequired[int] + class GetJobJobSettingsSettingsHealthRuleArgsDict(TypedDict): + metric: str + op: str + value: int elif False: - GetInstancePoolPoolInfoAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsHealthRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstancePoolPoolInfoAwsAttributesArgs: +class GetJobJobSettingsSettingsHealthRuleArgs: def __init__(__self__, *, - zone_id: str, - availability: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None): - pulumi.set(__self__, "zone_id", zone_id) - if availability is not None: - pulumi.set(__self__, "availability", availability) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + metric: str, + op: str, + value: int): + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> str: - return pulumi.get(self, "zone_id") + @pulumi.getter + def metric(self) -> str: + return pulumi.get(self, "metric") - @zone_id.setter - def zone_id(self, value: str): - pulumi.set(self, "zone_id", value) + @metric.setter + def metric(self, value: str): + pulumi.set(self, "metric", value) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def op(self) -> str: + return pulumi.get(self, "op") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @op.setter + def op(self, value: str): + pulumi.set(self, "op", value) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter + def value(self) -> int: + return pulumi.get(self, "value") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[int]): - pulumi.set(self, "spot_bid_price_percent", value) + @value.setter + def value(self, value: int): + pulumi.set(self, "value", value) if not MYPY: - class GetInstancePoolPoolInfoAzureAttributesArgsDict(TypedDict): - availability: NotRequired[str] - spot_bid_max_price: NotRequired[float] + class GetJobJobSettingsSettingsJobClusterArgsDict(TypedDict): + job_cluster_key: str + new_cluster: 'GetJobJobSettingsSettingsJobClusterNewClusterArgsDict' elif False: - GetInstancePoolPoolInfoAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstancePoolPoolInfoAzureAttributesArgs: +class GetJobJobSettingsSettingsJobClusterArgs: def __init__(__self__, *, - availability: Optional[str] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + job_cluster_key: str, + new_cluster: 'GetJobJobSettingsSettingsJobClusterNewClusterArgs'): + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + pulumi.set(__self__, "new_cluster", new_cluster) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> str: + return pulumi.get(self, "job_cluster_key") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @job_cluster_key.setter + def job_cluster_key(self, value: str): + pulumi.set(self, "job_cluster_key", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> 'GetJobJobSettingsSettingsJobClusterNewClusterArgs': + return pulumi.get(self, "new_cluster") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[float]): - pulumi.set(self, "spot_bid_max_price", value) + @new_cluster.setter + def new_cluster(self, value: 'GetJobJobSettingsSettingsJobClusterNewClusterArgs'): + pulumi.set(self, "new_cluster", value) if not MYPY: - class GetInstancePoolPoolInfoDiskSpecArgsDict(TypedDict): - disk_count: NotRequired[int] - disk_size: NotRequired[int] - disk_type: NotRequired['GetInstancePoolPoolInfoDiskSpecDiskTypeArgsDict'] + class GetJobJobSettingsSettingsJobClusterNewClusterArgsDict(TypedDict): + driver_instance_pool_id: str + driver_node_type_id: str + enable_elastic_disk: bool + enable_local_disk_encryption: bool + node_type_id: str + num_workers: int + spark_version: str + apply_policy_default_values: NotRequired[bool] + autoscale: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgsDict'] + autotermination_minutes: NotRequired[int] + aws_attributes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgsDict'] + cluster_id: NotRequired[str] + cluster_log_conf: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgsDict'] + cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgsDict']] + cluster_name: NotRequired[str] + custom_tags: NotRequired[Mapping[str, str]] + data_security_mode: NotRequired[str] + docker_image: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgsDict'] + gcp_attributes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgsDict'] + idempotency_token: NotRequired[str] + init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgsDict']] + instance_pool_id: NotRequired[str] + policy_id: NotRequired[str] + runtime_engine: NotRequired[str] + single_user_name: NotRequired[str] + spark_conf: NotRequired[Mapping[str, str]] + spark_env_vars: NotRequired[Mapping[str, str]] + ssh_public_keys: NotRequired[Sequence[str]] + workload_type: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgsDict'] elif False: - GetInstancePoolPoolInfoDiskSpecArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstancePoolPoolInfoDiskSpecArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterArgs: def __init__(__self__, *, - disk_count: Optional[int] = None, - disk_size: Optional[int] = None, - disk_type: Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs'] = None): - if disk_count is not None: - pulumi.set(__self__, "disk_count", disk_count) - if disk_size is not None: - pulumi.set(__self__, "disk_size", disk_size) - if disk_type is not None: - pulumi.set(__self__, "disk_type", disk_type) + driver_instance_pool_id: str, + driver_node_type_id: str, + enable_elastic_disk: bool, + enable_local_disk_encryption: bool, + node_type_id: str, + num_workers: int, + spark_version: str, + apply_policy_default_values: Optional[bool] = None, + autoscale: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs'] = None, + autotermination_minutes: Optional[int] = None, + aws_attributes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs'] = None, + azure_attributes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs'] = None, + cluster_id: Optional[str] = None, + cluster_log_conf: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs'] = None, + cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs']] = None, + cluster_name: Optional[str] = None, + custom_tags: Optional[Mapping[str, str]] = None, + data_security_mode: Optional[str] = None, + docker_image: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs'] = None, + gcp_attributes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs'] = None, + idempotency_token: Optional[str] = None, + init_scripts: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs']] = None, + instance_pool_id: Optional[str] = None, + policy_id: Optional[str] = None, + runtime_engine: Optional[str] = None, + single_user_name: Optional[str] = None, + spark_conf: Optional[Mapping[str, str]] = None, + spark_env_vars: Optional[Mapping[str, str]] = None, + ssh_public_keys: Optional[Sequence[str]] = None, + workload_type: Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs'] = None): + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + pulumi.set(__self__, "node_type_id", node_type_id) + pulumi.set(__self__, "num_workers", num_workers) + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if autotermination_minutes is not None: + pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter(name="diskCount") - def disk_count(self) -> Optional[int]: - return pulumi.get(self, "disk_count") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> str: + return pulumi.get(self, "driver_instance_pool_id") - @disk_count.setter - def disk_count(self, value: Optional[int]): - pulumi.set(self, "disk_count", value) + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: str): + pulumi.set(self, "driver_instance_pool_id", value) @property - @pulumi.getter(name="diskSize") - def disk_size(self) -> Optional[int]: - return pulumi.get(self, "disk_size") + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> str: + return pulumi.get(self, "driver_node_type_id") - @disk_size.setter - def disk_size(self, value: Optional[int]): - pulumi.set(self, "disk_size", value) + @driver_node_type_id.setter + def driver_node_type_id(self, value: str): + pulumi.set(self, "driver_node_type_id", value) @property - @pulumi.getter(name="diskType") - def disk_type(self) -> Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs']: - return pulumi.get(self, "disk_type") + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> bool: + return pulumi.get(self, "enable_elastic_disk") - @disk_type.setter - def disk_type(self, value: Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs']): - pulumi.set(self, "disk_type", value) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: bool): + pulumi.set(self, "enable_elastic_disk", value) + @property + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> bool: + return pulumi.get(self, "enable_local_disk_encryption") -if not MYPY: - class GetInstancePoolPoolInfoDiskSpecDiskTypeArgsDict(TypedDict): - azure_disk_volume_type: NotRequired[str] - ebs_volume_type: NotRequired[str] -elif False: - GetInstancePoolPoolInfoDiskSpecDiskTypeArgsDict: TypeAlias = Mapping[str, Any] + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: bool): + pulumi.set(self, "enable_local_disk_encryption", value) -@pulumi.input_type -class GetInstancePoolPoolInfoDiskSpecDiskTypeArgs: - def __init__(__self__, *, - azure_disk_volume_type: Optional[str] = None, - ebs_volume_type: Optional[str] = None): - if azure_disk_volume_type is not None: - pulumi.set(__self__, "azure_disk_volume_type", azure_disk_volume_type) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> str: + return pulumi.get(self, "node_type_id") + + @node_type_id.setter + def node_type_id(self, value: str): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter(name="azureDiskVolumeType") - def azure_disk_volume_type(self) -> Optional[str]: - return pulumi.get(self, "azure_disk_volume_type") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> int: + return pulumi.get(self, "num_workers") - @azure_disk_volume_type.setter - def azure_disk_volume_type(self, value: Optional[str]): - pulumi.set(self, "azure_disk_volume_type", value) + @num_workers.setter + def num_workers(self, value: int): + pulumi.set(self, "num_workers", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> str: + return pulumi.get(self, "spark_version") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[str]): - pulumi.set(self, "ebs_volume_type", value) + @spark_version.setter + def spark_version(self, value: str): + pulumi.set(self, "spark_version", value) + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[bool]: + return pulumi.get(self, "apply_policy_default_values") -if not MYPY: - class GetInstancePoolPoolInfoGcpAttributesArgsDict(TypedDict): - local_ssd_count: int - zone_id: str - gcp_availability: NotRequired[str] -elif False: - GetInstancePoolPoolInfoGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[bool]): + pulumi.set(self, "apply_policy_default_values", value) -@pulumi.input_type -class GetInstancePoolPoolInfoGcpAttributesArgs: - def __init__(__self__, *, - local_ssd_count: int, - zone_id: str, - gcp_availability: Optional[str] = None): - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - pulumi.set(__self__, "zone_id", zone_id) - if gcp_availability is not None: - pulumi.set(__self__, "gcp_availability", gcp_availability) + @property + @pulumi.getter + def autoscale(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs']: + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs']): + pulumi.set(self, "autoscale", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> int: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="autoterminationMinutes") + def autotermination_minutes(self) -> Optional[int]: + return pulumi.get(self, "autotermination_minutes") - @local_ssd_count.setter - def local_ssd_count(self, value: int): - pulumi.set(self, "local_ssd_count", value) + @autotermination_minutes.setter + def autotermination_minutes(self, value: Optional[int]): + pulumi.set(self, "autotermination_minutes", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> str: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs']: + return pulumi.get(self, "aws_attributes") - @zone_id.setter - def zone_id(self, value: str): - pulumi.set(self, "zone_id", value) + @aws_attributes.setter + def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs']): + pulumi.set(self, "aws_attributes", value) @property - @pulumi.getter(name="gcpAvailability") - def gcp_availability(self) -> Optional[str]: - return pulumi.get(self, "gcp_availability") + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs']: + return pulumi.get(self, "azure_attributes") - @gcp_availability.setter - def gcp_availability(self, value: Optional[str]): - pulumi.set(self, "gcp_availability", value) + @azure_attributes.setter + def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs']): + pulumi.set(self, "azure_attributes", value) + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: + return pulumi.get(self, "cluster_id") + @cluster_id.setter + def cluster_id(self, value: Optional[str]): + pulumi.set(self, "cluster_id", value) -if not MYPY: - class GetInstancePoolPoolInfoInstancePoolFleetAttributeArgsDict(TypedDict): - launch_template_overrides: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgsDict'] - fleet_on_demand_option: NotRequired['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgsDict'] - fleet_spot_option: NotRequired['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgsDict'] -elif False: - GetInstancePoolPoolInfoInstancePoolFleetAttributeArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs']: + return pulumi.get(self, "cluster_log_conf") -@pulumi.input_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeArgs: - def __init__(__self__, *, - launch_template_overrides: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs'], - fleet_on_demand_option: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs'] = None, - fleet_spot_option: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs'] = None): - pulumi.set(__self__, "launch_template_overrides", launch_template_overrides) - if fleet_on_demand_option is not None: - pulumi.set(__self__, "fleet_on_demand_option", fleet_on_demand_option) - if fleet_spot_option is not None: - pulumi.set(__self__, "fleet_spot_option", fleet_spot_option) + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs']): + pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter(name="launchTemplateOverrides") - def launch_template_overrides(self) -> Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs']: - return pulumi.get(self, "launch_template_overrides") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs']]: + return pulumi.get(self, "cluster_mount_infos") - @launch_template_overrides.setter - def launch_template_overrides(self, value: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs']): - pulumi.set(self, "launch_template_overrides", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs']]): + pulumi.set(self, "cluster_mount_infos", value) @property - @pulumi.getter(name="fleetOnDemandOption") - def fleet_on_demand_option(self) -> Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs']: - return pulumi.get(self, "fleet_on_demand_option") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: + return pulumi.get(self, "cluster_name") - @fleet_on_demand_option.setter - def fleet_on_demand_option(self, value: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs']): - pulumi.set(self, "fleet_on_demand_option", value) + @cluster_name.setter + def cluster_name(self, value: Optional[str]): + pulumi.set(self, "cluster_name", value) @property - @pulumi.getter(name="fleetSpotOption") - def fleet_spot_option(self) -> Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs']: - return pulumi.get(self, "fleet_spot_option") + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") - @fleet_spot_option.setter - def fleet_spot_option(self, value: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs']): - pulumi.set(self, "fleet_spot_option", value) + @custom_tags.setter + def custom_tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "custom_tags", value) + @property + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: + return pulumi.get(self, "data_security_mode") -if not MYPY: - class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgsDict(TypedDict): - allocation_strategy: str - instance_pools_to_use_count: NotRequired[int] -elif False: - GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgsDict: TypeAlias = Mapping[str, Any] + @data_security_mode.setter + def data_security_mode(self, value: Optional[str]): + pulumi.set(self, "data_security_mode", value) -@pulumi.input_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs: - def __init__(__self__, *, - allocation_strategy: str, - instance_pools_to_use_count: Optional[int] = None): - pulumi.set(__self__, "allocation_strategy", allocation_strategy) - if instance_pools_to_use_count is not None: - pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + @property + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs']: + return pulumi.get(self, "docker_image") + + @docker_image.setter + def docker_image(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs']): + pulumi.set(self, "docker_image", value) @property - @pulumi.getter(name="allocationStrategy") - def allocation_strategy(self) -> str: - return pulumi.get(self, "allocation_strategy") + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs']: + return pulumi.get(self, "gcp_attributes") - @allocation_strategy.setter - def allocation_strategy(self, value: str): - pulumi.set(self, "allocation_strategy", value) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs']): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter(name="instancePoolsToUseCount") - def instance_pools_to_use_count(self) -> Optional[int]: - return pulumi.get(self, "instance_pools_to_use_count") + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: + return pulumi.get(self, "idempotency_token") - @instance_pools_to_use_count.setter - def instance_pools_to_use_count(self, value: Optional[int]): - pulumi.set(self, "instance_pools_to_use_count", value) + @idempotency_token.setter + def idempotency_token(self, value: Optional[str]): + pulumi.set(self, "idempotency_token", value) + @property + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs']]: + return pulumi.get(self, "init_scripts") -if not MYPY: - class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgsDict(TypedDict): - allocation_strategy: str - instance_pools_to_use_count: NotRequired[int] -elif False: - GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgsDict: TypeAlias = Mapping[str, Any] + @init_scripts.setter + def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs']]): + pulumi.set(self, "init_scripts", value) -@pulumi.input_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs: - def __init__(__self__, *, - allocation_strategy: str, - instance_pools_to_use_count: Optional[int] = None): - pulumi.set(__self__, "allocation_strategy", allocation_strategy) - if instance_pools_to_use_count is not None: - pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + @property + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: + return pulumi.get(self, "instance_pool_id") + + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[str]): + pulumi.set(self, "instance_pool_id", value) @property - @pulumi.getter(name="allocationStrategy") - def allocation_strategy(self) -> str: - return pulumi.get(self, "allocation_strategy") + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + return pulumi.get(self, "policy_id") - @allocation_strategy.setter - def allocation_strategy(self, value: str): - pulumi.set(self, "allocation_strategy", value) + @policy_id.setter + def policy_id(self, value: Optional[str]): + pulumi.set(self, "policy_id", value) @property - @pulumi.getter(name="instancePoolsToUseCount") - def instance_pools_to_use_count(self) -> Optional[int]: - return pulumi.get(self, "instance_pools_to_use_count") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: + return pulumi.get(self, "runtime_engine") - @instance_pools_to_use_count.setter - def instance_pools_to_use_count(self, value: Optional[int]): - pulumi.set(self, "instance_pools_to_use_count", value) + @runtime_engine.setter + def runtime_engine(self, value: Optional[str]): + pulumi.set(self, "runtime_engine", value) + @property + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: + return pulumi.get(self, "single_user_name") -if not MYPY: - class GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgsDict(TypedDict): - availability_zone: str - instance_type: str -elif False: - GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgsDict: TypeAlias = Mapping[str, Any] + @single_user_name.setter + def single_user_name(self, value: Optional[str]): + pulumi.set(self, "single_user_name", value) -@pulumi.input_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs: - def __init__(__self__, *, - availability_zone: str, - instance_type: str): - pulumi.set(__self__, "availability_zone", availability_zone) - pulumi.set(__self__, "instance_type", instance_type) + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_conf") + + @spark_conf.setter + def spark_conf(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_conf", value) @property - @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> str: - return pulumi.get(self, "availability_zone") + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_env_vars") - @availability_zone.setter - def availability_zone(self, value: str): - pulumi.set(self, "availability_zone", value) + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter(name="instanceType") - def instance_type(self) -> str: - return pulumi.get(self, "instance_type") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ssh_public_keys") - @instance_type.setter - def instance_type(self, value: str): - pulumi.set(self, "instance_type", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[Sequence[str]]): + pulumi.set(self, "ssh_public_keys", value) + + @property + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs']: + return pulumi.get(self, "workload_type") + + @workload_type.setter + def workload_type(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs']): + pulumi.set(self, "workload_type", value) if not MYPY: - class GetInstancePoolPoolInfoPreloadedDockerImageArgsDict(TypedDict): - url: str - basic_auth: NotRequired['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgsDict'] + class GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[int] + min_workers: NotRequired[int] elif False: - GetInstancePoolPoolInfoPreloadedDockerImageArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstancePoolPoolInfoPreloadedDockerImageArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs: def __init__(__self__, *, - url: str, - basic_auth: Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @max_workers.setter + def max_workers(self, value: Optional[int]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") - @basic_auth.setter - def basic_auth(self, value: Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) + @min_workers.setter + def min_workers(self, value: Optional[int]): + pulumi.set(self, "min_workers", value) if not MYPY: - class GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgsDict(TypedDict): - password: str - username: str + class GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[str] + ebs_volume_count: NotRequired[int] + ebs_volume_size: NotRequired[int] + ebs_volume_type: NotRequired[str] + first_on_demand: NotRequired[int] + instance_profile_arn: NotRequired[str] + spot_bid_price_percent: NotRequired[int] + zone_id: NotRequired[str] elif False: - GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs: def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + availability: Optional[str] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @password.setter - def password(self, value: str): - pulumi.set(self, "password", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") - @username.setter - def username(self, value: str): - pulumi.set(self, "username", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_count", value) + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") -if not MYPY: - class GetInstancePoolPoolInfoStatsArgsDict(TypedDict): - idle_count: NotRequired[int] - pending_idle_count: NotRequired[int] - pending_used_count: NotRequired[int] - used_count: NotRequired[int] -elif False: - GetInstancePoolPoolInfoStatsArgsDict: TypeAlias = Mapping[str, Any] + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_size", value) -@pulumi.input_type -class GetInstancePoolPoolInfoStatsArgs: - def __init__(__self__, *, - idle_count: Optional[int] = None, - pending_idle_count: Optional[int] = None, - pending_used_count: Optional[int] = None, - used_count: Optional[int] = None): - if idle_count is not None: - pulumi.set(__self__, "idle_count", idle_count) - if pending_idle_count is not None: - pulumi.set(__self__, "pending_idle_count", pending_idle_count) - if pending_used_count is not None: - pulumi.set(__self__, "pending_used_count", pending_used_count) - if used_count is not None: - pulumi.set(__self__, "used_count", used_count) + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[str]): + pulumi.set(self, "ebs_volume_type", value) @property - @pulumi.getter(name="idleCount") - def idle_count(self) -> Optional[int]: - return pulumi.get(self, "idle_count") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") - @idle_count.setter - def idle_count(self, value: Optional[int]): - pulumi.set(self, "idle_count", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter(name="pendingIdleCount") - def pending_idle_count(self) -> Optional[int]: - return pulumi.get(self, "pending_idle_count") + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") - @pending_idle_count.setter - def pending_idle_count(self, value: Optional[int]): - pulumi.set(self, "pending_idle_count", value) + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[str]): + pulumi.set(self, "instance_profile_arn", value) @property - @pulumi.getter(name="pendingUsedCount") - def pending_used_count(self) -> Optional[int]: - return pulumi.get(self, "pending_used_count") + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") - @pending_used_count.setter - def pending_used_count(self, value: Optional[int]): - pulumi.set(self, "pending_used_count", value) + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[int]): + pulumi.set(self, "spot_bid_price_percent", value) @property - @pulumi.getter(name="usedCount") - def used_count(self) -> Optional[int]: - return pulumi.get(self, "used_count") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") - @used_count.setter - def used_count(self, value: Optional[int]): - pulumi.set(self, "used_count", value) + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) if not MYPY: - class GetInstanceProfilesInstanceProfileArgsDict(TypedDict): - arn: str - """ - ARN of the instance profile. - """ - is_meta: bool - """ - Whether the instance profile is a meta instance profile or not. - """ - name: str - """ - Name of the instance profile. - """ - role_arn: str - """ - ARN of the role attached to the instance profile. - """ + class GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[str] + first_on_demand: NotRequired[int] + spot_bid_max_price: NotRequired[float] elif False: - GetInstanceProfilesInstanceProfileArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetInstanceProfilesInstanceProfileArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs: def __init__(__self__, *, - arn: str, - is_meta: bool, - name: str, - role_arn: str): - """ - :param str arn: ARN of the instance profile. - :param bool is_meta: Whether the instance profile is a meta instance profile or not. - :param str name: Name of the instance profile. - :param str role_arn: ARN of the role attached to the instance profile. - """ - pulumi.set(__self__, "arn", arn) - pulumi.set(__self__, "is_meta", is_meta) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "role_arn", role_arn) + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def arn(self) -> str: - """ - ARN of the instance profile. - """ - return pulumi.get(self, "arn") - - @arn.setter - def arn(self, value: str): - pulumi.set(self, "arn", value) - - @property - @pulumi.getter(name="isMeta") - def is_meta(self) -> bool: - """ - Whether the instance profile is a meta instance profile or not. - """ - return pulumi.get(self, "is_meta") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @is_meta.setter - def is_meta(self, value: bool): - pulumi.set(self, "is_meta", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def name(self) -> str: - """ - Name of the instance profile. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter(name="roleArn") - def role_arn(self) -> str: - """ - ARN of the role attached to the instance profile. - """ - return pulumi.get(self, "role_arn") + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") - @role_arn.setter - def role_arn(self, value: str): - pulumi.set(self, "role_arn", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[float]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class GetJobJobSettingsArgsDict(TypedDict): - run_as_user_name: str - created_time: NotRequired[int] - creator_user_name: NotRequired[str] - job_id: NotRequired[int] - settings: NotRequired['GetJobJobSettingsSettingsArgsDict'] + class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict'] elif False: - GetJobJobSettingsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs: def __init__(__self__, *, - run_as_user_name: str, - created_time: Optional[int] = None, - creator_user_name: Optional[str] = None, - job_id: Optional[int] = None, - settings: Optional['GetJobJobSettingsSettingsArgs'] = None): - pulumi.set(__self__, "run_as_user_name", run_as_user_name) - if created_time is not None: - pulumi.set(__self__, "created_time", created_time) - if creator_user_name is not None: - pulumi.set(__self__, "creator_user_name", creator_user_name) - if job_id is not None: - pulumi.set(__self__, "job_id", job_id) - if settings is not None: - pulumi.set(__self__, "settings", settings) + dbfs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property - @pulumi.getter(name="runAsUserName") - def run_as_user_name(self) -> str: - return pulumi.get(self, "run_as_user_name") + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs']: + return pulumi.get(self, "dbfs") - @run_as_user_name.setter - def run_as_user_name(self, value: str): - pulumi.set(self, "run_as_user_name", value) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs']): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="createdTime") - def created_time(self) -> Optional[int]: - return pulumi.get(self, "created_time") - - @created_time.setter - def created_time(self, value: Optional[int]): - pulumi.set(self, "created_time", value) + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args']: + return pulumi.get(self, "s3") - @property - @pulumi.getter(name="creatorUserName") - def creator_user_name(self) -> Optional[str]: - return pulumi.get(self, "creator_user_name") + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args']): + pulumi.set(self, "s3", value) - @creator_user_name.setter - def creator_user_name(self, value: Optional[str]): - pulumi.set(self, "creator_user_name", value) - @property - @pulumi.getter(name="jobId") - def job_id(self) -> Optional[int]: - return pulumi.get(self, "job_id") +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] - @job_id.setter - def job_id(self, value: Optional[int]): - pulumi.set(self, "job_id", value) +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def settings(self) -> Optional['GetJobJobSettingsSettingsArgs']: - return pulumi.get(self, "settings") + def destination(self) -> str: + return pulumi.get(self, "destination") - @settings.setter - def settings(self, value: Optional['GetJobJobSettingsSettingsArgs']): - pulumi.set(self, "settings", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsArgsDict(TypedDict): - format: str - run_as: 'GetJobJobSettingsSettingsRunAsArgsDict' - continuous: NotRequired['GetJobJobSettingsSettingsContinuousArgsDict'] - dbt_task: NotRequired['GetJobJobSettingsSettingsDbtTaskArgsDict'] - deployment: NotRequired['GetJobJobSettingsSettingsDeploymentArgsDict'] - description: NotRequired[str] - edit_mode: NotRequired[str] - email_notifications: NotRequired['GetJobJobSettingsSettingsEmailNotificationsArgsDict'] - environments: NotRequired[Sequence['GetJobJobSettingsSettingsEnvironmentArgsDict']] - existing_cluster_id: NotRequired[str] - git_source: NotRequired['GetJobJobSettingsSettingsGitSourceArgsDict'] - health: NotRequired['GetJobJobSettingsSettingsHealthArgsDict'] - job_clusters: NotRequired[Sequence['GetJobJobSettingsSettingsJobClusterArgsDict']] - libraries: NotRequired[Sequence['GetJobJobSettingsSettingsLibraryArgsDict']] - max_concurrent_runs: NotRequired[int] - max_retries: NotRequired[int] - min_retry_interval_millis: NotRequired[int] - name: NotRequired[str] - """ - the job name of Job if the resource was matched by id. - """ - new_cluster: NotRequired['GetJobJobSettingsSettingsNewClusterArgsDict'] - notebook_task: NotRequired['GetJobJobSettingsSettingsNotebookTaskArgsDict'] - notification_settings: NotRequired['GetJobJobSettingsSettingsNotificationSettingsArgsDict'] - parameters: NotRequired[Sequence['GetJobJobSettingsSettingsParameterArgsDict']] - pipeline_task: NotRequired['GetJobJobSettingsSettingsPipelineTaskArgsDict'] - python_wheel_task: NotRequired['GetJobJobSettingsSettingsPythonWheelTaskArgsDict'] - queue: NotRequired['GetJobJobSettingsSettingsQueueArgsDict'] - retry_on_timeout: NotRequired[bool] - run_job_task: NotRequired['GetJobJobSettingsSettingsRunJobTaskArgsDict'] - schedule: NotRequired['GetJobJobSettingsSettingsScheduleArgsDict'] - spark_jar_task: NotRequired['GetJobJobSettingsSettingsSparkJarTaskArgsDict'] - spark_python_task: NotRequired['GetJobJobSettingsSettingsSparkPythonTaskArgsDict'] - spark_submit_task: NotRequired['GetJobJobSettingsSettingsSparkSubmitTaskArgsDict'] - tags: NotRequired[Mapping[str, str]] - tasks: NotRequired[Sequence['GetJobJobSettingsSettingsTaskArgsDict']] - timeout_seconds: NotRequired[int] - trigger: NotRequired['GetJobJobSettingsSettingsTriggerArgsDict'] - webhook_notifications: NotRequired['GetJobJobSettingsSettingsWebhookNotificationsArgsDict'] + class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] elif False: - GetJobJobSettingsSettingsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args: def __init__(__self__, *, - format: str, - run_as: 'GetJobJobSettingsSettingsRunAsArgs', - continuous: Optional['GetJobJobSettingsSettingsContinuousArgs'] = None, - dbt_task: Optional['GetJobJobSettingsSettingsDbtTaskArgs'] = None, - deployment: Optional['GetJobJobSettingsSettingsDeploymentArgs'] = None, - description: Optional[str] = None, - edit_mode: Optional[str] = None, - email_notifications: Optional['GetJobJobSettingsSettingsEmailNotificationsArgs'] = None, - environments: Optional[Sequence['GetJobJobSettingsSettingsEnvironmentArgs']] = None, - existing_cluster_id: Optional[str] = None, - git_source: Optional['GetJobJobSettingsSettingsGitSourceArgs'] = None, - health: Optional['GetJobJobSettingsSettingsHealthArgs'] = None, - job_clusters: Optional[Sequence['GetJobJobSettingsSettingsJobClusterArgs']] = None, - libraries: Optional[Sequence['GetJobJobSettingsSettingsLibraryArgs']] = None, - max_concurrent_runs: Optional[int] = None, - max_retries: Optional[int] = None, - min_retry_interval_millis: Optional[int] = None, - name: Optional[str] = None, - new_cluster: Optional['GetJobJobSettingsSettingsNewClusterArgs'] = None, - notebook_task: Optional['GetJobJobSettingsSettingsNotebookTaskArgs'] = None, - notification_settings: Optional['GetJobJobSettingsSettingsNotificationSettingsArgs'] = None, - parameters: Optional[Sequence['GetJobJobSettingsSettingsParameterArgs']] = None, - pipeline_task: Optional['GetJobJobSettingsSettingsPipelineTaskArgs'] = None, - python_wheel_task: Optional['GetJobJobSettingsSettingsPythonWheelTaskArgs'] = None, - queue: Optional['GetJobJobSettingsSettingsQueueArgs'] = None, - retry_on_timeout: Optional[bool] = None, - run_job_task: Optional['GetJobJobSettingsSettingsRunJobTaskArgs'] = None, - schedule: Optional['GetJobJobSettingsSettingsScheduleArgs'] = None, - spark_jar_task: Optional['GetJobJobSettingsSettingsSparkJarTaskArgs'] = None, - spark_python_task: Optional['GetJobJobSettingsSettingsSparkPythonTaskArgs'] = None, - spark_submit_task: Optional['GetJobJobSettingsSettingsSparkSubmitTaskArgs'] = None, - tags: Optional[Mapping[str, str]] = None, - tasks: Optional[Sequence['GetJobJobSettingsSettingsTaskArgs']] = None, - timeout_seconds: Optional[int] = None, - trigger: Optional['GetJobJobSettingsSettingsTriggerArgs'] = None, - webhook_notifications: Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs'] = None): - """ - :param str name: the job name of Job if the resource was matched by id. - """ - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "run_as", run_as) - if continuous is not None: - pulumi.set(__self__, "continuous", continuous) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if deployment is not None: - pulumi.set(__self__, "deployment", deployment) - if description is not None: - pulumi.set(__self__, "description", description) - if edit_mode is not None: - pulumi.set(__self__, "edit_mode", edit_mode) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environments is not None: - pulumi.set(__self__, "environments", environments) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if git_source is not None: - pulumi.set(__self__, "git_source", git_source) - if health is not None: - pulumi.set(__self__, "health", health) - if job_clusters is not None: - pulumi.set(__self__, "job_clusters", job_clusters) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_concurrent_runs is not None: - pulumi.set(__self__, "max_concurrent_runs", max_concurrent_runs) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if name is not None: - pulumi.set(__self__, "name", name) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if queue is not None: - pulumi.set(__self__, "queue", queue) - if retry_on_timeout is not None: - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if schedule is not None: - pulumi.set(__self__, "schedule", schedule) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if tasks is not None: - pulumi.set(__self__, "tasks", tasks) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if trigger is not None: - pulumi.set(__self__, "trigger", trigger) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def format(self) -> str: - return pulumi.get(self, "format") + def destination(self) -> str: + return pulumi.get(self, "destination") - @format.setter - def format(self, value: str): - pulumi.set(self, "format", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="runAs") - def run_as(self) -> 'GetJobJobSettingsSettingsRunAsArgs': - return pulumi.get(self, "run_as") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") - @run_as.setter - def run_as(self, value: 'GetJobJobSettingsSettingsRunAsArgs'): - pulumi.set(self, "run_as", value) + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter - def continuous(self) -> Optional['GetJobJobSettingsSettingsContinuousArgs']: - return pulumi.get(self, "continuous") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") - @continuous.setter - def continuous(self, value: Optional['GetJobJobSettingsSettingsContinuousArgs']): - pulumi.set(self, "continuous", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional['GetJobJobSettingsSettingsDbtTaskArgs']: - return pulumi.get(self, "dbt_task") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") - @dbt_task.setter - def dbt_task(self, value: Optional['GetJobJobSettingsSettingsDbtTaskArgs']): - pulumi.set(self, "dbt_task", value) + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def deployment(self) -> Optional['GetJobJobSettingsSettingsDeploymentArgs']: - return pulumi.get(self, "deployment") + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") - @deployment.setter - def deployment(self, value: Optional['GetJobJobSettingsSettingsDeploymentArgs']): - pulumi.set(self, "deployment", value) + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") - @description.setter - def description(self, value: Optional[str]): - pulumi.set(self, "description", value) + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="editMode") - def edit_mode(self) -> Optional[str]: - return pulumi.get(self, "edit_mode") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @edit_mode.setter - def edit_mode(self, value: Optional[str]): - pulumi.set(self, "edit_mode", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) - @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional['GetJobJobSettingsSettingsEmailNotificationsArgs']: - return pulumi.get(self, "email_notifications") - @email_notifications.setter - def email_notifications(self, value: Optional['GetJobJobSettingsSettingsEmailNotificationsArgs']): - pulumi.set(self, "email_notifications", value) +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: str + network_filesystem_info: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' + remote_mount_dir_path: NotRequired[str] +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs: + def __init__(__self__, *, + local_mount_dir_path: str, + network_filesystem_info: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter - def environments(self) -> Optional[Sequence['GetJobJobSettingsSettingsEnvironmentArgs']]: - return pulumi.get(self, "environments") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") - @environments.setter - def environments(self, value: Optional[Sequence['GetJobJobSettingsSettingsEnvironmentArgs']]): - pulumi.set(self, "environments", value) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: str): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[str]: - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs': + return pulumi.get(self, "network_filesystem_info") - @existing_cluster_id.setter - def existing_cluster_id(self, value: Optional[str]): - pulumi.set(self, "existing_cluster_id", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter(name="gitSource") - def git_source(self) -> Optional['GetJobJobSettingsSettingsGitSourceArgs']: - return pulumi.get(self, "git_source") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") - @git_source.setter - def git_source(self, value: Optional['GetJobJobSettingsSettingsGitSourceArgs']): - pulumi.set(self, "git_source", value) + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[str]): + pulumi.set(self, "remote_mount_dir_path", value) - @property - @pulumi.getter - def health(self) -> Optional['GetJobJobSettingsSettingsHealthArgs']: - return pulumi.get(self, "health") - @health.setter - def health(self, value: Optional['GetJobJobSettingsSettingsHealthArgs']): - pulumi.set(self, "health", value) +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: str + mount_options: NotRequired[str] +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter(name="jobClusters") - def job_clusters(self) -> Optional[Sequence['GetJobJobSettingsSettingsJobClusterArgs']]: - return pulumi.get(self, "job_clusters") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") - @job_clusters.setter - def job_clusters(self, value: Optional[Sequence['GetJobJobSettingsSettingsJobClusterArgs']]): - pulumi.set(self, "job_clusters", value) + @server_address.setter + def server_address(self, value: str): + pulumi.set(self, "server_address", value) @property - @pulumi.getter - def libraries(self) -> Optional[Sequence['GetJobJobSettingsSettingsLibraryArgs']]: - return pulumi.get(self, "libraries") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") - @libraries.setter - def libraries(self, value: Optional[Sequence['GetJobJobSettingsSettingsLibraryArgs']]): - pulumi.set(self, "libraries", value) + @mount_options.setter + def mount_options(self, value: Optional[str]): + pulumi.set(self, "mount_options", value) - @property - @pulumi.getter(name="maxConcurrentRuns") - def max_concurrent_runs(self) -> Optional[int]: - return pulumi.get(self, "max_concurrent_runs") - @max_concurrent_runs.setter - def max_concurrent_runs(self, value: Optional[int]): - pulumi.set(self, "max_concurrent_runs", value) +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgsDict(TypedDict): + url: str + basic_auth: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgsDict'] +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs: + def __init__(__self__, *, + url: str, + basic_auth: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[int]: - return pulumi.get(self, "max_retries") + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") - @max_retries.setter - def max_retries(self, value: Optional[int]): - pulumi.set(self, "max_retries", value) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[int]: - return pulumi.get(self, "min_retry_interval_millis") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") - @min_retry_interval_millis.setter - def min_retry_interval_millis(self, value: Optional[int]): - pulumi.set(self, "min_retry_interval_millis", value) + @basic_auth.setter + def basic_auth(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) + + +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: str + username: str +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - the job name of Job if the resource was matched by id. - """ - return pulumi.get(self, "name") + def password(self) -> str: + return pulumi.get(self, "password") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional['GetJobJobSettingsSettingsNewClusterArgs']: - return pulumi.get(self, "new_cluster") - - @new_cluster.setter - def new_cluster(self, value: Optional['GetJobJobSettingsSettingsNewClusterArgs']): - pulumi.set(self, "new_cluster", value) + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") - @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional['GetJobJobSettingsSettingsNotebookTaskArgs']: - return pulumi.get(self, "notebook_task") + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) - @notebook_task.setter - def notebook_task(self, value: Optional['GetJobJobSettingsSettingsNotebookTaskArgs']): - pulumi.set(self, "notebook_task", value) - @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional['GetJobJobSettingsSettingsNotificationSettingsArgs']: - return pulumi.get(self, "notification_settings") +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[str] + boot_disk_size: NotRequired[int] + google_service_account: NotRequired[str] + local_ssd_count: NotRequired[int] + use_preemptible_executors: NotRequired[bool] + zone_id: NotRequired[str] +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] - @notification_settings.setter - def notification_settings(self, value: Optional['GetJobJobSettingsSettingsNotificationSettingsArgs']): - pulumi.set(self, "notification_settings", value) +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def parameters(self) -> Optional[Sequence['GetJobJobSettingsSettingsParameterArgs']]: - return pulumi.get(self, "parameters") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @parameters.setter - def parameters(self, value: Optional[Sequence['GetJobJobSettingsSettingsParameterArgs']]): - pulumi.set(self, "parameters", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional['GetJobJobSettingsSettingsPipelineTaskArgs']: - return pulumi.get(self, "pipeline_task") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") - @pipeline_task.setter - def pipeline_task(self, value: Optional['GetJobJobSettingsSettingsPipelineTaskArgs']): - pulumi.set(self, "pipeline_task", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[int]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional['GetJobJobSettingsSettingsPythonWheelTaskArgs']: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") - @python_wheel_task.setter - def python_wheel_task(self, value: Optional['GetJobJobSettingsSettingsPythonWheelTaskArgs']): - pulumi.set(self, "python_wheel_task", value) + @google_service_account.setter + def google_service_account(self, value: Optional[str]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter - def queue(self) -> Optional['GetJobJobSettingsSettingsQueueArgs']: - return pulumi.get(self, "queue") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") - @queue.setter - def queue(self, value: Optional['GetJobJobSettingsSettingsQueueArgs']): - pulumi.set(self, "queue", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[int]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> Optional[bool]: - return pulumi.get(self, "retry_on_timeout") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") - @retry_on_timeout.setter - def retry_on_timeout(self, value: Optional[bool]): - pulumi.set(self, "retry_on_timeout", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[bool]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional['GetJobJobSettingsSettingsRunJobTaskArgs']: - return pulumi.get(self, "run_job_task") - - @run_job_task.setter - def run_job_task(self, value: Optional['GetJobJobSettingsSettingsRunJobTaskArgs']): - pulumi.set(self, "run_job_task", value) + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") - @property - @pulumi.getter - def schedule(self) -> Optional['GetJobJobSettingsSettingsScheduleArgs']: - return pulumi.get(self, "schedule") + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) - @schedule.setter - def schedule(self, value: Optional['GetJobJobSettingsSettingsScheduleArgs']): - pulumi.set(self, "schedule", value) - @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional['GetJobJobSettingsSettingsSparkJarTaskArgs']: - return pulumi.get(self, "spark_jar_task") +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgsDict'] + dbfs: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgsDict'] + file: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgsDict'] + gcs: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3ArgsDict'] + volumes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgsDict'] + workspace: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgsDict'] +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] - @spark_jar_task.setter - def spark_jar_task(self, value: Optional['GetJobJobSettingsSettingsSparkJarTaskArgs']): - pulumi.set(self, "spark_jar_task", value) +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs: + def __init__(__self__, *, + abfss: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs'] = None, + dbfs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs'] = None, + file: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs'] = None, + gcs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args'] = None, + volumes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs'] = None, + workspace: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional['GetJobJobSettingsSettingsSparkPythonTaskArgs']: - return pulumi.get(self, "spark_python_task") + @pulumi.getter + def abfss(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs']: + return pulumi.get(self, "abfss") - @spark_python_task.setter - def spark_python_task(self, value: Optional['GetJobJobSettingsSettingsSparkPythonTaskArgs']): - pulumi.set(self, "spark_python_task", value) + @abfss.setter + def abfss(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs']): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional['GetJobJobSettingsSettingsSparkSubmitTaskArgs']: - return pulumi.get(self, "spark_submit_task") + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs']: + return pulumi.get(self, "dbfs") - @spark_submit_task.setter - def spark_submit_task(self, value: Optional['GetJobJobSettingsSettingsSparkSubmitTaskArgs']): - pulumi.set(self, "spark_submit_task", value) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs']): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "tags") + def file(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs']: + return pulumi.get(self, "file") - @tags.setter - def tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "tags", value) + @file.setter + def file(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs']): + pulumi.set(self, "file", value) @property @pulumi.getter - def tasks(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskArgs']]: - return pulumi.get(self, "tasks") + def gcs(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs']: + return pulumi.get(self, "gcs") - @tasks.setter - def tasks(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskArgs']]): - pulumi.set(self, "tasks", value) + @gcs.setter + def gcs(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs']): + pulumi.set(self, "gcs", value) @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[int]: - return pulumi.get(self, "timeout_seconds") + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args']: + return pulumi.get(self, "s3") - @timeout_seconds.setter - def timeout_seconds(self, value: Optional[int]): - pulumi.set(self, "timeout_seconds", value) + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args']): + pulumi.set(self, "s3", value) @property @pulumi.getter - def trigger(self) -> Optional['GetJobJobSettingsSettingsTriggerArgs']: - return pulumi.get(self, "trigger") + def volumes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs']: + return pulumi.get(self, "volumes") - @trigger.setter - def trigger(self, value: Optional['GetJobJobSettingsSettingsTriggerArgs']): - pulumi.set(self, "trigger", value) + @volumes.setter + def volumes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs']): + pulumi.set(self, "volumes", value) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs']: - return pulumi.get(self, "webhook_notifications") + @pulumi.getter + def workspace(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs']: + return pulumi.get(self, "workspace") - @webhook_notifications.setter - def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs']): - pulumi.set(self, "webhook_notifications", value) + @workspace.setter + def workspace(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs']): + pulumi.set(self, "workspace", value) if not MYPY: - class GetJobJobSettingsSettingsContinuousArgsDict(TypedDict): - pause_status: NotRequired[str] + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsContinuousArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsContinuousArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs: def __init__(__self__, *, - pause_status: Optional[str] = None): - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[str]: - return pulumi.get(self, "pause_status") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @pause_status.setter - def pause_status(self, value: Optional[str]): - pulumi.set(self, "pause_status", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsDbtTaskArgsDict(TypedDict): - commands: Sequence[str] - catalog: NotRequired[str] - profiles_directory: NotRequired[str] - project_directory: NotRequired[str] - schema: NotRequired[str] - source: NotRequired[str] - warehouse_id: NotRequired[str] + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsDbtTaskArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - commands: Sequence[str], - catalog: Optional[str] = None, - profiles_directory: Optional[str] = None, - project_directory: Optional[str] = None, - schema: Optional[str] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) - - @property - @pulumi.getter - def commands(self) -> Sequence[str]: - return pulumi.get(self, "commands") - - @commands.setter - def commands(self, value: Sequence[str]): - pulumi.set(self, "commands", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def catalog(self) -> Optional[str]: - return pulumi.get(self, "catalog") - - @catalog.setter - def catalog(self, value: Optional[str]): - pulumi.set(self, "catalog", value) - - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[str]: - return pulumi.get(self, "profiles_directory") - - @profiles_directory.setter - def profiles_directory(self, value: Optional[str]): - pulumi.set(self, "profiles_directory", value) + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[str]: - return pulumi.get(self, "project_directory") + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) - @project_directory.setter - def project_directory(self, value: Optional[str]): - pulumi.set(self, "project_directory", value) - @property - @pulumi.getter - def schema(self) -> Optional[str]: - return pulumi.get(self, "schema") +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] - @schema.setter - def schema(self, value: Optional[str]): - pulumi.set(self, "schema", value) +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) - - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") + def destination(self) -> str: + return pulumi.get(self, "destination") - @warehouse_id.setter - def warehouse_id(self, value: Optional[str]): - pulumi.set(self, "warehouse_id", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsDeploymentArgsDict(TypedDict): - kind: str - metadata_file_path: NotRequired[str] + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsDeploymentArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsDeploymentArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs: def __init__(__self__, *, - kind: str, - metadata_file_path: Optional[str] = None): - pulumi.set(__self__, "kind", kind) - if metadata_file_path is not None: - pulumi.set(__self__, "metadata_file_path", metadata_file_path) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def kind(self) -> str: - return pulumi.get(self, "kind") - - @kind.setter - def kind(self, value: str): - pulumi.set(self, "kind", value) - - @property - @pulumi.getter(name="metadataFilePath") - def metadata_file_path(self) -> Optional[str]: - return pulumi.get(self, "metadata_file_path") + def destination(self) -> str: + return pulumi.get(self, "destination") - @metadata_file_path.setter - def metadata_file_path(self, value: Optional[str]): - pulumi.set(self, "metadata_file_path", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsEmailNotificationsArgsDict(TypedDict): - no_alert_for_skipped_runs: NotRequired[bool] - on_duration_warning_threshold_exceededs: NotRequired[Sequence[str]] - on_failures: NotRequired[Sequence[str]] - on_starts: NotRequired[Sequence[str]] - on_streaming_backlog_exceededs: NotRequired[Sequence[str]] - on_successes: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] elif False: - GetJobJobSettingsSettingsEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsEmailNotificationsArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args: def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[bool] = None, - on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, - on_failures: Optional[Sequence[str]] = None, - on_starts: Optional[Sequence[str]] = None, - on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, - on_successes: Optional[Sequence[str]] = None): - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") + + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_failures") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") - @on_failures.setter - def on_failures(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_failures", value) + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_starts") + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") - @on_starts.setter - def on_starts(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_starts", value) + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_successes") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @on_successes.setter - def on_successes(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_successes", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) if not MYPY: - class GetJobJobSettingsSettingsEnvironmentArgsDict(TypedDict): - environment_key: str - spec: NotRequired['GetJobJobSettingsSettingsEnvironmentSpecArgsDict'] + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsEnvironmentArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsEnvironmentArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - environment_key: str, - spec: Optional['GetJobJobSettingsSettingsEnvironmentSpecArgs'] = None): - pulumi.set(__self__, "environment_key", environment_key) - if spec is not None: - pulumi.set(__self__, "spec", spec) - - @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> str: - return pulumi.get(self, "environment_key") - - @environment_key.setter - def environment_key(self, value: str): - pulumi.set(self, "environment_key", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def spec(self) -> Optional['GetJobJobSettingsSettingsEnvironmentSpecArgs']: - return pulumi.get(self, "spec") + def destination(self) -> str: + return pulumi.get(self, "destination") - @spec.setter - def spec(self, value: Optional['GetJobJobSettingsSettingsEnvironmentSpecArgs']): - pulumi.set(self, "spec", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsEnvironmentSpecArgsDict(TypedDict): - client: str - dependencies: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsEnvironmentSpecArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsEnvironmentSpecArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs: def __init__(__self__, *, - client: str, - dependencies: Optional[Sequence[str]] = None): - pulumi.set(__self__, "client", client) - if dependencies is not None: - pulumi.set(__self__, "dependencies", dependencies) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def client(self) -> str: - return pulumi.get(self, "client") + def destination(self) -> str: + return pulumi.get(self, "destination") - @client.setter - def client(self, value: str): - pulumi.set(self, "client", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgsDict(TypedDict): + clients: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgsDict' +elif False: + GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs: + def __init__(__self__, *, + clients: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs'): + pulumi.set(__self__, "clients", clients) @property @pulumi.getter - def dependencies(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "dependencies") + def clients(self) -> 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs': + return pulumi.get(self, "clients") - @dependencies.setter - def dependencies(self, value: Optional[Sequence[str]]): - pulumi.set(self, "dependencies", value) + @clients.setter + def clients(self, value: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs'): + pulumi.set(self, "clients", value) if not MYPY: - class GetJobJobSettingsSettingsGitSourceArgsDict(TypedDict): - url: str - branch: NotRequired[str] - commit: NotRequired[str] - job_source: NotRequired['GetJobJobSettingsSettingsGitSourceJobSourceArgsDict'] - provider: NotRequired[str] - tag: NotRequired[str] + class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[bool] + notebooks: NotRequired[bool] elif False: - GetJobJobSettingsSettingsGitSourceArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsGitSourceArgs: +class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs: def __init__(__self__, *, - url: str, - branch: Optional[str] = None, - commit: Optional[str] = None, - job_source: Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs'] = None, - provider: Optional[str] = None, - tag: Optional[str] = None): - pulumi.set(__self__, "url", url) - if branch is not None: - pulumi.set(__self__, "branch", branch) - if commit is not None: - pulumi.set(__self__, "commit", commit) - if job_source is not None: - pulumi.set(__self__, "job_source", job_source) - if provider is not None: - pulumi.set(__self__, "provider", provider) - if tag is not None: - pulumi.set(__self__, "tag", tag) + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @jobs.setter + def jobs(self, value: Optional[bool]): + pulumi.set(self, "jobs", value) @property @pulumi.getter - def branch(self) -> Optional[str]: - return pulumi.get(self, "branch") + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") - @branch.setter - def branch(self, value: Optional[str]): - pulumi.set(self, "branch", value) + @notebooks.setter + def notebooks(self, value: Optional[bool]): + pulumi.set(self, "notebooks", value) - @property - @pulumi.getter - def commit(self) -> Optional[str]: - return pulumi.get(self, "commit") - @commit.setter - def commit(self, value: Optional[str]): - pulumi.set(self, "commit", value) +if not MYPY: + class GetJobJobSettingsSettingsLibraryArgsDict(TypedDict): + cran: NotRequired['GetJobJobSettingsSettingsLibraryCranArgsDict'] + egg: NotRequired[str] + jar: NotRequired[str] + maven: NotRequired['GetJobJobSettingsSettingsLibraryMavenArgsDict'] + pypi: NotRequired['GetJobJobSettingsSettingsLibraryPypiArgsDict'] + requirements: NotRequired[str] + whl: NotRequired[str] +elif False: + GetJobJobSettingsSettingsLibraryArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsLibraryArgs: + def __init__(__self__, *, + cran: Optional['GetJobJobSettingsSettingsLibraryCranArgs'] = None, + egg: Optional[str] = None, + jar: Optional[str] = None, + maven: Optional['GetJobJobSettingsSettingsLibraryMavenArgs'] = None, + pypi: Optional['GetJobJobSettingsSettingsLibraryPypiArgs'] = None, + requirements: Optional[str] = None, + whl: Optional[str] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property - @pulumi.getter(name="jobSource") - def job_source(self) -> Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs']: - return pulumi.get(self, "job_source") + @pulumi.getter + def cran(self) -> Optional['GetJobJobSettingsSettingsLibraryCranArgs']: + return pulumi.get(self, "cran") - @job_source.setter - def job_source(self, value: Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs']): - pulumi.set(self, "job_source", value) + @cran.setter + def cran(self, value: Optional['GetJobJobSettingsSettingsLibraryCranArgs']): + pulumi.set(self, "cran", value) @property @pulumi.getter - def provider(self) -> Optional[str]: - return pulumi.get(self, "provider") + def egg(self) -> Optional[str]: + return pulumi.get(self, "egg") - @provider.setter - def provider(self, value: Optional[str]): - pulumi.set(self, "provider", value) + @egg.setter + def egg(self, value: Optional[str]): + pulumi.set(self, "egg", value) @property @pulumi.getter - def tag(self) -> Optional[str]: - return pulumi.get(self, "tag") - - @tag.setter - def tag(self, value: Optional[str]): - pulumi.set(self, "tag", value) + def jar(self) -> Optional[str]: + return pulumi.get(self, "jar") + @jar.setter + def jar(self, value: Optional[str]): + pulumi.set(self, "jar", value) -if not MYPY: - class GetJobJobSettingsSettingsGitSourceJobSourceArgsDict(TypedDict): - import_from_git_branch: str - job_config_path: str - dirty_state: NotRequired[str] -elif False: - GetJobJobSettingsSettingsGitSourceJobSourceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter + def maven(self) -> Optional['GetJobJobSettingsSettingsLibraryMavenArgs']: + return pulumi.get(self, "maven") -@pulumi.input_type -class GetJobJobSettingsSettingsGitSourceJobSourceArgs: - def __init__(__self__, *, - import_from_git_branch: str, - job_config_path: str, - dirty_state: Optional[str] = None): - pulumi.set(__self__, "import_from_git_branch", import_from_git_branch) - pulumi.set(__self__, "job_config_path", job_config_path) - if dirty_state is not None: - pulumi.set(__self__, "dirty_state", dirty_state) + @maven.setter + def maven(self, value: Optional['GetJobJobSettingsSettingsLibraryMavenArgs']): + pulumi.set(self, "maven", value) @property - @pulumi.getter(name="importFromGitBranch") - def import_from_git_branch(self) -> str: - return pulumi.get(self, "import_from_git_branch") + @pulumi.getter + def pypi(self) -> Optional['GetJobJobSettingsSettingsLibraryPypiArgs']: + return pulumi.get(self, "pypi") - @import_from_git_branch.setter - def import_from_git_branch(self, value: str): - pulumi.set(self, "import_from_git_branch", value) + @pypi.setter + def pypi(self, value: Optional['GetJobJobSettingsSettingsLibraryPypiArgs']): + pulumi.set(self, "pypi", value) @property - @pulumi.getter(name="jobConfigPath") - def job_config_path(self) -> str: - return pulumi.get(self, "job_config_path") + @pulumi.getter + def requirements(self) -> Optional[str]: + return pulumi.get(self, "requirements") - @job_config_path.setter - def job_config_path(self, value: str): - pulumi.set(self, "job_config_path", value) + @requirements.setter + def requirements(self, value: Optional[str]): + pulumi.set(self, "requirements", value) @property - @pulumi.getter(name="dirtyState") - def dirty_state(self) -> Optional[str]: - return pulumi.get(self, "dirty_state") + @pulumi.getter + def whl(self) -> Optional[str]: + return pulumi.get(self, "whl") - @dirty_state.setter - def dirty_state(self, value: Optional[str]): - pulumi.set(self, "dirty_state", value) + @whl.setter + def whl(self, value: Optional[str]): + pulumi.set(self, "whl", value) if not MYPY: - class GetJobJobSettingsSettingsHealthArgsDict(TypedDict): - rules: Sequence['GetJobJobSettingsSettingsHealthRuleArgsDict'] + class GetJobJobSettingsSettingsLibraryCranArgsDict(TypedDict): + package: str + repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsHealthArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsHealthArgs: +class GetJobJobSettingsSettingsLibraryCranArgs: def __init__(__self__, *, - rules: Sequence['GetJobJobSettingsSettingsHealthRuleArgs']): - pulumi.set(__self__, "rules", rules) + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def rules(self) -> Sequence['GetJobJobSettingsSettingsHealthRuleArgs']: - return pulumi.get(self, "rules") + def package(self) -> str: + return pulumi.get(self, "package") - @rules.setter - def rules(self, value: Sequence['GetJobJobSettingsSettingsHealthRuleArgs']): - pulumi.set(self, "rules", value) + @package.setter + def package(self, value: str): + pulumi.set(self, "package", value) + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") + + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetJobJobSettingsSettingsHealthRuleArgsDict(TypedDict): - metric: str - op: str - value: int + class GetJobJobSettingsSettingsLibraryMavenArgsDict(TypedDict): + coordinates: str + exclusions: NotRequired[Sequence[str]] + repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsHealthRuleArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsHealthRuleArgs: +class GetJobJobSettingsSettingsLibraryMavenArgs: def __init__(__self__, *, - metric: str, - op: str, - value: int): - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) + coordinates: str, + exclusions: Optional[Sequence[str]] = None, + repo: Optional[str] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def metric(self) -> str: - return pulumi.get(self, "metric") + def coordinates(self) -> str: + return pulumi.get(self, "coordinates") - @metric.setter - def metric(self, value: str): - pulumi.set(self, "metric", value) + @coordinates.setter + def coordinates(self, value: str): + pulumi.set(self, "coordinates", value) @property @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + def exclusions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "exclusions") - @op.setter - def op(self, value: str): - pulumi.set(self, "op", value) + @exclusions.setter + def exclusions(self, value: Optional[Sequence[str]]): + pulumi.set(self, "exclusions", value) @property @pulumi.getter - def value(self) -> int: - return pulumi.get(self, "value") + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @value.setter - def value(self, value: int): - pulumi.set(self, "value", value) + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterArgsDict(TypedDict): - job_cluster_key: str - new_cluster: 'GetJobJobSettingsSettingsJobClusterNewClusterArgsDict' + class GetJobJobSettingsSettingsLibraryPypiArgsDict(TypedDict): + package: str + repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsJobClusterArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterArgs: +class GetJobJobSettingsSettingsLibraryPypiArgs: def __init__(__self__, *, - job_cluster_key: str, - new_cluster: 'GetJobJobSettingsSettingsJobClusterNewClusterArgs'): - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - pulumi.set(__self__, "new_cluster", new_cluster) + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> str: - return pulumi.get(self, "job_cluster_key") + @pulumi.getter + def package(self) -> str: + return pulumi.get(self, "package") - @job_cluster_key.setter - def job_cluster_key(self, value: str): - pulumi.set(self, "job_cluster_key", value) + @package.setter + def package(self, value: str): + pulumi.set(self, "package", value) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> 'GetJobJobSettingsSettingsJobClusterNewClusterArgs': - return pulumi.get(self, "new_cluster") + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @new_cluster.setter - def new_cluster(self, value: 'GetJobJobSettingsSettingsJobClusterNewClusterArgs'): - pulumi.set(self, "new_cluster", value) + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterArgsDict(TypedDict): + class GetJobJobSettingsSettingsNewClusterArgsDict(TypedDict): driver_instance_pool_id: str driver_node_type_id: str enable_elastic_disk: bool @@ -42202,20 +45456,20 @@ class GetJobJobSettingsSettingsJobClusterNewClusterArgsDict(TypedDict): num_workers: int spark_version: str apply_policy_default_values: NotRequired[bool] - autoscale: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgsDict'] + autoscale: NotRequired['GetJobJobSettingsSettingsNewClusterAutoscaleArgsDict'] autotermination_minutes: NotRequired[int] - aws_attributes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgsDict'] + aws_attributes: NotRequired['GetJobJobSettingsSettingsNewClusterAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetJobJobSettingsSettingsNewClusterAzureAttributesArgsDict'] cluster_id: NotRequired[str] - cluster_log_conf: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgsDict'] - cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgsDict']] + cluster_log_conf: NotRequired['GetJobJobSettingsSettingsNewClusterClusterLogConfArgsDict'] + cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgsDict']] cluster_name: NotRequired[str] custom_tags: NotRequired[Mapping[str, str]] data_security_mode: NotRequired[str] - docker_image: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgsDict'] - gcp_attributes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgsDict'] + docker_image: NotRequired['GetJobJobSettingsSettingsNewClusterDockerImageArgsDict'] + gcp_attributes: NotRequired['GetJobJobSettingsSettingsNewClusterGcpAttributesArgsDict'] idempotency_token: NotRequired[str] - init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgsDict']] + init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgsDict']] instance_pool_id: NotRequired[str] policy_id: NotRequired[str] runtime_engine: NotRequired[str] @@ -42223,12 +45477,12 @@ class GetJobJobSettingsSettingsJobClusterNewClusterArgsDict(TypedDict): spark_conf: NotRequired[Mapping[str, str]] spark_env_vars: NotRequired[Mapping[str, str]] ssh_public_keys: NotRequired[Sequence[str]] - workload_type: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgsDict'] + workload_type: NotRequired['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgsDict'] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterArgs: +class GetJobJobSettingsSettingsNewClusterArgs: def __init__(__self__, *, driver_instance_pool_id: str, driver_node_type_id: str, @@ -42238,20 +45492,20 @@ def __init__(__self__, *, num_workers: int, spark_version: str, apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs'] = None, + autoscale: Optional['GetJobJobSettingsSettingsNewClusterAutoscaleArgs'] = None, autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs'] = None, - azure_attributes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs'] = None, + aws_attributes: Optional['GetJobJobSettingsSettingsNewClusterAwsAttributesArgs'] = None, + azure_attributes: Optional['GetJobJobSettingsSettingsNewClusterAzureAttributesArgs'] = None, cluster_id: Optional[str] = None, - cluster_log_conf: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs'] = None, - cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs']] = None, + cluster_log_conf: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfArgs'] = None, + cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs']] = None, cluster_name: Optional[str] = None, custom_tags: Optional[Mapping[str, str]] = None, data_security_mode: Optional[str] = None, - docker_image: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs'] = None, - gcp_attributes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs'] = None, + docker_image: Optional['GetJobJobSettingsSettingsNewClusterDockerImageArgs'] = None, + gcp_attributes: Optional['GetJobJobSettingsSettingsNewClusterGcpAttributesArgs'] = None, idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs']] = None, + init_scripts: Optional[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgs']] = None, instance_pool_id: Optional[str] = None, policy_id: Optional[str] = None, runtime_engine: Optional[str] = None, @@ -42259,7 +45513,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs'] = None): + workload_type: Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs'] = None): pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) @@ -42388,11 +45642,11 @@ def apply_policy_default_values(self, value: Optional[bool]): @property @pulumi.getter - def autoscale(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs']: + def autoscale(self) -> Optional['GetJobJobSettingsSettingsNewClusterAutoscaleArgs']: return pulumi.get(self, "autoscale") @autoscale.setter - def autoscale(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs']): + def autoscale(self, value: Optional['GetJobJobSettingsSettingsNewClusterAutoscaleArgs']): pulumi.set(self, "autoscale", value) @property @@ -42406,20 +45660,20 @@ def autotermination_minutes(self, value: Optional[int]): @property @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs']: + def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsNewClusterAwsAttributesArgs']: return pulumi.get(self, "aws_attributes") @aws_attributes.setter - def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs']): + def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsNewClusterAwsAttributesArgs']): pulumi.set(self, "aws_attributes", value) @property @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs']: + def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsNewClusterAzureAttributesArgs']: return pulumi.get(self, "azure_attributes") @azure_attributes.setter - def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs']): + def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsNewClusterAzureAttributesArgs']): pulumi.set(self, "azure_attributes", value) @property @@ -42433,20 +45687,20 @@ def cluster_id(self, value: Optional[str]): @property @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs']: + def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfArgs']: return pulumi.get(self, "cluster_log_conf") @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs']): + def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfArgs']): pulumi.set(self, "cluster_log_conf", value) @property @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs']]: + def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs']]: return pulumi.get(self, "cluster_mount_infos") @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs']]): + def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs']]): pulumi.set(self, "cluster_mount_infos", value) @property @@ -42478,20 +45732,20 @@ def data_security_mode(self, value: Optional[str]): @property @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs']: + def docker_image(self) -> Optional['GetJobJobSettingsSettingsNewClusterDockerImageArgs']: return pulumi.get(self, "docker_image") @docker_image.setter - def docker_image(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs']): + def docker_image(self, value: Optional['GetJobJobSettingsSettingsNewClusterDockerImageArgs']): pulumi.set(self, "docker_image", value) @property @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs']: + def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsNewClusterGcpAttributesArgs']: return pulumi.get(self, "gcp_attributes") @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs']): + def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsNewClusterGcpAttributesArgs']): pulumi.set(self, "gcp_attributes", value) @property @@ -42505,11 +45759,11 @@ def idempotency_token(self, value: Optional[str]): @property @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs']]: + def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgs']]: return pulumi.get(self, "init_scripts") @init_scripts.setter - def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs']]): + def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgs']]): pulumi.set(self, "init_scripts", value) @property @@ -42577,23 +45831,23 @@ def ssh_public_keys(self, value: Optional[Sequence[str]]): @property @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs']: + def workload_type(self) -> Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs']: return pulumi.get(self, "workload_type") @workload_type.setter - def workload_type(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs']): + def workload_type(self, value: Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs']): pulumi.set(self, "workload_type", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgsDict(TypedDict): + class GetJobJobSettingsSettingsNewClusterAutoscaleArgsDict(TypedDict): max_workers: NotRequired[int] min_workers: NotRequired[int] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleArgs: +class GetJobJobSettingsSettingsNewClusterAutoscaleArgs: def __init__(__self__, *, max_workers: Optional[int] = None, min_workers: Optional[int] = None): @@ -42603,62 +45857,526 @@ def __init__(__self__, *, pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") + + @max_workers.setter + def max_workers(self, value: Optional[int]): + pulumi.set(self, "max_workers", value) + + @property + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") + + @min_workers.setter + def min_workers(self, value: Optional[int]): + pulumi.set(self, "min_workers", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[str] + ebs_volume_count: NotRequired[int] + ebs_volume_size: NotRequired[int] + ebs_volume_type: NotRequired[str] + first_on_demand: NotRequired[int] + instance_profile_arn: NotRequired[str] + spot_bid_price_percent: NotRequired[int] + zone_id: NotRequired[str] +elif False: + GetJobJobSettingsSettingsNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterAwsAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") + + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_count", value) + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") + + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_size", value) + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[str]): + pulumi.set(self, "ebs_volume_type", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[str]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[int]): + pulumi.set(self, "spot_bid_price_percent", value) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[str] + first_on_demand: NotRequired[int] + spot_bid_max_price: NotRequired[float] +elif False: + GetJobJobSettingsSettingsNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterAzureAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") + + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[float]): + pulumi.set(self, "spot_bid_max_price", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsNewClusterClusterLogConfS3ArgsDict'] +elif False: + GetJobJobSettingsSettingsNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterClusterLogConfArgs: + def __init__(__self__, *, + dbfs: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + + @property + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs']: + return pulumi.get(self, "dbfs") + + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs']): + pulumi.set(self, "dbfs", value) + + @property + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args']: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args']): + pulumi.set(self, "s3", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] +elif False: + GetJobJobSettingsSettingsNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args: + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") + + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) + + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") + + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") + + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) + + @property + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") + + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: str + network_filesystem_info: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' + remote_mount_dir_path: NotRequired[str] +elif False: + GetJobJobSettingsSettingsNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs: + def __init__(__self__, *, + local_mount_dir_path: str, + network_filesystem_info: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + + @property + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") + + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: str): + pulumi.set(self, "local_mount_dir_path", value) + + @property + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs': + return pulumi.get(self, "network_filesystem_info") + + @network_filesystem_info.setter + def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): + pulumi.set(self, "network_filesystem_info", value) + + @property + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") + + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[str]): + pulumi.set(self, "remote_mount_dir_path", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: str + mount_options: NotRequired[str] +elif False: + GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) + + @property + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") + + @server_address.setter + def server_address(self, value: str): + pulumi.set(self, "server_address", value) + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") + + @mount_options.setter + def mount_options(self, value: Optional[str]): + pulumi.set(self, "mount_options", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterDockerImageArgsDict(TypedDict): + url: str + basic_auth: NotRequired['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgsDict'] +elif False: + GetJobJobSettingsSettingsNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterDockerImageArgs: + def __init__(__self__, *, + url: str, + basic_auth: Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) + + @property + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") + + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) + + @property + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") + + @basic_auth.setter + def basic_auth(self, value: Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: str + username: str +elif False: + GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> str: + return pulumi.get(self, "password") - @max_workers.setter - def max_workers(self, value: Optional[int]): - pulumi.set(self, "max_workers", value) + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") - @min_workers.setter - def min_workers(self, value: Optional[int]): - pulumi.set(self, "min_workers", value) + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgsDict(TypedDict): + class GetJobJobSettingsSettingsNewClusterGcpAttributesArgsDict(TypedDict): availability: NotRequired[str] - ebs_volume_count: NotRequired[int] - ebs_volume_size: NotRequired[int] - ebs_volume_type: NotRequired[str] - first_on_demand: NotRequired[int] - instance_profile_arn: NotRequired[str] - spot_bid_price_percent: NotRequired[int] + boot_disk_size: NotRequired[int] + google_service_account: NotRequired[str] + local_ssd_count: NotRequired[int] + use_preemptible_executors: NotRequired[bool] zone_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesArgs: +class GetJobJobSettingsSettingsNewClusterGcpAttributesArgs: def __init__(__self__, *, availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None): if availability is not None: pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) if zone_id is not None: pulumi.set(__self__, "zone_id", zone_id) @@ -42672,58 +46390,40 @@ def availability(self, value: Optional[str]): pulumi.set(self, "availability", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") - - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_count", value) - - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") - - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_size", value) - - @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[str]): - pulumi.set(self, "ebs_volume_type", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[int]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @google_service_account.setter + def google_service_account(self, value: Optional[str]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[str]): - pulumi.set(self, "instance_profile_arn", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[int]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[int]): - pulumi.set(self, "spot_bid_price_percent", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[bool]): + pulumi.set(self, "use_preemptible_executors", value) @property @pulumi.getter(name="zoneId") @@ -42736,98 +46436,158 @@ def zone_id(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[str] - first_on_demand: NotRequired[int] - spot_bid_max_price: NotRequired[float] + class GetJobJobSettingsSettingsNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgsDict'] + dbfs: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgsDict'] + file: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptFileArgsDict'] + gcs: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptS3ArgsDict'] + volumes: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgsDict'] + workspace: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgsDict'] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesArgs: +class GetJobJobSettingsSettingsNewClusterInitScriptArgs: def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + abfss: Optional['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs'] = None, + dbfs: Optional['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs'] = None, + file: Optional['GetJobJobSettingsSettingsNewClusterInitScriptFileArgs'] = None, + gcs: Optional['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args'] = None, + volumes: Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs'] = None, + workspace: Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def abfss(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs']: + return pulumi.get(self, "abfss") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @abfss.setter + def abfss(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs']): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs']: + return pulumi.get(self, "dbfs") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs']): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter + def file(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptFileArgs']: + return pulumi.get(self, "file") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[float]): - pulumi.set(self, "spot_bid_max_price", value) + @file.setter + def file(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptFileArgs']): + pulumi.set(self, "file", value) + + @property + @pulumi.getter + def gcs(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs']: + return pulumi.get(self, "gcs") + + @gcs.setter + def gcs(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs']): + pulumi.set(self, "gcs", value) + + @property + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args']: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args']): + pulumi.set(self, "s3", value) + + @property + @pulumi.getter + def volumes(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs']: + return pulumi.get(self, "volumes") + + @volumes.setter + def volumes(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs']): + pulumi.set(self, "volumes", value) + + @property + @pulumi.getter + def workspace(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs']: + return pulumi.get(self, "workspace") + + @workspace.setter + def workspace(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs']): + pulumi.set(self, "workspace", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict'] + class GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfArgs: +class GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs: def __init__(__self__, *, - dbfs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs']: - return pulumi.get(self, "dbfs") + def destination(self) -> str: + return pulumi.get(self, "destination") - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs']): - pulumi.set(self, "dbfs", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args']: - return pulumi.get(self, "s3") + def destination(self) -> str: + return pulumi.get(self, "destination") - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args']): - pulumi.set(self, "s3", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgsDict(TypedDict): + class GetJobJobSettingsSettingsNewClusterInitScriptFileArgsDict(TypedDict): destination: str elif False: - GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs: +class GetJobJobSettingsSettingsNewClusterInitScriptFileArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -42843,7 +46603,29 @@ def destination(self, value: str): if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict(TypedDict): + class GetJobJobSettingsSettingsNewClusterInitScriptGcsArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterInitScriptS3ArgsDict(TypedDict): destination: str canned_acl: NotRequired[str] enable_encryption: NotRequired[bool] @@ -42852,10 +46634,10 @@ class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict(Type kms_key: NotRequired[str] region: NotRequired[str] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args: +class GetJobJobSettingsSettingsNewClusterInitScriptS3Args: def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -42943,3904 +46725,4241 @@ def region(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: str - network_filesystem_info: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' - remote_mount_dir_path: NotRequired[str] + class GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoArgs: +class GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: str): - pulumi.set(self, "local_mount_dir_path", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) - @network_filesystem_info.setter - def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): - pulumi.set(self, "network_filesystem_info", value) + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterWorkloadTypeArgsDict(TypedDict): + clients: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgsDict' +elif False: + GetJobJobSettingsSettingsNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs: + def __init__(__self__, *, + clients: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs'): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def clients(self) -> 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs': + return pulumi.get(self, "clients") + + @clients.setter + def clients(self, value: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs'): + pulumi.set(self, "clients", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[bool] + notebooks: NotRequired[bool] +elif False: + GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs: + def __init__(__self__, *, + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) + + @property + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") + + @jobs.setter + def jobs(self, value: Optional[bool]): + pulumi.set(self, "jobs", value) + + @property + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") + + @notebooks.setter + def notebooks(self, value: Optional[bool]): + pulumi.set(self, "notebooks", value) + + +if not MYPY: + class GetJobJobSettingsSettingsNotebookTaskArgsDict(TypedDict): + notebook_path: str + base_parameters: NotRequired[Mapping[str, str]] + source: NotRequired[str] + warehouse_id: NotRequired[str] +elif False: + GetJobJobSettingsSettingsNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsNotebookTaskArgs: + def __init__(__self__, *, + notebook_path: str, + base_parameters: Optional[Mapping[str, str]] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) + + @property + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> str: + return pulumi.get(self, "notebook_path") + + @notebook_path.setter + def notebook_path(self, value: str): + pulumi.set(self, "notebook_path", value) + + @property + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "base_parameters") + + @base_parameters.setter + def base_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "base_parameters", value) + + @property + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") + + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[str]): - pulumi.set(self, "remote_mount_dir_path", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[str]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: str - mount_options: NotRequired[str] + class GetJobJobSettingsSettingsNotificationSettingsArgsDict(TypedDict): + no_alert_for_canceled_runs: NotRequired[bool] + no_alert_for_skipped_runs: NotRequired[bool] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class GetJobJobSettingsSettingsNotificationSettingsArgs: def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + no_alert_for_canceled_runs: Optional[bool] = None, + no_alert_for_skipped_runs: Optional[bool] = None): + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_canceled_runs") - @server_address.setter - def server_address(self, value: str): - pulumi.set(self, "server_address", value) + @no_alert_for_canceled_runs.setter + def no_alert_for_canceled_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_canceled_runs", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") - @mount_options.setter - def mount_options(self, value: Optional[str]): - pulumi.set(self, "mount_options", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_skipped_runs", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgsDict(TypedDict): - url: str - basic_auth: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgsDict'] + class GetJobJobSettingsSettingsParameterArgsDict(TypedDict): + default: str + name: str + """ + the job name of Job if the resource was matched by id. + """ elif False: - GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsParameterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageArgs: +class GetJobJobSettingsSettingsParameterArgs: def __init__(__self__, *, - url: str, - basic_auth: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + default: str, + name: str): + """ + :param str name: the job name of Job if the resource was matched by id. + """ + pulumi.set(__self__, "default", default) + pulumi.set(__self__, "name", name) @property @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + def default(self) -> str: + return pulumi.get(self, "default") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @default.setter + def default(self, value: str): + pulumi.set(self, "default", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") + @pulumi.getter + def name(self) -> str: + """ + the job name of Job if the resource was matched by id. + """ + return pulumi.get(self, "name") - @basic_auth.setter - def basic_auth(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: str - username: str + class GetJobJobSettingsSettingsPipelineTaskArgsDict(TypedDict): + pipeline_id: str + full_refresh: NotRequired[bool] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs: +class GetJobJobSettingsSettingsPipelineTaskArgs: def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + pipeline_id: str, + full_refresh: Optional[bool] = None): + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> str: + return pulumi.get(self, "pipeline_id") - @password.setter - def password(self, value: str): - pulumi.set(self, "password", value) + @pipeline_id.setter + def pipeline_id(self, value: str): + pulumi.set(self, "pipeline_id", value) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[bool]: + return pulumi.get(self, "full_refresh") - @username.setter - def username(self, value: str): - pulumi.set(self, "username", value) + @full_refresh.setter + def full_refresh(self, value: Optional[bool]): + pulumi.set(self, "full_refresh", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[str] - boot_disk_size: NotRequired[int] - google_service_account: NotRequired[str] - local_ssd_count: NotRequired[int] - use_preemptible_executors: NotRequired[bool] - zone_id: NotRequired[str] + class GetJobJobSettingsSettingsPythonWheelTaskArgsDict(TypedDict): + entry_point: NotRequired[str] + named_parameters: NotRequired[Mapping[str, str]] + package_name: NotRequired[str] + parameters: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesArgs: +class GetJobJobSettingsSettingsPythonWheelTaskArgs: def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + entry_point: Optional[str] = None, + named_parameters: Optional[Mapping[str, str]] = None, + package_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[str]: + return pulumi.get(self, "entry_point") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @entry_point.setter + def entry_point(self, value: Optional[str]): + pulumi.set(self, "entry_point", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "named_parameters") - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[int]): - pulumi.set(self, "boot_disk_size", value) + @named_parameters.setter + def named_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "named_parameters", value) @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + return pulumi.get(self, "package_name") - @google_service_account.setter - def google_service_account(self, value: Optional[str]): - pulumi.set(self, "google_service_account", value) + @package_name.setter + def package_name(self, value: Optional[str]): + pulumi.set(self, "package_name", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[int]): - pulumi.set(self, "local_ssd_count", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) - @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[bool]): - pulumi.set(self, "use_preemptible_executors", value) +if not MYPY: + class GetJobJobSettingsSettingsQueueArgsDict(TypedDict): + enabled: bool +elif False: + GetJobJobSettingsSettingsQueueArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsQueueArgs: + def __init__(__self__, *, + enabled: bool): + pulumi.set(__self__, "enabled", enabled) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def enabled(self) -> bool: + return pulumi.get(self, "enabled") - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) + @enabled.setter + def enabled(self, value: bool): + pulumi.set(self, "enabled", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgsDict'] - dbfs: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgsDict'] - file: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgsDict'] - gcs: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3ArgsDict'] - volumes: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgsDict'] - workspace: NotRequired['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgsDict'] + class GetJobJobSettingsSettingsRunAsArgsDict(TypedDict): + service_principal_name: NotRequired[str] + user_name: NotRequired[str] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsRunAsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptArgs: +class GetJobJobSettingsSettingsRunAsArgs: def __init__(__self__, *, - abfss: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs'] = None, - dbfs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs'] = None, - file: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs'] = None, - gcs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args'] = None, - volumes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs'] = None, - workspace: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + service_principal_name: Optional[str] = None, + user_name: Optional[str] = None): + if service_principal_name is not None: + pulumi.set(__self__, "service_principal_name", service_principal_name) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def abfss(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs']: - return pulumi.get(self, "abfss") + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> Optional[str]: + return pulumi.get(self, "service_principal_name") - @abfss.setter - def abfss(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs']): - pulumi.set(self, "abfss", value) + @service_principal_name.setter + def service_principal_name(self, value: Optional[str]): + pulumi.set(self, "service_principal_name", value) @property - @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs']: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs']): - pulumi.set(self, "dbfs", value) + @user_name.setter + def user_name(self, value: Optional[str]): + pulumi.set(self, "user_name", value) + + +if not MYPY: + class GetJobJobSettingsSettingsRunJobTaskArgsDict(TypedDict): + job_id: int + job_parameters: NotRequired[Mapping[str, str]] +elif False: + GetJobJobSettingsSettingsRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsRunJobTaskArgs: + def __init__(__self__, *, + job_id: int, + job_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "job_id", job_id) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) @property - @pulumi.getter - def file(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs']: - return pulumi.get(self, "file") + @pulumi.getter(name="jobId") + def job_id(self) -> int: + return pulumi.get(self, "job_id") - @file.setter - def file(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs']): - pulumi.set(self, "file", value) + @job_id.setter + def job_id(self, value: int): + pulumi.set(self, "job_id", value) @property - @pulumi.getter - def gcs(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs']: - return pulumi.get(self, "gcs") + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "job_parameters") - @gcs.setter - def gcs(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs']): - pulumi.set(self, "gcs", value) + @job_parameters.setter + def job_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "job_parameters", value) + + +if not MYPY: + class GetJobJobSettingsSettingsScheduleArgsDict(TypedDict): + quartz_cron_expression: str + timezone_id: str + pause_status: NotRequired[str] +elif False: + GetJobJobSettingsSettingsScheduleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsScheduleArgs: + def __init__(__self__, *, + quartz_cron_expression: str, + timezone_id: str, + pause_status: Optional[str] = None): + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) @property - @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args']: - return pulumi.get(self, "s3") + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> str: + return pulumi.get(self, "quartz_cron_expression") - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args']): - pulumi.set(self, "s3", value) + @quartz_cron_expression.setter + def quartz_cron_expression(self, value: str): + pulumi.set(self, "quartz_cron_expression", value) @property - @pulumi.getter - def volumes(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs']: - return pulumi.get(self, "volumes") + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> str: + return pulumi.get(self, "timezone_id") - @volumes.setter - def volumes(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs']): - pulumi.set(self, "volumes", value) + @timezone_id.setter + def timezone_id(self, value: str): + pulumi.set(self, "timezone_id", value) @property - @pulumi.getter - def workspace(self) -> Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs']: - return pulumi.get(self, "workspace") + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") - @workspace.setter - def workspace(self, value: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs']): - pulumi.set(self, "workspace", value) + @pause_status.setter + def pause_status(self, value: Optional[str]): + pulumi.set(self, "pause_status", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsSparkJarTaskArgsDict(TypedDict): + jar_uri: NotRequired[str] + main_class_name: NotRequired[str] + parameters: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssArgs: +class GetJobJobSettingsSettingsSparkJarTaskArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + jar_uri: Optional[str] = None, + main_class_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[str]: + return pulumi.get(self, "jar_uri") + + @jar_uri.setter + def jar_uri(self, value: Optional[str]): + pulumi.set(self, "jar_uri", value) + + @property + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[str]: + return pulumi.get(self, "main_class_name") + + @main_class_name.setter + def main_class_name(self, value: Optional[str]): + pulumi.set(self, "main_class_name", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsSparkPythonTaskArgsDict(TypedDict): + python_file: str + parameters: NotRequired[Sequence[str]] + source: NotRequired[str] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsArgs: +class GetJobJobSettingsSettingsSparkPythonTaskArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + python_file: str, + parameters: Optional[Sequence[str]] = None, + source: Optional[str] = None): + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @pulumi.getter(name="pythonFile") + def python_file(self) -> str: + return pulumi.get(self, "python_file") + @python_file.setter + def python_file(self, value: str): + pulumi.set(self, "python_file", value) -if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") -@pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsSparkSubmitTaskArgsDict(TypedDict): + parameters: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsArgs: +class GetJobJobSettingsSettingsSparkSubmitTaskArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + parameters: Optional[Sequence[str]] = None): + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] + class GetJobJobSettingsSettingsTaskArgsDict(TypedDict): + retry_on_timeout: bool + task_key: str + condition_task: NotRequired['GetJobJobSettingsSettingsTaskConditionTaskArgsDict'] + dbt_task: NotRequired['GetJobJobSettingsSettingsTaskDbtTaskArgsDict'] + depends_ons: NotRequired[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgsDict']] + description: NotRequired[str] + email_notifications: NotRequired['GetJobJobSettingsSettingsTaskEmailNotificationsArgsDict'] + environment_key: NotRequired[str] + existing_cluster_id: NotRequired[str] + for_each_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskArgsDict'] + health: NotRequired['GetJobJobSettingsSettingsTaskHealthArgsDict'] + job_cluster_key: NotRequired[str] + libraries: NotRequired[Sequence['GetJobJobSettingsSettingsTaskLibraryArgsDict']] + max_retries: NotRequired[int] + min_retry_interval_millis: NotRequired[int] + new_cluster: NotRequired['GetJobJobSettingsSettingsTaskNewClusterArgsDict'] + notebook_task: NotRequired['GetJobJobSettingsSettingsTaskNotebookTaskArgsDict'] + notification_settings: NotRequired['GetJobJobSettingsSettingsTaskNotificationSettingsArgsDict'] + pipeline_task: NotRequired['GetJobJobSettingsSettingsTaskPipelineTaskArgsDict'] + python_wheel_task: NotRequired['GetJobJobSettingsSettingsTaskPythonWheelTaskArgsDict'] + run_if: NotRequired[str] + run_job_task: NotRequired['GetJobJobSettingsSettingsTaskRunJobTaskArgsDict'] + spark_jar_task: NotRequired['GetJobJobSettingsSettingsTaskSparkJarTaskArgsDict'] + spark_python_task: NotRequired['GetJobJobSettingsSettingsTaskSparkPythonTaskArgsDict'] + spark_submit_task: NotRequired['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgsDict'] + sql_task: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskArgsDict'] + timeout_seconds: NotRequired[int] + webhook_notifications: NotRequired['GetJobJobSettingsSettingsTaskWebhookNotificationsArgsDict'] elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args: +class GetJobJobSettingsSettingsTaskArgs: def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + retry_on_timeout: bool, + task_key: str, + condition_task: Optional['GetJobJobSettingsSettingsTaskConditionTaskArgs'] = None, + dbt_task: Optional['GetJobJobSettingsSettingsTaskDbtTaskArgs'] = None, + depends_ons: Optional[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgs']] = None, + description: Optional[str] = None, + email_notifications: Optional['GetJobJobSettingsSettingsTaskEmailNotificationsArgs'] = None, + environment_key: Optional[str] = None, + existing_cluster_id: Optional[str] = None, + for_each_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskArgs'] = None, + health: Optional['GetJobJobSettingsSettingsTaskHealthArgs'] = None, + job_cluster_key: Optional[str] = None, + libraries: Optional[Sequence['GetJobJobSettingsSettingsTaskLibraryArgs']] = None, + max_retries: Optional[int] = None, + min_retry_interval_millis: Optional[int] = None, + new_cluster: Optional['GetJobJobSettingsSettingsTaskNewClusterArgs'] = None, + notebook_task: Optional['GetJobJobSettingsSettingsTaskNotebookTaskArgs'] = None, + notification_settings: Optional['GetJobJobSettingsSettingsTaskNotificationSettingsArgs'] = None, + pipeline_task: Optional['GetJobJobSettingsSettingsTaskPipelineTaskArgs'] = None, + python_wheel_task: Optional['GetJobJobSettingsSettingsTaskPythonWheelTaskArgs'] = None, + run_if: Optional[str] = None, + run_job_task: Optional['GetJobJobSettingsSettingsTaskRunJobTaskArgs'] = None, + spark_jar_task: Optional['GetJobJobSettingsSettingsTaskSparkJarTaskArgs'] = None, + spark_python_task: Optional['GetJobJobSettingsSettingsTaskSparkPythonTaskArgs'] = None, + spark_submit_task: Optional['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs'] = None, + sql_task: Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs'] = None, + timeout_seconds: Optional[int] = None, + webhook_notifications: Optional['GetJobJobSettingsSettingsTaskWebhookNotificationsArgs'] = None): + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + pulumi.set(__self__, "task_key", task_key) + if condition_task is not None: + pulumi.set(__self__, "condition_task", condition_task) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if depends_ons is not None: + pulumi.set(__self__, "depends_ons", depends_ons) + if description is not None: + pulumi.set(__self__, "description", description) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environment_key is not None: + pulumi.set(__self__, "environment_key", environment_key) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if for_each_task is not None: + pulumi.set(__self__, "for_each_task", for_each_task) + if health is not None: + pulumi.set(__self__, "health", health) + if job_cluster_key is not None: + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if run_if is not None: + pulumi.set(__self__, "run_if", run_if) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if sql_task is not None: + pulumi.set(__self__, "sql_task", sql_task) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> bool: + return pulumi.get(self, "retry_on_timeout") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @retry_on_timeout.setter + def retry_on_timeout(self, value: bool): + pulumi.set(self, "retry_on_timeout", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + @task_key.setter + def task_key(self, value: str): + pulumi.set(self, "task_key", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="conditionTask") + def condition_task(self) -> Optional['GetJobJobSettingsSettingsTaskConditionTaskArgs']: + return pulumi.get(self, "condition_task") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @condition_task.setter + def condition_task(self, value: Optional['GetJobJobSettingsSettingsTaskConditionTaskArgs']): + pulumi.set(self, "condition_task", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional['GetJobJobSettingsSettingsTaskDbtTaskArgs']: + return pulumi.get(self, "dbt_task") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @dbt_task.setter + def dbt_task(self, value: Optional['GetJobJobSettingsSettingsTaskDbtTaskArgs']): + pulumi.set(self, "dbt_task", value) @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="dependsOns") + def depends_ons(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgs']]: + return pulumi.get(self, "depends_ons") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @depends_ons.setter + def depends_ons(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgs']]): + pulumi.set(self, "depends_ons", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @description.setter + def description(self, value: Optional[str]): + pulumi.set(self, "description", value) @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskEmailNotificationsArgs']: + return pulumi.get(self, "email_notifications") + @email_notifications.setter + def email_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskEmailNotificationsArgs']): + pulumi.set(self, "email_notifications", value) -if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="environmentKey") + def environment_key(self) -> Optional[str]: + return pulumi.get(self, "environment_key") -@pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @environment_key.setter + def environment_key(self, value: Optional[str]): + pulumi.set(self, "environment_key", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[str]: + return pulumi.get(self, "existing_cluster_id") + @existing_cluster_id.setter + def existing_cluster_id(self, value: Optional[str]): + pulumi.set(self, "existing_cluster_id", value) -if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="forEachTask") + def for_each_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskArgs']: + return pulumi.get(self, "for_each_task") -@pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @for_each_task.setter + def for_each_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskArgs']): + pulumi.set(self, "for_each_task", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + def health(self) -> Optional['GetJobJobSettingsSettingsTaskHealthArgs']: + return pulumi.get(self, "health") + @health.setter + def health(self, value: Optional['GetJobJobSettingsSettingsTaskHealthArgs']): + pulumi.set(self, "health", value) -if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgsDict(TypedDict): - clients: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgsDict' -elif False: - GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> Optional[str]: + return pulumi.get(self, "job_cluster_key") -@pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs: - def __init__(__self__, *, - clients: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs'): - pulumi.set(__self__, "clients", clients) + @job_cluster_key.setter + def job_cluster_key(self, value: Optional[str]): + pulumi.set(self, "job_cluster_key", value) @property @pulumi.getter - def clients(self) -> 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs': - return pulumi.get(self, "clients") - - @clients.setter - def clients(self, value: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs'): - pulumi.set(self, "clients", value) + def libraries(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskLibraryArgs']]: + return pulumi.get(self, "libraries") + @libraries.setter + def libraries(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskLibraryArgs']]): + pulumi.set(self, "libraries", value) -if not MYPY: - class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[bool] - notebooks: NotRequired[bool] -elif False: - GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[int]: + return pulumi.get(self, "max_retries") -@pulumi.input_type -class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs: - def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @max_retries.setter + def max_retries(self, value: Optional[int]): + pulumi.set(self, "max_retries", value) @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[int]: + return pulumi.get(self, "min_retry_interval_millis") - @jobs.setter - def jobs(self, value: Optional[bool]): - pulumi.set(self, "jobs", value) + @min_retry_interval_millis.setter + def min_retry_interval_millis(self, value: Optional[int]): + pulumi.set(self, "min_retry_interval_millis", value) @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterArgs']: + return pulumi.get(self, "new_cluster") - @notebooks.setter - def notebooks(self, value: Optional[bool]): - pulumi.set(self, "notebooks", value) + @new_cluster.setter + def new_cluster(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterArgs']): + pulumi.set(self, "new_cluster", value) + @property + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional['GetJobJobSettingsSettingsTaskNotebookTaskArgs']: + return pulumi.get(self, "notebook_task") -if not MYPY: - class GetJobJobSettingsSettingsLibraryArgsDict(TypedDict): - cran: NotRequired['GetJobJobSettingsSettingsLibraryCranArgsDict'] - egg: NotRequired[str] - jar: NotRequired[str] - maven: NotRequired['GetJobJobSettingsSettingsLibraryMavenArgsDict'] - pypi: NotRequired['GetJobJobSettingsSettingsLibraryPypiArgsDict'] - requirements: NotRequired[str] - whl: NotRequired[str] -elif False: - GetJobJobSettingsSettingsLibraryArgsDict: TypeAlias = Mapping[str, Any] + @notebook_task.setter + def notebook_task(self, value: Optional['GetJobJobSettingsSettingsTaskNotebookTaskArgs']): + pulumi.set(self, "notebook_task", value) -@pulumi.input_type -class GetJobJobSettingsSettingsLibraryArgs: - def __init__(__self__, *, - cran: Optional['GetJobJobSettingsSettingsLibraryCranArgs'] = None, - egg: Optional[str] = None, - jar: Optional[str] = None, - maven: Optional['GetJobJobSettingsSettingsLibraryMavenArgs'] = None, - pypi: Optional['GetJobJobSettingsSettingsLibraryPypiArgs'] = None, - requirements: Optional[str] = None, - whl: Optional[str] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + @property + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional['GetJobJobSettingsSettingsTaskNotificationSettingsArgs']: + return pulumi.get(self, "notification_settings") + + @notification_settings.setter + def notification_settings(self, value: Optional['GetJobJobSettingsSettingsTaskNotificationSettingsArgs']): + pulumi.set(self, "notification_settings", value) @property - @pulumi.getter - def cran(self) -> Optional['GetJobJobSettingsSettingsLibraryCranArgs']: - return pulumi.get(self, "cran") + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional['GetJobJobSettingsSettingsTaskPipelineTaskArgs']: + return pulumi.get(self, "pipeline_task") - @cran.setter - def cran(self, value: Optional['GetJobJobSettingsSettingsLibraryCranArgs']): - pulumi.set(self, "cran", value) + @pipeline_task.setter + def pipeline_task(self, value: Optional['GetJobJobSettingsSettingsTaskPipelineTaskArgs']): + pulumi.set(self, "pipeline_task", value) @property - @pulumi.getter - def egg(self) -> Optional[str]: - return pulumi.get(self, "egg") + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional['GetJobJobSettingsSettingsTaskPythonWheelTaskArgs']: + return pulumi.get(self, "python_wheel_task") - @egg.setter - def egg(self, value: Optional[str]): - pulumi.set(self, "egg", value) + @python_wheel_task.setter + def python_wheel_task(self, value: Optional['GetJobJobSettingsSettingsTaskPythonWheelTaskArgs']): + pulumi.set(self, "python_wheel_task", value) @property - @pulumi.getter - def jar(self) -> Optional[str]: - return pulumi.get(self, "jar") + @pulumi.getter(name="runIf") + def run_if(self) -> Optional[str]: + return pulumi.get(self, "run_if") - @jar.setter - def jar(self, value: Optional[str]): - pulumi.set(self, "jar", value) + @run_if.setter + def run_if(self, value: Optional[str]): + pulumi.set(self, "run_if", value) @property - @pulumi.getter - def maven(self) -> Optional['GetJobJobSettingsSettingsLibraryMavenArgs']: - return pulumi.get(self, "maven") + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional['GetJobJobSettingsSettingsTaskRunJobTaskArgs']: + return pulumi.get(self, "run_job_task") - @maven.setter - def maven(self, value: Optional['GetJobJobSettingsSettingsLibraryMavenArgs']): - pulumi.set(self, "maven", value) + @run_job_task.setter + def run_job_task(self, value: Optional['GetJobJobSettingsSettingsTaskRunJobTaskArgs']): + pulumi.set(self, "run_job_task", value) @property - @pulumi.getter - def pypi(self) -> Optional['GetJobJobSettingsSettingsLibraryPypiArgs']: - return pulumi.get(self, "pypi") + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional['GetJobJobSettingsSettingsTaskSparkJarTaskArgs']: + return pulumi.get(self, "spark_jar_task") - @pypi.setter - def pypi(self, value: Optional['GetJobJobSettingsSettingsLibraryPypiArgs']): - pulumi.set(self, "pypi", value) + @spark_jar_task.setter + def spark_jar_task(self, value: Optional['GetJobJobSettingsSettingsTaskSparkJarTaskArgs']): + pulumi.set(self, "spark_jar_task", value) @property - @pulumi.getter - def requirements(self) -> Optional[str]: - return pulumi.get(self, "requirements") + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional['GetJobJobSettingsSettingsTaskSparkPythonTaskArgs']: + return pulumi.get(self, "spark_python_task") - @requirements.setter - def requirements(self, value: Optional[str]): - pulumi.set(self, "requirements", value) + @spark_python_task.setter + def spark_python_task(self, value: Optional['GetJobJobSettingsSettingsTaskSparkPythonTaskArgs']): + pulumi.set(self, "spark_python_task", value) @property - @pulumi.getter - def whl(self) -> Optional[str]: - return pulumi.get(self, "whl") - - @whl.setter - def whl(self, value: Optional[str]): - pulumi.set(self, "whl", value) + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs']: + return pulumi.get(self, "spark_submit_task") + @spark_submit_task.setter + def spark_submit_task(self, value: Optional['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs']): + pulumi.set(self, "spark_submit_task", value) -if not MYPY: - class GetJobJobSettingsSettingsLibraryCranArgsDict(TypedDict): - package: str - repo: NotRequired[str] -elif False: - GetJobJobSettingsSettingsLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="sqlTask") + def sql_task(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs']: + return pulumi.get(self, "sql_task") -@pulumi.input_type -class GetJobJobSettingsSettingsLibraryCranArgs: - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @sql_task.setter + def sql_task(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs']): + pulumi.set(self, "sql_task", value) @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[int]: + return pulumi.get(self, "timeout_seconds") - @package.setter - def package(self, value: str): - pulumi.set(self, "package", value) + @timeout_seconds.setter + def timeout_seconds(self, value: Optional[int]): + pulumi.set(self, "timeout_seconds", value) @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskWebhookNotificationsArgs']: + return pulumi.get(self, "webhook_notifications") - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @webhook_notifications.setter + def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskWebhookNotificationsArgs']): + pulumi.set(self, "webhook_notifications", value) if not MYPY: - class GetJobJobSettingsSettingsLibraryMavenArgsDict(TypedDict): - coordinates: str - exclusions: NotRequired[Sequence[str]] - repo: NotRequired[str] + class GetJobJobSettingsSettingsTaskConditionTaskArgsDict(TypedDict): + left: str + op: str + right: str elif False: - GetJobJobSettingsSettingsLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsLibraryMavenArgs: +class GetJobJobSettingsSettingsTaskConditionTaskArgs: def __init__(__self__, *, - coordinates: str, - exclusions: Optional[Sequence[str]] = None, - repo: Optional[str] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) + left: str, + op: str, + right: str): + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def coordinates(self) -> str: - return pulumi.get(self, "coordinates") + def left(self) -> str: + return pulumi.get(self, "left") - @coordinates.setter - def coordinates(self, value: str): - pulumi.set(self, "coordinates", value) + @left.setter + def left(self, value: str): + pulumi.set(self, "left", value) @property @pulumi.getter - def exclusions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "exclusions") + def op(self) -> str: + return pulumi.get(self, "op") - @exclusions.setter - def exclusions(self, value: Optional[Sequence[str]]): - pulumi.set(self, "exclusions", value) + @op.setter + def op(self, value: str): + pulumi.set(self, "op", value) @property @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + def right(self) -> str: + return pulumi.get(self, "right") - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @right.setter + def right(self, value: str): + pulumi.set(self, "right", value) if not MYPY: - class GetJobJobSettingsSettingsLibraryPypiArgsDict(TypedDict): - package: str - repo: NotRequired[str] + class GetJobJobSettingsSettingsTaskDbtTaskArgsDict(TypedDict): + commands: Sequence[str] + catalog: NotRequired[str] + profiles_directory: NotRequired[str] + project_directory: NotRequired[str] + schema: NotRequired[str] + source: NotRequired[str] + warehouse_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsLibraryPypiArgs: +class GetJobJobSettingsSettingsTaskDbtTaskArgs: def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + commands: Sequence[str], + catalog: Optional[str] = None, + profiles_directory: Optional[str] = None, + project_directory: Optional[str] = None, + schema: Optional[str] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + def commands(self) -> Sequence[str]: + return pulumi.get(self, "commands") - @package.setter - def package(self, value: str): - pulumi.set(self, "package", value) + @commands.setter + def commands(self, value: Sequence[str]): + pulumi.set(self, "commands", value) @property @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) - - -if not MYPY: - class GetJobJobSettingsSettingsNewClusterArgsDict(TypedDict): - driver_instance_pool_id: str - driver_node_type_id: str - enable_elastic_disk: bool - enable_local_disk_encryption: bool - node_type_id: str - num_workers: int - spark_version: str - apply_policy_default_values: NotRequired[bool] - autoscale: NotRequired['GetJobJobSettingsSettingsNewClusterAutoscaleArgsDict'] - autotermination_minutes: NotRequired[int] - aws_attributes: NotRequired['GetJobJobSettingsSettingsNewClusterAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetJobJobSettingsSettingsNewClusterAzureAttributesArgsDict'] - cluster_id: NotRequired[str] - cluster_log_conf: NotRequired['GetJobJobSettingsSettingsNewClusterClusterLogConfArgsDict'] - cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgsDict']] - cluster_name: NotRequired[str] - custom_tags: NotRequired[Mapping[str, str]] - data_security_mode: NotRequired[str] - docker_image: NotRequired['GetJobJobSettingsSettingsNewClusterDockerImageArgsDict'] - gcp_attributes: NotRequired['GetJobJobSettingsSettingsNewClusterGcpAttributesArgsDict'] - idempotency_token: NotRequired[str] - init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgsDict']] - instance_pool_id: NotRequired[str] - policy_id: NotRequired[str] - runtime_engine: NotRequired[str] - single_user_name: NotRequired[str] - spark_conf: NotRequired[Mapping[str, str]] - spark_env_vars: NotRequired[Mapping[str, str]] - ssh_public_keys: NotRequired[Sequence[str]] - workload_type: NotRequired['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgsDict'] -elif False: - GetJobJobSettingsSettingsNewClusterArgsDict: TypeAlias = Mapping[str, Any] + def catalog(self) -> Optional[str]: + return pulumi.get(self, "catalog") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterArgs: - def __init__(__self__, *, - driver_instance_pool_id: str, - driver_node_type_id: str, - enable_elastic_disk: bool, - enable_local_disk_encryption: bool, - node_type_id: str, - num_workers: int, - spark_version: str, - apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['GetJobJobSettingsSettingsNewClusterAutoscaleArgs'] = None, - autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['GetJobJobSettingsSettingsNewClusterAwsAttributesArgs'] = None, - azure_attributes: Optional['GetJobJobSettingsSettingsNewClusterAzureAttributesArgs'] = None, - cluster_id: Optional[str] = None, - cluster_log_conf: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfArgs'] = None, - cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs']] = None, - cluster_name: Optional[str] = None, - custom_tags: Optional[Mapping[str, str]] = None, - data_security_mode: Optional[str] = None, - docker_image: Optional['GetJobJobSettingsSettingsNewClusterDockerImageArgs'] = None, - gcp_attributes: Optional['GetJobJobSettingsSettingsNewClusterGcpAttributesArgs'] = None, - idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgs']] = None, - instance_pool_id: Optional[str] = None, - policy_id: Optional[str] = None, - runtime_engine: Optional[str] = None, - single_user_name: Optional[str] = None, - spark_conf: Optional[Mapping[str, str]] = None, - spark_env_vars: Optional[Mapping[str, str]] = None, - ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs'] = None): - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - pulumi.set(__self__, "node_type_id", node_type_id) - pulumi.set(__self__, "num_workers", num_workers) - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if autotermination_minutes is not None: - pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + @catalog.setter + def catalog(self, value: Optional[str]): + pulumi.set(self, "catalog", value) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> str: - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[str]: + return pulumi.get(self, "profiles_directory") - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: str): - pulumi.set(self, "driver_instance_pool_id", value) + @profiles_directory.setter + def profiles_directory(self, value: Optional[str]): + pulumi.set(self, "profiles_directory", value) @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> str: - return pulumi.get(self, "driver_node_type_id") + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[str]: + return pulumi.get(self, "project_directory") - @driver_node_type_id.setter - def driver_node_type_id(self, value: str): - pulumi.set(self, "driver_node_type_id", value) + @project_directory.setter + def project_directory(self, value: Optional[str]): + pulumi.set(self, "project_directory", value) @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> bool: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter + def schema(self) -> Optional[str]: + return pulumi.get(self, "schema") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: bool): - pulumi.set(self, "enable_elastic_disk", value) + @schema.setter + def schema(self, value: Optional[str]): + pulumi.set(self, "schema", value) @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> bool: - return pulumi.get(self, "enable_local_disk_encryption") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: bool): - pulumi.set(self, "enable_local_disk_encryption", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> str: - return pulumi.get(self, "node_type_id") - - @node_type_id.setter - def node_type_id(self, value: str): - pulumi.set(self, "node_type_id", value) + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") - @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> int: - return pulumi.get(self, "num_workers") + @warehouse_id.setter + def warehouse_id(self, value: Optional[str]): + pulumi.set(self, "warehouse_id", value) - @num_workers.setter - def num_workers(self, value: int): - pulumi.set(self, "num_workers", value) - @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> str: - return pulumi.get(self, "spark_version") +if not MYPY: + class GetJobJobSettingsSettingsTaskDependsOnArgsDict(TypedDict): + task_key: str + outcome: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] - @spark_version.setter - def spark_version(self, value: str): - pulumi.set(self, "spark_version", value) +@pulumi.input_type +class GetJobJobSettingsSettingsTaskDependsOnArgs: + def __init__(__self__, *, + task_key: str, + outcome: Optional[str] = None): + pulumi.set(__self__, "task_key", task_key) + if outcome is not None: + pulumi.set(__self__, "outcome", outcome) @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[bool]: - return pulumi.get(self, "apply_policy_default_values") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[bool]): - pulumi.set(self, "apply_policy_default_values", value) + @task_key.setter + def task_key(self, value: str): + pulumi.set(self, "task_key", value) @property @pulumi.getter - def autoscale(self) -> Optional['GetJobJobSettingsSettingsNewClusterAutoscaleArgs']: - return pulumi.get(self, "autoscale") + def outcome(self) -> Optional[str]: + return pulumi.get(self, "outcome") - @autoscale.setter - def autoscale(self, value: Optional['GetJobJobSettingsSettingsNewClusterAutoscaleArgs']): - pulumi.set(self, "autoscale", value) + @outcome.setter + def outcome(self, value: Optional[str]): + pulumi.set(self, "outcome", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskEmailNotificationsArgsDict(TypedDict): + no_alert_for_skipped_runs: NotRequired[bool] + on_duration_warning_threshold_exceededs: NotRequired[Sequence[str]] + on_failures: NotRequired[Sequence[str]] + on_starts: NotRequired[Sequence[str]] + on_streaming_backlog_exceededs: NotRequired[Sequence[str]] + on_successes: NotRequired[Sequence[str]] +elif False: + GetJobJobSettingsSettingsTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskEmailNotificationsArgs: + def __init__(__self__, *, + no_alert_for_skipped_runs: Optional[bool] = None, + on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, + on_failures: Optional[Sequence[str]] = None, + on_starts: Optional[Sequence[str]] = None, + on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, + on_successes: Optional[Sequence[str]] = None): + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter(name="autoterminationMinutes") - def autotermination_minutes(self) -> Optional[int]: - return pulumi.get(self, "autotermination_minutes") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") - @autotermination_minutes.setter - def autotermination_minutes(self, value: Optional[int]): - pulumi.set(self, "autotermination_minutes", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_skipped_runs", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsNewClusterAwsAttributesArgs']: - return pulumi.get(self, "aws_attributes") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @aws_attributes.setter - def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsNewClusterAwsAttributesArgs']): - pulumi.set(self, "aws_attributes", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsNewClusterAzureAttributesArgs']: - return pulumi.get(self, "azure_attributes") + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_failures") - @azure_attributes.setter - def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsNewClusterAzureAttributesArgs']): - pulumi.set(self, "azure_attributes", value) + @on_failures.setter + def on_failures(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[str]: - return pulumi.get(self, "cluster_id") + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_starts") - @cluster_id.setter - def cluster_id(self, value: Optional[str]): - pulumi.set(self, "cluster_id", value) + @on_starts.setter + def on_starts(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfArgs']: - return pulumi.get(self, "cluster_log_conf") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfArgs']): - pulumi.set(self, "cluster_log_conf", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs']]: - return pulumi.get(self, "cluster_mount_infos") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_successes") - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs']]): - pulumi.set(self, "cluster_mount_infos", value) + @on_successes.setter + def on_successes(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_successes", value) - @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: - return pulumi.get(self, "cluster_name") - @cluster_name.setter - def cluster_name(self, value: Optional[str]): - pulumi.set(self, "cluster_name", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskArgsDict(TypedDict): + inputs: str + task: 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgsDict' + concurrency: NotRequired[int] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskArgs: + def __init__(__self__, *, + inputs: str, + task: 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgs', + concurrency: Optional[int] = None): + pulumi.set(__self__, "inputs", inputs) + pulumi.set(__self__, "task", task) + if concurrency is not None: + pulumi.set(__self__, "concurrency", concurrency) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter + def inputs(self) -> str: + return pulumi.get(self, "inputs") - @custom_tags.setter - def custom_tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "custom_tags", value) + @inputs.setter + def inputs(self, value: str): + pulumi.set(self, "inputs", value) @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: - return pulumi.get(self, "data_security_mode") + @pulumi.getter + def task(self) -> 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgs': + return pulumi.get(self, "task") - @data_security_mode.setter - def data_security_mode(self, value: Optional[str]): - pulumi.set(self, "data_security_mode", value) + @task.setter + def task(self, value: 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgs'): + pulumi.set(self, "task", value) @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['GetJobJobSettingsSettingsNewClusterDockerImageArgs']: - return pulumi.get(self, "docker_image") + @pulumi.getter + def concurrency(self) -> Optional[int]: + return pulumi.get(self, "concurrency") - @docker_image.setter - def docker_image(self, value: Optional['GetJobJobSettingsSettingsNewClusterDockerImageArgs']): - pulumi.set(self, "docker_image", value) + @concurrency.setter + def concurrency(self, value: Optional[int]): + pulumi.set(self, "concurrency", value) - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsNewClusterGcpAttributesArgs']: - return pulumi.get(self, "gcp_attributes") - @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsNewClusterGcpAttributesArgs']): - pulumi.set(self, "gcp_attributes", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskArgsDict(TypedDict): + retry_on_timeout: bool + task_key: str + condition_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgsDict'] + dbt_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgsDict'] + depends_ons: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgsDict']] + description: NotRequired[str] + email_notifications: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgsDict'] + environment_key: NotRequired[str] + existing_cluster_id: NotRequired[str] + health: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgsDict'] + job_cluster_key: NotRequired[str] + libraries: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgsDict']] + max_retries: NotRequired[int] + min_retry_interval_millis: NotRequired[int] + new_cluster: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict'] + notebook_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgsDict'] + notification_settings: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgsDict'] + pipeline_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgsDict'] + python_wheel_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgsDict'] + run_if: NotRequired[str] + run_job_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgsDict'] + spark_jar_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgsDict'] + spark_python_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgsDict'] + spark_submit_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgsDict'] + sql_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgsDict'] + timeout_seconds: NotRequired[int] + webhook_notifications: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgsDict'] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskArgs: + def __init__(__self__, *, + retry_on_timeout: bool, + task_key: str, + condition_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs'] = None, + dbt_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs'] = None, + depends_ons: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs']] = None, + description: Optional[str] = None, + email_notifications: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs'] = None, + environment_key: Optional[str] = None, + existing_cluster_id: Optional[str] = None, + health: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs'] = None, + job_cluster_key: Optional[str] = None, + libraries: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs']] = None, + max_retries: Optional[int] = None, + min_retry_interval_millis: Optional[int] = None, + new_cluster: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs'] = None, + notebook_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs'] = None, + notification_settings: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs'] = None, + pipeline_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs'] = None, + python_wheel_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs'] = None, + run_if: Optional[str] = None, + run_job_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs'] = None, + spark_jar_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs'] = None, + spark_python_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs'] = None, + spark_submit_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs'] = None, + sql_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs'] = None, + timeout_seconds: Optional[int] = None, + webhook_notifications: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs'] = None): + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + pulumi.set(__self__, "task_key", task_key) + if condition_task is not None: + pulumi.set(__self__, "condition_task", condition_task) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if depends_ons is not None: + pulumi.set(__self__, "depends_ons", depends_ons) + if description is not None: + pulumi.set(__self__, "description", description) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environment_key is not None: + pulumi.set(__self__, "environment_key", environment_key) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if health is not None: + pulumi.set(__self__, "health", health) + if job_cluster_key is not None: + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if run_if is not None: + pulumi.set(__self__, "run_if", run_if) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if sql_task is not None: + pulumi.set(__self__, "sql_task", sql_task) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: - return pulumi.get(self, "idempotency_token") + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> bool: + return pulumi.get(self, "retry_on_timeout") - @idempotency_token.setter - def idempotency_token(self, value: Optional[str]): - pulumi.set(self, "idempotency_token", value) + @retry_on_timeout.setter + def retry_on_timeout(self, value: bool): + pulumi.set(self, "retry_on_timeout", value) @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgs']]: - return pulumi.get(self, "init_scripts") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") - @init_scripts.setter - def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsNewClusterInitScriptArgs']]): - pulumi.set(self, "init_scripts", value) + @task_key.setter + def task_key(self, value: str): + pulumi.set(self, "task_key", value) @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter(name="conditionTask") + def condition_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs']: + return pulumi.get(self, "condition_task") - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[str]): - pulumi.set(self, "instance_pool_id", value) + @condition_task.setter + def condition_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs']): + pulumi.set(self, "condition_task", value) @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: - return pulumi.get(self, "policy_id") + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs']: + return pulumi.get(self, "dbt_task") - @policy_id.setter - def policy_id(self, value: Optional[str]): - pulumi.set(self, "policy_id", value) + @dbt_task.setter + def dbt_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs']): + pulumi.set(self, "dbt_task", value) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: - return pulumi.get(self, "runtime_engine") + @pulumi.getter(name="dependsOns") + def depends_ons(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs']]: + return pulumi.get(self, "depends_ons") - @runtime_engine.setter - def runtime_engine(self, value: Optional[str]): - pulumi.set(self, "runtime_engine", value) + @depends_ons.setter + def depends_ons(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs']]): + pulumi.set(self, "depends_ons", value) @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: - return pulumi.get(self, "single_user_name") + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") - @single_user_name.setter - def single_user_name(self, value: Optional[str]): - pulumi.set(self, "single_user_name", value) + @description.setter + def description(self, value: Optional[str]): + pulumi.set(self, "description", value) @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_conf") + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs']: + return pulumi.get(self, "email_notifications") - @spark_conf.setter - def spark_conf(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_conf", value) + @email_notifications.setter + def email_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs']): + pulumi.set(self, "email_notifications", value) @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_env_vars") + @pulumi.getter(name="environmentKey") + def environment_key(self) -> Optional[str]: + return pulumi.get(self, "environment_key") - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_env_vars", value) + @environment_key.setter + def environment_key(self, value: Optional[str]): + pulumi.set(self, "environment_key", value) @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[str]: + return pulumi.get(self, "existing_cluster_id") - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[Sequence[str]]): - pulumi.set(self, "ssh_public_keys", value) + @existing_cluster_id.setter + def existing_cluster_id(self, value: Optional[str]): + pulumi.set(self, "existing_cluster_id", value) @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs']: - return pulumi.get(self, "workload_type") - - @workload_type.setter - def workload_type(self, value: Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs']): - pulumi.set(self, "workload_type", value) + @pulumi.getter + def health(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs']: + return pulumi.get(self, "health") + @health.setter + def health(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs']): + pulumi.set(self, "health", value) -if not MYPY: - class GetJobJobSettingsSettingsNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[int] - min_workers: NotRequired[int] -elif False: - GetJobJobSettingsSettingsNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> Optional[str]: + return pulumi.get(self, "job_cluster_key") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterAutoscaleArgs: - def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + @job_cluster_key.setter + def job_cluster_key(self, value: Optional[str]): + pulumi.set(self, "job_cluster_key", value) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") + @pulumi.getter + def libraries(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs']]: + return pulumi.get(self, "libraries") - @max_workers.setter - def max_workers(self, value: Optional[int]): - pulumi.set(self, "max_workers", value) + @libraries.setter + def libraries(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs']]): + pulumi.set(self, "libraries", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[int]: + return pulumi.get(self, "max_retries") - @min_workers.setter - def min_workers(self, value: Optional[int]): - pulumi.set(self, "min_workers", value) + @max_retries.setter + def max_retries(self, value: Optional[int]): + pulumi.set(self, "max_retries", value) + @property + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[int]: + return pulumi.get(self, "min_retry_interval_millis") -if not MYPY: - class GetJobJobSettingsSettingsNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[str] - ebs_volume_count: NotRequired[int] - ebs_volume_size: NotRequired[int] - ebs_volume_type: NotRequired[str] - first_on_demand: NotRequired[int] - instance_profile_arn: NotRequired[str] - spot_bid_price_percent: NotRequired[int] - zone_id: NotRequired[str] -elif False: - GetJobJobSettingsSettingsNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + @min_retry_interval_millis.setter + def min_retry_interval_millis(self, value: Optional[int]): + pulumi.set(self, "min_retry_interval_millis", value) -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @property + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs']: + return pulumi.get(self, "new_cluster") + + @new_cluster.setter + def new_cluster(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs']): + pulumi.set(self, "new_cluster", value) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs']: + return pulumi.get(self, "notebook_task") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @notebook_task.setter + def notebook_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs']): + pulumi.set(self, "notebook_task", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs']: + return pulumi.get(self, "notification_settings") - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_count", value) + @notification_settings.setter + def notification_settings(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs']): + pulumi.set(self, "notification_settings", value) @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs']: + return pulumi.get(self, "pipeline_task") - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_size", value) + @pipeline_task.setter + def pipeline_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs']): + pulumi.set(self, "pipeline_task", value) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs']: + return pulumi.get(self, "python_wheel_task") - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[str]): - pulumi.set(self, "ebs_volume_type", value) + @python_wheel_task.setter + def python_wheel_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs']): + pulumi.set(self, "python_wheel_task", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="runIf") + def run_if(self) -> Optional[str]: + return pulumi.get(self, "run_if") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @run_if.setter + def run_if(self, value: Optional[str]): + pulumi.set(self, "run_if", value) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs']: + return pulumi.get(self, "run_job_task") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[str]): - pulumi.set(self, "instance_profile_arn", value) + @run_job_task.setter + def run_job_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs']): + pulumi.set(self, "run_job_task", value) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs']: + return pulumi.get(self, "spark_jar_task") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[int]): - pulumi.set(self, "spot_bid_price_percent", value) + @spark_jar_task.setter + def spark_jar_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs']): + pulumi.set(self, "spark_jar_task", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs']: + return pulumi.get(self, "spark_python_task") + @spark_python_task.setter + def spark_python_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs']): + pulumi.set(self, "spark_python_task", value) -if not MYPY: - class GetJobJobSettingsSettingsNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[str] - first_on_demand: NotRequired[int] - spot_bid_max_price: NotRequired[float] -elif False: - GetJobJobSettingsSettingsNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs']: + return pulumi.get(self, "spark_submit_task") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterAzureAttributesArgs: - def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + @spark_submit_task.setter + def spark_submit_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs']): + pulumi.set(self, "spark_submit_task", value) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="sqlTask") + def sql_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs']: + return pulumi.get(self, "sql_task") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @sql_task.setter + def sql_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs']): + pulumi.set(self, "sql_task", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[int]: + return pulumi.get(self, "timeout_seconds") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @timeout_seconds.setter + def timeout_seconds(self, value: Optional[int]): + pulumi.set(self, "timeout_seconds", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs']: + return pulumi.get(self, "webhook_notifications") - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[float]): - pulumi.set(self, "spot_bid_max_price", value) + @webhook_notifications.setter + def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs']): + pulumi.set(self, "webhook_notifications", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsNewClusterClusterLogConfS3ArgsDict'] + class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgsDict(TypedDict): + left: str + op: str + right: str elif False: - GetJobJobSettingsSettingsNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterClusterLogConfArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs: def __init__(__self__, *, - dbfs: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + left: str, + op: str, + right: str): + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs']: - return pulumi.get(self, "dbfs") + def left(self) -> str: + return pulumi.get(self, "left") - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs']): - pulumi.set(self, "dbfs", value) + @left.setter + def left(self, value: str): + pulumi.set(self, "left", value) @property @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args']: - return pulumi.get(self, "s3") - - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args']): - pulumi.set(self, "s3", value) - - -if not MYPY: - class GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + def op(self) -> str: + return pulumi.get(self, "op") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @op.setter + def op(self, value: str): + pulumi.set(self, "op", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def right(self) -> str: + return pulumi.get(self, "right") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @right.setter + def right(self, value: str): + pulumi.set(self, "right", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterClusterLogConfS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgsDict(TypedDict): + commands: Sequence[str] + catalog: NotRequired[str] + profiles_directory: NotRequired[str] + project_directory: NotRequired[str] + schema: NotRequired[str] + source: NotRequired[str] + warehouse_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args: +class GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs: def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + commands: Sequence[str], + catalog: Optional[str] = None, + profiles_directory: Optional[str] = None, + project_directory: Optional[str] = None, + schema: Optional[str] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def commands(self) -> Sequence[str]: + return pulumi.get(self, "commands") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @commands.setter + def commands(self, value: Sequence[str]): + pulumi.set(self, "commands", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter + def catalog(self) -> Optional[str]: + return pulumi.get(self, "catalog") - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + @catalog.setter + def catalog(self, value: Optional[str]): + pulumi.set(self, "catalog", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[str]: + return pulumi.get(self, "profiles_directory") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @profiles_directory.setter + def profiles_directory(self, value: Optional[str]): + pulumi.set(self, "profiles_directory", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[str]: + return pulumi.get(self, "project_directory") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @project_directory.setter + def project_directory(self, value: Optional[str]): + pulumi.set(self, "project_directory", value) @property @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + def schema(self) -> Optional[str]: + return pulumi.get(self, "schema") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @schema.setter + def schema(self, value: Optional[str]): + pulumi.set(self, "schema", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[str]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: str - network_filesystem_info: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' - remote_mount_dir_path: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgsDict(TypedDict): + task_key: str + outcome: NotRequired[str] elif False: - GetJobJobSettingsSettingsNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterClusterMountInfoArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs: def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") - - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: str): - pulumi.set(self, "local_mount_dir_path", value) + task_key: str, + outcome: Optional[str] = None): + pulumi.set(__self__, "task_key", task_key) + if outcome is not None: + pulumi.set(__self__, "outcome", outcome) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") - @network_filesystem_info.setter - def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): - pulumi.set(self, "network_filesystem_info", value) + @task_key.setter + def task_key(self, value: str): + pulumi.set(self, "task_key", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def outcome(self) -> Optional[str]: + return pulumi.get(self, "outcome") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[str]): - pulumi.set(self, "remote_mount_dir_path", value) + @outcome.setter + def outcome(self, value: Optional[str]): + pulumi.set(self, "outcome", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: str - mount_options: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgsDict(TypedDict): + no_alert_for_skipped_runs: NotRequired[bool] + on_duration_warning_threshold_exceededs: NotRequired[Sequence[str]] + on_failures: NotRequired[Sequence[str]] + on_starts: NotRequired[Sequence[str]] + on_streaming_backlog_exceededs: NotRequired[Sequence[str]] + on_successes: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs: def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + no_alert_for_skipped_runs: Optional[bool] = None, + on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, + on_failures: Optional[Sequence[str]] = None, + on_starts: Optional[Sequence[str]] = None, + on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, + on_successes: Optional[Sequence[str]] = None): + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") - @server_address.setter - def server_address(self, value: str): - pulumi.set(self, "server_address", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_skipped_runs", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") - - @mount_options.setter - def mount_options(self, value: Optional[str]): - pulumi.set(self, "mount_options", value) - - -if not MYPY: - class GetJobJobSettingsSettingsNewClusterDockerImageArgsDict(TypedDict): - url: str - basic_auth: NotRequired['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgsDict'] -elif False: - GetJobJobSettingsSettingsNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterDockerImageArgs: - def __init__(__self__, *, - url: str, - basic_auth: Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_failures") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @on_failures.setter + def on_failures(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") - - @basic_auth.setter - def basic_auth(self, value: Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) - - -if not MYPY: - class GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: str - username: str -elif False: - GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_starts") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @on_starts.setter + def on_starts(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @password.setter - def password(self, value: str): - pulumi.set(self, "password", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_successes") - @username.setter - def username(self, value: str): - pulumi.set(self, "username", value) + @on_successes.setter + def on_successes(self, value: Optional[Sequence[str]]): + pulumi.set(self, "on_successes", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[str] - boot_disk_size: NotRequired[int] - google_service_account: NotRequired[str] - local_ssd_count: NotRequired[int] - use_preemptible_executors: NotRequired[bool] - zone_id: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgsDict(TypedDict): + rules: Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgsDict'] elif False: - GetJobJobSettingsSettingsNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgsDict: TypeAlias = Mapping[str, Any] -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterGcpAttributesArgs: - def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs: + def __init__(__self__, *, + rules: Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs']): + pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + def rules(self) -> Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs']: + return pulumi.get(self, "rules") - @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @rules.setter + def rules(self, value: Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs']): + pulumi.set(self, "rules", value) - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[int]): - pulumi.set(self, "boot_disk_size", value) - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgsDict(TypedDict): + metric: str + op: str + value: int +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] - @google_service_account.setter - def google_service_account(self, value: Optional[str]): - pulumi.set(self, "google_service_account", value) +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs: + def __init__(__self__, *, + metric: str, + op: str, + value: int): + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter + def metric(self) -> str: + return pulumi.get(self, "metric") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[int]): - pulumi.set(self, "local_ssd_count", value) + @metric.setter + def metric(self, value: str): + pulumi.set(self, "metric", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter + def op(self) -> str: + return pulumi.get(self, "op") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[bool]): - pulumi.set(self, "use_preemptible_executors", value) + @op.setter + def op(self, value: str): + pulumi.set(self, "op", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def value(self) -> int: + return pulumi.get(self, "value") - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) + @value.setter + def value(self, value: int): + pulumi.set(self, "value", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgsDict'] - dbfs: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgsDict'] - file: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptFileArgsDict'] - gcs: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptS3ArgsDict'] - volumes: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgsDict'] - workspace: NotRequired['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgsDict'] + class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgsDict(TypedDict): + cran: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgsDict'] + egg: NotRequired[str] + jar: NotRequired[str] + maven: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgsDict'] + pypi: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgsDict'] + requirements: NotRequired[str] + whl: NotRequired[str] elif False: - GetJobJobSettingsSettingsNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs: def __init__(__self__, *, - abfss: Optional['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs'] = None, - dbfs: Optional['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs'] = None, - file: Optional['GetJobJobSettingsSettingsNewClusterInitScriptFileArgs'] = None, - gcs: Optional['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args'] = None, - volumes: Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs'] = None, - workspace: Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + cran: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs'] = None, + egg: Optional[str] = None, + jar: Optional[str] = None, + maven: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs'] = None, + pypi: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs'] = None, + requirements: Optional[str] = None, + whl: Optional[str] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property @pulumi.getter - def abfss(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs']: - return pulumi.get(self, "abfss") + def cran(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs']: + return pulumi.get(self, "cran") - @abfss.setter - def abfss(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs']): - pulumi.set(self, "abfss", value) + @cran.setter + def cran(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs']): + pulumi.set(self, "cran", value) @property @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs']: - return pulumi.get(self, "dbfs") + def egg(self) -> Optional[str]: + return pulumi.get(self, "egg") - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs']): - pulumi.set(self, "dbfs", value) + @egg.setter + def egg(self, value: Optional[str]): + pulumi.set(self, "egg", value) @property @pulumi.getter - def file(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptFileArgs']: - return pulumi.get(self, "file") + def jar(self) -> Optional[str]: + return pulumi.get(self, "jar") - @file.setter - def file(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptFileArgs']): - pulumi.set(self, "file", value) + @jar.setter + def jar(self, value: Optional[str]): + pulumi.set(self, "jar", value) @property @pulumi.getter - def gcs(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs']: - return pulumi.get(self, "gcs") + def maven(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs']: + return pulumi.get(self, "maven") - @gcs.setter - def gcs(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs']): - pulumi.set(self, "gcs", value) + @maven.setter + def maven(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs']): + pulumi.set(self, "maven", value) @property @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args']: - return pulumi.get(self, "s3") + def pypi(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs']: + return pulumi.get(self, "pypi") - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args']): - pulumi.set(self, "s3", value) + @pypi.setter + def pypi(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs']): + pulumi.set(self, "pypi", value) @property @pulumi.getter - def volumes(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs']: - return pulumi.get(self, "volumes") + def requirements(self) -> Optional[str]: + return pulumi.get(self, "requirements") - @volumes.setter - def volumes(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs']): - pulumi.set(self, "volumes", value) + @requirements.setter + def requirements(self, value: Optional[str]): + pulumi.set(self, "requirements", value) @property @pulumi.getter - def workspace(self) -> Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs']: - return pulumi.get(self, "workspace") + def whl(self) -> Optional[str]: + return pulumi.get(self, "whl") - @workspace.setter - def workspace(self, value: Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs']): - pulumi.set(self, "workspace", value) + @whl.setter + def whl(self, value: Optional[str]): + pulumi.set(self, "whl", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgsDict(TypedDict): + package: str + repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptAbfssArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def package(self) -> str: + return pulumi.get(self, "package") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @package.setter + def package(self, value: str): + pulumi.set(self, "package", value) + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") + + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgsDict(TypedDict): + coordinates: str + exclusions: NotRequired[Sequence[str]] + repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptDbfsArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + coordinates: str, + exclusions: Optional[Sequence[str]] = None, + repo: Optional[str] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + def coordinates(self) -> str: + return pulumi.get(self, "coordinates") + @coordinates.setter + def coordinates(self, value: str): + pulumi.set(self, "coordinates", value) -if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptFileArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter + def exclusions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "exclusions") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptFileArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @exclusions.setter + def exclusions(self, value: Optional[Sequence[str]]): + pulumi.set(self, "exclusions", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptGcsArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgsDict(TypedDict): + package: str + repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptGcsArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def package(self) -> str: + return pulumi.get(self, "package") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @package.setter + def package(self, value: str): + pulumi.set(self, "package", value) + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") + + @repo.setter + def repo(self, value: Optional[str]): + pulumi.set(self, "repo", value) if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict(TypedDict): + driver_instance_pool_id: str + driver_node_type_id: str + enable_elastic_disk: bool + enable_local_disk_encryption: bool + node_type_id: str + num_workers: int + spark_version: str + apply_policy_default_values: NotRequired[bool] + autoscale: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgsDict'] + autotermination_minutes: NotRequired[int] + aws_attributes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgsDict'] + cluster_id: NotRequired[str] + cluster_log_conf: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgsDict'] + cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict']] + cluster_name: NotRequired[str] + custom_tags: NotRequired[Mapping[str, str]] + data_security_mode: NotRequired[str] + docker_image: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgsDict'] + gcp_attributes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgsDict'] + idempotency_token: NotRequired[str] + init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgsDict']] + instance_pool_id: NotRequired[str] + policy_id: NotRequired[str] + runtime_engine: NotRequired[str] + single_user_name: NotRequired[str] + spark_conf: NotRequired[Mapping[str, str]] + spark_env_vars: NotRequired[Mapping[str, str]] + ssh_public_keys: NotRequired[Sequence[str]] + workload_type: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict'] elif False: - GetJobJobSettingsSettingsNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptS3Args: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs: def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + driver_instance_pool_id: str, + driver_node_type_id: str, + enable_elastic_disk: bool, + enable_local_disk_encryption: bool, + node_type_id: str, + num_workers: int, + spark_version: str, + apply_policy_default_values: Optional[bool] = None, + autoscale: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs'] = None, + autotermination_minutes: Optional[int] = None, + aws_attributes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs'] = None, + azure_attributes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs'] = None, + cluster_id: Optional[str] = None, + cluster_log_conf: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs'] = None, + cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs']] = None, + cluster_name: Optional[str] = None, + custom_tags: Optional[Mapping[str, str]] = None, + data_security_mode: Optional[str] = None, + docker_image: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs'] = None, + gcp_attributes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs'] = None, + idempotency_token: Optional[str] = None, + init_scripts: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs']] = None, + instance_pool_id: Optional[str] = None, + policy_id: Optional[str] = None, + runtime_engine: Optional[str] = None, + single_user_name: Optional[str] = None, + spark_conf: Optional[Mapping[str, str]] = None, + spark_env_vars: Optional[Mapping[str, str]] = None, + ssh_public_keys: Optional[Sequence[str]] = None, + workload_type: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs'] = None): + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + pulumi.set(__self__, "node_type_id", node_type_id) + pulumi.set(__self__, "num_workers", num_workers) + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if autotermination_minutes is not None: + pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> str: + return pulumi.get(self, "driver_instance_pool_id") + + @driver_instance_pool_id.setter + def driver_instance_pool_id(self, value: str): + pulumi.set(self, "driver_instance_pool_id", value) + + @property + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> str: + return pulumi.get(self, "driver_node_type_id") + + @driver_node_type_id.setter + def driver_node_type_id(self, value: str): + pulumi.set(self, "driver_node_type_id", value) + + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> bool: + return pulumi.get(self, "enable_elastic_disk") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @enable_elastic_disk.setter + def enable_elastic_disk(self, value: bool): + pulumi.set(self, "enable_elastic_disk", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> bool: + return pulumi.get(self, "enable_local_disk_encryption") - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + @enable_local_disk_encryption.setter + def enable_local_disk_encryption(self, value: bool): + pulumi.set(self, "enable_local_disk_encryption", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> str: + return pulumi.get(self, "node_type_id") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @node_type_id.setter + def node_type_id(self, value: str): + pulumi.set(self, "node_type_id", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> int: + return pulumi.get(self, "num_workers") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @num_workers.setter + def num_workers(self, value: int): + pulumi.set(self, "num_workers", value) @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> str: + return pulumi.get(self, "spark_version") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @spark_version.setter + def spark_version(self, value: str): + pulumi.set(self, "spark_version", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[bool]: + return pulumi.get(self, "apply_policy_default_values") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @apply_policy_default_values.setter + def apply_policy_default_values(self, value: Optional[bool]): + pulumi.set(self, "apply_policy_default_values", value) @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + def autoscale(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs']: + return pulumi.get(self, "autoscale") + @autoscale.setter + def autoscale(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs']): + pulumi.set(self, "autoscale", value) -if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="autoterminationMinutes") + def autotermination_minutes(self) -> Optional[int]: + return pulumi.get(self, "autotermination_minutes") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @autotermination_minutes.setter + def autotermination_minutes(self, value: Optional[int]): + pulumi.set(self, "autotermination_minutes", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs']: + return pulumi.get(self, "aws_attributes") + @aws_attributes.setter + def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs']): + pulumi.set(self, "aws_attributes", value) -if not MYPY: - class GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs']: + return pulumi.get(self, "azure_attributes") -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @azure_attributes.setter + def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs']): + pulumi.set(self, "azure_attributes", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: + return pulumi.get(self, "cluster_id") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @cluster_id.setter + def cluster_id(self, value: Optional[str]): + pulumi.set(self, "cluster_id", value) + @property + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs']: + return pulumi.get(self, "cluster_log_conf") -if not MYPY: - class GetJobJobSettingsSettingsNewClusterWorkloadTypeArgsDict(TypedDict): - clients: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgsDict' -elif False: - GetJobJobSettingsSettingsNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + @cluster_log_conf.setter + def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs']): + pulumi.set(self, "cluster_log_conf", value) -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs: - def __init__(__self__, *, - clients: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs'): - pulumi.set(__self__, "clients", clients) + @property + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]: + return pulumi.get(self, "cluster_mount_infos") + + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]): + pulumi.set(self, "cluster_mount_infos", value) @property - @pulumi.getter - def clients(self) -> 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs': - return pulumi.get(self, "clients") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: + return pulumi.get(self, "cluster_name") - @clients.setter - def clients(self, value: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs'): - pulumi.set(self, "clients", value) + @cluster_name.setter + def cluster_name(self, value: Optional[str]): + pulumi.set(self, "cluster_name", value) + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") -if not MYPY: - class GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[bool] - notebooks: NotRequired[bool] -elif False: - GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + @custom_tags.setter + def custom_tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "custom_tags", value) -@pulumi.input_type -class GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs: - def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @property + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: + return pulumi.get(self, "data_security_mode") + + @data_security_mode.setter + def data_security_mode(self, value: Optional[str]): + pulumi.set(self, "data_security_mode", value) @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs']: + return pulumi.get(self, "docker_image") - @jobs.setter - def jobs(self, value: Optional[bool]): - pulumi.set(self, "jobs", value) + @docker_image.setter + def docker_image(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs']): + pulumi.set(self, "docker_image", value) @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs']: + return pulumi.get(self, "gcp_attributes") - @notebooks.setter - def notebooks(self, value: Optional[bool]): - pulumi.set(self, "notebooks", value) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs']): + pulumi.set(self, "gcp_attributes", value) + @property + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: + return pulumi.get(self, "idempotency_token") -if not MYPY: - class GetJobJobSettingsSettingsNotebookTaskArgsDict(TypedDict): - notebook_path: str - base_parameters: NotRequired[Mapping[str, str]] - source: NotRequired[str] - warehouse_id: NotRequired[str] -elif False: - GetJobJobSettingsSettingsNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + @idempotency_token.setter + def idempotency_token(self, value: Optional[str]): + pulumi.set(self, "idempotency_token", value) -@pulumi.input_type -class GetJobJobSettingsSettingsNotebookTaskArgs: - def __init__(__self__, *, - notebook_path: str, - base_parameters: Optional[Mapping[str, str]] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + @property + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs']]: + return pulumi.get(self, "init_scripts") + + @init_scripts.setter + def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs']]): + pulumi.set(self, "init_scripts", value) @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> str: - return pulumi.get(self, "notebook_path") + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: + return pulumi.get(self, "instance_pool_id") - @notebook_path.setter - def notebook_path(self, value: str): - pulumi.set(self, "notebook_path", value) + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[str]): + pulumi.set(self, "instance_pool_id", value) @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "base_parameters") + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + return pulumi.get(self, "policy_id") - @base_parameters.setter - def base_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "base_parameters", value) + @policy_id.setter + def policy_id(self, value: Optional[str]): + pulumi.set(self, "policy_id", value) @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: + return pulumi.get(self, "runtime_engine") - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) + @runtime_engine.setter + def runtime_engine(self, value: Optional[str]): + pulumi.set(self, "runtime_engine", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: + return pulumi.get(self, "single_user_name") - @warehouse_id.setter - def warehouse_id(self, value: Optional[str]): - pulumi.set(self, "warehouse_id", value) + @single_user_name.setter + def single_user_name(self, value: Optional[str]): + pulumi.set(self, "single_user_name", value) + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_conf") -if not MYPY: - class GetJobJobSettingsSettingsNotificationSettingsArgsDict(TypedDict): - no_alert_for_canceled_runs: NotRequired[bool] - no_alert_for_skipped_runs: NotRequired[bool] -elif False: - GetJobJobSettingsSettingsNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] + @spark_conf.setter + def spark_conf(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_conf", value) -@pulumi.input_type -class GetJobJobSettingsSettingsNotificationSettingsArgs: - def __init__(__self__, *, - no_alert_for_canceled_runs: Optional[bool] = None, - no_alert_for_skipped_runs: Optional[bool] = None): - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + @property + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_env_vars") + + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_canceled_runs") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ssh_public_keys") - @no_alert_for_canceled_runs.setter - def no_alert_for_canceled_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_canceled_runs", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[Sequence[str]]): + pulumi.set(self, "ssh_public_keys", value) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs']: + return pulumi.get(self, "workload_type") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @workload_type.setter + def workload_type(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs']): + pulumi.set(self, "workload_type", value) if not MYPY: - class GetJobJobSettingsSettingsParameterArgsDict(TypedDict): - default: str - name: str - """ - the job name of Job if the resource was matched by id. - """ + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[int] + min_workers: NotRequired[int] elif False: - GetJobJobSettingsSettingsParameterArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsParameterArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs: def __init__(__self__, *, - default: str, - name: str): - """ - :param str name: the job name of Job if the resource was matched by id. - """ - pulumi.set(__self__, "default", default) - pulumi.set(__self__, "name", name) + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter - def default(self) -> str: - return pulumi.get(self, "default") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") - @default.setter - def default(self, value: str): - pulumi.set(self, "default", value) + @max_workers.setter + def max_workers(self, value: Optional[int]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter - def name(self) -> str: - """ - the job name of Job if the resource was matched by id. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) + @min_workers.setter + def min_workers(self, value: Optional[int]): + pulumi.set(self, "min_workers", value) if not MYPY: - class GetJobJobSettingsSettingsPipelineTaskArgsDict(TypedDict): - pipeline_id: str - full_refresh: NotRequired[bool] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgsDict(TypedDict): + availability: NotRequired[str] + ebs_volume_count: NotRequired[int] + ebs_volume_size: NotRequired[int] + ebs_volume_type: NotRequired[str] + first_on_demand: NotRequired[int] + instance_profile_arn: NotRequired[str] + spot_bid_price_percent: NotRequired[int] + zone_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsPipelineTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs: def __init__(__self__, *, - pipeline_id: str, - full_refresh: Optional[bool] = None): - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + availability: Optional[str] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> str: - return pulumi.get(self, "pipeline_id") + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @pipeline_id.setter - def pipeline_id(self, value: str): - pulumi.set(self, "pipeline_id", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[bool]: - return pulumi.get(self, "full_refresh") - - @full_refresh.setter - def full_refresh(self, value: Optional[bool]): - pulumi.set(self, "full_refresh", value) - - -if not MYPY: - class GetJobJobSettingsSettingsPythonWheelTaskArgsDict(TypedDict): - entry_point: NotRequired[str] - named_parameters: NotRequired[Mapping[str, str]] - package_name: NotRequired[str] - parameters: NotRequired[Sequence[str]] -elif False: - GetJobJobSettingsSettingsPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") -@pulumi.input_type -class GetJobJobSettingsSettingsPythonWheelTaskArgs: - def __init__(__self__, *, - entry_point: Optional[str] = None, - named_parameters: Optional[Mapping[str, str]] = None, - package_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_count", value) @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[str]: - return pulumi.get(self, "entry_point") + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") - @entry_point.setter - def entry_point(self, value: Optional[str]): - pulumi.set(self, "entry_point", value) + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_size", value) @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "named_parameters") + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") - @named_parameters.setter - def named_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "named_parameters", value) + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[str]): + pulumi.set(self, "ebs_volume_type", value) @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[str]: - return pulumi.get(self, "package_name") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") - @package_name.setter - def package_name(self, value: Optional[str]): - pulumi.set(self, "package_name", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[str]): + pulumi.set(self, "instance_profile_arn", value) -if not MYPY: - class GetJobJobSettingsSettingsQueueArgsDict(TypedDict): - enabled: bool -elif False: - GetJobJobSettingsSettingsQueueArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") -@pulumi.input_type -class GetJobJobSettingsSettingsQueueArgs: - def __init__(__self__, *, - enabled: bool): - pulumi.set(__self__, "enabled", enabled) + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[int]): + pulumi.set(self, "spot_bid_price_percent", value) @property - @pulumi.getter - def enabled(self) -> bool: - return pulumi.get(self, "enabled") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") - @enabled.setter - def enabled(self, value: bool): - pulumi.set(self, "enabled", value) + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) if not MYPY: - class GetJobJobSettingsSettingsRunAsArgsDict(TypedDict): - service_principal_name: NotRequired[str] - user_name: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[str] + first_on_demand: NotRequired[int] + spot_bid_max_price: NotRequired[float] elif False: - GetJobJobSettingsSettingsRunAsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsRunAsArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs: def __init__(__self__, *, - service_principal_name: Optional[str] = None, - user_name: Optional[str] = None): - if service_principal_name is not None: - pulumi.set(__self__, "service_principal_name", service_principal_name) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property - @pulumi.getter(name="servicePrincipalName") - def service_principal_name(self) -> Optional[str]: - return pulumi.get(self, "service_principal_name") + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @service_principal_name.setter - def service_principal_name(self, value: Optional[str]): - pulumi.set(self, "service_principal_name", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") - @user_name.setter - def user_name(self, value: Optional[str]): - pulumi.set(self, "user_name", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") + + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[float]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class GetJobJobSettingsSettingsRunJobTaskArgsDict(TypedDict): - job_id: int - job_parameters: NotRequired[Mapping[str, str]] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict'] elif False: - GetJobJobSettingsSettingsRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsRunJobTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs: def __init__(__self__, *, - job_id: int, - job_parameters: Optional[Mapping[str, str]] = None): - pulumi.set(__self__, "job_id", job_id) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) + dbfs: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property - @pulumi.getter(name="jobId") - def job_id(self) -> int: - return pulumi.get(self, "job_id") + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']: + return pulumi.get(self, "dbfs") - @job_id.setter - def job_id(self, value: int): - pulumi.set(self, "job_id", value) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "job_parameters") + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args']: + return pulumi.get(self, "s3") - @job_parameters.setter - def job_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "job_parameters", value) + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args']): + pulumi.set(self, "s3", value) if not MYPY: - class GetJobJobSettingsSettingsScheduleArgsDict(TypedDict): - quartz_cron_expression: str - timezone_id: str - pause_status: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsScheduleArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsScheduleArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs: def __init__(__self__, *, - quartz_cron_expression: str, - timezone_id: str, - pause_status: Optional[str] = None): - pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) - pulumi.set(__self__, "timezone_id", timezone_id) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) - - @property - @pulumi.getter(name="quartzCronExpression") - def quartz_cron_expression(self) -> str: - return pulumi.get(self, "quartz_cron_expression") - - @quartz_cron_expression.setter - def quartz_cron_expression(self, value: str): - pulumi.set(self, "quartz_cron_expression", value) - - @property - @pulumi.getter(name="timezoneId") - def timezone_id(self) -> str: - return pulumi.get(self, "timezone_id") - - @timezone_id.setter - def timezone_id(self, value: str): - pulumi.set(self, "timezone_id", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[str]: - return pulumi.get(self, "pause_status") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @pause_status.setter - def pause_status(self, value: Optional[str]): - pulumi.set(self, "pause_status", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsSparkJarTaskArgsDict(TypedDict): - jar_uri: NotRequired[str] - main_class_name: NotRequired[str] - parameters: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] elif False: - GetJobJobSettingsSettingsSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsSparkJarTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args: def __init__(__self__, *, - jar_uri: Optional[str] = None, - main_class_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[str]: - return pulumi.get(self, "jar_uri") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @jar_uri.setter - def jar_uri(self, value: Optional[str]): - pulumi.set(self, "jar_uri", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[str]: - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") - @main_class_name.setter - def main_class_name(self, value: Optional[str]): - pulumi.set(self, "main_class_name", value) + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) - - -if not MYPY: - class GetJobJobSettingsSettingsSparkPythonTaskArgsDict(TypedDict): - python_file: str - parameters: NotRequired[Sequence[str]] - source: NotRequired[str] -elif False: - GetJobJobSettingsSettingsSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") -@pulumi.input_type -class GetJobJobSettingsSettingsSparkPythonTaskArgs: - def __init__(__self__, *, - python_file: str, - parameters: Optional[Sequence[str]] = None, - source: Optional[str] = None): - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> str: - return pulumi.get(self, "python_file") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") - @python_file.setter - def python_file(self, value: str): - pulumi.set(self, "python_file", value) + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) - - -if not MYPY: - class GetJobJobSettingsSettingsSparkSubmitTaskArgsDict(TypedDict): - parameters: NotRequired[Sequence[str]] -elif False: - GetJobJobSettingsSettingsSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") -@pulumi.input_type -class GetJobJobSettingsSettingsSparkSubmitTaskArgs: - def __init__(__self__, *, - parameters: Optional[Sequence[str]] = None): - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) if not MYPY: - class GetJobJobSettingsSettingsTaskArgsDict(TypedDict): - retry_on_timeout: bool - task_key: str - condition_task: NotRequired['GetJobJobSettingsSettingsTaskConditionTaskArgsDict'] - dbt_task: NotRequired['GetJobJobSettingsSettingsTaskDbtTaskArgsDict'] - depends_ons: NotRequired[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgsDict']] - description: NotRequired[str] - email_notifications: NotRequired['GetJobJobSettingsSettingsTaskEmailNotificationsArgsDict'] - environment_key: NotRequired[str] - existing_cluster_id: NotRequired[str] - for_each_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskArgsDict'] - health: NotRequired['GetJobJobSettingsSettingsTaskHealthArgsDict'] - job_cluster_key: NotRequired[str] - libraries: NotRequired[Sequence['GetJobJobSettingsSettingsTaskLibraryArgsDict']] - max_retries: NotRequired[int] - min_retry_interval_millis: NotRequired[int] - new_cluster: NotRequired['GetJobJobSettingsSettingsTaskNewClusterArgsDict'] - notebook_task: NotRequired['GetJobJobSettingsSettingsTaskNotebookTaskArgsDict'] - notification_settings: NotRequired['GetJobJobSettingsSettingsTaskNotificationSettingsArgsDict'] - pipeline_task: NotRequired['GetJobJobSettingsSettingsTaskPipelineTaskArgsDict'] - python_wheel_task: NotRequired['GetJobJobSettingsSettingsTaskPythonWheelTaskArgsDict'] - run_if: NotRequired[str] - run_job_task: NotRequired['GetJobJobSettingsSettingsTaskRunJobTaskArgsDict'] - spark_jar_task: NotRequired['GetJobJobSettingsSettingsTaskSparkJarTaskArgsDict'] - spark_python_task: NotRequired['GetJobJobSettingsSettingsTaskSparkPythonTaskArgsDict'] - spark_submit_task: NotRequired['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgsDict'] - sql_task: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskArgsDict'] - timeout_seconds: NotRequired[int] - webhook_notifications: NotRequired['GetJobJobSettingsSettingsTaskWebhookNotificationsArgsDict'] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: str + network_filesystem_info: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' + remote_mount_dir_path: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskArgs: - def __init__(__self__, *, - retry_on_timeout: bool, - task_key: str, - condition_task: Optional['GetJobJobSettingsSettingsTaskConditionTaskArgs'] = None, - dbt_task: Optional['GetJobJobSettingsSettingsTaskDbtTaskArgs'] = None, - depends_ons: Optional[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgs']] = None, - description: Optional[str] = None, - email_notifications: Optional['GetJobJobSettingsSettingsTaskEmailNotificationsArgs'] = None, - environment_key: Optional[str] = None, - existing_cluster_id: Optional[str] = None, - for_each_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskArgs'] = None, - health: Optional['GetJobJobSettingsSettingsTaskHealthArgs'] = None, - job_cluster_key: Optional[str] = None, - libraries: Optional[Sequence['GetJobJobSettingsSettingsTaskLibraryArgs']] = None, - max_retries: Optional[int] = None, - min_retry_interval_millis: Optional[int] = None, - new_cluster: Optional['GetJobJobSettingsSettingsTaskNewClusterArgs'] = None, - notebook_task: Optional['GetJobJobSettingsSettingsTaskNotebookTaskArgs'] = None, - notification_settings: Optional['GetJobJobSettingsSettingsTaskNotificationSettingsArgs'] = None, - pipeline_task: Optional['GetJobJobSettingsSettingsTaskPipelineTaskArgs'] = None, - python_wheel_task: Optional['GetJobJobSettingsSettingsTaskPythonWheelTaskArgs'] = None, - run_if: Optional[str] = None, - run_job_task: Optional['GetJobJobSettingsSettingsTaskRunJobTaskArgs'] = None, - spark_jar_task: Optional['GetJobJobSettingsSettingsTaskSparkJarTaskArgs'] = None, - spark_python_task: Optional['GetJobJobSettingsSettingsTaskSparkPythonTaskArgs'] = None, - spark_submit_task: Optional['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs'] = None, - sql_task: Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs'] = None, - timeout_seconds: Optional[int] = None, - webhook_notifications: Optional['GetJobJobSettingsSettingsTaskWebhookNotificationsArgs'] = None): - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - pulumi.set(__self__, "task_key", task_key) - if condition_task is not None: - pulumi.set(__self__, "condition_task", condition_task) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) - if description is not None: - pulumi.set(__self__, "description", description) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environment_key is not None: - pulumi.set(__self__, "environment_key", environment_key) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if for_each_task is not None: - pulumi.set(__self__, "for_each_task", for_each_task) - if health is not None: - pulumi.set(__self__, "health", health) - if job_cluster_key is not None: - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if run_if is not None: - pulumi.set(__self__, "run_if", run_if) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if sql_task is not None: - pulumi.set(__self__, "sql_task", sql_task) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs: + def __init__(__self__, *, + local_mount_dir_path: str, + network_filesystem_info: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> bool: - return pulumi.get(self, "retry_on_timeout") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") - @retry_on_timeout.setter - def retry_on_timeout(self, value: bool): - pulumi.set(self, "retry_on_timeout", value) + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: str): + pulumi.set(self, "local_mount_dir_path", value) @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs': + return pulumi.get(self, "network_filesystem_info") - @task_key.setter - def task_key(self, value: str): - pulumi.set(self, "task_key", value) + @network_filesystem_info.setter + def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter(name="conditionTask") - def condition_task(self) -> Optional['GetJobJobSettingsSettingsTaskConditionTaskArgs']: - return pulumi.get(self, "condition_task") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") - @condition_task.setter - def condition_task(self, value: Optional['GetJobJobSettingsSettingsTaskConditionTaskArgs']): - pulumi.set(self, "condition_task", value) + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[str]): + pulumi.set(self, "remote_mount_dir_path", value) - @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional['GetJobJobSettingsSettingsTaskDbtTaskArgs']: - return pulumi.get(self, "dbt_task") - @dbt_task.setter - def dbt_task(self, value: Optional['GetJobJobSettingsSettingsTaskDbtTaskArgs']): - pulumi.set(self, "dbt_task", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: str + mount_options: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: + def __init__(__self__, *, + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter(name="dependsOns") - def depends_ons(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgs']]: - return pulumi.get(self, "depends_ons") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") - @depends_ons.setter - def depends_ons(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskDependsOnArgs']]): - pulumi.set(self, "depends_ons", value) + @server_address.setter + def server_address(self, value: str): + pulumi.set(self, "server_address", value) @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") - @description.setter - def description(self, value: Optional[str]): - pulumi.set(self, "description", value) + @mount_options.setter + def mount_options(self, value: Optional[str]): + pulumi.set(self, "mount_options", value) - @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskEmailNotificationsArgs']: - return pulumi.get(self, "email_notifications") - @email_notifications.setter - def email_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskEmailNotificationsArgs']): - pulumi.set(self, "email_notifications", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgsDict(TypedDict): + url: str + basic_auth: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict'] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs: + def __init__(__self__, *, + url: str, + basic_auth: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> Optional[str]: - return pulumi.get(self, "environment_key") + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") - @environment_key.setter - def environment_key(self, value: Optional[str]): - pulumi.set(self, "environment_key", value) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[str]: - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") - @existing_cluster_id.setter - def existing_cluster_id(self, value: Optional[str]): - pulumi.set(self, "existing_cluster_id", value) + @basic_auth.setter + def basic_auth(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) - @property - @pulumi.getter(name="forEachTask") - def for_each_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskArgs']: - return pulumi.get(self, "for_each_task") - @for_each_task.setter - def for_each_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskArgs']): - pulumi.set(self, "for_each_task", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: str + username: str +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs: + def __init__(__self__, *, + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter - def health(self) -> Optional['GetJobJobSettingsSettingsTaskHealthArgs']: - return pulumi.get(self, "health") + def password(self) -> str: + return pulumi.get(self, "password") - @health.setter - def health(self, value: Optional['GetJobJobSettingsSettingsTaskHealthArgs']): - pulumi.set(self, "health", value) + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> Optional[str]: - return pulumi.get(self, "job_cluster_key") + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") - @job_cluster_key.setter - def job_cluster_key(self, value: Optional[str]): - pulumi.set(self, "job_cluster_key", value) + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[str] + boot_disk_size: NotRequired[int] + google_service_account: NotRequired[str] + local_ssd_count: NotRequired[int] + use_preemptible_executors: NotRequired[bool] + zone_id: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs: + def __init__(__self__, *, + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def libraries(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskLibraryArgs']]: - return pulumi.get(self, "libraries") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @libraries.setter - def libraries(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskLibraryArgs']]): - pulumi.set(self, "libraries", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[int]: - return pulumi.get(self, "max_retries") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") - @max_retries.setter - def max_retries(self, value: Optional[int]): - pulumi.set(self, "max_retries", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[int]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[int]: - return pulumi.get(self, "min_retry_interval_millis") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") - @min_retry_interval_millis.setter - def min_retry_interval_millis(self, value: Optional[int]): - pulumi.set(self, "min_retry_interval_millis", value) + @google_service_account.setter + def google_service_account(self, value: Optional[str]): + pulumi.set(self, "google_service_account", value) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterArgs']: - return pulumi.get(self, "new_cluster") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") - @new_cluster.setter - def new_cluster(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterArgs']): - pulumi.set(self, "new_cluster", value) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[int]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional['GetJobJobSettingsSettingsTaskNotebookTaskArgs']: - return pulumi.get(self, "notebook_task") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") - @notebook_task.setter - def notebook_task(self, value: Optional['GetJobJobSettingsSettingsTaskNotebookTaskArgs']): - pulumi.set(self, "notebook_task", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[bool]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional['GetJobJobSettingsSettingsTaskNotificationSettingsArgs']: - return pulumi.get(self, "notification_settings") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") - @notification_settings.setter - def notification_settings(self, value: Optional['GetJobJobSettingsSettingsTaskNotificationSettingsArgs']): - pulumi.set(self, "notification_settings", value) + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) - @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional['GetJobJobSettingsSettingsTaskPipelineTaskArgs']: - return pulumi.get(self, "pipeline_task") - @pipeline_task.setter - def pipeline_task(self, value: Optional['GetJobJobSettingsSettingsTaskPipelineTaskArgs']): - pulumi.set(self, "pipeline_task", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict'] + dbfs: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict'] + file: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgsDict'] + gcs: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict'] + volumes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict'] + workspace: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict'] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs: + def __init__(__self__, *, + abfss: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs'] = None, + dbfs: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs'] = None, + file: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs'] = None, + gcs: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args'] = None, + volumes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs'] = None, + workspace: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional['GetJobJobSettingsSettingsTaskPythonWheelTaskArgs']: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter + def abfss(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']: + return pulumi.get(self, "abfss") - @python_wheel_task.setter - def python_wheel_task(self, value: Optional['GetJobJobSettingsSettingsTaskPythonWheelTaskArgs']): - pulumi.set(self, "python_wheel_task", value) + @abfss.setter + def abfss(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="runIf") - def run_if(self) -> Optional[str]: - return pulumi.get(self, "run_if") + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']: + return pulumi.get(self, "dbfs") - @run_if.setter - def run_if(self, value: Optional[str]): - pulumi.set(self, "run_if", value) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional['GetJobJobSettingsSettingsTaskRunJobTaskArgs']: - return pulumi.get(self, "run_job_task") + @pulumi.getter + def file(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs']: + return pulumi.get(self, "file") - @run_job_task.setter - def run_job_task(self, value: Optional['GetJobJobSettingsSettingsTaskRunJobTaskArgs']): - pulumi.set(self, "run_job_task", value) + @file.setter + def file(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs']): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional['GetJobJobSettingsSettingsTaskSparkJarTaskArgs']: - return pulumi.get(self, "spark_jar_task") + @pulumi.getter + def gcs(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs']: + return pulumi.get(self, "gcs") - @spark_jar_task.setter - def spark_jar_task(self, value: Optional['GetJobJobSettingsSettingsTaskSparkJarTaskArgs']): - pulumi.set(self, "spark_jar_task", value) + @gcs.setter + def gcs(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs']): + pulumi.set(self, "gcs", value) @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional['GetJobJobSettingsSettingsTaskSparkPythonTaskArgs']: - return pulumi.get(self, "spark_python_task") + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args']: + return pulumi.get(self, "s3") - @spark_python_task.setter - def spark_python_task(self, value: Optional['GetJobJobSettingsSettingsTaskSparkPythonTaskArgs']): - pulumi.set(self, "spark_python_task", value) + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args']): + pulumi.set(self, "s3", value) @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs']: - return pulumi.get(self, "spark_submit_task") + @pulumi.getter + def volumes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']: + return pulumi.get(self, "volumes") - @spark_submit_task.setter - def spark_submit_task(self, value: Optional['GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs']): - pulumi.set(self, "spark_submit_task", value) + @volumes.setter + def volumes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']): + pulumi.set(self, "volumes", value) @property - @pulumi.getter(name="sqlTask") - def sql_task(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs']: - return pulumi.get(self, "sql_task") + @pulumi.getter + def workspace(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']: + return pulumi.get(self, "workspace") - @sql_task.setter - def sql_task(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs']): - pulumi.set(self, "sql_task", value) + @workspace.setter + def workspace(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']): + pulumi.set(self, "workspace", value) - @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[int]: - return pulumi.get(self, "timeout_seconds") - @timeout_seconds.setter - def timeout_seconds(self, value: Optional[int]): - pulumi.set(self, "timeout_seconds", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskWebhookNotificationsArgs']: - return pulumi.get(self, "webhook_notifications") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @webhook_notifications.setter - def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskWebhookNotificationsArgs']): - pulumi.set(self, "webhook_notifications", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskConditionTaskArgsDict(TypedDict): - left: str - op: str - right: str + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskConditionTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - left: str, - op: str, - right: str): - pulumi.set(__self__, "left", left) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "right", right) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def left(self) -> str: - return pulumi.get(self, "left") + def destination(self) -> str: + return pulumi.get(self, "destination") - @left.setter - def left(self, value: str): - pulumi.set(self, "left", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + def destination(self) -> str: + return pulumi.get(self, "destination") - @op.setter - def op(self, value: str): - pulumi.set(self, "op", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def right(self) -> str: - return pulumi.get(self, "right") + def destination(self) -> str: + return pulumi.get(self, "destination") - @right.setter - def right(self, value: str): - pulumi.set(self, "right", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskDbtTaskArgsDict(TypedDict): - commands: Sequence[str] - catalog: NotRequired[str] - profiles_directory: NotRequired[str] - project_directory: NotRequired[str] - schema: NotRequired[str] - source: NotRequired[str] - warehouse_id: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskDbtTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args: def __init__(__self__, *, - commands: Sequence[str], - catalog: Optional[str] = None, - profiles_directory: Optional[str] = None, - project_directory: Optional[str] = None, - schema: Optional[str] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def commands(self) -> Sequence[str]: - return pulumi.get(self, "commands") + def destination(self) -> str: + return pulumi.get(self, "destination") - @commands.setter - def commands(self, value: Sequence[str]): - pulumi.set(self, "commands", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) @property - @pulumi.getter - def catalog(self) -> Optional[str]: - return pulumi.get(self, "catalog") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") - @catalog.setter - def catalog(self, value: Optional[str]): - pulumi.set(self, "catalog", value) + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[str]: - return pulumi.get(self, "profiles_directory") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") - @profiles_directory.setter - def profiles_directory(self, value: Optional[str]): - pulumi.set(self, "profiles_directory", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[str]: - return pulumi.get(self, "project_directory") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") - @project_directory.setter - def project_directory(self, value: Optional[str]): - pulumi.set(self, "project_directory", value) + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def schema(self) -> Optional[str]: - return pulumi.get(self, "schema") + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") - @schema.setter - def schema(self, value: Optional[str]): - pulumi.set(self, "schema", value) + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @warehouse_id.setter - def warehouse_id(self, value: Optional[str]): - pulumi.set(self, "warehouse_id", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) if not MYPY: - class GetJobJobSettingsSettingsTaskDependsOnArgsDict(TypedDict): - task_key: str - outcome: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskDependsOnArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - task_key: str, - outcome: Optional[str] = None): - pulumi.set(__self__, "task_key", task_key) - if outcome is not None: - pulumi.set(__self__, "outcome", outcome) - - @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") - - @task_key.setter - def task_key(self, value: str): - pulumi.set(self, "task_key", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def outcome(self) -> Optional[str]: - return pulumi.get(self, "outcome") + def destination(self) -> str: + return pulumi.get(self, "destination") - @outcome.setter - def outcome(self, value: Optional[str]): - pulumi.set(self, "outcome", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskEmailNotificationsArgsDict(TypedDict): - no_alert_for_skipped_runs: NotRequired[bool] - on_duration_warning_threshold_exceededs: NotRequired[Sequence[str]] - on_failures: NotRequired[Sequence[str]] - on_starts: NotRequired[Sequence[str]] - on_streaming_backlog_exceededs: NotRequired[Sequence[str]] - on_successes: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskEmailNotificationsArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs: def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[bool] = None, - on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, - on_failures: Optional[Sequence[str]] = None, - on_starts: Optional[Sequence[str]] = None, - on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, - on_successes: Optional[Sequence[str]] = None): - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict(TypedDict): + clients: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict' +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs: + def __init__(__self__, *, + clients: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs'): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_failures") + @pulumi.getter + def clients(self) -> 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs': + return pulumi.get(self, "clients") - @on_failures.setter - def on_failures(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_failures", value) + @clients.setter + def clients(self, value: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs'): + pulumi.set(self, "clients", value) - @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_starts") - @on_starts.setter - def on_starts(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_starts", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[bool] + notebooks: NotRequired[bool] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs: + def __init__(__self__, *, + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @jobs.setter + def jobs(self, value: Optional[bool]): + pulumi.set(self, "jobs", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_successes") + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") - @on_successes.setter - def on_successes(self, value: Optional[Sequence[str]]): - pulumi.set(self, "on_successes", value) + @notebooks.setter + def notebooks(self, value: Optional[bool]): + pulumi.set(self, "notebooks", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskArgsDict(TypedDict): - inputs: str - task: 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgsDict' - concurrency: NotRequired[int] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgsDict(TypedDict): + notebook_path: str + base_parameters: NotRequired[Mapping[str, str]] + source: NotRequired[str] + warehouse_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs: def __init__(__self__, *, - inputs: str, - task: 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgs', - concurrency: Optional[int] = None): - pulumi.set(__self__, "inputs", inputs) - pulumi.set(__self__, "task", task) - if concurrency is not None: - pulumi.set(__self__, "concurrency", concurrency) + notebook_path: str, + base_parameters: Optional[Mapping[str, str]] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter - def inputs(self) -> str: - return pulumi.get(self, "inputs") + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> str: + return pulumi.get(self, "notebook_path") - @inputs.setter - def inputs(self, value: str): - pulumi.set(self, "inputs", value) + @notebook_path.setter + def notebook_path(self, value: str): + pulumi.set(self, "notebook_path", value) @property - @pulumi.getter - def task(self) -> 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgs': - return pulumi.get(self, "task") + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "base_parameters") - @task.setter - def task(self, value: 'GetJobJobSettingsSettingsTaskForEachTaskTaskArgs'): - pulumi.set(self, "task", value) + @base_parameters.setter + def base_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "base_parameters", value) @property @pulumi.getter - def concurrency(self) -> Optional[int]: - return pulumi.get(self, "concurrency") + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @concurrency.setter - def concurrency(self, value: Optional[int]): - pulumi.set(self, "concurrency", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") + + @warehouse_id.setter + def warehouse_id(self, value: Optional[str]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskArgsDict(TypedDict): - retry_on_timeout: bool - task_key: str - condition_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgsDict'] - dbt_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgsDict'] - depends_ons: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgsDict']] - description: NotRequired[str] - email_notifications: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgsDict'] - environment_key: NotRequired[str] - existing_cluster_id: NotRequired[str] - health: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgsDict'] - job_cluster_key: NotRequired[str] - libraries: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgsDict']] - max_retries: NotRequired[int] - min_retry_interval_millis: NotRequired[int] - new_cluster: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict'] - notebook_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgsDict'] - notification_settings: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgsDict'] - pipeline_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgsDict'] - python_wheel_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgsDict'] - run_if: NotRequired[str] - run_job_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgsDict'] - spark_jar_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgsDict'] - spark_python_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgsDict'] - spark_submit_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgsDict'] - sql_task: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgsDict'] - timeout_seconds: NotRequired[int] - webhook_notifications: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgsDict'] + class GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgsDict(TypedDict): + alert_on_last_attempt: NotRequired[bool] + no_alert_for_canceled_runs: NotRequired[bool] + no_alert_for_skipped_runs: NotRequired[bool] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs: def __init__(__self__, *, - retry_on_timeout: bool, - task_key: str, - condition_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs'] = None, - dbt_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs'] = None, - depends_ons: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs']] = None, - description: Optional[str] = None, - email_notifications: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs'] = None, - environment_key: Optional[str] = None, - existing_cluster_id: Optional[str] = None, - health: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs'] = None, - job_cluster_key: Optional[str] = None, - libraries: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs']] = None, - max_retries: Optional[int] = None, - min_retry_interval_millis: Optional[int] = None, - new_cluster: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs'] = None, - notebook_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs'] = None, - notification_settings: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs'] = None, - pipeline_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs'] = None, - python_wheel_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs'] = None, - run_if: Optional[str] = None, - run_job_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs'] = None, - spark_jar_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs'] = None, - spark_python_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs'] = None, - spark_submit_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs'] = None, - sql_task: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs'] = None, - timeout_seconds: Optional[int] = None, - webhook_notifications: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs'] = None): - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - pulumi.set(__self__, "task_key", task_key) - if condition_task is not None: - pulumi.set(__self__, "condition_task", condition_task) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) - if description is not None: - pulumi.set(__self__, "description", description) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environment_key is not None: - pulumi.set(__self__, "environment_key", environment_key) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if health is not None: - pulumi.set(__self__, "health", health) - if job_cluster_key is not None: - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if run_if is not None: - pulumi.set(__self__, "run_if", run_if) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if sql_task is not None: - pulumi.set(__self__, "sql_task", sql_task) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) + alert_on_last_attempt: Optional[bool] = None, + no_alert_for_canceled_runs: Optional[bool] = None, + no_alert_for_skipped_runs: Optional[bool] = None): + if alert_on_last_attempt is not None: + pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + + @property + @pulumi.getter(name="alertOnLastAttempt") + def alert_on_last_attempt(self) -> Optional[bool]: + return pulumi.get(self, "alert_on_last_attempt") + + @alert_on_last_attempt.setter + def alert_on_last_attempt(self, value: Optional[bool]): + pulumi.set(self, "alert_on_last_attempt", value) + + @property + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_canceled_runs") + + @no_alert_for_canceled_runs.setter + def no_alert_for_canceled_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_canceled_runs", value) @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> bool: - return pulumi.get(self, "retry_on_timeout") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") - @retry_on_timeout.setter - def retry_on_timeout(self, value: bool): - pulumi.set(self, "retry_on_timeout", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_skipped_runs", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgsDict(TypedDict): + pipeline_id: str + full_refresh: NotRequired[bool] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs: + def __init__(__self__, *, + pipeline_id: str, + full_refresh: Optional[bool] = None): + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> str: + return pulumi.get(self, "pipeline_id") - @task_key.setter - def task_key(self, value: str): - pulumi.set(self, "task_key", value) + @pipeline_id.setter + def pipeline_id(self, value: str): + pulumi.set(self, "pipeline_id", value) @property - @pulumi.getter(name="conditionTask") - def condition_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs']: - return pulumi.get(self, "condition_task") + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[bool]: + return pulumi.get(self, "full_refresh") - @condition_task.setter - def condition_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs']): - pulumi.set(self, "condition_task", value) + @full_refresh.setter + def full_refresh(self, value: Optional[bool]): + pulumi.set(self, "full_refresh", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgsDict(TypedDict): + entry_point: NotRequired[str] + named_parameters: NotRequired[Mapping[str, str]] + package_name: NotRequired[str] + parameters: NotRequired[Sequence[str]] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs: + def __init__(__self__, *, + entry_point: Optional[str] = None, + named_parameters: Optional[Mapping[str, str]] = None, + package_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs']: - return pulumi.get(self, "dbt_task") + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[str]: + return pulumi.get(self, "entry_point") - @dbt_task.setter - def dbt_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs']): - pulumi.set(self, "dbt_task", value) + @entry_point.setter + def entry_point(self, value: Optional[str]): + pulumi.set(self, "entry_point", value) @property - @pulumi.getter(name="dependsOns") - def depends_ons(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs']]: - return pulumi.get(self, "depends_ons") + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "named_parameters") - @depends_ons.setter - def depends_ons(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs']]): - pulumi.set(self, "depends_ons", value) + @named_parameters.setter + def named_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "named_parameters", value) @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + return pulumi.get(self, "package_name") - @description.setter - def description(self, value: Optional[str]): - pulumi.set(self, "description", value) + @package_name.setter + def package_name(self, value: Optional[str]): + pulumi.set(self, "package_name", value) @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs']: - return pulumi.get(self, "email_notifications") + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @email_notifications.setter - def email_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs']): - pulumi.set(self, "email_notifications", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgsDict(TypedDict): + job_id: int + job_parameters: NotRequired[Mapping[str, str]] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs: + def __init__(__self__, *, + job_id: int, + job_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "job_id", job_id) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> Optional[str]: - return pulumi.get(self, "environment_key") + @pulumi.getter(name="jobId") + def job_id(self) -> int: + return pulumi.get(self, "job_id") - @environment_key.setter - def environment_key(self, value: Optional[str]): - pulumi.set(self, "environment_key", value) + @job_id.setter + def job_id(self, value: int): + pulumi.set(self, "job_id", value) @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[str]: - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "job_parameters") - @existing_cluster_id.setter - def existing_cluster_id(self, value: Optional[str]): - pulumi.set(self, "existing_cluster_id", value) + @job_parameters.setter + def job_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "job_parameters", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgsDict(TypedDict): + jar_uri: NotRequired[str] + main_class_name: NotRequired[str] + parameters: NotRequired[Sequence[str]] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs: + def __init__(__self__, *, + jar_uri: Optional[str] = None, + main_class_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def health(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs']: - return pulumi.get(self, "health") + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[str]: + return pulumi.get(self, "jar_uri") - @health.setter - def health(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs']): - pulumi.set(self, "health", value) + @jar_uri.setter + def jar_uri(self, value: Optional[str]): + pulumi.set(self, "jar_uri", value) @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> Optional[str]: - return pulumi.get(self, "job_cluster_key") + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[str]: + return pulumi.get(self, "main_class_name") - @job_cluster_key.setter - def job_cluster_key(self, value: Optional[str]): - pulumi.set(self, "job_cluster_key", value) + @main_class_name.setter + def main_class_name(self, value: Optional[str]): + pulumi.set(self, "main_class_name", value) @property @pulumi.getter - def libraries(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs']]: - return pulumi.get(self, "libraries") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @libraries.setter - def libraries(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs']]): - pulumi.set(self, "libraries", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) - @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[int]: - return pulumi.get(self, "max_retries") - @max_retries.setter - def max_retries(self, value: Optional[int]): - pulumi.set(self, "max_retries", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgsDict(TypedDict): + python_file: str + parameters: NotRequired[Sequence[str]] + source: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs: + def __init__(__self__, *, + python_file: str, + parameters: Optional[Sequence[str]] = None, + source: Optional[str] = None): + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[int]: - return pulumi.get(self, "min_retry_interval_millis") + @pulumi.getter(name="pythonFile") + def python_file(self) -> str: + return pulumi.get(self, "python_file") - @min_retry_interval_millis.setter - def min_retry_interval_millis(self, value: Optional[int]): - pulumi.set(self, "min_retry_interval_millis", value) + @python_file.setter + def python_file(self, value: str): + pulumi.set(self, "python_file", value) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs']: - return pulumi.get(self, "new_cluster") + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @new_cluster.setter - def new_cluster(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs']): - pulumi.set(self, "new_cluster", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs']: - return pulumi.get(self, "notebook_task") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @notebook_task.setter - def notebook_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs']): - pulumi.set(self, "notebook_task", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgsDict(TypedDict): + parameters: NotRequired[Sequence[str]] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs: + def __init__(__self__, *, + parameters: Optional[Sequence[str]] = None): + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs']: - return pulumi.get(self, "notification_settings") + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @notification_settings.setter - def notification_settings(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs']): - pulumi.set(self, "notification_settings", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgsDict(TypedDict): + warehouse_id: str + alert: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgsDict'] + dashboard: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgsDict'] + file: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgsDict'] + parameters: NotRequired[Mapping[str, str]] + query: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgsDict'] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs: + def __init__(__self__, *, + warehouse_id: str, + alert: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs'] = None, + dashboard: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs'] = None, + file: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs'] = None, + parameters: Optional[Mapping[str, str]] = None, + query: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs'] = None): + pulumi.set(__self__, "warehouse_id", warehouse_id) + if alert is not None: + pulumi.set(__self__, "alert", alert) + if dashboard is not None: + pulumi.set(__self__, "dashboard", dashboard) + if file is not None: + pulumi.set(__self__, "file", file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if query is not None: + pulumi.set(__self__, "query", query) @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs']: - return pulumi.get(self, "pipeline_task") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> str: + return pulumi.get(self, "warehouse_id") - @pipeline_task.setter - def pipeline_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs']): - pulumi.set(self, "pipeline_task", value) + @warehouse_id.setter + def warehouse_id(self, value: str): + pulumi.set(self, "warehouse_id", value) @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs']: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter + def alert(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs']: + return pulumi.get(self, "alert") - @python_wheel_task.setter - def python_wheel_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs']): - pulumi.set(self, "python_wheel_task", value) + @alert.setter + def alert(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs']): + pulumi.set(self, "alert", value) @property - @pulumi.getter(name="runIf") - def run_if(self) -> Optional[str]: - return pulumi.get(self, "run_if") + @pulumi.getter + def dashboard(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs']: + return pulumi.get(self, "dashboard") - @run_if.setter - def run_if(self, value: Optional[str]): - pulumi.set(self, "run_if", value) + @dashboard.setter + def dashboard(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs']): + pulumi.set(self, "dashboard", value) @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs']: - return pulumi.get(self, "run_job_task") + @pulumi.getter + def file(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs']: + return pulumi.get(self, "file") - @run_job_task.setter - def run_job_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs']): - pulumi.set(self, "run_job_task", value) + @file.setter + def file(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs']): + pulumi.set(self, "file", value) @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs']: - return pulumi.get(self, "spark_jar_task") + @pulumi.getter + def parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "parameters") - @spark_jar_task.setter - def spark_jar_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs']): - pulumi.set(self, "spark_jar_task", value) + @parameters.setter + def parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "parameters", value) @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs']: - return pulumi.get(self, "spark_python_task") + @pulumi.getter + def query(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs']: + return pulumi.get(self, "query") - @spark_python_task.setter - def spark_python_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs']): - pulumi.set(self, "spark_python_task", value) + @query.setter + def query(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs']): + pulumi.set(self, "query", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgsDict(TypedDict): + alert_id: str + pause_subscriptions: NotRequired[bool] + subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict']] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs: + def __init__(__self__, *, + alert_id: str, + pause_subscriptions: Optional[bool] = None, + subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']] = None): + pulumi.set(__self__, "alert_id", alert_id) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs']: - return pulumi.get(self, "spark_submit_task") + @pulumi.getter(name="alertId") + def alert_id(self) -> str: + return pulumi.get(self, "alert_id") - @spark_submit_task.setter - def spark_submit_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs']): - pulumi.set(self, "spark_submit_task", value) + @alert_id.setter + def alert_id(self, value: str): + pulumi.set(self, "alert_id", value) @property - @pulumi.getter(name="sqlTask") - def sql_task(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs']: - return pulumi.get(self, "sql_task") + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[bool]: + return pulumi.get(self, "pause_subscriptions") - @sql_task.setter - def sql_task(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs']): - pulumi.set(self, "sql_task", value) + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[bool]): + pulumi.set(self, "pause_subscriptions", value) @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[int]: - return pulumi.get(self, "timeout_seconds") + @pulumi.getter + def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]: + return pulumi.get(self, "subscriptions") - @timeout_seconds.setter - def timeout_seconds(self, value: Optional[int]): - pulumi.set(self, "timeout_seconds", value) + @subscriptions.setter + def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]): + pulumi.set(self, "subscriptions", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[str] + user_name: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs: + def __init__(__self__, *, + destination_id: Optional[str] = None, + user_name: Optional[str] = None): + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs']: - return pulumi.get(self, "webhook_notifications") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[str]: + return pulumi.get(self, "destination_id") - @webhook_notifications.setter - def webhook_notifications(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs']): - pulumi.set(self, "webhook_notifications", value) + @destination_id.setter + def destination_id(self, value: Optional[str]): + pulumi.set(self, "destination_id", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[str]): + pulumi.set(self, "user_name", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgsDict(TypedDict): - left: str - op: str - right: str + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgsDict(TypedDict): + dashboard_id: str + custom_subject: NotRequired[str] + pause_subscriptions: NotRequired[bool] + subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict']] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs: def __init__(__self__, *, - left: str, - op: str, - right: str): - pulumi.set(__self__, "left", left) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "right", right) + dashboard_id: str, + custom_subject: Optional[str] = None, + pause_subscriptions: Optional[bool] = None, + subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']] = None): + pulumi.set(__self__, "dashboard_id", dashboard_id) + if custom_subject is not None: + pulumi.set(__self__, "custom_subject", custom_subject) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter - def left(self) -> str: - return pulumi.get(self, "left") + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> str: + return pulumi.get(self, "dashboard_id") - @left.setter - def left(self, value: str): - pulumi.set(self, "left", value) + @dashboard_id.setter + def dashboard_id(self, value: str): + pulumi.set(self, "dashboard_id", value) @property - @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + @pulumi.getter(name="customSubject") + def custom_subject(self) -> Optional[str]: + return pulumi.get(self, "custom_subject") - @op.setter - def op(self, value: str): - pulumi.set(self, "op", value) + @custom_subject.setter + def custom_subject(self, value: Optional[str]): + pulumi.set(self, "custom_subject", value) + + @property + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[bool]: + return pulumi.get(self, "pause_subscriptions") + + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[bool]): + pulumi.set(self, "pause_subscriptions", value) @property @pulumi.getter - def right(self) -> str: - return pulumi.get(self, "right") + def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]: + return pulumi.get(self, "subscriptions") - @right.setter - def right(self, value: str): - pulumi.set(self, "right", value) + @subscriptions.setter + def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgsDict(TypedDict): - commands: Sequence[str] - catalog: NotRequired[str] - profiles_directory: NotRequired[str] - project_directory: NotRequired[str] - schema: NotRequired[str] - source: NotRequired[str] - warehouse_id: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[str] + user_name: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs: def __init__(__self__, *, - commands: Sequence[str], - catalog: Optional[str] = None, - profiles_directory: Optional[str] = None, - project_directory: Optional[str] = None, - schema: Optional[str] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + destination_id: Optional[str] = None, + user_name: Optional[str] = None): + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def commands(self) -> Sequence[str]: - return pulumi.get(self, "commands") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[str]: + return pulumi.get(self, "destination_id") - @commands.setter - def commands(self, value: Sequence[str]): - pulumi.set(self, "commands", value) + @destination_id.setter + def destination_id(self, value: Optional[str]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter - def catalog(self) -> Optional[str]: - return pulumi.get(self, "catalog") - - @catalog.setter - def catalog(self, value: Optional[str]): - pulumi.set(self, "catalog", value) + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[str]: - return pulumi.get(self, "profiles_directory") + @user_name.setter + def user_name(self, value: Optional[str]): + pulumi.set(self, "user_name", value) - @profiles_directory.setter - def profiles_directory(self, value: Optional[str]): - pulumi.set(self, "profiles_directory", value) - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[str]: - return pulumi.get(self, "project_directory") +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgsDict(TypedDict): + path: str + source: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] - @project_directory.setter - def project_directory(self, value: Optional[str]): - pulumi.set(self, "project_directory", value) +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs: + def __init__(__self__, *, + path: str, + source: Optional[str] = None): + pulumi.set(__self__, "path", path) + if source is not None: + pulumi.set(__self__, "source", source) @property @pulumi.getter - def schema(self) -> Optional[str]: - return pulumi.get(self, "schema") + def path(self) -> str: + return pulumi.get(self, "path") - @schema.setter - def schema(self, value: Optional[str]): - pulumi.set(self, "schema", value) + @path.setter + def path(self, value: str): + pulumi.set(self, "path", value) @property @pulumi.getter @@ -46851,73 +50970,47 @@ def source(self) -> Optional[str]: def source(self, value: Optional[str]): pulumi.set(self, "source", value) - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") - - @warehouse_id.setter - def warehouse_id(self, value: Optional[str]): - pulumi.set(self, "warehouse_id", value) - if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgsDict(TypedDict): - task_key: str - outcome: NotRequired[str] + class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgsDict(TypedDict): + query_id: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs: def __init__(__self__, *, - task_key: str, - outcome: Optional[str] = None): - pulumi.set(__self__, "task_key", task_key) - if outcome is not None: - pulumi.set(__self__, "outcome", outcome) - - @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") - - @task_key.setter - def task_key(self, value: str): - pulumi.set(self, "task_key", value) + query_id: str): + pulumi.set(__self__, "query_id", query_id) @property - @pulumi.getter - def outcome(self) -> Optional[str]: - return pulumi.get(self, "outcome") + @pulumi.getter(name="queryId") + def query_id(self) -> str: + return pulumi.get(self, "query_id") - @outcome.setter - def outcome(self, value: Optional[str]): - pulumi.set(self, "outcome", value) + @query_id.setter + def query_id(self, value: str): + pulumi.set(self, "query_id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgsDict(TypedDict): - no_alert_for_skipped_runs: NotRequired[bool] - on_duration_warning_threshold_exceededs: NotRequired[Sequence[str]] - on_failures: NotRequired[Sequence[str]] - on_starts: NotRequired[Sequence[str]] - on_streaming_backlog_exceededs: NotRequired[Sequence[str]] - on_successes: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgsDict(TypedDict): + on_duration_warning_threshold_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']] + on_failures: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict']] + on_starts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict']] + on_streaming_backlog_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']] + on_successes: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict']] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs: def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[bool] = None, - on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, - on_failures: Optional[Sequence[str]] = None, - on_starts: Optional[Sequence[str]] = None, - on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, - on_successes: Optional[Sequence[str]] = None): - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + on_duration_warning_threshold_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']] = None, + on_failures: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']] = None, + on_starts: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs']] = None, + on_streaming_backlog_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']] = None, + on_successes: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']] = None): if on_duration_warning_threshold_exceededs is not None: pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -46929,93 +51022,239 @@ def __init__(__self__, *, if on_successes is not None: pulumi.set(__self__, "on_successes", on_successes) - @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") - - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_skipped_runs", value) - @property @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]: return pulumi.get(self, "on_duration_warning_threshold_exceededs") @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence[str]]): + def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]): pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence[str]]: + def on_failures(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]: return pulumi.get(self, "on_failures") @on_failures.setter - def on_failures(self, value: Optional[Sequence[str]]): + def on_failures(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]): pulumi.set(self, "on_failures", value) @property @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence[str]]: + def on_starts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]: return pulumi.get(self, "on_starts") @on_starts.setter - def on_starts(self, value: Optional[Sequence[str]]): + def on_starts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]): pulumi.set(self, "on_starts", value) @property @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + def on_streaming_backlog_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]: return pulumi.get(self, "on_streaming_backlog_exceededs") @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[Sequence[str]]): + def on_streaming_backlog_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]): pulumi.set(self, "on_streaming_backlog_exceededs", value) @property @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence[str]]: + def on_successes(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]: return pulumi.get(self, "on_successes") @on_successes.setter - def on_successes(self, value: Optional[Sequence[str]]): + def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]): pulumi.set(self, "on_successes", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgsDict(TypedDict): - rules: Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgsDict'] + class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthArgs: +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - rules: Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs']): + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskHealthArgsDict(TypedDict): + rules: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgsDict'] +elif False: + GetJobJobSettingsSettingsTaskHealthArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskHealthArgs: + def __init__(__self__, *, + rules: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs']): pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def rules(self) -> Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs']: + def rules(self) -> Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs']: return pulumi.get(self, "rules") @rules.setter - def rules(self, value: Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs']): + def rules(self, value: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs']): pulumi.set(self, "rules", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskHealthRuleArgsDict(TypedDict): metric: str op: str value: int elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleArgs: +class GetJobJobSettingsSettingsTaskHealthRuleArgs: def __init__(__self__, *, metric: str, op: str, @@ -47053,25 +51292,25 @@ def value(self, value: int): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgsDict(TypedDict): - cran: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgsDict'] + class GetJobJobSettingsSettingsTaskLibraryArgsDict(TypedDict): + cran: NotRequired['GetJobJobSettingsSettingsTaskLibraryCranArgsDict'] egg: NotRequired[str] jar: NotRequired[str] - maven: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgsDict'] - pypi: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgsDict'] + maven: NotRequired['GetJobJobSettingsSettingsTaskLibraryMavenArgsDict'] + pypi: NotRequired['GetJobJobSettingsSettingsTaskLibraryPypiArgsDict'] requirements: NotRequired[str] whl: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryArgs: +class GetJobJobSettingsSettingsTaskLibraryArgs: def __init__(__self__, *, - cran: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs'] = None, + cran: Optional['GetJobJobSettingsSettingsTaskLibraryCranArgs'] = None, egg: Optional[str] = None, jar: Optional[str] = None, - maven: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs'] = None, - pypi: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs'] = None, + maven: Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs'] = None, + pypi: Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs'] = None, requirements: Optional[str] = None, whl: Optional[str] = None): if cran is not None: @@ -47091,11 +51330,11 @@ def __init__(__self__, *, @property @pulumi.getter - def cran(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs']: + def cran(self) -> Optional['GetJobJobSettingsSettingsTaskLibraryCranArgs']: return pulumi.get(self, "cran") @cran.setter - def cran(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs']): + def cran(self, value: Optional['GetJobJobSettingsSettingsTaskLibraryCranArgs']): pulumi.set(self, "cran", value) @property @@ -47118,20 +51357,20 @@ def jar(self, value: Optional[str]): @property @pulumi.getter - def maven(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs']: + def maven(self) -> Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs']: return pulumi.get(self, "maven") @maven.setter - def maven(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs']): + def maven(self, value: Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs']): pulumi.set(self, "maven", value) @property @pulumi.getter - def pypi(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs']: + def pypi(self) -> Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs']: return pulumi.get(self, "pypi") @pypi.setter - def pypi(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs']): + def pypi(self, value: Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs']): pulumi.set(self, "pypi", value) @property @@ -47154,14 +51393,14 @@ def whl(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskLibraryCranArgsDict(TypedDict): package: str repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranArgs: +class GetJobJobSettingsSettingsTaskLibraryCranArgs: def __init__(__self__, *, package: str, repo: Optional[str] = None): @@ -47189,15 +51428,15 @@ def repo(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskLibraryMavenArgsDict(TypedDict): coordinates: str exclusions: NotRequired[Sequence[str]] repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenArgs: +class GetJobJobSettingsSettingsTaskLibraryMavenArgs: def __init__(__self__, *, coordinates: str, exclusions: Optional[Sequence[str]] = None, @@ -47237,14 +51476,14 @@ def repo(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskLibraryPypiArgsDict(TypedDict): package: str repo: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiArgs: +class GetJobJobSettingsSettingsTaskLibraryPypiArgs: def __init__(__self__, *, package: str, repo: Optional[str] = None): @@ -47272,7 +51511,7 @@ def repo(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskNewClusterArgsDict(TypedDict): driver_instance_pool_id: str driver_node_type_id: str enable_elastic_disk: bool @@ -47281,20 +51520,20 @@ class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict(TypedDict): num_workers: int spark_version: str apply_policy_default_values: NotRequired[bool] - autoscale: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgsDict'] + autoscale: NotRequired['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgsDict'] autotermination_minutes: NotRequired[int] - aws_attributes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgsDict'] + aws_attributes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgsDict'] + azure_attributes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgsDict'] cluster_id: NotRequired[str] - cluster_log_conf: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgsDict'] - cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict']] + cluster_log_conf: NotRequired['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgsDict'] + cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgsDict']] cluster_name: NotRequired[str] custom_tags: NotRequired[Mapping[str, str]] data_security_mode: NotRequired[str] - docker_image: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgsDict'] - gcp_attributes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgsDict'] + docker_image: NotRequired['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgsDict'] + gcp_attributes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgsDict'] idempotency_token: NotRequired[str] - init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgsDict']] + init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgsDict']] instance_pool_id: NotRequired[str] policy_id: NotRequired[str] runtime_engine: NotRequired[str] @@ -47302,12 +51541,12 @@ class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict(TypedDict): spark_conf: NotRequired[Mapping[str, str]] spark_env_vars: NotRequired[Mapping[str, str]] ssh_public_keys: NotRequired[Sequence[str]] - workload_type: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict'] + workload_type: NotRequired['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgsDict'] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterArgs: +class GetJobJobSettingsSettingsTaskNewClusterArgs: def __init__(__self__, *, driver_instance_pool_id: str, driver_node_type_id: str, @@ -47317,20 +51556,20 @@ def __init__(__self__, *, num_workers: int, spark_version: str, apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs'] = None, + autoscale: Optional['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs'] = None, autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs'] = None, - azure_attributes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs'] = None, + aws_attributes: Optional['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs'] = None, + azure_attributes: Optional['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs'] = None, cluster_id: Optional[str] = None, - cluster_log_conf: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs'] = None, - cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs']] = None, + cluster_log_conf: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs'] = None, + cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs']] = None, cluster_name: Optional[str] = None, custom_tags: Optional[Mapping[str, str]] = None, data_security_mode: Optional[str] = None, - docker_image: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs'] = None, - gcp_attributes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs'] = None, + docker_image: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs'] = None, + gcp_attributes: Optional['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs'] = None, idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs']] = None, + init_scripts: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs']] = None, instance_pool_id: Optional[str] = None, policy_id: Optional[str] = None, runtime_engine: Optional[str] = None, @@ -47338,7 +51577,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs'] = None): + workload_type: Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs'] = None): pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) @@ -47467,11 +51706,11 @@ def apply_policy_default_values(self, value: Optional[bool]): @property @pulumi.getter - def autoscale(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs']: + def autoscale(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs']: return pulumi.get(self, "autoscale") @autoscale.setter - def autoscale(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs']): + def autoscale(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs']): pulumi.set(self, "autoscale", value) @property @@ -47485,20 +51724,20 @@ def autotermination_minutes(self, value: Optional[int]): @property @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs']: + def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs']: return pulumi.get(self, "aws_attributes") @aws_attributes.setter - def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs']): + def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs']): pulumi.set(self, "aws_attributes", value) @property @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs']: + def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs']: return pulumi.get(self, "azure_attributes") @azure_attributes.setter - def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs']): + def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs']): pulumi.set(self, "azure_attributes", value) @property @@ -47512,696 +51751,232 @@ def cluster_id(self, value: Optional[str]): @property @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs']: + def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs']: return pulumi.get(self, "cluster_log_conf") @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs']): + def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs']): pulumi.set(self, "cluster_log_conf", value) @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]: - return pulumi.get(self, "cluster_mount_infos") - - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs']]): - pulumi.set(self, "cluster_mount_infos", value) - - @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: - return pulumi.get(self, "cluster_name") - - @cluster_name.setter - def cluster_name(self, value: Optional[str]): - pulumi.set(self, "cluster_name", value) - - @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") - - @custom_tags.setter - def custom_tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "custom_tags", value) - - @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: - return pulumi.get(self, "data_security_mode") - - @data_security_mode.setter - def data_security_mode(self, value: Optional[str]): - pulumi.set(self, "data_security_mode", value) - - @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs']: - return pulumi.get(self, "docker_image") - - @docker_image.setter - def docker_image(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs']): - pulumi.set(self, "docker_image", value) - - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs']: - return pulumi.get(self, "gcp_attributes") - - @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs']): - pulumi.set(self, "gcp_attributes", value) - - @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: - return pulumi.get(self, "idempotency_token") - - @idempotency_token.setter - def idempotency_token(self, value: Optional[str]): - pulumi.set(self, "idempotency_token", value) - - @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs']]: - return pulumi.get(self, "init_scripts") - - @init_scripts.setter - def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs']]): - pulumi.set(self, "init_scripts", value) - - @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: - return pulumi.get(self, "instance_pool_id") - - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[str]): - pulumi.set(self, "instance_pool_id", value) - - @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: - return pulumi.get(self, "policy_id") - - @policy_id.setter - def policy_id(self, value: Optional[str]): - pulumi.set(self, "policy_id", value) - - @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: - return pulumi.get(self, "runtime_engine") - - @runtime_engine.setter - def runtime_engine(self, value: Optional[str]): - pulumi.set(self, "runtime_engine", value) - - @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: - return pulumi.get(self, "single_user_name") - - @single_user_name.setter - def single_user_name(self, value: Optional[str]): - pulumi.set(self, "single_user_name", value) - - @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_conf") - - @spark_conf.setter - def spark_conf(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_conf", value) - - @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_env_vars") - - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_env_vars", value) - - @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "ssh_public_keys") - - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[Sequence[str]]): - pulumi.set(self, "ssh_public_keys", value) - - @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs']: - return pulumi.get(self, "workload_type") - - @workload_type.setter - def workload_type(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs']): - pulumi.set(self, "workload_type", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[int] - min_workers: NotRequired[int] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleArgs: - def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) - - @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") - - @max_workers.setter - def max_workers(self, value: Optional[int]): - pulumi.set(self, "max_workers", value) - - @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") - - @min_workers.setter - def min_workers(self, value: Optional[int]): - pulumi.set(self, "min_workers", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[str] - ebs_volume_count: NotRequired[int] - ebs_volume_size: NotRequired[int] - ebs_volume_type: NotRequired[str] - first_on_demand: NotRequired[int] - instance_profile_arn: NotRequired[str] - spot_bid_price_percent: NotRequired[int] - zone_id: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesArgs: - def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) - - @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") - - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_count", value) - - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") - - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_size", value) - - @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") - - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[str]): - pulumi.set(self, "ebs_volume_type", value) - - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") - - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) - - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") - - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[str]): - pulumi.set(self, "instance_profile_arn", value) - - @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") - - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[int]): - pulumi.set(self, "spot_bid_price_percent", value) - - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[str] - first_on_demand: NotRequired[int] - spot_bid_max_price: NotRequired[float] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesArgs: - def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) - - @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) - - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") - - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) - - @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") - - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[float]): - pulumi.set(self, "spot_bid_max_price", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfArgs: - def __init__(__self__, *, - dbfs: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - - @property - @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']: - return pulumi.get(self, "dbfs") - - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs']): - pulumi.set(self, "dbfs", value) - - @property - @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args']: - return pulumi.get(self, "s3") - - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args']): - pulumi.set(self, "s3", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Args: - def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") - - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) - - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs']]: + return pulumi.get(self, "cluster_mount_infos") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @cluster_mount_infos.setter + def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs']]): + pulumi.set(self, "cluster_mount_infos", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: + return pulumi.get(self, "cluster_name") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @cluster_name.setter + def cluster_name(self, value: Optional[str]): + pulumi.set(self, "cluster_name", value) @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @custom_tags.setter + def custom_tags(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "custom_tags", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: + return pulumi.get(self, "data_security_mode") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @data_security_mode.setter + def data_security_mode(self, value: Optional[str]): + pulumi.set(self, "data_security_mode", value) @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs']: + return pulumi.get(self, "docker_image") + @docker_image.setter + def docker_image(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs']): + pulumi.set(self, "docker_image", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: str - network_filesystem_info: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' - remote_mount_dir_path: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs']: + return pulumi.get(self, "gcp_attributes") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoArgs: - def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + @gcp_attributes.setter + def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs']): + pulumi.set(self, "gcp_attributes", value) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: + return pulumi.get(self, "idempotency_token") - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: str): - pulumi.set(self, "local_mount_dir_path", value) + @idempotency_token.setter + def idempotency_token(self, value: Optional[str]): + pulumi.set(self, "idempotency_token", value) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs']]: + return pulumi.get(self, "init_scripts") - @network_filesystem_info.setter - def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): - pulumi.set(self, "network_filesystem_info", value) + @init_scripts.setter + def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs']]): + pulumi.set(self, "init_scripts", value) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") - - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[str]): - pulumi.set(self, "remote_mount_dir_path", value) + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: + return pulumi.get(self, "instance_pool_id") + @instance_pool_id.setter + def instance_pool_id(self, value: Optional[str]): + pulumi.set(self, "instance_pool_id", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: str - mount_options: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + return pulumi.get(self, "policy_id") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: - def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + @policy_id.setter + def policy_id(self, value: Optional[str]): + pulumi.set(self, "policy_id", value) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: + return pulumi.get(self, "runtime_engine") - @server_address.setter - def server_address(self, value: str): - pulumi.set(self, "server_address", value) + @runtime_engine.setter + def runtime_engine(self, value: Optional[str]): + pulumi.set(self, "runtime_engine", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: + return pulumi.get(self, "single_user_name") - @mount_options.setter - def mount_options(self, value: Optional[str]): - pulumi.set(self, "mount_options", value) + @single_user_name.setter + def single_user_name(self, value: Optional[str]): + pulumi.set(self, "single_user_name", value) + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_conf") -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgsDict(TypedDict): - url: str - basic_auth: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + @spark_conf.setter + def spark_conf(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_conf", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageArgs: - def __init__(__self__, *, - url: str, - basic_auth: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + @property + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_env_vars") + + @spark_env_vars.setter + def spark_env_vars(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "spark_env_vars", value) @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ssh_public_keys") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @ssh_public_keys.setter + def ssh_public_keys(self, value: Optional[Sequence[str]]): + pulumi.set(self, "ssh_public_keys", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs']: + return pulumi.get(self, "workload_type") - @basic_auth.setter - def basic_auth(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) + @workload_type.setter + def workload_type(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs']): + pulumi.set(self, "workload_type", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: str - username: str + class GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgsDict(TypedDict): + max_workers: NotRequired[int] + min_workers: NotRequired[int] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs: +class GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs: def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") - @password.setter - def password(self, value: str): - pulumi.set(self, "password", value) + @max_workers.setter + def max_workers(self, value: Optional[int]): + pulumi.set(self, "max_workers", value) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") - @username.setter - def username(self, value: str): - pulumi.set(self, "username", value) + @min_workers.setter + def min_workers(self, value: Optional[int]): + pulumi.set(self, "min_workers", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgsDict(TypedDict): availability: NotRequired[str] - boot_disk_size: NotRequired[int] - google_service_account: NotRequired[str] - local_ssd_count: NotRequired[int] - use_preemptible_executors: NotRequired[bool] + ebs_volume_count: NotRequired[int] + ebs_volume_size: NotRequired[int] + ebs_volume_type: NotRequired[str] + first_on_demand: NotRequired[int] + instance_profile_arn: NotRequired[str] + spot_bid_price_percent: NotRequired[int] zone_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesArgs: +class GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs: def __init__(__self__, *, availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None): if availability is not None: pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) if zone_id is not None: pulumi.set(__self__, "zone_id", zone_id) @@ -48215,40 +51990,58 @@ def availability(self, value: Optional[str]): pulumi.set(self, "availability", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[int]): - pulumi.set(self, "boot_disk_size", value) + @ebs_volume_count.setter + def ebs_volume_count(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_count", value) @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") - @google_service_account.setter - def google_service_account(self, value: Optional[str]): - pulumi.set(self, "google_service_account", value) + @ebs_volume_size.setter + def ebs_volume_size(self, value: Optional[int]): + pulumi.set(self, "ebs_volume_size", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[int]): - pulumi.set(self, "local_ssd_count", value) + @ebs_volume_type.setter + def ebs_volume_type(self, value: Optional[str]): + pulumi.set(self, "ebs_volume_type", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[bool]): - pulumi.set(self, "use_preemptible_executors", value) + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + + @instance_profile_arn.setter + def instance_profile_arn(self, value: Optional[str]): + pulumi.set(self, "instance_profile_arn", value) + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + @spot_bid_price_percent.setter + def spot_bid_price_percent(self, value: Optional[int]): + pulumi.set(self, "spot_bid_price_percent", value) @property @pulumi.getter(name="zoneId") @@ -48261,180 +52054,98 @@ def zone_id(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict'] - dbfs: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict'] - file: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgsDict'] - gcs: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict'] - volumes: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict'] - workspace: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict'] + class GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgsDict(TypedDict): + availability: NotRequired[str] + first_on_demand: NotRequired[int] + spot_bid_max_price: NotRequired[float] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptArgs: +class GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs: def __init__(__self__, *, - abfss: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs'] = None, - dbfs: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs'] = None, - file: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs'] = None, - gcs: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args'] = None, - volumes: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs'] = None, - workspace: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) - - @property - @pulumi.getter - def abfss(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']: - return pulumi.get(self, "abfss") - - @abfss.setter - def abfss(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs']): - pulumi.set(self, "abfss", value) - - @property - @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']: - return pulumi.get(self, "dbfs") - - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs']): - pulumi.set(self, "dbfs", value) - - @property - @pulumi.getter - def file(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs']: - return pulumi.get(self, "file") - - @file.setter - def file(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs']): - pulumi.set(self, "file", value) - - @property - @pulumi.getter - def gcs(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs']: - return pulumi.get(self, "gcs") - - @gcs.setter - def gcs(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs']): - pulumi.set(self, "gcs", value) - - @property - @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args']: - return pulumi.get(self, "s3") - - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args']): - pulumi.set(self, "s3", value) + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property @pulumi.getter - def volumes(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']: - return pulumi.get(self, "volumes") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @volumes.setter - def volumes(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs']): - pulumi.set(self, "volumes", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter - def workspace(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']: - return pulumi.get(self, "workspace") - - @workspace.setter - def workspace(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs']): - pulumi.set(self, "workspace", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @first_on_demand.setter + def first_on_demand(self, value: Optional[int]): + pulumi.set(self, "first_on_demand", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @spot_bid_max_price.setter + def spot_bid_max_price(self, value: Optional[float]): + pulumi.set(self, "spot_bid_max_price", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgsDict(TypedDict): + dbfs: NotRequired['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3ArgsDict'] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsArgs: +class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + dbfs: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs']: + return pulumi.get(self, "dbfs") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs']): + pulumi.set(self, "dbfs", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def s3(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args']: + return pulumi.get(self, "s3") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args']): + pulumi.set(self, "s3", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): destination: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsArgs: +class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs: def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -48450,7 +52161,7 @@ def destination(self, value: str): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict(TypedDict): + class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): destination: str canned_acl: NotRequired[str] enable_encryption: NotRequired[bool] @@ -48459,10 +52170,10 @@ class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict kms_key: NotRequired[str] region: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Args: +class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args: def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -48550,761 +52261,676 @@ def region(self, value: Optional[str]): if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgsDict(TypedDict): + local_mount_dir_path: str + network_filesystem_info: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' + remote_mount_dir_path: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesArgs: +class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + local_mount_dir_path: str, + network_filesystem_info: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") + @local_mount_dir_path.setter + def local_mount_dir_path(self, value: str): + pulumi.set(self, "local_mount_dir_path", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs': + return pulumi.get(self, "network_filesystem_info") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @network_filesystem_info.setter + def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): + pulumi.set(self, "network_filesystem_info", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @remote_mount_dir_path.setter + def remote_mount_dir_path(self, value: Optional[str]): + pulumi.set(self, "remote_mount_dir_path", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict(TypedDict): - clients: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict' + class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): + server_address: str + mount_options: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeArgs: +class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: def __init__(__self__, *, - clients: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs'): - pulumi.set(__self__, "clients", clients) + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter - def clients(self) -> 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs': - return pulumi.get(self, "clients") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") - @clients.setter - def clients(self, value: 'GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs'): - pulumi.set(self, "clients", value) + @server_address.setter + def server_address(self, value: str): + pulumi.set(self, "server_address", value) + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") + + @mount_options.setter + def mount_options(self, value: Optional[str]): + pulumi.set(self, "mount_options", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[bool] - notebooks: NotRequired[bool] + class GetJobJobSettingsSettingsTaskNewClusterDockerImageArgsDict(TypedDict): + url: str + basic_auth: NotRequired['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgsDict'] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs: +class GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs: def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + url: str, + basic_auth: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + def url(self) -> str: + return pulumi.get(self, "url") - @jobs.setter - def jobs(self, value: Optional[bool]): - pulumi.set(self, "jobs", value) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs']: + return pulumi.get(self, "basic_auth") - @notebooks.setter - def notebooks(self, value: Optional[bool]): - pulumi.set(self, "notebooks", value) + @basic_auth.setter + def basic_auth(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs']): + pulumi.set(self, "basic_auth", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgsDict(TypedDict): - notebook_path: str - base_parameters: NotRequired[Mapping[str, str]] - source: NotRequired[str] - warehouse_id: NotRequired[str] + class GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): + password: str + username: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskArgs: +class GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs: def __init__(__self__, *, - notebook_path: str, - base_parameters: Optional[Mapping[str, str]] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) - - @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> str: - return pulumi.get(self, "notebook_path") - - @notebook_path.setter - def notebook_path(self, value: str): - pulumi.set(self, "notebook_path", value) - - @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "base_parameters") - - @base_parameters.setter - def base_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "base_parameters", value) + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + def password(self) -> str: + return pulumi.get(self, "password") - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") - @warehouse_id.setter - def warehouse_id(self, value: Optional[str]): - pulumi.set(self, "warehouse_id", value) + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgsDict(TypedDict): - alert_on_last_attempt: NotRequired[bool] - no_alert_for_canceled_runs: NotRequired[bool] - no_alert_for_skipped_runs: NotRequired[bool] + class GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgsDict(TypedDict): + availability: NotRequired[str] + boot_disk_size: NotRequired[int] + google_service_account: NotRequired[str] + local_ssd_count: NotRequired[int] + use_preemptible_executors: NotRequired[bool] + zone_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsArgs: +class GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs: def __init__(__self__, *, - alert_on_last_attempt: Optional[bool] = None, - no_alert_for_canceled_runs: Optional[bool] = None, - no_alert_for_skipped_runs: Optional[bool] = None): - if alert_on_last_attempt is not None: - pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="alertOnLastAttempt") - def alert_on_last_attempt(self) -> Optional[bool]: - return pulumi.get(self, "alert_on_last_attempt") + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") - @alert_on_last_attempt.setter - def alert_on_last_attempt(self, value: Optional[bool]): - pulumi.set(self, "alert_on_last_attempt", value) + @availability.setter + def availability(self, value: Optional[str]): + pulumi.set(self, "availability", value) @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_canceled_runs") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") - @no_alert_for_canceled_runs.setter - def no_alert_for_canceled_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_canceled_runs", value) + @boot_disk_size.setter + def boot_disk_size(self, value: Optional[int]): + pulumi.set(self, "boot_disk_size", value) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") - - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") + @google_service_account.setter + def google_service_account(self, value: Optional[str]): + pulumi.set(self, "google_service_account", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgsDict(TypedDict): - pipeline_id: str - full_refresh: NotRequired[bool] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskArgs: - def __init__(__self__, *, - pipeline_id: str, - full_refresh: Optional[bool] = None): - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + @local_ssd_count.setter + def local_ssd_count(self, value: Optional[int]): + pulumi.set(self, "local_ssd_count", value) @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> str: - return pulumi.get(self, "pipeline_id") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") - @pipeline_id.setter - def pipeline_id(self, value: str): - pulumi.set(self, "pipeline_id", value) + @use_preemptible_executors.setter + def use_preemptible_executors(self, value: Optional[bool]): + pulumi.set(self, "use_preemptible_executors", value) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[bool]: - return pulumi.get(self, "full_refresh") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") - @full_refresh.setter - def full_refresh(self, value: Optional[bool]): - pulumi.set(self, "full_refresh", value) + @zone_id.setter + def zone_id(self, value: Optional[str]): + pulumi.set(self, "zone_id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgsDict(TypedDict): - entry_point: NotRequired[str] - named_parameters: NotRequired[Mapping[str, str]] - package_name: NotRequired[str] - parameters: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptArgsDict(TypedDict): + abfss: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgsDict'] + dbfs: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgsDict'] + file: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgsDict'] + gcs: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgsDict'] + s3: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3ArgsDict'] + volumes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgsDict'] + workspace: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgsDict'] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs: def __init__(__self__, *, - entry_point: Optional[str] = None, - named_parameters: Optional[Mapping[str, str]] = None, - package_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + abfss: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs'] = None, + dbfs: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs'] = None, + file: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs'] = None, + gcs: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs'] = None, + s3: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args'] = None, + volumes: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs'] = None, + workspace: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[str]: - return pulumi.get(self, "entry_point") + @pulumi.getter + def abfss(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs']: + return pulumi.get(self, "abfss") - @entry_point.setter - def entry_point(self, value: Optional[str]): - pulumi.set(self, "entry_point", value) + @abfss.setter + def abfss(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs']): + pulumi.set(self, "abfss", value) @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "named_parameters") + @pulumi.getter + def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs']: + return pulumi.get(self, "dbfs") - @named_parameters.setter - def named_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "named_parameters", value) + @dbfs.setter + def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs']): + pulumi.set(self, "dbfs", value) @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[str]: - return pulumi.get(self, "package_name") + @pulumi.getter + def file(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs']: + return pulumi.get(self, "file") - @package_name.setter - def package_name(self, value: Optional[str]): - pulumi.set(self, "package_name", value) + @file.setter + def file(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs']): + pulumi.set(self, "file", value) @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) - + def gcs(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs']: + return pulumi.get(self, "gcs") -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgsDict(TypedDict): - job_id: int - job_parameters: NotRequired[Mapping[str, str]] -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + @gcs.setter + def gcs(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs']): + pulumi.set(self, "gcs", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskArgs: - def __init__(__self__, *, - job_id: int, - job_parameters: Optional[Mapping[str, str]] = None): - pulumi.set(__self__, "job_id", job_id) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) + @property + @pulumi.getter + def s3(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args']: + return pulumi.get(self, "s3") + + @s3.setter + def s3(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args']): + pulumi.set(self, "s3", value) @property - @pulumi.getter(name="jobId") - def job_id(self) -> int: - return pulumi.get(self, "job_id") + @pulumi.getter + def volumes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs']: + return pulumi.get(self, "volumes") - @job_id.setter - def job_id(self, value: int): - pulumi.set(self, "job_id", value) + @volumes.setter + def volumes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs']): + pulumi.set(self, "volumes", value) @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "job_parameters") + @pulumi.getter + def workspace(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs']: + return pulumi.get(self, "workspace") - @job_parameters.setter - def job_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "job_parameters", value) + @workspace.setter + def workspace(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs']): + pulumi.set(self, "workspace", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgsDict(TypedDict): - jar_uri: NotRequired[str] - main_class_name: NotRequired[str] - parameters: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs: def __init__(__self__, *, - jar_uri: Optional[str] = None, - main_class_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - - @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[str]: - return pulumi.get(self, "jar_uri") - - @jar_uri.setter - def jar_uri(self, value: Optional[str]): - pulumi.set(self, "jar_uri", value) - - @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[str]: - return pulumi.get(self, "main_class_name") - - @main_class_name.setter - def main_class_name(self, value: Optional[str]): - pulumi.set(self, "main_class_name", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + def destination(self) -> str: + return pulumi.get(self, "destination") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgsDict(TypedDict): - python_file: str - parameters: NotRequired[Sequence[str]] - source: NotRequired[str] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs: def __init__(__self__, *, - python_file: str, - parameters: Optional[Sequence[str]] = None, - source: Optional[str] = None): - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> str: - return pulumi.get(self, "python_file") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @python_file.setter - def python_file(self, value: str): - pulumi.set(self, "python_file", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) - @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgsDict(TypedDict): + destination: str +elif False: + GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs: + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + def destination(self) -> str: + return pulumi.get(self, "destination") - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgsDict(TypedDict): - parameters: NotRequired[Sequence[str]] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs: def __init__(__self__, *, - parameters: Optional[Sequence[str]] = None): - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + def destination(self) -> str: + return pulumi.get(self, "destination") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgsDict(TypedDict): - warehouse_id: str - alert: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgsDict'] - dashboard: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgsDict'] - file: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgsDict'] - parameters: NotRequired[Mapping[str, str]] - query: NotRequired['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgsDict'] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptS3ArgsDict(TypedDict): + destination: str + canned_acl: NotRequired[str] + enable_encryption: NotRequired[bool] + encryption_type: NotRequired[str] + endpoint: NotRequired[str] + kms_key: NotRequired[str] + region: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args: def __init__(__self__, *, - warehouse_id: str, - alert: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs'] = None, - dashboard: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs'] = None, - file: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs'] = None, - parameters: Optional[Mapping[str, str]] = None, - query: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs'] = None): - pulumi.set(__self__, "warehouse_id", warehouse_id) - if alert is not None: - pulumi.set(__self__, "alert", alert) - if dashboard is not None: - pulumi.set(__self__, "dashboard", dashboard) - if file is not None: - pulumi.set(__self__, "file", file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if query is not None: - pulumi.set(__self__, "query", query) + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> str: - return pulumi.get(self, "warehouse_id") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @warehouse_id.setter - def warehouse_id(self, value: str): - pulumi.set(self, "warehouse_id", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) @property - @pulumi.getter - def alert(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs']: - return pulumi.get(self, "alert") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") - @alert.setter - def alert(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs']): - pulumi.set(self, "alert", value) + @canned_acl.setter + def canned_acl(self, value: Optional[str]): + pulumi.set(self, "canned_acl", value) @property - @pulumi.getter - def dashboard(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs']: - return pulumi.get(self, "dashboard") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") - @dashboard.setter - def dashboard(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs']): - pulumi.set(self, "dashboard", value) + @enable_encryption.setter + def enable_encryption(self, value: Optional[bool]): + pulumi.set(self, "enable_encryption", value) @property - @pulumi.getter - def file(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs']: - return pulumi.get(self, "file") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") - @file.setter - def file(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs']): - pulumi.set(self, "file", value) + @encryption_type.setter + def encryption_type(self, value: Optional[str]): + pulumi.set(self, "encryption_type", value) @property @pulumi.getter - def parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "parameters") + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") - @parameters.setter - def parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "parameters", value) + @endpoint.setter + def endpoint(self, value: Optional[str]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") + + @kms_key.setter + def kms_key(self, value: Optional[str]): + pulumi.set(self, "kms_key", value) @property @pulumi.getter - def query(self) -> Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs']: - return pulumi.get(self, "query") + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @query.setter - def query(self, value: Optional['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs']): - pulumi.set(self, "query", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgsDict(TypedDict): - alert_id: str - pause_subscriptions: NotRequired[bool] - subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict']] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs: def __init__(__self__, *, - alert_id: str, - pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']] = None): - pulumi.set(__self__, "alert_id", alert_id) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) - - @property - @pulumi.getter(name="alertId") - def alert_id(self) -> str: - return pulumi.get(self, "alert_id") - - @alert_id.setter - def alert_id(self, value: str): - pulumi.set(self, "alert_id", value) - - @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[bool]: - return pulumi.get(self, "pause_subscriptions") - - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[bool]): - pulumi.set(self, "pause_subscriptions", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]: - return pulumi.get(self, "subscriptions") + def destination(self) -> str: + return pulumi.get(self, "destination") - @subscriptions.setter - def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs']]): - pulumi.set(self, "subscriptions", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[str] - user_name: NotRequired[str] + class GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): + destination: str elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs: +class GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs: def __init__(__self__, *, - destination_id: Optional[str] = None, - user_name: Optional[str] = None): - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) - - @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[str]: - return pulumi.get(self, "destination_id") - - @destination_id.setter - def destination_id(self, value: Optional[str]): - pulumi.set(self, "destination_id", value) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @user_name.setter - def user_name(self, value: Optional[str]): - pulumi.set(self, "user_name", value) + @destination.setter + def destination(self, value: str): + pulumi.set(self, "destination", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgsDict(TypedDict): - dashboard_id: str - custom_subject: NotRequired[str] - pause_subscriptions: NotRequired[bool] - subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict']] + class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgsDict(TypedDict): + clients: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgsDict' elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardArgs: +class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs: def __init__(__self__, *, - dashboard_id: str, - custom_subject: Optional[str] = None, - pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']] = None): - pulumi.set(__self__, "dashboard_id", dashboard_id) - if custom_subject is not None: - pulumi.set(__self__, "custom_subject", custom_subject) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) - - @property - @pulumi.getter(name="dashboardId") - def dashboard_id(self) -> str: - return pulumi.get(self, "dashboard_id") - - @dashboard_id.setter - def dashboard_id(self, value: str): - pulumi.set(self, "dashboard_id", value) - - @property - @pulumi.getter(name="customSubject") - def custom_subject(self) -> Optional[str]: - return pulumi.get(self, "custom_subject") - - @custom_subject.setter - def custom_subject(self, value: Optional[str]): - pulumi.set(self, "custom_subject", value) - - @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[bool]: - return pulumi.get(self, "pause_subscriptions") - - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[bool]): - pulumi.set(self, "pause_subscriptions", value) + clients: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs'): + pulumi.set(__self__, "clients", clients) @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]: - return pulumi.get(self, "subscriptions") + def clients(self) -> 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs': + return pulumi.get(self, "clients") - @subscriptions.setter - def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs']]): - pulumi.set(self, "subscriptions", value) + @clients.setter + def clients(self, value: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs'): + pulumi.set(self, "clients", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[str] - user_name: NotRequired[str] + class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): + jobs: NotRequired[bool] + notebooks: NotRequired[bool] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs: +class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs: def __init__(__self__, *, - destination_id: Optional[str] = None, - user_name: Optional[str] = None): - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[str]: - return pulumi.get(self, "destination_id") + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") - @destination_id.setter - def destination_id(self, value: Optional[str]): - pulumi.set(self, "destination_id", value) + @jobs.setter + def jobs(self, value: Optional[bool]): + pulumi.set(self, "jobs", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") - @user_name.setter - def user_name(self, value: Optional[str]): - pulumi.set(self, "user_name", value) + @notebooks.setter + def notebooks(self, value: Optional[bool]): + pulumi.set(self, "notebooks", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgsDict(TypedDict): - path: str + class GetJobJobSettingsSettingsTaskNotebookTaskArgsDict(TypedDict): + notebook_path: str + base_parameters: NotRequired[Mapping[str, str]] source: NotRequired[str] + warehouse_id: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileArgs: +class GetJobJobSettingsSettingsTaskNotebookTaskArgs: def __init__(__self__, *, - path: str, - source: Optional[str] = None): - pulumi.set(__self__, "path", path) + notebook_path: str, + base_parameters: Optional[Mapping[str, str]] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) if source is not None: pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) + + @property + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> str: + return pulumi.get(self, "notebook_path") + + @notebook_path.setter + def notebook_path(self, value: str): + pulumi.set(self, "notebook_path", value) @property - @pulumi.getter - def path(self) -> str: - return pulumi.get(self, "path") + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "base_parameters") - @path.setter - def path(self, value: str): - pulumi.set(self, "path", value) + @base_parameters.setter + def base_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "base_parameters", value) @property @pulumi.getter @@ -49315,3609 +52941,4267 @@ def source(self) -> Optional[str]: def source(self, value: Optional[str]): pulumi.set(self, "source", value) - -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgsDict(TypedDict): - query_id: str -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryArgs: - def __init__(__self__, *, - query_id: str): - pulumi.set(__self__, "query_id", query_id) - @property - @pulumi.getter(name="queryId") - def query_id(self) -> str: - return pulumi.get(self, "query_id") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") - @query_id.setter - def query_id(self, value: str): - pulumi.set(self, "query_id", value) + @warehouse_id.setter + def warehouse_id(self, value: Optional[str]): + pulumi.set(self, "warehouse_id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgsDict(TypedDict): - on_duration_warning_threshold_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']] - on_failures: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict']] - on_starts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict']] - on_streaming_backlog_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']] - on_successes: NotRequired[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict']] + class GetJobJobSettingsSettingsTaskNotificationSettingsArgsDict(TypedDict): + alert_on_last_attempt: NotRequired[bool] + no_alert_for_canceled_runs: NotRequired[bool] + no_alert_for_skipped_runs: NotRequired[bool] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsArgs: +class GetJobJobSettingsSettingsTaskNotificationSettingsArgs: def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']] = None, - on_failures: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']] = None, - on_starts: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs']] = None, - on_streaming_backlog_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']] = None, - on_successes: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']] = None): - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) - - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) - - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]: - return pulumi.get(self, "on_failures") - - @on_failures.setter - def on_failures(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs']]): - pulumi.set(self, "on_failures", value) + alert_on_last_attempt: Optional[bool] = None, + no_alert_for_canceled_runs: Optional[bool] = None, + no_alert_for_skipped_runs: Optional[bool] = None): + if alert_on_last_attempt is not None: + pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]: - return pulumi.get(self, "on_starts") + @pulumi.getter(name="alertOnLastAttempt") + def alert_on_last_attempt(self) -> Optional[bool]: + return pulumi.get(self, "alert_on_last_attempt") - @on_starts.setter - def on_starts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs']]): - pulumi.set(self, "on_starts", value) + @alert_on_last_attempt.setter + def alert_on_last_attempt(self, value: Optional[bool]): + pulumi.set(self, "alert_on_last_attempt", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_canceled_runs") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @no_alert_for_canceled_runs.setter + def no_alert_for_canceled_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_canceled_runs", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]: - return pulumi.get(self, "on_successes") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") - @on_successes.setter - def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs']]): - pulumi.set(self, "on_successes", value) + @no_alert_for_skipped_runs.setter + def no_alert_for_skipped_runs(self, value: Optional[bool]): + pulumi.set(self, "no_alert_for_skipped_runs", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ + class GetJobJobSettingsSettingsTaskPipelineTaskArgsDict(TypedDict): + pipeline_id: str + full_refresh: NotRequired[bool] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: +class GetJobJobSettingsSettingsTaskPipelineTaskArgs: def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + pipeline_id: str, + full_refresh: Optional[bool] = None): + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> str: + return pulumi.get(self, "pipeline_id") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @pipeline_id.setter + def pipeline_id(self, value: str): + pulumi.set(self, "pipeline_id", value) + + @property + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[bool]: + return pulumi.get(self, "full_refresh") + + @full_refresh.setter + def full_refresh(self, value: Optional[bool]): + pulumi.set(self, "full_refresh", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ + class GetJobJobSettingsSettingsTaskPythonWheelTaskArgsDict(TypedDict): + entry_point: NotRequired[str] + named_parameters: NotRequired[Mapping[str, str]] + package_name: NotRequired[str] + parameters: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureArgs: +class GetJobJobSettingsSettingsTaskPythonWheelTaskArgs: def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + entry_point: Optional[str] = None, + named_parameters: Optional[Mapping[str, str]] = None, + package_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[str]: + return pulumi.get(self, "entry_point") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @entry_point.setter + def entry_point(self, value: Optional[str]): + pulumi.set(self, "entry_point", value) + @property + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "named_parameters") -if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ -elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + @named_parameters.setter + def named_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "named_parameters", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartArgs: - def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + return pulumi.get(self, "package_name") + + @package_name.setter + def package_name(self, value: Optional[str]): + pulumi.set(self, "package_name", value) @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ + class GetJobJobSettingsSettingsTaskRunJobTaskArgsDict(TypedDict): + job_id: int + job_parameters: NotRequired[Mapping[str, str]] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs: +class GetJobJobSettingsSettingsTaskRunJobTaskArgs: def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + job_id: int, + job_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "job_id", job_id) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) @property - @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="jobId") + def job_id(self) -> int: + return pulumi.get(self, "job_id") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @job_id.setter + def job_id(self, value: int): + pulumi.set(self, "job_id", value) + + @property + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "job_parameters") + + @job_parameters.setter + def job_parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "job_parameters", value) if not MYPY: - class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ + class GetJobJobSettingsSettingsTaskSparkJarTaskArgsDict(TypedDict): + jar_uri: NotRequired[str] + main_class_name: NotRequired[str] + parameters: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs: +class GetJobJobSettingsSettingsTaskSparkJarTaskArgs: def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + jar_uri: Optional[str] = None, + main_class_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[str]: + return pulumi.get(self, "jar_uri") + @jar_uri.setter + def jar_uri(self, value: Optional[str]): + pulumi.set(self, "jar_uri", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskHealthArgsDict(TypedDict): - rules: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskHealthArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[str]: + return pulumi.get(self, "main_class_name") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskHealthArgs: - def __init__(__self__, *, - rules: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs']): - pulumi.set(__self__, "rules", rules) + @main_class_name.setter + def main_class_name(self, value: Optional[str]): + pulumi.set(self, "main_class_name", value) @property @pulumi.getter - def rules(self) -> Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs']: - return pulumi.get(self, "rules") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @rules.setter - def rules(self, value: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs']): - pulumi.set(self, "rules", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) if not MYPY: - class GetJobJobSettingsSettingsTaskHealthRuleArgsDict(TypedDict): - metric: str - op: str - value: int + class GetJobJobSettingsSettingsTaskSparkPythonTaskArgsDict(TypedDict): + python_file: str + parameters: NotRequired[Sequence[str]] + source: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskHealthRuleArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskHealthRuleArgs: +class GetJobJobSettingsSettingsTaskSparkPythonTaskArgs: def __init__(__self__, *, - metric: str, - op: str, - value: int): - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) + python_file: str, + parameters: Optional[Sequence[str]] = None, + source: Optional[str] = None): + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter - def metric(self) -> str: - return pulumi.get(self, "metric") + @pulumi.getter(name="pythonFile") + def python_file(self) -> str: + return pulumi.get(self, "python_file") - @metric.setter - def metric(self, value: str): - pulumi.set(self, "metric", value) + @python_file.setter + def python_file(self, value: str): + pulumi.set(self, "python_file", value) @property @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @op.setter - def op(self, value: str): - pulumi.set(self, "op", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) @property @pulumi.getter - def value(self) -> int: - return pulumi.get(self, "value") + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @value.setter - def value(self, value: int): - pulumi.set(self, "value", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) if not MYPY: - class GetJobJobSettingsSettingsTaskLibraryArgsDict(TypedDict): - cran: NotRequired['GetJobJobSettingsSettingsTaskLibraryCranArgsDict'] - egg: NotRequired[str] - jar: NotRequired[str] - maven: NotRequired['GetJobJobSettingsSettingsTaskLibraryMavenArgsDict'] - pypi: NotRequired['GetJobJobSettingsSettingsTaskLibraryPypiArgsDict'] - requirements: NotRequired[str] - whl: NotRequired[str] + class GetJobJobSettingsSettingsTaskSparkSubmitTaskArgsDict(TypedDict): + parameters: NotRequired[Sequence[str]] elif False: - GetJobJobSettingsSettingsTaskLibraryArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskLibraryArgs: +class GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs: def __init__(__self__, *, - cran: Optional['GetJobJobSettingsSettingsTaskLibraryCranArgs'] = None, - egg: Optional[str] = None, - jar: Optional[str] = None, - maven: Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs'] = None, - pypi: Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs'] = None, - requirements: Optional[str] = None, - whl: Optional[str] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) + parameters: Optional[Sequence[str]] = None): + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property @pulumi.getter - def cran(self) -> Optional['GetJobJobSettingsSettingsTaskLibraryCranArgs']: - return pulumi.get(self, "cran") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @cran.setter - def cran(self, value: Optional['GetJobJobSettingsSettingsTaskLibraryCranArgs']): - pulumi.set(self, "cran", value) + @parameters.setter + def parameters(self, value: Optional[Sequence[str]]): + pulumi.set(self, "parameters", value) + + +if not MYPY: + class GetJobJobSettingsSettingsTaskSqlTaskArgsDict(TypedDict): + warehouse_id: str + alert: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskAlertArgsDict'] + dashboard: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgsDict'] + file: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskFileArgsDict'] + parameters: NotRequired[Mapping[str, str]] + query: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskQueryArgsDict'] +elif False: + GetJobJobSettingsSettingsTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskSqlTaskArgs: + def __init__(__self__, *, + warehouse_id: str, + alert: Optional['GetJobJobSettingsSettingsTaskSqlTaskAlertArgs'] = None, + dashboard: Optional['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs'] = None, + file: Optional['GetJobJobSettingsSettingsTaskSqlTaskFileArgs'] = None, + parameters: Optional[Mapping[str, str]] = None, + query: Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs'] = None): + pulumi.set(__self__, "warehouse_id", warehouse_id) + if alert is not None: + pulumi.set(__self__, "alert", alert) + if dashboard is not None: + pulumi.set(__self__, "dashboard", dashboard) + if file is not None: + pulumi.set(__self__, "file", file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if query is not None: + pulumi.set(__self__, "query", query) @property - @pulumi.getter - def egg(self) -> Optional[str]: - return pulumi.get(self, "egg") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> str: + return pulumi.get(self, "warehouse_id") - @egg.setter - def egg(self, value: Optional[str]): - pulumi.set(self, "egg", value) + @warehouse_id.setter + def warehouse_id(self, value: str): + pulumi.set(self, "warehouse_id", value) @property @pulumi.getter - def jar(self) -> Optional[str]: - return pulumi.get(self, "jar") + def alert(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskAlertArgs']: + return pulumi.get(self, "alert") - @jar.setter - def jar(self, value: Optional[str]): - pulumi.set(self, "jar", value) + @alert.setter + def alert(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskAlertArgs']): + pulumi.set(self, "alert", value) @property @pulumi.getter - def maven(self) -> Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs']: - return pulumi.get(self, "maven") + def dashboard(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs']: + return pulumi.get(self, "dashboard") - @maven.setter - def maven(self, value: Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs']): - pulumi.set(self, "maven", value) + @dashboard.setter + def dashboard(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs']): + pulumi.set(self, "dashboard", value) @property @pulumi.getter - def pypi(self) -> Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs']: - return pulumi.get(self, "pypi") + def file(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskFileArgs']: + return pulumi.get(self, "file") - @pypi.setter - def pypi(self, value: Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs']): - pulumi.set(self, "pypi", value) + @file.setter + def file(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskFileArgs']): + pulumi.set(self, "file", value) @property @pulumi.getter - def requirements(self) -> Optional[str]: - return pulumi.get(self, "requirements") + def parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "parameters") - @requirements.setter - def requirements(self, value: Optional[str]): - pulumi.set(self, "requirements", value) + @parameters.setter + def parameters(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "parameters", value) @property @pulumi.getter - def whl(self) -> Optional[str]: - return pulumi.get(self, "whl") + def query(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs']: + return pulumi.get(self, "query") - @whl.setter - def whl(self, value: Optional[str]): - pulumi.set(self, "whl", value) + @query.setter + def query(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs']): + pulumi.set(self, "query", value) if not MYPY: - class GetJobJobSettingsSettingsTaskLibraryCranArgsDict(TypedDict): - package: str - repo: NotRequired[str] + class GetJobJobSettingsSettingsTaskSqlTaskAlertArgsDict(TypedDict): + alert_id: str + pause_subscriptions: NotRequired[bool] + subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgsDict']] elif False: - GetJobJobSettingsSettingsTaskLibraryCranArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskLibraryCranArgs: +class GetJobJobSettingsSettingsTaskSqlTaskAlertArgs: def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + alert_id: str, + pause_subscriptions: Optional[bool] = None, + subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs']] = None): + pulumi.set(__self__, "alert_id", alert_id) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + @pulumi.getter(name="alertId") + def alert_id(self) -> str: + return pulumi.get(self, "alert_id") - @package.setter - def package(self, value: str): - pulumi.set(self, "package", value) + @alert_id.setter + def alert_id(self, value: str): + pulumi.set(self, "alert_id", value) + + @property + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[bool]: + return pulumi.get(self, "pause_subscriptions") + + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[bool]): + pulumi.set(self, "pause_subscriptions", value) @property @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs']]: + return pulumi.get(self, "subscriptions") - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @subscriptions.setter + def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs']]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class GetJobJobSettingsSettingsTaskLibraryMavenArgsDict(TypedDict): - coordinates: str - exclusions: NotRequired[Sequence[str]] - repo: NotRequired[str] + class GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[str] + user_name: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskLibraryMavenArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskLibraryMavenArgs: +class GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs: def __init__(__self__, *, - coordinates: str, - exclusions: Optional[Sequence[str]] = None, - repo: Optional[str] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def coordinates(self) -> str: - return pulumi.get(self, "coordinates") - - @coordinates.setter - def coordinates(self, value: str): - pulumi.set(self, "coordinates", value) + destination_id: Optional[str] = None, + user_name: Optional[str] = None): + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def exclusions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "exclusions") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[str]: + return pulumi.get(self, "destination_id") - @exclusions.setter - def exclusions(self, value: Optional[Sequence[str]]): - pulumi.set(self, "exclusions", value) + @destination_id.setter + def destination_id(self, value: Optional[str]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @user_name.setter + def user_name(self, value: Optional[str]): + pulumi.set(self, "user_name", value) if not MYPY: - class GetJobJobSettingsSettingsTaskLibraryPypiArgsDict(TypedDict): - package: str - repo: NotRequired[str] + class GetJobJobSettingsSettingsTaskSqlTaskDashboardArgsDict(TypedDict): + dashboard_id: str + custom_subject: NotRequired[str] + pause_subscriptions: NotRequired[bool] + subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgsDict']] elif False: - GetJobJobSettingsSettingsTaskLibraryPypiArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskLibraryPypiArgs: +class GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs: def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + dashboard_id: str, + custom_subject: Optional[str] = None, + pause_subscriptions: Optional[bool] = None, + subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']] = None): + pulumi.set(__self__, "dashboard_id", dashboard_id) + if custom_subject is not None: + pulumi.set(__self__, "custom_subject", custom_subject) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> str: + return pulumi.get(self, "dashboard_id") - @package.setter - def package(self, value: str): - pulumi.set(self, "package", value) + @dashboard_id.setter + def dashboard_id(self, value: str): + pulumi.set(self, "dashboard_id", value) + + @property + @pulumi.getter(name="customSubject") + def custom_subject(self) -> Optional[str]: + return pulumi.get(self, "custom_subject") + + @custom_subject.setter + def custom_subject(self, value: Optional[str]): + pulumi.set(self, "custom_subject", value) + + @property + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[bool]: + return pulumi.get(self, "pause_subscriptions") + + @pause_subscriptions.setter + def pause_subscriptions(self, value: Optional[bool]): + pulumi.set(self, "pause_subscriptions", value) @property @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") + def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']]: + return pulumi.get(self, "subscriptions") - @repo.setter - def repo(self, value: Optional[str]): - pulumi.set(self, "repo", value) + @subscriptions.setter + def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']]): + pulumi.set(self, "subscriptions", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterArgsDict(TypedDict): - driver_instance_pool_id: str - driver_node_type_id: str - enable_elastic_disk: bool - enable_local_disk_encryption: bool - node_type_id: str - num_workers: int - spark_version: str - apply_policy_default_values: NotRequired[bool] - autoscale: NotRequired['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgsDict'] - autotermination_minutes: NotRequired[int] - aws_attributes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgsDict'] - azure_attributes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgsDict'] - cluster_id: NotRequired[str] - cluster_log_conf: NotRequired['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgsDict'] - cluster_mount_infos: NotRequired[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgsDict']] - cluster_name: NotRequired[str] - custom_tags: NotRequired[Mapping[str, str]] - data_security_mode: NotRequired[str] - docker_image: NotRequired['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgsDict'] - gcp_attributes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgsDict'] - idempotency_token: NotRequired[str] - init_scripts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgsDict']] - instance_pool_id: NotRequired[str] - policy_id: NotRequired[str] - runtime_engine: NotRequired[str] - single_user_name: NotRequired[str] - spark_conf: NotRequired[Mapping[str, str]] - spark_env_vars: NotRequired[Mapping[str, str]] - ssh_public_keys: NotRequired[Sequence[str]] - workload_type: NotRequired['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgsDict'] + class GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): + destination_id: NotRequired[str] + user_name: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskNewClusterArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterArgs: +class GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs: def __init__(__self__, *, - driver_instance_pool_id: str, - driver_node_type_id: str, - enable_elastic_disk: bool, - enable_local_disk_encryption: bool, - node_type_id: str, - num_workers: int, - spark_version: str, - apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs'] = None, - autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs'] = None, - azure_attributes: Optional['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs'] = None, - cluster_id: Optional[str] = None, - cluster_log_conf: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs'] = None, - cluster_mount_infos: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs']] = None, - cluster_name: Optional[str] = None, - custom_tags: Optional[Mapping[str, str]] = None, - data_security_mode: Optional[str] = None, - docker_image: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs'] = None, - gcp_attributes: Optional['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs'] = None, - idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs']] = None, - instance_pool_id: Optional[str] = None, - policy_id: Optional[str] = None, - runtime_engine: Optional[str] = None, - single_user_name: Optional[str] = None, - spark_conf: Optional[Mapping[str, str]] = None, - spark_env_vars: Optional[Mapping[str, str]] = None, - ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs'] = None): - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - pulumi.set(__self__, "node_type_id", node_type_id) - pulumi.set(__self__, "num_workers", num_workers) - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if autotermination_minutes is not None: - pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + destination_id: Optional[str] = None, + user_name: Optional[str] = None): + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> str: - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[str]: + return pulumi.get(self, "destination_id") - @driver_instance_pool_id.setter - def driver_instance_pool_id(self, value: str): - pulumi.set(self, "driver_instance_pool_id", value) + @destination_id.setter + def destination_id(self, value: Optional[str]): + pulumi.set(self, "destination_id", value) @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> str: - return pulumi.get(self, "driver_node_type_id") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") - @driver_node_type_id.setter - def driver_node_type_id(self, value: str): - pulumi.set(self, "driver_node_type_id", value) + @user_name.setter + def user_name(self, value: Optional[str]): + pulumi.set(self, "user_name", value) - @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> bool: - return pulumi.get(self, "enable_elastic_disk") - @enable_elastic_disk.setter - def enable_elastic_disk(self, value: bool): - pulumi.set(self, "enable_elastic_disk", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskSqlTaskFileArgsDict(TypedDict): + path: str + source: NotRequired[str] +elif False: + GetJobJobSettingsSettingsTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskSqlTaskFileArgs: + def __init__(__self__, *, + path: str, + source: Optional[str] = None): + pulumi.set(__self__, "path", path) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> bool: - return pulumi.get(self, "enable_local_disk_encryption") + @pulumi.getter + def path(self) -> str: + return pulumi.get(self, "path") - @enable_local_disk_encryption.setter - def enable_local_disk_encryption(self, value: bool): - pulumi.set(self, "enable_local_disk_encryption", value) + @path.setter + def path(self, value: str): + pulumi.set(self, "path", value) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> str: - return pulumi.get(self, "node_type_id") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @node_type_id.setter - def node_type_id(self, value: str): - pulumi.set(self, "node_type_id", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) - @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> int: - return pulumi.get(self, "num_workers") - @num_workers.setter - def num_workers(self, value: int): - pulumi.set(self, "num_workers", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskSqlTaskQueryArgsDict(TypedDict): + query_id: str +elif False: + GetJobJobSettingsSettingsTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskSqlTaskQueryArgs: + def __init__(__self__, *, + query_id: str): + pulumi.set(__self__, "query_id", query_id) @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> str: - return pulumi.get(self, "spark_version") + @pulumi.getter(name="queryId") + def query_id(self) -> str: + return pulumi.get(self, "query_id") - @spark_version.setter - def spark_version(self, value: str): - pulumi.set(self, "spark_version", value) + @query_id.setter + def query_id(self, value: str): + pulumi.set(self, "query_id", value) - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[bool]: - return pulumi.get(self, "apply_policy_default_values") - @apply_policy_default_values.setter - def apply_policy_default_values(self, value: Optional[bool]): - pulumi.set(self, "apply_policy_default_values", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskWebhookNotificationsArgsDict(TypedDict): + on_duration_warning_threshold_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']] + on_failures: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgsDict']] + on_starts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgsDict']] + on_streaming_backlog_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']] + on_successes: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgsDict']] +elif False: + GetJobJobSettingsSettingsTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsArgs: + def __init__(__self__, *, + on_duration_warning_threshold_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']] = None, + on_failures: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs']] = None, + on_starts: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs']] = None, + on_streaming_backlog_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs']] = None, + on_successes: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs']] = None): + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def autoscale(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs']: - return pulumi.get(self, "autoscale") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @autoscale.setter - def autoscale(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs']): - pulumi.set(self, "autoscale", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="autoterminationMinutes") - def autotermination_minutes(self) -> Optional[int]: - return pulumi.get(self, "autotermination_minutes") + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs']]: + return pulumi.get(self, "on_failures") - @autotermination_minutes.setter - def autotermination_minutes(self, value: Optional[int]): - pulumi.set(self, "autotermination_minutes", value) + @on_failures.setter + def on_failures(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs']]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs']: - return pulumi.get(self, "aws_attributes") + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs']]: + return pulumi.get(self, "on_starts") - @aws_attributes.setter - def aws_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs']): - pulumi.set(self, "aws_attributes", value) + @on_starts.setter + def on_starts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs']]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs']: - return pulumi.get(self, "azure_attributes") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @azure_attributes.setter - def azure_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs']): - pulumi.set(self, "azure_attributes", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[str]: - return pulumi.get(self, "cluster_id") - - @cluster_id.setter - def cluster_id(self, value: Optional[str]): - pulumi.set(self, "cluster_id", value) + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs']]: + return pulumi.get(self, "on_successes") - @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs']: - return pulumi.get(self, "cluster_log_conf") + @on_successes.setter + def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs']]): + pulumi.set(self, "on_successes", value) - @cluster_log_conf.setter - def cluster_log_conf(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs']): - pulumi.set(self, "cluster_log_conf", value) - @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs']]: - return pulumi.get(self, "cluster_mount_infos") +if not MYPY: + class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] - @cluster_mount_infos.setter - def cluster_mount_infos(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs']]): - pulumi.set(self, "cluster_mount_infos", value) +@pulumi.input_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: - return pulumi.get(self, "cluster_name") - - @cluster_name.setter - def cluster_name(self, value: Optional[str]): - pulumi.set(self, "cluster_name", value) + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @custom_tags.setter - def custom_tags(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "custom_tags", value) - @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: - return pulumi.get(self, "data_security_mode") +if not MYPY: + class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] - @data_security_mode.setter - def data_security_mode(self, value: Optional[str]): - pulumi.set(self, "data_security_mode", value) +@pulumi.input_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs']: - return pulumi.get(self, "docker_image") + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @docker_image.setter - def docker_image(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs']): - pulumi.set(self, "docker_image", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs']: - return pulumi.get(self, "gcp_attributes") - @gcp_attributes.setter - def gcp_attributes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs']): - pulumi.set(self, "gcp_attributes", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: - return pulumi.get(self, "idempotency_token") + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @idempotency_token.setter - def idempotency_token(self, value: Optional[str]): - pulumi.set(self, "idempotency_token", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs']]: - return pulumi.get(self, "init_scripts") - @init_scripts.setter - def init_scripts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs']]): - pulumi.set(self, "init_scripts", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @instance_pool_id.setter - def instance_pool_id(self, value: Optional[str]): - pulumi.set(self, "instance_pool_id", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: - return pulumi.get(self, "policy_id") - @policy_id.setter - def policy_id(self, value: Optional[str]): - pulumi.set(self, "policy_id", value) +if not MYPY: + class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: - return pulumi.get(self, "runtime_engine") + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @runtime_engine.setter - def runtime_engine(self, value: Optional[str]): - pulumi.set(self, "runtime_engine", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: - return pulumi.get(self, "single_user_name") - @single_user_name.setter - def single_user_name(self, value: Optional[str]): - pulumi.set(self, "single_user_name", value) +if not MYPY: + class GetJobJobSettingsSettingsTriggerArgsDict(TypedDict): + file_arrival: NotRequired['GetJobJobSettingsSettingsTriggerFileArrivalArgsDict'] + pause_status: NotRequired[str] + periodic: NotRequired['GetJobJobSettingsSettingsTriggerPeriodicArgsDict'] + table_update: NotRequired['GetJobJobSettingsSettingsTriggerTableUpdateArgsDict'] +elif False: + GetJobJobSettingsSettingsTriggerArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsTriggerArgs: + def __init__(__self__, *, + file_arrival: Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs'] = None, + pause_status: Optional[str] = None, + periodic: Optional['GetJobJobSettingsSettingsTriggerPeriodicArgs'] = None, + table_update: Optional['GetJobJobSettingsSettingsTriggerTableUpdateArgs'] = None): + if file_arrival is not None: + pulumi.set(__self__, "file_arrival", file_arrival) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + if periodic is not None: + pulumi.set(__self__, "periodic", periodic) + if table_update is not None: + pulumi.set(__self__, "table_update", table_update) @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_conf") + @pulumi.getter(name="fileArrival") + def file_arrival(self) -> Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs']: + return pulumi.get(self, "file_arrival") - @spark_conf.setter - def spark_conf(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_conf", value) + @file_arrival.setter + def file_arrival(self, value: Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs']): + pulumi.set(self, "file_arrival", value) @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_env_vars") + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") - @spark_env_vars.setter - def spark_env_vars(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "spark_env_vars", value) + @pause_status.setter + def pause_status(self, value: Optional[str]): + pulumi.set(self, "pause_status", value) @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter + def periodic(self) -> Optional['GetJobJobSettingsSettingsTriggerPeriodicArgs']: + return pulumi.get(self, "periodic") - @ssh_public_keys.setter - def ssh_public_keys(self, value: Optional[Sequence[str]]): - pulumi.set(self, "ssh_public_keys", value) + @periodic.setter + def periodic(self, value: Optional['GetJobJobSettingsSettingsTriggerPeriodicArgs']): + pulumi.set(self, "periodic", value) @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs']: - return pulumi.get(self, "workload_type") + @pulumi.getter(name="tableUpdate") + def table_update(self) -> Optional['GetJobJobSettingsSettingsTriggerTableUpdateArgs']: + return pulumi.get(self, "table_update") - @workload_type.setter - def workload_type(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs']): - pulumi.set(self, "workload_type", value) + @table_update.setter + def table_update(self, value: Optional['GetJobJobSettingsSettingsTriggerTableUpdateArgs']): + pulumi.set(self, "table_update", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgsDict(TypedDict): - max_workers: NotRequired[int] - min_workers: NotRequired[int] + class GetJobJobSettingsSettingsTriggerFileArrivalArgsDict(TypedDict): + url: str + min_time_between_triggers_seconds: NotRequired[int] + wait_after_last_change_seconds: NotRequired[int] elif False: - GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTriggerFileArrivalArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterAutoscaleArgs: +class GetJobJobSettingsSettingsTriggerFileArrivalArgs: def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + url: str, + min_time_between_triggers_seconds: Optional[int] = None, + wait_after_last_change_seconds: Optional[int] = None): + pulumi.set(__self__, "url", url) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") - @max_workers.setter - def max_workers(self, value: Optional[int]): - pulumi.set(self, "max_workers", value) + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[int]: + return pulumi.get(self, "min_time_between_triggers_seconds") - @min_workers.setter - def min_workers(self, value: Optional[int]): - pulumi.set(self, "min_workers", value) + @min_time_between_triggers_seconds.setter + def min_time_between_triggers_seconds(self, value: Optional[int]): + pulumi.set(self, "min_time_between_triggers_seconds", value) + + @property + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[int]: + return pulumi.get(self, "wait_after_last_change_seconds") + + @wait_after_last_change_seconds.setter + def wait_after_last_change_seconds(self, value: Optional[int]): + pulumi.set(self, "wait_after_last_change_seconds", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgsDict(TypedDict): - availability: NotRequired[str] - ebs_volume_count: NotRequired[int] - ebs_volume_size: NotRequired[int] - ebs_volume_type: NotRequired[str] - first_on_demand: NotRequired[int] - instance_profile_arn: NotRequired[str] - spot_bid_price_percent: NotRequired[int] - zone_id: NotRequired[str] + class GetJobJobSettingsSettingsTriggerPeriodicArgsDict(TypedDict): + interval: int + unit: str elif False: - GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsTriggerPeriodicArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterAwsAttributesArgs: +class GetJobJobSettingsSettingsTriggerPeriodicArgs: def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + interval: int, + unit: str): + pulumi.set(__self__, "interval", interval) + pulumi.set(__self__, "unit", unit) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def interval(self) -> int: + return pulumi.get(self, "interval") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @interval.setter + def interval(self, value: int): + pulumi.set(self, "interval", value) @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") - - @ebs_volume_count.setter - def ebs_volume_count(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_count", value) + @pulumi.getter + def unit(self) -> str: + return pulumi.get(self, "unit") - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") + @unit.setter + def unit(self, value: str): + pulumi.set(self, "unit", value) - @ebs_volume_size.setter - def ebs_volume_size(self, value: Optional[int]): - pulumi.set(self, "ebs_volume_size", value) - @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") +if not MYPY: + class GetJobJobSettingsSettingsTriggerTableUpdateArgsDict(TypedDict): + table_names: Sequence[str] + condition: NotRequired[str] + min_time_between_triggers_seconds: NotRequired[int] + wait_after_last_change_seconds: NotRequired[int] +elif False: + GetJobJobSettingsSettingsTriggerTableUpdateArgsDict: TypeAlias = Mapping[str, Any] - @ebs_volume_type.setter - def ebs_volume_type(self, value: Optional[str]): - pulumi.set(self, "ebs_volume_type", value) +@pulumi.input_type +class GetJobJobSettingsSettingsTriggerTableUpdateArgs: + def __init__(__self__, *, + table_names: Sequence[str], + condition: Optional[str] = None, + min_time_between_triggers_seconds: Optional[int] = None, + wait_after_last_change_seconds: Optional[int] = None): + pulumi.set(__self__, "table_names", table_names) + if condition is not None: + pulumi.set(__self__, "condition", condition) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="tableNames") + def table_names(self) -> Sequence[str]: + return pulumi.get(self, "table_names") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @table_names.setter + def table_names(self, value: Sequence[str]): + pulumi.set(self, "table_names", value) @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter + def condition(self) -> Optional[str]: + return pulumi.get(self, "condition") - @instance_profile_arn.setter - def instance_profile_arn(self, value: Optional[str]): - pulumi.set(self, "instance_profile_arn", value) + @condition.setter + def condition(self, value: Optional[str]): + pulumi.set(self, "condition", value) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[int]: + return pulumi.get(self, "min_time_between_triggers_seconds") - @spot_bid_price_percent.setter - def spot_bid_price_percent(self, value: Optional[int]): - pulumi.set(self, "spot_bid_price_percent", value) + @min_time_between_triggers_seconds.setter + def min_time_between_triggers_seconds(self, value: Optional[int]): + pulumi.set(self, "min_time_between_triggers_seconds", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[int]: + return pulumi.get(self, "wait_after_last_change_seconds") - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) + @wait_after_last_change_seconds.setter + def wait_after_last_change_seconds(self, value: Optional[int]): + pulumi.set(self, "wait_after_last_change_seconds", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgsDict(TypedDict): - availability: NotRequired[str] - first_on_demand: NotRequired[int] - spot_bid_max_price: NotRequired[float] + class GetJobJobSettingsSettingsWebhookNotificationsArgsDict(TypedDict): + on_duration_warning_threshold_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']] + on_failures: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgsDict']] + on_starts: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgsDict']] + on_streaming_backlog_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgsDict']] + on_successes: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgsDict']] elif False: - GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterAzureAttributesArgs: +class GetJobJobSettingsSettingsWebhookNotificationsArgs: def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + on_duration_warning_threshold_exceededs: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs']] = None, + on_failures: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']] = None, + on_starts: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']] = None, + on_streaming_backlog_exceededs: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs']] = None, + on_successes: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']] = None): + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs']]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @on_duration_warning_threshold_exceededs.setter + def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs']]): + pulumi.set(self, "on_duration_warning_threshold_exceededs", value) @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']]: + return pulumi.get(self, "on_failures") - @first_on_demand.setter - def first_on_demand(self, value: Optional[int]): - pulumi.set(self, "first_on_demand", value) + @on_failures.setter + def on_failures(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']]): + pulumi.set(self, "on_failures", value) @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") - - @spot_bid_max_price.setter - def spot_bid_max_price(self, value: Optional[float]): - pulumi.set(self, "spot_bid_max_price", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgsDict(TypedDict): - dbfs: NotRequired['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3ArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']]: + return pulumi.get(self, "on_starts") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfArgs: - def __init__(__self__, *, - dbfs: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + @on_starts.setter + def on_starts(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']]): + pulumi.set(self, "on_starts", value) @property - @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs']: - return pulumi.get(self, "dbfs") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs']]: + return pulumi.get(self, "on_streaming_backlog_exceededs") - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs']): - pulumi.set(self, "dbfs", value) + @on_streaming_backlog_exceededs.setter + def on_streaming_backlog_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs']]): + pulumi.set(self, "on_streaming_backlog_exceededs", value) @property - @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args']: - return pulumi.get(self, "s3") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']]: + return pulumi.get(self, "on_successes") - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args']): - pulumi.set(self, "s3", value) + @on_successes.setter + def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']]): + pulumi.set(self, "on_successes", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgsDict(TypedDict): - destination: str + class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ elif False: - GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs: +class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] + class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ elif False: - GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3ArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args: +class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs: def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") - - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) - @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") +if not MYPY: + class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) +@pulumi.input_type +class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) - @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) +if not MYPY: + class GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ +elif False: + GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs: + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgsDict(TypedDict): - local_mount_dir_path: str - network_filesystem_info: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict' - remote_mount_dir_path: NotRequired[str] + class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgsDict(TypedDict): + id: str + """ + the id of Job if the resource was matched by name. + """ elif False: - GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgsDict: TypeAlias = Mapping[str, Any] + GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoArgs: +class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs: def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") - - @local_mount_dir_path.setter - def local_mount_dir_path(self, value: str): - pulumi.set(self, "local_mount_dir_path", value) - - @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs': - return pulumi.get(self, "network_filesystem_info") - - @network_filesystem_info.setter - def network_filesystem_info(self, value: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'): - pulumi.set(self, "network_filesystem_info", value) + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") - @remote_mount_dir_path.setter - def remote_mount_dir_path(self, value: Optional[str]): - pulumi.set(self, "remote_mount_dir_path", value) + @id.setter + def id(self, value: str): + pulumi.set(self, "id", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict(TypedDict): - server_address: str - mount_options: NotRequired[str] + class GetMetastoreMetastoreInfoArgsDict(TypedDict): + cloud: NotRequired[str] + created_at: NotRequired[int] + created_by: NotRequired[str] + default_data_access_config_id: NotRequired[str] + delta_sharing_organization_name: NotRequired[str] + """ + The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + """ + delta_sharing_recipient_token_lifetime_in_seconds: NotRequired[int] + """ + Used to set expiration duration in seconds on recipient data access tokens. + """ + delta_sharing_scope: NotRequired[str] + """ + Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + """ + external_access_enabled: NotRequired[bool] + global_metastore_id: NotRequired[str] + metastore_id: NotRequired[str] + """ + ID of the metastore + """ + name: NotRequired[str] + """ + Name of the metastore + """ + owner: NotRequired[str] + """ + Username/groupname/sp application_id of the metastore owner. + """ + privilege_model_version: NotRequired[str] + region: NotRequired[str] + """ + Region of the metastore + """ + storage_root: NotRequired[str] + """ + Path on cloud storage account, where managed `Table` are stored. + """ + storage_root_credential_id: NotRequired[str] + storage_root_credential_name: NotRequired[str] + updated_at: NotRequired[int] + updated_by: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgsDict: TypeAlias = Mapping[str, Any] + GetMetastoreMetastoreInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs: +class GetMetastoreMetastoreInfoArgs: def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + cloud: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + default_data_access_config_id: Optional[str] = None, + delta_sharing_organization_name: Optional[str] = None, + delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, + delta_sharing_scope: Optional[str] = None, + external_access_enabled: Optional[bool] = None, + global_metastore_id: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + privilege_model_version: Optional[str] = None, + region: Optional[str] = None, + storage_root: Optional[str] = None, + storage_root_credential_id: Optional[str] = None, + storage_root_credential_name: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + :param int delta_sharing_recipient_token_lifetime_in_seconds: Used to set expiration duration in seconds on recipient data access tokens. + :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + :param str metastore_id: ID of the metastore + :param str name: Name of the metastore + :param str owner: Username/groupname/sp application_id of the metastore owner. + :param str region: Region of the metastore + :param str storage_root: Path on cloud storage account, where managed `Table` are stored. + """ + if cloud is not None: + pulumi.set(__self__, "cloud", cloud) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if default_data_access_config_id is not None: + pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) + if delta_sharing_organization_name is not None: + pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) + if delta_sharing_recipient_token_lifetime_in_seconds is not None: + pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) + if delta_sharing_scope is not None: + pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) + if external_access_enabled is not None: + pulumi.set(__self__, "external_access_enabled", external_access_enabled) + if global_metastore_id is not None: + pulumi.set(__self__, "global_metastore_id", global_metastore_id) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if privilege_model_version is not None: + pulumi.set(__self__, "privilege_model_version", privilege_model_version) + if region is not None: + pulumi.set(__self__, "region", region) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if storage_root_credential_id is not None: + pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) + if storage_root_credential_name is not None: + pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter + def cloud(self) -> Optional[str]: + return pulumi.get(self, "cloud") - @server_address.setter - def server_address(self, value: str): - pulumi.set(self, "server_address", value) + @cloud.setter + def cloud(self, value: Optional[str]): + pulumi.set(self, "cloud", value) @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") - - @mount_options.setter - def mount_options(self, value: Optional[str]): - pulumi.set(self, "mount_options", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterDockerImageArgsDict(TypedDict): - url: str - basic_auth: NotRequired['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskNewClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + return pulumi.get(self, "created_at") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterDockerImageArgs: - def __init__(__self__, *, - url: str, - basic_auth: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs']: - return pulumi.get(self, "basic_auth") - - @basic_auth.setter - def basic_auth(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs']): - pulumi.set(self, "basic_auth", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgsDict(TypedDict): - password: str - username: str -elif False: - GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="defaultDataAccessConfigId") + def default_data_access_config_id(self) -> Optional[str]: + return pulumi.get(self, "default_data_access_config_id") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs: - def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @default_data_access_config_id.setter + def default_data_access_config_id(self, value: Optional[str]): + pulumi.set(self, "default_data_access_config_id", value) @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + @pulumi.getter(name="deltaSharingOrganizationName") + def delta_sharing_organization_name(self) -> Optional[str]: + """ + The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + """ + return pulumi.get(self, "delta_sharing_organization_name") - @password.setter - def password(self, value: str): - pulumi.set(self, "password", value) + @delta_sharing_organization_name.setter + def delta_sharing_organization_name(self, value: Optional[str]): + pulumi.set(self, "delta_sharing_organization_name", value) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") - - @username.setter - def username(self, value: str): - pulumi.set(self, "username", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgsDict(TypedDict): - availability: NotRequired[str] - boot_disk_size: NotRequired[int] - google_service_account: NotRequired[str] - local_ssd_count: NotRequired[int] - use_preemptible_executors: NotRequired[bool] - zone_id: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") + def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: + """ + Used to set expiration duration in seconds on recipient data access tokens. + """ + return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterGcpAttributesArgs: - def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @delta_sharing_recipient_token_lifetime_in_seconds.setter + def delta_sharing_recipient_token_lifetime_in_seconds(self, value: Optional[int]): + pulumi.set(self, "delta_sharing_recipient_token_lifetime_in_seconds", value) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="deltaSharingScope") + def delta_sharing_scope(self) -> Optional[str]: + """ + Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + """ + return pulumi.get(self, "delta_sharing_scope") - @availability.setter - def availability(self, value: Optional[str]): - pulumi.set(self, "availability", value) + @delta_sharing_scope.setter + def delta_sharing_scope(self, value: Optional[str]): + pulumi.set(self, "delta_sharing_scope", value) @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="externalAccessEnabled") + def external_access_enabled(self) -> Optional[bool]: + return pulumi.get(self, "external_access_enabled") - @boot_disk_size.setter - def boot_disk_size(self, value: Optional[int]): - pulumi.set(self, "boot_disk_size", value) + @external_access_enabled.setter + def external_access_enabled(self, value: Optional[bool]): + pulumi.set(self, "external_access_enabled", value) @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") + @pulumi.getter(name="globalMetastoreId") + def global_metastore_id(self) -> Optional[str]: + return pulumi.get(self, "global_metastore_id") - @google_service_account.setter - def google_service_account(self, value: Optional[str]): - pulumi.set(self, "google_service_account", value) + @global_metastore_id.setter + def global_metastore_id(self, value: Optional[str]): + pulumi.set(self, "global_metastore_id", value) @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + ID of the metastore + """ + return pulumi.get(self, "metastore_id") - @local_ssd_count.setter - def local_ssd_count(self, value: Optional[int]): - pulumi.set(self, "local_ssd_count", value) + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the metastore + """ + return pulumi.get(self, "name") - @use_preemptible_executors.setter - def use_preemptible_executors(self, value: Optional[bool]): - pulumi.set(self, "use_preemptible_executors", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - @zone_id.setter - def zone_id(self, value: Optional[str]): - pulumi.set(self, "zone_id", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptArgsDict(TypedDict): - abfss: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgsDict'] - dbfs: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgsDict'] - file: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgsDict'] - gcs: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgsDict'] - s3: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3ArgsDict'] - volumes: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgsDict'] - workspace: NotRequired['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Username/groupname/sp application_id of the metastore owner. + """ + return pulumi.get(self, "owner") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptArgs: - def __init__(__self__, *, - abfss: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs'] = None, - dbfs: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs'] = None, - file: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs'] = None, - gcs: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs'] = None, - s3: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args'] = None, - volumes: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs'] = None, - workspace: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) @property - @pulumi.getter - def abfss(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs']: - return pulumi.get(self, "abfss") + @pulumi.getter(name="privilegeModelVersion") + def privilege_model_version(self) -> Optional[str]: + return pulumi.get(self, "privilege_model_version") - @abfss.setter - def abfss(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs']): - pulumi.set(self, "abfss", value) + @privilege_model_version.setter + def privilege_model_version(self, value: Optional[str]): + pulumi.set(self, "privilege_model_version", value) @property @pulumi.getter - def dbfs(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs']: - return pulumi.get(self, "dbfs") + def region(self) -> Optional[str]: + """ + Region of the metastore + """ + return pulumi.get(self, "region") - @dbfs.setter - def dbfs(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs']): - pulumi.set(self, "dbfs", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) @property - @pulumi.getter - def file(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs']: - return pulumi.get(self, "file") + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Path on cloud storage account, where managed `Table` are stored. + """ + return pulumi.get(self, "storage_root") - @file.setter - def file(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs']): - pulumi.set(self, "file", value) + @storage_root.setter + def storage_root(self, value: Optional[str]): + pulumi.set(self, "storage_root", value) @property - @pulumi.getter - def gcs(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs']: - return pulumi.get(self, "gcs") + @pulumi.getter(name="storageRootCredentialId") + def storage_root_credential_id(self) -> Optional[str]: + return pulumi.get(self, "storage_root_credential_id") - @gcs.setter - def gcs(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs']): - pulumi.set(self, "gcs", value) + @storage_root_credential_id.setter + def storage_root_credential_id(self, value: Optional[str]): + pulumi.set(self, "storage_root_credential_id", value) @property - @pulumi.getter - def s3(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args']: - return pulumi.get(self, "s3") + @pulumi.getter(name="storageRootCredentialName") + def storage_root_credential_name(self) -> Optional[str]: + return pulumi.get(self, "storage_root_credential_name") - @s3.setter - def s3(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args']): - pulumi.set(self, "s3", value) + @storage_root_credential_name.setter + def storage_root_credential_name(self, value: Optional[str]): + pulumi.set(self, "storage_root_credential_name", value) @property - @pulumi.getter - def volumes(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs']: - return pulumi.get(self, "volumes") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + return pulumi.get(self, "updated_at") - @volumes.setter - def volumes(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs']): - pulumi.set(self, "volumes", value) + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter - def workspace(self) -> Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs']: - return pulumi.get(self, "workspace") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") - @workspace.setter - def workspace(self, value: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs']): - pulumi.set(self, "workspace", value) + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgsDict(TypedDict): - destination: str + class GetMlflowExperimentTagArgsDict(TypedDict): + key: NotRequired[str] + value: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgsDict: TypeAlias = Mapping[str, Any] + GetMlflowExperimentTagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssArgs: +class GetMlflowExperimentTagArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def key(self) -> Optional[str]: + return pulumi.get(self, "key") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @key.setter + def key(self, value: Optional[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[str]): + pulumi.set(self, "value", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgsDict(TypedDict): - destination: str + class GetMlflowModelLatestVersionArgsDict(TypedDict): + creation_timestamp: NotRequired[int] + current_stage: NotRequired[str] + description: NotRequired[str] + """ + User-specified description for the object. + """ + last_updated_timestamp: NotRequired[int] + name: NotRequired[str] + """ + Name of the registered model. + """ + run_id: NotRequired[str] + run_link: NotRequired[str] + source: NotRequired[str] + status: NotRequired[str] + status_message: NotRequired[str] + tags: NotRequired[Sequence['GetMlflowModelLatestVersionTagArgsDict']] + """ + Array of tags associated with the model. + """ + user_id: NotRequired[str] + """ + The username of the user that created the object. + """ + version: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgsDict: TypeAlias = Mapping[str, Any] + GetMlflowModelLatestVersionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsArgs: +class GetMlflowModelLatestVersionArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + creation_timestamp: Optional[int] = None, + current_stage: Optional[str] = None, + description: Optional[str] = None, + last_updated_timestamp: Optional[int] = None, + name: Optional[str] = None, + run_id: Optional[str] = None, + run_link: Optional[str] = None, + source: Optional[str] = None, + status: Optional[str] = None, + status_message: Optional[str] = None, + tags: Optional[Sequence['GetMlflowModelLatestVersionTagArgs']] = None, + user_id: Optional[str] = None, + version: Optional[str] = None): + """ + :param str description: User-specified description for the object. + :param str name: Name of the registered model. + :param Sequence['GetMlflowModelLatestVersionTagArgs'] tags: Array of tags associated with the model. + :param str user_id: The username of the user that created the object. + """ + if creation_timestamp is not None: + pulumi.set(__self__, "creation_timestamp", creation_timestamp) + if current_stage is not None: + pulumi.set(__self__, "current_stage", current_stage) + if description is not None: + pulumi.set(__self__, "description", description) + if last_updated_timestamp is not None: + pulumi.set(__self__, "last_updated_timestamp", last_updated_timestamp) + if name is not None: + pulumi.set(__self__, "name", name) + if run_id is not None: + pulumi.set(__self__, "run_id", run_id) + if run_link is not None: + pulumi.set(__self__, "run_link", run_link) + if source is not None: + pulumi.set(__self__, "source", source) + if status is not None: + pulumi.set(__self__, "status", status) + if status_message is not None: + pulumi.set(__self__, "status_message", status_message) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if user_id is not None: + pulumi.set(__self__, "user_id", user_id) + if version is not None: + pulumi.set(__self__, "version", version) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @pulumi.getter(name="creationTimestamp") + def creation_timestamp(self) -> Optional[int]: + return pulumi.get(self, "creation_timestamp") + @creation_timestamp.setter + def creation_timestamp(self, value: Optional[int]): + pulumi.set(self, "creation_timestamp", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="currentStage") + def current_stage(self) -> Optional[str]: + return pulumi.get(self, "current_stage") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptFileArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @current_stage.setter + def current_stage(self, value: Optional[str]): + pulumi.set(self, "current_stage", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + def description(self) -> Optional[str]: + """ + User-specified description for the object. + """ + return pulumi.get(self, "description") + @description.setter + def description(self, value: Optional[str]): + pulumi.set(self, "description", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="lastUpdatedTimestamp") + def last_updated_timestamp(self) -> Optional[int]: + return pulumi.get(self, "last_updated_timestamp") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @last_updated_timestamp.setter + def last_updated_timestamp(self, value: Optional[int]): + pulumi.set(self, "last_updated_timestamp", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + def name(self) -> Optional[str]: + """ + Name of the registered model. + """ + return pulumi.get(self, "name") + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptS3ArgsDict(TypedDict): - destination: str - canned_acl: NotRequired[str] - enable_encryption: NotRequired[bool] - encryption_type: NotRequired[str] - endpoint: NotRequired[str] - kms_key: NotRequired[str] - region: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptS3ArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="runId") + def run_id(self) -> Optional[str]: + return pulumi.get(self, "run_id") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args: - def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + @run_id.setter + def run_id(self, value: Optional[str]): + pulumi.set(self, "run_id", value) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="runLink") + def run_link(self) -> Optional[str]: + return pulumi.get(self, "run_link") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @run_link.setter + def run_link(self, value: Optional[str]): + pulumi.set(self, "run_link", value) @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @canned_acl.setter - def canned_acl(self, value: Optional[str]): - pulumi.set(self, "canned_acl", value) + @source.setter + def source(self, value: Optional[str]): + pulumi.set(self, "source", value) @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def status(self) -> Optional[str]: + return pulumi.get(self, "status") - @enable_encryption.setter - def enable_encryption(self, value: Optional[bool]): - pulumi.set(self, "enable_encryption", value) + @status.setter + def status(self, value: Optional[str]): + pulumi.set(self, "status", value) @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="statusMessage") + def status_message(self) -> Optional[str]: + return pulumi.get(self, "status_message") - @encryption_type.setter - def encryption_type(self, value: Optional[str]): - pulumi.set(self, "encryption_type", value) + @status_message.setter + def status_message(self, value: Optional[str]): + pulumi.set(self, "status_message", value) @property @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + def tags(self) -> Optional[Sequence['GetMlflowModelLatestVersionTagArgs']]: + """ + Array of tags associated with the model. + """ + return pulumi.get(self, "tags") - @endpoint.setter - def endpoint(self, value: Optional[str]): - pulumi.set(self, "endpoint", value) + @tags.setter + def tags(self, value: Optional[Sequence['GetMlflowModelLatestVersionTagArgs']]): + pulumi.set(self, "tags", value) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="userId") + def user_id(self) -> Optional[str]: + """ + The username of the user that created the object. + """ + return pulumi.get(self, "user_id") - @kms_key.setter - def kms_key(self, value: Optional[str]): - pulumi.set(self, "kms_key", value) + @user_id.setter + def user_id(self, value: Optional[str]): + pulumi.set(self, "user_id", value) @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + def version(self) -> Optional[str]: + return pulumi.get(self, "version") - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @version.setter + def version(self, value: Optional[str]): + pulumi.set(self, "version", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgsDict(TypedDict): - destination: str + class GetMlflowModelLatestVersionTagArgsDict(TypedDict): + key: NotRequired[str] + value: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgsDict: TypeAlias = Mapping[str, Any] + GetMlflowModelLatestVersionTagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs: +class GetMlflowModelLatestVersionTagArgs: def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgsDict(TypedDict): - destination: str -elif False: - GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgsDict: TypeAlias = Mapping[str, Any] + def key(self) -> Optional[str]: + return pulumi.get(self, "key") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs: - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @key.setter + def key(self, value: Optional[str]): + pulumi.set(self, "key", value) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def value(self) -> Optional[str]: + return pulumi.get(self, "value") - @destination.setter - def destination(self, value: str): - pulumi.set(self, "destination", value) + @value.setter + def value(self, value: Optional[str]): + pulumi.set(self, "value", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgsDict(TypedDict): - clients: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgsDict' + class GetMlflowModelTagArgsDict(TypedDict): + key: NotRequired[str] + value: NotRequired[str] elif False: - GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgsDict: TypeAlias = Mapping[str, Any] + GetMlflowModelTagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs: +class GetMlflowModelTagArgs: def __init__(__self__, *, - clients: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs'): - pulumi.set(__self__, "clients", clients) + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def clients(self) -> 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs': - return pulumi.get(self, "clients") + def key(self) -> Optional[str]: + return pulumi.get(self, "key") - @clients.setter - def clients(self, value: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs'): - pulumi.set(self, "clients", value) + @key.setter + def key(self, value: Optional[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[str]): + pulumi.set(self, "value", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgsDict(TypedDict): - jobs: NotRequired[bool] - notebooks: NotRequired[bool] + class GetMwsNetworkConnectivityConfigEgressConfigArgsDict(TypedDict): + default_rules: NotRequired['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict'] + """ + Array of default rules. + """ + target_rules: NotRequired['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict'] + """ + Array of target rules. + """ elif False: - GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgsDict: TypeAlias = Mapping[str, Any] + GetMwsNetworkConnectivityConfigEgressConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs: +class GetMwsNetworkConnectivityConfigEgressConfigArgs: def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + default_rules: Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs'] = None, + target_rules: Optional['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs'] = None): + """ + :param 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs' default_rules: Array of default rules. + :param 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs' target_rules: Array of target rules. + """ + if default_rules is not None: + pulumi.set(__self__, "default_rules", default_rules) + if target_rules is not None: + pulumi.set(__self__, "target_rules", target_rules) @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + @pulumi.getter(name="defaultRules") + def default_rules(self) -> Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']: + """ + Array of default rules. + """ + return pulumi.get(self, "default_rules") - @jobs.setter - def jobs(self, value: Optional[bool]): - pulumi.set(self, "jobs", value) + @default_rules.setter + def default_rules(self, value: Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs']): + pulumi.set(self, "default_rules", value) @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="targetRules") + def target_rules(self) -> Optional['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']: + """ + Array of target rules. + """ + return pulumi.get(self, "target_rules") - @notebooks.setter - def notebooks(self, value: Optional[bool]): - pulumi.set(self, "notebooks", value) + @target_rules.setter + def target_rules(self, value: Optional['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs']): + pulumi.set(self, "target_rules", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNotebookTaskArgsDict(TypedDict): - notebook_path: str - base_parameters: NotRequired[Mapping[str, str]] - source: NotRequired[str] - warehouse_id: NotRequired[str] + class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict(TypedDict): + aws_stable_ip_rule: NotRequired['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict'] + """ + The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + """ + azure_service_endpoint_rule: NotRequired['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict'] + """ + Array of Azure service endpoint rules. + """ elif False: - GetJobJobSettingsSettingsTaskNotebookTaskArgsDict: TypeAlias = Mapping[str, Any] + GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNotebookTaskArgs: +class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs: def __init__(__self__, *, - notebook_path: str, - base_parameters: Optional[Mapping[str, str]] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + aws_stable_ip_rule: Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs'] = None, + azure_service_endpoint_rule: Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs'] = None): + """ + :param 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs' aws_stable_ip_rule: The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + :param 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs' azure_service_endpoint_rule: Array of Azure service endpoint rules. + """ + if aws_stable_ip_rule is not None: + pulumi.set(__self__, "aws_stable_ip_rule", aws_stable_ip_rule) + if azure_service_endpoint_rule is not None: + pulumi.set(__self__, "azure_service_endpoint_rule", azure_service_endpoint_rule) @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> str: - return pulumi.get(self, "notebook_path") + @pulumi.getter(name="awsStableIpRule") + def aws_stable_ip_rule(self) -> Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']: + """ + The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + """ + return pulumi.get(self, "aws_stable_ip_rule") - @notebook_path.setter - def notebook_path(self, value: str): - pulumi.set(self, "notebook_path", value) + @aws_stable_ip_rule.setter + def aws_stable_ip_rule(self, value: Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs']): + pulumi.set(self, "aws_stable_ip_rule", value) @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "base_parameters") + @pulumi.getter(name="azureServiceEndpointRule") + def azure_service_endpoint_rule(self) -> Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']: + """ + Array of Azure service endpoint rules. + """ + return pulumi.get(self, "azure_service_endpoint_rule") - @base_parameters.setter - def base_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "base_parameters", value) + @azure_service_endpoint_rule.setter + def azure_service_endpoint_rule(self, value: Optional['GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs']): + pulumi.set(self, "azure_service_endpoint_rule", value) - @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) +if not MYPY: + class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict(TypedDict): + cidr_blocks: NotRequired[Sequence[str]] + """ + The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + """ +elif False: + GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs: + def __init__(__self__, *, + cidr_blocks: Optional[Sequence[str]] = None): + """ + :param Sequence[str] cidr_blocks: The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + """ + if cidr_blocks is not None: + pulumi.set(__self__, "cidr_blocks", cidr_blocks) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="cidrBlocks") + def cidr_blocks(self) -> Optional[Sequence[str]]: + """ + The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + """ + return pulumi.get(self, "cidr_blocks") - @warehouse_id.setter - def warehouse_id(self, value: Optional[str]): - pulumi.set(self, "warehouse_id", value) + @cidr_blocks.setter + def cidr_blocks(self, value: Optional[Sequence[str]]): + pulumi.set(self, "cidr_blocks", value) if not MYPY: - class GetJobJobSettingsSettingsTaskNotificationSettingsArgsDict(TypedDict): - alert_on_last_attempt: NotRequired[bool] - no_alert_for_canceled_runs: NotRequired[bool] - no_alert_for_skipped_runs: NotRequired[bool] + class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict(TypedDict): + subnets: NotRequired[Sequence[str]] + """ + Array of strings representing the subnet IDs. + """ + target_region: NotRequired[str] + """ + The target region for the service endpoint. + """ + target_services: NotRequired[Sequence[str]] + """ + Array of target services. + """ elif False: - GetJobJobSettingsSettingsTaskNotificationSettingsArgsDict: TypeAlias = Mapping[str, Any] + GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskNotificationSettingsArgs: +class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs: def __init__(__self__, *, - alert_on_last_attempt: Optional[bool] = None, - no_alert_for_canceled_runs: Optional[bool] = None, - no_alert_for_skipped_runs: Optional[bool] = None): - if alert_on_last_attempt is not None: - pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + subnets: Optional[Sequence[str]] = None, + target_region: Optional[str] = None, + target_services: Optional[Sequence[str]] = None): + """ + :param Sequence[str] subnets: Array of strings representing the subnet IDs. + :param str target_region: The target region for the service endpoint. + :param Sequence[str] target_services: Array of target services. + """ + if subnets is not None: + pulumi.set(__self__, "subnets", subnets) + if target_region is not None: + pulumi.set(__self__, "target_region", target_region) + if target_services is not None: + pulumi.set(__self__, "target_services", target_services) @property - @pulumi.getter(name="alertOnLastAttempt") - def alert_on_last_attempt(self) -> Optional[bool]: - return pulumi.get(self, "alert_on_last_attempt") + @pulumi.getter + def subnets(self) -> Optional[Sequence[str]]: + """ + Array of strings representing the subnet IDs. + """ + return pulumi.get(self, "subnets") - @alert_on_last_attempt.setter - def alert_on_last_attempt(self, value: Optional[bool]): - pulumi.set(self, "alert_on_last_attempt", value) + @subnets.setter + def subnets(self, value: Optional[Sequence[str]]): + pulumi.set(self, "subnets", value) @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_canceled_runs") + @pulumi.getter(name="targetRegion") + def target_region(self) -> Optional[str]: + """ + The target region for the service endpoint. + """ + return pulumi.get(self, "target_region") - @no_alert_for_canceled_runs.setter - def no_alert_for_canceled_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_canceled_runs", value) + @target_region.setter + def target_region(self, value: Optional[str]): + pulumi.set(self, "target_region", value) @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter(name="targetServices") + def target_services(self) -> Optional[Sequence[str]]: + """ + Array of target services. + """ + return pulumi.get(self, "target_services") - @no_alert_for_skipped_runs.setter - def no_alert_for_skipped_runs(self, value: Optional[bool]): - pulumi.set(self, "no_alert_for_skipped_runs", value) + @target_services.setter + def target_services(self, value: Optional[Sequence[str]]): + pulumi.set(self, "target_services", value) if not MYPY: - class GetJobJobSettingsSettingsTaskPipelineTaskArgsDict(TypedDict): - pipeline_id: str - full_refresh: NotRequired[bool] + class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict(TypedDict): + azure_private_endpoint_rules: NotRequired[Sequence['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict']] + """ + Array of private endpoint rule objects. + """ elif False: - GetJobJobSettingsSettingsTaskPipelineTaskArgsDict: TypeAlias = Mapping[str, Any] + GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskPipelineTaskArgs: +class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs: def __init__(__self__, *, - pipeline_id: str, - full_refresh: Optional[bool] = None): - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) - - @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> str: - return pulumi.get(self, "pipeline_id") - - @pipeline_id.setter - def pipeline_id(self, value: str): - pulumi.set(self, "pipeline_id", value) + azure_private_endpoint_rules: Optional[Sequence['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']] = None): + """ + :param Sequence['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs'] azure_private_endpoint_rules: Array of private endpoint rule objects. + """ + if azure_private_endpoint_rules is not None: + pulumi.set(__self__, "azure_private_endpoint_rules", azure_private_endpoint_rules) @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[bool]: - return pulumi.get(self, "full_refresh") + @pulumi.getter(name="azurePrivateEndpointRules") + def azure_private_endpoint_rules(self) -> Optional[Sequence['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]: + """ + Array of private endpoint rule objects. + """ + return pulumi.get(self, "azure_private_endpoint_rules") - @full_refresh.setter - def full_refresh(self, value: Optional[bool]): - pulumi.set(self, "full_refresh", value) + @azure_private_endpoint_rules.setter + def azure_private_endpoint_rules(self, value: Optional[Sequence['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs']]): + pulumi.set(self, "azure_private_endpoint_rules", value) if not MYPY: - class GetJobJobSettingsSettingsTaskPythonWheelTaskArgsDict(TypedDict): - entry_point: NotRequired[str] - named_parameters: NotRequired[Mapping[str, str]] - package_name: NotRequired[str] - parameters: NotRequired[Sequence[str]] + class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict(TypedDict): + connection_state: NotRequired[str] + """ + The current status of this private endpoint. + """ + creation_time: NotRequired[int] + """ + Time in epoch milliseconds when this object was created. + """ + deactivated: NotRequired[bool] + """ + Whether this private endpoint is deactivated. + """ + deactivated_at: NotRequired[int] + """ + Time in epoch milliseconds when this object was deactivated. + """ + endpoint_name: NotRequired[str] + """ + The name of the Azure private endpoint resource. + """ + group_id: NotRequired[str] + """ + The sub-resource type (group ID) of the target resource. + """ + network_connectivity_config_id: NotRequired[str] + """ + The Databricks network connectivity configuration ID. + """ + resource_id: NotRequired[str] + """ + The Azure resource ID of the target resource. + """ + rule_id: NotRequired[str] + """ + The ID of a private endpoint rule. + """ + updated_time: NotRequired[int] + """ + Time in epoch milliseconds when the network was updated. + """ elif False: - GetJobJobSettingsSettingsTaskPythonWheelTaskArgsDict: TypeAlias = Mapping[str, Any] + GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskPythonWheelTaskArgs: +class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs: def __init__(__self__, *, - entry_point: Optional[str] = None, - named_parameters: Optional[Mapping[str, str]] = None, - package_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - - @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[str]: - return pulumi.get(self, "entry_point") - - @entry_point.setter - def entry_point(self, value: Optional[str]): - pulumi.set(self, "entry_point", value) + connection_state: Optional[str] = None, + creation_time: Optional[int] = None, + deactivated: Optional[bool] = None, + deactivated_at: Optional[int] = None, + endpoint_name: Optional[str] = None, + group_id: Optional[str] = None, + network_connectivity_config_id: Optional[str] = None, + resource_id: Optional[str] = None, + rule_id: Optional[str] = None, + updated_time: Optional[int] = None): + """ + :param str connection_state: The current status of this private endpoint. + :param int creation_time: Time in epoch milliseconds when this object was created. + :param bool deactivated: Whether this private endpoint is deactivated. + :param int deactivated_at: Time in epoch milliseconds when this object was deactivated. + :param str endpoint_name: The name of the Azure private endpoint resource. + :param str group_id: The sub-resource type (group ID) of the target resource. + :param str network_connectivity_config_id: The Databricks network connectivity configuration ID. + :param str resource_id: The Azure resource ID of the target resource. + :param str rule_id: The ID of a private endpoint rule. + :param int updated_time: Time in epoch milliseconds when the network was updated. + """ + if connection_state is not None: + pulumi.set(__self__, "connection_state", connection_state) + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) + if deactivated is not None: + pulumi.set(__self__, "deactivated", deactivated) + if deactivated_at is not None: + pulumi.set(__self__, "deactivated_at", deactivated_at) + if endpoint_name is not None: + pulumi.set(__self__, "endpoint_name", endpoint_name) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if network_connectivity_config_id is not None: + pulumi.set(__self__, "network_connectivity_config_id", network_connectivity_config_id) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if updated_time is not None: + pulumi.set(__self__, "updated_time", updated_time) @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "named_parameters") + @pulumi.getter(name="connectionState") + def connection_state(self) -> Optional[str]: + """ + The current status of this private endpoint. + """ + return pulumi.get(self, "connection_state") - @named_parameters.setter - def named_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "named_parameters", value) + @connection_state.setter + def connection_state(self, value: Optional[str]): + pulumi.set(self, "connection_state", value) @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[str]: - return pulumi.get(self, "package_name") + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[int]: + """ + Time in epoch milliseconds when this object was created. + """ + return pulumi.get(self, "creation_time") - @package_name.setter - def package_name(self, value: Optional[str]): - pulumi.set(self, "package_name", value) + @creation_time.setter + def creation_time(self, value: Optional[int]): + pulumi.set(self, "creation_time", value) @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + def deactivated(self) -> Optional[bool]: + """ + Whether this private endpoint is deactivated. + """ + return pulumi.get(self, "deactivated") + @deactivated.setter + def deactivated(self, value: Optional[bool]): + pulumi.set(self, "deactivated", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskRunJobTaskArgsDict(TypedDict): - job_id: int - job_parameters: NotRequired[Mapping[str, str]] -elif False: - GetJobJobSettingsSettingsTaskRunJobTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="deactivatedAt") + def deactivated_at(self) -> Optional[int]: + """ + Time in epoch milliseconds when this object was deactivated. + """ + return pulumi.get(self, "deactivated_at") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskRunJobTaskArgs: - def __init__(__self__, *, - job_id: int, - job_parameters: Optional[Mapping[str, str]] = None): - pulumi.set(__self__, "job_id", job_id) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) + @deactivated_at.setter + def deactivated_at(self, value: Optional[int]): + pulumi.set(self, "deactivated_at", value) @property - @pulumi.getter(name="jobId") - def job_id(self) -> int: - return pulumi.get(self, "job_id") + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> Optional[str]: + """ + The name of the Azure private endpoint resource. + """ + return pulumi.get(self, "endpoint_name") - @job_id.setter - def job_id(self, value: int): - pulumi.set(self, "job_id", value) + @endpoint_name.setter + def endpoint_name(self, value: Optional[str]): + pulumi.set(self, "endpoint_name", value) @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "job_parameters") - - @job_parameters.setter - def job_parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "job_parameters", value) + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + The sub-resource type (group ID) of the target resource. + """ + return pulumi.get(self, "group_id") + @group_id.setter + def group_id(self, value: Optional[str]): + pulumi.set(self, "group_id", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskSparkJarTaskArgsDict(TypedDict): - jar_uri: NotRequired[str] - main_class_name: NotRequired[str] - parameters: NotRequired[Sequence[str]] -elif False: - GetJobJobSettingsSettingsTaskSparkJarTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="networkConnectivityConfigId") + def network_connectivity_config_id(self) -> Optional[str]: + """ + The Databricks network connectivity configuration ID. + """ + return pulumi.get(self, "network_connectivity_config_id") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSparkJarTaskArgs: - def __init__(__self__, *, - jar_uri: Optional[str] = None, - main_class_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @network_connectivity_config_id.setter + def network_connectivity_config_id(self, value: Optional[str]): + pulumi.set(self, "network_connectivity_config_id", value) @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[str]: - return pulumi.get(self, "jar_uri") + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The Azure resource ID of the target resource. + """ + return pulumi.get(self, "resource_id") - @jar_uri.setter - def jar_uri(self, value: Optional[str]): - pulumi.set(self, "jar_uri", value) + @resource_id.setter + def resource_id(self, value: Optional[str]): + pulumi.set(self, "resource_id", value) @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[str]: - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[str]: + """ + The ID of a private endpoint rule. + """ + return pulumi.get(self, "rule_id") - @main_class_name.setter - def main_class_name(self, value: Optional[str]): - pulumi.set(self, "main_class_name", value) + @rule_id.setter + def rule_id(self, value: Optional[str]): + pulumi.set(self, "rule_id", value) @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="updatedTime") + def updated_time(self) -> Optional[int]: + """ + Time in epoch milliseconds when the network was updated. + """ + return pulumi.get(self, "updated_time") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @updated_time.setter + def updated_time(self, value: Optional[int]): + pulumi.set(self, "updated_time", value) if not MYPY: - class GetJobJobSettingsSettingsTaskSparkPythonTaskArgsDict(TypedDict): - python_file: str - parameters: NotRequired[Sequence[str]] - source: NotRequired[str] + class GetRegisteredModelModelInfoArgsDict(TypedDict): + aliases: NotRequired[Sequence['GetRegisteredModelModelInfoAliasArgsDict']] + """ + the list of aliases associated with this model. Each item is object consisting of following attributes: + """ + browse_only: NotRequired[bool] + catalog_name: NotRequired[str] + """ + The name of the catalog where the schema and the registered model reside. + """ + comment: NotRequired[str] + """ + The comment attached to the registered model. + """ + created_at: NotRequired[int] + """ + the Unix timestamp at the model's creation + """ + created_by: NotRequired[str] + """ + the identifier of the user who created the model + """ + full_name: NotRequired[str] + """ + The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + """ + metastore_id: NotRequired[str] + """ + the unique identifier of the metastore + """ + name: NotRequired[str] + """ + The name of the registered model. + """ + owner: NotRequired[str] + """ + Name of the registered model owner. + """ + schema_name: NotRequired[str] + """ + The name of the schema where the registered model resides. + """ + storage_location: NotRequired[str] + """ + The storage location under which model version data files are stored. + """ + updated_at: NotRequired[int] + """ + the timestamp of the last time changes were made to the model + """ + updated_by: NotRequired[str] + """ + the identifier of the user who updated the model last time + """ elif False: - GetJobJobSettingsSettingsTaskSparkPythonTaskArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelModelInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskSparkPythonTaskArgs: +class GetRegisteredModelModelInfoArgs: def __init__(__self__, *, - python_file: str, - parameters: Optional[Sequence[str]] = None, - source: Optional[str] = None): - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) + aliases: Optional[Sequence['GetRegisteredModelModelInfoAliasArgs']] = None, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + full_name: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + schema_name: Optional[str] = None, + storage_location: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param Sequence['GetRegisteredModelModelInfoAliasArgs'] aliases: the list of aliases associated with this model. Each item is object consisting of following attributes: + :param str catalog_name: The name of the catalog where the schema and the registered model reside. + :param str comment: The comment attached to the registered model. + :param int created_at: the Unix timestamp at the model's creation + :param str created_by: the identifier of the user who created the model + :param str full_name: The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + :param str metastore_id: the unique identifier of the metastore + :param str name: The name of the registered model. + :param str owner: Name of the registered model owner. + :param str schema_name: The name of the schema where the registered model resides. + :param str storage_location: The storage location under which model version data files are stored. + :param int updated_at: the timestamp of the last time changes were made to the model + :param str updated_by: the identifier of the user who updated the model last time + """ + if aliases is not None: + pulumi.set(__self__, "aliases", aliases) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> str: - return pulumi.get(self, "python_file") + @pulumi.getter + def aliases(self) -> Optional[Sequence['GetRegisteredModelModelInfoAliasArgs']]: + """ + the list of aliases associated with this model. Each item is object consisting of following attributes: + """ + return pulumi.get(self, "aliases") - @python_file.setter - def python_file(self, value: str): - pulumi.set(self, "python_file", value) + @aliases.setter + def aliases(self, value: Optional[Sequence['GetRegisteredModelModelInfoAliasArgs']]): + pulumi.set(self, "aliases", value) @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") + @catalog_name.setter + def catalog_name(self, value: Optional[str]): + pulumi.set(self, "catalog_name", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskSparkSubmitTaskArgsDict(TypedDict): - parameters: NotRequired[Sequence[str]] -elif False: - GetJobJobSettingsSettingsTaskSparkSubmitTaskArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSparkSubmitTaskArgs: - def __init__(__self__, *, - parameters: Optional[Sequence[str]] = None): - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + the Unix timestamp at the model's creation + """ + return pulumi.get(self, "created_at") - @parameters.setter - def parameters(self, value: Optional[Sequence[str]]): - pulumi.set(self, "parameters", value) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + the identifier of the user who created the model + """ + return pulumi.get(self, "created_by") -if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskArgsDict(TypedDict): - warehouse_id: str - alert: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskAlertArgsDict'] - dashboard: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgsDict'] - file: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskFileArgsDict'] - parameters: NotRequired[Mapping[str, str]] - query: NotRequired['GetJobJobSettingsSettingsTaskSqlTaskQueryArgsDict'] -elif False: - GetJobJobSettingsSettingsTaskSqlTaskArgsDict: TypeAlias = Mapping[str, Any] + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskArgs: - def __init__(__self__, *, - warehouse_id: str, - alert: Optional['GetJobJobSettingsSettingsTaskSqlTaskAlertArgs'] = None, - dashboard: Optional['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs'] = None, - file: Optional['GetJobJobSettingsSettingsTaskSqlTaskFileArgs'] = None, - parameters: Optional[Mapping[str, str]] = None, - query: Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs'] = None): - pulumi.set(__self__, "warehouse_id", warehouse_id) - if alert is not None: - pulumi.set(__self__, "alert", alert) - if dashboard is not None: - pulumi.set(__self__, "dashboard", dashboard) - if file is not None: - pulumi.set(__self__, "file", file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if query is not None: - pulumi.set(__self__, "query", query) + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + """ + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[str]): + pulumi.set(self, "full_name", value) @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> str: - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + the unique identifier of the metastore + """ + return pulumi.get(self, "metastore_id") - @warehouse_id.setter - def warehouse_id(self, value: str): - pulumi.set(self, "warehouse_id", value) + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property @pulumi.getter - def alert(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskAlertArgs']: - return pulumi.get(self, "alert") + def name(self) -> Optional[str]: + """ + The name of the registered model. + """ + return pulumi.get(self, "name") - @alert.setter - def alert(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskAlertArgs']): - pulumi.set(self, "alert", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property @pulumi.getter - def dashboard(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs']: - return pulumi.get(self, "dashboard") + def owner(self) -> Optional[str]: + """ + Name of the registered model owner. + """ + return pulumi.get(self, "owner") - @dashboard.setter - def dashboard(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs']): - pulumi.set(self, "dashboard", value) + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) @property - @pulumi.getter - def file(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskFileArgs']: - return pulumi.get(self, "file") + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") - @file.setter - def file(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskFileArgs']): - pulumi.set(self, "file", value) + @schema_name.setter + def schema_name(self, value: Optional[str]): + pulumi.set(self, "schema_name", value) + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + The storage location under which model version data files are stored. + """ + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[str]): + pulumi.set(self, "storage_location", value) @property - @pulumi.getter - def parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + the timestamp of the last time changes were made to the model + """ + return pulumi.get(self, "updated_at") - @parameters.setter - def parameters(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "parameters", value) + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter - def query(self) -> Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs']: - return pulumi.get(self, "query") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the identifier of the user who updated the model last time + """ + return pulumi.get(self, "updated_by") - @query.setter - def query(self, value: Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs']): - pulumi.set(self, "query", value) + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskAlertArgsDict(TypedDict): - alert_id: str - pause_subscriptions: NotRequired[bool] - subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgsDict']] + class GetRegisteredModelModelInfoAliasArgsDict(TypedDict): + alias_name: NotRequired[str] + """ + string with the name of alias + """ + version_num: NotRequired[int] + """ + associated model version + """ elif False: - GetJobJobSettingsSettingsTaskSqlTaskAlertArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelModelInfoAliasArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskAlertArgs: +class GetRegisteredModelModelInfoAliasArgs: def __init__(__self__, *, - alert_id: str, - pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs']] = None): - pulumi.set(__self__, "alert_id", alert_id) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) - - @property - @pulumi.getter(name="alertId") - def alert_id(self) -> str: - return pulumi.get(self, "alert_id") - - @alert_id.setter - def alert_id(self, value: str): - pulumi.set(self, "alert_id", value) + alias_name: Optional[str] = None, + version_num: Optional[int] = None): + """ + :param str alias_name: string with the name of alias + :param int version_num: associated model version + """ + if alias_name is not None: + pulumi.set(__self__, "alias_name", alias_name) + if version_num is not None: + pulumi.set(__self__, "version_num", version_num) @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[bool]: - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter(name="aliasName") + def alias_name(self) -> Optional[str]: + """ + string with the name of alias + """ + return pulumi.get(self, "alias_name") - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[bool]): - pulumi.set(self, "pause_subscriptions", value) + @alias_name.setter + def alias_name(self, value: Optional[str]): + pulumi.set(self, "alias_name", value) @property - @pulumi.getter - def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs']]: - return pulumi.get(self, "subscriptions") + @pulumi.getter(name="versionNum") + def version_num(self) -> Optional[int]: + """ + associated model version + """ + return pulumi.get(self, "version_num") - @subscriptions.setter - def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs']]): - pulumi.set(self, "subscriptions", value) + @version_num.setter + def version_num(self, value: Optional[int]): + pulumi.set(self, "version_num", value) if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[str] - user_name: NotRequired[str] + class GetRegisteredModelVersionsModelVersionArgsDict(TypedDict): + aliases: NotRequired[Sequence['GetRegisteredModelVersionsModelVersionAliasArgsDict']] + """ + the list of aliases associated with this model. Each item is object consisting of following attributes: + """ + browse_only: NotRequired[bool] + catalog_name: NotRequired[str] + """ + The name of the catalog where the schema and the registered model reside. + """ + comment: NotRequired[str] + """ + The comment attached to the registered model. + """ + created_at: NotRequired[int] + """ + the Unix timestamp at the model's creation + """ + created_by: NotRequired[str] + """ + the identifier of the user who created the model + """ + id: NotRequired[str] + """ + The unique identifier of the model version + """ + metastore_id: NotRequired[str] + """ + the unique identifier of the metastore + """ + model_name: NotRequired[str] + model_version_dependencies: NotRequired[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyArgsDict']] + """ + block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + """ + run_id: NotRequired[str] + """ + MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + """ + run_workspace_id: NotRequired[int] + """ + ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + """ + schema_name: NotRequired[str] + """ + The name of the schema where the registered model resides. + """ + source: NotRequired[str] + """ + URI indicating the location of the source artifacts (files) for the model version. + """ + status: NotRequired[str] + """ + Current status of the model version. + """ + storage_location: NotRequired[str] + """ + The storage location under which model version data files are stored. + """ + updated_at: NotRequired[int] + """ + the timestamp of the last time changes were made to the model + """ + updated_by: NotRequired[str] + """ + the identifier of the user who updated the model last time + """ + version: NotRequired[int] + """ + Integer model version number, used to reference the model version in API requests. + """ elif False: - GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelVersionsModelVersionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs: +class GetRegisteredModelVersionsModelVersionArgs: def __init__(__self__, *, - destination_id: Optional[str] = None, - user_name: Optional[str] = None): - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + aliases: Optional[Sequence['GetRegisteredModelVersionsModelVersionAliasArgs']] = None, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + id: Optional[str] = None, + metastore_id: Optional[str] = None, + model_name: Optional[str] = None, + model_version_dependencies: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs']] = None, + run_id: Optional[str] = None, + run_workspace_id: Optional[int] = None, + schema_name: Optional[str] = None, + source: Optional[str] = None, + status: Optional[str] = None, + storage_location: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None, + version: Optional[int] = None): + """ + :param Sequence['GetRegisteredModelVersionsModelVersionAliasArgs'] aliases: the list of aliases associated with this model. Each item is object consisting of following attributes: + :param str catalog_name: The name of the catalog where the schema and the registered model reside. + :param str comment: The comment attached to the registered model. + :param int created_at: the Unix timestamp at the model's creation + :param str created_by: the identifier of the user who created the model + :param str id: The unique identifier of the model version + :param str metastore_id: the unique identifier of the metastore + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs'] model_version_dependencies: block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + :param str run_id: MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + :param int run_workspace_id: ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + :param str schema_name: The name of the schema where the registered model resides. + :param str source: URI indicating the location of the source artifacts (files) for the model version. + :param str status: Current status of the model version. + :param str storage_location: The storage location under which model version data files are stored. + :param int updated_at: the timestamp of the last time changes were made to the model + :param str updated_by: the identifier of the user who updated the model last time + :param int version: Integer model version number, used to reference the model version in API requests. + """ + if aliases is not None: + pulumi.set(__self__, "aliases", aliases) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if id is not None: + pulumi.set(__self__, "id", id) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if model_name is not None: + pulumi.set(__self__, "model_name", model_name) + if model_version_dependencies is not None: + pulumi.set(__self__, "model_version_dependencies", model_version_dependencies) + if run_id is not None: + pulumi.set(__self__, "run_id", run_id) + if run_workspace_id is not None: + pulumi.set(__self__, "run_workspace_id", run_workspace_id) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if source is not None: + pulumi.set(__self__, "source", source) + if status is not None: + pulumi.set(__self__, "status", status) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if version is not None: + pulumi.set(__self__, "version", version) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[str]: - return pulumi.get(self, "destination_id") + @pulumi.getter + def aliases(self) -> Optional[Sequence['GetRegisteredModelVersionsModelVersionAliasArgs']]: + """ + the list of aliases associated with this model. Each item is object consisting of following attributes: + """ + return pulumi.get(self, "aliases") - @destination_id.setter - def destination_id(self, value: Optional[str]): - pulumi.set(self, "destination_id", value) + @aliases.setter + def aliases(self, value: Optional[Sequence['GetRegisteredModelVersionsModelVersionAliasArgs']]): + pulumi.set(self, "aliases", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") - - @user_name.setter - def user_name(self, value: Optional[str]): - pulumi.set(self, "user_name", value) + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskDashboardArgsDict(TypedDict): - dashboard_id: str - custom_subject: NotRequired[str] - pause_subscriptions: NotRequired[bool] - subscriptions: NotRequired[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgsDict']] -elif False: - GetJobJobSettingsSettingsTaskSqlTaskDashboardArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskDashboardArgs: - def __init__(__self__, *, - dashboard_id: str, - custom_subject: Optional[str] = None, - pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']] = None): - pulumi.set(__self__, "dashboard_id", dashboard_id) - if custom_subject is not None: - pulumi.set(__self__, "custom_subject", custom_subject) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) + @catalog_name.setter + def catalog_name(self, value: Optional[str]): + pulumi.set(self, "catalog_name", value) @property - @pulumi.getter(name="dashboardId") - def dashboard_id(self) -> str: - return pulumi.get(self, "dashboard_id") + @pulumi.getter + def comment(self) -> Optional[str]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") - @dashboard_id.setter - def dashboard_id(self, value: str): - pulumi.set(self, "dashboard_id", value) + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) @property - @pulumi.getter(name="customSubject") - def custom_subject(self) -> Optional[str]: - return pulumi.get(self, "custom_subject") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + the Unix timestamp at the model's creation + """ + return pulumi.get(self, "created_at") - @custom_subject.setter - def custom_subject(self, value: Optional[str]): - pulumi.set(self, "custom_subject", value) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[bool]: - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + the identifier of the user who created the model + """ + return pulumi.get(self, "created_by") - @pause_subscriptions.setter - def pause_subscriptions(self, value: Optional[bool]): - pulumi.set(self, "pause_subscriptions", value) + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']]: - return pulumi.get(self, "subscriptions") - - @subscriptions.setter - def subscriptions(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']]): - pulumi.set(self, "subscriptions", value) + def id(self) -> Optional[str]: + """ + The unique identifier of the model version + """ + return pulumi.get(self, "id") + @id.setter + def id(self, value: Optional[str]): + pulumi.set(self, "id", value) -if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgsDict(TypedDict): - destination_id: NotRequired[str] - user_name: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + the unique identifier of the metastore + """ + return pulumi.get(self, "metastore_id") -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs: - def __init__(__self__, *, - destination_id: Optional[str] = None, - user_name: Optional[str] = None): - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[str]: - return pulumi.get(self, "destination_id") + @pulumi.getter(name="modelName") + def model_name(self) -> Optional[str]: + return pulumi.get(self, "model_name") - @destination_id.setter - def destination_id(self, value: Optional[str]): - pulumi.set(self, "destination_id", value) + @model_name.setter + def model_name(self, value: Optional[str]): + pulumi.set(self, "model_name", value) @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") + @pulumi.getter(name="modelVersionDependencies") + def model_version_dependencies(self) -> Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs']]: + """ + block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + """ + return pulumi.get(self, "model_version_dependencies") - @user_name.setter - def user_name(self, value: Optional[str]): - pulumi.set(self, "user_name", value) + @model_version_dependencies.setter + def model_version_dependencies(self, value: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs']]): + pulumi.set(self, "model_version_dependencies", value) + @property + @pulumi.getter(name="runId") + def run_id(self) -> Optional[str]: + """ + MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + """ + return pulumi.get(self, "run_id") -if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskFileArgsDict(TypedDict): - path: str - source: NotRequired[str] -elif False: - GetJobJobSettingsSettingsTaskSqlTaskFileArgsDict: TypeAlias = Mapping[str, Any] + @run_id.setter + def run_id(self, value: Optional[str]): + pulumi.set(self, "run_id", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskFileArgs: - def __init__(__self__, *, - path: str, - source: Optional[str] = None): - pulumi.set(__self__, "path", path) - if source is not None: - pulumi.set(__self__, "source", source) + @property + @pulumi.getter(name="runWorkspaceId") + def run_workspace_id(self) -> Optional[int]: + """ + ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + """ + return pulumi.get(self, "run_workspace_id") + + @run_workspace_id.setter + def run_workspace_id(self, value: Optional[int]): + pulumi.set(self, "run_workspace_id", value) @property - @pulumi.getter - def path(self) -> str: - return pulumi.get(self, "path") + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") - @path.setter - def path(self, value: str): - pulumi.set(self, "path", value) + @schema_name.setter + def schema_name(self, value: Optional[str]): + pulumi.set(self, "schema_name", value) @property @pulumi.getter def source(self) -> Optional[str]: + """ + URI indicating the location of the source artifacts (files) for the model version. + """ return pulumi.get(self, "source") @source.setter def source(self, value: Optional[str]): pulumi.set(self, "source", value) - -if not MYPY: - class GetJobJobSettingsSettingsTaskSqlTaskQueryArgsDict(TypedDict): - query_id: str -elif False: - GetJobJobSettingsSettingsTaskSqlTaskQueryArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskSqlTaskQueryArgs: - def __init__(__self__, *, - query_id: str): - pulumi.set(__self__, "query_id", query_id) - - @property - @pulumi.getter(name="queryId") - def query_id(self) -> str: - return pulumi.get(self, "query_id") - - @query_id.setter - def query_id(self, value: str): - pulumi.set(self, "query_id", value) - - -if not MYPY: - class GetJobJobSettingsSettingsTaskWebhookNotificationsArgsDict(TypedDict): - on_duration_warning_threshold_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']] - on_failures: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgsDict']] - on_starts: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgsDict']] - on_streaming_backlog_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict']] - on_successes: NotRequired[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgsDict']] -elif False: - GetJobJobSettingsSettingsTaskWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsArgs: - def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']] = None, - on_failures: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs']] = None, - on_starts: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs']] = None, - on_streaming_backlog_exceededs: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs']] = None, - on_successes: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs']] = None): - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") + @pulumi.getter + def status(self) -> Optional[str]: + """ + Current status of the model version. + """ + return pulumi.get(self, "status") - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs']]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) + @status.setter + def status(self, value: Optional[str]): + pulumi.set(self, "status", value) @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs']]: - return pulumi.get(self, "on_failures") - - @on_failures.setter - def on_failures(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs']]): - pulumi.set(self, "on_failures", value) + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + The storage location under which model version data files are stored. + """ + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[str]): + pulumi.set(self, "storage_location", value) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs']]: - return pulumi.get(self, "on_starts") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + the timestamp of the last time changes were made to the model + """ + return pulumi.get(self, "updated_at") - @on_starts.setter - def on_starts(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs']]): - pulumi.set(self, "on_starts", value) + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the identifier of the user who updated the model last time + """ + return pulumi.get(self, "updated_by") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs']]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs']]: - return pulumi.get(self, "on_successes") + @pulumi.getter + def version(self) -> Optional[int]: + """ + Integer model version number, used to reference the model version in API requests. + """ + return pulumi.get(self, "version") - @on_successes.setter - def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs']]): - pulumi.set(self, "on_successes", value) + @version.setter + def version(self, value: Optional[int]): + pulumi.set(self, "version", value) if not MYPY: - class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): - id: str + class GetRegisteredModelVersionsModelVersionAliasArgsDict(TypedDict): + alias_name: NotRequired[str] """ - the id of Job if the resource was matched by name. + string with the name of alias + """ + version_num: NotRequired[int] + """ + associated model version """ elif False: - GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelVersionsModelVersionAliasArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs: +class GetRegisteredModelVersionsModelVersionAliasArgs: def __init__(__self__, *, - id: str): + alias_name: Optional[str] = None, + version_num: Optional[int] = None): """ - :param str id: the id of Job if the resource was matched by name. + :param str alias_name: string with the name of alias + :param int version_num: associated model version """ - pulumi.set(__self__, "id", id) + if alias_name is not None: + pulumi.set(__self__, "alias_name", alias_name) + if version_num is not None: + pulumi.set(__self__, "version_num", version_num) @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="aliasName") + def alias_name(self) -> Optional[str]: """ - the id of Job if the resource was matched by name. + string with the name of alias """ - return pulumi.get(self, "id") + return pulumi.get(self, "alias_name") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @alias_name.setter + def alias_name(self, value: Optional[str]): + pulumi.set(self, "alias_name", value) + + @property + @pulumi.getter(name="versionNum") + def version_num(self) -> Optional[int]: + """ + associated model version + """ + return pulumi.get(self, "version_num") + + @version_num.setter + def version_num(self, value: Optional[int]): + pulumi.set(self, "version_num", value) if not MYPY: - class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgsDict(TypedDict): - id: str + class GetRegisteredModelVersionsModelVersionModelVersionDependencyArgsDict(TypedDict): + dependencies: NotRequired[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgsDict']] """ - the id of Job if the resource was matched by name. + list of dependencies consisting of following attributes: """ elif False: - GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelVersionsModelVersionModelVersionDependencyArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureArgs: +class GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs: def __init__(__self__, *, - id: str): + dependencies: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs']] = None): """ - :param str id: the id of Job if the resource was matched by name. + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs'] dependencies: list of dependencies consisting of following attributes: """ - pulumi.set(__self__, "id", id) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) @property @pulumi.getter - def id(self) -> str: + def dependencies(self) -> Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs']]: """ - the id of Job if the resource was matched by name. + list of dependencies consisting of following attributes: """ - return pulumi.get(self, "id") + return pulumi.get(self, "dependencies") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @dependencies.setter + def dependencies(self, value: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs']]): + pulumi.set(self, "dependencies", value) if not MYPY: - class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgsDict(TypedDict): - id: str + class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgsDict(TypedDict): + functions: NotRequired[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgsDict']] """ - the id of Job if the resource was matched by name. + A function that is dependent on a SQL object: + """ + tables: NotRequired[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgsDict']] + """ + A table that is dependent on a SQL object """ elif False: - GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartArgs: +class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs: def __init__(__self__, *, - id: str): + functions: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs']] = None, + tables: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs']] = None): """ - :param str id: the id of Job if the resource was matched by name. + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs'] functions: A function that is dependent on a SQL object: + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs'] tables: A table that is dependent on a SQL object """ - pulumi.set(__self__, "id", id) + if functions is not None: + pulumi.set(__self__, "functions", functions) + if tables is not None: + pulumi.set(__self__, "tables", tables) @property @pulumi.getter - def id(self) -> str: + def functions(self) -> Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs']]: """ - the id of Job if the resource was matched by name. + A function that is dependent on a SQL object: """ - return pulumi.get(self, "id") + return pulumi.get(self, "functions") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @functions.setter + def functions(self, value: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs']]): + pulumi.set(self, "functions", value) + + @property + @pulumi.getter + def tables(self) -> Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs']]: + """ + A table that is dependent on a SQL object + """ + return pulumi.get(self, "tables") + + @tables.setter + def tables(self, value: Optional[Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs']]): + pulumi.set(self, "tables", value) if not MYPY: - class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): - id: str + class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgsDict(TypedDict): + function_full_name: str """ - the id of Job if the resource was matched by name. + Full name of the dependent function """ elif False: - GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededArgs: +class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs: def __init__(__self__, *, - id: str): + function_full_name: str): """ - :param str id: the id of Job if the resource was matched by name. + :param str function_full_name: Full name of the dependent function """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "function_full_name", function_full_name) @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="functionFullName") + def function_full_name(self) -> str: """ - the id of Job if the resource was matched by name. + Full name of the dependent function """ - return pulumi.get(self, "id") + return pulumi.get(self, "function_full_name") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @function_full_name.setter + def function_full_name(self, value: str): + pulumi.set(self, "function_full_name", value) if not MYPY: - class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgsDict(TypedDict): - id: str + class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgsDict(TypedDict): + table_full_name: str """ - the id of Job if the resource was matched by name. + Full name of the dependent table """ elif False: - GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessArgs: +class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs: def __init__(__self__, *, - id: str): + table_full_name: str): """ - :param str id: the id of Job if the resource was matched by name. + :param str table_full_name: Full name of the dependent table """ - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "table_full_name", table_full_name) @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="tableFullName") + def table_full_name(self) -> str: """ - the id of Job if the resource was matched by name. + Full name of the dependent table """ - return pulumi.get(self, "id") + return pulumi.get(self, "table_full_name") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @table_full_name.setter + def table_full_name(self, value: str): + pulumi.set(self, "table_full_name", value) if not MYPY: - class GetJobJobSettingsSettingsTriggerArgsDict(TypedDict): - file_arrival: NotRequired['GetJobJobSettingsSettingsTriggerFileArrivalArgsDict'] - pause_status: NotRequired[str] - periodic: NotRequired['GetJobJobSettingsSettingsTriggerPeriodicArgsDict'] - table_update: NotRequired['GetJobJobSettingsSettingsTriggerTableUpdateArgsDict'] + class GetSchemaSchemaInfoArgsDict(TypedDict): + browse_only: NotRequired[bool] + """ + indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + """ + catalog_name: NotRequired[str] + """ + the name of the catalog where the schema is. + """ + catalog_type: NotRequired[str] + """ + the type of the parent catalog. + """ + comment: NotRequired[str] + """ + the comment attached to the volume + """ + created_at: NotRequired[int] + """ + time at which this schema was created, in epoch milliseconds. + """ + created_by: NotRequired[str] + """ + username of schema creator. + """ + effective_predictive_optimization_flag: NotRequired['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict'] + """ + information about actual state of predictive optimization. + """ + enable_predictive_optimization: NotRequired[str] + """ + whether predictive optimization should be enabled for this object and objects under it. + """ + full_name: NotRequired[str] + """ + the two-level (fully qualified) name of the schema + """ + metastore_id: NotRequired[str] + """ + the unique identifier of the metastore + """ + name: NotRequired[str] + """ + a fully qualified name of databricks_schema: *`catalog`.`schema`* + """ + owner: NotRequired[str] + """ + the identifier of the user who owns the schema + """ + properties: NotRequired[Mapping[str, str]] + """ + map of properties set on the schema + """ + schema_id: NotRequired[str] + """ + the unique identifier of the volume + """ + storage_location: NotRequired[str] + """ + the storage location on the cloud. + """ + storage_root: NotRequired[str] + """ + storage root URL for managed tables within schema. + """ + updated_at: NotRequired[int] + """ + the timestamp of the last time changes were made to the schema + """ + updated_by: NotRequired[str] + """ + the identifier of the user who updated the schema last time + """ elif False: - GetJobJobSettingsSettingsTriggerArgsDict: TypeAlias = Mapping[str, Any] + GetSchemaSchemaInfoArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsTriggerArgs: +class GetSchemaSchemaInfoArgs: def __init__(__self__, *, - file_arrival: Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs'] = None, - pause_status: Optional[str] = None, - periodic: Optional['GetJobJobSettingsSettingsTriggerPeriodicArgs'] = None, - table_update: Optional['GetJobJobSettingsSettingsTriggerTableUpdateArgs'] = None): - if file_arrival is not None: - pulumi.set(__self__, "file_arrival", file_arrival) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) - if periodic is not None: - pulumi.set(__self__, "periodic", periodic) - if table_update is not None: - pulumi.set(__self__, "table_update", table_update) + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + catalog_type: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + effective_predictive_optimization_flag: Optional['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs'] = None, + enable_predictive_optimization: Optional[str] = None, + full_name: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + properties: Optional[Mapping[str, str]] = None, + schema_id: Optional[str] = None, + storage_location: Optional[str] = None, + storage_root: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param bool browse_only: indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + :param str catalog_name: the name of the catalog where the schema is. + :param str catalog_type: the type of the parent catalog. + :param str comment: the comment attached to the volume + :param int created_at: time at which this schema was created, in epoch milliseconds. + :param str created_by: username of schema creator. + :param 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: information about actual state of predictive optimization. + :param str enable_predictive_optimization: whether predictive optimization should be enabled for this object and objects under it. + :param str full_name: the two-level (fully qualified) name of the schema + :param str metastore_id: the unique identifier of the metastore + :param str name: a fully qualified name of databricks_schema: *`catalog`.`schema`* + :param str owner: the identifier of the user who owns the schema + :param Mapping[str, str] properties: map of properties set on the schema + :param str schema_id: the unique identifier of the volume + :param str storage_location: the storage location on the cloud. + :param str storage_root: storage root URL for managed tables within schema. + :param int updated_at: the timestamp of the last time changes were made to the schema + :param str updated_by: the identifier of the user who updated the schema last time + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if catalog_type is not None: + pulumi.set(__self__, "catalog_type", catalog_type) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if schema_id is not None: + pulumi.set(__self__, "schema_id", schema_id) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="fileArrival") - def file_arrival(self) -> Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs']: - return pulumi.get(self, "file_arrival") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + """ + indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + """ + return pulumi.get(self, "browse_only") - @file_arrival.setter - def file_arrival(self, value: Optional['GetJobJobSettingsSettingsTriggerFileArrivalArgs']): - pulumi.set(self, "file_arrival", value) + @browse_only.setter + def browse_only(self, value: Optional[bool]): + pulumi.set(self, "browse_only", value) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[str]: - return pulumi.get(self, "pause_status") + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + the name of the catalog where the schema is. + """ + return pulumi.get(self, "catalog_name") - @pause_status.setter - def pause_status(self, value: Optional[str]): - pulumi.set(self, "pause_status", value) + @catalog_name.setter + def catalog_name(self, value: Optional[str]): + pulumi.set(self, "catalog_name", value) @property - @pulumi.getter - def periodic(self) -> Optional['GetJobJobSettingsSettingsTriggerPeriodicArgs']: - return pulumi.get(self, "periodic") + @pulumi.getter(name="catalogType") + def catalog_type(self) -> Optional[str]: + """ + the type of the parent catalog. + """ + return pulumi.get(self, "catalog_type") - @periodic.setter - def periodic(self, value: Optional['GetJobJobSettingsSettingsTriggerPeriodicArgs']): - pulumi.set(self, "periodic", value) + @catalog_type.setter + def catalog_type(self, value: Optional[str]): + pulumi.set(self, "catalog_type", value) @property - @pulumi.getter(name="tableUpdate") - def table_update(self) -> Optional['GetJobJobSettingsSettingsTriggerTableUpdateArgs']: - return pulumi.get(self, "table_update") - - @table_update.setter - def table_update(self, value: Optional['GetJobJobSettingsSettingsTriggerTableUpdateArgs']): - pulumi.set(self, "table_update", value) + @pulumi.getter + def comment(self) -> Optional[str]: + """ + the comment attached to the volume + """ + return pulumi.get(self, "comment") + @comment.setter + def comment(self, value: Optional[str]): + pulumi.set(self, "comment", value) -if not MYPY: - class GetJobJobSettingsSettingsTriggerFileArrivalArgsDict(TypedDict): - url: str - min_time_between_triggers_seconds: NotRequired[int] - wait_after_last_change_seconds: NotRequired[int] -elif False: - GetJobJobSettingsSettingsTriggerFileArrivalArgsDict: TypeAlias = Mapping[str, Any] + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + time at which this schema was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") -@pulumi.input_type -class GetJobJobSettingsSettingsTriggerFileArrivalArgs: - def __init__(__self__, *, - url: str, - min_time_between_triggers_seconds: Optional[int] = None, - wait_after_last_change_seconds: Optional[int] = None): - pulumi.set(__self__, "url", url) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + @created_at.setter + def created_at(self, value: Optional[int]): + pulumi.set(self, "created_at", value) @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + username of schema creator. + """ + return pulumi.get(self, "created_by") - @url.setter - def url(self, value: str): - pulumi.set(self, "url", value) + @created_by.setter + def created_by(self, value: Optional[str]): + pulumi.set(self, "created_by", value) @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[int]: - return pulumi.get(self, "min_time_between_triggers_seconds") + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs']: + """ + information about actual state of predictive optimization. + """ + return pulumi.get(self, "effective_predictive_optimization_flag") - @min_time_between_triggers_seconds.setter - def min_time_between_triggers_seconds(self, value: Optional[int]): - pulumi.set(self, "min_time_between_triggers_seconds", value) + @effective_predictive_optimization_flag.setter + def effective_predictive_optimization_flag(self, value: Optional['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs']): + pulumi.set(self, "effective_predictive_optimization_flag", value) @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[int]: - return pulumi.get(self, "wait_after_last_change_seconds") + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + """ + whether predictive optimization should be enabled for this object and objects under it. + """ + return pulumi.get(self, "enable_predictive_optimization") - @wait_after_last_change_seconds.setter - def wait_after_last_change_seconds(self, value: Optional[int]): - pulumi.set(self, "wait_after_last_change_seconds", value) + @enable_predictive_optimization.setter + def enable_predictive_optimization(self, value: Optional[str]): + pulumi.set(self, "enable_predictive_optimization", value) + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + the two-level (fully qualified) name of the schema + """ + return pulumi.get(self, "full_name") -if not MYPY: - class GetJobJobSettingsSettingsTriggerPeriodicArgsDict(TypedDict): - interval: int - unit: str -elif False: - GetJobJobSettingsSettingsTriggerPeriodicArgsDict: TypeAlias = Mapping[str, Any] + @full_name.setter + def full_name(self, value: Optional[str]): + pulumi.set(self, "full_name", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTriggerPeriodicArgs: - def __init__(__self__, *, - interval: int, - unit: str): - pulumi.set(__self__, "interval", interval) - pulumi.set(__self__, "unit", unit) + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + the unique identifier of the metastore + """ + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[str]): + pulumi.set(self, "metastore_id", value) @property @pulumi.getter - def interval(self) -> int: - return pulumi.get(self, "interval") + def name(self) -> Optional[str]: + """ + a fully qualified name of databricks_schema: *`catalog`.`schema`* + """ + return pulumi.get(self, "name") - @interval.setter - def interval(self, value: int): - pulumi.set(self, "interval", value) + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property @pulumi.getter - def unit(self) -> str: - return pulumi.get(self, "unit") + def owner(self) -> Optional[str]: + """ + the identifier of the user who owns the schema + """ + return pulumi.get(self, "owner") - @unit.setter - def unit(self, value: str): - pulumi.set(self, "unit", value) + @owner.setter + def owner(self, value: Optional[str]): + pulumi.set(self, "owner", value) + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, str]]: + """ + map of properties set on the schema + """ + return pulumi.get(self, "properties") -if not MYPY: - class GetJobJobSettingsSettingsTriggerTableUpdateArgsDict(TypedDict): - table_names: Sequence[str] - condition: NotRequired[str] - min_time_between_triggers_seconds: NotRequired[int] - wait_after_last_change_seconds: NotRequired[int] -elif False: - GetJobJobSettingsSettingsTriggerTableUpdateArgsDict: TypeAlias = Mapping[str, Any] + @properties.setter + def properties(self, value: Optional[Mapping[str, str]]): + pulumi.set(self, "properties", value) -@pulumi.input_type -class GetJobJobSettingsSettingsTriggerTableUpdateArgs: - def __init__(__self__, *, - table_names: Sequence[str], - condition: Optional[str] = None, - min_time_between_triggers_seconds: Optional[int] = None, - wait_after_last_change_seconds: Optional[int] = None): - pulumi.set(__self__, "table_names", table_names) - if condition is not None: - pulumi.set(__self__, "condition", condition) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + @property + @pulumi.getter(name="schemaId") + def schema_id(self) -> Optional[str]: + """ + the unique identifier of the volume + """ + return pulumi.get(self, "schema_id") + + @schema_id.setter + def schema_id(self, value: Optional[str]): + pulumi.set(self, "schema_id", value) @property - @pulumi.getter(name="tableNames") - def table_names(self) -> Sequence[str]: - return pulumi.get(self, "table_names") + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + the storage location on the cloud. + """ + return pulumi.get(self, "storage_location") - @table_names.setter - def table_names(self, value: Sequence[str]): - pulumi.set(self, "table_names", value) + @storage_location.setter + def storage_location(self, value: Optional[str]): + pulumi.set(self, "storage_location", value) @property - @pulumi.getter - def condition(self) -> Optional[str]: - return pulumi.get(self, "condition") + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + storage root URL for managed tables within schema. + """ + return pulumi.get(self, "storage_root") - @condition.setter - def condition(self, value: Optional[str]): - pulumi.set(self, "condition", value) + @storage_root.setter + def storage_root(self, value: Optional[str]): + pulumi.set(self, "storage_root", value) @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[int]: - return pulumi.get(self, "min_time_between_triggers_seconds") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + the timestamp of the last time changes were made to the schema + """ + return pulumi.get(self, "updated_at") - @min_time_between_triggers_seconds.setter - def min_time_between_triggers_seconds(self, value: Optional[int]): - pulumi.set(self, "min_time_between_triggers_seconds", value) + @updated_at.setter + def updated_at(self, value: Optional[int]): + pulumi.set(self, "updated_at", value) @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[int]: - return pulumi.get(self, "wait_after_last_change_seconds") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the identifier of the user who updated the schema last time + """ + return pulumi.get(self, "updated_by") - @wait_after_last_change_seconds.setter - def wait_after_last_change_seconds(self, value: Optional[int]): - pulumi.set(self, "wait_after_last_change_seconds", value) + @updated_by.setter + def updated_by(self, value: Optional[str]): + pulumi.set(self, "updated_by", value) if not MYPY: - class GetJobJobSettingsSettingsWebhookNotificationsArgsDict(TypedDict): - on_duration_warning_threshold_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgsDict']] - on_failures: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgsDict']] - on_starts: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgsDict']] - on_streaming_backlog_exceededs: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgsDict']] - on_successes: NotRequired[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgsDict']] + class GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict(TypedDict): + value: str + inherited_from_name: NotRequired[str] + inherited_from_type: NotRequired[str] elif False: - GetJobJobSettingsSettingsWebhookNotificationsArgsDict: TypeAlias = Mapping[str, Any] + GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsWebhookNotificationsArgs: +class GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs: def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs']] = None, - on_failures: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']] = None, - on_starts: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']] = None, - on_streaming_backlog_exceededs: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs']] = None, - on_successes: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']] = None): - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) - - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs']]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - - @on_duration_warning_threshold_exceededs.setter - def on_duration_warning_threshold_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs']]): - pulumi.set(self, "on_duration_warning_threshold_exceededs", value) - - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']]: - return pulumi.get(self, "on_failures") - - @on_failures.setter - def on_failures(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']]): - pulumi.set(self, "on_failures", value) + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']]: - return pulumi.get(self, "on_starts") + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") - @on_starts.setter - def on_starts(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']]): - pulumi.set(self, "on_starts", value) + @value.setter + def value(self, value: str): + pulumi.set(self, "value", value) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs']]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") - @on_streaming_backlog_exceededs.setter - def on_streaming_backlog_exceededs(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs']]): - pulumi.set(self, "on_streaming_backlog_exceededs", value) + @inherited_from_name.setter + def inherited_from_name(self, value: Optional[str]): + pulumi.set(self, "inherited_from_name", value) @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']]: - return pulumi.get(self, "on_successes") + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") - @on_successes.setter - def on_successes(self, value: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']]): - pulumi.set(self, "on_successes", value) + @inherited_from_type.setter + def inherited_from_type(self, value: Optional[str]): + pulumi.set(self, "inherited_from_type", value) if not MYPY: - class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgsDict(TypedDict): - id: str + class GetServingEndpointsEndpointArgsDict(TypedDict): + ai_gateways: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayArgsDict']] """ - the id of Job if the resource was matched by name. + A block with AI Gateway configuration for the serving endpoint. """ -elif False: - GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgsDict: TypeAlias = Mapping[str, Any] - -@pulumi.input_type -class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededArgs: - def __init__(__self__, *, - id: str): + configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigArgsDict']] """ - :param str id: the id of Job if the resource was matched by name. + The model serving endpoint configuration. """ - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter - def id(self) -> str: + creation_timestamp: NotRequired[int] + creator: NotRequired[str] + id: NotRequired[str] + last_updated_timestamp: NotRequired[int] + name: NotRequired[str] """ - the id of Job if the resource was matched by name. + The name of the model serving endpoint. """ - return pulumi.get(self, "id") - - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) - - -if not MYPY: - class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgsDict(TypedDict): - id: str + states: NotRequired[Sequence['GetServingEndpointsEndpointStateArgsDict']] + tags: NotRequired[Sequence['GetServingEndpointsEndpointTagArgsDict']] """ - the id of Job if the resource was matched by name. + Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ + task: NotRequired[str] elif False: - GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs: +class GetServingEndpointsEndpointArgs: def __init__(__self__, *, - id: str): + ai_gateways: Optional[Sequence['GetServingEndpointsEndpointAiGatewayArgs']] = None, + configs: Optional[Sequence['GetServingEndpointsEndpointConfigArgs']] = None, + creation_timestamp: Optional[int] = None, + creator: Optional[str] = None, + id: Optional[str] = None, + last_updated_timestamp: Optional[int] = None, + name: Optional[str] = None, + states: Optional[Sequence['GetServingEndpointsEndpointStateArgs']] = None, + tags: Optional[Sequence['GetServingEndpointsEndpointTagArgs']] = None, + task: Optional[str] = None): + """ + :param Sequence['GetServingEndpointsEndpointAiGatewayArgs'] ai_gateways: A block with AI Gateway configuration for the serving endpoint. + :param Sequence['GetServingEndpointsEndpointConfigArgs'] configs: The model serving endpoint configuration. + :param str name: The name of the model serving endpoint. + :param Sequence['GetServingEndpointsEndpointTagArgs'] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. + """ + if ai_gateways is not None: + pulumi.set(__self__, "ai_gateways", ai_gateways) + if configs is not None: + pulumi.set(__self__, "configs", configs) + if creation_timestamp is not None: + pulumi.set(__self__, "creation_timestamp", creation_timestamp) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if id is not None: + pulumi.set(__self__, "id", id) + if last_updated_timestamp is not None: + pulumi.set(__self__, "last_updated_timestamp", last_updated_timestamp) + if name is not None: + pulumi.set(__self__, "name", name) + if states is not None: + pulumi.set(__self__, "states", states) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if task is not None: + pulumi.set(__self__, "task", task) + + @property + @pulumi.getter(name="aiGateways") + def ai_gateways(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayArgs']]: """ - :param str id: the id of Job if the resource was matched by name. + A block with AI Gateway configuration for the serving endpoint. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "ai_gateways") + + @ai_gateways.setter + def ai_gateways(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayArgs']]): + pulumi.set(self, "ai_gateways", value) @property @pulumi.getter - def id(self) -> str: + def configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigArgs']]: """ - the id of Job if the resource was matched by name. + The model serving endpoint configuration. """ - return pulumi.get(self, "id") + return pulumi.get(self, "configs") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @configs.setter + def configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigArgs']]): + pulumi.set(self, "configs", value) + @property + @pulumi.getter(name="creationTimestamp") + def creation_timestamp(self) -> Optional[int]: + return pulumi.get(self, "creation_timestamp") -if not MYPY: - class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ -elif False: - GetJobJobSettingsSettingsWebhookNotificationsOnStartArgsDict: TypeAlias = Mapping[str, Any] + @creation_timestamp.setter + def creation_timestamp(self, value: Optional[int]): + pulumi.set(self, "creation_timestamp", value) -@pulumi.input_type -class GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs: - def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + @property + @pulumi.getter + def creator(self) -> Optional[str]: + return pulumi.get(self, "creator") + + @creator.setter + def creator(self, value: Optional[str]): + pulumi.set(self, "creator", value) @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ + def id(self) -> Optional[str]: return pulumi.get(self, "id") @id.setter - def id(self, value: str): + def id(self, value: Optional[str]): pulumi.set(self, "id", value) + @property + @pulumi.getter(name="lastUpdatedTimestamp") + def last_updated_timestamp(self) -> Optional[int]: + return pulumi.get(self, "last_updated_timestamp") -if not MYPY: - class GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgsDict(TypedDict): - id: str - """ - the id of Job if the resource was matched by name. - """ -elif False: - GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgsDict: TypeAlias = Mapping[str, Any] + @last_updated_timestamp.setter + def last_updated_timestamp(self, value: Optional[int]): + pulumi.set(self, "last_updated_timestamp", value) -@pulumi.input_type -class GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededArgs: - def __init__(__self__, *, - id: str): + @property + @pulumi.getter + def name(self) -> Optional[str]: """ - :param str id: the id of Job if the resource was matched by name. + The name of the model serving endpoint. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) @property @pulumi.getter - def id(self) -> str: + def states(self) -> Optional[Sequence['GetServingEndpointsEndpointStateArgs']]: + return pulumi.get(self, "states") + + @states.setter + def states(self, value: Optional[Sequence['GetServingEndpointsEndpointStateArgs']]): + pulumi.set(self, "states", value) + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['GetServingEndpointsEndpointTagArgs']]: """ - the id of Job if the resource was matched by name. + Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ - return pulumi.get(self, "id") + return pulumi.get(self, "tags") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @tags.setter + def tags(self, value: Optional[Sequence['GetServingEndpointsEndpointTagArgs']]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter + def task(self) -> Optional[str]: + return pulumi.get(self, "task") + + @task.setter + def task(self, value: Optional[str]): + pulumi.set(self, "task", value) if not MYPY: - class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgsDict(TypedDict): - id: str + class GetServingEndpointsEndpointAiGatewayArgsDict(TypedDict): + guardrails: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailArgsDict']] + inference_table_configs: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgsDict']] + rate_limits: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayRateLimitArgsDict']] """ - the id of Job if the resource was matched by name. + A list of rate limit blocks to be applied to the serving endpoint. """ + usage_tracking_configs: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgsDict']] elif False: - GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointAiGatewayArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs: +class GetServingEndpointsEndpointAiGatewayArgs: def __init__(__self__, *, - id: str): + guardrails: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailArgs']] = None, + inference_table_configs: Optional[Sequence['GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs']] = None, + rate_limits: Optional[Sequence['GetServingEndpointsEndpointAiGatewayRateLimitArgs']] = None, + usage_tracking_configs: Optional[Sequence['GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs']] = None): """ - :param str id: the id of Job if the resource was matched by name. + :param Sequence['GetServingEndpointsEndpointAiGatewayRateLimitArgs'] rate_limits: A list of rate limit blocks to be applied to the serving endpoint. """ - pulumi.set(__self__, "id", id) + if guardrails is not None: + pulumi.set(__self__, "guardrails", guardrails) + if inference_table_configs is not None: + pulumi.set(__self__, "inference_table_configs", inference_table_configs) + if rate_limits is not None: + pulumi.set(__self__, "rate_limits", rate_limits) + if usage_tracking_configs is not None: + pulumi.set(__self__, "usage_tracking_configs", usage_tracking_configs) @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + def guardrails(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailArgs']]: + return pulumi.get(self, "guardrails") - @id.setter - def id(self, value: str): - pulumi.set(self, "id", value) + @guardrails.setter + def guardrails(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailArgs']]): + pulumi.set(self, "guardrails", value) + @property + @pulumi.getter(name="inferenceTableConfigs") + def inference_table_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs']]: + return pulumi.get(self, "inference_table_configs") -if not MYPY: - class GetMetastoreMetastoreInfoArgsDict(TypedDict): - cloud: NotRequired[str] - created_at: NotRequired[int] - created_by: NotRequired[str] - default_data_access_config_id: NotRequired[str] - delta_sharing_organization_name: NotRequired[str] - """ - The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - """ - delta_sharing_recipient_token_lifetime_in_seconds: NotRequired[int] - """ - Used to set expiration duration in seconds on recipient data access tokens. - """ - delta_sharing_scope: NotRequired[str] - """ - Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - """ - external_access_enabled: NotRequired[bool] - global_metastore_id: NotRequired[str] - metastore_id: NotRequired[str] - """ - ID of the metastore - """ - name: NotRequired[str] - """ - Name of the metastore - """ - owner: NotRequired[str] - """ - Username/groupname/sp application_id of the metastore owner. - """ - privilege_model_version: NotRequired[str] - region: NotRequired[str] - """ - Region of the metastore - """ - storage_root: NotRequired[str] - """ - Path on cloud storage account, where managed `Table` are stored. - """ - storage_root_credential_id: NotRequired[str] - storage_root_credential_name: NotRequired[str] - updated_at: NotRequired[int] - updated_by: NotRequired[str] -elif False: - GetMetastoreMetastoreInfoArgsDict: TypeAlias = Mapping[str, Any] + @inference_table_configs.setter + def inference_table_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs']]): + pulumi.set(self, "inference_table_configs", value) -@pulumi.input_type -class GetMetastoreMetastoreInfoArgs: - def __init__(__self__, *, - cloud: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - default_data_access_config_id: Optional[str] = None, - delta_sharing_organization_name: Optional[str] = None, - delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, - delta_sharing_scope: Optional[str] = None, - external_access_enabled: Optional[bool] = None, - global_metastore_id: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - privilege_model_version: Optional[str] = None, - region: Optional[str] = None, - storage_root: Optional[str] = None, - storage_root_credential_id: Optional[str] = None, - storage_root_credential_name: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - :param int delta_sharing_recipient_token_lifetime_in_seconds: Used to set expiration duration in seconds on recipient data access tokens. - :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - :param str metastore_id: ID of the metastore - :param str name: Name of the metastore - :param str owner: Username/groupname/sp application_id of the metastore owner. - :param str region: Region of the metastore - :param str storage_root: Path on cloud storage account, where managed `Table` are stored. + @property + @pulumi.getter(name="rateLimits") + def rate_limits(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayRateLimitArgs']]: """ - if cloud is not None: - pulumi.set(__self__, "cloud", cloud) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if default_data_access_config_id is not None: - pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) - if delta_sharing_organization_name is not None: - pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) - if delta_sharing_recipient_token_lifetime_in_seconds is not None: - pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) - if delta_sharing_scope is not None: - pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) - if external_access_enabled is not None: - pulumi.set(__self__, "external_access_enabled", external_access_enabled) - if global_metastore_id is not None: - pulumi.set(__self__, "global_metastore_id", global_metastore_id) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if privilege_model_version is not None: - pulumi.set(__self__, "privilege_model_version", privilege_model_version) - if region is not None: - pulumi.set(__self__, "region", region) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if storage_root_credential_id is not None: - pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) - if storage_root_credential_name is not None: - pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + A list of rate limit blocks to be applied to the serving endpoint. + """ + return pulumi.get(self, "rate_limits") + + @rate_limits.setter + def rate_limits(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayRateLimitArgs']]): + pulumi.set(self, "rate_limits", value) @property - @pulumi.getter - def cloud(self) -> Optional[str]: - return pulumi.get(self, "cloud") + @pulumi.getter(name="usageTrackingConfigs") + def usage_tracking_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs']]: + return pulumi.get(self, "usage_tracking_configs") - @cloud.setter - def cloud(self, value: Optional[str]): - pulumi.set(self, "cloud", value) + @usage_tracking_configs.setter + def usage_tracking_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs']]): + pulumi.set(self, "usage_tracking_configs", value) - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - return pulumi.get(self, "created_at") - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) +if not MYPY: + class GetServingEndpointsEndpointAiGatewayGuardrailArgsDict(TypedDict): + input_properties: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgsDict']] + outputs: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputArgsDict']] +elif False: + GetServingEndpointsEndpointAiGatewayGuardrailArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayGuardrailArgs: + def __init__(__self__, *, + input_properties: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs']] = None, + outputs: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs']] = None): + if input_properties is not None: + pulumi.set(__self__, "input_properties", input_properties) + if outputs is not None: + pulumi.set(__self__, "outputs", outputs) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - return pulumi.get(self, "created_by") + @pulumi.getter(name="inputProperties") + def input_properties(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs']]: + return pulumi.get(self, "input_properties") - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) + @input_properties.setter + def input_properties(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs']]): + pulumi.set(self, "input_properties", value) @property - @pulumi.getter(name="defaultDataAccessConfigId") - def default_data_access_config_id(self) -> Optional[str]: - return pulumi.get(self, "default_data_access_config_id") + @pulumi.getter + def outputs(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs']]: + return pulumi.get(self, "outputs") - @default_data_access_config_id.setter - def default_data_access_config_id(self, value: Optional[str]): - pulumi.set(self, "default_data_access_config_id", value) + @outputs.setter + def outputs(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs']]): + pulumi.set(self, "outputs", value) + + +if not MYPY: + class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgsDict(TypedDict): + invalid_keywords: NotRequired[Sequence[str]] + piis: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgsDict']] + safety: NotRequired[bool] + valid_topics: NotRequired[Sequence[str]] +elif False: + GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyArgs: + def __init__(__self__, *, + invalid_keywords: Optional[Sequence[str]] = None, + piis: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs']] = None, + safety: Optional[bool] = None, + valid_topics: Optional[Sequence[str]] = None): + if invalid_keywords is not None: + pulumi.set(__self__, "invalid_keywords", invalid_keywords) + if piis is not None: + pulumi.set(__self__, "piis", piis) + if safety is not None: + pulumi.set(__self__, "safety", safety) + if valid_topics is not None: + pulumi.set(__self__, "valid_topics", valid_topics) @property - @pulumi.getter(name="deltaSharingOrganizationName") - def delta_sharing_organization_name(self) -> Optional[str]: - """ - The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - """ - return pulumi.get(self, "delta_sharing_organization_name") + @pulumi.getter(name="invalidKeywords") + def invalid_keywords(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "invalid_keywords") - @delta_sharing_organization_name.setter - def delta_sharing_organization_name(self, value: Optional[str]): - pulumi.set(self, "delta_sharing_organization_name", value) + @invalid_keywords.setter + def invalid_keywords(self, value: Optional[Sequence[str]]): + pulumi.set(self, "invalid_keywords", value) @property - @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") - def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: - """ - Used to set expiration duration in seconds on recipient data access tokens. - """ - return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") + @pulumi.getter + def piis(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs']]: + return pulumi.get(self, "piis") - @delta_sharing_recipient_token_lifetime_in_seconds.setter - def delta_sharing_recipient_token_lifetime_in_seconds(self, value: Optional[int]): - pulumi.set(self, "delta_sharing_recipient_token_lifetime_in_seconds", value) + @piis.setter + def piis(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs']]): + pulumi.set(self, "piis", value) @property - @pulumi.getter(name="deltaSharingScope") - def delta_sharing_scope(self) -> Optional[str]: - """ - Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - """ - return pulumi.get(self, "delta_sharing_scope") + @pulumi.getter + def safety(self) -> Optional[bool]: + return pulumi.get(self, "safety") - @delta_sharing_scope.setter - def delta_sharing_scope(self, value: Optional[str]): - pulumi.set(self, "delta_sharing_scope", value) + @safety.setter + def safety(self, value: Optional[bool]): + pulumi.set(self, "safety", value) @property - @pulumi.getter(name="externalAccessEnabled") - def external_access_enabled(self) -> Optional[bool]: - return pulumi.get(self, "external_access_enabled") + @pulumi.getter(name="validTopics") + def valid_topics(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "valid_topics") + + @valid_topics.setter + def valid_topics(self, value: Optional[Sequence[str]]): + pulumi.set(self, "valid_topics", value) - @external_access_enabled.setter - def external_access_enabled(self, value: Optional[bool]): - pulumi.set(self, "external_access_enabled", value) + +if not MYPY: + class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgsDict(TypedDict): + behavior: str +elif False: + GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiArgs: + def __init__(__self__, *, + behavior: str): + pulumi.set(__self__, "behavior", behavior) @property - @pulumi.getter(name="globalMetastoreId") - def global_metastore_id(self) -> Optional[str]: - return pulumi.get(self, "global_metastore_id") + @pulumi.getter + def behavior(self) -> str: + return pulumi.get(self, "behavior") - @global_metastore_id.setter - def global_metastore_id(self, value: Optional[str]): - pulumi.set(self, "global_metastore_id", value) + @behavior.setter + def behavior(self, value: str): + pulumi.set(self, "behavior", value) + + +if not MYPY: + class GetServingEndpointsEndpointAiGatewayGuardrailOutputArgsDict(TypedDict): + invalid_keywords: NotRequired[Sequence[str]] + piis: NotRequired[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgsDict']] + safety: NotRequired[bool] + valid_topics: NotRequired[Sequence[str]] +elif False: + GetServingEndpointsEndpointAiGatewayGuardrailOutputArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayGuardrailOutputArgs: + def __init__(__self__, *, + invalid_keywords: Optional[Sequence[str]] = None, + piis: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs']] = None, + safety: Optional[bool] = None, + valid_topics: Optional[Sequence[str]] = None): + if invalid_keywords is not None: + pulumi.set(__self__, "invalid_keywords", invalid_keywords) + if piis is not None: + pulumi.set(__self__, "piis", piis) + if safety is not None: + pulumi.set(__self__, "safety", safety) + if valid_topics is not None: + pulumi.set(__self__, "valid_topics", valid_topics) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - ID of the metastore - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="invalidKeywords") + def invalid_keywords(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "invalid_keywords") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) + @invalid_keywords.setter + def invalid_keywords(self, value: Optional[Sequence[str]]): + pulumi.set(self, "invalid_keywords", value) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of the metastore - """ - return pulumi.get(self, "name") + def piis(self) -> Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs']]: + return pulumi.get(self, "piis") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @piis.setter + def piis(self, value: Optional[Sequence['GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs']]): + pulumi.set(self, "piis", value) @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username/groupname/sp application_id of the metastore owner. - """ - return pulumi.get(self, "owner") + def safety(self) -> Optional[bool]: + return pulumi.get(self, "safety") - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) + @safety.setter + def safety(self, value: Optional[bool]): + pulumi.set(self, "safety", value) @property - @pulumi.getter(name="privilegeModelVersion") - def privilege_model_version(self) -> Optional[str]: - return pulumi.get(self, "privilege_model_version") + @pulumi.getter(name="validTopics") + def valid_topics(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "valid_topics") - @privilege_model_version.setter - def privilege_model_version(self, value: Optional[str]): - pulumi.set(self, "privilege_model_version", value) + @valid_topics.setter + def valid_topics(self, value: Optional[Sequence[str]]): + pulumi.set(self, "valid_topics", value) + + +if not MYPY: + class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgsDict(TypedDict): + behavior: str +elif False: + GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiArgs: + def __init__(__self__, *, + behavior: str): + pulumi.set(__self__, "behavior", behavior) @property @pulumi.getter - def region(self) -> Optional[str]: - """ - Region of the metastore - """ - return pulumi.get(self, "region") + def behavior(self) -> str: + return pulumi.get(self, "behavior") - @region.setter - def region(self, value: Optional[str]): - pulumi.set(self, "region", value) + @behavior.setter + def behavior(self, value: str): + pulumi.set(self, "behavior", value) - @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - Path on cloud storage account, where managed `Table` are stored. - """ - return pulumi.get(self, "storage_root") - @storage_root.setter - def storage_root(self, value: Optional[str]): - pulumi.set(self, "storage_root", value) +if not MYPY: + class GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgsDict(TypedDict): + catalog_name: NotRequired[str] + enabled: NotRequired[bool] + schema_name: NotRequired[str] + table_name_prefix: NotRequired[str] +elif False: + GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayInferenceTableConfigArgs: + def __init__(__self__, *, + catalog_name: Optional[str] = None, + enabled: Optional[bool] = None, + schema_name: Optional[str] = None, + table_name_prefix: Optional[str] = None): + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if table_name_prefix is not None: + pulumi.set(__self__, "table_name_prefix", table_name_prefix) @property - @pulumi.getter(name="storageRootCredentialId") - def storage_root_credential_id(self) -> Optional[str]: - return pulumi.get(self, "storage_root_credential_id") + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + return pulumi.get(self, "catalog_name") - @storage_root_credential_id.setter - def storage_root_credential_id(self, value: Optional[str]): - pulumi.set(self, "storage_root_credential_id", value) + @catalog_name.setter + def catalog_name(self, value: Optional[str]): + pulumi.set(self, "catalog_name", value) @property - @pulumi.getter(name="storageRootCredentialName") - def storage_root_credential_name(self) -> Optional[str]: - return pulumi.get(self, "storage_root_credential_name") + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") - @storage_root_credential_name.setter - def storage_root_credential_name(self, value: Optional[str]): - pulumi.set(self, "storage_root_credential_name", value) + @enabled.setter + def enabled(self, value: Optional[bool]): + pulumi.set(self, "enabled", value) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - return pulumi.get(self, "updated_at") + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + return pulumi.get(self, "schema_name") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @schema_name.setter + def schema_name(self, value: Optional[str]): + pulumi.set(self, "schema_name", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - return pulumi.get(self, "updated_by") + @pulumi.getter(name="tableNamePrefix") + def table_name_prefix(self) -> Optional[str]: + return pulumi.get(self, "table_name_prefix") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @table_name_prefix.setter + def table_name_prefix(self, value: Optional[str]): + pulumi.set(self, "table_name_prefix", value) if not MYPY: - class GetMlflowExperimentTagArgsDict(TypedDict): + class GetServingEndpointsEndpointAiGatewayRateLimitArgsDict(TypedDict): + calls: int + renewal_period: str key: NotRequired[str] - value: NotRequired[str] elif False: - GetMlflowExperimentTagArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointAiGatewayRateLimitArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetMlflowExperimentTagArgs: +class GetServingEndpointsEndpointAiGatewayRateLimitArgs: def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): + calls: int, + renewal_period: str, + key: Optional[str] = None): + pulumi.set(__self__, "calls", calls) + pulumi.set(__self__, "renewal_period", renewal_period) if key is not None: pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def calls(self) -> int: + return pulumi.get(self, "calls") + + @calls.setter + def calls(self, value: int): + pulumi.set(self, "calls", value) + + @property + @pulumi.getter(name="renewalPeriod") + def renewal_period(self) -> str: + return pulumi.get(self, "renewal_period") + + @renewal_period.setter + def renewal_period(self, value: str): + pulumi.set(self, "renewal_period", value) @property @pulumi.getter @@ -52928,139 +57212,142 @@ def key(self) -> Optional[str]: def key(self, value: Optional[str]): pulumi.set(self, "key", value) + +if not MYPY: + class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgsDict(TypedDict): + enabled: NotRequired[bool] +elif False: + GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigArgs: + def __init__(__self__, *, + enabled: Optional[bool] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + @property @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") - @value.setter - def value(self, value: Optional[str]): - pulumi.set(self, "value", value) + @enabled.setter + def enabled(self, value: Optional[bool]): + pulumi.set(self, "enabled", value) if not MYPY: - class GetMlflowModelLatestVersionArgsDict(TypedDict): - creation_timestamp: NotRequired[int] - current_stage: NotRequired[str] - description: NotRequired[str] - """ - User-specified description for the object. - """ - last_updated_timestamp: NotRequired[int] + class GetServingEndpointsEndpointConfigArgsDict(TypedDict): + served_entities: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityArgsDict']] + served_models: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedModelArgsDict']] +elif False: + GetServingEndpointsEndpointConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointConfigArgs: + def __init__(__self__, *, + served_entities: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityArgs']] = None, + served_models: Optional[Sequence['GetServingEndpointsEndpointConfigServedModelArgs']] = None): + if served_entities is not None: + pulumi.set(__self__, "served_entities", served_entities) + if served_models is not None: + pulumi.set(__self__, "served_models", served_models) + + @property + @pulumi.getter(name="servedEntities") + def served_entities(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityArgs']]: + return pulumi.get(self, "served_entities") + + @served_entities.setter + def served_entities(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityArgs']]): + pulumi.set(self, "served_entities", value) + + @property + @pulumi.getter(name="servedModels") + def served_models(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedModelArgs']]: + return pulumi.get(self, "served_models") + + @served_models.setter + def served_models(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedModelArgs']]): + pulumi.set(self, "served_models", value) + + +if not MYPY: + class GetServingEndpointsEndpointConfigServedEntityArgsDict(TypedDict): + entity_name: NotRequired[str] + entity_version: NotRequired[str] + external_models: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelArgsDict']] + foundation_models: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityFoundationModelArgsDict']] name: NotRequired[str] """ - Name of the registered model. - """ - run_id: NotRequired[str] - run_link: NotRequired[str] - source: NotRequired[str] - status: NotRequired[str] - status_message: NotRequired[str] - tags: NotRequired[Sequence['GetMlflowModelLatestVersionTagArgsDict']] - """ - Array of tags associated with the model. - """ - user_id: NotRequired[str] - """ - The username of the user that created the object. + The name of the model serving endpoint. """ - version: NotRequired[str] elif False: - GetMlflowModelLatestVersionArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetMlflowModelLatestVersionArgs: +class GetServingEndpointsEndpointConfigServedEntityArgs: def __init__(__self__, *, - creation_timestamp: Optional[int] = None, - current_stage: Optional[str] = None, - description: Optional[str] = None, - last_updated_timestamp: Optional[int] = None, - name: Optional[str] = None, - run_id: Optional[str] = None, - run_link: Optional[str] = None, - source: Optional[str] = None, - status: Optional[str] = None, - status_message: Optional[str] = None, - tags: Optional[Sequence['GetMlflowModelLatestVersionTagArgs']] = None, - user_id: Optional[str] = None, - version: Optional[str] = None): + entity_name: Optional[str] = None, + entity_version: Optional[str] = None, + external_models: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelArgs']] = None, + foundation_models: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs']] = None, + name: Optional[str] = None): """ - :param str description: User-specified description for the object. - :param str name: Name of the registered model. - :param Sequence['GetMlflowModelLatestVersionTagArgs'] tags: Array of tags associated with the model. - :param str user_id: The username of the user that created the object. + :param str name: The name of the model serving endpoint. """ - if creation_timestamp is not None: - pulumi.set(__self__, "creation_timestamp", creation_timestamp) - if current_stage is not None: - pulumi.set(__self__, "current_stage", current_stage) - if description is not None: - pulumi.set(__self__, "description", description) - if last_updated_timestamp is not None: - pulumi.set(__self__, "last_updated_timestamp", last_updated_timestamp) + if entity_name is not None: + pulumi.set(__self__, "entity_name", entity_name) + if entity_version is not None: + pulumi.set(__self__, "entity_version", entity_version) + if external_models is not None: + pulumi.set(__self__, "external_models", external_models) + if foundation_models is not None: + pulumi.set(__self__, "foundation_models", foundation_models) if name is not None: pulumi.set(__self__, "name", name) - if run_id is not None: - pulumi.set(__self__, "run_id", run_id) - if run_link is not None: - pulumi.set(__self__, "run_link", run_link) - if source is not None: - pulumi.set(__self__, "source", source) - if status is not None: - pulumi.set(__self__, "status", status) - if status_message is not None: - pulumi.set(__self__, "status_message", status_message) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if user_id is not None: - pulumi.set(__self__, "user_id", user_id) - if version is not None: - pulumi.set(__self__, "version", version) @property - @pulumi.getter(name="creationTimestamp") - def creation_timestamp(self) -> Optional[int]: - return pulumi.get(self, "creation_timestamp") + @pulumi.getter(name="entityName") + def entity_name(self) -> Optional[str]: + return pulumi.get(self, "entity_name") - @creation_timestamp.setter - def creation_timestamp(self, value: Optional[int]): - pulumi.set(self, "creation_timestamp", value) + @entity_name.setter + def entity_name(self, value: Optional[str]): + pulumi.set(self, "entity_name", value) @property - @pulumi.getter(name="currentStage") - def current_stage(self) -> Optional[str]: - return pulumi.get(self, "current_stage") + @pulumi.getter(name="entityVersion") + def entity_version(self) -> Optional[str]: + return pulumi.get(self, "entity_version") - @current_stage.setter - def current_stage(self, value: Optional[str]): - pulumi.set(self, "current_stage", value) + @entity_version.setter + def entity_version(self, value: Optional[str]): + pulumi.set(self, "entity_version", value) @property - @pulumi.getter - def description(self) -> Optional[str]: - """ - User-specified description for the object. - """ - return pulumi.get(self, "description") + @pulumi.getter(name="externalModels") + def external_models(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelArgs']]: + return pulumi.get(self, "external_models") - @description.setter - def description(self, value: Optional[str]): - pulumi.set(self, "description", value) + @external_models.setter + def external_models(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelArgs']]): + pulumi.set(self, "external_models", value) @property - @pulumi.getter(name="lastUpdatedTimestamp") - def last_updated_timestamp(self) -> Optional[int]: - return pulumi.get(self, "last_updated_timestamp") + @pulumi.getter(name="foundationModels") + def foundation_models(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs']]: + return pulumi.get(self, "foundation_models") - @last_updated_timestamp.setter - def last_updated_timestamp(self, value: Optional[int]): - pulumi.set(self, "last_updated_timestamp", value) + @foundation_models.setter + def foundation_models(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs']]): + pulumi.set(self, "foundation_models", value) @property @pulumi.getter def name(self) -> Optional[str]: """ - Name of the registered model. + The name of the model serving endpoint. """ return pulumi.get(self, "name") @@ -53068,846 +57355,793 @@ def name(self) -> Optional[str]: def name(self, value: Optional[str]): pulumi.set(self, "name", value) + +if not MYPY: + class GetServingEndpointsEndpointConfigServedEntityExternalModelArgsDict(TypedDict): + name: str + """ + The name of the model serving endpoint. + """ + provider: str + task: str + ai21labs_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgsDict']] + amazon_bedrock_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgsDict']] + anthropic_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgsDict']] + cohere_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgsDict']] + databricks_model_serving_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict']] + google_cloud_vertex_ai_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict']] + openai_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgsDict']] + palm_configs: NotRequired[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgsDict']] +elif False: + GetServingEndpointsEndpointConfigServedEntityExternalModelArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelArgs: + def __init__(__self__, *, + name: str, + provider: str, + task: str, + ai21labs_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs']] = None, + amazon_bedrock_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs']] = None, + anthropic_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs']] = None, + cohere_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs']] = None, + databricks_model_serving_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs']] = None, + google_cloud_vertex_ai_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']] = None, + openai_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs']] = None, + palm_configs: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs']] = None): + """ + :param str name: The name of the model serving endpoint. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "provider", provider) + pulumi.set(__self__, "task", task) + if ai21labs_configs is not None: + pulumi.set(__self__, "ai21labs_configs", ai21labs_configs) + if amazon_bedrock_configs is not None: + pulumi.set(__self__, "amazon_bedrock_configs", amazon_bedrock_configs) + if anthropic_configs is not None: + pulumi.set(__self__, "anthropic_configs", anthropic_configs) + if cohere_configs is not None: + pulumi.set(__self__, "cohere_configs", cohere_configs) + if databricks_model_serving_configs is not None: + pulumi.set(__self__, "databricks_model_serving_configs", databricks_model_serving_configs) + if google_cloud_vertex_ai_configs is not None: + pulumi.set(__self__, "google_cloud_vertex_ai_configs", google_cloud_vertex_ai_configs) + if openai_configs is not None: + pulumi.set(__self__, "openai_configs", openai_configs) + if palm_configs is not None: + pulumi.set(__self__, "palm_configs", palm_configs) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the model serving endpoint. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def provider(self) -> str: + return pulumi.get(self, "provider") + + @provider.setter + def provider(self, value: str): + pulumi.set(self, "provider", value) + + @property + @pulumi.getter + def task(self) -> str: + return pulumi.get(self, "task") + + @task.setter + def task(self, value: str): + pulumi.set(self, "task", value) + + @property + @pulumi.getter(name="ai21labsConfigs") + def ai21labs_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs']]: + return pulumi.get(self, "ai21labs_configs") + + @ai21labs_configs.setter + def ai21labs_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs']]): + pulumi.set(self, "ai21labs_configs", value) + + @property + @pulumi.getter(name="amazonBedrockConfigs") + def amazon_bedrock_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs']]: + return pulumi.get(self, "amazon_bedrock_configs") + + @amazon_bedrock_configs.setter + def amazon_bedrock_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs']]): + pulumi.set(self, "amazon_bedrock_configs", value) + + @property + @pulumi.getter(name="anthropicConfigs") + def anthropic_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs']]: + return pulumi.get(self, "anthropic_configs") + + @anthropic_configs.setter + def anthropic_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs']]): + pulumi.set(self, "anthropic_configs", value) + + @property + @pulumi.getter(name="cohereConfigs") + def cohere_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs']]: + return pulumi.get(self, "cohere_configs") + + @cohere_configs.setter + def cohere_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs']]): + pulumi.set(self, "cohere_configs", value) + + @property + @pulumi.getter(name="databricksModelServingConfigs") + def databricks_model_serving_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs']]: + return pulumi.get(self, "databricks_model_serving_configs") + + @databricks_model_serving_configs.setter + def databricks_model_serving_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs']]): + pulumi.set(self, "databricks_model_serving_configs", value) + + @property + @pulumi.getter(name="googleCloudVertexAiConfigs") + def google_cloud_vertex_ai_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']]: + return pulumi.get(self, "google_cloud_vertex_ai_configs") + + @google_cloud_vertex_ai_configs.setter + def google_cloud_vertex_ai_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs']]): + pulumi.set(self, "google_cloud_vertex_ai_configs", value) + + @property + @pulumi.getter(name="openaiConfigs") + def openai_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs']]: + return pulumi.get(self, "openai_configs") + + @openai_configs.setter + def openai_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs']]): + pulumi.set(self, "openai_configs", value) + + @property + @pulumi.getter(name="palmConfigs") + def palm_configs(self) -> Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs']]: + return pulumi.get(self, "palm_configs") + + @palm_configs.setter + def palm_configs(self, value: Optional[Sequence['GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs']]): + pulumi.set(self, "palm_configs", value) + + +if not MYPY: + class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgsDict(TypedDict): + ai21labs_api_key: NotRequired[str] + ai21labs_api_key_plaintext: NotRequired[str] +elif False: + GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigArgs: + def __init__(__self__, *, + ai21labs_api_key: Optional[str] = None, + ai21labs_api_key_plaintext: Optional[str] = None): + if ai21labs_api_key is not None: + pulumi.set(__self__, "ai21labs_api_key", ai21labs_api_key) + if ai21labs_api_key_plaintext is not None: + pulumi.set(__self__, "ai21labs_api_key_plaintext", ai21labs_api_key_plaintext) + + @property + @pulumi.getter(name="ai21labsApiKey") + def ai21labs_api_key(self) -> Optional[str]: + return pulumi.get(self, "ai21labs_api_key") + + @ai21labs_api_key.setter + def ai21labs_api_key(self, value: Optional[str]): + pulumi.set(self, "ai21labs_api_key", value) + @property - @pulumi.getter(name="runId") - def run_id(self) -> Optional[str]: - return pulumi.get(self, "run_id") + @pulumi.getter(name="ai21labsApiKeyPlaintext") + def ai21labs_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "ai21labs_api_key_plaintext") - @run_id.setter - def run_id(self, value: Optional[str]): - pulumi.set(self, "run_id", value) + @ai21labs_api_key_plaintext.setter + def ai21labs_api_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "ai21labs_api_key_plaintext", value) - @property - @pulumi.getter(name="runLink") - def run_link(self) -> Optional[str]: - return pulumi.get(self, "run_link") - @run_link.setter - def run_link(self, value: Optional[str]): - pulumi.set(self, "run_link", value) +if not MYPY: + class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgsDict(TypedDict): + aws_region: str + bedrock_provider: str + aws_access_key_id: NotRequired[str] + aws_access_key_id_plaintext: NotRequired[str] + aws_secret_access_key: NotRequired[str] + aws_secret_access_key_plaintext: NotRequired[str] +elif False: + GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigArgs: + def __init__(__self__, *, + aws_region: str, + bedrock_provider: str, + aws_access_key_id: Optional[str] = None, + aws_access_key_id_plaintext: Optional[str] = None, + aws_secret_access_key: Optional[str] = None, + aws_secret_access_key_plaintext: Optional[str] = None): + pulumi.set(__self__, "aws_region", aws_region) + pulumi.set(__self__, "bedrock_provider", bedrock_provider) + if aws_access_key_id is not None: + pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) + if aws_access_key_id_plaintext is not None: + pulumi.set(__self__, "aws_access_key_id_plaintext", aws_access_key_id_plaintext) + if aws_secret_access_key is not None: + pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) + if aws_secret_access_key_plaintext is not None: + pulumi.set(__self__, "aws_secret_access_key_plaintext", aws_secret_access_key_plaintext) @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + @pulumi.getter(name="awsRegion") + def aws_region(self) -> str: + return pulumi.get(self, "aws_region") - @source.setter - def source(self, value: Optional[str]): - pulumi.set(self, "source", value) + @aws_region.setter + def aws_region(self, value: str): + pulumi.set(self, "aws_region", value) @property - @pulumi.getter - def status(self) -> Optional[str]: - return pulumi.get(self, "status") + @pulumi.getter(name="bedrockProvider") + def bedrock_provider(self) -> str: + return pulumi.get(self, "bedrock_provider") - @status.setter - def status(self, value: Optional[str]): - pulumi.set(self, "status", value) + @bedrock_provider.setter + def bedrock_provider(self, value: str): + pulumi.set(self, "bedrock_provider", value) @property - @pulumi.getter(name="statusMessage") - def status_message(self) -> Optional[str]: - return pulumi.get(self, "status_message") + @pulumi.getter(name="awsAccessKeyId") + def aws_access_key_id(self) -> Optional[str]: + return pulumi.get(self, "aws_access_key_id") - @status_message.setter - def status_message(self, value: Optional[str]): - pulumi.set(self, "status_message", value) + @aws_access_key_id.setter + def aws_access_key_id(self, value: Optional[str]): + pulumi.set(self, "aws_access_key_id", value) @property - @pulumi.getter - def tags(self) -> Optional[Sequence['GetMlflowModelLatestVersionTagArgs']]: - """ - Array of tags associated with the model. - """ - return pulumi.get(self, "tags") + @pulumi.getter(name="awsAccessKeyIdPlaintext") + def aws_access_key_id_plaintext(self) -> Optional[str]: + return pulumi.get(self, "aws_access_key_id_plaintext") - @tags.setter - def tags(self, value: Optional[Sequence['GetMlflowModelLatestVersionTagArgs']]): - pulumi.set(self, "tags", value) + @aws_access_key_id_plaintext.setter + def aws_access_key_id_plaintext(self, value: Optional[str]): + pulumi.set(self, "aws_access_key_id_plaintext", value) @property - @pulumi.getter(name="userId") - def user_id(self) -> Optional[str]: - """ - The username of the user that created the object. - """ - return pulumi.get(self, "user_id") + @pulumi.getter(name="awsSecretAccessKey") + def aws_secret_access_key(self) -> Optional[str]: + return pulumi.get(self, "aws_secret_access_key") - @user_id.setter - def user_id(self, value: Optional[str]): - pulumi.set(self, "user_id", value) + @aws_secret_access_key.setter + def aws_secret_access_key(self, value: Optional[str]): + pulumi.set(self, "aws_secret_access_key", value) @property - @pulumi.getter - def version(self) -> Optional[str]: - return pulumi.get(self, "version") + @pulumi.getter(name="awsSecretAccessKeyPlaintext") + def aws_secret_access_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "aws_secret_access_key_plaintext") - @version.setter - def version(self, value: Optional[str]): - pulumi.set(self, "version", value) + @aws_secret_access_key_plaintext.setter + def aws_secret_access_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "aws_secret_access_key_plaintext", value) if not MYPY: - class GetMlflowModelLatestVersionTagArgsDict(TypedDict): - key: NotRequired[str] - value: NotRequired[str] + class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgsDict(TypedDict): + anthropic_api_key: NotRequired[str] + anthropic_api_key_plaintext: NotRequired[str] elif False: - GetMlflowModelLatestVersionTagArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetMlflowModelLatestVersionTagArgs: +class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigArgs: def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + anthropic_api_key: Optional[str] = None, + anthropic_api_key_plaintext: Optional[str] = None): + if anthropic_api_key is not None: + pulumi.set(__self__, "anthropic_api_key", anthropic_api_key) + if anthropic_api_key_plaintext is not None: + pulumi.set(__self__, "anthropic_api_key_plaintext", anthropic_api_key_plaintext) @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="anthropicApiKey") + def anthropic_api_key(self) -> Optional[str]: + return pulumi.get(self, "anthropic_api_key") - @key.setter - def key(self, value: Optional[str]): - pulumi.set(self, "key", value) + @anthropic_api_key.setter + def anthropic_api_key(self, value: Optional[str]): + pulumi.set(self, "anthropic_api_key", value) @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + @pulumi.getter(name="anthropicApiKeyPlaintext") + def anthropic_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "anthropic_api_key_plaintext") - @value.setter - def value(self, value: Optional[str]): - pulumi.set(self, "value", value) + @anthropic_api_key_plaintext.setter + def anthropic_api_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "anthropic_api_key_plaintext", value) if not MYPY: - class GetMlflowModelTagArgsDict(TypedDict): - key: NotRequired[str] - value: NotRequired[str] + class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgsDict(TypedDict): + cohere_api_base: NotRequired[str] + cohere_api_key: NotRequired[str] + cohere_api_key_plaintext: NotRequired[str] elif False: - GetMlflowModelTagArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetMlflowModelTagArgs: +class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigArgs: def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + cohere_api_base: Optional[str] = None, + cohere_api_key: Optional[str] = None, + cohere_api_key_plaintext: Optional[str] = None): + if cohere_api_base is not None: + pulumi.set(__self__, "cohere_api_base", cohere_api_base) + if cohere_api_key is not None: + pulumi.set(__self__, "cohere_api_key", cohere_api_key) + if cohere_api_key_plaintext is not None: + pulumi.set(__self__, "cohere_api_key_plaintext", cohere_api_key_plaintext) @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="cohereApiBase") + def cohere_api_base(self) -> Optional[str]: + return pulumi.get(self, "cohere_api_base") - @key.setter - def key(self, value: Optional[str]): - pulumi.set(self, "key", value) + @cohere_api_base.setter + def cohere_api_base(self, value: Optional[str]): + pulumi.set(self, "cohere_api_base", value) @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + @pulumi.getter(name="cohereApiKey") + def cohere_api_key(self) -> Optional[str]: + return pulumi.get(self, "cohere_api_key") - @value.setter - def value(self, value: Optional[str]): - pulumi.set(self, "value", value) + @cohere_api_key.setter + def cohere_api_key(self, value: Optional[str]): + pulumi.set(self, "cohere_api_key", value) + + @property + @pulumi.getter(name="cohereApiKeyPlaintext") + def cohere_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "cohere_api_key_plaintext") + + @cohere_api_key_plaintext.setter + def cohere_api_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "cohere_api_key_plaintext", value) if not MYPY: - class GetNotificationDestinationsNotificationDestinationArgsDict(TypedDict): - destination_type: NotRequired[str] - """ - The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - """ - display_name: NotRequired[str] - """ - The display name of the Notification Destination. - """ - id: NotRequired[str] - """ - The unique ID of the Notification Destination. - """ + class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict(TypedDict): + databricks_workspace_url: str + databricks_api_token: NotRequired[str] + databricks_api_token_plaintext: NotRequired[str] elif False: - GetNotificationDestinationsNotificationDestinationArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetNotificationDestinationsNotificationDestinationArgs: +class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigArgs: def __init__(__self__, *, - destination_type: Optional[str] = None, - display_name: Optional[str] = None, - id: Optional[str] = None): - """ - :param str destination_type: The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - :param str display_name: The display name of the Notification Destination. - :param str id: The unique ID of the Notification Destination. - """ - if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) + databricks_workspace_url: str, + databricks_api_token: Optional[str] = None, + databricks_api_token_plaintext: Optional[str] = None): + pulumi.set(__self__, "databricks_workspace_url", databricks_workspace_url) + if databricks_api_token is not None: + pulumi.set(__self__, "databricks_api_token", databricks_api_token) + if databricks_api_token_plaintext is not None: + pulumi.set(__self__, "databricks_api_token_plaintext", databricks_api_token_plaintext) @property - @pulumi.getter(name="destinationType") - def destination_type(self) -> Optional[str]: - """ - The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - """ - return pulumi.get(self, "destination_type") + @pulumi.getter(name="databricksWorkspaceUrl") + def databricks_workspace_url(self) -> str: + return pulumi.get(self, "databricks_workspace_url") - @destination_type.setter - def destination_type(self, value: Optional[str]): - pulumi.set(self, "destination_type", value) + @databricks_workspace_url.setter + def databricks_workspace_url(self, value: str): + pulumi.set(self, "databricks_workspace_url", value) @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - """ - The display name of the Notification Destination. - """ - return pulumi.get(self, "display_name") + @pulumi.getter(name="databricksApiToken") + def databricks_api_token(self) -> Optional[str]: + return pulumi.get(self, "databricks_api_token") - @display_name.setter - def display_name(self, value: Optional[str]): - pulumi.set(self, "display_name", value) + @databricks_api_token.setter + def databricks_api_token(self, value: Optional[str]): + pulumi.set(self, "databricks_api_token", value) @property - @pulumi.getter - def id(self) -> Optional[str]: - """ - The unique ID of the Notification Destination. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="databricksApiTokenPlaintext") + def databricks_api_token_plaintext(self) -> Optional[str]: + return pulumi.get(self, "databricks_api_token_plaintext") - @id.setter - def id(self, value: Optional[str]): - pulumi.set(self, "id", value) + @databricks_api_token_plaintext.setter + def databricks_api_token_plaintext(self, value: Optional[str]): + pulumi.set(self, "databricks_api_token_plaintext", value) if not MYPY: - class GetRegisteredModelModelInfoArgsDict(TypedDict): - aliases: NotRequired[Sequence['GetRegisteredModelModelInfoAliasArgsDict']] - """ - the list of aliases associated with this model. Each item is object consisting of following attributes: - """ - browse_only: NotRequired[bool] - catalog_name: NotRequired[str] - """ - The name of the catalog where the schema and the registered model reside. - """ - comment: NotRequired[str] - """ - The comment attached to the registered model. - """ - created_at: NotRequired[int] - """ - the Unix timestamp at the model's creation - """ - created_by: NotRequired[str] - """ - the identifier of the user who created the model - """ - full_name: NotRequired[str] - """ - The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - """ - metastore_id: NotRequired[str] - """ - the unique identifier of the metastore - """ - name: NotRequired[str] - """ - The name of the registered model. - """ - owner: NotRequired[str] - """ - Name of the registered model owner. - """ - schema_name: NotRequired[str] - """ - The name of the schema where the registered model resides. - """ - storage_location: NotRequired[str] - """ - The storage location under which model version data files are stored. - """ - updated_at: NotRequired[int] - """ - the timestamp of the last time changes were made to the model - """ - updated_by: NotRequired[str] - """ - the identifier of the user who updated the model last time - """ + class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict(TypedDict): + private_key: NotRequired[str] + private_key_plaintext: NotRequired[str] + project_id: NotRequired[str] + region: NotRequired[str] elif False: - GetRegisteredModelModelInfoArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetRegisteredModelModelInfoArgs: +class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigArgs: def __init__(__self__, *, - aliases: Optional[Sequence['GetRegisteredModelModelInfoAliasArgs']] = None, - browse_only: Optional[bool] = None, - catalog_name: Optional[str] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - full_name: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - schema_name: Optional[str] = None, - storage_location: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param Sequence['GetRegisteredModelModelInfoAliasArgs'] aliases: the list of aliases associated with this model. Each item is object consisting of following attributes: - :param str catalog_name: The name of the catalog where the schema and the registered model reside. - :param str comment: The comment attached to the registered model. - :param int created_at: the Unix timestamp at the model's creation - :param str created_by: the identifier of the user who created the model - :param str full_name: The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - :param str metastore_id: the unique identifier of the metastore - :param str name: The name of the registered model. - :param str owner: Name of the registered model owner. - :param str schema_name: The name of the schema where the registered model resides. - :param str storage_location: The storage location under which model version data files are stored. - :param int updated_at: the timestamp of the last time changes were made to the model - :param str updated_by: the identifier of the user who updated the model last time - """ - if aliases is not None: - pulumi.set(__self__, "aliases", aliases) - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) - if storage_location is not None: - pulumi.set(__self__, "storage_location", storage_location) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + private_key: Optional[str] = None, + private_key_plaintext: Optional[str] = None, + project_id: Optional[str] = None, + region: Optional[str] = None): + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if private_key_plaintext is not None: + pulumi.set(__self__, "private_key_plaintext", private_key_plaintext) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter - def aliases(self) -> Optional[Sequence['GetRegisteredModelModelInfoAliasArgs']]: - """ - the list of aliases associated with this model. Each item is object consisting of following attributes: - """ - return pulumi.get(self, "aliases") + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + return pulumi.get(self, "private_key") - @aliases.setter - def aliases(self, value: Optional[Sequence['GetRegisteredModelModelInfoAliasArgs']]): - pulumi.set(self, "aliases", value) + @private_key.setter + def private_key(self, value: Optional[str]): + pulumi.set(self, "private_key", value) @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - return pulumi.get(self, "browse_only") + @pulumi.getter(name="privateKeyPlaintext") + def private_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "private_key_plaintext") - @browse_only.setter - def browse_only(self, value: Optional[bool]): - pulumi.set(self, "browse_only", value) + @private_key_plaintext.setter + def private_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "private_key_plaintext", value) @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[str]: - """ - The name of the catalog where the schema and the registered model reside. - """ - return pulumi.get(self, "catalog_name") + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[str]: + return pulumi.get(self, "project_id") - @catalog_name.setter - def catalog_name(self, value: Optional[str]): - pulumi.set(self, "catalog_name", value) + @project_id.setter + def project_id(self, value: Optional[str]): + pulumi.set(self, "project_id", value) @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - The comment attached to the registered model. - """ - return pulumi.get(self, "comment") + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) + @region.setter + def region(self, value: Optional[str]): + pulumi.set(self, "region", value) + + +if not MYPY: + class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgsDict(TypedDict): + microsoft_entra_client_id: NotRequired[str] + microsoft_entra_client_secret: NotRequired[str] + microsoft_entra_client_secret_plaintext: NotRequired[str] + microsoft_entra_tenant_id: NotRequired[str] + openai_api_base: NotRequired[str] + openai_api_key: NotRequired[str] + openai_api_key_plaintext: NotRequired[str] + openai_api_type: NotRequired[str] + openai_api_version: NotRequired[str] + openai_deployment_name: NotRequired[str] + openai_organization: NotRequired[str] +elif False: + GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigArgs: + def __init__(__self__, *, + microsoft_entra_client_id: Optional[str] = None, + microsoft_entra_client_secret: Optional[str] = None, + microsoft_entra_client_secret_plaintext: Optional[str] = None, + microsoft_entra_tenant_id: Optional[str] = None, + openai_api_base: Optional[str] = None, + openai_api_key: Optional[str] = None, + openai_api_key_plaintext: Optional[str] = None, + openai_api_type: Optional[str] = None, + openai_api_version: Optional[str] = None, + openai_deployment_name: Optional[str] = None, + openai_organization: Optional[str] = None): + if microsoft_entra_client_id is not None: + pulumi.set(__self__, "microsoft_entra_client_id", microsoft_entra_client_id) + if microsoft_entra_client_secret is not None: + pulumi.set(__self__, "microsoft_entra_client_secret", microsoft_entra_client_secret) + if microsoft_entra_client_secret_plaintext is not None: + pulumi.set(__self__, "microsoft_entra_client_secret_plaintext", microsoft_entra_client_secret_plaintext) + if microsoft_entra_tenant_id is not None: + pulumi.set(__self__, "microsoft_entra_tenant_id", microsoft_entra_tenant_id) + if openai_api_base is not None: + pulumi.set(__self__, "openai_api_base", openai_api_base) + if openai_api_key is not None: + pulumi.set(__self__, "openai_api_key", openai_api_key) + if openai_api_key_plaintext is not None: + pulumi.set(__self__, "openai_api_key_plaintext", openai_api_key_plaintext) + if openai_api_type is not None: + pulumi.set(__self__, "openai_api_type", openai_api_type) + if openai_api_version is not None: + pulumi.set(__self__, "openai_api_version", openai_api_version) + if openai_deployment_name is not None: + pulumi.set(__self__, "openai_deployment_name", openai_deployment_name) + if openai_organization is not None: + pulumi.set(__self__, "openai_organization", openai_organization) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - the Unix timestamp at the model's creation - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="microsoftEntraClientId") + def microsoft_entra_client_id(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_id") - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) + @microsoft_entra_client_id.setter + def microsoft_entra_client_id(self, value: Optional[str]): + pulumi.set(self, "microsoft_entra_client_id", value) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - the identifier of the user who created the model - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="microsoftEntraClientSecret") + def microsoft_entra_client_secret(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_secret") - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) + @microsoft_entra_client_secret.setter + def microsoft_entra_client_secret(self, value: Optional[str]): + pulumi.set(self, "microsoft_entra_client_secret", value) @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - """ - return pulumi.get(self, "full_name") + @pulumi.getter(name="microsoftEntraClientSecretPlaintext") + def microsoft_entra_client_secret_plaintext(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_secret_plaintext") - @full_name.setter - def full_name(self, value: Optional[str]): - pulumi.set(self, "full_name", value) + @microsoft_entra_client_secret_plaintext.setter + def microsoft_entra_client_secret_plaintext(self, value: Optional[str]): + pulumi.set(self, "microsoft_entra_client_secret_plaintext", value) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - the unique identifier of the metastore - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="microsoftEntraTenantId") + def microsoft_entra_tenant_id(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_tenant_id") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) + @microsoft_entra_tenant_id.setter + def microsoft_entra_tenant_id(self, value: Optional[str]): + pulumi.set(self, "microsoft_entra_tenant_id", value) @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - The name of the registered model. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="openaiApiBase") + def openai_api_base(self) -> Optional[str]: + return pulumi.get(self, "openai_api_base") - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) + @openai_api_base.setter + def openai_api_base(self, value: Optional[str]): + pulumi.set(self, "openai_api_base", value) @property - @pulumi.getter - def owner(self) -> Optional[str]: - """ - Name of the registered model owner. - """ - return pulumi.get(self, "owner") + @pulumi.getter(name="openaiApiKey") + def openai_api_key(self) -> Optional[str]: + return pulumi.get(self, "openai_api_key") - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) + @openai_api_key.setter + def openai_api_key(self, value: Optional[str]): + pulumi.set(self, "openai_api_key", value) @property - @pulumi.getter(name="schemaName") - def schema_name(self) -> Optional[str]: - """ - The name of the schema where the registered model resides. - """ - return pulumi.get(self, "schema_name") + @pulumi.getter(name="openaiApiKeyPlaintext") + def openai_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "openai_api_key_plaintext") + + @openai_api_key_plaintext.setter + def openai_api_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "openai_api_key_plaintext", value) - @schema_name.setter - def schema_name(self, value: Optional[str]): - pulumi.set(self, "schema_name", value) + @property + @pulumi.getter(name="openaiApiType") + def openai_api_type(self) -> Optional[str]: + return pulumi.get(self, "openai_api_type") + + @openai_api_type.setter + def openai_api_type(self, value: Optional[str]): + pulumi.set(self, "openai_api_type", value) @property - @pulumi.getter(name="storageLocation") - def storage_location(self) -> Optional[str]: - """ - The storage location under which model version data files are stored. - """ - return pulumi.get(self, "storage_location") + @pulumi.getter(name="openaiApiVersion") + def openai_api_version(self) -> Optional[str]: + return pulumi.get(self, "openai_api_version") - @storage_location.setter - def storage_location(self, value: Optional[str]): - pulumi.set(self, "storage_location", value) + @openai_api_version.setter + def openai_api_version(self, value: Optional[str]): + pulumi.set(self, "openai_api_version", value) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - the timestamp of the last time changes were made to the model - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="openaiDeploymentName") + def openai_deployment_name(self) -> Optional[str]: + return pulumi.get(self, "openai_deployment_name") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @openai_deployment_name.setter + def openai_deployment_name(self, value: Optional[str]): + pulumi.set(self, "openai_deployment_name", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - the identifier of the user who updated the model last time - """ - return pulumi.get(self, "updated_by") + @pulumi.getter(name="openaiOrganization") + def openai_organization(self) -> Optional[str]: + return pulumi.get(self, "openai_organization") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @openai_organization.setter + def openai_organization(self, value: Optional[str]): + pulumi.set(self, "openai_organization", value) if not MYPY: - class GetRegisteredModelModelInfoAliasArgsDict(TypedDict): - alias_name: NotRequired[str] - """ - string with the name of alias - """ - version_num: NotRequired[int] - """ - associated model version - """ + class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgsDict(TypedDict): + palm_api_key: NotRequired[str] + palm_api_key_plaintext: NotRequired[str] elif False: - GetRegisteredModelModelInfoAliasArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetRegisteredModelModelInfoAliasArgs: +class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigArgs: def __init__(__self__, *, - alias_name: Optional[str] = None, - version_num: Optional[int] = None): - """ - :param str alias_name: string with the name of alias - :param int version_num: associated model version - """ - if alias_name is not None: - pulumi.set(__self__, "alias_name", alias_name) - if version_num is not None: - pulumi.set(__self__, "version_num", version_num) + palm_api_key: Optional[str] = None, + palm_api_key_plaintext: Optional[str] = None): + if palm_api_key is not None: + pulumi.set(__self__, "palm_api_key", palm_api_key) + if palm_api_key_plaintext is not None: + pulumi.set(__self__, "palm_api_key_plaintext", palm_api_key_plaintext) @property - @pulumi.getter(name="aliasName") - def alias_name(self) -> Optional[str]: - """ - string with the name of alias - """ - return pulumi.get(self, "alias_name") + @pulumi.getter(name="palmApiKey") + def palm_api_key(self) -> Optional[str]: + return pulumi.get(self, "palm_api_key") - @alias_name.setter - def alias_name(self, value: Optional[str]): - pulumi.set(self, "alias_name", value) + @palm_api_key.setter + def palm_api_key(self, value: Optional[str]): + pulumi.set(self, "palm_api_key", value) @property - @pulumi.getter(name="versionNum") - def version_num(self) -> Optional[int]: - """ - associated model version - """ - return pulumi.get(self, "version_num") + @pulumi.getter(name="palmApiKeyPlaintext") + def palm_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "palm_api_key_plaintext") - @version_num.setter - def version_num(self, value: Optional[int]): - pulumi.set(self, "version_num", value) + @palm_api_key_plaintext.setter + def palm_api_key_plaintext(self, value: Optional[str]): + pulumi.set(self, "palm_api_key_plaintext", value) if not MYPY: - class GetSchemaSchemaInfoArgsDict(TypedDict): - browse_only: NotRequired[bool] - """ - indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - """ - catalog_name: NotRequired[str] - """ - the name of the catalog where the schema is. - """ - catalog_type: NotRequired[str] - """ - the type of the parent catalog. - """ - comment: NotRequired[str] - """ - the comment attached to the volume - """ - created_at: NotRequired[int] - """ - time at which this schema was created, in epoch milliseconds. - """ - created_by: NotRequired[str] - """ - username of schema creator. - """ - effective_predictive_optimization_flag: NotRequired['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict'] - """ - information about actual state of predictive optimization. - """ - enable_predictive_optimization: NotRequired[str] - """ - whether predictive optimization should be enabled for this object and objects under it. - """ - full_name: NotRequired[str] - """ - the two-level (fully qualified) name of the schema - """ - metastore_id: NotRequired[str] - """ - the unique identifier of the metastore - """ + class GetServingEndpointsEndpointConfigServedEntityFoundationModelArgsDict(TypedDict): + description: NotRequired[str] + display_name: NotRequired[str] + docs: NotRequired[str] name: NotRequired[str] """ - a fully qualified name of databricks_schema: *`catalog`.`schema`* - """ - owner: NotRequired[str] - """ - the identifier of the user who owns the schema - """ - properties: NotRequired[Mapping[str, str]] - """ - map of properties set on the schema - """ - schema_id: NotRequired[str] - """ - the unique identifier of the volume - """ - storage_location: NotRequired[str] - """ - the storage location on the cloud. - """ - storage_root: NotRequired[str] - """ - storage root URL for managed tables within schema. - """ - updated_at: NotRequired[int] - """ - the timestamp of the last time changes were made to the schema - """ - updated_by: NotRequired[str] - """ - the identifier of the user who updated the schema last time + The name of the model serving endpoint. """ elif False: - GetSchemaSchemaInfoArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointConfigServedEntityFoundationModelArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetSchemaSchemaInfoArgs: +class GetServingEndpointsEndpointConfigServedEntityFoundationModelArgs: def __init__(__self__, *, - browse_only: Optional[bool] = None, - catalog_name: Optional[str] = None, - catalog_type: Optional[str] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - effective_predictive_optimization_flag: Optional['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs'] = None, - enable_predictive_optimization: Optional[str] = None, - full_name: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - properties: Optional[Mapping[str, str]] = None, - schema_id: Optional[str] = None, - storage_location: Optional[str] = None, - storage_root: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): + description: Optional[str] = None, + display_name: Optional[str] = None, + docs: Optional[str] = None, + name: Optional[str] = None): """ - :param bool browse_only: indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - :param str catalog_name: the name of the catalog where the schema is. - :param str catalog_type: the type of the parent catalog. - :param str comment: the comment attached to the volume - :param int created_at: time at which this schema was created, in epoch milliseconds. - :param str created_by: username of schema creator. - :param 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: information about actual state of predictive optimization. - :param str enable_predictive_optimization: whether predictive optimization should be enabled for this object and objects under it. - :param str full_name: the two-level (fully qualified) name of the schema - :param str metastore_id: the unique identifier of the metastore - :param str name: a fully qualified name of databricks_schema: *`catalog`.`schema`* - :param str owner: the identifier of the user who owns the schema - :param Mapping[str, str] properties: map of properties set on the schema - :param str schema_id: the unique identifier of the volume - :param str storage_location: the storage location on the cloud. - :param str storage_root: storage root URL for managed tables within schema. - :param int updated_at: the timestamp of the last time changes were made to the schema - :param str updated_by: the identifier of the user who updated the schema last time + :param str name: The name of the model serving endpoint. """ - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if catalog_type is not None: - pulumi.set(__self__, "catalog_type", catalog_type) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if effective_predictive_optimization_flag is not None: - pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) - if enable_predictive_optimization is not None: - pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if docs is not None: + pulumi.set(__self__, "docs", docs) if name is not None: pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if properties is not None: - pulumi.set(__self__, "properties", properties) - if schema_id is not None: - pulumi.set(__self__, "schema_id", schema_id) - if storage_location is not None: - pulumi.set(__self__, "storage_location", storage_location) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) - - @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - """ - indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - """ - return pulumi.get(self, "browse_only") - - @browse_only.setter - def browse_only(self, value: Optional[bool]): - pulumi.set(self, "browse_only", value) @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[str]: - """ - the name of the catalog where the schema is. - """ - return pulumi.get(self, "catalog_name") + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") - @catalog_name.setter - def catalog_name(self, value: Optional[str]): - pulumi.set(self, "catalog_name", value) + @description.setter + def description(self, value: Optional[str]): + pulumi.set(self, "description", value) @property - @pulumi.getter(name="catalogType") - def catalog_type(self) -> Optional[str]: - """ - the type of the parent catalog. - """ - return pulumi.get(self, "catalog_type") + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + return pulumi.get(self, "display_name") - @catalog_type.setter - def catalog_type(self, value: Optional[str]): - pulumi.set(self, "catalog_type", value) + @display_name.setter + def display_name(self, value: Optional[str]): + pulumi.set(self, "display_name", value) @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - the comment attached to the volume - """ - return pulumi.get(self, "comment") + def docs(self) -> Optional[str]: + return pulumi.get(self, "docs") - @comment.setter - def comment(self, value: Optional[str]): - pulumi.set(self, "comment", value) + @docs.setter + def docs(self, value: Optional[str]): + pulumi.set(self, "docs", value) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: + @pulumi.getter + def name(self) -> Optional[str]: """ - time at which this schema was created, in epoch milliseconds. + The name of the model serving endpoint. """ - return pulumi.get(self, "created_at") - - @created_at.setter - def created_at(self, value: Optional[int]): - pulumi.set(self, "created_at", value) + return pulumi.get(self, "name") - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - username of schema creator. - """ - return pulumi.get(self, "created_by") + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) - @created_by.setter - def created_by(self, value: Optional[str]): - pulumi.set(self, "created_by", value) - @property - @pulumi.getter(name="effectivePredictiveOptimizationFlag") - def effective_predictive_optimization_flag(self) -> Optional['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs']: +if not MYPY: + class GetServingEndpointsEndpointConfigServedModelArgsDict(TypedDict): + model_name: NotRequired[str] + model_version: NotRequired[str] + name: NotRequired[str] """ - information about actual state of predictive optimization. + The name of the model serving endpoint. """ - return pulumi.get(self, "effective_predictive_optimization_flag") - - @effective_predictive_optimization_flag.setter - def effective_predictive_optimization_flag(self, value: Optional['GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs']): - pulumi.set(self, "effective_predictive_optimization_flag", value) +elif False: + GetServingEndpointsEndpointConfigServedModelArgsDict: TypeAlias = Mapping[str, Any] - @property - @pulumi.getter(name="enablePredictiveOptimization") - def enable_predictive_optimization(self) -> Optional[str]: +@pulumi.input_type +class GetServingEndpointsEndpointConfigServedModelArgs: + def __init__(__self__, *, + model_name: Optional[str] = None, + model_version: Optional[str] = None, + name: Optional[str] = None): """ - whether predictive optimization should be enabled for this object and objects under it. + :param str name: The name of the model serving endpoint. """ - return pulumi.get(self, "enable_predictive_optimization") - - @enable_predictive_optimization.setter - def enable_predictive_optimization(self, value: Optional[str]): - pulumi.set(self, "enable_predictive_optimization", value) + if model_name is not None: + pulumi.set(__self__, "model_name", model_name) + if model_version is not None: + pulumi.set(__self__, "model_version", model_version) + if name is not None: + pulumi.set(__self__, "name", name) @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - the two-level (fully qualified) name of the schema - """ - return pulumi.get(self, "full_name") + @pulumi.getter(name="modelName") + def model_name(self) -> Optional[str]: + return pulumi.get(self, "model_name") - @full_name.setter - def full_name(self, value: Optional[str]): - pulumi.set(self, "full_name", value) + @model_name.setter + def model_name(self, value: Optional[str]): + pulumi.set(self, "model_name", value) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - the unique identifier of the metastore - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="modelVersion") + def model_version(self) -> Optional[str]: + return pulumi.get(self, "model_version") - @metastore_id.setter - def metastore_id(self, value: Optional[str]): - pulumi.set(self, "metastore_id", value) + @model_version.setter + def model_version(self, value: Optional[str]): + pulumi.set(self, "model_version", value) @property @pulumi.getter def name(self) -> Optional[str]: """ - a fully qualified name of databricks_schema: *`catalog`.`schema`* + The name of the model serving endpoint. """ return pulumi.get(self, "name") @@ -53915,137 +58149,76 @@ def name(self) -> Optional[str]: def name(self, value: Optional[str]): pulumi.set(self, "name", value) - @property - @pulumi.getter - def owner(self) -> Optional[str]: - """ - the identifier of the user who owns the schema - """ - return pulumi.get(self, "owner") - - @owner.setter - def owner(self, value: Optional[str]): - pulumi.set(self, "owner", value) - - @property - @pulumi.getter - def properties(self) -> Optional[Mapping[str, str]]: - """ - map of properties set on the schema - """ - return pulumi.get(self, "properties") - - @properties.setter - def properties(self, value: Optional[Mapping[str, str]]): - pulumi.set(self, "properties", value) - - @property - @pulumi.getter(name="schemaId") - def schema_id(self) -> Optional[str]: - """ - the unique identifier of the volume - """ - return pulumi.get(self, "schema_id") - - @schema_id.setter - def schema_id(self, value: Optional[str]): - pulumi.set(self, "schema_id", value) - - @property - @pulumi.getter(name="storageLocation") - def storage_location(self) -> Optional[str]: - """ - the storage location on the cloud. - """ - return pulumi.get(self, "storage_location") - - @storage_location.setter - def storage_location(self, value: Optional[str]): - pulumi.set(self, "storage_location", value) - @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - storage root URL for managed tables within schema. - """ - return pulumi.get(self, "storage_root") +if not MYPY: + class GetServingEndpointsEndpointStateArgsDict(TypedDict): + config_update: NotRequired[str] + ready: NotRequired[str] +elif False: + GetServingEndpointsEndpointStateArgsDict: TypeAlias = Mapping[str, Any] - @storage_root.setter - def storage_root(self, value: Optional[str]): - pulumi.set(self, "storage_root", value) +@pulumi.input_type +class GetServingEndpointsEndpointStateArgs: + def __init__(__self__, *, + config_update: Optional[str] = None, + ready: Optional[str] = None): + if config_update is not None: + pulumi.set(__self__, "config_update", config_update) + if ready is not None: + pulumi.set(__self__, "ready", ready) @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - the timestamp of the last time changes were made to the schema - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="configUpdate") + def config_update(self) -> Optional[str]: + return pulumi.get(self, "config_update") - @updated_at.setter - def updated_at(self, value: Optional[int]): - pulumi.set(self, "updated_at", value) + @config_update.setter + def config_update(self, value: Optional[str]): + pulumi.set(self, "config_update", value) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - the identifier of the user who updated the schema last time - """ - return pulumi.get(self, "updated_by") + @pulumi.getter + def ready(self) -> Optional[str]: + return pulumi.get(self, "ready") - @updated_by.setter - def updated_by(self, value: Optional[str]): - pulumi.set(self, "updated_by", value) + @ready.setter + def ready(self, value: Optional[str]): + pulumi.set(self, "ready", value) if not MYPY: - class GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict(TypedDict): - value: str - inherited_from_name: NotRequired[str] - inherited_from_type: NotRequired[str] + class GetServingEndpointsEndpointTagArgsDict(TypedDict): + key: str + value: NotRequired[str] elif False: - GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgsDict: TypeAlias = Mapping[str, Any] + GetServingEndpointsEndpointTagArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type -class GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs: +class GetServingEndpointsEndpointTagArgs: def __init__(__self__, *, - value: str, - inherited_from_name: Optional[str] = None, - inherited_from_type: Optional[str] = None): - pulumi.set(__self__, "value", value) - if inherited_from_name is not None: - pulumi.set(__self__, "inherited_from_name", inherited_from_name) - if inherited_from_type is not None: - pulumi.set(__self__, "inherited_from_type", inherited_from_type) + key: str, + value: Optional[str] = None): + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - @value.setter - def value(self, value: str): - pulumi.set(self, "value", value) - - @property - @pulumi.getter(name="inheritedFromName") - def inherited_from_name(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_name") + def key(self) -> str: + return pulumi.get(self, "key") - @inherited_from_name.setter - def inherited_from_name(self, value: Optional[str]): - pulumi.set(self, "inherited_from_name", value) + @key.setter + def key(self, value: str): + pulumi.set(self, "key", value) @property - @pulumi.getter(name="inheritedFromType") - def inherited_from_type(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_type") + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") - @inherited_from_type.setter - def inherited_from_type(self, value: Optional[str]): - pulumi.set(self, "inherited_from_type", value) + @value.setter + def value(self, value: Optional[str]): + pulumi.set(self, "value", value) if not MYPY: diff --git a/sdk/python/pulumi_databricks/app.py b/sdk/python/pulumi_databricks/app.py new file mode 100644 index 00000000..6a4d983a --- /dev/null +++ b/sdk/python/pulumi_databricks/app.py @@ -0,0 +1,634 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['AppArgs', 'App'] + +@pulumi.input_type +class AppArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]]] = None): + """ + The set of arguments for constructing a App resource. + :param pulumi.Input[str] description: The description of the app. + :param pulumi.Input[str] name: The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + :param pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]] resources: A list of resources that the app have access to. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + if resources is not None: + pulumi.set(__self__, "resources", resources) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the app. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]]]: + """ + A list of resources that the app have access to. + """ + return pulumi.get(self, "resources") + + @resources.setter + def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]]]): + pulumi.set(self, "resources", value) + + +@pulumi.input_type +class _AppState: + def __init__(__self__, *, + active_deployment: Optional[pulumi.Input['AppActiveDeploymentArgs']] = None, + app_status: Optional[pulumi.Input['AppAppStatusArgs']] = None, + compute_status: Optional[pulumi.Input['AppComputeStatusArgs']] = None, + create_time: Optional[pulumi.Input[str]] = None, + creator: Optional[pulumi.Input[str]] = None, + default_source_code_path: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + pending_deployment: Optional[pulumi.Input['AppPendingDeploymentArgs']] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]]] = None, + service_principal_client_id: Optional[pulumi.Input[str]] = None, + service_principal_id: Optional[pulumi.Input[int]] = None, + service_principal_name: Optional[pulumi.Input[str]] = None, + update_time: Optional[pulumi.Input[str]] = None, + updater: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering App resources. + :param pulumi.Input['AppAppStatusArgs'] app_status: attribute + :param pulumi.Input['AppComputeStatusArgs'] compute_status: attribute + :param pulumi.Input[str] create_time: The creation time of the app. + :param pulumi.Input[str] creator: The email of the user that created the app. + :param pulumi.Input[str] default_source_code_path: The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + :param pulumi.Input[str] description: The description of the app. + :param pulumi.Input[str] name: The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + :param pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]] resources: A list of resources that the app have access to. + :param pulumi.Input[int] service_principal_id: id of the app service principal + :param pulumi.Input[str] service_principal_name: name of the app service principal + :param pulumi.Input[str] update_time: The update time of the app. + :param pulumi.Input[str] updater: The email of the user that last updated the app. + :param pulumi.Input[str] url: The URL of the app once it is deployed. + """ + if active_deployment is not None: + pulumi.set(__self__, "active_deployment", active_deployment) + if app_status is not None: + pulumi.set(__self__, "app_status", app_status) + if compute_status is not None: + pulumi.set(__self__, "compute_status", compute_status) + if create_time is not None: + pulumi.set(__self__, "create_time", create_time) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if default_source_code_path is not None: + pulumi.set(__self__, "default_source_code_path", default_source_code_path) + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + if pending_deployment is not None: + pulumi.set(__self__, "pending_deployment", pending_deployment) + if resources is not None: + pulumi.set(__self__, "resources", resources) + if service_principal_client_id is not None: + pulumi.set(__self__, "service_principal_client_id", service_principal_client_id) + if service_principal_id is not None: + pulumi.set(__self__, "service_principal_id", service_principal_id) + if service_principal_name is not None: + pulumi.set(__self__, "service_principal_name", service_principal_name) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) + if updater is not None: + pulumi.set(__self__, "updater", updater) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter(name="activeDeployment") + def active_deployment(self) -> Optional[pulumi.Input['AppActiveDeploymentArgs']]: + return pulumi.get(self, "active_deployment") + + @active_deployment.setter + def active_deployment(self, value: Optional[pulumi.Input['AppActiveDeploymentArgs']]): + pulumi.set(self, "active_deployment", value) + + @property + @pulumi.getter(name="appStatus") + def app_status(self) -> Optional[pulumi.Input['AppAppStatusArgs']]: + """ + attribute + """ + return pulumi.get(self, "app_status") + + @app_status.setter + def app_status(self, value: Optional[pulumi.Input['AppAppStatusArgs']]): + pulumi.set(self, "app_status", value) + + @property + @pulumi.getter(name="computeStatus") + def compute_status(self) -> Optional[pulumi.Input['AppComputeStatusArgs']]: + """ + attribute + """ + return pulumi.get(self, "compute_status") + + @compute_status.setter + def compute_status(self, value: Optional[pulumi.Input['AppComputeStatusArgs']]): + pulumi.set(self, "compute_status", value) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> Optional[pulumi.Input[str]]: + """ + The creation time of the app. + """ + return pulumi.get(self, "create_time") + + @create_time.setter + def create_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "create_time", value) + + @property + @pulumi.getter + def creator(self) -> Optional[pulumi.Input[str]]: + """ + The email of the user that created the app. + """ + return pulumi.get(self, "creator") + + @creator.setter + def creator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creator", value) + + @property + @pulumi.getter(name="defaultSourceCodePath") + def default_source_code_path(self) -> Optional[pulumi.Input[str]]: + """ + The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + """ + return pulumi.get(self, "default_source_code_path") + + @default_source_code_path.setter + def default_source_code_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_source_code_path", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the app. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="pendingDeployment") + def pending_deployment(self) -> Optional[pulumi.Input['AppPendingDeploymentArgs']]: + return pulumi.get(self, "pending_deployment") + + @pending_deployment.setter + def pending_deployment(self, value: Optional[pulumi.Input['AppPendingDeploymentArgs']]): + pulumi.set(self, "pending_deployment", value) + + @property + @pulumi.getter + def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]]]: + """ + A list of resources that the app have access to. + """ + return pulumi.get(self, "resources") + + @resources.setter + def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppResourceArgs']]]]): + pulumi.set(self, "resources", value) + + @property + @pulumi.getter(name="servicePrincipalClientId") + def service_principal_client_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "service_principal_client_id") + + @service_principal_client_id.setter + def service_principal_client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_principal_client_id", value) + + @property + @pulumi.getter(name="servicePrincipalId") + def service_principal_id(self) -> Optional[pulumi.Input[int]]: + """ + id of the app service principal + """ + return pulumi.get(self, "service_principal_id") + + @service_principal_id.setter + def service_principal_id(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "service_principal_id", value) + + @property + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> Optional[pulumi.Input[str]]: + """ + name of the app service principal + """ + return pulumi.get(self, "service_principal_name") + + @service_principal_name.setter + def service_principal_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_principal_name", value) + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[pulumi.Input[str]]: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") + + @update_time.setter + def update_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "update_time", value) + + @property + @pulumi.getter + def updater(self) -> Optional[pulumi.Input[str]]: + """ + The email of the user that last updated the app. + """ + return pulumi.get(self, "updater") + + @updater.setter + def updater(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updater", value) + + @property + @pulumi.getter + def url(self) -> Optional[pulumi.Input[str]]: + """ + The URL of the app once it is deployed. + """ + return pulumi.get(self, "url") + + @url.setter + def url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "url", value) + + +class App(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppResourceArgs', 'AppResourceArgsDict']]]]] = None, + __props__=None): + """ + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + + ## Import + + This resource can be imported by name: + + hcl + + import { + + to = databricks_app.this + + id = "" + + } + + or using the `terraform` CLI: + + bash + + ```sh + $ pulumi import databricks:index/app:App this + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: The description of the app. + :param pulumi.Input[str] name: The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + :param pulumi.Input[Sequence[pulumi.Input[Union['AppResourceArgs', 'AppResourceArgsDict']]]] resources: A list of resources that the app have access to. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[AppArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + + ## Import + + This resource can be imported by name: + + hcl + + import { + + to = databricks_app.this + + id = "" + + } + + or using the `terraform` CLI: + + bash + + ```sh + $ pulumi import databricks:index/app:App this + ``` + + :param str resource_name: The name of the resource. + :param AppArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AppArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppResourceArgs', 'AppResourceArgsDict']]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AppArgs.__new__(AppArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + __props__.__dict__["resources"] = resources + __props__.__dict__["active_deployment"] = None + __props__.__dict__["app_status"] = None + __props__.__dict__["compute_status"] = None + __props__.__dict__["create_time"] = None + __props__.__dict__["creator"] = None + __props__.__dict__["default_source_code_path"] = None + __props__.__dict__["pending_deployment"] = None + __props__.__dict__["service_principal_client_id"] = None + __props__.__dict__["service_principal_id"] = None + __props__.__dict__["service_principal_name"] = None + __props__.__dict__["update_time"] = None + __props__.__dict__["updater"] = None + __props__.__dict__["url"] = None + super(App, __self__).__init__( + 'databricks:index/app:App', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + active_deployment: Optional[pulumi.Input[Union['AppActiveDeploymentArgs', 'AppActiveDeploymentArgsDict']]] = None, + app_status: Optional[pulumi.Input[Union['AppAppStatusArgs', 'AppAppStatusArgsDict']]] = None, + compute_status: Optional[pulumi.Input[Union['AppComputeStatusArgs', 'AppComputeStatusArgsDict']]] = None, + create_time: Optional[pulumi.Input[str]] = None, + creator: Optional[pulumi.Input[str]] = None, + default_source_code_path: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + pending_deployment: Optional[pulumi.Input[Union['AppPendingDeploymentArgs', 'AppPendingDeploymentArgsDict']]] = None, + resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppResourceArgs', 'AppResourceArgsDict']]]]] = None, + service_principal_client_id: Optional[pulumi.Input[str]] = None, + service_principal_id: Optional[pulumi.Input[int]] = None, + service_principal_name: Optional[pulumi.Input[str]] = None, + update_time: Optional[pulumi.Input[str]] = None, + updater: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None) -> 'App': + """ + Get an existing App resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['AppAppStatusArgs', 'AppAppStatusArgsDict']] app_status: attribute + :param pulumi.Input[Union['AppComputeStatusArgs', 'AppComputeStatusArgsDict']] compute_status: attribute + :param pulumi.Input[str] create_time: The creation time of the app. + :param pulumi.Input[str] creator: The email of the user that created the app. + :param pulumi.Input[str] default_source_code_path: The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + :param pulumi.Input[str] description: The description of the app. + :param pulumi.Input[str] name: The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + :param pulumi.Input[Sequence[pulumi.Input[Union['AppResourceArgs', 'AppResourceArgsDict']]]] resources: A list of resources that the app have access to. + :param pulumi.Input[int] service_principal_id: id of the app service principal + :param pulumi.Input[str] service_principal_name: name of the app service principal + :param pulumi.Input[str] update_time: The update time of the app. + :param pulumi.Input[str] updater: The email of the user that last updated the app. + :param pulumi.Input[str] url: The URL of the app once it is deployed. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AppState.__new__(_AppState) + + __props__.__dict__["active_deployment"] = active_deployment + __props__.__dict__["app_status"] = app_status + __props__.__dict__["compute_status"] = compute_status + __props__.__dict__["create_time"] = create_time + __props__.__dict__["creator"] = creator + __props__.__dict__["default_source_code_path"] = default_source_code_path + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + __props__.__dict__["pending_deployment"] = pending_deployment + __props__.__dict__["resources"] = resources + __props__.__dict__["service_principal_client_id"] = service_principal_client_id + __props__.__dict__["service_principal_id"] = service_principal_id + __props__.__dict__["service_principal_name"] = service_principal_name + __props__.__dict__["update_time"] = update_time + __props__.__dict__["updater"] = updater + __props__.__dict__["url"] = url + return App(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="activeDeployment") + def active_deployment(self) -> pulumi.Output['outputs.AppActiveDeployment']: + return pulumi.get(self, "active_deployment") + + @property + @pulumi.getter(name="appStatus") + def app_status(self) -> pulumi.Output['outputs.AppAppStatus']: + """ + attribute + """ + return pulumi.get(self, "app_status") + + @property + @pulumi.getter(name="computeStatus") + def compute_status(self) -> pulumi.Output['outputs.AppComputeStatus']: + """ + attribute + """ + return pulumi.get(self, "compute_status") + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> pulumi.Output[str]: + """ + The creation time of the app. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def creator(self) -> pulumi.Output[str]: + """ + The email of the user that created the app. + """ + return pulumi.get(self, "creator") + + @property + @pulumi.getter(name="defaultSourceCodePath") + def default_source_code_path(self) -> pulumi.Output[str]: + """ + The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + """ + return pulumi.get(self, "default_source_code_path") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + The description of the app. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="pendingDeployment") + def pending_deployment(self) -> pulumi.Output['outputs.AppPendingDeployment']: + return pulumi.get(self, "pending_deployment") + + @property + @pulumi.getter + def resources(self) -> pulumi.Output[Optional[Sequence['outputs.AppResource']]]: + """ + A list of resources that the app have access to. + """ + return pulumi.get(self, "resources") + + @property + @pulumi.getter(name="servicePrincipalClientId") + def service_principal_client_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "service_principal_client_id") + + @property + @pulumi.getter(name="servicePrincipalId") + def service_principal_id(self) -> pulumi.Output[int]: + """ + id of the app service principal + """ + return pulumi.get(self, "service_principal_id") + + @property + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> pulumi.Output[str]: + """ + name of the app service principal + """ + return pulumi.get(self, "service_principal_name") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> pulumi.Output[str]: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") + + @property + @pulumi.getter + def updater(self) -> pulumi.Output[str]: + """ + The email of the user that last updated the app. + """ + return pulumi.get(self, "updater") + + @property + @pulumi.getter + def url(self) -> pulumi.Output[str]: + """ + The URL of the app once it is deployed. + """ + return pulumi.get(self, "url") + diff --git a/sdk/python/pulumi_databricks/cluster.py b/sdk/python/pulumi_databricks/cluster.py index 01b3adf0..097024f4 100644 --- a/sdk/python/pulumi_databricks/cluster.py +++ b/sdk/python/pulumi_databricks/cluster.py @@ -42,6 +42,8 @@ def __init__(__self__, *, init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterInitScriptArgs']]]] = None, instance_pool_id: Optional[pulumi.Input[str]] = None, is_pinned: Optional[pulumi.Input[bool]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, libraries: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterLibraryArgs']]]] = None, no_wait: Optional[pulumi.Input[bool]] = None, node_type_id: Optional[pulumi.Input[str]] = None, @@ -52,6 +54,7 @@ def __init__(__self__, *, spark_conf: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, workload_type: Optional[pulumi.Input['ClusterWorkloadTypeArgs']] = None): """ The set of arguments for constructing a Cluster resource. @@ -165,6 +168,10 @@ def __init__(__self__, *, pulumi.set(__self__, "instance_pool_id", instance_pool_id) if is_pinned is not None: pulumi.set(__self__, "is_pinned", is_pinned) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) if libraries is not None: pulumi.set(__self__, "libraries", libraries) if no_wait is not None: @@ -185,6 +192,8 @@ def __init__(__self__, *, pulumi.set(__self__, "spark_env_vars", spark_env_vars) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @@ -436,6 +445,24 @@ def is_pinned(self) -> Optional[pulumi.Input[bool]]: def is_pinned(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_pinned", value) + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_single_node") + + @is_single_node.setter + def is_single_node(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_single_node", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + @property @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterLibraryArgs']]]]: @@ -579,6 +606,15 @@ def ssh_public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] def ssh_public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "ssh_public_keys", value) + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_ml_runtime") + + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_ml_runtime", value) + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional[pulumi.Input['ClusterWorkloadTypeArgs']]: @@ -614,6 +650,8 @@ def __init__(__self__, *, init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterInitScriptArgs']]]] = None, instance_pool_id: Optional[pulumi.Input[str]] = None, is_pinned: Optional[pulumi.Input[bool]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, libraries: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterLibraryArgs']]]] = None, no_wait: Optional[pulumi.Input[bool]] = None, node_type_id: Optional[pulumi.Input[str]] = None, @@ -627,6 +665,7 @@ def __init__(__self__, *, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, state: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, workload_type: Optional[pulumi.Input['ClusterWorkloadTypeArgs']] = None): """ Input properties used for looking up and filtering Cluster resources. @@ -745,6 +784,10 @@ def __init__(__self__, *, pulumi.set(__self__, "instance_pool_id", instance_pool_id) if is_pinned is not None: pulumi.set(__self__, "is_pinned", is_pinned) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) if libraries is not None: pulumi.set(__self__, "libraries", libraries) if no_wait is not None: @@ -771,6 +814,8 @@ def __init__(__self__, *, pulumi.set(__self__, "state", state) if url is not None: pulumi.set(__self__, "url", url) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @@ -1031,6 +1076,24 @@ def is_pinned(self) -> Optional[pulumi.Input[bool]]: def is_pinned(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_pinned", value) + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_single_node") + + @is_single_node.setter + def is_single_node(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_single_node", value) + + @property + @pulumi.getter + def kind(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kind") + + @kind.setter + def kind(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kind", value) + @property @pulumi.getter def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterLibraryArgs']]]]: @@ -1207,6 +1270,15 @@ def url(self) -> Optional[pulumi.Input[str]]: def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_ml_runtime") + + @use_ml_runtime.setter + def use_ml_runtime(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_ml_runtime", value) + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional[pulumi.Input['ClusterWorkloadTypeArgs']]: @@ -1242,6 +1314,8 @@ def __init__(__self__, init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterInitScriptArgs', 'ClusterInitScriptArgsDict']]]]] = None, instance_pool_id: Optional[pulumi.Input[str]] = None, is_pinned: Optional[pulumi.Input[bool]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, libraries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterLibraryArgs', 'ClusterLibraryArgsDict']]]]] = None, no_wait: Optional[pulumi.Input[bool]] = None, node_type_id: Optional[pulumi.Input[str]] = None, @@ -1253,6 +1327,7 @@ def __init__(__self__, spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, spark_version: Optional[pulumi.Input[str]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, workload_type: Optional[pulumi.Input[Union['ClusterWorkloadTypeArgs', 'ClusterWorkloadTypeArgsDict']]] = None, __props__=None): """ @@ -1389,6 +1464,8 @@ def _internal_init(__self__, init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterInitScriptArgs', 'ClusterInitScriptArgsDict']]]]] = None, instance_pool_id: Optional[pulumi.Input[str]] = None, is_pinned: Optional[pulumi.Input[bool]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, libraries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterLibraryArgs', 'ClusterLibraryArgsDict']]]]] = None, no_wait: Optional[pulumi.Input[bool]] = None, node_type_id: Optional[pulumi.Input[str]] = None, @@ -1400,6 +1477,7 @@ def _internal_init(__self__, spark_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, spark_version: Optional[pulumi.Input[str]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, workload_type: Optional[pulumi.Input[Union['ClusterWorkloadTypeArgs', 'ClusterWorkloadTypeArgsDict']]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -1430,6 +1508,8 @@ def _internal_init(__self__, __props__.__dict__["init_scripts"] = init_scripts __props__.__dict__["instance_pool_id"] = instance_pool_id __props__.__dict__["is_pinned"] = is_pinned + __props__.__dict__["is_single_node"] = is_single_node + __props__.__dict__["kind"] = kind __props__.__dict__["libraries"] = libraries __props__.__dict__["no_wait"] = no_wait __props__.__dict__["node_type_id"] = node_type_id @@ -1443,6 +1523,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'spark_version'") __props__.__dict__["spark_version"] = spark_version __props__.__dict__["ssh_public_keys"] = ssh_public_keys + __props__.__dict__["use_ml_runtime"] = use_ml_runtime __props__.__dict__["workload_type"] = workload_type __props__.__dict__["cluster_id"] = None __props__.__dict__["default_tags"] = None @@ -1480,6 +1561,8 @@ def get(resource_name: str, init_scripts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterInitScriptArgs', 'ClusterInitScriptArgsDict']]]]] = None, instance_pool_id: Optional[pulumi.Input[str]] = None, is_pinned: Optional[pulumi.Input[bool]] = None, + is_single_node: Optional[pulumi.Input[bool]] = None, + kind: Optional[pulumi.Input[str]] = None, libraries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterLibraryArgs', 'ClusterLibraryArgsDict']]]]] = None, no_wait: Optional[pulumi.Input[bool]] = None, node_type_id: Optional[pulumi.Input[str]] = None, @@ -1493,6 +1576,7 @@ def get(resource_name: str, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, state: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, + use_ml_runtime: Optional[pulumi.Input[bool]] = None, workload_type: Optional[pulumi.Input[Union['ClusterWorkloadTypeArgs', 'ClusterWorkloadTypeArgsDict']]] = None) -> 'Cluster': """ Get an existing Cluster resource's state with the given name, id, and optional extra @@ -1598,6 +1682,8 @@ def get(resource_name: str, __props__.__dict__["init_scripts"] = init_scripts __props__.__dict__["instance_pool_id"] = instance_pool_id __props__.__dict__["is_pinned"] = is_pinned + __props__.__dict__["is_single_node"] = is_single_node + __props__.__dict__["kind"] = kind __props__.__dict__["libraries"] = libraries __props__.__dict__["no_wait"] = no_wait __props__.__dict__["node_type_id"] = node_type_id @@ -1611,6 +1697,7 @@ def get(resource_name: str, __props__.__dict__["ssh_public_keys"] = ssh_public_keys __props__.__dict__["state"] = state __props__.__dict__["url"] = url + __props__.__dict__["use_ml_runtime"] = use_ml_runtime __props__.__dict__["workload_type"] = workload_type return Cluster(resource_name, opts=opts, __props__=__props__) @@ -1783,6 +1870,16 @@ def is_pinned(self) -> pulumi.Output[Optional[bool]]: """ return pulumi.get(self, "is_pinned") + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "is_single_node") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "kind") + @property @pulumi.getter def libraries(self) -> pulumi.Output[Optional[Sequence['outputs.ClusterLibrary']]]: @@ -1907,6 +2004,11 @@ def state(self) -> pulumi.Output[str]: def url(self) -> pulumi.Output[str]: return pulumi.get(self, "url") + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "use_ml_runtime") + @property @pulumi.getter(name="workloadType") def workload_type(self) -> pulumi.Output[Optional['outputs.ClusterWorkloadType']]: diff --git a/sdk/python/pulumi_databricks/credential.py b/sdk/python/pulumi_databricks/credential.py new file mode 100644 index 00000000..0a7727eb --- /dev/null +++ b/sdk/python/pulumi_databricks/credential.py @@ -0,0 +1,1096 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CredentialArgs', 'Credential'] + +@pulumi.input_type +class CredentialArgs: + def __init__(__self__, *, + purpose: pulumi.Input[str], + aws_iam_role: Optional[pulumi.Input['CredentialAwsIamRoleArgs']] = None, + azure_managed_identity: Optional[pulumi.Input['CredentialAzureManagedIdentityArgs']] = None, + azure_service_principal: Optional[pulumi.Input['CredentialAzureServicePrincipalArgs']] = None, + comment: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + created_by: Optional[pulumi.Input[str]] = None, + databricks_gcp_service_account: Optional[pulumi.Input['CredentialDatabricksGcpServiceAccountArgs']] = None, + force_destroy: Optional[pulumi.Input[bool]] = None, + force_update: Optional[pulumi.Input[bool]] = None, + full_name: Optional[pulumi.Input[str]] = None, + isolation_mode: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + skip_validation: Optional[pulumi.Input[bool]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + used_for_managed_storage: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a Credential resource. + :param pulumi.Input[str] purpose: Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + :param pulumi.Input[bool] force_destroy: Delete credential regardless of its dependencies. + :param pulumi.Input[bool] force_update: Update credential regardless of its dependents. + :param pulumi.Input[str] isolation_mode: Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + :param pulumi.Input[str] name: Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the credential owner. + :param pulumi.Input[bool] read_only: Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + :param pulumi.Input[bool] skip_validation: Suppress validation errors if any & force save the credential. + """ + pulumi.set(__self__, "purpose", purpose) + if aws_iam_role is not None: + pulumi.set(__self__, "aws_iam_role", aws_iam_role) + if azure_managed_identity is not None: + pulumi.set(__self__, "azure_managed_identity", azure_managed_identity) + if azure_service_principal is not None: + pulumi.set(__self__, "azure_service_principal", azure_service_principal) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if databricks_gcp_service_account is not None: + pulumi.set(__self__, "databricks_gcp_service_account", databricks_gcp_service_account) + if force_destroy is not None: + pulumi.set(__self__, "force_destroy", force_destroy) + if force_update is not None: + pulumi.set(__self__, "force_update", force_update) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if read_only is not None: + pulumi.set(__self__, "read_only", read_only) + if skip_validation is not None: + pulumi.set(__self__, "skip_validation", skip_validation) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if used_for_managed_storage is not None: + pulumi.set(__self__, "used_for_managed_storage", used_for_managed_storage) + + @property + @pulumi.getter + def purpose(self) -> pulumi.Input[str]: + """ + Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + """ + return pulumi.get(self, "purpose") + + @purpose.setter + def purpose(self, value: pulumi.Input[str]): + pulumi.set(self, "purpose", value) + + @property + @pulumi.getter(name="awsIamRole") + def aws_iam_role(self) -> Optional[pulumi.Input['CredentialAwsIamRoleArgs']]: + return pulumi.get(self, "aws_iam_role") + + @aws_iam_role.setter + def aws_iam_role(self, value: Optional[pulumi.Input['CredentialAwsIamRoleArgs']]): + pulumi.set(self, "aws_iam_role", value) + + @property + @pulumi.getter(name="azureManagedIdentity") + def azure_managed_identity(self) -> Optional[pulumi.Input['CredentialAzureManagedIdentityArgs']]: + return pulumi.get(self, "azure_managed_identity") + + @azure_managed_identity.setter + def azure_managed_identity(self, value: Optional[pulumi.Input['CredentialAzureManagedIdentityArgs']]): + pulumi.set(self, "azure_managed_identity", value) + + @property + @pulumi.getter(name="azureServicePrincipal") + def azure_service_principal(self) -> Optional[pulumi.Input['CredentialAzureServicePrincipalArgs']]: + return pulumi.get(self, "azure_service_principal") + + @azure_service_principal.setter + def azure_service_principal(self, value: Optional[pulumi.Input['CredentialAzureServicePrincipalArgs']]): + pulumi.set(self, "azure_service_principal", value) + + @property + @pulumi.getter + def comment(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="databricksGcpServiceAccount") + def databricks_gcp_service_account(self) -> Optional[pulumi.Input['CredentialDatabricksGcpServiceAccountArgs']]: + return pulumi.get(self, "databricks_gcp_service_account") + + @databricks_gcp_service_account.setter + def databricks_gcp_service_account(self, value: Optional[pulumi.Input['CredentialDatabricksGcpServiceAccountArgs']]): + pulumi.set(self, "databricks_gcp_service_account", value) + + @property + @pulumi.getter(name="forceDestroy") + def force_destroy(self) -> Optional[pulumi.Input[bool]]: + """ + Delete credential regardless of its dependencies. + """ + return pulumi.get(self, "force_destroy") + + @force_destroy.setter + def force_destroy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_destroy", value) + + @property + @pulumi.getter(name="forceUpdate") + def force_update(self) -> Optional[pulumi.Input[bool]]: + """ + Update credential regardless of its dependents. + """ + return pulumi.get(self, "force_update") + + @force_update.setter + def force_update(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_update", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[pulumi.Input[str]]: + """ + Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + """ + return pulumi.get(self, "isolation_mode") + + @isolation_mode.setter + def isolation_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "isolation_mode", value) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metastore_id", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input[str]]: + """ + Username/groupname/sp application_id of the credential owner. + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + """ + return pulumi.get(self, "read_only") + + @read_only.setter + def read_only(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "read_only", value) + + @property + @pulumi.getter(name="skipValidation") + def skip_validation(self) -> Optional[pulumi.Input[bool]]: + """ + Suppress validation errors if any & force save the credential. + """ + return pulumi.get(self, "skip_validation") + + @skip_validation.setter + def skip_validation(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "skip_validation", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="usedForManagedStorage") + def used_for_managed_storage(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "used_for_managed_storage") + + @used_for_managed_storage.setter + def used_for_managed_storage(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "used_for_managed_storage", value) + + +@pulumi.input_type +class _CredentialState: + def __init__(__self__, *, + aws_iam_role: Optional[pulumi.Input['CredentialAwsIamRoleArgs']] = None, + azure_managed_identity: Optional[pulumi.Input['CredentialAzureManagedIdentityArgs']] = None, + azure_service_principal: Optional[pulumi.Input['CredentialAzureServicePrincipalArgs']] = None, + comment: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + created_by: Optional[pulumi.Input[str]] = None, + credential_id: Optional[pulumi.Input[str]] = None, + databricks_gcp_service_account: Optional[pulumi.Input['CredentialDatabricksGcpServiceAccountArgs']] = None, + force_destroy: Optional[pulumi.Input[bool]] = None, + force_update: Optional[pulumi.Input[bool]] = None, + full_name: Optional[pulumi.Input[str]] = None, + isolation_mode: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + purpose: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + skip_validation: Optional[pulumi.Input[bool]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + used_for_managed_storage: Optional[pulumi.Input[bool]] = None): + """ + Input properties used for looking up and filtering Credential resources. + :param pulumi.Input[str] credential_id: Unique ID of the credential. + :param pulumi.Input[bool] force_destroy: Delete credential regardless of its dependencies. + :param pulumi.Input[bool] force_update: Update credential regardless of its dependents. + :param pulumi.Input[str] isolation_mode: Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + :param pulumi.Input[str] name: Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the credential owner. + :param pulumi.Input[str] purpose: Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + :param pulumi.Input[bool] read_only: Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + :param pulumi.Input[bool] skip_validation: Suppress validation errors if any & force save the credential. + """ + if aws_iam_role is not None: + pulumi.set(__self__, "aws_iam_role", aws_iam_role) + if azure_managed_identity is not None: + pulumi.set(__self__, "azure_managed_identity", azure_managed_identity) + if azure_service_principal is not None: + pulumi.set(__self__, "azure_service_principal", azure_service_principal) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if databricks_gcp_service_account is not None: + pulumi.set(__self__, "databricks_gcp_service_account", databricks_gcp_service_account) + if force_destroy is not None: + pulumi.set(__self__, "force_destroy", force_destroy) + if force_update is not None: + pulumi.set(__self__, "force_update", force_update) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if purpose is not None: + pulumi.set(__self__, "purpose", purpose) + if read_only is not None: + pulumi.set(__self__, "read_only", read_only) + if skip_validation is not None: + pulumi.set(__self__, "skip_validation", skip_validation) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if used_for_managed_storage is not None: + pulumi.set(__self__, "used_for_managed_storage", used_for_managed_storage) + + @property + @pulumi.getter(name="awsIamRole") + def aws_iam_role(self) -> Optional[pulumi.Input['CredentialAwsIamRoleArgs']]: + return pulumi.get(self, "aws_iam_role") + + @aws_iam_role.setter + def aws_iam_role(self, value: Optional[pulumi.Input['CredentialAwsIamRoleArgs']]): + pulumi.set(self, "aws_iam_role", value) + + @property + @pulumi.getter(name="azureManagedIdentity") + def azure_managed_identity(self) -> Optional[pulumi.Input['CredentialAzureManagedIdentityArgs']]: + return pulumi.get(self, "azure_managed_identity") + + @azure_managed_identity.setter + def azure_managed_identity(self, value: Optional[pulumi.Input['CredentialAzureManagedIdentityArgs']]): + pulumi.set(self, "azure_managed_identity", value) + + @property + @pulumi.getter(name="azureServicePrincipal") + def azure_service_principal(self) -> Optional[pulumi.Input['CredentialAzureServicePrincipalArgs']]: + return pulumi.get(self, "azure_service_principal") + + @azure_service_principal.setter + def azure_service_principal(self, value: Optional[pulumi.Input['CredentialAzureServicePrincipalArgs']]): + pulumi.set(self, "azure_service_principal", value) + + @property + @pulumi.getter + def comment(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "created_at", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique ID of the credential. + """ + return pulumi.get(self, "credential_id") + + @credential_id.setter + def credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_id", value) + + @property + @pulumi.getter(name="databricksGcpServiceAccount") + def databricks_gcp_service_account(self) -> Optional[pulumi.Input['CredentialDatabricksGcpServiceAccountArgs']]: + return pulumi.get(self, "databricks_gcp_service_account") + + @databricks_gcp_service_account.setter + def databricks_gcp_service_account(self, value: Optional[pulumi.Input['CredentialDatabricksGcpServiceAccountArgs']]): + pulumi.set(self, "databricks_gcp_service_account", value) + + @property + @pulumi.getter(name="forceDestroy") + def force_destroy(self) -> Optional[pulumi.Input[bool]]: + """ + Delete credential regardless of its dependencies. + """ + return pulumi.get(self, "force_destroy") + + @force_destroy.setter + def force_destroy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_destroy", value) + + @property + @pulumi.getter(name="forceUpdate") + def force_update(self) -> Optional[pulumi.Input[bool]]: + """ + Update credential regardless of its dependents. + """ + return pulumi.get(self, "force_update") + + @force_update.setter + def force_update(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_update", value) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "full_name") + + @full_name.setter + def full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "full_name", value) + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[pulumi.Input[str]]: + """ + Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + """ + return pulumi.get(self, "isolation_mode") + + @isolation_mode.setter + def isolation_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "isolation_mode", value) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metastore_id", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def owner(self) -> Optional[pulumi.Input[str]]: + """ + Username/groupname/sp application_id of the credential owner. + """ + return pulumi.get(self, "owner") + + @owner.setter + def owner(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "owner", value) + + @property + @pulumi.getter + def purpose(self) -> Optional[pulumi.Input[str]]: + """ + Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + """ + return pulumi.get(self, "purpose") + + @purpose.setter + def purpose(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "purpose", value) + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + """ + return pulumi.get(self, "read_only") + + @read_only.setter + def read_only(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "read_only", value) + + @property + @pulumi.getter(name="skipValidation") + def skip_validation(self) -> Optional[pulumi.Input[bool]]: + """ + Suppress validation errors if any & force save the credential. + """ + return pulumi.get(self, "skip_validation") + + @skip_validation.setter + def skip_validation(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "skip_validation", value) + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "updated_at", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="usedForManagedStorage") + def used_for_managed_storage(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "used_for_managed_storage") + + @used_for_managed_storage.setter + def used_for_managed_storage(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "used_for_managed_storage", value) + + +class Credential(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aws_iam_role: Optional[pulumi.Input[Union['CredentialAwsIamRoleArgs', 'CredentialAwsIamRoleArgsDict']]] = None, + azure_managed_identity: Optional[pulumi.Input[Union['CredentialAzureManagedIdentityArgs', 'CredentialAzureManagedIdentityArgsDict']]] = None, + azure_service_principal: Optional[pulumi.Input[Union['CredentialAzureServicePrincipalArgs', 'CredentialAzureServicePrincipalArgsDict']]] = None, + comment: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + created_by: Optional[pulumi.Input[str]] = None, + databricks_gcp_service_account: Optional[pulumi.Input[Union['CredentialDatabricksGcpServiceAccountArgs', 'CredentialDatabricksGcpServiceAccountArgsDict']]] = None, + force_destroy: Optional[pulumi.Input[bool]] = None, + force_update: Optional[pulumi.Input[bool]] = None, + full_name: Optional[pulumi.Input[str]] = None, + isolation_mode: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + purpose: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + skip_validation: Optional[pulumi.Input[bool]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + used_for_managed_storage: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + > This resource can only be used with a workspace-level provider. + + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential. + + The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`. + The caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it + + On AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source get_aws_unity_catalog_assume_role_policy can be used to create the necessary AWS Unity Catalog assume role policy. + + ## Example Usage + + For AWS + + ```python + import pulumi + import pulumi_databricks as databricks + + external = databricks.Credential("external", + name=external_data_access["name"], + aws_iam_role={ + "role_arn": external_data_access["arn"], + }, + purpose="SERVICE", + comment="Managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["ACCESS"], + }]) + ``` + + For Azure + + ```python + import pulumi + import pulumi_databricks as databricks + + external_mi = databricks.Credential("external_mi", + name="mi_credential", + azure_managed_identity={ + "access_connector_id": example["id"], + }, + purpose="SERVICE", + comment="Managed identity credential managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external_mi.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["ACCESS"], + }]) + ``` + + For GCP (only applicable when purpose is `STORAGE`) + + ```python + import pulumi + import pulumi_databricks as databricks + + external_gcp_sa = databricks.Credential("external_gcp_sa", + name="gcp_sa_credential", + databricks_gcp_service_account={}, + purpose="STORAGE", + comment="GCP SA credential managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external_gcp_sa.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["ACCESS"], + }]) + ``` + + ## Import + + This resource can be imported by name: + + bash + + ```sh + $ pulumi import databricks:index/credential:Credential this + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] force_destroy: Delete credential regardless of its dependencies. + :param pulumi.Input[bool] force_update: Update credential regardless of its dependents. + :param pulumi.Input[str] isolation_mode: Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + :param pulumi.Input[str] name: Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the credential owner. + :param pulumi.Input[str] purpose: Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + :param pulumi.Input[bool] read_only: Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + :param pulumi.Input[bool] skip_validation: Suppress validation errors if any & force save the credential. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CredentialArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > This resource can only be used with a workspace-level provider. + + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential. + + The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`. + The caller must be a metastore admin or have the metastore privilege `CREATE_STORAGE_CREDENTIAL` for storage credentials, or `CREATE_SERVICE_CREDENTIAL` for service credentials. The user who creates the credential can delegate ownership to another user or group to manage permissions on it + + On AWS, the IAM role for a credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-services/service-credentials.html#step-1-create-an-iam-role) for more details. The data source get_aws_unity_catalog_assume_role_policy can be used to create the necessary AWS Unity Catalog assume role policy. + + ## Example Usage + + For AWS + + ```python + import pulumi + import pulumi_databricks as databricks + + external = databricks.Credential("external", + name=external_data_access["name"], + aws_iam_role={ + "role_arn": external_data_access["arn"], + }, + purpose="SERVICE", + comment="Managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["ACCESS"], + }]) + ``` + + For Azure + + ```python + import pulumi + import pulumi_databricks as databricks + + external_mi = databricks.Credential("external_mi", + name="mi_credential", + azure_managed_identity={ + "access_connector_id": example["id"], + }, + purpose="SERVICE", + comment="Managed identity credential managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external_mi.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["ACCESS"], + }]) + ``` + + For GCP (only applicable when purpose is `STORAGE`) + + ```python + import pulumi + import pulumi_databricks as databricks + + external_gcp_sa = databricks.Credential("external_gcp_sa", + name="gcp_sa_credential", + databricks_gcp_service_account={}, + purpose="STORAGE", + comment="GCP SA credential managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external_gcp_sa.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["ACCESS"], + }]) + ``` + + ## Import + + This resource can be imported by name: + + bash + + ```sh + $ pulumi import databricks:index/credential:Credential this + ``` + + :param str resource_name: The name of the resource. + :param CredentialArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(CredentialArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aws_iam_role: Optional[pulumi.Input[Union['CredentialAwsIamRoleArgs', 'CredentialAwsIamRoleArgsDict']]] = None, + azure_managed_identity: Optional[pulumi.Input[Union['CredentialAzureManagedIdentityArgs', 'CredentialAzureManagedIdentityArgsDict']]] = None, + azure_service_principal: Optional[pulumi.Input[Union['CredentialAzureServicePrincipalArgs', 'CredentialAzureServicePrincipalArgsDict']]] = None, + comment: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + created_by: Optional[pulumi.Input[str]] = None, + databricks_gcp_service_account: Optional[pulumi.Input[Union['CredentialDatabricksGcpServiceAccountArgs', 'CredentialDatabricksGcpServiceAccountArgsDict']]] = None, + force_destroy: Optional[pulumi.Input[bool]] = None, + force_update: Optional[pulumi.Input[bool]] = None, + full_name: Optional[pulumi.Input[str]] = None, + isolation_mode: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + purpose: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + skip_validation: Optional[pulumi.Input[bool]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + used_for_managed_storage: Optional[pulumi.Input[bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CredentialArgs.__new__(CredentialArgs) + + __props__.__dict__["aws_iam_role"] = aws_iam_role + __props__.__dict__["azure_managed_identity"] = azure_managed_identity + __props__.__dict__["azure_service_principal"] = azure_service_principal + __props__.__dict__["comment"] = comment + __props__.__dict__["created_at"] = created_at + __props__.__dict__["created_by"] = created_by + __props__.__dict__["databricks_gcp_service_account"] = databricks_gcp_service_account + __props__.__dict__["force_destroy"] = force_destroy + __props__.__dict__["force_update"] = force_update + __props__.__dict__["full_name"] = full_name + __props__.__dict__["isolation_mode"] = isolation_mode + __props__.__dict__["metastore_id"] = metastore_id + __props__.__dict__["name"] = name + __props__.__dict__["owner"] = owner + if purpose is None and not opts.urn: + raise TypeError("Missing required property 'purpose'") + __props__.__dict__["purpose"] = purpose + __props__.__dict__["read_only"] = read_only + __props__.__dict__["skip_validation"] = skip_validation + __props__.__dict__["updated_at"] = updated_at + __props__.__dict__["updated_by"] = updated_by + __props__.__dict__["used_for_managed_storage"] = used_for_managed_storage + __props__.__dict__["credential_id"] = None + super(Credential, __self__).__init__( + 'databricks:index/credential:Credential', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + aws_iam_role: Optional[pulumi.Input[Union['CredentialAwsIamRoleArgs', 'CredentialAwsIamRoleArgsDict']]] = None, + azure_managed_identity: Optional[pulumi.Input[Union['CredentialAzureManagedIdentityArgs', 'CredentialAzureManagedIdentityArgsDict']]] = None, + azure_service_principal: Optional[pulumi.Input[Union['CredentialAzureServicePrincipalArgs', 'CredentialAzureServicePrincipalArgsDict']]] = None, + comment: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + created_by: Optional[pulumi.Input[str]] = None, + credential_id: Optional[pulumi.Input[str]] = None, + databricks_gcp_service_account: Optional[pulumi.Input[Union['CredentialDatabricksGcpServiceAccountArgs', 'CredentialDatabricksGcpServiceAccountArgsDict']]] = None, + force_destroy: Optional[pulumi.Input[bool]] = None, + force_update: Optional[pulumi.Input[bool]] = None, + full_name: Optional[pulumi.Input[str]] = None, + isolation_mode: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + purpose: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + skip_validation: Optional[pulumi.Input[bool]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + used_for_managed_storage: Optional[pulumi.Input[bool]] = None) -> 'Credential': + """ + Get an existing Credential resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] credential_id: Unique ID of the credential. + :param pulumi.Input[bool] force_destroy: Delete credential regardless of its dependencies. + :param pulumi.Input[bool] force_update: Update credential regardless of its dependents. + :param pulumi.Input[str] isolation_mode: Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + :param pulumi.Input[str] name: Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + :param pulumi.Input[str] owner: Username/groupname/sp application_id of the credential owner. + :param pulumi.Input[str] purpose: Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + :param pulumi.Input[bool] read_only: Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + :param pulumi.Input[bool] skip_validation: Suppress validation errors if any & force save the credential. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _CredentialState.__new__(_CredentialState) + + __props__.__dict__["aws_iam_role"] = aws_iam_role + __props__.__dict__["azure_managed_identity"] = azure_managed_identity + __props__.__dict__["azure_service_principal"] = azure_service_principal + __props__.__dict__["comment"] = comment + __props__.__dict__["created_at"] = created_at + __props__.__dict__["created_by"] = created_by + __props__.__dict__["credential_id"] = credential_id + __props__.__dict__["databricks_gcp_service_account"] = databricks_gcp_service_account + __props__.__dict__["force_destroy"] = force_destroy + __props__.__dict__["force_update"] = force_update + __props__.__dict__["full_name"] = full_name + __props__.__dict__["isolation_mode"] = isolation_mode + __props__.__dict__["metastore_id"] = metastore_id + __props__.__dict__["name"] = name + __props__.__dict__["owner"] = owner + __props__.__dict__["purpose"] = purpose + __props__.__dict__["read_only"] = read_only + __props__.__dict__["skip_validation"] = skip_validation + __props__.__dict__["updated_at"] = updated_at + __props__.__dict__["updated_by"] = updated_by + __props__.__dict__["used_for_managed_storage"] = used_for_managed_storage + return Credential(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="awsIamRole") + def aws_iam_role(self) -> pulumi.Output[Optional['outputs.CredentialAwsIamRole']]: + return pulumi.get(self, "aws_iam_role") + + @property + @pulumi.getter(name="azureManagedIdentity") + def azure_managed_identity(self) -> pulumi.Output[Optional['outputs.CredentialAzureManagedIdentity']]: + return pulumi.get(self, "azure_managed_identity") + + @property + @pulumi.getter(name="azureServicePrincipal") + def azure_service_principal(self) -> pulumi.Output[Optional['outputs.CredentialAzureServicePrincipal']]: + return pulumi.get(self, "azure_service_principal") + + @property + @pulumi.getter + def comment(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[int]: + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output[str]: + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> pulumi.Output[str]: + """ + Unique ID of the credential. + """ + return pulumi.get(self, "credential_id") + + @property + @pulumi.getter(name="databricksGcpServiceAccount") + def databricks_gcp_service_account(self) -> pulumi.Output['outputs.CredentialDatabricksGcpServiceAccount']: + return pulumi.get(self, "databricks_gcp_service_account") + + @property + @pulumi.getter(name="forceDestroy") + def force_destroy(self) -> pulumi.Output[Optional[bool]]: + """ + Delete credential regardless of its dependencies. + """ + return pulumi.get(self, "force_destroy") + + @property + @pulumi.getter(name="forceUpdate") + def force_update(self) -> pulumi.Output[Optional[bool]]: + """ + Update credential regardless of its dependents. + """ + return pulumi.get(self, "force_update") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "full_name") + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> pulumi.Output[str]: + """ + Whether the credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically restrict access to only from the current workspace. + + `aws_iam_role` optional configuration block for credential details for AWS: + """ + return pulumi.get(self, "isolation_mode") + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Name of Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> pulumi.Output[str]: + """ + Username/groupname/sp application_id of the credential owner. + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter + def purpose(self) -> pulumi.Output[str]: + """ + Indicates the purpose of the credential. Can be `SERVICE` or `STORAGE`. + """ + return pulumi.get(self, "purpose") + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> pulumi.Output[Optional[bool]]: + """ + Indicates whether the credential is only usable for read operations. Only applicable when purpose is `STORAGE`. + """ + return pulumi.get(self, "read_only") + + @property + @pulumi.getter(name="skipValidation") + def skip_validation(self) -> pulumi.Output[Optional[bool]]: + """ + Suppress validation errors if any & force save the credential. + """ + return pulumi.get(self, "skip_validation") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[int]: + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> pulumi.Output[str]: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="usedForManagedStorage") + def used_for_managed_storage(self) -> pulumi.Output[bool]: + return pulumi.get(self, "used_for_managed_storage") + diff --git a/sdk/python/pulumi_databricks/get_app.py b/sdk/python/pulumi_databricks/get_app.py new file mode 100644 index 00000000..42fd26bb --- /dev/null +++ b/sdk/python/pulumi_databricks/get_app.py @@ -0,0 +1,155 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetAppResult', + 'AwaitableGetAppResult', + 'get_app', + 'get_app_output', +] + +@pulumi.output_type +class GetAppResult: + """ + A collection of values returned by getApp. + """ + def __init__(__self__, app=None, id=None, name=None): + if app and not isinstance(app, dict): + raise TypeError("Expected argument 'app' to be a dict") + pulumi.set(__self__, "app", app) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def app(self) -> 'outputs.GetAppAppResult': + """ + attribute + """ + return pulumi.get(self, "app") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the serving endpoint to grant permission on. + """ + return pulumi.get(self, "name") + + +class AwaitableGetAppResult(GetAppResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAppResult( + app=self.app, + id=self.id, + name=self.name) + + +def get_app(name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppResult: + """ + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + + This data source allows you to fetch information about a Databricks App. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_app(name="my-custom-app") + ``` + + ## Related Resources + + The following resources are used in the same context: + + * App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * ModelServing to serve this model on a Databricks serving endpoint. + * Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + + + :param str name: The name of the app. + """ + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult).value + + return AwaitableGetAppResult( + app=pulumi.get(__ret__, 'app'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name')) +def get_app_output(name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppResult]: + """ + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + + This data source allows you to fetch information about a Databricks App. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_app(name="my-custom-app") + ``` + + ## Related Resources + + The following resources are used in the same context: + + * App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * ModelServing to serve this model on a Databricks serving endpoint. + * Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + + + :param str name: The name of the app. + """ + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('databricks:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult) + return __ret__.apply(lambda __response__: GetAppResult( + app=pulumi.get(__response__, 'app'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_databricks/get_apps.py b/sdk/python/pulumi_databricks/get_apps.py new file mode 100644 index 00000000..c97a2a63 --- /dev/null +++ b/sdk/python/pulumi_databricks/get_apps.py @@ -0,0 +1,128 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetAppsResult', + 'AwaitableGetAppsResult', + 'get_apps', + 'get_apps_output', +] + +@pulumi.output_type +class GetAppsResult: + """ + A collection of values returned by getApps. + """ + def __init__(__self__, apps=None, id=None): + if apps and not isinstance(apps, list): + raise TypeError("Expected argument 'apps' to be a list") + pulumi.set(__self__, "apps", apps) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def apps(self) -> Sequence['outputs.GetAppsAppResult']: + return pulumi.get(self, "apps") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + +class AwaitableGetAppsResult(GetAppsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAppsResult( + apps=self.apps, + id=self.id) + + +def get_apps(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsResult: + """ + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + + This data source allows you to fetch information about all Databricks Apps within a workspace. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + all_apps = databricks.get_apps() + ``` + + ## Related Resources + + The following resources are used in the same context: + + * App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * ModelServing to serve this model on a Databricks serving endpoint. + * Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + """ + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult).value + + return AwaitableGetAppsResult( + apps=pulumi.get(__ret__, 'apps'), + id=pulumi.get(__ret__, 'id')) +def get_apps_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsResult]: + """ + > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline. + + This data source allows you to fetch information about all Databricks Apps within a workspace. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + all_apps = databricks.get_apps() + ``` + + ## Related Resources + + The following resources are used in the same context: + + * App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html). + * SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html). + * ModelServing to serve this model on a Databricks serving endpoint. + * Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace. + * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code. + """ + __args__ = dict() + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('databricks:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult) + return __ret__.apply(lambda __response__: GetAppsResult( + apps=pulumi.get(__response__, 'apps'), + id=pulumi.get(__response__, 'id'))) 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 bd30364f..d478f6a5 100644 --- a/sdk/python/pulumi_databricks/get_aws_assume_role_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_assume_role_policy.py @@ -26,7 +26,10 @@ class GetAwsAssumeRolePolicyResult: """ A collection of values returned by getAwsAssumeRolePolicy. """ - def __init__(__self__, databricks_account_id=None, external_id=None, for_log_delivery=None, id=None, json=None): + def __init__(__self__, aws_partition=None, databricks_account_id=None, external_id=None, for_log_delivery=None, id=None, json=None): + if aws_partition and not isinstance(aws_partition, str): + raise TypeError("Expected argument 'aws_partition' to be a str") + pulumi.set(__self__, "aws_partition", aws_partition) if databricks_account_id and not isinstance(databricks_account_id, str): raise TypeError("Expected argument 'databricks_account_id' to be a str") pulumi.set(__self__, "databricks_account_id", databricks_account_id) @@ -43,8 +46,14 @@ def __init__(__self__, databricks_account_id=None, external_id=None, for_log_del raise TypeError("Expected argument 'json' to be a str") pulumi.set(__self__, "json", json) + @property + @pulumi.getter(name="awsPartition") + def aws_partition(self) -> Optional[str]: + return pulumi.get(self, "aws_partition") + @property @pulumi.getter(name="databricksAccountId") + @_utilities.deprecated("""databricks_account_id will be will be removed in the next major release.""") def databricks_account_id(self) -> Optional[str]: return pulumi.get(self, "databricks_account_id") @@ -81,6 +90,7 @@ def __await__(self): if False: yield self return GetAwsAssumeRolePolicyResult( + aws_partition=self.aws_partition, databricks_account_id=self.databricks_account_id, external_id=self.external_id, for_log_delivery=self.for_log_delivery, @@ -88,7 +98,8 @@ def __await__(self): json=self.json) -def get_aws_assume_role_policy(databricks_account_id: Optional[str] = None, +def get_aws_assume_role_policy(aws_partition: Optional[str] = None, + databricks_account_id: Optional[str] = None, external_id: Optional[str] = None, for_log_delivery: Optional[bool] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsAssumeRolePolicyResult: @@ -135,10 +146,12 @@ def get_aws_assume_role_policy(databricks_account_id: Optional[str] = None, * get_aws_cross_account_policy 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). + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str external_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). :param bool for_log_delivery: Either or not this assume role policy should be created for usage log delivery. Defaults to false. """ __args__ = dict() + __args__['awsPartition'] = aws_partition __args__['databricksAccountId'] = databricks_account_id __args__['externalId'] = external_id __args__['forLogDelivery'] = for_log_delivery @@ -146,12 +159,14 @@ def get_aws_assume_role_policy(databricks_account_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy', __args__, opts=opts, typ=GetAwsAssumeRolePolicyResult).value return AwaitableGetAwsAssumeRolePolicyResult( + aws_partition=pulumi.get(__ret__, 'aws_partition'), databricks_account_id=pulumi.get(__ret__, 'databricks_account_id'), external_id=pulumi.get(__ret__, 'external_id'), for_log_delivery=pulumi.get(__ret__, 'for_log_delivery'), id=pulumi.get(__ret__, 'id'), json=pulumi.get(__ret__, 'json')) -def get_aws_assume_role_policy_output(databricks_account_id: Optional[pulumi.Input[Optional[str]]] = None, +def get_aws_assume_role_policy_output(aws_partition: Optional[pulumi.Input[Optional[str]]] = None, + 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[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsAssumeRolePolicyResult]: @@ -198,16 +213,19 @@ def get_aws_assume_role_policy_output(databricks_account_id: Optional[pulumi.Inp * get_aws_cross_account_policy 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). + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str external_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). :param bool for_log_delivery: Either or not this assume role policy should be created for usage log delivery. Defaults to false. """ __args__ = dict() + __args__['awsPartition'] = aws_partition __args__['databricksAccountId'] = databricks_account_id __args__['externalId'] = external_id __args__['forLogDelivery'] = for_log_delivery 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( + aws_partition=pulumi.get(__response__, 'aws_partition'), databricks_account_id=pulumi.get(__response__, 'databricks_account_id'), external_id=pulumi.get(__response__, 'external_id'), for_log_delivery=pulumi.get(__response__, 'for_log_delivery'), diff --git a/sdk/python/pulumi_databricks/get_aws_bucket_policy.py b/sdk/python/pulumi_databricks/get_aws_bucket_policy.py index 6b6ef9be..2c11289f 100644 --- a/sdk/python/pulumi_databricks/get_aws_bucket_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_bucket_policy.py @@ -26,7 +26,10 @@ class GetAwsBucketPolicyResult: """ A collection of values returned by getAwsBucketPolicy. """ - def __init__(__self__, bucket=None, databricks_account_id=None, databricks_e2_account_id=None, full_access_role=None, id=None, json=None): + def __init__(__self__, aws_partition=None, bucket=None, databricks_account_id=None, databricks_e2_account_id=None, full_access_role=None, id=None, json=None): + if aws_partition and not isinstance(aws_partition, str): + raise TypeError("Expected argument 'aws_partition' to be a str") + pulumi.set(__self__, "aws_partition", aws_partition) if bucket and not isinstance(bucket, str): raise TypeError("Expected argument 'bucket' to be a str") pulumi.set(__self__, "bucket", bucket) @@ -46,6 +49,11 @@ def __init__(__self__, bucket=None, databricks_account_id=None, databricks_e2_ac raise TypeError("Expected argument 'json' to be a str") pulumi.set(__self__, "json", json) + @property + @pulumi.getter(name="awsPartition") + def aws_partition(self) -> Optional[str]: + return pulumi.get(self, "aws_partition") + @property @pulumi.getter def bucket(self) -> str: @@ -53,6 +61,7 @@ def bucket(self) -> str: @property @pulumi.getter(name="databricksAccountId") + @_utilities.deprecated("""databricks_account_id will be will be removed in the next major release.""") def databricks_account_id(self) -> Optional[str]: return pulumi.get(self, "databricks_account_id") @@ -89,6 +98,7 @@ def __await__(self): if False: yield self return GetAwsBucketPolicyResult( + aws_partition=self.aws_partition, bucket=self.bucket, databricks_account_id=self.databricks_account_id, databricks_e2_account_id=self.databricks_e2_account_id, @@ -97,7 +107,8 @@ def __await__(self): json=self.json) -def get_aws_bucket_policy(bucket: Optional[str] = None, +def get_aws_bucket_policy(aws_partition: Optional[str] = None, + bucket: Optional[str] = None, databricks_account_id: Optional[str] = None, databricks_e2_account_id: Optional[str] = None, full_access_role: Optional[str] = None, @@ -124,11 +135,13 @@ def get_aws_bucket_policy(bucket: Optional[str] = None, Bucket policy with full access: + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str bucket: AWS S3 Bucket name for which to generate the policy document. :param str databricks_e2_account_id: Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket :param str full_access_role: Data access role that can have full access for this bucket """ __args__ = dict() + __args__['awsPartition'] = aws_partition __args__['bucket'] = bucket __args__['databricksAccountId'] = databricks_account_id __args__['databricksE2AccountId'] = databricks_e2_account_id @@ -137,13 +150,15 @@ def get_aws_bucket_policy(bucket: Optional[str] = None, __ret__ = pulumi.runtime.invoke('databricks:index/getAwsBucketPolicy:getAwsBucketPolicy', __args__, opts=opts, typ=GetAwsBucketPolicyResult).value return AwaitableGetAwsBucketPolicyResult( + aws_partition=pulumi.get(__ret__, 'aws_partition'), bucket=pulumi.get(__ret__, 'bucket'), databricks_account_id=pulumi.get(__ret__, 'databricks_account_id'), databricks_e2_account_id=pulumi.get(__ret__, 'databricks_e2_account_id'), full_access_role=pulumi.get(__ret__, 'full_access_role'), id=pulumi.get(__ret__, 'id'), json=pulumi.get(__ret__, 'json')) -def get_aws_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, +def get_aws_bucket_policy_output(aws_partition: Optional[pulumi.Input[Optional[str]]] = None, + 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, @@ -170,11 +185,13 @@ def get_aws_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, Bucket policy with full access: + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str bucket: AWS S3 Bucket name for which to generate the policy document. :param str databricks_e2_account_id: Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket :param str full_access_role: Data access role that can have full access for this bucket """ __args__ = dict() + __args__['awsPartition'] = aws_partition __args__['bucket'] = bucket __args__['databricksAccountId'] = databricks_account_id __args__['databricksE2AccountId'] = databricks_e2_account_id @@ -182,6 +199,7 @@ def get_aws_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, 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( + aws_partition=pulumi.get(__response__, 'aws_partition'), bucket=pulumi.get(__response__, 'bucket'), databricks_account_id=pulumi.get(__response__, 'databricks_account_id'), databricks_e2_account_id=pulumi.get(__response__, 'databricks_e2_account_id'), 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 6c7f1cde..b5b57f50 100644 --- a/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py @@ -26,10 +26,13 @@ class GetAwsCrossAccountPolicyResult: """ A collection of values returned by getAwsCrossAccountPolicy. """ - def __init__(__self__, aws_account_id=None, id=None, json=None, pass_roles=None, policy_type=None, region=None, security_group_id=None, vpc_id=None): + def __init__(__self__, aws_account_id=None, aws_partition=None, id=None, json=None, pass_roles=None, policy_type=None, region=None, security_group_id=None, vpc_id=None): if aws_account_id and not isinstance(aws_account_id, str): raise TypeError("Expected argument 'aws_account_id' to be a str") pulumi.set(__self__, "aws_account_id", aws_account_id) + if aws_partition and not isinstance(aws_partition, str): + raise TypeError("Expected argument 'aws_partition' to be a str") + pulumi.set(__self__, "aws_partition", aws_partition) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -57,6 +60,11 @@ def __init__(__self__, aws_account_id=None, id=None, json=None, pass_roles=None, def aws_account_id(self) -> Optional[str]: return pulumi.get(self, "aws_account_id") + @property + @pulumi.getter(name="awsPartition") + def aws_partition(self) -> Optional[str]: + return pulumi.get(self, "aws_partition") + @property @pulumi.getter def id(self) -> str: @@ -106,6 +114,7 @@ def __await__(self): yield self return GetAwsCrossAccountPolicyResult( aws_account_id=self.aws_account_id, + aws_partition=self.aws_partition, id=self.id, json=self.json, pass_roles=self.pass_roles, @@ -116,6 +125,7 @@ def __await__(self): def get_aws_cross_account_policy(aws_account_id: Optional[str] = None, + aws_partition: Optional[str] = None, pass_roles: Optional[Sequence[str]] = None, policy_type: Optional[str] = None, region: Optional[str] = None, @@ -149,6 +159,7 @@ def get_aws_cross_account_policy(aws_account_id: Optional[str] = None, :param str aws_account_id: — Your AWS account ID, which is a number. + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param Sequence[str] pass_roles: List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. The below arguments are only valid for `restricted` policy type :param str policy_type: The type of cross account policy to generated: `managed` for Databricks-managed VPC and `customer` for customer-managed VPC, `restricted` for customer-managed VPC with policy restrictions @@ -158,6 +169,7 @@ def get_aws_cross_account_policy(aws_account_id: Optional[str] = None, """ __args__ = dict() __args__['awsAccountId'] = aws_account_id + __args__['awsPartition'] = aws_partition __args__['passRoles'] = pass_roles __args__['policyType'] = policy_type __args__['region'] = region @@ -168,6 +180,7 @@ def get_aws_cross_account_policy(aws_account_id: Optional[str] = None, return AwaitableGetAwsCrossAccountPolicyResult( aws_account_id=pulumi.get(__ret__, 'aws_account_id'), + aws_partition=pulumi.get(__ret__, 'aws_partition'), id=pulumi.get(__ret__, 'id'), json=pulumi.get(__ret__, 'json'), pass_roles=pulumi.get(__ret__, 'pass_roles'), @@ -176,6 +189,7 @@ def get_aws_cross_account_policy(aws_account_id: Optional[str] = None, security_group_id=pulumi.get(__ret__, 'security_group_id'), vpc_id=pulumi.get(__ret__, 'vpc_id')) def get_aws_cross_account_policy_output(aws_account_id: Optional[pulumi.Input[Optional[str]]] = None, + aws_partition: Optional[pulumi.Input[Optional[str]]] = None, pass_roles: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, policy_type: Optional[pulumi.Input[Optional[str]]] = None, region: Optional[pulumi.Input[Optional[str]]] = None, @@ -209,6 +223,7 @@ def get_aws_cross_account_policy_output(aws_account_id: Optional[pulumi.Input[Op :param str aws_account_id: — Your AWS account ID, which is a number. + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param Sequence[str] pass_roles: List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action. The below arguments are only valid for `restricted` policy type :param str policy_type: The type of cross account policy to generated: `managed` for Databricks-managed VPC and `customer` for customer-managed VPC, `restricted` for customer-managed VPC with policy restrictions @@ -218,6 +233,7 @@ def get_aws_cross_account_policy_output(aws_account_id: Optional[pulumi.Input[Op """ __args__ = dict() __args__['awsAccountId'] = aws_account_id + __args__['awsPartition'] = aws_partition __args__['passRoles'] = pass_roles __args__['policyType'] = policy_type __args__['region'] = region @@ -227,6 +243,7 @@ def get_aws_cross_account_policy_output(aws_account_id: Optional[pulumi.Input[Op __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'), + aws_partition=pulumi.get(__response__, 'aws_partition'), id=pulumi.get(__response__, 'id'), json=pulumi.get(__response__, 'json'), pass_roles=pulumi.get(__response__, 'pass_roles'), 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 300f5a46..459a3337 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 @@ -26,10 +26,13 @@ class GetAwsUnityCatalogAssumeRolePolicyResult: """ A collection of values returned by getAwsUnityCatalogAssumeRolePolicy. """ - def __init__(__self__, aws_account_id=None, external_id=None, id=None, json=None, role_name=None, unity_catalog_iam_arn=None): + def __init__(__self__, aws_account_id=None, aws_partition=None, external_id=None, id=None, json=None, role_name=None, unity_catalog_iam_arn=None): if aws_account_id and not isinstance(aws_account_id, str): raise TypeError("Expected argument 'aws_account_id' to be a str") pulumi.set(__self__, "aws_account_id", aws_account_id) + if aws_partition and not isinstance(aws_partition, str): + raise TypeError("Expected argument 'aws_partition' to be a str") + pulumi.set(__self__, "aws_partition", aws_partition) if external_id and not isinstance(external_id, str): raise TypeError("Expected argument 'external_id' to be a str") pulumi.set(__self__, "external_id", external_id) @@ -51,6 +54,11 @@ def __init__(__self__, aws_account_id=None, external_id=None, id=None, json=None def aws_account_id(self) -> str: return pulumi.get(self, "aws_account_id") + @property + @pulumi.getter(name="awsPartition") + def aws_partition(self) -> Optional[str]: + return pulumi.get(self, "aws_partition") + @property @pulumi.getter(name="externalId") def external_id(self) -> str: @@ -87,6 +95,7 @@ def __await__(self): yield self return GetAwsUnityCatalogAssumeRolePolicyResult( aws_account_id=self.aws_account_id, + aws_partition=self.aws_partition, external_id=self.external_id, id=self.id, json=self.json, @@ -95,6 +104,7 @@ def __await__(self): def get_aws_unity_catalog_assume_role_policy(aws_account_id: Optional[str] = None, + aws_partition: Optional[str] = None, external_id: Optional[str] = None, role_name: Optional[str] = None, unity_catalog_iam_arn: Optional[str] = None, @@ -129,12 +139,14 @@ def get_aws_unity_catalog_assume_role_policy(aws_account_id: Optional[str] = Non :param str aws_account_id: The Account ID of the current AWS account (not your Databricks account). + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str external_id: The storage credential external id. :param str role_name: The name of the AWS IAM role to be created for Unity Catalog. - :param str unity_catalog_iam_arn: The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + :param str unity_catalog_iam_arn: The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection """ __args__ = dict() __args__['awsAccountId'] = aws_account_id + __args__['awsPartition'] = aws_partition __args__['externalId'] = external_id __args__['roleName'] = role_name __args__['unityCatalogIamArn'] = unity_catalog_iam_arn @@ -143,12 +155,14 @@ def get_aws_unity_catalog_assume_role_policy(aws_account_id: Optional[str] = Non return AwaitableGetAwsUnityCatalogAssumeRolePolicyResult( aws_account_id=pulumi.get(__ret__, 'aws_account_id'), + aws_partition=pulumi.get(__ret__, 'aws_partition'), external_id=pulumi.get(__ret__, 'external_id'), id=pulumi.get(__ret__, 'id'), json=pulumi.get(__ret__, 'json'), role_name=pulumi.get(__ret__, 'role_name'), unity_catalog_iam_arn=pulumi.get(__ret__, 'unity_catalog_iam_arn')) def get_aws_unity_catalog_assume_role_policy_output(aws_account_id: Optional[pulumi.Input[str]] = None, + aws_partition: Optional[pulumi.Input[Optional[str]]] = None, external_id: Optional[pulumi.Input[str]] = None, role_name: Optional[pulumi.Input[str]] = None, unity_catalog_iam_arn: Optional[pulumi.Input[Optional[str]]] = None, @@ -183,12 +197,14 @@ def get_aws_unity_catalog_assume_role_policy_output(aws_account_id: Optional[pul :param str aws_account_id: The Account ID of the current AWS account (not your Databricks account). + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str external_id: The storage credential external id. :param str role_name: The name of the AWS IAM role to be created for Unity Catalog. - :param str unity_catalog_iam_arn: The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` + :param str unity_catalog_iam_arn: The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection """ __args__ = dict() __args__['awsAccountId'] = aws_account_id + __args__['awsPartition'] = aws_partition __args__['externalId'] = external_id __args__['roleName'] = role_name __args__['unityCatalogIamArn'] = unity_catalog_iam_arn @@ -196,6 +212,7 @@ def get_aws_unity_catalog_assume_role_policy_output(aws_account_id: Optional[pul __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'), + aws_partition=pulumi.get(__response__, 'aws_partition'), external_id=pulumi.get(__response__, 'external_id'), id=pulumi.get(__response__, 'id'), json=pulumi.get(__response__, 'json'), 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 c48eb0ee..515d81b9 100644 --- a/sdk/python/pulumi_databricks/get_aws_unity_catalog_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_unity_catalog_policy.py @@ -26,10 +26,13 @@ class GetAwsUnityCatalogPolicyResult: """ A collection of values returned by getAwsUnityCatalogPolicy. """ - def __init__(__self__, aws_account_id=None, bucket_name=None, id=None, json=None, kms_name=None, role_name=None): + def __init__(__self__, aws_account_id=None, aws_partition=None, bucket_name=None, id=None, json=None, kms_name=None, role_name=None): if aws_account_id and not isinstance(aws_account_id, str): raise TypeError("Expected argument 'aws_account_id' to be a str") pulumi.set(__self__, "aws_account_id", aws_account_id) + if aws_partition and not isinstance(aws_partition, str): + raise TypeError("Expected argument 'aws_partition' to be a str") + pulumi.set(__self__, "aws_partition", aws_partition) if bucket_name and not isinstance(bucket_name, str): raise TypeError("Expected argument 'bucket_name' to be a str") pulumi.set(__self__, "bucket_name", bucket_name) @@ -51,6 +54,11 @@ def __init__(__self__, aws_account_id=None, bucket_name=None, id=None, json=None def aws_account_id(self) -> str: return pulumi.get(self, "aws_account_id") + @property + @pulumi.getter(name="awsPartition") + def aws_partition(self) -> Optional[str]: + return pulumi.get(self, "aws_partition") + @property @pulumi.getter(name="bucketName") def bucket_name(self) -> str: @@ -90,6 +98,7 @@ def __await__(self): yield self return GetAwsUnityCatalogPolicyResult( aws_account_id=self.aws_account_id, + aws_partition=self.aws_partition, bucket_name=self.bucket_name, id=self.id, json=self.json, @@ -98,6 +107,7 @@ def __await__(self): def get_aws_unity_catalog_policy(aws_account_id: Optional[str] = None, + aws_partition: Optional[str] = None, bucket_name: Optional[str] = None, kms_name: Optional[str] = None, role_name: Optional[str] = None, @@ -132,12 +142,14 @@ def get_aws_unity_catalog_policy(aws_account_id: Optional[str] = None, :param str aws_account_id: The Account ID of the current AWS account (not your Databricks account). + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str bucket_name: The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. :param str kms_name: If encryption is enabled, provide the ARN of the KMS key that encrypts the S3 bucket contents. If encryption is disabled, do not provide this argument. :param str role_name: The name of the AWS IAM role that you created in the previous step in the [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws). """ __args__ = dict() __args__['awsAccountId'] = aws_account_id + __args__['awsPartition'] = aws_partition __args__['bucketName'] = bucket_name __args__['kmsName'] = kms_name __args__['roleName'] = role_name @@ -146,12 +158,14 @@ def get_aws_unity_catalog_policy(aws_account_id: Optional[str] = None, return AwaitableGetAwsUnityCatalogPolicyResult( aws_account_id=pulumi.get(__ret__, 'aws_account_id'), + aws_partition=pulumi.get(__ret__, 'aws_partition'), bucket_name=pulumi.get(__ret__, 'bucket_name'), id=pulumi.get(__ret__, 'id'), json=pulumi.get(__ret__, 'json'), kms_name=pulumi.get(__ret__, 'kms_name'), role_name=pulumi.get(__ret__, 'role_name')) def get_aws_unity_catalog_policy_output(aws_account_id: Optional[pulumi.Input[str]] = None, + aws_partition: Optional[pulumi.Input[Optional[str]]] = None, bucket_name: Optional[pulumi.Input[str]] = None, kms_name: Optional[pulumi.Input[Optional[str]]] = None, role_name: Optional[pulumi.Input[str]] = None, @@ -186,12 +200,14 @@ def get_aws_unity_catalog_policy_output(aws_account_id: Optional[pulumi.Input[st :param str aws_account_id: The Account ID of the current AWS account (not your Databricks account). + :param str aws_partition: AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws` :param str bucket_name: The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog. :param str kms_name: If encryption is enabled, provide the ARN of the KMS key that encrypts the S3 bucket contents. If encryption is disabled, do not provide this argument. :param str role_name: The name of the AWS IAM role that you created in the previous step in the [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws). """ __args__ = dict() __args__['awsAccountId'] = aws_account_id + __args__['awsPartition'] = aws_partition __args__['bucketName'] = bucket_name __args__['kmsName'] = kms_name __args__['roleName'] = role_name @@ -199,6 +215,7 @@ def get_aws_unity_catalog_policy_output(aws_account_id: Optional[pulumi.Input[st __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'), + aws_partition=pulumi.get(__response__, 'aws_partition'), bucket_name=pulumi.get(__response__, 'bucket_name'), id=pulumi.get(__response__, 'id'), json=pulumi.get(__response__, 'json'), diff --git a/sdk/python/pulumi_databricks/get_functions.py b/sdk/python/pulumi_databricks/get_functions.py index e24730c5..6b02267f 100644 --- a/sdk/python/pulumi_databricks/get_functions.py +++ b/sdk/python/pulumi_databricks/get_functions.py @@ -55,7 +55,7 @@ def catalog_name(self) -> str: @property @pulumi.getter - def functions(self) -> Optional[Sequence['outputs.GetFunctionsFunctionResult']]: + def functions(self) -> Sequence['outputs.GetFunctionsFunctionResult']: """ list of objects describing individual UDF. Each object consists of the following attributes (refer to [REST API documentation](https://docs.databricks.com/api/workspace/functions/list#functions) for up-to-date list of attributes. Default type is String): """ diff --git a/sdk/python/pulumi_databricks/get_jobs.py b/sdk/python/pulumi_databricks/get_jobs.py index b92258e2..ae6b211f 100644 --- a/sdk/python/pulumi_databricks/get_jobs.py +++ b/sdk/python/pulumi_databricks/get_jobs.py @@ -26,13 +26,16 @@ class GetJobsResult: """ A collection of values returned by getJobs. """ - def __init__(__self__, id=None, ids=None): + def __init__(__self__, id=None, ids=None, job_name_contains=None): if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) if ids and not isinstance(ids, dict): raise TypeError("Expected argument 'ids' to be a dict") pulumi.set(__self__, "ids", ids) + if job_name_contains and not isinstance(job_name_contains, str): + raise TypeError("Expected argument 'job_name_contains' to be a str") + pulumi.set(__self__, "job_name_contains", job_name_contains) @property @pulumi.getter @@ -50,6 +53,11 @@ def ids(self) -> Mapping[str, str]: """ return pulumi.get(self, "ids") + @property + @pulumi.getter(name="jobNameContains") + def job_name_contains(self) -> Optional[str]: + return pulumi.get(self, "job_name_contains") + class AwaitableGetJobsResult(GetJobsResult): # pylint: disable=using-constant-test @@ -58,10 +66,12 @@ def __await__(self): yield self return GetJobsResult( id=self.id, - ids=self.ids) + ids=self.ids, + job_name_contains=self.job_name_contains) def get_jobs(ids: Optional[Mapping[str, str]] = None, + job_name_contains: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetJobsResult: """ > **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. @@ -79,6 +89,7 @@ def get_jobs(ids: Optional[Mapping[str, str]] = None, import pulumi_databricks as databricks this = databricks.get_jobs() + tests = databricks.get_jobs(job_name_contains="test") everyone_can_view_all_jobs = [] for range in [{"key": k, "value": v} for [k, v] in enumerate(this.ids)]: everyone_can_view_all_jobs.append(databricks.Permissions(f"everyone_can_view_all_jobs-{range['key']}", @@ -107,16 +118,20 @@ def get_jobs(ids: Optional[Mapping[str, str]] = None, :param Mapping[str, str] ids: map of Job names to ids + :param str job_name_contains: Only return Job ids that match the given name string (case-insensitive). """ __args__ = dict() __args__['ids'] = ids + __args__['jobNameContains'] = job_name_contains opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('databricks:index/getJobs:getJobs', __args__, opts=opts, typ=GetJobsResult).value return AwaitableGetJobsResult( id=pulumi.get(__ret__, 'id'), - ids=pulumi.get(__ret__, 'ids')) + ids=pulumi.get(__ret__, 'ids'), + job_name_contains=pulumi.get(__ret__, 'job_name_contains')) def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, + job_name_contains: Optional[pulumi.Input[Optional[str]]] = None, 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. @@ -134,6 +149,7 @@ def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = N import pulumi_databricks as databricks this = databricks.get_jobs() + tests = databricks.get_jobs(job_name_contains="test") everyone_can_view_all_jobs = [] for range in [{"key": k, "value": v} for [k, v] in enumerate(this.ids)]: everyone_can_view_all_jobs.append(databricks.Permissions(f"everyone_can_view_all_jobs-{range['key']}", @@ -162,11 +178,14 @@ def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = N :param Mapping[str, str] ids: map of Job names to ids + :param str job_name_contains: Only return Job ids that match the given name string (case-insensitive). """ __args__ = dict() __args__['ids'] = ids + __args__['jobNameContains'] = job_name_contains 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'), - ids=pulumi.get(__response__, 'ids'))) + ids=pulumi.get(__response__, 'ids'), + job_name_contains=pulumi.get(__response__, 'job_name_contains'))) diff --git a/sdk/python/pulumi_databricks/get_mws_network_connectivity_config.py b/sdk/python/pulumi_databricks/get_mws_network_connectivity_config.py new file mode 100644 index 00000000..51d785c3 --- /dev/null +++ b/sdk/python/pulumi_databricks/get_mws_network_connectivity_config.py @@ -0,0 +1,258 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetMwsNetworkConnectivityConfigResult', + 'AwaitableGetMwsNetworkConnectivityConfigResult', + 'get_mws_network_connectivity_config', + 'get_mws_network_connectivity_config_output', +] + +@pulumi.output_type +class GetMwsNetworkConnectivityConfigResult: + """ + A collection of values returned by getMwsNetworkConnectivityConfig. + """ + def __init__(__self__, account_id=None, creation_time=None, egress_config=None, id=None, name=None, network_connectivity_config_id=None, region=None, updated_time=None): + if account_id and not isinstance(account_id, str): + raise TypeError("Expected argument 'account_id' to be a str") + pulumi.set(__self__, "account_id", account_id) + if creation_time and not isinstance(creation_time, int): + raise TypeError("Expected argument 'creation_time' to be a int") + pulumi.set(__self__, "creation_time", creation_time) + if egress_config and not isinstance(egress_config, dict): + raise TypeError("Expected argument 'egress_config' to be a dict") + pulumi.set(__self__, "egress_config", egress_config) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_connectivity_config_id and not isinstance(network_connectivity_config_id, str): + raise TypeError("Expected argument 'network_connectivity_config_id' to be a str") + pulumi.set(__self__, "network_connectivity_config_id", network_connectivity_config_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if updated_time and not isinstance(updated_time, int): + raise TypeError("Expected argument 'updated_time' to be a int") + pulumi.set(__self__, "updated_time", updated_time) + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> str: + """ + The Databricks account ID associated with this network configuration. + """ + return pulumi.get(self, "account_id") + + @property + @pulumi.getter(name="creationTime") + def creation_time(self) -> int: + """ + Time in epoch milliseconds when this object was created. + """ + return pulumi.get(self, "creation_time") + + @property + @pulumi.getter(name="egressConfig") + def egress_config(self) -> 'outputs.GetMwsNetworkConnectivityConfigEgressConfigResult': + """ + Array of egress configuration objects. + """ + return pulumi.get(self, "egress_config") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the network connectivity configuration. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkConnectivityConfigId") + def network_connectivity_config_id(self) -> str: + """ + The Databricks network connectivity configuration ID. + """ + return pulumi.get(self, "network_connectivity_config_id") + + @property + @pulumi.getter + def region(self) -> str: + """ + The region of the network connectivity configuration. + """ + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="updatedTime") + def updated_time(self) -> int: + """ + Time in epoch milliseconds when the network was updated. + """ + return pulumi.get(self, "updated_time") + + +class AwaitableGetMwsNetworkConnectivityConfigResult(GetMwsNetworkConnectivityConfigResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMwsNetworkConnectivityConfigResult( + account_id=self.account_id, + creation_time=self.creation_time, + egress_config=self.egress_config, + id=self.id, + name=self.name, + network_connectivity_config_id=self.network_connectivity_config_id, + region=self.region, + updated_time=self.updated_time) + + +def get_mws_network_connectivity_config(account_id: Optional[str] = None, + creation_time: Optional[int] = None, + egress_config: Optional[Union['GetMwsNetworkConnectivityConfigEgressConfigArgs', 'GetMwsNetworkConnectivityConfigEgressConfigArgsDict']] = None, + name: Optional[str] = None, + network_connectivity_config_id: Optional[str] = None, + region: Optional[str] = None, + updated_time: Optional[int] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMwsNetworkConnectivityConfigResult: + """ + > **Note** This data source can only be used with an account-level provider! + + Retrieves information about MwsNetworkConnectivityConfig in Databricks Account. + + ## Example Usage + + Fetching information about a network connectivity configuration in Databricks Account + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_mws_network_connectivity_config(name="ncc") + pulumi.export("config", this) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * get_mws_network_connectivity_configs to get names of all network connectivity configurations. + * MwsNetworkConnectivityConfig to manage network connectivity configuration. + + + :param str account_id: The Databricks account ID associated with this network configuration. + :param int creation_time: Time in epoch milliseconds when this object was created. + :param Union['GetMwsNetworkConnectivityConfigEgressConfigArgs', 'GetMwsNetworkConnectivityConfigEgressConfigArgsDict'] egress_config: Array of egress configuration objects. + :param str name: Name of the network connectivity configuration. + :param str network_connectivity_config_id: The Databricks network connectivity configuration ID. + :param str region: The region of the network connectivity configuration. + :param int updated_time: Time in epoch milliseconds when the network was updated. + """ + __args__ = dict() + __args__['accountId'] = account_id + __args__['creationTime'] = creation_time + __args__['egressConfig'] = egress_config + __args__['name'] = name + __args__['networkConnectivityConfigId'] = network_connectivity_config_id + __args__['region'] = region + __args__['updatedTime'] = updated_time + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig', __args__, opts=opts, typ=GetMwsNetworkConnectivityConfigResult).value + + return AwaitableGetMwsNetworkConnectivityConfigResult( + account_id=pulumi.get(__ret__, 'account_id'), + creation_time=pulumi.get(__ret__, 'creation_time'), + egress_config=pulumi.get(__ret__, 'egress_config'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + network_connectivity_config_id=pulumi.get(__ret__, 'network_connectivity_config_id'), + region=pulumi.get(__ret__, 'region'), + updated_time=pulumi.get(__ret__, 'updated_time')) +def get_mws_network_connectivity_config_output(account_id: Optional[pulumi.Input[Optional[str]]] = None, + creation_time: Optional[pulumi.Input[Optional[int]]] = None, + egress_config: Optional[pulumi.Input[Optional[Union['GetMwsNetworkConnectivityConfigEgressConfigArgs', 'GetMwsNetworkConnectivityConfigEgressConfigArgsDict']]]] = None, + name: Optional[pulumi.Input[str]] = None, + network_connectivity_config_id: Optional[pulumi.Input[Optional[str]]] = None, + region: Optional[pulumi.Input[Optional[str]]] = None, + updated_time: Optional[pulumi.Input[Optional[int]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMwsNetworkConnectivityConfigResult]: + """ + > **Note** This data source can only be used with an account-level provider! + + Retrieves information about MwsNetworkConnectivityConfig in Databricks Account. + + ## Example Usage + + Fetching information about a network connectivity configuration in Databricks Account + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_mws_network_connectivity_config(name="ncc") + pulumi.export("config", this) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * get_mws_network_connectivity_configs to get names of all network connectivity configurations. + * MwsNetworkConnectivityConfig to manage network connectivity configuration. + + + :param str account_id: The Databricks account ID associated with this network configuration. + :param int creation_time: Time in epoch milliseconds when this object was created. + :param Union['GetMwsNetworkConnectivityConfigEgressConfigArgs', 'GetMwsNetworkConnectivityConfigEgressConfigArgsDict'] egress_config: Array of egress configuration objects. + :param str name: Name of the network connectivity configuration. + :param str network_connectivity_config_id: The Databricks network connectivity configuration ID. + :param str region: The region of the network connectivity configuration. + :param int updated_time: Time in epoch milliseconds when the network was updated. + """ + __args__ = dict() + __args__['accountId'] = account_id + __args__['creationTime'] = creation_time + __args__['egressConfig'] = egress_config + __args__['name'] = name + __args__['networkConnectivityConfigId'] = network_connectivity_config_id + __args__['region'] = region + __args__['updatedTime'] = updated_time + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig', __args__, opts=opts, typ=GetMwsNetworkConnectivityConfigResult) + return __ret__.apply(lambda __response__: GetMwsNetworkConnectivityConfigResult( + account_id=pulumi.get(__response__, 'account_id'), + creation_time=pulumi.get(__response__, 'creation_time'), + egress_config=pulumi.get(__response__, 'egress_config'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + network_connectivity_config_id=pulumi.get(__response__, 'network_connectivity_config_id'), + region=pulumi.get(__response__, 'region'), + updated_time=pulumi.get(__response__, 'updated_time'))) diff --git a/sdk/python/pulumi_databricks/get_mws_network_connectivity_configs.py b/sdk/python/pulumi_databricks/get_mws_network_connectivity_configs.py new file mode 100644 index 00000000..373f8fab --- /dev/null +++ b/sdk/python/pulumi_databricks/get_mws_network_connectivity_configs.py @@ -0,0 +1,173 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetMwsNetworkConnectivityConfigsResult', + 'AwaitableGetMwsNetworkConnectivityConfigsResult', + 'get_mws_network_connectivity_configs', + 'get_mws_network_connectivity_configs_output', +] + +@pulumi.output_type +class GetMwsNetworkConnectivityConfigsResult: + """ + A collection of values returned by getMwsNetworkConnectivityConfigs. + """ + def __init__(__self__, id=None, names=None, region=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if names and not isinstance(names, list): + raise TypeError("Expected argument 'names' to be a list") + pulumi.set(__self__, "names", names) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def names(self) -> Sequence[str]: + """ + List of names of databricks_mws_network_connectivity_config + """ + return pulumi.get(self, "names") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + +class AwaitableGetMwsNetworkConnectivityConfigsResult(GetMwsNetworkConnectivityConfigsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMwsNetworkConnectivityConfigsResult( + id=self.id, + names=self.names, + region=self.region) + + +def get_mws_network_connectivity_configs(names: Optional[Sequence[str]] = None, + region: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMwsNetworkConnectivityConfigsResult: + """ + > **Note** This data source can only be used with an account-level provider! + + Lists all MwsNetworkConnectivityConfig in Databricks Account. + + ## Example Usage + + List all network connectivity configurations in Databricks Account + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_mws_network_connectivity_configs() + pulumi.export("all", this) + ``` + + List network connectivity configurations from a specific region in Databricks Account + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_mws_network_connectivity_configs(region="us-east-1") + pulumi.export("filtered", this) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * MwsNetworkConnectivityConfig to manage network connectivity configuration. + + + :param Sequence[str] names: List of names of databricks_mws_network_connectivity_config + :param str region: Filter network connectivity configurations by region. + """ + __args__ = dict() + __args__['names'] = names + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs', __args__, opts=opts, typ=GetMwsNetworkConnectivityConfigsResult).value + + return AwaitableGetMwsNetworkConnectivityConfigsResult( + id=pulumi.get(__ret__, 'id'), + names=pulumi.get(__ret__, 'names'), + region=pulumi.get(__ret__, 'region')) +def get_mws_network_connectivity_configs_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + region: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMwsNetworkConnectivityConfigsResult]: + """ + > **Note** This data source can only be used with an account-level provider! + + Lists all MwsNetworkConnectivityConfig in Databricks Account. + + ## Example Usage + + List all network connectivity configurations in Databricks Account + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_mws_network_connectivity_configs() + pulumi.export("all", this) + ``` + + List network connectivity configurations from a specific region in Databricks Account + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_mws_network_connectivity_configs(region="us-east-1") + pulumi.export("filtered", this) + ``` + + ## Related Resources + + The following resources are used in the same context: + + * MwsNetworkConnectivityConfig to get information about a single network connectivity configuration. + * MwsNetworkConnectivityConfig to manage network connectivity configuration. + + + :param Sequence[str] names: List of names of databricks_mws_network_connectivity_config + :param str region: Filter network connectivity configurations by region. + """ + __args__ = dict() + __args__['names'] = names + __args__['region'] = region + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('databricks:index/getMwsNetworkConnectivityConfigs:getMwsNetworkConnectivityConfigs', __args__, opts=opts, typ=GetMwsNetworkConnectivityConfigsResult) + return __ret__.apply(lambda __response__: GetMwsNetworkConnectivityConfigsResult( + id=pulumi.get(__response__, 'id'), + names=pulumi.get(__response__, 'names'), + region=pulumi.get(__response__, 'region'))) diff --git a/sdk/python/pulumi_databricks/get_notification_destinations.py b/sdk/python/pulumi_databricks/get_notification_destinations.py index 4089e299..6a027d6e 100644 --- a/sdk/python/pulumi_databricks/get_notification_destinations.py +++ b/sdk/python/pulumi_databricks/get_notification_destinations.py @@ -14,7 +14,6 @@ from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from . import outputs -from ._inputs import * __all__ = [ 'GetNotificationDestinationsResult', @@ -57,7 +56,7 @@ def id(self) -> str: @property @pulumi.getter(name="notificationDestinations") - def notification_destinations(self) -> Optional[Sequence['outputs.GetNotificationDestinationsNotificationDestinationResult']]: + def notification_destinations(self) -> Sequence['outputs.GetNotificationDestinationsNotificationDestinationResult']: """ A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: """ @@ -82,7 +81,6 @@ def __await__(self): def get_notification_destinations(display_name_contains: Optional[str] = None, - notification_destinations: Optional[Sequence[Union['GetNotificationDestinationsNotificationDestinationArgs', 'GetNotificationDestinationsNotificationDestinationArgsDict']]] = None, type: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationDestinationsResult: """ @@ -117,7 +115,6 @@ def get_notification_destinations(display_name_contains: Optional[str] = None, :param str display_name_contains: A **case-insensitive** substring to filter Notification Destinations by their display name. - :param Sequence[Union['GetNotificationDestinationsNotificationDestinationArgs', 'GetNotificationDestinationsNotificationDestinationArgsDict']] notification_destinations: A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: :param str type: The type of the Notification Destination to filter by. Valid values are: * `EMAIL` - Filters Notification Destinations of type Email. * `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams. @@ -127,7 +124,6 @@ def get_notification_destinations(display_name_contains: Optional[str] = None, """ __args__ = dict() __args__['displayNameContains'] = display_name_contains - __args__['notificationDestinations'] = notification_destinations __args__['type'] = type opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('databricks:index/getNotificationDestinations:getNotificationDestinations', __args__, opts=opts, typ=GetNotificationDestinationsResult).value @@ -138,7 +134,6 @@ def get_notification_destinations(display_name_contains: Optional[str] = None, notification_destinations=pulumi.get(__ret__, 'notification_destinations'), type=pulumi.get(__ret__, 'type')) 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[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationDestinationsResult]: """ @@ -173,7 +168,6 @@ def get_notification_destinations_output(display_name_contains: Optional[pulumi. :param str display_name_contains: A **case-insensitive** substring to filter Notification Destinations by their display name. - :param Sequence[Union['GetNotificationDestinationsNotificationDestinationArgs', 'GetNotificationDestinationsNotificationDestinationArgsDict']] notification_destinations: A list of Notification Destinations matching the specified criteria. Each element contains the following attributes: :param str type: The type of the Notification Destination to filter by. Valid values are: * `EMAIL` - Filters Notification Destinations of type Email. * `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams. @@ -183,7 +177,6 @@ def get_notification_destinations_output(display_name_contains: Optional[pulumi. """ __args__ = dict() __args__['displayNameContains'] = display_name_contains - __args__['notificationDestinations'] = notification_destinations __args__['type'] = type opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getNotificationDestinations:getNotificationDestinations', __args__, opts=opts, typ=GetNotificationDestinationsResult) diff --git a/sdk/python/pulumi_databricks/get_registered_model.py b/sdk/python/pulumi_databricks/get_registered_model.py index eed10bac..fd16414d 100644 --- a/sdk/python/pulumi_databricks/get_registered_model.py +++ b/sdk/python/pulumi_databricks/get_registered_model.py @@ -73,7 +73,7 @@ def include_browse(self) -> Optional[bool]: @property @pulumi.getter(name="modelInfos") - def model_infos(self) -> Optional[Sequence['outputs.GetRegisteredModelModelInfoResult']]: + def model_infos(self) -> Sequence['outputs.GetRegisteredModelModelInfoResult']: """ block with information about the model in Unity Catalog: """ diff --git a/sdk/python/pulumi_databricks/get_registered_model_versions.py b/sdk/python/pulumi_databricks/get_registered_model_versions.py new file mode 100644 index 00000000..7e6e0674 --- /dev/null +++ b/sdk/python/pulumi_databricks/get_registered_model_versions.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetRegisteredModelVersionsResult', + 'AwaitableGetRegisteredModelVersionsResult', + 'get_registered_model_versions', + 'get_registered_model_versions_output', +] + +@pulumi.output_type +class GetRegisteredModelVersionsResult: + """ + A collection of values returned by getRegisteredModelVersions. + """ + def __init__(__self__, full_name=None, id=None, model_versions=None): + if full_name and not isinstance(full_name, str): + raise TypeError("Expected argument 'full_name' to be a str") + pulumi.set(__self__, "full_name", full_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if model_versions and not isinstance(model_versions, list): + raise TypeError("Expected argument 'model_versions' to be a list") + pulumi.set(__self__, "model_versions", model_versions) + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> str: + """ + The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + """ + return pulumi.get(self, "full_name") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="modelVersions") + def model_versions(self) -> Sequence['outputs.GetRegisteredModelVersionsModelVersionResult']: + """ + list of objects describing the model versions. Each object consists of following attributes: + """ + return pulumi.get(self, "model_versions") + + +class AwaitableGetRegisteredModelVersionsResult(GetRegisteredModelVersionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRegisteredModelVersionsResult( + full_name=self.full_name, + id=self.id, + model_versions=self.model_versions) + + +def get_registered_model_versions(full_name: Optional[str] = None, + model_versions: Optional[Sequence[Union['GetRegisteredModelVersionsModelVersionArgs', 'GetRegisteredModelVersionsModelVersionArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegisteredModelVersionsResult: + """ + > This resource can only be used with a workspace-level provider! + + This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_registered_model_versions(full_name="main.default.my_model") + ``` + + ## Related Resources + + The following resources are often used in the same context: + + * RegisteredModel data source to retrieve information about a model within Unity Catalog. + * RegisteredModel resource to manage models within Unity Catalog. + * ModelServing to serve this model on a Databricks serving endpoint. + * MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + + + :param str full_name: The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + :param Sequence[Union['GetRegisteredModelVersionsModelVersionArgs', 'GetRegisteredModelVersionsModelVersionArgsDict']] model_versions: list of objects describing the model versions. Each object consists of following attributes: + """ + __args__ = dict() + __args__['fullName'] = full_name + __args__['modelVersions'] = model_versions + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getRegisteredModelVersions:getRegisteredModelVersions', __args__, opts=opts, typ=GetRegisteredModelVersionsResult).value + + return AwaitableGetRegisteredModelVersionsResult( + full_name=pulumi.get(__ret__, 'full_name'), + id=pulumi.get(__ret__, 'id'), + model_versions=pulumi.get(__ret__, 'model_versions')) +def get_registered_model_versions_output(full_name: Optional[pulumi.Input[str]] = None, + model_versions: Optional[pulumi.Input[Optional[Sequence[Union['GetRegisteredModelVersionsModelVersionArgs', 'GetRegisteredModelVersionsModelVersionArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegisteredModelVersionsResult]: + """ + > This resource can only be used with a workspace-level provider! + + This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html). + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.get_registered_model_versions(full_name="main.default.my_model") + ``` + + ## Related Resources + + The following resources are often used in the same context: + + * RegisteredModel data source to retrieve information about a model within Unity Catalog. + * RegisteredModel resource to manage models within Unity Catalog. + * ModelServing to serve this model on a Databricks serving endpoint. + * MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + + + :param str full_name: The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + :param Sequence[Union['GetRegisteredModelVersionsModelVersionArgs', 'GetRegisteredModelVersionsModelVersionArgsDict']] model_versions: list of objects describing the model versions. Each object consists of following attributes: + """ + __args__ = dict() + __args__['fullName'] = full_name + __args__['modelVersions'] = model_versions + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('databricks:index/getRegisteredModelVersions:getRegisteredModelVersions', __args__, opts=opts, typ=GetRegisteredModelVersionsResult) + return __ret__.apply(lambda __response__: GetRegisteredModelVersionsResult( + full_name=pulumi.get(__response__, 'full_name'), + id=pulumi.get(__response__, 'id'), + model_versions=pulumi.get(__response__, 'model_versions'))) diff --git a/sdk/python/pulumi_databricks/get_serving_endpoints.py b/sdk/python/pulumi_databricks/get_serving_endpoints.py new file mode 100644 index 00000000..be90fe12 --- /dev/null +++ b/sdk/python/pulumi_databricks/get_serving_endpoints.py @@ -0,0 +1,166 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetServingEndpointsResult', + 'AwaitableGetServingEndpointsResult', + 'get_serving_endpoints', + 'get_serving_endpoints_output', +] + +@pulumi.output_type +class GetServingEndpointsResult: + """ + A collection of values returned by getServingEndpoints. + """ + def __init__(__self__, endpoints=None, id=None): + if endpoints and not isinstance(endpoints, list): + raise TypeError("Expected argument 'endpoints' to be a list") + pulumi.set(__self__, "endpoints", endpoints) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def endpoints(self) -> Sequence['outputs.GetServingEndpointsEndpointResult']: + """ + List of objects describing the serving endpoints. Each object consists of following attributes: + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + +class AwaitableGetServingEndpointsResult(GetServingEndpointsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServingEndpointsResult( + endpoints=self.endpoints, + id=self.id) + + +def get_serving_endpoints(endpoints: Optional[Sequence[Union['GetServingEndpointsEndpointArgs', 'GetServingEndpointsEndpointArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServingEndpointsResult: + """ + > This resource can only be used with a workspace-level provider! + + This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + all = databricks.get_serving_endpoints() + ml_serving_usage = [] + for range in [{"value": i} for i in range(0, all_databricks_serving_endpoints.endpoints)]: + ml_serving_usage.append(databricks.Permissions(f"ml_serving_usage-{range['value']}", + serving_endpoint_id=range["value"]["id"], + access_controls=[ + { + "group_name": "users", + "permission_level": "CAN_VIEW", + }, + { + "group_name": auto["displayName"], + "permission_level": "CAN_MANAGE", + }, + { + "group_name": eng["displayName"], + "permission_level": "CAN_QUERY", + }, + ])) + ``` + + ## Related Resources + + The following resources are often used in the same context: + + * Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + + + :param Sequence[Union['GetServingEndpointsEndpointArgs', 'GetServingEndpointsEndpointArgsDict']] endpoints: List of objects describing the serving endpoints. Each object consists of following attributes: + """ + __args__ = dict() + __args__['endpoints'] = endpoints + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('databricks:index/getServingEndpoints:getServingEndpoints', __args__, opts=opts, typ=GetServingEndpointsResult).value + + return AwaitableGetServingEndpointsResult( + endpoints=pulumi.get(__ret__, 'endpoints'), + id=pulumi.get(__ret__, 'id')) +def get_serving_endpoints_output(endpoints: Optional[pulumi.Input[Optional[Sequence[Union['GetServingEndpointsEndpointArgs', 'GetServingEndpointsEndpointArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServingEndpointsResult]: + """ + > This resource can only be used with a workspace-level provider! + + This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + all = databricks.get_serving_endpoints() + ml_serving_usage = [] + for range in [{"value": i} for i in range(0, all_databricks_serving_endpoints.endpoints)]: + ml_serving_usage.append(databricks.Permissions(f"ml_serving_usage-{range['value']}", + serving_endpoint_id=range["value"]["id"], + access_controls=[ + { + "group_name": "users", + "permission_level": "CAN_VIEW", + }, + { + "group_name": auto["displayName"], + "permission_level": "CAN_MANAGE", + }, + { + "group_name": eng["displayName"], + "permission_level": "CAN_QUERY", + }, + ])) + ``` + + ## Related Resources + + The following resources are often used in the same context: + + * Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints. + + + :param Sequence[Union['GetServingEndpointsEndpointArgs', 'GetServingEndpointsEndpointArgsDict']] endpoints: List of objects describing the serving endpoints. Each object consists of following attributes: + """ + __args__ = dict() + __args__['endpoints'] = endpoints + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('databricks:index/getServingEndpoints:getServingEndpoints', __args__, opts=opts, typ=GetServingEndpointsResult) + return __ret__.apply(lambda __response__: GetServingEndpointsResult( + endpoints=pulumi.get(__response__, 'endpoints'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_databricks/grant.py b/sdk/python/pulumi_databricks/grant.py index d741058c..6eddc59f 100644 --- a/sdk/python/pulumi_databricks/grant.py +++ b/sdk/python/pulumi_databricks/grant.py @@ -22,6 +22,7 @@ def __init__(__self__, *, principal: pulumi.Input[str], privileges: pulumi.Input[Sequence[pulumi.Input[str]]], catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -41,6 +42,8 @@ def __init__(__self__, *, pulumi.set(__self__, "privileges", privileges) if catalog is not None: pulumi.set(__self__, "catalog", catalog) + if credential is not None: + pulumi.set(__self__, "credential", credential) if external_location is not None: pulumi.set(__self__, "external_location", external_location) if foreign_connection is not None: @@ -93,6 +96,15 @@ def catalog(self) -> Optional[pulumi.Input[str]]: def catalog(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "catalog", value) + @property + @pulumi.getter + def credential(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential") + + @credential.setter + def credential(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential", value) + @property @pulumi.getter(name="externalLocation") def external_location(self) -> Optional[pulumi.Input[str]]: @@ -206,6 +218,7 @@ def volume(self, value: Optional[pulumi.Input[str]]): class _GrantState: def __init__(__self__, *, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -225,6 +238,8 @@ def __init__(__self__, *, """ if catalog is not None: pulumi.set(__self__, "catalog", catalog) + if credential is not None: + pulumi.set(__self__, "credential", credential) if external_location is not None: pulumi.set(__self__, "external_location", external_location) if foreign_connection is not None: @@ -263,6 +278,15 @@ def catalog(self) -> Optional[pulumi.Input[str]]: def catalog(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "catalog", value) + @property + @pulumi.getter + def credential(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential") + + @credential.setter + def credential(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential", value) + @property @pulumi.getter(name="externalLocation") def external_location(self) -> Optional[pulumi.Input[str]]: @@ -396,6 +420,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -655,6 +680,27 @@ def __init__(__self__, privileges=["EXECUTE"]) ``` + ## Service credential grants + + See Grants Service credential grants for the list of privileges that apply to Service credentials. + + ```python + import pulumi + import pulumi_databricks as databricks + + external = databricks.Credential("external", + name=external_data_access["name"], + aws_iam_role={ + "role_arn": external_data_access["arn"], + }, + purpose="SERVICE", + comment="Managed by TF") + external_creds = databricks.Grant("external_creds", + credential=external.id, + principal="Data Engineers", + privileges=["ACCESS"]) + ``` + ## Storage credential grants See Grants Storage credential grants for the list of privileges that apply to Storage credentials. @@ -1031,6 +1077,27 @@ def __init__(__self__, privileges=["EXECUTE"]) ``` + ## Service credential grants + + See Grants Service credential grants for the list of privileges that apply to Service credentials. + + ```python + import pulumi + import pulumi_databricks as databricks + + external = databricks.Credential("external", + name=external_data_access["name"], + aws_iam_role={ + "role_arn": external_data_access["arn"], + }, + purpose="SERVICE", + comment="Managed by TF") + external_creds = databricks.Grant("external_creds", + credential=external.id, + principal="Data Engineers", + privileges=["ACCESS"]) + ``` + ## Storage credential grants See Grants Storage credential grants for the list of privileges that apply to Storage credentials. @@ -1170,6 +1237,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -1194,6 +1262,7 @@ def _internal_init(__self__, __props__ = GrantArgs.__new__(GrantArgs) __props__.__dict__["catalog"] = catalog + __props__.__dict__["credential"] = credential __props__.__dict__["external_location"] = external_location __props__.__dict__["foreign_connection"] = foreign_connection __props__.__dict__["function"] = function @@ -1223,6 +1292,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -1250,6 +1320,7 @@ def get(resource_name: str, __props__ = _GrantState.__new__(_GrantState) __props__.__dict__["catalog"] = catalog + __props__.__dict__["credential"] = credential __props__.__dict__["external_location"] = external_location __props__.__dict__["foreign_connection"] = foreign_connection __props__.__dict__["function"] = function @@ -1271,6 +1342,11 @@ def get(resource_name: str, def catalog(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "catalog") + @property + @pulumi.getter + def credential(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "credential") + @property @pulumi.getter(name="externalLocation") def external_location(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_databricks/grants.py b/sdk/python/pulumi_databricks/grants.py index c7019da1..1b8b538e 100644 --- a/sdk/python/pulumi_databricks/grants.py +++ b/sdk/python/pulumi_databricks/grants.py @@ -23,6 +23,7 @@ class GrantsArgs: def __init__(__self__, *, grants: pulumi.Input[Sequence[pulumi.Input['GrantsGrantArgs']]], catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -41,6 +42,8 @@ def __init__(__self__, *, pulumi.set(__self__, "grants", grants) if catalog is not None: pulumi.set(__self__, "catalog", catalog) + if credential is not None: + pulumi.set(__self__, "credential", credential) if external_location is not None: pulumi.set(__self__, "external_location", external_location) if foreign_connection is not None: @@ -84,6 +87,15 @@ def catalog(self) -> Optional[pulumi.Input[str]]: def catalog(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "catalog", value) + @property + @pulumi.getter + def credential(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential") + + @credential.setter + def credential(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential", value) + @property @pulumi.getter(name="externalLocation") def external_location(self) -> Optional[pulumi.Input[str]]: @@ -197,6 +209,7 @@ def volume(self, value: Optional[pulumi.Input[str]]): class _GrantsState: def __init__(__self__, *, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -215,6 +228,8 @@ def __init__(__self__, *, """ if catalog is not None: pulumi.set(__self__, "catalog", catalog) + if credential is not None: + pulumi.set(__self__, "credential", credential) if external_location is not None: pulumi.set(__self__, "external_location", external_location) if foreign_connection is not None: @@ -251,6 +266,15 @@ def catalog(self) -> Optional[pulumi.Input[str]]: def catalog(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "catalog", value) + @property + @pulumi.getter + def credential(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "credential") + + @credential.setter + def credential(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential", value) + @property @pulumi.getter(name="externalLocation") def external_location(self) -> Optional[pulumi.Input[str]]: @@ -375,6 +399,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -416,7 +441,7 @@ def __init__(__self__, ## Metastore grants - You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to Metastore assigned to the workspace. + You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to Metastore assigned to the workspace. ```python import pulumi @@ -668,6 +693,29 @@ def __init__(__self__, ]) ``` + ## Service credential grants + + You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to Credential id specified in `credential` attribute: + + ```python + import pulumi + import pulumi_databricks as databricks + + external = databricks.Credential("external", + name=external_data_access["name"], + aws_iam_role={ + "role_arn": external_data_access["arn"], + }, + purpose="SERVICE", + comment="Managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["CREATE_CONNECTION"], + }]) + ``` + ## Storage credential grants You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to StorageCredential id specified in `storage_credential` attribute: @@ -837,7 +885,7 @@ def __init__(__self__, ## Metastore grants - You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to Metastore assigned to the workspace. + You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to Metastore assigned to the workspace. ```python import pulumi @@ -1089,6 +1137,29 @@ def __init__(__self__, ]) ``` + ## Service credential grants + + You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to Credential id specified in `credential` attribute: + + ```python + import pulumi + import pulumi_databricks as databricks + + external = databricks.Credential("external", + name=external_data_access["name"], + aws_iam_role={ + "role_arn": external_data_access["arn"], + }, + purpose="SERVICE", + comment="Managed by TF") + external_creds = databricks.Grants("external_creds", + credential=external.id, + grants=[{ + "principal": "Data Engineers", + "privileges": ["CREATE_CONNECTION"], + }]) + ``` + ## Storage credential grants You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to StorageCredential id specified in `storage_credential` attribute: @@ -1238,6 +1309,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -1261,6 +1333,7 @@ def _internal_init(__self__, __props__ = GrantsArgs.__new__(GrantsArgs) __props__.__dict__["catalog"] = catalog + __props__.__dict__["credential"] = credential __props__.__dict__["external_location"] = external_location __props__.__dict__["foreign_connection"] = foreign_connection __props__.__dict__["function"] = function @@ -1287,6 +1360,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, catalog: Optional[pulumi.Input[str]] = None, + credential: Optional[pulumi.Input[str]] = None, external_location: Optional[pulumi.Input[str]] = None, foreign_connection: Optional[pulumi.Input[str]] = None, function: Optional[pulumi.Input[str]] = None, @@ -1313,6 +1387,7 @@ def get(resource_name: str, __props__ = _GrantsState.__new__(_GrantsState) __props__.__dict__["catalog"] = catalog + __props__.__dict__["credential"] = credential __props__.__dict__["external_location"] = external_location __props__.__dict__["foreign_connection"] = foreign_connection __props__.__dict__["function"] = function @@ -1333,6 +1408,11 @@ def get(resource_name: str, def catalog(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "catalog") + @property + @pulumi.getter + def credential(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "credential") + @property @pulumi.getter(name="externalLocation") def external_location(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_databricks/mws_customer_managed_keys.py b/sdk/python/pulumi_databricks/mws_customer_managed_keys.py index 56e1e992..c8a51588 100644 --- a/sdk/python/pulumi_databricks/mws_customer_managed_keys.py +++ b/sdk/python/pulumi_databricks/mws_customer_managed_keys.py @@ -450,7 +450,17 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and customer managed key ID. + + ```sh + $ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '/' + ``` + + ~> This resource does not support updates. If your configuration does not match the existing resource, + + the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + + verify that the configuration matches the existing resource by running `pulumi preview`. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -675,7 +685,17 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and customer managed key ID. + + ```sh + $ pulumi import databricks:index/mwsCustomerManagedKeys:MwsCustomerManagedKeys this '/' + ``` + + ~> This resource does not support updates. If your configuration does not match the existing resource, + + the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + + verify that the configuration matches the existing resource by running `pulumi preview`. :param str resource_name: The name of the resource. :param MwsCustomerManagedKeysArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_databricks/mws_ncc_private_endpoint_rule.py b/sdk/python/pulumi_databricks/mws_ncc_private_endpoint_rule.py index ee923e88..443de39c 100644 --- a/sdk/python/pulumi_databricks/mws_ncc_private_endpoint_rule.py +++ b/sdk/python/pulumi_databricks/mws_ncc_private_endpoint_rule.py @@ -31,7 +31,7 @@ def __init__(__self__, *, updated_time: Optional[pulumi.Input[int]] = None): """ The set of arguments for constructing a MwsNccPrivateEndpointRule resource. - :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. :param pulumi.Input[str] network_connectivity_config_id: Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. :param pulumi.Input[str] resource_id: The Azure resource ID of the target resource. Change forces creation of a new resource. :param pulumi.Input[str] connection_state: The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. @@ -69,7 +69,7 @@ def __init__(__self__, *, @pulumi.getter(name="groupId") def group_id(self) -> pulumi.Input[str]: """ - The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. """ return pulumi.get(self, "group_id") @@ -216,7 +216,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] deactivated: Whether this private endpoint is deactivated. :param pulumi.Input[int] deactivated_at: Time in epoch milliseconds when this object was deactivated. :param pulumi.Input[str] endpoint_name: The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" - :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. :param pulumi.Input[str] network_connectivity_config_id: Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. :param pulumi.Input[str] resource_id: The Azure resource ID of the target resource. Change forces creation of a new resource. :param pulumi.Input[str] rule_id: the ID of a private endpoint rule. @@ -312,7 +312,7 @@ def endpoint_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="groupId") def group_id(self) -> Optional[pulumi.Input[str]]: """ - The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. """ return pulumi.get(self, "group_id") @@ -437,7 +437,7 @@ def __init__(__self__, :param pulumi.Input[bool] deactivated: Whether this private endpoint is deactivated. :param pulumi.Input[int] deactivated_at: Time in epoch milliseconds when this object was deactivated. :param pulumi.Input[str] endpoint_name: The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" - :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. :param pulumi.Input[str] network_connectivity_config_id: Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. :param pulumi.Input[str] resource_id: The Azure resource ID of the target resource. Change forces creation of a new resource. :param pulumi.Input[str] rule_id: the ID of a private endpoint rule. @@ -576,7 +576,7 @@ def get(resource_name: str, :param pulumi.Input[bool] deactivated: Whether this private endpoint is deactivated. :param pulumi.Input[int] deactivated_at: Time in epoch milliseconds when this object was deactivated. :param pulumi.Input[str] endpoint_name: The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234" - :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + :param pulumi.Input[str] group_id: The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. :param pulumi.Input[str] network_connectivity_config_id: Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource. :param pulumi.Input[str] resource_id: The Azure resource ID of the target resource. Change forces creation of a new resource. :param pulumi.Input[str] rule_id: the ID of a private endpoint rule. @@ -647,7 +647,7 @@ def endpoint_name(self) -> pulumi.Output[str]: @pulumi.getter(name="groupId") def group_id(self) -> pulumi.Output[str]: """ - The sub-resource type (group ID) of the target resource. Must be one of `blob`, `dfs`, `sqlServer` or `mysqlServer`. Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. + The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., `blob`, `dfs`, `sqlServer` , etc. Consult the [Azure documentation](https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource) for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for `blob` and one for `dfs`. Change forces creation of a new resource. """ return pulumi.get(self, "group_id") diff --git a/sdk/python/pulumi_databricks/mws_networks.py b/sdk/python/pulumi_databricks/mws_networks.py index 76e4d03b..29e7e2f5 100644 --- a/sdk/python/pulumi_databricks/mws_networks.py +++ b/sdk/python/pulumi_databricks/mws_networks.py @@ -520,7 +520,17 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and network ID. + + ```sh + $ pulumi import databricks:index/mwsNetworks:MwsNetworks this '/' + ``` + + ~> This resource does not support updates. If your configuration does not match the existing resource, + + the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + + verify that the configuration matches the existing resource by running `pulumi preview`. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -643,7 +653,17 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and network ID. + + ```sh + $ pulumi import databricks:index/mwsNetworks:MwsNetworks this '/' + ``` + + ~> This resource does not support updates. If your configuration does not match the existing resource, + + the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + + verify that the configuration matches the existing resource by running `pulumi preview`. :param str resource_name: The name of the resource. :param MwsNetworksArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_databricks/mws_private_access_settings.py b/sdk/python/pulumi_databricks/mws_private_access_settings.py index 50430356..9a77cd51 100644 --- a/sdk/python/pulumi_databricks/mws_private_access_settings.py +++ b/sdk/python/pulumi_databricks/mws_private_access_settings.py @@ -344,7 +344,11 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and private access settings ID. + + ```sh + $ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '/' + ``` :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -438,7 +442,11 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and private access settings ID. + + ```sh + $ pulumi import databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings this '/' + ``` :param str resource_name: The name of the resource. :param MwsPrivateAccessSettingsArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_databricks/mws_storage_configurations.py b/sdk/python/pulumi_databricks/mws_storage_configurations.py index 2bcc9b69..156350ad 100644 --- a/sdk/python/pulumi_databricks/mws_storage_configurations.py +++ b/sdk/python/pulumi_databricks/mws_storage_configurations.py @@ -201,7 +201,17 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and storage configuration ID. + + ```sh + $ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '/' + ``` + + ~> This resource does not support updates. If your configuration does not match the existing resource, + + the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + + verify that the configuration matches the existing resource by running `pulumi preview`. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -254,7 +264,17 @@ def __init__(__self__, ## Import - !> Importing this resource is not currently supported. + This resource can be imported by Databricks account ID and storage configuration ID. + + ```sh + $ pulumi import databricks:index/mwsStorageConfigurations:MwsStorageConfigurations this '/' + ``` + + ~> This resource does not support updates. If your configuration does not match the existing resource, + + the next `pulumi up` will cause the resource to be destroyed and recreated. After importing, + + verify that the configuration matches the existing resource by running `pulumi preview`. :param str resource_name: The name of the resource. :param MwsStorageConfigurationsArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_databricks/mws_workspaces.py b/sdk/python/pulumi_databricks/mws_workspaces.py index 42a0a823..f72bdafa 100644 --- a/sdk/python/pulumi_databricks/mws_workspaces.py +++ b/sdk/python/pulumi_databricks/mws_workspaces.py @@ -875,7 +875,7 @@ def __init__(__self__, * MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace. * MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace. - * MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks MwsNetworks encapsulates this information, you cannot reuse it across workspaces. + * MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks MwsNetworks encapsulates this information, you cannot reuse it across workspaces. * MwsCustomerManagedKeys - You can share a customer-managed key across workspaces. ```python @@ -1044,6 +1044,26 @@ def __init__(__self__, In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks. + ## Import + + This resource can be imported by Databricks account ID and workspace ID. + + ```sh + $ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '/' + ``` + + ~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. + + If the configuration for these immutable fields does not match the existing workspace, the workspace will + + be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration + + matches the existing resource by running `pulumi preview`. The only fields that can be updated are + + `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, + + `managed_services_customer_managed_key_id`, and `custom_tags`. + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/). @@ -1083,7 +1103,7 @@ def __init__(__self__, * MwsCredentials - You can share a credentials (cross-account IAM role) configuration ID with multiple workspaces. It is not required to create a new one for each workspace. * MwsStorageConfigurations - You can share a root S3 bucket with multiple workspaces in a single account. You do not have to create new ones for each workspace. If you share a root S3 bucket for multiple workspaces in an account, data on the root S3 bucket is partitioned into separate directories by workspace. - * MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. You do not have to create a new VPC for each workspace. However, you cannot reuse subnets or security groups with other resources, including other workspaces or non-Databricks resources. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks MwsNetworks encapsulates this information, you cannot reuse it across workspaces. + * MwsNetworks - (optional, but recommended) You can share one [customer-managed VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) with multiple workspaces in a single account. However, Databricks recommends using unique subnets and security groups for each workspace. If you plan to share one VPC with multiple workspaces, be sure to size your VPC and subnets accordingly. Because a Databricks MwsNetworks encapsulates this information, you cannot reuse it across workspaces. * MwsCustomerManagedKeys - You can share a customer-managed key across workspaces. ```python @@ -1252,6 +1272,26 @@ def __init__(__self__, In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from mws_vpc_endpoint, mws_private_access_settings and mws_networks. + ## Import + + This resource can be imported by Databricks account ID and workspace ID. + + ```sh + $ pulumi import databricks:index/mwsWorkspaces:MwsWorkspaces this '/' + ``` + + ~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. + + If the configuration for these immutable fields does not match the existing workspace, the workspace will + + be deleted and recreated in the next `pulumi up`. After importing, verify that the configuration + + matches the existing resource by running `pulumi preview`. The only fields that can be updated are + + `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, + + `managed_services_customer_managed_key_id`, and `custom_tags`. + :param str resource_name: The name of the resource. :param MwsWorkspacesArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_databricks/notification_destination.py b/sdk/python/pulumi_databricks/notification_destination.py index 764019b7..8dba50b3 100644 --- a/sdk/python/pulumi_databricks/notification_destination.py +++ b/sdk/python/pulumi_databricks/notification_destination.py @@ -216,6 +216,16 @@ def __init__(__self__, }) ``` + ## Import + + This resource can be imported by notification ID: + + bash + + ```sh + $ pulumi import databricks:index/notificationDestination:NotificationDestination this + ``` + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['NotificationDestinationConfigArgs', 'NotificationDestinationConfigArgsDict']] config: The configuration of the Notification Destination. It must contain exactly one of the following blocks: @@ -306,6 +316,16 @@ def __init__(__self__, }) ``` + ## Import + + This resource can be imported by notification ID: + + bash + + ```sh + $ pulumi import databricks:index/notificationDestination:NotificationDestination this + ``` + :param str resource_name: The name of the resource. :param NotificationDestinationArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_databricks/outputs.py b/sdk/python/pulumi_databricks/outputs.py index 02be5a87..da8a215a 100644 --- a/sdk/python/pulumi_databricks/outputs.py +++ b/sdk/python/pulumi_databricks/outputs.py @@ -22,6 +22,19 @@ 'AlertConditionOperandColumn', 'AlertConditionThreshold', 'AlertConditionThresholdValue', + 'AppActiveDeployment', + 'AppActiveDeploymentDeploymentArtifacts', + 'AppActiveDeploymentStatus', + 'AppAppStatus', + 'AppComputeStatus', + 'AppPendingDeployment', + 'AppPendingDeploymentDeploymentArtifacts', + 'AppPendingDeploymentStatus', + 'AppResource', + 'AppResourceJob', + 'AppResourceSecret', + 'AppResourceServingEndpoint', + 'AppResourceSqlWarehouse', 'ArtifactAllowlistArtifactMatcher', 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace', 'AutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails', @@ -65,6 +78,10 @@ 'ClusterWorkloadType', 'ClusterWorkloadTypeClients', 'ComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace', + 'CredentialAwsIamRole', + 'CredentialAzureManagedIdentity', + 'CredentialAzureServicePrincipal', + 'CredentialDatabricksGcpServiceAccount', 'CustomAppIntegrationTokenAccessPolicy', 'DefaultNamespaceSettingNamespace', 'EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace', @@ -165,12 +182,14 @@ 'JobSparkPythonTask', 'JobSparkSubmitTask', 'JobTask', + 'JobTaskCleanRoomsNotebookTask', 'JobTaskConditionTask', 'JobTaskDbtTask', 'JobTaskDependsOn', 'JobTaskEmailNotifications', 'JobTaskForEachTask', 'JobTaskForEachTaskTask', + 'JobTaskForEachTaskTaskCleanRoomsNotebookTask', 'JobTaskForEachTaskTaskConditionTask', 'JobTaskForEachTaskTaskDbtTask', 'JobTaskForEachTaskTaskDependsOn', @@ -497,6 +516,34 @@ 'VectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumn', 'VectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumn', 'VectorSearchIndexStatus', + 'GetAppAppResult', + 'GetAppAppActiveDeploymentResult', + 'GetAppAppActiveDeploymentDeploymentArtifactsResult', + 'GetAppAppActiveDeploymentStatusResult', + 'GetAppAppAppStatusResult', + 'GetAppAppComputeStatusResult', + 'GetAppAppPendingDeploymentResult', + 'GetAppAppPendingDeploymentDeploymentArtifactsResult', + 'GetAppAppPendingDeploymentStatusResult', + 'GetAppAppResourceResult', + 'GetAppAppResourceJobResult', + 'GetAppAppResourceSecretResult', + 'GetAppAppResourceServingEndpointResult', + 'GetAppAppResourceSqlWarehouseResult', + 'GetAppsAppResult', + 'GetAppsAppActiveDeploymentResult', + 'GetAppsAppActiveDeploymentDeploymentArtifactsResult', + 'GetAppsAppActiveDeploymentStatusResult', + 'GetAppsAppAppStatusResult', + 'GetAppsAppComputeStatusResult', + 'GetAppsAppPendingDeploymentResult', + 'GetAppsAppPendingDeploymentDeploymentArtifactsResult', + 'GetAppsAppPendingDeploymentStatusResult', + 'GetAppsAppResourceResult', + 'GetAppsAppResourceJobResult', + 'GetAppsAppResourceSecretResult', + 'GetAppsAppResourceServingEndpointResult', + 'GetAppsAppResourceSqlWarehouseResult', 'GetCatalogCatalogInfoResult', 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult', 'GetCatalogCatalogInfoProvisioningInfoResult', @@ -561,14 +608,14 @@ 'GetExternalLocationExternalLocationInfoEncryptionDetailsResult', 'GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult', 'GetFunctionsFunctionResult', - 'GetFunctionsFunctionInputParamsResult', - 'GetFunctionsFunctionInputParamsParameterResult', - 'GetFunctionsFunctionReturnParamsResult', - 'GetFunctionsFunctionReturnParamsParameterResult', - 'GetFunctionsFunctionRoutineDependenciesResult', - 'GetFunctionsFunctionRoutineDependenciesDependencyResult', - 'GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult', - 'GetFunctionsFunctionRoutineDependenciesDependencyTableResult', + 'GetFunctionsFunctionInputParamResult', + 'GetFunctionsFunctionInputParamParameterResult', + 'GetFunctionsFunctionReturnParamResult', + 'GetFunctionsFunctionReturnParamParameterResult', + 'GetFunctionsFunctionRoutineDependencyResult', + 'GetFunctionsFunctionRoutineDependencyDependencyResult', + 'GetFunctionsFunctionRoutineDependencyDependencyFunctionResult', + 'GetFunctionsFunctionRoutineDependencyDependencyTableResult', 'GetInstancePoolPoolInfoResult', 'GetInstancePoolPoolInfoAwsAttributesResult', 'GetInstancePoolPoolInfoAzureAttributesResult', @@ -780,12 +827,49 @@ 'GetMlflowModelLatestVersionResult', 'GetMlflowModelLatestVersionTagResult', 'GetMlflowModelTagResult', + 'GetMwsNetworkConnectivityConfigEgressConfigResult', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult', + 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult', + 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult', + 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult', 'GetNotebookPathsNotebookPathListResult', 'GetNotificationDestinationsNotificationDestinationResult', 'GetRegisteredModelModelInfoResult', 'GetRegisteredModelModelInfoAliasResult', + 'GetRegisteredModelVersionsModelVersionResult', + 'GetRegisteredModelVersionsModelVersionAliasResult', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyResult', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult', + 'GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult', 'GetSchemaSchemaInfoResult', 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult', + 'GetServingEndpointsEndpointResult', + 'GetServingEndpointsEndpointAiGatewayResult', + 'GetServingEndpointsEndpointAiGatewayGuardrailResult', + 'GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult', + 'GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult', + 'GetServingEndpointsEndpointAiGatewayGuardrailOutputResult', + 'GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult', + 'GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult', + 'GetServingEndpointsEndpointAiGatewayRateLimitResult', + 'GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult', + 'GetServingEndpointsEndpointConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult', + 'GetServingEndpointsEndpointConfigServedEntityFoundationModelResult', + 'GetServingEndpointsEndpointConfigServedModelResult', + 'GetServingEndpointsEndpointStateResult', + 'GetServingEndpointsEndpointTagResult', 'GetShareObjectResult', 'GetShareObjectPartitionResult', 'GetShareObjectPartitionValueResult', @@ -1054,6 +1138,634 @@ def string_value(self) -> Optional[str]: return pulumi.get(self, "string_value") +@pulumi.output_type +class AppActiveDeployment(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createTime": + suggest = "create_time" + elif key == "deploymentArtifacts": + suggest = "deployment_artifacts" + elif key == "deploymentId": + suggest = "deployment_id" + elif key == "sourceCodePath": + suggest = "source_code_path" + elif key == "updateTime": + suggest = "update_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AppActiveDeployment. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AppActiveDeployment.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AppActiveDeployment.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + create_time: Optional[str] = None, + creator: Optional[str] = None, + deployment_artifacts: Optional['outputs.AppActiveDeploymentDeploymentArtifacts'] = None, + deployment_id: Optional[str] = None, + mode: Optional[str] = None, + source_code_path: Optional[str] = None, + status: Optional['outputs.AppActiveDeploymentStatus'] = None, + update_time: Optional[str] = None): + """ + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str update_time: The update time of the app. + """ + if create_time is not None: + pulumi.set(__self__, "create_time", create_time) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if deployment_artifacts is not None: + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + if status is not None: + pulumi.set(__self__, "status", status) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> Optional[str]: + """ + The creation time of the app. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def creator(self) -> Optional[str]: + """ + The email of the user that created the app. + """ + return pulumi.get(self, "creator") + + @property + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> Optional['outputs.AppActiveDeploymentDeploymentArtifacts']: + return pulumi.get(self, "deployment_artifacts") + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + @property + @pulumi.getter + def status(self) -> Optional['outputs.AppActiveDeploymentStatus']: + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[str]: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") + + +@pulumi.output_type +class AppActiveDeploymentDeploymentArtifacts(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceCodePath": + suggest = "source_code_path" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AppActiveDeploymentDeploymentArtifacts. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AppActiveDeploymentDeploymentArtifacts.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AppActiveDeploymentDeploymentArtifacts.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_code_path: Optional[str] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + +@pulumi.output_type +class AppActiveDeploymentStatus(dict): + def __init__(__self__, *, + message: Optional[str] = None, + state: Optional[str] = None): + """ + :param str message: Application status message + :param str state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + Application status message + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of the application. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class AppAppStatus(dict): + def __init__(__self__, *, + message: Optional[str] = None, + state: Optional[str] = None): + """ + :param str message: Application status message + :param str state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + Application status message + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of the application. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class AppComputeStatus(dict): + def __init__(__self__, *, + message: Optional[str] = None, + state: Optional[str] = None): + """ + :param str message: Application status message + :param str state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + Application status message + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of the application. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class AppPendingDeployment(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createTime": + suggest = "create_time" + elif key == "deploymentArtifacts": + suggest = "deployment_artifacts" + elif key == "deploymentId": + suggest = "deployment_id" + elif key == "sourceCodePath": + suggest = "source_code_path" + elif key == "updateTime": + suggest = "update_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AppPendingDeployment. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AppPendingDeployment.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AppPendingDeployment.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + create_time: Optional[str] = None, + creator: Optional[str] = None, + deployment_artifacts: Optional['outputs.AppPendingDeploymentDeploymentArtifacts'] = None, + deployment_id: Optional[str] = None, + mode: Optional[str] = None, + source_code_path: Optional[str] = None, + status: Optional['outputs.AppPendingDeploymentStatus'] = None, + update_time: Optional[str] = None): + """ + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str update_time: The update time of the app. + """ + if create_time is not None: + pulumi.set(__self__, "create_time", create_time) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if deployment_artifacts is not None: + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + if status is not None: + pulumi.set(__self__, "status", status) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> Optional[str]: + """ + The creation time of the app. + """ + return pulumi.get(self, "create_time") + + @property + @pulumi.getter + def creator(self) -> Optional[str]: + """ + The email of the user that created the app. + """ + return pulumi.get(self, "creator") + + @property + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> Optional['outputs.AppPendingDeploymentDeploymentArtifacts']: + return pulumi.get(self, "deployment_artifacts") + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + @property + @pulumi.getter + def status(self) -> Optional['outputs.AppPendingDeploymentStatus']: + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[str]: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") + + +@pulumi.output_type +class AppPendingDeploymentDeploymentArtifacts(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sourceCodePath": + suggest = "source_code_path" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AppPendingDeploymentDeploymentArtifacts. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AppPendingDeploymentDeploymentArtifacts.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AppPendingDeploymentDeploymentArtifacts.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + source_code_path: Optional[str] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + +@pulumi.output_type +class AppPendingDeploymentStatus(dict): + def __init__(__self__, *, + message: Optional[str] = None, + state: Optional[str] = None): + """ + :param str message: Application status message + :param str state: State of the application. + """ + if message is not None: + pulumi.set(__self__, "message", message) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + Application status message + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of the application. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class AppResource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "servingEndpoint": + suggest = "serving_endpoint" + elif key == "sqlWarehouse": + suggest = "sql_warehouse" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AppResource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AppResource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AppResource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + description: Optional[str] = None, + job: Optional['outputs.AppResourceJob'] = None, + secret: Optional['outputs.AppResourceSecret'] = None, + serving_endpoint: Optional['outputs.AppResourceServingEndpoint'] = None, + sql_warehouse: Optional['outputs.AppResourceSqlWarehouse'] = None): + """ + :param str name: The name of the resource. + :param str description: The description of the resource. + + Exactly one of the following attributes must be provided: + :param 'AppResourceJobArgs' job: attribute + :param 'AppResourceSecretArgs' secret: attribute + :param 'AppResourceServingEndpointArgs' serving_endpoint: attribute + :param 'AppResourceSqlWarehouseArgs' sql_warehouse: attribute + """ + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if job is not None: + pulumi.set(__self__, "job", job) + if secret is not None: + pulumi.set(__self__, "secret", secret) + if serving_endpoint is not None: + pulumi.set(__self__, "serving_endpoint", serving_endpoint) + if sql_warehouse is not None: + pulumi.set(__self__, "sql_warehouse", sql_warehouse) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the resource. + + Exactly one of the following attributes must be provided: + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def job(self) -> Optional['outputs.AppResourceJob']: + """ + attribute + """ + return pulumi.get(self, "job") + + @property + @pulumi.getter + def secret(self) -> Optional['outputs.AppResourceSecret']: + """ + attribute + """ + return pulumi.get(self, "secret") + + @property + @pulumi.getter(name="servingEndpoint") + def serving_endpoint(self) -> Optional['outputs.AppResourceServingEndpoint']: + """ + attribute + """ + return pulumi.get(self, "serving_endpoint") + + @property + @pulumi.getter(name="sqlWarehouse") + def sql_warehouse(self) -> Optional['outputs.AppResourceSqlWarehouse']: + """ + attribute + """ + return pulumi.get(self, "sql_warehouse") + + +@pulumi.output_type +class AppResourceJob(dict): + def __init__(__self__, *, + id: str, + permission: str): + """ + :param str id: Id of the job to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) + + @property + @pulumi.getter + def id(self) -> str: + """ + Id of the job to grant permission on. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") + + +@pulumi.output_type +class AppResourceSecret(dict): + def __init__(__self__, *, + key: str, + permission: str, + scope: str): + """ + :param str key: Key of the secret to grant permission on. + :param str permission: Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + :param str scope: Scope of the secret to grant permission on. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "permission", permission) + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter + def key(self) -> str: + """ + Key of the secret to grant permission on. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def permission(self) -> str: + """ + Permission to grant on the secret scope. For secrets, only one permission is allowed. Permission must be one of: `READ`, `WRITE`, `MANAGE`. + """ + return pulumi.get(self, "permission") + + @property + @pulumi.getter + def scope(self) -> str: + """ + Scope of the secret to grant permission on. + """ + return pulumi.get(self, "scope") + + +@pulumi.output_type +class AppResourceServingEndpoint(dict): + def __init__(__self__, *, + name: str, + permission: str): + """ + :param str name: Name of the serving endpoint to grant permission on. + :param str permission: Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "permission", permission) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the serving endpoint to grant permission on. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def permission(self) -> str: + """ + Permission to grant on the serving endpoint. Supported permissions are: `CAN_MANAGE`, `CAN_QUERY`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") + + +@pulumi.output_type +class AppResourceSqlWarehouse(dict): + def __init__(__self__, *, + id: str, + permission: str): + """ + :param str id: Id of the SQL warehouse to grant permission on. + :param str permission: Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) + + @property + @pulumi.getter + def id(self) -> str: + """ + Id of the SQL warehouse to grant permission on. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def permission(self) -> str: + """ + Permission to grant on the SQL warehouse. Supported permissions are: `CAN_MANAGE`, `CAN_USE`, `IS_OWNER`. + """ + return pulumi.get(self, "permission") + + @pulumi.output_type class ArtifactAllowlistArtifactMatcher(dict): @staticmethod @@ -3148,6 +3860,256 @@ def is_enabled(self) -> bool: return pulumi.get(self, "is_enabled") +@pulumi.output_type +class CredentialAwsIamRole(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalId": + suggest = "external_id" + elif key == "roleArn": + suggest = "role_arn" + elif key == "unityCatalogIamArn": + suggest = "unity_catalog_iam_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CredentialAwsIamRole. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CredentialAwsIamRole.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CredentialAwsIamRole.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_id: Optional[str] = None, + role_arn: Optional[str] = None, + unity_catalog_iam_arn: Optional[str] = None): + """ + :param str role_arn: The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if role_arn is not None: + pulumi.set(__self__, "role_arn", role_arn) + if unity_catalog_iam_arn is not None: + pulumi.set(__self__, "unity_catalog_iam_arn", unity_catalog_iam_arn) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[str]: + return pulumi.get(self, "external_id") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> Optional[str]: + """ + The Amazon Resource Name (ARN) of the AWS IAM role you want to use to setup the trust policy, of the form `arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF` + + `azure_managed_identity` optional configuration block for using managed identity as credential details for Azure (recommended over `azure_service_principal`): + """ + return pulumi.get(self, "role_arn") + + @property + @pulumi.getter(name="unityCatalogIamArn") + def unity_catalog_iam_arn(self) -> Optional[str]: + return pulumi.get(self, "unity_catalog_iam_arn") + + +@pulumi.output_type +class CredentialAzureManagedIdentity(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accessConnectorId": + suggest = "access_connector_id" + elif key == "credentialId": + suggest = "credential_id" + elif key == "managedIdentityId": + suggest = "managed_identity_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CredentialAzureManagedIdentity. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CredentialAzureManagedIdentity.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CredentialAzureManagedIdentity.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + access_connector_id: str, + credential_id: Optional[str] = None, + managed_identity_id: Optional[str] = None): + """ + :param str access_connector_id: The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + :param str credential_id: Unique ID of the credential. + :param str managed_identity_id: The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + """ + pulumi.set(__self__, "access_connector_id", access_connector_id) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if managed_identity_id is not None: + pulumi.set(__self__, "managed_identity_id", managed_identity_id) + + @property + @pulumi.getter(name="accessConnectorId") + def access_connector_id(self) -> str: + """ + The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`. + """ + return pulumi.get(self, "access_connector_id") + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[str]: + """ + Unique ID of the credential. + """ + return pulumi.get(self, "credential_id") + + @property + @pulumi.getter(name="managedIdentityId") + def managed_identity_id(self) -> Optional[str]: + """ + The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`. + + `azure_service_principal` optional configuration block to use service principal as credential details for Azure. Only applicable when purpose is `STORAGE` (Legacy): + """ + return pulumi.get(self, "managed_identity_id") + + +@pulumi.output_type +class CredentialAzureServicePrincipal(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "applicationId": + suggest = "application_id" + elif key == "clientSecret": + suggest = "client_secret" + elif key == "directoryId": + suggest = "directory_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CredentialAzureServicePrincipal. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CredentialAzureServicePrincipal.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CredentialAzureServicePrincipal.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + application_id: str, + client_secret: str, + directory_id: str): + """ + :param str application_id: The application ID of the application registration within the referenced AAD tenant + :param str client_secret: The client secret generated for the above app ID in AAD. **This field is redacted on output** + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + :param str directory_id: The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + """ + pulumi.set(__self__, "application_id", application_id) + pulumi.set(__self__, "client_secret", client_secret) + pulumi.set(__self__, "directory_id", directory_id) + + @property + @pulumi.getter(name="applicationId") + def application_id(self) -> str: + """ + The application ID of the application registration within the referenced AAD tenant + """ + return pulumi.get(self, "application_id") + + @property + @pulumi.getter(name="clientSecret") + def client_secret(self) -> str: + """ + The client secret generated for the above app ID in AAD. **This field is redacted on output** + + `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account. Only applicable when purpose is `STORAGE`: + """ + return pulumi.get(self, "client_secret") + + @property + @pulumi.getter(name="directoryId") + def directory_id(self) -> str: + """ + The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application + """ + return pulumi.get(self, "directory_id") + + +@pulumi.output_type +class CredentialDatabricksGcpServiceAccount(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "credentialId": + suggest = "credential_id" + elif key == "privateKeyId": + suggest = "private_key_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CredentialDatabricksGcpServiceAccount. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CredentialDatabricksGcpServiceAccount.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CredentialDatabricksGcpServiceAccount.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + credential_id: Optional[str] = None, + email: Optional[str] = None, + private_key_id: Optional[str] = None): + """ + :param str credential_id: Unique ID of the credential. + :param str email: The email of the GCP service account created, to be granted access to relevant buckets. + """ + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if email is not None: + pulumi.set(__self__, "email", email) + if private_key_id is not None: + pulumi.set(__self__, "private_key_id", private_key_id) + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[str]: + """ + Unique ID of the credential. + """ + return pulumi.get(self, "credential_id") + + @property + @pulumi.getter + def email(self) -> Optional[str]: + """ + The email of the GCP service account created, to be granted access to relevant buckets. + """ + return pulumi.get(self, "email") + + @property + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> Optional[str]: + return pulumi.get(self, "private_key_id") + + @pulumi.output_type class CustomAppIntegrationTokenAccessPolicy(dict): @staticmethod @@ -4579,6 +5541,8 @@ def __key_warning(key: str): suggest = "init_scripts" elif key == "instancePoolId": suggest = "instance_pool_id" + elif key == "isSingleNode": + suggest = "is_single_node" elif key == "nodeTypeId": suggest = "node_type_id" elif key == "numWorkers": @@ -4595,6 +5559,8 @@ def __key_warning(key: str): suggest = "spark_env_vars" elif key == "sshPublicKeys": suggest = "ssh_public_keys" + elif key == "useMlRuntime": + suggest = "use_ml_runtime" elif key == "workloadType": suggest = "workload_type" @@ -4630,6 +5596,8 @@ def __init__(__self__, *, idempotency_token: Optional[str] = None, init_scripts: Optional[Sequence['outputs.JobJobClusterNewClusterInitScript']] = None, instance_pool_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + kind: Optional[str] = None, libraries: Optional[Sequence['outputs.JobJobClusterNewClusterLibrary']] = None, node_type_id: Optional[str] = None, num_workers: Optional[int] = None, @@ -4639,6 +5607,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, + use_ml_runtime: Optional[bool] = None, workload_type: Optional['outputs.JobJobClusterNewClusterWorkloadType'] = None): """ :param Sequence['JobJobClusterNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. @@ -4683,6 +5652,10 @@ def __init__(__self__, *, pulumi.set(__self__, "init_scripts", init_scripts) if instance_pool_id is not None: pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) if libraries is not None: pulumi.set(__self__, "libraries", libraries) if node_type_id is not None: @@ -4701,6 +5674,8 @@ def __init__(__self__, *, pulumi.set(__self__, "spark_env_vars", spark_env_vars) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @@ -4804,6 +5779,16 @@ def init_scripts(self) -> Optional[Sequence['outputs.JobJobClusterNewClusterInit def instance_pool_id(self) -> Optional[str]: return pulumi.get(self, "instance_pool_id") + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") + @property @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobJobClusterNewClusterLibrary']]: @@ -4852,6 +5837,11 @@ def spark_env_vars(self) -> Optional[Mapping[str, str]]: def ssh_public_keys(self) -> Optional[Sequence[str]]: return pulumi.get(self, "ssh_public_keys") + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional['outputs.JobJobClusterNewClusterWorkloadType']: @@ -6017,6 +7007,8 @@ def __key_warning(key: str): suggest = "init_scripts" elif key == "instancePoolId": suggest = "instance_pool_id" + elif key == "isSingleNode": + suggest = "is_single_node" elif key == "nodeTypeId": suggest = "node_type_id" elif key == "numWorkers": @@ -6033,6 +7025,8 @@ def __key_warning(key: str): suggest = "spark_env_vars" elif key == "sshPublicKeys": suggest = "ssh_public_keys" + elif key == "useMlRuntime": + suggest = "use_ml_runtime" elif key == "workloadType": suggest = "workload_type" @@ -6068,6 +7062,8 @@ def __init__(__self__, *, idempotency_token: Optional[str] = None, init_scripts: Optional[Sequence['outputs.JobNewClusterInitScript']] = None, instance_pool_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + kind: Optional[str] = None, libraries: Optional[Sequence['outputs.JobNewClusterLibrary']] = None, node_type_id: Optional[str] = None, num_workers: Optional[int] = None, @@ -6077,6 +7073,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, + use_ml_runtime: Optional[bool] = None, workload_type: Optional['outputs.JobNewClusterWorkloadType'] = None): """ :param Sequence['JobNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. @@ -6121,6 +7118,10 @@ def __init__(__self__, *, pulumi.set(__self__, "init_scripts", init_scripts) if instance_pool_id is not None: pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) if libraries is not None: pulumi.set(__self__, "libraries", libraries) if node_type_id is not None: @@ -6139,6 +7140,8 @@ def __init__(__self__, *, pulumi.set(__self__, "spark_env_vars", spark_env_vars) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @@ -6242,6 +7245,16 @@ def init_scripts(self) -> Optional[Sequence['outputs.JobNewClusterInitScript']]: def instance_pool_id(self) -> Optional[str]: return pulumi.get(self, "instance_pool_id") + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") + @property @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobNewClusterLibrary']]: @@ -6290,6 +7303,11 @@ def spark_env_vars(self) -> Optional[Mapping[str, str]]: def ssh_public_keys(self) -> Optional[Sequence[str]]: return pulumi.get(self, "ssh_public_keys") + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional['outputs.JobNewClusterWorkloadType']: @@ -7918,6 +8936,8 @@ def __key_warning(key: str): suggest = None if key == "taskKey": suggest = "task_key" + elif key == "cleanRoomsNotebookTask": + suggest = "clean_rooms_notebook_task" elif key == "conditionTask": suggest = "condition_task" elif key == "dbtTask": @@ -7982,6 +9002,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, task_key: str, + clean_rooms_notebook_task: Optional['outputs.JobTaskCleanRoomsNotebookTask'] = None, condition_task: Optional['outputs.JobTaskConditionTask'] = None, dbt_task: Optional['outputs.JobTaskDbtTask'] = None, depends_ons: Optional[Sequence['outputs.JobTaskDependsOn']] = None, @@ -8034,6 +9055,8 @@ def __init__(__self__, *, > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. """ pulumi.set(__self__, "task_key", task_key) + if clean_rooms_notebook_task is not None: + pulumi.set(__self__, "clean_rooms_notebook_task", clean_rooms_notebook_task) if condition_task is not None: pulumi.set(__self__, "condition_task", condition_task) if dbt_task is not None: @@ -8100,6 +9123,11 @@ def task_key(self) -> str: """ return pulumi.get(self, "task_key") + @property + @pulumi.getter(name="cleanRoomsNotebookTask") + def clean_rooms_notebook_task(self) -> Optional['outputs.JobTaskCleanRoomsNotebookTask']: + return pulumi.get(self, "clean_rooms_notebook_task") + @property @pulumi.getter(name="conditionTask") def condition_task(self) -> Optional['outputs.JobTaskConditionTask']: @@ -8294,6 +9322,62 @@ def webhook_notifications(self) -> Optional['outputs.JobTaskWebhookNotifications return pulumi.get(self, "webhook_notifications") +@pulumi.output_type +class JobTaskCleanRoomsNotebookTask(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cleanRoomName": + suggest = "clean_room_name" + elif key == "notebookName": + suggest = "notebook_name" + elif key == "notebookBaseParameters": + suggest = "notebook_base_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in JobTaskCleanRoomsNotebookTask. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + JobTaskCleanRoomsNotebookTask.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + JobTaskCleanRoomsNotebookTask.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + clean_room_name: str, + notebook_name: str, + etag: Optional[str] = None, + notebook_base_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "clean_room_name", clean_room_name) + pulumi.set(__self__, "notebook_name", notebook_name) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if notebook_base_parameters is not None: + pulumi.set(__self__, "notebook_base_parameters", notebook_base_parameters) + + @property + @pulumi.getter(name="cleanRoomName") + def clean_room_name(self) -> str: + return pulumi.get(self, "clean_room_name") + + @property + @pulumi.getter(name="notebookName") + def notebook_name(self) -> str: + return pulumi.get(self, "notebook_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="notebookBaseParameters") + def notebook_base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "notebook_base_parameters") + + @pulumi.output_type class JobTaskConditionTask(dict): def __init__(__self__, *, @@ -8662,6 +9746,8 @@ def __key_warning(key: str): suggest = None if key == "taskKey": suggest = "task_key" + elif key == "cleanRoomsNotebookTask": + suggest = "clean_rooms_notebook_task" elif key == "conditionTask": suggest = "condition_task" elif key == "dbtTask": @@ -8724,6 +9810,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, task_key: str, + clean_rooms_notebook_task: Optional['outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask'] = None, condition_task: Optional['outputs.JobTaskForEachTaskTaskConditionTask'] = None, dbt_task: Optional['outputs.JobTaskForEachTaskTaskDbtTask'] = None, depends_ons: Optional[Sequence['outputs.JobTaskForEachTaskTaskDependsOn']] = None, @@ -8775,6 +9862,8 @@ def __init__(__self__, *, > If no `job_cluster_key`, `existing_cluster_id`, or `new_cluster` were specified in task definition, then task will executed using serverless compute. """ pulumi.set(__self__, "task_key", task_key) + if clean_rooms_notebook_task is not None: + pulumi.set(__self__, "clean_rooms_notebook_task", clean_rooms_notebook_task) if condition_task is not None: pulumi.set(__self__, "condition_task", condition_task) if dbt_task is not None: @@ -8839,6 +9928,11 @@ def task_key(self) -> str: """ return pulumi.get(self, "task_key") + @property + @pulumi.getter(name="cleanRoomsNotebookTask") + def clean_rooms_notebook_task(self) -> Optional['outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask']: + return pulumi.get(self, "clean_rooms_notebook_task") + @property @pulumi.getter(name="conditionTask") def condition_task(self) -> Optional['outputs.JobTaskForEachTaskTaskConditionTask']: @@ -9028,6 +10122,62 @@ def webhook_notifications(self) -> Optional['outputs.JobTaskForEachTaskTaskWebho return pulumi.get(self, "webhook_notifications") +@pulumi.output_type +class JobTaskForEachTaskTaskCleanRoomsNotebookTask(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cleanRoomName": + suggest = "clean_room_name" + elif key == "notebookName": + suggest = "notebook_name" + elif key == "notebookBaseParameters": + suggest = "notebook_base_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in JobTaskForEachTaskTaskCleanRoomsNotebookTask. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + JobTaskForEachTaskTaskCleanRoomsNotebookTask.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + JobTaskForEachTaskTaskCleanRoomsNotebookTask.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + clean_room_name: str, + notebook_name: str, + etag: Optional[str] = None, + notebook_base_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "clean_room_name", clean_room_name) + pulumi.set(__self__, "notebook_name", notebook_name) + if etag is not None: + pulumi.set(__self__, "etag", etag) + if notebook_base_parameters is not None: + pulumi.set(__self__, "notebook_base_parameters", notebook_base_parameters) + + @property + @pulumi.getter(name="cleanRoomName") + def clean_room_name(self) -> str: + return pulumi.get(self, "clean_room_name") + + @property + @pulumi.getter(name="notebookName") + def notebook_name(self) -> str: + return pulumi.get(self, "notebook_name") + + @property + @pulumi.getter + def etag(self) -> Optional[str]: + return pulumi.get(self, "etag") + + @property + @pulumi.getter(name="notebookBaseParameters") + def notebook_base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "notebook_base_parameters") + + @pulumi.output_type class JobTaskForEachTaskTaskConditionTask(dict): def __init__(__self__, *, @@ -9578,6 +10728,8 @@ def __key_warning(key: str): suggest = "init_scripts" elif key == "instancePoolId": suggest = "instance_pool_id" + elif key == "isSingleNode": + suggest = "is_single_node" elif key == "nodeTypeId": suggest = "node_type_id" elif key == "numWorkers": @@ -9594,6 +10746,8 @@ def __key_warning(key: str): suggest = "spark_env_vars" elif key == "sshPublicKeys": suggest = "ssh_public_keys" + elif key == "useMlRuntime": + suggest = "use_ml_runtime" elif key == "workloadType": suggest = "workload_type" @@ -9629,6 +10783,8 @@ def __init__(__self__, *, idempotency_token: Optional[str] = None, init_scripts: Optional[Sequence['outputs.JobTaskForEachTaskTaskNewClusterInitScript']] = None, instance_pool_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + kind: Optional[str] = None, libraries: Optional[Sequence['outputs.JobTaskForEachTaskTaskNewClusterLibrary']] = None, node_type_id: Optional[str] = None, num_workers: Optional[int] = None, @@ -9638,6 +10794,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, + use_ml_runtime: Optional[bool] = None, workload_type: Optional['outputs.JobTaskForEachTaskTaskNewClusterWorkloadType'] = None): """ :param Sequence['JobTaskForEachTaskTaskNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. @@ -9682,6 +10839,10 @@ def __init__(__self__, *, pulumi.set(__self__, "init_scripts", init_scripts) if instance_pool_id is not None: pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) if libraries is not None: pulumi.set(__self__, "libraries", libraries) if node_type_id is not None: @@ -9700,6 +10861,8 @@ def __init__(__self__, *, pulumi.set(__self__, "spark_env_vars", spark_env_vars) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @@ -9803,6 +10966,16 @@ def init_scripts(self) -> Optional[Sequence['outputs.JobTaskForEachTaskTaskNewCl def instance_pool_id(self) -> Optional[str]: return pulumi.get(self, "instance_pool_id") + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") + @property @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobTaskForEachTaskTaskNewClusterLibrary']]: @@ -9851,6 +11024,11 @@ def spark_env_vars(self) -> Optional[Mapping[str, str]]: def ssh_public_keys(self) -> Optional[Sequence[str]]: return pulumi.get(self, "ssh_public_keys") + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional['outputs.JobTaskForEachTaskTaskNewClusterWorkloadType']: @@ -12309,6 +13487,8 @@ def __key_warning(key: str): suggest = "init_scripts" elif key == "instancePoolId": suggest = "instance_pool_id" + elif key == "isSingleNode": + suggest = "is_single_node" elif key == "nodeTypeId": suggest = "node_type_id" elif key == "numWorkers": @@ -12325,6 +13505,8 @@ def __key_warning(key: str): suggest = "spark_env_vars" elif key == "sshPublicKeys": suggest = "ssh_public_keys" + elif key == "useMlRuntime": + suggest = "use_ml_runtime" elif key == "workloadType": suggest = "workload_type" @@ -12360,6 +13542,8 @@ def __init__(__self__, *, idempotency_token: Optional[str] = None, init_scripts: Optional[Sequence['outputs.JobTaskNewClusterInitScript']] = None, instance_pool_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + kind: Optional[str] = None, libraries: Optional[Sequence['outputs.JobTaskNewClusterLibrary']] = None, node_type_id: Optional[str] = None, num_workers: Optional[int] = None, @@ -12369,6 +13553,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, + use_ml_runtime: Optional[bool] = None, workload_type: Optional['outputs.JobTaskNewClusterWorkloadType'] = None): """ :param Sequence['JobTaskNewClusterLibraryArgs'] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below. @@ -12413,6 +13598,10 @@ def __init__(__self__, *, pulumi.set(__self__, "init_scripts", init_scripts) if instance_pool_id is not None: pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) if libraries is not None: pulumi.set(__self__, "libraries", libraries) if node_type_id is not None: @@ -12431,6 +13620,8 @@ def __init__(__self__, *, pulumi.set(__self__, "spark_env_vars", spark_env_vars) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @@ -12534,6 +13725,16 @@ def init_scripts(self) -> Optional[Sequence['outputs.JobTaskNewClusterInitScript def instance_pool_id(self) -> Optional[str]: return pulumi.get(self, "instance_pool_id") + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") + + @property + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") + @property @pulumi.getter def libraries(self) -> Optional[Sequence['outputs.JobTaskNewClusterLibrary']]: @@ -12582,6 +13783,11 @@ def spark_env_vars(self) -> Optional[Mapping[str, str]]: def ssh_public_keys(self) -> Optional[Sequence[str]]: return pulumi.get(self, "ssh_public_keys") + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") + @property @pulumi.getter(name="workloadType") def workload_type(self) -> Optional['outputs.JobTaskNewClusterWorkloadType']: @@ -22226,8 +23432,8 @@ def __key_warning(key: str): suggest = None if key == "startHour": suggest = "start_hour" - elif key == "daysOfWeek": - suggest = "days_of_week" + elif key == "daysOfWeeks": + suggest = "days_of_weeks" elif key == "timeZoneId": suggest = "time_zone_id" @@ -22244,11 +23450,11 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, start_hour: int, - days_of_week: Optional[str] = None, + days_of_weeks: Optional[Sequence[str]] = None, time_zone_id: Optional[str] = None): pulumi.set(__self__, "start_hour", start_hour) - if days_of_week is not None: - pulumi.set(__self__, "days_of_week", days_of_week) + if days_of_weeks is not None: + pulumi.set(__self__, "days_of_weeks", days_of_weeks) if time_zone_id is not None: pulumi.set(__self__, "time_zone_id", time_zone_id) @@ -22258,9 +23464,9 @@ def start_hour(self) -> int: return pulumi.get(self, "start_hour") @property - @pulumi.getter(name="daysOfWeek") - def days_of_week(self) -> Optional[str]: - return pulumi.get(self, "days_of_week") + @pulumi.getter(name="daysOfWeeks") + def days_of_weeks(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "days_of_weeks") @property @pulumi.getter(name="timeZoneId") @@ -26012,1576 +27218,1818 @@ def ready(self) -> Optional[bool]: @pulumi.output_type -class GetCatalogCatalogInfoResult(dict): +class GetAppAppResult(dict): def __init__(__self__, *, - browse_only: Optional[bool] = None, - catalog_type: Optional[str] = None, - comment: Optional[str] = None, - connection_name: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - effective_predictive_optimization_flag: Optional['outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult'] = None, - enable_predictive_optimization: Optional[str] = None, - full_name: Optional[str] = None, - isolation_mode: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - options: Optional[Mapping[str, str]] = None, - owner: Optional[str] = None, - properties: Optional[Mapping[str, str]] = None, - provider_name: Optional[str] = None, - provisioning_info: Optional['outputs.GetCatalogCatalogInfoProvisioningInfoResult'] = None, - securable_kind: Optional[str] = None, - securable_type: Optional[str] = None, - share_name: Optional[str] = None, - storage_location: Optional[str] = None, - storage_root: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): + active_deployment: 'outputs.GetAppAppActiveDeploymentResult', + app_status: 'outputs.GetAppAppAppStatusResult', + compute_status: 'outputs.GetAppAppComputeStatusResult', + create_time: str, + creator: str, + default_source_code_path: str, + name: str, + pending_deployment: 'outputs.GetAppAppPendingDeploymentResult', + service_principal_client_id: str, + service_principal_id: int, + service_principal_name: str, + update_time: str, + updater: str, + url: str, + description: Optional[str] = None, + resources: Optional[Sequence['outputs.GetAppAppResourceResult']] = None): + """ + :param 'GetAppAppAppStatusArgs' app_status: attribute + :param 'GetAppAppComputeStatusArgs' compute_status: attribute + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str default_source_code_path: The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + :param str name: The name of the app. + :param int service_principal_id: id of the app service principal + :param str service_principal_name: name of the app service principal + :param str update_time: The update time of the app. + :param str updater: The email of the user that last updated the app. + :param str url: The URL of the app once it is deployed. + :param str description: The description of the resource. + :param Sequence['GetAppAppResourceArgs'] resources: A list of resources that the app have access to. + """ + pulumi.set(__self__, "active_deployment", active_deployment) + pulumi.set(__self__, "app_status", app_status) + pulumi.set(__self__, "compute_status", compute_status) + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "creator", creator) + pulumi.set(__self__, "default_source_code_path", default_source_code_path) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "pending_deployment", pending_deployment) + pulumi.set(__self__, "service_principal_client_id", service_principal_client_id) + pulumi.set(__self__, "service_principal_id", service_principal_id) + pulumi.set(__self__, "service_principal_name", service_principal_name) + pulumi.set(__self__, "update_time", update_time) + pulumi.set(__self__, "updater", updater) + pulumi.set(__self__, "url", url) + if description is not None: + pulumi.set(__self__, "description", description) + if resources is not None: + pulumi.set(__self__, "resources", resources) + + @property + @pulumi.getter(name="activeDeployment") + def active_deployment(self) -> 'outputs.GetAppAppActiveDeploymentResult': + return pulumi.get(self, "active_deployment") + + @property + @pulumi.getter(name="appStatus") + def app_status(self) -> 'outputs.GetAppAppAppStatusResult': """ - :param str catalog_type: Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, - :param str comment: Free-form text description - :param str connection_name: The name of the connection to an external data source. - :param int created_at: Time at which this catalog was created, in epoch milliseconds. - :param str created_by: Username of catalog creator. - :param 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: object describing applied predictive optimization flag. - :param str enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. - :param str full_name: The full name of the catalog. Corresponds with the name field. - :param str isolation_mode: Whether the current securable is accessible from all workspaces or a specific set of workspaces. - :param str metastore_id: Unique identifier of parent metastore. - :param str name: name of the catalog - :param Mapping[str, str] options: A map of key-value properties attached to the securable. - :param str owner: Current owner of the catalog - :param Mapping[str, str] properties: A map of key-value properties attached to the securable. - :param str provider_name: The name of delta sharing provider. - :param str securable_kind: Kind of catalog securable. - :param str securable_type: Securable type. - :param str share_name: The name of the share under the share provider. - :param str storage_location: Storage Location URL (full path) for managed tables within catalog. - :param str storage_root: Storage root URL for managed tables within catalog. - :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. - :param str updated_by: Username of user who last modified catalog. + attribute """ - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_type is not None: - pulumi.set(__self__, "catalog_type", catalog_type) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if connection_name is not None: - pulumi.set(__self__, "connection_name", connection_name) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if effective_predictive_optimization_flag is not None: - pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) - if enable_predictive_optimization is not None: - pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if isolation_mode is not None: - pulumi.set(__self__, "isolation_mode", isolation_mode) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if options is not None: - pulumi.set(__self__, "options", options) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if properties is not None: - pulumi.set(__self__, "properties", properties) - if provider_name is not None: - pulumi.set(__self__, "provider_name", provider_name) - if provisioning_info is not None: - pulumi.set(__self__, "provisioning_info", provisioning_info) - if securable_kind is not None: - pulumi.set(__self__, "securable_kind", securable_kind) - if securable_type is not None: - pulumi.set(__self__, "securable_type", securable_type) - if share_name is not None: - pulumi.set(__self__, "share_name", share_name) - if storage_location is not None: - pulumi.set(__self__, "storage_location", storage_location) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + return pulumi.get(self, "app_status") @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - return pulumi.get(self, "browse_only") + @pulumi.getter(name="computeStatus") + def compute_status(self) -> 'outputs.GetAppAppComputeStatusResult': + """ + attribute + """ + return pulumi.get(self, "compute_status") @property - @pulumi.getter(name="catalogType") - def catalog_type(self) -> Optional[str]: + @pulumi.getter(name="createTime") + def create_time(self) -> str: """ - Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + The creation time of the app. """ - return pulumi.get(self, "catalog_type") + return pulumi.get(self, "create_time") @property @pulumi.getter - def comment(self) -> Optional[str]: + def creator(self) -> str: """ - Free-form text description + The email of the user that created the app. """ - return pulumi.get(self, "comment") + return pulumi.get(self, "creator") @property - @pulumi.getter(name="connectionName") - def connection_name(self) -> Optional[str]: + @pulumi.getter(name="defaultSourceCodePath") + def default_source_code_path(self) -> str: """ - The name of the connection to an external data source. + The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. """ - return pulumi.get(self, "connection_name") + return pulumi.get(self, "default_source_code_path") @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: + @pulumi.getter + def name(self) -> str: """ - Time at which this catalog was created, in epoch milliseconds. + The name of the app. """ - return pulumi.get(self, "created_at") + return pulumi.get(self, "name") @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: + @pulumi.getter(name="pendingDeployment") + def pending_deployment(self) -> 'outputs.GetAppAppPendingDeploymentResult': + return pulumi.get(self, "pending_deployment") + + @property + @pulumi.getter(name="servicePrincipalClientId") + def service_principal_client_id(self) -> str: + return pulumi.get(self, "service_principal_client_id") + + @property + @pulumi.getter(name="servicePrincipalId") + def service_principal_id(self) -> int: """ - Username of catalog creator. + id of the app service principal """ - return pulumi.get(self, "created_by") + return pulumi.get(self, "service_principal_id") @property - @pulumi.getter(name="effectivePredictiveOptimizationFlag") - def effective_predictive_optimization_flag(self) -> Optional['outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult']: + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> str: """ - object describing applied predictive optimization flag. + name of the app service principal """ - return pulumi.get(self, "effective_predictive_optimization_flag") + return pulumi.get(self, "service_principal_name") @property - @pulumi.getter(name="enablePredictiveOptimization") - def enable_predictive_optimization(self) -> Optional[str]: + @pulumi.getter(name="updateTime") + def update_time(self) -> str: """ - Whether predictive optimization should be enabled for this object and objects under it. + The update time of the app. """ - return pulumi.get(self, "enable_predictive_optimization") + return pulumi.get(self, "update_time") @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: + @pulumi.getter + def updater(self) -> str: """ - The full name of the catalog. Corresponds with the name field. + The email of the user that last updated the app. """ - return pulumi.get(self, "full_name") + return pulumi.get(self, "updater") @property - @pulumi.getter(name="isolationMode") - def isolation_mode(self) -> Optional[str]: + @pulumi.getter + def url(self) -> str: """ - Whether the current securable is accessible from all workspaces or a specific set of workspaces. + The URL of the app once it is deployed. """ - return pulumi.get(self, "isolation_mode") + return pulumi.get(self, "url") @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: + @pulumi.getter + def description(self) -> Optional[str]: """ - Unique identifier of parent metastore. + The description of the resource. """ - return pulumi.get(self, "metastore_id") + return pulumi.get(self, "description") @property @pulumi.getter - def name(self) -> Optional[str]: + def resources(self) -> Optional[Sequence['outputs.GetAppAppResourceResult']]: """ - name of the catalog + A list of resources that the app have access to. """ - return pulumi.get(self, "name") + return pulumi.get(self, "resources") + + +@pulumi.output_type +class GetAppAppActiveDeploymentResult(dict): + def __init__(__self__, *, + create_time: str, + creator: str, + deployment_artifacts: 'outputs.GetAppAppActiveDeploymentDeploymentArtifactsResult', + status: 'outputs.GetAppAppActiveDeploymentStatusResult', + update_time: str, + deployment_id: Optional[str] = None, + mode: Optional[str] = None, + source_code_path: Optional[str] = None): + """ + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str update_time: The update time of the app. + """ + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "creator", creator) + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "update_time", update_time) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The creation time of the app. + """ + return pulumi.get(self, "create_time") @property @pulumi.getter - def options(self) -> Optional[Mapping[str, str]]: + def creator(self) -> str: """ - A map of key-value properties attached to the securable. + The email of the user that created the app. """ - return pulumi.get(self, "options") + return pulumi.get(self, "creator") + + @property + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> 'outputs.GetAppAppActiveDeploymentDeploymentArtifactsResult': + return pulumi.get(self, "deployment_artifacts") @property @pulumi.getter - def owner(self) -> Optional[str]: + def status(self) -> 'outputs.GetAppAppActiveDeploymentStatusResult': + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> str: """ - Current owner of the catalog + The update time of the app. """ - return pulumi.get(self, "owner") + return pulumi.get(self, "update_time") + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") @property @pulumi.getter - def properties(self) -> Optional[Mapping[str, str]]: + def mode(self) -> Optional[str]: + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + +@pulumi.output_type +class GetAppAppActiveDeploymentDeploymentArtifactsResult(dict): + def __init__(__self__, *, + source_code_path: Optional[str] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + +@pulumi.output_type +class GetAppAppActiveDeploymentStatusResult(dict): + def __init__(__self__, *, + message: str, + state: str): """ - A map of key-value properties attached to the securable. + :param str message: Application status message + :param str state: State of the application. """ - return pulumi.get(self, "properties") + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="providerName") - def provider_name(self) -> Optional[str]: + @pulumi.getter + def message(self) -> str: """ - The name of delta sharing provider. + Application status message """ - return pulumi.get(self, "provider_name") + return pulumi.get(self, "message") @property - @pulumi.getter(name="provisioningInfo") - def provisioning_info(self) -> Optional['outputs.GetCatalogCatalogInfoProvisioningInfoResult']: - return pulumi.get(self, "provisioning_info") + @pulumi.getter + def state(self) -> str: + """ + State of the application. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class GetAppAppAppStatusResult(dict): + def __init__(__self__, *, + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="securableKind") - def securable_kind(self) -> Optional[str]: + @pulumi.getter + def message(self) -> str: """ - Kind of catalog securable. + Application status message """ - return pulumi.get(self, "securable_kind") + return pulumi.get(self, "message") @property - @pulumi.getter(name="securableType") - def securable_type(self) -> Optional[str]: + @pulumi.getter + def state(self) -> str: """ - Securable type. + State of the application. """ - return pulumi.get(self, "securable_type") + return pulumi.get(self, "state") + + +@pulumi.output_type +class GetAppAppComputeStatusResult(dict): + def __init__(__self__, *, + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="shareName") - def share_name(self) -> Optional[str]: + @pulumi.getter + def message(self) -> str: """ - The name of the share under the share provider. + Application status message """ - return pulumi.get(self, "share_name") + return pulumi.get(self, "message") @property - @pulumi.getter(name="storageLocation") - def storage_location(self) -> Optional[str]: + @pulumi.getter + def state(self) -> str: """ - Storage Location URL (full path) for managed tables within catalog. + State of the application. """ - return pulumi.get(self, "storage_location") + return pulumi.get(self, "state") + + +@pulumi.output_type +class GetAppAppPendingDeploymentResult(dict): + def __init__(__self__, *, + create_time: str, + creator: str, + deployment_artifacts: 'outputs.GetAppAppPendingDeploymentDeploymentArtifactsResult', + status: 'outputs.GetAppAppPendingDeploymentStatusResult', + update_time: str, + deployment_id: Optional[str] = None, + mode: Optional[str] = None, + source_code_path: Optional[str] = None): + """ + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str update_time: The update time of the app. + """ + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "creator", creator) + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "update_time", update_time) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: + @pulumi.getter(name="createTime") + def create_time(self) -> str: """ - Storage root URL for managed tables within catalog. + The creation time of the app. """ - return pulumi.get(self, "storage_root") + return pulumi.get(self, "create_time") @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: + @pulumi.getter + def creator(self) -> str: """ - Time at which this catalog was last modified, in epoch milliseconds. + The email of the user that created the app. """ - return pulumi.get(self, "updated_at") + return pulumi.get(self, "creator") @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> 'outputs.GetAppAppPendingDeploymentDeploymentArtifactsResult': + return pulumi.get(self, "deployment_artifacts") + + @property + @pulumi.getter + def status(self) -> 'outputs.GetAppAppPendingDeploymentStatusResult': + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="updateTime") + def update_time(self) -> str: """ - Username of user who last modified catalog. + The update time of the app. """ - return pulumi.get(self, "updated_by") + return pulumi.get(self, "update_time") + + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") + + @property + @pulumi.getter + def mode(self) -> Optional[str]: + return pulumi.get(self, "mode") + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") @pulumi.output_type -class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult(dict): +class GetAppAppPendingDeploymentDeploymentArtifactsResult(dict): def __init__(__self__, *, - value: str, - inherited_from_name: Optional[str] = None, - inherited_from_type: Optional[str] = None): - pulumi.set(__self__, "value", value) - if inherited_from_name is not None: - pulumi.set(__self__, "inherited_from_name", inherited_from_name) - if inherited_from_type is not None: - pulumi.set(__self__, "inherited_from_type", inherited_from_type) + source_code_path: Optional[str] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + +@pulumi.output_type +class GetAppAppPendingDeploymentStatusResult(dict): + def __init__(__self__, *, + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") + def message(self) -> str: + """ + Application status message + """ + return pulumi.get(self, "message") @property - @pulumi.getter(name="inheritedFromName") - def inherited_from_name(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_name") + @pulumi.getter + def state(self) -> str: + """ + State of the application. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class GetAppAppResourceResult(dict): + def __init__(__self__, *, + name: str, + description: Optional[str] = None, + job: Optional['outputs.GetAppAppResourceJobResult'] = None, + secret: Optional['outputs.GetAppAppResourceSecretResult'] = None, + serving_endpoint: Optional['outputs.GetAppAppResourceServingEndpointResult'] = None, + sql_warehouse: Optional['outputs.GetAppAppResourceSqlWarehouseResult'] = None): + """ + :param str name: The name of the app. + :param str description: The description of the resource. + :param 'GetAppAppResourceJobArgs' job: attribute + :param 'GetAppAppResourceSecretArgs' secret: attribute + :param 'GetAppAppResourceServingEndpointArgs' serving_endpoint: attribute + :param 'GetAppAppResourceSqlWarehouseArgs' sql_warehouse: attribute + """ + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if job is not None: + pulumi.set(__self__, "job", job) + if secret is not None: + pulumi.set(__self__, "secret", secret) + if serving_endpoint is not None: + pulumi.set(__self__, "serving_endpoint", serving_endpoint) + if sql_warehouse is not None: + pulumi.set(__self__, "sql_warehouse", sql_warehouse) @property - @pulumi.getter(name="inheritedFromType") - def inherited_from_type(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_type") + @pulumi.getter + def name(self) -> str: + """ + The name of the app. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the resource. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def job(self) -> Optional['outputs.GetAppAppResourceJobResult']: + """ + attribute + """ + return pulumi.get(self, "job") + + @property + @pulumi.getter + def secret(self) -> Optional['outputs.GetAppAppResourceSecretResult']: + """ + attribute + """ + return pulumi.get(self, "secret") + + @property + @pulumi.getter(name="servingEndpoint") + def serving_endpoint(self) -> Optional['outputs.GetAppAppResourceServingEndpointResult']: + """ + attribute + """ + return pulumi.get(self, "serving_endpoint") + + @property + @pulumi.getter(name="sqlWarehouse") + def sql_warehouse(self) -> Optional['outputs.GetAppAppResourceSqlWarehouseResult']: + """ + attribute + """ + return pulumi.get(self, "sql_warehouse") @pulumi.output_type -class GetCatalogCatalogInfoProvisioningInfoResult(dict): +class GetAppAppResourceJobResult(dict): def __init__(__self__, *, - state: Optional[str] = None): - if state is not None: - pulumi.set(__self__, "state", state) + id: str, + permission: str): + """ + :param str id: Id of the job to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) @property @pulumi.getter - def state(self) -> Optional[str]: - return pulumi.get(self, "state") + def id(self) -> str: + """ + Id of the job to grant permission on. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") @pulumi.output_type -class GetClusterClusterInfoResult(dict): +class GetAppAppResourceSecretResult(dict): def __init__(__self__, *, - autoscale: Optional['outputs.GetClusterClusterInfoAutoscaleResult'] = None, - autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['outputs.GetClusterClusterInfoAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetClusterClusterInfoAzureAttributesResult'] = None, - cluster_cores: Optional[float] = None, - cluster_id: Optional[str] = None, - cluster_log_conf: Optional['outputs.GetClusterClusterInfoClusterLogConfResult'] = None, - cluster_log_status: Optional['outputs.GetClusterClusterInfoClusterLogStatusResult'] = None, - cluster_memory_mb: Optional[int] = None, - cluster_name: Optional[str] = None, - cluster_source: Optional[str] = None, - creator_user_name: Optional[str] = None, - custom_tags: Optional[Mapping[str, str]] = None, - data_security_mode: Optional[str] = None, - default_tags: Optional[Mapping[str, str]] = None, - docker_image: Optional['outputs.GetClusterClusterInfoDockerImageResult'] = None, - driver: Optional['outputs.GetClusterClusterInfoDriverResult'] = None, - driver_instance_pool_id: Optional[str] = None, - driver_node_type_id: Optional[str] = None, - enable_elastic_disk: Optional[bool] = None, - enable_local_disk_encryption: Optional[bool] = None, - executors: Optional[Sequence['outputs.GetClusterClusterInfoExecutorResult']] = None, - gcp_attributes: Optional['outputs.GetClusterClusterInfoGcpAttributesResult'] = None, - init_scripts: Optional[Sequence['outputs.GetClusterClusterInfoInitScriptResult']] = None, - instance_pool_id: Optional[str] = None, - jdbc_port: Optional[int] = None, - last_restarted_time: Optional[int] = None, - last_state_loss_time: Optional[int] = None, - node_type_id: Optional[str] = None, - num_workers: Optional[int] = None, - policy_id: Optional[str] = None, - runtime_engine: Optional[str] = None, - single_user_name: Optional[str] = None, - spark_conf: Optional[Mapping[str, str]] = None, - spark_context_id: Optional[int] = None, - spark_env_vars: Optional[Mapping[str, str]] = None, - spark_version: Optional[str] = None, - spec: Optional['outputs.GetClusterClusterInfoSpecResult'] = None, - ssh_public_keys: Optional[Sequence[str]] = None, - start_time: Optional[int] = None, - state: Optional[str] = None, - state_message: Optional[str] = None, - terminated_time: Optional[int] = None, - termination_reason: Optional['outputs.GetClusterClusterInfoTerminationReasonResult'] = None, - workload_type: Optional['outputs.GetClusterClusterInfoWorkloadTypeResult'] = None): + key: str, + permission: str, + scope: str): """ - :param int autotermination_minutes: Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. - :param str cluster_id: The id of the cluster - :param str cluster_name: The exact name of the cluster to search - :param Mapping[str, str] custom_tags: Additional tags for cluster resources. - :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - :param str driver_instance_pool_id: similar to `instance_pool_id`, but for driver node. - :param str driver_node_type_id: The node type of the Spark driver. - :param bool enable_elastic_disk: Use autoscaling local storage. - :param bool enable_local_disk_encryption: Enable local disk encryption. - :param str instance_pool_id: The pool of idle instances the cluster is attached to. - :param str node_type_id: Any supported get_node_type id. - :param str policy_id: Identifier of Cluster Policy to validate cluster and preset certain defaults. - :param str runtime_engine: The type of runtime of the cluster - :param str single_user_name: The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). - :param Mapping[str, str] spark_conf: Map with key-value pairs to fine-tune Spark clusters. - :param Mapping[str, str] spark_env_vars: Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. - :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - :param Sequence[str] ssh_public_keys: SSH public key contents that will be added to each Spark node in this cluster. + :param str key: Key of the secret to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + :param str scope: Scope of the secret to grant permission on. """ - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if autotermination_minutes is not None: - pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_cores is not None: - pulumi.set(__self__, "cluster_cores", cluster_cores) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_log_status is not None: - pulumi.set(__self__, "cluster_log_status", cluster_log_status) - if cluster_memory_mb is not None: - pulumi.set(__self__, "cluster_memory_mb", cluster_memory_mb) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if cluster_source is not None: - pulumi.set(__self__, "cluster_source", cluster_source) - if creator_user_name is not None: - pulumi.set(__self__, "creator_user_name", creator_user_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if default_tags is not None: - pulumi.set(__self__, "default_tags", default_tags) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if driver is not None: - pulumi.set(__self__, "driver", driver) - if driver_instance_pool_id is not None: - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - if driver_node_type_id is not None: - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if enable_local_disk_encryption is not None: - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - if executors is not None: - pulumi.set(__self__, "executors", executors) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if jdbc_port is not None: - pulumi.set(__self__, "jdbc_port", jdbc_port) - if last_restarted_time is not None: - pulumi.set(__self__, "last_restarted_time", last_restarted_time) - if last_state_loss_time is not None: - pulumi.set(__self__, "last_state_loss_time", last_state_loss_time) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if num_workers is not None: - pulumi.set(__self__, "num_workers", num_workers) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_context_id is not None: - pulumi.set(__self__, "spark_context_id", spark_context_id) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if spark_version is not None: - pulumi.set(__self__, "spark_version", spark_version) - if spec is not None: - pulumi.set(__self__, "spec", spec) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if start_time is not None: - pulumi.set(__self__, "start_time", start_time) - if state is not None: - pulumi.set(__self__, "state", state) - if state_message is not None: - pulumi.set(__self__, "state_message", state_message) - if terminated_time is not None: - pulumi.set(__self__, "terminated_time", terminated_time) - if termination_reason is not None: - pulumi.set(__self__, "termination_reason", termination_reason) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "permission", permission) + pulumi.set(__self__, "scope", scope) @property @pulumi.getter - def autoscale(self) -> Optional['outputs.GetClusterClusterInfoAutoscaleResult']: - return pulumi.get(self, "autoscale") - - @property - @pulumi.getter(name="autoterminationMinutes") - def autotermination_minutes(self) -> Optional[int]: + def key(self) -> str: """ - Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. + Key of the secret to grant permission on. """ - return pulumi.get(self, "autotermination_minutes") - - @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoAwsAttributesResult']: - return pulumi.get(self, "aws_attributes") - - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetClusterClusterInfoAzureAttributesResult']: - return pulumi.get(self, "azure_attributes") + return pulumi.get(self, "key") @property - @pulumi.getter(name="clusterCores") - def cluster_cores(self) -> Optional[float]: - return pulumi.get(self, "cluster_cores") + @pulumi.getter + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[str]: + @pulumi.getter + def scope(self) -> str: """ - The id of the cluster + Scope of the secret to grant permission on. """ - return pulumi.get(self, "cluster_id") + return pulumi.get(self, "scope") - @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['outputs.GetClusterClusterInfoClusterLogConfResult']: - return pulumi.get(self, "cluster_log_conf") - @property - @pulumi.getter(name="clusterLogStatus") - def cluster_log_status(self) -> Optional['outputs.GetClusterClusterInfoClusterLogStatusResult']: - return pulumi.get(self, "cluster_log_status") +@pulumi.output_type +class GetAppAppResourceServingEndpointResult(dict): + def __init__(__self__, *, + name: str, + permission: str): + """ + :param str name: The name of the app. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "permission", permission) @property - @pulumi.getter(name="clusterMemoryMb") - def cluster_memory_mb(self) -> Optional[int]: - return pulumi.get(self, "cluster_memory_mb") + @pulumi.getter + def name(self) -> str: + """ + The name of the app. + """ + return pulumi.get(self, "name") @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: + @pulumi.getter + def permission(self) -> str: """ - The exact name of the cluster to search + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. """ - return pulumi.get(self, "cluster_name") + return pulumi.get(self, "permission") - @property - @pulumi.getter(name="clusterSource") - def cluster_source(self) -> Optional[str]: - return pulumi.get(self, "cluster_source") - @property - @pulumi.getter(name="creatorUserName") - def creator_user_name(self) -> Optional[str]: - return pulumi.get(self, "creator_user_name") +@pulumi.output_type +class GetAppAppResourceSqlWarehouseResult(dict): + def __init__(__self__, *, + id: str, + permission: str): + """ + :param str id: Id of the job to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: + @pulumi.getter + def id(self) -> str: """ - Additional tags for cluster resources. + Id of the job to grant permission on. """ - return pulumi.get(self, "custom_tags") + return pulumi.get(self, "id") @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: + @pulumi.getter + def permission(self) -> str: """ - Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. """ - return pulumi.get(self, "data_security_mode") + return pulumi.get(self, "permission") - @property - @pulumi.getter(name="defaultTags") - def default_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "default_tags") - @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['outputs.GetClusterClusterInfoDockerImageResult']: - return pulumi.get(self, "docker_image") +@pulumi.output_type +class GetAppsAppResult(dict): + def __init__(__self__, *, + active_deployment: 'outputs.GetAppsAppActiveDeploymentResult', + app_status: 'outputs.GetAppsAppAppStatusResult', + compute_status: 'outputs.GetAppsAppComputeStatusResult', + create_time: str, + creator: str, + default_source_code_path: str, + name: str, + pending_deployment: 'outputs.GetAppsAppPendingDeploymentResult', + service_principal_client_id: str, + service_principal_id: int, + service_principal_name: str, + update_time: str, + updater: str, + url: str, + description: Optional[str] = None, + resources: Optional[Sequence['outputs.GetAppsAppResourceResult']] = None): + """ + :param 'GetAppsAppAppStatusArgs' app_status: attribute + :param 'GetAppsAppComputeStatusArgs' compute_status: attribute + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str default_source_code_path: The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + :param str name: Name of the serving endpoint to grant permission on. + :param int service_principal_id: id of the app service principal + :param str service_principal_name: name of the app service principal + :param str update_time: The update time of the app. + :param str updater: The email of the user that last updated the app. + :param str url: The URL of the app once it is deployed. + :param str description: The description of the resource. + :param Sequence['GetAppsAppResourceArgs'] resources: A list of resources that the app have access to. + """ + pulumi.set(__self__, "active_deployment", active_deployment) + pulumi.set(__self__, "app_status", app_status) + pulumi.set(__self__, "compute_status", compute_status) + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "creator", creator) + pulumi.set(__self__, "default_source_code_path", default_source_code_path) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "pending_deployment", pending_deployment) + pulumi.set(__self__, "service_principal_client_id", service_principal_client_id) + pulumi.set(__self__, "service_principal_id", service_principal_id) + pulumi.set(__self__, "service_principal_name", service_principal_name) + pulumi.set(__self__, "update_time", update_time) + pulumi.set(__self__, "updater", updater) + pulumi.set(__self__, "url", url) + if description is not None: + pulumi.set(__self__, "description", description) + if resources is not None: + pulumi.set(__self__, "resources", resources) @property - @pulumi.getter - def driver(self) -> Optional['outputs.GetClusterClusterInfoDriverResult']: - return pulumi.get(self, "driver") + @pulumi.getter(name="activeDeployment") + def active_deployment(self) -> 'outputs.GetAppsAppActiveDeploymentResult': + return pulumi.get(self, "active_deployment") @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> Optional[str]: + @pulumi.getter(name="appStatus") + def app_status(self) -> 'outputs.GetAppsAppAppStatusResult': """ - similar to `instance_pool_id`, but for driver node. + attribute """ - return pulumi.get(self, "driver_instance_pool_id") + return pulumi.get(self, "app_status") @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> Optional[str]: + @pulumi.getter(name="computeStatus") + def compute_status(self) -> 'outputs.GetAppsAppComputeStatusResult': """ - The node type of the Spark driver. + attribute """ - return pulumi.get(self, "driver_node_type_id") + return pulumi.get(self, "compute_status") @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[bool]: + @pulumi.getter(name="createTime") + def create_time(self) -> str: """ - Use autoscaling local storage. + The creation time of the app. """ - return pulumi.get(self, "enable_elastic_disk") + return pulumi.get(self, "create_time") @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> Optional[bool]: + @pulumi.getter + def creator(self) -> str: """ - Enable local disk encryption. + The email of the user that created the app. """ - return pulumi.get(self, "enable_local_disk_encryption") - - @property - @pulumi.getter - def executors(self) -> Optional[Sequence['outputs.GetClusterClusterInfoExecutorResult']]: - return pulumi.get(self, "executors") - - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetClusterClusterInfoGcpAttributesResult']: - return pulumi.get(self, "gcp_attributes") + return pulumi.get(self, "creator") @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['outputs.GetClusterClusterInfoInitScriptResult']]: - return pulumi.get(self, "init_scripts") + @pulumi.getter(name="defaultSourceCodePath") + def default_source_code_path(self) -> str: + """ + The default workspace file system path of the source code from which app deployment are created. This field tracks the workspace source code path of the last active deployment. + """ + return pulumi.get(self, "default_source_code_path") @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: + @pulumi.getter + def name(self) -> str: """ - The pool of idle instances the cluster is attached to. + Name of the serving endpoint to grant permission on. """ - return pulumi.get(self, "instance_pool_id") + return pulumi.get(self, "name") @property - @pulumi.getter(name="jdbcPort") - def jdbc_port(self) -> Optional[int]: - return pulumi.get(self, "jdbc_port") + @pulumi.getter(name="pendingDeployment") + def pending_deployment(self) -> 'outputs.GetAppsAppPendingDeploymentResult': + return pulumi.get(self, "pending_deployment") @property - @pulumi.getter(name="lastRestartedTime") - def last_restarted_time(self) -> Optional[int]: - return pulumi.get(self, "last_restarted_time") + @pulumi.getter(name="servicePrincipalClientId") + def service_principal_client_id(self) -> str: + return pulumi.get(self, "service_principal_client_id") @property - @pulumi.getter(name="lastStateLossTime") - def last_state_loss_time(self) -> Optional[int]: - return pulumi.get(self, "last_state_loss_time") + @pulumi.getter(name="servicePrincipalId") + def service_principal_id(self) -> int: + """ + id of the app service principal + """ + return pulumi.get(self, "service_principal_id") @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[str]: + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> str: """ - Any supported get_node_type id. + name of the app service principal """ - return pulumi.get(self, "node_type_id") + return pulumi.get(self, "service_principal_name") @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> Optional[int]: - return pulumi.get(self, "num_workers") + @pulumi.getter(name="updateTime") + def update_time(self) -> str: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: + @pulumi.getter + def updater(self) -> str: """ - Identifier of Cluster Policy to validate cluster and preset certain defaults. + The email of the user that last updated the app. """ - return pulumi.get(self, "policy_id") + return pulumi.get(self, "updater") @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: + @pulumi.getter + def url(self) -> str: """ - The type of runtime of the cluster + The URL of the app once it is deployed. """ - return pulumi.get(self, "runtime_engine") + return pulumi.get(self, "url") @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: + @pulumi.getter + def description(self) -> Optional[str]: """ - The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + The description of the resource. """ - return pulumi.get(self, "single_user_name") + return pulumi.get(self, "description") @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: + @pulumi.getter + def resources(self) -> Optional[Sequence['outputs.GetAppsAppResourceResult']]: """ - Map with key-value pairs to fine-tune Spark clusters. + A list of resources that the app have access to. """ - return pulumi.get(self, "spark_conf") + return pulumi.get(self, "resources") - @property - @pulumi.getter(name="sparkContextId") - def spark_context_id(self) -> Optional[int]: - return pulumi.get(self, "spark_context_id") - @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: +@pulumi.output_type +class GetAppsAppActiveDeploymentResult(dict): + def __init__(__self__, *, + create_time: str, + creator: str, + deployment_artifacts: 'outputs.GetAppsAppActiveDeploymentDeploymentArtifactsResult', + status: 'outputs.GetAppsAppActiveDeploymentStatusResult', + update_time: str, + deployment_id: Optional[str] = None, + mode: Optional[str] = None, + source_code_path: Optional[str] = None): """ - Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str update_time: The update time of the app. """ - return pulumi.get(self, "spark_env_vars") + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "creator", creator) + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "update_time", update_time) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> Optional[str]: + @pulumi.getter(name="createTime") + def create_time(self) -> str: """ - [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + The creation time of the app. """ - return pulumi.get(self, "spark_version") + return pulumi.get(self, "create_time") @property @pulumi.getter - def spec(self) -> Optional['outputs.GetClusterClusterInfoSpecResult']: - return pulumi.get(self, "spec") - - @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: + def creator(self) -> str: """ - SSH public key contents that will be added to each Spark node in this cluster. + The email of the user that created the app. """ - return pulumi.get(self, "ssh_public_keys") + return pulumi.get(self, "creator") @property - @pulumi.getter(name="startTime") - def start_time(self) -> Optional[int]: - return pulumi.get(self, "start_time") + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> 'outputs.GetAppsAppActiveDeploymentDeploymentArtifactsResult': + return pulumi.get(self, "deployment_artifacts") @property @pulumi.getter - def state(self) -> Optional[str]: - return pulumi.get(self, "state") + def status(self) -> 'outputs.GetAppsAppActiveDeploymentStatusResult': + return pulumi.get(self, "status") @property - @pulumi.getter(name="stateMessage") - def state_message(self) -> Optional[str]: - return pulumi.get(self, "state_message") + @pulumi.getter(name="updateTime") + def update_time(self) -> str: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") @property - @pulumi.getter(name="terminatedTime") - def terminated_time(self) -> Optional[int]: - return pulumi.get(self, "terminated_time") + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") @property - @pulumi.getter(name="terminationReason") - def termination_reason(self) -> Optional['outputs.GetClusterClusterInfoTerminationReasonResult']: - return pulumi.get(self, "termination_reason") + @pulumi.getter + def mode(self) -> Optional[str]: + return pulumi.get(self, "mode") @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['outputs.GetClusterClusterInfoWorkloadTypeResult']: - return pulumi.get(self, "workload_type") + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") @pulumi.output_type -class GetClusterClusterInfoAutoscaleResult(dict): +class GetAppsAppActiveDeploymentDeploymentArtifactsResult(dict): def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) - - @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") + source_code_path: Optional[str] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") @pulumi.output_type -class GetClusterClusterInfoAwsAttributesResult(dict): +class GetAppsAppActiveDeploymentStatusResult(dict): def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_iops: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_throughput: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_iops is not None: - pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_throughput is not None: - pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def message(self) -> str: + """ + Application status message + """ + return pulumi.get(self, "message") @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") + @pulumi.getter + def state(self) -> str: + """ + State of the application. + """ + return pulumi.get(self, "state") - @property - @pulumi.getter(name="ebsVolumeIops") - def ebs_volume_iops(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_iops") - @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") +@pulumi.output_type +class GetAppsAppAppStatusResult(dict): + def __init__(__self__, *, + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="ebsVolumeThroughput") - def ebs_volume_throughput(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_throughput") + @pulumi.getter + def message(self) -> str: + """ + Application status message + """ + return pulumi.get(self, "message") @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter + def state(self) -> str: + """ + State of the application. + """ + return pulumi.get(self, "state") - @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") - @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") +@pulumi.output_type +class GetAppsAppComputeStatusResult(dict): + def __init__(__self__, *, + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter + def message(self) -> str: + """ + Application status message + """ + return pulumi.get(self, "message") @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def state(self) -> str: + """ + State of the application. + """ + return pulumi.get(self, "state") @pulumi.output_type -class GetClusterClusterInfoAzureAttributesResult(dict): +class GetAppsAppPendingDeploymentResult(dict): def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - log_analytics_info: Optional['outputs.GetClusterClusterInfoAzureAttributesLogAnalyticsInfoResult'] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if log_analytics_info is not None: - pulumi.set(__self__, "log_analytics_info", log_analytics_info) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + create_time: str, + creator: str, + deployment_artifacts: 'outputs.GetAppsAppPendingDeploymentDeploymentArtifactsResult', + status: 'outputs.GetAppsAppPendingDeploymentStatusResult', + update_time: str, + deployment_id: Optional[str] = None, + mode: Optional[str] = None, + source_code_path: Optional[str] = None): + """ + :param str create_time: The creation time of the app. + :param str creator: The email of the user that created the app. + :param str update_time: The update time of the app. + """ + pulumi.set(__self__, "create_time", create_time) + pulumi.set(__self__, "creator", creator) + pulumi.set(__self__, "deployment_artifacts", deployment_artifacts) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "update_time", update_time) + if deployment_id is not None: + pulumi.set(__self__, "deployment_id", deployment_id) + if mode is not None: + pulumi.set(__self__, "mode", mode) + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) + + @property + @pulumi.getter(name="createTime") + def create_time(self) -> str: + """ + The creation time of the app. + """ + return pulumi.get(self, "create_time") @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def creator(self) -> str: + """ + The email of the user that created the app. + """ + return pulumi.get(self, "creator") @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="deploymentArtifacts") + def deployment_artifacts(self) -> 'outputs.GetAppsAppPendingDeploymentDeploymentArtifactsResult': + return pulumi.get(self, "deployment_artifacts") @property - @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional['outputs.GetClusterClusterInfoAzureAttributesLogAnalyticsInfoResult']: - return pulumi.get(self, "log_analytics_info") + @pulumi.getter + def status(self) -> 'outputs.GetAppsAppPendingDeploymentStatusResult': + return pulumi.get(self, "status") @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter(name="updateTime") + def update_time(self) -> str: + """ + The update time of the app. + """ + return pulumi.get(self, "update_time") + @property + @pulumi.getter(name="deploymentId") + def deployment_id(self) -> Optional[str]: + return pulumi.get(self, "deployment_id") -@pulumi.output_type -class GetClusterClusterInfoAzureAttributesLogAnalyticsInfoResult(dict): - def __init__(__self__, *, - log_analytics_primary_key: Optional[str] = None, - log_analytics_workspace_id: Optional[str] = None): - if log_analytics_primary_key is not None: - pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) - if log_analytics_workspace_id is not None: - pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + @property + @pulumi.getter + def mode(self) -> Optional[str]: + return pulumi.get(self, "mode") @property - @pulumi.getter(name="logAnalyticsPrimaryKey") - def log_analytics_primary_key(self) -> Optional[str]: - return pulumi.get(self, "log_analytics_primary_key") + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") + + +@pulumi.output_type +class GetAppsAppPendingDeploymentDeploymentArtifactsResult(dict): + def __init__(__self__, *, + source_code_path: Optional[str] = None): + if source_code_path is not None: + pulumi.set(__self__, "source_code_path", source_code_path) @property - @pulumi.getter(name="logAnalyticsWorkspaceId") - def log_analytics_workspace_id(self) -> Optional[str]: - return pulumi.get(self, "log_analytics_workspace_id") + @pulumi.getter(name="sourceCodePath") + def source_code_path(self) -> Optional[str]: + return pulumi.get(self, "source_code_path") @pulumi.output_type -class GetClusterClusterInfoClusterLogConfResult(dict): +class GetAppsAppPendingDeploymentStatusResult(dict): def __init__(__self__, *, - dbfs: Optional['outputs.GetClusterClusterInfoClusterLogConfDbfsResult'] = None, - s3: Optional['outputs.GetClusterClusterInfoClusterLogConfS3Result'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + message: str, + state: str): + """ + :param str message: Application status message + :param str state: State of the application. + """ + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "state", state) @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetClusterClusterInfoClusterLogConfDbfsResult']: - return pulumi.get(self, "dbfs") + def message(self) -> str: + """ + Application status message + """ + return pulumi.get(self, "message") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetClusterClusterInfoClusterLogConfS3Result']: - return pulumi.get(self, "s3") + def state(self) -> str: + """ + State of the application. + """ + return pulumi.get(self, "state") @pulumi.output_type -class GetClusterClusterInfoClusterLogConfDbfsResult(dict): +class GetAppsAppResourceResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + name: str, + description: Optional[str] = None, + job: Optional['outputs.GetAppsAppResourceJobResult'] = None, + secret: Optional['outputs.GetAppsAppResourceSecretResult'] = None, + serving_endpoint: Optional['outputs.GetAppsAppResourceServingEndpointResult'] = None, + sql_warehouse: Optional['outputs.GetAppsAppResourceSqlWarehouseResult'] = None): + """ + :param str name: Name of the serving endpoint to grant permission on. + :param str description: The description of the resource. + :param 'GetAppsAppResourceJobArgs' job: attribute + :param 'GetAppsAppResourceSecretArgs' secret: attribute + :param 'GetAppsAppResourceServingEndpointArgs' serving_endpoint: attribute + :param 'GetAppsAppResourceSqlWarehouseArgs' sql_warehouse: attribute + """ + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if job is not None: + pulumi.set(__self__, "job", job) + if secret is not None: + pulumi.set(__self__, "secret", secret) + if serving_endpoint is not None: + pulumi.set(__self__, "serving_endpoint", serving_endpoint) + if sql_warehouse is not None: + pulumi.set(__self__, "sql_warehouse", sql_warehouse) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetClusterClusterInfoClusterLogConfS3Result(dict): - def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + def name(self) -> str: + """ + Name of the serving endpoint to grant permission on. + """ + return pulumi.get(self, "name") @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def description(self) -> Optional[str]: + """ + The description of the resource. + """ + return pulumi.get(self, "description") @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter + def job(self) -> Optional['outputs.GetAppsAppResourceJobResult']: + """ + attribute + """ + return pulumi.get(self, "job") @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def secret(self) -> Optional['outputs.GetAppsAppResourceSecretResult']: + """ + attribute + """ + return pulumi.get(self, "secret") @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="servingEndpoint") + def serving_endpoint(self) -> Optional['outputs.GetAppsAppResourceServingEndpointResult']: + """ + attribute + """ + return pulumi.get(self, "serving_endpoint") @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="sqlWarehouse") + def sql_warehouse(self) -> Optional['outputs.GetAppsAppResourceSqlWarehouseResult']: + """ + attribute + """ + return pulumi.get(self, "sql_warehouse") + + +@pulumi.output_type +class GetAppsAppResourceJobResult(dict): + def __init__(__self__, *, + id: str, + permission: str): + """ + :param str id: Id of the job to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def id(self) -> str: + """ + Id of the job to grant permission on. + """ + return pulumi.get(self, "id") @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") @pulumi.output_type -class GetClusterClusterInfoClusterLogStatusResult(dict): +class GetAppsAppResourceSecretResult(dict): def __init__(__self__, *, - last_attempted: Optional[int] = None, - last_exception: Optional[str] = None): - if last_attempted is not None: - pulumi.set(__self__, "last_attempted", last_attempted) - if last_exception is not None: - pulumi.set(__self__, "last_exception", last_exception) + key: str, + permission: str, + scope: str): + """ + :param str key: Key of the secret to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + :param str scope: Scope of the secret to grant permission on. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "permission", permission) + pulumi.set(__self__, "scope", scope) @property - @pulumi.getter(name="lastAttempted") - def last_attempted(self) -> Optional[int]: - return pulumi.get(self, "last_attempted") + @pulumi.getter + def key(self) -> str: + """ + Key of the secret to grant permission on. + """ + return pulumi.get(self, "key") @property - @pulumi.getter(name="lastException") - def last_exception(self) -> Optional[str]: - return pulumi.get(self, "last_exception") + @pulumi.getter + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") + + @property + @pulumi.getter + def scope(self) -> str: + """ + Scope of the secret to grant permission on. + """ + return pulumi.get(self, "scope") @pulumi.output_type -class GetClusterClusterInfoDockerImageResult(dict): +class GetAppsAppResourceServingEndpointResult(dict): def __init__(__self__, *, - basic_auth: Optional['outputs.GetClusterClusterInfoDockerImageBasicAuthResult'] = None, - url: Optional[str] = None): - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) - if url is not None: - pulumi.set(__self__, "url", url) + name: str, + permission: str): + """ + :param str name: Name of the serving endpoint to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "permission", permission) @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetClusterClusterInfoDockerImageBasicAuthResult']: - return pulumi.get(self, "basic_auth") + @pulumi.getter + def name(self) -> str: + """ + Name of the serving endpoint to grant permission on. + """ + return pulumi.get(self, "name") @property @pulumi.getter - def url(self) -> Optional[str]: - return pulumi.get(self, "url") + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") @pulumi.output_type -class GetClusterClusterInfoDockerImageBasicAuthResult(dict): +class GetAppsAppResourceSqlWarehouseResult(dict): def __init__(__self__, *, - password: Optional[str] = None, - username: Optional[str] = None): - if password is not None: - pulumi.set(__self__, "password", password) - if username is not None: - pulumi.set(__self__, "username", username) + id: str, + permission: str): + """ + :param str id: Id of the job to grant permission on. + :param str permission: Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "permission", permission) @property @pulumi.getter - def password(self) -> Optional[str]: - return pulumi.get(self, "password") + def id(self) -> str: + """ + Id of the job to grant permission on. + """ + return pulumi.get(self, "id") @property @pulumi.getter - def username(self) -> Optional[str]: - return pulumi.get(self, "username") + def permission(self) -> str: + """ + Permissions to grant on the Job. Supported permissions are: `CAN_MANAGE`, `IS_OWNER`, `CAN_MANAGE_RUN`, `CAN_VIEW`. + """ + return pulumi.get(self, "permission") @pulumi.output_type -class GetClusterClusterInfoDriverResult(dict): +class GetCatalogCatalogInfoResult(dict): def __init__(__self__, *, - host_private_ip: Optional[str] = None, - instance_id: Optional[str] = None, - node_aws_attributes: Optional['outputs.GetClusterClusterInfoDriverNodeAwsAttributesResult'] = None, - node_id: Optional[str] = None, - private_ip: Optional[str] = None, - public_dns: Optional[str] = None, - start_timestamp: Optional[int] = None): - if host_private_ip is not None: - pulumi.set(__self__, "host_private_ip", host_private_ip) - if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) - if node_aws_attributes is not None: - pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) - if node_id is not None: - pulumi.set(__self__, "node_id", node_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_dns is not None: - pulumi.set(__self__, "public_dns", public_dns) - if start_timestamp is not None: - pulumi.set(__self__, "start_timestamp", start_timestamp) + browse_only: Optional[bool] = None, + catalog_type: Optional[str] = None, + comment: Optional[str] = None, + connection_name: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + effective_predictive_optimization_flag: Optional['outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult'] = None, + enable_predictive_optimization: Optional[str] = None, + full_name: Optional[str] = None, + isolation_mode: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + options: Optional[Mapping[str, str]] = None, + owner: Optional[str] = None, + properties: Optional[Mapping[str, str]] = None, + provider_name: Optional[str] = None, + provisioning_info: Optional['outputs.GetCatalogCatalogInfoProvisioningInfoResult'] = None, + securable_kind: Optional[str] = None, + securable_type: Optional[str] = None, + share_name: Optional[str] = None, + storage_location: Optional[str] = None, + storage_root: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param str catalog_type: Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + :param str comment: Free-form text description + :param str connection_name: The name of the connection to an external data source. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param 'GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: object describing applied predictive optimization flag. + :param str enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. + :param str full_name: The full name of the catalog. Corresponds with the name field. + :param str isolation_mode: Whether the current securable is accessible from all workspaces or a specific set of workspaces. + :param str metastore_id: Unique identifier of parent metastore. + :param str name: name of the catalog + :param Mapping[str, str] options: A map of key-value properties attached to the securable. + :param str owner: Current owner of the catalog + :param Mapping[str, str] properties: A map of key-value properties attached to the securable. + :param str provider_name: The name of delta sharing provider. + :param str securable_kind: Kind of catalog securable. + :param str securable_type: Securable type. + :param str share_name: The name of the share under the share provider. + :param str storage_location: Storage Location URL (full path) for managed tables within catalog. + :param str storage_root: Storage root URL for managed tables within catalog. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_type is not None: + pulumi.set(__self__, "catalog_type", catalog_type) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if connection_name is not None: + pulumi.set(__self__, "connection_name", connection_name) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if options is not None: + pulumi.set(__self__, "options", options) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if provider_name is not None: + pulumi.set(__self__, "provider_name", provider_name) + if provisioning_info is not None: + pulumi.set(__self__, "provisioning_info", provisioning_info) + if securable_kind is not None: + pulumi.set(__self__, "securable_kind", securable_kind) + if securable_type is not None: + pulumi.set(__self__, "securable_type", securable_type) + if share_name is not None: + pulumi.set(__self__, "share_name", share_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="hostPrivateIp") - def host_private_ip(self) -> Optional[str]: - return pulumi.get(self, "host_private_ip") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") @property - @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[str]: - return pulumi.get(self, "instance_id") + @pulumi.getter(name="catalogType") + def catalog_type(self) -> Optional[str]: + """ + Type of the catalog, e.g. `MANAGED_CATALOG`, `DELTASHARING_CATALOG`, `SYSTEM_CATALOG`, + """ + return pulumi.get(self, "catalog_type") @property - @pulumi.getter(name="nodeAwsAttributes") - def node_aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoDriverNodeAwsAttributesResult']: - return pulumi.get(self, "node_aws_attributes") + @pulumi.getter + def comment(self) -> Optional[str]: + """ + Free-form text description + """ + return pulumi.get(self, "comment") @property - @pulumi.getter(name="nodeId") - def node_id(self) -> Optional[str]: - return pulumi.get(self, "node_id") + @pulumi.getter(name="connectionName") + def connection_name(self) -> Optional[str]: + """ + The name of the connection to an external data source. + """ + return pulumi.get(self, "connection_name") @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - return pulumi.get(self, "private_ip") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") @property - @pulumi.getter(name="publicDns") - def public_dns(self) -> Optional[str]: - return pulumi.get(self, "public_dns") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ + return pulumi.get(self, "created_by") @property - @pulumi.getter(name="startTimestamp") - def start_timestamp(self) -> Optional[int]: - return pulumi.get(self, "start_timestamp") + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['outputs.GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult']: + """ + object describing applied predictive optimization flag. + """ + return pulumi.get(self, "effective_predictive_optimization_flag") + @property + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: + """ + Whether predictive optimization should be enabled for this object and objects under it. + """ + return pulumi.get(self, "enable_predictive_optimization") -@pulumi.output_type -class GetClusterClusterInfoDriverNodeAwsAttributesResult(dict): - def __init__(__self__, *, - is_spot: Optional[bool] = None): - if is_spot is not None: - pulumi.set(__self__, "is_spot", is_spot) + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The full name of the catalog. Corresponds with the name field. + """ + return pulumi.get(self, "full_name") @property - @pulumi.getter(name="isSpot") - def is_spot(self) -> Optional[bool]: - return pulumi.get(self, "is_spot") + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[str]: + """ + Whether the current securable is accessible from all workspaces or a specific set of workspaces. + """ + return pulumi.get(self, "isolation_mode") + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of parent metastore. + """ + return pulumi.get(self, "metastore_id") -@pulumi.output_type -class GetClusterClusterInfoExecutorResult(dict): - def __init__(__self__, *, - host_private_ip: Optional[str] = None, - instance_id: Optional[str] = None, - node_aws_attributes: Optional['outputs.GetClusterClusterInfoExecutorNodeAwsAttributesResult'] = None, - node_id: Optional[str] = None, - private_ip: Optional[str] = None, - public_dns: Optional[str] = None, - start_timestamp: Optional[int] = None): - if host_private_ip is not None: - pulumi.set(__self__, "host_private_ip", host_private_ip) - if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) - if node_aws_attributes is not None: - pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) - if node_id is not None: - pulumi.set(__self__, "node_id", node_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_dns is not None: - pulumi.set(__self__, "public_dns", public_dns) - if start_timestamp is not None: - pulumi.set(__self__, "start_timestamp", start_timestamp) + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + name of the catalog + """ + return pulumi.get(self, "name") @property - @pulumi.getter(name="hostPrivateIp") - def host_private_ip(self) -> Optional[str]: - return pulumi.get(self, "host_private_ip") + @pulumi.getter + def options(self) -> Optional[Mapping[str, str]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "options") @property - @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[str]: - return pulumi.get(self, "instance_id") + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Current owner of the catalog + """ + return pulumi.get(self, "owner") @property - @pulumi.getter(name="nodeAwsAttributes") - def node_aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoExecutorNodeAwsAttributesResult']: - return pulumi.get(self, "node_aws_attributes") + @pulumi.getter + def properties(self) -> Optional[Mapping[str, str]]: + """ + A map of key-value properties attached to the securable. + """ + return pulumi.get(self, "properties") @property - @pulumi.getter(name="nodeId") - def node_id(self) -> Optional[str]: - return pulumi.get(self, "node_id") + @pulumi.getter(name="providerName") + def provider_name(self) -> Optional[str]: + """ + The name of delta sharing provider. + """ + return pulumi.get(self, "provider_name") @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - return pulumi.get(self, "private_ip") + @pulumi.getter(name="provisioningInfo") + def provisioning_info(self) -> Optional['outputs.GetCatalogCatalogInfoProvisioningInfoResult']: + return pulumi.get(self, "provisioning_info") @property - @pulumi.getter(name="publicDns") - def public_dns(self) -> Optional[str]: - return pulumi.get(self, "public_dns") + @pulumi.getter(name="securableKind") + def securable_kind(self) -> Optional[str]: + """ + Kind of catalog securable. + """ + return pulumi.get(self, "securable_kind") @property - @pulumi.getter(name="startTimestamp") - def start_timestamp(self) -> Optional[int]: - return pulumi.get(self, "start_timestamp") + @pulumi.getter(name="securableType") + def securable_type(self) -> Optional[str]: + """ + Securable type. + """ + return pulumi.get(self, "securable_type") + @property + @pulumi.getter(name="shareName") + def share_name(self) -> Optional[str]: + """ + The name of the share under the share provider. + """ + return pulumi.get(self, "share_name") -@pulumi.output_type -class GetClusterClusterInfoExecutorNodeAwsAttributesResult(dict): - def __init__(__self__, *, - is_spot: Optional[bool] = None): - if is_spot is not None: - pulumi.set(__self__, "is_spot", is_spot) + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + Storage Location URL (full path) for managed tables within catalog. + """ + return pulumi.get(self, "storage_location") @property - @pulumi.getter(name="isSpot") - def is_spot(self) -> Optional[bool]: - return pulumi.get(self, "is_spot") + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Storage root URL for managed tables within catalog. + """ + return pulumi.get(self, "storage_root") - -@pulumi.output_type -class GetClusterClusterInfoGcpAttributesResult(dict): - def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) - - @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") - - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") - - @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") - - @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") - - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - -@pulumi.output_type -class GetClusterClusterInfoInitScriptResult(dict): - def __init__(__self__, *, - abfss: Optional['outputs.GetClusterClusterInfoInitScriptAbfssResult'] = None, - dbfs: Optional['outputs.GetClusterClusterInfoInitScriptDbfsResult'] = None, - file: Optional['outputs.GetClusterClusterInfoInitScriptFileResult'] = None, - gcs: Optional['outputs.GetClusterClusterInfoInitScriptGcsResult'] = None, - s3: Optional['outputs.GetClusterClusterInfoInitScriptS3Result'] = None, - volumes: Optional['outputs.GetClusterClusterInfoInitScriptVolumesResult'] = None, - workspace: Optional['outputs.GetClusterClusterInfoInitScriptWorkspaceResult'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) - - @property - @pulumi.getter - def abfss(self) -> Optional['outputs.GetClusterClusterInfoInitScriptAbfssResult']: - return pulumi.get(self, "abfss") - - @property - @pulumi.getter - def dbfs(self) -> Optional['outputs.GetClusterClusterInfoInitScriptDbfsResult']: - return pulumi.get(self, "dbfs") - - @property - @pulumi.getter - def file(self) -> Optional['outputs.GetClusterClusterInfoInitScriptFileResult']: - return pulumi.get(self, "file") - - @property - @pulumi.getter - def gcs(self) -> Optional['outputs.GetClusterClusterInfoInitScriptGcsResult']: - return pulumi.get(self, "gcs") - - @property - @pulumi.getter - def s3(self) -> Optional['outputs.GetClusterClusterInfoInitScriptS3Result']: - return pulumi.get(self, "s3") - - @property - @pulumi.getter - def volumes(self) -> Optional['outputs.GetClusterClusterInfoInitScriptVolumesResult']: - return pulumi.get(self, "volumes") - - @property - @pulumi.getter - def workspace(self) -> Optional['outputs.GetClusterClusterInfoInitScriptWorkspaceResult']: - return pulumi.get(self, "workspace") - - -@pulumi.output_type -class GetClusterClusterInfoInitScriptAbfssResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetClusterClusterInfoInitScriptDbfsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetClusterClusterInfoInitScriptFileResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetClusterClusterInfoInitScriptGcsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ + return pulumi.get(self, "updated_by") @pulumi.output_type -class GetClusterClusterInfoInitScriptS3Result(dict): +class GetCatalogCatalogInfoEffectivePredictiveOptimizationFlagResult(dict): def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") - - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") - - @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) @property @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") - - @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + def value(self) -> str: + return pulumi.get(self, "value") @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - -@pulumi.output_type -class GetClusterClusterInfoInitScriptVolumesResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") @pulumi.output_type -class GetClusterClusterInfoInitScriptWorkspaceResult(dict): +class GetCatalogCatalogInfoProvisioningInfoResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + state: Optional[str] = None): + if state is not None: + pulumi.set(__self__, "state", state) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def state(self) -> Optional[str]: + return pulumi.get(self, "state") @pulumi.output_type -class GetClusterClusterInfoSpecResult(dict): +class GetClusterClusterInfoResult(dict): def __init__(__self__, *, - cluster_id: str, - driver_instance_pool_id: str, - driver_node_type_id: str, - enable_elastic_disk: bool, - enable_local_disk_encryption: bool, - node_type_id: str, - spark_version: str, - apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['outputs.GetClusterClusterInfoSpecAutoscaleResult'] = None, - aws_attributes: Optional['outputs.GetClusterClusterInfoSpecAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetClusterClusterInfoSpecAzureAttributesResult'] = None, - cluster_log_conf: Optional['outputs.GetClusterClusterInfoSpecClusterLogConfResult'] = None, - cluster_mount_infos: Optional[Sequence['outputs.GetClusterClusterInfoSpecClusterMountInfoResult']] = None, + autoscale: Optional['outputs.GetClusterClusterInfoAutoscaleResult'] = None, + autotermination_minutes: Optional[int] = None, + aws_attributes: Optional['outputs.GetClusterClusterInfoAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetClusterClusterInfoAzureAttributesResult'] = None, + cluster_cores: Optional[float] = None, + cluster_id: Optional[str] = None, + cluster_log_conf: Optional['outputs.GetClusterClusterInfoClusterLogConfResult'] = None, + cluster_log_status: Optional['outputs.GetClusterClusterInfoClusterLogStatusResult'] = None, + cluster_memory_mb: Optional[int] = None, cluster_name: Optional[str] = None, + cluster_source: Optional[str] = None, + creator_user_name: Optional[str] = None, custom_tags: Optional[Mapping[str, str]] = None, data_security_mode: Optional[str] = None, - docker_image: Optional['outputs.GetClusterClusterInfoSpecDockerImageResult'] = None, - gcp_attributes: Optional['outputs.GetClusterClusterInfoSpecGcpAttributesResult'] = None, - idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['outputs.GetClusterClusterInfoSpecInitScriptResult']] = None, + default_tags: Optional[Mapping[str, str]] = None, + docker_image: Optional['outputs.GetClusterClusterInfoDockerImageResult'] = None, + driver: Optional['outputs.GetClusterClusterInfoDriverResult'] = None, + driver_instance_pool_id: Optional[str] = None, + driver_node_type_id: Optional[str] = None, + enable_elastic_disk: Optional[bool] = None, + enable_local_disk_encryption: Optional[bool] = None, + executors: Optional[Sequence['outputs.GetClusterClusterInfoExecutorResult']] = None, + gcp_attributes: Optional['outputs.GetClusterClusterInfoGcpAttributesResult'] = None, + init_scripts: Optional[Sequence['outputs.GetClusterClusterInfoInitScriptResult']] = None, instance_pool_id: Optional[str] = None, - libraries: Optional[Sequence['outputs.GetClusterClusterInfoSpecLibraryResult']] = None, + is_single_node: Optional[bool] = None, + jdbc_port: Optional[int] = None, + kind: Optional[str] = None, + last_restarted_time: Optional[int] = None, + last_state_loss_time: Optional[int] = None, + node_type_id: Optional[str] = None, num_workers: Optional[int] = None, policy_id: Optional[str] = None, runtime_engine: Optional[str] = None, single_user_name: Optional[str] = None, spark_conf: Optional[Mapping[str, str]] = None, + spark_context_id: Optional[int] = None, spark_env_vars: Optional[Mapping[str, str]] = None, + spark_version: Optional[str] = None, + spec: Optional['outputs.GetClusterClusterInfoSpecResult'] = None, ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['outputs.GetClusterClusterInfoSpecWorkloadTypeResult'] = None): + start_time: Optional[int] = None, + state: Optional[str] = None, + state_message: Optional[str] = None, + terminated_time: Optional[int] = None, + termination_reason: Optional['outputs.GetClusterClusterInfoTerminationReasonResult'] = None, + use_ml_runtime: Optional[bool] = None, + workload_type: Optional['outputs.GetClusterClusterInfoWorkloadTypeResult'] = None): """ + :param int autotermination_minutes: Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. :param str cluster_id: The id of the cluster + :param str cluster_name: The exact name of the cluster to search + :param Mapping[str, str] custom_tags: Additional tags for cluster resources. + :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. :param str driver_instance_pool_id: similar to `instance_pool_id`, but for driver node. :param str driver_node_type_id: The node type of the Spark driver. :param bool enable_elastic_disk: Use autoscaling local storage. :param bool enable_local_disk_encryption: Enable local disk encryption. - :param str node_type_id: Any supported get_node_type id. - :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. - :param str cluster_name: The exact name of the cluster to search - :param Mapping[str, str] custom_tags: Additional tags for cluster resources. - :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. - :param str idempotency_token: An optional token to guarantee the idempotency of cluster creation requests. :param str instance_pool_id: The pool of idle instances the cluster is attached to. + :param str node_type_id: Any supported get_node_type id. :param str policy_id: Identifier of Cluster Policy to validate cluster and preset certain defaults. :param str runtime_engine: The type of runtime of the cluster :param str single_user_name: The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). :param Mapping[str, str] spark_conf: Map with key-value pairs to fine-tune Spark clusters. :param Mapping[str, str] spark_env_vars: Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. :param Sequence[str] ssh_public_keys: SSH public key contents that will be added to each Spark node in this cluster. """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - pulumi.set(__self__, "node_type_id", node_type_id) - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) if autoscale is not None: pulumi.set(__self__, "autoscale", autoscale) + if autotermination_minutes is not None: + pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) if aws_attributes is not None: pulumi.set(__self__, "aws_attributes", aws_attributes) if azure_attributes is not None: pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_cores is not None: + pulumi.set(__self__, "cluster_cores", cluster_cores) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) if cluster_log_conf is not None: pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_log_status is not None: + pulumi.set(__self__, "cluster_log_status", cluster_log_status) + if cluster_memory_mb is not None: + pulumi.set(__self__, "cluster_memory_mb", cluster_memory_mb) if cluster_name is not None: pulumi.set(__self__, "cluster_name", cluster_name) + if cluster_source is not None: + pulumi.set(__self__, "cluster_source", cluster_source) + if creator_user_name is not None: + pulumi.set(__self__, "creator_user_name", creator_user_name) if custom_tags is not None: pulumi.set(__self__, "custom_tags", custom_tags) if data_security_mode is not None: pulumi.set(__self__, "data_security_mode", data_security_mode) + if default_tags is not None: + pulumi.set(__self__, "default_tags", default_tags) if docker_image is not None: pulumi.set(__self__, "docker_image", docker_image) + if driver is not None: + pulumi.set(__self__, "driver", driver) + if driver_instance_pool_id is not None: + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + if driver_node_type_id is not None: + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if enable_local_disk_encryption is not None: + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + if executors is not None: + pulumi.set(__self__, "executors", executors) if gcp_attributes is not None: pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) if init_scripts is not None: pulumi.set(__self__, "init_scripts", init_scripts) if instance_pool_id is not None: pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if jdbc_port is not None: + pulumi.set(__self__, "jdbc_port", jdbc_port) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if last_restarted_time is not None: + pulumi.set(__self__, "last_restarted_time", last_restarted_time) + if last_state_loss_time is not None: + pulumi.set(__self__, "last_state_loss_time", last_state_loss_time) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) if num_workers is not None: pulumi.set(__self__, "num_workers", num_workers) if policy_id is not None: @@ -27592,98 +29040,81 @@ def __init__(__self__, *, pulumi.set(__self__, "single_user_name", single_user_name) if spark_conf is not None: pulumi.set(__self__, "spark_conf", spark_conf) + if spark_context_id is not None: + pulumi.set(__self__, "spark_context_id", spark_context_id) if spark_env_vars is not None: pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if spark_version is not None: + pulumi.set(__self__, "spark_version", spark_version) + if spec is not None: + pulumi.set(__self__, "spec", spec) if ssh_public_keys is not None: pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if start_time is not None: + pulumi.set(__self__, "start_time", start_time) + if state is not None: + pulumi.set(__self__, "state", state) + if state_message is not None: + pulumi.set(__self__, "state_message", state_message) + if terminated_time is not None: + pulumi.set(__self__, "terminated_time", terminated_time) + if termination_reason is not None: + pulumi.set(__self__, "termination_reason", termination_reason) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) if workload_type is not None: pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: - """ - The id of the cluster - """ - return pulumi.get(self, "cluster_id") - - @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> str: - """ - similar to `instance_pool_id`, but for driver node. - """ - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter + def autoscale(self) -> Optional['outputs.GetClusterClusterInfoAutoscaleResult']: + return pulumi.get(self, "autoscale") @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> str: + @pulumi.getter(name="autoterminationMinutes") + def autotermination_minutes(self) -> Optional[int]: """ - The node type of the Spark driver. + Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. """ - return pulumi.get(self, "driver_node_type_id") + return pulumi.get(self, "autotermination_minutes") @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> bool: - """ - Use autoscaling local storage. - """ - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoAwsAttributesResult']: + return pulumi.get(self, "aws_attributes") @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> bool: - """ - Enable local disk encryption. - """ - return pulumi.get(self, "enable_local_disk_encryption") + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['outputs.GetClusterClusterInfoAzureAttributesResult']: + return pulumi.get(self, "azure_attributes") @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> str: - """ - Any supported get_node_type id. - """ - return pulumi.get(self, "node_type_id") + @pulumi.getter(name="clusterCores") + def cluster_cores(self) -> Optional[float]: + return pulumi.get(self, "cluster_cores") @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> str: + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: """ - [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + The id of the cluster """ - return pulumi.get(self, "spark_version") - - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[bool]: - return pulumi.get(self, "apply_policy_default_values") - - @property - @pulumi.getter - def autoscale(self) -> Optional['outputs.GetClusterClusterInfoSpecAutoscaleResult']: - return pulumi.get(self, "autoscale") - - @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoSpecAwsAttributesResult']: - return pulumi.get(self, "aws_attributes") - - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetClusterClusterInfoSpecAzureAttributesResult']: - return pulumi.get(self, "azure_attributes") + return pulumi.get(self, "cluster_id") @property @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['outputs.GetClusterClusterInfoSpecClusterLogConfResult']: + def cluster_log_conf(self) -> Optional['outputs.GetClusterClusterInfoClusterLogConfResult']: return pulumi.get(self, "cluster_log_conf") @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetClusterClusterInfoSpecClusterMountInfoResult']]: - return pulumi.get(self, "cluster_mount_infos") + @pulumi.getter(name="clusterLogStatus") + def cluster_log_status(self) -> Optional['outputs.GetClusterClusterInfoClusterLogStatusResult']: + return pulumi.get(self, "cluster_log_status") + + @property + @pulumi.getter(name="clusterMemoryMb") + def cluster_memory_mb(self) -> Optional[int]: + return pulumi.get(self, "cluster_memory_mb") @property @pulumi.getter(name="clusterName") @@ -27693,6 +29124,16 @@ def cluster_name(self) -> Optional[str]: """ return pulumi.get(self, "cluster_name") + @property + @pulumi.getter(name="clusterSource") + def cluster_source(self) -> Optional[str]: + return pulumi.get(self, "cluster_source") + + @property + @pulumi.getter(name="creatorUserName") + def creator_user_name(self) -> Optional[str]: + return pulumi.get(self, "creator_user_name") + @property @pulumi.getter(name="customTags") def custom_tags(self) -> Optional[Mapping[str, str]]: @@ -27709,27 +29150,66 @@ def data_security_mode(self) -> Optional[str]: """ return pulumi.get(self, "data_security_mode") + @property + @pulumi.getter(name="defaultTags") + def default_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "default_tags") + @property @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['outputs.GetClusterClusterInfoSpecDockerImageResult']: + def docker_image(self) -> Optional['outputs.GetClusterClusterInfoDockerImageResult']: return pulumi.get(self, "docker_image") @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetClusterClusterInfoSpecGcpAttributesResult']: - return pulumi.get(self, "gcp_attributes") + @pulumi.getter + def driver(self) -> Optional['outputs.GetClusterClusterInfoDriverResult']: + return pulumi.get(self, "driver") @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> Optional[str]: """ - An optional token to guarantee the idempotency of cluster creation requests. + similar to `instance_pool_id`, but for driver node. """ - return pulumi.get(self, "idempotency_token") + return pulumi.get(self, "driver_instance_pool_id") + + @property + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> Optional[str]: + """ + The node type of the Spark driver. + """ + return pulumi.get(self, "driver_node_type_id") + + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[bool]: + """ + Use autoscaling local storage. + """ + return pulumi.get(self, "enable_elastic_disk") + + @property + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> Optional[bool]: + """ + Enable local disk encryption. + """ + return pulumi.get(self, "enable_local_disk_encryption") + + @property + @pulumi.getter + def executors(self) -> Optional[Sequence['outputs.GetClusterClusterInfoExecutorResult']]: + return pulumi.get(self, "executors") + + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['outputs.GetClusterClusterInfoGcpAttributesResult']: + return pulumi.get(self, "gcp_attributes") @property @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['outputs.GetClusterClusterInfoSpecInitScriptResult']]: + def init_scripts(self) -> Optional[Sequence['outputs.GetClusterClusterInfoInitScriptResult']]: return pulumi.get(self, "init_scripts") @property @@ -27740,10 +29220,38 @@ def instance_pool_id(self) -> Optional[str]: """ return pulumi.get(self, "instance_pool_id") + @property + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") + + @property + @pulumi.getter(name="jdbcPort") + def jdbc_port(self) -> Optional[int]: + return pulumi.get(self, "jdbc_port") + @property @pulumi.getter - def libraries(self) -> Optional[Sequence['outputs.GetClusterClusterInfoSpecLibraryResult']]: - return pulumi.get(self, "libraries") + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="lastRestartedTime") + def last_restarted_time(self) -> Optional[int]: + return pulumi.get(self, "last_restarted_time") + + @property + @pulumi.getter(name="lastStateLossTime") + def last_state_loss_time(self) -> Optional[int]: + return pulumi.get(self, "last_state_loss_time") + + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[str]: + """ + Any supported get_node_type id. + """ + return pulumi.get(self, "node_type_id") @property @pulumi.getter(name="numWorkers") @@ -27782,6 +29290,11 @@ def spark_conf(self) -> Optional[Mapping[str, str]]: """ return pulumi.get(self, "spark_conf") + @property + @pulumi.getter(name="sparkContextId") + def spark_context_id(self) -> Optional[int]: + return pulumi.get(self, "spark_context_id") + @property @pulumi.getter(name="sparkEnvVars") def spark_env_vars(self) -> Optional[Mapping[str, str]]: @@ -27790,6 +29303,19 @@ def spark_env_vars(self) -> Optional[Mapping[str, str]]: """ return pulumi.get(self, "spark_env_vars") + @property + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> Optional[str]: + """ + [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + """ + return pulumi.get(self, "spark_version") + + @property + @pulumi.getter + def spec(self) -> Optional['outputs.GetClusterClusterInfoSpecResult']: + return pulumi.get(self, "spec") + @property @pulumi.getter(name="sshPublicKeys") def ssh_public_keys(self) -> Optional[Sequence[str]]: @@ -27798,14 +29324,44 @@ def ssh_public_keys(self) -> Optional[Sequence[str]]: """ return pulumi.get(self, "ssh_public_keys") + @property + @pulumi.getter(name="startTime") + def start_time(self) -> Optional[int]: + return pulumi.get(self, "start_time") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="stateMessage") + def state_message(self) -> Optional[str]: + return pulumi.get(self, "state_message") + + @property + @pulumi.getter(name="terminatedTime") + def terminated_time(self) -> Optional[int]: + return pulumi.get(self, "terminated_time") + + @property + @pulumi.getter(name="terminationReason") + def termination_reason(self) -> Optional['outputs.GetClusterClusterInfoTerminationReasonResult']: + return pulumi.get(self, "termination_reason") + + @property + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") + @property @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['outputs.GetClusterClusterInfoSpecWorkloadTypeResult']: + def workload_type(self) -> Optional['outputs.GetClusterClusterInfoWorkloadTypeResult']: return pulumi.get(self, "workload_type") @pulumi.output_type -class GetClusterClusterInfoSpecAutoscaleResult(dict): +class GetClusterClusterInfoAutoscaleResult(dict): def __init__(__self__, *, max_workers: Optional[int] = None, min_workers: Optional[int] = None): @@ -27826,7 +29382,7 @@ def min_workers(self) -> Optional[int]: @pulumi.output_type -class GetClusterClusterInfoSpecAwsAttributesResult(dict): +class GetClusterClusterInfoAwsAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, ebs_volume_count: Optional[int] = None, @@ -27911,11 +29467,11 @@ def zone_id(self) -> Optional[str]: @pulumi.output_type -class GetClusterClusterInfoSpecAzureAttributesResult(dict): +class GetClusterClusterInfoAzureAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, first_on_demand: Optional[int] = None, - log_analytics_info: Optional['outputs.GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoResult'] = None, + log_analytics_info: Optional['outputs.GetClusterClusterInfoAzureAttributesLogAnalyticsInfoResult'] = None, spot_bid_max_price: Optional[float] = None): if availability is not None: pulumi.set(__self__, "availability", availability) @@ -27938,7 +29494,7 @@ def first_on_demand(self) -> Optional[int]: @property @pulumi.getter(name="logAnalyticsInfo") - def log_analytics_info(self) -> Optional['outputs.GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoResult']: + def log_analytics_info(self) -> Optional['outputs.GetClusterClusterInfoAzureAttributesLogAnalyticsInfoResult']: return pulumi.get(self, "log_analytics_info") @property @@ -27948,7 +29504,7 @@ def spot_bid_max_price(self) -> Optional[float]: @pulumi.output_type -class GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoResult(dict): +class GetClusterClusterInfoAzureAttributesLogAnalyticsInfoResult(dict): def __init__(__self__, *, log_analytics_primary_key: Optional[str] = None, log_analytics_workspace_id: Optional[str] = None): @@ -27969,10 +29525,10 @@ def log_analytics_workspace_id(self) -> Optional[str]: @pulumi.output_type -class GetClusterClusterInfoSpecClusterLogConfResult(dict): +class GetClusterClusterInfoClusterLogConfResult(dict): def __init__(__self__, *, - dbfs: Optional['outputs.GetClusterClusterInfoSpecClusterLogConfDbfsResult'] = None, - s3: Optional['outputs.GetClusterClusterInfoSpecClusterLogConfS3Result'] = None): + dbfs: Optional['outputs.GetClusterClusterInfoClusterLogConfDbfsResult'] = None, + s3: Optional['outputs.GetClusterClusterInfoClusterLogConfS3Result'] = None): if dbfs is not None: pulumi.set(__self__, "dbfs", dbfs) if s3 is not None: @@ -27980,17 +29536,17 @@ def __init__(__self__, *, @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetClusterClusterInfoSpecClusterLogConfDbfsResult']: + def dbfs(self) -> Optional['outputs.GetClusterClusterInfoClusterLogConfDbfsResult']: return pulumi.get(self, "dbfs") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetClusterClusterInfoSpecClusterLogConfS3Result']: + def s3(self) -> Optional['outputs.GetClusterClusterInfoClusterLogConfS3Result']: return pulumi.get(self, "s3") @pulumi.output_type -class GetClusterClusterInfoSpecClusterLogConfDbfsResult(dict): +class GetClusterClusterInfoClusterLogConfDbfsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28002,7 +29558,7 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecClusterLogConfS3Result(dict): +class GetClusterClusterInfoClusterLogConfS3Result(dict): def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -28062,93 +29618,218 @@ def region(self) -> Optional[str]: @pulumi.output_type -class GetClusterClusterInfoSpecClusterMountInfoResult(dict): +class GetClusterClusterInfoClusterLogStatusResult(dict): def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'outputs.GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoResult', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) + last_attempted: Optional[int] = None, + last_exception: Optional[str] = None): + if last_attempted is not None: + pulumi.set(__self__, "last_attempted", last_attempted) + if last_exception is not None: + pulumi.set(__self__, "last_exception", last_exception) @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") + @pulumi.getter(name="lastAttempted") + def last_attempted(self) -> Optional[int]: + return pulumi.get(self, "last_attempted") @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'outputs.GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoResult': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="lastException") + def last_exception(self) -> Optional[str]: + return pulumi.get(self, "last_exception") + + +@pulumi.output_type +class GetClusterClusterInfoDockerImageResult(dict): + def __init__(__self__, *, + basic_auth: Optional['outputs.GetClusterClusterInfoDockerImageBasicAuthResult'] = None, + url: Optional[str] = None): + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) + if url is not None: + pulumi.set(__self__, "url", url) @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['outputs.GetClusterClusterInfoDockerImageBasicAuthResult']: + return pulumi.get(self, "basic_auth") + + @property + @pulumi.getter + def url(self) -> Optional[str]: + return pulumi.get(self, "url") @pulumi.output_type -class GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoResult(dict): +class GetClusterClusterInfoDockerImageBasicAuthResult(dict): def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + password: Optional[str] = None, + username: Optional[str] = None): + if password is not None: + pulumi.set(__self__, "password", password) + if username is not None: + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter + def password(self) -> Optional[str]: + return pulumi.get(self, "password") @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") + @pulumi.getter + def username(self) -> Optional[str]: + return pulumi.get(self, "username") @pulumi.output_type -class GetClusterClusterInfoSpecDockerImageResult(dict): +class GetClusterClusterInfoDriverResult(dict): def __init__(__self__, *, - url: str, - basic_auth: Optional['outputs.GetClusterClusterInfoSpecDockerImageBasicAuthResult'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + host_private_ip: Optional[str] = None, + instance_id: Optional[str] = None, + node_aws_attributes: Optional['outputs.GetClusterClusterInfoDriverNodeAwsAttributesResult'] = None, + node_id: Optional[str] = None, + private_ip: Optional[str] = None, + public_dns: Optional[str] = None, + start_timestamp: Optional[int] = None): + if host_private_ip is not None: + pulumi.set(__self__, "host_private_ip", host_private_ip) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + if node_aws_attributes is not None: + pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) + if node_id is not None: + pulumi.set(__self__, "node_id", node_id) + if private_ip is not None: + pulumi.set(__self__, "private_ip", private_ip) + if public_dns is not None: + pulumi.set(__self__, "public_dns", public_dns) + if start_timestamp is not None: + pulumi.set(__self__, "start_timestamp", start_timestamp) @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="hostPrivateIp") + def host_private_ip(self) -> Optional[str]: + return pulumi.get(self, "host_private_ip") @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetClusterClusterInfoSpecDockerImageBasicAuthResult']: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[str]: + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="nodeAwsAttributes") + def node_aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoDriverNodeAwsAttributesResult']: + return pulumi.get(self, "node_aws_attributes") + + @property + @pulumi.getter(name="nodeId") + def node_id(self) -> Optional[str]: + return pulumi.get(self, "node_id") + + @property + @pulumi.getter(name="privateIp") + def private_ip(self) -> Optional[str]: + return pulumi.get(self, "private_ip") + + @property + @pulumi.getter(name="publicDns") + def public_dns(self) -> Optional[str]: + return pulumi.get(self, "public_dns") + + @property + @pulumi.getter(name="startTimestamp") + def start_timestamp(self) -> Optional[int]: + return pulumi.get(self, "start_timestamp") @pulumi.output_type -class GetClusterClusterInfoSpecDockerImageBasicAuthResult(dict): +class GetClusterClusterInfoDriverNodeAwsAttributesResult(dict): def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + is_spot: Optional[bool] = None): + if is_spot is not None: + pulumi.set(__self__, "is_spot", is_spot) @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + @pulumi.getter(name="isSpot") + def is_spot(self) -> Optional[bool]: + return pulumi.get(self, "is_spot") + + +@pulumi.output_type +class GetClusterClusterInfoExecutorResult(dict): + def __init__(__self__, *, + host_private_ip: Optional[str] = None, + instance_id: Optional[str] = None, + node_aws_attributes: Optional['outputs.GetClusterClusterInfoExecutorNodeAwsAttributesResult'] = None, + node_id: Optional[str] = None, + private_ip: Optional[str] = None, + public_dns: Optional[str] = None, + start_timestamp: Optional[int] = None): + if host_private_ip is not None: + pulumi.set(__self__, "host_private_ip", host_private_ip) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + if node_aws_attributes is not None: + pulumi.set(__self__, "node_aws_attributes", node_aws_attributes) + if node_id is not None: + pulumi.set(__self__, "node_id", node_id) + if private_ip is not None: + pulumi.set(__self__, "private_ip", private_ip) + if public_dns is not None: + pulumi.set(__self__, "public_dns", public_dns) + if start_timestamp is not None: + pulumi.set(__self__, "start_timestamp", start_timestamp) @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + @pulumi.getter(name="hostPrivateIp") + def host_private_ip(self) -> Optional[str]: + return pulumi.get(self, "host_private_ip") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[str]: + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="nodeAwsAttributes") + def node_aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoExecutorNodeAwsAttributesResult']: + return pulumi.get(self, "node_aws_attributes") + + @property + @pulumi.getter(name="nodeId") + def node_id(self) -> Optional[str]: + return pulumi.get(self, "node_id") + + @property + @pulumi.getter(name="privateIp") + def private_ip(self) -> Optional[str]: + return pulumi.get(self, "private_ip") + + @property + @pulumi.getter(name="publicDns") + def public_dns(self) -> Optional[str]: + return pulumi.get(self, "public_dns") + + @property + @pulumi.getter(name="startTimestamp") + def start_timestamp(self) -> Optional[int]: + return pulumi.get(self, "start_timestamp") @pulumi.output_type -class GetClusterClusterInfoSpecGcpAttributesResult(dict): +class GetClusterClusterInfoExecutorNodeAwsAttributesResult(dict): + def __init__(__self__, *, + is_spot: Optional[bool] = None): + if is_spot is not None: + pulumi.set(__self__, "is_spot", is_spot) + + @property + @pulumi.getter(name="isSpot") + def is_spot(self) -> Optional[bool]: + return pulumi.get(self, "is_spot") + + +@pulumi.output_type +class GetClusterClusterInfoGcpAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, boot_disk_size: Optional[int] = None, @@ -28201,15 +29882,15 @@ def zone_id(self) -> Optional[str]: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptResult(dict): +class GetClusterClusterInfoInitScriptResult(dict): def __init__(__self__, *, - abfss: Optional['outputs.GetClusterClusterInfoSpecInitScriptAbfssResult'] = None, - dbfs: Optional['outputs.GetClusterClusterInfoSpecInitScriptDbfsResult'] = None, - file: Optional['outputs.GetClusterClusterInfoSpecInitScriptFileResult'] = None, - gcs: Optional['outputs.GetClusterClusterInfoSpecInitScriptGcsResult'] = None, - s3: Optional['outputs.GetClusterClusterInfoSpecInitScriptS3Result'] = None, - volumes: Optional['outputs.GetClusterClusterInfoSpecInitScriptVolumesResult'] = None, - workspace: Optional['outputs.GetClusterClusterInfoSpecInitScriptWorkspaceResult'] = None): + abfss: Optional['outputs.GetClusterClusterInfoInitScriptAbfssResult'] = None, + dbfs: Optional['outputs.GetClusterClusterInfoInitScriptDbfsResult'] = None, + file: Optional['outputs.GetClusterClusterInfoInitScriptFileResult'] = None, + gcs: Optional['outputs.GetClusterClusterInfoInitScriptGcsResult'] = None, + s3: Optional['outputs.GetClusterClusterInfoInitScriptS3Result'] = None, + volumes: Optional['outputs.GetClusterClusterInfoInitScriptVolumesResult'] = None, + workspace: Optional['outputs.GetClusterClusterInfoInitScriptWorkspaceResult'] = None): if abfss is not None: pulumi.set(__self__, "abfss", abfss) if dbfs is not None: @@ -28227,43 +29908,42 @@ def __init__(__self__, *, @property @pulumi.getter - def abfss(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptAbfssResult']: + def abfss(self) -> Optional['outputs.GetClusterClusterInfoInitScriptAbfssResult']: return pulumi.get(self, "abfss") @property @pulumi.getter - @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") - def dbfs(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptDbfsResult']: + def dbfs(self) -> Optional['outputs.GetClusterClusterInfoInitScriptDbfsResult']: return pulumi.get(self, "dbfs") @property @pulumi.getter - def file(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptFileResult']: + def file(self) -> Optional['outputs.GetClusterClusterInfoInitScriptFileResult']: return pulumi.get(self, "file") @property @pulumi.getter - def gcs(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptGcsResult']: + def gcs(self) -> Optional['outputs.GetClusterClusterInfoInitScriptGcsResult']: return pulumi.get(self, "gcs") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptS3Result']: + def s3(self) -> Optional['outputs.GetClusterClusterInfoInitScriptS3Result']: return pulumi.get(self, "s3") @property @pulumi.getter - def volumes(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptVolumesResult']: + def volumes(self) -> Optional['outputs.GetClusterClusterInfoInitScriptVolumesResult']: return pulumi.get(self, "volumes") @property @pulumi.getter - def workspace(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptWorkspaceResult']: + def workspace(self) -> Optional['outputs.GetClusterClusterInfoInitScriptWorkspaceResult']: return pulumi.get(self, "workspace") @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptAbfssResult(dict): +class GetClusterClusterInfoInitScriptAbfssResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28275,7 +29955,7 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptDbfsResult(dict): +class GetClusterClusterInfoInitScriptDbfsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28287,7 +29967,7 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptFileResult(dict): +class GetClusterClusterInfoInitScriptFileResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28299,7 +29979,7 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptGcsResult(dict): +class GetClusterClusterInfoInitScriptGcsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28311,7 +29991,7 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptS3Result(dict): +class GetClusterClusterInfoInitScriptS3Result(dict): def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -28371,7 +30051,7 @@ def region(self) -> Optional[str]: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptVolumesResult(dict): +class GetClusterClusterInfoInitScriptVolumesResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28383,7 +30063,7 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecInitScriptWorkspaceResult(dict): +class GetClusterClusterInfoInitScriptWorkspaceResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -28395,1708 +30075,4884 @@ def destination(self) -> str: @pulumi.output_type -class GetClusterClusterInfoSpecLibraryResult(dict): - def __init__(__self__, *, - cran: Optional['outputs.GetClusterClusterInfoSpecLibraryCranResult'] = None, - egg: Optional[str] = None, - jar: Optional[str] = None, - maven: Optional['outputs.GetClusterClusterInfoSpecLibraryMavenResult'] = None, - pypi: Optional['outputs.GetClusterClusterInfoSpecLibraryPypiResult'] = None, - requirements: Optional[str] = None, - whl: Optional[str] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) - - @property - @pulumi.getter - def cran(self) -> Optional['outputs.GetClusterClusterInfoSpecLibraryCranResult']: - return pulumi.get(self, "cran") - - @property - @pulumi.getter - def egg(self) -> Optional[str]: - return pulumi.get(self, "egg") - - @property - @pulumi.getter - def jar(self) -> Optional[str]: - return pulumi.get(self, "jar") - - @property - @pulumi.getter - def maven(self) -> Optional['outputs.GetClusterClusterInfoSpecLibraryMavenResult']: - return pulumi.get(self, "maven") - - @property - @pulumi.getter - def pypi(self) -> Optional['outputs.GetClusterClusterInfoSpecLibraryPypiResult']: - return pulumi.get(self, "pypi") - - @property - @pulumi.getter - def requirements(self) -> Optional[str]: - return pulumi.get(self, "requirements") - - @property - @pulumi.getter - def whl(self) -> Optional[str]: - return pulumi.get(self, "whl") - - -@pulumi.output_type -class GetClusterClusterInfoSpecLibraryCranResult(dict): - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") - - @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - -@pulumi.output_type -class GetClusterClusterInfoSpecLibraryMavenResult(dict): +class GetClusterClusterInfoSpecResult(dict): def __init__(__self__, *, - coordinates: str, - exclusions: Optional[Sequence[str]] = None, - repo: Optional[str] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def coordinates(self) -> str: - return pulumi.get(self, "coordinates") - - @property - @pulumi.getter - def exclusions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "exclusions") + cluster_id: str, + driver_instance_pool_id: str, + driver_node_type_id: str, + enable_elastic_disk: bool, + enable_local_disk_encryption: bool, + node_type_id: str, + spark_version: str, + apply_policy_default_values: Optional[bool] = None, + autoscale: Optional['outputs.GetClusterClusterInfoSpecAutoscaleResult'] = None, + aws_attributes: Optional['outputs.GetClusterClusterInfoSpecAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetClusterClusterInfoSpecAzureAttributesResult'] = None, + cluster_log_conf: Optional['outputs.GetClusterClusterInfoSpecClusterLogConfResult'] = None, + cluster_mount_infos: Optional[Sequence['outputs.GetClusterClusterInfoSpecClusterMountInfoResult']] = None, + cluster_name: Optional[str] = None, + custom_tags: Optional[Mapping[str, str]] = None, + data_security_mode: Optional[str] = None, + docker_image: Optional['outputs.GetClusterClusterInfoSpecDockerImageResult'] = None, + gcp_attributes: Optional['outputs.GetClusterClusterInfoSpecGcpAttributesResult'] = None, + idempotency_token: Optional[str] = None, + init_scripts: Optional[Sequence['outputs.GetClusterClusterInfoSpecInitScriptResult']] = None, + instance_pool_id: Optional[str] = None, + is_single_node: Optional[bool] = None, + kind: Optional[str] = None, + libraries: Optional[Sequence['outputs.GetClusterClusterInfoSpecLibraryResult']] = None, + num_workers: Optional[int] = None, + policy_id: Optional[str] = None, + runtime_engine: Optional[str] = None, + single_user_name: Optional[str] = None, + spark_conf: Optional[Mapping[str, str]] = None, + spark_env_vars: Optional[Mapping[str, str]] = None, + ssh_public_keys: Optional[Sequence[str]] = None, + use_ml_runtime: Optional[bool] = None, + workload_type: Optional['outputs.GetClusterClusterInfoSpecWorkloadTypeResult'] = None): + """ + :param str cluster_id: The id of the cluster + :param str driver_instance_pool_id: similar to `instance_pool_id`, but for driver node. + :param str driver_node_type_id: The node type of the Spark driver. + :param bool enable_elastic_disk: Use autoscaling local storage. + :param bool enable_local_disk_encryption: Enable local disk encryption. + :param str node_type_id: Any supported get_node_type id. + :param str spark_version: [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + :param str cluster_name: The exact name of the cluster to search + :param Mapping[str, str] custom_tags: Additional tags for cluster resources. + :param str data_security_mode: Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. + :param str idempotency_token: An optional token to guarantee the idempotency of cluster creation requests. + :param str instance_pool_id: The pool of idle instances the cluster is attached to. + :param str policy_id: Identifier of Cluster Policy to validate cluster and preset certain defaults. + :param str runtime_engine: The type of runtime of the cluster + :param str single_user_name: The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). + :param Mapping[str, str] spark_conf: Map with key-value pairs to fine-tune Spark clusters. + :param Mapping[str, str] spark_env_vars: Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. + :param Sequence[str] ssh_public_keys: SSH public key contents that will be added to each Spark node in this cluster. + """ + pulumi.set(__self__, "cluster_id", cluster_id) + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + pulumi.set(__self__, "node_type_id", node_type_id) + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if is_single_node is not None: + pulumi.set(__self__, "is_single_node", is_single_node) + if kind is not None: + pulumi.set(__self__, "kind", kind) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if num_workers is not None: + pulumi.set(__self__, "num_workers", num_workers) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if use_ml_runtime is not None: + pulumi.set(__self__, "use_ml_runtime", use_ml_runtime) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - -@pulumi.output_type -class GetClusterClusterInfoSpecLibraryPypiResult(dict): - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) + @pulumi.getter(name="clusterId") + def cluster_id(self) -> str: + """ + The id of the cluster + """ + return pulumi.get(self, "cluster_id") @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> str: + """ + similar to `instance_pool_id`, but for driver node. + """ + return pulumi.get(self, "driver_instance_pool_id") @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - -@pulumi.output_type -class GetClusterClusterInfoSpecWorkloadTypeResult(dict): - def __init__(__self__, *, - clients: 'outputs.GetClusterClusterInfoSpecWorkloadTypeClientsResult'): - pulumi.set(__self__, "clients", clients) + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> str: + """ + The node type of the Spark driver. + """ + return pulumi.get(self, "driver_node_type_id") @property - @pulumi.getter - def clients(self) -> 'outputs.GetClusterClusterInfoSpecWorkloadTypeClientsResult': - return pulumi.get(self, "clients") - - -@pulumi.output_type -class GetClusterClusterInfoSpecWorkloadTypeClientsResult(dict): - def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> bool: + """ + Use autoscaling local storage. + """ + return pulumi.get(self, "enable_elastic_disk") @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> bool: + """ + Enable local disk encryption. + """ + return pulumi.get(self, "enable_local_disk_encryption") @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") - - -@pulumi.output_type -class GetClusterClusterInfoTerminationReasonResult(dict): - def __init__(__self__, *, - code: Optional[str] = None, - parameters: Optional[Mapping[str, str]] = None, - type: Optional[str] = None): - if code is not None: - pulumi.set(__self__, "code", code) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if type is not None: - pulumi.set(__self__, "type", type) + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> str: + """ + Any supported get_node_type id. + """ + return pulumi.get(self, "node_type_id") @property - @pulumi.getter - def code(self) -> Optional[str]: - return pulumi.get(self, "code") + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> str: + """ + [Runtime version](https://docs.databricks.com/runtime/index.html) of the cluster. + """ + return pulumi.get(self, "spark_version") @property - @pulumi.getter - def parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[bool]: + return pulumi.get(self, "apply_policy_default_values") @property @pulumi.getter - def type(self) -> Optional[str]: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetClusterClusterInfoWorkloadTypeResult(dict): - def __init__(__self__, *, - clients: 'outputs.GetClusterClusterInfoWorkloadTypeClientsResult'): - pulumi.set(__self__, "clients", clients) + def autoscale(self) -> Optional['outputs.GetClusterClusterInfoSpecAutoscaleResult']: + return pulumi.get(self, "autoscale") @property - @pulumi.getter - def clients(self) -> 'outputs.GetClusterClusterInfoWorkloadTypeClientsResult': - return pulumi.get(self, "clients") - - -@pulumi.output_type -class GetClusterClusterInfoWorkloadTypeClientsResult(dict): - def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['outputs.GetClusterClusterInfoSpecAwsAttributesResult']: + return pulumi.get(self, "aws_attributes") @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['outputs.GetClusterClusterInfoSpecAzureAttributesResult']: + return pulumi.get(self, "azure_attributes") @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") - - -@pulumi.output_type -class GetClustersFilterByResult(dict): - def __init__(__self__, *, - cluster_sources: Optional[Sequence[str]] = None, - cluster_states: Optional[Sequence[str]] = None, - is_pinned: Optional[bool] = None, - policy_id: Optional[str] = None): - """ - :param Sequence[str] cluster_sources: List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. - :param Sequence[str] cluster_states: List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. - :param bool is_pinned: Whether to filter by pinned clusters. - :param str policy_id: Filter by ClusterPolicy id. - """ - if cluster_sources is not None: - pulumi.set(__self__, "cluster_sources", cluster_sources) - if cluster_states is not None: - pulumi.set(__self__, "cluster_states", cluster_states) - if is_pinned is not None: - pulumi.set(__self__, "is_pinned", is_pinned) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional['outputs.GetClusterClusterInfoSpecClusterLogConfResult']: + return pulumi.get(self, "cluster_log_conf") @property - @pulumi.getter(name="clusterSources") - def cluster_sources(self) -> Optional[Sequence[str]]: - """ - List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. - """ - return pulumi.get(self, "cluster_sources") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetClusterClusterInfoSpecClusterMountInfoResult']]: + return pulumi.get(self, "cluster_mount_infos") @property - @pulumi.getter(name="clusterStates") - def cluster_states(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: """ - List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + The exact name of the cluster to search """ - return pulumi.get(self, "cluster_states") + return pulumi.get(self, "cluster_name") @property - @pulumi.getter(name="isPinned") - def is_pinned(self) -> Optional[bool]: + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: """ - Whether to filter by pinned clusters. + Additional tags for cluster resources. """ - return pulumi.get(self, "is_pinned") + return pulumi.get(self, "custom_tags") @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: """ - Filter by ClusterPolicy id. + Security features of the cluster. Unity Catalog requires `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. Default to `NONE`, i.e. no security feature enabled. """ - return pulumi.get(self, "policy_id") - + return pulumi.get(self, "data_security_mode") -@pulumi.output_type -class GetCurrentMetastoreMetastoreInfoResult(dict): - def __init__(__self__, *, - cloud: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - default_data_access_config_id: Optional[str] = None, - delta_sharing_organization_name: Optional[str] = None, - delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, - delta_sharing_scope: Optional[str] = None, - external_access_enabled: Optional[bool] = None, - global_metastore_id: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - privilege_model_version: Optional[str] = None, - region: Optional[str] = None, - storage_root: Optional[str] = None, - storage_root_credential_id: Optional[str] = None, - storage_root_credential_name: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param int created_at: Timestamp (in milliseconds) when the current metastore was created. - :param str created_by: the ID of the identity that created the current metastore. - :param str default_data_access_config_id: the ID of the default data access configuration. - :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - :param int delta_sharing_recipient_token_lifetime_in_seconds: the expiration duration in seconds on recipient data access tokens. - :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - :param str global_metastore_id: Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. - :param str metastore_id: Metastore ID. - :param str name: Name of metastore. - :param str owner: Username/group name/sp application_id of the metastore owner. - :param str privilege_model_version: the version of the privilege model used by the metastore. - :param str region: (Mandatory for account-level) The region of the metastore. - :param str storage_root: Path on cloud storage account, where managed `Table` are stored. - :param str storage_root_credential_id: ID of a storage credential used for the `storage_root`. - :param str storage_root_credential_name: Name of a storage credential used for the `storage_root`. - :param int updated_at: Timestamp (in milliseconds) when the current metastore was updated. - :param str updated_by: the ID of the identity that updated the current metastore. - """ - if cloud is not None: - pulumi.set(__self__, "cloud", cloud) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if default_data_access_config_id is not None: - pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) - if delta_sharing_organization_name is not None: - pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) - if delta_sharing_recipient_token_lifetime_in_seconds is not None: - pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) - if delta_sharing_scope is not None: - pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) - if external_access_enabled is not None: - pulumi.set(__self__, "external_access_enabled", external_access_enabled) - if global_metastore_id is not None: - pulumi.set(__self__, "global_metastore_id", global_metastore_id) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if privilege_model_version is not None: - pulumi.set(__self__, "privilege_model_version", privilege_model_version) - if region is not None: - pulumi.set(__self__, "region", region) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if storage_root_credential_id is not None: - pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) - if storage_root_credential_name is not None: - pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + @property + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['outputs.GetClusterClusterInfoSpecDockerImageResult']: + return pulumi.get(self, "docker_image") @property - @pulumi.getter - def cloud(self) -> Optional[str]: - return pulumi.get(self, "cloud") + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['outputs.GetClusterClusterInfoSpecGcpAttributesResult']: + return pulumi.get(self, "gcp_attributes") @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: """ - Timestamp (in milliseconds) when the current metastore was created. + An optional token to guarantee the idempotency of cluster creation requests. """ - return pulumi.get(self, "created_at") + return pulumi.get(self, "idempotency_token") @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - the ID of the identity that created the current metastore. - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['outputs.GetClusterClusterInfoSpecInitScriptResult']]: + return pulumi.get(self, "init_scripts") @property - @pulumi.getter(name="defaultDataAccessConfigId") - def default_data_access_config_id(self) -> Optional[str]: + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: """ - the ID of the default data access configuration. + The pool of idle instances the cluster is attached to. """ - return pulumi.get(self, "default_data_access_config_id") + return pulumi.get(self, "instance_pool_id") @property - @pulumi.getter(name="deltaSharingOrganizationName") - def delta_sharing_organization_name(self) -> Optional[str]: - """ - The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - """ - return pulumi.get(self, "delta_sharing_organization_name") + @pulumi.getter(name="isSingleNode") + def is_single_node(self) -> Optional[bool]: + return pulumi.get(self, "is_single_node") @property - @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") - def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: - """ - the expiration duration in seconds on recipient data access tokens. - """ - return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") + @pulumi.getter + def kind(self) -> Optional[str]: + return pulumi.get(self, "kind") @property - @pulumi.getter(name="deltaSharingScope") - def delta_sharing_scope(self) -> Optional[str]: - """ - Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - """ - return pulumi.get(self, "delta_sharing_scope") + @pulumi.getter + def libraries(self) -> Optional[Sequence['outputs.GetClusterClusterInfoSpecLibraryResult']]: + return pulumi.get(self, "libraries") @property - @pulumi.getter(name="externalAccessEnabled") - def external_access_enabled(self) -> Optional[bool]: - return pulumi.get(self, "external_access_enabled") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> Optional[int]: + return pulumi.get(self, "num_workers") @property - @pulumi.getter(name="globalMetastoreId") - def global_metastore_id(self) -> Optional[str]: + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: """ - Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + Identifier of Cluster Policy to validate cluster and preset certain defaults. """ - return pulumi.get(self, "global_metastore_id") + return pulumi.get(self, "policy_id") @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: """ - Metastore ID. + The type of runtime of the cluster """ - return pulumi.get(self, "metastore_id") + return pulumi.get(self, "runtime_engine") @property - @pulumi.getter - def name(self) -> Optional[str]: + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: """ - Name of metastore. + The optional user name of the user to assign to an interactive cluster. This field is required when using standard AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters). """ - return pulumi.get(self, "name") + return pulumi.get(self, "single_user_name") @property - @pulumi.getter - def owner(self) -> Optional[str]: + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: """ - Username/group name/sp application_id of the metastore owner. + Map with key-value pairs to fine-tune Spark clusters. """ - return pulumi.get(self, "owner") + return pulumi.get(self, "spark_conf") @property - @pulumi.getter(name="privilegeModelVersion") - def privilege_model_version(self) -> Optional[str]: + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: """ - the version of the privilege model used by the metastore. + Map with environment variable key-value pairs to fine-tune Spark clusters. Key-value pairs of the form (X,Y) are exported (i.e., X='Y') while launching the driver and workers. """ - return pulumi.get(self, "privilege_model_version") + return pulumi.get(self, "spark_env_vars") @property - @pulumi.getter - def region(self) -> Optional[str]: + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: """ - (Mandatory for account-level) The region of the metastore. + SSH public key contents that will be added to each Spark node in this cluster. """ - return pulumi.get(self, "region") + return pulumi.get(self, "ssh_public_keys") @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - Path on cloud storage account, where managed `Table` are stored. - """ - return pulumi.get(self, "storage_root") + @pulumi.getter(name="useMlRuntime") + def use_ml_runtime(self) -> Optional[bool]: + return pulumi.get(self, "use_ml_runtime") @property - @pulumi.getter(name="storageRootCredentialId") - def storage_root_credential_id(self) -> Optional[str]: - """ - ID of a storage credential used for the `storage_root`. - """ - return pulumi.get(self, "storage_root_credential_id") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['outputs.GetClusterClusterInfoSpecWorkloadTypeResult']: + return pulumi.get(self, "workload_type") + + +@pulumi.output_type +class GetClusterClusterInfoSpecAutoscaleResult(dict): + def __init__(__self__, *, + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter(name="storageRootCredentialName") - def storage_root_credential_name(self) -> Optional[str]: - """ - Name of a storage credential used for the `storage_root`. - """ - return pulumi.get(self, "storage_root_credential_name") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Timestamp (in milliseconds) when the current metastore was updated. - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") + + +@pulumi.output_type +class GetClusterClusterInfoSpecAwsAttributesResult(dict): + def __init__(__self__, *, + availability: Optional[str] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_iops: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_throughput: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_iops is not None: + pulumi.set(__self__, "ebs_volume_iops", ebs_volume_iops) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_throughput is not None: + pulumi.set(__self__, "ebs_volume_throughput", ebs_volume_throughput) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - the ID of the identity that updated the current metastore. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") + + @property + @pulumi.getter(name="ebsVolumeIops") + def ebs_volume_iops(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_iops") + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") + + @property + @pulumi.getter(name="ebsVolumeThroughput") + def ebs_volume_throughput(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_throughput") + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") @pulumi.output_type -class GetDbfsFilePathsPathListResult(dict): +class GetClusterClusterInfoSpecAzureAttributesResult(dict): def __init__(__self__, *, - file_size: Optional[int] = None, - path: Optional[str] = None): - """ - :param str path: Path on DBFS for the file to perform listing - """ - if file_size is not None: - pulumi.set(__self__, "file_size", file_size) - if path is not None: - pulumi.set(__self__, "path", path) + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + log_analytics_info: Optional['outputs.GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoResult'] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if log_analytics_info is not None: + pulumi.set(__self__, "log_analytics_info", log_analytics_info) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @property - @pulumi.getter(name="fileSize") - def file_size(self) -> Optional[int]: - return pulumi.get(self, "file_size") + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @property + @pulumi.getter(name="logAnalyticsInfo") + def log_analytics_info(self) -> Optional['outputs.GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoResult']: + return pulumi.get(self, "log_analytics_info") + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") + + +@pulumi.output_type +class GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoResult(dict): + def __init__(__self__, *, + log_analytics_primary_key: Optional[str] = None, + log_analytics_workspace_id: Optional[str] = None): + if log_analytics_primary_key is not None: + pulumi.set(__self__, "log_analytics_primary_key", log_analytics_primary_key) + if log_analytics_workspace_id is not None: + pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id) + + @property + @pulumi.getter(name="logAnalyticsPrimaryKey") + def log_analytics_primary_key(self) -> Optional[str]: + return pulumi.get(self, "log_analytics_primary_key") + + @property + @pulumi.getter(name="logAnalyticsWorkspaceId") + def log_analytics_workspace_id(self) -> Optional[str]: + return pulumi.get(self, "log_analytics_workspace_id") + + +@pulumi.output_type +class GetClusterClusterInfoSpecClusterLogConfResult(dict): + def __init__(__self__, *, + dbfs: Optional['outputs.GetClusterClusterInfoSpecClusterLogConfDbfsResult'] = None, + s3: Optional['outputs.GetClusterClusterInfoSpecClusterLogConfS3Result'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property @pulumi.getter - def path(self) -> Optional[str]: - """ - Path on DBFS for the file to perform listing - """ - return pulumi.get(self, "path") + def dbfs(self) -> Optional['outputs.GetClusterClusterInfoSpecClusterLogConfDbfsResult']: + return pulumi.get(self, "dbfs") + + @property + @pulumi.getter + def s3(self) -> Optional['outputs.GetClusterClusterInfoSpecClusterLogConfS3Result']: + return pulumi.get(self, "s3") @pulumi.output_type -class GetExternalLocationExternalLocationInfoResult(dict): +class GetClusterClusterInfoSpecClusterLogConfDbfsResult(dict): def __init__(__self__, *, - access_point: Optional[str] = None, - browse_only: Optional[bool] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - credential_id: Optional[str] = None, - credential_name: Optional[str] = None, - encryption_details: Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsResult'] = None, - fallback: Optional[bool] = None, - isolation_mode: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - read_only: Optional[bool] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None, - url: Optional[str] = None): - """ - :param str access_point: The ARN of the s3 access point to use with the external location (AWS). - :param str comment: User-supplied comment. - :param int created_at: Time at which this catalog was created, in epoch milliseconds. - :param str created_by: Username of catalog creator. - :param str credential_id: Unique ID of storage credential. - :param str credential_name: Name of the StorageCredential to use with this external location. - :param 'GetExternalLocationExternalLocationInfoEncryptionDetailsArgs' encryption_details: The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - :param str metastore_id: Unique identifier of the parent Metastore. - :param str name: The name of the external location - :param str owner: Username/groupname/sp application_id of the external location owner. - :param bool read_only: Indicates whether the external location is read-only. - :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. - :param str updated_by: Username of user who last modified catalog. - :param str url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - """ - if access_point is not None: - pulumi.set(__self__, "access_point", access_point) - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if credential_id is not None: - pulumi.set(__self__, "credential_id", credential_id) - if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) - if encryption_details is not None: - pulumi.set(__self__, "encryption_details", encryption_details) - if fallback is not None: - pulumi.set(__self__, "fallback", fallback) - if isolation_mode is not None: - pulumi.set(__self__, "isolation_mode", isolation_mode) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if read_only is not None: - pulumi.set(__self__, "read_only", read_only) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) - if url is not None: - pulumi.set(__self__, "url", url) + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="accessPoint") - def access_point(self) -> Optional[str]: - """ - The ARN of the s3 access point to use with the external location (AWS). - """ - return pulumi.get(self, "access_point") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecClusterLogConfS3Result(dict): + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - return pulumi.get(self, "browse_only") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") + + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-supplied comment. - """ - return pulumi.get(self, "comment") + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - Time at which this catalog was created, in epoch milliseconds. - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - Username of catalog creator. - """ - return pulumi.get(self, "created_by") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetClusterClusterInfoSpecClusterMountInfoResult(dict): + def __init__(__self__, *, + local_mount_dir_path: str, + network_filesystem_info: 'outputs.GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoResult', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[str]: - """ - Unique ID of storage credential. - """ - return pulumi.get(self, "credential_id") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") @property - @pulumi.getter(name="credentialName") - def credential_name(self) -> Optional[str]: - """ - Name of the StorageCredential to use with this external location. - """ - return pulumi.get(self, "credential_name") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'outputs.GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoResult': + return pulumi.get(self, "network_filesystem_info") @property - @pulumi.getter(name="encryptionDetails") - def encryption_details(self) -> Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsResult']: - """ - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). - """ - return pulumi.get(self, "encryption_details") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") + + +@pulumi.output_type +class GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfoResult(dict): + def __init__(__self__, *, + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) + + @property + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") + + +@pulumi.output_type +class GetClusterClusterInfoSpecDockerImageResult(dict): + def __init__(__self__, *, + url: str, + basic_auth: Optional['outputs.GetClusterClusterInfoSpecDockerImageBasicAuthResult'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) + + @property + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") + + @property + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['outputs.GetClusterClusterInfoSpecDockerImageBasicAuthResult']: + return pulumi.get(self, "basic_auth") + + +@pulumi.output_type +class GetClusterClusterInfoSpecDockerImageBasicAuthResult(dict): + def __init__(__self__, *, + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> str: + return pulumi.get(self, "password") + + @property + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetClusterClusterInfoSpecGcpAttributesResult(dict): + def __init__(__self__, *, + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") + + @property + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") + + @property + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") + + @property + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptResult(dict): + def __init__(__self__, *, + abfss: Optional['outputs.GetClusterClusterInfoSpecInitScriptAbfssResult'] = None, + dbfs: Optional['outputs.GetClusterClusterInfoSpecInitScriptDbfsResult'] = None, + file: Optional['outputs.GetClusterClusterInfoSpecInitScriptFileResult'] = None, + gcs: Optional['outputs.GetClusterClusterInfoSpecInitScriptGcsResult'] = None, + s3: Optional['outputs.GetClusterClusterInfoSpecInitScriptS3Result'] = None, + volumes: Optional['outputs.GetClusterClusterInfoSpecInitScriptVolumesResult'] = None, + workspace: Optional['outputs.GetClusterClusterInfoSpecInitScriptWorkspaceResult'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) + + @property + @pulumi.getter + def abfss(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptAbfssResult']: + return pulumi.get(self, "abfss") + + @property + @pulumi.getter + @_utilities.deprecated("""For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.""") + def dbfs(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptDbfsResult']: + return pulumi.get(self, "dbfs") + + @property + @pulumi.getter + def file(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptFileResult']: + return pulumi.get(self, "file") + + @property + @pulumi.getter + def gcs(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptGcsResult']: + return pulumi.get(self, "gcs") + + @property + @pulumi.getter + def s3(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptS3Result']: + return pulumi.get(self, "s3") + + @property + @pulumi.getter + def volumes(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptVolumesResult']: + return pulumi.get(self, "volumes") + + @property + @pulumi.getter + def workspace(self) -> Optional['outputs.GetClusterClusterInfoSpecInitScriptWorkspaceResult']: + return pulumi.get(self, "workspace") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptAbfssResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptDbfsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptFileResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptGcsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptS3Result(dict): + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + @property + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") + + @property + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") + + @property + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") + + @property + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") + + @property + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptVolumesResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecInitScriptWorkspaceResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetClusterClusterInfoSpecLibraryResult(dict): + def __init__(__self__, *, + cran: Optional['outputs.GetClusterClusterInfoSpecLibraryCranResult'] = None, + egg: Optional[str] = None, + jar: Optional[str] = None, + maven: Optional['outputs.GetClusterClusterInfoSpecLibraryMavenResult'] = None, + pypi: Optional['outputs.GetClusterClusterInfoSpecLibraryPypiResult'] = None, + requirements: Optional[str] = None, + whl: Optional[str] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) + + @property + @pulumi.getter + def cran(self) -> Optional['outputs.GetClusterClusterInfoSpecLibraryCranResult']: + return pulumi.get(self, "cran") + + @property + @pulumi.getter + def egg(self) -> Optional[str]: + return pulumi.get(self, "egg") + + @property + @pulumi.getter + def jar(self) -> Optional[str]: + return pulumi.get(self, "jar") + + @property + @pulumi.getter + def maven(self) -> Optional['outputs.GetClusterClusterInfoSpecLibraryMavenResult']: + return pulumi.get(self, "maven") + + @property + @pulumi.getter + def pypi(self) -> Optional['outputs.GetClusterClusterInfoSpecLibraryPypiResult']: + return pulumi.get(self, "pypi") + + @property + @pulumi.getter + def requirements(self) -> Optional[str]: + return pulumi.get(self, "requirements") + + @property + @pulumi.getter + def whl(self) -> Optional[str]: + return pulumi.get(self, "whl") + + +@pulumi.output_type +class GetClusterClusterInfoSpecLibraryCranResult(dict): + def __init__(__self__, *, + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) + + @property + @pulumi.getter + def package(self) -> str: + return pulumi.get(self, "package") + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") + + +@pulumi.output_type +class GetClusterClusterInfoSpecLibraryMavenResult(dict): + def __init__(__self__, *, + coordinates: str, + exclusions: Optional[Sequence[str]] = None, + repo: Optional[str] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) + + @property + @pulumi.getter + def coordinates(self) -> str: + return pulumi.get(self, "coordinates") + + @property + @pulumi.getter + def exclusions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "exclusions") + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") + + +@pulumi.output_type +class GetClusterClusterInfoSpecLibraryPypiResult(dict): + def __init__(__self__, *, + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) + + @property + @pulumi.getter + def package(self) -> str: + return pulumi.get(self, "package") + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") + + +@pulumi.output_type +class GetClusterClusterInfoSpecWorkloadTypeResult(dict): + def __init__(__self__, *, + clients: 'outputs.GetClusterClusterInfoSpecWorkloadTypeClientsResult'): + pulumi.set(__self__, "clients", clients) + + @property + @pulumi.getter + def clients(self) -> 'outputs.GetClusterClusterInfoSpecWorkloadTypeClientsResult': + return pulumi.get(self, "clients") + + +@pulumi.output_type +class GetClusterClusterInfoSpecWorkloadTypeClientsResult(dict): + def __init__(__self__, *, + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) + + @property + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") + + @property + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") + + +@pulumi.output_type +class GetClusterClusterInfoTerminationReasonResult(dict): + def __init__(__self__, *, + code: Optional[str] = None, + parameters: Optional[Mapping[str, str]] = None, + type: Optional[str] = None): + if code is not None: + pulumi.set(__self__, "code", code) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + return pulumi.get(self, "code") + + @property + @pulumi.getter + def parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "parameters") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetClusterClusterInfoWorkloadTypeResult(dict): + def __init__(__self__, *, + clients: 'outputs.GetClusterClusterInfoWorkloadTypeClientsResult'): + pulumi.set(__self__, "clients", clients) + + @property + @pulumi.getter + def clients(self) -> 'outputs.GetClusterClusterInfoWorkloadTypeClientsResult': + return pulumi.get(self, "clients") + + +@pulumi.output_type +class GetClusterClusterInfoWorkloadTypeClientsResult(dict): + def __init__(__self__, *, + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) + + @property + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") + + @property + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") + + +@pulumi.output_type +class GetClustersFilterByResult(dict): + def __init__(__self__, *, + cluster_sources: Optional[Sequence[str]] = None, + cluster_states: Optional[Sequence[str]] = None, + is_pinned: Optional[bool] = None, + policy_id: Optional[str] = None): + """ + :param Sequence[str] cluster_sources: List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + :param Sequence[str] cluster_states: List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + :param bool is_pinned: Whether to filter by pinned clusters. + :param str policy_id: Filter by ClusterPolicy id. + """ + if cluster_sources is not None: + pulumi.set(__self__, "cluster_sources", cluster_sources) + if cluster_states is not None: + pulumi.set(__self__, "cluster_states", cluster_states) + if is_pinned is not None: + pulumi.set(__self__, "is_pinned", is_pinned) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + + @property + @pulumi.getter(name="clusterSources") + def cluster_sources(self) -> Optional[Sequence[str]]: + """ + List of cluster sources to filter by. Possible values are `API`, `JOB`, `MODELS`, `PIPELINE`, `PIPELINE_MAINTENANCE`, `SQL`, and `UI`. + """ + return pulumi.get(self, "cluster_sources") + + @property + @pulumi.getter(name="clusterStates") + def cluster_states(self) -> Optional[Sequence[str]]: + """ + List of cluster states to filter by. Possible values are `RUNNING`, `PENDING`, `RESIZING`, `RESTARTING`, `TERMINATING`, `TERMINATED`, `ERROR`, and `UNKNOWN`. + """ + return pulumi.get(self, "cluster_states") + + @property + @pulumi.getter(name="isPinned") + def is_pinned(self) -> Optional[bool]: + """ + Whether to filter by pinned clusters. + """ + return pulumi.get(self, "is_pinned") + + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + """ + Filter by ClusterPolicy id. + """ + return pulumi.get(self, "policy_id") + + +@pulumi.output_type +class GetCurrentMetastoreMetastoreInfoResult(dict): + def __init__(__self__, *, + cloud: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + default_data_access_config_id: Optional[str] = None, + delta_sharing_organization_name: Optional[str] = None, + delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, + delta_sharing_scope: Optional[str] = None, + external_access_enabled: Optional[bool] = None, + global_metastore_id: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + privilege_model_version: Optional[str] = None, + region: Optional[str] = None, + storage_root: Optional[str] = None, + storage_root_credential_id: Optional[str] = None, + storage_root_credential_name: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param int created_at: Timestamp (in milliseconds) when the current metastore was created. + :param str created_by: the ID of the identity that created the current metastore. + :param str default_data_access_config_id: the ID of the default data access configuration. + :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + :param int delta_sharing_recipient_token_lifetime_in_seconds: the expiration duration in seconds on recipient data access tokens. + :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + :param str global_metastore_id: Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + :param str metastore_id: Metastore ID. + :param str name: Name of metastore. + :param str owner: Username/group name/sp application_id of the metastore owner. + :param str privilege_model_version: the version of the privilege model used by the metastore. + :param str region: (Mandatory for account-level) The region of the metastore. + :param str storage_root: Path on cloud storage account, where managed `Table` are stored. + :param str storage_root_credential_id: ID of a storage credential used for the `storage_root`. + :param str storage_root_credential_name: Name of a storage credential used for the `storage_root`. + :param int updated_at: Timestamp (in milliseconds) when the current metastore was updated. + :param str updated_by: the ID of the identity that updated the current metastore. + """ + if cloud is not None: + pulumi.set(__self__, "cloud", cloud) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if default_data_access_config_id is not None: + pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) + if delta_sharing_organization_name is not None: + pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) + if delta_sharing_recipient_token_lifetime_in_seconds is not None: + pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) + if delta_sharing_scope is not None: + pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) + if external_access_enabled is not None: + pulumi.set(__self__, "external_access_enabled", external_access_enabled) + if global_metastore_id is not None: + pulumi.set(__self__, "global_metastore_id", global_metastore_id) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if privilege_model_version is not None: + pulumi.set(__self__, "privilege_model_version", privilege_model_version) + if region is not None: + pulumi.set(__self__, "region", region) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if storage_root_credential_id is not None: + pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) + if storage_root_credential_name is not None: + pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter + def cloud(self) -> Optional[str]: + return pulumi.get(self, "cloud") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Timestamp (in milliseconds) when the current metastore was created. + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + the ID of the identity that created the current metastore. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="defaultDataAccessConfigId") + def default_data_access_config_id(self) -> Optional[str]: + """ + the ID of the default data access configuration. + """ + return pulumi.get(self, "default_data_access_config_id") + + @property + @pulumi.getter(name="deltaSharingOrganizationName") + def delta_sharing_organization_name(self) -> Optional[str]: + """ + The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + """ + return pulumi.get(self, "delta_sharing_organization_name") + + @property + @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") + def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: + """ + the expiration duration in seconds on recipient data access tokens. + """ + return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") + + @property + @pulumi.getter(name="deltaSharingScope") + def delta_sharing_scope(self) -> Optional[str]: + """ + Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + """ + return pulumi.get(self, "delta_sharing_scope") + + @property + @pulumi.getter(name="externalAccessEnabled") + def external_access_enabled(self) -> Optional[bool]: + return pulumi.get(self, "external_access_enabled") + + @property + @pulumi.getter(name="globalMetastoreId") + def global_metastore_id(self) -> Optional[str]: + """ + Identifier in form of `::` for use in Databricks to Databricks Delta Sharing. + """ + return pulumi.get(self, "global_metastore_id") + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Metastore ID. + """ + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of metastore. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Username/group name/sp application_id of the metastore owner. + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter(name="privilegeModelVersion") + def privilege_model_version(self) -> Optional[str]: + """ + the version of the privilege model used by the metastore. + """ + return pulumi.get(self, "privilege_model_version") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + """ + (Mandatory for account-level) The region of the metastore. + """ + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Path on cloud storage account, where managed `Table` are stored. + """ + return pulumi.get(self, "storage_root") + + @property + @pulumi.getter(name="storageRootCredentialId") + def storage_root_credential_id(self) -> Optional[str]: + """ + ID of a storage credential used for the `storage_root`. + """ + return pulumi.get(self, "storage_root_credential_id") + + @property + @pulumi.getter(name="storageRootCredentialName") + def storage_root_credential_name(self) -> Optional[str]: + """ + Name of a storage credential used for the `storage_root`. + """ + return pulumi.get(self, "storage_root_credential_name") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Timestamp (in milliseconds) when the current metastore was updated. + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the ID of the identity that updated the current metastore. + """ + return pulumi.get(self, "updated_by") + + +@pulumi.output_type +class GetDbfsFilePathsPathListResult(dict): + def __init__(__self__, *, + file_size: Optional[int] = None, + path: Optional[str] = None): + """ + :param str path: Path on DBFS for the file to perform listing + """ + if file_size is not None: + pulumi.set(__self__, "file_size", file_size) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="fileSize") + def file_size(self) -> Optional[int]: + return pulumi.get(self, "file_size") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + Path on DBFS for the file to perform listing + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class GetExternalLocationExternalLocationInfoResult(dict): + def __init__(__self__, *, + access_point: Optional[str] = None, + browse_only: Optional[bool] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + credential_id: Optional[str] = None, + credential_name: Optional[str] = None, + encryption_details: Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsResult'] = None, + fallback: Optional[bool] = None, + isolation_mode: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + read_only: Optional[bool] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None, + url: Optional[str] = None): + """ + :param str access_point: The ARN of the s3 access point to use with the external location (AWS). + :param str comment: User-supplied comment. + :param int created_at: Time at which this catalog was created, in epoch milliseconds. + :param str created_by: Username of catalog creator. + :param str credential_id: Unique ID of storage credential. + :param str credential_name: Name of the StorageCredential to use with this external location. + :param 'GetExternalLocationExternalLocationInfoEncryptionDetailsArgs' encryption_details: The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + :param str metastore_id: Unique identifier of the parent Metastore. + :param str name: The name of the external location + :param str owner: Username/groupname/sp application_id of the external location owner. + :param bool read_only: Indicates whether the external location is read-only. + :param int updated_at: Time at which this catalog was last modified, in epoch milliseconds. + :param str updated_by: Username of user who last modified catalog. + :param str url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + """ + if access_point is not None: + pulumi.set(__self__, "access_point", access_point) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if credential_id is not None: + pulumi.set(__self__, "credential_id", credential_id) + if credential_name is not None: + pulumi.set(__self__, "credential_name", credential_name) + if encryption_details is not None: + pulumi.set(__self__, "encryption_details", encryption_details) + if fallback is not None: + pulumi.set(__self__, "fallback", fallback) + if isolation_mode is not None: + pulumi.set(__self__, "isolation_mode", isolation_mode) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if read_only is not None: + pulumi.set(__self__, "read_only", read_only) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if url is not None: + pulumi.set(__self__, "url", url) + + @property + @pulumi.getter(name="accessPoint") + def access_point(self) -> Optional[str]: + """ + The ARN of the s3 access point to use with the external location (AWS). + """ + return pulumi.get(self, "access_point") + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + User-supplied comment. + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this catalog was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of catalog creator. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="credentialId") + def credential_id(self) -> Optional[str]: + """ + Unique ID of storage credential. + """ + return pulumi.get(self, "credential_id") + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> Optional[str]: + """ + Name of the StorageCredential to use with this external location. + """ + return pulumi.get(self, "credential_name") + + @property + @pulumi.getter(name="encryptionDetails") + def encryption_details(self) -> Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsResult']: + """ + The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS). + """ + return pulumi.get(self, "encryption_details") + + @property + @pulumi.getter + def fallback(self) -> Optional[bool]: + return pulumi.get(self, "fallback") + + @property + @pulumi.getter(name="isolationMode") + def isolation_mode(self) -> Optional[str]: + return pulumi.get(self, "isolation_mode") + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of the parent Metastore. + """ + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the external location + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Username/groupname/sp application_id of the external location owner. + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> Optional[bool]: + """ + Indicates whether the external location is read-only. + """ + return pulumi.get(self, "read_only") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this catalog was last modified, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified catalog. + """ + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter + def url(self) -> Optional[str]: + """ + Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). + """ + return pulumi.get(self, "url") + + +@pulumi.output_type +class GetExternalLocationExternalLocationInfoEncryptionDetailsResult(dict): + def __init__(__self__, *, + sse_encryption_details: Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult'] = None): + if sse_encryption_details is not None: + pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) + + @property + @pulumi.getter(name="sseEncryptionDetails") + def sse_encryption_details(self) -> Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult']: + return pulumi.get(self, "sse_encryption_details") + + +@pulumi.output_type +class GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult(dict): + def __init__(__self__, *, + algorithm: Optional[str] = None, + aws_kms_key_arn: Optional[str] = None): + if algorithm is not None: + pulumi.set(__self__, "algorithm", algorithm) + if aws_kms_key_arn is not None: + pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) + + @property + @pulumi.getter + def algorithm(self) -> Optional[str]: + return pulumi.get(self, "algorithm") + + @property + @pulumi.getter(name="awsKmsKeyArn") + def aws_kms_key_arn(self) -> Optional[str]: + return pulumi.get(self, "aws_kms_key_arn") + + +@pulumi.output_type +class GetFunctionsFunctionResult(dict): + def __init__(__self__, *, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + data_type: Optional[str] = None, + external_language: Optional[str] = None, + external_name: Optional[str] = None, + full_data_type: Optional[str] = None, + full_name: Optional[str] = None, + function_id: Optional[str] = None, + input_params: Optional[Sequence['outputs.GetFunctionsFunctionInputParamResult']] = None, + is_deterministic: Optional[bool] = None, + is_null_call: Optional[bool] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + parameter_style: Optional[str] = None, + properties: Optional[str] = None, + return_params: Optional[Sequence['outputs.GetFunctionsFunctionReturnParamResult']] = None, + routine_body: Optional[str] = None, + routine_definition: Optional[str] = None, + routine_dependencies: Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyResult']] = None, + schema_name: Optional[str] = None, + security_type: Optional[str] = None, + specific_name: Optional[str] = None, + sql_data_access: Optional[str] = None, + sql_path: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param bool browse_only: Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. + :param str catalog_name: Name of databricks_catalog. + :param str comment: User-provided free-form text description. + :param int created_at: Time at which this function was created, in epoch milliseconds. + :param str created_by: Username of function creator. + :param str data_type: Scalar function return data type. + :param str external_language: External function language. + :param str external_name: External function name. + :param str full_data_type: Pretty printed function data type. + :param str full_name: Full name of function, in form of catalog_name.schema_name.function__name + :param str function_id: Id of Function, relative to parent schema. + :param Sequence['GetFunctionsFunctionInputParamArgs'] input_params: object describing input parameters. Consists of the single attribute: + :param bool is_deterministic: Boolean flag specifying whether the function is deterministic. + :param bool is_null_call: Boolean flag whether function null call. + :param str metastore_id: Unique identifier of parent metastore. + :param str name: Name of parameter. + :param str owner: Username of current owner of function. + :param str parameter_style: Function parameter style. `S` is the value for SQL. + :param str properties: JSON-serialized key-value pair map, encoded (escaped) as a string. + :param Sequence['GetFunctionsFunctionReturnParamArgs'] return_params: Table function return parameters. See `input_params` for description. + :param str routine_body: Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. + :param str routine_definition: Function body. + :param Sequence['GetFunctionsFunctionRoutineDependencyArgs'] routine_dependencies: Function dependencies. + :param str schema_name: Name of databricks_schema. + :param str security_type: Function security type. (Enum: `DEFINER`). + :param str specific_name: Specific name of the function; Reserved for future use. + :param str sql_data_access: Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). + :param str sql_path: List of schemes whose objects can be referenced without qualification. + :param int updated_at: Time at which this function was created, in epoch milliseconds. + :param str updated_by: Username of user who last modified function. + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if external_language is not None: + pulumi.set(__self__, "external_language", external_language) + if external_name is not None: + pulumi.set(__self__, "external_name", external_name) + if full_data_type is not None: + pulumi.set(__self__, "full_data_type", full_data_type) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if function_id is not None: + pulumi.set(__self__, "function_id", function_id) + if input_params is not None: + pulumi.set(__self__, "input_params", input_params) + if is_deterministic is not None: + pulumi.set(__self__, "is_deterministic", is_deterministic) + if is_null_call is not None: + pulumi.set(__self__, "is_null_call", is_null_call) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if parameter_style is not None: + pulumi.set(__self__, "parameter_style", parameter_style) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if return_params is not None: + pulumi.set(__self__, "return_params", return_params) + if routine_body is not None: + pulumi.set(__self__, "routine_body", routine_body) + if routine_definition is not None: + pulumi.set(__self__, "routine_definition", routine_definition) + if routine_dependencies is not None: + pulumi.set(__self__, "routine_dependencies", routine_dependencies) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if security_type is not None: + pulumi.set(__self__, "security_type", security_type) + if specific_name is not None: + pulumi.set(__self__, "specific_name", specific_name) + if sql_data_access is not None: + pulumi.set(__self__, "sql_data_access", sql_data_access) + if sql_path is not None: + pulumi.set(__self__, "sql_path", sql_path) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + + @property + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + """ + Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. + """ + return pulumi.get(self, "browse_only") + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + Name of databricks_catalog. + """ + return pulumi.get(self, "catalog_name") + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + User-provided free-form text description. + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + Time at which this function was created, in epoch milliseconds. + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + Username of function creator. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[str]: + """ + Scalar function return data type. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter(name="externalLanguage") + def external_language(self) -> Optional[str]: + """ + External function language. + """ + return pulumi.get(self, "external_language") + + @property + @pulumi.getter(name="externalName") + def external_name(self) -> Optional[str]: + """ + External function name. + """ + return pulumi.get(self, "external_name") + + @property + @pulumi.getter(name="fullDataType") + def full_data_type(self) -> Optional[str]: + """ + Pretty printed function data type. + """ + return pulumi.get(self, "full_data_type") + + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + Full name of function, in form of catalog_name.schema_name.function__name + """ + return pulumi.get(self, "full_name") + + @property + @pulumi.getter(name="functionId") + def function_id(self) -> Optional[str]: + """ + Id of Function, relative to parent schema. + """ + return pulumi.get(self, "function_id") + + @property + @pulumi.getter(name="inputParams") + def input_params(self) -> Optional[Sequence['outputs.GetFunctionsFunctionInputParamResult']]: + """ + object describing input parameters. Consists of the single attribute: + """ + return pulumi.get(self, "input_params") + + @property + @pulumi.getter(name="isDeterministic") + def is_deterministic(self) -> Optional[bool]: + """ + Boolean flag specifying whether the function is deterministic. + """ + return pulumi.get(self, "is_deterministic") + + @property + @pulumi.getter(name="isNullCall") + def is_null_call(self) -> Optional[bool]: + """ + Boolean flag whether function null call. + """ + return pulumi.get(self, "is_null_call") + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + Unique identifier of parent metastore. + """ + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of parameter. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Username of current owner of function. + """ + return pulumi.get(self, "owner") + + @property + @pulumi.getter(name="parameterStyle") + def parameter_style(self) -> Optional[str]: + """ + Function parameter style. `S` is the value for SQL. + """ + return pulumi.get(self, "parameter_style") + + @property + @pulumi.getter + def properties(self) -> Optional[str]: + """ + JSON-serialized key-value pair map, encoded (escaped) as a string. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="returnParams") + def return_params(self) -> Optional[Sequence['outputs.GetFunctionsFunctionReturnParamResult']]: + """ + Table function return parameters. See `input_params` for description. + """ + return pulumi.get(self, "return_params") + + @property + @pulumi.getter(name="routineBody") + def routine_body(self) -> Optional[str]: + """ + Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. + """ + return pulumi.get(self, "routine_body") + + @property + @pulumi.getter(name="routineDefinition") + def routine_definition(self) -> Optional[str]: + """ + Function body. + """ + return pulumi.get(self, "routine_definition") + + @property + @pulumi.getter(name="routineDependencies") + def routine_dependencies(self) -> Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyResult']]: + """ + Function dependencies. + """ + return pulumi.get(self, "routine_dependencies") + + @property + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + Name of databricks_schema. + """ + return pulumi.get(self, "schema_name") + + @property + @pulumi.getter(name="securityType") + def security_type(self) -> Optional[str]: + """ + Function security type. (Enum: `DEFINER`). + """ + return pulumi.get(self, "security_type") + + @property + @pulumi.getter(name="specificName") + def specific_name(self) -> Optional[str]: + """ + Specific name of the function; Reserved for future use. + """ + return pulumi.get(self, "specific_name") + + @property + @pulumi.getter(name="sqlDataAccess") + def sql_data_access(self) -> Optional[str]: + """ + Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). + """ + return pulumi.get(self, "sql_data_access") + + @property + @pulumi.getter(name="sqlPath") + def sql_path(self) -> Optional[str]: + """ + List of schemes whose objects can be referenced without qualification. + """ + return pulumi.get(self, "sql_path") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + Time at which this function was created, in epoch milliseconds. + """ + return pulumi.get(self, "updated_at") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + Username of user who last modified function. + """ + return pulumi.get(self, "updated_by") + + +@pulumi.output_type +class GetFunctionsFunctionInputParamResult(dict): + def __init__(__self__, *, + parameters: Optional[Sequence['outputs.GetFunctionsFunctionInputParamParameterResult']] = None): + """ + :param Sequence['GetFunctionsFunctionInputParamParameterArgs'] parameters: The array of definitions of the function's parameters: + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def parameters(self) -> Optional[Sequence['outputs.GetFunctionsFunctionInputParamParameterResult']]: + """ + The array of definitions of the function's parameters: + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class GetFunctionsFunctionInputParamParameterResult(dict): + def __init__(__self__, *, + name: str, + position: int, + type_name: str, + type_text: str, + comment: Optional[str] = None, + parameter_default: Optional[str] = None, + parameter_mode: Optional[str] = None, + parameter_type: Optional[str] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = None): + """ + :param str name: Name of parameter. + :param int position: Ordinal position of column (starting at position 0). + :param str type_name: Name of type (INT, STRUCT, MAP, etc.). + :param str type_text: Full data type spec, SQL/catalogString text. + :param str comment: User-provided free-form text description. + :param str parameter_default: Default value of the parameter. + :param str parameter_mode: The mode of the function parameter. + :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). + :param str type_interval_type: Format of IntervalType. + :param str type_json: Full data type spec, JSON-serialized. + :param int type_precision: Digits of precision; required on Create for DecimalTypes. + :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "position", position) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "type_text", type_text) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if parameter_default is not None: + pulumi.set(__self__, "parameter_default", parameter_default) + if parameter_mode is not None: + pulumi.set(__self__, "parameter_mode", parameter_mode) + if parameter_type is not None: + pulumi.set(__self__, "parameter_type", parameter_type) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of parameter. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def position(self) -> int: + """ + Ordinal position of column (starting at position 0). + """ + return pulumi.get(self, "position") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + """ + Name of type (INT, STRUCT, MAP, etc.). + """ + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="typeText") + def type_text(self) -> str: + """ + Full data type spec, SQL/catalogString text. + """ + return pulumi.get(self, "type_text") + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + User-provided free-form text description. + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="parameterDefault") + def parameter_default(self) -> Optional[str]: + """ + Default value of the parameter. + """ + return pulumi.get(self, "parameter_default") + + @property + @pulumi.getter(name="parameterMode") + def parameter_mode(self) -> Optional[str]: + """ + The mode of the function parameter. + """ + return pulumi.get(self, "parameter_mode") + + @property + @pulumi.getter(name="parameterType") + def parameter_type(self) -> Optional[str]: + """ + The type of function parameter (`PARAM` or `COLUMN`). + """ + return pulumi.get(self, "parameter_type") + + @property + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: + """ + Format of IntervalType. + """ + return pulumi.get(self, "type_interval_type") + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: + """ + Full data type spec, JSON-serialized. + """ + return pulumi.get(self, "type_json") + + @property + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: + """ + Digits of precision; required on Create for DecimalTypes. + """ + return pulumi.get(self, "type_precision") + + @property + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: + """ + Digits to right of decimal; Required on Create for DecimalTypes. + """ + return pulumi.get(self, "type_scale") + + +@pulumi.output_type +class GetFunctionsFunctionReturnParamResult(dict): + def __init__(__self__, *, + parameters: Optional[Sequence['outputs.GetFunctionsFunctionReturnParamParameterResult']] = None): + """ + :param Sequence['GetFunctionsFunctionReturnParamParameterArgs'] parameters: The array of definitions of the function's parameters: + """ + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def parameters(self) -> Optional[Sequence['outputs.GetFunctionsFunctionReturnParamParameterResult']]: + """ + The array of definitions of the function's parameters: + """ + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class GetFunctionsFunctionReturnParamParameterResult(dict): + def __init__(__self__, *, + name: str, + position: int, + type_name: str, + type_text: str, + comment: Optional[str] = None, + parameter_default: Optional[str] = None, + parameter_mode: Optional[str] = None, + parameter_type: Optional[str] = None, + type_interval_type: Optional[str] = None, + type_json: Optional[str] = None, + type_precision: Optional[int] = None, + type_scale: Optional[int] = None): + """ + :param str name: Name of parameter. + :param int position: Ordinal position of column (starting at position 0). + :param str type_name: Name of type (INT, STRUCT, MAP, etc.). + :param str type_text: Full data type spec, SQL/catalogString text. + :param str comment: User-provided free-form text description. + :param str parameter_default: Default value of the parameter. + :param str parameter_mode: The mode of the function parameter. + :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). + :param str type_interval_type: Format of IntervalType. + :param str type_json: Full data type spec, JSON-serialized. + :param int type_precision: Digits of precision; required on Create for DecimalTypes. + :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "position", position) + pulumi.set(__self__, "type_name", type_name) + pulumi.set(__self__, "type_text", type_text) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if parameter_default is not None: + pulumi.set(__self__, "parameter_default", parameter_default) + if parameter_mode is not None: + pulumi.set(__self__, "parameter_mode", parameter_mode) + if parameter_type is not None: + pulumi.set(__self__, "parameter_type", parameter_type) + if type_interval_type is not None: + pulumi.set(__self__, "type_interval_type", type_interval_type) + if type_json is not None: + pulumi.set(__self__, "type_json", type_json) + if type_precision is not None: + pulumi.set(__self__, "type_precision", type_precision) + if type_scale is not None: + pulumi.set(__self__, "type_scale", type_scale) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of parameter. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def position(self) -> int: + """ + Ordinal position of column (starting at position 0). + """ + return pulumi.get(self, "position") + + @property + @pulumi.getter(name="typeName") + def type_name(self) -> str: + """ + Name of type (INT, STRUCT, MAP, etc.). + """ + return pulumi.get(self, "type_name") + + @property + @pulumi.getter(name="typeText") + def type_text(self) -> str: + """ + Full data type spec, SQL/catalogString text. + """ + return pulumi.get(self, "type_text") + + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + User-provided free-form text description. + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="parameterDefault") + def parameter_default(self) -> Optional[str]: + """ + Default value of the parameter. + """ + return pulumi.get(self, "parameter_default") + + @property + @pulumi.getter(name="parameterMode") + def parameter_mode(self) -> Optional[str]: + """ + The mode of the function parameter. + """ + return pulumi.get(self, "parameter_mode") + + @property + @pulumi.getter(name="parameterType") + def parameter_type(self) -> Optional[str]: + """ + The type of function parameter (`PARAM` or `COLUMN`). + """ + return pulumi.get(self, "parameter_type") + + @property + @pulumi.getter(name="typeIntervalType") + def type_interval_type(self) -> Optional[str]: + """ + Format of IntervalType. + """ + return pulumi.get(self, "type_interval_type") + + @property + @pulumi.getter(name="typeJson") + def type_json(self) -> Optional[str]: + """ + Full data type spec, JSON-serialized. + """ + return pulumi.get(self, "type_json") + + @property + @pulumi.getter(name="typePrecision") + def type_precision(self) -> Optional[int]: + """ + Digits of precision; required on Create for DecimalTypes. + """ + return pulumi.get(self, "type_precision") + + @property + @pulumi.getter(name="typeScale") + def type_scale(self) -> Optional[int]: + """ + Digits to right of decimal; Required on Create for DecimalTypes. + """ + return pulumi.get(self, "type_scale") + + +@pulumi.output_type +class GetFunctionsFunctionRoutineDependencyResult(dict): + def __init__(__self__, *, + dependencies: Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyDependencyResult']] = None): + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + + @property + @pulumi.getter + def dependencies(self) -> Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyDependencyResult']]: + return pulumi.get(self, "dependencies") + + +@pulumi.output_type +class GetFunctionsFunctionRoutineDependencyDependencyResult(dict): + def __init__(__self__, *, + functions: Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyDependencyFunctionResult']] = None, + tables: Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyDependencyTableResult']] = None): + if functions is not None: + pulumi.set(__self__, "functions", functions) + if tables is not None: + pulumi.set(__self__, "tables", tables) + + @property + @pulumi.getter + def functions(self) -> Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyDependencyFunctionResult']]: + return pulumi.get(self, "functions") + + @property + @pulumi.getter + def tables(self) -> Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependencyDependencyTableResult']]: + return pulumi.get(self, "tables") + + +@pulumi.output_type +class GetFunctionsFunctionRoutineDependencyDependencyFunctionResult(dict): + def __init__(__self__, *, + function_full_name: str): + pulumi.set(__self__, "function_full_name", function_full_name) + + @property + @pulumi.getter(name="functionFullName") + def function_full_name(self) -> str: + return pulumi.get(self, "function_full_name") + + +@pulumi.output_type +class GetFunctionsFunctionRoutineDependencyDependencyTableResult(dict): + def __init__(__self__, *, + table_full_name: str): + pulumi.set(__self__, "table_full_name", table_full_name) + + @property + @pulumi.getter(name="tableFullName") + def table_full_name(self) -> str: + return pulumi.get(self, "table_full_name") + + +@pulumi.output_type +class GetInstancePoolPoolInfoResult(dict): + def __init__(__self__, *, + default_tags: Mapping[str, str], + idle_instance_autotermination_minutes: int, + instance_pool_id: str, + instance_pool_name: str, + aws_attributes: Optional['outputs.GetInstancePoolPoolInfoAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetInstancePoolPoolInfoAzureAttributesResult'] = None, + custom_tags: Optional[Mapping[str, str]] = None, + disk_spec: Optional['outputs.GetInstancePoolPoolInfoDiskSpecResult'] = None, + enable_elastic_disk: Optional[bool] = None, + gcp_attributes: Optional['outputs.GetInstancePoolPoolInfoGcpAttributesResult'] = None, + instance_pool_fleet_attributes: Optional[Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeResult']] = None, + max_capacity: Optional[int] = None, + min_idle_instances: Optional[int] = None, + node_type_id: Optional[str] = None, + preloaded_docker_images: Optional[Sequence['outputs.GetInstancePoolPoolInfoPreloadedDockerImageResult']] = None, + preloaded_spark_versions: Optional[Sequence[str]] = None, + state: Optional[str] = None, + stats: Optional['outputs.GetInstancePoolPoolInfoStatsResult'] = None): + pulumi.set(__self__, "default_tags", default_tags) + pulumi.set(__self__, "idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + pulumi.set(__self__, "instance_pool_name", instance_pool_name) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if disk_spec is not None: + pulumi.set(__self__, "disk_spec", disk_spec) + if enable_elastic_disk is not None: + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if instance_pool_fleet_attributes is not None: + pulumi.set(__self__, "instance_pool_fleet_attributes", instance_pool_fleet_attributes) + if max_capacity is not None: + pulumi.set(__self__, "max_capacity", max_capacity) + if min_idle_instances is not None: + pulumi.set(__self__, "min_idle_instances", min_idle_instances) + if node_type_id is not None: + pulumi.set(__self__, "node_type_id", node_type_id) + if preloaded_docker_images is not None: + pulumi.set(__self__, "preloaded_docker_images", preloaded_docker_images) + if preloaded_spark_versions is not None: + pulumi.set(__self__, "preloaded_spark_versions", preloaded_spark_versions) + if state is not None: + pulumi.set(__self__, "state", state) + if stats is not None: + pulumi.set(__self__, "stats", stats) + + @property + @pulumi.getter(name="defaultTags") + def default_tags(self) -> Mapping[str, str]: + return pulumi.get(self, "default_tags") + + @property + @pulumi.getter(name="idleInstanceAutoterminationMinutes") + def idle_instance_autotermination_minutes(self) -> int: + return pulumi.get(self, "idle_instance_autotermination_minutes") + + @property + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> str: + return pulumi.get(self, "instance_pool_id") + + @property + @pulumi.getter(name="instancePoolName") + def instance_pool_name(self) -> str: + return pulumi.get(self, "instance_pool_name") + + @property + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['outputs.GetInstancePoolPoolInfoAwsAttributesResult']: + return pulumi.get(self, "aws_attributes") + + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['outputs.GetInstancePoolPoolInfoAzureAttributesResult']: + return pulumi.get(self, "azure_attributes") + + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") + + @property + @pulumi.getter(name="diskSpec") + def disk_spec(self) -> Optional['outputs.GetInstancePoolPoolInfoDiskSpecResult']: + return pulumi.get(self, "disk_spec") + + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> Optional[bool]: + return pulumi.get(self, "enable_elastic_disk") + + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['outputs.GetInstancePoolPoolInfoGcpAttributesResult']: + return pulumi.get(self, "gcp_attributes") + + @property + @pulumi.getter(name="instancePoolFleetAttributes") + def instance_pool_fleet_attributes(self) -> Optional[Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeResult']]: + return pulumi.get(self, "instance_pool_fleet_attributes") + + @property + @pulumi.getter(name="maxCapacity") + def max_capacity(self) -> Optional[int]: + return pulumi.get(self, "max_capacity") + + @property + @pulumi.getter(name="minIdleInstances") + def min_idle_instances(self) -> Optional[int]: + return pulumi.get(self, "min_idle_instances") + + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> Optional[str]: + return pulumi.get(self, "node_type_id") + + @property + @pulumi.getter(name="preloadedDockerImages") + def preloaded_docker_images(self) -> Optional[Sequence['outputs.GetInstancePoolPoolInfoPreloadedDockerImageResult']]: + return pulumi.get(self, "preloaded_docker_images") + + @property + @pulumi.getter(name="preloadedSparkVersions") + def preloaded_spark_versions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "preloaded_spark_versions") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @property + @pulumi.getter + def stats(self) -> Optional['outputs.GetInstancePoolPoolInfoStatsResult']: + return pulumi.get(self, "stats") + + +@pulumi.output_type +class GetInstancePoolPoolInfoAwsAttributesResult(dict): + def __init__(__self__, *, + zone_id: str, + availability: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None): + pulumi.set(__self__, "zone_id", zone_id) + if availability is not None: + pulumi.set(__self__, "availability", availability) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + return pulumi.get(self, "zone_id") + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + +@pulumi.output_type +class GetInstancePoolPoolInfoAzureAttributesResult(dict): + def __init__(__self__, *, + availability: Optional[str] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") + + +@pulumi.output_type +class GetInstancePoolPoolInfoDiskSpecResult(dict): + def __init__(__self__, *, + disk_count: Optional[int] = None, + disk_size: Optional[int] = None, + disk_type: Optional['outputs.GetInstancePoolPoolInfoDiskSpecDiskTypeResult'] = None): + if disk_count is not None: + pulumi.set(__self__, "disk_count", disk_count) + if disk_size is not None: + pulumi.set(__self__, "disk_size", disk_size) + if disk_type is not None: + pulumi.set(__self__, "disk_type", disk_type) + + @property + @pulumi.getter(name="diskCount") + def disk_count(self) -> Optional[int]: + return pulumi.get(self, "disk_count") + + @property + @pulumi.getter(name="diskSize") + def disk_size(self) -> Optional[int]: + return pulumi.get(self, "disk_size") + + @property + @pulumi.getter(name="diskType") + def disk_type(self) -> Optional['outputs.GetInstancePoolPoolInfoDiskSpecDiskTypeResult']: + return pulumi.get(self, "disk_type") + + +@pulumi.output_type +class GetInstancePoolPoolInfoDiskSpecDiskTypeResult(dict): + def __init__(__self__, *, + azure_disk_volume_type: Optional[str] = None, + ebs_volume_type: Optional[str] = None): + if azure_disk_volume_type is not None: + pulumi.set(__self__, "azure_disk_volume_type", azure_disk_volume_type) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + + @property + @pulumi.getter(name="azureDiskVolumeType") + def azure_disk_volume_type(self) -> Optional[str]: + return pulumi.get(self, "azure_disk_volume_type") + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + +@pulumi.output_type +class GetInstancePoolPoolInfoGcpAttributesResult(dict): + def __init__(__self__, *, + local_ssd_count: int, + zone_id: str, + gcp_availability: Optional[str] = None): + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + pulumi.set(__self__, "zone_id", zone_id) + if gcp_availability is not None: + pulumi.set(__self__, "gcp_availability", gcp_availability) + + @property + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> int: + return pulumi.get(self, "local_ssd_count") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> str: + return pulumi.get(self, "zone_id") + + @property + @pulumi.getter(name="gcpAvailability") + def gcp_availability(self) -> Optional[str]: + return pulumi.get(self, "gcp_availability") + + +@pulumi.output_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeResult(dict): + def __init__(__self__, *, + launch_template_overrides: Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult'], + fleet_on_demand_option: Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult'] = None, + fleet_spot_option: Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult'] = None): + pulumi.set(__self__, "launch_template_overrides", launch_template_overrides) + if fleet_on_demand_option is not None: + pulumi.set(__self__, "fleet_on_demand_option", fleet_on_demand_option) + if fleet_spot_option is not None: + pulumi.set(__self__, "fleet_spot_option", fleet_spot_option) + + @property + @pulumi.getter(name="launchTemplateOverrides") + def launch_template_overrides(self) -> Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult']: + return pulumi.get(self, "launch_template_overrides") + + @property + @pulumi.getter(name="fleetOnDemandOption") + def fleet_on_demand_option(self) -> Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult']: + return pulumi.get(self, "fleet_on_demand_option") + + @property + @pulumi.getter(name="fleetSpotOption") + def fleet_spot_option(self) -> Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult']: + return pulumi.get(self, "fleet_spot_option") + + +@pulumi.output_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult(dict): + def __init__(__self__, *, + allocation_strategy: str, + instance_pools_to_use_count: Optional[int] = None): + pulumi.set(__self__, "allocation_strategy", allocation_strategy) + if instance_pools_to_use_count is not None: + pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + + @property + @pulumi.getter(name="allocationStrategy") + def allocation_strategy(self) -> str: + return pulumi.get(self, "allocation_strategy") + + @property + @pulumi.getter(name="instancePoolsToUseCount") + def instance_pools_to_use_count(self) -> Optional[int]: + return pulumi.get(self, "instance_pools_to_use_count") + + +@pulumi.output_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult(dict): + def __init__(__self__, *, + allocation_strategy: str, + instance_pools_to_use_count: Optional[int] = None): + pulumi.set(__self__, "allocation_strategy", allocation_strategy) + if instance_pools_to_use_count is not None: + pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + + @property + @pulumi.getter(name="allocationStrategy") + def allocation_strategy(self) -> str: + return pulumi.get(self, "allocation_strategy") + + @property + @pulumi.getter(name="instancePoolsToUseCount") + def instance_pools_to_use_count(self) -> Optional[int]: + return pulumi.get(self, "instance_pools_to_use_count") + + +@pulumi.output_type +class GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult(dict): + def __init__(__self__, *, + availability_zone: str, + instance_type: str): + pulumi.set(__self__, "availability_zone", availability_zone) + pulumi.set(__self__, "instance_type", instance_type) + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> str: + return pulumi.get(self, "availability_zone") + + @property + @pulumi.getter(name="instanceType") + def instance_type(self) -> str: + return pulumi.get(self, "instance_type") + + +@pulumi.output_type +class GetInstancePoolPoolInfoPreloadedDockerImageResult(dict): + def __init__(__self__, *, + url: str, + basic_auth: Optional['outputs.GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) + + @property + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") + + @property + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['outputs.GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult']: + return pulumi.get(self, "basic_auth") + + +@pulumi.output_type +class GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult(dict): + def __init__(__self__, *, + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> str: + return pulumi.get(self, "password") + + @property + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetInstancePoolPoolInfoStatsResult(dict): + def __init__(__self__, *, + idle_count: Optional[int] = None, + pending_idle_count: Optional[int] = None, + pending_used_count: Optional[int] = None, + used_count: Optional[int] = None): + if idle_count is not None: + pulumi.set(__self__, "idle_count", idle_count) + if pending_idle_count is not None: + pulumi.set(__self__, "pending_idle_count", pending_idle_count) + if pending_used_count is not None: + pulumi.set(__self__, "pending_used_count", pending_used_count) + if used_count is not None: + pulumi.set(__self__, "used_count", used_count) + + @property + @pulumi.getter(name="idleCount") + def idle_count(self) -> Optional[int]: + return pulumi.get(self, "idle_count") + + @property + @pulumi.getter(name="pendingIdleCount") + def pending_idle_count(self) -> Optional[int]: + return pulumi.get(self, "pending_idle_count") + + @property + @pulumi.getter(name="pendingUsedCount") + def pending_used_count(self) -> Optional[int]: + return pulumi.get(self, "pending_used_count") + + @property + @pulumi.getter(name="usedCount") + def used_count(self) -> Optional[int]: + return pulumi.get(self, "used_count") + + +@pulumi.output_type +class GetInstanceProfilesInstanceProfileResult(dict): + def __init__(__self__, *, + arn: str, + is_meta: bool, + name: str, + role_arn: str): + """ + :param str arn: ARN of the instance profile. + :param bool is_meta: Whether the instance profile is a meta instance profile or not. + :param str name: Name of the instance profile. + :param str role_arn: ARN of the role attached to the instance profile. + """ + pulumi.set(__self__, "arn", arn) + pulumi.set(__self__, "is_meta", is_meta) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "role_arn", role_arn) + + @property + @pulumi.getter + def arn(self) -> str: + """ + ARN of the instance profile. + """ + return pulumi.get(self, "arn") + + @property + @pulumi.getter(name="isMeta") + def is_meta(self) -> bool: + """ + Whether the instance profile is a meta instance profile or not. + """ + return pulumi.get(self, "is_meta") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the instance profile. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> str: + """ + ARN of the role attached to the instance profile. + """ + return pulumi.get(self, "role_arn") + + +@pulumi.output_type +class GetJobJobSettingsResult(dict): + def __init__(__self__, *, + run_as_user_name: str, + created_time: Optional[int] = None, + creator_user_name: Optional[str] = None, + job_id: Optional[int] = None, + settings: Optional['outputs.GetJobJobSettingsSettingsResult'] = None): + pulumi.set(__self__, "run_as_user_name", run_as_user_name) + if created_time is not None: + pulumi.set(__self__, "created_time", created_time) + if creator_user_name is not None: + pulumi.set(__self__, "creator_user_name", creator_user_name) + if job_id is not None: + pulumi.set(__self__, "job_id", job_id) + if settings is not None: + pulumi.set(__self__, "settings", settings) + + @property + @pulumi.getter(name="runAsUserName") + def run_as_user_name(self) -> str: + return pulumi.get(self, "run_as_user_name") + + @property + @pulumi.getter(name="createdTime") + def created_time(self) -> Optional[int]: + return pulumi.get(self, "created_time") + + @property + @pulumi.getter(name="creatorUserName") + def creator_user_name(self) -> Optional[str]: + return pulumi.get(self, "creator_user_name") + + @property + @pulumi.getter(name="jobId") + def job_id(self) -> Optional[int]: + return pulumi.get(self, "job_id") + + @property + @pulumi.getter + def settings(self) -> Optional['outputs.GetJobJobSettingsSettingsResult']: + return pulumi.get(self, "settings") + + +@pulumi.output_type +class GetJobJobSettingsSettingsResult(dict): + def __init__(__self__, *, + format: str, + run_as: 'outputs.GetJobJobSettingsSettingsRunAsResult', + continuous: Optional['outputs.GetJobJobSettingsSettingsContinuousResult'] = None, + dbt_task: Optional['outputs.GetJobJobSettingsSettingsDbtTaskResult'] = None, + deployment: Optional['outputs.GetJobJobSettingsSettingsDeploymentResult'] = None, + description: Optional[str] = None, + edit_mode: Optional[str] = None, + email_notifications: Optional['outputs.GetJobJobSettingsSettingsEmailNotificationsResult'] = None, + environments: Optional[Sequence['outputs.GetJobJobSettingsSettingsEnvironmentResult']] = None, + existing_cluster_id: Optional[str] = None, + git_source: Optional['outputs.GetJobJobSettingsSettingsGitSourceResult'] = None, + health: Optional['outputs.GetJobJobSettingsSettingsHealthResult'] = None, + job_clusters: Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterResult']] = None, + libraries: Optional[Sequence['outputs.GetJobJobSettingsSettingsLibraryResult']] = None, + max_concurrent_runs: Optional[int] = None, + max_retries: Optional[int] = None, + min_retry_interval_millis: Optional[int] = None, + name: Optional[str] = None, + new_cluster: Optional['outputs.GetJobJobSettingsSettingsNewClusterResult'] = None, + notebook_task: Optional['outputs.GetJobJobSettingsSettingsNotebookTaskResult'] = None, + notification_settings: Optional['outputs.GetJobJobSettingsSettingsNotificationSettingsResult'] = None, + parameters: Optional[Sequence['outputs.GetJobJobSettingsSettingsParameterResult']] = None, + pipeline_task: Optional['outputs.GetJobJobSettingsSettingsPipelineTaskResult'] = None, + python_wheel_task: Optional['outputs.GetJobJobSettingsSettingsPythonWheelTaskResult'] = None, + queue: Optional['outputs.GetJobJobSettingsSettingsQueueResult'] = None, + retry_on_timeout: Optional[bool] = None, + run_job_task: Optional['outputs.GetJobJobSettingsSettingsRunJobTaskResult'] = None, + schedule: Optional['outputs.GetJobJobSettingsSettingsScheduleResult'] = None, + spark_jar_task: Optional['outputs.GetJobJobSettingsSettingsSparkJarTaskResult'] = None, + spark_python_task: Optional['outputs.GetJobJobSettingsSettingsSparkPythonTaskResult'] = None, + spark_submit_task: Optional['outputs.GetJobJobSettingsSettingsSparkSubmitTaskResult'] = None, + tags: Optional[Mapping[str, str]] = None, + tasks: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskResult']] = None, + timeout_seconds: Optional[int] = None, + trigger: Optional['outputs.GetJobJobSettingsSettingsTriggerResult'] = None, + webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsWebhookNotificationsResult'] = None): + """ + :param str name: the job name of Job if the resource was matched by id. + """ + pulumi.set(__self__, "format", format) + pulumi.set(__self__, "run_as", run_as) + if continuous is not None: + pulumi.set(__self__, "continuous", continuous) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if deployment is not None: + pulumi.set(__self__, "deployment", deployment) + if description is not None: + pulumi.set(__self__, "description", description) + if edit_mode is not None: + pulumi.set(__self__, "edit_mode", edit_mode) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environments is not None: + pulumi.set(__self__, "environments", environments) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if git_source is not None: + pulumi.set(__self__, "git_source", git_source) + if health is not None: + pulumi.set(__self__, "health", health) + if job_clusters is not None: + pulumi.set(__self__, "job_clusters", job_clusters) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_concurrent_runs is not None: + pulumi.set(__self__, "max_concurrent_runs", max_concurrent_runs) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if name is not None: + pulumi.set(__self__, "name", name) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if queue is not None: + pulumi.set(__self__, "queue", queue) + if retry_on_timeout is not None: + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if schedule is not None: + pulumi.set(__self__, "schedule", schedule) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if tasks is not None: + pulumi.set(__self__, "tasks", tasks) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if trigger is not None: + pulumi.set(__self__, "trigger", trigger) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) + + @property + @pulumi.getter + def format(self) -> str: + return pulumi.get(self, "format") + + @property + @pulumi.getter(name="runAs") + def run_as(self) -> 'outputs.GetJobJobSettingsSettingsRunAsResult': + return pulumi.get(self, "run_as") + + @property + @pulumi.getter + def continuous(self) -> Optional['outputs.GetJobJobSettingsSettingsContinuousResult']: + return pulumi.get(self, "continuous") + + @property + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional['outputs.GetJobJobSettingsSettingsDbtTaskResult']: + return pulumi.get(self, "dbt_task") + + @property + @pulumi.getter + def deployment(self) -> Optional['outputs.GetJobJobSettingsSettingsDeploymentResult']: + return pulumi.get(self, "deployment") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="editMode") + def edit_mode(self) -> Optional[str]: + return pulumi.get(self, "edit_mode") + + @property + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsEmailNotificationsResult']: + return pulumi.get(self, "email_notifications") + + @property + @pulumi.getter + def environments(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsEnvironmentResult']]: + return pulumi.get(self, "environments") + + @property + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[str]: + return pulumi.get(self, "existing_cluster_id") + + @property + @pulumi.getter(name="gitSource") + def git_source(self) -> Optional['outputs.GetJobJobSettingsSettingsGitSourceResult']: + return pulumi.get(self, "git_source") + + @property + @pulumi.getter + def health(self) -> Optional['outputs.GetJobJobSettingsSettingsHealthResult']: + return pulumi.get(self, "health") + + @property + @pulumi.getter(name="jobClusters") + def job_clusters(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterResult']]: + return pulumi.get(self, "job_clusters") + + @property + @pulumi.getter + def libraries(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsLibraryResult']]: + return pulumi.get(self, "libraries") + + @property + @pulumi.getter(name="maxConcurrentRuns") + def max_concurrent_runs(self) -> Optional[int]: + return pulumi.get(self, "max_concurrent_runs") + + @property + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[int]: + return pulumi.get(self, "max_retries") + + @property + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[int]: + return pulumi.get(self, "min_retry_interval_millis") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + the job name of Job if the resource was matched by id. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterResult']: + return pulumi.get(self, "new_cluster") + + @property + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional['outputs.GetJobJobSettingsSettingsNotebookTaskResult']: + return pulumi.get(self, "notebook_task") + + @property + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional['outputs.GetJobJobSettingsSettingsNotificationSettingsResult']: + return pulumi.get(self, "notification_settings") + + @property + @pulumi.getter + def parameters(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsParameterResult']]: + return pulumi.get(self, "parameters") + + @property + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional['outputs.GetJobJobSettingsSettingsPipelineTaskResult']: + return pulumi.get(self, "pipeline_task") + + @property + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional['outputs.GetJobJobSettingsSettingsPythonWheelTaskResult']: + return pulumi.get(self, "python_wheel_task") + + @property + @pulumi.getter + def queue(self) -> Optional['outputs.GetJobJobSettingsSettingsQueueResult']: + return pulumi.get(self, "queue") + + @property + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> Optional[bool]: + return pulumi.get(self, "retry_on_timeout") + + @property + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional['outputs.GetJobJobSettingsSettingsRunJobTaskResult']: + return pulumi.get(self, "run_job_task") + + @property + @pulumi.getter + def schedule(self) -> Optional['outputs.GetJobJobSettingsSettingsScheduleResult']: + return pulumi.get(self, "schedule") + + @property + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional['outputs.GetJobJobSettingsSettingsSparkJarTaskResult']: + return pulumi.get(self, "spark_jar_task") + + @property + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional['outputs.GetJobJobSettingsSettingsSparkPythonTaskResult']: + return pulumi.get(self, "spark_python_task") + + @property + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional['outputs.GetJobJobSettingsSettingsSparkSubmitTaskResult']: + return pulumi.get(self, "spark_submit_task") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def tasks(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskResult']]: + return pulumi.get(self, "tasks") + + @property + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[int]: + return pulumi.get(self, "timeout_seconds") + + @property + @pulumi.getter + def trigger(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerResult']: + return pulumi.get(self, "trigger") + + @property + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsWebhookNotificationsResult']: + return pulumi.get(self, "webhook_notifications") + + +@pulumi.output_type +class GetJobJobSettingsSettingsContinuousResult(dict): + def __init__(__self__, *, + pause_status: Optional[str] = None): + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") + + +@pulumi.output_type +class GetJobJobSettingsSettingsDbtTaskResult(dict): + def __init__(__self__, *, + commands: Sequence[str], + catalog: Optional[str] = None, + profiles_directory: Optional[str] = None, + project_directory: Optional[str] = None, + schema: Optional[str] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) + + @property + @pulumi.getter + def commands(self) -> Sequence[str]: + return pulumi.get(self, "commands") + + @property + @pulumi.getter + def catalog(self) -> Optional[str]: + return pulumi.get(self, "catalog") + + @property + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[str]: + return pulumi.get(self, "profiles_directory") + + @property + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[str]: + return pulumi.get(self, "project_directory") + + @property + @pulumi.getter + def schema(self) -> Optional[str]: + return pulumi.get(self, "schema") + + @property + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsDeploymentResult(dict): + def __init__(__self__, *, + kind: str, + metadata_file_path: Optional[str] = None): + pulumi.set(__self__, "kind", kind) + if metadata_file_path is not None: + pulumi.set(__self__, "metadata_file_path", metadata_file_path) + + @property + @pulumi.getter + def kind(self) -> str: + return pulumi.get(self, "kind") + + @property + @pulumi.getter(name="metadataFilePath") + def metadata_file_path(self) -> Optional[str]: + return pulumi.get(self, "metadata_file_path") + + +@pulumi.output_type +class GetJobJobSettingsSettingsEmailNotificationsResult(dict): + def __init__(__self__, *, + no_alert_for_skipped_runs: Optional[bool] = None, + on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, + on_failures: Optional[Sequence[str]] = None, + on_starts: Optional[Sequence[str]] = None, + on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, + on_successes: Optional[Sequence[str]] = None): + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) + + @property + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") + + @property + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") + + @property + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_failures") + + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_starts") + + @property + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") + + @property + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_successes") + + +@pulumi.output_type +class GetJobJobSettingsSettingsEnvironmentResult(dict): + def __init__(__self__, *, + environment_key: str, + spec: Optional['outputs.GetJobJobSettingsSettingsEnvironmentSpecResult'] = None): + pulumi.set(__self__, "environment_key", environment_key) + if spec is not None: + pulumi.set(__self__, "spec", spec) + + @property + @pulumi.getter(name="environmentKey") + def environment_key(self) -> str: + return pulumi.get(self, "environment_key") + + @property + @pulumi.getter + def spec(self) -> Optional['outputs.GetJobJobSettingsSettingsEnvironmentSpecResult']: + return pulumi.get(self, "spec") + + +@pulumi.output_type +class GetJobJobSettingsSettingsEnvironmentSpecResult(dict): + def __init__(__self__, *, + client: str, + dependencies: Optional[Sequence[str]] = None): + pulumi.set(__self__, "client", client) + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) + + @property + @pulumi.getter + def client(self) -> str: + return pulumi.get(self, "client") + + @property + @pulumi.getter + def dependencies(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "dependencies") + + +@pulumi.output_type +class GetJobJobSettingsSettingsGitSourceResult(dict): + def __init__(__self__, *, + url: str, + branch: Optional[str] = None, + commit: Optional[str] = None, + job_source: Optional['outputs.GetJobJobSettingsSettingsGitSourceJobSourceResult'] = None, + provider: Optional[str] = None, + tag: Optional[str] = None): + pulumi.set(__self__, "url", url) + if branch is not None: + pulumi.set(__self__, "branch", branch) + if commit is not None: + pulumi.set(__self__, "commit", commit) + if job_source is not None: + pulumi.set(__self__, "job_source", job_source) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if tag is not None: + pulumi.set(__self__, "tag", tag) + + @property + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") + + @property + @pulumi.getter + def branch(self) -> Optional[str]: + return pulumi.get(self, "branch") + + @property + @pulumi.getter + def commit(self) -> Optional[str]: + return pulumi.get(self, "commit") + + @property + @pulumi.getter(name="jobSource") + def job_source(self) -> Optional['outputs.GetJobJobSettingsSettingsGitSourceJobSourceResult']: + return pulumi.get(self, "job_source") + + @property + @pulumi.getter + def provider(self) -> Optional[str]: + return pulumi.get(self, "provider") + + @property + @pulumi.getter + def tag(self) -> Optional[str]: + return pulumi.get(self, "tag") + + +@pulumi.output_type +class GetJobJobSettingsSettingsGitSourceJobSourceResult(dict): + def __init__(__self__, *, + import_from_git_branch: str, + job_config_path: str, + dirty_state: Optional[str] = None): + pulumi.set(__self__, "import_from_git_branch", import_from_git_branch) + pulumi.set(__self__, "job_config_path", job_config_path) + if dirty_state is not None: + pulumi.set(__self__, "dirty_state", dirty_state) + + @property + @pulumi.getter(name="importFromGitBranch") + def import_from_git_branch(self) -> str: + return pulumi.get(self, "import_from_git_branch") + + @property + @pulumi.getter(name="jobConfigPath") + def job_config_path(self) -> str: + return pulumi.get(self, "job_config_path") + + @property + @pulumi.getter(name="dirtyState") + def dirty_state(self) -> Optional[str]: + return pulumi.get(self, "dirty_state") + + +@pulumi.output_type +class GetJobJobSettingsSettingsHealthResult(dict): + def __init__(__self__, *, + rules: Sequence['outputs.GetJobJobSettingsSettingsHealthRuleResult']): + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Sequence['outputs.GetJobJobSettingsSettingsHealthRuleResult']: + return pulumi.get(self, "rules") + + +@pulumi.output_type +class GetJobJobSettingsSettingsHealthRuleResult(dict): + def __init__(__self__, *, + metric: str, + op: str, + value: int): + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def metric(self) -> str: + return pulumi.get(self, "metric") + + @property + @pulumi.getter + def op(self) -> str: + return pulumi.get(self, "op") + + @property + @pulumi.getter + def value(self) -> int: + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterResult(dict): + def __init__(__self__, *, + job_cluster_key: str, + new_cluster: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterResult'): + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + pulumi.set(__self__, "new_cluster", new_cluster) + + @property + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> str: + return pulumi.get(self, "job_cluster_key") + + @property + @pulumi.getter(name="newCluster") + def new_cluster(self) -> 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterResult': + return pulumi.get(self, "new_cluster") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterResult(dict): + def __init__(__self__, *, + driver_instance_pool_id: str, + driver_node_type_id: str, + enable_elastic_disk: bool, + enable_local_disk_encryption: bool, + node_type_id: str, + num_workers: int, + spark_version: str, + apply_policy_default_values: Optional[bool] = None, + autoscale: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleResult'] = None, + autotermination_minutes: Optional[int] = None, + aws_attributes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesResult'] = None, + cluster_id: Optional[str] = None, + cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfResult'] = None, + cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoResult']] = None, + cluster_name: Optional[str] = None, + custom_tags: Optional[Mapping[str, str]] = None, + data_security_mode: Optional[str] = None, + docker_image: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageResult'] = None, + gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesResult'] = None, + idempotency_token: Optional[str] = None, + init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptResult']] = None, + instance_pool_id: Optional[str] = None, + policy_id: Optional[str] = None, + runtime_engine: Optional[str] = None, + single_user_name: Optional[str] = None, + spark_conf: Optional[Mapping[str, str]] = None, + spark_env_vars: Optional[Mapping[str, str]] = None, + ssh_public_keys: Optional[Sequence[str]] = None, + workload_type: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult'] = None): + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + pulumi.set(__self__, "node_type_id", node_type_id) + pulumi.set(__self__, "num_workers", num_workers) + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if autotermination_minutes is not None: + pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) + + @property + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> str: + return pulumi.get(self, "driver_instance_pool_id") + + @property + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> str: + return pulumi.get(self, "driver_node_type_id") + + @property + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> bool: + return pulumi.get(self, "enable_elastic_disk") + + @property + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> bool: + return pulumi.get(self, "enable_local_disk_encryption") + + @property + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> str: + return pulumi.get(self, "node_type_id") + + @property + @pulumi.getter(name="numWorkers") + def num_workers(self) -> int: + return pulumi.get(self, "num_workers") + + @property + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> str: + return pulumi.get(self, "spark_version") + + @property + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[bool]: + return pulumi.get(self, "apply_policy_default_values") + + @property + @pulumi.getter + def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleResult']: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="autoterminationMinutes") + def autotermination_minutes(self) -> Optional[int]: + return pulumi.get(self, "autotermination_minutes") + + @property + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesResult']: + return pulumi.get(self, "aws_attributes") + + @property + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesResult']: + return pulumi.get(self, "azure_attributes") + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: + return pulumi.get(self, "cluster_id") + + @property + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfResult']: + return pulumi.get(self, "cluster_log_conf") + + @property + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoResult']]: + return pulumi.get(self, "cluster_mount_infos") + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: + return pulumi.get(self, "cluster_name") + + @property + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") + + @property + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: + return pulumi.get(self, "data_security_mode") + + @property + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageResult']: + return pulumi.get(self, "docker_image") + + @property + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesResult']: + return pulumi.get(self, "gcp_attributes") + + @property + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: + return pulumi.get(self, "idempotency_token") + + @property + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptResult']]: + return pulumi.get(self, "init_scripts") + + @property + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: + return pulumi.get(self, "instance_pool_id") + + @property + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + return pulumi.get(self, "policy_id") + + @property + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: + return pulumi.get(self, "runtime_engine") + + @property + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: + return pulumi.get(self, "single_user_name") + + @property + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_conf") + + @property + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_env_vars") + + @property + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ssh_public_keys") + + @property + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult']: + return pulumi.get(self, "workload_type") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleResult(dict): + def __init__(__self__, *, + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) + + @property + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") + + @property + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesResult(dict): + def __init__(__self__, *, + availability: Optional[str] = None, + ebs_volume_count: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) + if spot_bid_price_percent is not None: + pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + + @property + @pulumi.getter(name="spotBidPricePercent") + def spot_bid_price_percent(self) -> Optional[int]: + return pulumi.get(self, "spot_bid_price_percent") + + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesResult(dict): + def __init__(__self__, *, + availability: Optional[str] = None, + first_on_demand: Optional[int] = None, + spot_bid_max_price: Optional[float] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if spot_bid_max_price is not None: + pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + + @property + @pulumi.getter + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @property + @pulumi.getter(name="spotBidMaxPrice") + def spot_bid_max_price(self) -> Optional[float]: + return pulumi.get(self, "spot_bid_max_price") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfResult(dict): + def __init__(__self__, *, + dbfs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + + @property + @pulumi.getter + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult']: + return pulumi.get(self, "dbfs") + + @property + @pulumi.getter + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result']: + return pulumi.get(self, "s3") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result(dict): + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def fallback(self) -> Optional[bool]: - return pulumi.get(self, "fallback") + def destination(self) -> str: + return pulumi.get(self, "destination") @property - @pulumi.getter(name="isolationMode") - def isolation_mode(self) -> Optional[str]: - return pulumi.get(self, "isolation_mode") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - Unique identifier of the parent Metastore. - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - The name of the external location - """ - return pulumi.get(self, "name") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username/groupname/sp application_id of the external location owner. - """ - return pulumi.get(self, "owner") + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") @property - @pulumi.getter(name="readOnly") - def read_only(self) -> Optional[bool]: - """ - Indicates whether the external location is read-only. - """ - return pulumi.get(self, "read_only") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Time at which this catalog was last modified, in epoch milliseconds. - """ - return pulumi.get(self, "updated_at") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoResult(dict): + def __init__(__self__, *, + local_mount_dir_path: str, + network_filesystem_info: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - Username of user who last modified catalog. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") @property - @pulumi.getter - def url(self) -> Optional[str]: - """ - Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). - """ - return pulumi.get(self, "url") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult': + return pulumi.get(self, "network_filesystem_info") + + @property + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") @pulumi.output_type -class GetExternalLocationExternalLocationInfoEncryptionDetailsResult(dict): +class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): def __init__(__self__, *, - sse_encryption_details: Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult'] = None): - if sse_encryption_details is not None: - pulumi.set(__self__, "sse_encryption_details", sse_encryption_details) + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter(name="sseEncryptionDetails") - def sse_encryption_details(self) -> Optional['outputs.GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult']: - return pulumi.get(self, "sse_encryption_details") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") @pulumi.output_type -class GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetailsResult(dict): +class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageResult(dict): def __init__(__self__, *, - algorithm: Optional[str] = None, - aws_kms_key_arn: Optional[str] = None): - if algorithm is not None: - pulumi.set(__self__, "algorithm", algorithm) - if aws_kms_key_arn is not None: - pulumi.set(__self__, "aws_kms_key_arn", aws_kms_key_arn) + url: str, + basic_auth: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def algorithm(self) -> Optional[str]: - return pulumi.get(self, "algorithm") + def url(self) -> str: + return pulumi.get(self, "url") @property - @pulumi.getter(name="awsKmsKeyArn") - def aws_kms_key_arn(self) -> Optional[str]: - return pulumi.get(self, "aws_kms_key_arn") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult']: + return pulumi.get(self, "basic_auth") @pulumi.output_type -class GetFunctionsFunctionResult(dict): +class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult(dict): def __init__(__self__, *, - browse_only: Optional[bool] = None, - catalog_name: Optional[str] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - data_type: Optional[str] = None, - external_language: Optional[str] = None, - external_name: Optional[str] = None, - full_data_type: Optional[str] = None, - full_name: Optional[str] = None, - function_id: Optional[str] = None, - input_params: Optional['outputs.GetFunctionsFunctionInputParamsResult'] = None, - is_deterministic: Optional[bool] = None, - is_null_call: Optional[bool] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - parameter_style: Optional[str] = None, - properties: Optional[str] = None, - return_params: Optional['outputs.GetFunctionsFunctionReturnParamsResult'] = None, - routine_body: Optional[str] = None, - routine_definition: Optional[str] = None, - routine_dependencies: Optional['outputs.GetFunctionsFunctionRoutineDependenciesResult'] = None, - schema_name: Optional[str] = None, - security_type: Optional[str] = None, - specific_name: Optional[str] = None, - sql_data_access: Optional[str] = None, - sql_path: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param bool browse_only: Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. - :param str catalog_name: Name of databricks_catalog. - :param str comment: User-provided free-form text description. - :param int created_at: Time at which this function was created, in epoch milliseconds. - :param str created_by: Username of function creator. - :param str data_type: Scalar function return data type. - :param str external_language: External function language. - :param str external_name: External function name. - :param str full_data_type: Pretty printed function data type. - :param str full_name: Full name of function, in form of catalog_name.schema_name.function__name - :param str function_id: Id of Function, relative to parent schema. - :param 'GetFunctionsFunctionInputParamsArgs' input_params: object describing input parameters. Consists of the single attribute: - :param bool is_deterministic: Boolean flag specifying whether the function is deterministic. - :param bool is_null_call: Boolean flag whether function null call. - :param str metastore_id: Unique identifier of parent metastore. - :param str name: Name of parameter. - :param str owner: Username of current owner of function. - :param str parameter_style: Function parameter style. `S` is the value for SQL. - :param str properties: JSON-serialized key-value pair map, encoded (escaped) as a string. - :param 'GetFunctionsFunctionReturnParamsArgs' return_params: Table function return parameters. See `input_params` for description. - :param str routine_body: Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. - :param str routine_definition: Function body. - :param 'GetFunctionsFunctionRoutineDependenciesArgs' routine_dependencies: Function dependencies. - :param str schema_name: Name of databricks_schema. - :param str security_type: Function security type. (Enum: `DEFINER`). - :param str specific_name: Specific name of the function; Reserved for future use. - :param str sql_data_access: Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). - :param str sql_path: List of schemes whose objects can be referenced without qualification. - :param int updated_at: Time at which this function was created, in epoch milliseconds. - :param str updated_by: Username of user who last modified function. - """ - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if data_type is not None: - pulumi.set(__self__, "data_type", data_type) - if external_language is not None: - pulumi.set(__self__, "external_language", external_language) - if external_name is not None: - pulumi.set(__self__, "external_name", external_name) - if full_data_type is not None: - pulumi.set(__self__, "full_data_type", full_data_type) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if function_id is not None: - pulumi.set(__self__, "function_id", function_id) - if input_params is not None: - pulumi.set(__self__, "input_params", input_params) - if is_deterministic is not None: - pulumi.set(__self__, "is_deterministic", is_deterministic) - if is_null_call is not None: - pulumi.set(__self__, "is_null_call", is_null_call) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if parameter_style is not None: - pulumi.set(__self__, "parameter_style", parameter_style) - if properties is not None: - pulumi.set(__self__, "properties", properties) - if return_params is not None: - pulumi.set(__self__, "return_params", return_params) - if routine_body is not None: - pulumi.set(__self__, "routine_body", routine_body) - if routine_definition is not None: - pulumi.set(__self__, "routine_definition", routine_definition) - if routine_dependencies is not None: - pulumi.set(__self__, "routine_dependencies", routine_dependencies) - if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) - if security_type is not None: - pulumi.set(__self__, "security_type", security_type) - if specific_name is not None: - pulumi.set(__self__, "specific_name", specific_name) - if sql_data_access is not None: - pulumi.set(__self__, "sql_data_access", sql_data_access) - if sql_path is not None: - pulumi.set(__self__, "sql_path", sql_path) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - """ - Indicates whether the principal is limited to retrieving metadata for the associated object through the `BROWSE` privilege when `include_browse` is enabled in the request. - """ - return pulumi.get(self, "browse_only") + @pulumi.getter + def password(self) -> str: + return pulumi.get(self, "password") @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[str]: - """ - Name of databricks_catalog. - """ - return pulumi.get(self, "catalog_name") + @pulumi.getter + def username(self) -> str: + return pulumi.get(self, "username") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesResult(dict): + def __init__(__self__, *, + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-provided free-form text description. - """ - return pulumi.get(self, "comment") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - Time at which this function was created, in epoch milliseconds. - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - Username of function creator. - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") @property - @pulumi.getter(name="dataType") - def data_type(self) -> Optional[str]: - """ - Scalar function return data type. - """ - return pulumi.get(self, "data_type") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") @property - @pulumi.getter(name="externalLanguage") - def external_language(self) -> Optional[str]: - """ - External function language. - """ - return pulumi.get(self, "external_language") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") @property - @pulumi.getter(name="externalName") - def external_name(self) -> Optional[str]: - """ - External function name. - """ - return pulumi.get(self, "external_name") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptResult(dict): + def __init__(__self__, *, + abfss: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssResult'] = None, + dbfs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsResult'] = None, + file: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileResult'] = None, + gcs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result'] = None, + volumes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult'] = None, + workspace: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property - @pulumi.getter(name="fullDataType") - def full_data_type(self) -> Optional[str]: - """ - Pretty printed function data type. - """ - return pulumi.get(self, "full_data_type") + @pulumi.getter + def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssResult']: + return pulumi.get(self, "abfss") @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - Full name of function, in form of catalog_name.schema_name.function__name - """ - return pulumi.get(self, "full_name") + @pulumi.getter + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsResult']: + return pulumi.get(self, "dbfs") @property - @pulumi.getter(name="functionId") - def function_id(self) -> Optional[str]: - """ - Id of Function, relative to parent schema. - """ - return pulumi.get(self, "function_id") + @pulumi.getter + def file(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileResult']: + return pulumi.get(self, "file") @property - @pulumi.getter(name="inputParams") - def input_params(self) -> Optional['outputs.GetFunctionsFunctionInputParamsResult']: - """ - object describing input parameters. Consists of the single attribute: - """ - return pulumi.get(self, "input_params") + @pulumi.getter + def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsResult']: + return pulumi.get(self, "gcs") @property - @pulumi.getter(name="isDeterministic") - def is_deterministic(self) -> Optional[bool]: - """ - Boolean flag specifying whether the function is deterministic. - """ - return pulumi.get(self, "is_deterministic") + @pulumi.getter + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result']: + return pulumi.get(self, "s3") @property - @pulumi.getter(name="isNullCall") - def is_null_call(self) -> Optional[bool]: - """ - Boolean flag whether function null call. - """ - return pulumi.get(self, "is_null_call") + @pulumi.getter + def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult']: + return pulumi.get(self, "volumes") @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - Unique identifier of parent metastore. - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter + def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult']: + return pulumi.get(self, "workspace") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of parameter. - """ - return pulumi.get(self, "name") + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username of current owner of function. - """ - return pulumi.get(self, "owner") + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="parameterStyle") - def parameter_style(self) -> Optional[str]: - """ - Function parameter style. `S` is the value for SQL. - """ - return pulumi.get(self, "parameter_style") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) + + @property + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result(dict): + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property @pulumi.getter - def properties(self) -> Optional[str]: - """ - JSON-serialized key-value pair map, encoded (escaped) as a string. - """ - return pulumi.get(self, "properties") + def destination(self) -> str: + return pulumi.get(self, "destination") @property - @pulumi.getter(name="returnParams") - def return_params(self) -> Optional['outputs.GetFunctionsFunctionReturnParamsResult']: - """ - Table function return parameters. See `input_params` for description. - """ - return pulumi.get(self, "return_params") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") @property - @pulumi.getter(name="routineBody") - def routine_body(self) -> Optional[str]: - """ - Function language (`SQL` or `EXTERNAL`). When `EXTERNAL` is used, the language of the routine function should be specified in the `external_language` field, and the `return_params` of the function cannot be used (as `TABLE` return type is not supported), and the `sql_data_access` field must be `NO_SQL`. - """ - return pulumi.get(self, "routine_body") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") @property - @pulumi.getter(name="routineDefinition") - def routine_definition(self) -> Optional[str]: - """ - Function body. - """ - return pulumi.get(self, "routine_definition") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") @property - @pulumi.getter(name="routineDependencies") - def routine_dependencies(self) -> Optional['outputs.GetFunctionsFunctionRoutineDependenciesResult']: - """ - Function dependencies. - """ - return pulumi.get(self, "routine_dependencies") + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") @property - @pulumi.getter(name="schemaName") - def schema_name(self) -> Optional[str]: - """ - Name of databricks_schema. - """ - return pulumi.get(self, "schema_name") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") @property - @pulumi.getter(name="securityType") - def security_type(self) -> Optional[str]: - """ - Function security type. (Enum: `DEFINER`). - """ - return pulumi.get(self, "security_type") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") - @property - @pulumi.getter(name="specificName") - def specific_name(self) -> Optional[str]: - """ - Specific name of the function; Reserved for future use. - """ - return pulumi.get(self, "specific_name") - @property - @pulumi.getter(name="sqlDataAccess") - def sql_data_access(self) -> Optional[str]: - """ - Function SQL data access (`CONTAINS_SQL`, `READS_SQL_DATA`, `NO_SQL`). - """ - return pulumi.get(self, "sql_data_access") +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="sqlPath") - def sql_path(self) -> Optional[str]: - """ - List of schemes whose objects can be referenced without qualification. - """ - return pulumi.get(self, "sql_path") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - Time at which this function was created, in epoch milliseconds. - """ - return pulumi.get(self, "updated_at") + +@pulumi.output_type +class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - Username of user who last modified function. - """ - return pulumi.get(self, "updated_by") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") @pulumi.output_type -class GetFunctionsFunctionInputParamsResult(dict): +class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult(dict): def __init__(__self__, *, - parameters: Optional[Sequence['outputs.GetFunctionsFunctionInputParamsParameterResult']] = None): - """ - :param Sequence['GetFunctionsFunctionInputParamsParameterArgs'] parameters: The array of definitions of the function's parameters: - """ - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + clients: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult'): + pulumi.set(__self__, "clients", clients) @property @pulumi.getter - def parameters(self) -> Optional[Sequence['outputs.GetFunctionsFunctionInputParamsParameterResult']]: - """ - The array of definitions of the function's parameters: - """ - return pulumi.get(self, "parameters") + def clients(self) -> 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult': + return pulumi.get(self, "clients") @pulumi.output_type -class GetFunctionsFunctionInputParamsParameterResult(dict): +class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult(dict): def __init__(__self__, *, - name: str, - position: int, - type_name: str, - type_text: str, - comment: Optional[str] = None, - parameter_default: Optional[str] = None, - parameter_mode: Optional[str] = None, - parameter_type: Optional[str] = None, - type_interval_type: Optional[str] = None, - type_json: Optional[str] = None, - type_precision: Optional[int] = None, - type_scale: Optional[int] = None): - """ - :param str name: Name of parameter. - :param int position: Ordinal position of column (starting at position 0). - :param str type_name: Name of type (INT, STRUCT, MAP, etc.). - :param str type_text: Full data type spec, SQL/catalogString text. - :param str comment: User-provided free-form text description. - :param str parameter_default: Default value of the parameter. - :param str parameter_mode: The mode of the function parameter. - :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). - :param str type_interval_type: Format of IntervalType. - :param str type_json: Full data type spec, JSON-serialized. - :param int type_precision: Digits of precision; required on Create for DecimalTypes. - :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "position", position) - pulumi.set(__self__, "type_name", type_name) - pulumi.set(__self__, "type_text", type_text) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if parameter_default is not None: - pulumi.set(__self__, "parameter_default", parameter_default) - if parameter_mode is not None: - pulumi.set(__self__, "parameter_mode", parameter_mode) - if parameter_type is not None: - pulumi.set(__self__, "parameter_type", parameter_type) - if type_interval_type is not None: - pulumi.set(__self__, "type_interval_type", type_interval_type) - if type_json is not None: - pulumi.set(__self__, "type_json", type_json) - if type_precision is not None: - pulumi.set(__self__, "type_precision", type_precision) - if type_scale is not None: - pulumi.set(__self__, "type_scale", type_scale) + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def name(self) -> str: - """ - Name of parameter. - """ - return pulumi.get(self, "name") + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") @property @pulumi.getter - def position(self) -> int: - """ - Ordinal position of column (starting at position 0). - """ - return pulumi.get(self, "position") + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") - @property - @pulumi.getter(name="typeName") - def type_name(self) -> str: - """ - Name of type (INT, STRUCT, MAP, etc.). - """ - return pulumi.get(self, "type_name") + +@pulumi.output_type +class GetJobJobSettingsSettingsLibraryResult(dict): + def __init__(__self__, *, + cran: Optional['outputs.GetJobJobSettingsSettingsLibraryCranResult'] = None, + egg: Optional[str] = None, + jar: Optional[str] = None, + maven: Optional['outputs.GetJobJobSettingsSettingsLibraryMavenResult'] = None, + pypi: Optional['outputs.GetJobJobSettingsSettingsLibraryPypiResult'] = None, + requirements: Optional[str] = None, + whl: Optional[str] = None): + if cran is not None: + pulumi.set(__self__, "cran", cran) + if egg is not None: + pulumi.set(__self__, "egg", egg) + if jar is not None: + pulumi.set(__self__, "jar", jar) + if maven is not None: + pulumi.set(__self__, "maven", maven) + if pypi is not None: + pulumi.set(__self__, "pypi", pypi) + if requirements is not None: + pulumi.set(__self__, "requirements", requirements) + if whl is not None: + pulumi.set(__self__, "whl", whl) @property - @pulumi.getter(name="typeText") - def type_text(self) -> str: - """ - Full data type spec, SQL/catalogString text. - """ - return pulumi.get(self, "type_text") + @pulumi.getter + def cran(self) -> Optional['outputs.GetJobJobSettingsSettingsLibraryCranResult']: + return pulumi.get(self, "cran") @property @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-provided free-form text description. - """ - return pulumi.get(self, "comment") + def egg(self) -> Optional[str]: + return pulumi.get(self, "egg") @property - @pulumi.getter(name="parameterDefault") - def parameter_default(self) -> Optional[str]: - """ - Default value of the parameter. - """ - return pulumi.get(self, "parameter_default") + @pulumi.getter + def jar(self) -> Optional[str]: + return pulumi.get(self, "jar") @property - @pulumi.getter(name="parameterMode") - def parameter_mode(self) -> Optional[str]: - """ - The mode of the function parameter. - """ - return pulumi.get(self, "parameter_mode") + @pulumi.getter + def maven(self) -> Optional['outputs.GetJobJobSettingsSettingsLibraryMavenResult']: + return pulumi.get(self, "maven") @property - @pulumi.getter(name="parameterType") - def parameter_type(self) -> Optional[str]: - """ - The type of function parameter (`PARAM` or `COLUMN`). - """ - return pulumi.get(self, "parameter_type") + @pulumi.getter + def pypi(self) -> Optional['outputs.GetJobJobSettingsSettingsLibraryPypiResult']: + return pulumi.get(self, "pypi") @property - @pulumi.getter(name="typeIntervalType") - def type_interval_type(self) -> Optional[str]: - """ - Format of IntervalType. - """ - return pulumi.get(self, "type_interval_type") + @pulumi.getter + def requirements(self) -> Optional[str]: + return pulumi.get(self, "requirements") @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[str]: - """ - Full data type spec, JSON-serialized. - """ - return pulumi.get(self, "type_json") + @pulumi.getter + def whl(self) -> Optional[str]: + return pulumi.get(self, "whl") + + +@pulumi.output_type +class GetJobJobSettingsSettingsLibraryCranResult(dict): + def __init__(__self__, *, + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property - @pulumi.getter(name="typePrecision") - def type_precision(self) -> Optional[int]: - """ - Digits of precision; required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_precision") + @pulumi.getter + def package(self) -> str: + return pulumi.get(self, "package") @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[int]: - """ - Digits to right of decimal; Required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_scale") + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") @pulumi.output_type -class GetFunctionsFunctionReturnParamsResult(dict): +class GetJobJobSettingsSettingsLibraryMavenResult(dict): def __init__(__self__, *, - parameters: Optional[Sequence['outputs.GetFunctionsFunctionReturnParamsParameterResult']] = None): - """ - :param Sequence['GetFunctionsFunctionReturnParamsParameterArgs'] parameters: The array of definitions of the function's parameters: - """ - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + coordinates: str, + exclusions: Optional[Sequence[str]] = None, + repo: Optional[str] = None): + pulumi.set(__self__, "coordinates", coordinates) + if exclusions is not None: + pulumi.set(__self__, "exclusions", exclusions) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def parameters(self) -> Optional[Sequence['outputs.GetFunctionsFunctionReturnParamsParameterResult']]: - """ - The array of definitions of the function's parameters: - """ - return pulumi.get(self, "parameters") + def coordinates(self) -> str: + return pulumi.get(self, "coordinates") + + @property + @pulumi.getter + def exclusions(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "exclusions") + + @property + @pulumi.getter + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") @pulumi.output_type -class GetFunctionsFunctionReturnParamsParameterResult(dict): +class GetJobJobSettingsSettingsLibraryPypiResult(dict): def __init__(__self__, *, - name: str, - position: int, - type_name: str, - type_text: str, - comment: Optional[str] = None, - parameter_default: Optional[str] = None, - parameter_mode: Optional[str] = None, - parameter_type: Optional[str] = None, - type_interval_type: Optional[str] = None, - type_json: Optional[str] = None, - type_precision: Optional[int] = None, - type_scale: Optional[int] = None): - """ - :param str name: Name of parameter. - :param int position: Ordinal position of column (starting at position 0). - :param str type_name: Name of type (INT, STRUCT, MAP, etc.). - :param str type_text: Full data type spec, SQL/catalogString text. - :param str comment: User-provided free-form text description. - :param str parameter_default: Default value of the parameter. - :param str parameter_mode: The mode of the function parameter. - :param str parameter_type: The type of function parameter (`PARAM` or `COLUMN`). - :param str type_interval_type: Format of IntervalType. - :param str type_json: Full data type spec, JSON-serialized. - :param int type_precision: Digits of precision; required on Create for DecimalTypes. - :param int type_scale: Digits to right of decimal; Required on Create for DecimalTypes. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "position", position) - pulumi.set(__self__, "type_name", type_name) - pulumi.set(__self__, "type_text", type_text) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if parameter_default is not None: - pulumi.set(__self__, "parameter_default", parameter_default) - if parameter_mode is not None: - pulumi.set(__self__, "parameter_mode", parameter_mode) - if parameter_type is not None: - pulumi.set(__self__, "parameter_type", parameter_type) - if type_interval_type is not None: - pulumi.set(__self__, "type_interval_type", type_interval_type) - if type_json is not None: - pulumi.set(__self__, "type_json", type_json) - if type_precision is not None: - pulumi.set(__self__, "type_precision", type_precision) - if type_scale is not None: - pulumi.set(__self__, "type_scale", type_scale) + package: str, + repo: Optional[str] = None): + pulumi.set(__self__, "package", package) + if repo is not None: + pulumi.set(__self__, "repo", repo) @property @pulumi.getter - def name(self) -> str: - """ - Name of parameter. - """ - return pulumi.get(self, "name") + def package(self) -> str: + return pulumi.get(self, "package") @property @pulumi.getter - def position(self) -> int: - """ - Ordinal position of column (starting at position 0). - """ - return pulumi.get(self, "position") + def repo(self) -> Optional[str]: + return pulumi.get(self, "repo") - @property - @pulumi.getter(name="typeName") - def type_name(self) -> str: - """ - Name of type (INT, STRUCT, MAP, etc.). - """ - return pulumi.get(self, "type_name") - @property - @pulumi.getter(name="typeText") - def type_text(self) -> str: - """ - Full data type spec, SQL/catalogString text. - """ - return pulumi.get(self, "type_text") +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterResult(dict): + def __init__(__self__, *, + driver_instance_pool_id: str, + driver_node_type_id: str, + enable_elastic_disk: bool, + enable_local_disk_encryption: bool, + node_type_id: str, + num_workers: int, + spark_version: str, + apply_policy_default_values: Optional[bool] = None, + autoscale: Optional['outputs.GetJobJobSettingsSettingsNewClusterAutoscaleResult'] = None, + autotermination_minutes: Optional[int] = None, + aws_attributes: Optional['outputs.GetJobJobSettingsSettingsNewClusterAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetJobJobSettingsSettingsNewClusterAzureAttributesResult'] = None, + cluster_id: Optional[str] = None, + cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfResult'] = None, + cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoResult']] = None, + cluster_name: Optional[str] = None, + custom_tags: Optional[Mapping[str, str]] = None, + data_security_mode: Optional[str] = None, + docker_image: Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageResult'] = None, + gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsNewClusterGcpAttributesResult'] = None, + idempotency_token: Optional[str] = None, + init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterInitScriptResult']] = None, + instance_pool_id: Optional[str] = None, + policy_id: Optional[str] = None, + runtime_engine: Optional[str] = None, + single_user_name: Optional[str] = None, + spark_conf: Optional[Mapping[str, str]] = None, + spark_env_vars: Optional[Mapping[str, str]] = None, + ssh_public_keys: Optional[Sequence[str]] = None, + workload_type: Optional['outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeResult'] = None): + pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) + pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) + pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) + pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) + pulumi.set(__self__, "node_type_id", node_type_id) + pulumi.set(__self__, "num_workers", num_workers) + pulumi.set(__self__, "spark_version", spark_version) + if apply_policy_default_values is not None: + pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) + if autotermination_minutes is not None: + pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) + if aws_attributes is not None: + pulumi.set(__self__, "aws_attributes", aws_attributes) + if azure_attributes is not None: + pulumi.set(__self__, "azure_attributes", azure_attributes) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if cluster_log_conf is not None: + pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) + if cluster_mount_infos is not None: + pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) + if cluster_name is not None: + pulumi.set(__self__, "cluster_name", cluster_name) + if custom_tags is not None: + pulumi.set(__self__, "custom_tags", custom_tags) + if data_security_mode is not None: + pulumi.set(__self__, "data_security_mode", data_security_mode) + if docker_image is not None: + pulumi.set(__self__, "docker_image", docker_image) + if gcp_attributes is not None: + pulumi.set(__self__, "gcp_attributes", gcp_attributes) + if idempotency_token is not None: + pulumi.set(__self__, "idempotency_token", idempotency_token) + if init_scripts is not None: + pulumi.set(__self__, "init_scripts", init_scripts) + if instance_pool_id is not None: + pulumi.set(__self__, "instance_pool_id", instance_pool_id) + if policy_id is not None: + pulumi.set(__self__, "policy_id", policy_id) + if runtime_engine is not None: + pulumi.set(__self__, "runtime_engine", runtime_engine) + if single_user_name is not None: + pulumi.set(__self__, "single_user_name", single_user_name) + if spark_conf is not None: + pulumi.set(__self__, "spark_conf", spark_conf) + if spark_env_vars is not None: + pulumi.set(__self__, "spark_env_vars", spark_env_vars) + if ssh_public_keys is not None: + pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + if workload_type is not None: + pulumi.set(__self__, "workload_type", workload_type) @property - @pulumi.getter - def comment(self) -> Optional[str]: - """ - User-provided free-form text description. - """ - return pulumi.get(self, "comment") + @pulumi.getter(name="driverInstancePoolId") + def driver_instance_pool_id(self) -> str: + return pulumi.get(self, "driver_instance_pool_id") @property - @pulumi.getter(name="parameterDefault") - def parameter_default(self) -> Optional[str]: - """ - Default value of the parameter. - """ - return pulumi.get(self, "parameter_default") + @pulumi.getter(name="driverNodeTypeId") + def driver_node_type_id(self) -> str: + return pulumi.get(self, "driver_node_type_id") @property - @pulumi.getter(name="parameterMode") - def parameter_mode(self) -> Optional[str]: - """ - The mode of the function parameter. - """ - return pulumi.get(self, "parameter_mode") + @pulumi.getter(name="enableElasticDisk") + def enable_elastic_disk(self) -> bool: + return pulumi.get(self, "enable_elastic_disk") @property - @pulumi.getter(name="parameterType") - def parameter_type(self) -> Optional[str]: - """ - The type of function parameter (`PARAM` or `COLUMN`). - """ - return pulumi.get(self, "parameter_type") + @pulumi.getter(name="enableLocalDiskEncryption") + def enable_local_disk_encryption(self) -> bool: + return pulumi.get(self, "enable_local_disk_encryption") @property - @pulumi.getter(name="typeIntervalType") - def type_interval_type(self) -> Optional[str]: - """ - Format of IntervalType. - """ - return pulumi.get(self, "type_interval_type") + @pulumi.getter(name="nodeTypeId") + def node_type_id(self) -> str: + return pulumi.get(self, "node_type_id") @property - @pulumi.getter(name="typeJson") - def type_json(self) -> Optional[str]: - """ - Full data type spec, JSON-serialized. - """ - return pulumi.get(self, "type_json") + @pulumi.getter(name="numWorkers") + def num_workers(self) -> int: + return pulumi.get(self, "num_workers") @property - @pulumi.getter(name="typePrecision") - def type_precision(self) -> Optional[int]: - """ - Digits of precision; required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_precision") + @pulumi.getter(name="sparkVersion") + def spark_version(self) -> str: + return pulumi.get(self, "spark_version") @property - @pulumi.getter(name="typeScale") - def type_scale(self) -> Optional[int]: - """ - Digits to right of decimal; Required on Create for DecimalTypes. - """ - return pulumi.get(self, "type_scale") - - -@pulumi.output_type -class GetFunctionsFunctionRoutineDependenciesResult(dict): - def __init__(__self__, *, - dependencies: Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependenciesDependencyResult']] = None): - if dependencies is not None: - pulumi.set(__self__, "dependencies", dependencies) + @pulumi.getter(name="applyPolicyDefaultValues") + def apply_policy_default_values(self) -> Optional[bool]: + return pulumi.get(self, "apply_policy_default_values") @property @pulumi.getter - def dependencies(self) -> Optional[Sequence['outputs.GetFunctionsFunctionRoutineDependenciesDependencyResult']]: - return pulumi.get(self, "dependencies") - - -@pulumi.output_type -class GetFunctionsFunctionRoutineDependenciesDependencyResult(dict): - def __init__(__self__, *, - function: Optional['outputs.GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult'] = None, - table: Optional['outputs.GetFunctionsFunctionRoutineDependenciesDependencyTableResult'] = None): - if function is not None: - pulumi.set(__self__, "function", function) - if table is not None: - pulumi.set(__self__, "table", table) + def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterAutoscaleResult']: + return pulumi.get(self, "autoscale") @property - @pulumi.getter - def function(self) -> Optional['outputs.GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult']: - return pulumi.get(self, "function") + @pulumi.getter(name="autoterminationMinutes") + def autotermination_minutes(self) -> Optional[int]: + return pulumi.get(self, "autotermination_minutes") @property - @pulumi.getter - def table(self) -> Optional['outputs.GetFunctionsFunctionRoutineDependenciesDependencyTableResult']: - return pulumi.get(self, "table") - - -@pulumi.output_type -class GetFunctionsFunctionRoutineDependenciesDependencyFunctionResult(dict): - def __init__(__self__, *, - function_full_name: str): - pulumi.set(__self__, "function_full_name", function_full_name) + @pulumi.getter(name="awsAttributes") + def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterAwsAttributesResult']: + return pulumi.get(self, "aws_attributes") @property - @pulumi.getter(name="functionFullName") - def function_full_name(self) -> str: - return pulumi.get(self, "function_full_name") - - -@pulumi.output_type -class GetFunctionsFunctionRoutineDependenciesDependencyTableResult(dict): - def __init__(__self__, *, - table_full_name: str): - pulumi.set(__self__, "table_full_name", table_full_name) + @pulumi.getter(name="azureAttributes") + def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterAzureAttributesResult']: + return pulumi.get(self, "azure_attributes") @property - @pulumi.getter(name="tableFullName") - def table_full_name(self) -> str: - return pulumi.get(self, "table_full_name") - + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[str]: + return pulumi.get(self, "cluster_id") -@pulumi.output_type -class GetInstancePoolPoolInfoResult(dict): - def __init__(__self__, *, - default_tags: Mapping[str, str], - idle_instance_autotermination_minutes: int, - instance_pool_id: str, - instance_pool_name: str, - aws_attributes: Optional['outputs.GetInstancePoolPoolInfoAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetInstancePoolPoolInfoAzureAttributesResult'] = None, - custom_tags: Optional[Mapping[str, str]] = None, - disk_spec: Optional['outputs.GetInstancePoolPoolInfoDiskSpecResult'] = None, - enable_elastic_disk: Optional[bool] = None, - gcp_attributes: Optional['outputs.GetInstancePoolPoolInfoGcpAttributesResult'] = None, - instance_pool_fleet_attributes: Optional[Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeResult']] = None, - max_capacity: Optional[int] = None, - min_idle_instances: Optional[int] = None, - node_type_id: Optional[str] = None, - preloaded_docker_images: Optional[Sequence['outputs.GetInstancePoolPoolInfoPreloadedDockerImageResult']] = None, - preloaded_spark_versions: Optional[Sequence[str]] = None, - state: Optional[str] = None, - stats: Optional['outputs.GetInstancePoolPoolInfoStatsResult'] = None): - pulumi.set(__self__, "default_tags", default_tags) - pulumi.set(__self__, "idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "instance_pool_name", instance_pool_name) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if disk_spec is not None: - pulumi.set(__self__, "disk_spec", disk_spec) - if enable_elastic_disk is not None: - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if instance_pool_fleet_attributes is not None: - pulumi.set(__self__, "instance_pool_fleet_attributes", instance_pool_fleet_attributes) - if max_capacity is not None: - pulumi.set(__self__, "max_capacity", max_capacity) - if min_idle_instances is not None: - pulumi.set(__self__, "min_idle_instances", min_idle_instances) - if node_type_id is not None: - pulumi.set(__self__, "node_type_id", node_type_id) - if preloaded_docker_images is not None: - pulumi.set(__self__, "preloaded_docker_images", preloaded_docker_images) - if preloaded_spark_versions is not None: - pulumi.set(__self__, "preloaded_spark_versions", preloaded_spark_versions) - if state is not None: - pulumi.set(__self__, "state", state) - if stats is not None: - pulumi.set(__self__, "stats", stats) + @property + @pulumi.getter(name="clusterLogConf") + def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfResult']: + return pulumi.get(self, "cluster_log_conf") @property - @pulumi.getter(name="defaultTags") - def default_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "default_tags") + @pulumi.getter(name="clusterMountInfos") + def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoResult']]: + return pulumi.get(self, "cluster_mount_infos") @property - @pulumi.getter(name="idleInstanceAutoterminationMinutes") - def idle_instance_autotermination_minutes(self) -> int: - return pulumi.get(self, "idle_instance_autotermination_minutes") + @pulumi.getter(name="clusterName") + def cluster_name(self) -> Optional[str]: + return pulumi.get(self, "cluster_name") @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> str: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter(name="customTags") + def custom_tags(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "custom_tags") @property - @pulumi.getter(name="instancePoolName") - def instance_pool_name(self) -> str: - return pulumi.get(self, "instance_pool_name") + @pulumi.getter(name="dataSecurityMode") + def data_security_mode(self) -> Optional[str]: + return pulumi.get(self, "data_security_mode") @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetInstancePoolPoolInfoAwsAttributesResult']: - return pulumi.get(self, "aws_attributes") + @pulumi.getter(name="dockerImage") + def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageResult']: + return pulumi.get(self, "docker_image") @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetInstancePoolPoolInfoAzureAttributesResult']: - return pulumi.get(self, "azure_attributes") + @pulumi.getter(name="gcpAttributes") + def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterGcpAttributesResult']: + return pulumi.get(self, "gcp_attributes") @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="idempotencyToken") + def idempotency_token(self) -> Optional[str]: + return pulumi.get(self, "idempotency_token") @property - @pulumi.getter(name="diskSpec") - def disk_spec(self) -> Optional['outputs.GetInstancePoolPoolInfoDiskSpecResult']: - return pulumi.get(self, "disk_spec") + @pulumi.getter(name="initScripts") + def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterInitScriptResult']]: + return pulumi.get(self, "init_scripts") @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> Optional[bool]: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="instancePoolId") + def instance_pool_id(self) -> Optional[str]: + return pulumi.get(self, "instance_pool_id") @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetInstancePoolPoolInfoGcpAttributesResult']: - return pulumi.get(self, "gcp_attributes") + @pulumi.getter(name="policyId") + def policy_id(self) -> Optional[str]: + return pulumi.get(self, "policy_id") @property - @pulumi.getter(name="instancePoolFleetAttributes") - def instance_pool_fleet_attributes(self) -> Optional[Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeResult']]: - return pulumi.get(self, "instance_pool_fleet_attributes") + @pulumi.getter(name="runtimeEngine") + def runtime_engine(self) -> Optional[str]: + return pulumi.get(self, "runtime_engine") @property - @pulumi.getter(name="maxCapacity") - def max_capacity(self) -> Optional[int]: - return pulumi.get(self, "max_capacity") + @pulumi.getter(name="singleUserName") + def single_user_name(self) -> Optional[str]: + return pulumi.get(self, "single_user_name") @property - @pulumi.getter(name="minIdleInstances") - def min_idle_instances(self) -> Optional[int]: - return pulumi.get(self, "min_idle_instances") + @pulumi.getter(name="sparkConf") + def spark_conf(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_conf") @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> Optional[str]: - return pulumi.get(self, "node_type_id") + @pulumi.getter(name="sparkEnvVars") + def spark_env_vars(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "spark_env_vars") @property - @pulumi.getter(name="preloadedDockerImages") - def preloaded_docker_images(self) -> Optional[Sequence['outputs.GetInstancePoolPoolInfoPreloadedDockerImageResult']]: - return pulumi.get(self, "preloaded_docker_images") + @pulumi.getter(name="sshPublicKeys") + def ssh_public_keys(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "ssh_public_keys") @property - @pulumi.getter(name="preloadedSparkVersions") - def preloaded_spark_versions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "preloaded_spark_versions") + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeResult']: + return pulumi.get(self, "workload_type") + + +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterAutoscaleResult(dict): + def __init__(__self__, *, + max_workers: Optional[int] = None, + min_workers: Optional[int] = None): + if max_workers is not None: + pulumi.set(__self__, "max_workers", max_workers) + if min_workers is not None: + pulumi.set(__self__, "min_workers", min_workers) @property - @pulumi.getter - def state(self) -> Optional[str]: - return pulumi.get(self, "state") + @pulumi.getter(name="maxWorkers") + def max_workers(self) -> Optional[int]: + return pulumi.get(self, "max_workers") @property - @pulumi.getter - def stats(self) -> Optional['outputs.GetInstancePoolPoolInfoStatsResult']: - return pulumi.get(self, "stats") + @pulumi.getter(name="minWorkers") + def min_workers(self) -> Optional[int]: + return pulumi.get(self, "min_workers") @pulumi.output_type -class GetInstancePoolPoolInfoAwsAttributesResult(dict): +class GetJobJobSettingsSettingsNewClusterAwsAttributesResult(dict): def __init__(__self__, *, - zone_id: str, availability: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None): - pulumi.set(__self__, "zone_id", zone_id) + ebs_volume_count: Optional[int] = None, + ebs_volume_size: Optional[int] = None, + ebs_volume_type: Optional[str] = None, + first_on_demand: Optional[int] = None, + instance_profile_arn: Optional[str] = None, + spot_bid_price_percent: Optional[int] = None, + zone_id: Optional[str] = None): if availability is not None: pulumi.set(__self__, "availability", availability) + if ebs_volume_count is not None: + pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) + if ebs_volume_size is not None: + pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) + if ebs_volume_type is not None: + pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) + if instance_profile_arn is not None: + pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) if spot_bid_price_percent is not None: pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> str: - return pulumi.get(self, "zone_id") + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter def availability(self) -> Optional[str]: return pulumi.get(self, "availability") + @property + @pulumi.getter(name="ebsVolumeCount") + def ebs_volume_count(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_count") + + @property + @pulumi.getter(name="ebsVolumeSize") + def ebs_volume_size(self) -> Optional[int]: + return pulumi.get(self, "ebs_volume_size") + + @property + @pulumi.getter(name="ebsVolumeType") + def ebs_volume_type(self) -> Optional[str]: + return pulumi.get(self, "ebs_volume_type") + + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + + @property + @pulumi.getter(name="instanceProfileArn") + def instance_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "instance_profile_arn") + @property @pulumi.getter(name="spotBidPricePercent") def spot_bid_price_percent(self) -> Optional[int]: return pulumi.get(self, "spot_bid_price_percent") + @property + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") + @pulumi.output_type -class GetInstancePoolPoolInfoAzureAttributesResult(dict): +class GetJobJobSettingsSettingsNewClusterAzureAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, + first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None): if availability is not None: pulumi.set(__self__, "availability", availability) + if first_on_demand is not None: + pulumi.set(__self__, "first_on_demand", first_on_demand) if spot_bid_max_price is not None: pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) @@ -30105,6 +34961,11 @@ def __init__(__self__, *, def availability(self) -> Optional[str]: return pulumi.get(self, "availability") + @property + @pulumi.getter(name="firstOnDemand") + def first_on_demand(self) -> Optional[int]: + return pulumi.get(self, "first_on_demand") + @property @pulumi.getter(name="spotBidMaxPrice") def spot_bid_max_price(self) -> Optional[float]: @@ -30112,174 +34973,150 @@ def spot_bid_max_price(self) -> Optional[float]: @pulumi.output_type -class GetInstancePoolPoolInfoDiskSpecResult(dict): +class GetJobJobSettingsSettingsNewClusterClusterLogConfResult(dict): def __init__(__self__, *, - disk_count: Optional[int] = None, - disk_size: Optional[int] = None, - disk_type: Optional['outputs.GetInstancePoolPoolInfoDiskSpecDiskTypeResult'] = None): - if disk_count is not None: - pulumi.set(__self__, "disk_count", disk_count) - if disk_size is not None: - pulumi.set(__self__, "disk_size", disk_size) - if disk_type is not None: - pulumi.set(__self__, "disk_type", disk_type) - - @property - @pulumi.getter(name="diskCount") - def disk_count(self) -> Optional[int]: - return pulumi.get(self, "disk_count") + dbfs: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result'] = None): + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) @property - @pulumi.getter(name="diskSize") - def disk_size(self) -> Optional[int]: - return pulumi.get(self, "disk_size") + @pulumi.getter + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult']: + return pulumi.get(self, "dbfs") @property - @pulumi.getter(name="diskType") - def disk_type(self) -> Optional['outputs.GetInstancePoolPoolInfoDiskSpecDiskTypeResult']: - return pulumi.get(self, "disk_type") + @pulumi.getter + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result']: + return pulumi.get(self, "s3") @pulumi.output_type -class GetInstancePoolPoolInfoDiskSpecDiskTypeResult(dict): +class GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult(dict): def __init__(__self__, *, - azure_disk_volume_type: Optional[str] = None, - ebs_volume_type: Optional[str] = None): - if azure_disk_volume_type is not None: - pulumi.set(__self__, "azure_disk_volume_type", azure_disk_volume_type) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - - @property - @pulumi.getter(name="azureDiskVolumeType") - def azure_disk_volume_type(self) -> Optional[str]: - return pulumi.get(self, "azure_disk_volume_type") + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") @pulumi.output_type -class GetInstancePoolPoolInfoGcpAttributesResult(dict): +class GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result(dict): def __init__(__self__, *, - local_ssd_count: int, - zone_id: str, - gcp_availability: Optional[str] = None): - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - pulumi.set(__self__, "zone_id", zone_id) - if gcp_availability is not None: - pulumi.set(__self__, "gcp_availability", gcp_availability) - - @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> int: - return pulumi.get(self, "local_ssd_count") + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> str: - return pulumi.get(self, "zone_id") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") @property - @pulumi.getter(name="gcpAvailability") - def gcp_availability(self) -> Optional[str]: - return pulumi.get(self, "gcp_availability") - - -@pulumi.output_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeResult(dict): - def __init__(__self__, *, - launch_template_overrides: Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult'], - fleet_on_demand_option: Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult'] = None, - fleet_spot_option: Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult'] = None): - pulumi.set(__self__, "launch_template_overrides", launch_template_overrides) - if fleet_on_demand_option is not None: - pulumi.set(__self__, "fleet_on_demand_option", fleet_on_demand_option) - if fleet_spot_option is not None: - pulumi.set(__self__, "fleet_spot_option", fleet_spot_option) + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") @property - @pulumi.getter(name="launchTemplateOverrides") - def launch_template_overrides(self) -> Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult']: - return pulumi.get(self, "launch_template_overrides") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") @property - @pulumi.getter(name="fleetOnDemandOption") - def fleet_on_demand_option(self) -> Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult']: - return pulumi.get(self, "fleet_on_demand_option") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") @property - @pulumi.getter(name="fleetSpotOption") - def fleet_spot_option(self) -> Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult']: - return pulumi.get(self, "fleet_spot_option") - - -@pulumi.output_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult(dict): - def __init__(__self__, *, - allocation_strategy: str, - instance_pools_to_use_count: Optional[int] = None): - pulumi.set(__self__, "allocation_strategy", allocation_strategy) - if instance_pools_to_use_count is not None: - pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") @property - @pulumi.getter(name="allocationStrategy") - def allocation_strategy(self) -> str: - return pulumi.get(self, "allocation_strategy") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") @property - @pulumi.getter(name="instancePoolsToUseCount") - def instance_pools_to_use_count(self) -> Optional[int]: - return pulumi.get(self, "instance_pools_to_use_count") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") @pulumi.output_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult(dict): +class GetJobJobSettingsSettingsNewClusterClusterMountInfoResult(dict): def __init__(__self__, *, - allocation_strategy: str, - instance_pools_to_use_count: Optional[int] = None): - pulumi.set(__self__, "allocation_strategy", allocation_strategy) - if instance_pools_to_use_count is not None: - pulumi.set(__self__, "instance_pools_to_use_count", instance_pools_to_use_count) + local_mount_dir_path: str, + network_filesystem_info: 'outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter(name="allocationStrategy") - def allocation_strategy(self) -> str: - return pulumi.get(self, "allocation_strategy") + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") @property - @pulumi.getter(name="instancePoolsToUseCount") - def instance_pools_to_use_count(self) -> Optional[int]: - return pulumi.get(self, "instance_pools_to_use_count") + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult': + return pulumi.get(self, "network_filesystem_info") + + @property + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") @pulumi.output_type -class GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult(dict): +class GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): def __init__(__self__, *, - availability_zone: str, - instance_type: str): - pulumi.set(__self__, "availability_zone", availability_zone) - pulumi.set(__self__, "instance_type", instance_type) + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> str: - return pulumi.get(self, "availability_zone") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") @property - @pulumi.getter(name="instanceType") - def instance_type(self) -> str: - return pulumi.get(self, "instance_type") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") @pulumi.output_type -class GetInstancePoolPoolInfoPreloadedDockerImageResult(dict): +class GetJobJobSettingsSettingsNewClusterDockerImageResult(dict): def __init__(__self__, *, url: str, - basic_auth: Optional['outputs.GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult'] = None): + basic_auth: Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult'] = None): pulumi.set(__self__, "url", url) if basic_auth is not None: pulumi.set(__self__, "basic_auth", basic_auth) @@ -30291,12 +35128,12 @@ def url(self) -> str: @property @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult']: + def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult']: return pulumi.get(self, "basic_auth") @pulumi.output_type -class GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult(dict): +class GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult(dict): def __init__(__self__, *, password: str, username: str): @@ -30315,495 +35152,308 @@ def username(self) -> str: @pulumi.output_type -class GetInstancePoolPoolInfoStatsResult(dict): - def __init__(__self__, *, - idle_count: Optional[int] = None, - pending_idle_count: Optional[int] = None, - pending_used_count: Optional[int] = None, - used_count: Optional[int] = None): - if idle_count is not None: - pulumi.set(__self__, "idle_count", idle_count) - if pending_idle_count is not None: - pulumi.set(__self__, "pending_idle_count", pending_idle_count) - if pending_used_count is not None: - pulumi.set(__self__, "pending_used_count", pending_used_count) - if used_count is not None: - pulumi.set(__self__, "used_count", used_count) - - @property - @pulumi.getter(name="idleCount") - def idle_count(self) -> Optional[int]: - return pulumi.get(self, "idle_count") - - @property - @pulumi.getter(name="pendingIdleCount") - def pending_idle_count(self) -> Optional[int]: - return pulumi.get(self, "pending_idle_count") - - @property - @pulumi.getter(name="pendingUsedCount") - def pending_used_count(self) -> Optional[int]: - return pulumi.get(self, "pending_used_count") - - @property - @pulumi.getter(name="usedCount") - def used_count(self) -> Optional[int]: - return pulumi.get(self, "used_count") - - -@pulumi.output_type -class GetInstanceProfilesInstanceProfileResult(dict): +class GetJobJobSettingsSettingsNewClusterGcpAttributesResult(dict): def __init__(__self__, *, - arn: str, - is_meta: bool, - name: str, - role_arn: str): - """ - :param str arn: ARN of the instance profile. - :param bool is_meta: Whether the instance profile is a meta instance profile or not. - :param str name: Name of the instance profile. - :param str role_arn: ARN of the role attached to the instance profile. - """ - pulumi.set(__self__, "arn", arn) - pulumi.set(__self__, "is_meta", is_meta) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "role_arn", role_arn) - - @property - @pulumi.getter - def arn(self) -> str: - """ - ARN of the instance profile. - """ - return pulumi.get(self, "arn") - - @property - @pulumi.getter(name="isMeta") - def is_meta(self) -> bool: - """ - Whether the instance profile is a meta instance profile or not. - """ - return pulumi.get(self, "is_meta") + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def name(self) -> str: - """ - Name of the instance profile. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="roleArn") - def role_arn(self) -> str: - """ - ARN of the role attached to the instance profile. - """ - return pulumi.get(self, "role_arn") - - -@pulumi.output_type -class GetJobJobSettingsResult(dict): - def __init__(__self__, *, - run_as_user_name: str, - created_time: Optional[int] = None, - creator_user_name: Optional[str] = None, - job_id: Optional[int] = None, - settings: Optional['outputs.GetJobJobSettingsSettingsResult'] = None): - pulumi.set(__self__, "run_as_user_name", run_as_user_name) - if created_time is not None: - pulumi.set(__self__, "created_time", created_time) - if creator_user_name is not None: - pulumi.set(__self__, "creator_user_name", creator_user_name) - if job_id is not None: - pulumi.set(__self__, "job_id", job_id) - if settings is not None: - pulumi.set(__self__, "settings", settings) + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") @property - @pulumi.getter(name="runAsUserName") - def run_as_user_name(self) -> str: - return pulumi.get(self, "run_as_user_name") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") @property - @pulumi.getter(name="createdTime") - def created_time(self) -> Optional[int]: - return pulumi.get(self, "created_time") + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") @property - @pulumi.getter(name="creatorUserName") - def creator_user_name(self) -> Optional[str]: - return pulumi.get(self, "creator_user_name") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") @property - @pulumi.getter(name="jobId") - def job_id(self) -> Optional[int]: - return pulumi.get(self, "job_id") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") @property - @pulumi.getter - def settings(self) -> Optional['outputs.GetJobJobSettingsSettingsResult']: - return pulumi.get(self, "settings") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") @pulumi.output_type -class GetJobJobSettingsSettingsResult(dict): +class GetJobJobSettingsSettingsNewClusterInitScriptResult(dict): def __init__(__self__, *, - format: str, - run_as: 'outputs.GetJobJobSettingsSettingsRunAsResult', - continuous: Optional['outputs.GetJobJobSettingsSettingsContinuousResult'] = None, - dbt_task: Optional['outputs.GetJobJobSettingsSettingsDbtTaskResult'] = None, - deployment: Optional['outputs.GetJobJobSettingsSettingsDeploymentResult'] = None, - description: Optional[str] = None, - edit_mode: Optional[str] = None, - email_notifications: Optional['outputs.GetJobJobSettingsSettingsEmailNotificationsResult'] = None, - environments: Optional[Sequence['outputs.GetJobJobSettingsSettingsEnvironmentResult']] = None, - existing_cluster_id: Optional[str] = None, - git_source: Optional['outputs.GetJobJobSettingsSettingsGitSourceResult'] = None, - health: Optional['outputs.GetJobJobSettingsSettingsHealthResult'] = None, - job_clusters: Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterResult']] = None, - libraries: Optional[Sequence['outputs.GetJobJobSettingsSettingsLibraryResult']] = None, - max_concurrent_runs: Optional[int] = None, - max_retries: Optional[int] = None, - min_retry_interval_millis: Optional[int] = None, - name: Optional[str] = None, - new_cluster: Optional['outputs.GetJobJobSettingsSettingsNewClusterResult'] = None, - notebook_task: Optional['outputs.GetJobJobSettingsSettingsNotebookTaskResult'] = None, - notification_settings: Optional['outputs.GetJobJobSettingsSettingsNotificationSettingsResult'] = None, - parameters: Optional[Sequence['outputs.GetJobJobSettingsSettingsParameterResult']] = None, - pipeline_task: Optional['outputs.GetJobJobSettingsSettingsPipelineTaskResult'] = None, - python_wheel_task: Optional['outputs.GetJobJobSettingsSettingsPythonWheelTaskResult'] = None, - queue: Optional['outputs.GetJobJobSettingsSettingsQueueResult'] = None, - retry_on_timeout: Optional[bool] = None, - run_job_task: Optional['outputs.GetJobJobSettingsSettingsRunJobTaskResult'] = None, - schedule: Optional['outputs.GetJobJobSettingsSettingsScheduleResult'] = None, - spark_jar_task: Optional['outputs.GetJobJobSettingsSettingsSparkJarTaskResult'] = None, - spark_python_task: Optional['outputs.GetJobJobSettingsSettingsSparkPythonTaskResult'] = None, - spark_submit_task: Optional['outputs.GetJobJobSettingsSettingsSparkSubmitTaskResult'] = None, - tags: Optional[Mapping[str, str]] = None, - tasks: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskResult']] = None, - timeout_seconds: Optional[int] = None, - trigger: Optional['outputs.GetJobJobSettingsSettingsTriggerResult'] = None, - webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsWebhookNotificationsResult'] = None): - """ - :param str name: the job name of Job if the resource was matched by id. - """ - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "run_as", run_as) - if continuous is not None: - pulumi.set(__self__, "continuous", continuous) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if deployment is not None: - pulumi.set(__self__, "deployment", deployment) - if description is not None: - pulumi.set(__self__, "description", description) - if edit_mode is not None: - pulumi.set(__self__, "edit_mode", edit_mode) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environments is not None: - pulumi.set(__self__, "environments", environments) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if git_source is not None: - pulumi.set(__self__, "git_source", git_source) - if health is not None: - pulumi.set(__self__, "health", health) - if job_clusters is not None: - pulumi.set(__self__, "job_clusters", job_clusters) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_concurrent_runs is not None: - pulumi.set(__self__, "max_concurrent_runs", max_concurrent_runs) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if name is not None: - pulumi.set(__self__, "name", name) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if queue is not None: - pulumi.set(__self__, "queue", queue) - if retry_on_timeout is not None: - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if schedule is not None: - pulumi.set(__self__, "schedule", schedule) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if tasks is not None: - pulumi.set(__self__, "tasks", tasks) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if trigger is not None: - pulumi.set(__self__, "trigger", trigger) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) + abfss: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptAbfssResult'] = None, + dbfs: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptDbfsResult'] = None, + file: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptFileResult'] = None, + gcs: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptGcsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptS3Result'] = None, + volumes: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult'] = None, + workspace: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def format(self) -> str: - return pulumi.get(self, "format") - - @property - @pulumi.getter(name="runAs") - def run_as(self) -> 'outputs.GetJobJobSettingsSettingsRunAsResult': - return pulumi.get(self, "run_as") + def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptAbfssResult']: + return pulumi.get(self, "abfss") @property @pulumi.getter - def continuous(self) -> Optional['outputs.GetJobJobSettingsSettingsContinuousResult']: - return pulumi.get(self, "continuous") - - @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional['outputs.GetJobJobSettingsSettingsDbtTaskResult']: - return pulumi.get(self, "dbt_task") + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptDbfsResult']: + return pulumi.get(self, "dbfs") @property @pulumi.getter - def deployment(self) -> Optional['outputs.GetJobJobSettingsSettingsDeploymentResult']: - return pulumi.get(self, "deployment") + def file(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptFileResult']: + return pulumi.get(self, "file") @property @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptGcsResult']: + return pulumi.get(self, "gcs") @property - @pulumi.getter(name="editMode") - def edit_mode(self) -> Optional[str]: - return pulumi.get(self, "edit_mode") + @pulumi.getter + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptS3Result']: + return pulumi.get(self, "s3") @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsEmailNotificationsResult']: - return pulumi.get(self, "email_notifications") + @pulumi.getter + def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult']: + return pulumi.get(self, "volumes") @property @pulumi.getter - def environments(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsEnvironmentResult']]: - return pulumi.get(self, "environments") + def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult']: + return pulumi.get(self, "workspace") - @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[str]: - return pulumi.get(self, "existing_cluster_id") - @property - @pulumi.getter(name="gitSource") - def git_source(self) -> Optional['outputs.GetJobJobSettingsSettingsGitSourceResult']: - return pulumi.get(self, "git_source") +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptAbfssResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def health(self) -> Optional['outputs.GetJobJobSettingsSettingsHealthResult']: - return pulumi.get(self, "health") + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="jobClusters") - def job_clusters(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterResult']]: - return pulumi.get(self, "job_clusters") - @property - @pulumi.getter - def libraries(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsLibraryResult']]: - return pulumi.get(self, "libraries") +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptDbfsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="maxConcurrentRuns") - def max_concurrent_runs(self) -> Optional[int]: - return pulumi.get(self, "max_concurrent_runs") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[int]: - return pulumi.get(self, "max_retries") - @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[int]: - return pulumi.get(self, "min_retry_interval_millis") +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptFileResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - the job name of Job if the resource was matched by id. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterResult']: - return pulumi.get(self, "new_cluster") + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional['outputs.GetJobJobSettingsSettingsNotebookTaskResult']: - return pulumi.get(self, "notebook_task") - @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional['outputs.GetJobJobSettingsSettingsNotificationSettingsResult']: - return pulumi.get(self, "notification_settings") +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptGcsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def parameters(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsParameterResult']]: - return pulumi.get(self, "parameters") - - @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional['outputs.GetJobJobSettingsSettingsPipelineTaskResult']: - return pulumi.get(self, "pipeline_task") + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional['outputs.GetJobJobSettingsSettingsPythonWheelTaskResult']: - return pulumi.get(self, "python_wheel_task") - @property - @pulumi.getter - def queue(self) -> Optional['outputs.GetJobJobSettingsSettingsQueueResult']: - return pulumi.get(self, "queue") +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptS3Result(dict): + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> Optional[bool]: - return pulumi.get(self, "retry_on_timeout") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional['outputs.GetJobJobSettingsSettingsRunJobTaskResult']: - return pulumi.get(self, "run_job_task") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") @property - @pulumi.getter - def schedule(self) -> Optional['outputs.GetJobJobSettingsSettingsScheduleResult']: - return pulumi.get(self, "schedule") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional['outputs.GetJobJobSettingsSettingsSparkJarTaskResult']: - return pulumi.get(self, "spark_jar_task") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional['outputs.GetJobJobSettingsSettingsSparkPythonTaskResult']: - return pulumi.get(self, "spark_python_task") + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional['outputs.GetJobJobSettingsSettingsSparkSubmitTaskResult']: - return pulumi.get(self, "spark_submit_task") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") @property @pulumi.getter - def tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "tags") + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def tasks(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskResult']]: - return pulumi.get(self, "tasks") + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[int]: - return pulumi.get(self, "timeout_seconds") + +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def trigger(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerResult']: - return pulumi.get(self, "trigger") + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsNewClusterWorkloadTypeResult(dict): + def __init__(__self__, *, + clients: 'outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult'): + pulumi.set(__self__, "clients", clients) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsWebhookNotificationsResult']: - return pulumi.get(self, "webhook_notifications") + @pulumi.getter + def clients(self) -> 'outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult': + return pulumi.get(self, "clients") @pulumi.output_type -class GetJobJobSettingsSettingsContinuousResult(dict): +class GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult(dict): def __init__(__self__, *, - pause_status: Optional[str] = None): - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[str]: - return pulumi.get(self, "pause_status") + @pulumi.getter + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") + + @property + @pulumi.getter + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") @pulumi.output_type -class GetJobJobSettingsSettingsDbtTaskResult(dict): +class GetJobJobSettingsSettingsNotebookTaskResult(dict): def __init__(__self__, *, - commands: Sequence[str], - catalog: Optional[str] = None, - profiles_directory: Optional[str] = None, - project_directory: Optional[str] = None, - schema: Optional[str] = None, + notebook_path: str, + base_parameters: Optional[Mapping[str, str]] = None, source: Optional[str] = None, warehouse_id: Optional[str] = None): - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) if source is not None: pulumi.set(__self__, "source", source) if warehouse_id is not None: pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter - def commands(self) -> Sequence[str]: - return pulumi.get(self, "commands") - - @property - @pulumi.getter - def catalog(self) -> Optional[str]: - return pulumi.get(self, "catalog") - - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[str]: - return pulumi.get(self, "profiles_directory") - - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[str]: - return pulumi.get(self, "project_directory") + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> str: + return pulumi.get(self, "notebook_path") @property - @pulumi.getter - def schema(self) -> Optional[str]: - return pulumi.get(self, "schema") + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "base_parameters") @property @pulumi.getter @@ -30817,1077 +35467,1095 @@ def warehouse_id(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsDeploymentResult(dict): - def __init__(__self__, *, - kind: str, - metadata_file_path: Optional[str] = None): - pulumi.set(__self__, "kind", kind) - if metadata_file_path is not None: - pulumi.set(__self__, "metadata_file_path", metadata_file_path) - - @property - @pulumi.getter - def kind(self) -> str: - return pulumi.get(self, "kind") - - @property - @pulumi.getter(name="metadataFilePath") - def metadata_file_path(self) -> Optional[str]: - return pulumi.get(self, "metadata_file_path") - - -@pulumi.output_type -class GetJobJobSettingsSettingsEmailNotificationsResult(dict): +class GetJobJobSettingsSettingsNotificationSettingsResult(dict): def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[bool] = None, - on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, - on_failures: Optional[Sequence[str]] = None, - on_starts: Optional[Sequence[str]] = None, - on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, - on_successes: Optional[Sequence[str]] = None): + no_alert_for_canceled_runs: Optional[bool] = None, + no_alert_for_skipped_runs: Optional[bool] = None): + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) if no_alert_for_skipped_runs is not None: pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + + @property + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_canceled_runs") @property @pulumi.getter(name="noAlertForSkippedRuns") def no_alert_for_skipped_runs(self) -> Optional[bool]: return pulumi.get(self, "no_alert_for_skipped_runs") - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_failures") - - @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_starts") - - @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") - - @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_successes") - @pulumi.output_type -class GetJobJobSettingsSettingsEnvironmentResult(dict): +class GetJobJobSettingsSettingsParameterResult(dict): def __init__(__self__, *, - environment_key: str, - spec: Optional['outputs.GetJobJobSettingsSettingsEnvironmentSpecResult'] = None): - pulumi.set(__self__, "environment_key", environment_key) - if spec is not None: - pulumi.set(__self__, "spec", spec) + default: str, + name: str): + """ + :param str name: the job name of Job if the resource was matched by id. + """ + pulumi.set(__self__, "default", default) + pulumi.set(__self__, "name", name) @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> str: - return pulumi.get(self, "environment_key") + @pulumi.getter + def default(self) -> str: + return pulumi.get(self, "default") @property @pulumi.getter - def spec(self) -> Optional['outputs.GetJobJobSettingsSettingsEnvironmentSpecResult']: - return pulumi.get(self, "spec") + def name(self) -> str: + """ + the job name of Job if the resource was matched by id. + """ + return pulumi.get(self, "name") @pulumi.output_type -class GetJobJobSettingsSettingsEnvironmentSpecResult(dict): +class GetJobJobSettingsSettingsPipelineTaskResult(dict): def __init__(__self__, *, - client: str, - dependencies: Optional[Sequence[str]] = None): - pulumi.set(__self__, "client", client) - if dependencies is not None: - pulumi.set(__self__, "dependencies", dependencies) + pipeline_id: str, + full_refresh: Optional[bool] = None): + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter - def client(self) -> str: - return pulumi.get(self, "client") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> str: + return pulumi.get(self, "pipeline_id") @property - @pulumi.getter - def dependencies(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "dependencies") + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[bool]: + return pulumi.get(self, "full_refresh") @pulumi.output_type -class GetJobJobSettingsSettingsGitSourceResult(dict): +class GetJobJobSettingsSettingsPythonWheelTaskResult(dict): def __init__(__self__, *, - url: str, - branch: Optional[str] = None, - commit: Optional[str] = None, - job_source: Optional['outputs.GetJobJobSettingsSettingsGitSourceJobSourceResult'] = None, - provider: Optional[str] = None, - tag: Optional[str] = None): - pulumi.set(__self__, "url", url) - if branch is not None: - pulumi.set(__self__, "branch", branch) - if commit is not None: - pulumi.set(__self__, "commit", commit) - if job_source is not None: - pulumi.set(__self__, "job_source", job_source) - if provider is not None: - pulumi.set(__self__, "provider", provider) - if tag is not None: - pulumi.set(__self__, "tag", tag) - - @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") - - @property - @pulumi.getter - def branch(self) -> Optional[str]: - return pulumi.get(self, "branch") + entry_point: Optional[str] = None, + named_parameters: Optional[Mapping[str, str]] = None, + package_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def commit(self) -> Optional[str]: - return pulumi.get(self, "commit") + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[str]: + return pulumi.get(self, "entry_point") @property - @pulumi.getter(name="jobSource") - def job_source(self) -> Optional['outputs.GetJobJobSettingsSettingsGitSourceJobSourceResult']: - return pulumi.get(self, "job_source") + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "named_parameters") @property - @pulumi.getter - def provider(self) -> Optional[str]: - return pulumi.get(self, "provider") + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + return pulumi.get(self, "package_name") @property @pulumi.getter - def tag(self) -> Optional[str]: - return pulumi.get(self, "tag") - - -@pulumi.output_type -class GetJobJobSettingsSettingsGitSourceJobSourceResult(dict): - def __init__(__self__, *, - import_from_git_branch: str, - job_config_path: str, - dirty_state: Optional[str] = None): - pulumi.set(__self__, "import_from_git_branch", import_from_git_branch) - pulumi.set(__self__, "job_config_path", job_config_path) - if dirty_state is not None: - pulumi.set(__self__, "dirty_state", dirty_state) - - @property - @pulumi.getter(name="importFromGitBranch") - def import_from_git_branch(self) -> str: - return pulumi.get(self, "import_from_git_branch") - - @property - @pulumi.getter(name="jobConfigPath") - def job_config_path(self) -> str: - return pulumi.get(self, "job_config_path") - - @property - @pulumi.getter(name="dirtyState") - def dirty_state(self) -> Optional[str]: - return pulumi.get(self, "dirty_state") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") @pulumi.output_type -class GetJobJobSettingsSettingsHealthResult(dict): +class GetJobJobSettingsSettingsQueueResult(dict): def __init__(__self__, *, - rules: Sequence['outputs.GetJobJobSettingsSettingsHealthRuleResult']): - pulumi.set(__self__, "rules", rules) + enabled: bool): + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter - def rules(self) -> Sequence['outputs.GetJobJobSettingsSettingsHealthRuleResult']: - return pulumi.get(self, "rules") + def enabled(self) -> bool: + return pulumi.get(self, "enabled") @pulumi.output_type -class GetJobJobSettingsSettingsHealthRuleResult(dict): +class GetJobJobSettingsSettingsRunAsResult(dict): def __init__(__self__, *, - metric: str, - op: str, - value: int): - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def metric(self) -> str: - return pulumi.get(self, "metric") + service_principal_name: Optional[str] = None, + user_name: Optional[str] = None): + if service_principal_name is not None: + pulumi.set(__self__, "service_principal_name", service_principal_name) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + @pulumi.getter(name="servicePrincipalName") + def service_principal_name(self) -> Optional[str]: + return pulumi.get(self, "service_principal_name") @property - @pulumi.getter - def value(self) -> int: - return pulumi.get(self, "value") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterResult(dict): +class GetJobJobSettingsSettingsRunJobTaskResult(dict): def __init__(__self__, *, - job_cluster_key: str, - new_cluster: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterResult'): - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - pulumi.set(__self__, "new_cluster", new_cluster) + job_id: int, + job_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "job_id", job_id) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> str: - return pulumi.get(self, "job_cluster_key") + @pulumi.getter(name="jobId") + def job_id(self) -> int: + return pulumi.get(self, "job_id") @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterResult': - return pulumi.get(self, "new_cluster") + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "job_parameters") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterResult(dict): +class GetJobJobSettingsSettingsScheduleResult(dict): def __init__(__self__, *, - driver_instance_pool_id: str, - driver_node_type_id: str, - enable_elastic_disk: bool, - enable_local_disk_encryption: bool, - node_type_id: str, - num_workers: int, - spark_version: str, - apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleResult'] = None, - autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesResult'] = None, - cluster_id: Optional[str] = None, - cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfResult'] = None, - cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoResult']] = None, - cluster_name: Optional[str] = None, - custom_tags: Optional[Mapping[str, str]] = None, - data_security_mode: Optional[str] = None, - docker_image: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageResult'] = None, - gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesResult'] = None, - idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptResult']] = None, - instance_pool_id: Optional[str] = None, - policy_id: Optional[str] = None, - runtime_engine: Optional[str] = None, - single_user_name: Optional[str] = None, - spark_conf: Optional[Mapping[str, str]] = None, - spark_env_vars: Optional[Mapping[str, str]] = None, - ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult'] = None): - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - pulumi.set(__self__, "node_type_id", node_type_id) - pulumi.set(__self__, "num_workers", num_workers) - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if autotermination_minutes is not None: - pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + quartz_cron_expression: str, + timezone_id: str, + pause_status: Optional[str] = None): + pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) + pulumi.set(__self__, "timezone_id", timezone_id) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> str: - return pulumi.get(self, "driver_instance_pool_id") + @pulumi.getter(name="quartzCronExpression") + def quartz_cron_expression(self) -> str: + return pulumi.get(self, "quartz_cron_expression") @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> str: - return pulumi.get(self, "driver_node_type_id") + @pulumi.getter(name="timezoneId") + def timezone_id(self) -> str: + return pulumi.get(self, "timezone_id") @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> bool: - return pulumi.get(self, "enable_elastic_disk") + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") - @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> bool: - return pulumi.get(self, "enable_local_disk_encryption") + +@pulumi.output_type +class GetJobJobSettingsSettingsSparkJarTaskResult(dict): + def __init__(__self__, *, + jar_uri: Optional[str] = None, + main_class_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> str: - return pulumi.get(self, "node_type_id") + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[str]: + return pulumi.get(self, "jar_uri") @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> int: - return pulumi.get(self, "num_workers") + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[str]: + return pulumi.get(self, "main_class_name") @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> str: - return pulumi.get(self, "spark_version") + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") + + +@pulumi.output_type +class GetJobJobSettingsSettingsSparkPythonTaskResult(dict): + def __init__(__self__, *, + python_file: str, + parameters: Optional[Sequence[str]] = None, + source: Optional[str] = None): + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[bool]: - return pulumi.get(self, "apply_policy_default_values") + @pulumi.getter(name="pythonFile") + def python_file(self) -> str: + return pulumi.get(self, "python_file") @property @pulumi.getter - def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleResult']: - return pulumi.get(self, "autoscale") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") @property - @pulumi.getter(name="autoterminationMinutes") - def autotermination_minutes(self) -> Optional[int]: - return pulumi.get(self, "autotermination_minutes") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") - @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesResult']: - return pulumi.get(self, "aws_attributes") - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesResult']: - return pulumi.get(self, "azure_attributes") +@pulumi.output_type +class GetJobJobSettingsSettingsSparkSubmitTaskResult(dict): + def __init__(__self__, *, + parameters: Optional[Sequence[str]] = None): + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[str]: - return pulumi.get(self, "cluster_id") + @pulumi.getter + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfResult']: - return pulumi.get(self, "cluster_log_conf") - @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoResult']]: - return pulumi.get(self, "cluster_mount_infos") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskResult(dict): + def __init__(__self__, *, + retry_on_timeout: bool, + task_key: str, + condition_task: Optional['outputs.GetJobJobSettingsSettingsTaskConditionTaskResult'] = None, + dbt_task: Optional['outputs.GetJobJobSettingsSettingsTaskDbtTaskResult'] = None, + depends_ons: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskDependsOnResult']] = None, + description: Optional[str] = None, + email_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskEmailNotificationsResult'] = None, + environment_key: Optional[str] = None, + existing_cluster_id: Optional[str] = None, + for_each_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskResult'] = None, + health: Optional['outputs.GetJobJobSettingsSettingsTaskHealthResult'] = None, + job_cluster_key: Optional[str] = None, + libraries: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskLibraryResult']] = None, + max_retries: Optional[int] = None, + min_retry_interval_millis: Optional[int] = None, + new_cluster: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterResult'] = None, + notebook_task: Optional['outputs.GetJobJobSettingsSettingsTaskNotebookTaskResult'] = None, + notification_settings: Optional['outputs.GetJobJobSettingsSettingsTaskNotificationSettingsResult'] = None, + pipeline_task: Optional['outputs.GetJobJobSettingsSettingsTaskPipelineTaskResult'] = None, + python_wheel_task: Optional['outputs.GetJobJobSettingsSettingsTaskPythonWheelTaskResult'] = None, + run_if: Optional[str] = None, + run_job_task: Optional['outputs.GetJobJobSettingsSettingsTaskRunJobTaskResult'] = None, + spark_jar_task: Optional['outputs.GetJobJobSettingsSettingsTaskSparkJarTaskResult'] = None, + spark_python_task: Optional['outputs.GetJobJobSettingsSettingsTaskSparkPythonTaskResult'] = None, + spark_submit_task: Optional['outputs.GetJobJobSettingsSettingsTaskSparkSubmitTaskResult'] = None, + sql_task: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskResult'] = None, + timeout_seconds: Optional[int] = None, + webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsResult'] = None): + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + pulumi.set(__self__, "task_key", task_key) + if condition_task is not None: + pulumi.set(__self__, "condition_task", condition_task) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if depends_ons is not None: + pulumi.set(__self__, "depends_ons", depends_ons) + if description is not None: + pulumi.set(__self__, "description", description) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environment_key is not None: + pulumi.set(__self__, "environment_key", environment_key) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if for_each_task is not None: + pulumi.set(__self__, "for_each_task", for_each_task) + if health is not None: + pulumi.set(__self__, "health", health) + if job_cluster_key is not None: + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if run_if is not None: + pulumi.set(__self__, "run_if", run_if) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if sql_task is not None: + pulumi.set(__self__, "sql_task", sql_task) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: - return pulumi.get(self, "cluster_name") + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> bool: + return pulumi.get(self, "retry_on_timeout") @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: - return pulumi.get(self, "data_security_mode") + @pulumi.getter(name="conditionTask") + def condition_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskConditionTaskResult']: + return pulumi.get(self, "condition_task") @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageResult']: - return pulumi.get(self, "docker_image") + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskDbtTaskResult']: + return pulumi.get(self, "dbt_task") @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesResult']: - return pulumi.get(self, "gcp_attributes") + @pulumi.getter(name="dependsOns") + def depends_ons(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskDependsOnResult']]: + return pulumi.get(self, "depends_ons") @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: - return pulumi.get(self, "idempotency_token") + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptResult']]: - return pulumi.get(self, "init_scripts") + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskEmailNotificationsResult']: + return pulumi.get(self, "email_notifications") @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: - return pulumi.get(self, "instance_pool_id") + @pulumi.getter(name="environmentKey") + def environment_key(self) -> Optional[str]: + return pulumi.get(self, "environment_key") @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: - return pulumi.get(self, "policy_id") + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[str]: + return pulumi.get(self, "existing_cluster_id") @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: - return pulumi.get(self, "runtime_engine") + @pulumi.getter(name="forEachTask") + def for_each_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskResult']: + return pulumi.get(self, "for_each_task") @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: - return pulumi.get(self, "single_user_name") + @pulumi.getter + def health(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskHealthResult']: + return pulumi.get(self, "health") @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_conf") + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> Optional[str]: + return pulumi.get(self, "job_cluster_key") @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_env_vars") + @pulumi.getter + def libraries(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskLibraryResult']]: + return pulumi.get(self, "libraries") @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "ssh_public_keys") + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[int]: + return pulumi.get(self, "max_retries") @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult']: - return pulumi.get(self, "workload_type") - - -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterAutoscaleResult(dict): - def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[int]: + return pulumi.get(self, "min_retry_interval_millis") @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterResult']: + return pulumi.get(self, "new_cluster") @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") - - -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterAwsAttributesResult(dict): - def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNotebookTaskResult']: + return pulumi.get(self, "notebook_task") @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNotificationSettingsResult']: + return pulumi.get(self, "notification_settings") @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskPipelineTaskResult']: + return pulumi.get(self, "pipeline_task") @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskPythonWheelTaskResult']: + return pulumi.get(self, "python_wheel_task") @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="runIf") + def run_if(self) -> Optional[str]: + return pulumi.get(self, "run_if") @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskRunJobTaskResult']: + return pulumi.get(self, "run_job_task") @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSparkJarTaskResult']: + return pulumi.get(self, "spark_jar_task") @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSparkPythonTaskResult']: + return pulumi.get(self, "spark_python_task") @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterAzureAttributesResult(dict): - def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSparkSubmitTaskResult']: + return pulumi.get(self, "spark_submit_task") @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="sqlTask") + def sql_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskResult']: + return pulumi.get(self, "sql_task") @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[int]: + return pulumi.get(self, "timeout_seconds") @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsResult']: + return pulumi.get(self, "webhook_notifications") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfResult(dict): +class GetJobJobSettingsSettingsTaskConditionTaskResult(dict): def __init__(__self__, *, - dbfs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + left: str, + op: str, + right: str): + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult']: - return pulumi.get(self, "dbfs") + def left(self) -> str: + return pulumi.get(self, "left") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result']: - return pulumi.get(self, "s3") - - -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + def op(self) -> str: + return pulumi.get(self, "op") @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def right(self) -> str: + return pulumi.get(self, "right") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result(dict): +class GetJobJobSettingsSettingsTaskDbtTaskResult(dict): def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + commands: Sequence[str], + catalog: Optional[str] = None, + profiles_directory: Optional[str] = None, + project_directory: Optional[str] = None, + schema: Optional[str] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def commands(self) -> Sequence[str]: + return pulumi.get(self, "commands") @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter + def catalog(self) -> Optional[str]: + return pulumi.get(self, "catalog") - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @property + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[str]: + return pulumi.get(self, "profiles_directory") @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[str]: + return pulumi.get(self, "project_directory") @property @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + def schema(self) -> Optional[str]: + return pulumi.get(self, "schema") @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoResult(dict): +class GetJobJobSettingsSettingsTaskDependsOnResult(dict): def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") + task_key: str, + outcome: Optional[str] = None): + pulumi.set(__self__, "task_key", task_key) + if outcome is not None: + pulumi.set(__self__, "outcome", outcome) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def outcome(self) -> Optional[str]: + return pulumi.get(self, "outcome") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): +class GetJobJobSettingsSettingsTaskEmailNotificationsResult(dict): def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + no_alert_for_skipped_runs: Optional[bool] = None, + on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, + on_failures: Optional[Sequence[str]] = None, + on_starts: Optional[Sequence[str]] = None, + on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, + on_successes: Optional[Sequence[str]] = None): + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") + @property + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_failures") -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageResult(dict): - def __init__(__self__, *, - url: str, - basic_auth: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_starts") @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult']: - return pulumi.get(self, "basic_auth") + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_successes") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskResult(dict): def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + inputs: str, + task: 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskResult', + concurrency: Optional[int] = None): + pulumi.set(__self__, "inputs", inputs) + pulumi.set(__self__, "task", task) + if concurrency is not None: + pulumi.set(__self__, "concurrency", concurrency) @property @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + def inputs(self) -> str: + return pulumi.get(self, "inputs") @property @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") + def task(self) -> 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskResult': + return pulumi.get(self, "task") + + @property + @pulumi.getter + def concurrency(self) -> Optional[int]: + return pulumi.get(self, "concurrency") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterGcpAttributesResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskResult(dict): def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + retry_on_timeout: bool, + task_key: str, + condition_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult'] = None, + dbt_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskResult'] = None, + depends_ons: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnResult']] = None, + description: Optional[str] = None, + email_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult'] = None, + environment_key: Optional[str] = None, + existing_cluster_id: Optional[str] = None, + health: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthResult'] = None, + job_cluster_key: Optional[str] = None, + libraries: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryResult']] = None, + max_retries: Optional[int] = None, + min_retry_interval_millis: Optional[int] = None, + new_cluster: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterResult'] = None, + notebook_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskResult'] = None, + notification_settings: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsResult'] = None, + pipeline_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskResult'] = None, + python_wheel_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskResult'] = None, + run_if: Optional[str] = None, + run_job_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskResult'] = None, + spark_jar_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskResult'] = None, + spark_python_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskResult'] = None, + spark_submit_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskResult'] = None, + sql_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskResult'] = None, + timeout_seconds: Optional[int] = None, + webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsResult'] = None): + pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) + pulumi.set(__self__, "task_key", task_key) + if condition_task is not None: + pulumi.set(__self__, "condition_task", condition_task) + if dbt_task is not None: + pulumi.set(__self__, "dbt_task", dbt_task) + if depends_ons is not None: + pulumi.set(__self__, "depends_ons", depends_ons) + if description is not None: + pulumi.set(__self__, "description", description) + if email_notifications is not None: + pulumi.set(__self__, "email_notifications", email_notifications) + if environment_key is not None: + pulumi.set(__self__, "environment_key", environment_key) + if existing_cluster_id is not None: + pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) + if health is not None: + pulumi.set(__self__, "health", health) + if job_cluster_key is not None: + pulumi.set(__self__, "job_cluster_key", job_cluster_key) + if libraries is not None: + pulumi.set(__self__, "libraries", libraries) + if max_retries is not None: + pulumi.set(__self__, "max_retries", max_retries) + if min_retry_interval_millis is not None: + pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) + if new_cluster is not None: + pulumi.set(__self__, "new_cluster", new_cluster) + if notebook_task is not None: + pulumi.set(__self__, "notebook_task", notebook_task) + if notification_settings is not None: + pulumi.set(__self__, "notification_settings", notification_settings) + if pipeline_task is not None: + pulumi.set(__self__, "pipeline_task", pipeline_task) + if python_wheel_task is not None: + pulumi.set(__self__, "python_wheel_task", python_wheel_task) + if run_if is not None: + pulumi.set(__self__, "run_if", run_if) + if run_job_task is not None: + pulumi.set(__self__, "run_job_task", run_job_task) + if spark_jar_task is not None: + pulumi.set(__self__, "spark_jar_task", spark_jar_task) + if spark_python_task is not None: + pulumi.set(__self__, "spark_python_task", spark_python_task) + if spark_submit_task is not None: + pulumi.set(__self__, "spark_submit_task", spark_submit_task) + if sql_task is not None: + pulumi.set(__self__, "sql_task", sql_task) + if timeout_seconds is not None: + pulumi.set(__self__, "timeout_seconds", timeout_seconds) + if webhook_notifications is not None: + pulumi.set(__self__, "webhook_notifications", webhook_notifications) @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="retryOnTimeout") + def retry_on_timeout(self) -> bool: + return pulumi.get(self, "retry_on_timeout") @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") + @pulumi.getter(name="conditionTask") + def condition_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult']: + return pulumi.get(self, "condition_task") @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter(name="dbtTask") + def dbt_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskResult']: + return pulumi.get(self, "dbt_task") @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter(name="dependsOns") + def depends_ons(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnResult']]: + return pulumi.get(self, "depends_ons") @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") + @property + @pulumi.getter(name="emailNotifications") + def email_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult']: + return pulumi.get(self, "email_notifications") -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptResult(dict): - def __init__(__self__, *, - abfss: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssResult'] = None, - dbfs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsResult'] = None, - file: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileResult'] = None, - gcs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result'] = None, - volumes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult'] = None, - workspace: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + @property + @pulumi.getter(name="environmentKey") + def environment_key(self) -> Optional[str]: + return pulumi.get(self, "environment_key") @property - @pulumi.getter - def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssResult']: - return pulumi.get(self, "abfss") + @pulumi.getter(name="existingClusterId") + def existing_cluster_id(self) -> Optional[str]: + return pulumi.get(self, "existing_cluster_id") @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsResult']: - return pulumi.get(self, "dbfs") + def health(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthResult']: + return pulumi.get(self, "health") @property - @pulumi.getter - def file(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileResult']: - return pulumi.get(self, "file") + @pulumi.getter(name="jobClusterKey") + def job_cluster_key(self) -> Optional[str]: + return pulumi.get(self, "job_cluster_key") @property @pulumi.getter - def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsResult']: - return pulumi.get(self, "gcs") + def libraries(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryResult']]: + return pulumi.get(self, "libraries") @property - @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result']: - return pulumi.get(self, "s3") + @pulumi.getter(name="maxRetries") + def max_retries(self) -> Optional[int]: + return pulumi.get(self, "max_retries") @property - @pulumi.getter - def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult']: - return pulumi.get(self, "volumes") + @pulumi.getter(name="minRetryIntervalMillis") + def min_retry_interval_millis(self) -> Optional[int]: + return pulumi.get(self, "min_retry_interval_millis") @property - @pulumi.getter - def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult']: - return pulumi.get(self, "workspace") + @pulumi.getter(name="newCluster") + def new_cluster(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterResult']: + return pulumi.get(self, "new_cluster") + @property + @pulumi.getter(name="notebookTask") + def notebook_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskResult']: + return pulumi.get(self, "notebook_task") -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptAbfssResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @property + @pulumi.getter(name="notificationSettings") + def notification_settings(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsResult']: + return pulumi.get(self, "notification_settings") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="pipelineTask") + def pipeline_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskResult']: + return pulumi.get(self, "pipeline_task") + @property + @pulumi.getter(name="pythonWheelTask") + def python_wheel_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskResult']: + return pulumi.get(self, "python_wheel_task") -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptDbfsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @property + @pulumi.getter(name="runIf") + def run_if(self) -> Optional[str]: + return pulumi.get(self, "run_if") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="runJobTask") + def run_job_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskResult']: + return pulumi.get(self, "run_job_task") + @property + @pulumi.getter(name="sparkJarTask") + def spark_jar_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskResult']: + return pulumi.get(self, "spark_jar_task") -@pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptFileResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @property + @pulumi.getter(name="sparkPythonTask") + def spark_python_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskResult']: + return pulumi.get(self, "spark_python_task") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="sparkSubmitTask") + def spark_submit_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskResult']: + return pulumi.get(self, "spark_submit_task") + + @property + @pulumi.getter(name="sqlTask") + def sql_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskResult']: + return pulumi.get(self, "sql_task") + + @property + @pulumi.getter(name="timeoutSeconds") + def timeout_seconds(self) -> Optional[int]: + return pulumi.get(self, "timeout_seconds") + + @property + @pulumi.getter(name="webhookNotifications") + def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsResult']: + return pulumi.get(self, "webhook_notifications") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptGcsResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + left: str, + op: str, + right: str): + pulumi.set(__self__, "left", left) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "right", right) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def left(self) -> str: + return pulumi.get(self, "left") + + @property + @pulumi.getter + def op(self) -> str: + return pulumi.get(self, "op") + + @property + @pulumi.getter + def right(self) -> str: + return pulumi.get(self, "right") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskResult(dict): def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + commands: Sequence[str], + catalog: Optional[str] = None, + profiles_directory: Optional[str] = None, + project_directory: Optional[str] = None, + schema: Optional[str] = None, + source: Optional[str] = None, + warehouse_id: Optional[str] = None): + pulumi.set(__self__, "commands", commands) + if catalog is not None: + pulumi.set(__self__, "catalog", catalog) + if profiles_directory is not None: + pulumi.set(__self__, "profiles_directory", profiles_directory) + if project_directory is not None: + pulumi.set(__self__, "project_directory", project_directory) + if schema is not None: + pulumi.set(__self__, "schema", schema) + if source is not None: + pulumi.set(__self__, "source", source) + if warehouse_id is not None: + pulumi.set(__self__, "warehouse_id", warehouse_id) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + def commands(self) -> Sequence[str]: + return pulumi.get(self, "commands") @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def catalog(self) -> Optional[str]: + return pulumi.get(self, "catalog") @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="profilesDirectory") + def profiles_directory(self) -> Optional[str]: + return pulumi.get(self, "profiles_directory") @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="projectDirectory") + def project_directory(self) -> Optional[str]: + return pulumi.get(self, "project_directory") @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter + def schema(self) -> Optional[str]: + return pulumi.get(self, "schema") @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + def source(self) -> Optional[str]: + return pulumi.get(self, "source") + + @property + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> Optional[str]: + return pulumi.get(self, "warehouse_id") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + task_key: str, + outcome: Optional[str] = None): + pulumi.set(__self__, "task_key", task_key) + if outcome is not None: + pulumi.set(__self__, "outcome", outcome) + + @property + @pulumi.getter(name="taskKey") + def task_key(self) -> str: + return pulumi.get(self, "task_key") @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def outcome(self) -> Optional[str]: + return pulumi.get(self, "outcome") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + no_alert_for_skipped_runs: Optional[bool] = None, + on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, + on_failures: Optional[Sequence[str]] = None, + on_starts: Optional[Sequence[str]] = None, + on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, + on_successes: Optional[Sequence[str]] = None): + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="noAlertForSkippedRuns") + def no_alert_for_skipped_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_skipped_runs") + + @property + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") + + @property + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_failures") + + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_starts") + + @property + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_streaming_backlog_exceededs") + + @property + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "on_successes") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthResult(dict): def __init__(__self__, *, - clients: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult'): - pulumi.set(__self__, "clients", clients) + rules: Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleResult']): + pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def clients(self) -> 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult': - return pulumi.get(self, "clients") + def rules(self) -> Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleResult']: + return pulumi.get(self, "rules") @pulumi.output_type -class GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleResult(dict): def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + metric: str, + op: str, + value: int): + pulumi.set(__self__, "metric", metric) + pulumi.set(__self__, "op", op) + pulumi.set(__self__, "value", value) @property @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + def metric(self) -> str: + return pulumi.get(self, "metric") @property @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + def op(self) -> str: + return pulumi.get(self, "op") + + @property + @pulumi.getter + def value(self) -> int: + return pulumi.get(self, "value") @pulumi.output_type -class GetJobJobSettingsSettingsLibraryResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryResult(dict): def __init__(__self__, *, - cran: Optional['outputs.GetJobJobSettingsSettingsLibraryCranResult'] = None, + cran: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranResult'] = None, egg: Optional[str] = None, jar: Optional[str] = None, - maven: Optional['outputs.GetJobJobSettingsSettingsLibraryMavenResult'] = None, - pypi: Optional['outputs.GetJobJobSettingsSettingsLibraryPypiResult'] = None, + maven: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenResult'] = None, + pypi: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiResult'] = None, requirements: Optional[str] = None, whl: Optional[str] = None): if cran is not None: @@ -31907,7 +36575,7 @@ def __init__(__self__, *, @property @pulumi.getter - def cran(self) -> Optional['outputs.GetJobJobSettingsSettingsLibraryCranResult']: + def cran(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranResult']: return pulumi.get(self, "cran") @property @@ -31922,12 +36590,12 @@ def jar(self) -> Optional[str]: @property @pulumi.getter - def maven(self) -> Optional['outputs.GetJobJobSettingsSettingsLibraryMavenResult']: + def maven(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenResult']: return pulumi.get(self, "maven") @property @pulumi.getter - def pypi(self) -> Optional['outputs.GetJobJobSettingsSettingsLibraryPypiResult']: + def pypi(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiResult']: return pulumi.get(self, "pypi") @property @@ -31942,7 +36610,7 @@ def whl(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsLibraryCranResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranResult(dict): def __init__(__self__, *, package: str, repo: Optional[str] = None): @@ -31962,7 +36630,7 @@ def repo(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsLibraryMavenResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenResult(dict): def __init__(__self__, *, coordinates: str, exclusions: Optional[Sequence[str]] = None, @@ -31990,7 +36658,7 @@ def repo(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsLibraryPypiResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiResult(dict): def __init__(__self__, *, package: str, repo: Optional[str] = None): @@ -32010,7 +36678,7 @@ def repo(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterResult(dict): def __init__(__self__, *, driver_instance_pool_id: str, driver_node_type_id: str, @@ -32020,20 +36688,20 @@ def __init__(__self__, *, num_workers: int, spark_version: str, apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['outputs.GetJobJobSettingsSettingsNewClusterAutoscaleResult'] = None, + autoscale: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleResult'] = None, autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['outputs.GetJobJobSettingsSettingsNewClusterAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetJobJobSettingsSettingsNewClusterAzureAttributesResult'] = None, + aws_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesResult'] = None, cluster_id: Optional[str] = None, - cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfResult'] = None, - cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoResult']] = None, + cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfResult'] = None, + cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoResult']] = None, cluster_name: Optional[str] = None, custom_tags: Optional[Mapping[str, str]] = None, data_security_mode: Optional[str] = None, - docker_image: Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageResult'] = None, - gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsNewClusterGcpAttributesResult'] = None, + docker_image: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageResult'] = None, + gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesResult'] = None, idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterInitScriptResult']] = None, + init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptResult']] = None, instance_pool_id: Optional[str] = None, policy_id: Optional[str] = None, runtime_engine: Optional[str] = None, @@ -32041,7 +36709,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeResult'] = None): + workload_type: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeResult'] = None): pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) @@ -32138,7 +36806,7 @@ def apply_policy_default_values(self) -> Optional[bool]: @property @pulumi.getter - def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterAutoscaleResult']: + def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleResult']: return pulumi.get(self, "autoscale") @property @@ -32148,12 +36816,12 @@ def autotermination_minutes(self) -> Optional[int]: @property @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterAwsAttributesResult']: + def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesResult']: return pulumi.get(self, "aws_attributes") @property @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterAzureAttributesResult']: + def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesResult']: return pulumi.get(self, "azure_attributes") @property @@ -32163,12 +36831,12 @@ def cluster_id(self) -> Optional[str]: @property @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfResult']: + def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfResult']: return pulumi.get(self, "cluster_log_conf") @property @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoResult']]: + def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoResult']]: return pulumi.get(self, "cluster_mount_infos") @property @@ -32188,12 +36856,12 @@ def data_security_mode(self) -> Optional[str]: @property @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageResult']: + def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageResult']: return pulumi.get(self, "docker_image") @property @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterGcpAttributesResult']: + def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesResult']: return pulumi.get(self, "gcp_attributes") @property @@ -32203,7 +36871,7 @@ def idempotency_token(self) -> Optional[str]: @property @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsNewClusterInitScriptResult']]: + def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptResult']]: return pulumi.get(self, "init_scripts") @property @@ -32243,12 +36911,12 @@ def ssh_public_keys(self) -> Optional[Sequence[str]]: @property @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeResult']: + def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeResult']: return pulumi.get(self, "workload_type") @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterAutoscaleResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleResult(dict): def __init__(__self__, *, max_workers: Optional[int] = None, min_workers: Optional[int] = None): @@ -32269,7 +36937,7 @@ def min_workers(self) -> Optional[int]: @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterAwsAttributesResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, ebs_volume_count: Optional[int] = None, @@ -32338,7 +37006,7 @@ def zone_id(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterAzureAttributesResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, first_on_demand: Optional[int] = None, @@ -32367,336 +37035,28 @@ def spot_bid_max_price(self) -> Optional[float]: @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterClusterLogConfResult(dict): - def __init__(__self__, *, - dbfs: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - - @property - @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult']: - return pulumi.get(self, "dbfs") - - @property - @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result']: - return pulumi.get(self, "s3") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result(dict): - def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") - - @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") - - @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") - - @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") - - @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") - - @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterClusterMountInfoResult(dict): - def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") - - @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult': - return pulumi.get(self, "network_filesystem_info") - - @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): - def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) - - @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") - - @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterDockerImageResult(dict): - def __init__(__self__, *, - url: str, - basic_auth: Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) - - @property - @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") - - @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult']: - return pulumi.get(self, "basic_auth") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult(dict): - def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) - - @property - @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") - - @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterGcpAttributesResult(dict): - def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) - - @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") - - @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") - - @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") - - @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") - - @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfResult(dict): def __init__(__self__, *, - abfss: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptAbfssResult'] = None, - dbfs: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptDbfsResult'] = None, - file: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptFileResult'] = None, - gcs: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptGcsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptS3Result'] = None, - volumes: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult'] = None, - workspace: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) + dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Result'] = None): if dbfs is not None: pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) if s3 is not None: pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) - - @property - @pulumi.getter - def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptAbfssResult']: - return pulumi.get(self, "abfss") @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptDbfsResult']: + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsResult']: return pulumi.get(self, "dbfs") @property - @pulumi.getter - def file(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptFileResult']: - return pulumi.get(self, "file") - - @property - @pulumi.getter - def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptGcsResult']: - return pulumi.get(self, "gcs") - - @property - @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptS3Result']: - return pulumi.get(self, "s3") - - @property - @pulumi.getter - def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult']: - return pulumi.get(self, "volumes") - - @property - @pulumi.getter - def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult']: - return pulumi.get(self, "workspace") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptAbfssResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptDbfsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptFileResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) - - @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Result']: + return pulumi.get(self, "s3") @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptGcsResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -32708,7 +37068,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptS3Result(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Result(dict): def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -32768,652 +37128,394 @@ def region(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + local_mount_dir_path: str, + network_filesystem_info: 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult', + remote_mount_dir_path: Optional[str] = None): + pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) + pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) + if remote_mount_dir_path is not None: + pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @pulumi.getter(name="localMountDirPath") + def local_mount_dir_path(self) -> str: + return pulumi.get(self, "local_mount_dir_path") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNewClusterWorkloadTypeResult(dict): - def __init__(__self__, *, - clients: 'outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult'): - pulumi.set(__self__, "clients", clients) + @pulumi.getter(name="networkFilesystemInfo") + def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult': + return pulumi.get(self, "network_filesystem_info") @property - @pulumi.getter - def clients(self) -> 'outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult': - return pulumi.get(self, "clients") + @pulumi.getter(name="remoteMountDirPath") + def remote_mount_dir_path(self) -> Optional[str]: + return pulumi.get(self, "remote_mount_dir_path") @pulumi.output_type -class GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + server_address: str, + mount_options: Optional[str] = None): + pulumi.set(__self__, "server_address", server_address) + if mount_options is not None: + pulumi.set(__self__, "mount_options", mount_options) @property - @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + @pulumi.getter(name="serverAddress") + def server_address(self) -> str: + return pulumi.get(self, "server_address") @property - @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Optional[str]: + return pulumi.get(self, "mount_options") @pulumi.output_type -class GetJobJobSettingsSettingsNotebookTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageResult(dict): def __init__(__self__, *, - notebook_path: str, - base_parameters: Optional[Mapping[str, str]] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) - - @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> str: - return pulumi.get(self, "notebook_path") - - @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "base_parameters") + url: str, + basic_auth: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthResult'] = None): + pulumi.set(__self__, "url", url) + if basic_auth is not None: + pulumi.set(__self__, "basic_auth", basic_auth) @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") - - -@pulumi.output_type -class GetJobJobSettingsSettingsNotificationSettingsResult(dict): - def __init__(__self__, *, - no_alert_for_canceled_runs: Optional[bool] = None, - no_alert_for_skipped_runs: Optional[bool] = None): - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - - @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_canceled_runs") + def url(self) -> str: + return pulumi.get(self, "url") @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") + @pulumi.getter(name="basicAuth") + def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthResult']: + return pulumi.get(self, "basic_auth") @pulumi.output_type -class GetJobJobSettingsSettingsParameterResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthResult(dict): def __init__(__self__, *, - default: str, - name: str): - """ - :param str name: the job name of Job if the resource was matched by id. - """ - pulumi.set(__self__, "default", default) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def default(self) -> str: - return pulumi.get(self, "default") + password: str, + username: str): + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter - def name(self) -> str: - """ - the job name of Job if the resource was matched by id. - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class GetJobJobSettingsSettingsPipelineTaskResult(dict): - def __init__(__self__, *, - pipeline_id: str, - full_refresh: Optional[bool] = None): - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) - - @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> str: - return pulumi.get(self, "pipeline_id") - - @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[bool]: - return pulumi.get(self, "full_refresh") - - -@pulumi.output_type -class GetJobJobSettingsSettingsPythonWheelTaskResult(dict): - def __init__(__self__, *, - entry_point: Optional[str] = None, - named_parameters: Optional[Mapping[str, str]] = None, - package_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - - @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[str]: - return pulumi.get(self, "entry_point") - - @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "named_parameters") - - @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[str]: - return pulumi.get(self, "package_name") + def password(self) -> str: + return pulumi.get(self, "password") @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + def username(self) -> str: + return pulumi.get(self, "username") @pulumi.output_type -class GetJobJobSettingsSettingsQueueResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesResult(dict): def __init__(__self__, *, - enabled: bool): - pulumi.set(__self__, "enabled", enabled) + availability: Optional[str] = None, + boot_disk_size: Optional[int] = None, + google_service_account: Optional[str] = None, + local_ssd_count: Optional[int] = None, + use_preemptible_executors: Optional[bool] = None, + zone_id: Optional[str] = None): + if availability is not None: + pulumi.set(__self__, "availability", availability) + if boot_disk_size is not None: + pulumi.set(__self__, "boot_disk_size", boot_disk_size) + if google_service_account is not None: + pulumi.set(__self__, "google_service_account", google_service_account) + if local_ssd_count is not None: + pulumi.set(__self__, "local_ssd_count", local_ssd_count) + if use_preemptible_executors is not None: + pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) + if zone_id is not None: + pulumi.set(__self__, "zone_id", zone_id) @property @pulumi.getter - def enabled(self) -> bool: - return pulumi.get(self, "enabled") - - -@pulumi.output_type -class GetJobJobSettingsSettingsRunAsResult(dict): - def __init__(__self__, *, - service_principal_name: Optional[str] = None, - user_name: Optional[str] = None): - if service_principal_name is not None: - pulumi.set(__self__, "service_principal_name", service_principal_name) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) - - @property - @pulumi.getter(name="servicePrincipalName") - def service_principal_name(self) -> Optional[str]: - return pulumi.get(self, "service_principal_name") - - @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") - - -@pulumi.output_type -class GetJobJobSettingsSettingsRunJobTaskResult(dict): - def __init__(__self__, *, - job_id: int, - job_parameters: Optional[Mapping[str, str]] = None): - pulumi.set(__self__, "job_id", job_id) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) - - @property - @pulumi.getter(name="jobId") - def job_id(self) -> int: - return pulumi.get(self, "job_id") - - @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "job_parameters") - - -@pulumi.output_type -class GetJobJobSettingsSettingsScheduleResult(dict): - def __init__(__self__, *, - quartz_cron_expression: str, - timezone_id: str, - pause_status: Optional[str] = None): - pulumi.set(__self__, "quartz_cron_expression", quartz_cron_expression) - pulumi.set(__self__, "timezone_id", timezone_id) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) - - @property - @pulumi.getter(name="quartzCronExpression") - def quartz_cron_expression(self) -> str: - return pulumi.get(self, "quartz_cron_expression") + def availability(self) -> Optional[str]: + return pulumi.get(self, "availability") @property - @pulumi.getter(name="timezoneId") - def timezone_id(self) -> str: - return pulumi.get(self, "timezone_id") + @pulumi.getter(name="bootDiskSize") + def boot_disk_size(self) -> Optional[int]: + return pulumi.get(self, "boot_disk_size") @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[str]: - return pulumi.get(self, "pause_status") - - -@pulumi.output_type -class GetJobJobSettingsSettingsSparkJarTaskResult(dict): - def __init__(__self__, *, - jar_uri: Optional[str] = None, - main_class_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @pulumi.getter(name="googleServiceAccount") + def google_service_account(self) -> Optional[str]: + return pulumi.get(self, "google_service_account") @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[str]: - return pulumi.get(self, "jar_uri") + @pulumi.getter(name="localSsdCount") + def local_ssd_count(self) -> Optional[int]: + return pulumi.get(self, "local_ssd_count") @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[str]: - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="usePreemptibleExecutors") + def use_preemptible_executors(self) -> Optional[bool]: + return pulumi.get(self, "use_preemptible_executors") @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="zoneId") + def zone_id(self) -> Optional[str]: + return pulumi.get(self, "zone_id") @pulumi.output_type -class GetJobJobSettingsSettingsSparkPythonTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptResult(dict): def __init__(__self__, *, - python_file: str, - parameters: Optional[Sequence[str]] = None, - source: Optional[str] = None): - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if source is not None: - pulumi.set(__self__, "source", source) - - @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> str: - return pulumi.get(self, "python_file") - - @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + abfss: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssResult'] = None, + dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsResult'] = None, + file: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileResult'] = None, + gcs: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Result'] = None, + volumes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesResult'] = None, + workspace: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceResult'] = None): + if abfss is not None: + pulumi.set(__self__, "abfss", abfss) + if dbfs is not None: + pulumi.set(__self__, "dbfs", dbfs) + if file is not None: + pulumi.set(__self__, "file", file) + if gcs is not None: + pulumi.set(__self__, "gcs", gcs) + if s3 is not None: + pulumi.set(__self__, "s3", s3) + if volumes is not None: + pulumi.set(__self__, "volumes", volumes) + if workspace is not None: + pulumi.set(__self__, "workspace", workspace) @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - - -@pulumi.output_type -class GetJobJobSettingsSettingsSparkSubmitTaskResult(dict): - def __init__(__self__, *, - parameters: Optional[Sequence[str]] = None): - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssResult']: + return pulumi.get(self, "abfss") @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskResult(dict): - def __init__(__self__, *, - retry_on_timeout: bool, - task_key: str, - condition_task: Optional['outputs.GetJobJobSettingsSettingsTaskConditionTaskResult'] = None, - dbt_task: Optional['outputs.GetJobJobSettingsSettingsTaskDbtTaskResult'] = None, - depends_ons: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskDependsOnResult']] = None, - description: Optional[str] = None, - email_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskEmailNotificationsResult'] = None, - environment_key: Optional[str] = None, - existing_cluster_id: Optional[str] = None, - for_each_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskResult'] = None, - health: Optional['outputs.GetJobJobSettingsSettingsTaskHealthResult'] = None, - job_cluster_key: Optional[str] = None, - libraries: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskLibraryResult']] = None, - max_retries: Optional[int] = None, - min_retry_interval_millis: Optional[int] = None, - new_cluster: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterResult'] = None, - notebook_task: Optional['outputs.GetJobJobSettingsSettingsTaskNotebookTaskResult'] = None, - notification_settings: Optional['outputs.GetJobJobSettingsSettingsTaskNotificationSettingsResult'] = None, - pipeline_task: Optional['outputs.GetJobJobSettingsSettingsTaskPipelineTaskResult'] = None, - python_wheel_task: Optional['outputs.GetJobJobSettingsSettingsTaskPythonWheelTaskResult'] = None, - run_if: Optional[str] = None, - run_job_task: Optional['outputs.GetJobJobSettingsSettingsTaskRunJobTaskResult'] = None, - spark_jar_task: Optional['outputs.GetJobJobSettingsSettingsTaskSparkJarTaskResult'] = None, - spark_python_task: Optional['outputs.GetJobJobSettingsSettingsTaskSparkPythonTaskResult'] = None, - spark_submit_task: Optional['outputs.GetJobJobSettingsSettingsTaskSparkSubmitTaskResult'] = None, - sql_task: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskResult'] = None, - timeout_seconds: Optional[int] = None, - webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsResult'] = None): - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - pulumi.set(__self__, "task_key", task_key) - if condition_task is not None: - pulumi.set(__self__, "condition_task", condition_task) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) - if description is not None: - pulumi.set(__self__, "description", description) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environment_key is not None: - pulumi.set(__self__, "environment_key", environment_key) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if for_each_task is not None: - pulumi.set(__self__, "for_each_task", for_each_task) - if health is not None: - pulumi.set(__self__, "health", health) - if job_cluster_key is not None: - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if run_if is not None: - pulumi.set(__self__, "run_if", run_if) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if sql_task is not None: - pulumi.set(__self__, "sql_task", sql_task) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) - - @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> bool: - return pulumi.get(self, "retry_on_timeout") - - @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") - - @property - @pulumi.getter(name="conditionTask") - def condition_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskConditionTaskResult']: - return pulumi.get(self, "condition_task") - - @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskDbtTaskResult']: - return pulumi.get(self, "dbt_task") - - @property - @pulumi.getter(name="dependsOns") - def depends_ons(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskDependsOnResult']]: - return pulumi.get(self, "depends_ons") + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsResult']: + return pulumi.get(self, "dbfs") @property @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileResult']: + return pulumi.get(self, "file") @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskEmailNotificationsResult']: - return pulumi.get(self, "email_notifications") + @pulumi.getter + def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsResult']: + return pulumi.get(self, "gcs") @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> Optional[str]: - return pulumi.get(self, "environment_key") + @pulumi.getter + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Result']: + return pulumi.get(self, "s3") @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[str]: - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter + def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesResult']: + return pulumi.get(self, "volumes") @property - @pulumi.getter(name="forEachTask") - def for_each_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskResult']: - return pulumi.get(self, "for_each_task") + @pulumi.getter + def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceResult']: + return pulumi.get(self, "workspace") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def health(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskHealthResult']: - return pulumi.get(self, "health") + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> Optional[str]: - return pulumi.get(self, "job_cluster_key") + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property @pulumi.getter - def libraries(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskLibraryResult']]: - return pulumi.get(self, "libraries") + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[int]: - return pulumi.get(self, "max_retries") - @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[int]: - return pulumi.get(self, "min_retry_interval_millis") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterResult']: - return pulumi.get(self, "new_cluster") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") - @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNotebookTaskResult']: - return pulumi.get(self, "notebook_task") - @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNotificationSettingsResult']: - return pulumi.get(self, "notification_settings") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskPipelineTaskResult']: - return pulumi.get(self, "pipeline_task") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Result(dict): + def __init__(__self__, *, + destination: str, + canned_acl: Optional[str] = None, + enable_encryption: Optional[bool] = None, + encryption_type: Optional[str] = None, + endpoint: Optional[str] = None, + kms_key: Optional[str] = None, + region: Optional[str] = None): + pulumi.set(__self__, "destination", destination) + if canned_acl is not None: + pulumi.set(__self__, "canned_acl", canned_acl) + if enable_encryption is not None: + pulumi.set(__self__, "enable_encryption", enable_encryption) + if encryption_type is not None: + pulumi.set(__self__, "encryption_type", encryption_type) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if kms_key is not None: + pulumi.set(__self__, "kms_key", kms_key) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskPythonWheelTaskResult']: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") @property - @pulumi.getter(name="runIf") - def run_if(self) -> Optional[str]: - return pulumi.get(self, "run_if") + @pulumi.getter(name="cannedAcl") + def canned_acl(self) -> Optional[str]: + return pulumi.get(self, "canned_acl") @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskRunJobTaskResult']: - return pulumi.get(self, "run_job_task") + @pulumi.getter(name="enableEncryption") + def enable_encryption(self) -> Optional[bool]: + return pulumi.get(self, "enable_encryption") @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSparkJarTaskResult']: - return pulumi.get(self, "spark_jar_task") + @pulumi.getter(name="encryptionType") + def encryption_type(self) -> Optional[str]: + return pulumi.get(self, "encryption_type") @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSparkPythonTaskResult']: - return pulumi.get(self, "spark_python_task") + @pulumi.getter + def endpoint(self) -> Optional[str]: + return pulumi.get(self, "endpoint") @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSparkSubmitTaskResult']: - return pulumi.get(self, "spark_submit_task") + @pulumi.getter(name="kmsKey") + def kms_key(self) -> Optional[str]: + return pulumi.get(self, "kms_key") @property - @pulumi.getter(name="sqlTask") - def sql_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskResult']: - return pulumi.get(self, "sql_task") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[int]: - return pulumi.get(self, "timeout_seconds") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceResult(dict): + def __init__(__self__, *, + destination: str): + pulumi.set(__self__, "destination", destination) @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsResult']: - return pulumi.get(self, "webhook_notifications") + @pulumi.getter + def destination(self) -> str: + return pulumi.get(self, "destination") @pulumi.output_type -class GetJobJobSettingsSettingsTaskConditionTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeResult(dict): def __init__(__self__, *, - left: str, - op: str, - right: str): - pulumi.set(__self__, "left", left) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "right", right) + clients: 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsResult'): + pulumi.set(__self__, "clients", clients) @property @pulumi.getter - def left(self) -> str: - return pulumi.get(self, "left") + def clients(self) -> 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsResult': + return pulumi.get(self, "clients") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsResult(dict): + def __init__(__self__, *, + jobs: Optional[bool] = None, + notebooks: Optional[bool] = None): + if jobs is not None: + pulumi.set(__self__, "jobs", jobs) + if notebooks is not None: + pulumi.set(__self__, "notebooks", notebooks) @property @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + def jobs(self) -> Optional[bool]: + return pulumi.get(self, "jobs") @property @pulumi.getter - def right(self) -> str: - return pulumi.get(self, "right") + def notebooks(self) -> Optional[bool]: + return pulumi.get(self, "notebooks") @pulumi.output_type -class GetJobJobSettingsSettingsTaskDbtTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskResult(dict): def __init__(__self__, *, - commands: Sequence[str], - catalog: Optional[str] = None, - profiles_directory: Optional[str] = None, - project_directory: Optional[str] = None, - schema: Optional[str] = None, + notebook_path: str, + base_parameters: Optional[Mapping[str, str]] = None, source: Optional[str] = None, warehouse_id: Optional[str] = None): - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) + pulumi.set(__self__, "notebook_path", notebook_path) + if base_parameters is not None: + pulumi.set(__self__, "base_parameters", base_parameters) if source is not None: pulumi.set(__self__, "source", source) if warehouse_id is not None: pulumi.set(__self__, "warehouse_id", warehouse_id) @property - @pulumi.getter - def commands(self) -> Sequence[str]: - return pulumi.get(self, "commands") - - @property - @pulumi.getter - def catalog(self) -> Optional[str]: - return pulumi.get(self, "catalog") - - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[str]: - return pulumi.get(self, "profiles_directory") - - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[str]: - return pulumi.get(self, "project_directory") + @pulumi.getter(name="notebookPath") + def notebook_path(self) -> str: + return pulumi.get(self, "notebook_path") @property - @pulumi.getter - def schema(self) -> Optional[str]: - return pulumi.get(self, "schema") + @pulumi.getter(name="baseParameters") + def base_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "base_parameters") @property @pulumi.getter @@ -33427,441 +37529,379 @@ def warehouse_id(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskDependsOnResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsResult(dict): def __init__(__self__, *, - task_key: str, - outcome: Optional[str] = None): - pulumi.set(__self__, "task_key", task_key) - if outcome is not None: - pulumi.set(__self__, "outcome", outcome) + alert_on_last_attempt: Optional[bool] = None, + no_alert_for_canceled_runs: Optional[bool] = None, + no_alert_for_skipped_runs: Optional[bool] = None): + if alert_on_last_attempt is not None: + pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) + if no_alert_for_canceled_runs is not None: + pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) + if no_alert_for_skipped_runs is not None: + pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") + @pulumi.getter(name="alertOnLastAttempt") + def alert_on_last_attempt(self) -> Optional[bool]: + return pulumi.get(self, "alert_on_last_attempt") @property - @pulumi.getter - def outcome(self) -> Optional[str]: - return pulumi.get(self, "outcome") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskEmailNotificationsResult(dict): - def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[bool] = None, - on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, - on_failures: Optional[Sequence[str]] = None, - on_starts: Optional[Sequence[str]] = None, - on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, - on_successes: Optional[Sequence[str]] = None): - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) + @pulumi.getter(name="noAlertForCanceledRuns") + def no_alert_for_canceled_runs(self) -> Optional[bool]: + return pulumi.get(self, "no_alert_for_canceled_runs") @property @pulumi.getter(name="noAlertForSkippedRuns") def no_alert_for_skipped_runs(self) -> Optional[bool]: return pulumi.get(self, "no_alert_for_skipped_runs") - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_failures") - @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_starts") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskResult(dict): + def __init__(__self__, *, + pipeline_id: str, + full_refresh: Optional[bool] = None): + pulumi.set(__self__, "pipeline_id", pipeline_id) + if full_refresh is not None: + pulumi.set(__self__, "full_refresh", full_refresh) @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="pipelineId") + def pipeline_id(self) -> str: + return pulumi.get(self, "pipeline_id") @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "on_successes") + @pulumi.getter(name="fullRefresh") + def full_refresh(self) -> Optional[bool]: + return pulumi.get(self, "full_refresh") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskResult(dict): def __init__(__self__, *, - inputs: str, - task: 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskResult', - concurrency: Optional[int] = None): - pulumi.set(__self__, "inputs", inputs) - pulumi.set(__self__, "task", task) - if concurrency is not None: - pulumi.set(__self__, "concurrency", concurrency) + entry_point: Optional[str] = None, + named_parameters: Optional[Mapping[str, str]] = None, + package_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if entry_point is not None: + pulumi.set(__self__, "entry_point", entry_point) + if named_parameters is not None: + pulumi.set(__self__, "named_parameters", named_parameters) + if package_name is not None: + pulumi.set(__self__, "package_name", package_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter - def inputs(self) -> str: - return pulumi.get(self, "inputs") + @pulumi.getter(name="entryPoint") + def entry_point(self) -> Optional[str]: + return pulumi.get(self, "entry_point") @property - @pulumi.getter - def task(self) -> 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskResult': - return pulumi.get(self, "task") + @pulumi.getter(name="namedParameters") + def named_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "named_parameters") + + @property + @pulumi.getter(name="packageName") + def package_name(self) -> Optional[str]: + return pulumi.get(self, "package_name") @property @pulumi.getter - def concurrency(self) -> Optional[int]: - return pulumi.get(self, "concurrency") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskResult(dict): def __init__(__self__, *, - retry_on_timeout: bool, - task_key: str, - condition_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult'] = None, - dbt_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskResult'] = None, - depends_ons: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnResult']] = None, - description: Optional[str] = None, - email_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult'] = None, - environment_key: Optional[str] = None, - existing_cluster_id: Optional[str] = None, - health: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthResult'] = None, - job_cluster_key: Optional[str] = None, - libraries: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryResult']] = None, - max_retries: Optional[int] = None, - min_retry_interval_millis: Optional[int] = None, - new_cluster: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterResult'] = None, - notebook_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskResult'] = None, - notification_settings: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsResult'] = None, - pipeline_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskResult'] = None, - python_wheel_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskResult'] = None, - run_if: Optional[str] = None, - run_job_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskResult'] = None, - spark_jar_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskResult'] = None, - spark_python_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskResult'] = None, - spark_submit_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskResult'] = None, - sql_task: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskResult'] = None, - timeout_seconds: Optional[int] = None, - webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsResult'] = None): - pulumi.set(__self__, "retry_on_timeout", retry_on_timeout) - pulumi.set(__self__, "task_key", task_key) - if condition_task is not None: - pulumi.set(__self__, "condition_task", condition_task) - if dbt_task is not None: - pulumi.set(__self__, "dbt_task", dbt_task) - if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) - if description is not None: - pulumi.set(__self__, "description", description) - if email_notifications is not None: - pulumi.set(__self__, "email_notifications", email_notifications) - if environment_key is not None: - pulumi.set(__self__, "environment_key", environment_key) - if existing_cluster_id is not None: - pulumi.set(__self__, "existing_cluster_id", existing_cluster_id) - if health is not None: - pulumi.set(__self__, "health", health) - if job_cluster_key is not None: - pulumi.set(__self__, "job_cluster_key", job_cluster_key) - if libraries is not None: - pulumi.set(__self__, "libraries", libraries) - if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) - if min_retry_interval_millis is not None: - pulumi.set(__self__, "min_retry_interval_millis", min_retry_interval_millis) - if new_cluster is not None: - pulumi.set(__self__, "new_cluster", new_cluster) - if notebook_task is not None: - pulumi.set(__self__, "notebook_task", notebook_task) - if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) - if pipeline_task is not None: - pulumi.set(__self__, "pipeline_task", pipeline_task) - if python_wheel_task is not None: - pulumi.set(__self__, "python_wheel_task", python_wheel_task) - if run_if is not None: - pulumi.set(__self__, "run_if", run_if) - if run_job_task is not None: - pulumi.set(__self__, "run_job_task", run_job_task) - if spark_jar_task is not None: - pulumi.set(__self__, "spark_jar_task", spark_jar_task) - if spark_python_task is not None: - pulumi.set(__self__, "spark_python_task", spark_python_task) - if spark_submit_task is not None: - pulumi.set(__self__, "spark_submit_task", spark_submit_task) - if sql_task is not None: - pulumi.set(__self__, "sql_task", sql_task) - if timeout_seconds is not None: - pulumi.set(__self__, "timeout_seconds", timeout_seconds) - if webhook_notifications is not None: - pulumi.set(__self__, "webhook_notifications", webhook_notifications) + job_id: int, + job_parameters: Optional[Mapping[str, str]] = None): + pulumi.set(__self__, "job_id", job_id) + if job_parameters is not None: + pulumi.set(__self__, "job_parameters", job_parameters) @property - @pulumi.getter(name="retryOnTimeout") - def retry_on_timeout(self) -> bool: - return pulumi.get(self, "retry_on_timeout") + @pulumi.getter(name="jobId") + def job_id(self) -> int: + return pulumi.get(self, "job_id") @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") + @pulumi.getter(name="jobParameters") + def job_parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "job_parameters") - @property - @pulumi.getter(name="conditionTask") - def condition_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult']: - return pulumi.get(self, "condition_task") + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskResult(dict): + def __init__(__self__, *, + jar_uri: Optional[str] = None, + main_class_name: Optional[str] = None, + parameters: Optional[Sequence[str]] = None): + if jar_uri is not None: + pulumi.set(__self__, "jar_uri", jar_uri) + if main_class_name is not None: + pulumi.set(__self__, "main_class_name", main_class_name) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property - @pulumi.getter(name="dbtTask") - def dbt_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskResult']: - return pulumi.get(self, "dbt_task") + @pulumi.getter(name="jarUri") + def jar_uri(self) -> Optional[str]: + return pulumi.get(self, "jar_uri") @property - @pulumi.getter(name="dependsOns") - def depends_ons(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnResult']]: - return pulumi.get(self, "depends_ons") + @pulumi.getter(name="mainClassName") + def main_class_name(self) -> Optional[str]: + return pulumi.get(self, "main_class_name") @property @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @property - @pulumi.getter(name="emailNotifications") - def email_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult']: - return pulumi.get(self, "email_notifications") - @property - @pulumi.getter(name="environmentKey") - def environment_key(self) -> Optional[str]: - return pulumi.get(self, "environment_key") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskResult(dict): + def __init__(__self__, *, + python_file: str, + parameters: Optional[Sequence[str]] = None, + source: Optional[str] = None): + pulumi.set(__self__, "python_file", python_file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if source is not None: + pulumi.set(__self__, "source", source) @property - @pulumi.getter(name="existingClusterId") - def existing_cluster_id(self) -> Optional[str]: - return pulumi.get(self, "existing_cluster_id") + @pulumi.getter(name="pythonFile") + def python_file(self) -> str: + return pulumi.get(self, "python_file") @property @pulumi.getter - def health(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthResult']: - return pulumi.get(self, "health") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") @property - @pulumi.getter(name="jobClusterKey") - def job_cluster_key(self) -> Optional[str]: - return pulumi.get(self, "job_cluster_key") + @pulumi.getter + def source(self) -> Optional[str]: + return pulumi.get(self, "source") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskResult(dict): + def __init__(__self__, *, + parameters: Optional[Sequence[str]] = None): + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) @property @pulumi.getter - def libraries(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryResult']]: - return pulumi.get(self, "libraries") + def parameters(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "parameters") - @property - @pulumi.getter(name="maxRetries") - def max_retries(self) -> Optional[int]: - return pulumi.get(self, "max_retries") - @property - @pulumi.getter(name="minRetryIntervalMillis") - def min_retry_interval_millis(self) -> Optional[int]: - return pulumi.get(self, "min_retry_interval_millis") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskResult(dict): + def __init__(__self__, *, + warehouse_id: str, + alert: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertResult'] = None, + dashboard: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardResult'] = None, + file: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileResult'] = None, + parameters: Optional[Mapping[str, str]] = None, + query: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryResult'] = None): + pulumi.set(__self__, "warehouse_id", warehouse_id) + if alert is not None: + pulumi.set(__self__, "alert", alert) + if dashboard is not None: + pulumi.set(__self__, "dashboard", dashboard) + if file is not None: + pulumi.set(__self__, "file", file) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + if query is not None: + pulumi.set(__self__, "query", query) @property - @pulumi.getter(name="newCluster") - def new_cluster(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterResult']: - return pulumi.get(self, "new_cluster") + @pulumi.getter(name="warehouseId") + def warehouse_id(self) -> str: + return pulumi.get(self, "warehouse_id") @property - @pulumi.getter(name="notebookTask") - def notebook_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskResult']: - return pulumi.get(self, "notebook_task") + @pulumi.getter + def alert(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertResult']: + return pulumi.get(self, "alert") @property - @pulumi.getter(name="notificationSettings") - def notification_settings(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsResult']: - return pulumi.get(self, "notification_settings") + @pulumi.getter + def dashboard(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardResult']: + return pulumi.get(self, "dashboard") @property - @pulumi.getter(name="pipelineTask") - def pipeline_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskResult']: - return pulumi.get(self, "pipeline_task") + @pulumi.getter + def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileResult']: + return pulumi.get(self, "file") @property - @pulumi.getter(name="pythonWheelTask") - def python_wheel_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskResult']: - return pulumi.get(self, "python_wheel_task") + @pulumi.getter + def parameters(self) -> Optional[Mapping[str, str]]: + return pulumi.get(self, "parameters") @property - @pulumi.getter(name="runIf") - def run_if(self) -> Optional[str]: - return pulumi.get(self, "run_if") + @pulumi.getter + def query(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryResult']: + return pulumi.get(self, "query") - @property - @pulumi.getter(name="runJobTask") - def run_job_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskResult']: - return pulumi.get(self, "run_job_task") - @property - @pulumi.getter(name="sparkJarTask") - def spark_jar_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskResult']: - return pulumi.get(self, "spark_jar_task") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertResult(dict): + def __init__(__self__, *, + alert_id: str, + pause_subscriptions: Optional[bool] = None, + subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionResult']] = None): + pulumi.set(__self__, "alert_id", alert_id) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter(name="sparkPythonTask") - def spark_python_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskResult']: - return pulumi.get(self, "spark_python_task") + @pulumi.getter(name="alertId") + def alert_id(self) -> str: + return pulumi.get(self, "alert_id") @property - @pulumi.getter(name="sparkSubmitTask") - def spark_submit_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskResult']: - return pulumi.get(self, "spark_submit_task") + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[bool]: + return pulumi.get(self, "pause_subscriptions") @property - @pulumi.getter(name="sqlTask") - def sql_task(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskResult']: - return pulumi.get(self, "sql_task") + @pulumi.getter + def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionResult']]: + return pulumi.get(self, "subscriptions") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionResult(dict): + def __init__(__self__, *, + destination_id: Optional[str] = None, + user_name: Optional[str] = None): + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter(name="timeoutSeconds") - def timeout_seconds(self) -> Optional[int]: - return pulumi.get(self, "timeout_seconds") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[str]: + return pulumi.get(self, "destination_id") @property - @pulumi.getter(name="webhookNotifications") - def webhook_notifications(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsResult']: - return pulumi.get(self, "webhook_notifications") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskConditionTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardResult(dict): def __init__(__self__, *, - left: str, - op: str, - right: str): - pulumi.set(__self__, "left", left) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "right", right) + dashboard_id: str, + custom_subject: Optional[str] = None, + pause_subscriptions: Optional[bool] = None, + subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionResult']] = None): + pulumi.set(__self__, "dashboard_id", dashboard_id) + if custom_subject is not None: + pulumi.set(__self__, "custom_subject", custom_subject) + if pause_subscriptions is not None: + pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) + if subscriptions is not None: + pulumi.set(__self__, "subscriptions", subscriptions) @property - @pulumi.getter - def left(self) -> str: - return pulumi.get(self, "left") + @pulumi.getter(name="dashboardId") + def dashboard_id(self) -> str: + return pulumi.get(self, "dashboard_id") @property - @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") + @pulumi.getter(name="customSubject") + def custom_subject(self) -> Optional[str]: + return pulumi.get(self, "custom_subject") + + @property + @pulumi.getter(name="pauseSubscriptions") + def pause_subscriptions(self) -> Optional[bool]: + return pulumi.get(self, "pause_subscriptions") @property @pulumi.getter - def right(self) -> str: - return pulumi.get(self, "right") + def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionResult']]: + return pulumi.get(self, "subscriptions") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskDbtTaskResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionResult(dict): def __init__(__self__, *, - commands: Sequence[str], - catalog: Optional[str] = None, - profiles_directory: Optional[str] = None, - project_directory: Optional[str] = None, - schema: Optional[str] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "commands", commands) - if catalog is not None: - pulumi.set(__self__, "catalog", catalog) - if profiles_directory is not None: - pulumi.set(__self__, "profiles_directory", profiles_directory) - if project_directory is not None: - pulumi.set(__self__, "project_directory", project_directory) - if schema is not None: - pulumi.set(__self__, "schema", schema) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + destination_id: Optional[str] = None, + user_name: Optional[str] = None): + if destination_id is not None: + pulumi.set(__self__, "destination_id", destination_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @property - @pulumi.getter - def commands(self) -> Sequence[str]: - return pulumi.get(self, "commands") + @pulumi.getter(name="destinationId") + def destination_id(self) -> Optional[str]: + return pulumi.get(self, "destination_id") @property - @pulumi.getter - def catalog(self) -> Optional[str]: - return pulumi.get(self, "catalog") + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + return pulumi.get(self, "user_name") - @property - @pulumi.getter(name="profilesDirectory") - def profiles_directory(self) -> Optional[str]: - return pulumi.get(self, "profiles_directory") - @property - @pulumi.getter(name="projectDirectory") - def project_directory(self) -> Optional[str]: - return pulumi.get(self, "project_directory") +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileResult(dict): + def __init__(__self__, *, + path: str, + source: Optional[str] = None): + pulumi.set(__self__, "path", path) + if source is not None: + pulumi.set(__self__, "source", source) @property @pulumi.getter - def schema(self) -> Optional[str]: - return pulumi.get(self, "schema") + def path(self) -> str: + return pulumi.get(self, "path") @property @pulumi.getter def source(self) -> Optional[str]: return pulumi.get(self, "source") - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") - @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskDependsOnResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryResult(dict): def __init__(__self__, *, - task_key: str, - outcome: Optional[str] = None): - pulumi.set(__self__, "task_key", task_key) - if outcome is not None: - pulumi.set(__self__, "outcome", outcome) - - @property - @pulumi.getter(name="taskKey") - def task_key(self) -> str: - return pulumi.get(self, "task_key") + query_id: str): + pulumi.set(__self__, "query_id", query_id) @property - @pulumi.getter - def outcome(self) -> Optional[str]: - return pulumi.get(self, "outcome") + @pulumi.getter(name="queryId") + def query_id(self) -> str: + return pulumi.get(self, "query_id") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskEmailNotificationsResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsResult(dict): def __init__(__self__, *, - no_alert_for_skipped_runs: Optional[bool] = None, - on_duration_warning_threshold_exceededs: Optional[Sequence[str]] = None, - on_failures: Optional[Sequence[str]] = None, - on_starts: Optional[Sequence[str]] = None, - on_streaming_backlog_exceededs: Optional[Sequence[str]] = None, - on_successes: Optional[Sequence[str]] = None): - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + on_duration_warning_threshold_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']] = None, + on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult']] = None, + on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult']] = None, + on_streaming_backlog_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededResult']] = None, + on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult']] = None): if on_duration_warning_threshold_exceededs is not None: pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -33873,51 +37913,136 @@ def __init__(__self__, *, if on_successes is not None: pulumi.set(__self__, "on_successes", on_successes) - @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") - @property @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence[str]]: + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']]: return pulumi.get(self, "on_duration_warning_threshold_exceededs") @property @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence[str]]: + def on_failures(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult']]: return pulumi.get(self, "on_failures") @property @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence[str]]: + def on_starts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult']]: return pulumi.get(self, "on_starts") @property @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence[str]]: + def on_streaming_backlog_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededResult']]: return pulumi.get(self, "on_streaming_backlog_exceededs") @property @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence[str]]: + def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult']]: return pulumi.get(self, "on_successes") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthResult(dict): +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): def __init__(__self__, *, - rules: Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleResult']): + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskHealthResult(dict): + def __init__(__self__, *, + rules: Sequence['outputs.GetJobJobSettingsSettingsTaskHealthRuleResult']): pulumi.set(__self__, "rules", rules) @property @pulumi.getter - def rules(self) -> Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleResult']: + def rules(self) -> Sequence['outputs.GetJobJobSettingsSettingsTaskHealthRuleResult']: return pulumi.get(self, "rules") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskHealthRuleResult(dict): +class GetJobJobSettingsSettingsTaskHealthRuleResult(dict): def __init__(__self__, *, metric: str, op: str, @@ -33943,13 +38068,13 @@ def value(self) -> int: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryResult(dict): +class GetJobJobSettingsSettingsTaskLibraryResult(dict): def __init__(__self__, *, - cran: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranResult'] = None, + cran: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryCranResult'] = None, egg: Optional[str] = None, jar: Optional[str] = None, - maven: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenResult'] = None, - pypi: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiResult'] = None, + maven: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryMavenResult'] = None, + pypi: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryPypiResult'] = None, requirements: Optional[str] = None, whl: Optional[str] = None): if cran is not None: @@ -33969,7 +38094,7 @@ def __init__(__self__, *, @property @pulumi.getter - def cran(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranResult']: + def cran(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskLibraryCranResult']: return pulumi.get(self, "cran") @property @@ -33984,12 +38109,12 @@ def jar(self) -> Optional[str]: @property @pulumi.getter - def maven(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenResult']: + def maven(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskLibraryMavenResult']: return pulumi.get(self, "maven") @property @pulumi.getter - def pypi(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiResult']: + def pypi(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskLibraryPypiResult']: return pulumi.get(self, "pypi") @property @@ -34004,7 +38129,7 @@ def whl(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryCranResult(dict): +class GetJobJobSettingsSettingsTaskLibraryCranResult(dict): def __init__(__self__, *, package: str, repo: Optional[str] = None): @@ -34024,7 +38149,7 @@ def repo(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryMavenResult(dict): +class GetJobJobSettingsSettingsTaskLibraryMavenResult(dict): def __init__(__self__, *, coordinates: str, exclusions: Optional[Sequence[str]] = None, @@ -34052,7 +38177,7 @@ def repo(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypiResult(dict): +class GetJobJobSettingsSettingsTaskLibraryPypiResult(dict): def __init__(__self__, *, package: str, repo: Optional[str] = None): @@ -34072,7 +38197,7 @@ def repo(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterResult(dict): def __init__(__self__, *, driver_instance_pool_id: str, driver_node_type_id: str, @@ -34082,20 +38207,20 @@ def __init__(__self__, *, num_workers: int, spark_version: str, apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleResult'] = None, + autoscale: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAutoscaleResult'] = None, autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesResult'] = None, + aws_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAwsAttributesResult'] = None, + azure_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAzureAttributesResult'] = None, cluster_id: Optional[str] = None, - cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfResult'] = None, - cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoResult']] = None, + cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfResult'] = None, + cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoResult']] = None, cluster_name: Optional[str] = None, custom_tags: Optional[Mapping[str, str]] = None, data_security_mode: Optional[str] = None, - docker_image: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageResult'] = None, - gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesResult'] = None, + docker_image: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageResult'] = None, + gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterGcpAttributesResult'] = None, idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptResult']] = None, + init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptResult']] = None, instance_pool_id: Optional[str] = None, policy_id: Optional[str] = None, runtime_engine: Optional[str] = None, @@ -34103,7 +38228,7 @@ def __init__(__self__, *, spark_conf: Optional[Mapping[str, str]] = None, spark_env_vars: Optional[Mapping[str, str]] = None, ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeResult'] = None): + workload_type: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult'] = None): pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) @@ -34200,7 +38325,7 @@ def apply_policy_default_values(self) -> Optional[bool]: @property @pulumi.getter - def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleResult']: + def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAutoscaleResult']: return pulumi.get(self, "autoscale") @property @@ -34210,12 +38335,12 @@ def autotermination_minutes(self) -> Optional[int]: @property @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesResult']: + def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAwsAttributesResult']: return pulumi.get(self, "aws_attributes") @property @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesResult']: + def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAzureAttributesResult']: return pulumi.get(self, "azure_attributes") @property @@ -34225,12 +38350,12 @@ def cluster_id(self) -> Optional[str]: @property @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfResult']: + def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfResult']: return pulumi.get(self, "cluster_log_conf") @property @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoResult']]: + def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoResult']]: return pulumi.get(self, "cluster_mount_infos") @property @@ -34250,12 +38375,12 @@ def data_security_mode(self) -> Optional[str]: @property @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageResult']: + def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageResult']: return pulumi.get(self, "docker_image") @property @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesResult']: + def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterGcpAttributesResult']: return pulumi.get(self, "gcp_attributes") @property @@ -34265,7 +38390,7 @@ def idempotency_token(self) -> Optional[str]: @property @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptResult']]: + def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptResult']]: return pulumi.get(self, "init_scripts") @property @@ -34305,12 +38430,12 @@ def ssh_public_keys(self) -> Optional[Sequence[str]]: @property @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeResult']: + def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult']: return pulumi.get(self, "workload_type") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAutoscaleResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterAutoscaleResult(dict): def __init__(__self__, *, max_workers: Optional[int] = None, min_workers: Optional[int] = None): @@ -34331,7 +38456,7 @@ def min_workers(self) -> Optional[int]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAwsAttributesResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterAwsAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, ebs_volume_count: Optional[int] = None, @@ -34400,7 +38525,7 @@ def zone_id(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterAzureAttributesResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterAzureAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, first_on_demand: Optional[int] = None, @@ -34429,10 +38554,10 @@ def spot_bid_max_price(self) -> Optional[float]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfResult(dict): def __init__(__self__, *, - dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Result'] = None): + dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result'] = None): if dbfs is not None: pulumi.set(__self__, "dbfs", dbfs) if s3 is not None: @@ -34440,17 +38565,17 @@ def __init__(__self__, *, @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsResult']: + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult']: return pulumi.get(self, "dbfs") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Result']: + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result']: return pulumi.get(self, "s3") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfDbfsResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34462,7 +38587,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterLogConfS3Result(dict): +class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result(dict): def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -34522,10 +38647,10 @@ def region(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoResult(dict): def __init__(__self__, *, local_mount_dir_path: str, - network_filesystem_info: 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult', + network_filesystem_info: 'outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult', remote_mount_dir_path: Optional[str] = None): pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) @@ -34539,7 +38664,7 @@ def local_mount_dir_path(self) -> str: @property @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult': + def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult': return pulumi.get(self, "network_filesystem_info") @property @@ -34549,7 +38674,7 @@ def remote_mount_dir_path(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): def __init__(__self__, *, server_address: str, mount_options: Optional[str] = None): @@ -34569,10 +38694,10 @@ def mount_options(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterDockerImageResult(dict): def __init__(__self__, *, url: str, - basic_auth: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthResult'] = None): + basic_auth: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult'] = None): pulumi.set(__self__, "url", url) if basic_auth is not None: pulumi.set(__self__, "basic_auth", basic_auth) @@ -34584,12 +38709,12 @@ def url(self) -> str: @property @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthResult']: + def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult']: return pulumi.get(self, "basic_auth") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterDockerImageBasicAuthResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult(dict): def __init__(__self__, *, password: str, username: str): @@ -34608,7 +38733,7 @@ def username(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterGcpAttributesResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterGcpAttributesResult(dict): def __init__(__self__, *, availability: Optional[str] = None, boot_disk_size: Optional[int] = None, @@ -34661,15 +38786,15 @@ def zone_id(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptResult(dict): def __init__(__self__, *, - abfss: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssResult'] = None, - dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsResult'] = None, - file: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileResult'] = None, - gcs: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Result'] = None, - volumes: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesResult'] = None, - workspace: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceResult'] = None): + abfss: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssResult'] = None, + dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsResult'] = None, + file: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptFileResult'] = None, + gcs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsResult'] = None, + s3: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result'] = None, + volumes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult'] = None, + workspace: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult'] = None): if abfss is not None: pulumi.set(__self__, "abfss", abfss) if dbfs is not None: @@ -34687,42 +38812,42 @@ def __init__(__self__, *, @property @pulumi.getter - def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssResult']: + def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssResult']: return pulumi.get(self, "abfss") @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsResult']: + def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsResult']: return pulumi.get(self, "dbfs") @property @pulumi.getter - def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileResult']: + def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptFileResult']: return pulumi.get(self, "file") @property @pulumi.getter - def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsResult']: + def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsResult']: return pulumi.get(self, "gcs") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Result']: + def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result']: return pulumi.get(self, "s3") @property @pulumi.getter - def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesResult']: + def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult']: return pulumi.get(self, "volumes") @property @pulumi.getter - def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceResult']: + def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult']: return pulumi.get(self, "workspace") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptAbfssResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34734,7 +38859,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptDbfsResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34746,7 +38871,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptFileResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptFileResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34758,7 +38883,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptGcsResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34770,7 +38895,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptS3Result(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result(dict): def __init__(__self__, *, destination: str, canned_acl: Optional[str] = None, @@ -34830,7 +38955,7 @@ def region(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptVolumesResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34842,7 +38967,7 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterInitScriptWorkspaceResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult(dict): def __init__(__self__, *, destination: str): pulumi.set(__self__, "destination", destination) @@ -34854,19 +38979,19 @@ def destination(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult(dict): def __init__(__self__, *, - clients: 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsResult'): + clients: 'outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult'): pulumi.set(__self__, "clients", clients) @property @pulumi.getter - def clients(self) -> 'outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsResult': + def clients(self) -> 'outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult': return pulumi.get(self, "clients") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNewClusterWorkloadTypeClientsResult(dict): +class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult(dict): def __init__(__self__, *, jobs: Optional[bool] = None, notebooks: Optional[bool] = None): @@ -34887,7 +39012,7 @@ def notebooks(self) -> Optional[bool]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNotebookTaskResult(dict): +class GetJobJobSettingsSettingsTaskNotebookTaskResult(dict): def __init__(__self__, *, notebook_path: str, base_parameters: Optional[Mapping[str, str]] = None, @@ -34923,7 +39048,7 @@ def warehouse_id(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettingsResult(dict): +class GetJobJobSettingsSettingsTaskNotificationSettingsResult(dict): def __init__(__self__, *, alert_on_last_attempt: Optional[bool] = None, no_alert_for_canceled_runs: Optional[bool] = None, @@ -34952,7 +39077,7 @@ def no_alert_for_skipped_runs(self) -> Optional[bool]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskPipelineTaskResult(dict): +class GetJobJobSettingsSettingsTaskPipelineTaskResult(dict): def __init__(__self__, *, pipeline_id: str, full_refresh: Optional[bool] = None): @@ -34972,7 +39097,7 @@ def full_refresh(self) -> Optional[bool]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskPythonWheelTaskResult(dict): +class GetJobJobSettingsSettingsTaskPythonWheelTaskResult(dict): def __init__(__self__, *, entry_point: Optional[str] = None, named_parameters: Optional[Mapping[str, str]] = None, @@ -35009,7 +39134,7 @@ def parameters(self) -> Optional[Sequence[str]]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskRunJobTaskResult(dict): +class GetJobJobSettingsSettingsTaskRunJobTaskResult(dict): def __init__(__self__, *, job_id: int, job_parameters: Optional[Mapping[str, str]] = None): @@ -35029,7 +39154,7 @@ def job_parameters(self) -> Optional[Mapping[str, str]]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkJarTaskResult(dict): +class GetJobJobSettingsSettingsTaskSparkJarTaskResult(dict): def __init__(__self__, *, jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, @@ -35058,7 +39183,7 @@ def parameters(self) -> Optional[Sequence[str]]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkPythonTaskResult(dict): +class GetJobJobSettingsSettingsTaskSparkPythonTaskResult(dict): def __init__(__self__, *, python_file: str, parameters: Optional[Sequence[str]] = None, @@ -35086,7 +39211,7 @@ def source(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSparkSubmitTaskResult(dict): +class GetJobJobSettingsSettingsTaskSparkSubmitTaskResult(dict): def __init__(__self__, *, parameters: Optional[Sequence[str]] = None): if parameters is not None: @@ -35099,14 +39224,14 @@ def parameters(self) -> Optional[Sequence[str]]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskResult(dict): def __init__(__self__, *, warehouse_id: str, - alert: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertResult'] = None, - dashboard: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardResult'] = None, - file: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileResult'] = None, + alert: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertResult'] = None, + dashboard: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardResult'] = None, + file: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskFileResult'] = None, parameters: Optional[Mapping[str, str]] = None, - query: Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryResult'] = None): + query: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskQueryResult'] = None): pulumi.set(__self__, "warehouse_id", warehouse_id) if alert is not None: pulumi.set(__self__, "alert", alert) @@ -35126,17 +39251,17 @@ def warehouse_id(self) -> str: @property @pulumi.getter - def alert(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertResult']: + def alert(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertResult']: return pulumi.get(self, "alert") @property @pulumi.getter - def dashboard(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardResult']: + def dashboard(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardResult']: return pulumi.get(self, "dashboard") @property @pulumi.getter - def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileResult']: + def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskFileResult']: return pulumi.get(self, "file") @property @@ -35146,16 +39271,16 @@ def parameters(self) -> Optional[Mapping[str, str]]: @property @pulumi.getter - def query(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryResult']: + def query(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskQueryResult']: return pulumi.get(self, "query") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskAlertResult(dict): def __init__(__self__, *, alert_id: str, pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionResult']] = None): + subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult']] = None): pulumi.set(__self__, "alert_id", alert_id) if pause_subscriptions is not None: pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) @@ -35174,12 +39299,12 @@ def pause_subscriptions(self) -> Optional[bool]: @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionResult']]: + def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult']]: return pulumi.get(self, "subscriptions") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlertSubscriptionResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult(dict): def __init__(__self__, *, destination_id: Optional[str] = None, user_name: Optional[str] = None): @@ -35200,12 +39325,12 @@ def user_name(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskDashboardResult(dict): def __init__(__self__, *, dashboard_id: str, custom_subject: Optional[str] = None, pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionResult']] = None): + subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult']] = None): pulumi.set(__self__, "dashboard_id", dashboard_id) if custom_subject is not None: pulumi.set(__self__, "custom_subject", custom_subject) @@ -35231,12 +39356,12 @@ def pause_subscriptions(self) -> Optional[bool]: @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionResult']]: + def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult']]: return pulumi.get(self, "subscriptions") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboardSubscriptionResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult(dict): def __init__(__self__, *, destination_id: Optional[str] = None, user_name: Optional[str] = None): @@ -35257,7 +39382,7 @@ def user_name(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFileResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskFileResult(dict): def __init__(__self__, *, path: str, source: Optional[str] = None): @@ -35277,7 +39402,7 @@ def source(self) -> Optional[str]: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQueryResult(dict): +class GetJobJobSettingsSettingsTaskSqlTaskQueryResult(dict): def __init__(__self__, *, query_id: str): pulumi.set(__self__, "query_id", query_id) @@ -35289,13 +39414,268 @@ def query_id(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsResult(dict): +class GetJobJobSettingsSettingsTaskWebhookNotificationsResult(dict): def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']] = None, - on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult']] = None, - on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult']] = None, - on_streaming_backlog_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededResult']] = None, - on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult']] = None): + on_duration_warning_threshold_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']] = None, + on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult']] = None, + on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult']] = None, + on_streaming_backlog_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededResult']] = None, + on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult']] = None): + if on_duration_warning_threshold_exceededs is not None: + pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) + if on_failures is not None: + pulumi.set(__self__, "on_failures", on_failures) + if on_starts is not None: + pulumi.set(__self__, "on_starts", on_starts) + if on_streaming_backlog_exceededs is not None: + pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) + if on_successes is not None: + pulumi.set(__self__, "on_successes", on_successes) + + @property + @pulumi.getter(name="onDurationWarningThresholdExceededs") + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']]: + return pulumi.get(self, "on_duration_warning_threshold_exceededs") + + @property + @pulumi.getter(name="onFailures") + def on_failures(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult']]: + return pulumi.get(self, "on_failures") + + @property + @pulumi.getter(name="onStarts") + def on_starts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult']]: + return pulumi.get(self, "on_starts") + + @property + @pulumi.getter(name="onStreamingBacklogExceededs") + def on_streaming_backlog_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededResult']]: + return pulumi.get(self, "on_streaming_backlog_exceededs") + + @property + @pulumi.getter(name="onSuccesses") + def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult']]: + return pulumi.get(self, "on_successes") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult(dict): + def __init__(__self__, *, + id: str): + """ + :param str id: the id of Job if the resource was matched by name. + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + the id of Job if the resource was matched by name. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTriggerResult(dict): + def __init__(__self__, *, + file_arrival: Optional['outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult'] = None, + pause_status: Optional[str] = None, + periodic: Optional['outputs.GetJobJobSettingsSettingsTriggerPeriodicResult'] = None, + table_update: Optional['outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult'] = None): + if file_arrival is not None: + pulumi.set(__self__, "file_arrival", file_arrival) + if pause_status is not None: + pulumi.set(__self__, "pause_status", pause_status) + if periodic is not None: + pulumi.set(__self__, "periodic", periodic) + if table_update is not None: + pulumi.set(__self__, "table_update", table_update) + + @property + @pulumi.getter(name="fileArrival") + def file_arrival(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult']: + return pulumi.get(self, "file_arrival") + + @property + @pulumi.getter(name="pauseStatus") + def pause_status(self) -> Optional[str]: + return pulumi.get(self, "pause_status") + + @property + @pulumi.getter + def periodic(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerPeriodicResult']: + return pulumi.get(self, "periodic") + + @property + @pulumi.getter(name="tableUpdate") + def table_update(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult']: + return pulumi.get(self, "table_update") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTriggerFileArrivalResult(dict): + def __init__(__self__, *, + url: str, + min_time_between_triggers_seconds: Optional[int] = None, + wait_after_last_change_seconds: Optional[int] = None): + pulumi.set(__self__, "url", url) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + + @property + @pulumi.getter + def url(self) -> str: + return pulumi.get(self, "url") + + @property + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[int]: + return pulumi.get(self, "min_time_between_triggers_seconds") + + @property + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[int]: + return pulumi.get(self, "wait_after_last_change_seconds") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTriggerPeriodicResult(dict): + def __init__(__self__, *, + interval: int, + unit: str): + pulumi.set(__self__, "interval", interval) + pulumi.set(__self__, "unit", unit) + + @property + @pulumi.getter + def interval(self) -> int: + return pulumi.get(self, "interval") + + @property + @pulumi.getter + def unit(self) -> str: + return pulumi.get(self, "unit") + + +@pulumi.output_type +class GetJobJobSettingsSettingsTriggerTableUpdateResult(dict): + def __init__(__self__, *, + table_names: Sequence[str], + condition: Optional[str] = None, + min_time_between_triggers_seconds: Optional[int] = None, + wait_after_last_change_seconds: Optional[int] = None): + pulumi.set(__self__, "table_names", table_names) + if condition is not None: + pulumi.set(__self__, "condition", condition) + if min_time_between_triggers_seconds is not None: + pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) + if wait_after_last_change_seconds is not None: + pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + + @property + @pulumi.getter(name="tableNames") + def table_names(self) -> Sequence[str]: + return pulumi.get(self, "table_names") + + @property + @pulumi.getter + def condition(self) -> Optional[str]: + return pulumi.get(self, "condition") + + @property + @pulumi.getter(name="minTimeBetweenTriggersSeconds") + def min_time_between_triggers_seconds(self) -> Optional[int]: + return pulumi.get(self, "min_time_between_triggers_seconds") + + @property + @pulumi.getter(name="waitAfterLastChangeSeconds") + def wait_after_last_change_seconds(self) -> Optional[int]: + return pulumi.get(self, "wait_after_last_change_seconds") + + +@pulumi.output_type +class GetJobJobSettingsSettingsWebhookNotificationsResult(dict): + def __init__(__self__, *, + on_duration_warning_threshold_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult']] = None, + on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult']] = None, + on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStartResult']] = None, + on_streaming_backlog_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededResult']] = None, + on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult']] = None): if on_duration_warning_threshold_exceededs is not None: pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -35309,32 +39689,32 @@ def __init__(__self__, *, @property @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']]: + def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult']]: return pulumi.get(self, "on_duration_warning_threshold_exceededs") @property @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult']]: + def on_failures(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult']]: return pulumi.get(self, "on_failures") @property @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult']]: + def on_starts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStartResult']]: return pulumi.get(self, "on_starts") @property @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededResult']]: + def on_streaming_backlog_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededResult']]: return pulumi.get(self, "on_streaming_backlog_exceededs") @property @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult']]: + def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult']]: return pulumi.get(self, "on_successes") @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): +class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): def __init__(__self__, *, id: str): """ @@ -35352,7 +39732,7 @@ def id(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailureResult(dict): +class GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult(dict): def __init__(__self__, *, id: str): """ @@ -35370,7 +39750,7 @@ def id(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStartResult(dict): +class GetJobJobSettingsSettingsWebhookNotificationsOnStartResult(dict): def __init__(__self__, *, id: str): """ @@ -35388,7 +39768,7 @@ def id(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededResult(dict): +class GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededResult(dict): def __init__(__self__, *, id: str): """ @@ -35406,7 +39786,7 @@ def id(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccessResult(dict): +class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult(dict): def __init__(__self__, *, id: str): """ @@ -35424,2681 +39804,2451 @@ def id(self) -> str: @pulumi.output_type -class GetJobJobSettingsSettingsTaskHealthResult(dict): - def __init__(__self__, *, - rules: Sequence['outputs.GetJobJobSettingsSettingsTaskHealthRuleResult']): - pulumi.set(__self__, "rules", rules) - - @property - @pulumi.getter - def rules(self) -> Sequence['outputs.GetJobJobSettingsSettingsTaskHealthRuleResult']: - return pulumi.get(self, "rules") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskHealthRuleResult(dict): - def __init__(__self__, *, - metric: str, - op: str, - value: int): - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "op", op) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def metric(self) -> str: - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def op(self) -> str: - return pulumi.get(self, "op") - - @property - @pulumi.getter - def value(self) -> int: - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskLibraryResult(dict): - def __init__(__self__, *, - cran: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryCranResult'] = None, - egg: Optional[str] = None, - jar: Optional[str] = None, - maven: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryMavenResult'] = None, - pypi: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryPypiResult'] = None, - requirements: Optional[str] = None, - whl: Optional[str] = None): - if cran is not None: - pulumi.set(__self__, "cran", cran) - if egg is not None: - pulumi.set(__self__, "egg", egg) - if jar is not None: - pulumi.set(__self__, "jar", jar) - if maven is not None: - pulumi.set(__self__, "maven", maven) - if pypi is not None: - pulumi.set(__self__, "pypi", pypi) - if requirements is not None: - pulumi.set(__self__, "requirements", requirements) - if whl is not None: - pulumi.set(__self__, "whl", whl) - - @property - @pulumi.getter - def cran(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskLibraryCranResult']: - return pulumi.get(self, "cran") - - @property - @pulumi.getter - def egg(self) -> Optional[str]: - return pulumi.get(self, "egg") - - @property - @pulumi.getter - def jar(self) -> Optional[str]: - return pulumi.get(self, "jar") - - @property - @pulumi.getter - def maven(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskLibraryMavenResult']: - return pulumi.get(self, "maven") - - @property - @pulumi.getter - def pypi(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskLibraryPypiResult']: - return pulumi.get(self, "pypi") - - @property - @pulumi.getter - def requirements(self) -> Optional[str]: - return pulumi.get(self, "requirements") - - @property - @pulumi.getter - def whl(self) -> Optional[str]: - return pulumi.get(self, "whl") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskLibraryCranResult(dict): - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") - - @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskLibraryMavenResult(dict): - def __init__(__self__, *, - coordinates: str, - exclusions: Optional[Sequence[str]] = None, - repo: Optional[str] = None): - pulumi.set(__self__, "coordinates", coordinates) - if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def coordinates(self) -> str: - return pulumi.get(self, "coordinates") - - @property - @pulumi.getter - def exclusions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "exclusions") - - @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskLibraryPypiResult(dict): - def __init__(__self__, *, - package: str, - repo: Optional[str] = None): - pulumi.set(__self__, "package", package) - if repo is not None: - pulumi.set(__self__, "repo", repo) - - @property - @pulumi.getter - def package(self) -> str: - return pulumi.get(self, "package") - - @property - @pulumi.getter - def repo(self) -> Optional[str]: - return pulumi.get(self, "repo") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterResult(dict): - def __init__(__self__, *, - driver_instance_pool_id: str, - driver_node_type_id: str, - enable_elastic_disk: bool, - enable_local_disk_encryption: bool, - node_type_id: str, - num_workers: int, - spark_version: str, - apply_policy_default_values: Optional[bool] = None, - autoscale: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAutoscaleResult'] = None, - autotermination_minutes: Optional[int] = None, - aws_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAwsAttributesResult'] = None, - azure_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAzureAttributesResult'] = None, - cluster_id: Optional[str] = None, - cluster_log_conf: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfResult'] = None, - cluster_mount_infos: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoResult']] = None, - cluster_name: Optional[str] = None, - custom_tags: Optional[Mapping[str, str]] = None, - data_security_mode: Optional[str] = None, - docker_image: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageResult'] = None, - gcp_attributes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterGcpAttributesResult'] = None, - idempotency_token: Optional[str] = None, - init_scripts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptResult']] = None, - instance_pool_id: Optional[str] = None, - policy_id: Optional[str] = None, - runtime_engine: Optional[str] = None, - single_user_name: Optional[str] = None, - spark_conf: Optional[Mapping[str, str]] = None, - spark_env_vars: Optional[Mapping[str, str]] = None, - ssh_public_keys: Optional[Sequence[str]] = None, - workload_type: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult'] = None): - pulumi.set(__self__, "driver_instance_pool_id", driver_instance_pool_id) - pulumi.set(__self__, "driver_node_type_id", driver_node_type_id) - pulumi.set(__self__, "enable_elastic_disk", enable_elastic_disk) - pulumi.set(__self__, "enable_local_disk_encryption", enable_local_disk_encryption) - pulumi.set(__self__, "node_type_id", node_type_id) - pulumi.set(__self__, "num_workers", num_workers) - pulumi.set(__self__, "spark_version", spark_version) - if apply_policy_default_values is not None: - pulumi.set(__self__, "apply_policy_default_values", apply_policy_default_values) - if autoscale is not None: - pulumi.set(__self__, "autoscale", autoscale) - if autotermination_minutes is not None: - pulumi.set(__self__, "autotermination_minutes", autotermination_minutes) - if aws_attributes is not None: - pulumi.set(__self__, "aws_attributes", aws_attributes) - if azure_attributes is not None: - pulumi.set(__self__, "azure_attributes", azure_attributes) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if cluster_log_conf is not None: - pulumi.set(__self__, "cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - pulumi.set(__self__, "cluster_mount_infos", cluster_mount_infos) - if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) - if custom_tags is not None: - pulumi.set(__self__, "custom_tags", custom_tags) - if data_security_mode is not None: - pulumi.set(__self__, "data_security_mode", data_security_mode) - if docker_image is not None: - pulumi.set(__self__, "docker_image", docker_image) - if gcp_attributes is not None: - pulumi.set(__self__, "gcp_attributes", gcp_attributes) - if idempotency_token is not None: - pulumi.set(__self__, "idempotency_token", idempotency_token) - if init_scripts is not None: - pulumi.set(__self__, "init_scripts", init_scripts) - if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) - if runtime_engine is not None: - pulumi.set(__self__, "runtime_engine", runtime_engine) - if single_user_name is not None: - pulumi.set(__self__, "single_user_name", single_user_name) - if spark_conf is not None: - pulumi.set(__self__, "spark_conf", spark_conf) - if spark_env_vars is not None: - pulumi.set(__self__, "spark_env_vars", spark_env_vars) - if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) - - @property - @pulumi.getter(name="driverInstancePoolId") - def driver_instance_pool_id(self) -> str: - return pulumi.get(self, "driver_instance_pool_id") - - @property - @pulumi.getter(name="driverNodeTypeId") - def driver_node_type_id(self) -> str: - return pulumi.get(self, "driver_node_type_id") - - @property - @pulumi.getter(name="enableElasticDisk") - def enable_elastic_disk(self) -> bool: - return pulumi.get(self, "enable_elastic_disk") - - @property - @pulumi.getter(name="enableLocalDiskEncryption") - def enable_local_disk_encryption(self) -> bool: - return pulumi.get(self, "enable_local_disk_encryption") - - @property - @pulumi.getter(name="nodeTypeId") - def node_type_id(self) -> str: - return pulumi.get(self, "node_type_id") - - @property - @pulumi.getter(name="numWorkers") - def num_workers(self) -> int: - return pulumi.get(self, "num_workers") - - @property - @pulumi.getter(name="sparkVersion") - def spark_version(self) -> str: - return pulumi.get(self, "spark_version") - - @property - @pulumi.getter(name="applyPolicyDefaultValues") - def apply_policy_default_values(self) -> Optional[bool]: - return pulumi.get(self, "apply_policy_default_values") - - @property - @pulumi.getter - def autoscale(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAutoscaleResult']: - return pulumi.get(self, "autoscale") - - @property - @pulumi.getter(name="autoterminationMinutes") - def autotermination_minutes(self) -> Optional[int]: - return pulumi.get(self, "autotermination_minutes") - - @property - @pulumi.getter(name="awsAttributes") - def aws_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAwsAttributesResult']: - return pulumi.get(self, "aws_attributes") - - @property - @pulumi.getter(name="azureAttributes") - def azure_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterAzureAttributesResult']: - return pulumi.get(self, "azure_attributes") - - @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[str]: - return pulumi.get(self, "cluster_id") - - @property - @pulumi.getter(name="clusterLogConf") - def cluster_log_conf(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfResult']: - return pulumi.get(self, "cluster_log_conf") - - @property - @pulumi.getter(name="clusterMountInfos") - def cluster_mount_infos(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoResult']]: - return pulumi.get(self, "cluster_mount_infos") - - @property - @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[str]: - return pulumi.get(self, "cluster_name") - - @property - @pulumi.getter(name="customTags") - def custom_tags(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "custom_tags") - - @property - @pulumi.getter(name="dataSecurityMode") - def data_security_mode(self) -> Optional[str]: - return pulumi.get(self, "data_security_mode") - - @property - @pulumi.getter(name="dockerImage") - def docker_image(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageResult']: - return pulumi.get(self, "docker_image") - - @property - @pulumi.getter(name="gcpAttributes") - def gcp_attributes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterGcpAttributesResult']: - return pulumi.get(self, "gcp_attributes") - - @property - @pulumi.getter(name="idempotencyToken") - def idempotency_token(self) -> Optional[str]: - return pulumi.get(self, "idempotency_token") - - @property - @pulumi.getter(name="initScripts") - def init_scripts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptResult']]: - return pulumi.get(self, "init_scripts") - - @property - @pulumi.getter(name="instancePoolId") - def instance_pool_id(self) -> Optional[str]: - return pulumi.get(self, "instance_pool_id") - - @property - @pulumi.getter(name="policyId") - def policy_id(self) -> Optional[str]: - return pulumi.get(self, "policy_id") - - @property - @pulumi.getter(name="runtimeEngine") - def runtime_engine(self) -> Optional[str]: - return pulumi.get(self, "runtime_engine") - - @property - @pulumi.getter(name="singleUserName") - def single_user_name(self) -> Optional[str]: - return pulumi.get(self, "single_user_name") - - @property - @pulumi.getter(name="sparkConf") - def spark_conf(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_conf") - - @property - @pulumi.getter(name="sparkEnvVars") - def spark_env_vars(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "spark_env_vars") - - @property - @pulumi.getter(name="sshPublicKeys") - def ssh_public_keys(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "ssh_public_keys") - - @property - @pulumi.getter(name="workloadType") - def workload_type(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult']: - return pulumi.get(self, "workload_type") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterAutoscaleResult(dict): - def __init__(__self__, *, - max_workers: Optional[int] = None, - min_workers: Optional[int] = None): - if max_workers is not None: - pulumi.set(__self__, "max_workers", max_workers) - if min_workers is not None: - pulumi.set(__self__, "min_workers", min_workers) - - @property - @pulumi.getter(name="maxWorkers") - def max_workers(self) -> Optional[int]: - return pulumi.get(self, "max_workers") - - @property - @pulumi.getter(name="minWorkers") - def min_workers(self) -> Optional[int]: - return pulumi.get(self, "min_workers") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterAwsAttributesResult(dict): +class GetMetastoreMetastoreInfoResult(dict): def __init__(__self__, *, - availability: Optional[str] = None, - ebs_volume_count: Optional[int] = None, - ebs_volume_size: Optional[int] = None, - ebs_volume_type: Optional[str] = None, - first_on_demand: Optional[int] = None, - instance_profile_arn: Optional[str] = None, - spot_bid_price_percent: Optional[int] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if ebs_volume_count is not None: - pulumi.set(__self__, "ebs_volume_count", ebs_volume_count) - if ebs_volume_size is not None: - pulumi.set(__self__, "ebs_volume_size", ebs_volume_size) - if ebs_volume_type is not None: - pulumi.set(__self__, "ebs_volume_type", ebs_volume_type) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if instance_profile_arn is not None: - pulumi.set(__self__, "instance_profile_arn", instance_profile_arn) - if spot_bid_price_percent is not None: - pulumi.set(__self__, "spot_bid_price_percent", spot_bid_price_percent) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + cloud: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + default_data_access_config_id: Optional[str] = None, + delta_sharing_organization_name: Optional[str] = None, + delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, + delta_sharing_scope: Optional[str] = None, + external_access_enabled: Optional[bool] = None, + global_metastore_id: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + privilege_model_version: Optional[str] = None, + region: Optional[str] = None, + storage_root: Optional[str] = None, + storage_root_credential_id: Optional[str] = None, + storage_root_credential_name: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + :param int delta_sharing_recipient_token_lifetime_in_seconds: Used to set expiration duration in seconds on recipient data access tokens. + :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + :param str metastore_id: ID of the metastore + :param str name: Name of the metastore + :param str owner: Username/groupname/sp application_id of the metastore owner. + :param str region: Region of the metastore + :param str storage_root: Path on cloud storage account, where managed `Table` are stored. + """ + if cloud is not None: + pulumi.set(__self__, "cloud", cloud) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if default_data_access_config_id is not None: + pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) + if delta_sharing_organization_name is not None: + pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) + if delta_sharing_recipient_token_lifetime_in_seconds is not None: + pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) + if delta_sharing_scope is not None: + pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) + if external_access_enabled is not None: + pulumi.set(__self__, "external_access_enabled", external_access_enabled) + if global_metastore_id is not None: + pulumi.set(__self__, "global_metastore_id", global_metastore_id) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if privilege_model_version is not None: + pulumi.set(__self__, "privilege_model_version", privilege_model_version) + if region is not None: + pulumi.set(__self__, "region", region) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if storage_root_credential_id is not None: + pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) + if storage_root_credential_name is not None: + pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") - - @property - @pulumi.getter(name="ebsVolumeCount") - def ebs_volume_count(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_count") + def cloud(self) -> Optional[str]: + return pulumi.get(self, "cloud") @property - @pulumi.getter(name="ebsVolumeSize") - def ebs_volume_size(self) -> Optional[int]: - return pulumi.get(self, "ebs_volume_size") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + return pulumi.get(self, "created_at") @property - @pulumi.getter(name="ebsVolumeType") - def ebs_volume_type(self) -> Optional[str]: - return pulumi.get(self, "ebs_volume_type") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="defaultDataAccessConfigId") + def default_data_access_config_id(self) -> Optional[str]: + return pulumi.get(self, "default_data_access_config_id") @property - @pulumi.getter(name="instanceProfileArn") - def instance_profile_arn(self) -> Optional[str]: - return pulumi.get(self, "instance_profile_arn") + @pulumi.getter(name="deltaSharingOrganizationName") + def delta_sharing_organization_name(self) -> Optional[str]: + """ + The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. + """ + return pulumi.get(self, "delta_sharing_organization_name") @property - @pulumi.getter(name="spotBidPricePercent") - def spot_bid_price_percent(self) -> Optional[int]: - return pulumi.get(self, "spot_bid_price_percent") + @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") + def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: + """ + Used to set expiration duration in seconds on recipient data access tokens. + """ + return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterAzureAttributesResult(dict): - def __init__(__self__, *, - availability: Optional[str] = None, - first_on_demand: Optional[int] = None, - spot_bid_max_price: Optional[float] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if first_on_demand is not None: - pulumi.set(__self__, "first_on_demand", first_on_demand) - if spot_bid_max_price is not None: - pulumi.set(__self__, "spot_bid_max_price", spot_bid_max_price) + @pulumi.getter(name="deltaSharingScope") + def delta_sharing_scope(self) -> Optional[str]: + """ + Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. + """ + return pulumi.get(self, "delta_sharing_scope") @property - @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + @pulumi.getter(name="externalAccessEnabled") + def external_access_enabled(self) -> Optional[bool]: + return pulumi.get(self, "external_access_enabled") @property - @pulumi.getter(name="firstOnDemand") - def first_on_demand(self) -> Optional[int]: - return pulumi.get(self, "first_on_demand") + @pulumi.getter(name="globalMetastoreId") + def global_metastore_id(self) -> Optional[str]: + return pulumi.get(self, "global_metastore_id") @property - @pulumi.getter(name="spotBidMaxPrice") - def spot_bid_max_price(self) -> Optional[float]: - return pulumi.get(self, "spot_bid_max_price") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfResult(dict): - def __init__(__self__, *, - dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result'] = None): - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + ID of the metastore + """ + return pulumi.get(self, "metastore_id") @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult']: - return pulumi.get(self, "dbfs") + def name(self) -> Optional[str]: + """ + Name of the metastore + """ + return pulumi.get(self, "name") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result']: - return pulumi.get(self, "s3") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + def owner(self) -> Optional[str]: + """ + Username/groupname/sp application_id of the metastore owner. + """ + return pulumi.get(self, "owner") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result(dict): - def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + @pulumi.getter(name="privilegeModelVersion") + def privilege_model_version(self) -> Optional[str]: + return pulumi.get(self, "privilege_model_version") @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + def region(self) -> Optional[str]: + """ + Region of the metastore + """ + return pulumi.get(self, "region") @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + Path on cloud storage account, where managed `Table` are stored. + """ + return pulumi.get(self, "storage_root") @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="storageRootCredentialId") + def storage_root_credential_id(self) -> Optional[str]: + return pulumi.get(self, "storage_root_credential_id") @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="storageRootCredentialName") + def storage_root_credential_name(self) -> Optional[str]: + return pulumi.get(self, "storage_root_credential_name") @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + return pulumi.get(self, "updated_at") @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoResult(dict): +class GetMlflowExperimentTagResult(dict): def __init__(__self__, *, - local_mount_dir_path: str, - network_filesystem_info: 'outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult', - remote_mount_dir_path: Optional[str] = None): - pulumi.set(__self__, "local_mount_dir_path", local_mount_dir_path) - pulumi.set(__self__, "network_filesystem_info", network_filesystem_info) - if remote_mount_dir_path is not None: - pulumi.set(__self__, "remote_mount_dir_path", remote_mount_dir_path) - - @property - @pulumi.getter(name="localMountDirPath") - def local_mount_dir_path(self) -> str: - return pulumi.get(self, "local_mount_dir_path") + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="networkFilesystemInfo") - def network_filesystem_info(self) -> 'outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult': - return pulumi.get(self, "network_filesystem_info") + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") @property - @pulumi.getter(name="remoteMountDirPath") - def remote_mount_dir_path(self) -> Optional[str]: - return pulumi.get(self, "remote_mount_dir_path") + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult(dict): +class GetMlflowModelLatestVersionResult(dict): def __init__(__self__, *, - server_address: str, - mount_options: Optional[str] = None): - pulumi.set(__self__, "server_address", server_address) - if mount_options is not None: - pulumi.set(__self__, "mount_options", mount_options) + creation_timestamp: Optional[int] = None, + current_stage: Optional[str] = None, + description: Optional[str] = None, + last_updated_timestamp: Optional[int] = None, + name: Optional[str] = None, + run_id: Optional[str] = None, + run_link: Optional[str] = None, + source: Optional[str] = None, + status: Optional[str] = None, + status_message: Optional[str] = None, + tags: Optional[Sequence['outputs.GetMlflowModelLatestVersionTagResult']] = None, + user_id: Optional[str] = None, + version: Optional[str] = None): + """ + :param str description: User-specified description for the object. + :param str name: Name of the registered model. + :param Sequence['GetMlflowModelLatestVersionTagArgs'] tags: Array of tags associated with the model. + :param str user_id: The username of the user that created the object. + """ + if creation_timestamp is not None: + pulumi.set(__self__, "creation_timestamp", creation_timestamp) + if current_stage is not None: + pulumi.set(__self__, "current_stage", current_stage) + if description is not None: + pulumi.set(__self__, "description", description) + if last_updated_timestamp is not None: + pulumi.set(__self__, "last_updated_timestamp", last_updated_timestamp) + if name is not None: + pulumi.set(__self__, "name", name) + if run_id is not None: + pulumi.set(__self__, "run_id", run_id) + if run_link is not None: + pulumi.set(__self__, "run_link", run_link) + if source is not None: + pulumi.set(__self__, "source", source) + if status is not None: + pulumi.set(__self__, "status", status) + if status_message is not None: + pulumi.set(__self__, "status_message", status_message) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if user_id is not None: + pulumi.set(__self__, "user_id", user_id) + if version is not None: + pulumi.set(__self__, "version", version) @property - @pulumi.getter(name="serverAddress") - def server_address(self) -> str: - return pulumi.get(self, "server_address") + @pulumi.getter(name="creationTimestamp") + def creation_timestamp(self) -> Optional[int]: + return pulumi.get(self, "creation_timestamp") @property - @pulumi.getter(name="mountOptions") - def mount_options(self) -> Optional[str]: - return pulumi.get(self, "mount_options") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterDockerImageResult(dict): - def __init__(__self__, *, - url: str, - basic_auth: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult'] = None): - pulumi.set(__self__, "url", url) - if basic_auth is not None: - pulumi.set(__self__, "basic_auth", basic_auth) + @pulumi.getter(name="currentStage") + def current_stage(self) -> Optional[str]: + return pulumi.get(self, "current_stage") @property @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + def description(self) -> Optional[str]: + """ + User-specified description for the object. + """ + return pulumi.get(self, "description") @property - @pulumi.getter(name="basicAuth") - def basic_auth(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult']: - return pulumi.get(self, "basic_auth") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult(dict): - def __init__(__self__, *, - password: str, - username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + @pulumi.getter(name="lastUpdatedTimestamp") + def last_updated_timestamp(self) -> Optional[int]: + return pulumi.get(self, "last_updated_timestamp") @property @pulumi.getter - def password(self) -> str: - return pulumi.get(self, "password") + def name(self) -> Optional[str]: + """ + Name of the registered model. + """ + return pulumi.get(self, "name") @property - @pulumi.getter - def username(self) -> str: - return pulumi.get(self, "username") - + @pulumi.getter(name="runId") + def run_id(self) -> Optional[str]: + return pulumi.get(self, "run_id") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterGcpAttributesResult(dict): - def __init__(__self__, *, - availability: Optional[str] = None, - boot_disk_size: Optional[int] = None, - google_service_account: Optional[str] = None, - local_ssd_count: Optional[int] = None, - use_preemptible_executors: Optional[bool] = None, - zone_id: Optional[str] = None): - if availability is not None: - pulumi.set(__self__, "availability", availability) - if boot_disk_size is not None: - pulumi.set(__self__, "boot_disk_size", boot_disk_size) - if google_service_account is not None: - pulumi.set(__self__, "google_service_account", google_service_account) - if local_ssd_count is not None: - pulumi.set(__self__, "local_ssd_count", local_ssd_count) - if use_preemptible_executors is not None: - pulumi.set(__self__, "use_preemptible_executors", use_preemptible_executors) - if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + @property + @pulumi.getter(name="runLink") + def run_link(self) -> Optional[str]: + return pulumi.get(self, "run_link") @property @pulumi.getter - def availability(self) -> Optional[str]: - return pulumi.get(self, "availability") + def source(self) -> Optional[str]: + return pulumi.get(self, "source") @property - @pulumi.getter(name="bootDiskSize") - def boot_disk_size(self) -> Optional[int]: - return pulumi.get(self, "boot_disk_size") + @pulumi.getter + def status(self) -> Optional[str]: + return pulumi.get(self, "status") @property - @pulumi.getter(name="googleServiceAccount") - def google_service_account(self) -> Optional[str]: - return pulumi.get(self, "google_service_account") + @pulumi.getter(name="statusMessage") + def status_message(self) -> Optional[str]: + return pulumi.get(self, "status_message") @property - @pulumi.getter(name="localSsdCount") - def local_ssd_count(self) -> Optional[int]: - return pulumi.get(self, "local_ssd_count") + @pulumi.getter + def tags(self) -> Optional[Sequence['outputs.GetMlflowModelLatestVersionTagResult']]: + """ + Array of tags associated with the model. + """ + return pulumi.get(self, "tags") @property - @pulumi.getter(name="usePreemptibleExecutors") - def use_preemptible_executors(self) -> Optional[bool]: - return pulumi.get(self, "use_preemptible_executors") + @pulumi.getter(name="userId") + def user_id(self) -> Optional[str]: + """ + The username of the user that created the object. + """ + return pulumi.get(self, "user_id") @property - @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[str]: - return pulumi.get(self, "zone_id") + @pulumi.getter + def version(self) -> Optional[str]: + return pulumi.get(self, "version") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptResult(dict): +class GetMlflowModelLatestVersionTagResult(dict): def __init__(__self__, *, - abfss: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssResult'] = None, - dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsResult'] = None, - file: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptFileResult'] = None, - gcs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsResult'] = None, - s3: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result'] = None, - volumes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult'] = None, - workspace: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult'] = None): - if abfss is not None: - pulumi.set(__self__, "abfss", abfss) - if dbfs is not None: - pulumi.set(__self__, "dbfs", dbfs) - if file is not None: - pulumi.set(__self__, "file", file) - if gcs is not None: - pulumi.set(__self__, "gcs", gcs) - if s3 is not None: - pulumi.set(__self__, "s3", s3) - if volumes is not None: - pulumi.set(__self__, "volumes", volumes) - if workspace is not None: - pulumi.set(__self__, "workspace", workspace) + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def abfss(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssResult']: - return pulumi.get(self, "abfss") + def key(self) -> Optional[str]: + return pulumi.get(self, "key") @property @pulumi.getter - def dbfs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsResult']: - return pulumi.get(self, "dbfs") + def value(self) -> Optional[str]: + return pulumi.get(self, "value") - @property - @pulumi.getter - def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptFileResult']: - return pulumi.get(self, "file") + +@pulumi.output_type +class GetMlflowModelTagResult(dict): + def __init__(__self__, *, + key: Optional[str] = None, + value: Optional[str] = None): + if key is not None: + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def gcs(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsResult']: - return pulumi.get(self, "gcs") + def key(self) -> Optional[str]: + return pulumi.get(self, "key") @property @pulumi.getter - def s3(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result']: - return pulumi.get(self, "s3") + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetMwsNetworkConnectivityConfigEgressConfigResult(dict): + def __init__(__self__, *, + default_rules: Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult'] = None, + target_rules: Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult'] = None): + """ + :param 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs' default_rules: Array of default rules. + :param 'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesArgs' target_rules: Array of target rules. + """ + if default_rules is not None: + pulumi.set(__self__, "default_rules", default_rules) + if target_rules is not None: + pulumi.set(__self__, "target_rules", target_rules) @property - @pulumi.getter - def volumes(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult']: - return pulumi.get(self, "volumes") + @pulumi.getter(name="defaultRules") + def default_rules(self) -> Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult']: + """ + Array of default rules. + """ + return pulumi.get(self, "default_rules") @property - @pulumi.getter - def workspace(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult']: - return pulumi.get(self, "workspace") + @pulumi.getter(name="targetRules") + def target_rules(self) -> Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult']: + """ + Array of target rules. + """ + return pulumi.get(self, "target_rules") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptAbfssResult(dict): +class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + aws_stable_ip_rule: Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult'] = None, + azure_service_endpoint_rule: Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult'] = None): + """ + :param 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs' aws_stable_ip_rule: The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + :param 'GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs' azure_service_endpoint_rule: Array of Azure service endpoint rules. + """ + if aws_stable_ip_rule is not None: + pulumi.set(__self__, "aws_stable_ip_rule", aws_stable_ip_rule) + if azure_service_endpoint_rule is not None: + pulumi.set(__self__, "azure_service_endpoint_rule", azure_service_endpoint_rule) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="awsStableIpRule") + def aws_stable_ip_rule(self) -> Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult']: + """ + The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. + """ + return pulumi.get(self, "aws_stable_ip_rule") + + @property + @pulumi.getter(name="azureServiceEndpointRule") + def azure_service_endpoint_rule(self) -> Optional['outputs.GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult']: + """ + Array of Azure service endpoint rules. + """ + return pulumi.get(self, "azure_service_endpoint_rule") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptDbfsResult(dict): +class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + cidr_blocks: Optional[Sequence[str]] = None): + """ + :param Sequence[str] cidr_blocks: The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + """ + if cidr_blocks is not None: + pulumi.set(__self__, "cidr_blocks", cidr_blocks) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="cidrBlocks") + def cidr_blocks(self) -> Optional[Sequence[str]]: + """ + The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources. + """ + return pulumi.get(self, "cidr_blocks") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptFileResult(dict): +class GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + subnets: Optional[Sequence[str]] = None, + target_region: Optional[str] = None, + target_services: Optional[Sequence[str]] = None): + """ + :param Sequence[str] subnets: Array of strings representing the subnet IDs. + :param str target_region: The target region for the service endpoint. + :param Sequence[str] target_services: Array of target services. + """ + if subnets is not None: + pulumi.set(__self__, "subnets", subnets) + if target_region is not None: + pulumi.set(__self__, "target_region", target_region) + if target_services is not None: + pulumi.set(__self__, "target_services", target_services) @property @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + def subnets(self) -> Optional[Sequence[str]]: + """ + Array of strings representing the subnet IDs. + """ + return pulumi.get(self, "subnets") + + @property + @pulumi.getter(name="targetRegion") + def target_region(self) -> Optional[str]: + """ + The target region for the service endpoint. + """ + return pulumi.get(self, "target_region") + + @property + @pulumi.getter(name="targetServices") + def target_services(self) -> Optional[Sequence[str]]: + """ + Array of target services. + """ + return pulumi.get(self, "target_services") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptGcsResult(dict): +class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesResult(dict): def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + azure_private_endpoint_rules: Optional[Sequence['outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult']] = None): + """ + :param Sequence['GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs'] azure_private_endpoint_rules: Array of private endpoint rule objects. + """ + if azure_private_endpoint_rules is not None: + pulumi.set(__self__, "azure_private_endpoint_rules", azure_private_endpoint_rules) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="azurePrivateEndpointRules") + def azure_private_endpoint_rules(self) -> Optional[Sequence['outputs.GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult']]: + """ + Array of private endpoint rule objects. + """ + return pulumi.get(self, "azure_private_endpoint_rules") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result(dict): +class GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleResult(dict): def __init__(__self__, *, - destination: str, - canned_acl: Optional[str] = None, - enable_encryption: Optional[bool] = None, - encryption_type: Optional[str] = None, - endpoint: Optional[str] = None, - kms_key: Optional[str] = None, - region: Optional[str] = None): - pulumi.set(__self__, "destination", destination) - if canned_acl is not None: - pulumi.set(__self__, "canned_acl", canned_acl) - if enable_encryption is not None: - pulumi.set(__self__, "enable_encryption", enable_encryption) - if encryption_type is not None: - pulumi.set(__self__, "encryption_type", encryption_type) - if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) - if kms_key is not None: - pulumi.set(__self__, "kms_key", kms_key) - if region is not None: - pulumi.set(__self__, "region", region) + connection_state: Optional[str] = None, + creation_time: Optional[int] = None, + deactivated: Optional[bool] = None, + deactivated_at: Optional[int] = None, + endpoint_name: Optional[str] = None, + group_id: Optional[str] = None, + network_connectivity_config_id: Optional[str] = None, + resource_id: Optional[str] = None, + rule_id: Optional[str] = None, + updated_time: Optional[int] = None): + """ + :param str connection_state: The current status of this private endpoint. + :param int creation_time: Time in epoch milliseconds when this object was created. + :param bool deactivated: Whether this private endpoint is deactivated. + :param int deactivated_at: Time in epoch milliseconds when this object was deactivated. + :param str endpoint_name: The name of the Azure private endpoint resource. + :param str group_id: The sub-resource type (group ID) of the target resource. + :param str network_connectivity_config_id: The Databricks network connectivity configuration ID. + :param str resource_id: The Azure resource ID of the target resource. + :param str rule_id: The ID of a private endpoint rule. + :param int updated_time: Time in epoch milliseconds when the network was updated. + """ + if connection_state is not None: + pulumi.set(__self__, "connection_state", connection_state) + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) + if deactivated is not None: + pulumi.set(__self__, "deactivated", deactivated) + if deactivated_at is not None: + pulumi.set(__self__, "deactivated_at", deactivated_at) + if endpoint_name is not None: + pulumi.set(__self__, "endpoint_name", endpoint_name) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if network_connectivity_config_id is not None: + pulumi.set(__self__, "network_connectivity_config_id", network_connectivity_config_id) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if rule_id is not None: + pulumi.set(__self__, "rule_id", rule_id) + if updated_time is not None: + pulumi.set(__self__, "updated_time", updated_time) @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") + @pulumi.getter(name="connectionState") + def connection_state(self) -> Optional[str]: + """ + The current status of this private endpoint. + """ + return pulumi.get(self, "connection_state") @property - @pulumi.getter(name="cannedAcl") - def canned_acl(self) -> Optional[str]: - return pulumi.get(self, "canned_acl") + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[int]: + """ + Time in epoch milliseconds when this object was created. + """ + return pulumi.get(self, "creation_time") @property - @pulumi.getter(name="enableEncryption") - def enable_encryption(self) -> Optional[bool]: - return pulumi.get(self, "enable_encryption") + @pulumi.getter + def deactivated(self) -> Optional[bool]: + """ + Whether this private endpoint is deactivated. + """ + return pulumi.get(self, "deactivated") @property - @pulumi.getter(name="encryptionType") - def encryption_type(self) -> Optional[str]: - return pulumi.get(self, "encryption_type") + @pulumi.getter(name="deactivatedAt") + def deactivated_at(self) -> Optional[int]: + """ + Time in epoch milliseconds when this object was deactivated. + """ + return pulumi.get(self, "deactivated_at") @property - @pulumi.getter - def endpoint(self) -> Optional[str]: - return pulumi.get(self, "endpoint") + @pulumi.getter(name="endpointName") + def endpoint_name(self) -> Optional[str]: + """ + The name of the Azure private endpoint resource. + """ + return pulumi.get(self, "endpoint_name") @property - @pulumi.getter(name="kmsKey") - def kms_key(self) -> Optional[str]: - return pulumi.get(self, "kms_key") + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + The sub-resource type (group ID) of the target resource. + """ + return pulumi.get(self, "group_id") @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @pulumi.getter(name="networkConnectivityConfigId") + def network_connectivity_config_id(self) -> Optional[str]: + """ + The Databricks network connectivity configuration ID. + """ + return pulumi.get(self, "network_connectivity_config_id") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult(dict): - def __init__(__self__, *, - destination: str): - pulumi.set(__self__, "destination", destination) + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The Azure resource ID of the target resource. + """ + return pulumi.get(self, "resource_id") @property - @pulumi.getter - def destination(self) -> str: - return pulumi.get(self, "destination") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult(dict): - def __init__(__self__, *, - clients: 'outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult'): - pulumi.set(__self__, "clients", clients) + @pulumi.getter(name="ruleId") + def rule_id(self) -> Optional[str]: + """ + The ID of a private endpoint rule. + """ + return pulumi.get(self, "rule_id") @property - @pulumi.getter - def clients(self) -> 'outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult': - return pulumi.get(self, "clients") + @pulumi.getter(name="updatedTime") + def updated_time(self) -> Optional[int]: + """ + Time in epoch milliseconds when the network was updated. + """ + return pulumi.get(self, "updated_time") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult(dict): +class GetNotebookPathsNotebookPathListResult(dict): def __init__(__self__, *, - jobs: Optional[bool] = None, - notebooks: Optional[bool] = None): - if jobs is not None: - pulumi.set(__self__, "jobs", jobs) - if notebooks is not None: - pulumi.set(__self__, "notebooks", notebooks) + language: Optional[str] = None, + path: Optional[str] = None): + """ + :param str path: Path to workspace directory + """ + if language is not None: + pulumi.set(__self__, "language", language) + if path is not None: + pulumi.set(__self__, "path", path) @property @pulumi.getter - def jobs(self) -> Optional[bool]: - return pulumi.get(self, "jobs") + def language(self) -> Optional[str]: + return pulumi.get(self, "language") @property @pulumi.getter - def notebooks(self) -> Optional[bool]: - return pulumi.get(self, "notebooks") + def path(self) -> Optional[str]: + """ + Path to workspace directory + """ + return pulumi.get(self, "path") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNotebookTaskResult(dict): +class GetNotificationDestinationsNotificationDestinationResult(dict): def __init__(__self__, *, - notebook_path: str, - base_parameters: Optional[Mapping[str, str]] = None, - source: Optional[str] = None, - warehouse_id: Optional[str] = None): - pulumi.set(__self__, "notebook_path", notebook_path) - if base_parameters is not None: - pulumi.set(__self__, "base_parameters", base_parameters) - if source is not None: - pulumi.set(__self__, "source", source) - if warehouse_id is not None: - pulumi.set(__self__, "warehouse_id", warehouse_id) + destination_type: Optional[str] = None, + display_name: Optional[str] = None, + id: Optional[str] = None): + """ + :param str destination_type: The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. + :param str display_name: The display name of the Notification Destination. + :param str id: The unique ID of the Notification Destination. + """ + if destination_type is not None: + pulumi.set(__self__, "destination_type", destination_type) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if id is not None: + pulumi.set(__self__, "id", id) @property - @pulumi.getter(name="notebookPath") - def notebook_path(self) -> str: - return pulumi.get(self, "notebook_path") + @pulumi.getter(name="destinationType") + def destination_type(self) -> Optional[str]: + """ + The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. + """ + return pulumi.get(self, "destination_type") @property - @pulumi.getter(name="baseParameters") - def base_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "base_parameters") + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The display name of the Notification Destination. + """ + return pulumi.get(self, "display_name") @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") - - @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> Optional[str]: - return pulumi.get(self, "warehouse_id") + def id(self) -> Optional[str]: + """ + The unique ID of the Notification Destination. + """ + return pulumi.get(self, "id") @pulumi.output_type -class GetJobJobSettingsSettingsTaskNotificationSettingsResult(dict): +class GetRegisteredModelModelInfoResult(dict): def __init__(__self__, *, - alert_on_last_attempt: Optional[bool] = None, - no_alert_for_canceled_runs: Optional[bool] = None, - no_alert_for_skipped_runs: Optional[bool] = None): - if alert_on_last_attempt is not None: - pulumi.set(__self__, "alert_on_last_attempt", alert_on_last_attempt) - if no_alert_for_canceled_runs is not None: - pulumi.set(__self__, "no_alert_for_canceled_runs", no_alert_for_canceled_runs) - if no_alert_for_skipped_runs is not None: - pulumi.set(__self__, "no_alert_for_skipped_runs", no_alert_for_skipped_runs) + aliases: Optional[Sequence['outputs.GetRegisteredModelModelInfoAliasResult']] = None, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + full_name: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + schema_name: Optional[str] = None, + storage_location: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param Sequence['GetRegisteredModelModelInfoAliasArgs'] aliases: the list of aliases associated with this model. Each item is object consisting of following attributes: + :param str catalog_name: The name of the catalog where the schema and the registered model reside. + :param str comment: The comment attached to the registered model. + :param int created_at: the Unix timestamp at the model's creation + :param str created_by: the identifier of the user who created the model + :param str full_name: The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + :param str metastore_id: the unique identifier of the metastore + :param str name: The name of the registered model. + :param str owner: Name of the registered model owner. + :param str schema_name: The name of the schema where the registered model resides. + :param str storage_location: The storage location under which model version data files are stored. + :param int updated_at: the timestamp of the last time changes were made to the model + :param str updated_by: the identifier of the user who updated the model last time + """ + if aliases is not None: + pulumi.set(__self__, "aliases", aliases) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="alertOnLastAttempt") - def alert_on_last_attempt(self) -> Optional[bool]: - return pulumi.get(self, "alert_on_last_attempt") + @pulumi.getter + def aliases(self) -> Optional[Sequence['outputs.GetRegisteredModelModelInfoAliasResult']]: + """ + the list of aliases associated with this model. Each item is object consisting of following attributes: + """ + return pulumi.get(self, "aliases") @property - @pulumi.getter(name="noAlertForCanceledRuns") - def no_alert_for_canceled_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_canceled_runs") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") @property - @pulumi.getter(name="noAlertForSkippedRuns") - def no_alert_for_skipped_runs(self) -> Optional[bool]: - return pulumi.get(self, "no_alert_for_skipped_runs") - + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskPipelineTaskResult(dict): - def __init__(__self__, *, - pipeline_id: str, - full_refresh: Optional[bool] = None): - pulumi.set(__self__, "pipeline_id", pipeline_id) - if full_refresh is not None: - pulumi.set(__self__, "full_refresh", full_refresh) + @property + @pulumi.getter + def comment(self) -> Optional[str]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") @property - @pulumi.getter(name="pipelineId") - def pipeline_id(self) -> str: - return pulumi.get(self, "pipeline_id") + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + the Unix timestamp at the model's creation + """ + return pulumi.get(self, "created_at") @property - @pulumi.getter(name="fullRefresh") - def full_refresh(self) -> Optional[bool]: - return pulumi.get(self, "full_refresh") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + the identifier of the user who created the model + """ + return pulumi.get(self, "created_by") + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + The fully-qualified name of the registered model (`catalog_name.schema_name.name`). + """ + return pulumi.get(self, "full_name") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskPythonWheelTaskResult(dict): - def __init__(__self__, *, - entry_point: Optional[str] = None, - named_parameters: Optional[Mapping[str, str]] = None, - package_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if entry_point is not None: - pulumi.set(__self__, "entry_point", entry_point) - if named_parameters is not None: - pulumi.set(__self__, "named_parameters", named_parameters) - if package_name is not None: - pulumi.set(__self__, "package_name", package_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + the unique identifier of the metastore + """ + return pulumi.get(self, "metastore_id") @property - @pulumi.getter(name="entryPoint") - def entry_point(self) -> Optional[str]: - return pulumi.get(self, "entry_point") + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the registered model. + """ + return pulumi.get(self, "name") @property - @pulumi.getter(name="namedParameters") - def named_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "named_parameters") + @pulumi.getter + def owner(self) -> Optional[str]: + """ + Name of the registered model owner. + """ + return pulumi.get(self, "owner") @property - @pulumi.getter(name="packageName") - def package_name(self) -> Optional[str]: - return pulumi.get(self, "package_name") + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskRunJobTaskResult(dict): - def __init__(__self__, *, - job_id: int, - job_parameters: Optional[Mapping[str, str]] = None): - pulumi.set(__self__, "job_id", job_id) - if job_parameters is not None: - pulumi.set(__self__, "job_parameters", job_parameters) + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + The storage location under which model version data files are stored. + """ + return pulumi.get(self, "storage_location") @property - @pulumi.getter(name="jobId") - def job_id(self) -> int: - return pulumi.get(self, "job_id") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + the timestamp of the last time changes were made to the model + """ + return pulumi.get(self, "updated_at") @property - @pulumi.getter(name="jobParameters") - def job_parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "job_parameters") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the identifier of the user who updated the model last time + """ + return pulumi.get(self, "updated_by") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSparkJarTaskResult(dict): +class GetRegisteredModelModelInfoAliasResult(dict): def __init__(__self__, *, - jar_uri: Optional[str] = None, - main_class_name: Optional[str] = None, - parameters: Optional[Sequence[str]] = None): - if jar_uri is not None: - pulumi.set(__self__, "jar_uri", jar_uri) - if main_class_name is not None: - pulumi.set(__self__, "main_class_name", main_class_name) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - - @property - @pulumi.getter(name="jarUri") - def jar_uri(self) -> Optional[str]: - return pulumi.get(self, "jar_uri") + alias_name: Optional[str] = None, + version_num: Optional[int] = None): + """ + :param str alias_name: string with the name of alias + :param int version_num: associated model version + """ + if alias_name is not None: + pulumi.set(__self__, "alias_name", alias_name) + if version_num is not None: + pulumi.set(__self__, "version_num", version_num) @property - @pulumi.getter(name="mainClassName") - def main_class_name(self) -> Optional[str]: - return pulumi.get(self, "main_class_name") + @pulumi.getter(name="aliasName") + def alias_name(self) -> Optional[str]: + """ + string with the name of alias + """ + return pulumi.get(self, "alias_name") @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="versionNum") + def version_num(self) -> Optional[int]: + """ + associated model version + """ + return pulumi.get(self, "version_num") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSparkPythonTaskResult(dict): +class GetRegisteredModelVersionsModelVersionResult(dict): def __init__(__self__, *, - python_file: str, - parameters: Optional[Sequence[str]] = None, - source: Optional[str] = None): - pulumi.set(__self__, "python_file", python_file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + aliases: Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionAliasResult']] = None, + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + id: Optional[str] = None, + metastore_id: Optional[str] = None, + model_name: Optional[str] = None, + model_version_dependencies: Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyResult']] = None, + run_id: Optional[str] = None, + run_workspace_id: Optional[int] = None, + schema_name: Optional[str] = None, + source: Optional[str] = None, + status: Optional[str] = None, + storage_location: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None, + version: Optional[int] = None): + """ + :param Sequence['GetRegisteredModelVersionsModelVersionAliasArgs'] aliases: the list of aliases associated with this model. Each item is object consisting of following attributes: + :param str catalog_name: The name of the catalog where the schema and the registered model reside. + :param str comment: The comment attached to the registered model. + :param int created_at: the Unix timestamp at the model's creation + :param str created_by: the identifier of the user who created the model + :param str id: The unique identifier of the model version + :param str metastore_id: the unique identifier of the metastore + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyArgs'] model_version_dependencies: block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + :param str run_id: MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + :param int run_workspace_id: ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + :param str schema_name: The name of the schema where the registered model resides. + :param str source: URI indicating the location of the source artifacts (files) for the model version. + :param str status: Current status of the model version. + :param str storage_location: The storage location under which model version data files are stored. + :param int updated_at: the timestamp of the last time changes were made to the model + :param str updated_by: the identifier of the user who updated the model last time + :param int version: Integer model version number, used to reference the model version in API requests. + """ + if aliases is not None: + pulumi.set(__self__, "aliases", aliases) + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if id is not None: + pulumi.set(__self__, "id", id) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if model_name is not None: + pulumi.set(__self__, "model_name", model_name) + if model_version_dependencies is not None: + pulumi.set(__self__, "model_version_dependencies", model_version_dependencies) + if run_id is not None: + pulumi.set(__self__, "run_id", run_id) + if run_workspace_id is not None: + pulumi.set(__self__, "run_workspace_id", run_workspace_id) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) if source is not None: pulumi.set(__self__, "source", source) + if status is not None: + pulumi.set(__self__, "status", status) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) + if version is not None: + pulumi.set(__self__, "version", version) @property - @pulumi.getter(name="pythonFile") - def python_file(self) -> str: - return pulumi.get(self, "python_file") + @pulumi.getter + def aliases(self) -> Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionAliasResult']]: + """ + the list of aliases associated with this model. Each item is object consisting of following attributes: + """ + return pulumi.get(self, "aliases") @property - @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + return pulumi.get(self, "browse_only") + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + def comment(self) -> Optional[str]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: + """ + the Unix timestamp at the model's creation + """ + return pulumi.get(self, "created_at") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskSparkSubmitTaskResult(dict): - def __init__(__self__, *, - parameters: Optional[Sequence[str]] = None): - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + the identifier of the user who created the model + """ + return pulumi.get(self, "created_by") @property @pulumi.getter - def parameters(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "parameters") + def id(self) -> Optional[str]: + """ + The unique identifier of the model version + """ + return pulumi.get(self, "id") + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: + """ + the unique identifier of the metastore + """ + return pulumi.get(self, "metastore_id") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskResult(dict): - def __init__(__self__, *, - warehouse_id: str, - alert: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertResult'] = None, - dashboard: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardResult'] = None, - file: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskFileResult'] = None, - parameters: Optional[Mapping[str, str]] = None, - query: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskQueryResult'] = None): - pulumi.set(__self__, "warehouse_id", warehouse_id) - if alert is not None: - pulumi.set(__self__, "alert", alert) - if dashboard is not None: - pulumi.set(__self__, "dashboard", dashboard) - if file is not None: - pulumi.set(__self__, "file", file) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - if query is not None: - pulumi.set(__self__, "query", query) + @property + @pulumi.getter(name="modelName") + def model_name(self) -> Optional[str]: + return pulumi.get(self, "model_name") @property - @pulumi.getter(name="warehouseId") - def warehouse_id(self) -> str: - return pulumi.get(self, "warehouse_id") + @pulumi.getter(name="modelVersionDependencies") + def model_version_dependencies(self) -> Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyResult']]: + """ + block describing model version dependencies, for feature-store packaged models. Consists of following attributes: + """ + return pulumi.get(self, "model_version_dependencies") @property - @pulumi.getter - def alert(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertResult']: - return pulumi.get(self, "alert") + @pulumi.getter(name="runId") + def run_id(self) -> Optional[str]: + """ + MLflow run ID used when creating the model version, if `source` was generated by an experiment run stored in an MLflow tracking server + """ + return pulumi.get(self, "run_id") @property - @pulumi.getter - def dashboard(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardResult']: - return pulumi.get(self, "dashboard") + @pulumi.getter(name="runWorkspaceId") + def run_workspace_id(self) -> Optional[int]: + """ + ID of the Databricks workspace containing the MLflow run that generated this model version, if applicable + """ + return pulumi.get(self, "run_workspace_id") @property - @pulumi.getter - def file(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskFileResult']: - return pulumi.get(self, "file") + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") @property @pulumi.getter - def parameters(self) -> Optional[Mapping[str, str]]: - return pulumi.get(self, "parameters") + def source(self) -> Optional[str]: + """ + URI indicating the location of the source artifacts (files) for the model version. + """ + return pulumi.get(self, "source") @property @pulumi.getter - def query(self) -> Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskQueryResult']: - return pulumi.get(self, "query") - + def status(self) -> Optional[str]: + """ + Current status of the model version. + """ + return pulumi.get(self, "status") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskAlertResult(dict): - def __init__(__self__, *, - alert_id: str, - pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult']] = None): - pulumi.set(__self__, "alert_id", alert_id) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + The storage location under which model version data files are stored. + """ + return pulumi.get(self, "storage_location") @property - @pulumi.getter(name="alertId") - def alert_id(self) -> str: - return pulumi.get(self, "alert_id") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + the timestamp of the last time changes were made to the model + """ + return pulumi.get(self, "updated_at") @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[bool]: - return pulumi.get(self, "pause_subscriptions") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the identifier of the user who updated the model last time + """ + return pulumi.get(self, "updated_by") @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult']]: - return pulumi.get(self, "subscriptions") + def version(self) -> Optional[int]: + """ + Integer model version number, used to reference the model version in API requests. + """ + return pulumi.get(self, "version") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult(dict): +class GetRegisteredModelVersionsModelVersionAliasResult(dict): def __init__(__self__, *, - destination_id: Optional[str] = None, - user_name: Optional[str] = None): - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + alias_name: Optional[str] = None, + version_num: Optional[int] = None): + """ + :param str alias_name: string with the name of alias + :param int version_num: associated model version + """ + if alias_name is not None: + pulumi.set(__self__, "alias_name", alias_name) + if version_num is not None: + pulumi.set(__self__, "version_num", version_num) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[str]: - return pulumi.get(self, "destination_id") + @pulumi.getter(name="aliasName") + def alias_name(self) -> Optional[str]: + """ + string with the name of alias + """ + return pulumi.get(self, "alias_name") @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") + @pulumi.getter(name="versionNum") + def version_num(self) -> Optional[int]: + """ + associated model version + """ + return pulumi.get(self, "version_num") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskDashboardResult(dict): +class GetRegisteredModelVersionsModelVersionModelVersionDependencyResult(dict): def __init__(__self__, *, - dashboard_id: str, - custom_subject: Optional[str] = None, - pause_subscriptions: Optional[bool] = None, - subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult']] = None): - pulumi.set(__self__, "dashboard_id", dashboard_id) - if custom_subject is not None: - pulumi.set(__self__, "custom_subject", custom_subject) - if pause_subscriptions is not None: - pulumi.set(__self__, "pause_subscriptions", pause_subscriptions) - if subscriptions is not None: - pulumi.set(__self__, "subscriptions", subscriptions) - - @property - @pulumi.getter(name="dashboardId") - def dashboard_id(self) -> str: - return pulumi.get(self, "dashboard_id") - - @property - @pulumi.getter(name="customSubject") - def custom_subject(self) -> Optional[str]: - return pulumi.get(self, "custom_subject") - - @property - @pulumi.getter(name="pauseSubscriptions") - def pause_subscriptions(self) -> Optional[bool]: - return pulumi.get(self, "pause_subscriptions") + dependencies: Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult']] = None): + """ + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyArgs'] dependencies: list of dependencies consisting of following attributes: + """ + if dependencies is not None: + pulumi.set(__self__, "dependencies", dependencies) @property @pulumi.getter - def subscriptions(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult']]: - return pulumi.get(self, "subscriptions") + def dependencies(self) -> Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult']]: + """ + list of dependencies consisting of following attributes: + """ + return pulumi.get(self, "dependencies") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult(dict): +class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyResult(dict): def __init__(__self__, *, - destination_id: Optional[str] = None, - user_name: Optional[str] = None): - if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) - if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + functions: Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult']] = None, + tables: Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult']] = None): + """ + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionArgs'] functions: A function that is dependent on a SQL object: + :param Sequence['GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableArgs'] tables: A table that is dependent on a SQL object + """ + if functions is not None: + pulumi.set(__self__, "functions", functions) + if tables is not None: + pulumi.set(__self__, "tables", tables) @property - @pulumi.getter(name="destinationId") - def destination_id(self) -> Optional[str]: - return pulumi.get(self, "destination_id") + @pulumi.getter + def functions(self) -> Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult']]: + """ + A function that is dependent on a SQL object: + """ + return pulumi.get(self, "functions") @property - @pulumi.getter(name="userName") - def user_name(self) -> Optional[str]: - return pulumi.get(self, "user_name") + @pulumi.getter + def tables(self) -> Optional[Sequence['outputs.GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult']]: + """ + A table that is dependent on a SQL object + """ + return pulumi.get(self, "tables") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskFileResult(dict): +class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyFunctionResult(dict): def __init__(__self__, *, - path: str, - source: Optional[str] = None): - pulumi.set(__self__, "path", path) - if source is not None: - pulumi.set(__self__, "source", source) - - @property - @pulumi.getter - def path(self) -> str: - return pulumi.get(self, "path") + function_full_name: str): + """ + :param str function_full_name: Full name of the dependent function + """ + pulumi.set(__self__, "function_full_name", function_full_name) @property - @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + @pulumi.getter(name="functionFullName") + def function_full_name(self) -> str: + """ + Full name of the dependent function + """ + return pulumi.get(self, "function_full_name") @pulumi.output_type -class GetJobJobSettingsSettingsTaskSqlTaskQueryResult(dict): +class GetRegisteredModelVersionsModelVersionModelVersionDependencyDependencyTableResult(dict): def __init__(__self__, *, - query_id: str): - pulumi.set(__self__, "query_id", query_id) + table_full_name: str): + """ + :param str table_full_name: Full name of the dependent table + """ + pulumi.set(__self__, "table_full_name", table_full_name) @property - @pulumi.getter(name="queryId") - def query_id(self) -> str: - return pulumi.get(self, "query_id") + @pulumi.getter(name="tableFullName") + def table_full_name(self) -> str: + """ + Full name of the dependent table + """ + return pulumi.get(self, "table_full_name") @pulumi.output_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsResult(dict): +class GetSchemaSchemaInfoResult(dict): def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']] = None, - on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult']] = None, - on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult']] = None, - on_streaming_backlog_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededResult']] = None, - on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult']] = None): - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) - - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult']]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult']]: - return pulumi.get(self, "on_failures") + browse_only: Optional[bool] = None, + catalog_name: Optional[str] = None, + catalog_type: Optional[str] = None, + comment: Optional[str] = None, + created_at: Optional[int] = None, + created_by: Optional[str] = None, + effective_predictive_optimization_flag: Optional['outputs.GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult'] = None, + enable_predictive_optimization: Optional[str] = None, + full_name: Optional[str] = None, + metastore_id: Optional[str] = None, + name: Optional[str] = None, + owner: Optional[str] = None, + properties: Optional[Mapping[str, str]] = None, + schema_id: Optional[str] = None, + storage_location: Optional[str] = None, + storage_root: Optional[str] = None, + updated_at: Optional[int] = None, + updated_by: Optional[str] = None): + """ + :param bool browse_only: indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + :param str catalog_name: the name of the catalog where the schema is. + :param str catalog_type: the type of the parent catalog. + :param str comment: the comment attached to the volume + :param int created_at: time at which this schema was created, in epoch milliseconds. + :param str created_by: username of schema creator. + :param 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: information about actual state of predictive optimization. + :param str enable_predictive_optimization: whether predictive optimization should be enabled for this object and objects under it. + :param str full_name: the two-level (fully qualified) name of the schema + :param str metastore_id: the unique identifier of the metastore + :param str name: a fully qualified name of databricks_schema: *`catalog`.`schema`* + :param str owner: the identifier of the user who owns the schema + :param Mapping[str, str] properties: map of properties set on the schema + :param str schema_id: the unique identifier of the volume + :param str storage_location: the storage location on the cloud. + :param str storage_root: storage root URL for managed tables within schema. + :param int updated_at: the timestamp of the last time changes were made to the schema + :param str updated_by: the identifier of the user who updated the schema last time + """ + if browse_only is not None: + pulumi.set(__self__, "browse_only", browse_only) + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if catalog_type is not None: + pulumi.set(__self__, "catalog_type", catalog_type) + if comment is not None: + pulumi.set(__self__, "comment", comment) + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if effective_predictive_optimization_flag is not None: + pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) + if enable_predictive_optimization is not None: + pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) + if full_name is not None: + pulumi.set(__self__, "full_name", full_name) + if metastore_id is not None: + pulumi.set(__self__, "metastore_id", metastore_id) + if name is not None: + pulumi.set(__self__, "name", name) + if owner is not None: + pulumi.set(__self__, "owner", owner) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if schema_id is not None: + pulumi.set(__self__, "schema_id", schema_id) + if storage_location is not None: + pulumi.set(__self__, "storage_location", storage_location) + if storage_root is not None: + pulumi.set(__self__, "storage_root", storage_root) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if updated_by is not None: + pulumi.set(__self__, "updated_by", updated_by) @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult']]: - return pulumi.get(self, "on_starts") + @pulumi.getter(name="browseOnly") + def browse_only(self) -> Optional[bool]: + """ + indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. + """ + return pulumi.get(self, "browse_only") @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededResult']]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + """ + the name of the catalog where the schema is. + """ + return pulumi.get(self, "catalog_name") @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult']]: - return pulumi.get(self, "on_successes") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): - def __init__(__self__, *, - id: str): + @pulumi.getter(name="catalogType") + def catalog_type(self) -> Optional[str]: """ - :param str id: the id of Job if the resource was matched by name. + the type of the parent catalog. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "catalog_type") @property @pulumi.getter - def id(self) -> str: + def comment(self) -> Optional[str]: """ - the id of Job if the resource was matched by name. + the comment attached to the volume """ - return pulumi.get(self, "id") - + return pulumi.get(self, "comment") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnFailureResult(dict): - def __init__(__self__, *, - id: str): + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[int]: """ - :param str id: the id of Job if the resource was matched by name. + time at which this schema was created, in epoch milliseconds. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "created_at") @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: """ - the id of Job if the resource was matched by name. + username of schema creator. """ - return pulumi.get(self, "id") - + return pulumi.get(self, "created_by") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStartResult(dict): - def __init__(__self__, *, - id: str): + @property + @pulumi.getter(name="effectivePredictiveOptimizationFlag") + def effective_predictive_optimization_flag(self) -> Optional['outputs.GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult']: """ - :param str id: the id of Job if the resource was matched by name. + information about actual state of predictive optimization. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "effective_predictive_optimization_flag") @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="enablePredictiveOptimization") + def enable_predictive_optimization(self) -> Optional[str]: """ - the id of Job if the resource was matched by name. + whether predictive optimization should be enabled for this object and objects under it. """ - return pulumi.get(self, "id") + return pulumi.get(self, "enable_predictive_optimization") + @property + @pulumi.getter(name="fullName") + def full_name(self) -> Optional[str]: + """ + the two-level (fully qualified) name of the schema + """ + return pulumi.get(self, "full_name") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceededResult(dict): - def __init__(__self__, *, - id: str): + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[str]: """ - :param str id: the id of Job if the resource was matched by name. + the unique identifier of the metastore """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "metastore_id") @property @pulumi.getter - def id(self) -> str: + def name(self) -> Optional[str]: """ - the id of Job if the resource was matched by name. + a fully qualified name of databricks_schema: *`catalog`.`schema`* """ - return pulumi.get(self, "id") - + return pulumi.get(self, "name") -@pulumi.output_type -class GetJobJobSettingsSettingsTaskWebhookNotificationsOnSuccessResult(dict): - def __init__(__self__, *, - id: str): + @property + @pulumi.getter + def owner(self) -> Optional[str]: """ - :param str id: the id of Job if the resource was matched by name. + the identifier of the user who owns the schema """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "owner") @property @pulumi.getter - def id(self) -> str: + def properties(self) -> Optional[Mapping[str, str]]: """ - the id of Job if the resource was matched by name. + map of properties set on the schema """ - return pulumi.get(self, "id") - + return pulumi.get(self, "properties") -@pulumi.output_type -class GetJobJobSettingsSettingsTriggerResult(dict): - def __init__(__self__, *, - file_arrival: Optional['outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult'] = None, - pause_status: Optional[str] = None, - periodic: Optional['outputs.GetJobJobSettingsSettingsTriggerPeriodicResult'] = None, - table_update: Optional['outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult'] = None): - if file_arrival is not None: - pulumi.set(__self__, "file_arrival", file_arrival) - if pause_status is not None: - pulumi.set(__self__, "pause_status", pause_status) - if periodic is not None: - pulumi.set(__self__, "periodic", periodic) - if table_update is not None: - pulumi.set(__self__, "table_update", table_update) + @property + @pulumi.getter(name="schemaId") + def schema_id(self) -> Optional[str]: + """ + the unique identifier of the volume + """ + return pulumi.get(self, "schema_id") @property - @pulumi.getter(name="fileArrival") - def file_arrival(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult']: - return pulumi.get(self, "file_arrival") + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[str]: + """ + the storage location on the cloud. + """ + return pulumi.get(self, "storage_location") @property - @pulumi.getter(name="pauseStatus") - def pause_status(self) -> Optional[str]: - return pulumi.get(self, "pause_status") + @pulumi.getter(name="storageRoot") + def storage_root(self) -> Optional[str]: + """ + storage root URL for managed tables within schema. + """ + return pulumi.get(self, "storage_root") @property - @pulumi.getter - def periodic(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerPeriodicResult']: - return pulumi.get(self, "periodic") + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[int]: + """ + the timestamp of the last time changes were made to the schema + """ + return pulumi.get(self, "updated_at") @property - @pulumi.getter(name="tableUpdate") - def table_update(self) -> Optional['outputs.GetJobJobSettingsSettingsTriggerTableUpdateResult']: - return pulumi.get(self, "table_update") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + """ + the identifier of the user who updated the schema last time + """ + return pulumi.get(self, "updated_by") @pulumi.output_type -class GetJobJobSettingsSettingsTriggerFileArrivalResult(dict): +class GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult(dict): def __init__(__self__, *, - url: str, - min_time_between_triggers_seconds: Optional[int] = None, - wait_after_last_change_seconds: Optional[int] = None): - pulumi.set(__self__, "url", url) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + value: str, + inherited_from_name: Optional[str] = None, + inherited_from_type: Optional[str] = None): + pulumi.set(__self__, "value", value) + if inherited_from_name is not None: + pulumi.set(__self__, "inherited_from_name", inherited_from_name) + if inherited_from_type is not None: + pulumi.set(__self__, "inherited_from_type", inherited_from_type) @property @pulumi.getter - def url(self) -> str: - return pulumi.get(self, "url") + def value(self) -> str: + return pulumi.get(self, "value") @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[int]: - return pulumi.get(self, "min_time_between_triggers_seconds") + @pulumi.getter(name="inheritedFromName") + def inherited_from_name(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_name") @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[int]: - return pulumi.get(self, "wait_after_last_change_seconds") + @pulumi.getter(name="inheritedFromType") + def inherited_from_type(self) -> Optional[str]: + return pulumi.get(self, "inherited_from_type") @pulumi.output_type -class GetJobJobSettingsSettingsTriggerPeriodicResult(dict): +class GetServingEndpointsEndpointResult(dict): def __init__(__self__, *, - interval: int, - unit: str): - pulumi.set(__self__, "interval", interval) - pulumi.set(__self__, "unit", unit) + ai_gateways: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayResult']] = None, + configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigResult']] = None, + creation_timestamp: Optional[int] = None, + creator: Optional[str] = None, + id: Optional[str] = None, + last_updated_timestamp: Optional[int] = None, + name: Optional[str] = None, + states: Optional[Sequence['outputs.GetServingEndpointsEndpointStateResult']] = None, + tags: Optional[Sequence['outputs.GetServingEndpointsEndpointTagResult']] = None, + task: Optional[str] = None): + """ + :param Sequence['GetServingEndpointsEndpointAiGatewayArgs'] ai_gateways: A block with AI Gateway configuration for the serving endpoint. + :param Sequence['GetServingEndpointsEndpointConfigArgs'] configs: The model serving endpoint configuration. + :param str name: The name of the model serving endpoint. + :param Sequence['GetServingEndpointsEndpointTagArgs'] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs. + """ + if ai_gateways is not None: + pulumi.set(__self__, "ai_gateways", ai_gateways) + if configs is not None: + pulumi.set(__self__, "configs", configs) + if creation_timestamp is not None: + pulumi.set(__self__, "creation_timestamp", creation_timestamp) + if creator is not None: + pulumi.set(__self__, "creator", creator) + if id is not None: + pulumi.set(__self__, "id", id) + if last_updated_timestamp is not None: + pulumi.set(__self__, "last_updated_timestamp", last_updated_timestamp) + if name is not None: + pulumi.set(__self__, "name", name) + if states is not None: + pulumi.set(__self__, "states", states) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if task is not None: + pulumi.set(__self__, "task", task) @property - @pulumi.getter - def interval(self) -> int: - return pulumi.get(self, "interval") + @pulumi.getter(name="aiGateways") + def ai_gateways(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayResult']]: + """ + A block with AI Gateway configuration for the serving endpoint. + """ + return pulumi.get(self, "ai_gateways") @property @pulumi.getter - def unit(self) -> str: - return pulumi.get(self, "unit") - - -@pulumi.output_type -class GetJobJobSettingsSettingsTriggerTableUpdateResult(dict): - def __init__(__self__, *, - table_names: Sequence[str], - condition: Optional[str] = None, - min_time_between_triggers_seconds: Optional[int] = None, - wait_after_last_change_seconds: Optional[int] = None): - pulumi.set(__self__, "table_names", table_names) - if condition is not None: - pulumi.set(__self__, "condition", condition) - if min_time_between_triggers_seconds is not None: - pulumi.set(__self__, "min_time_between_triggers_seconds", min_time_between_triggers_seconds) - if wait_after_last_change_seconds is not None: - pulumi.set(__self__, "wait_after_last_change_seconds", wait_after_last_change_seconds) + def configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigResult']]: + """ + The model serving endpoint configuration. + """ + return pulumi.get(self, "configs") @property - @pulumi.getter(name="tableNames") - def table_names(self) -> Sequence[str]: - return pulumi.get(self, "table_names") + @pulumi.getter(name="creationTimestamp") + def creation_timestamp(self) -> Optional[int]: + return pulumi.get(self, "creation_timestamp") @property @pulumi.getter - def condition(self) -> Optional[str]: - return pulumi.get(self, "condition") - - @property - @pulumi.getter(name="minTimeBetweenTriggersSeconds") - def min_time_between_triggers_seconds(self) -> Optional[int]: - return pulumi.get(self, "min_time_between_triggers_seconds") - - @property - @pulumi.getter(name="waitAfterLastChangeSeconds") - def wait_after_last_change_seconds(self) -> Optional[int]: - return pulumi.get(self, "wait_after_last_change_seconds") - - -@pulumi.output_type -class GetJobJobSettingsSettingsWebhookNotificationsResult(dict): - def __init__(__self__, *, - on_duration_warning_threshold_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult']] = None, - on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult']] = None, - on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStartResult']] = None, - on_streaming_backlog_exceededs: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededResult']] = None, - on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult']] = None): - if on_duration_warning_threshold_exceededs is not None: - pulumi.set(__self__, "on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) - if on_failures is not None: - pulumi.set(__self__, "on_failures", on_failures) - if on_starts is not None: - pulumi.set(__self__, "on_starts", on_starts) - if on_streaming_backlog_exceededs is not None: - pulumi.set(__self__, "on_streaming_backlog_exceededs", on_streaming_backlog_exceededs) - if on_successes is not None: - pulumi.set(__self__, "on_successes", on_successes) - - @property - @pulumi.getter(name="onDurationWarningThresholdExceededs") - def on_duration_warning_threshold_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult']]: - return pulumi.get(self, "on_duration_warning_threshold_exceededs") - - @property - @pulumi.getter(name="onFailures") - def on_failures(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult']]: - return pulumi.get(self, "on_failures") + def creator(self) -> Optional[str]: + return pulumi.get(self, "creator") @property - @pulumi.getter(name="onStarts") - def on_starts(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStartResult']]: - return pulumi.get(self, "on_starts") + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") @property - @pulumi.getter(name="onStreamingBacklogExceededs") - def on_streaming_backlog_exceededs(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededResult']]: - return pulumi.get(self, "on_streaming_backlog_exceededs") + @pulumi.getter(name="lastUpdatedTimestamp") + def last_updated_timestamp(self) -> Optional[int]: + return pulumi.get(self, "last_updated_timestamp") @property - @pulumi.getter(name="onSuccesses") - def on_successes(self) -> Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult']]: - return pulumi.get(self, "on_successes") - - -@pulumi.output_type -class GetJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceededResult(dict): - def __init__(__self__, *, - id: str): + @pulumi.getter + def name(self) -> Optional[str]: """ - :param str id: the id of Job if the resource was matched by name. + The name of the model serving endpoint. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "name") @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") - + def states(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointStateResult']]: + return pulumi.get(self, "states") -@pulumi.output_type -class GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult(dict): - def __init__(__self__, *, - id: str): + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointTagResult']]: """ - :param str id: the id of Job if the resource was matched by name. + Tags to be attached to the serving endpoint and automatically propagated to billing logs. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "tags") @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + def task(self) -> Optional[str]: + return pulumi.get(self, "task") @pulumi.output_type -class GetJobJobSettingsSettingsWebhookNotificationsOnStartResult(dict): +class GetServingEndpointsEndpointAiGatewayResult(dict): def __init__(__self__, *, - id: str): + guardrails: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailResult']] = None, + inference_table_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult']] = None, + rate_limits: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayRateLimitResult']] = None, + usage_tracking_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult']] = None): """ - :param str id: the id of Job if the resource was matched by name. + :param Sequence['GetServingEndpointsEndpointAiGatewayRateLimitArgs'] rate_limits: A list of rate limit blocks to be applied to the serving endpoint. """ - pulumi.set(__self__, "id", id) + if guardrails is not None: + pulumi.set(__self__, "guardrails", guardrails) + if inference_table_configs is not None: + pulumi.set(__self__, "inference_table_configs", inference_table_configs) + if rate_limits is not None: + pulumi.set(__self__, "rate_limits", rate_limits) + if usage_tracking_configs is not None: + pulumi.set(__self__, "usage_tracking_configs", usage_tracking_configs) @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + def guardrails(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailResult']]: + return pulumi.get(self, "guardrails") + @property + @pulumi.getter(name="inferenceTableConfigs") + def inference_table_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult']]: + return pulumi.get(self, "inference_table_configs") -@pulumi.output_type -class GetJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceededResult(dict): - def __init__(__self__, *, - id: str): + @property + @pulumi.getter(name="rateLimits") + def rate_limits(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayRateLimitResult']]: """ - :param str id: the id of Job if the resource was matched by name. + A list of rate limit blocks to be applied to the serving endpoint. """ - pulumi.set(__self__, "id", id) + return pulumi.get(self, "rate_limits") @property - @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="usageTrackingConfigs") + def usage_tracking_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult']]: + return pulumi.get(self, "usage_tracking_configs") @pulumi.output_type -class GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult(dict): +class GetServingEndpointsEndpointAiGatewayGuardrailResult(dict): def __init__(__self__, *, - id: str): - """ - :param str id: the id of Job if the resource was matched by name. - """ - pulumi.set(__self__, "id", id) + input_properties: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult']] = None, + outputs: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputResult']] = None): + if input_properties is not None: + pulumi.set(__self__, "input_properties", input_properties) + if outputs is not None: + pulumi.set(__self__, "outputs", outputs) + + @property + @pulumi.getter(name="inputProperties") + def input_properties(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult']]: + return pulumi.get(self, "input_properties") @property @pulumi.getter - def id(self) -> str: - """ - the id of Job if the resource was matched by name. - """ - return pulumi.get(self, "id") + def outputs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputResult']]: + return pulumi.get(self, "outputs") @pulumi.output_type -class GetMetastoreMetastoreInfoResult(dict): +class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyResult(dict): def __init__(__self__, *, - cloud: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - default_data_access_config_id: Optional[str] = None, - delta_sharing_organization_name: Optional[str] = None, - delta_sharing_recipient_token_lifetime_in_seconds: Optional[int] = None, - delta_sharing_scope: Optional[str] = None, - external_access_enabled: Optional[bool] = None, - global_metastore_id: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - privilege_model_version: Optional[str] = None, - region: Optional[str] = None, - storage_root: Optional[str] = None, - storage_root_credential_id: Optional[str] = None, - storage_root_credential_name: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param str delta_sharing_organization_name: The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - :param int delta_sharing_recipient_token_lifetime_in_seconds: Used to set expiration duration in seconds on recipient data access tokens. - :param str delta_sharing_scope: Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - :param str metastore_id: ID of the metastore - :param str name: Name of the metastore - :param str owner: Username/groupname/sp application_id of the metastore owner. - :param str region: Region of the metastore - :param str storage_root: Path on cloud storage account, where managed `Table` are stored. - """ - if cloud is not None: - pulumi.set(__self__, "cloud", cloud) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if default_data_access_config_id is not None: - pulumi.set(__self__, "default_data_access_config_id", default_data_access_config_id) - if delta_sharing_organization_name is not None: - pulumi.set(__self__, "delta_sharing_organization_name", delta_sharing_organization_name) - if delta_sharing_recipient_token_lifetime_in_seconds is not None: - pulumi.set(__self__, "delta_sharing_recipient_token_lifetime_in_seconds", delta_sharing_recipient_token_lifetime_in_seconds) - if delta_sharing_scope is not None: - pulumi.set(__self__, "delta_sharing_scope", delta_sharing_scope) - if external_access_enabled is not None: - pulumi.set(__self__, "external_access_enabled", external_access_enabled) - if global_metastore_id is not None: - pulumi.set(__self__, "global_metastore_id", global_metastore_id) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if privilege_model_version is not None: - pulumi.set(__self__, "privilege_model_version", privilege_model_version) - if region is not None: - pulumi.set(__self__, "region", region) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if storage_root_credential_id is not None: - pulumi.set(__self__, "storage_root_credential_id", storage_root_credential_id) - if storage_root_credential_name is not None: - pulumi.set(__self__, "storage_root_credential_name", storage_root_credential_name) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) - - @property - @pulumi.getter - def cloud(self) -> Optional[str]: - return pulumi.get(self, "cloud") - - @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - return pulumi.get(self, "created_at") + invalid_keywords: Optional[Sequence[str]] = None, + piis: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult']] = None, + safety: Optional[bool] = None, + valid_topics: Optional[Sequence[str]] = None): + if invalid_keywords is not None: + pulumi.set(__self__, "invalid_keywords", invalid_keywords) + if piis is not None: + pulumi.set(__self__, "piis", piis) + if safety is not None: + pulumi.set(__self__, "safety", safety) + if valid_topics is not None: + pulumi.set(__self__, "valid_topics", valid_topics) @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - return pulumi.get(self, "created_by") + @pulumi.getter(name="invalidKeywords") + def invalid_keywords(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "invalid_keywords") @property - @pulumi.getter(name="defaultDataAccessConfigId") - def default_data_access_config_id(self) -> Optional[str]: - return pulumi.get(self, "default_data_access_config_id") + @pulumi.getter + def piis(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult']]: + return pulumi.get(self, "piis") @property - @pulumi.getter(name="deltaSharingOrganizationName") - def delta_sharing_organization_name(self) -> Optional[str]: - """ - The organization name of a Delta Sharing entity. This field is used for Databricks to Databricks sharing. - """ - return pulumi.get(self, "delta_sharing_organization_name") + @pulumi.getter + def safety(self) -> Optional[bool]: + return pulumi.get(self, "safety") @property - @pulumi.getter(name="deltaSharingRecipientTokenLifetimeInSeconds") - def delta_sharing_recipient_token_lifetime_in_seconds(self) -> Optional[int]: - """ - Used to set expiration duration in seconds on recipient data access tokens. - """ - return pulumi.get(self, "delta_sharing_recipient_token_lifetime_in_seconds") + @pulumi.getter(name="validTopics") + def valid_topics(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "valid_topics") - @property - @pulumi.getter(name="deltaSharingScope") - def delta_sharing_scope(self) -> Optional[str]: - """ - Used to enable delta sharing on the metastore. Valid values: INTERNAL, INTERNAL_AND_EXTERNAL. INTERNAL only allows sharing within the same account, and INTERNAL_AND_EXTERNAL allows cross account sharing and token based sharing. - """ - return pulumi.get(self, "delta_sharing_scope") - @property - @pulumi.getter(name="externalAccessEnabled") - def external_access_enabled(self) -> Optional[bool]: - return pulumi.get(self, "external_access_enabled") +@pulumi.output_type +class GetServingEndpointsEndpointAiGatewayGuardrailInputPropertyPiiResult(dict): + def __init__(__self__, *, + behavior: str): + pulumi.set(__self__, "behavior", behavior) @property - @pulumi.getter(name="globalMetastoreId") - def global_metastore_id(self) -> Optional[str]: - return pulumi.get(self, "global_metastore_id") + @pulumi.getter + def behavior(self) -> str: + return pulumi.get(self, "behavior") + + +@pulumi.output_type +class GetServingEndpointsEndpointAiGatewayGuardrailOutputResult(dict): + def __init__(__self__, *, + invalid_keywords: Optional[Sequence[str]] = None, + piis: Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult']] = None, + safety: Optional[bool] = None, + valid_topics: Optional[Sequence[str]] = None): + if invalid_keywords is not None: + pulumi.set(__self__, "invalid_keywords", invalid_keywords) + if piis is not None: + pulumi.set(__self__, "piis", piis) + if safety is not None: + pulumi.set(__self__, "safety", safety) + if valid_topics is not None: + pulumi.set(__self__, "valid_topics", valid_topics) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - ID of the metastore - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="invalidKeywords") + def invalid_keywords(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "invalid_keywords") @property @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of the metastore - """ - return pulumi.get(self, "name") + def piis(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult']]: + return pulumi.get(self, "piis") @property @pulumi.getter - def owner(self) -> Optional[str]: - """ - Username/groupname/sp application_id of the metastore owner. - """ - return pulumi.get(self, "owner") + def safety(self) -> Optional[bool]: + return pulumi.get(self, "safety") @property - @pulumi.getter(name="privilegeModelVersion") - def privilege_model_version(self) -> Optional[str]: - return pulumi.get(self, "privilege_model_version") + @pulumi.getter(name="validTopics") + def valid_topics(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "valid_topics") + + +@pulumi.output_type +class GetServingEndpointsEndpointAiGatewayGuardrailOutputPiiResult(dict): + def __init__(__self__, *, + behavior: str): + pulumi.set(__self__, "behavior", behavior) @property @pulumi.getter - def region(self) -> Optional[str]: - """ - Region of the metastore - """ - return pulumi.get(self, "region") + def behavior(self) -> str: + return pulumi.get(self, "behavior") - @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - Path on cloud storage account, where managed `Table` are stored. - """ - return pulumi.get(self, "storage_root") + +@pulumi.output_type +class GetServingEndpointsEndpointAiGatewayInferenceTableConfigResult(dict): + def __init__(__self__, *, + catalog_name: Optional[str] = None, + enabled: Optional[bool] = None, + schema_name: Optional[str] = None, + table_name_prefix: Optional[str] = None): + if catalog_name is not None: + pulumi.set(__self__, "catalog_name", catalog_name) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if schema_name is not None: + pulumi.set(__self__, "schema_name", schema_name) + if table_name_prefix is not None: + pulumi.set(__self__, "table_name_prefix", table_name_prefix) @property - @pulumi.getter(name="storageRootCredentialId") - def storage_root_credential_id(self) -> Optional[str]: - return pulumi.get(self, "storage_root_credential_id") + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[str]: + return pulumi.get(self, "catalog_name") @property - @pulumi.getter(name="storageRootCredentialName") - def storage_root_credential_name(self) -> Optional[str]: - return pulumi.get(self, "storage_root_credential_name") + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - return pulumi.get(self, "updated_at") + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[str]: + return pulumi.get(self, "schema_name") @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - return pulumi.get(self, "updated_by") + @pulumi.getter(name="tableNamePrefix") + def table_name_prefix(self) -> Optional[str]: + return pulumi.get(self, "table_name_prefix") @pulumi.output_type -class GetMlflowExperimentTagResult(dict): +class GetServingEndpointsEndpointAiGatewayRateLimitResult(dict): def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): + calls: int, + renewal_period: str, + key: Optional[str] = None): + pulumi.set(__self__, "calls", calls) + pulumi.set(__self__, "renewal_period", renewal_period) if key is not None: pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def calls(self) -> int: + return pulumi.get(self, "calls") + + @property + @pulumi.getter(name="renewalPeriod") + def renewal_period(self) -> str: + return pulumi.get(self, "renewal_period") @property @pulumi.getter def key(self) -> Optional[str]: return pulumi.get(self, "key") + +@pulumi.output_type +class GetServingEndpointsEndpointAiGatewayUsageTrackingConfigResult(dict): + def __init__(__self__, *, + enabled: Optional[bool] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + @property @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") @pulumi.output_type -class GetMlflowModelLatestVersionResult(dict): +class GetServingEndpointsEndpointConfigResult(dict): def __init__(__self__, *, - creation_timestamp: Optional[int] = None, - current_stage: Optional[str] = None, - description: Optional[str] = None, - last_updated_timestamp: Optional[int] = None, - name: Optional[str] = None, - run_id: Optional[str] = None, - run_link: Optional[str] = None, - source: Optional[str] = None, - status: Optional[str] = None, - status_message: Optional[str] = None, - tags: Optional[Sequence['outputs.GetMlflowModelLatestVersionTagResult']] = None, - user_id: Optional[str] = None, - version: Optional[str] = None): + served_entities: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityResult']] = None, + served_models: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedModelResult']] = None): + if served_entities is not None: + pulumi.set(__self__, "served_entities", served_entities) + if served_models is not None: + pulumi.set(__self__, "served_models", served_models) + + @property + @pulumi.getter(name="servedEntities") + def served_entities(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityResult']]: + return pulumi.get(self, "served_entities") + + @property + @pulumi.getter(name="servedModels") + def served_models(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedModelResult']]: + return pulumi.get(self, "served_models") + + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityResult(dict): + def __init__(__self__, *, + entity_name: Optional[str] = None, + entity_version: Optional[str] = None, + external_models: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelResult']] = None, + foundation_models: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityFoundationModelResult']] = None, + name: Optional[str] = None): """ - :param str description: User-specified description for the object. - :param str name: Name of the registered model. - :param Sequence['GetMlflowModelLatestVersionTagArgs'] tags: Array of tags associated with the model. - :param str user_id: The username of the user that created the object. + :param str name: The name of the model serving endpoint. """ - if creation_timestamp is not None: - pulumi.set(__self__, "creation_timestamp", creation_timestamp) - if current_stage is not None: - pulumi.set(__self__, "current_stage", current_stage) - if description is not None: - pulumi.set(__self__, "description", description) - if last_updated_timestamp is not None: - pulumi.set(__self__, "last_updated_timestamp", last_updated_timestamp) + if entity_name is not None: + pulumi.set(__self__, "entity_name", entity_name) + if entity_version is not None: + pulumi.set(__self__, "entity_version", entity_version) + if external_models is not None: + pulumi.set(__self__, "external_models", external_models) + if foundation_models is not None: + pulumi.set(__self__, "foundation_models", foundation_models) if name is not None: pulumi.set(__self__, "name", name) - if run_id is not None: - pulumi.set(__self__, "run_id", run_id) - if run_link is not None: - pulumi.set(__self__, "run_link", run_link) - if source is not None: - pulumi.set(__self__, "source", source) - if status is not None: - pulumi.set(__self__, "status", status) - if status_message is not None: - pulumi.set(__self__, "status_message", status_message) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if user_id is not None: - pulumi.set(__self__, "user_id", user_id) - if version is not None: - pulumi.set(__self__, "version", version) @property - @pulumi.getter(name="creationTimestamp") - def creation_timestamp(self) -> Optional[int]: - return pulumi.get(self, "creation_timestamp") + @pulumi.getter(name="entityName") + def entity_name(self) -> Optional[str]: + return pulumi.get(self, "entity_name") @property - @pulumi.getter(name="currentStage") - def current_stage(self) -> Optional[str]: - return pulumi.get(self, "current_stage") + @pulumi.getter(name="entityVersion") + def entity_version(self) -> Optional[str]: + return pulumi.get(self, "entity_version") @property - @pulumi.getter - def description(self) -> Optional[str]: - """ - User-specified description for the object. - """ - return pulumi.get(self, "description") + @pulumi.getter(name="externalModels") + def external_models(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelResult']]: + return pulumi.get(self, "external_models") @property - @pulumi.getter(name="lastUpdatedTimestamp") - def last_updated_timestamp(self) -> Optional[int]: - return pulumi.get(self, "last_updated_timestamp") + @pulumi.getter(name="foundationModels") + def foundation_models(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityFoundationModelResult']]: + return pulumi.get(self, "foundation_models") @property @pulumi.getter def name(self) -> Optional[str]: """ - Name of the registered model. + The name of the model serving endpoint. """ return pulumi.get(self, "name") - @property - @pulumi.getter(name="runId") - def run_id(self) -> Optional[str]: - return pulumi.get(self, "run_id") + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelResult(dict): + def __init__(__self__, *, + name: str, + provider: str, + task: str, + ai21labs_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult']] = None, + amazon_bedrock_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult']] = None, + anthropic_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult']] = None, + cohere_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult']] = None, + databricks_model_serving_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult']] = None, + google_cloud_vertex_ai_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult']] = None, + openai_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult']] = None, + palm_configs: Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult']] = None): + """ + :param str name: The name of the model serving endpoint. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "provider", provider) + pulumi.set(__self__, "task", task) + if ai21labs_configs is not None: + pulumi.set(__self__, "ai21labs_configs", ai21labs_configs) + if amazon_bedrock_configs is not None: + pulumi.set(__self__, "amazon_bedrock_configs", amazon_bedrock_configs) + if anthropic_configs is not None: + pulumi.set(__self__, "anthropic_configs", anthropic_configs) + if cohere_configs is not None: + pulumi.set(__self__, "cohere_configs", cohere_configs) + if databricks_model_serving_configs is not None: + pulumi.set(__self__, "databricks_model_serving_configs", databricks_model_serving_configs) + if google_cloud_vertex_ai_configs is not None: + pulumi.set(__self__, "google_cloud_vertex_ai_configs", google_cloud_vertex_ai_configs) + if openai_configs is not None: + pulumi.set(__self__, "openai_configs", openai_configs) + if palm_configs is not None: + pulumi.set(__self__, "palm_configs", palm_configs) @property - @pulumi.getter(name="runLink") - def run_link(self) -> Optional[str]: - return pulumi.get(self, "run_link") + @pulumi.getter + def name(self) -> str: + """ + The name of the model serving endpoint. + """ + return pulumi.get(self, "name") @property @pulumi.getter - def source(self) -> Optional[str]: - return pulumi.get(self, "source") + def provider(self) -> str: + return pulumi.get(self, "provider") @property @pulumi.getter - def status(self) -> Optional[str]: - return pulumi.get(self, "status") + def task(self) -> str: + return pulumi.get(self, "task") @property - @pulumi.getter(name="statusMessage") - def status_message(self) -> Optional[str]: - return pulumi.get(self, "status_message") + @pulumi.getter(name="ai21labsConfigs") + def ai21labs_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult']]: + return pulumi.get(self, "ai21labs_configs") @property - @pulumi.getter - def tags(self) -> Optional[Sequence['outputs.GetMlflowModelLatestVersionTagResult']]: - """ - Array of tags associated with the model. - """ - return pulumi.get(self, "tags") + @pulumi.getter(name="amazonBedrockConfigs") + def amazon_bedrock_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult']]: + return pulumi.get(self, "amazon_bedrock_configs") @property - @pulumi.getter(name="userId") - def user_id(self) -> Optional[str]: - """ - The username of the user that created the object. - """ - return pulumi.get(self, "user_id") + @pulumi.getter(name="anthropicConfigs") + def anthropic_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult']]: + return pulumi.get(self, "anthropic_configs") @property - @pulumi.getter - def version(self) -> Optional[str]: - return pulumi.get(self, "version") + @pulumi.getter(name="cohereConfigs") + def cohere_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult']]: + return pulumi.get(self, "cohere_configs") + @property + @pulumi.getter(name="databricksModelServingConfigs") + def databricks_model_serving_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult']]: + return pulumi.get(self, "databricks_model_serving_configs") -@pulumi.output_type -class GetMlflowModelLatestVersionTagResult(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + @property + @pulumi.getter(name="googleCloudVertexAiConfigs") + def google_cloud_vertex_ai_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult']]: + return pulumi.get(self, "google_cloud_vertex_ai_configs") @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="openaiConfigs") + def openai_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult']]: + return pulumi.get(self, "openai_configs") @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + @pulumi.getter(name="palmConfigs") + def palm_configs(self) -> Optional[Sequence['outputs.GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult']]: + return pulumi.get(self, "palm_configs") @pulumi.output_type -class GetMlflowModelTagResult(dict): +class GetServingEndpointsEndpointConfigServedEntityExternalModelAi21labsConfigResult(dict): def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + ai21labs_api_key: Optional[str] = None, + ai21labs_api_key_plaintext: Optional[str] = None): + if ai21labs_api_key is not None: + pulumi.set(__self__, "ai21labs_api_key", ai21labs_api_key) + if ai21labs_api_key_plaintext is not None: + pulumi.set(__self__, "ai21labs_api_key_plaintext", ai21labs_api_key_plaintext) @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="ai21labsApiKey") + def ai21labs_api_key(self) -> Optional[str]: + return pulumi.get(self, "ai21labs_api_key") @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") + @pulumi.getter(name="ai21labsApiKeyPlaintext") + def ai21labs_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "ai21labs_api_key_plaintext") @pulumi.output_type -class GetNotebookPathsNotebookPathListResult(dict): +class GetServingEndpointsEndpointConfigServedEntityExternalModelAmazonBedrockConfigResult(dict): def __init__(__self__, *, - language: Optional[str] = None, - path: Optional[str] = None): - """ - :param str path: Path to workspace directory - """ - if language is not None: - pulumi.set(__self__, "language", language) - if path is not None: - pulumi.set(__self__, "path", path) + aws_region: str, + bedrock_provider: str, + aws_access_key_id: Optional[str] = None, + aws_access_key_id_plaintext: Optional[str] = None, + aws_secret_access_key: Optional[str] = None, + aws_secret_access_key_plaintext: Optional[str] = None): + pulumi.set(__self__, "aws_region", aws_region) + pulumi.set(__self__, "bedrock_provider", bedrock_provider) + if aws_access_key_id is not None: + pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) + if aws_access_key_id_plaintext is not None: + pulumi.set(__self__, "aws_access_key_id_plaintext", aws_access_key_id_plaintext) + if aws_secret_access_key is not None: + pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) + if aws_secret_access_key_plaintext is not None: + pulumi.set(__self__, "aws_secret_access_key_plaintext", aws_secret_access_key_plaintext) @property - @pulumi.getter - def language(self) -> Optional[str]: - return pulumi.get(self, "language") + @pulumi.getter(name="awsRegion") + def aws_region(self) -> str: + return pulumi.get(self, "aws_region") @property - @pulumi.getter - def path(self) -> Optional[str]: - """ - Path to workspace directory - """ - return pulumi.get(self, "path") - + @pulumi.getter(name="bedrockProvider") + def bedrock_provider(self) -> str: + return pulumi.get(self, "bedrock_provider") -@pulumi.output_type -class GetNotificationDestinationsNotificationDestinationResult(dict): - def __init__(__self__, *, - destination_type: Optional[str] = None, - display_name: Optional[str] = None, - id: Optional[str] = None): - """ - :param str destination_type: The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - :param str display_name: The display name of the Notification Destination. - :param str id: The unique ID of the Notification Destination. - """ - if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) + @property + @pulumi.getter(name="awsAccessKeyId") + def aws_access_key_id(self) -> Optional[str]: + return pulumi.get(self, "aws_access_key_id") @property - @pulumi.getter(name="destinationType") - def destination_type(self) -> Optional[str]: - """ - The type of the notification destination. Possible values are `EMAIL`, `MICROSOFT_TEAMS`, `PAGERDUTY`, `SLACK`, or `WEBHOOK`. - """ - return pulumi.get(self, "destination_type") + @pulumi.getter(name="awsAccessKeyIdPlaintext") + def aws_access_key_id_plaintext(self) -> Optional[str]: + return pulumi.get(self, "aws_access_key_id_plaintext") @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - """ - The display name of the Notification Destination. - """ - return pulumi.get(self, "display_name") + @pulumi.getter(name="awsSecretAccessKey") + def aws_secret_access_key(self) -> Optional[str]: + return pulumi.get(self, "aws_secret_access_key") @property - @pulumi.getter - def id(self) -> Optional[str]: - """ - The unique ID of the Notification Destination. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="awsSecretAccessKeyPlaintext") + def aws_secret_access_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "aws_secret_access_key_plaintext") @pulumi.output_type -class GetRegisteredModelModelInfoResult(dict): +class GetServingEndpointsEndpointConfigServedEntityExternalModelAnthropicConfigResult(dict): def __init__(__self__, *, - aliases: Optional[Sequence['outputs.GetRegisteredModelModelInfoAliasResult']] = None, - browse_only: Optional[bool] = None, - catalog_name: Optional[str] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - full_name: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - schema_name: Optional[str] = None, - storage_location: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param Sequence['GetRegisteredModelModelInfoAliasArgs'] aliases: the list of aliases associated with this model. Each item is object consisting of following attributes: - :param str catalog_name: The name of the catalog where the schema and the registered model reside. - :param str comment: The comment attached to the registered model. - :param int created_at: the Unix timestamp at the model's creation - :param str created_by: the identifier of the user who created the model - :param str full_name: The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - :param str metastore_id: the unique identifier of the metastore - :param str name: The name of the registered model. - :param str owner: Name of the registered model owner. - :param str schema_name: The name of the schema where the registered model resides. - :param str storage_location: The storage location under which model version data files are stored. - :param int updated_at: the timestamp of the last time changes were made to the model - :param str updated_by: the identifier of the user who updated the model last time - """ - if aliases is not None: - pulumi.set(__self__, "aliases", aliases) - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) - if storage_location is not None: - pulumi.set(__self__, "storage_location", storage_location) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + anthropic_api_key: Optional[str] = None, + anthropic_api_key_plaintext: Optional[str] = None): + if anthropic_api_key is not None: + pulumi.set(__self__, "anthropic_api_key", anthropic_api_key) + if anthropic_api_key_plaintext is not None: + pulumi.set(__self__, "anthropic_api_key_plaintext", anthropic_api_key_plaintext) @property - @pulumi.getter - def aliases(self) -> Optional[Sequence['outputs.GetRegisteredModelModelInfoAliasResult']]: - """ - the list of aliases associated with this model. Each item is object consisting of following attributes: - """ - return pulumi.get(self, "aliases") + @pulumi.getter(name="anthropicApiKey") + def anthropic_api_key(self) -> Optional[str]: + return pulumi.get(self, "anthropic_api_key") @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - return pulumi.get(self, "browse_only") + @pulumi.getter(name="anthropicApiKeyPlaintext") + def anthropic_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "anthropic_api_key_plaintext") - @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[str]: - """ - The name of the catalog where the schema and the registered model reside. - """ - return pulumi.get(self, "catalog_name") - @property - @pulumi.getter - def comment(self) -> Optional[str]: - """ - The comment attached to the registered model. - """ - return pulumi.get(self, "comment") +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelCohereConfigResult(dict): + def __init__(__self__, *, + cohere_api_base: Optional[str] = None, + cohere_api_key: Optional[str] = None, + cohere_api_key_plaintext: Optional[str] = None): + if cohere_api_base is not None: + pulumi.set(__self__, "cohere_api_base", cohere_api_base) + if cohere_api_key is not None: + pulumi.set(__self__, "cohere_api_key", cohere_api_key) + if cohere_api_key_plaintext is not None: + pulumi.set(__self__, "cohere_api_key_plaintext", cohere_api_key_plaintext) @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - the Unix timestamp at the model's creation - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="cohereApiBase") + def cohere_api_base(self) -> Optional[str]: + return pulumi.get(self, "cohere_api_base") @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - the identifier of the user who created the model - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="cohereApiKey") + def cohere_api_key(self) -> Optional[str]: + return pulumi.get(self, "cohere_api_key") @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - The fully-qualified name of the registered model (`catalog_name.schema_name.name`). - """ - return pulumi.get(self, "full_name") + @pulumi.getter(name="cohereApiKeyPlaintext") + def cohere_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "cohere_api_key_plaintext") + + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelDatabricksModelServingConfigResult(dict): + def __init__(__self__, *, + databricks_workspace_url: str, + databricks_api_token: Optional[str] = None, + databricks_api_token_plaintext: Optional[str] = None): + pulumi.set(__self__, "databricks_workspace_url", databricks_workspace_url) + if databricks_api_token is not None: + pulumi.set(__self__, "databricks_api_token", databricks_api_token) + if databricks_api_token_plaintext is not None: + pulumi.set(__self__, "databricks_api_token_plaintext", databricks_api_token_plaintext) @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: - """ - the unique identifier of the metastore - """ - return pulumi.get(self, "metastore_id") + @pulumi.getter(name="databricksWorkspaceUrl") + def databricks_workspace_url(self) -> str: + return pulumi.get(self, "databricks_workspace_url") @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - The name of the registered model. - """ - return pulumi.get(self, "name") + @pulumi.getter(name="databricksApiToken") + def databricks_api_token(self) -> Optional[str]: + return pulumi.get(self, "databricks_api_token") @property - @pulumi.getter - def owner(self) -> Optional[str]: - """ - Name of the registered model owner. - """ - return pulumi.get(self, "owner") + @pulumi.getter(name="databricksApiTokenPlaintext") + def databricks_api_token_plaintext(self) -> Optional[str]: + return pulumi.get(self, "databricks_api_token_plaintext") + + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelGoogleCloudVertexAiConfigResult(dict): + def __init__(__self__, *, + private_key: Optional[str] = None, + private_key_plaintext: Optional[str] = None, + project_id: Optional[str] = None, + region: Optional[str] = None): + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if private_key_plaintext is not None: + pulumi.set(__self__, "private_key_plaintext", private_key_plaintext) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) @property - @pulumi.getter(name="schemaName") - def schema_name(self) -> Optional[str]: - """ - The name of the schema where the registered model resides. - """ - return pulumi.get(self, "schema_name") + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[str]: + return pulumi.get(self, "private_key") @property - @pulumi.getter(name="storageLocation") - def storage_location(self) -> Optional[str]: - """ - The storage location under which model version data files are stored. - """ - return pulumi.get(self, "storage_location") + @pulumi.getter(name="privateKeyPlaintext") + def private_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "private_key_plaintext") @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - the timestamp of the last time changes were made to the model - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[str]: + return pulumi.get(self, "project_id") @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - """ - the identifier of the user who updated the model last time - """ - return pulumi.get(self, "updated_by") + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") @pulumi.output_type -class GetRegisteredModelModelInfoAliasResult(dict): +class GetServingEndpointsEndpointConfigServedEntityExternalModelOpenaiConfigResult(dict): def __init__(__self__, *, - alias_name: Optional[str] = None, - version_num: Optional[int] = None): - """ - :param str alias_name: string with the name of alias - :param int version_num: associated model version - """ - if alias_name is not None: - pulumi.set(__self__, "alias_name", alias_name) - if version_num is not None: - pulumi.set(__self__, "version_num", version_num) + microsoft_entra_client_id: Optional[str] = None, + microsoft_entra_client_secret: Optional[str] = None, + microsoft_entra_client_secret_plaintext: Optional[str] = None, + microsoft_entra_tenant_id: Optional[str] = None, + openai_api_base: Optional[str] = None, + openai_api_key: Optional[str] = None, + openai_api_key_plaintext: Optional[str] = None, + openai_api_type: Optional[str] = None, + openai_api_version: Optional[str] = None, + openai_deployment_name: Optional[str] = None, + openai_organization: Optional[str] = None): + if microsoft_entra_client_id is not None: + pulumi.set(__self__, "microsoft_entra_client_id", microsoft_entra_client_id) + if microsoft_entra_client_secret is not None: + pulumi.set(__self__, "microsoft_entra_client_secret", microsoft_entra_client_secret) + if microsoft_entra_client_secret_plaintext is not None: + pulumi.set(__self__, "microsoft_entra_client_secret_plaintext", microsoft_entra_client_secret_plaintext) + if microsoft_entra_tenant_id is not None: + pulumi.set(__self__, "microsoft_entra_tenant_id", microsoft_entra_tenant_id) + if openai_api_base is not None: + pulumi.set(__self__, "openai_api_base", openai_api_base) + if openai_api_key is not None: + pulumi.set(__self__, "openai_api_key", openai_api_key) + if openai_api_key_plaintext is not None: + pulumi.set(__self__, "openai_api_key_plaintext", openai_api_key_plaintext) + if openai_api_type is not None: + pulumi.set(__self__, "openai_api_type", openai_api_type) + if openai_api_version is not None: + pulumi.set(__self__, "openai_api_version", openai_api_version) + if openai_deployment_name is not None: + pulumi.set(__self__, "openai_deployment_name", openai_deployment_name) + if openai_organization is not None: + pulumi.set(__self__, "openai_organization", openai_organization) @property - @pulumi.getter(name="aliasName") - def alias_name(self) -> Optional[str]: - """ - string with the name of alias - """ - return pulumi.get(self, "alias_name") + @pulumi.getter(name="microsoftEntraClientId") + def microsoft_entra_client_id(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_id") @property - @pulumi.getter(name="versionNum") - def version_num(self) -> Optional[int]: - """ - associated model version - """ - return pulumi.get(self, "version_num") - + @pulumi.getter(name="microsoftEntraClientSecret") + def microsoft_entra_client_secret(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_secret") -@pulumi.output_type -class GetSchemaSchemaInfoResult(dict): - def __init__(__self__, *, - browse_only: Optional[bool] = None, - catalog_name: Optional[str] = None, - catalog_type: Optional[str] = None, - comment: Optional[str] = None, - created_at: Optional[int] = None, - created_by: Optional[str] = None, - effective_predictive_optimization_flag: Optional['outputs.GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult'] = None, - enable_predictive_optimization: Optional[str] = None, - full_name: Optional[str] = None, - metastore_id: Optional[str] = None, - name: Optional[str] = None, - owner: Optional[str] = None, - properties: Optional[Mapping[str, str]] = None, - schema_id: Optional[str] = None, - storage_location: Optional[str] = None, - storage_root: Optional[str] = None, - updated_at: Optional[int] = None, - updated_by: Optional[str] = None): - """ - :param bool browse_only: indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - :param str catalog_name: the name of the catalog where the schema is. - :param str catalog_type: the type of the parent catalog. - :param str comment: the comment attached to the volume - :param int created_at: time at which this schema was created, in epoch milliseconds. - :param str created_by: username of schema creator. - :param 'GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagArgs' effective_predictive_optimization_flag: information about actual state of predictive optimization. - :param str enable_predictive_optimization: whether predictive optimization should be enabled for this object and objects under it. - :param str full_name: the two-level (fully qualified) name of the schema - :param str metastore_id: the unique identifier of the metastore - :param str name: a fully qualified name of databricks_schema: *`catalog`.`schema`* - :param str owner: the identifier of the user who owns the schema - :param Mapping[str, str] properties: map of properties set on the schema - :param str schema_id: the unique identifier of the volume - :param str storage_location: the storage location on the cloud. - :param str storage_root: storage root URL for managed tables within schema. - :param int updated_at: the timestamp of the last time changes were made to the schema - :param str updated_by: the identifier of the user who updated the schema last time - """ - if browse_only is not None: - pulumi.set(__self__, "browse_only", browse_only) - if catalog_name is not None: - pulumi.set(__self__, "catalog_name", catalog_name) - if catalog_type is not None: - pulumi.set(__self__, "catalog_type", catalog_type) - if comment is not None: - pulumi.set(__self__, "comment", comment) - if created_at is not None: - pulumi.set(__self__, "created_at", created_at) - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if effective_predictive_optimization_flag is not None: - pulumi.set(__self__, "effective_predictive_optimization_flag", effective_predictive_optimization_flag) - if enable_predictive_optimization is not None: - pulumi.set(__self__, "enable_predictive_optimization", enable_predictive_optimization) - if full_name is not None: - pulumi.set(__self__, "full_name", full_name) - if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) - if name is not None: - pulumi.set(__self__, "name", name) - if owner is not None: - pulumi.set(__self__, "owner", owner) - if properties is not None: - pulumi.set(__self__, "properties", properties) - if schema_id is not None: - pulumi.set(__self__, "schema_id", schema_id) - if storage_location is not None: - pulumi.set(__self__, "storage_location", storage_location) - if storage_root is not None: - pulumi.set(__self__, "storage_root", storage_root) - if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + @property + @pulumi.getter(name="microsoftEntraClientSecretPlaintext") + def microsoft_entra_client_secret_plaintext(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_client_secret_plaintext") @property - @pulumi.getter(name="browseOnly") - def browse_only(self) -> Optional[bool]: - """ - indicates whether the principal is limited to retrieving metadata for the schema through the BROWSE privilege. - """ - return pulumi.get(self, "browse_only") + @pulumi.getter(name="microsoftEntraTenantId") + def microsoft_entra_tenant_id(self) -> Optional[str]: + return pulumi.get(self, "microsoft_entra_tenant_id") @property - @pulumi.getter(name="catalogName") - def catalog_name(self) -> Optional[str]: - """ - the name of the catalog where the schema is. - """ - return pulumi.get(self, "catalog_name") + @pulumi.getter(name="openaiApiBase") + def openai_api_base(self) -> Optional[str]: + return pulumi.get(self, "openai_api_base") @property - @pulumi.getter(name="catalogType") - def catalog_type(self) -> Optional[str]: - """ - the type of the parent catalog. - """ - return pulumi.get(self, "catalog_type") + @pulumi.getter(name="openaiApiKey") + def openai_api_key(self) -> Optional[str]: + return pulumi.get(self, "openai_api_key") @property - @pulumi.getter - def comment(self) -> Optional[str]: - """ - the comment attached to the volume - """ - return pulumi.get(self, "comment") + @pulumi.getter(name="openaiApiKeyPlaintext") + def openai_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "openai_api_key_plaintext") @property - @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[int]: - """ - time at which this schema was created, in epoch milliseconds. - """ - return pulumi.get(self, "created_at") + @pulumi.getter(name="openaiApiType") + def openai_api_type(self) -> Optional[str]: + return pulumi.get(self, "openai_api_type") @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - """ - username of schema creator. - """ - return pulumi.get(self, "created_by") + @pulumi.getter(name="openaiApiVersion") + def openai_api_version(self) -> Optional[str]: + return pulumi.get(self, "openai_api_version") @property - @pulumi.getter(name="effectivePredictiveOptimizationFlag") - def effective_predictive_optimization_flag(self) -> Optional['outputs.GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult']: - """ - information about actual state of predictive optimization. - """ - return pulumi.get(self, "effective_predictive_optimization_flag") + @pulumi.getter(name="openaiDeploymentName") + def openai_deployment_name(self) -> Optional[str]: + return pulumi.get(self, "openai_deployment_name") @property - @pulumi.getter(name="enablePredictiveOptimization") - def enable_predictive_optimization(self) -> Optional[str]: - """ - whether predictive optimization should be enabled for this object and objects under it. - """ - return pulumi.get(self, "enable_predictive_optimization") + @pulumi.getter(name="openaiOrganization") + def openai_organization(self) -> Optional[str]: + return pulumi.get(self, "openai_organization") + + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityExternalModelPalmConfigResult(dict): + def __init__(__self__, *, + palm_api_key: Optional[str] = None, + palm_api_key_plaintext: Optional[str] = None): + if palm_api_key is not None: + pulumi.set(__self__, "palm_api_key", palm_api_key) + if palm_api_key_plaintext is not None: + pulumi.set(__self__, "palm_api_key_plaintext", palm_api_key_plaintext) @property - @pulumi.getter(name="fullName") - def full_name(self) -> Optional[str]: - """ - the two-level (fully qualified) name of the schema - """ - return pulumi.get(self, "full_name") + @pulumi.getter(name="palmApiKey") + def palm_api_key(self) -> Optional[str]: + return pulumi.get(self, "palm_api_key") @property - @pulumi.getter(name="metastoreId") - def metastore_id(self) -> Optional[str]: + @pulumi.getter(name="palmApiKeyPlaintext") + def palm_api_key_plaintext(self) -> Optional[str]: + return pulumi.get(self, "palm_api_key_plaintext") + + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedEntityFoundationModelResult(dict): + def __init__(__self__, *, + description: Optional[str] = None, + display_name: Optional[str] = None, + docs: Optional[str] = None, + name: Optional[str] = None): """ - the unique identifier of the metastore + :param str name: The name of the model serving endpoint. """ - return pulumi.get(self, "metastore_id") + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if docs is not None: + pulumi.set(__self__, "docs", docs) + if name is not None: + pulumi.set(__self__, "name", name) @property @pulumi.getter - def name(self) -> Optional[str]: - """ - a fully qualified name of databricks_schema: *`catalog`.`schema`* - """ - return pulumi.get(self, "name") + def description(self) -> Optional[str]: + return pulumi.get(self, "description") @property - @pulumi.getter - def owner(self) -> Optional[str]: - """ - the identifier of the user who owns the schema - """ - return pulumi.get(self, "owner") + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + return pulumi.get(self, "display_name") @property @pulumi.getter - def properties(self) -> Optional[Mapping[str, str]]: - """ - map of properties set on the schema - """ - return pulumi.get(self, "properties") + def docs(self) -> Optional[str]: + return pulumi.get(self, "docs") @property - @pulumi.getter(name="schemaId") - def schema_id(self) -> Optional[str]: + @pulumi.getter + def name(self) -> Optional[str]: """ - the unique identifier of the volume + The name of the model serving endpoint. """ - return pulumi.get(self, "schema_id") + return pulumi.get(self, "name") - @property - @pulumi.getter(name="storageLocation") - def storage_location(self) -> Optional[str]: + +@pulumi.output_type +class GetServingEndpointsEndpointConfigServedModelResult(dict): + def __init__(__self__, *, + model_name: Optional[str] = None, + model_version: Optional[str] = None, + name: Optional[str] = None): """ - the storage location on the cloud. + :param str name: The name of the model serving endpoint. """ - return pulumi.get(self, "storage_location") + if model_name is not None: + pulumi.set(__self__, "model_name", model_name) + if model_version is not None: + pulumi.set(__self__, "model_version", model_version) + if name is not None: + pulumi.set(__self__, "name", name) @property - @pulumi.getter(name="storageRoot") - def storage_root(self) -> Optional[str]: - """ - storage root URL for managed tables within schema. - """ - return pulumi.get(self, "storage_root") + @pulumi.getter(name="modelName") + def model_name(self) -> Optional[str]: + return pulumi.get(self, "model_name") @property - @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[int]: - """ - the timestamp of the last time changes were made to the schema - """ - return pulumi.get(self, "updated_at") + @pulumi.getter(name="modelVersion") + def model_version(self) -> Optional[str]: + return pulumi.get(self, "model_version") @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: + @pulumi.getter + def name(self) -> Optional[str]: """ - the identifier of the user who updated the schema last time + The name of the model serving endpoint. """ - return pulumi.get(self, "updated_by") + return pulumi.get(self, "name") @pulumi.output_type -class GetSchemaSchemaInfoEffectivePredictiveOptimizationFlagResult(dict): +class GetServingEndpointsEndpointStateResult(dict): def __init__(__self__, *, - value: str, - inherited_from_name: Optional[str] = None, - inherited_from_type: Optional[str] = None): - pulumi.set(__self__, "value", value) - if inherited_from_name is not None: - pulumi.set(__self__, "inherited_from_name", inherited_from_name) - if inherited_from_type is not None: - pulumi.set(__self__, "inherited_from_type", inherited_from_type) + config_update: Optional[str] = None, + ready: Optional[str] = None): + if config_update is not None: + pulumi.set(__self__, "config_update", config_update) + if ready is not None: + pulumi.set(__self__, "ready", ready) + + @property + @pulumi.getter(name="configUpdate") + def config_update(self) -> Optional[str]: + return pulumi.get(self, "config_update") @property @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") + def ready(self) -> Optional[str]: + return pulumi.get(self, "ready") + + +@pulumi.output_type +class GetServingEndpointsEndpointTagResult(dict): + def __init__(__self__, *, + key: str, + value: Optional[str] = None): + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="inheritedFromName") - def inherited_from_name(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_name") + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") @property - @pulumi.getter(name="inheritedFromType") - def inherited_from_type(self) -> Optional[str]: - return pulumi.get(self, "inherited_from_type") + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") @pulumi.output_type diff --git a/sdk/python/pulumi_databricks/permissions.py b/sdk/python/pulumi_databricks/permissions.py index 2fcf77d5..1b3479c7 100644 --- a/sdk/python/pulumi_databricks/permissions.py +++ b/sdk/python/pulumi_databricks/permissions.py @@ -22,6 +22,7 @@ class PermissionsArgs: def __init__(__self__, *, access_controls: pulumi.Input[Sequence[pulumi.Input['PermissionsAccessControlArgs']]], + app_name: Optional[pulumi.Input[str]] = None, authorization: Optional[pulumi.Input[str]] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_policy_id: Optional[pulumi.Input[str]] = None, @@ -43,6 +44,7 @@ def __init__(__self__, *, sql_dashboard_id: Optional[pulumi.Input[str]] = None, sql_endpoint_id: Optional[pulumi.Input[str]] = None, sql_query_id: Optional[pulumi.Input[str]] = None, + vector_search_endpoint_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None): """ @@ -50,6 +52,8 @@ def __init__(__self__, *, :param pulumi.Input[str] object_type: type of permissions. """ pulumi.set(__self__, "access_controls", access_controls) + if app_name is not None: + pulumi.set(__self__, "app_name", app_name) if authorization is not None: pulumi.set(__self__, "authorization", authorization) if cluster_id is not None: @@ -92,6 +96,8 @@ def __init__(__self__, *, pulumi.set(__self__, "sql_endpoint_id", sql_endpoint_id) if sql_query_id is not None: pulumi.set(__self__, "sql_query_id", sql_query_id) + if vector_search_endpoint_id is not None: + pulumi.set(__self__, "vector_search_endpoint_id", vector_search_endpoint_id) if workspace_file_id is not None: pulumi.set(__self__, "workspace_file_id", workspace_file_id) if workspace_file_path is not None: @@ -106,6 +112,15 @@ def access_controls(self) -> pulumi.Input[Sequence[pulumi.Input['PermissionsAcce def access_controls(self, value: pulumi.Input[Sequence[pulumi.Input['PermissionsAccessControlArgs']]]): pulumi.set(self, "access_controls", value) + @property + @pulumi.getter(name="appName") + def app_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "app_name") + + @app_name.setter + def app_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_name", value) + @property @pulumi.getter def authorization(self) -> Optional[pulumi.Input[str]]: @@ -298,6 +313,15 @@ def sql_query_id(self) -> Optional[pulumi.Input[str]]: def sql_query_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sql_query_id", value) + @property + @pulumi.getter(name="vectorSearchEndpointId") + def vector_search_endpoint_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vector_search_endpoint_id") + + @vector_search_endpoint_id.setter + def vector_search_endpoint_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vector_search_endpoint_id", value) + @property @pulumi.getter(name="workspaceFileId") def workspace_file_id(self) -> Optional[pulumi.Input[str]]: @@ -321,6 +345,7 @@ def workspace_file_path(self, value: Optional[pulumi.Input[str]]): class _PermissionsState: def __init__(__self__, *, access_controls: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsAccessControlArgs']]]] = None, + app_name: Optional[pulumi.Input[str]] = None, authorization: Optional[pulumi.Input[str]] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_policy_id: Optional[pulumi.Input[str]] = None, @@ -342,6 +367,7 @@ def __init__(__self__, *, sql_dashboard_id: Optional[pulumi.Input[str]] = None, sql_endpoint_id: Optional[pulumi.Input[str]] = None, sql_query_id: Optional[pulumi.Input[str]] = None, + vector_search_endpoint_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None): """ @@ -350,6 +376,8 @@ def __init__(__self__, *, """ if access_controls is not None: pulumi.set(__self__, "access_controls", access_controls) + if app_name is not None: + pulumi.set(__self__, "app_name", app_name) if authorization is not None: pulumi.set(__self__, "authorization", authorization) if cluster_id is not None: @@ -392,6 +420,8 @@ def __init__(__self__, *, pulumi.set(__self__, "sql_endpoint_id", sql_endpoint_id) if sql_query_id is not None: pulumi.set(__self__, "sql_query_id", sql_query_id) + if vector_search_endpoint_id is not None: + pulumi.set(__self__, "vector_search_endpoint_id", vector_search_endpoint_id) if workspace_file_id is not None: pulumi.set(__self__, "workspace_file_id", workspace_file_id) if workspace_file_path is not None: @@ -406,6 +436,15 @@ def access_controls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Permis def access_controls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PermissionsAccessControlArgs']]]]): pulumi.set(self, "access_controls", value) + @property + @pulumi.getter(name="appName") + def app_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "app_name") + + @app_name.setter + def app_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "app_name", value) + @property @pulumi.getter def authorization(self) -> Optional[pulumi.Input[str]]: @@ -598,6 +637,15 @@ def sql_query_id(self) -> Optional[pulumi.Input[str]]: def sql_query_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sql_query_id", value) + @property + @pulumi.getter(name="vectorSearchEndpointId") + def vector_search_endpoint_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vector_search_endpoint_id") + + @vector_search_endpoint_id.setter + def vector_search_endpoint_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vector_search_endpoint_id", value) + @property @pulumi.getter(name="workspaceFileId") def workspace_file_id(self) -> Optional[pulumi.Input[str]]: @@ -623,6 +671,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, access_controls: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PermissionsAccessControlArgs', 'PermissionsAccessControlArgsDict']]]]] = None, + app_name: Optional[pulumi.Input[str]] = None, authorization: Optional[pulumi.Input[str]] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_policy_id: Optional[pulumi.Input[str]] = None, @@ -644,6 +693,7 @@ def __init__(__self__, sql_dashboard_id: Optional[pulumi.Input[str]] = None, sql_endpoint_id: Optional[pulumi.Input[str]] = None, sql_query_id: Optional[pulumi.Input[str]] = None, + vector_search_endpoint_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None, __props__=None): @@ -1167,6 +1217,34 @@ def clickstream_raw(): ]) ``` + ## Mosaic AI Vector Search usage + + Valid permission levels for VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`. + + > You need to use the `endpoint_id` attribute of `VectorSearchEndpoint` as value for `vector_search_endpoint_id`, not the `id`! + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.VectorSearchEndpoint("this", + name="vector-search-test", + endpoint_type="STANDARD") + eng = databricks.Group("eng", display_name="Engineering") + vector_search_endpoint_usage = databricks.Permissions("vector_search_endpoint_usage", + vector_search_endpoint_id=this.endpoint_id, + access_controls=[ + { + "group_name": "users", + "permission_level": "CAN_USE", + }, + { + "group_name": eng.display_name, + "permission_level": "CAN_MANAGE", + }, + ]) + ``` + ## Passwords usage By default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control. @@ -1904,6 +1982,34 @@ def clickstream_raw(): ]) ``` + ## Mosaic AI Vector Search usage + + Valid permission levels for VectorSearchEndpoint are: `CAN_USE` and `CAN_MANAGE`. + + > You need to use the `endpoint_id` attribute of `VectorSearchEndpoint` as value for `vector_search_endpoint_id`, not the `id`! + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.VectorSearchEndpoint("this", + name="vector-search-test", + endpoint_type="STANDARD") + eng = databricks.Group("eng", display_name="Engineering") + vector_search_endpoint_usage = databricks.Permissions("vector_search_endpoint_usage", + vector_search_endpoint_id=this.endpoint_id, + access_controls=[ + { + "group_name": "users", + "permission_level": "CAN_USE", + }, + { + "group_name": eng.display_name, + "permission_level": "CAN_MANAGE", + }, + ]) + ``` + ## Passwords usage By default on AWS deployments, all admin users can sign in to Databricks using either SSO or their username and password, and all API users can authenticate to the Databricks REST APIs using their username and password. As an admin, you [can limit](https://docs.databricks.com/administration-guide/users-groups/single-sign-on/index.html#optional-configure-password-access-control) admin users’ and API users’ ability to authenticate with their username and password by configuring `CAN_USE` permissions using password access control. @@ -2127,6 +2233,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, access_controls: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PermissionsAccessControlArgs', 'PermissionsAccessControlArgsDict']]]]] = None, + app_name: Optional[pulumi.Input[str]] = None, authorization: Optional[pulumi.Input[str]] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_policy_id: Optional[pulumi.Input[str]] = None, @@ -2148,6 +2255,7 @@ def _internal_init(__self__, sql_dashboard_id: Optional[pulumi.Input[str]] = None, sql_endpoint_id: Optional[pulumi.Input[str]] = None, sql_query_id: Optional[pulumi.Input[str]] = None, + vector_search_endpoint_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None, __props__=None): @@ -2162,6 +2270,7 @@ def _internal_init(__self__, if access_controls is None and not opts.urn: raise TypeError("Missing required property 'access_controls'") __props__.__dict__["access_controls"] = access_controls + __props__.__dict__["app_name"] = app_name __props__.__dict__["authorization"] = authorization __props__.__dict__["cluster_id"] = cluster_id __props__.__dict__["cluster_policy_id"] = cluster_policy_id @@ -2183,6 +2292,7 @@ def _internal_init(__self__, __props__.__dict__["sql_dashboard_id"] = sql_dashboard_id __props__.__dict__["sql_endpoint_id"] = sql_endpoint_id __props__.__dict__["sql_query_id"] = sql_query_id + __props__.__dict__["vector_search_endpoint_id"] = vector_search_endpoint_id __props__.__dict__["workspace_file_id"] = workspace_file_id __props__.__dict__["workspace_file_path"] = workspace_file_path super(Permissions, __self__).__init__( @@ -2196,6 +2306,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, access_controls: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PermissionsAccessControlArgs', 'PermissionsAccessControlArgsDict']]]]] = None, + app_name: Optional[pulumi.Input[str]] = None, authorization: Optional[pulumi.Input[str]] = None, cluster_id: Optional[pulumi.Input[str]] = None, cluster_policy_id: Optional[pulumi.Input[str]] = None, @@ -2217,6 +2328,7 @@ def get(resource_name: str, sql_dashboard_id: Optional[pulumi.Input[str]] = None, sql_endpoint_id: Optional[pulumi.Input[str]] = None, sql_query_id: Optional[pulumi.Input[str]] = None, + vector_search_endpoint_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None) -> 'Permissions': """ @@ -2233,6 +2345,7 @@ def get(resource_name: str, __props__ = _PermissionsState.__new__(_PermissionsState) __props__.__dict__["access_controls"] = access_controls + __props__.__dict__["app_name"] = app_name __props__.__dict__["authorization"] = authorization __props__.__dict__["cluster_id"] = cluster_id __props__.__dict__["cluster_policy_id"] = cluster_policy_id @@ -2254,6 +2367,7 @@ def get(resource_name: str, __props__.__dict__["sql_dashboard_id"] = sql_dashboard_id __props__.__dict__["sql_endpoint_id"] = sql_endpoint_id __props__.__dict__["sql_query_id"] = sql_query_id + __props__.__dict__["vector_search_endpoint_id"] = vector_search_endpoint_id __props__.__dict__["workspace_file_id"] = workspace_file_id __props__.__dict__["workspace_file_path"] = workspace_file_path return Permissions(resource_name, opts=opts, __props__=__props__) @@ -2263,6 +2377,11 @@ def get(resource_name: str, def access_controls(self) -> pulumi.Output[Sequence['outputs.PermissionsAccessControl']]: return pulumi.get(self, "access_controls") + @property + @pulumi.getter(name="appName") + def app_name(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "app_name") + @property @pulumi.getter def authorization(self) -> pulumi.Output[Optional[str]]: @@ -2371,6 +2490,11 @@ def sql_endpoint_id(self) -> pulumi.Output[Optional[str]]: def sql_query_id(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "sql_query_id") + @property + @pulumi.getter(name="vectorSearchEndpointId") + def vector_search_endpoint_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "vector_search_endpoint_id") + @property @pulumi.getter(name="workspaceFileId") def workspace_file_id(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_databricks/query.py b/sdk/python/pulumi_databricks/query.py index e2d3be89..321898cd 100644 --- a/sdk/python/pulumi_databricks/query.py +++ b/sdk/python/pulumi_databricks/query.py @@ -44,7 +44,7 @@ def __init__(__self__, *, :param pulumi.Input[str] owner_user_name: Query owner's username. :param pulumi.Input[Sequence[pulumi.Input['QueryParameterArgs']]] parameters: Query parameter definition. Consists of following attributes (one of `*_value` is required): :param pulumi.Input[str] parent_path: The path to a workspace folder containing the query. The default is the user's home folder. If changed, the query will be recreated. - :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. + :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. :param pulumi.Input[str] schema: Name of the schema where this query will be executed. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags that will be added to the query. """ @@ -182,7 +182,7 @@ def parent_path(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="runAsMode") def run_as_mode(self) -> Optional[pulumi.Input[str]]: """ - Sets the "Run as" role for the object. + Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. """ return pulumi.get(self, "run_as_mode") @@ -247,7 +247,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['QueryParameterArgs']]] parameters: Query parameter definition. Consists of following attributes (one of `*_value` is required): :param pulumi.Input[str] parent_path: The path to a workspace folder containing the query. The default is the user's home folder. If changed, the query will be recreated. :param pulumi.Input[str] query_text: Text of SQL query. - :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. + :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. :param pulumi.Input[str] schema: Name of the schema where this query will be executed. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags that will be added to the query. :param pulumi.Input[str] update_time: The timestamp string indicating when the query was updated. @@ -422,7 +422,7 @@ def query_text(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="runAsMode") def run_as_mode(self) -> Optional[pulumi.Input[str]]: """ - Sets the "Run as" role for the object. + Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. """ return pulumi.get(self, "run_as_mode") @@ -518,7 +518,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[Union['QueryParameterArgs', 'QueryParameterArgsDict']]]] parameters: Query parameter definition. Consists of following attributes (one of `*_value` is required): :param pulumi.Input[str] parent_path: The path to a workspace folder containing the query. The default is the user's home folder. If changed, the query will be recreated. :param pulumi.Input[str] query_text: Text of SQL query. - :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. + :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. :param pulumi.Input[str] schema: Name of the schema where this query will be executed. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags that will be added to the query. :param pulumi.Input[str] warehouse_id: ID of a SQL warehouse which will be used to execute this query. @@ -642,7 +642,7 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[Union['QueryParameterArgs', 'QueryParameterArgsDict']]]] parameters: Query parameter definition. Consists of following attributes (one of `*_value` is required): :param pulumi.Input[str] parent_path: The path to a workspace folder containing the query. The default is the user's home folder. If changed, the query will be recreated. :param pulumi.Input[str] query_text: Text of SQL query. - :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. + :param pulumi.Input[str] run_as_mode: Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. :param pulumi.Input[str] schema: Name of the schema where this query will be executed. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags that will be added to the query. :param pulumi.Input[str] update_time: The timestamp string indicating when the query was updated. @@ -762,7 +762,7 @@ def query_text(self) -> pulumi.Output[str]: @pulumi.getter(name="runAsMode") def run_as_mode(self) -> pulumi.Output[Optional[str]]: """ - Sets the "Run as" role for the object. + Sets the "Run as" role for the object. Should be one of `OWNER`, `VIEWER`. """ return pulumi.get(self, "run_as_mode") diff --git a/sdk/python/pulumi_databricks/storage_credential.py b/sdk/python/pulumi_databricks/storage_credential.py index 9a69a109..17ec0b80 100644 --- a/sdk/python/pulumi_databricks/storage_credential.py +++ b/sdk/python/pulumi_databricks/storage_credential.py @@ -511,6 +511,8 @@ def __init__(__self__, - `StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential. - ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location. + On AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source get_aws_unity_catalog_assume_role_policy can be used to create the necessary AWS Unity Catalog assume role policy. + ## Example Usage For AWS @@ -546,7 +548,7 @@ def __init__(__self__, }, comment="Managed identity credential managed by TF") external_creds = databricks.Grants("external_creds", - storage_credential=external["id"], + storage_credential=external_mi.id, grants=[{ "principal": "Data Engineers", "privileges": ["CREATE_EXTERNAL_TABLE"], @@ -607,6 +609,8 @@ def __init__(__self__, - `StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal/managed identity for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential. - ExternalLocation are objects that combine a cloud storage path with a Storage Credential that can be used to access the location. + On AWS, the IAM role for a storage credential requires a trust policy. See [documentation](https://docs.databricks.com/en/connect/unity-catalog/cloud-storage/storage-credentials.html#step-1-create-an-iam-role) for more details. The data source get_aws_unity_catalog_assume_role_policy can be used to create the necessary AWS Unity Catalog assume role policy. + ## Example Usage For AWS @@ -642,7 +646,7 @@ def __init__(__self__, }, comment="Managed identity credential managed by TF") external_creds = databricks.Grants("external_creds", - storage_credential=external["id"], + storage_credential=external_mi.id, grants=[{ "principal": "Data Engineers", "privileges": ["CREATE_EXTERNAL_TABLE"], diff --git a/sdk/python/pulumi_databricks/workspace_binding.py b/sdk/python/pulumi_databricks/workspace_binding.py index 757ddac1..b128b79a 100644 --- a/sdk/python/pulumi_databricks/workspace_binding.py +++ b/sdk/python/pulumi_databricks/workspace_binding.py @@ -28,7 +28,7 @@ def __init__(__self__, *, The set of arguments for constructing a WorkspaceBinding resource. :param pulumi.Input[str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`. :param pulumi.Input[str] securable_name: Name of securable. Change forces creation of a new resource. - :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. :param pulumi.Input[str] workspace_id: ID of the workspace. Change forces creation of a new resource. """ if binding_type is not None: @@ -83,7 +83,7 @@ def securable_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="securableType") def securable_type(self) -> Optional[pulumi.Input[str]]: """ - Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. """ return pulumi.get(self, "securable_type") @@ -116,7 +116,7 @@ def __init__(__self__, *, Input properties used for looking up and filtering WorkspaceBinding resources. :param pulumi.Input[str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`. :param pulumi.Input[str] securable_name: Name of securable. Change forces creation of a new resource. - :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. :param pulumi.Input[str] workspace_id: ID of the workspace. Change forces creation of a new resource. """ if binding_type is not None: @@ -171,7 +171,7 @@ def securable_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="securableType") def securable_type(self) -> Optional[pulumi.Input[str]]: """ - Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. """ return pulumi.get(self, "securable_type") @@ -210,7 +210,7 @@ def __init__(__self__, By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource. - > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for ExternalLocation or databricks_storage_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). + > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from. @@ -240,7 +240,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`. :param pulumi.Input[str] securable_name: Name of securable. Change forces creation of a new resource. - :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. :param pulumi.Input[str] workspace_id: ID of the workspace. Change forces creation of a new resource. """ ... @@ -256,7 +256,7 @@ def __init__(__self__, By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource. - > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for ExternalLocation or databricks_storage_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). + > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces). > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from. @@ -340,7 +340,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`. :param pulumi.Input[str] securable_name: Name of securable. Change forces creation of a new resource. - :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + :param pulumi.Input[str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. :param pulumi.Input[str] workspace_id: ID of the workspace. Change forces creation of a new resource. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -380,7 +380,7 @@ def securable_name(self) -> pulumi.Output[str]: @pulumi.getter(name="securableType") def securable_type(self) -> pulumi.Output[Optional[str]]: """ - Type of securable. Can be `catalog`, `external-location` or `storage-credential`. Default to `catalog`. Change forces creation of a new resource. + Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource. """ return pulumi.get(self, "securable_type") diff --git a/sdk/python/pulumi_databricks/workspace_conf.py b/sdk/python/pulumi_databricks/workspace_conf.py index 0c6682f7..f5c8d1c9 100644 --- a/sdk/python/pulumi_databricks/workspace_conf.py +++ b/sdk/python/pulumi_databricks/workspace_conf.py @@ -83,7 +83,7 @@ def __init__(__self__, Allows specification of custom configuration properties for expert usage: - `enableIpAccessLists` - enables the use of IpAccessList resources - - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. + - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. - `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace. - `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace. - `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace. @@ -123,7 +123,7 @@ def __init__(__self__, Allows specification of custom configuration properties for expert usage: - `enableIpAccessLists` - enables the use of IpAccessList resources - - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. If zero, new tokens are permitted to have no lifetime limit. Negative numbers are unsupported. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. + - `maxTokenLifetimeDays` - (string) Maximum token lifetime of new tokens in days, as an integer. This value can range from 1 day to 730 days (2 years). If not specified, the maximum lifetime of new tokens is 730 days. **WARNING:** This limit only applies to new tokens, so there may be tokens with lifetimes longer than this value, including unlimited lifetime. Such tokens may have been created before the current maximum token lifetime was set. - `enableTokensConfig` - (boolean) Enable or disable personal access tokens for this workspace. - `enableDeprecatedClusterNamedInitScripts` - (boolean) Enable or disable [legacy cluster-named init scripts](https://docs.databricks.com/clusters/init-scripts.html#disable-legacy-cluster-named-init-scripts-for-a-workspace) for this workspace. - `enableDeprecatedGlobalInitScripts` - (boolean) Enable or disable [legacy global init scripts](https://docs.databricks.com/clusters/init-scripts.html#migrate-legacy-scripts) for this workspace. diff --git a/upstream b/upstream index 973189a9..e11d99a9 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 973189a983945971564f79d536f3a80ab66cbf22 +Subproject commit e11d99a9e99fd5a15192b23ad9e9a2c7d6b5f5fd